:root {
  --bg: #f3f6f6;
  --ink: #193539;
  --muted: #788b8e;
  --line: #e1e9e9;
  --teal: #007d79;
  --teal-light: #e2f3ee;
  --red: #c95b4c;
  --amber: #a97626;
  --dark: #102e33;
  --shadow: 0 10px 35px #143f4310;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-size: 13px;
  font-synthesis: none;
}
.ai-results{margin:28px 0}.ai-results>.panel{margin:16px 0}.ai-results .eyebrow{color:#4a9286}.ai-summary{font-size:15px;line-height:2;color:#315d5d;border-left:3px solid #75b5a3;padding:3px 0 3px 18px;margin:4px 0 24px}.ai-finding-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ai-finding-grid article{padding:20px;background:#f5f8f7;border:1px solid #e1eae6;border-radius:9px}.ai-finding-grid h3{font-size:15px;line-height:1.6}.ai-finding-grid p,.ai-finding-grid li{line-height:1.9;color:#56706f}.ai-finding-grid ul{padding-left:18px;font-size:12px}.ai-citations{display:flex;flex-wrap:wrap;gap:6px}.ai-citations button{padding:3px 7px;font-size:10px;background:#e5efea;border-radius:3px}.ai-results details{margin-top:20px;line-height:1.9}.ai-results summary{cursor:pointer;color:#668681}.ai-results .page-head{margin-bottom:4px}@media(max-width:750px){.ai-finding-grid{grid-template-columns:1fr}.ai-summary{font-size:14px}}
.insight-hero { background:radial-gradient(ellipse at 85% 20%,#2f777955,transparent 55%),linear-gradient(120deg,#103039,#174d50);border:1px solid #285759;color:#effaf8;border-radius:14px;padding:32px 36px;display:flex;justify-content:space-between;gap:24px;margin:12px 0 20px;overflow:hidden;position:relative;}
.insight-hero:after {content:'';position:absolute;inset:0;pointer-events:none;opacity:.08;background:repeating-linear-gradient(0deg,transparent,transparent 29px,#b9ffff 30px),repeating-linear-gradient(90deg,transparent,transparent 29px,#b9ffff 30px);}
.insight-hero h2 {font-size:27px;letter-spacing:.04em;margin:14px 0 12px;font-weight:580;}
.insight-hero p {color:#b0cecc;font-size:12px;}
.eyebrow {font-size:10px;letter-spacing:.17em;color:#8dd9cd;}
.hero-chips {display:flex;gap:9px;margin-top:24px;flex-wrap:wrap;}
.hero-chips span {border:1px solid #79b9ae44;border-radius:4px;padding:5px 9px;color:#bfdbd5;font-size:11px;}
.hero-stamp {display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:150px;z-index:1;border-left:1px solid #88c4bb40;}
.hero-stamp b {font-size:64px;line-height:1.1;font-weight:350;color:#8bdfcd;}
.hero-stamp span {font-size:12px;margin:6px 0;letter-spacing:.12em;}
.hero-stamp small {color:#a4c5c2;font-size:10px;margin-top:14px;}
.insight-layout {display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin:20px 0;}
.insight-section {margin:20px 0;}
.insight-section summary {padding:20px;font-weight:600;cursor:pointer;}
.insight-notes {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0;}
.insight-notes article {background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;display:flex;gap:16px;}
.insight-notes article:first-child {grid-column:1/-1;background:#e9f3ef;border-color:#c7dfd4;}
.insight-notes h3 {font-size:14px;margin:0 0 8px;}
.insight-notes p {line-height:1.9;color:#60797a;margin:0;font-size:12px;}
.note-number {color:#86a9a4;font-size:25px;font-weight:300;}
.readiness-score {display:flex;align-items:center;gap:24px;margin:0 0 16px;}
.readiness-score strong {font-size:45px;font-weight:450;color:#b0843d;}
.readiness-score strong small {font-size:17px;}
.readiness-score span {color:#6b8384;line-height:1.8;}
.readiness-row,.model-route {display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f0;padding:10px 0;gap:12px;}
.model-route span {color:#7b9290;font-size:12px;}
.model-route b {font-weight:500;}
.report-versions {display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px;}
.report-versions button {font-size:11px;padding:6px 12px;}
.report-versions .active {background:#e2f3ee;border-color:#7bb7a8;color:#087b78;}
@media(max-width:1050px){.insight-layout{grid-template-columns:1fr}.insight-hero{padding:26px}.insight-hero h2{font-size:23px}.hero-stamp{min-width:105px}}
@media(max-width:620px){.insight-hero{padding:22px;display:block}.hero-stamp{display:none}.insight-hero h2{font-size:21px;line-height:1.5}.insight-notes{grid-template-columns:1fr}.insight-notes article:first-child{grid-column:auto}.insight-metrics{grid-template-columns:1fr 1fr}.hero-chips{gap:6px}.insight-notes article{padding:18px}}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--teal);
  text-decoration: none;
}
button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: var(--ink);
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #f4f9f8;
  border-color: #b0ccca;
}
button:active {
  transform: translateY(1px);
}
button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
button.primary:hover {
  background: #006864;
}
button.quiet {
  border: 0;
  background: transparent;
}
button.danger {
  color: var(--red);
}
.icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
  flex-shrink: 0;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 216px;
  background: var(--dark);
  color: #bad1d3;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 29px 16px 18px;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 13px 30px;
  color: white;
}
.brandmark {
  width: 33px;
  height: 38px;
  border: 2px solid #68d1ba;
  border-radius: 8px 8px 16px 16px;
  display: grid;
  place-items: center;
  transform: rotate(-3deg);
}
.brandmark .icon {
  width: 22px;
  height: 22px;
  color: #8de1cc;
}
.brand strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 3px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8eaeaf;
  display: block;
  margin-top: 5px;
}
.nav-section {
  color: #64878b;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 13px 15px 9px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a8c1c4;
  padding: 11px 15px;
  margin: 3px 0;
  border-radius: 7px;
  font-size: 12px;
}
.nav-link .icon {
  width: 17px;
  height: 17px;
}
.nav-link:hover {
  background: #204249;
  color: white;
}
.nav-link.active {
  background: #17605f;
  color: #ddfff1;
  box-shadow: inset 3px 0 #7bd4b6;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  color: #a8d7c9;
  border: 1px solid #477c76;
  border-radius: 4px;
  padding: 1px 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px 12px 0;
  font-size: 11px;
  color: #769a9d;
}
.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #64c7af;
  border-radius: 50%;
  margin-right: 7px;
}
.workspace {
  margin-left: 216px;
  width: calc(100% - 216px);
  min-width: 0;
}
.topbar {
  height: 74px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb b {
  font-weight: 500;
  color: #3f6266;
}
.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-actions select {
  background: transparent;
  border: 0;
  font-size: 12px;
  max-width: 230px;
}
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e2eeeb;
  color: #3d7b70;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.main {
  padding: 28px 32px 30px;
  max-width: 1800px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #68928b;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.page-head h1 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 9px;
}
.sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.head-actions,
.row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.source-strip {
  border: 1px solid #d4e3dd;
  background: #edf5f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: #597b6e;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.source-strip span:last-child {
  margin-left: auto;
}
.source-strip .icon {
  width: 14px;
  height: 14px;
}
.badge {
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
  background: #edf1f2;
  color: #7b8e91;
  border: 1px solid transparent;
}
.badge.green {
  color: #28896e;
  background: #e6f4ed;
}
.badge.orange {
  color: #a47b34;
  background: #fbf3e4;
}
.badge.red {
  color: #bc5c50;
  background: #f9ebe7;
}
.badge.blue {
  color: #547c9e;
  background: #eaf0f8;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 23px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 9px;
  min-width: 0;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #758b8d;
  font-size: 11px;
}
.metric-top .icon {
  color: #87a49f;
  width: 16px;
  height: 16px;
}
.metric-value {
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 12px 0 9px;
  font-variant-numeric: tabular-nums;
}
.metric-value small {
  font-size: 11px;
  color: #8d9c9d;
  margin-left: 7px;
  letter-spacing: 0;
  font-weight: 400;
}
.metric-note {
  font-size: 10px;
  color: #8c9b9e;
  display: flex;
  gap: 6px;
  align-items: center;
}
.metric-note em {
  font-style: normal;
  color: #4b9a7e;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf1f1;
}
.panel-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel-title .icon {
  width: 16px;
  color: #618980;
}
.panel-body {
  padding: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 7px 13px;
  font-size: 11px;
  background: transparent;
  border-color: transparent;
  color: #87999b;
}
.tabs button.active {
  background: white;
  border-color: #d5e3e0;
  color: #317d6d;
  box-shadow: 0 2px 3px #184c3310;
}
.tabs .spacer {
  flex: 1;
}
.diagram {
  background: #112f35;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background-image:
    linear-gradient(#24454b44 1px, transparent 1px),
    linear-gradient(90deg, #24454b44 1px, transparent 1px);
  background-size: 25px 25px;
}
.diagram svg {
  width: 100%;
  display: block;
}
.diagram text {
  font-family: inherit;
}
.diagram .pump {
  cursor: pointer;
}
.diagram .pump:hover .pump-body {
  fill: #2e656b;
  stroke: #98e0d4;
}
.diagram-tag {
  position: absolute;
  top: 16px;
  left: 20px;
  color: #9dbbbf;
  font-size: 10px;
  letter-spacing: 1px;
}
.diagram-legend {
  display: flex;
  gap: 15px;
  padding: 12px 20px;
  color: #8caaac;
  font-size: 10px;
  background: #102b31;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
  background: #91adad;
}
.dot.teal {
  background: #5ac6b0;
}
.dot.amber {
  background: #ddb06d;
}
.diagram .flow-line {
  stroke-dasharray: 6 9;
  animation: flow 2s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -30;
  }
}
.station-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 11px;
  color: #7f9596;
}
.station-footer strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #365c62;
  margin-bottom: 6px;
}
.chart {
  height: 215px;
  width: 100%;
}
.chart.tall {
  height: 330px;
}
.line-status {
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.big-number {
  font-size: 26px;
  letter-spacing: -0.8px;
  font-weight: 500;
}
.big-number small {
  font-size: 11px;
  letter-spacing: 0;
  color: #899b9d;
  margin-left: 5px;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 18px;
}
.mini {
  padding: 12px;
  background: #f6f8f7;
  border-radius: 6px;
  font-size: 10px;
  color: #7a9191;
}
.mini b {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-top: 9px;
  color: #46696b;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
  white-space: nowrap;
}
th {
  background: #f7f9f8;
  color: #829597;
  font-weight: 500;
  padding: 12px 17px;
  border-bottom: 1px solid #e8eeee;
}
td {
  padding: 14px 17px;
  border-bottom: 1px solid #edf1f1;
  color: #557075;
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: #fbfdfc;
}
td strong {
  font-weight: 500;
  color: #294f55;
}
td .sub {
  font-size: 10px;
}
td.wrap {
  white-space: normal;
  min-width: 220px;
  max-width: 650px;
  line-height: 1.8;
}
td button {
  padding: 5px 8px;
  font-size: 10px;
}
.table-footer {
  padding: 13px 18px;
  font-size: 10px;
  color: #91a0a1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.empty {
  padding: 40px 25px;
  text-align: center;
  color: #8ba09f;
  font-size: 12px;
  line-height: 1.9;
}
.empty .icon {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  color: #a3bcb6;
}
.empty strong {
  display: block;
  font-size: 14px;
  color: #567c74;
  font-weight: 500;
  margin: 3px 0 8px;
}
.attention {
  padding: 14px 17px;
  display: flex;
  gap: 10px;
  font-size: 11px;
  line-height: 1.8;
  border-bottom: 1px solid #edf1f1;
}
.attention:last-child {
  border: 0;
}
.attention .icon {
  color: #b69564;
  width: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.attention strong {
  font-weight: 500;
  color: #637e7c;
  display: block;
}
.attention small {
  color: #99a8a6;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar input,
.toolbar select,
input,
select,
textarea {
  border: 1px solid #dbe5e2;
  border-radius: 6px;
  padding: 9px 11px;
  color: #3e6065;
  background: #fff;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #5caa9c;
  outline: 2px solid #dbf0e9;
}
.toolbar input[type="search"] {
  min-width: 220px;
}
.toolbar label {
  font-size: 11px;
  color: #819493;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
}
.field label {
  font-size: 11px;
  color: #718d8d;
}
.field small {
  font-size: 10px;
  color: #96a5a4;
  line-height: 1.7;
}
.field textarea {
  min-height: 95px;
  resize: vertical;
  line-height: 1.8;
}
.field-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin: 13px 0;
}
.check input {
  accent-color: var(--teal);
}
.hint {
  padding: 12px 14px;
  background: #f5f8f6;
  border-radius: 6px;
  color: #7a928d;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.hint.warning {
  background: #fff8ec;
  color: #a88650;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rule-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.rule-card h3 {
  margin: 13px 0 10px;
  font-size: 14px;
  font-weight: 500;
}
.rule-card p {
  font-size: 11px;
  color: #839996;
  line-height: 1.8;
  min-height: 40px;
}
.rule-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #edf1f1;
  font-size: 11px;
  color: #7d9993;
}
.rule-number {
  font-size: 10px;
  color: #8fa69f;
  letter-spacing: 2px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
}
.detail-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  font-size: 11px;
  line-height: 1.9;
  gap: 12px 10px;
  margin: 0;
}
.detail-list dt {
  color: #91a3a0;
}
.detail-list dd {
  margin: 0;
  color: #476d66;
  overflow-wrap: anywhere;
}
.progress {
  height: 4px;
  background: #edf3f0;
  border-radius: 4px;
  overflow: hidden;
  min-width: 100px;
}
.progress span {
  height: 100%;
  display: block;
  background: #63b19a;
}
.stat-row {
  display: flex;
  gap: 20px;
  margin: 12px 0 20px;
}
.stat-row > div {
  flex: 1;
  padding-right: 16px;
  border-right: 1px solid #e6eeeb;
}
.stat-row > div:last-child {
  border: 0;
}
.stat-row b {
  font-size: 24px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.stat-row small {
  color: #90a4a0;
  font-size: 10px;
}
.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e0e9e5;
  color: #9aaca7;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.modal-shade {
  position: fixed;
  inset: 0;
  background: #102e3366;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
  backdrop-filter: blur(3px);
}
.modal {
  width: 620px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 90px #092f3840;
  animation: appear 0.18s ease-out;
}
.modal.wide {
  width: 1050px;
}
.modal .panel-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.modal .panel-body {
  padding: 24px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 14px;
}
.modal h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 23px 0 13px;
}
.modal pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f4f7f5;
  font-size: 11px;
  line-height: 1.8;
  padding: 15px;
  border-radius: 7px;
  color: #58766e;
  max-height: 300px;
  overflow: auto;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #16433e;
  color: #e4fff3;
  padding: 13px 22px;
  border-radius: 8px;
  z-index: 100;
  pointer-events: none;
  transition: 0.18s;
  font-size: 12px;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #83493e;
}
.boot {
  display: grid;
  place-items: center;
  height: 100vh;
  color: #6c948a;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: white;
}
.login-art {
  background: #102e33;
  padding: 70px;
  color: #aac6bf;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-art .eyebrow {
  color: #78aa9f;
}
.login-art h1 {
  font-size: 38px;
  line-height: 1.6;
  color: #e5f4ec;
  letter-spacing: 3px;
  font-weight: 500;
}
.login-art p {
  line-height: 2;
  font-size: 13px;
  max-width: 380px;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form > div {
  width: 320px;
}
.login-form h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.login-form form {
  margin-top: 35px;
}
.login-form .primary {
  width: 100%;
  margin-top: 13px;
}
.login-note {
  font-size: 11px;
  color: #8da49c;
  line-height: 1.9;
  margin-top: 24px;
}
.mobile-menu {
  display: none;
}
.twin-stage {
  height: 480px;
  position: relative;
  background: #102d33;
  border-radius: 8px;
  overflow: hidden;
  touch-action: none;
}
.twin-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.twin-overlay {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 1;
  color: #c0d8cf;
  font-size: 11px;
  pointer-events: none;
}
.twin-overlay small {
  display: block;
  color: #7ca69a;
  margin-top: 8px;
}
.twin-readings {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 30px;
  pointer-events: none;
  color: #a4c6ba;
  font-size: 10px;
}
.twin-readings b {
  display: block;
  font-size: 22px;
  font-weight: 400;
  color: #d7efe4;
  margin-top: 7px;
}
.muted {
  color: #95a7a4;
}
.nowrap {
  white-space: nowrap;
}
.right {
  text-align: right;
}
.scroll-list {
  max-height: 340px;
  overflow: auto;
}
.notice {
  border-left: 3px solid #d0b27c;
  background: #fcfaf4;
  padding: 12px 16px;
  font-size: 11px;
  line-height: 1.8;
  color: #9a875f;
}
.skeleton {
  height: 200px;
  display: grid;
  place-items: center;
  color: #91a8a0;
}
.link-button {
  border: 0;
  background: transparent;
  color: #378c79;
  padding: 5px;
  font-size: 11px;
}
.danger-text {
  color: var(--red);
}
.header-clock {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: #8b9e9b;
}
.inline-edit {
  width: 90px;
  padding: 6px;
  font-size: 11px;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main {
  animation: appear 0.2s ease-out;
}
@media (min-width: 1500px) {
  .main {
    padding: 32px 42px;
  }
  .topbar {
    padding: 0 42px;
  }
  .sidebar {
    width: 230px;
  }
  .workspace {
    margin-left: 230px;
    width: calc(100% - 230px);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding: 25px 12px;
  }
  .workspace {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .main {
    padding: 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .two-col {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
  }
  .metric {
    padding: 16px;
  }
  .metrics {
    gap: 10px;
  }
  .metric-value {
    font-size: 27px;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .header-clock {
    display: none;
  }
  .brand {
    padding-left: 10px;
  }
  .brand strong {
    font-size: 19px;
  }
}
@media (max-width: 850px) {
  .two-col,
  .split {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .three-col {
    grid-template-columns: 1fr;
  }
  .user span {
    display: none;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .diagram {
    min-height: 250px;
  }
  .login-art {
    padding: 35px;
  }
  .login-art h1 {
    font-size: 28px;
  }
  .login-page {
    grid-template-columns: 1fr 1fr;
  }
  .source-strip span:last-child {
    display: none;
  }
}
@media (max-width: 650px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 216px;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 0 100vw #0b262e44;
  }
  .workspace {
    margin: 0;
    width: 100%;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .main {
    padding: 21px 16px;
  }
  .topbar {
    height: 61px;
    padding: 0 12px;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .top-actions {
    gap: 9px;
    width: 100%;
    justify-content: flex-end;
  }
  .top-actions select {
    max-width: 185px;
    font-size: 11px;
  }
  .page-head h1 {
    font-size: 22px;
  }
  .head-actions button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric {
    padding: 14px;
  }
  .metrics {
    gap: 10px;
    margin-bottom: 17px;
  }
  .source-strip {
    font-size: 10px;
    margin-bottom: 17px;
    padding: 9px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .diagram {
    min-height: auto;
  }
  .diagram svg {
    min-width: 540px;
  }
  .diagram {
    overflow: auto;
  }
  .panel-head {
    padding: 15px;
  }
  .panel-body {
    padding: 16px;
  }
  .station-footer {
    padding: 12px 15px;
  }
  .footer {
    line-height: 1.8;
    gap: 15px;
  }
  .modal-shade {
    padding: 10px;
  }
  .modal .panel-body {
    padding: 18px;
  }
  .modal {
    max-height: 94vh;
  }
  .field-inline {
    grid-template-columns: 1fr;
  }
  .toolbar input[type="search"] {
    min-width: 0;
    width: 100%;
  }
  .toolbar input[type="datetime-local"] {
    max-width: 190px;
  }
  .login-page {
    display: block;
  }
  .login-art {
    padding: 30px 26px;
    min-height: 220px;
  }
  .login-art h1 {
    font-size: 23px;
    margin: 10px 0;
  }
  .login-art p {
    display: none;
  }
  .login-art .brand {
    padding: 0 0 10px;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-form > div {
    width: 100%;
  }
  .twin-stage {
    height: 360px;
  }
  .twin-readings {
    gap: 17px;
  }
  .twin-readings b {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
