/* start.css · styles for start.js: Start a project (blank or from a question) and the answer page for off-script
   questions. Every class is ds-sq-; phone rules live at the end of this file. */

/* the question becomes the project: a copy of the name rides over the page change and lands on the project's title */
.ds-sq-fly { position: fixed; z-index: 9999; display: grid; pointer-events: none; transform-origin: 0 0; margin: 0; }
.ds-sq-fly > span { grid-area: 1 / 1; overflow-wrap: anywhere; }
.ds-sq-fly .b { opacity: 0; }
.ds-sq-fly.go { transition: transform .74s cubic-bezier(.22, .8, .24, 1); }
.ds-sq-fly.go .a { opacity: 0; transition: opacity .42s ease .18s; }
.ds-sq-fly.go .b { opacity: 1; transition: opacity .42s ease .18s; }
.ds-sq-fly.done { opacity: 0; transition: opacity .18s ease; }

/* ---------- the answer page ---------- */
.ds-sq-ans .ds-ph .ds-sq-honest { order: 7; }
.ds-sq-honest { display: flex; align-items: flex-start; gap: 10px; max-width: 80ch; margin-top: 18px; padding: 12px 14px; border-radius: var(--ds-r-box); background: var(--ds-tint); font-size: var(--ds-fs-3); line-height: 1.5; color: var(--ds-muted); }
.ds-sq-honest > span:first-child { flex: none; display: grid; place-items: center; height: 20px; color: var(--ds-label); }
.ds-sq-honest svg { width: 16px; height: 16px; }
.ds-sq-nw { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq-two { align-items: stretch; }
.ds-sq-tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ds-sq-tgrid .ds-tstrip-c b { white-space: normal; }
.ds-sq-tgrid .ds-tstrip-c > span:last-child { line-height: 1.4; }
.ds-sq-plist2 { list-style: none; display: grid; gap: 8px; }
.ds-sq-proj { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: var(--ds-r-inner); background: var(--ds-tint); text-decoration: none; color: inherit; transition: background .2s; }
.ds-sq-proj:hover { background: var(--ds-raise); }
.ds-sq-proj .ds-icon-tile { margin: 0; }
.ds-sq-proj-t { min-width: 0; }
.ds-sq-proj-t > b { font-size: var(--ds-fs-5); font-weight: 700; color: var(--ds-ink); margin-right: 8px; }
.ds-sq-proj-m { display: block; margin-top: 2px; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-sq-proj-ts { display: grid; gap: 6px; margin-top: 10px; }
.ds-sq-proj-tt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ds-sq-proj-tt .ds-stg { flex: none; }
.ds-sq-proj-tt em { min-width: 0; font-style: normal; font-size: var(--ds-fs-3); color: var(--ds-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq-none p { font-size: var(--ds-fs-4); color: var(--ds-muted); margin-bottom: 14px; }
.ds-sq-sugs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ds-sq-sug { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: var(--ds-r-inner); background: var(--ds-tint); }
.ds-sq-sug > div { min-width: 0; }
.ds-sq-sug > div > b { display: block; font-size: var(--ds-fs-4); font-weight: 650; line-height: 1.4; color: var(--ds-ink); }
.ds-sq-sug > div > span { display: block; margin-top: 6px; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); }
.ds-sq-sug-a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--ds-fs-3); font-weight: 650; color: var(--ds-blue); text-decoration: none; }
.ds-sq-sug-a svg { width: 14px; height: 14px; transition: transform .2s; }
.ds-sq-sug-a:hover svg { transform: translateX(2px); }
.ds-sq-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ds-sq-act { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 20px 20px 18px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-inner); background: var(--ds-paper); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
a.ds-sq-act:hover { border-color: var(--ds-blue); background: var(--ds-wash); }
.ds-sq-act.k-primary { background: var(--ds-blue); border-color: var(--ds-blue); color: #fff; }
a.ds-sq-act.k-primary:hover { background: var(--ds-blue-hover); border-color: var(--ds-blue-hover); }
.ds-sq-act-i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ds-wash); color: var(--ds-blue); }
.ds-sq-act-i svg { width: 18px; height: 18px; }
.ds-sq-act.k-primary .ds-sq-act-i { background: rgba(255, 255, 255, .16); color: #fff; }
.ds-sq-act > b { margin-top: 14px; font-size: var(--ds-fs-6); font-weight: 700; }
.ds-sq-act > span:not(.ds-sq-act-i):not(.ds-sq-act-btn) { margin-top: 4px; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); }
.ds-sq-act.k-primary > span:not(.ds-sq-act-i) { color: rgba(255, 255, 255, .84); }
.ds-sq-act-go { position: absolute; right: 18px; top: 26px; width: 18px; height: 18px; color: var(--ds-blue); transition: transform .2s; }
.ds-sq-act-go svg { display: block; width: 18px; height: 18px; }
.ds-sq-act.k-primary .ds-sq-act-go { color: #fff; }
a.ds-sq-act:hover .ds-sq-act-go { transform: translateX(3px); }
.ds-sq-act-btn { margin-top: auto; padding-top: 14px; }

@media (max-width: 1180px) {
  .ds-sq-plist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ds-sq-plist { grid-template-columns: minmax(0, 1fr); max-height: 264px; }
  .ds-sq-sugs, .ds-sq-acts { grid-template-columns: minmax(0, 1fr); }
  .ds-sq-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-sq-act-go { top: 22px; }
}

/* ---------- start: the project builder (soft pass, Oct 2) ----------
   One sheet on the left with the three steps down a rail (a numbered disc each, joined by a hairline), the project taking
   shape on the right (a bar above the bottom nav on phones). Fills, not borders: soft tinted tiles and pills, dots for
   stages and tiers. Selectable things share one pattern: tint at rest, wash plus an inset cobalt ring and a cobalt check
   disc when picked. Every pop plays once, when its thing changes, and never under ds-still or reduced motion. */
.ds-sq2 { --sq2-ease: cubic-bezier(.22, .61, .36, 1); --sq2-spring: cubic-bezier(.34, 1.56, .64, 1); --sq2-hover: #EBF0F8; --sq2-ring: inset 0 0 0 1.5px var(--ds-blue); --sq2-lift: 0 10px 22px -14px rgba(23, 40, 62, .42); --sq2-focus: 0 0 0 3px rgba(36, 93, 200, .16), 0 10px 24px -14px rgba(23, 40, 62, .35); }
.ds-sq2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--ds-gap); align-items: start; }
.ds-sq2-side { position: sticky; top: calc(var(--ds-head, 64px) + 20px); min-width: 0; }
.ds-sq2-k { flex: none; margin-right: 4px; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); }

/* the rail: a disc per step, a hairline down to the next. Cobalt is the step to do next, a teal tick a step that is done */
.ds-sq2-flow.ds-sheet { padding: 34px 36px 38px 30px; container: sq2 / inline-size; }
.ds-sq2-step { --sq2-gap: 48px; position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 20px; padding-bottom: var(--sq2-gap); }
.ds-sq2-step:last-child { padding-bottom: 0; }
.ds-sq2-rail { grid-column: 1; grid-row: 1 / span 2; position: relative; }
.ds-sq2-rail::after { content: ''; position: absolute; left: 14.25px; top: 40px; bottom: calc(10px - var(--sq2-gap)); width: 1.5px; border-radius: 1px; background: var(--ds-line); transition: background-color .4s ease; }
.ds-sq2-step:last-child .ds-sq2-rail::after { display: none; }
.ds-sq2-step.is-done .ds-sq2-rail::after { background: color-mix(in srgb, var(--ds-teal) 38%, transparent); }
.ds-sq2-disc { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ds-paper); box-shadow: inset 0 0 0 1.5px var(--ds-line-strong); color: var(--ds-label); font-size: var(--ds-fs-3); font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .25s ease, box-shadow .25s ease, color .25s ease; }
.ds-sq2-disc > * { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s var(--sq2-spring); }
.ds-sq2-disc svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); }
.ds-sq2-step.is-on .ds-sq2-disc { background: var(--ds-blue); box-shadow: none; color: #fff; }
.ds-sq2-step.is-done .ds-sq2-disc { background: var(--ds-teal); box-shadow: none; color: #fff; }
.ds-sq2-step.is-done .ds-sq2-disc b { opacity: 0; transform: scale(.5); }
.ds-sq2-step.is-done .ds-sq2-disc svg { opacity: 1; transform: none; }
.ds-sq2-sh { grid-column: 2; min-width: 0; padding-top: 1px; margin-bottom: 18px; }
.ds-sq2-sh h2 { font-size: var(--ds-fs-7); font-weight: 650; line-height: 28px; letter-spacing: -.03em; color: var(--ds-ink); }
.ds-sq2-sh p { max-width: 64ch; margin-top: 4px; font-size: var(--ds-fs-4); line-height: 1.5; color: var(--ds-muted); text-wrap: pretty; }
.ds-sq2-sh.has-act { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
.ds-sq2-sh.has-act > h2, .ds-sq2-sh.has-act > p { grid-column: 1; }
.ds-sq2-sh.has-act > button { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.ds-sq2-body { grid-column: 2; min-width: 0; }

/* step 1: the question is the star. White, rounded like the home hero's field, Archivo; it rises a touch when it has focus */
.ds-sq2-q { display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; border: 1px solid var(--ds-line-strong); border-radius: 14px; background: var(--ds-paper); box-shadow: 0 1px 2px rgba(23, 40, 62, .05); transition: transform .22s var(--sq2-ease), box-shadow .22s var(--sq2-ease), border-color .18s ease; }
.ds-sq2-q:hover { border-color: color-mix(in srgb, var(--ds-blue) 45%, var(--ds-line-strong)); }
.ds-sq2-q:focus-within { transform: translateY(-1px); border-color: var(--ds-blue); box-shadow: var(--sq2-focus); }
.ds-sq2-q-i { flex: none; display: grid; place-items: center; width: 22px; height: 28px; color: var(--ds-blue); }
.ds-sq2-q-i svg { width: 20px; height: 20px; }
.ds-sq2-q textarea { flex: 1 1 auto; min-width: 0; resize: none; overflow: hidden; border: 0; outline: none; background: transparent; padding: 0; font-family: var(--ds-f); font-size: var(--ds-fs-7); font-weight: 500; line-height: 28px; letter-spacing: -.012em; color: var(--ds-ink); }
.ds-sq2-q textarea::placeholder { color: var(--ds-label); opacity: 1; }
/* the suggestions and the templates: soft pills, no border, that lift when the pointer is on them */
.ds-sq2-ex, .ds-sq2-tpl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ds-sq2 .ds-sq2-exb, .ds-sq2 .ds-sq2-tplb { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; padding: 6px 15px; border: 0; border-radius: 999px; background: var(--ds-tint); font: inherit; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-ink-soft); text-align: left; cursor: pointer; transition: transform .22s var(--sq2-ease), box-shadow .22s var(--sq2-ease), background-color .18s ease, color .18s ease; }
.ds-sq2 .ds-sq2-exb:hover, .ds-sq2 .ds-sq2-tplb:hover { background: var(--sq2-hover); color: var(--ds-ink); transform: translateY(-2px); box-shadow: var(--sq2-lift); }
.ds-sq2 .ds-sq2-exb:active, .ds-sq2 .ds-sq2-tplb:active { transform: scale(.98); }
.ds-sq2 .ds-sq2-tplb.on { background: var(--ds-wash); color: var(--ds-ink); box-shadow: var(--sq2-ring); }
.ds-sq2 .ds-sq2-tplb.on:hover { box-shadow: var(--sq2-ring), var(--sq2-lift); }
.ds-sq2-tplb { padding-left: 12px; }
.ds-sq2-dots { display: inline-flex; gap: 3px; }
.ds-sq2-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ds-line-strong); }
.ds-sq2-dots i.on.s-design { background: var(--ds-st-design); } .ds-sq2-dots i.on.s-discover { background: var(--ds-st-discover); }
.ds-sq2-dots i.on.s-optimize { background: var(--ds-st-optimize); } .ds-sq2-dots i.on.s-acquire { background: var(--ds-st-acquire); }
/* what the model read, said plainly under the field */
.ds-sq2-read { display: flex; align-items: flex-start; gap: 10px; max-width: 72ch; margin-top: 18px; font-size: var(--ds-fs-4); line-height: 1.5; color: var(--ds-muted); transition: opacity .2s ease, color .2s ease; }
.ds-sq2-read.on { color: var(--ds-ink-soft); }
.ds-sq2-read.busy { opacity: .5; }
.ds-sq2-read b { font-weight: 650; color: var(--ds-ink); }
.ds-sq2-read-i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ds-wash); color: var(--ds-blue); }
.ds-sq2-read-i.idle { background: var(--ds-tint); color: var(--ds-label); }
.ds-sq2-read-i svg { width: 13px; height: 13px; }

/* step 2: four soft tiles laid out as the loop they are, a small hub where they meet */
.ds-sq2-stages { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; grid-template-areas: 'design discover' 'acquire optimize'; gap: 24px; margin-top: 20px; }
.ds-sq2-st { --stg: var(--ds-blue); --stg-ink: var(--ds-blue); position: relative; min-width: 0; padding: 16px 16px 10px; border-radius: 12px; background: var(--ds-tint); }
.ds-sq2-st.s-design { grid-area: design; --stg: var(--ds-st-design); --stg-ink: var(--ds-st-design-ink); }
.ds-sq2-st.s-discover { grid-area: discover; --stg: var(--ds-st-discover); --stg-ink: var(--ds-st-discover-ink); }
.ds-sq2-st.s-optimize { grid-area: optimize; --stg: var(--ds-st-optimize); --stg-ink: var(--ds-st-optimize-ink); }
.ds-sq2-st.s-acquire { grid-area: acquire; --stg: var(--ds-st-acquire); --stg-ink: var(--ds-st-acquire-ink); }
.ds-sq2-st-h { display: flex; align-items: center; gap: 9px; min-height: 24px; }
.ds-sq2-st-h b { font-size: var(--ds-fs-6); font-weight: 650; letter-spacing: -.02em; color: var(--ds-ink); }
.ds-sq2-st-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--stg); transition: background-color .25s ease; }
.ds-sq2-st.on .ds-sq2-st-dot { background: var(--stg); }
.ds-sq2-sg { display: none; margin-left: auto; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--stg) 14%, transparent); font-size: var(--ds-fs-1); font-weight: 650; color: var(--stg-ink); white-space: nowrap; }
.ds-sq2-st.sugg .ds-sq2-sg { display: inline-block; }
.ds-sq2-st-l { margin: 4px 0 10px; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); }
.ds-sq2-tys { display: grid; gap: 2px; margin: 0 -10px; }
.ds-sq2 .ds-sq2-ty { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--ds-r-box); background: transparent; font: inherit; text-align: left; color: inherit; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.ds-sq2 .ds-sq2-ty:hover { background: var(--sq2-hover); }
.ds-sq2 .ds-sq2-ty.on { background: var(--ds-wash); box-shadow: var(--sq2-ring); }
.ds-sq2-ty-t b { display: block; font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); }
.ds-sq2-ty-t em { display: block; font-style: normal; font-size: var(--ds-fs-2); color: var(--ds-label); }
/* the check disc, shared by the tests and the audiences: it fills cobalt and pops in once when its row is picked */
.ds-sq2-rd, .ds-sq2-chk { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ds-paper); box-shadow: inset 0 0 0 1.5px var(--ds-line-strong); color: transparent; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.ds-sq2-rd { margin-top: 1px; }
.ds-sq2-rd svg, .ds-sq2-chk svg { width: 11px; height: 11px; }
.ds-sq2-ty.on .ds-sq2-rd, .ds-sq2-aud.on .ds-sq2-chk { background: var(--ds-blue); box-shadow: none; color: #fff; }
/* the loop where the four tiles meet: a dot per stage on a ring, a chevron on each leg pointing the way round */
.ds-sq2-hub { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--ds-paper); }
.ds-sq2-hub svg { display: block; width: 52px; height: 52px; }
.ds-sq2-hub .h-ring { stroke: var(--ds-line-strong); } .ds-sq2-hub .h-way { fill: var(--ds-label); }
.ds-sq2-hub .h-design { fill: var(--ds-st-design); } .ds-sq2-hub .h-discover { fill: var(--ds-st-discover); }
.ds-sq2-hub .h-optimize { fill: var(--ds-st-optimize); } .ds-sq2-hub .h-acquire { fill: var(--ds-st-acquire); }

/* step 3: how many people the audiences hold, then the audiences as tiles, each with its tier as a dot */
.ds-sq2-reach { position: relative; margin-bottom: 16px; }
.ds-sq2-reach-v { display: flex; align-items: baseline; gap: 12px; min-width: 0; height: 36px; }
.ds-sq2-reach-v b { flex: none; font-size: var(--ds-fs-9); font-weight: 650; line-height: 36px; letter-spacing: -.035em; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
.ds-sq2-reach-v span { min-width: 0; font-size: var(--ds-fs-4); color: var(--ds-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq2-reach-v, .ds-sq2-reach-b, .ds-sq2-reach-k { transition: opacity .2s ease; }
.ds-sq2-reach.is-empty .ds-sq2-reach-v, .ds-sq2-reach.is-empty .ds-sq2-reach-b, .ds-sq2-reach.is-empty .ds-sq2-reach-k { opacity: 0; visibility: hidden; }
.ds-sq2-reach-k span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq2-reach-b { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--ds-track); overflow: hidden; }
.ds-sq2-reach-b i { display: block; height: 100%; border-radius: 3px; background: var(--ds-blue); transition: width .45s var(--sq2-ease); }
.ds-sq2-reach-k { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: var(--ds-fs-2); color: var(--ds-label); font-variant-numeric: tabular-nums; }
.ds-sq2-reach-e { position: absolute; left: 0; right: 0; top: 4px; max-width: 64ch; font-size: var(--ds-fs-4); line-height: 1.5; color: var(--ds-muted); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.ds-sq2-reach.is-empty .ds-sq2-reach-e { opacity: 1; visibility: visible; }
.ds-sq2-auds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ds-sq2 .ds-sq2-aud { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; min-width: 0; padding: 11px 14px; border: 0; border-radius: var(--ds-r-inner); background: var(--ds-tint); font: inherit; text-align: left; color: inherit; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.ds-sq2 .ds-sq2-aud:hover { background: var(--sq2-hover); }
.ds-sq2 .ds-sq2-aud.on { background: var(--ds-wash); box-shadow: var(--sq2-ring); }
.ds-sq2-aud-t { min-width: 0; }
.ds-sq2-aud-t b { display: block; font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq2-aud-t > span { display: block; margin-top: 1px; font-size: var(--ds-fs-2); color: var(--ds-label); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq2-tier { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--ds-new); }
.ds-sq2-tier.t-core { background: var(--ds-core); } .ds-sq2-tier.t-reach { background: var(--ds-reach); }
.ds-sq2 .ds-sq2-browse { display: inline-flex; align-items: center; gap: 7px; margin: -2px -10px 0 0; padding: 7px 12px 7px 10px; white-space: nowrap; border: 0; border-radius: var(--ds-r-key); background: transparent; font: inherit; font-size: var(--ds-fs-3); font-weight: 650; color: var(--ds-blue); cursor: pointer; transition: background-color .15s ease; }
.ds-sq2 .ds-sq2-browse:hover { background: var(--ds-wash); }
.ds-sq2-browse svg { width: 15px; height: 15px; transition: transform .28s var(--sq2-spring); }
.ds-sq2-browse.on svg { transform: rotate(45deg); }
/* the full list: a soft tint panel, its search field white on it */
.ds-sq-pick { margin-bottom: 20px; padding: 8px; border-radius: 12px; background: var(--ds-tint); overflow: hidden; }
.ds-sq-find { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--ds-r-field); background: var(--ds-paper); box-shadow: inset 0 0 0 1px var(--ds-line); color: var(--ds-label); transition: transform .22s var(--sq2-ease), box-shadow .22s var(--sq2-ease); }
.ds-sq-find:focus-within { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ds-blue), var(--sq2-focus); }
.ds-sq-find svg { flex: none; width: 15px; height: 15px; }
.ds-sq-find input { flex: 1 1 auto; min-width: 0; padding: 12px 0; border: 0; outline: none; background: transparent; font: inherit; font-size: var(--ds-fs-4); color: var(--ds-ink); }
.ds-sq-find input::placeholder { color: var(--ds-label); }
.ds-sq-plist { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; max-height: 300px; overflow-y: auto; padding-top: 8px; }
.ds-sq2 .ds-sq-prow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--ds-r-box); background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease; }
.ds-sq2 .ds-sq-prow:hover { background: var(--sq2-hover); }
.ds-sq-prow-t { flex: 1 1 auto; min-width: 0; }
.ds-sq-prow-t b { display: block; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq-prow-t span { display: block; font-size: var(--ds-fs-2); color: var(--ds-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sq-prow-i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ds-paper); color: var(--ds-blue); transition: background-color .15s ease, color .15s ease; }
.ds-sq-prow-i svg { width: 12px; height: 12px; }
.ds-sq-prow.on .ds-sq-prow-i { background: var(--ds-blue); color: #fff; }
.ds-sq-pempty { padding: 12px 10px 6px; font-size: var(--ds-fs-3); color: var(--ds-muted); }

/* the card: the project as it will be created. The name is its title, changed in place */
.ds-sq2-card { padding: 22px 24px 20px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sheet); background: var(--ds-paper); }
.ds-sq2-ck { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); }
.ds-sq2 .ds-sq2-title { display: block; width: calc(100% + 16px); margin: 0 -8px; padding: 3px 8px 4px; resize: none; overflow: hidden; border: 0; outline: none; border-radius: var(--ds-r-field); background: transparent; font-family: var(--ds-f); font-size: var(--ds-fs-8); font-weight: 650; line-height: 1.2; letter-spacing: -.03em; color: var(--ds-ink); transition: background-color .15s ease, box-shadow .22s var(--sq2-ease), transform .22s var(--sq2-ease); }
.ds-sq2 .ds-sq2-title:hover { background: var(--ds-tint); }
.ds-sq2 .ds-sq2-title:focus { background: var(--ds-paper); transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ds-blue), var(--sq2-focus); }
.ds-sq2-title::placeholder { color: var(--ds-label); font-weight: 600; opacity: 1; }
.ds-sq2-name-h { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--ds-fs-2); color: var(--ds-label); }
.ds-sq2-name-h { min-height: 18px; transition: opacity .2s ease; }
.ds-sq2-name-h.is-off { opacity: 0; visibility: hidden; }
.ds-sq2-name-h svg { flex: none; width: 12px; height: 12px; }
.ds-sq2-from { margin-top: 12px; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); overflow-wrap: anywhere; }
.ds-sq2-path { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ds-line-soft); }
.ds-sq2-ck2 { margin-bottom: 14px; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); }
/* the path: four dots on a line, one per stage. A stage fills in its colour, with a small pop and one ring, when it is picked */
.ds-sq2-lanes { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-sq2-lanes::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 1.5px; border-radius: 1px; background: var(--ds-line); }
.ds-sq2-lane { --c: var(--ds-line-strong); --ci: var(--ds-muted); display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 2px; text-align: center; }
.ds-sq2-lane.s-design { --c: var(--ds-st-design); --ci: var(--ds-st-design-ink); } .ds-sq2-lane.s-discover { --c: var(--ds-st-discover); --ci: var(--ds-st-discover-ink); }
.ds-sq2-lane.s-optimize { --c: var(--ds-st-optimize); --ci: var(--ds-st-optimize-ink); } .ds-sq2-lane.s-acquire { --c: var(--ds-st-acquire); --ci: var(--ds-st-acquire-ink); }
.ds-sq2-ldot { position: relative; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: var(--ds-paper); box-shadow: 0 0 0 4px var(--ds-paper), inset 0 0 0 1.5px var(--ds-line-strong); transition: background-color .25s ease, box-shadow .25s ease; }
.ds-sq2-ldot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--c); opacity: 0; }
.ds-sq2-lane.ghost .ds-sq2-ldot { box-shadow: 0 0 0 4px var(--ds-paper), inset 0 0 0 2px var(--c); }
.ds-sq2-lane.on .ds-sq2-ldot { background: var(--c); box-shadow: 0 0 0 4px var(--ds-paper); }
.ds-sq2-lane b { margin-top: 10px; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-muted); }
.ds-sq2-lane.on b { color: var(--ci); }
.ds-sq2-lane em { font-style: normal; font-size: 11.5px; line-height: 1.3; color: var(--ds-label); }
.ds-sq2-lane.on em { color: var(--ds-ink-soft); }
.ds-sq2-facts { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ds-line-soft); }
.ds-sq2-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: var(--ds-fs-3); }
.ds-sq2-facts dt { flex: none; color: var(--ds-muted); }
.ds-sq2-facts dd { min-width: 0; text-align: right; font-weight: 650; color: var(--ds-ink); font-variant-numeric: tabular-nums; }
.ds-sq2-facts dd span { display: block; font-size: var(--ds-fs-2); font-weight: 500; color: var(--ds-label); }
.ds-sq-ph { font-weight: 500; color: var(--ds-label); }
/* Create: a real primary button when there is a name and a first test; until then a calm outline that still answers a
   click by taking you to what is missing. The arrow nudges once, the moment it becomes ready */
html[data-skin] .ds-sq2 .ds-sq-create { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: var(--ds-r-key); transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease; }
html[data-skin] .ds-sq2 .ds-sq-create:active { transform: scale(.98); }
html[data-skin] .ds-sq2 .ds-btn.ds-primary.is-wait { background: var(--ds-paper); border-color: var(--ds-line-strong); color: var(--ds-ink-soft); }
html[data-skin] .ds-sq2 .ds-btn.ds-primary.is-wait:hover { background: var(--ds-tint); border-color: color-mix(in srgb, var(--ds-blue) 45%, var(--ds-line-strong)); color: var(--ds-ink); }
.ds-sq2-card .ds-sq-create { width: 100%; margin-top: 20px; }
.ds-sq2-go { display: block; width: 16px; height: 16px; transition: transform .22s var(--sq2-ease); }
.ds-sq2-go svg { display: block; width: 16px; height: 16px; }
.ds-sq-create.is-wait .ds-sq2-go { display: none; }
.ds-sq-create:not(.is-wait):hover .ds-sq2-go { transform: translateX(3px); }
.ds-sq2-why { margin-top: 10px; font-size: var(--ds-fs-2); line-height: 1.45; color: var(--ds-muted); }
.ds-sq2-why.warn { color: var(--ds-ink-soft); }
.ds-sq2-ans { display: inline-block; margin: 10px 0 0; }
.ds-sq2-ans[hidden] { display: none; }
.ds-sq2-bar { display: none; }
/* focus keeps each control's own shape (the kit rounds every focused button to 6px) */
.ds-sq2 .ds-sq2-exb:focus-visible, .ds-sq2 .ds-sq2-tplb:focus-visible { border-radius: 999px; }
.ds-sq2 .ds-sq2-ty:focus-visible, .ds-sq2 .ds-sq-prow:focus-visible, .ds-sq2 .ds-sq2-browse:focus-visible, .ds-sq2 .ds-sq-create:focus-visible { border-radius: var(--ds-r-key); }
.ds-sq2 .ds-sq2-aud:focus-visible { border-radius: var(--ds-r-inner); }

/* the one-shot beats: a disc that turns into a tick, a check that lands, a path dot that fills (with one ring), the arrow */
.ds-sq2-disc.pop, .ds-sq2-rd.pop, .ds-sq2-chk.pop { animation: ds-sq2-pop .3s var(--sq2-spring) var(--d, 0ms) both; }
.ds-sq2-lane.pop .ds-sq2-ldot { animation: ds-sq2-pop .34s var(--sq2-spring) var(--d, 0ms) both; }
.ds-sq2-lane.pop .ds-sq2-ldot::after { animation: ds-sq2-ring .62s var(--sq2-ease) var(--d, 0ms) both; }
.ds-sq2-lane.pop em { animation: ds-sq2-fade .36s ease var(--d, 0ms) both; }
.ds-sq-create.pop .ds-sq2-go { animation: ds-sq2-nudge .72s var(--sq2-ease) .08s both; }
@keyframes ds-sq2-pop { from { transform: scale(.6); } to { transform: none; } }
@keyframes ds-sq2-ring { from { opacity: .6; transform: scale(1); } to { opacity: 0; transform: scale(2.3); } }
@keyframes ds-sq2-fade { from { opacity: 0; transform: translateY(3px); } }
@keyframes ds-sq2-nudge { 0% { opacity: 0; transform: translateX(-6px); } 40% { opacity: 1; transform: translateX(4px); } 65% { transform: translateX(-1px); } 85% { transform: translateX(1.5px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ds-sq2 .pop, .ds-sq2 .pop *, .ds-sq2 .pop *::after { animation: none; }
  .ds-sq2 .ds-sq2-exb:hover, .ds-sq2 .ds-sq2-tplb:hover, .ds-sq2-q:focus-within, .ds-sq2 .ds-sq2-title:focus, .ds-sq-find:focus-within { transform: none; }
}
body.ds-still .ds-sq2 .pop, body.ds-still .ds-sq2 .pop *, body.ds-still .ds-sq2 .pop *::after { animation: none; }
body.ds-still .ds-sq2 .ds-sq2-exb:hover, body.ds-still .ds-sq2 .ds-sq2-tplb:hover, body.ds-still .ds-sq2-q:focus-within, body.ds-still .ds-sq2 .ds-sq2-title:focus, body.ds-still .ds-sq-find:focus-within { transform: none; }

@media (max-width: 1180px) {
  .ds-sq2-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .ds-sq2-flow.ds-sheet { padding: 30px 28px 32px 24px; }
  .ds-sq2-step { column-gap: 16px; }
}
@media (max-width: 980px) {
  .ds-sq2-grid { grid-template-columns: minmax(0, 1fr); }
  .ds-sq2-side { position: static; }
}
/* a narrow builder (a laptop with the card beside it, or a tablet): the grids go to one column before their names start to cut off */
@container sq2 (max-width: 600px) {
  .ds-sq2-auds { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ds-sq2-reach-v { display: block; height: auto; }
  .ds-sq2-reach-v b { display: block; line-height: 34px; }
  .ds-sq2-reach-v span { display: block; font-size: var(--ds-fs-3); line-height: 20px; }
}
@container sq2 (max-width: 480px) {
  .ds-sq2-stages { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; grid-template-areas: 'design' 'discover' 'optimize' 'acquire'; gap: 10px; }
  .ds-sq2-hub { display: none; }
}
/* phones: the sheet is the only container. The disc sits beside its heading and the step runs the full width below it;
   the stage tiles open out into plain groups, so the only fills left are the things you pick */
@media (max-width: 720px) {
  .ds-sq2 { padding-bottom: 84px; }
  .ds-sq2-flow.ds-sheet { padding: 24px 18px 26px; }
  .ds-sq2-step { --sq2-gap: 40px; column-gap: 12px; }
  .ds-sq2-rail { grid-row: 1; }
  .ds-sq2-rail::after { display: none; }
  .ds-sq2-sh { margin-bottom: 16px; }
  .ds-sq2-sh h2 { line-height: 30px; }
  .ds-sq2-sh p { font-size: var(--ds-fs-3); }
  .ds-sq2-body { grid-column: 1 / -1; }
  .ds-sq2-q { padding: 13px 14px; gap: 10px; }
  .ds-sq2-q textarea { font-size: 18px; line-height: 26px; }
  .ds-sq2-q-i { height: 26px; }
  .ds-sq2-ex, .ds-sq2-tpl { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 10px -18px 0; padding: 4px 18px 8px; }
  .ds-sq2-ex::-webkit-scrollbar, .ds-sq2-tpl::-webkit-scrollbar { display: none; }
  .ds-sq2 .ds-sq2-exb, .ds-sq2 .ds-sq2-tplb { flex: none; white-space: nowrap; }
  .ds-sq2 .ds-sq2-exb:hover, .ds-sq2 .ds-sq2-tplb:hover { transform: none; box-shadow: none; }
  .ds-sq2 .ds-sq2-tplb.on:hover { box-shadow: var(--sq2-ring); }
  .ds-sq2-read { margin-top: 12px; font-size: var(--ds-fs-3); }
  .ds-sq2-stages { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; grid-template-areas: 'design' 'discover' 'optimize' 'acquire'; gap: 0; margin-top: 14px; }
  .ds-sq2-st { padding: 16px 0 6px; background: transparent; }
  .ds-sq2-st + .ds-sq2-st::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ds-line-soft); }
  .ds-sq2-st:first-child { padding-top: 4px; }
  .ds-sq2-tys { gap: 6px; margin: 0; }
  .ds-sq2 .ds-sq2-ty { padding: 11px 12px; background: var(--ds-tint); }
  .ds-sq2 .ds-sq2-ty:hover { background: var(--sq2-hover); }
  .ds-sq2 .ds-sq2-ty.on { background: var(--ds-wash); }
  .ds-sq2-hub { display: none; }
  .ds-sq2-reach-v { display: block; height: auto; }
  .ds-sq2-reach-v b { display: block; font-size: var(--ds-fs-8); line-height: 30px; }
  .ds-sq2-reach-v span { display: block; font-size: var(--ds-fs-3); line-height: 20px; }
  .ds-sq2-reach-e { font-size: var(--ds-fs-3); }
  .ds-sq2-sh.has-act { display: block; }
  .ds-sq2 .ds-sq2-browse { margin: 8px 0 0 -8px; padding: 6px 8px; }
  .ds-sq2-auds { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ds-sq2 .ds-sq2-aud { padding: 10px 12px; }
  .ds-sq-pick { margin-left: 0; margin-right: 0; }
  .ds-sq2-card { padding: 20px 18px 18px; }
  .ds-sq2 .ds-sq2-title { font-size: 22px; }
  .ds-sq2-bar { position: fixed; z-index: 55; left: 14px; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--ds-paper); box-shadow: 0 0 0 1px var(--ds-line), 0 16px 36px -16px rgba(23, 40, 62, .45); }
  .ds-sq2 .ds-sq2-bar-t { flex: 1 1 auto; min-width: 0; padding: 2px 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .ds-sq2-bar-t b { display: block; font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ds-sq2-bar-t span { display: block; font-size: var(--ds-fs-2); color: var(--ds-muted); white-space: nowrap; }
  html[data-skin] .ds-sq2 .ds-sq2-bar .ds-sq-create { flex: none; height: 42px; padding: 0 16px; }
}

/* ---------- round 54: one starting point (a question, a concept or trailers) in place of the four stages and the loop ---------- */
.ds-sq2-froms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ds-sq2 .ds-sq2-fromb { position: relative; align-content: start; min-height: 112px; padding: 16px 16px 44px 14px; border-radius: 12px; background: var(--ds-tint); }
.ds-sq2 .ds-sq2-fromb:hover { background: var(--sq2-hover); }
.ds-sq2 .ds-sq2-fromb.on { background: var(--ds-wash); box-shadow: var(--sq2-ring); }
.ds-sq2-fromb .ds-sq2-ty-t b { font-size: var(--ds-fs-5); letter-spacing: -.01em; }
.ds-sq2-fromb .ds-sq2-ty-t em { margin-top: 4px; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); }
/* "Suggested" sits in the tile's corner, so it never re-wraps the label when it appears */
.ds-sq2-fromb .ds-sq2-sg { --stg: var(--ds-blue); --stg-ink: var(--ds-blue); position: absolute; left: 44px; bottom: 14px; margin: 0; font-size: var(--ds-fs-1); letter-spacing: 0; }
.ds-sq2-fromb.sugg .ds-sq2-sg { display: inline-block; }
/* single choice: once one is picked the others step back */
.ds-sq2-froms:has(.ds-sq2-fromb.on) .ds-sq2-fromb:not(.on) { opacity: .6; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease, background-color .15s ease; }
.ds-sq2-froms:has(.ds-sq2-fromb.on) .ds-sq2-fromb:not(.on):hover, .ds-sq2-froms:has(.ds-sq2-fromb.on) .ds-sq2-fromb:not(.on):focus-visible { opacity: 1; filter: none; }
.ds-sq2-first { display: grid; gap: 3px; }
.ds-sq2-first b { font-size: var(--ds-fs-5); font-weight: 650; letter-spacing: -.01em; color: var(--ds-muted); }
.ds-sq2-first.on b { color: var(--ds-ink); }
.ds-sq2-first span { font-size: var(--ds-fs-2); line-height: 1.45; color: var(--ds-label); }
.ds-sq2-first.pop b { animation: ds-sq2-fade .36s ease var(--d, 0ms) both; }
@media (max-width: 1100px) { .ds-sq2-froms { grid-template-columns: minmax(0, 1fr); gap: 8px; } .ds-sq2 .ds-sq2-fromb { min-height: 0; padding: 13px 14px; } .ds-sq2-fromb .ds-sq2-sg { left: auto; right: 12px; bottom: auto; top: 12px; } .ds-sq2-fromb .ds-sq2-ty-t b { padding-right: 84px; } }
@media (prefers-reduced-motion: reduce) { .ds-sq2-first.pop b { animation: none; } }
body.ds-still .ds-sq2-first.pop b { animation: none; }

/* ---------- Round 56 (Oct 9) · Start a project, led by the job ----------
   One sheet: the kind of work, the question (or the idea, or the trailers), then the plan card from plan.js. */
.ds-st .ds-ph-row { align-items: flex-end; }
.ds-st-team { display: flex; align-items: center; gap: 10px; flex: none; font-size: 14px; color: var(--ds-muted, #536A84); }
.ds-st-sheet { max-width: 960px; }
.ds-st-part + .ds-st-part { margin-top: 30px; }
.ds-st-h { margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -.012em; color: var(--ds-ink, #0F1B2D); }
.ds-st-h label { cursor: default; }
.ds-st-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* Oct 14 (Josh, wells/oct14-ux): each card is a comparison column with one hue as its role (the icon, the ring, the small
   "You get" label; the background stays paper). Daystrom: the foot holds "For" only (no "Runs in") */
html[data-skin] .ds-st-job { --job: var(--ds-job-research, #2A5FE8); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 18px 16px; border: 1.5px solid transparent; border-radius: var(--ds-r-inner, 10px) !important; background: #F2F5FA; color: var(--ds-ink, #0F1B2D); font: inherit; text-align: left; cursor: default; transition: background-color .18s ease, border-color .18s ease; }
html[data-skin] .ds-st-job[data-st-job="creative"] { --job: var(--ds-job-creative, #6753E0); }
html[data-skin] .ds-st-job[data-st-job="campaign"] { --job: var(--ds-job-campaign, #0E8F80); }
html[data-skin] .ds-st-job:hover { background: #EAEFF7; }
html[data-skin] .ds-st-job.on { border-color: var(--job); background: #fff; }
html[data-skin] .ds-st-job:focus-visible { outline: 2px solid var(--job); outline-offset: 2px; }
.ds-st-ji { display: block; width: 28px; height: 28px; margin-bottom: 4px; color: var(--job); }
.ds-st-ji svg { width: 28px; height: 28px; }
.ds-st-job b { padding-right: 36px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.ds-st-line { font-size: 14.5px; line-height: 1.45; color: #2F4460; text-wrap: pretty; }
.ds-st-jl { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: #647A94; }
.ds-st-jl-get { color: var(--job); }
.ds-st-use { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ds-st-use li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: #17283E; }
.ds-st-use li span { min-width: 0; text-wrap: pretty; }
.ds-st-use svg { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--job); }
.ds-st-get { font-size: 14px; line-height: 1.4; color: #17283E; text-wrap: pretty; }
.ds-st-jm { display: block; width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(17, 19, 24, .08); font-size: 13.5px; line-height: 1.4; color: #2F4460; }
.ds-st-jm .ds-st-jl { margin: 0 0 2px; }
/* Daystrom (Oct 15): side by side, the three cards share their rows (subgrid), so "Use it to", "You get" and "For" line
   up across the cards whatever wraps above them (the icon, name, line, two labels, list, answer and foot: 8 rows; the
   radio is positioned, not a row). Stacked, each card keeps its own column. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    html[data-skin] .ds-st-job { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 6px; justify-items: start; align-content: start; }
    .ds-st-jm { margin-top: 8px; align-self: end; }
  }
}
.ds-st-rd { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #B8C4D6; border-radius: 50%; color: #fff; transition: background-color .18s ease, border-color .18s ease; }
.ds-st-rd svg { width: 12px; height: 12px; opacity: 0; }
.ds-st-job.on .ds-st-rd { border-color: var(--job); background: var(--job); }
.ds-st-job.on .ds-st-rd svg { opacity: 1; }
.ds-st-rd.pop { animation: ds-st-pop .5s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0ms) both; }
@keyframes ds-st-pop { 0% { transform: scale(.6); } 100% { transform: none; } }
html[data-skin] .ds-st-field { display: flex; align-items: flex-start; gap: 8px; padding: 6px; border: 1.5px solid #CBD5E3; border-radius: var(--ds-r-field, 10px) !important; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
html[data-skin] .ds-st-field:focus-within { border-color: var(--ck-cobalt, #2F6BDB); box-shadow: 0 0 0 3px rgba(47, 107, 219, .14); }
html[data-skin] .ds-st-att { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px !important; background: transparent; color: #536A84; cursor: default; }
html[data-skin] .ds-st-att:hover { background: #EDF1F7; color: #0F1B2D; }
.ds-st-att svg { width: 19px; height: 19px; }
html[data-skin] .ds-st-field textarea { flex: 1; min-width: 0; min-height: 40px; padding: 9px 4px; border: 0; outline: 0; resize: none; overflow: hidden; background: transparent; color: var(--ds-ink, #0F1B2D); font: inherit; font-size: 17px; line-height: 1.35; }
.ds-st-field textarea::placeholder { color: #8396AD; }
html[data-skin] .ds-st-field .ds-st-go { flex: none; height: 40px; padding: 0 16px; font-size: 15px; font-weight: 600; box-shadow: none; border-radius: 8px !important; cursor: default; }
.ds-st-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; min-height: 34px; }
.ds-st-k { margin-right: 2px; font-size: 13.5px; color: #647A94; }
html[data-skin] .ds-st-ex { display: inline-flex; align-items: baseline; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid #D8E0EB; border-radius: 8px !important; background: #fff; color: #17283E; font: inherit; font-size: 14px; font-weight: 600; line-height: 32px; cursor: default; transition: background-color .16s ease, border-color .16s ease; }
html[data-skin] .ds-st-ex:hover { border-color: #B8C4D6; background: #F5F7FB; }
.ds-st-who { font-size: 12.5px; font-weight: 500; color: #647A94; }
.ds-st-plan.on { margin-top: 26px; padding-top: 22px; border-top: 1px solid #E6EBF2; }
.ds-st-plan.rise { animation: ds-st-rise .55s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes ds-st-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ds-st-read { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; color: #2F4460; }
.ds-st-read svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ck-cobalt, #2F6BDB); }
.ds-st-plan .ds-pl { margin-top: 0; padding: 18px 20px; border-top: 0; border-radius: 12px; background: #F5F7FB; }
html[data-skin] .ds-st-plan .ds-pl-chip { background: #fff; border-color: #DCE3EC; }
html[data-skin] .ds-st-plan .ds-pl-chip:hover { border-color: #B8C4D6; }
html[data-skin] .ds-st-plan .ds-pl-chip[aria-expanded="true"] { border-color: #17283E; }
/* the answer page's Keep in a project is a button now */
html[data-skin] button.ds-sq-act { width: 100%; font: inherit; text-align: left; cursor: default; }
button.ds-sq-act.k-primary:hover { background: var(--ds-blue-hover); border-color: var(--ds-blue-hover); }
@media (max-width: 900px) { .ds-st-jobs { grid-template-columns: minmax(0, 1fr); } .ds-st-jm { margin-top: 2px; } }
@media (max-width: 720px) {
  .ds-st .ds-ph-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ds-st-part + .ds-st-part { margin-top: 24px; }
  html[data-skin] .ds-st-field textarea { font-size: 16px; }
  html[data-skin] .ds-st-field .ds-st-go { padding: 0 12px; }
  .ds-st-plan .ds-pl { padding: 14px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ds-st-rd.pop, .ds-st-plan.rise { animation: none; } }

/* ---------- Daystrom · the creative step, between the work and the question ----------
   Empty, a drop zone that takes a link, a file or a pick from Creative where it is. With pieces, a shelf of posters in
   the Creative tab's look (the poster is the card, its length on it), each with a remove, and an Add tile to close it. */
#ds-st-crw > .ds-st-part, #ds-st-crw + .ds-st-part { margin-top: 30px; }
.ds-st-cr-h { margin-bottom: 14px; }
.ds-st-cr-h .ds-st-h { margin-bottom: 4px; }
.ds-st-cr-s { margin: 0; font-size: 14.5px; line-height: 1.45; color: #536A84; text-wrap: pretty; }

html[data-skin] .ds-st-drop { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1.5px dashed #C3CEDD; border-radius: var(--ds-r-inner, 10px) !important; background: #F7F9FC; transition: border-color .18s ease, background-color .18s ease; }
html[data-skin] .ds-st-drop.ds-trl-over, html[data-skin] .ds-st-shelf.ds-trl-over .ds-st-cv-add { border-color: var(--ck-cobalt, #2F6BDB); background: #EEF3FC; }
.ds-st-drop-i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #E6EDF8; color: var(--ck-cobalt, #2F6BDB); }
.ds-st-drop-i svg { width: 22px; height: 22px; }
.ds-st-drop-b { flex: 1 1 auto; min-width: 0; }
.ds-st-drop-t { margin: 1px 0 10px; font-size: 15.5px; font-weight: 650; letter-spacing: -.005em; color: var(--ds-ink, #0F1B2D); }
.ds-st-yt { display: flex; gap: 8px; max-width: 560px; }
html[data-skin] .ds-st-yt input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1.5px solid #CBD5E3; border-radius: var(--ds-r-field, 10px) !important; background: #fff; color: var(--ds-ink, #0F1B2D); font: inherit; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease; }
html[data-skin] .ds-st-yt input:focus { outline: 0; border-color: var(--ck-cobalt, #2F6BDB); box-shadow: 0 0 0 3px rgba(47, 107, 219, .14); }
.ds-st-yt input::placeholder { color: #8396AD; }
html[data-skin] .ds-st-yt .ds-btn { flex: none; height: 40px; padding: 0 16px; font-size: 14.5px; font-weight: 600; box-shadow: none; }
.ds-st-yt-e { margin: 8px 0 0; font-size: 13px; color: #9B2C4A; }
.ds-st-yt-e:empty { display: none; }
.ds-st-drop-o { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: #647A94; }
html[data-skin] .ds-st-drop-b2 { height: 34px; padding: 0 12px; border: 1px solid #D8E0EB; background: #fff; color: #17283E; font-size: 14px; font-weight: 600; box-shadow: none; }
html[data-skin] .ds-st-drop-b2:hover { border-color: #B8C4D6; background: #F5F7FB; }
.ds-st-drop-n { color: #8396AD; }

.ds-st-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
.ds-st-cv { position: relative; min-width: 0; }
.ds-st-cv-m { position: relative; border-radius: var(--ds-r-inner, 10px); transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s cubic-bezier(.22, .61, .36, 1); }
.ds-st-cv:not(.is-add):hover .ds-st-cv-m { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(23, 40, 62, .30); }
html[data-skin] .ds-st-cv .ds-ath { border-radius: var(--ds-r-inner, 10px); box-shadow: inset 0 0 0 1px rgba(23, 40, 62, .07); }
html[data-skin] .ds-st-cv-x { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50% !important; background: rgba(10, 11, 14, .58); color: #fff; cursor: default; opacity: .9; transition: opacity .16s ease, background-color .16s ease, transform .16s ease; }
html[data-skin] .ds-st-cv-x:hover { background: rgba(10, 11, 14, .82); opacity: 1; transform: scale(1.06); }
html[data-skin] .ds-st-cv-x:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 4px var(--ck-cobalt, #2F6BDB); opacity: 1; }
.ds-st-cv-x svg { width: 14px; height: 14px; }
@media (hover: hover) { html[data-skin] .ds-st-cv:not(:hover):not(:focus-within) .ds-st-cv-x { opacity: 0; } }
.ds-st-cv-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ds-ink, #0F1B2D); }
.ds-st-cv-s { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; color: #647A94; }
html[data-skin] .ds-st-cv-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; aspect-ratio: 16 / 9; padding: 10px; border: 1.5px dashed #C3CEDD; border-radius: var(--ds-r-inner, 10px) !important; background: #F7F9FC; color: var(--ds-ink, #0F1B2D); font: inherit; text-align: center; cursor: default; transition: border-color .18s ease, background-color .18s ease; }
html[data-skin] .ds-st-cv-add:hover, html[data-skin] .ds-st-cv-add[aria-expanded="true"] { border-color: var(--ck-cobalt, #2F6BDB); background: #EEF3FC; }
html[data-skin] .ds-st-cv-add:focus-visible { outline: 2px solid #2F6BDB; outline-offset: 2px; }
.ds-st-cv-plus { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 2px; border-radius: 50%; background: #E6EDF8; color: var(--ck-cobalt, #2F6BDB); }
.ds-st-cv-plus svg { width: 16px; height: 16px; }
.ds-st-cv-add b { font-size: 14px; font-weight: 650; }
.ds-st-cv-add > span:last-child { font-size: 12.5px; color: #647A94; }
.ds-st-cv.is-new { animation: ds-st-cv-in .5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes ds-st-cv-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
body.ds-still .ds-st-cv.is-new { animation: none; }
@media (prefers-reduced-motion: reduce) { .ds-st-cv.is-new { animation: none; } .ds-st-cv-m, html[data-skin] .ds-st-cv-x { transition: none; } }
@media (max-width: 720px) {
  #ds-st-crw > .ds-st-part, #ds-st-crw + .ds-st-part { margin-top: 24px; }
  html[data-skin] .ds-st-drop { flex-direction: column; gap: 12px; padding: 16px; }
  .ds-st-drop-n { display: none; }
  .ds-st-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
}
/* Daystrom: the words are optional for Creative and Campaign; said once, quietly, beside the label (no tag) */
.ds-st-h-o { margin-left: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: #8396AD; }
.ds-st-h-o[hidden] { display: none; }
/* Daystrom: the paperclip shows for Research only, at the field's end */
html[data-skin] .ds-st-att[hidden] { display: none; }
html[data-skin] .ds-st-field textarea { padding-left: 10px; }

/* ---------- Daystrom · Research's ideas, in the creative step's place ----------
   The same drop card and shelf as the creative; the card holds the old concept setup's fields (a title, a logline), and
   the shelf's posters are the logline itself, as the Creative tab draws one. Pick from Creative opens the loglines below. */
#ds-st-idw > .ds-st-part, #ds-st-idw + .ds-st-part { margin-top: 30px; }
.ds-st-idf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 640px; }
.ds-st-idl { display: grid; gap: 5px; }
.ds-st-idl > span { font-size: 13px; font-weight: 600; color: #3D5270; }
.ds-st-idl em { margin-left: 6px; font-style: normal; font-weight: 500; color: #8396AD; }
html[data-skin] .ds-st-idl input, html[data-skin] .ds-st-idl textarea { width: 100%; min-width: 0; padding: 9px 12px; border: 1.5px solid #CBD5E3; border-radius: var(--ds-r-field, 10px) !important; background: #fff; color: var(--ds-ink, #0F1B2D); font: inherit; font-size: 15px; line-height: 1.45; resize: vertical; transition: border-color .18s ease, box-shadow .18s ease; }
html[data-skin] .ds-st-idl input { height: 40px; padding-top: 0; padding-bottom: 0; }
html[data-skin] .ds-st-idl input:focus, html[data-skin] .ds-st-idl textarea:focus { outline: 0; border-color: var(--ck-cobalt, #2F6BDB); box-shadow: 0 0 0 3px rgba(47, 107, 219, .14); }
.ds-st-idl input::placeholder, .ds-st-idl textarea::placeholder { color: #8396AD; }
.ds-st-ida { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html[data-skin] .ds-st-ida > .ds-btn { height: 38px; padding: 0 16px; font-size: 14.5px; font-weight: 600; box-shadow: none; }
.ds-st-ida .ds-st-yt-e { margin: 0 0 0 4px; }
.ds-st-idz.is-more { margin-top: 16px; }
.ds-st-idc .ds-ath.k-logline q { -webkit-line-clamp: 3; font-size: 13.5px; }
.ds-st-ids .ds-st-cv-add { aspect-ratio: 16 / 9; }

.ds-st-idp { margin-top: 14px; border: 1px solid #D8E0EB; border-radius: var(--ds-r-inner, 10px); background: #fff; overflow: hidden; }
.ds-st-idp-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid #E6EBF2; }
.ds-st-idp-h b { flex: 1 1 auto; font-size: 14px; font-weight: 650; color: var(--ds-ink, #0F1B2D); }
html[data-skin] .ds-st-idp-h input { width: 200px; height: 32px; padding: 0 10px; border: 1px solid #D8E0EB; border-radius: 8px !important; font: inherit; font-size: 14px; }
html[data-skin] .ds-st-idp-x { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50% !important; background: transparent; color: #536A84; cursor: pointer; }
html[data-skin] .ds-st-idp-x:hover { background: #F0F3F8; }
.ds-st-idp-x svg { width: 14px; height: 14px; }
.ds-st-idp-l { max-height: 320px; margin: 0; padding: 6px; overflow: auto; list-style: none; }
html[data-skin] .ds-st-idp-o { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 8px !important; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
html[data-skin] .ds-st-idp-o:hover { background: #F5F7FB; }
html[data-skin] .ds-st-idp-o:focus-visible { outline: 2px solid #2F6BDB; outline-offset: -2px; }
.ds-st-idp-c { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #B8C4D6; border-radius: 6px; color: transparent; }
.ds-st-idp-c svg { width: 12px; height: 12px; }
.ds-st-idp-o.on .ds-st-idp-c { border-color: var(--ck-cobalt, #2F6BDB); background: var(--ck-cobalt, #2F6BDB); color: #fff; }
.ds-st-idp-t { display: grid; gap: 2px; min-width: 0; }
.ds-st-idp-t b { font-size: 14px; font-weight: 600; color: var(--ds-ink, #0F1B2D); }
.ds-st-idp-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.4; color: #536A84; }
.ds-st-idp-t em { font-style: normal; font-size: 12.5px; color: #8396AD; }
.ds-st-idp-none { margin: 0; padding: 14px 16px; font-size: 14px; color: #647A94; }
@media (max-width: 720px) {
  #ds-st-idw > .ds-st-part, #ds-st-idw + .ds-st-part { margin-top: 24px; }
  html[data-skin] .ds-st-idp-h input { width: 130px; }
}
/* Daystrom (Oct 15): four ideas in, the loglines not picked wait until one is removed */
.ds-st-idp-o:disabled { opacity: .45; cursor: not-allowed; }
.ds-st-idp-full { margin: 6px 0 0; font-size: var(--ds-fs-2); color: var(--ds-muted); }
/* Oct 15: the project's name, first on Start */
html[data-skin] .ds-st-namef { padding: 0; }
html[data-skin] .ds-st-namef input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ds-ink, #0F1B2D); font: inherit; font-size: 17px; }
.ds-st-namef input::placeholder { color: #8396AD; }
