/* ========================================
   STATUS — widok / status (tabela 31 krajów)
   ======================================== */

.status-hero {
    max-width: 1480px;
    margin: 0 auto;
    padding: 56px 32px 32px;
    border-bottom: 1px solid var(--rule);
}

.status-hero .hero__eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.status-hero .hero__eyebrow::before {
    content: ''; width: 24px; height: 1px; background: var(--ink); display: block;
}

.status-hero .hero__title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: var(--ink);
}
.status-hero .hero__title em {
    font-style: normal;
    font-weight: 300;
    color: var(--muted);
}

.status-hero .hero__sub {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
}

/* Tabela */

.status-table-wrap {
    max-width: 1480px;
    margin: 0 auto;
    padding: 24px 32px 8px;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--ink);
}

.status-table thead th {
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper-2);
}

.status-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
}

.status-row:hover td {
    background: var(--paper-2);
}

.status-cell--country {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.status-cell--country .fi {
    width: 22px;
    height: 16px;
    flex: 0 0 auto;
    border-radius: 2px;
}
.status-cell--country a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.status-cell--country a:hover {
    border-bottom-color: var(--ink);
}

.status-iso {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.05em;
}

.status-cell--time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-2);
    white-space: nowrap;
}

.status-cell--ok {
    color: var(--emerald);
}
.status-cell--ok::before {
    content: '✓ ';
    font-weight: 600;
}

.status-cell--stale {
    color: var(--amber);
}
.status-cell--stale::before {
    content: '⚠ ';
}

.status-cell--missing {
    color: var(--rose);
    font-style: italic;
}

.status-cell--num {
    text-align: left;
}

.status-cell--xml a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1px dotted var(--rule);
    max-width: 280px;
}
.status-cell--xml a:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}
.status-xml__host {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Re-użyte z atlas.css — status.css ładuje się sam, więc duplikujemy. */
.country__tsl {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.country__tsl--v6 { background: rgba(5,150,105,0.10);  color: var(--emerald); }
.country__tsl--v5 { background: rgba(217,119,6,0.10);  color: var(--amber); }

/* Legenda kolorów */

.status-legend {
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 32px 56px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 12px;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
}

.status-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-legend__swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}
.status-legend__swatch--ok      { background: var(--emerald); }
.status-legend__swatch--neutral { background: var(--muted-2); }
.status-legend__swatch--stale   { background: var(--amber); }
.status-legend__swatch--missing { background: var(--rose); }
