/* พื้นที่อ่านของฝ่าย 1 และ 4 ใช้ระยะเดียวกัน โดยคงสีประจำฝ่ายไว้ */
.atlas-shell :is(.department-panel--f1, .department-panel--f4, .province-panel.f1-only) {
  --reading-gutter: 24px;
  --reading-note: #526159;
  scrollbar-gutter: stable;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) > .department-panel-head {
  height: auto;
  min-height: 0;
  padding: 18px var(--reading-gutter);
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-panel-head h2 {
  line-height: 1.4;
  letter-spacing: 0;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-panel-head p {
  font-size: 13px;
  line-height: 1.6;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) :is(.department-kicker, .f1-kicker) {
  font-size: 11px;
  letter-spacing: 0;
}

.atlas-shell .f1-country-content {
  padding: 20px var(--reading-gutter) 28px;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-grid {
  gap: 12px;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card {
  min-height: 0;
  padding: 16px;
  border-radius: 14px;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card > span {
  min-height: 0;
  font-size: 13px;
  line-height: 1.6;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card > strong {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card strong .metric-na {
  font-size: 16px;
  line-height: 1.5;
}

.atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card > small,
.atlas-shell .f1-kpi-hint,
.atlas-shell .department-kpi-hint,
.atlas-shell .f1-country-content > footer {
  color: var(--reading-note);
  font-size: 12px;
  line-height: 1.6;
}

.atlas-shell .f1-country-detail { padding: 20px; }

/* ข้อความประกอบกราฟและคำอธิบายต้องอ่านได้โดยไม่ต้องซูม */
.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) :is(
  .f1-detail-stats span, .f1-detail-stats small, .f1-subsection > header small,
  .f1-level-legend li, .f1-level-legend small, .f1-column-chart > header small,
  .f1-col-group > span, .f1-metric-main span, .f1-metric-main strong small,
  .f1-metric-side span, .f1-metric-target small, .f1-source-note,
  .f1-source-note p, .f1-source-note a, .f1-progress-rows div > p,
  .f1-progress-rows div > p strong, .f1-district-card summary small
) {
  color: var(--reading-note);
  font-size: 12px;
  line-height: 1.6;
}

.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) :is(
  .f1-plain-note, .f1-coverage-note, .f1-limit-note, .f1-detail-stats > article
) { padding: 12px 14px; }

.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) :is(
  .f1-plain-note, .f1-coverage-note, .f1-limit-note, .f1-level-bar p strong,
  .f1-level-bar p span, .f1-subsection > header h4
) {
  font-size: 13px;
  line-height: 1.65;
}

.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) :is(
  .f1-subsection > header, .f1-column-chart > header, .f1-level-bar p
) { flex-wrap: wrap; gap: 6px 12px; }

.atlas-shell .province-panel.f1-only .f1-province-detail > header h3 {
  font-size: 18px;
  line-height: 1.5;
}

.atlas-shell .province-panel.f1-only .f1-province-tabs button strong {
  font-size: 13px;
  line-height: 1.5;
}

.atlas-shell .province-panel.f1-only .f1-province-tabs button small {
  font-size: 12px;
  line-height: 1.5;
}

.atlas-shell .province-panel.f1-only .f1-crumbs button,
.atlas-shell .province-panel.f1-only .f1-crumbs > span {
  min-height: 32px;
  font-size: 12px;
  line-height: 1.5;
}

.atlas-shell .province-panel.f1-only .f1-province-switch button { min-height: 40px; }

/* ป้ายตัวเลขเหนือแท่งกราฟต้องมีที่ว่างของตัวเอง แม้กราฟมีหลายปี */
.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) .f1-columns {
  grid-auto-columns: minmax(64px, 1fr);
  gap: 8px;
  margin-top: 0;
  padding: 26px 6px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) .f1-columns:has(.f1-col-bars i:nth-child(2)) {
  grid-auto-columns: minmax(88px, 1fr);
}
.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) .f1-col-bars { gap: 16px; }
.atlas-shell :is(.f1-country-panel, .province-panel.f1-only) .f1-col-bars i b { font-size: 11px; line-height: 1.4; }

/* ใช้โครงประเทศของฝ่าย 1 และโครงอ่านรายจังหวัดเดียวกัน */
.atlas-shell .f4-country-panel { display: flex; flex-direction: column; overflow: hidden; scrollbar-gutter: auto; }
.atlas-shell .f4-country-panel[hidden] { display: none; }
.atlas-shell .f4-country-panel > .department-panel-head { position: relative; flex: 0 0 auto; }
.atlas-shell .f4-country-panel h2 > span { display: inline; margin: 0; color: inherit; font: inherit; letter-spacing: 0; }
.atlas-shell .f4-stage { flex: 1; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.atlas-shell .f4-content { min-width: 0; display: block; }
.atlas-shell #f4CountryPanel [hidden] { display: none; }
.atlas-shell .department-flow > :is(button, span) { min-height: 32px; }
.atlas-shell .f4-flow > :is(button, span) > span { display: block; color: inherit; font: inherit; }
.atlas-shell .department-kpi-hint { margin: 0 0 8px; }
.atlas-shell .f4-country-panel:not(.is-province) [data-f4-metric="economic_impact"] { grid-column: 1 / -1; }
.atlas-shell .f4-source-overview { display: grid; gap: 16px; }
.atlas-shell .f4-source-section { padding: 16px; border: 1px solid var(--hairline); border-radius: 14px; background: #fff; }
.atlas-shell .f4-source-section > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.atlas-shell .f4-source-section > header strong { display: block; color: var(--ink-strong); font-size: 16px; line-height: 1.5; }
.atlas-shell .f4-source-section > header small { display: block; margin-top: 3px; color: var(--reading-note); font-size: 12px; line-height: 1.6; }
.atlas-shell .f4-source-section > header a { color: var(--department-accent-strong); font-size: 12px; white-space: nowrap; }
.atlas-shell .f4-source-section .f4-economic-table-wrap { margin-top: 16px; border-top: 1px solid var(--hairline); border-radius: 0; }
.atlas-shell .f4-country-tabs { position: static; padding: 12px var(--reading-gutter); gap: 6px; scrollbar-width: thin; }
.atlas-shell .f4-country-tabs button { min-height: 44px; padding: 8px 12px; border-radius: 10px; }
.atlas-shell .f4-country-tabs button strong { font-size: 13px; font-weight: 700; }
.atlas-shell .f4-country-tabs button small { display: none; }
.atlas-shell .f4-country-tabs::-webkit-scrollbar { display: block; height: 4px; }
.atlas-shell .f4-crumbs { position: sticky; top: 0; z-index: 6; padding: 10px var(--reading-gutter); border-bottom: 1px solid var(--hairline); background: #f7f8f4; }
.atlas-shell .department-crumbs > span { color: var(--department-accent-strong); background: var(--department-accent-soft); }
.atlas-shell .department-crumbs button:hover,
.atlas-shell .department-province-switch button:hover { color: var(--department-accent-strong); border-color: var(--department-accent-strong); }
.atlas-shell :is(.f1-crumbs, .department-crumbs) :is(button, span) { min-height: 32px; font-size: 12px; line-height: 1.5; }
.atlas-shell .f4-country-panel.is-province .department-kicker { padding: 0; background: none; color: var(--department-accent-strong); }
.atlas-shell .f4-country-panel.is-province .department-kicker::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--department-accent); }
.atlas-shell .f4-country-panel.is-province h2 { margin-top: 16px; font-size: 34px; line-height: 1.3; }
.atlas-shell #f4ProvinceNameEn { margin-left: 6px; color: var(--reading-note); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.atlas-shell .f4-country-panel.is-province #f4PanelSubtitle { margin-top: 12px; padding: 7px 12px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; font-size: 12px; }
.atlas-shell .f4-country-panel.is-province .f4-content { background: #fff; }
.atlas-shell .f4-area-detail { padding: 20px; }
.atlas-shell .f4-area-detail h3 { margin: 0; font-size: 16px; line-height: 1.5; }
.atlas-shell .f4-area-detail p { margin: 6px 0 12px; color: var(--reading-note); font-size: 12px; line-height: 1.6; }
.atlas-shell .department-area-list { display: grid; gap: 8px; }
.atlas-shell .department-area-list button { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 9px; background: #f7f8f4; color: var(--ink-strong); text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.atlas-shell .department-area-list button strong { color: var(--department-accent-strong); font-size: 12px; white-space: nowrap; }
.atlas-shell .department-area-list button:hover { border-color: var(--department-accent); background: var(--department-accent-soft); }
.atlas-shell .f4-province-footer { min-width: 0; padding: 0 var(--reading-gutter) 24px; }
.atlas-shell .department-province-switch { margin-top: 0; }
.atlas-shell .department-province-switch > span { font-size: 12px; line-height: 1.6; }
.atlas-shell .department-province-switch button { min-height: 40px; font-size: 12px; }
.atlas-shell .f4-status { padding: 24px var(--reading-gutter); color: var(--reading-note); font-size: 14px; }
.atlas-shell .f4-status button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--hairline); border-radius: 10px; background: #fff; color: var(--ink-strong); font: inherit; cursor: pointer; }
.atlas-shell .f4-tab-panel { min-width: 0; padding: 20px var(--reading-gutter) 28px; }
.atlas-shell .f4-country-tabs button { font-size: 13px; line-height: 1.6; }
.atlas-shell .f4-section-heading strong { font-size: 18px; line-height: 1.5; }
.atlas-shell .f4-section-heading small { font-size: 12px; line-height: 1.6; }
.atlas-shell .f4-list-panel { margin-top: 16px; padding-top: 16px; }
.atlas-shell .f4-list-panel:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.atlas-shell .f4-list-panel > header { flex-direction: column; align-items: stretch; gap: 12px; }
.atlas-shell .f4-list-panel > header h3 { font-size: 15px; line-height: 1.6; }
.atlas-shell .f4-list-panel input { width: 100%; min-width: 0; height: 44px; font-size: 16px; }
.atlas-shell .f4-record-list { gap: 12px; }
.atlas-shell .f4-record-card { padding: 16px; gap: 8px; overflow-wrap: anywhere; }
.atlas-shell .f4-record-card header { flex-wrap: wrap; }
.atlas-shell .f4-record-card header strong { font-size: 15px; line-height: 1.6; }
.atlas-shell .f4-record-card header span { margin: 0; color: var(--reading-note); font-size: 12px; letter-spacing: 0; }
.atlas-shell .f4-record-card :is(p, small),
.atlas-shell .f4-record-metrics :is(dt, dd),
.atlas-shell .f4-list-summary,
.atlas-shell .f4-notes,
.atlas-shell .f4-source-grid article :is(span, strong) {
  color: var(--reading-note);
  font-size: 12px;
  line-height: 1.65;
}
.atlas-shell .f4-record-card a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; }
.atlas-shell .f4-record-metrics { grid-template-columns: 1fr; }
.atlas-shell .f4-source-grid { grid-template-columns: 1fr; overflow-wrap: anywhere; }
.atlas-shell .f4-record-details { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hairline); }
.atlas-shell .f4-record-details summary { color: var(--department-accent-strong); font-size: 12px; cursor: pointer; }
.atlas-shell .f4-record-source-note { margin: 6px 0; color: var(--reading-note); font-size: 11px; }
.atlas-shell .f4-record-evidence + .f4-record-evidence { margin-top: 8px; }
.atlas-shell .f4-record-evidence h4 { margin: 0 0 4px; font-size: 12px; }
.atlas-shell .f4-record-evidence ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.atlas-shell .f4-record-evidence li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--hairline); font-size: 12px; }
.atlas-shell .f4-record-evidence li strong { color: var(--ink-strong); font-weight: 700; text-align: right; }
.atlas-shell .f4-empirical-evidence { display: grid; gap: 8px; margin-top: 10px; }
.atlas-shell .f4-empirical-evidence > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.atlas-shell .f4-empirical-evidence > header h4 { margin: 0; }
.atlas-shell .f4-evidence-status { padding: 3px 8px; border: 1px solid #ddcf9a; border-radius: 999px; color: #80631b; background: #fffaf0; font-size: 10px; font-weight: 800; white-space: nowrap; }
.atlas-shell .f4-evidence-status-complete { border-color: #b9d9c4; color: #22633e; background: #f0faf3; }
.atlas-shell .f4-evidence-status-not_reported { border-color: #dfe6df; color: #68766d; background: #f8faf8; }
.atlas-shell .f4-empirical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.atlas-shell .f4-empirical-card { min-width: 0; padding: 10px; border: 1px solid #e2e9e3; border-radius: 10px; background: #fff; overflow-wrap: anywhere; }
.atlas-shell .f4-empirical-card.is-empty { background: #f8faf8; }
.atlas-shell .f4-empirical-card h4 { margin: 0 0 8px; color: var(--ink-strong); font-size: 12px; }
.atlas-shell .f4-empirical-card dl { display: grid; gap: 8px; margin: 0; }
.atlas-shell .f4-empirical-card dl div { padding-top: 7px; border-top: 1px dashed var(--hairline); }
.atlas-shell .f4-empirical-card dt { margin-bottom: 3px; color: var(--reading-note); font-size: 10px; font-weight: 800; }
.atlas-shell .f4-empirical-card dd { margin: 0; color: var(--ink-strong); font-size: 12px; line-height: 1.55; }
.atlas-shell .f4-evidence-empty { margin: 0; color: var(--reading-note); font-size: 11px; line-height: 1.5; }

.atlas-shell .f4-policy-window { grid-template-columns: 1fr; padding: 18px; }
.atlas-shell .f4-policy-main { min-height: 0; }
.atlas-shell .f4-policy-main strong { margin-top: 8px; font-size: 40px; line-height: 1.3; }
.atlas-shell .f4-policy-chart { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
.atlas-shell .f4-donut { width: 104px; }
.atlas-shell .f4-donut::after { inset: 24px; }
.atlas-shell .f4-status-legend :is(p, strong) { font-size: 12px; line-height: 1.5; }
.atlas-shell .f4-fund-summary strong { font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
.atlas-shell .f4-economic-table-wrap { padding: 16px; }
.atlas-shell .f4-economic-table-wrap header { display: grid; gap: 6px; }
.atlas-shell .f4-economic-table-wrap header strong { font-size: 15px; line-height: 1.6; }
.atlas-shell .f4-economic-table-wrap header small { color: var(--reading-note); font-size: 12px; line-height: 1.6; }
.atlas-shell .f4-economic-total { margin-top: 16px; padding: 16px; border: 1px solid #dfe8df; border-radius: 14px; background: #f8fbf8; }
.atlas-shell .f4-economic-total-label { margin: 0 0 12px; color: var(--ink-strong); font-size: 15px; font-weight: 800; }
.atlas-shell .f4-economic-total-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.atlas-shell .f4-economic-total-card { min-width: 0; padding: 14px; border: 1px solid #e4e8f0; border-radius: 12px; background: #fff; }
.atlas-shell .f4-economic-total-card.is-cost { border-color: #ddd7eb; background: #fbf9ff; }
.atlas-shell .f4-economic-total-card.is-income { border-color: #d6e7dd; background: #f7fcf8; }
.atlas-shell .f4-economic-total-card.is-net { border-color: #c7dfbd; background: #f1faed; }
.atlas-shell .f4-economic-total-card dt { color: var(--reading-note); font-size: 12px; line-height: 1.5; }
.atlas-shell .f4-economic-total-card dd { margin: 6px 0 0; color: var(--ink-strong); font-size: clamp(18px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.atlas-shell .f4-economic-total-card.is-cost dd { color: #59447c; }
.atlas-shell .f4-economic-total-card.is-income dd { color: #17643c; }
.atlas-shell .f4-economic-total-card.is-net dd { color: #2f761f; }
.atlas-shell .f4-economic-annual { margin-top: 18px; }
.atlas-shell .f4-economic-annual[hidden] { display: none; }
.atlas-shell .f4-economic-annual h4 { margin: 0 0 8px; color: var(--ink-strong); font-size: 13px; }
.atlas-shell .f4-economic-table-scroll { margin-top: 12px; padding-bottom: 8px; scrollbar-width: thin; }
.atlas-shell .f4-economic-table :is(th, td) { padding: 12px; font-size: 12px; line-height: 1.5; }

.atlas-shell :is(.department-panel--f1, .department-panel--f4, .province-panel.f1-only)
  :is(button, input, a, summary, [tabindex="0"]):focus-visible {
  outline: 2px solid #294f75;
  outline-offset: 3px;
}

@media (min-width: 721px) {
  .atlas-shell .province-panel.f1-only .f1-province-heading { flex-wrap: wrap; padding: 10px var(--reading-gutter); }
  .atlas-shell .province-panel.f1-only .f1-province-tabs { top: var(--reading-nav-top, 54px); padding: 16px 8px 20px 16px; max-height: calc(100dvh - 420px); }
  .atlas-shell .province-panel.f1-only .f1-province-detail,
  .atlas-shell .province-panel.f1-only .f1-source-note { padding: 20px var(--reading-gutter); }
  .atlas-shell .province-panel.f1-only .f1-detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .atlas-shell .f4-country-panel.is-province .f4-content { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: start; }
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs {
    position: sticky;
    top: var(--reading-nav-top, 60px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 8px 20px 16px;
    border: 0;
    overflow: auto;
    max-height: calc(100dvh - 420px);
    grid-column: 1;
    grid-row: 1 / span 2;
    scrollbar-width: thin;
  }
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs button {
    flex: 0 0 auto;
    width: 100%;
    min-height: 54px;
    padding: 8px 12px;
    border: 1px solid #dcded8;
    border-radius: 10px;
    background: #fff;
    white-space: normal;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs button small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.5; color: var(--reading-note); }
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs button.active small { color: #fff; }
  .atlas-shell .f4-country-panel .f4-country-tabs button.active { border-color: var(--department-accent-strong); background: var(--department-accent-strong); }
  .atlas-shell .f4-country-panel.is-province .f4-tab-panel { grid-column: 2; grid-row: 1; }
  .atlas-shell .f4-province-footer { grid-column: 2; }
}

@media (max-width: 720px) {
  .atlas-shell :is(.department-panel--f1, .department-panel--f4, .province-panel.f1-only) {
    --reading-gutter: 18px;
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
  }
  .atlas-shell :is(.department-panel--f1, .department-panel--f4) > .department-panel-head { padding: 20px 64px 14px var(--reading-gutter); }
  .atlas-shell :is(.department-panel--f1, .department-panel--f4) > .department-panel-head > button,
  .atlas-shell .province-panel.f1-only .panel-close { width: 40px; height: 40px; top: 14px; right: 14px; }
  .atlas-shell .f1-country-content,
  .atlas-shell .province-panel.f1-only .f1-province-detail,
  .atlas-shell .province-panel.f1-only .f1-source-note { padding: 18px var(--reading-gutter) 24px; }
  .atlas-shell .f1-country-detail { padding: 16px; }
  .atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card { padding: 14px; }
  .atlas-shell :is(.department-panel--f1, .department-panel--f4) .department-kpi-card > strong { font-size: 24px; }
  .atlas-shell .province-panel.f1-only .f1-province-toolbar { padding: 10px var(--reading-gutter); }
  .atlas-shell .province-panel.f1-only .f1-province-tabs button { min-height: 44px; }
  .atlas-shell .f4-country-tabs { position: static; padding: 12px var(--reading-gutter); scrollbar-width: thin; }
  .atlas-shell .f4-country-tabs button { min-height: 44px; padding: 8px 14px; }
  .atlas-shell .f4-country-tabs::-webkit-scrollbar { display: block; height: 4px; }
  .atlas-shell .f4-country-panel.is-province > .department-panel-head { padding: 18px 64px 12px var(--reading-gutter); }
  .atlas-shell .f4-country-panel.is-province > .department-panel-head > div { display: flex; flex-direction: column; align-items: flex-start; }
  .atlas-shell .f4-country-panel.is-province > .department-panel-head > button { background: rgba(20, 29, 24, 0.07); }
  .atlas-shell .f4-country-panel.is-province .department-kicker { min-height: 0; font-size: 10.5px; line-height: 1.4; }
  .atlas-shell .f4-country-panel.is-province h2 { margin-top: 2px; font-size: 22px; font-weight: 750; }
  .atlas-shell .f4-country-panel.is-province #f4ProvinceNameEn { display: none; }
  .atlas-shell .f4-country-panel.is-province #f4PanelSubtitle { margin-top: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 11.5px; line-height: 1.5; }
  .atlas-shell :is(.f1-province-tabs, .f4-country-tabs) button { border-radius: 999px; }
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs { position: sticky; top: var(--reading-nav-top, 54px); z-index: 5; background: #f7f8f4; }
  .atlas-shell .f4-area-detail { padding: 16px; }
  .atlas-shell .f4-empirical-grid { grid-template-columns: 1fr; }
  .atlas-shell .f4-empirical-card dd { font-size: 12px; line-height: 1.65; }
  .atlas-shell .f4-evidence-status { font-size: 11px; }
  .atlas-shell .f4-economic-total-grid { grid-template-columns: 1fr; }
  .atlas-shell .f4-economic-total-card dd { font-size: 22px; }
}

@media (max-width: 380px) {
  .atlas-shell .f4-policy-chart { grid-template-columns: 1fr; }
}

@media (min-width: 721px) and (max-height: 650px) {
  .atlas-shell .province-panel.f1-only .f1-province-tabs,
  .atlas-shell .f4-country-panel.is-province .f4-country-tabs { max-height: calc(100dvh - 310px); }
}
