/* site-12 (2026-10-21): website quality pass (10 areas). Linked last in index.html. */
/* ---- site-12 system ---- */
/* ---- site-12 system ---- */
/* site-12 "system" (2026-10-21): the shared look of every logged-in page, one step calmer and more even.
   Generic selectors only (.rf-shell / .va-workspace, low specificity), so every area's page-scoped rule still wins. */

/* ---- 1. one type rhythm: section titles share one weight, numbers line up ---- */
:is(.rf-shell .content,.va-workspace .va-main) h2{font-weight:700;letter-spacing:-.015em}
:is(.rf-shell .content,.va-workspace .va-main) h3{font-weight:650;letter-spacing:-.01em}
:is(.rf-shell .content,.va-workspace .va-main) :is(h2,h3,strong,b){font-variant-numeric:tabular-nums}
.rf-shell :is(.mobile-credit,.rf-credits,.rf-badge),.va-workspace .rf-badge{font-variant-numeric:tabular-nums}
:is(.rf-shell,.va-workspace) ::selection{background:rgba(176,160,255,.36);color:#fff}

/* ---- 2. buttons: a small press so a tap feels answered (scale composes with any existing transform; nothing moves around it) ---- */
:is(.rf-shell .content,.va-workspace .va-main) :is(button,.button):not(:disabled):not([aria-disabled=true]):active{scale:.985}

/* ---- 3. loading: a quiet line with a spinner instead of a tall empty box ---- */
:is(.rf-shell .content,.va-workspace .va-main) .loading:not(:has(*)),
.rf-shell .content #partner-list>p[role=status]:only-child{display:flex;align-items:center;justify-content:center;gap:10px;min-height:88px;margin:0;padding:24px 16px;border:1px dashed #2f3040;border-radius:16px;background:rgba(255,255,255,.015);color:#a2a5b4;font-size:14px;font-weight:500;line-height:1.4;text-align:center}
:is(.rf-shell .content,.va-workspace .va-main) .loading:not(:has(*))::before,
.rf-shell .content #partner-list>p[role=status]:only-child::before{content:"";flex:0 0 16px;width:16px;height:16px;border-radius:50%;border:2px solid rgba(176,160,255,.22);border-top-color:#b0a0ff;animation:rf12-spin .8s linear infinite}
@keyframes rf12-spin{to{transform:rotate(360deg)}}

/* ---- 4. empty states: one icon badge, readable text, the one button centered ---- */
.rf-shell .content .empty{padding:36px 22px;border:1px dashed #33344a}
.rf-shell .content .empty .empty-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border-radius:14px;background:rgba(176,160,255,.12);color:#cdbdff;font-size:20px;line-height:1}
.rf-shell .content .empty h3{margin:0 0 6px;font-size:18px}
.rf-shell .content .empty p{max-width:44ch;margin:0 auto 16px;color:#a2a5b4;font-size:14.5px;line-height:1.55}

/* ---- 5. phones ---- */
@media(max-width:900px){
  /* Approvals: "Approve from your phone" makes no sense when the owner is already on the phone */
  .rf-shell[data-page=reviews] .page-heading [data-rf-approve-phone]{display:none}
}

/* ---- 6. Settings > Posting accounts: calmer rows; removing stays one tap away but is not the loudest word ---- */
.rf-shell[data-page=accounts] .acc-list .connection-row [data-action=remove-account]{color:#b9a3a8;font-weight:600}
.rf-shell[data-page=accounts] .acc-list .connection-row [data-action=remove-account]:is(:hover,:focus-visible){color:#ff9aa4}
.rf-shell[data-page=accounts] .acc-list .connection-row strong{letter-spacing:-.01em}
.rf-shell[data-page=accounts] .acc-list .acc-group strong{font-size:16px}

/* ---- 7. Settings > Partners: the access-level explainer reads as a short list ---- */
.rf-shell[data-page=partners] .partner-roles>summary{font-weight:650}
.rf-shell[data-page=partners] .partner-roles dt{margin-top:12px;font-weight:700;color:#f4f3f8}
.rf-shell[data-page=partners] .partner-roles dd{margin:4px 0 0;color:#a2a5b4;font-size:14px;line-height:1.55}

@media(prefers-reduced-motion:reduce){
  :is(.rf-shell .content,.va-workspace .va-main) .loading:not(:has(*))::before,.rf-shell .content #partner-list>p[role=status]:only-child::before{animation:none;border-top-color:rgba(176,160,255,.22)}
  :is(.rf-shell .content,.va-workspace .va-main) :is(button,.button):active{scale:none}
}


/* ---- site-12 firstpage ---- */
/* ---- site-12 firstpage (public homepage) ----
   Scoped to .rf-landing only. Five credit packs (landing-content.js) instead of seven; calmer hero video card on the phone. */
.rf-landing .rf-packs{grid-template-columns:repeat(5,minmax(0,1fr))}
.rf-landing .rf-pack small{font-variant-numeric:tabular-nums}
.rf-landing .rf-hero-player .rf-big-play{gap:12px}
.rf-landing .rf-tour-player .rf-big-play{gap:10px}
.rf-landing .rf-tour-player .rf-big-play-icon{width:64px;height:64px;font-size:24px;padding-left:4px;box-shadow:0 0 0 8px #bdabff29,0 14px 36px #0009}
.rf-landing .rf-tour-player .rf-big-play-label{font-size:12px;padding:7px 12px}
@media(max-width:720px){
  /* Place play controls along the lower frame edge on phones so they never cover faces while keeping the full-frame tap target. */
  .rf-landing .rf-hero-player .rf-big-play,.rf-landing .rf-tour-player .rf-big-play{justify-content:flex-end;align-items:center;padding:0 12px 14px;gap:8px;background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.74))}
  .rf-landing .rf-hero-player .rf-big-play-icon,.rf-landing .rf-tour-player .rf-big-play-icon{width:52px;height:52px;font-size:20px;padding-left:3px;box-shadow:0 0 0 6px #bdabff2e,0 10px 24px #000a}
  .rf-landing .rf-hero-player .rf-big-play-label{display:none}
  .rf-landing .rf-tour-player .rf-big-play-label{font-size:11px;padding:5px 11px}
  .rf-landing .rf-hero-player{margin-top:2px}
  .rf-landing .rf-packs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rf-landing .rf-pack small{font-size:12px}
  .rf-landing .rf-calc-results span{font-size:12.5px;line-height:1.4}
}


/* ---- site-12 onboard ---- */
/* ===== site-12 onboard: Home while her first reel does not exist yet ([data-ob-fresh] from start-here.js) =====
   The setup guide and her card are the page. The zero tiles, empty chart, empty queue, "All clear" and team box come back
   by themselves with her first reel (Needs you stays one tap away in the tab above). Hidden always in this state, never
   after an async fill, so nothing appears or jumps while the page loads. */
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) :is(.home-today,.home-stats,.home-performance,.home-priorities,.home-upcoming,.home-team,.home-results-link){display:none!important}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh])>.home-heading{order:1!important}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh])>.home-fresh-guide{order:2!important}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh])>.home-desk{order:3!important}
/* With the side column empty, her card sits under the guide at full width (no blank right half on desktop). */
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .home-desk{display:block!important}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .home-desk-side{display:none!important}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .home-desk-main{width:100%;max-width:none}
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .home-roster{margin-top:4px}
/* Her card's next step reads as the one thing to do. */
.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .creator-card-status.is-next{color:var(--accent-text,#c9b8ff);font-weight:600}
@media(min-width:700px){.rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]) .home-roster .creator-grid{grid-template-columns:repeat(auto-fill,minmax(200px,260px))}}
/* Her page header while her photos are the next step: "Add her photos" takes the primary's place (full row on a phone,
   last on a desktop), on one line with its arrow. */
.rf-shell[data-page="creator"] .creator-heading>.creator-actions>.rf-ob-head-step{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;font-size:15px;white-space:nowrap;text-decoration:none}
@media(min-width:900px){.rf-shell[data-page="creator"] .creator-heading>.creator-actions>.rf-ob-head-step{order:9;min-height:44px;font-size:14px;padding:0 18px}}
/* Her Dashboard tab already shows the setup card with its own "Add her photos": one primary per screen. */
.rf-shell[data-page="creator"]:has(.rf-start-creator) .creator-heading>.creator-actions>.rf-ob-head-step{display:none}
/* Desktop: a Home laid out as named grid areas (Needs you beside today's tiles) collapses to one column here, so the
   guide comes right under the heading and her card under the guide (no empty rows where the hidden widgets were). */
@media(min-width:1100px){
  .rf-shell[data-page=creators] .agency-home:has([data-ob-fresh]){grid-template-areas:none!important;grid-template-rows:none!important;grid-template-columns:minmax(0,1fr)!important}
  .rf-shell[data-page=creators] .agency-home:has([data-ob-fresh])>*{grid-area:auto!important;grid-column:1/-1!important}
}


/* ---- site-12 home ---- */
/* ===== site-12 home: what needs you and what is running come first; the setup guide follows (scoped to Home + Needs you) ===== */

/* Phone + tablet (one column, ordered blocks): heading, Needs you, today's tiles, the setup guide, Up next, creators, team, chart. */
@media(max-width:1099px){
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading{order:1}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh) .home-desk-main>.home-priorities{order:2}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-today{order:3}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-fresh-guide{order:4}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh) .home-desk-side>.home-upcoming{order:5}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh) .home-desk-main>.home-roster{order:6}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh) .home-desk-side>.home-team{order:7}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-performance{order:8}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh) .home-desk-side>.home-results-link{order:9}
}
/* Desktop: Needs you beside today's tiles and Up next on the first screen; the guide spans below them. */
@media(min-width:1100px){
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh):has(>.home-fresh-guide){grid-template-areas:"head head" "needs today" "needs next" "guide guide" "roster team" "roster results" "perf perf";grid-template-rows:auto auto 1fr auto auto auto auto}
}

/* Phone: "Overview" is already the selected tab right above; the heading becomes one short row (date + How it works). */
@media(max-width:720px){
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading{display:flex;align-items:center;min-height:0;margin:0;padding:0}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading>div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;width:100%;min-width:0}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading .home-kicker{margin:0;font-size:12px;letter-spacing:.08em}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading h1{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading .rf-tour-reopen{display:inline-flex;align-items:center;min-height:44px;margin:0 -6px 0 auto;padding:0 6px;border:0;border-radius:10px;background:none;box-shadow:none;color:var(--rf-purple,#b0a0ff);font-size:13px;font-weight:600}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading>.home-refresh{display:none}
  .rf-shell[data-page=creators] .agency-home .home-priorities .home-section-kicker{display:none}
}

/* Desktop + tablet: "How it works" sits at the right of the heading instead of on its own row. */
@media(min-width:721px){
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:end;width:100%;min-width:0}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading>div>*{grid-column:1}
  .rf-shell[data-page=creators] .agency-home:not(.is-fresh)>.home-heading>div>.rf-tour-reopen{grid-column:2;grid-row:1/span 3;align-self:end;margin:0}
}

/* Needs you page on a phone: title and "Account health" on one row, the line under it, then the list. */
@media(max-width:720px){
  .rf-shell[data-page=todo] .todo>.page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:0;padding-bottom:14px;margin-bottom:18px}
  .rf-shell[data-page=todo] .todo>.page-heading>div{display:contents}
  .rf-shell[data-page=todo] .todo>.page-heading .eyebrow{display:none}
  .rf-shell[data-page=todo] .todo>.page-heading h1{grid-column:1;grid-row:1;margin:0}
  .rf-shell[data-page=todo] .todo>.page-heading>a{grid-column:2;grid-row:1;display:inline-flex;align-items:center;min-height:44px;margin:0}
  .rf-shell[data-page=todo] .todo>.page-heading>div>p:not(.eyebrow){grid-column:1/-1;grid-row:2;margin:6px 0 0}
}

/* Home: one short card that opens the target accounts tool on Team & VAs (was the whole tool, repeated). */
.rf-shell[data-page=creators] .home-targets-link{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"icon text go";align-items:center;column-gap:14px;margin:22px 0 0;padding:16px 18px;border:1px solid #ffffff12;border-radius:18px;background:linear-gradient(180deg,#1b1c25,#16171e);color:var(--rf-ink,#f4f3f8);text-decoration:none;transition:border-color .15s ease}
.rf-shell[data-page=creators] .home-targets-link:hover{border-color:#8f78ff66;transform:none;box-shadow:none;filter:none}
.rf-shell[data-page=creators] .home-targets-link:focus-visible{outline:2px solid var(--rf-purple,#b0a0ff);outline-offset:2px}
.rf-shell[data-page=creators] .home-targets-icon{grid-area:icon;position:relative;width:44px;height:44px;border-radius:12px;background:#8f78ff24}
.rf-shell[data-page=creators] .home-targets-icon::before{content:"";position:absolute;inset:11px;border:2px solid #cfc2ff;border-radius:50%}
.rf-shell[data-page=creators] .home-targets-icon::after{content:"";position:absolute;inset:19px;border-radius:50%;background:#cfc2ff}
.rf-shell[data-page=creators] .home-targets-text{grid-area:text;display:grid;gap:3px;min-width:0}
.rf-shell[data-page=creators] .home-targets-text small{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a99fc4}
.rf-shell[data-page=creators] .home-targets-text strong{font-size:15px;font-weight:650;line-height:1.3;letter-spacing:-.01em}
.rf-shell[data-page=creators] .home-targets-text>span{font-size:13px;line-height:1.45;color:var(--rf-muted,#9a9cab)}
.rf-shell[data-page=creators] .home-targets-go{grid-area:go;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;background:#ffffff0d;color:#ece7ff;font-size:14px;font-weight:600;white-space:nowrap}
.rf-shell[data-page=creators] .home-targets-go::after{content:"";width:6px;height:6px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;transform:rotate(45deg)}
@media(max-width:720px){
  .rf-shell[data-page=creators] .home-targets-link{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"icon text" "icon go";row-gap:8px;margin-top:14px;padding:14px}
  .rf-shell[data-page=creators] .home-targets-icon{align-self:start}
  .rf-shell[data-page=creators] .home-targets-go{justify-self:start;min-height:40px;padding:0;background:none;color:var(--rf-purple,#b0a0ff)}
}

/* Needs you page: the "Show N more" under Approvals is a full-width quiet row, like the one under account problems. */
.rf-shell[data-page=todo] .todo-section .todo-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:8px}

/* Tablet: today's four tiles as 2 x 2 (auto-fit left a lone tile on its own row). */
@media(min-width:721px) and (max-width:1099px){
  .rf-shell[data-page=creators] .agency-home .home-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ---- site-12 create ---- */
/* site-12 create: phone step strip as one slim row (the form starts on the first screen), no empty filter chips for a
   newcomer, a calmer empty state in Your work. Scoped to the Create page. */
@media (max-width:720px){
  .rf-shell[data-page=create] .create-how{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:2px -4px 18px}
  .rf-shell[data-page=create] .create-how li,.rf-shell[data-page=create] .create-how li:first-child{position:relative;flex-direction:column;align-items:center;gap:6px;padding:0 3px;text-align:center;background:none;border:0;border-radius:0}
  .rf-shell[data-page=create] .create-how li+li::before{content:"";position:absolute;top:11px;right:calc(50% + 16px);width:calc(100% - 32px);height:2px;border-radius:2px;background:#ffffff17}
  .rf-shell[data-page=create] .create-how b{width:24px;height:24px;font-size:12px;box-shadow:0 0 0 1px #ffffff14}
  .rf-shell[data-page=create] .create-how li:first-child b{box-shadow:0 0 0 4px #8f78ff26}
  .rf-shell[data-page=create] .create-how strong{font-size:12px;line-height:1.25;font-weight:600;color:#bdb9cf}
  .rf-shell[data-page=create] .create-how li:first-child strong{color:var(--rf-ink)}
  .rf-shell[data-page=create] .create-how small{display:none}
}

/* Your work: a newcomer with nothing made yet sees one calm card, not three filters that all say 0 */
.rf-shell[data-page=create] #creation-queue:has(.creation-filters>[data-view=all].active):has(.creation-list>.creation-empty) .creation-filters{display:none}
.rf-shell[data-page=create] #creation-queue .creation-empty{padding:28px 20px;border-radius:16px}
.rf-shell[data-page=create] #creation-queue .creation-empty h3{margin:8px 0 6px;font-size:16px}
.rf-shell[data-page=create] #creation-queue .creation-empty p{max-width:34ch;margin:0 auto;font-size:13.5px;line-height:1.5;color:var(--rf-muted)}


/* ---- site-12 library ---- */
/* ================================================================ site-12 library: Library, Approvals, Results, Deliveries
   Every selector is scoped to its page (.rf-shell[data-page=library|reviews|performers|jobs]). */

/* ---------------------------------------------------------------- Library */
/* Card destination: "@handle" is enough on a phone; the "Main account" word was cut to "Main ac..." */
@media (max-width:720px){
  .rf-shell[data-page=library] .rf-dest .rf-dest-txt small{display:none}
  .rf-shell[data-page=library] .rf-dest .rf-dest-txt strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* A cover that has not loaded yet is a soft tile, not a black hole */
.rf-shell[data-page=library] .video-cover,.rf-shell[data-page=library] .carousel-cover{background:radial-gradient(120% 80% at 50% 30%,#221f30 0%,#15141c 70%)}

/* ---------------------------------------------------------------- Approvals (#reviews) */
/* The late note: one short amber line with a marker, not a block of amber text */
.rf-shell[data-page=reviews] .review-grid .review-card .review-attention-note{position:relative;margin:8px 0 0;padding-left:12px;font-size:13px;line-height:1.4;color:#f1d08f}
.rf-shell[data-page=reviews] .review-grid .review-card .review-attention-note::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:3px;background:#e8b250}
/* Missed-time cards: the choice is only "new time or cancel". Keep the caption (it says which post it is), drop the rest. */
.rf-shell[data-page=reviews] .review-card.is-late .review-rest>p,.rf-shell[data-page=reviews] .review-card.is-late .review-rest>label,.rf-shell[data-page=reviews] .review-card.is-late .review-rest>.review-tags,.rf-shell[data-page=reviews] .review-card.is-late .review-rest>.divider{display:none}
.rf-shell[data-page=reviews] .review-card.is-late .review-rest>.review-copy{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:10px 0 12px;padding:9px 12px;font-size:13px;line-height:1.4;color:var(--rf-muted,#a3a7b6);background:#ffffff06;border:1px solid #ffffff10;border-radius:10px}
.rf-shell[data-page=reviews] .review-card.is-late .review-media{max-height:170px}
/* Who it goes to: quiet meta, not a bold heading */
.rf-shell[data-page=reviews] .review-grid .review-card .review-rest>p>strong{font-size:13px;font-weight:600;color:var(--rf-muted,#a3a7b6)}
@media (max-width:720px){
  .rf-shell[data-page=reviews] .review-card.is-late .review-rest>.review-copy{display:-webkit-box;-webkit-line-clamp:1;margin:0 0 10px;padding:8px 10px}
  .rf-shell[data-page=reviews] .review-card.is-late .review-media{max-height:112px}
  .rf-shell[data-page=reviews] .review-grid .review-card .review-attention-note{margin-top:4px;font-size:12.5px}
}

/* ---------------------------------------------------------------- Results (#performers) */
/* "Regular" / "Post" is the normal case on every card: only the "Trial" pill stays */
.rf-shell[data-page=performers] .performer-body>.row.between>.pill:not(.purple){display:none}
/* Numbers: three even columns, label straight above its number */
.rf-shell[data-page=performers] .performer-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.rf-shell[data-page=performers] .performer-numbers>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.rf-shell[data-page=performers] .performer-numbers strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
@media (min-width:1180px){
  .rf-shell[data-page=performers] .performer-numbers{padding:10px 12px}
  .rf-shell[data-page=performers] .performer-numbers strong,.rf-shell[data-page=performers] .performer-numbers .metric-views strong{font-size:18px;letter-spacing:-.02em}
  .rf-shell[data-page=performers] .performer-numbers .metric-label svg{display:none}
  .rf-shell[data-page=performers] .performer-actions button{width:100%}
}

/* ---------------------------------------------------------------- Deliveries (#jobs) */
/* Status mark: a round tinted badge instead of a dark square */
.rf-shell[data-page=jobs] .rf-job-thumb.is-done,.rf-shell[data-page=jobs] .rf-job-thumb.is-stop,.rf-shell[data-page=jobs] .rf-job-thumb.is-busy{width:44px;height:44px;justify-self:center;border-radius:50%;font-size:17px;font-weight:700}
@media (max-width:720px){.rf-shell[data-page=jobs] .rf-job-thumb.is-done,.rf-shell[data-page=jobs] .rf-job-thumb.is-stop,.rf-shell[data-page=jobs] .rf-job-thumb.is-busy{width:40px;height:40px;font-size:15px}}
.rf-shell[data-page=jobs] .rf-job-thumb.is-done{background:rgba(74,222,128,.10);border-color:rgba(74,222,128,.28);color:#7ee2a2}
.rf-shell[data-page=jobs] .rf-job-thumb.is-stop{background:rgba(245,180,80,.10);border-color:rgba(245,180,80,.30);color:#f3c06e}
.rf-shell[data-page=jobs] .rf-job-thumb.is-busy{background:rgba(160,130,255,.12);border-color:rgba(160,130,255,.30);color:#c9b8ff}

/* ---------------------------------------------------------------- Library cards: calmer grid */
/* Sixteen solid purple buttons made the grid shout. The card's main action is a soft tinted button; the page's one solid
   button stays "+ Upload media". */
.rf-shell[data-page=library] .asset-card .asset-actions>button:not(.secondary):not(.ghost){background:rgba(150,120,255,.16);color:#e6ddff;border:1px solid rgba(170,145,255,.38);box-shadow:none;text-shadow:none}
.rf-shell[data-page=library] .asset-card .asset-actions>button:not(.secondary):not(.ghost):hover{background:rgba(150,120,255,.28);border-color:rgba(190,170,255,.6);color:#fff}
.rf-shell[data-page=library] .asset-card .asset-actions>button:not(.secondary):not(.ghost):focus-visible{outline:2px solid #b9a4ff;outline-offset:2px}

/* ---------------------------------------------------------------- Small phones (320-360 px) */
.rf-shell[data-page=performers] .performer-ratio .ratio-badge{white-space:nowrap}
@media (max-width:360px){
  .rf-shell[data-page=performers] .performer-numbers{gap:3px;padding:6px 7px}
  .rf-shell[data-page=performers] .performer-numbers strong,.rf-shell[data-page=performers] .performer-numbers .metric-views strong{font-size:13px;text-overflow:clip}
  .rf-shell[data-page=library] form[data-form=library-search] select{padding-left:10px!important;padding-right:6px!important}
}


/* ---- site-12 team ---- */
/* site-12 team: VAs page. Phone: the team first (next step, then each VA), the 30-day numbers after as one compact list. */
@media (max-width:720px){
  .rf-shell[data-page=vas] .tv{display:flex;flex-direction:column}
  .rf-shell[data-page=vas] .tv>.tv-team-next{order:0}
  .rf-shell[data-page=vas] .tv>.tv-grid{order:1}
  .rf-shell[data-page=vas] .tv>.tv-tiles{order:2;margin:14px 0 0}
  .rf-shell[data-page=vas] .tv-team-next{min-height:96px}
  .rf-shell[data-page=vas] .tv-tiles{display:grid;grid-template-columns:1fr;gap:0;padding:4px 14px;border:1px solid #ffffff0f;border-radius:16px;background:linear-gradient(180deg,#1a1b23,#15161c)}
  .rf-shell[data-page=vas] .tv-tiles::before{content:"Team results";padding:10px 0 6px;font-size:12px;font-weight:700;letter-spacing:.04em;color:#cdbaff}
  .rf-shell[data-page=vas] .tv-tiles>.tv-tile,.rf-shell[data-page=vas] .tv-tiles>:last-child:nth-child(odd){display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"l v" "s v";align-items:center;column-gap:12px;row-gap:1px;grid-column:auto;min-height:52px;padding:8px 0;border:0;border-top:1px solid #ffffff0a;border-radius:0;background:none;box-shadow:none;transform:none}
  .rf-shell[data-page=vas] .tv-tile>span{grid-area:l;font-size:13px;letter-spacing:0;color:var(--rf-ink,#ecebf3)}
  .rf-shell[data-page=vas] .tv-tile>small{grid-area:s;font-size:11.5px}
  .rf-shell[data-page=vas] .tv-tile>strong{grid-area:v;font-size:18px;text-align:right}
  .rf-shell[data-page=vas] a.tv-tile>small{color:#cdbaff}
  /* Its heading gets the full width on a phone (the round icon squeezed the title to two short lines). */
  .rf-shell[data-page=vas] .va-targets-card .rs-head>.rs-icon{display:none}
  .rf-shell[data-page=vas] .va-targets-card .rs-title p{font-size:14px;line-height:1.5}
}
/* Target accounts (phone and desktop): an empty box keeps "Reels a day" and the trials switch (they count for VAs on main's reels too); "Viral only" shows once
   an account is in (the hidden fields still save their defaults). */
.rf-shell[data-page=vas] .va-targets-card .rs-card.is-pool:has(.rs-empty) .rs-rules,.rf-shell[data-page=vas] .va-targets-card .rs-card:has(.rs-empty) .rs-switch:has([name=viral_only]){display:none}


/* ---- site-12 vaapp ---- */
/* site-12 · vaapp: the VA's own app at phone width. Every rule is scoped to .va-workspace (VA shell only). */

/* No lone last words ("within 12 / h") in the VA's short texts. */
.va-workspace :is(p, dd, small, .rf-kit-hint, h2, h3) { text-wrap: pretty; }

/* To-dos: an empty ring for an open task (the old ring held a tiny "○" letter). */
.va-workspace[data-page=today] .vt-task:not(.is-help) .va-task-tick:not(.is-done) { color: transparent; border: 2px solid #ffffff38; }
/* One filled button per account card: the first open task keeps it, later open tasks get the quiet outline. */
.va-workspace[data-page=today] .vt-task:not(.is-done) ~ .vt-task:not(.is-done) .va-task-actions > button[data-va-action=task][data-status=done],
.va-workspace[data-page=today] .vt-task:not(.is-done) ~ .vt-task:not(.is-done) .va-task-actions > button[data-va-action=task][data-status=done]:hover {
  background: transparent; background-image: none; color: #d9ccff; border: 1px solid #a78bfa70; box-shadow: none;
}
.va-workspace[data-page=today] .vt-task:not(.is-done) ~ .vt-task:not(.is-done) .va-task-actions > button[data-va-action=task][data-status=done]:hover { background: #a78bfa1f; }
/* The open task you are on gets a soft accent edge so the eye lands there first. */
.va-workspace[data-page=today] .vt-account .vt-task:not(.is-done):not(.vt-task:not(.is-done) ~ .vt-task) { border-color: #a78bfa55; background: linear-gradient(180deg, #a78bfa12, transparent 70%); }

/* Posts: tighter page head on phones so the first kit's video, Save and Copy caption show on the first screen. */
@media (max-width: 600px) {
  .va-workspace[data-page=kits] .rf-kits > .page-heading { padding-bottom: 14px; margin-bottom: 14px; }
  .va-workspace[data-page=kits] .rf-kits > .page-heading h1 { font-size: 28px; line-height: 1.12; margin: 2px 0 6px; }
  .va-workspace[data-page=kits] .rf-kits > .page-heading p { font-size: 15px; line-height: 1.45; margin: 0; }
  .va-workspace[data-page=kits] .rf-kits > .page-heading .eyebrow { margin: 0; }
}

/* Team chat on phones: "Who sees this" gets its own full row (it was cut to "Everyone in the ag…"),
   then Photo / Library / Send on one row with 44 px targets. */
@media (max-width: 600px) {
  .va-workspace[data-page=team-chat] .chat-compose-actions { flex-wrap: wrap; gap: 8px; }
  .va-workspace[data-page=team-chat] .chat-compose-actions > .chat-audience { order: -1; flex: 1 1 100%; min-width: 0; display: flex; align-items: center; gap: 8px; }
  .va-workspace[data-page=team-chat] .chat-compose-actions > .chat-audience select { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; }
  .va-workspace[data-page=team-chat] .chat-compose-actions > :is(.chat-attach, .chat-library) { min-width: 48px; min-height: 44px; }
  .va-workspace[data-page=team-chat] .chat-compose-actions > button[type=submit] { flex: 1 1 auto; margin-left: auto; min-height: 44px; }
}

/* Small phones (320-360 px): page title on one line and the avatar stays in the top bar (it dropped below on "Team chat"). */
@media (max-width: 360px) {
  .va-workspace .va-topbar { gap: 8px; }
  .va-workspace .va-topbar > strong { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .va-workspace .va-topbar > .row { flex-wrap: nowrap; flex: 0 0 auto; gap: 6px; }
}


/* ---- site-12 money ---- */
/* ---- site-12 money: Credits, Revenue, Payouts (every rule scoped to its page) ---- */

/* Credits: the dollar line under the price list */
.rf-shell[data-page=billing] .bv-prices-usd{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#b5a0ff12;border:1px solid #b5a0ff2e;color:var(--text,#f2f3f7);font-size:14px;line-height:1.45}
.rf-shell[data-page=billing] .bv-prices-usd strong{color:#d9cfff;font-weight:700}

/* Credits: activity filters stay one tidy row on a phone (they wrapped to two lines), 44 px taps */
@media (max-width:640px){
  .rf-shell[data-page=billing] .bv-filters{flex-wrap:nowrap;gap:4px}
  .rf-shell[data-page=billing] .bv-chip{flex:1 1 auto;min-width:0;min-height:44px;padding:6px 8px;white-space:nowrap;font-size:12.5px}
  .rf-shell[data-page=billing] .bv-prices-usd{font-size:13.5px}
}
@media (max-width:379px){
  .rf-shell[data-page=billing] .bv-filters{display:grid;grid-template-columns:1fr 1fr;gap:6px}
}

/* Revenue: the notes now sit right under the numbers */
.rf-shell[data-page=revenue] .ml-hero + .ml-alerts{margin-top:-6px}

/* Payouts: a VA row on a phone reads in one column (name, then "joined · wallet", then her 7-day money); the
   "Recruited by" picker gets the full width. The 3 squeezed columns wrapped every 2 words. */
@media (max-width:640px){
  .rf-shell[data-page=payouts] .po-person{grid-template-columns:auto minmax(0,1fr);row-gap:6px}
  .rf-shell[data-page=payouts] .po-person-money{grid-column:2;display:flex;align-items:baseline;gap:6px;text-align:left}
  .rf-shell[data-page=payouts] .po-person-money small{white-space:nowrap}
  .rf-shell[data-page=payouts] .po-person select{grid-column:1 / -1;width:100%}
}


/* ---- site-12 bugs ---- */
/* site-12 bugs: phone tap targets under 44 px (found by probing every owner + VA route at 390 px). Hit areas grow; looks stay. */
@media (max-width: 760px) {
  /* Command center: account chips were 27 px tall */
  .rf-shell[data-page="supervisor"] .rf-chips a.rf-chip{position:relative}
  .rf-shell[data-page="supervisor"] .rf-chips a.rf-chip::after{content:"";position:absolute;inset:-9px -2px}
  /* VAs: "Manage assignment" (24 px) and "Check delivery" (20 px) links */
  .rf-shell[data-page="vas"] .va-hub-assignment-head > a{min-height:44px;align-items:center}
  .rf-shell[data-page="vas"] .va-hub-issues a{display:inline-flex;align-items:center;min-height:44px}
  /* Scorecards: "Open the team page" was 11 px text on a 17 px row */
  .rf-shell[data-page="scorecards"] .content a[href$="/team"]{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
  /* Results: "Watch original" was 10.5 px text on a 30 px strip */
  .rf-shell[data-page="performers"] a.performer-watch{min-height:44px;font-size:12px}
  /* Payouts: the on/off switches were an 18 px box */
  .rf-shell[data-page="payouts"] .po-switch{min-height:44px;cursor:pointer}
  .rf-shell[data-page="payouts"] .po-switch input{flex:0 0 18px}
  /* Team chat: "Warnings & next steps" opener was 32 px */
  .rf-shell[data-page="team-chat"] .chat-supervision-body > summary{min-height:44px;align-items:center}
  .rf-shell[data-page="team-chat"] .content button.text-button.small{min-height:44px}
  /* Money links: "Edit the introduction" opener was 38 px */
  .rf-shell[data-page="links"] .content details > summary{min-height:44px}
  /* Creator page: back link, "Add her Instagram username", VA names under "Managed by" */
  .rf-shell[data-page="creator"] .content > a.back-link{display:inline-flex;align-items:center;min-height:44px}
  .rf-shell[data-page="creator"] .cs-help button.text-button[data-action="add-posting-account"]{min-height:44px}
  .rf-shell[data-page="creator"] button.va-accounts-link{position:relative}
  .rf-shell[data-page="creator"] button.va-accounts-link::after{content:"";position:absolute;inset:-12px -6px}
  /* VA app: logo link in the phone header was 34 px */
  .va-workspace .va-mobile-brand a.brand{min-height:44px;align-items:center}
}
/* intake-1: "Next reels for a VA" box and each card's "Next up" list. Append to the last-loaded stylesheet (CSP: no inline styles). */
.rs-paste textarea{margin:0;min-height:40px;width:100%;resize:vertical;font:inherit}
.rs-next{display:grid;gap:6px;margin-top:6px}
.rs-next small{font-size:12px;color:var(--rf-muted)}
@media(max-width:720px){.rs-paste textarea{grid-column:1/-1}}

/* ---- 2026-11-15 10/10 UI/UX polish: unified tokens, interactive states, topbar account menu, compact Create preview, empty/retry states ---- */
:root,
:is(.rf-shell,.va-workspace){
  --bg:#111217;
  --panel:#191a21;
  --panel-2:#1f2029;
  --line:#2b2c36;
  --line-2:#3a3c4a;
  --border:var(--line);
  --text:#f4f3f8;
  --muted:#a2a5b4;
  --purple:#b0a0ff;
  --lime:#dcf993;
  --red:#ff939c;
  --radius:16px;
  --surface-raised:#1f2029;
  --rf-ink:#f4f3f8;
  --rf-muted:#a2a5b4;
  --rf-faint:#878b9d;
  --rf-panel:#191a21;
  --rf-panel-2:#1f2029;
  --rf-line:#2b2c36;
  --rf-line-2:#3a3c4a;
  --rf-purple:#b0a0ff;
  --rf-purple-2:#8f78ff;
  --rf-lime:#dcf993;
  --rf-ok:#5fd39a;
  --rf-warn:#f0b65a;
  --rf-bad:#ff939c;
  --rf-focus:#cdbdff;
  --rf-r-s:10px;
  --rf-r-m:14px;
  --rf-r-l:18px;
  --rf-r-xl:22px;
}

:is(.rf-shell,.va-workspace) :is(.card,.account-panel,.scorecard,.asset-card,.performer-card,.creation-item){
  border-radius:var(--radius);
  border-color:var(--rf-line);
}

:is(.rf-shell .content,.va-workspace .va-main,#modal,.join-shell) :is(button,.button):not(.close):not(.cal-day):not(.rf-portrait-pick):not(.vg-dot):not(.lang-option):not(.home-character-picker){
  border-radius:10px;
  line-height:1.25;
  text-align:center;
  transition:background .16s,border-color .16s,color .16s,filter .16s,transform .12s;
}
:is(.rf-shell .content,.va-workspace .va-main,#modal,.join-shell) :is(button,.button):not(.close):not(.cal-day):not(.rf-portrait-pick):not(.vg-dot):not(.lang-option):not(.home-character-picker):hover:not(:disabled){
  filter:brightness(1.07);
}
:is(.rf-shell .content,.va-workspace .va-main,#modal,.join-shell) :is(button,.button):not(.close):not(.cal-day):not(.rf-portrait-pick):not(.vg-dot):not(.lang-option):not(.home-character-picker):active:not(:disabled){
  transform:translateY(1px);
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button,.button):disabled,
:is(.rf-shell,.va-workspace,#modal,.join-shell) .button[aria-disabled="true"]{
  opacity:.46;
  cursor:not-allowed;
  pointer-events:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.secondary,.button.secondary){
  background:#262732;
  color:var(--rf-ink);
  border:1px solid var(--rf-line-2);
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.secondary,.button.secondary):hover:not(:disabled){
  background:#2f313e;
  border-color:#5b5d70;
  filter:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.outline,.button.outline){
  background:transparent;
  color:var(--rf-ink);
  border:1px solid var(--rf-line-2);
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.outline,.button.outline):hover:not(:disabled){
  background:#ffffff0a;
  border-color:var(--rf-purple);
  filter:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.ghost,.button.ghost){
  background:transparent;
  color:var(--rf-muted);
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.ghost,.button.ghost):hover:not(:disabled){
  background:#ffffff0a;
  color:var(--rf-ink);
  filter:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.text-button,.text-button){
  background:transparent;
  color:#c7b8ff;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.text-button,.text-button):hover:not(:disabled){
  background:#b0a0ff14;
  color:#e4dcff;
  filter:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.danger,.button.danger){
  background:#3b242e;
  color:var(--rf-bad);
  border:1px solid #633543;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.danger,.button.danger):hover:not(:disabled){
  background:#492b37;
  border-color:#88485b;
  filter:none;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button.small,.button.small){
  min-height:36px;
  padding:7px 12px;
  font-size:12px;
}
:is(.rf-shell,.va-workspace,#modal,.join-shell) :is(button,.button,a,input,textarea,select,summary):focus-visible{
  outline:2px solid var(--rf-focus);
  outline-offset:3px;
}

/* Sidebar signed-in identity + review badge pills */
.rf-side-user{
  display:block;
  padding:2px 10px 6px;
  font-size:11.5px;
  line-height:1.4;
  color:var(--rf-muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rf-side-user strong{color:var(--rf-ink);font-weight:600}
.rf-door .rf-badge,
.rf-tabs .rf-badge-inline,
.rf-more-link .rf-badge-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:19px;
  height:19px;
  padding:0 6px;
  border-radius:999px;
  background:var(--rf-purple);
  color:#161224;
  font-size:11px;
  font-weight:700;
  line-height:1;
  font-variant-numeric:tabular-nums;
  flex:0 0 auto;
}
.rf-door .rf-badge,
.rf-more-link .rf-badge-inline{margin-left:auto}
.rf-tabs .rf-badge-inline{margin-left:6px}
[data-reviews-badge][hidden],
.rf-badge[hidden],
.rf-badge-inline[hidden]{display:none}

/* Topbar account menu */
.rf-account-menu{position:relative;flex:0 0 auto}
.rf-account-menu>summary{list-style:none;cursor:pointer}
.rf-account-menu>summary::-webkit-details-marker{display:none}
.rf-account-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  min-width:38px;
  min-height:38px;
  padding:0;
  border-radius:999px;
  background:var(--rf-panel-2);
  border:1px solid var(--rf-line-2);
  color:var(--rf-ink);
  transition:border-color .15s,background .15s,transform .12s;
}
.rf-account-trigger:hover,
.rf-account-menu[open] .rf-account-trigger{
  border-color:var(--rf-purple);
  background:#262535;
}
.rf-account-avatar{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  border-radius:inherit;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  color:#ece6ff;
  background:radial-gradient(circle at 30% 25%,rgba(176,160,255,.32),rgba(143,120,255,.12));
  text-transform:uppercase;
}
.rf-account-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:min(280px,calc(100vw - 24px));
  padding:8px;
  border-radius:16px;
  background:#1c1d25;
  border:1px solid var(--rf-line-2);
  box-shadow:0 22px 54px -14px rgba(0,0,0,.78),0 0 0 1px rgba(255,255,255,.04) inset;
  display:grid;
  gap:4px;
  z-index:90;
}
.rf-account-identity{
  display:grid;
  gap:2px;
  padding:8px 10px 10px;
  border-bottom:1px solid var(--rf-line);
  margin-bottom:4px;
}
.rf-account-identity strong{
  font-size:13.5px;
  font-weight:650;
  color:var(--rf-ink);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rf-account-identity small{
  font-size:11.5px;
  color:var(--rf-muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rf-account-link{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:8px 10px;
  border-radius:10px;
  font-size:13px;
  color:var(--rf-ink);
  text-decoration:none;
  transition:background .14s;
}
.rf-account-link:hover{background:#ffffff0c}
.rf-account-link>svg{flex:0 0 auto;color:var(--rf-purple)}
.rf-account-link>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-account-link>b{font-size:12px;font-weight:650;color:var(--rf-purple);font-variant-numeric:tabular-nums;flex:0 0 auto}
.rf-account-dropdown>button{width:100%;justify-content:flex-start;border-radius:10px}

@media(max-width:900px){
  .rf-shell .rf-topbar .rf-account-trigger{width:44px;height:44px;min-width:44px;min-height:44px}
  .rf-shell .rf-topbar .rf-account-dropdown{position:fixed;top:64px;right:12px;left:auto;max-width:calc(100vw - 24px);z-index:92}
  .rf-more-sheet{max-height:82dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .rf-account-link,.rf-account-dropdown>button{min-height:44px}
  .va-workspace [data-va-tg-retry]{min-height:44px}
}
@media(max-width:390px){
  .rf-shell .rf-main>.rf-topbar{padding-left:12px;padding-right:10px;gap:6px}
  .rf-shell .rf-topbar>.row{gap:6px;flex:0 0 auto}
  .rf-shell .rf-topbar>.rf-crumbs{min-width:0;flex:1 1 auto;overflow:hidden;font-size:16px}
}

/* Create compact mobile preview + desktop phone aspect transitions */
.rf-shell[data-page=create] .preview-panel .phone{
  transition:aspect-ratio .2s ease,width .2s ease,height .2s ease,border-radius .2s ease;
}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="9:16"]{aspect-ratio:9/16;width:178px;height:auto}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="3:4"]{aspect-ratio:3/4;width:196px;height:auto}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="1:1"]{aspect-ratio:1/1;width:214px;height:auto}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"]{aspect-ratio:16/9;width:min(100%,268px);min-height:172px;height:auto;border-radius:16px}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"] .frame{inset:8px;border-radius:11px}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"] .phone-center{padding:10px 14px}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"] .phone-center .symbol{font-size:20px;line-height:1}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"] .phone-center strong{font-size:13px;line-height:1.3}
.rf-shell[data-page=create] .preview-panel .phone[data-aspect="16:9"] .phone-center p{font-size:10.5px;line-height:1.35;margin:3px 0 0}
@media(min-width:1101px){
  .rf-create-compact{display:none}
}
@media(max-width:1100px){
  .rf-create-compact{
    display:grid;
    gap:10px;
    margin-bottom:16px;
    padding:13px 15px;
    border-radius:16px;
    background:linear-gradient(135deg,#211d2d,#181920 70%);
    border:1px solid var(--rf-line-2);
  }
  .rf-create-compact-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
  .rf-create-compact-meta{margin:0;font-size:13px;line-height:1.45;color:var(--rf-ink);min-width:0}
  .rf-create-compact-ratio{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 10px;
    border-radius:999px;
    background:#b0a0ff1a;
    border:1px solid #b0a0ff44;
    color:#dfd5ff;
    font-size:12px;
    font-weight:650;
    font-variant-numeric:tabular-nums;
  }
  .rf-create-compact-flow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;color:var(--rf-faint)}
  .rf-create-compact-flow>span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 9px;
    border-radius:999px;
    font-size:11.5px;
    font-weight:550;
    color:var(--rf-muted);
    background:#ffffff08;
    border:1px solid var(--rf-line);
  }
  .rf-create-compact-flow>span.active{
    background:#b0a0ff22;
    border-color:#b0a0ff66;
    color:#ece6ff;
    font-weight:650;
  }
  .rf-create-compact-flow>span.done{
    background:#9fe87018;
    border-color:#9fe87040;
    color:#d6f3ad;
  }
  .rf-create-compact-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding-top:2px;
  }
  .rf-create-compact-actions :is(button,.button){
    flex:1 1 auto;
  }
}

/* Billing filtered empty state, Home empty/retry states & VA retry button */
.home-empty{
  margin:0;
  padding:12px 14px;
  border-radius:12px;
  background:#ffffff05;
  border:1px dashed var(--rf-line);
  color:var(--rf-muted);
  font-size:12.5px;
  line-height:1.5;
}
.bv-empty-filtered{
  margin-top:12px;
  padding:24px 18px;
  border-radius:16px;
  border:1px dashed var(--rf-line-2);
  background:#ffffff04;
  text-align:center;
  display:grid;
  justify-items:center;
  gap:10px;
}
.bv-empty-filtered p{margin:0;color:var(--rf-muted);font-size:13.5px}
.home-chart-retry{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:12px 0 0;
  padding:14px 16px;
  border-radius:14px;
  background:#ffffff06;
  border:1px solid var(--rf-line);
  color:var(--rf-muted);
  font-size:13px;
}
.home-chart-retry p{margin:0}
.va-workspace .va-tg-connect [data-va-tg-retry]{margin-top:8px}
