/* tests.css · styles for tests.js: the Tests list, the New test composer, a viewer's own test result.
   Every class is ds-tst-*; stage colours come from the kit tokens in ds.css (--ds-st-*). Phone rules are at the end.
   Soft pass (Oct 2): soft tinted tiles instead of bordered boxes, corners from the radius tokens, the stage as a dot and a word,
   one selectable pattern (tint, wash + cobalt ring when picked, a disc that pops once on change), cards that lift when they go somewhere. */

/* stage colour for anything scoped by a stage class */
.ds-tst-next.s-design, .ds-tst-card.s-design, .ds-tst-tcard.s-design, .ds-tst-tcol.s-design, .ds-tst-track .s-design { --stg: var(--ds-st-design); --stg-ink: var(--ds-st-design-ink); }
.ds-tst-next.s-discover, .ds-tst-card.s-discover, .ds-tst-tcard.s-discover, .ds-tst-tcol.s-discover, .ds-tst-track .s-discover { --stg: var(--ds-st-discover); --stg-ink: var(--ds-st-discover-ink); }
.ds-tst-next.s-optimize, .ds-tst-card.s-optimize, .ds-tst-tcard.s-optimize, .ds-tst-tcol.s-optimize, .ds-tst-track .s-optimize { --stg: var(--ds-st-optimize); --stg-ink: var(--ds-st-optimize-ink); }
.ds-tst-next.s-acquire, .ds-tst-card.s-acquire, .ds-tst-tcard.s-acquire, .ds-tst-tcol.s-acquire, .ds-tst-track .s-acquire { --stg: var(--ds-st-acquire); --stg-ink: var(--ds-st-acquire-ink); }

/* the stage, said as a dot and a word (the kit's tag, unboxed) */
html[data-skin] .ds-tst-type .ds-stg, html[data-skin] .ds-tst-tcol-h .ds-stg { gap: 7px; height: auto; padding: 0; background: none; font-size: var(--ds-fs-3); font-weight: 650; color: var(--stg-ink); }
.ds-tst-type .ds-stg::before, .ds-tst-tcol-h .ds-stg::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--stg); }
.ds-tst-type { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ds-tst-type b { font-size: var(--ds-fs-3); font-weight: 650; color: var(--ds-ink); white-space: nowrap; }
.ds-ph-cta .ds-btn svg { width: 16px; height: 16px; }

/* ---------- the list: up next ---------- */
/* the one hero on the page: a calm wash in the colour of the stage the next test sits in, on the largest corner */
html[data-skin] .ds-tst-next { padding: 30px 32px 32px; background: color-mix(in srgb, var(--stg) 6%, var(--ds-paper)); border: 1px solid color-mix(in srgb, var(--stg) 14%, transparent); border-radius: var(--ds-r-hero); }
.ds-tst-next-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.ds-tst-next-k { margin: 0 0 14px; font-family: var(--ds-m); font-size: var(--ds-fs-1); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--stg-ink); }
html[data-skin] .ds-tst-next h2 { margin-top: 10px; font-size: var(--ds-fs-9); font-weight: 650; letter-spacing: -.035em; line-height: 1.12; max-width: 22ch; text-wrap: balance; }
.ds-tst-next-why { margin-top: 10px; font-size: var(--ds-fs-5); color: var(--ds-ink-soft); max-width: 52ch; }
.ds-tst-next-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
html[data-skin] .ds-tst-next-a .ds-btn.ds-ghost { background: var(--ds-paper); border-color: transparent; box-shadow: 0 1px 2px rgba(23, 40, 62, .08); }
html[data-skin] .ds-tst-next-a .ds-btn.ds-ghost:hover { background: var(--ds-paper); border-color: var(--ds-blue); }
.ds-tst-next-cap { margin-top: 14px; font-size: var(--ds-fs-3); color: var(--ds-muted); text-align: center; }

/* the loop, four stages on a dotted path; the stage the next test sits in is filled */
.ds-tst-track { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.ds-tst-track::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 18px; height: 4px; background: radial-gradient(circle, rgba(48, 88, 135, .34) 0 1.2px, transparent 1.7px) 0 50% / 8px 4px repeat-x; }
.ds-tst-track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px; }
.ds-tst-track-i { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--stg) 34%, transparent); color: var(--stg-ink); margin-bottom: 8px; transition: transform .22s cubic-bezier(.22, .61, .36, 1); }
.ds-tst-track-i svg { width: 18px; height: 18px; }
.ds-tst-track li.has .ds-tst-track-i { background: color-mix(in srgb, var(--stg) 14%, var(--ds-paper)); box-shadow: none; }
.ds-tst-track li.on .ds-tst-track-i { background: var(--stg-ink); color: #FFFFFF; box-shadow: 0 0 0 5px color-mix(in srgb, var(--stg) 18%, transparent); }
.ds-tst-track li b { font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); }
.ds-tst-track li span:last-child { font-size: var(--ds-fs-2); color: var(--ds-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ds-tst-track li.on b { color: var(--stg-ink); }
html[data-skin="chronicle"] .ds-tst-track-i { border-radius: 50% !important; }

/* ---------- the list: filter and cards ---------- */
/* the stage filter: a soft track, the picked stage a white key on it (same width in both states: only colour and fill change) */
html[data-skin] .ds-tst-lanes { gap: 2px; padding: 4px; background: var(--ds-tint); border: 0; border-radius: calc(var(--ds-r-key) + 4px); margin-bottom: 18px; }
html[data-skin] .ds-tst-lanes .ds-lane { border-radius: var(--ds-r-key); color: var(--ds-muted); transition: background-color .2s, color .2s, box-shadow .2s; }
html[data-skin] .ds-tst-lanes .ds-lane:hover { color: var(--ds-ink); background: #EBF0F8; }
html[data-skin] .ds-tst-lanes .ds-lane[aria-selected="true"] { background: var(--ds-paper); color: var(--ds-ink); box-shadow: 0 1px 2px rgba(23, 40, 62, .08), 0 3px 10px -5px rgba(23, 40, 62, .22); }
.ds-tst-lanes .n { margin-left: 7px; font-size: var(--ds-fs-2); font-weight: 600; color: var(--ds-label); font-variant-numeric: tabular-nums; }
.ds-tst-lanes .ds-lane[aria-selected="true"] .n { color: var(--ds-blue); }

.ds-tst-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* a card is a soft tile; one that goes somewhere lifts when the pointer is over it */
.ds-tst-card { --tst-bg: var(--ds-tint); position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 22px 18px; border-radius: var(--ds-r-inner); background: var(--tst-bg); transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s cubic-bezier(.22, .61, .36, 1), background-color .2s; }
.ds-tst-card.st-locked { --tst-bg: #F8FAFC; }
.ds-tst-card.st-locked .ds-tst-head { color: var(--ds-ink-soft); }
@media (hover: hover) {
  .ds-tst-card:has(.ds-tst-hit):hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(23, 40, 62, .30); }
}
/* the whole card is the link; the button in its foot sits above it and stays the keyboard's way in */
.ds-tst-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ds-tst-act, .ds-tst-why { position: relative; z-index: 2; }
.ds-tst-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ds-tst-status { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: var(--ds-fs-3); font-weight: 650; white-space: nowrap; color: var(--ds-muted); }
.ds-tst-status svg { width: 13px; height: 13px; }
.ds-tst-sdot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ds-tst-status.s-todo .ds-tst-sdot { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.ds-tst-status.s-done { color: var(--ds-teal); }
.ds-tst-status.s-ready { color: var(--ds-blue); }
.ds-tst-status.s-locked { color: var(--ds-label); }
.ds-tst-name { font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-muted); margin-bottom: 4px; }
.ds-tst-head { font-size: var(--ds-fs-6); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; color: var(--ds-ink); text-wrap: pretty; }
.ds-tst-note { margin-top: 6px; font-size: var(--ds-fs-4); color: var(--ds-ink-soft); }
.ds-tst-ask { margin-top: 8px; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; }
.ds-tst-card > :nth-last-child(2) { margin-bottom: 4px; }
.ds-tst-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-meta span { overflow-wrap: anywhere; }
.ds-tst-meta span:first-child { color: var(--ds-ink-soft); font-weight: 600; }
.ds-tst-act { flex: none; }
.ds-tst-act .ds-btn { padding: 8px 16px; }
html[data-skin] .ds-tst-act .ds-btn:not(.ds-primary) { background: var(--ds-paper); border-color: transparent; box-shadow: 0 1px 2px rgba(23, 40, 62, .08); }
html[data-skin] .ds-tst-act .ds-btn:not(.ds-primary):hover { border-color: var(--ds-blue); }
.ds-tst-why { display: inline-flex; align-items: flex-start; gap: 6px; max-width: 24ch; font-size: var(--ds-fs-3); color: var(--ds-label); }
.ds-tst-why svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.ds-tst-empty { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; background: var(--ds-tint); border-radius: var(--ds-r-inner); font-size: var(--ds-fs-4); color: var(--ds-ink-soft); }
.ds-tst-empty b { color: var(--ds-ink); }

/* poster stacks: small posters with corners in proportion, each one ringed in the colour of whatever it sits on */
.ds-tst-stack { display: inline-flex; align-items: center; flex: none; }
.ds-tst-stack .ds-ath.ds-tst-mini { width: 60px; flex: none; border-radius: 6px; box-shadow: 0 0 0 2px var(--tst-bg, var(--ds-paper)); }
.ds-tst-stack .ds-ath.ds-tst-mini + .ds-ath.ds-tst-mini { margin-left: -14px; }
.ds-ath.ds-tst-mini .ds-ath-code { left: 3px; top: 3px; min-width: 16px; height: 15px; padding: 0 3px; font-size: 9.5px; border-radius: 4px; }
.ds-ath.ds-tst-mini .ds-ath-len { display: none; }
.ds-ath.ds-tst-mini.k-logline { padding: 0; justify-content: center; }
.ds-ath.ds-tst-mini.k-logline q { display: none; }
.ds-ath.ds-tst-mini.k-logline::after { content: '\201C'; font-family: 'Newsreader', Georgia, serif; font-size: 26px; line-height: 1; color: #5A45D6; transform: translateY(5px); }
.ds-ath.ds-tst-mini .ds-ath-glyph svg { width: 16px; }
.ds-tst-more { margin-left: 6px; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-muted); font-variant-numeric: tabular-nums; }
.ds-tst-qmark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--ds-st-discover) 14%, var(--ds-paper)); color: var(--ds-st-discover-ink); }
.ds-tst-qmark svg { width: 16px; height: 16px; }
html[data-skin="chronicle"] .ds-tst-qmark { border-radius: 50% !important; }
/* loglines in a poster stack: one small type tile (the logline's opening words, or the count) */
.ds-tst-ltile { display: inline-flex; align-items: center; gap: 6px; height: 34px; max-width: 168px; padding: 0 10px 0 8px; border-radius: 6px; background: #EFEBFD; color: #2B2350; box-shadow: 0 0 0 2px var(--tst-bg, var(--ds-paper)); }
.ds-tst-stack .ds-ath.ds-tst-mini + .ds-tst-ltile, .ds-tst-more + .ds-tst-ltile { margin-left: 6px; }
.ds-tst-ltile i { font-family: 'Newsreader', Georgia, serif; font-style: normal; font-size: 22px; line-height: 1; color: #5A45D6; transform: translateY(4px); }
.ds-tst-ltile b { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--ds-fs-2); font-weight: 650; }

/* ---------- the composer ---------- */
.ds-tst-comp { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: var(--ds-gap); align-items: start; }
.ds-tst-steps { display: flex; flex-direction: column; gap: var(--ds-gap); min-width: 0; }
.ds-tst-step[hidden] { display: none; }
.ds-tst-reveal { animation: ds-tst-rise .5s var(--ds-ease, cubic-bezier(.3, .7, .3, 1)) both; }
@keyframes ds-tst-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ds-tst-plain { font-size: var(--ds-fs-4); color: var(--ds-muted); max-width: 60ch; }

/* the step markers: a numbered disc that turns into a tick once the step is answered */
html[data-skin] .ds-tst-step .ds-sh > .ds-sh-i { position: relative; border-radius: 50%; background: var(--ds-wash); color: var(--ds-blue); transition: background-color .25s, color .25s; }
.ds-tst-stepn { font-size: var(--ds-fs-5); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .2s, transform .25s; }
.ds-tst-stepk { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .28s cubic-bezier(.34, 1.56, .64, 1); }
html[data-skin] .ds-tst-stepk svg { width: 15px; height: 15px; }
html[data-skin] .ds-tst-step.is-done .ds-sh > .ds-sh-i { background: var(--ds-blue); color: #FFFFFF; }
.ds-tst-step.is-done .ds-tst-stepn { opacity: 0; transform: scale(.6); }
.ds-tst-step.is-done .ds-tst-stepk { opacity: 1; transform: none; }

/* step 1: seven kinds, grouped by the four stages of the loop */
.ds-tst-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
.ds-tst-tcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ds-tst-tcol-h { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px; margin: 0 0 4px 2px; }
.ds-tst-tcol-h > span:last-child { font-size: var(--ds-fs-3); color: var(--ds-muted); }
/* the selectable tile: tint at rest, a touch deeper on hover, a wash and a cobalt ring once picked */
.ds-tst-tcard { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 15px 16px 14px; text-align: left; font: inherit; color: var(--ds-ink); background: var(--ds-tint); border: 0; border-radius: var(--ds-r-inner); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.ds-tst-tcard:hover { background: #EBF0F8; }
.ds-tst-tcard.on, .ds-tst-tcard.on:hover { background: var(--ds-wash); box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
.ds-tst-tcard-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds-tst-tcard-h b { font-size: var(--ds-fs-5); font-weight: 650; letter-spacing: -.01em; }
.ds-tst-tcard-l { font-size: var(--ds-fs-3); color: var(--ds-ink-soft); line-height: 1.45; }
.ds-tst-tcard-m { font-size: var(--ds-fs-2); color: var(--ds-label); margin-top: 2px; }
/* the disc: an empty ring, filled cobalt with a white tick (or the pick's number) once chosen */
.ds-tst-ck { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ds-line-strong); background: var(--ds-paper); color: transparent; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.ds-tst-ck svg { width: 11px; height: 11px; }
.ds-tst-tcard.on .ds-tst-ck { background: var(--ds-blue); border-color: var(--ds-blue); color: #FFFFFF; }
/* the one beat: a disc that has just been picked pops in, once */
@keyframes ds-tst-pop { from { transform: scale(.6); } to { transform: none; } }
.ds-tst-tcard.pop .ds-tst-ck, .ds-tst-asset.pop .ds-tst-ck { animation: ds-tst-pop .28s cubic-bezier(.34, 1.56, .64, 1) both; }
html[data-skin="chronicle"] .ds-tst-ck, html[data-skin="chronicle"] .ds-tst-opt-ck { border-radius: 50% !important; }

/* step 2: creative to pick, each poster on its own tile with corners nested inside the tile's */
.ds-tst-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.ds-tst-asset { --pad: 5px; position: relative; display: flex; flex-direction: column; gap: 9px; padding: var(--pad) var(--pad) 11px; text-align: left; font: inherit; color: var(--ds-ink); background: var(--ds-tint); border: 0; border-radius: var(--ds-r-inner); cursor: pointer; transition: background-color .2s, box-shadow .2s, opacity .2s; }
.ds-tst-asset .ds-ath { border-radius: calc(var(--ds-r-inner) - var(--pad)); }
.ds-tst-asset:hover:not(:disabled) { background: #EBF0F8; }
.ds-tst-asset.on, .ds-tst-asset.on:hover:not(:disabled) { background: var(--ds-wash); box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
.ds-tst-asset:disabled { opacity: .45; cursor: default; }
.ds-tst-asset .ds-tst-ck { position: absolute; top: 12px; right: 12px; z-index: 2; width: 24px; height: 24px; background: rgba(255, 255, 255, .9); border-color: rgba(23, 40, 62, .18); font-size: 12px; }
.ds-tst-asset.on .ds-tst-ck { background: var(--ds-blue); border-color: var(--ds-blue); color: #FFFFFF; }
/* a piece just added here lands on its tile with a short rise */
@keyframes ds-tst-land { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.ds-tst-asset.landed { animation: ds-tst-land .5s var(--ds-ease, cubic-bezier(.22, 1, .36, 1)) both; }
.ds-tst-asset-t { display: flex; flex-direction: column; gap: 2px; padding: 0 6px; min-width: 0; }
.ds-tst-asset-t b { font-size: var(--ds-fs-4); font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-tst-asset-t span { font-size: var(--ds-fs-2); color: var(--ds-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-tst-none { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; background: var(--ds-tint); border-radius: var(--ds-r-inner); font-size: var(--ds-fs-4); color: var(--ds-ink-soft); }
.ds-tst-none b { color: var(--ds-ink); }
.ds-tst-none .ds-btn { flex: none; }
html[data-skin] .ds-tst-none .ds-btn { background: var(--ds-paper); border-color: transparent; box-shadow: 0 1px 2px rgba(23, 40, 62, .08); }
html[data-skin] .ds-tst-none .ds-btn:hover { border-color: var(--ds-blue); }
.ds-tst-adders { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.ds-tst-adders .ds-btn { padding: 8px 14px; font-size: var(--ds-fs-3); }
.ds-tst-adders .ds-btn svg, .ds-tst-pick-btn svg, .ds-tst-spec-a .ds-btn svg { width: 16px; height: 16px; }
html[data-skin] .ds-tst-adders .ds-btn.on { background: var(--ds-wash); border-color: var(--ds-blue); color: var(--ds-blue); }
.ds-tst-lib { margin-left: auto; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-blue); text-decoration: none; }
.ds-tst-lib:hover { text-decoration: underline; }
.ds-tst-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 14px; margin-top: 14px; padding: 16px; background: var(--ds-tint); border-radius: var(--ds-r-inner); }
.ds-tst-form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ds-tst-form label.w { grid-column: 1 / -1; }
.ds-tst-form label > span { font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-ink-soft); }
.ds-tst-form input, .ds-tst-form textarea, .ds-tst-q, .ds-tst-search { width: 100%; font: inherit; font-size: var(--ds-fs-4); color: var(--ds-ink); background: var(--ds-paper); border: 1px solid var(--ds-line-strong); border-radius: var(--ds-r-field); padding: 0 12px; height: 42px; outline: none; transition: border-color .2s, box-shadow .2s, transform .2s cubic-bezier(.22, .61, .36, 1); }
.ds-tst-form input, .ds-tst-form textarea { border-color: transparent; box-shadow: 0 1px 2px rgba(23, 40, 62, .06); }
.ds-tst-form textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.45; }
/* a field you are typing in rises a touch and rings */
.ds-tst-form input:focus, .ds-tst-form textarea:focus, .ds-tst-q:focus, .ds-tst-search:focus { border-color: var(--ds-blue); box-shadow: 0 0 0 3px rgba(36, 93, 200, .16), 0 10px 24px -14px rgba(23, 40, 62, .35); transform: translateY(-1px); }
.ds-tst-form-a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ds-tst-err { font-size: var(--ds-fs-3); color: var(--ds-amber); }

/* step 3: audiences */
.ds-tst-chips { display: flex; flex-wrap: wrap; gap: 8px; transition: opacity .2s; }
.ds-tst-chips.off { opacity: .4; }
html[data-skin] .ds-tst-chip { gap: 6px; padding: 6px 6px 6px 12px; font-size: var(--ds-fs-4); color: var(--ds-ink); background: var(--ds-tint); border-color: transparent; border-radius: var(--ds-r-chip); }
.ds-tst-chip-x { display: grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ds-label); }
.ds-tst-chip-x:hover { background: var(--ds-wash-2); color: var(--ds-ink); }
.ds-tst-chip-x svg { width: 14px; height: 14px; }
.ds-tst-audrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 16px; }
.ds-tst-pick { position: relative; }
.ds-tst-pick-btn { padding: 8px 14px; font-size: var(--ds-fs-3); }
.ds-tst-pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(380px, calc(100vw - 48px)); padding: 6px; background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: var(--ds-r-sheet); box-shadow: 0 22px 50px -22px rgba(6, 13, 28, .45); }
html[data-skin] .ds-tst-pop .ds-tst-search { border-radius: var(--ds-r-key); background: var(--ds-tint); border-color: transparent; }
html[data-skin] .ds-tst-pop .ds-tst-search:focus { background: var(--ds-paper); border-color: var(--ds-blue); transform: none; box-shadow: 0 0 0 3px rgba(36, 93, 200, .16); }
.ds-tst-opts { list-style: none; max-height: 300px; overflow-y: auto; margin-top: 6px; overscroll-behavior: contain; }
.ds-tst-opts li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: var(--ds-r-key); cursor: pointer; }
.ds-tst-opts li:hover, .ds-tst-opts li.act { background: var(--ds-tint); }
.ds-tst-opt-ck { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ds-line-strong); color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.ds-tst-opt-ck svg { width: 10px; height: 10px; }
.ds-tst-opts li[aria-selected="true"] .ds-tst-opt-ck { background: var(--ds-blue); border-color: var(--ds-blue); color: #FFFFFF; }
.ds-tst-opt-t { display: flex; flex-direction: column; min-width: 0; }
.ds-tst-opt-t b { font-size: var(--ds-fs-4); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-tst-opt-t span { font-size: var(--ds-fs-2); color: var(--ds-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-tst-opts li em { font-style: normal; font-size: var(--ds-fs-2); color: var(--ds-label); white-space: nowrap; }
.ds-tst-noopt { padding: 12px 8px 4px; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-switch { display: inline-flex; align-items: center; gap: 12px; padding: 0; text-align: left; font: inherit; color: var(--ds-ink); background: none; border: 0; }
.ds-tst-switch > span:last-child { display: flex; flex-direction: column; }
.ds-tst-switch b { font-size: var(--ds-fs-4); font-weight: 650; }
.ds-tst-switch > span:last-child > span { font-size: var(--ds-fs-2); color: var(--ds-muted); }
.ds-tst-switch-t { position: relative; flex: none; width: 36px; height: 21px; border-radius: 11px; background: var(--ds-track); transition: background-color .2s; }
.ds-tst-switch-t i { position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(6, 13, 28, .3); transition: transform .22s var(--ds-ease, ease); }
.ds-tst-switch[aria-checked="true"] .ds-tst-switch-t { background: var(--ds-blue); }
.ds-tst-switch[aria-checked="true"] .ds-tst-switch-t i { transform: translateX(15px); }
html[data-skin="chronicle"] .ds-tst-switch-t { border-radius: 11px !important; }
html[data-skin="chronicle"] .ds-tst-switch-t i, html[data-skin="chronicle"] .ds-tst-chip-x { border-radius: 50% !important; }
.ds-tst-modelnote { margin-top: 12px; }

/* step 4: the question */
.ds-tst-qlab { display: block; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-ink-soft); margin-bottom: 8px; }
.ds-tst-q { height: 48px; padding: 0 14px; font-size: var(--ds-fs-5); margin-bottom: 10px; }

/* the read-back: the sheet beside the steps */
.ds-tst-sum { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 22px; background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: var(--ds-r-sheet); }
.ds-tst-sum-k { font-size: var(--ds-fs-3); font-weight: 650; color: var(--ds-muted); }
.ds-tst-sentence { font-size: var(--ds-fs-7); font-weight: 600; line-height: 1.38; letter-spacing: -.015em; color: var(--ds-ink-soft); text-wrap: pretty; }
.ds-tst-n { display: inline; font-weight: 700; color: var(--ds-blue); box-shadow: inset 0 -.32em 0 var(--ds-wash-2); border-radius: 2px; }
.ds-tst-in { animation: ds-tst-word .6s var(--ds-ease, ease) both; }
@keyframes ds-tst-word { 0% { opacity: 0; background-color: var(--ds-wash-2); } 45% { opacity: 1; background-color: var(--ds-wash-2); } 100% { opacity: 1; background-color: transparent; } }
.ds-tst-gap { color: var(--ds-label); font-weight: 600; border-bottom: 1.5px dashed var(--ds-line-strong); }
.ds-tst-sum-stack .ds-tst-stack .ds-ath.ds-tst-mini { width: 72px; }
.ds-tst-sum-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; border-top: 1px solid var(--ds-line-soft); }
.ds-tst-sum-facts dt { font-size: var(--ds-fs-2); color: var(--ds-label); }
.ds-tst-sum-facts dd { font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); }
.ds-tst-runbox { display: flex; flex-direction: column; gap: 10px; }
.ds-tst-run { width: 100%; height: 48px; font-size: var(--ds-fs-5); }
.ds-tst-run:disabled, html[data-skin] .ds-btn.ds-primary.ds-tst-run:disabled { cursor: default; background: var(--ds-raise) !important; border-color: var(--ds-raise) !important; color: var(--ds-label) !important; }
.ds-tst-reason { font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-reason.ok { color: var(--ds-teal); }
.ds-tst-going { animation: ds-tst-rise .35s var(--ds-ease, ease) both; }
.ds-tst-rows { background: var(--ds-tint); border-radius: var(--ds-r-inner); overflow: hidden; }
.ds-tst-rows li { padding: 10px 14px; }
.ds-tst-rows li b { font-size: var(--ds-fs-4); }

/* ---------- a viewer's own test: the read ---------- */
.ds-tst-fits { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.ds-tst-fit { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 18px 18px; border-radius: var(--ds-r-inner); background: var(--ds-tint); }
.ds-tst-fit.lead { background: var(--ds-teal-wash); }
.ds-tst-fit .ds-ath { max-width: 260px; border-radius: var(--ds-r-box); }
.ds-tst-fit-id { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ds-tst-fits.one { grid-template-columns: minmax(0, 1fr); }
.ds-tst-fits.one .ds-tst-fit { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: 28px; align-items: start; }
/* the leader is said in its own figure's line, never over the poster */
.ds-tst-lead { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; font-size: var(--ds-fs-2); font-weight: 700; letter-spacing: 0; color: #FFFFFF; background: var(--ds-teal); border-radius: 6px; vertical-align: 2px; white-space: nowrap; }
.ds-tst-fit h3 .ds-tst-lead { margin-left: 6px; }
.ds-tst-fit-n .ds-tst-lead { align-self: center; margin-left: auto; font-size: var(--ds-fs-2); color: #FFFFFF; }
.ds-tst-fit h3 { font-size: var(--ds-fs-5); font-weight: 650; line-height: 1.3; }
.ds-tst-fit-n { display: flex; align-items: baseline; gap: 10px; }
.ds-tst-fit-n b { font-size: var(--ds-fs-10); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ds-tst-fit.lead .ds-tst-fit-n b { color: var(--ds-teal); }
.ds-tst-fit-n span { font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-fit .ds-vshare ul { margin-top: 12px; }
/* what the data suggests: soft tiles, each one the link to its next step */
.ds-tst-suggs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ds-tst-sugg { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; background: var(--ds-tint); border-radius: var(--ds-r-inner); transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s cubic-bezier(.22, .61, .36, 1); }
@media (hover: hover) { .ds-tst-sugg:has(.ds-tst-sugg-a):hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(23, 40, 62, .30); } }
html[data-skin] .ds-tst-sugg .ds-icon-tile { margin-bottom: 6px; background: var(--ds-paper); border-color: transparent; border-radius: var(--ds-r-key); }
.ds-tst-sugg-k { font-size: var(--ds-fs-3); font-weight: 650; color: var(--ds-blue); }
.ds-tst-sugg h3 { font-size: var(--ds-fs-6); font-weight: 650; line-height: 1.3; letter-spacing: -.015em; text-wrap: pretty; }
.ds-tst-sugg p:not(.ds-tst-sugg-k) { font-size: var(--ds-fs-4); color: var(--ds-ink-soft); }
.ds-tst-sugg-a { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-blue); text-decoration: none; }
.ds-tst-sugg-a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ds-tst-sugg-a:hover { text-decoration: underline; }
.ds-tst-sugg-a svg { width: 14px; height: 14px; transition: transform .22s cubic-bezier(.22, .61, .36, 1); }
.ds-tst-sugg:hover .ds-tst-sugg-a svg { transform: translateX(2px); }
.ds-tst-spec { display: grid; gap: 0; }
.ds-tst-spec > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 18px; padding: 14px 0; border-top: 1px solid var(--ds-line-soft); }
.ds-tst-spec > div:first-child { border-top: 0; padding-top: 0; }
.ds-tst-spec dt { font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-label); }
.ds-tst-spec dd { font-size: var(--ds-fs-4); color: var(--ds-ink); min-width: 0; }
.ds-tst-spec .ds-chips { margin: 0; }
html[data-skin] .ds-tst-spec .ds-tag { background: var(--ds-tint); border-color: transparent; border-radius: var(--ds-r-chip); }
html[data-skin] .ds-tst-spec .ds-tag-a:hover { background: var(--ds-wash); border-color: transparent; color: var(--ds-blue); }
.ds-tst-speclist { list-style: none; display: grid; gap: 10px; }
.ds-tst-speclist li { display: flex; align-items: center; gap: 12px; }
.ds-tst-speclist .ds-ath.ds-tst-mini { width: 72px; flex: none; border-radius: 6px; }
.ds-tst-speclist li > span { display: flex; flex-direction: column; min-width: 0; }
.ds-tst-speclist li > span > span { font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-spec-a { margin-top: 16px; }
.ds-tst-spec-a .ds-btn { gap: 8px; }

/* motion rests under reduced motion and in still mode */
@media (prefers-reduced-motion: reduce) {
  .ds-tst-card, .ds-tst-sugg, .ds-tst-tcard, .ds-tst-asset, .ds-tst-stepn, .ds-tst-stepk, .ds-tst-form input, .ds-tst-form textarea, .ds-tst-q, .ds-tst-search { transition: none; }
  .ds-tst-tcard.pop .ds-tst-ck, .ds-tst-asset.pop .ds-tst-ck, .ds-tst-asset.landed { animation: none; }
  .ds-tst-card:hover, .ds-tst-sugg:hover, .ds-tst-form input:focus, .ds-tst-form textarea:focus, .ds-tst-q:focus { transform: none !important; }
}
body.ds-still .ds-tst-card, body.ds-still .ds-tst-sugg, body.ds-still .ds-tst-stepn, body.ds-still .ds-tst-stepk { transition: none; }
body.ds-still .ds-tst-tcard.pop .ds-tst-ck, body.ds-still .ds-tst-asset.pop .ds-tst-ck, body.ds-still .ds-tst-asset.landed { animation: none; }

/* wide screens: the list reads in two columns, the composer keeps its read-back beside it */
@media (max-width: 1180px) {
  .ds-tst-comp { grid-template-columns: minmax(0, 1fr); }
  .ds-tst-sum { position: static; }
  .ds-tst-next-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 1080px) {
  .ds-tst-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone: the sheet is the only container, so cards and reads become hairline rows ---------- */
@media (max-width: 720px) {
  html[data-skin] .ds-tst-next { padding: 22px 18px 24px; border-radius: var(--ds-r-sheet); }
  html[data-skin] .ds-tst-next h2 { font-size: var(--ds-fs-8); }
  .ds-tst-next-a .ds-btn { flex: 1 1 auto; }
  .ds-tst-track li b { font-size: var(--ds-fs-3); }
  .ds-tst-track li span:last-child { white-space: normal; }
  .ds-tst-track-i { width: 34px; height: 34px; }
  .ds-tst-track::before { top: 15px; }
  .ds-tst-cards { gap: 0; }
  .ds-tst-card { --tst-bg: var(--ds-paper); padding: 20px 0; background: none; }
  /* the divider is its own straight line, so it never follows the tile's corner */
  .ds-tst-card + .ds-tst-card::before, .ds-tst-fit + .ds-tst-fit::before, .ds-tst-sugg + .ds-tst-sugg::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ds-line); }
  .ds-tst-card:first-child { padding-top: 6px; }
  .ds-tst-card.st-locked { --tst-bg: var(--ds-paper); }
  .ds-tst-card:hover { transform: none !important; box-shadow: none !important; }
  .ds-tst-card-top { flex-wrap: wrap; row-gap: 6px; }
  .ds-tst-foot { flex-wrap: wrap; }
  .ds-tst-card .ds-tst-act { flex: 1 1 100%; }
  .ds-tst-card .ds-tst-act .ds-btn { width: 100%; }
  html[data-skin] .ds-tst-act .ds-btn:not(.ds-primary) { background: var(--ds-tint); box-shadow: none; }
  .ds-tst-why { max-width: none; }
  .ds-tst-empty, .ds-tst-none { flex-direction: column; align-items: flex-start; }
  .ds-tst-types { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ds-tst-assets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ds-tst-asset { --pad: 4px; }
  .ds-tst-asset-t { padding: 0 4px; }
  .ds-tst-asset .ds-tst-ck { top: 9px; right: 9px; }
  .ds-ath.k-logline q { font-size: 13px; -webkit-line-clamp: 3; }
  .ds-tst-form { grid-template-columns: minmax(0, 1fr); }
  .ds-tst-lib { margin-left: 0; }
  .ds-tst-audrow { flex-direction: column; align-items: flex-start; }
  .ds-tst-pop { width: calc(100vw - 56px); }
  .ds-tst-sentence { font-size: var(--ds-fs-6); }
  .ds-tst-spec > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ds-tst-fits { gap: 0; }
  .ds-tst-fit { padding: 18px 0; background: none; }
  .ds-tst-fit:first-child { padding-top: 0; }
  .ds-tst-fit.lead { background: none; }
  .ds-tst-fit .ds-ath { max-width: none; }
  .ds-tst-fits.one .ds-tst-fit { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ds-tst-suggs { gap: 0; }
  .ds-tst-sugg { padding: 18px 0; background: none; }
  .ds-tst-sugg:first-child { padding-top: 0; }
  .ds-tst-sugg:hover { transform: none !important; box-shadow: none !important; }
  html[data-skin] .ds-tst-sugg .ds-icon-tile { background: var(--ds-tint); }
}

/* keyboard focus keeps each shape's own corner (the kit's focus rule rounds every focused control to 6px) */
.ds-tst-tcard:focus-visible, .ds-tst-asset:focus-visible { border-radius: var(--ds-r-inner); }
html[data-skin] .ds-tst-lanes .ds-lane:focus-visible { border-radius: var(--ds-r-key); }
/* a test whose result is kept: a quiet way to its report */
.ds-tst-rep { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-blue); text-decoration: none; }
.ds-tst-rep svg { width: 15px; height: 15px; }
.ds-tst-rep:hover { text-decoration: underline; text-underline-offset: 3px; }
/* one kind of test at a time (Josh, Oct 2): once a kind is picked, the others step back, greyed, and come forward again under
   the pointer or the keyboard, so it reads as a single choice that can still be changed */
.ds-tst-tcard { transition: opacity .25s ease, filter .25s ease, background-color .2s, box-shadow .2s; }
.ds-tst-types:has(.ds-tst-tcard.on) .ds-tst-tcard:not(.on) { opacity: .5; filter: grayscale(1); }
.ds-tst-types:has(.ds-tst-tcard.on) .ds-tst-tcard:not(.on):hover, .ds-tst-types:has(.ds-tst-tcard.on) .ds-tst-tcard:not(.on):focus-visible { opacity: .9; filter: none; }
.ds-tst-types:has(.ds-tst-tcard.on) .ds-tst-tcol:not(:has(.ds-tst-tcard.on)) .ds-tst-tcol-h { opacity: .55; transition: opacity .25s ease; }

/* ---------- round 54: a test is two picks (what you are testing, the goal), with templates above; no stages, no order ---------- */
.ds-tst-pk { flex: none; font-size: var(--ds-fs-2); font-weight: 600; color: var(--ds-label); }
.ds-tst-tpls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.ds-tst-tpls .ds-tst-pk { margin-right: 4px; }
.ds-tst-tpl { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; font: inherit; font-size: var(--ds-fs-3); color: var(--ds-ink); background: var(--ds-paper); border: 0; box-shadow: inset 0 0 0 1px var(--ds-line-strong); cursor: pointer; text-decoration: none; transition: background-color .2s, box-shadow .2s; }
html[data-skin] .ds-tst-tpl { border-radius: var(--ds-r-key) !important; }
.ds-tst-tpl b { font-weight: 600; }
.ds-tst-tpl:hover { background: var(--ds-tint); }
.ds-tst-tpl.on, .ds-tst-tpl.on:hover { background: var(--ds-wash); box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
/* the one template that leaves this page names where it goes */
.ds-tst-away { display: inline-flex; align-items: center; gap: 3px; font-size: var(--ds-fs-2); font-weight: 600; color: var(--ds-blue); white-space: nowrap; }
.ds-tst-away svg { width: 11px; height: 11px; transition: transform .2s var(--ds-ease); }
.ds-tst-tpl-away:hover .ds-tst-away svg { transform: translateX(2px); }
.ds-tst-picks { align-items: start; }
.ds-tst-picks .ds-tst-tcol-h { display: block; margin: 0 0 6px 2px; }
.ds-tst-picks .ds-tst-tcol-h b { font-size: var(--ds-fs-4); font-weight: 650; color: var(--ds-ink); }
.ds-tst-picks .ds-tst-tcard { padding: 13px 16px 13px; }
/* sign-ups go to a platform you choose; the row keeps its place whatever the goal, and wakes when sign-ups is picked */
.ds-tst-plats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding: 12px 14px 13px; background: var(--ds-tint); transition: opacity .25s ease, filter .25s ease; }
html[data-skin] .ds-tst-plats { border-radius: var(--ds-r-inner) !important; }
.ds-tst-plats .ds-tst-pk { width: 100%; margin-bottom: 2px; }
.ds-tst-plats.off { opacity: .55; filter: grayscale(1); }
.ds-tst-plats.off:hover, .ds-tst-plats.off:focus-within { opacity: .95; filter: none; }
.ds-tst-plat { min-height: 32px; padding: 0 12px; font: inherit; font-size: var(--ds-fs-3); font-weight: 550; color: var(--ds-ink); background: var(--ds-paper); border: 0; box-shadow: inset 0 0 0 1px var(--ds-line-strong); cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; }
html[data-skin] .ds-tst-plat { border-radius: var(--ds-r-key) !important; }
.ds-tst-plat:hover { background: #EBF0F8; }
.ds-tst-plat.on, .ds-tst-plat.on:hover { background: var(--ds-blue); color: #FFFFFF; box-shadow: none; }
.ds-tst-plat-o { flex: 1 1 9.5em; min-width: 8.5em; }
.ds-tst-plat-o input { width: 100%; height: 32px; padding: 0 12px; font: inherit; font-size: var(--ds-fs-3); color: var(--ds-ink); background: var(--ds-paper); border: 0; box-shadow: inset 0 0 0 1px var(--ds-line-strong); outline-offset: 2px; }
html[data-skin] .ds-tst-plat-o input { border-radius: var(--ds-r-key) !important; }
.ds-tst-plat-o.on input { box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
.ds-tst-launch { margin-top: 18px; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-tst-launch b { font-weight: 650; color: var(--ds-ink); }
.ds-tst-launch .ds-link { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.ds-tst-sum-picks b { white-space: normal; text-wrap: balance; }
/* the steps so far (a tick each), then the one that is next (its number): as many as the project has taken, three at most */
.ds-tst-sofar { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.ds-tst-sofar::before { left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); }
.ds-tst-sofar-n { font-size: var(--ds-fs-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.ds-tst-sofar-n svg { width: 14px; height: 14px; }
.ds-tst-sofar li b { text-wrap: balance; }
@media (max-width: 720px) {
  .ds-tst-tpls { gap: 6px; margin-bottom: 18px; }
  .ds-tst-tpls .ds-tst-pk { width: 100%; }
  .ds-tst-tpl { min-height: 40px; }
  .ds-tst-plat, .ds-tst-plat-o input { min-height: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .ds-tst-tpl, .ds-tst-plat, .ds-tst-plats { transition: none; } }
/* the hand-off to the trailer test: one quiet line above the creative, with the named link that leaves this page */
.ds-tst-hand { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin: 0 0 16px; padding: 12px 14px; background: var(--ds-tint); font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-ink-soft); }
html[data-skin] .ds-tst-hand { border-radius: var(--ds-r-inner) !important; }
.ds-tst-hand > span { flex: 1 1 26em; min-width: 0; }
.ds-tst-hand b { font-weight: 650; color: var(--ds-ink); }
.ds-tst-hand .ds-tst-away { text-decoration: none; font-size: var(--ds-fs-3); }
.ds-tst-hand .ds-tst-away:hover svg { transform: translateX(2px); }
