:root {
  --navy: #101d2b;
  --ink: #182a3a;
  --muted: #73818e;
  --line: #e7ebef;
  --bg: #f3f5f7;
  --orange: #eb622e;
  --green: #288d72;
  --sans: "Segoe UI", Inter, system-ui, sans-serif;
  --mono: Consolas, monospace;
  --shadow: 0 8px 30px #081b3220;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  margin: 0;
  height: 100%;
  min-width: 320px;
}
body {
  font: 14px var(--sans);
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  transition:
    background 0.16s,
    color 0.16s;
}
button:disabled {
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #e98b49;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 3000;
  background: white;
  padding: 14px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  height: 100dvh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 74px;
  flex-shrink: 0;
  background: var(--navy);
  padding: 0 27px;
  display: flex;
  align-items: center;
  gap: 50px;
  color: #c5ced8;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand-light {
  font-weight: 350;
}
.brand small {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 2.3px;
  color: #93a4b4;
  font-weight: 600;
}
.brand-mark {
  height: 40px;
  width: 40px;
  border-radius: 11px;
  background: var(--orange);
  display: grid;
  place-items: center;
}
.brand-mark svg {
  height: 29px;
  width: 29px;
}
.main-nav {
  display: flex;
  gap: 26px;
  height: 100%;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #98a8b8;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  font-weight: 550;
  padding: 0 4px;
  font-size: 14px;
}
.nav-item.current,
.nav-item:hover {
  color: white;
}
.nav-item.current:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--orange);
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-count {
  font-size: 11px;
  background: #ffffff18;
  padding: 1px 5px;
  border-radius: 5px;
}
.topbar-meta {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-right: 12px;
  white-space: nowrap;
}
.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #91a0af;
  border-radius: 50%;
}
.pulse.ready {
  background: #65c9a8;
  box-shadow: 0 0 0 4px #65c9a80d;
}
.pulse.warning {
  background: #efb65c;
}
.pulse.error {
  background: #ef7565;
}
.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  color: inherit;
}
.icon-button:hover {
  background: #ffffff12;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.workspace-heading {
  height: 90px;
  flex-shrink: 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  color: #7c8b97;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.8px;
  margin: 0 0 8px;
}
.workspace-heading h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.1;
  font-weight: 650;
}
.title-dot {
  color: var(--orange);
  margin-left: 2px;
}
.heading-note {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.heading-note svg {
  width: 31px;
  height: 31px;
  color: #9ba9b4;
  stroke-width: 1.2;
}
.heading-note b {
  font-weight: 500;
  color: #455b6e;
}
.workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 306px minmax(300px, 1fr) 300px;
  margin: 0 20px;
  gap: 1px;
  border: 1px solid #dde3e9;
  border-radius: 12px;
  overflow: hidden;
  background: #e0e5ea;
  box-shadow: 0 3px 8px #142e4510;
}
.control-panel,
.results-panel {
  background: white;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position: relative;
}
.panel-heading {
  height: 62px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}
.panel-heading h2 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.3px;
  margin: 0;
}
.micro-label {
  font-size: 8px;
  color: #92a0aa;
  letter-spacing: 1.2px;
}
.controls-scroll,
.results-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cfd8df transparent;
  min-height: 0;
  overscroll-behavior: contain;
}
.controls-scroll {
  padding: 0 20px 14px;
  flex: 1;
}
.control-section {
  padding: 17px 0 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.control-section.first {
  border: 0;
  margin: 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-label > span {
  font-family: var(--mono);
  font-size: 10px;
  color: #a0adb7;
}
.section-label h3 {
  font-size: 12px;
  margin: 0;
  font-weight: 650;
}
.section-label .reset {
  margin-left: auto;
  color: #8896a2;
  font-size: 10px;
  padding: 0;
}
.field-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0 0;
}
.dataset-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #7a8b98;
  margin-top: 8px;
  gap: 5px;
}
.dataset-meta span:last-child {
  font-family: var(--mono);
  font-size: 9px;
}
label {
  font-size: 11px;
  font-weight: 500;
  color: #677d8e;
}
input:not([type="checkbox"], [type="range"]),
select {
  width: 100%;
  height: 37px;
  background: #fff;
  border: 1px solid #dbe2e8;
  border-radius: 6px;
  padding: 7px 10px;
  color: #2a4153;
  font-size: 12px;
  line-height: 1.2;
  min-width: 0;
}
select {
  padding-right: 20px;
}
select:disabled {
  background: #f8fafb;
  color: #8b98a3;
}
.training-note {
  display: flex;
  gap: 7px;
  background: #fff8ed;
  border: 1px solid #f5e5ca;
  padding: 8px;
  border-radius: 6px;
  margin-top: 10px;
  color: #99733d;
  font-size: 10px;
}
.training-note svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}
.training-note b {
  font-weight: 600;
}
.training-note small {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 3px;
}
.coverage-button {
  width: 100%;
  background: #f7f9fb;
  border: 1px solid #e4e9ee;
  color: #40586a;
  padding: 10px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.coverage-button svg:first-child {
  width: 16px;
  height: 16px;
}
.coverage-button svg:last-child {
  width: 12px;
  height: 12px;
  margin-left: auto;
}
.coverage-button:hover:not(:disabled) {
  border-color: #becbd6;
  background: #eef3f7;
}
.coverage-button:disabled {
  opacity: 0.5;
}
.draw-tools {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.tool {
  flex: 1;
  border: 1px solid #dfe6ed;
  border-radius: 6px;
  padding: 8px 4px;
  background: #fff;
  color: #64798a;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.tool svg {
  width: 14px;
  height: 14px;
}
.tool.active {
  background: #fff1e9;
  border-color: #f4a380;
  color: #b84b21;
}
.tool:hover {
  background: #f5f8fa;
}
.aoi-note {
  font-size: 10px;
  min-height: 16px;
}
.aoi-note.selected {
  color: var(--green);
}
.coordinate-details {
  margin-top: 11px;
  font-size: 10px;
  color: #8695a2;
}
.coordinate-details summary {
  cursor: pointer;
  list-style: inside;
  display: flex;
  justify-content: space-between;
}
.coordinate-details summary:before {
  content: "+";
  margin-right: 5px;
}
.coordinate-details[open] summary:before {
  content: "−";
}
.coordinate-details summary span {
  font-size: 9px;
  margin-left: auto;
  font-family: var(--mono);
}
.bbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.bbox-grid input {
  height: 31px;
  margin-top: 4px;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 7px 0;
  color: #b54f28;
  font-size: 11px;
  text-decoration: none;
}
.text-button:hover {
  text-decoration: underline;
}
.date-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr);
  gap: 6px;
  align-items: end;
}
.date-grid label {
  font-size: 10px;
  min-width: 0;
}
.date-grid input {
  margin-top: 5px;
  font-size: 10px !important;
  padding: 7px 6px !important;
  font-family: var(--mono);
  letter-spacing: -0.5px;
}
.date-separator {
  padding-bottom: 12px;
  color: #afbac3;
  font-size: 9px;
}
.tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task-option {
  border: 1px solid #e1e7ed;
  border-radius: 7px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.task-option:has(input:checked) {
  border-color: #eec1aa;
  background: #fffcf9;
}
.task-option:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}
.task-option input {
  order: 3;
  margin-left: auto;
  accent-color: var(--orange);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.task-symbol {
  height: 27px;
  width: 27px;
  display: grid;
  place-items: center;
  background: #fff0e7;
  color: #e0723e;
  border-radius: 6px;
}
.task-symbol svg {
  width: 17px;
  height: 17px;
}
.task-symbol.bs {
  color: #be8d3a;
  background: #f9f2e3;
}
.task-option b {
  display: block;
  font-size: 11px;
  color: #334c5e;
  font-weight: 600;
}
.task-option small {
  display: block;
  font-size: 9px;
  color: #8a9aa6;
  margin-top: 4px;
}
.model-row {
  margin-top: 14px;
}
.model-row label {
  font-size: 10px;
}
.model-row select {
  margin-top: 5px;
  height: 31px;
  font-size: 10px;
}
.model-row .field-note {
  font-size: 9px;
}
.run-area {
  padding: 15px 20px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 -4px 12px #1d354b04;
}
.run-button {
  width: 100%;
  height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: white;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 8px #ef673620;
  padding: 0 14px;
}
.run-button > svg {
  width: 17px;
  height: 17px;
}
.run-button > svg:last-child {
  margin-left: auto;
}
.run-button > svg:first-child {
  margin-right: auto;
}
.run-button:hover:not(:disabled) {
  background: #d95727;
}
.run-button:disabled {
  background: #e7ebef;
  color: #9aa7b3;
  box-shadow: none;
}
.run-hint {
  font-size: 9px;
  line-height: 1.5;
  color: #8c9aa6;
  margin: 8px 0 0;
  text-align: center;
  min-height: 14px;
}
.map-section {
  position: relative;
  min-width: 0;
  background: #17232c;
  isolation: isolate;
}
.leaflet-container {
  height: 100%;
  width: 100%;
  background: #17232c;
  font-family: var(--sans);
}
.dark-map .leaflet-tile-pane {
  filter: brightness(0.8) invert(1) grayscale(0.8) hue-rotate(180deg)
    brightness(0.75) contrast(0.9);
}
.leaflet-control-attribution {
  font-size: 8px !important;
  background: #182a39e8 !important;
  color: #99a9b4 !important;
  padding: 2px 5px !important;
}
.leaflet-control-attribution a {
  color: #a8bdca !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.leaflet-popup-content {
  font: 12px/1.6 var(--sans);
  color: var(--ink);
  margin: 15px;
}
.leaflet-popup-content .popup-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 5px;
}
.map-topline {
  position: absolute;
  top: 19px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  z-index: 500;
  pointer-events: none;
}
.map-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e5edf2;
  background: #172734ed;
  border: 1px solid #4e657050;
  border-radius: 7px;
  padding: 10px 12px;
  max-width: calc(100% - 112px);
}
.map-live-mark {
  width: 26px;
  height: 26px;
  border: 1px solid #506375;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #a8bfcc;
}
.map-live-mark svg {
  width: 15px;
  height: 15px;
}
.map-title b {
  font-size: 11px;
  font-weight: 600;
}
.map-title small {
  display: block;
  color: #8ca4b4;
  font-size: 9px;
  margin-top: 4px;
  max-width: 230px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.basemap-switch {
  display: flex;
  pointer-events: auto;
  background: #172734ed;
  border: 1px solid #4e657050;
  padding: 3px;
  border-radius: 6px;
  flex-shrink: 0;
}
.basemap-switch button {
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 7px 8px;
  color: #94a8b7;
  font-size: 9px;
}
.basemap-switch button.active {
  background: #3b4c59;
  color: #fff;
}
.map-tools {
  position: absolute;
  right: 18px;
  top: 100px;
  z-index: 500;
  background: #182937ed;
  border: 1px solid #4e657050;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 4px;
}
.map-tool {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 33px;
  border: 0;
  background: transparent;
  color: #b6c7d3;
  font-size: 23px;
  font-weight: 300;
  border-radius: 4px;
}
.map-tool:hover {
  background: #ffffff15;
  color: white;
}
.map-tool svg {
  width: 17px;
  height: 17px;
}
.tool-divider {
  display: block;
  height: 1px;
  background: #ffffff12;
  margin: 4px;
}
.map-onboarding {
  position: absolute;
  z-index: 440;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #d9e4eb;
  text-align: center;
  width: 290px;
  background: #142532eb;
  padding: 26px 20px;
  border: 1px solid #49617450;
  border-radius: 12px;
  pointer-events: none;
}
.map-onboarding h2 {
  font-weight: 500;
  font-size: 17px;
  margin: 18px 0 10px;
}
.map-onboarding p {
  color: #8da4b5;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}
.empty-orbit {
  height: 49px;
  width: 49px;
  border: 1px solid #3f596c;
  outline: 1px solid #2c455a;
  outline-offset: 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 6px auto;
  color: #e78958;
}
.empty-orbit svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.3;
}
.map-bottom {
  position: absolute;
  bottom: 21px;
  left: 18px;
  right: 18px;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  color: #91a9b9;
  font-size: 9px;
}
.coordinate-readout {
  font-family: var(--mono);
  letter-spacing: 0.2px;
  background: #182937ed;
  border: 1px solid #4e657040;
  border-radius: 4px;
  padding: 5px 7px;
}
.map-scale-note {
  background: #182937ed;
  border-radius: 4px;
  padding: 5px 7px;
  max-width: 55%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.draw-message {
  position: absolute;
  top: 90px;
  left: 18px;
  right: 65px;
  z-index: 501;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid #c98345;
  background: #fff6e9;
  color: #8d582c;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.5;
}
.draw-message button {
  border: 0;
  background: #eedcc5;
  color: #704721;
  border-radius: 4px;
  font-size: 10px;
  padding: 5px 7px;
  white-space: nowrap;
}
.draw-message #cancel-draw {
  padding: 1px;
  background: transparent;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.draw-message svg {
  width: 17px;
  height: 17px;
}
.draw-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.map-notice {
  position: absolute;
  bottom: 61px;
  right: 16px;
  left: 16px;
  z-index: 490;
  background: #273b4eed;
  color: #d4dfe7;
  font-size: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  text-align: center;
}
.map-legend {
  position: absolute;
  bottom: 60px;
  left: 18px;
  width: 235px;
  z-index: 495;
  background: #182937f5;
  color: #d8e3eb;
  border: 1px solid #4e657050;
  border-radius: 9px;
  box-shadow: var(--shadow);
  padding: 13px;
}
.legend-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}
.legend-heading svg {
  width: 15px;
  height: 15px;
  color: #91aabc;
}
.legend-heading b {
  font-weight: 550;
}
.legend-heading button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #9bb0bf;
  font-size: 18px;
  line-height: 12px;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #becedb;
  font-size: 10px;
  margin-top: 12px;
  cursor: pointer;
}
.legend-row input {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: var(--orange);
}
.legend-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex-shrink: 0;
}
.legend-dot.fire {
  background: #ff8049;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fd764123;
}
.legend-dot.burn {
  background: #ecb15a;
  border-radius: 1px;
}
.legend-row b {
  margin-left: auto;
  font: 10px var(--mono);
  color: #89a3b6;
}
.severity-keys {
  display: flex;
  gap: 10px;
  margin: 10px 0 0 20px;
  font-size: 8px;
  color: #849eb1;
}
.severity-keys i {
  height: 5px;
  width: 5px;
  display: inline-block;
  margin-right: 4px;
}
.sev-1,
.s1 {
  background: #ebc563;
}
.sev-2,
.s2 {
  background: #ed903f;
}
.sev-3,
.s3 {
  background: #d35143;
}
.opacity-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #8fa7b7;
  border-top: 1px solid #ffffff0d;
  padding-top: 12px;
  margin-top: 12px;
}
.opacity-label output {
  font-family: var(--mono);
}
#layer-opacity {
  width: 100%;
  height: 3px;
  accent-color: #ed905d;
  margin: 11px 0 2px;
  cursor: pointer;
}
.results-scroll {
  padding: 22px 20px;
  flex: 1;
}
.result-header .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}
.result-header h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 0;
}
.result-header > .field-note {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 12px;
}
.status-pill {
  font-size: 8px;
  letter-spacing: 0.6px;
  font-weight: 650;
  border-radius: 4px;
  padding: 5px 7px;
  white-space: nowrap;
}
.neutral {
  background: #eef2f5;
  color: #8999a6;
}
.running {
  background: #fff2df;
  color: #a77636;
}
.success {
  background: #e9f5ef;
  color: #32826b;
}
.failed {
  background: #fbeae6;
  color: #b55248;
}
.scan-visual {
  position: relative;
  height: 108px;
  width: 170px;
  display: grid;
  place-items: center;
  margin: 19px auto 29px;
  isolation: isolate;
  color: #91a5b5;
}
.scan-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#dae3ea80 1px, transparent 1px),
    linear-gradient(90deg, #dae3ea80 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse, #000 10%, transparent 70%);
}
.scan-visual > svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.2;
  transform: rotate(-15deg);
}
.scan-visual > i {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid #d5e0e9;
  border-radius: 50%;
  box-shadow: 0 0 0 12px #e5ebf233;
}
.empty-step {
  display: flex;
  align-items: start;
  gap: 12px;
  margin: 17px 0;
}
.empty-step > span {
  height: 21px;
  width: 21px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #e3e9ee;
  border-radius: 6px;
  font: 9px var(--mono);
  color: #9aabb9;
  margin-top: 1px;
}
.empty-step p {
  font-size: 10px;
  color: #8a9ba8;
  line-height: 1.6;
  margin: 0;
}
.empty-step b {
  display: block;
  color: #50697c;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 2px;
}
.results-footer {
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: flex;
  align-items: start;
  gap: 7px;
  flex-shrink: 0;
  color: #8a9daa;
  font-size: 9px;
  line-height: 1.6;
}
.results-footer svg {
  width: 12px;
  height: 12px;
  margin-top: 1px;
}
.job-progress {
  margin-top: 23px;
  padding: 15px;
  background: #f7f9fb;
  border: 1px solid #e6ecf1;
  border-radius: 8px;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #526c7f;
}
.progress-head b {
  font-weight: 550;
}
#progress-percent {
  font-family: var(--mono);
  color: var(--orange);
}
.progress-track {
  height: 4px;
  background: #e0e7ed;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 13px;
}
.progress-track i {
  display: block;
  height: 100%;
  background: var(--orange);
  transition: width 0.5s;
  width: 0;
}
.job-progress p {
  font-size: 10px;
  line-height: 1.5;
  color: #8194a4;
  margin: 10px 0 0;
}
.progress-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.progress-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8fa1b0;
  font-size: 10px;
}
.progress-steps li:before {
  content: "";
  height: 6px;
  width: 6px;
  border: 1px solid #bdcbd6;
  border-radius: 50%;
}
.progress-steps .active {
  color: #ce682e;
}
.progress-steps .active:before {
  border-color: var(--orange);
  background: var(--orange);
}
.progress-steps .done:before {
  border-color: var(--green);
  background: var(--green);
}
.result-notice {
  padding: 12px;
  margin-top: 17px;
  border: 1px solid #f0dfc2;
  background: #fff9ef;
  color: #92733f;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.65;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 21px;
}
.metrics article {
  min-width: 0;
  padding: 14px 11px;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: linear-gradient(150deg, #fff, #f9fafc);
}
.metric-top {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #899ead;
}
.metric-top svg {
  width: 13px;
  height: 13px;
  color: #d68854;
}
.metric-top small {
  font-size: 9px;
  white-space: nowrap;
  color: #6a8497;
}
.metrics strong {
  display: block;
  font-size: 30px;
  letter-spacing: -1.2px;
  font-weight: 550;
  color: #273f53;
  line-height: 1.1;
  margin: 15px 0 6px;
  overflow-wrap: anywhere;
}
.metrics article:last-child strong {
  color: var(--orange);
}
.metrics article > span {
  color: #8398a7;
  font-size: 9px;
}
.severity-card,
.quality-card,
.downloads {
  padding: 19px 0 0;
  margin-top: 21px;
  border-top: 1px solid var(--line);
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-heading h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}
.card-heading > span {
  font-size: 8px;
  color: #95a6b4;
  font-family: var(--mono);
}
.card-heading > svg {
  width: 14px;
  height: 14px;
  color: #a0b0bd;
}
.severity-stack {
  display: flex;
  gap: 3px;
  border-radius: 3px;
  overflow: hidden;
  height: 7px;
  background: #f0f3f6;
  margin: 16px 0;
}
.severity-stack i {
  height: 100%;
  width: 0;
  transition: width 0.4s;
}
.severity-bars > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: #7990a1;
}
.severity-bars i {
  height: 6px;
  width: 6px;
  border-radius: 1px;
}
.severity-bars b {
  margin-left: auto;
  color: #3f586b;
  font: 11px var(--mono);
}
.severity-card .field-note {
  font-size: 9px;
  margin-top: 14px;
}
.quality-row {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  font-size: 10px;
  color: #6f8799;
}
.quality-row b {
  font: 10px var(--mono);
  color: var(--green);
}
.quality-row small {
  grid-column: 1/-1;
  font-size: 9px;
  color: #849aaa;
  line-height: 1.6;
}
.quality-line {
  grid-column: 1/-1;
  height: 4px;
  background: #edf2f4;
  border-radius: 5px;
  overflow: hidden;
}
.quality-line i {
  height: 100%;
  display: block;
  background: #70ad97;
}
.warnings {
  background: #fff9f0;
  border: 1px solid #f4e9d9;
  border-radius: 7px;
  padding: 12px;
  margin-top: 18px;
  color: #937548;
}
.warnings h3 {
  font-size: 10px;
  font-weight: 600;
  margin: 0;
}
.warnings ul {
  font-size: 10px;
  line-height: 1.7;
  padding-left: 13px;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.download-link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid #e2e9ee;
  border-radius: 6px;
  text-decoration: none;
  color: #526e81;
  font-size: 10px;
}
.download-link:hover {
  background: #f4f8fa;
}
.download-link > svg {
  width: 15px;
  height: 15px;
  color: #9dafbb;
}
.download-link > svg:last-child {
  margin-left: auto;
  width: 12px;
  height: 12px;
}
.download-link small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.3px;
  color: #8199a9;
  margin-top: 3px;
}
.downloads details {
  margin-top: 10px;
  font-size: 10px;
  color: #7892a6;
}
.downloads summary {
  cursor: pointer;
}
.report-button {
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7ee;
  background: #f4f7fa;
  color: #59788f;
  border-radius: 6px;
  padding: 10px;
  font-size: 10px;
  margin-top: 14px;
}
.report-button > svg {
  width: 14px;
  height: 14px;
}
.report-button > svg:last-child {
  margin-left: auto;
}
.report-button:hover {
  background: #eaf0f5;
}
.error-box {
  background: #fff0ee;
  border: 1px solid #f0d0ca;
  padding: 14px;
  border-radius: 8px;
  color: #a35448;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.error-box > b {
  font-weight: 600;
}
.error-box > p {
  margin: 7px 0;
}
.error-box button {
  border: 1px solid #dda69c;
  background: white;
  color: #a35448;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 10px;
}
.app-footer {
  height: 37px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #8c9da9;
  font-size: 8px;
  letter-spacing: 0.3px;
  gap: 10px;
}
.app-footer i {
  font-style: normal;
  color: #c0cbd3;
  margin: 0 7px;
}
.app-footer > span:last-child {
  font-size: 7px;
  letter-spacing: 1px;
}
.token-row {
  padding-top: 15px;
}
.token-row input {
  margin: 6px 0;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #405e74;
  background: #f7f9fb;
  border: 1px solid #d9e2e9;
  border-radius: 7px;
  font-size: 12px;
  padding: 10px 14px;
}
.secondary-button:hover {
  background: #ebf1f5;
}
.secondary-button svg {
  width: 16px;
  height: 16px;
}
.app-dialog {
  border: 1px solid #dce4eb;
  border-radius: 16px;
  color: var(--ink);
  padding: 27px;
  width: min(560px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
  box-shadow: 0 20px 80px #0c1c3b30;
}
.app-dialog::backdrop {
  background: #07132285;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.dialog-heading h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.dialog-heading .icon-button {
  border-color: #dbe3ea;
  color: #7b92a2;
  flex-shrink: 0;
}
.dialog-heading .eyebrow {
  font-size: 8px;
}
.help-list {
  list-style: decimal-leading-zero;
  padding-left: 25px;
  color: var(--orange);
  margin: 20px 0;
}
.help-list li {
  padding-left: 9px;
  margin: 20px 0;
  font-size: 13px;
}
.help-list b {
  font-weight: 600;
  color: #2f4a5e;
}
.help-list p {
  color: #7b91a1;
  font-size: 12px;
  line-height: 1.75;
  margin: 7px 0;
}
.help-note {
  display: flex;
  gap: 10px;
  border: 1px solid #e1e8ee;
  background: #f5f8fa;
  padding: 13px;
  border-radius: 8px;
  color: #718a9f;
}
.help-note p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.help-note svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.history-empty {
  text-align: center;
  padding: 37px 15px;
  color: #8a9eaf;
  font-size: 13px;
}
.history-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  padding: 15px 12px;
  background: white;
  margin-top: 10px;
  color: #3c5a70;
}
.history-item:hover {
  background: #f5f8fa;
}
.history-item > svg {
  color: #9eb0bd;
  width: 17px;
  height: 17px;
}
.history-item > span {
  flex: 1;
  min-width: 0;
}
.history-item b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-item small {
  display: block;
  font-size: 10px;
  color: #8b9eac;
  margin-top: 5px;
}
.history-item:disabled {
  opacity: 0.5;
}
.history-item .status-pill {
  flex: 0;
}
.report-meta {
  padding: 14px;
  background: #f5f8fa;
  border-radius: 8px;
  margin: 16px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.report-meta dt {
  color: #879aa9;
}
.report-meta dd {
  margin: 0;
  color: #3d5a6e;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 20px 0;
}
.report-table th,
.report-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #e4ebf0;
}
.report-table th {
  color: #7f94a4;
  font-weight: 500;
}
.report-table td:last-child {
  text-align: right;
  font-family: var(--mono);
}
.report-limitations {
  font-size: 12px;
  line-height: 1.8;
  color: #7e93a3;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.dialog-actions > * {
  flex: 1;
}
.dialog-actions .run-button {
  font-size: 12px;
  height: 40px;
}
.dialog-actions .run-button > svg {
  margin: 0;
}
.toast {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: #182f42;
  color: #dfeaf2;
  box-shadow: var(--shadow);
  border: 1px solid #466075;
  padding: 12px 19px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
  z-index: 3500;
  max-width: calc(100vw - 30px);
  text-align: center;
}
.mobile-tabs {
  display: none;
}
.draw-cursor {
  cursor: crosshair !important;
}
.light-theme .map-title,
.light-theme .map-tools,
.light-theme .basemap-switch {
  background: #ffffffed;
  border-color: #d6e0e7;
  box-shadow: var(--shadow);
}
.light-theme .map-title b {
  color: #2c4a61;
}
.light-theme .map-title small {
  color: #7791a5;
}
.light-theme .basemap-switch button.active {
  background: #e3ebf1;
  color: #385970;
}
.light-theme .map-tool {
  color: #56778f;
}
.light-theme .map-tool:hover {
  background: #edf2f6;
}
.light-theme .tool-divider {
  background: #e1e9ef;
}
.leaflet-overlay-pane svg {
  width: auto;
  height: auto;
  stroke: none;
}
.leaflet-control-scale-line {
  font: 8px var(--mono);
  background: #182937e6;
  border-color: #627b8b;
  color: #91a8b6;
  box-shadow: none;
}
.leaflet-bottom.leaflet-left {
  left: 15px;
  bottom: 52px;
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 330px minmax(350px, 1fr) 330px;
    margin: 0 28px;
  }
  .workspace-heading {
    height: 100px;
    padding: 0 36px;
  }
  .topbar {
    padding: 0 36px;
  }
  .control-section {
    padding-top: 21px;
    margin-top: 20px;
  }
  .panel-heading {
    height: 67px;
  }
  .controls-scroll {
    padding: 0 24px 18px;
  }
  .results-scroll {
    padding: 24px;
  }
  .run-area {
    padding: 17px 24px 14px;
  }
  .section-label h3,
  .task-option b,
  .coverage-button {
    font-size: 13px;
  }
  .field-note {
    font-size: 12px;
  }
  .task-option small,
  .dataset-meta,
  .aoi-note {
    font-size: 11px;
  }
  .task-option {
    padding: 11px;
  }
  .tool {
    font-size: 11px;
  }
  .date-grid input {
    font-size: 11px !important;
  }
  .model-row select {
    font-size: 12px;
  }
  .model-row label,
  .model-row .field-note {
    font-size: 11px;
  }
  .run-button {
    height: 46px;
    font-size: 14px;
  }
  .run-hint {
    font-size: 10px;
  }
  .metrics strong {
    font-size: 36px;
  }
  .metric-top small,
  .metrics article > span {
    font-size: 11px;
  }
  .card-heading h3 {
    font-size: 14px;
  }
  .severity-bars > div {
    font-size: 13px;
  }
  .severity-bars b,
  .quality-row,
  .download-link,
  .report-button {
    font-size: 12px;
  }
  .quality-row small {
    font-size: 10px;
  }
  .result-header h3 {
    font-size: 25px;
  }
  .empty-step b,
  .result-header .field-note {
    font-size: 12px;
  }
  .empty-step p {
    font-size: 11px;
  }
  .map-title b {
    font-size: 13px;
  }
  .map-title small {
    font-size: 11px;
  }
  .map-legend {
    width: 260px;
  }
  .legend-row,
  .legend-heading {
    font-size: 12px;
  }
  .severity-keys {
    font-size: 10px;
  }
  .opacity-label {
    font-size: 11px;
  }
}
@media (max-width: 1200px) and (min-width: 761px) {
  .workspace {
    grid-template-columns: 270px minmax(240px, 1fr) 264px;
    margin: 0 12px;
  }
  .topbar {
    gap: 30px;
    padding: 0 20px;
  }
  .controls-scroll,
  .results-scroll {
    padding-left: 15px;
    padding-right: 15px;
  }
  .panel-heading {
    padding: 0 15px;
  }
  .run-area {
    padding: 12px 15px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .micro-label {
    display: none;
  }
  .map-topline {
    top: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
  }
  .map-title {
    max-width: 100%;
    width: max-content;
  }
  .map-title small {
    max-width: 170px;
  }
  .map-tools {
    right: 12px;
    top: 125px;
  }
  .draw-message {
    left: 12px;
    top: 115px;
    right: 57px;
    flex-wrap: wrap;
  }
  .map-scale-note {
    display: none;
  }
  .map-legend {
    left: 12px;
    width: 210px;
  }
  .metrics article {
    padding: 12px 8px;
  }
  .metrics strong {
    font-size: 26px;
  }
  .workspace-heading {
    height: 78px;
  }
  .service-status {
    margin-right: 0;
    font-size: 10px;
  }
  .nav-item {
    font-size: 12px;
  }
  .topbar-meta {
    gap: 7px;
  }
  .workspace-heading h1 {
    font-size: 23px;
  }
  .date-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .date-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .date-grid input {
    margin: 0;
  }
  .date-separator {
    display: none;
  }
}
@media (max-width: 980px) and (min-width: 761px) {
  .workspace {
    grid-template-columns: 260px 1fr;
    grid-template-rows: minmax(450px, 1fr) auto;
    overflow: auto;
    gap: 1px;
  }
  .control-panel {
    grid-row: 1/3;
    position: sticky;
    top: 0;
    max-height: 100%;
  }
  .results-panel {
    grid-column: 2;
    max-height: none;
  }
  .results-scroll {
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .result-header {
    grid-column: 1/-1;
  }
  .result-header h3 br {
    display: none;
  }
  .result-empty {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .scan-visual {
    display: none;
  }
  .empty-step {
    margin: 0;
    flex: 1;
    min-width: 130px;
  }
  .results-scroll > #result-content {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .metrics {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .severity-card,
  .quality-card,
  .downloads {
    margin-top: 0;
  }
  .warnings,
  .report-button,
  .job-progress,
  .error-box,
  .result-notice {
    grid-column: 1/-1;
  }
  .topbar {
    gap: 25px;
  }
  .brand {
    font-size: 23px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.8px;
  }
  .main-nav {
    gap: 15px;
  }
  .service-status {
    max-width: 120px;
    white-space: normal;
    line-height: 1.4;
  }
  .heading-note,
  .app-footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 760px) {
  .app-shell {
    height: auto;
    min-height: 100dvh;
  }
  .topbar {
    height: 66px;
    padding: 0 16px;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand-mark {
    height: 35px;
    width: 35px;
    border-radius: 10px;
  }
  .brand-mark svg {
    width: 24px;
    height: 24px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.8px;
  }
  .main-nav {
    margin-left: auto;
    gap: 0;
  }
  .nav-item {
    font-size: 0;
    padding: 0 8px;
  }
  .nav-item svg {
    width: 20px;
    height: 20px;
  }
  .nav-item.current {
    display: none;
  }
  .nav-count {
    font-size: 8px;
    position: absolute;
    top: 14px;
    right: 1px;
  }
  .topbar-meta {
    margin-left: 0;
    gap: 7px;
  }
  .service-status,
  .heading-note {
    display: none;
  }
  .icon-button {
    height: 30px;
    width: 30px;
  }
  .workspace-heading {
    height: 83px;
    padding: 0 20px;
  }
  .workspace-heading .eyebrow {
    font-size: 8px;
  }
  .workspace-heading h1 {
    font-size: 23px;
  }
  .mobile-tabs {
    display: flex;
    margin: 0 12px 10px;
    background: #e7edf2;
    padding: 4px;
    border-radius: 9px;
    gap: 4px;
  }
  .mobile-tabs button {
    flex: 1;
    padding: 9px 6px;
    background: none;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    color: #7d919f;
  }
  .mobile-tabs button.active {
    background: #fff;
    color: #2c4c62;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    margin: 0 12px;
    min-height: calc(100dvh - 240px);
    flex: none;
  }
  .workspace > aside,
  .workspace > .map-section {
    display: none;
  }
  .workspace > #parameters.mobile-active,
  .workspace > #results-panel.mobile-active {
    display: flex;
  }
  .workspace > #map-section.mobile-active {
    display: block;
    height: calc(100dvh - 240px);
    min-height: 440px;
  }
  .panel-heading {
    height: 56px;
    padding: 0 20px;
  }
  .controls-scroll {
    overflow: visible;
    padding: 0 20px 22px;
  }
  .control-section {
    margin-top: 21px;
    padding-top: 22px;
  }
  .section-label h3 {
    font-size: 14px;
  }
  .section-label > span {
    font-size: 11px;
  }
  input:not([type="checkbox"], [type="range"]),
  select {
    height: 43px;
    font-size: 14px;
  }
  .dataset-meta {
    font-size: 12px;
  }
  .dataset-meta span:last-child {
    font-size: 10px;
  }
  .field-note,
  .aoi-note {
    font-size: 12px;
  }
  .coverage-button {
    font-size: 13px;
    padding: 12px;
  }
  .tool {
    font-size: 12px;
    padding: 11px;
  }
  .coordinate-details {
    font-size: 12px;
  }
  .date-grid input {
    font-size: 12px !important;
    padding: 8px !important;
  }
  .date-grid label {
    font-size: 12px;
  }
  .task-option {
    padding: 12px;
  }
  .task-option b {
    font-size: 13px;
  }
  .task-option small {
    font-size: 11px;
  }
  .task-option input {
    width: 17px;
    height: 17px;
  }
  .model-row label {
    font-size: 12px;
  }
  .model-row select {
    height: 39px;
    font-size: 13px;
  }
  .model-row .field-note {
    font-size: 11px;
  }
  .run-area {
    padding: 17px 20px;
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #fffffffa;
  }
  .run-button {
    height: 46px;
    font-size: 14px;
  }
  .run-hint {
    font-size: 11px;
  }
  .training-note {
    font-size: 12px;
    padding: 10px;
  }
  .training-note small {
    font-size: 11px;
  }
  .map-topline {
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .map-title {
    padding: 8px;
    gap: 7px;
    max-width: calc(100% - 109px);
  }
  .map-title small {
    max-width: 140px;
    font-size: 9px;
  }
  .map-title b {
    font-size: 11px;
  }
  .map-live-mark {
    display: none;
  }
  .basemap-switch button {
    font-size: 9px;
    padding: 7px 6px;
  }
  .map-tools {
    right: 12px;
    top: 82px;
  }
  .map-bottom {
    left: 12px;
    right: 12px;
    bottom: 23px;
  }
  .map-scale-note {
    display: none;
  }
  .map-legend {
    left: 12px;
    bottom: 62px;
    width: 222px;
  }
  .draw-message {
    left: 12px;
    right: 55px;
    top: 80px;
    flex-wrap: wrap;
  }
  .map-onboarding {
    max-width: 80%;
    padding: 23px 12px;
  }
  .results-scroll {
    overflow: visible;
    padding: 24px 20px;
  }
  .result-header h3 {
    font-size: 26px;
  }
  .result-header > .field-note {
    font-size: 13px;
  }
  .empty-step {
    margin: 23px 0;
  }
  .empty-step b {
    font-size: 13px;
  }
  .empty-step p {
    font-size: 12px;
  }
  .metric-top small,
  .metrics article > span {
    font-size: 11px;
  }
  .metrics strong {
    font-size: 36px;
  }
  .card-heading h3 {
    font-size: 14px;
  }
  .severity-bars > div,
  .severity-bars b {
    font-size: 13px;
  }
  .quality-row {
    font-size: 12px;
  }
  .quality-row small,
  .severity-card .field-note {
    font-size: 11px;
  }
  .download-link {
    font-size: 13px;
    padding: 12px;
  }
  .download-link small {
    font-size: 10px;
  }
  .report-button {
    font-size: 12px;
    padding: 12px;
  }
  .warnings h3,
  .warnings ul {
    font-size: 12px;
  }
  .results-footer {
    font-size: 11px;
  }
  .app-footer {
    font-size: 8px;
    height: 42px;
    padding: 0 18px;
  }
  .app-footer > span:nth-child(n + 2) {
    display: none;
  }
  .app-dialog {
    padding: 22px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .dialog-actions > * {
    flex: none;
  }
  .report-meta {
    grid-template-columns: 80px 1fr;
    font-size: 11px;
  }
  .report-table {
    font-size: 11px;
  }
  .result-notice {
    font-size: 12px;
  }
  .error-box {
    font-size: 13px;
  }
  .error-box button {
    font-size: 12px;
  }
  .progress-head,
  .progress-steps li,
  .job-progress p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.preset-row {
  margin-top: 12px;
}
.preset-row label {
  font-size: 10px;
  color: #708797;
}
.preset-row select {
  margin-top: 6px;
  font-size: 11px;
}
/* Keep regular controls readable on projection screens and laptop displays. */
.section-label h3,
.task-option b {
  font-size: 13px;
}
.field-note {
  font-size: 12px;
}
.tool,
.coverage-button {
  font-size: 12px;
}
.task-option small {
  font-size: 10px;
}
.model-row label,
.model-row .field-note {
  font-size: 11px;
}
.dataset-meta,
.aoi-note,
.coordinate-details,
.preset-row label {
  font-size: 11px;
}
.preset-row select,
.model-row select {
  font-size: 12px;
}
.date-grid input {
  font-size: 11px !important;
}
.date-grid label {
  font-size: 11px;
}
.run-hint {
  font-size: 10px;
}
.run-button {
  font-size: 13px;
}
.result-header > .field-note {
  font-size: 12px;
}
.empty-step p {
  font-size: 11px;
}
.empty-step b {
  font-size: 12px;
}
.card-heading h3 {
  font-size: 13px;
}
.metric-top small,
.metrics article > span {
  font-size: 11px;
}
.quality-row,
.download-link,
.severity-bars > div,
.report-button {
  font-size: 12px;
}
.quality-row small,
.severity-card .field-note,
.warnings ul,
.warnings h3 {
  font-size: 11px;
}
.map-title b {
  font-size: 12px;
}
.map-title small {
  font-size: 10px;
}
.training-note {
  font-size: 11px;
}
.training-note small {
  font-size: 10px;
}
.dark-map .leaflet-tile-pane {
  filter: grayscale(1) invert(1) contrast(0.9) sepia(0.3) hue-rotate(165deg)
    saturate(1.3) brightness(0.75);
}
@media print {
  body {
    background: white;
  }
  .app-shell,
  .app-dialog:not(#report-dialog),
  .toast {
    display: none !important;
  }
  #report-dialog {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 15px;
    overflow: visible;
  }
  .report-dialog .icon-button,
  .dialog-actions {
    display: none;
  }
  .app-dialog::backdrop {
    display: none;
  }
  .report-table tr {
    break-inside: avoid;
  }
}
.metrics.single-metric {
  grid-template-columns: 1fr;
}
.metrics.single-metric article {
  padding: 14px 16px;
}
.metrics.single-metric strong {
  font-size: 40px;
}
