:root {
    --clr-none: #1a7a2e;
    --clr-dormant: #1e7a2e;
    --clr-minimal: #3d7a1a;
    --clr-light: #6a8f0f;
    --clr-low: #7a6200;
    --clr-mod: #a85a00;
    --clr-active: #c05a00;
    --clr-elevated: #b03000;
    --clr-high: #c00000;
    --clr-extreme: #c00000;
}
body.mosq-page {
    background: #F9F6F0;
}
.mosq-hero {
    background: #F9F6F0;
    border-bottom: 1px solid #E2DCD2;
    padding: 40px 28px 48px;
}
.mosq-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.mosq-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.eyebrow-loc {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #005BBB;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(52,199,89,0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(52,199,89,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(52,199,89,0); }
    100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); }
}
.mosq-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.mosq-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--text);
    margin-bottom: 10px;
}
.mosq-hero-title .accent {
    color: var(--accent);
}
.mosq-hero-sub {
    font-size: 15px;
    color: var(--text-2);
    max-width: 560px;
    margin-bottom: 36px;
}
.mosq-updated {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding-top: 6px;
    flex-shrink: 0;
}
.mosq-updated-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-bg);
    flex-shrink: 0;
}
.hero-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 8px;
}
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.gauge-wrap {
    position: relative;
    width: 220px;
    flex-shrink: 0;
}
.gauge-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.gauge-label-end {
    font-family: var(--font-ui);
    font-size: 11px;
    fill: var(--text-3);
    font-weight: 500;
}
.gauge-score-wrap {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
}
.gauge-score {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1;
    color: var(--text);
    letter-spacing: -2px;
    transition: color 0.6s ease;
}
.gauge-level {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    transition: color 0.6s ease;
}
.hero-desc {
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
    margin: 12px 0 10px;
    font-weight: 400;
    max-width: 260px;
}
.hero-chips-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.hero-chips-row .hero-meta-chips {
    margin-bottom: 0;
}
.hero-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.gauge-typical {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 500;
    margin: 0;
}
.gauge-typical--high {
    color: #b03000;
}
.gauge-typical--low {
    color: var(--green-text);
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1.5px solid;
}
.meta-chip.chip-suppress {
    background: var(--blue-bg);
    border-color: var(--blue-border);
    color: #0050a0;
}
.meta-chip.chip-boost {
    background: var(--red-bg);
    border-color: var(--red-border);
    color: var(--red-text);
}
.meta-chip.chip-neutral {
    background: var(--green-bg);
    border-color: var(--green-border);
    color: var(--green-text);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    height: 36px;
    padding: 0 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.hero-chart-label {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.2px;
}
.hero-chart-sub {
    font-size: 13px;
    color: var(--text-2);
}
.forecast-card {
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 24px 20px 16px;
    overflow-x: auto;
    min-height: 200px;
    max-width: 100%;
}
.forecast-card-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}
.forecast-svg {
    width: 100%;
    height: 180px;
    display: block;
    overflow: visible;
}
/* ===== 6h / 12h TOGGLE ===== */
.fc-view-toggle {
    display: inline-flex;
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--bg);
    margin-left: auto;
    flex-shrink: 0;
}
.fc-view-toggle button {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border: none;
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.fc-view-toggle button:hover {
    background: var(--border-soft);
}
.fc-view-toggle button.is-active {
    background: var(--accent);
    color: #fff;
}
.fc-view-toggle button.is-active:hover {
    background: var(--accent-hover);
}
.mosq-bar-tick {
    font-family: var(--font-ui);
    font-size: 10px;
    fill: var(--text-3);
}
.mosq-bar-score {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
}
.mosq-bar-time {
    font-family: var(--font-ui);
    font-size: 11px;
    fill: var(--text);
    font-weight: 600;
}
.mosq-bar-level {
    font-family: var(--font-ui);
    font-size: 9px;
    fill: var(--text-3);
}
.fetch-error {
    background: var(--red-bg);
    border-bottom: 1px solid var(--red-border);
    padding: 12px 28px;
}
.fetch-error .mosq-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.error-msg {
    font-size: 14px;
    color: var(--red-text);
    font-weight: 500;
    margin: 0;
    flex: 1;
}
.error-retry-btn {
    height: 32px;
    padding: 0 16px;
    background: var(--surface);
    border: 1.5px solid var(--red-border);
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--red-text);
    cursor: pointer;
    transition: background 0.15s ease;
}
.error-retry-btn:hover {
    background: var(--red-bg);
}
.mosq-section {
    padding: 48px 28px;
}
.mosq-protection-section {
    background: #FFFFFF;
}
.mosq-map-section {
    background: #F9F6F0;
    padding: 48px 28px;
}
.mosq-seo-section {
    background: #FFFFFF;
}
.mosq-tools-section {
    background: #F9F6F0;
}
.mosq-conditions-section {
    background: #FFFFFF;
}
.mosq-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.mosq-inner--wide {
    max-width: 1200px;
}
.mosq-inner--narrow {
    max-width: 760px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}
.section-sub {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 28px;
}
.section-intro {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 24px;
}
.mosq-statement {
    max-width: 820px;
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid #E2DCD2;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-2);
    text-align: center;
}
.mosq-statement strong {
    color: var(--text);
    font-weight: 600;
}
.protection-grid {
    margin-bottom: 20px;
}
.protection-single {
    border-left: 4px solid;
    border-radius: var(--radius-lg);
    padding: 28px 36px 24px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}
.prot-single-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}
.prot-single-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.prot-single-level {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.prot-single-heading {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.2px;
    line-height: 1.1;
}
.prot-single-summary {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 16px;
}
.prot-single-actions {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 32px;
}
.prot-single-actions li {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.55;
    padding-left: 20px;
    position: relative;
}
.prot-single-actions li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.prot-single-note {
    font-size: 13px;
    color: var(--text-2);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--border);
}
.epa-note {
    font-size: 12px;
    color: var(--text-2);
}
.epa-note a {
    color: var(--text-2);
    text-decoration: underline;
}
.repellent-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.repellent-card {
    background: #fff;
    border: 1px solid #e0ddd6;
    border-radius: var(--radius-card);
    padding: 20px 24px;
}
.repellent-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px 0;
}
.repellent-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
}
.map-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.toggle-btn {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-ui);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.toggle-btn:hover {
    background: var(--bg);
    border-color: var(--border);
}
.map-load-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 40px 32px 36px;
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.map-load-headline {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin: 0;
}
.map-load-body {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 440px;
    margin: 0;
}
.map-load-btn {
    height: 46px;
    padding: 0 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.15s ease, transform 0.1s ease;
}
.map-load-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}
.map-load-note {
    font-size: 12px;
    color: var(--text-2);
    margin: 0;
}
.map-wrap {
    width: 100%;
    height: 580px;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: #e8e8ed;
}
.map-legend {
    display: block;
    margin-top: 16px;
}
.map-legend-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 560px);
    gap: 40px;
    align-items: start;
    max-width: 860px;
    margin: 0 auto;
}
.map-legend-keys {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
}
.map-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
    margin: 0 0 8px 0;
}
.legend-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    user-select: none;
}
.legend-filter-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}
.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(0,0,0,0.15);
}
.legend-source {
    font-size: 12px;
    margin-top: 10px;
    color: var(--text-2);
}
.legend-source a {
    color: var(--text-2);
    text-decoration: none;
}
.legend-source a:hover {
    text-decoration: underline;
}
.map-legend-explainer {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-2);
}
.map-legend-explainer p {
    margin: 0 0 10px 0;
}
.map-legend-explainer p:last-child {
    margin-bottom: 0;
}
.tidal-surge-note {
    margin-top: 20px;
    padding: 10px 18px;
    background: #f5f0e8;
    border: 1px solid #d4c87a;
    border-radius: var(--radius-card);
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.6;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.tidal-surge-note strong {
    color: var(--text);
}
.factors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.factor-card {
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.4s ease, background 0.4s ease;
}
.factor-card.skeleton {
    opacity: 0.6;
}
.factor-icon {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}
.factor-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}
.factor-value {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1.1;
}
.factor-impact {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    display: inline-block;
    align-self: flex-start;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}
.impact-suppressing {
    background: var(--blue-bg);
    color: #0050a0;
    border: 1px solid var(--blue-border);
}
.impact-boosting {
    background: var(--red-bg);
    color: var(--red-text);
    border: 1px solid var(--red-border);
}
.impact-neutral {
    background: var(--green-bg);
    color: var(--green-text);
    border: 1px solid var(--green-border);
}
.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.seo-card {
    background: #F9F6F0;
    border: 1px solid #E2DCD2;
    border-radius: var(--radius-xl);
    padding: 24px 22px;
}
.seo-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.seo-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}
.seo-card p a {
    color: #005BBB;
}
.mosq-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.mosq-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.mosq-tool-pill:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
    background: var(--blue-bg);
}
.mosq-tool-pill-icon {
    font-size: 15px;
    line-height: 1;
}
.mosq-faq-section {
    padding: 48px 28px 64px;
    background: #F9F6F0;
    border-top: 1px solid #E2DCD2;
}
.mosq-faq-intro {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 700px;
    margin-bottom: 28px;
}
.mosq-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mosq-faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--accent);
    transition: box-shadow 0.15s ease;
}
.mosq-faq-item:hover {
    box-shadow: var(--shadow-md);
}
.mosq-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    background: #FFFFFF;
    list-style: none;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}
.mosq-faq-item summary::-webkit-details-marker {
    display: none;
}
.mosq-faq-item summary:hover {
    background: var(--blue-bg);
    color: var(--accent);
}
.mosq-faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent);
    transition: transform 0.2s ease, color 0.2s ease;
}
.mosq-faq-item[open] {
    border-left-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,113,227,0.12);
}
.mosq-faq-item[open] summary {
    background: var(--accent);
    color: #FFFFFF;
}
.mosq-faq-item[open] summary:hover {
    background: var(--accent-hover);
    color: #FFFFFF;
}
.mosq-faq-item[open] .mosq-faq-chevron {
    transform: rotate(180deg);
    color: #FFFFFF;
}
.mosq-faq-body {
    padding: 16px 20px 20px;
    background: var(--blue-bg);
    border-top: 1px solid var(--blue-border);
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}
.mosq-faq-body p {
    margin: 0;
}
.mosq-faq-body p + p {
    margin-top: 10px;
}
.mosq-faq-body a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}
.mosq-faq-body a:hover {
    text-decoration: underline;
}
.legend-source a,
.epa-note a,
.seo-card p a {
    text-decoration: underline;
}
@media (max-width: 1024px) {
    .hero-dashboard {
        grid-template-columns: 240px 1fr;
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .hero-dashboard {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-left {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 16px;
    }
    .gauge-wrap {
        width: 180px;
        flex-shrink: 0;
    }
    .hero-desc {
        font-size: 15px;
        max-width: none;
        margin-top: 0;
    }
    .prot-single-actions {
        grid-template-columns: 1fr;
    }
    .prot-single {
        padding: 18px 20px 16px;
    }
    .prot-single-heading {
        font-size: 18px;
    }
    .prot-single-summary {
        font-size: 14px;
    }
    .seo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mosq-title-row {
        flex-direction: column;
        gap: 8px;
    }
    .mosq-updated {
        padding-top: 0;
    }
    .mosq-hero {
        padding: 18px 16px 20px;
    }
    .mosq-hero-title {
        font-size: clamp(22px, 6vw, 30px);
        margin-bottom: 6px;
    }
    .mosq-hero-sub {
        font-size: 13px;
        margin-bottom: 16px;
    }
    .hero-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero-left {
        display: grid;
        grid-template-columns: 140px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 14px;
        row-gap: 0;
        align-items: start;
    }
    .gauge-wrap {
        grid-column: 1;
        grid-row: 1 / 4;
        width: 140px;
    }
    .gauge-score {
        font-size: 36px;
    }
    .hero-desc {
        grid-column: 2;
        grid-row: 1;
        font-size: 13px;
        margin: 0 0 6px;
        max-width: none;
        line-height: 1.5;
    }
    .hero-chips-row {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }
    .hero-right {
        gap: 8px;
    }
    .hero-chart-label {
        font-size: 16px;
    }
    .forecast-card {
        padding: 14px 12px 10px;
    }
    .forecast-card-header {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 10px;
    }
    /* Chart sizing for tablets – fix #3 */
    .forecast-svg {
        min-width: 280px;
        height: 130px;
    }
    .mosq-section {
        padding: 36px 16px;
    }
    .mosq-map-section {
        padding: 36px 16px;
    }
    .mosq-conditions-section {
        padding: 28px 16px;
    }
    .protection-single {
        padding: 18px 20px 16px;
    }
    .prot-single-heading {
        font-size: 18px;
    }
    .prot-single-summary {
        font-size: 14px;
    }
    .prot-single-actions {
        grid-template-columns: 1fr;
    }
    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .map-load-prompt {
        padding: 28px 20px 24px;
    }
    .map-load-headline {
        font-size: 18px;
    }
    .map-wrap {
        height: 340px;
    }
    .mosq-faq-section {
        padding: 28px 16px 40px;
    }
    .mosq-faq-item summary {
        padding: 14px 16px;
        font-size: 14px;
    }
    .mosq-faq-body {
        padding: 14px 16px 18px;
    }
}

@media (max-width: 640px) {
    .map-legend-grid {
        grid-template-columns: 1fr;
    }
    .map-wrap {
        height: 300px;
    }
    /* Keep chart readable on smaller tablets */
    .forecast-svg {
        min-width: 280px;
        height: 120px;
    }
    .repellent-detail-grid {
        grid-template-columns: 1fr;
    }
    /* Better toggle readability on small screens */
    .forecast-card-header .fc-sub {
        font-size: 12px;
        width: 100%;
        margin-left: 0;
    }
    .forecast-card-header .fc-badge {
        font-size: 10px;
        padding: 1px 8px;
    }
    .fc-view-toggle button {
        font-size: 11px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    /* Extra‑small chart sizing – fix #5 */
    .forecast-svg {
        min-width: 220px;
        height: 110px;
    }
    .mosq-bar-time {
        font-size: 9px;
    }
    .mosq-bar-tick {
        font-size: 9px;
    }
    .mosq-bar-score {
        font-size: 9px;
    }
    .factors-grid {
        grid-template-columns: 1fr;
    }
    .gauge-wrap {
        width: 110px;
    }
    .gauge-score {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-dot {
        animation: none;
    }
    #gauge-arc,
    #gauge-needle {
        transition: none;
    }
    .factor-card {
        transition: none;
    }
}
