/* Ella Elite site look: paper + charcoal, cyan + lime accents, iOS-style cards. Same tokens as the v3 site. */
:root {
  --paper: #EEE8DE; --char: #2E2B28; --ink: #2A2724; --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: #2E2B28; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lime { background: var(--lime); color: #2E2B28; }
.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: #2E2B28; }
.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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; 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: #2E2B28; }
.slider .v { font-weight: 800; font-size: 20px; text-align: center; }
.score-card { margin-top: 14px; padding: 18px; border-radius: 18px; background: #2E2B28; 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: #2E2B28; 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: #2E2B28; } html.dark .band h2 { color: #2E2B28; } html.dark .band .eyebrow, html.dark .band .arrows { color: #5E5E5E; } html.dark .band h2 em { color: var(--cyan-deep); } html.dark .numcard { background: #2E2B28; 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: #2E2B28; 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; }

/* ---------- HQ tab (5 Nov): the home screen ---------- */
.hq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 2px 2px; }
.hq-head h2 { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.01em; }
.hq-head h2 em { color: var(--cyan-deep); }
.hq-head .stamp { font-size: 12px; font-weight: 600; color: var(--grey); white-space: nowrap; }
.hq-hello { margin: 0 2px 16px; font-size: 15px; color: var(--grey); }
.hq-hello b { color: var(--ink); }
.rings { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 12px; }
@media (max-width: 860px) { .rings { grid-template-columns: repeat(3, 1fr); } }
.ring { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 8px 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.ring:hover { border-color: var(--char); }
.ring.hot { background: #FBF7D6; }
html.dark .ring.hot { background: #2a2a12; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring svg circle { fill: none; stroke: var(--line); stroke-width: 5; }
.ring svg circle.v { stroke: var(--char); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.ring.hot svg circle.v { stroke: #2E2B28; }
.ring b { position: absolute; top: 31px; left: 0; right: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.ring small { display: block; margin-top: 8px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.ring i { display: block; font-style: normal; font-size: 11px; color: var(--grey); margin-top: 3px; }
.apps { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; padding: 14px 12px 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 0 14px; }
@media (max-width: 860px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: transparent; color: var(--ink); }
.app .ic { position: relative; width: 52px; height: 52px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; font-size: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.app:hover .ic { background: #e6dfd3; }
html.dark .app:hover .ic { background: #262626; }
.app.done .ic { background: var(--lime); }
.app .ic em { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e5484d; color: #fff; font: 800 10px/18px var(--font); font-style: normal; text-align: center; }
.app.done .ic em { background: #2E2B28; }
.app small { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.hq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; }
@media (max-width: 860px) { .hq-grid { grid-template-columns: 1fr; } }
.hq-col { display: flex; flex-direction: column; gap: 14px; }
.hqcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.hqcard .eyebrow { margin-bottom: 6px; }
.hqcard h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -.01em; }
.hqcard h3 em { color: var(--cyan-deep); }
.hqcard p { margin: 0 0 10px; font-size: 14px; color: var(--grey); }
.hqcard p b { color: var(--ink); font-size: 18px; }
.hqcard .hint { font-size: 12px; }
.hqcard .btn { width: auto; padding: 11px 20px; font-size: 14px; }
.hqcard .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.hqcard .status { font-size: 13px; color: var(--grey); }
.shortlist { display: flex; flex-direction: column; gap: 8px; }
.shortlist button { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.shortlist button:hover { border-color: var(--char); }
.shortlist .n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--char); color: var(--paper); font-family: var(--serif); font-size: 17px; display: grid; place-items: center; }
.shortlist b { display: block; font-size: 14px; }
.shortlist small { display: block; font-size: 12px; color: var(--grey); margin-top: 2px; }
.today { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.today label span, .kv label span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.today input, .kv input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 15px var(--font); color: var(--ink); outline: none; }
.today input:focus, .kv input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(30,201,216,.2); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv label.wide { grid-column: 1 / -1; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
@media (max-width: 640px) { .week { grid-template-columns: repeat(4, 1fr); } }
.day { position: relative; padding: 10px 6px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); text-align: center; min-height: 92px; }
.day small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.day b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 2px 0; }
.day .amt { display: block; font-weight: 800; font-size: 13px; }
.day .sl { display: block; font-size: 10px; color: var(--grey); }
.day .soon { display: block; font-family: var(--serif); font-style: italic; color: var(--grey); font-size: 14px; margin-top: 8px; }
.day.today { background: #FBF7D6; border-color: #e8dd8a; }
html.dark .day.today { background: #2a2a12; border-color: #5a5a2a; }
.day.future { border-style: dashed; }
.day.best::before { content: "BEST ✦"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); background: var(--char); color: var(--paper); font: 800 8px/1 var(--font); letter-spacing: .1em; padding: 4px 7px; border-radius: 999px; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 120px; padding-top: 6px; }
.mbar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.mbar i { display: block; width: 100%; max-width: 22px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: #b8a04a; }
.mbar small { font-size: 9px; color: var(--grey); margin-top: 4px; }
.built { display: flex; flex-direction: column; gap: 6px; }
.brow { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.brow:hover { background: var(--paper); }
.brow .num { font-family: var(--serif); font-size: 24px; line-height: 1; text-align: center; }
.brow.done .num { color: var(--cyan-deep); }
.brow .name { font-weight: 700; font-size: 13px; }
.brow .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.brow .chips span { font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--paper); color: var(--grey); }
.brow .st { font-size: 11px; color: var(--grey); white-space: nowrap; }
.brow .st.on { background: var(--lime); color: #2E2B28; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
@media (max-width: 640px) { .brow { grid-template-columns: 28px 1fr; } .brow .st { grid-column: 2; justify-self: start; } .hq-head h2 { font-size: 32px; } }

/* ---------- rooms, content board, style packs, calculators (5 Nov, round 3) ---------- */
.rooms { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding: 6px; border-radius: 999px; background: var(--paper); width: fit-content; max-width: 100%; }
.rooms button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; }
.rooms button.on { background: var(--char); color: var(--paper); }
.rooms button small { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--lime); color: #2E2B28; font-size: 11px; text-align: center; }
details.needs { margin: 0 0 12px; padding: 8px 12px; border-radius: 12px; background: var(--paper); font-size: 12px; color: var(--grey); }
details.needs summary { cursor: pointer; }
details.needs b { color: var(--ink); font-weight: 700; }
details.needs .field { margin-top: 10px; }
.board .bsec { margin: 0 0 16px; padding: 14px; border-radius: 16px; background: var(--paper); }
.board .bsec > b { font-size: 14px; }
.board .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.board .row input, .board .row select, .board textarea, .tool .row input, .tool .row select, .tool > textarea { flex: 1; min-width: 160px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: 14px var(--font); color: var(--ink); }
.board textarea, .tool > textarea { width: 100%; min-height: 70px; margin-top: 8px; resize: vertical; }
.board .btn, .tool .row .btn { width: auto; padding: 10px 18px; font-size: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.chip button { border: 0; background: transparent; color: var(--grey); font-size: 15px; }
.bitem { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.bitem.on { border-color: var(--char); }
.bitem a { margin-left: 8px; font-size: 12px; }
.bitem .btns, .bcard .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.copy.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.copy:disabled { opacity: .4; cursor: not-allowed; }
.bcard { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; margin: 0 0 12px; background: var(--card); }
.bcard .bh { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.bcard .body { padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 14px; max-height: 320px; overflow: auto; margin-bottom: 8px; }
.bcard details summary { cursor: pointer; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.pill { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--grey); white-space: nowrap; }
.pill.on { background: var(--lime); color: #2E2B28; }
.weekplan { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 0 16px; }
@media (max-width: 640px) { .weekplan { grid-template-columns: repeat(4, 1fr); } }
.weekplan .wd { min-height: 84px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 11px; display: flex; flex-direction: column; gap: 4px; }
.weekplan .wd.today { background: #FBF7D6; }
html.dark .weekplan .wd.today { background: #2a2a12; }
.weekplan .wd small { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); font-size: 9px; }
.weekplan .wd span { padding: 3px 6px; border-radius: 6px; background: var(--paper); }
.weekplan .wd span.posted { background: var(--lime); color: #2E2B28; }
.weekplan .wd i { color: var(--grey); font-family: var(--serif); font-size: 13px; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 0 0 12px; }
.pack { display: block; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.pack input { float: right; accent-color: #2E2B28; }
.pack b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; }
.pack small { display: block; color: var(--grey); font-size: 12px; margin-top: 4px; }
.pack:has(input:checked) { border-color: var(--char); background: var(--paper); }
.tool .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }
.tool .row .hint { margin: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.calc-grid .field { margin: 0; }
.calc-grid .field span { font-size: 12px; }
.calc-grid select { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 15px var(--font); color: var(--ink); }
.calc-out { margin: 14px 0 6px; }
.calc-out p { font-size: 14px; margin: 6px 0; }
.verdict { padding: 14px 16px; border-radius: 14px; font-family: var(--serif); font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.verdict.good { background: var(--lime); color: #2E2B28; }
.verdict.wait { background: #FBF7D6; color: #2E2B28; }
.verdict.bad { background: #2E2B28; color: #F3EFE8; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.calc-table th, .calc-table td { text-align: left; vertical-align: top; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.calc-table th { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.checks { display: flex; flex-direction: column; gap: 8px; }

.install { margin: 0 0 12px; padding-left: 20px; font-size: 14px; }
.install li { margin: 4px 0; }
.bcard details { margin-top: 8px; }

.modeswitch { font-size: 12px; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.modeswitch a { font-weight: 700; }
.demo-pill { background: var(--lime); color: #2E2B28; font-weight: 800; padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
@media (max-width: 640px) { .modeswitch a:last-child { display: none; } }

.livebar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -8px 2px 14px; font-size: 13px; font-weight: 600; }
.livebar .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.18); }
.livebar .dot.off { background: #e5a33a; box-shadow: 0 0 0 4px rgba(229,163,58,.18); }
.livebar .copy { padding: 4px 12px; }
.srcs { display: flex; flex-direction: column; gap: 8px; }
.src { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 13px; }
.src span { font-weight: 700; }
.src i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 6px; background: #b8a04a; }
.src b { grid-row: 1; grid-column: 2; }
.src small { grid-column: 1 / -1; color: var(--grey); font-size: 11px; }
.igt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.igt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.igt small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.adrows { margin-top: 16px; }
.adrows .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; margin-right: 7px; vertical-align: 1px; }
.adrows .dot.off { background: #b9b2a6; }
.igt b { overflow-wrap: anywhere; }
.adrows + .hint { margin-top: 12px; }

/* ================= Dashboard v2 (H look, 5 Nov): dark band, week wheels, tape. Lime only on dark. ================= */
:root { --play: 'Playfair Display', Georgia, serif; --brush: 'Caveat Brush', 'Caveat', cursive; --crumple: url(https://assets.cdn.filesafe.space/hjXQNtt3Cp9HjcfczYwk/media/6ac51113d9c8b47df8a9773c.jpg); }
html { overflow-x: clip; }
#hq .x-band { position: relative; margin: 0 calc(50% - 50vw); padding: 0 calc(50vw - 50%); background: #121212 var(--crumple) center/cover; color: #fff; }
#hq .x-band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
#hq .x-in { position: relative; padding: 22px 0 58px; }
#hq .x-bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #d9d9d9; flex-wrap: wrap; }
#hq .x-live { display: inline-flex; align-items: center; gap: 8px; }
#hq .x-live i { width: 9px; height: 9px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
#hq .x-live i.off { background: #e5a33a; box-shadow: 0 0 0 4px rgba(229,163,58,.2); }
#hq .x-live i.demo { background: var(--cyan); box-shadow: 0 0 0 4px rgba(30,201,216,.2); }
#hq .x-refresh { border: 0; border-radius: 999px; background: var(--lime); color: #2A2724; font-weight: 800; font-size: 12px; padding: 6px 13px; }
#hq .x-hello { max-width: 760px; }
#hq .x-hello small { display: block; font-weight: 700; font-size: 16px; color: #bdbdbd; margin-top: 8px; }
#hq .x-hello h2 { font-family: var(--font); font-weight: 900; font-size: clamp(54px, 8.4vw, 108px); letter-spacing: -.055em; line-height: .95; color: #fff; margin: 4px 0 0; }
#hq .x-hello h2 span { color: var(--lime); text-shadow: 5px 5px 0 var(--cyan-deep); }
#hq .x-hello p { margin: 12px 0 0; font-size: 20px; color: #d6d6d6; }
#hq .x-hello p em { font-family: var(--play); color: #fff; font-size: 1.2em; }
#hq .x-link { background: none; border: 0; padding: 0; color: var(--lime); font-weight: 700; text-decoration: underline; }
#hq .x-pol { position: absolute; right: 190px; top: 46px; width: 196px; padding: 11px 11px 40px; background: #fbfaf7; color: #2A2724; transform: rotate(6deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
#hq .x-shot { height: 150px; background: #2A2724 var(--crumple) center/cover; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; }
#hq .x-shot b { color: #fff; font-weight: 900; font-size: 21px; letter-spacing: -.04em; line-height: 1.05; }
#hq .x-shot small { color: var(--lime); font-weight: 800; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 8px; }
#hq .x-cap { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--brush); font-size: 20px; }
#hq .x-tape { position: absolute; width: 96px; height: 26px; top: -12px; left: 50%; margin-left: -48px; transform: rotate(-5deg); background: rgba(223,246,91,.8); }
#hq .x-tape.cy { background: rgba(15,165,179,.4); }
#hq .x-burst { position: absolute; right: 10px; top: 120px; width: 158px; height: 158px; border: 0; background: var(--cyan); color: #2A2724; clip-path: polygon(50% 0,61% 18%,82% 8%,80% 30%,100% 38%,85% 54%,98% 74%,76% 76%,72% 98%,54% 84%,36% 100%,30% 78%,8% 82%,16% 60%,0 44%,18% 32%,12% 10%,34% 16%); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-8deg); transition: transform .2s; }
#hq .x-burst:hover { transform: rotate(-2deg) scale(1.04); }
#hq .x-burst b { font-weight: 900; font-size: 50px; line-height: .9; }
#hq .x-burst small { font-weight: 900; font-size: 11px; letter-spacing: .04em; line-height: 1.15; }
#hq .x-burst.x-set { background: var(--lime); }
#hq .x-rings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 34px; }
#hq .x-ring { position: relative; background: rgba(18,18,18,.86); border: 1px solid #333; border-radius: 22px; padding: 16px 8px 14px; color: #fff; text-align: center; }
#hq .x-ring:hover { border-color: #666; }
#hq .x-ring .wh { width: 128px; height: 128px; display: block; margin: 0 auto; }
#hq .wh path { fill: none; stroke-width: 11; stroke-linecap: round; }
#hq .wh.lime .seg { stroke: var(--lime); } #hq .wh.cyan .seg { stroke: var(--cyan); }
#hq .wh .fut { stroke: #3d3d3d; stroke-dasharray: 2 6; }
#hq .wh .now { fill: #fff; }
#hq .x-ring b { position: absolute; left: 0; right: 0; top: 66px; font-weight: 900; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
#hq .x-ring small { display: block; margin-top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#hq .x-ring i { display: block; font-style: normal; font-size: 12px; color: var(--lime); margin-top: 3px; }
#hq .x-tick { position: relative; z-index: 3; margin: -22px calc(50% - 50vw) 0; height: 42px; background: var(--lime); transform: rotate(-1deg); overflow: hidden; display: flex; align-items: center; }
#hq .x-tick div { white-space: nowrap; font-weight: 900; font-size: 17px; letter-spacing: .06em; color: #2A2724; animation: xtick 60s linear infinite; }
@keyframes xtick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { #hq .x-tick div { animation: none; } }
#hq .x-sec { display: grid; gap: 18px; margin-top: 22px; align-items: start; }
#hq .x-sec:first-of-type { margin-top: 34px; }
#hq .x-tick + .x-sec { margin-top: 36px; }
#hq .x-3 { grid-template-columns: 1.2fr 1fr .9fr; } #hq .x-2 { grid-template-columns: 1.3fr 1fr; }
#hq .x-col { display: flex; flex-direction: column; gap: 18px; }
#hq .x-sec:empty { display: none; }
#hq .hqcard { position: relative; border-radius: 24px; }
#hq .hqcard h3 { font-family: var(--font); font-weight: 900; font-size: 27px; letter-spacing: -.04em; }
#hq .hqcard h3 em { font-family: var(--play); font-weight: 500; letter-spacing: -.01em; color: var(--cyan-deep); }
#hq .hqcard .eyebrow { color: var(--cyan-deep); font-weight: 800; }
#hq .x-dk { background: #161616; color: #fff; border-color: #262626; }
#hq .x-dk .eyebrow, #hq .x-dk h3 em { color: var(--lime); }
#hq .x-dk p { color: #c9c9c9; } #hq .x-dk p b { color: #fff; }
#hq .x-dk .day { background: #232323; border-color: #2c2c2c; color: #fff; }
#hq .x-dk .day .amt { color: var(--lime); font-family: var(--play); font-style: italic; }
#hq .x-dk .day.today { background: var(--lime); color: #2A2724; } #hq .x-dk .day.today .amt, #hq .x-dk .day.today small, #hq .x-dk .day.today .sl { color: #2A2724; }
#hq .x-dk .day.future { opacity: .45; }
#hq .x-dk .btn-lime { box-shadow: 4px 4px 0 #fff; }
#hq .x-apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 6px; }
#hq .x-apps .app .ic { width: 62px; height: 62px; border-radius: 18px; background: #fff; font-size: 28px; box-shadow: 0 6px 14px rgba(0,0,0,.09); }
#hq .x-apps .app.done .ic { background: #2A2724; }
#hq .x-apps .app .ic em { background: var(--cyan-deep); color: #fff; }
#hq .x-apps .app.done .ic em { background: #2A2724; color: var(--lime); border: 2px solid var(--card); }
#hq .x-apps .app small { color: var(--ink); font-size: 10px; }
#hq .x-notes .shortlist button { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 2px; }
#hq .x-notes .shortlist .n { background: transparent; border: 2px solid var(--cyan-deep); color: var(--cyan-deep); border-radius: 50%; font-family: var(--font); font-weight: 800; font-size: 12px; width: 22px; height: 22px; }
#hq .x-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
#hq .x-ok { color: var(--cyan-deep); font-weight: 800; font-size: 12px; }
#hq .x-wait { border: 0; background: #2A2724; color: var(--lime); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
#hq .bars .mbar i { background: var(--cyan-deep); }
#hq .src i { background: var(--cyan-deep); }
#hq .x-foot { text-align: center; font-family: var(--brush); font-size: 28px; color: var(--cyan-deep); transform: rotate(-2deg); margin: 34px 0 0; }
@media (max-width: 1060px) { #hq .x-pol { display: none; } }
@media (max-width: 960px) { #hq .x-rings { grid-template-columns: repeat(3, 1fr); } #hq .x-3, #hq .x-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  #hq .x-rings { grid-template-columns: repeat(2, 1fr); gap: 10px; } #hq .x-ring .wh { width: 104px; height: 104px; } #hq .x-ring b { top: 54px; font-size: 24px; }
  #hq .x-burst { position: relative; right: auto; top: auto; margin: 18px 0 0 auto; width: 120px; height: 120px; } #hq .x-burst b { font-size: 38px; }
  #hq .x-apps { grid-template-columns: repeat(4, 1fr); } #hq .x-bar { justify-content: flex-start; }
}
html.dark #hq .x-apps .app .ic { background: #262626; }
#hq .x-1 { grid-template-columns: 1fr; } #hq .x-3e { grid-template-columns: 1fr 1fr 1.2fr; }
#hq .x-built { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 960px) { #hq .x-built { grid-template-columns: 1fr 1fr; } #hq .x-3e { grid-template-columns: 1fr; } }
#hq .x-hello { max-width: 860px; } #hq .x-hello h2 { font-size: clamp(50px, 7.4vw, 96px); }
/* lime only on dark: fix the light places */
.brow .st.on, #hq .brow .st.on { background: #2A2724; color: var(--lime); }
.demo-pill { background: #2A2724 !important; color: var(--lime) !important; }
.bar > i { background: linear-gradient(90deg, var(--cyan-deep), var(--cyan)); }
.nav button.done .num { background: #2A2724; color: var(--lime); }
#hq .x-burst { top: 40px; }
#hq .x-pol + .x-burst { top: 120px; }
#hq .x-dk .day { display: block; min-height: 96px; }
#hq .x-dk .day small { color: #9a9a9a; } #hq .x-dk .day b { font-family: var(--font); font-weight: 800; font-size: 22px; }
#hq .x-dk .day.today small { color: #2A2724; }
#hq .igt b { font-family: var(--font); font-weight: 900; font-size: 26px; letter-spacing: -.03em; }
#hq .hqcard .eyebrow { line-height: 1.4; }

/* ================= Build pages v2: crumple band, tape, guide tabs (5 Nov night) ================= */
.band { background: #121212 var(--crumple) center/cover; padding-left: 160px; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.band > * { position: relative; }
.band > .numcard { position: absolute; }
.band h2 { font-family: var(--font); font-weight: 900; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.045em; text-transform: none; line-height: .98; }
.band h2 em { font-family: var(--play); font-weight: 600; letter-spacing: -.01em; color: var(--lime); }
.band .b-tape { position: absolute; right: -30px; top: 18px; width: 210px; height: 30px; background: var(--lime); transform: rotate(18deg); opacity: .92; }
.numcard { background: #fbfaf7; border-radius: 4px; padding: 12px 8px 26px; box-shadow: 0 14px 30px rgba(0,0,0,.35); transform: translateY(-50%) rotate(-5deg); }
.numcard b { font-family: var(--font); font-weight: 900; letter-spacing: -.05em; }
.numcard.done b { color: #2A2724; } .numcard.done::after { content: "done ✓"; position: absolute; left: 0; right: 0; bottom: 5px; font-family: var(--brush); font-size: 16px; color: var(--cyan-deep); }
.g-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.g-pill { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
html.dark .band { background: #121212 var(--crumple) center/cover; color: #fff; } html.dark .band h2 { color: #fff; } html.dark .band h2 em { color: var(--lime); } html.dark .band .eyebrow, html.dark .band .arrows { color: rgba(238,232,222,.8); } html.dark .numcard { background: #fbfaf7; color: #2A2724; }
@media (max-width: 640px) { .band { padding-left: 20px; } .band > .numcard { position: static; transform: rotate(-3deg); } .band .b-tape { display: none; } }
.gtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 20px; padding: 6px; border-radius: 16px; background: var(--paper); }
.gtabs button { border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; }
.gtabs button.on { background: #2A2724; color: #fff; }
.gtabs button small { font-size: 11px; font-weight: 800; min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--cyan-deep); color: #fff; }
.gtabs button.on small { background: var(--lime); color: #2A2724; }
.g-intro { font-size: 15px; color: var(--grey); margin: 0 0 16px; }
.g-pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.g-pieces > div { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--card); }
.g-pieces small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--cyan-deep); }
.g-pieces b { display: block; font-size: 16px; margin: 2px 0 4px; }
.g-pieces p { margin: 0; font-size: 13px; color: var(--grey); }
.g-next { margin: 18px 0 0; }
.g-ready { display: flex; flex-direction: column; gap: 8px; }
.g-r { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.g-r > div { flex: 1; } .g-r b { font-size: 15px; } .g-r p { margin: 2px 0 0; font-size: 13px; color: var(--grey); }
.g-ck { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: none; border: 2px solid var(--line); color: var(--grey); }
.g-r.ok .g-ck { background: #2A2724; color: var(--lime); border-color: #2A2724; }
.g-r.no .g-ck { border-color: var(--cyan-deep); color: var(--cyan-deep); }
.g-files { display: flex; flex-direction: column; gap: 8px; }
.g-f { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.g-f b { flex: 1; font-weight: 600; } .g-fi { color: var(--cyan-deep); font-weight: 900; }
.g-ex { margin-bottom: 12px; } .g-demo { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #2A2724; color: var(--lime); padding: 3px 9px; border-radius: 999px; }
.g-ex pre.code { max-height: 260px; overflow: auto; font-size: 12px; }
.g-time { margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--cyan-deep); white-space: nowrap; }
.step-wrap { display: flex; flex-direction: column; }
.g-how { margin: -2px 0 10px 40px; border-left: 3px solid var(--cyan-deep); padding: 4px 0 4px 16px; }
.g-how summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--cyan-deep); list-style: none; }
.g-how summary::-webkit-details-marker { display: none; }
.g-how summary::before { content: "▸ "; } .g-how[open] summary::before { content: "▾ "; }
.g-how summary small { font-weight: 600; color: var(--grey); margin-left: 6px; }
.g-how ol { margin: 12px 0 0; padding-left: 0; list-style: none; counter-reset: g; }
.g-how li { counter-increment: g; position: relative; padding: 0 0 18px 40px; }
.g-how li::before { content: counter(g); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: #2A2724; color: var(--lime); font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.g-hh { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; } .g-hh b { font-size: 15px; }
.g-where { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.g-how li p { margin: 4px 0 0; font-size: 14px; color: var(--grey); }
.g-shot { margin: 10px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 640px; }
.g-shot img { display: block; width: 100%; height: auto; }
.g-see { padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 13px !important; color: var(--ink) !important; }
.g-copy { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; } .g-copy pre { flex: 1; margin: 0; padding: 10px 12px; border-radius: 10px; background: #2A2724; color: #fff; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.g-help { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--grey); }
/* lime only on dark: sweep of light-surface uses */
.copy { background: #2A2724; color: #fff; }
.copy.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.card .btns .copy.primary, .tool .btn-lime, .paste .btn-lime { background: #2A2724; color: #fff; }
.prompt-box .ph b, .prompt .ph b { color: var(--cyan); }
.sticker { background: #2A2724; color: var(--lime); }
.tab .count, .tab.active .count { background: #2A2724; color: var(--lime); }
.badge { background: #2A2724; color: var(--lime); }
.side .squares i.on { background: #2A2724; border-color: #2A2724; } .side .squares i.half { background: linear-gradient(90deg, #2A2724 50%, transparent 50%); }
.nav button.done .tick { background: #2A2724; border-color: #2A2724; color: var(--lime); }
.rooms button small { background: #2A2724; color: var(--lime); }
.pill.on { background: #2A2724; color: var(--lime); }
.weekplan .wd span.posted { background: #2A2724; color: var(--lime); }
.verdict.good { background: #2A2724; color: var(--lime); }
.app.done .ic { background: #2A2724; }
.score-card .big { color: var(--cyan-deep); }
.hero .tag { color: var(--cyan-deep); }
html.dark .copy { background: var(--lime); color: #2A2724; } html.dark .copy.ghost { background: transparent; color: var(--ink); }
.nav button .num { width: auto; min-width: 44px; padding: 0 6px; white-space: nowrap; }
/* Brand Kit look picker */
.lk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 14px; }
@media (max-width: 760px) { .lk-grid { grid-template-columns: 1fr 1fr; } }
.lk { border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); padding: 8px; text-align: left; color: var(--ink); transition: transform .15s, border-color .15s; }
.lk:hover { transform: translateY(-2px) rotate(-.5deg); border-color: #2A2724; }
.lk-prev { position: relative; height: 150px; border-radius: 12px; padding: 16px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: hidden; }
.lk-prev b { font-size: 22px; line-height: 1.05; letter-spacing: -.01em; max-width: 80%; }
.lk-prev i { font-size: 15px; font-style: italic; }
.lk-btn { align-self: flex-start; margin-top: 6px; font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.lk-st { position: absolute; right: 10px; top: 10px; font-size: 12px; padding: 4px 9px; border-radius: 999px; transform: rotate(8deg); }
.lk-dots { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 4px; } .lk-dots i { width: 12px; height: 12px; border-radius: 4px; display: block; border: 1px solid rgba(0,0,0,.1); }
.lk-n { display: block; padding: 8px 4px 2px; } .lk-n b { display: block; font-size: 14px; } .lk-n small { font-size: 12px; color: var(--grey); }
.lk-match { border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px 16px; margin: 0 0 12px; }
.lk-match summary { cursor: pointer; font-weight: 800; color: var(--cyan-deep); }
.lk-steps { font-size: 14px; color: var(--grey); padding-left: 20px; } .lk-steps b { color: var(--ink); }
.lk-match textarea { width: 100%; min-height: 120px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font: 13px/1.5 var(--font); color: var(--ink); }
#hq .x-pol ~ .x-rings { margin-top: 40px; }
#hq .x-in:has(.x-pol) .x-hello { max-width: calc(100% - 430px); }
#hq .x-dk .day.best::before { background: var(--lime); color: #2A2724; top: -9px; }
.as-banner { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 20px; background: #2A2724; color: #fff; font-size: 14px; border-bottom: 3px solid var(--lime); }
.as-banner b { color: var(--lime); } .as-banner span { color: #cfcfcf; flex: 1; }
.as-banner button { border: 0; border-radius: 999px; background: var(--lime); color: #2A2724; font-weight: 800; padding: 8px 16px; }
.g-ex .md { padding: 12px 16px 4px; font-size: 14px; } .g-ex .md p { margin: 0 0 8px; }
.tq, .g-how b.tq { color: var(--cyan-deep); font-weight: 800; }
.g-pre { padding: 8px 12px; border-radius: 10px; border: 1.5px dashed var(--cyan-deep); font-size: 14px !important; color: var(--ink) !important; }
.g-pre a { color: var(--cyan-deep); }
.g-note { font-size: 13px !important; color: var(--ink) !important; padding-left: 12px; border-left: 3px solid var(--line); }
a.g-wl { text-decoration: none; color: var(--cyan-deep); border-color: var(--cyan-deep); }
a.g-wl:hover { background: var(--cyan-deep); color: #fff; }
.about .video, .about > p + .video { margin-top: 16px; } .about .video + p { margin-top: 16px; }
.g-piece { text-align: left; font: inherit; color: var(--ink); cursor: pointer; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--card); transition: border-color .15s, transform .15s; }
.g-piece:hover:not(:disabled) { border-color: #2A2724; transform: translateY(-2px); }
.g-piece:disabled { cursor: default; }
.g-pieces .g-piece small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--cyan-deep); }
.g-pieces .g-piece b { display: block; font-size: 16px; margin: 2px 0 4px; } .g-pieces .g-piece p { margin: 0; font-size: 13px; color: var(--grey); }
.g-go { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--cyan-deep); }
.g-flash { animation: gflash 1.6s ease; border-radius: 16px; } @keyframes gflash { 0%, 60% { box-shadow: 0 0 0 4px rgba(15,165,179,.45); } 100% { box-shadow: none; } }
/* steps as one box each: tick line, Show me how, Do it here (7 Nov) */
.step-wrap { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.step-wrap .step { border: 0; border-radius: 0; background: transparent; }
.step-wrap.is-done { opacity: .9; }
.step-wrap .g-how { margin: 0 16px 12px 50px; }
.g-do { margin: 0 16px 14px 50px; }
.g-do > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-do > summary::-webkit-details-marker { display: none; }
.g-dobtn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: #2A2724; color: #fff; font: 800 13px var(--font); padding: 8px 14px; cursor: pointer; }
.g-dobtn::after { content: "▾"; font-size: 11px; } .g-do[open] .g-dobtn::after { content: "▴"; }
.g-do[open] .g-dobtn { background: var(--cyan-deep); }
.g-do > summary small { font-size: 12px; color: var(--grey); }
.g-do > .tool, .g-do > div > .tool { margin: 12px 0 0; border-color: var(--line); background: var(--paper); }
button.g-jump { margin: 0 16px 14px 50px; background: transparent; color: var(--cyan-deep); border: 1.5px solid var(--cyan-deep); }
button.g-jump::after { content: ""; }
@media (max-width: 640px) { .step-wrap .g-how, .g-do, button.g-jump { margin-left: 16px; } }
button.g-jump { align-self: flex-start; }

/* ---------- dashboard extras (8 Nov): Coming up, What needs you, the leak, Arrange ---------- */
#hq .x-coming .cu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
#hq .x-coming .cu > div { background: var(--paper); border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
#hq .x-coming .cu b { font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
#hq .x-coming .cu small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
#hq .x-coming .cu span { grid-column: 1 / -1; font-weight: 700; font-size: 13px; margin-top: 6px; }
#hq .x-coming .cu i { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--grey); }
#hq .x-coming .needs { display: flex; gap: 16px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
#hq .needs svg { width: 84px; height: 84px; transform: rotate(-90deg); flex: none; }
#hq .needs circle { fill: none; stroke-width: 11; }
#hq .needs circle.bg { stroke: var(--paper); }
#hq .needs .od { stroke: #e5743a; background: #e5743a; } #hq .needs .td { stroke: #2A2724; background: #2A2724; } #hq .needs .wk { stroke: var(--cyan-deep); background: var(--cyan-deep); }
#hq .needs text { transform: rotate(90deg); transform-origin: 40px 40px; text-anchor: middle; font: 900 22px var(--font); fill: var(--ink); }
#hq .needs span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-top: 4px; }
#hq .needs span i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
#hq .needs .eyebrow { margin: 0 0 4px; }
#hq .x-leak .lkx { margin-top: 12px; }
#hq .lkx-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; background: var(--paper); border-radius: 14px; padding: 10px 14px; font-size: 14px; font-weight: 700; }
#hq .lkx-row i { height: 12px; border-radius: 999px; background: #2A2724; display: block; }
#hq .lkx-row b { text-align: right; font-size: 18px; font-weight: 900; }
#hq .lkx-row.bad { box-shadow: inset 0 0 0 2px #e5743a; }
#hq .lkx-row.bad i { background: #e5743a; }
#hq .lkx-p { font-size: 12px; font-weight: 700; color: var(--grey); padding: 5px 0 5px 16px; }
#hq .lkx-p.bad { color: #b4501c; }
#hq .lkx-fix { background: #2A2724; color: #fff; border-radius: 14px; padding: 12px 14px; margin: 14px 0 0; font-size: 14px; }
#hq .lkx-fix b { color: var(--lime); }
#hq .x-leak .kv input:disabled { opacity: .6; }
html.dark #hq .x-coming .cu > div, html.dark #hq .lkx-row { background: #222; }
html.dark #hq .lkx-row i { background: var(--lime); }
#hq .x-arr { cursor: pointer; }
#hq .x-arrhelp { position: relative; margin-top: 12px; background: var(--lime); color: #2A2724; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#hq .x-arrhelp button { margin-left: auto; border: 0; background: #2A2724; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 12px; }
#hq .lay-off { display: none !important; }
#hq.arranging .lay-off { display: revert !important; opacity: .35; }
#hq.arranging .x-rings > *, #hq.arranging .x-apps > *, #hq.arranging .x-sec > * { position: relative; cursor: grab; touch-action: none; user-select: none; animation: lay-wig .3s ease-in-out infinite alternate; }
#hq.arranging .x-sec > * { animation: none; outline: 2px dashed rgba(15,165,179,.5); outline-offset: 4px; }
#hq .lay-drag { opacity: .7; cursor: grabbing !important; z-index: 5; }
#hq .lay-t { position: absolute; top: -6px; left: -6px; width: 24px; height: 24px; border-radius: 50%; background: #2A2724; color: #fff; font: 900 16px/24px var(--font); text-align: center; z-index: 6; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
#hq .x-band .lay-t { background: var(--lime); color: #2A2724; }
@keyframes lay-wig { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
@media (max-width: 640px) { #hq .lkx-row { grid-template-columns: 1fr 60px; } #hq .lkx-row i { grid-column: 1 / -1; grid-row: 2; } }

/* Preview and Publish */
.pub { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin: 0 0 22px; }
.pub-h h3 { margin: 0; font-size: 20px; } .pub-h p { margin: 4px 0 14px; color: var(--grey); font-size: 14px; }
.pub-load { margin: 0; color: var(--grey); font-size: 14px; }
.pub-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pub-card { background: var(--paper); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pub-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pub-top h4 { margin: 0; font-size: 16px; }
.pub-when { margin: 0 0 4px; color: var(--grey); font-size: 13px; }
.pub-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--card); color: var(--grey); border: 1px solid var(--line); }
.pub-pill.ready { background: #2E2B28; color: #DFF65B; border-color: #2E2B28; }
.pub-pill.live { background: #1EC9D8; color: #2E2B28; border-color: #1EC9D8; }
.pub-pill.new { background: #F2C14E; color: #2E2B28; border-color: #F2C14E; }
.pub-line { margin-top: 14px; font-size: 14px; }
.pub-line summary { cursor: pointer; font-weight: 700; }
.pub-line p { color: var(--grey); margin: 10px 0; }
.pub-code { display: flex; align-items: center; gap: 10px; margin: 6px 0; flex-wrap: wrap; }
.pub-code span { width: 110px; font-weight: 600; }
.pub-code code { flex: 1; min-width: 200px; background: var(--paper); padding: 8px 10px; border-radius: 10px; font-size: 12px; overflow-x: auto; white-space: nowrap; }
.pv-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1000; display: grid; place-items: center; padding: 20px; }
.pv-box { background: var(--card); color: var(--ink); width: min(1200px, 100%); height: min(860px, 100%); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pv-bar b { flex: 1; }
.pv-sizes button, .pv-x { border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 13px Inter, Arial, sans-serif; cursor: pointer; margin-left: 4px; }
.pv-sizes button.on { background: var(--char); color: var(--paper); border-color: var(--char); }
.pv-stage { flex: 1; background: #DDD7CC; display: flex; justify-content: center; overflow: auto; }
.pv-stage iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width .2s; }
.pv-note { margin: 0; padding: 8px 16px; font-size: 12px; color: var(--grey); border-top: 1px solid var(--line); }

/* live: something Claude just saved through the connector */
.just-saved { animation: jsaved 4s ease; } @keyframes jsaved { 0%, 50% { box-shadow: 0 0 0 4px #DFF65B, 0 0 0 7px #2E2B28; } 100% { box-shadow: none; } }
/* Brand Kit v2: 4 distinct looks on phones + build your own */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 18px 14px; margin: 8px 0 16px; }
.bk { border: 0; background: none; padding: 0; text-align: center; cursor: pointer; color: var(--ink); }
.bk:hover .bk-phone { transform: translateY(-4px); }
.bk.on .bk-phone { outline: 3px solid var(--cyan-deep); outline-offset: 3px; }
.bk-n { display: block; padding: 10px 2px 0; } .bk-n b { display: block; font-size: 15px; } .bk-n small { font-size: 12px; color: var(--grey); }
.bk-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; border: 6px solid #2A2724; background: var(--bg); color: var(--ink); overflow: hidden; padding: 30px 12px 14px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 6px; min-height: 0; transition: transform .2s; box-shadow: 0 10px 24px rgba(0,0,0,.12); font-family: var(--bf), sans-serif; }
.bk-phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 34%; height: 5px; margin-left: -17%; border-radius: 9px; background: #2A2724; opacity: .85; }
.bk-kick { font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.bk-h { font-family: var(--hf), serif; font-size: 31px; line-height: 1.02; font-weight: 400; margin-top: auto; overflow-wrap: normal; max-width: 100%; }
.bk-h em { font-style: italic; }
.bk-sub { font-size: 11px; opacity: .75; }
.bk-btn { font-size: 10px; font-weight: 700; padding: 7px 12px; margin: 4px 0 8px; }
.bk-row { display: flex; gap: 5px; width: 100%; } .bk-row i { flex: 1; height: 22px; font-style: normal; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; padding: 0 6px; white-space: nowrap; overflow: hidden; }
.bk-row i:first-child { flex: 2.2; }
.bk-stk { position: absolute; font-family: var(--hand), cursive; }
/* Editorial: cream, serif, red italic, thin rules, outline pills */
.bk-editorial .bk-kick { color: var(--a1); border-bottom: 1px solid var(--ink); padding-bottom: 4px; width: 100%; }
.bk-editorial .bk-h em { color: var(--a1); }
.bk-editorial .bk-btn { border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); }
.bk-editorial .bk-row i { border-top: 1px solid var(--ink); }
.bk-editorial .bk-stk { right: 10px; top: 44px; color: var(--a1); font-size: 15px; transform: rotate(-6deg); }
/* Playful: yellow, black caps, outlines, hard shadows, tilted stickers */
.bk-playful .bk-h { font-size: 25px; letter-spacing: -.02em; transform: rotate(-2deg); }
.bk-playful .bk-kick { background: var(--a2); color: #fff; padding: 3px 8px; border: 2px solid var(--ink); transform: rotate(-3deg); }
.bk-playful .bk-btn { background: var(--a1); color: #111; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); text-transform: uppercase; }
.bk-playful .bk-row i { background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); }
.bk-playful .bk-stk { right: 8px; top: 40px; background: var(--a1); color: #111; border: 2px solid var(--ink); padding: 8px 6px; border-radius: 50%; font-size: 12px; transform: rotate(14deg); }
/* Butter: soft yellow, blobs, very round, handwriting */
.bk-butter::after { content: ""; position: absolute; width: 130px; height: 130px; right: -40px; top: 34px; border-radius: 47% 53% 60% 40% / 50% 42% 58% 50%; background: var(--a2); opacity: .8; }
.bk-butter > * { position: relative; z-index: 1; }
.bk-butter .bk-kick { font-family: var(--hand), cursive; font-size: 17px; letter-spacing: 0; font-weight: 700; color: var(--a1); }
.bk-butter .bk-btn { background: var(--a1); color: #fff; border-radius: 999px; padding: 8px 16px; }
.bk-butter .bk-row i { background: rgba(255,255,255,.75); border-radius: 999px; }
.bk-butter .bk-stk { position: relative; font-size: 15px; color: var(--ink); order: 9; margin-top: -2px; }
/* Moody Luxe: dark, gold lines, letter-spaced, square */
.bk-luxe { border-color: #000; }
.bk-luxe::after { content: ""; position: absolute; inset: 22px 8px 8px; border: 1px solid var(--a1); opacity: .6; pointer-events: none; }
.bk-luxe .bk-kick { color: var(--a1); letter-spacing: .3em; font-size: 8px; }
.bk-luxe .bk-h { font-size: 30px; } .bk-luxe .bk-h em { color: var(--a1); }
.bk-luxe .bk-sub { letter-spacing: .12em; text-transform: uppercase; font-size: 8.5px; }
.bk-luxe .bk-btn { background: var(--a1); color: var(--bg); border-radius: 0; letter-spacing: .16em; text-transform: uppercase; font-size: 8.5px; }
.bk-luxe .bk-row i { border: 1px solid rgba(201,162,126,.5); color: var(--a1); }
.bk-luxe .bk-stk { right: 16px; top: 34px; font-family: var(--hf), serif; color: var(--a1); font-size: 22px; font-style: italic; }
/* Build your own */
.bk-diy { --bg: #fff; border-style: solid; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(135deg, #fff 0 10px, #fbf7f1 10px 20px); }
.bk-diy::after { content: ""; position: absolute; inset: 16px 8px 8px; border: 2px dashed #e7a1b8; border-radius: 12px; }
.bk-diy span:first-child { font-size: 9px; font-weight: 800; letter-spacing: .14em; color: #b3261e; }
.bk-diy b { font-family: "Instrument Serif", serif; font-size: 46px; font-weight: 400; line-height: 1; } .bk-diy b em { color: #b3261e; }
.bk-dots { display: flex; gap: 5px; } .bk-dots i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.bk-dots i:nth-child(1) { background: #b3261e; } .bk-dots i:nth-child(2) { background: #f2b630; } .bk-dots i:nth-child(3) { background: #2f5d4a; } .bk-dots i:nth-child(4) { background: #2A2724; }
.bk-diy small { font-size: 10px; color: var(--grey); padding: 0 6px; }
/* Connect-first box */
#cc-gate { position: fixed; inset: 0; z-index: 90; background: rgba(20,20,20,.45); display: flex; align-items: center; justify-content: center; padding: 20px; }
#cc-gate[hidden] { display: none; }
#cc-gate .cc-card { background: var(--card, #fff); color: var(--ink); max-width: 480px; width: 100%; border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
#cc-gate .cc-card > b { font-size: 19px; display: block; margin-bottom: 6px; }
#cc-gate .cc-card p, #cc-gate ol { font-size: 14px; color: var(--grey); } #cc-gate ol b { color: var(--ink); }
#cc-gate .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } #cc-gate .btn { width: auto; }
/* copy route tucked away under the main "Do it in Claude" button */
.paste-alt { margin: 6px 0 10px; } .paste-alt > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--grey); padding: 6px 0; }
.paste-alt[open] > summary { color: var(--ink); }

/* Sales by offer: day cards with colour-coded bars */
.dayby .dcards { display: grid; grid-template-columns: repeat(7, minmax(84px, 1fr)); gap: 8px; overflow-x: auto; padding: 10px 0 4px; }
.dcard { position: relative; background: #FAF7F1; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.dcard.best { border: 2px solid var(--ink); }
.dcard small { font-size: 10px; letter-spacing: .06em; color: var(--grey); }
.dcard b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.dcard strong { font-size: 15px; }
.dbar { display: flex; height: 7px; border-radius: 6px; overflow: hidden; background: #ECE5D8; margin: 6px 0 4px; }
.dbar i { display: block; height: 100%; }
.dbest { position: absolute; top: -9px; left: 8px; background: var(--ink); color: #DFF65B; font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; }
.dkey { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; }
.dkey span { display: inline-flex; align-items: center; gap: 6px; }
.dkey i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dkey em { font-style: normal; color: var(--grey); }

/* ================= Calm look (13 Nov): warm paper, graphite, brand cyan + lime, tape on build cards, yellow note ================= */
:root {
  --paper: #ECE6DC; --char: #2E2B28; --ink: #2A2724; --grey: #857C72; --card: #FBF9F5; --soft: #F3EEE6;
  --line: rgba(42,39,36,.11); --shadow: 0 8px 24px rgba(42,39,36,.06); --track: #E3DCD1;
  --teal: #2FA3AD; --blue: #0FA5B3; --note: #FFF3B0; --noteLine: rgba(184,138,18,.16); --noteEdge: rgba(184,138,18,.25);
}
html.dark {
  --paper: #1C1A18; --char: #EEE8DF; --ink: #EEE8DF; --grey: #A39A8F; --card: #252220; --soft: #2C2926;
  --line: rgba(238,232,223,.10); --shadow: 0 8px 24px rgba(0,0,0,.35); --track: #3A3632;
  --blue: #1EC9D8; --note: #3B3520; --noteLine: rgba(255,225,120,.08); --noteEdge: rgba(255,225,120,.18);
}
.topbar { box-shadow: none; }
/* folder tabs */
#main > .tabs { gap: 4px; margin: 0; padding-left: 18px; position: relative; z-index: 1; }
#main > .tabs .tab { border-radius: 14px 14px 0 0; border: 1px solid var(--line); border-bottom: 0; background: var(--soft); color: var(--grey); padding: 10px 18px 12px; margin-bottom: -1px; }
#main > .tabs .tab.active { background: var(--card); color: var(--ink); border-color: var(--line); }
#main > .tabs .tab .tdot { color: var(--teal); }
#main > .tabs .tab .count, #main > .tabs .tab.active .count { background: var(--lime); color: #2A2724; min-width: 18px; font-size: 10px; line-height: 18px; padding: 0 5px; margin-left: 4px; }
#main > .tabs .tab .count:empty { display: none; }
#main > .tabs + #hq { background: var(--card); border: 1px solid var(--line); border-radius: 6px 22px 22px 22px; padding: 6px 24px 28px; }
#main > .tabs ~ .grid, #main > .tabs ~ #file { margin-top: 0; }
#main > .tabs ~ #file { border-top-left-radius: 6px; }
#main > .tabs ~ .grid { background: var(--card); border: 1px solid var(--line); border-radius: 6px 22px 22px 22px; padding: 20px; }
#main > .tabs ~ .grid > .panel { box-shadow: none; }
/* header: light, no crumple band */
#hq .x-band.x-calm { margin: 0; padding: 0; background: none; color: var(--ink); }
#hq .x-band.x-calm::before { display: none; }
#hq .x-calm .x-in { padding: 16px 0 6px; }
#hq .x-calm .x-bar { color: var(--grey); font-size: 12px; }
#hq .x-calm .x-refresh { background: var(--card); color: var(--ink); border: 1px solid var(--line); font-weight: 700; }
#hq .x-calm .x-greet { font-family: var(--font); font-weight: 800; font-size: clamp(38px, 5.4vw, 56px); letter-spacing: -.035em; line-height: 1; text-transform: lowercase; color: var(--ink); margin: 8px 0 0; text-shadow: none; }
#hq .x-calm .x-greet .gm { color: var(--blue); }
#hq .x-calm .x-greet .dot { color: var(--teal); }
#hq .x-calm .x-sub { font-family: var(--hand); font-weight: 700; font-size: 26px; color: var(--teal); transform: rotate(-1deg); margin: 10px 0 0; }
#hq .x-calm .x-sub .x-link { font: inherit; color: var(--ink); text-decoration: underline; background: none; border: 0; padding: 0; }
/* stat cards with dot markers */
#hq .x-calm .x-rings { gap: 10px; margin-top: 24px; }
#hq .x-calm .x-ring { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; color: var(--ink); text-align: left; }
#hq .x-calm .x-ring:hover { border-color: var(--teal); }
#hq .x-calm .x-ring b { position: static; display: block; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
#hq .x-calm .x-ring small { margin-top: 6px; color: var(--grey); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
#hq .x-calm .x-ring i { color: var(--teal); font-size: 12px; }
#hq .sdots { display: flex; gap: 4px; margin-bottom: 10px; }
#hq .sdots u { width: 7px; height: 7px; border-radius: 9px; background: var(--teal); text-decoration: none; }
/* route */
#hq .x-route { margin-top: 26px; }
#hq .x-rhead, #hq .x-pickh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
#hq .x-hand { font-family: var(--hand); font-weight: 700; font-size: 21px; color: var(--teal); transform: rotate(-2deg); display: inline-block; }
#hq .x-lbl { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
#hq .x-stops { display: grid; grid-template-columns: repeat(8, 1fr); position: relative; }
#hq .x-stops::before { content: ""; position: absolute; left: 6%; right: 6%; top: 19px; border-top: 2px dashed var(--track); }
#hq .x-stop { position: relative; text-align: center; padding: 4px 0 0; border: 0; background: none; color: var(--ink); }
#hq .x-stop i { position: relative; display: inline-block; width: 32px; height: 32px; line-height: 29px; border-radius: 20px; font-style: normal; font-weight: 800; font-size: 13px; background: var(--card); border: 1.5px solid var(--track); color: var(--grey); }
#hq .x-stop.done i { background: var(--teal); border-color: var(--teal); color: #fff; }
#hq .x-stop.now i { background: var(--char); border-color: var(--char); color: var(--card); box-shadow: 0 0 0 5px var(--lime); }
#hq .x-stop b { display: block; margin-top: 8px; font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
#hq .x-stop:not(.done):not(.now) b { color: var(--grey); }
#hq .x-stk { position: absolute; z-index: 2; background: var(--lime); color: #2A2724; font-family: var(--hand); font-weight: 700; font-size: 16px; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
#hq .x-stop .x-stk { top: -22px; left: 50%; transform: translateX(-50%) rotate(-4deg); font-size: 15px; }
/* cards: soft, no heavy shadow */
#hq .hqcard { background: var(--card); box-shadow: none; border-radius: 18px; }
#hq #main .tabs + #hq .hqcard, #main > .tabs + #hq .hqcard { background: var(--soft); border-color: transparent; }
#hq .hqcard h3 { font-weight: 800; letter-spacing: -.035em; text-transform: lowercase; }
#hq .hqcard .eyebrow { color: var(--grey); font-weight: 700; }
#hq .x-dk { background: var(--soft); color: var(--ink); border-color: transparent; }
#hq .x-dk .eyebrow { color: var(--grey); } #hq .x-dk h3 em { color: var(--teal); }
#hq .x-dk p { color: var(--grey); } #hq .x-dk p b { color: var(--ink); }
#hq .x-dk .day { background: var(--card); border-color: var(--line); color: var(--ink); }
#hq .x-dk .day small { color: var(--grey); } #hq .x-dk .day .amt { color: var(--teal); }
#hq .x-dk .btn-lime { box-shadow: none; }
#hq .x-apps .app .ic { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
/* yellow note pad */
#main > .tabs + #hq .hqcard.x-notes, #hq .hqcard.x-notes { background: var(--note); border: 1px solid var(--noteEdge); padding: 0 0 8px; overflow: hidden; }
#hq .x-notes .x-nbar { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 13px; font-weight: 600; color: #B88A12; border-bottom: 1px solid var(--noteEdge); }
#hq .x-notes h3 { padding: 10px 16px 0; margin: 0; line-height: 28px; font-size: 22px; }
#hq .x-notes .shortlist { padding: 0 16px; background-image: repeating-linear-gradient(transparent 0 27px, var(--noteLine) 27px 28px); }
#hq .x-notes .shortlist button { border-top: 1px solid var(--noteLine); color: var(--ink); }
#hq .x-notes .shortlist .n { border-color: #B88A12; color: #B88A12; }
/* build cards with tape */
#hq .x-pickh { margin-top: 30px; }
#hq .x-pick { margin-top: 6px !important; padding-top: 12px; }
#hq .x-bc { position: relative; text-align: left; background: var(--char); color: var(--card); border: 0; border-radius: 18px; padding: 20px 18px 18px; }
#hq .x-bc.light { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
#hq .x-bc small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
#hq .x-bc h4 { margin: 6px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
#hq .x-bcp { display: block; font-size: 13px; opacity: .7; margin-bottom: 12px; }
#hq .x-go { font-size: 13px; font-weight: 700; color: var(--lime); }
#hq .x-bc.light .x-go { color: var(--teal); }
#hq .x-bc > .x-stk { top: -10px; right: 14px; transform: rotate(4deg); }
#hq .x-bc .x-tape { position: absolute; width: 86px; height: 22px; top: -11px; left: 50%; margin-left: -43px; transform: rotate(-4deg); background: rgba(223,246,91,.85); }
#hq .x-bc .x-tape.cy { background: rgba(30,201,216,.38); transform: rotate(3deg); }
#hq .x-foot { color: var(--teal); }
@media (max-width: 820px) { #hq .x-stops { grid-template-columns: repeat(4, 1fr); row-gap: 22px; } #hq .x-stops::before { display: none; } #main > .tabs + #hq { padding: 4px 14px 22px; } }
html.dark #hq .x-stop.now i { color: #2A2724; }
html.dark #hq .x-notes .x-nbar, html.dark #hq .x-notes .shortlist .n { color: #E6C566; border-color: #E6C566; }
#hq .x-calm .x-greet span { text-shadow: none; }
#hq .lkx-fix { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
#hq .lkx-fix b { color: var(--teal); }
html.dark #hq .x-bc:not(.light) .x-go { color: var(--blue); }
html.dark #hq .x-bc:not(.light) .x-bcp { opacity: .8; }
html.dark #hq .needs .td { stroke: var(--ink); background: var(--ink); }
/* build cards: all tape light blue (13 Nov) */
#hq .x-bc .x-tape, #hq .x-bc .x-tape.cy { background: #AEE6EB; opacity: .95; }

/* My funnels (13 Nov) */
.fn-card .fn-acct { font-family: inherit; font-family: Inter, system-ui, sans-serif; font-style: normal; font-weight: 600; font-size: 11px; color: var(--grey); background: rgba(0,0,0,.05); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.fn-card .fn-other span { font-weight: 600; color: var(--grey); }
.fn-card .fn-other i { opacity: .35; }
.fn-card .fn-btn { margin-top: 12px; }
.fn-note { margin: 10px 0 0; font-size: 13px; background: var(--note, #FFF3B0); border-radius: 10px; padding: 8px 12px; }
.fn-pick { margin-top: 14px; max-height: 420px; overflow: auto; border-top: 1px solid rgba(0,0,0,.08); padding-top: 10px; }
.fn-grp { margin-bottom: 14px; }
.fn-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 6px 2px; font-size: 13px; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,.04); }
.fn-row input { width: 16px; height: 16px; accent-color: var(--teal, #2FA3AD); }
.fn-row small { color: var(--grey); font-size: 11px; white-space: nowrap; }

/* Calendar tab (13 Nov) */
#cal { padding: 8px 0 40px; }
.cal-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cal-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav b { min-width: 150px; text-align: center; font-size: 15px; }
.cal-wait { background: var(--note, #FFF3B0); border-radius: 16px; padding: 12px 16px; margin: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.cal-w { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.cal-w b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.cal-w.bad b { color: #B3261E; }
.cal-w small { color: var(--grey); }
.cal-plats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 6px; }
.cal-pl { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(0,0,0,.05); }
.cal-pl button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: inherit; }
.cal-pl button small { opacity: .6; font-weight: 500; }
.cal-pl.on button { background: #1f1d1b; color: #fff; }
.cal-conn { font-size: 12px; font-weight: 600; color: #0fa5b3; padding: 0 12px 0 2px; text-decoration: none; }
.cal-conn:hover { text-decoration: underline; }
.cal-woop { margin-left: auto; border: 1px dashed rgba(0,0,0,.3); background: none; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: inherit; }
.cal-woop.ok { border-style: solid; border-color: #0fa5b3; color: #0fa5b3; }
.cal-wbox { background: rgba(0,0,0,.035); border-radius: 14px; padding: 14px 16px; margin: 6px 0 10px; font-size: 14px; }
.cal-wbox p { margin: 0 0 8px; } .cal-wbox ol { margin: 0 0 10px; padding-left: 20px; } .cal-wbox a { color: #0fa5b3; }
.cal-wrow { display: flex; gap: 8px; } .cal-wrow input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,.2); font: inherit; }
html.dark .cal-pl { background: rgba(255,255,255,.08); } html.dark .cal-pl.on button { background: #DFF65B; color: #1f1d1b; }
html.dark .cal-woop { border-color: rgba(255,255,255,.3); } html.dark .cal-wbox { background: rgba(255,255,255,.06); } html.dark .cal-wrow input { background: #2a2826; color: #fff; border-color: rgba(255,255,255,.2); }
.cal-keyhelp { margin: -4px 0 10px; }
.cal-key { align-items: center; display: flex; gap: 14px; font-size: 12px; color: var(--grey); margin: 10px 0; }
.cal-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.cal-key .posted::before { background: var(--teal, #2FA3AD); }
.cal-key .scheduled::before { background: #DFF65B; border: 1px solid rgba(0,0,0,.15); }
.cal-key .planned::before { background: #fff; border: 1px dashed rgba(0,0,0,.35); }
.cal-key .failed::before { background: #E58F7B; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); padding: 2px 6px; }
.cal-day { background: var(--card, #FBF9F5); border-radius: 12px; min-height: 108px; padding: 6px; display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(0,0,0,.05); }
.cal-day > small { font-weight: 700; font-size: 12px; color: var(--ink, #2A2724); }
.cal-day.out { opacity: .45; }
.cal-day.past { background: rgba(255,255,255,.45); }
.cal-day.today { border: 2px solid var(--teal, #2FA3AD); }
.cal-chip { display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; border: 0; border-radius: 7px; padding: 3px 5px; font: inherit; font-size: 11px; line-height: 1.25; cursor: pointer; background: #fff; color: var(--ink, #2A2724); overflow: hidden; }
.cal-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-chip img, .cal-chip .cal-ic { width: 18px; height: 22px; border-radius: 4px; object-fit: cover; flex: none; background: rgba(0,0,0,.08); }
.cal-chip.posted { background: rgba(47,163,173,.16); }
.cal-chip.scheduled { background: #F2FBC4; }
.cal-chip.planned { background: #fff; outline: 1px dashed rgba(0,0,0,.25); }
.cal-chip.failed { background: #F8D9D1; }
.cal-chip.k-story .cal-ic { border-radius: 50%; }
.cal-more { border: 0; background: none; font: inherit; font-size: 11px; color: var(--grey); text-align: left; cursor: pointer; padding: 0 4px; }
.cal-detail { margin-top: 16px; position: relative; }
.cal-x { position: absolute; right: 16px; top: 16px; }
.cal-dbody { display: flex; gap: 16px; align-items: flex-start; }
.cal-dbody img { width: 120px; border-radius: 12px; flex: none; }
.cal-prev { flex: none; width: 220px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #1f1d1b; }
.cal-prev video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-prev.ig { width: 300px; aspect-ratio: auto; height: 540px; background: #fff; }
.cal-prev.ig iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .cal-dbody { flex-direction: column; } .cal-prev { width: 100%; max-width: 280px; } .cal-prev.ig { width: 100%; } }
.cal-same { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cal-same .cal-chip { width: auto; }
@media (max-width: 760px) {
  .cal-grid { grid-template-columns: 1fr; }
  .cal-h { display: none; }
  .cal-day { min-height: 0; }
  .cal-day.out, .cal-day.past:not(.today) { display: none; }
  .cal-w { grid-template-columns: 1fr; }
}
html.dark .cal-day { background: #24211f; border-color: rgba(255,255,255,.06); }
html.dark .cal-chip { background: #2f2b28; color: #eee; }
html.dark .cal-chip.scheduled { background: #3b4220; }
html.dark .cal-chip.posted { background: #1e3a3d; }
html.dark .cal-chip.failed { background: #4a2a24; }
.fn-row { grid-template-columns: auto 1fr auto auto; }
.fn-card .fn-trk, .fn-card .fn-note .x-link, .fn-card .fn-pick .x-link { font-size: 11px; white-space: nowrap; color: var(--teal, #2FA3AD); font-weight: 700; text-decoration: underline; }
.fn-how { font-size: 12px; line-height: 1.5; background: rgba(47,163,173,.08); border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; }
#hq .fn-card .x-link, #hq .fn-card .fn-trk { color: var(--teal, #2FA3AD); font-weight: 700; text-decoration: underline; }

/* Platform buttons in brand colours (13 Nov) */
.pl-ic { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; fill: currentColor; flex: none; }
.cal-pl button { display: inline-flex; align-items: center; }
.cal-pl.pl-instagram button { color: #E4405F; } .cal-pl.pl-facebook button { color: #1877F2; } .cal-pl.pl-youtube button { color: #FF0000; } .cal-pl.pl-tiktok button { color: #111; }
.cal-pl.pl-instagram { background: rgba(228,64,95,.10); } .cal-pl.pl-facebook { background: rgba(24,119,242,.10); } .cal-pl.pl-youtube { background: rgba(255,0,0,.09); } .cal-pl.pl-tiktok { background: rgba(37,244,238,.18); }
.cal-pl.on.pl-instagram button { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; }
.cal-pl.on.pl-facebook button { background: #1877F2; color: #fff; } .cal-pl.on.pl-youtube button { background: #FF0000; color: #fff; }
.cal-pl.on.pl-tiktok button { background: #111; color: #fff; box-shadow: -2px -2px 0 #25F4EE inset, 2px 2px 0 #FE2C55 inset; }
.cal-chip .pl-ic { width: 11px; height: 11px; margin-right: 4px; }
.cal-chip .pl-ic.pl-instagram { fill: #E4405F; } .cal-chip .pl-ic.pl-facebook { fill: #1877F2; } .cal-chip .pl-ic.pl-youtube { fill: #FF0000; } .cal-chip .pl-ic.pl-tiktok { fill: #111; }
html.dark .cal-pl.pl-tiktok button { color: #fff; } html.dark .cal-chip .pl-ic.pl-tiktok { fill: #fff; }
html.dark .cal-pl.on.pl-tiktok button { background: #000; }

/* Route title matches the card headings (13 Nov) */
#hq .x-rtitle { font-family: var(--font); font-weight: 800; font-size: 27px; letter-spacing: -.035em; line-height: 1.05; margin: 0; text-transform: lowercase; }
#hq .x-rtitle em { font-family: var(--play); font-weight: 500; letter-spacing: -.01em; color: var(--cyan-deep); }
#hq .x-route .x-rhead { margin-bottom: 34px; }
.about-in { margin: 0 0 12px; padding-left: 20px; } .about-in li { margin: 0 0 6px; }

/* Live connection status on steps (13 Nov) */
.g-live { display: inline-flex; align-items: center; gap: 4px; margin: 8px 6px 2px 0; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.g-live.on { background: #ECF4C6; color: #445210; }
.g-live.off { background: rgba(229,143,123,.16); color: #a2513f; }
.g-live.wait { background: rgba(0,0,0,.05); color: var(--grey); }
.g-live-row { display: flex; flex-wrap: wrap; }
html.dark .g-live.on { background: rgba(223,246,91,.16); color: #DFF65B; } html.dark .g-live.off { color: #f0a796; }

/* Brand Kit: type my own (13 Nov) */
.bk-man { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 10px 0; }
.bk-man label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.bk-cp { display: flex; gap: 6px; align-items: center; }
.bk-cp input[type=color] { width: 44px; height: 38px; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; padding: 2px; background: none; }
.bk-cp input[type=text], .bk-man select { flex: 1; padding: 9px 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,.2); font: inherit; font-weight: 500; }
html.dark .bk-cp input[type=text], html.dark .bk-man select { background: #2a2826; color: #fff; border-color: rgba(255,255,255,.2); }
#hq .fn-row .fn-view { margin-right: 10px; }
#hq .x-income { position: relative; } #hq .x-income .inc-eye { position: absolute; top: 18px; right: 18px; }
#hq .inc-need { background: rgba(229,143,123,.12); border-radius: 10px; padding: 10px 12px; }
/* Stat rows wrap instead of spilling out of the card (14 Nov) */
.igt > div { min-width: 0; }
.igt small { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
#hq .x-income { overflow: hidden; }
#hq .x-income .igt { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); row-gap: 16px; }
#hq .x-income .inc-h { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); color: var(--ink, #1f1d1b); }
#hq .x-income .inc-h:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
#hq .x-income .inc-sub { margin: 14px 0 8px; }
#hq .x-income .inc-tot { margin-top: 14px; font-size: 14px; }
html.dark #hq .x-income .inc-h { color: #fff; border-color: rgba(255,255,255,.1); }
#hq .x-rings.six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#hq .x-rings.six .x-ring b { font-size: clamp(20px, 2.2vw, 30px); }
@media (max-width: 900px) { #hq .x-rings.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { #hq .x-rings.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Income card spacing (14 Nov) */
#hq .x-income .igt { text-align: left; column-gap: 24px; row-gap: 18px; margin: 4px 0 0; }
#hq .x-income .igt small { margin-top: 8px; }
#hq .x-income .hint { margin: 14px 0 0; line-height: 1.5; }
#hq .x-income .inc-h { margin: 28px 0 14px; padding-top: 22px; }
#hq .x-income .inc-sub { margin: 24px 0 12px; }
#hq .x-income .inc-tot { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.08); }
html.dark #hq .x-income .inc-tot { border-color: rgba(255,255,255,.1); }
#hq .day .dsplit { font-size: 10px; opacity: .75; line-height: 1.25; margin-top: 2px; }

/* Today / Week / Month switch for the top cards (14 Nov) */
#hq .x-range { display: inline-flex; gap: 4px; background: rgba(0,0,0,.05); border-radius: 999px; padding: 4px; margin: 26px 0 -18px; }
#hq .x-range button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: inherit; }
#hq .x-range button.on { background: #1f1d1b; color: #fff; }
html.dark #hq .x-range { background: rgba(255,255,255,.08); } html.dark #hq .x-range button.on { background: #DFF65B; color: #1f1d1b; }
#hq .x-reach .reach-plats { margin: 4px 0 14px; } #hq .cal-pl.on.pl-all button { background: #1f1d1b; color: #fff; }
html.dark #hq .cal-pl.on.pl-all button { background: #DFF65B; color: #1f1d1b; }
#hq .x-reach .x-range-sm { margin: 2px 0 10px; } #hq .x-reach .x-range-sm button { font-size: 12px; padding: 5px 12px; }

/* Keywords card (14 Nov) */
#hq .kw-t { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 14px; }
#hq .kw-t th { text-align: left; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); font-weight: 800; padding: 6px 8px; border-bottom: 1px solid rgba(0,0,0,.1); }
#hq .kw-t td { padding: 9px 8px; border-bottom: 1px solid rgba(0,0,0,.06); } #hq .kw-t td small { color: var(--grey); font-size: 11px; }
#hq .kw-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
#hq .kw-add select, #hq .kw-add input { padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(0,0,0,.2); font: inherit; }
html.dark #hq .kw-t th, html.dark #hq .kw-t td { border-color: rgba(255,255,255,.1); } html.dark #hq .kw-add select, html.dark #hq .kw-add input { background: #2a2826; color: #fff; }

/* Needs you today strip (14 Nov) */
#hq .x-today { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 18px 0 4px; }
#hq .x-today .x-hand { width: 100%; margin-bottom: -2px; }
#hq .x-today button { flex: 1 1 220px; text-align: left; border: 1px solid rgba(0,0,0,.1); background: #fff8d6; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
#hq .x-today button b { display: block; font-size: 14px; } #hq .x-today button small { display: block; color: var(--grey); font-size: 12px; margin-top: 3px; line-height: 1.35; }
html.dark #hq .x-today button { background: rgba(223,246,91,.1); border-color: rgba(255,255,255,.1); }

/* Calendar top posts (14 Nov) */
.cal-tops { margin-top: 18px; }
.cal-tp { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 14px; }
.cal-tp .pl-ic { width: 16px; height: 16px; } .cal-tp .pl-ic.pl-instagram { fill: #E4405F; } .cal-tp .pl-ic.pl-facebook { fill: #1877F2; }
.cal-tpt { flex: 1; min-width: 0; } .cal-tpt small { display: block; color: var(--grey); font-size: 12px; } .cal-tpt small b { color: #0fa5b3; }
.cal-tpn { color: var(--grey); font-size: 12px; white-space: nowrap; } .cal-tpn b { color: inherit; font-size: 14px; color: var(--ink, #1f1d1b); }
html.dark .cal-tp { border-color: rgba(255,255,255,.08); } html.dark .cal-tpn b { color: #fff; }
@media (max-width: 640px) { .cal-tp { flex-wrap: wrap; } .cal-tpn { width: 100%; padding-left: 26px; } }
