:root {
    --color-ink: #111827;
    --color-muted: #64748b;
    --color-brand: #1d4ed8;
    --color-brand-dark: #1e40af;
    --color-success: #15803d;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

body {
    margin: 0;
    background: #f8fafc;
    color: var(--color-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-shell {
    min-height: 100vh;
    background: #f8fafc;
}

.page-panel,
.metric-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.metric-card {
    padding: 1.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-brand);
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    transition: background-color 150ms ease;
}

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

.btn-primary:focus {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 0.5rem 1rem;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    transition: background-color 150ms ease;
}

.btn-secondary:hover {
    background: #f8fafc;
}

.nav-link {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: #475569;
}

.nav-link:hover {
    color: var(--color-brand);
}

.form-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: #334155;
}

.form-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 0.625rem 0.75rem;
    color: #0f172a;
}

.form-input:focus {
    border-color: var(--color-brand);
    outline: 2px solid rgba(37, 99, 235, 0.18);
    outline-offset: 0;
}
