:root {
  --purple: #6D40C4;
  --purple-dark: #34317D;
  --purple-darkest: #2A2764;
  --purple-soft: #F1ECFB;
  --gold: #FEBF2B;
  --teal: #19B5A5;
  --ink: #1D1B2E;
  --muted: #6B6880;
  --line: #E4E0EE;
  --bg: #F7F6FB;
  --card: #FFFFFF;
  --ok: #1E9E6A;
  --err: #C8364B;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--purple); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--purple-darkest);
  color: #fff;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
  position: sticky; top: 0; z-index: 10;
}
.brand { font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.brand span { color: var(--gold); font-weight: 600; }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.nav a {
  color: #D9D3F3; text-decoration: none; padding: 6px 12px; border-radius: 999px;
  font-size: .9rem; white-space: nowrap;
}
.nav a.on, .nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.who { font-size: .8rem; color: #D9D3F3; display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.who button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 3px 10px; cursor: pointer; font: inherit; }

/* ---------- layout ---------- */
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 80px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 18px;
}
.grid2 { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } .topbar { flex-wrap: wrap; } }

.pagehead { margin-bottom: 18px; }
.pagehead p { margin: 0; color: var(--muted); max-width: 720px; }

/* ---------- forms ---------- */
label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=date], textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #fff;
}
textarea { min-height: 70px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--purple-soft); border-color: var(--purple); }

.btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 0; border-radius: 999px; padding: 9px 18px;
  background: var(--purple); color: #fff;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn:hover { background: var(--purple-dark); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--purple); border: 1px solid var(--purple); }
.btn.ghost:hover { background: var(--purple-soft); }
.btn.gold { background: var(--gold); color: var(--purple-darkest); }
.btn.small { padding: 5px 12px; font-size: .82rem; }
.btn.link { background: none; color: var(--muted); padding: 5px 8px; font-weight: 500; }
.btn.link:hover { color: var(--err); background: none; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; }

.banner { border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: .9rem; }
.banner.err { background: #FBE9EC; color: var(--err); }
.banner.ok { background: #E6F6EF; color: var(--ok); }
.banner.info { background: var(--purple-soft); color: var(--purple-darkest); }

.saved { font-size: .8rem; color: var(--muted); min-width: 70px; text-align: right; }

/* ---------- login ---------- */
.door { max-width: 440px; margin: 60px auto; text-align: center; }
.door .panel { text-align: left; }
.door h1 { color: var(--purple-darkest); }
.or { text-align: center; color: var(--muted); font-size: .8rem; margin: 14px 0 0; }
.google { width: 100%; justify-content: center; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.google:hover { background: #fafafa; }
.full { width: 100%; justify-content: center; margin-top: 14px; }

/* ---------- goal board ---------- */
.cards { display: grid; gap: 14px; }
.goal {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: var(--radius); padding: 16px 18px;
}
.goal.completed { border-left-color: var(--ok); }
.goal.in-progress { border-left-color: var(--gold); }
.goal h3 { font-size: 1.05rem; color: var(--purple-darkest); margin: 6px 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag { font-size: .72rem; background: var(--purple-soft); color: var(--purple-darkest); padding: 2px 9px; border-radius: 999px; }
.pill {
  margin-left: auto; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  padding: 3px 10px; border-radius: 999px; cursor: pointer; border: 0; font-family: inherit;
}
.pill.not-started { background: #EEE; color: #666; }
.pill.in-progress { background: #FFF1CC; color: #7A5600; }
.pill.completed { background: var(--ok); color: #fff; }
.goal p { margin: 4px 0; font-size: .9rem; }
.goal .k { font-weight: 600; color: var(--muted); }
.ai {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.ai h4 { font-size: .72rem; letter-spacing: .6px; text-transform: uppercase; color: var(--purple); margin: 12px 0 4px; }
.ai ol, .ai ul { margin: 0; padding-left: 20px; font-size: .9rem; }
.pastebox { margin-top: 12px; background: var(--purple-soft); border-radius: 10px; padding: 12px; }
.pastebox textarea { min-height: 120px; font-size: .82rem; }
.filter { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.filter select { width: auto; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- MAP ---------- */
table.edit { width: 100%; border-collapse: collapse; }
table.edit th { text-align: left; font-size: .75rem; color: var(--muted); font-weight: 600; padding: 4px 6px; }
table.edit td { padding: 4px; vertical-align: top; }
table.edit td.c { text-align: center; vertical-align: middle; }
table.edit input[type=text] { padding: 7px 9px; }
table.edit input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--purple); }
.prio { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.prio .num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: .85rem; margin-right: 8px; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--teal), var(--purple)); width: 0; transition: width .3s; }
.scroll-x { overflow-x: auto; }

/* ---------- admin ---------- */
table.roster { width: 100%; border-collapse: collapse; font-size: .82rem; }
table.roster th, table.roster td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
table.roster th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: #fff; }
.badge { font-size: .7rem; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.badge.ok { background: #E6F6EF; color: var(--ok); }
.badge.pend { background: #FFF1CC; color: #7A5600; }
.badge.rev { background: #FBE9EC; color: var(--err); }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; }
.stat b { display: block; font-size: 1.4rem; color: var(--purple-darkest); }

/* ---------- brain dump ---------- */
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: .85rem; margin-right: 8px; vertical-align: middle; }
.ctxgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.ctx {
  text-align: left; font: inherit; cursor: pointer; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.ctx b { display: block; font-size: .85rem; color: var(--purple-darkest); }
.ctx span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.ctx:hover { border-color: var(--purple); }
.ctx.on { border-color: var(--purple); background: var(--purple-soft); box-shadow: inset 0 0 0 1px var(--purple); }
.powerq { background: var(--purple-soft); border-radius: 12px; padding: 12px 14px; }
.powerq ol { margin: 0; padding-left: 22px; }
.qbtn { font: inherit; font-size: .9rem; text-align: left; background: none; border: 0; padding: 3px 0; cursor: pointer; color: var(--purple-darkest); }
.qbtn:hover { text-decoration: underline; }
.timer { font-size: 1.3rem; font-weight: 700; color: var(--purple); font-variant-numeric: tabular-nums; }
.timer.done { font-size: .95rem; color: var(--ok); }
.dumpbox { min-height: 260px; font-size: 1rem; line-height: 1.6; }
.interim { min-height: 1.4em; color: var(--muted); font-style: italic; font-size: .9rem; margin-top: 6px; }
.btn.mic.live { background: var(--err); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,54,75,.35); } 50% { box-shadow: 0 0 0 8px rgba(200,54,75,0); } }
.takeaway { background: var(--purple-darkest); color: #fff; border: 0; }
.takeaway .muted { color: #CFC8EE; }
.takeaway .big { font-size: 1.3rem; font-weight: 600; line-height: 1.35; margin-top: 4px; }
ol.actions { list-style: none; padding: 0; margin: 0; }
ol.actions > li { border-bottom: 1px solid var(--line); padding: 10px 0; }
ol.actions > li:last-child { border-bottom: 0; }
label.act { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .95rem; font-weight: 400; color: var(--ink); cursor: pointer; }
label.act input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--purple); flex: none; }
label.act .why, label.act .next { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
ol.actions > li.done b { text-decoration: line-through; color: var(--muted); }
.buckets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .buckets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .buckets { grid-template-columns: 1fr; } }
.bucket { margin-bottom: 0; border-top: 4px solid var(--purple); }
.bucket.later { border-top-color: var(--teal); }
.bucket.delegate { border-top-color: var(--gold); }
.bucket.trash { border-top-color: #B9B5C8; }
.bucket ul { padding-left: 18px; margin: 8px 0 0; font-size: .88rem; }
.buckets + * { margin-top: 18px; }
.analysis, .original { font-size: .92rem; margin-top: 10px; }
.original { white-space: normal; background: var(--bg); border-radius: 10px; padding: 12px; }
.hist { display: grid; }
.histrow { display: grid; grid-template-columns: 170px auto 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.histrow:hover { background: var(--bg); }
.histrow .prev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
@media (max-width: 700px) { .histrow { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- goals DNA ---------- */
.dnaorder { margin: 0; padding-left: 22px; }
.dnaorder li { padding: 6px 0; }
.dnaorder li > span:first-child { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.dnachip { font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--purple-darkest); background: #fff; }
.dnachip:hover { border-color: var(--purple); }
.dnachip.done { background: #E6F6EF; border-color: #BFE6D3; color: var(--ok); }
.dnagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dnacard { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.dnacard:hover { border-color: var(--purple); }
.dnacard b { display: block; color: var(--purple-darkest); }
.dnacard.done { border-left-color: var(--ok); }
.dnalist { display: grid; gap: 10px; }
.dnarow { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 4px 10px 10px; }
.dnarow > div label { margin-top: 6px; }
.dnarow textarea { min-height: 44px; }
.dnarow > .btn { margin-top: 30px; }
@media (max-width: 700px) { .dnarow { flex-direction: column; } .dnarow > div { flex: 1 1 auto !important; width: 100%; } .dnarow > .btn { margin-top: 0; } }

/* ---------- assessments ---------- */
.assessgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .assessgrid { grid-template-columns: 1fr; } }
.quiz { max-width: 720px; }
.opts { display: grid; gap: 10px; margin-top: 12px; }
.opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .opts.two { grid-template-columns: 1fr; } }
.opt {
  font: inherit; text-align: left; cursor: pointer; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.opt:hover { border-color: var(--purple); }
.opt.on { border-color: var(--purple); background: var(--purple-soft); box-shadow: inset 0 0 0 1px var(--purple); font-weight: 600; }
.mbq { padding: 14px 18px; margin-bottom: 10px; }
.mbtext { font-weight: 600; }
.sticky-progress { position: sticky; top: 52px; z-index: 5; padding: 10px 18px; }
ol.themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ol.themes li { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-left: 5px solid var(--purple); border-radius: 12px; padding: 12px 14px; }
ol.themes li p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
ol.themes li > div { flex: 1; }
ol.themes .rank { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--purple-darkest); color: #fff; font-weight: 700; flex: none; }
ol.themes .dom { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.d-exec { --dc: #7B4DD8; } .d-inf { --dc: #E8A317; } .d-rel { --dc: #1E9EA6; } .d-strat { --dc: #D2477A; }
ol.themes li.d-exec, ol.themes li.d-inf, ol.themes li.d-rel, ol.themes li.d-strat { border-left-color: var(--dc); }
ol.themes li .dom { color: var(--dc); }
.dbar, .spec { display: grid; grid-template-columns: 110px 1fr 46px; gap: 10px; align-items: center; margin: 8px 0; font-size: .9rem; }
.spec { grid-template-columns: 90px 1fr 90px; }
.spec span:last-child { text-align: right; }
.track { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; }
.track > div { height: 100%; background: var(--dc, linear-gradient(90deg, var(--teal), var(--purple))); border-radius: 999px; }
.typehead { display: flex; gap: 20px; align-items: center; }
.typehead .code { font-size: 2.6rem; font-weight: 700; color: var(--purple); letter-spacing: 2px; }
.tempb { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--purple); color: #fff; margin-top: 4px; }
.tempb.t-rational { background: #6D40C4; } .tempb.t-idealist { background: #1E9EA6; } .tempb.t-guardian { background: #34317D; } .tempb.t-artisan { background: #E8A317; color: #2A2764; }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr 1fr; } .typehead { flex-direction: column; align-items: flex-start; } }
.fn { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; text-align: center; }
.fn b { font-size: 1.4rem; color: var(--purple-darkest); }
.fn.dom { border-color: var(--purple); background: var(--purple-soft); }

@media print {
  .topbar, .noprint, .who { display: none !important; }
  body { background: #fff; }
  main { padding: 0; }
  .panel { break-inside: avoid; border-color: #ddd; }
  .track > div, .rank, .tempb, .fn.dom { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.nav { scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }

/* ---------- wheel of life + passion ---------- */
.wsteps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.wsteps span { font-size: .8rem; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.wsteps span.on { background: var(--purple); color: #fff; border-color: var(--purple); }
.wsteps span.done { color: var(--ok); border-color: #BFE6D3; }
.wareas { display: grid; gap: 12px; }
.warea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.wname { font-weight: 600; margin-bottom: 8px; }
.rate { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-bottom: 8px; }
.rate button { font: inherit; font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 0; cursor: pointer; color: var(--ink); }
.rate button:hover { border-color: var(--purple); }
.rate button.on { background: var(--purple); color: #fff; border-color: var(--purple); }
.warea textarea { min-height: 44px; }
.wheelchart { text-align: center; }
svg.radar { width: 100%; max-width: 620px; height: auto; }
svg.radar .ring { fill: none; stroke: var(--line); }
svg.radar .spoke { stroke: var(--line); }
svg.radar text { font: 11px Poppins, sans-serif; fill: var(--muted); }
svg.radar .s-past { fill: rgba(25,181,165,.10); stroke: #19B5A5; stroke-width: 2; stroke-dasharray: 5 4; }
svg.radar .s-present { fill: rgba(109,64,196,.22); stroke: #6D40C4; stroke-width: 3; }
svg.radar .s-future { fill: rgba(254,191,43,.18); stroke: #E8A317; stroke-width: 3; }
.legend { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: .82rem; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.legend .l-past::before { background: #19B5A5; } .legend .l-present::before { background: #6D40C4; } .legend .l-future::before { background: #E8A317; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .twocol { grid-template-columns: 1fr; } .rate { grid-template-columns: repeat(5, 1fr); } }
.wtable td, .wtable th { text-align: center; } .wtable td:first-child, .wtable th:first-child { text-align: left; }
.up { color: var(--ok); font-weight: 700; } .down { color: var(--err); font-weight: 700; }
.wnote { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px; }
.wnote h3 { margin: 0 0 4px; font-size: .95rem; }
.wnote p { margin: 2px 0; font-size: .9rem; }
@media print { svg.radar polygon { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- annual review ---------- */
.tagpick { display: flex; gap: 6px; flex-wrap: wrap; }
.tagpick button { font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 5px 14px; }
.tagpick button.on { color: #fff; border-color: transparent; }
.c-event { --rc: #6D40C4; } .c-frustration { --rc: #C8364B; } .c-opportunity { --rc: #1E9E6A; }
.t-good { --tc: #1E9E6A; } .t-bad { --tc: #C8364B; } .t-learning { --tc: #E8A317; } .t-none { --tc: #C9C4D9; }
#rCat button.on { background: var(--rc); }
#rType button.on { background: var(--tc); }
.fchip { font: inherit; font-size: .8rem; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 11px; color: var(--ink); }
.fchip span { color: var(--muted); font-size: .75rem; }
.fchip.on { background: var(--purple-soft); border-color: var(--purple); }
.sep { width: 1px; height: 20px; background: var(--line); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; margin-top: 10px; }
.mcol { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: grid; gap: 2px; justify-items: center; }
.mbar { height: 70px; width: 100%; max-width: 34px; display: flex; flex-direction: column-reverse; background: var(--bg); border-radius: 6px; overflow: hidden; }
.mbar i { display: block; width: 100%; background: var(--tc); }
.mlab { font-size: .7rem; color: var(--muted); }
.mnum { font-size: .7rem; font-weight: 700; min-height: 1em; }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.triple ol { margin: 0; padding-left: 18px; font-size: .88rem; }
.triple h3 { font-size: .85rem; margin-bottom: 4px; }
@media (max-width: 700px) { .triple { grid-template-columns: 1fr; } }
.rentry { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rc); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 10px; }
.rcat { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--rc); }
.rtype { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--tc); padding: 1px 8px; border-radius: 999px; }
.revent { font-weight: 500; margin: 6px 0; }
.rnotes { background: var(--bg); border-radius: 8px; padding: 8px 10px; }

/* ---------- today ---------- */
.todayhead { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
@media (max-width: 640px) { .todayhead { flex-direction: column; align-items: stretch; text-align: left; } }
.btn.big { font-size: 1.1rem; padding: 14px 28px; background: linear-gradient(90deg, var(--purple), var(--purple-dark)); box-shadow: 0 6px 18px rgba(109,64,196,.28); }
.looked { background: #E6F6EF; color: var(--ok); font-weight: 600; border-radius: 12px; padding: 12px 16px; display: inline-block; }
.streakbox { text-align: center; min-width: 160px; }
.flame { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--purple); }
.flame::before { content: "\1F525"; font-size: 1.8rem; margin-right: 4px; vertical-align: middle; }
.todaygrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.todaygrid .panel { margin-bottom: 0; }
@media (max-width: 760px) { .todaygrid { grid-template-columns: 1fr; } }
.glist { margin: 4px 0 0; padding-left: 18px; font-size: .92rem; }
.tprio { margin-bottom: 12px; }
.tprio label.act { margin-top: 4px; }
.aff { font-size: 1.15rem; font-weight: 600; color: var(--purple-darkest); line-height: 1.4; }
.tilecard img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; display: block; }
.tilecard .cap { font-weight: 600; margin-top: 8px; }
.visline, .bookq { font-size: 1rem; line-height: 1.55; }
.bookq { font-style: italic; }
.stat.badges { display: flex; gap: 6px; align-items: center; }
.badge2 { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--line); color: var(--muted); }
.badge2.won { background: var(--gold); color: var(--purple-darkest); }
.heat { display: flex; gap: 3px; overflow-x: auto; padding-bottom: 4px; }
.hcol { display: grid; grid-template-rows: repeat(7, 13px); gap: 3px; }
.hcol i { width: 13px; height: 13px; border-radius: 3px; background: var(--line); display: block; }
.hcol i.on { background: var(--purple); }
.hcol i.today { outline: 2px solid var(--gold); outline-offset: 1px; }
.hcol i.blank { background: transparent; }
.toastbig { position: fixed; left: 50%; top: 90px; transform: translateX(-50%); z-index: 50; background: var(--purple-darkest); color: #fff; border-radius: 16px; padding: 18px 26px; box-shadow: 0 12px 40px rgba(0,0,0,.25); display: grid; gap: 4px; text-align: center; animation: pop .4s ease; }
.toastbig b { font-size: 1.6rem; color: var(--gold); }
@keyframes pop { from { transform: translateX(-50%) scale(.8); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
ol.afflist { padding-left: 22px; margin: 0; display: grid; gap: 8px; }
ol.afflist li input { width: calc(100% - 70px); }
.suggs { display: grid; gap: 8px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vtile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.vtile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.vempty { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; font-size: .85rem; }
.vcap { margin-top: 8px; font-weight: 600; border: 0 !important; padding: 4px 2px !important; }
@media print {
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .vtile { border: 0; padding: 4px; }
  .vtile details, .vempty { display: none; }
}
