/* ==========================================================
   inapropiere.ro — Design v2 tokens (2026 Warm & Human)
   Acest fișier se încarcă DUPĂ main.css și suprascrie tokenurile
   principale. Nu modifică structura HTML sau clasele existente.
   ========================================================== */

/* ── Instrument Serif: display font ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* ── CULORI: terracotta maturat, nu portocaliu strident ────── */
  --accent:        oklch(64% 0.165 45);     /* terracotta primar */
  --accent-h:      oklch(72% 0.140 50);     /* lighter hover */
  --accent-d:      oklch(54% 0.155 38);     /* darker pressed */
  --accent-glow:   oklch(96% 0.035 55 / 1); /* tint vf highlight */
  --accent-tint:   oklch(98% 0.018 55);     /* bg-tint zone */

  /* ── FUNDALURI: bone-white cald, nu gri rece ────────────────── */
  --bg:            oklch(98.5% 0.005 60);
  --bg-2:          oklch(96.5% 0.008 60);   /* section alt */
  --surface:       oklch(99.5% 0.003 60);   /* suprafata card */
  --surface-solid: oklch(99.5% 0.003 60);
  --surface-hover: oklch(97% 0.006 60);
  --surface-2:     oklch(97% 0.006 60);
  --glass:         oklch(99.5% 0.003 60 / 0.72);
  --glass-border:  oklch(93% 0.008 60 / 0.8);
  --glass-strong:  oklch(99.5% 0.003 60 / 0.92);

  /* ── TEXT: warm-grey, nu slate rece ─────────────────────────── */
  --text:   oklch(22% 0.012 60);    /* primary */
  --text-s: oklch(35% 0.012 60);    /* secondary (compatibil cu --text-s existent) */
  --text-m: oklch(45% 0.012 60);    /* muted */
  --text-l: oklch(62% 0.010 60);    /* subtle */

  /* ── BORDURI ─────────────────────────────────────────────────── */
  --border:        oklch(91% 0.008 60 / 0.9);
  --border-s:      oklch(87% 0.010 60 / 0.85);
  --border-strong: oklch(80% 0.012 60);

  /* ── SEMANTIC (păstrăm pentru admin/status) ─────────────────── */
  --green:    oklch(60% 0.13 150);
  --green-bg: oklch(96% 0.04 150);
  --red:      oklch(58% 0.18 25);
  --red-bg:   oklch(96% 0.04 25);
  --yellow:   oklch(70% 0.13 80);
  --yellow-bg: oklch(97% 0.04 80);
  --star:     oklch(75% 0.155 80);

  /* ── RADIUS ──────────────────────────────────────────────────── */
  --r-xs: 6px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;

  /* ── SHADOW: warm-tinted, nu albastru-negru rece ─────────────── */
  --shadow-sm:   0 1px 2px oklch(22% 0.012 60 / 0.04), 0 1px 1px oklch(22% 0.012 60 / 0.02);
  --shadow:      0 4px 14px oklch(22% 0.012 60 / 0.06), 0 1px 2px oklch(22% 0.012 60 / 0.04);
  --shadow-lg:   0 12px 40px oklch(22% 0.012 60 / 0.10), 0 2px 6px oklch(22% 0.012 60 / 0.04);
  --shadow-glow: 0 6px 24px oklch(64% 0.165 45 / 0.28);

  /* ── FONT ────────────────────────────────────────────────────── */
  --font-ui:   "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-disp: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* ── MOTION ──────────────────────────────────────────────────── */
  --ease:       cubic-bezier(.32,.72,0,1);
  --transition: 180ms var(--ease);
  --t-l:        280ms var(--ease);
  --bounce:     0.4s cubic-bezier(.34,1.56,.64,1);
  --blur:       blur(20px);
  --blur-sm:    blur(12px);
}

/* ── Body base ───────────────────────────────────────────────── */
body {
  font-family: var(--font-ui);

  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Display font class ──────────────────────────────────────── */
.disp {
  font-family: var(--font-disp);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.12;
  padding-bottom: .04em; /* evită tăierea descendenților italici */
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Butoane: flat accent, fără gradient ────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  /* suprascrie gradient-ul din main.css */
  background-image: none;
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
  filter: none; /* fără brightness() peste flat accent */
  box-shadow: 0 8px 28px oklch(64% 0.165 45 / 0.35);
}

/* ── Chip / pill ─────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;

  border: 1px solid var(--border);
  color: var(--text-m);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[data-active="true"] {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ── Card: border + hover shadow ────────────────────────────── */
.card, .glass-card, .business-card, .blog-card {

  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover, .glass-card:hover, .business-card:hover, .blog-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

/* ── Linie de accent pe cards: suprascrie pseudo-elementul existent ── */
.auth-box::before,
.business-card::before,
.blog-card::before,
.stat-card::before,
.biz-section::before,
.contact-card::before,
.admin-card::before,
.dash-card::before,
.dash-container::before {
  background: linear-gradient(90deg,
    transparent 0%,
    oklch(64% 0.165 45 / 0.7) 40%,
    oklch(64% 0.165 45 / 0.7) 60%,
    transparent 100%
  );
}

/* ── HEADER SITE: redesign cu warm bg ───────────────────────── */
.site-header {
  background: oklch(99.5% 0.003 60 / 0.94);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
  box-shadow: none; /* fără shadow pe header */
}

/* logo: terracotta în loc de #b54708 → se mapează corect pe --accent */
.logo strong {
  color: var(--accent);
}

/* nav link-uri mai curate */
.nav-link {
  color: var(--text-m);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--text); font-weight: 600; background: var(--surface-2); }

/* ── SEARCH BAR ──────────────────────────────────────────────── */
.search-bar {

  backdrop-filter: none;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  overflow: hidden;
}
.search-bar:focus-within {
  border-color: oklch(64% 0.165 45 / 0.5);
  box-shadow: var(--shadow), 0 0 0 3px oklch(64% 0.165 45 / 0.12);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg,
    oklch(98.5% 0.018 55) 0%,
    oklch(97% 0.025 50) 30%,
    var(--bg) 70%,
    var(--bg-2) 100%
  );
  padding: 4rem 0 3rem;
}
.hero::before { display: none; } /* scoate orb-ul animat — nu se potrivește cu stilul editorial */
.hero h1 {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -.02em;
  line-height: 1.12;
  padding-bottom: .04em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

/* ── AUTH SECTION: layout editorial ─────────────────────────── */
.auth-section {

  align-items: stretch;
  padding: 0;
}

/* pe desktop: split layout (via blade override inline) */
.auth-split {
  display: flex;

  align-items: stretch;
}
.auth-split-side {
  flex: 1;
  padding: 48px;
  background: linear-gradient(135deg, var(--accent-tint), oklch(95% 0.06 45 / 0.4));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border);
}
.auth-split-form {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;

}
.auth-box {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.auth-box::before { display: none; }
.auth-box h1 {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 38px;
  text-align: left;
  letter-spacing: -.02em;
  line-height: 1.12;
  padding-bottom: .04em;
  margin-bottom: 6px;
}
.auth-sub {
  text-align: left;
  font-size: 15px;
  color: var(--text-m);
  margin-bottom: 28px;
  line-height: 1.55;
}
.auth-links {
  text-align: left;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-m);
}
.auth-side-quote {
  font-size: 14px;
  color: var(--text-m);
  font-style: italic;
  border-left: 2px solid var(--accent-l, oklch(78% 0.105 55));
  padding-left: 14px;
  line-height: 1.55;
}
.auth-side-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.auth-side-benefit-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.auth-side-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.12;
  padding-bottom: .04em;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.auth-side-title em {
  font-style: italic;
  color: var(--accent);
}

@media (max-width: 768px) {
  .auth-split { flex-direction: column; }
  .auth-split-side { display: none; }
  .auth-split-form { padding: 32px 20px; }
  .auth-box h1 { font-size: 30px; }
}

/* ── FORM INPUTS: mai curate, fără glass ────────────────────── */
.form-group input,
.form-group select,
.form-group textarea {

  border: 1px solid var(--border-s);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(64% 0.165 45 / 0.12);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

/* ── BOTTOM BAR ──────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .btm-bar {
    background: oklch(99.5% 0.003 60 / 0.96);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: var(--blur);
  }
  .btm-bar-item:hover, .btm-bar-item.active {
    background: var(--accent-tint);
    color: var(--accent);
  }
}

/* ── SKELETON ────────────────────────────────────────────────── */
.skel {
  background: linear-gradient(90deg,
    var(--bg-2) 25%,
    var(--surface-2) 50%,
    var(--bg-2) 75%
  );
  background-size: 200% 100%;
  animation: shim 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shim {
  0%   { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}

/* ── DASHBOARD: sidebar cu accent-tint pe activ ─────────────── */
.dash-layout { background: var(--bg-2); }
.dash-sidebar { background: var(--surface); border-right: 1px solid var(--border); }
.dash-nav-item.active,
.dash-nav-item:hover {
  background: var(--accent-tint);
  color: var(--accent-d);
}
.dash-main { background: var(--bg-2); }

/* ── UTILITY ─────────────────────────────────────────────────── */
.fade-up { animation: fadeUpV2 .35s var(--ease) both; }
@keyframes fadeUpV2 {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================================
   Redesign 2026 production port
   Stable Blade/CSS layer based on the React prototype.
   ========================================================== */

:root {
  --sh-1: var(--shadow-sm);
  --sh-2: var(--shadow);
  --sh-3: var(--shadow-lg);
  --sh-glow: var(--shadow-glow);
  --success: var(--green);
  --success-bg: var(--green-bg);
  --danger: var(--red);
  --danger-bg: var(--red-bg);
  --warn: var(--yellow);
  --accent-l: oklch(78% 0.105 55);
}

body {

  color: var(--text);
  font-feature-settings: "ss01", "cv11";
}

.redesign-2026 {

}

.muted { color: var(--text-m); }
.subtle { color: var(--text-l); }

.btn,
.plan-cta,
.contact-submit,
.hp-search-btn,
.hf-apply,
.biz-cta-call {
  border-radius: 999px;
}

.btn-primary,
.plan-cta--free,
.contact-submit,
.hp-search-btn,
.hf-apply,
.biz-cta-call {
  background: var(--accent) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover,
.plan-cta--free:hover,
.contact-submit:hover,
.hp-search-btn:hover,
.hf-apply:hover,
.biz-cta-call:hover {
  background: var(--accent-d) !important;
  filter: none !important;
  transform: translateY(-1px);
}

.card,
.auth-box,
.plan-card,
.plans-panel,
.plans-callout,
.contact-form-wrap,
.contact-info-card,
.biz-header,
.biz-section,
.biz-sidebar .contact-card,
.dash-container,
.dash-plan-card,
.dash-section,
.stat-card,
.admin-card,
.blog-card-feat,
.blog-card-reg {

  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card:hover,
.plan-card:hover,
.contact-info-card:hover,
.biz-section:hover,
.stat-card:hover,
.blog-card-feat:hover,
.blog-card-reg:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

/* Homepage/catalog */
.hp-topbar {
  background: oklch(99.5% 0.003 60 / 0.94) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.hp-logo strong,
.logo strong { color: var(--accent) !important; }
.hp-search-bar {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.hp-hero h1,
.hp-results-title,
.hp-empty h2,
.plans-title,
.plan-name,
.contact-page-title,
.blog-hero h1,
.biz-header h1,
.biz-section h2,
.dash-title {
  font-family: var(--font-disp);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.12;
}
.hp-hero h1 em,
.plans-title span,
.auth-side-title em { color: var(--accent) !important; }
.hp-chips-bar,
.blog-filter-bar {
  background: var(--bg-2) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}
.hchip,
.hchip-filter,
.hp-subchip,
.blog-filter-pill {
  border-radius: 999px !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
  color: var(--text-m) !important;
}
.hchip.active,
.hp-subchip.active,
.blog-filter-pill.is-active {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
}
.hchip-filter.active {
  background: var(--accent-tint) !important;
  color: var(--accent-d) !important;
  border-color: oklch(64% 0.165 45 / .25) !important;
}
.hp-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}
.hp-card:hover {
  box-shadow: var(--shadow) !important;
  border-color: var(--border-strong) !important;
}
.hp-card-placeholder,
.biz-logo-placeholder,
.cf-img,
.cr-thumb {
  background:
    repeating-linear-gradient(135deg, oklch(64% 0.165 45 / .12) 0 10px, oklch(64% 0.165 45 / .18) 10px 20px),
    var(--accent-tint) !important;
  color: oklch(64% 0.165 45 / .42) !important;
}

/* Auth */
.auth-split {

}
.auth-split-side {
  background: linear-gradient(135deg, var(--accent-tint), oklch(94% 0.06 35)) !important;
  border-right: 1px solid var(--border);
}
.auth-side-title {
  font-family: var(--font-disp);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.12;
}
.auth-side-benefit-icon {
  background: var(--accent) !important;
  color: #fff !important;
}
.auth-box h1 {
  font-family: var(--font-disp);
  font-weight: 400;
  letter-spacing: -.01em;
}

/* Blog */
.blog-hero {
  background: var(--bg) !important;
  color: var(--text) !important;
  padding: clamp(42px, 6vw, 72px) 0 32px !important;
}
.blog-hero::before { display: none !important; }
.blog-hero-label {
  background: transparent !important;
  border: 0 !important;
  color: var(--accent) !important;
  padding: 0 !important;
}
.blog-hero h1 { color: var(--text) !important; font-size: clamp(38px, 6vw, 66px) !important; }
.blog-hero h1 em { color: var(--accent); font-style: italic; }
.blog-hero-sub { color: var(--text-m) !important; font-size: clamp(16px, 2vw, 19px) !important; }
.blog-featured-grid {
  grid-template-columns: 1fr !important;
}
.blog-card-feat,
.blog-card-reg { border-radius: var(--r-lg); }
.blog-card-feat {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr;
}
.blog-card-feat .cf-img {
  height: 360px !important;
  background:
    repeating-linear-gradient(135deg, oklch(64% 0.165 45 / .10) 0 14px, oklch(64% 0.165 45 / .16) 14px 28px),
    var(--accent-tint) !important;
}
.blog-card-feat .cf-body {
  padding: clamp(22px, 3vw, 36px) !important;
  justify-content: center;
}
.blog-card-feat .c-title-feat {
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.15;
}
.c-title-feat,
.c-title-reg {
  font-family: var(--font-disp);
  font-weight: 400;
}

@media (max-width: 760px) {
  .blog-card-feat { display: block !important; }
  .blog-card-feat .cf-img { height: 200px !important; }
}

/* Contact + pricing */
.contact-page {
  max-width: 1100px !important;
}
.contact-page-header {
  max-width: 640px;
}
.contact-page-badge,
.plans-eyebrow,
.blog-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-page-title {
  font-size: clamp(38px, 6vw, 60px) !important;
}
.contact-form-wrap {
  border-radius: var(--r-lg) !important;
}
.plans-page {
  background: var(--bg) !important;
}
.plans-hero {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}
.plans-title {
  font-size: clamp(38px, 6vw, 62px) !important;
  letter-spacing: -.02em !important;
}
.plans-lead { margin-inline: auto; color: var(--text-m) !important; }
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.plans-grid .plan-card:first-child { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.plan-card { border-radius: var(--r-lg) !important; }
.plan-name { font-size: 32px !important; }
.plans-callout {
  background: var(--accent-tint) !important;
  color: var(--text-m) !important;
}
.plans-callout h3 { color: var(--text) !important; font-family: var(--font-disp); font-weight: 400; }

/* Dashboard/backoffice */
.dash-layout {
  background: var(--bg-2) !important;
}
.dash-sidebar,
.dashboard-sidebar {
  background: var(--surface) !important;
  border-right: 1px solid var(--border) !important;
}
.dash-main {
  background: var(--bg-2) !important;
}
.dash-container,
.dash-plan-card,
.dash-section {
  border-radius: var(--r-lg) !important;
}
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
}
.stat-card {
  border-radius: var(--r-lg) !important;
}
.stat-num {
  font-family: var(--font-disp);
  font-weight: 400 !important;
}

@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  .auth-split-side { display: none !important; }
  .auth-split-form { padding: 28px 16px !important; }
  .contact-form-wrap { padding: 22px !important; }
}

/* Prototype-faithful pricing page */`r`n.pricing-shell {
  width: min(100%, 1100px);
  margin: 0 auto;
}
.pricing-hero {
  text-align: center;
  margin-bottom: 40px;
}
.pricing-hero h1 {
  max-width: 780px;
  margin: 8px auto 14px;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -.02em;
}
.pricing-hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.pricing-hero > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-m);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
}
.pricing-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
}
.pricing-toggle span {
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--text-m);
  font-size: 13px;
  font-weight: 600;
}
.pricing-toggle span[data-active="true"] {

  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pricing-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);

  box-shadow: var(--shadow-sm);
}
.pricing-card.is-hot {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pricing-desc {
  margin: 0 0 4px;
  color: var(--text-l);
  font-size: 13px;
}
.pricing-card h2 {
  margin: 0 0 14px;
  font-size: 32px;
}
.pricing-price {
  margin-bottom: 18px;
}
.pricing-price strong {
  font-size: 56px;
  line-height: 1;
  font-weight: 400;
}
.pricing-price span {
  margin-left: 6px;
  color: var(--text-m);
  font-size: 14px;
}
.pricing-card .btn {
  width: 100%;
  margin-bottom: 18px;
}
.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-card li {
  display: flex;
  gap: 10px;
  color: var(--text-m);
  font-size: 14px;
}
.pricing-card li span {
  flex-shrink: 0;
  color: var(--success);
  font-weight: 800;
}
.pricing-card.is-hot li span {
  color: var(--accent);
}
.pricing-question {
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--accent-tint);
  text-align: center;
}
.pricing-question p {
  margin: 0;
  color: var(--text-m);
  font-size: 14px;
}
.pricing-question a {
  color: var(--accent);
  font-weight: 700;
}

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

/* Prototype-faithful contact page */
.contact-prototype .contact-page-header {
  max-width: 620px;
  margin-bottom: 40px;
}
.contact-prototype .contact-page-badge {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  background: transparent;
}
.contact-prototype .contact-page-title {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -.02em;
}
.contact-prototype .contact-page-title em {
  color: var(--accent);
  font-style: italic;
}
.contact-prototype .contact-page-sub {
  max-width: 560px;
  color: var(--text-m);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
}
.contact-prototype-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.contact-prototype .contact-form-wrap {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);

}
.contact-prototype .contact-form-wrap h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;

  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
}
.contact-side-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-side-cards .contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);

}
.contact-info-icon {
  display: flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-d);
  font-weight: 800;
}
.contact-side-cards p {
  margin: 2px 0 0;
  color: var(--text-m);
  font-size: 12px;
}

@media (max-width: 760px) {
  .contact-prototype-grid { grid-template-columns: 1fr; }
}

/* Prototype public shell: header, body, footer */
.proto-site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: oklch(99.5% 0.003 60 / .94);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.proto-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 16px 28px 10px;
}
.proto-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--text);
  font-family: var(--font-disp);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.proto-logo em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.proto-logo small {
  color: var(--text-l);
  font-size: .7em;
}
.hp-logo {
  font-family: var(--font-disp) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em !important;
}
.hp-logo strong {
  font-style: italic;
  font-weight: 400 !important;
}
.hp-logo::first-letter {
  color: var(--text);
}
.hp-logo-tagline {
  color: var(--text-l) !important;
}
.proto-header-nav,
.site-header-nav[data-proto-header-nav] {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}
.proto-header-nav .nav-link,
.site-header-nav[data-proto-header-nav] .nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--text-m);
  font-size: 14px;
  font-weight: 500;
}
.proto-header-nav .nav-link:hover,
.proto-header-nav .nav-link.active,
.site-header-nav[data-proto-header-nav] .nav-link:hover,
.site-header-nav[data-proto-header-nav] .nav-link.active {
  background: var(--surface-2);
  color: var(--text);
}
.proto-header-sep {
  width: 1px;
  height: 22px;
  flex-shrink: 0;
  margin: 0 6px;
  background: var(--border);
}
.proto-admin-link {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
  background: var(--danger-bg) !important;
}
.proto-header-search {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 4px 28px 18px;
}
.proto-search {
  display: flex;
  align-items: center;
  height: 58px;
  gap: 0;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;

  box-shadow: var(--shadow-sm);
}
.proto-search:focus-within {
  border-color: oklch(64% 0.165 45 / .5);
  box-shadow: var(--shadow), 0 0 0 3px oklch(64% 0.165 45 / .12);
}
.proto-search-icon {
  display: inline-flex;
  color: var(--text-l);
}
.proto-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}
.proto-search .btn {
  height: calc(100% - 4px);
  padding: 0 22px;
}
.site-hamburger {
  display: none;
}

.proto-footer {
  margin-top: 40px;
  padding: 60px 28px 40px;
  background: var(--text);
  color: oklch(98.5% 0.005 60 / .85);
}
.proto-footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}
.proto-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.proto-logo--footer {
  color: #fff;
}
.proto-logo--footer small {
  color: rgba(255,255,255,.5);
}
.proto-footer-brand p {
  max-width: 280px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.55;
}
.proto-footer .footer-title {
  margin: 0 0 12px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.proto-footer .footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  text-decoration: none;
}
.proto-footer .footer-links a:hover {
  color: #fff;
}
.proto-footer .footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.proto-footer .footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

@media (max-width: 1280px) {
  .proto-header-nav,
  .site-header-nav[data-proto-header-nav] { display: none !important; }
  .site-hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 12px;

    color: var(--text);
  }
  body.has-btm-bar { padding-bottom: 80px; }
  body.is-homepage { padding-bottom: 0; }
  .btm-bar {
    display: flex;
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 300;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: oklch(99.5% 0.003 60 / .96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
  }
  .btm-bar-item {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text-m);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }
  .btm-bar-item:hover,
  .btm-bar-item.active {
    background: var(--accent-tint);
    color: var(--accent);
  }
  .btm-bar-icon { font-size: 20px; line-height: 1; }
}

@media (max-width: 820px) {
  .proto-header-row { padding: 12px 16px; }
  .proto-header-search { padding: 0 16px 14px; }
  .proto-search { height: 50px; }
  .proto-search .btn { padding: 0 16px; }
  .proto-footer { padding: 40px 20px 32px; }
  .proto-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Prototype 1:1 port layer - resets the legacy visual system.
   ========================================================== */
:root {
  --proto-max: 1280px;
  --proto-page-pad: clamp(16px, 2.2vw, 28px);
}

.redesign-2026 {

  color: var(--text);
}

.redesign-2026 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.redesign-2026 .btn-primary {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: var(--shadow-glow);
}

.redesign-2026 .btn-primary:hover {
  background: var(--accent-d) !important;
  transform: translateY(-1px);
}

.redesign-2026 .btn-outline {
  background: var(--surface) !important;
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.dash-sidebar::before {
  content: "inapropiere.ro";
  display: block;
  padding: 4px 8px 18px;
  color: var(--text);
  font-family: var(--font-disp);
  font-size: 22px;
  line-height: 1;
}

.dash-nav {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--text-m) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background var(--transition), color var(--transition);
}

.dash-nav-item:hover,
.dash-nav-item.active {
  background: var(--accent-tint) !important;
  color: var(--accent-d) !important;
  font-weight: 600 !important;
}

.dash-nav-divider {
  height: 1px;
  margin: 12px 8px !important;
  background: var(--border);
}

.badge-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

body.proto-backoffice:has(#admin-drawer) .dash-sidebar {
  background: oklch(20% 0.012 60) !important;
  border-right-color: oklch(28% 0.012 60) !important;
}

body.proto-backoffice:has(#admin-drawer) .dash-sidebar::before {
  margin: -20px -14px 10px;
  padding: 16px 14px;
  border-bottom: 1px solid oklch(28% 0.012 60);
  background: oklch(20% 0.012 60);
  color: #fff;
}

body.proto-backoffice:has(#admin-drawer) .dash-nav-item {
  color: oklch(78% 0.010 60) !important;
}

body.proto-backoffice:has(#admin-drawer) .dash-nav-item:hover,
body.proto-backoffice:has(#admin-drawer) .dash-nav-item.active {
  background: oklch(64% 0.165 45 / .18) !important;
  color: var(--accent-l) !important;
}

body.proto-backoffice:has(#admin-drawer) .dash-nav-divider {
  background: oklch(28% 0.012 60);
}

.redesign-2026 .btn-outline:hover {
  border-color: var(--text) !important;
}

.redesign-2026 .btn-sm { padding: 7px 13px; font-size: 13px; }
.redesign-2026 .btn-lg { padding: 14px 24px; font-size: 15px; }
.redesign-2026 .btn-full { width: 100%; }

.redesign-2026 .card,
.redesign-2026 .dash-container,
.redesign-2026 .dash-section,
.redesign-2026 .stat-card,
.redesign-2026 .admin-card,
.redesign-2026 .contact-card,
.redesign-2026 .plan-card,
.redesign-2026 .pricing-card,
.redesign-2026 .auth-box {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);

  box-shadow: var(--shadow-sm);
}

.redesign-2026 .card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.redesign-2026 .pages-select,
.redesign-2026 select {
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--surface);
  color: var(--text);
}

/* Public shell: matches prototype header/footer */
.proto-site-header {
  background: oklch(99.5% 0.003 60 / .94) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.proto-header-row,
.proto-header-search,
.proto-footer-inner {
  width: min(100%, var(--proto-max));
}

.proto-header-row {
  padding: 16px var(--proto-page-pad) 10px;
}

.proto-header-search {
  padding: 4px var(--proto-page-pad) 18px;
}

.proto-search {
  height: 58px;
  border-radius: 999px !important;
}

.proto-footer {
  margin-top: 0;
  background: var(--text) !important;
  color: rgba(255,255,255,.85) !important;
}

.proto-footer .footer-bottom {
  background: transparent !important;
  border: 0 !important;
}

/* Auth prototype split */
body.is-auth-page .proto-site-header .proto-header-search {
  display: none !important;
}

.auth-split {
  display: flex !important;

}

.auth-split-side {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(36px, 4vw, 48px) !important;
  border-right: 1px solid var(--border);
  background: linear-gradient(135deg, var(--accent-tint), oklch(94% 0.06 35)) !important;
}

.auth-split-form {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) !important;
  background: var(--surface) !important;
}

.auth-box {
  width: 100%;
  max-width: 420px !important;
  margin: auto 0 auto clamp(0px, 3vw, 24px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.auth-box::before {
  display: none !important;
}

.auth-box h1 {
  font-family: var(--font-disp);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-align: left;
}

.auth-sub {
  max-width: 420px;
  color: var(--text-m);
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.auth-side-title {
  font-family: var(--font-disp);
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.1;
}

.auth-side-benefit-icon {
  width: 24px !important;
  height: 24px !important;
  background: var(--accent) !important;
}

.auth-side-quote {
  margin: 0;
  color: var(--text-l);
  font-size: 13px;
  line-height: 1.6;
}

/* Blog prototype */
.blog-hero::before {
  display: none !important;
}

.blog-hero h1 {
  max-width: 900px;
  color: var(--text) !important;
  font-family: var(--font-disp) !important;
  font-size: clamp(38px, 6vw, 64px) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

.blog-hero h1 em,
.blog-page h1 em {
  color: var(--accent);
  font-style: italic;
}

.blog-hero-sub {
  max-width: 600px !important;
  color: var(--text-m) !important;
  font-size: clamp(15px, 2vw, 18px) !important;
}

.blog-filter-bar {
  top: 0 !important;
  background: oklch(99.5% 0.003 60 / .94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}

.blog-filter-pill {
  border: 1px solid var(--border) !important;

  font-weight: 500 !important;
}

.blog-filter-pill.is-active {
  background: var(--text) !important;
  border-color: var(--text) !important;
  color: var(--bg) !important;
}

.blog-card-feat,
.blog-card-reg {
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  border-color: var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.blog-card-feat {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr !important;
  overflow: hidden;
}

.blog-card-feat .cf-img,
.blog-card-reg .cr-thumb,
.blog-article-cover {
  background:
    repeating-linear-gradient(135deg, oklch(76% .10 38 / .16) 0 8px, transparent 8px 18px),
    oklch(94% .035 45) !important;
}

.blog-card-feat .cf-body {
  padding: clamp(22px, 3vw, 36px) !important;
  justify-content: center;
}

.blog-card-feat .c-title-feat,
.blog-card-reg .c-title-reg {
  font-family: var(--font-disp);
  font-weight: 400 !important;
  letter-spacing: -.015em;
}

.blog-regular-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.blog-article-page {
  min-height: 100dvh;

}

.blog-article-top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 16px var(--proto-page-pad);
  border-bottom: 1px solid var(--border);
  background: oklch(99.5% 0.003 60 / .94);
  backdrop-filter: blur(12px);
}

.blog-article-logo {
  font-size: 24px;
}

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 60px) var(--proto-page-pad) 80px;
}

.blog-article h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.blog-article-lead {
  margin: 0 0 24px;
  color: var(--text-m);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-l);
  font-size: 13px;
}

.blog-article-meta a {
  color: var(--accent);
  font-weight: 700;
}

.blog-article-cover {
  position: relative;
  display: grid;
  height: clamp(220px, 42vw, 380px);
  overflow: hidden;
  place-items: center;
  margin-bottom: 38px;
  border-radius: var(--r-lg);
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-cover span {
  color: var(--text);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-article-body {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.blog-article-body h2,
.blog-article-body h3 {
  font-family: var(--font-disp);
  font-weight: 400;
  letter-spacing: -.01em;
}

.blog-article-body h2 {
  margin: 32px 0 14px;
  font-size: 32px;
}

.blog-article-share,
.blog-related {
  width: min(100%, 720px);
  margin: 0 auto 60px;
  padding-inline: var(--proto-page-pad);
}

.blog-related h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

/* Contact/pricing prototype */`r`n.contact-prototype .contact-page-header,
.pricing-hero {
  margin-bottom: 40px;
}

.contact-prototype .contact-page-title,
.pricing-hero h1 {
  font-family: var(--font-disp) !important;
  font-size: clamp(38px, 6vw, 60px) !important;
  font-weight: 400 !important;
  letter-spacing: -.02em !important;
  line-height: 1.08 !important;
}

.contact-prototype-grid,
.pricing-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.contact-prototype-grid {
  grid-template-columns: 1fr 1fr;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
}

.contact-prototype .contact-form-wrap,
.contact-side-cards .contact-info-card,
.pricing-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow-sm) !important;
}

.pricing-card.is-hot,
.pricing-card:first-child {
  border: 2px solid var(--accent) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Backoffice/dashboard prototype */
.proto-backoffice {
  background: var(--bg-2);
}

.proto-backoffice .site-main {
  background: var(--bg-2);
  min-height: 100dvh;
}

.proto-backoffice .site-header,
.proto-backoffice .proto-site-header {
  display: none !important;
}

.proto-backoffice .site-footer {
  display: none !important;
}

.dash-layout {
  min-height: 100dvh;
  display: flex;
  background: var(--bg-2) !important;
}

.dash-sidebar,
.dashboard-sidebar {
  width: 240px !important;
  flex-shrink: 0;
  padding: 20px 14px !important;
  border-right: 1px solid var(--border) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  min-height: 100dvh;
  position: sticky;
  top: 0;
  align-self: flex-start;
}

.dash-main {
  background: var(--bg-2) !important;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dash-page {
  padding: 28px !important;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);

}

.dash-topbar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.dash-topbar .eyebrow,
.dash-edit-hero .eyebrow {
  margin: 0 0 2px;
  font-size: 10px;
}

.dash-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.dash-sidebar-logo {
  padding: 4px 8px 18px;
}

.dash-sidebar .logo {
  text-decoration: none;
}

.dash-sidebar .logo-text {
  font-family: var(--font-disp);
  font-size: 24px;
  color: var(--text);
  font-weight: 400;
}

.dash-sidebar .logo-text strong {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: var(--text-m) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.dash-nav-item.active,
.dash-nav-item:hover {
  background: var(--accent-tint) !important;
  color: var(--accent-d) !important;
}

.dash-nav-item.active {
  font-weight: 700;
}

.dash-nav-ico {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 16px;
}

.dash-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 8px;
}

.dash-nav-back {
  margin-top: auto;
}

.dash-mobile-tabs {
  display: none;
}

.dash-mobile-tab {
  flex: 0 0 auto;
  color: var(--text-m);
  text-decoration: none;
}

.dash-container {
  margin-bottom: 16px !important;
  padding: 20px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

.dash-container--flat {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dash-title {
  font-family: var(--font-disp) !important;
  font-size: clamp(28px, 4vw, 34px) !important;
  font-weight: 400 !important;
}

.dash-edit-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.dash-edit-hero .dash-title {
  margin: 0 0 4px;
}

.dash-edit-status {
  min-width: 128px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
  text-transform: capitalize;
}

.dash-edit-status small {
  color: var(--text-l);
  text-transform: none;
}

.dash-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.dash-form {
  max-width: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-form .form-section {
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

.dash-form .form-section h3,
.dash-form .form-section h2 {
  margin: 0 0 16px !important;
  font-family: var(--font-disp) !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
}

.dash-form .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.dash-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dash-form label {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.dash-form input[type="text"],
.dash-form input[type="tel"],
.dash-form input[type="email"],
.dash-form input[type="url"],
.dash-form input[type="file"],
.dash-form select,
.dash-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  font: inherit;
  font-size: 14px;
  padding: 11px 12px !important;
  box-shadow: none !important;
}

.dash-form textarea {
  min-height: 138px;
}

.dash-form input:focus,
.dash-form select:focus,
.dash-form textarea:focus {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-tint) !important;
}

.dash-form small {
  color: var(--text-l);
  font-size: 12px;
  line-height: 1.45;
}

.tag-selector {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;

}

.tag-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;

}

.dash-actions {
  position: sticky;
  bottom: 18px;
  z-index: 5;
  justify-content: flex-end !important;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.stat-card {
  padding: 18px !important;
}

.stat-num {
  font-family: var(--font-disp) !important;
  font-size: 34px !important;
  font-weight: 400 !important;
}

.dash-plan-card,
.dash-section {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body[class*="admin"] .admin-layout,
.admin-shell,
.admin-page {
  background: var(--bg-2);
}

@media (max-width: 1024px) {
  .blog-regular-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .blog-card-feat {
    grid-template-columns: 1fr !important;
  }

  .contact-prototype-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .proto-header-row {
    padding: 12px 16px;
  }

  .proto-header-search {
    padding: 0 16px 14px;
  }

  .proto-search {
    height: 50px;
  }

  .auth-split {
    min-height: 100dvh;
  }

  .auth-split-side {
    display: none !important;
  }

  .auth-split-form {
    padding: 32px 20px !important;
  }

  .auth-box {
    max-width: none !important;
    margin: auto 0 !important;
  }
.blog-regular-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .dash-layout {
    display: block !important;
  }

  .dash-sidebar,
  .dashboard-sidebar {
    display: none !important;
  }

  .dash-page {
    padding: 16px !important;
  }

  .dash-topbar {
    padding: 14px 16px;
  }

  .dash-topbar-actions .btn {
    display: none;
  }

  .dash-edit-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dash-form .form-row {
    grid-template-columns: 1fr !important;
  }

  .dash-form .form-section {
    padding: 16px !important;
  }

  .dash-actions {
    bottom: 86px;
  }
}

/* Dashboard overview: prototype app shell */
.proto-backoffice .dash-overview-page {
  max-width: 1124px;
}

.proto-backoffice .dash-overview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.proto-backoffice .dash-overview-head .dash-title {
  margin: 0 0 4px !important;
  font-size: 32px !important;
  line-height: 1.05 !important;
}

.proto-backoffice .dash-overview-head p {
  margin: 0;
  color: var(--text-l);
  font-size: 13px;
}

.proto-backoffice .dash-card,
.proto-backoffice .stat-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}

.proto-backoffice .dash-card {
  padding: 20px;
}

.proto-backoffice .stat-card,
.proto-backoffice .stat-card:hover {
  position: static !important;
  min-height: 0 !important;
  padding: 18px !important;
  transform: none !important;
}

.proto-backoffice .stat-card::before,
.proto-backoffice .stat-card .stat-icon,
.proto-backoffice .stat-card .stat-num,
.proto-backoffice .stat-card .stat-label {
  display: none !important;
}

.proto-backoffice .dash-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 24px;
}

.proto-backoffice .stat-card p {
  margin: 0 0 8px;
  color: var(--text-l);
  font-size: 12px;
  line-height: 1.35;
}

.proto-backoffice .stat-card div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.proto-backoffice .stat-card strong {
  font-family: var(--font-disp);
  color: var(--text);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.proto-backoffice .stat-card span {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.proto-backoffice .dash-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.proto-backoffice .dash-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.proto-backoffice .dash-card h3,
.proto-backoffice .dash-card-head h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.proto-backoffice .dash-card-head a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.proto-backoffice .dash-chart {
  display: block;
  width: 100%;
  height: 180px;
}

.proto-backoffice .dash-completion-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
}

.proto-backoffice .dash-completion-top strong {
  display: block;
  font-family: var(--font-disp);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.proto-backoffice .dash-completion-top span {
  color: var(--text-m);
  font-size: 12px;
}

.proto-backoffice .dash-checklist {
  display: flex;
  flex-direction: column;
}

.proto-backoffice .dash-checklist div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text);
  font-size: 13px;
}

.proto-backoffice .dash-checklist span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.proto-backoffice .dash-checklist .is-done {
  color: var(--text-m);
}

.proto-backoffice .dash-checklist .is-done span {
  border-color: transparent;
  background: var(--success);
}

.proto-backoffice .dash-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.proto-backoffice .dash-activity-row:first-of-type {
  border-top: 0;
}

.proto-backoffice .dash-activity-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.proto-backoffice .dash-activity-row strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.proto-backoffice .dash-activity-row span {
  display: block;
  color: var(--text-l);
  font-size: 12px;
}

.proto-backoffice .dash-avatar-sm {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.proto-backoffice .dash-empty-business h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.proto-backoffice .dash-empty-business p {
  margin: 0 0 16px;
  color: var(--text-m);
}

.proto-backoffice .dash-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: var(--r);
  background: #fef9c3;
  color: #854d0e;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .proto-backoffice .dash-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .proto-backoffice .dash-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .proto-backoffice .dash-overview-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .proto-backoffice .dash-overview-head .dash-title {
    font-size: 26px !important;
  }

  .proto-backoffice .dash-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-bottom: 16px;
  }

  .proto-backoffice .stat-card {
    padding: 14px !important;
  }

  .proto-backoffice .stat-card strong {
    font-size: 28px;
  }
}

@media (max-width: 1280px) {
  .proto-backoffice .dash-mobile-tabs {
    position: sticky;
    top: 0;
    z-index: 25;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: oklch(99.5% 0.003 60 / .96);
    box-shadow: 0 1px 0 oklch(20% 0.02 50 / .02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    scrollbar-width: none;
  }

  .proto-backoffice .dash-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .proto-backoffice .dash-mobile-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;

    color: var(--text-m);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .proto-backoffice .dash-mobile-tab.active,
  .proto-backoffice .dash-mobile-tab:hover {
    border-color: oklch(64% 0.165 45 / .35);
    background: var(--accent-tint);
    color: var(--accent-d);
  }
}

/* Prototype mobile bottom bar */
@media (max-width: 1280px) {
  body.has-btm-bar:not(.is-business-page):not(.auth-page):not(.proto-backoffice) {
    padding-bottom: 74px !important;
  }

  body.has-btm-bar.is-homepage:not(.is-business-page):not(.auth-page):not(.proto-backoffice) {
    padding-bottom: 74px !important;
  }

  .btm-bar[data-proto-bottom-bar] {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 300 !important;
    display: flex !important;
    align-items: center;
    gap: 2px !important;
    padding: 6px 8px max(8px, env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: oklch(99.5% 0.003 60 / .96) !important;
    box-shadow: none !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    min-height: 52px;
    padding: 10px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--text-m) !important;
    font: 600 10px/1 var(--font-sans);
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-label {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1px;
    min-height: 20px;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-item:hover,
  .btm-bar[data-proto-bottom-bar] .btm-bar-item:focus-visible,
  .btm-bar[data-proto-bottom-bar] .btm-bar-item.active:not(.btm-bar-primary) {
    background: transparent !important;
    color: var(--accent) !important;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    font-size: 0;
    line-height: 0;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary {
    flex: 0 0 52px !important;
    width: 52px;
    height: 52px;
    min-height: 52px;
    margin: 0 6px;
    padding: 0 !important;
    border-radius: 999px !important;
    background: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 6px 18px oklch(64% 0.165 45 / .4) !important;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon {
    width: 24px;
    height: 24px;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.2;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 1281px) {
  .btm-bar[data-proto-bottom-bar] {
    display: none !important;
  }
}

/* Dashboard firma: media previews */
body.proto-backoffice .dash-sidebar#dashboard-drawer::before {
  content: none !important;
  display: none !important;
}

body.proto-backoffice #dashboard-drawer.dash-sidebar {
  background: var(--surface) !important;
  border-right: 1px solid var(--border) !important;
}

body.proto-backoffice #dashboard-drawer .dash-sidebar-logo {
  margin: 0 0 14px;
  padding: 2px 8px 18px;
  border-bottom: 1px solid var(--border);
}

body.proto-backoffice #dashboard-drawer .dash-nav {
  gap: 4px;
}

body.proto-backoffice #dashboard-drawer .dash-nav-item {
  min-height: 44px;
  border-radius: 14px !important;
}

.dash-media-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(280px, 420px);
  align-items: start;
  justify-content: start;
  gap: 18px;
}

.dash-media-field {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.dash-media-field label {
  margin: 0 !important;
}

.dash-media-preview {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in oklab, var(--surface), var(--bg-2) 55%);
  color: var(--text-m);
  font-size: 13px;
  line-height: 1.2;
}

.dash-media-preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.dash-media-preview--logo {
  width: 180px;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #fff;
}

.dash-media-preview--logo img {
  object-fit: contain;
}

.dash-media-preview--cover {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.dash-media-preview--cover img {
  object-fit: cover;
}

.dash-media-field input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;

}

.dash-media-field input[type="file"]::file-selector-button {
  min-height: 32px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: 700 13px/1 var(--font-sans);
  cursor: pointer;
}

@media (max-width: 900px) {
  .dash-media-grid {
    grid-template-columns: minmax(160px, 180px) minmax(260px, 360px);
    justify-content: start;
    gap: 14px;
  }

  .dash-media-preview--logo {
    width: 160px;
    max-width: 160px;
  }

  .dash-media-preview--cover {
    width: 360px;
  }
}

@media (max-width: 640px) {
  .dash-media-section {
    text-align: center;
  }

  .dash-media-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
  }

  .dash-media-field {
    justify-items: center;
    width: 100%;
  }

  .dash-media-preview--logo {
    width: min(220px, 100%);
    max-width: 220px;
    justify-self: center;
  }

  .dash-media-preview--cover {
    width: min(100%, 320px);
  }

  .dash-media-field input[type="file"] {
    max-width: 320px;
  }
}

/* Dashboard statistici: keep metric cards visible in backoffice */
.proto-backoffice .dash-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.proto-backoffice .dash-stat-card,
.proto-backoffice .dash-stat-card:hover {
  position: relative !important;
  display: grid !important;
  align-content: start;
  min-height: 132px !important;
  padding: 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
  transform: none !important;
}

.proto-backoffice .dash-stat-card::before {
  display: none !important;
}

.proto-backoffice .dash-stat-card > div,
.proto-backoffice .dash-stat-icon,
.proto-backoffice .dash-stat-num,
.proto-backoffice .dash-stat-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.proto-backoffice .dash-stat-icon {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.proto-backoffice .dash-stat-num {
  margin-bottom: 6px;
  color: var(--text) !important;
  font-family: var(--font-disp) !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.proto-backoffice .dash-stat-label {
  color: var(--text-m) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

/* Prototype bottom bar: central accent slot, labels remain visible */
@media (max-width: 1280px) {
  .btm-bar[data-proto-bottom-bar] {
    left: 50% !important;
    right: auto !important;
    bottom: 10px !important;
    width: min(calc(100% - 20px), 560px) !important;
    transform: translateX(-50%);
    padding: 6px 8px max(8px, env(safe-area-inset-bottom)) !important;
    border: 1px solid var(--border) !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 36px oklch(20% 0.02 60 / .14) !important;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-item {
    min-height: 56px;
    border-radius: 18px !important;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary {
    flex: 1 1 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 7px 4px 6px !important;
    border-radius: 18px !important;
    background: transparent !important;
    color: var(--accent) !important;
    box-shadow: none !important;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px oklch(64% 0.165 45 / .38);
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
  }

  .btm-bar[data-proto-bottom-bar] .btm-bar-primary .btm-bar-label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    color: var(--accent) !important;
  }
}

@media (max-width: 980px) {
  .proto-backoffice .dash-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .proto-backoffice .dash-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard sidebar polish: stable desktop menu and SVG icons. */
@media (min-width: 1101px) {
  .proto-backoffice .dash-layout {
    grid-template-columns: 236px minmax(0, 1fr);
  }

  .proto-backoffice .dash-sidebar {
    width: 236px;
    padding: 24px 14px !important;
    background: var(--surface) !important;
    border-right: 1px solid var(--border) !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .proto-backoffice .dash-sidebar::before {
    display: none !important;
  }

  .proto-backoffice .dash-sidebar-logo {
    padding: 0 4px 26px;
  }

  .proto-backoffice .dash-sidebar .logo-text {
    font-size: 20px;
  }

  .proto-backoffice .dash-nav {
    gap: 5px;
    padding: 0;
  }

  .proto-backoffice .dash-nav-divider {
    margin: 12px 8px 14px;
    background: var(--border);
  }

  .proto-backoffice .dash-nav-item {
    min-height: 36px;
    padding: 9px 12px !important;
    gap: 11px;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    color: var(--text-m) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none !important;
    transform: none !important;
  }

  .proto-backoffice .dash-nav-item:hover,
  .proto-backoffice .dash-nav-item.active {
    background: var(--accent-tint) !important;
    border-color: transparent !important;
    color: var(--accent-d) !important;
    transform: none !important;
  }

  .proto-backoffice .dash-nav-item.active {
    font-weight: 600;
  }

  .proto-backoffice .dash-nav-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: currentColor;
  }

  .proto-backoffice .dash-nav-ico svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .proto-backoffice .dash-nav-back {
    width: calc(100% - 16px);
    margin: 8px 8px 4px;
    justify-content: center;
    background: var(--surface) !important;
    border-color: var(--border-s) !important;
    color: var(--text-m) !important;
  }

  .proto-backoffice .dash-nav-back:hover {
    border-color: var(--accent) !important;
    color: var(--accent-d) !important;
    background: var(--accent-tint) !important;
  }
}

/* Admin and statistics cards. */
.proto-backoffice .admin-sidebar-logo {
  padding: 6px 12px 24px;
}

.proto-backoffice .admin-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: #fff7ed;
  font-family: var(--font-disp);
  font-size: 23px;
  line-height: 1;
}

.proto-backoffice .admin-logo strong {
  color: var(--accent-l);
  font-style: italic;
  font-weight: 400;
}

.proto-backoffice .admin-logo span,
.proto-backoffice .admin-logo small {
  font-weight: 400;
}

.proto-backoffice .admin-logo small {
  font-size: .82em;
}

.proto-backoffice .dash-stats-grid,
.proto-backoffice .admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 28px;
}

.proto-backoffice .dash-stats-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.proto-backoffice .dash-stat-card,
.proto-backoffice .admin-stat-card {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), oklch(99% 0.004 60));
  box-shadow: 0 12px 30px oklch(22% 0.012 60 / .05);
  overflow: hidden;
}

.proto-backoffice .dash-stat-card::before,
.proto-backoffice .admin-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), oklch(78% .105 55));
}

.proto-backoffice .dash-stat-icon,
.proto-backoffice .admin-stat-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-d);
  font-size: 0;
}

.proto-backoffice .dash-stat-icon svg,
.proto-backoffice .admin-stat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proto-backoffice .dash-stat-icon:empty::before,
.proto-backoffice .dash-stat-card .dash-stat-icon::before {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0;
}

.proto-backoffice .dash-stat-card:nth-child(1) .dash-stat-icon::before { content: "V"; }
.proto-backoffice .dash-stat-card:nth-child(2) .dash-stat-icon::before { content: "A"; }
.proto-backoffice .dash-stat-card:nth-child(3) .dash-stat-icon::before { content: "P"; }
.proto-backoffice .dash-stat-card:nth-child(4) .dash-stat-icon::before { content: "OK"; }
.proto-backoffice .dash-stat-card:nth-child(5) .dash-stat-icon::before { content: "*"; }

.proto-backoffice .dash-stat-num,
.proto-backoffice .admin-stat-num {
  margin: 0 0 4px;
  color: var(--text);
  font-family: var(--font-disp);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: .95;
}

.proto-backoffice .dash-stat-label,
.proto-backoffice .admin-stat-label {
  color: var(--text-m);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.proto-backoffice .admin-stat-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 124px;
}

.proto-backoffice .admin-stat-icon {
  margin: 0;
}

.proto-backoffice .admin-stat-label {
  margin-bottom: 8px;
  color: var(--text-l);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.proto-backoffice .admin-stat-hint {
  color: var(--text-l);
  font-size: 12px;
}

@media (max-width: 1280px) {
  .proto-backoffice .dash-stats-grid,
  .proto-backoffice .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .proto-backoffice .dash-stats-grid,
  .proto-backoffice .admin-stat-grid {
    grid-template-columns: 1fr !important;
  }
}
