/* r6: finder flow polish and the sets flow (spec 5 and 6). Layout only; components come from the DS. */

/* breadcrumb: Ovation AI › leaf; on phones only "‹ Ovation AI" */
.ff-cr-pre, .ff-cr-cur { display: contents; }
body:has(.fnx-page.ff-flowpage) .rs-crumb { display: flex; }
@media (max-width: 600px) {
  .ff-cr-pre, .ff-cr-cur { display: none; }
  .ff-cr-up::before { content: "\2039"; margin-inline-end: 6px; font-size: 16px; line-height: 1; }
}

/* the small illustration tile beside the setup title */
.ff-sh { display: flex; align-items: flex-start; gap: 16px; }
.ff-sh > .ais-head { flex: 1 1 0; min-width: 0; }
.ff-sh__a { flex: none; width: 48px; height: 48px; display: block; }
.ff-sh__a > * { max-width: 48px; max-height: 48px; }
.ff-ico { display: grid; place-items: center; background: var(--brand-10); color: var(--brand-200); }
.ff-ico--tile { width: 48px; height: 48px; border-radius: var(--radius-12); }
.ff-ico--card { width: 72px; height: 72px; border-radius: var(--radius-16); }
.ff-ico--hero { width: 120px; height: 120px; border-radius: var(--radius-24); }
@media (max-width: 600px) { .ff-sh { flex-direction: column; gap: 12px; } .ff-sh__a, .ff-sh__a > * { width: 40px; height: 40px; max-width: 40px; max-height: 40px; } }

/* phone: Watch tutorial flows with the sentence, not alone on a line with a gap */
@media (max-width: 600px) {
  .ff-fh .ais-head__l .ff-fh__w { display: inline; min-height: 0; height: auto; margin-left: 4px; position: relative; }
  .ff-fh .ais-head__l .ff-fh__w::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
  .ff-fh { gap: 12px; }
}

/* ---- sets intro (6a) ---- */
.ff-intro { display: grid; gap: 24px; }
.ff-intro > .ais-head, .ff-intro .ff-fh { margin-bottom: 0; }
.ff-hero2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; overflow: hidden; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-24); box-shadow: var(--shadow-card); padding: 40px 0 0 40px; min-height: 240px; }
.ff-hero2__t { align-self: center; padding: 0 0 40px; display: grid; gap: 12px; }
.ff-hero2__h { margin: 0; font: 500 28px/36px var(--font); color: var(--type-primary); }
.ff-hero2__p { margin: 0; font: 400 16px/24px var(--font); color: var(--type-secondary); max-width: 46ch; }
.ff-hero2__a { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 200px; }
.ff-hero2__a .ff-ico { margin: 0 56px 56px 0; }
.ff-intro .ff-h2, .ff-sw .ff-h2 { margin: 0 0 12px; font: 500 16px/24px var(--font); color: var(--type-primary); }
.ff-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ff-step { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-12); box-shadow: var(--shadow-card); padding: 20px; }
.ff-step__n { flex: none; width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--brand-10); color: var(--brand-200); display: grid; place-items: center; font: 500 14px/20px var(--font); }
.ff-step__b { display: grid; gap: 4px; min-width: 0; }
.ff-step__t { margin: 0; font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-step__d { margin: 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-step__c { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ff-ready { margin: 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-ready b { font-weight: 500; color: var(--type-primary); }
.ff-ready__l { margin: -12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ff-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
@media (max-width: 900px) { .ff-steps { grid-template-columns: 1fr; } .ff-step { padding: 16px; } }
@media (max-width: 700px) {
  .ff-hero2 { grid-template-columns: 1fr; padding: 24px 0 0 24px; gap: 0; min-height: 0; border-radius: var(--radius-16); }
  .ff-hero2__t { padding: 0 24px 16px 0; }
  .ff-hero2__h { font-size: 22px; line-height: 28px; }
  .ff-hero2__a { min-height: 112px; }
  .ff-hero2__a .ff-ico { width: 72px; height: 72px; margin: 0 24px 24px 0; }
}
@media (max-width: 600px) { .ff-cta .btn-wp { width: 100%; } .ff-cta .btn-text { min-height: 44px; } .ff-ready__l .btn-text { min-height: 44px; } }

/* ---- building (6b) ---- */
.ff-narr { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; max-height: 120px; overflow: hidden; transition: opacity .2s ease, max-height .3s ease, margin .3s ease; }
.ff-narr.is-out { opacity: 0; max-height: 0; margin-bottom: 0; }
.ff-narr__l { display: flex; align-items: center; gap: 10px; font: 400 14px/20px var(--font); color: var(--type-primary); animation: m-in .24s var(--m-ease, ease) both; }
.ff-narr__l.is-done { color: var(--type-secondary); }
.ff-narr__i { flex: none; width: 16px; height: 16px; display: grid; place-items: center; border-radius: var(--radius-full); color: var(--type-secondary); }
.ff-narr__l:not(.is-done) .ff-narr__i { border: 2px solid var(--neutral-100); border-top-color: var(--brand-100); animation: ff-spin .9s linear infinite; box-sizing: border-box; }
@keyframes ff-spin { to { transform: rotate(360deg); } }
.ff-sk__b { display: block; height: 16px; border-radius: var(--radius-4); background: linear-gradient(90deg, var(--neutral-75) 0%, var(--neutral-50) 50%, var(--neutral-75) 100%); background-size: 200% 100%; animation: ff-sh 1.4s linear infinite; }
.ff-sk .ff-mq { background: linear-gradient(90deg, var(--neutral-75) 0%, var(--neutral-50) 50%, var(--neutral-75) 100%); background-size: 200% 100%; animation: ff-sh 1.4s linear infinite; border-color: transparent; }
@keyframes ff-sh { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.ff-sk .ff-sc2__t { gap: 8px; }

/* ---- sets page (6c) ---- */
.ff-sw { margin-bottom: 24px; }
.ff-sg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ff-sc2 { display: grid; gap: 16px; align-content: start; min-width: 0; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-12); box-shadow: var(--shadow-card); padding: 20px; }
.ff-mqs { list-style: none; margin: 0; padding: 12px; height: 140px; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: var(--neutral-25); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); overflow: hidden; }
.ff-mq { min-width: 0; display: grid; align-content: start; gap: 4px; padding: 8px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-4); box-shadow: var(--shadow-card); overflow: hidden; }
.ff-mq b { font: 500 12px/16px var(--font); color: var(--type-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-mq span { font: 400 12px/16px var(--font); color: var(--type-secondary); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ff-mq--e { place-items: center; background: transparent; border-style: dashed; box-shadow: none; }
.ff-mq--e span { text-align: center; color: var(--type-tertiary); }
.ff-sc2__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ff-sc2__t { display: grid; gap: 2px; min-width: 0; flex: 1 1 0; }
.ff-sc2__t h3 { margin: 0; font: 500 16px/24px var(--font); color: var(--type-primary); }
.ff-sc2__t p { margin: 0; }
.ff-sc2__sc { display: grid; gap: 4px; }
.ff-sc2__sc .f { margin: 0; }
.ff-sc2__r { justify-self: start; }
.ff-sc2__a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ff-add { margin: 12px 0 0; }
.ff-rv { animation: m-in .4s var(--m-ease, ease) both; animation-delay: calc(var(--i, 0) * 120ms); }
.ff-kb__m { position: absolute; top: calc(100% + 4px); right: 0; left: auto; max-width: 320px; transform-origin: top right; visibility: hidden; transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 0s linear 150ms; }
.ff-kb__m.visible { visibility: visible; transition-delay: 0s; }
@media (max-width: 760px) { .ff-sg { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .ff-sc2 { padding: 16px; }
  .ff-sc2__a .btn-wpo, .ff-sc2__a .btn-text, .ff-sc2__r, .ff-add .btn-text { min-height: 44px; }
  .ff-sc2__sc .btn-text { min-height: 44px; }
  .ff-kb .ds-kebab { min-width: 44px; min-height: 44px; }
  .ff-kb__m .ds-ctxitem { min-height: 44px; }
  .ff-mqs { padding: 8px; gap: 6px; height: 140px; }
  .ff-mq { padding: 6px; }
}

/* ---- waiting (6d) ---- */
.ff-emp { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 24px; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-16); box-shadow: var(--shadow-card); }
.ff-emp__h { margin: 8px 0 0; font: 500 20px/28px var(--font); color: var(--type-primary); }
.ff-emp__p { margin: 0; max-width: 52ch; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-emp__b { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
@media (max-width: 600px) { .ff-emp { padding: 32px 16px; } .ff-emp__b { width: 100%; flex-direction: column; } .ff-emp__b .btn-wpo { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .ff-rv, .ff-narr__l, .ff-sk__b, .ff-sk .ff-mq, .ff-narr__l:not(.is-done) .ff-narr__i { animation: none; }
  .ff-narr, .ff-kb__m { transition: none; }
}

/* r6 phone fixes: hero and empty art stay inside the card; the kebab stays top right */
.ff-hero2 > *, .ff-emp > * { min-width: 0; }
.ff-hero2__a { overflow: hidden; }
.ff-emp__a { max-width: 100%; overflow: hidden; border-radius: var(--radius-16); }
@media (max-width: 600px) {
  .ff-fh:has(#ff-sact .ff-kb) { position: relative; padding-inline-end: 48px; }
  .ff-fh #ff-sact .ff-kb { position: absolute; top: -6px; right: -6px; }
  .ff-sh .ais-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 700px) { .ff-hero2__a { min-height: 0; height: 150px; } .ff-emp__a { max-height: 160px; } }

/* r6b: hero holds the count line and the primary; chips; set cards */
.ff-hero2__t .ff-ready { font-size: 13px; line-height: 20px; margin-top: 4px; }
.ff-hero2__t .ff-ready b { font-weight: 400; color: var(--type-secondary); }
.ff-hero2__t .ff-ready__l { margin: 0; }
.ff-hero2__t .ff-cta { margin-top: 4px; }
.ff-spin { display: inline-block; width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--neutral-100); border-top-color: var(--brand-100); animation: ff-spin .9s linear infinite; }
.chip.with-icon .ff-spin { margin-inline-end: 4px; }
.ff-sc2__t .ff-path { margin-left: 0; display: block; }
.ff-sc2__a .btn-text { min-height: 0; }
@media (max-width: 700px) { .ff-hero2__t .ff-cta .btn-wp { width: 100%; } }
@media (max-width: 600px) { .ff-sc2__a .btn-text { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ff-spin { animation: none; border-top-color: var(--neutral-100); border-right-color: var(--brand-100); } }
@media (max-width: 600px) { .ff-fh .ais-head__l .ff-fh__w { display: inline !important; height: auto !important; min-height: 0 !important; padding-block: 0; line-height: inherit; vertical-align: baseline; } }

/* ---------- r6c ---------- */
/* touch: a tap must not leave the DS hover fill on the outline buttons (the sets waiting state and every dialog Cancel stay outline) */
@media (hover: none) {
  .ff-emp__b .btn-wpo:hover, #modalhost .tpldialog .btn-wpo:hover { background: var(--bc-0); color: var(--bc-400); }
}
/* Copy (neutral button) and the readonly shortcode field: orange focus */
.ff-sc2__sc .inp-act .act:focus-visible, .ff-ap .inp-act .act:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: -2px; }
.ff-sc2__sc .inp-act:focus-within, .ff-ap .inp-act:focus-within { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 0; }
.ff-sc2__sc .inp-act .inp:focus-visible, .ff-ap .inp-act .inp:focus-visible { outline: none; }
/* 44px hit area for the Watch tutorial link on phones (no visual change) */
@media (max-width: 600px) {
  .ff-fh__w { position: relative; }
  .ff-fh__w::after { content: ""; position: absolute; inset: -11px -6px; }
}

/* ---------- r7 ---------- */
/* item 7: the setup header tile reads on grey: white surface, 1px stroke, soft shadow, 56px */
.ff-sh__a { width: 56px; height: 56px; border-radius: var(--radius-12); background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 14px rgba(16, 24, 40, .08); overflow: hidden; display: grid; place-items: center; box-sizing: border-box; }
.ff-sh__a > * { width: 100%; height: 100%; max-width: none; max-height: none; }
@media (max-width: 600px) { .ff-sh__a, .ff-sh__a > * { width: 56px; height: 56px; max-width: 56px; max-height: 56px; } .ff-sh__a > * { width: 100%; height: 100%; } }

/* item 8: the highlighted auto-approve card */
.ff-auto { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-radius: var(--radius-12); background: var(--brand-10); border: 1px solid var(--brand-15); margin-bottom: 20px; }
.ff-auto__a { flex: none; width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--surface-screen); color: var(--brand-200); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.ff-auto__b { flex: 1 1 0; min-width: 0; }
.ff-auto .ais-sets, .ff-auto .ais-set { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }
.ff-auto__p { margin: 10px 0 0; font: 400 13px/20px var(--font); color: var(--type-secondary); }
/* the table (Phase 1 .dash-card + .dash-thead; rows are local layout) */
.ff-tbl { border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); box-shadow: var(--shadow-card); margin-bottom: 20px; }
.ff-tbl > .dash-thead { border-top: 0; border-radius: var(--radius-12) var(--radius-12) 0 0; }
.ff-tr { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px 24px; align-items: center; }
.ff-tbl > .dash-thead { height: auto; min-height: 43px; }
.ff-tbr { padding: 16px 20px; border-bottom: 1px solid var(--stroke-tertiary); background: var(--surface-screen); }
.ff-tbr:last-child { border-bottom: 0; border-radius: 0 0 var(--radius-12) var(--radius-12); }
.ff-td { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ff-td--s { flex-direction: row; align-items: center; gap: 14px; }
.ff-cl { display: inline-flex; flex: none; width: 84px; justify-content: flex-start; }
.ff-cl:empty { display: none; }
.ff-cl__t { width: 32px; height: 32px; box-sizing: border-box; display: grid; place-items: center; background: var(--surface-screen); border-radius: var(--radius-full); border: 1px solid var(--stroke-secondary); box-shadow: 0 0 0 2px var(--surface-screen); color: var(--type-secondary); margin-inline-end: -10px; position: relative; font: 500 11px/1 var(--font); }
.ff-cl__t .aif-lg { max-width: 18px; max-height: 18px; }
.ff-cl__t:last-child { margin-inline-end: 0; }
.ff-cl--sm { width: 84px; }
.ff-cl--sm .ff-cl__t { width: 26px; height: 26px; margin-inline-end: -8px; }
.ff-cl--sm .ff-cl__t:last-child { margin-inline-end: 0; }
.ff-tbl--sm .ff-tr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ff-tbl--sm .ff-tbr { padding: 12px 16px; }
.ff-tbl--sm .ff-td--s b { font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-tbl--sm { margin-bottom: 0; }
.ff-wsr .ff-ws__v { font: 400 13px/18px var(--font); color: var(--type-secondary); }
.ff-ws { margin: 0 0 16px; }
.ff-appr > .ais-note { margin-top: 0; }
@media (max-width: 600px) {
  .ff-tbl { border: 0; box-shadow: none; background: transparent; }
  .ff-tbl > .dash-thead { display: none; }
  .ff-tbr { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12) !important; box-shadow: var(--shadow-card); margin-bottom: 12px; }
  .ff-tbr:last-child { border-bottom: 1px solid var(--stroke-tertiary); }
  .ff-auto { padding: 14px 16px; gap: 12px; }
  .ff-tbl--sm .ff-tbr { padding: 12px; }
}

/* item 9: dialog band, key-value list */
.ff-band { position: relative; height: 112px; margin: 0 0 16px; overflow: hidden; border-radius: var(--radius-12); background: linear-gradient(135deg, var(--brand-10), var(--surface-screen) 70%); border: 1px solid var(--brand-15); }
.ff-band .ffa { position: absolute; left: 50%; transform: translateX(-50%); top: -26px; width: 340px; height: auto; max-width: none; }
.ff-kv { margin: 0 0 16px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); }
.ff-kv .ivn-cf__r { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 10px 14px; }
.ff-kv .ivn-cf__r + .ivn-cf__r { border-top: 1px solid var(--stroke-tertiary); }
.ff-kv dt { font: 500 13px/20px var(--font); color: var(--type-secondary); margin: 0; }
.ff-kv dd { font: 400 14px/20px var(--font); color: var(--type-primary); margin: 0; }
.ff-cfdlg .ais-note { margin-top: 0; }

/* item 11: the sets modal */
.ais-modal .tpldialog.ff-sdlg { width: 880px; max-width: 100%; }
.ff-sdlg .ff-dh { margin: 0 0 4px; font: 500 18px/26px var(--font); color: var(--type-primary); }
.ff-sdlg .ff-dp { margin: 0 0 16px; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-dsteps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ff-ds { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
.ff-ds { justify-items: stretch; }
.ff-ds__a { aspect-ratio: 280 / 180; border-radius: var(--radius-12); background: var(--surface-overlay-1); overflow: hidden; }
.ff-ds__a .ffa { width: 100%; height: 100%; }
.ff-ds__c { margin: 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-ds__c b { font-weight: 500; color: var(--type-primary); }
@media (max-width: 700px) { .ff-dsteps { grid-template-columns: minmax(0, 1fr); gap: 20px; } .ff-ds__a { aspect-ratio: 280 / 180; border-radius: var(--radius-12); background: var(--surface-overlay-1); overflow: hidden; } }
.ffa-rot { transform-box: fill-box; transform-origin: center; animation: ff-spin 9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ffa-rot { animation: none; } }
.ff-sdlg .ais-note { margin: 0 0 12px; }
.ff-sdlg .ff-ready { margin: 0; }
.ff-sdlg .ff-ready__l { margin: 4px 0 0; }
.ff-sdlg .ff-band .ffa { top: -40px; }
@media (max-width: 600px) { .ff-sdlg .ff-ready__l .btn-text { min-height: 44px; } .ff-band { height: 96px; } .ff-band .ffa { width: 280px; top: -26px; } }

/* building and waiting: one centred card inside the rs-group */
.ff-sgrp { margin-bottom: 24px; }
.ff-ecard { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 24px; }
.ff-ecard .ff-emp__a { border-radius: 0; max-height: none; }
.ff-ecard .ffa--tile { width: 56px; height: 56px; }
.ff-ecard .ff-emp__h { margin: 8px 0 0; }
.ff-bart { position: relative; display: grid; place-items: center; width: 72px; height: 72px; }
.ff-bart > i { position: absolute; inset: 0; border-radius: var(--radius-full); border: 2px solid var(--brand-15); border-top-color: var(--brand-100); animation: ff-spin 1.1s linear infinite; }
.ff-bart .ffa--tile { width: 48px; height: 48px; }
.ff-ecard .ff-narr { justify-items: start; margin: 16px 0 0; text-align: left; }
.ff-ecard.is-out { opacity: 0; transition: opacity .2s ease; }
.ff-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 600px) { .ff-ecard { padding: 32px 16px; } }

/* item 12: set rows on the Phase 1 shortcode row */
.ff-sgrp, .ff-gg { overflow: visible; }
.ff-srow { border-bottom: 1px solid var(--stroke-tertiary); }
.ff-srow:last-child { border-bottom: 0; }
.ff-srow > .rs-sl { border-bottom: 0; }
.ff-sl .rs-sl__th.ff-th { width: 64px; height: 44px; border-radius: var(--radius-8); padding: 0; background: var(--neutral-25); }
.ff-th__c { display: flex; align-items: stretch; gap: 3px; width: 100%; height: 100%; padding: 6px; box-sizing: border-box; }
.ff-th__c > i { flex: 1 1 0; min-width: 0; display: grid; align-content: start; gap: 3px; padding: 3px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-2); }
.ff-th__c > i:not(.on) { background: transparent; border-style: dashed; }
.ff-th__c b, .ff-th__c u { display: block; height: 3px; border-radius: 2px; background: var(--neutral-200); }
.ff-th__c u { background: var(--neutral-100); width: 70%; }
.ff-th--slider > i { flex: 1; } .ff-th--slider { flex-wrap: wrap; position: relative; }
.ff-th--slider em { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; justify-content: center; gap: 3px; }
.ff-th--slider s { width: 4px; height: 4px; border-radius: 50%; background: var(--neutral-200); }
.ff-th--slider s:first-child { background: var(--brand-100); }
.ff-sl .rs-sl__m { gap: 8px; }
.ff-sl .rs-sl__m .ff-path { margin: 0; }
.ff-scode input { cursor: text; }
.ff-sl .ds-ctxwrap { flex: none; }
.ff-xp { flex: none; }
.ff-xp .fa { transform: rotate(180deg); transition: transform .22s ease; }
.ff-srow.is-open .ff-xp .fa { transform: none; }
.ff-pn { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.ff-srow.is-open .ff-pn { grid-template-rows: 1fr; }
.ff-pn__w { overflow: hidden; min-height: 0; }
.ff-pn.is-settled .ff-pn__w { overflow: visible; }
.ff-pn:not(:has(*:focus)) .ff-pn__w { visibility: hidden; }
.ff-srow.is-open .ff-pn__w { visibility: visible; }
.ff-tl { list-style: none; margin: 0; padding: 4px 16px 4px 96px; display: grid; }
.ff-ti { display: grid; grid-template-columns: 32px minmax(120px, 190px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--stroke-tertiary); }
.ff-ti:first-child { border-top: 0; }
.ff-av { width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--neutral-50); color: var(--type-secondary); display: grid; place-items: center; font: 500 12px/1 var(--font); }
.ff-ti__n { display: grid; min-width: 0; }
.ff-ti__n b { font: 500 14px/20px var(--font); color: var(--type-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ff-ti__n span { font: 400 12px/16px var(--font); color: var(--type-secondary); }
.ff-ti__q { font: 400 14px/20px var(--font); color: var(--type-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ff-ti--e { display: block; font: 400 13px/20px var(--font); color: var(--type-tertiary); }
.ff-pn__a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 8px 16px 16px 96px; }
.ff-gr .rs-sl__m { gap: 8px; }
.ff-gn { font: var(--btn-md); color: var(--type-primary); }
.ff-gg { margin-top: 24px; }
.ff-srow.ff-rv { animation: ff-rowin .28s var(--m-ease, ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes ff-rowin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .ff-sl .ff-scode input { max-width: none; min-width: 0; }
  .ff-tl, .ff-pn__a { padding-inline-start: 16px; }
  .ff-ti { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .ff-ti__q { grid-column: 2 / -1; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 600px) {
  .ff-sl .ds-kebab, .ff-sl .ff-xp { min-width: 44px; min-height: 44px; }
  .ff-sl .ff-scode { height: 40px; }
  .ff-sl .rs-copyic { width: 44px; min-width: 44px; }
  .ff-pn__a .btn-wpo, .ff-pn__a .btn-text { min-height: 44px; }
  .ff-gr { flex-wrap: wrap; } .ff-gr .btn-wpo { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ff-pn, .ff-xp .fa, .ff-srow.ff-rv, .ff-bart > i, .ff-ecard.is-out { animation: none; transition: none; } }
.ff-scode input { max-width: none; }
.rs-group__head .ff-cnt { font: inherit; color: var(--type-secondary); }

/* r7b: cluster hugs its content, logos sit inside the tile with room, bands fit the art */
.ff-cl { width: auto; }
.ff-td--s { gap: 12px; }
.ff-cl__t { margin-inline-end: -4px; overflow: visible; }
.ff-cl__t .aif-lg { max-width: 19px; max-height: 19px; flex: none; }
.ff-cl--sm { width: auto; }
.ff-cl--sm .ff-cl__t { margin-inline-end: -4px; }
.ff-cl--sm .ff-cl__t .aif-lg { max-width: 16px; max-height: 16px; }
.ff-band { height: 128px; }
.ff-band .ffa, .ff-sdlg .ff-band .ffa { left: auto; top: auto; transform: none; right: -18px; bottom: 10px; width: auto; height: 108px; }
@media (max-width: 600px) { .ff-band { height: 112px; } .ff-band .ffa, .ff-sdlg .ff-band .ffa { height: 94px; width: auto; } }
.ff-gr .rs-sl__main { gap: 2px; }
.ff-gr .rs-sl__nr { padding: 0; }
.ff-gr .rs-sl__m .ff-path { margin: 0; padding: 0; }
.ff-gn { display: block; }
.ff-band { height: 136px; }
.ff-band .ffa, .ff-sdlg .ff-band .ffa { left: 50%; right: auto; transform: translateX(-50%); bottom: auto; top: 10px; height: 116px; width: 170px; }
@media (max-width: 600px) { .ff-band { height: 116px; } .ff-band .ffa, .ff-sdlg .ff-band .ffa { height: 96px; width: 141px; top: 10px; } }
.ff-band, .ff-sdlg .tpl-body > *, .ff-cfdlg .tpl-body > * { flex-shrink: 0; }

/* ---------- r8 ---------- */
/* brand logos: a solid brand circle with a white mark (Leads integrations style). Google and Ovation are white with a hairline ring. */
.ffl { display: inline-grid; place-items: center; flex: none; box-sizing: border-box; border-radius: var(--radius-full); color: #fff; line-height: 0; overflow: hidden; }
.ffl svg, .ffl img { display: block; flex: none; }
.ffl .fa { line-height: 1; }
.ffl--ring { box-shadow: inset 0 0 0 1px var(--stroke-tertiary); }
.ffls { display: inline-flex; align-items: center; flex: none; }
.ffls:empty { display: none; }
/* r9 F10: 2px white ring, -8px overlap, first logo on top (z-index set in K.logoStack) */
.ffls { isolation: isolate; }
.ffls > * { position: relative; box-shadow: 0 0 0 2px #fff; }
.ffls > .ffl--ring { box-shadow: inset 0 0 0 1px var(--stroke-tertiary), 0 0 0 2px #fff; }
.ffls > * + * { margin-inline-start: -8px; }
.ffls > .ffls__m { z-index: 0; }
.ffls__m { display: inline-grid; place-items: center; box-sizing: border-box; border-radius: var(--radius-full); background: var(--neutral-50); color: var(--type-secondary); font: 500 12px/1 var(--font); }
.ff-td--s > .ffls { min-width: 68px; }
.ff-srcs .ais-row > .ffl { margin-inline-end: 4px; }
.ff-av { background: transparent; }

/* the finder, one screen */
main.rs > .view.rs-body.ff-fview { display: block; padding: 0 40px; --ais-px: 40px; min-width: 0; }
.ff-fview .fnx-shell { --ff-w: 1200px; }
.ff-fview .fnx-wrap { padding: 24px 0 40px; }
.ff-fview .rs-col { max-width: none; }
.ff-stat { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: -12px 0 24px; font: 400 14px/22px var(--font); color: var(--type-secondary); min-height: 22px; }
.ff-stat .lnk-wp { font: 500 14px/22px var(--font); padding: 0; }
.ff-stat .ff-spin { flex: none; }
.ff-fview .ff-notes { display: grid; gap: 12px; margin: 0 0 24px; }
.ff-two { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; transition: opacity .2s ease; }
.ff-fview.is-turning .ff-two { opacity: .6; pointer-events: none; }
/* r9 F1: the section nav is a white card and really sticks: top = WP admin bar 32 + Ovation top nav 60 + 24 */
.ff-snav { position: sticky; top: 116px; align-self: start; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); padding: 8px; box-shadow: var(--shadow-card); }
.ff-snav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ff-snav a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-8); font: 500 14px/20px var(--font); color: var(--type-secondary); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.ff-snav a:hover { background: var(--neutral-50); color: var(--type-primary); }
.ff-snav a.is-on { background: var(--brand-10); color: var(--brand-200); }
.ff-secs2 { display: grid; gap: 32px; min-width: 0; }
.ff-sec { background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); box-shadow: var(--shadow-card); padding: 24px; min-width: 0; scroll-margin-top: 116px; --secp: 24px; }
.ff-sec__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 24px; margin: 0 calc(-1 * var(--secp)); padding: 0 var(--secp) 20px; border-bottom: 1px solid var(--stroke-tertiary); }
.ff-sec__t { min-width: 0; }
.ff-sec__a { flex: none; }
.ff-cn { color: var(--type-secondary); }
.ff-lg-mail { background: var(--neutral-100); color: var(--type-secondary); }
.ff-stat:empty { display: none; }
.ff-sec__h h2 { margin: 0; font: 500 18px/28px var(--font); color: var(--type-primary); }
.ff-sec__h p { margin: 4px 0 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-sec__b { margin-top: 20px; display: grid; gap: 24px; min-width: 0; }
.ff-g2 { min-width: 0; }
.ff-gh2 { margin: 0 0 12px; font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-g2 .ff-tbl { margin-bottom: 0; }
.ff-sumn { font-weight: 400; color: var(--type-secondary); margin-inline-start: 4px; }
.ff-quiet { margin: 0; font: 400 13px/20px var(--font); color: var(--type-secondary); }
.ff-sec .ais-sets { background: transparent; border: 0; padding: 0; box-shadow: none; }
.ff-sec .ais-set { padding-block: 16px; }
.ff-sec .ais-set:first-child { padding-top: 0; }
.ff-sec .ais-set:last-child { padding-bottom: 0; }
.ff-sec .ais-set__c { flex-wrap: wrap; }
.ff-send { width: 280px; max-width: 100%; }
.ff-send .f { margin: 0; }
.ff-later { margin: 12px 0 0; }
/* main toggle */
/* r9 F3: toggle button. DS-GAP: the CSS DS has no .tog-btn; this is the React ToggleButton spec (md: 7px 12px, 4px radius, stroke-secondary border, checked = success border, hover overlay-1). */
/* footer */
@media (max-width: 900px) {
  .ff-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ff-snav { display: none; }
}
@media (max-width: 640px) {
  main.rs > .view.rs-body.ff-fview { padding-inline: 16px; --ais-px: 16px; }
  .ff-sec { padding: 16px; }
  .ff-secs2 { gap: 16px; }
  .ff-ubar .btn-wp, .ff-ubar .btn-wpo { min-height: 44px; }
  .ff-ubar .ais-foot__k { display: block; font-size: 13px; }
  .ff-ubar .ais-foot__in { flex-wrap: wrap; gap: 8px; }
  .ff-ubar .ais-foot__r { margin-inline-start: auto; }
  .ff-sec { --secp: 16px; }
  .ff-sec__h { flex-wrap: wrap; }
  .ff-sec__a { flex: 1 1 100%; }
  .ff-sec__a [data-fn=scan] { width: 100%; }
  .ff-sec .ais-row__s .btn-wpo { min-height: 44px; }
  .ff-send { width: 100%; }
  .ff-stat { margin-top: -8px; }
  .ff-stat .lnk-wp { min-height: 44px; display: inline-flex; align-items: center; }
  .rs-head__acts .ff-mt { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .ff-two, .ff-snav a { transition: none; } }
/* sets page: added pages wait in the list; the Phase 1 row shape is unchanged */
.ff-th--e { cursor: default; }
.ff-th--e .ff-th__c > i { background: transparent; border-style: dashed; }
@media (max-width: 640px) {
  .ff-sec .ais-set__c { width: 100%; }
  .ff-sec .ds-seg { display: flex; flex: 1 1 100%; }
  .ff-sec .ds-seg > label { flex: 1 1 0; }
  .ff-sec .ds-seg .seg-in { justify-content: center; min-height: 44px; }
  .ff-sec [data-fn=scan] { width: 100%; min-height: 44px; }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .ff-g2 .ff-tr { gap: 8px 12px; }
  .ff-g2 .ff-tbr { padding-inline: 14px; }
  .ff-g2 .ff-td--s { gap: 10px; }
  .ff-g2 .ff-td--s > .ffls { min-width: 0; }
  .ff-g2 .ds-select { max-width: 100%; }
  .ff-sec .ais-row { padding-inline: 12px; }
  .ff-sec .ais-row__s { flex: 0 1 auto; min-width: 0; }
  .ff-sec .ais-sets, .ff-sec .ais-set { min-width: 0; }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .ff-g2 .ff-tbl { border: 0; box-shadow: none; background: transparent; }
  .ff-g2 .ff-tbl > .dash-thead { display: none; }
  .ff-g2 .ff-tbr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; padding: 16px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12) !important; margin-bottom: 12px; }
  .ff-g2 .ff-tbr > :first-child { grid-column: 1 / -1; }
  .ff-g2 .ff-tbr:last-child { border-bottom: 1px solid var(--stroke-tertiary); margin-bottom: 0; }
  .ff-sec .ais-set__t { flex-basis: 180px; }
}

/* ---------- r9 S2: building scene ---------- */
.ff-bld { gap: 12px; padding-top: 32px; }
.ff-bs { position: relative; width: min(560px, 100%); height: 190px; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 8px; }
.ff-bs__p { position: relative; height: 150px; border-radius: var(--radius-12); background: var(--brand-10); border: 1px solid var(--brand-15); overflow: hidden; display: grid; place-items: center; }
.ff-bs__l { position: absolute; top: 10px; left: 12px; font: 500 12px/16px var(--font); color: var(--brand-300); }
.ff-bs__stack { position: relative; width: 72px; height: 60px; margin-top: 18px; }
.ff-bs__stack i { position: absolute; left: 0; right: 0; height: 42px; background: var(--surface-screen); border: 1px solid var(--brand-15); border-radius: var(--radius-8); box-shadow: var(--shadow-card); }
.ff-bs__stack i:nth-child(1) { top: 0; transform: translateX(-8px) rotate(-5deg); } .ff-bs__stack i:nth-child(2) { top: 8px; transform: rotate(2deg); } .ff-bs__stack i:nth-child(3) { top: 16px; transform: translateX(8px) rotate(-1deg); }
.ff-bs__beam { position: absolute; left: 0; bottom: 0; width: 34%; height: 3px; border-radius: var(--radius-full); background: var(--brand-100); animation: ff-beam 1.8s ease-in-out infinite; }
@keyframes ff-beam { 0% { transform: translateX(-100%); } 100% { transform: translateX(295%); } }
.ff-bs__fr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ff-bf { display: grid; gap: 8px; padding: 10px; background: var(--surface-screen); border: 1px dashed var(--brand-30); border-radius: var(--radius-12); min-width: 0; }
.ff-bf__n { font: 500 12px/16px var(--font); color: var(--type-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-bf__s { display: grid; gap: 6px; }
.ff-bf__s i { height: 26px; border-radius: var(--radius-4); background: var(--neutral-50); border: 1px solid var(--stroke-tertiary); transition: background-color .35s ease, border-color .35s ease, transform .35s ease; }
.ff-bf__s i.is-on { background: var(--brand-10); border-color: var(--brand-30); animation: ff-pop .35s var(--m-ease, ease); }
@keyframes ff-pop { 0% { transform: scale(.9); } 100% { transform: none; } }
.ff-bc { position: absolute; left: 38px; top: 50%; width: 72px; height: 28px; margin-top: -14px; display: grid; grid-template-columns: 14px 1fr; align-items: center; gap: 6px; padding: 0 8px; background: var(--surface-screen); border: 1px solid var(--brand-30); border-radius: var(--radius-8); box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; z-index: 2; }
.ff-bc b { width: 14px; height: 14px; border-radius: var(--radius-full); background: var(--brand-25); grid-row: 1 / 3; }
.ff-bc u { height: 4px; border-radius: 2px; background: var(--neutral-100); text-decoration: none; }
.ff-bc.is-show { opacity: 1; }
.ff-bc.is-fly { transform: translate(var(--dx), var(--dy)) scale(.45); opacity: .9; transition: transform .85s cubic-bezier(.5, 0, .2, 1), opacity .85s ease; }
.ff-bc.is-gone { opacity: 0 !important; transition: opacity .15s ease; }
.ff-pb { width: min(420px, 100%); display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ff-pbar { flex: 1; height: 8px; border-radius: var(--radius-full); background: var(--neutral-100); overflow: hidden; }
.ff-pbar i { display: block; height: 100%; width: 0; border-radius: var(--radius-full); background: var(--brand-100); transition: width .2s linear; }
.ff-pb__n { flex: none; min-width: 40px; text-align: right; font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-narr--b { max-height: none; margin: 12px 0 0; }
.ff-narr__l.is-wait { color: var(--type-tertiary); animation: none; }
.ff-narr__l.is-wait .ff-narr__i { border: 2px solid var(--neutral-100); box-sizing: border-box; }
.ff-narr__l.is-now .ff-narr__i { border: 2px solid var(--neutral-100); border-top-color: var(--brand-100); animation: ff-spin .9s linear infinite; box-sizing: border-box; }
.ff-narr__l.is-done .ff-narr__i { color: var(--type-success); }
.ff-bcount { margin: 4px 0 0; font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-eta { margin: 0; max-width: 460px; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-bback { margin-top: 8px; }
.ff-proto { margin-top: 12px; color: var(--type-secondary); }
@media (max-width: 600px) { .ff-bs { grid-template-columns: 92px minmax(0, 1fr); gap: 36px; height: 180px; } .ff-bs__p { height: 130px; } .ff-bs__stack { width: 52px; } .ff-bc { left: 20px; width: 56px; } .ff-bf { padding: 8px; } .ff-bback, .ff-proto { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ff-bs__beam, .ff-narr__l.is-now .ff-narr__i, .ff-bf__s i.is-on { animation: none; } .ff-bc, .ff-pbar i { transition: none; } }

/* main switch uses the DS toggle button (.ds-togbtn, 2026-11-18); keep the label width steady between On and Off, 44px at phone width */
.ds-togbtn .ff-mtl { min-width: 22px; text-align: left; }
@media (max-width: 640px) { .ds-togbtn[data-mt] { min-height: 44px; } }

/* Rijul 2026-11-18: 12px between the section nav card and the section cards */
.ff-two { gap: 12px; }

/* r9e: sets modal bottom block versions */
.ff-sm { margin: 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-sm--foot { margin-right: auto; font-size: 13px; line-height: 18px; }
.ff-smwrap { position: fixed; left: 16px; bottom: 16px; z-index: 1000; display: flex; align-items: center; gap: 8px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); padding: 4px 8px; }
.ff-smsw { display: inline-flex; align-items: center; gap: 4px; }
.ff-smsw__l { font: 400 12px/16px var(--font); color: var(--type-tertiary); margin-right: 4px; }
.ff-smsw .seg-in { height: 24px; padding: 0 8px; font-size: 12px; }

/* prototype-only version switcher: above the modal scrim */
.ff-smwrap { z-index: 2147483000; }

/* r9f: step number styles (?sn=1..3) */
.ff-dsteps { margin: 0; }
.ff-ds__e { display: block; margin-bottom: 2px; font: 500 12px/16px var(--font); letter-spacing: .02em; color: var(--brand-200); }
/* 1: soft corner numeral inside the panel */
.ff-dsteps--n1 .ff-ds__a { position: relative; }
.ff-dsteps--n1 .ff-step__n { position: absolute; z-index: 2; left: 12px; top: 12px; font: 500 40px/40px var(--font); color: var(--stroke-secondary); pointer-events: none; }
.ff-dsteps--n1 .ff-ds:first-child .ff-step__n { color: var(--brand-30); }
.ff-dsteps--n1 .ff-ds__a .ffa { position: relative; z-index: 3; }
/* 2: connected progress rail with chips on the panel edge */
.ff-dsteps--n2 { position: relative; }
.ff-dsteps--n2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--stroke-secondary); z-index: 1; }
.ff-dsteps--n2::after { content: ""; position: absolute; left: 0; top: 0; width: 22%; height: 1px; background: linear-gradient(90deg, var(--brand-200), transparent); z-index: 1; }
.ff-dsteps--n2 .ff-step__n { position: absolute; z-index: 3; left: 16px; top: -12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--surface-screen); border: 1px solid var(--stroke-secondary); box-shadow: var(--shadow-xs, 0 1px 2px rgba(16,24,40,.05)); font: 500 12px/16px var(--font); color: var(--type-primary); }
.ff-dsteps--n2 .ff-ds:not(:last-child)::after { content: ""; position: absolute; z-index: 3; right: -14px; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--stroke-primary, var(--type-tertiary)); border-right: 1px solid var(--stroke-primary, var(--type-tertiary)); transform: rotate(45deg); }
.ff-dsteps--n2 .ff-ds__a { margin-top: 0; }
/* 3: eyebrow in the caption, no number above the panel */
.ff-dsteps--n3 .ff-step__n { display: none; }
@media (max-width: 700px) {
  .ff-dsteps--n2::before, .ff-dsteps--n2::after { display: none; }
  .ff-dsteps--n2 .ff-ds:not(:last-child)::after { display: none; }
  .ff-dsteps--n2 .ff-step__n { top: -12px; }
  .ff-dsteps--n2 { gap: 28px; }
  .ff-dsteps--n2 .ff-ds__a { border-top: 1px solid var(--stroke-secondary); }
}

/* Rijul 2026-11-18: step visuals on brand orange 75; number-style switcher retired (style 3 picked) */
.ff-ds__a { background: var(--brand-75); }
.ff-smwrap { display: none !important; }
/* step 2 set frame on the orange panel: a light dashed frame so it reads */
.ff-ds__a .ffa-dash { fill: rgba(255,255,255,.22); stroke: #fff; stroke-width: 1.5; }

/* Rijul 2026-11-18: label, title, subtext; visual 15% narrower and 15% taller (280x180 -> 238x207) */
.ff-ds__a, .ff-ds__c { width: 85%; }
.ff-ds__a { aspect-ratio: 238 / 207; }
.ff-ds__c { display: grid; gap: 4px; }
.ff-ds__e { display: block; }
.ff-ds__t { display: block; font: 500 15px/22px var(--font); color: var(--type-primary); }
.ff-ds__s { display: block; font: 400 14px/20px var(--font); color: var(--type-secondary); }
@media (max-width: 700px) { .ff-ds__a, .ff-ds__c { width: 100%; } .ff-ds__a { aspect-ratio: 280 / 180; } }

/* r9g waiting: an endless bar, set frames shimmer while they wait */
.ff-pbar.is-ind { position: relative; overflow: hidden; }
.ff-pbar.is-ind i { position: absolute; top: 0; bottom: 0; width: 32%; animation: ff-ind 1.6s ease-in-out infinite; transition: none; }
@keyframes ff-ind { 0% { left: -32%; } 100% { left: 100%; } }
.ff-wait .ff-bf__s i { animation: ff-wpulse 1.8s ease-in-out infinite; }
.ff-wait .ff-bf__s i:nth-child(2) { animation-delay: .3s; } .ff-wait .ff-bf__s i:nth-child(3) { animation-delay: .6s; }
@keyframes ff-wpulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ff-pbar.is-ind i { animation: none; left: 0; width: 40%; } .ff-wait .ff-bf__s i { animation: none; } }

/* r9h: expanded-state options (?xs=1..5) */
.ff-px { padding: 4px 16px 16px 96px; min-width: 0; }
.ff-av--44 { width: 44px; height: 44px; flex: none; font-size: 14px; }
.ff-av--20 { width: 20px; height: 20px; font-size: 9px; }
.ff-st { display: inline-flex; gap: 2px; color: var(--brand-300); font-size: 12px; }
.ff-st .off { color: var(--neutral-100); }
.ff-sc .ffl { flex: none; }
/* 1: nested mini table */
.ff-nt { border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); overflow: hidden; background: var(--surface-screen); }
.ff-nt__h, .ff-nt__r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 170px) minmax(130px, 170px); gap: 16px; align-items: center; padding: 0 16px; }
.ff-nt__h { height: 36px; background: var(--surface-overlay-0); border-bottom: 1px solid var(--stroke-tertiary); font: 500 12px/16px var(--font); color: var(--type-secondary); }
.ff-nt__b { list-style: none; margin: 0; padding: 0; }
.dash-row.ff-nt__r { height: auto; min-height: 68px; padding-block: 12px; border-bottom: 1px solid var(--stroke-tertiary); gap: 16px; }
.dash-row.ff-nt__r::after { display: none; }
.ff-nt__t { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ff-nt__t .dash-quote { width: 100%; }
.ff-nt__s, .ff-nt__p { display: flex; align-items: center; }
.ff-nt__e { padding: 12px 16px; font: 400 13px/20px var(--font); color: var(--type-tertiary); border-bottom: 1px solid var(--stroke-tertiary); }
.ff-nt__f { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; }
/* 2: live preview */
.ff-x2 { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: start; }
.ff-pv { background: var(--surface-overlay-0); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); padding: 16px; }
.ff-pv__g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ff-pv__c { display: flex; flex-direction: column; gap: 8px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); padding: 16px; min-width: 0; }
.ff-pv__src { display: flex; align-items: center; justify-content: space-between; }
.ff-pv__q { margin: 0; font: 400 14px/20px var(--font); color: var(--type-primary); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.ff-pv__n { margin: 0; font: 500 13px/18px var(--font); color: var(--type-primary); }
.ff-x2__a { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.ff-x2__a .btn-text { justify-content: flex-start; }
/* 3: chips strip */
.ff-x3 { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 4px; }
.ff-x3__s { margin: 0; font: 400 13px/20px var(--font); color: var(--type-secondary); }
.ff-x3__c { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.ff-x3__a { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.ff-cp { position: relative; display: inline-flex; }
.ff-cp__b { cursor: default; gap: 6px; align-items: center; border: 0; }
.ff-cp__b:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 2px; }
.ff-cp__p { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 280px; max-width: calc(100vw - 48px); padding: 12px; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-8); box-shadow: 0 4px 16px rgba(0,0,0,.12); font: 400 13px/18px var(--font); color: var(--type-primary); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility 0s .15s; pointer-events: none; }
.ff-cp:hover .ff-cp__p, .ff-cp:focus-within .ff-cp__p { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* 4: two columns */
.ff-x4 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.ff-x4__h { margin: 0 0 4px; font: 500 12px/16px var(--font); color: var(--type-secondary); }
.ff-od-l { list-style: none; margin: 0; padding: 0; }
.ff-od { display: grid; grid-template-columns: 16px 16px 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--stroke-tertiary); }
.ff-od:first-child { border-top: 0; }
.ff-od__h { color: var(--type-tertiary); cursor: grab; }
.ff-od__n { font: 500 13px/16px var(--font); color: var(--type-secondary); }
.ff-od__t { display: grid; min-width: 0; }
.ff-od__t b { font: 500 14px/20px var(--font); color: var(--type-primary); }
.ff-od__t span { font: 400 13px/18px var(--font); color: var(--type-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ff-x4__r { display: grid; gap: 16px; padding: 16px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); background: var(--surface-screen); justify-items: start; }
.ff-dl { margin: 0; display: grid; gap: 12px; width: 100%; }
.ff-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.ff-dl dt { font: 400 13px/18px var(--font); color: var(--type-secondary); }
.ff-dl dd { margin: 0; font: 400 14px/20px var(--font); color: var(--type-primary); min-width: 0; }
.ff-dl .ff-scode input { min-width: 0; }
/* 5: card stack */
.ff-x5 { display: grid; gap: 12px; }
.ff-x5__i { margin: 0; font: 400 14px/20px var(--font); color: var(--type-secondary); }
.ff-x5__g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ff-cd { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); min-width: 0; }
.ff-cd__q { margin: 0; flex: 1; font: 400 14px/20px var(--font); color: var(--type-primary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ff-cd__n { margin: 0; font: 500 13px/18px var(--font); color: var(--type-secondary); }
.ff-cd--e { align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--stroke-primary); background: transparent; min-height: 120px; }
.ff-cd--e b { font: 500 14px/20px var(--font); color: var(--type-secondary); }
.ff-x5__a { display: flex; gap: 12px; }
/* switcher */
.ff-xsw { position: fixed; left: 16px; bottom: 16px; z-index: 2147483000; display: flex; align-items: center; gap: 8px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); padding: 4px 8px; }
.ff-xsw[hidden] { display: none; }
.ff-xsw__l { font: 400 12px/16px var(--font); color: var(--type-tertiary); }
.ff-xsw .seg-in { height: 24px; padding: 0 10px; font-size: 12px; }
@media (max-width: 900px) {
  .ff-x2, .ff-x4 { grid-template-columns: minmax(0, 1fr); }
  .ff-x2__a { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .ff-px { padding-inline-start: 16px; }
  .ff-nt__h { display: none; }
  .dash-row.ff-nt__r { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .ff-nt__t { grid-column: 1 / -1; }
  .ff-nt__s { grid-column: 1; } .ff-nt__p { grid-column: 2; }
  .ff-pv__g, .ff-x5__g { grid-template-columns: minmax(0, 1fr); }
  .ff-x3__a { margin-inline-start: 0; width: 100%; }
}
@media (max-width: 600px) { .ff-px .btn-wpo, .ff-px .btn-text { min-height: 44px; } .ff-xp.icon-only { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ff-cp__p, .ff-xp .fa { transition: none; } }
.ff-px .ff-av { background: var(--neutral-50); }
.ff-px .ff-av--20 { background: var(--neutral-100); }
.ff-od__h { width: 10px; height: 16px; background: radial-gradient(circle, var(--neutral-300) 1.5px, transparent 1.6px) 0 0 / 5px 5px; justify-self: center; }

/* r9i (Rijul 2026-11-18): option 5 cards inside a full-width light container (option 2 look); no left indent */
.ff-px[data-xs="5"] { padding: 4px 16px 16px 16px; }
.ff-x5 { background: var(--surface-overlay-0); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); padding: 16px; gap: 12px; }
.ff-x5__g > li { background: var(--surface-screen); }
.ff-xp-dock { display: none; }
/* option picked: the prototype switcher is retired */
.ff-xsw, [data-proto]:has(.ff-xsw__l) { display: none !important; }

/* Rijul 2026-11-18: step visuals back on light orange; step 2 frame goes back to the orange dashed frame */
.ff-ds__a { background: var(--brand-10); }
.ff-ds__a .ffa-dash { fill: var(--brand-15); stroke: var(--brand-30); stroke-width: 1.5; }

/* r9j: the sets list is a table like the Testimonials library (dash-card, dash-thead), four columns */
.ff-sgrp .rs-group__head { border-bottom: 0; }
.ff-tbl { --ff-cols: minmax(240px, 1.3fr) minmax(220px, 1fr) minmax(150px, 190px) 76px; }
.ff-tbl .dash-thead { gap: 24px; display: grid; grid-template-columns: var(--ff-cols); padding-inline: 20px; }
.ff-tbl .dash-th { flex: none; min-width: 0; }
.ff-sgrp .ff-sl { display: grid; grid-template-columns: var(--ff-cols); gap: 24px; align-items: center; padding: 14px 20px; }
.ff-tbl .ff-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ff-tbl .ff-c--set .rs-sl__main { flex: 1; min-width: 0; }
.ff-tbl .ff-c--act { justify-content: flex-end; gap: 4px; }
.ff-tbl .ff-c--code .ff-scode { max-width: 100%; }
.ff-tbl .ff-c--code .ff-scode input { min-width: 0; text-overflow: ellipsis; }
.ff-tbl .ff-c--st .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* row actions: one 32px square (44 at 600 and below), glyph centred on the box, same rounded square for hover, active and focus */
.ff-tbl .ff-c--act .ds-kebab, .ff-tbl .ff-c--act .ff-xp.icon-only { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; margin: 0; border: 0; border-radius: var(--radius-4); background: transparent; color: var(--type-secondary); line-height: 1; font-size: 16px; }
.ff-tbl .ff-c--act .ds-kebab .fa, .ff-tbl .ff-c--act .ff-xp .fa { display: block; width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 16px; }
.ff-tbl .ff-c--act .ds-kebab:hover, .ff-tbl .ff-c--act .ds-kebab[aria-expanded=true], .ff-tbl .ff-c--act .ff-xp:hover { background: var(--surface-overlay-1); color: var(--type-primary); }
.ff-tbl .ff-c--act .ds-kebab:focus-visible, .ff-tbl .ff-c--act .ff-xp:focus-visible { border-radius: var(--radius-4); }
.ff-tbl .ff-c--act .ff-xp .fa { transition: transform .22s ease; }
@media (max-width: 700px) {
  .ff-tbl .dash-thead { display: none; }
  .ff-sgrp .ff-sl { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px 16px; }
  .ff-tbl .ff-c--set { grid-column: 1; grid-row: 1; }
  .ff-tbl .ff-c--act { grid-column: 2; grid-row: 1; }
  .ff-tbl .ff-c--st { grid-column: 1 / -1; grid-row: 2; }
  .ff-tbl .ff-c--code { grid-column: 1 / -1; grid-row: 3; }
  .ff-tbl .ff-c--code:empty { display: none; }
  .ff-tbl .ff-c--code .ff-scode { width: 100%; }
  .ff-tbl .ff-c--code .ff-scode input { flex: 1; width: auto; }
}
@media (max-width: 600px) {
  .ff-tbl .ff-c--act .ds-kebab, .ff-tbl .ff-c--act .ff-xp.icon-only { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}

/* r9j: Edit set modal (fm fm--std, lg): sections with headings, two-column rows, sticky footer */
.tpldialog.ff-esd { width: 720px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); padding: 0; gap: 0; }
.ff-esd .tpl-head { padding: 24px 32px 16px; flex: none; }
.ff-esd .tpl-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 32px 24px; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.ff-esd .tpl-foot { flex: none; padding: 16px 32px; border-top: 1px solid var(--stroke-tertiary); background: var(--surface-screen); justify-content: flex-end; gap: 12px; }
#ff-esb { display: flex; flex-direction: column; gap: 28px; }
.ff-esd__s { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ff-esd__hd { display: flex; flex-direction: column; gap: 4px; }
.ff-esd__hd .ff-help { margin: 0; }
.ff-esd__h { margin: 0; font: var(--heading-sm); color: var(--type-primary); }
.ff-esd__r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ff-esd__r2 > .f { min-width: 0; }
.ff-esd__l, .ff-esd__pl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ff-esd__i, .ff-esd__pi { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); background: var(--surface-screen); min-width: 0; }
.ff-esd__pi { background: var(--surface-overlay-0); }
.ff-esd__g { flex: none; display: grid; place-items: center; width: 16px; color: var(--stroke-primary); }
.ff-esd__mv { flex: none; display: flex; flex-direction: column; gap: 2px; }
.ff-esd__mv .ais-iconbtn { width: 24px; height: 24px; }
.ff-esd__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ff-esd__n { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font: var(--btn-md); color: var(--type-primary); }
.ff-esd__q { font: var(--body-md); color: var(--type-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ff-esd__x { flex: none; }
.ff-esd__add { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ff-esd__add .ff-help { margin: 0; }
.ff-esd__pk { display: flex; flex-direction: column; gap: 8px; animation: ff-rowin .22s var(--m-ease, ease) both; }
.ff-esd__pk > .ff-help { margin: 0; }
@media (max-width: 600px) {
  .tpldialog.ff-esd { width: 100%; max-width: none; max-height: calc(100vh - 16px); }
  .ff-esd .tpl-head { padding: 20px 16px 12px; } .ff-esd .tpl-body { padding: 4px 16px 20px; } .ff-esd .tpl-foot { padding: 12px 16px; flex-wrap: wrap; }
  .ff-esd .tpl-foot > * { flex: 1 1 100%; min-height: 44px; }
  .ff-esd__r2 { grid-template-columns: 1fr; gap: 16px; }
  .ff-esd__i, .ff-esd__pi { flex-wrap: wrap; }
  .ff-esd__t { flex: 1 1 100%; order: 3; } .ff-esd__x { order: 2; margin-inline-start: auto; }
  .ff-esd__mv .ais-iconbtn { width: 44px; height: 44px; } .ff-esd__mv { flex-direction: row; }
  .ff-esd__x, .ff-esd__pi .btn-wpo, .ff-esd__add .btn-wpo { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .ff-esd__pk { animation: none; } }
/* r9j: the group is a caption over the table card, no second border */
.ff-sgrp { background: none; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
.ff-sgrp .rs-group__head { padding-inline: 0; min-height: 32px; }
.ff-tbl { border: 1px solid var(--stroke-tertiary); overflow: hidden; box-shadow: none; }
.ff-tbl .dash-thead { border-top: 0; border-radius: 0; }
.ff-tbl .ff-srow:last-child { border-bottom: 0; }
.rs-light .ff-sgrp, .ff-sgrp.rs-group { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.tpldialog.ff-esd { border-radius: var(--radius-12); overflow: hidden; }
.ff-esd .ff-av { background: var(--neutral-50); }
.ff-esd__g .fa { font-size: 14px; }
/* r9j optical centring: the Font Awesome glyphs sit about 2px left of their box; the caret also sits low */
.ff-tbl .ff-c--act .ds-kebab, .ff-tbl .ff-c--act .ff-xp.icon-only { padding-inline-start: 4px; }
.ff-tbl .ff-c--act .ff-xp .fa { position: relative; top: -1px; }
/* ===== 2026-11-18 connect flow: the real steps, shown as a demo (ff-core.js cx*) ===== */
.tpldialog.ff-cx { width: 560px; max-width: calc(100vw - 32px); }
.ff-cx .tpl-body { display: flex; flex-direction: column; gap: 16px; }
.ff-cx .tpl-body > .mo__p, .ff-cx .ds-note { margin: 0; }
.ff-cx .tpl-foot { gap: 12px; }
.ff-cx__dev { margin-right: auto; }
.ff-cx__st { margin: 0; font: var(--body-sm-medium, 500 14px/1.4 Rubik); color: var(--type-secondary); }
.ff-cx__nx { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); background: var(--surface-overlay-0); }
.ff-cx__h { margin: 0; font: var(--body-md-medium, 500 16px/1.4 Rubik); color: var(--type-primary); }
.ff-cx__ol { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; color: var(--type-secondary); font-size: 14px; line-height: 1.5; }
.ff-cx__ol b, .ff-cx__at b, .ff-cx__dl b { font-weight: 500; color: var(--type-primary); }
/* the provider popup, drawn as a small window */
.ff-cx__pv { border: 1px solid var(--stroke-secondary); border-radius: var(--radius-12); overflow: hidden; background: var(--surface-screen); box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.ff-cx__pvh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--neutral-50, #f3f4f6); border-bottom: 1px solid var(--stroke-tertiary); }
.ff-cx__pvu { font-size: 12px; color: var(--type-secondary); display: inline-flex; align-items: center; gap: 6px; }
.ff-cx__pvb { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.ff-cx__pt { margin: 0; font: var(--heading-sm); color: var(--type-primary); }
.ff-cx__ps { margin: 0; font-size: 14px; color: var(--type-secondary); }
.ff-cx__al, .ff-cx__pl, .ff-cx__dl { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ff-cx__acc, .ff-cx__ro { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8); background: var(--surface-screen); text-align: left; cursor: pointer; font: inherit; color: inherit; transition: background .15s, border-color .15s; }
.ff-cx__acc:hover, .ff-cx__ro:hover { background: var(--brand-10); border-color: var(--brand-30, var(--brand-100)); }
.ff-cx__acc:focus-visible, .ff-cx__ro:focus-within { outline: 2px solid var(--brand-100); outline-offset: 2px; }
.ff-cx__ro.is-on { border-color: var(--brand-100); background: var(--brand-10); }
.ff-cx__av { flex: none; width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--brand-100); color: #fff; font-size: 12px; font-weight: 500; }
.ff-cx__av.is-o { background: var(--neutral-100); color: var(--type-secondary); }
.ff-cx__at { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.ff-cx__at > span { color: var(--type-secondary); font-size: 13px; }
.ff-cx__pl li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--type-primary); }
.ff-cx__pl li i { color: var(--success-100, #1a7f37); }
.ff-cx__pa { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ff-cx__rl { display: flex; flex-direction: column; gap: 8px; }
.ff-cx__fm { display: flex; flex-direction: column; gap: 16px; }
.ff-cx__tg { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.ff-cx__bz { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.ff-cx__bz .ff-pbar { flex: none; }
/* dev note */
.ff-cx--dev .tpl-body { max-height: calc(100vh - 220px); overflow-y: auto; gap: 24px; }
.ff-cx__dn { display: flex; flex-direction: column; gap: 24px; }
.ff-cx__dn section { display: flex; flex-direction: column; gap: 8px; }
.ff-cx__dn .ff-help { margin: 0; }
.ff-cx__dl { margin: 0; padding-left: 18px; list-style: disc; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--type-secondary); }
@media (max-width: 600px) { .ff-cx .tpl-foot { flex-wrap: wrap; } .ff-cx__dev { width: 100%; justify-content: flex-start; } }
.ff-cx__demo { margin: 0; }
/* 2026-11-18 Rijul: 16px between the step cards; the visual fills its column (the 85% width left a ~60px visual gap) */
.ff-dsteps { gap: 16px; }
.ff-ds__a, .ff-ds__c { width: 100%; }
/* 2026-11-18 Rijul: building and waiting sit inside the sets table card (header row on top), as before r9j */
.ff-tbl--st .ff-ecard { padding: 40px 24px 48px; }
@media (max-width: 600px) { .ff-tbl--st .ff-ecard { padding: 32px 16px; } }
