/* Wirksworth Swimming Pool – Parent Portal
   Tokens and patterns mirror public/www/index.php so the portal feels like the main site. */

:root {
  --pool-900: #03045e;
  --pool-700: #0077b6;
  --pool-500: #00b4d8;
  --pool-300: #90e0ef;
  --pool-100: #caf0f8;
  --pool-50:  #f0f9ff;
  --text:     #1a1a2e;
  --text-muted: #5a677d;
  --border:   #e4eef5;
  --ok:       #2e7d32;
  --ok-bg:    #e8f5e9;
  --warn:     #e65100;
  --warn-bg:  #fff3e0;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #f8fafc;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--pool-700); }

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 1.5rem; }

/* ── HEADER ──────────────────────────────────── */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pool-700), var(--pool-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.logo-name { font-size: 1.05rem; font-weight: 800; color: var(--pool-900); line-height: 1.2; }
.logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-link-plain {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-link-plain:hover { background: var(--pool-100); color: var(--pool-700); }
.logout-form { margin: 0; }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .logo-name { font-size: 0.95rem; }
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-sm { font-size: 0.85rem; padding: 0.45rem 0.9rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-brand { background: var(--pool-700); color: #fff; }
.btn-brand:hover { background: #00669c; box-shadow: 0 6px 18px rgba(0,119,182,0.28); }
.btn-outline { background: #fff; color: var(--pool-700); border-color: var(--pool-300); }
.btn-outline:hover { background: var(--pool-50); border-color: var(--pool-700); }
.btn:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--pool-500);
  outline-offset: 2px;
}

/* ── SHARED TYPE ─────────────────────────────── */
.sec-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pool-700);
  margin-bottom: 0.5rem;
}
.sec-label-light { color: var(--pool-300); }
.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--pool-900);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.sec-title-sm { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

/* ── LOGIN ───────────────────────────────────── */
.login-wrap {
  background: linear-gradient(150deg, var(--pool-900) 0%, var(--pool-700) 55%, var(--pool-500) 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem max(1.5rem, calc((100vw - 1060px) / 2)) 6rem;
  position: relative;
}
.login-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  pointer-events: none;
}
.login-intro { color: #fff; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}
.login-intro h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.login-intro p { font-size: 1.05rem; opacity: 0.88; max-width: 460px; margin: 0 0 1.75rem; }
.login-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.login-points li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; }
.login-points wa-icon { color: var(--pool-300); }

.login-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,55,100,0.2);
  padding: 2.25rem;
  position: relative;
  z-index: 1;
}
.login-title { font-size: 1.5rem; font-weight: 800; color: var(--pool-900); margin: 0 0 1.5rem; line-height: 1.2; }
.login-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--pool-900); }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #cfe0eb;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pool-700); box-shadow: 0 0 0 4px rgba(0,180,216,0.18); outline: none; }
.form-row { display: flex; justify-content: flex-end; margin-top: -0.4rem; }
.muted-link { font-size: 0.82rem; color: var(--pool-700); text-decoration: none; }
.muted-link:hover { text-decoration: underline; }
.form-error {
  display: flex; align-items: center; gap: 0.6rem;
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c2c0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.login-help { font-size: 0.85rem; color: var(--text-muted); margin: 1.5rem 0 0; text-align: center; }
.dev-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  background: #fff8e1;
  border: 1px dashed #ffca28;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: #5d4037;
  text-align: center;
}

@media (max-width: 820px) {
  .login-wrap { grid-template-columns: 1fr; padding-top: 3rem; gap: 2rem; }
  .login-points { display: none; }
  .login-card { padding: 1.75rem 1.25rem; }
}

/* ── DASHBOARD ───────────────────────────────── */
.hero-slim {
  background: linear-gradient(150deg, var(--pool-900) 0%, var(--pool-700) 55%, var(--pool-500) 100%);
  color: #fff;
  padding: 3rem 0 6.5rem;
  position: relative;
}
.hero-slim h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.4rem;
}
.hero-slim p { margin: 0; opacity: 0.88; }

.dash { margin-top: -4.5rem; position: relative; padding-bottom: 4rem; }

.panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,55,100,0.12);
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.panel-title-wrap { display: flex; align-items: center; gap: 0.9rem; }
.panel-title { font-size: 1.25rem; font-weight: 800; color: var(--pool-900); margin: 0; line-height: 1.2; }
.panel-sub { font-size: 0.85rem; color: var(--text-muted); }
.card-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-ok   { background: var(--ok-bg);   color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }

.pay-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--pool-50);
  border-radius: 14px;
}
.pay-stat { padding: 1.1rem 1.25rem; border-right: 1px solid var(--border); }
.pay-stat:last-child { border-right: none; }
.pay-lbl { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.pay-num { font-size: 1.6rem; font-weight: 900; color: var(--pool-900); line-height: 1.2; margin-top: 0.2rem; }
.pay-detail { font-size: 0.82rem; color: var(--text-muted); }

.pay-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.recent { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 260px; display: grid; gap: 0.3rem; }
.recent li { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.75rem; font-size: 0.85rem; padding: 0.35rem 0; border-bottom: 1px solid #f0f4f8; }
.recent li:last-child { border-bottom: none; }
.recent-date { color: var(--text-muted); font-weight: 600; }
.recent-amt { font-weight: 700; color: var(--pool-900); }
.pay-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .pay-stats { grid-template-columns: 1fr; }
  .pay-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .pay-stat:last-child { border-bottom: none; }
}

.section-head-row { margin: 3rem 0 1.25rem; }

.children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1.5rem;
}
.child-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card-stripe { height: 6px; background: var(--band); }
.child-body { padding: 1.5rem; display: grid; gap: 1.25rem; }

.child-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--band);
  color: var(--band-text);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.child-name-wrap { flex: 1 1 180px; min-width: 0; }
.child-name { font-size: 1.2rem; font-weight: 800; color: var(--pool-900); margin: 0; line-height: 1.2; }
.child-meta { font-size: 0.85rem; color: var(--text-muted); }
.band-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--band);
  color: var(--band-text);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
}
.band-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.6; }

.next-lesson {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--pool-50);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.next-lesson > wa-icon { color: var(--pool-700); font-size: 1.3rem; margin-top: 0.15rem; }
.next-lbl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pool-700); }
.next-when { font-weight: 800; color: var(--pool-900); }
.next-detail { font-size: 0.82rem; color: var(--text-muted); }

.progress-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.45rem; }
.progress-head strong { color: var(--pool-900); white-space: nowrap; }
.progress-track { height: 10px; border-radius: 99px; background: #e8f0f6; overflow: hidden; }
.progress-fill { height: 100%; background: var(--band); border-radius: 99px; transition: width 0.4s ease; }

.skills { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.skill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: #f6fafd;
  font-size: 0.86rem;
}
.skill-name { color: var(--text); }
.skill-status { font-size: 0.72rem; font-weight: 600; padding: 0.1rem 0.55rem; border-radius: 99px; white-space: nowrap; }
.skill-achieved wa-icon    { color: var(--ok); }
.skill-achieved .skill-status { background: var(--ok-bg); color: var(--ok); }
.skill-in_progress wa-icon { color: var(--pool-700); }
.skill-in_progress .skill-status { background: #dceef8; color: var(--pool-700); }
.skill-not_started wa-icon { color: #b0bec5; }
.skill-not_started .skill-name { color: var(--text-muted); }
.skill-not_started .skill-status { background: #eef1f4; color: var(--text-muted); }

.next-step {
  border-left: 4px solid var(--band);
  background: #fffdf5;
  border-radius: 0 12px 12px 0;
  padding: 0.85rem 1rem;
}
.next-step-lbl {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--pool-900);
}
.next-band {
  text-transform: none; letter-spacing: 0; font-weight: 600;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.next-band::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--nb); }
.next-step p { margin: 0.35rem 0 0; font-size: 0.92rem; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--pool-900);
  color: rgba(255,255,255,0.5);
  padding: 1.5rem;
  font-size: 0.78rem;
}
footer .footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
footer a { color: var(--pool-300); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── SHARED (account pages) ──────────────────── */
.login-wrap-single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.form-ok {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--ok-bg); color: var(--ok);
  border: 1px solid #c8e6c9; border-radius: 10px;
  padding: 0.75rem 1rem; font-size: 0.875rem; margin-bottom: 1.25rem;
}
.field small { font-weight: 400; color: var(--text-muted); }
.muted, .muted-note { color: var(--text-muted); }
.muted-note { font-size: 0.875rem; margin: 0.5rem 0; }
.empty-state { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.empty-state wa-icon { font-size: 1.75rem; color: var(--pool-700); }
.empty-state p { margin: 0; }
.badge-off { background: #eceff1; color: #546e7a; }

/* ── STAFF PORTAL ────────────────────────────── */
.admin { padding-top: 2rem; padding-bottom: 4rem; display: grid; gap: 1.25rem; align-content: start; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-head .sec-title { margin: 0; }
.admin-panel { display: grid; gap: 1rem; }
.admin-panel > p { margin: 0; }
.panel-title-gap { margin-top: 0.75rem; }
.panel-title small { font-size: 0.8rem; font-weight: 400; }
.crumbs { margin: 0; font-size: 0.875rem; }
.crumbs a, .admin-table a { color: var(--pool-700); text-decoration: none; }
.crumbs a:hover, .admin-table a:hover { text-decoration: underline; }

.admin-search { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-search input, .admin-search select {
  font: inherit; padding: 0.55rem 0.8rem; border: 1.5px solid #cfe0eb; border-radius: 10px; background: #fff;
}
.admin-search input { flex: 1 1 260px; }

.table-wrap { padding: 0.5rem 0; overflow-x: auto; }
.table-wrap > .muted-note { padding: 0 1.5rem; }
.grid-note { padding: 1rem; margin: 0; }
#parents-grid { margin-top: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); padding: 0.6rem 1rem; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-panel .admin-table th, .admin-panel .admin-table td { padding-left: 0; }
.admin-table .actions { text-align: right; white-space: nowrap; }
.row-archived td { opacity: 0.55; }
.ico-warn { color: var(--warn); vertical-align: -2px; margin-left: 0.25rem; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.field-wide { grid-column: 1 / -1; }
.field textarea { resize: vertical; min-height: 3rem; }
.check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.btn-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.btn-row form, .inline-form { display: inline; margin: 0; }
.inline-form select { font: inherit; font-size: 0.85rem; padding: 0.3rem 0.5rem; border-radius: 8px; border: 1.5px solid #cfe0eb; }
.btn-danger { color: #b71c1c; border-color: #f5c2c0; }
.btn-danger:hover { background: #fdecea; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.85rem; }
.history .muted { margin-right: 0.5rem; }
.muted-note + .muted-note { margin-top: 0; }
.child-body > .muted-note { margin: 1rem 0 0; }

/* ── TIMETABLE / PRICES / ALERTS (staff) ─────── */
.nowrap { white-space: nowrap; }
.small { font-size: 0.8rem; }
.full { color: #b71c1c; font-weight: 700; }
.table-title { padding: 0.75rem 1rem 0.25rem; font-size: 1.05rem; }
.pill, .pill-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.82rem; font-weight: 600;
  background: var(--pbg, #e3f2fd); color: var(--pfg, #1565c0); text-decoration: none; white-space: nowrap;
}
.pill-link { background: #fff; color: var(--pool-700); border: 1.5px solid var(--pool-300); }
.type-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.type-filter .pill, .type-filter .pill-link { border: 2px solid transparent; }
.type-filter .active { border-color: var(--pool-900); }

.type-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--border); }
.type-row .field { flex: 1 1 180px; }
.type-row .field-xs { flex: 0 0 90px; }
.type-preview { align-self: center; min-width: 9rem; justify-content: center; }
.type-delete { margin: -0.25rem 0 0.5rem; }
.field input[type="color"] { padding: 0.2rem; height: 2.6rem; }

.price-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.price-admin-head { display: flex; align-items: center; gap: 0.75rem; }
.price-ico-preview { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.price-title-input { font: inherit; font-size: 1.1rem; font-weight: 800; color: var(--pool-900); border: 1.5px solid transparent; border-radius: 8px; padding: 0.3rem 0.5rem; width: 100%; }
.price-title-input:hover, .price-title-input:focus { border-color: #cfe0eb; outline: none; }
.price-items { width: 100%; border-collapse: collapse; }
.price-items th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); padding-bottom: 0.25rem; }
.price-items input { font: inherit; font-size: 0.9rem; width: 100%; padding: 0.4rem 0.55rem; border: 1.5px solid #e4eef5; border-radius: 8px; }
.price-items td { padding: 0.15rem 0.2rem; }
.price-val-input { max-width: 7rem; text-align: right; }
.icon-btn { border: 0; background: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; padding: 0.25rem 0.4rem; border-radius: 6px; }
.icon-btn:hover { background: #fdecea; color: #b71c1c; }
.form-grid-tight { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.6rem; }

.level-closure { background: #fdecea; color: #b71c1c; }
.level-notice  { background: var(--warn-bg); color: var(--warn); }
.level-update  { background: #eceff1; color: #455a64; }
.level-info    { background: var(--ok-bg); color: var(--ok); }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.checks legend { font-size: 0.875rem; font-weight: 600; color: var(--pool-900); margin-bottom: 0.35rem; }
.sessions-pick summary { cursor: pointer; font-size: 0.9rem; }
.day-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-top: 0.75rem; }
.day-pick { display: grid; gap: 0.2rem; align-content: start; }
.day-all { margin-bottom: 0.2rem; }

/* parent dashboard alerts */
.dash-alert { margin-bottom: 1.25rem; position: relative; z-index: 1; }
.dash-alert p { margin: 0.25rem 0; }

/* print a session register */
@media print {
  header, footer, .crumbs, .btn, .btn-row, form, .admin-head .btn { display: none !important; }
  .panel { box-shadow: none; border: 0; padding: 0; }
  .admin { padding: 0; }
}

/* Flash messages (wa-callout) and inline row actions */
wa-callout.flash { margin: 1rem 0; }
.row-actions { display: inline-flex; gap: 0.4rem; flex-wrap: nowrap; align-items: center; justify-content: flex-end; }
.row-actions form { display: block; margin: 0; }
#add-staff { --width: min(40rem, 92vw); }
#add-staff .form-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
