:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #1e2426; background: #f8f9fa; font-synthesis: none; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { opacity: .45; cursor: default; }
button, a, input, select { outline-offset: 4px; }
svg { width: 19px; height: 19px; flex-shrink: 0; }
.admin-header { min-height: 76px; border-bottom: 1px solid #dde2e5; background: #111614; color: #f7faf7; padding: 16px 32px; display: flex; align-items: center; gap: 24px; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; }
.admin-brand span { color: #c1f766; margin-left: -9px; }
.private-label { display: flex; align-items: center; gap: 8px; color: #bec8bf; font-size: 13px; padding-left: 24px; border-left: 1px solid #414740; }
.admin-header nav { margin-left: auto; display: flex; gap: 8px; }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ccd4d8; border-radius: 4px; background: transparent; color: inherit; flex-shrink: 0; }
.icon-button:hover:not(:disabled) { background: #edf0f2; }
.admin-header .icon-button { border-color: #485248; }
.admin-header .icon-button:hover { background: #283027; }
main { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 42px 0 24px; }
h1, h2, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.25; font-weight: 600; }
h2 { font-size: 20px; font-weight: 600; }
.eyebrow { font-size: 11px; font-weight: 700; line-height: 1.5; color: #5b646b; margin-bottom: 9px; }
.muted { color: #626e75; font-size: 14px; line-height: 1.6; }
.page-heading, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-heading .muted { margin-top: 10px; }
.status-message { margin-top: 18px; padding: 12px 16px; background: #fff5db; color: #684b10; border-left: 3px solid #e2b94d; font-size: 14px; line-height: 1.6; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 30px 0 34px; gap: 16px; }
.metrics article { position: relative; border: 1px solid #dce2e5; background: #fff; border-radius: 6px; padding: 20px; min-height: 164px; }
.metrics article > svg { position: absolute; right: 18px; top: 18px; color: #66767c; }
.metrics article p { font-size: 14px; padding-right: 22px; line-height: 1.5; }
.metrics strong { display: block; font-size: 34px; margin: 12px 0 7px; font-weight: 600; }
.metrics span { font-size: 12px; color: #66727a; line-height: 1.5; display: block; }
.activity-section { padding: 26px 0 28px; border-top: 1px solid #dce2e5; border-bottom: 1px solid #dce2e5; }
.section-heading .muted { margin-top: 6px; }
.segmented { display: flex; border: 1px solid #cdd6d9; border-radius: 4px; padding: 3px; gap: 3px; }
.segmented button { border: 0; background: transparent; color: #46535b; border-radius: 2px; min-height: 36px; padding: 0 14px; font-size: 13px; }
.segmented button[aria-pressed="true"] { background: #202927; color: #fff; }
.chart-summary { margin: 22px 0 12px; display: flex; align-items: baseline; gap: 9px; }
.chart-summary strong { font-size: 25px; font-weight: 600; }
.chart-summary span { color: #626e75; font-size: 14px; }
.activity-chart { height: 180px; display: grid; gap: 8px; align-items: end; border-bottom: 1px solid #c9d3d9; background: repeating-linear-gradient(to top, transparent, transparent 44px, #e5e9ed 44px, #e5e9ed 45px); padding-top: 22px; }
.chart-bar { height: 100%; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.chart-bar span { display: block; width: min(100%, 64px); height: var(--bar-height); min-height: 2px; background: #1c8994; border-radius: 3px 3px 0 0; }
.chart-bar:last-child span { background: #547b25; }
.chart-bar b { position: absolute; bottom: calc(var(--bar-height) + 4px); font-size: 11px; font-weight: 400; color: #4b5a62; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #66727a; }
.history-note { margin-top: 14px; }
.users-section { padding-top: 28px; }
.count { font-size: 14px; color: #626e75; margin-left: 8px; }
.table-tools { display: flex; align-items: flex-end; gap: 14px; margin: 20px 0 18px; }
label { display: grid; gap: 7px; font-size: 12px; color: #56636b; }
input, select { min-height: 44px; min-width: 0; border: 1px solid #cbd5da; border-radius: 4px; padding: 10px 12px; background: #fff; color: #20272b; font-size: 14px; }
.search-field { display: flex; align-items: center; position: relative; flex: 1; }
.search-field svg { position: absolute; left: 12px; color: #68757b; pointer-events: none; }
.search-field input { width: 100%; padding-left: 39px; }
.table-scroll { overflow-x: auto; border-top: 1px solid #dce2e5; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
th { background: #eff2f4; color: #667179; font-size: 12px; font-weight: 500; white-space: nowrap; }
td, th { padding: 15px 14px; border-bottom: 1px solid #dce2e5; }
td:first-child { font-weight: 500; overflow-wrap: anywhere; max-width: 340px; }
td:not(:first-child) { white-space: nowrap; }
.user-state { font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.user-state::before { content: ''; width: 6px; height: 6px; background: #89979e; border-radius: 50%; }
.user-state.confirmed::before { background: #528532; }
.user-state.active::before { background: #168c9b; }
.pagination, .pagination > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pagination { margin: 16px 0; }
.empty-state { text-align: center; padding: 32px 12px; color: #626e75; font-size: 14px; }
.dashboard-footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #dce2e5; padding-top: 20px; color: #68757d; font-size: 12px; line-height: 1.6; }
.dashboard-footer span:first-child { display: flex; gap: 7px; align-items: center; }
.access-panel { max-width: 400px; margin: 60px auto; }
.access-icon { width: 36px; height: 36px; margin-bottom: 20px; color: #547b25; }
.access-panel > p:not(.eyebrow) { margin: 14px 0 24px; font-size: 15px; color: #626e75; line-height: 1.7; }
.access-panel form { display: grid; gap: 18px; }
.access-panel label { font-size: 14px; }
.password-field { display: flex; position: relative; }
.password-field input { width: 100%; padding-right: 50px; }
.password-field .icon-button { position: absolute; right: 1px; top: 1px; border: 0; width: 42px; height: 42px; }
.form-message { color: #b13332; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.form-message:empty { display: none; }
.primary-button { min-height: 46px; background: #c1f766; color: #182114; border: 1px solid #a6cd63; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; font-weight: 600; }
.text-button { border: 0; padding: 0; background: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin: 24px 18px 0 0; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .table-tools { flex-wrap: wrap; } .search-field { flex-basis: 100%; } }
@media (max-width: 600px) {
  .admin-header { padding: 12px 16px; gap: 12px; min-height: 68px; }
  .admin-brand { font-size: 19px; gap: 7px; }.admin-brand img { width: 24px; height: 24px; }.admin-brand span { margin-left: -7px; }
  .private-label { display: none; }.admin-header nav { gap: 6px; }
  main { width: calc(100% - 32px); padding-top: 28px; }
  h1 { font-size: 25px; } h2 { font-size: 19px; }
  .metrics { gap: 10px; margin: 24px 0; }.metrics article { padding: 16px 12px; min-height: 170px; }.metrics article > svg { position: static; margin-bottom: 10px; width: 18px; height: 18px; }.metrics article p { padding: 0; font-size: 14px; }.metrics strong { font-size: 30px; margin: 9px 0 6px; }.metrics span { font-size: 12px; }
  .section-heading { flex-wrap: wrap; gap: 14px; }.segmented button { min-height: 40px; }
  .activity-chart { gap: 4px; }.activity-chart[data-period="30"] .chart-bar b { display: none; }
  .table-tools { gap: 12px; }.table-tools > label:not(.search-field) { flex: 1; min-width: 0; }.table-tools select { width: 100%; font-size: 14px; }
  input { font-size: 16px; }.muted, .history-note, .pagination p { font-size: 14px; }
  td, th { padding: 14px 10px; font-size: 14px; } table { min-width: 760px; } td:first-child { max-width: 260px; }
  .dashboard-footer { flex-direction: column; font-size: 13px; gap: 8px; }
  .access-panel { margin: 32px auto; }.access-panel h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: no-preference) { .refresh-button[aria-busy="true"] svg { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } }
