/* ============================================================
   OneExpand v3 — Huawei-Inspired Professional Theme
   Scoped to #oe-root — zero bleed to/from theme
============================================================ */

/* ── CSS Reset (scoped) ────────────────────────────────── */
#oe-root *,#oe-root *::before,#oe-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Force override any theme styles inside oe-root ─────── */
#oe-root a { text-decoration: none; }
#oe-root input, #oe-root select, #oe-root textarea, #oe-root button {
    font-family: inherit;
    font-size: inherit;
}

/* ── Design Tokens ─────────────────────────────────────── */
#oe-root {
    --accent:    #cf0a2c;
    --accent2:   #a50823;
    --accent3:   #ff6b35;
    --surface:   #1a1a2e;
    --surface2:  #222240;
    --surface3:  #2a2a50;
    --border:    rgba(255,255,255,.08);
    --border2:   rgba(255,255,255,.14);
    --text:      #f0f0f5;
    --text2:     #9090b0;
    --text3:     #6060a0;
    --success:   #00c875;
    --warning:   #f59e0b;
    --danger:    #ef4444;
    --info:      #3b82f6;
    --radius:    12px;
    --radius-sm: 8px;
    --shadow:    0 4px 24px rgba(0,0,0,.35);
    --shadow-lg: 0 16px 48px rgba(0,0,0,.5);

    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--surface);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Notification Banner ────────────────────────────────── */
#oe-root .oe-notif-banner {
    position: sticky; top: 0; z-index: 999;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px;
    font-size: 13px; font-weight: 500;
    background: var(--accent); color: #fff;
}
#oe-root .oe-notif-banner.oe-notif-info    { background: var(--info); }
#oe-root .oe-notif-banner.oe-notif-success { background: var(--success); color:#111; }
#oe-root .oe-notif-banner.oe-notif-warning { background: var(--warning); color:#111; }
#oe-root .oe-notif-banner.oe-notif-danger  { background: var(--danger); }
#oe-root .oe-notif-close { background:none; border:none; color:inherit; cursor:pointer; font-size:18px; margin-left:auto; opacity:.8; line-height:1; padding:0; }
#oe-root .oe-notif-close:hover { opacity:1; }

/* ── Notification Bar Widget (shortcode) ───────────────── */
.oe-notif-bar-widget {
    padding: 12px 20px; border-radius: var(--radius-sm, 8px); margin: 12px 0;
    font-size: 14px; display: flex; align-items: center; gap: 10px;
    border-left: 4px solid;
}
.oe-nb-info    { background:rgba(59,130,246,.12); border-color:#3b82f6; color:#93c5fd; }
.oe-nb-success { background:rgba(0,200,117,.12);  border-color:#00c875; color:#6ee7b7; }
.oe-nb-warning { background:rgba(245,158,11,.12); border-color:#f59e0b; color:#fcd34d; }
.oe-nb-danger  { background:rgba(239,68,68,.12);  border-color:#ef4444; color:#fca5a5; }
.oe-nb-close { background:none; border:none; color:inherit; cursor:pointer; margin-left:auto; font-size:16px; }

/* ── Popup Overlay ─────────────────────────────────────── */
#oe-root .oe-popup-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.8); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    animation: oe-fadein .25s ease;
}
#oe-root .oe-popup-modal {
    position: relative; max-width: 500px; width: 92%; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-lg);
    animation: oe-slidein .3s ease;
}
#oe-root .oe-popup-img {
    display: block; width: 100%; height: auto;
    max-height: 80vh; object-fit: contain;
}
#oe-root .oe-popup-close {
    position: absolute; top: 10px; right: 10px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,.65); border: none; color: #fff;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s; line-height: 1; padding: 0;
}
#oe-root .oe-popup-close:hover { background: var(--accent); }

/* ── Currency Bar ──────────────────────────────────────── */
#oe-root .oe-currency-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 20px; background: var(--surface2);
    border-bottom: 1px solid var(--border); font-size: 12px;
    justify-content: flex-end;
}
#oe-root .oe-currency-label { color: var(--text2); margin-right: 4px; }
#oe-root .oe-currency-btn {
    padding: 3px 10px; border-radius: 20px; border: 1.5px solid var(--border2);
    background: transparent; color: var(--text2); font-size: 11px; font-weight: 600;
    cursor: pointer; transition: all .15s; letter-spacing: .5px;
}
#oe-root .oe-currency-btn.active,
#oe-root .oe-currency-btn:hover {
    background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ── Loader ─────────────────────────────────────────────── */
#oe-root .oe-loader-wrap {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 70vh; gap: 20px;
}
#oe-root .oe-spinner {
    width: 44px; height: 44px; border-radius: 50%;
    border: 3px solid var(--border2); border-top-color: var(--accent);
    animation: oe-spin .8s linear infinite;
}
@keyframes oe-spin { to{ transform:rotate(360deg) } }
#oe-root .oe-loader-text { color:var(--text2); font-size:14px; }

/* ── Views ──────────────────────────────────────────────── */
#oe-root .oe-view { width: 100%; }

/* ── Hero ───────────────────────────────────────────────── */
#oe-root .oe-hero {
    min-height: 85vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 60px 24px 48px;
    background: linear-gradient(160deg, var(--surface) 0%, #0d0d22 50%, var(--surface) 100%);
    position: relative; overflow: hidden;
}
#oe-root .oe-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(207,10,44,.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(255,107,53,.08) 0%, transparent 50%);
}
#oe-root .oe-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent3), var(--accent));
}

#oe-root .oe-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(207,10,44,.12); border: 1px solid rgba(207,10,44,.3);
    color: #ff8a8a; padding: 6px 18px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    margin-bottom: 28px; position: relative; z-index: 1;
}
#oe-root .oe-dot {
    width: 7px; height: 7px; background: var(--success); border-radius: 50%;
    display: inline-block; animation: oe-pulse 2s infinite;
}
@keyframes oe-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

#oe-root .oe-hero-title {
    font-size: clamp(28px,5.5vw,64px); font-weight: 800; color: #fff;
    line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px;
    position: relative; z-index: 1;
}
#oe-root .oe-hero-title-sub {
    display: block; font-size: .48em; font-weight: 400;
    color: var(--text2); letter-spacing: 3px; text-transform: uppercase;
    margin-top: 6px;
}
#oe-root .oe-hero-sub {
    font-size: clamp(13px,2vw,17px); color: var(--text2); margin-bottom: 40px;
    max-width: 520px; position: relative; z-index: 1;
}
#oe-root .oe-hero-btns { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; position:relative; z-index:1; }

/* ── Selected Users (archive format) ───────────────────── */
#oe-root .oe-selected-section {
    margin-top: 48px; padding: 24px 28px;
    background: rgba(255,255,255,.03); border: 1px solid var(--border2);
    border-radius: var(--radius); max-width: 600px; width: 92%;
    position: relative; z-index: 1;
}
#oe-root .oe-selected-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
#oe-root .oe-selected-icon {
    width: 20px; height: 20px; color: var(--accent3);
}
#oe-root .oe-selected-title {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--accent3);
}
#oe-root .oe-selected-list {
    display: flex; flex-direction: column; gap: 8px;
}
#oe-root .oe-selected-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.04);
    border-left: 3px solid var(--accent);
    font-size: 14px; color: var(--text); text-align: left;
}

/* Archive card format (in hero + shortcode) */
.oe-selected-standalone {
    padding: 20px;
    background: var(--surface, #1a1a2e);
    border-radius: 12px;
}
.oe-selected-archive-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.oe-selected-heading {
    font-size: 18px; font-weight: 700; color: var(--accent3, #ff6b35);
    margin: 0;
}
.oe-selected-archive-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.oe-archive-card {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 12px 16px;
    min-width: 220px; flex: 1 1 220px;
    transition: border-color .2s, transform .2s;
}
.oe-archive-card:hover {
    border-color: var(--accent, #cf0a2c);
    transform: translateY(-2px);
}
.oe-archive-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent, #cf0a2c), var(--accent2, #a50823));
    color: #fff; font-weight: 700; font-size: 17px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.oe-archive-info { flex: 1; min-width: 0; }
.oe-archive-name {
    color: #f0f0f5; font-weight: 600; font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oe-archive-role {
    color: #9090b0; font-size: 12px; margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.oe-archive-badge {
    color: var(--accent3, #ff6b35); font-weight: 700; font-size: 11px;
    flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────── */
#oe-root .oe-btn {
    padding: 12px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; transition: all .2s; outline: none;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    letter-spacing: .2px; line-height: 1.4;
}
#oe-root .oe-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff; box-shadow: 0 4px 16px rgba(207,10,44,.3);
}
#oe-root .oe-btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(207,10,44,.45); filter:brightness(1.08); }
#oe-root .oe-btn-primary:active { transform:translateY(0); }
#oe-root .oe-btn-outline { background:transparent; border:1.5px solid var(--border2); color:var(--text); }
#oe-root .oe-btn-outline:hover { border-color:var(--accent); color:var(--accent); background:rgba(207,10,44,.06); }
#oe-root .oe-btn-ghost { background:transparent; color:var(--text2); border:1.5px solid transparent; }
#oe-root .oe-btn-ghost:hover { color:var(--text); background:rgba(255,255,255,.05); }
#oe-root .oe-btn-full { width:100%; justify-content:center; padding:14px; }
#oe-root .oe-btn-sm { padding:7px 16px; font-size:13px; }
#oe-root .oe-btn-success { background:linear-gradient(135deg,#00c875,#00a060); color:#fff; }

#oe-root .oe-icon { width:16px; height:16px; vertical-align:middle; flex-shrink:0; }
#oe-root .oe-icon-lg { width:28px; height:28px; }

/* ── Form wrap ──────────────────────────────────────────── */
#oe-root .oe-form-wrap { max-width:760px; margin:0 auto; padding:48px 20px; }
#oe-root .oe-form-wrap-sm { max-width:480px; }

#oe-root .oe-form-card {
    background:var(--surface2); border:1px solid var(--border2);
    border-radius:16px; padding:40px;
    box-shadow:var(--shadow);
}
#oe-root .oe-form-header { text-align:center; margin-bottom:32px; }
#oe-root .oe-form-header h2 { font-size:24px; font-weight:700; margin-bottom:8px; color:#fff; }
#oe-root .oe-form-header p { color:var(--text2); font-size:14px; }

#oe-root .oe-icon-circle {
    width:68px; height:68px; border-radius:50%;
    background:linear-gradient(135deg,rgba(207,10,44,.15),rgba(207,10,44,.05));
    border:2px solid rgba(207,10,44,.3);
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 18px; color:var(--accent);
}

/* ── Fields ─────────────────────────────────────────────── */
#oe-root .oe-field { margin-bottom:20px; }
#oe-root .oe-field label {
    display:block; font-size:11px; font-weight:700; color:var(--text2);
    margin-bottom:7px; text-transform:uppercase; letter-spacing:.7px;
}
#oe-root .oe-field-hint { font-weight:400; text-transform:none; letter-spacing:0; color:var(--text3); }
#oe-root .oe-field input,
#oe-root .oe-field select,
#oe-root .oe-field textarea,
#oe-root .oe-select {
    width:100%; padding:12px 15px;
    background:var(--surface3); border:1.5px solid var(--border2);
    border-radius:var(--radius-sm); color:var(--text); font-size:14px;
    transition:border-color .2s, box-shadow .2s;
    -webkit-appearance:none; appearance:none;
}
#oe-root .oe-field input:focus,
#oe-root .oe-field select:focus,
#oe-root .oe-field textarea:focus,
#oe-root .oe-select:focus {
    outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(207,10,44,.12);
}
#oe-root .oe-field input::placeholder { color:var(--text3); }
#oe-root .oe-field select option,
#oe-root .oe-select option { background:#222240; color:#f0f0f5; }
#oe-root .oe-field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:560px){ #oe-root .oe-field-row { grid-template-columns:1fr; } }

/* ── Upload Zone ────────────────────────────────────────── */
#oe-root .oe-upload-zone {
    border:2px dashed var(--border2); border-radius:var(--radius-sm);
    padding:28px 20px; text-align:center; cursor:pointer;
    transition:all .2s; background:var(--surface3);
}
#oe-root .oe-upload-zone:hover { border-color:var(--accent); background:rgba(207,10,44,.04); }
#oe-root .oe-upload-icon-svg { width:36px; height:36px; color:var(--accent); margin-bottom:10px; }
#oe-root .oe-upload-text { font-size:14px; font-weight:600; color:var(--text); margin-bottom:4px; }
#oe-root .oe-upload-hint { font-size:12px; color:var(--text2); }

/* Image preview inside upload zone */
#oe-root .oe-upload-img-preview {
    margin-top: 12px;
}
#oe-root .oe-upload-img-preview img {
    max-width: 100%; max-height: 120px; border-radius: 6px;
    border: 2px solid var(--accent); object-fit: contain;
    display: block; margin: 0 auto;
}

#oe-root .oe-file-preview {
    display:flex; align-items:center; gap:10px; margin-top:12px;
    background:rgba(0,200,117,.08); border:1px solid rgba(0,200,117,.25);
    padding:10px 14px; border-radius:var(--radius-sm); font-size:13px; color:var(--success);
}
#oe-root .oe-file-remove { background:none; border:none; color:var(--danger); cursor:pointer; margin-left:auto; padding:0; }

/* ── Alerts ─────────────────────────────────────────────── */
#oe-root .oe-alert { padding:13px 16px; border-radius:var(--radius-sm); font-size:14px; margin-bottom:18px; }
#oe-root .oe-alert-error   { background:rgba(239,68,68,.1);   border:1px solid rgba(239,68,68,.3);   color:#fca5a5; }
#oe-root .oe-alert-success { background:rgba(0,200,117,.1);   border:1px solid rgba(0,200,117,.3);   color:#6ee7b7; }
#oe-root .oe-alert-warning { background:rgba(245,158,11,.1);  border:1px solid rgba(245,158,11,.3);  color:#fcd34d; }
#oe-root .oe-alert-info    { background:rgba(59,130,246,.1);  border:1px solid rgba(59,130,246,.3);  color:#93c5fd; }

#oe-root .oe-form-footer { text-align:center; font-size:13px; color:var(--text2); margin-top:18px; }
#oe-root .oe-form-footer a { color:var(--accent); text-decoration:none; }
#oe-root .oe-form-footer a:hover { text-decoration:underline; }

/* ── Dashboard ──────────────────────────────────────────── */
#oe-root .oe-dash-header {
    display:flex; align-items:center; justify-content:space-between;
    padding:28px 32px; background:var(--surface2);
    border-bottom:1px solid var(--border); flex-wrap:wrap; gap:12px;
}
#oe-root .oe-dash-header h2 { font-size:22px; font-weight:700; color:#fff; }
#oe-root .oe-dash-sub { margin-top:4px; color:var(--text2); font-size:14px; }
#oe-root .oe-dash-grid {
    display:grid; grid-template-columns:repeat(3,1fr);
    gap:18px; padding:28px; max-width:720px; margin:0 auto;
}
@media(max-width:560px){ #oe-root .oe-dash-grid { grid-template-columns:1fr; } }
#oe-root .oe-dash-card {
    background:var(--surface2); border:1px solid var(--border2);
    border-radius:var(--radius); padding:24px; text-align:center;
    transition:border-color .2s, transform .2s;
}
#oe-root .oe-dash-card:hover { border-color:var(--accent); transform:translateY(-2px); }
#oe-root .oe-dash-icon { width:32px; height:32px; color:var(--accent); }
#oe-root .oe-dash-card-icon { margin-bottom:10px; display:flex; justify-content:center; }
#oe-root .oe-dash-card-title { font-size:11px; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:8px; }
#oe-root .oe-dash-card-val { font-size:16px; font-weight:700; color:#fff; }
#oe-root .oe-dash-action { padding:0 28px 28px; max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px; align-items:center; }

/* ── Payment Page ───────────────────────────────────────── */
#oe-root .oe-pay-fee-box {
    text-align:center; background:rgba(207,10,44,.08);
    border:1px solid rgba(207,10,44,.2); border-radius:var(--radius);
    padding:24px; margin:18px 0;
}
#oe-root .oe-pay-fee-label { font-size:11px; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:6px; }
#oe-root .oe-pay-fee-amount { font-size:42px; font-weight:800; color:var(--accent); margin-bottom:12px; font-variant-numeric:tabular-nums; }
#oe-root .oe-pay-currency-switch { display:flex; gap:6px; justify-content:center; }
#oe-root .oe-cur-pill {
    padding:4px 14px; border-radius:999px; border:1.5px solid var(--border2);
    background:transparent; color:var(--text2); font-size:11px; font-weight:700;
    cursor:pointer; transition:all .15s; letter-spacing:.5px;
}
#oe-root .oe-cur-pill.active,
#oe-root .oe-cur-pill:hover { background:var(--accent); border-color:var(--accent); color:#fff; }

#oe-root .oe-pay-qr { text-align:center; margin:18px 0; }
#oe-root .oe-pay-qr img {
    max-width:180px; border:4px solid #fff; border-radius:var(--radius-sm);
    padding:4px; background:#fff; display:block; margin:0 auto;
}
#oe-root .oe-pay-qr p { font-size:12px; color:var(--text2); margin-top:8px; }

#oe-root .oe-pay-details-box {
    background:var(--surface3); border:1px solid var(--border2);
    border-radius:var(--radius-sm); padding:18px; margin:16px 0;
}
#oe-root .oe-pay-details-title { font-size:11px; font-weight:700; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:10px; }
#oe-root .oe-pay-details-content { font-size:14px; color:var(--text); line-height:1.8; white-space:pre-line; font-family:'Courier New',monospace; }
#oe-root .oe-pay-instructions { font-size:14px; color:var(--text2); line-height:1.7; margin:12px 0; }
#oe-root .oe-pay-disclaimer {
    background:rgba(245,158,11,.07); border-left:3px solid var(--warning);
    padding:12px 16px; border-radius:4px; font-size:13px; color:#fcd34d;
    margin:16px 0; line-height:1.6;
}

/* ── Pre-Test ───────────────────────────────────────────── */
#oe-root .oe-pretest-info-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:18px 0; }
#oe-root .oe-pretest-info {
    background:var(--surface3); border:1px solid var(--border2);
    border-radius:var(--radius-sm); padding:18px; text-align:center;
}
#oe-root .oe-pretest-info-label { font-size:11px; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; margin-bottom:6px; }
#oe-root .oe-pretest-info-val { font-size:26px; font-weight:800; color:#fff; }
#oe-root .oe-disclaimer-box {
    background:rgba(239,68,68,.06); border:1px solid rgba(239,68,68,.18);
    border-radius:var(--radius-sm); padding:20px; margin:18px 0;
}
#oe-root .oe-disclaimer-title { font-size:13px; font-weight:700; color:#fca5a5; margin-bottom:12px; display:flex; align-items:center; gap:8px; }
#oe-root .oe-disclaimer-text { font-size:13px; color:var(--text2); line-height:1.85; white-space:pre-line; }

/* ── Test Layout ────────────────────────────────────────── */
#oe-root #oe-view-test { display:flex; flex-direction:column; min-height:100vh; background:#0d0d1a; }
#oe-root #oe-test-topbar {
    position:sticky; top:0; z-index:100;
    background:#111126; border-bottom:2px solid var(--accent);
    padding:0 20px; height:56px;
}
#oe-root .oe-test-topbar-inner {
    display:flex; align-items:center; justify-content:space-between;
    max-width:1100px; margin:0 auto; height:100%;
}
#oe-root .oe-test-brand { font-size:15px; font-weight:800; color:#fff; letter-spacing:-.2px; }
#oe-root .oe-test-brand span { color:var(--accent); }
#oe-root .oe-test-qnum { font-size:13px; font-weight:600; color:var(--text2); background:var(--surface3); padding:4px 12px; border-radius:999px; }
#oe-root .oe-test-right { display:flex; align-items:center; gap:16px; }
#oe-root .oe-timer { display:flex; align-items:center; gap:6px; font-size:18px; font-weight:700; color:var(--success); font-variant-numeric:tabular-nums; }
#oe-root .oe-timer.oe-timer-warn  { color:var(--warning); }
#oe-root .oe-timer.oe-timer-danger{ color:var(--danger); animation:oe-blink 1s infinite; }
@keyframes oe-blink { 50%{ opacity:.4 } }
#oe-root .oe-test-cand-label { font-size:12px; color:var(--text2); }
#oe-root .oe-test-layout { display:flex; flex:1; max-width:1100px; margin:0 auto; width:100%; }
#oe-root .oe-test-sidebar {
    width:220px; min-width:220px; background:#111126;
    border-right:1px solid var(--border); padding:22px;
    display:flex; flex-direction:column; gap:14px;
}
@media(max-width:700px){ #oe-root .oe-test-sidebar{ display:none; } }
#oe-root .oe-sidebar-label { font-size:10px; font-weight:700; color:var(--text3); text-transform:uppercase; letter-spacing:1px; }
#oe-root .oe-progress-bar { height:5px; background:var(--border); border-radius:3px; overflow:hidden; }
#oe-root .oe-progress-fill { height:100%; background:linear-gradient(90deg,var(--accent),var(--accent3)); transition:width .3s; }
#oe-root .oe-progress-stat { font-size:12px; color:var(--text2); }
#oe-root .oe-q-dots { display:flex; flex-wrap:wrap; gap:5px; }
#oe-root .oe-q-dot {
    width:30px; height:30px; border-radius:6px;
    border:1px solid var(--border); background:var(--surface3);
    font-size:10px; font-weight:600; display:flex; align-items:center; justify-content:center;
    color:var(--text2); cursor:pointer; transition:all .15s;
}
#oe-root .oe-q-dot.answered { background:var(--accent); border-color:var(--accent); color:#fff; }
#oe-root .oe-q-dot.current  { border-color:var(--text); color:var(--text); }
#oe-root .oe-mt-auto { margin-top:auto; }
#oe-root .oe-test-main { flex:1; padding:32px; overflow-y:auto; }
#oe-root .oe-q-category { font-size:11px; font-weight:700; color:var(--accent3); text-transform:uppercase; letter-spacing:.7px; margin-bottom:10px; }
#oe-root .oe-q-card {
    background:var(--surface2); border:1px solid var(--border2);
    border-radius:var(--radius); padding:32px; margin-bottom:22px;
    box-shadow:var(--shadow);
}
#oe-root .oe-q-text { font-size:19px; font-weight:500; color:#fff; line-height:1.65; margin-bottom:24px; }
#oe-root .oe-q-options { display:flex; flex-direction:column; gap:11px; }
#oe-root .oe-q-opt {
    padding:15px 20px; border-radius:var(--radius-sm); border:1.5px solid var(--border2);
    background:var(--surface3); cursor:pointer; transition:all .15s;
    font-size:15px; color:var(--text); display:flex; align-items:center; gap:14px;
}
#oe-root .oe-q-opt:hover { border-color:var(--accent); background:rgba(207,10,44,.07); }
#oe-root .oe-q-opt.selected { border-color:var(--accent); background:rgba(207,10,44,.14); color:#fff; }
#oe-root .oe-q-opt-letter {
    width:32px; height:32px; border-radius:6px; background:var(--border);
    font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
    transition:background .15s;
}
#oe-root .oe-q-opt.selected .oe-q-opt-letter { background:var(--accent); color:#fff; }
#oe-root .oe-q-text-area { margin-top:18px; }
#oe-root .oe-q-text-area label { font-size:11px; color:var(--text2); text-transform:uppercase; letter-spacing:.7px; display:block; margin-bottom:8px; }
#oe-root .oe-textarea {
    width:100%; padding:14px; background:var(--surface3);
    border:1.5px solid var(--border2); border-radius:var(--radius-sm);
    color:var(--text); font-size:14px; resize:vertical; font-family:inherit;
}
#oe-root .oe-textarea:focus { outline:none; border-color:var(--accent); }
#oe-root .oe-q-nav { display:flex; gap:12px; justify-content:space-between; }

/* ── Post-Test ──────────────────────────────────────────── */
#oe-root .oe-score-box {
    text-align:center; padding:28px;
    background:rgba(207,10,44,.08); border:1px solid rgba(207,10,44,.2);
    border-radius:var(--radius); margin-bottom:28px;
}
#oe-root .oe-score-pct { font-size:56px; font-weight:800; color:var(--accent); }
#oe-root .oe-score-label { font-size:12px; text-transform:uppercase; letter-spacing:.7px; color:var(--text2); margin:6px 0; }
#oe-root .oe-score-fraction { font-size:22px; font-weight:600; color:var(--text); }

/* ── Results ────────────────────────────────────────────── */
#oe-root .oe-trophy-wrap { display:flex; justify-content:center; margin-bottom:20px; }
#oe-root .oe-trophy-icon { width:72px; height:72px; color:#fbbf24; }
#oe-root .oe-res-pct { font-size:60px; font-weight:800; margin-bottom:6px; }
#oe-root .oe-res-label { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--text2); margin-bottom:10px; }
#oe-root .oe-res-fraction { font-size:22px; font-weight:600; color:var(--text); margin-bottom:18px; }
#oe-root .oe-res-badge { font-size:15px; font-weight:600; margin-bottom:10px; }
#oe-root .oe-res-msg { font-size:14px; color:var(--text2); line-height:1.7; }
#oe-root .oe-retake-area { margin-top:24px; padding-top:24px; border-top:1px solid var(--border); width:100%; }
#oe-root .oe-retake-info { font-size:13px; color:var(--text2); text-align:center; margin-bottom:12px; }

/* ── Utilities ──────────────────────────────────────────── */
#oe-root .oe-mt-lg { margin-top:24px; }
#oe-root .oe-mt-sm { margin-top:8px; }
#oe-root .oe-text-center { text-align:center; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes oe-fadein { from{opacity:0} to{opacity:1} }
@keyframes oe-slidein { from{transform:translateY(-30px);opacity:0} to{transform:translateY(0);opacity:1} }

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:560px){
    #oe-root .oe-form-card { padding:22px 16px; }
    #oe-root .oe-test-main { padding:16px; }
    #oe-root .oe-q-text { font-size:16px; }
    #oe-root .oe-q-opt { padding:12px 14px; font-size:14px; }
    #oe-root .oe-hero { padding:40px 16px 36px; }
    #oe-root .oe-dash-header { padding:18px 16px; }
    #oe-root .oe-pay-fee-amount { font-size:32px; }
    #oe-root .oe-selected-section { padding:18px 16px; }
    .oe-archive-card { min-width:160px; }
}
