:root{--app-bg:#e9eef3;--app-surface:#f8fafc;--app-raised:#edf2f6;--app-input:#fff;--app-hover:#e6f0f6;--app-border:#ced9e3;--app-control-border:#a4b5c4;--app-footer:#dce5ed;--app-footer-text:#435b6d;--app-text:#152b3d;--app-secondary:#536b7d;--app-muted:#63798b;--app-accent:#167d94;--app-solid:#167d94;--app-on-solid:#fff;--app-chart-grid:#dfeaf5}:root[data-theme=night]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#0f1923;--app-surface:#172631;--app-raised:#1e303d;--app-input:#111f2b;--app-hover:#263e4e;--app-border:#344b5b;--app-control-border:#708a9b;--app-footer:#0b1520;--app-footer-text:#b7c5ce;--app-text:#dfecf5;--app-secondary:#cedbe5;--app-muted:#b7c5ce;--app-accent:#9ce7fc;--app-solid:#1e5563;--app-on-solid:#eff8ff;--app-info-bg:#1c354b;--app-info-text:#a8d6f5;--app-warning-bg:#3b3020;--app-warning-text:#f1ce94;--app-danger-bg:#3c2631;--app-danger-text:#f3b0bb;--app-success-bg:#1e382f;--app-success-text:#a6dfbe;--app-chart-grid:#344b5b}.theme-toggle{border:1px solid color-mix(in oklab,currentColor 22%,transparent);background:color-mix(in oklab,currentColor 6%,transparent);min-width:34px;min-height:34px;color:inherit;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.theme-toggle:hover{background:color-mix(in oklab,currentColor 14%,transparent)}.theme-toggle:focus-visible{outline-offset:3px;outline:2px solid}@media (max-width:639px){.modal-header{flex-direction:column}.modal-header>div:first-child{width:100%}.modal-header>div:last-child{align-self:flex-end}}:root[data-theme] .reference-shell{background:var(--app-bg)}:root[data-theme] :is(.panel,.reference-card,.business-workspace){background:var(--app-surface)}:root[data-theme] .reference-footer{background:var(--app-footer);color:var(--app-footer-text);border-color:var(--app-border)}:root[data-theme=day] .reference-shell{--app-accent:#176abb}:root[data-theme=day] .cards-shell{--app-accent:#167d94}:root[data-theme=day] :is(.cards-shell .reference-header,.reference-shell:not(.cards-shell) .reference-sidebar,.reference-location){background:var(--app-surface)}:root[data-theme=day] .reference-table th{background:#e9eff5}:root[data-theme=day] .query-panel{background:#e7edf3}:root[data-theme=day] .cards-shell .reference-table tbody tr:nth-child(2n){background:var(--app-surface)}:root[data-theme=day] .bg-white{background-color:var(--app-surface)}:root[data-theme=day] .bg-\[\#f8fafb\]{background-color:var(--app-raised)}:root[data-theme=night] .reference-shell{--app-accent:#a8d6f5;--app-solid:#244c72;--color-ocean:var(--app-accent);color:var(--app-text)}:root[data-theme=night] .cards-shell{--app-accent:#9ce7fc;--app-solid:#1e5563}:root[data-theme=night] .cards-page-heading>p{color:var(--app-accent)}:root[data-theme=night] .reference-header{color:var(--app-text);box-shadow:none;background:#142c44}:root[data-theme=night] .cards-shell .reference-header{background:var(--app-surface);border-color:var(--app-border)}:root[data-theme=night] :is(.header-tools small,.cards-header-context>span){color:var(--app-muted)}:root[data-theme=night] .header-avatar{background:var(--app-raised);color:var(--app-accent)}:root[data-theme=night] .reference-sidebar{border-color:var(--app-border);background:#0d1e2b}:root[data-theme=night] :is(.menu-search,.sidebar-footer,.reference-location,.workspace-tabs){border-color:var(--app-border)}:root[data-theme=night] .menu-search{color:var(--app-muted);background:var(--app-input)}:root[data-theme=night] .menu-search input::placeholder{color:var(--app-muted)}:root[data-theme=night] :is(.sidebar-home,.menu-group,.menu-children summary,.menu-leaf,.sidebar-footer button,.sidebar-footer a){color:var(--app-secondary)}:root[data-theme=night] :is(.sidebar-home.active,.menu-group.expanded,.menu-leaf.active){color:#edf9fd;background:#234456}:root[data-theme=night] .menu-leaf.active{box-shadow:inset 3px 0 var(--app-accent)}:root[data-theme=night] :is(.menu-group,.menu-leaf,.sidebar-home):hover{background:var(--app-hover)}:root[data-theme=night] .sidebar-footer button>span{background:var(--app-raised);color:var(--app-secondary)}:root[data-theme=night] .workspace-tabs{background:#101e2a}:root[data-theme=night] .workspace-tab{color:var(--app-muted)}:root[data-theme=night] .workspace-tab.active{color:var(--app-accent);background:var(--app-surface);border-color:var(--app-border)}:root[data-theme=night] :is(.tab-close,.refresh-button){color:var(--app-muted)}:root[data-theme=night] :is(.tab-close,.refresh-button):hover{background:var(--app-hover)}:root[data-theme=night] .reference-location{color:var(--app-muted);background:var(--app-surface)}:root[data-theme=night] .location-divider{background:var(--app-border)}:root[data-theme=night] .scope-button{background:var(--app-input);border-color:var(--app-control-border);color:var(--app-accent)}:root[data-theme=night] :is(.panel,.reference-card,.business-workspace){border-color:var(--app-border);box-shadow:0 3px 14px #0000001f}:root[data-theme=night] .module-note{background:var(--app-raised);border-color:var(--app-border);color:var(--app-secondary)}:root[data-theme=night] .query-panel{background:var(--app-raised);border-color:var(--app-border)}:root[data-theme=night] :is(.query-panel label,.reference-table th,.detail-fields dt),:root[data-theme=night] :is(.label,.th){color:var(--app-secondary)}:root[data-theme=night] :is(.query-panel input,.query-panel select,.field,.detail-actions input){background:var(--app-input);border-color:var(--app-control-border);color:var(--app-text)}:root[data-theme=night] :is(input,textarea)::placeholder{color:var(--app-muted);opacity:1}:root[data-theme=night] :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--app-accent);outline-offset:3px}:root[data-theme=night] :is(.query-actions button,.grid-toolbar button,.reference-button,.detail-actions button,.pagination button,.pagination select){background:var(--app-input);border-color:var(--app-control-border);color:var(--app-secondary)}:root[data-theme=night] :is(.query-actions button,.grid-toolbar button,.reference-button,.detail-actions button,.pagination button):hover{background:var(--app-hover)}:root[data-theme=night] :is(button.reference-primary,.btn-primary){background:var(--app-solid);border-color:var(--app-control-border);color:var(--app-on-solid)}:root[data-theme=night] :is(button.reference-primary,.btn-primary):hover{background:color-mix(in oklab,var(--app-solid) 85%,white)}:root[data-theme=night] .btn-secondary{background:var(--app-raised);border-color:var(--app-control-border);color:var(--app-secondary)}:root[data-theme=night] .btn-secondary:hover{background:var(--app-hover)}:root[data-theme=night] :is(.grid-toolbar,.pagination,.detail-tabs,.record-detail,.detail-actions){border-color:var(--app-border);color:var(--app-muted)}:root[data-theme=night] .reference-table th{background:var(--app-raised);border-color:var(--app-border)}:root[data-theme=night] .reference-table td{color:var(--app-secondary);border-color:var(--app-border)}:root[data-theme=night] .reference-table tbody tr:nth-child(2n){background:#192b37}:root[data-theme=night] .reference-table tbody tr:hover{background:var(--app-hover)}:root[data-theme=night] .reference-table tbody tr.selected{background:#244355}:root[data-theme=night] .record-title{color:var(--app-accent)}:root[data-theme=night] .record-code{color:var(--app-muted)}:root[data-theme=night] .status-draft{background:var(--app-warning-bg);color:var(--app-warning-text)}:root[data-theme=night] .status-submitted{background:var(--app-info-bg);color:var(--app-info-text)}:root[data-theme=night] .status-approved{background:var(--app-success-bg);color:var(--app-success-text)}:root[data-theme=night] .status-overdue{background:var(--app-danger-bg);color:var(--app-danger-text)}:root[data-theme=night] :is(.pagination,.detail-tabs,.detail-actions){background:var(--app-raised)}:root[data-theme=night] :is(.pagination b,.detail-tabs button.active){color:var(--app-accent)}:root[data-theme=night] .detail-tabs button.active{background:var(--app-surface);border-color:var(--app-border)}:root[data-theme=night] .detail-tabs button{color:var(--app-muted)}:root[data-theme=night] .detail-fields dd{background:var(--app-input);border-color:var(--app-border);color:var(--app-text)}:root[data-theme=night] .file-row{border-color:var(--app-border);color:var(--app-secondary)}:root[data-theme=night] .file-row:hover{background:var(--app-hover)}:root[data-theme=night] .flow-steps>div{color:var(--app-muted)}:root[data-theme=night] .flow-steps>div.reached{color:var(--app-accent)}:root[data-theme=night] :is(.workspace-error,.bg-rose-50){background:var(--app-danger-bg);color:var(--app-danger-text);border-color:#80525f}:root[data-theme=night] .card-tabs{color:var(--app-muted);border-color:var(--app-border)}:root[data-theme=night] .card-tabs .active{color:var(--app-accent)}:root[data-theme=night] .card-tabs .active:after{background:var(--app-accent)}:root[data-theme=night] .card-tabs small{background:var(--app-info-bg);color:var(--app-info-text)}:root[data-theme=night] .shortcut-grid>button{background:var(--app-input);border-color:var(--app-border);color:var(--app-secondary)}:root[data-theme=night] .shortcut-grid>button:hover{background:var(--app-hover);border-color:var(--app-control-border)}:root[data-theme=night] .tone-0{background:var(--app-info-bg);color:var(--app-info-text)}:root[data-theme=night] .tone-1{background:var(--app-success-bg);color:var(--app-success-text)}:root[data-theme=night] .tone-2{background:var(--app-warning-bg);color:var(--app-warning-text)}:root[data-theme=night] .tone-3{color:#c4caf3;background:#30334c}:root[data-theme=night] .focus-grid>button{background:var(--app-raised);color:var(--app-secondary)}:root[data-theme=night] .focus-grid>button:hover{background:var(--app-hover)}:root[data-theme=night] .focus-grid b{color:var(--app-muted)}:root[data-theme=night] .focus-grid .attention{color:var(--app-warning-text)}:root[data-theme=night] .recent-activity>div{border-color:var(--app-border)}:root[data-theme=night] .recent-activity b{color:var(--app-accent)}:root[data-theme=night] .task-search{background:var(--app-input);border-color:var(--app-control-border);color:var(--app-muted)}:root[data-theme=night] :is(.fleet-metrics,.connection-strip,.sms-summary>div,.sms-entries button){color:var(--app-accent)}:root[data-theme=night] .fleet-metrics>div{border-color:var(--app-border)}:root[data-theme=night] :is(.fleet-metrics b,.sms-entries h3,.coverage-head h1){color:var(--app-text)}:root[data-theme=night] :is(.fleet-metrics span,.sms-summary p){color:var(--app-secondary)}:root[data-theme=night] .connection-strip{background:var(--app-raised);border-color:var(--app-border);color:var(--app-muted)}:root[data-theme=night] :is(.connection-strip button,.sms-summary b){color:var(--app-accent)}:root[data-theme=night] :is(.sms-summary>div,.sms-entries button){background:var(--app-surface);border-color:var(--app-border)}:root[data-theme=night] .sms-entries button:hover{background:var(--app-hover)}:root[data-theme=night] .coverage-head{border-color:var(--app-border)}:root[data-theme=night] .marine-loading{--loading-muted:var(--app-muted)}:root[data-theme=night] dialog::backdrop{background:#030b13b3}:root[data-theme=night] ::-webkit-scrollbar-thumb{background:#526c7d}:root[data-theme=night] ::selection{color:#eff8ff;background:#344b5b}:root[data-theme=night] :is(.bg-white,.bg-\[\#f8fafb\]){background-color:var(--app-surface)}:root[data-theme=night] :is(.bg-slate-50,.bg-slate-50\/40,.bg-slate-50\/60,.bg-slate-100,.bg-\[\#f6faff\],.bg-\[\#eaf1f4\]){background-color:var(--app-raised)}:root[data-theme=night] :is(.hover\:bg-slate-50,.hover\:bg-slate-50\/70,.hover\:bg-white):hover{background-color:var(--app-hover)}:root[data-theme=night] :is(.text-slate-200,.text-slate-300,.text-slate-400,.text-slate-500,.text-\[\#bbd0d9\]){color:var(--app-muted)}:root[data-theme=night] :is(.text-slate-600,.text-\[\#457184\]){color:var(--app-secondary)}:root[data-theme=night] :is(.border-slate-100,.border-slate-100\/80,.border-slate-200,.border-blue-100),:root[data-theme=night] .divide-slate-100>:not(:last-child){border-color:var(--app-border)}:root[data-theme=night] .hover\:border-slate-300:hover{border-color:var(--app-control-border)}:root[data-theme=night] :is(.text-blue-600,.text-blue-700,.text-sky-500,.text-sky-700,.text-\[\#6479ab\]){color:var(--app-info-text)}:root[data-theme=night] :is(.bg-sky-50,.bg-blue-50\/40,.bg-\[\#eef1fa\],.bg-\[\#eaf4f6\],.bg-\[\#e4f2f5\]){background-color:var(--app-info-bg)}:root[data-theme=night] :is(.text-amber-500,.text-amber-600,.text-amber-700,.text-\[\#bd8d46\]){color:var(--app-warning-text)}:root[data-theme=night] :is(.bg-amber-50,.bg-\[\#fbf4e9\]){background-color:var(--app-warning-bg)}:root[data-theme=night] :is(.text-red-500,.text-red-700,.text-rose-500,.text-rose-600,.text-\[\#b86861\]){color:var(--app-danger-text)}:root[data-theme=night] :is(.bg-\[\#fcf0ed\],.hover\:bg-rose-50:hover){background-color:var(--app-danger-bg)}:root[data-theme=night] .border-rose-200{border-color:#80525f}:root[data-theme=night] :is(.text-green-600,.text-green-700,.text-emerald-600,.text-emerald-700){color:var(--app-success-text)}:root[data-theme=night] .bg-emerald-50{background-color:var(--app-success-bg)}:root[data-theme=night] .ring-amber-100{--tw-ring-color:var(--app-warning-bg)}:root[data-theme=night] .ring-sky-100{--tw-ring-color:var(--app-info-bg)}:root[data-theme=night] .ring-emerald-100{--tw-ring-color:var(--app-success-bg)}:root[data-theme=night] .ring-white{--tw-ring-color:var(--app-surface)}
