:root {
  --ink: #20342b;
  --muted: #5d6f61;
  --line: #dfe4db;
  --paper: #fff;
  --back: #f3f4ef;
  --nav: #172622;
  --yellow: #a86b10;
  --red: #bc4436;
  --green: #3b775b;
  --gold: #e5b45c;
  --shadow: 0 12px 35px #17262208;
  --radius: 15px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--back);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d49d43;
  outline-offset: 3px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -1.25px;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 11px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  flex: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}
.button:hover {
  filter: brightness(1.15);
}
.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  padding: 8px;
}
.button.danger {
  background: var(--red);
}
.button.wide {
  width: 100%;
}
.text-link {
  background: none;
  color: var(--green);
  font-weight: 650;
  font-size: 12px;
  padding: 5px 0;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.badge.good {
  background: #eaf3eb;
  color: #387150;
}
.badge.check {
  background: #fbf0d7;
  color: #94620c;
}
.badge.urgent {
  background: #fbece7;
  color: #b13b31;
}
.badge.neutral {
  background: #eef0ec;
  color: #58675c;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.badge .dot {
  width: 5px;
  height: 5px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 23px 24px 18px;
}
.card-pad {
  padding: 24px;
}
.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.empty {
  text-align: center;
  padding: 42px 20px;
  color: var(--muted);
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.notice {
  padding: 12px 15px;
  border-radius: 8px;
  background: #f8f0df;
  border: 1px solid #ebdfc2;
  font-size: 12px;
  color: #806127;
  line-height: 1.6;
}
.notice.info {
  background: #eff3ef;
  border-color: #dce5dc;
  color: #526b59;
}
.shell {
  min-height: 100vh;
  padding-left: 226px;
}
.sidebar {
  width: 226px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--nav);
  color: #e9eee8;
  padding: 31px 21px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 9px 40px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand-name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 1.8px;
}
.brand-sub {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #9fb0a6;
  margin-top: 4px;
}
.nav-section {
  padding: 0 12px 13px;
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #83988c;
  font-weight: 650;
}
.nav-link {
  width: 100%;
  background: transparent;
  color: #a9b9af;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 13px 14px;
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 5px;
}
.nav-link.active {
  background: #304339;
  color: #fff;
}
.nav-link.active .icon {
  color: #e5b45c;
}
.nav-count {
  margin-left: auto;
  border-radius: 5px;
  background: #784238;
  color: #ffe9df;
  padding: 2px 6px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 22px 10px 0;
  border-top: 1px solid #34443c;
}
.sidebar-bottom .eyebrow {
  color: #8ba195;
}
.sidebar-bottom p {
  color: #a7b6ad;
  font-size: 11px;
  margin-top: 8px;
}
.side-source {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e5b45c;
  font-size: 11px;
  margin: 9px 0;
}
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-actions .icon {
  color: #738278;
}
.user-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  padding: 4px;
}
.avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8ece2;
  color: #526745;
  font-size: 10px;
  font-weight: 700;
}
.user-text {
  text-align: left;
}
.user-text strong {
  font-size: 11px;
  display: block;
}
.user-text span {
  font-size: 9px;
  color: var(--muted);
}
.demo-strip {
  background: #eee9db;
  border-bottom: 1px solid #dfd8c7;
  padding: 9px 40px;
  color: #6e5c34;
  font-size: 10px;
  letter-spacing: 0.15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.demo-strip strong {
  letter-spacing: 1px;
  font-size: 9px;
}
.demo-strip select {
  background: transparent;
  border: 0;
  color: #6f5d36;
  font-size: 10px;
  max-width: 310px;
  cursor: pointer;
}
.main {
  max-width: 1530px;
  margin: auto;
  padding: 35px 40px 50px;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 27px;
}
.page-intro .eyebrow {
  margin-bottom: 10px;
}
.page-intro p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.page-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.live-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.live-note .dot {
  background: #b38b44;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.summary-card {
  padding: 20px 21px;
  position: relative;
  overflow: hidden;
}
.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #65736b;
}
.summary-icon {
  width: 30px;
  height: 30px;
  background: #f3f5ef;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.summary-card.urgent .summary-icon {
  background: #faeee8;
  color: var(--red);
}
.summary-card.check .summary-icon {
  background: #fbf3df;
  color: var(--yellow);
}
.summary-card.good .summary-icon {
  background: #edf4eb;
  color: var(--green);
}
.summary-number {
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -1.5px;
  margin: 12px 0 5px;
  line-height: 1;
}
.summary-card .small {
  font-size: 10px;
}
.triage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(290px, 1fr);
  gap: 24px;
}
.section-count {
  font-size: 10px;
  color: #768276;
  margin-left: 8px;
  background: #f0f2ec;
  padding: 3px 6px;
  border-radius: 4px;
}
.filter-row {
  display: flex;
  gap: 5px;
  padding: 0 24px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  color: #7c887f;
  font-size: 10px;
  padding: 7px 11px;
  border-radius: 6px;
  font-weight: 600;
}
.filter.selected {
  background: #edf1e9;
  color: #344e3c;
}
.incident-row {
  padding: 20px 24px;
  border-bottom: 1px solid #e9ece5;
  display: flex;
  gap: 13px;
  transition: background 0.2s;
}
.incident-row:hover {
  background: #fafbf7;
}
.incident-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
.incident-marker {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #faeee8;
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 3px;
}
.incident-marker.check {
  background: #fbf2df;
  color: var(--yellow);
}
.incident-content {
  min-width: 0;
  flex: 1;
}
.incident-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.incident-title {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
}
.incident-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.assignment {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.incident-footer .button {
  font-size: 10px;
  padding: 8px 11px;
}
.hint-line {
  padding: 13px 24px;
  font-size: 10px;
  color: var(--muted);
  background: #fafbf8;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
}
.bank-mini {
  padding: 0 24px 18px;
}
.bank-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 7px;
}
.bank-mini-row strong {
  font-size: 11px;
}
.bank-mini-row b {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.bank-mini .small {
  font-size: 10px;
}
.bar {
  height: 5px;
  border-radius: 5px;
  background: #edf0e8;
  margin: 9px 0 8px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #4b7b5e;
}
.bar.urgent > span {
  background: #c46b55;
}
.bar.check > span {
  background: #c99a47;
}
.recovery-note {
  padding: 13px 18px;
  margin: 0 18px 18px;
  font-size: 10px;
  border-radius: 8px;
  background: #f5f0e4;
  color: #785b29;
  line-height: 1.65;
}
.storm-card {
  background: #e8eee2;
  border-color: #d9e2d0;
  position: relative;
}
.storm-card .card-head {
  padding-bottom: 10px;
}
.storm-card .storm-icon {
  width: 45px;
  height: 45px;
  color: #6f8460;
}
.storm-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #526747;
  padding: 0 24px;
}
.storm-card .storm-title {
  padding: 0 24px;
  font-size: 20px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.storm-card .storm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 24px;
}
.storm-card .button {
  background: #f8faf4;
  color: #526447;
  border: 1px solid #d5dfc9;
  font-size: 10px;
  padding: 8px 10px;
}
.activity-list {
  padding: 0 24px 18px;
}
.activity-item {
  font-size: 10px;
  padding: 10px 0;
  line-height: 1.6;
  color: var(--muted);
  border-bottom: 1px solid #edf0e9;
}
.activity-item:last-child {
  border: 0;
}
.activity-item strong {
  color: #465c4b;
  font-weight: 600;
}
.footer-note {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #62715e;
  font-size: 9px;
}
.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  max-width: 290px;
  width: 100%;
}
.search .icon {
  width: 16px;
  height: 16px;
  color: #85917e;
}
.search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 12px;
  color: var(--ink);
  background: transparent;
}
.toolbar .filter-row {
  padding: 0;
  border: 0;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.site-tile {
  padding: 21px;
  text-decoration: none;
  display: block;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.site-tile:hover {
  transform: translateY(-3px);
  border-color: #aab99e;
}
.site-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}
.site-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #f0f3ea;
  display: grid;
  place-items: center;
  color: #647b57;
}
.site-tile h2 {
  font-size: 17px;
}
.site-tile .site-type {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.tile-soc {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin: 22px 0 13px;
}
.tile-soc strong {
  font-size: 28px;
  letter-spacing: -0.8px;
  font-weight: 600;
}
.tile-soc small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.site-tile-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.tile-power {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.site-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.bank-card {
  padding: 24px;
}
.bank-card .bank-soc {
  font-size: 58px;
  letter-spacing: -2px;
  font-weight: 550;
  margin: 15px 0 3px;
  line-height: 1;
}
.bank-soc span {
  font-size: 24px;
  color: var(--muted);
}
.bank-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.bank-values small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}
.bank-values strong {
  font-size: 13px;
  font-weight: 550;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  padding: 12px 24px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: #fafbf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 13px 24px;
  font-size: 11px;
  border-bottom: 1px solid #edf0e7;
  white-space: nowrap;
}
td .sub {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
td button {
  font-size: 10px;
}
.detail-tabs {
  margin: 22px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-tabs .button {
  font-size: 11px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.timeline-step {
  font-size: 10px;
  color: var(--muted);
  border-top: 3px solid #dfe5db;
  padding-top: 10px;
  line-height: 1.6;
}
.timeline-step.done {
  border-color: #679174;
  color: #4b7357;
}
.timeline-step.active {
  border-color: #cfa453;
  color: #886117;
}
.solar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 24px;
}
.solar-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 22px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px 17px;
}
.metric small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 12px;
}
.metric strong {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 550;
}
.metric span.unit {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.metric .caption {
  font-size: 9px;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.4;
}
.solar-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.solar-tab {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
}
.solar-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chart {
  padding: 0 22px 18px;
}
.chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-label {
  fill: #5b6c57;
  font-size: 10px;
}
.chart-grid {
  stroke: #e7ebe2;
  stroke-dasharray: 3 4;
}
.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  padding: 0 24px 20px;
}
.legend-line {
  display: inline-block;
  width: 14px;
  height: 3px;
  vertical-align: middle;
  margin-right: 6px;
  background: #c8a35a;
}
.legend-line.green {
  background: #527b5c;
}
.forecast-head {
  font-size: 10px;
  color: var(--muted);
  padding: 0 24px 16px;
  line-height: 1.6;
}
.forecast-scroll {
  overflow: auto;
  padding: 0 20px 20px;
}
.forecast-bars {
  display: flex;
  gap: 13px;
  min-width: 470px;
  align-items: end;
  height: 160px;
}
.forecast-day {
  flex: 1;
  min-width: 45px;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
}
.forecast-day .bars {
  height: 114px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  margin: 8px 0;
}
.forecast-day .bars span {
  width: 12px;
  border-radius: 3px 3px 0 0;
  background: #d0ac62;
}
.forecast-day .bars span.load {
  background: #c6d3bf;
}
.advice {
  padding: 18px 23px;
  border-top: 1px solid var(--line);
}
.advice p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.advice h3 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.weather-now {
  padding: 0 24px 23px;
}
.weather-now strong {
  font-size: 37px;
  font-weight: 550;
  letter-spacing: -1px;
}
.weather-now .flex {
  align-items: start;
}
.weather-now p {
  font-size: 11px;
  color: var(--muted);
}
.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.weather-grid div {
  font-size: 10px;
  color: var(--muted);
}
.weather-grid b {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 550;
}
.model-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: var(--nav);
  color: #fff;
  padding: 70px 13%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-art .brand {
  padding: 0;
  margin-bottom: 70px;
}
.login-art h1 {
  font-size: 55px;
  max-width: 430px;
  line-height: 1.1;
  letter-spacing: -2.2px;
}
.login-art p {
  color: #a2b2a6;
  font-size: 14px;
  max-width: 350px;
  margin-top: 22px;
}
.login-art .terrain {
  margin-top: 60px;
  width: 100%;
  max-width: 400px;
}
.login-form-area {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-form {
  max-width: 385px;
  width: 100%;
}
.login-form h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 13px 0;
}
.login-form p {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 25px;
}
.account-option {
  width: 100%;
  text-align: left;
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.account-option:hover {
  border-color: #9bab92;
}
.account-option .avatar {
  width: 39px;
  height: 39px;
  font-size: 12px;
}
.account-option strong {
  font-size: 13px;
  display: block;
}
.account-option span.role {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.account-option .icon {
  margin-left: auto;
  color: #8d9b83;
}
.login-form .notice {
  margin-top: 25px;
  font-size: 10px;
}
.login-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.7;
}
dialog {
  width: min(610px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 90px #0003;
  max-height: 90vh;
}
dialog::backdrop {
  background: #13251ec0;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 23px 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.modal-head h2 {
  line-height: 1.5;
  font-size: 19px;
}
.modal-head .eyebrow {
  margin-bottom: 10px;
}
.close-button {
  background: #eef1e9;
  border-radius: 7px;
  padding: 5px;
  color: #63715f;
}
.modal-body {
  padding: 23px 26px;
}
.modal-body .evidence {
  padding-left: 17px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.modal-body label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin: 17px 0 8px;
}
textarea,
input.form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  color: var(--ink);
  font-size: 12px;
  background: #fbfcf8;
}
textarea {
  min-height: 94px;
  resize: vertical;
}
.modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.modal-actions .button {
  font-size: 11px;
}
.modal-activity {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.modal-activity h3 {
  margin-bottom: 10px;
}
.modal-error {
  color: var(--red);
  font-size: 12px;
  margin: 10px 0;
}
.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.integration-card {
  padding: 24px;
}
.integration-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.integration-card h2 {
  font-size: 16px;
}
.progress-check {
  display: flex;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  padding: 10px 0;
}
.progress-check .icon {
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 113px);
  transform: translateX(-50%);
  z-index: 100;
  background: #263e30;
  color: white;
  border-radius: 9px;
  padding: 13px 22px;
  font-size: 12px;
  box-shadow: 0 10px 30px #0002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .main {
    padding-top: 42px;
  }
  .triage-layout {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  }
}
@media (max-width: 1180px) {
  .shell {
    padding-left: 194px;
  }
  .sidebar {
    width: 194px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .topbar,
  .demo-strip {
    padding-left: 26px;
    padding-right: 26px;
  }
  .main {
    padding: 28px 26px 40px;
  }
  .triage-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
    gap: 18px;
  }
  .card-head {
    padding: 20px;
  }
  .incident-row {
    padding: 18px;
  }
  .bank-mini {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solar-grid {
    grid-template-columns: 1fr;
  }
  .solar-grid > .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .summary-card {
    padding: 17px;
  }
  .summary-top {
    font-size: 10px;
  }
  .summary-grid {
    gap: 12px;
  }
  #toast {
    left: calc(50% + 97px);
  }
}
@media (max-width: 940px) {
  .triage-layout {
    grid-template-columns: 1fr;
  }
  .triage-layout > .stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
  }
  .page-intro {
    align-items: start;
  }
  .page-actions .live-note {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .site-detail-grid {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 50px 12%;
  }
  .login-art h1 {
    font-size: 43px;
  }
  .login-form-area {
    padding: 35px;
  }
  .summary-top .summary-icon {
    display: none;
  }
  .bank-values {
    grid-template-columns: repeat(4, 1fr);
  }
  .demo-strip .small {
    display: none;
  }
}
@media (max-width: 700px) {
  .shell {
    padding: 0 0 72px;
  }
  .sidebar {
    inset: auto 0 0;
    width: auto;
    height: 66px;
    flex-direction: row;
    padding: 6px 9px;
    align-items: center;
    justify-content: space-around;
    border-top: 1px solid #33463a;
  }
  .sidebar .brand,
  .sidebar .nav-section,
  .sidebar .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  .nav-link {
    padding: 7px 11px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    font-size: 8px;
    min-width: 66px;
    position: relative;
  }
  .nav-link .icon {
    width: 19px;
    height: 19px;
  }
  .nav-count {
    position: absolute;
    top: 2px;
    right: 7px;
    font-size: 8px;
    margin: 0;
  }
  .topbar {
    height: 59px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .top-actions .pill {
    display: none;
  }
  .user-text strong {
    font-size: 10px;
  }
  .user-text span {
    font-size: 8px;
  }
  .user-button {
    gap: 7px;
  }
  .avatar {
    width: 27px;
    height: 27px;
  }
  .demo-strip {
    padding: 8px 18px;
    flex-wrap: wrap;
    font-size: 9px;
    gap: 5px;
  }
  .demo-strip select {
    max-width: 100%;
    font-size: 9px;
  }
  .demo-strip .small {
    display: none;
  }
  .main {
    padding: 25px 18px 25px;
  }
  .page-intro {
    margin-bottom: 22px;
    gap: 12px;
  }
  .page-intro h1 {
    font-size: 29px;
  }
  .page-intro p {
    font-size: 11px;
    max-width: 245px;
  }
  .page-intro .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .page-actions {
    gap: 6px;
  }
  .page-actions .button {
    padding: 9px;
    font-size: 10px;
  }
  .page-actions .button span {
    display: none;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 21px;
  }
  .summary-card {
    padding: 16px;
  }
  .summary-top {
    font-size: 10px;
  }
  .summary-top .summary-icon {
    display: grid;
    width: 25px;
    height: 25px;
  }
  .summary-number {
    font-size: 31px;
    margin-top: 9px;
  }
  .summary-card .small {
    font-size: 9px;
  }
  .triage-layout > .stack {
    display: flex;
    gap: 18px;
  }
  .card-head {
    padding: 19px 18px 15px;
  }
  .card-head h2 {
    font-size: 16px;
  }
  .filter-row {
    padding: 0 14px 14px;
    gap: 2px;
  }
  .filter {
    font-size: 9px;
    padding: 7px 9px;
  }
  .incident-row {
    padding: 17px 16px;
    gap: 10px;
  }
  .incident-marker {
    width: 27px;
    height: 27px;
    border-radius: 7px;
  }
  .incident-marker .icon {
    width: 16px;
    height: 16px;
  }
  .incident-title {
    font-size: 12px;
  }
  .incident-meta {
    font-size: 9px;
    gap: 6px;
  }
  .incident-footer {
    align-items: start;
    gap: 8px;
  }
  .assignment {
    font-size: 9px;
    max-width: 140px;
  }
  .incident-footer .button {
    font-size: 9px;
    padding: 8px 9px;
  }
  .hint-line {
    padding: 12px 17px;
    font-size: 9px;
  }
  .badge {
    font-size: 9px;
  }
  .bank-mini {
    padding: 0 20px 18px;
  }
  .footer-note {
    font-size: 8px;
    line-height: 1.6;
  }
  .site-grid {
    grid-template-columns: 1fr;
  }
  .site-tile {
    padding: 20px;
  }
  .toolbar {
    gap: 12px;
  }
  .toolbar .search {
    max-width: none;
  }
  .toolbar .filter-row {
    padding: 0;
  }
  .solar-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }
  .metric {
    padding: 17px;
  }
  .metric strong {
    font-size: 26px;
  }
  .solar-tabs {
    gap: 5px;
  }
  .solar-tab {
    padding: 10px 12px;
    font-size: 10px;
  }
  .solar-grid > .stack {
    display: flex;
  }
  .chart {
    padding: 0 12px 15px;
  }
  .chart-label {
    font-size: 11px;
  }
  .card-pad {
    padding: 19px;
  }
  .bank-card {
    padding: 21px;
  }
  .bank-card .bank-soc {
    font-size: 53px;
  }
  .bank-values {
    gap: 8px;
  }
  .bank-values strong {
    font-size: 11px;
  }
  .bank-values small {
    font-size: 8px;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
  }
  .timeline-step {
    font-size: 9px;
  }
  th,
  td {
    padding: 12px 16px;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .login-page {
    display: block;
  }
  .login-art {
    padding: 30px 26px;
  }
  .login-art .brand {
    margin-bottom: 30px;
  }
  .login-art h1 {
    font-size: 35px;
    max-width: 360px;
  }
  .login-art p {
    font-size: 12px;
    margin-top: 15px;
  }
  .login-art .terrain {
    display: none;
  }
  .login-form-area {
    padding: 32px 25px;
  }
  .login-form {
    max-width: 430px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .login-form p {
    margin-bottom: 20px;
  }
  .login-foot {
    font-size: 9px;
  }
  .modal-head {
    padding: 21px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head h2 {
    font-size: 17px;
  }
  .modal-actions {
    gap: 7px;
  }
  .modal-actions .button {
    padding: 10px 12px;
    font-size: 10px;
  }
  #toast {
    left: 50%;
    bottom: 80px;
    width: max-content;
    text-align: center;
  }
  .forecast-day {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.connection-warning {
  margin-bottom: 22px;
}
.battery-records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.battery-record {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}
.battery-record:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.battery-record > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.battery-site {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.battery-record strong {
  font-size: 13px;
}
.battery-record-condition {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 8px;
  flex: none;
}
.battery-record-condition .button {
  font-size: 10px;
  padding: 5px;
}
.battery-record .small {
  font-size: 10px;
}
.battery-record .tiny {
  font-size: 9px;
}
@media (max-width: 940px) {
  .battery-records {
    grid-template-columns: 1fr;
  }
  .battery-record:nth-child(odd) {
    border-right: 0;
  }
}
@media (max-width: 700px) {
  .battery-record {
    padding: 18px;
  }
  .nav-link {
    min-width: 60px;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 700px) {
  .button,
  .filter,
  .solar-tab,
  .close-button {
    min-height: 44px;
  }
  .incident-title {
    font-size: 13px;
    min-height: 30px;
  }
  .modal-actions .button {
    min-height: 44px;
  }
  .nav-link {
    min-height: 52px;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .incident-footer .button {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.solar-grid > .stack,
.solar-grid .card {
  min-width: 0;
}
.forecast-scroll {
  max-width: 100%;
}
@media (max-width: 1180px) {
  .solar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .solar-grid > .stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.solar-grid > .stack > .card {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 700px) {
  .solar-grid > .stack {
    align-items: stretch;
  }
}

/* Solar planning: readable evidence, explicit coverage and a calm visual hierarchy. */
.solar-page {
  --solar-gold: #b98229;
  --solar-green: #42664b;
}
.solar-page .page-intro {
  align-items: start;
}
.solar-page .page-intro p {
  font-size: 14px;
  max-width: 620px;
  line-height: 1.6;
}
.solar-site-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.solar-site-option {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 17px;
  color: var(--ink);
  min-width: 0;
}
.solar-site-option > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}
.solar-site-option strong {
  font-size: 14px;
}
.solar-site-option small {
  font-size: 12px;
  color: #58665b;
}
.solar-site-option > .icon:first-child {
  color: #ac7a2b;
}
.solar-site-option > .icon:last-child {
  width: 15px;
  color: #71816f;
}
.solar-site-option.selected {
  border-color: #658068;
  background: #edf2e9;
  box-shadow: inset 0 0 0 1px #658068;
}
.solar-brief {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: #e8eee2;
  border: 1px solid #d5dfcc;
  border-radius: 14px;
  padding: 27px 28px;
  margin-bottom: 22px;
}
.solar-brief h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 10px 0;
}
.solar-brief p {
  font-size: 13px;
  max-width: 700px;
  color: #4e634d;
  line-height: 1.75;
}
.solar-brief .eyebrow {
  color: #57704f;
}
.brief-status {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
  min-width: 170px;
}
.brief-status > span:last-child {
  font-size: 11px;
  text-align: right;
  color: #5e7058;
  max-width: 160px;
  line-height: 1.6;
}
.solar-page .solar-metrics {
  gap: 14px;
  margin-bottom: 24px;
}
.solar-page .metric {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.solar-page .metric > small {
  font-size: 12px;
  color: #56665b;
  display: flex;
  gap: 7px;
  align-items: center;
}
.solar-page .metric > small .icon {
  width: 16px;
  height: 16px;
  color: #73846a;
}
.solar-page .metric > strong {
  font-size: 36px;
  display: block;
  line-height: 1.3;
  margin: 12px 0 5px;
  letter-spacing: -1px;
}
.solar-page .metric .unit {
  font-size: 17px;
  font-weight: 450;
  letter-spacing: 0;
  color: #6b796b;
}
.solar-page .caption {
  font-size: 11px;
  color: #6b786f;
  line-height: 1.6;
}
.solar-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 22px;
  align-items: start;
}
.solar-content > .stack {
  min-width: 0;
}
.solar-page .card-head {
  padding: 23px 24px 18px;
  align-items: start;
}
.solar-page .card-head h2 {
  font-size: 18px;
  line-height: 1.4;
}
.solar-page .card-head .eyebrow {
  margin-bottom: 7px;
}
.section-description {
  font-size: 12px;
  color: #667468;
  margin-top: 6px;
  line-height: 1.6;
  max-width: 460px;
}
.horizon-control {
  display: flex;
  flex: none;
  gap: 3px;
  padding: 4px;
  background: #f0f2ed;
  border-radius: 8px;
}
.horizon-control button {
  padding: 8px 12px;
  background: transparent;
  border-radius: 5px;
  font-size: 12px;
  color: #63705f;
  white-space: nowrap;
  min-height: 36px;
}
.horizon-control button.selected {
  background: white;
  box-shadow: 0 1px 4px #20342b1a;
  color: #294632;
  font-weight: 650;
}
.forecast-coverage {
  display: flex;
  gap: 9px;
  align-items: start;
  margin: 0 24px 20px;
  border-radius: 7px;
  background: #f4f5f0;
  padding: 11px 13px;
  font-size: 11px;
  line-height: 1.7;
  color: #5c6d5c;
}
.forecast-coverage .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.outlook-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 125px;
  gap: 20px;
  padding: 0 24px 13px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #667661;
}
.outlook-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.outlook-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 125px;
  gap: 20px;
  padding: 19px 24px;
  border-top: 1px solid #e6e9e0;
  align-items: center;
}
.outlook-date {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.day-stamp {
  min-width: 44px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.day-stamp strong {
  font-size: 13px;
}
.day-stamp span {
  font-size: 11px;
  color: #5e6e5c;
}
.outlook-date > .icon {
  color: #b38b45;
  width: 24px;
  height: 24px;
}
.outlook-date > div:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.outlook-date > div:last-child > strong {
  font-size: 12px;
  line-height: 1.5;
}
.outlook-date > div:last-child > span {
  font-size: 11px;
  color: #5f6e5c;
  line-height: 1.5;
}
.outlook-energy {
  min-width: 0;
}
.energy-pair {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #627261;
  line-height: 1.7;
}
.energy-pair b {
  font-weight: 650;
  color: #354c38;
}
.energy-key {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c19449;
  margin-right: 4px;
}
.energy-track {
  height: 5px;
  background: #e4e9df;
  border-radius: 5px;
  margin: 7px 0;
}
.energy-track > span {
  display: block;
  height: 100%;
  background: #c99b50;
  border-radius: 5px;
}
.energy-result {
  font-size: 10px;
  line-height: 1.5;
  color: #57714e;
}
.energy-result.deficit {
  color: #92611e;
}
.outlook-weather {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #647361;
  line-height: 1.5;
}
.outlook-weather > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.outlook-weather .icon {
  width: 14px;
  height: 14px;
}
.outlook-row.unavailable {
  background: #f8f9f5;
}
.outlook-row.unavailable .outlook-date > .icon {
  color: #8b9786;
}
.unavailable-label {
  font-size: 12px;
  color: #65715f;
}
.forecast-footnote {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #697767;
  line-height: 1.8;
}
.solar-page .chart-legend {
  font-size: 11px;
  flex-wrap: wrap;
  gap: 14px;
  color: #5b6e59;
}
.weather-current {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.weather-temperature {
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: -2px;
  margin-bottom: 4px;
}
.weather-temperature > span {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  color: #667660;
}
.weather-current > strong {
  font-size: 13px;
}
.weather-current > span {
  font-size: 11px;
  color: #5e705d;
}
.conditions-list {
  padding: 0 24px;
  margin: 0;
}
.conditions-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid #e9ece5;
  font-size: 12px;
}
.conditions-list dt {
  color: #687865;
}
.conditions-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.source-caption {
  padding: 15px 24px;
  font-size: 11px;
  line-height: 1.7;
  color: #5d6e59;
  background: #fafbf7;
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 1px solid var(--line);
}
.preparation-card {
  background: #f8faf4;
}
.preparation-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 8px;
}
.preparation-list > li {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.prep-number {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7eddf;
  font-size: 11px;
  color: #526747;
  font-weight: 700;
}
.preparation-list h3 {
  font-size: 13px;
  line-height: 1.6;
}
.preparation-list p {
  font-size: 12px;
  line-height: 1.8;
  color: #63755a;
  margin-top: 5px;
}
.runtime-detail {
  padding: 0 24px 23px;
  font-size: 12px;
  line-height: 1.8;
  color: #65735f;
}
.estimate-label {
  display: inline-block;
  background: #f1f3eb;
  border-radius: 5px;
  color: #576d4e;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 12px;
}
.runtime-detail ul {
  padding-left: 18px;
  line-height: 1.9;
  margin: 12px 0;
}
.runtime-detail .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.solar-auxiliary {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-top: 22px;
}
.solar-auxiliary .icon {
  margin-top: 3px;
}
.forecast-method {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbf7;
  padding: 17px 22px;
  color: #5e705a;
  font-size: 12px;
  line-height: 1.8;
}
.forecast-method summary {
  font-weight: 650;
  cursor: pointer;
  min-height: 24px;
}
.forecast-method p {
  margin-top: 12px;
  max-width: 1000px;
}
.solar-page .page-actions {
  flex: none;
}
@media (min-width: 1450px) {
  .solar-content {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1280px) {
  .solar-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .solar-content > aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
  .outlook-row,
  .outlook-columns {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 130px;
  }
  .solar-content > aside .card-head {
    padding: 20px 18px 16px;
  }
  .solar-content > aside .card-head h2 {
    font-size: 16px;
  }
  .weather-current,
  .conditions-list {
    padding-left: 18px;
    padding-right: 18px;
  }
  .preparation-list {
    padding-left: 18px;
    padding-right: 18px;
  }
  .runtime-detail {
    padding-left: 18px;
    padding-right: 18px;
  }
  .source-caption {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 940px) {
  .solar-content > aside {
    grid-template-columns: 1fr 1fr;
  }
  .runtime-card {
    grid-column: 1/-1;
  }
  .solar-brief {
    align-items: start;
  }
  .brief-status {
    min-width: 120px;
  }
  .solar-page .solar-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .solar-page .page-intro p {
    font-size: 13px;
    max-width: none;
  }
  .solar-page .page-intro h1 {
    font-size: 30px;
  }
  .solar-site-picker {
    gap: 7px;
    margin-bottom: 18px;
  }
  .solar-site-option {
    padding: 12px 9px;
    gap: 6px;
    min-height: 78px;
    align-items: start;
  }
  .solar-site-option > .icon {
    display: none;
  }
  .solar-site-option strong {
    font-size: 12px;
    line-height: 1.5;
  }
  .solar-site-option small {
    font-size: 10px;
    line-height: 1.5;
  }
  .solar-brief {
    padding: 21px;
    display: block;
    margin-bottom: 18px;
  }
  .solar-brief h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 12px 0;
  }
  .solar-brief p {
    font-size: 13px;
    line-height: 1.8;
  }
  .solar-brief .eyebrow {
    font-size: 9px;
    line-height: 1.7;
  }
  .brief-status {
    align-items: start;
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
  }
  .brief-status > span:last-child {
    font-size: 10px;
    text-align: left;
    max-width: 160px;
  }
  .solar-page .solar-metrics {
    gap: 10px;
    margin-bottom: 18px;
  }
  .solar-page .metric {
    padding: 17px 14px;
  }
  .solar-page .metric > small {
    font-size: 11px;
    line-height: 1.5;
    gap: 5px;
  }
  .solar-page .metric > small .icon {
    display: none;
  }
  .solar-page .metric > strong {
    font-size: 31px;
    margin: 8px 0 5px;
  }
  .solar-page .metric .caption {
    font-size: 10px;
    line-height: 1.65;
  }
  .solar-page .card-head {
    padding: 20px 18px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .solar-page .card-head h2 {
    font-size: 18px;
  }
  .section-description {
    font-size: 12px;
    margin-top: 7px;
    max-width: 280px;
  }
  .horizon-control {
    width: 100%;
    margin-top: 0;
  }
  .horizon-control button {
    flex: 1;
    min-height: 40px;
    font-size: 12px;
  }
  .forecast-coverage {
    margin: 0 18px 17px;
    padding: 11px;
    font-size: 11px;
  }
  .outlook-columns {
    display: none;
  }
  .outlook-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
  }
  .outlook-date {
    gap: 12px;
  }
  .day-stamp {
    min-width: 42px;
  }
  .day-stamp strong {
    font-size: 14px;
  }
  .day-stamp span {
    font-size: 12px;
  }
  .outlook-date > div:last-child > strong {
    font-size: 13px;
  }
  .outlook-date > div:last-child > span {
    font-size: 11px;
  }
  .outlook-energy {
    padding-left: 0;
  }
  .energy-pair {
    font-size: 12px;
  }
  .energy-track {
    height: 6px;
    margin: 8px 0;
  }
  .energy-result {
    font-size: 11px;
  }
  .outlook-weather {
    flex-direction: row;
    justify-content: space-between;
    font-size: 11px;
    gap: 12px;
  }
  .outlook-row.unavailable {
    gap: 8px;
  }
  .outlook-row.unavailable .outlook-weather {
    display: none;
  }
  .unavailable-label {
    padding-left: 78px;
    font-size: 11px;
  }
  .forecast-footnote {
    padding: 16px 18px;
    font-size: 11px;
  }
  .solar-content {
    gap: 18px;
  }
  .solar-content > aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .solar-content > aside .card {
    width: 100%;
  }
  .solar-page .chart-legend {
    padding: 0 18px 19px;
    font-size: 10px;
    justify-content: start;
  }
  .weather-current {
    padding: 0 20px 20px;
  }
  .weather-temperature {
    font-size: 48px;
  }
  .weather-current > strong {
    font-size: 14px;
  }
  .weather-current > span {
    font-size: 12px;
  }
  .conditions-list {
    padding: 0 20px;
  }
  .conditions-list > div {
    font-size: 13px;
  }
  .source-caption {
    padding: 14px 20px;
    font-size: 11px;
  }
  .preparation-list {
    padding: 0 20px 2px;
  }
  .preparation-list h3 {
    font-size: 14px;
  }
  .preparation-list p {
    font-size: 13px;
  }
  .runtime-detail {
    padding: 0 20px 20px;
    font-size: 13px;
  }
  .forecast-method {
    padding: 16px 18px;
  }
  .solar-auxiliary {
    font-size: 12px;
  }
  .solar-page .page-actions .button {
    min-width: 44px;
  }
  .solar-page .footer-note {
    font-size: 10px;
  }
}
.inventory-controls {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.individual-health {
  font-size: 11px;
  color: #586c5e;
  background: #f0f3ee;
  padding: 5px 7px;
  border-radius: 4px;
  width: max-content;
}
.inventory-lifecycle-actions {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
  flex-wrap: wrap;
}
.inventory-lifecycle-actions .button {
  white-space: normal;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: white;
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 14px;
}
.skip-link:focus {
  top: 14px;
}
.incident-power {
  font-size: 11px;
  color: #60735f;
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.incident-power .icon {
  width: 14px;
  height: 14px;
}
.assignee-control {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.form-input {
  width: 100%;
}
.solar-page .daily-outlook .energy-pair {
  font-size: 11px;
}
.solar-page .energy-result {
  font-size: 11px;
}
.solar-page .outlook-weather {
  font-size: 12px;
}
.solar-page .outlook-date > div:last-child > strong {
  font-size: 13px;
}
@media (max-width: 700px) {
  .solar-page .daily-outlook .energy-pair {
    font-size: 12px;
  }
  .inventory-controls .filter {
    min-height: 44px;
  }
  .individual-health {
    font-size: 10px;
  }
  .main {
    padding-bottom: 45px;
  }
  .solar-page .outlook-weather {
    font-size: 11px;
  }
}
.bank-alarm-counts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #657760;
}
.bank-alarm-counts span {
  display: flex;
  flex-direction: column;
}
.bank-alarm-counts strong {
  font-size: 17px;
  color: var(--ink);
}
.bank-card > .recovery-note {
  margin: 18px 0 0;
}

.inventory-history-link {
  text-align: left;
  width: max-content;
  font-size: 11px;
}
.solar-page .chart-label {
  font-size: 12px;
}
@media (max-width: 700px) {
  .solar-page .chart-label {
    font-size: 22px;
  }
  .solar-page .chart svg {
    overflow: visible;
  }
  .solar-history .chart {
    padding-left: 18px;
    padding-right: 25px;
  }
  .solar-page .chart-legend {
    font-size: 11px;
  }
}
.demo-restart-button {
  min-height: 36px;
  font-size: 11px;
  padding: 7px 12px;
  flex: none;
}
.demo-paused {
  margin-bottom: 22px;
  font-size: 13px;
}
.demo-paused p {
  margin-top: 5px;
}
.startup-error {
  max-width: 620px;
  margin: 12vh auto;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.startup-error h1 {
  font-size: 28px;
}
.startup-error p {
  margin: 18px 0;
  line-height: 1.8;
}
.startup-error .button {
  min-height: 44px;
}
@media (max-width: 700px) {
  .demo-strip {
    gap: 10px;
  }
  .demo-strip > label {
    max-width: 100%;
    flex: 1 1 200px;
  }
  .demo-restart-button {
    min-height: 44px;
  }
  .startup-error {
    margin: 35px 18px;
    padding: 22px;
  }
  .demo-paused {
    font-size: 12px;
  }
}

/* Shared operations workspace refinements. */
:root {
  --shadow: 0 3px 14px #17262205;
  --radius: 14px;
}
body {
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
.button {
  font-size: 13px;
  min-height: 40px;
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
.button:hover {
  box-shadow: 0 3px 9px #17262210;
}
.button:active {
  transform: translateY(1px);
}
.button:disabled {
  transform: none;
  filter: none;
}
.text-link {
  min-width: 32px;
  line-height: 1.6;
}
.filter {
  font-size: 12px;
  min-height: 40px;
  color: #536650;
}
.filter.selected {
  background: #e5eddf;
  color: #28492f;
  box-shadow: inset 0 0 0 1px #cedbc6;
}
.page-intro p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
}
.page-intro .eyebrow {
  font-size: 10px;
}
.topbar {
  background: #fffffff5;
}
.user-button {
  min-height: 44px;
  border-radius: 8px;
  padding: 6px 8px;
}
.user-button:hover {
  background: #f4f6ef;
}
.user-text strong {
  font-size: 12px;
}
.user-text span {
  font-size: 11px;
}
.nav-link {
  font-size: 13px;
  min-height: 46px;
}
.nav-link:hover {
  background: #283c31;
  color: #fff;
}
.nav-link.active {
  background: #324a3b;
}
.demo-strip {
  font-size: 12px;
  min-height: 54px;
  gap: 14px;
}
.demo-strip strong {
  font-size: 10px;
}
.demo-strip select {
  font-size: 12px;
  min-height: 36px;
  border-radius: 6px;
  padding: 5px;
  max-width: 330px;
}
.demo-strip > label {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.demo-strip select:focus-visible {
  outline-offset: 0;
}
.demo-strip .demo-restart-button {
  font-size: 12px;
}
.summary-card {
  border-top: 3px solid #dce4d6;
  padding: 19px 22px;
}
.summary-card.urgent {
  border-top-color: #bd5141;
}
.summary-card.check {
  border-top-color: #bc923f;
}
.summary-card.good {
  border-top-color: #588764;
}
.summary-top {
  font-size: 12px;
  color: #53664f;
}
.summary-number {
  font-size: 36px;
}
.summary-card .small {
  font-size: 11px;
}
.card-head h2 {
  font-size: 18px;
}
.card-head > .small {
  font-size: 11px;
}
.section-count {
  font-size: 11px;
  color: #53694c;
}
.incident-row {
  padding-top: 23px;
  padding-bottom: 23px;
}
.incident-row:focus-within {
  background: #f7faf3;
}
.incident-title {
  font-size: 15px;
  line-height: 1.5;
}
.incident-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.incident-meta {
  font-size: 12px;
  gap: 7px;
}
.incident-power {
  font-size: 12px;
  line-height: 1.65;
  color: #586d52;
  align-items: flex-start;
}
.incident-power .icon {
  margin-top: 3px;
}
.incident-footer .button {
  font-size: 12px;
  min-height: 40px;
  padding: 9px 13px;
}
.assignment {
  font-size: 12px;
  line-height: 1.5;
}
.badge {
  font-size: 11px;
  padding: 6px 9px;
}
.hint-line {
  font-size: 11px;
  line-height: 1.7;
}
.triage-layout > .card .filter-row {
  gap: 6px;
}
.bank-mini-row strong {
  font-size: 13px;
}
.bank-mini .small {
  font-size: 11px;
}
.bank-mini-row b {
  font-size: 24px;
}
.bank-mini .bar {
  height: 6px;
}
.recovery-note {
  font-size: 12px;
  line-height: 1.75;
}
.triage-layout .card-head > a[aria-label] {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.triage-layout .card-head > a[aria-label]:hover {
  background: #eef3e9;
}
.activity-item {
  font-size: 12px;
  line-height: 1.8;
  padding: 13px 0;
}
.activity-item .tiny {
  font-size: 11px;
}
.storm-card p {
  font-size: 13px;
}
.storm-card .storm-title {
  font-size: 23px;
}
.storm-card .button {
  font-size: 12px;
}
.storm-foot .tiny {
  font-size: 11px;
}
.footer-note {
  font-size: 10px;
  line-height: 1.7;
}
.fleet-overview {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.fleet-overview > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5a6e52;
}
.fleet-overview strong {
  font-size: 19px;
  color: var(--ink);
}
.fleet-overview .dot {
  width: 7px;
  height: 7px;
}
.dot.urgent {
  background: #b84e3d;
}
.dot.check {
  background: #ae8130;
}
.dot.good {
  background: #4e7f59;
}
.fleet-total {
  font-size: 12px;
  color: #607256;
  margin-left: auto;
}
.site-tile {
  padding: 24px;
}
.site-tile h2 {
  font-size: 20px;
}
.site-tile .site-type {
  font-size: 12px;
  line-height: 1.7;
}
.tile-soc small {
  font-size: 12px;
}
.tile-power {
  font-size: 12px;
  line-height: 1.6;
  max-width: 150px;
}
.site-tile-bottom {
  font-size: 12px;
  line-height: 1.6;
}
.site-tile .badge {
  font-size: 10px;
}
.tile-soc {
  align-items: start;
  flex-wrap: wrap;
}
.tile-soc strong {
  font-size: 30px;
}
.search {
  padding: 11px 14px;
  max-width: 370px;
  min-height: 46px;
}
.search input {
  font-size: 14px;
  line-height: 1.5;
}
.search .icon {
  width: 18px;
  height: 18px;
}
.search:focus-within {
  box-shadow: 0 0 0 2px #b4c6a6;
  border-color: #758d64;
}
.search input:focus-visible {
  outline: none;
}
.inventory-controls {
  margin: 0 0 15px;
}
.inventory-explainer {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 20px;
  color: #536b4d;
  font-size: 12px;
  line-height: 1.8;
  padding: 14px 17px;
  background: #eaf0e5;
  border: 1px solid #d8e3ce;
  border-radius: 9px;
  flex-wrap: wrap;
}
.inventory-explainer > .icon {
  margin-top: 3px;
}
.inventory-explainer > p {
  flex: 1;
  min-width: 200px;
}
.inventory-explainer details {
  width: 100%;
  padding-left: 29px;
}
.inventory-explainer summary {
  cursor: pointer;
  font-size: 11px;
  min-height: 24px;
  line-height: 2;
}
.inventory-explainer details p {
  margin-top: 9px;
  max-width: 850px;
}
.battery-record strong {
  font-size: 15px;
}
.battery-site {
  font-size: 12px;
}
.battery-record .small {
  font-size: 12px;
  line-height: 1.7;
}
.battery-record .tiny {
  font-size: 11px;
  line-height: 1.6;
}
.individual-health {
  font-size: 11px;
}
.battery-record-condition .button {
  font-size: 12px;
  padding: 8px;
  min-height: 40px;
}
.inventory-history-link {
  min-height: 32px;
  font-size: 11px;
}
.battery-record {
  padding: 22px 24px;
}
.battery-record-condition {
  max-width: 115px;
}
.empty h3 {
  font-size: 17px;
  color: #3e593a;
}
.empty p {
  font-size: 13px;
  margin: 8px auto 18px;
  max-width: 330px;
}
.empty .button {
  margin-top: 12px;
}
.model-note {
  font-size: 12px;
}
.bank-values small {
  font-size: 10px;
}
.bank-values strong {
  font-size: 14px;
}
.bank-alarm-counts {
  font-size: 12px;
}
.timeline-step {
  font-size: 12px;
}
.detail-tabs .button {
  font-size: 12px;
}
.modal-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-head h2 {
  font-size: 21px;
}
.modal-body {
  padding: 24px 27px;
}
.modal-body label {
  font-size: 13px;
}
.modal-body .evidence {
  font-size: 13px;
}
.modal-body .small {
  font-size: 12px;
  line-height: 1.75;
}
.modal-body .notice {
  font-size: 12px;
}
.modal-body .button {
  font-size: 12px;
  min-height: 44px;
}
.close-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
}
.modal-actions {
  gap: 9px;
  margin-top: 19px;
}
textarea,
input.form-input,
select.form-input {
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid #cfdbc8;
  border-radius: 8px;
  background: #fafcf7;
  padding: 11px;
  min-height: 46px;
}
textarea {
  min-height: 112px;
}
.modal-error {
  font-size: 13px;
  line-height: 1.7;
}
.save-status {
  border: 1px solid #d4e0ca;
  border-radius: 8px;
  background: #eff5e9;
  color: #42653a;
  font-size: 13px;
  padding: 11px 14px;
  margin-bottom: 16px;
}
.is-saving .topbar {
  box-shadow: inset 0 -2px 0 #6e8d5d;
}
.modal-activity h3 {
  font-size: 16px;
}
.login-form h2 {
  font-size: 32px;
}
.login-form p {
  font-size: 14px;
}
.login-foot {
  font-size: 12px;
}
.account-option {
  min-height: 80px;
  border-radius: 12px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.account-option:hover {
  background: #f8faf4;
}
.account-option strong {
  font-size: 15px;
}
.account-option span.role {
  font-size: 12px;
}
.login-form .notice {
  font-size: 12px;
}
.login-art .brand-name {
  font-size: 20px;
}
.login-art p {
  font-size: 16px;
  line-height: 1.8;
}
.integration-card p {
  font-size: 13px;
  line-height: 1.8;
}
.progress-check {
  font-size: 13px;
}
@media (max-width: 1180px) {
  .demo-strip {
    gap: 10px;
    flex-wrap: wrap;
  }
  .demo-strip > label {
    flex: 1;
    justify-content: flex-end;
  }
  .demo-strip select {
    max-width: 280px;
  }
  .fleet-overview {
    gap: 18px;
  }
  .fleet-total {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .shell {
    padding-bottom: 88px;
  }
  .main {
    padding: 22px 18px 32px;
  }
  .sidebar {
    height: auto;
    min-height: 66px;
    padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
  }
  .nav-link {
    font-size: 10px;
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 6px 9px;
    gap: 4px;
  }
  .nav-link .icon {
    width: 20px;
    height: 20px;
  }
  .nav-count {
    font-size: 9px;
    right: 5px;
    top: 0;
  }
  .sidebar nav {
    width: 100%;
    justify-content: space-around;
  }
  .topbar {
    height: 61px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .user-button {
    min-height: 44px;
    padding: 4px;
  }
  .user-text strong {
    font-size: 11px;
  }
  .user-text span {
    font-size: 10px;
  }
  .user-button .avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .top-actions {
    gap: 8px;
  }
  .demo-strip {
    min-height: 58px;
    padding: 8px 18px;
    gap: 7px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .demo-strip > span {
    font-size: 10px;
  }
  .demo-strip > label {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: start;
    max-width: 100%;
    font-size: 11px;
    gap: 8px;
  }
  .demo-strip select {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    font-size: 11px;
    min-height: 32px;
    padding: 3px 0;
  }
  .demo-strip .demo-restart-button {
    grid-column: 2;
    grid-row: 1;
    min-height: 38px;
    padding: 6px 10px;
    font-size: 11px;
  }
  .demo-strip > span:first-child {
    grid-row: 1;
  }
  .demo-strip > span:nth-child(2) {
    display: none;
  }
  .page-intro {
    margin-bottom: 20px;
    gap: 12px;
  }
  .page-intro h1 {
    font-size: 29px;
    line-height: 1.2;
  }
  .page-intro p {
    font-size: 13px;
    line-height: 1.65;
    max-width: 245px;
    margin-top: 8px;
  }
  .page-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 7px;
  }
  .page-actions .button {
    width: 44px;
    height: 44px;
    padding: 10px;
    font-size: 12px;
  }
  .page-actions .icon {
    width: 19px;
    height: 19px;
  }
  .page-actions .live-note {
    display: none;
  }
  .view-triage .page-intro {
    margin-bottom: 17px;
  }
  .view-triage .page-intro .eyebrow {
    display: none;
  }
  .view-triage .page-intro p {
    font-size: 12px;
    max-width: 250px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .view-triage .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 18px;
  }
  .view-triage .summary-card {
    padding: 10px 8px 11px;
    border-radius: 10px;
  }
  .view-triage .summary-top {
    font-size: 10px;
    line-height: 1.45;
    min-height: 29px;
    display: block;
  }
  .view-triage .summary-top .summary-icon {
    display: none;
  }
  .view-triage .summary-number {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin: 5px 0 0;
    line-height: 1;
  }
  .view-triage .summary-card > .small {
    display: none;
  }
  .card-head {
    padding: 17px 18px 12px;
    gap: 8px;
  }
  .card-head h2 {
    font-size: 17px;
  }
  .card-head > .small {
    font-size: 11px;
  }
  .section-count {
    font-size: 11px;
    margin-left: 5px;
  }
  .filter {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 11px;
  }
  .filter-row {
    padding: 0 12px 12px;
    gap: 2px;
  }
  .triage-layout > .card .filter-row {
    gap: 2px;
  }
  .incident-row {
    padding: 17px 16px;
    gap: 10px;
  }
  .incident-marker {
    width: 28px;
    height: 28px;
  }
  .incident-meta {
    font-size: 11px;
    line-height: 1.5;
    gap: 5px;
    margin-bottom: 6px;
  }
  .incident-title {
    font-size: 15px;
    line-height: 1.45;
    min-height: 30px;
  }
  .incident-power {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 5px;
  }
  .incident-footer {
    margin-top: 10px;
    align-items: center;
  }
  .incident-footer .button {
    font-size: 11px;
    min-height: 44px;
    padding: 8px 10px;
  }
  .assignment {
    font-size: 11px;
    max-width: 155px;
  }
  .badge {
    font-size: 10px;
    padding: 5px 8px;
  }
  .hint-line {
    font-size: 11px;
    padding: 13px 17px;
  }
  .bank-mini-row strong {
    font-size: 13px;
  }
  .bank-mini .small {
    font-size: 11px;
  }
  .bank-mini {
    padding: 0 20px 19px;
  }
  .recovery-note {
    font-size: 12px;
  }
  .activity-item {
    font-size: 12px;
  }
  .storm-card .storm-title {
    font-size: 24px;
  }
  .storm-card p {
    font-size: 13px;
  }
  .storm-card .button {
    font-size: 11px;
  }
  .footer-note {
    font-size: 10px;
  }
  .fleet-overview {
    padding: 13px 15px;
    gap: 12px 20px;
    margin-bottom: 16px;
  }
  .fleet-overview > div {
    font-size: 11px;
    gap: 6px;
  }
  .fleet-overview strong {
    font-size: 18px;
  }
  .fleet-total {
    width: 100%;
    font-size: 11px;
  }
  .site-tile {
    padding: 22px;
  }
  .site-tile h2 {
    font-size: 20px;
  }
  .site-tile .site-type {
    font-size: 12px;
  }
  .tile-soc small {
    font-size: 12px;
  }
  .site-tile-bottom {
    font-size: 12px;
  }
  .tile-power {
    font-size: 12px;
  }
  .site-tile .badge {
    font-size: 10px;
  }
  .toolbar {
    gap: 13px;
    margin-bottom: 16px;
  }
  .search {
    min-height: 46px;
    padding: 10px 13px;
    max-width: none;
  }
  .search input {
    font-size: 14px;
  }
  .toolbar .filter-row {
    gap: 3px;
  }
  .inventory-controls {
    margin-bottom: 14px;
    gap: 4px;
  }
  .inventory-explainer {
    padding: 12px 13px;
    gap: 8px;
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .inventory-explainer > p {
    min-width: 190px;
  }
  .inventory-explainer summary {
    font-size: 11px;
    min-height: 30px;
  }
  .view-batteries .page-intro .eyebrow {
    display: none;
  }
  .view-batteries .page-intro p {
    font-size: 12px;
    max-width: 260px;
  }
  .battery-record {
    padding: 19px 17px;
    gap: 12px;
  }
  .battery-site {
    font-size: 11px;
  }
  .battery-record strong {
    font-size: 15px;
  }
  .battery-record .small {
    font-size: 12px;
  }
  .battery-record .tiny {
    font-size: 11px;
  }
  .battery-record-condition > .tiny {
    font-size: 10px;
  }
  .individual-health {
    font-size: 10px;
  }
  .inventory-history-link {
    min-height: 36px;
    font-size: 11px;
  }
  .battery-record-condition .button {
    min-height: 44px;
    font-size: 11px;
    padding: 8px;
  }
  .battery-record-condition {
    max-width: 100px;
  }
  .bank-values strong {
    font-size: 12px;
  }
  .bank-values small {
    font-size: 9px;
  }
  .bank-card .small {
    font-size: 12px;
  }
  .model-note {
    font-size: 12px;
  }
  .timeline-step {
    font-size: 11px;
  }
  .detail-tabs .button {
    font-size: 12px;
  }
  .detail-tabs .pill {
    font-size: 11px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 16px;
  }
  .modal-head {
    padding: 17px 18px 14px;
    align-items: center;
  }
  .modal-head h2 {
    font-size: 19px;
  }
  .modal-head .eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
  }
  .modal-body {
    padding: 20px 18px;
  }
  .modal-body .button {
    font-size: 12px;
    padding: 10px 12px;
    white-space: normal;
  }
  .modal-actions {
    gap: 8px;
  }
  .modal-body label {
    font-size: 13px;
  }
  .modal-body textarea,
  .modal-body input,
  .modal-body select {
    font-size: 16px;
  }
  .modal-body .evidence {
    font-size: 13px;
  }
  .modal-body .notice {
    font-size: 12px;
  }
  .login-art {
    padding: 30px 26px;
  }
  .login-art .brand {
    margin-bottom: 28px;
  }
  .login-art h1 {
    font-size: 38px;
  }
  .login-art p {
    font-size: 14px;
  }
  .login-form-area {
    padding: 28px 22px 40px;
  }
  .login-form h2 {
    font-size: 27px;
  }
  .login-form p {
    font-size: 14px;
  }
  .login-foot {
    font-size: 12px;
  }
  .account-option strong {
    font-size: 14px;
  }
  .account-option span.role {
    font-size: 12px;
  }
  .login-form .notice {
    font-size: 12px;
  }
  .integration-card p {
    font-size: 13px;
  }
  .progress-check {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .account-option {
    transition: none;
  }
  .button:active {
    transform: none;
  }
}
/* Field operations, retained work and forecast evidence. */
.login-theme-control {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  flex: none;
}
.top-actions {
  gap: 12px;
}
.modal-read-model-status {
  margin: 14px 0;
}
.history-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.history-entry > time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.history-entry p {
  font-size: 13px;
  line-height: 1.8;
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.history-entry .notice {
  margin: 12px 0;
}
.work-history-list {
  margin-top: 14px;
}
.storm-triage-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  text-decoration: none;
  background: #f4eddb;
  color: #735721;
  border: 1px solid #e3cf9f;
  margin: 14px;
  border-radius: 10px;
}
.storm-triage-banner > span {
  flex: 1;
}
.storm-triage-banner strong,
.storm-triage-banner small {
  display: block;
}
.storm-triage-banner strong {
  font-size: 13px;
}
.storm-triage-banner small {
  font-size: 11px;
  margin-top: 5px;
}
.power-cadence {
  display: flex;
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}
.power-site-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.power-site .card-head h2 {
  font-size: 25px;
  margin-top: 7px;
}
.power-site .card-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.power-banks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 22px 22px;
  gap: 18px;
}
.power-bank {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--back);
  min-width: 0;
}
.power-soc {
  font-size: 64px;
  font-weight: 650;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 20px 0 10px;
}
.power-soc > span {
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 10px;
  color: var(--muted);
}
.power-counts {
  margin: 20px 0;
}
.power-counts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.power-counts dt {
  color: var(--muted);
}
.power-counts dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.power-deadline {
  padding: 17px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.power-deadline small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.power-deadline strong {
  display: block;
  font-size: 28px;
  margin: 5px 0;
}
.power-deadline p {
  font-size: 13px;
}
.power-assumption {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
.temperature-card {
  margin-bottom: 20px;
}
.temperature-list > div {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
}
.temperature-list small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.temperature-value {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
}
.temperature-inline {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
}
.site-tile .temperature-inline {
  padding: 10px 0;
}
.generator-metrics {
  padding: 0 24px 22px;
  display: grid;
  gap: 20px;
}
.generator-metrics small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.generator-metrics strong {
  display: block;
  font-size: 28px;
  margin-top: 5px;
}
.expected-soc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.expected-soc span {
  font-size: 11px;
  color: var(--muted);
}
.expected-soc strong {
  font-size: 20px;
  color: var(--ink);
}
.radiation-basis {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0;
}
.soc-projection-basis .card-pad {
  padding-top: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.soc-projection-basis p {
  margin-bottom: 12px;
}
.soc-projection-basis ul {
  padding-left: 19px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-card h2 {
  font-size: 19px;
}
.guide-card p {
  font-size: 13px;
  color: var(--muted);
}
.guide-body {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.guide-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.help-toolbar {
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .nav-link[href="#setup"] {
    display: none;
  }
  .top-actions {
    gap: 5px;
  }
  .user-text strong {
    max-width: 82px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .theme-toggle {
    min-width: 40px;
    width: 40px;
  }
  .power-banks {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 16px 16px;
    gap: 14px;
  }
  .power-bank {
    padding: 19px;
  }
  .power-soc {
    font-size: 64px;
  }
  .power-site .card-head h2 {
    font-size: 24px;
  }
  .power-site .card-head p {
    font-size: 12px;
  }
  .power-counts > div {
    font-size: 12px;
  }
  .power-cadence {
    font-size: 11px;
    line-height: 1.8;
  }
  .power-assumption {
    font-size: 11px;
  }
  .power-deadline strong {
    font-size: 28px;
  }
  .temperature-list > div {
    padding: 14px 18px;
  }
  .temperature-inline {
    font-size: 11px;
  }
  .generator-metrics {
    padding: 0 18px 20px;
  }
  .expected-soc strong {
    font-size: 22px;
  }
  .expected-soc span {
    font-size: 12px;
  }
  .radiation-basis {
    font-size: 11px;
  }
  .soc-projection-basis .card-head {
    display: block;
  }
  .soc-projection-basis .card-head .badge {
    margin-top: 10px;
    white-space: normal;
  }
  .storm-triage-banner {
    padding: 14px 15px;
  }
  .storm-triage-banner strong {
    font-size: 13px;
  }
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-card {
    padding: 20px;
  }
}
.power-cadence {
  display: block;
  padding: 10px 14px;
}
.power-cadence summary {
  cursor: pointer;
  font-size: 12px;
  line-height: 1.8;
  min-height: 24px;
}
.power-cadence p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
}
.power-deadline {
  margin-top: 17px;
}
@media (max-width: 700px) {
  .topbar {
    gap: 8px;
  }
  .breadcrumb {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .breadcrumb > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .breadcrumb > span {
    flex: none;
  }
  .top-actions {
    flex: none;
  }
  .user-text strong {
    max-width: 72px;
  }
  .theme-toggle {
    min-width: 44px;
    width: 44px;
  }
  .power-cadence {
    font-size: 11px;
  }
  .power-cadence summary {
    font-size: 11px;
  }
  .power-site .card-head {
    padding-top: 16px;
    padding-bottom: 14px;
  }
}
.soc-projection-basis > summary {
  padding: 17px 22px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
.soc-projection-basis > summary > span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin: 5px 0 0 17px;
}
.generator-card {
  margin-bottom: 20px;
}
.generator-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.generator-metrics > div:last-child strong {
  font-size: 21px;
}
.source-caption > summary {
  cursor: pointer;
  min-height: 24px;
}
.source-caption > p {
  margin-top: 10px;
}
.guide-review-log {
  padding: 14px 0;
  margin: 12px 0;
  border-top: 1px solid var(--line);
}
.guide-review-log summary {
  cursor: pointer;
  font-size: 13px;
  min-height: 32px;
}
.outlook-columns {
  font-size: 10px;
}
.outlook-date > div:last-child > span {
  line-height: 1.6;
}
@media (max-width: 700px) {
  .soc-projection-basis > summary {
    padding: 16px 18px;
    font-size: 12px;
  }
  .generator-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .generator-metrics strong {
    font-size: 27px;
  }
  .generator-metrics small {
    font-size: 11px;
  }
  .solar-brief p {
    font-size: 12px;
  }
  .solar-brief {
    padding: 19px;
  }
  .source-caption {
    font-size: 11px;
  }
}
.power-assumption > summary {
  cursor: pointer;
  min-height: 30px;
  font-size: 12px;
  line-height: 2;
}
.power-assumption > p {
  margin-top: 8px;
}

.pagerduty-panel {
  margin-top: 22px;
}
.pagerduty-panel .card-head {
  align-items: flex-start;
}
.pagerduty-panel .section-description {
  max-width: 650px;
}
.pd-panel-body {
  padding: 0 24px 24px;
  font-size: 13px;
  line-height: 1.7;
}
.pd-mode p {
  margin-top: 5px;
}
.pd-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.pd-controls .button,
.pd-simulation .button {
  min-height: 44px;
}
.pd-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.pd-summary > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f5f7f1;
}
.pd-summary dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.pd-summary dd {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 8px;
  font-weight: 650;
}
.pd-recovery-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0;
}
.pd-records,
.pd-inbox,
.pd-simulation,
.pd-requirements {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.pd-records > summary,
.pd-inbox > summary,
.pd-simulation > summary,
.pd-requirements > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-weight: 600;
}
.pd-records > p,
.pd-inbox > p,
.pd-simulation > p {
  margin: 8px 0 14px;
}
.pd-simulation label {
  margin-top: 14px;
}
.pd-simulation .button {
  margin-top: 12px;
}
.pd-requirements ul {
  padding-left: 22px;
  color: var(--muted);
}
.pd-requirements li {
  margin: 8px 0;
}
.pd-command,
.pd-mapping,
.pd-event {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.pd-command:last-child,
.pd-mapping:last-child,
.pd-event:last-child {
  border-bottom: 0;
}
.pd-command p,
.pd-event p {
  margin-top: 9px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pd-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-record-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.pd-record-meta,
.pd-record-reason {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.pd-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 15px;
}
.pd-metadata dt {
  font-size: 11px;
  color: var(--muted);
}
.pd-metadata dd {
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.pd-review {
  border-left: 3px solid var(--yellow);
  padding: 12px 14px;
  margin: 12px 0;
  background: #fbf6e9;
  border-radius: 0 7px 7px 0;
  overflow-wrap: anywhere;
}
.pd-review p {
  margin-top: 6px;
}
.incident-pagerduty {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
}
.incident-pagerduty > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 14px 16px;
  background: #f3f6ef;
}
.incident-pagerduty > summary > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin: 4px 0 0 17px;
}
.pd-incident-body {
  padding: 16px;
}
.pd-incident-body > h3 {
  font-size: 13px;
  margin-top: 20px;
}
.pd-incident-body .pd-recovery-note {
  margin-bottom: 0;
}

.triage-bank-brief {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  font-size: 11px;
}
.triage-bank-brief strong {
  margin-right: 5px;
  color: var(--muted);
  font-weight: 500;
}
.critical-evidence {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 8px;
  color: #913d31;
  background: #faeee8;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.critical-evidence .icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.critical-evidence.compact {
  padding: 0;
  background: transparent;
  font-size: 10px;
  margin: 6px 0 0;
  gap: 5px;
}
.critical-evidence.compact .icon {
  width: 13px;
  height: 13px;
}
.critical-outside {
  padding: 12px 22px;
  background: #fbf3df;
  color: #785b29;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  font-size: 12px;
}
.critical-outside .text-link {
  min-height: 44px;
}
.my-response {
  margin-bottom: 16px;
}
.my-response > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
  font-size: 12px;
}
.my-response > summary > span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.my-response-list {
  border-top: 1px solid var(--line);
}
.my-response-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.my-response-list article:last-child {
  border-bottom: 0;
}
.my-response-list article > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.my-response-list span {
  font-weight: 650;
}
.my-response-list small {
  color: var(--muted);
}
.my-response-list .button {
  min-height: 44px;
  flex: none;
}
.response-dialog {
  width: min(790px, calc(100% - 28px));
  max-width: calc(100% - 28px);
  max-height: calc(100dvh - 28px);
  scroll-padding-block: 100px 128px;
}
.response-dialog .modal-head {
  z-index: 12;
}
.response-tags {
  margin-bottom: 14px;
}
.response-dialog .modal-read-model-status {
  margin: 10px 0 14px;
  font-size: 11px;
  padding: 10px 12px;
}
.response-brief {
  margin-bottom: 20px;
}
.response-power {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 13px;
}
.response-power > span {
  font-size: 11px;
  color: var(--muted);
}
.response-bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.response-bank {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: #f7f9f4;
}
.response-bank > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}
.response-soc {
  display: block;
  font-size: 34px;
  line-height: 1.2;
  margin: 12px 0 6px;
}
.response-soc small {
  margin-left: 7px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.last-reported-soc {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  margin: 6px 0;
}
.response-bank > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.response-deadline {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 13px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.response-deadline > span {
  font-size: 10px;
  color: var(--muted);
}
.response-deadline > strong {
  font-size: 13px;
  line-height: 1.6;
}
.response-deadline > small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}
.response-estimate-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 9px;
}
.response-progress {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.response-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.response-stage-head span {
  color: var(--muted);
  font-size: 12px;
}
.response-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 16px 0 10px;
  gap: 7px;
}
.response-progress li {
  border-bottom: 3px solid var(--line);
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}
.response-progress li.current {
  border-color: var(--green);
  color: var(--ink);
  font-weight: 700;
}
.response-progress li.done {
  border-color: #91aa91;
}
.response-progress > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.response-verification p {
  margin-top: 7px;
}
.response-latest {
  padding: 14px 16px;
  border-left: 3px solid #8aa78e;
  background: #f3f6ef;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-size: 12px;
}
.response-latest > p {
  margin: 7px 0;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.response-latest > span {
  color: var(--muted);
  font-size: 11px;
}
.response-editor {
  scroll-margin: 16px 0;
}
.response-editor label {
  font-size: 14px;
  margin-top: 0;
}
.note-prompt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 10px;
}
.response-editor textarea {
  min-height: 140px;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  scroll-margin: 16px 0;
}
#handoff-copy {
  font-size: 16px;
  line-height: 1.6;
}
.note-templates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.note-templates .button {
  min-height: 44px;
  font-size: 12px;
  padding: 8px 10px;
}
.response-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.response-tools .button {
  min-height: 44px;
}
.help-disposition {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
}
.response-related {
  margin: 24px 0;
}
.response-related h3 {
  font-size: 13px;
  margin-bottom: 9px;
}
.response-related > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  padding: 11px 12px;
  margin-top: 8px;
}
.response-related > button > span:nth-child(2) {
  flex: 1;
}
.response-related > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 9px;
}
.response-evidence,
.response-timeline {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 12px;
}
.response-evidence > summary,
.response-timeline > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 11px 0;
  font-size: 12px;
  font-weight: 600;
}
.response-evidence > p {
  color: var(--muted);
  line-height: 1.9;
  margin: 12px 0;
}
.response-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 20px -26px -23px;
  padding: 12px 26px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 18px #1726220c;
}
.response-next-action {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 9px;
}
.response-actions > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.response-actions .button {
  min-height: 46px;
  font-size: 13px;
}
.response-actions .button:last-child {
  flex: 1;
  justify-content: center;
  max-width: 360px;
}
.power-bank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.power-online-count {
  margin-top: 6px;
}
.power-blocked {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #913d31;
  font-size: 11px;
  font-weight: 650;
  margin-top: 8px;
}
.power-blocked .icon {
  width: 14px;
  height: 14px;
  flex: none;
}
.power-policy {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  padding: 0 24px 18px;
}
.power-bank .power-deadline > strong {
  font-size: 20px;
  line-height: 1.6;
}
.power-bank .power-deadline > p {
  font-size: 11px;
  line-height: 1.8;
}
.temperature-inline small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 10px;
}
@media (max-width: 700px) {
  .demo-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 18px;
    gap: 3px 10px;
  }
  .demo-strip > label,
  .demo-strip > span:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: 10px;
    line-height: 1.6;
  }
  .demo-strip > label {
    justify-content: flex-start;
  }
  .demo-strip > button {
    grid-column: 2;
    grid-row: 1;
    min-height: 36px;
    padding: 6px 10px;
  }
  .demo-strip select {
    max-width: 280px;
  }
  .view-triage .summary-card {
    padding: 12px 10px;
  }
  .view-triage .summary-number {
    font-size: 27px;
    margin: 8px 0 0;
  }
  .view-triage .summary-grid {
    margin-bottom: 16px;
  }
  .triage-bank-brief {
    margin-top: 7px;
    gap: 12px;
    font-size: 10px;
  }
  .critical-evidence.compact {
    font-size: 10px;
    line-height: 1.6;
  }
  .my-response {
    margin-bottom: 13px;
  }
  .my-response > summary {
    padding: 10px 14px;
    font-size: 11px;
    gap: 8px;
  }
  .my-response > summary > span {
    max-width: 200px;
    font-size: 10px;
  }
  .my-response-list article {
    padding: 12px 14px;
  }
  .my-response-list .button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .response-dialog {
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 14px;
  }
  .response-dialog .modal-head {
    padding: 14px 16px;
  }
  .response-dialog .modal-head h2 {
    font-size: 18px;
  }
  .response-dialog .modal-head .eyebrow {
    margin-bottom: 5px;
  }
  .response-dialog .modal-body {
    padding: 14px 16px 18px;
  }
  .response-tags {
    margin-bottom: 10px;
  }
  .response-brief {
    margin-bottom: 16px;
  }
  .response-power {
    font-size: 12px;
  }
  .response-power > span {
    font-size: 10px;
  }
  .response-bank-grid {
    gap: 9px;
    margin-top: 9px;
  }
  .response-bank {
    padding: 11px;
  }
  .response-bank > div:first-child {
    font-size: 11px;
    gap: 5px;
  }
  .response-bank .badge {
    font-size: 9px;
  }
  .response-soc {
    font-size: 30px;
    margin: 10px 0 5px;
  }
  .response-bank > p {
    font-size: 10px;
  }
  .response-deadline {
    margin-top: 9px;
    padding-top: 8px;
    gap: 4px;
  }
  .response-deadline > strong {
    font-size: 12px;
  }
  .response-deadline > small {
    font-size: 10px;
  }
  .response-estimate-note {
    font-size: 10px;
  }
  .response-progress {
    padding: 14px 0;
    margin-bottom: 16px;
  }
  .response-stage-head {
    font-size: 12px;
  }
  .response-stage-head span {
    font-size: 11px;
  }
  .response-progress ol {
    margin: 12px 0 9px;
  }
  .response-progress li {
    font-size: 10px;
  }
  .response-latest {
    padding: 12px;
    font-size: 12px;
  }
  .response-actions {
    margin: 18px -16px -18px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .response-next-action {
    font-size: 10px;
  }
  .response-actions .button {
    font-size: 12px;
    min-height: 44px;
  }
  .response-tools .button {
    font-size: 12px;
    padding: 10px 11px;
  }
  .view-power .page-intro {
    margin-bottom: 17px;
  }
  .view-power .page-intro p {
    max-width: 275px;
    font-size: 12px;
  }
  .view-power .power-site .card-head {
    padding: 15px 16px 13px;
  }
  .view-power .power-site .card-head h2 {
    font-size: 22px;
  }
  .view-power .power-site .card-head .eyebrow {
    font-size: 9px;
  }
  .view-power .power-site .card-head p {
    font-size: 11px;
  }
  .view-power .power-banks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0 12px 14px;
  }
  .view-power .power-bank {
    padding: 12px;
  }
  .power-bank-head {
    gap: 5px;
    font-size: 11px;
  }
  .power-bank-head .badge {
    font-size: 9px;
  }
  .view-power .power-soc {
    font-size: 36px;
    line-height: 1.2;
    margin: 12px 0 6px;
  }
  .view-power .power-soc > span {
    font-size: 10px;
  }
  .power-online-count > div {
    display: block;
    padding: 0;
  }
  .power-online-count dt {
    font-size: 10px;
  }
  .power-online-count dd {
    margin-top: 3px;
    font-size: 13px;
  }
  .power-blocked {
    font-size: 10px;
    line-height: 1.6;
  }
  .view-power .power-deadline {
    margin-top: 13px;
  }
  .view-power .power-deadline small {
    font-size: 10px;
  }
  .view-power .power-deadline > strong {
    font-size: 13px;
    margin: 6px 0;
  }
  .view-power .power-deadline > p {
    font-size: 10px;
  }
  .power-policy {
    padding: 0 16px 14px;
    font-size: 10px;
  }
  .power-assumption > summary {
    font-size: 10px;
    line-height: 1.7;
  }
  .view-power .power-assumption .power-counts > div {
    font-size: 10px;
    display: block;
  }
}
@media (max-width: 700px) {
  .pd-panel-body {
    padding: 0 18px 20px;
    font-size: 12px;
  }
  .pd-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pd-summary > div {
    padding: 13px;
  }
  .pd-summary dd {
    font-size: 25px;
  }
  .pd-metadata {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-controls {
    align-items: stretch;
  }
  .pd-controls > .button {
    flex: 1 1 160px;
    justify-content: center;
  }
  .pd-record-head {
    gap: 8px;
  }
}
