:root {
  /* Palette officielle Lauzon Communication (charte graphique v2, mai 2025) */
  --bg: #f6f7f5;
  --bg-soft: #eeefed;
  --border: #dde0de;
  --text: #2f4858;
  --text-muted: #6e7c86;
  --brand: #2f4858;
  --brand-hover: #23343f;
  --accent: #e2ab93;
  --accent-soft: #fbeee7;
  --danger: #c1443a;
  --danger-soft: #fbe9e7;
  --success: #3f7d58;
  --success-soft: #e7f2ea;
  --radius: 10px;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3,
.auth-card h1,
.dash-card-value {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.2px;
}

[hidden] { display: none !important; }

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px 32px 60px;
}

/* --- Connexion --- */
#auth-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
}

.auth-card h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.login-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 12px;
}

.brand-lockup-login {
  align-items: flex-start;
  margin: 0 0 16px;
}

.brand-leadoc-login {
  font-size: 34px;
}

.brand-caption-login {
  font-size: 12px;
}

.auth-card p.subtitle {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 14px;
}

/* --- Nav --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}

.global-search {
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
  min-width: 180px;
}

.global-search input {
  width: 100%;
  margin: 0;
  padding: 9px 14px 9px 34px;
  border-radius: 999px;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e7c86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 12px center;
  border: 1px solid transparent;
}

.global-search input:focus {
  background-color: #fff;
  border-color: var(--accent);
}

.global-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(47, 72, 88, 0.16);
  max-height: 420px;
  overflow-y: auto;
  z-index: 500;
  text-align: left;
}

.gs-group-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 14px 4px;
}

.gs-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}

.gs-item:hover { background: var(--bg-soft); }
.gs-item .gs-meta { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.gs-empty { padding: 14px; font-size: 13px; color: var(--text-muted); }

.topbar .brand {
  font-weight: 700;
}

.topbar-logo {
  height: 32px;
  width: auto;
  display: block;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-leadoc {
  font-family: "Nata Sans", "DM Sans", -apple-system, sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.5px;
  color: var(--brand);
}

.brand-caption {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.topbar-clinic-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.clinic-logo-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clinic-logo-thumb {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
}

.clinic-logo-cell input[type="file"] {
  font-size: 12px;
  max-width: 150px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.tab-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.tab-dropdown {
  position: relative;
}

.settings-gear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}

.settings-gear-btn:hover {
  background: var(--border);
}

.tab-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 6px;
  min-width: 260px;
  z-index: 20;
}

.tab-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}

.tab-dropdown-item:hover,
.tab-dropdown-item.active {
  background: var(--bg-soft);
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  font-size: 13px;
}

.source-chip button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  font-size: 13px;
}

/* --- Forms --- */
label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 4px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

textarea { resize: vertical; min-height: 70px; }

button {
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  margin-top: 16px;
}

.btn-primary:hover { background: var(--brand-hover); }

.btn-danger {
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  margin-top: 16px;
}

.btn-danger:hover { background: #a5382f; }

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
}

.error-msg {
  color: var(--danger);
  font-size: 13px;
  margin-top: 10px;
}

.success-msg {
  color: var(--success);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 600;
}

.email-compose-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px 18px;
  margin-top: 18px;
  background: var(--accent-soft);
}

/* --- Bascule Tableau / Kanban --- */
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.view-toggle-btn {
  background: #fff;
  border: none;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-muted);
}

.view-toggle-btn.active { background: var(--brand); color: white; }

/* --- Kanban des leads --- */
.kanban-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-top: 14px;
}

.kanban-col {
  flex: 0 0 240px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 4px 10px;
}

.kanban-count {
  background: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
}

.kanban-col-body {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kanban-col-body.drag-over {
  background: var(--accent-soft);
  border-radius: 8px;
  outline: 2px dashed var(--accent);
}

.kanban-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  cursor: grab;
  box-shadow: 0 1px 3px rgba(47, 72, 88, 0.06);
}

.kanban-card:active { cursor: grabbing; }
.kanban-card.dragging { opacity: 0.4; }

.kanban-card-name { font-weight: 600; margin-bottom: 2px; }
.kanban-card-clinic { font-size: 11px; color: var(--brand); margin-bottom: 2px; }
.kanban-card-meta, .kanban-card-date { color: var(--text-muted); font-size: 12px; }

.kanban-empty {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 640px) {
  .kanban-col { flex: 0 0 198px; }
}

/* --- Mes priorités du jour --- */
.priority-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
}

.priority-main { flex: 1 1 240px; }
.priority-name { font-weight: 600; }
.priority-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.priority-empty {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
}

/* --- Dashboard : graphique de revenu dans le temps --- */
.revenue-chart-wrap {
  position: relative;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 8px;
}

.revenue-chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }

.rc-gridline { stroke: var(--border); stroke-width: 1; }
.rc-axis-label { fill: var(--text-muted); font-size: 11px; font-family: var(--font-body); }
.rc-area { fill: var(--accent-soft); }
.rc-line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-point { fill: #fff; stroke: var(--brand); stroke-width: 2; cursor: pointer; }
.rc-point:hover, .rc-point.active { fill: var(--brand); }
.rc-hit { fill: transparent; cursor: pointer; }

.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  z-index: 20;
}

.chart-tooltip .ct-value { font-weight: 700; }

.chart-empty { color: var(--text-muted); font-size: 14px; padding: 10px 0; }

/* --- Graphiques "par source" (donut valeur + barres empilées par jour) --- */
.src-donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.src-donut-wrap svg { width: 200px; height: 200px; flex-shrink: 0; overflow: visible; }

.src-donut-seg { cursor: pointer; transition: opacity 0.15s ease; }
.src-donut-seg:hover { opacity: 0.85; }

.src-donut-total { font-family: var(--font-heading); font-size: 22px; font-weight: 700; fill: var(--text); }
.src-donut-total-label { font-size: 11px; fill: var(--text-muted); font-family: var(--font-body); }

.src-legend { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 180px; }
.src-legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.src-legend-swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.src-legend-label { color: var(--text); flex: 1; }
.src-legend-value { color: var(--text-muted); font-weight: 600; white-space: nowrap; }

.leads-by-source-chart-wrap {
  position: relative;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 8px;
}
.leads-by-source-chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.leads-by-source-chart-wrap .src-legend {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 6px;
}
.lbs-seg { cursor: pointer; }

/* --- Utilisateurs et roles --- */
#u-clinics-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

#u-clinics-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
}

#u-clinics-checkboxes input[type="checkbox"] { width: auto; margin: 0; }

.role-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--brand);
}

.role-chip-lauzon_communication { background: var(--accent-soft); color: var(--brand); }
.role-chip-agent { background: #e7edf1; color: var(--brand); }
.role-chip-directeur { background: #e3e9f5; color: #1f3a6b; }
.role-chip-client { background: var(--success-soft); color: var(--success); }

/* --- Leads table --- */
.leads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

td.cell-muted { color: var(--text-muted); font-size: 13px; }
td.cell-date { white-space: nowrap; font-variant-numeric: tabular-nums; }

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

th { color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }

tr.lead-row { cursor: pointer; }
tr.lead-row:hover { background: var(--bg-soft); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-nouveau { background: var(--accent-soft); color: var(--brand); }
.badge-en_cours { background: #fbf2df; color: #a3722f; }
.badge-a_rappeler { background: #e7edf1; color: var(--brand); }
.badge-vendu { background: var(--success-soft); color: var(--success); }
.badge-perdu { background: var(--danger-soft); color: var(--danger); }

/* Suivi patients — statut visuel d'opportunité de vente (voir patientStatusBadgeHtml) */
.badge-pas-du { background: #fbe4ee; color: #b23368; } /* rouge-rose : pas encore dû */
.badge-du { background: #e3e9f5; color: #1f3a6b; } /* bleu marin : dû, bonne occasion de relancer */
.badge-rdv-pris { background: var(--success-soft); color: var(--success); } /* vert : prochain RDV déjà réservé */
.badge-inactif { background: var(--bg-soft); color: var(--text-muted); }

.badge-auto {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--brand);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

/* --- Lead detail --- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

@media (max-width: 640px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.contact-entry {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}

.contact-entry .meta {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

/* --- Notifications (toasts) --- */
#toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}

@media (max-width: 640px) {
  #toast-container {
    left: 14px;
    right: 14px;
    max-width: none;
  }
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: white;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 28px rgba(47, 72, 88, 0.18);
  border-left: 4px solid var(--brand);
  font-size: 14px;
  animation: toast-in 0.22s ease-out;
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--danger); }
.toast.toast-info { border-left-color: var(--brand); }

.toast.toast-hide { animation: toast-out 0.18s ease-in forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(24px); }
}

.toast-icon { font-size: 17px; line-height: 1.4; }
.toast-text { flex: 1; line-height: 1.4; }
.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  padding: 0;
}
.toast-close:hover { color: var(--text); }

/* --- Fenêtre de confirmation personnalisée (remplace les popups du navigateur) --- */
.confirm-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 12px;
}
.confirm-icon.confirm-danger { background: var(--danger-soft); color: var(--danger); }
.confirm-icon.confirm-normal { background: var(--accent-soft); color: var(--brand); }

#confirm-modal .modal-card { max-width: 400px; }
#confirm-modal p { color: var(--text-muted); line-height: 1.5; }

/* --- Dashboard --- */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 32px;
}

@media (max-width: 780px) {
  .dash-cards { grid-template-columns: repeat(2, 1fr); }
}

.dash-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.dash-card-value {
  font-size: 24px;
  font-weight: 700;
}

.dash-card-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.dash-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 780px) {
  .dash-columns { grid-template-columns: 1fr; }
}

.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr 30px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  background: var(--bg-soft);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
}

.bar-fill {
  background: var(--accent);
  height: 100%;
  border-radius: 6px;
}

.bar-count {
  text-align: right;
  color: var(--text-muted);
}

.pct-row {
  display: grid;
  grid-template-columns: 140px 1fr 90px;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.pct-count {
  text-align: right;
  color: var(--text-muted);
  white-space: nowrap;
}

.pct-count strong { color: var(--text); }

/* --- Intervalles marketing (types de soins) --- */
.tt-clinic-group {
  margin-bottom: 36px;
}

.tt-clinic-group h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  margin-bottom: 12px;
}

.tt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.tt-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}

.tt-card-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.tt-card-head .tt-name-input {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
}

.tt-card-head .tt-delete-btn {
  flex: 0 0 auto;
}

.tt-schema {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0;
}

.tt-node {
  flex: 0 0 auto;
  width: 84px;
  text-align: center;
}

.tt-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--brand);
  margin: 0 auto 6px;
}

.tt-dot-accent {
  background: var(--accent);
  border-color: var(--accent);
}

.tt-node-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.tt-arrow {
  flex: 1;
  position: relative;
  border-top: 2px dashed var(--border);
  text-align: center;
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.tt-arrow::after {
  content: "→";
  position: absolute;
  right: -4px;
  top: -13px;
  color: var(--border);
  font-size: 16px;
}

.tt-arrow .tt-interval-input {
  width: 52px;
  padding: 4px 6px;
  text-align: center;
  display: inline-block;
}

.tt-revenue-row {
  margin-top: 10px;
}

.tt-revenue-row label {
  font-size: 12px;
}

.tt-card .tt-save-btn {
  margin-top: 12px;
  width: 100%;
}

.tt-add-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  max-width: 680px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
