.dashboard-shell {
  min-height: 100vh;
  background: #f3f4f6;
}

.dashboard-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 17.5rem;
  z-index: 60;
  background: #0f172a;
  color: #e2e8f0;
  transform: translateX(-100%);
  transition: transform 220ms ease, width 220ms ease;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
}

.dashboard-sidebar__inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
}

.dashboard-brand,
.dashboard-brand__link,
.dashboard-brand__actions,
.dashboard-nav,
.dashboard-topbar__inner,
.dashboard-topbar__intro,
.dashboard-topbar__meta {
  display: flex;
}

.dashboard-brand {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-brand__link {
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
}

.dashboard-brand__mark,
.dashboard-nav__icon,
.dashboard-square-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: #1e293b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.dashboard-brand__title {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-brand__subtitle {
  display: block;
  margin-top: 0.12rem;
  color: #94a3b8;
  font-size: 0.78rem;
}

.dashboard-square-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.95rem;
}

.dashboard-square-btn--light {
  background: #fff;
  color: #0f172a;
  border-color: #d6d3d1;
}

.dashboard-sidebar__section,
.dashboard-sidebar__panel {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.dashboard-sidebar__panel {
  margin-top: auto;
}

.dashboard-sidebar__eyebrow,
.dashboard-topbar__eyebrow,
.dashboard-chip-card__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 700;
}

.dashboard-sidebar__eyebrow {
  color: #94a3b8;
}

.dashboard-nav {
  margin-top: 0.9rem;
  flex-direction: column;
  gap: 0.45rem;
}

.dashboard-nav__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  padding: 0.85rem;
  color: #cbd5e1;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.dashboard-nav__link:hover,
.dashboard-nav__link.is-active {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(148, 163, 184, 0.14);
  color: #fff;
}

.dashboard-nav__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.85rem;
  background: #1e293b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dashboard-sidebar__text {
  margin-top: 0.75rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dashboard-logout {
  display: inline-flex;
  margin-top: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.dashboard-main {
  min-height: 100vh;
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(243, 244, 246, 0.94);
  backdrop-filter: blur(12px);
}

.dashboard-topbar__inner {
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.dashboard-topbar__intro {
  align-items: flex-start;
  gap: 0.85rem;
}

.dashboard-topbar__eyebrow {
  color: #64748b;
}

.dashboard-topbar__title {
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.dashboard-topbar__text {
  margin-top: 0.45rem;
  max-width: 52rem;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
}

.dashboard-topbar__meta {
  flex-direction: column;
  gap: 0.75rem;
}

.dashboard-chip-card {
  border: 1px solid #e5e7eb;
  border-radius: 1.1rem;
  background: #fff;
  padding: 0.85rem 1rem;
  min-width: 0;
}

.dashboard-chip-card__label {
  color: #64748b;
}

.dashboard-chip-card__value {
  display: block;
  margin-top: 0.35rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
}

.dashboard-chip-card__value--truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-content {
  padding: 1rem;
}

.metric-card,
.analytics-card,
.action-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.metric-card:hover,
.analytics-card:hover,
.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
}

.mini-bar-track {
  overflow: hidden;
}

.mini-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.spark-grid {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  border-radius: 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.04) 1px, transparent 1px), #fafaf9;
  background-size: 100% 25%;
}

.sparkline {
  position: absolute;
  inset: 18px 16px;
}

.dashboard-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.dashboard-shell[data-sidebar-open="true"] .dashboard-sidebar {
  transform: translateX(0);
}

.dashboard-shell[data-sidebar-open="true"] .dashboard-overlay {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-sidebar {
  width: 5.5rem;
}

.dashboard-shell[data-sidebar-collapsed="true"] .brand-copy,
.dashboard-shell[data-sidebar-collapsed="true"] .sidebar-label,
.dashboard-shell[data-sidebar-collapsed="true"] .sidebar-footer-copy,
.dashboard-shell[data-sidebar-collapsed="true"] .sidebar-section-title {
  opacity: 0;
  pointer-events: none;
}

.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-brand__link,
.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav__link {
  justify-content: center;
}

@media (min-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 17.5rem;
  }

  .dashboard-topbar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
  }

  .dashboard-topbar__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(28rem, 100%);
  }

  .dashboard-content {
    padding: 1.5rem;
  }

  .dashboard-shell[data-sidebar-collapsed="true"] .dashboard-main {
    margin-left: 5.5rem;
  }
}

@media (min-width: 1280px) {
  .dashboard-topbar__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .dashboard-content {
    padding: 2rem;
  }
}

.dashboard-mobile-menu-btn {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.dashboard-mobile-menu-btn span {
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.dashboard-bottom-nav {
  display: none;
}

.dashboard-content,
.dashboard-content * {
  max-width: 100%;
}

.dashboard-content article,
.dashboard-content section,
.dashboard-content aside,
.dashboard-content div {
  min-width: 0;
}

@media (max-width: 1023px) {
  .dashboard-shell {
    overflow-x: hidden;
    padding-bottom: 5.75rem;
  }

  .dashboard-sidebar {
    top: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: min(20rem, calc(100vw - 1.5rem));
    border-radius: 1.4rem;
    overflow: hidden;
  }

  .dashboard-sidebar__inner {
    padding: 1rem;
    gap: 1rem;
  }

  .dashboard-topbar {
    position: static;
    border-bottom: 1px solid #e7e5e4;
    background: #fff;
    backdrop-filter: none;
  }

  .dashboard-topbar__inner {
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
  }

  .dashboard-topbar__intro {
    align-items: center;
    gap: 0.65rem;
  }

  .dashboard-topbar__title {
    margin-top: 0.2rem;
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .dashboard-topbar__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .dashboard-topbar__text {
    display: none;
  }

  .dashboard-topbar__meta {
    display: none;
  }

  .dashboard-content {
    padding: 0.9rem;
    overflow-x: hidden;
  }

  .dashboard-content .p-6 {
    padding: 1rem !important;
  }

  .dashboard-content .p-8 {
    padding: 1.15rem !important;
  }

  .dashboard-content .gap-8 {
    gap: 1rem !important;
  }

  .dashboard-content .gap-6 {
    gap: 0.9rem !important;
  }

  .dashboard-content .text-5xl {
    font-size: 2rem !important;
    line-height: 1.08 !important;
  }

  .dashboard-content .text-4xl {
    font-size: 1.75rem !important;
    line-height: 1.14 !important;
  }

  .dashboard-content .text-3xl {
    font-size: 1.55rem !important;
  }

  .dashboard-content .rounded-\[30px\] {
    border-radius: 1.35rem !important;
  }

  .dashboard-content .rounded-\[26px\] {
    border-radius: 1.1rem !important;
  }

  .dashboard-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem 0.45rem calc(0.45rem + env(safe-area-inset-bottom));
    box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(14px);
  }

  .dashboard-bottom-nav__item {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 1rem;
    padding: 0.25rem 0.1rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
  }

  .dashboard-bottom-nav__icon {
    display: grid;
    width: 2.25rem;
    height: 1.9rem;
    place-items: center;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .dashboard-bottom-nav__label {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }

  .dashboard-bottom-nav__item.is-active {
    color: #ea580c;
  }

  .dashboard-bottom-nav__item.is-active .dashboard-bottom-nav__icon {
    background: #f97316;
    color: #fff;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.22);
  }
}

@media (max-width: 420px) {
  .dashboard-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .dashboard-bottom-nav {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .dashboard-bottom-nav__label {
    font-size: 0.62rem;
  }
}

@media (max-width: 1023px) {
  html, body {
    min-height: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)) !important;
  }

  .dashboard-shell {
    min-height: 100dvh;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)) !important;
    overflow-x: hidden;
  }

  .dashboard-bottom-nav {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 9999 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0.15rem !important;
    margin: 0 !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 1.25rem 1.25rem 0 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.5rem 0.45rem calc(0.55rem + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -16px 38px rgba(15, 23, 42, 0.16) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    transform: none !important;
  }

  .dashboard-bottom-nav__item {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 3.55rem !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    border-radius: 1rem !important;
    padding: 0.2rem 0.05rem !important;
    color: #64748b !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  .dashboard-bottom-nav__icon {
    display: grid !important;
    width: 2.35rem !important;
    height: 1.95rem !important;
    place-items: center !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
  }

  .dashboard-bottom-nav__label {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.64rem !important;
  }

  .dashboard-bottom-nav__item.is-active {
    color: #ea580c !important;
  }

  .dashboard-bottom-nav__item.is-active .dashboard-bottom-nav__icon {
    background: #f97316 !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.22) !important;
  }
}

@media (min-width: 1024px) {
  .dashboard-bottom-nav {
    display: none !important;
  }
}

.dashboard-shell {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f6;
  overflow-x: hidden;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  position: static;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.dashboard-topbar__inner {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.dashboard-topbar__intro {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dashboard-topbar__copy {
  min-width: 0;
}

.dashboard-topbar__title,
.dashboard-topbar__text,
.dashboard-chip-card__value {
  overflow-wrap: anywhere;
}

.dashboard-mobile-menu-btn {
  flex: 0 0 auto;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.dashboard-content {
  min-width: 0;
  overflow-x: hidden;
}

.dashboard-content * {
  max-width: 100%;
}

.dashboard-content article,
.dashboard-content section,
.dashboard-content aside,
.dashboard-content div,
.dashboard-content form,
.dashboard-content table {
  min-width: 0;
}

.dashboard-content table {
  width: 100%;
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(5.85rem + env(safe-area-inset-bottom));
  }

  .dashboard-shell {
    padding-bottom: calc(5.85rem + env(safe-area-inset-bottom));
  }

  .dashboard-sidebar {
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: min(20rem, calc(100vw - 1.5rem));
    border-radius: 1.4rem;
    overflow: hidden;
  }

  .dashboard-topbar {
    position: static !important;
  }

  .dashboard-topbar__inner {
    padding: 0.85rem 0.9rem;
  }

  .dashboard-topbar__intro {
    align-items: center;
  }

  .dashboard-topbar__title {
    font-size: 1.08rem;
    line-height: 1.2;
    white-space: normal;
  }

  .dashboard-topbar__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .dashboard-topbar__text,
  .dashboard-topbar__meta {
    display: none !important;
  }

  .dashboard-content {
    padding: 0.85rem;
  }

  .dashboard-content .p-6 { padding: 1rem !important; }
  .dashboard-content .p-8 { padding: 1.15rem !important; }
  .dashboard-content .gap-8 { gap: 1rem !important; }
  .dashboard-content .gap-6 { gap: 0.9rem !important; }
  .dashboard-content .text-5xl { font-size: 2rem !important; line-height: 1.08 !important; }
  .dashboard-content .text-4xl { font-size: 1.75rem !important; line-height: 1.14 !important; }
  .dashboard-content .text-3xl { font-size: 1.5rem !important; line-height: 1.18 !important; }
  .dashboard-content .rounded-\[30px\] { border-radius: 1.35rem !important; }
  .dashboard-content .rounded-\[28px\] { border-radius: 1.25rem !important; }
  .dashboard-content .rounded-\[26px\] { border-radius: 1.1rem !important; }

  .dashboard-bottom-nav {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    z-index: 9999 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.15rem !important;
    margin: 0 !important;
    border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 1.25rem 1.25rem 0 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.5rem 0.45rem calc(0.55rem + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -16px 38px rgba(15, 23, 42, 0.16) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
  }

  .dashboard-bottom-nav__item {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 3.55rem !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    border-radius: 1rem !important;
    padding: 0.2rem 0.05rem !important;
    color: #64748b !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    text-decoration: none !important;
    overflow: hidden !important;
  }

  .dashboard-bottom-nav__icon {
    display: grid !important;
    width: 2.35rem !important;
    height: 1.95rem !important;
    place-items: center !important;
    border-radius: 999px !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
  }

  .dashboard-bottom-nav__label {
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.64rem !important;
  }

  .dashboard-bottom-nav__item.is-active {
    color: #ea580c !important;
  }

  .dashboard-bottom-nav__item.is-active .dashboard-bottom-nav__icon {
    background: #f97316 !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.22) !important;
  }
}

@media (min-width: 1024px) {
  .dashboard-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .dashboard-topbar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
  }

  .dashboard-topbar__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(28rem, 100%);
  }
}

.cms-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; align-items: start; }
.cms-split-layout { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0,1fr); gap: 1rem; align-items: start; }
.cms-form-card { display: grid; gap: .9rem; }
.cms-form-wide { max-width: 980px; }
.cms-form-card h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: .2rem; }
.cms-form-card label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 800; color: #374151; }
.cms-form-card input:not([type="checkbox"]), .cms-form-card textarea, .cms-form-card select, .cms-table-input {
  width: 100%; border: 1px solid rgba(15,23,42,.12); border-radius: 14px; background: #fff; padding: .75rem .85rem; color: #111827; font: inherit;
}
.cms-form-card textarea { resize: vertical; }
.cms-two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.cms-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: .65rem !important; padding: .65rem .75rem; border-radius: 14px; background: #f8fafc; }
.cms-check input { width: 18px; height: 18px; }
.table-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.table-responsive { overflow-x: auto; }
.cms-table-input { min-width: 120px; padding: .55rem .65rem; border-radius: 10px; }
.cms-upload-card { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.cms-upload-card p { color: #64748b; font-size: .85rem; }
.cms-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; }
.cms-media-card { display: grid; gap: .7rem; }
.cms-media-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 18px; background: #f8fafc; border: 1px solid rgba(15,23,42,.08); }
.cms-media-card input { width: 100%; border: 1px solid rgba(15,23,42,.1); border-radius: 10px; padding: .5rem; font-size: .75rem; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert { border-radius: 16px; padding: .9rem 1rem; margin-bottom: 1rem; font-weight: 700; }
@media (max-width: 980px) { .cms-settings-grid, .cms-split-layout, .cms-two-col { grid-template-columns: 1fr; } }

.dashboard-shell {
  --dashboard-menu-font-size: var(--dashboard-menu-font-size, 13px);
  --dashboard-mobile-menu-font-size: var(--dashboard-mobile-menu-font-size, 10px);
  --dashboard-icon-size: var(--dashboard-icon-size, 32px);
}

.dashboard-sidebar {
  overflow: hidden !important;
}

.dashboard-sidebar__inner {
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
}

.dashboard-sidebar__section {
  min-height: 0 !important;
  overflow: visible !important;
}

.dashboard-nav {
  overflow: visible !important;
}

.dashboard-nav__link {
  min-height: 2.65rem !important;
  padding: 0.55rem 0.62rem !important;
  gap: 0.62rem !important;
  border-radius: 0.85rem !important;
  font-size: var(--dashboard-menu-font-size) !important;
  line-height: 1.18 !important;
}

.dashboard-nav__icon {
  width: var(--dashboard-icon-size) !important;
  height: var(--dashboard-icon-size) !important;
  min-width: var(--dashboard-icon-size) !important;
  border-radius: 0.72rem !important;
  font-size: 0.76rem !important;
}

.dashboard-nav__label {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-sidebar__panel {
  margin-top: 0.4rem !important;
}

.dashboard-sidebar__text {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

.dashboard-logout {
  padding: 0.55rem 0.8rem !important;
  font-size: 0.78rem !important;
}

@media (max-width: 1023px) {
  .dashboard-sidebar {
    top: 0.55rem !important;
    bottom: calc(5.95rem + env(safe-area-inset-bottom)) !important;
    left: 0.55rem !important;
    width: min(19rem, calc(100vw - 1.1rem)) !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
  }

  .dashboard-sidebar__inner {
    height: 100% !important;
    padding: 0.8rem !important;
    gap: 0.75rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-brand__mark {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.8rem !important;
    font-size: 0.75rem !important;
  }

  .dashboard-brand__title { font-size: 0.82rem !important; }
  .dashboard-brand__subtitle { font-size: 0.66rem !important; }

  .dashboard-sidebar__section,
  .dashboard-sidebar__panel {
    padding: 0.7rem !important;
    border-radius: 1rem !important;
  }

  .dashboard-sidebar__eyebrow {
    font-size: 0.58rem !important;
    letter-spacing: 0.14em !important;
  }

  .dashboard-nav {
    margin-top: 0.55rem !important;
    gap: 0.28rem !important;
  }

  .dashboard-nav__link {
    min-height: 2.35rem !important;
    padding: 0.42rem 0.5rem !important;
    font-size: 0.78rem !important;
  }

  .dashboard-nav__icon {
    width: 1.85rem !important;
    height: 1.85rem !important;
    min-width: 1.85rem !important;
    font-size: 0.68rem !important;
  }

  .dashboard-sidebar__panel {
    display: none !important;
  }

  .dashboard-bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    padding: 0.42rem 0.35rem calc(0.48rem + env(safe-area-inset-bottom)) !important;
  }

  .dashboard-bottom-nav__item {
    min-height: 3.25rem !important;
    font-size: var(--dashboard-mobile-menu-font-size) !important;
    font-weight: 800 !important;
  }

  .dashboard-bottom-nav__icon {
    width: 2rem !important;
    height: 1.75rem !important;
    font-size: 0.78rem !important;
  }

  .dashboard-bottom-nav__label {
    font-size: var(--dashboard-mobile-menu-font-size) !important;
  }
}

@media (min-width: 1024px) {
  .dashboard-sidebar__inner {
    max-height: 100vh !important;
  }
}

.cms-media-picker {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 16px;
  background: #f8fafc;
}
.cms-media-picker small { color: #64748b; font-size: 0.78rem; font-weight: 700; }
.cms-current-media {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
}
.cms-current-media img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid rgba(249,115,22,.18);
}
.cms-current-media code {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  overflow-wrap: anywhere;
}

.dashboard-nav-group {
  display: grid;
  gap: 0.35rem;
}
.dashboard-nav-group__title {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 2.55rem;
  padding: 0.5rem 0.62rem;
  border-radius: 0.85rem;
  color: #e2e8f0;
  font-size: var(--dashboard-menu-font-size, 13px);
  font-weight: 800;
}
.dashboard-nav-group.is-active .dashboard-nav-group__title {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(148,163,184,0.14);
  color: #fff;
}
.dashboard-nav-group__children {
  display: grid;
  gap: 0.25rem;
  margin-left: 0.6rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(148,163,184,0.18);
}
.dashboard-nav__link--child {
  min-height: 2.25rem !important;
  padding: 0.38rem 0.5rem !important;
  font-size: calc(var(--dashboard-menu-font-size, 13px) - 1px) !important;
}
.dashboard-nav__icon--child {
  width: 1.55rem !important;
  height: 1.55rem !important;
  min-width: 1.55rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.08) !important;
  font-size: 0.68rem !important;
}
.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav-group__children {
  display: none;
}
.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav-group__title {
  justify-content: center;
}
@media (max-width: 1023px) {
  .dashboard-nav-group__title {
    min-height: 2.2rem !important;
    padding: 0.4rem 0.5rem !important;
    font-size: 0.76rem !important;
  }
  .dashboard-nav-group__children {
    margin-left: 0.45rem !important;
    padding-left: 0.45rem !important;
    gap: 0.2rem !important;
  }
  .dashboard-nav__link--child {
    min-height: 2.05rem !important;
    font-size: 0.72rem !important;
  }
}

.dashboard-sidebar__section {
  min-height: 0;
  overflow: hidden;
}

.dashboard-nav {
  min-height: 0;
  max-height: calc(100vh - 18rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.dashboard-nav::-webkit-scrollbar {
  width: 6px;
}

.dashboard-nav::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.34);
  border-radius: 999px;
}

.dashboard-nav__link,
.dashboard-nav-group__title {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.dashboard-nav-group__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  font: inherit;
  font-size: var(--dashboard-menu-font-size, 13px);
  font-weight: 800;
  padding: 0.72rem 0.7rem;
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.dashboard-nav-group__title:hover,
.dashboard-nav-group.is-active > .dashboard-nav-group__title,
.dashboard-nav-group.is-open > .dashboard-nav-group__title {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(148, 163, 184, 0.14);
  color: #fff;
}

.dashboard-nav-group__chevron {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 180ms ease;
  flex: 0 0 auto;
}

.dashboard-nav-group.is-open .dashboard-nav-group__chevron {
  transform: rotate(180deg);
}

.dashboard-nav-group__children {
  display: grid;
  gap: 0.25rem;
  margin: 0.28rem 0 0.35rem 0.72rem;
  padding-left: 0.58rem;
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.dashboard-nav-group__children[hidden] {
  display: none !important;
}

.dashboard-nav__link--child {
  padding: 0.62rem 0.65rem;
  border-radius: 0.85rem;
  font-size: calc(var(--dashboard-menu-font-size, 13px) - 1px);
}

.dashboard-nav__label,
.sidebar-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.dashboard-nav__link {
  padding: 0.72rem 0.7rem;
  gap: 0.65rem;
  font-size: var(--dashboard-menu-font-size, 13px);
  font-weight: 800;
}

.dashboard-nav__icon {
  width: var(--dashboard-icon-size, 32px);
  height: var(--dashboard-icon-size, 32px);
  min-width: var(--dashboard-icon-size, 32px);
}

.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav-group__title {
  justify-content: center;
}

.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav-group__chevron,
.dashboard-shell[data-sidebar-collapsed="true"] .dashboard-nav-group__children {
  display: none !important;
}

@media (max-width: 1023px) {
  .dashboard-sidebar__inner {
    overflow: hidden;
  }

  .dashboard-nav {
    max-height: calc(100dvh - 15.5rem);
    padding-bottom: 0.65rem;
  }

  .dashboard-nav__link,
  .dashboard-nav-group__title {
    padding: 0.68rem 0.7rem;
    font-size: 0.78rem;
  }

  .dashboard-nav__link--child {
    font-size: 0.74rem;
    padding: 0.58rem 0.65rem;
  }

  .dashboard-nav__icon {
    width: 1.95rem;
    height: 1.95rem;
    min-width: 1.95rem;
    border-radius: 0.75rem;
    font-size: 0.72rem;
  }

  .dashboard-brand__title {
    font-size: 0.88rem;
  }

  .dashboard-brand__subtitle {
    font-size: 0.7rem;
  }
}
.dashboard-sidebar {
    height: 100vh;
    overflow: hidden;
}

.dashboard-sidebar__inner {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard-nav__link,
.dashboard-nav-group__title {
    min-width: 0;
    overflow: hidden;
}

.dashboard-nav__label,
.sidebar-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--dashboard-menu-font-size, 13px);
}

.dashboard-nav__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

.dashboard-nav-group__title {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.55rem;
}

.dashboard-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.dashboard-nav-group__children[hidden] {
    display: none !important;
}

.dashboard-nav-group__children {
    margin-top: 0.25rem;
    padding-left: 0.7rem;
    display: grid;
    gap: 0.25rem;
}

.dashboard-nav__link--child {
    font-size: 12px;
    padding-left: 0.75rem;
}

@media (max-width: 1024px) {
    .dashboard-sidebar {
        max-height: 100vh;
    }

    .dashboard-nav__label,
    .sidebar-label {
        font-size: 12px;
    }
}

.dashboard-nav-group {
    width: 100%;
    display: block;
}

.dashboard-nav-group__title {
    width: 100%;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 0.85rem;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: #cbd5e1;
    font-size: var(--dashboard-menu-font-size, 13px);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.dashboard-nav-group__title:hover,
.dashboard-nav-group.is-active > .dashboard-nav-group__title {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dashboard-nav__label,
.sidebar-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dashboard-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.dashboard-nav-group__chevron {
    font-size: 13px;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.dashboard-nav-group.is-open .dashboard-nav-group__chevron,
.dashboard-nav-group.is-active .dashboard-nav-group__chevron {
    transform: rotate(180deg);
}

.dashboard-nav-group__children {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.25rem;
    padding-left: 0.85rem;
}

.dashboard-nav-group__children[hidden] {
    display: none !important;
}

.dashboard-nav__link--child {
    padding: 0.58rem 0.75rem;
    font-size: 12px;
    border-radius: 12px;
}

.dashboard-sidebar__inner {
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard-sidebar {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

.dashboard-sidebar__inner {
  height: 100% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 1rem !important;
  scrollbar-width: thin !important;
}

.dashboard-sidebar__section {
  min-height: 0 !important;
  overflow: visible !important;
}

.dashboard-nav {
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

.dashboard-nav__link,
.dashboard-nav-group__title {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 2.45rem !important;
  box-sizing: border-box !important;
}

.dashboard-nav__link {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding: 0.52rem 0.58rem !important;
  border-radius: 0.85rem !important;
  font-size: var(--dashboard-menu-font-size, 13px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.dashboard-nav-group {
  width: 100% !important;
  display: block !important;
}

.dashboard-nav-group__title {
  display: grid !important;
  grid-template-columns: 1.9rem minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 0.52rem !important;
  padding: 0.52rem 0.58rem !important;
  border: 1px solid transparent !important;
  border-radius: 0.85rem !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: var(--dashboard-menu-font-size, 13px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

.dashboard-nav-group__title:hover,
.dashboard-nav-group.is-active > .dashboard-nav-group__title,
.dashboard-nav-group.is-open > .dashboard-nav-group__title {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  color: #fff !important;
}

.dashboard-nav__icon {
  width: 1.9rem !important;
  height: 1.9rem !important;
  min-width: 1.9rem !important;
  flex: 0 0 1.9rem !important;
  border-radius: 0.72rem !important;
  font-size: 0.72rem !important;
}

.dashboard-nav-group__title .dashboard-nav__icon {
  grid-column: 1 !important;
}

.dashboard-nav__label,
.sidebar-label {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  line-height: 1.18 !important;
}

.dashboard-nav__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.25rem !important;
  height: 1.25rem !important;
  padding: 0 0.38rem !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.dashboard-nav-group__chevron {
  flex: 0 0 auto !important;
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  margin-left: 0 !important;
  transform: rotate(0deg) !important;
  transition: transform 180ms ease !important;
}

.dashboard-nav-group.is-open .dashboard-nav-group__chevron {
  transform: rotate(180deg) !important;
}

.dashboard-nav-group__children {
  display: grid !important;
  gap: 0.22rem !important;
  margin: 0.25rem 0 0.35rem 0.58rem !important;
  padding-left: 0.5rem !important;
  border-left: 1px solid rgba(148, 163, 184, 0.18) !important;
}

.dashboard-nav-group__children[hidden] {
  display: none !important;
}

.dashboard-nav__link--child {
  min-height: 2rem !important;
  padding: 0.38rem 0.5rem !important;
  border-radius: 0.72rem !important;
  font-size: calc(var(--dashboard-menu-font-size, 13px) - 1px) !important;
}

.dashboard-nav__icon--child {
  width: 1.45rem !important;
  height: 1.45rem !important;
  min-width: 1.45rem !important;
  flex-basis: 1.45rem !important;
  border-radius: 999px !important;
}

.dashboard-sidebar__panel {
  margin-top: 0.65rem !important;
}

.dashboard-topbar__actions {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.8rem !important;
  min-width: 0 !important;
}

.dashboard-notifications {
  position: relative !important;
  flex: 0 0 auto !important;
}

.dashboard-notifications__button {
  position: relative !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 2.85rem !important;
  height: 2.85rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 1rem !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  cursor: pointer !important;
}

.dashboard-notifications__bell {
  font-size: 1.05rem !important;
  line-height: 1 !important;
}

.dashboard-notifications__count {
  position: absolute !important;
  top: -0.25rem !important;
  right: -0.25rem !important;
  min-width: 1.25rem !important;
  height: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.3rem !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
}

.dashboard-notifications__panel {
  position: absolute !important;
  top: calc(100% + 0.7rem) !important;
  right: 0 !important;
  z-index: 120 !important;
  width: min(24rem, calc(100vw - 2rem)) !important;
  overflow: hidden !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 1.35rem !important;
  background: #fff !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22) !important;
}

.dashboard-notifications__panel[hidden] {
  display: none !important;
}

.dashboard-notifications__header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: 1rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.dashboard-notifications__eyebrow {
  color: #f97316 !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.dashboard-notifications__header h2 {
  margin-top: 0.2rem !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.dashboard-notifications__mark {
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  color: #ea580c !important;
  padding: 0.45rem 0.65rem !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.dashboard-notifications__list {
  display: grid !important;
  max-height: 22rem !important;
  overflow-y: auto !important;
}

.dashboard-notifications__item,
.dashboard-notifications__empty {
  display: flex !important;
  gap: 0.75rem !important;
  padding: 0.9rem 1rem !important;
  color: #0f172a !important;
  text-decoration: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.dashboard-notifications__item:hover {
  background: #f8fafc !important;
}

.dashboard-notifications__item.is-read {
  opacity: 0.72 !important;
}

.dashboard-notifications__dot {
  width: 0.55rem !important;
  height: 0.55rem !important;
  margin-top: 0.35rem !important;
  border-radius: 999px !important;
  background: #cbd5e1 !important;
  flex: 0 0 auto !important;
}

.dashboard-notifications__item.is-unread .dashboard-notifications__dot {
  background: #ef4444 !important;
}

.dashboard-notifications__body {
  min-width: 0 !important;
  display: grid !important;
  gap: 0.2rem !important;
}

.dashboard-notifications__body strong,
.dashboard-notifications__empty strong {
  color: #0f172a !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
}

.dashboard-notifications__body small,
.dashboard-notifications__empty span {
  color: #64748b !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

@media (max-width: 1023px) {
  .dashboard-sidebar {
    bottom: calc(5.95rem + env(safe-area-inset-bottom)) !important;
  }

  .dashboard-nav__link,
  .dashboard-nav-group__title {
    min-height: 2.28rem !important;
    padding: 0.38rem 0.48rem !important;
    font-size: 0.75rem !important;
  }

  .dashboard-nav-group__title {
    grid-template-columns: 1.65rem minmax(0, 1fr) auto auto !important;
    gap: 0.42rem !important;
  }

  .dashboard-nav__icon {
    width: 1.65rem !important;
    height: 1.65rem !important;
    min-width: 1.65rem !important;
    flex-basis: 1.65rem !important;
    font-size: 0.62rem !important;
  }

  .dashboard-nav-group__children {
    margin-left: 0.45rem !important;
    padding-left: 0.42rem !important;
  }

  .dashboard-topbar__actions {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .dashboard-topbar__meta {
    display: none !important;
  }

  .dashboard-notifications__panel {
    position: fixed !important;
    top: 4.25rem !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    width: auto !important;
  }
}

.dashboard-sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  z-index: 90 !important;
  background: #0f172a !important;
  overflow: hidden !important;
}

.dashboard-sidebar__inner {
  height: 100% !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.dashboard-sidebar__section {
  min-height: 0 !important;
  overflow: visible !important;
}

.dashboard-sidebar__panel.sidebar-footer-copy {
  flex: 0 0 auto !important;
  margin-top: .75rem !important;
  padding: .75rem !important;
}

.dashboard-sidebar__panel.sidebar-footer-copy .dashboard-sidebar__text,
.dashboard-sidebar__panel.sidebar-footer-copy .dashboard-sidebar__eyebrow {
  display: none !important;
}

.dashboard-sidebar__panel.sidebar-footer-copy .dashboard-logout {
  margin-top: 0 !important;
  width: 100% !important;
  justify-content: center !important;
  font-size: .78rem !important;
  padding: .6rem .75rem !important;
}

.dashboard-nav-group__title,
.dashboard-nav__link {
  min-height: 2.6rem !important;
  max-width: 100% !important;
}

.dashboard-nav-group__title {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: .55rem !important;
}

.dashboard-nav__label,
.sidebar-label,
.dashboard-brand__copy,
.dashboard-brand__title,
.dashboard-brand__subtitle {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-nav__badge {
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

@media (max-width: 1023px) {
  .dashboard-sidebar {
    bottom: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
  }
}

.dashboard-brand__mark--image {
  background: #fff;
  overflow: hidden;
  padding: 3px;
}

.dashboard-brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dashboard-sidebar {
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  background: #101827;
}

.dashboard-sidebar__inner {
  height: 100%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-sidebar__section {
  min-height: 0;
  flex: 1 1 auto;
}

.sidebar-footer-copy {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 0.75rem;
  background: transparent !important;
  border-color: rgba(255,255,255,0.08) !important;
}

.sidebar-footer-copy .dashboard-sidebar__text,
.sidebar-footer-copy .dashboard-sidebar__eyebrow {
  display: none !important;
}

.dashboard-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-nav__label,
.sidebar-label {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--dashboard-menu-font-size, 13px);
}

.dashboard-nav-group__title {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.dashboard-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.dashboard-nav-group__children[hidden] {
  display: none !important;
}

.dashboard-nav-group__children {
  margin-top: 0.3rem;
  padding-left: 0.8rem;
  display: grid;
  gap: 0.25rem;
}

.dashboard-topbar__actions {
  min-width: 0;
}

.dashboard-notifications {
  position: relative;
  flex: 0 0 auto;
}

.dashboard-notifications__panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 7rem));
  overflow-y: auto;
  z-index: 100;
}

.dashboard-chip-card__value--truncate {
  max-width: 190px;
}

@media (max-width: 1024px) {
  .dashboard-topbar {
    position: static !important;
  }

  .dashboard-topbar__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dashboard-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dashboard-notifications__panel {
    right: -0.5rem;
  }
}

@media (max-width: 1023px) {
  :root {
    --qs-dashboard-mobile-gutter: 1.15rem;
  }

  html,
  body,
  .dashboard-shell,
  .dashboard-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .dashboard-main {
    min-width: 0 !important;
  }

  .dashboard-topbar__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--qs-dashboard-mobile-gutter) !important;
    padding-right: var(--qs-dashboard-mobile-gutter) !important;
    box-sizing: border-box !important;
  }

  .dashboard-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: var(--qs-dashboard-mobile-gutter) !important;
    padding-right: var(--qs-dashboard-mobile-gutter) !important;
    box-sizing: border-box !important;
  }

  .dashboard-content > *,
  .dashboard-content article,
  .dashboard-content section,
  .dashboard-content div,
  .dashboard-content form,
  .dashboard-content table,
  .dashboard-content .grid,
  .dashboard-content .card,
  .dashboard-content .panel {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .dashboard-content img,
  .dashboard-content video,
  .dashboard-content canvas,
  .dashboard-content svg {
    max-width: 100% !important;
    height: auto;
  }

  .dashboard-content input,
  .dashboard-content select,
  .dashboard-content textarea,
  .dashboard-content button {
    max-width: 100% !important;
  }

  .dashboard-sidebar {
    left: var(--qs-dashboard-mobile-gutter) !important;
    right: var(--qs-dashboard-mobile-gutter) !important;
    width: auto !important;
    max-width: calc(100vw - (var(--qs-dashboard-mobile-gutter) * 2)) !important;
  }
}

@media (max-width: 420px) {
  :root {
    --qs-dashboard-mobile-gutter: 1rem;
  }
}

.qs-map-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(120, 113, 108, 0.22);
  background:
    linear-gradient(90deg, rgba(15,23,42,.055) 1px, transparent 1px),
    linear-gradient(rgba(15,23,42,.055) 1px, transparent 1px),
    radial-gradient(circle at 22% 28%, rgba(249,115,22,.18), transparent 22%),
    radial-gradient(circle at 80% 70%, rgba(15,118,110,.12), transparent 24%),
    #f8fafc;
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}
.qs-map-route {
  position: absolute;
  left: 22%;
  top: 34%;
  width: 58%;
  height: 34%;
  border-top: 6px dashed rgba(249,115,22,.75);
  border-right: 6px dashed rgba(249,115,22,.75);
  border-radius: 0 80px 0 0;
  transform: rotate(-8deg);
}
.qs-map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: .55rem .8rem;
  border-radius: 999px;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
}
.qs-map-pin--pickup { left: 10%; top: 24%; background: #0f172a; }
.qs-map-pin--dropoff { right: 8%; bottom: 22%; background: #f97316; }

.dashboard-feedback-strip {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.25rem;
  margin-top: 0.75rem;
}
.dashboard-feedback-widget {
  position: relative;
  z-index: 30;
}
.dashboard-feedback-widget summary {
  list-style: none;
  cursor: pointer;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}
.dashboard-feedback-widget summary::-webkit-details-marker { display: none; }
.dashboard-feedback-form {
  position: absolute;
  right: 0;
  top: calc(100% + .75rem);
  width: min(340px, calc(100vw - 2rem));
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, .18);
}
.dashboard-feedback-form select,
.dashboard-feedback-form textarea {
  width: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
  padding: .75rem .85rem;
  font-size: .86rem;
  color: #0f172a;
}
.dashboard-feedback-form button {
  border-radius: 14px;
  background: #f97316;
  color: #fff;
  padding: .75rem .85rem;
  font-size: .85rem;
  font-weight: 800;
}
.dashboard-nav__link { min-width: 0; }
.dashboard-nav__link .dashboard-nav__badge { margin-left: auto; }
@media (max-width: 768px) {
  .dashboard-feedback-strip { justify-content: stretch; padding: 0 1rem; }
  .dashboard-feedback-widget summary { text-align: center; }
  .dashboard-feedback-form { position: fixed; left: 1rem; right: 1rem; top: auto; bottom: 5.5rem; width: auto; }
}

.qs-notification-toast {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 9999;
    width: min(360px, calc(100vw - 2rem));
    display: grid;
    gap: .25rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    transform: translateY(-12px);
    opacity: 0;
    transition: .22s ease;
}
.qs-notification-toast.is-visible { transform: translateY(0); opacity: 1; }
.qs-notification-toast strong { font-size: .92rem; }
.qs-notification-toast span { color: #cbd5e1; font-size: .82rem; line-height: 1.45; }
@media (max-width: 640px) { .qs-notification-toast { top: .75rem; right: .75rem; left: .75rem; width: auto; } }

@media (max-width: 1023px) {
  .dashboard-topbar__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 0.75rem !important;
    position: relative !important;
  }

  .dashboard-topbar__intro {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    padding-right: 0.25rem !important;
  }

  .dashboard-topbar__actions {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    z-index: 160 !important;
    position: relative !important;
  }

  .dashboard-notifications {
    position: relative !important;
    z-index: 170 !important;
  }

  .dashboard-notifications__button {
    width: 2.65rem !important;
    height: 2.65rem !important;
    border-radius: 0.95rem !important;
  }

  .dashboard-notifications__panel {
    position: fixed !important;
    top: 4.4rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    z-index: 220 !important;
  }

  .dashboard-topbar__meta {
    display: none !important;
  }
}

:root {
  --qs-ui-bg: #f6f3ed;
  --qs-ui-surface: #ffffff;
  --qs-ui-ink: #111827;
  --qs-ui-muted: #64748b;
  --qs-ui-border: rgba(15, 23, 42, .09);
  --qs-ui-soft-border: rgba(15, 23, 42, .065);
  --qs-ui-shadow: 0 10px 30px rgba(15, 23, 42, .055);
  --qs-ui-shadow-hover: 0 18px 45px rgba(15, 23, 42, .09);
  --qs-ui-radius: 20px;
  --qs-ui-radius-sm: 14px;
  --qs-ui-gutter: clamp(1rem, 2.4vw, 1.75rem);
}

html { scroll-behavior: smooth; }
body { background: var(--qs-ui-bg); color: var(--qs-ui-ink); -webkit-font-smoothing: antialiased; }

.dashboard-shell {
  background: radial-gradient(circle at top left, rgba(249,115,22,.08), transparent 28rem), var(--qs-ui-bg);
  font-size: 14px;
}

.dashboard-main { min-width: 0; }

.dashboard-sidebar {
  background: #0b1220 !important;
  box-shadow: 10px 0 30px rgba(15, 23, 42, .08);
}

.dashboard-sidebar__inner {
  padding: 1rem .85rem 1.1rem !important;
  gap: .85rem !important;
}

.dashboard-brand {
  padding: .7rem .55rem .95rem !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-brand__mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  font-size: .82rem !important;
}

.dashboard-brand__title { font-size: .92rem !important; letter-spacing: -.01em; }
.dashboard-brand__subtitle { font-size: .72rem !important; color: rgba(226,232,240,.72) !important; }

.dashboard-sidebar__eyebrow {
  font-size: .64rem !important;
  letter-spacing: .16em !important;
  color: rgba(226,232,240,.55) !important;
}

.dashboard-nav { gap: .25rem !important; }
.dashboard-nav__link,
.dashboard-nav-group__title {
  min-height: 40px !important;
  padding: .56rem .62rem !important;
  border-radius: 13px !important;
  font-size: var(--dashboard-menu-font-size, 12.5px) !important;
  line-height: 1.2 !important;
  color: rgba(226,232,240,.78) !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.dashboard-nav__link:hover,
.dashboard-nav-group__title:hover,
.dashboard-nav__link.is-active,
.dashboard-nav-group.is-active > .dashboard-nav-group__title,
.dashboard-nav-group.is-open > .dashboard-nav-group__title {
  background: rgba(255,255,255,.075) !important;
  color: #fff !important;
}

.dashboard-nav__icon {
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  flex-basis: 25px !important;
  border-radius: 10px !important;
  font-size: .78rem !important;
}

.dashboard-nav__label,
.sidebar-label {
  font-size: inherit !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-nav-group__title {
  display: grid !important;
  grid-template-columns: 25px minmax(0,1fr) auto auto !important;
  gap: .5rem !important;
}

.dashboard-nav__badge {
  min-width: 1.15rem !important;
  height: 1.15rem !important;
  padding: 0 .36rem !important;
  font-size: .64rem !important;
  box-shadow: 0 8px 20px rgba(239,68,68,.24);
}

.dashboard-nav-group__children {
  padding-left: .45rem !important;
  margin-top: .25rem !important;
  gap: .18rem !important;
}
.dashboard-nav__link--child {
  min-height: 34px !important;
  padding: .48rem .58rem .48rem .7rem !important;
  font-size: 12px !important;
}

.dashboard-sidebar__panel {
  padding: .8rem !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
}
.dashboard-sidebar__text { font-size: .74rem !important; line-height: 1.45 !important; color: rgba(226,232,240,.7) !important; }
.dashboard-logout { min-height: 36px !important; font-size: .78rem !important; border-radius: 12px !important; }

.dashboard-topbar {
  background: rgba(255,255,255,.88) !important;
  border-bottom: 1px solid var(--qs-ui-soft-border) !important;
  backdrop-filter: blur(14px);
}
.dashboard-topbar__inner {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: .95rem var(--qs-ui-gutter) !important;
  gap: 1rem !important;
}
.dashboard-topbar__title {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em !important;
}
.dashboard-topbar__eyebrow { font-size: .66rem !important; letter-spacing: .16em !important; }
.dashboard-topbar__text { font-size: .82rem !important; line-height: 1.55 !important; max-width: 54rem !important; }
.dashboard-chip-card {
  min-height: 54px !important;
  border-radius: 16px !important;
  padding: .68rem .82rem !important;
  box-shadow: none !important;
  border: 1px solid var(--qs-ui-soft-border) !important;
}
.dashboard-chip-card__label { font-size: .62rem !important; }
.dashboard-chip-card__value { font-size: .8rem !important; }

.dashboard-content {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 1.15rem var(--qs-ui-gutter) 2rem !important;
}

.dashboard-content > section,
.dashboard-content > article,
.dashboard-content .dashboard-card,
.dashboard-content .metric-card,
.dashboard-content .analytics-card,
.dashboard-content .admin-card,
.dashboard-content .public-track-card,
.dashboard-content form.rounded-\[28px\],
.dashboard-content .rounded-\[30px\],
.dashboard-content .rounded-\[28px\],
.dashboard-content .rounded-\[26px\] {
  border-radius: var(--qs-ui-radius) !important;
  border-color: var(--qs-ui-soft-border) !important;
  box-shadow: var(--qs-ui-shadow) !important;
}

.dashboard-content > section,
.dashboard-content > article { margin-bottom: .9rem; }
.dashboard-content .shadow-soft { box-shadow: var(--qs-ui-shadow) !important; }
.dashboard-content .p-8 { padding: 1.35rem !important; }
.dashboard-content .p-6 { padding: 1.1rem !important; }
.dashboard-content .p-5 { padding: 1rem !important; }
.dashboard-content .gap-8 { gap: 1.15rem !important; }
.dashboard-content .gap-6 { gap: 1rem !important; }
.dashboard-content .gap-5 { gap: .9rem !important; }

.dashboard-content .text-5xl { font-size: 2.15rem !important; line-height: 1.05 !important; }
.dashboard-content .text-4xl { font-size: 1.8rem !important; line-height: 1.1 !important; }
.dashboard-content .text-3xl { font-size: 1.48rem !important; line-height: 1.18 !important; }
.dashboard-content .text-2xl { font-size: 1.22rem !important; line-height: 1.25 !important; }
.dashboard-content .text-xl { font-size: 1.02rem !important; line-height: 1.35 !important; }
.dashboard-content .text-lg { font-size: .96rem !important; line-height: 1.45 !important; }
.dashboard-content .text-sm { font-size: .82rem !important; line-height: 1.55 !important; }
.dashboard-content .text-xs { font-size: .7rem !important; }
.dashboard-content .tracking-\[0\.24em\],
.dashboard-content .tracking-\[0\.26em\],
.dashboard-content .tracking-\[0\.2em\] { letter-spacing: .13em !important; }

.metric-card p:nth-child(2),
.dashboard-content .metric-card .text-4xl,
.dashboard-content article .text-4xl {
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
  line-height: 1.05 !important;
}

.dashboard-content input,
.dashboard-content select,
.dashboard-content textarea {
  border-radius: 14px !important;
  min-height: 42px !important;
  font-size: .86rem !important;
  border-color: rgba(15,23,42,.14) !important;
  background: #fff;
}
.dashboard-content textarea { min-height: 108px !important; }
.dashboard-content button,
.dashboard-content .button,
.dashboard-content a[class*="bg-slate-900"],
.dashboard-content a[class*="rounded-full"],
.dashboard-content a[class*="rounded-2xl"] {
  font-size: .82rem !important;
}
.dashboard-content table { font-size: .82rem !important; border-collapse: separate; border-spacing: 0; }
.dashboard-content th { font-size: .68rem !important; letter-spacing: .12em; text-transform: uppercase; color: #64748b; }
.dashboard-content td, .dashboard-content th { padding: .75rem .85rem !important; }

.dashboard-notifications__button { box-shadow: none !important; border: 1px solid var(--qs-ui-soft-border) !important; }
.dashboard-notifications__panel { border-radius: 18px !important; box-shadow: var(--qs-ui-shadow-hover) !important; }

.dashboard-content article.overflow-hidden.rounded-\[28px\] {
  border-radius: 18px !important;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dashboard-content article.overflow-hidden.rounded-\[28px\]:hover {
  transform: translateY(-2px);
  box-shadow: var(--qs-ui-shadow-hover) !important;
  border-color: rgba(249,115,22,.22) !important;
}
.dashboard-content article.overflow-hidden.rounded-\[28px\] > img {
  height: 190px !important;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f8fafc;
}
.dashboard-content article.overflow-hidden.rounded-\[28px\] h3 {
  font-size: 1rem !important;
  line-height: 1.32 !important;
}
.dashboard-content article.overflow-hidden.rounded-\[28px\] form {
  gap: .55rem !important;
}
.dashboard-content article.overflow-hidden.rounded-\[28px\] input[type="number"] {
  width: 4.4rem !important;
  min-height: 40px !important;
}

@media (min-width: 1024px) {
  .dashboard-shell[data-sidebar-collapsed="false"] .dashboard-main { margin-left: 260px !important; }
  .dashboard-shell[data-sidebar-collapsed="true"] .dashboard-main { margin-left: 84px !important; }
  .dashboard-sidebar { width: 260px !important; }
  .dashboard-shell[data-sidebar-collapsed="true"] .dashboard-sidebar { width: 84px !important; }
}

@media (max-width: 1023px) {
  :root { --qs-ui-gutter: 1rem; }
  .dashboard-topbar { position: static !important; }
  .dashboard-topbar__inner { padding: .85rem 1rem !important; }
  .dashboard-topbar__title { font-size: 1.03rem !important; }
  .dashboard-topbar__text { display: none !important; }
  .dashboard-content { padding: 1rem 1rem 6.4rem !important; }
  .dashboard-content > section,
  .dashboard-content > article { border-radius: 18px !important; }
  .dashboard-content .p-6,
  .dashboard-content .p-8 { padding: 1rem !important; }
  .dashboard-content .text-4xl { font-size: 1.55rem !important; }
  .dashboard-content .text-3xl { font-size: 1.32rem !important; }
  .dashboard-content .grid { min-width: 0; }
  .dashboard-content article.overflow-hidden.rounded-\[28px\] > img { height: 170px !important; }
  .dashboard-bottom-nav {
    left: .75rem !important;
    right: .75rem !important;
    bottom: .75rem !important;
    width: auto !important;
    border-radius: 22px !important;
    padding: .45rem !important;
    box-shadow: 0 18px 44px rgba(15,23,42,.18) !important;
  }
  .dashboard-bottom-nav__item { min-width: 0 !important; padding: .32rem .2rem !important; }
  .dashboard-bottom-nav__icon { width: 2rem !important; height: 2rem !important; border-radius: 13px !important; }
  .dashboard-bottom-nav__label { font-size: .64rem !important; }
}

@media (max-width: 420px) {
  .dashboard-content { padding-left: .9rem !important; padding-right: .9rem !important; }
  .dashboard-content .grid[class*="grid-cols-2"] { gap: .75rem !important; }
  .dashboard-content .text-3xl { font-size: 1.25rem !important; }
}

.settings-accordion { display: grid; gap: 1rem; }
.settings-panel { padding: 0 !important; overflow: hidden; }
.settings-panel > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 800; color: #0f172a; }
.settings-panel > summary::-webkit-details-marker { display: none; }
.settings-panel > summary span { font-size: 1rem; }
.settings-panel > summary small { color: #64748b; font-weight: 600; text-align: right; }
.settings-panel[open] > summary { border-bottom: 1px solid rgba(15, 23, 42, .08); background: #fffaf5; }
.settings-panel__body { padding: 1.25rem; display: grid; gap: 1rem; }
.affiliate-hero-card { display: grid; gap: 1.25rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.affiliate-hero-card h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.affiliate-code-form { display: grid; gap: .85rem; }
.metric-card { border: 1px solid rgba(15, 23, 42, .08); background: #fff; border-radius: 22px; padding: 1rem; box-shadow: 0 12px 30px rgba(15,23,42,.05); }
.metric-card p { color: #64748b; font-size: .82rem; font-weight: 700; }
.metric-card strong { display: block; margin-top: .45rem; color: #0f172a; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; padding: .75rem; border-bottom: 1px solid rgba(15,23,42,.08); }
.data-table td { padding: .85rem .75rem; border-bottom: 1px solid rgba(15,23,42,.06); vertical-align: top; font-size: .88rem; color: #334155; }
.inline-form { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.button-sm { padding: .5rem .75rem !important; font-size: .78rem !important; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; background: #f1f5f9; color: #0f172a; padding: .25rem .55rem; font-size: .72rem; font-weight: 800; text-transform: capitalize; }
@media (min-width: 900px) { .affiliate-hero-card { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); } }
@media (max-width: 640px) { .settings-panel > summary { align-items: flex-start; flex-direction: column; } .settings-panel > summary small { text-align: left; } }

.dashboard-shell {
  --qs-affiliate-gutter: clamp(1rem, 2.3vw, 1.6rem);
}

.dashboard-sidebar,
.dashboard-sidebar__inner {
  max-width: 100vw;
}

.dashboard-sidebar__inner {
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .85rem !important;
  padding: .95rem !important;
  overflow: hidden !important;
}

.dashboard-brand {
  flex: 0 0 auto !important;
}

.dashboard-sidebar__section {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: .8rem !important;
  border-radius: 18px !important;
}

.dashboard-nav {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: .25rem !important;
  gap: .32rem !important;
}

.dashboard-sidebar__panel {
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  padding: .75rem !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.dashboard-sidebar__panel .dashboard-sidebar__text {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  font-size: .72rem !important;
  line-height: 1.45 !important;
  margin-top: .45rem !important;
  overflow-wrap: anywhere;
}

.dashboard-sidebar__panel .dashboard-logout {
  margin-top: .65rem !important;
  padding: .5rem .75rem !important;
  font-size: .74rem !important;
}

.dashboard-nav__link,
.dashboard-nav-group__title {
  min-height: 38px !important;
  padding: .5rem .55rem !important;
  border-radius: 13px !important;
  font-size: .78rem !important;
  line-height: 1.2 !important;
}

.dashboard-nav__icon {
  width: 1.85rem !important;
  min-width: 1.85rem !important;
  height: 1.85rem !important;
  border-radius: 12px !important;
  font-size: .72rem !important;
}

.dashboard-nav__label,
.sidebar-label,
.dashboard-brand__copy,
.dashboard-brand__title,
.dashboard-brand__subtitle {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dashboard-nav-group__children {
  margin-left: .5rem !important;
  padding-left: .5rem !important;
}

.dashboard-nav__link--child {
  min-height: 32px !important;
  padding: .43rem .5rem !important;
  font-size: .73rem !important;
}

.affiliate-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1rem;
  color: #0f172a;
}

.affiliate-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: 0 14px 36px rgba(15,23,42,.055);
}

.affiliate-header h2 {
  margin: .25rem 0 .35rem;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 900;
  color: #0f172a;
}

.affiliate-header p:not(.dashboard-eyebrow) {
  max-width: 720px;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.65;
}

.affiliate-header__cta {
  flex: 0 0 auto;
}

.affiliate-panel {
  min-width: 0;
  padding: 1.05rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15,23,42,.045);
}

.affiliate-onboarding,
.affiliate-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1rem;
  align-items: stretch;
}

.affiliate-onboarding__copy h3,
.affiliate-section-heading h3 {
  margin: .45rem 0 .3rem;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.18;
  font-weight: 900;
  color: #0f172a;
}

.affiliate-onboarding__copy p,
.affiliate-section-heading p,
.affiliate-link-panel p {
  color: #64748b;
  font-size: .86rem;
  line-height: 1.6;
}

.affiliate-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  padding: .32rem .62rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.affiliate-rate-card {
  margin-top: 1rem;
  width: fit-content;
  max-width: 100%;
  padding: .8rem .9rem;
  border-radius: 18px;
  border: 1px solid rgba(249,115,22,.18);
  background: #fff7ed;
}

.affiliate-rate-card span,
.affiliate-form-card label span,
.affiliate-payout-form label span {
  display: block;
  color: #64748b;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .32rem;
}

.affiliate-rate-card strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.3;
}

.affiliate-form-card {
  display: grid;
  gap: .85rem;
  padding: .9rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.07);
}

.affiliate-form-card input,
.affiliate-form-card select,
.affiliate-payout-form input,
.affiliate-payout-form select,
.affiliate-inline-form select {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  padding: .65rem .75rem;
  font-size: .86rem;
  outline: none;
}

.affiliate-form-card input:focus,
.affiliate-payout-form input:focus,
.affiliate-payout-form select:focus,
.affiliate-inline-form select:focus {
  border-color: rgba(249,115,22,.55);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

.affiliate-form-card small {
  display: block;
  margin-top: .35rem;
  color: #64748b;
  font-size: .76rem;
  line-height: 1.45;
}

.affiliate-link-panel__main {
  min-width: 0;
}

.affiliate-link-box {
  margin: .75rem 0 .5rem;
  padding: .85rem;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
}

.affiliate-link-box strong {
  display: block;
  font-size: clamp(.92rem, 2vw, 1.08rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.affiliate-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.affiliate-metrics--admin {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.affiliate-metrics article {
  min-width: 0;
  padding: .95rem;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}

.affiliate-metrics span {
  display: block;
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.affiliate-metrics strong {
  display: block;
  margin-top: .45rem;
  color: #0f172a;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.affiliate-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.affiliate-section-heading {
  display: grid;
  gap: .15rem;
  margin-bottom: .8rem;
}

.affiliate-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.06);
}

.affiliate-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.affiliate-table--wide { min-width: 980px; }

.affiliate-table th,
.affiliate-table td {
  text-align: left;
  vertical-align: top;
  padding: .78rem .8rem;
  border-bottom: 1px solid rgba(15,23,42,.06);
  font-size: .84rem;
  line-height: 1.45;
}

.affiliate-table th {
  color: #64748b;
  background: #f8fafc;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.affiliate-table td code,
.affiliate-table td small {
  overflow-wrap: anywhere;
  color: #64748b;
}

.affiliate-inline-form {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: nowrap;
}

.affiliate-inline-form select {
  min-width: 118px;
  max-width: 150px;
}

.affiliate-payout-form {
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr 1fr auto;
  align-items: end;
  gap: .85rem;
  margin-bottom: 1rem;
}

@media (max-width: 1180px) {
  .affiliate-metrics--admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .affiliate-payout-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .affiliate-payout-form .button { width: fit-content; }
}

@media (max-width: 860px) {
  .affiliate-page {
    width: 100%;
    max-width: 100%;
    padding-left: .1rem;
    padding-right: .1rem;
    gap: .85rem;
  }
  .affiliate-header,
  .affiliate-panel {
    border-radius: 18px;
    padding: .9rem;
  }
  .affiliate-header {
    flex-direction: column;
  }
  .affiliate-onboarding,
  .affiliate-link-panel,
  .affiliate-grid-two {
    grid-template-columns: 1fr;
  }
  .affiliate-metrics,
  .affiliate-metrics--admin {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .affiliate-metrics article { padding: .8rem; border-radius: 17px; }
  .affiliate-payout-form { grid-template-columns: 1fr; }
  .affiliate-inline-form { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .affiliate-metrics,
  .affiliate-metrics--admin {
    grid-template-columns: 1fr 1fr;
  }
  .affiliate-header h2 { font-size: 1.28rem; }
  .affiliate-table { min-width: 620px; }
  .affiliate-table--wide { min-width: 860px; }
}

.qs-workspace {
  display: grid;
  gap: 1.1rem;
}
.qs-hero-panel {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 58%, #f97316 160%);
  color: #fff;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}
.qs-hero-panel--admin { background: linear-gradient(135deg, #0f172a 0%, #172554 62%, #f97316 150%); }
.qs-hero-panel--merchant { background: linear-gradient(135deg, #064e3b 0%, #0f172a 72%, #f97316 160%); }
.qs-hero-panel--rider { background: linear-gradient(135deg, #1e293b 0%, #0f766e 70%, #f97316 160%); }
.qs-hero-panel h2 {
  max-width: 56rem;
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.qs-hero-panel p {
  max-width: 54rem;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.62;
}
.qs-eyebrow {
  display: inline-flex;
  align-items: center;
  color: #f97316;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.qs-hero-panel .qs-eyebrow { color: #fed7aa; }
.qs-hero-action,
.qs-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  white-space: nowrap;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  padding: 0.78rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}
.qs-hero-action--button { font: inherit; font-weight: 900; }
.qs-inline-button {
  margin-top: 0.9rem;
  background: #0f172a;
  color: #fff;
  box-shadow: none;
}
.qs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.qs-kpi-card {
  position: relative;
  display: grid;
  min-height: 8.35rem;
  align-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.2rem;
  background: #fff;
  padding: 1rem;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}
.qs-kpi-card::after {
  content: '';
  position: absolute;
  right: -1.6rem;
  bottom: -1.8rem;
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.10);
}
.qs-kpi-card:hover,
.qs-action-tile:hover,
.qs-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}
.qs-kpi-card span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}
.qs-kpi-card strong {
  color: #0f172a;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.qs-kpi-card small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}
.qs-kpi-card--warning { border-color: rgba(245, 158, 11, 0.22); }
.qs-kpi-card--success { border-color: rgba(16, 185, 129, 0.22); }
.qs-kpi-card--info { border-color: rgba(59, 130, 246, 0.22); }
.qs-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.75fr);
  gap: 1rem;
  align-items: start;
}
.qs-dashboard-grid--admin {
  grid-template-columns: minmax(0, 1.55fr) minmax(22rem, 0.72fr);
}
.qs-stack {
  display: grid;
  gap: 1rem;
}
.qs-panel {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.05rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
}
.qs-panel--accent {
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border-color: rgba(249, 115, 22, 0.18);
}
.qs-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.qs-panel-head h3 {
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 900;
}
.qs-panel-head a {
  flex: 0 0 auto;
  color: #ea580c;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}
.qs-bar-chart,
.qs-list,
.qs-action-grid,
.qs-activity-grid {
  display: grid;
  gap: 0.65rem;
}
.qs-bar-row__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
}
.qs-bar-row__meta strong { color: #0f172a; }
.qs-bar-track {
  height: 0.62rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}
.qs-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f172a, #f97316);
}
.qs-trend-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
  height: 13rem;
  align-items: end;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.04) 1px, transparent 1px), #f8fafc;
  background-size: 100% 25%;
}
.qs-trend-chart__item {
  height: 100%;
  min-width: 0;
  display: grid;
  align-items: end;
  gap: 0.4rem;
}
.qs-trend-chart__bar {
  display: block;
  min-height: 0.5rem;
  border-radius: 999px 999px 0.3rem 0.3rem;
  background: linear-gradient(180deg, #f97316, #0f172a);
}
.qs-trend-chart__item small {
  overflow: hidden;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qs-list-item,
.qs-action-tile,
.qs-activity-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem;
  color: #0f172a;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.qs-list-item div,
.qs-activity-item {
  min-width: 0;
}
.qs-list-item strong,
.qs-action-tile strong,
.qs-activity-item strong {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qs-list-item span,
.qs-action-tile span,
.qs-activity-item span,
.qs-muted {
  display: block;
  margin-top: 0.22rem;
  overflow: hidden;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
  text-overflow: ellipsis;
}
.qs-list-item em {
  flex: 0 0 auto;
  color: #0f172a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.qs-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qs-action-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qs-action-tile {
  display: block;
  align-items: initial;
  justify-content: initial;
}
.qs-empty-state,
.qs-alert-success {
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
  color: #64748b;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.5;
}
.qs-alert-success {
  margin-bottom: 1rem;
  border-style: solid;
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}
.qs-copy-box {
  margin-top: 0.85rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.qs-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.qs-mini-stats span {
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.65rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
}
.qs-mini-stats strong {
  display: block;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 900;
}
@media (max-width: 1279px) {
  .qs-dashboard-grid,
  .qs-dashboard-grid--admin {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .qs-kpi-grid,
  .qs-action-grid,
  .qs-action-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qs-hero-panel {
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .qs-workspace { gap: 0.85rem; }
  .qs-hero-panel,
  .qs-panel,
  .qs-kpi-card { border-radius: 1rem; }
  .qs-hero-panel { padding: 1rem; }
  .qs-hero-panel h2 { font-size: 1.28rem; }
  .qs-kpi-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .qs-kpi-card { min-height: 7rem; padding: 0.85rem; }
  .qs-kpi-card strong { font-size: 1.35rem; }
  .qs-dashboard-grid { gap: 0.85rem; }
  .qs-panel { padding: 0.9rem; }
  .qs-panel-head { gap: 0.6rem; }
  .qs-panel-head h3 { font-size: 0.96rem; }
  .qs-trend-chart { height: 10.5rem; gap: 0.34rem; padding: 0.55rem; }
  .qs-trend-chart__item small { font-size: 0.55rem; }
  .qs-list-item { align-items: flex-start; padding: 0.75rem; }
  .qs-list-item em { max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}


/* =========================================================
   QuickSalone v1.5.1 product grid, gallery, zoom and breadcrumbs
   ========================================================= */
.qs-public-breadcrumb-wrap { margin-top: .75rem; }
.qs-dashboard-breadcrumb-wrap { padding: .75rem clamp(1rem, 2vw, 1.5rem) 0; }
.qs-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: #64748b; font-size: .78rem; font-weight: 800; line-height: 1.4; }
.qs-breadcrumbs a { color: #475569; text-decoration: none; }
.qs-breadcrumbs a:hover { color: #f97316; }
.qs-breadcrumbs em { color: #cbd5e1; font-style: normal; }
.qs-breadcrumbs span { color: #0f172a; }
.product-grid, .public-product-grid, .qs-product-grid { display: grid !important; }
.product-image { display: block !important; padding: 0 !important; }
.product-image img, .qs-product-grid article > img, .qs-product-grid .product-card img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; display: block !important; background: #f8fafc !important; }
.product-card .product-image img, .product-card-link .product-image img { transform: scale(1.04); }
.product-card:hover .product-image img, .product-card-link:hover .product-image img { transform: scale(1.09); }
.public-product-gallery { position: relative; }
.public-product-image-main { position: relative; cursor: zoom-in; }
.public-product-image-main img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; display: block !important; transform: scale(1.01); }
.public-product-gallery-strip { align-items: stretch; }
.public-product-thumb { cursor: pointer; background: #f8fafc !important; padding: 0 !important; }
.public-product-thumb img { object-fit: cover !important; object-position: center !important; transform: scale(1.04); }
.product-gallery-arrow, .product-gallery-zoom { position: absolute; z-index: 5; border: 0; background: rgba(15,23,42,.76); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(15,23,42,.22); cursor: pointer; backdrop-filter: blur(8px); }
.product-gallery-arrow { top: 50%; width: 42px; height: 42px; border-radius: 999px; font-size: 1.65rem; transform: translateY(-50%); }
.product-gallery-arrow--prev { left: .8rem; }
.product-gallery-arrow--next { right: .8rem; }
.product-gallery-zoom { right: .85rem; top: .85rem; width: 38px; height: 38px; border-radius: 14px; font-size: 1.1rem; }
.product-gallery-arrow:hover, .product-gallery-zoom:hover { background: rgba(249,115,22,.92); }
.qs-product-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(2,6,23,.88); padding: 1.25rem; }
.qs-product-lightbox[hidden] { display: none !important; }
.qs-product-lightbox__image { max-width: min(96vw, 1120px); max-height: 84vh; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.4); }
.qs-product-lightbox__close, .qs-product-lightbox__prev, .qs-product-lightbox__next { position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); cursor: pointer; }
.qs-product-lightbox__close { top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 14px; font-size: 1.5rem; }
.qs-product-lightbox__prev, .qs-product-lightbox__next { top: 50%; width: 48px; height: 48px; border-radius: 999px; font-size: 2rem; transform: translateY(-50%); }
.qs-product-lightbox__prev { left: 1rem; }
.qs-product-lightbox__next { right: 1rem; }
.qs-product-lightbox__close:hover, .qs-product-lightbox__prev:hover, .qs-product-lightbox__next:hover { background: #f97316; }
.qs-product-detail-shell { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .58fr); gap: 1.25rem; align-items: start; }
.qs-dashboard-product-gallery, .qs-dashboard-product-summary { border-radius: 22px !important; border: 1px solid rgba(15,23,42,.09) !important; background: #fff !important; box-shadow: 0 16px 40px rgba(15,23,42,.07) !important; }
.qs-dashboard-product-gallery { padding: .85rem !important; }
.qs-dashboard-product-summary { padding: 1.15rem !important; }
@media (max-width: 760px) { .product-grid, .public-product-grid, .qs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; } .product-image { aspect-ratio: 1 / .82 !important; } .product-body { min-height: 174px !important; padding: .78rem !important; } .product-meta { gap: .35rem !important; } .product-meta span, .product-meta strong { font-size: .58rem !important; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .product-card h3, .product-body h3 { font-size: .86rem !important; line-height: 1.25 !important; } .product-body > p { font-size: .76rem !important; line-height: 1.45 !important; -webkit-line-clamp: 2; } .product-footer p { font-size: .86rem !important; } .product-footer span { font-size: .68rem !important; } .public-product-layout, .qs-product-detail-shell { grid-template-columns: 1fr !important; } .public-product-image-main { aspect-ratio: 1 / .82 !important; } .product-gallery-arrow { width: 36px; height: 36px; font-size: 1.35rem; } .product-gallery-arrow--prev { left: .55rem; } .product-gallery-arrow--next { right: .55rem; } .product-gallery-zoom { width: 34px; height: 34px; top: .55rem; right: .55rem; } .qs-breadcrumbs { font-size: .72rem; } }
@media (max-width: 520px) { .product-grid, .public-product-grid, .qs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem !important; } .public-product-gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .5rem !important; } .qs-product-lightbox__prev { left: .5rem; } .qs-product-lightbox__next { right: .5rem; } }

/* v1.5.1 dashboard catalog direct image sizing */
.qs-product-grid article > img {
  width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
@media (max-width: 760px) {
  .qs-product-grid article > img { height: 132px !important; }
}

/* QuickSalone v1.5.3 dashboard cart chip */
.dashboard-cart-chip {
  text-decoration: none;
  border-color: rgba(249,115,22,.28) !important;
}
.dashboard-cart-chip:hover {
  background: rgba(249,115,22,.08) !important;
}
.dashboard-cart-chip [data-cart-count] {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-right: .25rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}

/* === QuickSalone v1.6 admin/campaign/live-location UI polish === */
.qs-panel {
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    border-radius: 24px;
    padding: clamp(1rem, 2vw, 1.4rem);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}
.qs-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.qs-panel h1, .qs-panel h2 { margin: .25rem 0; color: #0f172a; }
.qs-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qs-form-grid label { display: grid; gap: .45rem; font-size: .86rem; font-weight: 800; color: #334155; }
.qs-form-grid input, .qs-form-grid select, .qs-form-grid textarea {
    width: 100%;
    border: 1px solid rgba(15,23,42,.14);
    border-radius: 16px;
    padding: .78rem .9rem;
    font-weight: 600;
    outline: none;
}
.qs-form-grid textarea { line-height: 1.55; }
.qs-segment-grid, .qs-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .85rem;
}
.qs-mini-stat, .qs-template-card {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 1rem;
    background: #f8fafc;
}
.qs-mini-stat span { display:block; color:#64748b; font-size:.78rem; font-weight:800; }
.qs-mini-stat strong { display:block; margin-top:.25rem; font-size:1.6rem; color:#0f172a; }
.qs-template-card span { color:#f97316; font-size:.75rem; font-weight:900; text-transform:uppercase; }
.qs-template-card h3 { margin:.3rem 0; font-size:1rem; }
.qs-template-card p { color:#64748b; font-size:.88rem; }
.qs-template-card details { margin-top:.8rem; }
.alert { border-radius: 16px; padding: .85rem 1rem; margin: .8rem 0; font-weight: 700; }
.alert-success { border:1px solid #bbf7d0; background:#f0fdf4; color:#166534; }
.alert-error { border:1px solid #fecaca; background:#fef2f2; color:#991b1b; }
.qs-live-tracking-box {
    border: 1px solid rgba(249, 115, 22, .22);
    background: #fff7ed;
    border-radius: 20px;
    padding: 1rem;
}
.qs-quantity-control {
    display: inline-grid;
    grid-template-columns: 40px minmax(64px, 90px) 40px;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(15, 23, 42, .15);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.qs-quantity-control button { width:40px; height:44px; border:0; background:#f8fafc; font-weight:900; font-size:18px; cursor:pointer; }
.qs-quantity-control input { width:100%; height:44px; border:0 !important; text-align:center; font-weight:800; outline:none; padding:0 !important; }
@media (max-width: 760px) {
    .qs-form-grid { grid-template-columns: 1fr; }
    .qs-panel { border-radius: 20px; padding: 1rem; }
    .qs-segment-grid, .qs-template-grid { grid-template-columns: 1fr; }
}

/* =========================
   v1.7 Backend UI refinement
   Compact tables, forms, cards
   ========================= */
.dashboard-content {
  --qs-admin-radius: 18px;
  --qs-admin-line: rgba(15, 23, 42, .08);
}

.dashboard-content .rounded-\[28px\],
.dashboard-content .rounded-3xl,
.dashboard-content article,
.dashboard-content section.bg-white,
.dashboard-content .bg-white {
  border-radius: var(--qs-admin-radius) !important;
}

.dashboard-content .shadow-sm,
.dashboard-content .shadow,
.dashboard-content .shadow-lg {
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055) !important;
}

.dashboard-content h1 {
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.15 !important;
}

.dashboard-content h2 {
  font-size: clamp(1.12rem, 1.6vw, 1.45rem) !important;
}

.dashboard-content h3 {
  font-size: 1rem !important;
}

.dashboard-content p,
.dashboard-content li,
.dashboard-content label,
.dashboard-content input,
.dashboard-content select,
.dashboard-content textarea,
.dashboard-content button,
.dashboard-content a {
  font-size: .88rem;
}

.dashboard-content .text-3xl,
.dashboard-content .text-4xl,
.dashboard-content .text-5xl {
  letter-spacing: -.03em;
}

.dashboard-content > * + * {
  margin-top: 1rem;
}

.dashboard-content form,
.dashboard-content .cms-form-card,
.dashboard-content .affiliate-form-card,
.dashboard-content .dashboard-feedback-form {
  gap: .75rem !important;
}

.dashboard-content label {
  color: #334155;
  font-weight: 750;
}

.dashboard-content input:not([type="checkbox"]):not([type="radio"]),
.dashboard-content select,
.dashboard-content textarea,
.cms-form-card input:not([type="checkbox"]),
.cms-form-card textarea,
.cms-form-card select,
.affiliate-form-card input,
.affiliate-form-card select,
.affiliate-payout-form input,
.affiliate-payout-form select,
.dashboard-feedback-form select,
.dashboard-feedback-form textarea {
  min-height: 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  background: #fff !important;
  padding: .58rem .72rem !important;
  font-size: .84rem !important;
  box-shadow: none !important;
}

.dashboard-content textarea {
  min-height: 104px !important;
}

.dashboard-content input:focus,
.dashboard-content select:focus,
.dashboard-content textarea:focus {
  outline: none !important;
  border-color: rgba(29,47,111,.48) !important;
  box-shadow: 0 0 0 3px rgba(29,47,111,.1) !important;
}

.dashboard-content table,
.data-table,
.affiliate-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: .8rem !important;
  background: #fff;
}

.dashboard-content th,
.data-table th,
.affiliate-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: .66rem !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: .58rem .65rem !important;
  border-bottom: 1px solid var(--qs-admin-line) !important;
  white-space: nowrap;
}

.dashboard-content td,
.data-table td,
.affiliate-table td {
  padding: .62rem .65rem !important;
  border-bottom: 1px solid rgba(15, 23, 42, .055) !important;
  vertical-align: middle !important;
  color: #334155;
  line-height: 1.45;
}

.dashboard-content tbody tr:hover,
.data-table tbody tr:hover,
.affiliate-table tbody tr:hover {
  background: #fafafa;
}

.dashboard-content td p,
.dashboard-content td small,
.dashboard-content td span {
  line-height: 1.35;
}

.table-responsive,
.table-wrap,
.affiliate-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .075);
  background: #fff;
}

.table-actions,
.inline-form,
.affiliate-inline-form {
  gap: .35rem !important;
}

.dashboard-content .button,
.dashboard-content button,
.dashboard-content .btn,
.dashboard-content .inline-flex {
  max-width: 100%;
}

.dashboard-content .status-pill,
.dashboard-content .badge,
.dashboard-content .rounded-full {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .dashboard-content form.grid,
  .dashboard-content .cms-form-card form,
  .dashboard-content .affiliate-form-card form {
    row-gap: .85rem !important;
  }
}

@media (max-width: 760px) {
  .dashboard-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .dashboard-content td,
  .data-table td,
  .affiliate-table td {
    padding: .55rem .58rem !important;
  }
  .dashboard-content th,
  .data-table th,
  .affiliate-table th {
    padding: .5rem .58rem !important;
  }
}

/* Fleet tracking v1.8.3 */
.qs-page-hero,
.qs-card {
    border: 1px solid rgba(214, 204, 190, 0.9);
    background: #fff;
    border-radius: 24px;
    padding: 1.1rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}
.qs-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.qs-page-hero h2,
.qs-section-head h3 { margin: .2rem 0 .4rem; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.15; color: #0f172a; font-weight: 800; }
.qs-page-hero p,
.qs-section-head p,
.qs-muted { color: #64748b; font-size: .88rem; line-height: 1.65; }
.qs-eyebrow { color: #f97316; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 900; }
.qs-actions-row { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; }
.qs-actions-row.compact { gap:.35rem; }
.qs-alert { border-radius: 18px; padding: .8rem 1rem; font-size: .87rem; font-weight: 700; }
.qs-alert-success { background:#ecfdf5; color:#047857; border:1px solid #bbf7d0; }
.qs-alert-error { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.qs-section-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1rem; }
.qs-count-pill { background:#f8fafc; color:#334155; border:1px solid #e2e8f0; border-radius:999px; padding:.45rem .75rem; font-size:.76rem; font-weight:800; white-space:nowrap; }
.qs-fleet-map-shell { display:grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap:1rem; }
.qs-fleet-map-board { min-height: 360px; position: relative; overflow:hidden; border-radius: 22px; background: radial-gradient(circle at 20% 20%, rgba(249,115,22,.18), transparent 30%), linear-gradient(135deg,#0f172a,#1e293b); border:1px solid rgba(15,23,42,.08); }
.qs-fleet-map-grid { position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 38px 38px; opacity:.9; }
.qs-fleet-marker { position:absolute; transform:translate(-50%, -50%); width: 42px; height: 42px; display:grid; place-items:center; border-radius:999px; z-index:2; }
.qs-fleet-marker span { width: 18px; height: 18px; border-radius:999px; display:block; border:3px solid #fff; box-shadow:0 10px 25px rgba(0,0,0,.25); }
.qs-fleet-marker.is-live { background: rgba(16,185,129,.16); }
.qs-fleet-marker.is-live span { background:#10b981; }
.qs-fleet-marker.is-stale { background: rgba(239,68,68,.16); }
.qs-fleet-marker.is-stale span { background:#ef4444; }
.qs-fleet-location-list { display:grid; gap:.65rem; max-height:360px; overflow:auto; padding-right:.15rem; }
.qs-fleet-location-card { border:1px solid #e2e8f0; border-radius:18px; padding:.85rem; background:#fff; }
.qs-fleet-location-card > div:first-child { display:flex; justify-content:space-between; gap:.75rem; }
.qs-fleet-location-card strong { color:#0f172a; font-size:.9rem; }
.qs-fleet-location-card p { margin:.2rem 0 0; }
.qs-fleet-location-card a,
.qs-inline-link { color:#f97316; font-size:.78rem; font-weight:800; text-decoration:none; }
.qs-status-dot { display:inline-flex; width:.58rem; height:.58rem; border-radius:999px; margin-right:.35rem; }
.qs-status-dot.is-live { background:#10b981; }
.qs-status-dot.is-stale { background:#ef4444; }
.qs-fleet-coordinates { color:#0f172a; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size:.78rem; word-break:break-word; }
.qs-muted-small { color:#64748b; font-size:.75rem; line-height:1.5; }
.qs-warning-text { color:#dc2626; font-size:.75rem; font-weight:800; margin-top:.25rem; }
.qs-empty-state { display:grid; place-items:center; min-height:190px; border:1px dashed #d6ccbe; border-radius:20px; color:#64748b; text-align:center; padding:1.2rem; }
.qs-empty-state p { color:#0f172a; font-weight:800; margin:0 0 .25rem; }
.qs-data-table { border-collapse:separate; border-spacing:0; font-size:.84rem; }
.qs-data-table thead th { background:#f8fafc; color:#64748b; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; padding:.75rem .9rem; white-space:nowrap; }
.qs-data-table tbody td { padding:.85rem .9rem; border-top:1px solid #f1f5f9; vertical-align:top; }
.qs-table-title { color:#0f172a; font-weight:800; margin:0; }
.qs-status-pill { display:inline-flex; align-items:center; border-radius:999px; padding:.35rem .65rem; font-size:.72rem; font-weight:900; }
.qs-status-pill.is-success { background:#dcfce7; color:#15803d; }
.qs-status-pill.is-warning { background:#fef3c7; color:#b45309; }
.qs-sync-message { color:#64748b; font-size:.74rem; line-height:1.5; max-width:22rem; margin-top:.45rem; max-height:3.2rem; overflow:hidden; }
.qs-small-btn { display:inline-flex; align-items:center; justify-content:center; border:1px solid #e2e8f0; border-radius:12px; padding:.48rem .65rem; color:#334155; background:#fff; font-size:.74rem; font-weight:850; text-decoration:none; cursor:pointer; }
.qs-small-btn.dark { background:#0f172a; color:#fff; border-color:#0f172a; }
.qs-small-btn.danger { color:#dc2626; border-color:#fecaca; }
.qs-mini-details { margin-top:.65rem; border:1px solid #e2e8f0; border-radius:16px; padding:.55rem; }
.qs-mini-details summary { cursor:pointer; font-size:.75rem; font-weight:800; color:#334155; }
.qs-mini-form { display:grid; gap:.45rem; margin-top:.6rem; }
.qs-mini-form input { border:1px solid #e2e8f0; border-radius:12px; padding:.55rem .7rem; font-size:.78rem; }
.qs-mini-form button { border:0; border-radius:12px; background:#f97316; color:#fff; padding:.6rem .7rem; font-size:.76rem; font-weight:900; }
.qs-section-title { color:#0f172a; font-weight:900; font-size:.95rem; }
.qs-code-block { display:block; margin-top:.8rem; background:#0f172a; color:#fff; border-radius:18px; padding:.85rem; overflow-x:auto; font-size:.78rem; }

@media (max-width: 900px) {
    .qs-page-hero, .qs-section-head { flex-direction:column; align-items:stretch; }
    .qs-fleet-map-shell { grid-template-columns:1fr; }
    .qs-fleet-map-board { min-height:260px; }
    .qs-card, .qs-page-hero { border-radius:20px; padding:.9rem; }
}

/* v1.8.4 fleet/customer responsive maps */
.qs-responsive-map,
.qs-mini-map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 22px;
  background: #f8fafc;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.qs-responsive-map { min-height: 320px; margin-bottom: 1rem; }
.qs-mini-map-embed { min-height: 160px; margin: .7rem 0; }
.qs-responsive-map iframe,
.qs-mini-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.qs-live-map-card { display: grid; gap: 1rem; }
.qs-live-location-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}
.qs-live-location-summary p { margin: .25rem 0 0; color: #475569; font-size: .9rem; }
.qs-live-location-summary a,
.qs-track-map-button { white-space: nowrap; }
.qs-live-source {
  display: inline-flex;
  margin-left: .35rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: .68rem;
  font-weight: 900;
}
.qs-live-location-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.qs-live-location-meta span {
  display: grid;
  gap: .2rem;
  padding: .8rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  color: #475569;
  font-size: .82rem;
}
.qs-live-location-meta strong { color: #0f172a; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.qs-cron-helper { display: grid; gap: .75rem; }
@media (max-width: 640px) {
  .qs-responsive-map { min-height: 260px; border-radius: 18px; }
  .qs-live-location-summary { flex-direction: column; }
  .qs-live-location-meta { grid-template-columns: 1fr; }
}

/* =========================
   v1.9.1 Dashboard product detail live pricing polish
   ========================= */
.qs-product-page-modern {
  background:
    radial-gradient(circle at 12% 6%, rgba(249, 115, 22, .10), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(16, 185, 129, .08), transparent 24rem);
}
.qs-product-gallery-modern { position: relative; background: linear-gradient(135deg, #fff, #fff7ed) !important; }
.qs-sale-ribbon,
.product-sale-pill { position:absolute; z-index:4; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; background:linear-gradient(135deg,#ef4444,#f97316); color:#fff; font-weight:900; box-shadow:0 12px 30px rgba(239,68,68,.22); }
.qs-sale-ribbon { top:1rem; left:1rem; padding:.45rem .8rem; font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; }
.product-sale-pill { top:.65rem; left:.65rem; padding:.3rem .55rem; font-size:.68rem; }
.qs-product-purchase-card { border:1px solid rgba(15,23,42,.08) !important; background:linear-gradient(180deg,#fff,#fffaf5) !important; box-shadow:0 24px 70px rgba(15,23,42,.10) !important; }
.qs-product-kicker-row { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin-bottom:.45rem; }
.qs-price-row-modern { flex-wrap:wrap; padding:.9rem 1rem; border:1px solid rgba(249,115,22,.14); border-radius:20px; background:linear-gradient(135deg,rgba(249,115,22,.10),rgba(255,255,255,.92)); }
.qs-price-row-modern strong { color:#ea580c !important; }
.qs-old-price,.qs-card-old-price { color:#94a3b8 !important; text-decoration:line-through; text-decoration-thickness:2px; font-weight:800; }
.qs-card-old-price { display:inline-block; margin-left:.25rem; font-size:.72rem; }
.qs-save-badge { display:inline-flex; align-items:center; border-radius:999px; padding:.32rem .6rem; background:#dcfce7; color:#166534; font-size:.72rem; font-style:normal; font-weight:900; }
.qs-product-purchase-form { display:grid !important; gap:.85rem !important; }
.qs-purchase-row { display:grid; grid-template-columns:minmax(160px, auto) minmax(150px, 1fr); gap:.75rem; align-items:end; }
.qs-live-total-card { display:grid; gap:.28rem; min-height:68px; padding:.78rem .9rem; border-radius:18px; border:1px solid rgba(15,23,42,.08); background:#0f172a; color:#fff; }
.qs-live-total-card span { color:rgba(255,255,255,.66); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.qs-live-total-card strong { font-size:1.25rem; line-height:1; }
.qs-product-action-grid { display:grid; grid-template-columns:1fr 1fr; gap:.65rem; }
.qs-product-action-grid .button,.public-product-buy-form .button { width:100%; text-align:center; justify-content:center; }
.public-product-gallery-strip { grid-auto-flow:column; grid-auto-columns:minmax(72px,92px); grid-template-columns:none !important; overflow-x:auto; padding-bottom:.25rem; }
.public-product-thumb { background:#fff !important; cursor:pointer; }
.public-product-thumb:hover { transform:translateY(-1px); border-color:rgba(249,115,22,.5) !important; }
@media (max-width:760px){ .qs-purchase-row{grid-template-columns:1fr;} .qs-product-action-grid{grid-template-columns:1fr;} .qs-live-total-card{min-height:62px;} .qs-price-row-modern{padding:.78rem;} .qs-product-kicker-row{align-items:flex-start; flex-direction:column; gap:.45rem;} }
