* { box-sizing: border-box; }
:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; color: #142347; background: #eef2f8; --navy: #0c1940; --muted: #50617c; --line: #dce4ef; --accent: #165db4; }
[hidden] { display: none !important; }
body { margin: 0; }
.site-header { background: var(--navy); color: #f7faff; }
.header-inner, main { max-width: 1136px; margin: auto; padding-inline: 24px; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1rem; font-weight: 650; color: inherit; text-decoration: none; }
.brand img { border-radius: 9px; }
main { padding-block: clamp(32px, 7vw, 76px) 72px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
h1 { color: var(--navy); font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1.05; }
h2 { font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
p { color: var(--muted); line-height: 1.55; }
h1 + p, h2 + p, .detail p { margin-top: 11px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 27px; }
.dashboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 360px); gap: 20px; align-items: start; }
.inbox { display: grid; gap: 20px; }
.card { min-width: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 10px rgb(28 49 86 / 4%); }
.login { width: min(100%, 420px); margin: 2vh auto 0; padding: 32px; }
.form { display: grid; gap: 16px; margin-top: 22px; }
label { display: grid; gap: 8px; font-size: .875rem; font-weight: 650; }
input { font: inherit; font-size: 1rem; font-weight: 400; width: 100%; color: var(--navy); border: 1px solid #aab8ce; border-radius: 8px; padding: 11px 12px; background: #fff; }
button { font: inherit; font-size: .895rem; font-weight: 650; border: 1px solid transparent; border-radius: 8px; min-height: 44px; padding: 10px 14px; cursor: pointer; color: #fff; background: var(--navy); }
button:hover:not(:disabled) { background: #254071; }
button:disabled { color: #66768f; background: #edf2f8; cursor: not-allowed; }
.secondary { color: var(--navy); background: #fff; border-color: #b9c8dc; }
.secondary:hover:not(:disabled) { color: var(--navy); background: #e8eff8; }
.header-action { background: transparent; border-color: #6f83aa; }
:focus-visible { outline: 3px solid #3782d4; outline-offset: 3px; }
.status { padding: 12px 15px; margin-bottom: 22px; border-radius: 8px; background: #e0f1eb; color: #144c3e; }
.status.error { background: #fceaea; color: #812b2d; }
.list { padding: 0; margin: 0; list-style: none; }
.list li { padding-block: 13px; border-bottom: 1px solid var(--line); min-width: 0; }
.list li:last-child { border-bottom: 0; }
.list:has(li) { margin-top: 12px; }
.empty { padding: 17px 14px; margin-top: 16px; background: #f5f8fc; border-radius: 8px; }
.alert-link { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; color: var(--accent); font-weight: 650; text-decoration: none; }
.alert-link:hover { text-decoration: underline; }
.detail h3 { margin-top: 23px; font-size: 1rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row div { min-width: 0; overflow-wrap: anywhere; }
time, .quiet { font-size: .875rem; font-weight: 400; color: var(--muted); }
.row button { padding-inline: 11px; }
.test-button { width: 100%; margin-top: 18px; }
@media (max-width: 720px) { .dashboard { grid-template-columns: 1fr; } }
@media (max-width: 450px) { .header-inner, main { padding-inline: 16px; } .card { padding: 19px; } .header-inner { min-height: 62px; } .page-heading { align-items: start; } }
