/* Cedar Hollow dashboard, minimal sample (2026-11-22). Light by default, dark by toggle. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f9f9fa;
  --card: #ffffff;
  --side: #f3f3f5;
  --ink: #111114;
  --ink-2: #4c4c53;
  --muted: #64646c;
  --line: #e4e4e8;
  --line-2: #d3d3d9;
  --fill: #f2f2f4;
  --accent: #1f6fd0;
  --accent-soft: #e8f0fb;
  --new: #e9f6ee;
  --good: #0f7a32;
  --warn-bg: #fff6e0;
  --btn: #111114;
  --btn-ink: #ffffff;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --wash: rgba(42, 120, 214, .10);
  --grid: #ececf0;
  --shadow: 0 1px 2px rgba(17, 17, 20, .04), 0 8px 28px rgba(17, 17, 20, .05);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --t1: 180ms; --t2: 420ms; --t3: 900ms;
  --r: 20px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f11;
  --card: #1b1b1e;
  --side: #151517;
  --ink: #f2f2f4;
  --ink-2: #c4c4cb;
  --muted: #a3a3ab;
  --line: #2c2c31;
  --line-2: #3a3a40;
  --fill: #26262a;
  --accent: #6aa6f0;
  --accent-soft: #1d2a3b;
  --new: #16301f;
  --good: #4cc274;
  --warn-bg: #3a2f12;
  --btn: #f2f2f4;
  --btn-ink: #111114;
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --wash: rgba(57, 135, 229, .16);
  --grid: #2a2a2f;
  --shadow: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-ink); padding: 10px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sample strip */
.sample-strip { background: var(--warn-bg); color: var(--ink); text-align: center; font-size: 15px; padding: 8px 16px; }
.sample-strip b { font-weight: 700; margin-right: 6px; }

/* Layout */
.app { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 38px); }
.side { background: var(--side); border-right: 1px solid var(--line); padding: 28px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 22px; }
.brand-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.brand b { display: block; font-weight: 650; font-size: 17px; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 14px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; border: 1px solid transparent; transition: background var(--t1); }
.nav a svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { background: var(--fill); }
.nav a[aria-current="page"] { background: var(--card); color: var(--ink); font-weight: 650; border-color: var(--line); box-shadow: var(--shadow); }
.side-foot { margin-top: auto; padding: 12px; display: grid; gap: 10px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 40px; }
.top-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.top .brand { padding: 0; display: none; }
.pill-sample { font-size: 13px; font-weight: 650; letter-spacing: .02em; padding: 3px 10px; border-radius: 99px; background: var(--warn-bg); color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 15px; font-weight: 550; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.who { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; min-width: 240px; z-index: 30; }
.menu p { margin: 6px 10px 8px; font-size: 14px; color: var(--muted); }
.menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; }
.menu button:hover, .menu button[aria-checked="true"] { background: var(--fill); }

main { padding: 8px 40px 120px; }
.screen { max-width: 960px; margin: 0 auto; }
.screen.enter { animation: rise var(--t2) var(--e-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Type */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .01em; margin: 0 0 6px; }
h1 { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: 0 0 10px; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; margin: 0 0 6px; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 650; margin: 0 0 4px; }
.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 8px; max-width: 640px; }
.sub { color: var(--ink-2); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.head { margin: 28px 0 36px; }
.sec { margin: 56px 0 0; }
.sec > h2 + .sub { margin-bottom: 20px; }
.tag-sample { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 99px; background: var(--warn-bg); color: var(--ink); vertical-align: 2px; margin-left: 6px; letter-spacing: .02em; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 99px; background: var(--fill); color: var(--ink-2); }
.tag.live { background: var(--new); color: var(--good); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.v { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.v small { font-size: 18px; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.v.med { font-size: 26px; letter-spacing: -.015em; }
.d { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1px solid transparent; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform var(--t1) var(--e-out), opacity var(--t1); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn.link { background: none; color: var(--accent); padding: 0 4px; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .45; cursor: default; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Segmented control */
.seg { display: inline-flex; background: var(--fill); border-radius: 14px; padding: 4px; gap: 2px; flex-wrap: wrap; margin: 0 0 28px; }
.seg button { border: 0; background: none; min-height: 42px; padding: 0 18px; border-radius: 11px; cursor: pointer; font-weight: 550; color: var(--ink-2); font-size: 16px; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); font-weight: 650; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg.small { margin: 0; }
.seg.small button { min-height: 36px; padding: 0 14px; font-size: 15px; }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.list .grow { flex: 1; min-width: 0; }
.list b { font-weight: 600; display: block; }
.list small { display: block; color: var(--muted); font-size: 15px; }
.go-row { text-decoration: none; color: inherit; border-radius: 12px; }
.go-row:hover b { text-decoration: underline; text-underline-offset: 3px; }
.chev { color: var(--muted); font-size: 22px; }
.ic { width: 40px; height: 40px; border-radius: 12px; background: var(--fill); display: grid; place-items: center; flex: none; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.check { width: 26px; height: 26px; border-radius: 50%; background: var(--new); display: grid; place-items: center; flex: none; }
.check svg { width: 15px; height: 15px; fill: none; stroke: var(--good); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Switch */
.switch { position: relative; width: 52px; height: 32px; border-radius: 99px; border: 0; background: var(--line-2); cursor: pointer; flex: none; transition: background var(--t1); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform var(--t2) var(--e-out); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch[disabled] { opacity: .5; cursor: default; }

/* Choice cards (checkbox / radio) */
.choices { display: grid; gap: 10px; }
.choices.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; transition: border-color var(--t1), background var(--t1); }
.choice:hover { border-color: var(--line-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-2); flex: none; display: grid; place-items: center; margin-top: 1px; transition: background var(--t1), border-color var(--t1); }
.choice input[type="radio"] + .box { border-radius: 50%; }
.choice .box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity var(--t1), transform var(--t2) var(--e-out); }
.choice input:checked + .box { background: var(--accent); border-color: var(--accent); }
.choice input:checked + .box svg { opacity: 1; transform: none; }
.choice input[type="radio"]:checked + .box svg { display: none; }
.choice input[type="radio"]:checked + .box { box-shadow: inset 0 0 0 4px var(--card); }
.choice:has(input:checked) { border-color: var(--ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice b { display: block; font-weight: 600; }
.choice small { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.choice .need { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 650; letter-spacing: .02em; color: var(--ink-2); background: var(--fill); padding: 2px 8px; border-radius: 99px; }

/* Forms */
label.f { display: block; font-weight: 600; margin: 18px 0 8px; }
.input, textarea.input { width: 100%; border: 1.5px solid var(--line-2); background: var(--card); border-radius: 14px; padding: 13px 15px; font-size: 17px; line-height: 1.45; }
textarea.input { min-height: 104px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.count { text-align: right; font-size: 14px; color: var(--muted); margin-top: 4px; }
.hint { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* Save bar */
.savebar { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--btn); color: var(--btn-ink); border-radius: 99px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 10px; z-index: 40; box-shadow: 0 10px 40px rgba(0,0,0,.25); transition: transform var(--t2) var(--e-out); max-width: calc(100vw - 32px); }
.savebar.on { transform: translate(-50%, 0); }
.savebar p { margin: 0 8px 0 0; font-weight: 550; font-size: 16px; white-space: nowrap; }
.savebar .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.savebar .b-discard { background: transparent; color: var(--btn-ink); border-color: rgba(255,255,255,.35); }
:root[data-theme="dark"] .savebar .b-discard { border-color: rgba(0,0,0,.3); }
.savebar .b-save { background: var(--btn-ink); color: var(--btn); }
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -160%); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.15); z-index: 50; transition: transform var(--t2) var(--e-out); max-width: min(520px, calc(100vw - 32px)); font-size: 16px; display: flex; gap: 12px; align-items: flex-start; }
.toast.on { transform: translate(-50%, 0); }
.toast.err { border-color: #d03b3b; }

/* Home */
.count-hero { display: flex; gap: 36px; align-items: flex-end; flex-wrap: wrap; margin: 6px 0 4px; }
.count-hero .n { font-size: clamp(56px, 9vw, 88px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.count-hero .u { font-size: 16px; color: var(--muted); font-weight: 550; margin-top: 6px; }
.weekline { position: relative; margin: 34px 0 6px; height: 64px; }
.weekline .track { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 4px; background: var(--fill); }
.weekline .fill { position: absolute; left: 0; top: 14px; height: 4px; border-radius: 4px; background: var(--ink); width: 0; transition: width 1.4s var(--e-out); }
.weekline .dot { position: absolute; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--card); border: 3px solid var(--line-2); }
.weekline .dot.past { border-color: var(--ink); background: var(--ink); }
.weekline .dot.sab { width: 22px; height: 22px; top: 5px; margin-left: -11px; border-color: var(--series-1); background: var(--series-1); box-shadow: 0 0 0 6px var(--accent-soft); }
.weekline .now { position: absolute; top: 2px; width: 2px; height: 28px; background: var(--ink); margin-left: -1px; opacity: 0; transition: opacity .3s .9s; }
.weekline .now::after { content: "Now"; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 650; }
.weekline .days { position: absolute; left: 0; right: 0; top: 34px; }
.weekline .days span { position: absolute; transform: translateX(-50%); font-size: 14px; color: var(--muted); font-weight: 550; }
.upnext { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 2px; }
.upnext li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.upnext li:first-child { border-top: 0; }
.upnext li.next { font-weight: 650; }
.upnext li.done { color: var(--muted); }
.upnext li.done > span::after { content: " (done)"; }
.upnext time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dots5 { display: flex; gap: 8px; margin: 10px 0 8px; }
.dots5 span { width: 32px; height: 32px; border-radius: 10px; background: var(--fill); display: grid; place-items: center; font-size: 13px; font-weight: 650; color: var(--muted); }
.dots5 span.on { background: var(--ink); color: var(--bg); }
.spark { width: 100%; height: 44px; display: block; margin: 4px 0 10px; overflow: visible; }

/* Ring */
.ring { width: 96px; height: 96px; flex: none; }
.ring .trk { fill: none; stroke: var(--fill); stroke-width: 9; }
.ring .val { fill: none; stroke: var(--series-1); stroke-width: 9; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.ring text { font-weight: 700; font-size: 22px; fill: var(--ink); }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: opacity var(--t2); }
.post .pimg { position: relative; aspect-ratio: 4 / 5; background: var(--fill); overflow: hidden; }
.post .pimg img { width: 100%; height: 100%; object-fit: cover; }
.post .pimg .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 60%); }
.post .pimg .h { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; font-weight: 650; font-size: 16px; line-height: 1.3; }
.post .pimg .len { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 650; padding: 2px 8px; border-radius: 99px; }
.post .pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post .pday { font-weight: 650; }
.post .ptype { font-size: 15px; color: var(--muted); }
.post .pcap { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .pact { margin-top: auto; padding-top: 8px; }
.post.down .pimg, .post.down .pcap { opacity: .35; filter: grayscale(1); }

/* Social preview phone */
.with-prev { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.prev-col { position: sticky; top: 24px; }
.phone { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 14px; box-shadow: var(--shadow); max-width: 340px; margin: 0 auto; }
.phone .ph-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; font-size: 15px; }
.phone .ph-head b { font-weight: 650; display: block; line-height: 1.2; }
.phone .ph-head small { color: var(--muted); font-size: 13px; }
.phone .ph-cap { font-size: 15px; padding: 12px 4px 4px; line-height: 1.45; }
.phone .ph-cap b { font-weight: 650; }
.art { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #222; --c1: #2f4a3a; --c2: #e9dfc6; --font: Georgia, "Times New Roman", serif; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art .ov { position: absolute; left: 0; right: 0; padding: 18px; color: #fff; display: grid; gap: 4px; }
.art .ov.bottom { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0)); padding-top: 60px; }
.art .ov.top { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0)); padding-bottom: 60px; }
.art .ov.middle { top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.42); }
.art .kick { font: 650 11px/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.art .hl { font-family: var(--font); font-size: 24px; line-height: 1.15; font-weight: 600; }
.art .meta { font: 500 12px/1.3 Inter, sans-serif; opacity: .9; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.art .logo { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 9px; font-weight: 800; }
.art .play { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; font: 650 12px Inter, sans-serif; padding: 2px 8px; border-radius: 99px; }
/* look variants */
.art.l-bold .hl { font-family: Inter, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.02em; text-transform: none; }
.art.l-paper .ov { background: var(--c2) !important; color: #2a2620; position: absolute; left: 12px; right: 12px; border-radius: 10px; padding: 16px; }
.art.l-paper .ov.bottom { bottom: 12px; } .art.l-paper .ov.top { top: 12px; }
.art.l-night img { filter: brightness(.45) saturate(.7); }
.art.l-night .ov { background: none !important; }
.art.l-framed { border: 10px solid var(--c2); }
.art.l-split img { height: 58%; }
.art.l-split .ov { top: 58% !important; bottom: 0 !important; transform: none !important; background: var(--c1) !important; padding: 16px; align-content: center; }
.art.l-minimal .ov { background: none !important; }
.art.l-minimal .hl { font-size: 18px; font-family: Inter, sans-serif; font-weight: 600; }
.art.l-minimal img { filter: brightness(.8); }
.art.l-postcard { padding: 12px; background: #f4efe4; }
.art.l-postcard img { border-radius: 4px; }
.art.l-postcard .ov { left: 12px; right: 12px; background: none !important; }
.art.l-postcard .ov.bottom { bottom: 12px; }
.art.l-banner .ov { background: var(--c1) !important; padding: 14px 18px; }
.art.l-editorial .hl { font-style: italic; font-size: 26px; }
.art.l-editorial .ov { background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)) !important; }
.art.l-stamp .ov { left: 18px; right: auto; max-width: 78%; border: 2px solid #fff; border-radius: 6px; margin: 18px 0; background: rgba(0,0,0,.35) !important; padding: 12px 14px; }
.art.l-stamp .ov.bottom { bottom: 0; } .art.l-stamp .ov.top { top: 0; }
.art.l-glow .hl { text-shadow: 0 0 18px rgba(255,255,255,.55); }
.art.l-glow .ov { background: radial-gradient(ellipse at 50% 100%, var(--c1), transparent 75%) !important; }
.art.l-classic .ov.bottom, .art.l-classic .ov.top { background-color: transparent; }
.art.l-classic .kick { color: var(--c2); }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 550; }
.sw i { width: 28px; height: 28px; border-radius: 50%; display: block; }
.sw[aria-pressed="true"] { border-color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 550; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.look-btn { border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); padding: 6px; cursor: pointer; display: grid; gap: 6px; text-align: center; font-size: 15px; font-weight: 550; }
.look-btn .art { border-radius: 9px; }
.look-btn .art .hl { font-size: 11px; }
.look-btn .art .ov { padding: 8px; gap: 2px; }
.look-btn .art .ov.bottom { padding-top: 24px; }
.look-btn .art .kick, .look-btn .art .meta { display: none; }
.look-btn .art.l-framed { border-width: 5px; }
.look-btn .art.l-postcard { padding: 5px; }
.look-btn .art.l-paper .ov { left: 5px; right: 5px; padding: 6px; }
.look-btn .art.l-stamp .ov { margin: 6px 0; left: 6px; padding: 5px; }
.look-btn[aria-pressed="true"] { border-color: var(--ink); }
.voice { display: grid; gap: 10px; }
.voice .choice small.ex { margin-top: 8px; color: var(--ink-2); font-size: 15px; background: var(--fill); border-radius: 10px; padding: 10px 12px; }
.daypick { display: grid; gap: 10px; }
.daypick button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1.5px solid var(--line); background: var(--card); border-radius: 16px; padding: 10px 14px 10px 10px; cursor: pointer; }
.daypick button[aria-pressed="true"] { border-color: var(--ink); }
.daypick img { width: 52px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.daypick b { display: block; font-weight: 600; }
.daypick small { display: block; color: var(--muted); font-size: 15px; }
.daypick .d-name { font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.summary dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.summary dt, .summary dd { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; }
.summary dt { font-weight: 600; }
.summary dd { color: var(--ink-2); }

/* Email */
.items { display: grid; gap: 0; }
.item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.item .grow { flex: 1; min-width: 0; }
.item b { font-weight: 600; display: block; }
.item small { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.mail { background: #fff; color: #1d1d21; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); font-size: 16px; }
.mail-wrap.phone-v { max-width: 380px; margin: 0 auto; }
.mail-wrap.comp-v { max-width: 640px; margin: 0 auto; }
.mail .m-head { padding: 16px 18px; border-bottom: 1px solid #ececf0; display: flex; gap: 12px; align-items: flex-start; }
.mail .m-av { width: 36px; height: 36px; border-radius: 50%; background: #2f4a3a; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.mail .m-from { font-weight: 650; line-height: 1.3; }
.mail .m-subj { font-size: 15px; color: #45454c; }
.mail .m-hero { padding: 28px 22px; text-align: center; background: #f5f4f0; }
.mail .m-hero .m-k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5b5b62; font-weight: 650; }
.mail .m-hero .m-t { font: 600 28px/1.15 Georgia, serif; margin: 8px 0 4px; }
.mail .m-sec { padding: 20px 22px; border-top: 1px solid #ececf0; }
.mail .m-sec h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5b5b62; }
.mail .m-sec h5 { margin: 0 0 6px; font: 600 20px/1.25 Georgia, serif; }
.mail .m-sec p { margin: 0 0 8px; color: #33333a; font-size: 15px; }
.mail .m-sec ul, .mail .m-sec ol { margin: 0; padding-left: 20px; color: #33333a; font-size: 15px; }
.mail .m-sec img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 10px 0 4px; }
.mail .m-times { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 15px; }
.mail .m-note { background: #f7f5ef; border-radius: 10px; padding: 14px; font: italic 17px/1.5 Georgia, serif; }
.mail .m-new { animation: flash 1.2s var(--e-out); }
@keyframes flash { from { background: #e3efff; } to { background: transparent; } }
.mail .m-foot { padding: 18px 22px; font-size: 13px; color: #6a6a72; border-top: 1px solid #ececf0; text-align: center; }
.issue-pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }

/* Charts */
.chart { width: 100%; display: block; overflow: visible; }
.chart .grid-l { stroke: var(--grid); stroke-width: 1; }
.chart .axis-t { fill: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.chart .lbl { fill: var(--ink); font-size: 14px; font-weight: 650; }
.chart .lbl2 { fill: var(--ink-2); font-size: 13px; }
.chart .bar { fill: var(--series-1); }
.chart .ln { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: var(--wash); }
.chart .pt { fill: var(--series-1); stroke: var(--card); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:focus { outline: none; }
.chart .hit:focus-visible + .hl-m, .chart .hl-m { opacity: 0; }
.chart .cross { stroke: var(--line-2); stroke-width: 1; opacity: 0; }
.chart .ud { fill: var(--series-1); }
.chart .ud.done { fill: var(--series-3); }
.chart .ud.stop { fill: var(--line-2); }
.tip { position: fixed; z-index: 60; pointer-events: none; background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 550; padding: 7px 11px; border-radius: 10px; opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity 120ms; white-space: nowrap; }
.tip.on { opacity: 1; }
details.tbl { margin-top: 14px; }
details.tbl summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
details.tbl table { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 6px; font-variant-numeric: tabular-nums; }
details.tbl th, details.tbl td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); }
details.tbl td:last-child, details.tbl th:last-child { text-align: right; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); margin: 10px 0 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.hbars { display: grid; gap: 14px; }
.hbar .lab { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; margin-bottom: 6px; }
.hbar .lab b { font-weight: 650; font-variant-numeric: tabular-nums; }
.hbar .tr { height: 10px; border-radius: 99px; background: var(--fill); overflow: hidden; }
.hbar .fl { height: 100%; border-radius: 99px; background: var(--series-1); width: 0; transition: width 1.1s var(--e-out); }
.streak { display: grid; grid-template-columns: repeat(19, 1fr); gap: 5px; margin: 18px 0 8px; }
.streak span { aspect-ratio: 1; border-radius: 4px; background: var(--series-1); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--e-out); }
.streak span.in { opacity: 1; transform: none; }
.mini { display: grid; gap: 4px; }
.mini .k { margin: 0; display: flex; align-items: center; gap: 8px; }
.mini .k i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Events */
.hol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hol .choice { flex-wrap: wrap; }
.hol .msg { flex-basis: 100%; padding-left: 38px; }
.hol .msg .input { font-size: 16px; min-height: 80px; }
.months { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.cal-chip { width: 54px; flex: none; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); text-align: center; background: var(--card); }
.cal-chip b { display: block; background: var(--ink); color: var(--bg); font-size: 12px; letter-spacing: .08em; padding: 3px 0; }
.cal-chip span { display: block; font-size: 22px; font-weight: 700; padding: 4px 0 6px; }

/* History */
.hist-day { font-size: 14px; font-weight: 650; color: var(--muted); margin: 26px 0 8px; }
.hist { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.hist li { gap: 14px; }
.hist .num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hist li.fresh { animation: flash2 1.6s var(--e-out); }
@keyframes flash2 { from { background: var(--accent-soft); } to { background: transparent; } }

.foot { max-width: 960px; margin: 80px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot .row { margin: 10px 0; }

/* Phone tab bar */
.tabbar { display: none; }
.more-sheet { display: none; }

@media (max-width: 1180px) {
  .with-prev { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app { display: block; }
  .side { display: none; }
  .top { padding: 14px 16px; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  .top .brand { display: flex; }
  .top .brand small { display: none; }
  .top .brand-dot { width: 32px; height: 32px; }
  .top .theme-lab { display: none; }
  main { padding: 0 16px 140px; }
  .head { margin: 12px 0 28px; }
  .sec { margin-top: 44px; }
  .card { padding: 22px 20px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .g4.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .with-prev { grid-template-columns: minmax(0, 1fr); }
  .prev-col { position: static; }
  .prev-col.hide-m { display: none; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post { flex-direction: row; }
  .post .pimg { width: 120px; flex: none; aspect-ratio: auto; min-height: 170px; }
  .post .pimg .h { display: none; }
  .post .pimg .scrim { display: none; }
  .choices.c2, .choices.c3, .hol { grid-template-columns: minmax(0, 1fr); }
  .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg.two { grid-template-columns: repeat(2, 1fr); }
  .seg button { padding: 0 6px; }
  .f2 { grid-template-columns: minmax(0, 1fr); }
  .summary dl { grid-template-columns: minmax(0, 1fr); }
  .summary dd { border-top: 0; padding-top: 0; }
  .upnext li { grid-template-columns: 1fr; gap: 0; }
  .count-hero { gap: 22px; }
  .streak { grid-template-columns: repeat(10, 1fr); }
  .savebar { bottom: 92px; padding-left: 16px; }
  .savebar p { font-size: 15px; }
  .toast { top: 12px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 56px; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar [aria-current="page"] { color: var(--ink); }
  .more-sheet { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.35); align-items: flex-end; }
  .more-sheet.on { display: flex; }
  .more-sheet .sheet { background: var(--card); width: 100%; border-radius: 22px 22px 0 0; padding: 12px 16px calc(24px + env(safe-area-inset-bottom)); animation: up var(--t2) var(--e-out); }
  .more-sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line-2); margin: 0 auto 12px; }
  .more-sheet a, .more-sheet button.mi { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 8px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 550; text-align: left; cursor: pointer; }
  .more-sheet svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 420px) {
  .v { font-size: 36px; }
  .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-btn.who-btn .who-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
.maincol { min-width: 0; }
@media (max-width: 900px) { .with-prev.prev-first .prev-col { order: -1; } }
.savebar { visibility: hidden; transition: transform var(--t2) var(--e-out), visibility 0s linear var(--t2); }
.savebar.on { visibility: visible; transition: transform var(--t2) var(--e-out), visibility 0s; }
.app { background: linear-gradient(to right, var(--side) 260px, transparent 260px); }
.grid > .card + .card { margin-top: 0; }
.ev-toggle { display: none; }
@media (max-width: 900px) {
  .app { background: none; }
  .savebar { left: 12px; right: 12px; transform: translateY(180%); max-width: none; padding: 8px 8px 8px 16px; }
  .savebar.on { transform: none; }
  .savebar p { white-space: normal; flex: 1; line-height: 1.25; margin: 0; }
  .savebar .btn { padding: 0 14px; }
  .upnext.short li.later { display: none; }
  .ev-toggle { display: inline-flex; }
  .ringrow { flex-wrap: wrap !important; justify-content: center; }
  .ringrow .list { flex-basis: 100%; }
}
@media (max-width: 420px) { .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .look-btn { font-size: 14px; padding: 4px; } }
@media (max-width: 900px) { .prev-first .phone { max-width: 270px; } }
