
        /* ═══════════════════════════════════════════════════════════════════
           PROCESS UNIT CONVERTER — Tool-Specific Styles
           ═══════════════════════════════════════════════════════════════════ */

        /* ── Category pill buttons ── */
        .cat-pill {
            padding: 7px 18px;
            border-radius: 999px;
            font-size: 0.8125rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
            border: 1px solid rgba(255,255,255,0.10);
            background: rgba(255,255,255,0.05);
            color: rgba(255,255,255,0.60);
            font-family: var(--font-body);
            white-space: nowrap;
            user-select: none;
        }
        .cat-pill:hover {
            background: rgba(255,255,255,0.09);
            color: rgba(255,255,255,0.85);
            border-color: rgba(255,255,255,0.18);
        }
        .cat-pill.active {
            background: rgba(0, 190, 76, 0.14);
            border-color: rgba(0, 190, 76, 0.35);
            color: #00BE4C;
            box-shadow: 0 0 14px rgba(0,190,76,0.12);
        }

        /* ── Result display (large, prominent) ── */
        .result-display {
            font-size: 2.25rem;
            font-weight: 700;
            font-family: var(--font-display);
            letter-spacing: -0.03em;
            color: #00BE4C;
            line-height: 1.1;
            min-height: 3rem;
        }

        /* ── From / To unit selectors (styled) ── */
        .unit-select {
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 14px;
            padding: 10px 40px 10px 16px;
            font-family: var(--font-body);
            font-size: 0.875rem;
            color: #fff;
            outline: none;
            cursor: pointer;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
        }
        .unit-select:hover:not(:disabled) {
            border-color: rgba(255,255,255,0.30);
        }
        .unit-select:focus {
            border-color: rgba(0,147,222,0.60);
            box-shadow: 0 0 0 3px rgba(0,147,222,0.15);
        }
        .unit-select option {
            background: #1a1f2e;
            color: #fff;
        }

        /* ── Value input (large) ── */
        .value-input {
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 14px;
            padding: 14px 20px;
            font-family: var(--font-mono);
            font-size: 1.375rem;
            font-weight: 600;
            color: #fff;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            width: 100%;
            -moz-appearance: textfield;
        }
        .value-input::placeholder {
            color: rgba(255,255,255,0.25);
        }
        .value-input:hover:not(:focus) {
            border-color: rgba(255,255,255,0.28);
        }
        .value-input:focus {
            border-color: rgba(0,147,222,0.60);
            box-shadow: 0 0 0 3px rgba(0,147,222,0.12);
        }
        .value-input[type="number"]::-webkit-inner-spin-button,
        .value-input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        /* ── Batch table overrides ── */
        #batchTableBody input,
        #batchTableBody select {
            width: 100%;
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 10px;
            padding: 8px 12px;
            font-family: var(--font-mono);
            font-size: 0.8125rem;
            color: #fff;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            min-height: 38px;
        }
        #batchTableBody input:focus,
        #batchTableBody select:focus {
            border-color: rgba(0,147,222,0.60);
            box-shadow: 0 0 0 3px rgba(0,147,222,0.12);
        }
        #batchTableBody input:hover:not(:focus),
        #batchTableBody select:hover:not(:focus) {
            border-color: rgba(255,255,255,0.28);
        }
        #batchTableBody input::placeholder {
            color: rgba(255,255,255,0.25);
        }
        #batchTableBody select {
            font-family: var(--font-body);
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            padding-right: 30px;
        }
        #batchTableBody select option {
            background: #1a1f2e;
            color: #fff;
        }
        #batchTableBody input[type="number"] {
            -moz-appearance: textfield;
        }
        #batchTableBody input[type="number"]::-webkit-inner-spin-button,
        #batchTableBody input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        /* ── Result cell styling ── */
        .result-cell {
            font-family: var(--font-mono);
            font-size: 0.8125rem;
            font-weight: 600;
            color: #00BE4C;
        }
        .result-cell-na {
            color: rgba(255,255,255,0.20);
        }

        /* ── Formula box ── */
        .formula-box {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.45);
            background: rgba(0,0,0,0.30);
            border: 1px solid rgba(255,255,255,0.07);
            border-radius: 10px;
            padding: 8px 14px;
            line-height: 1.6;
        }

        /* ── Unit badge (From / To) ── */
        .unit-badge {
            font-size: 0.6875rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
            font-family: var(--font-body);
        }

        /* ── Swap button ── */
        .swap-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            color: rgba(255,255,255,0.55);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .swap-btn:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.22);
            color: #fff;
        }
        .swap-btn.swap-spin svg {
            animation: swap-spin 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        }
        @keyframes swap-spin {
            0%   { transform: rotate(0deg); }
            100% { transform: rotate(180deg); }
        }

        /* ── Empty state icon ── */
        .empty-state-icon {
            width: 40px; height: 40px; margin: 0 auto 12px;
            color: rgba(255,255,255,0.18);
        }

        /* ── Primary emerald button (accent variant) ── */
        .glass-btn-primary-emerald {
            background: rgba(0,190,76,0.14);
            border: 1px solid rgba(0,190,76,0.35);
            padding: 10px 24px;
            border-radius: var(--radius-lg);
            font-size: 0.875rem;
            font-weight: 500;
            color: #00BE4C;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            font-family: var(--font-body);
        }
        .glass-btn-primary-emerald:hover {
            background: rgba(0,190,76,0.22);
            border-color: rgba(0,190,76,0.55);
            transform: translateY(-1px);
        }
        .glass-btn-primary-emerald:disabled {
            opacity: 0.40;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* ── Responsive ── */
        @media (max-width: 640px) {
            .cat-pill-scroll {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            .cat-pill-scroll::-webkit-scrollbar { display: none; }
            .converter-actions {
                flex-direction: column;
            }
            .converter-actions > * {
                width: 100%;
            }
            .result-display {
                font-size: 1.5rem;
            }
            .value-input {
                font-size: 1.125rem;
                padding: 12px 16px;
            }
        }

