#dailyDock{display:none}.daily-nav-link svg{width:21px;height:21px;flex:none}.daily-nav-heading{padding:14px 12px 2px}.daily-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.daily-tools-heading p{margin:0;max-width:65ch}.daily-tools-heading button{flex-shrink:0}.daily-tool-row{display:flex;align-items:stretch;min-width:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.daily-tool-row[hidden]{display:none!important}.daily-tool-row .tool-item{flex:1;min-width:0;width:auto;border:0;border-radius:0;background:transparent;padding-right:10px}.daily-tool-row .tool-item>span:last-child{min-width:0}.daily-tool-row .tool-item small{overflow-wrap:anywhere}.favorite-star{align-self:center;flex:none;font-size:23px;background:transparent;padding:8px;min-width:44px;min-height:44px;color:#66766c;margin-right:5px}.favorite-star.selected{color:#765c23}.favorite-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.favorite-choice{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px;line-height:1.4;overflow-wrap:anywhere}.favorite-choice input{flex:none;width:20px;height:20px}.getting-started{margin-bottom:22px;border-color:#b4cbbd}.getting-started h2{margin:0}.getting-started progress{display:block;width:100%;height:8px;accent-color:#39715b;margin:18px 0}.getting-started ol{padding-left:24px;display:flex;flex-wrap:wrap;gap:10px 32px;line-height:1.6}.getting-started .completed{color:#39715b}.getting-started-actions{display:flex;gap:10px;flex-wrap:wrap}.getting-started-actions button{max-width:100%;white-space:normal}.getting-started p{max-width:70ch}.restart-setup{margin-top:20px}.daily-purpose{border-left:3px solid #72947d;padding:8px 12px;margin:0 0 18px;max-width:65ch;color:#416653}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#drawerNav details.drawer-group summary{padding:12px 10px;min-height:48px;cursor:pointer;font-weight:600;font-size:.9rem}#drawerNav details.drawer-group{margin-bottom:4px}#nav button.daily-nav-link{display:flex;align-items:center;flex-direction:row;gap:12px;margin-top:0;min-height:48px}#nav .app-version{padding:14px 12px}.daily-tool-row:focus-within{outline:2px solid #578468;outline-offset:2px}
html[data-theme=dark] .daily-tool-row{background:#192821}html[data-theme=dark] .daily-purpose,html[data-theme=dark] .getting-started .completed{color:#a3e0ba}html[data-theme=dark] .favorite-star.selected{color:#e5c779}
@media(max-width:767px){body.has-daily-dock main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}body.has-daily-dock .toast{bottom:calc(94px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:104px}#dailyDock{position:fixed;z-index:22;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px max(4px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));background:#fbfdfb;border-top:1px solid var(--line);box-shadow:0 -4px 18px #142c1810}#dailyDock .daily-dock-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;font-size:10px;line-height:1.25;padding:6px 2px;white-space:normal;text-align:center;background:transparent;color:#405c4d;border-radius:12px;overflow-wrap:anywhere}#dailyDock .daily-dock-link svg{width:22px;height:22px;flex:none}#dailyDock .daily-dock-link.active{background:#e4efe5;color:#214e40;font-weight:650}.daily-tools-heading{display:block}.daily-tools-heading button{margin-top:12px}.getting-started ol{display:grid;gap:6px}.getting-started .row{align-items:flex-start}.favorite-options{grid-template-columns:minmax(0,1fr)}html[data-theme=dark] #dailyDock{background:#192821}.daily-tool-row .tool-item{padding:14px 10px}.getting-started-actions{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(min-width:768px){#dailyDock{display:none!important}}

/* Custom disclosure indicator; the native summary keeps keyboard and screen-reader behavior. */
#drawerNav details.drawer-group>summary{position:relative;display:flex;align-items:center;list-style:none;gap:12px;padding:14px 50px 14px 12px;min-height:52px;border-radius:13px;color:#405c4d;line-height:1.45;overflow-wrap:anywhere;transition:background-color 160ms ease,color 160ms ease}
#drawerNav details.drawer-group>summary::-webkit-details-marker{display:none}
#drawerNav details.drawer-group>summary::marker{content:""}
#drawerNav details.drawer-group>summary::before{content:"";position:absolute;right:10px;top:50%;width:28px;height:28px;transform:translateY(-50%);border:1px solid #dfe7e1;border-radius:50%;background:#f1f5f0;transition:background-color 160ms ease,border-color 160ms ease}
#drawerNav details.drawer-group>summary::after{content:"";position:absolute;right:20px;top:calc(50% - 5px);width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transform-origin:center;transition:transform 180ms ease,top 180ms ease}
#drawerNav details.drawer-group[open]>summary{color:#214e40;background:#eaf1e9;margin-bottom:5px}
#drawerNav details.drawer-group[open]>summary::before{background:#dfeadf;border-color:#cfddcf}
#drawerNav details.drawer-group[open]>summary::after{top:calc(50% - 2px);transform:rotate(225deg)}
#drawerNav details.drawer-group>summary:focus-visible{outline:2px solid #517d65;outline-offset:2px}
@media(hover:hover){#drawerNav details.drawer-group>summary:hover{background:#edf3ed}}
html[data-theme=dark] #drawerNav details.drawer-group>summary{color:#dcf2e4}
html[data-theme=dark] #drawerNav details.drawer-group>summary::before{background:#263f33;border-color:#456354}
html[data-theme=dark] #drawerNav details.drawer-group[open]>summary{background:#253a2d;color:#ccebd6}
html[data-theme=dark] #drawerNav details.drawer-group[open]>summary::before{background:#355843;border-color:#5b7e68}
@media(hover:hover){html[data-theme=dark] #drawerNav details.drawer-group>summary:hover{background:#263f33}}
@media(prefers-reduced-motion:reduce){#drawerNav details.drawer-group>summary,#drawerNav details.drawer-group>summary::before,#drawerNav details.drawer-group>summary::after{transition:none}}

/* First use and entry: one clear next action, details available on demand. */
.compact-onboarding h2{font-size:1.12rem;margin:0}.compact-onboarding progress{height:5px;margin:12px 0}.compact-onboarding p{margin:5px 0 14px}.insertion-primary{border:2px solid var(--accent,#50765c)}
#form.quick-entry>.fields:first-of-type input#amount{font-size:1.6rem;font-weight:650;min-height:54px}#form .entry-details{margin:14px 0;border-top:1px solid #bbcabb;padding-top:12px}#form .entry-details>summary{min-height:44px;cursor:pointer;font-weight:600}#form .entry-details>label{margin-top:14px}#form .entry-details>small{display:block;margin:14px 0}#form.quick-entry>button.primary{min-height:48px;width:100%;margin-top:15px}

.category-manager>.row{flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid var(--line,#d9e1d8)}.category-manager .category-label{padding:8px 12px;border-radius:12px;overflow-wrap:anywhere;max-width:100%}.category-manager .category-label svg{width:20px;height:20px;vertical-align:middle}.category-manager button{min-height:44px}.subscription-posting-flag{font-size:14px;line-height:1.5}.subscription-posting-flag strong{white-space:normal}
.category-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.category-picker button{min-height:64px;text-align:left;overflow-wrap:anywhere}
.category-picker svg{width:24px;height:24px}
.category-icon-field{border:0;padding:0;margin:20px 0;min-width:0}
.category-icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.category-icon-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:84px;border:1px solid var(--line,#d9e1d8);border-radius:16px;padding:10px 4px;background:transparent;color:inherit}
.category-icon-grid svg{width:28px;height:28px;stroke-width:1.7}
.category-icon-grid span{font-size:12px;overflow-wrap:anywhere}
.category-icon-grid button[aria-pressed="true"]{border:2px solid #488663;background:rgba(72,134,99,.12);box-shadow:0 3px 12px rgba(24,58,39,.08)}
.category-icon-grid button[aria-pressed="true"]:after{content:"✓";position:absolute;top:3px;right:7px;color:#488663;font-size:12px}
.category-icon-grid button:focus-visible,.category-picker button:focus-visible{outline:3px solid #488663;outline-offset:3px}
.category-preview{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line,#d9e1d8);border-radius:20px;margin:12px 0;overflow-wrap:anywhere}
.category-preview strong{min-width:0}
.category-preview-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;flex-shrink:0}
.category-preview-icon svg{width:28px;height:28px;color:white;filter:drop-shadow(0 1px 2px #0009)}
.category-editor-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:16px}
