:root {
    color-scheme: light;
    --ink: #142033;
    --muted: #4b5a70;
    --line: #d7deea;
    --bg: #f6f8fb;
    --card: #ffffff;
    --accent: #0b5cab;
}

html, body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: var(--accent);
}

.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header, .site-footer, main {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.brand {
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.site-header nav {
    display: flex;
    gap: 1rem;
}

.page {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.5rem 1.6rem 1.8rem;
}

.lead, .crumb, .site-footer {
    color: var(--muted);
}

.tld-list {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.tld-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.tld-list a {
    font-weight: 600;
    text-decoration: none;
}

.empty {
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 1.2rem;
    background: #fbfcfe;
}

.table-wrap {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    text-align: left;
    padding: 0.65rem 0.55rem;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.price-table th {
    font-size: 0.9rem;
    color: var(--muted);
}

.price-table .is-sort {
    font-weight: 600;
}

.horizon {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.horizon a.is-current {
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.site-footer {
    margin-top: auto;
    padding: 1.5rem 0 2rem;
    font-size: 0.92rem;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

h1:focus {
    outline: none;
}
