@charset "UTF-8";
/* Cyber-Geo 0.8.6: accessible SaaS dashboard refinement, layout is independent
   of the back-end, legacy and modern theme remain selectable. No remote assets. */
/* Nested settings, visible only for server-authorized roles */
.sidebar-settings-submenu{display:flex;flex-direction:column;gap:2px;margin:1px 4px 9px 22px;padding:5px 0 5px 13px;border-left:1px solid var(--border,#294057)}
.sidebar-settings-submenu[hidden]{display:none!important}
.sidebar-subitem{display:flex;align-items:center;justify-content:space-between;gap:7px;text-align:left;width:100%;min-height:31px;border:0;background:transparent;color:inherit;opacity:.88;border-radius:7px;padding:6px 7px;cursor:pointer;font-size:11px;line-height:1.35;font-family:inherit}
.sidebar-subitem:hover,.sidebar-subitem.active{opacity:1;background:#2e85bd20}
.sidebar-subitem .icon{width:12px;height:12px;opacity:.7}
.nav-list{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#38526c transparent}
.nav-button[data-page="settings"] svg:last-child{margin-left:auto;width:14px;height:14px;transition:transform .17s}
.nav-button[data-page="settings"][aria-expanded="true"] svg:last-child{transform:rotate(90deg)}
.app-shell.sidebar-collapsed .sidebar-settings-submenu{display:none!important}
body.theme-dark .sidebar-settings-submenu{border-color:#23364e}
body.theme-dark .sidebar-subitem{color:#b4c6df}
body.theme-dark .sidebar-subitem:hover,body.theme-dark .sidebar-subitem.active{background:#142d49;color:#87c7ff}
/* Screens of compact/dense orders share style colors in all themes */
.order-assortment{display:inline-flex;align-items:center;gap:9px;font-weight:650;font-size:11px;white-space:nowrap}
.order-assortment .icon{width:21px;height:21px;flex:none}
.order-assortment-road{color:#318dea}.order-assortment-network{color:#a75af1}.order-assortment-object{color:#e48a2f}
.order-actions{display:flex;align-items:center;gap:5px;min-width:95px;justify-content:end}
.order-actions .icon-btn{display:inline-grid;place-items:center;width:27px;height:27px;flex:none}
.order-file-count{font-size:11px;color:var(--muted);display:inline-flex;gap:4px;align-items:center;margin-right:2px}
.order-file-count .icon{height:15px;width:15px}
.order-person{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:185px;font-size:10px}
.order-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-person-avatar{flex:none;display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#d7edf3;color:#174b61;font-size:10px;font-weight:750}
.order-person-avatar.survey{background:#cbebf0;color:#156874}.order-person-avatar.office{background:#e7dafa;color:#593797}
.order-saas-row td:first-child{border-left:3px solid transparent}
.order-saas-row.row-status-new td:first-child{border-left-color:#298fe7}
.order-saas-row.row-status-prepared td:first-child,.order-saas-row.row-status-performed td:first-child{border-left-color:#1bbec0}
.order-saas-row.row-status-review_ready td:first-child{border-left-color:#5367ef}
.order-saas-row.row-status-submitted td:first-child,.order-saas-row.row-status-corrections td:first-child{border-left-color:#f59d34}
.order-saas-row.row-status-approved td:first-child,.order-saas-row.row-status-staked td:first-child{border-left-color:#28c383}
.order-saas-row.row-status-not_approved td:first-child{border-left-color:#ed4965}
.order-saas-row.row-status-cancelled td:first-child{border-left-color:#8191a5}
.order-saas-row.is-selected{background:color-mix(in srgb,var(--green) 14%,var(--paper))!important}
.order-selection{width:38px!important;padding-left:12px!important;padding-right:5px!important;white-space:nowrap}
.order-selection input{accent-color:var(--green)}
.bulk-selection-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:11px 15px;border:1px solid var(--border);border-left:3px solid var(--green);border-radius:8px;margin:10px 14px;color:var(--ink)}
.bulk-selection-bar label{font-size:10px;display:flex;flex-direction:column;gap:5px;min-width:145px}
.bulk-selection-bar select,.bulk-selection-bar input{height:33px;border-radius:7px;border:1px solid var(--border);background:var(--paper);color:var(--ink);padding:4px 8px;font-size:11px}
.bulk-errors{max-height:340px;overflow:auto;padding:4px 12px}.bulk-errors p{font-size:12px;border-bottom:1px solid var(--border);padding:8px 0}
/* Dashboard task queue */
.my-work-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:20px}
.my-work-stats article{display:flex;align-items:center;gap:13px;padding:20px;border-radius:13px;background:var(--paper);border:1px solid var(--border)}
.my-work-stats article>span{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;background:var(--mint);color:var(--green)}
.my-work-stats article>span svg{width:24px;height:24px}.my-work-stats article strong{font-size:27px;line-height:1}
.my-work-stats article small{font-size:12px;color:var(--muted)}.my-work-stats article.warning>span{color:#e09b37;background:#8b652425}
.my-work-row{display:flex;align-items:center;gap:16px;min-height:72px;width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--ink);text-align:left;padding:14px 20px;cursor:pointer;font-family:inherit}
.my-work-row:last-child{border-bottom:0}.my-work-row:hover,.my-work-row:focus-visible{background:var(--soft)}
.work-assortment{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:650;white-space:nowrap}
.work-assortment svg{width:21px;height:21px}.work-assortment.as-road{color:#409eff}.work-assortment.as-network{color:#af78fa}.work-assortment.as-object{color:#ff9c3e}
.my-work-row-main{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.my-work-row-main strong{font-size:13px}.my-work-row-main small{color:var(--muted);font-size:11px}
.my-work-tags{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.work-tag{font-size:10px;background:#267ccc20;color:var(--green);padding:5px 8px;border:1px solid #267ccc42;border-radius:999px;white-space:nowrap}
.work-tag.warning{background:#f1b64e1b;border-color:#eeb95d65;color:#e5ac51}
/* Right-side order drawer, same server-filtered data as the full detail view */
body.preview-open{overflow:hidden}.order-preview-overlay{position:fixed;inset:0;z-index:950;display:flex;justify-content:flex-end}
.order-preview-shade{position:absolute;inset:0;background:#040b14ae;cursor:pointer}
.order-preview-drawer{position:relative;width:min(580px,100vw);height:100%;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);border-left:1px solid var(--border);box-shadow:-15px 0 65px #0005}
.preview-header{padding:16px 22px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:14px}
.preview-content{overflow-y:auto;min-height:0;padding:20px 24px 30px}
.preview-summary{border-bottom:1px solid var(--border);padding-bottom:17px}.preview-summary h2{font-size:20px;line-height:1.4;margin:5px 0 15px}
.preview-summary .eyebrow{font-size:11px;color:var(--green);margin:0}.preview-summary>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.preview-facts{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px;padding:14px 0 20px;margin:0}
.preview-facts dt{font-size:10px;color:var(--muted);margin-bottom:5px}.preview-facts dd{font-size:12px;margin:0;overflow-wrap:anywhere}
.preview-section{padding:16px 0;border-top:1px solid var(--border)}.preview-section h3{font-size:13px;display:flex;align-items:center;gap:9px;margin:0 0 12px}
.preview-section h3 svg{width:18px;height:18px;color:var(--green)}
.preview-file{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);font-size:11px}
.preview-file>span{display:flex;gap:9px;align-items:center;min-width:0;overflow-wrap:anywhere}
.preview-file svg{width:16px;height:16px;flex:none}.preview-file a{color:var(--green)}
.preview-line{font-size:11px;color:var(--muted);margin:6px 0}
.preview-comment{font-size:11px;padding:10px;border:1px solid var(--border);border-radius:9px;margin-bottom:8px;background:var(--soft)}
.preview-comment p{line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.preview-actions{padding:15px 0;display:flex;flex-wrap:wrap;gap:9px}
/* Global search suggestions appear only for orders already visible to user */
.cg-topbar-search{position:relative}
.global-search-suggestions{position:absolute;z-index:450;top:calc(100% + 9px);left:0;right:0;min-width:300px;padding:6px;background:var(--paper);border:1px solid var(--border);border-radius:10px;box-shadow:0 20px 45px #0005;max-height:350px;overflow:auto}
.global-search-suggestions button{display:flex;flex-direction:column;text-align:left;width:100%;padding:10px 12px;gap:4px;border:0;border-radius:7px;background:transparent;color:var(--ink);cursor:pointer;font-size:11px}
.global-search-suggestions button:hover{background:var(--soft)}.global-search-suggestions span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Pixel-oriented dark theme refinement: close to the approved design */
body.theme-dark .app-shell:not(.sidebar-collapsed):not(.sidebar-hidden){grid-template-columns:214px minmax(0,1fr)}
body.theme-dark .sidebar{background:linear-gradient(180deg,#081522,#091421 55%,#08111d);border-right-color:#213145;box-shadow:0 0 28px #02070b60}
body.theme-dark .sidebar .brand{padding-bottom:15px}
body.theme-dark .nav-button{min-height:42px;margin:2px 0;border-radius:8px;font-size:12px;padding:10px 12px}
body.theme-dark .nav-button.active{background:linear-gradient(100deg,#125cbb,#103562);border-color:#205fad;box-shadow:inset 4px 0 #288eff,0 2px 12px #0c3e6c4a}
body.theme-dark .sidebar .nav-button .icon{color:#8daac8}
body.theme-dark .sidebar .nav-button.active .icon{color:#56b9ff}
body.theme-dark .nav-label{margin-top:8px;color:#6487ae;letter-spacing:.10em}
body.theme-dark .sidebar-note{display:none}
body.theme-dark .sidebar-settings-submenu{padding-left:14px;margin-left:19px}
body.theme-dark .sidebar-subitem{font-size:11px;padding:7px 8px}
body.theme-dark .topbar{min-height:70px;background:#0a1422;border-color:#243449}
body.theme-dark .topbar-right{gap:17px}
body.theme-dark .cg-topbar-search{display:block;width:min(390px,29vw)}
body.theme-dark .cg-topbar-search label{height:44px;background:#101d2e;border:1px solid #26394e;border-radius:8px}
body.theme-dark .main{padding:23px 22px 33px}
body.theme-dark .page-heading h1{font-size:24px}
body.theme-dark .page-heading .eyebrow{letter-spacing:.11em;color:#368eff}
body.theme-dark .dark-dashboard-stats{gap:14px;margin-top:-3px;margin-bottom:18px}
body.theme-dark .dark-dashboard-stat{min-height:95px;padding:14px 15px;background:linear-gradient(140deg,#111d2e,#0d1826);border:1px solid #22334a;border-radius:11px}
body.theme-dark .dark-dashboard-stat>span{width:56px;height:55px;border-radius:12px}
body.theme-dark .dark-dashboard-stat strong{font-size:27px;letter-spacing:.005em}
body.theme-dark .dark-dashboard-stat small{font-size:12px;font-weight:650}
body.theme-dark .panel{background:#101b2a;border-color:#25344b;border-radius:12px}
body.theme-dark .orders-toolbar{padding:14px 15px;min-height:63px}
body.theme-dark .order-filters{padding:14px 14px 17px;background:#0d1928;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
body.theme-dark .order-filters .field label{font-size:10px;color:#acbfd8}
body.theme-dark .order-filters .field select,body.theme-dark .order-filters .field input{height:38px;border-radius:8px;background:#101e2e!important;border-color:#31455c!important;font-size:11px}
body.theme-dark .modern-orders-table table{min-width:890px;table-layout:auto}
body.theme-dark .modern-orders-table th{padding:12px 13px;background:#122135;font-size:10px;font-weight:650;white-space:nowrap}
body.theme-dark .modern-orders-table td{padding:11px 13px;font-size:11px;line-height:1.55;border-color:#1e3045}
body.theme-dark .modern-orders-table .order-title{color:#e7effe;max-width:255px;font-size:11px}
body.theme-dark .modern-orders-table .order-number{font-size:11px;color:#d4e3fb;font-weight:620;white-space:nowrap}
body.theme-dark .order-assortment-road{color:#33a2fb}body.theme-dark .order-assortment-network{color:#b77cff}body.theme-dark .order-assortment-object{color:#ff982e}
body.theme-dark .order-person-avatar.survey{background:#0f694f;color:#cdf5e3}body.theme-dark .order-person-avatar.office{background:#244d86;color:#d5eaff}
body.theme-dark .order-file-count{color:#b0cae4}
body.theme-dark .order-saas-row:hover{background:#172b45}
body.theme-dark .table-toolbar{background:#101e30;border-color:#28405a}
body.theme-dark .table-footer{background:#0e1928;border-color:#263951}
body.theme-dark .bulk-selection-bar{background:#10233a;border-color:#2d527b;border-left-color:#389dff}
body.theme-dark .status-badge{font-size:10px;white-space:nowrap;font-weight:650;padding:5px 9px}
body.theme-dark .status-badge.review_ready{background:#1b2e55;border-color:#435bd2;color:#8eaeff}
body.theme-dark .status-badge.corrections{background:#3d253e;border-color:#9257a2;color:#d1a2e7}
body.theme-dark .status-badge.submitted{background:#4c2b12;border-color:#94602a;color:#ffc281}
body.theme-dark .dark-dashboard-lower{grid-template-columns:1.22fr 1fr .78fr}
body.theme-dark .dark-widget-head{padding:14px 15px}
body.theme-dark .dark-map-illustration{min-height:180px}
/* Improve keyboard/accessibility on dark and mobile */
@media(max-width:1250px){body.theme-dark .dark-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}body.theme-dark .dark-dashboard-lower{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){body.theme-dark .dark-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-dark .order-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.my-work-stats{gap:8px}}
@media(max-width:760px){.sidebar-settings-submenu{margin-left:18px}.my-work-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.my-work-row{flex-wrap:wrap}.my-work-tags{justify-content:start}.my-work-row-main{flex-basis:64%}.preview-facts{grid-template-columns:1fr 1fr}body.theme-dark .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-dark .app-shell{grid-template-columns:1fr!important}}
@media(max-width:520px){.my-work-stats{grid-template-columns:1fr}.preview-content{padding:16px}.preview-facts{gap:10px}.global-search-suggestions{min-width:220px}}
/* Dark compact filters mimic the approved first row; advanced filters remain accessible. */
body.theme-dark .order-filters:not(.filters-expanded) .advanced-filter{display:none}
body.theme-dark .order-filters .advanced-filter{order:2}
body.theme-dark .order-investor{display:flex;flex-direction:column;gap:3px;min-width:145px;max-width:230px}
body.theme-dark .order-investor strong{font-size:11px;color:#f2f6fe;line-height:1.3;font-weight:650}
body.theme-dark .order-investor small{font-size:10px;color:#9db2cf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.theme-dark #dark-filter-toggle{min-width:74px}
