/* A cool analogous palette: teal actions, blue information, violet concepts.
   Geometry, animation declarations, and layout remain in the reference CSS. */
:root {
  --page:#f1f7f9; --paper:#f6fafb; --paper-raised:#ffffff;
  --paper-sunk:#e4edf1; --paper-sunk-strong:#d8e4eb;
  --line:#d2e0e7; --line-soft:#e1eaf0; --line-strong:#b6ccd7;
  --ink:#142e3b; --ink-2:#294958; --ink-3:#526d7c; --ink-4:#718894;
  --coral:#087f76; --coral-deep:#066e68; --coral-300:#8edbd0;
  --coral-200:#b7ebe3; --coral-100:#d5f2ed; --coral-50:#eaf9f5;
  --coral-ink:#07554f; --mark:#c2e9e2; --mark-ink:#07554f;
  --stage:#fafdff; --grid-line:#cbdce7;
  --code-bg:#101e2a; --code-fg:#ebf4fa; --code-kw:#69d8c4;
  --code-str:#cfb9ff; --code-type:#8cc8ff; --code-dim:#a3b9c9;
  --brand-tile:#18323d; --brand-line:#b5c8ff;
  --shadow-coral:0 1px 0 #ffffff38 inset,0 1px 2px #064b4940,0 4px 10px -4px #087f7660;
  --veil:#d5e6eda8;
}
:root[data-theme=dark] {
  --page:#091217; --paper:#101c24; --paper-raised:#15252f;
  --paper-sunk:#1d303b; --paper-sunk-strong:#27404e;
  --line:#263b47; --line-soft:#1b303c; --line-strong:#3c5666;
  --ink:#eff7fc; --ink-2:#c3d5e2; --ink-3:#9bb2c1; --ink-4:#7a96a7;
  --coral:#0c8178; --coral-deep:#39cbb7; --coral-300:#277268;
  --coral-200:#1a514c; --coral-100:#163e3b; --coral-50:#102d2e;
  --coral-ink:#a9f0e2; --mark:#a9eadf; --mark-ink:#063c37;
  --stage:#0d1921; --grid-line:#203743;
  --code-bg:#0c1720; --code-fg:#e2f0fa; --code-kw:#6bdac7;
  --code-str:#ccb5ff; --code-type:#91caff; --code-dim:#9cb5c8;
  --brand-tile:#19323c; --brand-line:#9dbaff; --veil:#040c12b8;
  --shadow-coral:0 1px 0 #ffffff2e inset,0 1px 2px #0008,0 6px 16px -6px #0c817880;
}
.scene,.cube-glyph,.stairs {
  --iso-top:#f1fbfc; --iso-left:#dcecf2; --iso-blush:#c3eee6;
  --iso-blush-soft:#dcf4ef; --iso-blush-deep:#a5dfd5;
  --out-top:#e2ebef; --out-side:#d2e0e7; --out-dark:#a9bcc8;
  --cast:#173a4e;
}
:root[data-theme=dark] :is(.scene,.cube-glyph,.stairs) {
  --iso-top:#e4f2f7; --iso-left:#c4dce8; --iso-blush:#9fded4;
  --iso-blush-soft:#c4eee8; --iso-blush-deep:#6fcbbd;
  --coral:#22ae9b; --coral-deep:#119c89; --coral-300:#77d9c6;
  --coral-200:#9be8d9; --coral-ink:#064b40;
  --obj-ink:#173542; --obj-paper:#edf8fc; --floor-ink:#d0e7f3;
  --case:#0d1921; --halo:#c3e1ed;
  --tag-fill:#152936; --tag-line:#7898ac; --tag-text:#edf8fc;
  --panel-fill:#142630; --panel-head:#11222d; --panel-row:#223a49;
  --panel-text:#eaf5fb; --panel-head-text:#eaf5fb;
}
.p-coral-mid { fill:#72cabf; }
.spot { fill:#22ae9b21; }
.spot.is-hit { fill:#22ae9b38; }
.chip--tag { background:#e8e2fa; color:#59408c; }
:root[data-theme=dark] .chip--tag { background:#352b54; color:#d5c5ff; }
.note { background:#e7f1fc; border-color:#b6d0eb; }
.note .note__icon { background:#c7def6; color:#235683; }
:root[data-theme=dark] .note { background:#142c40; border-color:#2a4d6d; }
:root[data-theme=dark] .note .note__icon { background:#224c6b; color:#a9d7ff; }
.tree__chapter:nth-child(3n+2) > .tree__row > .icon { color:#6aa6e8; }
.tree__chapter:nth-child(3n) > .tree__row > .icon { color:#b299e6; }
.brand__mark svg g path:nth-child(2) { stroke:#80bfff!important; }
.brand__mark svg g path:nth-child(3) { stroke:#baabff!important; }
::selection { background:#148f82; color:#fff; }
input { caret-color:var(--coral-deep); }
* { scrollbar-color:var(--line-strong) transparent; }
:root:lang(bn) { --script-fonts:"Noto Sans Bengali", "Nirmala UI", sans-serif; }
:lang(bn) { letter-spacing:normal!important; }
:lang(bn) .step-card__body { line-height:1.7; }
:lang(bn) .step-card__title { line-height:1.4; }
:lang(bn) .steps__label { line-height:1.55; }
