/* saved.css · styles for saved.js: Save to report, the toast, the project picker, the Reports tab and the Campaigns tab.
   Every class is ds-prefixed (ds-save, ds-toast, ds-sv-…); shapes go through the radius tokens.
   The soft pass (Oct 2): hairline rows with quiet ghost actions that come forward on hover, the open read merged into its row,
   a paper preview that leans and settles, a toast that springs in. Phone rules live at the end of this file. */

/* ---------- Save to report ---------- */
.ds-btn.ds-save { gap: 8px; }
.ds-save-i { position: relative; display: block; width: 17px; height: 17px; flex: none; }
.ds-save-i svg { position: absolute; inset: 0; width: 17px; height: 17px; transition: opacity .22s, transform .32s var(--ds-ease); }
.ds-save-i svg + svg { opacity: 0; transform: scale(.6); }
.ds-save-l { display: grid; }
.ds-save-l > span { grid-area: 1 / 1; text-align: left; transition: opacity .2s, transform .28s var(--ds-ease); }
.ds-save-l .b { opacity: 0; transform: translateY(6px); }
.ds-btn.ds-save.on { color: var(--ds-teal); border-color: color-mix(in srgb, var(--ds-teal) 45%, transparent); background: var(--ds-teal-wash); }
.ds-btn.ds-save.on:hover { background: color-mix(in srgb, var(--ds-teal) 14%, transparent); }
.ds-save.on .ds-save-i svg:first-child { opacity: 0; transform: scale(.6); }
.ds-save.on .ds-save-i svg + svg { opacity: 1; transform: none; }
.ds-save.on .ds-save-l .a { opacity: 0; transform: translateY(-6px); }
.ds-save.on .ds-save-l .b { opacity: 1; transform: none; }
.ds-save[aria-expanded="true"] { border-color: var(--ds-blue); background: var(--ds-wash); }
.ds-save-pop .ds-save-i { animation: ds-sv-pop .5s var(--ds-ease); }
@keyframes ds-sv-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* the sheet that flies into the Reports tab */
.ds-sv-fly { position: fixed; z-index: 85; display: grid; place-items: center; width: 34px; height: 26px; border-radius: var(--ds-r-box); background: var(--ds-teal); color: #fff; box-shadow: 0 8px 20px rgba(6, 13, 28, .22); pointer-events: none; will-change: transform, opacity; }
.ds-sv-fly svg { width: 15px; height: 15px; }
.ds-tab .n.ds-sv-bump { display: inline-block; color: var(--ds-teal); animation: ds-sv-bump .5s var(--ds-ease); }
@keyframes ds-sv-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- the toast ---------- */
.ds-toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 12px; max-width: min(560px, calc(100vw - 24px)); padding: 10px 10px 10px 12px; border-radius: var(--ds-r-sheet); background: #0B1730; color: #EEF3FB; box-shadow: 0 18px 40px -12px rgba(6, 13, 28, .45); font-size: var(--ds-fs-4); opacity: 0; transform: translate(-50%, 18px) scale(.97); pointer-events: none; transition: opacity .2s, transform .42s cubic-bezier(.34, 1.56, .64, 1); }
.ds-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ds-toast-i { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(95, 208, 200, .16); color: #5FD0C8; }
body:not(.ds-still) .ds-toast.on .ds-toast-i { animation: ds-sv-ipop .42s cubic-bezier(.34, 1.56, .64, 1) .12s both; }
@keyframes ds-sv-ipop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ds-toast-i svg { width: 15px; height: 15px; }
.ds-toast-t { min-width: 0; line-height: 1.35; }
.ds-toast-t b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-toast-t span { display: block; font-size: var(--ds-fs-3); color: #93A6C2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-toast-acts { display: flex; align-items: center; gap: 4px; flex: none; margin-left: 4px; }
.ds-toast-a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: var(--ds-r-key); color: #8FB0F0; font-size: var(--ds-fs-3); font-weight: 700; text-decoration: none; white-space: nowrap; background: none; border: 0; }
.ds-toast-a svg { width: 14px; height: 14px; }
.ds-toast-a:hover { background: rgba(143, 176, 240, .14); color: #B3C9F6; }
.ds-toast-x { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; color: #93A6C2; }
.ds-toast-x:hover { background: rgba(143, 176, 240, .12); color: #EEF3FB; }
.ds-toast-x svg { width: 15px; height: 15px; }

/* ---------- the project picker ---------- */
.ds-sv-pick { position: fixed; z-index: 75; padding: 14px 6px 6px; border-radius: var(--ds-r-sheet); background: var(--ds-paper); border: 1px solid var(--ds-line); box-shadow: 0 22px 48px -18px rgba(6, 13, 28, .35); }
body:not(.ds-still) .ds-sv-pick.in { animation: ds-sv-in .3s cubic-bezier(.34, 1.56, .64, 1); transform-origin: top left; }
@keyframes ds-sv-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.ds-sv-pick-h { padding: 0 10px; font-size: var(--ds-fs-5); font-weight: 700; color: var(--ds-ink); }
.ds-sv-pick-s { padding: 2px 10px 10px; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-sv-pick-l { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.ds-sv-pick-l button { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: var(--ds-r-key); text-align: left; color: var(--ds-ink); transition: background .15s; }
.ds-sv-pick-l button:hover { background: var(--ds-tint); }
.ds-sv-pick-l button:focus-visible { background: var(--ds-wash); outline: none; }
.ds-sv-pick-l button:focus-visible { box-shadow: inset 0 0 0 1.5px var(--ds-blue); }
.ds-sv-pick-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--ds-r-key); background: var(--ds-tint); color: var(--ds-blue); }
.ds-sv-pick-l button:hover .ds-sv-pick-ic { background: var(--ds-paper); }
.ds-sv-pick-ic svg { width: 16px; height: 16px; }
.ds-sv-pick-t { min-width: 0; }
.ds-sv-pick-t b { display: block; font-size: var(--ds-fs-4); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-pick-t em { display: block; font-style: normal; font-size: var(--ds-fs-2); color: var(--ds-muted); }
.ds-sv-pick-n { font-size: var(--ds-fs-2); color: var(--ds-label); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- shared bits: icon tiles, action rows ---------- */
.ds-sv-ki { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--ds-r-key); background: var(--ds-wash); color: var(--ds-blue); }
.ds-sv-ki svg { width: 18px; height: 18px; }
.ds-sv-exec-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.ds-sv-exec-acts .ds-btn svg { width: 16px; height: 16px; }
.ds-sv-exec-acts .ds-link { margin-left: 4px; }

/* ---------- Reports: the exec report card ---------- */
.ds-sv-exec-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.ds-sv-exec .ds-sh { margin-bottom: 18px; }
.ds-sv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; background: var(--ds-tint); border-radius: var(--ds-r-inner); overflow: hidden; }
.ds-sv-facts > div { padding: 12px 16px; border-left: 1px solid var(--ds-paper); min-width: 0; }
.ds-sv-facts > div:first-child { border-left: 0; }
.ds-sv-facts dt { font-size: var(--ds-fs-2); color: var(--ds-label); }
.ds-sv-facts dd { margin: 2px 0 0; font-size: var(--ds-fs-7); font-weight: 720; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-facts > div:last-child dd { font-size: var(--ds-fs-5); font-weight: 650; padding-top: 4px; letter-spacing: 0; }
/* the paper preview: the exec report's own contents, as three sheets */
.ds-sv-doc { display: block; position: relative; height: 236px; text-decoration: none; color: inherit; outline: none; }
.ds-sv-sheet { position: absolute; top: 8px; left: 30px; right: 18px; bottom: 0; border-radius: var(--ds-r-inner); background: var(--ds-paper); border: 1px solid var(--ds-line); box-shadow: 0 12px 26px -14px rgba(23, 40, 62, .24); transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), box-shadow .3s; }
.ds-sv-sheet.back { transform: translate(-22px, 14px) rotate(-4deg); background: var(--ds-tint); }
.ds-sv-sheet.mid { transform: translate(-10px, 7px) rotate(-1.8deg); }
/* the top sheet leans a degree at rest and settles square when the card is pointed at, as if picked up to read */
.ds-sv-sheet.front { padding: 18px 18px 14px; overflow: hidden; transform: rotate(1.2deg); }
.ds-sv-exec:hover .ds-sv-sheet.back { transform: translate(-28px, 17px) rotate(-5.2deg); }
.ds-sv-exec:hover .ds-sv-sheet.mid { transform: translate(-14px, 9px) rotate(-2.6deg); }
.ds-sv-exec:hover .ds-sv-sheet.front { transform: translateY(-4px); box-shadow: 0 22px 36px -18px rgba(23, 40, 62, .32); }
.ds-sv-exec.empty .ds-sv-sheet.front, .ds-sv-exec.empty:hover .ds-sv-sheet.front { transform: none; }
.ds-sv-doc-k { font-family: var(--ds-m); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-doc-h { margin-top: 6px; font-size: 12.5px; font-weight: 720; line-height: 1.3; color: var(--ds-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ds-sv-doc-rule { display: block; height: 1px; margin: 10px 0 8px; background: var(--ds-line); }
.ds-sv-doc-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: sv; }
.ds-sv-doc-l li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; align-items: baseline; font-size: 10.5px; line-height: 1.3; color: var(--ds-ink-soft); counter-increment: sv; }
.ds-sv-doc-l li::before { content: counter(sv, decimal-leading-zero); font-family: var(--ds-m); font-size: 9px; color: var(--ds-label); }
.ds-sv-doc-l li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-doc-l li.wait span { display: block; height: 7px; margin-top: 3px; background: var(--ds-track); border-radius: 2px; }
.ds-sv-doc-l li.wait:first-child span { height: auto; background: none; color: var(--ds-label); }
.ds-sv-doc-more { margin-top: 8px; font-size: 10px; color: var(--ds-label); }
body:not(.ds-still) .ds-page.enter .ds-sv-sheet.front { animation: ds-sv-deal .6s var(--ds-ease) .12s both; }
body:not(.ds-still) .ds-page.enter .ds-sv-sheet.mid { animation: ds-sv-deal .6s var(--ds-ease) .06s both; }
@keyframes ds-sv-deal { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.ds-sv-exec.empty .ds-sv-sheet.front { background: var(--ds-paper); }
.ds-sv-exec.empty .ds-sv-doc { opacity: .75; }

/* ---------- Reports: the saved list ---------- */
.ds-sv-lanes { margin-bottom: 18px; }
.ds-sv-ln { margin-left: 7px; font-size: var(--ds-fs-2); font-weight: 600; color: var(--ds-label); font-variant-numeric: tabular-nums; }
.ds-lane[aria-selected="true"] .ds-sv-ln { color: var(--ds-blue); }
.ds-lane.ds-sv-zero { color: var(--ds-label); }
.ds-sv-list { list-style: none; margin: -4px -14px 0; padding: 0; display: grid; }
/* hairline rows, inset to the content; the open row turns into one soft tile that holds its read */
.ds-sv-row { position: relative; padding: 0 14px; border-radius: var(--ds-r-inner); transition: height .26s var(--ds-ease), opacity .2s, background .2s; }
.ds-sv-row + .ds-sv-row::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--ds-line); transition: opacity .2s; }
.ds-sv-row.open { background: var(--ds-tint); }
.ds-sv-row.open::before, .ds-sv-row.open + .ds-sv-row::before { opacity: 0; }
.ds-sv-row.ds-sv-going { opacity: 0; }
.ds-sv-rowin { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 0; }
.ds-sv-row.g-questions .ds-sv-ki { background: var(--ds-teal-wash); color: var(--ds-teal); }
.ds-sv-row.g-campaigns .ds-sv-ki { background: var(--ds-amber-wash); color: var(--ds-amber); }
.ds-sv-row.open .ds-sv-ki { background: var(--ds-paper); }
.ds-sv-main { min-width: 0; }
.ds-sv-title { font-size: var(--ds-fs-6); font-weight: 680; letter-spacing: -.01em; line-height: 1.3; color: var(--ds-ink); text-wrap: pretty; }
.ds-sv-note { margin-top: 4px; font-size: var(--ds-fs-4); line-height: 1.5; color: var(--ds-muted); max-width: 72ch; }
.ds-sv-meta { display: flex; margin-top: 8px; font-size: var(--ds-fs-2); color: var(--ds-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-meta span { flex: none; }
.ds-sv-meta span + span::before { content: '·'; margin: 0 7px; }
.ds-sv-meta .k { font-weight: 650; color: var(--ds-ink-soft); }
.ds-sv-row.mine .ds-sv-meta .k::after { content: 'New'; display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: var(--ds-r-key); background: var(--ds-teal-wash); color: var(--ds-teal); font-weight: 650; }
/* the actions: Read is a quiet ghost with a chevron; link and remove are bare icons. All three come forward when the row is pointed at */
.ds-sv-acts { display: flex; align-items: center; gap: 2px; margin-top: -2px; }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open { height: 34px; padding: 0 10px 0 12px; gap: 5px; border-color: transparent; background: transparent; color: var(--ds-blue); font-size: var(--ds-fs-3); font-weight: 650; transition: background .2s, color .2s, transform .15s; }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open svg { width: 15px; height: 15px; transition: transform .28s cubic-bezier(.34, 1.56, .64, 1); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open:not([aria-expanded]) svg { width: 13px; height: 13px; }
html[data-skin] .ds-sv-row:hover .ds-btn.ds-sv-open, html[data-skin] .ds-sv-row:focus-within .ds-btn.ds-sv-open { background: var(--ds-wash); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open:hover { background: var(--ds-wash-2); color: var(--ds-blue-hover); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open:hover svg { transform: translateY(1px); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open:active { transform: scale(.98); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open.on { background: var(--ds-paper); color: var(--ds-blue); }
html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open.on svg { transform: rotate(180deg); }
.ds-sv-ol { display: grid; }
.ds-sv-ol > span { grid-area: 1 / 1; text-align: left; }
.ds-sv-ol[data-on="false"] .b, .ds-sv-ol[data-on="true"] .a { visibility: hidden; }
.ds-sv-ib { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--ds-r-key); color: var(--ds-label); opacity: .75; transition: background .15s, color .15s, opacity .15s; }
.ds-sv-row:hover .ds-sv-ib, .ds-sv-row:focus-within .ds-sv-ib, .ds-sv-row.open .ds-sv-ib { opacity: 1; color: var(--ds-muted); }
.ds-sv-ib:hover, .ds-sv-row:hover .ds-sv-ib:hover { background: var(--ds-tint); color: var(--ds-ink); }
.ds-sv-row.open .ds-sv-ib:hover { background: var(--ds-paper); }
.ds-sv-ib svg { width: 16px; height: 16px; }
.ds-sv-ib[data-sv-remove]:hover, .ds-sv-row:hover .ds-sv-ib[data-sv-remove]:hover { color: var(--ds-amber); }
.ds-sv-row.open .ds-sv-note { display: none; }   /* the reader says it in full */
@media (hover: none) {
  html[data-skin] .ds-sv-acts .ds-btn.ds-sv-open { background: var(--ds-wash); }
  .ds-sv-ib { opacity: 1; color: var(--ds-muted); }
}
/* the reader: a demand read opens inside its own row's tile and pushes the rest down */
.ds-sv-reader { margin: -4px 0 0 52px; padding: 0 0 24px; }
body:not(.ds-still) .ds-sv-reader { animation: ds-sv-open .32s var(--ds-ease); }
@keyframes ds-sv-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ds-sv-reader-k { font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-blue); }
.ds-sv-reader-a { margin-top: 6px; font-size: var(--ds-fs-6); line-height: 1.5; color: var(--ds-ink); max-width: 70ch; }
.ds-sv-reader .ds-stats, .ds-sv-reader .ds-rows { margin-top: 16px; background: var(--ds-paper); }
@media (min-width: 721px) { .ds-sv-reader .ds-stats { border-color: transparent; border-radius: var(--ds-r-key); } }
.ds-sv-reader .ds-stat { border-left-color: var(--ds-tint); }
.ds-sv-reader .ds-rows { background: none; }
.ds-sv-reader .ds-read { margin-top: 16px; }
/* nothing saved yet */
.ds-sv-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ds-sv-tiles li { padding: 16px; border-radius: var(--ds-r-inner); background: var(--ds-tint); }
.ds-sv-tiles .ds-sv-ki { margin-bottom: 12px; background: var(--ds-paper); }
.ds-sv-tiles b { display: block; font-size: var(--ds-fs-5); font-weight: 700; }
.ds-sv-tiles p { margin-top: 4px; font-size: var(--ds-fs-3); line-height: 1.5; color: var(--ds-muted); }

/* ---------- Campaigns ---------- */
.ds-sv-camp-k { display: flex; align-items: center; gap: 14px; }
.ds-sv-camp.live .ds-sv-camp-k .ds-sv-ki { background: var(--ds-teal-wash); color: var(--ds-teal); }
.ds-sv-camp.locked .ds-sv-camp-k .ds-sv-ki { background: var(--ds-tint); color: var(--ds-label); }
.ds-sv-camp-n { font-size: var(--ds-fs-5); font-weight: 700; color: var(--ds-ink); }
.ds-sv-camp-st { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.ds-sv-st { font-size: var(--ds-fs-3); font-weight: 650; white-space: nowrap; }
.ds-sv-st.k-ready { color: var(--ds-teal); }
.ds-sv-st.k-wait { color: var(--ds-muted); }
.ds-sv-camp-h { margin-top: 18px; font-size: var(--ds-fs-8); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; color: var(--ds-ink); max-width: 34ch; }
.ds-sv-camp.locked .ds-sv-camp-h { font-size: var(--ds-fs-7); color: var(--ds-ink-soft); max-width: 46ch; }
.ds-sv-brief { margin-top: 22px; }
.ds-sv-metric { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; margin-top: 12px; padding: 18px 22px; border-radius: var(--ds-r-inner); background: var(--ds-tint); }
.ds-sv-metric .ds-sv-meter .tr { background: rgba(48, 88, 135, .14); }
.ds-sv-metric-t .k { display: block; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); }
.ds-sv-metric-t b { display: block; margin-top: 2px; font-size: var(--ds-fs-6); font-weight: 700; }
.ds-sv-metric-t em { display: block; margin-top: 4px; font-style: normal; font-size: var(--ds-fs-2); color: var(--ds-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-metric-v { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ds-sv-metric-v strong { font-size: var(--ds-fs-10); font-weight: 760; letter-spacing: -.03em; color: var(--ds-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ds-sv-meter { position: relative; padding-bottom: 22px; }
.ds-sv-meter .tr { position: relative; display: block; height: 10px; border-radius: 5px; background: var(--ds-track); }
.ds-sv-meter i, .ds-sv-meter u { position: absolute; top: 0; bottom: 0; text-decoration: none; }
.ds-sv-meter i { background: var(--ds-teal); border-radius: 5px 0 0 5px; }
.ds-sv-meter u { background: color-mix(in srgb, var(--ds-teal) 38%, transparent); border-radius: 0 5px 5px 0; }
.ds-sv-meter b { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ds-ink); }
.ds-sv-meter .gl { position: absolute; top: 18px; transform: translateX(-50%); font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-ink-soft); white-space: nowrap; }
body:not(.ds-still) .ds-page.enter .ds-sv-meter i, body:not(.ds-still) .ds-page.enter .ds-sv-meter u { animation: ds-sv-grow .8s var(--ds-ease) .2s both; transform-origin: left center; }
@keyframes ds-sv-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ds-sv-creative { margin-top: 22px; }
.ds-sv-sub { font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); margin-bottom: 10px; }
.ds-sv-creative ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ds-sv-creative li span:last-child { display: block; margin-top: 6px; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-sv-auds { margin-top: 18px; font-size: var(--ds-fs-4); color: var(--ds-ink-soft); line-height: 1.5; }
.ds-sv-auds span { display: block; font-size: var(--ds-fs-2); font-weight: 650; color: var(--ds-label); margin-bottom: 2px; }

/* ---------- phone ---------- */
@media (max-width: 1100px) {
  .ds-sv-exec-in { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
  .ds-sv-metric { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 820px) {
  .ds-toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 720px) {
  .ds-sv-exec-in { grid-template-columns: 1fr; gap: 20px; }
  .ds-sv-doc { display: none; }
  /* phones: the sheet is the only container. Facts become a hairline row; the open read is a band across the sheet */
  .ds-sv-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); background: none; overflow: visible; }
  .ds-sv-facts > div { min-width: 0; padding: 12px 8px 12px 12px; border-left: 1px solid var(--ds-line); border-top: 1px solid var(--ds-line); border-bottom: 1px solid var(--ds-line); }
  .ds-sv-facts > div:first-child { padding-left: 0; }
  .ds-sv-facts dd { font-size: var(--ds-fs-6); }
  .ds-sv-facts > div:last-child dd { font-size: var(--ds-fs-4); }
  .ds-sv-list { margin: 0 -18px; }
  .ds-sv-row { padding: 0 18px; }
  .ds-sv-row + .ds-sv-row::before { left: 18px; right: 18px; }
  .ds-sv-rowin { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .ds-sv-rowin .ds-sv-ki { width: 30px; height: 30px; }
  .ds-sv-rowin .ds-sv-ki svg { width: 15px; height: 15px; }
  .ds-sv-acts { grid-column: 2; margin: 2px 0 0 -2px; }
  .ds-sv-reader { margin-left: 0; padding: 0 0 20px; }
  /* here the actions sit under the note, so the note stays when a read opens (nothing above the button may move);
     the read's own copy of the same sentence steps aside instead */
  .ds-sv-row.open .ds-sv-note { display: block; }
  .ds-sv-row.open .ds-sv-reader-a { display: none; }
  .ds-sv-reader-k { margin-top: 4px; }
  .ds-sv-tiles { grid-template-columns: 1fr; }
  .ds-sv-lanes { width: 100%; }
  .ds-sv-camp-h { font-size: var(--ds-fs-7); }
  .ds-sv-metric { position: relative; padding: 16px 0 0; background: none; }
  .ds-sv-metric::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ds-line); }
  .ds-sv-metric-v strong { font-size: var(--ds-fs-9); }
  .ds-sv-creative ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-toast { left: 12px; right: 12px; max-width: none; transform: translateY(18px) scale(.97); }
  .ds-toast.on { transform: none; }
  .ds-toast-t b { font-size: var(--ds-fs-3); }
  .ds-toast-t span { font-size: var(--ds-fs-2); }
  /* room for the whole line: the toast leaves by itself, so the phone drops the close mark and the undo icon */
  .ds-toast { gap: 10px; padding: 8px 8px 8px 10px; }
  .ds-toast-i { width: 26px; height: 26px; }
  .ds-toast-x, .ds-toast-a svg { display: none; }
  .ds-toast-a { padding: 0 10px; }
}

/* the list keeps its height when a filter narrows it, so the filter row never moves under the pointer */
.ds-sv-listsheet { min-height: 70vh; }
@media (max-width: 720px) {
  /* meta lines wrap whole facts onto the next line rather than cutting them off */
  .ds-sv-meta { flex-wrap: wrap; white-space: normal; overflow: visible; row-gap: 2px; }
  .ds-sv-meta > span { white-space: nowrap; }
  .ds-sv-meta { column-gap: 12px; }
  .ds-sv-meta span + span::before { content: none; }   /* a wrapped line must never start with a separator dot */
  .ds-sv-metric-t em, .ds-sv-creative li span:last-child { white-space: normal; overflow: visible; }
}

/* motion rests in still mode (which the app also sets under reduced motion) */
body.ds-still .ds-toast { transition: opacity .2s; }
body.ds-still .ds-sv-sheet, body.ds-still .ds-sv-acts .ds-btn.ds-sv-open svg, body.ds-still .ds-sv-row { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .ds-toast { transition: opacity .2s; }
  .ds-sv-sheet, .ds-sv-acts .ds-btn.ds-sv-open svg { transition: none; }
  .ds-toast.on .ds-toast-i, .ds-sv-reader, .ds-sv-pick.in { animation: none; }
}

/* ===== Reports are the results (Oct 2, 2026). A shelf of covers: the project report leads with the key art; every result
   the team kept is a report with a flat cover in its stage's colour. Each opens to its own paper; the test it came from is
   one link away. ===== */
html[data-skin] .ds-rp-feat { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: var(--ds-r-sheet); overflow: hidden; }
.ds-rp-feat-cv { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 340px; padding: 30px 32px 28px; background: #060D1C; color: #fff; text-decoration: none; }
.ds-rp-feat-cv .bg { position: absolute; inset: 0; z-index: -1; background-size: cover; transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
.ds-rp-feat-cv .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 13, 28, .96) 0%, rgba(6, 13, 28, .62) 52%, rgba(6, 13, 28, .2) 100%); }
.ds-rp-feat-cv:hover .bg { transform: scale(1.03); }
.ds-rp-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ds-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 243, 251, .8); }
.ds-rp-k i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ds-rp-feat-t { font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.ds-rp-feat-h { max-width: 48ch; font-size: var(--ds-fs-5); line-height: 1.45; color: rgba(238, 243, 251, .88); text-wrap: pretty; }
.ds-rp-feat-m { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; font-size: var(--ds-fs-2); color: rgba(238, 243, 251, .62); }
.ds-rp-feat-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 28px 28px 26px; }
.ds-rp-feat-k { margin: 0; font-size: var(--ds-fs-2); font-weight: 600; color: var(--ds-label); }
.ds-rp-list { list-style: none; margin: 0; padding: 0; counter-reset: rp; }
.ds-rp-list li { counter-increment: rp; border-top: 1px solid var(--ds-line); }
.ds-rp-list li:first-child { border-top: 0; }
.ds-rp-list a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px; padding: 9px 0; font-size: var(--ds-fs-4); font-weight: 600; line-height: 1.35; color: var(--ds-ink); text-decoration: none; transition: color .18s; }
.ds-rp-list a::before { content: counter(rp, decimal-leading-zero); padding-top: 2px; font-family: var(--ds-m); font-size: 11px; font-weight: 500; color: var(--ds-blue); }
.ds-rp-list a:hover { color: var(--ds-blue); }
.ds-rp-more, .ds-rp-wait { margin: 0; font-size: var(--ds-fs-3); color: var(--ds-muted); }
.ds-rp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
/* the shelf */
.ds-rp-shelf .ds-sv-lanes { margin-bottom: 20px; }
.ds-rp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
html[data-skin] .ds-rp-card { --st: var(--ds-st-discover); --st-ink: #fff; display: flex; flex-direction: column; min-width: 0; background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: 12px; overflow: hidden; transition: transform .22s cubic-bezier(.22, .61, .36, 1), box-shadow .22s cubic-bezier(.22, .61, .36, 1), opacity .24s; }
.ds-rp-card.st-design { --st: var(--ds-st-design); } .ds-rp-card.st-optimize { --st: var(--ds-st-optimize); } .ds-rp-card.st-acquire { --st: var(--ds-st-acquire); --st-ink: #17283E; }
html[data-skin] .ds-rp-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(23, 40, 62, .30); }
.ds-rp-card.ds-rp-going { opacity: 0; transform: scale(.97); }
.ds-rp-cv { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 148px; padding: 16px 18px 18px; background-color: var(--st); background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 14px 14px; background-position: 6px 6px; color: var(--st-ink); text-decoration: none; }
.ds-rp-cv .ds-rp-k { color: inherit; opacity: .86; }
.ds-rp-t { font-size: var(--ds-fs-6); font-weight: 650; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.ds-rp-b { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 14px 18px 12px; }
.ds-rp-n { margin: 0; font-size: var(--ds-fs-3); line-height: 1.45; color: var(--ds-muted); text-wrap: pretty; }
.ds-rp-m { margin: 0; font-size: var(--ds-fs-2); color: var(--ds-label); }
.ds-rp-a { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ds-line); }
.ds-rp-live { display: inline-flex; align-items: center; gap: 5px; font-size: var(--ds-fs-3); font-weight: 600; color: var(--ds-blue); text-decoration: none; }
.ds-rp-live svg { width: 13px; height: 13px; }
.ds-rp-live:hover { text-decoration: underline; text-underline-offset: 3px; }
.ds-rp-ic { display: flex; gap: 2px; opacity: .5; transition: opacity .2s; }
.ds-rp-card:hover .ds-rp-ic, .ds-rp-card:focus-within .ds-rp-ic { opacity: 1; }
@media (hover: none) { .ds-rp-ic { opacity: 1; } }
@media (max-width: 820px) {
  html[data-skin] .ds-rp-feat { grid-template-columns: minmax(0, 1fr); }
  .ds-rp-feat-cv { min-height: 280px; padding: 22px 20px 22px; }
  .ds-rp-feat-side { padding: 18px 20px 20px; }
  .ds-rp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ds-rp-feat-cv .bg, html[data-skin] .ds-rp-card { transition: none; } }

/* Oct 9 (Josh): the report's actions sit between the question and the answer; give the answer room beneath them */
html[data-skin] body .ds-ph > .ds-ph-acts { margin-bottom: 24px; }
