:root {
    --otium-navy: #17243a;
    --otium-blue: #2f67d8;
    --otium-bg: #f4f6fa;
    --otium-border: #e1e6ef;
    --otium-muted: #68758a;
}

body {
    background: var(--otium-bg);
    color: var(--otium-navy);
    min-height: 100vh;
}

.navbar-brand {
    color: var(--otium-navy);
    letter-spacing: -.02em;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, #2f67d8, #6b8fe8);
    border-radius: .7rem;
    color: #fff;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    margin-right: .35rem;
    width: 2rem;
}

.panel,
.metric-card {
    background: #fff;
    border: 1px solid var(--otium-border);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(30, 45, 75, .04);
}

.metric-card {
    height: 100%;
    padding: 1.25rem;
}

.metric-label {
    color: var(--otium-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-top: .35rem;
}

.status-dot {
    border-radius: 50%;
    display: inline-block;
    height: .62rem;
    margin-right: .4rem;
    width: .62rem;
}

.status-pill {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: .76rem;
    font-weight: 700;
    padding: .35rem .65rem;
    white-space: nowrap;
}

.status-ok {
    background: #e7f7ef;
    color: #147348;
}

.status-ok .status-dot { background: #20a86b; }

.status-warning {
    background: #fff4dc;
    color: #966411;
}

.status-warning .status-dot { background: #e7a52b; }

.status-error {
    background: #fdeaea;
    color: #a43a42;
}

.status-error .status-dot { background: #db4e59; }

.status-unknown {
    background: #edf0f5;
    color: #596578;
}

.status-unknown .status-dot { background: #8792a4; }

.table > :not(caption) > * > * {
    border-color: var(--otium-border);
    padding: .9rem .8rem;
    vertical-align: middle;
}

.table thead th {
    color: var(--otium-muted);
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.link-quiet {
    color: inherit;
    text-decoration: none;
}

.link-quiet:hover { color: var(--otium-blue); }

.check-card {
    border: 1px solid var(--otium-border);
    border-left-width: 4px;
    border-radius: .75rem;
    padding: 1rem;
}

.check-card.status-ok { border-left-color: #20a86b; }
.check-card.status-warning { border-left-color: #e7a52b; }
.check-card.status-error { border-left-color: #db4e59; }
.check-card.status-unknown { border-left-color: #8792a4; }

.login-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 74px);
}

.login-card {
    max-width: 430px;
    padding: 2rem;
    width: 100%;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .85em;
}
