.auth-page{height:100dvh;overflow:auto;background:var(--bg);padding:40px}.auth-page>.wordmark{max-width:480px;margin:0 auto 25px;padding:0}.auth-card{max-width:480px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:14px;padding:35px}.auth-card h1{font-size:30px;line-height:1.2;font-weight:500;letter-spacing:-1px}.auth-card>p{font-size:14px;color:var(--muted);line-height:1.8}.auth-card .primary{margin:20px 0}.auth-card .text-button{font-size:12px}.auth-card input{min-height:44px}.connection-state{display:flex;align-items:center;gap:6px;font-size:11px;color:#94794e}.connection-state .icon{width:15px;height:15px}.connection-state.connected{color:var(--green)}#period{background:none;border:0;color:var(--muted);font-size:13px;width:150px}.live-intro{display:flex;gap:10px;margin-bottom:25px}.live-intro p{font-size:15px;margin:0;line-height:1.8}.live-advisor{padding:14px 17px;background:#f0f4ec;border-radius:8px;font-size:14px;margin-bottom:20px;white-space:pre-wrap}.live-advisor .text-button{display:block;margin-top:9px}.live-categories{padding:0 28px 20px}.live-category{display:grid;grid-template-columns:1fr auto 130px;gap:20px;align-items:center;padding:15px 0;border-top:1px solid var(--line);font-size:14px}.live-category strong{font-weight:500;font-variant-numeric:tabular-nums}.live-category>.small-note{text-align:right}.error-banner{color:#9d4a35;background:#fbf1ec;border:1px solid #f0d9cd;padding:14px;border-radius:9px;margin-bottom:18px;font-size:13px}.error-text{color:#ad563e;font-size:13px;line-height:1.8}.receipt-list{padding:20px 28px;display:grid;gap:7px;max-height:250px;overflow:auto;scrollbar-width:thin;border-bottom:1px solid var(--line)}.receipt-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:#f7f9f3;border:1px solid transparent;border-radius:8px;padding:12px;text-align:left;font-size:13px}.receipt-list-item.selected{border-color:#b3c9a4;background:#f0f6e9}.receipt-list-item small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.receipt-editor{padding:25px 28px}.draft-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.source-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:20px}.source-strip .icon{width:16px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.live-item{display:grid;grid-template-columns:1.3fr .7fr 1fr .8fr 28px;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:10px 0}.live-item .form-label{font-size:10px;margin:6px 0}.live-item input,.live-item select{border:1px solid var(--line);border-radius:6px;background:white;width:100%;padding:9px;font-size:12px;min-height:39px}.live-item>.icon-button{width:28px;margin-top:20px}.item-evidence{font-size:10px;color:var(--muted);grid-column:1/-1}.allocation-total{display:flex;justify-content:space-between;padding:18px 0;font-size:12px}.source-details{padding:15px 0;color:var(--muted);font-size:12px}.source-details p{margin:8px 0}.duplicate-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;color:var(--muted);margin:15px 0}.duplicate-check input{margin-top:4px;accent-color:var(--green)}.working-target{font-size:10px;color:var(--muted);padding:0 3px 6px}.history-data{font-size:11px;white-space:pre-wrap;word-break:break-word;max-height:60dvh;overflow:auto}.modal textarea{width:100%;min-height:120px;border:1px solid var(--line);padding:14px;font:inherit;font-size:14px;border-radius:8px;margin:15px 0}.mobile-logout{display:none}button[data-action="back"]{margin-left:auto}.modal .crop-stage{margin-top:20px}.modal input[type=file]{width:100%;font-size:13px}.source-details summary{cursor:pointer}.modal .budget-edit-row{font-size:13px}.auth-page .wordmark .brand-dot{margin-left:-7px}@media(max-width:760px){.auth-page{padding:25px 18px}.auth-card{padding:25px}.auth-card h1{font-size:27px}.connection-state{font-size:10px}.mobile-logout{display:flex!important}#period{width:127px;font-size:12px}.top-left{gap:8px}.top-right{gap:4px}.live-intro p{font-size:15px}.live-category{grid-template-columns:1fr auto;gap:5px;padding:15px 0}.live-category>.small-note{grid-column:1/-1;text-align:left}.live-categories{padding:0 20px 20px}.receipt-list{padding:18px 20px;max-height:210px}.receipt-editor{padding:20px}.field-grid{grid-template-columns:1fr;gap:0}.field-grid .form-label{margin:9px 0}.live-item{grid-template-columns:1fr 1fr 28px;gap:8px}.live-item>.form-label:first-child{grid-column:1/3}.live-item>.form-label:nth-child(2){grid-column:1}.live-item>.form-label:nth-child(3){grid-column:2}.live-item>.form-label:nth-child(4){grid-column:1/3}.live-item>.icon-button{grid-column:3;grid-row:1;margin-top:15px}.live-item input,.live-item select{font-size:16px;min-height:44px}.live-item .form-label{font-size:12px}.duplicate-check{font-size:12px}.exhibit-footer>div{display:flex;flex-wrap:wrap;gap:8px}.exhibit-footer .button+.button{margin-left:0}.source-details{font-size:13px}.modal .budget-edit-row{font-size:13px}}
.budget-proposal{background:#f3f7ee;border:1px solid #ccdcbf;border-radius:12px;padding:23px 28px;margin:0 0 22px}.budget-proposal h2{font-size:22px;letter-spacing:-.5px;font-weight:550;margin:14px 0 7px}.budget-proposal>p{font-size:13px;color:#6f8063;line-height:1.7}.budget-proposal ul{list-style:none;padding:0;margin:18px 0}.budget-proposal li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #dfe7d7;font-size:13px}.budget-proposal li strong{font-weight:500}.budget-proposal li>span{color:#6f8063;white-space:nowrap}.proposal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.proposal-actions .button+.button{margin-left:0}@media(max-width:760px){.budget-proposal{padding:20px}.budget-proposal li{align-items:flex-start;flex-direction:column;gap:5px}.budget-proposal h2{font-size:22px}.proposal-actions .button{min-height:44px}}
.worksheet-exhibit{cursor:pointer}.worksheet-exhibit:focus-visible{outline:2px solid var(--green);outline-offset:4px}.worksheet-exhibit .exhibit-controls{flex-wrap:wrap;justify-content:flex-end;gap:8px}.worksheet-open{white-space:nowrap}.live-category{border:0;border-top:1px solid var(--line);background:none;width:100%;text-align:left}.live-category:hover{background:#f5f8f0}.worksheet-modal{width:980px;max-height:92dvh}.worksheet-modal .modal-body{padding-top:15px;scrollbar-width:thin}.worksheet-context{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:14px}.worksheet-tabs{display:flex;gap:20px;position:sticky;top:-24px;background:white;z-index:2;border-bottom:1px solid var(--line);margin-bottom:18px;padding-top:7px}.worksheet-tab{border:0;border-bottom:2px solid transparent;background:none;padding:11px 0;font-size:14px;color:var(--muted)}.worksheet-tab.active{color:var(--green-dark);border-color:var(--green)}.worksheet-intro{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 20px}.worksheet-grid{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(130px,1fr) 110px 110px;gap:20px;align-items:center}.worksheet-labels{font-size:11px;color:var(--muted);padding:8px 0 12px}.worksheet-labels>span:nth-last-child(-n+2){text-align:right}.worksheet-row{padding:12px 0;border-top:1px solid var(--line);font-size:14px}.worksheet-money{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 11px;gap:6px;background:white;font-size:13px;color:var(--muted)}.worksheet-money input{width:100%;min-width:0;border:0;padding:10px 0;font-size:14px;text-align:right;background:none;color:var(--ink)}.worksheet-money:focus-within{outline:2px solid var(--green)}.worksheet-money input:focus-visible{outline:0}.worksheet-actual,.worksheet-remaining{font-variant-numeric:tabular-nums;text-align:right;font-size:13px}.worksheet-remaining{color:var(--muted)}.worksheet-new-categories{padding:20px 0}.worksheet-new-row{display:grid;grid-template-columns:1.5fr 1fr 36px;gap:17px;align-items:center;border-top:1px solid var(--line);padding:10px 0}.worksheet-new-row .form-label{margin:5px 0 14px;font-size:12px}.worksheet-new-row .icon-button{margin-top:10px}.worksheet-savebar{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;bottom:-24px;background:white;border-top:1px solid var(--line);padding:17px 0 5px;margin-top:12px}.worksheet-savebar>div:first-child{display:grid;gap:4px}.worksheet-savebar strong{font-size:22px;letter-spacing:-.5px;font-weight:500}.worksheet-source-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;background:none;border:0;border-top:1px solid var(--line);padding:16px 0;text-align:left;font-size:13px}.worksheet-source-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.worksheet-source-row strong{font-weight:500;white-space:nowrap}.worksheet-source-row:hover{background:#f5f8f0}.worksheet-modal .table-wrap{padding:0}.worksheet-modal .error-banner .text-button{font-size:12px}
@media(max-width:760px){.worksheet-open{font-size:11px!important;min-height:36px}.worksheet-open>.icon{width:15px}.exhibit-header{flex-wrap:wrap}.exhibit-header .exhibit-controls{margin-left:auto}.worksheet-modal{max-height:94dvh}.worksheet-context{font-size:12px;gap:4px}.worksheet-tabs{top:-20px;gap:20px}.worksheet-tab{font-size:13px;min-height:44px}.worksheet-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 13px}.worksheet-labels{display:none}.worksheet-row{padding:15px 0;font-size:14px}.worksheet-money input{font-size:16px;min-height:44px}.worksheet-actual,.worksheet-remaining{font-size:12px}.worksheet-actual{text-align:left}.worksheet-actual:before{content:'Actual ';color:var(--muted)}.worksheet-remaining:before{content:'Remaining ';color:var(--muted)}.worksheet-new-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:5px 10px}.worksheet-new-row .form-label:first-child{grid-column:1/3;grid-row:1}.worksheet-new-row .form-label:nth-child(2){grid-column:1/3;grid-row:2}.worksheet-new-row>.icon-button{grid-column:3;grid-row:1;width:28px}.worksheet-new-row input{font-size:16px}.worksheet-savebar{flex-wrap:wrap;bottom:-20px;padding:15px 0 4px}.worksheet-savebar>div:nth-child(2){display:flex;gap:8px}.worksheet-savebar .button+.button{margin-left:0}.worksheet-savebar .button{min-height:44px;font-size:13px}.worksheet-source-row{font-size:13px}.worksheet-intro{font-size:13px}}
.worksheet-fields{border:0;padding:0;margin:0;min-width:0}.worksheet-row>span:first-child{overflow-wrap:anywhere}.worksheet-fields:disabled{opacity:.75}
.worksheet-tabs .worksheet-add{margin-left:auto;align-self:center;white-space:nowrap;padding:9px 0}.worksheet-tabs .worksheet-add .icon{width:18px;height:18px}@media(max-width:760px){.worksheet-tabs{gap:15px}.worksheet-tabs .worksheet-add{width:32px;min-height:44px;justify-content:center}.worksheet-tabs .worksheet-add>span{display:none}}
