/* ==========================================================================
   Pjeset e domenit te paneleve (fotot, harta, kalendari, fleta e njesive,
   plani i katit, afati i kerkesave...), te marra nga shared/ui/dashboard.css.
   Emrat e vjeter te tokeneve (--accent, --border, --text...) jane pseudonime te
   tokeneve te reja te tokens.css, ndaj ndjekin temen e ndritshme dhe te erret.
   ========================================================================== */

/* Formulari i prones: te dhenat majtas, fotot djathtas. */

.form-2col { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }

@media (max-width: 1100px) {
  .form-2col { grid-template-columns: minmax(0, 1fr); }
}

.photo-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.photo-item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-hover);
}

.photo-item.is-primary { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.photo-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  padding: var(--sp-2);
  border-top: 1px solid var(--border);
}

/* Parapamja e vendeve te afert te formulari i prones. */
.nearby-preview {
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.nearby-preview-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
}

/* Vizatuesi i shumekendeshit mbi foton e nderteses. */
.marker-canvas {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: crosshair;
  touch-action: none;
  user-select: none;
  background: var(--bg-muted);
}

.marker-canvas.is-closed { cursor: default; }
.marker-canvas img { display: block; width: 100%; height: auto; pointer-events: none; }

.marker-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.marker-shape {
  fill: color-mix(in srgb, var(--accent) 26%, transparent);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
}

.marker-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 5 4;
  stroke-linejoin: round;
}

/* Pikat jane HTML, jo SVG: viewBox-i i shtrire do t'i deformonte ne elipsa. */
.marker-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}

/* Pika e pare ndricohet kur forma mund te mbyllet mbi te. */
.marker-dot.is-first {
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-width: 3px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}

.photo-flag {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  padding: 2px var(--sp-2);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

/* --------------------------------------------------------- radhet e punes */

.queue-list { display: grid; }

.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.queue-row:last-child { border-bottom: 0; }
.queue-row:hover { color: var(--text); }
.queue-row.has-items { color: var(--text); font-weight: var(--fw-medium); }

/* ------------------------------------------------------------- grafiket */

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 140px;
  padding-top: var(--sp-2);
}

.chart-bar {
  flex: 1;
  min-width: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
}

.chart-bar:hover { opacity: 1; }


/* ==========================================================================
   Shtesa per panelin e agjencise (agent).
   ========================================================================== */

/* ------------------------------------------------- hapat e formularit */

.stepper {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
}

.stepper-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease);
}

.stepper-item:hover { background: var(--surface-hover); color: var(--text); }
.stepper-item.is-active { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-text); }
.stepper-item.is-done { color: var(--success); }

.stepper-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}

.stepper-item.is-active .stepper-num { background: var(--accent); color: var(--text-inverse); }
.stepper-item.is-done .stepper-num { background: var(--success-soft); color: var(--success); }

/* -------------------------------------- rrjeta e kutizave te zgjedhjes */

.check-grid { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.check-group + .check-group { margin-top: var(--sp-5); }
.check-group-title { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-muted); }

/* --------------------------------------------- menyrat e marreveshjes */

.deal-option {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.deal-option + .deal-option { margin-top: var(--sp-3); }
.deal-option.is-on { border-color: var(--accent-border); background: var(--accent-soft); }
.deal-option.is-locked { opacity: 0.7; background: var(--bg-subtle); }
.deal-disclaimer { margin: var(--sp-2) 0 0 26px; font-size: var(--fs-xs); color: var(--text-muted); line-height: var(--lh-normal); }
.deal-sub { margin: var(--sp-4) 0 0 26px; padding-top: var(--sp-4); border-top: 1px dashed var(--border); }

/* ------------------------------------------------------------- fotot */

.media-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.media-item {
  position: relative;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-muted);
}

.media-item.is-primary { border-color: var(--accent); }
.media-item img { display: block; width: 100%; height: 120px; object-fit: cover; }
.media-actions { display: flex; gap: var(--sp-1); padding: var(--sp-2); flex-wrap: wrap; }
.media-flag { position: absolute; top: var(--sp-2); left: var(--sp-2); }

.media-drop {
  display: grid;
  place-items: center;
  gap: var(--sp-2);
  padding: var(--sp-8);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ---------------------------------------------------------- kalendari */

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.calendar-dow { padding: var(--sp-2); background: var(--bg-subtle); text-align: center; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-muted); text-transform: uppercase; }

.calendar-day { min-height: 104px; padding: var(--sp-2); background: var(--surface); display: flex; flex-direction: column; gap: var(--sp-1); }
.calendar-day.is-out { background: var(--bg-subtle); color: var(--text-subtle); }
.calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.calendar-date { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-muted); }

.calendar-event {
  width: 100%;
  padding: 2px var(--sp-2);
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--accent-soft);
  color: var(--accent-text);
  font: inherit;
  font-size: var(--fs-xs);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event:hover { filter: brightness(0.96); }
.calendar-event.is-done { background: var(--success-soft); color: var(--success); }
.calendar-event.is-off { background: var(--bg-muted); color: var(--text-subtle); text-decoration: line-through; }

/* ------------------------------------------------ vija kohore e ngjarjeve */

.timeline { display: grid; gap: var(--sp-4); }
.timeline-item { display: grid; grid-template-columns: 26px 1fr; gap: var(--sp-3); }
.timeline-dot { width: 10px; height: 10px; margin: 5px auto 0; border-radius: var(--radius-full); background: var(--accent); }
.timeline-item.is-muted .timeline-dot { background: var(--border-strong); }
.timeline-body { font-size: var(--fs-sm); }
.timeline-meta { font-size: var(--fs-xs); color: var(--text-subtle); }

.note-card { padding: var(--sp-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-subtle); font-size: var(--fs-sm); }
.note-card + .note-card { margin-top: var(--sp-2); }

/* -------------------------------------------- lista e cifteve emer/vlere */

.detail-list { display: grid; gap: 0; margin: 0; }

.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--text-muted); }
.detail-row dd { margin: 0; text-align: right; font-weight: var(--fw-medium); }

/* ----------------------------------------------- gypi i fazave te leads */

.funnel { display: grid; gap: var(--sp-3); }
.funnel-row { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.funnel-row .funnel-count { text-align: right; font-weight: var(--fw-semibold); }
.funnel-row button.funnel-label { border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 0; }
.funnel-row button.funnel-label:hover { color: var(--accent); }

/* ------------------------------- perdorimi kunder kufirit te planit */

.usage-row { display: grid; gap: var(--sp-2); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.usage-row:last-child { border-bottom: 0; }
.usage-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-sm); }

/* ------------------------------------------ faqe me kolone anesore */

.layout-side { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); align-items: start; }

@media (max-width: 900px) {
  .layout-side { grid-template-columns: 1fr; }
  .funnel-row { grid-template-columns: 100px 1fr 44px; }
  .calendar-day { min-height: 72px; }
}



/* ---------------------------------------- kartat e radhes se moderimit */

.mod-thumb {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.mod-actions { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.mod-actions .btn { flex: 1; }

/* Karta e prones qe pret moderim dhe permban nje marreveshje te ndjeshme. */
.mod-flagged { border-color: var(--warning); }

/* ------------------------------------- rreshtat inline te taksonomive */

.tax-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}

.tax-row:last-child { border-bottom: 0; }
.tax-row .input { min-height: 34px; }
.tax-row-name { flex: 1; min-width: 160px; }


/* ------------------------------------ fleta e njesive (tabele e editueshme) */

.sheet-scroll { max-height: 62vh; overflow: auto; }
.sheet { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }

.sheet th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.sheet td { padding: 2px var(--sp-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.sheet tbody tr:hover td { background: var(--surface-hover); }
.sheet tbody tr.is-dirty td { background: var(--warning-soft); }
.sheet tbody tr.is-selected td { background: var(--accent-soft); }

.sheet-input {
  width: 100%;
  min-width: 62px;
  height: 30px;
  padding: 0 var(--sp-2);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  font: inherit;
}

.sheet-input:hover { border-color: var(--border); }

.sheet-input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.sheet-input.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-calc { display: block; padding: 0 var(--sp-2); color: var(--text-subtle); text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------- rrjeta vizuale e njesive sipas kateve */

.unit-grid { display: grid; gap: var(--sp-2); }
.unit-floor { display: flex; align-items: flex-start; gap: var(--sp-3); }
.unit-floor-label { flex: 0 0 72px; padding-top: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-muted); }
.unit-cells { display: flex; flex-wrap: wrap; gap: 4px; }

.unit-cell {
  min-width: 62px;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  text-align: center;
  cursor: pointer;
}

.unit-available { background: var(--success-soft); color: var(--success); }
.unit-reserved  { background: var(--warning-soft); color: var(--warning); }
.unit-sold      { background: var(--danger-soft);  color: var(--danger); }
.unit-blocked   { background: var(--bg-muted);     color: var(--text-muted); }
.unit-cell.is-picked { border-color: currentColor; }

.legend { display: flex; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-xs); color: var(--text-muted); }
.legend-item { display: inline-flex; align-items: center; gap: var(--sp-2); }
.legend-dot { width: 10px; height: 10px; border-radius: var(--radius-xs); }

/* ------------------------------------------------- media e projektit */

.media-item { position: relative; overflow: hidden; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.media-item img { display: block; width: 100%; height: 108px; object-fit: cover; }
.media-file { display: grid; place-items: center; height: 108px; font-size: var(--fs-2xl); color: var(--text-subtle); }
.media-meta { padding: var(--sp-2); font-size: var(--fs-xs); color: var(--text-muted); }

.media-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(16, 20, 28, 0.65);
  color: #fff;
  line-height: 1;
  cursor: pointer;
}

/* -------------------------------------------- lista celes-vlere (profili) */

.def-list { display: grid; }
.def-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.def-row:last-child { border-bottom: 0; }
.def-row dt { margin: 0; color: var(--text-muted); }
.def-row dd { margin: 0; text-align: right; font-weight: var(--fw-medium); }


/* ------------------------------------------- historiku i nje kerkese (lead) */

.timeline-item { display: grid; gap: 2px; padding-left: var(--sp-4); border-left: 2px solid var(--border); }
.timeline-time { font-size: var(--fs-xs); color: var(--text-subtle); }

/* ---------------------------------------- etiketa te zgjedhshme (features) */

.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }



/* Fundi i nje karte me butona veprimi (p.sh. hapat e formularit). */
.card-foot {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
}

/* ------------------------------------------- redaktori i planit te katit 3D */

/* Kanavaca majtas, lista e dhomave djathtas; ne ekrane te vegjel njera mbi tjetren. */
.plan-editor {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  align-items: start;
}

.plan-canvas-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  overflow: hidden;
}

/* `touch-action: none` e ndal rreshqitjen e faqes gjate terheqjes se dhomave. */
.plan-canvas { display: block; width: 100%; height: 440px; touch-action: none; }
.plan-canvas.is-adding { cursor: crosshair; }

/* Njoftimi i modalitetit te hapjeve, mbi kanavace. */
.plan-hint {
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  background: var(--overlay);
  color: #fff;
  font-size: var(--fs-xs);
  pointer-events: none;
}

/* Lista anesore e dhomave dhe e hapjeve. */
.plan-side { max-height: 560px; overflow-y: auto; padding-right: var(--sp-1); }

.plan-row {
  padding: var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.plan-row + .plan-row { margin-top: var(--sp-2); }
.plan-row.is-active { border-color: var(--accent-border); background: var(--accent-soft); }
.plan-row-head { display: flex; align-items: center; gap: var(--sp-2); }
.plan-row-head .sheet-input { flex: 1; min-width: 0; }

.plan-swatch { width: 12px; height: 12px; border-radius: var(--radius-xs); flex: 0 0 auto; }

.plan-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-1); margin-top: var(--sp-2); }
.plan-num { display: grid; gap: 2px; }
.plan-num span { font-size: 10px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.04em; }

/* Paneli i vizites 3D: sfondi i njejte me qiellin e skenes qe te mos pulsoje. */
.plan-preview {
  height: 380px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #bcd4e8;
  overflow: hidden;
}

.plan-preview-off { display: grid; place-items: center; height: 100%; background: var(--bg-muted); color: var(--text-muted); font-size: var(--fs-sm); }

@media (max-width: 1080px) {
  .plan-editor { grid-template-columns: minmax(0, 1fr); }
  .plan-side { max-height: 380px; }
}

/* ==========================================================================
   Pajtueshmeria: klasat e komponenteve te vjeter te @shared (DataTable, Modal,
   Toolbar, Pagination, Stat, PageHeader me breadcrumb, useToasts) marrin pamjen
   e re, per pjeset qe i perdorin ende.
   ========================================================================== */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.table th { padding: 10px var(--s-4); background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.table td { padding: 12px var(--s-4); border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-hover); }
.table tbody tr.is-clickable { cursor: pointer; }
.table .text-right, .dt .text-right { text-align: right; }
.table-compact td, .table-compact th { padding-top: 7px; padding-bottom: 7px; }
.cell-main { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }

.modal-backdrop { position: fixed; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--s-4); background: var(--overlay); backdrop-filter: blur(3px); animation: fade-in var(--t) var(--ease); }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-4); animation: dialog-in var(--t) var(--ease-out); }
.modal-sm { max-width: 440px; }
.modal-lg { max-width: 820px; }
.modal-xl { max-width: 1100px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.02em; }
.modal-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink-2); font-size: 22px; line-height: 1; }
.modal-close:hover { background: var(--surface-3); color: var(--ink); }
.modal-body { padding: var(--s-6); overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-xl) var(--r-xl); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.toolbar .input { min-height: 36px; width: auto; min-width: 180px; font-size: var(--fs-sm); }

.pagination { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); }
.page { min-width: 32px; height: 32px; padding: 0 var(--s-2); border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; }
.page:hover:not(:disabled) { background: var(--surface-3); color: var(--ink); }
.page.is-active { background: var(--brand-solid); color: #fff; }
.page:disabled { opacity: 0.4; cursor: not-allowed; }
.page-gap { padding: 0 2px; color: var(--ink-3); }
.page-info { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); }

.stat { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand); flex: 0 0 auto; }
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat-label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.stat-value { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.stat-hint { font-size: var(--fs-xs); color: var(--ink-3); }

.breadcrumb { display: flex; gap: var(--s-2); margin-bottom: 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--brand); }

.toasts { position: fixed; top: calc(var(--top-h) + 12px); right: var(--s-6); z-index: var(--z-toast); display: grid; gap: var(--s-2); width: min(380px, calc(100vw - 32px)); }
.toasts .toast { padding-left: var(--s-5); }

.state-loading { color: var(--ink-3); }
.avatar-text { background: var(--brand-solid); color: #fff; }

.btn-whatsapp { background: #1f9d55; color: #fff; }
.btn-whatsapp:hover:not(:disabled) { background: #178246; color: #fff; }

@media print {
  .no-print { display: none !important; }
}
