:root {
  /* Brand */
  --navy: #0F172A; --blue: #185FA5; --blue-700: #134e87; --teal: #1BBFDD;
  /* Neutrals */
  --bg: #f1f5f9; --bg-soft: #f8fafc; --surface: #ffffff;
  --border: #e2e8f0; --border-soft: #eef2f7;
  --text: #0f172a; --text-2: #334155; --muted: #64748b; --muted-2: #94a3b8;
  /* Status */
  --green: #10b981; --green-700: #047857; --amber: #f59e0b; --red: #ef4444;
  --violet: #7c3aed; --cyan: #0891b2;
  /* Shape & depth */
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --sh-1: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --sh-2: 0 4px 12px rgba(15,23,42,.08);
  --sh-3: 0 10px 30px rgba(15,23,42,.12);
  --sidebar-w: 240px; --detail-w: 440px; --header-h: 60px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(27,191,221,.25); }

/* ---------- Header ---------- */
header {
  background: linear-gradient(180deg, #142036 0%, var(--navy) 100%);
  height: var(--header-h); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), var(--sh-2);
}
header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 0 24px;
}
.header-left { display: flex; align-items: center; gap: 18px; }
.logo { height: 34px; width: auto; display: block; }
.app-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: #93c5e8; background: rgba(27,191,221,.12); border: 1px solid rgba(27,191,221,.22);
  padding: 3px 9px; border-radius: 999px;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.user-chip { display: flex; align-items: center; gap: 9px; color: #cbd5e1; font-size: 13px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; letter-spacing: .3px;
}
.user-name { color: #e2e8f0; font-weight: 500; }
.nav-link {
  color: #cbd5e1; font-size: 13px; font-weight: 600; padding: 7px 13px;
  border-radius: var(--r-sm); border: 1px solid transparent; transition: all .14s;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active { background: rgba(27,191,221,.15); color: #7fdcee; border-color: rgba(27,191,221,.3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.08); color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: all .14s;
}
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Layout ---------- */
.layout { display: flex; height: calc(100vh - var(--header-h)); overflow: hidden; }
.sidebar {
  width: var(--sidebar-w); background: var(--surface);
  border-right: 1px solid var(--border); padding: 22px 16px;
  overflow-y: auto; flex-shrink: 0; display: flex; flex-direction: column; gap: 26px;
}
.sidebar-section { display: flex; flex-direction: column; gap: 4px; }
.sidebar-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.select-input {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 13px; background: var(--bg-soft);
  color: var(--text); cursor: pointer; transition: border-color .14s, box-shadow .14s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px;
}
.select-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }
.filter-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; padding: 8px 11px; border: 1px solid transparent;
  border-radius: var(--r-sm); background: none; color: var(--text-2);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .12s;
}
.filter-btn:hover { background: var(--bg-soft); color: var(--text); }
.filter-btn.active {
  background: rgba(24,95,165,.09); color: var(--blue); font-weight: 600;
  border-color: rgba(24,95,165,.18);
}
.filter-btn .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.filter-btn .label { flex: 1; display: flex; align-items: center; gap: 8px; }

/* ---------- Main content ---------- */
.main-content { flex: 1; overflow-y: auto; padding: 26px 28px; }
.page-head { margin-bottom: 20px; }
.page-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; color: var(--navy); }
.page-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 12px; flex-wrap: wrap;
}
.result-count { font-size: 13px; color: var(--muted); font-weight: 500; }
.result-count b { color: var(--text); font-weight: 700; }
.btn-refresh {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border-radius: var(--r-sm); font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--surface); color: var(--text-2); border: 1px solid var(--border);
  transition: all .14s;
}
.btn-refresh:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--sh-1); }

/* ---------- Submission cards ---------- */
.submission-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.sub-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 15px 18px 15px 20px; cursor: pointer;
  box-shadow: var(--sh-1); transition: transform .12s, border-color .12s, box-shadow .12s;
  overflow: hidden;
}
.sub-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--muted-2);
}
.sub-card.t-contact::before     { background: var(--cyan); }
.sub-card.t-appointment::before { background: var(--amber); }
.sub-card.t-referral::before    { background: var(--violet); }
.sub-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); transform: translateY(-1px); }
.sub-card.is-open { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }
.sub-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sub-name { font-weight: 700; font-size: 15px; color: var(--navy); display: flex; align-items: center; gap: 9px; }
.sub-name .new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.sub-meta { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.sub-detail-row { font-size: 13px; color: var(--text-2); margin-top: 7px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sub-detail-row .sep { color: var(--border); }
.sub-detail-row.muted { color: var(--muted); font-size: 12px; margin-top: 5px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  border: 1px solid transparent;
}
.badge-new        { background: rgba(16,185,129,.12); color: var(--green-700); border-color: rgba(16,185,129,.22); }
.badge-actioned   { background: rgba(100,116,139,.1); color: var(--muted); border-color: rgba(100,116,139,.18); }
.badge-contact    { background: rgba(8,145,178,.1);  color: var(--cyan);   border-color: rgba(8,145,178,.2); }
.badge-appointment{ background: rgba(245,158,11,.12); color: #b45309;       border-color: rgba(245,158,11,.25); }
.badge-referral   { background: rgba(124,58,237,.1);  color: var(--violet); border-color: rgba(124,58,237,.2); }
.badge-admin      { background: rgba(24,95,165,.1);   color: var(--blue);   border-color: rgba(24,95,165,.22); }

/* ---------- Detail panel ---------- */
.detail-panel {
  width: var(--detail-w); background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden; box-shadow: -8px 0 24px rgba(15,23,42,.06);
}
.detail-panel.hidden { display: none; }
.detail-header {
  padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.detail-header h2 { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -.2px; }
.detail-header .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.close-btn {
  background: var(--bg-soft); border: 1px solid var(--border); width: 30px; height: 30px;
  border-radius: var(--r-sm); font-size: 14px; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .14s;
}
.close-btn:hover { background: #fee2e2; color: var(--red); border-color: #fecaca; }
.detail-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field-group { display: flex; flex-direction: column; gap: 3px; }
.field-group.full { grid-column: 1 / -1; }
.field-label { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.field-value { font-size: 14px; color: var(--text); word-break: break-word; }
.field-value.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--text-2); }
.field-value a { color: var(--blue); font-weight: 500; }
.section-divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ---------- Action bar + notes ---------- */
.action-bar {
  position: sticky; bottom: 0; background: var(--surface);
  padding: 14px 0 4px; margin-top: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.actioned-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--green-700); font-weight: 700; font-size: 13px; }
.notes-section { margin-top: 22px; }
.notes-head { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.note-item { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--r-sm); padding: 11px 13px; margin-bottom: 9px; }
.note-author { font-size: 11.5px; color: var(--muted); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.note-author .who { color: var(--text-2); font-weight: 600; }
.note-body { font-size: 13px; color: var(--text); white-space: pre-wrap; }
.note-empty { color: var(--muted-2); font-size: 13px; font-style: italic; }
.note-form { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.note-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 13px; font-family: inherit; resize: vertical; min-height: 76px; transition: border-color .14s, box-shadow .14s;
}
.note-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 17px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .14s; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--blue-700); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--sh-1); }
.btn-green:hover { background: var(--green-700); }
.btn-outline { background: var(--surface); color: var(--text-2); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- States ---------- */
.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-state .icon { font-size: 38px; margin-bottom: 12px; opacity: .8; }
.empty-state .title { font-weight: 700; color: var(--text-2); font-size: 15px; margin-bottom: 4px; }
.spinner {
  width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Admin page ---------- */
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 28px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh-1); }
.stat-card .v { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.stat-card .k { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.stat-card.accent { border-left: 4px solid var(--blue); }

.admin-grid { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .admin-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head h2 { font-size: 15px; font-weight: 800; color: var(--navy); }
.panel-body { padding: 8px; }

.search-box { position: relative; }
.search-box input {
  width: 100%; padding: 9px 12px 9px 34px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 13px; font-family: inherit; background: var(--bg-soft); transition: border-color .14s, box-shadow .14s;
}
.search-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); background: #fff; }
.search-box svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }

.user-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm);
  cursor: pointer; transition: background .12s; border: 1px solid transparent;
}
.user-row:hover { background: var(--bg-soft); }
.user-row.selected { background: rgba(24,95,165,.07); border-color: rgba(24,95,165,.2); }
.user-row .avatar { width: 34px; height: 34px; font-size: 13px; }
.user-row .meta { flex: 1; min-width: 0; }
.user-row .email { font-weight: 600; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-row .sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.pcount { font-size: 12px; font-weight: 700; color: var(--blue); background: rgba(24,95,165,.08); padding: 3px 9px; border-radius: 999px; flex-shrink: 0; }

/* Practice editor panel */
.editor-empty { padding: 50px 24px; text-align: center; color: var(--muted-2); }
.editor-empty .icon { font-size: 34px; margin-bottom: 10px; opacity: .7; }
.editor-user { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 11px; }
.editor-user .meta { min-width: 0; }
.editor-user .email { font-weight: 700; font-size: 14px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-user .sub { font-size: 12px; color: var(--muted); }
.editor-section { padding: 16px 20px; }
.editor-section .lbl { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.chk-list { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.chk {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm);
  cursor: pointer; transition: background .12s; font-size: 13px;
}
.chk:hover { background: var(--bg-soft); }
.chk input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.chk .pid { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--text-2); word-break: break-all; }
.chk.on { background: rgba(24,95,165,.06); }
.chk.on .pid { color: var(--navy); font-weight: 600; }
.add-row { display: flex; gap: 8px; margin-top: 12px; }
.add-row input { flex: 1; padding: 8px 11px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 12.5px; font-family: ui-monospace, monospace; }
.add-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }
.editor-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; background: var(--bg-soft); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; box-shadow: var(--sh-3); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 200; display: flex; align-items: center; gap: 9px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: #b91c1c; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.toast.err .dot { background: #fca5a5; }

/* Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

/* ---------- Avatar dropdown menu ---------- */
.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 9px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 5px 10px 5px 6px; border-radius: 999px; color: #e2e8f0;
  font-family: inherit; font-size: 13px; transition: background .14s, border-color .14s;
}
.user-chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.user-chip .chev { color: #94a3b8; transition: transform .18s; }
.user-menu.open .user-chip .chev { transform: rotate(180deg); }
.menu-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 6px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.user-menu.open .menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--border-soft); margin-bottom: 6px; }
.menu-name { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.menu-email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background .12s, color .12s;
}
.menu-item:hover { background: var(--bg-soft); color: var(--navy); }
.menu-item svg { color: var(--muted); flex-shrink: 0; }
.menu-item:hover svg { color: var(--blue); }
.menu-item.danger:hover { background: #fef2f2; color: var(--red); }
.menu-item.danger:hover svg { color: var(--red); }

/* practice id shown under a name */
.chk .pid-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.chk .pid-name .nm { font-size: 13px; color: var(--text); font-family: Inter, system-ui, sans-serif; }
.chk.on .pid-name .nm { color: var(--navy); font-weight: 600; }
.chk .pid-name .id { font-size: 11px; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Status filters + counts ---------- */
#statusFilters { display: flex; flex-direction: column; gap: 1px; }
.filter-btn .cnt {
  font-size: 11px; font-weight: 700; color: var(--muted); background: var(--bg-soft);
  border-radius: 999px; padding: 1px 7px; min-width: 20px; text-align: center;
}
.filter-btn.active .cnt { background: rgba(24,95,165,.14); color: var(--blue); }
.filter-btn.grp-head { font-weight: 700; color: var(--text); margin-top: 6px; }
.filter-btn.sub { padding-left: 20px; font-size: 12.5px; }
.filter-btn.sub .label { font-weight: 500; }

/* ---------- Status bar in detail panel ---------- */
.status-bar { display: flex; flex-direction: column; gap: 7px; }
.status-select {
  width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; font-family: inherit; color: var(--navy);
  background: var(--bg-soft); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23185FA5' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px;
}
.status-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,95,165,.12); }
.status-meta { font-size: 11.5px; color: var(--muted); }

/* ---------- Admin danger zone (delete) ---------- */
.danger-zone {
  margin-top: 22px; padding: 14px 16px; border: 1px solid #fecaca;
  background: #fef2f2; border-radius: var(--r); display: flex; flex-direction: column; gap: 8px;
}
.dz-label { font-size: 10.5px; font-weight: 700; color: #b91c1c; text-transform: uppercase; letter-spacing: .8px; }
.dz-note { font-size: 11.5px; color: #b91c1c; }
.btn-danger { background: #dc2626; color: #fff; align-self: flex-start; }
.btn-danger:hover { background: #b91c1c; }
