
:root{
  --background:#f5f3ee;--surface:rgba(255,255,255,.92);--text:#171717;
  --text-secondary:#6b6b68;--accent:#173a63;--accent-soft:#dbe5ef;
  --border:rgba(23,23,23,.09);--shadow:0 24px 70px rgba(30,38,45,.14);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}
body{background:var(--background);color:var(--text)}button{font:inherit}
#scene-canvas{display:block;width:100%;height:100%;outline:none}
.topbar{position:fixed;inset:0 auto auto 0;z-index:20;padding:28px 34px;pointer-events:none}
.brand{display:grid;justify-items:start;gap:14px;pointer-events:auto}
.brand-mark-overlay{display:block;width:clamp(82px,7.2vw,116px);height:auto;max-height:94px;object-fit:contain;object-position:left top;filter:drop-shadow(0 5px 14px rgba(255,255,255,.22))}
.eyebrow{margin:0;color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.weather-display{min-width:254px;padding:12px 14px 10px;border:1px solid rgba(23,58,99,.12);border-radius:17px;background:rgba(255,255,255,.72);color:var(--accent);cursor:pointer;text-align:left}
.weather-display-label,.weather-display-updated{display:block;color:var(--text-secondary);font-size:10px;letter-spacing:.09em;text-transform:uppercase}
.weather-display-values{display:flex;align-items:center;gap:11px;margin:5px 0 3px}
.weather-display-values strong{font-family:"Courier New",Consolas,monospace;font-size:27px;letter-spacing:.035em;white-space:nowrap}
.weather-divider{width:1px;height:24px;background:rgba(23,58,99,.15)}
.status-pill{position:fixed;top:28px;left:50%;z-index:20;transform:translateX(-50%);display:flex;gap:8px;align-items:center;padding:9px 12px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.76);font-size:12px;color:var(--text-secondary);transition:.35s}
.status-pill.ready{opacity:0;transform:translate(-50%,-8px);pointer-events:none}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--accent)}
.panel,.weather-panel{position:fixed;z-index:30;border:1px solid var(--border);background:var(--surface);backdrop-filter:blur(24px);box-shadow:var(--shadow)}
.panel{top:20px;right:20px;bottom:20px;width:min(500px,calc(100vw - 40px));overflow-y:auto;padding:30px;border-radius:24px;transform:translateX(calc(100% + 45px));transition:transform .55s cubic-bezier(.22,.8,.22,1)}
.panel.open{transform:translateX(0)}.panel-close,.round-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:50%;background:white;color:var(--text-secondary);cursor:pointer;font-size:22px}
.panel-close{position:absolute;top:18px;right:18px}
.carousel-title{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:8px;align-items:center;margin:8px 42px 8px -4px}
.carousel-title h2{margin:0;text-align:center;font-size:31px;line-height:1.04;letter-spacing:-.045em}
.carousel-arrow{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:rgba(23,23,23,.44);cursor:pointer;font-size:24px}
.carousel-arrow:hover,.carousel-arrow:focus-visible{color:var(--accent);background:rgba(23,58,99,.07);outline:none}
.panel-description{margin:0 0 22px;color:var(--text-secondary);line-height:1.5;font-size:13px}
.metric-carousel{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:6px;align-items:center}
.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.metric-card{min-height:128px;padding:16px;border:1px solid var(--border);border-radius:17px;background:rgba(255,255,255,.62)}
.metric-card span,.metric-card small{display:block;color:var(--text-secondary);font-size:11px}
.metric-card strong{display:block;margin:14px 0 7px;color:var(--accent);font-size:clamp(22px,4vw,30px);letter-spacing:-.045em}
.metric-arrow{height:100%;min-height:60px}
.analysis-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0 16px;padding-top:22px;border-top:1px solid var(--border)}
.inline-carousel{display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:center;gap:5px;margin-top:5px}
.inline-carousel strong,.visualization-selector>strong{display:block;text-align:center;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.visualization-selector>strong{margin-top:10px}
.chart-key{display:flex;flex-wrap:wrap;gap:7px 13px;margin-bottom:6px;color:var(--text-secondary);font-size:10px}
.chart-key span{display:inline-flex;align-items:center;gap:5px}.key-dot{width:13px;height:2px;border-radius:2px}
.key-dot.raw{background:#2b67a3}.key-dot.average{background:#c64545}.key-dot.variation{background:#76528e}
.key-band{width:13px;height:8px;background:rgba(120,120,112,.18);border:1px solid rgba(120,120,112,.22)}
.chart{width:100%;height:390px}.chart-footnote{margin:6px 0 0;color:var(--text-secondary);font-size:10px;line-height:1.45}
.spaces-block{margin-top:28px}.space-list{display:grid;gap:8px;margin-top:10px}
.space-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:0 13px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.58);cursor:pointer;text-align:left}
.space-button:hover,.space-button.active{background:var(--accent-soft);border-color:rgba(23,58,99,.25)}.space-button small{color:var(--text-secondary)}
.weather-panel{top:178px;left:34px;width:min(410px,calc(100vw - 68px));padding:23px;border-radius:22px;opacity:0;visibility:hidden;transform:translateY(-10px) scale(.98);transition:.25s}
.weather-panel.open{opacity:1;visibility:visible;transform:none}.weather-panel-header{display:flex;justify-content:space-between}.weather-panel h2{margin:4px 0 0;font-size:30px}
.weather-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:19px 0 16px}.weather-grid article{min-height:98px;padding:14px;border:1px solid var(--border);border-radius:15px;background:rgba(255,255,255,.62)}
.weather-grid .weather-wide{grid-column:1/-1;min-height:82px}.weather-grid span,.weather-grid small{display:block;color:var(--text-secondary);font-size:10px}.weather-grid strong{display:block;margin:7px 0 5px;color:var(--accent);font-size:23px}
.canvas-label{position:fixed;z-index:18;padding:6px 9px;border:1px solid rgba(255,255,255,.55);border-radius:999px;background:rgba(255,255,255,.86);color:var(--accent);font-size:11px;font-weight:650;pointer-events:none;opacity:0;transform:translate(-50%,-120%)}.canvas-label.visible{opacity:1}
@media(max-width:760px){.topbar{padding:20px}.brand{gap:10px}.brand-mark-overlay{width:78px}.panel{top:auto;left:10px;right:10px;bottom:10px;width:auto;max-height:84vh;transform:translateY(calc(100% + 30px))}.panel.open{transform:none}.analysis-controls{grid-template-columns:1fr}.chart{height:350px}}

/* Navegação hierárquica v0.4.2 */

.space-entry {
  display: grid;
  gap: 6px;
}

.monitoring-points-list {
  display: grid;
  gap: 5px;
  margin: -2px 0 5px 18px;
  padding: 5px 0 4px 12px;
  border-left: 1px solid rgba(23, 58, 99, 0.14);
}

.monitoring-points-list[hidden] {
  display: none;
}

.monitoring-point-title {
  margin: 2px 0 4px;
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.monitoring-point-button {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.monitoring-point-button:hover,
.monitoring-point-button:focus-visible {
  background: rgba(23, 58, 99, 0.055);
  outline: none;
}

.monitoring-point-button.active {
  background: rgba(23, 58, 99, 0.1);
  color: var(--accent);
}

.monitoring-point-marker {
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border: 1px solid rgba(23, 58, 99, 0.42);
  border-radius: 50%;
}

.monitoring-point-button.active .monitoring-point-marker {
  border-color: var(--accent);
  background: var(--accent);
}

.monitoring-point-copy {
  display: block;
  min-width: 0;
}

.monitoring-point-copy strong,
.monitoring-point-copy small {
  display: block;
}

.monitoring-point-copy strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.monitoring-point-copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-point-empty {
  padding: 5px 7px;
  color: var(--text-secondary);
  font-size: 10px;
}

/* Refinamento hierárquico v0.4.2.1 */

.monitoring-points-list {
  gap: 0;
  margin: 2px 0 8px 20px;
  padding: 7px 0 3px 12px;
  border-left: 1px solid rgba(23, 58, 99, 0.10);
}

.monitoring-point-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 5px;
  color: rgba(107, 107, 104, 0.72);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
}

.monitoring-point-title small {
  color: rgba(107, 107, 104, 0.58);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.monitoring-point-button {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-height: 0;
  padding: 6px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.monitoring-point-button + .monitoring-point-button {
  border-top: 1px solid rgba(23, 23, 23, 0.045);
}

.monitoring-point-button:hover,
.monitoring-point-button:focus-visible {
  background: rgba(23, 58, 99, 0.035);
  outline: none;
}

.monitoring-point-button.active {
  background: rgba(23, 58, 99, 0.065);
  color: var(--accent);
}

.monitoring-point-marker {
  width: 5px;
  height: 5px;
  margin-top: 5px;
  border: 1px solid rgba(23, 58, 99, 0.34);
  border-radius: 50%;
}

.monitoring-point-button.active .monitoring-point-marker {
  border-color: var(--accent);
  background: var(--accent);
}

.monitoring-point-copy {
  min-width: 0;
}

.monitoring-point-copy strong {
  display: block;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 560;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-point-copy small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: rgba(107, 107, 104, 0.72);
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.monitoring-point-empty {
  padding: 4px 3px;
  color: rgba(107, 107, 104, 0.66);
  font-size: 9px;
}

/* Refinamento do painel com dados reais v0.5.2.2 */

.chart-empty-state {
  display: none;
  min-height: 152px;
  margin: 8px 0 4px;
  padding: 28px 24px;
  border: 1px solid rgba(23, 23, 23, 0.065);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.34);
  text-align: center;
}

.chart-empty-state.visible {
  display: grid;
  align-content: center;
  justify-items: center;
}

.chart-empty-state strong {
  max-width: 320px;
  color: rgba(27, 34, 41, 0.82);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.chart-empty-state span {
  max-width: 340px;
  margin-top: 7px;
  color: rgba(92, 95, 96, 0.64);
  font-size: 10px;
  line-height: 1.55;
}

.chart[hidden],
.chart-key[hidden] {
  display: none !important;
}

.monitoring-points-list {
  margin-top: 3px;
}

.monitoring-point-copy small {
  white-space: normal;
}

/* Valores recentes reais v0.5.2.3 */

.metric-card small {
  line-height: 1.35;
}

/* Workspace Analítico v0.5.5 */

.panel {
  overflow: visible;
}

.panel-layout {
  min-height: 100%;
}

.panel-summary,
.panel-visualization,
.panel-navigation {
  min-width: 0;
}

.panel-expand {
  position: absolute;
  top: 50%;
  left: -19px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px 0 0 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: -8px 10px 28px rgba(30, 38, 45, 0.10);
  color: rgba(23, 58, 99, 0.72);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    color .2s ease,
    background .2s ease,
    left .55s cubic-bezier(.22,.8,.22,1);
}

.panel-expand:hover,
.panel-expand:focus-visible {
  background: white;
  color: var(--accent);
  outline: none;
}

.panel.expanded {
  left: 84px;
  width: auto;
  overflow: hidden;
  padding: 24px 26px;
}

.panel.expanded .panel-expand {
  left: -19px;
}

.panel.expanded .panel-layout {
  display: grid;
  grid-template-columns:
    minmax(245px, .78fr)
    minmax(480px, 2.35fr)
    minmax(270px, .92fr);
  gap: 24px;
  height: 100%;
  min-height: 0;
}

.panel.expanded .panel-summary {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-right: 4px;
  overflow: hidden;
}

.panel.expanded .panel-visualization {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 2px 0 0;
}

.panel.expanded .panel-navigation {
  min-height: 0;
  margin-top: 0;
  padding-left: 22px;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.panel.expanded .carousel-title {
  margin-top: 10px;
}

.panel.expanded .carousel-title h2 {
  font-size: clamp(24px, 2.2vw, 36px);
}

.panel.expanded .panel-description {
  margin-bottom: 16px;
}

.panel.expanded .metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel.expanded .metric-card {
  min-height: 106px;
  padding: 14px;
}

.panel.expanded .metric-card strong {
  margin: 10px 0 5px;
  font-size: clamp(22px, 2.3vw, 34px);
}

.panel.expanded .analysis-controls {
  margin: 18px 0 0;
  padding-top: 16px;
}

.panel.expanded .chart {
  height: 100%;
  min-height: 420px;
}

.panel.expanded .chart-empty-state {
  height: 100%;
  min-height: 420px;
  margin: 0;
}

.panel.expanded .chart-key {
  align-items: center;
  min-height: 28px;
  margin-bottom: 2px;
}

.panel.expanded .chart-footnote {
  margin-top: 4px;
}

.panel.expanded .space-list {
  gap: 5px;
  margin-top: 9px;
}

.panel.expanded .space-button {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 11px;
  font-size: 11px;
}

.panel.expanded .monitoring-points-list {
  margin: 1px 0 4px 13px;
  padding: 4px 0 2px 10px;
}

.panel.expanded .monitoring-point-button {
  padding: 5px 4px;
}

.panel.expanded .monitoring-point-copy strong {
  white-space: normal;
}

.monitoring-point-button[data-status="active"] .monitoring-point-marker {
  border-color: rgba(53, 137, 75, 0.65);
  background: #46a760;
  box-shadow: 0 0 0 0 rgba(70, 167, 96, 0.34);
  animation: monitoring-point-pulse 2.2s ease-out infinite;
}

.monitoring-point-button[data-status="inactive"] .monitoring-point-marker {
  border-color: rgba(174, 55, 55, 0.72);
  background: #c74f4f;
  animation: none;
}

.monitoring-point-button[data-status="unavailable"] .monitoring-point-marker {
  border-color: rgba(107, 107, 104, 0.42);
  background: transparent;
  animation: none;
}

.monitoring-point-button.active[data-status="active"] .monitoring-point-marker {
  border-color: #31884a;
  background: #31884a;
}

.monitoring-point-button.active[data-status="inactive"] .monitoring-point-marker {
  border-color: #b13f3f;
  background: #b13f3f;
}

.monitoring-point-copy strong {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 5px;
  align-items: baseline;
}

.monitoring-point-name {
  min-width: 0;
}

.monitoring-point-coverage {
  color: rgba(107, 107, 104, 0.72);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

@keyframes monitoring-point-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(70, 167, 96, 0.36);
  }
  68% {
    box-shadow: 0 0 0 5px rgba(70, 167, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(70, 167, 96, 0);
  }
}

@media (max-width: 1180px) {
  .panel.expanded {
    left: 58px;
  }

  .panel.expanded .panel-layout {
    grid-template-columns:
      minmax(225px, .72fr)
      minmax(430px, 2fr)
      minmax(240px, .82fr);
    gap: 16px;
  }

  .panel.expanded .panel-navigation {
    padding-left: 15px;
  }
}

@media (max-height: 820px) and (min-width: 761px) {
  .panel.expanded {
    top: 10px;
    bottom: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .panel.expanded .metric-card {
    min-height: 88px;
  }

  .panel.expanded .chart {
    min-height: 320px;
  }

  .panel.expanded .chart-empty-state {
    min-height: 320px;
  }

  .panel.expanded .space-button {
    min-height: 32px;
  }

  .panel.expanded .monitoring-point-button {
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

@media (max-width: 760px) {
  .panel-expand {
    display: none;
  }

  .panel.expanded {
    left: 10px;
    right: 10px;
    width: auto;
    overflow-y: auto;
  }

  .panel.expanded .panel-layout {
    display: block;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .monitoring-point-button[data-status="active"] .monitoring-point-marker {
    animation: none;
  }

  .panel-expand,
  .panel {
    transition-duration: .01ms;
  }
}

/* Workspace Analítico inteligente v0.5.6 */

.expanded-metric-grid {
  display: none;
}

.period-coverage {
  display: block;
  margin-top: 6px;
  color: rgba(107, 107, 104, 0.66);
  font-size: 8.5px;
  line-height: 1.35;
  text-align: center;
}

.panel.expanded .panel-layout {
  grid-template-columns:
    minmax(265px, .82fr)
    minmax(560px, 2.75fr)
    minmax(255px, .78fr);
}

.panel.expanded .metric-carousel {
  display: none;
}

.panel.expanded .expanded-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.panel.expanded .expanded-metric-card {
  min-height: 82px;
  padding: 11px 12px;
  border-radius: 14px;
}

.panel.expanded .expanded-metric-card span {
  min-height: 23px;
  font-size: 9.5px;
  line-height: 1.25;
}

.panel.expanded .expanded-metric-card strong {
  margin: 5px 0 3px;
  font-size: clamp(18px, 1.55vw, 27px);
  line-height: 1;
}

.panel.expanded .expanded-metric-card small {
  overflow: hidden;
  font-size: 8px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel.expanded .analysis-controls {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
}

.panel.expanded .inline-carousel {
  grid-template-columns: 28px minmax(150px, 1fr) 28px;
}

.panel.expanded .inline-carousel strong {
  overflow: visible;
  font-size: 14px;
  text-overflow: clip;
  white-space: nowrap;
}

.panel.expanded .period-coverage {
  white-space: nowrap;
}

.panel.expanded .chart {
  min-height: 460px;
}

.panel.expanded .chart-empty-state {
  min-height: 460px;
}

@media (max-width: 1220px) {
  .panel.expanded .panel-layout {
    grid-template-columns:
      minmax(250px, .82fr)
      minmax(480px, 2.35fr)
      minmax(235px, .76fr);
  }
}

@media (max-height: 820px) and (min-width: 761px) {
  .panel.expanded .expanded-metric-card {
    min-height: 68px;
    padding: 8px 10px;
  }

  .panel.expanded .expanded-metric-card strong {
    margin: 4px 0 2px;
    font-size: 18px;
  }

  .panel.expanded .chart,
  .panel.expanded .chart-empty-state {
    min-height: 350px;
  }
}

@media (max-width: 760px) {
  .expanded-metric-grid {
    display: none !important;
  }
}

/* Derived Metrics v0.6.0 */
.expanded-metric-card {
  cursor: pointer;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.expanded-metric-card:hover,
.expanded-metric-card:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.expanded-metric-card.selected-for-chart {
  border-color: rgba(43, 103, 163, .42);
  box-shadow: 0 0 0 2px rgba(43, 103, 163, .10);
}

/* Derived Metrics v0.6.0.4 */

.panel.expanded .analysis-controls {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.panel.expanded .selector-block {
  min-width: 0;
}

.panel.expanded .visualization-selector {
  padding-top: 10px;
  padding-left: 0;
  border-top: 1px solid var(--border);
  border-left: 0;
}

.panel.expanded .inline-carousel {
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  width: 100%;
}

.panel.expanded .inline-carousel strong {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

/* Derived Metrics v0.6.1 */

.degree-days-view-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(246, 246, 243, .82);
}

.degree-days-view-toggle button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(23, 23, 23, .58);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
}

.degree-days-view-toggle button.active {
  background: white;
  box-shadow: 0 1px 5px rgba(23, 23, 23, .10);
  color: var(--accent);
}

.metric-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* D2.1 — Referência Climática Externa v0.7.0 */
.external-reference-toggle{display:inline-flex;align-items:center;gap:6px;min-height:26px;margin-left:auto;padding:0 9px;border:1px solid rgba(118,82,142,.20);border-radius:999px;background:rgba(255,255,255,.54);color:rgba(73,58,83,.78);cursor:pointer;font-size:9px;font-weight:600;line-height:1;transition:background .18s ease,border-color .18s ease,color .18s ease}
.external-reference-toggle:hover,.external-reference-toggle:focus-visible{border-color:rgba(118,82,142,.42);background:rgba(118,82,142,.07);color:#614276;outline:none}
.external-reference-toggle.active{border-color:rgba(118,82,142,.45);background:rgba(118,82,142,.11);color:#57386d}
.external-reference-toggle:disabled{cursor:default;opacity:.48}.external-reference-toggle[hidden]{display:none}.external-reference-swatch{width:13px;height:2px;border-radius:2px;background:#76528e}.panel.expanded .external-reference-toggle{min-height:28px;padding-inline:10px}
@media(max-width:760px){.external-reference-toggle{width:100%;justify-content:center;margin-left:0}}


/* D3.1 — Cards Multisselecionáveis v0.8.0 */

.expanded-metric-card {
  position: relative;
}

.expanded-metric-card.selected-primary {
  border-color: rgba(43, 103, 163, .56);
  background: rgba(43, 103, 163, .075);
  box-shadow:
    0 0 0 2px rgba(43, 103, 163, .11),
    0 8px 18px rgba(43, 103, 163, .07);
}

.expanded-metric-card.selected-comparison {
  border-color: rgba(47, 143, 131, .42);
  background: rgba(47, 143, 131, .055);
  box-shadow:
    0 0 0 1px rgba(47, 143, 131, .09);
}

.metric-selection-role {
  position: absolute;
  top: 8px;
  right: 9px;
  display: none;
  margin: 0;
  color: rgba(58, 70, 80, .62);
  font-size: 7.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.expanded-metric-card.selected-primary
.metric-selection-role,
.expanded-metric-card.selected-comparison
.metric-selection-role {
  display: block;
}

.expanded-metric-card.selected-primary
.metric-selection-role {
  color: rgba(43, 103, 163, .82);
}

.expanded-metric-card.selected-comparison
.metric-selection-role {
  color: rgba(47, 113, 105, .78);
}

.expanded-metric-card[aria-pressed="true"]::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b67a3;
  content: "";
}

.expanded-metric-card.selected-comparison::after {
  background: #2f8f83;
}


/* Hotfix v0.8.0.2 — badges, legend and adaptive timeline */

.metric-selection-role {
  top: 7px;
  right: 7px;
  min-width: 18px;
  padding: 3px 5px;
  border: 1px solid rgba(47, 113, 105, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  font-size: 7px;
  letter-spacing: .03em;
  text-align: center;
}

.expanded-metric-card.selected-primary
.metric-selection-role {
  min-width: auto;
  padding-inline: 6px;
}

.expanded-metric-card.selected-comparison
.metric-selection-role {
  color: rgba(47, 113, 105, .82);
}

.dynamic-chart-key-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.dynamic-key-line {
  display: inline-block;
  width: 13px;
  height: 2px;
  border-radius: 2px;
}

.dynamic-key-band {
  display: inline-block;
  width: 13px;
  height: 8px;
  border: 1px solid rgba(120,120,112,.22);
  background: rgba(120,120,112,.18);
}


/* Hotfix v0.8.0.3 — comparison defaults and contextual variation */

.chart-key {
  row-gap: 7px;
}

.panel.expanded .chart-shell {
  transition:
    height .18s ease,
    min-height .18s ease;
}


/* D4.1.1 — Carta psicrométrica base v0.9.0 */

.visualization-toggle {
  display: grid;
  gap: 4px;
  margin-top: 7px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.48);
}

.visualization-toggle button {
  min-height: 27px;
  padding: 4px 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 10px;
  line-height: 1.15;
}

.visualization-toggle button:hover,
.visualization-toggle button:focus-visible {
  color: var(--accent);
  outline: none;
}

.visualization-toggle button.active {
  background: rgba(23,58,99,.09);
  color: var(--accent);
  font-weight: 700;
}

.psychrometric-point-key {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2b67a3;
  opacity: .7;
}

.psychrometric-curve-key {
  display: inline-block;
  width: 13px;
  height: 0;
  border-top: 1px solid rgba(83,92,101,.42);
}


/* Hotfix v0.9.0.1 — navegação psicrométrica */

.panel-visualization:has(
  .chart canvas:hover
) {
  cursor: crosshair;
}

.chart {
  touch-action: none;
}


/* D3.3 — Frontend Refinement v0.9.1 */

/*
 * O painel resumido é o único viewport rolável.
 * O handle permanece fora dele e sempre acessível.
 */
.panel {
  min-height: 0;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.panel-layout {
  min-height: 0;
}

.panel-summary,
.panel-visualization,
.panel-navigation {
  min-height: 0;
  min-width: 0;
}

.panel-visualization {
  max-width: 100%;
  overflow: hidden;
}

.chart {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/*
 * O workspace expandido não rola como uma peça única:
 * cada coluna controla sua própria altura.
 */
.panel.expanded {
  overflow: hidden;
}

.panel.expanded .panel-summary,
.panel.expanded .panel-navigation {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.panel.expanded .panel-visualization {
  overflow: hidden;
}

.panel,
.panel.expanded .panel-summary,
.panel.expanded .panel-navigation {
  scrollbar-color:
    rgba(23, 58, 99, .24)
    transparent;
  scrollbar-width: thin;
}

.panel::-webkit-scrollbar,
.panel.expanded .panel-summary::-webkit-scrollbar,
.panel.expanded .panel-navigation::-webkit-scrollbar {
  width: 8px;
}

.panel::-webkit-scrollbar-track,
.panel.expanded .panel-summary::-webkit-scrollbar-track,
.panel.expanded .panel-navigation::-webkit-scrollbar-track {
  background: transparent;
}

.panel::-webkit-scrollbar-thumb,
.panel.expanded .panel-summary::-webkit-scrollbar-thumb,
.panel.expanded .panel-navigation::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    rgba(23, 58, 99, .20);
  background-clip: padding-box;
}

.panel::-webkit-scrollbar-thumb:hover,
.panel.expanded .panel-summary::-webkit-scrollbar-thumb:hover,
.panel.expanded .panel-navigation::-webkit-scrollbar-thumb:hover {
  background:
    rgba(23, 58, 99, .38);
  background-clip: padding-box;
}

/* Visualização e período compartilham o mesmo componente. */
.visualization-carousel {
  margin-top: 5px;
}

.visualization-carousel strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visualization-selector {
  min-width: 0;
}

/* Componentes segmentados antigos deixam de participar do layout. */
.visualization-toggle,
.degree-days-view-toggle {
  display: none;
}

/* Impede que o ECharts escape durante transições de largura. */
.panel-visualization,
#environment-chart,
#environment-chart > div,
#environment-chart canvas {
  max-width: 100%;
}

@media (max-width: 760px) {
  .panel {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .panel-visualization {
    overflow: hidden;
  }
}


/* D4.1.2 — Carta psicrométrica Interior × Exterior v0.9.2 */
.psychrometric-external-point-key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(52, 61, 70, .42);
  border-radius: 50%;
  background: rgba(88, 99, 111, .78);
}

.chart-key .external-reference-toggle {
  flex: 0 0 auto;
}

.external-reference-toggle.psychrometric-context
.external-reference-swatch {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(52, 61, 70, .42);
  border-radius: 50%;
  background: rgba(88, 99, 111, .78);
}


/* D4.1.4.1 — Infraestrutura sazonal v0.9.4 */
.seasonal-selector { min-width: 0; padding-top: 10px; border-top: 1px solid var(--border); }
.seasonal-toggle { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin-top:7px; padding:3px; border:1px solid var(--border); border-radius:13px; background:rgba(246,246,243,.82); }
.seasonal-toggle button { min-height:30px; padding:4px 7px; border:0; border-radius:10px; background:transparent; color:rgba(23,23,23,.58); cursor:pointer; font:inherit; font-size:10px; font-weight:600; line-height:1.15; }
.seasonal-toggle button:hover,.seasonal-toggle button:focus-visible { color:var(--accent); outline:none; }
.seasonal-toggle button.active { background:white; box-shadow:0 1px 5px rgba(23,23,23,.10); color:var(--accent); }
@media(max-width:760px){.seasonal-toggle{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* D4.1.4.2 — Visualização sazonal */
.seasonal-key-caption {
  color: rgba(23,23,23,.46);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.seasonal-key-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--season-color);
  box-shadow: 0 0 0 1px rgba(23,23,23,.08);
}


/* D4.1.5 — Estatísticas e classificação */
.statistics-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 28px rgba(23,23,23,.045);
}
.statistics-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.statistics-heading h3 { margin:2px 0 0; font-size:16px; font-weight:650; letter-spacing:-.02em; }
.statistics-status { flex:0 0 auto; padding:5px 9px; border-radius:999px; background:rgba(63,111,158,.09); color:var(--accent); font-size:10px; font-weight:700; }
.statistics-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.statistics-card { min-width:0; padding:10px 11px; border-radius:13px; background:rgba(246,246,243,.88); }
.statistics-card span { display:block; color:rgba(23,23,23,.55); font-size:10px; font-weight:650; }
.statistics-card strong { display:block; margin-top:4px; overflow:hidden; text-overflow:ellipsis; color:var(--accent); font-size:14px; font-weight:650; white-space:nowrap; }
.statistics-card small { display:block; margin-top:3px; color:rgba(23,23,23,.46); font-size:9px; line-height:1.25; }
.statistics-empty,.statistics-method-note { margin:0; color:rgba(23,23,23,.48); font-size:10px; line-height:1.45; }
.statistics-method-note { margin-top:10px; padding-top:9px; border-top:1px solid var(--border); }
@media(max-width:1100px){.statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.statistics-grid{grid-template-columns:1fr;}}


.visualization-toolbar { display:flex; justify-content:flex-end; gap:8px; min-height:32px; margin-bottom:8px; }
.visualization-toolbar.compact { min-height:auto; margin:0; }
.export-action { border:1px solid rgba(11,46,85,.16); border-radius:999px; background:rgba(255,255,255,.72); color:var(--accent); padding:7px 11px; font:700 10px/1 system-ui,sans-serif; letter-spacing:.04em; cursor:pointer; backdrop-filter:blur(12px); }
.export-action:hover { background:#fff; border-color:rgba(11,46,85,.32); }
.export-action:disabled { opacity:.45; cursor:progress; }
.statistics-heading-actions { display:flex; align-items:center; gap:8px; }

/* FloorPlan Foundation v0.9.7.5 */
.floor-plan-page{margin:0;background:var(--background);color:var(--text);min-height:100vh}.floor-plan-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;gap:18px;padding:24px;box-sizing:border-box}.floor-plan-header,.floor-plan-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.floor-plan-header h1{margin:3px 0 5px;font-size:clamp(24px,3vw,42px);letter-spacing:-.04em}.floor-plan-header p,.floor-plan-footer{color:var(--text-secondary)}.floor-plan-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.floor-plan-actions button,.floor-plan-actions a{border:1px solid var(--border);background:rgba(255,255,255,.72);color:var(--text);padding:10px 14px;border-radius:999px;text-decoration:none;font:inherit;cursor:pointer}.floor-plan-viewer{min-height:540px;overflow:hidden;touch-action:none;border:1px solid var(--border);border-radius:28px;background:rgba(255,255,255,.72);box-shadow:var(--shadow);cursor:grab}.floor-plan-viewer:active{cursor:grabbing}.floor-plan-svg{width:100%;height:100%;min-height:540px;display:block}.floor-plan-background>*{fill:none;stroke:#8c8b86;stroke-width:5;vector-effect:non-scaling-stroke}.floor-plan-background [data-role="site-boundary"]{stroke:#c5c2b9;stroke-dasharray:12 10}.floor-plan-background [data-role="partition"]{stroke-width:3}.floor-plan-spaces>*{fill:rgba(23,58,99,.08);stroke:rgba(23,58,99,.48);stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .16s ease,stroke .16s ease}.floor-plan-spaces>*:hover,.floor-plan-spaces>*:focus{fill:rgba(23,58,99,.18);stroke:#173a63;outline:none}.floor-plan-spaces>*.selected{fill:rgba(23,58,99,.34);stroke:#0b2e55;stroke-width:4}@media(max-width:760px){.floor-plan-shell{padding:14px}.floor-plan-header,.floor-plan-footer{align-items:flex-start;flex-direction:column}.floor-plan-viewer,.floor-plan-svg{min-height:430px}}



/* Climate map structural preview · v0.9.7.7 */
.climate-map-stage{display:grid;gap:12px}.climate-map-stage[hidden]{display:none}.climate-map-placeholder-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.climate-map-placeholder-header h3{margin:.2rem 0}.climate-map-placeholder-header button{border:1px solid rgba(35,55,70,.14);background:rgba(255,255,255,.72);border-radius:999px;padding:9px 14px;cursor:pointer}.climate-map-viewer{min-height:430px;box-shadow:none;border-radius:22px}.climate-map-viewer .floor-plan-svg{min-height:430px}.climate-map-viewer .floor-plan-spaces>*{fill:rgba(23,58,99,.025);stroke:rgba(23,58,99,.52);stroke-width:2.4}.climate-map-viewer .floor-plan-spaces>*:hover,.climate-map-viewer .floor-plan-spaces>*:focus{fill:rgba(23,58,99,.10)}.climate-map-viewer .floor-plan-spaces>*.selected{fill:rgba(23,58,99,.16);stroke:#0b2e55}.climate-map-empty{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--text-secondary);padding:32px}.climate-map-empty strong{color:var(--text)}@media(max-width:760px){.climate-map-placeholder-header{flex-direction:column}.climate-map-viewer,.climate-map-viewer .floor-plan-svg,.climate-map-empty{min-height:340px}}

/* Climate Map v0.9.8.0 */
.climate-map-legend{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;color:var(--text-secondary);font-size:10px}.climate-map-legend-item{display:inline-flex;align-items:center;gap:6px}.climate-map-legend-item i{width:12px;height:12px;border-radius:4px;background:var(--legend-color);border:1px solid rgba(23,23,23,.14)}.climate-map-viewer .floor-plan-spaces>*[data-classification]{fill:var(--space-fill);fill-opacity:.78;stroke:rgba(23,23,23,.42)}.climate-map-viewer .floor-plan-spaces>*[data-classification]:hover,.climate-map-viewer .floor-plan-spaces>*[data-classification]:focus{fill:var(--space-fill);fill-opacity:.94;stroke:#0b2e55}.climate-map-viewer .floor-plan-spaces>*[data-classification].selected{fill:var(--space-fill);fill-opacity:1;stroke:#0b2e55;stroke-width:4}

/* Climate Map controls and chart layering · v0.9.8.1 */
.chart-key {
  position: relative;
  z-index: 4;
}

#environment-chart,
#environment-chart > div,
#environment-chart canvas {
  position: relative;
  z-index: 1;
}

.external-reference-toggle {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.statistics-status[hidden] {
  display: none;
}

/* v0.10.0 — Interface Polish */
.visualization-toolbar[data-export-toolbar="chart"] {
  align-items: center;
}

.visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle {
  order: -1;
  margin-left: 0;
  min-height: 30px;
  padding-inline: 11px;
}

.visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle + .export-action {
  margin-left: 2px;
}

@media (max-width: 760px) {
  .visualization-toolbar[data-export-toolbar="chart"] {
    flex-wrap: wrap;
  }

  .visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle {
    width: auto;
  }
}

/* v0.11.0 — perfis e diretrizes ambientais */
.guideline-selector { min-width: 220px; }
.guideline-select { width: 100%; border: 1px solid rgba(18,38,58,.16); border-radius: 12px; padding: 9px 34px 9px 11px; background: rgba(255,255,255,.72); color: inherit; font: inherit; }
.kr-key { display:inline-block; width:12px; height:12px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.kr-micro { background:rgba(232,102,88,.75); }
.kr-dry { background:rgba(239,213,91,.85); }
.kr-freeze { background:rgba(83,139,207,.75); }
.kr-central { background:rgba(255,255,255,.9); border:1px solid rgba(18,38,58,.25); }

/* v0.11.0.1 — Krist & Runkel Visualization Fix */
.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector { order: 0; display:flex; align-items:center; gap:7px; min-width:0; font-size:12px; color:rgba(18,38,58,.72); }
.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector > span { font-weight:650; }
.visualization-toolbar[data-export-toolbar="chart"] .guideline-select { width:auto; max-width:260px; min-height:30px; border-radius:10px; padding:5px 30px 5px 10px; background:rgba(255,255,255,.78); font-size:12px; }
.chart-key:has(.kr-heading) { display:block; margin-bottom:8px; }
.kr-heading { display:flex; flex-direction:column; gap:2px; margin-bottom:9px; }
.kr-heading strong { font-size:20px; letter-spacing:-.02em; color:#172b42; }
.kr-heading span { font-size:13px; color:rgba(18,38,58,.62); }
.kr-legend { display:flex; flex-wrap:wrap; gap:9px 18px; font-size:12px; color:rgba(18,38,58,.72); }
@media(max-width:760px){.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector{width:100%;order:-1}.visualization-toolbar[data-export-toolbar="chart"] .guideline-select{flex:1;max-width:none}}


/* v0.12.1 — Interface Motion & Layout Polish */
.panel {
  transition: transform .62s cubic-bezier(.22,.8,.22,1);
}

.panel-close {
  top: 8px;
  right: 8px;
  z-index: 8;
  box-shadow: 0 5px 16px rgba(30,38,45,.10);
}

.panel.expanded .panel-close {
  top: 7px;
  right: 7px;
}

.panel-navigation {
  padding-top: 5px;
}

.expanded-metric-card[aria-pressed="true"]::after {
  top: 11px;
  right: 10px;
  bottom: auto;
}

.metric-selection-role {
  right: 22px;
}

.expanded-metric-card small,
.metric-card small {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.panel.expanded .chart-shell,
.panel.expanded .panel-visualization {
  min-height: 0;
}

.panel.expanded .chart {
  height: min(44vh, 410px);
}

.panel.expanded .chart-key {
  min-height: 18px;
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .panel.expanded .chart {
    height: min(40vh, 370px);
  }
}

/* v0.13.0 — Dashboard Overview */
.dashboard-fab{position:fixed;left:28px;bottom:28px;z-index:60;display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.76);backdrop-filter:blur(20px);box-shadow:0 12px 34px rgba(35,45,55,.16);color:var(--text-primary);cursor:pointer;transition:transform .28s cubic-bezier(.22,.8,.22,1),background .28s,border-color .28s}.dashboard-fab:hover,.dashboard-fab:focus-visible{transform:translateY(-2px);background:rgba(255,255,255,.92);border-color:rgba(255,255,255,.95)}.dashboard-fab.active{background:rgba(11,46,85,.92);color:white}.dashboard-fab img{width:24px;height:24px;display:block}.dashboard-fab.active img{filter:brightness(0) invert(1)}
.dashboard-view{position:fixed;inset:0;z-index:45;padding:20px;background:rgba(238,237,232,.84);backdrop-filter:blur(18px);opacity:0;transform:translateY(10px);transition:opacity .3s cubic-bezier(.22,.8,.22,1),transform .3s cubic-bezier(.22,.8,.22,1);overflow:auto}.dashboard-view.open{opacity:1;transform:none}.dashboard-surface{min-height:calc(100vh - 40px);border:1px solid rgba(255,255,255,.9);border-radius:28px;background:rgba(250,249,246,.94);box-shadow:0 22px 70px rgba(35,45,55,.16);overflow:hidden}.dashboard-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;padding:30px 34px 24px;border-bottom:1px solid var(--border);background:rgba(250,249,246,.92);backdrop-filter:blur(22px)}.dashboard-header h1{margin:5px 0 7px;font-size:clamp(30px,4vw,48px);font-weight:560;letter-spacing:-.035em}.dashboard-header>div>p:last-child{margin:0;color:var(--text-secondary);font-size:13px}.dashboard-close{flex:0 0 auto}.dashboard-content{display:grid;gap:42px;padding:34px}.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.dashboard-section-heading h2{margin:4px 0 0;font-size:23px;font-weight:560;letter-spacing:-.02em}.dashboard-section-heading small{color:var(--text-secondary)}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-kpi{min-height:138px;padding:18px;border:1px solid var(--border);border-radius:18px;background:white;display:flex;flex-direction:column}.dashboard-kpi span{color:var(--text-secondary);font-size:12px}.dashboard-kpi strong{margin-top:auto;font-size:29px;font-weight:570;letter-spacing:-.035em}.dashboard-kpi small{margin-top:6px;color:var(--text-secondary);line-height:1.35}.dashboard-building-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-building-card{padding:21px;border:1px solid var(--border);border-radius:20px;background:white}.dashboard-building-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dashboard-building-heading span{color:var(--text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.dashboard-building-heading h3{margin:5px 0 0;font-size:19px;font-weight:570}.dashboard-building-heading>strong{font-size:17px;font-weight:560;color:var(--accent)}.dashboard-building-card dl{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0 18px}.dashboard-building-card dl div{padding-top:10px;border-top:1px solid var(--border)}.dashboard-building-card dt{color:var(--text-secondary);font-size:11px}.dashboard-building-card dd{margin:4px 0 0;font-size:18px;font-weight:550}.dashboard-building-card p{margin:0;color:var(--text-secondary);font-size:12px}.dashboard-ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-ranking-card{padding:21px;border:1px solid var(--border);border-radius:20px;background:white}.dashboard-ranking-card header{min-height:92px}.dashboard-ranking-card header span{color:var(--text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.dashboard-ranking-card header h3{margin:5px 0 8px;font-size:19px;font-weight:570}.dashboard-ranking-card header small{display:block;color:var(--text-secondary);line-height:1.4}.dashboard-ranking-card ol{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--border)}.dashboard-ranking-card li+li{border-top:1px solid var(--border)}.dashboard-ranking-card button{display:grid;grid-template-columns:28px minmax(0,1fr) auto 14px;align-items:center;gap:10px;width:100%;padding:13px 0;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}.dashboard-ranking-card button:hover .dashboard-ranking-copy strong,.dashboard-ranking-card button:focus-visible .dashboard-ranking-copy strong{color:var(--accent)}.dashboard-ranking-position{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--surface-muted);font-size:12px;font-weight:650}.dashboard-ranking-copy{min-width:0}.dashboard-ranking-copy strong,.dashboard-ranking-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-ranking-copy strong{font-size:14px;font-weight:580;transition:color .2s}.dashboard-ranking-copy small{margin-top:3px;color:var(--text-secondary);font-size:11px}.dashboard-ranking-value{font-size:14px;font-weight:620;white-space:nowrap}.dashboard-ranking-arrow{font-size:22px;color:var(--text-secondary)}.dashboard-empty{grid-column:1/-1;padding:26px;border:1px dashed var(--border);border-radius:20px;background:rgba(255,255,255,.55)}.dashboard-empty strong,.dashboard-empty span{display:block}.dashboard-empty span{margin-top:5px;color:var(--text-secondary)}.dashboard-open .panel,.dashboard-open .weather-panel,.dashboard-open .topbar,.dashboard-open .status-pill{visibility:hidden}.dashboard-open .canvas-label{display:none}
@media(max-width:1180px){.dashboard-kpi-grid{grid-template-columns:repeat(3,1fr)}.dashboard-building-grid{grid-template-columns:repeat(2,1fr)}.dashboard-ranking-grid{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-fab{left:16px;bottom:16px;width:50px;height:50px}.dashboard-view{padding:8px}.dashboard-surface{min-height:calc(100vh - 16px);border-radius:20px}.dashboard-header,.dashboard-content{padding:22px}.dashboard-section-heading{align-items:flex-start;flex-direction:column}.dashboard-kpi-grid,.dashboard-building-grid{grid-template-columns:1fr}.dashboard-kpi{min-height:118px}}

/* v0.13.2 — Consolidated indicators */
.dashboard-export-toolbar{display:flex;gap:8px}.dashboard-export-toolbar button{border:1px solid var(--border);border-radius:999px;background:white;padding:8px 12px;color:var(--text);font:inherit;font-size:12px;cursor:pointer}.dashboard-export-toolbar button:hover{border-color:rgba(38,91,132,.35);color:var(--accent)}
.dashboard-indicator-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.dashboard-consolidated-card{min-height:132px;padding:18px;border:1px solid var(--border);border-radius:18px;background:white;display:flex;flex-direction:column}.dashboard-consolidated-card span{color:var(--text-secondary);font-size:12px}.dashboard-consolidated-card strong{margin-top:auto;font-size:27px;font-weight:570;letter-spacing:-.03em}.dashboard-consolidated-card small{margin-top:7px;color:var(--text-secondary);font-size:10px;line-height:1.35;overflow-wrap:anywhere}
button.dashboard-building-card{width:100%;text-align:left;color:inherit;font:inherit;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}.dashboard-building-card:hover,.dashboard-building-card.selected{border-color:rgba(38,91,132,.32);box-shadow:0 10px 30px rgba(35,45,55,.08);transform:translateY(-1px)}.dashboard-building-card.selected{outline:2px solid rgba(38,91,132,.12)}
.dashboard-space-controls{display:flex;gap:10px;flex-wrap:wrap}.dashboard-space-controls label{display:grid;gap:4px;color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.dashboard-space-controls select{min-width:190px;border:1px solid var(--border);border-radius:10px;background:white;padding:8px 10px;color:var(--text);font:inherit;font-size:12px;text-transform:none;letter-spacing:0}.dashboard-space-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:20px;background:white}.dashboard-space-table{width:100%;border-collapse:collapse;min-width:920px}.dashboard-space-table th,.dashboard-space-table td{padding:14px 16px;border-bottom:1px solid var(--border);text-align:left;font-size:12px;white-space:nowrap}.dashboard-space-table th{position:sticky;top:0;background:rgba(250,249,246,.96);color:var(--text-secondary);font-weight:520}.dashboard-space-table tbody tr:last-child td{border-bottom:0}.dashboard-space-table td:first-child{white-space:normal}.dashboard-space-table td strong,.dashboard-space-table td small{display:block}.dashboard-space-table td small{margin-top:3px;color:var(--text-secondary);font-size:10px}.dashboard-space-open{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--border);border-radius:50%;background:white;color:var(--accent);font-size:21px;cursor:pointer}.dashboard-space-open:hover{background:var(--surface-muted)}.dashboard-table-empty{text-align:center!important;color:var(--text-secondary);padding:28px!important}
@media(max-width:1100px){.dashboard-indicator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.dashboard-indicator-grid{grid-template-columns:1fr 1fr}.dashboard-space-controls{width:100%}.dashboard-space-controls label,.dashboard-space-controls select{width:100%}.dashboard-export-toolbar{width:100%}}

/* v0.13.2.1 — Dashboard information architecture */
.dashboard-header-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dashboard-guideline-control{display:grid;gap:4px;color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.dashboard-guideline-control select{min-width:220px;border:1px solid var(--border);border-radius:10px;background:white;padding:8px 10px;color:var(--text);font:inherit;font-size:12px;text-transform:none;letter-spacing:0}.dashboard-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.dashboard-coverage-wrap{border:1px solid var(--border);border-radius:20px;background:white;padding:16px;overflow:auto}.dashboard-coverage-axis{display:flex;justify-content:space-between;margin:0 0 10px 230px;color:var(--text-secondary);font-size:10px}.dashboard-coverage-row{display:grid;grid-template-columns:210px minmax(520px,1fr);gap:14px;align-items:center;width:100%;padding:7px 0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.dashboard-coverage-row:hover .dashboard-coverage-name{color:var(--accent)}.dashboard-coverage-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.dashboard-coverage-track{position:relative;height:12px;border-radius:999px;background:var(--surface-muted);overflow:hidden}.dashboard-coverage-segment{position:absolute;top:0;bottom:0;border-radius:999px;background:var(--accent)}.dashboard-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--surface-muted);font-size:10px}.dashboard-status-active{background:rgba(70,135,95,.12);color:#2f7650}.dashboard-status-inactive{background:rgba(160,120,55,.12);color:#8a6427}.dashboard-period-cell{max-width:220px;white-space:normal!important;font-size:10px!important;color:var(--text-secondary)}.dashboard-space-table{min-width:1380px}.dashboard-space-table th,.dashboard-space-table td{padding:12px 13px}.dashboard-content{gap:36px}@media(max-width:900px){.dashboard-header{align-items:flex-start;gap:18px}.dashboard-header-actions{width:100%;justify-content:flex-start}.dashboard-guideline-control,.dashboard-guideline-control select{width:100%}.dashboard-coverage-row{grid-template-columns:160px minmax(420px,1fr)}.dashboard-coverage-axis{margin-left:174px}}

/* v0.13.2.2 — Dashboard selection and priority views */
.dashboard-selection-context{margin-top:14px;padding:14px 16px;border:1px solid rgba(38,91,132,.2);border-radius:16px;background:rgba(38,91,132,.055);display:flex;align-items:center;justify-content:space-between;gap:18px}.dashboard-selection-context[hidden]{display:none}.dashboard-selection-context div{display:grid;gap:3px}.dashboard-selection-context span{color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.dashboard-selection-context strong{font-size:14px;font-weight:600}.dashboard-selection-context small{color:var(--text-secondary);font-size:11px}.dashboard-selection-context button{border:1px solid var(--border);border-radius:999px;background:white;padding:8px 12px;color:var(--accent);font:inherit;font-size:11px;cursor:pointer}.dashboard-selection-context button:hover{border-color:rgba(38,91,132,.35)}
.dashboard-priority-control{display:grid;gap:4px;color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.dashboard-priority-control select{min-width:245px;border:1px solid var(--border);border-radius:10px;background:white;padding:8px 10px;color:var(--text);font:inherit;font-size:12px;text-transform:none;letter-spacing:0}
.dashboard-coverage-row{cursor:default;transition:opacity .2s}.dashboard-coverage-row.muted{opacity:.48}.dashboard-coverage-name{display:grid;gap:2px;white-space:normal}.dashboard-coverage-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:560}.dashboard-coverage-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);font-size:9px}.dashboard-coverage-track{overflow:visible}.dashboard-coverage-segment{border:0;min-width:3px;padding:0;cursor:pointer;transition:opacity .2s,filter .2s,transform .2s,box-shadow .2s}.dashboard-coverage-segment:hover,.dashboard-coverage-segment:focus-visible{transform:scaleY(1.4);box-shadow:0 0 0 2px rgba(38,91,132,.16)}.dashboard-coverage-segment.selected{background:#1f5f8e;box-shadow:0 0 0 3px rgba(38,91,132,.18);transform:scaleY(1.35)}.dashboard-coverage-segment.muted{background:#cfd4d5;opacity:.72;filter:saturate(.2)}
.dashboard-space-controls select:disabled{opacity:.5;cursor:not-allowed;background:var(--surface-muted)}.dashboard-selected-detail-row{background:rgba(38,91,132,.045)}
.dashboard-ranking-card li{transition:opacity .2s,filter .2s,background .2s}.dashboard-ranking-card li.muted{opacity:.35;filter:grayscale(.85)}.dashboard-ranking-card li.selected{margin:0 -10px;padding:0 10px;background:rgba(38,91,132,.055);box-shadow:inset 3px 0 0 var(--accent)}.dashboard-ranking-card header span{font-size:10px}.dashboard-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.dashboard-priority-control,.dashboard-priority-control select{width:100%}.dashboard-selection-context{align-items:flex-start;flex-direction:column}.dashboard-coverage-row{grid-template-columns:160px minmax(420px,1fr)}}
@media(max-width:700px){.dashboard-ranking-grid{grid-template-columns:1fr}}

/* v0.13.3 — Leitura transversal e eventos críticos */
.dashboard-priority-carousel{display:flex;align-items:center;gap:10px;padding:5px;border:1px solid var(--border);border-radius:999px;background:white}.dashboard-priority-carousel button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--accent);font-size:22px;cursor:pointer}.dashboard-priority-carousel button:hover,.dashboard-priority-carousel button:focus-visible{background:var(--surface-muted)}.dashboard-priority-carousel strong{min-width:250px;text-align:center;font-size:12px;font-weight:560}.dashboard-events{display:grid;gap:9px}.dashboard-event{display:grid;grid-template-columns:190px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 16px;border:1px solid var(--border);border-left:4px solid #a4aaac;border-radius:15px;background:white}.dashboard-event-critical{border-left-color:#bd584e}.dashboard-event-attention{border-left-color:#c3963f}.dashboard-event-information{border-left-color:#6588a5}.dashboard-event-date,.dashboard-event-copy{display:grid;gap:3px}.dashboard-event-date strong,.dashboard-event-copy strong{font-size:12px;font-weight:590}.dashboard-event-date small,.dashboard-event-copy small{color:var(--text-secondary);font-size:10px}.dashboard-event-copy>span{color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.dashboard-event-status{padding:5px 9px;border-radius:999px;background:var(--surface-muted);font-size:10px}.dashboard-event-filters{display:flex;gap:5px;padding:4px;border:1px solid var(--border);border-radius:999px;background:white}.dashboard-event-filters button{border:0;border-radius:999px;background:transparent;padding:6px 10px;color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer}.dashboard-event-filters button.active{background:var(--surface-muted);color:var(--text-primary);font-weight:600}
@media(max-width:800px){.dashboard-priority-carousel{width:100%;justify-content:space-between}.dashboard-priority-carousel strong{min-width:0}.dashboard-event{grid-template-columns:1fr}.dashboard-event-status{justify-self:start}.dashboard-event-filters{width:100%;justify-content:space-between}}

/* v0.13.4 — Operational events */
.dashboard-events-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dashboard-register-event{border:1px solid var(--border);border-radius:999px;background:var(--accent);color:white;padding:9px 14px;font:inherit;font-size:11px;cursor:pointer}.dashboard-register-event:hover,.dashboard-register-event:focus-visible{filter:brightness(1.06)}
.dashboard-event{grid-template-columns:minmax(155px,.75fr) minmax(260px,1.35fr) minmax(230px,1.15fr) minmax(180px,.9fr) auto;align-items:start;padding:18px 20px;gap:20px}.dashboard-event-date,.dashboard-event-copy,.dashboard-event-technical,.dashboard-event-notes{display:grid;gap:5px;min-width:0}.dashboard-event-date>span,.dashboard-event-copy>span,.dashboard-event-technical>span,.dashboard-event-notes>span{color:var(--text-secondary);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.dashboard-event-date strong,.dashboard-event-copy strong,.dashboard-event-technical strong,.dashboard-event-notes strong{font-size:12px;font-weight:600;line-height:1.35}.dashboard-event-date small,.dashboard-event-copy small,.dashboard-event-technical small,.dashboard-event-notes small{font-size:10px;line-height:1.45;color:var(--text-secondary)}.dashboard-event-badges{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.dashboard-event-source,.dashboard-event-status{padding:5px 9px;border-radius:999px;font-size:9px;white-space:nowrap}.dashboard-event-source-automatic{background:#eef2f5;color:#37516c}.dashboard-event-source-manual{background:#eef4eb;color:#456344}
.event-editor{position:fixed;z-index:90;top:12px;right:12px;bottom:12px;width:min(440px,calc(100vw - 24px));padding:22px;background:rgba(252,251,248,.97);backdrop-filter:blur(18px);border:1px solid rgba(20,35,50,.12);border-radius:24px;box-shadow:0 24px 80px rgba(10,20,30,.18);transform:translateX(calc(100% + 36px));opacity:0;pointer-events:none;transition:transform .32s var(--motion-ease, cubic-bezier(.22,1,.36,1)),opacity .24s ease;overflow:auto}.event-editor.open{transform:translateX(0);opacity:1;pointer-events:auto}.event-editor-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.event-editor-header h2{margin:4px 0 0;font-size:24px}.event-editor form{display:grid;gap:13px}.event-editor label{display:grid;gap:6px;color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.event-editor input,.event-editor select,.event-editor textarea{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:12px;background:white;padding:10px 12px;color:var(--text-primary);font:inherit;font-size:12px;text-transform:none;letter-spacing:0}.event-editor textarea{resize:vertical}.event-editor-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.event-editor-note{margin:0;color:var(--text-secondary);font-size:10px;line-height:1.5}.event-editor-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.event-editor-actions button{border:1px solid var(--border);border-radius:999px;background:white;padding:9px 13px;font:inherit;font-size:11px;cursor:pointer}.event-editor-actions button.primary{background:var(--accent);color:white;border-color:var(--accent)}
@media(max-width:1100px){.dashboard-event{grid-template-columns:1fr 1.4fr 1fr}.dashboard-event-notes{grid-column:2}.dashboard-event-badges{grid-column:3;grid-row:1}}
@media(max-width:760px){.dashboard-events-actions{width:100%;justify-content:space-between}.dashboard-event{grid-template-columns:1fr}.dashboard-event-notes,.dashboard-event-badges{grid-column:auto;grid-row:auto}.dashboard-event-badges{align-items:flex-start;flex-direction:row}.event-editor-row{grid-template-columns:1fr}}

/* v0.14.1 - Static Report Generator & Methodology Wizard */
.report-wizard{position:fixed;z-index:110;top:12px;right:12px;bottom:12px;width:min(560px,calc(100vw - 24px));padding:24px;background:rgba(252,251,248,.98);backdrop-filter:blur(20px);border:1px solid rgba(20,35,50,.12);border-radius:26px;box-shadow:0 28px 90px rgba(10,20,30,.2);transform:translateX(calc(100% + 40px));opacity:0;pointer-events:none;transition:transform .32s var(--motion-ease,cubic-bezier(.22,1,.36,1)),opacity .24s ease;overflow:auto}.report-wizard.open{transform:translateX(0);opacity:1;pointer-events:auto}.report-wizard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.report-wizard-header h2{margin:4px 0 0;font-size:26px}.report-wizard form{display:grid;gap:15px}.report-wizard section{display:grid;gap:10px;padding:16px;border:1px solid var(--border);border-radius:18px;background:white}.report-wizard section h3{margin:0 0 3px;font-size:15px}.report-wizard label{display:grid;gap:5px;color:var(--text-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.report-wizard input,.report-wizard select{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:11px;background:white;padding:9px 11px;color:var(--text);font:inherit;font-size:12px;text-transform:none;letter-spacing:0}.report-wizard input:disabled{background:var(--surface-muted);color:var(--text-secondary)}.report-wizard-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.report-check{display:flex!important;align-items:center;gap:8px!important;color:var(--text)!important;font-size:11px!important;text-transform:none!important;letter-spacing:0!important}.report-check input{width:auto}.report-section-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-wizard-review{background:rgba(230,237,242,.5)!important}.report-wizard-review dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.report-wizard-review dl div{padding:8px;border-radius:10px;background:white}.report-wizard-review dt{font-size:9px;text-transform:uppercase;color:var(--text-secondary)}.report-wizard-review dd{margin:3px 0 0;font-size:12px;font-weight:560}.report-wizard-review p{margin:4px 0 0;color:var(--text-secondary);font-size:10px}.report-wizard-review code{display:block;padding:10px;border-radius:10px;background:#17212b;color:#f7f8f9;font-size:10px;white-space:normal;word-break:break-word}.report-wizard-actions{position:sticky;bottom:-24px;display:flex;justify-content:flex-end;gap:9px;padding:16px 0 0;background:linear-gradient(transparent,rgba(252,251,248,.98) 25%)}.report-wizard-actions button{border:1px solid var(--border);border-radius:999px;background:white;padding:10px 15px;font:inherit;font-size:11px;cursor:pointer}.report-wizard-actions button.primary{background:var(--accent);border-color:var(--accent);color:white}@media(max-width:650px){.report-wizard-row,.report-section-checks,.report-wizard-review dl{grid-template-columns:1fr}}

/* v0.14.1.1 - Report Scope & Structure Refinement */
.report-coverage-summary{display:grid;gap:3px;padding:11px 12px;border-radius:12px;background:var(--surface-muted);color:var(--text-secondary);font-size:11px}.report-coverage-summary strong{color:var(--text);font-size:12px}.report-coverage-summary small{font-size:10px}.report-period-warning{margin:0;padding:9px 11px;border-radius:10px;background:#fff4df;color:#7b5318;font-size:11px}.report-method-note,.report-structure p{margin:0;color:var(--text-secondary);font-size:11px;line-height:1.5}.report-wizard [hidden]{display:none!important}

/* v0.14.1.2.1 — shared overlay dismissal */
.overlay-backdrop{position:fixed;inset:0;opacity:0;visibility:hidden;pointer-events:none;background:rgba(22,31,40,.12);backdrop-filter:blur(2px);transition:opacity .2s ease,visibility .2s ease}
.overlay-backdrop.open{opacity:1;visibility:visible;pointer-events:auto}
.overlay-backdrop-panel{z-index:29}
.overlay-backdrop-event{z-index:89}
.overlay-backdrop-report{z-index:109}
.report-restore-suggestion{justify-self:start;margin-top:2px;padding:0;border:0;background:transparent;color:var(--accent);font:inherit;font-size:10px;text-transform:none;letter-spacing:0;cursor:pointer}
.report-restore-suggestion:hover,.report-restore-suggestion:focus-visible{text-decoration:underline}

/* v0.14.2 — Environmental Guidance Engine */
.environmental-guidance-panel{margin:14px 0 18px;padding:16px 18px;border:1px solid rgba(23,23,23,.08);border-radius:18px;background:rgba(255,255,255,.62)}
.guidance-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:13px}.guidance-heading h3{margin:2px 0 0;font-size:15px}.guidance-disclaimer{max-width:320px;color:#77756f;font-size:10px;line-height:1.4;text-align:right}
.guidance-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.4fr);gap:16px}.guidance-card{padding:13px 14px;border-radius:14px;background:rgba(247,246,242,.9);border:1px solid rgba(23,23,23,.06)}
.guidance-card h4{margin:0 0 10px;font-size:12px}.guidance-trends{display:grid;gap:8px}.guidance-trend{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;font-size:11px}.guidance-trend strong{font-size:18px;font-weight:500}.guidance-trend small{display:block;color:#77756f;margin-top:2px}
.guidance-recommendations{display:grid;gap:9px}.guidance-recommendation{padding:10px 12px;border-radius:12px;background:white}.guidance-recommendation header{display:flex;justify-content:space-between;gap:10px;align-items:center}.guidance-recommendation strong{font-size:11px}.guidance-confidence{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#73716c}.guidance-recommendation p{margin:6px 0 0;color:#66645f;font-size:10px;line-height:1.45}.guidance-empty{margin:0;color:#77756f;font-size:11px}
@media(max-width:900px){.guidance-grid{grid-template-columns:1fr}.guidance-heading{display:block}.guidance-disclaimer{display:block;text-align:left;margin-top:6px}}


/* v0.14.2.1 — seletor de detalhamento analítico */
.analysis-detail-switcher{
  display:grid;
  grid-template-columns:30px minmax(180px,auto) 30px;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:12px auto 4px;
  padding:4px 6px;
  border:1px solid rgba(23,23,23,.08);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 6px 20px rgba(18,38,58,.05);
}
.analysis-detail-switcher[hidden]{display:none}
.analysis-detail-switcher button{
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:rgba(23,23,23,.62);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.analysis-detail-switcher button:hover,.analysis-detail-switcher button:focus-visible{
  background:rgba(63,111,158,.09);
  color:var(--accent);
  outline:none;
}
.analysis-detail-switcher span{
  min-width:180px;
  color:rgba(23,23,23,.72);
  font-size:11px;
  font-weight:650;
  letter-spacing:.01em;
  text-align:center;
}

/* v0.14.2.2 — Compliance Alignment */
.guidance-compliance-card{display:flex;flex-direction:column;justify-content:center;min-height:132px}
.guidance-compliance-value{display:block;margin-top:10px;font-size:clamp(28px,3vw,42px);font-weight:590;letter-spacing:-.04em;color:var(--accent)}
.guidance-compliance-card p{margin:8px 0 0;color:var(--text-secondary);font-size:12px;line-height:1.45}


/* v0.14.2.3 — Profile Layout & Context Events */
.guidance-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px}
.guidance-card{display:flex;min-width:0;min-height:154px;flex-direction:column;height:100%}
.guidance-strategies-card .guidance-recommendations{max-height:132px;overflow:auto;padding-right:3px}
.guidance-compliance-card{min-height:154px;justify-content:flex-start}
@media(max-width:760px){.guidance-grid{grid-template-columns:1fr}.guidance-card,.guidance-compliance-card{min-height:auto}}
.context-events-panel{margin:14px 0 18px;padding:16px 18px;border:1px solid rgba(23,23,23,.08);border-radius:18px;background:rgba(255,255,255,.62)}
.context-events-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}.context-events-heading h3{margin:2px 0 0;font-size:15px}.context-events-count{color:#77756f;font-size:10px}
.context-events-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.context-event-card{min-width:0;padding:14px;border:1px solid rgba(23,23,23,.07);border-radius:14px;background:rgba(247,246,242,.9)}
.context-event-card header{display:flex;align-items:center;gap:9px;margin-bottom:12px}.context-event-card header strong{font-size:12px}.context-event-source{padding:3px 6px;border-radius:999px;background:rgba(157,122,51,.12);color:#806326;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.context-event-card.manual .context-event-source{background:rgba(98,128,90,.13);color:#4e7047}
.context-event-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin:0}.context-event-card dl div{min-width:0}.context-event-card .context-event-wide{grid-column:1/-1}.context-event-card dt{color:#77756f;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.context-event-card dd{margin:3px 0 0;color:#34332f;font-size:10px;line-height:1.45;overflow-wrap:anywhere}.context-events-empty{margin:0;padding:16px;border-radius:14px;background:rgba(247,246,242,.9);color:#77756f;font-size:11px}
@media(max-width:760px){.context-events-content{grid-template-columns:1fr}}


/* v0.14.2.4 — Event Browsing & Filtering */
.context-events-content{max-height:430px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-gutter:stable}
.dashboard-event-browser{display:grid;gap:12px}
.dashboard-event-filter-bar{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) minmax(220px,1.7fr);gap:9px;align-items:end;padding:12px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.72)}
.dashboard-event-filter-bar label{display:grid;gap:5px;color:var(--text-secondary);font-size:9px;font-weight:650;letter-spacing:.05em;text-transform:uppercase}
.dashboard-event-filter-bar select,.dashboard-event-filter-bar input{min-width:0;height:34px;border:1px solid var(--border);border-radius:10px;background:white;padding:0 9px;color:var(--text-primary);font:inherit;font-size:11px;text-transform:none;letter-spacing:normal}
.dashboard-event-filter-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-secondary);font-size:10px}
.dashboard-event-filter-summary button{border:0;background:transparent;color:var(--accent);font:inherit;font-size:10px;cursor:pointer}
.dashboard-events.scrollable-event-list{max-height:640px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-gutter:stable}
@media(max-width:1100px){.dashboard-event-filter-bar{grid-template-columns:repeat(3,minmax(140px,1fr))}}
@media(max-width:700px){.dashboard-event-filter-bar{grid-template-columns:1fr 1fr}.dashboard-event-search{grid-column:1/-1}}

/* v0.14.3 — Analytical Interface Reliability & Provenance */
.moving-average-swatch{width:13px;height:2px;border-radius:2px;background:#c64545}
.metric-card[data-directive-status="above"] strong,.expanded-metric-card[data-directive-status="above"] strong{color:#9a3f2f}
.metric-card[data-directive-status="below"] strong,.expanded-metric-card[data-directive-status="below"] strong{color:#326f9d}
.metric-card[data-directive-status="within"] strong,.expanded-metric-card[data-directive-status="within"] strong{color:#2e6b4d}
.metric-card[data-directive-status="neutral"] strong,.expanded-metric-card[data-directive-status="neutral"] strong{color:inherit}
.monitoring-point-item{display:block}
.monitoring-point-provenance{margin:0 8px 8px 30px;padding:9px 11px;border-left:2px solid rgba(38,91,132,.18);border-radius:0 8px 8px 0;background:rgba(255,255,255,.42);font-size:10px;color:rgba(18,38,58,.76)}
.monitoring-point-provenance[hidden]{display:none}
.monitoring-point-provenance section{display:grid;gap:3px;margin-bottom:8px}.monitoring-point-provenance section:last-child{margin-bottom:0}
.monitoring-point-provenance span,.monitoring-point-provenance small{font-size:9px;color:rgba(18,38,58,.58)}
.monitoring-point-provenance ul{margin:3px 0 0;padding-left:16px}.monitoring-point-provenance li{margin:2px 0;overflow-wrap:anywhere}
.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector{gap:0}

/* v0.14.3.3 — Chart Interaction & Context Layout Fix */
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"],
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"],
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .climate-map-stage,
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] #environment-chart,
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] #environment-chart {
  flex: 0 0 auto;
}
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .climate-map-stage {
  width: 100%;
  min-height: 500px;
}
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .climate-map-viewer,
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .climate-map-viewer .floor-plan-svg {
  min-height: 430px;
}
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] #environment-chart,
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] #environment-chart {
  height: min(44vh, 410px);
  min-height: 330px;
}
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .analysis-detail-switcher,
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] .analysis-detail-switcher,
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] .analysis-detail-switcher,
.panel.expanded .panel-visualization[data-visualization-mode="climate-map"] .context-events-panel,
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] .context-events-panel,
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] .context-events-panel {
  flex: 0 0 auto;
}

/* v0.14.4.3 — Guideline Context & Adaptive Exceedance */
.visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
  order: 1; max-width: 310px; padding: 5px 9px; border-radius: 9px;
  background: rgba(18,38,58,.055); color: rgba(18,38,58,.72);
  font-size: 11px; line-height: 1.25; white-space: normal;
}
@media(max-width:980px){.visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label{max-width:none;flex:1 1 240px}}
@media(max-width:760px){.visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label{width:100%;order:0}}

/* v0.14.4.3.1 — Guideline Header Layout */
.visualization-toolbar[data-export-toolbar="chart"] {
  display: grid;
  grid-template-columns: auto auto minmax(190px, 1fr) auto auto minmax(130px, auto);
  align-items: center;
  justify-content: end;
  column-gap: 9px;
  row-gap: 8px;
  width: 100%;
}
.visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle,
.visualization-toolbar[data-export-toolbar="chart"] .moving-average-toggle,
.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector,
.visualization-toolbar[data-export-toolbar="chart"] .export-action,
.visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
  margin: 0;
  min-width: 0;
}
.visualization-toolbar[data-export-toolbar="chart"] .guideline-selector {
  width: 100%;
}
.visualization-toolbar[data-export-toolbar="chart"] .guideline-select {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
  display: block;
  order: initial;
  max-width: 210px;
  min-height: 30px;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid rgba(18,38,58,.06);
  border-radius: 10px;
  background: rgba(18,38,58,.055);
  color: rgba(18,38,58,.70);
  font-size: 10px;
  line-height: 1.25;
  white-space: normal;
  cursor: help;
}
@media (max-width: 1180px) {
  .visualization-toolbar[data-export-toolbar="chart"] {
    grid-template-columns: auto auto minmax(180px, 1fr) auto auto;
  }
  .visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
    grid-column: 3 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 860px) {
  .visualization-toolbar[data-export-toolbar="chart"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle,
  .visualization-toolbar[data-export-toolbar="chart"] .moving-average-toggle {
    width: 100%;
  }
  .visualization-toolbar[data-export-toolbar="chart"] .guideline-selector,
  .visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
  .visualization-toolbar[data-export-toolbar="chart"] .export-action {
    width: 100%;
  }
}
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
}
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] .external-reference-toggle,
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] .moving-average-toggle,
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] .export-action {
  width: 100%;
}
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] .guideline-selector,
.panel:not(.expanded) .visualization-toolbar[data-export-toolbar="chart"] .guideline-context-label {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

/* v0.14.5 — Environmental Decision Engine */
.guidance-diagnostic-card{display:flex;flex-direction:column;gap:10px}
.guidance-diagnostics{display:grid;gap:5px;margin:2px 0 0;padding:10px 0 0 16px;border-top:1px solid rgba(23,23,23,.07);color:var(--text-secondary);font-size:10px;line-height:1.4}
.guidance-blocked{margin-top:10px;padding-top:9px;border-top:1px solid rgba(23,23,23,.07)}
.guidance-blocked summary{color:var(--text-secondary);font-size:10px;cursor:pointer}
.guidance-blocked ul{display:grid;gap:7px;margin:8px 0 0;padding:0;list-style:none}
.guidance-blocked li{display:grid;gap:2px;padding:7px 9px;border-radius:10px;background:rgba(244,242,237,.9);font-size:10px}
.guidance-blocked small{color:var(--text-secondary);font-size:9px;line-height:1.35}


/* v0.14.5.1.1 — Dynamic Chart Header Layout */
.chart-heading {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  color: #172b42;
}
.chart-heading[hidden] { display: none !important; }
.chart-heading strong {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.12;
}
.chart-heading span {
  color: rgba(18,38,58,.62);
  font-size: 13px;
  line-height: 1.35;
}
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] .chart-key {
  min-height: 0;
  margin: 0 0 10px;
  align-items: center;
}
.panel.expanded .panel-visualization[data-visualization-mode="preservation-index"] .chart-key[hidden] {
  display: none !important;
}
.panel.expanded .panel-visualization[data-visualization-mode="krist-runkel"] #environment-chart {
  margin-top: 0;
}
@media (max-width: 760px) {
  .chart-heading strong { font-size: 18px; }
  .chart-heading span { font-size: 12px; }
}

/* v0.14.6 — Expanded Statistics */
.statistics-card { position:relative; transition:transform .16s ease, box-shadow .16s ease, background .16s ease; }
.statistics-card[data-statistics-detail] { cursor:pointer; }
.statistics-card[data-statistics-detail]:hover { transform:translateY(-1px); background:rgba(250,250,248,.98); box-shadow:0 8px 20px rgba(30,45,60,.08); }
.statistics-card[data-statistics-detail]:focus-visible { outline:2px solid rgba(35,91,145,.55); outline-offset:2px; }
.statistics-card[data-statistics-detail]::after { content:'›'; position:absolute; right:10px; top:9px; color:rgba(23,23,23,.28); font-size:16px; }
.overlay-backdrop-statistics { z-index:1180; }
.statistics-detail-sheet { position:fixed; z-index:1190; top:5vh; right:4vw; bottom:5vh; width:min(760px,92vw); display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(25,35,45,.10); border-radius:28px; background:rgba(252,252,250,.985); box-shadow:0 32px 80px rgba(13,27,42,.22); opacity:0; pointer-events:none; transform:translateX(26px) scale(.99); transition:opacity .18s ease,transform .22s ease; }
.statistics-detail-sheet[aria-hidden="false"] { opacity:1; pointer-events:auto; transform:none; }
.statistics-detail-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:26px 28px 16px; border-bottom:1px solid rgba(25,35,45,.08); }
.statistics-detail-header h2 { margin:3px 0 4px; font-size:26px; line-height:1.05; }
.statistics-detail-header p:last-child { margin:0; color:rgba(23,23,23,.52); font-size:12px; }
.statistics-detail-navigation { display:grid; grid-template-columns:36px 1fr 36px; align-items:center; gap:10px; width:min(420px,calc(100% - 56px)); margin:14px auto 0; padding:5px; border:1px solid rgba(25,35,45,.08); border-radius:999px; background:#fff; }
.statistics-detail-navigation button { width:34px; height:30px; border:0; border-radius:999px; background:transparent; font-size:19px; cursor:pointer; }
.statistics-detail-navigation strong { overflow:hidden; text-align:center; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.statistics-detail-body { overflow:auto; padding:18px 28px 30px; }
.statistics-detail-chart { height:300px; min-height:300px; border:1px solid rgba(25,35,45,.08); border-radius:18px; background:rgba(248,248,245,.82); }
.statistics-detail-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; }
.statistics-detail-metric { padding:13px 14px; border-radius:15px; background:rgba(246,246,243,.9); }
.statistics-detail-metric span { display:block; color:rgba(23,23,23,.5); font-size:10px; font-weight:650; }
.statistics-detail-metric strong { display:block; margin-top:5px; color:var(--accent); font-size:16px; }
.statistics-detail-metric small { display:block; margin-top:6px; color:rgba(23,23,23,.52); font-size:11px; line-height:1.35; font-weight:500; }
.statistics-detail-method,.statistics-detail-adaptive { margin-top:16px; padding:16px 18px; border-radius:16px; background:rgba(246,246,243,.7); }
.statistics-detail-method h3,.statistics-detail-adaptive h3 { margin:0 0 6px; font-size:13px; }
.statistics-detail-method p,.statistics-detail-adaptive p { margin:0; color:rgba(23,23,23,.64); font-size:11px; line-height:1.5; }
.statistics-detail-adaptive dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0 0; }
.statistics-detail-adaptive dl div { padding:10px 12px; border-radius:12px; background:#fff; }
.statistics-detail-adaptive dt { color:rgba(23,23,23,.5); font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.statistics-detail-adaptive dd { margin:4px 0 0; font-size:12px; font-weight:650; }
@media (max-width:760px) { .statistics-detail-sheet { top:2vh; right:2vw; bottom:2vh; width:96vw; border-radius:22px; } .statistics-detail-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .statistics-detail-chart { height:250px; min-height:250px; } }
.graph-fab{position:fixed;left:28px;bottom:92px;z-index:60;display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(255,255,255,.76);backdrop-filter:blur(20px);box-shadow:0 12px 34px rgba(35,45,55,.16);color:var(--text-primary);cursor:pointer;transition:transform .28s cubic-bezier(.22,.8,.22,1),background .28s,border-color .28s}.graph-fab:hover,.graph-fab:focus-visible{transform:translateY(-2px);background:rgba(255,255,255,.92)}.graph-fab.active{background:rgba(11,46,85,.92);color:#fff}.graph-fab img{width:25px;height:25px}.graph-fab.active img{filter:brightness(0) invert(1)}
.graph-view{position:fixed;inset:0;z-index:46;padding:20px;background:rgba(238,237,232,.86);backdrop-filter:blur(18px);opacity:0;transform:translateY(10px);transition:opacity .3s cubic-bezier(.22,.8,.22,1),transform .3s cubic-bezier(.22,.8,.22,1)}.graph-view.open{opacity:1;transform:none}.graph-surface{height:calc(100vh - 40px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.9);border-radius:28px;background:rgba(250,249,246,.96);box-shadow:0 22px 70px rgba(35,45,55,.16);overflow:hidden}.graph-header{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:26px 32px 22px;border-bottom:1px solid var(--border)}.graph-header h1{margin:5px 0 7px;font-size:clamp(30px,4vw,46px);font-weight:560;letter-spacing:-.035em}.graph-header p:last-child{margin:0;color:var(--text-secondary)}.graph-header-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;justify-content:flex-end}.graph-header-actions label{display:grid;gap:5px;color:var(--text-secondary);font-size:11px}.graph-header-actions input[type=search]{width:min(360px,32vw);padding:10px 13px;border:1px solid var(--border);border-radius:12px;background:white}.graph-data-filter{display:flex!important;grid-auto-flow:column;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:white}.graph-header-actions button{padding:10px 14px;border:1px solid var(--border);border-radius:12px;background:white;cursor:pointer}.graph-content{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 320px}.graph-canvas-wrap{position:relative;min-width:0;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(123,143,166,.09),transparent 48%)}.graph-canvas{width:100%;height:100%;min-height:570px}.graph-edge{stroke:rgba(87,101,116,.28);stroke-width:1.5}.graph-node{cursor:pointer;outline:none}.graph-node circle{fill:#fff;stroke:#8b99a6;stroke-width:2;filter:drop-shadow(0 7px 12px rgba(35,45,55,.12));transition:transform .2s,stroke-width .2s,fill .2s}.graph-node:hover circle,.graph-node:focus-visible circle,.graph-node.selected circle{stroke:#0b2e55;stroke-width:4;transform:scale(1.05)}.graph-node-institution circle{fill:#0b2e55;stroke:#0b2e55}.graph-node-building circle{fill:#dce6f0}.graph-node-space circle{fill:#f1ede3}.graph-node-device circle{fill:#fff}.graph-node.health-warning circle{stroke:#b27b37}.graph-node.health-missing-data circle{stroke:#a4a4a0;stroke-dasharray:5 4}.graph-node.health-inactive circle{fill:#ececeb;stroke:#aaa;stroke-dasharray:3 4}.graph-node text{font:500 12px system-ui,sans-serif;fill:var(--text-primary);pointer-events:none}.graph-node-institution text{font-size:15px;font-weight:650}.graph-hint{position:absolute;left:22px;bottom:18px;margin:0;padding:8px 11px;border-radius:10px;background:rgba(255,255,255,.82);color:var(--text-secondary);font-size:11px;backdrop-filter:blur(12px)}.graph-details{padding:27px;border-left:1px solid var(--border);overflow:auto;background:rgba(255,255,255,.66)}.graph-details h2{margin:6px 0 10px;font-size:24px}.graph-details h3{margin:26px 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.07em}.graph-details p,.graph-details li,.graph-details dd{font-size:13px;line-height:1.5}.graph-details dl{display:grid;gap:10px;margin:22px 0}.graph-details dl div{padding-top:9px;border-top:1px solid var(--border)}.graph-details dt{color:var(--text-secondary);font-size:11px}.graph-details dd{margin:3px 0 0}.graph-details ul{padding-left:18px}.graph-health{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--surface-muted);font-size:11px!important}.graph-health-ok{color:#2f6948}.graph-health-warning{color:#8b5d20}.graph-health-missing-data,.graph-health-inactive{color:#70706c}.graph-open-analysis{width:100%;margin-top:24px;padding:12px 14px;border:0;border-radius:12px;background:#0b2e55;color:white;cursor:pointer}.graph-muted{color:var(--text-secondary)}.graph-open .panel,.graph-open .weather-panel,.graph-open .topbar,.graph-open .status-pill{visibility:hidden}.graph-open .canvas-label{display:none}
@media(max-width:850px){.graph-fab{left:16px;bottom:78px;width:50px;height:50px}.graph-view{padding:8px}.graph-surface{height:calc(100vh - 16px);border-radius:20px}.graph-header{padding:20px;display:block}.graph-header-actions{margin-top:16px;justify-content:flex-start}.graph-search{width:100%}.graph-header-actions input[type=search]{width:100%}.graph-content{grid-template-columns:1fr}.graph-details{position:absolute;right:8px;bottom:8px;width:min(310px,calc(100vw - 32px));max-height:44vh;border:1px solid var(--border);border-radius:18px;box-shadow:0 16px 40px rgba(35,45,55,.15)}}

/* v0.15.0.1 — Network View UX Refinement */
.graph-content{position:relative;display:block;min-height:0;flex:1}
.graph-canvas-wrap{height:100%;min-height:0;overflow:hidden;touch-action:none}
.graph-canvas{display:block;width:100%;height:100%;min-height:570px;cursor:grab;user-select:none;touch-action:none}
.graph-canvas.is-panning{cursor:grabbing}
.graph-viewport{transform-origin:0 0}
.graph-node{transition:opacity .22s ease}
.graph-node-float{animation:graph-node-float var(--float-duration,10s) ease-in-out var(--float-delay,0s) infinite alternate;transform-box:fill-box;transform-origin:center}
@keyframes graph-node-float{0%{transform:translate(-1.5px,-2px)}50%{transform:translate(1.5px,1px)}100%{transform:translate(-.5px,2px)}}
@media(prefers-reduced-motion:reduce){.graph-node-float{animation:none}}
.graph-node text{font-size:11px;paint-order:stroke;stroke:rgba(250,249,246,.96);stroke-width:4px;stroke-linejoin:round}
.graph-node-institution text{font-size:14px}
.graph-node-device text{font-size:10.5px}
.graph-node-dimmed{opacity:.13}
.graph-node-match circle{stroke:#0b2e55!important;stroke-width:4px!important}
.graph-edge{transition:opacity .2s ease}
.graph-tooltip{position:absolute;z-index:4;left:0;top:0;width:min(290px,calc(100vw - 32px));padding:14px 15px;border:1px solid rgba(255,255,255,.92);border-radius:15px;background:rgba(250,249,246,.96);box-shadow:0 16px 42px rgba(35,45,55,.18);backdrop-filter:blur(16px);pointer-events:none;color:var(--text-primary);transform:translate(12px,12px)}
.graph-tooltip[hidden]{display:none}
.graph-tooltip .eyebrow{margin:0 0 5px;font-size:10px}
.graph-tooltip strong{display:block;margin-bottom:7px;font-size:15px;line-height:1.25}
.graph-tooltip span,.graph-tooltip small{display:block;margin-top:6px;font-size:11px;line-height:1.45;color:var(--text-secondary)}
.graph-tooltip-status{color:#8b5d20!important}
.graph-details,.graph-hint{display:none!important}
@media(max-width:850px){.graph-content{display:block}.graph-canvas{min-height:520px}.graph-tooltip{max-width:260px}}

/* v0.15.0.2 — Interactive Network Themes */
.graph-header-controls{display:flex;align-items:flex-end;gap:10px;max-width:min(980px,70vw)}
.graph-header-controls.collapsed .graph-header-actions{display:none}
.graph-header-controls.collapsed{align-items:center}
.graph-header-actions select{min-width:170px;padding:10px 34px 10px 12px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--text-primary)}
.graph-theme-control,.graph-scope-control{display:grid;gap:5px;color:var(--text-secondary);font-size:11px}
.graph-controls-toggle{white-space:nowrap}
.graph-header-controls.collapsed .graph-controls-toggle{padding-inline:16px;background:rgba(255,255,255,.88)}
.graph-node{cursor:grab}
.graph-node.is-dragging{cursor:grabbing}
.graph-node.is-dragging .graph-node-float{animation:none}
.graph-node-institution circle{fill:#0b2e55;stroke:#0b2e55}
.graph-node-building circle{fill:#e5edf4}
.graph-node-space circle{fill:#f1ede3}
.graph-node-device circle{fill:#fff;stroke-width:2.4}
.graph-node-device text{font-size:11px;font-weight:620}
.graph-node-icon{font-size:16px!important;font-weight:750!important;stroke-width:3px!important}
.graph-node-institution text{font-size:11px;font-weight:620}
.graph-node-building text{font-size:11px}
.graph-node-space text{font-size:11.5px;font-weight:570}
.graph-node.theme-status.theme-state-active circle{fill:#1fd17a;stroke:#087a48;filter:drop-shadow(0 0 10px rgba(31,209,122,.38))}
.graph-node.theme-status.theme-state-inactive circle{fill:#64252b;stroke:#3f1016;filter:drop-shadow(0 5px 9px rgba(65,15,22,.24))}
.graph-node.theme-status.theme-state-inactive text{fill:#4e171e}
.graph-node-institution.theme-status circle{fill:#0b2e55;stroke:#0b2e55;filter:drop-shadow(0 7px 12px rgba(35,45,55,.12))}
.graph-node.theme-state-unavailable circle{fill:#efefec;stroke:#9d9d96;stroke-dasharray:5 4}
.graph-node.theme-state-attention circle{fill:#f3dfad;stroke:#9b6b22}
.graph-node.theme-state-available circle,.graph-node.theme-state-configured circle{fill:#fff;stroke:#315c84}
.graph-node-device:hover circle,.graph-node-device:focus-visible circle{transform:scale(1.06)}
.graph-edge{stroke-width:1.6}
.graph-header-controls.collapsed~*{ }
@media(max-width:1100px){.graph-header{gap:16px}.graph-header-controls{max-width:64vw}.graph-header-actions{gap:8px}.graph-header-actions input[type=search]{width:220px}.graph-header-actions select{min-width:145px}}
@media(max-width:850px){.graph-header-controls{max-width:none;margin-top:14px;align-items:flex-start}.graph-header-controls:not(.collapsed){display:block}.graph-header-controls:not(.collapsed) .graph-controls-toggle{margin-top:8px}.graph-header-actions select{width:100%}}

/* v0.15.0.3 — Network Readability & Thematic Node Labels */
.graph-header-controls{max-width:none}
.graph-header-actions{align-items:end}
.graph-header-actions .graph-theme-control select{min-width:210px}
.graph-header-actions .graph-scope-control select{min-width:160px}
.graph-header-actions input[type=search],.graph-controls-toggle{display:none!important}
.graph-node-device circle{r:50px}
.graph-node-value{font-size:12px!important;font-weight:720!important;letter-spacing:-.01em;paint-order:normal!important;stroke:none!important;fill:#18324b!important}
.graph-node.theme-status.theme-state-active .graph-node-value{fill:#053e25!important}
.graph-node.theme-status.theme-state-inactive .graph-node-value{fill:#fff!important}
.graph-node-identity{font-size:10.8px!important;font-weight:620!important}
.graph-node-device .graph-node-identity{font-size:11px!important}
.graph-node-icon{display:none!important}
.graph-edge{stroke-width:1.7}
@media(max-width:850px){.graph-header-actions{display:grid;grid-template-columns:1fr 1fr}.graph-header-actions .graph-data-filter{grid-column:1/-1}.graph-header-actions button{width:100%}}

/* v0.15.0.4 — Semantic Network Layout */
.graph-node.theme-status circle{fill:inherit}
.graph-node-institution.theme-status circle{fill:#0b2e55;stroke:#0b2e55;filter:drop-shadow(0 7px 12px rgba(35,45,55,.12))}
.graph-node-building.theme-status circle{fill:#e5edf4;stroke:#8b99a6;filter:drop-shadow(0 7px 12px rgba(35,45,55,.12))}
.graph-node-space.theme-status circle{fill:#f1ede3;stroke:#8b99a6;filter:drop-shadow(0 7px 12px rgba(35,45,55,.12))}
.graph-node-device.theme-status.theme-state-active circle{fill:#1fd17a;stroke:#087a48;filter:drop-shadow(0 0 10px rgba(31,209,122,.38))}
.graph-node-device.theme-status.theme-state-inactive circle{fill:#64252b;stroke:#3f1016;filter:drop-shadow(0 5px 9px rgba(65,15,22,.24))}
.graph-node-device.theme-status.theme-state-inactive .graph-node-value{fill:#fff!important}
.graph-node-device.theme-status.theme-state-active .graph-node-value{fill:#053e25!important}
.graph-node-value{font-size:14px!important;line-height:1.1}
.graph-node-identity{font-size:13.8px!important;line-height:1.15}
.graph-node-device .graph-node-identity{font-size:14px!important}
.graph-node-building .graph-node-identity{font-size:14px!important;font-weight:610!important}
.graph-node-space .graph-node-identity{font-size:14.5px!important;font-weight:590!important}
.graph-node-institution .graph-node-identity{font-size:14px!important;font-weight:680!important}
.graph-edge-institution-building{stroke-width:2.6;stroke:rgba(49,72,94,.38)}
.graph-edge-building-space{stroke-width:2.05;stroke:rgba(72,91,109,.32)}
.graph-edge-space-device{stroke-width:1.45;stroke:rgba(94,108,121,.27)}

/* v0.15.0.5 — Network Metadata Corrections & Initial Framing */
.graph-node-value{font-size:15px!important}
.graph-node-identity{font-size:14.8px!important}
.graph-node-device .graph-node-identity{font-size:15px!important}
.graph-node-building .graph-node-identity{font-size:15px!important}
.graph-node-space .graph-node-identity{font-size:15.5px!important}
.graph-node-institution .graph-node-identity{font-size:15px!important}


/* v0.15.0.6 — Network Label Focus & Reserve Guideline Context */
.graph-node-device .graph-node-value{font-size:17px!important}
.graph-node-device .graph-node-identity{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,visibility .16s ease;
}
.graph-node-device:hover .graph-node-identity,
.graph-node-device:focus-visible .graph-node-identity,
.graph-node-device:focus-within .graph-node-identity,
.graph-node-device.is-dragging .graph-node-identity{
  opacity:1;
  visibility:visible;
}

/* v0.15.1 — contextual exports */
.graph-header-actions .export-action{white-space:nowrap}
.statistics-detail-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.statistics-detail-header-actions .export-action{min-height:34px;padding:7px 11px}
@media (max-width:760px){.statistics-detail-header{align-items:flex-start}.statistics-detail-header-actions{max-width:180px}.statistics-detail-header-actions .export-action{font-size:10px;padding:6px 8px}}


/* E1 — Primeira impressão */
.startup-screen{
  position:fixed;
  inset:0;
  z-index:160;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(245,243,238,.96);
  backdrop-filter:blur(18px);
  opacity:1;
  visibility:visible;
  transition:opacity .42s ease,visibility .42s ease;
}
.startup-screen[hidden]{display:none}
.startup-screen.ready{opacity:0;visibility:hidden;pointer-events:none}
.startup-card{
  width:min(590px,100%);
  padding:clamp(26px,5vw,48px);
  border:1px solid rgba(23,23,23,.08);
  border-radius:30px;
  background:rgba(255,255,255,.76);
  box-shadow:0 30px 90px rgba(30,38,45,.12);
  text-align:left;
}
.startup-status-label{margin:0 0 14px;color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.startup-card h1{margin:0;font-size:clamp(31px,6vw,52px);font-weight:580;letter-spacing:-.048em;line-height:.98}
.startup-description{max-width:510px;margin:20px 0 0;color:rgba(23,23,23,.76);font-size:14px;line-height:1.6}
.startup-notice{margin:14px 0 0;padding:13px 15px;border-left:2px solid rgba(23,58,99,.34);background:rgba(23,58,99,.045);color:var(--text-secondary);font-size:11px;line-height:1.55}
.startup-credits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 0}
.startup-credits div{padding-top:10px;border-top:1px solid var(--border)}
.startup-credits dt{color:var(--text-secondary);font-size:9px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.startup-credits dd{margin:5px 0 0;font-size:12px;font-weight:600}
.startup-progress{height:2px;margin:27px 0 9px;overflow:hidden;border-radius:999px;background:rgba(23,58,99,.10)}
.startup-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:var(--accent);animation:startup-progress 1.5s ease-in-out infinite}
.startup-stage{margin:0;color:var(--text-secondary);font-size:10px}
.startup-card>small{display:block;margin-top:18px;color:rgba(107,107,104,.68);font-size:9px;letter-spacing:.045em}
.startup-screen.error .startup-progress span{animation:none;width:100%;background:#a85249}
@keyframes startup-progress{0%{transform:translateX(-110%)}55%{transform:translateX(105%)}100%{transform:translateX(245%)}}
.weather-observation-time{display:grid;gap:3px;margin:15px 0 2px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.48)}
.weather-observation-time span{color:var(--text-secondary);font-size:9px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.weather-observation-time strong{color:var(--accent);font-size:13px;font-weight:650}
.weather-observation-time small{color:var(--text-secondary);font-size:10px}
@media(max-width:620px){.startup-card{padding:25px;border-radius:24px}.startup-credits{grid-template-columns:1fr}.startup-card h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.startup-screen{transition-duration:.01ms}.startup-progress span{animation:none;width:100%}}

/* v0.15.4.1 — E2 Painel Analítico */
.panel.expanded .panel-visualization{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}.panel.expanded .panel-visualization{scrollbar-width:thin;scrollbar-color:rgba(23,58,99,.24) transparent}.panel.expanded .panel-visualization::-webkit-scrollbar{width:8px}.panel.expanded .panel-visualization::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:rgba(23,58,99,.20);background-clip:padding-box}.variable-explanation{margin-top:18px;padding:15px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.58);min-height:190px;max-height:230px;overflow:auto}.variable-explanation h3{margin:6px 0 8px;font-size:15px}.variable-explanation p{margin:0 0 8px;color:var(--text-secondary);font-size:10px;line-height:1.5}.variable-explanation small{display:block;margin-top:6px;color:rgba(107,107,104,.78);font-size:9px;line-height:1.45}.guidance-card{cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.guidance-card:hover,.guidance-card:focus-within{transform:translateY(-1px);border-color:rgba(23,58,99,.24);box-shadow:0 8px 22px rgba(23,58,99,.06)}.guidance-compliance-value small{display:block;margin-top:7px;color:var(--text-secondary);font-size:10px;font-weight:500;letter-spacing:0}.event-mark-tooltip{max-width:320px}.panel.expanded .chart{min-height:460px}@media(max-width:760px){.variable-explanation{max-height:none}.panel.expanded .panel-visualization{overflow-y:visible}}

.guidance-card.expanded-detail{grid-column:1/-1;cursor:default;background:white}.guidance-card.expanded-detail .guidance-strategies-card{max-height:none}.guidance-card:focus-visible{outline:2px solid rgba(23,58,99,.18);outline-offset:2px}

/* E3 — Visão em Rede */
.graph-node.is-dragging-related:not(.is-dragging){opacity:.86}
.graph-node.is-dragging-related .graph-node-float{animation:none}
.graph-node-building:hover circle,
.graph-node-space:hover circle,
.graph-node-institution:hover circle{filter:drop-shadow(0 9px 16px rgba(35,45,55,.18))}

/* v0.15.4.3 — E4 Dashboard Executivo */
.dashboard-coverage-axis{
  display:grid;
  grid-template-columns:210px minmax(520px,1fr);
  gap:14px;
  align-items:end;
  margin:0 0 10px;
  min-height:28px;
  color:var(--text-secondary);
  font-size:10px;
}
.dashboard-coverage-axis-track{
  position:relative;
  display:block;
  height:28px;
  min-width:520px;
  border-bottom:1px solid rgba(23,58,99,.12);
}
.dashboard-coverage-year{
  position:absolute;
  bottom:-1px;
  display:grid;
  justify-items:center;
  transform:translateX(-50%);
  white-space:nowrap;
}
.dashboard-coverage-year:first-child{transform:none}
.dashboard-coverage-year:last-child{transform:translateX(-100%)}
.dashboard-coverage-year i{width:1px;height:7px;background:rgba(23,58,99,.24)}
.dashboard-coverage-year b{
  margin-top:3px;
  color:rgba(23,23,23,.58);
  font-size:9px;
  font-weight:560;
  letter-spacing:.01em;
}
@media(max-width:900px){
  .dashboard-coverage-axis{grid-template-columns:160px minmax(420px,1fr)}
  .dashboard-coverage-axis-track{min-width:420px}
}


/* v0.15.4.4 — E5 Chart Context & Analytical Cards */
.guidance-card[data-guidance-detail]{position:relative;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.guidance-card[data-guidance-detail]:hover{transform:translateY(-1px);background:rgba(250,250,248,.98);box-shadow:0 8px 20px rgba(30,45,60,.08)}
.guidance-card[data-guidance-detail]:focus-visible{outline:2px solid rgba(35,91,145,.55);outline-offset:2px}
.guidance-card[data-guidance-detail]::after{content:'›';position:absolute;right:11px;top:9px;color:rgba(23,23,23,.28);font-size:17px}
.overlay-backdrop-guidance{z-index:1200}
.guidance-detail-sheet{position:fixed;z-index:1210;top:7vh;right:4vw;bottom:7vh;width:min(720px,92vw);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(25,35,45,.10);border-radius:28px;background:rgba(252,252,250,.985);box-shadow:0 32px 80px rgba(13,27,42,.22);opacity:0;pointer-events:none;transform:translateX(26px) scale(.99);transition:opacity .18s ease,transform .22s ease}
.guidance-detail-sheet[aria-hidden="false"]{opacity:1;pointer-events:auto;transform:none}
.guidance-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:26px 28px 18px;border-bottom:1px solid rgba(25,35,45,.08)}
.guidance-detail-header h2{margin:3px 0 4px;font-size:27px;line-height:1.05}
.guidance-detail-header p:last-child{margin:0;color:rgba(23,23,23,.52);font-size:12px}
.guidance-detail-body{display:grid;gap:18px;overflow:auto;padding:24px 28px 30px}
.guidance-detail-body section{padding:18px;border:1px solid rgba(25,35,45,.08);border-radius:18px;background:rgba(255,255,255,.72)}
.guidance-detail-body h3{margin:0 0 12px;font-size:15px}
.guidance-detail-body p{margin:0;color:var(--text-secondary);font-size:12px;line-height:1.6}
.guidance-detail-trends{display:grid;gap:8px}.guidance-detail-recommendations{display:grid;gap:10px}
.guidance-detail-compliance{display:grid;gap:7px;text-align:center}.guidance-detail-compliance>strong{color:var(--accent);font-size:40px;letter-spacing:-.045em}.guidance-detail-compliance>span{color:var(--text-secondary);font-size:11px;font-weight:650}.guidance-detail-compliance>p{margin-top:6px}
@media(max-width:760px){.guidance-detail-sheet{top:5vh;right:3vw;bottom:5vh;width:94vw}.guidance-detail-header,.guidance-detail-body{padding-left:20px;padding-right:20px}}

/* v0.15.4.4.2 — collapsed guidance containment */
.panel:not(.expanded) .environmental-guidance-panel {
  padding: 14px;
  overflow: hidden;
}
.panel:not(.expanded) .guidance-heading {
  display: grid;
  gap: 7px;
}
.panel:not(.expanded) .guidance-disclaimer {
  max-width: none;
  text-align: left;
}
.panel:not(.expanded) .guidance-grid {
  grid-template-columns: minmax(0, 1fr);
}
.panel:not(.expanded) .guidance-card,
.panel:not(.expanded) .guidance-recommendation,
.panel:not(.expanded) .guidance-trend,
.panel:not(.expanded) .guidance-compliance-value,
.panel:not(.expanded) .guidance-compliance-card p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.panel:not(.expanded) .guidance-strategies-card .guidance-recommendations {
  max-height: none;
  overflow: visible;
}
.panel:not(.expanded) .guidance-compliance-value {
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.02;
}


/* v0.15.4.5 — E6 revisão operacional */
.graph-export-frame{fill:none;stroke:rgba(23,58,99,.24);stroke-width:1.5;stroke-dasharray:10 8;vector-effect:non-scaling-stroke;pointer-events:none}
.graph-export-frame-label{fill:rgba(23,58,99,.48);font-size:13px;font-weight:650;letter-spacing:.04em;pointer-events:none}
.dashboard-coverage-export{min-height:30px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.72);color:var(--accent);cursor:pointer;font-size:10px;font-weight:650}
.dashboard-coverage-export:hover,.dashboard-coverage-export:focus-visible{background:white;border-color:rgba(23,58,99,.24);outline:none}
.guidance-detail-occurrences{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.guidance-detail-occurrences li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--border);font-size:12px}
.guidance-detail-occurrences strong{color:var(--accent)}

/* v0.15.4.5.2 — detalhamento da conformidade */
.guidance-compliance-breakdown{display:grid;gap:12px}
.guidance-compliance-breakdown h3{margin:0}
.guidance-compliance-breakdown-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.guidance-compliance-breakdown-grid article{padding:12px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.56)}
.guidance-compliance-breakdown-grid span{display:block;color:var(--text-secondary);font-size:10px;line-height:1.35}
.guidance-compliance-breakdown-grid strong{display:block;margin-top:6px;color:var(--accent);font-size:20px;line-height:1}
.guidance-compliance-breakdown-grid article:first-child{grid-column:1/-1}
.guidance-compliance-breakdown-note{margin:0;color:var(--text-secondary);font-size:10px;line-height:1.5}
@media(max-width:760px){.guidance-compliance-breakdown-grid{grid-template-columns:1fr}.guidance-compliance-breakdown-grid article:first-child{grid-column:auto}}

/* v0.15.4.5.5 — Landing Weather Card & Modal Containment */
.weather-display-updated{
  margin-top:2px;
  white-space:nowrap;
}
.weather-panel{
  bottom:156px;
  max-height:calc(100dvh - 178px - 156px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(23,58,99,.24) transparent;
}
.weather-panel::-webkit-scrollbar{width:8px}
.weather-panel::-webkit-scrollbar-track{background:transparent}
.weather-panel::-webkit-scrollbar-thumb{
  border:2px solid transparent;
  border-radius:999px;
  background:rgba(23,58,99,.20);
  background-clip:padding-box;
}
.weather-panel::-webkit-scrollbar-thumb:hover{
  background:rgba(23,58,99,.38);
  background-clip:padding-box;
}
.weather-panel-header{
  position:sticky;
  top:-23px;
  z-index:2;
  margin:-23px -23px 0;
  padding:23px 23px 12px;
  background:linear-gradient(to bottom,rgba(255,255,255,.985) 78%,rgba(255,255,255,.90));
  backdrop-filter:blur(18px);
}
@media(max-height:760px) and (min-width:761px){
  .weather-panel{
    top:112px;
    bottom:148px;
    max-height:calc(100dvh - 260px);
  }
}
@media(max-width:760px){
  .weather-panel{
    top:112px;
    left:20px;
    bottom:92px;
    width:min(410px,calc(100vw - 40px));
    max-height:calc(100dvh - 204px);
  }
}

/* F2 — Diagnostic Applicability Contract */
.diagnostic-applicability-notice {
  display: grid;
  gap: 4px;
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(154,107,49,.20);
  border-radius: 13px;
  background: rgba(248,241,226,.72);
  color: rgba(67,55,36,.82);
}
.diagnostic-applicability-notice[hidden] {
  display: none !important;
}
.diagnostic-applicability-notice span {
  color: #806326;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.diagnostic-applicability-notice p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}
.panel.expanded .diagnostic-applicability-notice {
  margin-top: 4px;
}

/* F6.1 — Global busy feedback
   Applied only after a short delay to avoid flashing the cursor for operations
   that complete immediately. `!important` is intentional so pointer/grab/crosshair
   declarations cannot hide the global processing state. */
html.ui-busy,
html.ui-busy body,
html.ui-busy body * {
  cursor: progress !important;
}

html.ui-busy [aria-disabled='true'],
html.ui-busy button:disabled {
  cursor: progress !important;
}

/* F7.1 — Analysis Context Card */
.analysis-context-card {
  min-height: 0;
  max-height: 310px;
  overflow: auto;
}

.analysis-context-card h3 {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 1.3;
}

.analysis-context-location {
  margin: 0 0 11px !important;
  font-size: 9px !important;
  color: rgba(71, 74, 76, .72) !important;
}

.analysis-context-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px 12px;
  margin: 0;
}

.analysis-context-grid > div {
  min-width: 0;
}

.analysis-context-grid .analysis-context-wide {
  grid-column: 1 / -1;
}

.analysis-context-grid dt {
  margin: 0 0 2px;
  color: rgba(107, 107, 104, .78);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.analysis-context-grid dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 9.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.analysis-context-technical {
  margin-top: 11px;
  border-top: 1px solid rgba(23, 58, 99, .08);
  padding-top: 8px;
}

.analysis-context-technical summary {
  cursor: pointer;
  color: rgba(61, 69, 76, .74);
  font-size: 8.5px;
  font-weight: 600;
  list-style-position: inside;
}

.analysis-context-technical p {
  margin: 7px 0 0 !important;
  font-size: 8.5px !important;
  line-height: 1.45 !important;
}

.panel.expanded .analysis-context-card {
  max-height: none;
}

@media (max-width: 760px) {
  .analysis-context-grid {
    grid-template-columns: 1fr;
  }

  .analysis-context-grid .analysis-context-wide {
    grid-column: auto;
  }
}



/* F7.2 — compact causal explanation for operational responses */
.guidance-reasoning {
  display: grid;
  gap: 3px;
  margin: 7px 0 6px;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(23, 58, 99, .035);
}

.guidance-reasoning-step {
  color: var(--text-secondary);
  font-size: 8.5px;
  line-height: 1.35;
}

.guidance-reasoning-arrow {
  color: rgba(23, 58, 99, .32);
  font-size: 8px;
  line-height: 1;
}


/* F7.2.2 — semantic deduplication and response hierarchy */
.guidance-action {
  margin-top: 6px !important;
}

.guidance-action > span:first-child {
  display: block;
  margin-bottom: 2px;
  color: rgba(107, 107, 104, .78);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* F7.3 — Environmental Profile View */
.environmental-profile-panel {
  border: 1px solid rgba(23, 58, 99, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .54);
  padding: 14px;
}

.environmental-profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.environmental-profile-heading h3 {
  margin: 2px 0 0;
  font-size: 14px;
}

.environmental-profile-status {
  color: rgba(54, 88, 64, .72);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.environmental-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.environmental-profile-card {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(23, 58, 99, .07);
  border-radius: 11px;
  background: rgba(255, 255, 255, .56);
}

.environmental-profile-card-wide {
  grid-column: 1 / -1;
}

.environmental-profile-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(107, 107, 104, .76);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.environmental-profile-card h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 11px;
  line-height: 1.35;
}

.environmental-profile-card p {
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.45;
}

.environmental-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.environmental-profile-chip {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(23, 58, 99, .055);
  color: rgba(45, 55, 64, .78);
  font-size: 8px;
}

.environmental-profile-default {
  margin-bottom: 8px !important;
}

.environmental-profile-guidelines {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.environmental-profile-guidelines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-top: 1px solid rgba(23, 58, 99, .05);
  color: var(--text-secondary);
  font-size: 8.8px;
}

.environmental-profile-guidelines li span {
  color: rgba(54, 88, 64, .72);
  font-size: 7.8px;
  font-weight: 650;
  text-transform: uppercase;
}

.environmental-profile-models {
  display: grid;
  gap: 7px;
}

.environmental-profile-model {
  padding-top: 7px;
  border-top: 1px solid rgba(23, 58, 99, .05);
}

.environmental-profile-model:first-child {
  padding-top: 0;
  border-top: 0;
}

.environmental-profile-model header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.environmental-profile-model header strong {
  font-size: 9px;
}

.environmental-profile-model header span,
.environmental-profile-muted {
  color: rgba(91, 94, 96, .68);
  font-size: 8px;
}

.environmental-profile-model.available-with-scope-warning header span {
  color: rgba(133, 93, 37, .78);
}

.environmental-profile-model.unavailable {
  opacity: .62;
}

.environmental-profile-model p {
  margin-top: 4px;
  font-size: 8.5px;
}

@media (max-width: 760px) {
  .environmental-profile-grid {
    grid-template-columns: 1fr;
  }

  .environmental-profile-card-wide {
    grid-column: auto;
  }
}



/* F7.3.1 — Profile language & potential strategies */
.environmental-profile-intro {
  margin: 0 0 8px !important;
}

.environmental-profile-strategies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

.environmental-profile-strategy {
  padding-top: 7px;
  border-top: 1px solid rgba(23, 58, 99, .05);
}

.environmental-profile-strategy strong {
  display: block;
  font-size: 9px;
  line-height: 1.35;
}

.environmental-profile-strategy p {
  margin-top: 3px;
  font-size: 8.4px;
}

@media (max-width: 760px) {
  .environmental-profile-strategies {
    grid-template-columns: 1fr;
  }
}


/* F7.3.2 — individualized characterization and collection semantics */
.environmental-profile-characterization {
  margin-top: 0 !important;
  font-size: 9.2px !important;
  line-height: 1.5 !important;
}

.environmental-profile-nature {
  margin-top: 0 !important;
}


/* F7.4 — Events organised by museum-local calendar date */
.context-event-day + .context-event-day {
  margin-top: 18px;
}

.context-event-day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(23, 58, 99, .08);
}

.context-event-day-heading h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 650;
  text-transform: capitalize;
}

.context-event-day-heading > span {
  color: rgba(91, 94, 96, .62);
  font-size: 8px;
}

.context-event-group-context {
  margin: 0 0 7px;
  color: rgba(71, 74, 76, .68);
  font-size: 8.3px;
  line-height: 1.4;
}

.context-event-day-list {
  display: grid;
  gap: 7px;
}

.context-event-card {
  padding: 9px 10px;
}

.context-event-card header {
  align-items: baseline;
}

.context-event-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.context-event-time {
  flex: 0 0 auto;
  color: rgba(91, 94, 96, .64);
  font-size: 8px;
  white-space: nowrap;
}

.context-event-card dl {
  margin-top: 6px;
}

.context-event-card dl:empty {
  display: none;
}


/* F7.4.1 — single-column chronology and concise event narratives */
.context-events-content {
  display: block;
}

.context-event-day {
  width: 100%;
}

.context-event-day-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.context-event-summary {
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.48;
}

.context-event-manual-description,
.context-event-criterion,
.context-event-responsible {
  margin: 5px 0 0;
  color: rgba(71, 74, 76, .72);
  font-size: 8.5px;
  line-height: 1.42;
}


/* F7.5 — dashboard event parity with analytical panel */
.dashboard-event {
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: start;
}

.dashboard-event-copy p {
  margin: 4px 0 5px;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.48;
}

.dashboard-event-date > span,
.dashboard-event-technical,
.dashboard-event-notes {
  display: none;
}

.dashboard-event-badges {
  align-self: start;
}

/* F8.1 — Analytical Detail Viewport Stabilization
   The selector is the section title. All four detail modes occupy the same
   viewport and share one vertical scroll context. */
.analysis-detail-switcher {
  margin-bottom: 8px;
}

.analysis-detail-viewport {
  box-sizing: border-box;
  width: 100%;
  height: clamp(330px, 38vh, 440px);
  margin: 0 0 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.analysis-detail-viewport[hidden] {
  display: none;
}

.analysis-detail-viewport > section {
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  margin: 0;
}

.analysis-detail-viewport > section[hidden] {
  display: none;
}

/* One scroll surface: long strategy/event/statistical content scrolls in the
   viewport rather than introducing competing nested scrollbars. */
.analysis-detail-viewport .guidance-strategies-card .guidance-recommendations {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* The selector already names the active mode. Internal headings keep only
   mode-specific metadata that adds information. */
.guidance-heading-meta,
.statistics-heading-meta,
.context-events-heading-meta {
  min-height: 24px;
  margin-bottom: 10px;
}

.guidance-heading-meta {
  justify-content: flex-end;
}

.statistics-heading-meta {
  justify-content: flex-end;
}

.context-events-heading-meta {
  justify-content: flex-end;
}

.environmental-profile-heading {
  min-height: 24px;
  margin-bottom: 10px;
}

/* Profile is the exception: its subtitle identifies the concrete environment. */
.environmental-profile-heading h3 {
  margin: 0;
}

/* Normalize outer cards so switching modes does not move the viewport edge. */
.environmental-guidance-panel,
.environmental-profile-panel,
.statistics-panel,
.context-events-panel {
  border-radius: 16px;
  padding: 14px 16px;
}

/* Existing panels used different margins; the viewport owns spacing now. */
.environmental-guidance-panel,
.context-events-panel {
  margin: 0;
}

@media (max-height: 820px) and (min-width: 761px) {
  .analysis-detail-viewport {
    height: clamp(290px, 34vh, 360px);
  }
}

@media (max-width: 760px) {
  .analysis-detail-viewport {
    height: auto;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .analysis-detail-viewport > section {
    min-height: 0;
  }
}



/* F8.2 — Monitoring Spaces Collapsible Navigation */
.monitoring-navigation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.monitoring-navigation-header .eyebrow {
  margin: 0;
}

.monitoring-navigation-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(62, 69, 75, .58);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background .16s ease, color .16s ease;
}

.monitoring-navigation-toggle:hover,
.monitoring-navigation-toggle:focus-visible {
  background: rgba(23, 58, 99, .055);
  color: var(--accent);
  outline: none;
}

.monitoring-navigation-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(23, 58, 99, .12);
}

.monitoring-navigation-toggle span {
  display: block;
  transform: translateY(-1px);
}

.space-list[hidden] {
  display: none !important;
}

.spaces-block.monitoring-navigation-collapsed .analysis-context-card {
  margin-top: 10px;
}

.panel.expanded .spaces-block {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel.expanded .spaces-block .space-list {
  flex: 0 1 auto;
  min-height: 0;
}

.panel.expanded .spaces-block .analysis-context-card {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .monitoring-navigation-toggle {
    width: 28px;
    height: 28px;
  }
}

/* F8.2.1 — Layout Containment Hotfix
   1) right column: navigation list and Context are separate grid rows;
   2) center column: visualization/detail elements stack in normal flow,
      including the no-data chart state. */
@media (min-width: 761px) {
  .panel.expanded .spaces-block {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
    min-height: 0;
    overflow: hidden;
  }

  .panel.expanded .spaces-block .monitoring-navigation-header {
    grid-row: 1;
  }

  .panel.expanded .spaces-block .space-list {
    grid-row: 2;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 4px;
  }

  .panel.expanded .spaces-block .analysis-context-card {
    grid-row: 3;
    position: relative;
    z-index: 1;
    flex: none;
    width: 100%;
    max-height: min(310px, 40vh);
    margin-top: 12px;
    overflow-y: auto;
    background: rgba(255,255,255,.92);
  }

  .panel.expanded .spaces-block.monitoring-navigation-collapsed {
    grid-template-rows: auto auto;
  }

  .panel.expanded .spaces-block.monitoring-navigation-collapsed .analysis-context-card {
    grid-row: 2;
    margin-top: 10px;
  }

  /* The previous three-row grid predated F8.1 and had more direct children
     than explicit rows. With an empty chart that could create implicit-row
     overlap. A vertical flex flow makes every state deterministic. */
  .panel.expanded .panel-visualization {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .panel.expanded .panel-visualization > * {
    flex-shrink: 0;
  }

  .panel.expanded #environment-chart,
  .panel.expanded #chart-empty-state,
  .panel.expanded #climate-map-stage,
  .panel.expanded #analysis-detail-switcher,
  .panel.expanded #analysis-detail-viewport,
  .panel.expanded #chart-footnote {
    position: relative;
  }

  .panel.expanded #analysis-detail-switcher {
    margin-top: 12px;
    margin-bottom: 8px;
  }

  .panel.expanded #analysis-detail-viewport {
    flex: 0 0 auto;
  }

  .panel.expanded #chart-empty-state.visible {
    height: auto;
  }
}

/* F8.2.2 — Monitoring Space Button Height Hotfix
   When the right-column list has only a few spaces, its grid must not stretch
   those rows to fill the available navigation area. */
@media (min-width: 761px) {
  .panel.expanded .spaces-block .space-list {
    align-content: start;
    grid-auto-rows: max-content;
  }

  .panel.expanded .spaces-block .space-entry {
    align-self: start;
  }

  .panel.expanded .spaces-block .space-button {
    height: auto;
    min-height: 38px;
  }
}



/* F8.3 — Network View Diagnostic Summary
   This strip is outside the SVG and therefore outside the canonical PNG area. */
.graph-content {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.graph-canvas-wrap {
  height: auto;
  min-height: 0;
}

.graph-diagnostic {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 2.3fr);
  gap: 22px;
  align-items: center;
  min-height: 88px;
  padding: 14px 28px 16px;
  border-top: 1px solid rgba(23, 58, 99, .08);
  background: rgba(250, 249, 246, .94);
}

.graph-diagnostic[hidden] {
  display: none;
}

.graph-diagnostic-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.graph-diagnostic-heading .eyebrow {
  margin: 0 0 4px;
  font-size: 8px;
}

.graph-diagnostic-heading strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.25;
}

.graph-diagnostic-heading > span {
  flex: 0 0 auto;
  color: rgba(71, 74, 76, .62);
  font-size: 9px;
  white-space: nowrap;
}

.graph-diagnostic-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.graph-diagnostic-category {
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  gap: 8px;
  align-items: baseline;
  padding: 6px 9px;
  border: 1px solid rgba(23, 58, 99, .065);
  border-radius: 10px;
  background: rgba(255, 255, 255, .58);
}

.graph-diagnostic-category span {
  color: rgba(71, 74, 76, .7);
  font-size: 9px;
  line-height: 1.25;
}

.graph-diagnostic-category strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 850px) {
  .graph-diagnostic {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 16px 14px;
  }

  .graph-diagnostic-categories {
    justify-content: flex-start;
  }
}

/* F8.3.1 — Diagnostic semantics & layout
   Explicitly cancel the legacy Graph View two-column content grid. */
.graph-content {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
}

.graph-canvas-wrap {
  grid-column: 1;
  grid-row: 1;
}

.graph-diagnostic {
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 18px 28px;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  align-items: start;
}

.graph-diagnostic-heading {
  align-items: flex-start;
}

.graph-diagnostic-heading > span {
  padding-top: 18px;
}

.graph-diagnostic-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  justify-content: stretch;
  gap: 7px;
  width: 100%;
}

.graph-diagnostic-category {
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.graph-diagnostic-category span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .graph-diagnostic {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .graph-diagnostic-heading > span {
    padding-top: 0;
  }
}



/* F8.3.2 — Graph View Surface Alignment
   Keep the persistent circular navigation controls outside the graph surface,
   matching the left boundary of the expanded analytical panel. */
@media (min-width: 1181px) {
  .graph-view {
    padding: 20px 20px 20px 84px;
  }
}

@media (min-width: 851px) and (max-width: 1180px) {
  .graph-view {
    padding: 20px 20px 20px 58px;
  }
}

.graph-surface {
  box-sizing: border-box;
}


/* F8.3.3 — Summary-to-network highlighting */
.graph-diagnostic-category {
  cursor: default;
  transition:
    border-color .14s ease,
    background .14s ease,
    box-shadow .14s ease;
}

.graph-diagnostic-category:hover,
.graph-diagnostic-category:focus-visible,
.graph-diagnostic-category.is-active {
  border-color: rgba(23, 58, 99, .24);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(23, 58, 99, .08);
  outline: none;
}

.graph-diagnostic-category:focus-visible {
  box-shadow:
    0 0 0 2px rgba(23, 58, 99, .12),
    0 5px 16px rgba(23, 58, 99, .08);
}

.graph-node-device {
  transition: opacity .14s ease;
}

.graph-node-device.is-summary-dimmed {
  opacity: .16;
}

.graph-node-device.is-summary-match {
  opacity: 1;
}

.graph-node-device.is-summary-match circle {
  stroke-width: 4px;
  stroke: var(--accent);
  filter:
    drop-shadow(0 0 5px rgba(23, 58, 99, .38))
    drop-shadow(0 0 13px rgba(23, 58, 99, .2));
}

.graph-node-device.is-summary-match .graph-node-float {
  animation-play-state: paused;
}
