/* Ella Elite site look: paper + charcoal, cyan + lime accents, iOS-style cards. Same tokens as the v3 site. */
:root {
  --paper: #EEE8DE; --char: #151515; --ink: #141414; --grey: #5E5E5E;
  --cyan: #1EC9D8; --cyan-deep: #0FA5B3; --lime: #DFF65B;
  --card: #FFFFFF; --line: rgba(20,20,20,.12); --line-d: rgba(255,255,255,.14);
  --radius: 22px; --shadow: 0 10px 30px rgba(20,20,20,.08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif; --hand: 'Caveat', cursive;
}
html.dark {
  --paper: #0F0F0F; --char: #F3EFE8; --ink: #F3EFE8; --grey: #A8A39B;
  --card: #1A1A1A; --line: rgba(255,255,255,.12); --shadow: 0 10px 30px rgba(0,0,0,.4);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: var(--cyan-deep); }
button { font: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 20px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; transition: transform .08s ease, background .15s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-dark { background: #151515; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lime { background: var(--lime); color: #151515; }
.btn-lime:hover { background: #d4ee3f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); width: auto; padding: 10px 16px; font-size: 14px; }
.btn-cyan { background: var(--cyan); color: #0b1b1d; }

/* ---------- login ---------- */
.login-body { background: radial-gradient(1200px 600px at 50% -10%, rgba(30,201,216,.18), transparent 60%), var(--paper); }
.login-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 440px; background: var(--card); border-radius: 28px; padding: 36px 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.login-card h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.lead { margin: 0 0 22px; color: var(--grey); font-size: 15px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 15px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); font-size: 17px; color: var(--ink); outline: none; }
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(30,201,216,.2); }
#code { letter-spacing: .4em; font-weight: 800; font-size: 26px; text-align: center; }
.small { font-size: 13px; color: var(--grey); margin: 14px 0 0; }
.msg { min-height: 1.4em; margin: 16px 0 0; font-size: 14px; color: var(--grey); }
.msg.err { color: #b42318; }
.msg.ok { color: #0e7a52; }
.support { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff4e5; color: #7a3e00; font-size: 14px; }
.foot { margin: 18px 0 0; font-size: 13px; color: var(--grey); text-align: center; }

/* ---------- hub shell ---------- */
.hub { max-width: 1120px; margin: 0 auto; padding: 20px 20px 80px; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 0 0 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.topbar .title { font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.topbar .title small { display: block; font-weight: 500; font-size: 12px; color: var(--grey); }
.progress { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar { flex: 1; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--lime)); border-radius: 999px; transition: width .4s ease; }
.pct { font-weight: 800; font-size: 14px; min-width: 40px; text-align: right; }
.icon-btn { width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; font-size: 16px; }
.saved { font-size: 12px; color: var(--grey); white-space: nowrap; }

.grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .topbar .saved { display: none; } }

.nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 8px; }
.nav button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; }
.nav button.active { border-color: var(--char); box-shadow: inset 0 0 0 1px var(--char); }
.nav button .num { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); font-weight: 800; font-size: 12px; flex: none; }
.nav button.done .num { background: var(--lime); color: #151515; }
.nav button .sub { display: block; font-weight: 500; font-size: 12px; color: var(--grey); }
.nav .locked { opacity: .5; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel h2 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.panel .intro { color: var(--grey); margin: 0 0 20px; }
.outcome { padding: 14px 16px; border-radius: 16px; background: var(--paper); margin: 0 0 22px; font-size: 14px; }
.outcome b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); margin-bottom: 4px; }
.video { aspect-ratio: 16/9; border-radius: 16px; background: #151515; display: grid; place-items: center; color: #fff; margin: 0 0 22px; overflow: hidden; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
.video .ph { font-family: var(--hand); font-size: 26px; color: var(--lime); }

.steps { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.step input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #151515; flex: none; }
.step .t { font-weight: 600; }
.step .d { color: var(--grey); font-size: 14px; }
.step.checked .t { text-decoration: line-through; color: var(--grey); }

.prompt { border-radius: 16px; background: #151515; color: #F3EFE8; padding: 16px 16px 14px; margin: 0 0 14px; }
html.dark .prompt { background: #0a0a0a; border: 1px solid var(--line); }
.prompt .ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.prompt .ph b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.prompt pre { margin: 0; white-space: pre-wrap; font: 14px/1.55 var(--font); max-height: 220px; overflow: auto; }
.copy { background: var(--lime); color: #151515; border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.copy.ok { background: var(--cyan); }

.done-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.sticker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: #151515; font-family: var(--hand); font-size: 20px; transform: rotate(-3deg); }

.path { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .path { grid-template-columns: 1fr; } }
.path button { text-align: left; padding: 22px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.path button:hover { border-color: var(--cyan); }
.path button b { display: block; font-size: 18px; margin-bottom: 6px; }
.path button span { color: var(--grey); font-size: 14px; }
.hero { padding: 36px 28px; border-radius: 26px; background: #151515; color: #F3EFE8; margin: 0 0 20px; }
.hero h2 { font-size: 34px; color: #fff; }
.hero p { color: #cfc9bf; margin: 10px 0 0; max-width: 560px; }
.hero .tag { display: inline-block; font-family: var(--hand); font-size: 22px; color: var(--lime); transform: rotate(-2deg); margin-bottom: 8px; }

canvas#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #151515; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); z-index: 60; opacity: 0; transition: opacity .2s; }
.toast.show { opacity: 1; }

/* ---------- AI builds, Business File, tabs (3 Nov evening) ---------- */
.credits { font-size: 12px; font-weight: 700; color: var(--grey); white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--paper); }
.credits.low { color: #b42318; }
.tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 14px; }
.tab.active { background: var(--char); color: var(--paper); border-color: var(--char); }
.tab .count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: #151515; font-size: 12px; text-align: center; }
.tab.active .count { background: var(--lime); }
.notfor { margin: 18px 4px 0; font-size: 14px; color: var(--grey); }
.path button i { display: block; margin-top: 8px; font-family: var(--hand); font-size: 18px; color: var(--cyan-deep); font-style: normal; }

.about { padding: 18px 20px; border-radius: 18px; background: var(--paper); margin: 0 0 20px; font-size: 14px; }
.about summary { cursor: pointer; font-weight: 700; }
.about p { margin: 10px 0 0; }
.video .ph small { display: block; font: 500 12px/1.4 var(--font); color: #cfc9bf; margin-top: 4px; }
.step .link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.step .note { display: block; margin-top: 6px; font-size: 13px; color: var(--grey); }
.badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: #151515; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

.tools-h { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 26px 0 10px; }
.tool { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; margin: 0 0 14px; background: var(--card); }
.tool h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.tool .intro { color: var(--grey); font-size: 14px; margin: 0 0 14px; }
.tool .field { margin-bottom: 12px; }
.tool .field textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 15px/1.5 var(--font); color: var(--ink); outline: none; resize: vertical; }
.tool .field input { font-size: 15px; padding: 12px 14px; border-radius: 14px; }
.tool .field textarea:focus, .tool .field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(30,201,216,.2); }
.tool .hint { font-size: 12px; color: var(--grey); margin: 4px 0 0; }
.need { padding: 10px 12px; border-radius: 12px; background: #fff4e5; color: #7a3e00; font-size: 13px; margin: 0 0 12px; }
html.dark .need { background: #3a2a10; color: #ffd9a8; }
.need a { color: inherit; font-weight: 700; }
.tool .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.tool .btn { width: auto; padding: 12px 22px; font-size: 15px; }
.tool .status { font-size: 13px; color: var(--grey); }
.tool .safety { font-size: 11px; color: var(--grey); margin: 12px 0 0; }
.tool .note { font-size: 13px; color: var(--grey); margin: 12px 0 0; font-style: italic; }

.result { margin-top: 16px; border-radius: 16px; border: 1.5px solid var(--line); overflow: hidden; }
.result .rh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.result .rh .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.result .body { padding: 16px 18px; font-size: 15px; line-height: 1.6; max-height: 520px; overflow: auto; }
.result .body.streaming::after { content: "▍"; animation: blink 1s steps(2) infinite; color: var(--cyan-deep); }
@keyframes blink { to { visibility: hidden; } }
.result pre.code { margin: 0; padding: 16px 18px; background: #151515; color: #F3EFE8; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; max-height: 420px; overflow: auto; }
.result .err { padding: 12px 16px; color: #b42318; font-size: 14px; }
.md h1, .md h2, .md h3, .md h4 { margin: 18px 0 8px; font-size: 16px; font-weight: 800; }
.md h1 { font-size: 20px; } .md h2 { font-size: 18px; }
.md p { margin: 0 0 10px; }
.md ul, .md ol { margin: 0 0 10px; padding-left: 22px; }
.md table { border-collapse: collapse; width: 100%; margin: 8px 0 12px; font-size: 13px; }
.md th, .md td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.md th { background: var(--paper); }
.md code { background: var(--paper); padding: 1px 5px; border-radius: 6px; font-size: 13px; }
.md pre { background: #151515; color: #F3EFE8; padding: 12px; border-radius: 12px; overflow: auto; font-size: 12px; }
.md .mark { background: #fff4e5; color: #7a3e00; padding: 0 4px; border-radius: 4px; font-weight: 700; font-size: 12px; }

.revise { padding: 14px 18px; border-top: 1.5px solid var(--line); background: var(--card); }
.revise b { display: block; font-size: 13px; margin-bottom: 6px; }
.revise textarea { width: 100%; min-height: 70px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 14px/1.5 var(--font); color: var(--ink); resize: vertical; }
.revise .btn { width: auto; padding: 10px 18px; font-size: 14px; margin-top: 8px; }

.table-tool table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 10px; }
.table-tool th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); padding: 4px 6px; }
.table-tool td { padding: 3px; }
.table-tool td input { width: 100%; padding: 8px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font: 14px var(--font); color: var(--ink); }
.table-tool td:first-child input { min-width: 110px; }
.table-tool .rm { border: 0; background: transparent; color: var(--grey); font-size: 16px; cursor: pointer; }

.file-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.file-h p { margin: 4px 0 0; color: var(--grey); font-size: 14px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 16px; font-weight: 800; }
.card .when { font-size: 12px; color: var(--grey); }
.card .preview { font-size: 13px; color: var(--grey); max-height: 110px; overflow: hidden; white-space: pre-wrap; mask-image: linear-gradient(#000 60%, transparent); }
.card .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.card .btns .copy { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.card .btns .copy.primary { background: var(--lime); color: #151515; border-color: transparent; }
.card textarea { width: 100%; min-height: 220px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 13px/1.5 ui-monospace, Menlo, monospace; color: var(--ink); }
.card .code-note { font-size: 12px; color: var(--grey); }
.empty { padding: 30px; border-radius: 18px; background: var(--paper); text-align: center; color: var(--grey); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.blocker { padding: 14px 16px; border-radius: 14px; background: #fff4e5; color: #7a3e00; font-size: 14px; margin: 0 0 14px; }
html.dark .blocker { background: #3a2a10; color: #ffd9a8; }
.blocker a { color: inherit; font-weight: 700; }
@media (max-width: 860px) { .topbar .credits { display: none; } }

/* ---------- paste-back tools (final route) ---------- */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
@media (max-width: 640px) { .howto { grid-template-columns: 1fr; } }
.howto span { padding: 8px 10px; border-radius: 12px; background: var(--paper); font-size: 12px; color: var(--grey); }
.howto b { color: var(--ink); }
.prompt-box { margin-top: 6px; border-radius: 16px; background: #151515; color: #F3EFE8; padding: 14px 16px; }
html.dark .prompt-box { background: #0a0a0a; border: 1px solid var(--line); }
.prompt-box .ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prompt-box .ph b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.prompt-box details { margin-top: 8px; }
.prompt-box summary { cursor: pointer; font-size: 12px; color: #cfc9bf; }
.prompt-box pre { margin: 8px 0 0; white-space: pre-wrap; font: 13px/1.5 var(--font); max-height: 220px; overflow: auto; color: #e8e2d8; }
.paste { margin-top: 12px; }
.paste b { display: block; font-size: 13px; margin-bottom: 6px; }
.paste textarea { width: 100%; min-height: 120px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--paper); font: 14px/1.5 var(--font); color: var(--ink); resize: vertical; }
.paste textarea:focus { border-style: solid; border-color: var(--cyan); outline: none; box-shadow: 0 0 0 4px rgba(30,201,216,.2); }
.slider { display: grid; grid-template-columns: 1fr 64px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.slider .q { font-size: 14px; font-weight: 600; }
.slider .lohi { display: flex; justify-content: space-between; font-size: 11px; color: var(--grey); }
.slider input[type=range] { width: 100%; accent-color: #151515; }
.slider .v { font-weight: 800; font-size: 20px; text-align: center; }
.score-card { margin-top: 14px; padding: 18px; border-radius: 18px; background: #151515; color: #F3EFE8; }
.score-card .big { font-size: 44px; font-weight: 900; line-height: 1; color: var(--lime); }
.score-card .big small { font-size: 16px; color: #cfc9bf; font-weight: 600; }
.score-card .verdict { font-family: var(--hand); font-size: 24px; color: var(--cyan); margin: 6px 0 8px; }
.score-card p { margin: 0 0 6px; font-size: 14px; color: #e8e2d8; }

/* ---------- Brand my hub (theme picker) ---------- */
.theme-grid { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-form .field { margin-bottom: 10px; }
.theme-form select, .theme-form input[type=text] { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 14px var(--font); color: var(--ink); }
.colorrow { display: flex; gap: 8px; align-items: center; }
.colorrow input[type=color] { width: 44px; height: 40px; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.theme-preview { position: sticky; top: 92px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); background: var(--paper); }
.theme-preview iframe { width: 100%; height: 560px; border: 0; display: block; }


/* ---------- editorial look (3 Nov, late): colour band, serif headline, numeral card, sidebar list ---------- */
.band { position: relative; margin: 0 0 22px; padding: 30px 28px 28px 150px; border-radius: var(--radius); background: var(--char); color: var(--paper); overflow: hidden; min-height: 150px; }
.band .eyebrow { color: rgba(238,232,222,.7); margin-bottom: 8px; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.02; color: #fff; letter-spacing: -.01em; }
.band h2 em { font-style: italic; color: var(--lime); }
.band .squig { display: block; width: 110px; height: 10px; margin: 10px 0 12px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 10'><path d='M0 5 Q 7 0 14 5 T 28 5 T 42 5 T 56 5 T 70 5 T 84 5 T 98 5 T 112 5' fill='none' stroke='%23DFF65B' stroke-width='2.5'/></svg>") no-repeat; }
.band .arrows { margin: 0; font-size: 14px; color: rgba(238,232,222,.85); }
.band .arrows b { color: #fff; font-weight: 600; }
.band .swatches { position: absolute; right: 22px; top: 22px; display: grid; grid-template-columns: repeat(3, 20px); gap: 6px; transform: rotate(8deg); }
.band .swatches i { width: 20px; height: 20px; border-radius: 6px; display: block; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.numcard { position: absolute; left: 22px; top: 50%; transform: translateY(-50%) rotate(-3deg); width: 104px; padding: 12px 8px 10px; border-radius: 14px; background: #fff; color: #151515; text-align: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.numcard small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5E5E5E; }
.numcard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; margin: 2px 0; }
.numcard.done b { color: var(--cyan-deep); }
@media (max-width: 640px) { .band { padding: 24px 20px 22px; min-height: 0; } .band h2 { font-size: 32px; } .numcard { position: static; transform: rotate(-2deg); margin: 0 0 14px; } .band .swatches { display: none; } }
html.dark .band { background: #F3EFE8; color: #151515; } html.dark .band h2 { color: #151515; } html.dark .band .eyebrow, html.dark .band .arrows { color: #5E5E5E; } html.dark .band h2 em { color: var(--cyan-deep); } html.dark .numcard { background: #151515; color: #F3EFE8; }

.side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.side .side-title { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.05; margin: 0 0 4px; }
.side .side-who { font-size: 12px; color: var(--grey); margin: 0 0 14px; }
.side .side-prog { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.side .side-prog span:last-child { color: var(--grey); font-weight: 600; }
.side .squares { display: flex; gap: 5px; flex-wrap: wrap; margin: 0 0 16px; }
.side .squares i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--char); display: block; }
.side .squares i.on { background: var(--lime); border-color: var(--lime); }
.side .squares i.half { background: linear-gradient(90deg, var(--lime) 50%, transparent 50%); }
.side .group { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin: 12px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.side .group:first-of-type { border-top: 0; padding-top: 0; }
.nav { gap: 4px; }
.nav button { padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; }
.nav button:hover { background: var(--paper); }
.nav button.active { box-shadow: none; background: var(--paper); }
.nav button .num { width: 36px; height: 24px; border-radius: 6px; font-size: 10px; letter-spacing: .06em; }
.nav button .sub { font-size: 11px; }
.nav button .tick { margin-left: auto; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--char); flex: none; display: grid; place-items: center; font-size: 11px; }
.nav button.done .tick { background: var(--lime); border-color: var(--lime); }
.video { position: relative; }
.video .vtitle { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }
.video .vtitle i { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: #151515; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; }
.video .vtitle small { display: block; font-weight: 500; opacity: .8; }
.video .checker { position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.05) 75%), linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.05) 75%); background-size: 40px 40px; background-position: 0 0, 20px 20px; pointer-events: none; }
.unlock { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; border: 2px dashed var(--line); color: var(--grey); font-size: 14px; }
.unlock b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--ink); display: block; margin-bottom: 2px; }
