:root {
  --navy: #0F2A43;
  --navy-deep: #0A1E30;
  --gold: #C9A227;
  --gold-soft: #E9D9A8;
  --gold-deep: #9C7C1E;
  --cream: #F7F4EC;
  --paper: #FFFFFF;
  --ink: #1B1F27;
  --muted: #5A6070;
  --line: #E3DFD2;
  --white: #FFFFFF;
  --success: #2E7D4F;
  --error: #B3452B;
  --radius-lg: 14px;
  --radius-md: 8px;
  --shadow-card: 0 1px 2px rgba(15,42,67,0.05), 0 12px 32px -8px rgba(15,42,67,0.14);
  --shadow-soft: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.06);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 480px at 15% -10%, rgba(201,162,39,0.07), transparent 60%),
    var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; margin: 0; font-weight: 600; letter-spacing: -0.01em; }

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

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 34px 24px 30px;
  position: relative;
  overflow: hidden;
}
.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 260px at 88% 0%, rgba(233,217,168,0.14), transparent 65%);
  pointer-events: none;
}
.topbar-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.topbar .eyebrow {
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.topbar h1 {
  color: var(--white);
  font-size: clamp(24px, 3.2vw, 30px);
  margin-top: 8px;
  line-height: 1.2;
}
.topbar p {
  color: #C7D0DB;
  font-size: 14.5px;
  margin: 10px 0 0;
  max-width: 50ch;
  line-height: 1.6;
}

/* ---------- Stepper ---------- */
.stepper {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 24px 0;
  display: flex;
  gap: 4px;
  position: relative;
}
.stepper .step {
  flex: 1;
  text-align: center;
  position: relative;
}
.stepper .step::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.stepper .step:first-child::before { display: none; }
.stepper .step.done::before, .stepper .step.active::before { background: var(--gold-soft); }
.stepper .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  position: relative;
  z-index: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.stepper .step.active .dot {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.18);
}
.stepper .step.done .dot {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.stepper .label {
  font-size: 12px;
  color: var(--muted);
  display: none;
}
.stepper .step.active .label { color: var(--navy); font-weight: 600; }

@media (min-width: 640px) {
  .stepper .label { display: block; }
}

/* Mobile compact progress */
.mobile-progress {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 24px 0;
  display: none;
}
.mobile-progress .track {
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.mobile-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 3px;
  transition: width .3s ease;
}
.mobile-progress .text {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
  font-weight: 500;
}
@media (max-width: 639px) {
  .stepper { display: none; }
  .mobile-progress { display: block; }
}

/* ---------- Card ---------- */
.wrap {
  max-width: 800px;
  margin: 22px auto 64px;
  padding: 0 24px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15,42,67,0.06);
  border-top: 3px solid var(--gold);
}
.card.step-enter {
  animation: card-in .32s ease;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.card h2 {
  font-size: 21px;
  color: var(--navy);
}
.card .subtitle {
  color: var(--muted);
  font-size: 14.5px;
  margin: 7px 0 26px;
}

/* ---------- Fields ---------- */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 20px;
}
@media (min-width: 640px) {
  .fields-grid { grid-template-columns: 1fr 1fr; }
  .fields-grid .field-wide { grid-column: 1 / -1; }
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field .req { color: var(--gold-deep); margin-left: 3px; }

input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 92px; resize: vertical; line-height: 1.5; }

input::placeholder, textarea::placeholder { color: #A8AEB9; }

input:hover, select:hover, textarea:hover { border-color: #CBC4AF; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.16);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6070' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-group label, .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.radio-group label:hover, .checkbox-group label:hover { border-color: var(--gold-soft); background: #FDFBF4; }
.radio-group label:has(input:checked), .checkbox-group label:has(input:checked) {
  border-color: var(--gold);
  background: #FBF4E1;
  color: var(--navy);
}
.radio-group input, .checkbox-group input { margin: 0; accent-color: var(--gold-deep); }

.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.error-text { font-size: 13px; color: var(--error); margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .error-text { display: block; }

/* Conditionally shown field */
[data-show-if] { display: none; }
[data-show-if].visible { display: block; }

/* ---------- Nav buttons ---------- */
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.btn {
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}
.btn-primary {
  background: linear-gradient(160deg, #D8B84A, var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 4px 14px -4px rgba(201,162,39,0.55);
}
.btn-primary:hover { background: var(--gold-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn-secondary:hover { background: #F1EFE7; border-color: #CBC4AF; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

@media (max-width: 480px) {
  .form-nav { flex-direction: column-reverse; }
  .btn { width: 100%; }
}

/* ---------- Small phones ---------- */
@media (max-width: 420px) {
  .topbar { padding: 26px 18px 24px; }
  .stepper, .mobile-progress, .wrap { padding-left: 16px; padding-right: 16px; }
  .card { padding: 24px 18px; border-radius: 12px; }
  .card h2 { font-size: 19px; }
}

/* ---------- Tablets & up: a touch more room to breathe ---------- */
@media (min-width: 900px) {
  .wrap { margin-top: 30px; }
  .card { padding: 40px 44px; }
  .fields-grid { column-gap: 24px; }
}

/* ---------- Thank-you page ---------- */
.thanks-card {
  text-align: center;
  padding: 56px 32px;
}
.thanks-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, #3C9563, var(--success));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 28px;
  box-shadow: 0 6px 18px -4px rgba(46,125,79,0.4);
}
.thanks-card h2 { font-size: 22px; color: var(--navy); }
.thanks-card .subtitle { max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- Admin ---------- */
.icon { width: 16px; height: 16px; flex-shrink: 0; }

.admin-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(10,30,48,0.25);
}
.admin-header-brand { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8912198 100%);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.admin-header-user { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.user-chip { display: flex; align-items: center; gap: 6px; color: #C7D0DB; }
.user-chip .icon { color: var(--gold-soft); }
.admin-header a.logout-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 5px;
  border: 1px solid rgba(233,217,168,0.3);
  transition: background .15s ease, border-color .15s ease;
}
.admin-header a.logout-link:hover { background: rgba(233,217,168,0.1); border-color: var(--gold-soft); }
.admin-header a { color: var(--gold-soft); text-decoration: none; }

.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 26px 28px 64px; }

.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.breadcrumb .crumb-sep { color: var(--line); }
.breadcrumb .crumb-current { color: var(--navy); font-weight: 600; }

.page-title-row { margin-bottom: 22px; }
.page-title { font-size: 25px; color: var(--navy); }
.page-subtitle { color: var(--muted); font-size: 14px; margin: 4px 0 0; }

.stat-row { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 18px 20px;
  flex: 1;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(15,42,67,0.06), 0 10px 24px rgba(15,42,67,0.08); }
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon-navy { background: rgba(15,42,67,0.08); color: var(--navy); }
.stat-icon-gold { background: rgba(201,162,39,0.14); color: #9C7C1E; }
.stat-num { font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.stat-label { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.login-card {
  max-width: 380px;
  margin: 80px auto;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 32px 28px;
}

/* ---------- Filter bar ---------- */
.filter-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  border: 1px solid var(--line);
}
.filter-field { position: relative; }
.filter-search { flex: 1; min-width: 240px; }
.filter-search input { padding-left: 38px !important; }
.filter-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.filter-select { position: relative; }
.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  min-width: 200px;
}
.filter-select .select-caret {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}
.filter-card input[type="text"], .filter-card select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.filter-card input[type="text"]:focus, .filter-card select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,42,67,0.10);
}
.btn-compact { padding: 10px 20px; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.clear-link { font-size: 13px; color: var(--muted); text-decoration: underline; white-space: nowrap; transition: color .15s ease; }
.clear-link:hover { color: var(--navy); }

/* ---------- Empty state ---------- */
.empty-state {
  background: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
  box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  border: 1px solid var(--line);
}
.empty-state .empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state .empty-icon svg { width: 26px; height: 26px; }
.empty-state .empty-title { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.empty-state p { margin: 4px 0; }

/* ---------- Chamber groups (pure-CSS collapsible, no native <details> markers) ---------- */
.chamber-group { margin-bottom: 18px; }
.chamber-toggle { position: absolute; opacity: 0; pointer-events: none; }
.chamber-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  border: 1px solid var(--line);
  transition: background .15s ease;
}
.chamber-group-header:hover { background: #FCFBF7; }
.chamber-name { display: flex; align-items: center; gap: 10px; }
.chamber-caret { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; transition: transform .2s ease; }
.chamber-toggle:checked ~ .chamber-group-header .chamber-caret { transform: rotate(90deg); }
.chamber-count {
  font-weight: 600;
  font-size: 12px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.chamber-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .22s ease;
}
.chamber-body > .table-card { overflow: hidden; margin-top: 10px; }
.chamber-toggle:not(:checked) ~ .chamber-body { grid-template-rows: 0fr; }
.chamber-toggle:not(:checked) ~ .chamber-body > .table-card { margin-top: 0; }
.chamber-body > * { min-height: 0; }

.table-card {
  background: var(--white);
  border-radius: 10px;
  overflow: auto;
  box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  border: 1px solid var(--line);
}
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  white-space: wrap;
}
table.data tr:last-child td { border-bottom: none; }
table.data th { background: var(--cream); color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
table.data tbody tr { transition: background .12s ease; }
table.data tbody tr:hover td { background: #FAFAF6; }
.col-muted { color: var(--muted); }

.contact-cell { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.view-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.view-link svg { width: 13px; height: 13px; }
.view-link:hover { background: var(--cream); border-color: var(--gold); }

.row-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  flex-shrink: 0;
}
.edit-link svg { width: 14px; height: 14px; }
.edit-link:hover { background: var(--cream); border-color: var(--gold); color: var(--navy); }

.tag { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.tag-yes { background: #E4F1E9; color: var(--success); }
.tag-no { background: #F2E7E2; color: var(--error); }

.detail-section { margin-bottom: 22px; }
.detail-section h3 { color: var(--navy); font-size: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.detail-row { display: flex; gap: 16px; padding: 6px 0; font-size: 14px; }
.detail-row .k { width: 260px; flex-shrink: 0; color: var(--muted); }
.detail-row .v { flex: 1; white-space: pre-wrap; }

.flash { padding: 12px 16px; border-radius: 4px; font-size: 14px; margin-bottom: 16px; }
.flash-error { background: #F2E7E2; color: var(--error); }
.flash-success { background: #E4F1E9; color: var(--success); }

/* ---------- Detail page header / edit button ---------- */
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-header h2 { margin-bottom: 4px; }
.detail-header .subtitle { margin: 0; }
.edit-btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- Edit form ---------- */
.edit-section { margin-bottom: 18px; }
.edit-section h2 { font-size: 18px; color: var(--navy); }
.edit-form-nav {
  position: sticky;
  bottom: 0;
  background: var(--cream);
  padding: 16px 0 4px;
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 900px) {
  .admin-wrap { padding: 22px 18px 56px; }
  .stat-row { gap: 12px; }
  .stat-card { min-width: 140px; padding: 14px 16px; }
}

@media (max-width: 640px) {
  .admin-header { padding: 12px 16px; }
  .admin-header-user .user-chip { display: none; }
  .stat-row { flex-direction: column; }
  .stat-card { width: 100%; }
  .filter-card { flex-direction: column; align-items: stretch; }
  .filter-card .btn-compact { width: 100%; justify-content: center; }
  .filter-select select { min-width: 0; }

  /* Card-style table on small screens — no horizontal scrolling */
  .table-card { overflow: visible; box-shadow: none; border: none; background: transparent; }
  table.data thead { display: none; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 6px 14px;
    box-shadow: 0 1px 2px rgba(15,42,67,0.05), 0 6px 16px rgba(15,42,67,0.05);
  }
  table.data td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    text-align: right;
  }
  table.data tr td:last-child { border-bottom: none; justify-content: flex-end; }
  table.data td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
    text-align: left;
    flex-shrink: 0;
  }
  table.data td[data-label=""]::before { content: none; }
  .contact-cell { flex-direction: row-reverse; }
  .row-actions { width: 100%; justify-content: flex-end; }
}
