:root {
  --exp-bg: rgba(8, 16, 36, 0.95);
  --exp-bg-soft: rgba(13, 25, 48, 0.9);
  --exp-border: rgba(34, 197, 94, 0.24);
  --exp-text: #e2e8f0;
  --exp-muted: #94a3b8;
  --exp-chip-bg: rgba(15, 23, 42, 0.78);
  --exp-chip-border: rgba(71, 85, 105, 0.75);
  --exp-chip-active-bg: rgba(34, 197, 94, 0.2);
  --exp-chip-active-border: rgba(74, 222, 128, 0.9);
}

.exposure-panel {
  position: fixed;
  top: 82px;
  right: 16px;
  width: 420px;
  max-width: calc(100vw - 24px);
  max-height: 72vh;
  min-height: 340px;
  display: none;
  flex-direction: column;
  z-index: 10010;
  border: 1px solid var(--exp-border);
  border-radius: 12px;
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(16, 185, 129, 0.14), transparent 58%),
    linear-gradient(150deg, var(--exp-bg), var(--exp-bg-soft));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  color: var(--exp-text);
  overflow: hidden;
}

.exp-sheet-handle-wrap {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 0 2px;
}

.exp-sheet-handle {
  width: 52px;
  height: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.46);
  color: #cbd5e1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.exp-sheet-handle:hover {
  background: rgba(100, 116, 139, 0.5);
  border-color: rgba(148, 163, 184, 0.26);
}

.exp-sheet-handle-icon {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

.exp-sheet-handle-label {
  display: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.exp-header {
  height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(71, 85, 105, 0.36);
}

.exp-title {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #f8fafc;
  font-weight: 700;
}

.exp-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.45);
  background: rgba(15, 23, 42, 0.62);
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.exp-close:hover {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.56);
}

.exp-toolbar {
  padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.exp-chip {
  border: 1px solid var(--exp-chip-border);
  background: var(--exp-chip-bg);
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.exp-chip:hover {
  border-color: rgba(74, 222, 128, 0.75);
  color: #e2e8f0;
}

.exp-chip.active {
  border-color: var(--exp-chip-active-border);
  background: var(--exp-chip-active-bg);
  color: #dcfce7;
}

.exp-alert-feed {
  flex: 1;
  min-height: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  background: rgba(8, 22, 44, 0.62);
}

.exp-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.exp-feed-title-main {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}

.exp-feed-updated {
  font-size: 10px;
  color: #94a3b8;
}

.exp-feed-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-feed-filter-chip {
  border: 1px solid rgba(71, 85, 105, 0.72);
  background: rgba(15, 23, 42, 0.76);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.exp-feed-filter-chip:hover,
.exp-feed-filter-chip:focus-visible {
  border-color: rgba(125, 211, 252, 0.92);
  color: #e2e8f0;
}

.exp-feed-filter-chip.active {
  border-color: rgba(74, 222, 128, 0.86);
  color: #dcfce7;
  background: rgba(20, 83, 45, 0.36);
}

.exp-feed-filter-count {
  min-width: 14px;
  text-align: center;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.6);
  padding: 0 5px;
  line-height: 1.25;
}

.exp-feed-pill {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid rgba(71, 85, 105, 0.7);
  background: rgba(15, 23, 42, 0.78);
  color: #cbd5e1;
}

.exp-feed-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-feed-list::-webkit-scrollbar {
  width: 8px;
}

.exp-feed-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-feed-list::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-feed-item {
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 8px;
  padding: 7px 8px;
  background: rgba(13, 26, 52, 0.72);
  cursor: pointer;
}

.exp-feed-item:hover,
.exp-feed-item:focus-visible {
  border-color: rgba(125, 211, 252, 0.95);
}

.exp-feed-item.active {
  border-color: rgba(125, 211, 252, 0.95);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.exp-feed-item.low {
  border-left: 3px solid rgba(96, 165, 250, 0.95);
}

.exp-feed-item.medium {
  border-left: 3px solid rgba(250, 204, 21, 0.95);
}

.exp-feed-item.high {
  border-left: 3px solid rgba(251, 146, 60, 0.95);
}

.exp-feed-item.extreme {
  border-left: 3px solid rgba(248, 113, 113, 0.95);
}

.exp-feed-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.exp-feed-title {
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-feed-badge {
  font-size: 9px;
  font-weight: 700;
  border: 1px solid rgba(74, 222, 128, 0.55);
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.35);
  border-radius: 999px;
  padding: 1px 6px;
}

.exp-feed-detail {
  margin-top: 3px;
  font-size: 10px;
  color: #cbd5e1;
  line-height: 1.3;
}

.exp-feed-meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #b8c4d8;
}

.exp-feed-level {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
}

.exp-feed-level.low {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(30, 64, 175, 0.32);
}

.exp-feed-level.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(113, 63, 18, 0.32);
}

.exp-feed-level.high {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(124, 45, 18, 0.32);
}

.exp-feed-level.extreme {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.32);
}

.exp-feed-empty,
.exp-feed-loading {
  font-size: 11px;
  color: #94a3b8;
  padding: 4px 0;
}

.exp-feed-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  border: 1px solid rgba(71, 85, 105, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.08), transparent 58%),
    rgba(8, 22, 44, 0.28);
  text-align: left;
}

.exp-feed-empty-kicker {
  color: rgba(125, 211, 252, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.exp-feed-empty-title {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.exp-feed-empty-copy {
  max-width: 28ch;
  color: rgba(148, 163, 184, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.exp-nyc-alerts {
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(8, 22, 44, 0.62);
}

.exp-nyc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.exp-nyc-title {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.exp-nyc-updated {
  font-size: 10px;
  color: #94a3b8;
}

.exp-nyc-summary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.exp-nyc-pill {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid transparent;
}

.exp-nyc-pill.worsening {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(127, 29, 29, 0.35);
}

.exp-nyc-pill.normal {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.6);
  background: rgba(20, 83, 45, 0.35);
}

.exp-nyc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 124px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-nyc-list::-webkit-scrollbar {
  width: 8px;
}

.exp-nyc-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-nyc-list::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-nyc-item {
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(13, 26, 52, 0.72);
  cursor: pointer;
}

.exp-nyc-item.worsening {
  border-color: rgba(248, 113, 113, 0.66);
  background: rgba(69, 10, 10, 0.35);
}

.exp-nyc-item.normal {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(20, 83, 45, 0.24);
}

.exp-nyc-item:hover,
.exp-nyc-item:focus-visible {
  border-color: rgba(147, 197, 253, 0.9);
}

.exp-nyc-item.active {
  border-color: rgba(125, 211, 252, 0.95);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.exp-nyc-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.exp-nyc-location {
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-nyc-status {
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  border: 1px solid transparent;
}

.exp-nyc-status.worsening {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.45);
  border-color: rgba(248, 113, 113, 0.6);
}

.exp-nyc-status.normal {
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.38);
  border-color: rgba(74, 222, 128, 0.55);
}

.exp-nyc-meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: #cbd5e1;
}

.exp-nyc-item-actions {
  margin-top: 6px;
  display: flex;
}

.exp-nyc-solution-btn {
  border: 1px solid rgba(74, 222, 128, 0.5);
  background: rgba(15, 23, 42, 0.7);
  color: #bbf7d0;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.exp-nyc-solution-btn:hover {
  background: rgba(22, 101, 52, 0.5);
}

.exp-nyc-solution-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.exp-nyc-solution {
  margin-top: 7px;
  border: 1px solid rgba(71, 85, 105, 0.75);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.68);
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-nyc-solution.loading {
  color: #bfdbfe;
  font-size: 10px;
}

.exp-nyc-solution.error {
  color: #fecaca;
  font-size: 10px;
}

.exp-nyc-solution-summary {
  color: #e2e8f0;
  font-size: 10px;
  line-height: 1.35;
}

.exp-nyc-solution-raw {
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.62);
  padding: 6px;
}

.exp-nyc-solution-raw-title {
  font-size: 10px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 5px;
}

.exp-nyc-solution-raw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}

.exp-nyc-solution-raw-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.exp-nyc-solution-raw-label {
  color: #93c5fd;
  font-size: 9px;
  font-weight: 700;
}

.exp-nyc-solution-raw-value {
  color: #dbeafe;
  font-size: 10px;
  line-height: 1.3;
}

.exp-nyc-solution-meta {
  color: #94a3b8;
  font-size: 9px;
}

.exp-nyc-solution-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exp-nyc-solution-item {
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 6px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.72);
}

.exp-nyc-solution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.exp-nyc-solution-title {
  color: #f8fafc;
  font-size: 10px;
  font-weight: 700;
}

.exp-nyc-solution-priority {
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid rgba(71, 85, 105, 0.8);
  color: #cbd5e1;
}

.exp-nyc-solution-priority.high {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(127, 29, 29, 0.35);
}

.exp-nyc-solution-priority.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.58);
  background: rgba(113, 63, 18, 0.35);
}

.exp-nyc-solution-priority.low {
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(20, 83, 45, 0.3);
}

.exp-nyc-solution-time {
  margin-top: 2px;
  color: #93c5fd;
  font-size: 9px;
}

.exp-nyc-solution-block-label {
  margin-top: 4px;
  color: #bfdbfe;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.exp-nyc-solution-why {
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 10px;
  line-height: 1.35;
}

.exp-nyc-solution-actions {
  margin: 5px 0 0 16px;
  padding: 0;
  color: #d1fae5;
  font-size: 9px;
  line-height: 1.35;
}

.exp-nyc-empty,
.exp-nyc-loading {
  font-size: 11px;
  color: #94a3b8;
}

.exp-nexrad-alerts {
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(7, 19, 38, 0.62);
}

.exp-nexrad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.exp-nexrad-title {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.exp-nexrad-updated {
  font-size: 10px;
  color: #94a3b8;
}

.exp-nexrad-summary {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.exp-nexrad-pill {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid transparent;
}

.exp-nexrad-pill.low {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(30, 64, 175, 0.3);
}

.exp-nexrad-pill.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.58);
  background: rgba(113, 63, 18, 0.35);
}

.exp-nexrad-pill.high {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.58);
  background: rgba(124, 45, 18, 0.35);
}

.exp-nexrad-pill.extreme {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(127, 29, 29, 0.35);
}

.exp-nexrad-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-nexrad-list::-webkit-scrollbar {
  width: 8px;
}

.exp-nexrad-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-nexrad-list::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-nexrad-item {
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(13, 26, 52, 0.7);
  cursor: pointer;
}

.exp-nexrad-item:hover,
.exp-nexrad-item:focus-visible {
  border-color: rgba(125, 211, 252, 0.95);
}

.exp-nexrad-item.active {
  border-color: rgba(125, 211, 252, 0.95);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.exp-nexrad-item.low {
  border-left: 3px solid rgba(96, 165, 250, 0.95);
}

.exp-nexrad-item.medium {
  border-left: 3px solid rgba(250, 204, 21, 0.95);
}

.exp-nexrad-item.high {
  border-left: 3px solid rgba(251, 146, 60, 0.95);
}

.exp-nexrad-item.extreme {
  border-left: 3px solid rgba(248, 113, 113, 0.95);
}

.exp-nexrad-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.exp-nexrad-hex {
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.exp-nexrad-level {
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  border: 1px solid transparent;
}

.exp-nexrad-level.low {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(30, 64, 175, 0.32);
}

.exp-nexrad-level.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(113, 63, 18, 0.32);
}

.exp-nexrad-level.high {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(124, 45, 18, 0.32);
}

.exp-nexrad-level.extreme {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.32);
}

.exp-nexrad-meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: #cbd5e1;
}

.exp-nexrad-empty,
.exp-nexrad-loading {
  font-size: 11px;
  color: #94a3b8;
}

.exp-hydro-alerts {
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(6, 18, 36, 0.62);
}

.exp-hydro-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.exp-hydro-title {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}

.exp-hydro-updated {
  font-size: 10px;
  color: #94a3b8;
}

.exp-hydro-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-hydro-explainer {
  font-size: 10px;
  color: #b8c4d8;
  line-height: 1.3;
}

.exp-hydro-pill {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid transparent;
}

.exp-hydro-pill.low {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(30, 64, 175, 0.3);
}

.exp-hydro-pill.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.58);
  background: rgba(113, 63, 18, 0.35);
}

.exp-hydro-pill.high {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.58);
  background: rgba(124, 45, 18, 0.35);
}

.exp-hydro-pill.extreme {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(127, 29, 29, 0.35);
}

.exp-hydro-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 110px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-hydro-list::-webkit-scrollbar {
  width: 8px;
}

.exp-hydro-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-hydro-list::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-hydro-item {
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(13, 26, 52, 0.7);
  cursor: pointer;
}

.exp-hydro-item:hover,
.exp-hydro-item:focus-visible {
  border-color: rgba(125, 211, 252, 0.95);
}

.exp-hydro-item.active {
  border-color: rgba(125, 211, 252, 0.95);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.exp-hydro-item.low {
  border-left: 3px solid rgba(96, 165, 250, 0.95);
}

.exp-hydro-item.medium {
  border-left: 3px solid rgba(250, 204, 21, 0.95);
}

.exp-hydro-item.high {
  border-left: 3px solid rgba(251, 146, 60, 0.95);
}

.exp-hydro-item.extreme {
  border-left: 3px solid rgba(248, 113, 113, 0.95);
}

.exp-hydro-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.exp-hydro-name {
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-hydro-level {
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  border: 1px solid transparent;
}

.exp-hydro-level.low {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(30, 64, 175, 0.32);
}

.exp-hydro-level.medium {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(113, 63, 18, 0.32);
}

.exp-hydro-level.high {
  color: #fed7aa;
  border-color: rgba(251, 146, 60, 0.55);
  background: rgba(124, 45, 18, 0.32);
}

.exp-hydro-level.extreme {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.32);
}

.exp-hydro-meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: #cbd5e1;
}

.exp-hydro-empty,
.exp-hydro-loading {
  font-size: 11px;
  color: #94a3b8;
}

.exp-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 8px 6px 8px;
}

.exp-list::-webkit-scrollbar {
  width: 9px;
}

.exp-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

.exp-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.9), rgba(51, 65, 85, 0.95));
  border: 2px solid rgba(15, 23, 42, 0.6);
}

.exp-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(51, 65, 85, 0.82);
  border-radius: 10px;
  background: rgba(11, 24, 48, 0.68);
  padding: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  outline: none;
}

.exp-row:hover,
.exp-row:focus-visible {
  border-color: rgba(74, 222, 128, 0.82);
  background: rgba(15, 34, 64, 0.82);
}

.exp-row.active {
  border-color: rgba(74, 222, 128, 0.95);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.28);
}

.exp-row-main {
  min-width: 0;
  flex: 1;
}

.exp-row-name {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-row-summary {
  margin-top: 3px;
  color: var(--exp-muted);
  font-size: 11px;
  line-height: 1.25;
}

.exp-row-soil {
  margin-top: 4px;
  color: #86efac;
  font-size: 10px;
  font-weight: 600;
}

.exp-row-note {
  margin-top: 4px;
  color: #fcd34d;
  font-size: 10px;
}

.exp-row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--exp-muted);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 1px;
}

.exp-level-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.exp-level-dot.low { background: #22c55e; }
.exp-level-dot.elevated { background: #eab308; }
.exp-level-dot.high { background: #f97316; }
.exp-level-dot.critical { background: #ef4444; }

.exp-time {
  color: #a8b4c6;
  min-width: 22px;
  text-align: right;
}

.exp-empty {
  padding: 16px;
  text-align: center;
  color: var(--exp-muted);
  font-size: 12px;
}

.exp-footer {
  border-top: 1px solid rgba(71, 85, 105, 0.3);
  padding: 7px 10px;
  font-size: 11px;
  color: var(--exp-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-footer.error {
  color: #fecaca;
}

.exp-map-popup {
  position: fixed;
  z-index: 10030;
  min-width: 230px;
  max-width: 300px;
  border-radius: 10px;
  border: 1px solid rgba(74, 222, 128, 0.52);
  background: rgba(8, 17, 34, 0.96);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  color: #e2e8f0;
  padding: 8px;
  transform: translate(-50%, calc(-100% - 14px));
  pointer-events: auto;
  transition: opacity 0.16s ease;
}

.exp-map-title {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.exp-map-summary {
  margin-top: 3px;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.25;
}

.exp-map-meta {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.exp-map-meta span {
  border: 1px solid rgba(51, 65, 85, 0.85);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
}

.exp-map-activation {
  margin-top: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 8px;
  background: rgba(30, 58, 138, 0.22);
  color: #bfdbfe;
  font-size: 10px;
  line-height: 1.35;
}

.exp-map-actions {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.exp-map-actions button[hidden] {
  display: none;
}

.exp-map-actions button {
  border: 1px solid rgba(74, 222, 128, 0.52);
  background: rgba(34, 197, 94, 0.15);
  color: #dcfce7;
  border-radius: 8px;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.exp-map-actions button:hover {
  background: rgba(34, 197, 94, 0.25);
}

.exp-map-solutions {
  margin-top: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-map-solutions::-webkit-scrollbar {
  width: 8px;
}

.exp-map-solutions::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-map-solutions::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-map-solutions .exp-nyc-solution {
  margin-top: 0;
}

.exp-map-route {
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}

.exp-map-route::-webkit-scrollbar {
  width: 8px;
}

.exp-map-route::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 999px;
}

.exp-map-route::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.86);
  border-radius: 999px;
}

.exp-map-route .exp-nyc-solution {
  margin-top: 0;
}

@media (max-width: 900px) {
  .exposure-panel {
    left: 10px;
    right: 10px;
    width: auto;
    top: calc(78px + env(safe-area-inset-top));
    bottom: calc(96px + env(safe-area-inset-bottom));
    max-height: none;
    min-height: 0;
  }

  .exp-map-popup {
    max-width: min(82vw, 300px);
  }
}

body.mobile-app-mode #exposure-panel.exposure-panel {
  inset: auto 0 calc(var(--mobile-app-nav-height) + var(--mobile-app-shell-bottom) + 8px) 0;
  width: auto;
  max-width: none;
  max-height: none;
  min-height: 0;
  height: min(72vh, calc(100vh - var(--mobile-app-shell-top) - var(--mobile-app-nav-height) - 24px));
  border-radius: 28px 28px 0 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.52);
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] {
  height: auto;
  left: 50%;
  right: auto;
  width: auto;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(71, 85, 105, 0.78);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-header,
body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-toolbar,
body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-alert-feed,
body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-footer {
  display: none;
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] {
  background: rgba(8, 15, 29, 0.9);
}

body.mobile-app-mode #exposure-panel .exp-sheet-handle-wrap {
  display: flex;
}

body.mobile-app-mode #exposure-panel .exp-sheet-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-sheet-handle-wrap {
  padding: 10px 12px;
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-sheet-handle {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 4px 14px 6px;
  flex-direction: column;
  gap: 0;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(100, 116, 139, 0.46);
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-sheet-handle-label {
  display: inline;
  text-align: center;
  line-height: 1.05;
}

body.mobile-app-mode #exposure-panel[data-sheet-state="peek"] .exp-sheet-handle-icon {
  transform: none;
  line-height: 1;
  font-size: 16px;
}

body.mobile-app-mode #exposure-panel .exp-header {
  height: auto;
  padding: 4px 18px 12px;
  background: transparent;
  border-bottom: 0;
}

body.mobile-app-mode #exposure-panel .exp-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}

body.mobile-app-mode #exposure-panel .exp-close {
  display: none;
}

body.mobile-app-mode #exposure-panel .exp-toolbar {
  padding: 0 16px 12px;
  border-bottom: 1px solid rgba(71, 85, 105, 0.28);
  background: transparent;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

body.mobile-app-mode #exposure-panel .exp-toolbar::-webkit-scrollbar {
  display: none;
}

body.mobile-app-mode #exposure-panel .exp-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
}

body.mobile-app-mode #exposure-panel .exp-alert-feed {
  padding: 12px 16px 12px;
  background: rgba(8, 22, 44, 0.42);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.mobile-app-mode #exposure-panel .exp-feed-list {
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
  padding-bottom: 18px;
}

body.mobile-app-mode #exposure-panel .exp-feed-empty-state {
  min-height: clamp(220px, 42vh, 360px);
  margin-top: 4px;
}

body.mobile-app-mode #exposure-panel .exp-footer {
  padding: 12px 16px;
  background: rgba(8, 15, 30, 0.92);
  border-top: 1px solid rgba(71, 85, 105, 0.28);
  color: rgba(148, 163, 184, 0.88);
  font-size: 12px;
  line-height: 1.4;
}
