:root { color-scheme: light; --ink: #18201d; --muted: #68736e; --line: #dfe6e2; --paper: #f5f7f5; --surface: #fff; --accent: #126e5a; --accent-dark: #0b5041; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; }
.app-shell { min-height: 100vh; }
.app-header { height: 68px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; gap: 34px; background: #14241f; color: #fff; }
.brand { font-weight: 750; font-size: 19px; text-decoration: none; letter-spacing: .03em; white-space: nowrap; }
.app-header nav { display: flex; align-items: center; gap: 8px; flex: 1; }
.app-header nav a, .link-button { padding: 9px 13px; color: #c7d2ce; background: transparent; border: 0; border-radius: 8px; text-decoration: none; cursor: pointer; }
.app-header nav a.active, .app-header nav a:hover, .link-button:hover { background: #243b34; color: #fff; }
.content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 80px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
.page-heading h1, .auth-card h1 { margin: 4px 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.page-heading p, .auth-card p { margin: 0; color: var(--muted); }
.eyebrow { color: var(--accent) !important; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.status-pill { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status-pill.ok { color: #0a5c48; background: #d8f2e9; }
.status-pill.warn { color: #85580a; background: #fff0c8; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .panel, .auth-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 35px rgba(26, 46, 39, .06); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card span, .card small, .form-stack small { color: var(--muted); }
.card strong { font-size: 24px; }
.panel.narrow, .auth-card { max-width: 560px; }
.auth-card { margin: 7vh auto 0; }
.form-stack { display: grid; gap: 18px; margin-top: 26px; }
.form-stack label { display: grid; gap: 8px; font-weight: 650; }
.form-stack input { width: 100%; min-height: 44px; padding: 9px 12px; color: var(--ink); background: #fff; border: 1px solid #cbd5d0; border-radius: 9px; outline: none; }
.form-stack input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18, 110, 90, .12); }
.primary-button { min-height: 45px; padding: 10px 18px; color: #fff; background: var(--accent); border: 0; border-radius: 9px; font-weight: 750; cursor: pointer; }
.primary-button:hover { background: var(--accent-dark); }
.alert-success, .alert-error { margin-top: 4px; padding: 12px 14px; border-radius: 9px; }
.alert-success { color: #075a45; background: #def4ec; }
.alert-error { color: #8d2929; background: #fde6e6; }
#blazor-error-ui { display: none; position: fixed; inset: auto 0 0; padding: 12px 20px; background: #fff0c8; }
#blazor-error-ui .dismiss { position: absolute; right: 16px; cursor: pointer; }
@media (max-width: 720px) { .app-header { height: auto; min-height: 68px; flex-wrap: wrap; gap: 8px 18px; padding: 14px 20px; } .app-header nav { order: 3; width: 100%; overflow-x: auto; } .content { padding-top: 34px; } .status-grid { grid-template-columns: 1fr; } .page-heading { flex-direction: column; } }
