/* LWZ admin panel: built for iPad (A16) landscape with keyboard, works on laptop. */
.ad-link { background: none; border: 0; color: var(--teal-light-accent); cursor: pointer; font: inherit; }
.ad-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ad-bar select, .ad-bar input, .ad-add input { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: #fff; }
.ad-bar select option { background: #101717; }
.ad-count { color: var(--teal-light-accent); font-family: var(--font-head); letter-spacing: 0.08em; }
.ad-sm { padding: 10px 16px; font-size: 14px; border-radius: 8px; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ad-table th { text-align: left; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--teal-light-accent); padding: 12px; background: rgba(255,255,255,0.03); cursor: default; white-space: nowrap; }
.ad-table th[data-k] { cursor: pointer; }
.ad-table td { padding: 11px 12px; border-top: 1px solid var(--line); color: #dfe8e8; white-space: nowrap; }
.ad-table tr:hover td { background: rgba(0,116,116,0.08); }
.nt-list { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.nt-list ul { list-style: none; display: grid; gap: 6px; }
.nt-list li button { width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: #e6ecec; cursor: pointer; font: inherit; }
.nt-list li button small { display: block; color: var(--gray); font-size: 12px; }
.nt-editor { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#nt-title { font-family: var(--font-head); font-size: 24px; text-transform: none; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: #fff; }
#nt-title:focus, #nt-body:focus { outline: none; border-color: var(--teal-light-accent); }
.nt-foot { display: flex; justify-content: space-between; align-items: center; }
.qr-box { background: #fff; color: #111; border-radius: 16px; padding: 26px 30px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.qr-box .ci-kicker { color: #007474; font-size: 16px; }
.qr-box .note { color: #333; }
#qr img, #qr svg { width: min(56vh, 420px); height: auto; display: block; }
.qr-clock { font-family: var(--font-head); font-size: 40px; color: #111; }
.qr-box:fullscreen { width: 100vw; height: 100vh; border-radius: 0; align-content: center; }
.qr-box:fullscreen #qr img, .qr-box:fullscreen #qr svg { width: min(68vh, 640px); }
.ad-add { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.ad-add input { flex: 1; min-width: 200px; }
.ad-admins { list-style: none; display: grid; gap: 8px; max-width: 700px; }
.ad-admins li { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.ad-mail textarea { width: 100%; font: inherit; padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); color: #fff; }
.ad-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(0,116,116,0.35); border: 1px solid rgba(128,224,224,0.45); color: #80e0e0; font-family: var(--font-head); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap; }
.ad-hand { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; border: 1px solid rgba(255,107,26,0.5); color: #ffb38a; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
#mp-form label { display: block; margin: 12px 0 6px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; color: #cfdada; }
#mp-form input:not([type=checkbox]) { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); color: #fff; }
#mp-form input:disabled { opacity: 0.4; }
#mp-form .mp-unknown { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 14px; }
#mp-form .btn { width: 100%; margin-top: 16px; }
#mp-form { width: min(440px, 100%); text-align: left; }
#mp-form .title, #mp-form > .note { text-align: center; }
#mp-form input#mp-sid, #mp-form input#mp-name { max-width: none; width: 100%; letter-spacing: normal; text-align: left; }
#mp-form label.mp-unknown { justify-content: flex-start; width: auto; }
#mp-form label.mp-unknown input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); flex-shrink: 0; }
.qr-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; color: #007474; margin-bottom: -6px; }
.ad-table td.nom-why { white-space: normal; min-width: 260px; color: #c3cfcf; }
.ad-table tr.ad-group th { background: rgba(0,116,116,0.18); color: #fff; font-size: 13px; letter-spacing: 0.14em; padding: 10px 12px; border-top: 1px solid rgba(128,224,224,0.25); cursor: default; }
.ad-table tr.ad-group th span { color: var(--teal-light-accent); margin-left: 6px; }
.ad-table tr.ad-group:hover th { background: rgba(0,116,116,0.18); }
/* Officer badges sit in their own column, all the same width, so they line up. */
.ad-table .ad-tagcol { width: 1%; padding-left: 0; padding-right: 18px; }
.ad-table .ad-tagcol .ad-tag { margin-left: 0; min-width: 148px; text-align: center; }

/* ---------- Site look (matches the public pages) ---------- */
/* Header: logo row + teal tab bar with a white underline on the open tab, like the site nav. */
.ad-mast { background: linear-gradient(180deg, #0a0f0f 0%, #0f1818 100%); border-bottom: 1px solid var(--line); }
.ad-mast .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 20px; }
.ad-mast .brand img { width: 64px; height: 64px; }
.ad-mast .brand-name { font-size: 30px; }
.ad-nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, #008080 0%, #006565 100%); box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.ad-tabs { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.ad-tabs::-webkit-scrollbar { display: none; }
.ad-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: #fff; cursor: pointer; white-space: nowrap;
  padding: 15px 22px; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.ad-tabs button:hover { background: var(--teal-dark); }
.ad-tabs button[aria-selected="true"] { border-bottom-color: #fff; }
/* Panes: site width, section heading with the light teal accent bar. */
.ad-pane { padding-top: 48px; padding-bottom: 56px; }
.ad-head { margin-bottom: 26px; }
.ad-head .eyebrow { margin-bottom: 6px; }
.ad-head .sub { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; color: var(--teal-light-accent); }
.ad-bar { gap: 12px; margin-bottom: 18px; }
.ad-spacer { flex: 1; }
.ad-bar-note { max-width: 720px; margin: 0; }
.ad-bar input[type=search] { min-width: 280px; }
.ad-empty { margin-top: 16px; }
/* Stat cards, same as the home page Club News cards. */
.ad-stats { margin-bottom: 30px; gap: 22px; }
.ad-stats .card { padding: 22px 24px; }
.ad-stat { font-family: var(--font-head); font-weight: 600; font-size: 46px; line-height: 1; color: #fff; }
.ad-stat-sub { color: var(--gray); font-size: 14px; margin-top: 8px; }
/* Tables sit in a site card: glass panel, soft shadow, teal top stripe. */
.ad-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--surface-border); border-top: 4px solid var(--teal); border-radius: 6px; box-shadow: var(--glow); }
.ad-table th { background: rgba(0,0,0,0.25); padding: 14px 12px; }
.ad-table td { padding: 13px 12px; }
/* Notes: list of small cards (open one gets the gold stripe), editor in a card. */
.ad-notes { display: grid; grid-template-columns: 280px 1fr; gap: 22px; height: max(480px, calc(100vh - 330px)); }
.nt-list li button { border-radius: 6px; border: 1px solid var(--surface-border); border-top: 3px solid transparent; background: var(--surface); padding: 12px 14px; }
.nt-list li button[aria-current="true"] { border-top-color: var(--gold); background: rgba(245,179,1,0.06); }
.nt-editor.card { padding: 16px; border-top-color: var(--gold); display: flex; flex-direction: column; gap: 10px; min-height: 0; }
#nt-body { flex: 1; min-height: 0; resize: none; font: 17px/1.6 var(--font-body); padding: 16px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0,0,0,0.25); color: #eef3f3; }
/* Check-in QR */
.ad-qr { display: block; }
.ad-qr .qr-box { width: fit-content; margin: 0 auto 18px; box-shadow: var(--glow); border-top: 4px solid var(--teal); }
.ad-qr #qr-full { display: block; margin: 0 auto; }
.qr-clock { font-size: 46px; font-weight: 600; letter-spacing: 0.02em; }
/* Admins list as small cards */
.ad-admins li { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 6px; }
/* Footer with the motto */
.ad-foot { border-top: 1px solid var(--line); background: radial-gradient(900px 400px at 80% 0%, rgba(0,116,116,0.16), transparent 70%), #040606; padding: 34px 0 calc(30px + env(safe-area-inset-bottom)); color: #bdbdbd; font-size: 14px; }
.ad-foot .motto { font-family: var(--font-head); text-transform: uppercase; color: #fff; font-size: 20px; letter-spacing: 0.03em; margin-bottom: 6px; }
/* Sign in: photo banner like the page tops, card, motto. */
.ad-login { min-height: 100vh; }
.ad-login-hero { min-height: 340px; }
.ad-login-body { display: grid; justify-items: center; gap: 26px; margin-top: -40px; padding-bottom: 60px; position: relative; }
.ad-login-card { width: min(420px, 100%); display: grid; justify-items: center; gap: 14px; text-align: center; padding: 30px 28px; }
.ad-login-card p { color: #c3cfcf; font-size: 15px; }
.ad-back { font-size: 14px; color: var(--gray); }
.ad-motto { font-family: var(--font-head); text-transform: uppercase; color: #fff; font-size: 22px; line-height: 1.2; text-align: center; }
@media (max-width: 760px) {
  .ad-mast .wrap { min-height: 70px; }
  .ad-mast .brand img { width: 42px; height: 42px; }
  .ad-mast .brand-name { font-size: 22px; }
  .ad-who { display: none; }
  .ad-tabs { justify-content: flex-start; }
  .ad-tabs button { padding: 13px 14px; font-size: 15px; }
  .ad-pane { padding-top: 30px; }
  .ad-stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .ad-stats .card { padding: 14px; }
  .ad-stat { font-size: 32px; }
  .ad-notes { grid-template-columns: 1fr; height: auto; }
  #nt-body { min-height: 50vh; }
  .ad-bar input[type=search] { min-width: 0; flex: 1; }
}
@media (min-width: 761px) and (max-width: 1100px) { .ad-tabs button { padding: 15px 14px; font-size: 15px; } }
@media (max-width: 760px) { .ad-mast .brand { display: flex; gap: 12px; min-height: 0; } .ad-mast .brand > div { text-align: left; } }
.ad-stats .card .ad-stat { font-family: var(--font-head); font-weight: 600; font-size: 52px; line-height: 1; color: #fff; margin: 4px 0 0; }
.ad-stats .card .ad-stat-sub { color: var(--gray); font-size: 14px; margin-top: 10px; }
.ad-login-hero .wrap { text-align: center; }
@media (max-width: 760px) {
  .ad-stats .card .ad-stat { font-size: 34px; }
  .ad-stats .card .ad-stat-sub { display: none; }
  .ad-stats .card .date { font-size: 11px; letter-spacing: 0.08em; }
}
.qr-box p { margin: 0; }
.qr-box .qr-label { margin-top: 6px; }
.ad-login-hero .wrap > * { margin-left: auto; margin-right: auto; text-align: center; }
/* Wide tables: use more width than the site text column, stay compact, dark scrollbar. */
.ad-pane.wrap { max-width: 1440px; }
.ad-pane.wrap.ad-qr, #p-admins.wrap { max-width: var(--max); }
.ad-table { font-size: 14px; }
.ad-table th, .ad-table td { padding-left: 10px; padding-right: 10px; }
.ad-table .ad-tagcol { padding-left: 0; padding-right: 12px; }
.ad-table .ad-tagcol .ad-tag { min-width: 132px; font-size: 10.5px; }
.ad-table-wrap { scrollbar-color: rgba(128,224,224,0.35) transparent; }
.ad-table td { white-space: normal; }
.ad-table td.ad-tagcol { white-space: nowrap; }
#mem-table td:nth-child(6) { min-width: 110px; }
#mem-table td:nth-child(8) { min-width: 150px; }
#mem-table td:nth-child(10), #att-table td:first-child { white-space: nowrap; }

/* ---------- Phones and tablets ---------- */
.ad-table td.ad-cardname { display: none; }
.ad-table td a { color: var(--teal-light-accent); text-decoration: none; }
.ad-link { padding: 8px 6px; margin: -8px 0; min-height: 36px; }
/* Phones and iPad portrait: each table row becomes a card (name + badge on top, labelled lines). */
@media (max-width: 900px) {
  .ad-table-wrap { background: none; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
  .ad-table, .ad-table tbody { display: block; }
  .ad-table thead { display: none; }
  .ad-table tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .ad-table tr { display: block; background: var(--surface); border: 1px solid var(--surface-border); border-top: 4px solid var(--teal); border-radius: 8px; box-shadow: var(--glow); padding: 6px 16px 10px; }
  .ad-table tr:hover td { background: none; }
  .ad-table tr.ad-group { grid-column: 1 / -1; background: none; border: 0; box-shadow: none; padding: 10px 0 0; }
  .ad-table tr.ad-group th { display: block; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 0 0 8px; font-size: 15px; }
  .ad-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); white-space: normal; text-align: right; min-width: 0 !important; }
  .ad-table td::before { content: attr(data-label); flex-shrink: 0; text-align: left; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; color: var(--teal-light-accent); }
  .ad-table td.ad-cardname { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 0; padding: 10px 0 8px; text-align: left; }
  .ad-table td.ad-cardname::before { content: none; }
  .ad-table td.ad-cardname strong { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 20px; color: #fff; margin-right: auto; }
  .ad-table td.ad-cardname .ad-tag { margin-left: 0; }
  .ad-table td.ad-tbl, .ad-table td[data-label]:empty, .ad-table td.ad-tagcol:empty, .ad-table td.ad-tagcol:not(:has(.ad-tag)) { display: none; }
  .ad-table td.ad-tagcol { padding: 8px 0; }
  .ad-table td.ad-tagcol .ad-tag { min-width: 0; }
  .ad-table td.nom-why { display: block; text-align: left; }
  .ad-table td.nom-why::before { display: block; margin-bottom: 4px; }
  #mem-table td:nth-child(n) { min-width: 0; }
}
@media (max-width: 600px) { .ad-table tbody { grid-template-columns: 1fr; } }

/* Tab bar on phones: swipe sideways; a fade on the right hints at more tabs. */
@media (max-width: 760px) {
  .ad-nav { position: sticky; }
  .ad-nav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; pointer-events: none; background: linear-gradient(90deg, rgba(0,101,101,0), #006a6a 85%); }
  .ad-tabs { padding: 0 34px 0 8px; scroll-snap-type: x proximity; }
  .ad-tabs button { scroll-snap-align: center; }
  .ad-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .ad-bar select, .ad-bar input[type=search], .ad-bar .ad-bar-note { grid-column: 1 / -1; width: 100%; }
  .ad-bar .ad-spacer { display: none; }
  .ad-bar .btn { width: 100%; text-align: center; }
  .ad-bar .btn:only-of-type { grid-column: 1 / -1; }
  .ad-head .sub { font-size: 13px; }
  .ad-add input { min-width: 0; flex-basis: 100%; }
  .ad-add .btn { width: 100%; }
  .ad-admins li { align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
  /* QR fits the phone width */
  #qr img, #qr svg { width: min(56vh, 420px, calc(100vw - 104px)); }
  .ad-qr .qr-box { padding: 20px 18px; max-width: 100%; }
  .qr-clock { font-size: 34px; }
  /* Sign in: title clear of the card */
  .ad-login-hero { min-height: 300px; }
  .ad-login-hero .wrap { padding-bottom: 70px; }
  .ad-login-body { margin-top: 0; }
}
/* Notch and home bar */
.ad-mast { padding-top: env(safe-area-inset-top); }
.ad-mast .wrap, .ad-pane.wrap, .ad-foot .wrap { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
@media (max-width: 760px) { .ad-mast .wrap, .ad-pane.wrap, .ad-foot .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); } }
@media (max-width: 900px) {
  .ad-table td.ad-cardname strong { flex-basis: 100%; margin-right: 0; }
  .ad-table td > span { min-width: 0; overflow-wrap: anywhere; }
}
.ad-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .ad-table td > span.ad-tag { flex-shrink: 0; white-space: nowrap; overflow-wrap: normal; }
  .ad-table td.ad-tagcol { justify-content: space-between; }
}
/* Pop-ups fit small phones and scroll if the keyboard is up */
.reveal-modal .reveal-panel { max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (max-width: 760px) { .reveal-modal { padding: 16px; align-items: flex-start; padding-top: max(16px, env(safe-area-inset-top)); } }
@media (max-width: 900px) { .ad-table td.ad-tagcol { width: auto; padding-right: 0; } }

/* ---------- Phone menu (hamburger), same look as the public site menu ---------- */
.ad-current, .ad-menu-only, .ad-menu-btn { display: none; }
@media (max-width: 760px) {
  .ad-mast .wrap { position: relative; padding-right: 64px; }
  .ad-mast #signout { display: none; }
  .ad-menu-btn { display: inline-flex; right: max(4px, env(safe-area-inset-right)); }
  .ad-nav::after { content: none; }
  .ad-current { display: block; width: 100%; background: none; border: 0; color: #fff; cursor: pointer; text-align: left;
    padding: 11px max(16px, env(safe-area-inset-left)); font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }
  .ad-current::after { content: ""; display: inline-block; margin-left: 10px; vertical-align: 3px; border: 5px solid transparent; border-top-color: #fff; }
  .ad-nav.open .ad-current::after { border-top-color: transparent; border-bottom-color: #fff; vertical-align: 8px; }
  .ad-tabs { display: none; }
  .ad-nav.open .ad-tabs {
    display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: none;
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 118px); z-index: 55; max-width: none;
    padding: 8px max(16px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: radial-gradient(600px 400px at 100% 0%, rgba(0,116,116,0.3), transparent 70%), #060a0a;
  }
  .ad-nav.open .ad-tabs button[data-tab] { text-align: left; font-size: 25px; letter-spacing: 0.05em; padding: 17px 4px; border: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ad-nav.open .ad-tabs button[data-tab][hidden] { display: none; }
  .ad-nav.open .ad-tabs button[aria-selected="true"] { color: var(--teal-light-accent); border-bottom-color: rgba(255,255,255,0.08); }
  .ad-nav.open .ad-tabs button:hover { background: none; }
  .ad-nav.open .ad-menu-only { display: block; }
  .ad-menu-signout { margin-top: 24px; padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.05); color: #fff;
    font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
  .ad-menu-site { margin-top: 18px; text-align: center; color: var(--gray); font-size: 14px; }
}
@media (max-width: 760px) { .ad-nav.open .ad-tabs .ad-menu-signout { border: 1px solid rgba(255,255,255,0.28); border-radius: 8px; background: rgba(255,255,255,0.05); padding: 15px; text-align: center; } }
/* Tighter space between the tab bar and each tab's heading. */
.ad-pane { padding-top: 22px; }
.ad-head { margin-bottom: 22px; }
@media (max-width: 760px) { .ad-pane { padding-top: 16px; } .ad-head { margin-bottom: 18px; } }
/* Days / hours / minutes countdown: a bit smaller so it stays on one line on the iPad. */
.qr-clock.is-long { font-size: 38px; }
.qr-box:fullscreen .qr-clock.is-long { font-size: 56px; }
@media (max-width: 760px) { .qr-clock.is-long { font-size: 28px; line-height: 1.2; } }
/* Live check-in counter on the QR screen */
.qr-live { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 4px !important; padding: 8px 18px; border-radius: 999px; background: rgba(0,116,116,0.1);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; color: #007474; }
.qr-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1fbf6a; align-self: center; box-shadow: 0 0 0 0 rgba(31,191,106,0.6); animation: qrPulse 2s infinite; }
.qr-live.is-off::before { background: #c0c0c0; animation: none; }
.qr-count { font-size: 34px; font-weight: 600; color: #111; letter-spacing: 0.02em; line-height: 1; }
.qr-live.bump .qr-count { animation: qrBump 0.6s ease; }
.qr-box:fullscreen .qr-live { font-size: 20px; } .qr-box:fullscreen .qr-count { font-size: 56px; }
@keyframes qrPulse { 70% { box-shadow: 0 0 0 8px rgba(31,191,106,0); } 100% { box-shadow: 0 0 0 0 rgba(31,191,106,0); } }
@keyframes qrBump { 0% { transform: scale(1); color: #111; } 40% { transform: scale(1.35); color: #1fbf6a; } 100% { transform: scale(1); color: #111; } }
@media (prefers-reduced-motion: reduce) { .qr-live::before, .qr-live.bump .qr-count { animation: none; } }
/* Election vote block (Nominations tab) */
.vt-admin { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-bottom: 22px; }
.vt-qr { box-shadow: var(--glow); border-top: 4px solid var(--teal); }
.vt-qr p { margin: 0; }
#vt-qr svg { width: min(46vh, 340px); height: auto; display: block; }
.qr-box.vt-qr:fullscreen #vt-qr svg { width: min(70vh, 640px); }
.vt-side { display: grid; gap: 14px; align-content: start; }
.vt-tally { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--surface-border); border-top: 4px solid var(--gold); border-radius: 6px; padding: 18px 20px; box-shadow: var(--glow); }
.vt-row-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; }
.vt-row-top strong { font-size: 20px; color: #fff; }
.vt-row-top span { font-size: 34px; font-weight: 600; color: var(--gold); }
.vt-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; margin-top: 6px; }
.vt-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-light-accent)); transition: width 0.5s ease; }
.vt-side .btn { justify-self: start; }
.vt-gap { height: 44px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
@media (max-width: 900px) { .vt-admin { grid-template-columns: 1fr; justify-items: center; } .vt-side { width: 100%; } }
.vt-toggle { justify-self: stretch !important; padding: 16px; font-size: 18px; }
.vt-hint { margin: -4px 0 4px; font-size: 14px; }
.vt-private { margin: 0 0 6px; font-size: 14px; }
