/* Family PMO — design system in the iOS 27 "Liquid Glass" language: translucent floating bars, concentric corners,
   large titles, SF type, calm neutrals with one accent; semantic color only where it carries meaning. */
:root {
  --bg: #f2f2f7; --surface: rgba(255,255,255,.86); --surface-solid: #ffffff; --surface-2: #f2f2f7; --ink: #1d1d1f; --ink-2: #3a3a3c; --muted: #6e6e73; --faint: #aeaeb2;
  --line: rgba(60,60,67,.12); --line-strong: rgba(60,60,67,.26);
  --accent: #5e5ce6; --accent-ink: #ffffff; --accent-soft: rgba(94,92,230,.11);
  --red: #ff3b30; --orange: #ff9500; --green: #34c759; --teal: #30b0c7; --blue: #007aff; --purple: #af52de; --pink: #ff2d55;
  --glass: rgba(255,255,255,.62); --glass-line: rgba(255,255,255,.7); --glass-shadow: 0 10px 30px -10px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.75);
  --shadow-1: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px -12px rgba(0,0,0,.12);
  --shadow-2: 0 18px 48px -18px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.06);
  --r-xl: 28px; --r: 18px; --r-sm: 12px; --r-xs: 8px;
  --sidebar: 244px; --detail: 470px;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.3,.5,1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --surface: rgba(28,28,30,.86); --surface-solid: #1c1c1e; --surface-2: #2c2c2e; --ink: #f5f5f7; --ink-2: #e5e5ea; --muted: #98989d; --faint: #636366;
    --line: rgba(84,84,88,.5); --line-strong: rgba(84,84,88,.8); --accent: #7d7aff; --accent-soft: rgba(125,122,255,.18);
    --glass: rgba(40,40,44,.55); --glass-line: rgba(255,255,255,.12); --glass-shadow: 0 10px 30px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
    --shadow-1: 0 1px 2px rgba(0,0,0,.5); --shadow-2: 0 18px 48px -18px rgba(0,0,0,.8); }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, Segoe UI, Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior-y: none;
  background-image: radial-gradient(1200px 600px at 10% -10%, var(--accent-soft), transparent 60%), radial-gradient(900px 500px at 110% 10%, rgba(48,176,199,.10), transparent 60%); background-attachment: fixed; }
body.locked { overflow: hidden; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .err { color: var(--red); min-height: 1.2em; font-size: 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; }
h1 { font-size: 30px; font-weight: 700; } h2 { font-size: 17px; font-weight: 600; } h3 { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
a { color: var(--accent); text-decoration: none; }
svg { width: 20px; height: 20px; flex: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.glass { background: var(--glass); backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); }
.primary { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; transition: transform .12s var(--spring), filter .15s; box-shadow: 0 6px 16px -8px var(--accent); }
.primary:hover { filter: brightness(1.06); } .primary:active { transform: scale(.96); } .primary:disabled { opacity: .5; }
.secondary { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; }
.ghost { color: var(--accent); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; } .ghost:hover { background: var(--accent-soft); }
.danger { color: var(--red); }
.wide { width: 100%; }
.small { font-size: 13px; padding: 6px 12px; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background .15s; } .icon-btn:hover { background: var(--accent-soft); color: var(--accent); }
.link { color: var(--accent); font-size: 13px; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-sm); padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface-solid); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 5px; font-weight: 500; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }

/* ---------- login ---------- */
.screen { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 340px; text-align: center; border-radius: var(--r-xl); padding: 34px 26px 26px; }
.login-card .logo { color: var(--accent); margin-bottom: 8px; } .login-card .logo svg { width: 44px; height: 44px; }
.login-card h1 { font-size: 24px; margin-bottom: 2px; }
.login-card input { text-align: center; font-size: 28px; letter-spacing: .35em; margin: 18px 0 12px; padding: 12px; border-radius: 16px; }

/* ---------- app frame ---------- */
.app { display: grid; grid-template-columns: 1fr; min-height: 100dvh; }
.sidebar { display: none; }
.content { display: flex; flex-direction: column; min-width: 0; min-height: 100dvh; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 20px 8px; background: linear-gradient(var(--bg) 70%, transparent); }
.topbar h1 { font-size: 32px; }
main { flex: 1; padding: 4px 16px calc(96px + env(safe-area-inset-bottom)); }
.view { display: none; } .view.active { display: block; animation: rise .24s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* floating glass tab bar (phone) */
.tabbar { position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; display: flex; justify-content: space-around; padding: 6px; border-radius: 999px; }
.tabbar button { flex: 1; display: grid; justify-items: center; gap: 1px; color: var(--muted); font-size: 10.5px; font-weight: 600; padding: 6px 0 4px; position: relative; border-radius: 999px; transition: background .2s var(--ease), color .2s; }
.tabbar button svg { width: 23px; height: 23px; }
.tabbar button.on { color: var(--accent); background: var(--accent-soft); }
.tabbar .dot { position: absolute; top: 4px; right: calc(50% - 17px); width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface-solid); } .tabbar .dot:empty { display: none; }

/* avatars & chips */
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; flex: none; }
.avatar.small { width: 28px; height: 28px; font-size: 12px; } .avatar.xs { width: 20px; height: 20px; font-size: 10px; }
.avatar.m { background: rgba(255,45,85,.14); color: var(--pink); } .avatar.claw { background: rgba(48,176,199,.16); color: var(--teal); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; transition: all .15s; }
.chip.on { background: var(--accent); color: #fff; border-color: transparent; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; background: var(--faint); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.status-dot.do-now { background: var(--red); } .status-dot.active { background: var(--green); } .status-dot.blocked { background: var(--orange); } .status-dot.in-trial { background: var(--teal); }
.status-dot.queued { background: var(--faint); } .status-dot.future-state, .status-dot.slow-lane { background: var(--purple); opacity: .55; } .status-dot.closed { background: var(--faint); opacity: .35; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag.risk { color: var(--orange); background: rgba(255,149,0,.13); border-color: transparent; } .tag.issue { color: var(--red); background: rgba(255,59,48,.12); border-color: transparent; }
.tag.research { color: var(--blue); background: rgba(0,122,255,.12); border-color: transparent; } .tag.decision { color: var(--green); background: rgba(52,199,89,.14); border-color: transparent; }
.tag.question { color: var(--purple); background: rgba(175,82,222,.14); border-color: transparent; }
.tag.unverified { color: var(--orange); }

/* ---------- inbox ---------- */
.composer { background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r); box-shadow: var(--shadow-1); border: 1px solid var(--line); padding: 14px 16px 12px; margin: 6px 0 16px; transition: box-shadow .2s, border-color .2s; }
.composer:focus-within { box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-2); border-color: var(--accent); }
.composer textarea { border: 0; background: transparent; padding: 4px 2px; font-size: 18px; line-height: 1.4; resize: none; min-height: 32px; max-height: 40vh; box-shadow: none !important; }
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.composer-bar .hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint); } .composer-bar .hint svg { width: 14px; height: 14px; }
.stack { display: grid; gap: 12px; }
.card { background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 14px 16px; animation: rise .22s var(--ease); }
.card.pending { opacity: .7; }
.cap-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--muted); font-size: 12.5px; }
.cap-text { font-size: 16.5px; white-space: pre-wrap; line-height: 1.45; }
.proposal { margin-top: 12px; border-radius: 14px; background: var(--accent-soft); padding: 12px 14px; display: grid; gap: 6px; }
.proposal .route { display: flex; align-items: center; gap: 8px; font-weight: 600; flex-wrap: wrap; } .proposal .route svg { width: 16px; height: 16px; color: var(--accent); }
.proposal .why { color: var(--muted); font-size: 14px; }
.proposal .plan { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; } .proposal .plan li { margin: 2px 0; }
.thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 10px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; } .thinking i:nth-child(2) { animation-delay: .2s; } .thinking i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2 } 40% { opacity: 1 } }
.thread { margin-top: 10px; display: grid; gap: 6px; }
.msg { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; } .msg .bubble { background: var(--surface-2); border-radius: 14px; padding: 8px 12px; line-height: 1.4; } .msg.me .bubble { background: var(--accent-soft); }
.reply { display: flex; gap: 8px; margin-top: 8px; } .reply input { flex: 1; border-radius: 999px; }
.actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.recent { margin-top: 20px; color: var(--muted); } .recent summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 6px 2px; list-style: none; } .recent summary::-webkit-details-marker { display: none; }
.recent-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-top: 1px solid var(--line); font-size: 14px; } .recent-row .grow { flex: 1; min-width: 0; } .recent-row .grow div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { text-align: center; color: var(--muted); padding: 36px 20px; font-size: 15px; } .empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; font-weight: 600; }

/* ---------- board ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.toolbar input[type=search] { flex: 1 1 200px; max-width: 360px; border-radius: 999px; }
.toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; white-space: nowrap; } .toggle input { width: auto; margin: 0; }
.board { display: grid; gap: 14px; }
.ws { background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 6px 6px 4px; }
.ws-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; }
.ws-head h2 { flex: 1; min-width: 0; } .ws-head .meta { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); cursor: pointer; transition: background .12s, transform .12s var(--spring); -webkit-tap-highlight-color: transparent; }
.row:hover { background: var(--surface-2); } .row:active { background: var(--accent-soft); transform: scale(.995); }
.row .body { flex: 1; min-width: 0; }
.row .title { font-weight: 500; font-size: 15.5px; line-height: 1.3; } .row .title .flag { margin-right: 4px; }
.row .sub { color: var(--muted); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub .arrow { color: var(--accent); }
.row .right { display: flex; align-items: center; gap: 6px; color: var(--faint); } .row .right svg { width: 16px; height: 16px; }
.row.child { padding-left: 34px; } .row.child .title { font-size: 14.5px; font-weight: 400; }
.row.done .title { text-decoration: line-through; color: var(--muted); }
.fold { display: block; width: 100%; text-align: left; padding: 10px 12px 12px; color: var(--accent); font-weight: 600; font-size: 14px; }
.progress { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: inline-grid; place-items: center; flex: none; color: transparent; transition: all .15s var(--spring); } .check:hover { border-color: var(--accent); } .check.on, .check:active { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.08); } .check svg { width: 14px; height: 14px; }

/* ---------- today ---------- */
.greeting { margin: 4px 0 16px; } .greeting .date { color: var(--muted); font-size: 15px; }
.section { margin-bottom: 22px; } .section h3 { margin: 0 4px 8px; }
.panel { background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 4px; }
.two { display: grid; gap: 18px; }

/* ---------- review ---------- */
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; min-width: 110px; box-shadow: var(--shadow-1); } .stat b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; } .stat span { color: var(--muted); font-size: 12.5px; }
.act { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 14px; } .act .when { color: var(--faint); font-size: 12px; white-space: nowrap; margin-left: auto; }
.q { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 14.5px; } .q .grow { flex: 1; }

/* ---------- detail panel ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.32); z-index: 8; animation: fade .18s var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.detail { position: fixed; z-index: 9; left: 0; right: 0; bottom: 0; top: 7vh; background: var(--surface-solid); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: 0 -12px 48px rgba(0,0,0,.28); display: flex; flex-direction: column; animation: sheetUp .28s var(--spring); }
@keyframes sheetUp { from { transform: translateY(48px); opacity: .5 } to { transform: none; opacity: 1 } }
.detail-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; }
.crumb { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .crumb a { color: var(--muted); }
.detail-body { overflow: auto; padding: 4px 18px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.title-input { font-size: 23px; font-weight: 700; letter-spacing: -.015em; border: 0; background: transparent; padding: 4px 0; box-shadow: none !important; }
.meta-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 6px 0 14px; }
.meta-row select, .meta-row input { width: auto; padding: 5px 28px 5px 11px; font-size: 13px; font-weight: 600; border-radius: 999px; background-color: var(--surface-2); }
.meta-row input[type=date] { padding-right: 11px; }
.next-block { display: flex; gap: 12px; align-items: center; background: var(--accent-soft); border-radius: 16px; padding: 12px 14px; margin: 6px 0 16px; }
.next-block .lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.next-block input { border: 0; background: transparent; padding: 2px 0; font-size: 16px; font-weight: 500; box-shadow: none !important; }
.desc { white-space: pre-wrap; line-height: 1.55; font-size: 15.5px; color: var(--ink-2); border: 0; background: transparent; padding: 0; min-height: 40px; resize: none; box-shadow: none !important; }
.desc:focus { background: var(--surface-2); padding: 8px 10px; border-radius: 12px; }
.tabs { display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 3px; margin: 16px 0 10px; }
.tabs button { flex: 1; padding: 7px 4px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: all .18s var(--ease); } .tabs button.on { background: var(--surface-solid); color: var(--ink); box-shadow: var(--shadow-1); }
.log { display: grid; gap: 2px; }
.entry { display: flex; gap: 10px; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; } .entry .body { flex: 1; min-width: 0; white-space: pre-wrap; } .entry .meta { color: var(--faint); font-size: 12px; margin-top: 3px; }
.entry.closed .body { opacity: .55; }
.add-line { display: flex; gap: 8px; margin: 10px 0 6px; align-items: center; } .add-line input { flex: 1; border-radius: 999px; } .add-line select { width: auto; border-radius: 999px; }
.pill-btn { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); color: var(--ink); background: var(--surface-2); }

/* ---------- sheet (dialogs) ---------- */
.sheet { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.32); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s var(--ease); }
.sheet-inner { position: relative; width: 100%; max-width: 560px; max-height: 88dvh; overflow: auto; background: var(--surface-solid); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: sheetUp .26s var(--spring); }
.sheet-inner .close { position: absolute; right: 10px; top: 10px; }
.sheet-inner h2 { font-size: 20px; margin-bottom: 4px; }
blockquote { margin: 8px 0 12px; padding: 8px 12px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 12px 12px 0; color: var(--ink-2); }

/* toast & skeleton */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); color: var(--ink); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; z-index: 30; animation: rise .2s var(--ease); }
.skel { height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin: 10px 0; } @keyframes shimmer { to { background-position: -200% 0 } }

/* ---------- tablet & desktop ---------- */
@media (min-width: 900px) {
  .app { grid-template-columns: var(--sidebar) 1fr; }
  .sidebar { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 18px 12px 14px; gap: 10px; border-right: 1px solid var(--line); background: var(--glass); backdrop-filter: saturate(1.6) blur(24px); -webkit-backdrop-filter: saturate(1.6) blur(24px); }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; padding: 4px 8px 10px; color: var(--ink); } .brand svg { color: var(--accent); }
  .side-nav { display: grid; gap: 2px; }
  .side-nav button { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .15s; } .side-nav button svg { color: var(--muted); }
  .side-nav button:hover { background: var(--accent-soft); }
  .side-nav button.on { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px var(--accent); } .side-nav button.on svg { color: #fff; }
  .side-nav .count { margin-left: auto; font-size: 12px; font-weight: 700; color: inherit; opacity: .8; } .side-nav .count:empty { display: none; }
  .side-section { padding: 6px 4px; } .side-section.grow { flex: 1; min-height: 0; overflow: auto; }
  .side-title { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 4px 6px 6px; } .side-title .icon-btn { width: 24px; height: 24px; } .side-title svg { width: 16px; height: 16px; }
  .ws-list button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 9px; font-size: 14px; color: var(--ink-2); text-align: left; } .ws-list button:hover { background: var(--accent-soft); } .ws-list button b { margin-left: auto; font-weight: 500; color: var(--faint); font-size: 12px; }
  .side-foot { display: flex; align-items: center; gap: 8px; padding: 8px 4px 0; border-top: 1px solid var(--line); font-size: 13px; } .side-foot .link { margin-left: auto; }
  .tabbar { display: none; }
  .topbar { padding: 24px 30px 10px; background: transparent; } .topbar h1 { font-size: 32px; } .topbar-right { display: none; }
  main { padding: 6px 30px 48px; max-width: 1120px; }
  .composer { max-width: 760px; }
  .board { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); align-items: start; }
  .two { grid-template-columns: 1fr 1fr; align-items: start; }
  .detail { top: 12px; bottom: 12px; right: 12px; left: auto; width: min(var(--detail), 92vw); border-radius: var(--r-xl); box-shadow: var(--shadow-2); animation: slideIn .26s var(--spring); border: 1px solid var(--line); }
  @keyframes slideIn { from { transform: translateX(40px); opacity: .5 } to { transform: none; opacity: 1 } }
  .sheet { align-items: center; } .sheet-inner { border-radius: var(--r-xl); max-height: 84vh; }
  .toast { bottom: 28px; }
}
@media (min-width: 1280px) {
  .app.with-detail { grid-template-columns: var(--sidebar) 1fr var(--detail); }
  .app.with-detail .detail { position: sticky; top: 0; height: 100dvh; width: auto; right: auto; bottom: auto; border-radius: 0; box-shadow: none; animation: none; border: 0; border-left: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .app.with-detail .scrim { display: none; }
  main { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
