:root {
  --nav:#102b46;
  --navDeep:#0a2138;
  --nav2:#183754;
  --ink:#1b2f43;
  --muted:#6e8295;
  --border:#e4ebf2;
  --paper:#fff;
  --bg:#f4f7fb;
  --teal:#0b9489;
  --teal2:#eaf8f5;
  --orange:#ed8255;
  --orange2:#fff1e9;
  --blue:#3576c6;
  --blue2:#eaf3fe;
  --red:#cf515a;
  --red2:#fff1f1;
  --gold:#b88228;
  --gold2:#fff7e4;
  --shadow:0 4px 24px rgba(26,59,91,.055);
  font-family:Inter,'Segoe UI',system-ui,-apple-system,sans-serif;
  color:var(--ink)
}
* {
  box-sizing:border-box
}
html,body {
  margin:0;
  min-height:100%;
  background:var(--bg)
}
button,input,select,textarea {
  font:inherit
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
a {
  color:var(--blue)
}
.shell {
  min-height:100vh
}
.sidebar {
  width:250px;
  background:var(--nav);
  color:#ecf5fb;
  position:fixed;
  inset:0 auto 0 0;
  z-index:20;
  display:flex;
  flex-direction:column;
  box-shadow:10px 0 30px #061e3010
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  padding:25px 20px 24px
}
.brand-emblem {
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(135deg,#24b9ac,#56a7e0);
  box-shadow:0 5px 16px #0417284d
}
.brand-emblem svg {
  stroke:#fff
}
.brand-txt {
  line-height:1.1
}
.brand-txt strong {
  display:block;
  font-weight:800;
  font-size:16px;
  letter-spacing:.08em
}
.brand-txt small {
  display:block;
  margin-top:5px;
  color:#9eb6c8;
  font-size:10px;
  letter-spacing:.11em
}
.side-scroll {
  flex:1;
  overflow:auto;
  padding:0 11px 20px;
  scrollbar-width:thin
}
.nav-title {
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  color:#8ba7bf;
  padding:14px 13px 8px;
  margin-top:7px
}
.nav-item {
  width:100%;
  border:0;
  background:transparent;
  color:#c0d0de;
  display:flex;
  gap:12px;
  align-items:center;
  text-align:left;
  border-radius:10px;
  padding:12px 13px;
  margin-bottom:3px;
  font-size:13px;
  font-weight:550;
  transition:background .15s,color .15s
}
.nav-item:hover {
  color:#fff;
  background:#ffffff0b
}
.nav-item.active {
  color:#fff;
  background:#1d4868;
  box-shadow:inset 3px 0 0 #51d6be
}
.nav-item svg {
  width:18px;
  height:18px;
  opacity:.86;
  flex:none
}
.nav-item.active svg {
  color:#5ce2c9
}
.nav-tag {
  margin-left:auto;
  font-size:10px;
  color:#8fcbbc;
  background:#124e51;
  padding:3px 6px;
  border-radius:6px
}
.side-bottom {
  padding:15px 18px;
  border-top:1px solid #ffffff1c
}
.side-bottom p {
  margin:0 0 9px;
  font-size:11px;
  line-height:1.55;
  color:#a2bacc
}
.side-status {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#bde7cf
}
.pulse {
  width:7px;
  height:7px;
  background:#50d9a8;
  border-radius:50%;
  box-shadow:0 0 0 4px #50d9a822
}
.workspace {
  margin-left:250px;
  min-width:0
}
.topbar {
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:10;
  height:78px;
  padding:0 32px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between
}
.top-title {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0
}
.breadcrumbs {
  font-size:10px;
  letter-spacing:.1em;
  color:#8394a4;
  text-transform:uppercase;
  font-weight:750
}
.breadcrumbs span {
  color:var(--teal)
}
.page-name {
  font-size:16px;
  font-weight:800;
  color:#203950;
  line-height:1.2
}
.top-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.global-search {
  display:flex;
  align-items:center;
  gap:7px;
  background:#f5f7fb;
  border:1px solid #e6edf3;
  border-radius:10px;
  height:39px;
  padding:0 10px;
  min-width:235px;
  color:#8495a8
}
.global-search input {
  width:180px;
  background:transparent;
  border:0;
  outline:0;
  font-size:12px;
  color:var(--ink)
}
.global-search svg {
  height:16px;
  width:16px
}
.role-select {
  background:#fff;
  border:1px solid #dce7ef;
  color:#344e67;
  border-radius:10px;
  padding:10px 9px;
  font-size:12px;
  max-width:145px
}
.demo-indicator {
  white-space:nowrap;
  background:#fff2e5;
  color:#a56320;
  border:1px solid #fbdcbd;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:8px 11px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em
}
.demo-indicator::before {
  content:'';
  width:7px;
  height:7px;
  border-radius:50%;
  background:#eaa045
}
.container {
  max-width:1720px;
  margin:auto;
  padding:28px 32px 56px
}
.section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px
}
.section-head h1 {
  margin:0;
  font-size:27px;
  letter-spacing:-.6px;
  color:#162f47;
  line-height:1.3
}
.section-head p {
  margin:8px 0 0;
  font-size:13px;
  line-height:1.5;
  color:var(--muted)
}
.eyebrow {
  font-size:10px;
  color:#0f8d84;
  letter-spacing:.16em;
  font-weight:850;
  text-transform:uppercase;
  margin-bottom:9px
}
.section-actions,.inline-actions {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap
}
.btn {
  border:1px solid #d7e4ee;
  background:#fff;
  color:#264258;
  border-radius:9px;
  padding:10px 14px;
  font-size:12px;
  font-weight:750;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  text-decoration:none;
  transition:transform .14s,background .14s
}
.btn:hover:not(:disabled) {
  background:#f4f8fc
}
.btn:active {
  transform:translateY(1px)
}
.btn svg {
  height:15px;
  width:15px
}
.btn.primary {
  background:var(--teal);
  border-color:var(--teal);
  color:#fff
}
.btn.primary:hover:not(:disabled) {
  background:#087e75
}
.btn.navy {
  background:var(--nav);
  border-color:var(--nav);
  color:#fff
}
.btn.orange {
  background:#faede6;
  color:#a64f25;
  border-color:#f8d9c9
}
.btn.danger {
  color:#b13d45;
  border-color:#f1d2d5
}
.btn.sm {
  padding:7px 9px;
  min-height:30px;
  font-size:11px
}
.btn.icon-only {
  width:38px;
  padding:7px
}
.card {
  background:var(--paper);
  border:1px solid #e7edf3;
  box-shadow:var(--shadow);
  border-radius:15px;
  min-width:0;
  overflow:hidden
}
.card.pad {
  padding:20px 22px
}
.card-title {
  font-size:15px;
  font-weight:800;
  color:#223d55
}
.card-desc {
  font-size:12px;
  color:#8493a2;
  line-height:1.6
}
.card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:19px 22px 15px
}
.card-head h2 {
  margin:0;
  font-size:15px;
  font-weight:800
}
.card-head p {
  margin:5px 0 0;
  font-size:11px;
  color:#8495a4
}
.card-actions {
  display:flex;
  gap:9px;
  align-items:center
}
.kpi-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px
}
.kpi {
  padding:19px 19px 17px;
  position:relative;
  min-height:132px
}
.kpi-head {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.kpi-label {
  font-size:11px;
  font-weight:650;
  color:#748699
}
.kpi-icon {
  width:35px;
  height:35px;
  border-radius:11px;
  display:grid;
  place-items:center;
  background:#eff6f9;
  color:#21758c
}
.kpi-icon svg {
  width:18px;
  height:18px
}
.kpi-val {
  font-size:29px;
  font-weight:850;
  letter-spacing:-.8px;
  color:#233a50;
  margin:12px 0 4px
}
.kpi-sub {
  font-size:11px;
  color:#92a0af
}
.kpi-accent {
  position:absolute;
  left:0;
  bottom:0;
  right:0;
  height:3px;
  background:#0b9489;
  opacity:.85
}
.kpi.blue .kpi-accent {
  background:#4780ce
}
.kpi.orange .kpi-accent {
  background:#ef8755
}
.kpi.red .kpi-accent {
  background:#d9686b
}
.two-col {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr);
  gap:18px;
  margin-bottom:20px
}
.two-equal {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.map-card {
  min-height:438px
}
.map-card.compact .map-wrap {
  height:375px
}
.map-wrap {
  height:510px;
  background:#eaf3f8;
  position:relative;
  overflow:hidden;
  user-select:none
}
.map-wrap svg.geo {
  display:block;
  width:100%;
  height:100%;
  touch-action:none;
  cursor:grab
}
.map-wrap svg.geo.panning {
  cursor:grabbing
}
.map-wrap svg.geo .mark {
  cursor:pointer;
  transition:opacity .1s
}
.map-wrap svg.geo .mark:hover {
  filter:drop-shadow(0 0 3px #102f5480)
}
.map-wrap svg.geo .land {
  fill:#c9e0d9;
  stroke:#91b5b0;
  stroke-width:1.6;
  vector-effect:non-scaling-stroke
}
.map-wrap svg.geo .coast-halo {
  fill:none;
  stroke:#fff;
  stroke-width:4;
  opacity:.7;
  vector-effect:non-scaling-stroke
}
.map-ui {
  position:absolute;
  z-index:2;
  pointer-events:none
}
.map-ui>* {
  pointer-events:auto
}
.map-zoom {
  right:16px;
  top:17px;
  display:flex;
  flex-direction:column;
  gap:7px
}
.map-zoom button {
  display:grid;
  place-items:center;
  width:35px;
  height:35px;
  background:white;
  border:1px solid #dce7f0;
  color:#45637b;
  border-radius:9px;
  font-size:19px;
  box-shadow:0 4px 12px #16436016
}
.map-legend {
  bottom:14px;
  left:15px;
  background:#ffffffeb;
  padding:10px 12px;
  border:1px solid #e2edf1;
  border-radius:10px;
  font-size:10px;
  color:#476274;
  max-width:320px;
  box-shadow:0 4px 18px #17436814
}
.map-legend strong {
  display:block;
  margin-bottom:7px;
  font-size:11px
}
.legend-items {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center
}
.legend-item {
  display:inline-flex;
  align-items:center;
  gap:5px
}
.legend-dot {
  height:8px;
  width:8px;
  border-radius:50%;
  background:#ee8756
}
.legend-dot.tematik {
  background:#3981c7
}
.legend-dot.unknown {
  background:#fff;
  border:2px dashed #c58841;
  width:10px;
  height:10px
}
.map-caption {
  bottom:12px;
  right:12px;
  background:#123554de;
  color:#eef8fd;
  padding:6px 9px;
  border-radius:6px;
  font-size:9px;
  max-width:190px;
  text-align:right
}
.map-surfacebar {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:10px 17px;
  border-bottom:1px solid var(--border);
  background:#fff
}
.map-surfacebar .select, .map-surfacebar .input {
  height:34px
}
.map-pop {
  position:absolute;
  z-index:3;
  top:18px;
  left:18px;
  max-width:230px;
  border:1px solid #dce8ef;
  background:#fff;
  border-radius:10px;
  padding:12px;
  box-shadow:0 7px 25px #0b26412d
}
.map-pop strong {
  font-size:13px
}
.map-pop p {
  font-size:11px;
  color:var(--muted);
  margin:5px 0 10px
}
.map-pop .btn {
  width:100%
}
.right-stack {
  display:flex;
  flex-direction:column;
  gap:16px
}
.flow-steps {
  padding:2px 21px 17px
}
.flow-step {
  display:flex;
  align-items:flex-start;
  gap:12px;
  position:relative;
  padding:10px 0
}
.flow-step+.flow-step::before {
  content:'';
  position:absolute;
  width:1px;
  height:26px;
  background:#dde7ed;
  top:-13px;
  left:15px
}
.step-num {
  width:31px;
  height:31px;
  flex:none;
  display:grid;
  place-items:center;
  background:#e8f7f4;
  color:#16867d;
  border:1px solid #bfe7df;
  border-radius:10px;
  font-size:12px;
  font-weight:850
}
.flow-step strong {
  display:block;
  font-size:12px
}
.flow-step span {
  display:block;
  color:#8b9aa8;
  font-size:11px;
  margin-top:3px
}
.flow-step b {
  margin-left:auto;
  color:#4d6c80;
  font-size:12px
}
.mini-list {
  padding:0 16px 15px
}
.mini-row {
  width:100%;
  border:0;
  background:transparent;
  display:flex;
  gap:11px;
  text-align:left;
  padding:11px 5px;
  border-bottom:1px solid #ecf1f5;
  align-items:center
}
.mini-row:last-child {
  border-bottom:0
}
.mini-row:hover {
  background:#fafcfd
}
.mini-row .r-body {
  flex:1;
  min-width:0
}
.mini-row strong {
  font-size:12px;
  display:block;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden
}
.mini-row span {
  font-size:10px;
  color:#8b9ca9;
  display:block;
  margin-top:4px
}
.mini-row .r-side {
  font-size:10px;
  text-align:right;
  flex:none
}
.date-box {
  width:40px;
  height:43px;
  border-radius:8px;
  background:#eaf6f4;
  color:#0c8079;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column
}
.date-box strong {
  font-size:15px
}
.date-box span {
  font-size:9px;
  text-transform:uppercase;
  color:#537b78
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:7px;
  padding:5px 8px;
  font-size:10px;
  font-weight:750;
  background:#eef3f6;
  color:#607486;
  white-space:nowrap
}
.badge.teal {
  background:#e7f7f3;
  color:#167d71
}
.badge.blue {
  background:#ecf3ff;
  color:#3c6bba
}
.badge.orange {
  background:#fff1e9;
  color:#b76e37
}
.badge.red {
  background:#fff0f0;
  color:#bb4b58
}
.badge.gold {
  background:#fff5e5;
  color:#a67630
}
.badge.gray {
  background:#f2f4f7;
  color:#65798b
}
.badge.purple {
  background:#f0ebff;
  color:#7161a6
}
.muted {
  color:var(--muted)
}
.spacer {
  flex:1
}
.input,.select,.textarea {
  border:1px solid #dbe5ed;
  background:#fff;
  border-radius:9px;
  padding:10px 12px;
  outline:none;
  min-width:0;
  width:auto;
  color:#284258;
  font-size:12px
}
.input:focus,.select:focus,.textarea:focus {
  border-color:#78b5b1;
  box-shadow:0 0 0 3px #11948b14
}
.textarea {
  min-height:96px;
  resize:vertical;
  width:100%
}
.select {
  padding-right:23px
}
.search-field {
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 10px;
  border:1px solid #dbe5ed;
  border-radius:9px;
  min-height:38px;
  background:#fff
}
.search-field svg {
  width:15px;
  height:15px;
  color:#7e93a6
}
.search-field input {
  border:0;
  outline:0;
  background:transparent;
  min-width:0;
  width:100%;
  font-size:12px
}
.toolbar {
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:15px
}
.toolbar .search-field {
  min-width:250px;
  flex:1
}
.data-table {
  border-collapse:collapse;
  width:100%;
  table-layout:auto;
  white-space:nowrap
}
.table-scroll {
  overflow:auto;
  max-width:100%
}
.data-table thead {
  background:#f7fafc
}
.data-table th {
  padding:12px 14px;
  color:#8293a0;
  text-align:left;
  font-weight:750;
  font-size:10px;
  letter-spacing:.045em;
  text-transform:uppercase;
  border-bottom:1px solid #e4ecf2
}
.data-table td {
  padding:13px 14px;
  border-bottom:1px solid #edf2f5;
  color:#364e64;
  font-size:12px;
  vertical-align:middle
}
.data-table tr:last-child td {
  border-bottom:0
}
.data-table tbody tr:hover {
  background:#f9fcfd
}
.data-table .cell-primary {
  font-weight:800;
  color:#223d53
}
.data-table .cell-secondary {
  display:block;
  color:#91a0aa;
  font-weight:450;
  font-size:11px;
  margin-top:4px
}
.table-foot {
  padding:14px 19px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  border-top:1px solid #e8eef3;
  color:#8192a1;
  font-size:11px
}
.pager {
  display:flex;
  gap:5px;
  align-items:center
}
.pager button {
  background:#fff;
  border:1px solid #dae5ed;
  border-radius:7px;
  padding:6px 9px;
  color:#4a637c;
  font-size:11px
}
.pager button.current {
  background:var(--nav);
  color:#fff
}
.pager button:disabled {
  opacity:.45
}
.table-empty {
  padding:40px 20px;
  text-align:center;
  color:#92a2b2;
  font-size:13px
}
.stage-bar {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:0 0 19px
}
.stage {
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 13px;
  min-width:0
}
.stage .n {
  font-size:20px;
  font-weight:850
}
.stage span {
  display:block;
  font-size:10px;
  color:#8294a5;
  margin-top:5px;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden
}
.stage .little-line {
  height:4px;
  border-radius:6px;
  margin-top:11px;
  background:#b8d9d4
}
.stage:nth-child(2n) .little-line {
  background:#b4cde4
}
.stage:nth-child(3n) .little-line {
  background:#f0c2a5
}
.split-map {
  display:grid;
  grid-template-columns:minmax(0,1fr) 345px;
  gap:17px
}
.split-map .map-wrap {
  height:620px
}
.map-side {
  max-height:740px;
  display:flex;
  flex-direction:column
}
.map-side .scroll-list {
  overflow:auto;
  flex:1;
  padding:0 13px 12px;
  min-height:0
}
.filter-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px
}
.filter-grid .input,.filter-grid .select {
  width:100%
}
.mini-map-list {
  padding:10px;
  border-bottom:1px solid #edf1f5;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  border-radius:8px
}
.mini-map-list:hover {
  background:#f7fafc
}
.mini-map-list .pin {
  width:27px;
  height:27px;
  border-radius:9px;
  background:#e7f7f4;
  display:grid;
  place-items:center;
  color:#11887d;
  flex:none
}
.mini-map-list strong {
  font-size:12px
}
.mini-map-list p {
  font-size:11px;
  color:#8092a1;
  margin:4px 0 0
}
.mini-map-list .badge {
  margin-left:auto
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px
}
.field.full {
  grid-column:1/-1
}
.field label {
  color:#526d83;
  font-weight:750;
  font-size:11px
}
.field small {
  font-size:10px;
  color:#8196a6
}
.field .input,.field .select {
  width:100%;
  min-height:41px
}
.field .textarea {
  font-size:12px
}
.modal-overlay {
  position:fixed;
  inset:0;
  z-index:70;
  background:#071b2bc0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px
}
.modal {
  max-width:720px;
  max-height:min(90dvh,950px);
  overflow:auto;
  width:100%;
  background:#fff;
  border-radius:17px;
  box-shadow:0 20px 100px #00152568
}
.modal.wide {
  max-width:850px
}
.modal-head {
  padding:19px 23px;
  border-bottom:1px solid #edf1f5;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.modal-head strong {
  font-size:17px
}
.modal-head p {
  font-size:11px;
  color:#8494a2;
  margin:4px 0 0
}
.modal-body {
  padding:22px 23px
}
.modal-foot {
  padding:15px 23px;
  border-top:1px solid #edf1f5;
  display:flex;
  justify-content:flex-end;
  gap:10px
}
.close-x {
  border:0;
  background:#f4f8fb;
  border-radius:9px;
  display:grid;
  place-items:center;
  height:35px;
  width:35px;
  color:#658196
}
.detail-header {
  border-bottom:1px solid #eef2f5;
  padding-bottom:19px;
  display:flex;
  justify-content:space-between;
  gap:10px
}
.detail-header h2 {
  margin:5px 0 5px;
  font-size:23px
}
.detail-header p {
  margin:0;
  color:#8da0ad;
  font-size:12px
}
.detail-stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:17px 0
}
.detail-stats>div {
  background:#f5f8fa;
  border-radius:10px;
  padding:13px
}
.detail-stats strong {
  font-size:18px;
  display:block
}
.detail-stats span {
  display:block;
  font-size:10px;
  color:#8695a4;
  margin-top:4px
}
.tabs {
  display:flex;
  gap:5px;
  border-bottom:1px solid #e8eff3;
  overflow:auto;
  margin-bottom:18px
}
.tabs button {
  padding:11px 13px;
  flex:none;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:#768b9e;
  font-size:11px;
  font-weight:700
}
.tabs button.active {
  color:#0b8b81;
  border-bottom-color:#13a99a
}
.two-data {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 26px
}
.two-data .key {
  font-size:10px;
  color:#8799a6;
  margin:0 0 6px;
  text-transform:uppercase;
  letter-spacing:.04em
}
.two-data .val {
  font-size:12px;
  line-height:1.5;
  font-weight:650;
  color:#284258
}
.callout {
  border-radius:12px;
  padding:12px 14px;
  background:#ecf8f6;
  border:1px solid #d1eae4;
  color:#2b746d;
  font-size:11px;
  line-height:1.55;
  margin:14px 0
}
.callout.warn {
  background:#fff7ea;
  border-color:#f4e1c1;
  color:#8d6d38
}
.callout.danger {
  background:#fff1f1;
  border-color:#f8d9dc;
  color:#a74855
}
.progress {
  height:7px;
  background:#e8eef2;
  overflow:hidden;
  border-radius:10px;
  width:100%
}
.progress>span {
  height:100%;
  display:block;
  background:#15a99c;
  border-radius:10px
}
.progress.red>span {
  background:#ea806e
}
.task-table .cell-title {
  min-width:170px
}
.notice {
  padding:13px 16px;
  margin-bottom:19px;
  background:#eaf7f5;
  border:1px solid #ccede7;
  border-left:4px solid #0b9489;
  border-radius:10px;
  color:#3b6d68;
  font-size:12px;
  line-height:1.6
}
.notice.orange {
  background:#fff5ed;
  border-color:#f9dfcb;
  border-left-color:#e9a16d;
  color:#92644a
}
.report-hero {
  background:linear-gradient(105deg,#143550,#0e5860);
  color:#fff;
  padding:23px 26px;
  border-radius:15px;
  display:flex;
  gap:20px;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px
}
.report-hero h2 {
  margin:0 0 8px;
  font-size:20px
}
.report-hero p {
  margin:0;
  color:#bee0e6;
  font-size:12px;
  line-height:1.6
}
.report-hero .btn {
  background:#fff;
  color:#19515a;
  border:0
}
.report-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px
}
.report-metric {
  padding:22px
}
.report-metric b {
  font-size:23px;
  display:block;
  margin:11px 0 6px
}
.report-metric span {
  font-size:11px;
  color:#8c9aa8
}
.barlist {
  display:flex;
  flex-direction:column;
  gap:15px
}
.baritem label {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  margin-bottom:8px
}
.baritem label strong {
  color:#425c72
}
.bartrack {
  height:9px;
  background:#f0f5f7;
  border-radius:10px;
  overflow:hidden
}
.bartrack>span {
  height:100%;
  display:block;
  background:linear-gradient(90deg,#239c9b,#68b7d2);
  border-radius:10px
}
.audit-list {
  font-size:11px
}
.audit-row {
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:11px 0;
  border-bottom:1px solid #f0f2f5
}
.audit-row .stamp {
  color:#a0aeb8;
  white-space:nowrap
}
.audit-row .msg {
  flex:1;
  color:#3d5870
}
.audit-row .by {
  color:#8b9baa
}
.tile-pill {
  display:inline-flex;
  gap:7px;
  align-items:center;
  border-radius:999px;
  background:#f0f6f9;
  padding:6px 9px;
  font-size:10px;
  color:#56758a
}
.warn-txt {
  color:#b36b32
}
.text-right {
  text-align:right
}
.loading-blank {
  padding:28px;
  color:var(--muted)
}
.skeleton {
  background:linear-gradient(90deg,#f0f3f5,#f5f8f9,#f0f3f5)
}
.toast {
  position:fixed;
  right:24px;
  bottom:23px;
  background:#123d55;
  color:#fff;
  padding:12px 17px;
  border-radius:10px;
  box-shadow:0 12px 36px #102b4647;
  z-index:90;
  font-size:12px;
  max-width:350px
}
.toast.success {
  background:#0c7369
}
.toast.error {
  background:#ab3c43
}
.empty-state {
  text-align:center;
  padding:35px;
  color:#7d92a1
}
.empty-state strong {
  display:block;
  color:#36546a;
  font-size:14px;
  margin:7px 0
}
.empty-state svg {
  width:28px;
  height:28px
}
.muted-note {
  font-size:10px;
  color:#93a1ac;
  line-height:1.5;
  margin-top:7px
}
.footer-small {
  font-size:10px;
  color:#91a1af;
  margin-top:18px;
  text-align:center;
  line-height:1.7
}
.mobile-top {
  display:none
}
.mobile-toggle {
  display:none
}
.event-card {
  padding:14px 0;
  display:flex;
  align-items:flex-start;
  gap:12px;
  border-bottom:1px solid #edf2f4
}
.event-card:last-child {
  border-bottom:0
}
.event-card .event-icon {
  height:39px;
  width:39px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#eaf4f7;
  color:#2e7a93;
  flex:none
}
.event-card .event-info {
  flex:1;
  min-width:0
}
.event-card strong {
  font-size:12px;
  display:block
}
.event-card p {
  font-size:11px;
  color:#8494a2;
  margin:5px 0 0
}
.event-card .btn {
  align-self:center
}
.link-btn {
  border:0;
  background:none;
  color:#0c8e85;
  font-size:11px;
  font-weight:800;
  padding:5px
}
.clip {
  max-width:230px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.kv-table {
  width:100%;
  border-collapse:collapse
}
.kv-table td {
  padding:10px 5px;
  border-bottom:1px solid #edf1f3;
  vertical-align:top;
  font-size:11px
}
.kv-table td:first-child {
  width:36%;
  color:#8094a5
}
.kv-table td:last-child {
  color:#304d63;
  font-weight:650;
  white-space:normal
}
.progress-data {
  display:flex;
  align-items:center;
  gap:10px
}
.progress-data .progress {
  min-width:70px
}
.progress-data b {
  min-width:28px;
  text-align:right;
  font-size:11px
}
.hidden {
  display:none!important
}
@media(max-width:1350px) {
  .sidebar {
    width:220px
  }
  .workspace {
    margin-left:220px
  }
  .topbar {
    padding:0 21px
  }
  .container {
    padding:23px 22px 50px
  }
  .kpi-grid {
    gap:12px
  }
  .two-col {
    grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)
  }
  .split-map {
    grid-template-columns:1fr 300px
  }
}
@media(max-width:1040px) {
  .global-search {
    display:none
  }
  .two-col {
    grid-template-columns:1fr
  }
  .kpi-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .split-map {
    grid-template-columns:1fr
  }
  .map-side {
    max-height:430px
  }
  .split-map .map-wrap {
    height:520px
  }
  .filter-grid {
    grid-template-columns:repeat(2,1fr)
  }
}
@media(max-width:750px) {
  .sidebar {
    transform:translateX(-110%);
    width:min(275px,87vw);
    transition:transform .2s
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .workspace {
    margin:0
  }
  .topbar {
    height:70px;
    padding:0 14px
  }
  .top-title {
    margin-left:42px
  }
  .page-name {
    font-size:14px
  }
  .breadcrumbs {
    font-size:9px
  }
  .mobile-toggle {
    position:fixed;
    top:17px;
    left:13px;
    height:36px;
    width:36px;
    border:1px solid #d7e6e8;
    background:#fff;
    color:#1d495e;
    border-radius:9px;
    z-index:31;
    display:grid;
    place-items:center
  }
  .mobile-toggle svg {
    width:18px
  }
  .top-actions {
    gap:5px
  }
  .role-select {
    max-width:103px;
    padding:8px 3px;
    font-size:10px
  }
  .demo-indicator {
    font-size:9px;
    padding:7px
  }
  .container {
    padding:20px 12px 44px
  }
  .section-head {
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .section-head h1 {
    font-size:23px
  }
  .kpi-grid {
    gap:10px
  }
  .kpi {
    padding:15px;
    min-height:116px
  }
  .kpi-val {
    font-size:25px
  }
  .card-head {
    padding:14px 15px
  }
  .card.pad {
    padding:16px
  }
  .map-card.compact .map-wrap {
    height:320px
  }
  .map-wrap {
    height:400px
  }
  .report-grid {
    grid-template-columns:1fr
  }
  .stage-bar {
    grid-template-columns:repeat(3,1fr)
  }
  .filter-grid {
    grid-template-columns:1fr
  }
  .modal-body {
    padding:15px
  }
  .modal-head,.modal-foot {
    padding:15px
  }
  .form-grid,.two-data {
    grid-template-columns:1fr
  }
  .detail-stats {
    grid-template-columns:repeat(2,1fr)
  }
  .report-hero {
    flex-direction:column;
    align-items:flex-start
  }
  .side-scrim {
    position:fixed;
    inset:0;
    background:#0d21378f;
    z-index:19;
    display:none
  }
  .side-scrim.on {
    display:block
  }
  .map-legend {
    max-width:250px
  }
  .desktop-only {
    display:none!important
  }
}
@media print {
  .sidebar,.topbar,.section-actions,.toolbar,.btn,.mobile-toggle,.map-zoom,.map-legend,.map-caption,.modal-overlay,.toast {
    display:none!important
  }
  .workspace {
    margin:0
  }
  .container {
    max-width:none;
    padding:0
  }
  .card,.kpi {
    box-shadow:none;
    break-inside:avoid
  }
  .map-wrap {
    height:360px
  }
  .section-head h1 {
    font-size:22px
  }
  .page-name {
    display:none
  }
  body {
    background:#fff
  }
}
/* Map fills the available card height instead of leaving a white gap on wide screens. */
.map-card,.split-map>.card:first-child {
  display:flex;
  flex-direction:column
}
.map-card .map-wrap,.split-map>.card:first-child>.map-wrap {
  flex:1;
  height:auto;
  min-height:375px
}
@media(max-width:750px) {
  .breadcrumbs {
    display:none
  }
  .page-name {
    font-size:14px;
    max-width:142px
  }
  .top-title {
    margin-left:42px
  }
  .map-card .map-wrap {
    min-height:320px
  }
  .split-map>.card:first-child>.map-wrap {
    min-height:390px
  }
}
.proof-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.proof {
  background:#f4f8fa;
  border:1px solid #e2eaf0;
  border-radius:9px;
  overflow:hidden;
  padding:9px
}
.proof strong {
  display:block;
  font-size:10px;
  color:#7e8fa1;
  margin-bottom:6px
}
.proof img {
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:5px;
  display:block
}
@media(max-width:750px) {
  .proof-grid {
    grid-template-columns:1fr
  }
}
/* Navigation groups retain the original views and their filters. */
.nav-item>span:first-of-type {
  min-width:0;
  line-height:1.5
}
.section-actions {
  flex-shrink:0
}
.filter-check {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:var(--muted)
}
.nav-utility {
  margin-bottom:12px
}
.workspace-tabs {
  display:flex;
  gap:6px;
  padding:6px;
  background:#eaf0f5;
  border:1px solid #dfe8ee;
  border-radius:12px;
  margin-bottom:22px;
  overflow:auto
}
.workspace-tabs button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:1;
  white-space:nowrap;
  border:0;
  border-radius:8px;
  padding:11px 16px;
  background:transparent;
  color:#526d83;
  font-size:12px;
  font-weight:750
}
.workspace-tabs button.active {
  background:#fff;
  color:#087e75;
  box-shadow:0 2px 8px #102b4610
}
.work-queue {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:20px
}
.work-queue button {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  text-align:left;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px;
  color:var(--ink)
}
.work-queue strong {
  font-size:22px;
  color:var(--teal)
}
.work-queue span {
  flex:1;
  font-size:11px;
  line-height:1.5
}
.work-queue svg {
  flex:none
}
.modal-open {
  overflow:hidden
}
.modal-backbar {
  padding:8px 17px;
  background:#f6fafb;
  border-bottom:1px solid var(--border)
}
.modal-head>div,.section-head>div,.card-head>div,.right-stack,.flow-step>div,.top-title {
  min-width:0
}
.flow-step strong,.flow-step span,.card-head h2,.event-info strong,.two-data .val {
  overflow-wrap:anywhere
}
.flow-step b {
  flex:none
}
.date-box {
  flex-shrink:0
}
.mini-row .r-body {
  display:block;
  min-width:0;
  width:0
}
.two-col,.split-map {
  min-width:0
}
.workspace-tabs button:focus-visible,.nav-item:focus-visible,.work-queue button:focus-visible {
  outline:3px solid #60b9ad;
  outline-offset:2px
}
@media(max-width:1040px) {
  .two-col,.split-map {
    grid-template-columns:minmax(0,1fr)
  }
  .work-queue {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:750px) {
  .container,.workspace {
    width:100%;
    min-width:0
  }
  .topbar {
    gap:6px
  }
  .top-title {
    flex:1;
    margin-left:40px
  }
  .page-name {
    font-size:12px;
    max-width:none;
    overflow-wrap:anywhere
  }
  .top-actions {
    flex-shrink:0
  }
  .demo-indicator {
    font-size:8px;
    padding:6px
  }
  .role-select {
    max-width:100px
  }
  .section-head {
    align-items:stretch
  }
  .section-head h1 {
    font-size:22px
  }
  .card-head {
    flex-wrap:wrap
  }
  .card-actions {
    margin-left:auto
  }
  .workspace-tabs button {
    font-size:11px;
    padding:10px 8px
  }
  .work-queue button {
    padding:10px;
    gap:7px
  }
  .work-queue strong {
    font-size:19px
  }
  .work-queue svg {
    display:none
  }
  .toolbar .search-field {
    min-width:0;
    flex-basis:100%
  }
  .toolbar .select {
    max-width:100%
  }
  .stage-bar {
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
  .modal-foot {
    flex-wrap:wrap
  }
  .detail-stats {
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  .detail-stats strong {
    overflow-wrap:anywhere;
    font-size:15px
  }
  .audit-row {
    flex-wrap:wrap
  }
  .map-caption {
    max-width:43%;
    font-size:8px
  }
  .map-legend {
    max-width:49%;
    font-size:9px
  }
  .toast {
    max-width:calc(100vw - 24px);
    right:12px;
    bottom:12px
  }
}
@media print {
  .workspace-tabs,.work-queue {
    display:none!important
  }
}
