.sector-summary-only > :not(.sector-executive-host):not(.sector-map-disclosure) {display:none !important; }
.sector-executive-host, .sector-map-disclosure {grid-column:1 / -1; }
.sector-executive {width:100%;max-width:1200px;margin-inline:auto; }
.sector-map-disclosure {width:100%;max-width:none;margin-inline:0; }
.sector-summary-only .sector-map-disclosure {max-width:1200px;margin-inline:auto; }
.sector-executive > p:not(.section-kicker) {max-width:800px; }
.sector-executive-cards {display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:14px;margin:22px 0; }
.sector-executive-cards article {display:flex;flex-direction:column;gap:5px;padding:18px;border:1px solid var(--line, var(--theme-line));border-radius:14px;background:var(--theme-subtle); }
.sector-executive-cards strong {color:var(--theme-text);font-size:1.8rem; }
.sector-executive-cards span {font-weight:700; }
.sector-executive-cards small {color:var(--theme-muted); }
.sector-executive-actions {display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0; }
.sector-analysis-button, .sector-map-toggle {display:inline-flex !important;align-items:center;justify-content:center;gap:.45rem;min-height:44px;padding:.7rem 1rem !important;border:1px solid var(--theme-line) !important;border-radius:10px !important;background:var(--theme-button) !important;color:var(--theme-inverse) !important;font-weight:800;box-shadow:0 5px 14px color-mix(in srgb,var(--theme-shadow-colour) 18.0%,transparent); }
.sector-analysis-button:hover, .sector-analysis-button:focus-visible, .sector-map-toggle:hover, .sector-map-toggle:focus-visible {border-color:var(--theme-line) !important;background:var(--theme-button) !important;transform:translateY(-1px); }
.sector-analysis-button:disabled, .sector-map-toggle:disabled {cursor:wait;opacity:.72;transform:none; }
.sector-analysis-button > span {font-weight:900; }
.sector-district-picker {margin-top:12px;padding-top:14px;border-top:1px solid var(--line, var(--theme-line)); }
.sector-district-picker summary {cursor:pointer;font-weight:700; }
.sector-district-picker > div {display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:8px;margin-top:12px; }
.sector-district-picker button {display:flex;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-panel);text-align:left; }
.sector-district-picker button:hover {border-color:var(--theme-line); }
.sector-load-status {min-height:1.5em;color:var(--theme-text); }
.sector-map-heading {display:flex;align-items:center;justify-content:space-between;gap:1.25rem; }
.sector-map-heading > div {min-width:0;flex:1 1 auto; }
.sector-map-heading h2 {margin:.15rem 0 .3rem; }
.sector-map-heading p:not(.section-kicker) {max-width:760px;margin:.2rem 0;color:var(--theme-muted); }
.sector-map-toggle {flex:0 0 auto;min-width:14rem;white-space:nowrap; }
.sector-map-toggle::after {content:"↓";font-size:1rem;line-height:1; }
.sector-map-toggle[aria-expanded="true"]::after {content:"↑"; }
.sector-map-body {margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line, var(--theme-line)); }
.sector-map-body[hidden] {display:none; }
.sector-map-controls {display:grid;grid-template-columns:minmax(15rem, .7fr) minmax(18rem, 1.3fr);align-items:end;gap:1rem;margin-bottom:1rem; }
.sector-map-controls label {display:grid;gap:.35rem;color:var(--theme-muted);font-size:.8rem;font-weight:800; }
.sector-map-controls select {min-height:2.75rem;padding:.6rem .75rem;border:1px solid var(--theme-line);border-radius:.7rem;background:var(--theme-panel);color:var(--theme-text);font:inherit; }
.sector-map-controls p {margin:0;padding:.7rem .8rem;border-radius:.7rem;background:var(--theme-subtle);color:var(--theme-muted);line-height:1.45; }
.sector-map-status {min-height:1.3rem;margin:.65rem 0 0;color:var(--theme-text);font-size:.82rem; }
.score-legend {margin-top:.55rem;border:1px solid var(--line, var(--theme-line));border-radius:8px;background:var(--theme-subtle); }
.score-legend > summary {padding:.6rem .75rem;cursor:pointer;color:var(--theme-text);font-size:.8rem;font-weight:800; }
.score-legend > p {margin:0;padding:0 .75rem .55rem;color:var(--theme-muted);font-size:.76rem;line-height:1.45; }
.score-legend ul {display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:.45rem;margin:0;padding:0 .75rem .75rem;list-style:none; }
.score-legend li {display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .6rem;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-panel);font-size:.76rem; }
.score-legend li span {display:flex;min-width:0;flex-direction:column;gap:.12rem;color:var(--theme-text); }
.score-legend li b {color:var(--theme-text);line-height:1.35; }
.score-legend li small {color:var(--theme-muted); }
.score-legend li > strong {flex:0 0 auto;color:var(--theme-text);white-space:nowrap; }
.score-legend .score-unavailable {margin:.05rem .75rem .75rem;padding:.55rem .65rem;border-radius:7px;background:var(--theme-subtle); }
.score-current {display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .65rem;margin-top:.55rem;padding:.65rem .75rem;border:1px solid var(--theme-line);border-radius:999px;background:var(--theme-subtle);color:var(--theme-text); }
.score-current small {width:100%;color:var(--theme-muted);font-size:.72rem; }
.score-current b {font-size:.82rem;line-height:1.35; }
.score-current span {font-size:.76rem; }
.score-current.unavailable {border-color:var(--theme-line);background:var(--theme-subtle);color:var(--theme-text); }
.score-current.verification, .score-legend li.score-verification {border-color:var(--verification-border, var(--theme-line));background:var(--verification-bg, var(--theme-subtle));color:var(--verification-text, var(--theme-text)); }
.score-legend-empty {color:var(--theme-text);font-size:.75rem; }
@media (max-width: 850px) {
  .sector-executive-cards {grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .sector-district-picker > div {grid-template-columns:1fr 1fr; }
  .sector-map-heading {display:grid; }
  .sector-map-toggle {width:100%; }
  .sector-map-controls {grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .score-legend ul {grid-template-columns:1fr; }
  .score-current {border-radius:12px; }
}
@media (max-width: 520px) {
  .sector-executive-cards, .sector-district-picker > div {grid-template-columns:1fr; }
  .sector-executive-cards strong {font-size:1.45rem; }
  .sector-analysis-button {width:100%; }
}
.score-count-button{min-height:0;border:0;border-bottom:1px solid currentColor;background:transparent;color:var(--theme-primary,var(--accent,var(--theme-text)));padding:.15rem 0;font-weight:850;cursor:pointer}.score-count-button:hover{border-bottom-width:2px}.score-count-button:focus-visible{outline:3px solid var(--theme-focus,var(--theme-focus));outline-offset:3px}.score-village-dialog{width:min(760px,calc(100% - 2rem));max-height:min(82dvh,760px);border:0;border-radius:16px;padding:0;overflow:hidden;background:var(--theme-panel,var(--theme-panel));color:var(--theme-text,var(--theme-text));box-shadow:0 28px 90px color-mix(in srgb,var(--theme-shadow-colour) 40.0%,transparent)}.score-village-dialog::backdrop{background:color-mix(in srgb,var(--theme-overlay) 70.2%,transparent)}.score-village-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.15rem 1.25rem;border-bottom:1px solid var(--theme-line,var(--theme-line))}.score-village-dialog__head h2,.score-village-dialog__head p{margin:.15rem 0}.score-village-dialog__head [data-score-list-close]{flex:0 0 42px;width:42px;height:42px;min-height:42px;border:1px solid var(--theme-line,var(--theme-line));border-radius:50%;background:var(--theme-panel);color:var(--theme-text,var(--theme-text));font-size:1.45rem}.score-village-dialog__table{max-height:calc(82dvh - 132px);overflow:auto;overscroll-behavior:contain}.score-village-dialog table{width:100%;border-collapse:collapse}.score-village-dialog th{position:sticky;top:0;z-index:1;background:var(--theme-page,var(--theme-subtle));text-align:left}.score-village-dialog th,.score-village-dialog td{padding:.75rem 1.25rem;border-bottom:1px solid var(--theme-line,var(--theme-line))}
