.source-line{display:block;color:var(--accent-text);font-size:.7rem;margin-top:5px;font-weight:600}.source-fields{border:1px solid var(--line);border-radius:10px;padding:16px;margin:4px 0 22px;background:var(--canvas)}.source-section-head{margin-bottom:14px}.source-section-head p{color:var(--muted);font-size:.78rem;line-height:1.7;margin-top:5px}.source-summary{display:grid;gap:4px;padding:14px 16px;margin-top:16px;border-inline-start:4px solid var(--accent);background:var(--palm-soft)}.source-summary span{color:var(--accent-text);font-size:.65rem;letter-spacing:.08em;font-weight:700;text-transform:uppercase}.source-summary strong{font-size:.87rem}.source-summary small{color:var(--muted)}

/* ---- Dark mode: follow the OS setting until the seller picks one in Settings ---- */
@media(prefers-color-scheme:dark){
  :root:not([data-theme=light]){
    --harbor:#0e0f12;--harbor-hover:#1b1d22;
    --palm:#8b9af8;--palm-soft:#1c2040;
    --citrus:#8b9af8;--citrus-soft:#1c2040;
    --sand:#3a3d45;--sand-soft:#232529;
    --coral:#e3ac55;--coral-soft:#3a2e17;
    --danger:#e5847c;--danger-soft:#3b211e;
    --success:#6fcf97;--success-soft:#123423;
    --canvas:#0b0c0f;--paper:#17181c;--slate:#9aa0ac;--line:#2a2d34;
    --ink:#f2f3f5;--bg:var(--canvas);
    --accent-solid:#4c5fdb;--accent-hover:#5568de;--accent-text:#c7d0fb;
    color-scheme:dark
  }
}
:root[data-theme=dark]{
  --harbor:#0e0f12;--harbor-hover:#1b1d22;
  --palm:#8b9af8;--palm-soft:#1c2040;
  --citrus:#8b9af8;--citrus-soft:#1c2040;
  --sand:#3a3d45;--sand-soft:#232529;
  --coral:#e3ac55;--coral-soft:#3a2e17;
  --danger:#e5847c;--danger-soft:#3b211e;
  --success:#6fcf97;--success-soft:#123423;
  --canvas:#0b0c0f;--paper:#17181c;--slate:#9aa0ac;--line:#2a2d34;
  --ink:#f2f3f5;--bg:var(--canvas);
  --accent-solid:#4c5fdb;--accent-hover:#5568de;--accent-text:#c7d0fb;
  color-scheme:dark
}
/* Most component colours already resolve through the tokens above; only a few
   decorative dark blocks need a literal shade distinct from --paper/--harbor. */
[data-theme=dark] body{background:var(--canvas)}
[data-theme=dark] .order-row:hover{background:#1c1e24}
[data-theme=dark] .message-example,[data-theme=dark] .panel-footer,[data-theme=dark] .file-zone{background:#1c1e24}
[data-theme=dark] .pricing-intro,[data-theme=dark] .insight-card,[data-theme=dark] .pro-progress{background:#08090b}
@media(prefers-color-scheme:dark){
  :root:not([data-theme=light]) body{background:var(--canvas)}
  :root:not([data-theme=light]) .order-row:hover{background:#1c1e24}
  :root:not([data-theme=light]) .message-example,:root:not([data-theme=light]) .panel-footer,:root:not([data-theme=light]) .file-zone{background:#1c1e24}
  :root:not([data-theme=light]) .pricing-intro,:root:not([data-theme=light]) .insight-card,:root:not([data-theme=light]) .pro-progress{background:#08090b}
}
@media(max-width:760px){.theme-toggle span{display:none}.top-actions{gap:8px}.prototype-pill{font-size:.66rem}.source-fields .two-col{grid-template-columns:1fr}.source-line{font-size:.66rem}.order-info{min-width:140px}}
