/* Local, scripted research demos. All motion stops in reduced-motion mode. */
.cleo-lab, .cleo-demo, .cleo-pattern-explorer { --cleo-teal: #087d77; --cleo-ink: #263c3a; --cleo-muted: #60716e; --cleo-line: #dbe6e3; --cleo-soft: #edf7f3; --cleo-blue: #eaf3ff; color: var(--cleo-ink); }

.cleo-lab *, .cleo-demo *, .cleo-pattern-explorer * { box-sizing: border-box; }

.cleo-lab [hidden], .cleo-demo [hidden], .cleo-pattern-explorer [hidden] { display: none !important; }

.cleo-lab { margin-top: 52px; scroll-margin-top: 28px; }

.cleo-eyebrow { display: block; font-family: 'Outfit', sans-serif; font-size: 12px; letter-spacing: .1em; font-weight: 500; color: var(--cleo-teal); }

.cleo-lab-heading h2 { font-family: 'Outfit', sans-serif; font-size: clamp(28px, 5vw, 36px); margin: 8px 0 14px; color: var(--cleo-ink); }

.cleo-lab-heading p { max-width: 730px; }

.cleo-lab-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 36px; }

.cleo-lab-nav a { padding: 8px 12px; background: var(--cleo-soft); border-radius: 6px; color: var(--cleo-teal); font-size: 14px; }

.cleo-implication { margin: 44px 0 60px; scroll-margin-top: 24px; }

.cleo-section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }

.cleo-number { color: var(--cleo-teal); font: 500 24px 'Outfit', sans-serif; padding-top: 1px; }

.cleo-section-heading h3 { font-family: 'Outfit', sans-serif; font-size: 24px; line-height: 1.3; padding: 0; margin: 0 0 10px; color: var(--cleo-ink); }

.cleo-section-heading p { font-size: 17px; margin: 0; }

.cleo-demo { border: 1px solid var(--cleo-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 5px 24px #234e3c08; }

.cleo-window-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 20px; background: #f5f8f7; border-bottom: 1px solid var(--cleo-line); font-size: 14px; color: var(--cleo-muted); }

.cleo-window-bar > span:first-child { display: flex; align-items: center; gap: 9px; }

.cleo-live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #0ea5a0; }

.cleo-demo-label { font-size: 12px; }

.cleo-demo-toolbar { padding: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.cleo-demo button, .cleo-pattern-controls button { font-family: inherit; font-size: 16px; cursor: pointer; line-height: 1.35; }

.cleo-demo button:focus-visible, .cleo-pattern-controls button:focus-visible, .cleo-paper-figure summary:focus-visible { outline: 3px solid #268ee1; outline-offset: 4px; }

.cleo-demo button:disabled { cursor: default; opacity: .5; }

.cleo-segment { display: flex; flex-wrap: wrap; padding: 10px; gap: 18px; background: #f0f4f2; border-radius: 9px; }

.cleo-segment button { padding: 9px 13px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--cleo-muted); transition: background .2s, color .2s, box-shadow .2s; }

.cleo-segment button[aria-pressed="true"] { background: #fff; color: var(--cleo-teal); box-shadow: 0 1px 4px #234e3c15; border-color: #cddfd8; }

.cleo-replay { border: 0; background: transparent; color: var(--cleo-muted); padding: 9px 0; font-size: 14px !important; }

.cleo-replay:hover { color: var(--cleo-teal); }

.cleo-control { background: #fff; border: 1px solid #cbdad5; color: var(--cleo-ink); padding: 9px 14px; border-radius: 7px; transition: background .2s, border-color .2s; }

.cleo-control:hover { background: #f0f8f4; }

.cleo-control[aria-pressed="true"] { background: var(--cleo-soft); color: var(--cleo-teal); border-color: var(--cleo-teal); }

.cleo-control-primary { background: var(--cleo-teal); color: #fff; border-color: var(--cleo-teal); }

.cleo-control-primary:hover { background: #06625d; }

.cleo-demo p.cleo-status { padding: 15px 20px; margin: 0; background: #f5f9f7; border-top: 1px solid var(--cleo-line); color: #46645b; font-size: 15px; line-height: 1.5; min-height: 54px; }

.cleo-paper-figure { margin: 14px 0 0; }

.cleo-paper-figure summary { display: list-item; cursor: pointer; color: #53706b; font-size: 14px; padding: 9px 0; }

.cleo-paper-figure figure { margin: 16px 0 0; }

.cleo-paper-figure img { width: 100%; height: auto; }

.cleo-paper-figure figcaption { color: #60716e; font-size: 14px; padding-top: 10px; }

.cleo-canvas { background-color: #f7f9f8; background-image: radial-gradient(#ccd9d3 0.8px, transparent 0.8px); background-size: 16px 16px; }

/* Guidance stays beside its control, visible before the visitor acts. */
.cleo-guide-anchor { min-width: 0; }

.cleo-demo-toolbar { align-items: flex-start; }

.cleo-demo-toolbar > .cleo-guide-anchor { flex: 1 1 320px; }

.cleo-guidance { width: 100%; max-width: 620px; margin: 20px 0 0; padding: 14px 16px; border: 1px solid #d5e1ee; border-radius: 8px; background: #f5f8fc; color: #315271; text-align: left; overflow-wrap: anywhere; }

.cleo-demo .cleo-guidance p { font-size: 15px; line-height: 1.5; margin: 0; color: inherit; }

.cleo-guidance[data-guide-state="result"] { background: #eef7f2; border-color: #b6d5c5; color: #345d4d; }

.cleo-guidance[data-guide-state="running"] { background: #f5f8f7; border-color: var(--cleo-line); color: #4d645c; }

.cleo-demo .is-guided:not(input):not(.cleo-draggable), .cleo-demo .has-guided-range { box-shadow: 0 0 0 3px #287af060, 0 0 16px #287af095, 0 0 30px #287af055; animation: cleo-control-glow 2.2s ease-in-out infinite; }

.cleo-demo .is-guided:not(input):not(.cleo-draggable):not(:focus-visible), .cleo-demo .has-guided-range { outline: 2px solid #438ef6; outline-offset: 3px; }

.cleo-demo .is-guided:not(input):not(.cleo-draggable):hover, .cleo-demo .is-guided:not(input):not(.cleo-draggable):focus-visible, .cleo-demo .has-guided-range:hover, .cleo-demo .has-guided-range:focus-within { animation: none; box-shadow: 0 0 0 4px #287af075, 0 0 20px #287af0b0, 0 0 34px #287af075; }

.cleo-demo button.is-guided:not(.cleo-draggable) { transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }

.cleo-demo button.is-guided:not(.cleo-draggable):hover { transform: translateY(-1px); }

.cleo-demo button.is-guided:not(.cleo-draggable):active { animation: none; transform: translateY(0); box-shadow: 0 0 0 2px #287af075, 0 0 12px #287af095; }

@keyframes cleo-control-glow { 0%, 100% { box-shadow: 0 0 0 2px #287af040, 0 0 10px #287af070, 0 0 20px #287af030; }
  50% { box-shadow: 0 0 0 4px #287af065, 0 0 18px #287af0b0, 0 0 32px #287af065; } }

.cleo-spacing-controls { padding: 0 24px 24px; }

.cleo-spacing-controls .cleo-range-row { padding: 0; }

.cleo-agent-guidance { padding: 0 24px 24px; }

.cleo-agent-guidance .cleo-guidance { max-width: none; }

/* One shared image-and-name treatment for every participant in the demos. */
.cleo-participant { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; background: transparent; }

.cleo-participant > img { display: block; width: 30px; height: auto; object-fit: contain; flex-shrink: 0; pointer-events: none; }

.cleo-participant > span { border-radius: 4px; padding: 2px 7px; background: #3874bf; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.3; box-shadow: 0 2px 5px #263c3a15; }

.cleo-participant-agent > img { width: 50px; }

.cleo-participant-agent > span { background: #087d77; }

/* 01: grouping operations without changing progress. */
.cleo-visibility-scene { padding: 6px 24px 26px; max-width: 600px; margin: 0 auto; min-height: 285px; }

.cleo-progress-group { border: 1px solid #dce7e2; border-radius: 9px; overflow: hidden; background: #f1f7fc; }

.cleo-operations { display: grid; grid-template-rows: repeat(3, 42px); opacity: 1; transition: grid-template-rows .55s, opacity .4s, transform .55s; }

.cleo-operations > div { display: flex; align-items: center; gap: 12px; overflow: hidden; padding: 0 16px; }

.cleo-check { color: var(--cleo-teal); }

.cleo-milestone { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; max-height: 0; overflow: hidden; opacity: 0; padding: 0 16px; transition: max-height .55s, opacity .5s, padding .55s; }

.cleo-milestone > span:last-child { font-size: 14px; color: var(--cleo-muted); }

[data-detail-view="milestones"] .cleo-milestone { max-height: 110px; padding: 24px 16px; opacity: 1; }

[data-detail-view="milestones"] .cleo-operations { grid-template-rows: repeat(3, 0px); opacity: 0; transform: translateY(-10px); }

.cleo-next-operation { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 9px 14px; border-radius: 9px; background: #fff0de; }

.cleo-task-meta { margin-left: auto; font-size: 14px; color: #765d3e; }

.cleo-progress-caption { display: flex; justify-content: space-between; color: var(--cleo-muted); font-size: 13px; margin: 18px 0 8px; }

.cleo-progress-track { height: 5px; border-radius: 6px; background: #ebefec; }

.cleo-progress-track span { display: block; width: 75%; height: 100%; background: #55a98d; border-radius: inherit; }

/* 02: editable spacing propagated only at the selected scope. */
.cleo-scope-canvas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; padding: 32px 24px 40px; min-height: 330px; }

.cleo-design-card { --card-gap: 8px; display: flex; flex-direction: column; gap: var(--card-gap); position: relative; padding: 20px 16px; background: #fff; border: 1px solid #dbe5e0; border-radius: 6px; box-shadow: 0 4px 12px #243e3510; transition: gap .55s, border-color .4s, box-shadow .4s; }

.cleo-design-card:nth-child(2) { transition-delay: .08s; }

.cleo-design-card:nth-child(1) { transition-delay: .16s; }

.cleo-design-card strong { font: 500 25px 'Outfit', sans-serif; color: #314b44; }

.cleo-design-card > span:not(.cleo-owner-tag):not(.cleo-project-tag) { color: #66756f; font-size: 14px; }

.cleo-project-tag { font-size: 12px; letter-spacing: .04em; color: #73847c; }

.cleo-card-rule { width: 100%; height: 1px; background: #e6ece8; }

.cleo-user-card { border-color: #5a99e5; box-shadow: 0 0 0 2px #bfdaff70; }

.cleo-owner-tag { position: absolute; bottom: -25px; left: -1px; padding: 3px 9px; border-radius: 0 0 5px 5px; background: #4d84c4; color: #fff; font-size: 12px; }

.cleo-design-card.is-propagated { border-color: #499f87; box-shadow: 0 0 0 2px #b8e6d66b; }

.cleo-range-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px 24px; }

.cleo-range-row label { display: flex; gap: 12px; color: #4d615a; font-size: 16px; }

.cleo-range-row output { font-variant-numeric: tabular-nums; color: var(--cleo-teal); min-width: 42px; }

.cleo-range-field { display: flex; align-items: center; flex: 1 1 160px; min-width: 0; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: #fff; }

.cleo-range-field:focus-within { outline: 3px solid #268ee1; outline-offset: 4px; }

.cleo-range-row input { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; accent-color: var(--cleo-teal); cursor: pointer; min-height: 44px; outline: none; }

.cleo-range-row input.is-guided { accent-color: #176de0; }

/* 03: two explicit cues, followed by an operation-boundary pause. */
.cleo-cue-controls { display: flex; flex-wrap: wrap; gap: 18px; }

.cleo-pause-canvas { position: relative; padding: 24px; }

.cleo-viewport-frame { max-width: 430px; margin: 8px auto 32px; position: relative; padding: 20px; border: 2px solid transparent; border-radius: 12px; transition: border-color .35s, background .35s; }

.cleo-viewport-label { position: absolute; top: -11px; left: 16px; font-size: 12px; padding: 0 8px; color: #356fa9; background: #f7f9f8; opacity: 0; transition: opacity .3s; }

.has-viewport .cleo-viewport-frame { border-color: #70a3d9; background: #e7f2ff44; }

.has-viewport .cleo-viewport-label { opacity: 1; }

.cleo-editable-artifact { display: grid; gap: 15px; padding: 24px; background: #fff; border: 1px solid #dce6e0; border-radius: 6px; transition: box-shadow .4s; }

.cleo-editable-artifact > strong { font: 500 25px 'Outfit', sans-serif; color: #3a514a; text-align: left; transition: letter-spacing .45s; }

.cleo-editable-artifact .cleo-control { justify-self: start; }

.cleo-artifact-lines { display: grid; gap: 9px; }

.cleo-artifact-lines span { background: #e2eae5; height: 7px; width: 88%; border-radius: 3px; }

.cleo-artifact-lines span:last-child { width: 58%; }

.cleo-demo-cursor { position: absolute; top: 70%; left: 10%; transform: translate(-50%, -50%); pointer-events: none; transition: top .75s, left .75s; }

.has-cursor .cleo-demo-cursor { top: 39%; left: 65%; }

.is-paused .cleo-editable-artifact { box-shadow: 0 0 0 3px #a2cebb; }

.cleo-operation-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; font-size: 14px; }

.cleo-operation-strip > span:not(:nth-child(2)) { background: #fff; border: 1px solid var(--cleo-line); border-radius: 6px; padding: 9px 12px; }

.cleo-operation-strip b { display: block; font-size: 12px; font-weight: 400; color: var(--cleo-muted); }

.is-finishing [data-align-step] { border-color: #d3a450 !important; }

.is-paused [data-palette-step] { background: #fff0d9 !important; border-color: #d3a450 !important; }

/* 04: a real pointer-driven avatar, with equivalent buttons and keyboard input. */
.cleo-spatial-canvas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; padding: 26px; }

.cleo-work-zone { border: 1px dashed #b9cdc3; border-radius: 10px; padding: 16px 16px 88px; min-width: 0; min-height: 290px; transition: background .4s, border-color .4s; }

.cleo-work-zone.is-active { border: 1px solid #6dac95; background: #e3f3e97d; }

.cleo-work-zone.is-drop-target { outline: 3px solid #5c9cd2; outline-offset: 3px; }

.cleo-zone-label { display: block; font-size: 12px; letter-spacing: .03em; color: #60786c; margin-bottom: 15px; }

.cleo-mini-page { background: #fff; border: 1px solid #e0e6e2; border-radius: 5px; padding: 18px 14px; display: grid; gap: 15px; }

.cleo-mini-page strong { font: 500 21px 'Outfit', sans-serif; }

.cleo-zone-caption { display: block; font-size: 13px; color: #567367; margin-top: 16px; }

.cleo-palette-preview { display: flex; padding: 24px 4px; gap: 6px; align-items: center; }

.cleo-palette-preview span { width: 33.333%; height: 74px; border-radius: 4px; background: #b9d2c2; transition: background .7s, transform .5s; }

.cleo-palette-preview span:nth-child(2) { background: #759e8d; }

.cleo-palette-preview span:nth-child(3) { background: #355c4b; }

[data-place-view="apart"] .cleo-palette-preview span:first-child { background: #ecc6a8; transform: translateY(-5px); }

[data-place-view="apart"] .cleo-palette-preview span:nth-child(2) { background: #b67661; transform: translateY(-5px); transition-delay: .1s; }

[data-place-view="apart"] .cleo-palette-preview span:nth-child(3) { background: #61564d; transform: translateY(-5px); transition-delay: .2s; }

.cleo-draggable { position: absolute; left: 25%; top: calc(100% - 107px); transform: translateX(-50%); padding: 5px 10px; border: 1px solid transparent; border-radius: 12px; touch-action: none; user-select: none; cursor: grab !important; z-index: 2; box-shadow: none; transition: left .6s, top .6s; }

[data-place-view="apart"] .cleo-draggable { left: 75%; }

.cleo-draggable.is-dragging { transition: none; cursor: grabbing !important; }

.cleo-demo .cleo-draggable.is-guided { animation: none; box-shadow: none; }

.cleo-demo .cleo-draggable.is-guided:not(:focus-visible) { outline: none; }

.cleo-draggable.is-guided > img { filter: drop-shadow(0 0 7px #287af0a0); animation: cleo-character-glow 2.2s ease-in-out infinite; }

.cleo-draggable.is-guided:is(:hover, :focus-visible, :active, .is-dragging) > img { animation: none; filter: drop-shadow(0 0 10px #287af0c0); }

@keyframes cleo-character-glow { 0%, 100% { filter: drop-shadow(0 0 3px #287af060); }
  50% { filter: drop-shadow(0 0 9px #287af0c0); } }

/* 05: a finite history and a user-controlled offer. */
.cleo-history-scene { padding: 6px 24px 26px; }

.cleo-history-trail { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0 0 24px; }

.cleo-history-trail li { border-top: 3px solid #e2e9e5; padding: 12px 6px 14px; color: #6c7a73; transition: border-color .4s, color .4s, background .4s, transform .4s; }

.cleo-history-trail li.is-complete { border-color: #339b80; color: #285c4c; background: #f0f8f4; transform: translateY(-3px); }

.cleo-history-trail li > span { font: 500 18px 'Outfit', sans-serif; }

.cleo-history-trail strong { display: block; font-size: 16px; line-height: 1.4; margin: 7px 0; }

.cleo-history-trail small { font-size: 13px; }

.cleo-history-result { display: flex; gap: 16px; align-items: flex-start; background: #f6f9f7; border: 1px solid #dce8e1; border-radius: 10px; padding: 20px; min-height: 156px; }

.cleo-offer-avatar { flex: 0 0 auto; }

.cleo-offer-content { min-width: 0; flex: 1; }

.cleo-offer-content p { font-size: 17px; line-height: 1.5; margin: 8px 0 12px; color: #3e5a4e; }

.cleo-offer-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.cleo-generated-palettes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.cleo-generated-palettes > div { display: flex; flex: 1; min-width: 80px; overflow: hidden; border-radius: 6px; animation: cleo-palette-in .55s both; }

.cleo-generated-palettes > div:nth-child(2) { animation-delay: .12s; }

.cleo-generated-palettes > div:nth-child(3) { animation-delay: .24s; }

.cleo-generated-palettes span { height: 48px; flex: 1; background: #b1cbb7; }

.cleo-generated-palettes span:nth-child(2) { background: #6c987d; }

.cleo-generated-palettes span:nth-child(3) { background: #324c3d; }

.cleo-generated-palettes > div:nth-child(2) span { background: #edd0ab; }

.cleo-generated-palettes > div:nth-child(2) span:nth-child(2) { background: #b58560; }

.cleo-generated-palettes > div:nth-child(2) span:nth-child(3) { background: #675343; }

.cleo-generated-palettes > div:nth-child(3) span { background: #c0d1df; }

.cleo-generated-palettes > div:nth-child(3) span:nth-child(2) { background: #6d8fa9; }

.cleo-generated-palettes > div:nth-child(3) span:nth-child(3) { background: #354b62; }

@keyframes cleo-palette-in { from { opacity: 0;
    transform: translateY(12px); }
  to { opacity: 1;
    transform: translateY(0); } }

/* A small shared canvas makes the three collaboration patterns visible. */
.cleo-intro-demo { margin: 36px 0; }

.cleo-intro-demo > .cleo-window-bar { padding: 20px 24px; }

.cleo-intro-title { display: flex; align-items: center; gap: 9px; font-family: 'Outfit', sans-serif; font-size: 27px; line-height: 1.25; color: var(--cleo-ink); margin: 0; }

.cleo-intro-heading { padding: 24px 24px 0; }

.cleo-intro-heading p { font-size: 17px; margin-bottom: 18px; }

.cleo-demo .cleo-example-label { margin: 0 24px 10px; font-size: 14px; color: var(--cleo-muted); }

.cleo-intro-choices { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 22px; }

.cleo-intro-choices button { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }

.cleo-intro-choices svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.cleo-story-workspace { border-top: 1px solid var(--cleo-line); }

.cleo-story-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 24px; font-size: 13px; color: #586d65; background: #fafcfb; }

.cleo-story-legend { display: flex; align-items: center; gap: 7px; }

.cleo-story-you-dot, .cleo-story-agent-dot { width: 7px; height: 7px; border-radius: 50%; background: #3d7ed0; }

.cleo-story-agent-dot { margin-left: 10px; background: #087d77; }

.cleo-story-canvas { padding: 34px 30px 68px; position: relative; overflow: hidden; isolation: isolate; }

.cleo-story-boards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; max-width: 610px; margin: 0 auto; }

.cleo-story-sheet { min-width: 0; position: relative; }

.cleo-story-sheet-label { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #536c60; font-size: 12px; margin: 0 0 10px; min-height: 21px; }

.cleo-story-owner { flex-shrink: 0; font-size: 12px; color: #42665a; letter-spacing: .025em; }

.cleo-story-artboard { background: #fff; border: 1px solid #cddbd4; padding: 21px; box-shadow: 0 5px 14px #2a493b0c; transition: background .65s, border-color .6s, opacity .6s, transform .6s; }

.cleo-story-brand { display: flex; align-items: center; gap: 5px; font: 500 13px 'Outfit', sans-serif; color: #355547; letter-spacing: .08em; }

.cleo-story-brand > span:last-child { margin-left: auto; font: 400 12px 'Assistant', sans-serif; letter-spacing: .02em; color: #62776b; }

.cleo-story-brand-mark { font-size: 23px; line-height: 1; }

.cleo-story-hero { position: relative; padding: 23px 0 20px; min-height: 165px; }

.cleo-story-kicker { font-size: 12px; color: #647469; letter-spacing: .05em; }

.cleo-story-hero > strong { display: block; font: 500 clamp(26px, 3vw, 36px)/1.04 "Outfit", sans-serif; color: #2d4a3c; margin: 8px 0 12px; letter-spacing: -.025em; }

.cleo-story-hero-rule { position: absolute; width: 38%; right: 0; bottom: 37px; height: 7px; background: #c9decf; transform: scaleX(0.3); transform-origin: left; transition: transform .8s, background .8s; }

.cleo-story-new-detail { font-size: 12px; color: #476452; animation: cleo-palette-in .6s both; }

.is-finished .cleo-story-hero-rule { transform: scaleX(1); background: #6ba487; }

.cleo-story-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 11px; }

.cleo-story-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 16px 12px; background: #f7faf6; border: 1px solid #e0e7dd; transition: gap .65s, background .65s, box-shadow .4s, border-color .4s; }

.cleo-story-card > strong { font: 500 18px/1.2 'Outfit', sans-serif; color: #344f3e; }

.cleo-story-card-index { font-size: 12px; color: #647262; line-height: 1.35; }

.cleo-story-icon-slot { height: 30px; width: 30px; position: relative; color: #4f735b; }

.cleo-story-icon-slot > svg { width: 30px; height: 30px; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .5s, transform .5s; }

.cleo-story-empty-icon { display: none; }

.cleo-story-card-lines { display: grid; gap: 5px; margin: 3px 0; }

.cleo-story-card-lines > span { display: block; background: #dbe4d9; height: 4px; border-radius: 2px; }

.cleo-story-card-lines > span:last-child { width: 65%; }

.cleo-story-card-link { display: flex; justify-content: space-between; font-size: 12px; color: #4e6654; }

.cleo-story-card-owner { position: absolute; top: -20px; left: -2px; background: #3874bf; color: #fff; font: 500 12px 'Assistant', sans-serif; padding: 1px 6px; border-radius: 3px 3px 0 0; }

.cleo-story-card-owner:empty { display: none; }

.cleo-story-card.is-user-edit { border-color: #4e88d2; box-shadow: 0 0 0 1px #4e88d2; }

.cleo-story-card.is-agent-edit { border-color: #258f7f; box-shadow: 0 0 0 1px #258f7f; }

.cleo-story-card.is-agent-edit .cleo-story-card-owner { background: #087d77; }

.cleo-story-card.is-airy { gap: 18px; }

.cleo-story-cursor { position: absolute; z-index: 2; pointer-events: none; left: 26%; top: 77%; transform: translate(-50%, -50%); transition: left .75s, top .75s, opacity .5s; }

.cleo-story-agent-cursor { left: 69%; top: 34%; }

.cleo-story-flow { position: absolute; bottom: 22px; left: 34%; width: 34%; color: #087d77; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s; text-align: center; font-size: 12px; }

.cleo-story-flow-line { display: block; position: relative; height: 18px; }

.cleo-story-flow-line::before { content: ''; position: absolute; top: 50%; left: 0; right: 2px; border-top: 1.5px dashed currentColor; transform: translateY(-50%); }

.cleo-story-flow-line > svg { position: absolute; top: 50%; right: 0; width: 12px; height: 16px; transform: translateY(-50%); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

[data-story-mode="edit"][data-story-step="1"] .cleo-story-user-cursor { top: 84%; left: 29%; }

[data-story-mode="edit"][data-story-step="2"] .cleo-story-agent-cursor { top: 76%; left: 56%; }

[data-story-mode="edit"][data-story-step="3"] .cleo-story-agent-cursor { top: 79%; left: 80%; }

[data-story-mode="edit"]:not([data-story-step="0"]) .cleo-story-flow { opacity: 1; transform: none; }

[data-story-mode="subtask"] .cleo-story-icon-slot { border: 1px dashed #6695d1; border-radius: 4px; background: #eaf3ff; color: #3874bf; }

[data-story-mode="subtask"][data-story-step="0"] .cleo-story-icon-slot svg { opacity: 0; transform: scale(0.5); }

[data-story-mode="subtask"][data-story-step="0"] .cleo-story-empty-icon { display: grid; place-items: center; position: absolute; inset: 0; font-size: 20px; }

[data-story-mode="subtask"]:not([data-story-step="0"]) .cleo-story-icon-slot { border-color: transparent; }

[data-story-mode="subtask"] .cleo-story-card:nth-child(2) svg { transition-delay: .15s; }

[data-story-mode="subtask"] .cleo-story-card:nth-child(3) svg { transition-delay: .3s; }

[data-story-mode="subtask"] .cleo-story-user-cursor { top: 66%; left: 22%; }

[data-story-mode="subtask"]:not([data-story-step="0"]) .cleo-story-user-cursor { top: 69%; left: 75%; }

[data-story-mode="subtask"] .cleo-story-agent-cursor { top: 29%; left: 55%; }

[data-story-mode="subtask"][data-story-step="3"] .cleo-story-agent-cursor { top: 41%; left: 65%; }

[data-story-mode="copy"] .cleo-story-boards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }

[data-story-mode="copy"] .cleo-story-artboard { padding: 14px; }

[data-story-mode="copy"] .cleo-story-brand > span:last-child { display: none; }

[data-story-mode="copy"] .cleo-story-hero { min-height: 155px; }

[data-story-mode="copy"] .cleo-story-hero > strong { font-size: 27px; }

[data-story-mode="copy"] .cleo-story-hero-rule { width: 27%; }

[data-story-mode="copy"] .cleo-story-cards { gap: 5px; }

[data-story-mode="copy"] .cleo-story-card { padding: 12px 7px; }

[data-story-mode="copy"] .cleo-story-card > strong { font-size: 14px; }

[data-story-mode="copy"] .cleo-story-card-index { display: none; }

.cleo-story-copy-placeholder { position: absolute; inset: 31px 0 0; border: 1px dashed #92afd2; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; text-align: center; color: #5878a0; font-size: 15px; background: #eaf3ff40; }

.cleo-story-copy-placeholder svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.cleo-story-sheet-copy .cleo-story-owner { color: #3874bf; }

.cleo-story-sheet-copy .cleo-story-artboard { opacity: 0; visibility: hidden; transform: translate(-15px, 7px) scale(0.97); border-color: #4e88d2; }

.cleo-story-sheet-copy.is-visible .cleo-story-artboard { opacity: 1; visibility: visible; transform: none; }

.cleo-story-sheet-copy.is-customized .cleo-story-artboard { background: #f7f3ff; }

.cleo-story-sheet-copy.is-customized .cleo-story-card { background: #eae3f5; border-color: #d0c1e5; gap: 14px; }

.cleo-story-sheet-copy.is-customized .cleo-story-card strong, .cleo-story-sheet-copy.is-customized .cleo-story-hero strong { color: #664982; }

.cleo-story-sheet-copy.is-customized .cleo-story-icon-slot { color: #8660aa; }

.cleo-story-sheet-copy.is-customized .cleo-story-card-lines > span { background: #d3c6e2; }

[data-story-mode="copy"] .cleo-story-agent-cursor { top: 37%; left: 28%; }

[data-story-mode="copy"] .cleo-story-user-cursor { top: 71%; left: 67%; opacity: 0; }

[data-story-mode="copy"]:not([data-story-step="0"]) .cleo-story-user-cursor { opacity: 1; }

.cleo-story-action-row { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--cleo-line); }

.cleo-story-action-row .cleo-guidance { max-width: none; }

.cleo-story-action-row button { flex-shrink: 0; min-height: 42px; }

.cleo-story-timeline { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 20px 24px; }

.cleo-story-timeline > span { display: flex; align-items: center; gap: 7px; color: #6b7972; font-size: 13px; }

.cleo-story-timeline b { border: 1px solid #d5ded8; border-radius: 50%; display: grid; place-items: center; width: 21px; height: 21px; font-weight: 400; font-size: 12px; }

.cleo-story-timeline > [aria-current] { color: #087d77; }

.cleo-story-timeline > [aria-current] b, .cleo-story-timeline > .is-complete b { background: #e7f4ed; border-color: #8dbfa9; color: #087d77; }

.cleo-story-task-strip { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 24px 20px; }

.cleo-story-task-strip > span { display: flex; align-items: center; gap: 6px; border: 1px solid #d8e3dd; background: #f7faf8; border-radius: 5px; padding: 7px 10px; color: #586d60; font-size: 13px; }

.cleo-story-task-strip b { font-size: 12px; font-weight: 400; color: #087d77; margin-left: 6px; }

.cleo-story-task-strip .is-done[data-icon-task] { border-color: #a1bfe6; background: #eef5ff; }

.cleo-story-task-strip .is-done[data-icon-task] b { color: #386fae; }

.cleo-explore-link { display: flex; justify-content: space-between; gap: 10px; padding: 17px 20px; color: var(--cleo-teal) !important; border-top: 1px solid var(--cleo-line); font-size: 16px; }

@media (max-width: 700px) { .cleo-story-canvas { padding: 28px 16px 60px; } .cleo-story-artboard { padding: 16px; } .cleo-story-brand > span:last-child { display: none; } .cleo-story-hero { min-height: 150px; } .cleo-story-card { padding: 13px 8px; } .cleo-story-card > strong { font-size: 16px; } .cleo-story-card-index { display: none; } .cleo-story-card.is-airy { gap: 16px; } [data-story-mode="copy"] .cleo-story-boards { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 360px; } [data-story-mode="copy"] .cleo-story-agent-cursor { top: 23%; left: 62%; } [data-story-mode="copy"] .cleo-story-user-cursor { top: 84%; left: 70%; } [data-story-mode="copy"] .cleo-story-cards { gap: 9px; } [data-story-mode="copy"] .cleo-story-card > strong { font-size: 16px; } }

@media (max-width: 400px) { .cleo-story-canvas { padding-left: 10px; padding-right: 10px; } .cleo-story-artboard { padding: 12px 8px; } .cleo-story-cards { gap: 6px; } .cleo-story-card { padding: 12px 6px; } .cleo-story-card > strong { font-size: 14px; } .cleo-story-hero-rule { width: 25%; } .cleo-story-timeline { gap: 10px; } .cleo-story-sheet-label { flex-wrap: wrap; } }

/* Existing study recordings, enhanced into an accessible tabbed explorer. */
.cleo-pattern-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }

.cleo-pattern-controls button { border: 1px solid #d5e2dc; border-radius: 7px; background: #fff; color: #53645e; padding: 10px 15px; }

.cleo-pattern-controls button[aria-selected="true"] { background: #087d77; border-color: #087d77; color: #fff; }

.cleo-pattern-explorer .interaction-card { background: #fafcfb; }

.cleo-pattern-explorer .interaction-media { align-items: flex-start; }

.cleo-pattern-explorer .interaction-img { width: 250px; max-width: 100%; }

.cleo-pattern-explorer .interaction-video { align-self: center; }

.cleo-pattern-explorer .interaction-video video { background: #f0f4f2; }

.cleo-codes-detail { margin-top: 14px; }

.cleo-codes-detail summary { font-size: 15px; color: #087d77; cursor: pointer; }

.cleo-demo-fallback { padding: 12px 16px; border: 1px solid #dbe6e3; font-size: 16px; }

@media (max-width: 600px) { .cleo-demo-toolbar { padding: 16px; } .cleo-section-heading h3 { font-size: 21px; } .cleo-window-bar { padding: 12px 16px; } .cleo-visibility-scene { padding: 6px 16px 24px; } .cleo-scope-canvas { gap: 8px; padding: 26px 12px 38px; min-height: 315px; } .cleo-design-card { padding: 16px 9px; } .cleo-design-card strong { font-size: 19px; } .cleo-design-card .cleo-project-tag { font-size: 12px; letter-spacing: 0; } .cleo-design-card .cleo-card-footer { display: none; } .cleo-range-row { padding: 16px; } .cleo-spacing-controls { padding: 0 16px 20px; } .cleo-agent-guidance { padding: 0 16px 20px; } .cleo-guidance { padding: 14px 12px; } .cleo-story-action-row { padding: 20px 16px; } .cleo-demo .cleo-example-label { margin-left: 16px; margin-right: 16px; } .cleo-pause-canvas { padding: 18px 12px; } .cleo-editable-artifact { padding: 18px; } .cleo-spatial-canvas { gap: 10px; padding: 16px 12px; } .cleo-work-zone { padding: 14px 10px 88px; min-height: 300px; } .cleo-mini-page { padding: 14px 9px; } .cleo-mini-page strong { font-size: 18px; } .cleo-history-scene { padding: 6px 16px 20px; } .cleo-history-trail { gap: 8px; } .cleo-history-trail strong { font-size: 14px; } .cleo-history-trail small { display: none; } .cleo-history-result { padding: 16px; gap: 12px; } .cleo-intro-heading { padding: 20px 16px 0; } .cleo-intro-demo > .cleo-window-bar { padding: 16px; } .cleo-intro-title { font-size: 24px; } .cleo-intro-choices { padding: 0 16px 16px; } .cleo-pattern-explorer .interaction-media { align-items: stretch; } .cleo-pattern-explorer .interaction-img { align-self: center; } .cleo-pattern-controls button { padding: 10px 12px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cleo-demo *, .cleo-demo *::before, .cleo-demo *::after { transition: none !important; animation: none !important; } }

/*# sourceMappingURL=demos.css.map */