/* Ovation reskin: today's product (v7.0.3) on the new DS. Layout only: every look comes from ../04-onboarding/ds. Rules tagged DS-GAP have no DS component yet. */
/* Ovation reskin, batch 1 (Testimonials). Layout only: every look comes from ../04-onboarding/ds. Rules tagged DS-GAP have no DS component yet. */
html { font-synthesis-weight: none; }
[hidden] { display: none !important; }
body.nuf { margin: 0; position: relative; min-height: 100vh; background: var(--surface-overlay-2); color: var(--type-primary); font: var(--body-md); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.nuf *, body.nuf *::before, body.nuf *::after { box-sizing: border-box; }
:where(.rs, .rs-drawer, .tplmodal) :where(h1, h2, h3, p, dl, dd) { margin: 0; }

/* WP chrome (same as settings-v1 and nuf-v3: fixed like wp-admin) */
.nuf-wp-bar, .nuf-wp-side { position: fixed; background: #1E1E1E; /* DS-GAP: figma #1E1E1E */ font-family: Helvetica, Arial, sans-serif; }
.nuf-wp-bar { left: 0; top: 0; width: 100%; height: 32px; z-index: 50; }
.nuf-wp-side { left: 0; top: 0; bottom: 0; width: 160px; z-index: 40; }
.nuf-wp-active { position: absolute; left: 0; top: 226px; width: 160px; height: 34px; background: var(--button-primary); }
.nuf-wp-ico { position: absolute; display: block; max-width: none; }
.nuf-wp-lbl { position: absolute; font-size: 14px; line-height: 21px; color: var(--neutral-white); white-space: nowrap; }
.nuf-wp-lbl--on { font-weight: 500; }
main.rs { margin: 32px 0 0 160px; max-width: 1280px; min-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--surface-overlay-2); }
.rs-nav { width: 100%; }
.rs-body { padding: 32px 40px 96px; flex: 1; min-width: 0; }

/* DS-GAP: DS has no b/strong cap, reported to DS Agent */


/* Header */
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rs-h1 { font: var(--heading-xl); color: var(--type-primary); }
.rs-sub { font: var(--body-md); color: var(--type-secondary); margin-top: 4px; }
.rs-head__acts { display: flex; gap: 12px; }
.rs-head__acts .fa, .rs-sheetbar .fa, .rs-create .fa, .rs-addtag .fa { margin-inline-end: 4px; }

.rs-search { position: relative; display: block; width: 190px; }
.rs-search .fa { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--type-tertiary); pointer-events: none; font-size: 14px; }
.rs-search .inp { padding-left: 36px; }
/* Popover over the DS filter-panel shell, and context menu placement */
.rs-pop { position: fixed; top: 0; left: 0; z-index: 1100; max-height: min(460px, 80vh); overflow-y: auto; }
.rs-ctx { position: fixed; z-index: 1100; }
.rs-pop__h { font: var(--heading-xs); color: var(--type-primary); margin: 8px 0 4px; display: flex; gap: 6px; align-items: baseline; }
.rs-pop__h:first-child { margin-top: 0; }
.rs-pop__h span { font: var(--body-sm); color: var(--type-tertiary); }
.rs-pop__q { margin-bottom: 8px; }
.rs-pop__list { max-height: 220px; overflow-y: auto; }
.rs-pop__foot { margin-top: 12px; }
.ds-filter-opts label { justify-content: flex-start; }
.ds-filter-opts label .optlbl { flex: 1; min-width: 0; }
.rs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.rs-f { display: flex; flex-direction: column; min-width: 0; }
.rs-f > .ds-select { width: 100%; }
.rcpfield { position: relative; }
.rcpfield .rcpchip .fa { font-size: 10px; }

.tpldialog .tpl-body p { margin: 0; font: var(--body-md); color: var(--type-secondary); }
.tpldialog .tpl-body .field-label { margin-bottom: 4px; }

/* DS-GAP: .rcpchip .x is a button; reset the browser chrome */
.rcpchip .x { padding: 0; border: 0; background: none; color: inherit; font: inherit; }

/* Batch 3: Display */
.rs-body--flush { padding: 0; }
.rs-ed { display: flex; flex-direction: column; min-height: calc(100vh - 124px); } /* DS-GAP: Architect editor mock */
.rs-ed__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.rs-ed__card { display: flex; flex-direction: column; gap: 8px; }
.rs-ed__card > div { display: flex; flex-direction: column; }
.rs-ed__card h3 { font: var(--heading-sm); } .rs-ed__card p { font: var(--body-md); color: var(--type-secondary); }
.rs-tpl { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: var(--body-sm); color: var(--type-secondary); }
.rs-tpl__thumb { display: grid; gap: 6px; height: 120px; padding: 12px; background: var(--surface-overlay-0); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-md); color: var(--brand-100); overflow: hidden; align-content: start; }
.rs-tpl__thumb i { display: block; border-radius: var(--radius-2); background: var(--stroke-secondary); min-height: 6px; }
.rs-tpl__thumb i.b { background: var(--stroke-tertiary); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-sm); }
.rs-tpl__thumb i.a { border-radius: var(--radius-full); width: 18px; height: 18px; background: var(--stroke-primary); opacity: 1; }
.rs-tpl__thumb i.s { width: 60%; }
.rs-tpl__thumb i.c { justify-self: center; }
.rs-tpl__thumb i.sq { background: var(--stroke-secondary); border-radius: var(--radius-sm); height: 100%; min-height: 0; }
.tw-list { grid-auto-rows: min-content; } .tw-list .row { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; }
.tw-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; } .tw-grid > i.b { height: auto; }
.tw-cols2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
.tw-car { grid-template-columns: 10px 1fr 10px; align-items: center; } .tw-car > i.b { height: 76px; } .tw-car > i.d { height: 10px; background: var(--stroke-secondary); border-radius: var(--radius-full); }
.tw-mas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: start; } .tw-mas > div { display: grid; gap: 6px; } .tw-mas i.b { height: 28px; } .tw-mas i.b.t { height: 44px; } .tw-mas i.b.m { height: 36px; }
.tw-cen { justify-items: center; text-align: center; } .tw-cen i { width: 80%; } .tw-cen i.a { width: 22px; height: 22px; }
.tw-img { grid-template-columns: 34px 1fr; gap: 10px; align-items: start; } .tw-img > div { display: grid; gap: 6px; } .tw-imgr { grid-template-columns: 1fr 34px; } .tw-img i.sq { height: 34px; border-radius: var(--radius-sm); }
.tw-bg { background: var(--surface-overlay-1); } .tw-bg i { background: var(--stroke-primary); }
.tw-txt i { height: 5px; }
.rs-tpl__thumb .tw-q { color: var(--brand-100); font-size: 14px; }
.rs-tpl:hover .rs-tpl__thumb, .rs-tpl.on .rs-tpl__thumb { border-color: var(--brand-100); }
/* ===== Header with title, tutorial icon and Add new */
.rs-title { display: flex; align-items: center; gap: 8px; }
.rs-title .btn-text .fa { font-size: 20px; width: 20px; height: 20px; }

/* ===== Library card, toolbar and rows. DS-GAP: table shell, toolbar, rows (nuf-v3 D-G6, D-G15) */
.rs-card { background: var(--surface-screen); border-radius: var(--radius-12); overflow: hidden; }
.rs-tb { display: grid; grid-template-columns: minmax(150px, auto) repeat(5, minmax(0, 1fr)); gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--stroke-tertiary); }
.rs-tb > .ds-select, .rs-tb .ds-filter, .rs-tb .ds-filter-btn { width: 100%; }
.rs-tb .ds-filter-btn { justify-content: space-between; }
.rs-row { position: relative; display: grid; grid-template-columns: 16px minmax(150px, 210px) minmax(0, 1fr) minmax(130px, 200px) minmax(150px, 190px) 104px; column-gap: 20px; align-items: start; padding: 16px 20px; border-bottom: 1px solid var(--stroke-tertiary); }
.rs-row.no-tags { grid-template-columns: 16px minmax(150px, 210px) minmax(0, 1fr) minmax(150px, 190px) 104px; }
.rs-row.is-sel { background: var(--brand-10); }
.rs-row > .ds-check { margin-top: 2px; }
.rs-av { width: 56px; height: 56px; flex: none; border-radius: var(--radius-full); display: block; object-fit: cover; }
.rs-av.lg { width: 80px; height: 80px; }
.rs-av.xl { width: 150px; height: 150px; }
.rs-stat { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 10px; cursor: pointer; font: var(--btn-sm); }
.rs-stat:hover { filter: brightness(.97); }
.rs-stat:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
.rs-stat .fa { font-size: 12px; }
.rs-pad { padding: 20px; }

/* Tag popover */
.rs-pop .rs-pop__h { margin-top: 0; }

/* ===== Edit and add testimonial */
.rs-log { list-style: none; margin: 0 0 16px; padding: 0; position: relative; }
.rs-log li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--stroke-tertiary); }
.rs-log li:first-child { border-top: 0; }
.rs-log b { display: block; font: var(--btn-md); color: var(--type-primary); }
.rs-log span { font: var(--body-md); color: var(--type-secondary); }
.rs-log .lnk-wp { display: inline; }
.rs-log__more { justify-content: center; }
.rs-log__menu { position: absolute; top: 8px; right: 12px; }
.rs-form { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px; }
.rs-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rs-fields { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rs-f { display: flex; flex-direction: column; min-width: 0; }
.rs-f .inp { width: 100%; }
.rs-h3 { font: var(--heading-xs); color: var(--type-primary); margin-bottom: 8px; }
.rs-rte { border: 1px solid var(--stroke-secondary); border-radius: var(--radius-sm); background: var(--surface-screen); overflow: hidden; } /* DS-GAP: rich text editor (WordPress TinyMCE) */
.rs-rte__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 8px; background: var(--surface-overlay-0); border-bottom: 1px solid var(--stroke-tertiary); }
.rs-rte__bar .ds-select { width: 124px; margin-inline-end: 8px; }
.rs-rte__bar .btn-text { min-width: 32px; justify-content: center; }
.rs-rte__bar .sep { width: 1px; height: 20px; background: var(--stroke-tertiary); margin-inline: 4px; }
.rs-rte__body { min-height: 140px; padding: 14px 16px; font: var(--body-lg); color: var(--type-primary); outline: none; }
.rs-rte__body:focus-visible { outline: 4px solid var(--stroke-tertiary); outline-offset: -4px; }
.rs-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.rcpfield .rcpchip .fa { font-size: 10px; }

/* ===== Shortcode lists. DS-GAP: add tile (dashed) */
.rs-sc { display: flex; flex-direction: column; min-width: 0; }
.rs-sc__thumb { display: flex; align-items: center; justify-content: center; gap: 8px; height: 112px; border: 0; border-radius: var(--radius-12) var(--radius-12) 0 0; background: var(--surface-overlay-0); color: var(--type-tertiary); font: var(--btn-sm); cursor: pointer; width: 100%; }
.rs-sc__thumb:hover { color: var(--brand-300); }
.rs-sc__thumb:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: -2px; }
.rs-lede { font: var(--body-md); color: var(--type-secondary); margin: 0 0 16px; }

/* ===== Social import */
.rs-imp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; max-width: 720px; }

/* ===== WP Comments mock. DS-GAP: WordPress core screen, not part of Ovation */
.rs-wp-h { font: var(--heading-xl); color: var(--type-primary); margin-bottom: 12px; }
.rs-note { font: var(--body-sm); color: var(--type-tertiary); }
.rs-cmodal { display: flex; flex-direction: column; gap: 20px; } .rs-cmodal > .rs-photo { align-self: flex-start; }
.fm .rs-cmodal .rs-fields { gap: 16px; } .fm .rs-cmodal .rcpfield { min-height: 36px; padding-block: 3px; }

/* ===== Architect mock editor. DS-GAP: Architect editor chrome */
.rs-ed-wrap { flex: 1; min-width: 0; }
.rs-ed { display: flex; flex-direction: column; min-height: calc(100vh - 92px); }
.rs-ed__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.rs-ed__card { display: flex; flex-direction: column; gap: 8px; }
.rs-ed__card h3 { font: var(--heading-sm); margin: 0; } .rs-ed__card p { font: var(--body-md); color: var(--type-secondary); margin: 0; }
.rs-ed__card .who { display: flex; align-items: center; gap: 12px; }
.rs-ed__card .who b { font: var(--heading-sm); display: block; } .rs-ed__card .who span { font: var(--body-sm); color: var(--brand-300); }
.rs-form-cap { max-width: 560px; display: flex; flex-direction: column; gap: 12px; margin: 0 auto; }

/* ===== Responsive */
@media (max-width: 1359px) {
  .rs-body { padding-inline: 24px; }
}
@media (max-width: 959px) {
  .nuf-wp-side { width: 36px; } .nuf-wp-side .nuf-wp-lbl { display: none; } .nuf-wp-active { width: 36px; }
  main.rs { margin-left: 36px; }
  .rs-grid2, .rs-form, .rs-cmodal, .rs-choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
body.wp-comments .nuf-wp-active { top: 190px; height: 34px; }
/* Architect screens are a separate WordPress editor: no Ovation nav, no WP chrome */
body.in-architect .nuf-wp-bar, body.in-architect .nuf-wp-side, body.in-architect .rs-nav { display: none; }
body.in-architect main.rs { margin: 0; max-width: none; }

.rs-dlg-title { font: var(--heading-sm); color: var(--type-primary); margin: 0; }
.rs-dlg-title .ds-select { font: var(--heading-sm); }

.rs-tb .ds-select, .rs-dord .ds-select, .rs-ed__side .ds-select { min-width: 0; width: 100%; }
.rs-tb .ds-filter-btn { min-width: 0; }
.ds-ctxitem .fa { margin-inline-end: 6px; }
body.wp-comments .rs-nav { display: none; }
body.wp-comments main.rs { margin-top: 32px; }
.rs-ed__card .who { flex-direction: row; align-items: center; }
.rs-ed__card .who > div { display: flex; flex-direction: column; }

/* Toolbar: Select all left, one group of five DS filter dropdowns right; wraps, never overflows */
.rs-tb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
/* Rows: one structure at every width. Columns shrink and text wraps inside them */
.rs-row { grid-template-columns: 16px minmax(0, 190px) minmax(0, 1fr) minmax(0, 190px) minmax(0, 150px) 88px; }
.rs-row.no-tags { grid-template-columns: 16px minmax(0, 190px) minmax(0, 1fr) minmax(0, 150px) 88px; }
@media (max-width: 1359px) {
  .rs-row { grid-template-columns: 16px minmax(0, 150px) minmax(0, 1fr) minmax(0, 120px) minmax(0, 148px) 80px; column-gap: 14px; }
  .rs-row.no-tags { grid-template-columns: 16px minmax(0, 150px) minmax(0, 1fr) minmax(0, 148px) 80px; }
  .rs-stat { padding-inline: 8px 6px; }
}
.rs-stat { white-space: nowrap; }
.rs-row:hover:not(.is-sel) { background: var(--surface-overlay-0); }
body.in-architect .rs-ed { min-height: 100vh; }

/* ===================== fix round ===================== */

.lnk-wp.rs-tut { gap: 6px; }
.rs-head { align-items: center; }
.rs-lede .lnk-wp, p .lnk-wp { font: inherit; padding: 0; display: inline; }
.rs-lede .lnk-wp:hover, p .lnk-wp:hover { background: none; text-decoration: underline; }
.rs-del.btn-text:hover, .rs-del.btn-text:focus-visible { color: var(--action-error); }
.rs-del.btn-text:hover { background: var(--red-10); }
.ds-check[data-mixed] { border-color: var(--brand-200); background: var(--brand-200); } /* DS-GAP: mixed checkbox */
.ds-check[data-mixed]::after { content: ''; width: 8px; height: 2px; border-radius: var(--radius-2); background: var(--neutral-white); clip-path: none; }
.tagchip .remove .fa, .rcpchip .x .fa { font-size: 10px; }
.rcpchip .x { padding: 0; border: 0; background: none; color: inherit; font: inherit; display: inline-grid; place-items: center; width: 16px; height: 16px; cursor: pointer; }
/* tag popovers */
.rs-pop__q { display: block; margin-bottom: 8px; }
.rs-pop__list { max-height: 220px; overflow-y: auto; position: relative; }
.rs-pop__foot { margin-top: 12px; }
.ds-filter-section .rs-pop__list { max-height: 200px; }
.ds-filter-opts label[hidden] { display: none; }
.rs-keys { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font: var(--body-md); color: var(--type-secondary); }
.rs-keys dd { margin: 0; color: var(--type-primary); } .rs-keys dt { margin: 0; }
/* rows */
.rs-row { transition: background-color var(--mo-fast, 150ms) ease, height 250ms ease, opacity 200ms ease, padding 250ms ease; }
.rs-row.is-gone { opacity: 0; padding-block: 0; border-bottom-width: 0; }
/* edit page */
.rs-log li { grid-template-columns: 40px minmax(0, 1fr) auto; }
.rs-log li.rs-log__more { grid-template-columns: 1fr; }
.rs-ctx__why { padding: 8px 14px; max-width: 220px; margin: 0; }
.rs-sw { display: flex; align-items: center; gap: 8px; flex: none; }
.rs-sw .tog.on { background: var(--action-primary); }
/* rich text editor */
.rs-rte { overflow: visible; }
.rs-rte__bar { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.rs-rte__body { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.rs-rte__body p { margin: 0 0 8px; } .rs-rte__body blockquote { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--stroke-secondary); color: var(--type-secondary); }
.rs-rte__body .rs-more { display: block; margin: 8px 0; padding: 2px 0; text-align: center; font: var(--body-sm); color: var(--type-tertiary); border-top: 1px dashed var(--stroke-primary); user-select: none; }
.rs-rte__body a { color: var(--button-primary); }
.rs-rte.is-full { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: var(--surface-screen); border-radius: 0; border: 0; }
.rs-rte.is-full .rs-rte__body { flex: 1; overflow: auto; border-radius: 0; padding: 32px max(24px, calc(50% - 400px)); }
.rs-rte__bar .btn-text[aria-pressed="true"] { background: var(--bc-100); color: var(--bc-400); }
/* shortcode cards */
.rs-sc { position: relative; }
.rs-sc__thumb { position: relative; overflow: hidden; text-transform: none; letter-spacing: 0; font: var(--btn-md); }
.rs-sc__thumb .rs-tpl__thumb { height: 100%; width: 100%; border: 0; border-radius: 0; padding: 12px 24px; pointer-events: none; }
.rs-copy { min-width: 72px; justify-content: center; }
/* Architect */
.ty-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ty-list { grid-template-rows: repeat(3, 1fr); }
.ty-masonry { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1.6fr; } .ty-masonry i.t { grid-row: span 2; }
.ty-carousel { grid-template-columns: 1fr; grid-template-rows: 1fr 4px; } .ty-carousel i.dots { height: 4px; width: 40%; justify-self: center; border-radius: var(--radius-full); }
.rs-ed__cards.is-list { grid-template-columns: 1fr; gap: 24px; }
.rs-ed__cards.is-masonry { display: block; column-gap: 40px; } .rs-ed__cards.is-masonry .rs-ed__card { break-inside: avoid; margin-bottom: 32px; }
.rs-ed__cards.is-carousel { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; } .rs-ed__cards.is-carousel .rs-ed__card { flex: 0 0 min(320px, 80%); scroll-snap-align: start; }
.rs-ed__dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; } .rs-ed__dots i { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--stroke-secondary); } .rs-ed__dots i.on { background: var(--type-secondary); }
.rs-tpl__thumb .q { font: var(--heading-md); color: var(--stroke-primary); background: none; height: auto; min-height: 0; line-height: 1; width: auto; }
.tw-qb, .tw-cenc { display: grid; gap: 6px; align-content: start; } .tw-cenc { justify-items: center; } .tw-cenc i { width: 80%; } .tw-cenc i.a { width: 22px; }
.tw-qb { padding: 6px; background: var(--surface-screen); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-sm); }
.rs-tpl__thumb i.pill { width: 40%; height: 8px; border-radius: var(--radius-full); background: var(--stroke-primary); }
.rs-tpl__thumb i.sq.r { border-radius: var(--radius-full); }
/* WP comments */
.rs-wphead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .rs-wphead .rs-wp-h { margin: 0; }

/* ===================== DS-GAP: motion. Same durations and curves as settings-v1/css/motion.css ===================== */
:root { --mo-fast: 150ms; --mo-sm: 200ms; --mo-md: 250ms; --mo-lg: 300ms; --mo-in: cubic-bezier(.2, 0, 0, 1); --mo-out: cubic-bezier(.4, 0, 1, 1); }
@keyframes mo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mo-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes mo-rise { from { opacity: 0; translate: 0 4px; } }
@keyframes mo-rise-out { to { opacity: 0; translate: 0 4px; } }
@keyframes mo-dlg-in { from { opacity: 0; translate: 0 8px; scale: .98; } }
@keyframes mo-dlg-out { to { opacity: 0; translate: 0 8px; scale: .98; } }
/* hover and focus colour (never outline) */
.btn-wp, .btn-wpo, .btn-text, .btn-danger, .lnk-wp, .chip, .tagchip, .rcpchip, .rcpfield, .inp, .inp-act, .ds-tab, .ds-menu a, .ds-navicon, .ds-ctxitem, .ds-filter-btn, .ds-select [role=combobox], .ds-select [role=option], .ds-check, .ds-radio, .tog, .ds-pager .pg, .rs-sc__thumb, .rs-add, .rs-typebtn, .rs-tpl__thumb, .rs-ed__types button { transition: background-color var(--mo-fast) var(--mo-in), border-color var(--mo-fast) var(--mo-in), color var(--mo-fast) var(--mo-in), box-shadow var(--mo-fast) var(--mo-in); }
.card, .rs-tile { transition: box-shadow var(--mo-sm) var(--mo-in), border-color var(--mo-sm) var(--mo-in), background-color var(--mo-sm) var(--mo-in); }
.rs-stat .fa, .ds-filter-btn .chev, .ds-tab.menu::before { transition: transform var(--mo-md) var(--mo-in); }
.ds-filter.open .chev { transform: rotate(180deg); }
/* menus and popovers: fade plus a 4px slide */
.ds-menu { translate: 0 4px; transition: opacity var(--mo-sm) var(--mo-out), translate var(--mo-sm) var(--mo-out), visibility 0s linear var(--mo-sm); }
.ds-topnav-tabs > li:hover:not(.dismissed) > .ds-menu, .ds-topnav-tabs > li.open > .ds-menu, .ds-topnav-tabs > li > .ds-tab[aria-expanded="true"] ~ .ds-menu { translate: 0 0; transition: opacity var(--mo-sm) var(--mo-in), translate var(--mo-sm) var(--mo-in), visibility 0s; }
.ds-ctxmenu { translate: 0 4px; transition: opacity var(--mo-sm) var(--mo-out), transform var(--mo-sm) var(--mo-out), translate var(--mo-sm) var(--mo-out); }
.ds-ctxmenu.visible { translate: 0 0; transition: opacity var(--mo-sm) var(--mo-in), transform var(--mo-sm) var(--mo-in), translate var(--mo-sm) var(--mo-in); }
.ds-filter-panel:not([hidden]), #rs-pop:not([hidden]) { animation: mo-rise var(--mo-sm) var(--mo-in) backwards; }
.ds-filter-panel.is-leaving, #rs-pop.is-leaving { animation: mo-rise-out var(--mo-fast) var(--mo-out) forwards; pointer-events: none; }
.ds-select ul[role=listbox] { transition: opacity var(--mo-sm) var(--mo-out), translate var(--mo-sm) var(--mo-out); }
.ds-tip:after, .ds-tip:before { translate: 0 4px; transition: opacity var(--mo-sm) var(--mo-out), translate var(--mo-sm) var(--mo-out); }
.ds-tip:hover:after, .ds-tip:focus-visible:after, .ds-tip:hover:before, .ds-tip:focus-visible:before { translate: 0 0; transition: opacity var(--mo-sm) var(--mo-in) 80ms, translate var(--mo-sm) var(--mo-in) 80ms; }
/* modals, video and Architect dialogs: overlay fades, dialog fades and scales from .98 with an 8px rise, closing reverses */
#rs-modal { background: none; }
#rs-modal::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); animation: mo-fade var(--mo-lg) var(--mo-in) backwards; }
#rs-modal > .tpldialog { animation: mo-dlg-in var(--mo-lg) var(--mo-in) backwards; }
#rs-modal.is-leaving::before { animation: mo-fade-out var(--mo-sm) var(--mo-out) forwards; }
#rs-modal.is-leaving > .tpldialog { animation: mo-dlg-out var(--mo-sm) var(--mo-out) forwards; }
#rs-modal.is-swap::before { animation: none; }
#rs-modal.is-swap > .tpldialog { animation-duration: var(--mo-sm); }
/* toast */
.toast { transform: translate(-50%, 12px); transition: opacity var(--mo-sm) var(--mo-out), transform var(--mo-sm) var(--mo-out); }
.toast.show { transition: opacity var(--mo-sm) var(--mo-in), transform var(--mo-md) var(--mo-in); }
/* bulk actions, new rows, editor full screen */
.rs-row.is-new { animation: mo-rise var(--mo-md) var(--mo-in) backwards; }
.rs-rte.is-full { animation: mo-dlg-in var(--mo-md) var(--mo-in) backwards; }
.rs-ed__cards > * { animation: mo-fade var(--mo-md) var(--mo-in) backwards; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }

/* ===================== round 3: live comparison ===================== */
.rs-crumb { display: flex; align-items: center; gap: 8px; padding: 12px 40px; background: var(--surface-screen); border-bottom: 1px solid var(--stroke-tertiary); font: var(--body-sm); color: var(--type-secondary); }
.rs-crumb .fa { font-size: 10px; color: var(--type-tertiary); }
.rs-crumb [aria-current] { color: var(--type-primary); }
.rs-body { padding-top: 24px; }
.rs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rs-picbtn { padding: 0; border: 0; background: none; border-radius: var(--radius-full); cursor: pointer; line-height: 0; }
.rs-picbtn:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
.rs-editgrid { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.rs-editgrid .rs-logcard { position: relative; } .rs-editgrid .rs-log { margin: 0; } .rs-editgrid .rs-log li { grid-template-columns: 40px minmax(0, 1fr); padding-right: 40px; }
.rs-editgrid .rs-form { grid-template-columns: 150px minmax(0, 1fr); padding: 24px; gap: 24px; }
.rs-log__menu { position: absolute; top: 8px; right: 8px; }
.rs-card { overflow: visible; }
.rs-tb { border-radius: var(--radius-12) var(--radius-12) 0 0; }
.rs-ccell p { margin: 0; } .rs-rowact { display: flex; align-items: center; flex-wrap: wrap; margin-top: 6px; font: var(--body-sm); opacity: 0; transition: opacity var(--mo-fast, 150ms) ease; } .rs-rowact .sepbar { color: var(--type-tertiary); margin-inline: 2px; }
@media (max-width: 1239px) { .rs-editgrid { grid-template-columns: 1fr; } .rs-crumb { padding-inline: 24px; } }
.rs-ccell { position: relative; }
.rs-rowact { position: absolute; top: calc(100% + 4px); left: 0; margin: 0; white-space: nowrap; flex-wrap: nowrap; }


/* ===================== dashboard = nuf-v3 #dashboard (Figma 5059): local additions ===================== */
.rs-body--dash { padding: 0; }
.dash-card { overflow: visible; }
.dash-thead { border-radius: var(--radius-12) var(--radius-12) 0 0; }
.dash-avatar.rs-av { width: 44px; height: 44px; border-radius: var(--radius-8, 8px); }
.rs-fwrap { position: relative; flex: none; }
.rs-fwrap .rs-filter { position: relative; }
.rs-fpanel { left: auto; right: 0; width: 260px; padding-top: 16px; }
.rs-fpanel .rs-pop__h { margin: 12px 0 0; } .rs-fpanel .rs-pop__h:first-child { margin-top: 0; }
.rs-filter .ds-filter-badge { margin-inline-end: 2px; }
.chip.rs-chipbtn { cursor: pointer; font-family: inherit; }
.chip.rs-chipbtn:hover { filter: brightness(.97); }
.chip.rs-chipbtn:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
.dash-row { transition: background-color 150ms ease, height 250ms ease, opacity 200ms ease; }

.dash-row.is-gone { opacity: 0; }
.dash-row.is-new { animation: mo-rise var(--mo-md) var(--mo-in) backwards; }
.dash-row.is-full { height: auto; min-height: 84px; padding-bottom: 20px; }
.dash-row.is-full .dash-quote { white-space: normal; overflow: visible; text-overflow: clip; }
.dash-row.is-full::after { top: auto; bottom: 0; }
.dash-row.is-full .dash-half { height: auto; }
.p-pager .ds-select { min-width: 118px; } .p-pager .ds-select ul[role=listbox] { top: auto; bottom: calc(100% + 4px); }
/* bulk bar: inline, sticks to the bottom of the viewport while the table runs long; height + fade slide */
.rs-bulk { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows var(--mo-md, .24s) var(--mo-in, ease), opacity var(--mo-sm, .18s) var(--mo-in, ease), margin-top var(--mo-md, .24s) var(--mo-in, ease); }
.rs-bulk.is-on { grid-template-rows: 1fr; opacity: 1; }
.rs-bulk__in { min-height: 0; overflow: hidden; margin: -6px; padding: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rs-bulk__in > * { position: relative; }
.rs-bulk__n { font: var(--heading-xs); color: var(--type-primary); white-space: nowrap; }
.rs-bulk__acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
/* footer row of the table card (Leads 14225:49068): same white, hairline above, no own card */
.rs-bulk { background: var(--surface-screen); border-top: 1px solid var(--stroke-tertiary); border-radius: 0 0 var(--radius-12, 12px) var(--radius-12, 12px); }
.dash-card:has(+ .rs-bulk.is-on) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.rs-bulk:not(.is-on) { border-top-color: transparent; }
.rs-bulk__left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rs-bulk__in { padding: 12px 20px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .rs-bulk { transition: none; } }
.p-nomatch .lnk-wp { font: var(--btn-sm); }
.tpldialog.xl .rs-rte__body { min-height: 96px; }

/* Lead line sits tight under the page title, like the dashboard header (title + subtext 4px apart) */
body .rs-head:has(+ .rs-pagesub) { margin-bottom: 4px; min-height: 0; }

/* ===================== Mobbin round: layout and structure only ===================== */
/* shortcode lists: 3-up cards, mono code field with an icon copy button */
.rs-sc__thumb { height: 150px; }
.rs-copyic { width: 44px; min-width: 44px; padding: 0; justify-content: center; color: var(--type-secondary); cursor: pointer; }
.rs-copyic .fa { font-size: 16px; }
.rs-copyic:hover { color: var(--brand-300); }
.rs-copyic:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: -2px; }
.rs-copyic.is-done { color: var(--type-success); } /* DS-GAP: illustration built from DS tokens */
.rs-tw, .rs-tc { width: 200px; padding: 16px; background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); box-shadow: var(--shadow-card); flex: none; }
.rs-tw i, .rs-tc i { display: block; height: 6px; border-radius: var(--radius-2); background: var(--stroke-secondary); }
.rs-tw i.s, .rs-tc i.s { width: 60%; }
/* edit testimonial: sections left, live preview, status and activity right, sticky save bar */
.rs-pv { display: flex; flex-direction: column; }
.rs-pv__t { font: var(--heading-sm); color: var(--type-primary); margin: 0 0 8px; }
.rs-pv__q { font: var(--body-lg); color: var(--type-primary); margin: 0; overflow-wrap: anywhere; }
.rs-pv__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--stroke-tertiary); }
.rs-pv__who b { display: block; font: var(--btn-md); color: var(--type-primary); } .rs-pv__who span { font: var(--body-sm); color: var(--type-secondary); }
/* WP comments: labelled save button */
.rs-rte__bar .ds-select { min-width: 0; width: 124px; }

/* ===================== Linear-style centred column, Stripe-style detail, sheet ===================== */
.rs-col { max-width: 880px; margin-inline: auto; }
.rs-colhead { margin: 8px 0 28px; }
.rs-colhead .rs-sub { margin: 8px 0 0; }
.rs-colhead .rs-sub .lnk-wp { font: inherit; padding: 0; display: inline-flex; align-items: center; gap: 2px; }
.rs-colhead .rs-sub .lnk-wp .fa { font-size: 12px; }
.rs-group { background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12); } /* DS-GAP: bordered list group */
.rs-group__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; border-bottom: 1px solid var(--stroke-tertiary); font: var(--btn-sm); color: var(--type-tertiary); border-radius: var(--radius-12) var(--radius-12) 0 0; background: var(--surface-overlay-0); }
.rs-group__head .btn-wp .fa, .rs-sl .btn-text .fa { margin-inline-end: 4px; }
.rs-sl { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--stroke-tertiary); transition: background-color 150ms ease; }
.rs-sl:last-child { border-bottom: 0; } .rs-sl[data-id]:hover { background: var(--surface-overlay-0); }
.rs-sl__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.rs-sl__n { padding: 0; border: 0; background: none; font: var(--btn-md); color: var(--type-primary); text-align: left; cursor: pointer; }
button.rs-sl__n:hover { color: var(--brand-300); }
.rs-sl__m { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: var(--body-sm); color: var(--type-secondary); }
.rs-sl__m .lnk-wp { padding: 0; }
.rs-sl__th { position: relative; width: 48px; height: 48px; flex: none; padding: 0; overflow: hidden; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-8, 8px); background: var(--surface-overlay-0); cursor: pointer; display: grid; place-items: center; color: var(--type-tertiary); }
.rs-sl__th .rs-tpl__thumb { position: absolute; left: 0; top: 0; width: 120px; height: 120px; border: 0; border-radius: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none; }
.rs-sl__th:hover { border-color: var(--brand-100); } .rs-sl__th:focus-visible, .rs-sl__n:focus-visible, .rs-copyic:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }
.rs-chipcode { display: inline-flex; align-items: center; height: 32px; padding-left: 10px; border: 1px solid var(--stroke-secondary); border-radius: var(--radius-sm); background: var(--surface-overlay-0); flex: none; }
.rs-chipcode input { border: 0; background: none; padding: 0; font: 12px/1 ui-monospace, Menlo, monospace; color: var(--type-secondary); outline: none; width: auto; max-width: 190px; }
.rs-chipcode .rs-copyic { width: 32px; min-width: 32px; height: 100%; border: 0; border-inline-start: 1px solid var(--stroke-tertiary); background: none; color: var(--type-secondary); display: grid; place-items: center; cursor: pointer; padding: 0; }
.rs-chipcode .rs-copyic.is-done { color: var(--type-success); }
@media (max-width: 760px) { .rs-sl { flex-wrap: wrap; } .rs-chipcode { order: 5; } }
.rs-col .rs-imp { max-width: none; }
/* get-shortcode sheet */
@keyframes rs-sheet-in { from { opacity: 0; translate: 24px 0; } }

/* review fixes */
.rs-col { margin-inline: 0; }

/* review round: content fills the page container */
.rs-col { max-width: none; }

/* ===== Empty state pattern: one illustration, heading-sm title, one or two lines, one action. Layout only. ===== */
.es { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px 56px; }
.es__art-w { display: flex; margin-bottom: 8px; } /* DS-GAP: illustration */
.es__art { display: block; width: 200px; height: auto; max-width: 100%; }
.es__t { font: var(--heading-sm); color: var(--type-primary); margin-bottom: 4px; }
.es__p { max-width: 380px; font: var(--body-md); color: var(--type-secondary); margin-bottom: 20px; }
.es__p:last-child { margin-bottom: 0; }
.es__acts { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.es__p a { text-decoration: none; }
.es--sm { padding: 24px 24px 32px; } .es--sm .es__art { width: 160px; }
@media (max-width: 1100px) { .es { padding: 40px 16px 40px; } }

/* ===== Confirm modal = Figma 17907:35163 (346 wide, 32/20 padding, 16 / 24 gaps, 12 between buttons). Layout only. ===== */
.rs-conf .tpl-body { padding: 32px 20px; gap: 16px; overflow: visible; }
.rs-conf .tpl-iconcircle .fa { font-size: 24px; }
.rs-conf__txt { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.rs-conf__txt p { font: var(--body-md); color: var(--type-secondary); }
.rs-conf .tpl-btns { gap: 12px; margin-top: 8px; }

/* ===== Form modal = Figma 17894:6614 (668 wide, 32 padding, 20 gaps, rules under head and above footer). Layout only. ===== */
.tpldialog.fm { width: 668px; padding: 32px; gap: 20px; }
.fm .tpl-head { padding: 0 0 20px; align-items: flex-start; gap: 32px; }
.fm-hd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fm .rs-dlg-title { font: var(--heading-lg); } /* DS-GAP: modal head 22/M title */
.fm-sub { font: var(--body-lg); color: var(--type-secondary); }
.fm .mx { font-size: 28px; line-height: 1; margin-top: -3px; color: var(--stroke-primary); }
.fm .tpl-body { padding: 0; gap: 24px; }
.fm .tpl-foot { justify-content: flex-start; gap: 12px; padding: 20px 0 0; }
.fm .rs-f { gap: 4px; }
.fm .rs-fields { gap: 24px; }

.rs-conf .tpl-btns > * { flex: none; } /* hug, as Figma */

/* No phantom page scroll: stop the content margin collapsing through body, and keep closed menus out of the flow */
body { display: flow-root; }
.ds-ctxmenu:not(.visible) { position: fixed; top: 0; left: 0; visibility: hidden; }

/* ===== Filters menu: sections split by hairlines, equal padding (shared with nuf-v3) ===== */
.rs-fpanel { padding: 4px 16px; width: 272px; max-height: min(560px, calc(100vh - 160px)); overflow-y: auto; }
.rs-fpanel .rs-pop__h { margin: 0 0 8px; }
.rs-fpanel .ds-filter-opts { padding: 0; }
.ofl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ofl-q { position: relative; display: block; max-width: none; } .ofl-q .inp { width: 100%; }
.ofl-sugg { display: flex; flex-direction: column; margin-top: 4px; max-height: 160px; overflow-y: auto; }
.ofl-sugg .ds-ctxitem { width: 100%; text-align: left; }
.ofl-none { font: var(--body-sm); color: var(--type-tertiary); padding: 4px 8px; }
/* Edit: log card as tall as the fields card, list scrolls inside; square 12px picture; status on the title line; sticky action bar */
.rs-editgrid { align-items: stretch; margin-bottom: 24px; }
.rs-editgrid .rs-logcard { position: relative; min-height: 220px; padding: 0; overflow: hidden; }
.rs-editgrid .rs-logcard > .rs-log { position: absolute; inset: 0; overflow-y: auto; margin: 0; }
.rs-editgrid .rs-log__menu { z-index: 2; }
.rs-editgrid .rs-av, .rs-editgrid .rs-av img, .rs-editgrid .rs-picbtn { border-radius: var(--radius-card); }
@media (max-width: 1239px) { .rs-editgrid .rs-logcard { height: 200px; min-height: 0; } }
.rs-foot--sticky { position: sticky; bottom: 0; z-index: 20; margin: 24px calc(-1 * max(40px, (100vw - 160px - 1500px) / 2)) 0; padding: 16px max(40px, calc((100vw - 160px - 1500px) / 2)); background: var(--surface-screen); border-top: 1px solid var(--stroke-tertiary); }
@media (max-width: 959px) { .rs-foot--sticky { margin-inline: -24px; padding-inline: 24px; } }
.rs-body:has(.rs-foot--sticky) { padding-bottom: 0; }
.dash-meta .rs-copychip { margin-inline-start: 6px; vertical-align: middle; }
.rs-colhead--acts { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rs-colhead--acts > div:first-child { min-width: 0; flex: 1 1 360px; }
.rs-colhead--acts .rs-head__acts { align-self: flex-start; }

/* notifications popover: layout only */

/* nav icon tooltips: right-aligned so they never widen the page */
.ds-navicon.ds-tip:after { left: auto; right: 0; transform: none; }

/* ===== Filters, Leads pattern on the DS .ds-filter (layout only) ===== */
.rs-fpanel { left: auto; right: 0; width: 280px; padding: 20px 16px 16px; max-height: min(640px, calc(100vh - 140px)); overflow-y: auto; }
.rs-fpanel .ds-filter-head { padding: 0; }
.rs-fpanel .ofl-hd { display: inline-flex; align-items: center; gap: 10px; }
.rs-fpanel .ofl-chev { font-size: 16px; color: var(--stroke-secondary); transition: transform var(--mo-md, .25s) var(--mo-in, ease); }
.rs-fpanel .ds-filter-head[aria-expanded=false] .ofl-chev { transform: rotate(180deg); }
.rs-fpanel .ds-filter-sections { gap: 0; }
.rs-fpanel .ds-filter-opts { padding: 12px 0 0; }
.rs-fpanel .ds-filter-div { margin: 16px 0; }
.rs-fpanel .ofl-chips { margin: 12px 0 8px; }
.rs-fpanel .ofl-q { margin-top: 12px; }
.rs-fpanel .ds-filter-foot { gap: 16px; } .rs-fpanel .ds-filter-foot .apply { flex: 1; width: auto; }
.rs-fpanel .ofl-clear { width: 80px; padding-inline: 4px; flex: none; }

/* ===== Light content pages (Edit, social import, shortcode lists, WP comments): white page, bordered cards with a soft shadow, tight title gap. Not nested. ===== */
body.nuf.rs-light, .rs-light main.rs { background: var(--surface-screen); }
.rs-light .rs-body { padding-top: 24px; }
.rs-light .rs-head, .rs-light .rs-colhead { margin: 0 0 20px; }
.rs-light .rs-colhead .rs-sub { margin-top: 4px; }
.rs-light .card, .rs-light .rs-group, .rs-light .rs-card { background: var(--surface-screen); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-card); box-shadow: var(--shadow-card), 0 6px 20px rgba(50, 50, 50, .05); }
.rs-light .rs-group > .rs-sl:last-child { border-bottom: 0; }
/* Edit */
.rs-light .rs-editgrid { margin-bottom: 20px; gap: 20px; }
.rs-light .rs-logcard, .rs-light .rs-form { border-radius: var(--radius-card); }
.rs-edcard { padding: 0; overflow: hidden; }
.rs-edcard .rs-rte { border: 0; border-radius: 0; box-shadow: none; }
.rs-light .rs-foot--sticky { margin-top: 20px; }
/* Social import: step cards */
.rs-col > .rs-colhead + * { margin-top: 0; } .rs-col > * + * { margin-top: 16px; }
.rs-int .rs-sl { border: 0; }
.rs-step { padding: 20px; }
.rs-step .rs-imp { display: flex; gap: 12px; align-items: center; margin-top: 8px; } .rs-step .rs-imp .inp { flex: 1; min-width: 0; }
.rs-tweet .rs-pv { gap: 12px; }
.rs-tweet__note { display: flex; gap: 6px; align-items: flex-start; } .rs-tweet__note .fa { margin-top: 2px; }
.rs-photo--row { flex-direction: row; align-items: center; gap: 16px; }
.rs-light .rs-wphead { margin-bottom: 12px; }

.rs-conf .tpl-btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; max-width: 100%; align-self: center; gap: 12px; } /* equal-width pair: the wider label sets both */
.rs-conf .tpl-btns > * { flex: none; white-space: nowrap; }

.rs-step .rs-imp { align-items: flex-start; } .rs-step .rs-imp .rs-f { flex: 1; min-width: 0; }

/* ===== V1 soft card (Rijul): near-white page, toolbar + table in one white card, soft DS shadow, no hard border, hairline dividers, one pager inside the card ===== */
body.nuf.rs-soft, body.rs-soft main.rs, body.rs-soft .rs-wpfoot { background: var(--surface-overlay-0); }
.wb-card { background: var(--surface-screen); border-radius: var(--radius-12, 12px); box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 24px rgba(16, 24, 40, .05); padding: 20px 0 0; margin-bottom: 20px; }
.proto .wb-card .rs-toolbar { padding: 0 20px; margin-bottom: 16px; min-height: 36px; background: transparent; border-radius: 0; }
.wb-card > .dash-card { background: transparent; box-shadow: none; border-radius: 0 0 var(--radius-12, 12px) var(--radius-12, 12px); }
.wb-card .dash-thead { border-top: 1px solid var(--stroke-tertiary); border-radius: 0; }
.wb-card > .rs-bulk { border-radius: 0 0 var(--radius-12, 12px) var(--radius-12, 12px); }
.wb-card > .dash-card:has(+ .rs-bulk.is-on) { border-radius: 0; }
.wb-card:has(> .rs-bulk.is-on) .p-pager { display: none; } /* the bulk row replaces the pager while rows are selected */
.wb-card > .dash-card .p-pager { border-top: 1px solid var(--stroke-tertiary); margin-top: 0; padding: 16px 20px; }
.wb-card .dash-row:last-child::after { display: none; }

/* ===== Context menu = Leads Figma 12921:101211: menu padding 12 0, radius 8; items 40 high, 12 / 16 padding, 16px icon, 4 gap ===== */
.ds-ctxmenu { padding: 12px 0; border-radius: var(--radius-md); box-shadow: 0 4px 24px rgba(0, 0, 0, .12); }
.ds-ctxitem { height: 40px; min-height: 40px; padding: 0 16px 0 12px; gap: 4px; }
.ds-ctxitem .fa, .ds-ctxitem svg { width: 16px; height: 16px; font-size: 12px; margin: 0; flex: none; display: inline-grid; place-items: center; } /* 16px icon box, 12px glyph, as Figma */
.ds-ctxitem svg { padding: 2px; box-sizing: border-box; }
.ds-ctxitem .fa { width: 14px; height: 14px; font-size: 14px; margin: 0 1px; } /* 14px glyph centred in its 16px box */
.ds-ctxmenu:focus { outline: none; }

/* ===== Polish round: square head rows, even chip padding, filter tag field, 14px subtexts, 4px video close ===== */
.dash-thead, .rs-crow.head, .rs-group__head, .dash-card > .dash-thead { border-radius: 0; }
.dash-tag { height: 23px; box-sizing: border-box; padding-top: 0; padding-bottom: 2px; }
.rs-fpanel .ofl-q { position: relative; display: block; width: 100%; }
.rs-fpanel .ofl-q .inp { display: block; width: 100%; padding-left: 36px; }
.rs-fpanel .ofl-q .fa { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--type-tertiary); pointer-events: none; }
.ofl-sugg[hidden] { display: none; }
.rs-sub, .dash-sub, .set-sub, .proto .rs-sub { font: var(--body-md); }

/* ===== Soft card on every content page (V1): near-white page, white cards radius 12, very soft shadow, no hard border ===== */
body.nuf.rs-light, .rs-light main.rs { background: var(--surface-overlay-0); }
.rs-light .card, .rs-light .rs-group, .rs-light .rs-card { border: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 24px rgba(16, 24, 40, .05); }
.rs-light .rs-wphead, .rs-light .rs-wptop, .rs-light .rs-wptb { background: transparent; }
/* Edit: card heads, status pill */
.rs-card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; box-sizing: border-box; padding: 10px 20px; border-bottom: 1px solid var(--stroke-tertiary); }
.rs-card__h .rs-h3 { margin: 0; font: var(--heading-sm); color: var(--type-primary); }
.rs-card__h .rs-log__menu { position: static; }
.rs-editgrid .rs-logcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; min-height: 240px; }
.rs-logwrap { position: relative; flex: 1; min-height: 0; }
.rs-editgrid .rs-logwrap > .rs-log { position: absolute; inset: 0; overflow-y: auto; margin: 0; }
.rs-formcard { padding: 0; }
.rs-formcard > .rs-form { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 24px; }
@media (max-width: 1239px) { .rs-editgrid .rs-logcard { height: 260px; } } .rs-edcard .rs-card__h { border-bottom: 1px solid var(--stroke-tertiary); }
.rs-statusctl { display: flex; align-items: center; gap: 10px; }
.rs-statusctl__l { font: var(--body-md); color: var(--type-secondary); }
.chip.rs-statpill { display: inline-flex; align-items: center; gap: 8px; height: 36px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--stroke-secondary); border-radius: var(--radius-full); font: var(--btn-md); cursor: pointer; background: var(--lbg, var(--surface-screen)); color: var(--lc, var(--type-primary)); transition: border-color var(--mo-sm) var(--mo-in), box-shadow var(--mo-sm) var(--mo-in), filter var(--mo-sm) var(--mo-in); }
.rs-statpill::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: var(--radius-full); background: currentColor; }
.rs-statpill .fa { font-size: 12px; margin-inline-start: 2px; }
.chip.rs-statpill:hover { border-color: currentColor; box-shadow: var(--shadow-card); filter: brightness(.97); }
.rs-foot--sticky:has(> :only-child) { justify-content: flex-end; }
/* editor toolbar select: one height with the toolbar buttons, text and chevron centred, even padding */
.rs-rte__bar .ds-select { height: 34px; }
.rs-rte__bar .ds-select [role=combobox] { height: 34px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8.5px 0 12px; line-height: 1; } /* r16: text edge 13px = chevron ink edge 13px (DS-GAP: .ds-select .arrow margin-inline-start 16px has no toolbar size) */
.rs-rte__bar .ds-select .selected-items { display: block; line-height: 1; }
.rs-rte__bar .ds-select .arrow { margin-inline-start: 0; display: grid; place-items: center; width: 16px; height: 16px; flex: none; }
/* modals: the focus halo shows on all four sides, the small form modals are 30% narrower */
.fm .tpl-body { padding: 6px; margin: -6px; }
.tpldialog.fm.fm--sm { width: 468px; }
.rs-body, .rs-col, .rs-main { overflow: visible; }

.proto .rs-fpanel .ofl-q { flex: none; width: 100%; max-width: none; min-width: 0; height: 36px; margin-top: 12px; }
.rs-fpanel .ofl-sugg, .rs-fpanel .ofl-chips { flex: none; }

/* ===== Polish round 2: tables get a 1px outer stroke (the head/row divider colour); head rows are square, the card clips the corners ===== */
.wb-card > .dash-card { margin: 0 20px 20px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-12, 12px); overflow: hidden; background: var(--surface-screen); }
.wb-card .dash-thead { border-top: 0; border-radius: 0; }
.wb-card > .dash-card:has(+ .rs-bulk.is-on) { border-radius: var(--radius-12, 12px); }
.wb-card > .rs-bulk { margin: 0 20px; border-radius: 0; border: 0; background: var(--surface-screen); } .wb-card > .rs-bulk.is-on { margin-bottom: 20px; }
.wb-card > .rs-bulk .rs-bulk__in { padding-inline: 0; }
.wb-card > .dash-card .p-pager { border-top: 1px solid var(--stroke-tertiary); }
.rs-light .rs-group, .rs-light .rs-card { border: 1px solid var(--stroke-tertiary); overflow: hidden; }
.set-thead { border: 1px solid var(--stroke-tertiary); border-radius: 0; }
/* tooltips: arrow at the top centre, box centred under the trigger (Leads 15137:108739). The bell nudges its box left so it never leaves the window; its arrow stays centred. */
.ds-navicon.ds-tip:after { left: 50%; right: auto; transform: translateX(-50%); }
/* the bell sits 12px further in so its centred tooltip stays inside the window */
.ds-topnav-actions { margin-right: 12px; }

/* shortcode name modal = Leads "Create New Shortcode" look: compact head, title and divider, label over the input, divider over the footer */
.tpldialog.fm.fm--compact { width: 468px; padding: 24px; gap: 16px; }
.fm--compact .tpl-head { padding-bottom: 16px; align-items: center; } .fm--compact .rs-dlg-title { font: var(--heading-md); }
.fm--compact .tpl-foot { padding-top: 16px; }
.fm--compact .tpl-body { gap: 16px; }
/* dropdowns inside modals float over the content: the modal never resizes or moves */
.tpldialog:has(.ds-select[data-expanded=true]) .tpl-body, .tpldialog:has(.ds-select[data-expanded=true]) .rs-rte { overflow: visible; }
.tpldialog .ds-select [role=listbox] { z-index: 60; box-shadow: 0 4px 24px rgba(0, 0, 0, .12); }

/* Thrive Dashboard hub (WP page) and license notice: layout only */
.rs-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.rs-hub__c { display: flex; align-items: center; gap: 16px; padding: 20px; flex-wrap: wrap; } .rs-hub__t { flex: 1; min-width: 140px; } .rs-hub__t .rs-h3 { margin: 0 0 2px; }
.rs-hub__c .btn-wp, .rs-hub__c .btn-wpo { margin-inline-start: auto; }
body.wp-tdash .nuf-wp-active { top: 618px; height: 34px; }
.rs-lic__logo { display: block; margin: 0 auto 8px; height: 32px; width: auto; }

.rs-pic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rs-pic-t { padding: 8px; border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-card); background: var(--surface-screen); cursor: pointer; display: grid; place-items: center; }
.rs-pic-t[aria-checked=true] { border-color: var(--brand-100); box-shadow: 0 0 0 2px var(--brand-25); }
.rs-pic-t:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); }

/* kebab = DS context-menu trigger: square, radius 4, light grey square hover and focus (no pill) */
.btn-text.ds-kebab.rs-kebab { width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; border-radius: var(--radius-4); display: inline-grid; place-items: center; color: var(--type-secondary); }
.btn-text.ds-kebab.rs-kebab .fa { font-size: 16px; width: 16px; height: 16px; }
.btn-text.ds-kebab.rs-kebab:hover, .btn-text.ds-kebab.rs-kebab[aria-expanded=true] { background: var(--surface-overlay-1); color: var(--type-primary); }
.btn-text.ds-kebab.rs-kebab:focus-visible { border-radius: var(--radius-4); }

/* shortcode rows: square-ish thumbnail (radius 4), one neutral placeholder, Choose template inline before the kebab */
.rs-sl__th { border-radius: var(--radius-4); }
.rs-sl__th--empty { display: grid; place-items: center; color: var(--stroke-primary); background: var(--surface-overlay-0); } .rs-sl__th--empty .fa { font-size: 18px; }
.rs-sl__choose { flex: none; font: var(--btn-sm); white-space: nowrap; padding: 2px 4px; }

/* shortcode row thumbnail = Figma 18154:11314 (placeholder) and 18154:11943 (form chosen): 65 x 44 */
.rs-sl__th { width: 65px; height: 44px; padding: 0; box-sizing: border-box; overflow: hidden; display: block; }
.rs-sl__th--empty { display: grid; place-items: center; background: var(--neutral-75); border: 1px solid var(--stroke-secondary); border-radius: var(--radius-4); color: var(--neutral-400); }
.rs-sl__th--empty .fa { font-size: 14.65px; width: 14.65px; height: 14.65px; }
.rs-sl__th--set { position: relative; background: var(--surface-overlay-3); border: 1px solid var(--stroke-tertiary); border-radius: var(--radius-2, 2px); }
.rs-sl__th--set img { position: absolute; left: 7.29px; top: 3.46px; width: 48.46px; height: 35.71px; object-fit: cover; display: block; }


.fm--sm .tpl-foot:has(.rs-ask-tpl) { justify-content: space-between; align-items: center; gap: 12px; }
.rs-ask-tpl { margin-left: auto; text-align: right; font-size: 16px; padding: 6px 8px; } /* same text size as the lg Send request button */
@media (max-width: 599px) { .proto .tpl-foot:has(.rs-ask-tpl) > #as-go { flex: 1 1 100%; } .proto .tpl-foot:has(.rs-ask-tpl) > .rs-ask-tpl { flex: 1 1 100%; } }
@media (max-width: 599px) { .tplmodal .tpldialog.fm.fm--sm .tpl-foot:has(.rs-ask-tpl) { flex-direction: column; align-items: stretch; } .tplmodal .tpldialog.fm.fm--sm .tpl-foot:has(.rs-ask-tpl) > .rs-ask-tpl { width: auto; text-align: right; justify-content: flex-end; } }

.dash-meta .rs-copychip .fa { font-size: 12px; }

/* breadcrumbs as links, hub card links, license notices */
.rs-crumb a { color: inherit; text-decoration: none; transition: color .15s ease; } .rs-crumb a:hover { color: var(--brand-100); text-decoration: underline; } .rs-crumb a:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 2px; border-radius: 2px; }
.rs-hub__a { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; } .rs-hub__l { display: flex; gap: 16px; flex-wrap: wrap; font: var(--body-sm); } .rs-hub__l .fa { margin-right: 6px; font-size: 12px; }
.rs-lic-off { opacity: .5; pointer-events: none; user-select: none; }
/* License grace banner (Figma 18169:12612 / 13282). DS-GAP: full-width alert banner (yellow-10 / red-10 strip with status tile, text, small button and daily-snooze close). Buttons, link and close are DS classes. */
.ds-banner { overflow: hidden; transition: height .22s ease, opacity .22s ease; } /* local motion only */
.ds-banner.is-out { opacity: 0; padding-block: 0; }
@keyframes rs-licban-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: no-preference) { .ds-banner { animation: rs-licban-in .24s ease-out both; } }
@media (prefers-reduced-motion: reduce) { .ds-banner { transition: none; } }
/* License modal (Figma 18169:13393). DS-GAP: tpl-iconcircle in red-10 / red-100 (lock), and the "what still works" box. */
.rs-lic2 .tpl-body { padding: 32px 20px; gap: 16px; align-items: stretch; text-align: left; }
.rs-lic2__ic { display: block; flex: none; align-self: flex-start; width: 64px; height: 64px; } /* Rijul's exact SVG, used as-is */
.ds-banner .tile:has(> img) { background: none; } .ds-banner .tile > img { display: block; } /* DS-GAP: banner tile takes an exact SVG tile */
.rs-lic2__txt { display: flex; flex-direction: column; gap: 8px; } .rs-lic2__txt p { margin: 0; font: var(--body-md); color: var(--type-secondary); line-height: 1.4; }
.rs-lic2__act { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; } .rs-lic2__act .btn-wp { width: 100%; justify-content: center; text-decoration: none; }
.rs-lic2__again { margin: 0; text-align: center; font: var(--body-md); color: var(--type-secondary); }
@media (max-width: 480px) { .rs-lic2.tpldialog { width: 92vw; min-width: 0; } }


/* ===== r22: review fixes ===== */
/* pager rows-per-page menu opens upward (we flip it), so it needs its own top border; the DS menu drops it for the downward case */
.p-pager .ds-select ul[role=listbox] { border-top: 1px solid var(--stroke-secondary); border-radius: var(--radius-sm); }
/* dashboard rows with a title, and full-text rows: grow with the content, same 20px above and below the divider as a normal row */
.dash-row.has-t, .dash-row.is-full { height: auto; min-height: 84px; padding-bottom: 20px; margin-bottom: 20px; }
.dash-row.has-t::after, .dash-row.is-full::after { top: auto; bottom: 0; }
.dash-row.has-t .dash-half, .dash-row.is-full .dash-half { height: auto; min-height: 44px; }
.dash-row.has-t .dash-half:first-child, .dash-row.is-full .dash-half:first-child { align-items: flex-start; }
.dash-row.has-t [data-sel], .dash-row.is-full [data-sel] { margin-top: 14px; }
.dash-row.has-t .dash-half.r > *, .dash-row.is-full .dash-half.r > * { align-self: flex-start; }
.dash-row.has-t .dash-txt { gap: 2px; }
.dash-title { margin: 0; font: var(--btn-md); color: var(--type-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row.has-t .dash-quote { color: var(--type-secondary); }
.dash-row.is-full .dash-title { white-space: normal; }
.dash-avatar { cursor: pointer; }
@media (max-width: 1220px) {
  .proto .dash-row.has-t, .proto .dash-row.is-full { margin-bottom: 0; padding: 14px 0 16px; }
  .proto .dash-row.has-t [data-sel], .proto .dash-row.is-full [data-sel] { margin-top: 14px; }
  .proto .dash-row.has-t .dash-half.r > *, .proto .dash-row.is-full .dash-half.r > * { align-self: center; }
}
/* bulk bar: Clear selection sits in the action group, left of Change status */
.rs-bulk__acts .btn-text { margin-inline-end: 4px; }
/* activity log: quiet glyph per event type, no tile, aligned with the timestamp line */
.rs-editgrid .rs-log li, .rs-log li { grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 20px; }
.rs-editgrid .rs-log li.rs-log__more { grid-template-columns: 1fr; }
.rs-log__i { display: grid; place-items: center; width: 16px; height: 1.6em; font-size: 14px; font-style: normal; color: var(--type-tertiary); } /* one grey for every event type (Rijul, 2026-11-02); the glyph alone tells them apart */
.rs-log__i .fa { font-size: 13px; }
.rs-log b { font: var(--btn-md); margin: 0; }
.rs-log span { display: block; }
.rs-log__a { font: inherit; color: var(--button-primary); text-decoration: underline; text-underline-offset: 2px; background: none; padding: 0; border: 0; cursor: pointer; transition: color var(--mo-sm, .18s) ease; }
.rs-log__a:hover { color: var(--button-primary-hover, var(--button-primary)); text-decoration-thickness: 2px; }
.rs-log__a:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 2px; border-radius: var(--radius-2, 2px); }
/* WordPress media panel (ported from settings-v1: .wpm*; WP UI is outside Ovation) */
.wpm { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 16px; font-family: "Open Sans", Helvetica, Arial, sans-serif; }
.wpm[hidden] { display: none; }
@media (max-width: 782px) { .wpm__side { display: none; } }
.wpm__box { width: min(1118px, 100%); height: min(723px, calc(100vh - 32px)); background: #fff; display: flex; flex-direction: column; font-size: 11px; color: #1d2327; }
.wpm__h { display: flex; justify-content: space-between; align-items: center; padding: 0 11px; height: 34px; font-size: 14px; font-weight: 500; flex: none; }
.wpm__h button { border: 0; background: none; cursor: pointer; font-size: 12px; color: #1d2327; }
.wpm__tabs { display: flex; padding: 0 11px; border-bottom: 1px solid #dcdcde; flex: none; }
.wpm__tabs button { border: 0; background: none; padding: 7px 7px 6px; font-size: 11px; cursor: pointer; border-bottom: 2px solid transparent; color: #1d2327; } .wpm__tabs .on { border: 1px solid #dcdcde; border-bottom-color: #fff; margin-bottom: -1px; } .wpm__tabs .blue { color: #3858e9; }
.wpm__main { display: flex; flex: 1; min-height: 0; }
.wpm__body { flex: 1; min-width: 0; padding: 8px 11px; overflow: auto; }
.wpm__filters { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.wpm__l { display: block; font-size: 9px; color: #8c8f94; margin-bottom: 2px; }
.wpm__sel { height: 22px; font-size: 11px; border: 1px solid #8c8f94; border-radius: 2px; padding: 0 6px; background: #fff; }
.wpm__srch { width: 117px; } .wpm__in { width: 100%; border: 0; border-bottom: 1px solid #8c8f94; height: 22px; font-size: 11px; outline: 0; }
.wpm__grid { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; }
.wpm__it { position: relative; width: 94px; height: 94px; border: 0; padding: 0; background: #eee; cursor: pointer; overflow: hidden; text-align: left; } .wpm__it img { width: 100%; height: 62px; object-fit: cover; display: block; }
.wpm__it span { display: block; padding: 3px 6px; font-size: 9px; line-height: 12px; font-weight: 500; background: #fff; height: 32px; overflow: hidden; }
.wpm__it[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 5px #3858e9; }
.wpm__it[aria-checked="true"]::after { content: "\2713"; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; background: #3858e9; color: #fff; display: grid; place-items: center; font-size: 11px; }
.wpm__side { width: 198px; border-left: 1px solid #dcdcde; background: #f6f7f7; padding: 17px 12px; font-size: 9px; overflow: auto; flex: none; }
.wpm__side h4 { margin: 0 0 8px; font-size: 9px; font-weight: 500; color: #50575e; text-transform: uppercase; }
.wpm__side > img { width: 80px; height: 80px; object-fit: cover; display: block; margin-bottom: 8px; }
.wpm__meta { display: flex; flex-direction: column; font-size: 9px; line-height: 12px; padding-bottom: 12px; border-bottom: 1px solid #dcdcde; margin-bottom: 12px; } .wpm__meta b { font-weight: 500; word-break: break-all; } .wpm__meta a { color: #3858e9; } .wpm__meta a.del { color: #d63638; }
.wpm__form { display: flex; flex-direction: column; gap: 8px; }
.wpm__form label { display: grid; grid-template-columns: 52px 1fr; gap: 6px; align-items: start; color: #50575e; text-align: right; }
.wpm__form textarea, .wpm__form input { width: 100%; border: 1px solid #8c8f94; border-radius: 2px; font-size: 9px; padding: 3px 6px; font-family: inherit; } .wpm__form textarea { height: 30px; }
.wpm__form input[readonly] { background: #f0f0f1; color: #8c8f94; }
.wpm__hint { margin: 0 0 0 58px; font-size: 9px; line-height: 12px; color: #50575e; } .wpm__hint a { color: #3858e9; }
.wpm__copy { margin-left: 58px; align-self: flex-start; border: 1px solid #3858e9; background: #fff; color: #3858e9; font-size: 8px; padding: 2px 5px; border-radius: 2px; cursor: pointer; }
.wpm__f { display: flex; justify-content: flex-end; padding: 7px 10px; border-top: 1px solid #dcdcde; flex: none; }
.wpm__f button { background: #3858e9; color: #fff; border: 0; padding: 5px 11px; border-radius: 2px; font-size: 9px; font-weight: 500; cursor: pointer; } .wpm__f button:disabled { opacity: .5; cursor: not-allowed; }
.wpm__lnk { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 9px; line-height: 12px; color: #3858e9; text-decoration: underline; cursor: pointer; } .wpm__lnk.del { color: #d63638; }
.wpm { animation: mo-fade var(--mo-lg) var(--mo-in) both; }
@media (max-width: 1024px) { .wpm button, .wpm__lnk, .wpm [role=tab], .wpm textarea { min-height: 44px; min-width: 44px; } }
.wpm.is-leaving { opacity: 0; transition: opacity var(--mo-sm, .18s) ease; }
.wpm__lnk { text-align: left; }

/* ===== r23: no email service tooltip on the Settings gear (Thrive toast look: #444648, 4px, 12px padding, white Rubik 500 14) ===== */
.rs-etip { position: fixed; z-index: 90; box-sizing: border-box; padding: 12px 36px 12px 12px; border-radius: 4px; background: var(--surface-overlay-3, #444648); color: #fff; font: 500 14px/1.4 Rubik, sans-serif; box-shadow: var(--shadow-drop-1); opacity: 0; translate: 0 -6px; transition: opacity var(--mo-md, .24s) var(--mo-in, ease), translate var(--mo-md, .24s) var(--mo-in, ease); }
.rs-etip.is-on { opacity: 1; translate: 0 0; }
.rs-etip::before { content: ""; position: absolute; top: -6px; left: calc(var(--ax, 24px) - 6px); width: 12px; height: 12px; background: inherit; rotate: 45deg; border-radius: 2px; }
.rs-etip.no-arrow::before { display: none; }
.rs-etip__t { margin: 0 0 8px; font: inherit; }
.rs-etip__a { color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; border-radius: 2px; }
.rs-etip__a:hover { color: var(--brand-100); } /* same as the toast text action hover */
.rs-etip__a:focus-visible, .rs-etip__x:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 2px; }
.rs-etip__x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: none; color: #fff; cursor: pointer; transition: background-color var(--mo-sm, .18s) ease; }
.rs-etip__x:hover { background: rgba(255, 255, 255, .16); }
.rs-etip__x .fa { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .rs-etip { transition: none; } }
/* rows that grow (title line, full testimonial) keep their 20px bottom padding above the pager; the -20px pull in layout.css is only for fixed-height rows (Rijul, 2026-11-02) */
.dash-rows:has(+ .ds-pager) .dash-row:is(.has-t, .is-full):last-child { margin-bottom: 0; }
/* social: the not-connected account row stands alone (no divider below it) */
.rs-step .rs-acct.rs-acct--solo { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.rs-cmodal > .rs-src, .rs-cmodal > .rs-tweet__note { margin: 0; } /* import review modal */
/* license checklist: Rijul's exact check icon (assets/license/check.svg) in place of the DS glyph */
.ds-checklist .rs-lic2__chk { flex: none; width: 18px; height: 18px; margin-top: 1px; }
/* sticky action footers keep both buttons on the right (Rijul 2026-11-02) */
.rs-foot--end { justify-content: flex-end; }
/* r48: bulk add-tags popover footer (Cancel, Apply) and per-group Clear for the radio filters: layout only */
.rs-pop__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 12px 4px; margin-top: 8px; border-top: 1px solid var(--stroke-tertiary); }
.ds-filter-opts .ofl-gclear { align-self: flex-start; padding: 4px 8px 0 0; }
