/* Sidequest — minimal, premium, mobile-first. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #161616;
  --ink-2: #4a4a47;
  --muted: #7b7a74;
  --line: #e8e6df;
  --line-2: #d9d6cc;
  --soft: #f3f1ec;
  --accent: #e0572b;
  --accent-soft: #fbe9e2;
  --ok: #2f6b4a;
  --ok-soft: #e4efe8;
  --warn: #8a5a12;
  --warn-soft: #f6ecd9;
  --danger: #a33a2a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 18, .04), 0 8px 24px rgba(20, 20, 18, .04);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 12px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.ico { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.center { text-align: center; }
.block { display: block; width: 100%; }
.grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.boot { display: grid; place-items: center; height: 100vh; font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--muted); }

/* ---------- Layout ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 20px 18px 40px; }
.page.wide { max-width: 1180px; }
.app-page { padding-bottom: calc(var(--tab-h) + 28px + var(--safe-b)); }
.page.bare { max-width: 520px; padding-top: 12px; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1180px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.035em; }
.brand-mark { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--ink); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.top-links { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--ink-2); }
.top-links a:hover { color: var(--ink); }
.conf-switch, .side-conf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.conf-switch b, .side-conf b { display: block; font-size: 15px; line-height: 1.2; }
.conf-switch small, .side-conf small { display: block; color: var(--muted); font-size: 12px; }
.conf-mark { width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.conf-mark.lg { width: 48px; height: 48px; border-radius: 13px; font-size: 20px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; color: var(--ink-2); flex: none; }
.icon-btn:hover { background: var(--soft); }
.dot-badge { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

/* Bottom tab bar (mobile) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; }
.tab.on { color: var(--ink); }
.tab.on .ico { stroke-width: 2; }
.tab .badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 17px; height: 17px; font-size: 10px; }
.side { display: none; }

/* Desktop */
@media (min-width: 1000px) {
  .side { display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; width: 240px; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--bg); z-index: 25; gap: 22px; }
  .side-conf { padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-nav .tab { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); }
  .side-nav .tab:hover { background: var(--soft); }
  .side-nav .tab.on { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
  .side-nav .tab .badge { position: static; margin-left: auto; }
  .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
  .side-me { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14px; color: var(--ink-2); text-align: left; }
  .side-me:hover { background: var(--soft); }
  .side-me .badge { margin-left: auto; }
  .topbar.app, .tabbar { display: none; }
  .app-page { margin-left: 240px; padding: 32px 40px 60px; }
  .app-page.wide { max-width: none; }
  .app-page:not(.wide) { max-width: calc(760px + 240px); padding-left: calc(240px + 40px); margin-left: 0; margin-right: auto; }
  .app-page:not(.wide) > * { max-width: 720px; }
  .app-page.chat-page { padding: 0 40px 96px calc(240px + 40px) !important; }
}
@media (max-width: 999px) { .hide-m { display: none !important; } }

/* ---------- Type ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.page-title { font-size: 28px; line-height: 1.15; font-weight: 700; margin: 4px 0 6px; }
.section-title { font-size: 17px; font-weight: 650; margin: 28px 0 12px; }
.sub-title { font-size: 14px; font-weight: 600; margin: 18px 0 10px; color: var(--ink-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.section-head .section-title { margin-bottom: 12px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head .muted { margin: 0; }
.link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; font-size: 14px; }
.link:hover { text-decoration-color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 580px; line-height: 1.55; }
.bio { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 18px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2b2b29; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--soft); }
.btn.on { background: var(--accent-soft); border-color: #f0c4b3; color: #9b3514; }
.btn.danger { color: var(--danger); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15.5px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.linkedin { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.g { font-weight: 800; color: #4285f4; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: inherit; opacity: .65; font-size: 11.5px; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; margin-bottom: 6px; }
.chips-row::-webkit-scrollbar { display: none; }
.chips-row.wrap { flex-wrap: wrap; overflow: visible; }
.more-cats { display: contents; }
.more-cats summary { list-style: none; cursor: pointer; }
.more-cats summary::-webkit-details-marker { display: none; }
.more-cats[open] > .chips-row { flex-basis: 100%; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; margin: -2px 0 12px; }
.suggest .chip { height: 30px; font-size: 13px; background: transparent; border-style: dashed; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px; background: var(--soft); font-size: 12.5px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.tag.dark { background: var(--ink); color: #fff; }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.accent { background: var(--accent-soft); color: #9b3514; margin-left: 8px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 18px; }
.grid-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack-list { display: flex; flex-direction: column; gap: 10px; }

.avatar { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; font-weight: 650; flex: none; letter-spacing: .01em; }
.stack { display: inline-flex; }
.stack .avatar, .stack-more { border: 2px solid var(--surface); margin-left: -8px; }
.stack .avatar:first-child { margin-left: 0; }
.stack-more { display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 11px; font-weight: 600; color: var(--ink-2); }
.verified { color: #0a66c2; display: inline-flex; vertical-align: -2px; }

/* Person card */
.person { padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.person:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.person-top { display: flex; gap: 13px; align-items: flex-start; }
.person-id { flex: 1; min-width: 0; }
.person-name { font-weight: 650; font-size: 16.5px; letter-spacing: -.015em; line-height: 1.25; }
.person-id .muted { font-size: 14px; line-height: 1.35; }
.type-pill { font-size: 11.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.person-line { display: flex; gap: 10px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.fund { color: var(--ok); font-weight: 600; font-size: 13px; }
.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.reasons li { font-size: 13px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.reasons .ico { color: var(--accent); }
.dates { font-size: 13px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: auto; padding-top: 4px; }
.person .card-actions .btn { flex: 1; }
.people-grid { display: grid; gap: 14px; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 640px) { .people-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
@media (min-width: 1000px) {
  .app-page.wide > * { max-width: 1240px; }
  .event.compact .event-foot { flex-direction: column; align-items: stretch; }
  .event.compact .event-btns { margin-left: 0; }
  .event.compact .event-btns .btn { flex: 1; }
  .home-side { position: sticky; top: 24px; }
  .person-name { font-size: 16px; }
}

/* Event card */
.event { padding: 14px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.event:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.event-main { display: flex; gap: 14px; }
.event-date { width: 52px; flex: none; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 0; line-height: 1.1; align-self: flex-start; }
.event-date span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.event-date b { font-size: 20px; letter-spacing: -.02em; }
.event-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.event-body h3 { font-size: 16px; font-weight: 650; line-height: 1.3; }
.event-body .muted { font-size: 13.5px; }
.event-meta { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; margin-bottom: 4px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); margin: 0 4px; }
.event-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 11px; flex-wrap: wrap; }
.going { display: flex; align-items: center; gap: 8px; min-width: 0; }
.event-btns { display: flex; gap: 6px; margin-left: auto; }
.event.compact .event-date { width: 46px; }
.event.compact .event-date b { font-size: 17px; }
.event.compact .event-body h3 { font-size: 15px; }

/* Row card */
.row-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; width: 100%; text-align: left; }
a.row-card:hover, button.row-card:hover { border-color: var(--line-2); }
.row-card .grow > b, .row-card .grow > span { display: block; }
.row-card .grow b { font-size: 15px; font-weight: 600; }
.row-card.unread b { font-weight: 700; }
.row-card.slim { padding: 8px 10px; }
.row-btns { display: flex; gap: 6px; align-items: center; flex: none; }
.req-snip { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.reason-inline { display: flex !important; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.reason-inline .ico { color: var(--accent); }

/* ---------- Landing ---------- */
.hero { padding: 44px 0 28px; }
.hero.small { padding: 36px 0 12px; }
.hero h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.04; font-weight: 750; letter-spacing: -.045em; margin-bottom: 18px; max-width: 820px; }
.hero.small h1 { font-size: clamp(32px, 6vw, 48px); }
.conf-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 26px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.conf-tag .conf-mark { width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-faces { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin: 10px 0 8px; }
.stats > div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div:nth-child(2n) { border-right: 0; }
.stats > div:nth-child(n+3) { border-bottom: 0; }
.stats b { display: block; font-size: 32px; letter-spacing: -.04em; font-weight: 700; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div { border-bottom: 0; } .stats > div:nth-child(2n) { border-right: 1px solid var(--line); } .stats > div:last-child { border-right: 0; } }
.how { display: grid; gap: 14px; margin: 34px 0 10px; }
@media (min-width: 720px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how > div { padding: 4px 0; }
.how b { display: block; font-size: 16px; margin: 10px 0 4px; }
.how p { font-size: 14.5px; }
.how-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.conf-card { display: flex; align-items: center; gap: 16px; padding: 18px; transition: border-color .15s, box-shadow .15s; }
.conf-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.conf-card > div { flex: 1; min-width: 0; }
.conf-card h3 { font-size: 17px; font-weight: 650; }
.add-conf, .demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); margin-top: 22px; flex-wrap: wrap; }
.demo-banner { border-style: solid; background: var(--accent-soft); border-color: #f2cdbf; }
.demo-banner.compact { padding: 10px 14px; margin: 18px 0; background: var(--soft); border-color: var(--line); }
.disclaimer { margin-top: 30px; }
.foot { max-width: 1180px; margin: 0 auto; padding: 24px 18px 40px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.form label small { font-weight: 400; }
input[type=text], input[type=email], input[type=url], input[type=date], input[type=time], input[type=search], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; font-weight: 400; color: var(--ink);
}
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 22, 22, .07); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13.5px; font-weight: 550; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.row2, .row3 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 480px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 > :first-child { grid-column: span 2; } }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all .12s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(22, 22, 22, .15); }
.check { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.searchbar, .linkbar { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); margin-bottom: 12px; color: var(--muted); }
.searchbar:focus-within, .linkbar:focus-within { border-color: var(--ink); }
.searchbar input, .linkbar input { border: 0 !important; box-shadow: none !important; padding-left: 0; background: transparent; }
.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 14px; min-height: 30px; }
.bare-select { width: auto; min-height: 32px; border: 0; background: transparent; font-size: 13px; color: var(--ink-2); padding: 4px 8px; }
.note { display: flex; gap: 8px; align-items: center; padding: 12px 14px; background: var(--soft); border-radius: 12px; font-size: 13.5px; color: var(--ink-2); margin: 14px 0; }
.note.warn { background: var(--warn-soft); color: var(--warn); }
.photo-row { display: flex; gap: 14px; align-items: flex-end; }
.photo-pick { width: 72px !important; height: 72px; border-radius: 50%; border: 1px dashed var(--line-2); display: grid !important; place-items: center; align-content: center; gap: 0 !important; cursor: pointer; overflow: hidden; flex: none; color: var(--muted); background: var(--surface); }
.photo-pick img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick small { font-size: 11px; }
.role-block { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.role-block h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.role-block h3 .ico { color: var(--accent); }

/* People layout with filter panel */
.people-layout { display: block; }
.filter-panel { display: none; }
@media (min-width: 1000px) {
  .people-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
  .filter-panel { display: block; position: sticky; top: 24px; }
  .filter-panel .form { gap: 12px; }
  .filter-panel select, .filter-panel input { min-height: 40px; padding: 8px 12px; font-size: 14px; }
}

/* ---------- Onboarding ---------- */
.onboard { padding-bottom: 40px; }
.ob-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ob-head .back { margin: 0; }
.progress { height: 3px; background: var(--line); border-radius: 3px; margin: 12px 0 28px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .3s; }
.ob-title { font-size: 30px; font-weight: 720; letter-spacing: -.035em; margin-bottom: 8px; line-height: 1.15; }
.auth-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Home ---------- */
.greet h1 { font-size: 30px; font-weight: 720; letter-spacing: -.035em; }
.greet { margin-bottom: 18px; }
.home-grid { display: grid; gap: 8px; }
@media (min-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } .home-side > section:first-child .section-title { margin-top: 0; } }
.day-card .section-title { margin-top: 0; }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li a { display: flex; gap: 16px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.day-list li:first-child a { border-top: 0; padding-top: 2px; }
.day-list .t { font-variant-numeric: tabular-nums; font-weight: 650; width: 46px; flex: none; }
.day-list .grow small { display: block; font-size: 13px; }
.pulse-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.pulse-stats b { display: block; font-size: 20px; letter-spacing: -.03em; }
.pulse-stats span { font-size: 12px; color: var(--muted); }
.home-side .pulse { margin-top: 22px; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li button { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.notif-list li.unread span > span:first-child { font-weight: 600; }
.notif-list li button > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.notif-list.plain li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.notif-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; }
.notif-list li.unread .notif-ic { background: var(--accent-soft); color: #9b3514; }

/* ---------- Profile ---------- */
.profile-hero { display: flex; gap: 18px; align-items: center; margin: 4px 0 18px; }
.profile-name { font-size: 26px; font-weight: 720; letter-spacing: -.03em; line-height: 1.2; }
.profile-role { font-size: 16px; color: var(--ink-2); }
.li-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #0a66c2; font-weight: 550; font-size: 14px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.profile-actions .btn { flex: 1 1 auto; }
@media (min-width: 700px) { .profile-actions .btn { flex: 0 0 auto; } }
.why { margin: 16px 0; background: #fffdf9; }
.why h3 { font-size: 14px; margin-bottom: 8px; }
.looking { margin: 16px 0; padding-left: 14px; border-left: 3px solid var(--accent); }
.looking p { font-size: 16px; margin: 2px 0 0; }
.company { margin: 16px 0; }
.company b { display: block; font-size: 16px; margin: 2px 0 4px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 18px 0; }
.facts > div { background: var(--surface); padding: 12px 14px; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 550; font-size: 14.5px; }
.ev-facts { grid-template-columns: 1fr; }
.ev-facts > div { display: flex; gap: 14px; align-items: flex-start; }
.ev-facts dt { padding-top: 2px; color: var(--ink-2); }
.ev-facts dd { display: flex; flex-direction: column; }
.req-card p { margin: 6px 0 10px; font-size: 15px; }
.slot-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 18px 0 4px; }
.stat-row > div { padding: 14px; text-align: center; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-size: 22px; letter-spacing: -.03em; }
.stat-row span { font-size: 12.5px; color: var(--muted); }
.menu { display: flex; flex-direction: column; }
.menu > a, .menu > button, .menu > .proto { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.menu > :last-child { border-bottom: 0; }
.menu > a:hover, .menu > button:hover { background: #fcfbf8; }
.menu small { display: block; font-size: 13px; }
.menu:not(.card) > button { flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.menu:not(.card) > button small { flex-basis: 100%; padding-left: 32px; }
.menu-sub { padding: 12px 16px; }
.proto .btn { flex: none; }
.toggles .toggle { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggles .toggle:last-child { border-bottom: 0; }
.toggle input { position: absolute; opacity: 0; }
.switch { width: 42px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.toggle input:checked + .switch { background: var(--ink); }
.toggle input:checked + .switch::after { transform: translateX(16px); }
.toggle input:focus-visible + .switch { box-shadow: 0 0 0 3px rgba(22, 22, 22, .15); }

/* Availability */
.avail-day { margin-bottom: 12px; }
.avail-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.blocks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.block-row { display: flex; align-items: center; gap: 8px; }
.block-row input { max-width: 140px; min-height: 40px; padding: 6px 10px; }

/* ---------- Meetings / schedule ---------- */
.seg { display: flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 2px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.seg button { flex: 1; height: 36px; padding: 0 12px; border-radius: 9px; font-size: 14px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.sched-day { margin-bottom: 18px; }
.day-head { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; margin: 18px 0 8px; display: flex; align-items: center; }
.day-head .muted { margin-left: 6px; font-weight: 500; }
h2.day-head { font-size: 13px; }
.sched-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
a.sched-row:hover { border-color: var(--line-2); }
.sched-time { font-variant-numeric: tabular-nums; font-weight: 650; width: 44px; flex: none; }
.sched-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sched-body b { font-weight: 600; font-size: 15px; }
.sched-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: #9b3514; flex: none; }
.sched-ic.program { background: var(--soft); color: var(--ink-2); }

/* Chat */
.chat-page { display: flex; flex-direction: column; min-height: 100vh; padding: 0 0 calc(72px + var(--safe-b)) !important; }
.chat-head { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(251, 250, 247, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chat-who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.chat-who b { display: block; font-size: 15px; }
.chat-who small { display: block; font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chat-log { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.day-break { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 6px; }
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.wide { max-width: 92%; }
.bubble { padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg.me .bubble { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 18px 18px 6px 18px; }
.msg time { font-size: 11px; color: var(--muted); margin: 2px 6px 4px; }
.event-share { display: flex; gap: 10px; align-items: center; }
.event-share small { display: block; opacity: .75; font-size: 12.5px; }
.meet-card { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); min-width: 250px; }
.meet-card.ok { border-color: #bcd6c6; background: #f6faf7; }
.meet-card.off { opacity: .55; }
.meet-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.meet-card.ok .meet-label { color: var(--ok); }
.meet-when { font-weight: 650; font-size: 16px; }
.meet-when.lg { font-size: 20px; }
.meet-time { font-size: 15px; font-variant-numeric: tabular-nums; }
.meet-time.lg { font-size: 18px; }
.meet-where { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); margin-top: 6px; flex-wrap: wrap; }
.meet-where > span { display: flex; flex-direction: column; }
.meet-btns { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.smart-hint { position: fixed; left: 12px; right: 12px; bottom: calc(72px + var(--safe-b)); z-index: 11; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; max-width: 736px; margin: 0 auto; }
.smart-hint .ico { color: var(--accent); }
.composer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; align-items: center; gap: 6px; padding: 10px 10px calc(10px + var(--safe-b)); background: var(--bg); border-top: 1px solid var(--line); }
.composer form { flex: 1; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 0 4px 0 14px; }
.composer input { border: 0 !important; box-shadow: none !important; padding: 0; min-height: 44px; background: transparent; }
.send { color: var(--ink); }
@media (min-width: 1000px) {
  .composer, .smart-hint { left: 240px; }
  .composer { padding-left: 40px; padding-right: 40px; }
  .chat-head { padding: 14px 0; margin: 0 0 0; }
  .chat-log { padding: 20px 0; }
  .smart-hint { left: calc(240px + 40px); right: auto; width: 720px; margin: 0; }
}

.meeting-hero { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 16px; }
.meeting-hero.confirmed { background: #f6faf7; border-color: #cfe1d5; }
.meeting-hero .page-title { margin: 12px 0 10px; }
.cal-btns { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
@media (min-width: 700px) { .cal-btns { flex-direction: row; } .cal-btns .btn { flex: 1; } }
.md-foot { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }

/* ---------- Scheduler sheet ---------- */
.dur { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.day-tab { flex: none; min-width: 74px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; background: var(--surface); }
.day-tab span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.day-tab b { font-size: 20px; letter-spacing: -.02em; }
.day-tab small { font-size: 11.5px; color: var(--muted); }
.day-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day-tab.on span, .day-tab.on small { color: rgba(255, 255, 255, .75); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; margin-bottom: 12px; }
.slot { height: 46px; border: 1px solid var(--line-2); border-radius: 12px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--surface); font-size: 15px; }
.slot:hover { border-color: var(--ink); background: var(--soft); }
.area-card { padding: 16px; border-radius: 14px; background: var(--soft); margin: 4px 0 6px; }
.area-name { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin: 2px 0 4px; }
.area-times { display: flex; gap: 16px; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; flex-wrap: wrap; }
.places { display: flex; flex-direction: column; gap: 8px; }
.place { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-align: left; width: 100%; background: var(--surface); }
.place:hover { border-color: var(--line-2); }
.place.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.place b { display: block; font-size: 15px; font-weight: 600; }
.place small { display: block; font-size: 12.5px; }
.place-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; flex: none; }
.place-mins { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; flex: none; }
.custom-place { margin: 12px 0; }
.custom-place summary { cursor: pointer; font-size: 14px; font-weight: 550; color: var(--ink-2); padding: 6px 0; }
.custom-place .form { margin-top: 8px; gap: 8px; }
#sch .form { margin: 14px 0; }
#sch > .btn.block { margin-top: 6px; }
#sch .back { margin: 0 0 10px; }

/* ---------- Sheets ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 18, .32); opacity: 0; transition: opacity .2s; }
.sheet { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 22px 22px 0 0; padding: 26px 20px calc(24px + var(--safe-b)); transform: translateY(24px); opacity: 0; transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .2s; overscroll-behavior: contain; }
.sheet::before { content: ""; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); transform: translateX(-50%); }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; opacity: 1; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); z-index: 2; }
.sheet-x:hover { background: var(--soft); color: var(--ink); }
.sheet-title { font-size: 21px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 4px; padding-right: 36px; }
.sheet-actions { display: flex; gap: 10px; margin: 16px 0 10px; flex-wrap: wrap; }
.sheet-actions .btn { flex: 1; }
.connect-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-right: 30px; }
.connect-head .sheet-title { margin: 0; }
.req-msg { margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; font-size: 15px; }
.confirmed { text-align: center; padding: 8px 0; }
.confirmed .big { font-size: 20px; font-weight: 650; margin: 6px 0 2px; }
.ok-ic { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.confirmed .cal-btns { flex-direction: column; margin-top: 20px; }
@media (min-width: 760px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 480px; border-radius: 22px; padding: 28px; transform: translateY(8px) scale(.99); box-shadow: 0 20px 60px rgba(0, 0, 0, .18); max-height: 88vh; }
  .sheet.wide { max-width: 600px; }
  .sheet::before { display: none; }
}
.who-list { margin-top: 14px; }
.who-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.who { margin: 16px 0; }

/* Events */
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.day-pill { flex: none; height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.day-pill span { color: var(--muted); font-weight: 500; }
.day-pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day-pill.on span { color: rgba(255, 255, 255, .7); }
.ev-day { margin-bottom: 8px; }
.ev-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid var(--line); }
.ev-img.sm { max-height: 140px; }
.linkbar { padding-right: 5px; }
.linkbar .btn { flex: none; }

/* Empty / toasts */
.empty { text-align: center; padding: 38px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); grid-column: 1 / -1; }
.empty-title { font-weight: 650; font-size: 16px; margin-bottom: 4px; }
#toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + 14px + var(--safe-b)); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 14px; }
.toast { pointer-events: auto; max-width: 480px; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(8px); transition: all .2s; }
.toast.show { opacity: 1; transform: none; }
.toast button { font-weight: 650; color: #ffb89f; white-space: nowrap; }
@media (min-width: 1000px) { #toasts { bottom: 24px; left: 240px; } }
@media (max-width: 420px) { .hide-xs { display: none; } .page { padding-left: 14px; padding-right: 14px; } }

/* =====================================================================
   Sidequest — editorial layer (quiet luxury: Simile paper + Venten black).
   Serif display, warm paper, ink, one coral accent, hairlines, mono labels.
   ===================================================================== */
:root {
  --bg: #f5f2ec;
  --surface: #fbfaf7;
  --paper-2: #efebe3;
  --ink: #171614;
  --ink-2: #3d3a35;
  --muted: #8a857c;
  --line: #e2ddd3;
  --line-2: #cfc8bb;
  --soft: #ece8df;
  --accent: #ff4f38;
  --accent-soft: #ffe9e4;
  --ok: #2f5d46;
  --ok-soft: #e3ebe4;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(23, 22, 20, .03);
  --shadow-lg: 0 24px 60px -24px rgba(23, 22, 20, .28);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
body { background: var(--bg); color: var(--ink); font-size: 15px; letter-spacing: -.006em; }
::selection { background: rgba(255, 79, 56, .2); }

/* Type: serif display, mono labels */
h1, .page-title, .profile-name, .ob-title, .greet h1, .sheet-title, .empty-title, .area-name {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.02;
}
.page-title { font-size: 40px; margin: 6px 0 8px; }
.greet h1 { font-size: 44px; }
.ob-title { font-size: 42px; }
.profile-name { font-size: 36px; }
.sheet-title { font-size: 30px; }
.section-title { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 36px 0 14px; }
.section-head { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.section-head .section-title { margin: 36px 0 10px; }
.eyebrow, .day-head, .meet-label, .event-date span, .type-pill, .tag, .beta, .rail-meta, .stats span, .facts dt, .list-meta .muted {
  font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.day-head { font-size: 11.5px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin: 30px 0 14px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.link { text-decoration-color: rgba(23, 22, 20, .25); }
.muted { color: var(--muted); }

/* Brand: serif wordmark + coral dot */
.brand { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.01em; gap: 0; }
.brand-mark { display: none; }
.brand::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 3px; align-self: flex-end; margin-bottom: 7px; }
.beta { order: 3; margin-left: 10px; font-size: 9.5px; font-weight: 500; padding: 3px 7px; border-radius: 999px; color: var(--ink-2); border: 1px solid var(--line-2); align-self: center; font-family: var(--mono); }
.brand { display: inline-flex; align-items: center; }

/* Buttons: pill, ink, one coral */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: -.005em; border-color: var(--line-2); background: transparent; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #f5f2ec; box-shadow: none; }
.btn.primary:hover { background: #000; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: #f23c24; border-color: #f23c24; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn.ghost:hover { background: var(--soft); }
.btn.on { background: var(--accent-soft); border-color: rgba(255, 79, 56, .35); color: #c2311c; }
.chip { background: transparent; border-color: var(--line-2); color: var(--ink-2); font-weight: 450; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }
.tag { height: 22px; font-size: 10.5px; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 999px; }
.tag.accent { border-color: rgba(255, 79, 56, .4); color: #c2311c; background: transparent; }
.tag.ok { border-color: rgba(47, 93, 70, .35); color: var(--ok); background: transparent; }
.tag.warn { background: transparent; border-color: rgba(138, 90, 18, .35); }
.badge, .dot-badge { background: var(--accent); }

/* Cards: hairline, paper, no heavy shadows */
.card, .row-card, .sched-row, .how > div, .empty, .menu.card, .facts { background: var(--surface); border: 1px solid var(--line); box-shadow: none; border-radius: var(--radius); }
a.card:hover, .person:hover, .event:hover, .conf-card:hover, a.row-card:hover, a.sched-row:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.card, .event, .person, .rail-card .cover, .btn { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s, background .2s; }
.facts { gap: 0; background: var(--line); }
.facts > div { background: var(--surface); }

/* Inputs */
input[type=text], input[type=email], input[type=url], input[type=date], input[type=time], input[type=search], input:not([type]), select, textarea {
  background: var(--surface); border-color: var(--line-2); border-radius: 12px;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 22, 20, .06); }
.searchbar, .linkbar { background: var(--surface); border-color: var(--line-2); border-radius: 999px; padding-left: 18px; }
.pill span { background: transparent; border-color: var(--line-2); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }

/* ---------- Covers: muted, editorial invitation cards ---------- */
.cover { position: relative; overflow: hidden; border-radius: 12px; color: #f5f2ec; isolation: isolate; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .16), transparent 55%); }
.cover::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(245, 242, 236, .22); border-radius: 6px; pointer-events: none; }
.cover-ic { position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cover-title { position: absolute; left: 18px; right: 18px; bottom: 16px; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.02; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cover.thumb { width: 76px; height: 76px; flex: none; border-radius: 10px; }
.cover.thumb::after { inset: 5px; border-radius: 4px; }
.cover.thumb .cover-title { display: none; }
.cover.thumb .cover-ic { inset: 0; display: grid; place-items: center; left: 0; top: 0; font-family: var(--serif); font-size: 30px; letter-spacing: 0; text-transform: none; opacity: .95; }
.cover.hero-cover { width: 100%; aspect-ratio: 16 / 10; max-height: 380px; border-radius: 16px; margin: 6px 0 24px; }
.cover.hero-cover::after { inset: 14px; }
.cover.hero-cover .cover-title { font-size: clamp(34px, 7vw, 56px); left: 30px; right: 30px; bottom: 28px; }
.cover.hero-cover .cover-ic { left: 30px; top: 28px; font-size: 11px; }

/* Event cards */
.event { padding: 14px; gap: 12px; }
.event-main { gap: 16px; align-items: center; }
.event-date { display: none; }
.event-body h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.05; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-body .muted { font-size: 13px; }
.event-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 4px 0 2px; }
.event-meta .ico { display: none; }
.event-body .tags { display: none; }
.event-foot { border-top: 1px solid var(--line); padding-top: 12px; }
.event.compact .cover.thumb { width: 60px; height: 60px; }
.event.compact .event-body h3 { font-size: 19px; }

/* ---------- Landing ---------- */
.page:has(> .hero:not(.small)) { max-width: 1180px; }
.hero:not(.small) { position: relative; margin: 0 0 8px; padding: 64px 32px 44px; border-radius: 22px; background: #0c0b0a; color: #f5f2ec; overflow: hidden; isolation: isolate; }
.hero:not(.small)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 90% 10%, rgba(255, 79, 56, .22), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(245, 242, 236, .06), transparent 60%); }
.hero:not(.small)::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: rgba(245, 242, 236, .12); }
.hero:not(.small) h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 10vw, 112px); line-height: .95; letter-spacing: -.025em; color: #f5f2ec; max-width: 980px; margin: 18px 0 22px; }
.hero:not(.small) h1 .hl { font-style: italic; color: var(--accent); }
.hero:not(.small) .lead { color: rgba(245, 242, 236, .66); max-width: 560px; font-size: 18px; }
.hero:not(.small) .conf-tag { background: transparent; border: 1px solid rgba(245, 242, 236, .2); color: rgba(245, 242, 236, .8); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px 6px 6px; }
.hero:not(.small) .conf-tag b { color: #f5f2ec; font-weight: 500; }
.hero:not(.small) .conf-tag .conf-mark { background: var(--accent) !important; font-family: var(--serif); font-size: 14px; }
.hero:not(.small) .btn:not(.accent) { background: transparent; border-color: rgba(245, 242, 236, .28); color: #f5f2ec; }
.hero:not(.small) .btn:not(.accent):hover { border-color: #f5f2ec; }
.hero:not(.small) .muted { color: rgba(245, 242, 236, .55); }
.hero-live { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 242, 236, .6); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }

/* Stats: numbers as editorial figures, hairline separated */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin: 28px 0 8px; overflow: visible; }
.stats > div { padding: 22px 4px; border: 0; border-right: 1px solid var(--line); background: transparent; box-shadow: none; }
.stats > div:nth-child(2n) { border-right: 0; padding-left: 20px; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; letter-spacing: -.02em; color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }
.stats span { font-size: 10.5px; color: var(--muted); display: block; margin-top: 8px; }
.stats .tbd b { font-size: 30px; font-style: italic; color: var(--accent); -webkit-text-fill-color: var(--accent); padding-top: 14px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div, .stats > div:nth-child(2n) { padding-left: 22px; border-right: 1px solid var(--line); } .stats > div:first-child { padding-left: 4px; } .stats > div:last-child { border-right: 0; } }

/* Beta note */
.beta-card { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; margin: 4px 0 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.beta-card .beta-ic { flex: none; font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--accent); background: none; width: auto; height: auto; box-shadow: none; }
.beta-card b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; display: block; margin-bottom: 4px; }

/* Event rail */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 0 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { flex: 0 0 min(80%, 300px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.rail-card .cover { aspect-ratio: 4 / 5; }
.rail-card:hover .cover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rail-card .cover-title { font-size: 30px; }
.rail-meta { font-size: 10.5px; color: var(--muted); }
.rail-meta b { color: var(--ink); font-weight: 500; }

/* How it works: numbered editorial list */
.how { gap: 0; border-top: 1px solid var(--line); margin-top: 36px; }
.how > div { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 22px 0; }
@media (min-width: 720px) { .how > div { border-bottom: 0; border-right: 1px solid var(--line); padding: 26px 24px 26px 0; } .how > div + div { padding-left: 24px; } .how > div:last-child { border-right: 0; } }
.how-n { width: auto; height: auto; background: none; color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; box-shadow: none; }
.how-n::before { content: "0"; }
.how b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 10px 0 6px; }
.disclaimer { font-size: 12px; border-top: 1px solid var(--line); padding-top: 18px; }

/* People */
.person { padding: 18px; gap: 12px; }
.person-name { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.01em; line-height: 1.05; }
.type-pill { font-size: 9.5px; font-weight: 500; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); padding: 3px 8px; }
.avatar { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.reasons li { font-size: 13px; }
.reasons li .ico { color: var(--accent); }
.fund { color: var(--accent); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.why { background: transparent; border-left: 2px solid var(--accent); border-radius: 0; border-top: 0; border-right: 0; border-bottom: 0; padding: 4px 0 4px 16px; }
.why h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.looking { border-left-color: var(--accent); }
.looking p { font-family: var(--serif); font-size: 24px; line-height: 1.15; }

/* Home */
.day-list .t { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.day-card .section-title { margin-top: 0; }
.pulse-stats b { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.pulse-stats span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.sched-time { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.sched-ic { background: var(--soft); color: var(--ink); }

/* Meetings, scheduler */
.seg { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.seg button { border-radius: 999px; font-weight: 500; }
.seg button.on { background: var(--ink); color: #f5f2ec; box-shadow: none; }
.meet-when { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.meet-when.lg { font-size: 34px; }
.meet-time { font-family: var(--mono); font-size: 13px; }
.slot { border-radius: 999px; font-family: var(--mono); font-weight: 500; background: transparent; }
.slot:hover { background: var(--ink); color: #f5f2ec; border-color: var(--ink); }
.day-tab { background: transparent; border-color: var(--line-2); }
.day-tab b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.day-tab.on { background: var(--ink); border-color: var(--ink); }
.area-card { background: transparent; border: 1px solid var(--line); }
.area-name { font-size: 34px; }
.place.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.place-ic { background: var(--soft); }
.ok-ic { background: var(--accent-soft); color: var(--accent); }
.meeting-hero.confirmed { background: var(--surface); border-color: var(--line); }

/* Chat */
.bubble { background: var(--surface); border-color: var(--line); }
.msg.me .bubble { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }
.meet-card { background: var(--surface); border-color: var(--line-2); }
.meet-card.ok { background: var(--surface); border-color: rgba(47, 93, 70, .35); }

/* Chrome: paper topbar, ink floating tab bar */
.topbar { background: rgba(245, 242, 236, .82); border-bottom: 1px solid var(--line); }
.conf-mark { font-family: var(--serif); font-weight: 400; font-size: 18px; }
@media (max-width: 999px) {
  .tabbar { left: 14px; right: 14px; bottom: calc(12px + var(--safe-b)); height: 62px; padding: 0 6px; border-radius: 999px; border: 0; background: rgba(18, 17, 15, .94); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .tab { color: rgba(245, 242, 236, .5); border-radius: 999px; margin: 7px 2px; font-size: 10px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .tab.on { color: #f5f2ec; background: rgba(245, 242, 236, .1); }
  .tab .badge { border: 2px solid #121110; }
  .app-page { padding-bottom: calc(62px + 44px + var(--safe-b)); }
  #toasts { bottom: calc(62px + 26px + var(--safe-b)); }
  .smart-hint { bottom: calc(72px + var(--safe-b)); }
}
@media (min-width: 1000px) {
  .side { background: var(--bg); border-right: 1px solid var(--line); }
  .side-nav .tab { font-size: 14px; }
  .side-nav .tab.on { background: var(--ink); color: #f5f2ec; box-shadow: none; border-radius: 999px; }
  .side-nav .tab:hover:not(.on) { background: var(--soft); }
  .side-conf { background: transparent; border: 1px solid var(--line); box-shadow: none; }
}

/* Sheets, toasts, empty states */
.sheet { background: var(--bg); }
@media (min-width: 760px) { .sheet { border-radius: 20px; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .45); } }
.sheet-backdrop { background: rgba(12, 11, 10, .45); backdrop-filter: blur(4px); }
.toast { background: var(--ink); border-radius: 999px; padding: 12px 18px; }
.toast button { color: var(--accent); }
.empty { padding: 44px 24px; }
.empty-title { font-size: 28px; }
.empty::before { content: "✺"; display: block; font-size: 22px; color: var(--accent); margin-bottom: 10px; }
.demo-banner { background: transparent; border: 1px solid var(--line-2); border-style: dashed; }
.note { background: transparent; border: 1px solid var(--line); }
.progress span { background: var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--soft) 25%, var(--surface) 37%, var(--soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Motion: slow, subtle */
@media (prefers-reduced-motion: no-preference) {
  main.page > * { animation: fadeUp .7s var(--ease) both; }
  main.page > *:nth-child(2) { animation-delay: .05s; }
  main.page > *:nth-child(3) { animation-delay: .1s; }
  main.page > *:nth-child(n+4) { animation-delay: .15s; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Mobile fit */
@media (max-width: 760px) {
  .hero:not(.small) { padding: 40px 22px 32px; border-radius: 18px; }
  .hero:not(.small)::after { left: 22px; right: 22px; }
  .page-title { font-size: 34px; }
  .greet h1 { font-size: 38px; }
  .chips-row.wrap { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding-right: 14px; }
  .more-cats[open] > .chips-row { flex-wrap: nowrap; }
}
@media (max-width: 480px) { .top-links .hide-xs-link { display: none; } .top-links { gap: 10px; } }
html, body { overflow-x: clip; }

@media (max-width: 480px) { .hero:not(.small) .conf-tag { font-size: 9.5px; letter-spacing: .05em; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hero:not(.small) .conf-tag > span:last-child { overflow: hidden; text-overflow: ellipsis; } }

/* Event page: attendance only when there is some */
.who-strip { display: flex; align-items: center; gap: 14px; padding: 16px 0; margin: 8px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-strip .grow b { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.who-strip .grow .muted { display: block; }
.who-line { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 8px 0; }

/* ---------- Community ---------- */
.tabbar { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 999px) { .tab span { font-size: 9.5px; letter-spacing: .04em; } }
.ce-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.ce-cover { position: relative; aspect-ratio: 16 / 7; color: #f5f2ec; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.ce-cover::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(245, 242, 236, .22); border-radius: 6px; pointer-events: none; }
.ce-kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; display: block; }
.ce-kind.dark { color: var(--accent); opacity: 1; margin-bottom: 4px; }
.ce-title { font-family: var(--serif); font-size: 28px; line-height: 1.02; letter-spacing: -.01em; }
.ce-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.ce-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ce-foot { display: flex; align-items: center; gap: 10px; }
.ce-foot .tag { margin-left: auto; }
.invite-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 10px; border: 1px solid rgba(255, 79, 56, .35); border-radius: var(--radius); background: var(--surface); }
.invite-card .grow b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.05; }
.invite-card .grow .muted { display: block; margin-top: 2px; }
@media (max-width: 560px) { .invite-card { flex-direction: column; align-items: stretch; } .invite-card .row-btns .btn { flex: 1; } }
.ce-faces { display: flex; flex-wrap: wrap; gap: 8px; }
.row-card.pick { cursor: pointer; }
.row-card.pick input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.row-card.pick.on { border-color: var(--ink); }

/* ---------- Admin member database ---------- */
.adm-filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0 12px; }
@media (min-width: 900px) { .adm-filters { grid-template-columns: repeat(5, 1fr); } }
.adm-filters select { min-height: 40px; padding: 8px 12px; font-size: 14px; }
.adm-table { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.adm-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr minmax(0, 2fr) 1fr .6fr 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.adm-row:first-child { border-top: 0; }
.adm-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.adm-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-who > span { min-width: 0; }
.adm-who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-links { display: flex; gap: 12px; justify-content: flex-end; }
@media (max-width: 760px) {
  .adm-head { display: none; }
  .adm-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .adm-row > span:nth-child(3) { grid-column: 1 / -1; }
  .adm-row > span:nth-child(4), .adm-row > span:nth-child(5) { font-family: var(--mono); font-size: 11px; color: var(--muted); }
}
.consent { align-items: flex-start !important; font-size: 13px !important; color: var(--ink-2) !important; line-height: 1.5; }
.consent input { margin-top: 3px; flex: none; }

/* Stay search results (onboarding) */
.stay-results { margin-top: -6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-lg); }
.stay-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; cursor: pointer; font: inherit; color: var(--ink); }
.stay-opt:first-child { border-top: 0; }
.stay-opt:hover, .stay-opt:focus-visible { background: var(--soft); outline: none; }
.stay-opt b { font-weight: 550; }

/* Sign in for returning members */
.top-signin { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 0 4px; }
.top-signin:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-signin { margin-top: 14px; color: rgba(245, 242, 236, .6) !important; }
.hero-signin .link { color: #f5f2ec; }

.code-input { font-family: var(--mono); font-size: 24px; letter-spacing: .35em; text-align: center; }

/* Sign-in: "check your email" screen */
.sent-card { text-align: center; padding: 28px 20px 8px; }
.sent-ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.sent-title { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 0 0 8px; }
.sent-email { font-weight: 600; word-break: break-all; margin-top: 2px; }
.code-input { font-family: var(--mono); font-size: 26px; letter-spacing: .4em; text-align: center; height: 60px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sidequest home (all conferences) ---------- */
.page:has(> .home-hero) { max-width: 1180px; }
.home-hero { position: relative; margin: 0 0 8px; padding: 56px 32px 44px; border-radius: 22px; background: #0c0b0a; color: #f5f2ec; overflow: hidden; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 90% 10%, rgba(255, 79, 56, .22), transparent 60%); }
.home-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 8.5vw, 96px); line-height: .98; letter-spacing: -.025em; max-width: 980px; margin: 18px 0 20px; color: #f5f2ec; }
.home-hero h1 .hl { font-style: italic; color: var(--accent); }
.home-hero .lead { color: rgba(245, 242, 236, .66); max-width: 600px; }
.home-hero .hero-live { margin-top: 0; }
.home-hero .btn:not(.accent) { background: transparent; border-color: rgba(245, 242, 236, .28); color: #f5f2ec; }
.conf-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .conf-grid { grid-template-columns: repeat(3, 1fr); } }
.conf-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 190px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
a.conf-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.conf-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.conf-tile-when { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.conf-tile-name { font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -.01em; }
.conf-tile-city { color: var(--muted); font-size: 14px; }
.conf-tile-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.conf-tile-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }
.conf-tile.soon { border-style: dashed; background: transparent; }
.conf-tile.soon .conf-tile-name { color: var(--ink-2); }
.conf-mark.ghost { background: transparent !important; border: 1px dashed var(--line-2); color: var(--muted); }
.side-all { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; padding: 2px 6px 10px; }
.side-all:hover { color: var(--ink); }
@media (max-width: 760px) { .home-hero { padding: 40px 22px 32px; border-radius: 18px; } }

/* ---------- Career (private) ---------- */
.private-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 6px 0 18px; border: 1px solid var(--line-2); border-left: 3px solid var(--ink); border-radius: 12px; background: var(--surface); }
.private-note b { display: block; font-weight: 600; }
.private-note span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.career-seg { display: inline-flex; margin-bottom: 18px; }
.career-seg a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.career-seg a.on { background: var(--ink); color: #f5f2ec; }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.choice b { display: block; font-weight: 600; }
.choice small { display: block; margin-top: 2px; }
.big-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.big-check b { display: block; font-weight: 600; }
.big-check small { display: block; margin-top: 2px; }
.talent-more, .cof-more { display: flex; flex-direction: column; gap: 14px; }
.talent-more[hidden], .cof-more[hidden] { display: none; }

/* ---------- Admin tabs ---------- */
.adm-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 4px 0 18px; padding-bottom: 2px; }
.adm-tabs a { flex: none; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.adm-tabs a.on { background: var(--ink); border-color: var(--ink); color: #f5f2ec; }
.adm-tabs a b { font-family: var(--mono); font-weight: 500; font-size: 11px; margin-left: 6px; opacity: .7; }
.tal-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
.tal-head { display: flex; align-items: center; gap: 12px; }
.tal-head .grow b { display: block; font-weight: 600; }
.tal-roles { font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.tal-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.tal-note { font-size: 14px; color: var(--ink-2); }
.tal-admin { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tal-admin .tag { background: var(--accent-soft); border-color: transparent; color: #c2311c; }
.exp-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.exp-card b { display: block; font-weight: 600; }
.exp-card p { margin: 2px 0 0; }
.llm-prompt { width: 100%; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; min-height: 140px; }
@media (max-width: 560px) { .exp-card { flex-direction: column; align-items: stretch; } }
