/* Ocean Glass: presentation only. No access, lifecycle or accounting logic. */
@media screen{
 html,html[data-theme=dark]{--o-ink:#edf4ff;--o-muted:#a4bbd9;--o-accent:#80caff;--o-line:#a1ceff30;--o-base:#07162e;--o-table:#0b203a;--o-head:#153454;--o-field:#0a213d;--o-glass:linear-gradient(130deg,#ffffff19,#ffffff03 54%,#2588e520),#0c2945a3;--o-shadow:inset 0 1px 0 #c4eaff85,inset 1px 0 0 #ffffff20,inset 0 -1px 0 #00102740,0 14px 34px #0010252b;--o-frame:linear-gradient(145deg,#ffffff10,#ffffff02 60%,#2676bd18),#081e36c2;--o-primary:linear-gradient(140deg,#0879d0,#075abb);--o-primary-ink:#fff;--o-secondary:linear-gradient(135deg,#ffffff12,#ffffff02),#12385973;--o-secondary-ink:#c5e8ff;--o-total:#123455;--o-row-hover:#153c60;--o-input-border:#87b9e54d;color-scheme:dark}
 html[data-theme=light]{--o-ink:#193c5e;--o-muted:#527092;--o-accent:#1a6eaf;--o-line:#ffffffeb;--o-base:#edf5fd;--o-table:#fafdfff0;--o-head:#e6f1fc;--o-field:#f9fcfff0;--o-glass:linear-gradient(130deg,#ffffffd9,#ffffff3d 54%,#d5ebff66),#f1f8ff73;--o-shadow:inset 0 1px 0 #fff,inset 1px 0 0 #ffffffe0,inset 0 -1px 0 #8ab4dc66,0 14px 34px #2b5d9021;--o-frame:linear-gradient(145deg,#ffffffde,#ffffff52 60%,#d4eaff66),#eef7ff6b;--o-primary:linear-gradient(140deg,#0879d0,#075abb);--o-primary-ink:#fff;--o-secondary:linear-gradient(135deg,#ffffffde,#ffffff57),#e8f3ff80;--o-secondary-ink:#285c88;--o-total:#e3f0fc;--o-row-hover:#e5f2ff;--o-input-border:#a5c4e2;color-scheme:light}
 html body{--ink:var(--o-ink);--muted:var(--o-muted);--line:var(--o-input-border);--blue:#1688f5;--nav:#0a213c;color:var(--o-ink)!important;background:radial-gradient(ellipse at 53% 28%,#085abe80,transparent 58%),radial-gradient(ellipse at 97% 75%,#0067cc3d,transparent 52%),var(--o-base)!important;background-attachment:fixed!important}
 html[data-theme=light] body{--ink:var(--o-ink);--muted:var(--o-muted);--line:var(--o-input-border);--blue:#1476cf;--nav:#f1f8ff;background:radial-gradient(ellipse at 53% 28%,#91c5ff9c,transparent 58%),radial-gradient(ellipse at 97% 75%,#c3e4ff8c,transparent 52%),var(--o-base)!important;color:var(--o-ink)!important}
 html body .shell,html body .workspace{background:transparent!important}
 html body :is(.sidebar,.workspace .topbar){background:var(--o-frame)!important;border-color:var(--o-line)!important;box-shadow:var(--o-shadow)!important;backdrop-filter:blur(32px) saturate(155%);-webkit-backdrop-filter:blur(32px) saturate(155%);color:var(--o-ink)!important}
 html body .sidebar :is(.brand,.brand>span:not(.brand-icon)){color:var(--o-ink)!important}html body .sidebar :is(.brand-sub,.sidebar-bottom,.sidebar-bottom small,.sidebar-bottom a){color:var(--o-muted)!important}
 html body .sidebar .brand-icon{background:linear-gradient(145deg,#2eb7ff,#0877f3)!important;color:white!important;box-shadow:inset 0 1px 0 #c6f0ff94,0 5px 19px #087efc38}
 html body .sidebar nav a,html body .sidebar .navigation-group a{color:var(--o-muted)!important;background:transparent!important;border-color:transparent!important}
 html body .sidebar nav a:hover,html body .sidebar .navigation-group a:hover{background:#4e9bd119!important;color:var(--o-ink)!important}
 html body .sidebar nav a.active,html body .sidebar .navigation-group a.active{background:linear-gradient(125deg,#ffffff12,#ffffff03),#2362944d!important;border-color:#8ccfff3b!important;color:#e1f5ff!important;box-shadow:inset 0 1px 0 #d9f1ff42,0 5px 14px #00112e18!important}
 html[data-theme=light] body .sidebar nav a.active,html[data-theme=light] body .sidebar .navigation-group a.active{background:linear-gradient(125deg,#ffffffeb,#ffffff4d),#d0e9ff80!important;color:#1b649e!important;border-color:#acd5f5!important;box-shadow:inset 0 1px 0 #fff,0 5px 14px #2b649116!important}
 html body .sidebar .navigation-group a{border-left-color:var(--o-input-border)!important}
 html body :is(.navigation-collapse,.navigation-drawer-close,#mobile-menu-toggle,#theme-toggle){background:var(--o-secondary)!important;color:var(--o-secondary-ink)!important;border-color:var(--o-input-border)!important;box-shadow:inset 0 1px 0 #c6e7ff38!important}
 html body :is(.box,.stat,.decision-panel,.history,.memo-box,.pa-commentary,.manual-pay-row,.dividend-summary>div,.request-summary>div,.metric,.summary-card,.finance-nav,.request-budget,.request-funding,.fa-card,.pa-card,.payroll-panel,.period-folder-tabs+.stats,.project-finance){background:var(--o-glass)!important;color:var(--o-ink)!important;border-color:var(--o-line)!important;box-shadow:var(--o-shadow)!important;backdrop-filter:blur(30px) saturate(150%);-webkit-backdrop-filter:blur(30px) saturate(150%);border-radius:18px}
 html body .workspace :is(.stat,.request-summary>div,.dividend-summary>div){background:radial-gradient(ellipse at 8% -30%,#ffffff25,transparent 68%),var(--o-glass)!important;border-color:var(--o-line)!important;box-shadow:var(--o-shadow)!important}
 html body .workspace .stat.blue{border-top-color:#3bb2ff!important}
 html body :is(.heading h1,.heading h2,.box h2,.box h3,.profile strong,.memo-dialog h2){color:var(--o-ink)}
 html body :is(.subheading,.helper,.cell-sub,.brand-sub,#breadcrumb,footer,.profile small,.memo-filters label,.erp-toolbar label){color:var(--o-muted)}
 html body :is(.button.secondary,.icon-button,.counterparty-picker-trigger,.project-picker>summary,.budget-search-picker>summary,.filters button){background:var(--o-secondary)!important;color:var(--o-secondary-ink)!important;border-color:var(--o-input-border)!important;box-shadow:inset 0 1px 0 #c9e8ff45,0 3px 10px #001e3b12!important}
 html body :is(.button.primary,.primary,.period-folder-tab[aria-pressed=true],.filters button.active,.filters button.selected,.memo-tabs .selected,.finance-nav .primary){background:var(--o-primary)!important;color:var(--o-primary-ink)!important;border-color:#83cdff6b!important;box-shadow:inset 0 1px 0 #c4f2ff8c,0 5px 16px #0078f029!important}
 html body :is(.button.secondary,.icon-button,.counterparty-picker-trigger):hover{border-color:#70bfff!important;box-shadow:inset 0 1px 0 #d2eeff6b,0 5px 15px #0078f01a!important}
 html body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]),select,textarea,.period){background:var(--o-field)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important;box-shadow:inset 0 1px 3px #00142610!important}
 html body :is(input,textarea)::placeholder{color:var(--o-muted)!important;opacity:.88}
 html body :is(option,optgroup){background:var(--o-table)!important;color:var(--o-ink)!important}
 html body :is(input,select,textarea):focus-visible,html body :is(button,a,summary):focus-visible{outline:3px solid #48baff!important;outline-offset:3px}
 html body :is(input,select,textarea,button):disabled{color:var(--o-muted)!important;background:var(--o-total)!important;opacity:.65}
 html body input:is([type=checkbox],[type=radio]){accent-color:#1488ed;color-scheme:dark}html[data-theme=light] body input:is([type=checkbox],[type=radio]){color-scheme:light}
 html body .workspace :is(.table-wrap,.forecast-project-body,.money-day-operations){background:var(--o-table)!important;border-color:var(--o-input-border)!important}
 html body #main :is(table,table td,table th),html body dialog :is(table,table td,table th){background:var(--o-table);color:var(--o-ink);border-color:#8eb7dc29}
 html[data-theme=light] body #main :is(table,table td,table th),html[data-theme=light] body dialog :is(table,table td,table th){background:var(--o-table);color:var(--o-ink);border-color:#9fbfdf42}
 html body #main :is(table thead th,.budget-sheet thead th,.budget-group th),html body dialog table thead th,html body .floating-table-header :is(table,thead,tr,th){background:var(--o-head)!important;color:var(--o-muted)!important;border-color:var(--o-input-border)!important}
 html body #main :is(.total-row>*,.budget-sheet .sheet-group>*,.budget-sheet .sheet-selected,.payroll-detail-table .fot-context,.payroll-detail-table .project-average-cell,.pa-year-table .pa-average),html body dialog .total-row>*{background:var(--o-total)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important}
 html body :is(.dialog-head,.dialog-actions,.compact-operation-footer,.compact-operation-drawer>.dialog-head,.money-day-footer,.money-day-total){background:var(--o-table)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important}
 html body .finance-wide-dialog :is(td:last-child,th:last-child){background:var(--o-table)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important}
 html body .forecast-project{background:var(--o-glass)!important;border-color:var(--o-line)!important;color:var(--o-ink)!important}
 html body .forecast-project:not(.forecast-approved)>summary{background:linear-gradient(130deg,#ffffff0c,#ffffff02),var(--o-table)!important;color:var(--o-ink)!important}
 html body .forecast-project:not(.forecast-approved)>summary strong{color:var(--o-accent)!important}
 html body :is(.counterparty-picker-panel,.project-picker-menu,.project-picker-options,.budget-search-picker-menu,.calculator-popover){background:var(--o-table)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important;box-shadow:var(--o-shadow)!important}
 html body :is(.counterparty-option,.counterparty-clear,.counterparty-folder>summary,.project-picker-options button,.budget-search-picker button){background:transparent!important;color:var(--o-ink)!important;border-color:transparent!important}
 html body :is(.counterparty-option:hover,.counterparty-option[aria-selected=true],.counterparty-clear:hover,.project-picker-options button:hover,.project-picker-options button[aria-pressed=true],.budget-search-picker button:hover){background:var(--o-row-hover)!important;color:var(--o-accent)!important}
 html body #main :is(.budget-value,.budget-project-link,.operation-date,.memo-sort,.numeric-sort,.analysis-link),html body dialog :is(.budget-value,.budget-project-link,.operation-date,.memo-sort,.numeric-sort){background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:var(--o-accent)!important}
 html body #main a:not(.button),html body dialog a:not(.button){color:var(--o-accent)}
 html body dialog:not(.rko-sign-dialog){background:linear-gradient(133deg,#ffffff16,#ffffff03 52%,#247cbb15),#0b2341ed!important;color:var(--o-ink)!important;border-color:#96d5ff6b!important;box-shadow:inset 0 1px 0 #c6ebff94,inset 1px 0 0 #ffffff24,0 24px 70px #00122b66!important;backdrop-filter:blur(32px) saturate(150%);-webkit-backdrop-filter:blur(32px) saturate(150%)}
 html[data-theme=light] body dialog:not(.rko-sign-dialog){background:linear-gradient(133deg,#ffffffd9,#ffffff4d 52%,#d5ebff66),#f4faffed!important;border-color:#ffffffed!important;box-shadow:inset 0 1px 0 #fff,inset 1px 0 0 #ffffffb3,0 24px 70px #2b5d9038!important}
 html body dialog::backdrop{background:#020c245e;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
 html body :is(.memo-comment,.memo-history>div,.manual-pay-row,.memo-members,.request-approver){background:var(--o-table)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important}
 /* Semantic states keep their own colours, independent of decorative surfaces. */
 html body :is(.memo-badge.approved,.memo-badge.saved,.badge.approved,.request-approver-status.agreed,.forecast-approved>summary,.forecast-table tr.forecast-approved>td,.sheet-approved){background:#164a3ddd!important;color:#b6ecd5!important;border-color:#6ac7a05c!important}
 html body :is(.memo-badge,.badge.pending,.budget-status:not(.approved),.request-warning,.request-approver-status.pending){background:#64452142!important;color:#f6d0a0!important;border-color:#dab47559!important}
 html body :is(.budget-status.approved,.budget-favorable){background:#164a3d!important;color:#b6ecd5!important;border-color:#6ac7a05c!important}
 html body #main .budget-sheet td.budget-favorable,html body #main .budget-sheet td.budget-favorable .budget-value{background:#164a3d!important;color:#b6ecd5!important}
 html body :is(.form-error,[data-error],.negative-balance,.finance-negative,.dividend-warnings,.request-urgent-badge,.badge.returned,.budget-overrun,.button.danger,.operation-danger,.operation-validation-summary){color:#ffb9b5!important;border-color:#d9969466!important}
 html body :is(.button.danger,.operation-danger,.operation-invalid-field,.counterparty-picker-trigger[aria-invalid=true]){background:#722d343d!important;color:#ffb9b5!important;border-color:#c47f815e!important}
 html body #main .budget-sheet td.budget-adverse,html body #main .budget-sheet td.budget-adverse .budget-value{background:#572b39!important;color:#ffd0cb!important}
 html[data-theme=light] body :is(.memo-badge.approved,.memo-badge.saved,.badge.approved,.request-approver-status.agreed,.forecast-approved>summary,.forecast-table tr.forecast-approved>td,.sheet-approved,.budget-favorable,.budget-status.approved){background:#e0f3e9!important;color:#1c664a!important;border-color:#a1d3bd!important}
 html[data-theme=light] body #main .budget-sheet td.budget-favorable,html[data-theme=light] body #main .budget-sheet td.budget-favorable .budget-value{background:#e0f3e9!important;color:#1c664a!important}
 html[data-theme=light] body :is(.memo-badge,.badge.pending,.budget-status:not(.approved),.request-warning,.request-approver-status.pending){background:#fff0d8!important;color:#87531f!important;border-color:#d8bd8b!important}
 html[data-theme=light] body :is(.form-error,[data-error],.negative-balance,.finance-negative,.dividend-warnings,.request-urgent-badge,.badge.returned,.budget-overrun,.button.danger,.operation-danger,.operation-validation-summary){color:#a52c39!important;border-color:#d8a3a7!important}
 html[data-theme=light] body :is(.button.danger,.operation-danger,.operation-invalid-field,.counterparty-picker-trigger[aria-invalid=true]){background:#fff0ed!important;color:#a52c39!important;border-color:#d8a3a7!important}
 html[data-theme=light] body #main .budget-sheet td.budget-adverse,html[data-theme=light] body #main .budget-sheet td.budget-adverse .budget-value{background:#fff0ed!important;color:#a52c39!important}
 html body #crm-helper :is(.helper-window,.helper-header,.helper-topics,.helper-compose){background:var(--o-glass)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
 html body #crm-helper :is(.helper-status,.helper-subtitle,.helper-privacy-notice){color:var(--o-muted)!important}html body #crm-helper .helper-message{background:var(--o-table)!important;color:var(--o-ink)!important;border-color:var(--o-input-border)!important}
 html body #crm-helper :is(.helper-launcher,.helper-topic,.helper-close){background:var(--o-secondary)!important;color:var(--o-secondary-ink)!important;border-color:var(--o-input-border)!important;box-shadow:var(--o-shadow)!important}html body #crm-helper .helper-compose button{background:var(--o-primary)!important;color:white!important;border-color:#8dd3ff66!important}
 html body .rko-sign-surface{background:#081c31!important;border-color:#8bd5ff!important;box-shadow:0 0 0 4px #43b5ff1a,0 0 26px #179dff2b,inset 0 1px 0 #d9f3ff21!important}html body .rko-sign-placeholder{color:#b9e6ff!important}html body .rko-sign-baseline{border-color:#92d7ff6b!important}html body .rko-sign-label span{color:var(--o-muted)!important}
 html[data-theme=light] body .rko-sign-surface{background:#f6fbff!important;border-color:#347ed3!important;box-shadow:0 0 0 4px #347ed31c,0 0 26px #347ed31c!important}html[data-theme=light] body .rko-sign-placeholder{color:#3b6f9e!important}
 html body #toast{background:#0c4b65!important;color:#f2fbff!important;border:1px solid #76d5ff4d;box-shadow:var(--o-shadow)}
 html body .mobile-card-table tbody tr{background:var(--o-table);border-color:var(--o-input-border)}
}
@media screen and (prefers-reduced-transparency:reduce){html body :is(.box,.stat,.sidebar,.topbar,.finance-nav,.decision-panel,dialog){background:var(--o-table)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){@media screen{html body :is(.box,.stat,.sidebar,.topbar,.finance-nav,.decision-panel,dialog){background:var(--o-table)!important}}}
@media screen{html body #crm-helper{--helper-bg:var(--o-table);--helper-card:var(--o-total);--helper-text:var(--o-ink);--helper-muted:var(--o-muted);--helper-line:var(--o-input-border);--helper-accent:var(--o-accent)}html body #crm-helper .helper-status{background:transparent!important}}
@media screen{html body :is(.number-calculator-button,.calculator-trigger){background:var(--o-secondary)!important;color:var(--o-accent)!important;border-color:var(--o-input-border)!important;box-shadow:inset 0 1px 0 #c9e8ff45!important}html body dialog form>label:has(>textarea){display:grid;gap:8px;margin-top:14px;color:var(--o-muted)}html body dialog form>label>textarea{width:100%;min-height:85px;box-sizing:border-box}}
