/* Pool Design PWA — Design System */
:root {
  --color-primary:       #2C6B4A;
  --color-primary-light: #E8F4EE;
  --color-primary-mid:   #4A8B6A;
  --color-primary-dark:  #1A5C36;
  --accent:              #C8A84B;
  --accent-light:        #FDF6E3;
  --bg:                  #F5F4F0;
  --surface:             #FFFFFF;
  --surface-2:           #F0EFEB;
  --surface-3:           #E8E7E2;
  --border:              rgba(0,0,0,0.08);
  --border-mid:          rgba(0,0,0,0.12);
  --text-1:              #1A1A18;
  --text-2:              #5C5C58;
  --text-3:              #9C9C96;
  --warn-bg:             #FEF9E7;
  --warn-border:         #E8C840;
  --warn-text:           #6B4F08;
  --danger:              #C0392B;
  --danger-light:        #FDECEA;
  --success:             #27AE60;
  --success-light:       #E3F2EC;
  --radius-sm:           8px;
  --radius-md:           12px;
  --radius-lg:           16px;
  --radius-xl:           24px;
  --font:                'DM Sans', system-ui, sans-serif;
  --font-mono:           'DM Mono', monospace;
  --topbar-h:            56px;
  --bottomnav-h:         64px;
  --sidebar-w:           220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* ── BLAZOR ─────────────────────────────── */
.blazor-error-boundary {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--warn-text);
  font-size: 13px;
  margin: 16px;
}
.blazor-error-boundary::after { content: "Ocorreu um erro. Recarregue a página."; }

.valid.modified:not([type=checkbox]) { outline: none; }
.invalid { outline: 1px solid var(--danger); }
.validation-message { color: var(--danger); font-size: 12px; margin-top: 4px; }

/* ── PAGE WRAP ────────────────────────────── */
.page-wrap { max-width: 680px; margin: 0 auto; padding: 20px 16px; }
@media (min-width: 768px) { .page-wrap { padding: 28px 32px; } }
@media (min-width: 768px) { .page-wrap--wide { max-width: 1080px; } }

/* ── DASHBOARD 2-COL LAYOUT (desktop) ──────── */
/* display:flex (não display:block) para que "order" também reordene o empilhamento no mobile */
.dashboard-body { display: flex; flex-direction: column; }
/* Inverte a ordem de empilhamento no mobile: coluna da esquerda (col-side) vem primeiro */
.dashboard-body--invertido .dashboard-col-main { order: 2; }
.dashboard-body--invertido .dashboard-col-side { order: 1; }
@media (min-width: 768px) {
  .dashboard-body { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
  .dashboard-body--invertido { grid-template-columns: 320px 1fr; }
}
.dashboard-col-main, .dashboard-col-side { min-width: 0; }

/* ── PAGE HEAD ─────────────────────────────── */
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 22px; font-weight: 700; color: var(--text-1); margin: 0; }
.page-head h1:focus { outline: none; }
.page-head p { font-size: 13px; color: var(--text-2); margin-top: 3px; }

/* ── CARDS ──────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px;
}
.card-head {
  padding: 12px 16px; font-size: 12px; font-weight: 600; color: var(--text-2);
  border-bottom: 1px solid var(--border); letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: space-between;
}
.card-head-link { font-size: 12px; font-weight: 500; color: var(--color-primary); cursor: pointer; }

/* ── METRIC GRID ────────────────────────────── */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (min-width: 768px) { .metric-grid { grid-template-columns: repeat(4, 1fr); } }
.metric-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 16px;
}
@media (min-width: 768px) { .metric-card { padding: 18px 20px; } }
.metric-label { font-size: 11px; color: var(--text-2); line-height: 1.4; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.metric-value { font-size: 26px; font-weight: 600; color: var(--text-1); margin-top: 6px; letter-spacing: -0.02em; }
.metric-value--clicavel { text-decoration: underline dotted; text-underline-offset: 4px; text-decoration-color: var(--text-3); }
@media (min-width: 768px) { .metric-value { font-size: 30px; } }
.metric-value.sm { font-size: 20px; }
.metric-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.metric-grid--comparacao { grid-template-columns: 1fr; }
@media (min-width: 768px) { .metric-grid--comparacao { grid-template-columns: 1fr; } }
.metric-compare-subs { display: flex; gap: 16px; margin-top: 6px; }
.metric-compare-subs .metric-sub { flex: 1; }
.metric-compare-values { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.metric-compare-values .metric-value { flex: 1; min-width: 80px; }
.metric-variacao { font-size: 13px; font-weight: 600; white-space: nowrap; }
.text-success { color: var(--green); }
.text-danger  { color: var(--red); }

/* ── ROW ITEMS ──────────────────────────────── */
.row-item {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.row-item:last-child { border-bottom: none; }
.row-main { font-size: 13px; font-weight: 600; color: var(--text-1); }
.row-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.row-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.row-right { text-align: right; flex-shrink: 0; }
.scroll-list { max-height: 360px; overflow-y: auto; }

/* ── BANNER ─────────────────────────────────── */
.banner-card {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-mid) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; cursor: pointer;
}
.banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.banner-content { position: relative; z-index: 1; padding: 16px 20px; }
.banner-title { font-size: 18px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); margin-bottom: 10px; line-height: 1.25; }
.banner-links { display: flex; gap: 8px; flex-wrap: wrap; }
.banner-link {
  font-size: 11px; padding: 5px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.2); color: #fff;
  border: 1px solid rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.15s; text-decoration: none;
}
.banner-link:hover { background: rgba(255,255,255,0.35); }

/* ── BUTTONS ────────────────────────────────── */
.btn-primary {
  width: 100%; padding: 14px;
  background: var(--color-primary); color: #fff;
  border: none; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font); letter-spacing: 0.01em;
  transition: background 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover { background: var(--color-primary-mid); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary {
  width: 100%; padding: 13px;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-mid); border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500; cursor: pointer;
  font-family: var(--font); margin-top: 8px; transition: background 0.15s;
}
.btn-secondary:hover { background: var(--surface-2); }

/* ── FILTER BAR ─────────────────────────────── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 16px; align-items: center;
}
.filter-select {
  padding: 7px 10px; font-size: 12px; font-family: var(--font);
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-1);
  cursor: pointer; flex: 1; min-width: 120px;
}
.compare-btn {
  padding: 7px 12px; font-size: 12px; font-family: var(--font);
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text-2); cursor: pointer;
  white-space: nowrap; transition: background 0.15s;
}
.compare-btn:hover { background: var(--surface-3); }
.compare-btn.active { background: var(--color-primary-light); color: var(--color-primary-dark); border-color: var(--color-primary); }
.filter-bar--comparacao { flex-direction: column; align-items: stretch; gap: 10px; }
.filter-row { display: flex; align-items: center; gap: 8px; width: 100%; }
.filter-label { font-size: 11px; color: var(--text-3); white-space: nowrap; min-width: 72px; }
.filter-dates { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-date {
  padding: 7px 10px; font-size: 12px; font-family: var(--font);
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-1); flex: 1; min-width: 130px;
}
.filter-error {
  padding: 8px 16px; font-size: 12px; color: var(--red);
  background: var(--red-light); border-radius: var(--radius-sm); margin-bottom: 12px;
}

/* ── SUMMARY STRIP ──────────────────────────── */
.summary-strip {
  display: flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px;
}
.summary-item {
  flex: 1; padding: 12px 14px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.summary-item:last-child { border-right: none; }
.sum-val { font-size: 17px; font-weight: 600; color: var(--text-1); font-family: var(--font-mono); }
.sum-label { font-size: 11px; color: var(--text-3); }

/* ── SEGMENT BAR ────────────────────────────── */
.seg-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.seg-row:last-child { border-bottom: none; }
.seg-name { font-size: 12px; flex: 1; color: var(--text-1); }
.seg-val { font-size: 12px; color: var(--text-2); font-family: var(--font-mono); min-width: 80px; text-align: right; }
.seg-bar-wrap { width: 80px; height: 5px; background: var(--surface-2); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.seg-bar-fill { height: 100%; background: var(--color-primary); border-radius: 3px; }

/* ── ALERT CARD ─────────────────────────────── */
.alert-card {
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px;
}
.alert-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--warn-text); margin-bottom: 5px; }
.alert-head svg { width: 15px; height: 15px; flex-shrink: 0; }
.alert-text { font-size: 12px; color: var(--warn-text); line-height: 1.5; }
.alert-link { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 6px; cursor: pointer; display: inline-block; }

/* ── PROGRESS ───────────────────────────────── */
.progress-bar { width: 100%; height: 7px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-primary); border-radius: 4px; transition: width 0.4s ease; }

/* ── FORM ───────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-label small { font-weight: 400; color: var(--text-3); text-transform: none; }
.form-input {
  width: 100%; padding: 10px 12px; font-size: 13px; font-family: var(--font);
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-1); transition: border-color 0.15s;
}
.form-input:focus { outline: none; border-color: var(--color-primary); }
.form-input[readonly], .form-input.readonly { background: var(--surface-2); color: var(--text-3); cursor: default; }
select.form-input { cursor: pointer; }
.form-divider { height: 1px; background: var(--border); margin: 20px 0; }
.form-section { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }

/* ── BADGES ─────────────────────────────────── */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0.06em;
}
.badge-active { background: var(--color-primary-light); color: var(--color-primary-dark); }
.badge-ended  { background: var(--surface-2); color: var(--text-3); }

/* ── CAMP CARD ──────────────────────────────── */
.camp-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px;
}
.camp-banner-img {
  width: 100%; aspect-ratio: 16/5;
  object-fit: cover; object-position: center; display: block;
}
.camp-banner-placeholder {
  width: 100%; height: 90px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-mid) 100%);
  display: flex; align-items: flex-end; padding: 10px 14px;
}
.camp-body { padding: 14px 16px; }
.camp-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.camp-meta { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.camp-links { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.camp-link-btn {
  font-size: 11px; padding: 5px 10px;
  border: 1px solid var(--border-mid); border-radius: var(--radius-sm);
  color: var(--text-2); background: var(--surface-2); cursor: pointer;
  transition: background 0.15s; text-decoration: none;
}
.camp-link-btn:hover { background: var(--surface-3); }

/* ── MEDAL COLORS ───────────────────────────── */
.medal-1 { color: #C8A84B; }
.medal-2 { color: #A0A0A0; }
.medal-3 { color: #CD7F32; }

/* ── SKELETON ───────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── TOAST ──────────────────────────────────── */
.toast-container {
  position: fixed; bottom: calc(var(--bottomnav-h) + 12px); left: 50%;
  transform: translateX(-50%); z-index: 300; pointer-events: none;
}
@media (min-width: 768px) { .toast-container { bottom: 20px; } }
.toast {
  background: var(--text-1); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-md); font-size: 13px; font-weight: 500;
  white-space: nowrap; opacity: 0; transition: opacity 0.2s;
}
.toast.show { opacity: 1; }
.toast-sucesso { background: var(--success); }
.toast-erro    { background: var(--danger); }

/* ── VIDEO MODAL ─────────────────────────────── */
.video-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.80);
  display: flex; align-items: center; justify-content: center;
  z-index: 500; padding: 16px;
}
.video-modal {
  position: relative; width: 100%; max-width: 800px;
  background: #000; border-radius: var(--radius-md);
}
.video-modal-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}

/* ── COLORS ─────────────────────────────────── */
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-muted   { color: var(--text-3); }
.text-primary { color: var(--color-primary); }

.btn-link-small {
  font-size: 12px; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 10px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.btn-link-small:hover { background: var(--surface-3); }

/* ── DASHBOARD LOJISTA ──────────────────────── */
/* Verde escuro derivado da cor dinâmica da campanha (≈ #1F4A32 com o primário padrão) */
:root {
  --dl-green:       color-mix(in srgb, var(--color-primary) 72%, #000);
  --dl-green-hover: var(--color-primary);
  --dl-green-light: #EAF2EC;
  --dl-gold:        #C8A84B;
  --dl-gold-light:  #E3C66E;
  --dl-gold-dark:   #A8872A;
  --dl-gold-bg:     #FBF6E8;
  --dl-text:        #1A1A14;
  --dl-text-2:      #575750;
  --dl-text-3:      #8A8A80;
  --dl-surface:     #F8F6F1;
  --dl-divider:     #EFEDE8;
  --dl-line:        #E3E0D8;
  --dl-track:       #F0EDE6;
  --dl-hatch:       repeating-linear-gradient(45deg, #8A8A80 0 2px, #E4E1DA 2px 4px);
  --dl-hatch-light: repeating-linear-gradient(45deg, rgba(255,255,255,.75) 0 2px, rgba(255,255,255,.18) 2px 4px);
}

.dl-stack { display: flex; flex-direction: column; gap: 20px; color: var(--dl-text); }
.dl-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.dl-row--kpis { gap: 16px; }
.dl-row--top { align-items: flex-start; }

.dl-card {
  background: #fff; border-radius: 22px; border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.05); min-width: 0; overflow: hidden;
}
.dl-card-head {
  padding: 20px 24px 8px; display: flex; justify-content: space-between;
  align-items: center; gap: 10px; flex-wrap: wrap;
}
.dl-card-title { font-size: 18px; font-weight: 800; }
.dl-card-sub { font-size: 13px; color: var(--dl-text-3); }
.dl-card-link { font-size: 14px; font-weight: 700; color: var(--dl-green-hover); text-decoration: none; cursor: pointer; white-space: nowrap; }
.dl-card-link:hover { color: var(--dl-green); text-decoration: underline; }

.dl-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dl-text-3); line-height: 1.4; text-transform: uppercase; }

/* Legenda / swatches ATUAL × COMPARADO */
.dl-swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.dl-swatch--atual { background: var(--dl-green); }
.dl-swatch--comp  { background: var(--dl-hatch); }
.dl-swatch--lg { width: 16px; height: 16px; }
.dl-legenda { display: flex; gap: 14px; align-items: center; font-size: 12px; font-weight: 700; color: var(--dl-text-2); }
.dl-legenda > span { display: flex; align-items: center; gap: 6px; }

/* Chips de variação */
.dl-chip { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.dl-chip--up      { color: #1E8449; background: #E3F2E8; }
.dl-chip--down    { color: #A93226; background: #F9ECE8; }
.dl-chip--novo    { color: #2A3F8B; background: #EEF2FB; }
.dl-chip--neutro  { color: var(--dl-text-2); background: var(--dl-track); }
.dl-chip--recente { font-weight: 700; padding: 5px 10px; color: #6B4F08; background: #FEF9E7; }
.dl-chip--antigo  { font-weight: 700; padding: 5px 10px; color: #A93226; background: #F9ECE8; }

/* Barras */
.dl-bar { height: 6px; border-radius: 3px; background: var(--dl-track); overflow: hidden; }
.dl-bar > div { height: 100%; border-radius: inherit; }
.dl-bar--lg { height: 14px; border-radius: 7px; }

/* ── Filtro ── */
.dl-filtro {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  background: #fff; border-radius: 18px; border: 1px solid rgba(0,0,0,.06); padding: 12px;
}
.dl-select-wrap { position: relative; flex: 1 1 240px; min-width: 0; }
.dl-select {
  width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--dl-line);
  background: var(--dl-surface); padding: 0 40px 0 16px; font-family: var(--font);
  font-size: 15px; font-weight: 600; color: var(--dl-text); appearance: none; -webkit-appearance: none; cursor: pointer;
}
.dl-select:focus { outline: none; border-color: var(--dl-green); }
.dl-select-chevron { position: absolute; right: 16px; top: 50%; margin-top: -7px; pointer-events: none; }
.dl-datas { display: flex; gap: 8px; flex: 1 1 100%; flex-wrap: wrap; }
.dl-date {
  flex: 1 1 140px; height: 42px; border-radius: 12px; border: 1.5px solid var(--dl-line);
  background: var(--dl-surface); padding: 0 12px; font-family: var(--font); font-size: 14px; color: var(--dl-text);
}
.dl-cmp-btn {
  height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--dl-line);
  background: #fff; font-family: var(--font); font-size: 14px; font-weight: 700; color: #3A3A34;
  cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.dl-cmp-btn:hover { background: #F6F4EF; }
.dl-cmp-curto { display: none; }
/* Mobile: dropdown e botão dividem a mesma linha; o botão usa rótulo curto para caber */
@media (max-width: 767px) {
  .dl-select-wrap { flex: 1 1 0; }
  .dl-cmp-btn { flex: none; padding: 0 14px; }
  .dl-cmp-longo { display: none; }
  .dl-cmp-curto { display: inline; }
}
.dl-cmp-btn.ativo { background: var(--dl-text); border-color: var(--dl-text); color: #fff; }
.dl-cmp-grid { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; align-items: center; }
@media (min-width: 768px) { .dl-cmp-grid { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); } }
.dl-periodo { border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; min-width: 0; position: relative; }
.dl-periodo--atual { background: var(--dl-green-light); border: 2px solid var(--dl-green); }
.dl-periodo--comp  { background: #F4F2EE; border: 2px dashed #A9A69C; }
.dl-periodo-corpo { flex: 1; min-width: 0; }
.dl-periodo-tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.dl-periodo--atual .dl-periodo-tag { color: var(--dl-green); }
.dl-periodo--comp  .dl-periodo-tag { color: var(--dl-text-2); }
.dl-periodo-valor { font-size: 16px; font-weight: 700; margin-top: 2px; }
.dl-periodo-select-wrap { position: relative; }
.dl-periodo-select {
  width: 100%; border: none; background: transparent; font-family: var(--font); font-size: 16px; font-weight: 700;
  padding: 0 22px 0 0; margin-top: 2px; appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--dl-text);
}
.dl-periodo-select:focus { outline: none; }
.dl-periodo-select-wrap .dl-select-chevron { right: 0; }
.dl-periodo--comp .dl-datas { margin-top: 8px; }
.dl-periodo--comp .dl-date { background: #fff; }
.dl-vs {
  justify-self: center; width: 38px; height: 38px; border-radius: 50%; background: var(--dl-text); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; justify-content: center;
}

/* ── Hero Volume total ── */
.dl-hero {
  flex: 2 1 300px; min-width: 0; container-type: inline-size; background: var(--dl-green); color: #fff; border-radius: 22px;
  padding: 24px 22px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(31,74,50,.25);
}
@media (min-width: 768px) { .dl-hero { padding: 26px 28px; } }
.dl-hero::before {
  content: ""; position: absolute; right: -100px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,.22), rgba(200,168,75,0) 65%); pointer-events: none;
}
.dl-hero > * { position: relative; }
.dl-hero-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.dl-hero-valor {
  font-size: min(48px, 21cqi); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-top: 14px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 768px) { .dl-hero-valor { font-size: min(64px, 21cqi); } }
.dl-hero-chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.dl-hero-chip {
  font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  padding: 6px 12px; border-radius: 100px;
}
.dl-hero-chip--gold { color: var(--dl-gold-light); background: rgba(200,168,75,.14); border-color: transparent; }
.dl-hero-cmp { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.dl-hero-serie { display: flex; flex-direction: column; gap: 7px; }
.dl-hero-serie--comp { color: rgba(255,255,255,.78); }
.dl-hero-serie-head { display: flex; justify-content: space-between; gap: 4px 10px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.dl-hero-serie-head > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dl-hero-sw { width: 12px; height: 12px; border-radius: 3px; flex: none; background: #fff; }
.dl-hero-sw--comp { background: var(--dl-hatch-light); }
.dl-hero-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.dl-hero-bar > div { height: 100%; border-radius: 6px; background: #fff; }
.dl-hero-bar--comp > div { background: var(--dl-hatch-light); }
.dl-hero-delta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.dl-hero-delta-chip { font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 100px; color: #12321F; background: #9FE0B5; white-space: nowrap; }
.dl-hero-delta-chip--down   { color: #5A1A12; background: #FFB9AD; }
.dl-hero-delta-chip--neutro { color: #fff; background: rgba(255,255,255,.18); }
.dl-hero-delta-txt { font-size: 14px; color: rgba(255,255,255,.75); }

/* ── KPI ── */
.dl-kpi { flex: 1 1 160px; container-type: inline-size; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.dl-kpi-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.dl-kpi-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--dl-green-light); color: var(--dl-green);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dl-kpi-icon--gold { background: var(--dl-gold-bg); color: var(--dl-gold-dark); }
.dl-kpi-tag { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--dl-green); margin-bottom: -10px; }
/* Cartões estreitos (4 por linha em ~850px) — a fonte encolhe com a largura do cartão em vez de quebrar o número */
.dl-kpi-valor { font-size: min(60px, 34cqi); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--dl-text); white-space: nowrap; }
.dl-kpi-valor--sm { font-size: min(40px, 21cqi); }
.dl-kpi-valor--link {
  cursor: pointer; align-self: flex-start;
  text-decoration: underline dotted; text-decoration-color: var(--dl-text-3);
  text-decoration-thickness: 2px; text-underline-offset: .14em;
}
.dl-kpi-valor--link:hover { color: var(--dl-green); text-decoration-style: solid; text-decoration-color: currentColor; }
.dl-kpi-comp-valor.dl-kpi-valor--link { text-decoration-thickness: 1.5px; }
.dl-kpi-comp {
  border-top: 1px solid var(--dl-divider); padding-top: 12px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 8px;
}
.dl-kpi-comp-tag { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--dl-text-2); }
.dl-kpi-comp-valor { font-size: 20px; font-weight: 700; color: var(--dl-text-2); margin-top: 4px; }
.dl-kpi-comp .dl-chip { font-size: 13px; padding: 5px 10px; }

/* ── Top profissionais ── */
.dl-top { flex: 1.4 1 420px; }
.dl-top-row { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--dl-divider); }
.dl-top-row--primeiro { border-top: none; }
.dl-medal {
  width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 17px; font-weight: 800; background: #CFCCC4;
  display: flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.dl-top-info { flex: 1; min-width: 0; }
.dl-top-linha { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dl-top-nome { font-size: 16px; font-weight: 700; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.dl-top-valor { font-size: 17px; font-weight: 800; white-space: nowrap; color: var(--dl-green); }
.dl-top-valor--1 { font-size: 18px; }
.dl-top-sub { font-size: 13px; color: var(--dl-text-3); margin-top: 2px; }
.dl-top-info .dl-bar { margin-top: 10px; }
.dl-top-info .dl-bar + .dl-bar { margin-top: 5px; }
.dl-cmp-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.dl-cmp-linha > span:first-child { font-size: 13px; color: var(--dl-text-2); }

/* ── Vendas por segmento ── */
.dl-seg { flex: 1 1 320px; padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 18px; }
.dl-seg .dl-card-head { padding: 0; }
.dl-seg-item { display: flex; flex-direction: column; gap: 10px; }
.dl-seg-linha { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dl-seg-nome { font-size: 16px; font-weight: 600; min-width: 0; }
.dl-seg-nome--outros { color: var(--dl-text-3); }
.dl-seg-valor { font-size: 18px; font-weight: 800; color: var(--dl-green); white-space: nowrap; }
.dl-seg-comp-label { font-size: 14px; font-weight: 600; color: var(--dl-text-2); }
.dl-seg-comp-valor { display: flex; align-items: center; gap: 8px; }
.dl-seg-comp-valor > span:first-child { font-size: 17px; font-weight: 700; color: var(--dl-text-2); white-space: nowrap; }
.dl-seg-pct { font-size: 13px; color: var(--dl-text-3); }

/* ── Profissionais sem compra ── */
.dl-semcompra { flex: 1.2 1 420px; }
.dl-semcompra-head {
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #FEF9E7; border-bottom: 1px solid #F3E6B8;
}
.dl-semcompra-head > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dl-semcompra-count {
  min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; background: var(--dl-gold); color: #fff;
  font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none;
}
.dl-semcompra-title { font-size: 17px; font-weight: 800; line-height: 1.25; }
.dl-semcompra-sub { font-size: 13px; color: #6B4F08; margin-top: 2px; }
.dl-semcompra-head .dl-card-link { color: #6B4F08; }
.dl-semcompra .dl-pessoa-row:first-of-type { border-top: none; }

/* ── Linhas com avatar (sem compra, últimas compras) ── */
.dl-ultimas { flex: 1 1 340px; }
.dl-ultimas .dl-card-head { padding-bottom: 12px; }
.dl-pessoa-row { display: flex; align-items: center; gap: 14px; padding: 13px 24px; border-top: 1px solid var(--dl-divider); cursor: pointer; }
.dl-pessoa-row:hover { background: #FAF8F4; }
.dl-pessoa-row--estatica { cursor: default; }
.dl-pessoa-row--estatica:hover { background: none; }
.dl-avatar {
  width: 40px; height: 40px; border-radius: 50%; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dl-pessoa-info { flex: 1; min-width: 0; }
.dl-pessoa-nome { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-pessoa-sub { font-size: 13px; color: var(--dl-text-3); margin-top: 1px; }
.dl-pessoa-valor { font-size: 16px; font-weight: 800; white-space: nowrap; color: var(--dl-text); }

.dl-alerta { border-radius: 18px; padding: 16px 20px; margin-bottom: 0; }
.dl-skel { padding: 22px 24px; }

/* ── DASHBOARD PROFISSIONAL ─────────────────── */
/* Reaproveita tokens --dl-* e a base .dl-stack/.dl-row/.dl-card/.dl-hero do dashboard do lojista */

/* Rótulos/links da base dl- um pouco menores só neste dashboard (não afeta o do lojista) */
.dp-stack .dl-label, .dp-stack .dl-hero-label { font-size: 11px; }
.dp-stack .dl-hero-chip { font-size: 12px; }
.dp-stack .dl-card-link { font-size: 13px; }

/* ── Hero "Seus pontos" ── */
.dl-hero.dp-hero { flex: 2 1 460px; align-self: flex-start; }
@media (min-width: 768px) { .dl-hero.dp-hero { padding: 26px 28px; } }
.dp-hero::before { width: 420px; height: 420px; right: -120px; top: -140px; }
.dp-hero-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dp-hero-dias { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #fff; }
.dp-hero-dias svg { color: var(--dl-gold); flex: none; }
.dp-hero-pontos { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.dp-hero-valor {
  font-size: min(40px, 11cqi); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 768px) { .dp-hero-valor { font-size: min(50px, 10cqi); } }
.dp-hero-pp { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.55); }
.dp-chip-nivel {
  display: flex; align-items: center; gap: 7px; background: var(--dl-gold); color: #1F2A1F;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 14px; border-radius: 100px;
}
.dp-chip-var { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.dp-chip-var--up   { color: #12321F; background: #9FE0B5; }
.dp-chip-var--down { color: #FFB9AD; background: rgba(192,57,43,.22); }

/* Barra de faixas */
.dp-faixas { margin-top: 40px; display: grid; gap: 5px; }
.dp-faixa { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dp-faixa-trilho-wrap { position: relative; }
.dp-faixa-trilho { height: 10px; border-radius: 5px; background: rgba(255,255,255,.14); overflow: hidden; }
.dp-faixa-trilho > div { height: 100%; border-radius: 5px; background: #5FD08A; }
.dp-faixa--atual .dp-faixa-trilho > div { background: var(--dl-gold-light); }
.dp-faixa-check {
  position: absolute; left: 50%; top: -28px; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%;
  background: #5FD08A; color: #12321F; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.dp-faixa-voce {
  position: absolute; top: -30px; transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; pointer-events: none;
}
.dp-faixa-voce > span {
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; background: var(--dl-gold-light); color: #1F2A1F;
  padding: 3px 7px; border-radius: 5px; white-space: nowrap;
}
.dp-faixa-voce > i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--dl-gold-light); }
.dp-faixa-marcador {
  position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: #fff; border: 3px solid var(--dl-gold-light); box-shadow: 0 0 0 4px rgba(227,198,110,.3);
}
.dp-faixa-nome { font-size: 11px; font-weight: 700; line-height: 1.15; min-width: 0; color: rgba(255,255,255,.45); }
.dp-faixa-nome > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-faixa--conquistada .dp-faixa-nome { color: #7FE0A3; }
.dp-faixa--atual .dp-faixa-nome { color: var(--dl-gold-light); }
@media (max-width: 767px) {
  .dp-faixa-nome { font-size: 10px; text-align: center; }
  .dp-faixa-nome > span { white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
}

.dp-hero-rodape {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-end;
}
.dp-hero-falta { font-size: 15px; font-weight: 600; line-height: 1.35; }
.dp-hero-falta strong { font-weight: 800; }
.dp-hero-falta-pts { color: var(--dl-gold-light); font-weight: 800; }
.dp-hero-projecao { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; }
.dp-hero-link { font-size: 13px; font-weight: 700; color: var(--dl-gold-light); text-decoration: none; white-space: nowrap; }
.dp-hero-link:hover { color: #fff; }

/* ── Benefícios do nível ── */
.dp-beneficios { flex: 1 1 260px; display: flex; flex-direction: column; }
.dp-beneficios-head { padding: 20px 22px 4px; }
.dp-beneficios-nivel { font-size: 18px; font-weight: 800; color: var(--dl-green); margin-top: 6px; }
.dp-beneficios-lista { display: flex; flex-direction: column; gap: 0; padding: 4px 12px 12px; flex: 1; justify-content: center; }
.dp-beneficio { display: flex; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 14px; }
.dp-beneficio:hover { background: var(--dl-gold-bg); }
.dp-beneficio-icone {
  width: 40px; height: 40px; border-radius: 12px; background: var(--dl-gold-bg); color: var(--dl-gold-dark);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.dp-beneficio-texto { font-size: 12px; font-weight: 600; line-height: 1.3; }
.dp-beneficio--voucher { margin-top: 6px; padding: 8px 10px; background: var(--dl-gold-bg); border: 1px solid #EADBA8; }
.dp-beneficio-icone--moeda { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4DE95, #C8A84B 60%, #A8872A); color: #5C4510; }
.dp-beneficio-corpo { min-width: 0; }
.dp-voucher-label { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #8A6D1F; }
.dp-voucher-valor { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin-top: 2px; color: var(--dl-text); }

/* ── Campanha de bonificação ── */
.dp-bonus-faixa { height: 5px; background: var(--dp-cor, var(--color-primary)); }
.dp-bonus-head {
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; border-bottom: 1px solid var(--dl-divider);
}
.dp-bonus-titulo { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; min-width: 0; }
.dp-bonus-nome { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.dp-bonus-periodo { font-size: 13px; color: var(--dl-text-3); }
.dp-bonus-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dp-bonus-dias {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 100px; white-space: nowrap;
  color: color-mix(in srgb, var(--dp-cor, var(--color-primary)) 75%, #000);
  background: color-mix(in srgb, var(--dp-cor, var(--color-primary)) 12%, #fff);
}
.dp-pill {
  height: 34px; display: flex; align-items: center; padding: 0 14px; border-radius: 100px; border: 1px solid var(--dl-line);
  background: #fff; color: #3A3A34; font-family: var(--font); font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.dp-pill:hover { background: #F6F4EF; }
.dp-bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 20px 24px 24px; }
.dp-mini { background: var(--dl-surface); border-radius: 16px; padding: 18px 20px; min-width: 0; container-type: inline-size; }
.dp-mini-valor { font-size: min(32px, 22cqi); font-weight: 700; margin-top: 8px; line-height: 1; white-space: nowrap; }
button.dp-mini { text-align: left; font: inherit; cursor: pointer; color: var(--dl-text); border: 1.5px solid; transition: border-color .15s, background .15s; }
.dp-mini-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.dp-mini-linha { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
.dp-mini-linha .dp-mini-valor { margin-top: 0; }
.dp-mini-acao { font-size: 12px; font-weight: 600; white-space: nowrap; }
.dp-mini--pont { background: #fff; border-color: #CFE5D6; }
.dp-mini--pont:hover { border-color: #27AE60; }
.dp-mini--pont .dp-mini-label, .dp-mini--pont .dp-mini-acao { color: #2C7A4B; }
.dp-mini--pont .dp-mini-valor { color: #1E8449; }
.dp-mini--falt { background: #fff; border-color: #F2D3CE; }
.dp-mini--falt:hover { border-color: #C0392B; }
.dp-mini--falt .dp-mini-label, .dp-mini--falt .dp-mini-acao { color: #A93226; }
.dp-mini--falt .dp-mini-valor { color: #C0392B; }

/* ── Listas (faixas, segmentos da campanha) ── */
.dp-col-faixas { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.dp-lista-head { padding: 20px 24px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dp-lista-contador { font-size: 12px; font-weight: 700; color: var(--dl-text-2); }
.dp-lista { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 14px; }
.dp-lista-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; color: var(--dl-text); }
.dp-lista-item--compacto { padding: 10px 14px; }
.dp-lista-dot {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--dl-track); color: var(--dl-text-3); font-size: 12px; font-weight: 800;
}
.dp-lista-corpo { flex: 1; min-width: 0; }
.dp-lista-titulo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-lista-nome { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.dp-lista-item--compacto .dp-lista-nome { font-size: 13.5px; font-weight: 600; }
.dp-lista-faixa { font-size: 12px; font-family: var(--font-mono); margin-top: 3px; opacity: .75; }
.dp-selo { font-size: 10px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.dp-selo--atual { background: var(--dl-gold); color: #1F2A1F; }
.dp-selo--done  { background: #2E8B57; color: #fff; }
.dp-lista-barra { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); margin-top: 9px; overflow: hidden; }
.dp-lista-barra > div { height: 100%; border-radius: 3px; background: var(--dl-gold-light); }
.dp-lista-proxima { font-size: 12px; font-weight: 700; color: var(--dl-gold-dark); margin-top: 4px; }
.dp-lista-item--done { background: #E3F2E8; color: #1E5C38; }
.dp-lista-item--done .dp-lista-dot { background: #2E8B57; color: #fff; }
.dp-lista-item--atual { background: var(--dl-green); color: #fff; }
.dp-lista-item--atual .dp-lista-dot { background: var(--dl-gold); color: #1F2A1F; }
.dp-lista-item--proxima { background: var(--dl-gold-bg); }
.dp-lista-dica { padding: 12px 24px; font-size: 12px; color: #6B4F08; background: #FEF9E7; border-top: 1px solid #F3E6B8; }

/* ── Últimas compras ── */
.dp-ultimas { flex: 1.4 1 360px; }
.dp-ultimas .dl-card-head { padding-bottom: 12px; }
.dp-compra { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--dl-divider); }
.dp-compra:hover { background: #FAF8F4; }
.dp-compra-avatar {
  width: 44px; height: 44px; border-radius: 12px; background: var(--dl-green-light); color: var(--dl-green);
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none;
}
.dp-compra-info { flex: 1; min-width: 0; }
.dp-compra-nome { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-compra-sub { font-size: 12px; color: var(--dl-text-3); margin-top: 2px; }
.dp-compra-valor { font-size: 14px; font-weight: 800; color: var(--dl-text); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── DASHBOARD LOJISTA: escala tipográfica reduzida ──
   Escopo .dl-lojista para não afetar o dashboard do profissional, que também usa a base dl-. */
.dl-lojista .dl-card-title { font-size: 16px; }
.dl-lojista .dl-card-sub { font-size: 12px; }
.dl-lojista .dl-card-link { font-size: 13px; }
.dl-lojista .dl-label, .dl-lojista .dl-hero-label { font-size: 11px; }
.dl-lojista .dl-legenda { font-size: 11px; }
.dl-lojista .dl-chip { font-size: 11px; }

.dl-lojista .dl-select { font-size: 14px; }
.dl-lojista .dl-cmp-btn { font-size: 13px; }
.dl-lojista .dl-periodo-tag { font-size: 10px; }
.dl-lojista .dl-periodo-valor { font-size: 14px; }

.dl-lojista .dl-hero-valor { font-size: min(44px, 21cqi); }
@media (min-width: 768px) { .dl-lojista .dl-hero-valor { font-size: min(56px, 21cqi); } }
.dl-lojista .dl-hero-chip { font-size: 12px; }
.dl-lojista .dl-hero-serie-head { font-size: 13px; }
.dl-lojista .dl-hero-delta-chip, .dl-lojista .dl-hero-delta-txt { font-size: 13px; }

.dl-lojista .dl-kpi-valor { font-size: min(52px, 32cqi); }
.dl-lojista .dl-kpi-tag, .dl-lojista .dl-kpi-comp-tag { font-size: 10px; }
.dl-lojista .dl-kpi-comp-valor { font-size: 18px; }
.dl-lojista .dl-kpi-comp .dl-chip { font-size: 12px; }

.dl-lojista .dl-medal { font-size: 15px; }
.dl-lojista .dl-top-nome { font-size: 15px; }
.dl-lojista .dl-top-valor { font-size: 15px; }
.dl-lojista .dl-top-valor--1 { font-size: 16px; }
.dl-lojista .dl-top-sub, .dl-lojista .dl-cmp-linha > span:first-child { font-size: 12px; }

.dl-lojista .dl-seg-nome { font-size: 15px; }
.dl-lojista .dl-seg-valor { font-size: 16px; }
.dl-lojista .dl-seg-comp-label { font-size: 13px; }
.dl-lojista .dl-seg-comp-valor > span:first-child { font-size: 15px; }
.dl-lojista .dl-seg-pct { font-size: 12px; }

.dl-lojista .dl-semcompra-count { font-size: 16px; }
.dl-lojista .dl-semcompra-title { font-size: 15px; }
.dl-lojista .dl-semcompra-sub { font-size: 12px; }
.dl-lojista .dl-avatar { font-size: 12px; }
.dl-lojista .dl-pessoa-nome { font-size: 14px; }
.dl-lojista .dl-pessoa-sub { font-size: 12px; }
.dl-lojista .dl-pessoa-valor { font-size: 14px; }
