*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246/0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246/0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.block{display:block}.table{display:table}.grid{display:grid}.resize{resize:both}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{--ink:#152c3e;--muted:#667886;--canvas:#f3f6f8;--surface:#ffffff;--border:#d8e0e6;--nav:#102b3d;--nav-soft:#1a3a50;--teal:#0f766e;--teal-soft:#def1ee;--gold:#b7791f;--gold-soft:#fff4cf;--danger:#b42318;--danger-soft:#feeceb;--auto:#e7f4ed;--derived:#e0eaf5}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font-family:Arial,Helvetica,sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);transition:grid-template-columns .2s ease}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--nav);color:white}.brand{display:flex;gap:12px;align-items:center;min-height:87px;padding:22px 20px;border-bottom:1px solid rgb(255 255 255/12%);white-space:nowrap}.brand-mark{display:grid;flex:0 0 42px;place-items:center;width:42px;height:42px;border-radius:10px;background:#d99a34;color:#102b3d;font-weight:800}.brand small{display:block;margin-top:3px;color:#b8c7d1}.sidebar-toggle{display:flex;align-items:center;gap:11px;min-height:38px;margin:10px 12px 0;border:1px solid rgb(255 255 255/12%);border-radius:8px;padding:8px 11px;background:transparent;color:#b8c7d1;font-size:12px;white-space:nowrap}.sidebar-toggle:hover{background:var(--nav-soft);color:white}.nav-link svg,.sidebar-signout svg,.sidebar-toggle svg{flex:0 0 auto}.sidebar-shortcut{margin-left:auto;border:1px solid rgb(255 255 255/18%);border-radius:4px;padding:1px 5px;color:#9eb0bc;font-family:inherit;font-size:10px}.nav{padding:18px 12px;display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:11px;border-radius:8px;padding:11px 12px;color:#dce6eb;font-size:14px;white-space:nowrap}.nav-link.active,.nav-link:hover{background:var(--nav-soft);color:white}.sidebar-footer{margin-top:auto;padding:14px;border-top:1px solid rgb(255 255 255/12%)}.user-chip{margin-bottom:10px;padding:10px;border-radius:8px;background:rgb(255 255 255/8%);font-size:12px;color:#dce6eb}.sidebar-signout{width:100%}.app-shell.sidebar-collapsed .brand{justify-content:center;padding-inline:12px}.app-shell.sidebar-collapsed .brand-copy,.app-shell.sidebar-collapsed .sidebar-label,.app-shell.sidebar-collapsed .sidebar-shortcut,.app-shell.sidebar-collapsed .user-chip{display:none}.app-shell.sidebar-collapsed .nav-link,.app-shell.sidebar-collapsed .sidebar-toggle{justify-content:center;gap:0;padding-inline:10px}.app-shell.sidebar-collapsed .nav{padding-inline:10px}.app-shell.sidebar-collapsed .sidebar-footer{padding-inline:12px}.app-shell.sidebar-collapsed .sidebar-signout{padding-inline:8px}.main{min-width:0}.mobile-bar{display:none}.page{width:100%;max-width:1720px;margin:0 auto;padding:28px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.eyebrow{color:var(--teal);font-weight:700;text-transform:uppercase;letter-spacing:.09em;font-size:11px}h1{margin:5px 0 0;font-size:28px;letter-spacing:-.025em}.subtitle{margin:6px 0 0;color:var(--muted);font-size:14px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 8px rgb(15 42 61/5%)}.panel-pad{padding:18px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat{padding:17px}.stat-label{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}.stat-value{margin-top:8px;font-size:25px;font-weight:700}.stat-detail{margin-top:4px;color:var(--muted);font-size:12px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:16px}.page-header>.toolbar{margin-bottom:0}.field{display:grid;gap:5px}.field label{color:var(--muted);font-size:12px;font-weight:600}input,select{min-height:38px;border:1px solid var(--border);border-radius:7px;background:white;color:var(--ink);padding:8px 10px;outline:none}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}.checkbox-field{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;border:1px solid var(--border);border-radius:7px;color:var(--ink);font-size:12px;font-weight:600;cursor:pointer}.checkbox-field input{width:16px;height:16px;min-height:0;margin:0;padding:0;flex-shrink:0;accent-color:var(--teal);cursor:pointer}.checkbox-field:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-soft)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid transparent;border-radius:7px;padding:8px 13px;background:var(--teal);color:white;font-weight:700;font-size:13px}.button:hover{filter:brightness(.94)}.button.secondary{background:white;color:var(--ink);border-color:var(--border)}.button.danger{background:var(--danger)}.button:disabled{cursor:not-allowed;opacity:.55}.alert{margin-bottom:14px;border-radius:8px;padding:10px 12px;font-size:13px}.alert.error{background:var(--danger-soft);color:var(--danger);border:1px solid #f8c9c5}.alert.warning{background:var(--gold-soft);color:#7a4d0b;border:1px solid #ebd48d}.alert.success{background:var(--teal-soft);color:#0b5e58;border:1px solid #a9d8d2}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:10px;background:white}table{width:100%;border-collapse:collapse;font-size:13px}th{background:#edf2f5;color:#465b6a;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em}td,th{padding:11px 12px;border-bottom:1px solid var(--border);white-space:nowrap}tbody tr:hover{background:#f8fafb}.numeric{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;text-transform:capitalize;background:#e8edf1;color:#52636f}.badge.paid,.badge.submitted{background:var(--teal-soft);color:#0d665f}.badge.draft,.badge.pending{background:var(--gold-soft);color:#79510f}.badge.cancelled,.badge.changed{background:var(--danger-soft);color:var(--danger)}.empty{padding:32px;text-align:center;color:var(--muted)}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:16px}.attachment-card{overflow:hidden;border:1px solid var(--border);border-radius:10px;padding:0;background:white;color:var(--ink);text-align:left;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.attachment-card:hover{border-color:#80b7b1;box-shadow:0 5px 16px rgb(15 42 61/11%);transform:translateY(-1px)}.attachment-card:focus-visible{outline:3px solid var(--teal-soft);border-color:var(--teal)}.attachment-preview{display:grid;width:100%;aspect-ratio:4/3;place-items:center;overflow:hidden;border-bottom:1px solid var(--border);background:#eef2f4}.attachment-preview img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;background:white}.attachment-file-icon{display:grid;justify-items:center;gap:8px;color:var(--muted);font-size:12px}.attachment-file-icon svg{color:var(--gold)}.attachment-meta{display:grid;gap:4px;padding:11px 12px}.attachment-meta strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.attachment-meta small{color:var(--muted);font-size:11px}.attachment-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:28px;background:rgb(8 23 33/78%);backdrop-filter:blur(3px)}.attachment-modal-card{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1180px,96vw);height:min(860px,92vh);overflow:hidden;border:1px solid rgb(255 255 255/20%);border-radius:14px;background:white;box-shadow:0 28px 90px rgb(0 0 0/38%)}.attachment-modal-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:1px solid var(--border)}.attachment-modal-card>header>div:first-child{display:grid;min-width:0;gap:3px}.attachment-modal-card>header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-modal-card>header small{color:var(--muted)}.attachment-modal-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.attachment-close{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--border);border-radius:8px;background:white;color:var(--ink)}.attachment-close:hover{background:var(--canvas)}.attachment-modal-body{display:grid;min-height:0;place-items:center;overflow:auto;background:#e8edf0}.attachment-modal-body img{display:block;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.attachment-modal-body iframe{width:100%;height:100%;border:0;background:white}.attachment-missing{display:grid;justify-items:center;gap:10px;color:var(--muted);text-align:center}.attachment-missing strong{color:var(--ink)}.table-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-bottom:10px}.table-toolbar>div:first-child{display:grid;gap:2px}.table-toolbar strong{color:var(--ink);font-size:13px}.table-toolbar span{color:var(--muted);font-size:11px}.grid-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.grid-toolbar-actions>button,.outline-actions{border:1px solid #cbd6dc;border-radius:5px;background:white}.grid-toolbar-actions>button{display:inline-flex;min-height:38px;align-items:center;gap:6px;padding:8px 12px;color:#3d5867;font-size:13px;font-weight:700;cursor:pointer}.grid-toolbar-actions>button:hover{border-color:#78909c}.grid-toolbar-actions>button:disabled{cursor:default;opacity:.45}.clipboard-status{color:#0b6b61!important;font-weight:700}.outline-actions{display:inline-flex;min-height:38px;align-items:stretch;padding:3px}.outline-actions button{display:inline-flex;min-height:30px;align-items:center;border:0;border-radius:4px;padding:5px 10px;background:transparent;color:#3d5867;font-size:13px;font-weight:750;cursor:pointer}.outline-actions button:hover{background:#f1f5f6;color:var(--teal)}.report-wrap{--row-number-width:42px;max-height:calc(100vh - 250px);overflow:auto;border:1px solid #cbd5db;border-radius:2px;background:white}.report-table{min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.report-table td,.report-table th{min-width:118px;border-right:1px solid #d6dee3;border-bottom:1px solid #d6dee3;padding:9px 11px}.report-table tr>:last-child,.report-table tr>:nth-last-child(2){border-right:0}.report-table tbody tr:last-child>td{border-bottom:0}.report-table thead th{position:sticky;top:24px;z-index:5;height:48px;background:#f3f5f6;color:#344b59;text-align:center;box-shadow:none}.report-table .metric{position:sticky;left:var(--row-number-width);z-index:4;min-width:270px;max-width:270px;background:white;font-weight:700;box-shadow:none}.report-table thead .metric{z-index:8;background:#edf1f3;text-align:left}.report-table td:last-child,.report-table th:last-child{position:sticky;right:0;z-index:3;box-shadow:none}.report-table thead th:last-child{z-index:7;background:#edf1f3}.report-table .month-total-head,.report-table td.month-total{border-left:1px solid #d6dee3}.report-table .sheet-column-headers th{top:0;z-index:9;height:24px;padding:2px 6px;background:#e8edf0;color:#536674;font-size:10px;font-weight:700;letter-spacing:0;text-align:center;text-transform:none;cursor:pointer}.report-table .sheet-column-headers .sheet-corner{left:0;z-index:12}.report-table .sheet-column-headers .sheet-corner:after{display:block;width:0;height:0;margin:7px 0 0 7px;border-right:6px solid transparent;border-bottom:6px solid #7a8b95;content:""}.report-table .sheet-column-headers .metric-column-letter{left:var(--row-number-width);z-index:11}.report-table .sheet-column-headers .month-total-letter{right:0;z-index:10}.report-table .sheet-row-number{position:sticky;left:0;z-index:7;width:var(--row-number-width);min-width:var(--row-number-width);max-width:var(--row-number-width);padding:0 5px;background:#eef2f4;color:#637681;font-size:10px;font-weight:600;text-align:center;cursor:pointer}.report-table thead .sheet-row-number{top:24px;z-index:10}.report-table .sheet-header-selected{background:#d7e8e4!important;color:#0f625c!important}.report-table tbody td{background:white}.report-table .derived{font-weight:700}.report-table td.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.report-table td.month-total{font-weight:800}.report-table tbody tr:hover>td{background:#f8fafb}.report-table tr.metric-group-start>*{border-top:0}.report-table tr.metric-group-start .metric{padding-left:10px}.report-table tr.metric-group-row:not(.metric-group-start) .metric{padding-left:42px}.report-table tr.metric-group-collapsed>td{border-bottom-color:#d6dee3}.report-table tr.metric-group-start .metric{box-shadow:none}.report-table tr.metric-summary-row>td{border-top:0}.report-table tr.metric-summary-row .metric-label{font-weight:850}.metric-title{display:flex;min-width:0;align-items:center;gap:7px}.metric-kind-indicator{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#64748b}.metric-kind-indicator.manual{background:#d08a24}.metric-kind-indicator.automated{background:#16877d}.metric-kind-indicator.derived{background:#637a96}.row-visibility-toggle{display:inline-grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border:0;border-radius:5px;padding:0;background:transparent;color:#7a8c97;opacity:.35}.report-table tbody tr:hover .row-visibility-toggle,.row-visibility-toggle:focus-visible{opacity:1}.row-visibility-toggle:hover{background:#edf2f4;color:var(--ink)}.row-visibility-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:1px}.metric-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metric-label small{display:inline;margin-left:6px;color:#526974;font-size:11px;font-weight:650}.metric-label strong{color:#0b5f58;font-weight:850}.grouped-metric .metric-label{font-weight:650}.group-toggle{display:inline-grid;flex:0 0 24px;width:24px;height:24px;place-items:center;border:1px solid #9db1bc;border-radius:5px;background:rgb(255 255 255/65%);color:#345361;cursor:pointer}.group-toggle:hover{border-color:var(--teal);background:white;color:var(--teal)}.group-toggle:focus-visible{outline:2px solid var(--teal);outline-offset:1px}.accounting-data-grid{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.accounting-data-grid [role=gridcell]:focus{outline:0}.accounting-data-grid .grid-cell{position:relative;height:42px;padding:0;outline:none;text-align:right;font-variant-numeric:tabular-nums}.grid-value{display:flex;width:100%;height:100%;align-items:center;justify-content:flex-end;padding:8px 10px;white-space:nowrap}.grid-cell.grid-editable{cursor:cell}.accounting-data-grid .grid-selected{background:#edf5f5!important}.accounting-data-grid .grid-active{background:white!important;outline:0;box-shadow:inset 0 0 0 2px #16877d}.accounting-data-grid .grid-cell.grid-active{z-index:2}.accounting-data-grid tbody .metric.grid-active{z-index:6}.accounting-data-grid td.month-total.grid-active{z-index:4}.grid-cell.grid-active:after{position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;border:1px solid white;background:#16877d;content:""}.grid-cell.grid-editing{z-index:3;background:white!important;box-shadow:inset 0 0 0 2px #16877d}.grid-editor{display:block;width:100%;max-width:100%;height:100%;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;padding:8px 10px;color:var(--ink);text-align:right;font:inherit;font-variant-numeric:tabular-nums}.grid-editor,.grid-editor:focus{outline:0;box-shadow:none!important}.grid-editor:focus{border:0}.grid-help{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:8px 2px 0;color:var(--muted);font-size:10px}.grid-help span+span{position:relative}.grid-help span+span:before{position:absolute;left:-8px;color:#b6c1c7;content:"·"}.column-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.06em}.selected-column{background:#e8f1f4!important}.report-table .sheet-field-headers .grid-selected{background:#edf5f5!important}.report-table .sheet-field-headers .grid-active{background:white!important}.day-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border:1px solid #cbd6dc;border-left:3px solid #43877f;border-radius:5px;padding:8px 10px;background:white}.day-summary.has-warning{border-left-color:#b67c19}.day-summary>div{display:flex;align-items:center;gap:8px}.day-summary span{border-left:1px solid #d5dde1;padding-left:8px;color:var(--muted);font-size:11px}.sheet-cell{position:relative;height:42px;padding:0!important;outline:none;cursor:cell;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sheet-cell .cell-value{display:flex;align-items:center;justify-content:flex-end;width:100%;height:100%;padding:7px 9px;text-align:right;font-variant-numeric:tabular-nums}.cell-empty,.sheet-cell .cell-empty{color:#8b98a1}.sheet-cell.cell-selected{z-index:2;box-shadow:inset 0 0 0 2px var(--teal)}.sheet-cell.cell-selected:after{content:"";position:absolute;right:-3px;bottom:-3px;width:6px;height:6px;border:1px solid white;background:var(--teal)}.sheet-cell.cell-editing{z-index:3;background:white;box-shadow:inset 0 0 0 2px var(--teal),0 2px 8px rgb(15 42 61/14%)}.sheet-editor{width:100%;height:100%;min-height:0;border:0;border-radius:0;background:transparent;padding:7px 9px;text-align:right;font-variant-numeric:tabular-nums;outline:none;box-shadow:none!important}.note-corner{position:absolute;top:0;right:0;width:0;height:0;border-top:9px solid var(--gold);border-left:9px solid transparent}.report-wrap.compact{--row-number-width:36px}.report-wrap.compact .report-table td,.report-wrap.compact .report-table th{min-width:88px;padding:4px 5px}.report-wrap.compact .report-table .sheet-row-number{min-width:var(--row-number-width);max-width:var(--row-number-width);padding:0 3px}.report-wrap.compact .report-table .metric{min-width:225px;max-width:225px}.report-wrap.compact .group-toggle,.report-wrap.compact .row-visibility-toggle{width:20px;height:20px;flex-basis:20px}.report-wrap.compact .report-table tr.metric-group-row:not(.metric-group-start) .metric{padding-left:34px}.report-wrap.compact .accounting-data-grid .grid-cell{height:30px}.report-wrap.compact .grid-editor,.report-wrap.compact .grid-value{padding:4px 6px;font-size:11px}.report-wrap.compact .sheet-cell{height:28px}.report-wrap.compact .sheet-cell .cell-value,.report-wrap.compact .sheet-editor{padding:3px 6px;font-size:11px}.report-wrap.compact .day-status{margin-top:1px;font-size:8px}.report-wrap.compact .note-corner{border-top-width:7px;border-left-width:7px}.day-head{cursor:pointer}.day-head.selected{background:#c9e6e2;color:#0b5f58}.day-number{display:block;color:var(--ink);font-size:15px;font-weight:850;line-height:1}.month-total-head{color:#183b4c!important;font-weight:850;white-space:nowrap}.day-status{display:block;margin-top:3px;font-size:9px;text-transform:none;letter-spacing:0}.day-actions{float:right;display:flex;gap:8px}.density-toggle{display:inline-flex;min-height:38px;padding:3px;border:1px solid var(--border);border-radius:8px;background:white}.density-toggle button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:5px;padding:5px 9px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.density-toggle button.active{background:var(--nav);color:white;box-shadow:0 1px 3px rgb(15 42 61/20%)}.daily-grid-section{min-width:0}.daily-inputs-page .day-summary .button,.daily-inputs-page .page-header .button{min-height:32px;padding:5px 10px;font-size:12px}.daily-inputs-page .density-toggle{min-height:32px;padding:2px}.daily-inputs-page .density-toggle button{min-height:26px;padding:4px 8px;font-size:11px}.daily-inputs-page .grid-toolbar-actions>button{min-height:32px;padding:5px 9px;font-size:12px}.daily-inputs-page .outline-actions{min-height:32px;padding:2px}.daily-inputs-page .outline-actions button{min-height:26px;padding:4px 8px;font-size:12px}.context-menu-content{z-index:80;min-width:220px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:white;padding:5px;color:var(--ink);box-shadow:0 12px 35px rgb(15 42 61/20%);animation:context-menu-in .12s ease-out}.context-menu-label{padding:6px 8px;color:var(--muted);font-size:11px;font-weight:700}.context-menu-separator{height:1px;margin:4px -5px;background:var(--border)}.context-menu-item{display:flex;align-items:center;gap:8px;border-radius:5px;padding:8px;outline:none;font-size:13px;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.context-menu-item[data-highlighted]{background:var(--teal-soft);color:#0b5e58}.context-menu-item[data-disabled]{opacity:.45;pointer-events:none}.context-menu-shortcut{margin-left:auto;color:var(--muted);font-size:10px}@keyframes context-menu-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#0e293c,#16465b)}.login-card{width:min(430px,100%);padding:32px;background:white;border-radius:14px;box-shadow:0 24px 80px rgb(0 0 0/25%)}.login-card .brand-mark{margin-bottom:18px}.login-card form{display:grid;gap:14px;margin-top:24px}@media (max-width:1000px){.app-shell{display:block}.sidebar{position:fixed;z-index:30;width:260px;transform:translateX(-100%);transition:transform .2s ease}.sidebar.open{transform:translateX(0)}.sidebar-toggle{display:none}.app-shell.sidebar-collapsed .brand{justify-content:flex-start;padding:22px 20px}.app-shell.sidebar-collapsed .brand-copy,.app-shell.sidebar-collapsed .sidebar-label,.app-shell.sidebar-collapsed .user-chip{display:initial}.app-shell.sidebar-collapsed .nav{padding:18px 12px}.app-shell.sidebar-collapsed .nav-link{justify-content:flex-start;gap:11px;padding:11px 12px}.app-shell.sidebar-collapsed .sidebar-footer{padding:14px}.app-shell.sidebar-collapsed .sidebar-signout{padding:8px 13px}.mobile-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--nav);color:white}.mobile-bar button{border:0;background:transparent;color:white}.page{padding:18px 14px}.stats{grid-template-columns:1fr 1fr}.grid-2{grid-template-columns:1fr}}@media (max-width:600px){.stats{grid-template-columns:1fr}.page-header{align-items:stretch;flex-direction:column}.attachment-modal{padding:0}.attachment-modal-card{width:100vw;height:100vh;border:0;border-radius:0}.attachment-modal-actions .button{padding-inline:9px}}.purchase-transfer-filters{gap:8px 10px}.purchase-transfer-filters .field{gap:4px;min-width:0}.purchase-transfer-filters .field label{font-size:11px;line-height:14px}.purchase-transfer-filters .button,.purchase-transfer-filters .checkbox-field,.purchase-transfer-filters .field input,.purchase-transfer-filters .field select{height:32px;min-height:32px;padding:5px 9px;border-radius:6px;font-size:12px;line-height:20px}.purchase-transfer-filters .field input:not([type=date]){width:200px;max-width:100%}.purchase-transfer-filters .field input[type=date]{width:140px}.purchase-transfer-filters .field select{min-width:120px}.purchase-transfer-filters .button{font-weight:600}.purchase-transfer-filters .checkbox-field{gap:6px;font-weight:500}.purchase-transfer-filters .checkbox-field input{width:14px;height:14px;min-height:0}.register-page{display:flex;flex-direction:column;height:100dvh;min-height:420px}.register-page>:not(.register-table-wrap){flex-shrink:0}.register-table-wrap{min-height:0;flex:1}.register-table-wrap table{border-collapse:separate;border-spacing:0}.register-table-wrap thead th{position:sticky;top:0;z-index:1;background:#edf2f5}.register-table-wrap:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.sidebar-icon{width:18px;flex:0 0 18px;text-align:center;font-size:16px;line-height:18px}.register-table-wrap{overflow-y:scroll;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#8a9da9 #edf2f5}.register-table-wrap::-webkit-scrollbar{width:12px;height:12px}.register-table-wrap::-webkit-scrollbar-track{background:#edf2f5}.register-table-wrap::-webkit-scrollbar-thumb{background:#8a9da9;border:3px solid #edf2f5;border-radius:8px}.register-table-wrap::-webkit-scrollbar-thumb:hover{background:#667886}.register-table-wrap::-webkit-scrollbar-corner{background:#edf2f5}.page.spreadsheet-page{display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:420px;padding:0;background:white}.spreadsheet-page>.page-header{flex:0 0 auto;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:0;padding:8px 12px;border-bottom:1px solid var(--border);background:var(--canvas)}.spreadsheet-page .page-header h1{margin:0;font-size:16px;line-height:24px}.spreadsheet-page .page-header .toolbar{align-items:center;gap:8px;margin:0}.spreadsheet-page .page-header .field{display:flex;align-items:center;gap:6px}.spreadsheet-page .page-header .field label{font-size:11px;white-space:nowrap}.spreadsheet-page .page-header .button,.spreadsheet-page .page-header input{min-height:28px;height:28px;padding:3px 8px;font-size:11px}.spreadsheet-page .day-summary{margin:0;padding:3px 7px;gap:8px}.spreadsheet-page .day-summary strong{font-size:13px}.spreadsheet-page .density-toggle{min-height:28px;padding:1px}.spreadsheet-page .density-toggle button{min-height:24px;padding:3px 6px;font-size:11px}.spreadsheet-page>.alert{flex-shrink:0;margin:0;padding:6px 12px;border-radius:0;font-size:12px}.spreadsheet-page>.stats{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:6px 12px;border-bottom:1px solid var(--border);background:var(--canvas)}.spreadsheet-page .stats .stat{display:flex;align-items:baseline;gap:6px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.spreadsheet-page .stats .stat-label{font-size:10px;letter-spacing:0;text-transform:none}.spreadsheet-page .stats .stat-value{margin:0;font-size:12px}.spreadsheet-page .stats .stat-detail{display:none}.spreadsheet-page .accounting-grid-shell,.spreadsheet-page .daily-grid-section{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.spreadsheet-page .table-toolbar{flex-shrink:0;gap:6px 12px;margin:0;padding:5px 12px;border-bottom:1px solid var(--border);background:#f7f9fa}.spreadsheet-page .table-toolbar>div:first-child>span{display:none}.spreadsheet-page .table-toolbar strong{font-size:12px}.spreadsheet-page .grid-toolbar-actions{gap:5px}.spreadsheet-page .grid-toolbar-actions>button{min-height:26px;padding:3px 7px;font-size:11px}.spreadsheet-page .outline-actions{min-height:26px;padding:1px}.spreadsheet-page .outline-actions button{min-height:22px;padding:3px 7px;font-size:11px}.spreadsheet-page .report-wrap{flex:1;min-height:0;max-height:none;border:0;border-radius:0;scrollbar-gutter:stable;scrollbar-color:#8a9da9 #edf2f5}.spreadsheet-page .grid-help{flex-shrink:0;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;margin:0;padding:5px 12px;border-top:1px solid var(--border);background:#f7f9fa;font-size:9px}@media (max-width:760px){.page.spreadsheet-page{height:calc(100dvh - 56px)}.spreadsheet-page>.page-header{flex-direction:row}.spreadsheet-page .page-header .toolbar{flex-wrap:wrap}}.spreadsheet-page .table-toolbar,.spreadsheet-page>.page-header{background:var(--nav);border-bottom-color:var(--nav-soft);color:white}.spreadsheet-page .page-header .field label,.spreadsheet-page .page-header h1,.spreadsheet-page .table-toolbar strong{color:#dce6eb}.grid-selection-summary{display:flex;align-items:center;flex-shrink:0;gap:8px 20px;overflow-x:auto;white-space:nowrap;padding:6px 12px;border-top:1px solid var(--border);background:#edf2f5;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.grid-selection-summary strong{margin-left:4px;color:var(--ink);font-weight:600}.grid-selection-summary .selection-count{margin-right:auto}.spreadsheet-page .day-summary{color:var(--ink)}.spreadsheet-page .day-summary span{color:var(--muted)}.spreadsheet-page .day-summary .button{color:white}.spreadsheet-page .day-summary .button.secondary{color:var(--ink)}.report-table .sheet-empty-row>td{border-bottom:1px solid #d6dee3!important}.workbook-tabs{display:flex;flex-shrink:0;align-items:stretch;gap:2px;min-height:34px;overflow-x:auto;background:#edf2f5;border-top:1px solid var(--border);padding:0 8px}.workbook-tabs button{flex-shrink:0;border:0;border-bottom:3px solid transparent;background:transparent;padding:6px 14px;color:var(--muted);font-size:12px}.workbook-tabs button.active{border-bottom-color:var(--teal);background:white;color:var(--ink);font-weight:700}.workbook-tabs button:hover{background:white}.workbook-tabs>span{margin-left:auto;align-self:center;padding:0 10px;white-space:nowrap;font-size:10px;color:var(--muted)}.sheet-storage-message{flex-shrink:0;padding:6px 12px;background:var(--gold-soft);color:#75470c;font-size:12px}.local-sheet-header>span{color:#dce6eb;font-size:11px}.local-sheet-header details{position:relative;margin-left:auto;font-size:12px}.local-sheet-header summary{cursor:pointer}.local-sheet-header details p{position:absolute;right:0;top:20px;z-index:12;width:min(340px,85vw);padding:12px;border:1px solid var(--border);border-radius:6px;background:white;color:var(--ink);box-shadow:0 4px 16px #102b3d22}.local-formula-bar{display:flex;flex-shrink:0;align-items:center;gap:10px;padding:4px 10px;background:#edf2f5;border-bottom:1px solid var(--border);font-size:12px}.local-formula-bar strong{width:50px}.local-formula-bar input{flex:1;min-width:0;min-height:28px;padding:3px 8px;font-size:12px}.local-sheet-viewport{flex:1;min-height:0;overflow:auto;outline:none;scrollbar-color:#8a9da9 #edf2f5}.local-sheet-table{table-layout:fixed;width:3164px;border-collapse:separate;border-spacing:0;font-size:12px}.local-sheet-table td,.local-sheet-table th{box-sizing:border-box;height:28px;max-height:28px;padding:3px 6px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-sheet-table thead th{position:sticky;top:0;z-index:3;background:#e8edf0;text-align:center}.local-sheet-table tr>th:first-child{position:sticky;left:0;z-index:2;background:#edf2f5;text-align:center}.local-sheet-table thead th:first-child{z-index:4}.local-sheet-table td{background:white;cursor:cell}.local-sheet-table td.selected{background:var(--teal-soft)}.local-sheet-table td.active{box-shadow:inset 0 0 0 2px var(--teal)}.local-sheet-table td.numeric{text-align:right}.local-sheet-table .local-sheet-spacer td{padding:0;border:0;max-height:none}.accounting-data-grid,.local-sheet-viewport{caret-color:transparent}.accounting-data-grid .grid-editor{caret-color:auto}.local-sheet-table{-webkit-user-select:none;-moz-user-select:none;user-select:none}.local-sheet-table td.formula-reference{background:#e7eefc;box-shadow:inset 0 0 0 1px #5476b9}.local-sheet-table td.draft-cell{text-align:left;color:var(--ink)}.page.spreadsheet-page{background:var(--nav)}.spreadsheet-page .grid-selection-summary,.spreadsheet-page .local-formula-bar,.spreadsheet-page .local-sheet-viewport,.spreadsheet-page .report-wrap,.spreadsheet-page .workbook-tabs{margin-inline:4px}.spreadsheet-page .report-wrap{border-radius:10px 10px 0 0;clip-path:inset(0 round 10px 10px 0 0)}.spreadsheet-page .local-formula-bar{border-radius:10px 10px 0 0}.spreadsheet-page .local-sheet-viewport{background:white}.spreadsheet-page .workbook-tabs{margin-bottom:4px;border-radius:0 0 10px 10px;clip-path:inset(0 round 0 0 10px 10px)}.spreadsheet-page .table-toolbar{border-bottom:0}@media (min-width:761px){.app-shell:has(.spreadsheet-page) .sidebar .brand{height:var(--sheet-start,87px);min-height:0;flex-shrink:0;padding-block:8px;border-bottom:0}.app-shell:has(.spreadsheet-page) .sidebar-toggle{margin-top:0}}.spreadsheet-page>.local-sheet-header{border-bottom:0}.spreadsheet-page .local-sheet-toolbar .grid-toolbar-actions>button{width:28px;height:28px;padding:5px;justify-content:center}@media (min-width:761px){.app-shell:has(.spreadsheet-page) .sidebar-footer{height:var(--sheet-footer-height,68px);flex-shrink:0;display:flex;flex-direction:column;justify-content:center;gap:4px;padding-block:4px}.app-shell:has(.spreadsheet-page) .sidebar-footer .user-chip{margin:0;padding:0;background:transparent;font-size:10px}.app-shell:has(.spreadsheet-page) .sidebar-signout{min-height:28px;padding-block:4px;font-size:12px}.app-shell:has(.spreadsheet-page) .sidebar .nav{min-height:0;overflow-y:auto}}.spreadsheet-page .grid-toolbar-actions>button,.spreadsheet-page .outline-actions,.spreadsheet-page .outline-actions button{background:transparent;border-color:transparent;box-shadow:none;color:#dce6eb}.spreadsheet-page .grid-toolbar-actions>button,.spreadsheet-page .outline-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:4px}.spreadsheet-page .grid-toolbar-actions>button:hover,.spreadsheet-page .outline-actions button:hover{color:white;background:transparent}.spreadsheet-page .grid-toolbar-actions button:focus-visible{outline:2px solid #d99a34;outline-offset:1px}.local-sheet-table td{position:relative}.master-report-page>.stats{background:var(--nav-soft);border-bottom-color:var(--nav)}.master-report-page .stats .stat-label{color:#b8c7d1}.master-report-page .stats .stat-value{color:#f0f5f8}.mappings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr));gap:18px;align-items:start}.mappings-grid>.panel{min-width:0}.mappings-grid .table-wrap{width:100%;max-width:100%}.mappings-grid table{min-width:460px}.mappings-grid td,.mappings-grid th{padding:9px 10px}.mappings-grid th{white-space:normal}.mappings-grid td:first-child,.mappings-grid td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.mappings-grid select{width:160px;min-height:32px;padding:5px 8px;font-size:12px}.mappings-grid .button{min-height:32px;padding:5px 9px;font-size:12px}