@font-face {
  font-family: "Noto Sans";
  src: url("/vendor/fonts/NotoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/vendor/fonts/NotoSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #141414;
  --background: #eef6f5;
  --primary: #5f95f2;
  --secondary: #ed9e50;
  --accent: #0a22c4;
  --ink: var(--text);
  --ink-soft: #56605f;
  --paper: var(--background);
  --white: #ffffff;
  --border: #cfdddc;
  --border-strong: #aebfbd;
  --green: var(--primary);
  --green-soft: #e6effe;
  --blue: var(--accent);
  --blue-soft: #e4e7ff;
  --amber: var(--secondary);
  --amber-soft: #fcebd9;
  --red: #b83b32;
  --red-soft: #fbe8e5;
  --shadow: 0 14px 36px rgba(14, 25, 19, 0.16);
  --topbar-height: 58px;
  --rail-width: 326px;
  --workspace-width: 470px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--background);
  font-family: "Noto Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(10, 34, 196, 0.38);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.app { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
#map { position: absolute; inset: 0; background: #c9d0cb; }
.maplibregl-canvas { outline: none; }
.maplibregl-canvas:focus-visible { outline: 3px solid rgba(10, 34, 196, 0.72); outline-offset: -3px; }
.maplibregl-ctrl-top-right { top: 114px; right: 12px; }
.maplibregl-ctrl-group { border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; }
.maplibregl-popup-content { border-radius: 6px; padding: 10px 12px; box-shadow: var(--shadow); }
.map-popup { min-width: 180px; }
.map-popup strong, .map-popup span, .map-popup small { display: block; }
.map-popup strong { font-size: 13px; }
.map-popup span { margin-top: 3px; color: var(--ink-soft); }
.map-popup small { margin-top: 8px; color: #6c7870; }

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: rgba(238, 246, 245, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(14, 25, 19, 0.1);
}
.brand {
  width: var(--rail-width);
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 2px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--secondary);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 15px; letter-spacing: 0.11em; }
.brand small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; letter-spacing: 0.16em; }
.scenario-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  line-height: 1;
}
.scenario-state > span:last-child { display: grid; }
.scenario-state strong { font-size: 10px; color: var(--blue); }
.scenario-state small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 103, 177, 0.14);
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  background: #e8ece7;
  border: 1px solid #d6dcd5;
  border-radius: 6px;
}
.segmented button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
.segmented button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(14, 25, 19, 0.12);
}
.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}
.icon-button:hover { border-color: var(--border-strong); background: #f2f4f1; }
.icon-button svg { width: 18px; height: 18px; }
.icon-button.small { width: 30px; height: 30px; }
.topbar-profile {
  min-width: 194px;
  height: 40px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 4px 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  text-align: left;
}
.topbar-profile:hover, .app[data-profile-open="true"] .topbar-profile { border-color: #a9c7b1; background: #f0f7f2; }
.topbar-profile-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--green); color: var(--ink); font-size: 10px; font-weight: 800; }
.topbar-profile-avatar svg { width: 16px; height: 16px; }
.topbar-profile-copy { min-width: 0; display: grid; line-height: 1.15; }
.topbar-profile-copy strong, .topbar-profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-profile-copy strong { font-size: 11px; }
.topbar-profile-copy small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.topbar-profile-chevron { width: 15px; height: 15px; color: var(--ink-soft); }
.fallback-icon { display: none; font-weight: 750; font-size: 12px; }
.icons-unavailable [data-lucide] { display: none; }
.icons-unavailable .fallback-icon { display: block; }
.button-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--paper);
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-size: 9px;
  font-weight: 750;
}

.metric-strip {
  position: absolute;
  z-index: 12;
  top: calc(var(--topbar-height) + 12px);
  left: calc(var(--rail-width) + 16px);
  display: grid;
  grid-auto-flow: column;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(14, 25, 19, 0.12);
  overflow: hidden;
}
.metric-strip > div {
  min-width: 88px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-right: 1px solid var(--border);
}
.metric-strip > div:last-child { border-right: 0; }
.metric-strip span { color: var(--ink-soft); font-size: 10px; }
.metric-strip strong { font-size: 16px; }
.metric-strip .metric-alert strong { color: var(--red); }

.operations-rail {
  position: absolute;
  z-index: 15;
  left: 0;
  top: var(--topbar-height);
  bottom: 0;
  width: var(--rail-width);
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  background: rgba(247, 248, 244, 0.97);
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 18px rgba(14, 25, 19, 0.12);
  transition: transform 220ms ease;
}
.rail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 16px 12px;
}
.eyebrow { margin: 0 0 4px; color: #718077; font-size: 9px; font-weight: 750; letter-spacing: 0.14em; }
.rail-head h1, .dialog-head h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.data-badge {
  padding: 4px 6px;
  border: 1px solid #b7cae0;
  border-radius: 4px;
  background: var(--blue-soft);
  color: #20588f;
  font-size: 9px;
  font-weight: 750;
}
.search-box {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 10px;
  padding: 0 9px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--white);
}
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 103, 177, 0.12); }
.search-box svg { width: 16px; height: 16px; color: #68766d; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-box kbd { padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; color: #758179; background: #f2f4f1; font-size: 10px; }
.rail-tabs { margin: 0 12px 10px; }
.rail-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rail-tabs span { color: #718077; font-size: 10px; }
.active-filters { display: none; gap: 6px; padding: 0 12px 10px; overflow-x: auto; }
.active-filters.has-filters { display: flex; }
.filter-chip {
  white-space: nowrap;
  padding: 4px 7px;
  border: 1px solid #bdd0e3;
  border-radius: 4px;
  background: var(--blue-soft);
  color: #244e76;
  font-size: 10px;
}
.rail-list { min-height: 0; overflow-y: auto; border-top: 1px solid var(--border); }
.list-section-label {
  position: sticky;
  z-index: 1;
  top: 0;
  margin: 0;
  padding: 9px 12px;
  background: rgba(240, 243, 239, 0.97);
  border-bottom: 1px solid var(--border);
  color: #6f7c74;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.site-row, .team-row {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid #e0e4df;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.site-row:hover, .team-row:hover, .site-row.is-selected { background: rgba(31, 103, 177, 0.06); }
.site-row.is-selected { box-shadow: inset 3px 0 0 var(--blue); }
.row-primary { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8a9690; }
.status-dot.active, .legend-dot.active { background: var(--green); }
.status-dot.attention, .legend-dot.attention { background: var(--red); }
.status-dot.scheduled, .legend-dot.scheduled { background: var(--amber); }
.status-dot.working { background: var(--green); }
.status-dot.en_route { background: var(--blue); }
.status-dot.weather_hold { background: var(--amber); }
.row-primary strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.row-status { color: var(--ink-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.row-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-left: 18px; color: var(--ink-soft); font-size: 10px; }
.row-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-line { height: 4px; margin-left: 18px; border-radius: 2px; background: #dfe4df; overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--green); }
.alert-count { display: inline-flex; align-items: center; gap: 3px; color: var(--red); font-weight: 750; }
.alert-count svg { width: 12px; height: 12px; }
.rail-footer { border-top: 1px solid var(--border); padding: 8px; }
.rail-footer button {
  width: 100%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.rail-footer button:hover { background: #edf0ec; }
.rail-footer button > svg { width: 15px; height: 15px; color: #718077; }
.integration-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: var(--blue-soft); }
.integration-icon svg { width: 16px; height: 16px; }
.rail-footer strong, .rail-footer small { display: block; }
.rail-footer strong { font-size: 11px; }
.rail-footer small { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
.loading-state { padding: 18px 14px; display: grid; gap: 8px; }
.loading-line { height: 10px; border-radius: 4px; background: #e2e6e1; }
.loading-line.short { width: 62%; }
.empty-state { padding: 28px 18px; text-align: center; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.site-workspace {
  position: absolute;
  z-index: 16;
  right: 0;
  top: var(--topbar-height);
  bottom: 0;
  width: var(--workspace-width);
  background: rgba(250, 251, 248, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 26px rgba(14, 25, 19, 0.16);
  overflow: hidden;
  transform: translateX(102%);
  transition: transform 240ms ease;
}
.app[data-workspace="open"] .site-workspace { transform: translateX(0); }
#workspaceContent, .workspace-shell { height: 100%; min-height: 0; }
.workspace-shell { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); }
.workspace-head {
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.workspace-head-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.workspace-head h2 { margin: 2px 0 3px; font-size: 19px; line-height: 1.2; }
.workspace-head p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.workspace-kicker { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 750; color: var(--green); text-transform: uppercase; }
.workspace-actions { display: flex; gap: 6px; }
.workspace-progress { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 12px; }
.workspace-progress > span { font-size: 10px; color: var(--ink-soft); }
.workspace-progress strong { font-size: 13px; }
.workspace-progress .progress-line { margin: 0; height: 6px; }
.workspace-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 8px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.workspace-tabs button {
  min-width: 0;
  height: 44px;
  padding: 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.workspace-tabs button.is-active { border-color: var(--blue); color: var(--ink); }
.workspace-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.workspace-section { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.workspace-section:last-child { border-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.section-heading h3 { margin: 0; font-size: 12px; line-height: 1.25; }
.section-heading span, .section-heading button { font-size: 9px; color: var(--ink-soft); }
.section-heading button { border: 0; padding: 3px; background: transparent; cursor: pointer; text-decoration: underline; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.stat-grid > div { min-width: 0; padding: 10px; border-right: 1px solid var(--border); background: var(--white); }
.stat-grid > div:last-child { border-right: 0; }
.stat-grid span, .stat-grid strong { display: block; }
.stat-grid span { color: var(--ink-soft); font-size: 9px; }
.stat-grid strong { margin-top: 5px; font-size: 16px; }
.variance-negative { color: var(--red); }
.record-list { display: grid; }
.record-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 9px 0; border-bottom: 1px solid #e6e9e5; }
.record-row:last-child { border-bottom: 0; }
.record-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 5px; background: #edf0ec; color: var(--ink-soft); }
.record-icon svg { width: 13px; height: 13px; }
.record-icon.high { color: var(--red); background: var(--red-soft); }
.record-icon.medium { color: var(--amber); background: var(--amber-soft); }
.record-icon.info { color: var(--blue); background: var(--blue-soft); }
.record-copy { min-width: 0; }
.record-copy strong, .record-copy span, .record-copy small { display: block; }
.record-copy strong { font-size: 11px; line-height: 1.35; }
.record-copy span { margin-top: 3px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.record-copy small { margin-top: 4px; color: #7a867e; font-size: 9px; }
.record-aside { text-align: right; color: var(--ink-soft); font-size: 9px; }
.status-label { display: inline-block; padding: 3px 5px; border-radius: 4px; font-size: 8px; font-weight: 750; text-transform: uppercase; }
.status-label.high, .status-label.action_required { color: #8a2721; background: var(--red-soft); }
.status-label.medium, .status-label.review_required { color: #825008; background: var(--amber-soft); }
.status-label.confirmed, .status-label.available_in_use { color: #1f6743; background: var(--green-soft); }
.status-label.synthetic, .status-label.unreviewed_estimate { color: #20588f; background: var(--blue-soft); }
.access-band { padding: 11px; border-left: 3px solid var(--blue); background: var(--blue-soft); font-size: 11px; line-height: 1.5; }
.access-band strong { display: block; margin-bottom: 3px; }
.comparison { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--white); }
.comparison > div { padding: 10px; }
.comparison > div + div { border-left: 1px solid var(--border); }
.comparison span, .comparison strong, .comparison small { display: block; }
.comparison span { color: var(--ink-soft); font-size: 9px; }
.comparison strong { margin-top: 4px; font-size: 15px; }
.comparison small { margin-top: 3px; color: #6c7870; font-size: 9px; line-height: 1.4; }
.cause-bars { display: grid; gap: 8px; margin-top: 10px; }
.cause-row { display: grid; grid-template-columns: 94px minmax(0, 1fr) 46px; align-items: center; gap: 8px; font-size: 9px; }
.cause-track { height: 6px; background: #e0e4df; border-radius: 3px; overflow: hidden; }
.cause-track span { display: block; height: 100%; background: var(--amber); }
.cause-row em { color: var(--ink-soft); text-align: right; font-style: normal; }
.timeline-day { padding: 8px 16px; border-bottom: 1px solid var(--border); background: #eef1ed; color: #647169; font-size: 9px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.timeline-list { padding: 2px 16px 14px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 54px 10px minmax(0, 1fr); gap: 9px; padding: 12px 0; }
.timeline-item::after { content: ""; position: absolute; left: 68px; top: 24px; bottom: -12px; width: 1px; background: var(--border); }
.timeline-item:last-child::after { display: none; }
.timeline-time { color: var(--ink-soft); font-size: 9px; }
.timeline-marker { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 1px; border: 2px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.timeline-marker.high { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.timeline-marker.medium { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.timeline-copy strong, .timeline-copy span { display: block; }
.timeline-copy strong { font-size: 11px; }
.timeline-copy span { margin-top: 4px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.briefing-header { padding: 14px 16px; background: var(--ink); color: var(--white); }
.briefing-header p, .briefing-header h3 { margin: 0; }
.briefing-header p { color: #b9c7be; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; }
.briefing-header h3 { margin-top: 5px; font-size: 17px; }
.briefing-section { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.briefing-section h4 { margin: 0 0 8px; font-size: 11px; }
.briefing-item { position: relative; margin: 0 0 8px; padding-left: 13px; color: #334039; font-size: 10px; line-height: 1.52; }
.briefing-item:last-child { margin-bottom: 0; }
.briefing-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.citation-button { padding: 0 2px; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 8px; font-weight: 750; vertical-align: super; }
.source-list { display: grid; gap: 6px; }
.source-link { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px; border: 1px solid var(--border); border-radius: 5px; background: var(--white); color: inherit; text-decoration: none; }
.source-link { text-align: left; }
.source-link:hover { border-color: #aac0d7; }
.source-number { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; color: var(--blue); background: var(--blue-soft); font-size: 9px; font-weight: 750; }
.source-link strong, .source-link small { display: block; min-width: 0; }
.source-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.source-link small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.source-link > svg { width: 13px; height: 13px; color: #76827a; }
.ask-panel { padding: 14px 16px; }
.ask-intro { margin: 0 0 12px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.suggested-questions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.suggested-questions button { padding: 6px 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--white); cursor: pointer; font-size: 9px; text-align: left; }
.suggested-questions button:hover { border-color: #9eb8d2; color: #164f87; }
.ask-form { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 7px; }
.ask-form input { min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--white); font-size: 11px; }
.answer-box { margin-top: 14px; padding: 12px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.answer-box.is-abstention { border-color: var(--amber); background: var(--amber-soft); }
.answer-box strong { display: block; margin-bottom: 6px; font-size: 10px; }
.answer-box p { margin: 0; font-size: 11px; line-height: 1.55; }
.answer-sources { margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(31, 103, 177, 0.2); }
.answer-sources small { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 8px; font-weight: 750; }
.field-summary { padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--green-soft); }
.field-summary strong, .field-summary span { display: block; }
.field-summary strong { font-size: 13px; }
.field-summary span { margin-top: 4px; color: #345844; font-size: 10px; }
.quick-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.quick-event {
  min-height: 72px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}
.quick-event:hover { border-color: #a7bcb0; background: #f2f6f3; }
.quick-event svg { width: 19px; height: 19px; color: var(--ink-soft); }

.field-workspace-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--paper);
}
.field-home-shell, .field-loading-shell { grid-template-rows: auto minmax(0, 1fr); background: var(--background); }
.field-home-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
}
.field-home-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.field-home-brand > svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--green-soft); color: var(--green); }
.field-home-brand span, .field-home-brand strong, .field-home-brand small { display: block; }
.field-home-brand small { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.field-home-brand strong { margin-top: 1px; font-size: 17px; }
.field-home-state { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.field-home-actions { display: flex; align-items: center; gap: 10px; }
.field-home-actions > button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--green); color: var(--ink); cursor: pointer; }
.field-home-actions > button.is-profile { background: #edf1ed; color: var(--ink); }
.field-home-actions > button svg { width: 20px; height: 20px; }
.field-home-body { background: var(--background); }
.field-home-intro { padding: 24px 18px 18px; border-bottom: 1px solid var(--border); background: white; }
.field-home-intro h1 { margin: 4px 0 7px; font-size: 24px; line-height: 1.16; letter-spacing: -0.02em; }
.field-home-intro > p:last-child { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.field-site-group { padding-top: 14px; border-bottom: 1px solid var(--border); background: white; }
.field-site-group h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0 18px 9px; color: var(--ink-soft); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; }
.field-site-group h2 span { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 11px; background: #eef1ed; color: var(--ink); font-size: 9px; letter-spacing: 0; }
.field-site-row {
  position: relative;
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "status aside" "copy aside" "progress progress";
  gap: 7px 12px;
  align-items: start;
  padding: 14px 18px 12px;
  border: 0;
  border-top: 1px solid #e5e9e4;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.field-site-row:active { background: #f0f5f1; }
.field-site-status { grid-area: status; min-width: 0; display: flex; align-items: center; gap: 7px; }
.field-site-status strong { color: var(--green); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.field-site-row.is-attention .field-site-status strong { color: #8a5507; }
.field-site-row.is-scheduled .field-site-status strong { color: var(--blue); }
.field-site-status small { overflow: hidden; color: var(--ink-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.field-site-copy { grid-area: copy; min-width: 0; }
.field-site-copy strong, .field-site-copy span, .field-site-copy small { display: block; }
.field-site-copy strong { font-size: 15px; line-height: 1.25; }
.field-site-copy span { overflow: hidden; margin-top: 4px; color: #37433c; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.field-site-copy small { overflow: hidden; margin-top: 5px; color: var(--ink-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.field-site-aside { grid-area: aside; align-self: center; display: grid; grid-template-columns: auto 18px; gap: 5px; align-items: center; color: var(--ink-soft); text-align: right; }
.field-site-aside > strong { color: var(--ink); font-size: 14px; }
.field-site-aside > small { grid-column: 1; display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; color: var(--red); font-size: 9px; font-weight: 800; }
.field-site-aside > small svg { width: 12px; height: 12px; }
.field-site-aside > svg { grid-column: 2; grid-row: 1 / 3; width: 18px; height: 18px; }
.field-site-progress { grid-area: progress; height: 4px; overflow: hidden; border-radius: 2px; background: #e3e8e3; }
.field-site-progress span { display: block; height: 100%; background: var(--green); }
.field-site-row.is-attention .field-site-progress span { background: var(--amber); }
.field-site-row.is-scheduled .field-site-progress span { background: var(--blue); }
.field-home-boundary { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; padding: 16px 18px 28px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.field-home-boundary > svg { width: 18px; height: 18px; }
.field-home-boundary strong { display: block; color: var(--ink); font-size: 10px; }
.field-home-notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #ecd39f; background: var(--amber-soft); color: #754c0c; font-size: 10px; line-height: 1.4; }
.field-home-notice > svg { width: 18px; height: 18px; }
.field-home-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 24px; color: var(--ink-soft); text-align: center; }
.field-home-empty > svg { width: 30px; height: 30px; }
.field-home-empty strong { color: var(--ink); font-size: 15px; }
.field-home-empty span { font-size: 11px; }
.field-home-empty .button { min-height: 48px; margin-top: 8px; }
.field-home-empty .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.field-empty-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.field-empty-icon svg { width: 28px; height: 28px; }
.field-text-action { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--green); font-weight: 750; cursor: pointer; }
.field-home-loading { display: grid; gap: 10px; padding: 20px 18px; }
.field-home-loading .loading-card { height: 112px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(100deg, #edf0ec 20%, #f7f8f5 42%, #edf0ec 64%); background-size: 220% 100%; animation: loading-shimmer 1.5s ease-in-out infinite; }
@keyframes loading-shimmer { to { background-position-x: -220%; } }
.field-app-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
}
.field-head-back {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef1ed;
  cursor: pointer;
}
.field-head-back svg { width: 20px; height: 20px; }
.field-head-copy { min-width: 0; flex: 1; }
.field-head-copy span, .field-head-copy h2 { display: block; }
.field-head-copy span { color: var(--ink-soft); font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.field-head-copy h2 { overflow: hidden; margin: 2px 0 0; font-size: 17px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.field-save-state {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 8px auto;
  align-items: center;
  column-gap: 6px;
  text-align: right;
}
.field-save-state .status-dot { width: 8px; height: 8px; }
.field-save-state span { font-size: 10px; font-weight: 750; }
.field-save-state small { grid-column: 1 / -1; margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.field-profile-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf1ed;
  cursor: pointer;
}
.field-profile-button svg { width: 19px; height: 19px; }
.field-workspace-body { position: relative; background: var(--background); }
.field-bottom-nav {
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 8px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 18px rgba(14, 25, 19, 0.08);
}
.field-bottom-nav button {
  min-width: 0;
  min-height: 54px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 4px 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #68766e;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.field-bottom-nav button.is-active { background: var(--green-soft); color: #185d3b; }
.field-nav-icon { position: relative; display: grid; place-items: center; }
.field-nav-icon svg { width: 20px; height: 20px; }
.field-task-hero { padding: 20px 18px 18px; border-bottom: 1px solid var(--border); background: white; }
.field-task-hero .eyebrow, .field-photo-intro .eyebrow, .field-screen-intro .eyebrow { color: var(--green); font-size: 9px; }
.field-task-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.field-task-title h1 { margin: 3px 0 0; font-size: 22px; line-height: 1.18; letter-spacing: -0.025em; }
.field-task-title > strong { font-size: 18px; color: var(--green); }
.field-task-progress { height: 7px; margin-top: 14px; overflow: hidden; border-radius: 4px; background: #dde4de; }
.field-task-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.field-task-meta { margin: 8px 0 0; color: var(--ink-soft); font-size: 11px; }
.field-weather { border-bottom: 1px solid var(--border); background: #f5f8fa; }
.field-weather > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid #dfe6e8; }
.field-weather > header > span { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; align-items: center; }
.field-weather > header > span > svg { grid-row: 1 / 3; width: 20px; height: 20px; color: var(--blue); }
.field-weather > header strong, .field-weather > header small { display: block; }
.field-weather > header strong { font-size: 12px; }
.field-weather > header small { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
.field-weather > header button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; padding: 0 11px; border: 1px solid #b9cbd4; border-radius: 8px; background: white; color: #18547d; font: inherit; font-size: 10px; font-weight: 750; cursor: pointer; }
.field-weather > header button:disabled { opacity: 0.6; cursor: wait; }
.field-weather > header button svg { width: 15px; height: 15px; }
.weather-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: white; }
.field-weather .weather-summary-grid { margin: 14px 18px; }
.weather-summary-grid > span { min-width: 0; padding: 10px; border-right: 1px solid var(--border); }
.weather-summary-grid > span:last-child { border-right: 0; }
.weather-summary-grid small, .weather-summary-grid strong, .weather-summary-grid em { display: block; min-width: 0; }
.weather-summary-grid small { color: var(--ink-soft); font-size: 8px; line-height: 1.3; }
.weather-summary-grid strong { margin-top: 5px; font-size: 15px; line-height: 1.15; }
.weather-summary-grid em { margin-top: 4px; overflow: hidden; color: var(--ink-soft); font-size: 8px; font-style: normal; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.weather-days { border-top: 1px solid #dfe6e8; background: white; }
.weather-days > summary { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 18px; list-style: none; color: var(--ink); font-size: 10px; font-weight: 750; cursor: pointer; }
.weather-days > summary::-webkit-details-marker { display: none; }
.weather-days > summary span { min-width: 0; flex: 1; overflow: hidden; color: var(--ink-soft); font-size: 8px; font-weight: 500; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.weather-days > summary svg { width: 15px; height: 15px; color: var(--ink-soft); transition: transform 160ms ease; }
.weather-days[open] > summary svg { transform: rotate(180deg); }
.weather-days > div { border-top: 1px solid #edf0ec; }
.weather-day-row { display: grid; grid-template-columns: minmax(92px, 1.35fr) repeat(3, minmax(54px, 0.8fr)); gap: 7px; align-items: center; padding: 9px 18px; border-bottom: 1px solid #edf0ec; }
.weather-day-row:last-child { border-bottom: 0; }
.weather-day-row span { min-width: 0; }
.weather-day-row strong, .weather-day-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weather-day-row strong { font-size: 9px; }
.weather-day-row small { margin-top: 2px; color: var(--ink-soft); font-size: 7px; }
.weather-empty { min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: white; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.weather-empty > svg { width: 24px; height: 24px; color: var(--blue); }
.weather-empty span, .weather-empty strong { display: block; }
.weather-empty strong { margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.weather-error { display: flex; align-items: flex-start; gap: 8px; padding: 10px 18px; border-bottom: 1px solid #ead4b5; background: #fff7e9; color: #81500d; font-size: 9px; line-height: 1.4; }
.weather-error svg { flex: 0 0 auto; width: 15px; height: 15px; }
.field-weather > footer, .visit-weather-section > footer { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 10px 18px; border-top: 1px solid #dfe6e8; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.field-weather > footer button, .visit-weather-section > footer button { border: 0; padding: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
.field-weather > footer span:last-child, .visit-weather-section > footer span:last-child { flex: 1 1 220px; }
.visit-weather-section .weather-summary-grid { margin-bottom: 10px; }
.visit-weather-section .weather-days { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.visit-weather-section > footer { margin: 10px -16px -14px; }
.field-next-action { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e2e6e1; }
.field-next-action > span { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: 0.11em; }
.field-next-action > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 5px 0 12px; }
.field-next-action > div strong { font-size: 15px; }
.field-next-action > div small { color: var(--ink-soft); font-size: 10px; }
.field-next-action.is-blocked > span { color: #8a5507; }
.field-next-action.is-blocked .field-primary-action { border-color: #c8a15f; background: #fff8e9; color: #70470b; }
.field-primary-action { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.field-primary-action svg { width: 19px; height: 19px; }
.field-safety-band { padding: 16px 18px; border-bottom: 1px solid var(--border); background: #fffdf8; }
.field-safety-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.field-safety-heading > span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 750; }
.field-safety-heading svg { width: 16px; height: 16px; color: var(--green); }
.field-safety-heading small { color: var(--ink-soft); font-size: 9px; }
.field-critical-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid #ece7d9; }
.field-critical-item > svg { width: 20px; height: 20px; color: var(--red); }
.field-critical-item.is-unknown > svg { color: var(--amber); }
.field-critical-item span, .field-critical-item strong { display: block; }
.field-critical-item strong { margin-bottom: 3px; font-size: 12px; }
.field-critical-item span { color: #4c514c; font-size: 11px; line-height: 1.45; }
.field-access-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-top: 11px; border-top: 1px solid #ece7d9; }
.field-access-row > span, .field-access-row strong { display: block; }
.field-access-row > span { color: var(--ink-soft); font-size: 11px; line-height: 1.42; }
.field-access-row strong { margin-bottom: 2px; color: var(--ink); font-size: 12px; }
.field-access-row a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 8px; background: var(--blue-soft); color: #174e84; font-size: 10px; font-weight: 750; text-decoration: none; }
.field-access-row a svg { width: 16px; height: 16px; }
.field-inline-status { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 12px 18px; border-bottom: 1px solid #cfe0d5; background: var(--green-soft); color: #25583c; }
.field-inline-status svg { width: 18px; height: 18px; }
.field-inline-status span, .field-inline-status strong { display: block; font-size: 10px; line-height: 1.4; }
.field-inline-status strong { font-size: 11px; }
.field-secondary-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: white; }
.field-secondary-actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; cursor: pointer; font-size: 11px; font-weight: 750; }
.field-secondary-actions button:first-child { color: #8a3028; }
.field-secondary-actions svg { width: 17px; height: 17px; }

.field-disclosure { border-bottom: 1px solid var(--border); background: white; }
.field-disclosure > summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  list-style: none;
  cursor: pointer;
}
.field-disclosure > summary::-webkit-details-marker { display: none; }
.field-disclosure > summary > span, .field-disclosure > summary strong, .field-disclosure > summary small { display: block; }
.field-disclosure > summary strong { font-size: 12px; }
.field-disclosure > summary small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; font-weight: 500; }
.field-disclosure > summary > svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--ink-soft); transition: transform 160ms ease; }
.field-disclosure[open] > summary > svg { transform: rotate(180deg); }
.field-disclosure-content { padding: 4px 18px 18px; border-top: 1px solid #edf0ec; }
.field-site-details .field-disclosure-content { display: grid; gap: 16px; padding-top: 16px; }
.field-site-details section + section { padding-top: 14px; border-top: 1px solid #e5e9e4; }
.field-site-details h3 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.field-site-details p { margin: 0 0 10px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.field-site-details p strong { display: block; color: var(--ink); font-size: 12px; }

.field-action-sheet { width: min(430px, calc(100vw - 20px)); max-height: min(720px, calc(100dvh - 20px)); overflow-y: auto; }
.field-sheet-handle { display: none; }
.field-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid var(--border); background: white; }
.field-sheet-head h2 { margin: 2px 0 0; font-size: 19px; }
.field-sheet-head button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #eef1ed; cursor: pointer; }
.field-sheet-head button svg { width: 19px; height: 19px; }
.field-issue-options { display: grid; padding: 5px 18px; background: white; }
.field-issue-options button { min-height: 58px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 0; border: 0; border-bottom: 1px solid #e7ebe6; background: white; text-align: left; cursor: pointer; }
.field-issue-options button:last-child { border-bottom: 0; }
.field-issue-options button > svg { width: 20px; height: 20px; color: var(--ink-soft); }
.field-issue-options span, .field-issue-options strong, .field-issue-options small { display: block; }
.field-issue-options strong { font-size: 12px; }
.field-issue-options small { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
.field-sheet-cancel { min-height: 46px; width: calc(100% - 36px); margin: 8px 18px 18px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; cursor: pointer; font-weight: 700; }

.field-more-screen { min-height: 100%; background: white; }
.field-screen-intro { padding: 22px 18px 16px; border-bottom: 1px solid var(--border); }
.field-screen-intro h1 { margin: 3px 0 6px; font-size: 22px; }
.field-screen-intro > p:last-child { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.field-menu-list { display: grid; padding: 4px 18px; }
.field-menu-list > button { min-height: 66px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 8px 0; border: 0; border-bottom: 1px solid #e6eae5; background: white; text-align: left; cursor: pointer; }
.field-menu-list > button:last-child { border-bottom: 0; }
.field-menu-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--green-soft); color: #1c6943; }
.field-menu-icon svg { width: 19px; height: 19px; }
.field-menu-list button > span:nth-child(2), .field-menu-list strong, .field-menu-list small { display: block; min-width: 0; }
.field-menu-list strong { font-size: 12px; }
.field-menu-list small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.field-menu-list button > svg { width: 17px; height: 17px; color: #839087; }
.field-remove-site-section { margin: 14px 18px 0; padding: 14px 0 0; border-top: 1px solid #efd6d2; }
.field-remove-site-section > small { color: #9b4b43; font-size: 8px; font-weight: 850; letter-spacing: 0.1em; }
.field-remove-site-section > button { width: 100%; min-height: 66px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 8px 0; border: 0; background: white; color: #8a3028; text-align: left; cursor: pointer; }
.field-remove-site-section > button > span:nth-child(2), .field-remove-site-section strong, .field-remove-site-section small { display: block; min-width: 0; }
.field-remove-site-section strong { font-size: 12px; }
.field-remove-site-section small { margin-top: 3px; color: #93645f; font-size: 9px; }
.field-remove-site-section .field-menu-icon { background: #fff0ed; color: #a13b31; }
.field-remove-site-section > button > svg { width: 17px; height: 17px; color: #a13b31; }
.field-remove-site-section > button:disabled { opacity: 0.5; cursor: wait; }
.field-office-switch { width: 100%; margin-top: 12px; }
.field-tracker-panel {
  position: absolute;
  z-index: 4;
  bottom: 12px;
  right: 12px;
  left: 12px;
  max-height: calc(100% - 24px);
  overflow: hidden;
  padding: 7px 13px 13px;
  border: 1px solid rgba(188, 199, 191, 0.94);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(14, 25, 19, 0.2);
  pointer-events: auto;
  overscroll-behavior: contain;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 190ms ease, opacity 150ms ease, visibility 190ms step-start, box-shadow 180ms ease;
}
.field-tracker-panel.is-collapsed { transform: translateY(calc(100% + 30px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 190ms ease, opacity 150ms ease, visibility 190ms step-end; }
.field-tracker-panel.is-expanded { overflow-y: auto; box-shadow: 0 16px 42px rgba(14, 25, 19, 0.26); }
.field-tracker-speed-control {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  width: 66px;
  height: 66px;
  display: grid;
  grid-template-rows: auto auto auto;
  place-items: center;
  align-content: center;
  gap: 0;
  padding: 4px;
  border: 2px solid rgba(111, 125, 116, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 22px rgba(14, 25, 19, 0.24);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  transition: transform 170ms ease, opacity 140ms ease, visibility 170ms step-start;
}
.field-tracker-speed-control small, .field-tracker-speed-control strong, .field-tracker-speed-control span { display: block; line-height: 1; }
.field-tracker-speed-control small { color: var(--green); font-size: 6px; font-weight: 900; letter-spacing: 0.08em; }
.field-tracker-speed-control strong { margin-top: 3px; font-size: 18px; }
.field-tracker-speed-control span { margin-top: 2px; color: var(--ink-soft); font-size: 7px; font-weight: 750; }
.field-tracker-speed-control.is-active { border-color: #18a765; box-shadow: 0 7px 22px rgba(14, 25, 19, 0.24), 0 0 0 5px rgba(24, 167, 101, 0.17); }
.field-tracker-speed-control.is-paused { border-color: var(--amber); }
.field-tracker-speed-control.is-error { border-color: var(--red); }
.field-tracker-speed-control.is-hidden { transform: translateY(18px) scale(0.82); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 170ms ease, opacity 140ms ease, visibility 170ms step-end; }
.field-tracker-speed-control:focus-visible { outline: 4px solid rgba(31, 122, 77, 0.24); outline-offset: 3px; }
.field-tracker-sheet-toggle { width: 100%; min-height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: transparent; cursor: pointer; touch-action: none; }
.field-tracker-sheet-toggle > span { width: 48px; height: 5px; border-radius: 3px; background: #a9b2ac; transition: background 150ms ease, width 150ms ease; }
.field-tracker-sheet-toggle:hover > span, .field-tracker-sheet-toggle:focus-visible > span { width: 58px; background: #6f7d74; }
.field-tracker-sheet-toggle:focus-visible { outline: 3px solid rgba(31, 122, 77, 0.22); outline-offset: -2px; }
.field-tracker-panel > header { display: grid; grid-template-columns: 42px minmax(0, 1fr) 10px; gap: 10px; align-items: center; touch-action: none; user-select: none; }
.field-tracker-panel > header > span:nth-child(2), .field-tracker-panel > header small, .field-tracker-panel > header strong, .field-tracker-panel > header em { min-width: 0; display: block; }
.field-tracker-panel > header small { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: 0.11em; }
.field-tracker-panel > header strong { margin-top: 2px; font-size: 15px; }
.field-tracker-panel > header em { overflow: hidden; margin-top: 2px; color: var(--ink-soft); font-size: 9px; font-style: normal; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.field-tracker-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.field-tracker-icon svg { width: 21px; height: 21px; }
.field-tracker-pulse { width: 9px; height: 9px; border-radius: 50%; background: #8b9890; box-shadow: 0 0 0 4px rgba(139, 152, 144, 0.13); }
.field-tracker-panel.is-active .field-tracker-pulse { background: #18a765; box-shadow: 0 0 0 4px rgba(24, 167, 101, 0.17); animation: tracker-pulse 1.8s ease-out infinite; }
.field-tracker-panel.is-error .field-tracker-pulse { background: var(--red); box-shadow: 0 0 0 4px rgba(198, 70, 58, 0.14); }
.field-tracker-panel.is-paused .field-tracker-pulse { background: var(--amber); box-shadow: 0 0 0 4px rgba(212, 139, 30, 0.15); }
@keyframes tracker-pulse { 50% { box-shadow: 0 0 0 8px rgba(24, 167, 101, 0); } }
.field-tracker-config { margin-top: 12px; padding-top: 11px; border-top: 1px solid #e4e9e4; }
.field-tracker-width { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 10px; font-weight: 750; }
.field-tracker-width > span:last-child { display: flex; align-items: center; gap: 6px; }
.field-tracker-width input { width: 76px; height: 40px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font-size: 16px; text-align: right; }
.field-tracker-width b { color: var(--ink-soft); font-size: 10px; }
.field-tracker-site small, .field-tracker-site strong, .field-tracker-site em { display: block; }
.field-tracker-site small { color: var(--ink-soft); font-size: 8px; font-weight: 800; letter-spacing: 0.09em; }
.field-tracker-site strong { overflow: hidden; margin-top: 2px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.field-tracker-site em { margin-top: 2px; color: var(--ink-soft); font-size: 9px; font-style: normal; }
.field-tracker-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
.field-tracker-metrics > span { min-width: 0; padding: 8px; border-radius: 9px; background: #f1f4f0; }
.field-tracker-metrics small, .field-tracker-metrics strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-tracker-metrics small { color: var(--ink-soft); font-size: 7px; }
.field-tracker-metrics strong { margin-top: 3px; font-size: 13px; }
.field-tracker-primary-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.field-tracker-primary-metrics > span { padding: 7px 6px; }
.field-tracker-primary-metrics strong { font-size: 12px; }
.field-tracker-primary-metrics strong b { color: var(--ink-soft); font-size: 7px; font-weight: 750; }
.field-tracker-fix { display: grid; grid-template-columns: 15px minmax(0, 1fr) auto; gap: 6px; align-items: center; margin-top: 9px; color: var(--ink-soft); font-size: 8px; }
.field-tracker-fix svg { width: 14px; height: 14px; }
.field-tracker-fix small { font-size: 8px; }
.field-tracker-warnings { display: grid; gap: 5px; margin-top: 9px; }
.field-tracker-warnings > span { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; padding: 7px 8px; border-radius: 7px; background: var(--amber-soft); color: #70490d; font-size: 8px; line-height: 1.35; }
.field-tracker-warnings svg { width: 13px; height: 13px; }
.field-tracker-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.field-tracker-actions:has(> :only-child) { grid-template-columns: 1fr; }
.field-tracker-actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 9px; background: var(--ink); color: white; cursor: pointer; font-size: 10px; font-weight: 800; }
.field-tracker-actions button.field-tracker-stop { border-color: #d7b0aa; background: #fff5f3; color: #8a3028; }
.field-tracker-actions button:disabled, .field-tracker-tools button:disabled { opacity: 0.45; cursor: wait; }
.field-tracker-actions svg, .field-tracker-tools svg { width: 16px; height: 16px; }
.field-tracker-expanded-content { display: block; }
.field-tracker-secondary-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.field-tracker-secondary-metrics > span { min-width: 0; padding: 8px; border-radius: 9px; background: #f7f8f6; }
.field-tracker-secondary-metrics small, .field-tracker-secondary-metrics strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-tracker-secondary-metrics small { color: var(--ink-soft); font-size: 7px; }
.field-tracker-secondary-metrics strong { margin-top: 3px; font-size: 12px; }
.field-tracker-history { margin-top: 10px; border-top: 1px solid #e4e9e4; }
.field-tracker-history > summary { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 800; list-style: none; }
.field-tracker-history > summary::-webkit-details-marker { display: none; }
.field-tracker-history > summary small { color: var(--ink-soft); font-weight: 750; }
.field-tracker-history > p { margin: 0 0 7px; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.field-tracker-history-row { width: 100%; min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 5px; padding: 8px 9px; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--ink); cursor: pointer; text-align: left; }
.field-tracker-history-row.is-selected { border-color: var(--green); background: var(--green-soft); }
.field-tracker-history-row:disabled { opacity: 0.52; cursor: not-allowed; }
.field-tracker-history-row span:last-child { text-align: right; }
.field-tracker-history-row strong, .field-tracker-history-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-tracker-history-row strong { font-size: 9px; }
.field-tracker-history-row small { margin-top: 2px; color: var(--ink-soft); font-size: 7px; }
.field-tracker-history-selected { display: grid; gap: 2px; padding: 7px 9px; border-radius: 7px; background: var(--green-soft); color: var(--green-ink) !important; }
.field-tracker-history-error { color: #8a3028 !important; }
.field-tracker-tools { margin-top: 10px; border-top: 1px solid #e4e9e4; }
.field-tracker-tools > summary { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-soft); cursor: pointer; font-size: 9px; font-weight: 750; list-style: none; }
.field-tracker-tools > summary::-webkit-details-marker { display: none; }
.field-tracker-tools > summary svg { transition: transform 150ms ease; }
.field-tracker-tools[open] > summary svg { transform: rotate(180deg); }
.field-tracker-tools > div { display: grid; gap: 6px; padding-bottom: 4px; }
.field-tracker-tools button { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: white; color: var(--ink); cursor: pointer; font-size: 9px; font-weight: 700; text-align: left; }
.field-tracker-expanded-content > footer { display: grid; grid-template-columns: 15px minmax(0, 1fr); gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px solid #e4e9e4; color: var(--ink-soft); font-size: 7px; line-height: 1.35; }
.field-tracker-expanded-content > footer svg { width: 14px; height: 14px; color: var(--green); }
.field-tracker-panel.is-browser, .field-tracker-panel.is-pending { max-height: none; padding-top: 13px; }
.field-map-message { position: absolute; z-index: 2; inset: auto 14px 16px; display: flex; justify-content: center; pointer-events: none; }
.field-map-message span { padding: 7px 10px; border-radius: 14px; background: rgba(22, 32, 27, 0.82); color: white; font-size: 9px; }
.one-map-map-legend { position: absolute; z-index: 4; top: 14px; right: 14px; width: min(310px, calc(100% - 28px)); max-height: min(42vh, 330px); overflow: auto; border: 1px solid rgba(255,255,255,0.82); border-radius: 16px; background: rgba(20, 27, 24, 0.9); color: #fff; box-shadow: 0 10px 28px rgba(7, 15, 11, 0.28); backdrop-filter: blur(10px); pointer-events: none; }
.one-map-map-legend > header { padding: 10px 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.16); }
.one-map-map-legend > header span { display: grid; gap: 1px; }
.one-map-map-legend > header small { color: #a9c8b6; font-size: 8px; font-weight: 800; letter-spacing: 0.13em; }
.one-map-map-legend > header strong { font-size: 13px; }
.one-map-map-legend > div { display: grid; }
.one-map-map-legend article { display: grid; grid-template-columns: 14px minmax(0, 1fr); align-items: center; gap: 9px; padding: 9px 12px; }
.one-map-map-legend article + article { border-top: 1px solid rgba(255,255,255,0.12); }
.one-map-map-legend article > i { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 5px; background: var(--one-map-color); box-shadow: 0 0 0 1px rgba(0,0,0,0.4); }
.one-map-map-legend article > span { min-width: 0; display: grid; gap: 2px; }
.one-map-map-legend article strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.one-map-map-legend article small { color: #d9e5de; font-size: 9px; }
.field-map-unavailable { position: absolute; z-index: 3; inset: 16px; max-width: 360px; min-height: 250px; display: grid; justify-items: start; align-content: center; gap: 9px; margin: auto; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.97); box-shadow: 0 12px 34px rgba(14,25,19,0.16); pointer-events: auto; }
.field-map-unavailable .field-unavailable-icon { margin: 0 0 6px; }
.field-map-unavailable > strong { font-size: 19px; }
.field-map-unavailable > p { margin: 0 0 9px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.field-map-unavailable > .button { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.field-workspace-shell.is-map { background: transparent; }
.app[data-mode="field"][data-field-screen="map"] .site-workspace { border: 0; background: transparent; box-shadow: none; pointer-events: none; }
.app[data-mode="field"][data-field-screen="map"] .field-app-head,
.app[data-mode="field"][data-field-screen="map"] .field-bottom-nav { pointer-events: auto; }
.app[data-mode="field"][data-field-screen="map"] .field-workspace-body { overflow: hidden; background: transparent; pointer-events: none; }
.app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) {
  min-height: 24px;
  margin: 6px;
  padding: 0 24px 0 0;
  background: transparent;
  opacity: 0.42;
  transition: opacity 150ms ease;
}
.app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show):focus-within,
.app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show):hover { opacity: 0.8; }
.app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib-button {
  background-color: rgba(255, 255, 255, 0.36);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
}
.app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib.maplibregl-compact-show { opacity: 0.94; }

.field-entry-shell { grid-template-rows: auto minmax(0, 1fr); background: var(--background); }
.field-entry-body, .field-setup-screen, .field-storage-screen { min-height: 100%; background: var(--background); }
.field-entry-intro { padding: 28px 18px 20px; background: white; }
.field-entry-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px; background: var(--green-soft); color: var(--green); }
.field-entry-icon svg { width: 26px; height: 26px; }
.field-entry-intro h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.16; letter-spacing: -0.025em; }
.field-entry-intro p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.field-entry-form { display: grid; gap: 18px; padding: 20px 18px calc(28px + env(safe-area-inset-bottom)); }
.field-entry-form label, .field-form-stack label { display: grid; gap: 7px; color: #37443d; font-size: 11px; font-weight: 750; }
.field-entry-form input, .field-form-stack input, .field-form-stack textarea, .field-form-stack select { width: 100%; min-height: 50px; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-weight: 500; }
.field-form-stack textarea { min-height: 86px; resize: vertical; }
.field-entry-form input:focus, .field-form-stack input:focus, .field-form-stack textarea:focus, .field-form-stack select:focus { border-color: var(--green); outline: 3px solid rgba(31, 122, 77, 0.13); }
.field-site-search input { font-size: 16px; }
.field-site-search-results { display: grid; gap: 8px; margin-top: -8px; }
.field-site-search-state { padding: 13px 14px; border: 1px dashed var(--border-strong); border-radius: 10px; background: white; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.field-site-search-state.is-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-style: solid; border-color: #e0b2ad; color: var(--red); }
.field-site-search-state button { min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--green-soft); color: var(--green); font: inherit; font-weight: 750; cursor: pointer; }
.field-site-result-count { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.field-site-results { display: grid; gap: 7px; }
.field-site-results > button, .field-site-choice { width: 100%; min-height: 62px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: white; color: var(--ink); text-align: left; }
.field-site-results > button { cursor: pointer; }
.field-site-results > button:focus-visible { border-color: var(--green); outline: 3px solid rgba(31, 122, 77, 0.13); }
.field-site-results span, .field-site-results strong, .field-site-results small, .field-site-choice span, .field-site-choice strong, .field-site-choice small { display: block; min-width: 0; }
.field-site-results strong, .field-site-choice strong { font-size: 12px; }
.field-site-results small, .field-site-choice small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.field-site-results b, .field-site-choice b { color: var(--green); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; }
.field-site-choice.is-selected { border-color: #9dc9ae; background: var(--green-soft); }
.field-site-save-actions { display: grid; gap: 18px; }
.field-site-save-actions[hidden] { display: none; }
.field-entry-boundary { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; padding: 14px; border-radius: 10px; background: #eef3ef; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.field-entry-boundary svg { width: 19px; height: 19px; color: var(--green); }
.field-entry-boundary strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.field-save-button { width: 100%; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; }
.field-setup-form { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.field-form-stack { display: grid; gap: 16px; padding-top: 16px; }
.field-plan-visit-action { margin-top: 10px; }
.field-plan-form { padding: 18px; }
.field-plan-form.field-form-stack { padding-top: 18px; }
.field-plan-form .field-sheet-cancel { width: 100%; margin: 0; }
.field-form-footer { padding: 18px; background: var(--background); }
.field-controlled-warning { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; padding: 13px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: #66430e; font-size: 10px; line-height: 1.45; }
.field-controlled-warning svg { width: 19px; height: 19px; }
.field-controlled-warning strong { display: block; color: var(--ink); }
.field-check-row { grid-template-columns: 22px minmax(0, 1fr); align-items: start; }
.field-check-row input { width: 20px; min-height: 20px; margin-top: 1px; accent-color: var(--green); }
.field-check-row span, .field-check-row strong { display: block; }
.field-check-row span { color: var(--ink-soft); font-size: 10px; line-height: 1.45; font-weight: 500; }
.field-check-row strong { margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.field-location-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: #f8faf7; }
.field-location-control span, .field-location-control strong, .field-location-control small { display: block; }
.field-location-control strong { font-size: 11px; }
.field-location-control small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.field-location-control .button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.field-access-row > button { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; border: 0; border-radius: 8px; background: var(--green-soft); color: #185d3b; font-weight: 750; cursor: pointer; }
.field-access-row > button svg { width: 16px; height: 16px; }
.field-storage-card { margin: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: white; }
.field-storage-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; }
.field-storage-heading strong, .field-storage-heading small { display: block; }
.field-storage-heading strong { font-size: 13px; }
.field-storage-heading small { margin-top: 3px; color: var(--ink-soft); font-size: 10px; }
.field-storage-meter { height: 7px; overflow: hidden; margin-top: 15px; border-radius: 4px; background: #e3e8e3; }
.field-storage-meter span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.field-storage-card > p { margin: 14px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.field-storage-card > .field-last-backup { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--green); font-weight: 700; }
.field-storage-card > .field-last-backup.is-warning { color: #89570b; }
.field-last-backup svg { flex: 0 0 auto; width: 16px; height: 16px; }
.field-storage-actions { display: grid; gap: 10px; padding: 0 18px 18px; }
.field-storage-actions .button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.field-storage-screen > .field-entry-boundary { margin: 0 18px 24px; }
.field-update-card { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin: 0 18px 18px; padding: 13px; border: 1px solid #cbded2; border-radius: 10px; background: var(--green-soft); font-size: 10px; }
.field-update-card svg { width: 19px; height: 19px; color: var(--green); }
.field-update-card strong { display: block; font-size: 11px; }
.field-update-card button { min-height: 38px; padding: 0 11px; border: 0; border-radius: 8px; background: var(--green); color: var(--ink); font-weight: 750; }
.field-restore-dialog { width: min(430px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 22px 60px rgba(14,25,19,0.3); }
.field-restore-dialog::backdrop { background: rgba(9,18,13,0.62); backdrop-filter: blur(3px); }
.field-restore-dialog-body { display: grid; gap: 14px; padding: 18px; }
.field-restore-dialog-body > p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.field-restore-dialog .dialog-actions { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
.field-restore-dialog .button { min-height: 48px; }
.field-remove-confirm { border-color: #a13b31; background: #a13b31; color: white; }
.field-draft-report { padding: 16px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.field-draft-report > div:first-child strong, .field-draft-report > div:first-child small { display: block; }
.field-draft-report > div:first-child strong { font-size: 12px; }
.field-draft-report > div:first-child small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.field-draft-report > .button { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; }
.field-draft-report > .field-disclosure { margin: 14px -18px -16px; border-top: 1px solid var(--border); }
.field-draft-report .field-disclosure-content > p, .field-draft-report li { color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.field-draft-report ul { padding-left: 18px; }

.field-photo-screen { min-height: 100%; background: var(--background); }
.field-evidence-unavailable { min-height: 100%; display: grid; justify-items: start; align-content: start; padding: 34px 18px; background: white; }
.field-unavailable-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--amber-soft); color: #8a5507; }
.field-unavailable-icon svg { width: 26px; height: 26px; }
.field-evidence-unavailable h1 { margin: 4px 0 9px; font-size: 24px; line-height: 1.16; }
.field-evidence-unavailable > p:last-of-type { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.field-evidence-unavailable > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; margin-top: 22px; padding: 14px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: #65430e; font-size: 10px; line-height: 1.45; }
.field-evidence-unavailable > div svg { width: 19px; height: 19px; }
.field-evidence-unavailable > div strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 11px; }
.field-evidence-unavailable > .button { width: 100%; min-height: 48px; margin-top: 18px; }
.field-photo-intro { padding: 20px 18px 12px; background: white; }
.field-photo-intro h1 { margin: 3px 0 5px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.field-photo-intro > p:last-child { margin: 0; color: var(--ink-soft); font-size: 11px; }
.field-photo-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 4px 18px 16px; border-bottom: 1px solid var(--border); background: white; }
.field-photo-stages button { min-width: 0; min-height: 72px; display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 6px; align-content: center; align-items: center; padding: 7px; border: 1px solid var(--border); border-radius: 10px; background: #f8faf7; color: var(--ink-soft); cursor: pointer; text-align: left; }
.field-photo-stages button.is-active { border-color: var(--green); background: var(--green-soft); color: #185b3a; box-shadow: 0 0 0 1px rgba(31, 122, 77, 0.08); }
.field-photo-stages button > span { grid-row: 1 / -1; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #dde4de; font-size: 9px; font-weight: 800; }
.field-photo-stages button.is-complete > span { background: var(--green); color: var(--ink); }
.field-photo-stages button > span svg { width: 13px; height: 13px; }
.field-photo-stages strong { overflow: hidden; font-size: 10px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.field-photo-stages small { overflow: hidden; font-size: 8px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.field-photo-stages em { color: var(--ink-soft); font-size: 8px; font-style: normal; font-weight: 750; }
.field-requirement-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--border); background: white; color: var(--ink-soft); font-size: 11px; font-weight: 750; }
.field-requirement-picker select { min-width: 0; min-height: 44px; width: 100%; padding: 0 34px 0 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.field-authority-status { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 11px 18px; border-bottom: 1px solid #ecd39f; background: var(--amber-soft); color: #6d470e; }
.field-authority-status > svg { width: 18px; height: 18px; }
.field-authority-status span, .field-authority-status strong { display: block; font-size: 9px; line-height: 1.4; }
.field-authority-status strong { margin-bottom: 2px; font-size: 10px; }
.field-photo-screen > .evidence-capture-form { gap: 0; padding: 16px 18px 0; border-bottom: 1px solid var(--border); background: white; }
.field-photo-screen > .evidence-capture-form.is-complete { padding: 0; }
.field-camera-action { width: 100%; min-height: 58px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 18px; text-align: left; }
.field-camera-action > svg { width: 22px; height: 22px; }
.field-camera-action span, .field-camera-action strong, .field-camera-action small { display: block; }
.field-camera-action strong { font-size: 13px; }
.field-camera-action small { margin-top: 2px; color: #f0f5f2; font-size: 9px; font-weight: 500; }
.field-photo-details { margin: 10px -18px 0; border-top: 1px solid var(--border); border-bottom: 0; }
.field-extra-photo { border-bottom: 0; }
.field-extra-photo > .field-disclosure-content { padding-top: 16px; }
.field-photo-details .field-disclosure-content { padding-top: 14px; }
.field-upload-action { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.field-upload-action svg { width: 16px; height: 16px; }
.field-evidence-rules .field-disclosure-content h3 { margin: 14px 0 6px; font-size: 12px; }
.field-evidence-rules .field-disclosure-content p { margin: 0 0 10px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.field-evidence-rules .field-disclosure-content p strong { display: block; color: var(--ink); }
.field-safe-capture > summary { color: #7f3027; }
.field-safe-capture .field-disclosure-content { padding-top: 14px; }
.field-captured-summary { margin-top: 10px; border-top: 1px solid var(--border); background: white; }
.field-captured-summary > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.field-captured-summary > div:first-child > span, .field-captured-summary > div:first-child strong, .field-captured-summary > div:first-child small { display: block; }
.field-captured-summary > div:first-child strong { font-size: 12px; }
.field-captured-summary > div:first-child small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.field-photo-preview { display: flex; gap: 5px; }
.field-photo-preview > span { width: 42px; height: 42px; display: grid; place-items: center; align-content: center; overflow: hidden; border: 1px solid #ced6cf; border-radius: 7px; background: linear-gradient(145deg, #e1e8e1, #c3d0c5); color: #385746; }
.field-photo-preview > span.needs-retake { border-color: var(--amber); }
.field-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.field-photo-preview svg { width: 15px; height: 15px; }
.field-photo-preview b { margin-top: 1px; font-size: 8px; }
.field-photo-empty { min-height: 48px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; }
.field-photo-empty svg { width: 18px; height: 18px; }

.evidence-contract { padding: 14px 16px; border-bottom: 1px solid var(--border); background: #f1f4ef; }
.evidence-contract-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.evidence-contract-head > div { min-width: 0; }
.evidence-contract-head > .status-label { flex: 0 0 auto; max-width: 45%; white-space: normal; text-align: right; line-height: 1.25; }
.evidence-contract h3, .evidence-contract p { margin: 0; }
.evidence-contract h3 { margin-top: 3px; font-size: 13px; }
.evidence-contract > p { margin-top: 8px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.evidence-contract > small { display: block; margin-top: 6px; color: #657169; font-size: 8px; }
.evidence-conflict { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; margin-top: 10px; padding: 9px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: #68430b; font-size: 9px; line-height: 1.45; }
.evidence-conflict svg { width: 17px; height: 17px; }
.evidence-conflict strong, .evidence-conflict span { display: block; }
.evidence-conflict strong { margin-bottom: 2px; color: #503306; }
.evidence-progress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 7px; }
.evidence-progress { min-width: 0; min-height: 86px; padding: 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); cursor: pointer; text-align: left; }
.evidence-progress.is-active { border-color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.evidence-progress span, .evidence-progress strong, .evidence-progress small { display: block; }
.evidence-progress span { overflow: hidden; color: var(--ink-soft); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.evidence-progress em { display: block; overflow: hidden; margin-top: 2px; color: var(--ink); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.evidence-progress strong { margin-top: 4px; font-size: 15px; }
.evidence-progress small { min-height: 20px; margin-top: 2px; color: #6a766e; font-size: 8px; line-height: 1.3; }
.evidence-progress .progress-line { display: block; height: 4px; margin-top: 6px; overflow: hidden; border-radius: 2px; background: #e1e5e0; }
.evidence-progress .progress-line i { display: block; height: 100%; background: var(--green); }
.evidence-capture-form { display: grid; gap: 10px; }
.evidence-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.evidence-form-grid label, .safe-capture-form label, .report-summary { display: grid; gap: 4px; color: var(--ink-soft); font-size: 9px; font-weight: 650; }
.evidence-form-grid select, .evidence-form-grid input, .safe-capture-form select, .safe-capture-form textarea, .report-summary textarea {
  width: 100%; min-width: 0; min-height: 40px; padding: 8px 9px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--white); color: var(--ink); font-size: 10px;
}
.evidence-note { grid-column: 1 / -1; }
.evidence-consent, .evidence-location-note { min-height: 40px; display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 10px; }
.evidence-consent input { width: 17px; height: 17px; accent-color: var(--green); }
.evidence-location-note svg { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; }
.evidence-location-note strong, .evidence-location-note small { display: block; }
.evidence-location-note small { margin-top: 2px; color: var(--ink-soft); line-height: 1.35; }
.form-help, .section-copy { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.evidence-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.evidence-actions .button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.evidence-actions .button svg, .office-report-actions .button svg { width: 15px; height: 15px; }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.button:disabled { cursor: not-allowed; opacity: 0.52; }
.safe-capture-panel { margin-top: 12px; border-top: 1px solid var(--border); }
.safe-capture-panel summary { min-height: 42px; display: flex; align-items: center; color: #7d351f; cursor: pointer; font-size: 10px; font-weight: 700; }
.safe-capture-form { display: grid; gap: 9px; padding: 0 0 10px; }
.safe-capture-form textarea, .report-summary textarea { resize: vertical; line-height: 1.45; }
.review-boundary { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; margin-top: 10px; padding: 9px; border: 1px solid #c9d8e7; background: var(--blue-soft); color: #24547f; font-size: 9px; line-height: 1.4; }
.review-boundary svg { width: 17px; height: 17px; }
.review-boundary strong, .review-boundary span { display: block; }
.review-boundary strong { margin-bottom: 2px; color: #163f65; }
.evidence-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.evidence-card { position: relative; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--white); }
.evidence-card.is-selected { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.evidence-card.needs-retake { border-color: #d5aa67; }
.evidence-card > input { position: absolute; z-index: 2; top: 7px; right: 7px; width: 18px; height: 18px; accent-color: var(--green); }
.evidence-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5de; }
.evidence-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.evidence-placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 5px; background: linear-gradient(145deg, #dce6dd, #b9c9bc); color: #385746; }
.evidence-placeholder svg { width: 24px; height: 24px; }
.evidence-placeholder b { font-size: 11px; letter-spacing: 0.08em; }
.evidence-stage-chip { position: absolute; left: 6px; bottom: 6px; padding: 3px 5px; border-radius: 3px; background: rgba(22, 32, 27, 0.78); color: white; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.evidence-card-copy { min-width: 0; display: block; padding: 8px; }
.evidence-card-copy strong, .evidence-card-copy span, .evidence-card-copy small, .evidence-card-copy em { display: block; }
.evidence-card-copy strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.evidence-card-copy span, .evidence-card-copy small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; line-height: 1.35; }
.evidence-card-copy em { margin-top: 4px; color: #445049; font-size: 8px; font-style: normal; line-height: 1.35; }
.evidence-card > .status-label { justify-self: start; margin: 0 8px 8px; }
.exception-list { display: grid; gap: 7px; margin-top: 10px; }
.exception-list h4 { margin: 4px 0 0; font-size: 10px; }
.exception-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 9px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: #65420d; font-size: 9px; line-height: 1.4; }
.exception-row svg { width: 16px; height: 16px; }
.exception-row strong, .exception-row span, .exception-row small { display: block; }
.exception-row small { margin-top: 3px; color: #805719; }
.exception-actions { display: flex !important; gap: 7px; margin-top: 7px; }
.exception-actions button { min-height: 40px; padding: 0 10px; border: 1px solid #c89b55; border-radius: 4px; background: rgba(255, 255, 255, 0.62); color: #5b3909; cursor: pointer; font-size: 9px; font-weight: 750; }
.office-report-actions > .button { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.report-draft-head { position: relative; padding: 16px; border-bottom: 1px solid var(--border); background: var(--ink); color: var(--white); }
.report-draft-head h3, .report-draft-head p { margin: 0; }
.report-draft-head h3 { margin-top: 4px; font-size: 16px; }
.report-draft-head > p:last-child { max-width: 75%; margin-top: 8px; color: #bdc9c1; font-size: 9px; line-height: 1.4; }
.draft-watermark { position: absolute; top: 16px; right: 16px; padding: 4px 6px; border: 1px solid #e2a19b; border-radius: 3px; color: #ffd5d1; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.report-warnings { padding: 8px 16px; border-bottom: 1px solid #e0c58f; background: var(--amber-soft); }
.report-warnings p { display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 6px; margin: 5px 0; color: #69430b; font-size: 9px; line-height: 1.4; }
.report-warnings svg { width: 14px; height: 14px; }
.report-review-actions .evidence-actions { margin-top: 10px; }
.approval-note { margin: 10px 0 0; color: #2d6246; font-size: 9px; line-height: 1.45; }
.empty-state.compact { padding: 16px 10px; }

.map-legend {
  position: absolute;
  z-index: 9;
  left: calc(var(--rail-width) + 16px);
  bottom: 24px;
  display: flex;
  gap: 12px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 18px rgba(14, 25, 19, 0.12);
  font-size: 9px;
}
.map-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.legend-dot.fleet { background: var(--blue); box-shadow: 0 0 0 2px rgba(31, 103, 177, 0.2); }
.data-notice {
  position: absolute;
  z-index: 18;
  left: 50%;
  bottom: 22px;
  max-width: min(580px, calc(100vw - var(--rail-width) - var(--workspace-width) - 48px));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  transform: translateX(-50%);
  border: 1px solid #b7cae0;
  border-radius: 6px;
  background: rgba(230, 239, 249, 0.97);
  color: #244e76;
  box-shadow: var(--shadow);
  font-size: 9px;
}
.data-notice > svg { flex: 0 0 auto; width: 14px; height: 14px; }
.data-notice button { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.data-notice button svg { width: 13px; height: 13px; }

.popover {
  position: absolute;
  z-index: 30;
  width: 286px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.layer-popover { top: 50px; right: 54px; }
.popover-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.popover-head strong { font-size: 12px; }
.layer-basemap { margin-bottom: 8px; }
.toggle-row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 2px; border-top: 1px solid var(--border); font-size: 10px; cursor: pointer; }
.toggle-row span, .toggle-row small { display: block; }
.toggle-row small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.toggle-row input, .checkbox-row input { width: 16px; height: 16px; accent-color: var(--green); }

dialog {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(14, 25, 19, 0.3);
}
dialog::backdrop { background: rgba(14, 25, 19, 0.42); }
.filter-dialog { width: min(560px, calc(100vw - 24px)); }
.integration-dialog { width: min(520px, calc(100vw - 24px)); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); background: var(--white); }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.filter-grid label:not(.checkbox-row) { display: grid; gap: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 650; }
.filter-grid select { width: 100%; height: 38px; padding: 0 9px; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--white); color: var(--ink); font-size: 11px; }
.span-two { grid-column: 1 / -1; }
.checkbox-row { min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); font-size: 10px; cursor: pointer; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--white); }
.button { min-height: 36px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 700; }
.button.secondary { background: var(--white); }
.button.primary { border-color: var(--primary); background: var(--primary); color: var(--ink); }
.integration-content { max-height: 60vh; overflow-y: auto; padding: 4px 16px 16px; }
.integration-row { padding: 13px 0; border-bottom: 1px solid var(--border); }
.integration-row:last-child { border-bottom: 0; }
.integration-row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.integration-row h3 { margin: 0; font-size: 12px; }
.integration-row p { margin: 7px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.capability-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.capability-list span { padding: 4px 6px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--ink-soft); font-size: 8px; }
.toast-stack { position: absolute; z-index: 60; right: 14px; bottom: 14px; display: grid; gap: 8px; width: min(340px, calc(100vw - 28px)); }
.toast { padding: 11px 12px; border-left: 3px solid var(--blue); border-radius: 5px; background: var(--white); box-shadow: var(--shadow); font-size: 10px; line-height: 1.45; }
.toast strong { display: block; margin-bottom: 3px; font-size: 11px; }

.app[data-mode="field"] .operations-rail { transform: translateX(-102%); }
.app[data-mode="field"] .metric-strip { left: 16px; }
.app[data-mode="field"] .map-legend { left: 16px; }
.app[data-mode="field"] .site-workspace { width: min(430px, 100vw); }
.app[data-mode="field"] .workspace-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.app[data-auth-gate="true"] #map,
.app[data-auth-gate="true"] .topbar,
.app[data-auth-gate="true"] .metric-strip,
.app[data-auth-gate="true"] .operations-rail,
.app[data-auth-gate="true"] .map-legend,
.app[data-auth-gate="true"] .data-notice { display: none; }
.app[data-auth-gate="true"] .site-workspace {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--background);
  box-shadow: none;
  transform: none;
}
.identity-shell { width: 100%; height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--background); }
.identity-brand {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
  border-bottom: 1px solid var(--border);
  background: white;
}
.identity-brand > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--secondary); }
.identity-brand > span svg { width: 25px; height: 25px; }
.identity-brand div small, .identity-brand div strong { display: block; }
.identity-brand div small { color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.identity-brand div strong { margin-top: 2px; font-size: 20px; }
.identity-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
.identity-intro, .identity-form, .identity-notice, .identity-error, .identity-boundary, .identity-loading { width: min(440px, calc(100% - 36px)); margin-left: auto; margin-right: auto; }
.identity-intro { padding: 40px 0 20px; }
.identity-intro h1 { margin: 4px 0 8px; font-size: 30px; line-height: 1.12; letter-spacing: -0.025em; }
.identity-intro > p:last-child { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.identity-form { display: grid; gap: 15px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: white; box-shadow: 0 12px 30px rgba(14, 25, 19, 0.08); }
.identity-form label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.identity-form input { width: 100%; min-height: 50px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 9px; background: white; color: var(--ink); font-size: 16px; }
.identity-form input:focus { border-color: var(--green); }
.identity-submit { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 3px; border-radius: 9px; font-size: 15px; }
.identity-submit svg { width: 19px; height: 19px; }
.identity-notice, .identity-error { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 14px; padding: 13px 15px; border-radius: 9px; font-size: 12px; line-height: 1.45; }
.identity-notice { border: 1px solid #d5b978; background: var(--amber-soft); color: #714a0d; }
.identity-error { border: 1px solid #e0aaa5; background: var(--red-soft); color: #7a2923; }
.identity-notice svg, .identity-error svg { width: 21px; height: 21px; }
.identity-notice strong { display: block; }
.identity-boundary { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 20px 4px calc(30px + env(safe-area-inset-bottom)); color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.identity-boundary svg { width: 21px; height: 21px; color: var(--green); }
.identity-boundary strong { display: block; color: var(--ink); }
.identity-loading { display: grid; gap: 12px; padding-top: 60px; }

.profile-responsive-frame { width: 100%; height: 100%; min-width: 0; min-height: 0; }
.profile-desktop-sidebar { display: none; }
.profile-desktop-canvas { width: 100%; height: 100%; min-width: 0; min-height: 0; }
.profile-shell { grid-template-rows: auto minmax(0, 1fr); background: var(--background); }
.profile-head { background: white; }
.profile-session-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.profile-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.profile-person { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); background: white; }
.profile-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--green); color: var(--ink); font-size: 18px; font-weight: 800; }
.profile-person h1 { margin: 0; font-size: 22px; line-height: 1.2; }
.profile-offline { width: auto; margin: 14px 16px 0; }
.profile-attendance { margin-top: 14px; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-attendance-alert { display: flex; justify-content: flex-end; padding: 10px 16px 0; }
.attendance-sync { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 9px; }
.attendance-sync svg { width: 15px; height: 15px; }
.attendance-sync.is-pending { color: var(--secondary); }
.attendance-sync.is-conflict { color: #9a342c; }
.attendance-status { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; align-items: center; padding: 19px 16px 17px; }
.attendance-state-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: #eef2ed; color: var(--ink-soft); }
.attendance-state-icon svg { width: 25px; height: 25px; }
.attendance-status.is-working .attendance-state-icon { background: var(--green-soft); color: var(--green); }
.attendance-status.is-break .attendance-state-icon { background: var(--amber-soft); color: #80570f; }
.attendance-status-copy b, .attendance-status-copy strong, .attendance-status-copy small { display: block; }
.attendance-status-copy b { color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; }
.attendance-status-copy strong { margin-top: 3px; font-size: 26px; line-height: 1.1; letter-spacing: -0.025em; }
.attendance-status-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
.attendance-device-note, .attendance-error { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: center; margin: 0 16px 13px; padding: 10px 11px; border-radius: 7px; font-size: 10px; line-height: 1.4; }
.attendance-device-note { background: #f1f4f0; color: var(--ink-soft); }
.attendance-error { border: 1px solid #e0aaa5; background: var(--red-soft); color: #7a2923; }
.attendance-device-note svg, .attendance-error svg { width: 16px; height: 16px; }
.attendance-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0 16px 16px; }
.attendance-actions > :only-child { grid-column: 1 / -1; }
.attendance-action { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 9px; font-size: 13px; }
.attendance-action svg { width: 18px; height: 18px; }
.attendance-action.is-clock_out { border-color: #c9a7a3; color: #8f3029; }
.attendance-action:disabled { cursor: default; opacity: 0.58; }
.profile-section { margin-top: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.profile-section-head strong, .profile-section-head small { display: block; }
.profile-section-head strong { font-size: 14px; }
.profile-section-head small { margin-top: 3px; color: var(--ink-soft); font-size: 11px; }
.profile-section-head > b { padding: 5px 8px; border-radius: 999px; background: var(--green-soft); color: #195b39; font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; }
.profile-task-list { display: grid; }
.profile-task { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px 18px; }
.profile-task + .profile-task { border-top: 1px solid var(--border); }
.profile-task-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--secondary) 20%, white); color: #8a4b16; }
.profile-task-icon svg { width: 20px; height: 20px; }
.profile-task strong, .profile-task small, .profile-task label > span { display: block; }
.profile-task strong { font-size: 14px; }
.profile-task small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.profile-task label { display: grid; gap: 5px; margin-top: 12px; }
.profile-task label > span { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.profile-task input { min-height: 44px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.profile-task .button { min-height: 46px; width: 100%; margin-top: 10px; }

.shift-guard-prompt { position: fixed; z-index: 90; inset: auto 12px calc(82px + env(safe-area-inset-bottom)); display: grid; gap: 13px; padding: 17px; border: 1px solid color-mix(in srgb, var(--secondary) 55%, white); border-radius: 16px; background: #fff; box-shadow: 0 18px 48px rgb(20 20 20 / 0.22); color: var(--text); }
.shift-guard-prompt > span { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; align-items: center; }
.shift-guard-prompt > span > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--secondary) 22%, white); color: #8a4b16; }
.shift-guard-prompt > span > i svg { width: 20px; height: 20px; }
.shift-guard-prompt strong, .shift-guard-prompt small { display: block; }
.shift-guard-prompt strong { font-size: 17px; line-height: 1.2; }
.shift-guard-prompt small { margin-top: 4px; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.shift-guard-actions { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 9px; }
.shift-guard-actions .button { min-height: 52px; font-size: 13px; }
.shift-guard-actions .primary { background: var(--primary); color: var(--text); }
@media (min-width: 761px) { .shift-guard-prompt { left: auto; right: 22px; bottom: 22px; width: min(430px, calc(100vw - 44px)); } }
.profile-role-pay { overflow: hidden; }
.profile-role-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; }
.profile-level-mark { width: 58px; height: 64px; display: grid; place-items: center; align-content: center; border-radius: 15px; background: var(--green); color: var(--ink); line-height: 1; }
.profile-level-mark small { font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.profile-level-mark strong { margin-top: 3px; font-size: 27px; }
.profile-level-mark i { margin-top: 3px; font-size: 8px; font-style: normal; opacity: 0.8; }
.profile-role-copy strong, .profile-role-copy small { display: block; }
.profile-role-copy strong { font-size: 17px; line-height: 1.25; }
.profile-role-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }
.profile-pay-overview { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid #e8ece7; }
.profile-pay-overview.has-estimate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-pay-overview > span { min-height: 78px; display: grid; align-content: center; padding: 13px 18px; }
.profile-pay-overview.has-estimate > span + span { border-left: 1px solid #e8ece7; }
.profile-pay-overview strong, .profile-pay-overview small { display: block; }
.profile-pay-overview strong { font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.profile-pay-overview small { margin-top: 6px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.profile-progression-empty { min-height: 92px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 18px; color: var(--ink-soft); }
.profile-progression-empty > svg { width: 21px; height: 21px; }
.profile-progression-empty strong, .profile-progression-empty small { display: block; }
.profile-progression-empty strong { color: var(--ink); font-size: 12px; }
.profile-progression-empty small { margin-top: 4px; font-size: 10px; line-height: 1.4; }
.profile-disclosure > summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; list-style: none; cursor: pointer; }
.profile-disclosure > summary::-webkit-details-marker { display: none; }
.profile-disclosure > summary > span, .profile-disclosure > summary strong, .profile-disclosure > summary small { display: block; }
.profile-disclosure > summary strong { font-size: 13px; }
.profile-disclosure > summary small { margin-top: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.profile-disclosure > summary > svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--ink-soft); transition: transform 160ms ease; }
.profile-disclosure[open] > summary > svg { transform: rotate(180deg); }
.profile-pay-details { border-top: 1px solid #e8ece7; }
.profile-pay-detail-list { border-top: 1px solid #edf0ec; }
.profile-pay-detail-list > div { min-height: 60px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(92px, auto); gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid #e8ece7; }
.profile-pay-detail-list strong, .profile-pay-detail-list small { display: block; }
.profile-pay-detail-list strong { font-size: 12px; }
.profile-pay-detail-list small { margin-top: 3px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.profile-pay-detail-list b { max-width: 150px; font-size: 12px; line-height: 1.3; text-align: right; }
.profile-estimate-note { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: start; margin: 0; padding: 11px 18px 13px; border-top: 1px solid #e8ece7; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.profile-estimate-note svg { width: 15px; height: 15px; }
.attendance-history-list { padding: 0 18px; border-top: 1px solid #edf0ec; }
.attendance-history-row { min-height: 68px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; border-bottom: 1px solid #e8ece7; }
.attendance-history-row:last-child { border-bottom: 0; }
.attendance-history-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef2ed; color: var(--ink-soft); }
.attendance-history-icon svg { width: 17px; height: 17px; }
.attendance-history-row > span:nth-child(2) strong, .attendance-history-row > span:nth-child(2) small, .attendance-history-total strong, .attendance-history-total small { display: block; }
.attendance-history-row > span:nth-child(2) strong { font-size: 12px; }
.attendance-history-row > span:nth-child(2) small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.attendance-history-total { text-align: right; }
.attendance-history-total strong { font-size: 13px; }
.attendance-history-total small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.profile-permissions { padding: 4px 18px; }
.profile-permissions > div { min-height: 58px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center; border-bottom: 1px solid #e8ece7; }
.profile-permissions > div:last-child { border-bottom: 0; }
.profile-permissions > div > svg { width: 18px; height: 18px; color: var(--green); }
.profile-permissions strong, .profile-permissions small { display: block; }
.profile-permissions strong { font-size: 12px; }
.profile-permissions small { margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.profile-account-identity { padding: 14px 18px; border-top: 1px solid #edf0ec; border-bottom: 1px solid #e8ece7; }
.profile-account-identity strong, .profile-account-identity small { display: block; }
.profile-account-identity strong { font-size: 12px; }
.profile-account-identity small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.profile-person p { margin: 4px 0 0; color: var(--ink-soft); font-size: 11px; }
.profile-showcase-overview { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.profile-showcase-heading { min-height: 112px; display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 22px 20px 18px; border-bottom: 1px solid var(--border); background: white; }
.profile-showcase-heading small, .profile-showcase-heading h1, .profile-showcase-heading p { display: block; margin: 0; }
.profile-showcase-heading small, .profile-showcase-plan header small, .profile-showcase-attention small, .profile-showcase-period header small, .profile-showcase-progression small { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.profile-showcase-heading h1 { margin-top: 5px; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.profile-showcase-heading p { margin-top: 6px; color: var(--ink-soft); font-size: 11px; }
.profile-showcase-heading > span { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #d7bf82; border-radius: 999px; background: var(--amber-soft); color: #744b0c; font-size: 9px; font-weight: 800; white-space: nowrap; }
.profile-showcase-heading > span svg { width: 15px; }
.profile-showcase-today { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr); margin-top: 14px; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-showcase-plan { min-width: 0; padding: 20px; }
.profile-showcase-plan > header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.profile-showcase-plan h2 { margin: 5px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.profile-showcase-plan > header > span { padding: 7px 9px; border-radius: 999px; background: var(--background); font-size: 10px; font-weight: 800; white-space: nowrap; }
.profile-showcase-work { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 18px; }
.profile-showcase-work > svg { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.profile-showcase-work strong, .profile-showcase-work small { display: block; }
.profile-showcase-work strong { font-size: 13px; }
.profile-showcase-work small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.profile-showcase-link { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 10px; font-weight: 800; cursor: pointer; }
.profile-showcase-link svg { width: 16px; }
.profile-showcase-today > .profile-attendance { margin: 0; border: 0; border-left: 1px solid var(--border); background: var(--primary-soft); }
.profile-showcase-today .attendance-status { padding-top: 17px; padding-bottom: 14px; }
.profile-showcase-today .attendance-state-icon { background: var(--primary); color: #173f7d; }
.profile-showcase-today .attendance-action { background: var(--primary); border-color: #447ad7; color: #102f64; font-weight: 800; }
.profile-showcase-attention { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 12px; padding: 13px 15px; border: 1px solid #dda7a1; border-radius: 11px; background: var(--red-soft); }
.profile-showcase-attention > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #ffdfda; color: var(--red); }
.profile-showcase-attention strong, .profile-showcase-attention p { display: block; margin: 0; }
.profile-showcase-attention strong { margin-top: 3px; font-size: 13px; }
.profile-showcase-attention p { margin-top: 3px; color: #76504c; font-size: 9px; line-height: 1.4; }
.profile-showcase-attention button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--red); border-radius: 9px; background: white; color: var(--red); font-size: 10px; font-weight: 800; }
.profile-showcase-attention button svg { width: 16px; }
.profile-showcase-period { margin-top: 20px; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-showcase-period > header { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 20px 14px; }
.profile-showcase-period h2, .profile-showcase-period p { margin: 0; }
.profile-showcase-period h2 { margin-top: 4px; font-size: 18px; }
.profile-showcase-period p { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.profile-period-switch { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; padding: 3px; border-radius: 9px; background: var(--background); }
.profile-period-switch button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-soft); font-size: 9px; font-weight: 800; white-space: nowrap; }
.profile-period-switch button.is-selected { background: white; color: var(--accent); box-shadow: 0 2px 8px rgb(20 45 38 / .09); }
.profile-period-values { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); border-top: 1px solid var(--border); }
.profile-period-values > div { display: grid; align-content: center; padding: 18px 20px; border-right: 1px solid var(--border); background: var(--accent-soft); }
.profile-period-values > div small, .profile-period-values > div strong, .profile-period-values > div em { display: block; }
.profile-period-values > div small { color: #4050a3; font-size: 9px; font-weight: 800; }
.profile-period-values > div strong { margin-top: 4px; color: var(--accent); font-size: 29px; line-height: 1.1; }
.profile-period-values > div em { margin-top: 3px; color: var(--ink-soft); font-size: 8px; font-style: normal; }
.profile-period-values dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.profile-period-values dl > div { display: grid; align-content: center; padding: 15px; }
.profile-period-values dl > div + div { border-left: 1px solid var(--border); }
.profile-period-values dl > div:last-child { background: #f1f3ff; }
.profile-period-values dt { color: var(--ink-soft); font-size: 8px; }
.profile-period-values dd { margin: 5px 0 0; font-size: 17px; font-weight: 800; }
.profile-period-values dl > div:last-child dd { color: var(--accent); }
.profile-showcase-period > .profile-showcase-link { margin: 0; padding: 8px 20px 10px; }
.profile-showcase-progression { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(210px, .9fr) 46px; gap: 15px; align-items: center; margin-top: 12px; padding: 15px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-showcase-level { width: 60px; height: 60px; display: grid; align-content: center; place-items: center; border-radius: 13px; background: var(--primary); }
.profile-showcase-level small, .profile-showcase-level strong, .profile-showcase-level em { display: block; color: var(--text); line-height: 1; }
.profile-showcase-level small { font-size: 7px; }
.profile-showcase-level strong { margin-top: 2px; font-size: 24px; }
.profile-showcase-level em { margin-top: 2px; font-size: 7px; font-style: normal; }
.profile-showcase-progression h2, .profile-showcase-progression p { margin: 0; }
.profile-showcase-progression h2 { margin-top: 3px; font-size: 16px; }
.profile-showcase-progression p { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.profile-showcase-next { padding-left: 15px; border-left: 1px solid var(--border); }
.profile-showcase-next strong { display: block; margin-top: 4px; font-size: 10px; line-height: 1.35; }
.profile-showcase-progression > button { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--background); }
.profile-showcase-progression > button svg { width: 17px; }
.profile-summary-card { width: calc(100% - 32px); min-height: 84px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 18px; gap: 12px; align-items: center; margin: 14px 16px 0; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: white; color: var(--ink); text-align: left; box-shadow: 0 3px 12px rgba(20, 38, 27, 0.04); }
.profile-summary-card > span:nth-child(2) { min-width: 0; }
.profile-summary-card > span:nth-child(2) > small, .profile-summary-card > span:nth-child(2) > strong, .profile-summary-card > span:nth-child(2) > b, .profile-summary-card > span:nth-child(2) > em { display: block; }
.profile-summary-card > span:nth-child(2) > small { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.09em; }
.profile-summary-card > span:nth-child(2) > strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.25; }
.profile-summary-card > span:nth-child(2) > b { margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 600; line-height: 1.35; }
.profile-summary-card > span:nth-child(2) > em { margin-top: 3px; color: var(--ink-soft); font-size: 9px; font-style: normal; }
.profile-summary-card > svg { width: 17px; height: 17px; color: var(--ink-soft); }
.profile-summary-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--green-soft); color: var(--green); }
.profile-summary-icon svg { width: 22px; height: 22px; }
.profile-level-button { grid-template-columns: 58px minmax(0, 1fr) 18px; padding-left: 12px; border-color: #b9d2c1; }
.profile-level-button .profile-level-mark { grid-column: auto; }
.profile-destination-list { margin: 14px 0 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-destination-list button { width: 100%; min-height: 66px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 10px 18px; border: 0; border-bottom: 1px solid #e8ece7; background: white; color: var(--ink); text-align: left; }
.profile-destination-list button:last-child { border-bottom: 0; }
.profile-destination-list button > svg:first-child { width: 19px; height: 19px; color: var(--green); }
.profile-destination-list button > svg:last-child { width: 16px; height: 16px; color: var(--ink-soft); }
.profile-destination-list strong, .profile-destination-list small { display: block; }
.profile-destination-list strong { font-size: 13px; }
.profile-destination-list small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.profile-screen-body { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
.profile-screen-intro { padding: 24px 20px 19px; border-bottom: 1px solid var(--border); background: white; }
.profile-screen-intro .eyebrow { margin: 0 0 6px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: 0.09em; }
.profile-screen-intro h1 { margin: 0; font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; }
.profile-screen-intro > p:last-child { margin: 8px 0 0; max-width: 520px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.schedule-rota-hero { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 20px 18px 16px; border-bottom: 1px solid var(--border); background: white; }
.schedule-rota-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--primary); color: var(--text); }
.schedule-rota-icon svg { width: 23px; height: 23px; }
.schedule-rota-hero > div { min-width: 0; }
.schedule-rota-hero > div > small { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.schedule-rota-hero h1 { margin: 3px 0 0; font-size: 21px; line-height: 1.16; letter-spacing: -0.025em; }
.schedule-rota-hero p { margin: 5px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.schedule-rota-hero dl { grid-column: 1 / -1; display: grid; grid-template-columns: 0.72fr 1.28fr; margin: 5px 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.schedule-rota-hero dl > div { min-width: 0; min-height: 58px; display: grid; align-content: center; padding: 9px 12px; }
.schedule-rota-hero dl > div + div { border-left: 1px solid var(--border); }
.schedule-rota-hero dt { color: var(--ink-soft); font-size: 8px; font-weight: 700; }
.schedule-rota-hero dd { margin: 4px 0 0; font-size: 13px; font-weight: 800; line-height: 1.25; }
.schedule-calendar-section { overflow: hidden; }
.schedule-calendar { padding: 0 14px 14px; border-top: 1px solid var(--border); background: white; }
.atlas-schedule-calendar .schedule-calendar-day.has-shift [data-vc-date-btn] { background: var(--primary); color: var(--text); }
.atlas-schedule-calendar .schedule-calendar-day.is-cancelled [data-vc-date-btn] { background: var(--red-soft); color: var(--red); text-decoration: line-through; }
.atlas-schedule-calendar .schedule-calendar-day[data-vc-date-selected] [data-vc-date-btn] { box-shadow: inset 0 0 0 3px var(--accent); }
.atlas-schedule-calendar .schedule-calendar-day.has-shift[data-vc-date-selected] [data-vc-date-btn] { background: var(--primary); color: var(--text); }
.schedule-runs > div:last-child { border-top: 1px solid var(--border); }
.schedule-runs article { min-height: 67px; display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 11px 18px; background: white; }
.schedule-runs article + article { border-top: 1px solid var(--border); }
.schedule-runs article strong, .schedule-runs article small { display: block; }
.schedule-runs article strong { font-size: 12px; }
.schedule-runs article small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.schedule-runs article svg { width: 20px; height: 20px; color: var(--accent); }
.profile-pattern-card { margin-top: 14px; padding: 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-pattern-card > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-pattern-card > div > span { min-width: 0; padding: 0 10px; border-right: 1px solid #e6ebe6; }
.profile-pattern-card > div > span:first-child { padding-left: 0; }
.profile-pattern-card > div > span:last-child { padding-right: 0; border-right: 0; }
.profile-pattern-card strong, .profile-pattern-card small { display: block; }
.profile-pattern-card strong { font-size: 17px; line-height: 1.1; }
.profile-pattern-card small { margin-top: 5px; color: var(--ink-soft); font-size: 8px; line-height: 1.3; }
.profile-pattern-card ul { margin: 17px 0 0; padding: 13px 13px 13px 30px; border-radius: 9px; background: #f2f5f1; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.profile-pattern-card > p { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: center; margin: 13px 0 0; color: var(--ink-soft); font-size: 9px; }
.profile-pattern-card > p svg { width: 16px; height: 16px; color: var(--green); }
.profile-list { min-width: 0; }
.profile-list-row, a.profile-list-row { width: 100%; min-height: 65px; display: grid; grid-template-columns: 30px minmax(0, 1fr) 17px; gap: 10px; align-items: center; padding: 11px 18px; border: 0; border-bottom: 1px solid #e8ece7; background: white; color: var(--ink); text-align: left; text-decoration: none; }
.profile-list-row:last-child { border-bottom: 0; }
.profile-list-row > svg:first-child { width: 19px; height: 19px; color: var(--green); }
.profile-list-row > svg:last-child { width: 16px; height: 16px; color: var(--ink-soft); }
.profile-list-row strong, .profile-list-row small { display: block; overflow-wrap: anywhere; }
.profile-list-row strong { font-size: 12px; line-height: 1.35; }
.profile-list-row small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.profile-list-row.is-static { grid-template-columns: 30px minmax(0, 1fr); }
.profile-source-boundary { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; margin: 14px 16px 0; padding: 14px; border: 1px solid #d4ddd4; border-radius: 10px; background: #eef3ed; color: var(--ink-soft); }
.profile-source-boundary > svg { width: 21px; height: 21px; color: var(--green); }
.profile-source-boundary strong, .profile-source-boundary small { display: block; }
.profile-source-boundary strong { color: var(--ink); font-size: 11px; }
.profile-source-boundary small { margin-top: 4px; font-size: 9px; line-height: 1.45; }
.profile-empty-panel { min-height: 86px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; align-items: center; padding: 15px 18px; }
.profile-empty-panel > svg, .profile-empty-inline > svg { width: 23px; height: 23px; color: var(--ink-soft); }
.profile-empty-panel strong, .profile-empty-panel small, .profile-empty-inline strong, .profile-empty-inline small { display: block; }
.profile-empty-panel strong, .profile-empty-inline strong { font-size: 12px; }
.profile-empty-panel small, .profile-empty-inline small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.profile-empty-inline { min-height: 78px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 18px; color: var(--ink-soft); }
.progression-readiness { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; align-items: start; margin: 14px 16px 0; padding: 14px; border: 1px solid #d7c99f; border-radius: 11px; background: #fff9e9; color: #73571b; }
.progression-readiness > svg { width: 25px; height: 25px; }
.progression-readiness strong, .progression-readiness small { display: block; }
.progression-readiness strong { font-size: 11px; line-height: 1.35; }
.progression-readiness small { margin-top: 4px; font-size: 9px; line-height: 1.45; }
.progression-readiness.is-appears_ready_for_manager_review { border-color: #a9cfb4; background: var(--green-soft); color: #165834; }
.progression-inbox-quick { display: grid; gap: 12px; padding: 15px 18px; }
.progression-inbox-quick > span { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.progression-inbox-quick > span > svg { width: 22px; height: 22px; color: var(--green); }
.progression-inbox-quick strong, .progression-inbox-quick small { display: block; }
.progression-inbox-quick strong { font-size: 11px; }
.progression-inbox-quick small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.progression-inbox-quick > .button { min-height: 42px; justify-content: center; gap: 7px; }
.progression-inbox-quick > .button svg { width: 16px; height: 16px; }
.progression-intro { padding-bottom: 16px; }
.progression-destinations { margin-top: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.progression-destination { width: 100%; min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px 18px; border: 0; border-bottom: 1px solid #e8ece7; background: white; color: var(--ink); text-align: left; }
.progression-destination:last-child { border-bottom: 0; }
.progression-destination > svg { width: 17px; height: 17px; color: var(--ink-soft); }
.progression-destination-title { min-width: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; }
.progression-destination-title > svg { width: 20px; height: 20px; color: var(--green); }
.progression-destination-title strong, .progression-destination-title small { display: block; }
.progression-destination-title strong { font-size: 13px; }
.progression-destination-title small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.progression-pay-destination { min-height: 132px; align-items: start; }
.progression-pay-destination > svg { grid-column: 2; grid-row: 1; margin-top: 7px; }
.progression-destination-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #edf0ec; }
.progression-destination-values > span { min-width: 0; padding: 12px 9px 0; border-right: 1px solid #edf0ec; }
.progression-destination-values > span:first-child { padding-left: 0; }
.progression-destination-values > span:last-child { padding-right: 0; border-right: 0; }
.progression-destination-values strong, .progression-destination-values small { display: block; overflow-wrap: anywhere; }
.progression-destination-values strong { font-size: 13px; line-height: 1.2; }
.progression-destination-values small { margin-top: 4px; color: var(--ink-soft); font-size: 8px; line-height: 1.25; }
.evidence-bundle-row small { line-height: 1.45; }
.progression-process ol { margin: 0; padding: 15px 22px 13px 40px; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.progression-faq { margin-top: 24px; }
.progression-faq .profile-disclosure + .profile-disclosure { border-top: 1px solid #e8ece7; }
.progression-faq ol, .progression-faq details > p { margin: 0; padding: 0 22px 16px 40px; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.progression-faq details > p { padding-left: 18px; }
.app[data-profile-route="pay"] .profile-head .field-head-copy h2 { font-size: 26px; letter-spacing: -0.025em; }
.pay-today-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
.pay-today-grid > span { min-height: 110px; display: grid; align-content: center; padding: 18px; color: var(--text); }
.pay-today-grid .is-pay { background: var(--primary); }
.pay-today-grid .is-subsistence { background: var(--secondary); }
.pay-today-grid strong, .pay-today-grid small, .pay-today-grid em { display: block; }
.pay-today-grid small { font-size: 10px; font-weight: 800; }
.pay-today-grid strong { margin-top: 7px; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.pay-today-grid em { margin-top: 6px; font-size: 9px; font-style: normal; font-weight: 700; opacity: 0.72; }
.pay-period-hero { background: var(--accent); color: white; }
.pay-period-hero header { display: flex; justify-content: space-between; align-items: end; gap: 14px; padding: 16px 18px 13px; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.pay-period-hero header small, .pay-period-hero header strong { display: block; }
.pay-period-hero header small { font-size: 9px; font-weight: 700; opacity: 0.78; }
.pay-period-hero header strong { font-size: 15px; }
.pay-period-hero > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pay-period-hero > div > span { min-height: 74px; display: grid; align-content: center; padding: 11px 13px; border-right: 1px solid rgb(255 255 255 / 0.2); }
.pay-period-hero > div > span:first-child { grid-column: 1 / -1; min-height: 86px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
.pay-period-hero > div > span:last-child { border-right: 0; }
.pay-period-hero strong, .pay-period-hero small { display: block; }
.pay-period-hero small { font-size: 8px; font-weight: 700; opacity: 0.75; }
.pay-period-hero strong { margin-top: 5px; font-size: 17px; line-height: 1.15; }
.pay-period-hero > div > span:first-child strong { font-size: 30px; }
.pay-calendar-tray { overflow: hidden; }
.pay-calendar { padding: 0 14px 14px; border-top: 1px solid var(--border); background: white; }
.atlas-pay-calendar[data-vc="calendar"] {
  width: 100%; min-width: 0; padding: 12px 0 0; border-radius: 0; background: white; color: var(--text); font-family: inherit;
  --vc-bg: #fff; --vc-color: var(--text); --vc-focus-outline-color: var(--accent); --vc-header-color: var(--text); --vc-title-color: var(--text); --vc-title-color-hover: var(--accent); --vc-months-years-bg: #fff; --vc-months-years-color: var(--text); --vc-months-years-bg-hover: var(--background); --vc-months-years-bg-selected: var(--primary); --vc-months-years-color-selected: var(--text); --vc-week-day-color: var(--ink-soft); --vc-date-bg: #fff; --vc-date-color: var(--ink-soft); --vc-date-bg-hover: var(--background); --vc-date-today-bg: #fff; --vc-date-today-color: var(--text); --vc-date-selected-bg: var(--background); --vc-date-selected-color: var(--text);
}
.atlas-pay-calendar [data-vc="header"] { min-height: 52px; margin-bottom: 8px; }
.atlas-pay-calendar [data-vc-header="content"] { padding: 0 4px; }
.atlas-pay-calendar [data-vc-arrow] { width: 48px; height: 48px; border-radius: 10px; background: var(--background); }
.atlas-pay-calendar [data-vc-arrow]::before { width: 22px; height: 22px; inset: 13px; }
.atlas-pay-calendar [data-vc="month"], .atlas-pay-calendar [data-vc="year"] { min-height: 44px; padding: 8px 5px; color: var(--text); font: inherit; font-size: 16px; font-weight: 800; }
.atlas-pay-calendar [data-vc="week"] { margin-bottom: 0; }
.atlas-pay-calendar [data-vc-week-day] { min-width: 0; min-height: 30px; color: var(--ink-soft); font: inherit; font-size: 8px; font-weight: 800; }
.atlas-pay-calendar [data-vc="dates"] { align-items: stretch; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--background); justify-items: stretch; }
.atlas-pay-calendar [data-vc-dates="row"] { align-items: stretch; justify-items: stretch; }
.atlas-pay-calendar [data-vc-date] { min-height: 51px; padding: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.atlas-pay-calendar [data-vc-date]:last-child { border-right: 0; }
.atlas-pay-calendar [data-vc-dates="row"]:last-child [data-vc-date] { border-bottom: 0; }
.atlas-pay-calendar [data-vc-date-month="prev"], .atlas-pay-calendar [data-vc-date-month="next"] { background: var(--background); }
.atlas-pay-calendar [data-vc-date-btn] { min-width: 0; min-height: 51px; flex-direction: column; border-radius: 0; color: var(--ink-soft); font: inherit; font-size: 10px; }
.atlas-pay-calendar .pay-calendar-day.has-work [data-vc-date-btn] { background: var(--primary); color: var(--text); }
.atlas-pay-calendar .pay-calendar-day.needs-review [data-vc-date-btn] { background: var(--red-soft); color: var(--red); }
.atlas-pay-calendar .pay-calendar-day[data-vc-date-today] [data-vc-date-btn] { box-shadow: inset 0 0 0 2px var(--accent); color: var(--text); }
.atlas-pay-calendar .pay-calendar-day[data-vc-date-selected] [data-vc-date-btn] { background: var(--background); box-shadow: inset 0 0 0 3px var(--accent); color: var(--text); }
.atlas-pay-calendar .pay-calendar-day.has-work[data-vc-date-selected] [data-vc-date-btn] { background: var(--primary); }
.atlas-pay-calendar .pay-calendar-day.needs-review[data-vc-date-selected] [data-vc-date-btn] { background: var(--red-soft); color: var(--red); }
.atlas-pay-calendar .pay-calendar-day-meta { margin-top: 2px; font-size: 7px; font-weight: 800; line-height: 1; }
.atlas-pay-calendar [data-vc="months"], .atlas-pay-calendar [data-vc="years"] { min-height: 260px; padding: 8px 0; }
.atlas-pay-calendar [data-vc-months-month], .atlas-pay-calendar [data-vc-years-year] { min-height: 48px; border-radius: 10px; font: inherit; font-size: 11px; font-weight: 800; }
.pay-calendar-selection { margin-top: 12px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: white; }
.pay-calendar-selection > header { min-height: 44px; display: flex; align-items: center; padding: 0 13px; border-bottom: 1px solid var(--border); }
.pay-calendar-selection > header strong { font-size: 12px; }
.pay-calendar-selection-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pay-calendar-selection-values > span { min-height: 62px; display: grid; align-content: center; padding: 10px 13px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pay-calendar-selection-values > span:nth-child(even) { border-right: 0; }
.pay-calendar-selection-values small, .pay-calendar-selection-values strong { display: block; }
.pay-calendar-selection-values small { color: var(--ink-soft); font-size: 8px; font-weight: 700; }
.pay-calendar-selection-values strong { margin-top: 4px; font-size: 14px; }
.pay-calendar-selection-correction { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--red-soft); color: var(--red); }
.pay-calendar-selection-correction strong, .pay-calendar-selection-correction small { display: block; }
.pay-calendar-selection-correction strong { font-size: 11px; }
.pay-calendar-selection-correction small { margin-top: 3px; font-size: 9px; }
.pay-calendar-correction-block + .pay-calendar-correction-block { border-top: 1px solid var(--border); }
.pay-calendar-selection-empty { margin: 0; padding: 17px 13px; color: var(--ink-soft); font-size: 11px; }
.pay-details-disclosure .profile-pay-detail-list { border-top: 1px solid #e8ece7; }
.pay-records { overflow: hidden; }
.pay-earnings-content { border-top: 1px solid var(--border); }
.pay-earnings-row { min-height: 72px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--border); }
.pay-earnings-row > span:nth-child(2) strong, .pay-earnings-row > span:nth-child(2) small, .pay-earnings-row > span:last-child strong, .pay-earnings-row > span:last-child small { display: block; }
.pay-earnings-row > span:nth-child(2) strong { font-size: 12px; }
.pay-earnings-row > span:nth-child(2) small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.pay-earnings-row > span:last-child { text-align: right; }
.pay-earnings-row > span:last-child strong { font-size: 13px; }
.pay-earnings-row > span:last-child small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pay-review-record.needs-review { background: var(--red-soft); }
.pay-review-record.is-saved { background: var(--green-soft); }
.pay-review-record + .pay-review-record { border-top: 1px solid var(--border); }
.pay-review-record .pay-earnings-row { border-bottom: 0; }
.pay-review-button { min-width: 72px; min-height: 44px; padding: 0 12px; border: 1px solid currentColor; border-radius: 8px; background: white; color: var(--red); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.pay-review-button:disabled { cursor: wait; opacity: 0.55; }
.pay-correction-state { color: var(--green); text-align: right; }
.pay-correction-state.is-editing { color: var(--red); }
.pay-correction-state strong, .pay-correction-state small { display: block; }
.pay-correction-state strong { font-size: 11px; }
.pay-correction-state small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pay-correction-form { display: grid; gap: 10px; padding: 12px 18px 16px 64px; border-top: 1px solid var(--border); background: white; }
.pay-calendar-correction-block .pay-correction-form { padding: 12px; background: var(--red-soft); }
.pay-review-record.needs-review .pay-correction-form { background: var(--red-soft); }
.attendance-correction-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.attendance-correction-fields label { min-width: 0; }
.pay-correction-form label { display: grid; gap: 5px; }
.pay-correction-form label > span { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.pay-correction-form input { min-width: 0; width: 100%; min-height: 48px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.attendance-correction-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.attendance-correction-actions .button { min-height: 46px; width: 100%; margin: 0; }
.profile-task .attendance-correction-fields { margin-top: 12px; }
.profile-task .attendance-correction-fields label { margin-top: 0; }
.profile-task .attendance-correction-actions { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
.pay-record-review { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: start; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--red-soft); color: var(--red); }
.pay-record-review svg { width: 19px; height: 19px; }
.pay-record-review strong, .pay-record-review small { display: block; }
.pay-record-review strong { font-size: 11px; }
.pay-record-review small { margin-top: 4px; font-size: 9px; line-height: 1.4; }
.pay-export { min-height: 48px; width: calc(100% - 36px); display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 18px; border-color: var(--accent); color: var(--accent); }
.pay-export svg { width: 17px; height: 17px; }
.pay-export:disabled { cursor: not-allowed; opacity: 0.5; }
.tier-review-questions article { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 15px 18px; border-bottom: 1px solid #e8ece7; }
.tier-review-questions article:last-child { border-bottom: 0; }
.tier-review-questions article > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 11px; }
.tier-review-questions article strong, .tier-review-questions article small { display: block; white-space: pre-line; }
.tier-review-questions article strong { font-size: 11px; line-height: 1.45; }
.tier-review-questions article small { margin-top: 7px; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.profile-link-row { min-height: 62px; display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 10px 18px; border-top: 1px solid #e8ece7; color: var(--ink); text-decoration: none; }
.profile-link-row > svg { width: 19px; height: 19px; color: var(--green); }
.profile-link-row > svg:last-child { width: 15px; height: 15px; color: var(--ink-soft); }
.profile-link-row strong, .profile-link-row small { display: block; }
.profile-link-row strong { font-size: 12px; }
.profile-link-row small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.progression-factor-list > button { width: 100%; min-height: 100px; display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 14px 18px; border: 0; border-bottom: 1px solid #e8ece7; background: white; color: var(--ink); text-align: left; }
.progression-factor-list > button:last-child { border-bottom: 0; }
.progression-factor-list > button > svg { width: 16px; height: 16px; color: var(--ink-soft); }
.progression-factor-list b, .progression-factor-list strong, .progression-factor-list small, .progression-factor-list em { display: block; }
.progression-factor-list b { width: fit-content; padding: 3px 6px; border-radius: 999px; background: var(--amber-soft); color: #745112; font-size: 7px; letter-spacing: 0.07em; }
.progression-factor-list strong { margin-top: 5px; font-size: 13px; }
.progression-factor-list small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.progression-factor-list em { margin-top: 7px; font-style: normal; }
.profile-factor-boundary { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; margin: 0; padding: 12px 18px; border-top: 1px solid #e8ece7; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.profile-factor-boundary svg { width: 16px; height: 16px; }
.career-family { border-top: 1px solid #e8ece7; }
.career-family > h2 { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 13px 18px 9px; color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.career-family > h2 small { font-size: 8px; font-weight: 600; letter-spacing: 0; }
.career-level-row { width: 100%; min-height: 64px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 16px; gap: 10px; align-items: center; padding: 9px 18px; border: 0; border-top: 1px solid #edf0ec; background: white; color: var(--ink); text-align: left; }
.career-level-row.is-current { background: #f0f7f2; }
.career-level-number { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #cdd8cf; border-radius: 10px; color: var(--green); font-size: 14px; font-weight: 800; }
.career-level-row.is-current .career-level-number { border-color: var(--green); background: var(--green); color: var(--ink); }
.career-level-row strong, .career-level-row small { display: block; }
.career-level-row strong { font-size: 12px; }
.career-level-row small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.career-level-row > b { padding: 4px 6px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 7px; }
.career-level-row > svg { width: 15px; height: 15px; color: var(--ink-soft); }
.career-level-hero { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 24px 20px; border-bottom: 1px solid var(--border); background: white; }
.career-level-hero p, .career-level-hero h1, .career-level-hero span { margin: 0; }
.career-level-hero p { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.career-level-hero h1 { margin-top: 4px; font-size: 23px; line-height: 1.15; }
.career-level-hero div > span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 10px; line-height: 1.4; }
.level-progress-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 15px 10px; border-bottom: 1px solid var(--border); background: #f9fbf8; }
.level-progress-summary > span { min-width: 0; padding: 0 7px; border-right: 1px solid #dfe6df; text-align: center; }
.level-progress-summary > span:last-child { border-right: 0; }
.level-progress-summary strong, .level-progress-summary small { display: block; }
.level-progress-summary strong { font-size: 17px; }
.level-progress-summary small { margin-top: 4px; color: var(--ink-soft); font-size: 7px; line-height: 1.25; }
.career-level-pay { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); background: white; }
.career-level-pay small, .career-level-pay strong { display: block; }
.career-level-pay small { color: var(--ink-soft); font-size: 7px; font-weight: 800; letter-spacing: 0.06em; }
.career-level-pay strong { margin-top: 3px; font-size: 18px; }
.career-level-pay p { max-width: 170px; margin: 0; color: var(--ink-soft); font-size: 8px; line-height: 1.4; text-align: right; }
.requirement-row { width: 100%; min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) 17px; gap: 11px; align-items: center; padding: 12px 18px; border: 0; border-bottom: 1px solid #e8ece7; background: white; color: var(--ink); text-align: left; }
.requirement-row:last-child { border-bottom: 0; }
.requirement-row strong { display: block; overflow-wrap: anywhere; font-size: 11px; line-height: 1.4; }
.requirement-row > svg { width: 16px; height: 16px; color: var(--ink-soft); }
.evidence-state { width: fit-content; display: inline-block; margin-top: 6px; padding: 4px 7px; border-radius: 999px; background: #eef1ed; color: #59665e; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.evidence-state.is-evidence_started, .evidence-state.is-evidence_submitted { background: #e5effb; color: #255c91; }
.evidence-state.is-awaiting_review, .evidence-state.is-needs_more_evidence { background: var(--amber-soft); color: #745112; }
.evidence-state.is-verified { background: var(--green-soft); color: #176038; }
.evidence-state.is-rejected { background: var(--red-soft); color: #8b3029; }
.requirement-hero { padding: 24px 20px; border-bottom: 1px solid var(--border); background: white; }
.requirement-hero > p { margin: 0; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: 0.07em; }
.requirement-hero h1 { margin: 8px 0 0; overflow-wrap: anywhere; font-size: 22px; line-height: 1.25; }
.requirement-hero blockquote { margin: 16px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.profile-guidance { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 11px; margin-top: 14px; padding: 17px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff9e9; }
.profile-guidance > svg { width: 22px; height: 22px; color: #8a651b; }
.profile-guidance strong, .profile-guidance small { display: block; }
.profile-guidance strong { font-size: 12px; }
.profile-guidance p { margin: 5px 0 0; font-size: 10px; line-height: 1.5; }
.profile-guidance small { margin-top: 7px; color: var(--ink-soft); font-size: 8px; line-height: 1.5; }
.profile-section-head .profile-section-action, .profile-section-action { min-height: 32px; display: inline-flex; align-items: center; gap: 4px; padding: 0 9px; border: 1px solid #a7c8b0; border-radius: 8px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 800; }
.profile-section-action svg { width: 14px; height: 14px; }
.profile-source-card { margin: 14px 16px 0; padding: 15px; border: 1px solid #d5ddd5; border-radius: 10px; background: #f1f4f0; }
.profile-source-card p { margin: 0; color: var(--ink-soft); font-size: 7px; font-weight: 800; letter-spacing: 0.08em; }
.profile-source-card strong, .profile-source-card small { display: block; overflow-wrap: anywhere; }
.profile-source-card strong { margin-top: 6px; font-size: 10px; line-height: 1.45; }
.profile-source-card small { margin-top: 5px; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.profile-safeguards { margin-top: 14px; padding: 17px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.profile-safeguards h2 { margin: 0; font-size: 13px; }
.profile-safeguards ul { margin: 9px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 9px; line-height: 1.55; }
.profile-evidence-form { display: grid; gap: 16px; padding: 18px 18px calc(30px + env(safe-area-inset-bottom)); }
.profile-evidence-form label > span, .profile-evidence-form label > small { display: block; }
.profile-evidence-form label > span { margin-bottom: 6px; font-size: 10px; font-weight: 800; }
.profile-evidence-form label > small { margin-top: 5px; color: var(--ink-soft); font-size: 8px; }
.profile-evidence-form input, .profile-evidence-form select, .profile-evidence-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd4cc; border-radius: 9px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.profile-evidence-form textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.profile-evidence-form input[type="file"] { padding: 8px; font-size: 10px; }
.progression-evidence-note { min-width: 0; }
.progression-evidence-files { min-width: 0; margin: 0; padding: 13px; border: 1px solid #cbd4cc; border-radius: 9px; }
.progression-evidence-files legend { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 0; font-size: 10px; font-weight: 800; }
.progression-evidence-files legend small, .progression-evidence-files > small { color: var(--ink-soft); font-size: 8px; font-weight: 600; }
.progression-file-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.progression-file-actions label.button { min-height: 42px; display: inline-flex; justify-content: center; gap: 7px; margin: 0; cursor: pointer; }
.progression-file-actions label.button svg { width: 16px; height: 16px; }
.progression-file-actions input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; opacity: 0; }
.progression-evidence-files > small { display: block; margin-top: 7px; line-height: 1.4; }
.progression-pending-files { margin: 11px -13px -13px; border-top: 1px solid #e4e9e4; }
.progression-pending-files .evidence-files-empty { min-height: 66px; }
.progression-pending-file { min-height: 64px; display: grid; grid-template-columns: 25px minmax(0, 1fr) 32px; gap: 9px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #e8ece7; background: white; }
.progression-pending-file:last-child { border-bottom: 0; border-radius: 0 0 9px 9px; }
.progression-pending-file > svg { width: 19px; height: 19px; color: var(--green); }
.progression-pending-file strong, .progression-pending-file small, .progression-pending-file em { display: block; overflow-wrap: anywhere; }
.progression-pending-file strong { font-size: 10px; }
.progression-pending-file small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; line-height: 1.35; }
.progression-pending-file em { margin-top: 4px; color: #825d16; font-size: 8px; font-style: normal; font-weight: 750; }
.progression-pending-file em svg { width: 12px; height: 12px; margin-right: 4px; vertical-align: -2px; }
.progression-pending-file.has-warning { background: #fff9e9; }
.progression-pending-file > button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #edf1ed; color: var(--ink-soft); }
.progression-pending-file > button svg { width: 15px; height: 15px; }
.profile-form-boundary { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; padding: 13px; border-radius: 9px; background: #eef3ed; color: var(--ink-soft); }
.profile-form-boundary > svg { width: 20px; height: 20px; color: var(--green); }
.profile-form-boundary strong, .profile-form-boundary small { display: block; }
.profile-form-boundary strong { color: var(--ink); font-size: 10px; }
.profile-form-boundary small { margin-top: 3px; font-size: 8px; line-height: 1.4; }
.profile-save-evidence { min-height: 50px; justify-content: center; gap: 8px; }
.profile-save-evidence svg { width: 18px; height: 18px; }
.evidence-detail-hero { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 13px; align-items: start; padding: 22px 20px; border-bottom: 1px solid var(--border); background: white; }
.evidence-detail-hero p { margin: 0; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.06em; }
.evidence-detail-hero h1 { margin: 6px 0 0; overflow-wrap: anywhere; font-size: 19px; line-height: 1.3; }
.evidence-private-state { width: fit-content; display: inline-block; margin-top: 8px; padding: 4px 7px; border-radius: 999px; background: #e5effb; color: #255c91; font-size: 7px; font-weight: 800; letter-spacing: 0.03em; }
.evidence-metadata > div { min-height: 55px; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid #e8ece7; }
.evidence-metadata > div:last-child { border-bottom: 0; }
.evidence-metadata span { color: var(--ink-soft); font-size: 9px; }
.evidence-metadata strong { overflow-wrap: anywhere; font-size: 10px; line-height: 1.4; }
.evidence-artifact-list > div { min-height: 70px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 18px; border-bottom: 1px solid #e8ece7; }
.evidence-artifact-list > div:last-child { border-bottom: 0; }
.evidence-artifact-list > div > svg { width: 20px; height: 20px; color: var(--green); }
.evidence-artifact-list strong, .evidence-artifact-list small, .evidence-artifact-list em { display: block; overflow-wrap: anywhere; }
.evidence-artifact-list strong { font-size: 11px; }
.evidence-artifact-list small { margin-top: 4px; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.evidence-artifact-list em { margin-top: 5px; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-style: normal; }
.progression-analysis-message { margin: 0; padding: 12px 18px; border-bottom: 1px solid #e6eae5; background: #f5f7f4; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.evidence-analysis-section .profile-section-action { min-height: 48px; justify-content: center; }
.progression-analysis-empty { min-height: 84px; }
.progression-suggestion-list { display: grid; gap: 12px; padding: 14px; background: #f5f7f4; }
.progression-suggestion-card { min-width: 0; overflow: hidden; border: 1px solid #ccd6cd; border-radius: 11px; background: white; box-shadow: 0 3px 10px rgba(22, 43, 29, 0.04); }
.progression-suggestion-card > header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 15px 16px; border-bottom: 1px solid #e6eae5; }
.progression-suggestion-card > header > span, .progression-suggestion-card > header small, .progression-suggestion-card > header strong { min-width: 0; display: block; }
.progression-suggestion-card > header small { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.progression-suggestion-card > header strong { margin-top: 5px; overflow-wrap: anywhere; font-size: 12px; line-height: 1.4; }
.progression-disposition-state { flex: 0 0 auto; max-width: 150px; padding: 5px 8px; border-radius: 999px; background: #edf0ec; color: #536057; font-size: 7px; font-style: normal; font-weight: 800; line-height: 1.3; text-align: center; }
.progression-disposition-state.is-accepted, .progression-disposition-state.is-reassigned { background: var(--green-soft); color: #176038; }
.progression-disposition-state.is-rejected { background: var(--red-soft); color: #8b3029; }
.progression-suggestion-reason { margin: 0; padding: 14px 16px 10px; color: var(--ink-soft); font-size: 10px; line-height: 1.55; }
.progression-suggestion-citations { display: grid; gap: 8px; padding: 0 16px 15px; }
.progression-suggestion-citation { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d8dfd8; border-radius: 8px; background: #fafbf9; }
.progression-suggestion-citation figcaption { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #e5e9e4; color: var(--ink-soft); font-size: 8px; font-weight: 750; }
.progression-suggestion-citation figcaption svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--green); }
.progression-suggestion-citation blockquote { margin: 0; padding: 11px 12px; overflow-wrap: anywhere; color: var(--ink); font-size: 10px; line-height: 1.55; }
.progression-disposition-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 16px; border-top: 1px solid #e6eae5; background: #f8faf7; }
.progression-disposition-actions .button { min-width: 0; min-height: 48px; justify-content: center; gap: 7px; padding: 8px 10px; font-size: 9px; }
.progression-disposition-actions .button svg { width: 15px; height: 15px; }
.progression-disposition-actions .button:disabled { opacity: 0.55; cursor: default; }
.progression-disposition-actions label { grid-column: 1 / -1; min-width: 0; }
.progression-disposition-actions label > span { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 8px; font-weight: 750; }
.progression-disposition-actions select { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid #cbd4cc; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 9px; }
.progression-disposition-actions label + .button { grid-column: 1 / -1; }
.progression-disposition-empty { margin: 0; padding: 10px 16px 13px; border-top: 1px solid #e6eae5; color: var(--ink-soft); font-size: 8px; }
.progression-disposition-history { border-top: 1px solid #e6eae5; }
.progression-disposition-history summary { min-height: 48px; display: flex; align-items: center; padding: 8px 16px; color: var(--green); cursor: pointer; font-size: 9px; font-weight: 800; }
.progression-disposition-history summary::after { content: "›"; margin-left: auto; font-size: 16px; transform: rotate(90deg); }
.progression-disposition-history[open] summary::after { transform: rotate(-90deg); }
.progression-disposition-history ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #edf0ec; }
.progression-disposition-history li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 16px; border-bottom: 1px solid #edf0ec; }
.progression-disposition-history li:last-child { border-bottom: 0; }
.progression-disposition-history span { overflow-wrap: anywhere; font-size: 9px; font-weight: 750; }
.progression-disposition-history time { color: var(--ink-soft); font-size: 8px; }
.progression-disposition-history code { grid-column: 1 / -1; overflow-wrap: anywhere; color: var(--ink-soft); font-size: 7px; }

@media (min-width: 1101px) {
  :root {
    --topbar-height: 64px;
    --rail-width: 350px;
    --workspace-width: clamp(600px, 46vw, 780px);
  }

  .topbar { padding: 0 18px; }
  .brand { padding-left: 4px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 9px; }
  .brand strong { font-size: 16px; }
  .scenario-state { margin-left: 20px; }
  .topbar-actions { gap: 10px; }

  .operations-rail { box-shadow: 5px 0 22px rgba(14, 25, 19, 0.11); }
  .rail-head { padding: 24px 20px 16px; }
  .rail-head h1 { font-size: 22px; letter-spacing: -0.02em; }
  .search-box { height: 44px; margin: 0 16px 12px; padding: 0 12px; border-radius: 8px; }
  .search-box input { font-size: 13px; }
  .rail-tabs { margin: 0 16px 12px; }
  .rail-tabs button { min-height: 34px; font-size: 12px; }
  .list-section-label { padding: 11px 16px; }
  .site-row, .team-row { gap: 10px; padding: 15px 16px; }
  .row-primary strong { font-size: 13px; }
  .row-status { font-size: 10px; }
  .row-meta { font-size: 11px; }
  .rail-footer { padding: 12px; }
  .rail-footer button { padding: 10px; }
  .rail-footer strong { font-size: 12px; }
  .rail-footer small { font-size: 10px; }

  .data-notice { right: 20px; left: auto; bottom: 20px; max-width: 430px; transform: none; font-size: 10px; }
  .app[data-workspace="open"]:not([data-profile-open="true"]) .data-notice { right: calc(var(--workspace-width) + 20px); }

  .site-workspace { background: var(--background); }
  .workspace-head { padding: 21px 24px 18px; }
  .workspace-head h2 { margin-top: 4px; font-size: 25px; letter-spacing: -0.025em; }
  .workspace-head p { margin-top: 4px; font-size: 12px; }
  .workspace-kicker { font-size: 10px; }
  .workspace-progress { margin-top: 17px; }
  .workspace-progress > span { font-size: 11px; }
  .workspace-progress strong { font-size: 14px; }
  .workspace-tabs { padding: 0 16px; }
  .workspace-tabs button { height: 50px; font-size: 11px; }
  .workspace-section { padding: 20px 24px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h3 { font-size: 14px; }
  .section-heading span, .section-heading button { font-size: 10px; }
  .stat-grid > div { padding: 14px; }
  .stat-grid span { font-size: 10px; }
  .stat-grid strong { font-size: 20px; }
  .record-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 11px; padding: 12px 0; }
  .record-icon { width: 30px; height: 30px; }
  .record-copy strong { font-size: 12px; }
  .record-copy span { font-size: 11px; }
  .record-copy small, .record-aside { font-size: 10px; }
  .office-workspace-body.is-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .office-workspace-body.is-overview > .workspace-section { min-width: 0; margin: 0; border-right: 1px solid var(--border); }
  .office-workspace-body.is-overview > .workspace-section:nth-child(even) { border-right: 0; }
  .office-workspace-body.is-overview > .visit-weather-section { grid-column: 1 / -1; border-right: 0; }
  .office-workspace-body.is-overview > .workspace-section:first-child,
  .office-workspace-body.is-overview > .workspace-section:last-child { grid-column: 1 / -1; border-right: 0; }
  .office-workspace-body.is-evidence .evidence-progress-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-workspace-body.is-evidence .evidence-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .app[data-profile-open="true"] #map,
  .app[data-profile-open="true"] .metric-strip,
  .app[data-profile-open="true"] .operations-rail,
  .app[data-profile-open="true"] .map-legend,
  .app[data-profile-open="true"] .data-notice,
  .app[data-profile-open="true"] .maplibregl-ctrl-top-right,
  .app[data-profile-open="true"] .maplibregl-ctrl-bottom-left { display: none; }
  .app[data-profile-open="true"] #layerButton,
  .app[data-profile-open="true"] #filterButton,
  .app[data-profile-open="true"] .role-switch { visibility: hidden; pointer-events: none; }
  .app[data-profile-open="true"] .brand { width: 272px; }
  .app[data-profile-open="true"] .site-workspace {
    left: 0;
    width: 100%;
    border-left: 0;
    box-shadow: none;
    transform: none;
  }

  .profile-responsive-frame { display: grid; grid-template-columns: 272px minmax(0, 1fr); background: var(--background); }
  .profile-desktop-sidebar {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    border-right: 1px solid var(--border);
    background: #f8faf7;
  }
  .profile-desktop-brand { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 13px; align-items: center; padding: 24px 20px 20px; border-bottom: 1px solid var(--border); }
  .profile-desktop-brand > span:last-child { min-width: 0; }
  .profile-desktop-brand small, .profile-desktop-brand strong, .profile-desktop-brand em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-desktop-brand small { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
  .profile-desktop-brand strong { margin-top: 5px; font-size: 15px; }
  .profile-desktop-brand em { margin-top: 4px; color: var(--ink-soft); font-size: 10px; font-style: normal; }
  .profile-desktop-sidebar nav { min-height: 0; display: grid; align-content: start; gap: 5px; overflow-y: auto; padding: 16px 12px; }
  .profile-desktop-sidebar nav button { width: 100%; min-height: 58px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
  .profile-desktop-sidebar nav button:hover { background: #edf2ed; }
  .profile-desktop-sidebar nav button.is-active { background: var(--green-soft); color: #165c38; box-shadow: inset 3px 0 0 var(--green); }
  .profile-desktop-sidebar nav button > svg { width: 19px; height: 19px; justify-self: center; }
  .profile-desktop-sidebar nav strong, .profile-desktop-sidebar nav small { display: block; }
  .profile-desktop-sidebar nav strong { font-size: 12px; }
  .profile-desktop-sidebar nav small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.3; }
  .profile-desktop-boundary { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; margin: 0 12px 12px; padding: 12px; border-radius: 9px; background: #eef3ed; color: var(--ink-soft); }
  .profile-desktop-boundary > svg { width: 19px; height: 19px; color: var(--green); }
  .profile-desktop-boundary strong, .profile-desktop-boundary small { display: block; }
  .profile-desktop-boundary strong { color: var(--ink); font-size: 10px; }
  .profile-desktop-boundary small { margin-top: 3px; font-size: 8px; line-height: 1.4; }
  .profile-desktop-exit { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border: 0; border-top: 1px solid var(--border); background: white; cursor: pointer; font-size: 11px; font-weight: 750; }
  .profile-desktop-exit svg { width: 18px; height: 18px; }

  .profile-desktop-canvas { overflow: hidden; }
  .profile-desktop-canvas .profile-shell { height: 100%; }
  .profile-desktop-canvas .profile-head { min-height: 72px; padding: 0 clamp(28px, 4vw, 64px); }
  .profile-desktop-canvas .profile-head .field-head-back { display: none; }
  .profile-desktop-canvas .profile-head .field-head-copy span { font-size: 9px; }
  .profile-desktop-canvas .profile-head .field-head-copy h2 { margin-top: 4px; font-size: 20px; }
  .profile-desktop-canvas .profile-body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-content: start;
    padding: 30px clamp(28px, 4vw, 64px) 60px;
    background: #edf1ec;
  }
  .profile-desktop-canvas .profile-body > * { min-width: 0; grid-column: 1 / -1; margin: 0; border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 4px 16px rgba(20, 38, 27, 0.045); }
  .profile-desktop-canvas .profile-screen-intro { padding: 28px 30px 25px; }
  .profile-desktop-canvas .profile-screen-intro h1 { font-size: 34px; }
  .profile-desktop-canvas .profile-screen-intro > p:last-child { max-width: 690px; font-size: 13px; }
  .profile-desktop-canvas .profile-person { grid-column: 1 / -1; grid-template-columns: 64px minmax(0, 1fr); gap: 17px; padding: 24px 28px; }
  .profile-desktop-canvas .profile-person .profile-avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 21px; }
  .profile-desktop-canvas .profile-person h1 { font-size: 28px; }
  .profile-desktop-canvas .profile-person p { font-size: 13px; }
  .profile-desktop-canvas .profile-summary-card { width: auto; min-height: 112px; padding: 19px; }
  .profile-desktop-canvas .profile-summary-card > span:nth-child(2) > strong { font-size: 17px; }
  .profile-desktop-canvas .profile-summary-card > span:nth-child(2) > b { font-size: 11px; }
  .profile-desktop-canvas .profile-schedule-preview { grid-column: 1 / 7; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:overview"] > .profile-attendance { grid-column: 7 / -1; grid-row: span 2; }
  .profile-desktop-canvas .profile-level-button { grid-column: 1 / 7; }
  .profile-desktop-canvas .profile-destination-list { display: none; }
  .profile-desktop-canvas .profile-offline { grid-column: 1 / -1; width: auto; }

  .profile-desktop-canvas .profile-attendance { overflow: hidden; }
  .profile-desktop-canvas .attendance-status { grid-template-columns: 62px minmax(0, 1fr); padding: 25px 20px 21px; }
  .profile-desktop-canvas .attendance-state-icon { width: 58px; height: 58px; }
  .profile-desktop-canvas .attendance-status-copy strong { font-size: 32px; }
  .profile-desktop-canvas .attendance-actions { padding: 0 20px 20px; }
  .profile-desktop-canvas .attendance-action { min-height: 54px; }

  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"] > .profile-pattern-card { grid-column: 8 / -1; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"] > .profile-section { grid-column: 1 / 8; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"] > .profile-source-boundary { grid-column: 1 / -1; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"]:has(> .schedule-rota-hero) > .schedule-rota-hero { grid-column: 1 / -1; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"]:has(> .schedule-rota-hero) > .schedule-calendar-section { grid-column: 1 / 8; grid-row: 2 / span 2; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"]:has(> .schedule-rota-hero) > .schedule-runs { grid-column: 8 / -1; grid-row: 2; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:schedule"]:has(> .schedule-rota-hero) > .profile-pattern-card { grid-column: 8 / -1; grid-row: 3; }
  .profile-desktop-canvas .profile-pattern-card { padding: 24px; }
  .profile-desktop-canvas .profile-pattern-card strong { font-size: 22px; }
  .profile-desktop-canvas .profile-pattern-card small { font-size: 9px; }
  .profile-desktop-canvas .profile-pattern-card ul { font-size: 11px; }

  .profile-desktop-canvas .profile-body[data-scroll-key="profile:attendance"] > .profile-attendance { grid-column: 1 / 7; }
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:attendance"] > .attendance-history,
  .profile-desktop-canvas .profile-body[data-scroll-key="profile:attendance"] > .profile-empty-panel { grid-column: 7 / -1; }
  .profile-desktop-canvas .attendance-history-row { min-height: 76px; }

  .profile-desktop-canvas .profile-section-head { padding: 17px 20px; }
  .profile-desktop-canvas .profile-section-head strong { font-size: 15px; }
  .profile-desktop-canvas .profile-section-head small { font-size: 10px; }
  .profile-desktop-canvas .profile-list-row { min-height: 72px; padding: 13px 20px; }
  .profile-desktop-canvas .profile-list-row strong { font-size: 13px; }
  .profile-desktop-canvas .profile-list-row small { font-size: 10px; }

  .app[data-profile-route="progression"] .profile-desktop-canvas .profile-role-pay { grid-column: 1 / 7; }
  .app[data-profile-route="progression"] .profile-desktop-canvas .progression-process { grid-column: 7 / -1; }
  .app[data-profile-route="progression"] .profile-desktop-canvas .progression-evidence-inbox,
  .app[data-profile-route="progression"] .profile-desktop-canvas .progression-contribution,
  .app[data-profile-route="progression"] .profile-desktop-canvas .career-path { grid-column: 1 / -1; }
  .app[data-profile-route="pay"] .profile-desktop-canvas .pay-today-grid { grid-column: 1 / 7; }
  .app[data-profile-route="pay"] .profile-desktop-canvas .pay-period-hero { grid-column: 7 / -1; }
  .app[data-profile-route="pay"] .profile-desktop-canvas .pay-calendar-tray { grid-column: 1 / 8; }
  .app[data-profile-route="pay"] .profile-desktop-canvas .pay-records { grid-column: 8 / -1; }
  .app[data-profile-route="pay"] .profile-desktop-canvas .pay-details-disclosure { overflow: hidden; }
  .profile-desktop-canvas .atlas-pay-calendar [data-vc-date], .profile-desktop-canvas .atlas-pay-calendar [data-vc-date-btn] { min-height: 58px; }
  .profile-desktop-canvas .progression-readiness { padding: 18px 20px; }
  .profile-desktop-canvas .progression-readiness strong { font-size: 13px; }
  .profile-desktop-canvas .progression-readiness small { font-size: 10px; }
  .profile-desktop-canvas .profile-role-card { padding: 22px; }
  .profile-desktop-canvas .profile-pay-overview > span { min-height: 92px; padding: 16px 22px; }
  .profile-desktop-canvas .profile-pay-overview strong { font-size: 25px; }
  .profile-desktop-canvas .profile-pay-detail-list > div { min-height: 68px; padding: 13px 22px; }
  .profile-desktop-canvas .progression-process ol { padding: 18px 26px 16px 46px; font-size: 11px; }
  .profile-desktop-canvas .career-path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
  .profile-desktop-canvas .career-path > .profile-section-head { grid-column: 1 / -1; }
  .profile-desktop-canvas .career-family { min-width: 0; border: 0; border-right: 1px solid #e8ece7; border-bottom: 1px solid #e8ece7; }
  .profile-desktop-canvas .career-family:nth-of-type(odd) { border-right: 0; }
  .profile-desktop-canvas .career-family > h2 { padding: 16px 20px 11px; font-size: 11px; }
  .profile-desktop-canvas .career-level-row { min-height: 72px; padding: 11px 20px; }
  .profile-desktop-canvas .career-level-row strong { font-size: 13px; }
  .profile-desktop-canvas .career-level-row small { font-size: 9px; }

  .app[data-profile-route="level"] .profile-desktop-canvas .career-level-hero,
  .app[data-profile-route="level"] .profile-desktop-canvas .level-progress-summary,
  .app[data-profile-route="level"] .profile-desktop-canvas .career-level-pay { grid-column: 1 / -1; }
  .app[data-profile-route="level"] .profile-desktop-canvas .requirement-group { grid-column: span 6; overflow: hidden; }
  .profile-desktop-canvas .career-level-hero { grid-template-columns: 76px minmax(0, 1fr); padding: 28px 30px; }
  .profile-desktop-canvas .career-level-hero h1 { font-size: 31px; }
  .profile-desktop-canvas .career-level-hero div > span { max-width: 740px; font-size: 12px; }
  .profile-desktop-canvas .level-progress-summary { padding: 20px 14px; }
  .profile-desktop-canvas .level-progress-summary strong { font-size: 22px; }
  .profile-desktop-canvas .level-progress-summary small { font-size: 9px; }
  .profile-desktop-canvas .career-level-pay { padding: 18px 24px; }
  .profile-desktop-canvas .career-level-pay strong { font-size: 22px; }
  .profile-desktop-canvas .career-level-pay p { max-width: 420px; font-size: 10px; }
  .profile-desktop-canvas .requirement-row { min-height: 82px; padding: 14px 20px; }
  .profile-desktop-canvas .requirement-row strong { font-size: 12px; }

  .app[data-profile-route="requirement"] .profile-desktop-canvas .requirement-hero,
  .app[data-profile-route="factor"] .profile-desktop-canvas .requirement-hero { grid-column: 1 / -1; }
  .app[data-profile-route="requirement"] .profile-desktop-canvas .profile-guidance,
  .app[data-profile-route="factor"] .profile-desktop-canvas .profile-guidance { grid-column: 1 / 7; }
  .app[data-profile-route="requirement"] .profile-desktop-canvas .profile-guidance + .profile-section,
  .app[data-profile-route="factor"] .profile-desktop-canvas .profile-guidance + .profile-section { grid-column: 7 / -1; }
  .app[data-profile-route="requirement"] .profile-desktop-canvas .profile-source-card { grid-column: 1 / -1; }
  .app[data-profile-route="factor"] .profile-desktop-canvas .profile-safeguards { grid-column: 1 / 7; }
  .app[data-profile-route="factor"] .profile-desktop-canvas .profile-source-card { grid-column: 7 / -1; }
  .profile-desktop-canvas .requirement-hero { padding: 30px; }
  .profile-desktop-canvas .requirement-hero h1 { max-width: 900px; font-size: 29px; }
  .profile-desktop-canvas .requirement-hero blockquote { max-width: 850px; font-size: 13px; }
  .profile-desktop-canvas .profile-guidance { padding: 21px 22px; }
  .profile-desktop-canvas .profile-guidance strong { font-size: 14px; }
  .profile-desktop-canvas .profile-guidance p { font-size: 12px; }
  .profile-desktop-canvas .profile-source-card { padding: 18px 20px; }
  .profile-desktop-canvas .profile-source-card strong { font-size: 11px; }

  .app[data-profile-route="evidence-new"] .profile-desktop-canvas .profile-evidence-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 26px 28px; }
  .profile-desktop-canvas .profile-evidence-form > label:nth-of-type(3),
  .profile-desktop-canvas .profile-evidence-form > .progression-evidence-files,
  .profile-desktop-canvas .profile-evidence-form > .profile-form-boundary { grid-column: 1 / -1; }
  .profile-desktop-canvas .profile-evidence-form label > span { font-size: 11px; }
  .profile-desktop-canvas .profile-evidence-form input,
  .profile-desktop-canvas .profile-evidence-form select,
  .profile-desktop-canvas .profile-evidence-form textarea { font-size: 13px; }
  .profile-desktop-canvas .profile-save-evidence { grid-column: 2; justify-self: end; min-width: 180px; }

  .app[data-profile-route="evidence-inbox"] .profile-desktop-canvas .evidence-inbox-list,
  .app[data-profile-route="evidence-inbox"] .profile-desktop-canvas .profile-source-boundary { grid-column: 1 / -1; }

  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-detail-hero { grid-column: 1 / -1; }
  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-metadata { grid-column: 1 / 7; }
  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-artifact-section { grid-column: 7 / -1; }
  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-analysis-section { grid-column: 1 / -1; }
  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-artifact-section + .profile-section,
  .app[data-profile-route="evidence"] .profile-desktop-canvas .evidence-metadata + .profile-section,
  .app[data-profile-route="evidence"] .profile-desktop-canvas .profile-source-boundary { grid-column: 1 / -1; }
  .profile-desktop-canvas .evidence-detail-hero { padding: 28px 30px; }
  .profile-desktop-canvas .evidence-detail-hero h1 { font-size: 25px; }
  .profile-desktop-canvas .evidence-metadata > div { min-height: 66px; padding: 13px 20px; }
  .profile-desktop-canvas .evidence-metadata span { font-size: 10px; }
  .profile-desktop-canvas .evidence-metadata strong { font-size: 11px; }
  .profile-desktop-canvas .progression-suggestion-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
  .profile-desktop-canvas .progression-suggestion-card > header strong { font-size: 14px; }
  .profile-desktop-canvas .progression-suggestion-reason, .profile-desktop-canvas .progression-suggestion-citation blockquote { font-size: 11px; }

  .app[data-profile-route="documents"] .profile-desktop-canvas .profile-section { overflow: hidden; }
  .app[data-profile-route="documents"] .profile-desktop-canvas .profile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app[data-profile-route="documents"] .profile-desktop-canvas .profile-list-row { border-right: 1px solid #e8ece7; }
  .app[data-profile-route="settings"] .profile-desktop-canvas .profile-account { grid-column: 1 / 8; }
  .app[data-profile-route="settings"] .profile-desktop-canvas .profile-source-boundary { grid-column: 8 / -1; align-self: start; }
}

@media (max-width: 1100px) {
  :root { --rail-width: 300px; --workspace-width: 420px; }
  .topbar-profile { min-width: 38px; width: 38px; grid-template-columns: 1fr; padding: 3px; }
  .topbar-profile-copy, .topbar-profile-chevron { display: none; }
  .topbar-profile-avatar { width: 30px; height: 30px; }
  .data-notice { max-width: 390px; }
  .metric-strip > div { min-width: 76px; padding: 0 9px; }
  .metric-strip span { display: none; }
}

@media (max-width: 760px) {
  :root { --topbar-height: 56px; --rail-width: 100vw; --workspace-width: 100vw; }
  .topbar { padding: 0 8px; }
  .brand { width: auto; flex: 1; border-right: 0; padding-right: 4px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand small { display: none; }
  .scenario-state { display: none; }
  .role-switch button { min-height: 30px; padding: 0 8px; font-size: 10px; }
  .topbar-actions { gap: 5px; }
  .icon-button { width: 34px; height: 34px; }
  .metric-strip {
    top: calc(var(--topbar-height) + 8px);
    left: 8px;
    right: 8px;
    min-height: 40px;
    overflow-x: auto;
  }
  .metric-strip > div { min-width: 72px; padding: 0 9px; }
  .metric-strip span { display: block; font-size: 8px; }
  .metric-strip strong { font-size: 13px; }
  .operations-rail {
    top: auto;
    width: 100%;
    height: min(45vh, 390px);
    border-top: 1px solid var(--border);
    border-right: 0;
    box-shadow: 0 -8px 24px rgba(14, 25, 19, 0.18);
  }
  .rail-head { padding: 12px 14px 8px; }
  .rail-head h1 { font-size: 15px; }
  .rail-footer { display: none; }
  .search-box { height: 36px; }
  .site-workspace {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(76vh, 680px);
    border-top: 1px solid var(--border);
    border-left: 0;
    box-shadow: 0 -10px 30px rgba(14, 25, 19, 0.2);
    transform: translateY(103%);
  }
  .app[data-workspace="open"] .site-workspace { transform: translateY(0); }
  .app[data-workspace="open"] .operations-rail { transform: translateY(103%); }
  .app[data-mode="field"] .site-workspace { width: 100%; height: min(73vh, 650px); }
  .app[data-mode="field"] .metric-strip { left: 8px; }
  .app[data-mode="field"] .map-legend { left: 8px; }
  .workspace-head { padding: 12px 14px 10px; }
  .workspace-head h2 { font-size: 17px; }
  .workspace-tabs button { height: 42px; }
  .workspace-section, .ask-panel { padding-left: 14px; padding-right: 14px; }
  .evidence-contract { padding-left: 14px; padding-right: 14px; }
  .maplibregl-ctrl-top-right { top: 106px; right: 8px; }
  .map-legend { left: 8px; bottom: calc(min(45vh, 390px) + 10px); max-width: calc(100vw - 16px); overflow-x: auto; }
  .app[data-workspace="open"] .map-legend, .app[data-mode="field"] .map-legend { bottom: calc(min(73vh, 650px) + 8px); }
  .data-notice { left: 8px; right: 8px; bottom: calc(min(45vh, 390px) + 10px); max-width: none; transform: none; }
  .app[data-workspace="open"] .data-notice, .app[data-mode="field"] .data-notice { display: none; }
  .layer-popover { top: 48px; right: 8px; width: min(286px, calc(100vw - 16px)); }
  .filter-grid { grid-template-columns: 1fr; max-height: 58vh; overflow-y: auto; }
  .span-two { grid-column: auto; }
  .quick-events { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-form-grid { grid-template-columns: 1fr; }
  .evidence-note { grid-column: auto; }

  html, body, .app { height: 100%; min-height: 100%; }
  @supports (height: 100dvh) {
    html, body, .app { height: 100dvh; }
  }
  .app[data-mode="field"][data-workspace="open"] .topbar,
  .app[data-mode="field"][data-workspace="open"] .metric-strip,
  .app[data-mode="field"][data-workspace="open"] .operations-rail,
  .app[data-mode="field"][data-workspace="open"] .map-legend,
  .app[data-mode="field"][data-workspace="open"] .data-notice,
  .app[data-mode="field"][data-workspace="open"] .maplibregl-ctrl-top-right,
  .app[data-mode="field"][data-workspace="open"] .maplibregl-ctrl-bottom-left { display: none; }
  .app[data-mode="field"][data-workspace="open"]:not([data-field-screen="map"]) #map { visibility: hidden; }
  .app[data-mode="field"][data-workspace="open"] .site-workspace {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: none;
    transform: translateY(102%);
  }
  @supports (height: 100dvh) {
    .app[data-mode="field"][data-workspace="open"] .site-workspace { height: 100dvh; }
  }
  .app[data-mode="field"][data-workspace="open"] .site-workspace { transform: translateY(0); }
  .app[data-mode="field"] .field-home-head { min-height: 72px; padding: calc(10px + env(safe-area-inset-top)) 20px 10px; }
  .app[data-mode="field"] .field-home-brand > svg { width: 38px; height: 38px; padding: 8px; }
  .app[data-mode="field"] .field-home-brand small { font-size: 10px; }
  .app[data-mode="field"] .field-home-brand strong { font-size: 20px; }
  .app[data-mode="field"] .field-home-state { font-size: 12px; }
  .app[data-mode="field"] .field-home-intro { padding: 28px 20px 20px; }
  .app[data-mode="field"] .field-home-intro h1 { font-size: 28px; }
  .app[data-mode="field"] .field-home-intro > p:last-child { font-size: 14px; }
  .app[data-mode="field"] .field-site-group { padding-top: 16px; }
  .app[data-mode="field"] .field-site-group h2 { padding-left: 20px; padding-right: 20px; font-size: 12px; }
  .app[data-mode="field"] .field-site-row { min-height: 108px; padding: 14px 20px 12px; }
  .app[data-mode="field"] .field-site-status strong,
  .app[data-mode="field"] .field-site-status small { font-size: 12px; }
  .app[data-mode="field"] .field-site-copy strong { font-size: 18px; }
  .app[data-mode="field"] .field-site-copy span { font-size: 14px; }
  .app[data-mode="field"] .field-site-copy small { font-size: 12px; }
  .app[data-mode="field"] .field-site-aside > strong { font-size: 16px; }
  .app[data-mode="field"] .field-site-aside > small { font-size: 11px; }
  .app[data-mode="field"] .field-home-boundary { padding: 18px 20px calc(30px + env(safe-area-inset-bottom)); font-size: 12px; }
  .app[data-mode="field"] .field-home-boundary strong { font-size: 13px; }
  .app[data-mode="field"] .field-home-notice { padding-left: 20px; padding-right: 20px; font-size: 13px; }
  .app[data-mode="field"] .field-home-empty strong { font-size: 18px; }
  .app[data-mode="field"] .field-home-empty span { font-size: 14px; }
  .app[data-mode="field"] .field-app-head { min-height: 72px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
  .app[data-mode="field"] .field-head-back { width: 48px; height: 48px; }
  .app[data-mode="field"] .field-head-copy span { font-size: 11px; }
  .app[data-mode="field"] .field-head-copy h2 { font-size: 20px; }
  .app[data-mode="field"] .field-save-state span { font-size: 12px; }
  .app[data-mode="field"] .field-save-state small { font-size: 10px; }
  .app[data-mode="field"] .field-bottom-nav { min-height: 70px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .app[data-mode="field"] .field-bottom-nav button { min-height: 58px; font-size: 12px; }
  .app[data-mode="field"] .field-nav-icon svg { width: 22px; height: 22px; }
  .app[data-mode="field"] .field-workspace-body { scroll-padding-bottom: 20px; }
  .app[data-mode="field"] .field-task-hero,
  .app[data-mode="field"] .field-photo-intro,
  .app[data-mode="field"] .field-screen-intro { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-evidence-unavailable { padding: 38px 20px; }
  .app[data-mode="field"] .field-evidence-unavailable h1 { font-size: 28px; }
  .app[data-mode="field"] .field-evidence-unavailable > p:last-of-type { font-size: 14px; }
  .app[data-mode="field"] .field-evidence-unavailable > div { font-size: 13px; }
  .app[data-mode="field"] .field-evidence-unavailable > div strong { font-size: 14px; }
  .app[data-mode="field"] .field-task-hero .eyebrow,
  .app[data-mode="field"] .field-photo-intro .eyebrow,
  .app[data-mode="field"] .field-screen-intro .eyebrow { font-size: 11px; }
  .app[data-mode="field"] .field-task-title h1,
  .app[data-mode="field"] .field-photo-intro h1,
  .app[data-mode="field"] .field-screen-intro h1 { font-size: 24px; }
  .app[data-mode="field"] .field-task-meta,
  .app[data-mode="field"] .field-photo-intro > p:last-child,
  .app[data-mode="field"] .field-screen-intro > p:last-child { font-size: 14px; line-height: 1.45; }
  .app[data-mode="field"] .field-next-action > span { font-size: 11px; }
  .app[data-mode="field"] .field-next-action > div strong { font-size: 17px; }
  .app[data-mode="field"] .field-next-action > div small { font-size: 13px; }
  .app[data-mode="field"] .field-primary-action { min-height: 56px; font-size: 15px; border-radius: 10px; }
  .app[data-mode="field"] .field-safety-band { padding: 18px 20px; }
  .app[data-mode="field"] .field-safety-heading > span,
  .app[data-mode="field"] .field-critical-item strong,
  .app[data-mode="field"] .field-access-row strong { font-size: 14px; }
  .app[data-mode="field"] .field-safety-heading small { font-size: 12px; }
  .app[data-mode="field"] .field-critical-item span,
  .app[data-mode="field"] .field-access-row > span { font-size: 13px; }
  .app[data-mode="field"] .field-access-row a { min-height: 48px; padding: 0 12px; font-size: 12px; }
  .app[data-mode="field"] .field-inline-status { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-inline-status span,
  .app[data-mode="field"] .field-inline-status strong { font-size: 13px; }
  .app[data-mode="field"] .field-secondary-actions { padding: 14px 20px; }
  .app[data-mode="field"] .field-secondary-actions button { min-height: 50px; font-size: 14px; }
  .app[data-mode="field"] .field-disclosure > summary { min-height: 60px; padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-disclosure > summary strong { font-size: 14px; }
  .app[data-mode="field"] .field-disclosure > summary small { font-size: 12px; }
  .app[data-mode="field"] .field-disclosure-content { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-site-details h3 { font-size: 12px; }
  .app[data-mode="field"] .field-site-details p,
  .app[data-mode="field"] .field-site-details p strong { font-size: 14px; }
  .app[data-mode="field"] .field-menu-list { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-menu-list > button { min-height: 74px; }
  .app[data-mode="field"] .field-menu-icon { width: 44px; height: 44px; }
  .app[data-mode="field"] .field-menu-list strong { font-size: 15px; }
  .app[data-mode="field"] .field-menu-list small { font-size: 12px; }
  .app[data-mode="field"] .field-photo-stages {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(106px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding: 6px 20px 16px;
    scrollbar-width: none;
  }
  .app[data-mode="field"] .field-photo-stages::-webkit-scrollbar { display: none; }
  .app[data-mode="field"] .field-photo-stages button { min-height: 68px; }
  .app[data-mode="field"] .field-photo-stages strong { font-size: 12px; }
  .app[data-mode="field"] .field-photo-stages small { font-size: 11px; }
  .app[data-mode="field"] .field-requirement-picker { padding: 12px 20px; font-size: 13px; }
  .app[data-mode="field"] .field-requirement-picker select { min-height: 50px; font-size: 16px; }
  .app[data-mode="field"] .field-authority-status { padding: 13px 20px; }
  .app[data-mode="field"] .field-authority-status span,
  .app[data-mode="field"] .field-authority-status strong { font-size: 12px; }
  .app[data-mode="field"] .field-authority-status strong { font-size: 13px; }
  .app[data-mode="field"] .field-photo-screen > .evidence-capture-form { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-camera-action { min-height: 64px; border-radius: 11px; }
  .app[data-mode="field"] .field-camera-action strong { font-size: 16px; }
  .app[data-mode="field"] .field-camera-action small { font-size: 12px; }
  .app[data-mode="field"] .field-photo-details { margin-left: -20px; margin-right: -20px; }
  .app[data-mode="field"] .evidence-form-grid label,
  .app[data-mode="field"] .safe-capture-form label { font-size: 13px; }
  .app[data-mode="field"] .evidence-form-grid select,
  .app[data-mode="field"] .evidence-form-grid input,
  .app[data-mode="field"] .safe-capture-form select,
  .app[data-mode="field"] .safe-capture-form textarea { min-height: 50px; font-size: 16px; }
  .app[data-mode="field"] .evidence-consent,
  .app[data-mode="field"] .evidence-location-note { min-height: 52px; font-size: 14px; }
  .app[data-mode="field"] .evidence-consent small,
  .app[data-mode="field"] .evidence-location-note small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
  .app[data-mode="field"] .field-upload-action,
  .app[data-mode="field"] .safe-capture-form .button,
  .app[data-mode="field"] .field-office-switch { min-height: 50px; font-size: 14px; }
  .app[data-mode="field"] .form-help { font-size: 12px; }
  .app[data-mode="field"] .field-captured-summary > div:first-child { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-captured-summary > div:first-child strong { font-size: 14px; }
  .app[data-mode="field"] .field-captured-summary > div:first-child small { font-size: 12px; }
  .app[data-mode="field"] .field-photo-preview > span { width: 48px; height: 48px; }
  .app[data-mode="field"] .field-evidence-rules .field-disclosure-content h3 { font-size: 14px; }
  .app[data-mode="field"] .field-evidence-rules .field-disclosure-content p,
  .app[data-mode="field"] .field-evidence-rules .evidence-conflict,
  .app[data-mode="field"] .field-evidence-rules .review-boundary { font-size: 12px; }
  .app[data-mode="field"] .evidence-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app[data-mode="field"] .evidence-card-copy strong { font-size: 12px; }
  .app[data-mode="field"] .evidence-card-copy span,
  .app[data-mode="field"] .evidence-card-copy small,
  .app[data-mode="field"] .evidence-card-copy em { font-size: 11px; }
  .app[data-mode="field"] .timeline-day,
  .app[data-mode="field"] .timeline-time { font-size: 12px; }
  .app[data-mode="field"] .workspace-section .segmented button { min-height: 48px; font-size: 13px; }
  .app[data-mode="field"] .timeline-copy strong { font-size: 14px; }
  .app[data-mode="field"] .timeline-copy span,
  .app[data-mode="field"] .briefing-item,
  .app[data-mode="field"] .ask-intro,
  .app[data-mode="field"] .answer-box p { font-size: 13px; }
  .app[data-mode="field"] .briefing-section h4,
  .app[data-mode="field"] .answer-box strong { font-size: 14px; }
  .app[data-mode="field"] .suggested-questions button,
  .app[data-mode="field"] .source-link { min-height: 48px; font-size: 12px; }
  .app[data-mode="field"] .ask-form { grid-template-columns: minmax(0, 1fr) 48px; }
  .app[data-mode="field"] .ask-form input { height: 50px; font-size: 16px; }
  .app[data-mode="field"] .ask-form .icon-button { width: 48px; height: 50px; }
  .app[data-mode="field"] .source-link strong { font-size: 12px; }
  .app[data-mode="field"] .source-link small { font-size: 11px; }
  .app[data-mode="field"] .record-copy strong { font-size: 14px; }
  .app[data-mode="field"] .record-copy span,
  .app[data-mode="field"] .record-copy small,
  .app[data-mode="field"] .record-aside { font-size: 12px; }
  .app[data-mode="field"] .status-label { font-size: 11px; }
  .app[data-mode="field"] .exception-row,
  .app[data-mode="field"] .review-boundary { font-size: 12px; }
  .app[data-mode="field"] .citation-button { min-width: 48px; min-height: 48px; font-size: 12px; vertical-align: middle; }
  .app[data-mode="field"] .toast-stack { right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .app[data-mode="field"] .toast { padding: 13px 14px; font-size: 13px; }
  .app[data-mode="field"] .toast strong { font-size: 14px; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-top-right,
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-bottom-left { display: block; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-group button { width: 48px; height: 48px; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-group button .maplibregl-ctrl-icon { background-size: 22px 22px; }
  .app[data-mode="field"] .field-sheet-head button { width: 48px; height: 48px; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-attrib-button { width: 48px; height: 48px; background-size: 22px 22px; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-top-right { top: calc(82px + env(safe-area-inset-top)); right: 10px; }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-bottom-left { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .app[data-mode="field"][data-field-screen="map"] .maplibregl-ctrl-bottom-right { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .app[data-mode="field"] .field-action-sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: calc(82dvh - env(safe-area-inset-top));
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border: 0;
    border-radius: 20px 20px 0 0;
  }
  .app[data-mode="field"] .field-sheet-handle { width: 42px; height: 5px; display: block; margin: 8px auto 0; border-radius: 3px; background: #c5cdc6; }
  .app[data-mode="field"] .field-sheet-head { padding: 12px 20px 10px; }
  .app[data-mode="field"] .field-sheet-head h2 { font-size: 22px; }
  .app[data-mode="field"] .field-issue-options { padding-left: 20px; padding-right: 20px; }
  .app[data-mode="field"] .field-issue-options button { min-height: 64px; }
  .app[data-mode="field"] .field-issue-options strong { font-size: 15px; }
  .app[data-mode="field"] .field-issue-options small { font-size: 12px; }
  .app[data-mode="field"] .field-sheet-cancel { min-height: 50px; margin-left: 20px; margin-right: 20px; width: calc(100% - 40px); font-size: 14px; }
}

@media (max-width: 390px) {
  .topbar .brand strong { font-size: 13px; }
  .brand-mark { display: none; }
  .topbar-actions { margin-left: 4px; }
  .role-switch button { padding: 0 6px; }
  .metric-strip > div { min-width: 58px; }
  .quick-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progression-suggestion-card > header { display: grid; }
  .progression-disposition-state { justify-self: start; }
  .progression-disposition-actions { grid-template-columns: 1fr; }
  .progression-disposition-actions label, .progression-disposition-actions label + .button { grid-column: 1; }
}

.spray-office-tools { display: grid; gap: 6px; margin: 8px; }
.spray-office-tools .spray-demo-launch { width: 100%; margin: 0; }
.spray-demo-launch {
  width: calc(100% - 16px);
  min-height: 62px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  margin: 8px;
  padding: 9px 10px;
  border: 1px solid var(--secondary);
  border-radius: 9px;
  background: var(--amber-soft);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.spray-demo-launch:hover { border-color: var(--amber); background: var(--amber-soft); }
.spray-demo-launch > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--secondary); color: var(--ink); }
.spray-demo-launch > span:first-child svg { width: 19px; height: 19px; }
.spray-demo-launch > span:nth-child(2), .spray-demo-launch strong, .spray-demo-launch small { min-width: 0; display: block; }
.spray-demo-launch strong { font-size: 11px; }
.spray-demo-launch small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.spray-demo-launch > svg { width: 16px; color: var(--ink-soft); }
.spray-catalogue-launch { border-color: #a9cdb7; background: #f2f8f3; }
.spray-catalogue-launch:hover { border-color: var(--green); background: var(--green-soft); }
.spray-catalogue-launch > span:first-child { background: var(--green); color: var(--ink); }
.spray-catalogue-launch small, .spray-catalogue-launch > svg { color: #265f42; }

.app[data-spray-demo="true"] #map,
.app[data-spray-demo="true"] .metric-strip,
.app[data-spray-demo="true"] .operations-rail,
.app[data-spray-demo="true"] .map-legend,
.app[data-spray-demo="true"] .data-notice,
.app[data-spray-demo="true"] .maplibregl-ctrl-top-right,
.app[data-spray-demo="true"] .maplibregl-ctrl-bottom-left { display: none; }
.app[data-spray-demo="true"] #layerButton,
.app[data-spray-demo="true"] #filterButton,
.app[data-spray-demo="true"] .role-switch,
.app[data-spray-demo="true"] .topbar-profile { visibility: hidden; pointer-events: none; }
.app[data-spray-demo="true"] .topbar-actions { display: none; }
.app[data-spray-demo="true"] .brand { width: auto; border-right: 0; }
.app[data-spray-demo="true"] .site-workspace {
  inset: var(--topbar-height) 0 0;
  width: 100%;
  height: auto;
  border: 0;
  background: var(--background);
  box-shadow: none;
  transform: none;
}

.app[data-spray-catalogue="true"] #map,
.app[data-spray-catalogue="true"] .metric-strip,
.app[data-spray-catalogue="true"] .operations-rail,
.app[data-spray-catalogue="true"] .map-legend,
.app[data-spray-catalogue="true"] .data-notice,
.app[data-spray-catalogue="true"] .maplibregl-ctrl-top-right,
.app[data-spray-catalogue="true"] .maplibregl-ctrl-bottom-left { display: none; }
.app[data-spray-catalogue="true"] #layerButton,
.app[data-spray-catalogue="true"] #filterButton,
.app[data-spray-catalogue="true"] .role-switch,
.app[data-spray-catalogue="true"] .topbar-profile { visibility: hidden; pointer-events: none; }
.app[data-spray-catalogue="true"] .topbar-actions { display: none; }
.app[data-spray-catalogue="true"] .brand { width: auto; border-right: 0; }
.app[data-spray-catalogue="true"] .site-workspace {
  inset: var(--topbar-height) 0 0;
  width: 100%;
  height: auto;
  border: 0;
  background: var(--background);
  box-shadow: none;
  transform: none;
}

.spray-demo-shell { height: 100%; min-height: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: var(--background); }
.spray-demo-banner {
  position: relative;
  z-index: 3;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--secondary);
  background: var(--secondary);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(70, 43, 5, 0.18);
}
.spray-demo-banner > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.spray-demo-banner > div > svg { flex: 0 0 auto; width: 23px; height: 23px; color: var(--accent); }
.spray-demo-banner span, .spray-demo-banner strong, .spray-demo-banner small { min-width: 0; display: block; }
.spray-demo-banner strong { font-size: 12px; letter-spacing: 0.08em; }
.spray-demo-banner small { margin-top: 3px; color: var(--ink); font-size: 9px; }
.spray-demo-banner > button { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,0.26); border-radius: 8px; background: rgba(255,255,255,0.08); color: white; cursor: pointer; }
.spray-demo-banner > button:hover { background: rgba(255,255,255,0.16); }
.spray-demo-banner > button svg { width: 19px; height: 19px; }

.spray-demo-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 clamp(12px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
  background: white;
  box-shadow: 0 2px 8px rgba(20, 32, 24, 0.05);
}
.spray-demo-steps button { min-width: 0; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink-soft); cursor: pointer; }
.spray-demo-steps button:hover { background: #f7f8f5; }
.spray-demo-steps button.is-active { border-bottom-color: var(--amber); background: #fff9ed; color: #6f4409; }
.spray-demo-steps button > span { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e7eae5; font-size: 9px; font-weight: 800; }
.spray-demo-steps button.is-active > span { background: var(--secondary); color: var(--ink); }
.spray-demo-steps strong { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.spray-demo-body { min-height: 0; overflow-y: auto; padding: clamp(18px, 4vw, 42px); outline: 0; }
.spray-demo-panel { width: min(1080px, 100%); margin: 0 auto; }
.spray-demo-panel-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 22px; }
.spray-demo-panel-head > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: #fff3d9; color: #7a4b09; }
.spray-demo-panel-head > span svg { width: 26px; height: 26px; }
.spray-demo-panel-head h1 { margin: 3px 0 6px; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.08; letter-spacing: -0.035em; }
.spray-demo-panel-head p:last-child { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.spray-demo-panel .eyebrow { color: #7a4b09; }

.spray-demo-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: white; box-shadow: 0 5px 18px rgba(20, 35, 25, 0.04); }
.spray-demo-facts > div { min-width: 0; padding: 19px 21px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spray-demo-facts > div:nth-child(even) { border-right: 0; }
.spray-demo-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.spray-demo-facts dt, .spray-demo-facts dd { margin: 0; }
.spray-demo-facts dt { color: var(--ink-soft); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.spray-demo-facts dd { margin-top: 7px; font-size: 15px; font-weight: 750; overflow-wrap: anywhere; }

.spray-demo-boundary { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 11px; margin-top: 18px; padding: 15px 17px; border-left: 4px solid var(--amber); border-radius: 5px 10px 10px 5px; background: var(--amber-soft); color: #6e470d; }
.spray-demo-boundary.is-critical { border-left-color: var(--red); background: var(--red-soft); color: #702b25; }
.spray-demo-boundary > svg { width: 21px; height: 21px; }
.spray-demo-boundary span, .spray-demo-boundary strong, .spray-demo-boundary small { min-width: 0; display: block; }
.spray-demo-boundary strong { color: var(--ink); font-size: 11px; }
.spray-demo-boundary small { margin-top: 4px; font-size: 10px; line-height: 1.5; }

.spray-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spray-source-card { min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: white; box-shadow: 0 4px 12px rgba(20, 35, 25, 0.035); }
.spray-source-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.spray-source-card-head > span:first-child, .spray-source-card strong, .spray-source-card small { min-width: 0; display: block; }
.spray-source-card strong { font-size: 11px; line-height: 1.35; }
.spray-source-card small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.spray-source-state { flex: 0 0 auto; padding: 4px 6px; border-radius: 5px; background: var(--green-soft); color: #195c3a; font-size: 8px; font-weight: 800; }
.spray-source-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 13px 0; }
.spray-source-card dl div { min-width: 0; padding: 8px; border-radius: 6px; background: #f4f6f2; }
.spray-source-card dt, .spray-source-card dd { margin: 0; overflow-wrap: anywhere; }
.spray-source-card dt { color: var(--ink-soft); font-size: 7px; font-weight: 750; text-transform: uppercase; }
.spray-source-card dd { margin-top: 3px; font-size: 8px; line-height: 1.35; }
.spray-source-card code, .spray-snapshot code, .spray-review-receipt code { display: block; padding: 9px; overflow-wrap: anywhere; border: 1px solid #e1e5df; border-radius: 6px; background: #f7f8f5; color: #34463b; font-size: 8px; line-height: 1.5; }

.spray-gate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spray-gate-card { min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: white; }
.spray-gate-card > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green); }
.spray-gate-card > span svg { width: 18px; height: 18px; }
.spray-gate-card strong, .spray-gate-card small { display: block; }
.spray-gate-card strong { font-size: 11px; }
.spray-gate-card small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.35; }

.spray-readiness-status { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: white; }
.spray-readiness-status > svg { width: 29px; height: 29px; }
.spray-readiness-status.is-blocked { border-color: #e2aaa5; background: var(--red-soft); color: #7d2b25; }
.spray-readiness-status.is-review { border-color: #e4c37f; background: var(--amber-soft); color: #75490a; }
.spray-readiness-status.is-reviewable { border-color: #a9cdb7; background: var(--green-soft); color: #175c38; }
.spray-readiness-status strong, .spray-readiness-status small { display: block; }
.spray-readiness-status strong { font-size: 14px; }
.spray-readiness-status small { margin-top: 4px; font-size: 10px; line-height: 1.4; }
.spray-snapshot { margin-top: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: white; }
.spray-snapshot > span, .spray-snapshot > small { display: block; }
.spray-snapshot > span { margin-bottom: 8px; color: var(--ink-soft); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.spray-snapshot > small { margin-top: 8px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.spray-blocker-list { display: grid; gap: 9px; margin-top: 14px; }
.spray-blocker-list > article, .spray-no-blockers { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 10px; padding: 13px; border: 1px solid #e2b5af; border-radius: 9px; background: white; }
.spray-blocker-list > article > span, .spray-no-blockers > svg { color: var(--red); }
.spray-blocker-list > article svg, .spray-no-blockers > svg { width: 20px; height: 20px; }
.spray-blocker-list strong, .spray-blocker-list small, .spray-blocker-list p, .spray-no-blockers strong, .spray-no-blockers small { display: block; margin: 0; }
.spray-blocker-list strong, .spray-no-blockers strong { font-size: 11px; }
.spray-blocker-list small, .spray-no-blockers small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.spray-blocker-list p { margin-top: 7px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.spray-no-blockers { border-color: #b9d4c2; }
.spray-no-blockers > svg { color: var(--green); }

.spray-review-action, .spray-review-receipt { padding: 19px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.spray-review-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.spray-review-action > div, .spray-review-receipt > div:first-child { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
.spray-review-action > div > svg, .spray-review-receipt > div:first-child > svg { width: 26px; height: 26px; color: #744709; }
.spray-review-action strong, .spray-review-action small, .spray-review-receipt strong, .spray-review-receipt small { display: block; }
.spray-review-action strong, .spray-review-receipt strong { font-size: 12px; }
.spray-review-action small, .spray-review-receipt small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.spray-review-action .button { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.spray-review-action .button svg { width: 17px; height: 17px; }
.spray-review-receipt { border-color: #a9cdb7; }
.spray-review-receipt dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 11px; }
.spray-review-receipt dl div { padding: 9px; border-radius: 7px; background: #f1f5f0; }
.spray-review-receipt dt, .spray-review-receipt dd { margin: 0; overflow-wrap: anywhere; }
.spray-review-receipt dt { color: var(--ink-soft); font-size: 8px; text-transform: uppercase; }
.spray-review-receipt dd { margin-top: 4px; font-size: 9px; font-weight: 700; }

.spray-demo-state { width: min(680px, 100%); display: grid; justify-items: start; gap: 12px; margin: 30px auto; padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.spray-demo-state > svg { width: 30px; height: 30px; color: var(--red); }
.spray-demo-state h1, .spray-demo-state p { margin: 0; }
.spray-demo-state p { color: var(--ink-soft); font-size: 11px; }
.spray-demo-state .loading-line { width: 100%; }
.spray-demo-state .loading-line.short { width: 60%; }
.spray-demo-footer { min-height: 52px; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px clamp(16px, 4vw, 48px); border-top: 1px solid var(--border); background: #e8ece6; color: var(--ink-soft); }
.spray-demo-footer > svg { width: 19px; height: 19px; color: #684109; }
.spray-demo-footer strong, .spray-demo-footer small { display: block; }
.spray-demo-footer strong { color: var(--ink); font-size: 9px; }
.spray-demo-footer small { margin-top: 2px; font-size: 8px; line-height: 1.35; }

.spray-catalogue-shell { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--background); }
.spray-catalogue-banner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--accent);
  background: var(--accent);
  color: white;
}
.spray-catalogue-banner > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.spray-catalogue-banner > div > svg { flex: 0 0 auto; width: 22px; height: 22px; color: white; }
.spray-catalogue-banner span, .spray-catalogue-banner strong, .spray-catalogue-banner small { min-width: 0; display: block; }
.spray-catalogue-banner strong { font-size: 12px; letter-spacing: 0.07em; }
.spray-catalogue-banner small { margin-top: 2px; color: #e4e7ff; font-size: 9px; }
.spray-catalogue-banner > button { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; background: rgba(255,255,255,0.08); color: white; cursor: pointer; }
.spray-catalogue-banner > button:hover { background: rgba(255,255,255,0.16); }
.spray-catalogue-banner > button svg { width: 19px; height: 19px; }
.spray-catalogue-body { min-height: 0; overflow-y: auto; padding: clamp(18px, 4vw, 42px); outline: 0; }
.spray-catalogue-panel { width: min(1160px, 100%); margin: 0 auto; }
.spray-catalogue-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.spray-catalogue-intro h1, .spray-catalogue-intro p { margin: 0; }
.spray-catalogue-intro h1 { margin-top: 4px; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.035em; }
.spray-catalogue-intro p:last-child { max-width: 720px; margin-top: 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.spray-catalogue-intro .button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.spray-catalogue-intro .button svg { width: 16px; height: 16px; }
.spray-catalogue-search { display: grid; grid-template-columns: minmax(190px, 0.7fr) minmax(260px, 1.4fr) auto auto; gap: 9px; align-items: end; padding: 14px; border: 1px solid var(--border); background: white; }
.spray-catalogue-search label, .spray-catalogue-search label > span { min-width: 0; display: block; }
.spray-catalogue-search label > span { margin-bottom: 5px; color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.spray-catalogue-search input, .spray-catalogue-search select { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.spray-catalogue-search input { padding: 9px 11px; }
.spray-catalogue-search select { padding: 8px 30px 8px 10px; }
.spray-catalogue-search .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.spray-catalogue-search .button svg { width: 16px; height: 16px; }
.spray-catalogue-result-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 360px); gap: 16px; align-items: center; padding: 13px 15px; border: 1px solid var(--border); border-top: 0; background: #f8faf7; }
.spray-catalogue-result-head span, .spray-catalogue-result-head strong, .spray-catalogue-result-head small { min-width: 0; display: block; }
.spray-catalogue-result-head strong { font-size: 11px; }
.spray-catalogue-result-head small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.spray-catalogue-result-head code { min-width: 0; overflow: hidden; color: #4d5f54; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.spray-catalogue-results { display: grid; gap: 12px; margin-top: 14px; }
.spray-catalogue-product { min-width: 0; border: 1px solid var(--border); background: white; }
.spray-catalogue-product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px; border-bottom: 1px solid var(--border); }
.spray-catalogue-product-head > div:first-child { min-width: 0; }
.spray-catalogue-product-head h2, .spray-catalogue-product-head p { margin: 0; }
.spray-catalogue-product-head h2 { margin-top: 4px; font-size: 22px; line-height: 1.1; }
.spray-catalogue-product-head p:last-child { margin-top: 7px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.spray-catalogue-product-state { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.spray-catalogue-chip { padding: 5px 7px; border: 1px solid #ccd3ce; border-radius: 99px; background: #f5f7f4; color: #48584e; font-size: 8px; font-weight: 800; white-space: nowrap; }
.spray-catalogue-chip.is-source { border-color: #a6cab4; background: var(--green-soft); color: #195c3a; }
.spray-catalogue-chip.is-candidate { border-color: #adc5df; background: #edf5fd; color: #245d90; }
.spray-catalogue-designations { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--border); background: #fafbf9; }
.spray-catalogue-designations > div { min-width: 0; padding: 11px 13px; border-right: 1px solid var(--border); }
.spray-catalogue-designations > div:last-child { border-right: 0; }
.spray-catalogue-designations dt, .spray-catalogue-designations dd { margin: 0; overflow-wrap: anywhere; }
.spray-catalogue-designations dt { color: var(--ink-soft); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.spray-catalogue-designations dd { margin-top: 4px; font-size: 9px; font-weight: 750; }
.spray-catalogue-pack-line { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 440px); gap: 14px; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--border); }
.spray-catalogue-pack-line span, .spray-catalogue-pack-line strong, .spray-catalogue-pack-line small { min-width: 0; display: block; }
.spray-catalogue-pack-line strong { font-size: 10px; }
.spray-catalogue-pack-line small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-catalogue-pack-line code { min-width: 0; overflow: hidden; color: #4d5f54; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.spray-catalogue-facts { margin: 0; }
.spray-catalogue-facts > summary { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; cursor: pointer; list-style: none; }
.spray-catalogue-facts > summary::-webkit-details-marker { display: none; }
.spray-catalogue-facts > summary span, .spray-catalogue-facts > summary strong, .spray-catalogue-facts > summary small { min-width: 0; display: block; }
.spray-catalogue-facts > summary strong { font-size: 10px; }
.spray-catalogue-facts > summary small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-catalogue-facts > summary > svg { width: 17px; height: 17px; transition: transform 0.15s ease; }
.spray-catalogue-facts[open] > summary > svg { transform: rotate(180deg); }
.spray-catalogue-facts > div { border-top: 1px solid var(--border); }
.spray-catalogue-fact { display: grid; grid-template-columns: minmax(140px, 0.48fr) minmax(180px, 0.8fr) minmax(220px, 1.15fr) minmax(280px, 1.5fr); gap: 12px; align-items: start; padding: 13px 15px; border-bottom: 1px solid var(--border); }
.spray-catalogue-fact:last-child { border-bottom: 0; }
.spray-catalogue-fact > header { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.spray-catalogue-fact > header span, .spray-catalogue-fact > header strong, .spray-catalogue-fact > header small { min-width: 0; display: block; }
.spray-catalogue-fact > header strong { font-size: 9px; }
.spray-catalogue-fact > header small { margin-top: 3px; color: var(--ink-soft); font-size: 7px; overflow-wrap: anywhere; }
.spray-catalogue-fact-value, .spray-catalogue-fact-note { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.spray-catalogue-fact-value { font-size: 10px; font-weight: 750; line-height: 1.45; }
.spray-catalogue-fact-note { color: var(--ink-soft); font-size: 8px; line-height: 1.5; }
.spray-catalogue-citations { min-width: 0; display: grid; gap: 5px; }
.spray-catalogue-citations a { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 15px; gap: 7px; padding: 7px 8px; border-left: 2px solid #91bda3; background: #f5f8f5; color: var(--ink); text-decoration: none; }
.spray-catalogue-citations a:hover { background: var(--green-soft); }
.spray-catalogue-citations span, .spray-catalogue-citations strong, .spray-catalogue-citations small { min-width: 0; display: block; }
.spray-catalogue-citations strong { font-size: 8px; line-height: 1.35; }
.spray-catalogue-citations small { margin-top: 2px; color: var(--ink-soft); font-size: 7px; line-height: 1.4; }
.spray-catalogue-citations svg { width: 13px; height: 13px; }
.spray-catalogue-empty { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: center; padding: 24px; border: 1px solid var(--border); background: white; }
.spray-catalogue-empty > svg { width: 26px; height: 26px; color: var(--ink-soft); }
.spray-catalogue-empty span, .spray-catalogue-empty strong, .spray-catalogue-empty small { min-width: 0; display: block; }
.spray-catalogue-empty strong { font-size: 12px; }
.spray-catalogue-empty small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.spray-catalogue-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px clamp(16px, 4vw, 48px); border-top: 1px solid var(--border); background: #e8ece6; color: var(--ink-soft); font-size: 8px; }

@media (max-width: 720px) {
  .app[data-spray-demo="true"] .scenario-state { display: none; }
  .app[data-spray-catalogue="true"] .scenario-state { display: none; }
  .spray-demo-banner { padding-left: 14px; padding-right: 12px; }
  .spray-demo-banner small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .spray-demo-steps { grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); grid-template-columns: none; overflow-x: auto; padding: 0 8px; scrollbar-width: none; }
  .spray-demo-steps::-webkit-scrollbar { display: none; }
  .spray-demo-steps button { min-height: 58px; }
  .spray-demo-body { padding: 20px 14px 28px; }
  .spray-demo-panel-head { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin-bottom: 17px; }
  .spray-demo-panel-head > span { width: 44px; height: 44px; border-radius: 12px; }
  .spray-demo-panel-head > span svg { width: 22px; height: 22px; }
  .spray-demo-panel-head h1 { font-size: 25px; }
  .spray-demo-facts, .spray-source-list, .spray-gate-grid { grid-template-columns: 1fr; }
  .spray-demo-facts > div { border-right: 0; }
  .spray-demo-facts > div:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .spray-source-card dl { grid-template-columns: 1fr; }
  .spray-review-action { grid-template-columns: 1fr; }
  .spray-review-action .button { width: 100%; justify-content: center; }
  .spray-review-receipt dl { grid-template-columns: 1fr; }
  .spray-demo-footer small { max-height: 25px; overflow: hidden; }
  .spray-catalogue-banner { padding-left: 14px; padding-right: 12px; }
  .spray-catalogue-banner small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .spray-catalogue-body { padding: 20px 12px 28px; }
  .spray-catalogue-intro { display: grid; align-items: start; }
  .spray-catalogue-intro .button { width: 100%; justify-content: center; }
  .spray-catalogue-search { grid-template-columns: 1fr; }
  .spray-catalogue-search input, .spray-catalogue-search select { min-height: 48px; font-size: 16px; }
  .spray-catalogue-search .button { min-height: 48px; }
  .spray-catalogue-result-head { grid-template-columns: 1fr; gap: 7px; }
  .spray-catalogue-product-head { display: grid; }
  .spray-catalogue-product-state { justify-content: flex-start; }
  .spray-catalogue-designations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spray-catalogue-designations > div { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .spray-catalogue-designations > div:nth-child(even) { border-right: 0; }
  .spray-catalogue-designations > div:last-child { border-bottom: 0; }
  .spray-catalogue-pack-line { grid-template-columns: 1fr; gap: 7px; }
  .spray-catalogue-fact { grid-template-columns: 1fr; }
  .spray-catalogue-fact > header { justify-content: flex-start; }
  .spray-catalogue-footer { align-items: flex-start; }
}

.spray-plan-shell { display: grid; gap: 12px; padding: 16px; background: var(--background); }
.spray-plan-shell h3, .spray-plan-shell h4, .spray-plan-shell p { margin-top: 0; }
.spray-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--border); background: white; }
.spray-plan-head h3 { margin-bottom: 5px; font-size: 20px; }
.spray-plan-head p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 10px; }
.spray-draft-state { flex: 0 0 auto; padding: 6px 8px; border-radius: 99px; background: var(--green-soft); color: #195c3a; font-size: 8px; font-weight: 800; }
.spray-visit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); background: white; }
.spray-visit-facts > div { min-width: 0; padding: 12px 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spray-visit-facts > div:nth-child(even) { border-right: 0; }
.spray-visit-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.spray-visit-facts small, .spray-visit-facts strong, .spray-visit-facts span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spray-visit-facts small { color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spray-visit-facts strong { margin-top: 5px; font-size: 14px; }
.spray-visit-facts span { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-site-conditions ul { display: grid; gap: 3px; margin: 7px 0 0; padding: 0; list-style: none; }
.spray-site-conditions li { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 5px; align-items: start; }
.spray-site-conditions li b { color: #365a47; font-size: 7px; text-transform: uppercase; letter-spacing: .04em; }
.spray-site-conditions li span { margin: 0; overflow: visible; color: var(--ink-soft); line-height: 1.25; text-overflow: clip; white-space: normal; }
.spray-flow-section { padding: 14px; border: 1px solid var(--border); background: white; }
.spray-flow-section.is-muted { opacity: .64; }
.spray-flow-section > header { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; margin-bottom: 12px; }
.spray-flow-section > header > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 9px; font-weight: 800; }
.spray-flow-section h4 { margin: 0; font-size: 13px; }
.spray-flow-section header p { margin: 3px 0 0; color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.spray-inline-action { min-height: 32px; padding: 0 9px; border: 0; border-radius: 6px; background: var(--green-soft); color: var(--green); font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.spray-area-summary, .spray-selected-product { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: #f3f6f2; }
.spray-area-summary span, .spray-selected-product span, .spray-area-summary strong, .spray-area-summary small, .spray-selected-product strong, .spray-selected-product small { min-width: 0; display: block; }
.spray-area-summary strong, .spray-selected-product strong { font-size: 11px; }
.spray-area-summary small, .spray-selected-product small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-area-summary .button { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.spray-area-summary svg, .spray-selected-product > svg { width: 18px; color: var(--green); }
.spray-office-draw-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 8px; padding: 8px; background: #edf4fa; }
.spray-office-draw-controls > span { min-width: 0; margin-right: auto; }
.spray-office-draw-controls strong, .spray-office-draw-controls small { display: block; }
.spray-office-draw-controls strong { font-size: 10px; }
.spray-office-draw-controls small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-office-draw-controls button { min-height: 38px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.spray-office-draw-controls button:disabled { opacity: .45; }
.one-map-editor-overlay { display: none; }
@media (min-width: 761px) {
  .app[data-mode="office"] .one-map-editor-overlay:not([hidden]) {
    position: absolute;
    display: block;
    z-index: 18;
    right: calc(var(--workspace-width) + 16px);
    bottom: 84px;
    left: calc(var(--rail-width) + 16px);
  }
  .app[data-mode="office"] .one-map-editor-overlay .spray-office-draw-controls {
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: rgba(22,32,27,.95);
    color: white;
    box-shadow: 0 10px 28px rgba(10,20,14,.3);
  }
  .app[data-mode="office"] .one-map-editor-overlay .spray-office-draw-controls small { color: #bbd9c6; }
  .app[data-mode="office"] .one-map-editor-overlay .spray-office-draw-controls button { border-color: rgba(255,255,255,.25); background: transparent; color: white; }
  .app[data-mode="office"] .one-map-editor-overlay .spray-office-draw-controls .button.primary { border-color: #a9dbbb; background: #2d8a5a; }
}
.one-map-zone-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border-left: 3px solid var(--green); background: #edf5f0; }
.one-map-zone-summary small, .one-map-zone-summary strong, .one-map-zone-summary em { display: block; }
.one-map-zone-summary small { color: #2e6846; font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.one-map-zone-summary strong { margin-top: 4px; font-size: 16px; }
.one-map-zone-summary em { margin-top: 2px; color: var(--ink-soft); font-size: 8px; font-style: normal; }
.one-map-zone-summary button { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #91b6a0; border-radius: 7px; background: white; color: var(--green); font: inherit; font-size: 9px; font-weight: 800; }
.one-map-zone-summary svg { width: 15px; }
.one-map-zone-list { display: grid; gap: 6px; margin-top: 8px; }
.one-map-zone-list article { min-height: 54px; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.one-map-zone-list article > i, .one-map-target-actions button > i, .spray-receipt-map li > i { width: 11px; height: 11px; border-radius: 3px; background: var(--zone-color); }
.one-map-zone-list strong, .one-map-zone-list small { display: block; }
.one-map-zone-list strong { font-size: 10px; }
.one-map-zone-list small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.one-map-zone-list button { min-height: 34px; border: 0; background: transparent; color: var(--green); font: inherit; font-size: 8px; font-weight: 800; }
.one-map-target-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.one-map-target-actions > button { min-width: 0; min-height: 52px; display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 10px; border: 1px dashed #89aa96; border-radius: 8px; background: #fbfdfb; color: var(--ink); font: inherit; text-align: left; }
.one-map-target-actions > button:disabled { opacity: .5; }
.one-map-target-actions strong, .one-map-target-actions small { display: block; }
.one-map-target-actions strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.one-map-target-actions small { margin-top: 3px; color: var(--ink-soft); font-size: 7px; }
.one-map-target-actions b { color: var(--green); font-size: 18px; }
.spray-plan-typeahead { display: grid; gap: 5px; }
.spray-plan-typeahead span, .spray-flow-section label > span { color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spray-plan-typeahead input, .spray-flow-section input:not([type="checkbox"]):not([type="radio"]), .spray-flow-section select { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.spray-plan-products { display: grid; gap: 7px; }
.spray-plan-products button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px; color: var(--ink); cursor: pointer; text-align: left; }
.spray-plan-products button:hover, .spray-plan-products button:focus-visible { border-color: var(--green); background: var(--green-soft); }
.spray-plan-products strong, .spray-plan-products small { display: block; }
.spray-plan-products strong { font-size: 12px; }
.spray-plan-products small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.spray-plan-products svg { width: 17px; color: var(--green); }
.spray-choice-list { display: grid; gap: 6px; }
.spray-choice-list label { min-height: 48px; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 9px; align-items: center; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.spray-choice-list label.is-selected { border-color: #82b397; background: var(--green-soft); }
.spray-choice-list strong, .spray-choice-list small { display: block; }
.spray-choice-list strong { font-size: 10px; }
.spray-choice-list small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; line-height: 1.35; }
.spray-section-empty { margin: 0; color: var(--ink-soft); font-size: 10px; }
.spray-match-card { margin-top: 8px; overflow: hidden; border: 1px solid #b9c9be; border-radius: 9px; background: #fbfcfb; }
.spray-match-card.is-compatible { border-color: #8bb59a; background: #f2f8f4; }
.spray-match-card.is-selected { box-shadow: inset 0 0 0 1px #2f855a; }
.spray-match-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 12px 7px; }
.spray-match-card header small, .spray-match-card header strong, .spray-match-card header em { display: block; }
.spray-match-card header small { color: var(--green); font-size: 7px; font-weight: 800; letter-spacing: .07em; }
.spray-match-card header strong { margin-top: 3px; font-size: 14px; }
.spray-match-card header em { margin-top: 2px; color: var(--ink-soft); font-size: 8px; font-style: normal; }
.spray-match-card header svg { width: 18px; color: var(--green); }
.spray-match-card > p { margin: 0; padding: 0 12px; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.spray-match-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin: 9px 0 0; padding: 9px 12px; border-top: 1px solid #dce6df; list-style: none; }
.spray-match-card li { display: flex; align-items: flex-start; gap: 5px; color: #315b42; font-size: 8px; line-height: 1.35; }
.spray-match-card li.is-gap { color: #855311; }
.spray-match-card li svg { flex: 0 0 auto; width: 12px; height: 12px; }
.spray-match-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; background: white; }
.spray-match-card footer span { color: var(--ink-soft); font-size: 7px; }
.spray-match-card footer button { min-height: 38px; padding: 0 11px; border: 0; border-radius: 7px; background: var(--green); color: white; font: inherit; font-size: 8px; font-weight: 800; }
.spray-match-card footer button:disabled { background: #aeb7b1; }
.spray-match-empty { min-height: 70px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center; padding: 12px; background: #f1f4f1; }
.spray-match-empty svg { width: 21px; color: var(--green); }
.spray-match-empty strong, .spray-match-empty small { display: block; }
.spray-match-empty strong { font-size: 10px; }
.spray-match-empty small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-match-selected { min-height: 58px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 11px 12px; border: 1px solid #8bb59a; background: #edf7f0; }
.spray-match-selected > svg { width: 20px; color: var(--green); }
.spray-match-selected strong, .spray-match-selected small { display: block; }
.spray-match-selected strong { font-size: 11px; }
.spray-match-selected small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-match-selected button { border: 0; background: transparent; color: var(--green); font: inherit; font-size: 8px; font-weight: 800; }
.spray-match-authority { display: flex; align-items: flex-start; gap: 6px; margin: 9px 0 0; color: var(--ink-soft); font-size: 8px; line-height: 1.45; }
.spray-match-authority svg { flex: 0 0 auto; width: 14px; color: var(--green); }
.spray-manual-product { margin-top: 10px; border-top: 1px solid var(--border); }
.spray-manual-product > summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.spray-manual-product > summary::-webkit-details-marker { display: none; }
.spray-manual-product summary strong, .spray-manual-product summary small { display: block; }
.spray-manual-product summary strong { font-size: 9px; }
.spray-manual-product summary small { margin-top: 2px; color: var(--ink-soft); font-size: 7px; }
.spray-manual-product summary svg { width: 14px; }
.spray-manual-product[open] summary svg { transform: rotate(180deg); }
.spray-manual-product > div { display: grid; gap: 8px; padding: 0 0 10px; }
.spray-manual-profiles > small { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.spray-product-directions { margin-top: 10px; overflow: hidden; border: 1px solid #b7cdbf; border-radius: 9px; background: #f7faf7; }
.spray-product-directions > header { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; padding: 10px 11px; border-bottom: 1px solid #d8e3db; }
.spray-product-directions > header > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #dfeee4; color: var(--green); }
.spray-product-directions > header svg { width: 17px; }
.spray-product-directions h5, .spray-product-directions header p { margin: 0; }
.spray-product-directions h5 { font-size: 11px; }
.spray-product-directions header p { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spray-direction-grid article { min-width: 0; padding: 10px 11px; border-right: 1px solid #e1e8e3; border-bottom: 1px solid #e1e8e3; }
.spray-direction-grid article:nth-child(even) { border-right: 0; }
.spray-direction-grid article small, .spray-direction-grid article strong { display: block; overflow-wrap: anywhere; }
.spray-direction-grid article small { color: #336047; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.spray-direction-grid article strong { margin-top: 4px; font-size: 9px; line-height: 1.4; }
.spray-direction-grid article p { margin: 4px 0 0; color: var(--ink-soft); font-size: 7px; line-height: 1.4; }
.spray-direction-sources > summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; color: #345847; cursor: pointer; list-style: none; font-size: 8px; font-weight: 800; }
.spray-direction-sources > summary::-webkit-details-marker { display: none; }
.spray-direction-sources > summary svg { width: 15px; transition: transform 150ms ease; }
.spray-direction-sources[open] > summary svg { transform: rotate(180deg); }
.spray-direction-sources > div { display: grid; gap: 5px; padding: 0 10px 10px; }
.spray-direction-sources a, .spray-direction-sources > div > p { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 7px 8px; border-left: 2px solid #8fb69d; background: white; color: var(--ink); text-decoration: none; }
.spray-direction-sources a:hover { background: var(--green-soft); }
.spray-direction-sources a span, .spray-direction-sources a strong, .spray-direction-sources a small, .spray-direction-sources > div > p strong, .spray-direction-sources > div > p small { min-width: 0; display: block; overflow-wrap: anywhere; }
.spray-direction-sources a strong, .spray-direction-sources > div > p strong { font-size: 8px; }
.spray-direction-sources a small, .spray-direction-sources > div > p small { margin-top: 2px; color: var(--ink-soft); font-size: 7px; }
.spray-direction-sources a svg { flex: 0 0 auto; width: 13px; }
.spray-target-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 8px; align-items: end; }
.spray-target-grid > label:first-child, .spray-conditions-grid > label, .spray-mix-grid > label { display: grid; gap: 5px; }
.spray-identify-action { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.spray-identify-action svg { width: 16px; }
.sprayer-profile-control { display: grid; gap: 9px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sprayer-profile-control > label { display: grid; gap: 5px; }
.sprayer-profile-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sprayer-profile-action p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.sprayer-profile-action .button { flex: 0 0 auto; min-height: 40px; white-space: nowrap; }
.spray-conditions-grid, .spray-mix-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spray-conditions-grid + .spray-conditions-grid { margin-top: 8px; }
.spray-weather-card { min-height: 64px; display: grid; align-content: center; padding: 10px 12px; border-left: 3px solid var(--blue); background: #eef5fb; }
.spray-weather-card small, .spray-weather-card strong, .spray-weather-card span { display: block; }
.spray-weather-card small { color: #285d88; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.spray-weather-card strong { margin-top: 4px; font-size: 11px; }
.spray-weather-card span { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-water-known { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--blue); background: #f1f6fa; }
.spray-water-known small, .spray-water-known strong { display: block; }
.spray-water-known small { color: #285d88; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.spray-water-known strong { margin-top: 3px; font-size: 10px; }
.spray-water-known p { margin: 0; color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.spray-water-presence { min-width: 0; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.spray-water-presence legend { padding: 0 5px; color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.spray-water-presence > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.spray-water-presence label { min-width: 0; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border: 1px solid var(--border); border-radius: 7px; background: white; cursor: pointer; }
.spray-water-presence label:has(input:checked) { border-color: #82b397; background: var(--green-soft); }
.spray-water-presence label > span { overflow: hidden; color: var(--ink); font-size: 9px; text-overflow: ellipsis; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.spray-water-presence input { margin: 0; accent-color: var(--green); }
.spray-input-unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.spray-input-unit input { border-radius: 7px 0 0 7px !important; }
.spray-input-unit b { display: grid; place-items: center; min-width: 46px; padding: 0 8px; border: 1px solid var(--border-strong); border-left: 0; border-radius: 0 7px 7px 0; background: #f2f4f1; color: var(--ink-soft); font-size: 9px; }
.spray-confirmations { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.spray-confirmations label { min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 99px; background: #fafbf9; cursor: pointer; }
.spray-confirmations label > span { color: var(--ink); font-size: 8px; text-transform: none; letter-spacing: 0; }
.spray-prestart-checks { margin-top: 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spray-prestart-checks > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.spray-prestart-checks > summary::-webkit-details-marker { display: none; }
.spray-prestart-checks > summary span, .spray-prestart-checks > summary strong, .spray-prestart-checks > summary small { display: block; }
.spray-prestart-checks > summary strong { font-size: 10px; }
.spray-prestart-checks > summary small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-prestart-checks > summary svg { width: 16px; transition: transform 150ms ease; }
.spray-prestart-checks[open] > summary svg { transform: rotate(180deg); }
.spray-prestart-checks .spray-confirmations { margin: 0; padding: 0 0 10px; }
.spray-calculation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; padding: 14px; background: var(--accent); color: white; }
.spray-calculation > div { min-width: 0; padding: 3px 10px; border-right: 1px solid rgba(255,255,255,.18); }
.spray-calculation > div:first-child { padding-left: 0; }
.spray-calculation > div:nth-child(3) { border-right: 0; }
.spray-calculation small, .spray-calculation strong { display: block; }
.spray-calculation small { color: #c7ddcf; font-size: 8px; text-transform: uppercase; }
.spray-calculation strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 17px; }
.spray-calculation p { grid-column: 1 / -1; margin: 9px 0 0; color: #d6e6dc; font-size: 8px; }
.spray-calculation.is-empty { grid-template-columns: 24px minmax(0, 1fr); align-items: center; background: #eef1ed; color: var(--ink); }
.spray-calculation.is-empty svg { width: 20px; color: var(--green); }
.spray-calculation.is-empty span, .spray-calculation.is-empty strong, .spray-calculation.is-empty small { display: block; }
.spray-calculation.is-empty small { margin-top: 3px; color: var(--ink-soft); text-transform: none; }
.spray-update-calculation { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.spray-update-calculation svg { width: 16px; }
.spray-plan-needs { display: grid; gap: 6px; margin-top: 8px; }
.spray-plan-needs section { padding: 9px 11px; border-left: 3px solid var(--amber); background: var(--amber-soft); }
.spray-plan-needs section.is-blocked { border-left-color: var(--red); background: var(--red-soft); }
.spray-plan-needs strong { font-size: 9px; }
.spray-plan-needs ul { margin: 5px 0 0; padding-left: 16px; color: var(--ink-soft); font-size: 8px; line-height: 1.45; }
.spray-photo-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.spray-photo-stage { min-height: 64px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: center; padding: 9px; border: 1px dashed var(--border-strong); border-radius: 8px; cursor: pointer; }
.spray-photo-stage.is-complete { border-style: solid; border-color: #8dbaa0; background: var(--green-soft); }
.spray-photo-stage input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.spray-photo-stage svg { width: 19px; color: var(--green); }
.spray-photo-stage strong, .spray-photo-stage small { display: block; }
.spray-photo-stage strong { font-size: 10px; }
.spray-photo-stage small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.spray-vegetation-targets { display: grid; gap: 10px; }
.spray-vegetation-target { display: grid; gap: 9px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: #fbfcfa; }
.spray-vegetation-target > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.spray-vegetation-target > header span { display: flex; align-items: baseline; gap: 6px; }
.spray-vegetation-target > header small { color: var(--ink-soft); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.spray-vegetation-target > header strong { font-size: 13px; }
.spray-vegetation-target > header button { min-height: 32px; display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }
.spray-vegetation-target > header button svg { width: 13px; }
.spray-vegetation-name > span { display: block; }
.spray-target-photo-list { display: grid; gap: 5px; }
.spray-target-photo-list > div { min-height: 44px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #a7cbb5; border-radius: 7px; background: var(--green-soft); }
.spray-target-photo-list svg { width: 17px; color: var(--green); }
.spray-target-photo-list strong, .spray-target-photo-list small { display: block; }
.spray-target-photo-list strong { font-size: 9px; }
.spray-target-photo-list small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-target-photo-action, .spray-add-angle { min-height: 58px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px; border: 1px dashed var(--border-strong); border-radius: 8px; background: white; cursor: pointer; }
.spray-target-photo-action input, .spray-add-angle input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.spray-target-photo-action svg, .spray-add-angle svg { width: 18px; color: var(--green); }
.spray-target-photo-action strong, .spray-target-photo-action small, .spray-add-angle strong, .spray-add-angle small { display: block; }
.spray-target-photo-action strong, .spray-add-angle strong { font-size: 9px; }
.spray-target-photo-action small, .spray-add-angle small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-add-angle { border-style: solid; border-color: #9dbfa9; background: white; }
.spray-add-angle strong { color: var(--green); }
.spray-identification-help { margin: 0; padding: 8px 9px; border-left: 3px solid var(--amber); background: var(--amber-soft); color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.spray-add-vegetation { min-height: 46px; justify-content: center; margin-top: 10px; }
.spray-add-vegetation svg { width: 16px; }
.spray-identify-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.spray-identify-row .spray-identify-action:disabled { opacity: .55; }
.spray-identify-row > small { color: var(--ink-soft); font-size: 8px; white-space: nowrap; }
.spray-same-plant { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 8px; }
.spray-same-plant > span { color: var(--ink); font-size: 8px; text-transform: none; letter-spacing: 0; }
.spray-plant-candidates { display: grid; gap: 5px; margin-top: 9px; }
.spray-plant-candidates > small { color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.spray-plant-candidates > button { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.spray-plant-candidates strong, .spray-plant-candidates small { display: block; }
.spray-plant-candidates strong { font-size: 10px; }
.spray-plant-candidates small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-plant-candidates svg { width: 15px; color: var(--green); }
.spray-plan-message { margin: 0; padding: 10px 12px; border-left: 3px solid var(--green); background: var(--green-soft); font-size: 9px; }
.spray-plan-actions { position: sticky; z-index: 2; bottom: -1px; display: flex; justify-content: flex-end; gap: 8px; padding: 11px; border: 1px solid var(--border); background: rgba(255,255,255,.96); }
.spray-plan-actions .button { min-height: 44px; }
.spray-plan-state { min-height: 220px; display: grid; justify-items: start; align-content: center; gap: 8px; padding: 24px; border: 1px solid var(--border); background: white; }
.spray-plan-state > svg { width: 25px; color: var(--green); }
.spray-plan-state strong, .spray-plan-state small { display: block; }
.spray-plan-state small { color: var(--ink-soft); }
.spray-map-toolbar { position: absolute; z-index: 8; left: 14px; right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); padding: 12px; border-radius: 12px; background: rgba(22,32,27,.95); color: white; box-shadow: 0 10px 28px rgba(10,20,14,.3); pointer-events: auto; }
.spray-map-toolbar header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spray-map-toolbar small, .spray-map-toolbar strong { display: block; }
.spray-map-toolbar small { color: #bbd9c6; font-size: 7px; font-weight: 800; }
.spray-map-toolbar strong { margin-top: 3px; font-size: 11px; }
.spray-map-toolbar b { font-size: 9px; }
.spray-map-toolbar > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.spray-map-toolbar button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: transparent; color: white; font: inherit; font-size: 9px; font-weight: 800; }
.spray-map-toolbar button.is-primary { border-color: #a9dbbb; background: #2d8a5a; }
.spray-map-toolbar button:disabled { opacity: .42; }
.spray-map-toolbar svg { width: 15px; }
.spray-operator-shell { min-height: 100%; padding: 0 0 calc(30px + env(safe-area-inset-bottom)); color: var(--ink); }
.spray-operator-head { min-height: 92px; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 17px 20px; border-bottom: 1px solid var(--border); background: white; }
.spray-operator-head small, .spray-operator-head h2, .spray-operator-head p { display: block; margin: 0; }
.spray-operator-head small, .spray-operator-status small, .spray-assigned-plan header small, .spray-operator-stage header small, .spray-plan-actual header small, .spray-operator-history header small { color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.spray-operator-head h2 { margin-top: 4px; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.spray-operator-head p { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.spray-operator-head > span { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #add0ba; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 800; white-space: nowrap; }
.spray-operator-head > span svg { width: 15px; }
.spray-operator-stages { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border-bottom: 1px solid var(--border); background: rgb(255 255 255 / .72); list-style: none; }
.spray-operator-stages li { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-soft); font-size: 9px; }
.spray-operator-stages li + li { border-left: 1px solid var(--border); }
.spray-operator-stages li span { position: relative; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: white; font-size: 8px; font-weight: 800; }
.spray-operator-stages li.is-current { background: var(--green-soft); color: #164c32; }
.spray-operator-stages li.is-current span { border-color: var(--green); background: var(--green); color: white; }
.spray-operator-stages li.is-complete span { border-color: var(--green); background: var(--green); color: transparent; }
.spray-operator-stages li.is-complete span::after { content: "✓"; position: absolute; color: white; }
.spray-operator-layout { width: min(1120px, calc(100% - 32px)); display: grid; grid-template-columns: minmax(0, 7fr) minmax(310px, 5fr); gap: 16px; align-items: start; margin: 16px auto 0; }
.spray-operator-task, .spray-operator-support { min-width: 0; display: grid; gap: 12px; }
.spray-operator-status { min-height: 126px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 18px; border: 1px solid #9ec8ad; border-radius: 14px; background: linear-gradient(135deg, white, #edf8f1); box-shadow: 0 10px 30px rgb(25 61 50 / .08); }
.spray-operator-status > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #164c37; color: white; }
.spray-operator-status h3, .spray-operator-status p { margin: 0; }
.spray-operator-status h3 { margin-top: 4px; font-size: 20px; line-height: 1.15; }
.spray-operator-status p { margin-top: 5px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.spray-operator-status > strong { padding: 7px 9px; border: 1px solid var(--border); border-radius: 999px; background: white; font-size: 9px; white-space: nowrap; }
.spray-operator-shell.is-blocked .spray-operator-status { border-color: #dfb06b; background: var(--amber-soft); }
.spray-operator-shell.is-blocked .spray-operator-status > span { background: #98570e; }
.spray-operator-shell.is-paused .spray-operator-status { border-color: #93afd5; background: #edf3ff; }
.spray-operator-shell.is-paused .spray-operator-status > span { background: #315d9c; }
.spray-operator-shell.is-cancelled .spray-operator-status { border-color: #dda29e; background: var(--red-soft); }
.spray-operator-shell.is-cancelled .spray-operator-status > span { background: var(--red); }
.spray-receipt-map { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; }
.spray-receipt-map > header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid var(--border); }
.spray-receipt-map header small, .spray-receipt-map header strong { display: block; }
.spray-receipt-map header small { color: var(--green); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.spray-receipt-map header strong { margin-top: 3px; font-size: 11px; }
.spray-receipt-map header em { color: var(--ink-soft); font-size: 9px; font-style: normal; }
.spray-receipt-map-body { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); min-height: 150px; }
.spray-receipt-map svg { width: 100%; height: 100%; min-height: 150px; padding: 12px; background-color: #e7ede8; background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.45) 1px, transparent 1px); background-size: 18px 18px; }
.spray-receipt-map ol { display: grid; align-content: start; gap: 0; margin: 0; padding: 7px 12px; list-style: none; }
.spray-receipt-map li { display: grid; grid-template-columns: 11px minmax(0, 1fr); gap: 8px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--border); }
.spray-receipt-map li:last-child { border-bottom: 0; }
.spray-receipt-map li strong, .spray-receipt-map li small { display: block; }
.spray-receipt-map li strong { font-size: 9px; }
.spray-receipt-map li small { margin-top: 3px; color: var(--ink-soft); font-size: 7px; line-height: 1.35; }
.spray-receipt-map > footer { padding: 8px 12px; border-top: 1px solid var(--border); color: var(--ink-soft); font-size: 7px; }
.spray-assigned-plan, .spray-operator-stage, .spray-plan-actual, .spray-operator-history, .spray-authority-detail, .spray-reason-form { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; }
.spray-assigned-plan > header, .spray-operator-stage > header, .spray-plan-actual > header, .spray-operator-history > header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.spray-assigned-plan h3, .spray-operator-stage h3, .spray-plan-actual h3, .spray-operator-history h3 { margin: 3px 0 0; font-size: 15px; }
.spray-assigned-plan header button { min-height: 40px; padding: 0 4px; border: 0; background: transparent; color: var(--green); font-size: 9px; font-weight: 800; }
.spray-assigned-plan > dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.spray-assigned-plan > dl > div { padding: 12px 16px; }
.spray-assigned-plan > dl > div:nth-child(odd) { border-right: 1px solid var(--border); }
.spray-assigned-plan > dl > div:nth-child(n+3) { border-top: 1px solid var(--border); }
.spray-assigned-plan dt, .spray-plan-actual dt, .spray-record-values dt { color: var(--ink-soft); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.spray-assigned-plan dd { margin: 4px 0 0; font-size: 11px; font-weight: 800; }
.spray-assigned-plan dd + small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-operator-stage > header > strong { font-size: 9px; }
.spray-operator-stage-body { display: grid; gap: 12px; padding: 14px 16px; }
.spray-operator-field { display: grid; gap: 6px; }
.spray-operator-field > span, .spray-plan-actual-grid label > span, .spray-actual-exceptions label > span { font-size: 9px; font-weight: 800; }
.spray-operator-field input, .spray-plan-actual-grid input, .spray-actual-exceptions input, .spray-reason-form input { min-width: 0; width: 100%; min-height: 48px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.spray-operator-field > small { color: var(--ink-soft); font-size: 8px; line-height: 1.4; }
.spray-operator-checks { display: grid; gap: 7px; }
.spray-operator-checks label { min-height: 50px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: center; padding: 7px 9px; border-radius: 8px; background: var(--background); }
.spray-operator-checks input, .spray-actual-confirm input { width: 20px; height: 20px; accent-color: var(--green); }
.spray-operator-checks strong, .spray-operator-checks small { display: block; }
.spray-operator-checks strong { font-size: 10px; }
.spray-operator-checks small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-operator-stage-body > .spray-photo-stage { min-height: 58px; }
.spray-operator-stage > footer { display: flex; justify-content: flex-end; padding: 11px 16px; border-top: 1px solid var(--border); }
.spray-operator-stage > footer .button { min-height: 50px; display: inline-flex; align-items: center; gap: 7px; }
.spray-operator-note { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.spray-actuals-form { display: grid; gap: 12px; padding: 14px 16px; }
.spray-plan-actual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.spray-plan-actual-grid label { min-width: 0; display: grid; gap: 6px; }
.spray-plan-actual-grid label > span small { display: block; margin-top: 2px; color: var(--ink-soft); font-weight: 400; }
.spray-plan-actual-grid label > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.spray-plan-actual-grid label > div input { border-radius: 8px 0 0 8px; }
.spray-plan-actual-grid label > div b { min-width: 38px; display: grid; place-items: center; padding: 0 8px; border: 1px solid var(--border-strong); border-left: 0; border-radius: 0 8px 8px 0; background: var(--background); font-size: 9px; }
.spray-actual-exceptions { border: 1px solid var(--border); border-radius: 9px; }
.spray-actual-exceptions > summary, .spray-authority-detail > summary { min-height: 54px; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; list-style: none; cursor: pointer; }
.spray-actual-exceptions summary::-webkit-details-marker, .spray-authority-detail summary::-webkit-details-marker { display: none; }
.spray-actual-exceptions summary strong, .spray-actual-exceptions summary small, .spray-authority-detail summary strong, .spray-authority-detail summary small { display: block; }
.spray-actual-exceptions summary strong, .spray-authority-detail summary strong { font-size: 10px; }
.spray-actual-exceptions summary small, .spray-authority-detail summary small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-actual-exceptions > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 12px; border-top: 1px solid var(--border); }
.spray-actual-exceptions label { display: grid; gap: 5px; }
.spray-application-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.spray-actual-confirm { min-height: 48px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--green-soft); font-size: 10px; font-weight: 800; }
.spray-actual-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
.spray-actual-actions .button { min-height: 50px; }
.spray-completion-readiness { margin: 0; color: var(--ink-soft); font-size: 8px; line-height: 1.45; }
.spray-record-values { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.spray-record-values > div { padding: 12px; border: 1px solid var(--border); }
.spray-record-values dd { margin: 4px 0 0; font-size: 11px; font-weight: 800; }
.spray-secondary-actions { display: flex; gap: 7px; justify-content: flex-end; }
.spray-secondary-actions button { min-height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 9px; font-weight: 800; }
.spray-reason-form { display: grid; gap: 11px; padding: 14px; }
.spray-reason-form label { display: grid; gap: 6px; }
.spray-reason-form label span { font-size: 10px; font-weight: 800; }
.spray-reason-form > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.spray-plan-actual dl { margin: 0; }
.spray-plan-actual dl > div { min-height: 54px; display: grid; grid-template-columns: 58px 1fr 1fr; align-items: center; padding: 8px 12px; }
.spray-plan-actual dl > div + div { border-top: 1px solid var(--border); }
.spray-plan-actual dl dd { margin: 0; }
.spray-plan-actual dl dd span, .spray-plan-actual dl dd strong { display: block; }
.spray-plan-actual dl dd span { color: var(--ink-soft); font-size: 8px; }
.spray-plan-actual dl dd strong { margin-top: 2px; font-size: 10px; overflow-wrap: anywhere; }
.spray-plan-actual dl dd:last-child { padding-left: 10px; border-left: 1px solid var(--border); }
.spray-operator-history ol { margin: 0; padding: 0; list-style: none; }
.spray-operator-history li { min-height: 50px; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 9px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--border); }
.spray-operator-history li:first-child { border-top: 0; }
.spray-operator-history li > svg { width: 32px; height: 32px; padding: 7px; border-radius: 8px; background: var(--green-soft); color: var(--green); }
.spray-operator-history li strong, .spray-operator-history li small { display: block; }
.spray-operator-history li strong { font-size: 9px; }
.spray-operator-history li small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.spray-authority-detail > div { padding: 12px; border-top: 1px solid var(--border); }
.spray-authority-detail p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.spray-authority-detail p + p { margin-top: 8px; }

@media (max-width: 720px) {
  .profile-showcase-overview { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .profile-showcase-heading { min-height: 101px; padding: 19px 18px 15px; }
  .profile-showcase-heading h1 { font-size: 23px; }
  .profile-showcase-heading > span { width: 38px; min-width: 38px; padding: 0; justify-content: center; }
  .profile-showcase-heading > span:not(:has(svg)) { display: none; }
  .profile-showcase-heading > span { font-size: 0; }
  .profile-showcase-today { display: block; margin-top: 0; border-top: 0; }
  .profile-showcase-plan { padding: 19px 18px 16px; }
  .profile-showcase-plan h2 { font-size: 19px; }
  .profile-showcase-today > .profile-attendance { border-left: 0; border-top: 1px solid var(--border); }
  .profile-showcase-attention { grid-template-columns: 42px minmax(0, 1fr) 46px; margin: 11px 12px 0; padding: 11px 12px; }
  .profile-showcase-attention > span { width: 42px; height: 42px; }
  .profile-showcase-attention button { width: 46px; min-width: 46px; padding: 0; justify-content: center; }
  .profile-showcase-attention button span { display: none; }
  .profile-showcase-period { margin-top: 14px; }
  .profile-showcase-period > header { display: grid; padding: 17px 18px 13px; }
  .profile-period-switch { width: 100%; grid-template-columns: .8fr .9fr 1.3fr; }
  .profile-period-switch button { min-width: 0; padding: 0 6px; }
  .profile-period-values { display: block; }
  .profile-period-values > div { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--border); }
  .profile-period-values dl > div { min-width: 0; padding: 13px 10px; }
  .profile-period-values dd { overflow-wrap: anywhere; font-size: 14px; }
  .profile-showcase-progression { grid-template-columns: 58px minmax(0, 1fr) 46px; padding: 14px 16px; }
  .profile-showcase-next { display: none; }
  .profile-showcase-progression > button { grid-column: 3; }
  .spray-operator-shell { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .spray-operator-head { min-height: 90px; padding: 13px 14px; }
  .spray-operator-head h2 { font-size: 20px; }
  .spray-operator-head > span { width: 38px; min-width: 38px; padding: 0; justify-content: center; font-size: 0; }
  .spray-operator-stages li { min-height: 52px; flex-direction: column; gap: 3px; font-size: 7px; }
  .spray-operator-stages li span { width: 19px; height: 19px; font-size: 7px; }
  .spray-operator-layout { width: 100%; display: block; margin: 0; }
  .spray-operator-task { gap: 0; }
  .spray-operator-support { display: none; }
  .spray-operator-status { min-height: 122px; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; padding: 15px 16px; border-width: 0 0 1px; border-radius: 0; box-shadow: none; }
  .spray-operator-status > span { width: 46px; height: 46px; border-radius: 12px; }
  .spray-operator-status h3 { font-size: 18px; }
  .spray-operator-status > strong { padding: 6px 7px; font-size: 7px; }
  .spray-assigned-plan, .spray-operator-stage, .spray-reason-form { border-width: 0 0 1px; border-radius: 0; }
  .spray-assigned-plan > header, .spray-operator-stage > header { padding: 12px 16px; }
  .spray-assigned-plan > dl > div { padding: 10px 16px; }
  .spray-assigned-plan > dl > div:nth-child(n+3) { display: none; }
  .spray-operator-stage-body, .spray-actuals-form { padding: 12px 16px; }
  .spray-operator-stage > footer { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 3; padding: 10px 12px; background: rgb(255 255 255 / .97); box-shadow: 0 -8px 18px rgb(20 45 38 / .07); }
  .spray-operator-stage > footer .button { width: 100%; justify-content: center; min-height: 54px; }
  .spray-plan-actual-grid { grid-template-columns: 1fr; }
  .spray-actual-exceptions > div { grid-template-columns: 1fr; }
  .spray-application-photos { grid-template-columns: 1fr; }
  .spray-application-photos .spray-photo-stage { min-height: 58px; }
  .spray-actual-actions { grid-template-columns: 1fr; }
  .spray-secondary-actions { padding: 10px 12px; }
  .spray-secondary-actions button { min-height: 48px; flex: 1; }
  .spray-reason-form { padding: 12px; }
  .spray-reason-form > div { grid-template-columns: 1fr; }
  .spray-plan-shell { gap: 9px; padding: 10px 10px calc(88px + env(safe-area-inset-bottom)); }
  .spray-plan-head { display: grid; padding: 13px; }
  .spray-draft-state { justify-self: start; }
  .spray-flow-section { padding: 12px; }
  .spray-flow-section > header { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .spray-plan-typeahead input, .spray-flow-section input:not([type="checkbox"]):not([type="radio"]), .spray-flow-section select { min-height: 48px; font-size: 16px; }
  .spray-area-summary { display: grid; }
  .spray-area-summary .button { width: 100%; min-height: 48px; justify-content: center; }
  .spray-office-draw-controls { display: grid; grid-template-columns: repeat(2, 1fr); }
  .spray-office-draw-controls > span { grid-column: 1 / -1; }
  .spray-office-draw-controls .button.primary { grid-column: 1 / -1; }
  .one-map-target-actions { grid-template-columns: 1fr; }
  .one-map-zone-summary { align-items: stretch; flex-direction: column; }
  .one-map-zone-summary button { justify-content: center; }
  .spray-match-card ul { grid-template-columns: 1fr; }
  .spray-match-card > footer { align-items: stretch; flex-direction: column; }
  .spray-match-card footer button { min-height: 48px; }
  .spray-receipt-map { border-width: 0 0 1px; border-radius: 0; }
  .spray-receipt-map-body { grid-template-columns: 1fr; }
  .spray-receipt-map svg { height: 220px; min-height: 220px; }
  .spray-target-grid, .spray-conditions-grid, .spray-mix-grid { grid-template-columns: 1fr; }
  .sprayer-profile-action { align-items: stretch; flex-direction: column; }
  .sprayer-profile-action .button { width: 100%; min-height: 48px; }
  .spray-direction-grid { grid-template-columns: 1fr; }
  .spray-direction-grid article, .spray-direction-grid article:nth-child(even) { border-right: 0; }
  .spray-water-known { grid-template-columns: 1fr; gap: 4px; }
  .spray-identify-action { min-height: 48px; justify-content: center; }
  .spray-vegetation-target { padding: 11px; }
  .spray-target-photo-action, .spray-add-angle { min-height: 64px; }
  .spray-identify-row { display: grid; grid-template-columns: 1fr auto; }
  .spray-add-vegetation { width: 100%; min-height: 52px; }
  .spray-photo-stage { min-height: 70px; }
  .spray-calculation { grid-template-columns: 1fr; }
  .spray-calculation > div, .spray-calculation > div:first-child { padding: 8px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .spray-calculation > div:nth-child(3) { border-bottom: 0; }
  .spray-plan-actions { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .spray-plan-actions .button { flex: 1; min-height: 48px; }
}

@media (min-width: 1024px) {
  .profile-desktop-canvas .profile-showcase-overview { max-width: 1160px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; padding: 28px 30px 40px; margin: 0 auto; }
  .profile-desktop-canvas .profile-showcase-overview > * { grid-column: 1 / -1; }
  .profile-desktop-canvas .profile-showcase-heading { min-height: 104px; padding: 4px 2px 19px; border: 0; background: transparent; box-shadow: none; }
  .profile-desktop-canvas .profile-showcase-heading h1 { font-size: 32px; }
  .profile-desktop-canvas .profile-showcase-today, .profile-desktop-canvas .profile-showcase-period, .profile-desktop-canvas .profile-showcase-progression { border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 6px 20px rgb(20 45 38 / .05); }
  .profile-desktop-canvas .profile-showcase-attention { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Feature 27 · free satellite monitoring pilot */
.monitoring-workspace { display: flex; flex-direction: column; color: var(--ink); background: #f5f2e9; }
.monitoring-workspace section,
.monitoring-limitations { padding: 18px; border-bottom: 1px solid var(--border); }
.monitoring-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: #f8f6ef; border-left: 4px solid #367659; }
.monitoring-intro h2 { margin: 3px 0 5px; font: 700 22px/1.1 var(--font-display); letter-spacing: -0.02em; }
.monitoring-intro p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.monitoring-intro .eyebrow { color: #367659; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; }
.monitoring-demo-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; max-width: 148px; padding: 7px 9px; border: 1px solid #d0c294; border-radius: 999px; background: #fff8db; color: #6b571a; font-size: 9px; font-weight: 800; line-height: 1.25; }
.monitoring-demo-badge svg { width: 13px; height: 13px; }
.monitoring-boundary-notice { display: flex; align-items: center; gap: 10px; padding-top: 12px !important; padding-bottom: 12px !important; background: #f3ead4; color: #655229; font-size: 10px; }
.monitoring-boundary-notice svg { flex: 0 0 18px; width: 18px; }
.monitoring-boundary-notice span, .monitoring-boundary-notice strong { display: block; }
.monitoring-boundary-notice strong { margin-bottom: 2px; color: #453817; }
.monitoring-summary .section-heading,
.monitoring-layers .section-heading,
.monitoring-motion .section-heading,
.monitoring-comparison .section-heading,
.monitoring-alerts .section-heading { margin-bottom: 12px; }
.monitoring-health { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: #fff; }
.monitoring-health > span { min-width: 0; padding: 11px 9px; border-right: 1px solid var(--border); }
.monitoring-health > span:last-child { border: 0; }
.monitoring-health small,
.monitoring-dates small { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 8px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.monitoring-health strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; text-transform: capitalize; }
.monitoring-health > .is-investigate { background: #fff1ed; color: #8e251f; }
.monitoring-health > .is-watch { background: #fff8e7; color: #805508; }
.monitoring-health > .is-good { background: #edf7ef; color: #246b43; }
.monitoring-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.monitoring-dates > span { position: relative; min-width: 0; padding: 10px 8px 10px 28px; border: 1px solid var(--border); border-radius: 7px; background: rgba(255,255,255,0.65); }
.monitoring-dates svg { position: absolute; top: 10px; left: 8px; width: 14px; height: 14px; color: #367659; }
.monitoring-dates strong { display: block; font-size: 10px; white-space: nowrap; }
.monitoring-key-findings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.monitoring-key-findings article { min-width: 0; padding: 12px 10px; border-top: 3px solid #367659; border-radius: 2px 2px 7px 7px; background: #fff; box-shadow: 0 2px 8px rgba(30,48,38,0.05); }
.monitoring-key-findings article:nth-child(2) { border-color: #2878b5; }
.monitoring-key-findings article:nth-child(3) { border-color: #c27b12; }
.monitoring-key-findings small,
.monitoring-key-findings span { display: block; color: var(--ink-soft); font-size: 8px; line-height: 1.35; }
.monitoring-key-findings small { min-height: 22px; font-weight: 800; letter-spacing: 0.05em; }
.monitoring-key-findings strong { display: block; margin: 6px 0 3px; font: 700 18px/1 var(--font-display); }
.monitoring-opacity { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 9px; }
.monitoring-opacity input { width: 66px; accent-color: #367659; }
.monitoring-opacity output { min-width: 28px; color: var(--ink); font-weight: 700; }
.monitoring-layer-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.monitoring-layer-control { overflow: hidden; border: 1px solid var(--border); border-left: 3px solid #aeb6af; border-radius: 8px; background: rgba(255,255,255,0.72); }
.monitoring-layer-control.is-enabled { border-left-color: #367659; background: #fff; }
.monitoring-layer-control > label { display: flex; align-items: flex-start; gap: 9px; padding: 11px 11px 7px; cursor: pointer; }
.monitoring-layer-control input { margin-top: 2px; accent-color: #367659; }
.monitoring-layer-control label span { min-width: 0; }
.monitoring-layer-control label strong,
.monitoring-layer-control label small { display: block; }
.monitoring-layer-control label strong { font-size: 11px; }
.monitoring-layer-control label small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.monitoring-layer-control > p,
.monitoring-layer-control > small { display: block; margin: 6px 11px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.monitoring-layer-control .monitoring-cannot-prove { padding: 7px 8px; border-radius: 5px; background: #f6f0df; color: #655229; }
.monitoring-layer-control > footer { padding: 7px 11px 9px; color: var(--ink-soft); font-size: 8px; }
.monitoring-legend { display: flex; flex-wrap: wrap; gap: 4px 9px; padding: 0 11px; }
.monitoring-legend span { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-soft); font-size: 8px; }
.monitoring-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--legend-color); }
.monitoring-point-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.monitoring-point-list button { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.monitoring-point-list button.is-selected { border-color: #367659; box-shadow: 0 0 0 1px #367659; }
.monitoring-point-list button > i { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 999px; background: #718077; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #b8c0b9; }
.monitoring-point-list button > i.is-stable { background: #1f7a4d; }
.monitoring-point-list button > i.is-minor_movement { background: #8cae62; }
.monitoring-point-list button > i.is-moderate_movement { background: #c27b12; }
.monitoring-point-list button > i.is-significant_movement { background: #b83b32; }
.monitoring-point-list span { min-width: 0; }
.monitoring-point-list strong,
.monitoring-point-list small { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.monitoring-point-list small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.monitoring-empty-inline { padding: 16px; border: 1px dashed #b8c0b9; border-radius: 7px; color: var(--ink-soft); text-align: center; }
.monitoring-empty-inline strong,
.monitoring-empty-inline span { display: block; }
.monitoring-empty-inline strong { margin-bottom: 4px; color: var(--ink); font-size: 11px; }
.monitoring-empty-inline span { font-size: 9px; line-height: 1.45; }
.monitoring-point-card { padding: 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.monitoring-point-card > header { display: flex; justify-content: space-between; gap: 12px; }
.monitoring-point-card > header small,
.monitoring-point-card > header strong { display: block; }
.monitoring-point-card > header small { color: var(--ink-soft); font-size: 8px; letter-spacing: 0.06em; }
.monitoring-point-card > header strong { margin-top: 2px; font-size: 12px; }
.monitoring-point-card > header > b { align-self: flex-start; padding: 4px 6px; border-radius: 999px; background: #edf7ef; color: #246b43; font-size: 8px; text-transform: uppercase; }
.monitoring-point-card > header > b.is-insufficient { background: #ecefed; color: #5c6861; }
.monitoring-point-card dl,
.monitoring-alert-detail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 12px 0; background: var(--border); }
.monitoring-point-card dl div,
.monitoring-alert-detail dl div { min-width: 0; padding: 8px; background: #faf9f4; }
.monitoring-point-card dt,
.monitoring-alert-detail dt { color: var(--ink-soft); font-size: 8px; }
.monitoring-point-card dd,
.monitoring-alert-detail dd { margin: 2px 0 0; font-size: 10px; font-weight: 700; }
.monitoring-point-card h4 { margin: 12px 0 6px; font-size: 10px; }
.monitoring-point-card > p { margin: 9px 0 0; color: var(--ink-soft); font-size: 8px; line-height: 1.45; }
.monitoring-chart-wrap { padding: 7px; border: 1px solid var(--border); border-radius: 6px; background: #f8faf7; }
.monitoring-chart { display: block; width: 100%; height: 112px; }
.monitoring-chart line { stroke: #b9c0bb; stroke-width: 1; }
.monitoring-chart path { fill: none; stroke: #c27b12; stroke-width: 2.5; }
.monitoring-chart circle { fill: #c27b12; stroke: #fff; stroke-width: 1.5; }
.monitoring-chart-wrap > div { display: flex; justify-content: space-between; }
.monitoring-chart-wrap span { color: var(--ink-soft); font-size: 8px; }
.monitoring-chart-wrap b { display: block; margin-top: 2px; color: var(--ink); }
.monitoring-differential { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 10px; border-left: 3px solid #c27b12; background: #fff6df; color: #6e4b0b; font-size: 9px; line-height: 1.45; }
.monitoring-differential svg { flex: 0 0 16px; width: 16px; }
.monitoring-differential strong { display: block; color: #523704; }
.monitoring-date-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.monitoring-date-pair label span { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 8px; font-weight: 700; }
.monitoring-date-pair select { width: 100%; height: 32px; padding: 0 6px; border: 1px solid var(--border-strong); border-radius: 5px; background: #fff; color: var(--ink); font-size: 9px; }
.monitoring-comparison .section-heading button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: #1f67b1; font-size: 8px; font-weight: 700; cursor: pointer; }
.monitoring-comparison .section-heading button svg { width: 13px; }
.monitoring-cloud-warning { display: flex; gap: 7px; margin: 8px 0; padding: 8px; background: #fff3da; color: #6e4b0b; font-size: 8px; }
.monitoring-cloud-warning svg { flex: 0 0 14px; width: 14px; }
.monitoring-swipe { position: relative; aspect-ratio: 15 / 8; margin-top: 10px; overflow: hidden; border: 1px solid #aeb6af; border-radius: 7px; background: #e7e9e3; }
.monitoring-swipe-before,
.monitoring-swipe-after { position: absolute; inset: 0; }
.monitoring-swipe-after { filter: saturate(1.2) brightness(0.98); }
.monitoring-swipe svg { display: block; width: 100%; height: 100%; }
.monitoring-swipe > span { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(25,35,29,0.5), 0 0 9px rgba(0,0,0,0.3); transform: translateX(-1px); }
.monitoring-swipe > span::after { content: "↔"; position: absolute; top: 50%; left: 50%; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 999px; background: #fff; color: #26362d; font-weight: 800; transform: translate(-50%, -50%); }
.monitoring-swipe-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-soft); font-size: 8px; }
.monitoring-swipe-control input { accent-color: #367659; }
.monitoring-swipe-control output { color: var(--ink); font-weight: 700; }
.monitoring-comparison > p:last-child { margin: 10px 0 0; color: var(--ink-soft); font-size: 9px; }
.monitoring-comparison > p:last-child strong { color: var(--ink); }
.monitoring-alert-layout { display: grid; gap: 10px; }
.monitoring-alert-list { display: grid; gap: 6px; }
.monitoring-alert-list button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 50px; padding: 8px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.monitoring-alert-list button.is-selected { border-color: #9b6c19; background: #fffaf0; }
.monitoring-alert-list button > span:nth-child(2) { min-width: 0; }
.monitoring-alert-list strong,
.monitoring-alert-list small { display: block; }
.monitoring-alert-list strong { font-size: 10px; }
.monitoring-alert-list small { margin-top: 3px; color: var(--ink-soft); font-size: 8px; }
.monitoring-alert-list button > svg { width: 14px; color: var(--ink-soft); }
.monitoring-severity { min-width: 40px; padding: 4px 5px; border-radius: 4px; background: #edf0ee; color: #526159; font-size: 7px; font-weight: 800; text-align: center; text-transform: uppercase; }
.monitoring-severity.is-high { background: #fee6df; color: #912c24; }
.monitoring-severity.is-medium { background: #fff1d1; color: #7a5108; }
.monitoring-alert-detail { padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.monitoring-alert-detail > header { display: flex; align-items: flex-start; gap: 9px; }
.monitoring-alert-detail > header span:last-child { min-width: 0; }
.monitoring-alert-detail > header small,
.monitoring-alert-detail > header strong { display: block; }
.monitoring-alert-detail > header small { color: var(--ink-soft); font-size: 8px; }
.monitoring-alert-detail > header strong { margin-top: 2px; font-size: 12px; }
.monitoring-alert-detail > p { font-size: 10px; line-height: 1.5; }
.monitoring-alert-detail dl { grid-template-columns: 1fr; }
.monitoring-alert-detail form { display: grid; gap: 9px; padding-top: 10px; border-top: 1px solid var(--border); }
.monitoring-alert-detail form label > span { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 8px; font-weight: 700; }
.monitoring-alert-detail form select,
.monitoring-alert-detail form input,
.monitoring-alert-detail form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; }
.monitoring-alert-detail form select,
.monitoring-alert-detail form input { height: 34px; }
.monitoring-alert-detail form input,
.monitoring-alert-detail form textarea { padding: 7px; }
.monitoring-alert-detail form textarea { resize: vertical; }
.monitoring-alert-detail form .button { justify-self: start; }
.monitoring-alert-detail form > small { color: var(--ink-soft); font-size: 8px; }
.monitoring-read-only { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-top: 1px solid var(--border); background: #f3f5f1; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.monitoring-read-only svg { flex: 0 0 16px; width: 16px; color: #367659; }
.monitoring-read-only strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; }
.monitoring-limitations { background: #edeae0; }
.monitoring-limitations > summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.monitoring-limitations summary::-webkit-details-marker { display: none; }
.monitoring-limitations summary span { display: flex; align-items: center; gap: 7px; }
.monitoring-limitations summary svg { width: 15px; }
.monitoring-limitations summary strong { font-size: 10px; }
.monitoring-limitations ul { margin: 12px 0 0; padding-left: 17px; }
.monitoring-limitations li { margin: 6px 0; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.monitoring-limitations > p { margin: 10px 0 0; color: var(--ink-soft); font-size: 8px; }
.monitoring-state { display: grid; min-height: 300px; padding: 48px 24px; place-items: center; align-content: center; gap: 8px; color: var(--ink-soft); text-align: center; }
.monitoring-state svg { width: 30px; height: 30px; color: #367659; }
.monitoring-state strong { color: var(--ink); font-size: 13px; }
.monitoring-state span { max-width: 280px; font-size: 10px; line-height: 1.45; }
.monitoring-state.is-error svg { color: #b83b32; }

@media (max-width: 760px) {
  .workspace-tabs { overflow-x: auto; grid-template-columns: repeat(6, minmax(76px, 1fr)); }
  .monitoring-workspace section,
  .monitoring-limitations { padding-left: 14px; padding-right: 14px; }
  .monitoring-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monitoring-health > span:nth-child(2) { border-right: 0; }
  .monitoring-health > span:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .monitoring-dates { grid-template-columns: 1fr; }
  .monitoring-key-findings { grid-template-columns: 1fr; }
  .monitoring-key-findings small { min-height: 0; }
  .monitoring-point-list { grid-template-columns: 1fr; }
  .monitoring-intro { align-items: stretch; flex-direction: column; }
  .monitoring-demo-badge { max-width: none; align-self: flex-start; }
}
