:root {
  color-scheme: light;
  --bg: #fafbfc;
  --panel: #ffffff;
  --panel-2: #f4f5f7;
  --line: #e2e8f0;
  --line-soft: #f4f5f7;
  --text: #0f172a;
  --muted: #64748b;
  --dim: #94a3b8;
  --primary: #7c3aed;
  --primary-2: #a78bfa;
  --primary-soft: #f5f3ff;
  --primary-line: #ddd6fe;
  --good: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
textarea,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.customer-builder {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.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;
}

.purple-btn,
.dark-btn,
.white-btn,
.link-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.purple-btn {
  background: var(--primary);
  color: white;
}

.dark-btn {
  background: var(--text);
  color: white;
}

.white-btn {
  background: white;
  color: #475569;
  border: 1px solid var(--line);
}

.static-placeholder:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.link-btn {
  color: var(--muted);
  padding-inline: 8px;
}

.lg {
  min-height: 48px;
  padding-inline: 24px;
  font-size: 15px;
}

/* A11 */
.value-banner {
  background: var(--text);
  color: white;
  padding: 14px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vb-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.vb-row-1 {
  font-size: 14px;
  font-weight: 900;
}

.vb-row-2 {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-2);
}

.vb-x {
  color: var(--primary-2);
  font-size: 18px;
}

.vb-sep {
  color: #475569;
  font-weight: 400;
}

.vb-pill {
  background: var(--primary);
  color: white;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
}

.site-nav {
  padding: 20px 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line-soft);
  background: white;
}

.logo,
.flow-brand,
.builder-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: inline-flex;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.login {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.home-hero {
  padding: 64px 56px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  background: white;
}

.safety-kicker,
.stage-pill {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.home-hero .safety-kicker {
  margin-bottom: 20px;
}

.home-hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 14px;
}

.home-hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.home-hero p {
  color: #475569;
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
}

.home-prompt {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.06);
}

.home-prompt textarea {
  flex: 1;
  min-height: 56px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  resize: none;
  color: var(--text);
  font-size: 17px;
}

.example-row {
  max-width: 720px;
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.soft-chip {
  min-height: 30px;
  padding: 0 12px;
  background: var(--panel-2);
  color: #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pick-cta {
  max-width: 1100px;
  margin: 56px auto 28px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.pick-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.pick-arrow span {
  font-size: 24px;
}

.pick-divider {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.pick-meta {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--dim);
  font-size: 12px;
}

.module-sections {
  padding-bottom: 80px;
  background: white;
}

.module-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 56px;
  border-top: 1px solid var(--line-soft);
}

.module-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 18px;
}

.module-section-head h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.module-section-head h2 span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--primary);
  margin-right: 12px;
  letter-spacing: 0.1em;
}

.module-section-head div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.module-section-head small {
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.module-section-head b {
  color: var(--primary);
  font-size: 13px;
}

.module-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.module-card-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-pick-card {
  --accent: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.module-pick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 22%, transparent);
}

.module-corner {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: var(--accent);
  color: white;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 4px;
}

.module-thumb {
  min-height: 150px;
  background: color-mix(in srgb, var(--accent) 8%, white);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.module-card-copy {
  padding: 14px 16px;
}

.module-card-copy h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.module-card-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  min-height: 34px;
  margin-bottom: 10px;
}

.module-card-copy strong {
  color: var(--accent);
  font-size: 12px;
}

.mini-kanban,
.mini-dash,
.mini-calendar,
.mini-doc {
  width: 100%;
  min-height: 110px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, white);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-kanban span {
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 16%, white);
}

.mini-dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-dash span,
.mini-dash i,
.mini-dash b {
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 16%, white);
}

.mini-dash i {
  grid-column: span 2;
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.mini-calendar span {
  border-radius: 6px;
  background: #eef2f7;
}

.mini-calendar span.on {
  background: var(--accent);
}

.mini-doc span,
.mini-doc b {
  display: block;
  height: 14px;
  width: 80%;
  margin-bottom: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, white);
}

.mini-doc b {
  width: 46%;
  height: 36px;
}

.public-footer,
.flow-safety {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 18px 56px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-footer b {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  font-family: Inter, system-ui, sans-serif;
}

.public-footer span + span::before,
.flow-safety span + span::before {
  content: "·";
  margin-right: 8px;
}

/* M11/F11 shared flow */
.flow-nav {
  background: white;
  min-height: 58px;
  padding: 14px 36px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 18px;
}

.flow-nav > span {
  color: var(--muted);
  font-size: 13px;
}

.flow-nav em {
  margin-left: auto;
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.stage-bar {
  background: white;
  padding: 16px 56px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.stage-row {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.stage-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.stage.is-done .stage-dot {
  background: var(--good);
  color: white;
}

.stage.is-now {
  color: var(--primary);
  font-weight: 900;
}

.stage.is-now .stage-dot {
  color: white;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.stage.is-todo {
  color: var(--dim);
  font-weight: 500;
}

.stage.is-todo .stage-dot {
  border: 1.5px solid var(--line);
  background: white;
}

.stage-line {
  flex: 1;
  height: 1.5px;
  background: var(--line);
}

.stage-line.is-done {
  background: var(--good);
}

.module-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 56px 24px;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading.center {
  text-align: center;
}

.page-heading h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 12px 0 6px;
  font-weight: 900;
}

.page-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 780px;
}

.page-heading.center p {
  margin: 0 auto;
}

.page-heading strong {
  color: var(--text);
}

.label-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.label-bar span:not(.label-pill) {
  color: var(--muted);
  font-size: 12px;
}

.label-bar em {
  margin-left: auto;
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-style: normal;
}

.label-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.label-pill.dark {
  background: var(--text);
  color: white;
}

.label-pill.purple {
  background: var(--primary);
  color: white;
}

.supporting-addons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 300px;
}

.supporting-addons b {
  width: 100%;
  color: var(--text);
  font-size: 11px;
}

.supporting-addons span {
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.full-crm-preview,
.lite-crm-preview {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.full-crm-preview {
  border-top: 4px solid var(--text);
}

.lite-crm-preview {
  border-top: 4px solid var(--primary);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.12);
}

.fake-app {
  min-height: 280px;
  display: grid;
  grid-template-columns: 210px 1fr;
}

.fake-app aside {
  border-right: 1px solid var(--line);
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
  background: #fbfcff;
}

.fake-app aside b {
  font-size: 18px;
  margin-bottom: 8px;
}

.fake-app aside span {
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line-soft);
  font-weight: 700;
}

.fake-app main {
  padding: 22px;
}

.fake-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.fake-top b {
  font-size: 22px;
}

.fake-top button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--primary);
}

.fake-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.fake-kpis span {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
  font-weight: 900;
}

.fake-kpis small {
  font-family: Inter, system-ui, sans-serif;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.fake-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.fake-grid i {
  min-height: 92px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.down-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.down-divider span {
  font-size: 22px;
}

.lite-app {
  padding: 20px;
  min-height: 230px;
}

.lite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.lite-head b {
  font-size: 24px;
}

.lite-head span {
  color: var(--muted);
  font-weight: 700;
}

.lite-cols,
.lite-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lite-cols span {
  padding: 10px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 900;
  font-size: 12px;
}

.lite-cards {
  margin-top: 12px;
}

.lite-cards i {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-style: normal;
  font-weight: 800;
}

.lite-cards b {
  display: block;
  margin-top: 10px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary-soft), white);
  border: 1.5px solid var(--primary-line);
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 36px;
}

.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-size: 24px;
  font-weight: 900;
}

.cta-card h2 {
  color: #5b21b6;
  font-size: 16px;
  margin-bottom: 4px;
}

.cta-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cta-card div:nth-child(2) {
  flex: 1;
}

.scroller-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 0 22px 28px;
}

.scroller-head {
  display: flex;
  justify-content: space-between;
  padding-right: 28px;
  margin-bottom: 14px;
}

.scroller-head h3 {
  font-size: 16px;
}

.scroller-head p {
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  margin-top: 2px;
}

.scroller-head button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--panel-2);
  margin-left: 6px;
}

.module-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 28px 14px 0;
}

.mini-module {
  flex: 0 0 220px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  overflow: hidden;
}

.mini-module.selected {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.mini-module > div {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background: color-mix(in srgb, var(--accent) 6%, white);
}

.mini-module > div > span {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 900;
}

.mini-module strong,
.mini-module small {
  display: block;
  padding: 0 14px;
}

.mini-module strong {
  padding-top: 11px;
  font-size: 13px;
}

.mini-module small {
  padding-bottom: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* F11 */
.features-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 56px 28px;
}

.request-input-card,
.prebuilt-card,
.anything-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.request-input-card {
  padding: 22px 28px;
  margin-bottom: 14px;
}

.request-input-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.request-input-head span {
  background: var(--primary-soft);
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

.request-input-head b {
  flex: 1;
  font-size: 14px;
}

.request-input-head em {
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-style: normal;
}

.request-input-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  outline: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  line-height: 1.5;
}

.request-input-card textarea:focus {
  border-color: var(--primary);
}

.request-input-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.prebuilt-card,
.anything-card {
  padding: 22px 28px;
  margin-bottom: 14px;
}

.prebuilt-head,
.anything-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.prebuilt-head span {
  background: #ecfdf5;
  color: #047857;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}

.prebuilt-head b,
.anything-head b {
  flex: 1;
}

.prebuilt-head em,
.anything-head em {
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-style: normal;
}

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

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  background: var(--bg);
}

.feature-row i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--good);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 11px;
  flex: 0 0 auto;
}

.feature-row b,
.feature-row span {
  display: block;
}

.feature-row b {
  font-size: 12.5px;
}

.feature-row span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.feature-row em {
  margin-left: auto;
  color: #5b21b6;
  background: #ddd6fe;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-style: normal;
  font-weight: 900;
}

.feature-row em.auth {
  color: #92400e;
  background: #fef3c7;
}

.anything-card {
  background: linear-gradient(135deg, var(--primary-soft), var(--bg));
  border: 1.5px solid var(--primary-line);
}

.anything-head span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 900;
}

.anything-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.anything-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  outline: 0;
  border: 1.5px solid var(--primary-line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  padding: 12px 14px;
  line-height: 1.5;
}

.anything-card textarea:focus {
  border-color: var(--primary);
}

.feature-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.feature-examples button {
  background: white;
  border: 1px solid var(--primary-line);
  color: #5b21b6;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.feature-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.feature-cta span {
  flex: 1;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.feature-cta b {
  color: var(--primary);
}

/* H03 */
.builder-topbar {
  height: 64px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
}

.builder-brand {
  min-width: 260px;
  text-align: left;
}

.builder-brand span:last-child {
  display: grid;
  gap: 2px;
}

.builder-brand small {
  color: var(--muted);
  font-size: 11px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs b {
  color: var(--text);
}

.crumbs i {
  color: #cbd5e1;
  font-style: normal;
}

.crumbs em {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.builder-search {
  flex: 1;
  max-width: 420px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
}

.builder-search kbd {
  margin-left: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 5px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.topbar-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-tools span {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  padding: 0 10px;
}

.topbar-tools small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.topbar-tools b {
  font-size: 12px;
}

.topbar-tools button {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.topbar-tools strong {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 11px;
}

.builder-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 380px;
  min-height: calc(100vh - 64px);
}

.builder-sidebar,
.kai-rail {
  background: white;
}

.builder-sidebar {
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.builder-sidebar section {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.selected-module {
  margin: 0;
}

.selected-module > div {
  background: var(--primary-soft);
  border: 1.5px solid var(--primary-line);
  border-radius: 8px;
  padding: 12px 14px 6px;
}

.selected-module b {
  font-size: 14px;
}

.selected-module span {
  margin-left: 8px;
  color: white;
  background: var(--primary);
  border-radius: 3px;
  padding: 2px 6px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.selected-module small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.builder-sidebar h4 {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 8px 8px;
}

.side-item {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-left: 3px solid transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.side-item:hover,
.side-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-left-color: var(--primary);
}

.side-item span {
  width: 16px;
  text-align: center;
}

.side-item b {
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.builder-main {
  min-width: 0;
  overflow-y: auto;
  background: var(--bg);
}

.builder-page-head {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.builder-page-head h1 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.builder-page-head p {
  color: var(--muted);
  font-size: 12px;
}

.builder-page-head > div:last-child {
  display: flex;
  gap: 8px;
}

.builder-body {
  padding: 20px 28px;
}

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

.kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
}

.kpi span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 900;
}

.kpi b {
  display: block;
  margin-top: 6px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
}

.kpi em {
  color: var(--good);
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.kpi em.down {
  color: var(--bad);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.filter-bar button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--panel-2);
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.filter-bar button.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.filter-bar span {
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

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

.pipeline-col {
  min-height: 360px;
  padding: 12px;
  background: var(--panel-2);
  border-radius: 8px;
}

.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.col-head b {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.col-head b.new { color: var(--primary); }
.col-head b.prog { color: var(--warn); }
.col-head b.won { color: var(--good); }
.col-head b.lost { color: var(--bad); }

.col-head span {
  color: #475569;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1px 7px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.deal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 6px;
}

.deal-card div,
.deal-card p {
  display: flex;
  align-items: center;
}

.deal-card div {
  gap: 8px;
  margin-bottom: 4px;
}

.deal-card span {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 900;
}

.deal-card b {
  font-size: 12px;
}

.deal-card p {
  justify-content: space-between;
  margin: 0;
}

.deal-card p strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.deal-card p em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.kai-rail {
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
}

.kai-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kai-head > span,
.msg span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.kai-head div {
  flex: 1;
}

.kai-head b,
.kai-head small {
  display: block;
}

.kai-head small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 1px;
}

.kai-head button {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.kai-thread {
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  display: flex;
  gap: 10px;
  max-width: 94%;
}

.msg p {
  padding: 10px 13px;
  border-radius: 10px 10px 10px 3px;
  font-size: 13px;
  line-height: 1.5;
}

.msg.kai p {
  background: var(--primary-soft);
  color: #3b0764;
}

.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg.user span {
  background: #475569;
}

.msg.user p {
  background: var(--text);
  color: white;
  border-radius: 10px 10px 3px 10px;
}

.diff-card,
.request-card {
  align-self: flex-start;
  max-width: 92%;
  margin-left: 36px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px dashed var(--line);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.diff-card b,
.request-card b {
  display: block;
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.diff-card span {
  display: block;
  color: var(--good);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.request-card p {
  margin-bottom: 10px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.choice-row button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.choice-row button:hover,
.choice-row button.is-selected {
  color: var(--primary);
  border-color: rgba(124, 58, 237, 0.45);
  background: var(--primary-soft);
}

.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chat-actions button {
  min-height: 30px;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.kai-composer {
  padding: 12px 14px;
  border-top: 1px solid var(--line-soft);
}

.kai-composer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: white;
}

.kai-composer textarea {
  min-height: 76px;
  max-height: 140px;
  resize: vertical;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  outline: 0;
  padding: 10px 12px;
  line-height: 1.45;
}

.kai-composer textarea:focus {
  border-color: var(--primary);
}

.kai-composer div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kai-composer button {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: var(--muted);
}

.kai-composer button:hover {
  background: var(--panel-2);
}

.kai-composer span {
  flex: 1;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.kai-composer .send {
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 900;
}

.kai-foot {
  padding: 8px 14px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kai-foot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
}

.choice-note {
  color: var(--primary) !important;
  font-size: 12px;
  font-weight: 900;
  margin-top: 8px;
}

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

.json-preview {
  margin: 18px 0;
  border: 1px solid var(--line);
  background: #111827;
  color: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
  max-height: 320px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

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

.notice {
  margin-top: 12px;
  font-size: 13px;
}

/* Simplified Builder pass: A11 -> M11_WITH_FEATURES -> H03 */
.module-with-features {
  max-width: 1320px;
}

.module-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.recommend-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.recommend-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.recommend-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  max-width: 520px;
}

.recommend-copy strong {
  color: #312e81;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.45;
  max-width: 560px;
}

.recommended-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recommended-addons span {
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #047857;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.module-hero-preview {
  border-radius: 14px;
  border: 1px solid var(--primary-line);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-soft), white);
}

.module-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 16px;
  margin-bottom: 16px;
}

.feature-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.future-panel {
  background: #fbfcff;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
}

.panel-head h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.panel-head p {
  color: var(--muted);
  max-width: 360px;
  line-height: 1.45;
  font-size: 13px;
}

.lite-feature-grid,
.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lite-feature,
.addon-card {
  min-height: 98px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 12px;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.lite-feature.active,
.addon-card.active,
.style-option.active {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.12);
}

.lite-feature i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--primary);
  font-style: normal;
  font-weight: 900;
  flex: 0 0 auto;
}

.lite-feature b,
.lite-feature span,
.addon-card b,
.addon-card span {
  display: block;
}

.lite-feature b,
.addon-card b {
  font-size: 13px;
}

.lite-feature span,
.addon-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 3px;
}

.lite-feature em,
.addon-card em {
  align-self: flex-start;
  max-width: 136px;
  text-align: center;
  margin-left: auto;
  white-space: nowrap;
  color: #047857;
  background: #dcfce7;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.addon-card {
  min-height: 112px;
  align-items: flex-start;
  justify-content: space-between;
}

.addon-card em.auth {
  color: #92400e;
  background: #fef3c7;
}

.addon-card em.planning {
  color: #334155;
  background: #e2e8f0;
}

.full-feature-list {
  display: grid;
  gap: 8px;
}

.full-feature-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: #334155;
  padding: 0 12px;
  font-weight: 800;
  font-size: 13px;
}

.full-feature-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

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

.style-option {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 12px;
  text-align: left;
}

.style-preview {
  min-height: 86px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.style-preview span,
.style-preview i {
  border-radius: 7px;
  background: var(--primary-soft);
}

.style-preview i {
  grid-column: 1 / -1;
}

.style-preview.clean-saas {
  background: #ffffff;
}

.style-preview.premium-dashboard {
  background: linear-gradient(135deg, #f5f3ff, #ffffff);
}

.style-preview.compact-operator {
  background: #f8fafc;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.style-preview.friendly-client-portal {
  background: #f0f9ff;
}

.style-option b,
.style-option p,
.style-option em {
  display: block;
}

.style-option b {
  font-size: 14px;
}

.style-option p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
}

.style-option em {
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  margin-top: 10px;
}

.simplified-cta {
  position: sticky;
  bottom: 14px;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.simplified-builder.clean-saas {
  --primary: #2563eb;
  --primary-soft: #eff6ff;
  --primary-line: #bfdbfe;
}

.simplified-builder.compact-operator {
  --primary: #475569;
  --primary-soft: #f1f5f9;
  --primary-line: #cbd5e1;
}

.simplified-builder.friendly-client-portal {
  --primary: #0ea5e9;
  --primary-soft: #f0f9ff;
  --primary-line: #bae6fd;
}

.simplified-builder .builder-main {
  background: #f8fafc;
}

.crm-preview-surface {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.crm-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.crm-preview-head span {
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.crm-preview-head h2 {
  font-size: 30px;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.crm-preview-head p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--primary-line);
  background: var(--primary-soft);
  border-radius: 10px;
  padding: 0 12px;
  margin-bottom: 14px;
}

.preview-search span {
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
}

.preview-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

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

.record-table {
  display: grid;
  gap: 8px;
}

.record-table span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  padding: 0 13px;
  color: #334155;
  font-weight: 800;
}

.record-table em {
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
}

.dashboard-preview {
  display: grid;
  gap: 14px;
}

.chart-card {
  min-height: 180px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 18px;
}

.chart-card span {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}

.chart-card span:nth-child(1) { height: 34%; }
.chart-card span:nth-child(2) { height: 54%; }
.chart-card span:nth-child(3) { height: 44%; }
.chart-card span:nth-child(4) { height: 72%; }
.chart-card span:nth-child(5) { height: 62%; }

.suggested-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 42px;
}

.suggested-prompts button {
  min-height: 30px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: white;
  color: var(--primary);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.kai-summary {
  border-top: 1px solid var(--line-soft);
  padding: 12px 14px;
  max-height: 360px;
  overflow: auto;
  background: #fbfcff;
}

.build-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 14px;
}

.build-summary-wide {
  margin-top: 16px;
}

.build-summary-rail {
  box-shadow: none;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.summary-head span {
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.summary-head h3 {
  margin-top: 4px;
  font-size: 18px;
}

.summary-head button {
  min-height: 28px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.build-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.build-summary dl div {
  border-radius: 8px;
  background: var(--bg);
  padding: 8px 10px;
}

.build-summary dt {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.build-summary dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
}

.connector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.connector-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: #334155;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
}

.connector-tags em {
  color: var(--primary);
  font-style: normal;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.summary-actions button {
  min-height: 31px;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.kai-composer .send {
  width: auto;
  min-width: 58px;
  padding: 0 12px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.option-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 22px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.option-card.active {
  border-color: var(--primary);
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.16);
}

.option-card span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
}

.option-card h2 {
  margin-bottom: 8px;
}

.option-card p {
  color: var(--muted);
  line-height: 1.5;
}

.option-card b {
  display: block;
  margin-top: 18px;
  color: var(--text);
}

.feature-row {
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.feature-row.active {
  outline: 2px solid var(--primary-line);
  background: white;
}

.workspace-plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.workspace-plan article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 14px;
}

.workspace-plan h3 {
  margin-bottom: 10px;
  font-size: 13px;
}

.workspace-plan span,
.workspace-plan p {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}

.workspace-plan em {
  color: var(--primary);
  font-style: normal;
  font-weight: 800;
}

/* MP01 one-page module picker */
.one-page-home {
  border-bottom: 1px solid var(--line-soft);
}

.home-preview-row {
  max-width: 1100px;
  margin: 0 auto 72px;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-preview-row article {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.home-preview-row b {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}

.home-preview-row h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.home-preview-row p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.front-module-picker {
  max-width: 1360px;
  margin: 0 auto 80px;
  padding: 22px 56px 0;
  display: grid;
  gap: 16px;
}

.front-module-picker > * {
  min-width: 0;
}

.front-section-head span {
  color: var(--primary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.front-module-title {
  display: grid;
  gap: 8px;
  padding: 6px 0 2px;
  justify-items: center;
  text-align: center;
}

.front-module-title h2 {
  max-width: 900px;
  color: var(--text);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.front-module-title p {
  max-width: 760px;
  color: #64748b;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.front-picker-section,
.front-build-strip {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  min-width: 0;
  width: 100%;
}

.front-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.front-section-head h2 {
  margin-top: 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.front-section-head p {
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.front-prebuilt-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}

.front-lite-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}

.front-lite-hero-card {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border: 1.5px solid var(--primary-line);
  border-top: 4px solid var(--primary);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-soft), white 68%);
  padding: 22px;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.1);
}

.front-lite-hero-card:hover,
.front-lite-hero-card.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(124, 58, 237, 0.16);
}

.front-lite-hero-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: white;
  color: var(--primary);
  padding: 0 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.front-lite-hero-card h3 {
  margin: 18px 0 8px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.front-lite-hero-card p {
  max-width: 560px;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.front-lite-hero-card strong {
  display: block;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.45;
}

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

.front-lite-card {
  min-height: 116px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 13px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.front-lite-card:hover,
.front-lite-card.active {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.12);
}

.front-lite-card span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0 9px;
  font-size: 10px;
  font-weight: 900;
}

.front-lite-card h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.front-lite-card p {
  color: #475569;
  font-size: 12px;
  line-height: 1.4;
}

.front-lite-card strong {
  display: none;
  margin-top: 10px;
  color: #475569;
  font-size: 11px;
  line-height: 1.35;
}

.front-prebuilt-row .prebuilt-card {
  flex: 0 0 212px;
  min-height: 238px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 4px solid var(--card-accent);
  scroll-snap-align: start;
}

.front-prebuilt-row .prebuilt-card.active,
.prebuilt-row .prebuilt-card.active {
  border-color: var(--card-accent);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--card-accent) 22%, transparent);
  transform: translateY(-2px);
}

.front-prebuilt-row .prebuilt-card img,
.front-prebuilt-row .prebuilt-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: color-mix(in srgb, var(--card-accent) 8%, white);
  border-bottom: 1px solid var(--line-soft);
}

.front-prebuilt-row .prebuilt-copy {
  padding: 13px;
}

.front-prebuilt-row .prebuilt-copy p {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.front-build-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.95fr) minmax(260px, 0.75fr);
  gap: 16px;
  align-items: end;
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
}

.front-compact-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.front-compact-group > b,
.front-build-cta span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.front-chip-row,
.front-style-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.front-choice-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #475569;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.front-choice-chip.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.front-style-row .color-swatch {
  min-width: 62px;
  min-height: 42px;
}

.front-build-cta {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.front-build-cta strong {
  font-size: 18px;
}

.front-build-cta .purple-btn {
  width: 100%;
  max-width: 100%;
}

.front-notice {
  max-width: 720px;
  margin: 12px auto 0;
}

.module-picker-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px 56px 74px;
}

.picker-head {
  max-width: 920px;
  margin-bottom: 26px;
}

.picker-head h1 {
  margin: 12px 0 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.picker-head > p {
  color: #475569;
  font-size: 18px;
  line-height: 1.55;
  max-width: 690px;
  margin-bottom: 18px;
}

.asked-card,
.recommended-line {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.asked-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  color: var(--muted);
  margin-bottom: 12px;
}

.asked-card b {
  color: var(--text);
}

.recommended-line {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border-color: var(--primary-line);
  background: linear-gradient(135deg, var(--primary-soft), white 70%);
}

.recommended-line strong {
  color: #5b21b6;
  font-size: 19px;
}

.recommended-line span {
  color: var(--text);
  font-weight: 800;
}

.recommended-line em {
  color: #6d28d9;
  font-style: normal;
  font-weight: 800;
  font-size: 14px;
}

.picker-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow);
}

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

.section-title h2 {
  margin-top: 9px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.section-title p {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.lite-picker-grid {
  display: block;
}

.layout-column h3 {
  margin-bottom: 10px;
  font-size: 14px;
  color: #475569;
}

.layout-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 2px 2px 12px;
}

.layout-card {
  min-width: 0;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.layout-card:hover,
.layout-card.active {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.14);
}

.layout-card b {
  margin: 8px 0 4px;
  font-size: 13px;
}

.layout-card span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-card em {
  margin-top: 9px;
  color: var(--primary);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.layout-mini {
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, white);
  border-radius: 10px;
  background: white;
  padding: 7px;
}

.layout-mini.pipeline-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.layout-mini.pipeline-board i {
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 12%, white);
}

.layout-mini.contact-table {
  display: grid;
  gap: 7px;
}

.layout-mini.contact-table span {
  height: auto;
  border-radius: 6px;
  background: #eef2f7;
}

.layout-mini.dashboard-first {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.layout-mini.dashboard-first b,
.layout-mini.dashboard-first em {
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 14%, white);
}

.layout-mini.dashboard-first em {
  grid-column: 1 / -1;
}

.layout-mini.client-intake {
  display: grid;
  gap: 7px;
}

.layout-mini.client-intake u,
.layout-mini.client-intake strong {
  border-radius: 7px;
  background: #eef2f7;
  text-decoration: none;
}

.layout-mini.client-intake strong {
  background: var(--primary);
}

.layout-mini.operator-console {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 7px;
}

.layout-mini.operator-console small {
  border-radius: 7px;
  background: #eef2f7;
}

.layout-mini.operator-console small:first-child {
  grid-row: span 3;
  background: color-mix(in srgb, var(--primary) 16%, white);
}

.layout-preview-card {
  position: static;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcff;
  padding: 14px;
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) minmax(250px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
}

.preview-headline {
  display: grid;
  align-content: start;
  gap: 4px;
  margin: 0;
}

.preview-headline span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.layout-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  display: block;
}

.feature-line {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line-soft);
}

.feature-line b,
.color-picker b {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-line span {
  display: block;
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
}

.color-picker > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.color-swatch {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: #475569;
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
  gap: 4px;
}

.color-swatch span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--swatch) 14%, white);
}

.color-swatch.active {
  border-color: var(--swatch);
  color: var(--text);
}

.full {
  width: 100%;
  align-self: end;
}

.layout-preview-card .build-request-panel {
  grid-column: 1 / -1;
  margin-top: 0;
}

.or-divider {
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dim);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.or-divider span {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.prebuilt-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}

.prebuilt-row .prebuilt-card {
  flex: 0 0 226px;
  min-height: 268px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 4px solid var(--card-accent);
  scroll-snap-align: start;
}

.prebuilt-row .prebuilt-card:hover {
  box-shadow: 0 16px 36px color-mix(in srgb, var(--card-accent) 18%, transparent);
  transform: translateY(-2px);
}

.prebuilt-row .prebuilt-card img,
.prebuilt-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: color-mix(in srgb, var(--card-accent) 8%, white);
  border-bottom: 1px solid var(--line-soft);
}

.prebuilt-fallback {
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
  color: var(--card-accent);
}

.prebuilt-copy {
  padding: 15px;
}

.prebuilt-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 10%, white);
  color: var(--card-accent);
  padding: 0 9px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.prebuilt-copy h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.prebuilt-copy p {
  color: var(--muted);
  min-height: 50px;
  line-height: 1.45;
  font-size: 12px;
}

.prebuilt-copy strong {
  display: block;
  margin-top: 12px;
  color: var(--card-accent);
  font-size: 12px;
}

/* H03 simplified Builder workspace */
.one-page-builder {
  --active: var(--accent);
}

.color-purple {
  --active: #7c3aed;
}

.color-blue {
  --active: #2563eb;
}

.color-green {
  --active: #059669;
}

.color-slate {
  --active: #475569;
}

.color-warm {
  --active: #d97706;
}

.builder-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.one-page-builder .side-item.active,
.one-page-builder .purple-btn,
.one-page-builder .send {
  background: var(--active);
}

.one-page-builder .crm-preview-surface,
.one-page-builder .prebuilt-preview-surface {
  border: 1px solid var(--line);
  border-top: 4px solid var(--active);
  border-radius: 18px;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow);
}

.crm-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.crm-preview-head span {
  color: var(--active);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-preview-head h2 {
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.crm-preview-head p {
  color: var(--muted);
  font-weight: 700;
  max-width: 360px;
  line-height: 1.45;
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border: 1.5px solid color-mix(in srgb, var(--active) 24%, white);
  border-radius: 12px;
  background: color-mix(in srgb, var(--active) 5%, white);
  padding: 10px 12px;
}

.preview-search span {
  color: var(--active);
  font-weight: 900;
  font-size: 12px;
}

.preview-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.contact-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.contact-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr 1.4fr;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line-soft);
  background: white;
  font-size: 13px;
}

.contact-table > div:last-child {
  border-bottom: 0;
}

.contact-table .table-head {
  background: color-mix(in srgb, var(--active) 8%, white);
  color: var(--active);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-preview {
  display: grid;
  gap: 14px;
}

.dashboard-preview .chart-card {
  min-height: 190px;
  display: flex;
  align-items: end;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 18px;
}

.dashboard-preview .chart-card span {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: color-mix(in srgb, var(--active) 18%, white);
}

.dashboard-preview .chart-card span:nth-child(1) {
  height: 42%;
}

.dashboard-preview .chart-card span:nth-child(2) {
  height: 62%;
}

.dashboard-preview .chart-card span:nth-child(3) {
  height: 50%;
}

.dashboard-preview .chart-card span:nth-child(4) {
  height: 78%;
}

.dashboard-preview .chart-card span:nth-child(5) {
  height: 66%;
}

.intake-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.intake-preview section,
.intake-preview aside,
.operator-console-preview .ops-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 18px;
}

.intake-preview h3 {
  margin-bottom: 12px;
}

.intake-preview label {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.intake-preview input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 10px;
  color: var(--text);
}

.preview-action {
  min-height: 40px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--active);
  color: white;
  font-weight: 900;
  opacity: 0.72;
}

.intake-preview aside,
.operator-console-preview .ops-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.intake-preview aside span,
.operator-console-preview span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  background: white;
  border: 1px solid var(--line-soft);
  padding: 0 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.operator-console-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.operator-console-preview em {
  color: var(--active);
  font-style: normal;
  font-size: 11px;
}

.prebuilt-workspace-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 18px;
}

.prebuilt-workspace-preview img,
.prebuilt-fallback.large {
  width: 100%;
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: color-mix(in srgb, var(--card-accent) 7%, white);
}

.prebuilt-fallback.large {
  display: grid;
  place-items: center;
  color: var(--card-accent);
  font-size: 70px;
}

.prebuilt-workspace-preview aside {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.prebuilt-workspace-preview aside span {
  border: 1px solid var(--line-soft);
  background: white;
  border-radius: 9px;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.build-summary {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.build-summary-rail {
  box-shadow: none;
}

.build-summary-wide {
  display: none;
}

.connector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.connector-tags span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
}

.connector-tags em {
  color: var(--warn);
  font-style: normal;
}

.notice {
  margin-bottom: 12px;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.build-request-panel {
  margin-top: 16px;
  border: 1.5px solid color-mix(in srgb, var(--primary) 35%, white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), white 72%);
  padding: 16px;
}

.build-request-panel > span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.build-request-panel h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.build-request-panel p {
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.build-request-panel dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 12px 0;
}

.build-request-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: white;
  padding: 8px 10px;
}

.build-request-panel dt {
  color: var(--dim);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.build-request-panel dd {
  margin: 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.build-request-panel small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}

.request-actions {
  display: grid;
  gap: 8px;
}

.request-actions button {
  min-height: 36px;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: white;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.request-actions button:last-child {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

@media (max-width: 1180px) {
  .builder-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .kai-rail {
    grid-column: 1 / -1;
    min-height: 520px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pipeline-board,
  .kpi-row,
  .option-grid.three,
  .workspace-plan,
  .module-hero-card,
  .module-work-grid,
  .style-grid,
  .lite-picker-grid,
  .layout-card-grid,
  .prebuilt-workspace-preview,
  .intake-preview,
  .operator-console-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-preview-card {
    position: static;
    grid-template-columns: minmax(160px, 0.7fr) minmax(240px, 1fr);
  }

  .layout-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lite-picker-grid {
    display: block;
  }
}

@media (max-width: 820px) {
  .value-banner,
  .site-nav,
  .home-hero,
  .front-module-picker,
  .pick-cta,
  .module-section,
  .module-page,
  .module-picker-page,
  .flow-nav,
  .stage-bar,
  .features-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-nav,
  .flow-nav,
  .builder-topbar,
  .builder-page-head,
  .cta-card,
  .feature-cta,
  .section-title,
  .front-section-head,
  .crm-preview-head {
    flex-wrap: wrap;
  }

  .nav-links,
  .topbar-tools {
    display: none;
  }

  .home-prompt,
  .kai-composer {
    flex-direction: column;
    align-items: stretch;
  }

  .pick-cta,
  .stage-row,
  .label-bar,
  .filter-bar,
  .chat-actions,
  .choice-row {
    flex-wrap: wrap;
  }

  .module-scroller {
    padding-right: 20px;
  }

  .module-card-row,
  .module-card-row.three,
  .prebuilt-grid,
  .home-preview-row,
  .front-lite-layout,
  .front-lite-small-grid,
  .front-build-strip,
  .pipeline-board,
  .option-grid,
  .option-grid.three,
  .workspace-plan,
  .kpi-row,
  .fake-kpis,
  .fake-grid,
  .module-hero-card,
  .module-work-grid,
  .lite-feature-grid,
  .addon-grid,
  .style-grid,
  .lite-picker-grid,
  .layout-card-grid,
  .prebuilt-workspace-preview,
  .intake-preview,
  .operator-console-preview,
  .contact-table > div,
  .preview-columns,
  .build-summary dl {
    grid-template-columns: 1fr;
  }

  .home-preview-row {
    padding-left: 20px;
    padding-right: 20px;
  }

  .color-picker > div {
    grid-template-columns: repeat(3, 1fr);
  }

  .layout-preview-card {
    grid-template-columns: 1fr;
  }

  .layout-card-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .layout-card {
    flex-basis: 156px;
    scroll-snap-align: start;
  }

  .fake-app,
  .builder-shell {
    grid-template-columns: 1fr;
  }

  .builder-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .builder-brand {
    min-width: auto;
  }
}

/* H03 architecture-compliant app-first workspace */
.h03-topbar {
  height: 58px;
  padding: 0 14px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.h03-back {
  min-height: 34px;
  padding-inline: 12px;
}

.h03-brand {
  min-width: 210px;
}

.h03-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.h03-context span {
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}

.h03-context em {
  min-width: 0;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h03-status,
.h03-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.h03-status span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}

.h03-workspace {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  background: #eef2f7;
}

.h03-workspace.nav-expanded {
  grid-template-columns: 196px minmax(0, 1fr);
}

.h03-left-nav {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 10px;
  overflow: hidden auto;
  z-index: 10;
}

.h03-left-nav section,
.h03-left-nav .selected-module {
  display: none;
}

.h03-left-nav nav {
  display: grid;
  gap: 6px;
}

.h03-nav-toggle,
.h03-left-nav .side-item {
  width: 100%;
  min-height: 42px;
  border-radius: 11px;
  border-left: 0;
  padding: 0 11px;
  justify-content: flex-start;
}

.h03-nav-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 900;
}

.h03-nav-toggle span,
.h03-left-nav .side-item span {
  width: 22px;
  text-align: center;
  flex: 0 0 22px;
}

.h03-nav-toggle b,
.h03-left-nav .side-item b {
  font-size: 12px;
  font-weight: 850;
}

.h03-workspace.nav-collapsed .h03-nav-toggle b,
.h03-workspace.nav-collapsed .h03-left-nav .side-item b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.h03-left-nav .side-item.active {
  background: var(--active);
  color: white;
}

.h03-app-canvas {
  min-width: 0;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.7) 220px),
    #eef2f7;
}

.h03-app-header {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 10px;
}

.h03-app-header span {
  color: var(--active);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h03-app-header h1 {
  margin-top: 4px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.h03-canvas-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
  color: #475569;
  font-weight: 800;
}

.h03-canvas-switcher span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.h03-canvas-switcher select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
}

.h03-app-preview {
  padding: 0 18px 22px;
}

.h03-app-preview > div {
  min-height: calc(100vh - 172px);
}

.one-page-builder .crm-preview-surface,
.one-page-builder .prebuilt-preview-surface {
  min-height: calc(100vh - 172px);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
}

.crm-preview-head {
  margin-bottom: 14px;
}

.h03-active-view {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--active) 18%, white);
  border-radius: 14px;
  padding: 11px 13px;
  background: color-mix(in srgb, var(--active) 5%, white);
}

.h03-active-view span {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--active);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.h03-active-view p {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
  max-width: none;
}

.preview-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.preview-columns .pipeline-col {
  min-height: 520px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.contact-table,
.dashboard-preview,
.intake-preview,
.operator-console-preview,
.prebuilt-workspace-preview {
  flex: 1;
}

.dashboard-preview .chart-card {
  min-height: 330px;
}

.prebuilt-workspace-preview {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: stretch;
}

.prebuilt-workspace-preview img,
.prebuilt-fallback.large {
  min-height: 560px;
  height: calc(100vh - 310px);
  object-fit: contain;
  padding: 10px;
  background: white;
}

.h03-drawer-backdrop {
  position: fixed;
  inset: 58px 0 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(2px);
}

.h03-drawer {
  position: fixed;
  top: 58px;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(540px, calc(100vw - 20px));
  background: white;
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 44px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.h03-drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.h03-drawer-head div {
  flex: 1;
  min-width: 0;
}

.h03-drawer-head span {
  color: var(--active);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h03-drawer-head h2 {
  margin-top: 3px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.h03-drawer-head button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.kai-command-panel {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  gap: 9px;
}

.kai-command-panel label,
.h03-command-section h3,
.h03-command-grid h3,
.h03-history h3 {
  color: #475569;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kai-command-panel textarea {
  min-height: 82px;
  resize: vertical;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  outline: 0;
  line-height: 1.45;
}

.kai-command-panel textarea:focus {
  border-color: var(--active);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--active) 12%, transparent);
}

.kai-command-panel .purple-btn {
  width: 100%;
}

.kai-command-panel small,
.empty-state {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.h03-command-section,
.h03-command-grid,
.h03-history,
.h03-summary-list,
.h03-summary-note,
.h03-summary-actions {
  margin: 0 20px;
}

.h03-command-section {
  padding: 16px 0;
}

.h03-suggested-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.h03-suggested-actions button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.h03-command-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: auto;
}

.h03-command-grid article,
.h03-history {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #fbfcff;
}

.h03-command-card {
  margin-top: 9px;
  border-radius: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  background: white;
}

.h03-command-card b,
.h03-command-card span {
  display: block;
}

.h03-command-card b {
  font-size: 13px;
  margin-bottom: 3px;
}

.h03-command-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.h03-command-card.applied {
  border-color: color-mix(in srgb, var(--good) 32%, white);
}

.h03-command-card.auth {
  border-color: #fed7aa;
  background: #fff7ed;
}

.h03-command-card.blocked {
  border-color: #fecaca;
  background: #fef2f2;
}

.h03-history {
  margin-top: 10px;
  margin-bottom: 20px;
  overflow: auto;
}

.h03-history-row {
  margin-top: 8px;
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.h03-history-row:first-of-type {
  border-top: 0;
}

.h03-history-row span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h03-history-row b {
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.h03-summary-drawer {
  width: min(580px, calc(100vw - 20px));
}

.h03-summary-list {
  padding: 18px 0;
  display: grid;
  gap: 10px;
}

.h03-summary-list div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 13px 14px;
}

.h03-summary-list span,
.h03-summary-list b {
  display: block;
}

.h03-summary-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h03-summary-list b {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.h03-summary-note {
  color: var(--muted);
  border: 1px solid var(--primary-line);
  background: var(--primary-soft);
  border-radius: 14px;
  padding: 13px 14px;
  line-height: 1.45;
  font-size: 13px;
}

.h03-summary-actions {
  margin-top: auto;
  padding: 16px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h03-summary-actions button {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: #475569;
  font-weight: 900;
}

.h03-summary-actions button:first-child {
  background: var(--active);
  color: white;
  border-color: var(--active);
}

@media (max-width: 900px) {
  .h03-topbar {
    min-height: 112px;
    height: auto;
    flex-wrap: wrap;
    align-content: center;
  }

  .h03-brand,
  .h03-context {
    min-width: 0;
  }

  .h03-status {
    order: 4;
  }

  .h03-top-actions {
    margin-left: auto;
  }

  .h03-workspace,
  .h03-workspace.nav-expanded {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 112px);
  }

  .h03-left-nav {
    position: sticky;
    top: 112px;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
  }

  .h03-left-nav nav {
    display: flex;
    gap: 6px;
  }

  .h03-nav-toggle,
  .h03-left-nav .side-item {
    flex: 0 0 auto;
    width: auto;
  }

  .h03-workspace.nav-collapsed .h03-left-nav .side-item b,
  .h03-workspace.nav-collapsed .h03-nav-toggle b {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .h03-app-header {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-columns,
  .prebuilt-workspace-preview,
  .operator-console-preview,
  .intake-preview {
    grid-template-columns: 1fr;
  }

  .one-page-builder .crm-preview-surface,
  .one-page-builder .prebuilt-preview-surface,
  .h03-app-preview > div {
    min-height: auto;
  }

  .prebuilt-workspace-preview img,
  .prebuilt-fallback.large {
    min-height: 320px;
    height: auto;
  }

  .h03-drawer-backdrop {
    inset: 0;
  }

  .h03-drawer {
    top: 0;
    width: 100vw;
  }
}
