:root {
  color-scheme: light;
  --forest: #183b2c;
  --forest-2: #244d39;
  --moss: #527b5a;
  --lime: #c5e65a;
  --paper: #f3f6f1;
  --panel: #ffffff;
  --ink: #202b24;
  --muted: #758078;
  --line: #e5ebe4;
  --soft: #f8faf7;
  --amber: #a56823;
  --red: #a74943;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column; padding: 25px 16px 18px; background: var(--forest); color: white; z-index: 20; }
.brand { display: flex; gap: 12px; align-items: center; padding: 2px 12px 32px; color: white; text-decoration: none; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 600; letter-spacing: -.5px; }
.brand small { display: block; margin-top: 3px; color: #aab9ae; font-size: 10px; letter-spacing: 1.25px; }
.brand-mark { width: 34px; height: 34px; position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; transform: rotate(-26deg); }
.brand-mark i { display: block; width: 7px; border-radius: 100% 0 100% 0; background: #91b847; transform: skewY(-20deg); }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(3) { height: 22px; opacity: .82; }
.brand-mark i:nth-child(2) { height: 30px; background: var(--lime); }
.sidebar-label { padding: 0 12px 11px; color: #9eb0a3; font-size: 11px; text-transform: uppercase; letter-spacing: 1.25px; }
.main-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 10px; padding: 11px 12px; color: #d8e1da; background: transparent; text-align: left; font-size: 14px; transition: background .16s, color .16s; }
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { color: var(--forest); background: var(--lime); font-weight: 700; }
.nav-icon { width: 20px; color: #b4c7b7; text-align: center; font-size: 18px; line-height: 1; }
.nav-item.active .nav-icon { color: var(--forest); }
.nav-count { margin-left: auto; color: #bdcbbf; font-size: 12px; }
.nav-item.active .nav-count { color: var(--forest); }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 5px 18px; padding: 13px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.04); }
.note-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(197,230,90,.13); }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { font-size: 12px; }
.sidebar-note small { margin-top: 3px; color: #aab9ae; font-size: 11px; }
.sidebar-foot { padding: 0 12px; color: #91a397; font-size: 11px; }
.signout-button { margin: 0 8px 15px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: transparent; color: #eaf0e9; font-size: 12px; }
.main-area { min-height: 100vh; margin-left: 250px; }
.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #87918a; font-size: 13px; }
.breadcrumb b { color: #c0c9c1; font-weight: 400; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.snapshot-pill { display: inline-flex; align-items: center; gap: 7px; color: #5f6e63; font-size: 12px; }
.snapshot-pill i { width: 7px; height: 7px; border-radius: 50%; background: #80ac53; }
.avatar { width: 34px; height: 34px; border: 1px solid #dfe6df; border-radius: 50%; background: #eaf0e8; color: var(--forest); font-weight: 700; }
.mobile-menu { display: none; border: 0; background: transparent; color: var(--forest); font-size: 20px; }
.content { max-width: 1480px; padding: 34px 36px 52px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { margin-bottom: 8px; color: var(--moss); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 39px); line-height: 1.1; letter-spacing: -.8px; font-weight: 500; color: #1d3025; }
.page-head p { max-width: 730px; margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.snapshot-label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dce8d8; border-radius: 999px; padding: 8px 12px; background: #f7fbf4; color: #4b694c; font-size: 12px; white-space: nowrap; }
.snapshot-label b { font-size: 11px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 21px 0; }
.kpi-card, .panel { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 3px 12px rgba(29,58,41,.025); }
.kpi-card { min-height: 132px; padding: 18px 19px; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.kpi-badge { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #edf5e6; color: var(--forest); font-size: 16px; }
.kpi-value { margin-top: 11px; color: #1d3025; font-size: 30px; letter-spacing: -1px; font-weight: 650; }
.kpi-note { margin-top: 3px; color: #87918a; font-size: 11px; }
.grid-two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); gap: 16px; margin-bottom: 16px; }
.grid-even { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.panel { padding: 19px 20px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 17px; }
.panel-title { margin: 0; color: #2c3b30; font-size: 15px; font-weight: 650; }
.panel-subtitle { margin: 5px 0 0; color: #8a948d; font-size: 12px; line-height: 1.4; }
.subtle-link { border: 0; padding: 4px 0; background: transparent; color: #527c58; font-size: 12px; font-weight: 650; }
.chart-wrap { min-height: 210px; display: flex; align-items: end; gap: 8px; padding: 8px 3px 0; }
.bar-item { flex: 1; min-width: 12px; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; height: 188px; }
.bar-value { color: #758078; font-size: 10px; }
.bar { width: min(42px, 76%); min-height: 3px; border-radius: 6px 6px 2px 2px; background: #76a167; transition: height .25s; position: relative; }
.bar:hover { background: var(--forest); }
.bar-label { color: #87918a; font-size: 10px; white-space: nowrap; }
.division-list { display: grid; gap: 16px; padding-top: 3px; }
.division-row { display: grid; grid-template-columns: 100px 1fr 36px; gap: 12px; align-items: center; font-size: 12px; }
.division-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #526056; }
.division-track { height: 8px; border-radius: 8px; background: #eff3ed; overflow: hidden; }
.division-fill { height: 100%; border-radius: inherit; background: #70a060; }
.division-value { text-align: right; color: #718076; }
.score-bars { height: 170px; display: flex; align-items: end; gap: 5px; padding-top: 8px; }
.score-col { flex: 1; min-width: 12px; display: flex; flex-direction: column; justify-content: end; align-items: center; height: 100%; gap: 6px; }
.score-col b { width: min(28px, 78%); min-height: 3px; background: #96b87d; border-radius: 4px 4px 1px 1px; }
.score-col span { color: #89938b; font-size: 10px; }
.score-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.score-chip { padding: 5px 8px; border: 1px solid #e6ece4; border-radius: 7px; background: var(--soft); color: #67746a; font-size: 11px; }
.callout { border: 1px solid #e5ebd8; border-radius: 12px; padding: 13px 15px; background: #f9fbf1; color: #6d765f; font-size: 12px; line-height: 1.5; }
.callout strong { color: #455338; }
.table-panel { overflow: hidden; padding: 0; }
.table-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table-toolbar .search-wrap { flex: 1 1 220px; }
.search-wrap { position: relative; }
.search-wrap::before { content: "⌕"; position: absolute; left: 12px; top: 7px; color: #8d988f; font-size: 20px; pointer-events: none; }
.search-input, .filter-select, .text-input { height: 40px; border: 1px solid #dfe6df; border-radius: 9px; outline: none; background: #fff; color: var(--ink); }
.search-input { width: 100%; padding: 0 12px 0 37px; }
.filter-select { min-width: 140px; padding: 0 31px 0 11px; color: #617064; font-size: 12px; }
.search-input:focus, .filter-select:focus, .text-input:focus { border-color: #80a76e; box-shadow: 0 0 0 3px rgba(128,167,110,.13); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th { padding: 11px 15px; background: #fafcf9; color: #879189; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 13px 15px; border-top: 1px solid #edf1ed; color: #556258; font-size: 12px; white-space: nowrap; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #f8faf7; }
.member-name { color: #26382b; font-weight: 650; }
.member-id { display: block; margin-top: 4px; color: #929c94; font-size: 10px; letter-spacing: .6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 8px; background: #eff5eb; color: #547450; font-size: 10px; font-weight: 650; }
.pill.inactive { background: #f2f3f1; color: #778079; }
.pill.provisional { background: #fff5e8; color: #a06d2c; }
.pill.attended { background: #edf5e8; color: #4d7746; }
.pill.no-show { background: #f7efea; color: #936147; }
.score-value { color: #26382b; font-weight: 650; }
.empty-row { padding: 30px 15px; text-align: center; color: #839087; }
.event-list { display: grid; gap: 10px; }
.event-card { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 14px; align-items: center; border: 1px solid #e8ede7; border-radius: 10px; padding: 12px; color: inherit; text-decoration: none; cursor: pointer; }
.event-card:hover { border-color: #cddcc7; background: #fbfcfa; }
.event-date { border-right: 1px solid #e9eee8; padding-right: 12px; color: #607662; }
.event-date b { display: block; font-size: 19px; line-height: 1.1; }
.event-date small { display: block; margin-top: 4px; color: #97a098; font-size: 10px; text-transform: uppercase; }
.event-title { color: #2b3e30; font-size: 13px; font-weight: 650; }
.event-meta { margin-top: 5px; color: #87918a; font-size: 11px; }
.event-count { text-align: right; color: #55715a; font-size: 12px; }
.event-count b { display: block; font-size: 17px; }
.empty-state { padding: 35px 20px; color: #7b887e; text-align: center; }
.empty-state h2 { margin: 0 0 8px; color: #344739; font-family: Georgia,serif; font-size: 22px; font-weight: 500; }
.empty-state p { max-width: 550px; margin: 0 auto; font-size: 13px; line-height: 1.55; }
.setup-box, .login-box { max-width: 520px; margin: 10vh auto; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 14px 44px rgba(34,60,43,.06); }
.setup-box h1, .login-box h1 { margin-bottom: 10px; font-size: 30px; }
.setup-box p, .login-box p { color: var(--muted); line-height: 1.55; font-size: 14px; }
.login-form { display: grid; gap: 12px; margin-top: 21px; }
.text-input { width: 100%; padding: 0 12px; }
.primary-button, .secondary-button { border-radius: 9px; padding: 10px 15px; font-size: 13px; font-weight: 650; }
.primary-button { border: 1px solid var(--forest); background: var(--forest); color: #fff; }
.primary-button:hover { background: var(--forest-2); }
.secondary-button { border: 1px solid #dfe6df; background: #fff; color: #4f6654; }
.login-message { min-height: 18px; color: var(--red); font-size: 12px; }
.profile-top { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 18px; }
.profile-initial { width: 56px; height: 56px; display: grid; flex: 0 0 56px; place-items: center; border-radius: 16px; background: #e5eedc; color: #426240; font-family: Georgia, serif; font-size: 22px; }
.profile-heading { flex: 1; min-width: 0; }
.profile-heading h1 { font-size: 33px; }
.profile-heading p { margin: 7px 0 0; color: #7f8c82; font-size: 12px; }
.back-button { border: 1px solid #e0e7df; border-radius: 8px; padding: 8px 12px; background: white; color: #536659; font-size: 12px; }
.profile-kpis { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }
.mini-stat { border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: white; }
.mini-stat span { display: block; color: #859087; font-size: 10px; }
.mini-stat b { display: block; margin-top: 6px; color: #2a3c30; font-size: 19px; }
.mini-stat small { display: block; margin-top: 3px; color: #96a098; font-size: 10px; }
.trend-chart { width: 100%; height: 230px; }
.filter-title { margin: 6px 0 8px; color: #88928a; font-size: 11px; text-transform: uppercase; letter-spacing: .7px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.event-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.event-detail-meta .score-chip { font-size: 12px; }
.group-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.group-tab { border: 1px solid #e0e7df; border-radius: 7px; padding: 6px 9px; background: white; color: #718075; font-size: 11px; }
.group-tab.active { border-color: #c8d9c0; background: #f1f7ec; color: #456443; }
.card-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.card-item { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid #e5ebe4; border-radius: 11px; padding: 13px; background: #fff; text-align: left; }
.card-item:hover, .card-item.selected { border-color: #b9d0ae; background: #fbfdf9; }
.card-symbol { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border-radius: 10px; background: #edf4e7; color: #567c4e; }
.card-item strong, .card-item small { display: block; }
.card-item strong { color: #324536; font-size: 12px; }
.card-item small { margin-top: 4px; color: #8d978f; font-size: 10px; }
.card-arrow { margin-left: auto; color: #8b988d; font-size: 18px; }
.round-block { margin-bottom: 16px; overflow: hidden; border: 1px solid #e4ebe2; border-radius: 11px; background: #fff; }
.round-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #edf1ec; background: #fafcf9; }
.round-head strong { color: #3b5140; font-size: 13px; }
.round-head span { color: #87928a; font-size: 11px; }
.arrow-grid { min-width: 700px; }
.arrow-cell { width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.arrow-cell.x { color: #b27a2e; font-weight: 700; }
.arrow-cell.m { color: #a5aba6; }
.milestone-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.milestone-card { border: 1px solid #e5ebe4; border-radius: 11px; padding: 14px; background: #fff; }
.milestone-card h3 { margin: 9px 0 6px; color: #334638; font-size: 13px; }
.milestone-card p { margin: 0; color: #818d83; font-size: 11px; line-height: 1.45; }
.milestone-top { display: flex; align-items: center; justify-content: space-between; }
.milestone-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #f0f5e9; color: #67834d; }
.progress-track { height: 6px; margin-top: 11px; border-radius: 6px; background: #f0f3ed; overflow: hidden; }
.progress-fill { height: 100%; border-radius: inherit; background: #82a86f; }
.coverage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 15px 0; }
.coverage-stat { padding: 13px; border: 1px solid #e7ede6; border-radius: 10px; background: #fbfcfa; }
.coverage-stat b { display: block; color: #2a3b2f; font-size: 19px; }
.coverage-stat span { display: block; margin-top: 3px; color: #828d84; font-size: 11px; }
.quality-issue { color: #9f6833; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; opacity: 0; transform: translateY(8px); transition: opacity .15s,transform .15s; border-radius: 9px; padding: 11px 14px; background: #243f2e; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); font-size: 12px; pointer-events: none; }
.toast.visible { opacity: 1; transform: translateY(0); }
.loading-state { padding: 16vh 20px; text-align: center; color: #7c897e; }
.loading-state h1 { margin-top: 15px; font-size: 26px; }
.loading-state p { font-size: 13px; }
.spinner { width: 30px; height: 30px; margin: auto; border: 3px solid #dce8d8; border-top-color: #5e8757; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.small-muted { color: #8a958c; font-size: 11px; }
.source-link { color: #4e7851; text-decoration: none; font-size: 11px; font-weight: 650; }
.source-link:hover { color: #274e35; text-decoration: underline; }
.filter-label { display: inline-flex; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.db-warning { margin-bottom: 14px; }
.db-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:15px 18px; border-bottom:1px solid var(--line); }
.db-toolbar label { display:flex; align-items:center; gap:8px; color:#68766b; font-size:12px; }
.db-grid { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); min-height:550px; }
.db-records { border-right:1px solid var(--line); max-height:70vh; overflow:auto; }
.db-records-head { position:sticky; top:0; z-index:1; padding:12px 15px; border-bottom:1px solid var(--line); background:#fafcf9; color:#879189; font-size:10px; font-weight:700; letter-spacing:.7px; text-transform:uppercase; }
.db-record { display:block; width:100%; padding:11px 14px; border:0; border-bottom:1px solid #edf1ed; background:white; text-align:left; }
.db-record:hover,.db-record.selected { background:#f2f7ef; }
.db-record b,.db-record small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.db-record b { color:#324536; font-size:12px; }
.db-record small { margin-top:4px; color:#879189; font-size:10px; }
.db-pages { display:flex; justify-content:space-between; gap:8px; padding:12px; }
.db-editor { display:flex; flex-direction:column; gap:12px; min-width:0; padding:18px; }
.db-editor textarea { min-height:390px; width:100%; resize:vertical; border:1px solid #dfe6df; border-radius:9px; padding:14px; background:#fafcf9; color:#334638; font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; tab-size:2; }
.db-editor textarea:focus { outline:none; border-color:#80a76e; box-shadow:0 0 0 3px rgba(128,167,110,.13); }
.db-editor textarea:disabled { background:#f5f6f4; }
.db-editor-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.danger-button { border:1px solid #ebd2cc; border-radius:8px; padding:8px 11px; background:#fff8f6; color:#9d4b3d; font-size:12px; }
.danger-button:hover { background:#fff0ec; }
.secondary-button:disabled { opacity:.45; cursor:not-allowed; }
.auth-overlay { position:fixed; inset:0; z-index:80; display:grid; place-items:center; overflow:auto; padding:22px; background:rgba(20,34,25,.46); }
.auth-panel { position:relative; width:min(760px,100%); padding:30px; border:1px solid var(--line); border-radius:16px; background:white; box-shadow:0 22px 70px rgba(20,34,25,.2); }
.auth-panel h1 { margin:7px 0 9px; font-family:Georgia,serif; font-size:30px; }
.auth-panel > p { max-width:600px; color:var(--muted); font-size:13px; line-height:1.55; }
.auth-close { position:absolute; top:13px; right:15px; width:34px; height:34px; border:1px solid var(--line); border-radius:50%; background:white; color:#647168; font-size:22px; }
.auth-forms { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:20px 0 12px; }
.auth-forms form { align-content:start; padding:16px; border:1px solid #e8ede7; border-radius:12px; }
.auth-forms h2,.auth-panel-inline h2 { margin:0 0 8px; color:#334638; font-family:Georgia,serif; font-size:20px; font-weight:500; }
.auth-panel .small-muted { line-height:1.5; }
.auth-panel-inline { max-width:620px; margin:20px auto; padding:22px; }
.auth-panel-inline > p { margin:5px 0 16px; }
.auth-panel-inline .filter-select { width:100%; }
.no-wrap { white-space: nowrap; }
@media (max-width: 1100px) {
  .sidebar { width: 220px; }
  .main-area { margin-left: 220px; }
  .content { padding-right: 23px; padding-left: 23px; }
  .topbar { padding-right: 23px; padding-left: 23px; }
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .sidebar { width: 265px; transform: translateX(-100%); transition: transform .2s; box-shadow: 12px 0 35px rgba(0,0,0,.12); }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .topbar { height: 62px; gap: 12px; padding: 0 17px; }
  .mobile-menu { display: inline-block; }
  .content { padding: 25px 17px 40px; }
  .grid-two, .grid-even { grid-template-columns: 1fr; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .milestone-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .content { padding: 21px 13px 34px; }
  .topbar { padding: 0 13px; }
  .breadcrumb { gap: 6px; font-size: 12px; }
  .snapshot-pill { font-size: 0; }
  .snapshot-pill i { width: 9px; height: 9px; }
  .kpi-grid { gap: 9px; }
  .kpi-card { min-height: 115px; padding: 13px; }
  .kpi-value { font-size: 25px; }
  .panel { padding: 15px; }
  .profile-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .db-grid { grid-template-columns:1fr; }
  .db-records { max-height:35vh; border-right:0; border-bottom:1px solid var(--line); }
  .auth-forms { grid-template-columns:1fr; }
  .auth-panel { padding:24px 18px; }
  .card-list { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .table-toolbar { padding: 13px; }
  .filter-select { flex: 1 1 130px; }
}
