/* GTM Kickstart: blue, white and grey only. Calm like iOS, plain like Notion. */
:root {
  --blue: #1e4fd8; --blue-hover: #1a44bd; --blue-deep: #0b2a8c; --blue-soft: #eef3fe; --blue-50: #f6f8ff; --blue-line: #d6e1fb;
  --ink: #111a2e; --text-2: #5b6578; --text-3: #8a93a3; --text-4: #b3bac6;
  --line: #e6e9ef; --line-2: #f0f2f6; --bg: #ffffff; --bg-2: #f7f8fa; --bg-3: #f1f3f6;
  --danger: #b42318; --ok: #1e4fd8; --warn: #5b6578;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(17,26,46,.04);
  --shadow-lg: 0 20px 50px rgba(17,26,46,.16), 0 2px 6px rgba(17,26,46,.06);
  /* aliases used by admin.css */
  --brand: var(--blue); --brand-soft: var(--blue-soft); --body: var(--text-2); --mut: var(--text-2); --faint: var(--text-3);
  --soft: var(--bg-3); --mist: var(--bg-3); --paper: var(--bg); --navy: var(--blue-deep); --navy-2: var(--blue-deep);
  --grad-panel: var(--blue-50);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
[hidden] { display: none !important; }
svg { flex: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line-2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brandmark .gk { width: 38px; height: 38px; }
.brandmark .by { display: flex; align-items: center; gap: 8px; padding-left: 10px; border-left: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.brandmark .by img { height: 22px; width: auto; }
.brandmark .name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.who { font-size: 13px; color: var(--text-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 500; font-size: 14px; text-decoration: none; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #e3ebfd; }
.btn-danger { background: var(--bg); color: var(--danger); border: 1px solid var(--line); }
.btn-danger:hover { background: #fdf4f3; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; padding: 12px 16px; font-size: 15px; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--blue); }
.icon-btn:hover { background: var(--blue-soft); }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }

/* Page head: title first, calendar right after */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 36px 0 20px; flex-wrap: wrap; }
.page-head .kicker { font-size: 13px; color: var(--blue); font-weight: 500; margin-bottom: 6px; }
.page-head h1 { margin: 0; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
.page-head p { margin: 8px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.5; max-width: 560px; }
.seg { display: inline-flex; background: var(--bg-3); border-radius: 10px; padding: 2px; }
.seg button { border: 0; background: none; border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed=true] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(17,26,46,.1), 0 0 0 .5px rgba(17,26,46,.06); }

/* Next-up nudge */
.nudge { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--blue-line); background: var(--blue-50); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.nudge .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.nudge b { font-weight: 600; }
.nudge span { color: var(--text-2); font-size: 14px; }
.nudge .go { margin-left: auto; color: var(--blue); font-weight: 500; font-size: 14px; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); display: inline-block; }

/* Coming up ticker */
.ticker { display: flex; align-items: stretch; border: 1px solid var(--blue-line); background: var(--blue-50); border-radius: 12px; overflow: hidden; margin-bottom: 14px; height: 50px; }
.tk-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--bg); border-right: 1px solid var(--blue-line); }
.tk-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.tk-track { display: flex; width: max-content; height: 100%; animation: tk var(--dur, 40s) linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-row { display: flex; align-items: center; }
.tk-item { display: inline-flex; align-items: baseline; gap: 8px; border: 0; background: none; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 14px; }
.tk-item:hover { background: var(--blue-soft); }
.tk-item b { font-weight: 600; }
.tk-item span { color: var(--text-2); }
.tk-item em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--blue); background: var(--bg); border: 1px solid var(--blue-line); border-radius: 6px; padding: 1px 7px; }
.tk-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-4); margin: 0 10px; flex: none; }
@keyframes tk { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
  .tk-viewport { overflow-x: auto; }
  .tk-row[aria-hidden] { display: none; }
}

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 12px; }
.month-nav { display: flex; align-items: center; gap: 4px; }
.month-nav h2 { margin: 0 8px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; min-width: 170px; }
.month-nav h2 span { color: var(--text-3); font-weight: 400; }
.link-btn { border: 0; background: none; color: var(--blue); font-size: 14px; font-weight: 500; padding: 6px 8px; border-radius: 8px; }
.link-btn:hover { background: var(--blue-soft); }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters::-webkit-scrollbar { display: none; }
.fchip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--bg-3); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.fchip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.fchip:hover { background: #e9ecf1; }
.fchip[aria-pressed=true] { background: var(--ink); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--bg-3); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.tag.blue { background: var(--blue-soft); color: var(--blue); }

/* Month (iOS) + day panel */
.cal-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.mgrid { padding: 14px 14px 16px; }
.mgrid .dows, .mgrid .cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mgrid .dows div { text-align: center; font-size: 12px; color: var(--text-3); font-weight: 500; padding: 4px 0 10px; }
.mcell { border: 0; background: none; height: 64px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding-top: 6px; border-radius: 12px; }
.mcell:hover { background: var(--bg-2); }
.mcell .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.mcell.out { visibility: hidden; }
.mcell.we .n { color: var(--text-3); }
.mcell.past .n { color: var(--text-4); }
.mcell.brk .n { color: var(--text-4); text-decoration: line-through; }
.mcell.today .n { color: var(--blue); font-weight: 700; }
.mcell.sel .n { background: var(--ink); color: #fff; font-weight: 600; }
.mcell.sel.today .n { background: var(--blue); }
.dots { display: flex; gap: 3px; height: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: block; }
.dots i.paid { background: var(--text-4); }
.dots i.mine { background: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 6px 0; font-size: 12px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: inline-block; }
.legend i.paid { background: var(--text-4); }

.daypanel { padding: 18px 18px 8px; position: sticky; top: 76px; }
.daypanel .dp-k { font-size: 13px; color: var(--text-2); }
.daypanel h3 { margin: 2px 0 10px; font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.drow { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line-2); background: none; padding: 13px 0; }
.drow:first-of-type { border-top: 0; }
.drow:hover .dt { color: var(--blue); }
.drow .tm { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; line-height: 1.3; }
.drow .tm small { display: block; color: var(--text-3); font-size: 11px; }
.drow .dt { font-size: 15px; font-weight: 500; line-height: 1.3; }
.drow .dm { font-size: 12px; color: var(--text-3); margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.drow .chev { color: var(--text-4); }
.dp-empty { color: var(--text-2); font-size: 14px; line-height: 1.5; padding: 4px 0 16px; }
.dp-brk { background: var(--bg-2); color: var(--text-2); font-size: 14px; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.st { font-size: 12px; font-weight: 500; white-space: nowrap; border-radius: 6px; padding: 3px 8px; }
.st.open { color: var(--blue); background: var(--blue-soft); }
.st.done { color: #fff; background: var(--blue); }
.st.ext, .st.past, .st.full { color: var(--text-2); background: var(--bg-3); }

/* List (Notion) */
.nlist { border-top: 1px solid var(--line); }
.nweek { font-size: 12px; color: var(--text-3); font-weight: 500; padding: 22px 8px 6px; }
.nrow { display: grid; grid-template-columns: 92px 92px minmax(0, 1fr) 110px 104px; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-2); background: none; padding: 11px 8px; font-size: 14px; border-radius: 0; }
.nrow:hover { background: var(--bg-2); }
.nrow .c2 { color: var(--text-2); font-variant-numeric: tabular-nums; }
.nrow .ti { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nrow .ti small { color: var(--text-3); font-weight: 400; }
.nrow .act { justify-self: end; }
.nbrk { padding: 10px 8px; font-size: 13px; color: var(--text-3); border-bottom: 1px solid var(--line-2); }

.empty { text-align: center; color: var(--text-2); padding: 44px 16px; background: var(--bg-2); border-radius: 16px; }
.loading { color: var(--text-3); padding: 40px; text-align: center; }

/* Learn · Build · Grow */
.path { padding: 64px 0 8px; }
.sec-head { margin-bottom: 18px; }
.sec-head .k { font-size: 13px; color: var(--blue); font-weight: 500; }
.sec-head h2 { margin: 4px 0 6px; font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
.sec-head p { margin: 0; color: var(--text-2); line-height: 1.55; max-width: 620px; }
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.stage { text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 16px; padding: 18px; display: grid; gap: 8px; align-content: start; transition: border-color .15s, background .15s; }
.stage:hover { border-color: var(--blue-line); background: var(--blue-50); }
.stage .top { display: flex; align-items: center; gap: 10px; }
.stage .num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.stage h3 { margin: 0; font-size: 18px; font-weight: 600; }
.stage .line { font-size: 14px; font-weight: 500; }
.stage p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.stage .more-l { color: var(--blue); font-size: 14px; font-weight: 500; margin-top: 4px; }
.res-list { margin-top: 28px; border-top: 1px solid var(--line); }
.res { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; }
a.res:hover b { color: var(--blue); }
.res .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-3); color: var(--text-2); display: grid; place-items: center; }
.res b { font-weight: 500; font-size: 15px; }
.res span { display: block; color: var(--text-2); font-size: 13px; margin-top: 2px; }
.res em { font-style: normal; color: var(--text-3); font-size: 13px; }
footer { padding: 40px 0; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 20px; align-items: center; }
footer .by { display: flex; align-items: center; gap: 8px; }
footer img { height: 20px; }

/* Peek (side sheet) */
.scrim { position: fixed; inset: 0; background: rgba(17,26,46,.28); z-index: 60; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(480px, calc(100% - 20px)); background: var(--bg); z-index: 61; box-shadow: var(--shadow-lg); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
.drawer-head { padding: 18px 22px 14px; position: relative; }
.drawer-head h2 { margin: 10px 40px 0 0; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.drawer-close { position: absolute; top: 14px; right: 14px; color: var(--text-2); background: var(--bg-3); border-radius: 50%; width: 30px; height: 30px; }
.drawer-close:hover { background: #e9ecf1; }
.drawer-body { padding: 4px 22px 24px; overflow-y: auto; flex: 1; display: grid; gap: 18px; align-content: start; }
.props { display: grid; gap: 2px; }
.prop { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 8px; font-size: 14px; padding: 6px 0; align-items: start; }
.prop .pl { color: var(--text-3); display: flex; gap: 7px; align-items: center; }
.prop .pv small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.divider { height: 1px; background: var(--line-2); }
.desc { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 0; white-space: pre-line; }
.cta-box { background: var(--bg-2); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.cta-box h3 { margin: 0; font-size: 16px; font-weight: 600; }
.cta-box p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.me-line { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.me-line .link-btn { margin-left: auto; }
.form { display: grid; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field label small { color: var(--text-3); font-weight: 400; }
.input, .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.check input { margin-top: 2px; accent-color: var(--blue); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13px; color: var(--text-3); line-height: 1.5; margin: 0; }
.alert { border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; background: var(--bg-3); color: var(--text-2); }
.alert.bad { background: #fdf4f3; color: var(--danger); }
.alert.ok { background: var(--blue-soft); color: var(--blue-deep); }
.success { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 6px 0 4px; }
.success .tick { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.success h3 { margin: 4px 0 0; font-size: 20px; }
.success p { margin: 0; color: var(--text-2); font-size: 14px; }
.suggest { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 12px 14px; }
.suggest:hover { border-color: var(--blue-line); }
.suggest small { display: block; font-size: 12px; color: var(--text-3); }
.suggest b { font-weight: 500; font-size: 14px; }

/* Stage pop-up */
.modal { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(600px, calc(100% - 32px)); max-height: min(78vh, 760px); background: var(--bg); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.modal-head { padding: 20px 22px 14px; position: relative; border-bottom: 1px solid var(--line-2); }
.modal-head h2 { margin: 10px 40px 4px 0; font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.modal-head p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.modal-body { overflow-y: auto; padding: 6px 22px; }
.modal-foot { padding: 12px 22px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; }
.si { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-2); background: none; padding: 14px 0; }
.si:last-child { border-bottom: 0; }
.si:hover .si-t { color: var(--blue); }
.si-t { font-size: 16px; font-weight: 600; line-height: 1.3; }
.si-m { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.si-d { font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.si-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.si .st { margin-top: 2px; }

/* My sessions */
.mine-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.datebox { width: 52px; border-radius: 12px; background: var(--bg-3); text-align: center; padding: 6px 0; }
.datebox small { display: block; font-size: 11px; color: var(--blue); font-weight: 600; text-transform: uppercase; }
.datebox b { font-size: 20px; font-weight: 600; }
.mine-item .mt { font-weight: 500; font-size: 15px; }
.mine-item .ms { font-size: 13px; color: var(--text-2); margin-top: 2px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 14px; z-index: 90; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.toast.bad { background: var(--danger); }

/* Admin month grid (shared renderMonth) */
.month { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.dow-row { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.dow { padding: 10px 12px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { position: relative; min-height: 128px; padding: 6px 6px 10px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.day:nth-child(7n) { border-right: 0; }
.day.we, .day.out { background: var(--bg-2); }
.day.out .dnum, .day.out .chips-col { opacity: .45; }
.day.brk { background: var(--bg-3); }
.day.past .chips-col { opacity: .55; }
.day-h { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 26px; }
.dnum { font-size: 13px; font-weight: 500; color: var(--text-2); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.day.today .dnum { background: var(--blue); color: #fff; }
.brk-tag { border: 0; background: var(--bg); color: var(--text-2); font-size: 11px; font-weight: 500; border-radius: 6px; padding: 2px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chips-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chip-ev { display: flex; align-items: baseline; gap: 6px; width: 100%; text-align: left; border: 0; background: color-mix(in srgb, var(--c) 10%, #fff); border-radius: 6px; padding: 4px 7px; font-size: 12px; line-height: 1.25; min-width: 0; }
.chip-ev:hover { background: color-mix(in srgb, var(--c) 18%, #fff); }
.chip-ev .t { color: var(--c); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip-ev .n { color: var(--ink); overflow: hidden; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.chip-ev.draft { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.chip-ev.draft .n::after { content: " · draft"; color: var(--text-3); }
.more { border: 0; background: none; color: var(--blue); font-size: 12px; font-weight: 500; text-align: left; padding: 2px 4px; }
.add-day { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; opacity: 0; transition: opacity .12s; }
.day:hover .add-day, .add-day:focus-visible { opacity: 1; }
.pop { position: fixed; z-index: 62; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px; width: 280px; display: grid; gap: 4px; }
.pop h4 { margin: 0 0 4px; font-size: 14px; }

@media (max-width: 900px) {
  .cal-split { grid-template-columns: 1fr; }
  .daypanel { position: static; }
  .stages { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brandmark .by span, .brandmark .name { display: none; }
  .page-head { padding: 22px 0 14px; }
  .page-head p { font-size: 15px; }
  .mgrid { padding: 8px 6px 12px; }
  .mcell { height: 52px; gap: 3px; padding-top: 3px; }
  .mcell .n { width: 30px; height: 30px; font-size: 15px; }
  .month-nav h2 { font-size: 18px; min-width: 0; }
  .nrow { grid-template-columns: 64px minmax(0, 1fr) auto; row-gap: 2px; }
  .nrow .c2.time { grid-column: 2; grid-row: 2; font-size: 13px; }
  .nrow .ti { grid-column: 2; grid-row: 1; }
  .nrow .tg { display: none; }
  .nrow .act { grid-column: 3; grid-row: 1 / 3; }
  .grid2 { grid-template-columns: 1fr; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
  .modal { top: auto; bottom: 0; left: 0; transform: none; width: 100%; max-height: 88vh; border-radius: 18px 18px 0 0; }
  .nudge .go { display: none; }
}

/* Launching soon */
.launch { padding: 56px 0 8px; }
.launch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lc { display: grid; gap: 8px; align-content: start; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: border-color .15s, background .15s; }
a.lc:hover { border-color: var(--blue-line); background: var(--blue-50); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.lc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.lc-pill { font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--bg-3); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.lc-pill.live { color: #fff; background: var(--blue); }
.lc h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lc p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; min-height: 28px; }
.lc-logos { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.lc-logos img { width: 26px; height: 26px; border-radius: 7px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); padding: 2px; }
.lc-open { color: var(--blue); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 640px) { .launch-grid { grid-template-columns: 1fr; } }
