/* Aurelian IQ & CRI · Brand: Primary #2C51F7 · Secondary #353535 · Navy #1A1A2E · Gold #C9A84C */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Barlow:wght@400;500;600;700&display=swap');

.aiq { --blue:#2C51F7; --blue-d:#1E3FD6; --navy:#1A1A2E; --ink:#353535; --gold:#C9A84C; --gold-d:#AD8E3B;
  --light:#F5F6FA; --line:#E2E5F0; --muted:#6B7280; --fh:'Barlow Condensed',sans-serif; --fb:'Barlow',sans-serif;
  font-family:var(--fb); color:var(--ink); max-width:980px; margin:0 auto; line-height:1.55; -webkit-font-smoothing:antialiased; }
.aiq *, .aiq *::before, .aiq *::after { box-sizing:border-box; }
.aiq h1, .aiq h2, .aiq h3 { font-family:var(--fh); color:var(--navy); line-height:1.15; margin:0 0 10px; letter-spacing:.2px; }
.aiq p { margin:0 0 12px; }

/* Header */
.aiq-top { display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--navy); padding:14px 22px; border-radius:12px 12px 0 0; border-bottom:3px solid var(--gold); }
.aiq-logo { height:42px; width:auto; display:block; filter:brightness(0) invert(1); }
.aiq-admin-btn { display:inline-flex; align-items:center; gap:6px; color:var(--gold); border:1px solid var(--gold); border-radius:20px; padding:7px 14px; font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; transition:all .2s; }
.aiq-admin-btn:hover { background:var(--gold); color:var(--navy); }

#aiq-stage { background:#fff; border:1px solid var(--line); border-top:0; padding:28px 24px; }

/* Hero + cards */
.aiq-hero { text-align:center; max-width:640px; margin:6px auto 26px; }
.aiq-hero h1 { font-size:40px; }
.aiq-hero p { color:var(--muted); }
.aiq-eyebrow { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.4px; color:var(--gold-d); margin-bottom:8px; }
.aiq-cards { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.aiq-card { position:relative; border-radius:14px; padding:26px 22px 20px; display:flex; flex-direction:column; }
.aiq-card h2 { font-size:28px; margin-top:8px; }
.aiq-card-std { background:#fff; border:2px solid var(--line); border-top:5px solid var(--blue); }
.aiq-card-cri { background:var(--navy); border:2px solid var(--gold); color:#D7DCEA; }
.aiq-card-cri h2 { color:#fff; }
.aiq-card-sub { font-size:15px; }
.aiq-card-std .aiq-card-sub { color:var(--muted); }
.aiq-badge { align-self:flex-start; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; padding:4px 10px; border-radius:20px; }
.aiq-badge-blue { background:#E8EDFE; color:var(--blue); }
.aiq-badge-gold { background:var(--gold); color:var(--navy); }
.aiq-meta { list-style:none; padding:0; margin:6px 0 18px; display:flex; flex-wrap:wrap; gap:8px; }
.aiq-meta li { font-size:13px; padding:5px 10px; border-radius:6px; background:var(--light); color:var(--ink); }
.aiq-card-cri .aiq-meta li { background:rgba(255,255,255,.08); color:#fff; }
.aiq-meta strong { color:var(--blue); }
.aiq-card-cri .aiq-meta strong { color:var(--gold); }
.aiq .aiq-disc { font-size:12px; margin:14px 0 0; color:var(--muted); line-height:1.5; }
.aiq-card-cri .aiq-disc { color:#AEB6CC; }
.aiq-norm { display:block; margin-top:4px; color:var(--gold); font-weight:600; }

/* Buttons */
.aiq-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:2px solid transparent; border-radius:8px; padding:13px 20px; font-family:var(--fb); font-size:15px; font-weight:700; cursor:pointer; text-decoration:none; line-height:1.2; transition:background .2s, transform .1s; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.aiq-btn:active { transform:scale(.98); }
.aiq-btn:disabled { opacity:.5; cursor:not-allowed; }
.aiq-btn-blue { background:var(--blue); color:#fff; }
.aiq-btn-blue:hover { background:var(--blue-d); color:#fff; }
.aiq-btn-gold { background:var(--gold); color:var(--navy); }
.aiq-btn-gold:hover { background:var(--gold-d); color:var(--navy); }
.aiq-btn-ghost { background:#fff; color:var(--navy); border-color:var(--line); }
.aiq-btn-ghost:hover { border-color:var(--blue); color:var(--blue); }
.aiq-card .aiq-btn { width:100%; margin-top:auto; }
.aiq-wide { width:100%; }
.aiq-row { display:flex; gap:10px; justify-content:space-between; flex-wrap:wrap; margin-top:18px; }

/* Panels & forms */
.aiq-panel { max-width:720px; margin:0 auto; }
.aiq-form label { display:block; font-weight:600; font-size:14px; color:var(--navy); margin-bottom:14px; }
.aiq-form input[type=text], .aiq-form input[type=email], .aiq-form input[type=tel] { display:block; width:100%; margin-top:6px; padding:12px 14px; border:1.5px solid var(--line); border-radius:8px; font-size:16px; font-family:var(--fb); color:var(--ink); background:#fff; }
.aiq-form input:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(44,81,247,.12); }
.aiq-check { display:flex !important; gap:10px; align-items:flex-start; font-weight:400 !important; font-size:13px !important; color:var(--ink) !important; }
.aiq-check input { margin-top:3px; width:18px; height:18px; flex-shrink:0; accent-color:var(--blue); }
.aiq-muted { color:var(--muted); }
.aiq-small { font-size:13px; }
.aiq-err { background:#FEE2E2; color:#991B1B; border-radius:8px; padding:10px 12px; font-size:14px; }

/* Section intro */
.aiq-steps { display:flex; gap:8px; margin-bottom:16px; }
.aiq-steps span { width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; background:var(--light); color:var(--muted); }
.aiq-steps .now { background:var(--blue); color:#fff; }
.aiq-steps .done { background:var(--gold); color:var(--navy); }
.aiq-rules { background:var(--light); border-left:4px solid var(--gold); border-radius:0 8px 8px 0; padding:12px 16px 12px 32px; margin:14px 0 20px; font-size:14px; }

/* Test */
.aiq-bar { display:flex; justify-content:space-between; align-items:center; font-weight:600; font-size:14px; color:var(--navy); }
.aiq-clock { font-family:var(--fh); font-size:22px; background:var(--navy); color:var(--gold); padding:3px 12px; border-radius:6px; min-width:72px; text-align:center; }
.aiq-clock.warn { background:#DC2626; color:#fff; }
.aiq-progress { height:5px; background:var(--light); border-radius:4px; margin:10px 0 18px; overflow:hidden; }
.aiq-progress i { display:block; height:100%; background:var(--blue); transition:width .3s; }
.aiq-qtext { font-size:18px; font-weight:600; color:var(--navy); }
.aiq-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; max-width:330px; margin:0 auto 18px; background:var(--line); padding:6px; border-radius:10px; }
.aiq-cell { background:#fff; aspect-ratio:1/1; border-radius:6px; display:flex; align-items:center; justify-content:center; }
.aiq-cell svg { width:88%; height:88%; }
.aiq-qmark { font-family:var(--fh); font-size:40px; color:var(--gold); }
.aiq-seq { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:6px 0 20px; }
.aiq-seq span { min-width:52px; padding:10px 12px; text-align:center; font-family:var(--fh); font-size:24px; font-weight:700; background:var(--light); border-radius:8px; color:var(--navy); }
.aiq-seq span.q { background:var(--navy); color:var(--gold); }
.aiq-target { max-width:180px; margin:0 auto 18px; text-align:center; background:var(--light); border-radius:10px; padding:10px; }
.aiq-target span { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); font-weight:700; }
.aiq-target svg { width:100%; height:auto; display:block; }

.aiq-opts { display:grid; gap:10px; }
.aiq-opts-verbal, .aiq-opts-series { grid-template-columns:1fr; }
.aiq-opts-series { grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
.aiq-opts-matrix { grid-template-columns:repeat(3,1fr); max-width:480px; margin:0 auto; }
.aiq-opts-rotation { grid-template-columns:repeat(4,1fr); max-width:620px; margin:0 auto; }
.aiq-opt { position:relative; display:flex; align-items:center; gap:10px; width:100%; background:#fff; border:2px solid var(--line); border-radius:10px; padding:12px 14px; cursor:pointer; text-align:left; font-family:var(--fb); font-size:16px; color:var(--ink); transition:border-color .15s, background .15s; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.aiq-opt:hover { border-color:var(--blue); }
.aiq-opt.sel { border-color:var(--blue); background:#EEF2FF; box-shadow:0 0 0 3px rgba(44,81,247,.15); }
.aiq-ol { flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--light); color:var(--navy); font-weight:700; font-size:13px; display:inline-flex; align-items:center; justify-content:center; }
.aiq-opt.sel .aiq-ol { background:var(--blue); color:#fff; }
.aiq-opts-matrix .aiq-opt, .aiq-opts-rotation .aiq-opt { flex-direction:column; padding:8px; }
.aiq-osvg { display:block; width:100%; aspect-ratio:1/1; }
.aiq-osvg svg { width:100%; height:100%; display:block; }
.aiq-opts-series .aiq-otext { font-family:var(--fh); font-size:22px; font-weight:700; }

/* Loading */
.aiq-center { text-align:center; padding:30px 0; }
.aiq-spin { width:44px; height:44px; border:4px solid var(--line); border-top-color:var(--blue); border-radius:50%; margin:0 auto 16px; animation:aiqspin .8s linear infinite; }
@keyframes aiqspin { to { transform:rotate(360deg); } }

/* Results */
.aiq-score { display:grid; grid-template-columns:1fr 1.4fr; gap:14px; background:var(--navy); border-radius:14px; padding:20px; margin:16px 0; border:2px solid var(--gold); }
.aiq-score span { display:block; font-size:11px; text-transform:uppercase; letter-spacing:1px; color:#AEB6CC; }
.aiq-score-main { text-align:center; border-right:1px solid rgba(255,255,255,.12); }
.aiq-score-main b { display:block; font-family:var(--fh); font-size:64px; color:var(--gold); line-height:1; margin:4px 0; }
.aiq-score-main em { font-style:normal; color:#fff; font-weight:600; }
.aiq-score-side { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; align-items:center; text-align:center; }
.aiq-score-side b { font-family:var(--fh); font-size:26px; color:#fff; }
.aiq-scale { margin:10px 0 8px; }
.aiq-scale-track { position:relative; height:14px; background:linear-gradient(90deg,#E5E7EB,#E8EDFE 50%,#E5E7EB); border-radius:8px; }
.aiq-ci { position:absolute; top:0; height:100%; background:rgba(44,81,247,.35); border-radius:8px; }
.aiq-pt { position:absolute; top:-5px; width:6px; height:24px; margin-left:-3px; background:var(--gold); border-radius:3px; box-shadow:0 0 0 2px #fff; }
.aiq-scale-lbl { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:4px; }
.aiq-note { background:var(--light); border-left:4px solid var(--blue); border-radius:0 8px 8px 0; padding:11px 14px; font-size:14px; margin:12px 0; }
.aiq-note-warn { border-left-color:var(--gold); background:#FEF9EC; }
.aiq-results h3 { margin-top:22px; font-size:22px; }
.aiq-sub { margin-bottom:12px; }
.aiq-sub-h { display:flex; justify-content:space-between; font-size:14px; font-weight:600; color:var(--navy); }
.aiq-sub-h em { font-style:normal; font-weight:400; color:var(--muted); font-size:12px; margin-left:4px; }
.aiq-sub-bar { height:8px; background:var(--light); border-radius:5px; overflow:hidden; margin-top:5px; }
.aiq-sub-bar i { display:block; height:100%; background:var(--blue); }

/* Footer & science */
.aiq-foot { background:var(--navy); border-radius:0 0 12px 12px; padding:18px 22px; text-align:center; }
.aiq-science-toggle { background:transparent; border:1px solid var(--gold); color:var(--gold); border-radius:22px; padding:10px 20px; font-weight:700; font-size:14px; font-family:var(--fb); cursor:pointer; touch-action:manipulation; }
.aiq-science-toggle:hover { background:var(--gold); color:var(--navy); }
.aiq-science { text-align:left; background:#fff; color:var(--ink); border-radius:10px; padding:24px 22px; margin-top:16px; font-size:15px; }
.aiq-science h2 { font-size:28px; }
.aiq-science h3 { font-size:20px; margin-top:22px; border-bottom:2px solid var(--gold); padding-bottom:4px; display:inline-block; }
.aiq-science ul { padding-left:20px; }
.aiq-science li { margin-bottom:8px; }
.aiq-lead { font-size:16px; color:var(--muted); }
.aiq-formula { text-align:center; font-family:Georgia,serif; font-size:18px; background:var(--light); padding:12px; border-radius:8px; }
.aiq-table { width:100%; border-collapse:collapse; font-size:14px; margin:8px 0; display:block; overflow-x:auto; }
.aiq-table th, .aiq-table td { border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; }
.aiq-table th { background:var(--navy); color:#fff; }
.aiq-table td:first-child { font-weight:600; color:var(--navy); }
.aiq-refs { font-size:13px; padding-left:20px; }
.aiq-copy { color:#8B93AB; font-size:12px; margin:14px 0 0; }

@media (max-width:700px) {
  #aiq-stage { padding:20px 14px; }
  .aiq-top { padding:12px 14px; }
  .aiq-logo { height:32px; }
  .aiq-admin-btn { font-size:12px; padding:6px 10px; }
  .aiq-hero h1 { font-size:30px; }
  .aiq-cards { grid-template-columns:1fr; }
  .aiq-opts-rotation { grid-template-columns:repeat(2,1fr); }
  .aiq-score { grid-template-columns:1fr; }
  .aiq-score-main { border-right:0; border-bottom:1px solid rgba(255,255,255,.12); padding-bottom:12px; }
  .aiq-row .aiq-btn { flex:1 1 100%; }
  .aiq-nav .aiq-btn { flex:1 1 40%; }
  .aiq-science { padding:18px 14px; }
}

/* ═════ Theme shield: ID-scoped + !important so WordPress themes cannot override brand styling ═════ */
#aiq-app h1, #aiq-app h2, #aiq-app h3 { font-family:'Barlow Condensed',sans-serif !important; color:#1A1A2E !important; font-weight:700 !important; text-transform:none !important; letter-spacing:.2px !important; }
#aiq-app .aiq-hero h1 { font-size:42px !important; line-height:1.1 !important; }
#aiq-app .aiq-card h2 { font-size:30px !important; line-height:1.1 !important; margin:10px 0 8px !important; }
#aiq-app .aiq-card-cri h2, #aiq-app .aiq-score h2 { color:#FFFFFF !important; }
#aiq-app .aiq-card-cri .aiq-card-sub { color:#D7DCEA !important; }
#aiq-app .aiq-science h3 { color:#1A1A2E !important; }

#aiq-app .aiq-btn { border-radius:8px !important; box-shadow:none !important; text-transform:none !important; letter-spacing:normal !important; font-family:'Barlow',sans-serif !important; font-weight:700 !important; font-size:15px !important; padding:13px 20px !important; line-height:1.2 !important; text-decoration:none !important; }
#aiq-app .aiq-btn-blue, #aiq-app .aiq-btn-blue:visited { background:#2C51F7 !important; color:#FFFFFF !important; border:2px solid #2C51F7 !important; }
#aiq-app .aiq-btn-blue:hover, #aiq-app .aiq-btn-blue:focus { background:#1E3FD6 !important; border-color:#1E3FD6 !important; color:#FFFFFF !important; }
#aiq-app .aiq-btn-gold, #aiq-app .aiq-btn-gold:visited { background:#C9A84C !important; color:#1A1A2E !important; border:2px solid #C9A84C !important; }
#aiq-app .aiq-btn-gold:hover, #aiq-app .aiq-btn-gold:focus { background:#AD8E3B !important; border-color:#AD8E3B !important; color:#1A1A2E !important; }
#aiq-app .aiq-btn-ghost { background:#FFFFFF !important; color:#1A1A2E !important; border:2px solid #E2E5F0 !important; }
#aiq-app .aiq-btn-ghost:hover { border-color:#2C51F7 !important; color:#2C51F7 !important; }
#aiq-app .aiq-btn:disabled { opacity:.5 !important; }

#aiq-app .aiq-opt { background:#FFFFFF !important; color:#353535 !important; border:2px solid #E2E5F0 !important; border-radius:10px !important; box-shadow:none !important; text-transform:none !important; font-weight:500 !important; }
#aiq-app .aiq-opt:hover { border-color:#2C51F7 !important; }
#aiq-app .aiq-opt.sel { background:#EEF2FF !important; border-color:#2C51F7 !important; box-shadow:0 0 0 3px rgba(44,81,247,.15) !important; }

#aiq-app .aiq-science-toggle { padding:10px 20px !important; font-weight:700 !important; font-size:14px !important; background:transparent !important; color:#C9A84C !important; border:1px solid #C9A84C !important; border-radius:22px !important; box-shadow:none !important; text-transform:none !important; }
#aiq-app .aiq-science-toggle:hover { background:#C9A84C !important; color:#1A1A2E !important; }
#aiq-app .aiq-admin-btn { color:#C9A84C !important; border:1px solid #C9A84C !important; background:transparent !important; text-decoration:none !important; }
#aiq-app .aiq-admin-btn:hover { background:#C9A84C !important; color:#1A1A2E !important; }

#aiq-app input[type=text], #aiq-app input[type=email], #aiq-app input[type=tel] { background:#FFFFFF !important; color:#353535 !important; border:1.5px solid #E2E5F0 !important; border-radius:8px !important; box-shadow:none !important; }
#aiq-app .aiq-score-main b { color:#C9A84C !important; }
#aiq-app a { box-shadow:none; }
@media (max-width:700px) { #aiq-app .aiq-hero h1 { font-size:32px !important; } #aiq-app .aiq-card h2 { font-size:26px !important; } }

/* ═════ 2.0 · Aurelian full-screen shell ═════ */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');
body.aiq-page { margin:0; background:#0E0F22; font-family:'Jost','Barlow',sans-serif; min-height:100vh; }
.aiq-shell { max-width:1040px; margin:0 auto; padding:0 16px 24px; }
.aiq-bar0 { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 4px; }
.aiq-brand img { height:40px; width:auto; display:block; filter:brightness(0) invert(1); }
.aiq-nav0 { display:flex; align-items:center; gap:12px; }
.aiq-nav0 a { color:#C9A84C; text-decoration:none; font-weight:600; font-size:14px; border:1px solid #C9A84C; border-radius:20px; padding:7px 14px; white-space:nowrap; }
.aiq-nav0 a:hover { background:#C9A84C; color:#1A1A2E; }
#aiq-theme { background:transparent; color:#E8EBF7; border:1px solid #3A3E6A; border-radius:20px; padding:7px 14px; font:600 14px 'Jost',sans-serif; cursor:pointer; }
#aiq-theme:hover { border-color:#2C51F7; }
.aiq-copy0 { text-align:center; color:#8B93AB; font-size:12px; padding:18px 0 0; }
.aiq-page .aiq { font-family:'Jost','Barlow',sans-serif; }
.aiq-page main.aiq > .aiq-panel { background:#fff; border:1px solid var(--line); border-radius:14px; padding:28px 24px; }
.aiq-page #aiq-stage { border-radius:14px; border:1px solid var(--line); }
.aiq-page .aiq-top { display:none; }
.aiq-price { font-weight:700; }
.aiq-page .aiq-meta li.aiq-price { background:var(--gold); color:var(--navy); }
.aiq-note-ok { border-left-color:#16A34A; background:#ECFDF5; }
.aiq-priceline { font-size:24px; font-family:var(--fh); margin:6px 0 10px; }
.aiq-paybtns { justify-content:flex-start; }
.aiq-sharebox { align-items:center; justify-content:flex-start; }
.aiq-sharebox input { flex:1 1 260px; padding:10px 12px; border:1.5px solid var(--line); border-radius:8px; font:inherit; }
.aiq-plan { display:grid; gap:10px; }
.aiq-plan-i { border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:8px; padding:10px 14px; background:var(--light); }
.aiq-plan-i.good { border-left-color:#16A34A; }
.aiq-plan-i b { display:block; font-size:15px; }
.aiq-plan-i span { font-size:14px; color:var(--muted); }
.aiq-cta { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:20px 0 6px; padding:16px 18px; border-radius:12px; background:var(--navy); color:#D7DCEA; border:1px solid var(--gold); }
.aiq-cta b { display:block; color:#fff; font-size:17px; }
.aiq-cta span { font-size:14px; }
.aiq-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:10px; margin:10px 0 14px; }
.aiq-tiles div { background:var(--light); border-radius:10px; padding:12px; text-align:center; }
.aiq-tiles b { display:block; font-family:var(--fh); font-size:28px; color:var(--blue); line-height:1.1; }
.aiq-tiles span { font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.8px; }
.aiq-hist { display:flex; align-items:flex-end; gap:8px; height:140px; margin:10px 0 18px; padding:8px 4px 0; border-bottom:2px solid var(--line); }
.aiq-hist div { flex:1; height:100%; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; position:relative; }
.aiq-hist i { display:block; width:100%; max-width:64px; background:var(--blue); border-radius:5px 5px 0 0; min-height:2px; }
.aiq-hist b { position:absolute; top:0; font-size:12px; }
.aiq-hist span { position:absolute; bottom:-22px; font-size:11px; color:var(--muted); white-space:nowrap; }
.aiq-team h3 { margin-top:26px; }
.aiq-team .aiq-hist { margin-bottom:34px; }
.aiq-tablewrap { overflow-x:auto; }
.aiq-sharecard { text-align:center; }
.aiq-sharecard .aiq-score { text-align:left; }
/* evaluator portal */
.aiq-rvwrap .aiq-row label { font-weight:600; font-size:14px; }
.aiq-rvwrap select { padding:8px 10px; border-radius:8px; border:1.5px solid var(--line); font:inherit; margin-left:6px; }
.aiq-dots { display:flex; flex-wrap:wrap; gap:5px; margin:14px 0; }
.aiq-dot { width:14px; height:14px; border-radius:50%; border:1.5px solid var(--line); background:transparent; padding:0; cursor:pointer; }
.aiq-dot.done { background:#16A34A; border-color:#16A34A; }
.aiq-dot.now { outline:2px solid var(--blue); outline-offset:2px; }
.aiq-rvitem { border:1px solid var(--line); border-radius:12px; padding:18px; margin-bottom:14px; }
.aiq-rvitem .aiq-opt { cursor:default; }
.aiq-keytag { margin-left:auto; font-style:normal; font-size:11px; font-weight:700; background:#16A34A; color:#fff; border-radius:10px; padding:2px 8px; }
.aiq-rvform fieldset { border:1px solid var(--line); border-radius:10px; margin:0 0 12px; padding:8px 14px 10px; }
.aiq-rvform legend { font-weight:600; font-size:14px; padding:0 6px; }
.aiq-rvopt { display:inline-flex !important; align-items:center; gap:6px; margin:4px 16px 4px 0; font-size:14px; font-weight:500 !important; }
.aiq-rvform textarea { width:100%; padding:10px 12px; border:1.5px solid var(--line); border-radius:8px; font:inherit; margin-top:6px; }
@media (max-width:700px) { .aiq-bar0 { flex-wrap:wrap; } .aiq-nav0 a { font-size:12px; padding:6px 10px; } .aiq-page main.aiq > .aiq-panel { padding:20px 14px; } .aiq-hist span { font-size:9px; } }

/* light page */
html[data-aiq-theme="light"] body.aiq-page { background:#EEF0F7; }
html[data-aiq-theme="light"] .aiq-brand img { filter:none; }
html[data-aiq-theme="light"] .aiq-nav0 a { color:#8A6D1E; border-color:#C9A84C; }
html[data-aiq-theme="light"] .aiq-nav0 a:hover { color:#1A1A2E; }
html[data-aiq-theme="light"] #aiq-theme { color:#1A1A2E; border-color:#C7CBE0; }
html[data-aiq-theme="light"] .aiq-copy0 { color:#6B7280; }

/* dark page (default in the shell) */
html:not([data-aiq-theme="light"]) body.aiq-page .aiq { --light:#222546; --line:#2E3157; --muted:#9AA3BD; color:#D7DCEA; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-stage,
html:not([data-aiq-theme="light"]) body.aiq-page main.aiq > .aiq-panel { background:#17182E; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq h1,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq h2,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq h3,
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app h1,
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app h2,
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app h3,
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app .aiq-science h3 { color:#fff !important; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-card-std { background:#1D1F3A; border-color:#2E3157; border-top-color:#2C51F7; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-card-std .aiq-meta li { background:#2A2D55; color:#E8EBF7; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-card-std .aiq-meta li.aiq-price { background:#C9A84C; color:#1A1A2E; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-badge-blue { background:#243066; color:#9DB1FF; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-form label,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-bar,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-qtext,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-sub-h,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-table td:first-child { color:#E8EBF7; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-check { color:#C3CAE0 !important; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app .aiq-btn-ghost,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-btn-ghost { background:transparent !important; color:#E8EBF7 !important; border-color:#3A3E6A !important; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app .aiq-btn-ghost:hover,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-btn-ghost:hover { border-color:#6F8BFF !important; color:#9DB1FF !important; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app .aiq-opt,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-opt { background:#1D1F3A !important; color:#E8EBF7 !important; border-color:#33376A !important; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app .aiq-opt.sel,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-opt.sel { background:#243066 !important; border-color:#6F8BFF !important; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-opts-matrix .aiq-osvg,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-opts-rotation .aiq-osvg { background:#fff; border-radius:6px; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-ol { background:#2A2D55; color:#E8EBF7; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-seq span { color:#fff; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-seq span.q { background:#0E0F22; color:#C9A84C; }
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app input[type=text],
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app input[type=email],
html:not([data-aiq-theme="light"]) body.aiq-page #aiq-app input[type=tel],
html:not([data-aiq-theme="light"]) body.aiq-page .aiq input[type=text],
html:not([data-aiq-theme="light"]) body.aiq-page .aiq textarea,
html:not([data-aiq-theme="light"]) body.aiq-page .aiq select { background:#101126 !important; color:#fff !important; border-color:#3A3E6A !important; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-note-warn { background:#2B2616; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-note-ok { background:#10281C; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-rules { background:#222546; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-science { background:#1D1F3A; color:#D7DCEA; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-err { background:#3B1A1A; color:#FCA5A5; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-tiles b { color:#9DB1FF; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-scale-track { background:#2A2D55; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-table th { background:#222546; }
html:not([data-aiq-theme="light"]) body.aiq-page .aiq-dot { border-color:#4A4F86; }
.aiq-page .aiq-foot { background:transparent; padding:14px 0 0; }
.aiq-page .aiq-foot .aiq-copy { display:none; }
.aiq-paybtns { margin:14px 0 16px; }
