/* StructCanvas remap layer — synced to the Figma foundation created in August 2026. */
:root {
  --surface-app: #fff;
  --surface-canvas: #f8f9fb;
  --surface-sidebar: #f4f5f7;
  --surface-subtle: #f6f7f9;
  --surface-selected: #edf6ff;
  --surface-node-top: #242838;
  --surface-node-bottom: #1e2231;
  --text-primary: #323338;
  --text-secondary: #565966;
  --text-muted: #787b88;
  --text-inverse: #fff;
  --text-action: #0073ea;
  --border-default: #dfe3eb;
  --border-strong: #c9ced8;
  --border-focus: #0073ea;
  --action-primary: #0073ea;
  --action-primary-hover: #0065cf;
  --action-secondary: #6161ff;
  --status-success: #00a86b;
  --status-warning: #e38b00;
  --status-danger: #d83a52;
  --node-idea: #8f45ee;
  --node-goal: #df3f72;
  --node-task: #1687e8;
  --node-dependency: #d99508;
  --node-cost: #00a56b;
  --node-revenue: #00a875;
  --node-resource: #dc9500;
  --node-risk: #df4552;
  --node-milestone: #8150da;
  --node-decision: #cf4c82;
  --node-metric: #079bc3;
  --node-note: #d49a00;
  --space-050: 2px;
  --space-100: 4px;
  --space-150: 6px;
  --space-200: 8px;
  --space-250: 10px;
  --space-300: 12px;
  --space-400: 16px;
  --space-500: 20px;
  --space-600: 24px;
  --space-800: 32px;
  --radius-100: 4px;
  --radius-150: 6px;
  --radius-200: 8px;
  --radius-250: 10px;
  --radius-300: 12px;
  --radius-full: 999px;
  --font-family-sans: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, sans-serif;
  --motion-fast: 140ms;
  --motion-standard: 220ms;
  --motion-slow: 360ms;
  --ease-product: cubic-bezier(.2, .75, .25, 1);
  --shadow-subtle: 0 1px 2px rgba(22, 30, 43, .04);
  --shadow-card: 0 3px 12px rgba(29, 38, 51, .05);
  --shadow-overlay: 0 22px 65px rgba(30, 39, 52, .2);
}

html {
  color-scheme: light;
  font-family: var(--font-family-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.theme-business {
  color: var(--text-primary);
  background: var(--surface-app);
}

.theme-business button,
.theme-business input,
.theme-business textarea,
.theme-business select {
  font-family: inherit;
}

.theme-business button,
.theme-business [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

.theme-business :is(button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--border-focus) 28%, transparent);
  outline-offset: 2px;
}

/* Dashboard: calmer hierarchy and predictable reading width. */
.theme-business .dash-header,
.theme-business .idea-hero,
.theme-business .dashboard-section {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
}

.theme-business .dash-header {
  padding-top: 42px;
  padding-bottom: 26px;
}

.theme-business .dash-header h1 {
  color: var(--text-primary);
  font-size: clamp(28px, 2.2vw, 34px);
  line-height: 1.15;
}

.theme-business .idea-hero {
  border-color: var(--border-default);
  border-radius: var(--radius-300);
  background:
    radial-gradient(circle at 88% 0, rgba(0, 115, 234, .09), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(97, 97, 255, .075), transparent 36%),
    var(--surface-app);
  box-shadow: 0 12px 34px rgba(33, 43, 57, .075);
}

.theme-business .idea-copy h2 {
  max-width: 760px;
  color: var(--text-primary);
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.14;
}

.theme-business .idea-copy p,
.theme-business .dash-header p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.theme-business .project-card,
.theme-business .template-card,
.theme-business .activity-item {
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-standard) var(--ease-product),
    transform var(--motion-standard) var(--ease-product);
}

/* Workspace: business-product density without miniature labels. */
.theme-business .workspace-header {
  flex-basis: 72px;
  min-height: 72px;
  border-color: var(--border-default);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 4px rgba(35, 43, 53, .06);
  backdrop-filter: blur(12px);
}

.theme-business .workspace-body {
  grid-template-columns: clamp(184px, 15vw, 220px) minmax(0, 1fr) clamp(330px, 27vw, 360px);
  background: var(--surface-canvas);
  transition: grid-template-columns var(--motion-standard) var(--ease-product);
}

.theme-business .workspace-body.library-collapsed {
  grid-template-columns: 64px minmax(0, 1fr) clamp(330px, 27vw, 360px);
}

.theme-business .node-toolbar {
  padding: 14px 11px 12px;
  border-color: var(--border-default);
  background: var(--surface-sidebar);
}

.theme-business .sidebar-new-project {
  min-height: 42px;
  margin-bottom: 12px;
  border-radius: var(--radius-200);
  background: var(--action-primary);
  font-size: 11.5px;
  box-shadow: 0 4px 10px rgba(0, 115, 234, .18);
}

.theme-business .workspace-side-nav {
  gap: 3px;
}

.theme-business .workspace-side-nav button {
  min-height: 40px;
  padding-inline: 10px;
  gap: 10px;
  border-radius: var(--radius-200);
  color: var(--text-secondary);
  font-size: 11.5px;
  line-height: 1.25;
}

.theme-business .workspace-side-nav button .icon {
  width: 17px;
  height: 17px;
}

.theme-business .workspace-side-nav button.active {
  color: #006ad8;
  border-color: #c6def5;
  background: var(--surface-selected);
}

.theme-business .workspace-user-card {
  min-height: 50px;
  margin-top: 6px;
  padding: 7px;
}

.theme-business .workspace-user-card strong {
  font-size: 11px;
}

.theme-business .workspace-user-card small {
  font-size: 9.5px;
}

.theme-business .view-tabs button {
  min-width: 66px;
  padding-inline: 10px;
  color: #666a76;
  font-size: 11.5px;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.theme-business .workspace-actions {
  gap: 7px;
}

.theme-business .workspace-actions .button,
.theme-business .workspace-actions .top-action,
.theme-business .share-button {
  min-height: 36px;
  font-size: 10.5px;
}

/* Canvas and blocks */
.theme-business .node-canvas {
  touch-action: none;
  overscroll-behavior: contain;
  cursor: grab;
}

.theme-business .node-canvas.is-panning,
.theme-business .node-canvas.pan-mode.is-panning {
  cursor: grabbing;
}

.theme-business #scene {
  transform-origin: 0 0;
  will-change: transform;
}

.theme-business .graph-node.compact-business-node,
.theme-business .graph-node.compact-business-node.type-idea {
  width: 224px;
  min-height: 84px;
  height: 84px;
  border-radius: var(--radius-200);
  background: linear-gradient(145deg, var(--surface-node-top), var(--surface-node-bottom));
  box-shadow: 0 5px 12px rgba(31, 38, 52, .15);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-standard) var(--ease-product),
    transform var(--motion-standard) var(--ease-product);
}

.theme-business .compact-business-node .node-head {
  height: 84px;
  min-height: 84px;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  gap: 10px;
  padding: 10px 9px 10px 11px;
}

.theme-business .compact-business-node .node-icon {
  width: 33px;
  height: 33px;
}

.theme-business .node-card-copy h4 {
  color: var(--text-inverse);
  font-size: 12px;
  line-height: 1.28;
}

.theme-business .node-card-copy small {
  color: #c8ced8;
  font-size: 9.5px;
}

.theme-business .graph-node.dragging,
.theme-business .graph-node.dragging-with-group {
  transition: none;
  will-change: left, top, transform;
}

.theme-business .block-library-panel {
  width: 304px;
  border-color: var(--border-default);
  box-shadow: 15px 0 38px rgba(39, 48, 61, .12);
}

/* Keep the Building Blocks drawer above the canvas tools and remove the
   covered controls from the pointer/focus path while the drawer is open. */
.theme-business .node-toolbar.blocks-open {
  z-index: 60;
  overflow: visible;
}

.theme-business .canvas-tool-rail {
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-standard) var(--ease-product),
    visibility var(--motion-fast) ease;
}

.theme-business .node-toolbar.blocks-open + .project-content .canvas-tool-rail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
}

.theme-business .node-toolbar .block-library-panel .node-tools .tool-button {
  min-height: 62px;
  border-radius: var(--radius-200);
}

.theme-business .node-toolbar .block-library-panel .node-tools .tool-copy b {
  font-size: 11px;
}

.theme-business .node-toolbar .block-library-panel .node-tools .tool-copy small {
  font-size: 9.5px;
  line-height: 1.35;
}

/* Canvas mode controls need enough room for the label, helper text, and key. */
.theme-business .node-toolbar .block-library-panel .mode-tools {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.theme-business .node-toolbar .block-library-panel .mode-tools .tool-button {
  grid-template-columns: 22px minmax(0, 1fr) 24px;
  min-height: 60px;
  padding: 8px 10px;
  column-gap: 10px;
}

.theme-business .node-toolbar .block-library-panel .mode-tools .tool-copy {
  width: 100%;
  min-width: 0;
}

.theme-business .node-toolbar .block-library-panel .mode-tools .tool-copy b,
.theme-business .node-toolbar .block-library-panel .mode-tools .tool-copy small {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.theme-business .node-toolbar .block-library-panel .mode-tools kbd {
  position: static;
  width: 24px;
  min-width: 24px;
  margin: 0;
  padding-inline: 0;
  justify-self: end;
  text-align: center;
}

/* Inclusive plan setup: every idea can start with a real-world budget. */
.theme-business .composer-planning-row {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) 160px minmax(360px, 1.6fr);
  align-items: center;
  gap: 10px 12px;
  margin: 2px 12px 10px;
  padding: 12px;
  border: 1px solid #e0e4ea;
  border-radius: var(--radius-200);
  background: #f8f9fb;
}

.theme-business .composer-budget-heading {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.theme-business .composer-budget-heading > span:first-child {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #c9def3;
  border-radius: 8px;
  color: #0073ea;
  background: #edf6ff;
}

.theme-business .composer-budget-heading .icon {
  width: 16px;
  height: 16px;
}

.theme-business .composer-budget-heading strong,
.theme-business .composer-budget-heading small {
  display: block;
}

.theme-business .composer-budget-heading strong {
  color: #343942;
  font-size: 11px;
}

.theme-business .composer-budget-heading small {
  margin-top: 3px;
  color: #838b97;
  font-size: 9px;
}

.theme-business .composer-budget-input {
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #d2d8e0;
  border-radius: 8px;
  background: #fff;
}

.theme-business .composer-budget-input:focus-within {
  border-color: #0073ea;
  box-shadow: 0 0 0 3px rgba(0, 115, 234, .09);
}

.theme-business .composer-budget-input > span {
  padding-left: 11px;
  color: #687381;
  font-size: 11px;
  font-weight: 700;
}

.theme-business .composer-budget-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 10px 0 5px;
  border: 0;
  outline: 0;
  color: #303640;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.theme-business .composer-budget-input input::placeholder {
  color: #9aa1ac;
  font-weight: 500;
}

.theme-business .budget-presets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.theme-business .budget-presets button {
  min-height: 34px;
  padding: 0 7px;
  border: 1px solid #d7dce3;
  border-radius: 7px;
  color: #5d6673;
  background: #fff;
  font-size: 9.5px;
  font-weight: 700;
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.theme-business .budget-presets button:hover {
  color: #006bd8;
  border-color: #a9cdef;
  background: #f4f9ff;
}

.theme-business .budget-presets button.active {
  color: #fff;
  border-color: #0073ea;
  background: #0073ea;
}

.theme-business .budget-guidance {
  grid-column: 1 / -1;
  color: #737d89;
  font-size: 9.5px;
  line-height: 1.4;
}

.theme-business .budget-guidance b {
  color: #006bd8;
}

/* Building-block appearance control. */
.theme-business .block-theme-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.theme-business .block-theme-switch button {
  min-width: 0;
  min-height: 62px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 7px 4px;
  border: 1px solid #dce1e7;
  border-radius: 8px;
  color: #626b77;
  background: #fff;
  text-align: center;
}

.theme-business .block-theme-switch button:hover {
  color: #006bd8;
  border-color: #b9d5ef;
  background: #f6faff;
}

.theme-business .block-theme-switch button.active {
  color: #006bd8;
  border-color: #9bc8ef;
  background: #eaf5ff;
  box-shadow: inset 0 -2px #0073ea;
}

.theme-business .block-theme-switch button span,
.theme-business .block-theme-switch button b {
  display: block;
  min-width: 0;
}

.theme-business .block-theme-switch button b {
  font-size: 9.5px;
}

.theme-business .block-theme-switch button small {
  display: none;
}

.theme-business .theme-swatch {
  width: 27px;
  height: 18px;
  display: block;
  border: 1px solid #cfd5dd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(31, 38, 52, .09);
}

.theme-business .theme-swatch.current { border-color: #303849; background: linear-gradient(145deg, #242838, #1e2231); }
.theme-business .theme-swatch.white { background: linear-gradient(145deg, #fff, #f2f4f7); }
.theme-business .theme-swatch.black { border-color: #050608; background: linear-gradient(145deg, #17191d, #050608); }

/* White nodes: quiet, document-like cards with colored structure. */
body.theme-business.block-theme-white .graph-node.compact-business-node,
body.theme-business.block-theme-white .graph-node.compact-business-node.type-idea,
body.theme-business.block-theme-white .graph-node.compact-business-node.type-note {
  color: #252b34;
  border-color: color-mix(in srgb, var(--node-color) 46%, #d5dbe3);
  background: linear-gradient(145deg, #fff, #f5f7f9);
  box-shadow: 0 5px 13px rgba(35, 44, 57, .10);
}

body.theme-business.block-theme-white .graph-node.compact-business-node:hover {
  background: #fff;
  box-shadow: 0 9px 20px rgba(35, 44, 57, .14);
}

body.theme-business.block-theme-white .node-card-copy h4 { color: #272d36; }
body.theme-business.block-theme-white .node-card-copy small { color: #727c89; }
body.theme-business.block-theme-white .compact-business-node .node-icon {
  border-color: color-mix(in srgb, var(--node-color) 32%, #d9dee5);
  background: color-mix(in srgb, var(--node-color) 10%, #fff);
}
body.theme-business.block-theme-white .compact-business-node .node-menu-button { color: #8a929e; }
body.theme-business.block-theme-white .compact-business-node .node-menu-button:hover { color: #2d3440; background: #e9edf2; }

/* Black nodes: maximum contrast without changing the light operating canvas. */
body.theme-business.block-theme-black .graph-node.compact-business-node,
body.theme-business.block-theme-black .graph-node.compact-business-node.type-idea,
body.theme-business.block-theme-black .graph-node.compact-business-node.type-note {
  color: #fff;
  border-color: color-mix(in srgb, var(--node-color) 62%, #11151b);
  background: linear-gradient(145deg, #17191d, #07080a);
  box-shadow: 0 7px 16px rgba(14, 18, 24, .24);
}

body.theme-business.block-theme-black .graph-node.compact-business-node:hover {
  background: linear-gradient(145deg, #202329, #0a0b0e);
  box-shadow: 0 11px 24px rgba(14, 18, 24, .3);
}

body.theme-business.block-theme-black .node-card-copy h4 { color: #fff; }
body.theme-business.block-theme-black .node-card-copy small { color: #b9c0ca; }
body.theme-business.block-theme-black .compact-business-node .node-icon {
  border-color: color-mix(in srgb, var(--node-color) 46%, #20252d);
  background: color-mix(in srgb, var(--node-color) 16%, #090b0e);
}
body.theme-business.block-theme-black .compact-business-node .node-menu-button { color: #7f8998; }
body.theme-business.block-theme-black .compact-business-node .node-menu-button:hover { color: #fff; background: #272b32; }

/* Inspector: readable enough to use in a client meeting. */
.theme-business .inspector {
  min-height: 0;
  overflow: hidden;
  border-color: var(--border-default);
  background: var(--surface-app);
}

.theme-business .inspector-header {
  min-height: 68px;
  padding-inline: 17px;
}

.theme-business .inspector-header small,
.theme-business .insight-section-title small,
.theme-business .insight-strength-card > small,
.theme-business .insight-health-card > small {
  font-size: 9.5px;
  letter-spacing: .065em;
}

.theme-business .inspector-header strong {
  font-size: 12.5px;
}

.theme-business .inspector-tabs button {
  min-height: 36px;
  font-size: 10.5px;
}

.theme-business .inspector-scroll {
  min-height: 0;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #b8c1cc transparent;
}
.theme-business .inspector-scroll::-webkit-scrollbar { width: 8px; }
.theme-business .inspector-scroll::-webkit-scrollbar-track { background: transparent; }
.theme-business .inspector-scroll::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #b8c1cc;
}
.theme-business .inspector-scroll::-webkit-scrollbar-thumb:hover { background: #909ba8; }
.theme-business .inspector-scroll:focus-visible {
  outline: 2px solid rgba(0,115,234,.22);
  outline-offset: -2px;
}

.theme-business .insight-strength-card,
.theme-business .insight-health-card {
  padding: 15px;
  border-radius: var(--radius-250);
  box-shadow: var(--shadow-card);
}

.theme-business .insight-strength-card p,
.theme-business .insight-suggestions span small {
  font-size: 10px;
  line-height: 1.45;
}

.theme-business .insight-suggestions > button {
  min-height: 68px;
  padding: 9px;
  border-radius: var(--radius-200);
}

.theme-business .insight-suggestions span strong {
  font-size: 10.5px;
}

.theme-business .field-group label,
.theme-business .section-label,
.theme-business .linked-heading {
  font-size: 10.5px;
}

.theme-business .field-group :is(input, textarea, select) {
  min-height: 40px;
  font-size: 12px;
}

/* Alternate views keep the same readable rhythm. */
.theme-business .alt-view {
  background: var(--surface-canvas);
}

.theme-business .view-heading h2 {
  font-size: clamp(26px, 2.1vw, 32px);
}

.theme-business .view-heading p,
.theme-business .summary-banner p,
.theme-business .plan-section > p,
.theme-business .plan-side-card p {
  font-size: 11px;
  line-height: 1.55;
}

.theme-business :is(.plan-section, .plan-side-card, .kanban-column, .budget-card, .finance-scenario-section) {
  border-color: var(--border-default);
  border-radius: var(--radius-300);
  box-shadow: var(--shadow-card);
}

/* Modal and toast motion is restrained and consistent. */
.theme-business :is(.settings-modal, .team-modal, .billing-modal, .template-library-modal, .export-modal, .pro-modal, .growth-modal, .command-palette) {
  border-color: var(--border-default);
  box-shadow: var(--shadow-overlay);
}

.theme-business .modal-overlay:not(.is-hidden) > *,
.theme-business .command-overlay:not(.is-hidden) > * {
  animation: remap-dialog-in var(--motion-standard) var(--ease-product) both;
}

@keyframes remap-dialog-in {
  from { opacity: 0; transform: translateY(8px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .theme-business .composer-planning-row {
    grid-template-columns: minmax(180px, .8fr) 150px minmax(300px, 1.5fr);
  }

  .theme-business .workspace-body {
    grid-template-columns: 64px minmax(0, 1fr) 320px;
  }

  .theme-business .node-toolbar {
    padding-inline: 9px;
  }

  .theme-reference.theme-business .block-library-panel {
    left: 64px;
  }

  .theme-business .node-toolbar > :is(.workspace-side-nav, .workspace-user-card, .toolbar-spacer, .toolbar-divider, .ai-tool, #help-button) {
    display: none;
  }

  .theme-business .workspace-header {
    grid-template-columns: minmax(255px, .9fr) auto minmax(280px, .95fr);
  }

  .theme-business .view-tabs button {
    min-width: 54px;
    padding-inline: 7px;
  }
}

@media (max-width: 860px) {
  .theme-business .workspace-screen {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .theme-business .composer-planning-row {
    grid-template-columns: 1fr;
  }

  .theme-business .budget-guidance {
    grid-column: 1;
  }

  .theme-business .dashboard-screen {
    grid-template-columns: 1fr;
  }

  .theme-business .dash-sidebar {
    display: none;
  }

  .theme-business .dash-header,
  .theme-business .idea-hero,
  .theme-business .dashboard-section {
    width: calc(100% - 30px);
  }

  .theme-business .workspace-body,
  .theme-business .workspace-body.library-collapsed {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .theme-reference.theme-business .block-library-panel {
    top: 72px;
    left: 54px;
    width: min(304px, calc(100vw - 54px));
  }

  body.theme-reference.theme-business .inspector {
    position: absolute;
    z-index: 90;
    top: 72px;
    bottom: 0;
    right: 0;
    width: min(360px, calc(100vw - 54px));
    box-shadow: -16px 0 42px rgba(35, 44, 57, .16);
  }
  body.theme-reference.theme-business .inspector.closed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
  }

  body.theme-reference.theme-business .workspace-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    overflow: hidden;
  }

  .theme-business .workspace-brand-block,
  .theme-business .project-name-wrap,
  .theme-business .title-line {
    min-width: 0;
  }

  .theme-business .workspace-brand-block { gap: 7px; }
  .theme-business .workspace-wordmark {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    padding: 0;
  }
  .theme-business .workspace-wordmark > span:last-child,
  .theme-business .project-name-wrap .breadcrumb,
  .theme-business .title-line .save-state,
  .theme-business .workspace-actions :is(.search-action, .header-members, .navigator-button, #share-button) {
    display: none;
  }
  .theme-business .project-name-wrap {
    padding-left: 7px;
  }
  .theme-business .title-line input {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-inline: 6px;
    font-size: 12px;
    text-overflow: ellipsis;
  }
  .theme-business .workspace-actions {
    min-width: 0;
    gap: 0;
  }
  body.theme-reference.theme-business .workspace-actions .generate-plan-button {
    width: 38px;
    min-width: 38px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    font-size: 0 !important;
  }
  .theme-business .workspace-actions .generate-plan-button .icon {
    width: 16px;
    height: 16px;
  }

  .theme-business .node-toolbar {
    min-width: 0;
    overflow: hidden;
  }
  .theme-business .sidebar-new-project {
    width: 38px;
    min-width: 38px;
    margin-inline: auto;
    padding: 0;
    font-size: 0;
  }
  .theme-business .sidebar-new-project .icon {
    width: 16px;
    height: 16px;
  }

  .theme-business .view-tabs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-business *,
  .theme-business *::before,
  .theme-business *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Infinite-canvas creation system */
.theme-business .canvas-tool-rail {
  position: relative;
  display: grid;
  grid-template-columns: 34px;
  gap: 3px;
  padding: 5px;
  border: 1px solid #d6dce4;
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(35,44,57,.12);
  backdrop-filter: blur(14px);
}

.theme-business .canvas-tool-rail::after { display: none; }
.theme-business .canvas-tool-rail > * { order: initial !important; }
.theme-business .canvas-tool-divider {
  display: block;
  width: 24px;
  height: 1px;
  margin: 3px auto;
  background: #e0e4e9;
}

.theme-business .canvas-tool-rail .canvas-icon-pill {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #656975;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.theme-business .canvas-tool-rail .canvas-icon-pill:hover {
  color: #0073ea;
  border-color: #c5ddf5;
  background: #f0f7ff;
}

.theme-business .canvas-tool-rail .canvas-icon-pill.active {
  color: #006ad8;
  border-color: #a9cdef;
  background: #e7f3ff;
  box-shadow: inset 0 0 0 1px rgba(0,115,234,.04);
}

.theme-business .canvas-tool-rail .canvas-icon-pill > span {
  position: absolute;
  z-index: 80;
  left: 42px;
  top: 50%;
  min-width: max-content;
  padding: 6px 8px;
  color: #fff;
  border-radius: 6px;
  background: #323338;
  box-shadow: 0 8px 20px rgba(35,38,45,.2);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(4px,-50%);
  transition: opacity 120ms ease, transform 120ms ease;
}

.theme-business .canvas-tool-rail .canvas-icon-pill:hover > span,
.theme-business .canvas-tool-rail .canvas-icon-pill:focus-visible > span {
  opacity: 1;
  transform: translate(0,-50%);
}

.theme-business .canvas-top-left { z-index: 40; }
.theme-business .canvas-asset-picker {
  position: absolute;
  z-index: 90;
  width: 264px;
  padding: 10px;
  color: #323338;
  border: 1px solid #d6dce4;
  border-radius: 13px;
  background: rgba(255,255,255,.985);
  box-shadow: 0 18px 48px rgba(34,45,60,.18),0 3px 10px rgba(34,45,60,.08);
  backdrop-filter: blur(18px);
  transform-origin: left top;
  animation: canvas-picker-enter 150ms var(--ease-product) both;
}
@keyframes canvas-picker-enter {
  from { opacity: 0; transform: translateX(-5px) scale(.97); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
.theme-business .canvas-asset-picker > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 9px;
}
.theme-business .canvas-asset-picker > header span { display: grid; gap: 2px; }
.theme-business .canvas-asset-picker > header strong { color: #25262b; font-size: 12px; font-weight: 760; letter-spacing: -.1px; }
.theme-business .canvas-asset-picker > header small { color: #747a86; font-size: 9px; line-height: 1.35; }
.theme-business .canvas-asset-picker > header button {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: #68707c;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.theme-business .canvas-asset-picker > header button:hover { color: #323338; background: #f0f2f5; }
.theme-business .canvas-asset-picker > header .icon { width: 13px; height: 13px; }
.theme-business .shape-picker-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 6px;
}
.theme-business .shape-picker-grid button {
  min-width: 0;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 7px 4px;
  color: #59606c;
  border: 1px solid #e2e5ea;
  border-radius: 9px;
  background: #fbfcfd;
  font-size: 8.5px;
  font-weight: 680;
  transition: border-color 120ms ease,background 120ms ease,color 120ms ease,transform 120ms ease;
}
.theme-business .shape-picker-grid button:hover,
.theme-business .shape-picker-grid button.active {
  color: #006ad8;
  border-color: #a9cdef;
  background: #edf6ff;
  transform: translateY(-1px);
}
.theme-business .shape-preview {
  position: relative;
  width: 34px;
  height: 27px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 5px;
  color: #74869a;
  background: color-mix(in srgb,currentColor 7%,#fff);
}
.theme-business .shape-preview.square { width: 29px; height: 29px; }
.theme-business .shape-preview.circle { width: 30px; height: 30px; border-radius: 50%; }
.theme-business .shape-preview.oval { width: 38px; height: 24px; border-radius: 50%; }
.theme-business .shape-preview.triangle {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(50% 0,100% 100%,0 100%);
}
.theme-business .shape-preview.triangle::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #fbfcfd;
  clip-path: inherit;
}
.theme-business .shape-picker-grid button:hover .shape-preview.triangle::after,
.theme-business .shape-picker-grid button.active .shape-preview.triangle::after { background: #edf6ff; }
.theme-business .shape-preview.diamond { width: 25px; height: 25px; border-radius: 3px; transform: rotate(45deg); }
.theme-business .emoji-picker { width: 318px; }
.theme-business .emoji-picker-search {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 1px 8px;
  padding: 0 9px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fafbfc;
}
.theme-business .emoji-picker-search:focus-within { border-color: #83baf0; box-shadow: 0 0 0 2px rgba(0,115,234,.11); background: #fff; }
.theme-business .emoji-picker-search .icon { width: 13px; height: 13px; color: #747b87; }
.theme-business .emoji-picker-search input { min-width: 0; flex: 1; padding: 0; color: #323338; border: 0; outline: 0; background: transparent; font-size: 10px; }
.theme-business .emoji-picker-grid {
  max-height: 250px;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 3px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-color: #c4cad2 transparent;
  scrollbar-width: thin;
}
.theme-business .emoji-picker-grid button {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: "Segoe UI Emoji","Apple Color Emoji",sans-serif;
  font-size: 22px;
  line-height: 1;
  transition: border-color 100ms ease,background 100ms ease,transform 100ms ease;
}
.theme-business .emoji-picker-grid button:hover { border-color: #c7ddf3; background: #edf6ff; transform: scale(1.08); }
.theme-business .emoji-picker-empty { margin: 14px 4px 8px; color: #7b818c; font-size: 9px; text-align: center; }

.theme-business .ink-layer,
.theme-business .canvas-object-layer {
  position: absolute;
  inset: 0;
  width: 2600px;
  height: 1600px;
  pointer-events: none;
}

.theme-business .ink-layer { z-index: 1; overflow: visible; }
.theme-business .connections { z-index: 2; }
.theme-business .canvas-object-layer { z-index: 3; }
.theme-business .nodes-layer { z-index: 4; }
.theme-business .canvas-ink-stroke,
.theme-business .canvas-ink-line {
  fill: none;
  stroke: #4f46d5;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px rgba(69,62,175,.12));
}

.theme-business .canvas-ink-line { stroke: #0073ea; stroke-width: 2.25; }
.theme-business .node-canvas[data-active-tool="pen"],
.theme-business .node-canvas[data-active-tool="line"],
.theme-business .node-canvas[data-active-tool="shape"],
.theme-business .node-canvas[data-active-tool="sticky"],
.theme-business .node-canvas[data-active-tool="frame"],
.theme-business .node-canvas[data-active-tool="comment"],
.theme-business .node-canvas[data-active-tool="emoji"] { cursor: crosshair; }
.theme-business .node-canvas[data-active-tool="text"] { cursor: text; }
.theme-business .node-canvas.is-drawing,
.theme-business .node-canvas.is-drawing-shape { cursor: crosshair; }

.theme-business .canvas-object {
  position: absolute;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  color: #323338;
  border: 1px solid #d8dde5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(38,47,61,.11);
  transform: translateZ(0);
  transition: border-color 140ms ease, box-shadow 160ms ease, transform 160ms var(--ease-product);
}

.theme-business .canvas-object:hover { border-color: #b8c1cd; box-shadow: 0 10px 28px rgba(38,47,61,.15); }
.theme-business .canvas-object.selected { border-color: #0073ea; box-shadow: 0 0 0 2px rgba(0,115,234,.16),0 10px 28px rgba(38,47,61,.14); }
.theme-business .canvas-object.dragging { transition: none; box-shadow: 0 16px 34px rgba(38,47,61,.2); }
.theme-business .canvas-object-handle {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  color: #6d7280;
  border: 0;
  border-bottom: 1px solid rgba(63,72,85,.09);
  border-radius: 9px 9px 0 0;
  background: rgba(248,249,251,.82);
  font-size: 8.5px;
  font-weight: 720;
  letter-spacing: .2px;
  cursor: grab;
}
.theme-business .canvas-object-handle:active { cursor: grabbing; }
.theme-business .canvas-object-handle .icon { width: 13px; height: 13px; }
.theme-business .canvas-object-content {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  color: inherit;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.45;
  outline: 0;
  overflow: hidden;
  cursor: text;
}
.theme-business .canvas-object-content:focus { background: rgba(255,255,255,.34); }
.theme-business .canvas-object.emphasis .canvas-object-content { font-weight: 760; }
.theme-business .canvas-object-format {
  position: absolute;
  z-index: 12;
  right: -1px;
  top: -39px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  border: 1px solid #d7dce4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(33,42,56,.14);
  pointer-events: auto;
}
.theme-business .canvas-object-format button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; color: #5e6470; border: 0; border-radius: 5px; background: transparent; font-size: 10px; font-weight: 760; }
.theme-business .canvas-object-format button:hover { background: #f1f3f6; }
.theme-business .canvas-object-format .format-swatch { width: 16px; height: 16px; margin: 0 1px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #cfd5dd; }
.theme-business .format-swatch.blue { background: #0073ea; }.theme-business .format-swatch.violet { background: #635bdb; }.theme-business .format-swatch.green { background: #00a86b; }.theme-business .format-swatch.amber { background: #e38b00; }.theme-business .format-swatch.rose { background: #d83a52; }
.theme-business .canvas-object-format .format-delete { color: #c52c43; }
.theme-business .canvas-object-format .icon { width: 12px; height: 12px; }

.theme-business .canvas-object-sticky {
  color: #403917;
  border-color: #e9d783;
  background: linear-gradient(145deg,#fff7bd,#ffefa0);
  box-shadow: 0 8px 22px rgba(126,105,18,.14);
}
.theme-business .canvas-object-sticky .canvas-object-handle { color: #7a681e; border-color: rgba(101,83,13,.12); background: rgba(255,244,170,.78); }
.theme-business .canvas-object-text { border-color: transparent; background: transparent; box-shadow: none; }
.theme-business .canvas-object-text:hover,.theme-business .canvas-object-text.selected { background: rgba(255,255,255,.9); }
.theme-business .canvas-object-text .canvas-object-handle { height: 22px; opacity: 0; border: 0; background: transparent; transition: opacity 120ms ease; }
.theme-business .canvas-object-text:hover .canvas-object-handle,.theme-business .canvas-object-text.selected .canvas-object-handle { opacity: 1; }
.theme-business .canvas-object-text .canvas-object-content { padding: 4px 8px 8px; font-size: 20px; font-weight: 690; letter-spacing: -.3px; }
.theme-business .canvas-object-shape {
  border-color: transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.theme-business .canvas-object-shape:hover,
.theme-business .canvas-object-shape.selected { border-color: transparent; background: transparent; box-shadow: none; }
.theme-business .canvas-shape-geometry {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 9px rgba(31,46,64,.08));
  transition: filter 140ms ease;
}
.theme-business .canvas-shape-geometry > * {
  fill: color-mix(in srgb,var(--object-accent) 7%,#fff);
  stroke: var(--object-accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.theme-business .canvas-object-shape:hover .canvas-shape-geometry { filter: drop-shadow(0 7px 13px rgba(31,46,64,.13)); }
.theme-business .canvas-object-shape.selected .canvas-shape-geometry { filter: drop-shadow(0 0 3px color-mix(in srgb,var(--object-accent) 45%,transparent)) drop-shadow(0 7px 13px rgba(31,46,64,.13)); }
.theme-business .canvas-object-shape .canvas-object-handle {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -31px;
  width: max-content;
  height: 24px;
  padding: 0 8px;
  opacity: 0;
  color: #606773;
  border: 1px solid #d3d9e1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(35,44,57,.12);
  transform: translateX(-50%) translateY(3px);
  transition: opacity 120ms ease,transform 120ms ease;
}
.theme-business .canvas-object-shape:hover .canvas-object-handle,
.theme-business .canvas-object-shape.selected .canvas-object-handle { opacity: 1; transform: translateX(-50%) translateY(0); }
.theme-business .canvas-object-shape .canvas-object-content {
  position: absolute;
  z-index: 2;
  inset: 9%;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  overflow: hidden;
}
.theme-business .canvas-object-shape .canvas-object-content:empty { cursor: default; }
.theme-business .canvas-object-shape .canvas-object-content:focus { background: rgba(255,255,255,.38); border-radius: 8px; }
.theme-business .canvas-object-shape .canvas-object-format { top: calc(100% + 8px); right: 50%; transform: translateX(50%); }
.theme-business .canvas-object-frame { z-index: -1; pointer-events: none; border: 2px dashed var(--object-accent); border-radius: 14px; background: color-mix(in srgb,var(--object-accent) 3%,transparent); box-shadow: none; }
.theme-business .canvas-object-frame .canvas-object-handle,.theme-business .canvas-object-frame .canvas-object-content { pointer-events: auto; }
.theme-business .canvas-object-frame .canvas-object-handle { width: max-content; margin: -30px 0 0 -2px; border: 1px solid #cbd2db; border-radius: 7px; background: #fff; box-shadow: 0 3px 9px rgba(35,44,57,.09); }
.theme-business .canvas-object-frame .canvas-object-content { flex: 0 0 auto; width: max-content; max-width: 85%; padding: 10px 13px; color: #4f5662; font-size: 11px; font-weight: 700; }
.theme-business .canvas-object-emoji { border-color: transparent; background: transparent; box-shadow: none; }
.theme-business .canvas-object-emoji .canvas-object-handle { height: 18px; justify-content: center; padding: 0; opacity: 0; border: 0; background: transparent; }
.theme-business .canvas-object-emoji:hover .canvas-object-handle,.theme-business .canvas-object-emoji.selected .canvas-object-handle { opacity: 1; }
.theme-business .canvas-object-emoji .canvas-object-handle span { display: none; }
.theme-business .canvas-object-emoji .canvas-object-content { display: grid; place-items: center; padding: 0; font-size: 38px; line-height: 1; text-align: center; }
.theme-business .canvas-object-comment { border-color: color-mix(in srgb,var(--object-accent) 30%,#d7dce4); border-left: 4px solid var(--object-accent); background: #fff; }
.theme-business .canvas-object-comment .canvas-object-handle { color: var(--object-accent); background: color-mix(in srgb,var(--object-accent) 6%,#fff); }

/* Account and commercial surfaces */
.theme-business .profile-popover { width: 324px; max-height: min(620px,calc(100vh - 32px)); overflow-y: auto; }
.theme-business .profile-menu-divider { display: block; height: 1px; margin: 6px 8px; background: #e5e8ed; }
.theme-business .profile-menu-list button { min-height: 48px; }
.theme-business .text-size-setting { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 0 22px 16px; padding: 14px; border: 1px solid #dfe4ea; border-radius: 11px; background: linear-gradient(145deg,#fff,#f7faff); }
.theme-business .text-size-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #006fdc; background: #e9f5ff; }
.theme-business .text-size-mark .icon { width: 19px; height: 19px; stroke-width: 2; }
.theme-business .text-size-setting > span:nth-child(2) { display: grid; gap: 3px; }
.theme-business .text-size-setting small { color: #0073ea; font-size: 8.5px; font-weight: 800; letter-spacing: .08em; }
.theme-business .text-size-setting strong { color: #343941; font-size: 11px; }
.theme-business .text-size-setting p { margin: 0; color: #747e8a; font-size: 9.5px; line-height: 1.45; }
.theme-business .text-size-options { display: flex; gap: 5px; padding: 4px; border-radius: 9px; background: #eceff3; }
.theme-business .text-size-options button { min-width: 66px; min-height: 42px; display: grid; place-items: center; gap: 2px; padding: 5px 8px; border: 1px solid transparent; border-radius: 7px; color: #69727f; background: transparent; }
.theme-business .text-size-options button b { font-size: 10px; line-height: 1; }.theme-business .text-size-options button:nth-child(2) b { font-size: 13px; }.theme-business .text-size-options button:nth-child(3) b { font-size: 16px; }
.theme-business .text-size-options button span { font-size: 8px; white-space: nowrap; }
.theme-business .text-size-options button:hover { color: #006fdc; background: #f8fbff; }
.theme-business .text-size-options button.active { color: #006bd6; border-color: #c2dcf5; background: #fff; box-shadow: 0 2px 7px rgba(34,68,103,.09); }
.theme-business #text-size-status { grid-column: 2 / -1; color: #697482; font-size: 8.5px; }
.theme-business .billing-modal { width: min(1180px,calc(100vw - 54px)); }
.theme-business .billing-cycle > span { display: grid; gap: 3px; }
.theme-business .billing-cycle > span > small { color: #8a919d; font-size: 9px; font-weight: 500; }
.theme-business .billing-configuration { display: grid; grid-template-columns: minmax(150px,1fr) auto auto 1fr; align-items: center; gap: 14px; margin: 0 24px 18px; padding: 12px 14px; border: 1px solid #dde2e9; border-radius: 10px; background: #fff; }
.theme-business .billing-configuration > label { display: grid; gap: 3px; color: #353a43; font-size: 10px; font-weight: 700; }
.theme-business .billing-configuration > label small { color: #858c97; font-size: 9px; font-weight: 500; }
.theme-business .billing-member-control { display: grid; grid-template-columns: 30px 48px 30px; overflow: hidden; border: 1px solid #d4dae3; border-radius: 8px; background: #fff; }
.theme-business .billing-member-control button,.theme-business .billing-member-control input { height: 32px; border: 0; background: #fff; color: #323842; text-align: center; font-size: 11px; }
.theme-business .billing-member-control button { cursor: pointer; color: #526175; font-size: 16px; }
.theme-business .billing-member-control button:hover { color: #1768ea; background: #f2f6ff; }
.theme-business .billing-member-control input { width: 48px; border-right: 1px solid #e1e5eb; border-left: 1px solid #e1e5eb; font-weight: 700; -moz-appearance: textfield; }
.theme-business .billing-member-control input::-webkit-inner-spin-button { appearance: none; }
.theme-business #billing-team-total { color: #555f6e; font-size: 9px; font-weight: 650; }
.theme-business .sandbox-badge { justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 9px; border: 1px solid #cfe5dc; border-radius: 999px; color: #087d58; background: #f0fbf7; font-size: 8px; letter-spacing: .35px; }
.theme-business .sandbox-badge .icon { width: 12px; height: 12px; }
.theme-business .plan-options { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.theme-business .plan-option { min-width: 0; padding: 16px; }
.theme-business .plan-option p { min-height: 42px; }
.theme-business .plan-option ul { min-height: 96px; }
.theme-business .plan-option.enterprise { border-color: #c7ced8; background: linear-gradient(150deg,#fff,#f4f7fa); }
.theme-business .plan-option.enterprise > small { color: #315c7e; }
.theme-business .billing-summary > button:disabled { cursor: not-allowed; opacity: .55; }
.theme-business .billing-sandbox-note { display: flex; grid-template-columns: none; align-items: center; gap: 10px; color: #5b6573; }
.theme-business .billing-sandbox-note > .icon { width: 18px; height: 18px; flex: 0 0 18px; color: #087d58; }
.theme-business .billing-sandbox-note p { margin: 0; font-size: 9px; line-height: 1.55; }
.theme-business .billing-sandbox-note strong { color: #303944; }

/* Correct the legacy counter/explicit-number collision in Plan view. */
.theme-reference.theme-business .immediate-card .action-list > div::before { content: none; display: none; }
.theme-reference.theme-business .immediate-card .action-list > div { grid-template-columns: 26px minmax(0,1fr); }
.theme-reference.theme-business .immediate-card .action-list > div > span { min-width: 0; overflow-wrap: anywhere; font-size: 10.5px; line-height: 1.55; }

/* The Growth button uses a white high-contrast compass on its purple surface. */
.theme-reference.theme-business .navigator-button .icon { width: 15px; height: 15px; color: #fff !important; stroke-width: 2.35; filter: drop-shadow(0 1px 1px rgba(24,24,75,.22)); }

/* User-controlled text enlargement. Base sizes are measured before the
   preference is applied so text reflows without zooming the visual canvas. */
body[data-text-size="large"] [data-structcanvas-scalable-text] { font-size: calc(var(--structcanvas-base-font) + 1.5px) !important; }
body[data-text-size="extra"] [data-structcanvas-scalable-text] { font-size: calc(var(--structcanvas-base-font) + 3px) !important; }

/* Persistent workspace, collaboration, and evidence surfaces */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.theme-business .readonly-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  color: #315c7e;
  border: 1px solid #cdd9e5;
  border-radius: 999px;
  background: #f4f8fc;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15px;
}
.theme-business .readonly-badge.is-hidden { display: none; }
.theme-business .readonly-badge .icon { width: 13px; height: 13px; }
.theme-business .node-owner-chip {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 2px;
  color: #4c5563;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #eef1f5;
  box-shadow: 0 0 0 1px #d8dde5;
  font-size: 7.5px;
  font-weight: 780;
}
.theme-business .compact-business-node .node-menu-button { margin-left: 0; }
.theme-business .collaboration-field-row { align-items: end; }
.theme-business .progress-field label { display: flex; justify-content: space-between; align-items: center; }
.theme-business .progress-field output { color: #246cc8; font-size: 9px; font-weight: 760; }
.theme-business .progress-field input[type="range"] {
  width: 100%;
  height: 34px;
  padding: 0;
  accent-color: #246cc8;
  background: transparent;
}
.theme-business .plan-task-owner {
  display: flex !important;
  align-items: center;
  gap: 5px;
  margin-top: 5px !important;
  color: #6f7886 !important;
}
.theme-business .plan-task-owner i,
.theme-business .timeline-owner,
.theme-business .kanban-owner {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #3d4d61;
  border: 1px solid #d6dce5;
  border-radius: 50%;
  background: #f3f5f8;
  font-size: 7px;
  font-style: normal;
  font-weight: 780;
}
.theme-business .timeline-label small { display: flex; align-items: center; gap: 5px; }
.theme-business .kanban-progress { display: block; height: 3px; margin: 10px 0 7px; overflow: hidden; border-radius: 999px; background: #e8ebef; }
.theme-business .kanban-progress i { display: block; height: 100%; border-radius: inherit; background: var(--card-color); }
.theme-business .kanban-meta { gap: 8px; }
.theme-business .kanban-meta > span:last-child { margin-left: auto; }

.theme-business .comment-heading { margin-top: 20px; }
.theme-business .node-comment-list { display: grid; gap: 8px; margin: 8px 0; }
.theme-business .node-comment {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e1e5eb;
  border-radius: 9px;
  background: #fafbfc;
}
.theme-business .node-comment .member-avatar { width: 27px; height: 27px; font-size: 8px; }
.theme-business .node-comment strong { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; color: #303641; font-size: 10px; }
.theme-business .node-comment strong small { color: #8a929e; font-size: 8px; font-weight: 540; }
.theme-business .node-comment p { margin: 4px 0 0; color: #596271; font-size: 9.5px; line-height: 1.45; }
.theme-business .node-comment > button { width: 22px; height: 22px; padding: 0; color: #8a929e; border: 0; border-radius: 5px; background: transparent; }
.theme-business .node-comment > button:hover { color: #c52c43; background: #fff0f2; }
.theme-business .comment-empty { margin: 0; padding: 10px; color: #7c8592; border: 1px dashed #dce1e7; border-radius: 8px; font-size: 9px; line-height: 1.4; }
.theme-business .node-comment-form { display: grid; grid-template-columns: 28px minmax(0,1fr) 30px; align-items: center; gap: 7px; margin-bottom: 16px; }
.theme-business .node-comment-form .member-avatar { width: 27px; height: 27px; font-size: 8px; }
.theme-business .node-comment-form label { min-width: 0; }
.theme-business .node-comment-form input { width: 100%; height: 34px; padding: 0 9px; border: 1px solid #d8dde5; border-radius: 8px; background: #fff; font-size: 9px; }
.theme-business .node-comment-form button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #fff; border: 0; border-radius: 8px; background: #246cc8; }

.theme-business .workspace-storage-card,
.theme-business .client-share-panel {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 14px;
  border: 1px solid #dce2ea;
  border-radius: 11px;
  background: linear-gradient(145deg,#fbfcfe,#f5f8fb);
}
.theme-business .storage-status-icon,
.theme-business .client-share-icon { display: grid; place-items: center; width: 36px; height: 36px; color: #246cc8; border-radius: 9px; background: #eaf2fc; }
.theme-business .workspace-storage-card small,
.theme-business .client-share-panel small { display: block; color: #748092; font-size: 8px; font-weight: 780; letter-spacing: .7px; }
.theme-business .workspace-storage-card strong,
.theme-business .client-share-panel strong { display: block; margin-top: 2px; color: #303641; font-size: 11px; }
.theme-business .workspace-storage-card p,
.theme-business .client-share-panel p { margin: 3px 0 0; color: #707986; font-size: 9px; line-height: 1.4; }
.theme-business .workspace-storage-card > div { display: flex; gap: 6px; }
.theme-business .workspace-storage-card button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 9px; color: #405064; border: 1px solid #d4dae2; border-radius: 7px; background: #fff; font-size: 8px; font-weight: 700; }
.theme-business .client-share-panel { grid-template-columns: 38px minmax(0,1fr) 185px auto; margin: 0 0 18px; background: linear-gradient(140deg,#f8fbff,#f4f1ff); }
.theme-business .client-share-panel label { color: #697485; font-size: 8px; font-weight: 700; }
.theme-business .client-share-panel select { width: 100%; height: 32px; margin-top: 4px; padding: 0 8px; border: 1px solid #d6dce5; border-radius: 7px; background: #fff; color: #343b46; font-size: 8.5px; }

.theme-business .financial-evidence-audit { margin-top: 14px; padding: 18px; border: 1px solid #dce2e9; border-radius: 12px; background: #fff; }
.theme-business .financial-evidence-audit .plan-block-heading { align-items: start; }
.theme-business .financial-evidence-audit .plan-block-heading p { margin: 4px 0 0; color: #707986; font-size: 10px; }
.theme-business .financial-evidence-audit .plan-block-heading > b { padding: 5px 8px; color: #315c7e; border: 1px solid #cad9e8; border-radius: 999px; background: #f2f7fc; font-size: 8px; }
.theme-business .financial-evidence-list { display: grid; gap: 7px; margin-top: 12px; }
.theme-business .financial-evidence-row { display: grid; grid-template-columns: 32px minmax(0,1fr) 118px 94px; align-items: center; gap: 10px; padding: 10px; border: 1px solid #e5e8ed; border-radius: 9px; background: #fafbfc; }
.theme-business .evidence-type { display: grid; place-items: center; width: 30px; height: 30px; color: #00a86b; border-radius: 8px; background: #e9f8f1; }
.theme-business .evidence-type.cost { color: #d57d00; background: #fff4df; }
.theme-business .financial-evidence-row strong { display: block; color: #323945; font-size: 10px; }
.theme-business .financial-evidence-row > span > small { display: block; margin-top: 3px; color: #737d8b; font-size: 8.5px; line-height: 1.35; }
.theme-business .evidence-meta b { display: block; color: #4d5b6d; font-size: 8px; }
.theme-business .evidence-meta small { display: block; margin-top: 3px; color: #89919c; font-size: 8px; }
.theme-business .financial-evidence-row a,
.theme-business .financial-evidence-row button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 0 8px; color: #246cc8; border: 1px solid #d2deec; border-radius: 7px; background: #f5f9fd; font-size: 8px; font-weight: 720; text-decoration: none; }

.theme-business.is-read-only .node-port,
.theme-business.is-read-only .node-menu-button,
.theme-business.is-read-only .canvas-object-format,
.theme-business.is-read-only .inspector-footer,
.theme-business.is-read-only .node-comment-form,
.theme-business.is-read-only #add-dependency,
.theme-business.is-read-only #add-suggestion,
.theme-business.is-read-only #generate-plan,
.theme-business.is-read-only #layout-button,
.theme-business.is-read-only #canvas-add-block { display: none !important; }
.theme-business.is-read-only .graph-node,
.theme-business.is-read-only .canvas-object-handle { cursor: default; }
.theme-business.is-read-only .inspector input:disabled,
.theme-business.is-read-only .inspector textarea:disabled,
.theme-business.is-read-only .inspector select:disabled { color: #4f5865; opacity: 1; -webkit-text-fill-color: #4f5865; background: #f5f7f9; }

@media (max-width: 920px) {
  .theme-business .client-share-panel { grid-template-columns: 38px minmax(0,1fr); }
  .theme-business .client-share-panel label,
  .theme-business .client-share-panel .button { grid-column: 2; }
  .theme-business .financial-evidence-row { grid-template-columns: 32px minmax(0,1fr); }
  .theme-business .financial-evidence-row .evidence-meta,
  .theme-business .financial-evidence-row > a,
  .theme-business .financial-evidence-row > button { grid-column: 2; justify-self: start; }
}

@media (max-height: 720px) {
  .theme-business .canvas-tool-rail { grid-template-columns: repeat(2,34px); }
  .theme-business .canvas-tool-divider { width: 1px; height: 24px; margin: auto; }
}

@media (max-width: 980px) {
  .theme-business .plan-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .theme-business .billing-configuration { grid-template-columns: 1fr auto auto; }
  .theme-business .sandbox-badge { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .theme-business .modal-overlay { padding: 8px; overflow-y: auto; }
  .theme-business .settings-modal { width: min(100%, 560px); max-height: calc(100dvh - 16px); overflow-x: hidden; overflow-y: auto; }
  .theme-business .settings-grid { grid-template-columns: minmax(0,1fr); }
  .theme-business .settings-grid label.full-field { grid-column: auto; }
  .theme-business .text-size-setting { grid-template-columns: 40px minmax(0,1fr); }
  .theme-business .text-size-options { grid-column: 1 / -1; width: 100%; }
  .theme-business .text-size-options button { flex: 1; }
  .theme-business #text-size-status { grid-column: 1 / -1; }
  .theme-business .billing-modal { width: calc(100vw - 20px); }
  .theme-business .billing-summary { grid-template-columns: 40px 1fr; }
  .theme-business .billing-summary > button { grid-column: 1 / -1; width: 100%; }
  .theme-business .billing-cycle { align-items: flex-start; gap: 12px; }
  .theme-business .billing-configuration { grid-template-columns: 1fr auto; }
  .theme-business #billing-team-total { grid-column: 1 / -1; }
  .theme-business .plan-options,.theme-business .billing-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body[data-text-size].theme-business .navigator-button,
  body[data-text-size].theme-business .workspace-actions .generate-plan-button,
  body[data-text-size].theme-business .sidebar-new-project { font-size: 0 !important; }
}

/* Public product homepage */
html, body.theme-business { min-width: 0; }
.theme-business .landing-screen {
  --landing-ink: #111826;
  --landing-muted: #59677b;
  --landing-blue: #1768ea;
  --landing-purple: #6d48f5;
  min-height: 100vh;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--landing-ink);
  background:
    radial-gradient(circle at 83% 16%,rgba(112,82,255,.10),transparent 27%),
    radial-gradient(circle at 8% 70%,rgba(24,122,255,.08),transparent 25%),
    linear-gradient(180deg,#fff 0%,#fbfcff 58%,#f7f9ff 100%);
  scroll-behavior: smooth;
}
.theme-business .landing-screen button { font-family: inherit; }
.theme-business .landing-nav {
  position: sticky;
  z-index: 80;
  top: 0;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(28px,5vw,78px);
  border-bottom: 1px solid rgba(220,225,235,.78);
  background: rgba(255,255,255,.82);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(18px) saturate(150%);
}
.theme-business .landing-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111722;
  font-size: 23px;
  font-weight: 780;
  letter-spacing: -.7px;
}
.theme-business .landing-brand-mark { width: 35px; height: 35px; display: grid; place-items: center; }
.theme-business .landing-brand-mark .brand-symbol { width: 34px; height: 34px; }
.theme-business .landing-nav nav { display: flex; align-items: center; gap: 6px; }
.theme-business .landing-nav nav button,
.theme-business .landing-sign-in {
  height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #566174;
  font-size: 12px;
  font-weight: 650;
  transition: color .18s ease,background .18s ease;
}
.theme-business .landing-nav nav button:hover,
.theme-business .landing-sign-in:hover { color: #182338; background: #f0f4fa; }
.theme-business .landing-nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.theme-business .landing-nav-cta {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #172033;
  color: #fff;
  box-shadow: 0 8px 20px rgba(26,36,56,.15);
  font-size: 11px;
  font-weight: 720;
  transition: transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.theme-business .landing-nav-cta:hover { transform: translateY(-1px); background: #0e1524; box-shadow: 0 10px 24px rgba(26,36,56,.22); }
.theme-business .landing-nav-cta .icon { width: 14px; height: 14px; }
.theme-business .landing-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(370px,.84fr) minmax(670px,1.35fr);
  align-items: center;
  gap: clamp(22px,4vw,70px);
  max-width: 1530px;
  margin: 0 auto;
  padding: 70px clamp(28px,5vw,78px) 90px;
}
.theme-business .landing-ambient { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(4px); }
.theme-business .landing-ambient.ambient-a { width: 480px; height: 480px; right: 11%; top: 9%; background: radial-gradient(circle,rgba(76,117,255,.12),rgba(118,68,247,.035) 48%,transparent 70%); }
.theme-business .landing-ambient.ambient-b { width: 350px; height: 350px; left: -13%; bottom: -2%; background: radial-gradient(circle,rgba(26,174,255,.10),transparent 68%); }
.theme-business .landing-hero-copy { position: relative; z-index: 4; padding-bottom: 20px; }
.theme-business .landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #275fd1;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 1.65px;
}
.theme-business .landing-kicker i { width: 23px; height: 1px; background: #377bf1; }
.theme-business .landing-hero h1 {
  margin: 0;
  color: #0e1522;
  font-size: clamp(54px,5.2vw,83px);
  line-height: .99;
  letter-spacing: -4.7px;
  font-weight: 790;
}
.theme-business .landing-hero h1 span {
  color: transparent;
  background: linear-gradient(97deg,#227af2 0%,#5057ed 46%,#7c3ff0 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.theme-business .landing-hero-copy > p { max-width: 590px; margin: 25px 0 0; color: var(--landing-muted); font-size: 18px; line-height: 1.55; letter-spacing: -.18px; }
.theme-business .landing-cta-row { display: flex; align-items: center; gap: 11px; margin-top: 33px; }
.theme-business .landing-primary-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg,#1468ef,#315eea 58%,#6548ed);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37,94,226,.25),inset 0 1px rgba(255,255,255,.22);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.08px;
  transition: transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,filter .2s ease;
}
.theme-business .landing-primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,94,226,.32),inset 0 1px rgba(255,255,255,.3); filter: saturate(1.08); }
.theme-business .landing-primary-cta:active { transform: translateY(0) scale(.985); }
.theme-business .landing-primary-cta .icon { width: 17px; height: 17px; }
.theme-business .landing-primary-cta .trailing { margin-left: 7px; }
.theme-business .landing-secondary-cta { min-height: 54px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border: 1px solid #d7dce5; border-radius: 11px; background: rgba(255,255,255,.8); color: #3e4a5e; font-size: 12px; font-weight: 700; box-shadow: 0 6px 18px rgba(35,47,68,.055); transition: .18s ease; }
.theme-business .landing-secondary-cta:hover { color: #1c2a42; border-color: #bfc8d7; background: #fff; transform: translateY(-1px); }
.theme-business .landing-secondary-cta .icon { width: 15px; height: 15px; }
.theme-business .landing-proof { display: flex; align-items: center; gap: 17px; margin-top: 22px; color: #738094; font-size: 9px; font-weight: 650; }
.theme-business .landing-proof span { display: inline-flex; align-items: center; gap: 5px; }
.theme-business .landing-proof .icon { width: 12px; height: 12px; color: #0c9e68; stroke-width: 2.4; }

.theme-business .landing-product-stage {
  --stage-rx: 0deg;
  --stage-ry: 0deg;
  position: relative;
  z-index: 3;
  width: min(790px,100%);
  height: 585px;
  justify-self: end;
  perspective: 1200px;
}
.theme-business .landing-stage-glow { position: absolute; inset: 4% 0 0 4%; border-radius: 60%; background: radial-gradient(ellipse,rgba(77,115,255,.21),rgba(122,69,245,.08) 42%,transparent 70%); filter: blur(26px); }
.theme-business .landing-preview-main {
  position: absolute;
  z-index: 2;
  top: 72px;
  right: 0;
  width: 705px;
  height: 438px;
  overflow: hidden;
  border: 1px solid #d9e0eb;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 32px 70px rgba(39,56,92,.16),0 2px 5px rgba(39,56,92,.08);
  transform: rotateX(var(--stage-rx)) rotateY(var(--stage-ry));
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.theme-business .landing-preview-main > header { height: 47px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid #e7eaf0; color: #647084; }
.theme-business .preview-wordmark { display: inline-flex; align-items: center; gap: 7px; color: #172033; }
.theme-business .preview-wordmark .brand-symbol { width: 21px; height: 21px; }
.theme-business .preview-wordmark b { font-size: 12px; }
.theme-business .preview-crumb { padding-left: 12px; border-left: 1px solid #e2e5ea; font-size: 8px; font-weight: 650; text-transform: uppercase; letter-spacing: .45px; }
.theme-business .preview-saved { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 8px; }
.theme-business .preview-saved i { width: 5px; height: 5px; border-radius: 50%; background: #0aae78; }
.theme-business .landing-preview-main > header button { height: 28px; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid #dce1e9; border-radius: 7px; background: #fff; color: #455165; font-size: 8px; font-weight: 650; }
.theme-business .landing-preview-main > header button .icon { width: 12px; height: 12px; }
.theme-business .preview-tabs { height: 42px; display: flex; align-items: end; gap: 4px; padding: 0 15px; border-bottom: 1px solid #e8ebf0; }
.theme-business .preview-tabs button { height: 41px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #6d7787; font-size: 8px; }
.theme-business .preview-tabs button.active { color: #1768ea; border-color: #347bf1; font-weight: 740; }
.theme-business .preview-tabs .icon { width: 11px; height: 11px; margin-right: 4px; }
.theme-business .preview-workspace { height: 349px; display: grid; grid-template-columns: 48px 1fr; }
.theme-business .preview-workspace > aside { display: flex; flex-direction: column; align-items: center; gap: 7px; padding-top: 12px; border-right: 1px solid #e5e8ed; background: #fafbfc; }
.theme-business .preview-tool { width: 27px; height: 27px; display: grid; place-items: center; color: #7b8696; border: 1px solid transparent; border-radius: 7px; }
.theme-business .preview-tool.active { color: #1768ea; border-color: #c9dcfa; background: #edf5ff; box-shadow: 0 2px 8px rgba(33,102,217,.10); }
.theme-business .preview-tool .icon { width: 13px; height: 13px; }
.theme-business .preview-canvas { position: relative; overflow: hidden; background-color: #fcfdff; background-image: radial-gradient(#d9dfe9 .85px,transparent .85px); background-size: 14px 14px; }
.theme-business .preview-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.theme-business .preview-connections path { fill: none; stroke: #7394f5; stroke-width: 1.35; stroke-linecap: round; stroke-dasharray: 5 4; animation: landingFlow 9s linear infinite; }
.theme-business .preview-node { position: absolute; min-width: 150px; height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #93b6f6; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 6px 15px rgba(35,61,105,.09); color: #253044; }
.theme-business .preview-node b { display: block; font-size: 8px; line-height: 1.2; }
.theme-business .preview-node small { display: block; margin-top: 3px; color: #7e8999; font-size: 7px; }
.theme-business .preview-node.root { top: 23px; left: calc(50% - 89px); width: 178px; border-color: #8d6ef5; box-shadow: 0 7px 18px rgba(103,70,230,.14); }
.theme-business .preview-node.root em { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: #26bce4; }
.theme-business .preview-node.build { top: 127px; left: 9%; border-color: #71d6bd; }
.theme-business .preview-node.launch { top: 127px; left: calc(50% - 75px); border-color: #aa7bec; }
.theme-business .preview-node.grow { top: 127px; right: 7%; border-color: #70a8ef; }
.theme-business .preview-node.task { top: 260px; min-width: 118px; width: 118px; height: 43px; padding: 0 8px; }
.theme-business .preview-node.t1 { left: 1.5%; }.theme-business .preview-node.t2 { left: 22.5%; border-color: #efc978; }.theme-business .preview-node.t3 { left: 43.5%; border-color: #b999f2; }.theme-business .preview-node.t4 { left: 64%; border-color: #72d1ae; }.theme-business .preview-node.t5 { right: 1.5%; border-color: #ec8d9b; }
.theme-business .node-glyph { flex: 0 0 auto; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; background: #eef4ff; color: #3477df; }
.theme-business .node-glyph .icon { width: 12px; height: 12px; }.theme-business .node-glyph.purple { color: #7049e7; background: #f0eaff; }.theme-business .node-glyph.green { color: #069968; background: #e7f8f1; }.theme-business .node-glyph.amber { color: #ca7c08; background: #fff4df; }.theme-business .node-glyph.rose { color: #d8465c; background: #fff0f2; }
.theme-business .preview-zoom { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); height: 31px; display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #dce1e8; border-radius: 8px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(35,46,65,.12); }
.theme-business .preview-zoom button { width: 25px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: #687486; font-size: 11px; }.theme-business .preview-zoom b { width: 38px; text-align: center; color: #4a5566; font-size: 8px; }.theme-business .preview-zoom .icon { width: 12px; height: 12px; }

.theme-business .landing-float-card { position: absolute; z-index: 4; border: 1px solid #dce2ec; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 22px 48px rgba(43,58,89,.14); backdrop-filter: blur(12px); }
.theme-business .landing-insight-card { top: 0; right: -16px; width: 242px; padding: 15px; animation: landingFloatA 7s ease-in-out infinite; }
.theme-business .landing-insight-card > header { display: flex; align-items: center; justify-content: space-between; }
.theme-business .landing-insight-card > header > span { display: flex; align-items: center; gap: 8px; }
.theme-business .landing-insight-card header i { width: 29px; height: 29px; display: grid; place-items: center; color: #6250e9; border-radius: 8px; background: #efecff; }
.theme-business .landing-insight-card header i .icon { width: 15px; height: 15px; }
.theme-business .landing-insight-card header small { display: block; color: #828b99; font-size: 6px; font-weight: 780; letter-spacing: .7px; }.theme-business .landing-insight-card header b { display: block; margin-top: 3px; color: #242c39; font-size: 10px; }.theme-business .landing-insight-card header em { padding: 4px 6px; color: #008b61; border-radius: 999px; background: #e5f8f0; font-size: 6px; font-style: normal; font-weight: 750; }
.theme-business .insight-score { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding-bottom: 13px; border-bottom: 1px solid #edf0f4; }
.theme-business .score-ring { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(#05a36c 0 83%,#e7ecf0 83% 100%); position: relative; }.theme-business .score-ring::after { content:""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }.theme-business .score-ring b { position: relative; z-index: 1; color: #253041; font-size: 13px; }
.theme-business .insight-score strong { display: block; color: #00875a; font-size: 9px; }.theme-business .insight-score p { margin: 3px 0 0; color: #778291; font-size: 7px; line-height: 1.4; }
.theme-business .insight-label { color: #8a93a1; font-size: 6px; font-weight: 780; letter-spacing: .65px; }
.theme-business .landing-insight-card ol { display: grid; gap: 5px; margin: 7px 0 0; padding: 0; list-style: none; }.theme-business .landing-insight-card li { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 7px; min-height: 34px; padding: 5px; border: 1px solid #e5e9ef; border-radius: 7px; background: #fbfcfe; }.theme-business .landing-insight-card li > b { width: 21px; height: 21px; display: grid; place-items: center; color: #2371df; border-radius: 6px; background: #eaf3ff; font-size: 7px; }.theme-business .landing-insight-card li strong { display: block; color: #374151; font-size: 7px; }.theme-business .landing-insight-card li small { display: block; margin-top: 2px; color: #8b94a1; font-size: 6px; }
.theme-business .landing-idea-card { left: -30px; bottom: 0; width: 220px; padding: 16px; animation: landingFloatB 8s ease-in-out infinite; }.theme-business .landing-idea-card > small { color: #3474e0; font-size: 6px; font-weight: 780; letter-spacing: .7px; }.theme-business .landing-idea-card h3 { margin: 7px 0 4px; color: #202936; font-size: 13px; }.theme-business .landing-idea-card p { margin: 0 0 10px; color: #7b8594; font-size: 7px; line-height: 1.4; }.theme-business .landing-idea-card > div { min-height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border: 1px solid #dbe1e9; border-radius: 8px; color: #929aa6; font-size: 7px; }.theme-business .landing-idea-card > div i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: #eef3fb; color: #5c6c82; font-style: normal; }.theme-business .landing-idea-card > button { width: 100%; height: 33px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; border: 0; border-radius: 7px; background: #246ce7; color: #fff; font-size: 8px; font-weight: 730; }.theme-business .landing-idea-card > button .icon { width: 12px; height: 12px; }
.theme-business .landing-budget-card { right: 30px; bottom: -22px; width: 415px; padding: 15px; animation: landingFloatC 9s ease-in-out infinite; }.theme-business .landing-budget-card header { display: flex; align-items: center; justify-content: space-between; }.theme-business .landing-budget-card header small { color: #7659df; font-size: 6px; font-weight: 780; letter-spacing: .65px; }.theme-business .landing-budget-card h3 { margin: 3px 0 0; color: #263042; font-size: 12px; }.theme-business .landing-budget-card header button { height: 26px; padding: 0 8px; border: 1px solid #dce1e8; border-radius: 6px; background: #fff; color: #566175; font-size: 7px; }.theme-business .landing-budget-card > p { margin: 5px 0 10px; color: #7a8492; font-size: 7px; }.theme-business .landing-budget-card > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }.theme-business .landing-budget-card > div > span { min-height: 64px; padding: 9px; border: 1px solid #e1e5eb; border-radius: 8px; background: #fafbfc; }.theme-business .landing-budget-card > div > span.selected { border-color: #5f8ef1; background: #f5f8ff; box-shadow: inset 0 0 0 1px #5f8ef1; }.theme-business .landing-budget-card span small { display: block; color: #939ba7; font-size: 5.5px; font-weight: 760; letter-spacing: .45px; }.theme-business .landing-budget-card span b { display: block; margin-top: 7px; color: #2d3644; font-size: 8px; }.theme-business .landing-budget-card span em { display: block; margin-top: 3px; color: #818b99; font-size: 6px; font-style: normal; }

.theme-business .landing-benefits { max-width: 1390px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 auto; padding: 0 clamp(28px,5vw,78px) 85px; }
.theme-business .landing-benefits article { min-height: 82px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 0 23px; border: 1px solid #e1e5ec; border-right: 0; background: rgba(255,255,255,.72); }.theme-business .landing-benefits article:first-child { border-radius: 13px 0 0 13px; }.theme-business .landing-benefits article:last-child { border-right: 1px solid #e1e5ec; border-radius: 0 13px 13px 0; }.theme-business .landing-benefits i { width: 40px; height: 40px; display: grid; place-items: center; color: #5a50e8; border-radius: 10px; background: #f0efff; }.theme-business .landing-benefits i .icon { width: 19px; height: 19px; }.theme-business .landing-benefits b { display: block; color: #283244; font-size: 11px; }.theme-business .landing-benefits small { display: block; margin-top: 5px; color: #7b8595; font-size: 8px; line-height: 1.35; }
.theme-business .landing-workflow { max-width: 1270px; margin: 0 auto 80px; padding: 76px clamp(28px,5vw,78px); border: 1px solid #e2e6ed; border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,248,255,.92)); box-shadow: 0 25px 75px rgba(47,63,94,.07); text-align: center; }
.theme-business .landing-section-copy > span { color: #316dd9; font-size: 9px; font-weight: 790; letter-spacing: 1.45px; }.theme-business .landing-section-copy h2 { margin: 14px 0 13px; color: #151d2b; font-size: clamp(34px,3.4vw,50px); line-height: 1.08; letter-spacing: -2.2px; }.theme-business .landing-section-copy p { max-width: 620px; margin: 0 auto; color: #69768a; font-size: 13px; line-height: 1.6; }
.theme-business .landing-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 40px 0 30px; text-align: left; }.theme-business .landing-steps article { position: relative; min-height: 225px; padding: 24px; border: 1px solid #e1e5ec; border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: 0 9px 28px rgba(45,59,84,.045); }.theme-business .landing-steps article > b { position: absolute; top: 21px; right: 22px; color: #c6cfdd; font-size: 13px; }.theme-business .landing-steps article > i { width: 44px; height: 44px; display: grid; place-items: center; color: #316fdf; border-radius: 11px; background: #edf4ff; }.theme-business .landing-steps article > i .icon { width: 20px; height: 20px; }.theme-business .landing-steps h3 { margin: 26px 0 9px; color: #263043; font-size: 15px; }.theme-business .landing-steps p { margin: 0; color: #6f7b8d; font-size: 10px; line-height: 1.65; }
.theme-business .landing-footer { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 clamp(28px,5vw,78px); border-top: 1px solid #e2e6ed; background: #fff; }.theme-business .landing-footer p { color: #8390a2; font-size: 9px; letter-spacing: .5px; }.theme-business .landing-footer button { justify-self: end; border: 0; background: transparent; color: #2768d8; font-size: 10px; font-weight: 700; }.theme-business .landing-footer button span { margin-left: 6px; }

/* Outcome-driven template browser */
.theme-business .template-library-modal { width: min(1130px,calc(100vw - 54px)); max-height: calc(100vh - 46px); border-radius: 18px; background: #f7f9fc; }
.theme-business .template-library-controls { padding: 14px 24px; }
.theme-business .template-library-controls > label { width: min(440px,42vw); }
.theme-business .template-browser { height: min(620px,calc(100vh - 195px)); display: grid; grid-template-columns: minmax(420px,1.06fr) minmax(330px,.78fr); min-height: 0; }
.theme-business .template-library-list { min-height: 0; display: grid; align-content: start; gap: 7px; padding: 15px 14px 18px 22px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbd3df transparent; }
.theme-business .template-library-list .library-template-card { width: 100%; min-height: 86px; display: grid; grid-template-columns: 43px minmax(0,1fr) 24px; align-items: center; gap: 12px; padding: 12px; border: 1px solid transparent; border-radius: 11px; background: transparent; box-shadow: none; text-align: left; transition: border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }
.theme-business .template-library-list .library-template-card:hover { transform: none; border-color: #dde3eb; background: #fff; box-shadow: 0 5px 15px rgba(39,52,76,.055); }
.theme-business .template-library-list .library-template-card.selected { border-color: #a8c6f5; background: #fff; box-shadow: 0 8px 20px rgba(42,92,175,.10),inset 3px 0 #2d73e5; }
.theme-business .template-library-list .library-template-card > span:nth-child(2) { min-width: 0; }
.theme-business .template-library-list .library-template-card h3 { margin: 3px 0; color: #293345; font-size: 12px; }
.theme-business .template-library-list .library-template-card p { min-height: 0; margin: 0; overflow: hidden; color: #697689; font-size: 8.5px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.theme-business .template-library-list .library-template-card em { display: block; margin-top: 6px; color: #8a94a4; font-size: 7.5px; font-style: normal; }
.theme-business .template-library-list .library-template-card > b { color: #8b96a6; font-size: 13px; transition: transform .16s ease,color .16s ease; }.theme-business .template-library-list .library-template-card:hover > b,.theme-business .template-library-list .library-template-card.selected > b { color: #2e72df; transform: translateX(2px); }
.theme-business .template-preview-panel { min-height: 0; display: flex; flex-direction: column; padding: 25px; border-left: 1px solid #e1e5eb; background: #fff; overflow-y: auto; }
.theme-business .template-preview-top { display: flex; align-items: center; gap: 12px; }.theme-business .template-preview-top small { color: #7e8999; font-size: 7px; font-weight: 780; letter-spacing: .75px; }.theme-business .template-preview-top h3 { margin: 4px 0 0; color: #242d3d; font-size: 17px; }
.theme-business .template-preview-outcome { min-height: 48px; margin: 18px 0; color: #596679; font-size: 10px; line-height: 1.55; }
.theme-business .template-preview-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.theme-business .template-preview-facts > span { padding: 11px; border: 1px solid #e1e5eb; border-radius: 9px; background: #fafbfc; }.theme-business .template-preview-facts small,.theme-business .template-preview-label { display: block; color: #8b95a4; font-size: 6.5px; font-weight: 780; letter-spacing: .65px; }.theme-business .template-preview-facts b { display: block; margin-top: 6px; color: #334054; font-size: 9px; }
.theme-business .template-preview-label { margin-top: 20px; }
.theme-business .template-preview-workstreams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }.theme-business .template-preview-workstreams span { min-height: 33px; display: flex; align-items: center; gap: 7px; padding: 0 8px; color: #4d5a6d; border: 1px solid #e5e8ee; border-radius: 7px; font-size: 7.5px; }.theme-business .template-preview-workstreams i { width: 18px; height: 18px; display: grid; place-items: center; color: #3475df; border-radius: 5px; background: #edf4ff; font-style: normal; font-weight: 750; }
.theme-business .template-preview-graph { position: relative; height: 92px; margin: 17px 0 12px; border: 1px solid #e4e8ee; border-radius: 9px; background-color: #fbfcfe; background-image: radial-gradient(#dce2ea .7px,transparent .7px); background-size: 10px 10px; }.theme-business .template-preview-graph span { position: absolute; z-index: 2; width: 47px; height: 23px; display: grid; place-items: center; color: #556276; border: 1px solid #9fbbec; border-radius: 5px; background: #fff; font-size: 6px; font-weight: 700; }.theme-business .template-preview-graph span:nth-child(1) { left: 7px; top: 33px; border-color: #9d80ed; }.theme-business .template-preview-graph span:nth-child(2) { left: 127px; top: 10px; }.theme-business .template-preview-graph span:nth-child(3) { left: 127px; bottom: 9px; border-color: #78d1b3; }.theme-business .template-preview-graph span:nth-child(4) { right: 8px; top: 33px; border-color: #e9ba6e; }.theme-business .template-preview-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; }.theme-business .template-preview-graph path { fill: none; stroke: #8ca9e9; stroke-width: 1.3; stroke-dasharray: 3 2; }
.theme-business .template-preview-note { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; padding: 9px; border: 1px solid #e3defa; border-radius: 8px; background: #f8f6ff; }.theme-business .template-preview-note > .icon { width: 17px; height: 17px; justify-self: center; color: #6650dd; }.theme-business .template-preview-note p { margin: 0; }.theme-business .template-preview-note b { display: block; color: #4b437a; font-size: 8px; }.theme-business .template-preview-note small { display: block; margin-top: 3px; color: #8179a4; font-size: 7px; line-height: 1.35; }
.theme-business .template-use-selected { width: 100%; min-height: 41px; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }.theme-business .template-use-selected .icon { width: 14px; height: 14px; }
.theme-business .template-library-empty { grid-column: 1; padding: 55px 20px; font-size: 10px; }

@keyframes landingFlow { to { stroke-dashoffset: -90; } }
@keyframes landingFloatA { 0%,100% { transform: translate3d(0,0,22px); } 50% { transform: translate3d(0,-8px,22px); } }
@keyframes landingFloatB { 0%,100% { transform: translate3d(0,0,32px); } 50% { transform: translate3d(0,7px,32px); } }
@keyframes landingFloatC { 0%,100% { transform: translate3d(0,0,28px); } 50% { transform: translate3d(0,-6px,28px); } }
.theme-business .landing-reveal { animation: landingReveal .68s cubic-bezier(.2,.75,.2,1) both; }.theme-business .landing-product-stage.landing-reveal { animation-name: landingStageFade; animation-delay: .12s; }
@keyframes landingReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes landingStageFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1250px) {
  .theme-business .landing-hero { grid-template-columns: minmax(360px,.78fr) minmax(590px,1.2fr); padding-left: 42px; padding-right: 42px; }
  .theme-business .landing-product-stage { transform: scale(.88); transform-origin: right center; margin-left: -45px; }
  .theme-business .landing-hero h1 { font-size: 60px; letter-spacing: -3.8px; }
  .theme-business .landing-benefits { padding-left: 42px; padding-right: 42px; }
}
@media (max-width: 1020px) {
  .theme-business .landing-nav { grid-template-columns: 1fr auto; }.theme-business .landing-nav nav { display: none; }
  .theme-business .landing-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; text-align: center; }
  .theme-business .landing-hero-copy { max-width: 680px; margin: 0 auto; }.theme-business .landing-hero-copy > p { margin-left: auto; margin-right: auto; }.theme-business .landing-kicker,.theme-business .landing-cta-row,.theme-business .landing-proof { justify-content: center; }
  .theme-business .landing-product-stage { width: 790px; justify-self: center; margin: -15px 0 0; transform: scale(.88); transform-origin: center center; }
  .theme-business .landing-benefits { grid-template-columns: repeat(2,1fr); gap: 10px; }.theme-business .landing-benefits article { border: 1px solid #e1e5ec; border-radius: 12px !important; }
  .theme-business .landing-workflow { margin-left: 24px; margin-right: 24px; }
}
@media (max-width: 760px) {
  .theme-business .landing-nav { height: 64px; padding: 0 18px; }.theme-business .landing-brand { font-size: 20px; }.theme-business .landing-brand-mark,.theme-business .landing-brand-mark .brand-symbol { width: 30px; height: 30px; }.theme-business .landing-sign-in { display: none; }.theme-business .landing-nav-cta { height: 37px; padding: 0 12px; font-size: 10px; }
  .theme-business .landing-hero { gap: 0; padding: 48px 20px 36px; }.theme-business .landing-kicker { margin-bottom: 17px; font-size: 8px; }.theme-business .landing-hero h1 { font-size: clamp(44px,13vw,60px); letter-spacing: -3px; }.theme-business .landing-hero-copy > p { font-size: 15px; }.theme-business .landing-cta-row { flex-direction: column; align-items: stretch; }.theme-business .landing-primary-cta,.theme-business .landing-secondary-cta { width: 100%; }.theme-business .landing-proof { flex-wrap: wrap; gap: 10px 15px; }
  .theme-business .landing-product-stage { width: 100%; min-width: 0; height: 330px; margin: 16px 0 0; transform: none; }
  .theme-business .landing-preview-main { top: 18px; right: auto; left: 50%; transform: translateX(-50%) scale(.53) !important; transform-origin: top center; }
  .theme-business .landing-float-card { display: none; }
  .theme-business .landing-benefits { grid-template-columns: 1fr; padding: 0 20px 60px; }.theme-business .landing-benefits article { min-height: 75px; }
  .theme-business .landing-workflow { margin: 0 14px 45px; padding: 52px 18px; }.theme-business .landing-section-copy h2 { font-size: 34px; letter-spacing: -1.6px; }.theme-business .landing-steps { grid-template-columns: 1fr; }.theme-business .landing-steps article { min-height: 180px; }.theme-business .landing-footer { grid-template-columns: 1fr auto; padding: 0 20px; }.theme-business .landing-footer p { display: none; }
  .theme-business .template-library-modal { width: calc(100vw - 22px); max-height: calc(100vh - 22px); }.theme-business .template-library-controls { align-items: stretch; flex-direction: column; }.theme-business .template-library-controls > label { width: 100%; }.theme-business .template-filter-tabs { overflow-x: auto; }.theme-business .template-browser { height: calc(100vh - 234px); grid-template-columns: 1fr; }.theme-business .template-preview-panel { display: none; }.theme-business .template-library-list { padding: 12px; }.theme-business .template-library-list .library-template-card { min-height: 88px; }
}
@media (max-width: 470px) {
  .theme-business .landing-product-stage { height: 275px; margin-top: 8px; }
  .theme-business .landing-preview-main { transform: translateX(-50%) scale(.47) !important; }
  .theme-business .landing-hero { padding-top: 40px; }.theme-business .landing-hero h1 { font-size: 43px; letter-spacing: -2.7px; }
  .theme-business .landing-proof { font-size: 8px; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .theme-business .template-preview-graph { display: none; }
  .theme-business .template-preview-outcome { min-height: 34px; margin: 12px 0; }
  .theme-business .template-preview-label { margin-top: 12px; }
  .theme-business .template-preview-note { margin-top: 10px; }
  .theme-business .template-use-selected { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-business .landing-reveal,
  .theme-business .landing-float-card,
  .theme-business .preview-connections path { animation: none !important; }
  .theme-business .landing-screen { scroll-behavior: auto; }
  .theme-business .landing-preview-main { transition: none; }
}

/* Mobile product shell — touch-first navigation and a usable planning canvas. */
.theme-business .dashboard-mobile-nav { display: none; }

@media (max-width: 760px) {
  html,
  body.theme-business { width: 100%; min-width: 0; min-height: 100%; }

  .theme-business .dashboard-screen { display: block; overflow: hidden; }
  .theme-business .dash-main { height: 100dvh; padding-bottom: max(34px,env(safe-area-inset-bottom)); scroll-behavior: smooth; }
  .theme-business .dash-header,
  .theme-business .idea-hero,
  .theme-business .dashboard-section,
  .theme-business .dashboard-mobile-nav { width: calc(100% - 28px); max-width: none; }

  .theme-business .dash-header {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 22px 0 16px;
  }
  .theme-business .dash-header > div:first-child { min-width: 0; padding-top: 48px; }
  .theme-business .dash-header .eyebrow { position: absolute; top: 25px; left: 0; margin: 0 !important; font-size: 8px !important; }
  .theme-business .dash-header h1 { max-width: 100%; font-size: 26px; line-height: 1.08; letter-spacing: -.65px; }
  .theme-business .dash-header p { max-width: 315px; margin-top: 8px; font-size: 12.5px; line-height: 1.48; }
  .theme-business .header-actions { position: absolute; top: 14px; right: 0; gap: 6px; }
  .theme-business .header-actions .icon-button,
  .theme-business .header-actions .avatar { width: 38px; height: 38px; margin: 0; border-radius: 11px; }

  .theme-business .dashboard-mobile-nav {
    display: grid;
    grid-auto-columns: minmax(105px,1fr);
    grid-auto-flow: column;
    gap: 7px;
    margin: 0 auto 14px;
    padding: 2px 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .theme-business .dashboard-mobile-nav::-webkit-scrollbar { display: none; }
  .theme-business .dashboard-mobile-nav button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    color: #465367;
    border: 1px solid #dde3eb;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(35,47,66,.055);
    font-size: 10.5px;
    font-weight: 720;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .theme-business .dashboard-mobile-nav button:first-child { color: #fff; border-color: #0874e8; background: #0874e8; }
  .theme-business .dashboard-mobile-nav .icon { width: 15px; height: 15px; }

  .theme-business .idea-hero { margin: 0 auto; padding: 23px 16px 17px; border-radius: 16px; }
  .theme-business .idea-copy { text-align: left; }
  .theme-business .idea-badge { font-size: 8px; }
  .theme-business .idea-copy h2 { margin-top: 9px; font-size: clamp(25px,7.5vw,31px); line-height: 1.08; letter-spacing: -.8px; }
  .theme-business .idea-copy p { margin-top: 10px; font-size: 12.5px; line-height: 1.5; }
  .theme-business .idea-composer { margin-top: 17px; padding-bottom: 10px; border-radius: 12px; }
  .theme-business .idea-composer textarea { min-height: 92px; padding: 14px 14px 8px; font-size: 14px; line-height: 1.5; }
  .theme-business .composer-planning-row { gap: 9px; margin: 2px 9px 10px; padding: 10px; }
  .theme-business .composer-budget-heading { grid-template-columns: 30px minmax(0,1fr); }
  .theme-business .composer-budget-heading > span:first-child { width: 30px; height: 30px; }
  .theme-business .budget-presets { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
  .theme-business .budget-presets button { min-width: 0; height: 36px; padding: 0 4px; font-size: 9px; }
  .theme-business .budget-guidance { font-size: 8.5px; line-height: 1.4; }
  .theme-business .composer-actions { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.35fr); gap: 7px; padding: 0 9px; }
  .theme-business .composer-actions .idea-hint { display: none; }
  .theme-business .composer-actions .button { width: 100%; min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; font-size: 10.5px; white-space: nowrap; }
  .theme-business .composer-actions .button .icon { width: 14px; height: 14px; }
  .theme-business .suggestion-row { justify-content: flex-start; margin-top: 11px; padding: 1px 0 3px; overflow-x: auto; scrollbar-width: none; }
  .theme-business .suggestion-row::-webkit-scrollbar { display: none; }
  .theme-business .suggestion-row > * { flex: 0 0 auto; }

  .theme-business .dashboard-section { margin: 24px auto 0; }
  .theme-business .section-heading { align-items: center; }
  .theme-business .section-heading h3 { font-size: 16px; }
  .theme-business .section-heading p { font-size: 10px; }
  .theme-business .project-grid { display: flex; gap: 10px; padding: 1px 1px 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .theme-business .project-grid::-webkit-scrollbar { display: none; }
  .theme-business .project-card { flex: 0 0 min(86vw,320px); min-height: 226px; scroll-snap-align: start; }
  .theme-business .project-card.new-project { flex-basis: 190px; min-height: 226px; }
  .theme-business .template-row { display: flex; gap: 9px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .theme-business .template-row::-webkit-scrollbar { display: none; }
  .theme-business .template-card,
  .theme-business .template-card:nth-child(4) { flex: 0 0 245px; display: grid; min-height: 66px; scroll-snap-align: start; }
  .theme-business .activity-item { min-height: 64px; padding: 10px; }
  .theme-business .activity-item > b { align-self: center; }
}

@media (max-width: 760px) {
  .theme-business .workspace-screen { width: 100%; max-width: 100vw; height: 100dvh; overflow: hidden; }
  body.theme-reference.theme-business .workspace-header {
    position: relative;
    z-index: 100;
    flex: 0 0 114px;
    min-height: 114px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 42px;
    grid-template-rows: 64px 50px;
    gap: 0 6px;
    padding: 0 10px;
    overflow: visible;
  }
  .theme-business .workspace-brand-block { grid-column: 1; grid-row: 1; gap: 7px; min-width: 0; }
  .theme-business .workspace-wordmark { flex: 0 0 34px; width: 34px; min-width: 34px; }
  .theme-business .workspace-logo-tile { width: 32px; height: 32px; }
  .theme-business .project-name-wrap { min-width: 0; padding-left: 6px; }
  .theme-business .title-line input { width: 100%; min-width: 0; padding: 0 3px; font-size: 12px; }
  .theme-business .workspace-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  body.theme-reference.theme-business .workspace-actions .generate-plan-button { width: 40px; min-width: 40px; height: 40px; border-radius: 11px; }
  .theme-business .view-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    width: calc(100% + 20px);
    margin-left: -10px;
    padding: 0 8px;
    overflow-x: auto;
    border-top: 1px solid #e7ebf0;
    scrollbar-width: none;
  }
  .theme-business .view-tabs::-webkit-scrollbar { display: none; }
  .theme-business .view-tabs button { flex: 1 0 70px; min-width: 70px; height: 49px; gap: 5px; padding: 0 7px; font-size: 10px; }
  .theme-business .view-tabs button .view-icon { width: 22px; height: 22px; }

  .theme-business .workspace-body,
  .theme-business .workspace-body.library-collapsed { position: relative; grid-template-columns: minmax(0,1fr) !important; min-width: 0; }
  .theme-business .node-toolbar {
    position: absolute;
    z-index: 75;
    inset: 0 auto auto 0;
    width: 0;
    min-width: 0;
    height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .theme-business .node-toolbar > :not(.block-library-panel) { display: none !important; }
  .theme-business .project-content { grid-column: 1; min-width: 0; }
  .theme-reference.theme-business .block-library-panel {
    position: fixed;
    top: 114px;
    bottom: 0;
    left: 0;
    width: min(344px,calc(100vw - 32px));
    padding-bottom: max(24px,env(safe-area-inset-bottom));
    border-radius: 0 16px 0 0;
    box-shadow: 18px 0 46px rgba(35,44,57,.2);
  }

  body.theme-reference.theme-business .inspector {
    position: fixed;
    z-index: 120;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(72dvh,680px);
    max-height: calc(100dvh - 76px);
    overflow: hidden;
    border-top: 1px solid #d9dfe7;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 50px rgba(35,44,57,.2);
    transform: translateY(0);
  }
  body.theme-reference.theme-business .inspector.closed { transform: translateY(105%); }
  .theme-business .inspector-header { min-height: 58px; }
  .theme-business .inspector-scroll { padding-bottom: max(24px,env(safe-area-inset-bottom)); }

  .theme-business .canvas-tool-rail {
    position: fixed;
    z-index: 24;
    right: 10px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    left: 10px;
    display: flex;
    grid-template-columns: none;
    gap: 3px;
    max-width: none;
    padding: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 13px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .theme-business .canvas-tool-rail::-webkit-scrollbar { display: none; }
  .theme-business .canvas-tool-rail .canvas-icon-pill { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 9px; }
  .theme-business .canvas-tool-rail .canvas-icon-pill .icon { width: 18px; height: 18px; }
  .theme-business .canvas-tool-divider { flex: 0 0 1px; width: 1px; height: 28px; margin: 7px 3px; }
  .theme-business .canvas-tool-rail .canvas-icon-pill > span { display: none !important; }
  .theme-business .canvas-top-left { top: 10px; left: 10px; }
  .theme-business .canvas-top-left .canvas-divider,
  .theme-business .canvas-top-left > .canvas-icon-pill,
  .theme-business .shortcut-hint,
  .theme-business .health-badge,
  .theme-business .minimap { display: none; }
  .theme-business .canvas-pill { max-width: calc(100vw - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .theme-business .canvas-bottom-left { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; justify-content: center; transform: none; }
  .theme-business .zoom-controls { border-radius: 11px; }
  .theme-business .zoom-controls button { min-width: 42px; height: 42px; }
  .theme-business .zoom-controls #zoom-value { min-width: 58px; font-size: 9px; }
  .theme-business .node-port { width: 15px; height: 15px; margin-top: -7px; }
  .theme-business .node-port.in { left: -8px; }
  .theme-business .node-port.out { right: -8px; }

  .theme-business .canvas-asset-picker,
  .theme-business .emoji-picker {
    position: fixed;
    z-index: 130;
    top: auto;
    right: 10px;
    bottom: calc(122px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-height: min(58dvh,520px);
    overflow-y: auto;
    border-radius: 15px;
  }

  .theme-business .onboarding-tip {
    top: auto;
    right: 10px;
    bottom: calc(122px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-width: none;
    grid-template-columns: 29px minmax(0,1fr) auto 30px;
    transform: none;
    animation: none;
  }
  .theme-business .onboarding-tip p { font-size: 8.5px; }
  .theme-business .onboarding-tip p b { font-size: 9.5px; }
  .theme-business .onboarding-tip #open-guided-start { min-height: 32px; white-space: nowrap; }

  .theme-business .workspace-tour:not(.is-hidden) .tour-spotlight { display: none; }
  .theme-business .workspace-tour:not(.is-hidden) .tour-card {
    top: auto !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    width: auto;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    padding: 16px;
    overflow-y: auto;
    border-radius: 16px;
  }
  .theme-business .tour-icon { width: 36px; height: 36px; margin: 10px 0; }
  .theme-business .tour-card h2 { font-size: 18px; }
  .theme-business .tour-card > p { font-size: 11px; }
  .theme-business .tour-card footer { gap: 8px; }
  .theme-business .tour-card footer button { min-width: 64px; min-height: 40px; }

  .theme-business .alt-view { padding: 20px 14px calc(76px + env(safe-area-inset-bottom)); }
  .theme-business .view-heading { gap: 12px; margin-bottom: 18px; }
  .theme-business .view-heading h2 { font-size: 22px; }
  .theme-business .summary-banner { grid-template-columns: 1fr; }
  .theme-business .plan-grid,
  .theme-business .budget-grid { grid-template-columns: minmax(0,1fr); }
  .theme-business .plan-side { position: static; }
  .theme-business .kanban-board { min-width: 820px; }
}

