body.regions-mode .toolbar, body.regions-mode #stats { display: none; }
#regions { color: #536a7d; padding-bottom: 28px; }
.region-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 26px; }
.region-eyebrow { color: #688daa; font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.region-intro h2 { color: #345578; font-size: 26px; font-weight: 500; margin: 9px 0 8px; }
.region-intro p { font-size: 14px; color: #788b9b; }
.region-freshness { font-size: 12px; white-space: nowrap; text-align: right; }
.region-freshness small { display: block; margin-top: 4px; color: #8a9aa6; }
.region-fresh-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #88a8bc; margin-right: 7px; }
.region-providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.region-provider { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; padding: 17px 19px; background: white; border: 1px solid #e0e8ee; border-radius: 11px; color: #72879a; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.region-provider[aria-pressed="true"] { border-color: color-mix(in srgb, var(--provider-color) 48%, white); background: color-mix(in srgb, var(--provider-color) 5%, white); color: #3e5c75; }
.region-provider[aria-pressed="false"] { opacity: .62; }
.region-provider strong { grid-column: 2; grid-row: 1 / span 2; font-size: 29px; font-weight: 500; color: var(--provider-color); font-variant-numeric: tabular-nums; }
.region-provider small { color: #8b9aa6; font-size: 11px; }
.region-provider-name { font-size: 14px; font-weight: 600; white-space: nowrap; }
.region-provider-name i, .region-provider-label i, .region-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--provider-color); margin-right: 8px; }
.region-toolbar { display: flex; align-items: end; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid #e3eaf0; border-radius: 10px; }
.region-toolbar label { font-size: 12px; color: #718697; }
.region-search { flex: 1; min-width: 140px; }
.region-search span { display: block; margin-bottom: 6px; }
.region-search input, .region-area select { width: 100%; font-size: 13px; color: #405a72; padding: 9px 12px; border: 1px solid #dce5ed; border-radius: 6px; background: #fbfdfe; height: 38px; }
.region-area select { display: block; min-width: 104px; margin-top: 6px; }
.region-restricted { display: flex; gap: 7px; align-items: center; padding: 9px 0; white-space: nowrap; }
.region-restricted input { accent-color: #347bd1; }
.region-reset-filter { border: none; background: transparent; color: #4782b8; font-size: 12px; cursor: pointer; padding: 10px 0; white-space: nowrap; }
.region-overview { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin: 18px 1px 11px; color: #8798a5; }
#regionSummary { color: #58758b; }
.region-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 16px; }
.region-map-panel { position: relative; border: 1px solid #dce6ec; background: #f1f7fa; border-radius: 12px; overflow: hidden; min-width: 0; }
.region-map-tools { position: absolute; z-index: 2; inset: 16px 16px auto; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.region-map-tools > span { font-size: 10px; color: #8da6b7; letter-spacing: 2px; font-weight: 600; }
.region-map-tools > div { display: flex; align-items: center; gap: 4px; pointer-events: auto; }
.region-map-tools button { border: 1px solid #d9e4eb; background: #ffffffed; border-radius: 5px; min-width: 29px; height: 29px; padding: 2px 8px; color: #58748a; cursor: pointer; }
.region-map-tools small { margin-left: 5px; font-variant-numeric: tabular-nums; color: #8b9fac; font-size: 10px; }
.region-map-tools button:disabled { opacity: .35; cursor: default; }
#regionMap { display: block; width: 100%; height: 442px; touch-action: pan-y; cursor: grab; }
#regionMap:active { cursor: grabbing; }
.region-marker { cursor: pointer; outline: none; }
.region-marker:hover .region-marker-halo, .region-marker:focus .region-marker-halo, .region-marker.selected .region-marker-halo { fill: #456e8e; fill-opacity: .3; }
.region-marker text { font-family: Arial, sans-serif; font-weight: 600; pointer-events: none; }
.region-map-foot { display: flex; justify-content: space-between; gap: 8px; padding: 12px 15px; border-top: 1px solid #e1ebf0; font-size: 10px; color: #8599a7; }
.region-map-foot a { color: #8599a7; text-decoration: none; }
.region-map-empty { position: absolute; top: 48%; left: 0; width: 100%; text-align: center; color: #738e9f; background: #f1f7fae0; padding: 12px; }
.region-detail { border: 1px solid #e0e8ee; border-radius: 12px; padding: 20px; background: #fff; max-height: 484px; overflow: auto; }
.region-detail-empty { padding: 24px 3px; }
.region-detail-icon { color: #8ca7bf; font-size: 40px; font-weight: 200; }
.region-detail-empty h3 { font-size: 16px; font-weight: 500; color: #456581; margin: 14px 0 12px; }
.region-detail-empty p { margin-bottom: 14px; font-size: 13px; line-height: 1.9; color: #7c8e9c; }
.region-detail-empty small { font-size: 11px; color: #95a2ab; line-height: 1.8; display: block; padding-top: 16px; border-top: 1px solid #edf1f5; }
.region-detail-heading > span { font-size: 11px; color: #8a9da9; }
.region-detail-heading h3 { margin: 5px 0 18px; font-weight: 500; font-size: 17px; overflow-wrap: anywhere; color: #345578; }
.region-detail-card { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid #e8edf2; }
.region-detail-card:last-child { border: 0; margin: 0; }
.region-provider-label { color: var(--provider-color); font-size: 11px; }
.region-detail-card h4 { font-size: 14px; font-weight: 500; margin: 6px 0; color: #435e74; }
.region-detail-card code, .region-table code { font-size: 11px; overflow-wrap: anywhere; color: #517b9e; }
.region-detail-card dl { display: grid; grid-template-columns: 74px 1fr; gap: 5px 9px; font-size: 11px; margin: 13px 0; }
.region-detail-card dt { color: #9aa7b0; }
.region-detail-card dd { margin: 0; }
.region-detail-card p { font-size: 11px; color: #8b7d69; line-height: 1.8; background: #fcf9f2; border-radius: 5px; padding: 9px; }
.region-source-links { margin-top: 10px; }
.region-source-links a { display: block; font-size: 11px; text-decoration: none; line-height: 1.8; }
.region-list-heading { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 11px; }
.region-list-heading h3 { font-weight: 500; color: #41617d; font-size: 17px; }
.region-list-heading h3 span { font-size: 12px; background: #edf4f9; color: #7793a9; border-radius: 5px; padding: 2px 7px; margin-left: 6px; }
.region-list-heading > span { color: #91a1ae; font-size: 11px; }
.region-list { max-height: 360px; border: 1px solid #e0e8ee; border-radius: 10px; overflow: auto; background: #fff; }
.region-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 12px; white-space: nowrap; }
.region-table th { position: sticky; top: 0; z-index: 1; font-weight: 500; color: #617b90; background: #f4f8fb; border-bottom: 1px solid #e0e9f0; }
.region-table td, .region-table th { padding: 12px 16px; }
.region-table td { border-bottom: 1px solid #f0f3f6; }
.region-table tr:hover td { background: #f9fcfe; }
.region-link { border: 0; background: transparent; color: #347bd1; cursor: pointer; font-size: 12px; }
.region-limited { color: #aa793c; font-size: 11px; }
.region-method { margin-top: 22px; font-size: 12px; line-height: 1.9; color: #8699a7; }
.region-method summary { cursor: pointer; color: #607e96; }
.region-method p { margin-top: 10px; }
.region-method ul { margin: 14px 0 0 20px; }
.region-method li { margin: 8px 0; }
.region-method li span { display: block; }
.region-method a { text-decoration: none; }
.region-empty { padding: 36px; text-align: center; color: #8a9dac; font-size: 13px; }
#regions :focus-visible { outline: 2px solid #347bd1; outline-offset: 3px; }
@media (max-width: 1200px) { .region-map-layout { grid-template-columns: minmax(0, 1fr) 240px; } .region-detail { padding: 16px; } .region-toolbar { gap: 12px; } }
@media (max-width: 950px) { .region-map-layout { grid-template-columns: 1fr; } .region-detail { max-height: 300px; } .region-detail-empty { padding: 0; } .region-detail-icon { display: none; } .region-detail-empty small { display: none; } .region-toolbar { flex-wrap: wrap; } .region-intro { align-items: start; flex-direction: column; gap: 12px; } .region-freshness { text-align: left; } .region-providers { grid-template-columns: repeat(2, 1fr); } #regionMap { height: 370px; } }
@media (max-width: 600px) { .region-intro h2 { font-size: 21px; } .region-intro p { font-size: 12px; } .region-eyebrow { font-size: 9px; letter-spacing: 1px; } .region-providers { gap: 8px; } .region-provider { padding: 12px; } .region-provider-name { font-size: 12px; } .region-provider strong { font-size: 22px; } .region-provider small { font-size: 9px; } .region-toolbar { padding: 12px; } .region-search { min-width: 130px; } .region-restricted { font-size: 11px !important; } .region-overview { flex-direction: column; font-size: 11px; gap: 4px; } #regionMap { height: 300px; } .region-map-tools > span { display: none; } .region-map-tools { justify-content: end; inset: 10px 10px auto; } .region-map-foot { flex-direction: column; font-size: 9px; } .region-table td, .region-table th { padding: 10px 12px; } }
