/* EMS palette: lighter slate-blue surfaces with green operating indicators. */
:root{
  --blue:#3875c5;
  --blue-hover:#2e63ad;
  --blue-surface:#274968;
  --blue-surface-raised:#355e82;
  --blue-on-surface:#edf5fe;
  --blue-on-surface-muted:#bfd3e7;
  --ink:#283d55;
  --muted:#60738b;
  --green:var(--blue);
  --green-dark:var(--blue-hover);
  --line:#e3ebf4;
  --bg:#f5f8fc;
  --nav:#2b4968;
}
.sidebar{background:linear-gradient(170deg,#355879 0%,#294562 100%)}
.brand{height:89px;padding:13px 12px}
.brand-filters{position:absolute;pointer-events:none}
.brand-lockup{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;height:63px;padding:10px}
.brand-symbol{display:block;width:36px;height:44px;object-fit:contain;flex-shrink:0}
.brand-wordmark{display:block;width:124px;max-width:calc(100% - 44px);height:auto;object-fit:contain}
@media(max-width:900px){.brand-lockup{height:55px;padding:7px;gap:0}.brand-symbol{width:32px;height:40px}.brand-wordmark{display:none}}
.nav-label{color:#bfd1e5}
.nav-item{color:#d5e2ef}
.nav-item:hover{background:#406487;color:#fff}
.nav-item.active{background:#4b7096;color:#fff;box-shadow:inset 3px 0 #8cdbc4}
.nav-item .count{background:#f0ba68;color:#273146}
.sidebar-bottom{border-color:#5c78944d}
.environment{color:#d9e8f6}
.sidebar-bottom small{color:#b8cde2}
.dot{background:#64d6b4}
.topbar{height:65px}
.full-view .topbar{background:#f7faff}
.breadcrumb strong{color:#48617e}
.top-actions>.text-mini:last-child{color:#386a9f;font-weight:500}
.status{background:#e9f8f1;color:#21835e}
.status.warn{background:#fff4de;color:#a7791b}
.status.bad{background:#fff0ed;color:#c25e53}
.status.neutral{background:#eff2f6;color:#7d8799}
.kpi-bottom b{color:#249375}
.panel-head h2:before{background:#6a9cdb}
.notice{background:#f0f6fd;border-color:#dce9f7;color:#647f9f}
.campus-hero{background:radial-gradient(ellipse at 68% 35%,#456e96 0%,#325678 42%,#294666 85%);border-color:#527599}
.campus-hero:after{background:linear-gradient(90deg,#233d594d 0%,transparent 30%),linear-gradient(0deg,#294666 0%,transparent 29%)}
.hero-copy h1{color:#f5f9ff}
.hero-copy h1 em{color:#b7d9ff}
.hero-eyebrow{color:#cee1f7}
.hero-eyebrow>span{background:#78dab9}
.hero-copy p{color:#e2edf8}
.hero-copy p span{color:#c8dcee}
.hero-scope-number{color:#d8eaff}
.hero-scope{color:#cbdff2}
.hero-utility button{color:#d8e8f8}
.hero-kpis{background:#24405ed9;border-color:#a3c3e438}
.hero-metric strong{color:#f5f9ff}
.hero-metric-label{color:#d2e3f5}
.hero-metric-unit,.hero-metric small{color:var(--blue-on-surface-muted)}
.hero-capacity-caption,.hero-range-label{color:#d0e2f5}
.hero-capacity-heading{color:#d7e7f8}
.hero-capacity-heading strong{color:#f0f7ff}
.hero-capacity-heading small,.hero-capacity-scale>span{color:#c3d8ed}
.hero-capacity-heading:after{color:#c0d9f3}
.hero-capacity-track{background:#aacced38}
.hero-capacity-track>span{background:#a1cbfa}
.hero-capacity-row.storage .hero-capacity-track>span{background:#80d8bb}
.hero-toolbar .select,.hero-button{background:var(--blue-surface)!important;color:var(--blue-on-surface)!important;border-color:#9ebcdb80!important}
.hero-data-note,.hero-scene-controls,.scene-interaction-hint{color:var(--blue-on-surface-muted)}
.sample-dot{background:#80d8bb}
.campus-view-buttons{background:#2a4b6bef;border-color:#a0bedd73}
.campus-view-buttons button{color:#d4e5f6}
.campus-view-buttons button:hover{background:#476d94}
.campus-view-buttons button[aria-pressed=true]{background:#e0efff;color:#294d76}
.campus-view-caption>span{background:#294969ed;color:#caddf1}
.campus-view-caption>button{background:#42698f;border-color:#a6c4e280;color:#f2f8ff}
.campus-view-caption>button:hover{background:#517aa3}
.campus-hotspot{background:#294c6eef!important;border-color:#adc9e480!important}
.campus-hotspot:hover{background:#365e86!important;border-color:#c1d9ef!important}
.campus-hotspot-label{color:#edf5ff!important}
.campus-hotspot-value{color:#c8ddf2!important}
.facility-panel{background:#2a4c6df5;color:#e8f2fc;border-color:#a6c3df80}
.facility-panel-head{border-color:#b3cce538}
.facility-panel-head small,.facility-panel-head>button,.facility-result small,.facility-result em,.facility-slider>span,.facility-assumption,.facility-session-note,.facility-state small,.facility-numbers small{color:#c4d8ec}
.facility-slider output,.facility-result strong{color:#f0f7ff}
.facility-slider input{accent-color:#b6d8fa}
.facility-primary{background:#c3e0ff;color:#244665}
.facility-primary:hover{background:#dfedff}
.facility-secondary{color:#dfecfa;border-color:#abc8e380}
.facility-presets button{color:#dceafb;border-color:#aac6e35e}
.facility-presets button[aria-pressed=true]{background:#bad8f6;color:#234664}
.facility-boundary{background:#f0c87418;color:#f6dca2}
.facility-panel-links{border-color:#b3cce538}
.facility-panel-links button{color:#d7e9fb}
.demo-charger-selector>button{color:#dfecfa;border-color:#aac6e35e}
.demo-charger-selector>button[aria-pressed=true]{background:#477699;border-color:#b9d9f6}
.demo-battery>div:first-child,.demo-energy-line{color:#c4d8ec}
.demo-battery-track>span{background:#80d8bb}
.demo-battery strong{color:#d6f7e8}
.mobile-content{max-width:none;padding:24px 28px 18px}.mobile-content .footer{margin-top:20px}.mobile-presentation .sidebar,.mobile-presentation .topbar,.mobile-presentation .footer{display:none}.mobile-presentation .shell{display:block}.mobile-presentation .workspace{display:block}.mobile-presentation .mobile-content{padding:0;max-width:none;min-height:100svh}
.mobile-presentation #mobile-root{min-height:100svh}
@media(min-width:761px){.mobile-dashboard:not(.mobile-showcase) .mobile-grid{height:620px}.mobile-dashboard:not(.mobile-showcase) .mobile-map-panel{min-height:0}.mobile-dashboard:not(.mobile-showcase) .mobile-detail{min-height:0}.mobile-dashboard:not(.mobile-showcase) .mobile-detail-heading,.mobile-dashboard:not(.mobile-showcase) .mobile-detail-tabs,.mobile-dashboard:not(.mobile-showcase) .mobile-detail-footer{flex-shrink:0}.mobile-dashboard:not(.mobile-showcase) .mobile-detail-body{overflow:auto;scrollbar-width:thin;scrollbar-color:#cedceb transparent}}
@media(min-width:901px) and (max-height:780px){body:not(.full-view) .hero-data-note{bottom:115px}body:not(.full-view) .hero-capacities+.hero-utility{margin-top:7px}}
@media(max-width:900px){.mobile-content{padding:18px 16px}.top-actions>.text-mini:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Campus composition: summary, model, controls, then operating metrics.
   Kept together so desktop, presentation and panel states share one layout. */
body .campus-hero {
  --campus-gap: 24px;
  --campus-inset: 28px;
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  grid-template-rows: auto minmax(320px, 1fr) auto auto;
  gap: 12px var(--campus-gap);
  padding: 24px var(--campus-inset) 0;
  height: clamp(610px, calc(100svh - 130px), 1040px);
  min-height: 610px;
  max-height: none;
}
.campus-hero::after { z-index: 0; }
.campus-hero .hero-grid { opacity: .06; }
body .campus-hero .hero-copy {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1 / 3;
  width: auto;
  min-width: 0;
  align-self: start;
  padding-top: 8px;
}
body .campus-hero .hero-copy h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.campus-hero .hero-copy h1 em { font-weight: 400; }
body .campus-hero .hero-copy p { font-size: 11px; line-height: 1.75; letter-spacing: 2px; }
.campus-hero .hero-copy p > span { font-size: 11px; letter-spacing: 0; }
body .campus-hero .hero-scope { display: flex; margin-top: 18px; gap: 12px; font-size: 11px; }
body .campus-hero .hero-scope-number { font-size: 32px; font-weight: 400; }
.campus-hero .hero-scope small { color: #bfd3e7; font-size: 10px; letter-spacing: 0; }
body .campus-hero .hero-capacities { position: static; width: auto; margin-top: 18px; }
.campus-hero .hero-capacity-caption { font-size: 10px; margin-bottom: 10px; }
.campus-hero .hero-capacity-heading { font-size: 11px; }
.campus-hero .hero-capacity-heading strong { font-size: 16px; font-weight: 500; }
.campus-hero .hero-capacity-heading small { font-size: 10px; }
.campus-hero .hero-capacity-scale > span { font-size: 10px; }
.campus-hero button.hero-capacity-row { width: calc(100% + 14px); padding: 5px 7px; }
.campus-hero button.hero-capacity-row + .hero-capacity-row { margin-top: 4px; }
body .campus-hero .hero-capacities + .hero-utility {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 12px;
  margin-top: 12px;
}
.campus-hero .hero-utility button { min-height: 32px; font-size: 11px; gap: 8px; }
.campus-hero .hero-utility button > .icon:last-child { display: none; }
body .campus-hero .hero-toolbar {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.campus-hero .hero-toolbar .select { max-width: 220px; min-width: 0; }
.campus-hero .hero-toolbar .select, .campus-hero .hero-toolbar .btn { height: 34px; font-size: 11px; }
body .campus-hero .campus-stage {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.campus-hero .campus-fallback { inset: 8px; }
body .campus-hero .campus-view-picker {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding-bottom: 4px;
}
.campus-view-actions { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 100%; }
.campus-hero .campus-view-buttons { flex-wrap: wrap; justify-content: center; gap: 3px; padding: 3px; border-radius: 6px; }
.campus-hero .campus-view-buttons button { padding: 8px 12px; min-height: 34px; font-size: 11px; white-space: nowrap; }
.campus-hero .campus-reset { padding: 7px 0; min-height: 34px; font-size: 11px; white-space: nowrap; color: #d5e6f6; }
.campus-hero .campus-reset .icon { width: 14px; height: 14px; }
.campus-hero .campus-view-caption { min-height: 22px; justify-content: center; gap: 10px; }
.campus-hero .campus-view-caption > span { background: none; padding: 0; font-size: 10px; color: #c7dbee; }
.campus-hero .campus-view-caption > button { font-size: 11px; padding: 4px 8px; }
body .campus-hero .hero-data-note {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 3;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  max-width: none;
  font-size: 10px;
  line-height: 1.6;
  gap: 6px;
}
.campus-flow-legend { display: flex; flex-wrap: wrap; gap: 14px; color: #e0edf9; }
.campus-flow-legend > span { display: flex; align-items: center; gap: 5px; }
.campus-flow-legend i { display: block; width: 13px; height: 2px; background: #a2cee5; }
.campus-flow-legend .pv { background: #8cddbd; }
.campus-flow-legend .storage { background: #f1d59e; }
body .campus-hero .hero-kpis {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0 calc(-1 * var(--campus-inset));
  padding: 20px var(--campus-inset);
  gap: 24px;
  backdrop-filter: none;
  background: #24405e;
}
.campus-hero .hero-metric { padding-left: 16px; min-width: 0; }
.campus-hero .hero-metric:first-child { padding-left: 0; }
.campus-hero .hero-metric-label { font-size: 11px; letter-spacing: 0; margin-bottom: 8px; }
.campus-hero .hero-metric strong { font-size: clamp(28px, 2.3vw, 42px); font-weight: 400; }
.campus-hero .hero-metric-unit { font-size: 11px; margin-left: 6px; }
.campus-hero .hero-metric small { font-size: 10px; line-height: 1.6; letter-spacing: 0; margin-top: 8px; }
.campus-hero .campus-hotspot {
  min-width: 106px;
  max-width: 158px;
  min-height: 44px;
  padding: 7px 10px;
  gap: 7px;
  background: #294c6e !important;
  box-shadow: 0 4px 12px #122b4933;
}
.campus-hero .campus-hotspot-label, .campus-hero .campus-hotspot-value { font-size: 11px; line-height: 1.55; }
.campus-hero .campus-hotspot-dot { width: 5px; height: 5px; background: var(--node-color, #a0c2eb); box-shadow: none; }
.campus-leader-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.campus-hero.has-facility-panel .campus-leader-lines { visibility: hidden; }
.campus-hero :is(button, select):focus-visible { outline: 2px solid #e5f4ff; outline-offset: 3px; }
.campus-hero ::selection { background: #b7d9ff; color: #193a59; }
body .campus-hero .facility-panel { position: relative; inset: auto; width: auto; min-height: 0; max-height: 100%; grid-column: 3; grid-row: 2 / 4; box-shadow: none; }
body .campus-hero.has-facility-panel .campus-stage,
body .campus-hero.has-facility-panel .campus-view-picker { inset: auto; }
@media (min-width: 1500px) {
  body .campus-hero { grid-template-columns: 220px minmax(0, 1fr); --campus-inset: 32px; }
  body .campus-hero .hero-copy h1 { font-size: 34px; }
  body .campus-hero .hero-copy { padding-top: 16px; }
  body .campus-hero.has-facility-panel { grid-template-columns: 200px minmax(0, 1fr) 278px; }
  body .campus-hero.has-facility-panel .hero-toolbar { grid-column: 2 / 4; }
}
@media (min-width: 901px) and (max-width: 1499px) {
  body .campus-hero.has-facility-panel { height: auto; min-height: 0; grid-template-rows: auto 360px auto auto auto; }
  body .campus-hero.has-facility-panel .facility-panel { grid-column: 2; grid-row: 4; max-height: 390px; }
  body .campus-hero.has-facility-panel .hero-kpis { grid-row: 5; }
  body.full-view:has(.campus-hero.has-facility-panel) { overflow: auto; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  body .campus-hero { --campus-inset: 20px; --campus-gap: 16px; grid-template-columns: 184px minmax(0, 1fr); }
  .campus-hero .campus-view-buttons button { padding-inline: 8px; }
  .campus-view-actions { gap: 8px; flex-wrap: wrap; }
  .campus-hero .hero-metric strong { font-size: 25px; }
  .campus-hero .hero-metric-unit { font-size: 10px; }
}
@media (min-width: 1000px) and (min-height: 640px) {
  body.full-view .campus-hero { height: 100%; min-height: 0; }
  body.full-view .campus-hero.has-facility-panel { height: auto; min-height: 100%; }
}
@media (max-width: 900px) {
  body .campus-hero, body .campus-hero.has-facility-panel {
    --campus-inset: 20px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 360px auto auto auto auto;
    height: auto;
    min-height: 0;
    gap: 16px;
    padding-top: 20px;
  }
  body .campus-hero .hero-toolbar { grid-column: 1; grid-row: 1; flex-wrap: wrap; justify-content: flex-start; }
  body .campus-hero .hero-copy { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; padding: 0; }
  body .campus-hero .hero-copy h1 { font-size: 26px; margin: 0 0 12px; grid-column: 1; }
  body .campus-hero .hero-copy p { grid-column: 1; }
  body .campus-hero .hero-scope { margin-top: 16px; grid-column: 1; }
  body .campus-hero .hero-capacities { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: start; }
  body .campus-hero .hero-capacities + .hero-utility { grid-column: 2; grid-row: 3; margin: 0; gap: 0; align-self: end; }
  body .campus-hero .campus-stage { grid-column: 1; grid-row: 3; }
  body .campus-hero .campus-view-picker { grid-column: 1; grid-row: 4; }
  body .campus-hero .hero-data-note { grid-column: 1; grid-row: 5; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  body .campus-hero .facility-panel { grid-column: 1; grid-row: 6; height: auto; max-height: 420px; }
  body .campus-hero .hero-kpis, body .campus-hero.has-facility-panel .hero-kpis { grid-row: 7; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .campus-hero .hero-metric { padding-left: 0; }
  .campus-hero .hero-metric + .hero-metric::before { display: none; }
  .campus-hero .hero-metric strong { font-size: 28px; }
  .campus-hero .hero-metric small { min-height: 0; }
  .campus-view-actions { flex-wrap: wrap; gap: 4px 12px; }
  .campus-hero .campus-hotspot { min-width: 94px; padding: 6px 8px; gap: 5px; }
}
@media (max-width: 600px) {
  body .campus-hero, body .campus-hero.has-facility-panel { --campus-inset: 16px; grid-template-rows: auto auto 300px auto auto auto auto; padding-top: 16px; }
  body .campus-hero .hero-copy { display: block; }
  body .campus-hero .hero-copy h1 { font-size: 24px; margin-bottom: 8px; }
  .campus-hero .hero-copy h1 br { display: none; }
  .campus-hero .hero-copy h1 em { margin-left: 10px; font-size: 19px; }
  body .campus-hero .hero-copy p { font-size: 10px; letter-spacing: 1px; }
  .campus-hero .hero-copy p br { display: none; }
  .campus-hero .hero-copy p > span { display: none; }
  body .campus-hero .hero-scope { margin-top: 12px; }
  body .campus-hero .hero-capacities { margin-top: 16px; }
  body .campus-hero .hero-capacities + .hero-utility { flex-direction: row; margin-top: 8px; gap: 16px; }
  .campus-hero .hero-utility button > .icon:last-child { display: none; }
  .campus-hero .hero-toolbar .select { max-width: 100%; flex: 1; }
  .campus-hero .hero-range-label { width: 100%; }
  .campus-hero .hero-toolbar .btn { padding: 0 8px; }
  .campus-hero .campus-view-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .campus-hero .campus-view-buttons button { min-height: 38px; padding: 8px 10px; }
  .campus-view-actions { width: 100%; }
  .campus-hero .campus-view-caption { flex-wrap: wrap; }
  .campus-hero .hero-metric strong { font-size: 23px; }
  .campus-hero .hero-metric-label { font-size: 10px; }
  .campus-hero .hero-metric-unit { font-size: 10px; margin-left: 4px; }
  .campus-hero .campus-hotspot { min-width: 76px; min-height: 40px; padding: 6px 8px; }
  .campus-hero .campus-hotspot-value { display: none !important; }
}
@media print {
  body .campus-hero { height: 590px; min-height: 590px; grid-template-columns: 190px minmax(0, 1fr); grid-template-rows: 1fr auto auto; }
  .campus-hero .hero-copy { display: block; }
  body .campus-hero .campus-stage { grid-column: 2; grid-row: 1; }
  .campus-view-picker, .campus-leader-lines { display: none !important; }
  body .campus-hero .hero-data-note { grid-row: 2; }
  body .campus-hero .hero-kpis { grid-row: 3; }
}

/* Operational details share the existing blue/green palette. */
::selection{background:#cfe3fb;color:#203b5b}
input,textarea{caret-color:var(--blue)}
.skip-link{position:fixed;top:12px;left:12px;z-index:100;background:#fff;color:var(--blue-hover);padding:12px 18px;border:2px solid var(--blue);border-radius:6px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.content:focus{outline:none}
.page-heading h1{margin-bottom:8px;line-height:1.4}
.page-heading p{color:#5d7087;line-height:1.65}
.heading-actions{flex-wrap:wrap}
.table-search-field{display:flex;align-items:center;position:relative;flex:0 1 340px;min-width:0;max-width:100%}
.table-search-field>.icon{position:absolute;left:12px;width:17px;height:17px;color:#60738b;pointer-events:none}
.table-search-field .search{width:100%;min-width:0;padding-left:38px;height:38px}
.search::placeholder,.form-field input::placeholder,.form-field textarea::placeholder{color:#65778e;opacity:1}
.filterbar .ui-select-trigger{min-height:38px}
.filter-result{margin-left:auto;color:#536b86;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.clear-table-filters{min-height:36px;padding:4px;color:var(--blue-hover)}
.clear-table-filters[hidden],.table-scroll-hint[hidden]{display:none}
.table-scroll{scrollbar-width:thin;scrollbar-color:#9caec3 #edf2f8;overscroll-behavior-x:contain}
#table-content .table-scroll{max-height:min(65vh,720px)}
#table-content th{position:sticky;top:0;z-index:2;background:#f0f5fb;color:#526982;font-weight:550}
#table-content td{font-size:13px;font-variant-numeric:tabular-nums}
#table-content td .sub{color:#65778e;font-size:11px}
#table-content tbody tr:focus-within{background:#eef5fd}
#table-content .panel-link{min-height:32px;color:var(--blue-hover);font-size:12px}
.table-scroll:focus-visible{outline-offset:-3px}
.table-scroll-hint{color:#5e7189}
.table-end{gap:16px;flex-wrap:wrap;font-size:12px;color:#60738b}
.table-empty{padding:44px 20px;white-space:normal;line-height:1.7;color:#5d7087}
.table-empty>.icon{display:block;width:28px;height:28px;margin:0 auto 14px;color:#7891ae}
.table-empty strong{display:block;color:var(--ink);font-size:15px;font-weight:550}
.table-empty p{margin:8px 0 18px;font-size:13px}
.drawer{max-width:100%;overscroll-behavior:contain}
.drawer-head h2{line-height:1.45;overflow-wrap:anywhere}
.drawer-body{scrollbar-width:thin;scrollbar-color:#a8b7c9 transparent}
.drawer-body h3,.drawer-body p,.timeline{overflow-wrap:anywhere}
.drawer-foot{flex-wrap:wrap;gap:10px;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.form-field>span{color:#40566f;font-size:13px}
.form-field input,.form-field textarea{font-size:14px;line-height:1.6}
.form-field input{min-height:42px}
.form-field textarea{resize:vertical;min-height:110px}
.form-error:not(:empty){padding:12px 14px;border:1px solid #e4b9b3;border-radius:6px;background:#fff6f4;color:#a23e35;font-size:13px;line-height:1.65}
.form-error.save-recovery{border-color:#bdd1ea;background:#f0f6fe;color:#315b87}
.save-recovery strong,.save-recovery span{display:block}
.save-recovery .btn{margin-top:10px}
.drawer [aria-busy=true],.btn[aria-busy=true]{cursor:progress}
#toast{max-width:min(520px,calc(100vw - 32px));line-height:1.65;overflow-wrap:anywhere}
@media(min-width:901px){
 #table-content td:last-child,#table-content th:last-child{position:sticky;right:0;background:#fff;box-shadow:-7px 0 12px -10px #29496855}
 #table-content th:last-child{z-index:3;background:#f0f5fb}
 #table-content tr:hover td:last-child,#table-content tr:focus-within td:last-child{background:#eef5fd}
 #table-content td[colspan]{position:static;box-shadow:none}
}
@media(max-width:600px){
 .page-heading{align-items:flex-start;gap:14px}
 .heading-actions{width:100%;gap:8px}
 .heading-actions>.ui-select{flex:1;min-width:0}
 .heading-actions .btn{min-height:40px}
 .filterbar{gap:10px;padding:14px}
 .table-search-field{flex-basis:100%;width:100%}
 .table-search-field .search,.form-field input,.form-field textarea,.tariff-row input{font-size:16px}
 .filterbar .ui-select{min-width:120px;max-width:100%}
 .filter-result{margin-left:0}
 .category-filter{padding:0 14px 14px;gap:10px}
 .category-filter .ui-select{max-width:100%}
 .table-end{padding:12px 14px;gap:8px;font-size:11px}
 .table-scroll-hint{flex-basis:100%;order:2}
 .drawer-head,.drawer-body,.drawer-foot{padding-inline:18px}
 .drawer-foot .btn,.drawer-head .icon-button{min-height:44px}
 .drawer-head .icon-button{min-width:44px}
 #toast{bottom:16px;width:max-content}
}
.boot small{color:#60738b}
@media(max-width:600px){#table-content .table-empty{position:sticky;left:0;max-width:calc(100vw - 140px)}}
/* Provenance follows the displayed value and stays readable in dense tables. */
.non-real-marker{display:inline-block!important;margin-inline-start:2px;font-size:11px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important;color:inherit!important;white-space:nowrap;vertical-align:baseline;max-width:100%}
.metric,.hero-metric>div,.mobile-kpi>div,.mobile-telemetry-grid strong{flex-wrap:wrap}
.hero-metric>div>.non-real-marker,.metric>.non-real-marker,.mobile-kpi>div>.non-real-marker{font-size:11px!important}
.mobile-cell-grid .non-real-marker{font-size:9px!important;display:block!important;margin-inline-start:0}
.mobile-cell-grid>div{min-width:0}
.mobile-detail-heading h2,.mobile-terminal-name strong{overflow-wrap:anywhere}
.mobile-detail-heading h2 .non-real-marker{font-size:10px!important}
.mobile-battery-hero strong .non-real-marker{font-size:11px!important}
.facility-result strong{flex-wrap:wrap}
.facility-numbers strong .non-real-marker,.hero-scope-number .non-real-marker{display:block!important}
/* Keep the first-version copyright at the bottom of the content area. */
.first-version-workspace{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
.first-version-workspace>.topbar{flex-shrink:0}
.first-version-content{display:flex;flex:1;flex-direction:column;width:100%;margin:0 auto}
.content.first-version-content>.footer{justify-content:center;margin-top:auto;padding-top:20px;text-align:center;flex-shrink:0}
