@charset "UTF-8";
/* Cyber-Geo 0.8.5: shared notification controls and full dark professional palette.
   Local SVG icons and system fonts; no remote fonts, styles or scripts. */
.notification-trigger{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.notification-bell,.topbar-quick-theme{position:relative;width:40px;height:40px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink);cursor:pointer}
.notification-bell:hover,.topbar-quick-theme:hover{background:var(--soft);border-color:var(--border)}
.notification-count,.nav-notif-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#e44258;color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;padding:0 5px;font-variant-numeric:tabular-nums;box-shadow:0 2px 10px #e4425840}
.notification-count{position:absolute;right:0;top:-2px}
.nav-notif-badge{margin-left:auto;box-shadow:none;min-width:19px}
.notification-count[hidden],.nav-notif-badge[hidden],.notification-popover[hidden]{display:none!important}
.notification-popover{position:absolute;top:calc(100% + 12px);right:-26px;width:min(440px,calc(100vw - 28px));max-height:min(620px,75vh);overflow:hidden;display:flex;flex-direction:column;z-index:400;background:var(--paper);border:1px solid var(--border);border-radius:15px;box-shadow:0 24px 70px #070e2055}
.notification-popover-head{padding:16px 17px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--border)}
.notification-popover-head strong{font-size:15px}.notification-popover-items{overflow:auto;min-height:85px;flex:1}
.notification-row{display:flex;gap:12px;text-align:left;align-items:flex-start;width:100%;border:0;border-bottom:1px solid var(--border);padding:15px 16px;background:transparent;color:var(--ink);cursor:pointer}
.notification-row:hover,.notification-row:focus-visible{background:var(--soft)}
.notification-row.unread{background:color-mix(in srgb,var(--green) 8%,var(--paper))}
.notification-row-icon{width:35px;height:35px;border-radius:10px;background:var(--mint);color:var(--green);flex-shrink:0;display:grid;place-items:center}
.notification-row-icon svg.icon{width:18px;height:18px}
.notification-row-content{min-width:0;display:grid;gap:4px;flex:1}
.notification-row-content strong{font-size:12px;font-weight:650;color:var(--ink)}
.notification-row-content span{font-size:12px;line-height:1.55;color:var(--muted);overflow-wrap:anywhere}
.notification-row-content small{font-size:10px;color:var(--muted);margin-top:2px}
.unread-dot{flex-shrink:0;background:#3696ff;width:8px;height:8px;border-radius:50%;margin-top:6px}
.notification-more{border:0;background:var(--soft);padding:14px;font-size:12px;color:var(--green);display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.notification-more:hover{filter:brightness(1.09)}
.notification-empty{padding:28px;text-align:center;font-size:12px;color:var(--muted);line-height:1.7}
.notification-full{overflow:hidden}.notification-controls{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;border-bottom:1px solid var(--border);color:var(--muted);font-size:12px}
.notification-full .notification-row{padding:19px 22px}
.cg-topbar-search{display:none}.cg-topbar-search label{display:flex;align-items:center;gap:12px;background:var(--soft);border:1px solid var(--border);padding:0 12px;border-radius:9px;height:39px;max-width:450px}
.cg-topbar-search input{background:transparent;border:0;outline:0;color:var(--ink);min-width:0;width:100%;font-size:12px}
.cg-topbar-search input::placeholder{color:var(--muted)}
/* Dark cards, as in the approved screenshot */
.dark-dashboard-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:0 0 20px}
.dark-dashboard-stat{display:flex;align-items:center;gap:14px;padding:18px 14px;min-width:0;background:linear-gradient(135deg,#101d2e,#0d1725);border:1px solid #25334a;border-radius:13px}
.dark-dashboard-stat>span{width:49px;height:50px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;background:#172f53;color:#3a9bff}
.dark-dashboard-stat>span svg{width:26px;height:26px}
.dark-dashboard-stat div{min-width:0;display:flex;flex-direction:column;gap:4px}
.dark-dashboard-stat small{font-size:12px;color:#d3deeb;font-style:normal}
.dark-dashboard-stat strong{font-size:26px;color:#f6f9ff;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.dark-dashboard-stat em{font-size:10px;color:#94a9bc;font-style:normal}
.dark-dashboard-stat.networks>span{background:#282043;color:#ad74f6}.dark-dashboard-stat.buildings>span{background:#30221d;color:#ff932a}
.dark-dashboard-stat.month>span{background:#172b4b;color:#3c9dff}.dark-dashboard-stat.complete>span{background:#102e28;color:#31d3a1}
body.theme-dark{
  --bg:#090f19;--paper:#111c2c;--ink:#e9f1fd;--muted:#9aaec5;--border:#28364b;--green:#3897ff;
  --green-dark:#0a1422;--mint:#132a44;--soft:#162337;--orange:#e89d39;--red:#fd6376;
  --shadow:0 16px 52px #01060f99;
  background:#090f19;color:var(--ink);color-scheme:dark;
}
body.theme-dark .app-shell{background:#090f19}
body.theme-dark .sidebar{background:linear-gradient(178deg,#0b1625 0%,#0a111e 68%,#09101c 100%);color:#dceaff;border-right:1px solid #202e42;box-shadow:none}
body.theme-dark .brand strong{color:#f2f7ff;font-weight:750}
body.theme-dark .brand span,body.theme-dark .brand-text span{color:#9caec3}
body.theme-dark .nav-label{color:#657f9f}
body.theme-dark .nav-button{color:#b6c8df;border:1px solid transparent}
body.theme-dark .nav-button .icon{color:#93aac7}
body.theme-dark .nav-button.active{background:linear-gradient(96deg,#173e7d,#0c2850);color:#edf6ff;border-color:#215aab;box-shadow:inset 3px 0 #2d99ff}
body.theme-dark .nav-button.active .icon{color:#41acff}
body.theme-dark .nav-button:hover:not(.active){background:#172a40;color:#e6f1ff}
body.theme-dark .nav-count{background:#193552;color:#a8cdff}
body.theme-dark .sidebar-note{background:#101f33;color:#bad3ef;border:1px solid #263e5c}
body.theme-dark .sidebar-note .icon{color:#4cabff}
body.theme-dark .sidebar-bottom{border-top-color:#253448}
body.theme-dark .sidebar-user-text,body.theme-dark .sidebar-user-text small{color:#b3c6dd}
body.theme-dark .avatar,body.theme-dark .small-avatar{background:linear-gradient(125deg,#215a9d,#1a7bb4);color:#fff}
body.theme-dark .logout{background:#142539;color:#a6bfdb}
body.theme-dark .topbar{background:rgba(9,17,28,.96);border-bottom:1px solid #1c2d44;backdrop-filter:blur(12px)}
body.theme-dark .topbar .breadcrumb,body.theme-dark .breadcrumb strong,body.theme-dark .topbar .date{color:#b5c7df}
body.theme-dark .breadcrumb #breadcrumb-current{color:#edf5ff}
body.theme-dark .topbar-right{gap:15px}
body.theme-dark .cg-topbar-search{display:block;width:min(350px,24vw)}
body.theme-dark .cg-topbar-search label{background:#101d2e;border-color:#26374e}
body.theme-dark .topbar-quick-theme{color:#ffbf45}
body.theme-dark .notification-bell{color:#55b7ff}
body.theme-dark .connection-dot{background:#2fd6a0}
body.theme-dark .main{max-width:none;padding:24px 26px 35px}
body.theme-dark .page-heading{margin-bottom:20px}
body.theme-dark .page-heading h1{color:#f1f6ff;font-weight:720}
body.theme-dark .page-heading p{color:#95a9c3}
body.theme-dark .page-heading .eyebrow{color:#65a9f7}
body.theme-dark .panel,body.theme-dark .stat-card,body.theme-dark .form-card,body.theme-dark .settings-tile,body.theme-dark .calendar-main,body.theme-dark .calendar-summary{background:#101b2a;border:1px solid #233249;border-radius:12px;box-shadow:none}
body.theme-dark .panel-title,body.theme-dark .toolbar,body.theme-dark .order-filters,body.theme-dark .settings-body,body.theme-dark .detail-tabs{border-color:#26364c}
body.theme-dark .panel h2,body.theme-dark .settings-body h3,body.theme-dark .form-card h3,body.theme-dark .panel-title strong{color:#e8f2ff}
body.theme-dark .muted,body.theme-dark .help,body.theme-dark .cell-sub,body.theme-dark .stat-foot,body.theme-dark .subtitle{color:#95a9bf}
body.theme-dark .stat-top{color:#a8bdd8}
body.theme-dark .stat-number{color:#edf6ff}
body.theme-dark .stat-card.accent{border-top:2px solid #278ff0}
body.theme-dark .stat-card.warn{border-top:2px solid #fb9157}
body.theme-dark .btn{background:#142339;border:1px solid #31435c;color:#d7e8ff;box-shadow:none;border-radius:8px}
body.theme-dark .btn:hover{background:#203550;border-color:#3f6289;color:#fff}
body.theme-dark .btn.primary,body.theme-dark .btn.primary:hover{background:linear-gradient(120deg,#2078dd,#2365c7);color:#fff;border-color:#338aff}
body.theme-dark .btn.danger{color:#ffb2bb;border-color:#734354}
body.theme-dark .btn.subtle{background:#111e30;color:#a9c5e5}
body.theme-dark .tab{color:#9bb3ce}
body.theme-dark .tab.active{background:#123760;color:#87c8ff}
body.theme-dark .tabs{border-color:#27394f}
body.theme-dark .field label,body.theme-dark .field-label{color:#aabbd1}
body.theme-dark :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background-color:#101d2e!important;color:#e5f0ff!important;border-color:#2d4058!important;caret-color:#66bcff}
body.theme-dark :is(input,textarea)::placeholder{color:#748ba7}
body.theme-dark :is(input,select,textarea):focus{border-color:#4ea5ff!important;outline-color:#4a9fffd0}
body.theme-dark input[type=checkbox]{accent-color:#278eff}
body.theme-dark :is(button,select,textarea,input):disabled{opacity:.64}
body.theme-dark thead,body.theme-dark th{background:#142338;color:#a5bedc;border-color:#283b54}
body.theme-dark td{color:#ccd9eb;border-color:#1d2d42}
body.theme-dark tbody tr:nth-child(2n){background:#0e1929}
body.theme-dark .order-row:hover,body.theme-dark tbody tr:hover{background:#152840}
body.theme-dark .order-number,body.theme-dark .order-name{color:#91c9ff}
body.theme-dark .file-name,body.theme-dark .detail-grid dd{color:#dfebfb}
body.theme-dark .detail-grid dt{color:#96abc4}
body.theme-dark .table-footer{border-color:#24364e;color:#9db5d3}
body.theme-dark .pagination button{background:#122036;border-color:#2b4059;color:#b3c8e5}
body.theme-dark .pagination button.active{background:#246bd0;border-color:#368cff;color:#fff}
body.theme-dark .status-badge{border:1px solid #264564;background:#0f2e4b;color:#65bdff;border-radius:999px;padding:5px 9px}
body.theme-dark .status-badge.new,body.theme-dark .status-badge.prepared{background:#0e3458;color:#67bbff;border-color:#1b5789}
body.theme-dark .status-badge.performed,body.theme-dark .status-badge.review_ready{background:#133a3a;color:#51dbc4;border-color:#24736c}
body.theme-dark .status-badge.corrections,body.theme-dark .status-badge.submitted{background:#402912;color:#ffc276;border-color:#76502d}
body.theme-dark .status-badge.approved,body.theme-dark .status-badge.staked{background:#113c2c;color:#55e2a1;border-color:#2a7559}
body.theme-dark .status-badge.not_approved,body.theme-dark .status-badge.cancelled{background:#411e32;color:#ff8fa2;border-color:#85445b}
body.theme-dark .modal{background:#101c2b;border:1px solid #314259;color:#dfebfb}
body.theme-dark .modal-header,body.theme-dark .modal-footer{background:#101c2b;border-color:#2b3c51}
body.theme-dark .modal-body,body.theme-dark .detail-tabs{background:#0e1a2b;color:#e6f2ff}
body.theme-dark .detail-tab{color:#a7bad4}body.theme-dark .detail-tab.active{color:#65b9ff;border-color:#3b8be8}
body.theme-dark .modal-overlay{background:#020814ba}
body.theme-dark .file-card,body.theme-dark .revision-card,body.theme-dark .comment,body.theme-dark .comment-reply,body.theme-dark .history-list li{border-color:#2a3c52;background:#101e30;color:#d3e2f5}
body.theme-dark .file-icon,body.theme-dark .file-badge{background:#213854;color:#91caff;border-color:#315273}
body.theme-dark .form-card,body.theme-dark .settings-body,body.theme-dark .inline-item-editor{background:#121f31}
body.theme-dark .settings-tile{color:#d6e7ff;background:#111f33}
body.theme-dark .settings-tile:hover{background:#19324e;border-color:#35669d}
body.theme-dark .key-value{border-color:#294057;color:#b6c9e2}
body.theme-dark .info-box,body.theme-dark .hint-strip,body.theme-dark .classification-badge{background:#172b43;color:#c4defa;border-color:#294d70}
body.theme-dark .info-box.warning{background:#402d17;color:#ffc78b;border-color:#806034}
body.theme-dark .dropzone{background:#112439;border-color:#376293;color:#9fc4e8}
body.theme-dark .dropzone:hover{background:#19334e}
body.theme-dark .map-layout,body.theme-dark .map-layer-panel,body.theme-dark .map-search-panel{background:#101d2c;border-color:#2c4057;color:#cfdef1}
body.theme-dark .map-layer-header,body.theme-dark .map-layer-tools,body.theme-dark .map-footer-note{border-color:#2b4159;background:#102238;color:#b2c6df}
body.theme-dark .map-canvas{background-color:#0d1e30!important;background-image:linear-gradient(#19384a55 1px,transparent 1px),linear-gradient(90deg,#19384a55 1px,transparent 1px)!important}
body.theme-dark .leaflet-control-attribution{background:#13283ed6!important;color:#bfd0e1!important}
body.theme-dark .calendar-main,body.theme-dark .calendar-summary,body.theme-dark .calendar-head{background:#101d2d;color:#d7e7fa;border-color:#2b3e56}
body.theme-dark .calendar-day,body.theme-dark .calendar-cell,body.theme-dark .calendar-weekday{background:#101e30;color:#bfd3eb;border-color:#293c53}
body.theme-dark .calendar-day:hover,body.theme-dark .calendar-cell:hover{background:#182f49}
body.theme-dark .calendar-order,body.theme-dark .calendar-event{background:#173456;color:#94ceff;border-color:#31649a}
body.theme-dark .toast{background:#14253b;color:#badcff;border-color:#335171;box-shadow:0 12px 32px #04080d8c}
body.theme-dark .toast.error{color:#ffbec8;border-color:#814255}
body.theme-dark .notification-row{background:#101c2b;color:#dce9fb}
body.theme-dark .notification-row.unread{background:#142c47}
body.theme-dark .notification-row:hover{background:#1b3553}
body.theme-dark .notification-row-icon{background:#1b3a59;color:#68bbff}
body.theme-dark .notification-popover{background:#101b2a;border-color:#31435c}
body.theme-dark .notification-more{background:#162b45;color:#8fcaff}
body.theme-dark .notification-controls{color:#a5bad3}
body.theme-dark .notification-full{background:#101b2a}
body.theme-dark :focus-visible{outline:2px solid #5db6ff;outline-offset:2px}
@media(max-width:1440px){.dark-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cg-topbar-search{max-width:240px}}
@media(max-width:1000px){.dark-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-dark .cg-topbar-search{display:none}}
@media(max-width:760px){.dark-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dark-dashboard-stat{padding:12px 9px}.dark-dashboard-stat>span{width:35px;height:38px}.dark-dashboard-stat strong{font-size:22px}.notification-popover{right:-65px;width:calc(100vw - 24px);max-height:70vh}body.theme-dark .topbar{padding:0 14px}body.theme-dark .main{padding:18px 12px}}
@media(max-width:450px){.dark-dashboard-stats{grid-template-columns:1fr 1fr}.dark-dashboard-stat{gap:7px}.dark-dashboard-stat small{font-size:10px}.dark-dashboard-stat em{display:none}}

/* Dark dashboard widgets: actual personal notifications, shortcuts, and honest map preview. */
body.theme-dark .dark-dashboard-lower{display:grid;grid-template-columns:1.22fr 1.08fr .77fr;gap:16px;margin-top:20px;align-items:stretch}
body.theme-dark .dark-dashboard-lower .panel{min-width:0;overflow:hidden}
body.theme-dark .dark-widget-head{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:0;padding:14px 17px;border-bottom:1px solid #29374c}
body.theme-dark .dark-widget-head h2{font-size:15px;margin:0;color:#e3efff}
body.theme-dark .dark-map-illustration{margin:13px 14px 15px;min-height:175px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;text-align:center;color:#94bddb;border-radius:10px;border:1px solid #24415b;background-color:#102c3d;background-image:linear-gradient(40deg,transparent 44%,#127a93a0 44.4%,#197f9e 45%,transparent 45.5%),linear-gradient(135deg,transparent 55%,#285b88a8 55.3%,#3378a4 55.8%,transparent 56.4%),repeating-linear-gradient(0deg,#1c475125 0 2px,transparent 2px 30px),repeating-linear-gradient(90deg,#1c475125 0 2px,transparent 2px 30px)}
body.theme-dark .dark-map-illustration>span{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #316382;background:#112c42e6;border-radius:9px;color:#d1edff;font-weight:680}
body.theme-dark .dark-map-illustration>p{max-width:270px;margin:0;padding:4px 8px;color:#accde1;font-size:11px;background:#10283bcb;border-radius:5px}
body.theme-dark .dark-dashboard-activity .notification-row{padding:12px 16px}
body.theme-dark .dark-dashboard-activity .notification-row-content span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.theme-dark .dark-shortcuts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px}
body.theme-dark .dark-shortcuts-grid button{min-width:0;min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px solid #2a4260;background:#15253c;border-radius:10px;color:#a6ceff;cursor:pointer}
body.theme-dark .dark-shortcuts-grid button:hover{background:#1b385a;border-color:#4386c7}
body.theme-dark .dark-shortcuts-grid button svg{width:24px;height:24px;color:#44a7ff}
body.theme-dark .dark-shortcuts-grid button span{font-size:11px;text-align:center;color:#d4e4fc}
body.theme-dark .dark-shortcuts-grid button:nth-child(3n) svg{color:#ad76ff}
@media(max-width:1250px){body.theme-dark .dark-dashboard-lower{grid-template-columns:repeat(2,minmax(0,1fr))}body.theme-dark .dark-dashboard-shortcuts{grid-column:1/-1}}
@media(max-width:760px){body.theme-dark .dark-dashboard-lower{grid-template-columns:minmax(0,1fr)}body.theme-dark .dark-dashboard-shortcuts{grid-column:auto}}
