:root {
    --brand: #0f766e;
    --brand-dark: #0b4f49;
    --brand-soft: #e7f4ef;
    --ink: #17231f;
    --muted: #65736e;
    --line: rgba(23, 35, 31, 0.1);
    --cream: #faf7ef;
    --paper: #ffffff;
    --gold: #d99a2b;
    --danger: #b42318;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 45px rgba(15, 118, 110, 0.13);
    --shadow-card: 0 10px 24px rgba(23, 35, 31, 0.08);
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    background:
        radial-gradient(circle at top left, rgba(217, 154, 43, 0.18), transparent 28rem),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 30rem),
        linear-gradient(180deg, #fbf7ed 0%, #eef6f2 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
    border: 1px solid rgba(23, 35, 31, 0.08);
    overflow: hidden;
}

.app-header {
    box-shadow: 0 1px 0 rgba(23, 35, 31, 0.06);
}

.brand-mark {
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}

.brand-title {
    letter-spacing: -0.02em;
}

.app-main {
    background:
        linear-gradient(180deg, rgba(250, 247, 239, 0.52), rgba(255, 255, 255, 0) 260px),
        var(--paper);
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 8%, rgba(217, 154, 43, 0.85), transparent 7rem),
        linear-gradient(142deg, #0f766e 0%, #0b4f49 46%, #17231f 100%);
    box-shadow: var(--shadow-soft);
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 190px;
    height: 190px;
    border: 32px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.eyebrow {
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
}

.panel-muted {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #fbf7ed, #eef7f4);
    border: 1px solid rgba(15, 118, 110, 0.09);
}

.metric-card {
    border-radius: 22px;
    box-shadow: var(--shadow-card);
}

label span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    border-radius: 18px !important;
    border-color: rgba(23, 35, 31, 0.14) !important;
    background-color: #fff !important;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

button,
.btn-primary {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

button:active,
.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary {
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
    color: #fff;
    font-weight: 900;
}

.nav-chip {
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 8px 18px rgba(23, 35, 31, 0.06);
}

.nav-chip:hover,
.nav-chip-active {
    background: var(--brand);
    color: #fff;
}

.card-list > * {
    border-color: var(--line) !important;
    box-shadow: var(--shadow-card);
}

.staff-hero {
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(217, 154, 43, 0.7), transparent 7rem),
        linear-gradient(135deg, #17231f, #0b4f49);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .app-shell {
        min-height: calc(100vh - 40px);
    }

    .staff-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}
