
        /* ═══════════════════════════════════════════════════════════════════
           OT NETWORK CALCULATOR — Tool-Specific Styles
           ═══════════════════════════════════════════════════════════════════ */

        /* ── Summary card stat numbers ── */
        .stat-value {
            font-family: var(--font-mono);
            font-size: 1.375rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.2;
        }
        .stat-label {
            font-size: 0.6875rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.45);
            margin-top: 0.25rem;
        }

        /* ── Secondary emerald button ── */
        .glass-btn-secondary-emerald {
            background: rgba(52, 211, 153, 0.08);
            border: 1px solid rgba(52, 211, 153, 0.22);
            padding: 7px 14px;
            border-radius: var(--radius-md);
            font-size: 0.75rem;
            font-weight: 500;
            color: #00BE4C;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            font-family: var(--font-body);
            white-space: nowrap;
        }
        .glass-btn-secondary-emerald:hover {
            background: rgba(52, 211, 153, 0.15);
            border-color: rgba(52, 211, 153, 0.38);
            transform: translateY(-1px);
        }
        .glass-btn-secondary-emerald:active {
            transform: translateY(0);
        }

        /* ── OT example buttons row ── */
        .ot-examples-row {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }

        /* ── Badge for public/private ── */
        .badge-private {
            background: rgba(129, 140, 248, 0.12);
            color: #0093DE;
            border: 1px solid rgba(129, 140, 248, 0.2);
        }
        .badge-public {
            background: rgba(251, 191, 36, 0.12);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, 0.2);
        }

        /* ── OT note warnings ── */
        .ot-note {
            display: flex;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            border-radius: var(--radius-md);
            font-size: 0.8125rem;
            line-height: 1.55;
            margin-bottom: 0.5rem;
        }
        .ot-note-warn {
            background: rgba(251, 191, 36, 0.08);
            border: 1px solid rgba(251, 191, 36, 0.18);
            color: rgba(255, 255, 255, 0.80);
        }
        .ot-note-info {
            background: rgba(56, 189, 248, 0.07);
            border: 1px solid rgba(56, 189, 248, 0.16);
            color: rgba(255, 255, 255, 0.80);
        }
        .ot-note-success {
            background: rgba(52, 211, 153, 0.07);
            border: 1px solid rgba(52, 211, 153, 0.16);
            color: rgba(255, 255, 255, 0.80);
        }
        .ot-note-icon {
            font-size: 1rem;
            line-height: 1.55;
            flex-shrink: 0;
            margin-top: 1px;
        }

        /* ── Result row label + value layout ── */
        .result-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .result-row:last-child {
            border-bottom: none;
        }
        .result-label {
            font-size: 0.8125rem;
            color: rgba(255, 255, 255, 0.45);
        }
        .result-value {
            font-family: var(--font-mono);
            font-size: 0.9375rem;
            color: #fff;
        }

        /* ── Input mode toggle ── */
        .mode-toggle {
            display: inline-flex;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: var(--radius-md);
            padding: 3px;
            gap: 2px;
        }
        .mode-toggle button {
            background: transparent;
            border: none;
            padding: 5px 14px;
            border-radius: 10px;
            font-size: 0.8125rem;
            font-family: var(--font-body);
            color: rgba(255, 255, 255, 0.50);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .mode-toggle button.active {
            background: rgba(52, 211, 153, 0.14);
            color: #00BE4C;
        }

        /* ── Results section (hidden until calculated) ── */
        #resultsSection {
            display: none;
        }
        #resultsSection.visible {
            display: block;
        }

        /* ── Copy button ── */
        .copy-btn {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 6px;
            padding: 2px 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.40);
            font-size: 0.625rem;
            font-family: var(--font-body);
            min-width: 24px;
            min-height: 24px;
        }
        .copy-btn:hover {
            background: rgba(255, 255, 255, 0.10);
            border-color: rgba(255, 255, 255, 0.20);
            color: rgba(255, 255, 255, 0.70);
        }
        .copy-btn:active {
            transform: scale(0.95);
        }
        .copy-btn.copied {
            background: rgba(52, 211, 153, 0.15);
            border-color: rgba(52, 211, 153, 0.30);
            color: #00BE4C;
        }

        /* ── Binary visualization ── */
        .binary-block {
            display: inline-block;
            font-family: var(--font-mono);
            font-size: 0.6875rem;
            letter-spacing: 0.05em;
            line-height: 1.8;
        }
        .binary-one {
            color: #00BE4C;
        }
        .binary-zero {
            color: rgba(255, 255, 255, 0.25);
        }
        .binary-sep {
            color: rgba(255, 255, 255, 0.15);
            margin: 0 1px;
        }

        /* ── Keyboard shortcuts hint ── */
        .kbd {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
            height: 20px;
            padding: 0 5px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 4px;
            font-family: var(--font-mono);
            font-size: 0.625rem;
            color: rgba(255, 255, 255, 0.50);
            line-height: 1;
        }

        /* ── Share link input ── */
        .share-link-input {
            width: 100%;
            background: rgba(0, 0, 0, 0.30);
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: var(--radius-sm);
            padding: 8px 12px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.70);
            outline: none;
        }
        .share-link-input:focus {
            border-color: rgba(129, 140, 248, 0.50);
        }

        /* ── Responsive ── */
        @media (max-width: 640px) {
            .ot-examples-row {
                flex-direction: column;
                align-items: stretch;
            }
            .ot-examples-row button {
                justify-content: center;
                min-height: 44px;
            }
            .summary-stats {
                grid-template-columns: 1fr 1fr;
            }
            .stat-value {
                font-size: 1.125rem;
            }
            .mode-toggle button {
                padding: 8px 16px;
                min-height: 44px;
            }
            .glass-btn-primary-emerald {
                min-height: 44px;
            }
            .copy-btn {
                min-width: 32px;
                min-height: 32px;
            }
        }

        /* ── Primary emerald button (accent variant) ── */
        .glass-btn-primary-emerald {
            background: rgba(52, 211, 153, 0.14);
            border: 1px solid rgba(52, 211, 153, 0.30);
            color: #00BE4C;
            padding: 10px 24px;
            border-radius: var(--radius-lg);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.23, 1.0, 0.32, 1);
            position: relative;
            overflow: hidden;
            isolation: isolate;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-family: var(--font-body);
            box-shadow: 0 0 12px rgba(52, 211, 153, 0.06);
        }
        .glass-btn-primary-emerald:hover {
            background: rgba(52, 211, 153, 0.22);
            border-color: rgba(52, 211, 153, 0.50);
            transform: translateY(-1px);
            box-shadow: 0 12px 32px rgba(52, 211, 153, 0.10);
        }
        .glass-btn-primary-emerald:active {
            transform: translateY(0);
            background: rgba(52, 211, 153, 0.28);
        }
        .glass-btn-primary-emerald:focus-visible {
            outline: var(--focus-ring);
            outline-offset: var(--focus-offset);
        }

        /* ── Large export warning ── */
        .export-warn {
            background: rgba(251, 191, 36, 0.08);
            border: 1px solid rgba(251, 191, 36, 0.18);
            border-radius: var(--radius-md);
            padding: 10px 14px;
            font-size: 0.8125rem;
            color: rgba(255, 255, 255, 0.80);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

