* { box-sizing: border-box; }
body { margin: 0; background: #f7f9fc; color: #17243a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--brand-primary, #155aa3); overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #277bbf; outline-offset: 3px; }
.account-header { background: #fff; border-bottom: 1px solid #e1e7ef; padding: 1.25rem max(1rem, calc((100% - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.account-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; }
.account-header form { margin: 0; }
.account-main { max-width: 1120px; padding: 2.5rem 1rem 4rem; margin: auto; min-height: 65vh; }
h1 { font-size: clamp(1.75rem, 5vw, 2.4rem); line-height: 1.2; margin: .5rem 0 1.5rem; }
h2 { font-size: 1.15rem; line-height: 1.4; }
.card { background: #fff; border: 1px solid #e1e7ef; border-radius: 14px; padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: 0 3px 12px #152b4910; overflow-wrap: anywhere; }
.auth-card { max-width: 480px; margin: 1rem auto; }
.eyebrow { color: #46658c; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: #52637c; font-size: .9rem; }
label { display: block; font-weight: 650; margin: 1rem 0 .35rem; }
input, select { width: 100%; border: 1px solid #b7c5d6; border-radius: 7px; padding: .75rem; font: inherit; color: inherit; background: #fff; min-width: 0; }
button, .primary-button { display: inline-block; padding: .75rem 1.1rem; font: inherit; font-weight: 650; cursor: pointer; border: 0; border-radius: 7px; background: #155aa3; color: #fff; text-decoration: none; }
.auth-card button { width: 100%; margin-top: 1.25rem; }
.quiet-button { background: transparent; color: #155aa3; padding: .25rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.metric h2 { color: #52637c; font-size: .9rem; }
.metric strong { font-size: 2rem; }
.range-form { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.range-form label { margin: 0; }
.range-form select { width: auto; }
.error { border: 1px solid #e9a3a3; background: #fff0f0; color: #8b1c1c; padding: 1rem; border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .8rem; border-bottom: 1px solid #e1e7ef; vertical-align: top; }
td { min-width: 90px; max-width: 340px; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: center; gap: 1rem; }
.verbatim { white-space: pre-wrap; }
dt { font-weight: 700; } dd { margin: 0 0 1rem; }
@media (max-width: 700px) { .account-header { flex-direction: column; align-items: flex-start; } .account-header nav { gap: .75rem; font-size: .9rem; } .account-main { padding-top: 1.5rem; } .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card { padding: 1rem; } }

.notice { background: #edf5ff; color: #284c76; padding: 1rem; border: 1px solid #cddff5; border-radius: 8px; }
@media (max-width: 700px) {
  .table-wrap { overflow: visible; }
  table, tbody, tr { display: block; }
  thead { display: none; }
  td { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .75rem; min-width: 0; max-width: none; padding: .65rem 0; }
  td::before { content: attr(data-label); font-weight: 700; }
  tr + tr { margin-top: 1.5rem; }
}
