:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --ink: #1d2530;
    --muted: #667085;
    --line: #d9dee8;
    --primary: #1769aa;
    --primary-dark: #0f4775;
    --accent: #1f9d73;
    --warning: #b54708;
    --shadow: 0 18px 45px rgba(29, 37, 48, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-wrap,
.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
}

.brand,
.site-nav,
.hero-actions,
.table-toolbar,
.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: var(--primary);
    border-radius: 8px;
}

.site-nav a {
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 8px;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--primary-dark);
    background: #eaf3fb;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 8px;
    padding: 8px 11px;
    cursor: pointer;
}

.hero {
    padding: 76px 0 48px;
    background: linear-gradient(135deg, #eef7f2 0%, #f7f8fb 45%, #eaf3fb 100%);
}

.hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 4.1rem);
    line-height: 1.08;
}

h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.hero-text,
.page-title p {
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-panel,
.info-card,
.table-shell,
.contact-list,
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metric strong {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.metric span,
.muted {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.btn.primary,
.btn.table-btn {
    color: #fff;
    background: var(--primary);
}

.btn.primary:hover,
.btn.table-btn:hover {
    background: var(--primary-dark);
}

.btn.secondary {
    color: var(--primary-dark);
    border-color: #b8d9ef;
    background: #fff;
}

.section {
    padding: 46px 0;
}

.page-title {
    padding: 52px 0 30px;
    background: #eef7f2;
    border-bottom: 1px solid var(--line);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.info-card {
    padding: 20px;
}

.info-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.table-shell {
    overflow: hidden;
}

.table-toolbar {
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.table-toolbar h2 {
    margin: 0;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.search-field input {
    width: min(280px, 64vw);
}

.table-responsive {
    overflow-x: auto;
}

.download-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.download-table th,
.download-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.download-table th {
    color: #344054;
    background: #f8fafc;
    cursor: pointer;
    user-select: none;
}

.download-table th:last-child {
    cursor: default;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
}

.status.active {
    color: #067647;
    background: #dcfae6;
}

.status.inactive {
    color: var(--warning);
    background: #fef0c7;
}

.empty-state {
    text-align: center;
    color: var(--muted);
}

.pagination {
    justify-content: flex-end;
    padding: 16px 18px;
}

.pagination button {
    min-width: 38px;
    min-height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.pagination button.active {
    color: #fff;
    background: var(--primary);
}

.contact-grid {
    align-items: start;
}

.contact-list,
.contact-form {
    padding: 22px;
}

.contact-list {
    display: grid;
    gap: 18px;
}

.contact-list span,
.contact-form span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.contact-list strong {
    display: block;
    margin-top: 4px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.notice {
    padding: 12px 14px;
    color: #067647;
    background: #dcfae6;
    border: 1px solid #abefc6;
    border-radius: 8px;
}

.site-footer {
    margin-top: 28px;
    color: var(--muted);
    background: #101828;
}

.site-footer .footer-wrap {
    color: #d0d5dd;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .site-nav.open {
        display: flex;
    }

    .hero-grid,
    .contact-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 48px;
    }

    .footer-wrap {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .hero-actions,
    .table-toolbar,
    .search-field {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .search-field input {
        width: 100%;
    }
}


