@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root { --ink: #142530; --subtle: #526571; --line: #dce5e8; --accent: #096658; --wash: #e1f3ed; }
body { background: #f2f6f7; color: var(--ink); font-family: Inter, system-ui, sans-serif; }
.site-header { background: #132832; padding: 15px max(22px, calc((100vw - 1220px) / 2)); }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 17px; }
.brand strong span { font-weight: 500; color: #c3d9df; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #15382f; background: #a1edcf; font-weight: 800; }
main { max-width: 1264px; margin: 30px auto; padding: 0 22px; }
.panel-title { justify-content: space-between; align-items: center; padding: 23px 25px; border-radius: 17px; background: linear-gradient(120deg, #123c3d, #182d3b); color: #fff; }
.panel-title h2 { font-size: clamp(24px, 4vw, 36px); margin: 4px 0 0; letter-spacing: -.045em; }
.panel-label { margin: 0; color: #b9e5d7; font-size: 13px; font-weight: 600; }
.panel-title button { background: #244752; border-color: #63818a; color: white; }
#biz { gap: 8px; padding: 15px 0; }
#biz button { font-size: 13px; font-weight: 600; }
#biz button.active { background: var(--wash); border-color: #a1cdbf; color: #075346; }
.stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 16px 14px; border-color: var(--line); min-width: 0; }
#stats .stat { box-shadow: 0 3px 10px #15323b08; border-top: 3px solid #80bbad; }
#stats .stat:nth-child(3), #stats .stat:nth-child(6) { border-top-color: #b49459; }
.stat strong { font-size: clamp(19px, 2.1vw, 29px); overflow-wrap: anywhere; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.muted { color: var(--subtle); }
.metric-note { background: transparent; color: var(--subtle); font-size: 13px; padding: 9px 2px; }
.metric-note summary { cursor: pointer; width: fit-content; font-weight: 600; }
.metric-note[open] summary { margin-bottom: 8px; }
#tabs { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 6px; gap: 4px; }
#tabs button { border-color: transparent; font-size: 13px; font-weight: 600; }
#tabs button.active { color: #075346; background: var(--wash); }
.box { border-color: var(--line); border-radius: 15px; padding: 23px; box-shadow: 0 4px 12px #15323b08; }
.box > h3:first-child { margin-top: 0; }
.form { gap: 13px; }
.form label { font-weight: 600; }
input, select, textarea { border-color: #bacbd1; background: #fcfefe; color: var(--ink); }
button { color: var(--ink); border-color: #cbd9de; }
button.primary, button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px currentColor; }
:focus-visible { outline: 3px solid #368977; outline-offset: 3px; }
th { background: #edf4f5; color: #344d56; }
#auth, #passwordSetup { max-width: 530px; margin: 42px auto; }
#auth .form, #passwordSetup .form { grid-template-columns: 1fr; }
#recoverAccess { margin-top: 12px; }
@media (max-width: 980px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  main { margin: 16px auto; padding: 0 12px; }
  .panel-title, .box { padding: 15px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #tabs { flex-wrap: nowrap; overflow-x: auto; }
  #tabs button { flex: 0 0 auto; }
}
.access-row { padding: 10px 0; border-bottom: 1px solid var(--line); } .access-row strong { margin-right: auto; }
