:root{--ink:#253a35;--muted:#75837e;--teal:#205d50;--teal-dark:#143f36;--line:#e2e7df;--paper:#f5f6f1;--amber:#9a6c23;--red:#af5d50;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled,fieldset:disabled{opacity:.55;cursor:not-allowed}h1,h2,h3,h4,p{margin-top:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.14;letter-spacing:-1px;font-weight:500;margin-bottom:12px}h2{font-size:21px;letter-spacing:-.4px;margin-bottom:8px;font-weight:600}h3{font-size:15px;margin-bottom:8px}small,.small{font-size:12px}p{margin-bottom:14px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--muted);margin-bottom:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 20px 18px;z-index:10}.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;color:var(--teal);font-size:48px;font-weight:bold;line-height:1;padding:0 12px;margin-bottom:51px}.brand:hover{text-decoration:none}.brand>span{font-family:inherit;font-size:23px;font-weight:500}.brand small{display:block;letter-spacing:1.8px;font:8px -apple-system,sans-serif;color:var(--muted);margin-top:8px}nav a{display:flex;align-items:center;gap:12px;color:#62726c;padding:12px 14px;margin:4px 0;border-radius:8px;font-size:13px;font-weight:500}nav a:hover{background:#f5f7f1;text-decoration:none}nav a.active{background:#e9f1e9;color:var(--teal);font-weight:650}nav a span{font-size:19px;width:22px;text-align:center}.nav-label{font-size:9px;color:#93a098;letter-spacing:1.8px;padding:30px 14px 9px}.sidebar-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;border-top:1px solid var(--line);padding-top:20px;font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px}.sidebar-bottom form{margin-left:auto}.avatar{width:33px;height:33px;background:#ebeee4;color:#516346;border-radius:50%;display:grid;place-items:center}.icon-button{border:0;background:none;color:var(--muted);font-size:22px;padding:4px 8px}.workspace{margin-left:238px}.environment{height:45px;display:flex;align-items:center;padding:0 38px;background:#ecefe5;color:#68735d;font-size:9px;letter-spacing:1.4px;border-bottom:1px solid #e0e5d8;gap:9px}.environment .dot{width:6px;height:6px;background:#77895d;border-radius:50%}.environment-detail{letter-spacing:0;color:#88917f;font-size:10px;margin-left:9px}.milestone{margin-left:auto;font-size:10px;letter-spacing:.5px}main{max-width:1510px;margin:auto;padding:39px 38px 50px;min-height:calc(100vh - 103px)}footer{display:flex;justify-content:space-between;max-width:1510px;margin:auto;color:#929d93;font-size:10px;border-top:1px solid var(--line);padding:18px 38px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-header p:last-child{margin-bottom:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.45;min-height:40px}.button:hover{text-decoration:none;filter:brightness(.97)}.button.primary{background:var(--teal);color:#fff;box-shadow:0 2px 4px #1d594713}.button.secondary{background:#fff;border-color:#d9e0d5;color:var(--ink)}.button.ghost{background:transparent;color:var(--muted)}.button.danger{background:#f9e9e5;color:#9e493d}.button.compact{padding:8px 12px;min-height:35px}.full{width:100%}.text-link{font-size:12px;font-weight:600;color:var(--teal);border:0;background:transparent;padding:0}.month-switch{display:flex;align-items:center;gap:12px}.month-switch label{font-size:11px;color:var(--muted);margin:0}.month-switch input{width:160px;margin:0}.overview{background:#e8eee1;border:1px solid #dce5d4;border-radius:var(--radius);padding:28px 32px;margin-bottom:31px;display:grid;grid-template-columns:1fr 250px;gap:50px;position:relative;overflow:hidden}.overview-main h2{font-family:Georgia,serif;font-size:28px;font-weight:500;letter-spacing:-.5px;margin-top:15px}.overview-main p{color:#7d8a75;font-size:12px}.overview-main>small{display:flex;justify-content:space-between;color:#7a876e;font-size:9px;letter-spacing:1.1px}.overview-actions{display:flex;flex-direction:column;justify-content:center;gap:11px}.overview-actions .text-link{text-align:center;margin-top:5px;font-size:11px}.progress-track{height:5px;background:#d6dfcd;border-radius:9px;overflow:hidden;margin:19px 0 10px}.progress-track>div{background:#5a7852;height:100%;border-radius:9px}.pill{display:inline-block;white-space:nowrap;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:500;letter-spacing:.1px}.pill.subtle{background:#edf1e9;color:#6a7b5b}.overview .pill{background:#dbe5d1;color:#5f7650}.pill.amber{background:#faf2df;color:#9b782b}.pill.good{background:#e6f0e8;color:#3e7861}.pill.warning{background:#f9e9e5;color:#ac6453}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:24px;min-width:0}.panel.soft{background:#f0f3e9}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2{font-size:18px}.section-heading p{margin-bottom:0}.tabs{display:flex;gap:27px;border-bottom:1px solid var(--line);margin:0 -26px;padding:0 26px}.tabs a{padding:12px 0;font-size:12px;color:#879087;position:relative}.tabs a.selected{color:var(--teal);font-weight:600;border-bottom:2px solid var(--teal)}.tabs a b{background:#e8eee1;padding:2px 6px;border-radius:4px;font-size:10px;margin-left:6px}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:19px 0}.filters input{flex:1;min-width:140px;width:auto}.filters select{width:auto;min-width:100px;max-width:230px}.filters input,.filters select{margin:0;font-size:12px;min-height:36px}.filters input[name=amount]{max-width:130px}.filter-more{width:100%;margin:0;font-size:11px}.filter-more>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px}.filter-more summary{padding:0;color:var(--muted)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{color:#8a958d;font-size:9px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;background:#fafbf8;padding:12px 13px;white-space:nowrap}td{padding:16px 13px;border-bottom:1px solid #edf0e9;vertical-align:middle}tr:last-child td{border-bottom:0}td small{display:block;color:#98a197;margin-top:5px;font-size:10px}tbody tr:hover{background:#fafcf7}.row-link{color:var(--ink);font-weight:550}.number{text-align:right;font-variant-numeric:tabular-nums}.positive{color:#2d8163}.negative{color:#a35748}.nowrap{white-space:nowrap}.circle-link{border:1px solid #e5e9df;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}.empty{padding:48px 20px;text-align:center;width:100%;color:var(--muted)}.empty h3,.empty h2{color:var(--ink)}.empty-icon{width:61px;height:65px;border-radius:14px;background:#f0f3e9;color:#81936f;font-size:30px;display:grid;place-items:center;margin:0 auto 19px}.empty p{font-size:13px;line-height:1.8}.empty .button{margin-top:8px}.gentle-note{display:flex;gap:12px;color:#899680;font-size:11px;padding:0 8px}.gentle-note p{margin:0}.gentle-note>span{font-size:18px}.notice{background:#edf2e8;border:1px solid #dbe6d3;padding:14px 18px;border-radius:9px;font-size:12px;margin:0 0 20px;color:#567147}.notice.warning,.notice.error{background:#fff1e7;border-color:#ecd9c8;color:#946542}.notice.success{background:#e8f3eb;border-color:#cfe1d3;color:#347254}.notice p:last-child{margin:5px 0 0}.notice form{margin-top:10px}.notice[hidden]{display:none}label{display:block;font-size:12px;font-weight:550;margin-bottom:18px}label>.small{font-weight:400;margin-left:6px}input,select,textarea{display:block;width:100%;border:1px solid #dce3d7;background:#fff;border-radius:6px;padding:10px 11px;color:var(--ink);margin-top:7px;outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:#719a7c;box-shadow:0 0 0 3px #e9f2e4}input[type=checkbox],input[type=radio]{width:16px;height:16px;margin:0;accent-color:var(--teal)}textarea{resize:vertical}fieldset{border:0;padding:0;margin:0;min-width:0}.check{display:flex;align-items:center;gap:9px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row label{min-width:0}.narrow{max-width:720px}.back{display:inline-block;font-size:11px;color:#88937e;margin-bottom:22px}.long-title{font-size:30px;overflow-wrap:anywhere}.split-view{display:grid;grid-template-columns:minmax(340px,1fr) minmax(360px,1.05fr);gap:24px;align-items:start}.preview-panel{background:#e4e8e1;border:1px solid #d7dfd3;border-radius:var(--radius);overflow:hidden;position:sticky;top:20px;min-width:0}.preview-header{display:flex;justify-content:space-between;align-items:center;background:#edf0e8;padding:15px 20px;font-size:11px;color:#68775c}.preview-panel iframe{width:100%;height:730px;display:block;border:0;background:#e6e9e0}.preview-panel img{display:block;width:100%;object-fit:contain;max-height:850px}.preview-panel .empty{padding-top:180px;padding-bottom:180px}.amount-heading{display:flex;align-items:center;gap:10px;padding-bottom:22px;margin-bottom:23px;border-bottom:1px solid var(--line)}.amount-heading>span:first-child{font-size:11px;color:var(--muted)}.amount-heading strong{font-family:Georgia,serif;font-size:35px;font-weight:500}.amount-heading .pill{margin-left:auto}.field-heading{display:flex;justify-content:space-between;align-items:center;margin-top:24px;margin-bottom:8px}.field-heading h3{font-size:12px;margin:0}.attached{background:#f6f8f2;border:1px solid #e5ebdd;border-radius:6px;margin:9px 0;padding:11px}.attached button{border:0;background:none;font-size:12px;text-align:left;color:var(--teal)}.inline-upload{display:inline-block;margin:8px 0 0;border:1px dashed #c6d5bb;border-radius:6px;color:#627752;padding:10px 15px;cursor:pointer;font-size:11px}.inline-upload input{max-width:230px;border:0;font-size:11px}.review-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.save-status{font-size:10px;color:#93a087;margin-top:13px;min-height:16px}details{margin:17px 0}summary{font-size:11px;color:#7d8b71;cursor:pointer;padding:7px 0}details form{padding-top:10px}.suggestion{display:flex;gap:11px;background:#f2f5e9;border:1px solid #e2e9d2;border-radius:8px;padding:13px;margin-bottom:20px;font-size:11px}.suggestion p{margin:5px 0;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:23px 0}.upload-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.segmented{display:flex;gap:8px;margin-bottom:22px}.segmented label{display:flex;align-items:center;gap:7px;background:#f6f8f1;border:1px solid var(--line);padding:10px 13px;border-radius:6px;font-size:11px;margin:0;flex:1}.drop-zone{border:1.5px dashed #bfceb2;background:#fafbf6;border-radius:12px;padding:32px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:9px;margin-bottom:24px}.drop-zone.drag{background:#e2edda;border-color:var(--teal)}.drop-zone>span{font-size:11px;color:#8a9680}.drop-zone .upload-symbol{font-size:33px;color:#72865f}.drop-zone input{font-size:11px;max-width:310px;background:#fff}.steps{padding-left:18px;font-size:12px;color:#77856b}.steps li{margin:17px 0;line-height:1.8}code{background:#eaf0e3;border-radius:4px;padding:2px 5px;font-size:11px;color:#547045}.upload-result{margin-top:10px;padding:13px;background:#f5f7ef;border:1px solid var(--line);border-radius:7px;font-size:12px}.upload-result progress{width:100%;height:7px}.upload-result a{display:block;margin-top:5px}.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.document-card{display:block;padding:20px;border:1px solid #dfe7d7;border-radius:9px;color:var(--ink);background:#fdfefa}.document-card:hover{box-shadow:0 3px 12px #24472d0c;text-decoration:none;border-color:#b7c7a9}.document-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:25px}.file-icon{border:1px solid #d9e4cc;border-radius:5px;padding:9px 7px;color:#7b9065;font-size:9px;background:#f0f5e7}.document-card h3{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.document-card p{font-size:10px;color:#929d88}.document-bottom{display:flex;justify-content:space-between;border-top:1px solid #e8ecdf;padding-top:12px;font-size:9px;color:#80916e;gap:9px}.balance-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.balance-strip small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.balance-strip strong{font-size:21px;font-weight:500}.legend{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:26px;font-size:10px;color:#87957b}.legend>span{display:flex;align-items:center;gap:7px}.state{border:1px solid transparent;width:28px;height:28px;display:inline-grid;place-items:center;border-radius:6px;font-size:17px;line-height:1;font-weight:500}.state.complete{background:#e6f0e6;color:#357d5e}.state.uploaded{background:#faf0d9;color:#b58b37}.state.attention{background:#fff0d8;color:#b58130;border-color:#ead1a0}.state.missing{background:#f9e9e5;color:#bd7a6b}.state.future,.state.inactive{background:#f2f4ef;color:#b6c0ab}.calendar-table th,.calendar-table td{text-align:center;padding:15px 6px}.calendar-table td:first-child,.calendar-table th:first-child{text-align:left;min-width:190px;padding-left:12px}.calendar-table th:first-child{width:230px}.calendar-table strong{font-size:12px;font-weight:500}.calendar-table small{font-size:9px}.calendar-cell:hover,.calendar-cell:focus-visible{outline:2px solid #7e9b66;outline-offset:3px}.calendar-detail{border-top:1px solid var(--line);margin-top:20px;padding-top:23px;display:flex;gap:17px;align-items:center}.calendar-detail p{margin:0;font-size:12px}.calendar-detail .button{margin:10px 8px 0 0}.small-icon{width:40px;height:40px;font-size:21px;margin:0}.inline-form{display:flex;align-items:center;gap:10px}.inline-form select{margin:0;width:100px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.setup-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.setup-row small{color:var(--muted)}.user-row{border-bottom:1px solid var(--line);padding:20px 0}.user-row p{font-size:12px;color:var(--muted)}pre{white-space:pre-wrap;word-break:break-word;max-width:520px;background:#f6f7f2;padding:12px;border-radius:5px;font-size:10px}dialog{width:min(800px,94vw);max-height:88vh;border:1px solid var(--line);border-radius:14px;padding:27px;color:var(--ink);box-shadow:0 20px 80px #182d3040}dialog::backdrop{background:#17392a60;backdrop-filter:blur(3px)}.picker-list{max-height:48vh;overflow-y:auto}.picker-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 5px;margin:0;font-size:12px}.picker-row[hidden]{display:none}.picker-row>span{flex:1}.picker-row small{display:block;font-weight:400;color:var(--muted);margin-top:4px}.picker-row button{border:0;background:none;color:var(--teal);font-size:11px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#254f43;color:#fff;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.wordmark{font-family:Georgia,serif;font-size:27px}.login-story h1{font-size:67px;font-weight:400;line-height:1.07;margin-bottom:32px;letter-spacing:-2px}.login-story .eyebrow{color:#afc0a4;font-size:9px}.login-story p{color:#b2c4b1;font-size:13px;line-height:1.9}.login-story>small{color:#a2b9a2;font-size:9px;letter-spacing:1.4px}.login-panel{display:grid;place-items:center;padding:45px}.login-card{width:100%;max-width:340px}.login-card h2{font-family:Georgia,serif;font-size:33px;font-weight:400}.login-card form{margin-top:33px}.login-card .button span{margin-left:auto}.demo-logins{border-top:1px solid var(--line);margin-top:31px;padding-top:21px;color:var(--muted);font-size:11px}.demo-logins p{line-height:1.95;margin:10px 0}.demo-logins small{font-size:10px}.errorlist{color:#ab5849;list-style:none;padding:10px;background:#f9e9e5;border-radius:6px;font-size:12px}.reset-page{display:grid;place-items:center;min-height:100vh}.reset-page .panel{max-width:500px;width:90%}
@media(min-width:1600px){main{padding-top:48px}.overview{padding:33px 38px}.page-header{margin-bottom:35px}}@media(max-width:1200px){.sidebar{width:205px;padding-left:13px;padding-right:13px}.workspace{margin-left:205px}main{padding:30px 24px}.environment{padding:0 24px}.overview{gap:25px;padding:24px}.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-view{grid-template-columns:minmax(300px,1fr) minmax(280px,1fr);gap:16px}.panel{padding:21px}.tabs{margin:0 -21px;padding:0 21px;gap:18px}.calendar-table td:first-child{min-width:150px}.calendar-table{min-width:800px}.statement-split{grid-template-columns:1fr}.statement-split .preview-panel{position:static}.overview-main h2{font-size:25px}.login-story{padding:45px}.login-story h1{font-size:56px}}@media(max-width:850px){.sidebar{position:relative;width:auto;padding:15px 18px;display:block;border-bottom:1px solid var(--line)}.brand{margin:0;font-size:35px;display:inline-flex;padding:0}.brand>span{font-size:20px}.brand small{font-size:7px}nav{display:flex;overflow-x:auto;margin-top:14px;gap:6px}nav a{white-space:nowrap;padding:8px 12px;margin:0}nav a span{font-size:15px;width:auto}.nav-label{display:none}.sidebar-bottom{display:flex;position:absolute;right:18px;top:16px;border:0;padding:0;margin:0}.sidebar-bottom .avatar{display:none}.workspace{margin:0}.environment{height:34px}.environment-detail{display:none}.page-header{align-items:flex-start}.page-header h1{font-size:32px}.split-view,.upload-grid{grid-template-columns:1fr}.preview-panel{position:static}.preview-panel iframe{height:580px}.overview{grid-template-columns:1fr 215px;gap:20px}.month-switch{flex-direction:column;gap:3px;align-items:flex-end}.login-story h1{font-size:46px}.login-story{padding:35px}.login-panel{padding:30px}.two-columns{gap:15px}}@media(max-width:600px){main{padding:25px 15px}.environment{padding:0 15px}.page-header{flex-wrap:wrap;margin-bottom:22px;gap:14px}.page-header h1{font-size:31px}.month-switch{flex-direction:row;align-items:center}.overview{grid-template-columns:1fr;padding:22px;gap:18px}.overview-actions{display:grid;grid-template-columns:1fr}.overview-actions .text-link{margin-top:2px}.panel{padding:18px}.tabs{margin:0 -18px;padding:0 18px;gap:19px;overflow-x:auto;white-space:nowrap}.two-columns,.document-grid{grid-template-columns:1fr}.filters{gap:7px}.filters select,.filters input{max-width:100%;width:100%;flex:1 1 44%;min-width:110px}.preview-panel iframe{height:480px}.long-title{font-size:25px!important}.form-row{gap:10px}.review-actions .button{flex:1}.login-page{display:block}.login-story{min-height:0;padding:30px}.login-story>div:nth-child(2){margin-top:35px}.login-story h1{font-size:37px}.login-story h1 br{display:none}.login-story h1{margin-bottom:15px}.login-story p{font-size:12px}.login-story>small{display:none}.login-panel{padding:35px 25px}.login-card{max-width:100%}.segmented{flex-direction:column}.balance-strip strong{font-size:18px}.calendar-detail{align-items:flex-start}.section-heading{align-items:flex-start}.milestone{font-size:9px}footer{padding:16px}.legend{gap:10px}.legend>span{font-size:9px}.state{width:25px;height:25px}.drop-zone{padding:23px 12px}}

/* Fiddler's Green botanical identity. */
.brand,.brand-lockup{position:relative;display:grid;grid-template-columns:34px max-content;grid-template-rows:1fr auto;column-gap:4px;row-gap:3px;align-items:end;justify-items:start;text-align:left;width:max-content;max-width:100%;padding:0;font-family:Georgia,serif;font-weight:400;line-height:1.15}
.brand{margin:0 auto 42px}
.brand-icon{position:absolute;grid-column:1/2;grid-row:1/3;align-self:end;bottom:1px;width:34px;height:40px;object-fit:contain;object-position:center bottom;display:block}
.brand>.brand-name,.brand-lockup>.brand-name{grid-column:2;grid-row:1;align-self:center;font-family:Georgia,serif;font-size:21px;font-weight:400;white-space:nowrap;letter-spacing:-.65px}
.brand>.brand-tagline,.brand-lockup>.brand-tagline{grid-column:2;grid-row:2;align-self:start;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:7px;font-weight:500;letter-spacing:.65px;text-align:left;white-space:nowrap;color:var(--muted)}
.login-story .brand-lockup{grid-template-columns:45px max-content;column-gap:8px;row-gap:4px}
.login-story .brand-icon{bottom:-2px;width:45px;height:52px;background:#f1f3e7;border-radius:50%;padding:4px}
.login-story .brand-name{font-size:31px;letter-spacing:-1px}
.login-story .brand-tagline{font-size:9px;letter-spacing:1.2px;color:#bcccba}
@media(min-width:851px) and (max-width:1200px){.brand{grid-template-columns:29px max-content;column-gap:3px}.brand>.brand-name{font-size:19px}.brand-icon{width:29px;height:36px}.brand>.brand-tagline{font-size:6.4px;letter-spacing:.4px}}
@media(max-width:850px){.brand{margin:0;grid-template-columns:31px max-content}.brand>.brand-name{font-size:21px}.brand-icon{width:31px;height:36px}.sidebar-bottom{top:22px}.sidebar-bottom small{display:none}}
@media(max-width:380px){.sidebar-bottom strong{display:none}.sidebar-bottom{right:12px}.brand>.brand-name{font-size:20px}}

[hidden]{display:none!important}
#action-confirmation{max-width:480px}#action-confirmation p{font-size:14px;line-height:1.7}
@media(max-width:600px){.section-heading .inline-form{flex-wrap:wrap;min-width:0}.section-heading .inline-form select{max-width:100%!important}.section-heading>.text-link{max-width:100px}}

.receipt-guidance{margin:23px 0 16px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#fafbf7}.receipt-guidance p{font-size:12px;color:var(--muted);margin:8px 0 0}.search-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 18px;font-size:12px;color:var(--muted)}.search-summary p{margin:0}.search-summary small{display:block;margin-top:4px;font-size:11px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:22px;font-size:12px;color:var(--muted)}.pagination a{margin:0}.filters select[name=scope]{max-width:210px}@media(max-width:600px){.search-summary{align-items:flex-start;flex-direction:column;gap:8px}.receipt-guidance .pill{white-space:normal}}

.selected-files{list-style:none;margin:0 0 14px;padding:0}.selected-files li{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.selected-files li span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.selected-files .button{flex-shrink:0}#clear-files{margin-bottom:16px}.drop-zone[aria-disabled=true]{opacity:.6}#upload-results strong{overflow-wrap:anywhere}

.file-picker-label{display:none}#upload-form[data-queue-ready] .file-picker-label{display:inline-flex}.drop-zone{position:relative}#upload-form[data-queue-ready] #file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;cursor:pointer}.drop-zone:focus-within{outline:2px solid var(--teal);outline-offset:3px}.overview-actions>small{text-align:center}

.upload-review-summary{margin:20px 0}.upload-review-summary p{margin-bottom:12px}
.upload-type-field legend{font-size:12px;font-weight:550;margin-bottom:10px}
.upload-kind-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.upload-kind-options label{align-items:center;padding:10px;font-size:11px}
.upload-kind-options input{flex-shrink:0}
@media(max-width:1100px){.upload-kind-options{grid-template-columns:1fr}}

.section-switch{display:inline-flex;gap:4px;border:1px solid var(--line);border-radius:10px;padding:4px;background:#e9eee5;margin-bottom:9px}.section-switch a{display:block;min-width:110px;padding:10px 22px;border-radius:7px;font-size:13px;font-weight:600;text-align:center;color:var(--muted)}.section-switch a.selected{background:var(--teal);color:#fff}.section-switch a:hover{text-decoration:none}.section-help{font-size:12px;color:var(--muted);margin-bottom:24px}

/* Uploads sit beside the page heading; the review action stays inside the full-width summary. */
.review-page-top{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:28px;margin-bottom:24px}
.review-intro{min-width:0}
.review-intro .page-header{margin-bottom:24px}
.review-section-bar{display:flex;align-items:center;gap:12px;margin:0;flex-wrap:wrap}
.review-section-bar .section-switch,.review-section-bar .section-help{margin:0}
.review-start-tile{width:208px;height:208px;flex:0 0 208px;align-self:flex-start;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:25px;background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:var(--radius);text-align:left;line-height:1.3;transition:background .15s}
.review-start-tile:hover{background:var(--teal-dark);text-decoration:none}
.review-start-tile:focus-visible{outline:3px solid #719a7c;outline-offset:4px}
.review-start-arrow{font-size:36px;line-height:1;margin-bottom:16px;font-weight:400}
.review-start-tile strong{font-size:20px;font-weight:600}
.review-start-caption{font-size:11px;margin-top:7px;color:#d0e1d8}
.review-start-tile.is-clear{background:#e9eee5;border-color:#dce5d4;color:#66805c;opacity:1;cursor:default}
.review-start-tile.is-clear strong{font-size:18px}
.review-upload-card{width:320px;max-width:100%;min-height:208px;padding:20px 24px;margin:0;display:flex;flex-direction:column;justify-content:center}
.review-upload-card h2{font-size:18px;line-height:1.3;margin-bottom:3px}
.review-upload-card p{margin-bottom:13px}
.review-upload-actions{display:grid;gap:8px}
.review-upload-actions .button{white-space:normal;text-align:center;min-height:38px;padding:9px 12px}
.review-summary{grid-template-columns:minmax(0,1fr) 208px;align-items:center;gap:40px;padding:24px 28px;margin-bottom:24px}
.review-summary-scope{font-size:11px;color:#6b7c61}
.review-summary .overview-main h2{font-size:26px;margin:7px 0 5px}
.review-summary .overview-main p{margin:0}
.review-summary-progress{margin-top:28px;max-width:540px}
.review-summary-progress small{display:flex;justify-content:space-between;font-size:11px;color:#6b7c61}
.review-summary-progress .progress-track{margin:10px 0 0}
.transaction-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}
@media(max-width:1000px){.review-page-top{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.review-summary{gap:24px}}
@media(max-width:600px){
  .review-section-bar{gap:10px}
  .review-page-top{grid-template-columns:1fr;gap:20px}
  .review-start-tile{width:160px;height:160px;flex-basis:160px;padding:22px}
  .review-upload-card{width:100%;padding:20px}
  .review-summary{grid-template-columns:1fr;gap:22px;padding:22px}
  .review-summary .review-start-tile{justify-self:end}
  .review-summary-progress{margin-top:20px}
  .review-summary .overview-main h2{font-size:24px}
  .transaction-heading-actions{align-items:flex-start;flex-shrink:1}
  .transaction-heading-actions .text-link{font-size:11px}
}

.document-list-heading,.document-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 108px 65px 16px;align-items:center;column-gap:14px}
.document-list-heading{padding:12px 8px;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}
.document-sort{display:flex;align-items:center;gap:5px;min-height:32px;color:var(--muted)}
.document-sort.number{justify-content:flex-end}
.document-sort.selected{color:var(--teal)}
.document-sort:hover{text-decoration:none;color:var(--teal)}
.document-sort:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}
.document-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.document-list li{border-bottom:1px solid var(--line)}
.document-row{padding:16px 8px;color:var(--ink);font-size:12px}
.document-row:hover{background:#f7f9f3;text-decoration:none}
.document-row:focus-visible{outline:2px solid var(--teal);outline-offset:-2px;background:#f7f9f3}
.document-identity{display:flex;align-items:center;gap:12px;min-width:0}
.document-identity .file-icon{flex-shrink:0}
.document-name{min-width:0}
.document-name strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}
.document-name small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.document-date,.document-usage{color:var(--muted);font-size:11px}
.document-amount{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.document-amount small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.document-open{color:var(--teal)}
.document-date-warning{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.document-date-warning p{margin:4px 0 0;font-size:12px}
.document-date-warning .button{white-space:normal;text-align:left}
.document-date .pill{white-space:normal}
@media(max-width:1000px){
  .document-list-heading{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 14px}
  .document-sort{padding:7px 9px;border-radius:5px;background:#f3f5ef}
  .document-sort.selected{background:#e9f1e9}
  .document-heading-spacer{display:none}
  .document-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px 4px}
  .document-identity{grid-column:1/-1}
  .document-date,.document-status{grid-column:1}
  .document-amount,.document-usage{grid-column:2;text-align:right;max-width:150px}
  .document-open{display:none}
}

.document-fields{border:0;padding:20px 0;margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.document-fields legend{font-size:13px;font-weight:650;padding:0 8px 0 0}
#document-details-form .form-row>div{flex:1;min-width:0}
#document-details-form label{margin-top:16px}
#document-details-form .small{line-height:1.6}
#document-details-form .button{margin-top:8px}
#document-details-form fieldset[hidden]{display:none}
#vendor-similar .button{white-space:normal;text-align:left;margin-right:6px}
.document-linked-help{margin-top:12px}
@media(min-width:851px) and (max-width:1200px){.document-detail-layout{grid-template-columns:minmax(340px,1.1fr) minmax(240px,.9fr)}}
@media(max-width:600px){#document-details-form .form-row{grid-template-columns:1fr;gap:0}.document-date-warning .button{width:100%}}

/* Library filters keep the search separate from immediately applied ranges. */
.library-filters{padding-bottom:12px;border-bottom:1px solid var(--line)}
.library-filters input,.library-filters select{font-size:12px}
.library-filter-top{display:grid;grid-template-columns:minmax(220px,1fr) 190px 125px;gap:10px;margin-bottom:10px;align-items:center}
.library-filter-top input,.library-filter-top select{margin:0;height:36px;padding-top:7px;padding-bottom:7px}
.library-search{display:flex;gap:6px;min-width:0}
.library-search input{flex:1;min-width:0}
.library-search-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #cbd9c2;border-radius:6px;background:#eff4e8;color:var(--teal);cursor:pointer}
.library-search-button:hover{background:#e4eddc}
.library-range-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.library-range-panel{background:#f8faf5;border:1px solid #e5ebdf;border-radius:9px;padding:10px 12px;min-width:0}
.library-range-heading{display:flex;align-items:center;gap:10px;min-height:26px;margin-bottom:6px;font-size:12px}
.library-range-heading strong{white-space:nowrap}
.library-range-heading select{width:auto;max-width:180px;margin:0 0 0 auto;padding:4px 8px;background:#fff}
.library-bound-fields{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:8px;align-items:end}
.library-bound-fields label{font-size:10px;font-weight:500;color:var(--muted);margin:0;min-width:0}
.library-bound-fields input{height:34px;width:100%;margin:4px 0 0;padding-top:6px;padding-bottom:6px}
.range-connector{align-self:end;margin-bottom:10px;color:#9aa68f;text-align:center;font-size:12px}
.range-help{margin:6px 0 0;font-size:10px;line-height:1.4}
.amount-range-panel .library-range-heading{margin-bottom:0}
#amount-range-label{margin-left:auto;font-size:11px;color:var(--teal);text-align:right;font-variant-numeric:tabular-nums}
.dollar-field{position:relative;display:block}
.dollar-field>span{position:absolute;left:10px;top:9px;color:#839478;font-size:12px}
.dollar-field input{padding-left:24px}
.amount-slider{position:relative;height:26px;margin:0 9px 2px;--range-start:0%;--range-end:100%}
.amount-slider-track{position:absolute;top:11px;left:0;right:0;height:4px;border-radius:4px;background:linear-gradient(to right,#dce5d4 var(--range-start),#547b4d var(--range-start),#547b4d var(--range-end),#dce5d4 var(--range-end))}
.library-filters .amount-slider input{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:26px;padding:0;margin:0;background:none;border:0;box-shadow:none;pointer-events:none;z-index:2}
.amount-slider input::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;border:2px solid #567b4d;background:#fff;box-shadow:0 1px 3px #24472d22;cursor:ew-resize;pointer-events:auto}
.amount-slider input::-moz-range-thumb{width:15px;height:15px;border-radius:50%;border:2px solid #567b4d;background:#fff;box-shadow:0 1px 3px #24472d22;cursor:ew-resize;pointer-events:auto}
.amount-slider input:focus-visible::-webkit-slider-thumb{outline:3px solid #b9d2a6;outline-offset:2px}
.amount-slider input:focus-visible::-moz-range-thumb{outline:3px solid #b9d2a6;outline-offset:2px}
.library-filters .amount-slider input:focus-visible{z-index:4!important}
.library-result-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;margin:12px 0 0}
.library-result-meta>span{color:var(--muted);font-size:10px}
#library-filter-status{margin:6px 0 0;font-size:11px}
#library-filter-status:empty{margin:0}
#document-library-results[aria-busy=true]{opacity:.55;transition:opacity .15s}
.upload-recent{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}
.upload-recent h2{font-size:20px;margin:0 0 12px}
@media(max-width:1100px){.library-filter-top{grid-template-columns:minmax(180px,1fr) 170px 110px}.library-range-panel{padding:10px 12px}.library-range-heading{gap:6px}}
@media(max-width:760px){.library-filter-top{grid-template-columns:1fr 1fr}.library-search{grid-column:1/-1}.library-range-filters{grid-template-columns:1fr}.library-result-meta>span{display:none}}

/* Compact type-specific document workspace. */
.document-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-bottom:16px}.document-breadcrumb .back{margin:0}
.document-header{margin-bottom:16px}.document-header h1{font-size:32px}.document-subtitle{font-size:13px;color:var(--muted);margin-bottom:0;overflow-wrap:anywhere}
.document-state{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:18px}.document-state>.small{margin-left:3px}
#document-details-form label{margin:12px 0 5px}#document-details-form input,#document-details-form select,#document-details-form textarea{margin-top:0;font-size:12px}
#document-details-form .form-row{gap:12px}#document-details-form .small{line-height:1.5;margin:7px 0 10px}
#document-details-form .button{margin-top:0}#document-details-form .type-restriction{font-size:11px}#document-details-form .document-secondary{margin:12px 0;border-top:1px solid var(--line);padding-top:5px}
.document-secondary summary{font-size:12px;color:var(--ink);padding:7px 0}.document-secondary summary .muted{font-size:10px}.file-information{font-size:11px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px;margin:14px 0}.file-information dt{color:var(--muted)}.file-information dd{margin:0;overflow-wrap:anywhere}
.account-currency{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.account-currency strong{font-weight:500}
.vendor-search{margin:5px 0}.vendor-search input{height:32px}.vendor-search>span{display:block;font-size:10px}
.document-save-bar{position:sticky;bottom:12px;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;padding:12px 0 0;margin-top:18px;background:linear-gradient(to bottom,#ffffffdd,#fff 20%);z-index:4;border-top:1px solid var(--line)}
.document-import-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.document-mobile-tabs{display:none}.document-detail-layout .preview-panel{top:15px}.document-detail-layout .preview-panel iframe{height:calc(100vh - 120px);min-height:440px}
.invoice-links{border-top:1px solid var(--line);margin-top:16px;padding-top:5px}.invoice-links h2{font-family:inherit;font-size:14px;margin:0}.invoice-links .field-heading{margin:8px 0}.invoice-link-row{display:flex;gap:10px;justify-content:space-between;align-items:start;border:1px solid var(--line);border-radius:7px;padding:10px;margin:8px 0;font-size:12px}.invoice-link-row>div{min-width:0}.invoice-link-row a{overflow-wrap:anywhere}.invoice-link-row .button{flex-shrink:0}.invoice-link-row p{margin:4px 0!important}
#transaction-link-picker{width:min(760px,calc(100vw - 30px));max-height:85vh;overflow:auto;padding:22px}#transaction-link-picker .field-heading{margin-top:0}.link-search-form{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;align-items:center}.link-search-form>input{grid-column:1/-1}.link-search-form input,.link-search-form select{margin:0;font-size:12px}.transaction-match{display:flex;align-items:start;gap:12px;border:1px solid var(--line);border-radius:7px;padding:12px;margin:9px 0;cursor:pointer}.transaction-match:has(input:checked){background:#edf4e9;border-color:#8faa7a}.transaction-match input{margin:2px 0 0;flex-shrink:0}.transaction-match p{margin:5px 0;font-weight:400}.transaction-match strong{font-size:12px}.link-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
@media(max-width:850px){.document-mobile-tabs{display:flex;gap:5px;background:#edf2e7;border-radius:8px;padding:4px;margin-bottom:13px}.document-mobile-tabs button{flex:1;padding:9px;border:0;border-radius:5px;color:var(--teal);background:none;cursor:pointer}.document-mobile-tabs button[aria-selected=true]{background:white;box-shadow:0 1px 4px #24372a12}.document-detail-layout{display:block}.document-detail-layout:not(.show-original) #document-original,.document-detail-layout.show-original #document-editor{display:none}.document-detail-layout .preview-panel{position:static;min-height:0}.document-detail-layout .preview-panel iframe{height:70vh;min-height:400px}.document-save-bar{bottom:8px}.document-state>.small{width:100%}}
@media(max-width:600px){#document-details-form .form-row{grid-template-columns:1fr 1fr;gap:10px}.document-header h1{font-size:27px}.document-detail-layout>.panel{padding:17px}.document-save-bar{justify-content:stretch}.document-save-bar .button{flex:1;font-size:11px;padding:11px}.link-search-form{grid-template-columns:1fr}.link-search-form>input{grid-column:auto}.invoice-links .field-heading{align-items:start;gap:10px;flex-wrap:wrap}.file-information{grid-template-columns:1fr;gap:4px}.file-information dd{margin-bottom:7px}}

/* Monetary signs remain clear without relying on colour alone. */
.money{white-space:nowrap;font-variant-numeric:tabular-nums}.money.negative{color:#ad3434}
.library-scope{margin:8px 0 12px}.library-result-meta{gap:12px;flex-wrap:wrap}
.library-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-top:4px}
.library-filter-footer #library-filter-status{margin:0;min-width:0}
.library-reset{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;margin-left:auto;padding:6px 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--teal);font-size:12px;line-height:1.4;white-space:nowrap;text-decoration:none}
.library-reset:hover{background:#edf2e8;border-color:#dce5d4}.library-reset:focus-visible{outline:2px solid var(--teal);outline-offset:2px}

.library-undated{display:flex;align-items:center;gap:6px;margin:4px 0 0;font-weight:400}.library-undated input{width:13px;height:13px;margin:0;accent-color:var(--green)}

/* Consistent workflow notices and progressively disclosed filters. */
.upload-needs-details{margin-top:12px;font-size:12px}
.library-advanced{margin:0;padding:0;border:0;display:contents}
.library-advanced>summary{display:none}
.library-advanced fieldset{min-width:0}
.document-status>small{display:block;font-size:10px;color:var(--amber);margin-top:4px}
.card-ledger-summary{background:#f4f6ef;border:1px solid var(--line);border-radius:8px;padding:14px;margin:12px 0 20px;font-size:12px}
.card-ledger-summary>div{display:flex;justify-content:space-between;gap:12px;margin:7px 0}
.card-ledger-summary p:last-child{margin-bottom:0}
.statement-next-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 24px}
.audit-changes{min-width:260px;max-width:480px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.audit-changes dt{font-weight:600;margin-top:12px}.audit-changes dd{margin:2px 0 12px}
.history-filters{flex-wrap:wrap}.history-filters label{margin:0;font-size:11px}.history-filters input[type=date]{margin:2px 0}
.picker-selection{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:10px}.picker-selection>p{width:100%;margin:0}.picker-selection button{max-width:100%;white-space:normal;text-align:left}
.suggested-name p{overflow-wrap:anywhere;margin:8px 0 0}.suggested-name .text-link{font-size:12px}
.credit-boundary{margin:-8px 0 24px}
@media(max-width:600px){
  main:has(.review-page-top){display:flex;flex-direction:column}
  .review-page-top{display:contents}
  .review-intro{order:1;margin-bottom:20px}
  .review-summary{order:2;grid-template-columns:minmax(0,1fr) 125px;gap:12px;padding:18px}
  .review-summary .review-start-tile{width:125px;height:140px;min-width:0;padding:16px}
  .review-summary .review-start-tile strong{font-size:17px}.review-summary .review-start-arrow{font-size:26px;margin-bottom:10px}
  .review-summary .overview-main h2{font-size:20px}.review-summary .overview-main p{font-size:11px}.review-summary-progress{margin-top:12px}
  .review-upload-card{order:3;min-height:0;margin-bottom:22px;padding:16px}
  .review-upload-card h2{font-size:16px}.review-upload-card p{margin-bottom:8px}
  .credit-boundary{order:4}.review-transactions{order:5}.gentle-note{order:6}
  .library-advanced{display:block;border-top:1px solid var(--line);padding-top:10px}
  .library-advanced>summary{display:list-item;font-size:12px;margin:0;padding:2px 0 8px}
  .library-advanced[open] fieldset{margin-top:10px}
  .document-date-warning{padding:12px}.document-date-warning p{display:none}.document-date-warning .button{padding:6px 9px;min-height:34px;font-size:11px}
  .transaction-save-bar{position:sticky;bottom:0;z-index:4;background:#fff;padding:12px 0;margin-bottom:0;border-top:1px solid var(--line);box-shadow:0 -5px 12px #fff}
  .transaction-save-bar .button{padding:10px 12px}.statement-next-actions{gap:10px}
  .history-filters label{width:calc(50% - 10px)}.history-filters label.check{width:100%}
}

/* Wrapped statement links retain a continuous, usable click target. */
.statement-rows td a{display:inline-block;vertical-align:middle}

/* Shared, legible document flags: the text conveys the state as well as color. */
.document-flag{display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;border:1px solid #d4ded5;border-radius:6px;background:#edf2ed;color:#354c3d;font-size:12px;font-weight:750;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.document-flag.status-balance-mismatch,.document-flag.status-failed,.document-flag.status-needs-attention{background:#fff0ed;border-color:#e9a497;color:#a1251b}
.document-flag.status-import-not-checked,.document-flag.status-check-statement-coverage,.document-flag.status-details-incomplete,.document-flag.status-needs-classification,.document-flag.status-transactions-to-review{background:#fff3e3;border-color:#e9b470;color:#924100}
.document-flag.status-complete{background:#e7f3e9;border-color:#a6ceb2;color:#24603b}
.upload-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:start;padding:12px}
.upload-result-status{grid-column:2;grid-row:1;justify-self:end}
.upload-result .document-flag{margin:0;font-size:12px;padding:4px 8px}
.upload-result-meta{grid-column:1/-1;color:var(--muted);line-height:1.4}
.upload-result-meta:empty{display:none}
.upload-result progress,.upload-result>a,.upload-result>button{grid-column:1/-1;margin:0}
.upload-result>button{justify-self:start}
@media(max-width:600px){.upload-result{grid-template-columns:1fr}.upload-result-status{grid-column:1}.upload-result>strong{grid-row:2}}

.upload-leave-files{max-height:40vh;overflow:auto;padding-left:22px}.upload-leave-files>li{margin-bottom:14px}.upload-leave-files ul{padding-left:20px;overflow-wrap:anywhere}

.access-restricted{max-width:780px;margin:45px auto;padding:56px 28px;text-align:center;background:linear-gradient(145deg,#fff,#eef3e8);border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 50px #253a3508}.access-emblem{display:grid;place-items:center;width:104px;height:104px;margin:0 auto 28px;border:1px solid #cadbc9;border-radius:50%;background:#e5eee1;color:var(--teal);box-shadow:0 0 0 10px #f5f8f0}.access-emblem svg{width:62px;height:62px}.access-restricted h1{font-size:42px;letter-spacing:-1px;margin-bottom:20px}.access-description{color:#62726c;font-size:14px;line-height:1.85;max-width:520px;margin:0 auto 26px}.access-account{font-size:12px;color:#62726c;margin:23px 0 30px}.access-code{font-size:10px;letter-spacing:2px;color:#75837e}@media(max-width:600px){.access-restricted{margin:12px auto;padding:38px 20px}.access-restricted h1{font-size:33px}.access-description br{display:none}.access-actions .button{white-space:normal}}

/* Predictable date segments, with the original calendar available alongside. */
.date-entry{position:relative;display:flex;align-items:center;gap:3px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:2px 5px;margin:6px 0 0;min-width:0;width:100%;max-width:100%;font-weight:400}
.date-entry:focus-within{border-color:var(--teal);box-shadow:0 0 0 2px #49726718}
.date-entry .date-part{min-width:0;width:2.6em;flex:0 1 2.6em;padding:9px 3px;margin:0;border:0;box-shadow:none;background:transparent;text-align:center;border-radius:3px;font-variant-numeric:tabular-nums}
.date-entry .date-year{width:4em;flex-basis:4em}.date-entry .date-part:focus{outline:2px solid var(--teal);outline-offset:-2px;box-shadow:none}
.date-entry .date-calendar{position:absolute;right:0;top:0;width:2rem;height:100%;opacity:0;pointer-events:none;margin:0}
.date-entry .date-calendar:focus{opacity:1;pointer-events:auto;width:100%;z-index:2;background:#fff}
.date-calendar-button{flex-shrink:0;margin:0 0 0 auto;padding:5px 7px;border:0;background:transparent;color:var(--teal);font-size:21px;line-height:1;cursor:pointer}
.date-calendar-button:disabled,.date-entry:has(.date-part:disabled){opacity:.6}.date-calendar-button:focus-visible{outline:2px solid var(--teal)}
.history-filters .date-entry,.library-bound-fields .date-entry{margin-top:2px}

.report-tabs{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}.quarter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.quarter-card{margin:0;padding:28px}.quarter-card h2{font-family:Georgia,serif;font-size:32px;font-weight:400}.quarter-card .eyebrow{margin:0}.quarter-readiness{font-size:13px;margin:25px 0 15px}.quarter-card .button{margin-top:8px}.quarter-grid+p{margin-top:22px}.report-checks,.report-changes{padding-left:20px}.report-checks li,.report-changes>li{padding:7px 0;font-size:13px;overflow-wrap:anywhere}.report-changes details{margin:5px 0}.report-changes dt{font-weight:600}.report-changes dd{margin:3px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.report-finalize{margin-top:12px}.report-footnote{margin-top:18px}.report-total>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0}.report-total strong{font-size:21px;font-weight:550}.report-net{border-top:1px solid var(--line);margin-top:12px}.report-notes{min-width:160px;max-width:360px;overflow-wrap:anywhere}.report-doc-reference{display:block;font-size:11px;margin-top:6px}@media(max-width:700px){.quarter-grid{grid-template-columns:1fr}.quarter-card{padding:22px}.report-total strong{font-size:18px}.report-total>div{flex-wrap:wrap}.setup-row{gap:12px;overflow-wrap:anywhere}}

.quarter-report-menu{border-top:1px solid var(--line);padding-top:17px;margin-top:23px}.quarter-report-menu>p{margin-bottom:9px}.report-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 12px;background:#fafbf8;color:var(--ink);margin:7px 0;text-align:left;font-size:12px;line-height:1.5}.report-option:disabled{opacity:1;cursor:default;color:#65716a}.report-option b{display:inline-block;color:#7e8d75;margin-right:8px}.report-option small{font-size:10px;white-space:nowrap;color:#788571}.report-menu-help{font-size:10px;margin-top:12px}.quarter-check-preview{padding-left:17px;font-size:11px;margin:8px 0 12px}.quarter-check-preview li{margin-bottom:8px}.quarter-readiness{margin-bottom:9px}.readiness-list{list-style:none;padding:0;margin:0}.readiness-list>li{padding:20px 0;border-top:1px solid var(--line)}.readiness-list h3{line-height:1.55}.readiness-list p,.readiness-list ul{font-size:12px;color:#637266}.readiness-list ul{padding-left:18px}.readiness-list li{overflow-wrap:anywhere}.readiness-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}#readiness{scroll-margin-top:20px}@media(max-width:600px){.report-option{align-items:flex-start;flex-direction:column;gap:3px}.report-option small{padding-left:20px}}
.readiness-popover{position:relative;flex-shrink:0}.readiness-dot{width:30px;height:30px;border:0;padding:7px;background:transparent;display:grid;place-items:center;border-radius:50%}.readiness-dot>span{display:block;width:13px;height:13px;border-radius:50%;background:#8a958d;box-shadow:0 0 0 4px #8a958d15}.readiness-dot.red>span{background:#c44036;box-shadow:0 0 0 4px #c4403617}.readiness-dot.orange>span{background:#d48622;box-shadow:0 0 0 4px #d4862217}.readiness-dot.green>span{background:#36815d;box-shadow:0 0 0 4px #36815d17}.readiness-dot:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.quarter-card .section-heading>.pill{margin-left:auto}.readiness-popover.is-open{z-index:25}.readiness-tooltip{position:absolute;right:0;top:100%;width:min(390px,calc(100vw - 60px));max-height:360px;overflow:auto;background:#fff;border:1px solid #d6dfd1;border-radius:12px;box-shadow:0 10px 35px #203c302b;padding:20px;text-align:left;font-size:12px;line-height:1.6}.readiness-tooltip-title{display:block;font-size:14px;margin-bottom:10px}.readiness-tooltip>p{color:#62726c;margin-bottom:10px}.readiness-tooltip .readiness-list>li{padding:15px 0}.readiness-tooltip .readiness-list h3{font-size:12px}.readiness-tooltip .readiness-list p{font-size:11px}.readiness-tooltip .text-link{font-size:11px}.readiness-tooltip .readiness-list>li:last-child{padding-bottom:0}.quarter-card .section-heading{gap:10px}.quarter-card{position:relative}.quarter-card:has(.readiness-popover.is-open){z-index:20}@media(max-width:600px){.readiness-tooltip{max-height:50vh}}

.report-credit-option{display:flex;flex-direction:row;align-items:center;gap:8px}.report-credit-option>a,.report-credit-option>.report-unavailable{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;color:inherit;text-decoration:none}.report-credit-option>a:hover{color:var(--teal)}.report-credit-option>a:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.report-credit-option small{padding-left:0}.report-credit-option .readiness-dot{width:26px;height:26px;padding:5px}@media(max-width:600px){.report-credit-option>a,.report-credit-option>.report-unavailable{align-items:flex-start;flex-direction:column;gap:3px}}

.report-credit-divider{border:0;border-top:1px solid #cad6c6;margin:18px 0 12px}

.report-workspace-columns{align-items:start}.readiness-summary{font-weight:600;font-size:13px;margin-bottom:16px}.report-readiness-scope{border-top:1px solid var(--line);padding-top:16px;margin:4px 0 0}#readiness>.readiness-list h3{font-size:13px}#readiness>.readiness-list>li{padding:16px 0}#readiness>.readiness-list p{margin-bottom:10px}

/* Saved-state conflicts keep proposed values separate from the latest record. */
.edit-latest{font-size:12px;margin:12px 0}.edit-latest>div{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px;padding:6px 0;border-top:1px solid #dacdac}.edit-latest dt{font-weight:600}.edit-latest dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.edit-retry{border-color:#ddb774;background:#fffcf5}.edit-retry .button{margin-top:8px}
.readiness-group{border-top:1px solid var(--line);padding:18px 0}.readiness-group>h3{font-size:14px;line-height:1.5;margin:0 0 3px;overflow-wrap:anywhere}.readiness-group-period{font-size:11px;color:var(--muted);margin:0 0 10px}.readiness-group>.readiness-list>li{border:0;padding:8px 0 12px}.readiness-group .readiness-list h3{font-size:12px;margin-bottom:6px}.readiness-group .readiness-list p{margin-bottom:8px}.readiness-review-count{font-size:12px;color:var(--muted);margin:10px 0 5px}.readiness-transactions{margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fafbf8}.readiness-transactions>summary{font-size:12px;font-weight:600;padding:12px 0;margin:0;color:var(--teal);cursor:pointer}.readiness-transactions .readiness-list>li{padding:12px 0}.readiness-tooltip .readiness-group{padding:12px 0}.readiness-tooltip .readiness-group>h3{font-size:12px}.readiness-tooltip .readiness-list h3{font-size:11px}.readiness-group .text-link{font-size:12px}.readiness-group .readiness-actions{gap:8px 12px}

/* Three report views, one preserved quarterly package. */
.report-main-option{background:#eff5ef;border-color:#d4e1d2}.report-main-option:hover{background:#e5eee3;text-decoration:none}.report-main-option:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.report-toolbar .back{margin:0}
.report-view-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border:1px solid var(--line);border-radius:10px;background:#e9eee5;padding:5px;margin:0 0 22px;overflow:visible}
.report-view-nav a{margin:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 8px;text-align:center;white-space:normal;font-size:12px;border-radius:6px}
.report-view-nav a[aria-current=page]{color:var(--teal);background:#fff;box-shadow:0 1px 4px #263a3512}.report-view-nav b{opacity:.6;font-size:11px}
.report-paper{padding:34px;background:#fff;border:1px solid #dfe5dc;border-radius:14px;box-shadow:0 6px 24px #20372c04;min-width:0}
.report-paper-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:28px}.report-identity>span{font:25px Georgia,serif;color:var(--teal)}.report-identity small{display:block;letter-spacing:1.3px;font-size:7px;margin-top:6px;color:#6e7e70}.report-period-label{text-align:right;font-weight:600;font-size:13px;letter-spacing:1px}.report-period-label small{display:block;font-weight:400;font-size:11px;letter-spacing:0;margin-top:6px;color:#6b7a71}
.report-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.report-title-row h1{font-size:32px;letter-spacing:-.6px;line-height:1.18}.report-title-row .eyebrow{margin-bottom:9px}.report-title-row>.pill{flex-shrink:0;margin-top:2px;white-space:normal;text-align:center;max-width:155px}
.report-intro{color:#6a7b70;font-size:14px;margin:17px 0 28px}.report-draft-note{font-size:11px;color:#776336;border-left:3px solid #d1ad6a;background:#fcf9f0;padding:12px 15px;margin:15px 0 24px;line-height:1.7}.report-draft-note a{display:inline-block;margin-left:3px}
.report-currency-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 15px}.report-currency-heading h2{font-size:12px;letter-spacing:1.4px;margin:0}.report-currency-heading>span{font-size:10px;color:#6e7e71}.cash-summary+.cash-summary{margin-top:28px}
.cash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e0e7dc;border-radius:10px;overflow:hidden}.cash-metrics>div{padding:25px 20px;background:#fafcf8}.cash-metrics>div+div{border-left:1px solid #e0e7dc}.cash-metrics>div.cash-net{background:#edf4ea}.cash-metrics>div>span{display:block;font-size:12px;color:#50695a;margin-bottom:12px}.cash-metrics strong{display:block;font-size:clamp(18px,2vw,32px);font-weight:550;line-height:1.25;letter-spacing:-.6px;white-space:nowrap}.cash-metrics small{display:block;font-size:10px;color:#6d7b6e;margin-top:12px}
.report-method{border-top:1px solid var(--line);padding-top:20px;margin-top:30px;color:#627467;font-size:11px;line-height:1.8}.report-method strong{display:block;color:#405d4d;margin-bottom:7px;font-size:12px}.report-method p{margin-bottom:6px}.report-next{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;margin:22px 0;font-size:12px}.report-provenance{max-width:none;margin:28px 0 0;padding:18px 0 0;font-size:9px;line-height:1.8;gap:20px;color:#6a7b70}.report-provenance>span:last-child{text-align:right}.report-history{margin-top:24px}.report-history summary{font-size:12px;cursor:pointer;font-weight:600}.report-empty{padding:30px 0;color:var(--muted)}
.report-breakdown-section+.report-breakdown-section{margin-top:35px}.allocation-table{min-width:550px}.allocation-table th[scope=row]{font-size:12px;font-weight:550;text-transform:none;letter-spacing:0;color:var(--ink)}.allocation-table th small{display:block;margin-top:4px;font-size:10px;font-weight:400;color:var(--muted)}.allocation-table td{font-size:13px}.allocation-table tfoot th,.allocation-table tfoot td{border-top:16px solid #fff;box-shadow:inset 0 2px 0 #bdcebd;background:#f1f6ee;font-weight:650}.report-category-detail{margin-top:16px}.report-category-detail>summary{font-size:12px;color:var(--teal);cursor:pointer}.allocation-categories{margin-top:18px}.allocation-categories h3{font-size:12px}.allocation-categories table{min-width:500px}.allocation-categories th[scope=row]{font-weight:400;text-transform:none;color:var(--ink);letter-spacing:0}
.detailed-register{min-width:740px;table-layout:fixed}.detailed-register th:nth-child(1){width:22%}.detailed-register th:nth-child(2){width:27%}.detailed-register th:nth-child(3){width:16%}.detailed-register th:nth-child(4){width:35%}.detailed-register td{vertical-align:top;font-size:11px;overflow-wrap:anywhere;padding:18px 10px}.detailed-register td small{font-size:10px;margin-top:7px;line-height:1.6}.detailed-register td strong{font-size:11px;font-weight:650}.detailed-register .report-notes{min-width:0;max-width:none}.detailed-register .report-notes p{margin:0 0 8px;font-size:11px}.detailed-register .pill{font-size:9px;white-space:normal;margin-top:7px}.detailed-register .report-doc-reference{font-size:10px;margin-top:8px}.register-excluded{background:#f7f8f3}.report-register-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:25px 0}.report-register-totals h2{font-size:14px}.report-register-totals dl{font-size:12px}.report-register-totals dl>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0}.report-register-totals dd{margin:0}.report-evidence-index{border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.report-evidence-index h2{font-size:17px}.report-index-row{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:11px}.report-index-row>span{display:block;font-size:10px;color:var(--muted);margin:5px 0 0 24px}.report-index-row b{margin-right:5px}
@media(max-width:1100px){.report-paper{padding:24px}.cash-metrics>div{padding:20px 14px}.report-view-nav a{font-size:11px}.report-title-row h1{font-size:28px}}
@media(max-width:600px){.report-paper{padding:20px 16px}.report-paper-heading{gap:12px}.report-identity>span{font-size:21px}.report-period-label{font-size:11px}.report-period-label small{font-size:9px}.report-identity small{font-size:6px;letter-spacing:.6px}.report-title-row{display:block}.report-title-row>.pill{margin-bottom:10px;max-width:none}.report-title-row h1{font-size:28px}.report-view-nav{display:flex;flex-wrap:wrap}.report-view-nav a{flex:1 1 100%;justify-content:flex-start;font-size:12px;padding:10px}.cash-metrics{grid-template-columns:1fr}.cash-metrics>div{padding:18px}.cash-metrics>div+div{border-left:0;border-top:1px solid #e0e7dc}.cash-metrics strong{font-size:30px}.cash-metrics small{margin-top:5px}.cash-metrics>div>span{margin-bottom:6px}.report-register-totals{grid-template-columns:1fr}.report-provenance{flex-direction:column;gap:8px}.report-provenance>span:last-child{text-align:left}.report-currency-heading{flex-wrap:wrap}.report-toolbar{gap:8px}.report-toolbar .button{font-size:10px}}
@media print{
 @page{size:A4 landscape;margin:12mm}
 body{background:#fff;color:#172b23;font-size:10pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 /* Screen navigation never belongs in printed reports or Save as PDF output. */
 .sidebar,.environment,.workspace>footer,.no-print,.report-toolbar,.report-view-nav,.report-next,.report-history,dialog{display:none!important}.workspace{margin:0}main{padding:0;max-width:none;min-height:0}
 .report-paper{padding:0;border:0;box-shadow:none;border-radius:0}.report-paper-heading{margin-bottom:15px;padding-bottom:12px}.report-title-row h1{font-size:23pt}.report-intro{margin:12px 0 18px}.cash-metrics strong{font-size:26pt}.cash-metrics>div{padding:20px}.report-provenance{break-inside:avoid}
 .table-wrap{overflow:visible}.detailed-register,.allocation-table{min-width:0;width:100%}.detailed-register td{padding:10px 8px}.detailed-register tr,.allocation-table tr,.report-index-row{break-inside:avoid}.detailed-register thead,.allocation-table thead{display:table-header-group}.detailed-register th{font-size:8pt}.detailed-register td,.detailed-register td strong{font-size:8pt}.detailed-register td small,.detailed-register .report-doc-reference{font-size:7pt}
 .report-category-detail{display:none!important}.report-register-totals,.cash-summary,.report-method{break-inside:avoid}.report-status-notice{break-inside:avoid}.report-status-notice a{display:none}.report-view-nav{display:none}.report-evidence-index h2{break-after:avoid}
}

/* A blocked report action always has an explanation and a next step. */
#report-problem{width:min(660px,calc(100vw - 30px));max-height:85vh;padding:0;overflow:auto;border:1px solid #e0d8c9;border-radius:16px}
.report-problem-heading{display:flex;align-items:flex-start;gap:14px;padding:24px 24px 19px;border-bottom:1px solid var(--line);background:#fffaf5}
.report-problem-heading>.icon-button{margin-left:auto;line-height:1}.report-problem-heading h2{font-size:21px;line-height:1.3;margin:0}.report-problem-heading .eyebrow{margin:0 0 7px;font-size:9px;letter-spacing:1px}.report-problem-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#f9e5df;color:#a84032;font-weight:750;font-size:21px}.report-problem-body{padding:20px 24px 6px}.report-problem-body>p{font-size:13px;line-height:1.75}.report-problem-error{padding:12px 14px;border-left:3px solid #b95444;background:#fff4ef;color:#913e32;font-weight:600}.report-problem-check-heading{font-size:12px;margin:21px 0 0}.report-problem-ready{color:var(--teal)}.report-problem-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:16px 24px;background:#fff;border-top:1px solid var(--line)}.report-finalize-hint{font-size:11px;color:#94602c;margin:9px 0 0;line-height:1.6}#draft-changes{scroll-margin-top:20px}
@media(max-width:600px){.report-problem-heading{padding:20px 16px;gap:10px}.report-problem-heading h2{font-size:19px}.report-problem-body{padding:16px 18px 4px}.report-problem-actions{padding:14px 18px}.report-problem-actions .button{white-space:normal}}

/* A separate, self-contained chart page follows the breakdown tables. */
.report-chart-page{margin-top:30px;scroll-margin-top:20px}.report-chart-page .report-title-row h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;line-height:1.2;font-weight:500;letter-spacing:-.5px;margin:0 0 12px}.sankey-intro{font-size:12px;color:#627467;margin:2px 0 22px}.sankey-scroll{overflow-x:auto;overscroll-behavior-inline:contain;border-radius:6px}.sankey-scroll:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.report-sankey{display:block;width:100%;min-width:850px;height:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sankey-column-label{font-size:17px;font-weight:700;fill:#202020}.sankey-flows path{fill-opacity:.36}.sankey-flows path:hover{fill-opacity:.5}.sankey-hub{fill:#718272}.sankey-label{font-size:17px;font-weight:700;fill:#202020}.sankey-amount{font-size:18px;font-weight:650;fill:#253a35}.sankey-increase .sankey-amount{fill:#245e53;font-weight:700}.sankey-outflow .sankey-amount,.sankey-decrease .sankey-amount{fill:#ad3434;font-weight:700}.sankey-notes{border-top:1px solid var(--line);margin-top:16px;padding-top:14px;font-size:11px;color:#627467;line-height:1.7}.sankey-notes p{margin-bottom:6px}.sankey-mobile-help{display:none;font-size:10px;color:var(--muted);margin:10px 0}.report-chart-status{color:#94602c;font-size:11px;margin:6px 0 12px}.report-breakdown .allocation-table th[scope=col],.report-breakdown .allocation-categories th[scope=col]{text-transform:none;letter-spacing:0}
@media(max-width:1100px){.sankey-mobile-help{display:block}}
@media print{
 .report-chart-page{break-before:page;page-break-before:always;break-inside:avoid;page-break-inside:avoid;margin:0}
 .report-chart-page .report-paper-heading{margin-bottom:8px;padding-bottom:8px}.report-chart-page .report-title-row h2{font-size:18pt;margin-bottom:4px}.report-chart-page .eyebrow{font-size:7pt;margin-bottom:5px}.report-chart-page .sankey-intro{font-size:8pt;margin:0 0 8px}.sankey-scroll{overflow:visible}.report-sankey{min-width:0;width:100%;max-height:112mm}.sankey-notes{font-size:7.5pt;margin-top:8px;padding-top:8px}.report-chart-page .report-provenance{font-size:7pt;margin-top:10px;padding-top:8px}.report-chart-status{font-size:7.5pt;margin:4px 0 8px}
}

/* Allocation sections separate the subtotals from the quarter total. */
.allocation-table .allocation-section-heading th{padding:12px 14px;background:#edf2ec;color:#456451;font-size:11px;letter-spacing:.4px;text-transform:none;font-weight:700;border-bottom:1px solid #cfdbce}
.allocation-table .allocation-subtotal th,.allocation-table .allocation-subtotal td{border-top:1px solid #bdcebd;background:#f8faf6;font-weight:650}
.allocation-table .allocation-subtotal th small{font-weight:600;color:#627467;margin-top:3px}
.allocation-section+.allocation-section .allocation-section-heading th{border-top:10px solid white}
.category-print-hint{font-size:11px;color:var(--muted);margin:12px 0}
@media print{
 .allocation-table td,.allocation-table th[scope=row]{padding:6px 10px;font-size:9pt}.allocation-table th small{margin-top:2px;font-size:7pt}.allocation-table .allocation-section-heading th{padding:7px 10px;font-size:8pt;break-after:avoid}.allocation-section+.allocation-section .allocation-section-heading th{border-top-width:6px}
 .report-breakdown .report-intro{margin:8px 0 12px}.report-breakdown .report-draft-note{padding:8px 12px;margin:10px 0 14px}.report-breakdown .report-method{font-size:7.5pt;line-height:1.5;margin-top:16px;padding-top:12px}.report-breakdown .report-method strong{font-size:8pt;margin-bottom:4px}.report-breakdown .report-provenance{margin-top:14px;padding-top:10px}
 .report-chart-page .sankey-notes{line-height:1.4;margin-top:6px;padding-top:6px}.report-chart-page .sankey-notes p{margin-bottom:4px}.report-chart-page .report-provenance{line-height:1.4;margin-top:8px;padding-top:6px}.allocation-section-heading{break-after:avoid}.allocation-subtotal{break-before:avoid}
}

/* Do not shrink or clip labels to squeeze a crowded chart onto the page. */
.sankey-fallback[hidden],.sankey-scroll[hidden],.sankey-mobile-help[hidden]{display:none!important}
.sankey-fallback>p{font-size:12px;color:var(--muted)}
.sankey-fallback-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sankey-fallback h3{font-size:13px;color:#202020}
.sankey-fallback table{table-layout:fixed;width:100%}.sankey-fallback th,.sankey-fallback td{overflow-wrap:anywhere;font-size:12px;padding:8px 6px}.sankey-fallback th[scope=row]{font-weight:700;color:#202020;text-transform:none;letter-spacing:0}.sankey-fallback .sankey-negative{color:#ad3434;font-weight:700}.sankey-fallback .sankey-positive{color:#245e53;font-weight:700}
@media(max-width:600px){.sankey-fallback-columns{grid-template-columns:1fr}}
@media print{.report-chart-page.sankey-table-view{break-inside:auto;page-break-inside:auto}.sankey-fallback-columns{display:block}.sankey-fallback tr{break-inside:avoid}.sankey-fallback th,.sankey-fallback td{font-size:9pt}}

/* Ledger selections apply to the screen and all export formats. */
.register-export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.register-controls{background:#f4f7f2;border:1px solid #dde5db;border-radius:10px;padding:18px;margin:20px 0 28px}.register-filter-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px}.register-filter-grid label{font-size:11px;margin:0}.register-filter-grid input,.register-filter-grid select{width:100%;min-width:0;margin-top:5px;background:white}.register-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px}.register-controls p{font-size:11px;color:#526257;margin:10px 0}.register-jump{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:11px;padding-top:12px;border-top:1px solid #dde5db}.register-month{margin-top:28px;scroll-margin-top:20px}.register-month-heading{display:flex;align-items:baseline;gap:15px}.register-month-heading h2{font-size:20px}.register-month-heading>span{font-size:11px;color:var(--muted)}.register-wrap{max-height:72vh;overflow:auto}.detailed-register th{position:sticky;top:0;z-index:1;background:#eef3ed;text-transform:none;letter-spacing:0}.detailed-register th:nth-child(1){width:20%}.detailed-register th:nth-child(2){width:29%}.detailed-register th:nth-child(3){width:14%}.detailed-register th:nth-child(4){width:37%}.detailed-register td{padding:14px 10px;font-size:12px}.detailed-register td strong,.detailed-register .report-notes p{font-size:12px}.detailed-register td small,.detailed-register .report-doc-reference{font-size:11px;line-height:1.55;margin-top:5px}.detailed-register .pill{font-size:10px}.register-attention{color:#a4492e;font-weight:700}.register-month-totals{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.2fr;gap:12px;background:#f4f7f2;border-bottom:1px solid #d5dfd4;padding:16px 12px;font-size:11px}.register-month-totals>b{font-size:12px}.register-month-totals small{display:block;font-weight:400;font-size:10px;margin-top:5px}.register-month-totals>span{text-align:right}.register-month-totals strong{display:block;font-size:14px;margin-top:5px}.register-quarter-totals{margin-top:38px;scroll-margin-top:20px}.register-totals-table{min-width:560px}.register-totals-table th{text-transform:none;letter-spacing:0}.register-combined{background:#eef3ed;font-weight:700}.report-register .report-index-row{font-size:12px;line-height:1.7;scroll-margin-top:20px}.report-register .report-index-row>span{font-size:11px;margin-left:0}.report-register .report-index-row p{font-size:11px;margin:5px 0}.register-appendix{margin-top:30px}.register-appendix>.no-print{padding:20px;background:#f4f7f2;border-radius:8px}.register-appendix h2{font-size:18px}.register-appendix p{font-size:12px}.register-invoice-page{margin-top:25px;border:1px solid var(--line);padding:20px}.register-invoice-page header{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:12px}.register-invoice-page header>span{font-size:11px;color:#526257}.register-invoice-page img{display:block;max-width:100%;max-height:780px;object-fit:contain;margin:0 auto}#register-print-error{width:min(560px,90vw);border:1px solid #d8dfd6;border-radius:12px;padding:25px}#register-print-error p{overflow-wrap:anywhere}
@media(max-width:1000px){.register-filter-grid{grid-template-columns:1fr 1fr}.register-month-totals{grid-template-columns:1fr 1fr}.register-month-totals>span{text-align:left}}
@media(max-width:600px){.register-filter-grid{grid-template-columns:1fr}.register-export-actions{justify-content:flex-start}.register-controls{padding:14px}.register-month-totals{gap:16px}.register-month-totals strong{font-size:13px}}
@media print{
 .register-wrap{overflow:visible;max-height:none}.detailed-register th{position:static;font-size:9pt}.detailed-register td,.detailed-register td strong,.detailed-register .report-notes p{font-size:9pt}.detailed-register td small,.detailed-register .report-doc-reference{font-size:8pt}.detailed-register tr{break-inside:auto}.detailed-register td{padding:8px}.register-month{margin-top:15px}.register-month-heading{break-after:avoid}.register-month-totals{grid-template-columns:1.35fr 1fr 1fr 1.2fr;break-inside:avoid;padding:10px}.register-month-totals>span{text-align:right}.register-month-totals strong{font-size:10pt}.register-totals-table{min-width:0}.report-register .report-index-row{font-size:9pt;break-inside:auto}.report-register .report-index-row>span{font-size:8pt}#register-appendix-pages[hidden]{display:block!important}.register-invoice-page{break-before:page;break-inside:avoid;margin:0;padding:0;border:0;height:181mm;display:flex;flex-direction:column}.register-invoice-page header{flex:0 0 auto;font-size:10pt}.register-invoice-page img{min-height:0;flex:1 1 auto;width:100%;max-height:161mm;object-fit:contain}.report-register:has(.register-invoice-page)>.report-provenance{display:none}
}
.detailed-register th{font-size:11px}.detailed-register td small{color:#526257}.register-appendix.report-paper{padding:22px 34px}.register-appendix>.no-print{padding:0;background:transparent}
@media print{
 @page invoice-portrait{size:A4 portrait;margin:12mm}
 .register-appendix.report-paper{padding:0;margin:0}.register-invoice-page.invoice-portrait{page:invoice-portrait;height:267mm}.register-invoice-page.invoice-portrait img{max-height:247mm}.register-invoice-page:has([data-image-error]:not([hidden])) img{display:none}.register-appendix:not(:has(.register-invoice-page)):not(:has([data-appendix-error])){display:none}.detailed-register th{font-size:9pt}
}

.detailed-register{min-width:840px}.detailed-register th:nth-child(2){width:27%}.detailed-register th:nth-child(3){width:16%}
@media print{.detailed-register{min-width:0}}

/* Compact ledger rows preserve the same readable type and complete notes. */
.register-section-options{border:0;border-top:1px solid #dde5db;margin:14px 0 0;padding:12px 0 0;display:flex;flex-wrap:wrap;gap:10px 22px}.register-section-options legend{font-size:12px;font-weight:700;padding:0 5px 0 0}.register-section-options label{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.register-section-options input{width:16px;height:16px;margin:0;accent-color:#245443}.register-scope{padding:12px 16px;border-left:3px solid #aaba9e;background:#f5f7f1;margin-bottom:22px;overflow-wrap:anywhere}.register-scope p{font-size:12px;margin:5px 0}.register-scope small{font-size:11px;color:#526257}.detailed-register td{padding:9px 10px}.detailed-register td small,.detailed-register .report-doc-reference{margin-top:3px;line-height:1.4}.detailed-register .report-notes p{margin-bottom:4px}.register-month-totals>b>span{display:block}.register-export-actions a[aria-disabled="true"]{opacity:.55}.report-index-row [data-transaction-backlink]{display:inline-block;margin-right:8px}
@media print{[data-report-content][hidden],[data-register-row][hidden],.register-month[hidden],[data-statement-index][hidden],[data-evidence-index][hidden],[data-evidence-page][hidden],[data-transaction-backlink][hidden]{display:none!important}.detailed-register td{padding:5px 8px}.detailed-register td small,.detailed-register .report-doc-reference{line-height:1.3;margin-top:2px}.register-scope{break-inside:avoid}.register-section-options{display:none!important}}

/* Ledger preparation and safe direct-print fallback for on-demand originals. */
.report-export-status{margin:0 0 18px;font-size:13px;color:#385846}
[data-export-busy="true"]{opacity:.65;cursor:wait}
.ledger-print-warning{display:none}
@media print{
 [data-evidence-document][hidden]{display:none!important}
 body:has(.report-register):not(.ledger-native-print-ready) .report-paper{display:none!important}
 body:has(.report-register):not(.ledger-native-print-ready) .ledger-print-warning{display:block;font-size:14pt;padding:20mm}
}

.credit-card-subtotal{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.2fr;gap:12px;padding:9px 12px;font-size:11px;border-bottom:1px solid #e4e9e1}.credit-card-subtotal>span{text-align:right}.credit-card-subtotal b{font-weight:600}.register-totals-table th small,.register-totals-table td small{display:block;font-weight:400;color:#526257;font-size:10px;margin-top:4px}@media(max-width:1000px){.credit-card-subtotal{grid-template-columns:1fr 1fr}.credit-card-subtotal>span{text-align:left}}@media print{.credit-card-subtotal{grid-template-columns:1.35fr 1fr 1fr 1.2fr;break-inside:avoid}.credit-card-subtotal>span{text-align:right}}

/* Credit-ledger controls stay compact; all row details remain fully readable. */
.report-credit-ledger .report-paper-heading{margin-bottom:18px;padding-bottom:16px}
.report-credit-ledger .report-title-row h1{margin-bottom:0}
.report-credit-ledger .report-draft-note{margin:12px 0;padding:8px 12px}
.report-credit-ledger #register-intro-count{margin:10px 0}
.report-credit-ledger .register-controls{margin:12px 0 16px;padding:14px}
.report-credit-ledger .register-section-options{margin-top:10px;padding-top:8px;gap:8px 20px}
.report-credit-ledger .register-jump{padding-top:8px}
.report-credit-ledger .register-scope{padding:8px 12px;margin-bottom:14px}
.report-credit-ledger .register-month{margin-top:18px}
.report-credit-ledger .detailed-register th:nth-child(1){width:22%}
.report-credit-ledger .detailed-register th:nth-child(2){width:36%}
.report-credit-ledger .detailed-register th:nth-child(3){width:14%}
.report-credit-ledger .detailed-register th:nth-child(4){width:28%}
.credit-card-subtotal[hidden],[data-card-subtotal][hidden],[data-total-currency][hidden]{display:none!important}
#register-hidden-payments{font-size:12px;line-height:1.6}
#register-hidden-payments .text-button{font-size:12px;margin-left:6px}

/* The unfinished accounting workspace has no effect on existing report layouts. */
@media screen and (min-width:851px){.sidebar>nav{min-height:0;overflow-y:auto;flex:1}.sidebar>.brand,.sidebar-bottom{flex-shrink:0}}
.sidebar nav .accounting-nav-status{margin-left:auto;padding:2px 5px;border:1px solid #e4d8ba;border-radius:4px;background:#fbf6e9;color:#80601d;font-size:9px;font-weight:700;letter-spacing:.4px;line-height:1.4}
.accounting-workspace{max-width:1080px}
.accounting-title{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.accounting-title h1{margin:0}
.accounting-status{display:inline-block;border:1px solid #e4d8ba;background:#fbf6e9;color:#80601d;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:650;white-space:nowrap}
.accounting-intro{background:#eaf0e5;border-color:#d9e3d1;padding:28px 30px;margin-bottom:30px}
.accounting-intro .eyebrow{color:#63765b;margin-bottom:10px}
.accounting-intro h2{font-family:Georgia,serif;font-size:27px;font-weight:500}
.accounting-intro p{max-width:720px}
.accounting-intro .accounting-preview-note{font-size:12px;color:#52674d;margin-bottom:0}
.accounting-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.accounting-plan{margin:0;padding:24px}
.accounting-plan-number{display:block;font-size:11px;color:#6b8173;font-weight:600;margin-bottom:12px}
.accounting-plan h3{font-size:17px;margin-bottom:9px}
.accounting-plan p{color:#66776e;font-size:13px;margin:0;line-height:1.7;max-width:440px}
.accounting-footnote{font-size:12px;color:#66776e;margin:22px 0 0}
@media(max-width:600px){.accounting-workspace .page-header{align-items:flex-start;flex-direction:column;gap:16px}.accounting-title{gap:10px}.accounting-plans{grid-template-columns:1fr}.accounting-intro{padding:22px}.accounting-intro h2{font-size:24px}.accounting-plan{padding:22px}}

/* Optional core metadata stays inside the established forms. */
.core-capture{margin:14px 0;border-top:1px solid var(--border,#dce3de);padding-top:12px}.core-capture summary{font-weight:600;cursor:pointer}.core-capture label{margin-top:12px}.capture-split-row{padding:12px;border:1px solid #dce3de;border-radius:8px;margin:12px 0}.capture-split-row select,.capture-split-row input{max-width:100%}
/* Accounting is deliberately scoped so existing review and reports keep their layout. */
.accounting-workspace{max-width:1180px}.accounting-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:0 0 16px;padding-bottom:9px}.accounting-tabs a{padding:9px 12px;margin:0;font-size:12px}.accounting-tabs a[aria-current=page]{background:#e5eee4;color:var(--teal);font-weight:700}.accounting-scope{font-size:12px;color:#67776c;max-width:940px;margin-bottom:24px}.accounting-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.accounting-metrics .panel{display:flex;flex-direction:column;gap:7px}.accounting-metrics strong{font-size:34px;line-height:1.2}.accounting-metrics span,.accounting-metrics a{font-size:12px}.accounting-badge{display:inline-block;border:1px solid #d9e1db;background:#f0f3ef;padding:4px 7px;border-radius:6px;font-size:11px;font-weight:700}.accounting-badge.good{color:#235641;background:#e8f3e9;border-color:#b9d3bf}.accounting-badge.pending{color:#80511d;background:#fff4df;border-color:#e3cf9f}.accounting-badge.attention{color:#9d382a;background:#fff0eb;border-color:#e5b6aa}.accounting-workspace td small{display:block;margin-top:4px}.accounting-workspace .table-wrap{max-width:100%;overflow:auto}.accounting-source-form{display:grid;grid-template-columns:minmax(130px,1fr) minmax(170px,2fr) auto;gap:12px;align-items:center;padding:17px 0;border-top:1px solid var(--line)}.accounting-source-form>a{grid-column:1/-1;font-size:12px;margin-top:-5px}.accounting-source-form label{margin:0}.accounting-source-form label small{display:block;color:var(--muted);font-weight:400}.accounting-source-form select{margin:0;min-width:0}.accounting-form{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:18px 0}.accounting-form label{flex:1 1 180px;margin:0}.accounting-form select,.accounting-form input{width:100%;margin:5px 0 0}.accounting-form>.button{margin-bottom:0}.accounting-form>a{padding-bottom:9px}.accounting-details{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}.accounting-details summary{cursor:pointer;color:var(--teal);font-weight:600}.accounting-checks{padding:17px 20px;background:#fff7ed;border:1px solid #e9d3b1;border-radius:9px;margin:18px 0}.accounting-checks h3{color:#855424}.accounting-checks ul{padding-left:19px;margin:0}.accounting-checks li{margin:9px 0;overflow-wrap:anywhere}.accounting-pagination{display:flex;gap:20px;justify-content:space-between;margin-top:18px;font-size:12px}.accounting-facts{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,3fr);gap:12px 20px}.accounting-facts dt{color:var(--muted)}.accounting-facts dd{margin:0;overflow-wrap:anywhere}.accounting-recon-math{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.accounting-recon-math>div{padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8faf6}.accounting-recon-math>div>span{display:block;font-size:11px}.accounting-recon-math strong{font-size:21px;display:block;margin-top:6px}.accounting-recon-math .accounting-difference{background:#fff1eb;border-color:#e5b6aa}.accounting-candidate,.accounting-close{padding:18px 0;border-top:1px solid var(--line);margin-top:16px}.accounting-candidate p{margin-bottom:7px}.accounting-candidate label{margin-top:12px}.accounting-candidate .review-actions{flex-wrap:wrap}.accounting-workspace summary{cursor:pointer}.accounting-workspace .section-heading{gap:16px;flex-wrap:wrap}
@media(max-width:700px){.accounting-metrics{grid-template-columns:1fr;gap:0}.accounting-metrics .panel{padding:18px;display:grid;grid-template-columns:1fr auto}.accounting-metrics a{grid-column:1/-1}.accounting-source-form{grid-template-columns:1fr}.accounting-source-form select{width:100%}.accounting-source-form .button{justify-self:start}.accounting-recon-math{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-facts{grid-template-columns:1fr;gap:5px}.accounting-facts dd{margin-bottom:12px}.accounting-tabs{gap:0}.accounting-tabs a{padding:8px 10px}.accounting-form{align-items:stretch}.accounting-form label{flex-basis:100%}}

/* Clear document templates, comfortable inputs and a stable preview workspace. */
.document-header h1{font-size:30px}.document-header .eyebrow{margin-bottom:7px}
#document-details-form input,#document-details-form select,#document-details-form textarea{font-size:14px;min-height:44px}
#document-details-form .date-entry{min-height:44px}
#document-details-form .date-part{min-height:40px}
#document-details-form [hidden],#transaction-link-picker [hidden]{display:none!important}
.document-type-help{margin:5px 0 9px}.document-type-help summary{font-size:11px;color:#53685b;padding:6px 0}
.document-type-help p{margin-bottom:9px}.document-field-conflict{padding:8px;border-left:3px solid #b76d28}
.document-secondary summary{display:list-item;line-height:1.6;min-height:42px;padding:10px 0;color:#263f31;font-weight:600}
.optional-summary{font-size:11px;font-weight:400;color:#526357;float:right;max-width:70%;text-align:right;overflow-wrap:anywhere;padding-left:10px}
.document-secondary summary::after{content:'';display:block;clear:both}
.document-save-bar{padding:10px 0 5px;background:#fff;bottom:0;box-shadow:0 -8px 10px #ffffffef;align-items:center;min-height:64px}
#document-save-status{flex-basis:100%;margin:0!important;min-height:16px;color:#416b51;font-size:11px}
#document-save-status.unsaved{color:#956020}
#document-details-form .document-save-bar .button{min-height:44px;font-size:12px}
#document-editor{scroll-margin-bottom:120px}#document-details-form input,#document-details-form select,#document-details-form textarea,#document-details-form summary{scroll-margin-bottom:130px;scroll-margin-top:70px}
.document-error-summary ul{padding-left:18px}.document-error-summary a{color:inherit;text-decoration:underline}
#document-details-form [aria-invalid=true]{border-color:#ac4535}
.document-amount-preview:empty{display:none}
.vendor-combobox{position:relative}.vendor-combobox input{padding-right:25px!important}
.vendor-combobox::after{content:'⌄';position:absolute;right:12px;top:12px;pointer-events:none}
#vendor-options{position:absolute;left:0;right:0;top:100%;z-index:8;background:white;border:1px solid #9ab4a2;border-radius:7px;box-shadow:0 6px 18px #19382620;max-height:280px;overflow:auto;margin-top:4px;padding:4px}
#vendor-options [role=option]{font-size:13px;line-height:1.4;min-height:44px;padding:12px 10px;border-radius:4px;cursor:pointer;overflow-wrap:anywhere}
#vendor-options [role=option]:hover,#vendor-options [aria-selected=true]{background:#e9f2e7;color:#1f513b}
#transaction-link-picker .field-heading{position:sticky;top:-22px;z-index:2;background:white;padding:10px 0}
#transaction-link-picker input:not([type=checkbox]),#transaction-link-picker select{min-height:44px;font-size:14px}
#transaction-link-picker .link-search-form{grid-template-columns:1fr 1fr}
#transaction-link-picker .link-search-form>input{grid-column:1/-1}
.match-weak-toggle{font-size:12px;min-height:44px;font-weight:400;margin:8px 0}
#transaction-link-picker .transaction-match{font-weight:400}.transaction-match>div{min-width:0;overflow-wrap:anywhere}
.document-detail-layout .preview-panel iframe{height:calc(100dvh - 110px);min-height:300px}
.document-flag[class*="status-linked-to-"]{background:#e8f2e8;color:#315e43}
.document-flag.status-not-linked{background:#f2f3eb;color:#586547}
@media(min-width:851px) and (max-width:1100px){.document-detail-layout{grid-template-columns:minmax(310px,1fr) minmax(210px,.85fr);gap:16px}.document-detail-layout>.panel{padding:20px}}
@media(max-width:850px){
  .document-mobile-tabs{position:sticky;top:0;z-index:9;box-shadow:0 4px 6px #fafbf6}.document-mobile-tabs button{min-height:44px;font-size:14px}
  .document-detail-layout .preview-panel iframe{height:calc(100dvh - 125px);min-height:280px}
  .document-detail-layout .preview-header{position:sticky;top:56px;padding:12px}
}
@media(max-width:600px){
  .document-breadcrumb{margin-bottom:12px}.document-header{margin-bottom:10px;gap:10px}.document-header .eyebrow{display:none}.document-header h1{font-size:25px;line-height:1.2}.document-header .document-subtitle{font-size:12px;margin-top:8px}.document-state{margin-bottom:12px}
  #document-details-form input,#document-details-form select,#document-details-form textarea,#transaction-link-picker input:not([type=checkbox]),#transaction-link-picker select{font-size:16px}
  #document-details-form .date-entry{min-height:46px}#document-details-form .date-part{width:2.1em;min-height:42px}#document-details-form .date-year{width:3.4em}
  #document-details-form .form-row{grid-template-columns:1fr;gap:0}
  #document-details-form .document-save-bar .button{font-size:13px;min-height:46px}
  .document-save-bar{padding-bottom:max(8px,env(safe-area-inset-bottom));bottom:0}
  .document-detail-layout>.panel{padding:15px}.optional-summary{max-width:65%}
  #transaction-link-picker{padding:16px;max-height:90dvh;width:calc(100vw - 20px)}#transaction-link-picker .field-heading{top:-16px}#transaction-link-picker .link-search-form{grid-template-columns:1fr}
  #transaction-link-picker .button{min-height:44px}.invoice-link-row{flex-wrap:wrap}.invoice-link-row .button{margin-left:auto}
}
