/* ===== Ambipar — shared design tokens & primitives ===== */
:root {
  /* Brand */
  --header-bg: #1f5132;
  --header-bg-soft: #265f3c;
  --primary: #1f5132;
  --primary-600: #1a4429;
  --primary-700: #143420;
  --accent: #3eb058;

  /* Surfaces */
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #fafbfb;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --ring: rgba(31, 81, 50, 0.18);

  /* Text */
  --text: #0f172a;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;

  /* Status palette (matches the dashboard pills) */
  --status-scheduled-bg: #fef3c7;
  --status-scheduled-fg: #92400e;
  --status-scheduled-dot: #f59e0b;

  --status-active-bg: #ffedd5;
  --status-active-fg: #9a3412;
  --status-active-dot: #f97316;

  --status-final-bg: #ede9fe;
  --status-final-fg: #5b21b6;
  --status-final-dot: #8b5cf6;

  --status-billing-bg: #d1fae5;
  --status-billing-fg: #065f46;
  --status-billing-dot: #10b981;

  --status-completed-bg: #d1fae5;
  --status-completed-fg: #065f46;
  --status-completed-dot: #10b981;

  --status-cancelled-bg: #fee2e2;
  --status-cancelled-fg: #b91c1c;
  --status-cancelled-dot: #ef4444;

  --status-info-bg: #dbeafe;
  --status-info-fg: #1d4ed8;
  --status-info-dot: #3b82f6;

  --status-draft-bg: #f1f5f9;
  --status-draft-fg: #475569;
  --status-draft-dot: #94a3b8;

  /* Section header bands (used in forms — green / navy) */
  --band-green: linear-gradient(90deg, #1f5132 0%, #2a6b44 100%);
  --band-navy: linear-gradient(90deg, #1e293b 0%, #334155 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-pill: 999px;

  /* Layout */
  --sidebar-w: 240px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============= Top bar ============= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.topbar .brand {
  display: flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  color: #fff;
}
.topbar .brand .leaf {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-left: 4px;
  position: relative; top: -6px;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  color: #fff; font-size: 13px;
}
.lang-pill .flag {
  width: 20px; height: 14px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(#b22234 33%, #fff 33% 66%, #3c3b6e 66%);
  position: relative;
}
.lang-pill .flag::before {
  content: ''; position: absolute; top:0; left:0; width: 9px; height: 7px; background: #3c3b6e;
}
.bell {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}
.avatar {
  width: 32px; height: 32px; border-radius: var(--r-pill);
  background: #d1d5db; color: #111827;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}
.user-chip .name { font-size: 13px; font-weight: 600; line-height: 1.1; }
.user-chip .role { font-size: 11px; opacity: 0.7; line-height: 1.1; }

/* ============= Shell ============= */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: calc(100vh - var(--header-h)); }
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 14px 32px;
  position: sticky; top: var(--header-h);
  align-self: start;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.sidebar .group { margin-top: 18px; }
.sidebar .group:first-child { margin-top: 4px; }
.sidebar .group-label {
  font-size: 11px; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: var(--r-md);
  color: var(--text); font-size: 13.5px; font-weight: 500;
  position: relative;
  margin: 2px 0;
}
.nav-item:hover { background: #f1f3f4; }
.nav-item.active {
  background: #eaf3ee; color: var(--primary); font-weight: 600;
}
.nav-item .nav-ico {
  width: 18px; height: 18px; color: currentColor; opacity: 0.85;
  flex: 0 0 18px;
}
.nav-item .dot {
  width: 6px; height: 6px; border-radius: var(--r-pill);
  background: #ef4444; margin-left: auto;
}

/* ============= Main content ============= */
.main { padding: 28px 36px 60px; min-width: 0; }
.page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.page-head .subtitle {
  color: var(--text-muted); font-size: 13.5px;
}
.page-head .eyebrow {
  font-size: 13px; color: var(--text-muted); margin-bottom: 4px;
}
.page-head .head-actions { display: flex; align-items: center; gap: 10px; }

/* ============= Cards & layout ============= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 20px; }
.card-pad-lg { padding: 24px; }

.grid { display: grid; gap: 16px; }

/* Stat tile (matches dashboard pattern) */
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px;
}
.stat .stat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stat .stat-label { font-size: 13px; color: var(--text); font-weight: 500; }
.stat .stat-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
}
.stat .stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-top: 4px; }
.stat .stat-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 600;
  border: 1px solid transparent; background: transparent; color: var(--text);
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #f1f3f4; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: #fff; }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { color: var(--text); }
.btn-danger { background: #fff; color: #b91c1c; border-color: #fecaca; }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 6px 10px; font-size: 12.5px; }
.btn .ico { width: 16px; height: 16px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; line-height: 1.4;
  background: var(--status-draft-bg); color: var(--status-draft-fg);
}
.badge .b-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.b-scheduled { background: var(--status-scheduled-bg); color: var(--status-scheduled-fg); }
.b-active { background: var(--status-active-bg); color: var(--status-active-fg); }
.b-final { background: var(--status-final-bg); color: var(--status-final-fg); }
.b-billing { background: var(--status-billing-bg); color: var(--status-billing-fg); }
.b-completed { background: var(--status-completed-bg); color: var(--status-completed-fg); }
.b-cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-fg); }
.b-info { background: var(--status-info-bg); color: var(--status-info-fg); }
.b-draft { background: var(--status-draft-bg); color: var(--status-draft-fg); }
.b-warn { background: #fef3c7; color: #92400e; }

/* Tag pills (region etc) */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: #eef2f4;
  color: var(--text-muted);
  font-size: 11.5px; font-weight: 500;
}

/* Tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table thead th {
  text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.06em;
  padding: 14px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.table tbody td {
  padding: 16px; vertical-align: middle;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.table tbody tr:hover td { background: #fafbfb; }
.table tbody tr:last-child td { border-bottom: none; }
.table .arrow-cell { width: 40px; color: var(--primary); }
.table .id-cell { font-weight: 600; }
.table .id-cell .sub { font-size: 11.5px; font-weight: 500; color: var(--text-muted); margin-top: 4px; }
.table .location { color: var(--text-muted); font-size: 12.5px; margin-top: 4px; display: flex; align-items: center; gap: 4px; }

/* Filter bar */
.filterbar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 12px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-md);
}
.search input { border: none; outline: none; background: transparent; flex: 1; font-size: 13px; color: var(--text); }
.select-like, .input-like {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: 13px; color: var(--text); min-width: 0;
}
.select-like select, .input-like input {
  border: none; outline: none; background: transparent;
  font: inherit; color: inherit; min-width: 0;
}

/* Forms */
.form-section {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 18px;
}
.form-section-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  color: #fff;
  background: var(--band-green);
}
.form-section-head.navy { background: var(--band-navy); }
.form-section-head h3 {
  font-size: 16px; font-weight: 600; margin: 0; letter-spacing: -0.01em;
}
.form-section-head .ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
}
.form-section-head .chev { margin-left: auto; opacity: 0.85; }
.form-section-body { padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.col-2 { grid-column: span 2; }
.field.col-3 { grid-column: span 3; }
.field label {
  font-size: 12.5px; font-weight: 500; color: var(--text);
}
.field label .req { color: #ef4444; margin-left: 2px; }
.field .helper { font-size: 11.5px; color: var(--text-muted); }
.field .row-label { display: flex; justify-content: space-between; }
.field .add-link {
  font-size: 12px; color: var(--primary); font-weight: 600;
}

.input, .textarea, .select {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--text);
  width: 100%;
  outline: none;
  font-family: inherit;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.input::placeholder, .textarea::placeholder { color: #9ca3af; }
.textarea { resize: vertical; min-height: 92px; }
.input[readonly] { background: var(--surface-2); color: var(--text); }

/* Pill tabs / Tabs */
.tabs {
  display: flex; gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.tab {
  padding: 12px 2px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); border-bottom: 2px solid transparent;
  display: inline-flex; gap: 8px; align-items: center;
}
.tab .count {
  background: #eef2f4; color: var(--text-muted);
  border-radius: var(--r-pill); padding: 1px 8px;
  font-size: 11.5px; font-weight: 600;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab.active .count { background: #d8ebde; color: var(--primary); }

/* Stepper (Initiation → Mobilization → ...) */
.stepper {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 22px;
}
.step {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.step .step-row { display: flex; align-items: center; gap: 10px; }
.step .step-circle {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e5e7eb; color: var(--text-muted); font-size: 11px; font-weight: 700;
  flex: 0 0 22px;
}
.step.done .step-circle { background: var(--accent); color: #fff; }
.step.current { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62, 176, 88, 0.12); }
.step.current .step-circle { background: var(--accent); color: #fff; }
.step .step-label { font-size: 13px; font-weight: 600; color: var(--text); }
.step.todo .step-label { color: var(--text-muted); font-weight: 500; }
.step .step-pct { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.step-link { width: 16px; flex: 0 0 16px; color: var(--border-strong); }

/* Progress */
.progress { background: #eef2f4; height: 6px; border-radius: 6px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }

/* Empty state */
.empty {
  padding: 36px;
  text-align: center;
  color: var(--text-muted);
}

/* Helpers */
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.bold { font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.flex-1 { flex: 1; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }

/* Small icon button */
.icon-btn {
  width: 34px; height: 34px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border-strong); color: var(--text);
}
.icon-btn:hover { background: var(--surface-2); }

/* Section title */
.section-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px;
}
.section-sub { font-size: 12.5px; color: var(--text-muted); margin: -8px 0 12px; }

/* Signature pad / box */
.signature-box {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-md);
  background: #fafbfb;
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.signature-box.signed {
  background: #fff;
  border-style: solid;
  border-color: var(--accent);
  font-family: 'Caveat', 'Brush Script MT', cursive;
  font-size: 38px;
  color: #1f2937;
}

/* Inline alert / banner */
.banner {
  padding: 12px 14px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.banner.info { background: #eef6ff; color: #1e3a8a; border: 1px solid #c7dbff; }
.banner.success { background: #ecfdf5; color: #065f46; border: 1px solid #bbf7d0; }
.banner.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.banner.danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.banner .ico { width: 18px; height: 18px; flex: 0 0 18px; }

/* Money / numbers */
.num { font-variant-numeric: tabular-nums; }

/* Side panel (summary) */
.side-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-muted); font-size: 12.5px; }
.kv .v { font-size: 13px; font-weight: 600; }

/* Stage banner above stepper */
.stage-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eef6ff; color: #1e3a8a;
  padding: 4px 12px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}

/* Print-style ticket preview */
.ticket-print {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  color: var(--text);
}
.ticket-print h2 { margin: 0 0 4px; font-size: 20px; }
.ticket-print .ticket-meta { display: flex; gap: 24px; margin: 12px 0 18px; font-size: 12.5px; color: var(--text-muted); }

/* Two-column page layouts */
.layout-two { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }

/* Tabbed sub-form pills */
.tabpills {
  display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: var(--r-pill);
  border: 1px solid var(--border); gap: 4px;
}
.tabpills .pill {
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; color: var(--text-muted);
  background: transparent; border: none;
}
.tabpills .pill.active {
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm);
}

/* Avatar group */
.avatars { display: inline-flex; }
.avatars .avatar { width: 26px; height: 26px; font-size: 10px; border: 2px solid #fff; margin-left: -6px; }
.avatars .avatar:first-child { margin-left: 0; }

/* Approval card */
.approval-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px;
}

/* Activity / timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline .tl-item {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 12px 0; position: relative;
}
.timeline .tl-item:not(:last-child)::after {
  content: ''; position: absolute; left: 13px; top: 36px; bottom: -4px;
  width: 2px; background: var(--border);
}
.timeline .tl-dot {
  width: 28px; height: 28px; border-radius: 50%; background: #eef2f4;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); z-index: 1;
}
.timeline .tl-dot.success { background: #d1fae5; color: #065f46; }
.timeline .tl-dot.info { background: #dbeafe; color: #1d4ed8; }
.timeline .tl-dot.warn { background: #fef3c7; color: #92400e; }
.timeline .tl-time { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.timeline .tl-text { font-size: 13px; }
.timeline .tl-text b { font-weight: 600; }

/* Line items / item rows in ticket */
.line-row {
  display: grid; grid-template-columns: 1.5fr 0.8fr 0.7fr 0.9fr 0.9fr 40px;
  gap: 10px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.line-row:last-child { border-bottom: none; }
.line-row.header {
  font-size: 11px; text-transform: uppercase; color: var(--text-muted);
  letter-spacing: 0.06em; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.line-row .remove {
  color: #b91c1c; background: transparent; border: none; padding: 4px;
}

/* Totals box */
.totals { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 0; }
.totals .row { display: flex; justify-content: space-between; }
.totals .grand { padding-top: 10px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 700; }

/* Version row */
.version-row {
  display: grid; grid-template-columns: 60px 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
}
.version-row + .version-row { margin-top: 10px; }
.version-row.current { border-color: var(--accent); background: #f3faf5; }
.v-tag {
  text-align: center;
  font-weight: 700; font-size: 13px; padding: 8px; border-radius: var(--r-md);
  background: #eef2f4; color: var(--text);
}
.v-tag.current { background: var(--accent); color: #fff; }

/* Small SVG icons live-color */
.ico-svg { width: 18px; height: 18px; }

/* Section divider header */
.divider-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 0 12px;
}
.divider-head h2 {
  font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.01em;
}

/* Required fields hint (top right) */
.req-hint { font-size: 12px; color: var(--text-muted); }
.req-hint .req-star { color: #ef4444; margin-right: 4px; }
