:root {
    color-scheme: light;
    --bg: #f1f5f9;
    --ink: #020617;
    --muted: #64748b;
    --line: #e2e8f0;
    --panel: #ffffff;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --nav: #020617;
    --ok: #047857;
    --warn: #92400e;
    --error: #b91c1c;
}

* {
    box-sizing: border-box;
}

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

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

input,
button,
select,
textarea {
    font: inherit;
}

.hidden {
    display: none;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-40 {
    z-index: 40;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-7xl,
.max-w-4xl,
.max-w-3xl,
.max-w-md {
    width: min(100% - 2rem, 80rem);
    margin-inline: auto;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-inline: auto;
}

.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.px-4 { padding-inline: 1rem; }
.py-2 { padding-block: .5rem; }
.py-3 { padding-block: .75rem; }
.py-4 { padding-block: 1rem; }
.py-8 { padding-block: 2rem; }
.py-10 { padding-block: 2.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.p-3 { padding: .75rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.pt-6 { padding-top: 1.5rem; }

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.inline,
.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: end;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.place-items-center {
    place-items: center;
}

.content-center {
    align-content: center;
}

.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

.rounded {
    border-radius: .5rem;
}

.border,
.border-b {
    border: 1px solid var(--line);
}

.border-b {
    border-width: 0 0 1px;
}

.border-slate-800 {
    border-color: #1e293b;
}

.bg-slate-950 {
    background: var(--nav);
}

.bg-white {
    background: #fff;
}

.bg-slate-100 {
    background: var(--bg);
}

.text-white {
    color: #fff;
}

.text-slate-950 {
    color: var(--ink);
}

.text-slate-300 {
    color: #cbd5e1;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-700 {
    color: #334155;
}

.text-slate-900 {
    color: #0f172a;
}

.text-blue-300 {
    color: #93c5fd;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-sm {
    font-size: .875rem;
}

.text-xs {
    font-size: .75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 650;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

.tracking-wide {
    letter-spacing: .025em;
}

.leading-6 {
    line-height: 1.5rem;
}

.leading-7 {
    line-height: 1.75rem;
}

.leading-8 {
    line-height: 2rem;
}

.leading-tight {
    line-height: 1.1;
}

.w-full {
    width: 100%;
}

.h-9,
.w-9 {
    width: 2.25rem;
    height: 2.25rem;
}

.min-h-10 {
    min-height: 2.5rem;
}

.min-h-11 {
    min-height: 2.75rem;
}

.min-h-\[520px\] {
    min-height: 520px;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgb(15 23 42 / .08);
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: .5rem;
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 650;
    cursor: pointer;
}

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

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

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-ghost {
    border-color: #334155;
    background: transparent;
    color: #f8fafc;
}

.nav-link {
    border-radius: .5rem;
    padding: .5rem .75rem;
    color: #cbd5e1;
}

.nav-link:hover {
    background: #1e293b;
    color: #fff;
}

.panel,
.stat-card,
.camp-card {
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--panel);
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / .08);
}

.panel-title,
.section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 650;
}

.section-title {
    font-size: 1.5rem;
}

.panel-copy,
.section-copy {
    margin-top: .5rem;
    color: var(--muted);
    line-height: 1.75rem;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: .875rem;
}

.stat-card strong {
    display: block;
    margin-top: .5rem;
    font-size: 1.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: .375rem;
    background: #dbeafe;
    padding: .25rem .625rem;
    color: #1d4ed8;
    font-size: .75rem;
    font-weight: 650;
    text-transform: uppercase;
}

.badge-ok {
    background: #d1fae5;
    color: var(--ok);
}

.badge-warning {
    background: #fef3c7;
    color: var(--warn);
}

.badge-error {
    background: #fee2e2;
    color: var(--error);
}

.camp-card {
    display: block;
    transition: transform .15s ease, box-shadow .15s ease;
}

.camp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgb(15 23 42 / .1);
}

.camp-card h3 {
    margin: 1rem 0 0;
    font-size: 1.25rem;
}

.camp-card p {
    color: var(--muted);
    line-height: 1.5rem;
}

.camp-card dl,
.info-list {
    margin-top: 1.25rem;
}

.camp-card dt,
.info-list dt {
    color: var(--muted);
    font-size: .875rem;
}

.camp-card dd,
.info-list dd {
    margin: 0 0 .75rem;
    font-weight: 600;
}

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: .5rem;
    background: #f8fafc;
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

.module-grid {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.module-grid span,
.module-grid a {
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #f8fafc;
    padding: .625rem .75rem;
    color: #334155;
    font-size: .875rem;
    font-weight: 600;
}

.module-grid a:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.field {
    display: block;
    color: #334155;
    font-size: .875rem;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    margin-top: .5rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    background: #fff;
    padding: .5rem .75rem;
}

.field span {
    display: block;
    margin-top: .25rem;
    color: var(--error);
}

.divide-y > * + * {
    border-top: 1px solid var(--line);
}

.list-decimal {
    list-style: decimal;
}

.pl-5 {
    padding-left: 1.25rem;
}

.list-disc {
    list-style: disc;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    text-align: left;
    font-size: .875rem;
}

.data-table th {
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    padding: .75rem;
    color: #475569;
    font-weight: 650;
}

.data-table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem .75rem;
    vertical-align: top;
    color: #1e293b;
}

.data-table td span {
    display: block;
    margin-top: .25rem;
    color: #64748b;
    font-size: .75rem;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #f8fafc;
    padding: .75rem;
    color: #334155;
    font-size: .875rem;
}

.timeline {
    margin-top: 1rem;
}

.timeline > * + * {
    margin-top: .75rem;
}

.timeline article {
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #f8fafc;
    padding: .75rem;
    font-size: .875rem;
}

.timeline article span {
    display: block;
    margin-top: .25rem;
    color: #64748b;
    font-size: .75rem;
}

.timeline article p {
    margin: .5rem 0 0;
    color: #334155;
}

.decision-form {
    display: grid;
    min-width: 340px;
    gap: .5rem;
}

.decision-form select,
.decision-form input {
    min-height: 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    padding: .5rem .75rem;
    font-size: .875rem;
}

.decision-form label {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #475569;
    font-size: .75rem;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.participant-picker {
    display: grid;
    gap: .75rem;
}

.participant-option {
    display: flex;
    cursor: pointer;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #f8fafc;
    padding: .75rem;
    font-size: .875rem;
}

.participant-option input {
    margin-top: .25rem;
}

.participant-option strong,
.participant-option small,
.participant-option em {
    display: block;
}

.participant-option small {
    margin-top: .25rem;
    color: #64748b;
    font-size: .75rem;
}

.participant-option em {
    margin-top: .5rem;
    color: #b45309;
    font-size: .75rem;
    font-style: normal;
    font-weight: 650;
}

.participant-option.is-muted {
    cursor: not-allowed;
    opacity: .7;
}

.choice-grid {
    display: grid;
    gap: .5rem;
}

.choice-grid label {
    display: flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #f8fafc;
    padding: .5rem .75rem;
    color: #334155;
    font-size: .875rem;
}

.text-center {
    text-align: center;
}

.underline {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-inline: 1.5rem;
    }

    .sm\:inline {
        display: inline;
    }

    .sm\:text-6xl {
        font-size: 3.75rem;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-inline: 2rem;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-\[1fr_320px\] {
        grid-template-columns: 1fr 320px;
    }

    .lg\:grid-cols-\[1fr_360px\] {
        grid-template-columns: 1fr 360px;
    }

    .lg\:grid-cols-\[1\.1fr_\.9fr\] {
        grid-template-columns: 1.1fr .9fr;
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}
