/* Room designer — industrial-luxury theme. Brand tokens come from style.css
   (:root --navy-*, --gold-*, --warm-*) so the studio follows the public site. */

.ud-app {
  --ud-primary: var(--navy-900, #102a43);
  --ud-primary-hover: #0a1f38;
  --ud-heading: var(--navy-900, #102a43);
  --ud-ink: #0f172a;
  --ud-muted: #57534e;
  --ud-gold: var(--gold-600, #ca8a04);
  --ud-gold-bright: var(--gold-500, #eab308);
  --ud-gold-soft: rgba(234, 179, 8, 0.12);
  --ud-paper: var(--warm-50, #fafaf9);
  --ud-surface: #ffffff;
  --ud-tint: #f5f5f4;
  --ud-line: #e7e5e4;
  --ud-field-line: #d6d3d1;
  --ud-radius-box: var(--rounded-box, 0.75rem);
  --ud-radius-btn: var(--rounded-btn, 0.5rem);
  --ud-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.15);
  --ud-shadow-lg: 0 20px 60px -15px rgba(15, 23, 42, 0.25);
  color: var(--ud-ink);
  background: var(--ud-paper);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  color-scheme: light;
}

.ud-app * { box-sizing: border-box; }
.ud-app [hidden] { display: none !important; }
.ud-app button,
.ud-app input,
.ud-app select,
.ud-app a { -webkit-tap-highlight-color: transparent; }
.ud-app :focus-visible { outline: 3px solid var(--ud-gold-bright); outline-offset: 3px; }

.ud-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ud-gold);
}

.ud-text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ud-primary);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--ud-gold);
}

/* CRM page header */
.ud-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--ud-line);
  background: var(--ud-surface);
}

/* ---------- Gate: intro + lead form ---------- */
.ud-gate {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(234, 179, 8, 0.12) 0%, transparent 60%),
    linear-gradient(110deg, #0a1f38 0%, #102a43 45%, #1c3a57 100%);
}

.ud-gate::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -80px;
  width: clamp(240px, 30vw, 420px);
  height: clamp(240px, 30vw, 420px);
  background: url("/static/assets/img/logo/STL Cabinet Warehouse Logo.webp") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
}

.ud-gate-inner {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 7vw;
  padding: 64px 5vw;
}

.ud-intro .ud-eyebrow { color: var(--ud-gold-bright); }

.ud-intro h1 {
  color: #ffffff;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 18px 0;
}

.ud-intro > p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 460px;
  line-height: 1.75;
  font-size: 17px;
  margin: 0;
}

.ud-sample {
  height: 270px;
  max-width: 460px;
  position: relative;
  margin: 36px 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.07) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.07) 20px);
  box-shadow: 18px 18px 0 rgba(234, 179, 8, 0.12);
}

.ud-sample-counter { display: flex; height: 57px; width: 100%; }

.ud-sample i {
  display: block;
  flex: 1;
  border: 1px solid #102a43;
  background: #486581;
  box-shadow: inset 0 0 0 5px rgba(16, 42, 67, 0.25);
}

.ud-sample-side {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 57px;
  top: 57px;
  bottom: 0;
}

.ud-sample-island {
  position: absolute;
  left: 36%;
  top: 43%;
  width: 43%;
  height: 30%;
  background: linear-gradient(135deg, #ca8a04, #eab308);
  border: 6px double rgba(255, 255, 255, 0.55);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.12);
}

.ud-sample > span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.ud-steps {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.ud-steps b { display: block; font-size: 12px; color: var(--ud-gold-bright); margin-bottom: 8px; }

.ud-form-card {
  padding: 32px;
  color: var(--ud-ink);
  background: var(--ud-surface);
  border: 1px solid var(--ud-line);
  border-radius: var(--ud-radius-box);
  box-shadow: var(--ud-shadow-lg);
}

.ud-form-card h2 {
  color: var(--ud-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 12px 0;
}

.ud-form-card > p,
.ud-dialog > p {
  font-size: 14px;
  color: var(--ud-muted);
  line-height: 1.7;
  margin: 12px 0 24px;
}

/* ---------- Form controls (mirror DaisyUI input/select/btn) ---------- */
.ud-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ud-heading);
  min-width: 0;
  margin-bottom: 16px;
}

.ud-field input,
.ud-field select {
  width: 100%;
  min-height: 46px;
  background: var(--ud-surface);
  color: var(--ud-ink);
  border: 1px solid var(--ud-field-line);
  border-radius: var(--ud-radius-btn);
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ud-field input:focus,
.ud-field select:focus {
  border-color: var(--ud-primary);
  box-shadow: 0 0 0 3px rgba(16, 42, 67, 0.12);
  outline: none;
}

.ud-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.ud-consent .label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ud-consent .label-text { font-size: 12px; line-height: 1.65; color: var(--ud-muted); }
.ud-consent a { text-decoration: underline; color: var(--ud-primary); }
.ud-consent .form-control { margin: 14px 0; }

.ud-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  border: 2px solid var(--ud-field-line);
  border-radius: var(--ud-radius-btn);
  background: var(--ud-surface);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ud-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.ud-button:hover { background: var(--ud-tint); border-color: var(--ud-primary); }
.ud-button:disabled { opacity: 0.45; cursor: default; }

.ud-primary {
  background: var(--ud-primary);
  border-color: var(--ud-primary);
  color: #ffffff;
}

.ud-primary:hover { background: var(--ud-primary-hover); border-color: var(--ud-primary-hover); }

.ud-start { width: 100%; justify-content: space-between; margin-top: 14px; font-size: 15px; min-height: 50px; }
.ud-fine-print { font-size: 12px; color: var(--ud-muted); line-height: 1.6; margin-top: 15px; }
.ud-honeypot { position: absolute; left: -10000px; }
.ud-error { color: #b91c1c; font-size: 14px; margin: 12px 0; }

/* ---------- Editor ---------- */
.ud-project-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  background: var(--ud-surface);
  border-bottom: 1px solid var(--ud-line);
  box-shadow: inset 0 -3px 0 -1px var(--ud-gold-soft);
}

.ud-project-bar h1 {
  color: var(--ud-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 4px 0 0;
}

.ud-local-status { margin-left: auto; color: var(--ud-muted); font-size: 12px; }

.ud-workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: calc(100dvh - 190px);
}

.ud-catalog {
  padding: 24px 20px;
  background: var(--ud-surface);
  border-right: 1px solid var(--ud-line);
  max-height: calc(100dvh - 185px);
  overflow: auto;
  overscroll-behavior: contain;
}

.ud-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.ud-panel-heading h2 {
  color: var(--ud-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 6px 0;
}

.ud-hint { font-size: 12px; line-height: 1.5; color: var(--ud-muted); margin: 0 0 18px; }

.ud-library { display: grid; gap: 28px; }
.ud-library[aria-busy="true"] { opacity: 0.7; }

.ud-section { min-width: 0; }

.ud-section[data-kind="shelf"] {
  padding: 14px;
  margin: 0 -6px;
  border: 1px solid rgba(202, 138, 4, 0.3);
  border-radius: var(--ud-radius-box);
  background: linear-gradient(180deg, var(--ud-gold-soft), transparent 70%);
}

.ud-section-heading {
  position: relative;
  color: var(--ud-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 14px;
  padding-bottom: 8px;
}

.ud-section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ud-gold), rgba(202, 138, 4, 0));
}

.ud-section-more { width: 100%; margin-top: 12px; }

.ud-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ud-products[aria-busy="true"] { opacity: 0.7; }

.ud-product {
  border: 1px solid var(--ud-line);
  border-radius: var(--ud-radius-btn);
  overflow: hidden;
  background: var(--ud-surface);
  min-width: 0;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.ud-product:hover { border-color: var(--ud-field-line); box-shadow: var(--ud-shadow); }

.ud-product img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: contain;
  padding: 9px;
  background: var(--ud-paper);
}

.ud-product-info { padding: 10px; }

.ud-product h4 {
  color: var(--ud-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.ud-product p { font-size: 11px; line-height: 1.5; color: var(--ud-muted); margin: 0 0 6px; }

.ud-add {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 8px 6px;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
  border-color: var(--ud-primary);
}

.ud-add:hover { background: var(--ud-primary); color: #ffffff; }

.ud-plan-column { min-width: 0; padding: 20px 24px 12px; display: flex; flex-direction: column; }

.ud-dimensions { display: flex; align-items: end; gap: 12px; margin-bottom: 16px; }
.ud-dimensions .ud-field { width: 100px; margin: 0; }
.ud-dimensions .ud-field:first-child { width: 200px; }
.ud-times { align-self: center; padding-top: 20px; color: var(--ud-muted); }

.ud-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 380px;
  border: 1px solid var(--ud-line);
  border-radius: var(--ud-radius-box);
  background: var(--ud-tint);
  overflow: hidden;
}

.ud-canvas-caption {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ud-muted);
  z-index: 1;
}

#design-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  position: absolute;
  inset: 0;
  touch-action: none;
  user-select: none;
}

.ud-canvas-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }

/* View focus: a quiet segmented pill opposite the canvas tools. */
.ud-view-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--ud-surface);
  border: 1px solid var(--ud-line);
  border-radius: 999px;
  box-shadow: var(--ud-shadow);
}

.ud-view-toggle > button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ud-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.ud-view-toggle > button:hover { color: var(--ud-primary); }
.ud-view-toggle > button[aria-pressed="true"] { background: var(--ud-primary); color: #ffffff; }

.ud-empty { position: absolute; left: 10%; right: 10%; top: 28%; text-align: center; pointer-events: none; }
.ud-empty > span { font-size: 32px; color: var(--ud-gold); }

.ud-empty h2 {
  color: var(--ud-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 8px;
}

.ud-empty p { font-size: 14px; color: var(--ud-muted); margin: 8px 0 20px; }
.ud-empty button { pointer-events: auto; }

.ud-selection { display: flex; align-items: center; gap: 8px; padding: 14px 0; flex-wrap: wrap; }
.ud-selection > span { flex: 1; font-size: 13px; min-width: 180px; }

/* Fixture notes: advisories that never block a save. */
.ud-notes {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid rgba(202, 138, 4, 0.35);
  border-radius: var(--ud-radius-btn);
  background: var(--ud-gold-soft);
  font-size: 13px;
}

.ud-notes > summary { cursor: pointer; font-weight: 600; color: var(--ud-heading); }
.ud-notes > ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ud-notes li { padding-left: 10px; border-left: 3px solid var(--ud-gold); line-height: 1.5; color: var(--ud-ink); }
.ud-notes li[data-severity="info"] { border-left-color: #0369a1; }

.ud-plan-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 0 14px;
  padding: 18px 20px;
  border: 1px solid rgba(202, 138, 4, 0.35);
  border-left: 4px solid var(--ud-gold);
  border-radius: var(--ud-radius-box);
  background: linear-gradient(90deg, var(--ud-gold-soft), var(--ud-surface) 65%);
}

.ud-save-prompt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ud-count { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ud-gold); }
.ud-save-prompt strong { color: var(--ud-heading); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ud-save-prompt > span:last-child { font-size: 13px; line-height: 1.5; color: var(--ud-muted); }

.ud-cta { flex: none; min-height: 50px; padding: 12px 24px; font-size: 15px; box-shadow: var(--ud-shadow); }
.ud-cta:disabled { opacity: 1; background: var(--ud-tint); border-color: var(--ud-line); color: var(--ud-muted); box-shadow: none; }
.ud-cta[data-status="saved"]:disabled { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }

.ud-disclaimer { font-size: 11px; line-height: 1.6; color: var(--ud-muted); max-width: 800px; margin: 0 0 8px; }

.ud-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  border-radius: var(--ud-radius-btn);
  border-left: 4px solid var(--ud-gold-bright);
  background: var(--ud-primary);
  color: #ffffff;
  padding: 14px 20px;
  box-shadow: var(--ud-shadow-lg);
  font-size: 14px;
  max-width: calc(100vw - 32px);
  width: max-content;
}

.ud-status[data-error="true"] { background: #7f1d1d; border-left-color: #fca5a5; }

.ud-dialog {
  background: var(--ud-surface);
  color: var(--ud-ink);
  border: 1px solid var(--ud-line);
  border-radius: var(--ud-radius-box);
  padding: 28px;
  max-width: 470px;
  width: calc(100vw - 32px);
  box-shadow: var(--ud-shadow-lg);
}

.ud-dialog::backdrop { background: rgba(10, 31, 56, 0.75); backdrop-filter: blur(5px); }
.ud-dialog > a { display: flex; margin: 12px 0; }

/* Library tabs: cabinets and home fixtures share the catalog panel. */
.ud-library-tabs {
  display: flex;
  gap: 4px;
  margin: -6px 0 20px;
  border-bottom: 1px solid var(--ud-line);
}

.ud-library-tabs > button {
  flex: 1;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ud-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
}

.ud-library-tabs > button[aria-selected="true"] { color: var(--ud-heading); box-shadow: inset 0 -2px 0 var(--ud-gold); }

.ud-fixture-group + .ud-fixture-group { margin-top: 24px; }
.ud-fixture-group h3 { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ud-heading); }
.ud-fixture-group > p { margin: 4px 0 12px; font-size: 12px; line-height: 1.5; color: var(--ud-muted); }
.ud-fixture-list { display: grid; gap: 8px; }

.ud-fixture {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid var(--ud-line);
  border-radius: var(--ud-radius-btn);
  background: var(--ud-surface);
  color: var(--ud-ink);
  text-align: left;
  cursor: grab;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ud-fixture:hover { border-color: var(--ud-gold); box-shadow: var(--ud-shadow); }
.ud-fixture .rp-fixture-icon { flex: none; border-radius: 6px; background: var(--ud-tint); }
.ud-fixture-text { display: grid; gap: 2px; min-width: 0; }
.ud-fixture-text strong { font-size: 13px; color: var(--ud-heading); }
.ud-fixture-text span { font-size: 12px; line-height: 1.4; color: var(--ud-muted); }

/* Width confirmation dialog. */
.ud-dialog .ud-dialog-copy { font-size: 14px; color: var(--ud-muted); line-height: 1.6; margin: 0 0 18px; }
.ud-width-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11rem); gap: 12px; }
.ud-width-fields .ud-field { margin-bottom: 0; }
.ud-width-preview { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--ud-muted); }
.ud-width-error { min-height: 20px; margin: 2px 0 0; font-size: 13px; color: #b91c1c; }
.ud-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.ud-mobile { display: none; }

.ud-library-message { grid-column: 1 / -1; line-height: 1.7; font-size: 14px; color: var(--ud-muted); padding: 20px 0; margin: 0; }

/* ---------- CRM submissions ---------- */
.ud-crm { padding: 32px; max-width: 1400px; margin: auto; }
.ud-crm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.ud-crm-card {
  padding: 24px;
  border: 1px solid var(--ud-line);
  background: var(--ud-surface);
  border-radius: var(--ud-radius-box);
  box-shadow: var(--ud-shadow);
}

.ud-crm-card h2 { color: var(--ud-heading); font-size: 24px; font-weight: 700; margin: 0 0 14px; }
.ud-crm-card p { font-size: 14px; margin: 8px 0; overflow-wrap: anywhere; }
.ud-crm-card a { margin: 12px 8px 0 0; }

@media (min-width: 1450px) {
  .ud-workspace { grid-template-columns: 360px minmax(0, 1fr); }
  .ud-catalog { padding: 26px; }
  .ud-product img { height: 140px; }
}

@media (max-width: 1000px) {
  .ud-gate-inner { gap: 30px; padding: 40px 24px; }
  .ud-form-card { padding: 24px; }
  .ud-form-row { grid-template-columns: 1fr; gap: 0; }
  .ud-workspace { grid-template-columns: 270px minmax(0, 1fr); }
  .ud-plan-column { padding: 16px; }
  .ud-dimensions { flex-wrap: wrap; }
  .ud-dimensions .ud-field:first-child { width: 100%; }
  .ud-local-status { display: none; }
  .ud-project-bar > .ud-button { margin-left: auto; }
}

@media (max-width: 700px) {
  .ud-header { height: 64px; padding: 0 18px; }
  .ud-gate-inner { grid-template-columns: 1fr; padding: 32px 20px; }
  .ud-intro h1 { font-size: 40px; }
  .ud-intro > p { font-size: 15px; }
  .ud-sample { display: none; }
  .ud-steps { margin: 25px 0 0; gap: 18px; font-size: 12px; }
  .ud-form-card { padding: 24px 20px; }
  .ud-workspace { display: block; min-height: 0; }
  .ud-project-bar { padding: 16px; }
  .ud-project-bar h1 { font-size: 22px; }
  .ud-mobile { display: inline-flex; }
  .ud-catalog {
    display: none;
    position: fixed;
    inset: auto 0 0;
    height: 78dvh;
    max-height: 78dvh;
    z-index: 1000;
    border: 1px solid var(--ud-line);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -20px 60px rgba(10, 31, 56, 0.35);
    padding: 24px;
  }
  .ud-catalog.is-open { display: block; }
  .ud-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ud-product img { height: 130px; }
  .ud-plan-column { padding: 14px 12px; }
  .ud-dimensions { gap: 8px; }
  .ud-dimensions .ud-field { flex: 1; width: 70px; }
  .ud-dimensions .ud-field:first-child { flex: 1 0 100%; }
  .ud-canvas-wrap { height: 52dvh; min-height: 340px; flex: none; }
  #design-canvas { min-height: 340px; }
  .ud-canvas-caption { left: 12px; right: 12px; }
  .ud-view-toggle { top: 38px; bottom: auto; right: 50%; transform: translateX(50%); }
  .ud-view-toggle > button { min-height: 34px; padding: 0 12px; }
  .ud-width-fields { grid-template-columns: 1fr; }
  .ud-selection > span { flex-basis: 100%; }
  .ud-selection .ud-button { flex: 1; }
  .ud-plan-footer { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .ud-cta { width: 100%; }
  .ud-empty h2 { font-size: 20px; }
  .ud-crm { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .ud-app * { transition: none !important; scroll-behavior: auto !important; }
}
