body.regions-page { background: #f9fafb; color: #111827; }
.regions-page .site-header, .regions-page footer { background: #f9fafb; border-color: #e5e7eb; }
.regions-page .site-header { padding: 0 40px; }
.regions-page footer a { color: #111827; }
.regions-main { max-width: 1380px; margin: 0 auto; padding: 40px; }
.regions-controls { margin: 0 0 24px; }
.regions-controls h1 { font-size: 36px; line-height: 1; letter-spacing: -0.04em; margin: 0 0 12px; }
.regions-lede { color: #6b7280; font-size: 15px; margin: 0 0 24px; }
.regions-filters { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.regions-search-wrap { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 12px; }
.regions-search-wrap span { font: 11px 'IBM Plex Mono', monospace; color: #6b7280; }
.regions-search-wrap input, .regions-search-wrap select { width: 200px; padding: 10px 0; border: 0; outline: 0; background: transparent; color: #111827; font: 13px 'IBM Plex Sans', sans-serif; }
.regions-legend { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.geo-note { margin-top: 20px; max-width: 760px; color: #4b5563; font-size: 13px; }
.geo-note summary { width: fit-content; cursor: pointer; color: #374151; font-weight: 600; }
.geo-note p { margin: 10px 0; line-height: 1.5; }
.geo-note table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 12px; }
.geo-note th, .geo-note td { padding: 6px 8px; border: 1px solid #e5e7eb; text-align: left; }
.geo-note th { background: #f3f4f6; color: #6b7280; font: 600 10px 'IBM Plex Mono', monospace; text-transform: uppercase; }
.geo-note code { font: 11px 'IBM Plex Mono', monospace; color: #1e40af; }
.geo-note a { color: #2563eb; font-size: 12px; }
.legend-item { display: flex; align-items: center; gap: 6px; font: 11px 'IBM Plex Mono', monospace; color: #6b7280; }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.legend-dot.global { background: #16a34a; }
.legend-dot.geo { background: #2563eb; }
.legend-dot.in-region { background: #f59e0b; }
.regions-results { max-width: 100%; }
#region-count { margin: 0 0 12px; color: #6b7280; font: 12px 'IBM Plex Mono', monospace; }
.regions-grid-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,39,.04); }
.regions-table { border-collapse: collapse; font-size: 12px; min-width: 100%; }
.regions-table th, .regions-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid #f3f4f6; white-space: nowrap; }
.regions-table thead th { background: #f9fafb; color: #6b7280; font: 600 9px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.02em; border-bottom: 2px solid #e5e7eb; }
.regions-table thead th.delivery-group, .regions-table thead th.in-region-group { height: 30px; background: #f3f4f6; color: #4b5563; text-align: left; padding-left: 12px; }
.regions-table thead th.delivery-header { min-width: 52px; }
.regions-table thead th.region-header { min-width: 96px; padding: 10px 8px; vertical-align: middle; font-size: 10px; letter-spacing: 0; text-align: center; text-transform: none; writing-mode: horizontal-tb; }
.regions-table thead th.model-header { position: sticky; left: 0; z-index: 3; text-align: left; min-width: 180px; writing-mode: horizontal-tb; height: auto; }
.regions-table th.region-group-start, .regions-table td.region-group-start { border-left: 2px solid #d1d5db; }
.regions-table tbody th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 600; font-size: 12px; padding: 10px 12px; border-right: 1px solid #e5e7eb; min-width: 180px; }
.regions-table tbody tr:hover th { background: #eff6ff; }
.regions-table tbody tr:hover td { background: #eff6ff; }
.regions-table tbody tr:nth-child(even) th { background: #fafafa; }
.regions-table tbody tr:nth-child(even):hover th { background: #eff6ff; }
.regions-table th.model-cell { padding: 0; }
.regions-table th.model-cell a { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 12px; color: #2563eb; text-decoration: none; }
.regions-table th.model-cell a:hover span:last-child { text-decoration: underline; }
.region-provider-logo { width: 20px; height: 20px; flex: none; object-fit: contain; }
.region-provider-name { color: #6b7280; font: 10px 'IBM Plex Mono', monospace; }
.regions-table td { min-width: 36px; }
.regions-table td.delivery-cell { min-width: 52px; background: #fafafa; }
.regions-table td.geo-cell { min-width: 92px; }
.regions-table td a { color: #2563eb; text-decoration: none; }
.regions-table td a:hover { text-decoration: underline; }
.cell-global { background: #dcfce7; color: #166534; font: 600 9px 'IBM Plex Mono', monospace; border-radius: 3px; padding: 2px 4px; }
.cell-geo { background: #dbeafe; color: #1e40af; font: 600 9px 'IBM Plex Mono', monospace; border-radius: 3px; padding: 2px 4px; }
.cell-in-region { background: #fef3c7; color: #92400e; font: 600 9px 'IBM Plex Mono', monospace; border-radius: 3px; padding: 2px 4px; }
.cell-none { color: #e5e7eb; font-size: 10px; }
.regions-empty { padding: 40px; text-align: center; color: #6b7280; font: 13px 'IBM Plex Sans', sans-serif; }
@media (max-width: 720px) {
  .regions-page .site-header { padding: 0 20px; }
  .regions-main { padding: 24px 20px; }
  .regions-controls h1 { font-size: 28px; }
  .regions-filters { flex-direction: column; align-items: stretch; }
  .regions-legend { margin-left: 0; margin-top: 8px; }
  .geo-note { font-size: 12px; }
}
