/* ===================================================================
   BNI Cutting Edge — Admin styles
   Standalone from styles.css: the admin is a dense, utilitarian UI and
   only borrows the brand palette.
   =================================================================== */

:root {
  --red: #cf122c;
  --red-dark: #a20d22;
  --black: #22242b;
  --ink: #2b2f38;
  --muted: #6b7280;
  --line: #e3e6ec;
  --bg: #f4f6f9;
  --panel: #ffffff;
  --green: #12805c;
  --green-bg: #e6f5f0;
  --amber: #a5620d;
  --amber-bg: #fdf3e3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }

body.admin {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
}

a { color: var(--red); }

/* ---------- Shell ---------- */
.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 236px;
  flex: 0 0 236px;
  background: var(--black);
  color: #fff;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.admin-brand .brand-mark {
  background: var(--red); color: #fff; font-family: Montserrat, sans-serif; font-weight: 800;
  padding: 6px 9px; border-radius: 6px; letter-spacing: .5px; font-size: 14px;
}
.admin-brand strong { display: block; font-family: Montserrat, sans-serif; font-size: 15px; }
.admin-brand small { color: #9aa1b1; font-size: 11px; }

.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
  color: #79808f; margin: 14px 0 4px 10px; font-weight: 600;
}
.admin-nav a {
  color: #d5d8e0; text-decoration: none; padding: 8px 10px; border-radius: 7px;
  font-size: 14px; display: flex; align-items: center; gap: 9px; transition: background .12s, color .12s;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.is-active { background: var(--red); color: #fff; font-weight: 500; }

.admin-sidebar-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.admin-whoami { font-size: 12.5px; color: #9aa1b1; margin-bottom: 8px; }
.admin-whoami strong { color: #fff; display: block; font-size: 13.5px; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.admin-topbar {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.admin-topbar h1 { font-family: Montserrat, sans-serif; font-size: 19px; margin: 0; }
.admin-topbar .sub { color: var(--muted); font-size: 13px; margin: 2px 0 0; }

.admin-content { padding: 24px 28px 48px; }

/* ---------- Panels & tables ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.panel + .panel { margin-top: 20px; }
.panel-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.panel-head h2 { font-family: Montserrat, sans-serif; font-size: 15px; margin: 0; }
.panel-body { padding: 18px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; font-weight: 600;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr.is-inactive td { background: #fcfcfd; color: var(--muted); }
table.data tr.is-inactive .cell-title { color: var(--muted); }
.cell-title { font-weight: 600; color: var(--black); }
.cell-sub { color: var(--muted); font-size: 12.5px; }
.cell-actions { text-align: right; white-space: nowrap; }
.cell-actions form { display: inline; }

/* ---------- Badges ---------- */
.badge-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.badge-active { background: var(--green-bg); color: var(--green); }
.badge-inactive { background: #eef0f4; color: var(--muted); }
.badge-admin { background: #fdeaed; color: var(--red-dark); }
.badge-leadership { background: #eaf0fd; color: #2a4a8f; }
.badge-live { background: var(--green-bg); color: var(--green); }
.badge-draft { background: var(--amber-bg); color: var(--amber); }
.badge-past { background: #eef0f4; color: var(--muted); }
.visitor-step form { display: inline; }
.visitor-step .badge-pill.step-toggle { cursor: pointer; border: 0; font-family: inherit; }
.badge-type {
  background: #f1f3f7; color: var(--ink); text-transform: uppercase;
  font-size: 10.5px; letter-spacing: .06em;
}
/* Speaking-slot roles, colour-coded so the slots read apart at a glance.
   Modifiers on .badge-type, keyed by SpeakerRole::value. */
.badge-role-member-presentation { background: #fdeaed; color: var(--red-dark); }
.badge-role-education-moment { background: var(--amber-bg); color: var(--amber); }
.badge-role-core-values { background: var(--green-bg); color: var(--green); }
/* Past slots sit in muted rows; drop the badges back so they don't shout. */
tr.is-inactive .badge-role-member-presentation { background: #f7eaec; color: #b8737e; }
tr.is-inactive .badge-role-education-moment { background: #f6f1e8; color: #b39866; }
tr.is-inactive .badge-role-core-values { background: #eef5f2; color: #6fa591; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: 7px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-decoration: none; transition: background .12s, border-color .12s, color .12s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: #c3c9d4; background: #fafbfc; }
.btn-danger { background: #fff; border-color: #f0c4cb; color: var(--red-dark); }
.btn-danger:hover { background: #fdeaed; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 13px; text-decoration: none; font-weight: 500;
}
.filters .chip:hover { border-color: #c3c9d4; }
.filters .chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.filters input[type="search"] {
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px;
  font-family: inherit; font-size: 13.5px; min-width: 210px;
}

/* ---------- Stat cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.stat-card .value { font-family: Montserrat, sans-serif; font-size: 27px; font-weight: 800; color: var(--black); line-height: 1.1; }
.stat-card .label { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.stat-card.accent .value { color: var(--red); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }

form.app-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
form.app-form input[type="text"],
form.app-form input[type="email"],
form.app-form input[type="password"],
form.app-form input[type="url"],
form.app-form input[type="date"],
form.app-form input[type="time"],
form.app-form input[type="number"],
form.app-form select,
form.app-form textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px;
  font-family: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
form.app-form input:focus, form.app-form select:focus, form.app-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(207, 18, 44, .12);
}
form.app-form textarea { resize: vertical; }
form.app-form .help { color: var(--muted); font-size: 12px; margin-top: 4px; }

.check-row { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; }
.check-row input[type="checkbox"] { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.check-row label { margin: 0; font-weight: 500; font-size: 13.5px; }

.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-actions .spacer { flex: 1; }

ul.form-errors { list-style: none; margin: 5px 0 0; padding: 0; }
ul.form-errors li { color: var(--red-dark); font-size: 12.5px; }

/* ---------- Flash & alerts ---------- */
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.flash-success { background: var(--green-bg); color: var(--green); border-color: #bfe4d8; }
.flash-error { background: #fdeaed; color: var(--red-dark); border-color: #f4c8cf; }

.empty-state { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty-state p { margin: 0 0 14px; }

/* ---------- Login ---------- */
body.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px; background: var(--black);
}
.login-card {
  background: #fff; border-radius: 14px; padding: 32px; width: 100%; max-width: 396px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.login-card .admin-brand { color: var(--black); justify-content: center; margin-bottom: 6px; }
.login-card .admin-brand small { color: var(--muted); }
.login-card h1 { font-family: Montserrat, sans-serif; font-size: 19px; text-align: center; margin: 14px 0 22px; }
.login-card .field { margin-bottom: 15px; }
.login-card .btn { width: 100%; text-align: center; margin-top: 4px; }
.login-back { display: block; text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.login-back a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; flex: none; flex-direction: column; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav-label { display: none; }
  .admin-sidebar-foot { margin-top: 14px; }
  .admin-content { padding: 18px 16px 40px; }
  .admin-topbar { padding: 14px 16px; }
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr { border-bottom: 1px solid var(--line); padding: 12px 4px; }
  table.data td { border: 0; padding: 4px 10px; }
  .cell-actions { text-align: left; padding-top: 10px; }
}

/* ---------- Speaker rotation ---------- */
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select {
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px;
  font-family: inherit; font-size: 13.5px; background: #fff;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Meeting format, colour-coded so a glance down the rotation shows the pattern:
   red for in person (1st & 3rd Tuesday), grey for online. */
.badge-inperson { background: var(--red); color: #fff; }
.badge-online   { background: #e4e7ec; color: #4b5563; }

/* Stripe down the left of each row, so the alternation is readable without
   stopping to read every badge. */
.schedule-table tbody tr { border-left: 4px solid transparent; }
.schedule-table tbody tr.format-in-person { border-left-color: var(--red); }
.schedule-table tbody tr.format-online    { border-left-color: #c8cdd6; }
.schedule-table tbody tr.format-in-person td:first-child { background: #fff7f8; }

/* Past and cancelled rows keep the coding, muted so live weeks stay prominent. */
.schedule-table tbody tr.is-inactive { border-left-color: #dfe3ea; }
.schedule-table tbody tr.is-inactive td:first-child { background: transparent; }
.schedule-table tbody tr.is-inactive .badge-inperson { background: #f0c4cb; color: #fff; }
.schedule-table tbody tr.is-inactive .badge-online { background: #eef0f4; color: var(--muted); }
.badge-locked   { background: #f1f3f7; color: var(--muted); }

.schedule-table td { vertical-align: top; }

.slot { display: flex; flex-direction: column; gap: 5px; }
.slot-name { font-weight: 600; color: var(--black); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slot-empty { color: var(--amber); font-weight: 600; }
/* The Core Value a week's Core Values slot covers. */
.slot-topic { margin-top: 4px; }
.badge-core-value { background: var(--green-bg); color: var(--green); }
.schedule-table tbody tr.is-inactive .badge-core-value { background: #eef5f2; color: #6fa591; }

.slot-edit summary {
  cursor: pointer; color: var(--muted); font-size: 12.5px;
  font-weight: 500; list-style: none; width: fit-content;
}
.slot-edit summary::-webkit-details-marker { display: none; }
.slot-edit summary::before { content: "✎ "; }
.slot-edit summary:hover { color: var(--red); }
.slot-edit[open] summary { margin-bottom: 8px; }

.slot-edit-body {
  display: flex; flex-direction: column; gap: 12px;
  padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc;
  min-width: 210px;
}

.stacked-form { display: flex; flex-direction: column; gap: 5px; }
.stacked-form label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.stacked-form select {
  padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 13px; background: #fff; max-width: 260px;
}
.stacked-form .btn { align-self: flex-start; }

/* Circular member headshot (admin/_avatar.html.twig). Callers set --avatar-size. */
.avatar-circle {
  width: var(--avatar-size, 28px); height: var(--avatar-size, 28px);
  flex: 0 0 var(--avatar-size, 28px);
  border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.avatar-circle.is-initials {
  display: grid; place-items: center; border-color: transparent;
  color: #fff; font-family: Montserrat, sans-serif; font-weight: 700;
  font-size: calc(var(--avatar-size, 28px) * .4); line-height: 1;
}
/* Member cell in the roster table: headshot beside the name/email stack. */
.member-cell { display: flex; align-items: center; gap: 10px; }
.is-inactive .avatar-circle { opacity: .55; }

/* Next-up widget on the dashboard */
.next-up { display: flex; flex-direction: column; }
.next-up-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.next-up-row:last-child { border-bottom: 0; }
.next-up-date { flex: 0 0 96px; }
.next-up-date .d { font-family: Montserrat, sans-serif; font-weight: 700; color: var(--black); font-size: 14px; }
.next-up-speakers { display: flex; gap: 22px; flex-wrap: wrap; flex: 1; }
.next-up-speakers .who { font-size: 13.5px; }
.next-up-speakers .who .role {
  display: block; font-size: 10.5px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); font-weight: 600;
}
.next-up-speakers .who .unfilled { color: var(--amber); font-weight: 600; }
.next-up-speakers .who-person { display: inline-flex; align-items: center; gap: 7px; }
.next-up-speakers { --avatar-size: 24px; }

.next-meeting + .stat-grid { margin-top: 20px; }
.next-meeting-body { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.next-meeting-when { display: flex; flex-direction: column; gap: 3px; }
.next-meeting-when .day { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 19px; color: var(--black); }
.next-meeting-when .time { font-size: 14px; color: var(--ink); }
.next-meeting-where { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; max-width: 100%; }
.next-meeting-where .zoom-url { word-break: break-all; }
.next-meeting-speakers { flex: 1 0 100%; padding-top: 14px; border-top: 1px solid var(--line); --avatar-size: 28px; }

@media (max-width: 860px) {
  .schedule-table td { padding: 6px 10px; }
  .next-up-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .next-meeting-where { align-items: flex-start; text-align: left; }
}

/* Balance table: same red/grey coding as the schedule rows above it. */
table.data th.col-inperson { color: var(--red-dark); }
table.data td.col-inperson { color: var(--red-dark); font-weight: 600; }
table.data th.col-online,
table.data td.col-online { color: #4b5563; }
table.data td.col-inperson,
table.data td.col-online { box-shadow: inset 3px 0 0 #eef0f4; }

/* ---------- Presentation slides ---------- */
.slides { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.slides-current { display: flex; flex-direction: column; gap: 1px; }
.slides-file {
  font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--red); word-break: break-word;
}
.slides-file:hover { text-decoration: underline; }
.slides-none { font-style: italic; }

.slot-edit-body input[type="file"] {
  font-family: inherit; font-size: 12.5px; max-width: 240px;
  padding: 7px; border: 1px dashed var(--line); border-radius: 6px; background: #fff;
}
.slot-edit-body input[type="file"]::file-selector-button {
  font-family: inherit; font-size: 12px; margin-right: 8px; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 5px; background: #fafbfc;
  color: var(--ink); cursor: pointer;
}
.slot-edit-body input[type="file"]::file-selector-button:hover { border-color: #c3c9d4; }

/* Prospect outreach: good-fit tag and Contacted tick on search results. */
.outreach { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.outreach form { margin: 0; }
.outreach .badge-pill.outreach-fit { cursor: pointer; border: 0; font-family: inherit; }
.outreach .outreach-fit:disabled { cursor: not-allowed; opacity: .7; }
.outreach-contacted { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.outreach-contacted input { width: 15px; height: 15px; margin: 0; accent-color: var(--red); }
.outreach-contacted.is-disabled { color: var(--muted); cursor: not-allowed; }
.outreach-error { font-size: 12.5px; color: var(--red-dark); max-width: 220px; }

/* Help page: prose inside panels. */
.help { font-size: 14px; line-height: 1.6; }
.help > :first-child { margin-top: 0; }
.help > :last-child { margin-bottom: 0; }
.help h3 { font-family: Montserrat, sans-serif; font-size: 13.5px; margin: 20px 0 6px; color: var(--black); }
.help ol, .help ul { padding-left: 22px; }
.help li + li { margin-top: 4px; }
.help code { font-size: 12.5px; background: #f1f3f7; padding: 1px 5px; border-radius: 4px; }
.help-toc { columns: 2; margin: 0; }
.help-tip {
  background: #fafbfc; border-left: 3px solid var(--line);
  padding: 10px 14px; color: var(--muted); font-size: 13px;
}
[id].panel { scroll-margin-top: 16px; }
@media (max-width: 640px) { .help-toc { columns: 1; } }

/* Dues: sidebar badge, dashboard reminder, member pay page and treasurer ledger. */
.nav-badge {
  margin-left: auto; background: var(--amber-bg); color: var(--amber);
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
}
.dues-reminder {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius);
  background: #fafbfc; border: 1px solid var(--line); font-size: 14px;
}
.dues-reminder.is-due { background: var(--amber-bg); border-color: #f1dcb8; }
.dues-reminder strong { display: block; color: var(--black); margin-bottom: 2px; }
.dues-reminder span { color: var(--ink); }
.dues-layout { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 20px; align-items: start; }
.dues-layout .panel + .panel { margin-top: 0; }
.dues-side { display: flex; flex-direction: column; gap: 20px; }
.dues-qr .panel-body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dues-qr img { width: 100%; height: auto; max-width: 300px; border-radius: 8px; border: 1px solid var(--line); }
.dues-status { list-style: none; margin: 0; padding: 0; }
.dues-status li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.dues-status li + li { border-top: 1px solid var(--line); }
.dues-status strong { display: block; color: var(--black); }
.dues-ledger th.is-current { color: var(--black); background: #f3f5f8; }
.dues-ledger td.is-current { background: #fafbfc; }
.dues-ledger form { margin: 0; }
.dues-toggle { cursor: pointer; border: 0; font-family: inherit; white-space: nowrap; }
.dues-toggle.badge-past:hover { background: #e3e6ec; color: var(--ink); }
.dues-q-mobile { display: none; }
@media (max-width: 860px) {
  .dues-layout { grid-template-columns: 1fr; }
  .dues-ledger td form { display: flex; align-items: center; gap: 10px; }
  .dues-q-mobile { display: inline; min-width: 64px; font-size: 12.5px; color: var(--muted); }
}
.dues-amount { margin: 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 28px; color: var(--black); }
.dues-amount span { font-family: Inter, sans-serif; font-weight: 500; font-size: 14px; color: var(--muted); }

/* ---------- Meeting notes ---------- */
.notes-list a.cell-title { text-decoration: none; }
.notes-list a.cell-title:hover { color: var(--red); }
.note-body { white-space: normal; line-height: 1.65; overflow-wrap: anywhere; }
.note-replies { list-style: none; margin: 0; padding: 0; --avatar-size: 34px; }
.note-reply { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.note-reply:target { background: #fffaf0; }
.note-reply-main { flex: 1; min-width: 0; }
.note-reply-meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.note-reply-meta strong { color: var(--black); font-size: 14px; }
.note-reply-meta form { margin: 0 0 0 auto; }
.note-reply-body { margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }
.note-reply-form .form-actions { margin-top: 12px; padding-top: 0; border-top: 0; }
.note-danger { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note-danger p, .note-danger form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.link-button:hover { color: var(--red-dark); text-decoration: underline; }
