:root {
    --navy: #002B49;
    --green: #10B981;
    --green-deep: #059669;
    --green-ink: #047857;
    --cyan: #00C8FF;
    --blue: #0088CE;
    --canvas: #F8FAFC;
    --surface: #FFFFFF;
    --ink: #0F172A;
    --body: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--canvas);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.heading-display {
    font-family: 'Montserrat', system-ui, sans-serif;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

body .font-accent,
body button {
    font-family: 'Poppins', system-ui, sans-serif;
}

.numeric {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.panel-priority {
    background: var(--surface);
    border: 1px solid #A7F3D0;
    box-shadow: 0 12px 32px -16px rgba(0, 43, 73, 0.28);
}

.eyebrow {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.field {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field::placeholder {
    color: #94A3B8;
}

.field:focus {
    outline: none;
    border-color: var(--green-deep);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.field[aria-invalid="true"] {
    border-color: #DC2626;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--green-deep);
    outline-offset: 2px;
    border-radius: 4px;
}

.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 9999px;
    background: #E2E8F0;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-deep);
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    cursor: pointer;
}

.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-deep);
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
    cursor: pointer;
}

.drop-enter-active,
.drop-leave-active {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.drop-enter-from,
.drop-leave-to {
    opacity: 0;
    transform: translateY(-6px);
}

main {
    animation: page-rise 0.35s ease-out both;
}

@keyframes page-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    main {
        animation: none;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #F8FAFC;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 6px;
    border: 2px solid #F8FAFC;
}

::-webkit-scrollbar-thumb:hover {
    background: #0088CE;
}
