        /* ── Design tokens ── */
        :root {
            --primary:      #003366;
            --primary-lt:   #2f6899;
            --primary-hov:  #00264d;
            --primary-soft: rgba(0,51,102,.09);
            --danger:       #ef4444;
            --success:      #10b981;
            --bg:           #f1f5f9;
            --surface:      #ffffff;
            --surface-2:    #f8fafc;
            --border:       #e2e8f0;
            --focus:        #3b82f6;
            --text:         #1e293b;
            --text-muted:   #64748b;
            --text-light:   #94a3b8;
            --radius:       10px;
            --radius-sm:    6px;
            --shadow:       0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);
            --shadow-lg:    0 8px 32px rgba(0,0,0,.10);
        }
        body.dark-mode {
            --primary:      #60a5fa;
            --primary-lt:   #93c5fd;
            --primary-hov:  #3b82f6;
            --primary-soft: rgba(96,165,250,.12);
            --bg:           #0f172a;
            --surface:      #1e293b;
            --surface-2:    #263245;
            --border:       #334155;
            --focus:        #60a5fa;
            --text:         #f1f5f9;
            --text-muted:   #94a3b8;
            --text-light:   #475569;
            --shadow:       0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.3);
            --shadow-lg:    0 8px 32px rgba(0,0,0,.45);
        }

        /* ── Reset & base ── */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            padding: 32px 16px 48px;
            transition: background .25s, color .25s;
            -webkit-text-size-adjust: 100%;
            touch-action: manipulation;
        }

        /* ── Outer form card ── */
        form {
            background: var(--surface);
            max-width: 940px;
            margin: 0 auto;
            border-radius: 18px;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            position: relative;
        }
        .form-inner { padding: 36px 40px 40px; }

        /* ── Header ── */
        .hd {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding-bottom: 24px;
            border-bottom: 1.5px solid var(--border);
            margin-bottom: 20px;
        }
        .hd-logo img { width: 210px; height: auto; }
        .hd-title { text-align: right; }
        .hd-title h1 {
            font-size: 21px;
            font-weight: 700;
            color: var(--text);
            letter-spacing: .2px;
        }
        .hd-title .sub {
            font-size: 13px;
            color: var(--primary);
            font-weight: 600;
            font-style: italic;
            margin-top: 4px;
        }

        /* ── Dark-mode toggle ── */
        .dm-toggle {
            display: flex;
            align-items: center;
            gap: 9px;
            justify-content: flex-end;
            margin-bottom: 20px;
        }
        .mode-icon { font-size: 1rem; color: var(--text-muted); transition: color .25s; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
        body.dark-mode .mode-icon { color: #fbbf24; }
        .dm-label { font-size: 12px; color: var(--text-muted); font-weight: 500; line-height: 22px; }
        .switch { position: relative; display: inline-block; width: 42px; height: 22px; }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider {
            position: absolute; inset: 0;
            background: #cbd5e1; border-radius: 22px; cursor: pointer;
            transition: .3s;
        }
        .slider::before {
            content: ''; position: absolute;
            height: 16px; width: 16px; left: 3px; bottom: 3px;
            background: #fff; border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0,0,0,.2);
            transition: .3s;
        }
        input:checked + .slider { background: var(--primary-lt); }
        input:checked + .slider::before { transform: translateX(20px); }

        /* ── Language toggle ── */
        .controls-row {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
            height: 32px;          /* fixed height keeps both groups on the same baseline */
        }
        .lang-toggle {
            display: inline-flex; align-items: center; gap: 2px;
            background: var(--surface-2);
            border: 1.5px solid var(--border);
            border-radius: 8px;
            padding: 3px;
            height: 32px;
            box-sizing: border-box;
        }
        .lang-btn {
            display: inline-flex; align-items: center; justify-content: center;
            height: 24px;
            padding: 0 11px;
            border: none; border-radius: 5px;
            font-size: 12px; font-weight: 700; line-height: 1;
            font-family: 'Outfit', sans-serif;
            cursor: pointer; background: transparent;
            color: var(--text-muted);
            transition: background .2s, color .2s;
            letter-spacing: .5px;
            vertical-align: middle;
        }
        .lang-btn.active {
            background: var(--primary); color: #fff;
            box-shadow: 0 2px 6px rgba(0,51,102,.25);
        }
        .dm-group {
            display: inline-flex; align-items: center; gap: 9px;
            height: 32px;
        }
        /* ── Required note ── */
        .req-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }
        .req-note span { color: var(--danger); font-weight: 700; }

        /* ── Section card ── */
        .sc {
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin-top: 24px;
            background: var(--surface);
        }
        .sc-hd {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 18px;
            background: var(--surface-2);
            border-bottom: 1px solid var(--border);
            border-radius: inherit;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        .sc-badge {
            min-width: 28px; height: 28px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; font-weight: 700;
            flex-shrink: 0;
        }
        .sc-title {
            font-size: 13.5px; font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: .4px;
        }
        .sc-title em { font-style: italic; text-transform: none; font-weight: 400; }
        .sc-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
        .sc-body { padding: 20px; }

        /* ── Labels ── */
        label {
            display: block;
            font-size: 13px; font-weight: 600;
            color: var(--text);
            margin-bottom: 5px; margin-top: 15px;
            line-height: 1.45;
        }
        label:first-child { margin-top: 0; }
        label em { font-weight: 400; color: var(--text-muted); font-style: italic; }

        /* ── Inputs / selects / textareas ── */
        input:not([type="checkbox"]):not([type="radio"]),
        textarea, select {
            width: 100%;
            padding: 10px 13px;
            font-size: 15px;
            font-family: 'Outfit', sans-serif;
            background: var(--surface);
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text);
            outline: none;
            transition: border-color .2s, box-shadow .2s, background .2s, color .2s;
        }
        input:not([type="checkbox"]):not([type="radio"]):focus,
        textarea:focus, select:focus {
            border-color: var(--focus);
            box-shadow: 0 0 0 3px var(--primary-soft);
        }
        input::placeholder, textarea::placeholder { color: var(--text-light); }
        textarea { resize: vertical; min-height: 78px; line-height: 1.55; }
        select {
            cursor: pointer; appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 34px;
        }
        select option { background: var(--surface); color: var(--text); }



        /* ── Grid layouts ── */
        .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 15px; }
        .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 15px; }
        /* field group — no extra styles needed, children handle spacing */
        .fg label { margin-top: 0; }

        /* ── Phone prefix ── */
        .pfx-wrap {
            display: flex;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: border-color .2s, box-shadow .2s;
        }
        .pfx-wrap:focus-within {
            border-color: var(--focus);
            box-shadow: 0 0 0 3px var(--primary-soft);
        }
        .pfx {
            padding: 10px 11px;
            background: var(--surface-2);
            color: var(--text-muted);
            font-size: 13px; font-weight: 600;
            border-right: 1.5px solid var(--border);
            white-space: nowrap;
            display: flex; align-items: center;
        }
        .pfx-wrap input {
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
            flex: 1;
        }

        /* ── Unit suffix ── */
        .unit-wrap { position: relative; }
        .unit-wrap input { padding-right: 40px; }
        .unit {
            position: absolute; right: 11px; top: 50%;
            transform: translateY(-50%);
            font-size: 12.5px; font-weight: 600;
            color: var(--text-muted); pointer-events: none;
        }

        /* ── Hint text ── */
        .hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

        /* ── Suggestion / autocomplete ── */
        .sug-wrap { position: relative; }
        .clr-btn {
            display: none; position: absolute;
            right: 10px; top: 50%; transform: translateY(-50%);
            cursor: pointer; font-size: 17px;
            color: var(--text-light); z-index: 10; line-height: 1;
            transition: color .15s;
        }
        .clr-btn:hover { color: var(--danger); }
        .sug-box {
            position: absolute; top: 100%; left: 0; right: 0;
            background: var(--surface);
            border: 1.5px solid var(--focus);
            border-top: none;
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
            max-height: 200px; overflow-y: auto;
            z-index: 1000; display: none;
            box-shadow: 0 8px 20px rgba(0,0,0,.12);
        }
        .sug-box div {
            padding: 9px 13px; cursor: pointer;
            font-size: 14px; border-bottom: 1px solid var(--border);
            transition: background .15s;
        }
        .sug-box div:last-child { border-bottom: none; }
        .sug-box div:hover { background: var(--primary-soft); }
        .custom-opt { font-style: italic; color: var(--text-muted); }
        .hl { font-weight: 700; color: var(--primary); }

        /* ── Tables ── */
        .tbl-wrap {
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            overflow-x: auto;
        }
        .ftable {
            width: 100%; border-collapse: collapse;
            min-width: 480px;
        }
        .ftable th {
            padding: 9px 11px;
            background: var(--surface-2);
            border-bottom: 2px solid var(--border);
            border-right: 1px solid var(--border);
            text-align: left;
            font-size: 11.5px; font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase; letter-spacing: .35px;
            white-space: nowrap;
        }
        .ftable th:last-child { border-right: none; }
        .ftable td {
            padding: 5px 7px;
            border-bottom: 1px solid var(--border);
            border-right: 1px solid var(--border);
            vertical-align: middle;
        }
        .ftable td:last-child { border-right: none; }
        .ftable tr:last-child td { border-bottom: none; }
        .ftable .rl {
            font-size: 13px; font-weight: 600; color: var(--text);
            background: var(--surface-2); white-space: nowrap;
            padding: 8px 12px;
        }
        .ftable td input, .ftable td select {
            margin: 0; min-height: 35px;
            padding: 5px 9px; font-size: 14px;
            border-radius: 4px;
        }
        .ftable td select { padding-right: 26px; }

        /* ── Experience cards ── */
        .exp-card {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px; margin-bottom: 14px;
        }
        .exp-card:last-child { margin-bottom: 0; }
        .exp-title {
            font-size: 13.5px; font-weight: 700;
            color: var(--primary);
            margin-bottom: 14px;
            display: flex; align-items: center; gap: 9px;
        }
        .exp-title::before {
            content: ''; width: 4px; height: 16px;
            background: var(--primary); border-radius: 2px;
        }
        .exp-card label { margin-top: 12px; }
        .exp-card .row2, .exp-card .row3 { margin-top: 0; }
        .exp-card .fg label { margin-top: 0; }

        /* ── Masa Kerja range picker ── */
        .masa-kerja-range {
            display: flex; align-items: flex-end; gap: 8px;
        }
        .masa-kerja-col { flex: 1; min-width: 0; }
        .masa-lbl {
            font-size: 11px; color: var(--text-muted);
            font-weight: 600; margin-bottom: 3px;
        }
        .masa-dash {
            color: var(--text-muted); font-size: 16px;
            padding-bottom: 11px; flex-shrink: 0;
        }
        input[type="month"] { cursor: pointer; }

        /* ── Remove-exp button ── */
        .btn-remove-exp {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 5px 12px;
            background: #fff1f2;
            color: var(--danger);
            border: 1px solid #fecdd3;
            border-radius: var(--radius-sm);
            font-size: 12.5px; font-weight: 600;
            font-family: 'Outfit', sans-serif;
            cursor: pointer;
            transition: background .15s;
            flex-shrink: 0;
        }
        .btn-remove-exp:hover { background: #ffe4e6; }

        /* ── File upload ── */
        .file-area {
            display: flex; align-items: center; gap: 12px;
            padding: 14px 16px;
            border: 2px dashed var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface-2);
            transition: border-color .2s;
        }
        .file-area:hover { border-color: var(--primary-lt); }
        .file-btn {
            display: inline-flex; align-items: center; gap: 7px;
            padding: 8px 16px;
            background: var(--primary); color: #fff;
            border-radius: var(--radius-sm);
            cursor: pointer; font-size: 13.5px; font-weight: 600;
            font-family: 'Outfit', sans-serif;
            white-space: nowrap;
            transition: background .2s;
        }
        .file-btn:hover { background: var(--primary-hov); }
        .file-name { font-size: 13px; color: var(--text-muted); flex: 1; }
        #clear-file { color: var(--danger); cursor: pointer; display: none; font-size: 15px; }
        input[type="file"] { display: none; }

        /* ── Declaration ── */
        .decl-card {
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px; margin-top: 24px;
        }
        .decl-grid {
            font-size: 13px; line-height: 1.65;
            color: var(--text-muted);
        }
        .decl-grid .en { font-style: normal; }
        .agree-row {
            display: flex; align-items: flex-start; gap: 10px;
            margin-top: 18px; padding: 14px 16px;
            background: var(--primary-soft);
            border: 1px solid rgba(0,51,102,.2);
            border-radius: var(--radius-sm);
        }
        .agree-row input[type="checkbox"] {
            width: 17px; height: 17px; margin-top: 2px;
            flex-shrink: 0; cursor: pointer;
            accent-color: var(--primary);
        }
        .agree-row label {
            font-size: 13px; font-weight: 500;
            color: var(--text); margin: 0; cursor: pointer;
        }

        /* ── Submit ── */
        .submit-area { margin-top: 22px; display: flex; justify-content: flex-end; }
        .btn-submit {
            display: inline-flex; align-items: center; gap: 9px;
            padding: 12px 30px;
            background: var(--primary);
            color: #fff; border: none;
            border-radius: var(--radius-sm);
            font-size: 15px; font-weight: 700;
            font-family: 'Outfit', sans-serif;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(0,51,102,.25);
            transition: background .2s, box-shadow .2s, transform .1s;
            letter-spacing: .2px;
        }
        .btn-submit:hover { background: var(--primary-hov); box-shadow: 0 6px 20px rgba(0,51,102,.35); }
        .btn-submit:active { transform: scale(.99); }
        .btn-submit.btn-back {
            background: var(--surface-2); color: var(--text);
            border: 1.5px solid var(--border); box-shadow: none;
        }
        .btn-submit.btn-back:hover { background: var(--border); }

        /* ── Review step ── */
        .review-banner {
            display: flex; align-items: flex-start; gap: 14px;
            background: var(--surface-2);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 16px 20px; margin-bottom: 18px;
        }
        .review-banner i { color: var(--primary); font-size: 22px; margin-top: 2px; }
        .review-banner-title { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 3px; }
        .review-banner-sub { font-size: 13px; color: var(--text-muted); }
        .review-subrow-title { font-weight: 700; color: var(--text); font-size: 13px; margin: 14px 0 2px; flex: 1 1 100%; }
        .review-subrow-title:first-child { margin-top: 0; }
        /* Two-per-row layout: #reviewContent's .sc-body wraps short field rows
           side by side so the review step doesn't run so long vertically.
           Rows with a long value (.review-row-full, set in reviewRowsHTML
           based on value length) still span the full width. */
        #reviewContent .sc-body { display: flex; flex-wrap: wrap; column-gap: 24px; }
        .review-row {
            display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px;
            flex: 1 1 100%;
        }
        #reviewContent .review-row { flex: 1 1 calc(50% - 12px); min-width: 0; }
        #reviewContent .review-row.review-row-full { flex: 1 1 100%; }
        .review-row:last-child { border-bottom: none; }
        .review-row-label { width: 190px; flex-shrink: 0; color: var(--text-muted); font-weight: 500; }
        .review-row-value { color: var(--text); font-weight: 600; word-break: break-word; white-space: pre-wrap; }
        .review-row-value.empty { color: var(--text-light); font-weight: 400; font-style: italic; }
        .review-photo-wrap { display: flex; align-items: center; gap: 14px; flex: 1 1 100%; }
        .review-photo-wrap img { width: 76px; height: 101px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
        @media (max-width: 600px) {
            .review-row { flex-direction: column; gap: 2px; }
            .review-row-label { width: auto; }
            #reviewContent .review-row { flex: 1 1 100%; }
            #reviewNavArea { flex-direction: column-reverse; gap: 10px; }
            #reviewNavArea .btn-submit { width: 100%; justify-content: center; }
        }

        /* ── Footer ── */
        footer {
            width: 100%;
            max-width: 940px;
            margin: 0 auto;
            text-align: center;
            padding: 18px 16px;
            margin-top: 30px;
            font-size: 12px;
            color: var(--text-muted);
        }

        footer p {
            margin: 0;
            text-align: center;
        }

        /* ══════════════════════════════
           RESPONSIVE — MOBILE
        ══════════════════════════════ */
        @media (max-width: 768px) {
            body { padding: 10px 10px 36px; }
            .form-inner { padding: 18px 15px 24px; }
            .hd { flex-direction: column; text-align: center; }
            .hd-title { text-align: center; }
            .hd-logo img { width: 170px; }
            .hd-title h1 { font-size: 17px; }
            .row2, .row3 { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
            .fg { margin-top: 13px; }
            .dm-toggle { justify-content: center; }
            .decl-grid { grid-template-columns: 1fr; }
            .submit-area { justify-content: stretch; }
            .btn-submit { width: 100%; justify-content: center; }
            .masa-kerja-range { flex-direction: column; align-items: stretch; gap: 6px; }
            .masa-dash { display: none; }
            input[type="month"] { width: 100%; box-sizing: border-box; font-size: 16px !important; }

            /* ── Responsive tables: compact card layout ── */
            .tbl-wrap {
                overflow: visible !important;
                border: none !important;
                border-radius: 0 !important;
            }

            /* Kill desktop table layout entirely */
            .ftable {
                display: block !important;
                width: 100% !important;
                min-width: 0 !important;        /* override the desktop min-width:480px */
                border-collapse: separate !important;
            }
            .ftable thead,
            .ftable tr:has(th) { display: none !important; }
            .ftable tbody       { display: block !important; width: 100% !important; }

            /* Each data row → flex card */
            .ftable tr:not(:has(th)) {
                display: flex !important;
                flex-wrap: wrap;
                gap: 10px 8px;
                width: 100% !important;
                box-sizing: border-box !important;
                margin-bottom: 10px;
                padding: 14px 12px 10px;
                border: 1px solid var(--border);
                border-radius: var(--radius);
                background: var(--surface);
                box-shadow: var(--shadow);
                overflow: hidden;
            }

            /* Row title pseudo-element spans full width */
            .ftable tr:not(:has(th))::before {
                content: attr(data-row-title);
                flex: 0 0 100%;
                order: -1;
                font-weight: 700;
                font-size: 13.5px;
                color: var(--primary);
                padding-bottom: 8px;
                margin-bottom: 2px;
                border-bottom: 1px solid var(--border);
            }

            /* Relationship cell: always hidden on mobile */
            .ftable td.rl { display: none !important; }

            /* All other cells: 2-column with equal width */
            .ftable td {
                flex: 0 0 calc(50% - 4px) !important;
                width: calc(50% - 4px) !important;
                max-width: calc(50% - 4px) !important;
                min-width: 0 !important;
                box-sizing: border-box !important;
                border: none !important;
                padding: 0 !important;
                background: transparent !important;
            }

            /* Field label above each input */
            .ftable td::before {
                content: attr(data-label);
                display: block;
                font-size: 10px;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: .05em;
                color: var(--text-muted);
                margin-bottom: 4px;
            }

            /* Inputs inside cells */
            .ftable td input,
            .ftable td select,
            .ftable td textarea {
                width: 100% !important;
                min-width: 0 !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                min-height: 38px;
                font-size: 14px !important;
                padding: 8px 10px !important;
            }
        }
        @media (max-width: 480px) {
            .form-inner { padding: 14px 11px 20px; }
        }
        @media screen and (max-width: 767px) {
            /* 16px prevents iOS auto-zoom on focus — only apply outside tables */
            :not(.ftable td) > input[type="text"],
            :not(.ftable td) > input[type="email"],
            :not(.ftable td) > input[type="tel"],
            :not(.ftable td) > input[type="date"],
            :not(.ftable td) > input[type="number"],
            :not(.ftable td) > textarea,
            :not(.ftable td) > select {
                font-size: 16px !important;
            }
        }

        /* ── Cropper Modal ── */
        .cropper-overlay {
            position: fixed; inset: 0;
            background: rgba(0,0,0,.65);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            animation: cropFadeIn .2s ease;
        }
        .cropper-overlay.active { display: flex; }
        @keyframes cropFadeIn { from { opacity: 0; } to { opacity: 1; } }

        .cropper-modal-box {
            background: var(--surface);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            width: 100%;
            max-width: 520px;
            overflow: hidden;
            animation: cropSlideUp .25s ease;
        }
        @keyframes cropSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

        .cropper-modal-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            display: flex; align-items: center; gap: 10px;
            font-weight: 600; font-size: 15px; color: var(--text);
        }
        .cropper-modal-header i { color: var(--primary); }

        .cropper-modal-body {
            padding: 16px;
            display: flex;
            justify-content: center;
            background: var(--surface-2);
        }
        .cropper-modal-body img {
            display: block;
            max-width: 100%;
            max-height: 55vh;
        }

        .cropper-modal-footer {
            padding: 12px 20px;
            border-top: 1px solid var(--border);
            display: flex; justify-content: flex-end; gap: 10px;
        }
        .cropper-btn {
            padding: 8px 20px;
            border-radius: var(--radius-sm);
            font-size: 13px; font-weight: 600;
            cursor: pointer; border: none;
            transition: background .15s, transform .1s;
        }
        .cropper-btn:active { transform: scale(.97); }
        .cropper-btn-cancel {
            background: var(--surface-2);
            color: var(--text-muted);
            border: 1px solid var(--border);
        }
        .cropper-btn-cancel:hover { background: var(--border); }
        .cropper-btn-save {
            background: var(--primary);
            color: #fff;
        }
        .cropper-btn-save:hover { background: var(--primary-hov); }

        /* ── Wizard progress bar ── */
        .wizard-progress {
            display: flex;
            align-items: flex-start;
            margin-bottom: 24px;
            overflow-x: auto;
            padding-bottom: 4px;
        }
        .wizard-step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-shrink: 0;
            width: 92px;
        }
        .wizard-circle {
            width: 32px; height: 32px;
            border-radius: 50%;
            background: var(--surface-2);
            border: 2px solid var(--border);
            color: var(--text-muted);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 13px;
            flex-shrink: 0;
            transition: background .2s, border-color .2s, color .2s;
        }
        .wizard-circle i { display: none; font-size: 13px; }
        .wizard-step-item.active .wizard-circle {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
        .wizard-step-item.completed .wizard-circle {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
        .wizard-step-item.completed .wizard-circle .wizard-num { display: none; }
        .wizard-step-item.completed .wizard-circle i { display: inline; }
        .wizard-label {
            margin-top: 8px;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--text-muted);
            text-align: center;
            line-height: 1.3;
            padding: 0 2px;
        }
        .wizard-step-item.active .wizard-label { color: var(--primary); }
        .wizard-step-item.completed .wizard-label { color: var(--text); }
        .wizard-connector {
            flex: 1;
            height: 2px;
            background: var(--border);
            margin-top: 15px;
            min-width: 16px;
            transition: background .2s;
        }
        .wizard-connector.completed { background: var(--primary); }
        .wizard-step { animation: wizardFadeIn .25s ease; }
        @keyframes wizardFadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* Compact "Step X of 6" indicator — hidden by default, swapped in for
           the circle row below the breakpoint where 6 circles + labels no
           longer fit without horizontal scrolling. */
        .wizard-progress-mobile { display: none; }
        .wizard-progress-mobile-text {
            font-size: 13px; font-weight: 700; color: var(--primary);
            margin-bottom: 8px;
        }
        .wizard-progress-mobile-track {
            width: 100%; height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden;
        }
        .wizard-progress-mobile-fill {
            height: 100%;
            background: var(--primary);
            border-radius: 3px;
            transition: width .25s ease;
            width: 0%;
        }

        @media (max-width: 640px) {
            .wizard-progress { display: none; }
            .wizard-progress-mobile { display: block; margin-bottom: 20px; }
        }
