:root {
  color-scheme: light;
  font-family: "Manrope", "IBM Plex Sans", "Segoe UI", sans-serif;
  --bg: #f4f7fb;
  --bg-accent: #e9eff8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #f7f9fc;
  --line: rgba(100, 120, 150, 0.18);
  --line-strong: rgba(100, 120, 150, 0.28);
  --text: #1f2a37;
  --muted: #5f6f82;
  --heading: #18212d;
  --primary: #c56b2f;
  --primary-strong: #a84f1f;
  --primary-soft: rgba(197, 107, 47, 0.12);
  --blue-soft: rgba(37, 99, 235, 0.08);
  --success-soft: rgba(22, 163, 74, 0.12);
  --danger-soft: rgba(220, 38, 38, 0.12);
  --shadow: 0 18px 40px rgba(21, 41, 68, 0.08);
}

.ai-assistant-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(320px, 1.25fr);
  gap: 24px;
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(23, 107, 135, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(234, 243, 245, 0.96), rgba(247, 242, 232, 0.92));
  box-shadow: 0 18px 50px rgba(19, 36, 58, 0.08);
}

.ai-assistant-copy h2 { margin: 4px 0 8px; }
.ai-assistant-copy p:last-child { color: var(--muted); }
.ai-assistant-form { display: grid; gap: 10px; }
.ai-assistant-result {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border-left: 5px solid var(--accent, #e07a36);
}
.ai-assistant-result.is-error { border-left-color: #b42318; }
.ai-conversation-log { grid-column: 1 / -1; display: grid; gap: 10px; }
.ai-conversation-message { max-width: 82%; padding: 11px 14px; border-radius: 16px; line-height: 1.45; }
.ai-conversation-message.is-user { justify-self: end; background: #13243a; color: #fff; border-bottom-right-radius: 4px; }
.ai-conversation-message.is-assistant { justify-self: start; background: rgba(255,255,255,.9); color: #243142; border-bottom-left-radius: 4px; }
.ai-assistant-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ai-assistant-facts span { padding: 7px 10px; border-radius: 999px; background: #eaf3f5; font-size: .86rem; font-weight: 700; }
.comparison-option-grid, .ai-comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.comparison-option-card, .ai-comparison-card { padding: 16px; border: 1px solid rgba(23,107,135,.16); border-radius: 16px; background: rgba(255,255,255,.82); }
.comparison-option-card.is-recommended, .ai-comparison-card.is-recommended { border-color: #e07a36; box-shadow: inset 0 0 0 1px rgba(224,122,54,.18); }
.comparison-option-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.comparison-option-badges span { padding: 4px 8px; border-radius: 999px; background: #eaf3f5; color: #176b87; font-size: .72rem; font-weight: 800; }
.comparison-saving { color: #087443; font-weight: 800; }

@media (max-width: 760px) {
  .ai-assistant-card { grid-template-columns: 1fr; padding: 18px; }
}

* {
  box-sizing: border-box;
}

html {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 107, 47, 0.14), transparent 25%),
    radial-gradient(circle at top right, rgba(54, 94, 168, 0.12), transparent 22%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

.dashboard-body {
  position: relative;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 20%),
    transparent;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--heading);
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.app-shell,
.nav-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.78);
  border-bottom: 1px solid rgba(104, 122, 150, 0.14);
}

.site-header-kiosk {
  background: rgba(244, 247, 251, 0.52);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--heading);
}

.brand-link strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-link small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark,
.brand-logo-wrap {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fff7f2;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(197, 107, 47, 0.24);
}

.brand-logo-wrap {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(197, 107, 47, 0.18);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(104, 122, 150, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--heading);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-toggle span:not(.nav-toggle-label) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-inline-form {
  margin: 0;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid transparent;
  transition: 180ms ease;
}

.nav-logout-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.site-nav a:hover {
  color: var(--heading);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.nav-logout-button:hover {
  color: var(--heading);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--heading);
  background: rgba(197, 107, 47, 0.14);
  border-color: rgba(197, 107, 47, 0.18);
  box-shadow: inset 0 0 0 1px rgba(197, 107, 47, 0.05);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 3px;
}

.site-nav a:focus-visible,
.nav-logout-button:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible,
.nav-toggle:focus-visible {
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.app-shell {
  padding: 30px 0 72px;
}

.page-intro-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.kiosk-indicator {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(24, 33, 45, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.page-intro-title {
  margin: 2px 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--heading);
}

.page-intro-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-intro-meta span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(24, 33, 45, 0.05);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.meta-chip {
  position: relative;
  padding-left: 30px;
}

.meta-chip::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--primary);
}

.meta-chip-analytics::before {
  background: #2563eb;
}

.meta-chip-history::before {
  background: #16a34a;
}

.hero {
  padding: 8px 0 20px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: 30px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 249, 252, 0.94) 100%);
  border: 1px solid rgba(100, 120, 150, 0.14);
  box-shadow: var(--shadow);
}

.home-hero-public {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 244, 239, 0.94) 54%, rgba(239, 246, 255, 0.92) 100%);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home-company-logo {
  display: block;
  width: clamp(128px, 12vw, 164px);
  margin: 0 0 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(90, 55, 35, 0.12);
  overflow: hidden;
}

.home-company-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--heading);
  font-size: clamp(2.35rem, 4.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.home-hero-panel {
  min-width: 0;
  display: grid;
  align-content: stretch;
}

.home-role-card,
.home-feature-product,
.home-flow-list > div {
  border-radius: 8px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.home-role-card {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 18px;
}

.home-role-card span:not(.home-status-dot) {
  color: var(--muted);
  font-weight: 800;
}

.home-role-card strong {
  grid-column: 2;
  color: var(--heading);
  font-size: 1.6rem;
}

.home-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
}

.home-flow-list {
  display: grid;
  gap: 10px;
}

.home-flow-list > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 14px;
}

.home-flow-list span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-weight: 800;
}

.home-flow-list strong {
  color: var(--heading);
}

.home-flow-list small,
.home-feature-copy small {
  color: var(--muted);
}

.home-feature-product {
  display: grid;
  grid-template-rows: 250px auto;
  min-height: 0;
  max-width: 520px;
  width: 100%;
  justify-self: end;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(40, 47, 58, 0.1);
}

.home-feature-media {
  min-height: 0;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(244, 239, 233, 0.86));
}

.home-feature-media img {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
}

.home-feature-media span {
  color: var(--primary-strong);
  font-size: 3rem;
  font-weight: 800;
}

.home-feature-copy {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 22px 22px;
}

.home-feature-copy h2 {
  margin: 0;
  color: var(--heading);
  font-size: 1.35rem;
}

.home-feature-copy p {
  margin: 0;
  color: var(--muted);
}

.home-feature-copy strong {
  color: var(--primary-strong);
  font-size: 1.45rem;
}

.home-feature-copy .button-secondary {
  margin-top: 8px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 14px;
}

.home-section-head-products {
  margin-top: 0;
}

.home-section-head h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.home-stats-grid {
  margin-top: 0;
}

.stat-card-accent {
  background:
    linear-gradient(180deg, rgba(197, 107, 47, 0.08), rgba(255, 255, 255, 0.92));
}

.home-action-grid .action-card,
.home-products-grid .action-card {
  border-radius: 8px;
}

.home-action-grid .action-card:hover,
.home-products-grid .action-card:hover,
.home-feature-copy .button-secondary:hover,
.floating-budget-cta:hover {
  transform: translateY(-2px);
}

.home-products-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.showroom-strip {
  position: relative;
  overflow: hidden;
  margin: 0 0 24px;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.96) 0%, rgba(255, 255, 255, 0.7) 48%, rgba(244, 247, 251, 0.96) 100%);
  border: 1px solid rgba(109, 128, 156, 0.12);
  box-shadow: var(--shadow);
}

.showroom-strip::before,
.showroom-strip::after { display: none; }

.showroom-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 241, 234, 0.92) 100%);
}

.showroom-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(28, 38, 56, 0.96) 0%, rgba(67, 33, 19, 0.9) 100%);
  color: #f8fbff;
  box-shadow: var(--shadow);
}

.showroom-campaign-banner,
.showroom-campaign-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr) minmax(180px, 0.6fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: 24px;
  color: #f8fbff;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--campaign-accent, #f59e0b) 38%, rgba(255, 255, 255, 0.14));
}

.showroom-campaign-banner-sunset,
.showroom-campaign-preview-sunset {
  background: linear-gradient(135deg, #8b3d1f 0%, #d97706 100%);
}

.showroom-campaign-banner-ocean,
.showroom-campaign-preview-ocean {
  background: linear-gradient(135deg, #0f3d56 0%, #2563eb 100%);
}

.showroom-campaign-banner-forest,
.showroom-campaign-preview-forest {
  background: linear-gradient(135deg, #25543c 0%, #16a34a 100%);
}

.showroom-campaign-banner-night,
.showroom-campaign-preview-night {
  background: linear-gradient(135deg, #111827 0%, #312e81 100%);
}

.showroom-campaign-copy h2,
.showroom-campaign-preview-copy h3 {
  margin: 8px 0 10px;
  color: #ffffff;
}

.showroom-campaign-copy .card-kicker,
.showroom-campaign-preview-copy .card-kicker {
  color: color-mix(in srgb, var(--campaign-accent, #f59e0b) 72%, white);
}

.showroom-campaign-copy p,
.showroom-campaign-preview-copy p {
  margin: 0;
  color: rgba(248, 251, 255, 0.84);
  line-height: 1.6;
}

.showroom-campaign-image,
.showroom-campaign-image-placeholder {
  width: 100%;
  min-height: 170px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.showroom-campaign-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--campaign-accent, #f59e0b) 36%, rgba(255, 255, 255, 0.12)) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  color: rgba(248, 251, 255, 0.88);
  font-weight: 700;
  text-align: center;
  padding: 16px;
}

.showroom-campaign-meta,
.showroom-campaign-preview-meta {
  display: grid;
  gap: 10px;
  justify-items: flex-start;
}

.showroom-campaign-meta strong,
.showroom-campaign-preview-meta strong {
  color: rgba(248, 251, 255, 0.88);
  line-height: 1.5;
}

.showroom-campaign-meta .button-secondary,
.showroom-campaign-preview-meta .button-secondary {
  border-color: color-mix(in srgb, var(--campaign-accent, #f59e0b) 52%, rgba(255, 255, 255, 0.24));
}

.showroom-promo-copy h2 {
  margin: 8px 0 12px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.showroom-promo-copy p {
  margin: 0 0 18px;
  color: rgba(248, 251, 255, 0.82);
  line-height: 1.65;
}

.showroom-promo-image,
.showroom-banner-preview {
  width: min(100%, 220px);
  height: 140px;
  justify-self: center;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.showroom-live-preview {
  margin-bottom: 24px;
  padding: 24px;
}

.showroom-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.showroom-selection-grid-products {
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.showroom-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.showroom-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 107, 47, 0.22);
  box-shadow: 0 14px 28px rgba(21, 41, 68, 0.08);
}

.showroom-choice-card.is-active {
  border-color: rgba(197, 107, 47, 0.36);
  box-shadow: inset 0 0 0 1px rgba(197, 107, 47, 0.12), 0 16px 30px rgba(197, 107, 47, 0.12);
  background: rgba(255, 248, 242, 0.92);
}

.showroom-choice-card.is-selected-secondary {
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.showroom-choice-image,
.showroom-choice-placeholder {
  width: 100%;
  height: 118px;
  margin-bottom: 12px;
  border-radius: 16px;
}

.showroom-choice-image {
  object-fit: cover;
}

.showroom-choice-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 107, 47, 0.18) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: var(--primary-strong);
  font-size: 1.4rem;
  font-weight: 800;
}

.showroom-choice-card strong {
  margin-bottom: 4px;
  color: var(--heading);
}

.showroom-choice-card small {
  color: var(--muted);
  line-height: 1.45;
}

.showroom-featured-builder {
  margin-top: 8px;
}

.showroom-featured-toolbar {
  margin-bottom: 12px;
}

.showroom-featured-toolbar strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
}

.showroom-featured-toolbar small {
  color: var(--muted);
}

.showroom-featured-selected-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.showroom-featured-selected-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.showroom-featured-selected-card.is-dragging {
  opacity: 0.6;
  border-style: dashed;
}

.showroom-featured-selected-card.drag-over {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.showroom-featured-selected-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
}

.showroom-featured-selected-copy small {
  color: var(--muted);
}

.showroom-featured-inline-fields {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.form-control-compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.showroom-featured-selected-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.button-secondary-compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.drag-handle {
  cursor: grab;
}

.drag-handle:active {
  cursor: grabbing;
}

.showroom-preview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 239, 233, 0.92) 100%);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.showroom-preview-copy h2 {
  margin: 8px 0 12px;
  color: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.showroom-preview-meta {
  margin-top: 16px;
  color: rgba(248, 251, 255, 0.8);
  line-height: 1.6;
}

.showroom-promo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 251, 255, 0.82);
  background: linear-gradient(135deg, rgba(197, 107, 47, 0.26) 0%, rgba(37, 99, 235, 0.18) 100%);
}

.is-hidden {
  display: none !important;
}

.showroom-stage {
  position: relative;
  min-height: 420px;
  margin-bottom: 24px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 241, 234, 0.92) 100%);
}

.showroom-stage-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.showroom-stage-card.is-active {
  opacity: 1;
  visibility: visible;
}

.showroom-stage-image,
.showroom-stage-placeholder {
  position: absolute;
  top: 50%;
  right: 34px;
  width: min(34%, 320px);
  height: min(58%, 240px);
  transform: translateY(-50%);
}

.showroom-stage-image {
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.showroom-stage-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 107, 47, 0.22) 0%, rgba(37, 99, 235, 0.16) 100%);
  color: var(--primary-strong);
  font-size: 3rem;
  font-weight: 800;
}

.showroom-stage-copy {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: min(430px, 52%);
  padding: 22px;
  border-radius: 24px;
  background: rgba(19, 27, 40, 0.82);
  color: #f8fbff;
}

.showroom-stage-copy h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.showroom-stage-copy p {
  margin: 0 0 16px;
  color: rgba(248, 251, 255, 0.82);
  line-height: 1.6;
}

.showroom-stage-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.showroom-dot {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.showroom-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transition: transform 180ms ease, background-color 180ms ease;
}

.showroom-dot.is-active {
  background: rgba(255, 255, 255, 0.18);
}

.showroom-dot.is-active::before {
  background: #ffffff;
  transform: scale(1.18);
}

.showroom-strip-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: 100%;
  gap: 12px;
  padding: 0;
  animation: none;
}

.showroom-strip:hover .showroom-strip-track,
.showroom-strip:focus-within .showroom-strip-track {
  animation-play-state: paused;
}

.showroom-mini-card {
  width: auto;
  min-width: 0;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(109, 128, 156, 0.14);
  box-shadow: 0 12px 22px rgba(21, 41, 68, 0.07);
}

.showroom-mini-media {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(244, 239, 233, 0.74));
  overflow: hidden;
}

.showroom-mini-media img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.showroom-mini-media span {
  color: var(--primary-strong);
  font-size: 2rem;
  font-weight: 800;
}

.showroom-mini-copy {
  min-width: 0;
  padding: 0 1px;
}

.showroom-mini-copy span,
.showroom-mini-copy small {
  display: block;
  color: var(--muted);
}

.showroom-mini-copy span {
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showroom-mini-copy > strong:not(.showroom-mini-price) {
  display: block;
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 0.98rem;
  line-height: 1.16;
}

.showroom-mini-card .showroom-mini-price {
  display: block;
  margin: 0 0 4px;
  color: var(--primary-strong);
  font-size: 1.08rem;
  line-height: 1;
}

.showroom-mini-copy small {
  font-size: 0.8rem;
  line-height: 1.35;
}

.showroom-mini-copy .showroom-mini-description {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #475569;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.showroom-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.showroom-category-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(109, 128, 156, 0.12);
  box-shadow: var(--shadow);
}

.showroom-category-image,
.showroom-category-placeholder {
  width: calc(100% - 32px);
  height: 140px;
  margin: 16px 16px 0;
  border-radius: 18px;
}

.showroom-category-image {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(109, 128, 156, 0.1);
}

.showroom-category-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 107, 47, 0.18) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: var(--primary-strong);
  font-size: 2rem;
  font-weight: 800;
}

.showroom-category-copy {
  padding: 20px;
}

.showroom-category-copy h2 {
  margin: 0 0 8px;
  color: var(--heading);
}

.showroom-category-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 22px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 248, 253, 0.92) 100%);
  border: 1px solid rgba(100, 120, 150, 0.14);
  box-shadow: var(--shadow);
}

.hero-copy h1,
.section-header h1 {
  margin: 0;
  color: var(--heading);
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-aside {
  display: grid;
  gap: 16px;
}

.hero-insight-card {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.96) 0%, rgba(25, 33, 48, 0.96) 100%);
  color: #eef4ff;
  box-shadow: 0 18px 30px rgba(18, 28, 45, 0.18);
}

.hero-insight-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-insight-card p {
  margin: 0;
  color: rgba(238, 244, 255, 0.78);
  line-height: 1.55;
}

.calculator-hero {
  margin-bottom: 24px;
}

.quotation-hero {
  margin-bottom: 24px;
}

.catalog-hero {
  margin-bottom: 24px;
}

.hero-insight-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--primary-strong);
  font-weight: 800;
}

.lead {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.stats-grid,
.quick-links,
.card-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 24px 0;
}

.compact-stats-grid {
  margin-top: 0;
  margin-bottom: 18px;
}

.quick-links {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 24px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.action-card,
.phase-card,
.table-card,
.form-card,
.result-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.form-card.is-engaged,
.result-card.is-engaged {
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 22px 46px rgba(21, 41, 68, 0.12);
}

.calculator-input-card,
.calculator-result-card {
  padding-top: 26px;
}

.calculator-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.calculator-card-header-full {
  flex-direction: column;
  align-items: stretch;
}

.calculator-card-header-full .calculator-badge {
  align-self: flex-start;
}

.calculator-card-header h2 {
  margin: 0;
  color: var(--heading);
}

.calculator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
  color: #334155;
  font-weight: 800;
  font-size: 0.8rem;
}

.calculator-badge-strong {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.success-badge {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.stat-card::before,
.action-card::before,
.phase-card::before,
.table-card::before,
.form-card::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(37, 99, 235, 0.85) 100%);
  opacity: 0.84;
}

.stat-card,
.action-card,
.phase-card {
  padding: 22px;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2rem;
  line-height: 1;
  color: var(--heading);
}

.stat-meta {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 116, 155, 0.24);
  box-shadow: 0 20px 34px rgba(20, 39, 66, 0.12);
}

.stat-card:hover,
.phase-card:hover,
.table-card:hover,
.form-card:hover,
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px rgba(21, 41, 68, 0.1);
  border-color: rgba(100, 120, 150, 0.26);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.action-card h2,
.phase-card h2 {
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 1.08rem;
}

.action-card p,
.phase-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.94rem;
  transition: 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fffaf5;
  box-shadow: 0 12px 24px rgba(197, 107, 47, 0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(197, 107, 47, 0.28);
}

.button-secondary {
  color: var(--heading);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.98);
}

.table-card,
.form-card,
.result-card {
  padding: 22px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(109, 128, 156, 0.12);
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-link {
  color: var(--primary-strong);
  font-weight: 800;
  position: relative;
}

.table-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 2px;
  background: currentColor;
  opacity: 0.18;
}

.table-subline {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.table-product-media {
  margin-bottom: 10px;
}

.table-product-thumb,
.form-media-preview-image {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.form-media-preview {
  margin-top: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.status-success {
  background: rgba(22, 163, 74, 0.16);
  color: #14532d;
}

.status-muted {
  background: rgba(100, 116, 139, 0.16);
  color: #334155;
}

.status-info {
  background: rgba(37, 99, 235, 0.16);
  color: #1e40af;
}

.status-danger {
  background: rgba(220, 38, 38, 0.16);
  color: #991b1b;
}

.app-form {
  display: grid;
  gap: 18px;
}

.catalog-form-card {
  padding-top: 26px;
}

.calculator-form-grid {
  gap: 16px;
}

.client-wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.client-wizard-step {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 180ms ease;
}

.client-wizard-step.is-active {
  color: var(--heading);
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.client-wizard-step.is-complete {
  color: #14532d;
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(22, 163, 74, 0.08);
  box-shadow: inset 0 0 0 2px rgba(22, 163, 74, 0.1);
}

.client-wizard-panel {
  display: none;
}

.client-wizard-panel.is-active {
  display: grid;
  gap: 16px;
}

.client-wizard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calculator-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.calculator-step-card {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(109, 128, 156, 0.1);
}

.calculator-step-card span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.8rem;
}

.calculator-step-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.calculator-step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.calculator-form-row {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(109, 128, 156, 0.1);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  align-items: end;
}

.status-form {
  display: grid;
  gap: 12px;
}

.inline-form-card {
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface-muted);
  box-shadow: none;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 800;
  color: var(--heading);
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

select.form-control,
input.form-control,
textarea.form-control,
button,
a {
  touch-action: manipulation;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  width: 18px;
  height: 18px;
}

.help-text {
  color: var(--muted);
  line-height: 1.5;
}

.error-text {
  color: #b42318;
  font-weight: 700;
  line-height: 1.5;
}

.import-error-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: #b42318;
  font-weight: 700;
}

.assistive-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.empty-state-panel {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-muted);
  border: 1px dashed rgba(109, 128, 156, 0.22);
  text-align: center;
}

.empty-state-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.messages-stack {
  margin-bottom: 20px;
}

.message-banner {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--success-soft);
  border: 1px solid rgba(22, 163, 74, 0.16);
  color: #166534;
  font-weight: 700;
}

.message-banner,
.result-highlight-card,
.quotation-item-edit-card,
.result-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.result-card h2,
.insight-card h3 {
  margin-top: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.result-highlight-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.result-highlight-title {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
  color: var(--heading);
}

.result-highlight-total {
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(109, 128, 156, 0.1);
}

.result-highlight-total strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  color: var(--primary-strong);
}

.result-grid div {
  padding: 15px;
  border-radius: 18px;
  background: var(--surface-muted);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.result-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-grid dd {
  margin: 0;
  font-weight: 800;
  color: var(--heading);
}

.insight-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(197, 107, 47, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1px solid rgba(197, 107, 47, 0.14);
}

.compact-insight-card {
  margin-top: 12px;
  padding: 14px 16px;
}

.product-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.product-picker-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.product-picker-toolbar .help-text {
  margin: 0;
}

.product-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-picker-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(109, 128, 156, 0.14);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-picker-card.is-selected {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.product-picker-card.is-filtered-out {
  display: none;
}

.product-picker-card:focus-visible,
.showroom-choice-card:focus-visible,
.client-wizard-step:focus-visible,
.showroom-dot:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.product-picker-image,
.product-picker-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

.product-picker-image {
  object-fit: cover;
  background: rgba(109, 128, 156, 0.08);
}

.product-picker-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 107, 47, 0.14) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: var(--primary-strong);
  font-size: 1.4rem;
  font-weight: 800;
}

.product-picker-copy strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.product-picker-copy p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.45;
}

.selected-items-panel {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(197, 107, 47, 0.08) 100%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 16px 30px rgba(21, 41, 68, 0.08);
}

.selected-items-header,
.selected-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.selected-items-header strong {
  display: block;
  color: var(--heading);
}

.selected-items-header small {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  font-weight: 800;
}

.selected-items-list {
  display: grid;
  gap: 10px;
}

.selected-item-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(109, 128, 156, 0.16);
}

.selected-item-copy {
  min-width: 0;
}

.selected-item-copy strong,
.selected-item-copy span,
.selected-item-copy small {
  display: block;
}

.selected-item-copy strong {
  color: var(--heading);
}

.selected-item-copy span,
.selected-item-copy small {
  margin-top: 4px;
  color: var(--muted);
}

.selected-item-remove {
  flex: 0 0 auto;
}

.product-ad-card {
  overflow: hidden;
}

.product-ad-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 14px;
}

.floating-budget-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #fffaf5;
  font-weight: 800;
  box-shadow: 0 20px 34px rgba(197, 107, 47, 0.28);
}

.kiosk-mode .page-backdrop {
  background:
    radial-gradient(circle at top left, rgba(197, 107, 47, 0.08), transparent 26%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.08), transparent 22%);
}

.kiosk-mode .page-intro-card {
  display: none;
}

.kiosk-mode.kiosk-fullscreen .site-header {
  display: none;
}

.kiosk-mode.kiosk-fullscreen .app-shell {
  width: min(1320px, calc(100% - 32px));
  padding-top: 18px;
}

.wizard-helper-card,
.wizard-review-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.wizard-helper-card strong,
.wizard-review-card h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--heading);
}

.wizard-helper-card p,
.wizard-review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wizard-helper-card-soft {
  margin-top: 12px;
  background: rgba(248, 250, 252, 0.96);
}

.wizard-entry-card {
  margin-bottom: 16px;
  background: rgba(255, 251, 245, 0.96);
}

.login-pending-summary {
  margin-bottom: 18px;
}

.button-secondary-compact.is-active {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.24);
  color: #1d4ed8;
}

.kiosk-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.kiosk-settings-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 248, 252, 0.94) 100%);
  border: 1px solid rgba(109, 128, 156, 0.14);
}

.kiosk-settings-panel-compact {
  margin-top: 22px;
}

.kiosk-settings-panel-head {
  margin-bottom: 14px;
}

.kiosk-settings-panel-head h2 {
  margin: 6px 0 0;
  color: var(--heading);
  font-size: 1.12rem;
}

.kiosk-toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kiosk-toggle-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(109, 128, 156, 0.14);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.kiosk-toggle-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
}

.kiosk-toggle-card small {
  color: var(--muted);
  line-height: 1.5;
}

.kiosk-toggle-input {
  padding-top: 2px;
}

.wizard-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 14px;
}

.wizard-preview-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(109, 128, 156, 0.14);
}

.wizard-preview-card strong {
  display: block;
  margin: 6px 0 8px;
  color: var(--heading);
  font-size: 1.35rem;
}

.wizard-preview-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.wizard-preview-card-accent {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(22, 163, 74, 0.18);
}

.confirmation-steps {
  display: grid;
  gap: 14px;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.timeline-marker {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.2);
  border: 2px solid rgba(100, 116, 139, 0.2);
}

.timeline-content {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(109, 128, 156, 0.14);
}

.timeline-content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.timeline-step-completed .timeline-marker {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.32);
}

.timeline-step-current .timeline-marker {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.34);
}

.timeline-step-upcoming .timeline-content {
  background: rgba(248, 250, 252, 0.9);
}

.showroom-campaign-schedule {
  display: grid;
  gap: 1rem;
}

.showroom-campaign-schedule-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(109, 128, 156, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.showroom-campaign-form-card {
  padding: 1rem;
  border: 1px solid rgba(109, 128, 156, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 234, 0.82));
}

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

.showroom-campaign-form-grid .form-row:nth-child(2),
.showroom-campaign-form-grid .form-row:nth-child(4) {
  grid-column: 1 / -1;
}

.showroom-campaign-delete {
  align-self: end;
}

.confirmation-step-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(109, 128, 156, 0.14);
}

.confirmation-step-card span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  font-weight: 800;
}

.confirmation-step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.confirmation-step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.quotation-item-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-muted);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.quotation-summary-card,
.quotation-items-panel {
  padding-top: 26px;
}

.quotation-detail-item-card .item-meta-line {
  margin: 0;
  color: var(--muted);
}

.quotation-item-card + .quotation-item-card {
  margin-top: 14px;
}

.quotation-item-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--heading);
}

.quotation-item-card p {
  margin: 0 0 8px;
  line-height: 1.55;
  color: var(--muted);
}

.quotation-item-edit-card {
  margin-bottom: 16px;
}

.quotation-item-edit-card.is-updating {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
}

.quotation-items-stack {
  display: grid;
  gap: 16px;
}

.compact-result-grid {
  margin-top: 20px;
}

.item-toolbar,
.item-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.item-toolbar {
  margin-bottom: 8px;
}

.item-remove-button {
  min-height: 40px;
}

.item-delete-field,
.is-hidden {
  display: none;
}

.line-total-chip {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: #334155;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.line-total-chip strong {
  color: #1e40af;
}

.comparison-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.comparison-item {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.comparison-item-accent {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.16);
}

.comparison-item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.comparison-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
}

.comparison-item p {
  margin: 0 0 6px;
}

.alternative-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.alternative-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(109, 128, 156, 0.12);
}

.alternative-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.result-card.is-pulsing,
.result-highlight-card.is-pending {
  border-color: rgba(197, 107, 47, 0.22);
  box-shadow: 0 22px 40px rgba(197, 107, 47, 0.12);
}

.alternative-card p {
  margin: 0 0 4px;
  color: var(--muted);
}

.calculator-cta-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.14);
}

.calculator-cta-card p {
  margin: 0 0 14px;
}

.disclosure-card,
.inline-disclosure {
  margin-top: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(109, 128, 156, 0.14);
}

.inline-disclosure {
  margin-top: 0;
  background: transparent;
  border: 0;
}

.disclosure-card summary,
.inline-disclosure summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--heading);
}

.disclosure-card summary::-webkit-details-marker,
.inline-disclosure summary::-webkit-details-marker {
  display: none;
}

.disclosure-card summary::after,
.inline-disclosure summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-size: 1.1rem;
}

.disclosure-card[open] summary::after,
.inline-disclosure[open] summary::after {
  content: "-";
}

.disclosure-card > :not(summary),
.inline-disclosure > :not(summary) {
  padding-left: 18px;
  padding-right: 18px;
  padding-bottom: 18px;
}

.disclosure-grid {
  margin-bottom: 0;
}

.empty-result-panel {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.07) 0%, rgba(197, 107, 47, 0.08) 100%);
  border: 1px dashed rgba(109, 128, 156, 0.28);
}

.empty-result-panel h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--heading);
}

.comparison-card h4 {
  margin: 0 0 10px;
  color: #1d4ed8;
}

.comparison-card p {
  margin: 0 0 8px;
  line-height: 1.55;
  color: var(--muted);
}

.insight-card p,
.empty-state {
  margin-bottom: 0;
  line-height: 1.65;
  color: var(--muted);
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes showroom-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-panel,
.stats-grid,
.table-card,
.form-card,
.result-card,
.page-intro-card {
  animation: fade-slide-up 280ms ease both;
}

@media (max-width: 900px) {
  .home-hero,
  .hero-panel,
  .calculator-layout,
  .page-intro-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .showroom-promo-card,
  .showroom-campaign-banner,
  .showroom-campaign-preview,
  .showroom-preview-hero,
  .calculator-step-grid,
  .client-wizard-steps,
  .client-wizard-grid,
  .kiosk-settings-grid,
  .kiosk-toggle-grid,
  .showroom-category-grid,
  .wizard-preview-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .result-highlight-card {
    flex-direction: column;
    align-items: stretch;
  }

  .showroom-stage {
    min-height: auto;
  }

  .showroom-stage-card {
    position: static;
    display: none;
    min-height: 360px;
    padding: 20px;
  }

  .showroom-stage-card.is-active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .showroom-stage-image,
  .showroom-stage-placeholder {
    position: static;
    width: 100%;
    height: 150px;
    margin: 0;
    transform: none;
  }

  .showroom-stage-copy {
    position: static;
    max-width: none;
  }

  .showroom-category-image,
  .showroom-category-placeholder {
    height: 130px;
  }

  .showroom-mini-card {
    width: 184px;
    min-height: 212px;
  }

  .showroom-mini-media {
    height: 110px;
  }

  .home-feature-product {
    grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1fr);
    grid-template-rows: auto;
    max-width: none;
  }

  .home-feature-media {
    height: 230px;
  }

  .showroom-strip-track {
    display: flex;
    width: max-content;
    overflow: visible;
  }

  .showroom-strip {
    overflow-x: auto;
  }

  .showroom-mini-card {
    width: 176px;
  }
}

@media (max-width: 700px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-shell,
  .app-shell {
    width: min(100% - 24px, 1240px);
  }

  .app-shell {
    padding-top: 22px;
  }

  .nav-shell,
  .section-header,
  .page-intro-card {
    align-items: stretch;
  }

  .header-actions,
  .page-intro-meta {
    justify-content: stretch;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(104, 122, 150, 0.16);
    box-shadow: 0 24px 40px rgba(21, 41, 68, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a,
  .nav-logout-button,
  .header-actions a,
  .header-actions button {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-panel {
    padding: 22px;
  }

  .home-hero {
    padding: 22px;
    border-radius: 20px;
  }

  .home-company-logo {
    width: 122px;
    margin-bottom: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button-primary,
  .button-secondary,
  .item-remove-button,
  [data-add-item] {
    min-height: 52px;
  }

  .form-control {
    min-height: 52px;
    font-size: 16px;
  }

  .hero-copy h1,
  .home-hero-copy h1,
  .section-header h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .page-intro-card,
  .hero-panel,
  .table-card,
  .form-card,
  .result-card {
    border-radius: 20px;
  }

  .showroom-stage {
    border-radius: 24px;
  }

  .home-feature-product {
    grid-template-columns: 1fr;
  }

  .home-feature-media {
    min-height: 170px;
  }

  .home-section-head {
    align-items: stretch;
  }

  .showroom-stage-card {
    min-height: 340px;
    padding: 16px;
  }

  .showroom-stage-image,
  .showroom-stage-placeholder {
    height: 130px;
  }

  .showroom-stage-copy {
    padding: 18px;
  }

  .showroom-strip {
    margin-bottom: 18px;
    padding: 14px 0;
    border-radius: 8px;
  }

  .showroom-strip-track {
    gap: 12px;
    padding: 0 12px;
  }

  .showroom-mini-card {
    width: 176px;
    min-height: 204px;
    padding: 9px;
  }

  .home-feature-product {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
  }

  .home-feature-media {
    height: 210px;
  }

  .showroom-mini-media {
    height: 104px;
  }

  .showroom-mini-copy > strong:not(.showroom-mini-price) {
    font-size: 0.92rem;
  }

  .showroom-mini-card .showroom-mini-price {
    font-size: 1rem;
  }

  .showroom-mini-copy small {
    font-size: 0.76rem;
  }

  .stats-grid,
  .quick-links,
  .card-grid,
  .result-grid,
  .filter-grid {
    gap: 14px;
  }

  .form-actions,
  .item-toolbar {
    flex-direction: column;
  }

  .floating-budget-cta {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .showroom-campaign-form-grid {
    grid-template-columns: 1fr;
  }

  .showroom-campaign-form-grid .form-row:nth-child(2),
  .showroom-campaign-form-grid .form-row:nth-child(4) {
    grid-column: auto;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody {
    display: grid;
    gap: 14px;
  }

  .data-table tr {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(109, 128, 156, 0.12);
  }

  .data-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(109, 128, 156, 0.1);
  }

  .data-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}
