﻿:root {
    --bg-1: #f4f1e6;
    --bg-2: #e2f0ea;
    --ink: #1d2b2a;
    --muted: #526260;
    --accent: #e07a5f;
    --accent-dark: #b85f49;
    --highlight: #f2c14e;
    --card: rgba(255, 255, 255, 0.8);
    --stroke: rgba(35, 45, 44, 0.12);
    --shadow: 0 20px 45px rgba(29, 43, 42, 0.15);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
    min-height: 100vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    filter: blur(0);
    opacity: 0.6;
    z-index: -1;
}

body::before {
    top: -120px;
    right: -90px;
    background: radial-gradient(circle at 30% 30%, #f2c14e, transparent 70%);
}

body::after {
    bottom: -120px;
    left: -90px;
    background: radial-gradient(circle at 70% 70%, #88bdbc, transparent 70%);
}

.page {
    padding: 48px 28px 32px;
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.site-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e07a5f, #f2c14e);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.72rem;
    margin: 0 0 6px;
    color: var(--muted);
}

h1 {
    font-family: "Fraunces", "Georgia", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0 0 6px;
}

.sub {
    margin: 0;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.5;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.meta-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--card);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.meta-label {
    margin: 0 0 6px;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.meta-value {
    margin: 0;
    font-weight: 600;
    font-size: 1.02rem;
}

.layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 24px;
    animation: fadeUp 0.5s ease both;
}

.panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--muted);
}

h2 {
    margin: 0;
    font-family: "Fraunces", "Georgia", serif;
    font-size: 1.6rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crumb-btn {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: var(--ink);
    cursor: pointer;
    transition: var(--transition);
}

.crumb-btn:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.options-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.option-btn {
    border: 1px solid var(--stroke);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
    animation: fadeUp 0.4s ease both;
    animation-delay: var(--delay, 0ms);
}

.option-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 10px 18px rgba(224, 122, 95, 0.18);
}

.option-btn.is-active {
    border-color: var(--accent);
    background: rgba(224, 122, 95, 0.1);
}

.option-title {
    font-weight: 600;
}

.option-sub {
    color: var(--muted);
    font-size: 0.85rem;
}

.panel-actions {
    display: flex;
    gap: 10px;
}

.ghost-btn {
    border: 1px solid var(--stroke);
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.ghost-btn:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.panel-note {
    margin: 0;
    color: var(--muted);
}

.table-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.table-head {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.table-sub {
    margin: 6px 0 0;
    color: var(--muted);
}

.stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

th,
td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

th {
    background: rgba(242, 193, 78, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--muted);
}

tr:last-child td {
    border-bottom: none;
}

.site-footer {
    color: var(--muted);
    font-size: 0.85rem;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    max-width: 320px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 16px;
}

.toast-title {
    margin: 0 0 6px;
    font-weight: 600;
}

.toast-body {
    margin: 0;
    color: var(--muted);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .page {
        padding: 32px 18px 24px;
    }

    .brand {
        grid-template-columns: 1fr;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    .panel-actions {
        flex-direction: column;
        align-items: stretch;
    }
}