@import url("./design_system/_ds/local-handyman-solutions-design-system-189cb30e-ef41-49c5-9432-b0261840e2a2/styles.css");
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:var(--surface-sunken);color:var(--text-strong);font-family:var(--font-sans);font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--text-link);text-underline-offset:3px}button{min-height:44px;border:1px solid var(--border-strong);background:white;color:var(--text-strong);border-radius:12px;padding:10px 15px;font-weight:600}button:hover{background:var(--stone-100)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}.primary{background:var(--brand-primary);color:white;border-color:var(--brand-primary)}.primary:hover{background:var(--brand-primary-hover)}.quiet{background:transparent;border-color:transparent}.danger{color:var(--status-danger)}.skip{position:fixed;top:-100px;z-index:100;background:white;padding:15px}.skip:focus{top:0}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:750;letter-spacing:-.8px}.brand img{width:36px;height:36px;border-radius:9px}.top{height:84px;padding:20px 36px;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--border-subtle);gap:12px}.top small{color:var(--text-muted);font-size:12px}.shell{max-width:1400px;margin:auto;display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 84px)}nav{padding:30px 20px;border-right:1px solid var(--border-subtle)}nav button{display:flex;align-items:center;gap:12px;width:100%;border:none;text-align:left;background:transparent;margin-bottom:8px;color:var(--gray-700)}nav button.active{background:var(--gold-100);color:var(--brand-primary)}nav svg,.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.sidebar-note{margin:35px 12px;color:var(--text-muted);font-size:12px}.sidebar-note strong{display:block;color:var(--brand-primary)}main{padding:34px 40px 70px;min-width:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:0 0 10px}h2{font-size:19px;letter-spacing:-.4px;margin:0 0 12px}h3{font-size:16px;margin:0}p{margin:8px 0 16px}.muted{color:var(--text-muted)}.small{font-size:12px}.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:25px}.pagehead p{margin-bottom:0}.hero{display:grid;grid-template-columns:1.2fr 1fr;background:var(--brand-primary);border-radius:22px;overflow:hidden;color:white;margin-bottom:20px}.hero-copy{padding:28px}.hero h2{font-size:22px}.hero p{color:var(--stone-200)}.hero .amount{font-size:46px;letter-spacing:-2px;font-weight:650;line-height:1.2;margin:15px 0 5px;font-variant-numeric:tabular-nums}.hero svg{width:100%;height:100%;min-height:230px}.pill{display:inline-block;border-radius:7px;background:var(--stone-100);padding:3px 8px;font-size:11px;font-weight:650;color:var(--gray-700)}.pill.warn{background:var(--gold-50);color:#8a6a00}.pill.bad{background:#fff0ed;color:var(--status-danger)}.pill.good{background:#edf7f0;color:var(--status-success)}.hero .pill{background:var(--gold-100);color:var(--text-strong)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.metric{background:white;border-radius:14px;padding:18px}.metric span{display:block;color:var(--text-muted);font-size:12px}.metric strong{font-size:25px;font-weight:650;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.panel{background:white;border:1px solid var(--border-subtle);border-radius:16px;padding:22px;margin-bottom:20px}.panel.flat{background:transparent;border:none;padding:0}.split{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.notice{background:var(--gold-50);border-left:3px solid var(--brand-accent);border-radius:3px 10px 10px 3px;padding:14px 16px;margin:18px 0;color:var(--text-strong)}.notice p{margin:4px 0 0;font-size:13px}.notice.info{background:var(--stone-100);color:var(--gray-700);border-color:var(--gray-500)}.spread{display:flex;align-items:center;justify-content:space-between;gap:12px}.bar{height:10px;border-radius:4px;background:var(--stone-100);display:flex;overflow:hidden;margin:12px 0}.bar span{height:100%;background:var(--ink-800)}.bar span.reserve{background:var(--brand-accent)}.legend{display:flex;gap:16px;flex-wrap:wrap;color:var(--text-muted);font-size:12px}.legend b{display:inline-block;width:8px;height:8px;background:var(--ink-800);border-radius:2px;margin-right:5px}.legend b.pink{background:var(--brand-accent)}.line{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--border-subtle)}.line:last-child{border-bottom:0}.line strong{text-align:right;font-variant-numeric:tabular-nums}.section-title{margin:28px 0 14px}.list{background:white;border:1px solid var(--border-subtle);border-radius:16px;overflow:hidden}.item{border-bottom:1px solid var(--border-subtle)}.item:last-child{border-bottom:0}.item summary{cursor:pointer;display:flex;list-style:none;padding:17px 18px;align-items:center;gap:12px}.item summary::-webkit-details-marker{display:none}.item summary:after{content:'+';color:var(--text-muted)}.item[open] summary:after{content:'−'}.item .tile{width:40px;height:40px;border-radius:10px;background:var(--stone-100);display:flex;align-items:center;justify-content:center;color:var(--ink-700);flex:none}.item .item-name{flex:1;min-width:0}.item .item-name strong{font-size:14px;display:block}.item .price{font-weight:650;white-space:nowrap}.item .detail{padding:0 20px 20px 70px;font-size:13px}.item .detail p{color:var(--gray-700);max-width:75ch}.toolbar{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.toolbar input{flex:1;min-width:150px}.toolbar select{width:auto}.tabs{display:flex;gap:5px;overflow:auto;border-bottom:1px solid var(--border-subtle);margin-bottom:22px}.tabs button{border:0;border-radius:0;background:transparent;color:var(--text-muted);white-space:nowrap}.tabs button.active{border-bottom:3px solid var(--brand-primary);color:var(--brand-primary)}.buttons{display:flex;gap:9px;flex-wrap:wrap}.fab{display:none}label{display:block;color:var(--gray-700);font-size:13px;font-weight:600;margin-bottom:16px}input,select,textarea{display:block;width:100%;padding:11px 12px;background:#fff;border:1px solid #8b8e90;border-radius:9px;min-height:46px;margin-top:6px;color:var(--text-strong)}input[type=checkbox]{width:22px;min-height:22px;margin:0;accent-color:var(--brand-primary)}textarea{resize:vertical;min-height:90px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.fields .wide{grid-column:1/-1}label small{display:block;font-weight:400;color:var(--text-muted);margin-top:5px}dialog{border:0;border-radius:20px;padding:0;max-width:620px;width:calc(100% - 28px);max-height:90dvh;box-shadow:0 20px 80px #16181a33;color:var(--text-strong)}dialog::backdrop{background:var(--overlay-scrim)}dialog header{padding:20px 24px 12px;position:sticky;top:0;background:white;z-index:1}dialog form{padding:12px 24px 24px}dialog footer{position:sticky;bottom:-24px;background:white;padding:14px 0 0;display:flex;gap:10px;justify-content:flex-end}dialog .error{color:var(--status-danger)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--text-strong);color:white;padding:12px 22px;border-radius:10px;z-index:200;display:none;max-width:90%;width:max-content}.empty{padding:40px 18px;text-align:center;color:var(--text-muted)}.gate{display:flex;align-items:flex-start;gap:14px;padding:20px 0;border-bottom:1px solid var(--border-subtle)}.gate .gate-body{flex:1}.gate p{font-size:13px;color:var(--text-muted);margin:5px 0 10px}.gate .step{flex:none;width:30px;height:30px;border-radius:50%;background:var(--stone-100);display:grid;place-items:center;color:var(--ink-700);font-size:12px}.gate.done .step{background:#edf7f0;color:var(--status-success)}.source{padding:14px 0;border-bottom:1px solid var(--border-subtle)}.source p{font-size:13px;margin:4px 0}.source a{overflow-wrap:anywhere}.timeline{padding-left:20px;border-left:2px solid var(--border-subtle);margin-left:12px}.phase{position:relative;padding:0 0 28px 10px}.phase:before{content:'';position:absolute;width:12px;height:12px;border:3px solid var(--surface-sunken);background:var(--ink-800);border-radius:50%;left:-27px;top:5px}.phase p{font-size:13px;margin:5px 0}.cost-negative{color:var(--status-danger)}.noprint{}.footnote{font-size:12px;color:var(--text-muted);margin-top:25px}.checks{padding-left:18px;font-size:14px}.checks li{margin-bottom:12px}.backup-file{display:none}.connection{display:inline-flex;align-items:center;gap:6px}.connection:before{content:'';background:var(--status-success);border-radius:50%;width:6px;height:6px}.connection.off:before{background:#8a6a00}
@media(min-width:1100px){.hero-copy{padding:34px}.hero{min-height:260px}main{padding-top:38px}}
@media(max-width:900px){.shell{grid-template-columns:170px 1fr}main{padding:28px 24px 70px}.split{grid-template-columns:1fr}.hero{grid-template-columns:1.4fr 1fr}.hero-copy{padding:23px}.hero .amount{font-size:39px}nav{padding:25px 10px}.metric{padding:15px}.metric strong{font-size:22px}}
@media(max-width:640px){body{font-size:14px}.top{height:68px;padding:14px 19px}.brand{font-size:22px}.top .desktop-add{display:none}.top small{font-size:11px}.shell{display:block;min-height:calc(100dvh - 68px)}nav{position:fixed;bottom:0;left:0;right:0;background:var(--surface-card);backdrop-filter:blur(18px);border-top:1px solid var(--border-subtle);padding:7px 6px calc(7px + env(safe-area-inset-bottom));display:flex;z-index:20;justify-content:space-around}nav button{flex:1;flex-direction:column;gap:3px;margin:0;padding:7px 0;min-height:50px;border-radius:8px;font-size:10px}nav svg{width:22px;height:22px}.sidebar-note{display:none}main{padding:25px 18px 160px}.pagehead{margin-bottom:20px}.pagehead h1{font-size:27px}.pagehead p{font-size:12px;max-width:30ch}.pagehead .quiet{padding:6px;min-width:44px}.hero{border-radius:18px;grid-template-columns:1.35fr 1fr;min-height:220px}.hero-copy{padding:23px 0 22px 21px}.hero h2{font-size:16px}.hero p{font-size:12px;max-width:22ch}.hero .amount{font-size:35px;letter-spacing:-1.4px}.hero svg{min-height:220px}.hero .pill{font-size:10px}.metrics{gap:8px;margin:15px 0}.metric{padding:14px 10px;border-radius:10px}.metric span{font-size:10px}.metric strong{font-size:19px}.panel{padding:18px;border-radius:14px}.panel h2{font-size:17px}.split{gap:0}.fab{display:flex;align-items:center;gap:7px;position:fixed;right:18px;bottom:calc(87px + env(safe-area-inset-bottom));border-radius:30px;z-index:19;box-shadow:0 5px 18px #16181a22;padding:13px 20px}.fab svg{width:19px;height:19px}.notice{font-size:13px}.item summary{padding:16px 13px;gap:10px}.item .tile{width:34px;height:38px}.item .price{font-size:14px}.item .item-name strong{font-size:13px;line-height:1.4}.item .detail{padding-left:17px;padding-right:17px}.toolbar{gap:8px}.toolbar input{width:100%;flex-basis:100%}.toolbar select{flex:1;min-width:0;font-size:13px}.fields{gap:0 12px}.fields label{font-size:12px}input,select,textarea{font-size:16px}.buttons button{font-size:12px;flex:1}.spread h2{margin-bottom:0}.line{font-size:13px}dialog{border-radius:18px;max-height:92dvh}dialog header{padding:17px 18px 8px}dialog form{padding:10px 18px 20px}#toast{bottom:165px}.source a{font-size:13px}.tabs button{font-size:13px;padding:10px 11px}.gate{gap:10px}.gate h3{font-size:14px}.gate .quiet{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{nav,.top,.fab,.toolbar,.buttons,.pagehead button,.noprint,dialog{display:none!important}.shell{display:block}main{padding:0}.panel,.item{break-inside:avoid}.hero{print-color-adjust:exact}.split{display:block}body{background:white}details .detail{display:block}a{color:inherit}}

.property-switch{display:flex;align-items:center;gap:18px;border:0;background:var(--stone-100);font-size:12px;padding:9px 12px;min-height:40px;border-radius:8px;margin-bottom:20px;max-width:100%;text-align:left}.property-switch span{margin-left:auto}

/* LHS v2 application contract: semantic tokens, 4px rhythm, decision-first overview. */
:root{--gold-800:#8a6a00;--text-accent:var(--gold-800);--text-link-hover:var(--gold-800)}
body{font-size:16px;line-height:1.6;font-kerning:normal;background:var(--surface-sunken)}
button{border-radius:var(--radius-sm);min-height:48px;padding:12px 16px;letter-spacing:var(--tracking-button);transition:background var(--dur-fast),transform var(--dur-fast)}
button:active{transform:scale(var(--press-scale))}.primary{background:var(--brand-accent);color:var(--ink-800);border-color:var(--brand-accent)}.primary:hover{background:var(--brand-accent-hover);border-color:var(--brand-accent-hover)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--ink-800);outline-offset:3px}
.top{height:80px;background:var(--surface-dark);color:white;padding:16px 32px}.brand{font-family:var(--font-display);font-size:32px;font-weight:700;letter-spacing:0;gap:12px}.brand img{width:40px;height:40px;border-radius:0}.brand small{display:block;font-family:var(--font-sans);font-size:12px;line-height:1.2;letter-spacing:0;color:var(--stone-200);font-weight:400}.top .connection{color:var(--stone-200);font-size:13px}.top button:focus-visible{outline-color:var(--gold-500)}
.shell{max-width:1440px;grid-template-columns:216px minmax(0,1fr)}.shell>nav{background:white;padding:32px 16px}.shell>nav button{border-radius:var(--radius-sm);font-size:16px;min-height:48px;margin-bottom:8px}.shell>nav button.active{background:var(--gold-100);color:var(--ink-900);box-shadow:inset 3px 0 var(--brand-accent)}
.sidebar-note{font-size:14px;line-height:1.6;margin:32px 12px}.sidebar-note strong{color:var(--ink-900)}main{padding:32px 40px 64px}h1{font-family:var(--font-sans);font-size:36px;line-height:1.2;letter-spacing:-.01em}h2{font-size:22px;line-height:1.3;letter-spacing:-.01em}h3{font-size:18px;line-height:1.4}.pagehead{margin-bottom:24px}.pagehead p{max-width:72ch;font-size:16px}.small,.footnote{font-size:13px;line-height:1.5}
.property-switch{background:white;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font-size:14px;min-height:44px;padding:8px 12px;margin-bottom:24px}
.hero{grid-template-columns:1.2fr 1fr;min-height:0;background:white;color:var(--ink-900);border:1px solid var(--border-subtle);border-left:4px solid var(--brand-accent);border-radius:var(--radius-md);margin-bottom:24px}.hero-copy{padding:24px 28px}.hero h2{font-size:16px;font-weight:500;color:var(--gray-700);margin:0}.hero .amount{font-family:var(--font-display);font-size:56px;font-weight:700;line-height:1;letter-spacing:0;margin:12px 0}.hero p{font-size:14px;color:var(--gray-700);margin:12px 0 0}.hero .pill{background:var(--gold-50);color:var(--gold-800);font-size:13px}.hero .pill.bad{color:var(--status-danger);background:#fff0ed}.hero-cap{padding:24px 28px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--border-subtle);gap:8px}.hero-cap>span{font-size:14px;color:var(--gray-700)}.hero-cap>strong{font-family:var(--font-display);font-size:36px;line-height:1;font-variant-numeric:tabular-nums}.hero-cap button{align-self:flex-start;margin-top:8px}
.metrics{gap:0;background:white;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);margin:24px 0}.metric{border-radius:0;padding:20px 24px;border-right:1px solid var(--border-subtle)}.metric:last-child{border-right:0}.metric span{font-size:14px}.metric strong{font-family:var(--font-display);font-size:32px;font-weight:700;letter-spacing:0}.panel,.list{border-radius:var(--radius-md);box-shadow:none}.panel{padding:24px;margin-bottom:24px}.split{gap:24px}.panel h2{font-size:22px}.notice{border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:16px 20px;margin:24px 0;font-size:16px}.notice p{font-size:14px;line-height:1.6}.notice.info{background:var(--stone-100);border-color:var(--ink-700)}.pill{font-size:13px;font-weight:600;border-radius:var(--radius-sm);padding:4px 8px}.bar{border-radius:0;height:8px}.legend{font-size:14px}.legend b{border-radius:0}.line{font-size:16px;padding:12px 0}.line strong,.price{font-variant-numeric:tabular-nums}.item .price{font-family:var(--font-display);font-size:24px;font-weight:700}.item .tile{border-radius:var(--radius-sm);background:var(--stone-100)}.item summary{padding:20px;gap:16px;min-height:80px}.item .item-name strong{font-size:16px;font-weight:600}.item .detail{font-size:16px;padding:0 24px 24px 76px}.item .detail p{line-height:1.6;color:var(--gray-700)}
.tabs button{font-size:16px}.tabs button.active{border-color:var(--brand-accent);color:var(--ink-900)}label{font-size:14px;line-height:1.5;color:var(--gray-700)}input,select,textarea{font-size:16px;border:1px solid #8b8e90;border-radius:var(--radius-sm);min-height:48px;padding:12px;margin-top:8px}input:focus,select:focus,textarea:focus{border-color:var(--ink-800)}input[type=checkbox]{accent-color:var(--ink-800)}label small{font-size:13px}.fields{gap:0 24px}.buttons button{font-size:14px}dialog{border-radius:var(--radius-lg);box-shadow:var(--shadow-xl)}dialog h2{font-size:24px}dialog .error{font-size:14px}#toast{background:var(--ink-900);border-radius:var(--radius-sm);font-size:16px}.gate h3{font-size:18px}.gate p,.phase p,.source p{font-size:14px;line-height:1.6}.gate .step{border-radius:var(--radius-sm);width:32px;height:32px;font-weight:700;font-size:14px}.footnote a{color:var(--ink-800)}.empty{font-size:16px}.connection:before{background:var(--gold-500)}.connection.off:before{background:var(--stone-200)}
@media(max-width:1000px){main{padding:24px}.shell{grid-template-columns:176px minmax(0,1fr)}.hero-copy,.hero-cap{padding:24px}.split{grid-template-columns:1fr;gap:0}}
@media(max-width:700px){body{font-size:16px}.top{height:76px;padding:12px 16px}.brand{font-size:28px}.brand img{width:32px;height:32px}.brand small{font-size:11px}.top .connection{font-size:12px;max-width:104px;line-height:1.3}.top .desktop-add{display:none}.shell{display:block}.shell>nav{position:fixed;inset:auto 0 0;display:flex;justify-content:space-around;border-right:0;border-top:1px solid var(--border-subtle);padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:20;background:white}.shell>nav button{width:auto;flex:1;display:flex;flex-direction:column;gap:4px;margin:0;padding:8px 2px;min-height:56px;font-size:13px;border-radius:var(--radius-sm)}.shell>nav button.active{box-shadow:inset 0 -3px var(--gold-500)}.sidebar-note{display:none}main{padding:24px 16px 172px}.pagehead{gap:8px;margin-bottom:20px}.pagehead h1{font-size:32px}.pagehead p{font-size:14px;max-width:36ch}.pagehead button{flex-shrink:0;padding:8px 12px}.property-switch{margin-bottom:20px}.hero{grid-template-columns:1.15fr 1fr;border-radius:var(--radius-md);margin:0 0 20px}.hero-copy,.hero-cap{padding:20px 16px}.hero .amount{font-size:44px;letter-spacing:0;margin:12px 0}.hero h2{font-size:14px}.hero p{font-size:14px;max-width:none}.hero .pill{font-size:12px;padding:4px 6px}.hero-cap>strong{font-size:32px}.hero-cap>span{font-size:13px}.hero-cap button{font-size:14px;min-height:44px;padding:8px 10px}.metrics{margin:20px 0;grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:16px 10px}.metric strong{font-size:28px}.metric span{font-size:13px;line-height:1.4;min-height:36px}.panel{padding:20px 16px;border-radius:var(--radius-md)}.panel h2{font-size:20px}.notice{padding:16px;font-size:16px}.notice p{font-size:14px}.line{font-size:14px;gap:12px}.line>span{min-width:0}.line strong{flex-shrink:0}.item summary{padding:16px 12px;gap:8px}.item .tile{width:32px;height:36px}.item .item-name strong{font-size:16px;line-height:1.4}.item .price{font-size:22px}.item .detail{padding:0 16px 20px}.item .small{font-size:13px}.toolbar select,.tabs button{font-size:14px}.fields{gap:0 12px}.fields label{font-size:14px}.buttons button{font-size:14px}.fab{display:flex;position:fixed;right:16px;bottom:calc(92px + env(safe-area-inset-bottom));gap:8px;border-radius:var(--radius-sm);padding:14px 20px;box-shadow:var(--shadow-md);z-index:19}.gate h3{font-size:16px}.gate .quiet{font-size:14px;padding:8px}.source a{font-size:14px}dialog{max-height:90dvh;border-radius:var(--radius-lg)}dialog header{padding:20px 16px 8px}dialog form{padding:8px 16px 20px}#toast{bottom:172px}.spread{gap:8px}}
@media(max-width:370px){.hero{grid-template-columns:1fr}.hero-cap{border-left:0;border-top:1px solid var(--border-subtle)}.metric strong{font-size:24px}.brand small{display:none}.fields{grid-template-columns:1fr}}
@media print{.hero{color:black;background:white;border-color:#ccc}.hero-cap button{display:none}.hero .amount{font-size:36px}body{font-size:12px}.metrics{break-inside:avoid}.footnote a{display:none}}

/* Navigation: one persistent project control, one action per task. */
body{font-family:var(--font-sans,"Barlow",system-ui,sans-serif)}
.top{position:sticky;top:0;z-index:25;height:80px;padding-block:10px;justify-content:space-between}
.project-switcher{display:flex;align-items:center;gap:20px;min-width:0;width:360px;max-width:60%;text-align:left;color:white;background:var(--ink-700);border:1px solid var(--ink-600);padding:8px 16px;border-radius:6px;line-height:1.35}
.project-switcher:hover{background:var(--ink-600)}
.switcher-copy{min-width:0;flex:1}.switcher-copy small{display:block;color:var(--gold-400);font-size:12px;font-weight:500}.switcher-copy strong{display:block;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:600}
.project-switcher:focus-visible{outline-color:var(--gold-500)}
.pagehead h1{font-size:30px;line-height:1.2}.pagehead h1:focus{outline:none}.pagehead p{font-size:14px;margin-top:8px}
.pagehead>.primary{white-space:nowrap}
.help-note{font-size:14px;margin:0 0 20px}.help-note summary{cursor:pointer;font-weight:600;min-height:32px;align-content:center}.help-note p{margin:10px 0 0}
.ledger-panel .empty{padding:24px 0}.ledger-panel .empty>svg{width:28px;height:28px;margin-bottom:12px}
.line>div{min-width:0}.line>div:first-child{flex:1}.line>div:last-child{flex:0 0 auto;max-width:52%}.line strong{overflow-wrap:anywhere;max-width:58%}.line>div strong{max-width:none}.line .buttons{justify-content:flex-end}
.footnote{border-top:1px solid var(--border-subtle);padding-top:20px;line-height:1.8}.footnote a{white-space:nowrap}
dialog{overflow-y:auto;overscroll-behavior:contain;background:white}dialog footer{bottom:-24px}
dialog.project-picker{width:520px;max-width:calc(100% - 32px);max-height:min(80dvh,720px);padding:0;overflow:hidden}
dialog.project-picker[open]{display:flex;flex-direction:column}.project-picker header{flex-shrink:0;padding:20px 24px 12px;align-items:flex-start}.project-picker header h2{margin:0}.project-picker header p{margin:4px 0 0}
.picker-body{overflow-y:auto;padding:0 24px 12px;overscroll-behavior:contain;min-height:0}.project-search{font-size:13px;margin:0 0 12px}.project-search input{margin-top:4px}
.project-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:16px 12px;border:1px solid var(--border-subtle);border-radius:6px;margin-bottom:8px;background:white;min-height:88px}.project-option.selected{background:var(--gold-50);border-color:var(--gold-500)}
.project-option-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--stone-100);border-radius:4px;flex:none}.project-option-copy{flex:1;min-width:0}.project-option-copy strong{font-size:16px;line-height:1.35;display:block;overflow-wrap:anywhere}.project-option-copy small{display:block;font-size:12px;color:var(--gray-700);font-weight:400;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.project-check{width:24px;flex:none}.project-check .icon{width:18px}
.picker-footer{position:static;flex-shrink:0;border-top:1px solid var(--border-subtle);padding:16px 24px!important;display:block!important;margin:0;background:white}.picker-footer button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%}.picker-footer p{text-align:center;margin:8px 0 0}
@media(min-width:701px){.shell>nav{position:sticky;top:80px;align-self:start;height:calc(100dvh - 80px)}.sidebar-note .connection{margin:8px 0}.sidebar-note .connection:before{background:var(--ink-600)}}
@media(max-width:700px){
 .top{height:76px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));gap:12px}.brand{flex:none}.brand>span{display:none}.brand img{width:32px;height:32px}.project-switcher{width:auto;max-width:none;flex:1;min-height:56px;padding:6px 12px;gap:12px}.switcher-copy strong{font-size:16px}.switcher-copy small{font-size:12px}
 main{padding:20px 16px calc(100px + env(safe-area-inset-bottom))}.shell{min-height:calc(100dvh - 76px)}.pagehead{gap:12px;margin-bottom:20px}.pagehead h1{font-size:26px}.pagehead p{font-size:14px;max-width:none}.pagehead button{font-size:14px;min-height:44px;padding:8px 12px}.pagehead>.quiet{min-width:44px}
 .shell>nav{padding:4px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #16181a08}.shell>nav button{min-height:56px;gap:3px;padding:7px 2px;font-size:12px;line-height:1.3}.shell>nav svg{width:21px;height:21px}
 .tabs{display:flex;gap:0;overflow:visible;margin:0 0 20px}.tabs button{flex:1;min-width:0;white-space:normal;font-size:14px;min-height:48px;padding:10px 6px;line-height:1.35}.tabs button.active{background:var(--gold-50)}
 .fields{grid-template-columns:1fr;gap:0}.fields label{margin-bottom:20px}.fields input,.fields select,.fields textarea{min-width:0}.panel{padding:20px 16px}.panel h2{font-size:20px}.metrics{margin:16px 0}.metric{padding:14px 8px}.metric span{font-size:12px;min-height:34px}.metric strong{font-size:26px;overflow-wrap:anywhere}
 .hero{grid-template-columns:1fr 1fr}.hero-copy,.hero-cap{padding:18px 14px}.hero .amount{font-size:40px}.hero-cap>strong{font-size:30px}.hero-cap button{min-height:44px}.hero h2{font-size:13px}
 .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.toolbar input{grid-column:1/-1;width:100%;min-width:0;margin:0}.toolbar select{width:100%;margin:0}.toolbar button{font-size:14px;min-height:48px;padding:10px 12px}
 .item summary{min-height:76px;gap:10px;padding:14px 12px}.item .price{font-size:21px}.item .item-name strong{font-size:15px}.item .small{font-size:12px}.item .detail .buttons{display:grid;grid-template-columns:1fr 1fr}.item .detail .buttons>button:first-child{grid-column:1/-1}.line strong{flex-shrink:1;max-width:54%}.line .pill{white-space:normal;font-size:12px}.line>span{overflow-wrap:anywhere}.ledger-panel .line{align-items:flex-start}.ledger-panel .line>div:last-child{max-width:44%;text-align:right}
 .notice{margin:20px 0;padding:14px;font-size:15px}.notice.help-note{margin:0 0 16px;padding:10px 14px}.help-note summary{font-size:14px}.empty{font-size:15px}.footnote{font-size:12px}
 dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px);border-radius:12px}dialog header{padding:16px;gap:12px}dialog h2{font-size:22px;margin:0}dialog form{padding:4px 16px 16px}dialog footer{bottom:-16px;padding:12px 0;background:white;gap:8px}dialog footer button{flex:1}dialog .fields{grid-template-columns:1fr}
 dialog.project-picker{max-width:100%;width:100%;margin:auto 0 0;max-height:88dvh;border-radius:16px 16px 0 0}.project-picker header{padding:20px 16px 12px}.picker-body{padding:0 16px 12px}.picker-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important}.project-option{min-height:92px}.project-option-icon{display:none}
 #toast{bottom:calc(82px + env(safe-area-inset-bottom));font-size:14px;max-width:calc(100% - 32px);white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:480px){.item .tile{display:none}.hero .amount{font-size:36px}.hero-copy,.hero-cap{padding:16px 12px}.hero-cap>strong{font-size:28px}}
@media(max-width:350px){main{padding-inline:12px}.hero{grid-template-columns:1fr}.hero-cap{border-left:0;border-top:1px solid var(--border-subtle)}.metric strong{font-size:24px}.pagehead h1{font-size:24px}.tabs button{font-size:13px}.project-option-copy strong{font-size:15px}}
@media print{.project-switcher,.top,.shell>nav{display:none!important}.shell{display:block}.footnote a{display:none}main{padding:0}.help-note p{display:block}}
