/* The original planet, skyline and control-room composition becomes a robot
   world. Its real workflow editor is the factory's command deck. */
body.theme-ai[data-world="robots"] {
  --bg: #08141e;
  --surface: #142936;
  --ink: #eff7f7;
  --muted: #abc0c9;
  --accent: #ffcd6d;
  --line: #385361;
  --button-ink: #15222a;
  background: #08141e;
  color: var(--ink);
}

body[data-world="robots"] .site-header {
  background: linear-gradient(180deg, #192d37fa, #0c1c26fa);
  border-bottom: 1px solid #6f7980;
  box-shadow: 0 2px 0 #030e16, inset 0 2px #ffc965;
}
body[data-world="robots"] .brand .monogram { color: #ffce74; }
body[data-world="robots"] .brand-name { color: #eef1e7; }
body[data-world="robots"] .brand-name small { color: #a8bcc5; }
body[data-world="robots"] .site-header .services-menu {
  background: #142732;
  border-color: #60717a;
  color: #e7f3f4;
}
body[data-world="robots"] .site-header .services-menu a:hover {
  background: #244151;
  color: #ffe0a1;
}
body[data-world="robots"] .ai-environment {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #01091608 0%, #020b1666 25%, #020b1600 72%, #01060dbb 100%),
    url('/assets/robots/robot-world.webp') center top / 100% auto no-repeat;
  padding-bottom: 24px;
}
body[data-world="robots"] .ai-environment::before {
  content: '';
  position: absolute;
  inset: 0;
  height: auto;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #02081215 0%, #02091200 13%, #020b16b0 24%, #020b1680 66%, #020b1600 82%);
}
body[data-world="robots"] .ai-hero {
  height: auto;
  min-height: 395px;
  padding-top: 30px;
  gap: 25px;
}
body[data-world="robots"] .ai-hero-copy {
  margin-left: 22%;
  padding-left: 3px;
  max-width: 700px;
  width: 64%;
}
body[data-world="robots"] .ai-hero-copy > .eyebrow {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  background: none;
  color: #ffd486;
  font: 10px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body[data-world="robots"] .ai-hero-copy > .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: #81f2d0;
  box-shadow: 0 0 11px #7bf5d58c;
}
body[data-world="robots"] .ai-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(43px, 4.6vw, 66px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 750;
  background: none;
  color: #fff2d5;
  text-shadow: 2px 3px 0 #214459, 0 7px 25px #00111bd9;
}
body[data-world="robots"] .ai-hero-copy > p {
  color: #c9dce3;
  font-size: 14px;
  line-height: 1.75;
  max-width: 610px;
  text-shadow: 0 2px 7px #03111f;
}
body[data-world="robots"] .ai-side-note {
  left: 1%;
  right: auto;
  top: 65px;
  margin: 0;
  padding: 12px 0;
  border-left: 0;
  background: transparent;
  font: 8px/1.8 'IBM Plex Mono', monospace;
  letter-spacing: .14em;
  color: #e9dfc3;
  text-shadow: 0 2px 5px #000;
}
body[data-world="robots"] .ai-side-note i {
  width: 34px;
  height: 3px;
  background: #70d9d0;
  box-shadow: 9px 0 0 #70d9d030, 18px 0 0 #70d9d018;
  margin-top: 9px;
}
body[data-world="robots"] .ai-hero-link { display: none; }
body[data-world="robots"] .ai-capability-strip {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #4e6673;
  border-top-color: #8597a0;
  background: linear-gradient(100deg, #203845ee, #0e222ee8);
  box-shadow: inset 0 3px #ffffff05, 0 4px 0 #07121a;
}
body[data-world="robots"] .ai-capability-strip > span {
  gap: 9px;
  font-size: 10px;
  color: #f0e8d1;
  min-width: 0;
}
body[data-world="robots"] .ai-capability-strip small {
  color: #adc4cf;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 3px;
}
body[data-world="robots"] .ai-capability-strip .icon {
  color: #ffc975;
  border-color: #5f7b84;
  border-radius: 2px;
  background: linear-gradient(145deg, #233f4d, #142833);
  box-shadow: inset 1px 1px #8fbdca22, 2px 2px #051722;
  width: 17px;
  height: 17px;
  padding: 7px;
}

/* A solid steel instrument panel keeps the working editor separate from the
   busy illustration. Rivets and a small warning rail provide its game skin. */
body[data-world="robots"] .ai-control {
  border: 1px solid #647780;
  border-top: 3px solid #d6a24e;
  border-radius: 4px;
  background: #10222d;
  box-shadow: 0 0 0 4px #071720, 0 0 0 5px #39525f, 0 18px 44px #0005;
}
body[data-world="robots"] .ai-control::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  z-index: 1;
  background: repeating-linear-gradient(130deg, #bf9451 0 7px, #1b2d36 7px 15px);
  pointer-events: none;
}
body[data-world="robots"] .control-top {
  position: relative;
  padding-top: 24px;
  background:
    radial-gradient(circle at 9px 12px, #8799a1 0 2px, #051824 2.5px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 9px) 12px, #8799a1 0 2px, #051824 2.5px 4px, transparent 4.5px),
    linear-gradient(180deg, #2a414d, #162c38);
  border-bottom-color: #637780;
  box-shadow: inset 0 -3px #071b28;
}
body[data-world="robots"] .control-brand h2 {
  color: #fff0cc;
  letter-spacing: -.035em;
  font-weight: 700;
  text-shadow: 1px 2px 0 #081722;
}
body[data-world="robots"] .control-brand p { color: #b4c9d3; }
body[data-world="robots"] .control-top::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #81ead4;
  box-shadow: -25px 0 #81ead490, 25px 0 #81ead445;
  pointer-events: none;
}
body[data-world="robots"] .control-logo {
  border-color: #ba9559;
  border-radius: 3px;
  color: #ffce78;
  background: linear-gradient(135deg, #43504b, #1b303a);
  box-shadow: inset 0 0 0 3px #112936, 2px 2px 0 #05141f;
}
body[data-world="robots"] .control-toolbar,
body[data-world="robots"] .canvas-footer,
body[data-world="robots"] .canvas-label {
  background: #142d3b;
  border-color: #395768;
}
body[data-world="robots"] .control-toolbar {
  box-shadow: inset 0 1px #ffffff07;
}
body[data-world="robots"] .board-tool:hover,
body[data-world="robots"] .board-tool[aria-pressed="true"] {
  border-color: #c8a76a;
  background: #304552;
  color: #ffdea2;
}
body[data-world="robots"] .module-library,
body[data-world="robots"] .ai-inspector {
  background: linear-gradient(110deg, #18323f, #122733);
  border-color: #466373;
}
body[data-world="robots"] .library-heading,
body[data-world="robots"] .inspector-heading { border-color: #3a5361; }
body[data-world="robots"] .panel-eyebrow { color: #e2be7f; }
body[data-world="robots"] :is(.library-heading, .inspector-heading) .panel-eyebrow {
  display: inline-block;
  padding: 2px 5px;
  border-left: 2px solid #dcad5c;
  background: #5f55332e;
  letter-spacing: .11em;
}
body[data-world="robots"] :is(.library-heading, .inspector-heading) h3 {
  color: #d8f0e9;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
}
body[data-world="robots"] #create-custom {
  border-color: #96855c;
  border-radius: 2px;
  color: #ffe0a4;
  background: linear-gradient(115deg, #3b4639, #263c40);
  box-shadow: inset 0 1px #ebd58c1a, 2px 2px #091a21;
}
body[data-world="robots"] #create-custom small { color: #c2d0bd; }
body[data-world="robots"] .library-item {
  border-radius: 2px;
  border-color: #45616e;
  background: linear-gradient(115deg, #274553, #173340);
  box-shadow: inset 1px 1px #a5c9cf0a, 0 2px #06182466;
}
body[data-world="robots"] .library-item:hover {
  border-color: #d4b16d;
  background: linear-gradient(115deg, #355564, #203f4c);
}
body[data-world="robots"] .library-item small { color: #b0c7d3; }
body[data-world="robots"] .library-tabs button[aria-pressed="true"] {
  color: #ffe0a1;
  background: #3b443d;
  border-color: #847552;
  box-shadow: 0 1px #ffcc71;
}
body[data-world="robots"] .tool-symbol,
body[data-world="robots"] .node-symbol {
  border-radius: 2px;
  box-shadow: inset 1px 1px #cff7ff33, 2px 2px #071826;
}
body[data-world="robots"] .workflow-area { background: #142e3c; }
body[data-world="robots"] .workflow-canvas {
  background-color: #102937;
  background-image:
    radial-gradient(circle, #85adbb44 1px, transparent 1px),
    linear-gradient(#4d79891a 1px, transparent 1px),
    linear-gradient(90deg, #4d79891a 1px, transparent 1px),
    radial-gradient(ellipse at 50% 20%, #37687920, transparent 75%);
  box-shadow: inset 0 3px 16px #00121a55;
}
body[data-world="robots"] .flow-node[data-node-id] {
  border-radius: 3px;
  background: linear-gradient(130deg, color-mix(in srgb, var(--node-accent) 21%, #203c4b), #153140);
  box-shadow: inset 0 0 0 3px #08213288, inset 1px 1px #afdbdf22, 4px 5px #05192499;
}
body[data-world="robots"] .flow-node.selected,
body[data-world="robots"] .flow-node[aria-selected="true"] {
  outline-color: #ffcf7c;
}
body[data-world="robots"] .flow-node.state-active {
  box-shadow: inset 0 0 0 3px #08213288, 0 0 0 2px color-mix(in srgb, var(--node-accent) 40%, transparent), 0 0 25px color-mix(in srgb, var(--node-accent) 35%, transparent);
}
body[data-world="robots"] .node-port { box-shadow: 0 0 0 4px #123140; }
body[data-world="robots"] .department-frame {
  border-radius: 2px;
  border-color: #75a5b4;
  background: #5a91a50a;
}
body[data-world="robots"] .department-title {
  border-radius: 2px;
  color: #ffdaa0;
  background: #294350;
  border-color: #5b7e8c;
}
body[data-world="robots"] .task-dock {
  border-top-color: #a1814b;
  background: linear-gradient(115deg, #263e49, #142e3c);
  box-shadow: inset 0 2px #dac5860c;
}
body[data-world="robots"] #queue-count::before {
  content: 'REQUESTS / ';
  color: #efc985;
  font-size: 8px;
  letter-spacing: .045em;
}
body[data-world="robots"] .task-source-heading label { color: #e5e5d4; }
body[data-world="robots"] .task-source-heading button { color: #ffd28b; }
body[data-world="robots"] .task-source-heading button:hover { color: #ffedc3; }
body[data-world="robots"] .task-source-field > select,
body[data-world="robots"] .task-input-row input,
body[data-world="robots"] #input-fields :is(select, textarea) {
  color: #e2eeec;
  background: #102b38;
  border-color: #607e88;
  border-radius: 2px;
  box-shadow: inset 0 2px 3px #07192366;
}
body[data-world="robots"] .task-source-field > select:hover,
body[data-world="robots"] #input-fields :is(select, textarea):hover { border-color: #c9ae77; }
body[data-world="robots"] .task-source-field > small { color: #b0c8cf; }
body[data-world="robots"] .task-queue .task-origin { color: #f0cf8f; }
body[data-world="robots"] #input-fields {
  background: #29444b66;
  border-left-color: #dcb76e;
}
body[data-world="robots"] #input-fields > .panel-eyebrow { color: #f3d495; }
body[data-world="robots"] #input-fields > p { color: #bed1d8; }
body[data-world="robots"] #input-fields > button {
  color: #ffdfa6;
  background: #354637;
  border-color: #9c9169;
  border-radius: 2px;
  box-shadow: inset 0 1px #ffe7b315, 0 2px #091a22;
}
body[data-world="robots"] #input-fields > button:hover {
  background: #485840;
  border-color: #eed6a0;
}
body[data-world="robots"] .task-input-row button,
body[data-world="robots"] #run-flow,
body[data-world="robots"] #run-request,
body[data-world="robots"] #approve-flow {
  border-color: #c3a062;
  background: linear-gradient(135deg, #66532f, #3e422f);
  color: #fff1cd;
  border-radius: 2px;
  box-shadow: inset 0 1px #ffe4a333, 0 2px #081a22;
}
body[data-world="robots"] :is(#run-flow, #run-request, #approve-flow):enabled:hover,
body[data-world="robots"] .task-input-row button:enabled:hover {
  background: linear-gradient(135deg, #836634, #575335);
  border-color: #ffe0a0;
}
body[data-world="robots"] .board-guide,
body[data-world="robots"] .board-test-row,
body[data-world="robots"] .demo-disclaimer {
  background-color: #102633;
  border-color: #395362;
}
body[data-world="robots"] .ai-control :is(button, input, select, textarea):focus-visible {
  outline-color: #ffda8b;
}

body[data-world="robots"] .ai-engagements {
  gap: 18px;
  padding: 42px 0 24px;
}
body[data-world="robots"] .ai-engagements > div {
  border: 1px solid #3e5664;
  border-top: 2px solid #627982;
  padding: 25px 22px 25px 68px;
  background:
    radial-gradient(circle at calc(100% - 9px) 9px, #647c86 0 1.5px, #081925 2px 3px, transparent 3.5px),
    linear-gradient(140deg, #1c323e, #10222e);
  box-shadow: inset 0 1px #c6e3e609, 3px 4px #06131c;
  counter-increment: robot-level;
}
body[data-world="robots"] .ai-engagements { counter-reset: robot-level; }
body[data-world="robots"] .ai-engagements > div::after {
  content: '0' counter(robot-level);
  position: absolute;
  right: 14px;
  bottom: 13px;
  color: #80c7d311;
  font: 700 46px/1 monospace;
  pointer-events: none;
}
body[data-world="robots"] .engagement-icon {
  position: absolute;
  top: 25px;
  left: 20px;
  margin: 0;
  color: #ffcf7b;
  border-color: #65716a;
  border-radius: 2px;
  background: #293e45;
  box-shadow: 2px 2px #081922;
}
body[data-world="robots"] .ai-engagements h3 {
  color: #f1dfb8;
  font-size: 15px;
  font-weight: 550;
}
body[data-world="robots"] .ai-engagements p { color: #b5c8d1; }
body[data-world="robots"] .ai-bottom-line {
  min-height: 172px;
  height: auto;
  border-top: 1px solid #355464;
  padding-block: 28px;
}
body[data-world="robots"] .ai-bottom-line .eyebrow {
  color: #94c7ce;
  font: 8px/1.6 'IBM Plex Mono', monospace;
  letter-spacing: .13em;
}
body[data-world="robots"] .ai-bottom-line h2 {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.02em;
  text-transform: none;
  font-weight: 600;
  color: #f5e8cd;
}
body[data-world="robots"] .ai-bottom-line > p { color: #a9c4ce; }
body[data-world="robots"] :is(.ai-bottom-line .button, .site-header .nav-cta)::before {
  background: linear-gradient(120deg, #ffe2a0, #8d784b 47%, #d6b472);
}
body[data-world="robots"] :is(.ai-bottom-line .button, .site-header .nav-cta)::after {
  background: linear-gradient(110deg, #3c443b, #182e35 70%);
}
body[data-world="robots"] :is(.ai-bottom-line .button, .site-header .nav-cta) {
  color: #ffdea0 !important;
}
body[data-world="robots"] :is(.ai-bottom-line .button, .site-header .nav-cta) .button-arrow {
  color: #ffdfa0;
  background: #ae8d4d22;
  border-color: #a38856;
}
body[data-world="robots"] .service-footer {
  background: transparent;
  border-color: #385260;
  color: #b8ccd5;
}

/* The factory keeps working controls at reading size. Extra screen width is
   useful for the workflow, not a reason to squeeze the parts shelf. */
@media (min-width: 761px) {
  body[data-world="robots"] .ai-control.workflow-presentation {
    --robot-library-width: clamp(240px, 18vw, 280px);
    --robot-inspector-width: clamp(260px, 20vw, 300px);
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused {
    inset: 10px;
    width: min(1880px, calc(100vw - 20px));
    max-width: none;
    height: calc(100dvh - 20px);
    margin: 0 auto;
    box-sizing: border-box;
  }
  /* Size the first workbench to the actual scroller, rather than its old
     fixed 480px canvas. Requests and results still follow below it. */
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused>.robot-board-viewport {
    container-type: size;
    --robot-example-height: 80px;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .robot-board-viewport>.workflow-entry.workflow-example {
    height: var(--robot-example-height);
    min-height: var(--robot-example-height);
    flex: 0 0 var(--robot-example-height);
    box-sizing: border-box;
    padding: 8px 16px;
    gap: 16px;
    flex-wrap: nowrap;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .workflow-example-copy h3 { font-size: 16px; line-height: 1.35; margin-bottom: 3px; padding-right: 132px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .workflow-entry.workflow-example p { font-size: 13px; line-height: 1.45; max-height: 38px; overflow-y: auto; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .workflow-example-copy { position: relative; flex: 1; min-width: 0; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .planner-readiness { position: absolute; top: 0; right: 0; margin: 0; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .planner-readiness[open] { z-index: 30; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .planner-readiness ul {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(470px, calc(100vw - 80px));
    max-height: min(280px, 45dvh);
    overflow-y: auto;
    border: 1px solid #819a8a;
    border-left: 2px solid #e3bf77;
    background: #132f38;
    box-shadow: 0 8px 28px #0008;
    color: #d7eceb;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .workflow-entry.workflow-example .workflow-entry-actions { margin: 0; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .robot-board-viewport>.control-grid {
    height: calc(100cqh - var(--robot-example-height));
    flex: 0 0 calc(100cqh - var(--robot-example-height));
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .robot-board-viewport .workflow-area {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .robot-board-viewport .workflow-canvas {
    height: auto;
    min-height: 0;
    flex: 1 1 0;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .control-toolbar { padding-block: 7px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .canvas-label { padding: 4px 112px 4px 12px; min-height: 46px; flex-shrink: 0; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .canvas-zoom button { min-width: 36px; height: 36px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .workflow-navigation-hint {
    position: absolute;
    top: 5px;
    right: 12px;
    z-index: 3;
    padding: 0;
    border: 0;
    background: none;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .workflow-controls-help { min-height: 36px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .workflow-navigation-hint p { display: none; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .workflow-area:has(.planner-request-bar:not([hidden])) .workflow-navigation-hint { top: auto; bottom: 42px; left: 12px; right: auto; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .canvas-footer {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 42px;
    min-height: 0;
    padding: 0;
    background: none;
    border: 0;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .canvas-footer>:not(.workflow-result-jump) { display: none; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .planner-connect-form:not([open]) { display: none; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .planner-connect-form[open] {
    position: absolute;
    z-index: 5;
    bottom: 40px;
    left: 12px;
    right: 12px;
    max-height: calc(100% - 96px);
    overflow-y: auto;
    border: 1px solid #819a8a;
    box-shadow: 0 8px 28px #0008;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .library-content { overflow-y: auto; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .node-library { flex: 0 0 auto; overflow: visible; max-height: none; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .inspector-content { min-height: 0; flex: 1; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused .control-grid {
    grid-template-columns: var(--robot-library-width) minmax(0, 1fr) var(--robot-inspector-width);
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused.library-collapsed .control-grid {
    grid-template-columns: 52px minmax(0, 1fr) var(--robot-inspector-width);
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused.inspector-collapsed .control-grid {
    grid-template-columns: var(--robot-library-width) minmax(0, 1fr) 52px;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused.library-collapsed.inspector-collapsed .control-grid {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused.robot-assembling .control-grid {
    grid-template-columns: var(--robot-library-width) minmax(0, 1fr);
  }
  body[data-world="robots"] .ai-control.workflow-presentation .library-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
  body[data-world="robots"] .ai-control.workflow-presentation .library-tabs button {
    min-height: 38px;
    padding: 7px 5px;
    font-size: 12px;
    line-height: 1.4;
    color: #c5d9df;
  }
  body[data-world="robots"] .ai-control.workflow-presentation .library-tabs button[aria-pressed="true"] {
    font-weight: 700;
    color: #ffe0a1;
  }
  body[data-world="robots"] .ai-control.workflow-presentation .library-content { padding: 12px; }
  body[data-world="robots"] .ai-control.workflow-presentation :is(.library-heading, .inspector-heading) h3 {
    font: 650 15px/1.4 'DM Sans', sans-serif;
  }
  body[data-world="robots"] .ai-control.workflow-presentation .panel-eyebrow { font-size: 10px; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-heading { padding-inline: 12px; }
  body[data-world="robots"] .ai-control.workflow-presentation .panel-toggle { width: 32px; height: 32px; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-search { min-height: 40px; padding: 10px; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-search input { font-size: 13px; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-item {
    min-height: 68px;
    padding: 10px;
    gap: 10px;
  }
  body[data-world="robots"] .ai-control.workflow-presentation .library-item strong { font-size: 14px; font-weight: 600; line-height: 1.35; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-item small { font-size: 11px; line-height: 1.45; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-item .tool-symbol { width: 31px; height: 34px; }
  body[data-world="robots"] .ai-control.workflow-presentation #create-custom { padding: 11px 10px; }
  body[data-world="robots"] .ai-control.workflow-presentation #create-custom strong { font-size: 13px; line-height: 1.4; }
  body[data-world="robots"] .ai-control.workflow-presentation #create-custom small { font-size: 11px; line-height: 1.45; }
  body[data-world="robots"] .ai-control.workflow-presentation .library-instruction { font-size: 11px; line-height: 1.6; }
  body[data-world="robots"] .ai-control.workflow-presentation .control-brand h2 { font-size: 23px; }
  body[data-world="robots"] .ai-control.workflow-presentation .rw-crew-strip { min-height: 38px; font-size: 12px; }
  body[data-world="robots"] .ai-control.workflow-presentation .rw-crew-caption>strong { font-size: 9px; }
  body[data-world="robots"] .ai-control.workflow-presentation .rw-crew-message { color: #bad7de; }
  body[data-world="robots"] .ai-control.workflow-presentation .rw-crew-strip button { min-height: 30px; font-size: 11px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .rw-crew-strip { min-height: 30px; padding-block: 2px; font-size: 11px; }
  body[data-world="robots"] .ai-control.workflow-presentation.board-focused:not(.robot-assembling) .rw-crew-strip button { min-height: 26px; padding-block: 3px; }
}

@media (min-width: 1500px) {
  body[data-world="robots"] .ai-hero { min-height: 405px; padding-top: 34px; }
  body[data-world="robots"] .ai-hero-copy > p { font-size: 15px; }
}
@media (max-width: 1000px) and (min-width: 761px) {
  body[data-world="robots"] .ai-hero-copy { margin-left: 18%; width: 74%; }
  body[data-world="robots"] .ai-side-note { font-size: 6px; left: 0; }
  body[data-world="robots"] .ai-capability-strip { gap: 9px; padding: 13px 11px; }
  body[data-world="robots"] .ai-capability-strip > span { gap: 7px; font-size: 9px; }
  body[data-world="robots"] .ai-capability-strip small { font-size: 8px; }
  body[data-world="robots"] .ai-capability-strip .icon { width: 14px; height: 14px; padding: 5px; }
  body[data-world="robots"] .ai-engagements > div { padding: 22px 18px; }
  body[data-world="robots"] .engagement-icon { position: static; margin-bottom: 14px; }
}
@media (max-width: 760px) {
  body[data-world="robots"] .site-header nav { background-color: #102632; }
  body[data-world="robots"] .ai-environment { background-size: auto, auto 1050px; background-position: center top, 63% top; }
  body[data-world="robots"] .ai-environment::before {
    height: auto;
    background: linear-gradient(#020d1566, #020d15a6 650px, #020d15 1100px);
  }
  body[data-world="robots"] .ai-hero {
    min-height: 0;
    padding: 32px 0 0;
    gap: 27px;
  }
  body[data-world="robots"] .ai-hero-copy { margin-left: 0; width: 100%; padding: 0 8px; max-width: 580px; }
  body[data-world="robots"] .ai-hero-copy > .eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 20px; }
  body[data-world="robots"] .ai-hero h1 { font-size: clamp(36px, 8.8vw, 62px); margin-bottom: 20px; }
  body[data-world="robots"] .ai-hero-copy > p { font-size: 13px; max-width: 510px; }
  body[data-world="robots"] .ai-side-note { display: none; }
  body[data-world="robots"] .ai-capability-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
    padding: 17px 13px;
  }
  body[data-world="robots"] .ai-capability-strip > span { min-width: 0; gap: 8px; font-size: 10px; }
  body[data-world="robots"] .ai-capability-strip small { font-size: 9px; }
  body[data-world="robots"] .ai-capability-strip > span:last-child { grid-column: 1/-1; }
  body[data-world="robots"] .ai-capability-strip .icon { padding: 5px; width: 16px; height: 16px; }
  body[data-world="robots"] .control-top { padding-top: 21px; }
  body[data-world="robots"] .control-brand h2 { font-size: 18px; }
  body[data-world="robots"] .control-brand p { font-size: 10px; }
  body[data-world="robots"] .board-focused .control-brand h2 { font-size: 14px; }
  body[data-world="robots"] .board-focused .control-top { padding-top: 13px; }
  body[data-world="robots"] .board-focused .control-top::after { display: none; }
  body[data-world="robots"] .ai-engagements { gap: 13px; padding-top: 30px; }
  body[data-world="robots"] .ai-engagements > div { padding: 23px 20px 24px 66px; }
  body[data-world="robots"] .ai-engagements h3 { font-size: 15px; }
  body[data-world="robots"] .engagement-icon { left: 19px; top: 24px; }
  body[data-world="robots"] .ai-bottom-line { padding: 27px 8px; min-height: 160px; }
  body[data-world="robots"] .ai-bottom-line h2 { font-size: 24px; }
}
@media (max-width: 420px) {
  body[data-world="robots"] .board-focused .control-brand h2 { font-size: 12px; }
}
@media (max-width: 380px) {
  body[data-world="robots"] .ai-hero-copy > .eyebrow { font-size: 7px; letter-spacing: .08em; }
  body[data-world="robots"] .ai-capability-strip { padding-inline: 10px; }
  body[data-world="robots"] .ai-capability-strip > span { font-size: 9px; }
  body[data-world="robots"] .ai-capability-strip small { font-size: 8px; }
  body[data-world="robots"] .control-brand h2 { font-size: 16px; }
}

/* No ambient movement is required by the skin. State colours remain visible
   even when reduced motion disables the working editor's signal animation. */
@media (prefers-reduced-motion: reduce) {
  body[data-world="robots"] .ai-environment *,
  body[data-world="robots"] .ai-environment *::before,
  body[data-world="robots"] .ai-environment *::after { scroll-behavior: auto; }
}
