:root {
    color-scheme: light;
    --bg: #f6f7f4;
    --panel: #ffffff;
    --ink: #1c2520;
    --muted: #66736d;
    --line: #dbe2dd;
    --accent: #1b7f63;
    --accent-dark: #11634c;
    --warn: #9d5b12;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: var(--accent-dark);
}

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

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.brand {
    font-weight: 750;
    font-size: 20px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
}

.auth {
    max-width: 440px;
    margin: 56px auto;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

p {
    color: var(--muted);
    margin: 0 0 18px;
}

label {
    display: block;
    font-weight: 650;
    margin: 14px 0 6px;
}

input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px;
    font: inherit;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 10px 16px;
    text-decoration: none;
    cursor: pointer;
}

.button.secondary {
    background: #e8eeea;
    color: var(--ink);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notice {
    border-left: 4px solid var(--warn);
    background: #fff8ec;
    padding: 12px 14px;
    color: #5b3b12;
    border-radius: 6px;
    margin-bottom: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.metric {
    font-size: 30px;
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

@media (max-width: 760px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    th,
    td {
        padding: 10px 8px;
    }
}
