:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}.boot-screen{min-height:100vh;display:grid;place-items:center;background:#0b1220;color:#fff;font-size:1.7rem;font-weight:800}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#0f172aeb,#15803db8),url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.14'%3E%3Cpath d='M80 610c135-80 248-100 338-60s185 50 285 28 210-85 365-58'/%3E%3Cpath d='M140 310c125 34 220 34 285 0s155-76 270-24 212 51 326-4'/%3E%3Cpath d='M205 150h765M205 650h765M205 150v500M970 150v500'/%3E%3C/g%3E%3C/svg%3E");background-size:cover}.login-panel{width:min(100%,420px);padding:32px;border-radius:8px;background:#fff;box-shadow:0 24px 60px #04101c40}.brand-mark{display:inline-flex;gap:4px;align-items:center;padding:7px 10px;border:2px solid #0f172a;border-radius:6px;font-size:.8rem;font-weight:800}.brand-mark span{color:#16a34a}.login-panel h1{margin:18px 0 24px;font-size:2rem}.login-form,.user-form{display:grid;gap:16px}.login-form label,.user-form label{display:grid;gap:7px;color:#475569;font-weight:700}.input-shell{display:flex;align-items:center;gap:10px;border:1px solid #cbd5e1;border-radius:7px;padding:0 12px;background:#fff}.input-shell input,.user-form input,.user-form select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:7px;padding:0 12px;color:#0f172a;background:#fff}.input-shell input{border:0;padding:0;outline:none}.primary-button,.secondary-button,.icon-text-button,.icon-button{border:0;border-radius:7px;font-weight:800}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;color:#fff;background:#0f172a}.secondary-button{min-height:42px;padding:0 16px;color:#0f172a;background:#eef2f6;box-shadow:inset 0 0 0 1px #cbd5e1}.primary-button:disabled{opacity:.65;cursor:not-allowed}.secondary-button:disabled{opacity:.65;cursor:not-allowed}.form-error,.form-message{margin:0;color:#b91c1c;font-weight:700}.form-message{color:#047857}.question-cell{position:relative;cursor:help}.question-cell-marked{box-shadow:inset 0 0 0 2px #2563eb2e}.question-cell-asked{background:#fff7d6!important}.question-cell-assigned{background:#dff6ff!important}.question-cell-asked.question-cell-assigned{background:#ece7ff!important}.question-cell-target{outline:3px solid #0f766e;outline-offset:-3px}.question-load-error{position:fixed;right:16px;bottom:16px;z-index:70;max-width:360px;padding:10px 12px;border:1px solid #fecaca;border-radius:7px;color:#991b1b;background:#fff1f2;font-weight:800}.cell-question-popover{position:fixed;z-index:80;width:min(380px,calc(100vw - 24px));max-height:min(620px,calc(100dvh - 24px));overflow:auto;overscroll-behavior:contain;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 18px 50px #0f172a38}.cell-question-popover-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.cell-question-popover-header div{display:grid;gap:2px}.cell-question-popover-header strong{color:#0f172a;font-size:.9rem}.cell-question-popover-header span,.cell-question-card-meta{color:#64748b;font-size:.75rem;font-weight:800}.cell-question-list{display:grid;gap:9px}.cell-question-card{display:grid;gap:7px;padding:9px;border:1px solid #dbe4ee;border-radius:7px;background:#f8fafc}.cell-question-card p,.cell-question-answer p,.cell-question-empty{margin:0;line-height:1.45}.cell-question-card-meta{display:flex;flex-wrap:wrap;gap:8px}.cell-question-answer{display:grid;gap:4px;padding:8px;border-left:3px solid #0f766e;background:#ecfdf5}.cell-answer-button{justify-self:start}.cell-question-form,.cell-question-answer-form{display:grid;gap:9px;margin-top:10px}.cell-question-form label{display:grid;gap:5px;color:#475569;font-size:.78rem;font-weight:800}.cell-question-form select,.cell-question-form textarea,.cell-question-answer-form textarea,.questions-answer-inline textarea{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:8px;color:#0f172a;background:#fff}.cell-question-form textarea,.cell-question-answer-form textarea{min-height:84px;resize:vertical}.cell-question-actions{display:flex;gap:8px}.cell-question-hint{margin-top:10px;border:0;color:#0f766e;background:transparent;font-weight:800}.questions-modal{width:min(1180px,96vw);max-height:88vh;display:grid;grid-template-rows:auto 1fr;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a3d;overflow:hidden}.questions-sections{display:grid;gap:16px;overflow:auto;padding:16px}.questions-section{display:grid;gap:10px}.questions-section h3{margin:0;color:#0047c2}.questions-table-wrap{overflow:auto;border:1px solid #cbd5e1}.questions-table{width:100%;min-width:860px;border-collapse:collapse;font-size:.82rem}.questions-table th,.questions-table td{padding:8px;border-bottom:1px solid #d7e1ec;text-align:left;vertical-align:top}.questions-table th{color:#0f172a;background:#d9f2f8}.questions-table td:first-child{display:grid;gap:4px}.questions-table td:first-child span{color:#64748b;font-size:.75rem;font-weight:800}.questions-answer-inline,.questions-answer-display{display:grid;gap:7px}.questions-table .secondary-button,.questions-table .primary-button{min-height:34px;padding:0 12px}.login-copy{margin:0;color:#475569;line-height:1.5}.login-method-grid{display:grid;grid-template-columns:1fr;gap:10px}.authenticator-setup-card{display:grid;justify-items:center;gap:10px;border:1px solid #cbd5e1;border-radius:8px;padding:14px;background:#f8fafc}.authenticator-setup-card img{width:220px;max-width:100%;height:auto;border-radius:6px;background:#fff}.authenticator-setup-card span{max-width:100%;overflow-wrap:anywhere;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.78rem;font-weight:850;letter-spacing:.04em;text-align:center}.login-text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:0;color:#0f766e;background:transparent;font-weight:800}.login-text-button:hover{color:#0f172a}.app-shell,.admin-shell{min-height:100dvh;padding:12px;background:#eef2f6}.app-shell{height:100dvh;overflow:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1720px;margin:0 auto 8px}.topbar h1{margin:0;color:#111827;font-size:1.45rem}.eyebrow{margin:0 0 2px;color:#0f9f6e;font-size:.78rem;font-weight:900;text-transform:uppercase}.topbar-actions{display:flex;align-items:center;gap:10px}.icon-text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;color:#0f172a;background:#fff;box-shadow:inset 0 0 0 1px #d6dee8}.icon-text-button{gap:8px;padding:0 13px}.icon-button{width:40px}.admin-mode-switch{display:inline-flex;align-items:center;min-height:34px;overflow:hidden;border:1px solid #cbd5e1;border-radius:999px;padding:3px;background:#fff}.admin-mode-switch button{min-height:28px;border:0;border-radius:999px;padding:0 10px;color:#64748b;background:transparent;font-size:.78rem;font-weight:850}.admin-mode-switch button.active{color:#fff;background:#0f172a}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));grid-template-rows:minmax(0,1.52fr) minmax(0,.54fr) minmax(0,.64fr);grid-template-areas:"revenue ratios profit" "costs working liquidity" "costs investments liquidity";gap:6px;max-width:1720px;height:calc(100dvh - 72px);min-height:0;margin:0 auto;padding:6px;background:#cbd5e1;border:1px solid #cbd5e1}.module{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;padding:12px;background:#fff}.clickable-module{cursor:pointer;outline:none;transition:transform .16s ease,box-shadow .16s ease}.clickable-module:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 2px #0f9f6e47}.clickable-module:focus-visible{box-shadow:inset 0 0 0 3px #2563eb61}.module-revenue{grid-area:revenue}.module-revenue .kpi-table,.module-profit .kpi-table,.module-liquidity .kpi-table{font-size:.68rem}.module-revenue .kpi-table th,.module-revenue .kpi-table td,.module-profit .kpi-table th,.module-profit .kpi-table td,.module-liquidity .kpi-table th,.module-liquidity .kpi-table td{padding:3px 4px}.module-ratios{grid-area:ratios;justify-content:center}.module-profit{grid-area:profit}.module-costs{grid-area:costs}.module-working{grid-area:working}.module-investments{grid-area:investments}.module-liquidity{grid-area:liquidity}.module-title{display:inline-grid;gap:5px;flex:0 0 auto;margin-bottom:6px;padding-right:132px}.module-updated{position:absolute;top:7px;right:10px;display:grid;justify-items:end;gap:1px;max-width:128px;color:#64748b;font-size:.62rem;font-weight:800;line-height:1.1;text-align:right}.module-updated span{color:#64748b;font-size:.56rem;font-weight:850;line-height:1;text-transform:uppercase}.module-updated strong{color:#334155;font-size:.67rem;font-weight:850;line-height:1.1;white-space:nowrap}.module-title h2{margin:0;color:#1d4ed8;font-size:1.04rem;font-weight:850}.module-title>span{width:100%;height:6px;border-radius:999px;background:#59c985}.chart-frame{flex:1 1 auto;width:100%;min-height:0;height:auto}.chart-frame .recharts-wrapper,.employee-chart .recharts-wrapper,.toll-chart .recharts-wrapper,.ages-revenue-chart .recharts-wrapper,.costs-detail-chart .recharts-wrapper,.chart-frame .recharts-surface,.employee-chart .recharts-surface,.toll-chart .recharts-surface,.ages-revenue-chart .recharts-surface,.costs-detail-chart .recharts-surface{overflow:visible}.chart-frame-tall{min-height:0;height:auto}.module-chart-actions{position:absolute;top:48px;right:12px;z-index:3}.chart-toggle-row{display:flex;justify-content:flex-end;min-height:34px}.chart-toggle-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid #cbd5e1;border-radius:7px;padding:0 11px;color:#0f172a;background:#fff;font-size:.8rem;font-weight:850;box-shadow:0 1px 2px #0f172a14}.chart-toggle-button:hover{border-color:#94a3b8;background:#f8fafc}.chart-toggle-button-compact{width:32px;min-height:32px;padding:0}.chart-toggle-button-compact span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.module-chart-hidden .kpi-table{flex:1 1 auto;height:100%;margin-top:0}.module-chart-hidden .cost-structure-table-wrap{flex:1 1 auto;width:100%;height:100%;max-height:none}.kpi-table{flex:0 0 auto;width:100%;margin-top:7px;border-collapse:collapse;color:#1f2937;font-size:.76rem}.kpi-table th,.kpi-table td{border:1.5px solid #111827;padding:4px 6px;text-align:right;vertical-align:middle}.kpi-table th{background:#d7f0f7}.kpi-table th:first-child,.kpi-table td:first-child{text-align:left;color:#1d4ed8;font-weight:800}.chart-legend-with-change{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 12px;margin:0;padding:0;color:#334155;font-size:.72rem;font-weight:700;line-height:1.15;list-style:none}.chart-legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0}.chart-legend-swatch{flex:0 0 auto;display:inline-block}.chart-legend-box{width:10px;height:10px}.chart-legend-line{width:16px;height:0;border-top:3px solid currentColor}.chart-change-symbol{flex:0 0 auto;width:28px;height:16px}.ratio-heading{flex:0 0 auto;margin-bottom:14px;text-align:center}.ratio-heading h2{margin:0;color:#1d4ed8;font-size:1.05rem;font-weight:850}.ratio-grid{flex:1 1 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;align-content:center}.ratio-kpi{display:grid;justify-items:center;gap:5px;min-width:0;min-height:0}.ratio-kpi-button{width:100%;border:0;padding:0;color:inherit;background:transparent;cursor:pointer}.ratio-kpi-button:hover .ratio-ring{box-shadow:0 0 0 4px #2563eb24}.ratio-kpi-button:focus-visible{outline:3px solid rgba(37,99,235,.38);outline-offset:3px;border-radius:8px}.ratio-ring{display:grid;place-items:center;width:min(88px,100%);aspect-ratio:1;border:7px solid #5ecb83;border-radius:999px;color:#1d4ed8;font-size:1rem;font-weight:850}.ratio-kpi p{margin:0;max-width:150px;color:#1d4ed8;font-size:.78rem;line-height:1.15;text-align:center;font-weight:750}.value-module{display:grid;align-content:start}.value-list{display:grid;gap:10px;margin-top:10px}.value-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;color:#1d4ed8;font-size:.92rem;font-weight:760}.value-row strong{color:#0f172a;white-space:nowrap}.skeleton{opacity:.6}.empty-state{display:flex;align-items:center;gap:8px}.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:14px;max-width:1500px;margin:0 auto}.admin-page-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;max-width:1720px;margin:0 auto}.admin-content-layout{width:100%;max-width:none;margin:0}.admin-single-layout{grid-template-columns:minmax(0,1fr)}.admin-sidebar{display:grid;align-content:start;gap:8px;min-height:160px;border:1px solid #d8e0ea;border-radius:8px;padding:12px;background:#fff}.admin-sidebar button{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:40px;border:0;border-radius:7px;padding:0 11px;color:#334155;background:transparent;font-weight:850}.admin-sidebar button.active{color:#0f172a;background:#e8f6ee;box-shadow:inset 3px 0 #16a34a}.admin-section-hidden{display:none}.upload-page-layout{grid-template-columns:240px minmax(0,1fr);max-width:1440px}.upload-sidebar{gap:4px}.upload-sidebar button{min-height:34px}.upload-sidebar button.upload-nav-level-0{margin-top:8px;color:#0f172a;font-size:.88rem}.upload-sidebar button.upload-nav-level-0:first-child{margin-top:0}.upload-sidebar button.upload-nav-level-1{padding-left:21px;color:#475569;font-size:.82rem}.upload-sidebar button.upload-nav-level-2{min-height:30px;padding-left:36px;color:#64748b;font-size:.78rem;font-weight:800}.admin-main-column{display:grid;gap:14px;min-width:0}.admin-panel{border:1px solid #d8e0ea;border-radius:8px;padding:20px;background:#fff}.temporary-analysis-open-button{width:min(280px,100%)}.panel-heading{display:flex;align-items:center;gap:9px;margin-bottom:16px}.panel-heading h1,.panel-heading h2{margin:0;color:#111827;font-size:1.2rem}.user-table-wrap{overflow-x:auto;overflow-y:visible}.user-table{width:100%;border-collapse:collapse;font-size:.91rem}.admin-user-table{min-width:900px}.admin-user-table th:first-child,.admin-user-table td:first-child{min-width:230px}.admin-user-table th:last-child,.admin-user-table td:last-child{width:172px}.user-table th,.user-table td{padding:11px 10px;border-bottom:1px solid #e5eaf0;text-align:left;white-space:nowrap}.user-table th{color:#475569;font-size:.77rem;text-transform:uppercase}.upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px}.upload-section-content{display:grid;gap:14px;margin-bottom:14px}.upload-section-content .upload-grid{margin-bottom:0}.upload-file-group{display:grid;gap:11px;padding-top:14px;border-top:1px solid #dbe4ee}.upload-file-group:first-child{padding-top:0;border-top:0}.upload-file-group h3{display:flex;align-items:center;gap:9px;margin:0;color:#0f172a;font-size:.8rem;font-weight:900;text-transform:uppercase}.upload-file-group h3:before{content:"";width:9px;height:9px;border-radius:2px;background:#16a34a}.upload-file-group-master h3:before{background:#2563eb}.upload-file-group h3:after{content:"";flex:1;height:1px;background:#dbe4ee}.upload-system-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.upload-card{display:grid;gap:11px;min-width:0;border:1px solid #e2e8f0;border-radius:8px;padding:14px;background:#f8fafc}.upload-card h2{margin:0;color:#111827;font-size:1rem}.upload-card label{display:grid;gap:6px;color:#475569;font-size:.88rem;font-weight:750}.upload-card input{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:7px 10px;color:#0f172a;background:#fff}.upload-hint{min-height:38px;display:flex;align-items:center;margin:0;color:#64748b;font-size:.86rem;font-weight:650}.upload-selection{min-height:18px;margin:-3px 0 0;overflow:hidden;color:#334155;font-size:.8rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.upload-button{width:100%}.upload-button:disabled{opacity:.55;cursor:not-allowed}.upload-table-wrap{margin-top:12px}.upload-year-groups{display:grid;gap:18px}.upload-year-section h3{margin:14px 0 0;color:#0f172a;font-size:.95rem}.upload-docs-heading{margin-top:18px;margin-bottom:8px}.admin-message{margin-bottom:12px}.admin-user-table td{vertical-align:top}.expansion-settings-panel{overflow:hidden}.expansion-settings-heading{flex-wrap:wrap}.expansion-group-controls{display:inline-flex;flex-wrap:wrap;align-items:center;gap:10px;margin-left:8px}.expansion-group-checkbox{min-height:30px;padding:0 10px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;font-size:.82rem}.expansion-group-checkbox input:disabled{cursor:not-allowed}.uploader-access-controls{display:grid;gap:10px;margin-bottom:16px}.uploader-access-controls label{display:grid;gap:7px;color:#475569;font-weight:800}.uploader-access-controls select{width:min(440px,100%);min-height:42px;border:1px solid #cbd5e1;border-radius:7px;padding:0 11px;color:#0f172a;background:#fff}.uploader-access-controls p{max-width:780px;margin:0;color:#64748b;font-size:.86rem;font-weight:750;line-height:1.45}.uploader-access-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.user-permissions-layout,.user-permission-section{display:grid;gap:18px}.user-permission-section>h3{margin:0;color:#0047c2;font-size:1rem}.user-question-access-list{grid-template-columns:minmax(280px,520px)}.uploader-access-group{display:grid;align-content:start;gap:7px;border:1px solid #d8e0ea;border-radius:8px;padding:12px;background:#f8fafc}.uploader-access-group h3,.uploader-access-group h4{margin:0 0 4px;color:#0f172a;font-size:.94rem}.uploader-access-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}.uploader-access-group-heading h4{margin:0}.uploader-access-group-toggle{min-height:28px;white-space:nowrap}.uploader-access-option{display:flex;align-items:center;gap:9px;min-height:40px;border-radius:7px;padding:7px 9px;color:#0f172a;background:#fff;box-shadow:inset 0 0 0 1px #e2e8f0}.uploader-access-option input{width:16px;height:16px;margin:0}.uploader-access-option span{display:grid;gap:2px}.uploader-access-option strong{font-size:.86rem}.uploader-access-option small{color:#64748b;font-size:.72rem;font-weight:800;text-transform:uppercase}.uploader-access-level-1{margin-left:18px}.uploader-access-level-2{margin-left:36px}.uploader-access-level-3{margin-left:54px}.expansion-settings-table td:first-child{min-width:260px;white-space:normal}.expansion-label-cell{position:relative;display:inline-flex;align-items:center;min-height:24px}.expansion-label-cell span{position:relative;z-index:1}.expansion-row-position .expansion-label-cell{color:#0f172a;font-weight:850}.expansion-row-subposition .expansion-label-cell{color:#475569}.expansion-row-subposition .expansion-label-cell:before{content:"";position:absolute;top:-17px;left:var(--connector-left, 8px);width:15px;height:29px;border-bottom:1px solid #94a3b8;border-left:1px solid #94a3b8}.table-input{width:100%;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;padding:5px 8px;color:#0f172a;background:#fff}.mini-checkbox{display:inline-flex;align-items:center;gap:7px;color:#0f172a;font-weight:700}.mini-checkbox input{width:15px;height:15px}.table-actions{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.table-icon-button{width:32px;min-height:32px}.danger-button{color:#991b1b}.warning-button{color:#9a5b00}.inline-password-row{display:flex;gap:8px;margin-top:8px}.inline-password-row input{width:min(240px,100%);min-height:36px;border:1px solid #cbd5e1;border-radius:6px;padding:0 9px}.password-edit-table-row td{padding:0 10px 14px;background:#f8fafc}.admin-user-table .password-edit-table-row td:first-child{color:#0f172a;font-weight:700}.password-edit-panel{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;border:1px solid #d8e0ea;border-radius:8px;padding:14px;background:#fff}.password-edit-panel label{display:grid;flex:1 1 360px;gap:7px;color:#475569;font-weight:800}.password-edit-panel input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:7px;padding:0 12px;color:#0f172a}.password-edit-actions{display:flex;gap:8px}.muted-text{margin:10px 0 0;color:#64748b;font-weight:650}.email-config-form{max-width:620px}.email-config-status{display:grid;gap:4px;border:1px solid #d8e0ea;border-radius:8px;padding:12px 14px;background:#f8fafc}.email-config-status span,.email-config-status small{color:#64748b;font-weight:700}.email-config-status strong{color:#0f172a;font-size:1rem}.email-test-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;border-top:1px solid #dce3eb;padding-top:2px}.checkbox-row{display:inline-flex!important;grid-template-columns:auto 1fr;align-items:center;gap:9px!important}.checkbox-row input{width:18px;min-height:18px}.admin-shield{color:#0f9f6e}.download-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:7px;color:#0f172a;font-weight:800;text-decoration:none;box-shadow:inset 0 0 0 1px #cbd5e1;background:#f8fafc}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:22px;background:#0f172a8f}.profit-modal{display:flex;flex-direction:column;width:min(1120px,100%);height:min(820px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);min-height:min(700px,calc(100dvh - 44px));overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.profit-detail-modal{width:min(1500px,98vw)}.refund-analysis-modal{width:min(1320px,98vw);height:min(900px,calc(100dvh - 34px));min-height:min(760px,calc(100dvh - 34px))}.employee-modal{width:min(1500px,98vw)}.toll-modal{width:min(var(--toll-modal-width, 1260px),98vw);height:min(940px,calc(100dvh - 24px))}.costs-detail-modal{width:min(1420px,96vw);height:min(820px,calc(100dvh - 34px))}.dashboard-notice-backdrop{z-index:55}.booking-notice-modal{align-self:center;width:min(500px,100%);border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.booking-notice-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 14px;border-bottom:1px solid #dce3eb}.booking-notice-header h2{margin:0;font-size:1.12rem}.booking-notice-content{display:grid;gap:18px;padding:18px 20px 20px}.booking-notice-content p{margin:0;color:#334155;font-weight:800;line-height:1.45}.booking-notice-actions{display:flex;justify-content:flex-end}.employee-modal-content{display:grid;flex:1 1 auto;gap:18px;min-height:0;overflow:auto;padding:16px 20px 20px}.refund-analysis-content{display:grid;grid-template-rows:auto minmax(344px,.8fr) minmax(260px,.8fr);flex:1 1 auto;gap:14px;min-height:0;overflow:hidden;padding:16px 20px 20px}.refund-analysis-content.chart-hidden{grid-template-rows:auto auto minmax(0,1fr)}.refund-analysis-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#475569;font-size:.82rem;font-weight:850}.refund-analysis-chart{min-height:344px;overflow:visible}.refund-analysis-table-wrap{min-height:0;overflow:auto}.refund-analysis-content.chart-hidden .refund-analysis-table-wrap{height:100%}.refund-analysis-table{min-width:900px}.refund-analysis-table td:not(:first-child){text-align:right}.refund-date-label,.refund-analysis-table .refund-amount{display:block;color:#0f172a;font-weight:850}.refund-date-note{display:block;margin-top:2px;color:#64748b;font-size:.68rem;font-weight:800}.refund-analysis-table small{display:block;margin-top:2px;color:#64748b;font-size:.73rem;font-weight:800}.employee-tabs{padding:12px 20px 0}.employee-detail-section{display:grid;gap:10px;min-height:0}.employee-detail-section.chart-hidden{grid-template-rows:auto minmax(0,1fr);min-height:min(360px,42dvh)}.employee-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.employee-detail-section h3{margin:0;color:#111827;font-size:.98rem}.employee-chart{width:100%;height:196px;min-height:0}.employee-personnel-chart{height:256px}.employee-table-wrap{max-height:min(520px,56dvh);min-height:0;overflow-x:scroll;overflow-y:auto;scrollbar-gutter:stable both-edges}.employee-detail-section.chart-hidden .employee-table-wrap{height:100%;max-height:none}.employee-modal-content:has(.payroll-table){grid-template-rows:minmax(0,1fr);overflow:hidden}.employee-modal-content:has(.payroll-table) .employee-detail-section{height:100%}.employee-modal-content:has(.payroll-table) .employee-table-wrap{height:100%;max-height:none}.employee-table{width:100%;min-width:620px;border-collapse:collapse;color:#0f172a;font-size:.82rem}.employee-table th,.employee-table td{border:1px solid #8796a8;padding:6px 8px;text-align:right;white-space:nowrap}.employee-table th:first-child,.employee-table td:first-child{text-align:left;color:#1d4ed8;font-weight:800}.employee-table th{background:#d7f0f7;font-weight:850}.payroll-table{min-width:900px}.payroll-table thead tr:first-child th{text-align:center}.payroll-table tbody tr:last-child td{background:#f8fafc;font-weight:900}.payroll-view-toggle{display:inline-flex;align-items:center;gap:2px;min-height:34px;border:1px solid #cbd5e1;border-radius:8px;padding:2px;background:#f1f5f9}.payroll-view-toggle button{min-width:78px;min-height:28px;border:0;border-radius:6px;padding:0 12px;color:#64748b;background:transparent;font-size:.8rem;font-weight:850;box-shadow:none}.payroll-view-toggle button.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0f172a2e}.employee-empty{margin:0}.toll-modal-content{display:grid;flex:1;align-content:start;gap:14px;min-height:0;overflow:auto;padding:16px 20px 20px}.ages-revenue-detail{display:grid;gap:14px;min-height:0}.ages-revenue-detail.chart-hidden{grid-template-rows:auto auto minmax(0,1fr);flex:1 1 auto}.ages-revenue-detail .dashboard-detail-controls{padding:0 0 12px}.ages-revenue-chart{width:100%;height:min(400px,42dvh);min-height:312px}.ages-revenue-detail .kpi-table{margin-top:0;font-size:.84rem}.ages-revenue-detail.chart-hidden .kpi-table{height:100%}.costs-detail-content{display:grid;flex:1;gap:12px;min-height:0;overflow:auto;padding:16px 20px 20px}.costs-detail-content.chart-hidden{grid-template-rows:auto minmax(0,1fr)}.costs-detail-chart{width:100%;height:min(448px,50dvh);min-height:336px}.cost-structure-table-wrap{max-height:min(390px,44dvh)}.costs-detail-content.chart-hidden .cost-structure-table-wrap{height:100%;max-height:none}.cost-structure-table{min-width:920px}.cost-structure-total-row td{background:#f8fafc;color:#0f172a;font-weight:900}.toll-toolbar,.toll-subtoolbar{display:flex;align-items:end;justify-content:space-between;gap:12px}.toll-subtoolbar{flex-wrap:wrap;justify-content:flex-start}.toll-segmented,.toll-system-tabs,.toll-subtabs{display:flex;flex-wrap:wrap;gap:6px}.toll-segmented button,.toll-system-tabs button,.toll-subtabs button{min-height:36px;border:1px solid #cbd5e1;border-radius:7px;padding:0 11px;color:#334155;background:#fff;font-size:.84rem;font-weight:850}.toll-segmented button.active,.toll-system-tabs button.active,.toll-subtabs button.active{border-color:#159a62;color:#075f3d;background:#e9f8ef}.toll-included-systems{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:34px;border-left:3px solid #16a34a;border-radius:7px;padding:8px 10px;color:#334155;background:#f8fafc;font-size:.84rem;font-weight:750}.toll-included-systems span{color:#0f172a;font-weight:900}.toll-since-select{display:grid;gap:6px;min-width:230px}.toll-since-select span,.toll-issuer-multiselect>span{color:#475569;font-size:.82rem;font-weight:800}.toll-since-select select{min-height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px;color:#0f172a;background:#fff;font-weight:750}.toll-subtabs-placeholder{min-height:38px}.toll-type-toggle{align-self:end}.toll-vwh-type-select{display:grid;gap:4px;min-width:240px}.toll-vwh-type-select span{color:#475569;font-size:.78rem;font-weight:850;text-transform:uppercase}.toll-vwh-type-select select{min-height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:0 34px 0 10px;color:#0f172a;background:#fff;font-weight:800}.toll-issuer-multiselect{margin-left:auto;min-width:280px}.toll-period-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.toll-period-multiselect{min-width:240px}.toll-period-menu{width:310px}.toll-issuer-menu{width:340px;height:280px}.toll-issuer-filter{position:sticky;top:-6px;z-index:1;padding:4px 0 8px;background:#fff}.toll-issuer-filter input{width:100%;min-height:34px;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px;color:#0f172a;background:#f8fafc;font-size:.86rem;font-weight:750}.toll-issuer-filter input:focus{outline:2px solid rgba(22,163,74,.22);border-color:#16a34a;background:#fff}.toll-issuer-empty{padding:9px 8px;color:#64748b;font-size:.84rem;font-weight:750}.toll-week-section{display:grid;gap:12px;min-height:0}.toll-week-section.chart-hidden{grid-template-rows:auto minmax(0,1fr);min-height:min(560px,58dvh)}.toll-week-header{display:flex;align-items:end;justify-content:space-between;gap:16px}.toll-week-header h3{margin:0;color:#111827;font-size:1rem}.toll-week-header span{color:#64748b;font-size:.84rem;font-weight:750}.toll-week-header strong{color:#0f172a;font-size:1rem}.toll-rate-row{display:flex;flex-wrap:wrap;gap:8px}.toll-rate-row span{border-radius:999px;padding:5px 9px;color:#0f172a;background:#eef7f1;font-size:.78rem;font-weight:800}.toll-chart{width:100%;min-height:0}.toll-line-chart{height:min(376px,42dvh);min-height:312px}.toll-tooltip{min-width:260px;border:1px solid #d6dee8;border-radius:7px;padding:9px 10px;background:#fff;box-shadow:0 12px 28px #0f172a24}.toll-tooltip p{margin:0 0 7px;color:#0f172a;font-size:.86rem;font-weight:900}.toll-tooltip ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}.toll-tooltip li{display:grid;grid-template-columns:10px minmax(120px,1fr) max-content;gap:7px;align-items:center;color:#334155;font-size:.78rem;font-weight:750}.tooltip-dot{display:inline-block;width:9px;height:9px;border-radius:999px}.toll-tooltip-swatch{width:9px;height:9px;border-radius:999px}.toll-tooltip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toll-tooltip strong{color:#0f172a;font-weight:900}.toll-table{min-width:760px;font-size:.75rem}.toll-table-wrap{max-height:min(440px,46dvh)}.toll-week-section.chart-hidden .toll-table-wrap{height:100%;max-height:none}.toll-table th,.toll-table td,.toll-table tfoot td{padding:5px}.toll-table th:first-child,.toll-table td:first-child{max-width:175px;min-width:145px;overflow:hidden;text-overflow:ellipsis}.toll-table th:not(:first-child),.toll-table td:not(:first-child){min-width:78px;max-width:92px}.toll-period-cell{display:grid;justify-items:end;gap:1px;width:100%;line-height:1.18}.toll-period-cell-breakdown{justify-items:stretch;gap:3px}.toll-period-subrow{display:grid;justify-items:end;gap:1px;padding-bottom:3px;border-bottom:1px solid #d8e0ea}.toll-period-subrow:last-child{border-bottom:0;padding-bottom:0}.toll-period-subrow-label{color:#475569;font-size:.64rem;font-weight:900;text-transform:uppercase}.toll-cell-change{color:#64748b;font-size:.68rem;font-weight:850}.toll-change-outlier{color:#b91c1c;font-weight:900}.toll-table tfoot td{border:1px solid #8796a8;text-align:right;white-space:nowrap;background:#d7f0f7;font-weight:850}.toll-table tfoot td:first-child{text-align:left;color:#1d4ed8}.profit-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 14px;border-bottom:1px solid #dce3eb}.modal-header-actions{display:flex;align-items:center;gap:8px}.popup-download-button{min-height:38px}.popup-download-button:disabled{opacity:.55;cursor:not-allowed}.profit-modal-header h2{margin:0;color:#111827;font-size:1.1rem;line-height:1.25}.modal-status{margin:18px 20px;color:#475569;font-weight:750}.modal-status-error{color:#b91c1c}.profit-modal-controls{position:relative;z-index:5;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:12px;border-bottom:1px solid #e5eaf0;padding:14px 20px 12px;background:#fff}.profit-modal-controls.has-leading-controls{justify-content:flex-start;padding-top:10px}.dashboard-detail-leading-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.payroll-inline-title{display:inline-flex;align-items:center;min-height:38px;margin:0;color:#111827;font-size:.96rem;font-weight:900}.dashboard-detail-leading-controls .payroll-view-toggle{margin-bottom:2px}.year-filter{display:grid;gap:6px}.year-filter>span,.month-multiselect>span{color:#475569;font-size:.82rem;font-weight:800}.year-filter>div{display:flex;min-height:38px;align-items:center;gap:8px}.year-option{display:inline-flex;align-items:center;gap:6px;min-height:32px;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px;color:#0f172a;background:#fff;font-size:.86rem;font-weight:800}.year-option:has(input:disabled){opacity:.48;cursor:not-allowed}.year-option input{width:15px;height:15px;margin:0}.month-multiselect{position:relative;display:grid;gap:6px;min-width:220px}.month-multiselect-button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px 0 11px;color:#0f172a;background:#fff;font-weight:750}.month-multiselect-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:6;display:grid;gap:2px;width:260px;max-height:280px;overflow:auto;border:1px solid #cbd5e1;border-radius:8px;padding:6px;background:#fff;box-shadow:0 18px 42px #0f172a29}.payroll-employee-multiselect{min-width:280px}.payroll-employee-menu{width:340px;max-height:330px}.month-option{display:flex;align-items:center;gap:9px;min-height:34px;border-radius:6px;padding:6px 8px;color:#0f172a;font-size:.86rem;font-weight:700}.month-option:hover{background:#f1f5f9}.month-option input{width:16px;height:16px;margin:0}.settings-backdrop{z-index:60}.settings-modal{width:min(460px,100%);border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.settings-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 14px;border-bottom:1px solid #dce3eb}.settings-modal-header h2{margin:0;font-size:1.12rem}.settings-form{display:grid;gap:15px;padding:18px 20px 20px}.settings-form label{display:grid;gap:7px;color:#475569;font-weight:800}.settings-form input{min-height:42px;border:1px solid #cbd5e1;border-radius:7px;padding:0 11px;color:#0f172a}.settings-actions{display:flex;justify-content:flex-end;gap:10px}.settings-actions .primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.profit-table-wrap{flex:1 1 auto;min-height:0;overflow-x:scroll;overflow-y:auto;padding:0 20px 20px;background:#fff;scrollbar-gutter:stable both-edges}.profit-table{width:100%;min-width:760px;border-collapse:collapse;color:#0f172a;font-size:.82rem}.profit-table th,.profit-table td{border:1px solid #8796a8;padding:5px 8px;text-align:right;vertical-align:middle;white-space:nowrap}.profit-table th:first-child,.profit-table td:first-child{position:sticky;left:0;z-index:1;min-width:310px;text-align:left}.profit-table thead th{position:sticky;top:0;z-index:2;background:#d7f0f7;font-weight:850}.profit-table thead th:first-child{z-index:3}.kpi-table th.year-shade-0,.employee-table th.year-shade-0,.profit-table thead th.year-shade-0{background:#d7f0f7}.kpi-table th.year-shade-1,.employee-table th.year-shade-1,.profit-table thead th.year-shade-1{background:#e7f7d4}.kpi-table th.year-shade-2,.employee-table th.year-shade-2,.profit-table thead th.year-shade-2{background:#fff2cc}.kpi-table th.year-shade-3,.employee-table th.year-shade-3,.profit-table thead th.year-shade-3{background:#f0e7ff}.kpi-table th.year-shade-4,.employee-table th.year-shade-4,.profit-table thead th.year-shade-4{background:#ffe4e6}.kpi-table th.year-shade-5,.employee-table th.year-shade-5,.profit-table thead th.year-shade-5{background:#e0f2fe}.profit-row-result{background:#c9edf7;font-weight:850}.profit-row-result td:first-child{background:#c9edf7}.profit-row-position,.profit-row-position td:first-child{background:#fff}.profit-row-subposition{background:#fbfdff;color:#334155}.profit-row-subposition td:first-child{background:#fbfdff}.profit-row-account{background:#f8fafc;color:#475569;font-size:.79rem}.profit-row-account td:first-child{background:#f8fafc}.profit-row-booking_circle{background:#fff;color:#64748b;font-size:.76rem}.profit-row-booking_circle td:first-child{background:#fff}.profit-label-cell{display:flex;align-items:center;gap:7px;min-width:0}.profit-label-cell span:last-child{overflow:hidden;text-overflow:ellipsis}.profit-row-subposition .profit-label-cell{padding-left:26px}.expand-button,.expand-spacer{flex:0 0 22px;width:22px;height:22px}.expand-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;background:#fff}@media(max-width:1120px){.app-shell{height:auto;overflow:visible}.dashboard-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto;grid-template-areas:"revenue revenue" "ratios profit" "costs costs" "working investments" "liquidity liquidity"}.module{min-height:260px}.chart-frame{height:220px;flex:0 0 auto}.chart-frame-tall{height:300px}}@media(max-width:1360px){.admin-layout{grid-template-columns:1fr}.admin-layout>.user-form{grid-template-columns:repeat(2,minmax(220px,1fr));align-items:end}.admin-layout>.user-form .panel-heading,.admin-layout>.user-form .checkbox-row,.admin-layout>.user-form .primary-button,.admin-layout>.user-form .download-link{grid-column:1 / -1}}@media(max-width:760px){.app-shell{height:auto;overflow:visible}.app-shell,.admin-shell{padding:10px}.topbar{align-items:flex-start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.dashboard-grid{grid-template-columns:1fr;grid-template-areas:"revenue" "ratios" "profit" "costs" "working" "investments" "liquidity"}.admin-page-layout,.admin-layout{grid-template-columns:1fr}.admin-sidebar{display:flex;min-height:0;overflow-x:auto}.admin-sidebar button{flex:0 0 auto}.dashboard-grid{padding:6px;gap:6px;height:auto}.module{padding:14px}.ratio-grid{grid-template-columns:1fr 1fr;gap:18px 12px}.upload-grid{grid-template-columns:1fr}.modal-backdrop{align-items:stretch;padding:10px}.profit-modal{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);min-height:min(620px,calc(100dvh - 20px))}.profit-modal-header{align-items:flex-start;padding:14px}.profit-modal-controls{display:grid;justify-content:stretch;padding:12px 14px}.month-multiselect{min-width:0;width:100%}.month-multiselect-menu{left:0;right:auto;width:100%}.inline-password-row,.password-edit-actions,.email-test-row,.settings-actions{grid-template-columns:1fr;flex-direction:column}.admin-layout>.user-form{grid-template-columns:1fr}.profit-table-wrap{padding:0 14px 14px}.ratio-ring{border-width:8px;font-size:1.1rem}.kpi-table{font-size:.74rem}.kpi-table th,.kpi-table td{padding:6px 5px}}
