:root {
    color-scheme: light;
    --bg: #f3efe7;
    --panel: rgba(255, 255, 255, 0.9);
    --panel-border: rgba(31, 41, 55, 0.08);
    --text: #122033;
    --muted: #5f6b7a;
    --accent: #0f766e;
    --accent-2: #d97706;
    --shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 30%),
        radial-gradient(circle at right 10%, rgba(217, 119, 6, 0.16), transparent 28%),
        linear-gradient(180deg, #fbf8f2 0%, #efe8db 100%);
    color: var(--text);
    min-height: 100vh;
}

.shell {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 48px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.subtitle {
    margin: 12px 0 0;
    color: var(--muted);
    max-width: 56ch;
}

.status-card,
.table-card,
.alert {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.status-card {
    min-width: 200px;
    border-radius: 24px;
    padding: 20px 24px;
    text-align: center;
}

.status-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.status-card strong {
    font-size: 2.2rem;
    color: var(--accent);
}

.alert {
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 18px;
    color: #7c2d12;
}

.table-card {
    border-radius: 28px;
    overflow: hidden;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

th,
td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    white-space: nowrap;
}

th {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #113b4f 0%, #0b2736 100%);
    color: #fff;
    font-size: 14px;
    z-index: 1;
}

tbody tr:nth-child(even) {
    background: rgba(15, 118, 110, 0.04);
}

tbody tr:hover {
    background: rgba(217, 119, 6, 0.08);
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 32px 16px;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .status-card {
        min-width: 0;
    }
}
