:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --bg-soft: #101310;
  --surface: #151816;
  --surface-2: #1b1f1c;
  --surface-3: #222722;
  --surface-glass: rgba(21, 24, 22, .76);
  --text: #f4f2ea;
  --text-soft: #d5d4cc;
  --muted: #8f948e;
  --faint: #626761;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .15);
  --accent: #d9ff63;
  --accent-rgb: 217, 255, 99;
  --accent-ink: #151a08;
  --blue: #83b8ff;
  --coral: #ff8d75;
  --success: #9bf5bf;
  --danger: #ff8e8e;
  --shadow: 0 24px 64px rgba(0, 0, 0, .26);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --sidebar: 232px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #edebe2;
  --bg-soft: #f4f2eb;
  --surface: #f9f7f1;
  --surface-2: #f0eee7;
  --surface-3: #e6e4dc;
  --surface-glass: rgba(249, 247, 241, .78);
  --text: #171a17;
  --text-soft: #343934;
  --muted: #686e68;
  --faint: #989d97;
  --line: rgba(20, 25, 20, .095);
  --line-strong: rgba(20, 25, 20, .16);
  --accent-ink: #222909;
  --shadow: 0 24px 64px rgba(53, 57, 50, .10);
}

html[data-accent="violet"] { --accent: #cbb7ff; --accent-rgb: 203, 183, 255; --accent-ink: #1e1631; }
html[data-accent="coral"] { --accent: #ff9c84; --accent-rgb: 255, 156, 132; --accent-ink: #32150e; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 9px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .5; }
.orb-one { width: 560px; height: 560px; right: -270px; top: -240px; background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 68%); }
.orb-two { width: 700px; height: 700px; left: 18%; bottom: -580px; background: radial-gradient(circle, rgba(70, 124, 255, .10), transparent 68%); }
.noise { position: absolute; inset: 0; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }

.app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; max-width: 1680px; margin: 0 auto; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 28px 20px 22px;
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(18px); z-index: 20;
}
.brand-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 820; letter-spacing: .19em; }
.brand small { display: block; color: var(--muted); font-size: 7px; letter-spacing: .23em; margin-top: 1px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line-strong); border-radius: 12px; transform: rotate(10deg); }
.brand-mark span { display: block; width: 14px; height: 14px; border: 2px solid var(--accent); border-radius: 50%; border-right-color: transparent; transform: rotate(-40deg); }
.nav-list { display: grid; gap: 7px; margin-top: 58px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 0 13px; border-radius: 13px; color: var(--muted); font-size: 13px; font-weight: 600; transition: .25s var(--ease); }
.nav-item::before { content: ""; position: absolute; left: -21px; width: 3px; height: 19px; border-radius: 0 4px 4px 0; background: var(--accent); transform: scaleY(0); transition: transform .25s; }
.nav-item:hover { color: var(--text); background: var(--surface); }
.nav-item.active { color: var(--text); background: rgba(var(--accent-rgb), .08); }
.nav-item.active::before { transform: scaleY(1); }
.nav-item.active .icon { color: var(--accent); }
.sidebar-spacer { flex: 1; }
.side-quote { position: relative; flex: none; padding: 19px 17px 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, rgba(var(--accent-rgb), .09), var(--surface)); }
.side-quote::after { content: ""; position: absolute; width: 90px; height: 90px; border: 1px solid rgba(var(--accent-rgb), .17); border-radius: 50%; right: -35px; top: -43px; }
.side-quote .icon { color: var(--accent); width: 17px; }
.side-quote p { margin: 12px 0 15px; font-size: 13px; line-height: 1.65; font-weight: 650; }
.side-quote span { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.side-actions { flex: none; display: grid; gap: 5px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
.side-button { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 0 8px; border-radius: 10px; color: var(--muted); cursor: pointer; font-size: 12px; }
.side-button:hover { background: var(--surface); color: var(--text); }
.side-button span { flex: 1; text-align: left; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 20px; padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface-2); color: var(--muted); font-family: inherit; font-size: 9px; box-shadow: 0 1px 0 var(--line-strong); }

.main-content { min-width: 0; padding: 0 38px 30px; }
.topbar { height: 77px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.local-badge { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; letter-spacing: .075em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(155, 245, 191, .08); animation: breathe 2.4s infinite; }
.top-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; }
.top-meta strong { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.avatar-button { width: 35px; height: 35px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 3px var(--bg); }
.icon-button { border: 1px solid var(--line); background: var(--surface); border-radius: 11px; width: 38px; height: 38px; display: inline-grid; place-items: center; cursor: pointer; }
.icon-button:hover { border-color: var(--line-strong); background: var(--surface-2); }
.menu-button, .mobile-only { display: none; }

.hero { min-height: 337px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: center; padding: 44px 6px 74px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.eyebrow i { width: 24px; height: 1px; background: var(--line-strong); }
.hero h1 { margin: 19px 0 12px; font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -.065em; font-weight: 610; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 480px; margin: 0; color: var(--muted); font-size: 14px; letter-spacing: .015em; }
.hero-art { position: relative; height: 230px; display: grid; place-items: center; }
.hero-sphere { position: relative; z-index: 2; display: grid; place-items: center; width: 126px; height: 126px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.28), transparent 24%), linear-gradient(135deg, rgba(var(--accent-rgb), .95), rgba(var(--accent-rgb), .26) 57%, rgba(65,108,255,.32)); box-shadow: 0 25px 65px rgba(var(--accent-rgb), .12), inset -12px -15px 28px rgba(0,0,0,.22); }
.hero-sphere span { color: var(--accent-ink); font-size: 42px; font-weight: 800; letter-spacing: -.08em; }
.hero-sphere i { position: absolute; width: 12px; height: 12px; border-radius: 50%; right: 8px; top: 17px; background: var(--text); box-shadow: 0 0 18px var(--text); }
.orbit { position: absolute; border: 1px solid var(--line-strong); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 15px rgba(var(--accent-rgb), .6); }
.orbit-a { width: 235px; height: 110px; transform: rotate(-17deg); animation: orbitFloat 7s ease-in-out infinite; }
.orbit-a::after { right: 29px; top: 6px; }
.orbit-b { width: 180px; height: 180px; border-color: rgba(var(--accent-rgb), .12); }
.orbit-b::after { bottom: 12px; left: 25px; width: 5px; height: 5px; }
.coordinate { position: absolute; bottom: 4px; right: 5px; color: var(--faint); font: 8px/1.5 ui-monospace, monospace; letter-spacing: .08em; text-align: right; }
.omnibox { position: absolute; z-index: 4; bottom: 8px; left: 5px; right: 5px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 10px 0 18px; border: 1px solid var(--line-strong); border-radius: 17px; background: var(--surface-glass); backdrop-filter: blur(18px) saturate(135%); box-shadow: var(--shadow); }
.omnibox > .icon { color: var(--muted); width: 20px; }
.omnibox input { min-width: 0; flex: 1; height: 100%; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 13px; }
.omnibox input::placeholder { color: var(--faint); }
.command-hint { display: flex; align-items: center; gap: 2px; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.command-hint .icon { width: 14px; }
.command-hint span { font-size: 10px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 1px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); margin: 26px 0 18px; }
.metric { min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 74px; padding: 14px 15px; background: var(--surface); }
.metric-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: var(--accent); background: rgba(var(--accent-rgb), .07); border: 1px solid rgba(var(--accent-rgb), .12); }
.metric > div:nth-child(2) { min-width: 0; display: grid; }
.metric span { color: var(--muted); font-size: 9px; letter-spacing: .07em; }
.metric strong { font-size: 14px; font-weight: 650; white-space: nowrap; }
.metric small { margin-left: auto; color: var(--faint); font-size: 8px; line-height: 1.4; text-align: right; }
.mini-progress { position: relative; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: conic-gradient(var(--accent) var(--progress, 0%), var(--surface-3) 0); color: var(--text) !important; font-size: 6px !important; }
.mini-progress::after { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: var(--surface); }
.mini-progress { isolation: isolate; }
.mini-progress::before { content: attr(data-label); position: relative; z-index: 1; }
.status-safe span { width: 11px; height: 11px; border: 2px solid var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(155,245,191,.08); }

.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-12 { grid-column: 1 / -1; }
.card { position: relative; min-width: 0; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.02); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; scroll-margin-top: 20px; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-head.compact { align-items: center; }
.card-kicker { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.card h2 { margin: 0; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; font-weight: 650; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; padding: 7px; }
.text-button:hover { color: var(--accent); }

.task-card { min-height: 400px; }
.task-form { display: flex; gap: 8px; margin: 22px 0 12px; }
.task-form input { min-width: 0; flex: 1; height: 43px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--text); outline: 0; font-size: 12px; }
.task-form input:focus { border-color: rgba(var(--accent-rgb), .5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .07); }
.task-form button { width: 43px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.task-list { list-style: none; display: grid; padding: 0; margin: 0; }
.task-item { display: grid; grid-template-columns: 24px 1fr 30px; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid var(--line); }
.task-item:last-child { border-bottom: 0; }
.task-check { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; }
.task-check::after { content: ""; width: 8px; height: 4px; border: solid var(--accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .18s; }
.task-check:checked { background: var(--accent); border-color: var(--accent); }
.task-check:checked::after { transform: rotate(-45deg) scale(1); }
.task-text { min-width: 0; color: var(--text-soft); font-size: 12px; overflow-wrap: anywhere; }
.task-item.done .task-text { color: var(--faint); text-decoration: line-through; }
.task-delete { opacity: 0; border: 0; background: transparent; color: var(--faint); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; cursor: pointer; transition: opacity .2s, color .2s, background .2s; }
.task-item:hover .task-delete, .task-delete:focus-visible { opacity: 1; }
.task-delete:hover { color: var(--danger); background: rgba(255,142,142,.08); }
.task-delete .icon { width: 14px; }
.card-foot { position: absolute; left: 22px; right: 22px; bottom: 19px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; }
.line-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.line-progress i { display: block; width: 0; height: 100%; background: var(--accent); border-radius: inherit; transition: width .4s var(--ease); }
.empty-state { min-height: 172px; place-content: center; text-align: center; color: var(--muted); }
.empty-state:not([hidden]) { display: grid; }
.empty-state span { color: var(--accent); font-size: 32px; }
.empty-state p { margin: 5px 0; font-size: 12px; }

.focus-card { min-height: 400px; background: linear-gradient(160deg, rgba(var(--accent-rgb), .055), var(--surface) 55%); }
.live-label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 7px; letter-spacing: .12em; }
.live-label i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.timer-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 20px 0 14px; padding: 3px; background: var(--surface-2); border-radius: 10px; }
.timer-modes button { height: 28px; padding: 0; border: 0; border-radius: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 9px; }
.timer-modes button.active { background: var(--surface-3); color: var(--text); box-shadow: 0 2px 9px rgba(0,0,0,.12); }
.timer-ring { --timer-progress: 0deg; position: relative; width: 164px; height: 164px; display: grid; place-items: center; margin: 4px auto 12px; border-radius: 50%; background: conic-gradient(var(--accent) var(--timer-progress), var(--surface-3) 0); }
.timer-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.timer-ring > div { position: relative; z-index: 1; display: grid; text-align: center; }
.timer-ring strong { font-size: 34px; line-height: 1.1; font-weight: 520; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.timer-ring span { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.timer-controls { display: flex; justify-content: center; gap: 8px; }
.timer-controls button { height: 39px; border-radius: 12px; cursor: pointer; }
.timer-secondary { width: 39px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.timer-primary { min-width: 104px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; }
.timer-primary .icon { width: 15px; }
.focus-card.running .live-label { color: var(--accent); }
.focus-card.running .live-label i { animation: breathe 1.3s infinite; }

.weather-card { min-height: 400px; background: radial-gradient(circle at 75% 30%, rgba(105,167,255,.12), transparent 37%), var(--surface); }
.icon-button.subtle { width: 32px; height: 32px; color: var(--muted); background: var(--surface-2); }
.icon-button.subtle .icon { width: 15px; }
.weather-main { display: flex; align-items: center; gap: 16px; margin: 35px 0 22px; }
.weather-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 22px; background: rgba(131,184,255,.08); border: 1px solid rgba(131,184,255,.14); font-size: 32px; filter: saturate(.8); }
.weather-main > div { display: grid; }
.weather-main strong { font-size: 42px; line-height: 1; font-weight: 540; letter-spacing: -.06em; }
.weather-main > div > span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.weather-place { display: flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 10px; border-radius: 11px; background: var(--surface-2); color: var(--muted); font-size: 9px; }
.weather-place .icon { width: 12px; }
.weather-place i { flex: 1; }
.weather-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 15px; background: var(--line); }
.weather-detail div { display: grid; gap: 3px; padding: 10px 7px; background: var(--surface); }
.weather-detail span { color: var(--muted); font-size: 8px; }
.weather-detail strong { font-size: 10px; font-weight: 600; }
.source-link { position: absolute; left: 22px; bottom: 17px; display: flex; gap: 5px; align-items: center; color: var(--faint); font-size: 7px; letter-spacing: .08em; }
.source-link:hover { color: var(--text); }
.source-link .icon { width: 10px; }

.launch-card, .memo-card, .calendar-card { min-height: 345px; }
.round-add { height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: 9px; }
.round-add:hover { color: var(--text); border-color: var(--line-strong); }
.round-add .icon { width: 13px; }
.bookmark-card { min-height: 560px; }
.bookmark-head h2 { display: flex; align-items: baseline; gap: 10px; }
.bookmark-head h2 em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 500; letter-spacing: .03em; }
.bookmark-actions { display: flex; align-items: center; gap: 7px; }
.compact-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 11px; border-radius: 10px; font-size: 10px; white-space: nowrap; cursor: pointer; }
.compact-button .icon { width: 14px; }
.vault-strip { display: grid; grid-template-columns: minmax(230px, 1fr) repeat(3, 112px); gap: 9px; margin: 22px 0 16px; }
.vault-search { display: flex; align-items: center; gap: 9px; height: 49px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.vault-search .icon { width: 17px; color: var(--muted); }
.vault-search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.vault-search input::placeholder { color: var(--faint); }
.vault-stat { display: grid; align-content: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.vault-stat span { color: var(--muted); font-size: 8px; letter-spacing: .06em; }
.vault-stat strong { margin-top: 1px; font-size: 16px; font-weight: 650; }
.vault-stat.accent { background: rgba(var(--accent-rgb), .07); border-color: rgba(var(--accent-rgb), .14); }
.vault-stat.accent strong { color: var(--accent); }
.bookmark-layout { display: grid; grid-template-columns: 160px minmax(0, 1fr); min-height: 355px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.category-rail { padding: 10px; border-right: 1px solid var(--line); background: rgba(0,0,0,.045); overflow: auto; }
.category-button { width: 100%; min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; text-align: left; }
.category-button:hover { background: var(--surface-2); color: var(--text); }
.category-button.active { background: rgba(var(--accent-rgb), .1); color: var(--text); }
.category-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-button em { color: var(--faint); font-size: 8px; font-style: normal; }
.bookmark-main { min-width: 0; padding: 15px; }
.smart-launch { display: flex; align-items: center; gap: 12px; padding: 0 0 13px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.smart-launch > span { display: inline-flex; align-items: center; gap: 5px; flex: none; color: var(--accent); font-size: 8px; letter-spacing: .08em; }
.smart-launch > span .icon { width: 13px; }
.smart-launch > div { min-width: 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.smart-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--text-soft); font-size: 9px; }
.smart-chip i { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; background: rgba(var(--accent-rgb), .12); color: var(--accent); font-style: normal; font-size: 8px; }
.bookmark-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; min-height: 275px; align-content: start; }
.bookmark-item { min-width: 0; display: grid; grid-template-columns: 35px minmax(0, 1fr) 18px; align-items: center; gap: 9px; min-height: 61px; padding: 8px 9px; border: 1px solid transparent; border-radius: 13px; transition: .22s var(--ease); }
.bookmark-item:hover { background: var(--surface-2); border-color: var(--line); transform: translateY(-1px); }
.bookmark-favicon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: hsl(var(--favicon-hue, 72) 28% 20%); color: hsl(var(--favicon-hue, 72) 75% 78%); font-size: 10px; font-weight: 750; text-transform: uppercase; }
html[data-theme="light"] .bookmark-favicon { background: hsl(var(--favicon-hue, 72) 45% 90%); color: hsl(var(--favicon-hue, 72) 48% 31%); }
.bookmark-copy { min-width: 0; display: grid; }
.bookmark-copy strong { overflow: hidden; color: var(--text-soft); font-size: 10px; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.bookmark-copy small { overflow: hidden; margin-top: 2px; color: var(--faint); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.bookmark-item > .icon { width: 13px; color: var(--faint); opacity: 0; transition: opacity .2s; }
.bookmark-item:hover > .icon { opacity: 1; }
.bookmark-duplicate { box-shadow: inset 2px 0 var(--coral); }
.vault-empty { grid-column: 1 / -1; min-height: 270px; display: grid; place-items: center; align-content: center; text-align: center; padding: 24px; }
.vault-empty > .icon { width: 34px; height: 34px; margin-bottom: 12px; color: var(--accent); }
.vault-empty strong { font-size: 14px; }
.vault-empty p { max-width: 490px; margin: 7px auto 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.vault-pagination { display: flex; justify-content: center; align-items: center; gap: 11px; padding-top: 8px; border-top: 1px solid var(--line); }
.vault-pagination button { border: 0; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.vault-pagination button:disabled { opacity: .35; cursor: default; }
.vault-pagination span { color: var(--faint); font-size: 8px; }
.privacy-foot { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--faint); font-size: 8px; }
.privacy-foot .icon { width: 12px; color: var(--success); }
.privacy-foot span:last-child { margin-left: auto; }
.ai-card { min-height: 380px; }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.provider-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(255,255,255,.025), transparent), var(--surface-2); }
.provider-top { display: flex; align-items: center; gap: 10px; }
.provider-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--text); color: var(--bg); font: 700 15px ui-monospace, monospace; }
.claude-provider .provider-logo { background: #dd9a73; color: #22160f; }
.provider-top > div { min-width: 0; display: grid; }
.provider-top strong { font-size: 14px; }
.provider-top small { color: var(--muted); font-size: 9px; }
.signal-local { display: inline-flex; align-items: center; gap: 6px; height: 27px; margin-left: auto; padding: 0 10px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 999px; color: var(--muted); background: rgba(var(--accent-rgb), .06); font-size: 8px; }
.signal-local i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); animation: breathe 2s ease-in-out infinite; }
.quota-visual { display: grid; grid-template-columns: 105px minmax(0, 1fr); align-items: center; gap: 18px; margin: 22px 0; }
.quota-ring { --quota: 0deg; width: 100px; height: 100px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) var(--quota), rgba(255,255,255,.07) 0); transition: background 1s var(--ease); }
.quota-ring::before { content: ""; position: absolute; inset: 10px; border-radius: inherit; background: var(--surface-2); }
.quota-ring span { position: relative; display: grid; text-align: center; }
.quota-ring strong { font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.quota-ring small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.claude-provider .quota-ring { background: conic-gradient(#dd9a73 var(--quota), rgba(255,255,255,.07) 0); }
.quota-copy { min-width: 0; display: grid; }
.quota-copy span { color: var(--muted); font-size: 9px; }
.quota-copy strong { margin: 5px 0; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.quota-copy small { min-height: 30px; color: var(--faint); font-size: 9px; line-height: 1.55; }
.burn-line { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 9px; padding-top: 13px; border-top: 1px solid var(--line); }
.burn-line > span, .burn-line > em { color: var(--faint); font-size: 8px; font-style: normal; white-space: nowrap; }
.burn-line svg { width: 100%; height: 28px; overflow: visible; }
.burn-line path { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .4)); }
.claude-provider .burn-line path { stroke: #dd9a73; }
.usage-disclaimer { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--faint); font-size: 9px; }
.usage-disclaimer .icon { width: 13px; color: var(--success); }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 23px; }
.quick-link { position: relative; min-width: 0; height: 94px; display: flex; flex-direction: column; justify-content: space-between; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); transition: transform .25s var(--ease), border-color .25s; }
.quick-link:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .35); }
.quick-link-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--link-color, var(--accent)) 18%, var(--surface)); color: var(--link-color, var(--accent)); font-size: 12px; font-weight: 800; }
.quick-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; }
.quick-link > .icon { position: absolute; width: 10px; right: 9px; top: 9px; color: var(--faint); }
.quick-link-delete { position: absolute; z-index: 2; width: 21px; height: 21px; right: 5px; bottom: 5px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--surface-3); color: var(--faint); opacity: 0; cursor: pointer; }
.quick-link-wrap:hover .quick-link-delete, .quick-link-delete:focus-visible { opacity: 1; }
.quick-link-wrap { position: relative; }
.quick-link-wrap .quick-link { width: 100%; }
.quick-link-delete:hover { color: var(--danger); }
.quick-link-delete .icon { width: 11px; }

.memo-card { background: linear-gradient(148deg, rgba(var(--accent-rgb), .045), var(--surface) 47%); }
.save-state { display: flex; align-items: center; gap: 5px; color: var(--faint); font-size: 8px; }
.save-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.memo-card textarea { position: relative; z-index: 2; width: 100%; height: 210px; resize: none; margin-top: 18px; padding: 4px 0; border: 0; outline: 0; background: transparent; color: var(--text-soft); font: 13px/32px ui-monospace, "SFMono-Regular", Consolas, monospace; }
.memo-card textarea::placeholder { color: var(--faint); }
.memo-lines { position: absolute; z-index: 1; left: 22px; right: 22px; top: 90px; height: 199px; pointer-events: none; background: repeating-linear-gradient(transparent 0, transparent 31px, var(--line) 32px); }
.memo-tools { position: absolute; left: 22px; right: 22px; bottom: 17px; display: flex; justify-content: space-between; color: var(--faint); font-size: 8px; }

.year-label { color: var(--muted); font-size: 10px; }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-week { margin-top: 22px; color: var(--faint); font-size: 8px; text-align: center; }
.calendar-grid { margin-top: 7px; }
.calendar-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; color: var(--muted); font-size: 9px; }
.calendar-day.muted { opacity: .24; }
.calendar-day.today { background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 5px 14px rgba(var(--accent-rgb), .17); }
.calendar-foot { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 8px; }
.calendar-foot i { flex: 1; }
.today-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.radar-card, .rhythm-card { min-height: 315px; }
.radar-status { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; }
.radar-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 9px var(--blue); }
.signal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.signal-list a { min-width: 0; min-height: 79px; display: grid; grid-template-columns: 30px 1fr 17px; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); transition: .25s var(--ease); }
.signal-list a:hover { transform: translateX(3px); border-color: var(--line-strong); }
.signal-index { color: var(--accent); font: 9px ui-monospace, monospace; }
.signal-list div { min-width: 0; display: grid; gap: 3px; }
.signal-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 630; }
.signal-list small { color: var(--muted); font-size: 8px; }
.signal-list .icon { width: 13px; color: var(--faint); }

.rhythm-card .card-head > strong { color: var(--accent); font-size: 19px; font-weight: 650; }
.rhythm-card .card-head > strong small { color: var(--muted); font-size: 8px; font-weight: 500; }
.rhythm-chart { height: 152px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 9px; margin-top: 15px; padding: 0 3px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 49px, var(--line) 50px); }
.rhythm-day { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.rhythm-bar { width: 100%; max-width: 26px; min-height: 5px; border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, rgba(var(--accent-rgb), .23), var(--accent)); transition: height .5s var(--ease); position: relative; }
.rhythm-bar::after { content: attr(data-value); position: absolute; left: 50%; top: -17px; transform: translateX(-50%); color: var(--faint); font-size: 7px; opacity: 0; transition: opacity .2s; }
.rhythm-day:hover .rhythm-bar::after { opacity: 1; }
.rhythm-day span { color: var(--faint); font-size: 8px; }
.rhythm-day.today span { color: var(--accent); }
.rhythm-note { min-height: 42px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 8px; }
.rhythm-note .icon { width: 12px; color: var(--accent); }

footer { min-height: 76px; display: flex; justify-content: space-between; align-items: flex-end; color: var(--faint); font-size: 8px; letter-spacing: .1em; }
.mobile-dock { display: none; }

dialog { color: var(--text); }
dialog::backdrop { background: rgba(0, 0, 0, .64); backdrop-filter: blur(7px); }
.command-dialog, .settings-dialog, .link-dialog, .usage-dialog { width: min(590px, calc(100vw - 28px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface); box-shadow: 0 32px 110px rgba(0,0,0,.55); }
.command-dialog[open], .settings-dialog[open], .link-dialog[open], .usage-dialog[open] { animation: dialogIn .28s var(--ease); }
.dialog-shell { overflow: hidden; border-radius: inherit; }
.command-search { height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.command-search .icon { color: var(--muted); }
.command-search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.command-body { max-height: 430px; overflow: auto; padding: 10px; }
.command-group-title { display: block; padding: 8px 9px 5px; color: var(--faint); font-size: 8px; letter-spacing: .14em; }
.command-item { width: 100%; min-height: 55px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 6px 9px; border: 0; border-radius: 12px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.command-item:hover, .command-item.active { background: var(--surface-2); }
.command-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); }
.command-icon .icon { width: 15px; }
.command-item > span:nth-child(2) { display: grid; }
.command-item strong { font-size: 11px; font-weight: 630; }
.command-item small { color: var(--muted); font-size: 8px; }
.command-footer { height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 8px; }
.command-footer span:last-child { margin-left: auto; letter-spacing: .13em; }
.command-footer kbd { min-width: 18px; height: 17px; font-size: 7px; }
.command-empty { padding: 35px; text-align: center; color: var(--muted); font-size: 11px; }
.settings-dialog, .link-dialog, .usage-dialog { width: min(510px, calc(100vw - 28px)); }
.dialog-title { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 23px; border-bottom: 1px solid var(--line); }
.dialog-title span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.dialog-title h2 { margin: 0; font-size: 19px; }
.dialog-title .icon-button { border: 0; background: transparent; color: var(--muted); }
.settings-body { display: grid; gap: 16px; padding: 22px 23px 12px; }
.settings-body > label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; }
.settings-body input, .settings-body select { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: var(--surface-2); color: var(--text); font-size: 11px; }
.settings-body input:focus, .settings-body select:focus { border-color: rgba(var(--accent-rgb), .5); }
.settings-body fieldset { padding: 0; margin: 1px 0 0; border: 0; }
.settings-body legend { margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.accent-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.accent-choices label { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); cursor: pointer; font-size: 10px; }
.accent-choices input { position: absolute; opacity: 0; pointer-events: none; }
.accent-choices label:has(input:checked) { border-color: var(--accent); }
.accent-dot { width: 12px; height: 12px; border-radius: 50%; }
.accent-dot.lime { background: #d9ff63; }.accent-dot.violet { background: #cbb7ff; }.accent-dot.coral { background: #ff9c84; }
.settings-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 23px 22px; }
.settings-actions button { height: 39px; min-width: 86px; border-radius: 11px; cursor: pointer; font-size: 10px; }
.button-ghost { border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.button-primary { border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.usage-fields textarea { resize: vertical; min-height: 92px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: var(--surface-2); color: var(--text); font: 10px/1.55 ui-monospace, monospace; }
.usage-fields textarea:focus { border-color: rgba(var(--accent-rgb), .5); }
.parse-button { justify-self: start; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text-soft); font-size: 9px; cursor: pointer; }
.parse-button .icon { width: 13px; color: var(--accent); }
.usage-manual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.usage-manual-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; }
.field-note { display: flex; gap: 8px; margin: 0; color: var(--faint); font-size: 8px; line-height: 1.55; }
.field-note .icon { width: 13px; flex: none; color: var(--success); }
.toast-region { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 230px; max-width: 360px; min-height: 45px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface-glass); backdrop-filter: blur(16px); color: var(--text); box-shadow: var(--shadow); font-size: 10px; animation: toastIn .3s var(--ease); }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .4); }
.toast.leaving { animation: toastOut .25s ease forwards; }

@keyframes breathe { 0%,100% { opacity: .45; transform: scale(.86); } 50% { opacity: 1; transform: scale(1); } }
@keyframes orbitFloat { 0%,100% { transform: rotate(-17deg) translateY(-2px); } 50% { transform: rotate(-12deg) translateY(5px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(18px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }

.hero-copy, .hero-art, .omnibox, .metrics, .card { animation: cardIn .65s var(--ease) both; }
.hero-art { animation-delay: .08s; }.omnibox { animation-delay: .14s; }.metrics { animation-delay: .19s; }
.card:nth-child(1) { animation-delay: .23s; }.card:nth-child(2) { animation-delay: .27s; }.card:nth-child(3) { animation-delay: .31s; }.card:nth-child(4) { animation-delay: .35s; }.card:nth-child(5) { animation-delay: .39s; }.card:nth-child(6) { animation-delay: .43s; }.card:nth-child(n+7) { animation-delay: .47s; }

@media (max-width: 1180px) {
  :root { --sidebar: 206px; }
  .main-content { padding-inline: 25px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .span-6 { grid-column: span 7; }.focus-card.span-3 { grid-column: span 5; }.weather-card.span-3 { grid-column: span 4; }.launch-card.span-4 { grid-column: span 4; }.memo-card.span-5 { grid-column: span 4; }
  .radar-card.span-7, .rhythm-card.span-5 { grid-column: span 6; }
  .provider-grid { grid-template-columns: 1fr; }
  .bookmark-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-day { border-radius: 7px; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .nav-list { margin-top: 34px; }
  .side-quote { display: none; }
}

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; width: min(300px, 84vw); transform: translateX(-105%); box-shadow: 25px 0 70px rgba(0,0,0,.38); transition: transform .35s var(--ease); }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open::after { content: ""; position: fixed; z-index: 15; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
  .mobile-only, .menu-button { display: inline-grid; }
  .main-content { padding-inline: 20px; }
  .hero { grid-template-columns: 1fr 260px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .focus-card.span-3, .weather-card.span-3, .launch-card.span-4, .memo-card.span-5, .radar-card.span-7, .rhythm-card.span-5 { grid-column: span 6; }
  .vault-strip { grid-template-columns: minmax(220px, 1fr) repeat(3, 82px); }
  .bookmark-layout { grid-template-columns: 135px minmax(0, 1fr); }
  .task-card { order: 1; }.focus-card { order: 2; }.weather-card { order: 3; }.bookmark-card { order: 4; }.ai-card { order: 5; }.launch-card { order: 6; }.memo-card { order: 7; }.calendar-card { order: 8; }.radar-card { order: 9; }.rhythm-card { order: 10; }
}

@media (max-width: 640px) {
  body { font-size: 14px; padding-bottom: 76px; }
  .main-content { padding: 0 12px 20px; }
  .topbar { height: 61px; }
  .local-badge { font-size: 8px; }
  .top-meta > span { display: none; }
  .top-meta { gap: 10px; }
  .hero { min-height: 390px; display: block; padding: 38px 8px 78px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { max-width: 310px; font-size: 12px; }
  .hero-art { position: absolute; width: 190px; height: 190px; right: -33px; top: 118px; opacity: .72; }
  .hero-sphere { width: 88px; height: 88px; }.hero-sphere span { font-size: 31px; }.orbit-a { width: 170px; height: 80px; }.orbit-b { width: 130px; height: 130px; }
  .coordinate { display: none; }
  .omnibox { left: 0; right: 0; }
  .omnibox input { font-size: 11px; }
  .metrics { grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .metric { min-height: 67px; padding: 11px; }.metric small { display: none; }.metric-icon { width: 33px; height: 33px; }.metric strong { font-size: 12px; }
  .bento-grid { grid-template-columns: 1fr; gap: 11px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .focus-card.span-3, .weather-card.span-3, .launch-card.span-4, .memo-card.span-5, .radar-card.span-7, .rhythm-card.span-5 { grid-column: 1; }
  .card { border-radius: 23px; padding: 19px; }
  .card-foot, .source-link, .memo-tools, .calendar-foot { left: 19px; right: 19px; }
  .task-card, .focus-card, .weather-card { min-height: 385px; }
  .launch-card, .memo-card, .calendar-card { min-height: 335px; }
  .bookmark-head { display: grid; }
  .bookmark-actions { width: 100%; }
  .bookmark-actions button { flex: 1; }
  .vault-strip { grid-template-columns: repeat(3, 1fr); }
  .vault-search { grid-column: 1 / -1; }
  .bookmark-layout { grid-template-columns: 1fr; overflow: visible; border: 0; }
  .category-rail { display: flex; gap: 5px; margin-bottom: 8px; padding: 0 0 7px; border: 0; overflow-x: auto; scrollbar-width: none; }
  .category-button { width: auto; flex: none; min-height: 31px; gap: 6px; padding: 0 9px; border: 1px solid var(--line); background: var(--surface-2); }
  .bookmark-main { padding: 0; }
  .bookmark-results { grid-template-columns: 1fr; min-height: 270px; }
  .bookmark-item { min-height: 57px; }
  .privacy-foot { align-items: flex-start; }
  .privacy-foot span:last-child { display: none; }
  .provider-card { padding: 16px; }
  .quota-visual { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .quota-ring { width: 84px; height: 84px; }
  .usage-manual-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(3, 1fr); }.quick-link { height: 87px; }
  .signal-list { grid-template-columns: 1fr; }.radar-card { min-height: 450px; }
  footer { display: none; }
  .mobile-dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); height: 61px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface-glass); backdrop-filter: blur(20px) saturate(145%); box-shadow: 0 15px 45px rgba(0,0,0,.3); }
  .mobile-dock a, .mobile-dock button { border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; color: var(--muted); font-size: 8px; }
  .mobile-dock .icon { width: 17px; }.mobile-dock .active { color: var(--accent); }
  .mobile-dock button { position: relative; cursor: pointer; }
  .dock-main { position: absolute; top: -25px; width: 46px; height: 46px; display: grid; place-items: center; border: 5px solid var(--bg); border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
  .mobile-dock button small { position: absolute; bottom: 4px; font-size: 8px; }
  .toast-region { left: 12px; right: 12px; bottom: 83px; }.toast { min-width: 0; max-width: none; }
  .accent-choices { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@supports not (backdrop-filter: blur(10px)) {
  .sidebar, .omnibox, .mobile-dock, .toast { background: var(--surface); }
}
