/* Harrison Health & Wellness Fair */
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Medium.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/Poppins-Bold.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #13325c; --navy-2: #0d2442; --green: #1e6b33; --green-2: #2f8a3f; --lime: #8dc63f;
  --sky: #e8f3fc; --mint: #ecf6e6; --sun: #f6b519; --ink: #1d2b3a; --muted: #5a6878; --line: #d7e1ea;
  --bg: #ffffff; --tint: #f5f9fc; --danger: #b42318; --radius: 14px; --shadow: 0 6px 24px rgba(19, 50, 92, .09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.12rem; color: #33475b; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: .8rem; color: var(--green-2); margin-bottom: .6rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.icon-xs { width: .9em; height: .9em; }
.icon-lg { width: 2.4rem; height: 2.4rem; }
.icon-xl { width: 4rem; height: 4rem; color: var(--green-2); margin: 0 auto 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: #fff; border: 2px solid var(--green); padding: .72rem 1.35rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: var(--lime); border-color: var(--lime); color: var(--navy-2); }
.btn-small { padding: .45rem 1rem; font-size: .92rem; }
.btn-large { padding: .95rem 2rem; font-size: 1.08rem; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--navy); border-color: var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark { width: 74px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-top { font-weight: 800; color: var(--navy); font-size: 1.28rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-bottom { font-weight: 600; color: var(--green); font-size: .82rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-color: var(--lime); }
.site-nav a.nav-login { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; }
.site-nav a.nav-login:hover { color: var(--navy); }
.icon-sm { width: 1rem; height: 1rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 10px; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; content: ""; transition: .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; }
.nav-toggle span:first-child::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(180deg, #d8ecfb 0%, #eef7fd 55%, #fff 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 3rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-logo { margin: 0 0 1rem; }
.hero-logo img { width: min(440px, 100%); height: auto; }
.hero-script { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-style: italic; color: var(--navy); font-weight: 500; margin-top: -.2rem; position: relative; display: inline-block; padding-bottom: .35rem; }
.hero-script::after { content: ""; position: absolute; left: 0; right: -8%; bottom: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green-2), var(--lime)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1rem; }
.hero-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 2.3; object-fit: cover; object-position: 60% 50%; }
.event-facts { margin: 0; padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: .8rem; background: var(--navy); color: #fff; }
.event-facts div { display: flex; gap: .9rem; align-items: flex-start; }
.event-facts dt { color: var(--lime); margin-top: .1rem; }
.event-facts dt .icon { width: 1.5rem; height: 1.5rem; }
.event-facts dd { margin: 0; }
.event-facts .muted { color: #c4d3e4; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tint { background: var(--tint); }
.page-head { background: linear-gradient(180deg, #d8ecfb, #f5f9fc); padding: clamp(2.5rem, 6vw, 4rem) 0 2.2rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 10px rgba(19,50,92,.04); }
.card .icon-lg { color: var(--green-2); margin-bottom: .7rem; }
.card p { margin: 0; color: #3e5064; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }

/* Categories */
.category-grid { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 980px; }
.cat { display: flex; align-items: center; gap: .85rem; background: #fff; border-radius: var(--radius); padding: .95rem 1.1rem; font-weight: 600; color: var(--navy); border: 1px solid var(--line); }
.cat-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-medical .cat-icon { background: #f08a24; } .cat-rehab .cat-icon { background: #3b82c4; } .cat-mental .cat-icon { background: #8a4fb5; }
.cat-fitness .cat-icon { background: #2a9fd6; } .cat-nutrition .cat-icon { background: #3e9b3a; } .cat-family .cat-icon { background: #e8577e; }
.cat-aging .cat-icon { background: #e4573d; } .cat-dvh .cat-icon { background: #1fb3aa; } .cat-community .cat-icon { background: #2f6fbe; }

/* Schedule */
.schedule { list-style: none; padding: 0; margin: 1.2rem 0 0; border-left: 3px solid var(--lime); }
.schedule li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; padding: .7rem 0 .7rem 1.1rem; position: relative; border-bottom: 1px dashed var(--line); }
.schedule li::before { content: ""; position: absolute; left: -8px; top: 1.05rem; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--green-2); }
.schedule .time { font-weight: 700; color: var(--navy); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--green-2); margin-top: .15rem; }
.placeholder-box { background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--muted); }

/* Visit */
.visit-list { margin: 1rem 0; display: grid; gap: .9rem; }
.visit-list div { display: grid; grid-template-columns: 7rem 1fr; gap: .8rem; }
.visit-list dt { font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: .45rem; }
.visit-list dt .icon { color: var(--green-2); }
.visit-list dd { margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dbe7f1; min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }


/* Logos */
.logo-strip { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.logo-strip li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem .8rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .5rem; min-width: 200px; }
.logo-strip img { max-height: 90px; width: auto; max-width: 280px; }
.logo-strip .logo-presenting img { max-height: 110px; }
.logo-name { font-weight: 700; color: var(--navy); font-size: 1.1rem; padding: 1.2rem 0; }
.logo-level { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--green), #184f28); color: #fff; padding: 2.6rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #dff0d4; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .3rem; top: -.15rem; font-size: 1.5rem; color: var(--green-2); }
details[open] summary::after { content: "–"; }
details p { margin: .7rem 0 0; color: #3e5064; }

/* Register: options */
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.option { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; position: relative; }
.option h2 { font-size: 1.2rem; margin-bottom: .2rem; }
.option .price { font-size: 2rem; font-weight: 700; color: var(--green); margin-bottom: .6rem; }
.option .price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.option-featured { border: 2px solid var(--lime); box-shadow: var(--shadow); }
.info-cols { margin-top: 2rem; }
.box { border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.box-blue { background: var(--sky); }
.box-green { background: var(--mint); }
.iconlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.iconlist li { display: flex; gap: .7rem; align-items: flex-start; }
.iconlist .icon { color: var(--navy); width: 1.5rem; height: 1.5rem; }
.notice { margin-top: 2rem; border-left: 5px solid var(--sun); background: #fff8e6; border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.4rem; }
.notice p:last-child { margin-bottom: 0; }

/* Forms */
.form fieldset { border: 0; background: #fff; border-radius: var(--radius); padding: 1.5rem 1.6rem 1.2rem; margin: 0 0 1.2rem; box-shadow: 0 2px 10px rgba(19,50,92,.05); }
.form legend { float: left; width: 100%; font-weight: 700; color: var(--navy); font-size: 1.12rem; margin-bottom: 1rem; }
.form legend + * { clear: both; }
.field { margin-bottom: 1rem; }
.field label, .label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--navy); font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hint { font-size: .85rem; color: var(--muted); margin: -.15rem 0 .4rem; }
input[type=text], input:not([type]), input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; padding: .65rem .8rem; border: 1.5px solid #c3d0dc; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(141,198,63,.45); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
input[type=file] { font: inherit; }
label.inline { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: 0 0 .7rem; color: var(--ink); cursor: pointer; }
label.inline input { margin-top: .32rem; width: 1.05rem; height: 1.05rem; accent-color: var(--green); flex: none; }
.field-error { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; font-weight: 500; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1rem; }
.radio-card { border: 1.5px solid #c3d0dc; border-radius: 12px; padding: .8rem .9rem; display: flex; gap: .6rem; cursor: pointer; align-items: flex-start; }
.radio-card:has(input:checked) { border-color: var(--green); background: var(--mint); }
.radio-card input { margin-top: .3rem; accent-color: var(--green); }
.radio-card strong { display: block; color: var(--navy); }
.radio-card .muted { font-size: .85rem; }
.fee-preview { background: var(--sky); border-radius: 10px; padding: .6rem .9rem; margin: 0; }
.fee-preview:empty { display: none; }
.js .reveal[hidden] { display: none; }
.reveal { margin: 0 0 1rem 1.7rem; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.thanks h2 { margin-top: 0; }

/* Alerts & badges */
.alert { border-radius: 12px; padding: .9rem 1.1rem; margin: 1rem 0; font-weight: 500; }
.alert p { margin: 0; }
.alert-success { background: #e7f6e9; color: #14532d; border: 1px solid #b7e1be; }
.alert-error { background: #fdecea; color: #7a1a12; border: 1px solid #f5c2bc; }
.alert-info { background: var(--sky); color: var(--navy); border: 1px solid #c3dcf2; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .18rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge-pending { background: #fff3d6; color: #8a5a00; } .badge-approved { background: #e3f4e5; color: #1b6b2a; }
.badge-waitlist { background: #e6eefc; color: #1d4f9c; } .badge-declined { background: #fde4e1; color: #9b1c12; }
.badge-withdrawn { background: #eceff3; color: #4b5563; }

/* Sponsors page */
.sponsor-group { margin-bottom: 3rem; }
.sponsor-group h2 { display: flex; align-items: center; gap: .6rem; border-bottom: 3px solid var(--lime); padding-bottom: .4rem; }
.count { background: var(--navy); color: #fff; font-size: .85rem; border-radius: 999px; padding: .05rem .6rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.sponsor-grid-presenting { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.sponsor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sponsor-card[hidden] { display: none; }
.sponsor-logo { height: 130px; display: grid; place-items: center; padding: 1rem; border-bottom: 1px solid var(--line); background: #fff; }
.sponsor-big .sponsor-logo { height: 170px; }
.sponsor-logo img { max-height: 98px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-big .sponsor-logo img { max-height: 138px; }
.logo-fallback { width: 72px; height: 72px; border-radius: 50%; background: var(--sky); color: var(--navy); font-weight: 800; font-size: 2rem; display: grid; place-items: center; }
.sponsor-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.sponsor-body p { font-size: .94rem; color: #3e5064; }
.sponsor-body .card-link { margin-top: auto; font-weight: 600; }
.tags { margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .74rem; background: var(--sky); color: var(--navy); padding: .15rem .55rem; border-radius: 999px; font-weight: 600; }
.social-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; }
.social-link { font-size: .8rem; font-weight: 600; text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: .2rem .7rem; color: var(--navy); }
.social-link:hover { border-color: var(--navy); background: var(--tint); color: var(--navy); }
.tag-np { background: var(--mint); color: var(--green); }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { font: inherit; font-size: .85rem; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .9rem; cursor: pointer; color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-2); color: #c9d6e6; padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 2rem; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.tagline-small { color: var(--lime); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid li { margin-bottom: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.muted-link { color: #8fa3bb !important; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06); }
  .js .site-nav:not(.open) { display: none; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .cards-3, .option-grid, .category-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-3, .option-grid, .radio-cards, .row-2, .row-3, .footer-grid, .category-grid { grid-template-columns: 1fr; }
  .sponsor-grid, .sponsor-grid-presenting { grid-template-columns: 1fr; }
  .visit-list div { grid-template-columns: 1fr; gap: .1rem; }
  .schedule li { grid-template-columns: 5.5rem 1fr; }
  .brand-top { font-size: 1.05rem; } .brand-bottom { font-size: .72rem; } .logo-mark { width: 58px; }
  .form fieldset { padding: 1.2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta-band, .map, .site-footer .muted-link { display: none; } }

/* ---------- Committee admin ---------- */
.admin-body { background: #f3f6f9; }
.admin-bar { background: var(--navy-2); color: #fff; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 500; }
.admin-bar nav { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.admin-bar .logout { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: .3rem .8rem; font: inherit; cursor: pointer; }
.admin-main { padding: 2rem 0 4rem; }
.panel { background: #fff; border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: 0 2px 10px rgba(19,50,92,.05); margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.2rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: 0 2px 10px rgba(19,50,92,.05); text-decoration: none; color: inherit; border: 2px solid transparent; }
.stat[aria-current="true"] { border-color: var(--lime); }
.stat b { display: block; font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .65rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
tr:hover td { background: #fafcfe; }
.balance td:nth-child(n+2) { text-align: center; }
.meter { height: 8px; background: #e6edf3; border-radius: 6px; overflow: hidden; min-width: 80px; }
.meter i { display: block; height: 100%; background: var(--green-2); }
.meter i.over { background: #e4573d; }
.toolbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; }
.toolbar .field { margin: 0; flex: 1 1 170px; }
.list-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1000px) { .list-grid { grid-template-columns: 1fr; } }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }
.kv { display: grid; grid-template-columns: 11rem 1fr; gap: .45rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.actions-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.actions-row .reset { flex-basis: 100%; border: 0; padding: .2rem 0 0; }
.actions-row .reset summary { padding-right: 1.2rem; color: var(--green); font-weight: 500; }
.actions-row .reset summary::after { font-size: 1rem; top: -.1rem; }
.actions-row .reset form { display: flex; gap: .4rem; margin-top: .4rem; }
.login-box { max-width: 420px; margin: 4rem auto; }
.log { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.log li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; } .kv dt { margin-top: .4rem; } }
.admin-logo { max-height: 90px; width: auto; border: 1px solid var(--line); border-radius: 8px; padding: .4rem; background: #fff; }
.h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
code { background: var(--tint); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }
