:root {
    --bg: #f6f1e8;
    --surface: #fffdf8;
    --text: #1d1d1b;
    --muted: #6f6a63;
    --brand: #0d5c63;
    --brand-dark: #08363a;
    --accent: #d8893d;
    --line: rgba(29, 29, 27, 0.08);
}

body.app-shell {
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(216, 137, 61, 0.18), transparent 28%),
        linear-gradient(180deg, #fcfaf5 0%, var(--bg) 100%);
}

.hero-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(13, 92, 99, 0.15), transparent 30%),
        radial-gradient(circle at 80% 0%, rgba(216, 137, 61, 0.18), transparent 25%);
}

.dashboard-header {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #3a8c93 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 45px rgba(8, 54, 58, 0.18);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--accent);
}

.metric-card,
.subtle-panel {
    background: var(--surface);
    border: 1px solid var(--line);
}

.metric-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 0.4rem;
}

.subtle-panel {
    border-radius: 1rem;
    padding: 1rem;
}

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

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-logout {
    background: #c44536;
    border-color: #c44536;
    color: #fff;
}

.btn-logout:hover,
.btn-logout:focus {
    background: #9f3125;
    border-color: #9f3125;
    color: #fff;
}

.badge-role-owner {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.badge-role-client {
    background: rgba(216, 137, 61, 0.2);
    color: #fff;
}

.card,
.table,
.form-control,
.form-select,
.btn,
textarea {
    border-radius: 1rem !important;
}

.table > :not(caption) > * > * {
    border-bottom-color: var(--line);
}

.flash-stack {
    display: grid;
    gap: 0.75rem;
}

textarea.form-control {
    min-height: 140px;
}
