/* The appearance switch remains available in either presentation. */
html[data-atlas-appearance="classic"] #atlas-navigation { display: none !important; }
html[data-atlas-appearance="classic"] #schools-root .school-view-picker { display: none; }
html[data-atlas-appearance="immersive"] :is(.atlas-appearance-legacy,.atlas-appearance-fallback) { display: none !important; }
.atlas-dock .atlas-appearance-toggle { margin-top: 12px; border-color: #b7e1c83d; }
.atlas-appearance-legacy { border-left: 1px solid #315b4e45 !important; white-space: nowrap; }
.atlas-appearance-short, .atlas-nav-short { display: none; }
.atlas-appearance-fallback { min-height: 44px; padding: 8px 14px; border: 1px solid #829b8b; border-radius: 8px; background: #f3f8f4; color: #193c32; }
.school-map-point .map-dot.no-value { fill: none; stroke: #4e6d60; stroke-width: 2; stroke-dasharray: 3 2; }
html[data-atlas-appearance="immersive"] #schools-root .school-map-point .map-dot.no-value { fill: none; stroke: #f0f7dc; stroke-width: 2; stroke-dasharray: 3 2; }
.atlas-appearance-feedback { position: fixed; z-index: 60; left: calc(var(--atlas-dock-width, 0px) + 16px); bottom: 16px; max-width: min(360px,calc(100vw - 32px)); padding: 12px 16px; border: 1px solid #b4d3bd; border-radius: 12px; background: #f3faf3; color: #183d30; font: 16px/1.5 -apple-system,BlinkMacSystemFont,"Noto Sans TC",sans-serif; box-shadow: 0 8px 24px #071b2033; }
@media (max-width: 900px) {
  .atlas-dock .atlas-appearance-toggle { margin-top: 0; }
  .atlas-appearance-feedback { left: 12px; bottom: calc(var(--atlas-dock-height, 0px) + 12px); }
}
@media (max-width: 700px) {
  html[data-atlas-appearance="classic"] .atlas-section-switch { min-width: 0; gap: 2px; }
  html[data-atlas-appearance="classic"] .atlas-section-switch > button { min-width: 0; padding-inline: 4px !important; letter-spacing: 0; }
  .atlas-appearance-long { display: none; }
  .atlas-appearance-short { display: inline; }
}
@media (max-width: 360px) {
  html[data-atlas-appearance="classic"] .atlas-section-switch > button { font-size: 15px !important; padding-inline: 2px !important; }
  html[data-atlas-appearance="classic"] .atlas-nav-long { display: none; }
  html[data-atlas-appearance="classic"] .atlas-nav-short { display: inline; }
}
@media (max-height: 740px) and (max-width: 700px), (max-height: 500px) and (min-width: 701px) {
  html[data-atlas-appearance="classic"] #schools-root .school-map-controls { top: 10px; left: 12px; gap: 4px; }
  html[data-atlas-appearance="classic"] #schools-root .school-map-controls button { width: 44px; min-height: 44px; }
  html[data-atlas-appearance="classic"] #schools-root .school-map-key > small { display: none; }
  html[data-atlas-appearance="classic"] #schools-root .school-footer [data-school-coverage] { display: none; }
}
@media (max-height: 740px) and (max-width: 700px) {
  html[data-atlas-appearance="classic"] #schools-root .school-map-controls { grid-template-columns: repeat(2,44px); }
}
@media (max-height: 500px) and (min-width: 701px) {
  html[data-atlas-appearance="classic"] #schools-root .school-map-controls { grid-template-columns: repeat(4,44px); }
}
@media (max-width: 360px) and (max-height: 740px) {
  html[data-atlas-appearance="classic"] #schools-root .school-year select { max-width: 130px; font-size: 16px; }
  html[data-atlas-appearance="classic"] #schools-root .school-footer { gap: 0; padding-inline: 8px; }
  html[data-atlas-appearance="classic"] #schools-root [data-school-action="export"] { min-width: 64px; white-space: nowrap; }
}
