@charset "UTF-8";
@font-face{font-family:"Jua";src:url("./fonts/Jua-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Gowun Dodum";src:url("./fonts/GowunDodum-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{--color-surface:#FFFFFF;--color-paper:#F5F2ED;--color-primary:#9CD86A;--color-ink:#352B24;--color-subtitle:#767676;--color-selection-border:#C0C0C0;--color-table-heading:#EEEEEE;}
:root{--pine:var(--color-primary);--pine-dark:var(--color-primary);--mint:var(--color-paper);--lime:var(--color-primary);--ink:var(--color-primary);--muted:var(--color-primary);--line:var(--color-paper);--paper:var(--color-paper);--orange:var(--color-primary);--white:var(--color-surface);--radius:20px;--font-body:"Gowun Dodum",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;--font-title:"Jua","Gowun Dodum",sans-serif;font-family:var(--font-body);color:var(--ink);background:var(--paper);font-synthesis:weight}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid var(--color-primary);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid var(--color-primary);outline-offset:1px}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1.2px;line-height:1.4}h2{font-size:18px;letter-spacing:-.5px}h3{font-size:15px}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700}.num{font-variant-numeric:tabular-nums;letter-spacing:-.7px}.skip{position:fixed;top:-100px;left:10px;z-index:1000;background:var(--pine);color:var(--color-ink);padding:10px}.skip:focus{top:10px}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:226px;background:var(--color-surface);border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.7px}.brand small{display:block;color:var(--color-ink);font-size:8px;letter-spacing:2px;margin-top:-2px}.brand-icon{display:grid;place-items:center;border-radius:11px;width:38px;height:43px;background:var(--pine);font-size:26px;color:var(--color-ink);font-weight:400}.workspace-label{color:var(--color-ink);font-size:11px;margin:45px 12px 16px}.desktop-nav{display:flex;flex-direction:column;gap:8px}.desktop-nav button{text-align:left;padding:14px;border-radius:10px;display:flex;gap:12px;align-items:center;font-weight:600;color:var(--color-ink)}.desktop-nav button.active{background:var(--mint);color:var(--color-ink)}.desktop-nav button:hover{background:var(--paper)}.sidebar-bottom{margin-top:auto;padding:20px 9px 0;border-top:1px solid var(--line);font-size:12px}.sidebar-bottom b{font-size:12px}.sidebar-bottom p{font-size:11px;color:var(--muted);margin:7px 0 13px}.sidebar-bottom small{font-size:9px;color:var(--color-ink);display:block;margin-top:30px}.local-dot{width:6px;height:6px;border-radius:50%;background:var(--color-primary);display:inline-block;margin-right:5px}.text-btn{color:var(--color-ink);font-weight:650;padding:0;display:inline-flex;align-items:center;gap:8px}.text-btn:hover{text-decoration:underline}.sidebar-bottom .text-btn{width:100%;justify-content:space-between;font-size:12px}
.app-shell{margin-left:226px}.topbar{height:79px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:var(--color-surface)}.breadcrumb{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:17px}.private-badge{font-size:11px;color:var(--color-ink);background:var(--color-paper);border-radius:30px;padding:5px 11px}.icon-btn{width:32px;height:32px;display:inline-grid;place-items:center;border:1px solid var(--line);background:var(--color-surface);border-radius:50%;font-weight:600}.mobile-brand,.mobile-nav{display:none}main{max-width:1350px;margin:0 auto;padding:35px 44px 25px;min-height:calc(100vh - 150px)}.page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.page-head p{color:var(--muted);font-size:13px;margin-top:6px}.page-head .eyebrow{color:var(--color-ink);margin-bottom:8px}.head-actions{display:flex;gap:10px;align-items:center}.btn{padding:11px 19px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;line-height:1.5;background:var(--pine);color:var(--color-ink);white-space:nowrap;min-height:44px}.btn:hover{background:var(--pine);outline:1px solid var(--color-ink);outline-offset:-1px}.btn.secondary{background:var(--color-surface);border:1px solid var(--line);color:var(--ink)}.btn.secondary:hover{background:var(--mint)}.btn.soft{background:var(--mint);color:var(--color-ink)}.btn.small{padding:7px 12px;min-height:34px;font-size:12px}.btn.danger{background:var(--color-paper);color:var(--color-ink)}.context-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.select-group{display:flex;gap:10px;min-width:0}.context-bar select{border:1px solid var(--line);border-radius:9px;padding:9px 32px 9px 13px;background-color:var(--color-surface);color:var(--ink);max-width:310px;font-weight:600;font-size:12px;min-height:42px}.context-note{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.context-note svg{width:14px;height:14px}
.hero{border-radius:var(--radius);background:var(--pine);padding:31px 33px;position:relative;overflow:hidden;color:var(--color-ink);display:flex;justify-content:space-between;min-height:190px;margin-bottom:22px}.hero>div:first-child{z-index:1;max-width:70%}.hero .eyebrow{color:var(--color-ink);font-size:10px;margin-bottom:10px}.hero h2{font-size:25px;line-height:1.5;font-weight:600;letter-spacing:-1px}.hero p{color:var(--color-ink);font-size:12px;margin-top:9px}.hero .hero-link{font-size:12px;color:var(--color-ink);margin-top:20px;display:inline-flex;gap:18px;align-items:center;padding:0}.hero-art{position:absolute;right:24px;bottom:-25px;width:255px;height:220px;transform:rotate(-9deg)}.hero-art svg{width:100%;height:100%;stroke:none}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat{padding:23px 24px;border:1px solid var(--line);border-radius:15px;background:var(--color-surface)}.stat-label{color:var(--color-ink);font-size:12px;display:flex;align-items:center;justify-content:space-between}.stat-label svg{width:17px;color:var(--color-ink)}.stat-value{font-size:29px;font-weight:700;margin-top:13px;line-height:1.25}.stat-value small{font-size:13px;font-weight:400;margin-left:5px;color:var(--color-ink)}.stat-foot{margin-top:9px;font-size:10px;color:var(--color-ink)}.stat.pending .stat-value{color:var(--color-ink)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:22px}.card{background:var(--color-surface);border:1px solid var(--line);border-radius:15px;overflow:hidden}.card-pad{padding:24px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.section-head h2{font-size:16px}.section-head .text-btn{font-size:11px}.empty{padding:34px 20px;text-align:center}.empty-graphic{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:var(--paper);margin:0 auto 17px;color:var(--color-ink)}.empty-graphic svg{width:27px;height:27px}.empty h3{font-size:14px;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);margin-bottom:18px}.entry{display:flex;align-items:center;gap:13px;padding:18px 0;border-top:1px solid var(--color-paper);text-align:left;width:100%}.entry:hover{background:var(--color-paper)}.entry-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:var(--color-paper);color:var(--color-ink);flex-shrink:0}.entry-icon.orange{background:var(--color-paper);color:var(--color-ink)}.entry-body{flex:1;min-width:0}.entry-title{font-weight:650;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entry-sub{font-size:10px;color:var(--color-ink);margin-top:4px}.entry-right{text-align:right;flex-shrink:0}.entry-amount{font-size:15px;font-weight:700}.pill{display:inline-block;font-size:9px;line-height:1.8;padding:1px 7px;border-radius:5px;background:var(--color-paper);color:var(--color-ink);font-weight:600}.pill.warn{background:var(--color-paper);color:var(--color-ink)}.entry-right .pill{margin-top:5px}.budget-ring{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;margin:12px auto 23px;background:conic-gradient(var(--pine) var(--progress,0%),var(--color-paper) 0);position:relative}.budget-ring:before{content:"";position:absolute;inset:11px;background:var(--color-surface);border-radius:50%}.budget-ring>div{z-index:1;text-align:center}.budget-ring strong{display:block;font-size:28px;font-weight:700;line-height:1.2}.budget-ring small{font-size:9px;color:var(--muted)}.budget-row{display:flex;justify-content:space-between;margin-top:12px;font-size:11px}.budget-row b{font-size:12px}.budget-tip{background:var(--paper);padding:11px 12px;margin-top:18px;border-radius:7px;font-size:10px;color:var(--muted)}.quick-guide{display:flex;gap:15px;margin-top:22px;padding:19px 22px;border:1px dashed var(--color-paper);border-radius:13px;align-items:center}.quick-guide svg{color:var(--color-ink);width:22px;height:22px}.quick-guide p{font-size:11px;color:var(--muted)}.quick-guide strong{font-size:12px;display:block;margin-bottom:2px}.quick-guide button{margin-left:auto;white-space:nowrap;font-size:11px}.page-footer{max-width:1350px;margin:0 auto;padding:20px 44px 28px;display:flex;justify-content:space-between;font-size:10px;color:var(--color-ink);gap:15px}.page-footer span{font-size:8px;letter-spacing:1px}
.filter-panel{display:flex;gap:10px;flex-wrap:wrap;padding:17px;background:var(--color-surface);border:1px solid var(--line);border-radius:12px;margin-bottom:20px;align-items:center}.search-field{flex:1;min-width:180px;position:relative}.search-field svg{position:absolute;left:12px;top:11px;width:17px;height:17px;color:var(--muted)}.filter-panel input,.filter-panel select{height:41px;border:1px solid var(--line);border-radius:8px;background:var(--color-surface);padding:8px 10px;min-width:0}.filter-panel .search-field input{width:100%;padding-left:37px}.date-range{display:flex;align-items:center;gap:7px;font-size:12px}.date-range input{width:145px}.record-summary{display:flex;justify-content:space-between;margin-bottom:13px;font-size:12px;color:var(--muted)}.record-summary b{color:var(--color-ink)}.records-list{background:var(--color-surface);border:1px solid var(--line);border-radius:14px;padding:0 24px}.records-list .entry{padding:20px 0}.records-list .entry:first-child{border-top:0}.records-list .entry-title{font-size:14px}.records-list .entry-sub{font-size:11px}.records-list .entry-amount{font-size:17px}.records-list .entry-icon{width:43px;height:43px}.loading{text-align:center;padding:100px 20px;color:var(--muted)}
.form-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);gap:22px;align-items:start}.form-section{margin-bottom:20px}.form-section.card-pad{padding:25px}.form-title{display:flex;gap:9px;align-items:center;margin-bottom:22px}.step-dot{width:24px;height:24px;display:grid;place-items:center;background:var(--mint);color:var(--color-ink);border-radius:7px;font-size:11px;font-weight:700}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}.field>label,.field-label{font-size:12px;font-weight:650}.required{color:var(--color-ink);margin-left:2px}.field input,.field select,.field textarea,.inline-field input{width:100%;min-height:46px;border:1px solid var(--color-paper);border-radius:8px;background:var(--color-surface);padding:11px 12px;color:var(--ink);min-width:0;font-size:14px}.field input:read-only{color:var(--color-ink);background:var(--color-paper)}.field textarea{resize:vertical;min-height:82px}.field small{font-size:10px;color:var(--muted);font-weight:400}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-row .field{min-width:0}.amount-input{position:relative}.amount-input input{padding-right:38px;font-size:22px;font-weight:700;text-align:right}.amount-input span{position:absolute;right:14px;top:12px;color:var(--muted)}.payment-options{display:flex;gap:8px}.payment-options label{flex:1;cursor:pointer}.payment-options input{position:absolute;opacity:0;width:1px;height:1px}.payment-choice{display:block;text-align:center;border:1px solid var(--line);border-radius:8px;padding:12px 5px;font-size:12px;background:var(--color-surface)}.payment-options input:checked+.payment-choice{background:var(--mint);border-color:var(--color-primary);color:var(--color-ink);font-weight:700}.payment-options input:focus-visible+.payment-choice{outline:2px solid var(--pine)}.notice{padding:12px 15px;border-radius:8px;background:var(--color-paper);color:var(--color-ink);font-size:11px;line-height:1.8;margin-bottom:18px}.notice.info{background:var(--mint);color:var(--color-ink)}.notice:empty{display:none}.details-box{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.details-box summary{cursor:pointer;font-size:12px;font-weight:650;margin-bottom:18px}.evidence-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.evidence-head span{font-size:11px;color:var(--color-ink)}.evidence-caption{font-size:10px;color:var(--muted);margin-bottom:18px}.check-row{display:flex;align-items:center;gap:9px;min-height:45px;border-bottom:1px solid var(--color-paper);font-size:12px}.check-row label{display:flex;align-items:center;gap:9px;flex:1;cursor:pointer}.check-row input{width:17px;height:17px;accent-color:var(--pine);flex-shrink:0}.check-row .remove-doc{font-size:17px;color:var(--color-ink);padding:8px;line-height:1}.check-row.checked label{color:var(--color-ink)}.add-doc{display:flex;gap:7px;margin-top:15px}.add-doc input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:8px 10px;font-size:12px}.add-doc button{padding:8px 11px;border:1px solid var(--line);border-radius:7px;font-size:11px}.excluded{font-size:10px;color:var(--color-ink);margin-top:12px}.excluded button{text-decoration:underline;color:var(--color-ink)}.attach-actions{display:flex;gap:8px}.attach-actions .btn{flex:1;font-size:12px}.attachment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.attachment{border:1px solid var(--line);border-radius:9px;overflow:hidden}.attachment-image{height:100px;display:flex;align-items:center;justify-content:center;background:var(--paper);position:relative}.attachment-image img{width:100%;height:100%;object-fit:cover}.attachment-image .remove-file{position:absolute;right:5px;top:5px;background:var(--color-surface);width:24px;height:24px;border-radius:50%;box-shadow:none;font-size:17px}.attachment-info{padding:8px 9px;font-size:10px}.attachment-info a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:underline}.attachment-info small{font-size:9px;color:var(--muted)}.attachment-info select{width:100%;max-width:100%;font-size:10px;padding:4px;margin-top:5px;border:1px solid var(--line);border-radius:4px;background:var(--color-surface)}.attachment-note{font-size:10px;color:var(--muted);margin-top:12px}.save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--color-surface);border:1px solid var(--line);border-radius:12px;margin-top:20px;padding:16px 22px}.save-bar small{font-size:11px;color:var(--muted)}.save-buttons{display:flex;gap:9px}.form-error{color:var(--color-ink);background:var(--color-paper);padding:12px 15px;border-radius:8px;margin-bottom:18px;font-size:12px}.form-error:empty{display:none}.back-btn{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:5px;margin-bottom:17px;padding:0}.form-side{position:sticky;top:20px}
.settlement-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.settlement-summary .stat{padding:20px}.settlement-summary .stat-value{font-size:23px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--color-paper);white-space:nowrap}th{color:var(--color-ink);font-size:10px;font-weight:500;background:var(--color-paper)}td.amount,th.amount{text-align:right}tfoot td{font-weight:700;background:var(--color-paper)}.settlement-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:22px;margin-bottom:22px}.bar-item{margin-bottom:19px}.bar-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px}.bar-track{height:7px;border-radius:6px;background:var(--color-paper);overflow:hidden}.bar-fill{height:100%;background:var(--pine);border-radius:6px}.community-card{display:flex;gap:17px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:var(--color-surface)}.community-avatar{width:43px;height:43px;border-radius:13px;background:var(--mint);display:grid;place-items:center;color:var(--color-ink);font-size:19px;flex-shrink:0}.community-card>div:nth-child(2){flex:1;min-width:0}.community-card h3{font-size:14px;overflow-wrap:anywhere}.community-card p{font-size:11px;color:var(--muted);margin-top:4px}.community-card .text-btn{font-size:12px;padding:8px}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.settings-intro{margin-bottom:22px}.action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.action-row h3{font-size:12px}.action-row p{font-size:10px;color:var(--muted);margin-top:4px}.settings-guide{font-size:11px;color:var(--muted);line-height:1.9}.settings-guide ul{padding-left:18px}.settings-guide a{color:var(--color-ink);text-decoration:underline}.privacy-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--color-ink);font-weight:650;margin-bottom:12px}.storage-track{height:5px;background:var(--color-paper);border-radius:5px;margin:12px 0}.storage-track div{height:100%;background:var(--color-primary);max-width:100%;border-radius:5px}.backup-status{margin-top:15px;font-size:10px;color:var(--color-ink)}.storage-info{font-size:10px;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:540px;max-width:calc(100vw - 28px);max-height:90dvh;color:var(--ink);box-shadow:none;background:var(--color-surface)}dialog::backdrop{background:var(--color-primary);backdrop-filter:blur(3px)}.dialog-head{padding:23px 25px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:18px}.dialog-content{padding:23px 25px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.dialog-content p{font-size:12px;color:var(--muted);line-height:1.9}.dialog-content .field{margin-bottom:15px}.dialog-content .btn{font-size:12px}.help-step{display:flex;gap:13px;margin-bottom:20px}.help-step b{display:block;font-size:13px;margin-bottom:4px}.help-step p{font-size:11px}#toast{position:fixed;bottom:30px;left:calc(50% + 113px);transform:translateX(-50%) translateY(90px);opacity:0;transition:.2s;z-index:100;background:var(--pine-dark);color:var(--color-surface);border-radius:10px;padding:12px 22px;box-shadow:none;font-size:12px;max-width:90vw;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0);opacity:1}#print-area{display:none}.hidden{display:none!important}
@media(min-width:1500px){main{padding-top:45px}.hero{min-height:208px}.hero h2{font-size:28px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) 1fr}}
@media(max-width:1150px){.sidebar{width:195px;padding-left:17px;padding-right:17px}.app-shell{margin-left:195px}main{padding:28px}.topbar{padding:0 28px}.page-footer{padding:20px 28px}.dashboard-grid{grid-template-columns:1.3fr 1fr}.hero-art{right:5px;width:220px}.stat{padding:20px}.stat-value{font-size:24px}.form-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}#toast{left:calc(50% + 97px)}.settlement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.sidebar{display:none}.app-shell{margin-left:0}.topbar{height:66px;padding:0 23px}.breadcrumb{display:none}.mobile-brand{display:block;font-size:19px;font-weight:800;letter-spacing:-.6px}.page-head{margin-bottom:23px}.form-layout{grid-template-columns:1fr 1fr}.form-side{position:static}.dashboard-grid{grid-template-columns:1.4fr 1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:var(--color-surface);backdrop-filter:blur(15px);padding:8px 10px calc(8px + env(safe-area-inset-bottom));height:calc(70px + env(safe-area-inset-bottom));z-index:30;align-items:center;justify-content:space-around}.mobile-nav button{display:flex;align-items:center;flex-direction:column;font-size:9px;color:var(--color-ink);gap:4px;min-width:48px}.mobile-nav button.active{color:var(--color-ink);font-weight:700}.mobile-nav svg{width:20px;height:20px}.mobile-nav .mobile-add{width:46px;height:46px;min-width:46px;border-radius:15px;background:var(--pine);color:var(--color-ink);font-size:29px;display:grid;place-items:center;line-height:1;margin-top:-15px;box-shadow:none}.page-footer{padding-bottom:100px}#toast{left:50%;bottom:90px}}
@media(max-width:680px){body{font-size:14px}main{padding:25px 19px 16px}.topbar{padding:0 19px}.top-actions{gap:11px}.private-badge{font-size:9px;padding:4px 9px}.icon-btn{width:28px;height:28px}h1{font-size:25px;letter-spacing:-1px}.page-head{gap:10px;align-items:flex-start;margin-bottom:23px}.page-head .eyebrow{font-size:9px;margin-bottom:5px}.page-head p{font-size:11px;line-height:1.8;margin-top:5px}.page-head .btn{font-size:11px;padding:10px 12px;min-height:40px}.page-head .btn svg{width:16px}.head-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.context-bar{margin-bottom:19px;display:block}.select-group{gap:7px}.context-bar select{font-size:11px;max-width:100%;min-width:0;flex:1;padding-left:10px;height:40px}.context-bar .year-select{max-width:104px}.context-note{font-size:9px;margin-top:9px}.context-note svg{width:12px}.hero{padding:24px 23px;min-height:190px;border-radius:16px;margin-bottom:16px}.hero>div:first-child{max-width:80%}.hero h2{font-size:22px;line-height:1.5}.hero .eyebrow{font-size:8px;letter-spacing:1.2px}.hero p{font-size:10px;max-width:200px;line-height:1.8}.hero .hero-link{font-size:10px;margin-top:18px}.hero-art{width:170px;height:165px;right:-35px;bottom:-24px;opacity:.8}.stats{gap:8px;margin-bottom:23px}.stat{padding:15px 12px;border-radius:11px}.stat-label{font-size:10px;white-space:nowrap}.stat-label svg{display:none}.stat-value{font-size:20px;margin-top:12px;white-space:nowrap}.stat-value small{font-size:10px;margin-left:3px}.stat-foot{font-size:8px;margin-top:7px;min-height:12px}.dashboard-grid{grid-template-columns:1fr;gap:17px}.card-pad{padding:21px}.budget-card .budget-body{display:flex;align-items:center;gap:30px}.budget-card .budget-ring{width:100px;height:100px;flex-shrink:0;margin:0 0 0 4px}.budget-ring strong{font-size:24px}.budget-card .budget-numbers{flex:1}.budget-row{font-size:10px;margin-top:9px}.budget-tip{font-size:9px;margin-top:14px}.section-head{margin-bottom:17px}.section-head h2{font-size:15px}.entry{padding:16px 0;gap:10px}.entry-title{font-size:12px}.entry-sub{font-size:9px}.entry-amount{font-size:14px}.entry-icon{width:35px;height:35px;border-radius:10px}.quick-guide{padding:16px;gap:11px;margin-top:18px}.quick-guide p{font-size:9px}.quick-guide strong{font-size:11px}.quick-guide button{font-size:10px}.page-footer{padding:18px 20px 98px;font-size:8px;display:block}.page-footer span{display:block;margin-top:4px;font-size:7px}.empty{padding:28px 8px}.empty p{font-size:11px}.form-layout{grid-template-columns:1fr;gap:0}.form-section.card-pad{padding:21px}.form-side{position:static}.form-title{margin-bottom:20px}.field input,.field select,.field textarea{font-size:16px;min-height:48px}.field-row{gap:12px}.field>label{font-size:12px}.amount-input input{font-size:24px}.payment-choice{font-size:11px;padding:13px 4px}.check-row{font-size:12px;min-height:48px}.add-doc input{font-size:16px}.attach-actions .btn{font-size:12px}.attachment-image{height:125px}.save-bar{padding:15px;position:sticky;bottom:calc(77px + env(safe-area-inset-bottom));box-shadow:none;z-index:5;gap:10px}.save-bar small{font-size:9px;max-width:90px}.save-buttons{flex:1;justify-content:flex-end;gap:7px}.save-buttons .btn{font-size:12px;padding:10px 15px}.filter-panel{padding:12px;gap:9px}.search-field{flex-basis:100%}.filter-panel input,.filter-panel select{font-size:16px}.date-range{width:100%}.date-range input{width:calc(50% - 13px);flex:1;font-size:12px;min-width:0}.filter-panel select{flex:1;font-size:12px}.record-summary{font-size:11px}.records-list{padding:0 16px}.records-list .entry{gap:10px;padding:18px 0}.records-list .entry-title{font-size:12px}.records-list .entry-sub{font-size:9px;line-height:1.8}.records-list .entry-amount{font-size:14px}.records-list .entry-icon{width:34px;height:34px}.settlement-summary{gap:9px}.settlement-summary .stat{padding:17px}.settlement-summary .stat-value{font-size:22px}.settlement-grid,.settings-grid{grid-template-columns:1fr;gap:17px}.settlement-grid{margin-bottom:17px}.settlement-head{display:block}.settlement-head .head-actions{margin-top:14px;justify-content:flex-start}.community-card{gap:12px;padding:16px}.community-card h3{font-size:13px}.community-card p{font-size:10px}.community-avatar{width:36px;height:36px;font-size:16px}.settings-intro{margin-bottom:17px}dialog{max-height:92dvh;border-radius:15px}.dialog-head{padding:19px 20px 16px}.dialog-content{padding:20px}.dialog-content .field input,.dialog-content .field select{font-size:16px}.dialog-content .field-row{gap:10px}.dialog-actions{flex-wrap:wrap}.dialog-actions .btn{flex:1;min-height:46px}.help-step p{font-size:11px}table{font-size:11px}th,td{padding:12px}.print-hide{display:block}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.budget-group{margin:0 0 22px}.budget-group .section-head{margin:0;padding:22px 24px}.budget-group .section-head p{font-size:11px;margin-top:5px}.budget-table{min-width:780px}.budget-table thead tr:first-child th{text-align:center;font-weight:650;font-size:12px;background:var(--color-paper)}.budget-table thead tr:first-child th:first-child{text-align:left}.budget-table tbody th{background:var(--color-surface);color:var(--ink);font-size:12px;font-weight:500;min-width:155px}.budget-table tbody th small{display:block;font-size:9px;color:var(--muted);font-weight:400}.budget-table td:nth-child(4),.budget-table td:nth-child(7){background:var(--color-paper)}.budget-balance{color:var(--color-ink);font-weight:700}.budget-negative{color:var(--color-ink)!important;font-weight:700}.budget-mobile{display:none}.budget-scope{font-size:11px;color:var(--muted);margin:-5px 0 20px}.budget-empty{padding:10px 24px 27px;color:var(--muted);font-size:12px}.budget-input-table{table-layout:fixed}.budget-input-table th{white-space:normal;width:32%;padding:10px}.budget-input-table td{padding:5px}.budget-input-table input{width:100%;min-width:0;border:1px solid var(--line);background:var(--color-surface);border-radius:7px;text-align:right;padding:10px 7px;font-size:14px}.budget-input-table input::-webkit-inner-spin-button{-webkit-appearance:none}.budget-form-note{font-size:11px!important;color:var(--muted);margin-bottom:15px!important}.budget-input-table tfoot td{padding:12px;font-size:13px;font-weight:700}.budget-dialog{width:720px}.funding-preview{font-size:11px;color:var(--muted);margin-bottom:16px}.inline-form-action{align-self:flex-start;font-size:11px;margin-top:3px}.budget-help-link{font-size:11px;color:var(--color-ink);margin:10px 0 0}.budget-page-head{flex-wrap:wrap}.budget-page-head .head-actions{flex-wrap:wrap}.unassigned-group{border-color:var(--color-primary)}.budget-mobile-total{padding:16px;display:flex;justify-content:space-between;background:var(--mint);font-size:12px}
@media(max-width:680px){.mobile-nav button{min-width:42px;font-size:8px}.budget-wide{display:none}.budget-mobile{display:block}.budget-group .section-head{padding:19px 16px;align-items:flex-start}.budget-group .section-head h2{font-size:15px}.budget-group .section-head p{font-size:10px}.budget-group .section-head .btn{font-size:10px;padding:7px 9px}.budget-mobile-item{border-top:1px solid var(--line);padding:15px 12px}.budget-mobile-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:0 3px 12px;font-size:12px}.budget-mobile-title span{font-size:11px;white-space:nowrap}.budget-mobile table{table-layout:fixed;font-size:10px}.budget-mobile th,.budget-mobile td{padding:8px 3px;font-size:10px;letter-spacing:-.35px}.budget-mobile thead th:first-child{width:16%}.budget-mobile tbody th{background:var(--color-surface);color:var(--muted);font-size:9px}.budget-mobile td{font-variant-numeric:tabular-nums}.budget-input-table input{font-size:16px;padding:10px 5px}.budget-input-table th{font-size:11px;padding:8px 3px;width:30%}.budget-input-table td{padding:4px 3px}.budget-input-table tfoot td{padding:10px 3px;font-size:12px}.budget-scope{font-size:9px;line-height:1.8}.budget-dialog .dialog-content{padding:17px 14px}.budget-form-note{font-size:10px!important}}
@media print{body>*{display:none!important}#print-area{display:block!important;color:var(--color-ink);font-size:11px}#print-area h1{font-size:22px;margin:0 0 8px}#print-area p{margin:6px 0 18px;font-size:10px}#print-area table{font-size:9px;table-layout:fixed}#print-area th,#print-area td{white-space:normal;overflow-wrap:anywhere;border:1px solid var(--color-paper);padding:7px}#print-area th{background:#FFFFFF!important}#print-area tr{break-inside:avoid}#print-area .print-totals{padding:12px;border:1px solid var(--color-paper);margin:15px 0}#print-area .print-note{font-size:9px;color:var(--color-ink)}@page{size:A4 landscape;margin:12mm}}
@media print{#print-area .budget-wide{display:block}#print-area .budget-table{min-width:0}#print-area .budget-group{break-inside:avoid;margin-bottom:20px}#print-area .budget-group h2{font-size:14px}#print-area .budget-group .section-head{padding:10px 0}.budget-mobile{display:none!important}}
@media(max-width:680px){.budget-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-stats .stat:last-child{grid-column:1/-1}.budget-stats .stat-value{font-size:clamp(16px,4.5vw,20px)}.budget-page .page-head{display:block}.budget-page .head-actions{justify-content:flex-start;margin-top:14px}}
.budget-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 18px}.budget-editor-toolbar p{font-size:13px}.budget-editor-toolbar small{font-size:11px;color:var(--muted)}.budget-editor-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:9px;margin-bottom:10px}.budget-editor-tabs button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--color-surface);border-radius:9px;padding:10px 13px;min-width:110px;max-width:210px}.budget-editor-tabs button[aria-selected="true"]{background:var(--pine);color:var(--color-ink);border-color:var(--pine)}.budget-editor-tabs button small{border:1px solid var(--color-primary);border-radius:5px;padding:0 5px;font-size:10px}.budget-editor-tabs button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.budget-editor-panel{max-width:850px}.budget-editor-panel .budget-input-table th{font-size:12px}.budget-editor-panel .budget-input-table td{padding:7px}.budget-editor-panel .budget-input-table input{padding:12px;font-size:15px}.editor-add:disabled{cursor:not-allowed}.budget-editor-panel .field input{font-size:16px}
@media(max-width:680px){.budget-editor-toolbar{align-items:flex-start}.budget-editor-toolbar p{font-size:12px}.budget-editor-toolbar small{font-size:10px;line-height:1.7;display:block;margin-top:3px}.budget-editor-toolbar .btn{font-size:11px;padding:10px}.budget-editor-panel{padding:18px 13px}.budget-editor-panel .budget-input-table th{font-size:11px}.budget-editor-panel .budget-input-table td{padding:5px 3px}.budget-editor-panel .budget-input-table input{padding:10px 5px;font-size:16px}.budget-editor-tabs button{min-width:100px;padding:10px;max-width:175px}}
/* Business reports, seven-column ledger, and local form collection. */
.compact-hero{min-height:148px;padding:25px 30px}.compact-hero h2{font-size:23px}.compact-hero .hero-art{height:160px}.report-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.report-links a{padding:10px 15px;background:var(--color-surface);border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--color-ink)}.report-section{margin:0 0 25px;scroll-margin-top:20px}.report-section>.section-head,.report-section>.card-pad.section-head{margin:0;padding-bottom:18px}.report-section p.muted{font-size:11px;margin-top:6px}.report-empty{padding:23px;color:var(--muted);font-size:12px}.project-summary{margin:0 0 12px;border:1px solid var(--line);border-radius:12px;background:var(--color-surface);overflow:hidden}.project-summary>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;cursor:pointer;list-style:none}.project-summary>summary:after{content:'⌄';color:var(--color-ink)}.project-summary[open]>summary:after{content:'⌃'}.project-summary>summary span:first-child{flex:1}.project-summary>summary b{font-size:14px}.project-summary>summary small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.project-summary>summary span:nth-child(2){text-align:right;font-size:11px;color:var(--muted)}.project-summary>summary strong{display:block;color:var(--color-ink);font-size:14px;margin-top:4px}.project-summary .budget-group{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}.project-summary .budget-group .section-head{padding:14px 22px}.project-summary .budget-group .section-head h2{font-size:13px}.wrap-cell{white-space:normal;min-width:160px;max-width:320px;overflow-wrap:anywhere}.record-table-wrap{overflow-x:auto}.records-list:has(.record-table-wrap){padding:0}.expense-table{min-width:950px}.expense-table tr.entry{display:table-row;width:auto;border:0;text-align:left;padding:0}.expense-table th{font-size:11px}.expense-table td{font-size:12px;padding:16px 13px;vertical-align:top}.expense-table td small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.expense-table .entry-title{font-size:12px;white-space:normal;text-align:left;min-width:180px;max-width:300px;overflow-wrap:anywhere}.expense-table .record-number{font-size:11px;text-decoration:none;white-space:nowrap}.expense-table tr.entry:hover{background:var(--color-paper)}.form-library-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px;margin-bottom:20px}.form-library-tabs button{white-space:nowrap;padding:12px 15px;border:1px solid var(--line);background:var(--color-surface);border-radius:9px;font-size:12px}.form-library-tabs button[aria-selected="true"]{background:var(--pine);color:var(--color-ink);border-color:var(--pine)}.form-library-tabs span{display:inline-block;margin-left:7px;opacity:.65;font-size:10px}.form-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-tile{display:flex;align-items:center;gap:14px;text-align:left;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--color-surface);min-height:96px}.form-tile:hover{border-color:var(--color-primary);background:var(--color-paper)}.form-tile>span:nth-child(2){flex:1;min-width:0}.form-tile b{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.form-tile small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:4px;overflow-wrap:anywhere}.form-file-icon{width:35px;height:43px;background:var(--mint);border-radius:8px;color:var(--color-ink);display:grid;place-items:center;font-size:24px;flex-shrink:0}.form-detail h3{font-size:14px;margin-top:20px;margin-bottom:12px}.form-detail .document-list{font-size:13px;padding-left:22px;line-height:1.9}.document-list li{margin-bottom:9px}.form-original{border-top:1px solid var(--line);margin-top:25px}.form-original p{font-size:12px;overflow-wrap:anywhere}.file-label{display:inline-flex;margin-top:14px;cursor:pointer}.form-original small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:10px}.permissions-panel{margin-top:25px}.permissions-panel th{white-space:normal}.permissions-panel td{text-align:center}.permissions-panel .member-row{border-top:1px solid var(--line);padding:16px 0}.member-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.member-row b{font-size:12px;overflow-wrap:anywhere}.member-row p,.member-row small{font-size:10px;color:var(--muted);margin-top:4px}.member-row small{color:var(--color-ink)}.community-checks{border:1px solid var(--line);border-radius:8px;padding:13px;margin-bottom:18px}.community-checks legend{font-size:12px}.community-checks label{display:flex;align-items:center;gap:9px;font-size:12px;padding:9px 0}.community-checks input{width:18px;height:18px;accent-color:var(--pine)}.evidence-missing{font-size:11px;line-height:1.9}.form-library-tabs button,.report-links a{min-height:44px}.text-btn{min-height:32px}
@media(max-width:850px){.mobile-nav{gap:0;padding-left:4px;padding-right:4px}.mobile-nav button{flex:1;min-width:0;font-size:9px;min-height:48px;padding:3px 0}.mobile-nav button span{white-space:nowrap}.mobile-nav svg{width:19px;height:19px}}
@media(max-width:680px){.page-head{flex-wrap:wrap}.head-actions{justify-content:flex-start}.compact-hero{min-height:140px;padding:22px}.compact-hero h2{font-size:20px}.compact-hero .hero-link{margin-top:12px}.report-links{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.report-links a{padding:11px 4px;text-align:center;font-size:10px}.project-summary>summary{padding:16px 13px;gap:9px}.project-summary>summary b{font-size:12px}.project-summary>summary span:nth-child(2){font-size:9px;max-width:48%}.project-summary>summary strong{font-size:12px}.report-section>.section-head{gap:10px;align-items:flex-start}.report-section p.muted{font-size:10px;line-height:1.7}.report-section>.card-pad{padding:18px 15px}.report-section>.section-head h2{font-size:15px}.report-section .btn{font-size:11px;padding:8px 10px}.form-library-grid{grid-template-columns:1fr}.form-tile{padding:17px;min-height:85px}.form-library-tabs button{font-size:11px;padding:10px 12px}.form-library-tabs span{margin-left:5px}.records-list:has(.record-table-wrap){border:0;background:transparent}.record-table-wrap{overflow:visible}.expense-table{min-width:0;display:block}.expense-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.expense-table tbody{display:grid;gap:13px}.expense-table tr.entry{display:grid;grid-template-columns:1fr 1fr;gap:0 13px;background:var(--color-surface);border:1px solid var(--line);border-radius:12px;padding:15px}.expense-table td{display:block;padding:8px 0;border:0;font-size:12px;white-space:normal;min-width:0;overflow-wrap:anywhere}.expense-table td:before{content:attr(data-label);display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.expense-table td:nth-child(2){grid-column:1/-1;grid-row:2}.expense-table td:nth-child(5){grid-column:1/-1}.expense-table td:nth-child(6){text-align:left}.expense-table .entry-title{min-width:0;max-width:none;font-size:14px;min-height:28px;text-align:left}.expense-table td:nth-child(3){grid-column:2;grid-row:1}.expense-table .record-number{font-size:12px}.permissions-panel{padding:18px 14px}.permissions-panel table{font-size:10px}.permissions-panel th,.permissions-panel td{padding:10px 6px}.permissions-panel table th:first-child{min-width:115px}.permissions-panel .action-row{align-items:flex-start}.permissions-panel .btn{font-size:10px;padding:9px}.wrap-cell{min-width:140px}.evidence-missing{min-width:220px}.mobile-nav button{font-size:8px}.stat-value{font-size:clamp(15px,4.5vw,20px)}}
@media print{#print-area .report-section,#print-area .project-summary,#print-area .card{border:0;box-shadow:none;margin-bottom:22px}#print-area .project-summary summary{display:block;padding:10px 0}#print-area .project-summary summary span{display:inline-block;margin-right:20px}#print-area .project-summary summary:after{display:none}#print-area .project-summary .budget-group{border:0}#print-area .budget-wide{display:block}#print-area .budget-mobile{display:none}#print-area .report-section h2{font-size:15px}#print-area details{display:block}#print-area details>summary{list-style:none}#print-area .section-head{padding:8px 0}#print-area .events-table{margin-top:12px}}
.global-add{font-size:12px;min-height:36px;padding:7px 12px}.global-add>span:first-child{font-size:18px;line-height:1}.record-id{font-size:11px;color:var(--muted);margin:-6px 0 22px}
@media(max-width:680px){.global-add{min-height:34px;width:34px;padding:4px}.global-add-text{display:none}.top-actions{gap:8px}}
.editor-project-heading{display:flex;align-items:flex-end;gap:15px;margin-bottom:18px}.editor-project-heading .field{flex:1;margin:0}.editor-delete{flex-shrink:0;min-height:46px}.editor-delete:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:680px){.editor-project-heading{flex-wrap:wrap;gap:10px}.editor-project-heading .field{flex-basis:100%}.editor-delete{margin-left:auto;min-height:44px}}

.expense-community-note{font-size:13px;color:var(--color-ink);font-weight:650;margin:-7px 0 22px;overflow-wrap:anywhere}
/* Clear report hierarchy and pastel funding groups. */
:root{--grant-bg:var(--color-paper);--grant-ink:var(--color-primary);--own-bg:var(--color-paper);--own-ink:var(--color-primary);--balance-bg:var(--color-paper);--balance-ink:var(--color-ink);--spent-bg:var(--color-paper);--spent-ink:var(--color-primary)}
.page-head h1{font-size:34px;line-height:1.35}.page-head p{font-size:16px;line-height:1.8}.report-section>.section-head h2,.report-section>.card-pad.section-head h2,.report-section>form>.section-head h2{font-size:25px;font-weight:750;line-height:1.4;letter-spacing:-.7px}.report-section p.muted{font-size:16px;line-height:1.8;color:var(--color-ink);margin-top:9px}.report-section>.section-head,.report-section>.card-pad.section-head{padding-bottom:22px}.report-section table{font-size:14px}.report-section table thead th{font-size:13px;font-weight:650;padding-top:16px;padding-bottom:16px}.report-section table tbody th{font-size:14px;font-weight:650}.report-section table td{font-variant-numeric:tabular-nums}.report-section{margin-bottom:34px}.report-links{gap:10px}.report-links a{border:0;background:var(--color-paper);color:var(--color-ink);font-size:13px;font-weight:650;padding:12px 18px}.report-links a:nth-child(2){background:var(--color-paper);color:var(--color-ink)}.report-links a:nth-child(3){background:var(--color-paper);color:var(--color-ink)}.report-links a:nth-child(4){background:var(--color-paper);color:var(--color-ink)}
.budget-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.budget-legend span{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:30px;font-size:12px;font-weight:650}.budget-legend span:before{content:'';width:8px;height:8px;background:currentColor;border-radius:50%}.legend-grant{background:var(--grant-bg);color:var(--grant-ink)}.legend-own{background:var(--own-bg);color:var(--own-ink)}.legend-balance{background:var(--balance-bg);color:var(--balance-ink)}
[data-project-tone="0"]{--project-accent:var(--color-primary);--project-soft:var(--color-paper)}[data-project-tone="1"]{--project-accent:var(--color-primary);--project-soft:var(--color-paper)}[data-project-tone="2"]{--project-accent:var(--color-primary);--project-soft:var(--color-paper)}[data-project-tone="3"]{--project-accent:var(--color-primary);--project-soft:var(--color-paper)}.project-summary{border:1px solid var(--color-paper);border-left:5px solid var(--project-accent);border-radius:16px;margin-bottom:17px;box-shadow:none}.project-summary>summary{position:relative;gap:20px;background:var(--project-soft);padding:21px 22px}.project-summary>summary:after{font-size:20px;flex-shrink:0;color:var(--color-ink)}.project-summary>summary>.project-heading{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.project-summary .project-number{font-style:normal;font-weight:750;font-size:13px;background:var(--project-accent);color:var(--color-ink);width:35px;height:35px;display:grid;place-items:center;border-radius:11px;flex-shrink:0}.project-summary>summary .project-label{max-width:none;text-align:left;min-width:0}.project-summary>summary .project-label>b{display:block;font-size:21px;line-height:1.5;overflow-wrap:anywhere;color:var(--color-ink)}.project-summary>summary .project-label>small{font-size:13px;color:var(--color-ink);margin-top:4px}.project-summary>summary>.project-summary-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:none;text-align:left;flex:0 1 auto}.project-summary>summary .project-summary-totals>span{flex:none;display:block;padding:10px 12px;min-width:112px;max-width:none;border-radius:10px;text-align:left;line-height:1.4}.project-summary>summary .project-summary-totals small{display:block;font-size:11px;margin:0 0 5px;color:inherit;opacity:.86}.project-summary>summary .project-summary-totals b{display:block;font-size:16px;white-space:nowrap;font-weight:750;font-variant-numeric:tabular-nums}.project-summary>summary .project-summary-totals em{font-size:10px;font-weight:500;font-style:normal;margin-left:3px}.summary-plan{background:var(--color-paper);color:var(--grant-ink)}.summary-spent{background:var(--color-paper);color:var(--spent-ink)}.summary-balance{background:var(--color-paper);color:var(--balance-ink)}
.budget-group>.section-head h2{font-size:23px;display:flex;gap:10px;align-items:center;line-height:1.5}.budget-group>.section-head p{font-size:15px;line-height:1.7}.budget-group>.section-head{background:var(--project-soft,var(--color-paper));border-bottom:1px solid var(--color-paper)}.budget-order{font-size:13px;color:var(--color-ink);background:var(--project-accent,var(--color-primary));width:31px;height:31px;display:inline-grid;place-items:center;border-radius:9px;flex-shrink:0}.budget-table{font-size:14px;min-width:850px;font-variant-numeric:tabular-nums}.budget-table thead tr:first-child th{font-size:16px;font-weight:750;padding:17px 13px;background:var(--color-paper);color:var(--color-ink)}.budget-table thead tr:first-child th.funding-grant{background:var(--color-paper);color:var(--grant-ink)}.budget-table thead tr:first-child th.funding-own{background:var(--color-paper);color:var(--own-ink)}.budget-table thead tr:first-child th.funding-balance{background:var(--color-paper);color:var(--balance-ink)}.budget-table thead tr:nth-child(2) th{font-size:13px;font-weight:650;background:var(--grant-bg);color:var(--grant-ink);padding:13px}.budget-table thead tr:nth-child(2) th:nth-child(n+4){background:var(--own-bg);color:var(--own-ink)}.budget-table tbody th{font-size:15px;font-weight:650;white-space:normal;min-width:165px;padding:17px 15px;color:var(--color-ink)}.budget-table tbody td{font-size:14px;padding:17px 13px}.budget-table tbody tr:nth-child(even)>th,.budget-table tbody tr:nth-child(even)>td{background-color:var(--color-surface)}.budget-table tbody td:nth-child(4){background:var(--color-paper)}.budget-table tbody td:nth-child(7){background:var(--color-paper)}.budget-table tbody td:last-child{background:var(--color-paper);font-weight:750;color:var(--balance-ink)}.budget-table tbody td:nth-child(2),.budget-table thead tr:nth-child(2) th:first-child{border-left:2px solid var(--color-paper)}.budget-table tbody td:nth-child(5),.budget-table thead tr:nth-child(2) th:nth-child(4){border-left:2px solid var(--color-paper)}.budget-table tbody td:last-child{border-left:2px solid var(--color-paper)}.budget-table tfoot th,.budget-table tfoot td{background:var(--color-paper);border-top:2px solid var(--color-paper);font-size:15px;font-weight:750;padding:17px 13px;color:var(--color-ink)}.budget-table tbody th small{font-size:11px;margin-top:4px;color:var(--color-ink)}.budget-stats .stat{border:0;box-shadow:none;background:var(--grant-bg)}.budget-stats .stat:nth-child(2){background:var(--spent-bg);box-shadow:none}.budget-stats .stat:nth-child(3){background:var(--balance-bg);box-shadow:none}.budget-stats .stat-label{font-size:15px;font-weight:650;color:var(--color-ink)}.budget-stats .stat:nth-child(2) .stat-label{color:var(--spent-ink)}.budget-stats .stat:nth-child(3) .stat-label{color:var(--balance-ink)}.budget-stats .stat-foot{font-size:12px;line-height:1.6}.budget-stats .stat-value{font-size:28px}.budget-scope{font-size:14px;line-height:1.8}
.performance-table thead th{background:var(--color-paper)}.performance-table .event-planned{background:var(--grant-bg);color:var(--grant-ink)}.performance-table .event-completed{background:var(--balance-bg);color:var(--balance-ink)}.performance-table .event-remaining{background:var(--spent-bg);color:var(--spent-ink)}.performance-table tbody td.event-planned,.performance-table tbody td.event-completed,.performance-table tbody td.event-remaining{font-size:15px}#report-settlement thead th{background:var(--color-primary);color:var(--color-ink)}#report-settlement tfoot th,#report-settlement tfoot td{background:var(--color-paper);font-weight:750}.editor-project-actions,.editor-order-controls{display:flex;gap:7px;align-items:center}.editor-project-actions{flex-wrap:wrap;justify-content:flex-end}.editor-order-controls .btn{min-height:44px}.editor-order-controls button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1100px){.project-summary>summary{flex-wrap:wrap}.project-summary>summary>.project-heading{flex-basis:100%;padding-right:22px}.project-summary>summary>.project-summary-totals{flex:1;width:100%}.project-summary>summary:after{position:absolute;right:20px;top:21px}.project-summary>summary .project-summary-totals>span{min-width:0}.editor-project-heading{flex-wrap:wrap}.editor-project-actions{flex-basis:100%;justify-content:flex-start}.editor-project-actions .editor-delete{margin-left:auto}}
@media(max-width:680px){.page-head h1{font-size:29px}.page-head p{font-size:15px}.report-section>.section-head h2,.report-section>.card-pad.section-head h2,.report-section>form>.section-head h2{font-size:22px}.report-section p.muted{font-size:14px;line-height:1.85}.report-section table{font-size:12px}.report-section table thead th{font-size:12px}.report-section table tbody th{font-size:13px}.report-links a{font-size:11px;padding:11px 4px}.project-summary>summary{padding:18px 13px;gap:15px}.project-summary>summary>.project-heading{gap:9px}.project-summary .project-number{width:30px;height:30px;border-radius:9px;font-size:12px}.project-summary>summary .project-label>b{font-size:19px}.project-summary>summary .project-label>small{font-size:12px}.project-summary>summary>.project-summary-totals{gap:5px}.project-summary>summary .project-summary-totals>span{padding:10px 6px}.project-summary>summary .project-summary-totals small{font-size:10px}.project-summary>summary .project-summary-totals b{font-size:clamp(11px,3.5vw,15px);letter-spacing:-.5px}.project-summary>summary .project-summary-totals em{font-size:9px;margin-left:2px}.budget-legend{gap:6px;margin-bottom:14px}.budget-legend span{font-size:11px;padding:6px 10px}.budget-group>.section-head h2{font-size:20px}.budget-group>.section-head p{font-size:14px}.budget-group .section-head .btn{font-size:11px;min-height:40px}.budget-mobile-item{padding:18px 12px;background:var(--color-surface)}.budget-mobile-item:nth-child(even){background:var(--color-surface)}.budget-mobile-title{font-size:15px;line-height:1.6;margin-bottom:14px}.budget-mobile-title strong{font-size:15px}.budget-mobile-title>span{font-size:13px}.budget-mobile table{border-radius:9px;overflow:hidden;font-variant-numeric:tabular-nums}.budget-mobile thead th{font-size:11px!important;background:var(--color-paper);color:var(--color-ink)}.budget-mobile table th,.budget-mobile table td{padding:10px 4px;font-size:12px;letter-spacing:-.3px}.budget-mobile tbody tr:first-child>th,.budget-mobile tbody tr:first-child>td{background:var(--grant-bg);color:var(--grant-ink)}.budget-mobile tbody tr:nth-child(2)>th,.budget-mobile tbody tr:nth-child(2)>td{background:var(--own-bg);color:var(--own-ink)}.budget-mobile tbody td:last-child{font-weight:750}.budget-mobile-total{font-size:14px;padding:18px 13px;background:var(--color-paper);color:var(--balance-ink);gap:8px}.budget-stats .stat-label{font-size:13px}.budget-stats .stat-foot{font-size:11px}.budget-stats .stat-value{font-size:24px}.budget-scope{font-size:12px}.editor-project-actions{gap:7px}.editor-order-controls .btn{font-size:11px;padding:8px 11px}.report-section .performance-table tbody td{font-size:13px}}
@media print{#print-area .report-section h2{font-size:18px}#print-area .report-section p{font-size:11px}#print-area .project-summary>summary .project-label>b{font-size:17px}#print-area .project-summary>summary .project-summary-totals b{font-size:13px}#print-area .project-summary>summary .project-summary-totals{display:flex;gap:12px}#print-area .project-summary>summary .project-summary-totals>span{min-width:0;padding:5px}#print-area .project-summary>summary .project-number{display:none}#print-area .budget-legend{display:none}#print-area .budget-table{min-width:0}#print-area .budget-table thead tr:first-child th{font-size:11px}#print-area .budget-order{display:none}#print-area .budget-table tbody th,#print-area .budget-table tbody td,#print-area .budget-table tfoot td{font-size:10px;padding:7px}}
.project-summary .project-number,.budget-order{background:var(--color-surface);color:var(--color-ink);border:1px solid var(--project-accent,var(--color-primary))}
@media(max-width:680px){.report-section>.section-head{flex-wrap:wrap}.report-section>.section-head>div{flex:1 1 100%}.project-summary>summary .project-summary-totals b{white-space:normal;overflow-wrap:anywhere}.budget-mobile td{white-space:normal;overflow-wrap:anywhere}}

/* The year and community filters stay together above every page. */
:root{--pinned-header-height:96px}
.topbar{position:sticky;top:0;z-index:40;height:auto;min-height:var(--pinned-header-height);padding:12px 44px;gap:24px;background:var(--color-surface);backdrop-filter:blur(16px);box-shadow:none}
#global-context{flex:1;min-width:0;max-width:620px}
.global-filter-grid{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}
.global-filter-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--color-ink);font-size:11px;font-weight:700}
.global-filter-grid select{display:block;width:100%;min-width:0;min-height:46px;padding:10px 30px 10px 12px;border:1px solid var(--color-paper);border-radius:9px;background:var(--color-paper);color:var(--ink);font:inherit;font-size:14px;text-overflow:ellipsis}
.global-filter-grid select:focus-visible{outline:2px solid var(--pine);outline-offset:2px}
.topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-shrink:0}
.topbar-tools .breadcrumb{display:none}
.topbar-tools .top-actions{gap:12px}
.form-community-summary{font-size:14px;font-weight:650;color:var(--color-ink);padding:12px 14px;margin-bottom:20px;background:var(--mint);border-radius:8px;overflow-wrap:anywhere}
.form-side{top:calc(var(--pinned-header-height) + 20px)}
.report-section,main{scroll-margin-top:calc(var(--pinned-header-height) + 16px)}
@media(max-width:1150px){.topbar{padding-left:28px;padding-right:28px;gap:16px}.global-filter-grid{grid-template-columns:115px minmax(0,1fr);gap:9px}.topbar-tools .private-badge{display:none}}
@media(max-width:850px){:root{--pinned-header-height:150px}.topbar{flex-direction:column;align-items:stretch;padding:12px 23px;gap:12px}#global-context{max-width:none;flex:none}.global-filter-grid{grid-template-columns:130px minmax(0,1fr)}.topbar-tools{justify-content:space-between;gap:10px}.topbar-tools .private-badge{display:inline-block}.topbar-tools .mobile-brand{font-size:17px}.topbar-tools .top-actions{gap:10px}.global-filter-grid select{font-size:16px}.topbar-tools .global-add{min-height:36px;padding:6px 12px}.form-side{top:auto}}
@media(max-width:680px){.topbar{padding:10px 19px;gap:10px}.global-filter-grid{grid-template-columns:112px minmax(0,1fr);gap:8px}.global-filter-grid select{padding-left:10px}.topbar-tools .top-actions{gap:8px}}

.report-fold>summary{cursor:pointer;list-style:none;min-height:82px;gap:20px;border-radius:14px}
.report-fold>summary::-webkit-details-marker{display:none}
.report-fold>summary>div{flex:1;min-width:0}
.report-fold>summary:after{content:'⌄';display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:var(--mint);border-radius:50%;color:var(--color-ink);font-size:22px;font-weight:700;line-height:1}
.report-fold[open]>summary:after{content:'⌃'}
.report-fold>summary:focus-visible{outline:2px solid var(--pine);outline-offset:-4px}
.report-fold[open]>summary{border-bottom:1px solid var(--line);border-radius:14px 14px 0 0}
@media(max-width:680px){.report-section.report-fold>summary{padding:18px 15px;flex-wrap:nowrap}.report-section.report-fold>summary>div{flex:1 1 auto}.report-fold>summary:after{width:28px;height:28px}}
@media print{#print-area .report-fold>summary:after{display:none}#print-area .report-fold>summary{border-bottom:0;min-height:0}}

#global-context{max-width:760px}
.global-filter-grid{grid-template-columns:130px minmax(0,1fr);align-items:end}
.global-filter-grid .global-add{min-height:46px;font-size:13px;padding:10px 14px;margin:0}
.global-filter-grid .global-add-text{display:inline}
@media(max-width:1150px){.global-filter-grid{grid-template-columns:115px minmax(0,1fr)}}
@media(max-width:850px){#global-context{max-width:none}.global-filter-grid{grid-template-columns:112px minmax(0,1fr)}.global-filter-grid .global-add{width:auto}}
@media(max-width:680px){.global-filter-grid{grid-template-columns:106px minmax(0,1fr);gap:6px}.global-filter-grid .global-add{width:72px;padding:10px 6px;font-size:12px}.global-filter-grid .global-add>span:first-child{display:none}.global-filter-grid select{padding-left:8px;padding-right:23px}}

:root{--pinned-header-height:78px}
@media(max-width:850px){:root{--pinned-header-height:120px}}

.budget-report-section{padding:26px}
.budget-report-section>.project-summary:last-child{margin-bottom:0}
@media(max-width:680px){.budget-report-section{padding:18px 15px}}
@media print{#print-area .budget-report-section{padding:0}}

/* Base palette: light green, white, warm paper, dark ink. */
:root{--pine:var(--color-primary);--pine-dark:var(--color-ink);--mint:var(--color-paper);--lime:var(--color-paper);--ink:var(--color-ink);--muted:var(--color-ink);--line:var(--color-paper);--paper:var(--color-paper);--orange:var(--color-primary);--white:var(--color-surface);--radius:16px;--grant-bg:var(--color-paper);--grant-ink:var(--color-ink);--own-bg:var(--color-surface);--own-ink:var(--color-ink);--balance-bg:var(--color-paper);--balance-ink:var(--color-ink);--spent-bg:var(--color-paper);--spent-ink:var(--color-ink)}
[data-project-tone]{--project-accent:var(--color-primary);--project-soft:var(--color-paper)}
body{background:var(--color-paper)}
.card,.sidebar,.topbar,.mobile-nav{background:var(--color-surface)}
.topbar,.mobile-nav,dialog::backdrop{backdrop-filter:none}
dialog::backdrop{background:var(--color-paper)}
.desktop-nav{margin-top:28px}
.project-summary>summary .project-summary-totals>span{background:var(--color-surface);color:var(--color-ink);border:1px solid var(--color-primary)}
.project-summary>summary .project-summary-totals small{opacity:1}
.budget-negative{font-weight:800;text-decoration:underline;text-underline-offset:3px}
.btn.danger{background:var(--color-ink);color:var(--color-surface)}
.form-error{border-left:4px solid var(--color-ink)}
.report-tools{display:flex;align-items:center;justify-content:flex-end;padding:18px 25px 12px}
.report-records{padding-top:0}
@media(max-width:680px){.report-tools{padding:15px 15px 10px}.report-records{padding:0 15px 18px}}
@media print{#print-area .report-tools{display:none}}

.global-filter-grid{grid-template-columns:130px minmax(0,1fr) minmax(0,1fr)}
@media(max-width:1150px){.global-filter-grid{grid-template-columns:115px minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:850px){.global-filter-grid{grid-template-columns:112px minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:680px){:root{--pinned-header-height:176px}.global-filter-grid{grid-template-columns:106px minmax(0,1fr);gap:8px}.global-project-label{grid-column:1/-1}}

/* Consistent white summaries and clear table hierarchy. */
.stats .stat,.budget-stats .stat:nth-child(n){background:var(--color-surface);border:1px solid var(--color-paper)}
.budget-legend span{background:var(--color-surface);color:var(--color-ink);border:1px solid var(--color-paper)}
.table-scroll table,.budget-mobile table{border:1px solid var(--color-primary);border-collapse:separate;border-spacing:0}
.table-scroll table:not(.budget-table) thead th,.budget-mobile table thead th,
.budget-table thead tr:first-child th,.budget-table thead tr:first-child th.funding-grant,.budget-table thead tr:first-child th.funding-own,.budget-table thead tr:first-child th.funding-balance{background:var(--color-primary);color:var(--color-ink);font-weight:750;border-bottom:1px solid var(--color-paper)}
.budget-table thead tr:nth-child(2) th,.budget-table thead tr:nth-child(2) th:nth-child(n+4){background:var(--color-paper);color:var(--color-ink);font-weight:700;border-bottom:2px solid var(--color-primary)}
.table-scroll table tbody tr:nth-child(n)>td,.table-scroll table tbody tr:nth-child(n)>th,
.budget-mobile table tbody tr:nth-child(n)>td,.budget-mobile table tbody tr:nth-child(n)>th{background:var(--color-surface);color:var(--color-ink);border-bottom:1px solid var(--color-paper)}
.table-scroll table tbody th{font-weight:700}
.budget-table tbody td:nth-child(2),.budget-table tbody td:nth-child(5),.budget-table tbody td:last-child,
.budget-table thead tr:nth-child(2) th:first-child,.budget-table thead tr:nth-child(2) th:nth-child(4){border-left:2px solid var(--color-primary)}
.table-scroll table tfoot td,.table-scroll table tfoot th{background:#FFFFFF;color:var(--color-ink);font-weight:900;border-top:2px solid var(--color-primary);border-bottom:0}
.table-scroll .budget-table tbody td:last-child,.budget-mobile-total{font-weight:800;color:var(--color-ink)}
.budget-mobile-total{background:var(--color-surface);border-top:2px solid var(--color-primary)}
@media(max-width:680px){.budget-mobile table th,.budget-mobile table td{padding-top:12px;padding-bottom:12px}.budget-mobile-item{border-bottom:1px solid var(--color-primary)}}
@media print{#print-area .table-scroll table{border-collapse:collapse}#print-area .table-scroll table thead th{background:var(--color-paper);color:var(--color-ink)}}

@media(min-width:681px){
  .record-table-wrap .expense-table{border:1px solid var(--color-primary);border-collapse:separate;border-spacing:0}
  .record-table-wrap .expense-table thead th{background:var(--color-primary);color:var(--color-ink);font-weight:750}
  .record-table-wrap .expense-table tbody tr:nth-child(n){background:#FFFFFF}
  .record-table-wrap .expense-table td{border-bottom:1px solid var(--color-paper)}
}

/* Spreadsheet grid with raised headings and inset data cells. */
.table-scroll{padding:3px;background:var(--color-paper);border-top:2px solid var(--color-ink);border-left:2px solid var(--color-ink);border-right:2px solid var(--color-paper);border-bottom:2px solid var(--color-paper)}
.table-scroll table tr>th,.table-scroll table tr>td,.budget-mobile table tr>th,.budget-mobile table tr>td{border-right:1px solid var(--color-primary);border-bottom:1px solid var(--color-primary)}
.table-scroll table tbody tr:nth-child(n)>th,.table-scroll table tbody tr:nth-child(n)>td,.budget-mobile table tbody tr:nth-child(n)>th,.budget-mobile table tbody tr:nth-child(n)>td{border-bottom:1px solid var(--color-primary)}
.table-scroll table thead th,.budget-mobile table thead th{box-shadow:inset 1px 1px 0 var(--color-paper),inset -1px -2px 0 var(--color-ink)}
.table-scroll table tbody td,.table-scroll table tbody th,.budget-mobile table tbody td,.budget-mobile table tbody th{box-shadow:inset 1px 1px 0 var(--color-paper),inset -1px -1px 0 var(--color-surface)}
.table-scroll table tfoot td,.table-scroll table tfoot th{box-shadow:inset 1px 1px 0 var(--color-surface),inset -1px -2px 0 var(--color-primary)}
.report-section.card{border:1px solid var(--color-primary);box-shadow:0 3px 0 var(--color-paper),0 4px 0 var(--color-primary)}
.project-summary>summary .project-summary-totals>span{box-shadow:inset 1px 1px 0 var(--color-surface),inset -1px -1px 0 var(--color-paper),0 2px 0 var(--color-primary)}
.field input,.field select,.field textarea,.budget-input-table input{background:var(--color-surface);box-shadow:inset 2px 2px 0 var(--color-paper),inset -1px -1px 0 var(--color-surface)}
@media(min-width:681px){.record-table-wrap .expense-table tr>th,.record-table-wrap .expense-table tr>td{border-right:1px solid var(--color-primary);border-bottom:1px solid var(--color-primary)}.record-table-wrap .expense-table thead th{box-shadow:inset 1px 1px 0 var(--color-paper),inset -1px -2px 0 var(--color-ink)}.record-table-wrap .expense-table td{box-shadow:inset 1px 1px 0 var(--color-paper),inset -1px -1px 0 var(--color-surface)}}
@media print{#print-area .table-scroll{padding:0;border:0}#print-area .report-section.card,#print-area .table-scroll table th,#print-area .table-scroll table td,#print-area .project-summary>summary .project-summary-totals>span{box-shadow:none}}

/* A shared, prominent heading for every menu and input screen. */
.page-head{padding:24px 26px;gap:24px;background:var(--color-surface);border:1px solid var(--color-primary);border-left:7px solid var(--color-primary);border-radius:16px;box-shadow:0 3px 0 var(--color-paper),0 4px 0 var(--color-primary);align-items:center}
.page-heading{flex:1;min-width:0}
.page-head .eyebrow{display:none}
.page-head h1{display:block;max-width:100%;padding:0;border:0;border-radius:0;background:none;color:#000000;font-size:clamp(30px,3vw,38px);font-weight:850;line-height:1.3;letter-spacing:-1px;overflow-wrap:anywhere;box-shadow:none;text-shadow:none}
.page-head p{margin-top:14px;font-size:15px;font-weight:700;line-height:1.7;color:var(--color-ink)}
.page-head .head-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px}
@media(max-width:850px){.page-head{padding:20px;gap:18px}.page-head h1{font-size:32px}}
@media(max-width:680px){.page-head{padding:17px 15px;flex-direction:column;align-items:stretch;border-left-width:6px;gap:17px}.page-heading{flex:none}.page-head h1{padding:0;font-size:28px;letter-spacing:-.8px}.page-head p{font-size:14px;margin-top:12px}.page-head .head-actions{align-self:stretch;justify-content:flex-start}}

.attachment-order{position:absolute;left:7px;top:7px;min-width:27px;height:27px;display:grid;place-items:center;border:1px solid var(--color-primary);border-radius:6px;background:var(--color-surface);color:var(--color-ink);font-size:12px}
dialog.evidence-dialog{width:760px}
.evidence-export-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:var(--color-paper);border:1px solid var(--color-primary);border-radius:8px;color:var(--color-ink);font-size:13px}
.evidence-export-intro span{font-size:11px;white-space:nowrap}
.evidence-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 10px;font-size:12px}
.evidence-selection-tools>div{display:flex;gap:12px}
.evidence-selection-tools button{font-size:12px;min-height:36px}
.evidence-expense-list{max-height:45dvh;overflow-y:auto;border:1px solid var(--color-primary);border-radius:8px}
.evidence-expense-choice{display:flex;align-items:flex-start;gap:11px;padding:15px;border-bottom:1px solid var(--color-primary);cursor:pointer;font-size:13px;background:var(--color-surface)}
.evidence-expense-choice:last-child{border-bottom:0}
.evidence-expense-choice:nth-child(even){background:var(--color-paper)}
.evidence-expense-choice>input{width:20px;height:20px;flex-shrink:0;accent-color:var(--color-primary);margin-top:2px}
.evidence-expense-choice>span{flex:1;min-width:0;overflow-wrap:anywhere}
.evidence-expense-choice small{display:block;font-size:11px;line-height:1.8;margin-top:4px}
.evidence-expense-choice>strong{white-space:nowrap;color:var(--color-ink)}
#evidence-pdf-error{margin-top:15px}
#evidence-pdf-progress{font-size:13px;margin-top:14px;color:var(--color-ink);font-weight:650}
.evidence-pdf-result{padding:18px;margin-top:16px;border:1px solid var(--color-primary);border-radius:9px;background:var(--color-paper)}
.evidence-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}
@media(max-width:680px){.evidence-export-intro{align-items:flex-start;flex-direction:column;gap:4px}.evidence-selection-tools{align-items:flex-start;flex-direction:column;gap:3px}.evidence-expense-choice{padding:13px 11px;gap:9px}.evidence-expense-list{max-height:40dvh}.evidence-result-actions .btn{flex:1;font-size:12px}}

/* Small local illustrations add warmth without competing with the ledger. */
.desktop-nav button{box-shadow:inset 0 0 0 1px var(--color-selection-border)}
.desktop-nav button.active{background:var(--color-surface);color:var(--color-ink);box-shadow:inset 0 0 0 2px var(--color-primary),0 2px 0 var(--color-paper)}
.desktop-nav button.active:hover{background:var(--color-surface)}
.desktop-nav button:not(.active):hover{box-shadow:inset 0 0 0 1px var(--color-selection-border)}
.page-head{flex-wrap:wrap}
.page-heading{flex:1 1 310px}
.page-title-line{display:flex;align-items:center;justify-content:space-between;gap:18px}
.page-title-line h1{flex:0 1 auto}
.page-illustration{display:block;width:108px;height:81px;object-fit:contain;flex:0 0 auto;pointer-events:none}
.page-head{border-color:var(--color-selection-border);border-left-color:var(--color-primary);box-shadow:0 3px 0 var(--color-paper)}
.compact-hero{background:var(--color-surface);color:var(--color-ink);border:1px solid var(--color-paper);min-height:170px;padding:27px 30px;align-items:center}
.compact-hero>div:first-child{max-width:calc(100% - 275px)}
.compact-hero .eyebrow{color:var(--color-ink)}
.compact-hero .hero-link{color:var(--color-ink)}
.compact-hero .hero-art{right:18px;bottom:11px;width:260px;height:146px;transform:none}
.hero-art img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:1150px){.page-illustration{width:88px;height:66px}.page-title-line{gap:12px}.compact-hero>div:first-child{max-width:calc(100% - 220px)}.compact-hero .hero-art{width:215px;height:121px;bottom:22px}}
@media(max-width:850px){.mobile-nav{gap:3px}.mobile-nav button{border-radius:10px;box-shadow:inset 0 0 0 1px var(--color-selection-border)}.mobile-nav button.active{color:var(--color-ink);background:var(--color-surface);border-radius:10px;box-shadow:inset 0 0 0 2px var(--color-primary)}.mobile-nav button svg{box-sizing:content-box;background:var(--color-surface);color:var(--color-ink);border:1px solid var(--color-selection-border);padding:5px;border-radius:8px;margin-top:-10px;box-shadow:0 2px 0 var(--color-paper)}.mobile-nav button.active svg{border-color:var(--color-primary)}.mobile-nav button.active span{font-weight:800}}
@media(max-width:680px){.page-heading{flex:none;width:100%}.page-illustration{width:74px;height:56px}.page-title-line{gap:10px}.page-title-line h1{padding:0}.compact-hero{padding:20px;min-height:165px}.compact-hero>div:first-child{max-width:100%;padding-right:55px}.compact-hero h2{font-size:19px;line-height:1.65}.compact-hero .hero-art{width:128px;height:72px;right:5px;bottom:0}.compact-hero .hero-link{max-width:calc(100% - 65px);gap:6px}.page-head .head-actions .btn{white-space:normal;text-align:center}}
@media(max-width:380px){.page-illustration{width:60px;height:45px}.page-head h1{font-size:26px}.compact-hero h2{font-size:17px}.compact-hero>div:first-child{padding-right:15px}.compact-hero{padding-bottom:55px}}
@media print{.page-illustration,.hero-art{display:none}}

/* Bright green surfaces keep dark lettering for a readable contrast. */
.page-head p{display:block;background:none;border:0;border-radius:0;padding:0;color:var(--color-subtitle);box-shadow:none;text-shadow:none}
.desktop-nav button svg{background:var(--color-surface);border:1px solid var(--color-selection-border);border-radius:6px;padding:3px;box-sizing:content-box}
.desktop-nav button.active svg{border-color:var(--color-primary)}
.btn.danger:hover{background:var(--color-ink);color:var(--color-surface)}
button:focus-visible,a:focus-visible{outline-color:var(--color-ink)}

/* Rounded local Korean fonts, with clear figures in accounting tables. */
h1,h2,h3,.brand,.mobile-brand,.desktop-nav button,.mobile-nav button,.page-head p,.btn,
.budget-editor-tabs button,.form-library-tabs button,.project-heading b,table thead th{font-family:var(--font-title);font-weight:400;font-synthesis:none;letter-spacing:0}
.num,.amount,.stat-value,.entry-amount,.amount-input input,.project-summary-totals b{font-family:var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:0}

@media print{.page-head h1{box-shadow:none;text-shadow:none}}

/* Add beside the tabs; remove from the top-right of the matching tab. */
.budget-editor-toolbar{margin:20px 0 10px}
.budget-editor-tabbar{display:flex;align-items:flex-start;gap:8px;max-width:850px;margin-bottom:14px}
.budget-editor-tabbar .budget-editor-tabs{flex:0 1 auto;min-width:0;margin:0;padding:0 0 8px;gap:8px}
.editor-tab-item{position:relative;flex:0 0 auto;min-width:140px;max-width:240px}
.budget-editor-tabs [data-budget-tab]{width:100%;height:64px;min-width:140px;max-width:240px;padding:13px 47px 13px 12px}
.budget-editor-tabs .editor-tab-remove{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;min-width:44px;max-width:44px;padding:0;border:0;border-radius:9px;background:none;color:var(--color-ink)}
.budget-editor-tabs .editor-tab-remove>span{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--color-ink);border-radius:50%;background:var(--color-surface);font-family:var(--font-title);font-size:22px;font-weight:400;line-height:1;overflow:visible}
.editor-tab-add{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin-top:10px;padding:0;border:1px solid var(--color-ink);border-radius:10px;background:var(--color-primary);color:var(--color-ink);font-family:var(--font-title);font-size:30px;line-height:1}
.editor-tab-add:hover,.budget-editor-tabs .editor-tab-remove:hover>span{outline:1px solid var(--color-ink);outline-offset:-2px}
.editor-tab-add:disabled,.budget-editor-tabs .editor-tab-remove:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:680px){.editor-tab-item,.budget-editor-tabs [data-budget-tab]{min-width:136px;max-width:205px}.budget-editor-tabs [data-budget-tab]{height:60px;padding:12px 44px 12px 10px}.editor-tab-add{margin-top:8px}}
.page-head.page-head-overview{border-color:var(--color-primary);border-left-color:var(--color-primary)}
.community-actions{display:flex;gap:8px;flex-shrink:0}
.community-actions .btn{min-width:58px;min-height:44px;padding:9px 13px;font-size:13px}
.community-actions .danger{border:1px solid var(--color-selection-border)}
.community-delete-target{padding:16px;background:var(--color-paper);border-radius:10px;overflow-wrap:anywhere}
.community-delete-target h3{font-size:21px}.community-delete-target p{margin-top:5px;color:var(--muted);font-size:13px}
.community-delete-caption{margin:19px 0 10px}
.community-delete-counts{margin:0 0 18px;border:1px solid var(--color-selection-border);border-radius:9px;overflow:hidden}
.community-delete-counts>div{display:flex;justify-content:space-between;gap:16px;padding:10px 14px;border-bottom:1px solid var(--color-paper)}
.community-delete-counts>div:last-child{border:0}.community-delete-counts dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:680px){.community-card{flex-wrap:wrap}.community-actions{flex-basis:100%;justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px}.community-actions .btn{flex:1;min-height:46px}.community-delete-target h3{font-size:19px}}
.event-dialog{width:min(760px,calc(100% - 28px))}
.event-form-section{padding-bottom:23px;margin-bottom:23px;border-bottom:1px solid var(--color-selection-border)}
.event-form-section h3{font-size:23px;margin-bottom:18px}.event-form-section h3 small{font-family:var(--font-body);font-size:13px;color:var(--muted);margin-left:8px}
.event-form-section textarea{resize:vertical;line-height:1.7}.event-form-section input[readonly]{background:var(--color-paper);color:var(--color-ink)}
.event-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:16px}
.event-photo-slot{border:1px solid var(--color-selection-border);border-radius:10px;padding:12px;min-width:0;background:var(--color-surface)}
.event-photo-slot>b{display:block;font-size:15px;margin-bottom:10px}.event-photo-slot img{display:block;width:100%;height:170px;object-fit:contain;background:var(--color-paper);border-radius:6px}
.event-photo-slot small{display:block;font-size:11px;overflow-wrap:anywhere;margin:8px 0}.event-photo-slot .text-btn{min-height:44px;padding:8px}
.event-photo-empty{display:grid;place-items:center;min-height:170px;background:var(--color-paper);border-radius:6px;font-size:12px;color:var(--muted)}
.event-photo-swap{grid-column:1/-1;justify-content:center;min-height:44px}.event-save-note{font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px}
.event-report-result{padding:18px;background:var(--color-paper);border:1px solid var(--color-primary);border-radius:10px;margin-bottom:18px}.event-report-result .attach-actions{margin-top:14px}
.events-table th,.events-table td{text-align:center;vertical-align:middle}
.events-table .event-action-cell{padding:7px 8px;width:92px;border-left:1px solid #C0C0C0}
.events-table .event-action-cell .btn{width:100%;min-width:64px;min-height:44px;padding:7px 10px}
.report-section.report-fold#report-events>summary{gap:10px}#report-events>summary .btn{flex:0 0 auto;min-height:44px}
#report-settlement .settlement-total-input{padding:5px 3px}#report-settlement .settlement-total-input input{display:block;width:100%;min-width:0;max-width:100%;min-height:40px;padding:5px 2px;text-align:center;font-size:var(--budget-total-size,15px);font-weight:900;font-variant-numeric:tabular-nums;appearance:textfield}#report-settlement .settlement-total-input input::-webkit-inner-spin-button,#report-settlement .settlement-total-input input::-webkit-outer-spin-button{appearance:none;margin:0}#report-settlement>summary .settlement-save{min-height:28px;padding:4px 10px;font-size:12px;line-height:1.3}#report-settlement #settlement-income-error:not(:empty){padding:10px 12px}
.botaem-table [data-edit-expense-row]{cursor:pointer}.botaem-table [data-edit-expense-row]:hover,.botaem-table [data-edit-expense-row]:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}.botaem-table td.botaem-payment{position:relative;min-width:138px;padding:6px 46px 6px 8px}.botaem-payment-label{display:flex;align-items:center;justify-content:center;min-height:44px;white-space:normal;overflow-wrap:anywhere}.botaem-copy{position:absolute;top:6px;right:4px;display:inline-grid;place-items:center;width:36px;min-height:44px;padding:0;border:1px solid var(--color-selection-border);border-radius:7px;background:#FFFFFF}.botaem-copy svg{width:16px;height:16px}
.disbursement-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:0 20px 18px}.disbursement-tools label{display:flex;align-items:center;gap:8px;min-height:44px}.disbursement-tools input,.disbursement-table input{width:22px;height:22px;accent-color:var(--color-primary);cursor:pointer}.disbursement-tools>span{font-size:12px}.disbursement-tools .btn{margin-left:auto}.disbursement-table td:first-child,.disbursement-table th:first-child{position:sticky;left:0;background:#FFFFFF;z-index:1;text-align:center;min-width:52px}.disbursement-table input{margin:10px 0}.disbursement-table .wrap-cell{min-width:160px}.disbursement-table tr:has(input:checked) td{box-shadow:inset 0 2px var(--color-primary),inset 0 -2px var(--color-primary)}@media(max-width:680px){.disbursement-tools{padding:0 14px 14px;gap:8px}.disbursement-tools .btn{width:100%;margin-left:0}}
.receipt-report-panel{border:1px solid var(--color-primary);border-radius:10px;padding:16px;margin-top:16px;background:var(--color-surface)}
.receipt-report-panel h3{font-size:20px;margin-bottom:10px}.receipt-report-panel p{font-size:12px;line-height:1.7;overflow-wrap:anywhere;margin:5px 0}.receipt-report-panel .btn{margin-top:12px;width:100%}
@media(max-width:680px){.event-dialog .dialog-content{padding:18px 15px}.event-form-section h3{font-size:21px}.event-photo-grid{gap:9px}.event-photo-slot{padding:9px}.event-photo-slot img,.event-photo-empty{height:130px;min-height:130px}.event-photo-empty{font-size:11px}.event-dialog .dialog-actions .btn{white-space:normal;min-width:100px}.event-form-section .field-row:has(#event-community){grid-template-columns:1fr}}

/* Five-column expense ledger, kept as one table on phones. */
.records-list:has(.record-table-wrap){padding:0;border:0;min-width:0;max-width:100%;background:var(--color-surface)}
.records-list .record-table-wrap{width:100%;max-width:100%;min-width:0;overflow:visible}
.records-list .record-table-wrap .expense-table{display:table;width:100%;max-width:100%;min-width:0;table-layout:fixed}
.records-list .record-table-wrap .expense-table thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none}
.records-list .record-table-wrap .expense-table tbody{display:table-row-group}
.records-list .record-table-wrap .expense-table tr.entry{display:table-row;width:auto;padding:0;border:0!important;border-radius:0}
.records-list .record-table-wrap .expense-table th,.records-list .record-table-wrap .expense-table td{display:table-cell;width:auto;min-width:0;padding:7px 6px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5;box-shadow:none}
.records-list .record-table-wrap .expense-table td{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.records-list .record-table-wrap .expense-table tbody td{border-right:1px solid var(--color-selection-border)!important;border-bottom:1px solid var(--color-selection-border)!important}
.records-list .record-table-wrap .expense-table tbody tr>td:last-child{border-right:0!important}
.records-list .record-table-wrap .expense-table tbody tr:last-child>td{border-bottom:0!important}
.records-list .record-table-wrap .expense-table td:before{display:none!important;content:none!important}
.records-list .record-table-wrap .expense-table .record-content{display:block;min-width:0;width:100%}
.records-list .record-table-wrap .expense-table .entry-title,.records-list .record-table-wrap .expense-table .record-number,.records-list .record-table-wrap .expense-table .record-field{display:block;width:100%;min-width:0;max-width:100%;min-height:28px;padding:0;flex:initial;font-size:inherit;line-height:inherit;white-space:nowrap;overflow:hidden;overflow-wrap:normal;word-break:normal;text-overflow:ellipsis;text-align:center;-webkit-line-clamp:unset;-webkit-box-orient:initial}
.records-list .record-table-wrap .expense-table .record-field{font-weight:inherit}
.records-list .record-table-wrap .expense-table .record-evidence{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:9px;padding:1px 4px}
.records-list .record-table-wrap .expense-table .record-amount{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.records-list .record-table-wrap .expense-table .record-amount-value{display:inline;white-space:nowrap;font-variant-numeric:tabular-nums}
.records-list .record-table-wrap .expense-table .record-currency{display:inline;margin-left:2px;font-size:10px;font-weight:400}
.expense-table .record-col-number{width:9%}.expense-table .record-col-project{width:24%}.expense-table .record-col-category{width:17%}.expense-table .record-col-description{width:32%}.expense-table .record-col-amount{width:18%}
.record-summary{margin-bottom:8px}
@media(max-width:680px){
 .records-list .record-table-wrap .expense-table th,.records-list .record-table-wrap .expense-table td{padding:6px 3px}
 .records-list .record-table-wrap .expense-table td{font-size:12px}
 .records-list .record-table-wrap .expense-table thead th{font-size:11px!important;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
 .records-list .record-table-wrap .expense-table th:first-child,.records-list .record-table-wrap .expense-table td:first-child{padding-left:1px;padding-right:1px}
 .expense-table .record-col-number{width:28px}.expense-table .record-col-project{width:calc(26% - 7.28px)}.expense-table .record-col-category{width:calc(20% - 5.6px)}.expense-table .record-col-description{width:calc(31% - 8.68px)}.expense-table .record-col-amount{width:calc(23% - 6.44px)}
}
@media(max-width:360px){.records-list .record-table-wrap .expense-table td{font-size:11px}.records-list .record-table-wrap .expense-table thead th{font-size:10px!important}}


/* Compact, centered worksheets: one table at every screen size. */
.hero.compact-hero h1{font-size:clamp(30px,3vw,38px);line-height:1.55;margin:0 0 10px;letter-spacing:0;color:var(--color-ink)}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.hero-actions .text-btn{display:inline-flex;gap:5px;align-items:center;font-size:12px;min-height:36px}.hero-actions svg{width:16px;height:16px}
#report-recent>summary{min-height:68px;gap:12px}#report-recent>summary .text-btn{flex:0 0 auto;white-space:nowrap;font-size:12px;min-height:44px}#report-recent>summary:after{width:26px;height:26px;font-size:19px}
.recent-entry .recent-entry-line{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.recent-entry .entry-body{min-width:0}.recent-entry .entry-amount{white-space:nowrap;font-size:14px}.recent-entry{gap:10px;padding:12px 0}.recent-entry .entry-icon{width:32px;height:32px;flex:0 0 32px}
.settlement-income-card h2{font-size:23px;margin-bottom:18px}.settlement-income-card .field-row{margin-top:12px}
.botaem-table th,.botaem-table td,.botaem-table .amount{text-align:center!important;vertical-align:middle}.botaem-table th{border-bottom:3px double var(--color-ink)!important}.botaem-table td{padding:10px 12px}.botaem-table .wrap-cell{max-width:250px;white-space:normal;overflow-wrap:anywhere}.botaem-actions{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}.botaem-actions .text-btn{min-height:44px}
#report-settlement table{table-layout:fixed;min-width:0}#report-settlement th,#report-settlement td,#report-settlement td.amount{text-align:center;vertical-align:middle;padding:10px 6px;font-size:13px}#report-settlement thead th{border-bottom:3px double var(--color-ink);box-shadow:inset 0 1px var(--color-surface)}
#report-settlement tfoot th,#report-settlement tfoot td{font-weight:800}.table-scroll td.budget-negative,.table-scroll th.budget-negative,.budget-negative,.summary-balance.budget-negative{color:#C62828!important;font-weight:800;text-decoration:none}
#report-budget{min-width:0;padding:18px}.budget-report-section>.section-head{padding:0 0 16px;align-items:center;flex-wrap:nowrap}.budget-report-section>.section-head>div{flex:1;min-width:0}.budget-report-section>.section-head h2{font-size:25px}.budget-zoom-toggle{flex:0 0 auto;min-width:44px;min-height:44px;font-size:12px}
#report-budget .project-summary{margin:0 0 12px;border:1px solid var(--color-selection-border);border-left:3px solid var(--color-primary);border-radius:13px;overflow:hidden;box-shadow:0 2px 0 var(--color-paper)}
#report-budget .project-summary>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 15px;background:var(--color-surface);list-style:none;cursor:pointer}
#report-budget .project-summary>summary>.project-heading{grid-column:1;display:flex;gap:9px;min-width:0;padding:0}
#report-budget .project-number{width:27px;height:27px;flex:0 0 27px;border-radius:8px;font-size:12px}
#report-budget .project-summary>summary .project-label{max-width:none;min-width:0;text-align:left}
#report-budget .project-summary>summary .project-label>b{font-size:19px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:keep-all}
#report-budget .project-summary>summary:after{position:static;grid-column:2;grid-row:1;display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--color-selection-border);border-radius:50%;font-size:17px;line-height:1;background:var(--color-surface);transition:transform .25s,border-color .25s}
#report-budget .project-summary[open]>summary:after{border-color:var(--color-primary);transform:rotate(0deg);content:'⌄'}
#report-budget .project-summary>summary>.project-summary-totals{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:none;margin:0;text-align:center}
#report-budget .project-summary>summary .project-summary-totals>span{min-width:0;max-width:none;background:var(--color-surface);padding:7px 6px;border:1px solid var(--color-selection-border);border-radius:8px;text-align:center;box-shadow:inset 0 1px 2px var(--color-paper),0 1px 0 var(--color-paper)}
#report-budget .project-summary-totals small{font-size:11px;margin:0 0 2px;line-height:1.3;display:block}
#report-budget .project-summary>summary .project-summary-totals b{display:block;font-size:clamp(10px,1.6vw,16px);white-space:nowrap;overflow-wrap:normal;line-height:1.4;letter-spacing:-.2px;font-variant-numeric:tabular-nums}
#report-budget .project-summary-totals em{font-size:9px;margin-left:2px}
#report-budget .budget-group{margin:0;border:0;border-radius:0;box-shadow:none;background:var(--color-surface)}
.compact-budget-sheet.table-scroll{display:block;width:100%;max-width:100%;padding:0;border:0;border-radius:0;box-shadow:inset 0 2px 3px var(--color-paper);overflow:visible}
.table-scroll .budget-table{width:100%;min-width:0;max-width:100%;table-layout:fixed;border:0;border-top:1px solid var(--color-selection-border);border-collapse:separate;border-spacing:0}
.budget-table .budget-category-col{width:18%}.budget-table .budget-value-col{width:11.5%}.budget-table .budget-balance-col{width:13%}
.table-scroll .budget-table tr>th,.table-scroll .budget-table tr>td{padding:8px 4px;text-align:center!important;vertical-align:middle;border:0;border-right:1px solid var(--color-selection-border);border-bottom:1px solid var(--color-selection-border);box-shadow:inset 0 1px 1px var(--color-surface)}
.table-scroll .budget-table tr>:last-child{border-right:0}
.table-scroll .budget-table thead tr:first-child>th{font-size:13px;line-height:1.35;padding:8px 3px;background:var(--color-primary);border-bottom:3px double var(--color-ink);box-shadow:inset 0 1px var(--color-surface)}
.table-scroll .budget-table thead tr:nth-child(2)>th{font-size:11px;padding:6px 2px;background:var(--color-paper);border-bottom:3px double var(--color-ink);box-shadow:none}
.table-scroll .budget-table tbody th{font-size:12px;white-space:normal;overflow-wrap:anywhere;word-break:keep-all;line-height:1.45;font-weight:700}
.table-scroll .budget-table tbody td,.table-scroll .budget-table tfoot td{font-size:var(--budget-number-size,12px);white-space:nowrap;overflow-wrap:normal;letter-spacing:-.2px;line-height:1.5}
.budget-table .fit-value{display:inline-block;white-space:nowrap;max-width:none;font-size:inherit;font-variant-numeric:tabular-nums}
.table-scroll .budget-table tfoot th,.table-scroll .budget-table tfoot td{border-top:3px double var(--color-ink);border-bottom:0;font-weight:900;background:#FFFFFF}
.budget-report-section.budget-zoomed .compact-budget-sheet{overflow-x:auto}.budget-report-section.budget-zoomed .budget-table{min-width:780px}
.editor-event-count{flex:0 1 160px}.editor-event-count input{max-width:160px}.editor-project-heading{align-items:flex-end}
.form-library-tabs button,.form-tile{background:var(--color-surface);transition:box-shadow .18s,transform .18s;border-color:var(--color-selection-border)}
.form-library-tabs button:hover,.form-library-tabs button:focus-visible,.form-tile:hover,.form-tile:focus-visible{background:var(--color-surface);outline:3px solid var(--color-primary);outline-offset:-2px;box-shadow:none}
/* Gentle feedback only on the active menu, with a continuously turning settings gear. */
.desktop-nav button,.mobile-nav button,.btn,.project-summary>summary{transition:transform .16s,box-shadow .2s,border-color .2s}
.desktop-nav button:active,.mobile-nav button:active,.btn:active,.project-summary>summary:active{transform:scale(.975)}
.desktop-nav button.active:not([data-page="settings"]) svg,.mobile-nav button.active:not([data-page="settings"]) svg{animation:menu-float 2.8s ease-in-out infinite;transform-origin:center}
.desktop-nav button.active[data-page="settings"] svg,.mobile-nav button.active[data-page="settings"] svg{animation:gear-turn 8s linear infinite;transform-origin:center}
.project-summary[open] .project-number{animation:project-breathe 3s ease-in-out infinite}
@keyframes gear-turn{to{transform:rotate(360deg)}}@keyframes menu-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes project-breathe{0%,100%{box-shadow:0 0 0 0 var(--color-paper)}50%{box-shadow:0 0 0 3px var(--color-primary)}}
@media(max-width:680px){
 .hero.compact-hero h1{font-size:clamp(26px,7.3vw,32px);line-height:1.55}.hero-actions{gap:11px;margin-top:8px}.hero-actions .text-btn{font-size:11px;min-height:36px}.compact-hero:not(.context-prompt)>div:first-child{padding-right:0}.compact-hero .hero-art{opacity:.45;pointer-events:none}
 #report-budget{padding:12px 8px}.budget-report-section>.section-head{gap:5px;padding:0 4px 12px}.budget-report-section>.section-head h2{font-size:20px}.budget-report-section>.section-head>div{flex:1 1 auto}
 #report-budget .project-summary>summary{padding:10px 8px;gap:8px}#report-budget .project-summary>summary .project-label>b{font-size:16px}#report-budget .project-summary>summary>.project-summary-totals{gap:5px}#report-budget .project-summary>summary .project-summary-totals>span{padding:6px 3px}#report-budget .project-summary-totals small{font-size:10px}#report-budget .project-summary>summary .project-summary-totals b{font-size:clamp(8px,3vw,13px);letter-spacing:-.4px}#report-budget .project-summary-totals em{font-size:8px;margin-left:1px}
 .table-scroll .budget-table thead tr:first-child>th{font-size:10px;padding:6px 1px}.table-scroll .budget-table thead tr:nth-child(2)>th{font-size:8px;padding:5px 1px}.table-scroll .budget-table tbody th,.table-scroll .budget-table tfoot th{font-size:9px;padding:6px 2px}.table-scroll .budget-table tbody td,.table-scroll .budget-table tfoot td{padding:6px 1px;font-size:var(--budget-number-size,7px);letter-spacing:-.25px}.budget-table .budget-category-col{width:18%}
 #report-settlement th,#report-settlement td,#report-settlement td.amount{font-size:clamp(7px,2vw,10px);padding:8px 2px;letter-spacing:-.3px}.settlement-summary .stat{padding:12px}.settlement-summary .stat-value{font-size:18px}
 .report-section.report-fold#report-recent>summary{padding:13px 12px;gap:7px}#report-recent>summary h2{font-size:21px}#report-recent>summary .text-btn{font-size:11px}.recent-entry{display:grid;grid-template-columns:24px minmax(0,1fr);gap:5px 8px}.recent-entry .entry-icon{width:24px;height:24px;grid-row:1/3}.recent-entry .entry-body{grid-column:2}.recent-entry .entry-right{grid-column:2;text-align:right}.recent-entry .recent-entry-line{font-size:12px}.recent-entry .entry-amount{font-size:13px}
 .editor-event-count{flex:1 1 100%;margin-top:0}.editor-event-count input{max-width:none}.botaem-table td{padding:8px;font-size:11px}
}
@media print{.hero-actions,.budget-zoom-toggle{display:none!important}.compact-budget-sheet.table-scroll{display:block;overflow:visible}#print-area .budget-table{width:100%;min-width:0}.table-scroll table th,.table-scroll table td,#print-area table th,#print-area table td{text-align:center!important}#print-area .budget-negative{color:#C62828!important}.project-summary-totals b{white-space:nowrap!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#report-settlement tbody td,#report-settlement tfoot td{font-size:var(--budget-number-size,13px)}
.report-assist{padding:15px;border:1px solid var(--color-selection-border);border-radius:12px;background:var(--color-surface)}.report-assist-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.report-assist-heading b{font-family:var(--font-title);font-size:20px}.report-assist-status{font-size:11px;color:var(--color-subtitle)}.report-assist>p,.event-refinement-preview>p{font-size:12px;line-height:1.7;color:var(--color-subtitle);margin-top:12px}.report-assist button:disabled{cursor:not-allowed}.event-refinement-preview{border-top:1px solid var(--color-selection-border);margin-top:16px;padding-top:14px}.event-refinement-preview>p{margin:0 0 16px}.event-refinement-preview .form-error{color:#C62828}
.desktop-nav button.active[data-page="settings"] svg,.mobile-nav button.active[data-page="settings"] svg{animation:none}
.desktop-nav button.active[data-page="settings"] svg>path,.mobile-nav button.active[data-page="settings"] svg>path{animation:gear-turn 8s linear infinite;transform-box:view-box;transform-origin:12px 12px}
@media(prefers-reduced-motion:reduce){.desktop-nav button.active[data-page="settings"] svg>path,.mobile-nav button.active[data-page="settings"] svg>path{animation:none}}
.table-scroll .budget-table tr>th,.table-scroll .budget-table tr>td{min-width:0;max-width:none}

/* Shared worksheet appearance overrides the older per-page table themes. */
.table-scroll{padding:0;border:0;border-radius:0;box-shadow:none}
table{border:1px solid #C0C0C0!important;border-collapse:separate!important;border-spacing:0!important;background:#FFFFFF}
table tr>th,table tr>td{border:0!important;border-right:1px solid #C0C0C0!important;border-bottom:1px solid #C0C0C0!important;background:#FFFFFF!important;box-shadow:none!important;text-align:center!important;vertical-align:middle!important}
table tr>:last-child{border-right:0!important}
table tbody tr:last-child>th,table tbody tr:last-child>td{border-bottom:0!important}
table thead th,.botaem-table thead th{background:var(--color-table-heading)!important;color:#352B24!important;border-bottom:3px double #C0C0C0!important;font-size:15px!important;font-weight:900!important;font-synthesis:weight!important;line-height:1.4}
.budget-table thead tr:first-child>th[colspan]{border-bottom:1px solid #C0C0C0!important}
.budget-table thead tr:nth-child(2)>th{background:var(--color-table-heading)!important;font-size:13px!important}
.budget-table thead tr:first-child>th[rowspan]{background:var(--color-table-heading)!important}
.budget-table .funding-grant,.budget-table .funding-own{border-right:2px solid #C0C0C0!important}
.budget-table tbody tr>td:nth-child(4),.budget-table tbody tr>td:nth-child(7),.budget-table tfoot tr>td:nth-child(4),.budget-table tfoot tr>td:nth-child(7),.budget-table thead tr:nth-child(2)>th:nth-child(3),.budget-table thead tr:nth-child(2)>th:nth-child(6){border-right:2px solid #C0C0C0!important}
table tfoot tr>th,table tfoot tr>td{background:#FFFFFF!important;border-top:3px double #C0C0C0!important;border-bottom:0!important;font-weight:900!important}
.record-content{justify-content:center}.records-list .expense-table .entry-title{text-align:center}
.disbursement-table tr:has(input:checked) td{box-shadow:inset 0 2px var(--color-primary),inset 0 -2px var(--color-primary)!important}
@media(max-width:680px){
 table thead th,.botaem-table thead th{font-size:12px!important}
 .budget-table thead tr:nth-child(2)>th{font-size:clamp(8.5px,2.55vw,10px)!important}
 #report-settlement table thead th{font-size:clamp(10px,2.5vw,12px)!important;white-space:normal;word-break:keep-all}
 .record-table-wrap .expense-table td{border:0!important}.records-list .expense-table tr.entry{border:1px solid #C0C0C0}
}
@media print{#print-area table thead th{background:#FFFFFF!important;font-size:12px!important}#print-area .budget-table thead tr:nth-child(2)>th{font-size:11px!important}}
#report-budget .project-summary>summary .project-summary-totals>span{border-color:#C0C0C0;box-shadow:inset 0 1px 2px #F5F2ED}
/* One rotating disclosure arrow for every foldable report. */
.report-fold>summary:after{content:'⌄';background:var(--color-surface);border:1px solid var(--color-selection-border);border-radius:50%;transform:rotate(0deg);transition:transform .25s,border-color .25s}
.report-fold[open]>summary:after{content:'⌄';transform:rotate(180deg);border-color:var(--color-primary)}
@media(prefers-reduced-motion:reduce){.report-fold>summary:after{transition:none}}
.receipt-ai-panel{border:1px solid var(--color-selection-border);border-radius:12px;padding:16px;margin-top:16px;background:var(--color-surface)}.receipt-ai-panel h3{font-size:22px;margin-bottom:10px}.receipt-ai-panel p{font-size:12px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere}.receipt-ai-consent{display:flex;gap:9px;align-items:flex-start;margin:13px 0;font-size:12px;line-height:1.7}.receipt-ai-consent input{width:20px!important;min-width:20px;min-height:20px!important;height:20px;accent-color:var(--color-primary);margin:2px 0}.receipt-ai-result{padding:13px;border:1px solid var(--color-primary);border-radius:9px;margin:13px 0}.receipt-ai-result>small{display:block;font-size:11px;line-height:1.7;margin-top:10px}.receipt-ai-result ul{padding-left:20px;font-size:12px;margin:10px 0;max-height:220px;overflow:auto}.receipt-ai-panel .btn{white-space:normal;width:100%;min-height:44px}.receipt-ai-panel button:disabled{cursor:not-allowed}.receipt-ai-message,.receipt-ai-source{color:var(--color-subtitle)}.receipt-exemption-note{border:1px solid var(--color-selection-border);border-radius:8px;padding:12px;margin-top:13px;font-size:12px}.receipt-exemption-note p{font-size:11px;line-height:1.7;margin:7px 0}.receipt-exemption-note .text-btn{min-height:44px;text-align:left}

.report-fold>summary:after{width:27px;height:27px;font-size:17px;line-height:1}

/* White data cells; totals stand out through type rather than a tinted row. */
.table-scroll table tbody tr:nth-child(n)>th,.table-scroll table tbody tr:nth-child(n)>td,
.budget-mobile table tbody tr:nth-child(n)>th,.budget-mobile table tbody tr:nth-child(n)>td{background:#FFFFFF}
.table-scroll table tfoot tr>th,.table-scroll table tfoot tr>td{font-size:16px;font-weight:900}
.table-scroll .budget-table tfoot tr>th,.table-scroll .budget-table tfoot tr>td{font-size:var(--budget-total-size,14px);font-weight:900}
#report-settlement table tfoot tr>th,#report-settlement table tfoot tr>td{font-size:var(--budget-total-size,15px);font-weight:900}
@media(max-width:680px){.table-scroll .budget-table tfoot tr>th,.table-scroll .budget-table tfoot tr>td{font-size:var(--budget-total-size,9px)}}
@media print{#print-area .budget-table tfoot tr>th,#print-area .budget-table tfoot tr>td{font-size:12px;font-weight:900}}

/* Compact mobile reports keep every column in one worksheet. */
.performance-table,.events-table{width:100%;min-width:0;table-layout:fixed}
.performance-table th,.performance-table td,.events-table th,.events-table td{white-space:normal;overflow-wrap:anywhere;word-break:keep-all;line-height:1.45;padding:9px 6px}
.performance-table tbody th{font-size:14px}.performance-table thead th,#report-settlement thead th{font-weight:900!important;font-synthesis:weight!important}
.performance-table tbody td b{font-size:17px;font-weight:900}
.events-table .event-date-col{width:13%}.events-table .event-project-col{width:20%}.events-table .event-name-col{width:22%}.events-table .event-location-col{width:15%}.events-table .event-status-col{width:8%}.events-table .event-action-col{width:11%}
.event-date time{white-space:nowrap;font-variant-numeric:tabular-nums}.event-date-range{display:block;font-size:.9em}.events-table .event-action-cell{width:auto;padding:4px}
.events-table .event-action-cell .btn{min-width:0;width:100%;padding:4px;white-space:normal;line-height:1.3}
.page-title-line{justify-content:space-between;align-items:center}.page-illustration{width:156px;height:104px;object-fit:contain}
.save-buttons .expense-delete{background:#000000;color:#FFFFFF;border:1px solid #000000;margin-right:auto}
.proof-attached{font-size:10px;white-space:nowrap;color:var(--color-subtitle);margin-left:5px}.check-row input:disabled{opacity:1;cursor:default}
.receipt-crop-controls{display:flex;align-items:center;gap:6px;justify-content:space-between}.receipt-crop-controls .text-btn{min-height:44px;font-size:11px;white-space:nowrap}
.hero.context-prompt{display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,30%);align-items:center;gap:24px;min-height:236px;padding:34px 32px;background:var(--color-surface)}
.hero.context-prompt>.context-prompt-copy{min-width:0;max-width:none;padding:0}
.hero.context-prompt h2{font-size:clamp(21px,2vw,27px);line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.hero.context-prompt p{font-size:14px;line-height:1.8;margin-top:12px;color:var(--color-subtitle);word-break:keep-all;overflow-wrap:anywhere}
.context-prompt-art{display:grid;place-items:center;min-width:0;pointer-events:none}
.context-prompt-art img{display:block;width:100%;max-width:300px;height:auto}
.context-prompt .btn{margin-top:18px}
@media(max-width:680px){
 .hero.context-prompt{grid-template-columns:minmax(0,1fr) 118px;gap:12px;min-height:224px;padding:28px 18px}
 .hero.context-prompt h2{font-size:21px}
 .hero.context-prompt p{font-size:13px;line-height:1.7}
}
@media(max-width:360px){.hero.context-prompt{grid-template-columns:minmax(0,1fr) 96px;gap:10px;padding:26px 16px}.hero.context-prompt h2{font-size:20px}}
@media print{.context-prompt-art{display:none}}
@media(max-width:680px){
 .page-heading{width:100%}.page-title-line{gap:10px;min-height:92px}.page-title-line h1{min-width:0;flex:1;font-size:clamp(26px,7.3vw,32px)}.page-illustration{width:116px;height:88px;flex:0 0 116px}
 #report-performance>summary,#report-events>summary{padding:12px 10px;min-height:58px}.report-section.report-fold#report-performance>summary h2,.report-section.report-fold#report-events>summary h2{font-size:20px}
 #report-events>summary .btn{font-size:11px;min-height:44px;padding:5px 8px}
 .performance-table th,.performance-table td{padding:8px 3px;font-size:12px}.performance-table thead th{font-size:12px!important;word-break:keep-all;line-height:1.5}.performance-table tbody th{font-size:12px}.report-section .performance-table tbody td{font-size:14px}.performance-table tbody td b{font-size:16px}
 .events-table th,.events-table td{padding:6px 2px;font-size:10px;letter-spacing:-.25px;line-height:1.45}.events-table thead th{font-size:11px!important}.events-table .event-date-col{width:16%}.events-table .event-project-col{width:19%}.events-table .event-name-col{width:20%}.events-table .event-location-col{width:13%}.events-table .event-status-col{width:9%}.events-table .event-action-col{width:11.5%}
 .event-year{display:none}.events-table .event-action-cell{padding:2px}.events-table .event-action-cell .btn{font-size:10px;min-height:44px;border-radius:5px;padding:3px 1px}.events-table .pill{font-size:9px;padding:1px 2px;white-space:normal}
 #report-performance .table-scroll,#report-events .table-scroll{overflow:visible}.save-bar{flex-wrap:wrap}.save-bar small{flex:0 0 100%;max-width:none}.save-buttons{width:100%}.save-buttons .btn{padding:9px 13px;min-height:44px}
}
@media(max-width:360px){.page-illustration{width:96px;height:80px;flex-basis:96px}.page-title-line h1{font-size:25px}.events-table th,.events-table td{font-size:9px}.events-table thead th{font-size:10px!important}}
@media print{.event-year{display:inline}.receipt-crop-controls{display:none}}
.bundle-order-note{margin:0;padding:0 20px 14px;font-size:11px;color:var(--color-subtitle);line-height:1.6}
.cloud-start-card{margin:22px 0}.cloud-start-card h2{font-size:23px;margin-bottom:12px}.cloud-start-card p,.cloud-help,.migration-preview p{font-size:13px;line-height:1.8;margin:12px 0;color:var(--color-subtitle)}.cloud-account{font-size:13px;overflow-wrap:anywhere;margin:12px 0}.cloud-start-card .btn{margin-top:10px}.migration-preview b{color:var(--color-ink)}
[hidden]{display:none!important}
.report-assist .attach-actions .btn:hover,.report-assist .attach-actions .btn:focus-visible{border-color:var(--color-primary)!important;outline:1px solid var(--color-primary)!important;outline-offset:-1px;box-shadow:none!important;background:#FFFFFF}

/* Settlement rows share one column grid and the same compact cell size. */
#report-settlement .settlement-table col{width:calc(100% / 6)}
#report-settlement .settlement-table tbody tr>th,#report-settlement .settlement-table tbody tr>td,
#report-settlement .settlement-table tfoot tr>th,#report-settlement .settlement-table tfoot tr>td{height:40px;padding:4px 6px;line-height:1.4}
#report-settlement .settlement-table .settlement-total-input{padding:4px 3px}
#report-settlement .settlement-total-input input{height:28px;min-height:0;padding:2px;line-height:1.4}
@media screen and (max-width:680px){
 #report-settlement .settlement-table tbody tr>th,#report-settlement .settlement-table tbody tr>td,
 #report-settlement .settlement-table tfoot tr>th,#report-settlement .settlement-table tfoot tr>td{padding:3px 2px}
}

/* Whole-row event editing leaves a single, separate PDF action. */
#report-events .event-date-col{width:11%}#report-events .event-project-col{width:20%}#report-events .event-name-col{width:22%}#report-events .event-location-col{width:28%}#report-events .event-status-col{width:8%}#report-events .event-action-col{width:11%}
#report-events .events-table thead th{padding-top:6px;padding-bottom:6px;line-height:1.35}
#report-events .events-table tbody th,#report-events .events-table tbody td{font-family:var(--font-body);font-size:13px;font-weight:400;line-height:1.4;padding:6px 4px}
#report-events .events-table [data-edit-event-row]{cursor:pointer}
#report-events .events-table [data-edit-event-row]:hover,#report-events .events-table [data-edit-event-row]:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}
#report-events .events-table .event-action-cell{padding:3px}
#report-events .events-table .event-action-cell .btn{min-height:30px;padding:3px 5px;font-size:12px;line-height:1.2}
#report-performance.report-fold>summary,#report-events.report-fold>summary{min-height:48px;padding:8px 12px;gap:8px}
#report-events>summary [data-action="new-event"]{min-height:28px;padding:4px 9px;font-size:12px;line-height:1.2}
#report-performance .performance-table th,#report-performance .performance-table td{padding:6px 4px;line-height:1.35}
#report-performance .performance-table tbody th,#report-performance .performance-table tbody td{height:32px;padding-top:5px;padding-bottom:5px;font-size:13px}
#report-performance .performance-table tbody td b{font-size:15px}
@media screen and (max-width:680px){
 #report-events .event-date-col{width:11%}#report-events .event-project-col{width:20%}#report-events .event-name-col{width:20%}#report-events .event-location-col{width:28%}#report-events .event-status-col{width:10%}#report-events .event-action-col{width:11%}
 #report-events .events-table th,#report-events .events-table td{padding:5px 2px;line-height:1.35}
 #report-events .events-table thead th{padding-top:5px;padding-bottom:5px}
 #report-events .events-table tbody th,#report-events .events-table tbody td{font-size:10.5px;font-weight:400;padding:5px 2px}
 #report-events .events-table .pill{font-size:inherit;font-weight:inherit;padding:0;line-height:1.4}
 #report-events .events-table .event-action-cell{padding:2px}
 #report-events .events-table .event-action-cell .btn{min-height:28px;padding:2px 1px;font-size:10px;line-height:1.2}
 #report-performance.report-fold>summary,#report-events.report-fold>summary{min-height:40px;padding:6px 8px;gap:6px}
 #report-performance.report-fold>summary h2,#report-events.report-fold>summary h2{font-size:19px;line-height:1.35}
 #report-events>summary [data-action="new-event"]{min-height:26px;padding:3px 7px;font-size:10.5px}
 #report-performance .performance-table th,#report-performance .performance-table td{padding:5px 3px}
 #report-performance .performance-table tbody th,#report-performance .performance-table tbody td{font-size:12px}
 #report-performance .performance-table tbody td b{font-size:14px}
}
@media print{#report-events .events-table [data-edit-event-row]{outline:0;cursor:default}}

#report-performance .completed-event-count{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:20px;padding:0;color:inherit;font:inherit;line-height:inherit;text-decoration:underline;text-decoration-color:var(--color-selection-border);text-underline-offset:3px}
#report-performance .completed-event-count:hover{text-decoration-color:var(--color-primary)}
#report-performance .completed-event-count:focus-visible{outline:2px solid var(--color-primary);outline-offset:1px;border-radius:3px}

/* One control surface, based on the expense subproject selector. */
:root :is(input:not([type="checkbox"],[type="radio"],[type="file"],[type="hidden"],[type="range"],[type="color"],[type="button"],[type="submit"],[type="reset"]),select,textarea){
 -webkit-appearance:none;appearance:none;min-width:0;max-width:100%;
 border:1px solid var(--color-paper);border-radius:8px;background-color:var(--color-surface);
 box-shadow:inset 2px 2px 0 var(--color-paper),inset -1px -1px 0 var(--color-surface);
 color:var(--color-ink);font-family:var(--font-body);line-height:1.5;transition:border-color .15s ease,box-shadow .15s ease;
}
:root select{
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23352B24' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:38px;
}
:root :is(.field,.inline-field) :is(input:not([type="checkbox"],[type="radio"],[type="file"],[type="hidden"]),select,textarea){
 min-height:46px;padding:11px 12px;font-size:14px;font-weight:400;text-align:left;
}
:root :is(.field,.inline-field) select{padding-right:38px}
:root .field textarea{min-height:82px;resize:vertical}
:root .amount-input input{padding-right:38px}
.amount-input span{top:50%;transform:translateY(-50%)}
:root input[type="date"]{min-width:0}
:root input[type="date"]::-webkit-date-and-time-value{min-height:1.5em;text-align:left}
:root input[type="date"]::-webkit-datetime-edit{padding:0}
:root :is(input:not([type="checkbox"],[type="radio"],[type="file"],[type="hidden"]),select,textarea):focus{
 border-color:var(--color-primary);outline:0;box-shadow:none;
}
:root :is(input:not([type="checkbox"],[type="radio"],[type="file"],[type="hidden"]),select,textarea):disabled{color:var(--color-subtitle);cursor:not-allowed}
@media(max-width:680px){
 :root :is(.field,.inline-field) :is(input:not([type="checkbox"],[type="radio"],[type="file"],[type="hidden"]),select,textarea){min-height:48px;font-size:16px}
 :root .field textarea{min-height:82px}
 :root .filter-panel :is(input,select){font-size:16px}
}

/* Installation, verified Google membership, and server saving. */
.utility-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 9px;border:1px solid var(--color-selection-border);border-radius:8px;background:#FFFFFF;color:var(--color-ink);font-size:11px;white-space:nowrap}
.utility-btn:hover,.utility-btn:focus-visible{border-color:var(--color-primary);outline:1px solid var(--color-primary);outline-offset:-1px}
.account-page{background:var(--color-paper);min-height:100dvh}.account-shell{width:min(100%,520px);margin:0 auto;padding:44px 20px!important}.account-shell .brand{justify-content:center;margin-bottom:18px}.account-shell .brand img{border-radius:12px}.account-intro,.account-footnote{color:var(--color-subtitle);text-align:center;font-size:13px;margin:16px 0 24px}.account-shell h1{font-size:24px;margin:20px 0}.account-shell p{line-height:1.8;overflow-wrap:anywhere}.account-shell .field{margin-top:18px}.account-shell form .btn{width:100%;margin-top:12px}.account-shell .attach-actions{margin-top:20px}.account-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:20px 0}.account-tabs button{flex:1;min-height:44px;padding:7px 10px;border:1px solid var(--color-selection-border);border-radius:9px;background:#FFFFFF;white-space:nowrap}.account-tabs button[aria-pressed="true"]{border:1px solid var(--color-primary);box-shadow:inset 0 0 0 1px var(--color-primary);font-weight:700}.account-steps,.install-steps{padding-left:22px;font-size:13px;line-height:1.9}.account-steps li,.install-steps li{padding:5px 0}.account-symbol{font-size:40px;text-align:center}
.install-identity{display:flex;align-items:center;gap:15px}.install-identity img{border-radius:14px}.install-identity p{font-size:12px;color:var(--color-subtitle);line-height:1.7}.install-steps{margin:15px 0 24px}#install-state,#install-message{font-size:13px;margin:15px 0}#install-address{font-size:13px}.install-settings,.membership-requests,.server-status-card{margin-top:20px}.approved-members{margin-top:15px;padding-top:15px;border-top:1px solid var(--color-selection-border)}.approved-members>summary{cursor:pointer;font-size:13px}.membership-requests .member-row{gap:12px}.draft-resume{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;border-left:3px solid var(--color-primary)}.draft-resume b{font-size:13px}.draft-resume p{font-size:11px;color:var(--color-subtitle);overflow-wrap:anywhere}.draft-save-status{margin:0 0 14px;font-size:12px;color:var(--color-subtitle);line-height:1.7}.draft-save-status[data-state="saved"]{color:var(--color-ink)}.draft-save-status[data-state="error"]{color:#C62828}
@media(max-width:680px){.top-actions{gap:5px}.top-actions .private-badge{display:none}.top-actions .utility-btn{padding:4px 6px;font-size:10px;min-height:32px}.account-shell{padding-top:24px!important}.account-shell .card-pad{padding:22px 18px}.account-shell .field input{font-size:16px}.install-identity{gap:12px}.install-identity img{width:52px;height:52px}.membership-requests .member-row{align-items:flex-start}.draft-resume{padding:12px;gap:10px}}
.btn:is(a[href^="blob:"],[data-action$="-download"],[data-action^="download-"]):is(:hover,:focus-visible){border-color:var(--color-primary)!important;outline:1px solid var(--color-primary)!important;outline-offset:-1px;box-shadow:none!important}

/* Shared action buttons: event registration, save, zoom, budget, files, and account links. */
:root{--action-height:34px;--action-radius:8px;--action-padding:7px 12px;--action-font-size:13px}
:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file){
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:var(--action-height)!important;padding:var(--action-padding)!important;
 border:1px solid var(--color-selection-border)!important;border-radius:var(--action-radius)!important;
 background:#FFFFFF!important;color:var(--color-ink)!important;
 font-family:var(--font-title);font-size:var(--action-font-size)!important;font-weight:400!important;
 line-height:1.25!important;text-align:center;text-decoration:none!important;box-shadow:none!important;
 touch-action:manipulation;transition:border-color .16s,transform .16s,box-shadow .16s;
}
:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file):is(:hover,:focus-visible){
 border-color:var(--color-primary)!important;outline:1px solid var(--color-primary)!important;
 outline-offset:-1px!important;background:#FFFFFF!important;box-shadow:none!important;text-decoration:none!important;
}
:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file):active{transform:scale(.975)}
:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file)[aria-pressed="true"]{border-color:var(--color-primary)!important;box-shadow:inset 0 0 0 1px var(--color-primary)!important}
:root :is(.icon-btn,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file){width:var(--action-height)!important;height:var(--action-height)!important;min-width:var(--action-height)!important;padding:5px!important;flex:0 0 var(--action-height)}
:root :is(.btn,.text-btn,.utility-btn,.back-btn,.hero-link) svg{width:16px;height:16px;flex-shrink:0}
:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file):disabled{cursor:not-allowed;transform:none;opacity:.45}
:root :is(.btn.danger,.expense-delete){background:var(--color-ink)!important;color:#FFFFFF!important}
@media(max-width:680px){
 :root{--action-height:36px;--action-padding:7px 10px;--action-font-size:12px}
 .head-actions,.attach-actions,.hero-actions,.save-buttons,.dialog-actions{gap:8px;flex-wrap:wrap}
 :root #report-events>summary [data-action="new-event"]{white-space:nowrap}
 :root #report-events .events-table .event-action-cell .btn{min-height:30px!important;padding:4px 5px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file){transition:none}:root :is(.btn,.text-btn,.icon-btn,.utility-btn,.back-btn,.hero-link,.botaem-copy,.editor-tab-add,.editor-tab-remove,.remove-file):active{transform:none}}

/* Expense cells are text links; they do not use the shared action-button treatment. */
:root :is(.records-list .record-table-wrap .expense-table,.disbursement-table) .record-edit{
 appearance:none;display:block;width:100%;max-width:100%;min-width:0;min-height:28px;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 padding:0!important;font:inherit!important;line-height:inherit!important;color:inherit!important;
 text-align:center;cursor:pointer;outline:0;
}
:root :is(.records-list .record-table-wrap .expense-table,.disbursement-table) .record-edit:is(:hover,:focus-visible){
 border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;
 text-decoration:none;
}

/* Page actions sit below their content; title illustrations share the top-right position. */
.page-head-corner{position:relative;min-height:146px;padding-right:202px}
.page-head-corner .page-heading{flex:1 1 100%;width:100%}
.page-head-corner .page-title-line{min-height:0;justify-content:flex-start}
.page-head-corner .page-illustration{position:absolute;top:16px;right:20px;width:156px;height:104px}
.page-bottom-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px;padding:18px 0 8px;border-top:1px solid var(--color-selection-border)}
@media(max-width:680px){
 .page-head-corner{min-height:132px;padding-right:142px}
 .page-head-corner .page-illustration{top:14px;right:12px;width:116px;height:88px}
 .page-bottom-actions{justify-content:stretch;gap:8px;margin-top:18px;padding-top:16px}
 .page-bottom-actions .btn{flex:1 1 140px}
}
@media(max-width:360px){.page-head-corner{padding-right:122px}.page-head-corner .page-illustration{width:96px;height:80px}}

/* Raised worksheet edges keep the white cells and silver headings consistent. */
@media screen{
 :root table{box-shadow:inset 0 1px 0 #FFFFFF,inset 0 -1px 0 rgba(53,43,36,.1)}
 :root :is(.table-scroll,.record-table-wrap){box-shadow:0 2px 0 rgba(192,192,192,.5),0 5px 12px rgba(53,43,36,.12)}
 :root :is(.report-section,.permissions-panel):has(table){box-shadow:0 2px 0 rgba(192,192,192,.45),0 6px 14px rgba(53,43,36,.1)}
 :root table thead th{box-shadow:inset 0 1px 0 #FFFFFF,inset 0 -1px 0 rgba(53,43,36,.12)!important}
}
.disbursement-table [data-edit-expense-row]{cursor:pointer}
.disbursement-table [data-edit-expense-row]:is(:hover,:focus-visible){outline:1px solid var(--color-primary);outline-offset:-1px}

/* Consistent report controls and compact budget entry. */
.hero.compact-hero:not(.context-prompt){border-left:5px solid var(--color-primary)}
.page-head:has(.settings-register){padding-bottom:55px}
.page-head:has(.settings-register)>.head-actions{position:absolute;right:20px;bottom:12px}
:root .dialog-head .icon-btn,:root .remove-file,:root .remove-doc{font-family:Arial,sans-serif;font-size:23px!important;font-weight:700!important;line-height:1!important;min-width:34px;min-height:34px}
:root .budget-input-table thead th{padding:6px 4px;line-height:1.2;font-size:13px!important}
:root .budget-input-table tbody th{padding:6px 5px}
:root .budget-input-table tbody td{padding:3px}
:root .budget-input-table input[data-money-input]{min-height:36px;padding:6px 7px;font-size:14px;text-align:right;line-height:1.3}
.save-status{margin:12px 0 0!important;text-align:right;font-size:12px!important;color:var(--color-subtitle)!important}
:root :is(.project-summary,.report-fold)>summary:after{content:'⌄';transform:rotate(180deg);transition:transform .25s,border-color .25s}
:root :is(.project-summary,.report-fold)[open]>summary:after{content:'⌄';transform:rotate(0deg)}
.management-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.management-filters input{flex:1 1 180px}.management-filters select{min-width:100px;min-height:40px}
.management-source{margin:10px 0 16px;font-size:11px;color:var(--color-subtitle)}
.management-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.management-stats>.card{padding:16px 12px}.management-stats span{display:block;font-size:12px;color:var(--color-subtitle)}
.management-stats b{display:block;margin-top:8px;font-size:18px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.management-table{table-layout:fixed;width:100%;min-width:1000px}
.management-table .manage-number{width:4%}.management-table .manage-manager{width:6%}.management-table .manage-stage{width:5%}.management-table .manage-name{width:19%}.management-table .manage-money{width:10%}.management-table .manage-rate{width:9%}.management-table .manage-note{width:28%}
.management-table td,.management-table th{padding:10px 6px;font-size:12px;overflow-wrap:anywhere}
.management-table th small,.management-table td small{display:block;color:var(--color-subtitle);font-size:10px;font-weight:400}
.management-table [data-management-open]{cursor:pointer}.management-table tr[data-management-open]:is(:hover,:focus-visible){outline:1px solid var(--color-primary);outline-offset:-1px}
.management-name{font:inherit;text-align:center;white-space:normal;padding:0;max-width:100%}
.management-name:is(:hover,:focus-visible){text-decoration:none;outline:0}
.management-note{text-align:left!important;font-size:11px!important}.management-rate{display:block;font-variant-numeric:tabular-nums}
.management-track{display:block;height:5px;border-radius:4px;background:var(--color-table-heading);overflow:hidden;margin:4px 0}
.management-track i{display:block;height:100%;background:var(--color-primary);border-radius:4px}
.management-detail h3{margin:22px 0 10px}.management-detail ul{padding-left:20px;font-size:12px;line-height:1.8}
.management-detail dl{margin:0}.management-detail dl>div{display:grid;grid-template-columns:82px minmax(0,1fr);padding:9px 0;border-bottom:1px solid var(--color-selection-border);font-size:12px}
.management-detail dt{color:var(--color-subtitle)}.management-detail dd{margin:0;overflow-wrap:anywhere}
.management-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 20px}
.management-detail-metrics>span{font-size:11px;color:var(--color-subtitle)}.management-detail-metrics b{display:block;color:var(--color-ink);font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .page-head:has(.settings-register)>.head-actions{right:12px}
 :root .budget-input-table input[data-money-input]{font-size:16px}
 :root .budget-input-table thead th{font-size:12px!important}
 .management-filters{gap:6px}.management-filters label{flex:1 1 28%;min-width:0}.management-filters select{width:100%;min-width:0;font-size:12px;padding:8px 25px 8px 8px}.management-filters input{min-width:0}
 .management-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.management-stats>.card:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.management-stats b{font-size:18px;margin-top:4px}
 .management-table{min-width:0;table-layout:fixed}.management-table .manage-extra,.management-table colgroup{display:none}
 .management-table tr>:nth-child(4){width:32%}.management-table tr>:nth-child(5),.management-table tr>:nth-child(6){width:20%}.management-table tr>:nth-child(7),.management-table tr>:nth-child(8){width:14%}
 .management-table td,.management-table th{padding:8px 3px;font-size:10px}.management-table thead th{font-size:10px!important;white-space:normal;line-height:1.4}.management-table td.amount{font-size:9px;white-space:nowrap;letter-spacing:-.5px}
 .management-table tfoot th,.management-table tfoot td{font-size:9px!important;padding:8px 2px;letter-spacing:-.5px;white-space:nowrap}.management-table .management-total-label{width:32%}
 .management-type-table th,.management-type-table td{padding:7px 2px;font-size:9px}.management-type-table thead th{font-size:10px!important;white-space:normal}
}
@media(prefers-reduced-motion:reduce){:root :is(.project-summary,.report-fold)>summary:after{transition:none}}
/* Folded report headings share the same height and vertical spacing. */
:root .report-section.report-fold:is(#report-recent,#report-events,#report-performance)>summary{min-height:58px;padding:10px 12px;gap:10px}
:root .report-section.report-fold:is(#report-recent,#report-events,#report-performance)>summary h2{font-size:22px;line-height:1.2;margin:0}
@media(max-width:680px){:root .report-section.report-fold:is(#report-recent,#report-events,#report-performance)>summary h2{font-size:clamp(16px,4.5vw,20px)}}

:root .report-section.report-fold:is(#report-recent,#report-events,#report-performance)>summary{padding-left:24px;padding-right:24px}
.budget-report-section{padding-left:24px;padding-right:24px}
@media(max-width:680px){:root .report-section.report-fold:is(#report-recent,#report-events,#report-performance)>summary{padding-left:15px;padding-right:15px}.budget-report-section{padding-left:15px;padding-right:15px}}
/* Notes remain editable within a fixed three-line field. */
.management-note-editor{min-width:0;text-align:left}
:root .management-note-editor textarea{display:block;width:100%;min-width:0;min-height:70px;height:70px;padding:6px 8px;font-size:12px;line-height:18px;resize:none;overflow-y:auto;white-space:pre-wrap}
.management-note-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:5px}
.management-note-actions small{flex:1 1 auto;min-width:0;text-align:left;color:var(--color-subtitle);font-size:10px;line-height:1.4;overflow-wrap:anywhere}
:root .management-note-actions .btn{min-height:26px!important;padding:3px 7px!important;font-size:11px!important;flex:0 0 auto}
.management-mobile-note{display:none}
.page-head-management .head-actions{align-self:flex-start}
@media(max-width:680px){.management-mobile-note{display:table-row}.management-mobile-note>td{padding:8px 10px 12px!important}.management-mobile-note .management-note-editor textarea{font-size:16px;line-height:20px;height:76px;min-height:76px}.management-detail .management-note-editor textarea{font-size:16px;line-height:20px;height:76px;min-height:76px}}

/* Management uses the available width as a compact spreadsheet. */
main.management-page{max-width:none;padding:20px 20px 28px}
.page-head-management{padding:14px 18px;margin-bottom:16px;gap:12px}
.page-head-management .page-title-line{min-height:0}
.page-head-management .page-illustration{width:88px;height:58px;flex-basis:88px}
.page-head-management h1{font-size:30px}.page-head-management p{margin-top:5px;font-size:12px}
.page-head-management .head-actions{margin-left:auto;align-self:flex-start}
.management-filters{gap:6px;margin-bottom:6px}
.management-source{margin:5px 0 8px}
.management-stats{gap:6px;margin:8px 0 12px}
.management-stats>.card{padding:8px 10px;border-radius:8px}
.management-stats b{margin-top:2px;font-size:17px}
.management-workspace .report-section{margin-bottom:12px;border-radius:8px}
.management-workspace .section-head{padding:10px 12px;margin-bottom:0;min-height:0}
.management-workspace .section-head h2{font-size:17px}
.management-workspace .section-head>span{font-size:10px}
.management-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.management-grid-scroll{max-height:72vh;isolation:isolate}
.management-table{min-width:1040px}
.management-table .manage-number{width:3%}.management-table .manage-manager{width:5%}.management-table .manage-stage{width:4%}.management-table .manage-name{width:18%}.management-table .manage-money{width:9%}.management-table .manage-rate{width:6%}.management-table .manage-activity{width:16%}.management-table .manage-note{width:24%}
:root .management-workspace :is(.management-table,.management-type-table) :is(th,td){padding:5px 5px;line-height:1.5;vertical-align:middle;border:1px solid var(--color-selection-border)}
:root .management-workspace :is(.management-table,.management-type-table) thead th{padding:8px 4px;font-size:12px!important;background:var(--color-table-heading);font-weight:800}
.management-table thead{position:sticky;top:0;z-index:3}
.management-workspace :is(.management-table,.management-type-table) tbody :is(th,td){background:var(--color-surface)}
.management-activities{display:grid;gap:4px;text-align:left}
.management-activities>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px;font-size:11px}
.management-activities span{overflow-wrap:anywhere;line-height:1.5}
.management-activities b{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
:root .management-type-table{table-layout:fixed;min-width:0;width:100%}
:root .management-type-table :is(th,td){font-size:12px}
:root .management-workspace tfoot :is(th,td){font-weight:800;font-size:13px!important;background:var(--color-surface)}
@media(max-width:680px){
 main.management-page{padding:12px 8px 28px}
 .page-head-management{padding:12px;gap:8px;flex-direction:row;flex-wrap:wrap}
 .page-head-management .page-heading{flex:1 1 auto;width:100%}
 .page-head-management .head-actions{align-self:flex-end;justify-content:flex-end}
 .page-head-management .page-illustration{width:80px;height:56px;flex-basis:80px}
 .management-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .management-stats>.card:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}
 .management-stats>.card{padding:7px 6px}.management-stats span{font-size:10px}.management-stats b{font-size:13px}
 .management-stats>.card:nth-child(4){display:block;grid-column:auto}
 .management-grid-scroll{max-height:none}
 .management-table{min-width:0}
 .management-table tr>:nth-child(4){width:32%}.management-table tr>:nth-child(5),.management-table tr>:nth-child(6){width:20%}.management-table tr>:nth-child(7),.management-table tr>:nth-child(8){width:14%}
 :root .management-workspace .management-table :is(th,td){padding:5px 3px;font-size:10px}
 :root .management-workspace .management-table thead th{font-size:10px!important;line-height:1.35}
 :root .management-type-table :is(th,td){font-size:10px;padding:5px 2px;white-space:nowrap;letter-spacing:-.4px}
 :root .management-workspace .management-type-table thead th{font-size:10px!important;white-space:normal;line-height:1.4}
 :root .management-workspace :is(.management-table,.management-type-table) tfoot :is(th,td){font-size:10px!important}
 .management-mobile-note .management-activities{margin-bottom:7px}
 .management-mobile-note .management-activities>div{grid-template-columns:minmax(0,1fr) auto;font-size:12px;gap:8px}
 .management-mobile-note .management-activities b{font-size:12px}
 .management-workspace .section-head{padding:9px 8px}
 .management-workspace .section-head h2{font-size:15px}
}

/* All menu banners share the overview's vertical frame. */
:root{--menu-banner-height:184px;--menu-banner-padding:27px}
:root .page-menu-banner{height:var(--menu-banner-height);min-height:var(--menu-banner-height);padding-block:var(--menu-banner-padding);margin-bottom:22px}
:root .page-head.page-menu-banner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 224px;column-gap:20px;padding-inline:30px;align-items:center}
:root .page-head.page-menu-banner .page-heading{grid-column:1;grid-row:1;min-width:0;width:100%}
:root .page-head.page-menu-banner .page-title-line{min-height:0;justify-content:flex-start}
:root .page-head.page-menu-banner .page-illustration{position:absolute;right:30px;top:50%;transform:translateY(-50%);width:156px;height:104px}
:root .page-head.page-menu-banner:has(.head-actions) .page-illustration{top:14px;transform:none}
:root .page-head.page-menu-banner .head-actions{position:absolute;right:30px;bottom:14px;margin:0;max-width:224px;justify-content:flex-end;align-self:auto}
@media(max-width:680px){
 :root{--menu-banner-height:165px;--menu-banner-padding:20px}
 :root .page-head.page-menu-banner{grid-template-columns:minmax(0,1fr) 128px;column-gap:12px;padding-inline:20px}
 :root .page-head.page-menu-banner .page-heading{flex:none}
 :root .page-head.page-menu-banner p{margin-top:8px;font-size:14px;line-height:1.5}
 :root .page-head.page-menu-banner .page-illustration{right:20px;width:104px;height:78px}
 :root .page-head.page-menu-banner:has(.head-actions) .page-illustration{top:12px;height:72px}
 :root .page-head.page-menu-banner:has(.head-actions>:nth-child(2)) .page-illustration{height:48px}
 :root .page-head.page-menu-banner .head-actions{right:20px;bottom:12px;width:128px;max-width:128px;flex-direction:column;align-items:stretch;gap:6px}
 :root .page-head.page-menu-banner .head-actions .btn{width:100%;min-width:0;font-size:11px;padding:6px}
}
@media(max-width:360px){:root{--menu-banner-height:184px}:root .page-menu-banner{height:auto}:root .page-head.page-menu-banner h1{font-size:25px}}
.page-title-action{display:inline;padding:0;font:inherit;color:inherit;text-align:inherit;line-height:inherit}
.page-title-action:hover{text-decoration:underline;text-decoration-color:var(--color-primary);text-decoration-thickness:2px;text-underline-offset:5px}
.page-title-action:focus-visible{outline:1px solid var(--color-primary);outline-offset:4px}
:root #evidence-panel .remove-doc{font-size:14px!important;font-weight:400!important}

#google-signin-button{display:flex;justify-content:center;margin:20px 0;min-height:44px}#google-signin-button[hidden]{display:none}.account-shell #google-start-actions{flex-direction:column}.account-shell #google-start-actions .btn{width:100%;min-height:44px}
/* Region-first selection and compact, consistent accounting controls. */
:root .global-filter-grid{grid-template-columns:102px 94px minmax(0,1fr)}
:root .global-filter-grid label{min-width:0;width:auto;grid-column:auto}
:root .global-region-label select{width:100%}
:root .stats .stat,:root .settlement-summary .stat{padding:11px 12px;min-height:0}
:root .stats .stat-label,:root .settlement-summary .stat-label{font-size:12px;margin:0 0 4px;line-height:1.3}
:root .stats .stat-value,:root .settlement-summary .stat-value{font-size:23px;line-height:1.2;margin:0;white-space:nowrap}
:root .stats .stat-value small,:root .settlement-summary .stat-value small{font-size:11px;margin-left:3px}
:root .settings-intro{align-items:center;gap:10px}.settings-intro .settings-register{position:static;margin-left:auto;min-height:36px}
.notification-switch-row{display:flex;align-items:center;gap:10px;margin:6px 0 12px}
:root button.notification-switch{display:inline-flex;align-items:center;flex:none;width:58px;min-width:58px;height:32px;min-height:32px;padding:3px;border:1px solid #C0C0C0;border-radius:20px;background:#EEEEEE;cursor:pointer;transition:background .2s,border-color .2s}
.notification-switch .switch-thumb{display:block;width:24px;height:24px;background:#FFFFFF;border:1px solid #C0C0C0;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}
:root button.notification-switch[aria-checked="true"]{background:var(--color-primary);border-color:var(--color-primary)}
.notification-switch[aria-checked="true"] .switch-thumb{transform:translateX(25px);border-color:#6BAA35}
.notification-switch[aria-checked="true"]+#notification-switch-label{color:#39851B;font-weight:800}
.notification-switch:disabled{opacity:.55;cursor:default}
:root .budget-editor-tabs .editor-tab-remove>span{width:20px;height:20px;font-size:15px;border-color:#C0C0C0}
:root .editor-tab-add{flex-basis:48px;width:48px;height:48px;min-height:48px;font-size:32px;margin-top:6px}
:root .page-head.page-head-management h1{font-size:clamp(30px,3vw,38px);line-height:1.3}
:root .page-head.page-head-management p{font-size:14px;line-height:1.7}
.management-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.management-heading h2{margin:0}
.management-heading select{width:116px;min-height:34px;padding:5px 24px 5px 9px;font-size:12px}
:root .management-grid-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%;touch-action:pan-x pan-y}
:root .management-grid-scroll .management-table{width:100%;min-width:1360px;table-layout:fixed}
:root .management-table colgroup{display:table-column-group}
:root .management-table .manage-extra{display:table-cell}
:root .management-table .manage-number{width:3%}:root .management-table .manage-manager{width:5%}:root .management-table .manage-stage{width:4%}:root .management-table .manage-name{width:14%}:root .management-table .manage-money{width:7%}:root .management-table .manage-rate{width:4%}:root .management-table .manage-activity{width:14%}:root .management-table .manage-note{width:38%}
:root .management-table tr>:nth-child(n){width:auto;padding:5px 6px;font-size:12px;line-height:1.3;white-space:nowrap;overflow-wrap:normal;word-break:normal}
:root .management-table thead th{font-size:12px!important;padding:8px 5px;white-space:nowrap}
:root .management-table .management-name{font-size:inherit;white-space:nowrap;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
:root .management-table .management-activities{display:grid;grid-auto-rows:14px;gap:0;max-height:70px;overflow:hidden;white-space:nowrap;max-width:100%;padding:0;font-size:10px;line-height:14px}
:root .management-table .management-activities>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;align-items:center;white-space:nowrap;font-size:10px;line-height:14px;min-height:0}
:root .management-table .management-activities span{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;line-height:14px}
:root .management-table .management-activities b{font-size:10px;line-height:14px}
:root .management-table .management-activities small{display:none}
:root .management-table .management-note-editor textarea{height:48px;min-height:48px;line-height:15px;font-size:12px;padding:2px 5px;resize:vertical}
:root .management-table .management-note-actions{margin:2px 0 0;gap:5px;min-height:22px}
:root .management-table .management-note-actions button{min-height:22px;padding:1px 7px;font-size:10px}
@media(max-width:680px){
 :root{--pinned-header-height:112px}
 :root .topbar{min-height:0;padding:8px 12px;gap:8px;justify-content:flex-start}
 :root .global-filter-grid{grid-template-columns:100px 100px minmax(0,1fr);gap:6px}
 :root .global-filter-grid select{padding:8px 24px 8px 8px;background-position:right 6px center;background-size:14px;font-size:16px}
 :root .stats .stat,:root .settlement-summary .stat{padding:9px 8px}
 :root .stats .stat-label,:root .settlement-summary .stat-label{font-size:10px}
 :root .stats .stat-value,:root .settlement-summary .stat-value{font-size:18px}
 :root .page-head.page-head-management h1{font-size:30px}
 :root .page-head.page-head-management p{font-size:12px}
 .management-communities>.section-head{gap:9px;padding:12px}.management-heading{gap:7px}.management-heading h2{font-size:20px}.management-heading select{width:102px}
 :root .management-table td.amount{font-size:12px;letter-spacing:0}
}
@media(prefers-reduced-motion:reduce){.notification-switch,.switch-thumb{transition:none!important}}
.brand-icon svg{width:30px;height:30px}.mobile-brand-symbol{display:inline-grid;place-items:center;vertical-align:middle;margin-right:5px}.mobile-brand-symbol svg{width:22px;height:22px}
:root .page-head.page-head-management p{font-size:15px;line-height:1.7;margin-top:14px}
@media(max-width:680px){:root .page-head.page-head-management h1{font-size:clamp(26px,7.3vw,32px)}:root .page-head.page-head-management p{font-size:14px;line-height:1.5;margin-top:8px}}

@media(min-width:681px) and (max-width:850px){:root .page-head.page-head-management h1{font-size:32px}}
@media(max-width:360px){:root .page-head.page-head-management h1{font-size:25px}}
/* Match Botam rows to the compact expense ledger. */
:root :is(.botaem-table,.disbursement-table,.settlement-check-table) :is(th,td){padding:7px 6px;line-height:1.5;vertical-align:middle;white-space:nowrap;overflow-wrap:normal;word-break:normal}
:root :is(.botaem-table,.disbursement-table,.settlement-check-table) tbody tr{height:42px}
:root :is(.botaem-table,.disbursement-table,.settlement-check-table) tbody td{font-size:13px}
:root .botaem-table .wrap-cell{white-space:nowrap;overflow-wrap:normal;max-width:none}
:root .botaem-table td.botaem-payment{padding-right:40px;min-width:154px}
:root .botaem-table .botaem-payment-label{min-height:28px;line-height:1.5;white-space:nowrap;overflow-wrap:normal}
:root .botaem-table .botaem-copy{top:7px;right:4px;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:4px!important}
@media(max-width:680px){
 :root :is(.botaem-table,.disbursement-table,.settlement-check-table) :is(th,td){padding:6px 3px}
 :root :is(.botaem-table,.disbursement-table,.settlement-check-table) tbody tr{height:40px}
 :root :is(.botaem-table,.disbursement-table,.settlement-check-table) tbody td{font-size:12px}
 :root :is(.botaem-table,.disbursement-table,.settlement-check-table) thead th{font-size:11px!important;line-height:1.4}
 :root .botaem-table .botaem-copy{top:6px}
}
@media(max-width:360px){:root :is(.botaem-table,.disbursement-table,.settlement-check-table) tbody td{font-size:11px}:root :is(.botaem-table,.disbursement-table,.settlement-check-table) thead th{font-size:10px!important}}

:root .disbursement-table input{margin:0;vertical-align:middle}
:root .settlement-check-table .wrap-cell{white-space:nowrap;max-width:none;overflow-wrap:normal}
:root .settlement-check-table .text-btn{min-height:28px!important;height:28px;padding:0 6px!important;font-size:13px!important}
@media(max-width:680px){:root .settlement-check-table .text-btn{font-size:12px!important}}
@media(max-width:360px){:root .settlement-check-table .text-btn{font-size:11px!important}}
/* A shared, compact layout for accounting and village conversations. */
:root .management-table .manage-activity{width:11%}:root .management-table .manage-note{width:41%}
:root .disbursement-tools{padding:0 16px 8px;gap:8px}:root .disbursement-tools label{min-height:32px;margin-left:auto}:root .disbursement-tools .btn{margin-left:0}:root .bundle-order-note{margin:0;padding:0 16px 8px;font-size:11px;line-height:1.4}
:root .report-section:has(#disbursement-form){padding-bottom:0;margin-bottom:12px}:root #disbursement-form{margin:0}:root #disbursement-form>.section-head{padding-bottom:8px}:root #disbursement-form :is(.table-scroll,table){margin-bottom:0}
:root .expense-table .record-col-number{width:5%}:root .expense-table .record-col-date{width:10%}:root .expense-table .record-col-project{width:20%}:root .expense-table .record-col-category{width:15%}:root .expense-table .record-col-description{width:29%}:root .expense-table .record-col-amount{width:14%}:root .expense-table .record-col-order{width:7%}
:root .expense-table .record-order{white-space:nowrap;padding:0 2px!important}:root .order-step{display:inline-flex;justify-content:center;align-items:center;width:24px;height:30px;border:1px solid #C0C0C0;border-radius:5px;background:#fff;color:#222;padding:0;cursor:pointer}:root .order-step:disabled{opacity:.25;cursor:default}:root .order-step:not(:disabled):is(:hover,:focus-visible){border-color:var(--color-primary);outline:1px solid var(--color-primary)}
:root .expense-table .record-edit{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:root .record-amount{display:inline-flex;flex-wrap:nowrap;align-items:baseline;gap:2px;white-space:nowrap}
:root .save-bar{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;padding:10px 0}:root .save-bar small{flex:1 1 auto;min-width:0;max-width:none;font-size:11px;line-height:1.4}:root .save-buttons{display:flex;flex:0 0 auto;width:auto;gap:6px}:root .save-buttons .btn{min-height:38px;padding:7px 12px;white-space:nowrap}:root .save-buttons .btn svg{display:none}
:root .budget-input-table input[readonly]{background:#f1f1f1;color:#444;cursor:default}
.account-heading{display:flex;align-items:center;gap:16px}.account-heading .account-symbol{font-size:32px;line-height:1;margin:0;color:#75ae43}.account-heading .eyebrow{margin:0}.account-heading h1{margin:4px 0;font-size:30px}.account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #C0C0C0}.account-actions-spacer{flex:1}.account-actions .btn{font-size:12px;padding:8px 10px;min-height:38px}:root .account-withdraw{background:#111!important;color:#fff!important;border-color:#111!important}.account-identity{padding:14px 0;border-bottom:1px solid #eee}.application-summary{display:grid;grid-template-columns:70px 1fr;gap:10px;font-size:14px}.application-summary dd{margin:0}.withdraw-confirm{margin-top:20px;padding-top:20px;border-top:1px solid #C0C0C0}.signature-fields{padding-top:8px}.signature-fields h3{font-size:17px}.signature-fields input[type=file]{font-size:12px;max-width:100%}
.public-welcome{padding:38px 30px;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr);grid-template-areas:"copy art" "actions actions";align-items:center;gap:28px 24px;background:white;border:1px solid #C0C0C0;border-left:5px solid var(--color-primary);border-radius:16px}.public-welcome-copy{grid-area:copy;min-width:0}.public-welcome h1{font-size:clamp(30px,4vw,46px);line-height:1.4;margin:12px 0}.public-welcome p{color:#777;line-height:1.8}.public-welcome>img{grid-area:art;justify-self:center;width:100%;height:auto;max-width:360px}.welcome-actions{grid-area:actions;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;--action-height:68px;--action-padding:18px 24px;--action-font-size:19px;--action-radius:12px}.welcome-actions>.btn{width:100%;min-width:0;white-space:normal;line-height:1.4}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.contact-link{font-size:12px;color:#777;text-decoration:none}.contact-link:hover{color:#3d7028}.sidebar-bottom:has(b:empty){display:none}
.board-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 18px}.board-intro p{font-size:14px;color:#777}.board-posts{display:grid;gap:14px}.board-post{padding:22px}.board-post-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#777;font-size:12px}.board-post-meta>span{font-weight:bold;color:#426731}.board-post h3{font-size:22px;margin:14px 0}.board-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:10px 0}.board-empty{padding:36px;text-align:center;color:#777}.community-board>.btn{margin-top:16px}.mobile-nav{overflow-x:auto;justify-content:flex-start}.mobile-nav button{flex:1 0 54px}
@media(max-width:680px){
 :root .save-bar small{font-size:9px;line-height:1.4}:root .save-buttons .btn{padding:7px 10px;font-size:12px;min-height:38px}:root .save-buttons{gap:4px}
 :root .expense-table .record-col-number{width:23px}:root .expense-table .record-col-date{width:42px}:root .expense-table .record-col-order{width:37px}:root .expense-table .record-col-project{width:20%}:root .expense-table .record-col-category{width:15%}:root .expense-table .record-col-description{width:24%}:root .expense-table .record-col-amount{width:auto}
 :root .expense-table :is(th,td){padding:5px 2px!important;font-size:10px!important}:root .expense-table .record-edit{font-size:10px;line-height:1.4}:root .expense-table .record-amount{font-size:10px;gap:0}:root .record-amount small{font-size:8px}:root .order-step{width:16px;height:30px;font-size:12px;border-radius:3px}
 :root #report-performance>summary{gap:6px}:root #report-performance>summary .btn{font-size:11px;padding:5px 7px;min-height:30px}
 .public-welcome{padding:28px 20px;grid-template-columns:minmax(0,1fr) 96px;gap:24px 10px;align-items:center}.public-welcome h1{font-size:27px}.public-welcome>img{width:100%;max-width:140px;align-self:center}.public-welcome .attach-actions{flex-direction:column;align-items:flex-start;gap:7px}.public-welcome .btn{font-size:12px;min-height:36px;padding:6px 10px}.account-actions{gap:6px}.account-actions-spacer{display:none}.account-actions .btn:first-child{margin-right:auto}.board-post{padding:16px}.board-post-meta{font-size:11px}.board-post h3{font-size:19px}.contact-link{font-size:10px}
}
.install-access{display:grid;grid-template-columns:minmax(0,1fr) 164px;align-items:center;gap:22px;margin:20px 0;padding:18px;border:1px solid #C0C0C0;border-radius:12px;background:#fff}.install-apk-download{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.install-apk-download h3{font-size:17px;margin:0}.install-apk-download small{font-size:11px;color:#777;line-height:1.6}.install-apk-download .btn{display:inline-flex;align-items:center;text-decoration:none;white-space:normal;max-width:100%;--action-height:48px;--action-padding:10px 12px}.install-home-qr{margin:0;text-align:center}.install-home-qr a{display:inline-block;border-radius:6px}.install-home-qr img{display:block;width:164px;height:164px;max-width:100%;background:#fff}.install-home-qr figcaption{font-size:11px;color:#777;margin-top:4px}.install-device-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 12px}.install-device-tabs button{font-size:16px;min-height:46px}.install-guide-content .install-steps{margin:10px 0 14px}.install-address-field{margin:20px 0 0}.install-address-row{display:flex;align-items:center;gap:8px;min-width:0}.install-address-row input{flex:1;min-width:0}.install-address-row .btn{flex-shrink:0}.install-guide-content #install-state{font-size:11px;color:#777;margin:12px 0}.install-guide-content #install-message:empty{display:none}
@media(max-width:480px){#community-composer .field-row{display:grid;grid-template-columns:1fr;gap:0}.install-apk-download .btn{width:100%;justify-content:center}}
/* Familiar freeboard: a compact list, a separate reader, and threaded conversation. */
.freeboard .board-heading{align-items:center;margin-bottom:14px}.freeboard .board-heading h2{font-size:22px;font-weight:800}.board-heading p{color:#777;font-size:12px;margin-top:5px}.board-heading .btn{flex-shrink:0}.freeboard-list{padding:0}.board-list-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px}.board-total{font-size:12px;color:#777}.board-total b{color:#222}.board-table-wrap{width:100%;overflow:hidden}:root .freeboard-table{table-layout:fixed;width:100%;min-width:0;margin:0;border-collapse:collapse}:root .freeboard-table :is(th,td){padding:12px 9px!important;text-align:center!important;font-size:12px!important;line-height:1.5;vertical-align:middle;border:1px solid #ddd;white-space:normal;background:#fff!important}:root .freeboard-table thead th{background:#f1f1f1!important;font-weight:800!important;border-bottom:2px double #C0C0C0}:root .freeboard-table tbody tr:hover td{background:#fff!important}:root .freeboard-table td.board-subject{text-align:center!important}.board-number-col{width:52px}.board-title-col{width:auto}.board-region-col{width:76px}.board-author-col{width:160px}.board-date-col{width:100px}.board-views-col{width:50px}.board-title-link{color:#222;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.board-title-link:is(:hover,:focus-visible){color:var(--color-primary);text-decoration:underline;text-underline-offset:4px}.board-comment-count{font-size:12px;font-weight:bold;color:var(--color-primary);white-space:nowrap}.board-author{overflow-wrap:anywhere}.board-mobile-author,.board-date-short{display:none}.freeboard .board-empty{padding:46px 16px!important;line-height:1.7;color:#777}.board-inline-error{padding:0 16px}.board-list-bottom{display:flex;justify-content:center;align-items:center;padding:16px}.board-pagination{display:flex;justify-content:center;align-items:center;gap:5px}.board-pagination button{display:inline-flex;justify-content:center;align-items:center;min-width:34px;min-height:34px;border:1px solid #C0C0C0;border-radius:6px;background:#fff;color:#222;font:inherit;font-size:12px;padding:4px 9px;cursor:pointer}.board-pagination button[aria-current=page]{border-color:var(--color-primary);color:#222;font-weight:800;box-shadow:inset 0 0 0 1px var(--color-primary)}.board-pagination button:is(:hover,:focus-visible):not(:disabled){border-color:var(--color-primary);outline:1px solid var(--color-primary)}.board-pagination button:disabled{opacity:.35;cursor:default}.board-pagination>span{font-size:12px;min-width:50px;text-align:center}.board-search{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #ddd;padding:16px;background:#fff}.board-search select,.board-search input{min-height:40px;border:1px solid #C0C0C0;border-radius:7px;background:#fff;color:#222;font:inherit;font-size:12px;padding:8px 10px;min-width:0}.board-search select{width:112px;flex-shrink:0}.board-search input{width:260px;max-width:45%}.board-search :is(input,select):focus{border-color:var(--color-primary);outline:1px solid var(--color-primary)}.board-search .btn{min-height:40px;flex-shrink:0}.board-detail-header{padding:23px 24px 18px;border-bottom:1px solid #C0C0C0}.board-detail-number{font-size:10px;color:#777;letter-spacing:1px}.board-detail h3{font-size:25px;line-height:1.5;overflow-wrap:anywhere;margin:7px 0 16px}.board-detail-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0}.board-detail-meta>div{display:flex;align-items:baseline;gap:7px}.board-detail-meta dt{font-size:11px;color:#777}.board-detail-meta dd{font-size:12px;margin:0}.board-detail-content{padding:26px 24px;min-height:200px;margin:0;line-height:1.9}.board-detail-actions{display:flex;align-items:center;gap:7px;padding:15px 24px;border-top:1px solid #ddd}.board-detail-actions>span{flex:1}.board-comments{margin-top:16px;padding:20px 24px}.board-comments>h3{font-size:17px;margin:0 0 14px}.board-comments>h3 b{color:var(--color-primary);font-size:15px}.board-comment{padding:14px 0;border-top:1px solid #ddd}.board-comment>header{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.board-comment>header b{font-size:12px}.board-comment-region{font-size:10px;color:#777;border:1px solid #C0C0C0;border-radius:4px;padding:1px 5px}.board-comment time{font-size:10px;color:#777;margin-left:auto}.board-comment .text-btn{font-size:11px;min-height:26px;padding:0 3px}.board-comment .board-content{margin:7px 0 0;font-size:13px}.board-no-comments,.board-login-note{font-size:12px;color:#777;padding:12px 0}.board-login-note a{color:#222;text-decoration:underline}.board-comment-form{border-top:1px solid #C0C0C0;margin-top:16px;padding-top:18px}.board-comment-form .field{margin-bottom:10px}.board-comment-form .field-row{max-width:480px}.board-comment-form .field>label{font-size:11px}.board-comment-form .field :is(input,select){min-height:38px;padding:7px 10px;font-size:12px}.board-comment-form .field textarea,.board-comment-editor textarea{font-size:14px;line-height:1.6}.board-comment-submit{display:flex;align-items:center;justify-content:flex-end;gap:7px}.board-comment-submit>span{margin-right:auto;color:#777;font-size:10px}.board-comment-editor form{margin-top:12px}.board-comment-editor label{font-size:11px}.board-comment-form .save-status{margin:8px 0 0;font-size:12px}
@media(max-width:1050px){.board-author-col{width:125px}.board-region-col{width:66px}.board-date-col{width:86px}.board-number-col{width:43px}}
@media(max-width:680px){
 .freeboard .board-heading h2{font-size:20px}.board-heading p{font-size:11px;max-width:215px}.board-list-tools{padding:11px 12px}.board-search{padding:12px;gap:5px;flex-wrap:wrap;justify-content:flex-start}.board-search select{width:96px}.board-search input{flex:1;max-width:none;width:100px}.board-search .btn{padding:7px 10px;font-size:12px}.board-search :is(input,select){font-size:14px}.board-search .text-btn{margin-left:auto;font-size:11px}
 :root .freeboard-table :is(th,td){padding:10px 5px!important;font-size:10px!important}:root .freeboard-table .board-desktop{display:none}.freeboard-table .board-region-col,.freeboard-table .board-author-col{display:none}.board-number-col{width:30px}.board-date-col{width:47px}.board-views-col{width:34px}.board-title-link{font-size:13px;font-weight:600}.board-comment-count{font-size:11px}.board-mobile-author{display:flex;flex-wrap:wrap;gap:3px 8px;margin-top:4px;color:#777;font-size:10px;line-height:1.5}.board-mobile-author>span:first-child{flex-shrink:0}.board-date-full{display:none}.board-date-short{display:inline}.board-list-bottom{padding:13px 10px}.board-detail-header{padding:18px 16px 14px}.board-detail h3{font-size:21px;margin-bottom:14px}.board-detail-meta{gap:7px 16px}.board-detail-meta dt{font-size:10px}.board-detail-meta dd{font-size:11px}.board-detail-content{padding:22px 16px;min-height:180px;font-size:14px}.board-detail-actions{padding:12px 16px}.board-comments{padding:18px 16px}.board-comment>header{gap:5px 7px}.board-comment>header b{font-size:11px}.board-comment time{font-size:9px}.board-writer-fields{grid-template-columns:1fr 1fr;gap:9px}.board-comment-form .field :is(input,select){font-size:14px;min-height:40px}.board-comment-form .field textarea,.board-comment-editor textarea{font-size:16px}.board-comment .text-btn{font-size:10px}
}

@media(max-width:560px){.welcome-actions{grid-template-columns:1fr;gap:12px;--action-height:62px;--action-padding:17px 18px;--action-font-size:18px}.public-welcome p{font-size:12px}}

:root .expense-table td .record-amount small{display:inline;margin:0;white-space:nowrap;line-height:inherit}
@media(max-width:480px){.install-access{grid-template-columns:minmax(0,1fr) 123px;gap:12px;padding:12px}.install-home-qr img{width:123px;height:123px}.install-home-qr figcaption{font-size:10px}.install-apk-download{gap:9px}.install-apk-download h3{font-size:15px}.install-apk-download .btn{--action-font-size:12px;--action-padding:9px 7px}.install-apk-download small{font-size:10px}.install-address-row{flex-wrap:wrap}.install-address-row input{flex-basis:100%}.install-address-row .btn{margin-left:auto}}

@media(max-width:680px){:root .expense-table .record-col-amount{width:66px}:root .expense-table .record-col-description{width:auto}}
.board-photo-section{margin:0 0 22px;padding:16px;border:1px solid #C0C0C0;border-radius:10px}.board-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.board-photo-heading h3{font-size:15px}.board-photo-heading>span,.board-photo-section>small{font-size:11px;color:#777}.board-photo-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.board-photo-preview:empty{display:none}.board-photo-preview figure{position:relative;min-width:0;margin:0;border:1px solid #C0C0C0;border-radius:8px;overflow:hidden}.board-photo-preview img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#fff}.board-photo-preview .icon-btn{position:absolute;top:5px;right:5px;--action-height:26px;--action-font-size:17px}.board-photo-preview figcaption{font-size:10px;padding:5px 7px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.board-photo-section [role=status]{font-size:11px;color:#777;margin-top:8px}.board-inline-photos{display:grid;gap:16px;margin-top:22px;white-space:normal}.board-inline-photos figure{margin:0;text-align:center}.board-inline-photos a{display:inline-block;max-width:100%}.board-inline-photos img{display:block;width:auto;max-width:100%;height:auto;margin:auto;border-radius:8px}.board-video-field{margin-top:18px}.board-photo-badge{display:inline-block;vertical-align:middle;font-size:9px;font-weight:400;color:#777;border:1px solid #C0C0C0;border-radius:4px;padding:0 4px;white-space:nowrap}.board-video{margin-top:22px;white-space:normal}.board-video-player{aspect-ratio:16/9;width:100%;background:#f1f1f1;border:1px solid #C0C0C0;border-radius:10px;overflow:hidden}.board-video-player>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;background:#fff;color:#222}.board-video-player button>span{font-size:30px;color:var(--color-primary)}.board-video-player button b{font-size:16px}.board-video-player button small{font-size:11px;color:#777}.board-video-player iframe{display:block;width:100%;height:100%;border:0}.board-video>a{display:inline-block;font-size:12px;margin-top:8px;text-decoration:underline}
@media(max-width:680px){.board-photo-section{padding:12px}.board-photo-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.board-inline-photos{gap:12px}.board-video-player button b{font-size:14px}.board-video-player button small{font-size:10px}}

.board-list-leading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.board-detail-header h3{text-align:center}.board-mobile-author{justify-content:center}
.freeboard .board-heading h2>.board-total{font-family:var(--font-body);font-size:11px;font-weight:400;margin-left:10px;vertical-align:middle}.freeboard .board-list-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.board-list-tools>.board-search{display:flex;justify-self:center;width:min(100%,490px);min-width:0;margin:0;padding:0;border:0;background:transparent;flex-wrap:nowrap;gap:6px}.board-list-tools .board-search input{flex:1;width:0;max-width:none;min-width:0}.board-list-tools .board-search select{width:110px}.board-list-tools .board-search .text-btn{font-size:11px;padding:4px}.board-list-tools>[data-board-refresh]{white-space:nowrap}.board-list-leading{flex-wrap:nowrap}
@media(max-width:680px){.freeboard .board-list-tools{gap:6px;padding:10px 8px}.board-list-tools .board-search{gap:4px}.board-list-tools .board-search select{width:78px;padding:6px 3px;font-size:11px}.board-list-tools .board-search input{font-size:12px;padding:6px 4px}.board-list-tools .board-search>.btn{--action-font-size:11px;--action-padding:6px;--action-height:36px}.board-list-actions>.btn,.board-list-tools>[data-board-refresh]{--action-font-size:11px;--action-padding:6px;--action-height:36px}.board-list-tools .board-search>.text-btn{font-size:10px;min-width:0;--action-padding:4px}}
/* Matching compact white ledger tables. */
:root :is(.expense-table,.botaem-table,.disbursement-table,.settlement-check-table){border:1px solid var(--color-primary)!important;border-collapse:collapse!important;background:#fff!important}
:root :is(.expense-table,.botaem-table,.disbursement-table,.settlement-check-table) :is(th,td){border:1px solid var(--color-primary)!important;background:#fff!important;box-shadow:none!important}
:root #disbursement-form>.section-head{padding:12px 16px 6px!important;margin:0!important;min-height:0!important}:root #disbursement-form .disbursement-tools{padding:0 16px 5px;gap:6px}:root #disbursement-form .bundle-order-note{padding:0 16px 6px;margin:0}:root #disbursement-form .disbursement-tools label{min-height:28px}

.contact-link{display:block;line-height:1.65}
#expense-split-fields[hidden]{display:none}#expense-amount[readonly]{background:#fff;color:var(--color-ink)}
/* Shared ledger headers and whole-row mouse, touch and keyboard feedback. */
:root :is(.expense-table,.botaem-table,.disbursement-table,.settlement-check-table) thead th{background:var(--color-table-heading)!important;color:var(--color-ink)!important}
:root :is(.expense-table [data-expense-row],.botaem-table [data-edit-expense-row],.disbursement-table [data-edit-expense-row],.settlement-check-table [data-edit-expense-row],.management-table tr[data-management-open],:is(.settlement-table,.budget-table,.performance-table) :is(tbody,tfoot)>tr):is(:hover,:focus-visible,:focus-within){outline:none!important}
:root :is(.expense-table [data-expense-row],.botaem-table [data-edit-expense-row],.disbursement-table [data-edit-expense-row],.settlement-check-table [data-edit-expense-row],.management-table tr[data-management-open],:is(.settlement-table,.budget-table,.performance-table) :is(tbody,tfoot)>tr):is(:hover,:focus-visible,:focus-within)>:is(th,td){background:#EDF7E5!important;box-shadow:inset 0 1px var(--color-primary),inset 0 -1px var(--color-primary)!important}
:root :is(.expense-table [data-expense-row],.botaem-table [data-edit-expense-row],.disbursement-table [data-edit-expense-row],.settlement-check-table [data-edit-expense-row],.management-table tr[data-management-open],:is(.settlement-table,.budget-table,.performance-table) :is(tbody,tfoot)>tr):is(:hover,:focus-visible,:focus-within)>:is(th,td):first-child{box-shadow:inset 1px 0 var(--color-primary),inset 0 1px var(--color-primary),inset 0 -1px var(--color-primary)!important}
:root :is(.expense-table [data-expense-row],.botaem-table [data-edit-expense-row],.disbursement-table [data-edit-expense-row],.settlement-check-table [data-edit-expense-row],.management-table tr[data-management-open],:is(.settlement-table,.budget-table,.performance-table) :is(tbody,tfoot)>tr):is(:hover,:focus-visible,:focus-within)>:is(th,td):last-child{box-shadow:inset -1px 0 var(--color-primary),inset 0 1px var(--color-primary),inset 0 -1px var(--color-primary)!important}
:root #report-recent .recent-entry:is(:hover,:focus-visible,:focus-within){background:#EDF7E5!important;box-shadow:inset 0 0 0 1px var(--color-primary)!important;outline:none!important}
.botaem-intro{display:flex;align-items:center;gap:16px;margin:0 0 18px;padding:20px 24px;background:#FFFFFF;border:1px solid #D8E4CF;border-left:4px solid var(--color-primary);border-radius:12px;box-shadow:0 3px 12px #00000008}
.botaem-intro>div{min-width:0}.botaem-intro h2{font-size:21px;font-weight:800;line-height:1.4;margin:0 0 6px;color:var(--color-ink)}.botaem-intro p{font-size:15px;line-height:1.7;margin:0;color:#444;word-break:keep-all;overflow-wrap:anywhere}
.botaem-intro-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;background:#fff;border:1px solid var(--color-primary);border-radius:12px;color:#528233}.botaem-intro-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.botaem-intro{padding:16px;gap:12px;margin-bottom:14px}.botaem-intro h2{font-size:18px}.botaem-intro p{font-size:14px;line-height:1.65}.botaem-intro-icon{flex-basis:38px;height:38px;border-radius:10px}.botaem-intro-icon svg{width:22px;height:22px}}
.member-profile{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px 14px;margin:0 0 18px;padding:14px;border:1px solid #C0C0C0;border-radius:10px}.member-profile dt{font-size:12px;color:#777}.member-profile dd{margin:0;overflow-wrap:anywhere;font-size:13px}.membership-role-help{line-height:1.8}.member-profile-compact{gap:4px 10px;margin:7px 0 0;padding:0;border:0;grid-template-columns:56px minmax(0,1fr)}.member-profile-compact :is(dt,dd){font-size:11px}.member-row>div{min-width:0;flex:1}.member-profile-compact dd{word-break:break-word}

.save-bar>.save-buttons{margin-left:auto}

.attachment-document{display:block;font-size:12px;font-weight:700;color:var(--color-ink);padding:7px 0;overflow-wrap:anywhere}

.receipt-report-panel{padding:12px!important;margin-top:12px!important}.receipt-report-panel h3{margin:0 0 5px}.receipt-report-panel p{margin:0 0 9px;line-height:1.5}

.management-detail>.management-detail-context{font-size:17px;font-weight:600;line-height:1.65;margin:0 0 16px;color:var(--color-ink)}@media(max-width:680px){.management-detail>.management-detail-context{font-size:16px}}

.board-list-actions{display:flex;align-items:center;justify-content:flex-end;justify-self:end}.board-list-actions>.btn{white-space:nowrap}

/* One village mark for the web header, browser and installed app. */
.brand-icon{height:38px;flex:0 0 38px}.brand-icon img{display:block;width:38px;height:38px;border-radius:11px}.mobile-brand-symbol img{display:block;width:30px;height:30px;border-radius:8px}

.settlement-check-table [data-edit-expense-row]{cursor:pointer}:root .settlement-check-table [data-edit-expense-row]:is(:hover,:focus-visible)>td{background:#EDF7E5!important}

.management-communities>.section-head>#management-region{width:116px;min-height:34px;margin-left:auto;padding:5px 24px 5px 9px;font-size:12px;flex-shrink:0}.management-table-footer{display:flex;justify-content:flex-end;padding:12px 16px;border-top:1px solid #C0C0C0;background:#fff}.management-table-footer>.btn{white-space:nowrap}@media(max-width:680px){.management-communities>.section-head>#management-region{width:106px}.management-table-footer{padding:10px 12px}}

.hero-smart{white-space:nowrap}.hero-smart>span{position:relative}.hero-smart>span::before{content:"";position:absolute;left:50%;top:-.24em;width:.2em;height:.2em;border-radius:50%;background:var(--color-primary);transform:translateX(-50%);pointer-events:none}

/* A calm, playful welcome built around the two existing entry points. */
:root .public-welcome.welcome-modern{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,1fr);grid-template-areas:"copy art" "actions art";gap:25px 32px;align-items:center;padding:42px;min-height:450px;background:#fff;border:1px solid #DDDFDA;border-left:5px solid var(--color-primary);border-radius:24px;box-shadow:0 12px 36px #22222208}
.welcome-modern .public-welcome-copy{align-self:end}.welcome-modern .eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:2px;color:#777;margin:0}.welcome-modern .eyebrow img{display:block;border-radius:7px}
:root .welcome-modern h1{font-size:clamp(32px,3.15vw,47px);font-weight:900;line-height:1.4;letter-spacing:-.045em;word-break:keep-all;margin:19px 0 17px;color:#222}.welcome-modern h1>span{box-shadow:inset 0 -.23em 0 #9CD86A66}
:root .welcome-modern p{font-size:16px;line-height:1.85;color:#777;margin:0;word-break:keep-all}
.welcome-scene{grid-area:art;display:grid;place-items:center;align-self:stretch;min-width:0;min-height:350px;border:1px solid #E2E8DC;border-radius:25px 25px 60px 25px;background:#F3F6EF;overflow:hidden}.welcome-scene img{display:block;width:114%;max-width:none;height:auto;max-height:390px;object-fit:contain}
:root .welcome-modern .welcome-actions{grid-area:actions;grid-template-columns:repeat(2,minmax(0,1fr));align-self:start;gap:10px;--action-height:62px;--action-padding:16px 14px;--action-font-size:16px;--action-radius:12px}
:root .welcome-modern .welcome-actions>.btn{display:flex;justify-content:center;align-items:center;gap:10px;font-size:16px!important;font-weight:800;line-height:1.45;min-height:62px;padding:16px 14px!important;border-radius:12px!important;box-shadow:0 4px 10px #22222205}
:root .welcome-modern .welcome-actions>.welcome-primary{background:var(--color-primary)!important;border-color:var(--color-primary)!important;color:#222!important}.welcome-button-arrow{font-size:22px;line-height:1;transition:transform .18s}.welcome-primary:hover .welcome-button-arrow{transform:translateX(3px)}
@media(max-width:1180px) and (min-width:681px){:root .public-welcome.welcome-modern{padding:30px;grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);grid-template-areas:"copy art" "actions actions";gap:23px;min-height:0}:root .welcome-modern h1{font-size:34px}.welcome-scene{min-height:290px}.welcome-scene img{width:120%}}
@media(max-width:680px){:root .public-welcome.welcome-modern{padding:25px 22px;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "art" "actions";gap:20px;min-height:0;border-radius:20px}:root .welcome-modern h1{font-size:32px;line-height:1.4;margin:15px 0 13px}:root .welcome-modern p{font-size:15px;line-height:1.8}.welcome-modern .eyebrow{font-size:11px;letter-spacing:1.8px}.welcome-scene{min-height:0;height:185px;border-radius:20px 20px 44px 20px}.welcome-scene img{width:100%;height:220px;max-height:none}:root .welcome-modern .welcome-actions{grid-template-columns:1fr;gap:10px}:root .welcome-modern .welcome-actions>.btn{font-size:17px!important;min-height:58px;padding:14px!important}}
@media(max-width:360px){:root .welcome-modern h1{font-size:28px}:root .public-welcome.welcome-modern{padding:22px 18px}.welcome-scene{height:165px}}
@media(prefers-reduced-motion:reduce){.welcome-button-arrow{transition:none}.welcome-primary:hover .welcome-button-arrow{transform:none}}

.install-guide-content #install-state:empty{display:none}:root .topbar:has(#global-context[hidden]){height:auto;min-height:76px;gap:0;padding-top:12px;padding-bottom:12px}

:root #global-context[hidden]{display:none!important}

:root .topbar:has(#global-context[hidden]) .private-badge{display:none!important}@media(max-width:850px){:root .topbar:has(#global-context[hidden]) .topbar-tools{width:100%;justify-content:space-between;gap:8px}:root .topbar:has(#global-context[hidden]) .top-actions{gap:6px}}

/* Match the overview headline to other menu headings at every breakpoint. */
@media(min-width:681px) and (max-width:850px){.hero.compact-hero h1{font-size:32px}}
@media(max-width:360px){.hero.compact-hero h1{font-size:25px}}

/* Editable ledger text uses the shared row highlight instead of underlining. */
:root :is(.expense-table,.botaem-table,.disbursement-table,.settlement-check-table,.management-table) :is(.record-edit,.record-number,.management-name){text-decoration:none!important;background:transparent!important}

/* Quiet visit count above the existing save status. */
.visit-counter{font-family:var(--font-body);font-size:11px;color:#767676;line-height:1.5;margin-bottom:12px;white-space:nowrap}
.visit-counter [data-visit-total]{font-size:inherit;letter-spacing:0;font-variant-numeric:tabular-nums;color:var(--color-ink);margin-left:4px}
.mobile-visit-counter{display:none}
@media(max-width:850px){.page-footer .mobile-visit-counter{display:block;margin:0 0 5px;font-size:11px}.page-footer .visit-counter [data-visit-total]{display:inline;font-size:inherit;letter-spacing:0;margin:0 0 0 4px}.footer-storage{min-width:0}}

.hero.compact-hero .hero-subtitle{max-width:none;margin:14px 0 0;padding:0;border:0;background:none;color:#C0C0C0;font-family:var(--font-title);font-size:15px;font-weight:400;line-height:1.7;letter-spacing:0}
@media(max-width:680px){.hero.compact-hero .hero-subtitle{font-size:14px;margin-top:12px}}

/* The welcome screen grows with its content rather than using menu-banner height. */
:root .public-welcome.welcome-modern{height:auto}
:root .welcome-modern .public-welcome-copy,:root .welcome-modern .public-welcome-copy p{background:#fff!important}
:root .welcome-modern .public-welcome-copy p{border:0;border-radius:0;box-shadow:none;padding:0}
@media(max-width:680px){
 :root .public-welcome.welcome-modern{min-height:0;padding:22px 18px 20px;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "art" "actions";gap:16px;border-radius:20px;border-left-width:4px;overflow:hidden}
 .welcome-modern .public-welcome-copy{align-self:auto}
 :root .welcome-modern .eyebrow{font-size:10px;letter-spacing:1.5px;gap:8px;margin:0}
 :root .welcome-modern .eyebrow img{width:24px;height:24px}
 :root .welcome-modern h1{font-size:clamp(26px,7.4vw,32px);line-height:1.38;letter-spacing:-.035em;margin:12px 0 10px}
 :root .welcome-modern p{font-size:15px;line-height:1.7;max-width:none;margin:0}
 :root .welcome-modern .welcome-scene{width:100%;height:clamp(176px,48vw,210px);min-height:0;padding:0;border:0;border-radius:16px;background:#fff}
 :root .welcome-modern .welcome-scene img{width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain}
 :root .welcome-modern .welcome-actions{grid-template-columns:minmax(0,1fr);gap:10px;align-self:stretch;padding-top:4px}
 :root .welcome-modern .welcome-actions>.btn{min-height:54px;padding:13px 16px!important;font-size:16px!important;border-radius:12px!important;white-space:normal}
 :root .welcome-modern .welcome-actions>.secondary{background:#fff!important;color:#222!important;border-color:#C0C0C0!important}
}
/* Center the compact counter in a quiet silver frame. */
:root .visit-counter{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid #C0C0C0;border-radius:9px;background:#fff;text-align:center;line-height:1.5}
@media(max-width:850px){
 :root .page-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}
 :root .page-footer .footer-storage{display:contents}
 :root .page-footer .mobile-visit-counter{grid-column:1/-1;justify-self:center;width:100%;max-width:260px;margin:0 0 8px}
 :root .page-footer .ledger-save-label{grid-column:1;margin:0}
 :root .page-footer .contact-link{grid-column:2}
}

/* Keep the navigation available as a compact icon rail. */
.sidebar-toggle{position:absolute;right:-16px;top:40px;z-index:1;display:grid;place-items:center;width:32px;height:36px;padding:0;background:#FFFFFF;border:1px solid #C0C0C0;border-radius:9px;color:#555;box-shadow:0 3px 9px #22222209}
.sidebar-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.sidebar-toggle:is(:hover,:focus-visible){border-color:var(--color-primary);outline:1px solid var(--color-primary);outline-offset:-1px}
@media(min-width:851px){
 .sidebar{z-index:45}
 .sidebar,.app-shell{transition:width .2s ease,margin-left .2s ease}
 html[data-sidebar-collapsed="true"] .sidebar{width:80px;padding-left:13px;padding-right:13px}
 html[data-sidebar-collapsed="true"] .app-shell{margin-left:80px}
 html[data-sidebar-collapsed="true"] .sidebar-toggle svg{transform:rotate(180deg)}
 html[data-sidebar-collapsed="true"] .sidebar .brand{justify-content:center;gap:0}
 html[data-sidebar-collapsed="true"] .sidebar .brand>span:last-child{display:none}
 html[data-sidebar-collapsed="true"] .desktop-nav button{justify-content:center;gap:0;padding:12px 8px;position:relative}
 html[data-sidebar-collapsed="true"] .desktop-nav button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 html[data-sidebar-collapsed="true"] .sidebar-bottom{display:none}
 html[data-sidebar-collapsed="true"] #toast{left:calc(50% + 40px)}
}
@media(prefers-reduced-motion:reduce){.sidebar,.app-shell,.sidebar-toggle svg{transition:none}}

/* Original-preserving document scan controls. */
.scan-file-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:5px}.scan-file-actions .text-btn{font-size:12px;min-height:36px}
dialog.document-scan-dialog{width:min(94vw,740px)}.document-scan-dialog .dialog-content{padding-top:15px}
.scan-instruction{font-size:15px;font-weight:700;line-height:1.6;margin:0 0 4px}.scan-filename{font-size:11px;color:#777;overflow-wrap:anywhere;margin:0 0 16px}
.scan-stage-wrap{padding:19px;border:1px solid #D8DED2;background:#FAFBF9;border-radius:10px;max-width:560px;margin:auto}.scan-stage{position:relative;max-height:none;margin:auto}.scan-stage>canvas{display:block;width:100%;height:auto}.scan-stage>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.scan-stage polygon{stroke:#74AA47;stroke-width:2;fill:#9CD86A22}
.scan-handle{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border:2px solid #74AA47;border-radius:50%;background:#FFFFFF;color:#395526;font-size:12px;font-weight:800;touch-action:none;cursor:move;z-index:1;padding:0;box-shadow:0 2px 7px #0002}.scan-handle:focus-visible{outline:2px solid #74AA47;outline-offset:3px}
.scan-error{color:#444;font-size:12px;line-height:1.7;margin:12px 0}.scan-error:empty{display:none}.scan-preview{margin-top:16px;border:1px solid #D8DED2;border-radius:9px;padding:10px 13px}.scan-preview summary{font-size:13px;cursor:pointer}.scan-preview-image{display:flex;justify-content:center;padding-top:12px}.scan-preview-image canvas{max-width:100%;height:auto;max-height:52dvh;object-fit:contain;background:#FFFFFF}
.scan-actions{display:flex;gap:8px;align-items:center;margin-top:20px}.scan-actions>span{flex:1}.scan-actions .btn{white-space:nowrap}
@media(max-width:480px){dialog.document-scan-dialog{width:calc(100vw - 20px)}.document-scan-dialog .dialog-content{padding:14px}.document-scan-dialog .dialog-head h2{font-size:21px}.scan-stage-wrap{padding:17px}.scan-actions{gap:6px}.scan-actions .btn{font-size:12px;padding:8px 10px}.scan-handle{width:34px;height:34px}}
