:root {
  color-scheme: dark;
  --bg: #0c1813;
  --panel: #13231c;
  --panelStrong: #182b22;
  --surface: rgba(228, 239, 226, .045);
  --line: rgba(204, 222, 205, .12);
  --text: #edf1e8;
  --muted: #a0b2a4;
  --soft: #768f7c;
  --accent: #b9d9c4;
  --gold: #d3b875;
  --danger: #f2a395;
  --shadow: 0 24px 90px #0005;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button, a { -webkit-user-select: none; user-select: none; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .5; cursor: wait; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 550; letter-spacing: -.065em; line-height: 1.13; }
h2 { font-size: 1.55rem; font-weight: 550; letter-spacing: -.04em; }
h3 { font-size: 1rem; font-weight: 600; }
.muted { color: var(--muted); line-height: 1.6; }
.small { font-size: .8rem; line-height: 1.65; }
.eyebrow { font-size: .66rem; letter-spacing: .16em; color: var(--gold); font-weight: 650; margin-bottom: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 600; transition: background .15s, transform .15s; white-space: nowrap; }
.button:active { transform: translateY(1px); }
.primary { background: var(--accent); color: #11251b; }
.primary:hover { background: #cce7d5; }
.secondary { background: var(--surface); border-color: var(--line); }
.secondary:hover { background: #ffffff0d; }
.smallButton { min-height: 40px; padding: 9px 14px; font-size: .85rem; }
.iconButton { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 9px; font-size: 1.5rem; }
.iconButton:hover { background: var(--surface); }
.textButton { border: 0; background: transparent; color: var(--accent); padding: 10px 0; min-height: 44px; font-size: .83rem; }
.textButton:hover { text-decoration: underline; }
.danger { color: var(--danger); }
.skipLink { position: fixed; left: 15px; top: -100px; z-index: 100; padding: 15px; background: var(--panelStrong); }
.skipLink:focus { top: 10px; }
.boot { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 20px; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 2.3rem; font-weight: 550; letter-spacing: -.07em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 12px; }
.brandDot { color: var(--gold); }
.appShell { min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 242px; padding: 30px 20px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: #101f18; z-index: 40; overflow-y: auto; }
.sidebar .brand { padding: 0 10px; }
.sidebarCaption { font-size: .58rem; letter-spacing: .12em; color: var(--soft); margin: 21px 10px 32px; }
.navButton { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 13px; padding: 10px 13px; margin: 3px 0; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--muted); text-align: left; font-size: .88rem; }
.navButton:hover { background: var(--surface); color: var(--text); }
.navButton.active { background: #263b2e; border-color: #536e5133; color: #d2e5ce; }
.navIcon { font-size: 1.1rem; width: 20px; display: inline-block; text-align: center; color: var(--soft); }
.active .navIcon { color: var(--accent); }
.navCount { margin-left: auto; font-size: .73rem; color: var(--soft); background: #ffffff06; min-width: 23px; border-radius: 5px; text-align: center; padding: 2px 4px; }
.navText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collectionHeader { display: flex; justify-content: space-between; align-items: center; margin: 28px 7px 3px 13px; font-size: .61rem; color: var(--soft); letter-spacing: .14em; }
.collectionHeader .iconButton { width: 30px; height: 32px; min-height: 32px; font-size: 1.2rem; }
.collectionDot { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin: 0 6px; flex: 0 0 8px; background: var(--accent); }
.gold { --collection-color: #d3b875; }
.blue { --collection-color: #8eafc9; }
.rose { --collection-color: #d79eaa; }
.lavender { --collection-color: #b4a7cc; }
.sage { --collection-color: #a6c1a8; }
.collectionDot { background: var(--collection-color, var(--accent)); }
.sidebarBottom { margin-top: auto; padding-top: 30px; }
.accountPill { display: flex; align-items: center; gap: 11px; margin: 20px 4px 0; padding: 18px 6px 0; border-top: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; background: #344232; color: #ceddc4; font-size: .85rem; }
.accountPill strong { font-size: .82rem; font-weight: 550; }
.accountPill span.small { display: block; font-size: .67rem; color: var(--soft); }
.accountSettings { margin-top: 24px; }
.mainShell { margin-left: 242px; padding: 0 42px; max-width: 1720px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 90px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.breadcrumb { display: flex; gap: 13px; align-items: center; font-size: .77rem; color: var(--muted); }
.breadcrumb .desktopOnly { font-size: .62rem; letter-spacing: .1em; color: var(--soft); }
.topbarActions { display: flex; gap: 14px; align-items: center; }
.connection { display: flex; gap: 7px; align-items: center; color: var(--soft); font-size: .7rem; }
.connection::before { content: ""; width: 5px; height: 5px; background: #91b393; border-radius: 50%; }
.connection.offline::before { background: var(--gold); }
main { outline: none; min-height: calc(100dvh - 195px); }
.hero { overflow: hidden; position: relative; display: flex; min-height: 244px; justify-content: space-between; gap: 25px; align-items: center; padding: 34px 38px; border: 1px solid #99bd9a29; border-radius: 16px; background: linear-gradient(90deg, #183123f5, #193527c9 60%, #233e2980), url("/static/forest.jpg") center 47% / cover; }
.hero h1 { margin: 0 0 14px; }
.hero h1 em { font-weight: 400; font-style: normal; color: #bbd1b1; }
.hero .muted { margin: 0; max-width: 370px; font-size: .85rem; color: #bccfb8; }
.heroDate { text-align: right; align-self: flex-start; padding-top: 3px; color: #cbd9bd; }
.heroDate .dayNumber { font-size: 3.9rem; line-height: 1; font-weight: 250; letter-spacing: -.06em; margin: 12px 0 5px; }
.heroDate .small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.statGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 28px; }
.statCard { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; padding: 18px 21px; min-width: 0; }
.statCard:hover { border-color: #b9d9c455; background: #b9d9c408; }
.statTop { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.statTop span:last-child { color: var(--soft); font-size: 1rem; }
.statValue { display: block; font-size: 1.95rem; font-weight: 400; margin-top: 8px; letter-spacing: -.04em; }
.statValue .statUnit { font-size: .75rem; color: var(--soft); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.pageHeading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 8px 0 26px; }
.pageHeading h1 { margin-bottom: 10px; font-size: 2.6rem; }
.pageHeading .muted { font-size: .88rem; margin: 0; }
.captureBar { display: flex; align-items: center; gap: 10px; padding: 7px 9px 7px 18px; border: 1px solid #8da58b33; border-radius: 11px; background: var(--panel); margin-bottom: 26px; }
.captureBar .captureIcon { color: var(--soft); font-size: 1.25rem; }
.captureBar input { margin: 0; padding: 10px 3px; border: 0; background: transparent; box-shadow: none; flex: 1; min-width: 0; font-size: .88rem; }
.captureBar select { margin: 0; width: auto; font-size: .74rem; padding: 9px 28px 9px 10px; border: 0; color: var(--muted); background-color: transparent; }
.captureBar .button { font-size: .8rem; min-height: 38px; padding: 8px 15px; }
.toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.filterGroup, .sortGroup { display: flex; gap: 7px; align-items: center; }
.filterButton { min-height: 37px; border-radius: 7px; border: 1px solid transparent; background: none; color: var(--muted); padding: 8px 12px; font-size: .77rem; }
.filterButton.active { background: #a2bc9b1a; border-color: #b9d9c424; color: var(--accent); }
.sortGroup select { margin: 0; padding: 8px 25px 8px 9px; width: auto; min-height: 37px; font-size: .74rem; color: var(--muted); border-color: transparent; background-color: transparent; }
.searchBar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.searchBar input { margin: 0; flex: 1; }
.contentGrid { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 28px; }
.sectionHeading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sectionHeading h2 { font-size: 1rem; letter-spacing: -.025em; margin: 0; }
.sectionHeading h3 { margin: 0; }
.sectionHeading .small { font-size: .7rem; color: var(--soft); }
.itemGroup { margin-bottom: 27px; }
.itemList { display: grid; gap: 8px; }
.itemCard { display: flex; align-items: flex-start; gap: 13px; background: #ffffff03; border: 1px solid var(--line); border-radius: 11px; padding: 17px 15px; min-width: 0; transition: background .15s; }
.itemCard:hover { background: #ffffff06; border-color: #bbd2b530; }
.completeButton { margin-top: 2px; height: 23px; width: 23px; flex: 0 0 23px; padding: 0; background: none; border: 1px solid #8d9f7b70; border-radius: 50%; font-size: .8rem; color: var(--accent); }
.completeButton.square { border-radius: 6px; }
.completeButton.checked { background: var(--accent); color: #142b1f; border-color: var(--accent); }
.itemMain { min-width: 0; flex: 1; }
.itemTitle { display: block; width: 100%; padding: 2px 0 0; background: none; border: 0; text-align: left; font-weight: 500; font-size: .89rem; line-height: 1.4; overflow-wrap: anywhere; }
.itemCard.done .itemTitle { text-decoration: line-through; color: var(--soft); }
.itemExcerpt { color: var(--soft); font-size: .76rem; line-height: 1.5; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.itemMeta { display: flex; gap: 7px 10px; flex-wrap: wrap; align-items: center; margin-top: 9px; font-size: .65rem; color: var(--soft); }
.itemMeta a { font-size: .67rem; }
.tag { display: inline-block; background: #ffffff06; padding: 3px 6px; border-radius: 4px; color: #a8bba2; font-size: .64rem; }
.priority { color: var(--gold); background: #d3b8750d; padding: 3px 7px; border-radius: 4px; }
.overdue { color: var(--danger); }
.itemAside { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.itemPrice { font-size: .83rem; color: #d4dfc9; white-space: nowrap; }
.rowMenu { width: 30px; min-width: 30px; height: 30px; font-size: 1.1rem; color: var(--soft); }
.noteGlyph { color: var(--gold); padding-top: 1px; width: 23px; flex-shrink: 0; text-align: center; font-size: 1.25rem; }
.sidePanel { padding: 22px; background: #17271b; border: 1px solid #a9bc8d20; border-radius: 12px; margin-bottom: 18px; }
.sidePanel .eyebrow { font-size: .57rem; letter-spacing: .12em; }
.sidePanel h3 { font-weight: 500; margin-bottom: 12px; }
.sidePanel p { font-size: .78rem; color: var(--muted); line-height: 1.6; }
.progressTrack { height: 5px; background: #ffffff0c; border-radius: 3px; margin: 16px 0 11px; overflow: hidden; }
progress { width: 100%; height: 6px; border: 0; background: #ffffff0c; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #ffffff0c; border-radius: 5px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 5px; }
.quietPanel { background: transparent; border: 1px dashed var(--line); }
.upcomingLine { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.upcomingLine:last-child { border: 0; padding-bottom: 0; }
.upcomingLine button { text-align: left; color: var(--muted); background: transparent; border: 0; padding: 0; line-height: 1.5; }
.upcomingLine span { color: var(--gold); font-size: .68rem; white-space: nowrap; }
.emptyState { border: 1px dashed #b9d9c428; border-radius: 12px; text-align: center; padding: 44px 20px; }
.emptyGlyph { display: inline-grid; place-content: center; width: 50px; height: 50px; border: 1px solid #b9d9c433; color: var(--accent); border-radius: 50%; font-size: 1.5rem; margin-bottom: 17px; }
.emptyState h3 { margin-bottom: 9px; font-weight: 500; }
.emptyState p { font-size: .82rem; color: var(--soft); line-height: 1.6; margin-bottom: 10px; }
.shoppingTotal { display: flex; justify-content: space-between; padding: 17px 20px; border: 1px solid var(--line); background: var(--panel); border-radius: 11px; margin-bottom: 20px; font-size: .82rem; color: var(--muted); }
.shoppingTotal strong { color: var(--accent); font-size: 1rem; }
.mainFooter { display: flex; justify-content: space-between; gap: 15px; padding: 28px 0; color: #637e6a; font-size: .66rem; }
.mainFooter span:last-child { letter-spacing: .12em; white-space: nowrap; }
.offlineBanner { border: 1px solid #d3b87533; background: #d3b87509; padding: 12px 16px; font-size: .79rem; line-height: 1.5; border-radius: 9px; color: var(--gold); margin-bottom: 20px; }
.mobileNav, .navBackdrop { display: none; }
label { display: block; font-size: .78rem; color: #c2cfbf; font-weight: 500; }
input, select, textarea { width: 100%; min-height: 45px; margin-top: 8px; padding: 12px 13px; border: 1px solid #bdd0b626; border-radius: 8px; background: #07130e60; color: var(--text); outline: none; font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: #b9d9c482; box-shadow: 0 0 0 3px #b9d9c409; }
input::placeholder, textarea::placeholder { color: #6e8977; }
textarea { resize: vertical; line-height: 1.6; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.checkLabel { display: flex; align-items: center; gap: 10px; min-height: 45px; font-weight: 400; }
dialog { color: var(--text); border: 1px solid #bad0b52e; padding: 0; background: #14251d; box-shadow: var(--shadow); border-radius: 16px; max-height: calc(100dvh - 48px); width: min(670px, calc(100% - 32px)); }
dialog::backdrop { background: #030b08be; backdrop-filter: blur(6px); }
.editorDialog form { display: flex; flex-direction: column; max-height: calc(100dvh - 50px); }
.dialogHeader { padding: 25px 28px 19px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.dialogHeader .eyebrow { margin-bottom: 9px; font-size: .6rem; }
.dialogHeader h2 { margin: 0; font-size: 1.45rem; }
.dialogHeader .iconButton { margin: -8px -10px 0 0; color: var(--muted); }
.dialogBody { padding: 24px 28px; overflow-y: auto; overscroll-behavior: contain; }
.dialogBody > label { margin-bottom: 20px; }
.dialogFooter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; background: #132219; border-top: 1px solid var(--line); }
.footerActions { display: flex; gap: 10px; justify-content: flex-end; margin-left: auto; }
.formGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 19px 0; align-items: end; }
.segmented { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 24px; background: #07150e44; }
.segmented button { flex: 1; padding: 10px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: .82rem; }
.segmented button.active { background: #b9d9c419; color: var(--accent); }
.titleField input { font-size: 1.12rem; font-weight: 500; }
.fieldHint { font-size: .7rem; color: var(--soft); line-height: 1.65; display: block; margin: 7px 0; font-weight: 400; }
.reminderShortcuts { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.reminderShortcuts button { padding: 7px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: .7rem; min-height: 34px; }
.editorSection { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 22px; }
.editorSection h3 { font-size: .83rem; }
.checklistRow, .linkRow { display: flex; gap: 9px; align-items: center; margin: 8px 0; }
.checklistRow input[type="text"] { margin: 0; flex: 1; }
.checklistRow .iconButton, .linkRow .iconButton { width: 30px; flex-shrink: 0; font-size: 1.15rem; }
.linkInputs { flex: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.linkInputs input { margin: 0; font-size: .8rem; }
.formError { color: var(--danger); font-size: .8rem; line-height: 1.6; }
.formError:empty { display: none; }
.smallDialog { width: min(450px, calc(100% - 32px)); }
.settingsGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.settingsPanel { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); padding: 25px; margin-bottom: 22px; }
.settingsPanel h2 { font-size: 1.15rem; margin-bottom: 8px; }
.settingsPanel > .muted { font-size: .78rem; margin-bottom: 23px; }
.settingsPanel label:not(.checkLabel) { margin-bottom: 17px; }
.settingToggle { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.settingToggle label { cursor: pointer; }
.settingToggle span { display: block; color: var(--soft); font-size: .7rem; margin-top: 5px; line-height: 1.5; }
.settingsSave { position: sticky; bottom: 15px; display: flex; justify-content: flex-end; padding: 14px 20px; border: 1px solid var(--line); background: #15281ef2; backdrop-filter: blur(15px); border-radius: 12px; z-index: 5; margin-top: 8px; gap: 15px; align-items: center; }
.settingsSave .small { margin-right: auto; color: var(--soft); }
.deviceRow { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.deviceRow > div { flex: 1; min-width: 0; }
.deviceRow strong { font-size: .81rem; overflow-wrap: anywhere; }
.deviceRow .small { color: var(--soft); display: block; }
.deviceRow .textButton { font-size: .73rem; }
.installHelp { margin-top: 20px; padding: 15px; border-radius: 9px; border: 1px dashed #bad1b12e; font-size: .78rem; color: var(--muted); }
.installHelp summary { cursor: pointer; color: var(--accent); line-height: 1.6; }
.installHelp p { margin: 12px 0 0; line-height: 1.7; }
.notificationStatus { display: inline-flex; padding: 6px 9px; border-radius: 6px; background: #b9d9c410; color: var(--accent); font-size: .7rem; margin: 0 0 15px; }
.loginLayout { min-height: 100dvh; display: grid; grid-template-columns: 1.15fr 1fr; }
.loginStory { padding: 55px 65px; background: linear-gradient(180deg, #152c21c0, #102218c7), url("/static/forest.jpg") center / cover; display: flex; flex-direction: column; justify-content: space-between; min-height: 100dvh; }
.loginStory h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 350; margin-bottom: 25px; }
.loginStory p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.8; color: #b7ccb3; }
.loginStory > .small { color: #90ac92; }
.loginCard { padding: 60px; align-self: center; width: min(530px, 100%); justify-self: center; }
.loginCard h2 { font-size: 2rem; line-height: 1.2; }
.loginCard > .muted { font-size: .88rem; margin: 0 0 32px; }
.loginCard label { margin: 20px 0; }
.loginCard .button { width: 100%; margin: 10px 0 22px; justify-content: space-between; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 100; max-width: min(540px, calc(100% - 30px)); width: max-content; padding: 14px 22px; background: #d0e2cb; color: #153123; border-radius: 11px; box-shadow: var(--shadow); font-size: .84rem; line-height: 1.6; }
.noscript { padding: 30px; position: fixed; inset: 0; background: var(--bg); z-index: 110; }
body.modalOpen { overflow: hidden; }
body.compact .itemCard { padding-top: 11px; padding-bottom: 11px; }
body.compact .itemExcerpt { display: none; }
@media (min-width: 1600px) { .mainShell { padding-left: 65px; padding-right: 65px; } .contentGrid { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 1150px) { .sidebar { width: 212px; padding: 25px 13px 16px; } .mainShell { margin-left: 212px; padding: 0 26px; } .contentGrid { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; } .hero { padding: 28px; } .statCard { padding: 16px; } .settingsGrid { gap: 16px; } .settingsPanel { padding: 20px; } }
@media (max-width: 950px) { .contentGrid { grid-template-columns: 1fr; } .contextAside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .sidePanel { margin: 0; } .statGrid { gap: 9px; } .statTop { font-size: .68rem; } .settingsGrid { grid-template-columns: 1fr; } .settingsGrid > div { min-width: 0; } .loginStory { padding: 35px; } .loginCard { padding: 35px; } }
@media (max-width: 700px) {
  :root { font-size: 15px; }
  .desktopOnly { display: none !important; }
  input, textarea, select { font-size: 16px; }
  .sidebar { transform: translateX(-100%); width: 280px; padding-top: max(26px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); transition: transform .2s; z-index: 60; }
  .sidebar.open { transform: translateX(0); }
  .navBackdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 55; background: #0009; border: 0; backdrop-filter: blur(4px); }
  .mainShell { margin: 0; padding: 0 20px calc(85px + env(safe-area-inset-bottom)); }
  .topbar { height: auto; min-height: 77px; padding-top: env(safe-area-inset-top); margin-bottom: 22px; }
  .breadcrumb { font-size: 1.2rem; font-weight: 500; color: var(--text); letter-spacing: -.025em; }
  .topbarActions { gap: 5px; }
  .connection { font-size: 0; gap: 0; width: 10px; }
  .topbar .smallButton { min-height: 42px; font-size: .8rem; padding: 10px 12px; }
  .hero { min-height: 215px; padding: 24px 22px; border-radius: 13px; gap: 15px; }
  .hero h1 { font-size: 2.4rem; }
  .hero .eyebrow { font-size: .52rem; margin-bottom: 16px; }
  .hero .muted { font-size: .75rem; line-height: 1.7; }
  .heroDate { padding-top: 2px; }
  .heroDate .small { font-size: .55rem; letter-spacing: .04em; }
  .heroDate .dayNumber { font-size: 2.8rem; margin: 11px 0 7px; }
  .statGrid { grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 23px; }
  .statCard { padding: 14px 16px; }
  .statValue { font-size: 1.65rem; margin-top: 5px; }
  .statTop { font-size: .72rem; }
  .captureBar { padding-left: 12px; gap: 6px; margin-bottom: 23px; }
  .captureBar input { font-size: 16px; }
  .captureBar select { max-width: 83px; padding-right: 4px; font-size: .7rem; }
  .captureBar .captureIcon { display: none; }
  .captureBar .button { padding: 8px 11px; }
  .toolbar { gap: 6px; margin-bottom: 18px; }
  .filterGroup { gap: 1px; }
  .filterButton { font-size: .74rem; padding: 9px; }
  .sortGroup select { max-width: 112px; font-size: .7rem; padding-right: 5px; }
  .itemCard { padding: 15px 12px; gap: 11px; }
  .completeButton { width: 24px; height: 24px; flex-basis: 24px; position: relative; }
  .completeButton::before { content: ""; position: absolute; inset: -10px; }
  .itemTitle { font-size: .92rem; }
  .itemMeta { font-size: .65rem; gap: 7px; }
  .rowMenu { width: 27px; min-width: 27px; height: 36px; }
  .itemAside { flex-direction: column; align-items: flex-end; gap: 0; }
  .itemPrice { font-size: .73rem; }
  .contextAside { display: block; }
  .sidePanel { margin-top: 0; margin-bottom: 16px; }
  .quietPanel { display: none; }
  .mobileNav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: #112219f5; border-top: 1px solid var(--line); backdrop-filter: blur(20px); }
  .mobileNav button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 5px 0; min-height: 48px; border: 0; background: none; color: var(--soft); font-size: .6rem; }
  .mobileNav button .navIcon { font-size: 1.22rem; width: auto; }
  .mobileNav button.active { color: var(--accent); }
  .mobileNav button.active .navIcon { color: var(--accent); }
  .pageHeading { gap: 10px; }
  .pageHeading h1 { font-size: 2.3rem; }
  .pageHeading .muted { font-size: .8rem; }
  .mainFooter { padding: 24px 0 0; font-size: .58rem; }
  .mainFooter span:first-child { max-width: 210px; }
  .editorDialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .editorDialog form { height: 100dvh; max-height: 100dvh; }
  .dialogHeader { padding: calc(20px + env(safe-area-inset-top)) 22px 18px; }
  .dialogBody { padding: 20px 22px; flex: 1; }
  .dialogFooter { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
  .dialogFooter .button { padding: 11px 13px; font-size: .8rem; }
  .dialogFooter .textButton { font-size: .72rem; }
  .formGrid { gap: 12px; }
  input[type="datetime-local"] { min-width: 0; max-width: 100%; padding: 11px 6px; font-size: .8rem; }
  .linkInputs { grid-template-columns: 1fr; }
  .linkInputs input { font-size: 16px; }
  .smallDialog .dialogHeader { padding-top: 22px; }
  .smallDialog .dialogFooter { padding-bottom: 18px; }
  .settingsPanel { padding: 20px; }
  .settingsSave { bottom: calc(78px + env(safe-area-inset-bottom)); padding: 12px; }
  .settingsSave .small { font-size: .66rem; }
  .loginLayout { display: block; }
  .loginStory { min-height: 310px; padding: calc(25px + env(safe-area-inset-top)) 28px 28px; }
  .loginStory .brand { font-size: 1.9rem; }
  .loginStory .brand img { width: 35px; height: 35px; }
  .loginStory > div:nth-child(2) { margin-top: 36px; }
  .loginStory h1 { font-size: 3.4rem; margin-bottom: 0; }
  .loginStory > div > p:not(.eyebrow), .loginStory > .small { display: none; }
  .loginStory .eyebrow { font-size: .57rem; }
  .loginCard { padding: 33px 28px calc(30px + env(safe-area-inset-bottom)); width: 100%; }
  .loginCard h2 { font-size: 1.7rem; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  body.modalOpen .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
