:root { color-scheme: light; font-family: Manrope, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: #172331; background: #f4f8fb; line-height: 1.5; }
a { color: #0f5fa8; text-decoration: none; }
.wrap { width: min(980px, calc(100% - 36px)); margin-inline: auto; }
.topbar { background: #fff; border-bottom: 1px solid #dfe6ec; }
.topbar-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; color: #071a2b; }
.brand span { margin-left: 8px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
h2 { font-size: 1.25rem; }
.eyebrow { color: #0f5fa8; font-weight: 800; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.login-card, .panel, .metric { background: #fff; border: 1px solid #dfe6ec; border-radius: 18px; box-shadow: 0 12px 30px rgba(7,26,43,.06); }
.login-card { max-width: 440px; margin: 64px auto; padding: 34px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 48px 0 28px; }
.page-heading p:last-child { color: #5f6b78; margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 24px; }
.metric { padding: 23px; }
.metric span { display: block; color: #5f6b78; font-size: .88rem; }
.metric strong { display: block; font-size: 2rem; color: #071a2b; margin-top: 4px; }
.panel { padding: 28px; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 4px; border-bottom: 1px solid #e8edf1; text-align: left; }
th:last-child, td:last-child { text-align: right; }
th { color: #5f6b78; font-size: .82rem; }
.hint { color: #5f6b78; font-size: .82rem; margin: 20px 0 0; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 5px; font-weight: 700; font-size: .9rem; }
input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #bdcbd6; border-radius: 9px; font: inherit; }
input:focus { outline: 2px solid #0f5fa8; outline-offset: 1px; }
button { min-height: 44px; padding: 9px 18px; border: 0; border-radius: 9px; color: #fff; background: #0f5fa8; font: inherit; font-weight: 800; cursor: pointer; }
button.secondary { background: #e7eff5; color: #071a2b; }
.message { padding: 12px 15px; border-radius: 9px; }
.error { background: #fff0ef; color: #88231a; }
.success { background: #e9f7ef; color: #14532d; }
.password-panel form { max-width: 440px; }
@media (max-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } .page-heading { align-items: flex-start; } }
@media (max-width: 470px) { .cards { grid-template-columns: 1fr 1fr; } .login-card { padding: 24px; } .page-heading { display: block; } .page-heading form { margin-top: 18px; } }
