/* design-10: the last sheet. Visual consistency only (spacing, alignment, phone layout); no behaviour.
   Everything is scoped under .rf-shell (owner) or .va-workspace (VA) so landing, admin and auth pages keep their look. */

/* ---- phone top bar: logo and section name, like the VA app ---- */
.rf-mobile-brand{display:none}
@media(max-width:900px){
  .rf-shell .rf-topbar{gap:10px}
  .rf-shell .rf-mobile-brand{display:inline-flex;flex:0 0 auto;width:34px;height:34px;border-radius:10px;overflow:hidden}
  .rf-shell .rf-mobile-brand img{width:34px;height:34px;display:block}
  .rf-shell .rf-topbar:has(#product-updates)>.rf-crumbs{display:flex;align-items:center;flex:1;min-width:0;font-size:15px;font-weight:600;color:var(--rf-ink)}
  .rf-shell .rf-topbar .rf-crumbs>a:first-child{display:block;color:var(--rf-ink);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .rf-shell .rf-topbar .rf-crumbs>span,.rf-shell .rf-topbar .rf-crumbs>b{display:none}
  .rf-shell .rf-topbar:has(#product-updates)>.row{width:auto;flex:0 0 auto;margin-left:auto}
}

/* ---- section tabs: soft edges on both sides while the strip scrolls ---- */
@media(max-width:900px){
  .rf-shell .rf-tabs{scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 22px),transparent)}
  .rf-shell .rf-tabs::-webkit-scrollbar{display:none}
  .rf-shell .rf-tabs::after{content:'';flex:0 0 16px}
}

/* ---- collapsible boxes: one look, the same as the existing fold cards (title left, ⌄ right, turns when open) ---- */
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history){padding-top:0;padding-bottom:0}
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history,.vt-full)>summary{display:block;position:relative;list-style:none;cursor:pointer;padding:16px 34px 16px 0;margin:0}
:is(.rf-shell,.va-workspace) .vt-full>summary{padding:10px 30px 10px 0}
:is(.rf-shell,.va-workspace) :is(details.card,.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history,.vt-full)>summary::-webkit-details-marker{display:none}
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history,.vt-full)>summary::before{content:none}
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history,.vt-full)>summary::after{content:"";position:absolute;right:6px;top:50%;width:8px;height:8px;margin-top:-6px;border-right:2px solid #cdbaff;border-bottom:2px solid #cdbaff;transform:rotate(45deg);transition:transform .15s}
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history,.vt-full)[open]>summary::after{transform:rotate(225deg);margin-top:-2px}
:is(.rf-shell,.va-workspace) :is(details.card:not(.fold-card,.pf-fold,.revenue-more,.ml-fold),.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history)[open]{padding-bottom:18px}
:is(.rf-shell,.va-workspace) :is(.rf-phone-setup-fold,.rf-phone-team,.rf-phone-help,.calendar-history)[open]>summary{margin-bottom:4px}

/* The older fold cards drew "⌄", which this font renders as a letter v: same drawn chevron for them. */
:is(.rf-shell,.va-workspace) :is(.fold-card,.pf-fold,.revenue-more,.ml-fold)>summary::after{content:"";right:22px;top:50%;width:8px;height:8px;margin-top:-6px;font-size:0;border-right:2px solid #cdbaff;border-bottom:2px solid #cdbaff;transform:rotate(45deg)}
:is(.rf-shell,.va-workspace) :is(.fold-card,.pf-fold,.revenue-more,.ml-fold)[open]>summary::after{transform:rotate(225deg);margin-top:-2px}
.rf-shell .va-hub-all>summary::after{content:"";width:8px;height:8px;margin:-5px 6px 0 8px;font-size:0;border-right:2px solid #8d92a4;border-bottom:2px solid #8d92a4;transform:rotate(45deg)}
.rf-shell .va-hub-all[open]>summary::after{transform:rotate(225deg);margin-top:3px}
.rf-shell .sb-chevron{font-size:0;display:inline-flex;align-items:center;justify-content:center}
.rf-shell .sb-chevron::before{content:"";width:8px;height:8px;margin-top:-5px;border-right:2px solid #cdbaff;border-bottom:2px solid #cdbaff;transform:rotate(45deg)}
.rf-shell .sb-row .sb-rank::before{content:none}

/* ---- small "read more" folds: one look, the › link used on Results and Scoreboard ---- */
:is(.rf-shell,.va-workspace) :is(.rf-start-all,.chat-supervision-body,details.footer-note,.va-data-notes)>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:#cdbaff;font-weight:600}
:is(.rf-shell,.va-workspace) :is(.rf-start-all,.chat-supervision-body,details.footer-note,.va-data-notes)>summary::-webkit-details-marker{display:none}
:is(.rf-shell,.va-workspace) :is(.rf-start-all,.chat-supervision-body,details.footer-note,.va-data-notes)>summary::before{content:"›";display:inline-block;transition:transform .15s}
:is(.rf-shell,.va-workspace) :is(.rf-start-all,.chat-supervision-body,details.footer-note,.va-data-notes)[open]>summary::before{transform:rotate(90deg)}

/* ---- KPI tiles: numbers sit on one line even when a label wraps ---- */
.rf-shell .agency-stats>div{display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.rf-shell .ml-kpi strong{display:inline-block}
.rf-shell .ml-kpi em{position:static;display:inline-block;margin-left:8px;vertical-align:baseline}
.rf-shell .ml-alert small{display:block;margin-top:6px}

/* ---- media that cannot be shown: a calm placeholder, not loose text ---- */
.rf-media-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;min-height:120px;color:#6f7383;background:repeating-linear-gradient(135deg,#15161c 0 10px,#17181f 10px 20px);border-radius:inherit;text-align:center}
.rf-media-missing small{font-size:11px;color:#7d8191}

/* ---- library cards ---- */
.rf-shell .asset-card-pills:empty{display:none}
@media(max-width:600px){
  .rf-shell .asset-card .asset-actions>button.action-button{white-space:nowrap;font-size:13px;letter-spacing:-.01em;padding:10px 8px}
  .rf-shell .asset-card .asset-actions>button.action-button .action-icon{display:none}
}

/* ---- repurpose: the manual caption box only appears when it is in use ---- */
.rf-shell fieldset[data-rp-manual-caption]{border:0;padding:0;margin:0;min-width:0}
.rf-shell fieldset[data-rp-manual-caption]:disabled{display:none}

/* ---- creator header ---- */
.rf-shell .creator-heading .text-button{padding-left:0;padding-right:0;margin-right:16px}
@media(max-width:720px){
  .rf-shell .creator-heading{display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 14px;align-items:start}
  .rf-shell .creator-heading>.creator-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;width:100%}
  .rf-shell .creator-heading>.creator-actions>button{width:100%;min-width:0;min-height:44px;white-space:nowrap;font-size:14px;padding:10px 12px}
  .rf-shell .creator-heading>.creator-actions>button:first-child{grid-column:1/-1}
  .rf-shell .creator-heading>.creator-actions>button>span:not(.action-icon):not(.connection-check){overflow:hidden;text-overflow:ellipsis}
  .rf-shell .creator-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .rf-shell .creator-tabs::-webkit-scrollbar{display:none}
  .rf-shell .creator-tabs button{flex:0 0 auto;white-space:nowrap}
  .rf-shell .section-head,.rf-shell .creator-section-head{flex-direction:column;align-items:flex-start;gap:4px}
}

/* ---- results filters stay inside their card on a phone ---- */
@media(max-width:720px){
  .rf-shell .performer-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .rf-shell .performer-filters label{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;min-width:0}
  .rf-shell .performer-filters label>*{min-width:0;max-width:100%}
  .rf-shell .performer-filters .creator-picker,.rf-shell .performer-filters .creator-picker-trigger,.rf-shell .performer-filters select{width:100%;min-width:0}
  .rf-shell .performer-filters .creator-picker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .rf-shell .performer-filters>button{width:100%}
}

/* ---- scoreboard toolbar: left aligned like every other page head ---- */
@media(max-width:720px){
  .rf-shell .score-toolbar{align-items:stretch;gap:12px}
  .rf-shell .score-toolbar h2{text-align:left;margin-bottom:2px}
  .rf-shell .score-toolbar>.row{justify-content:flex-start;flex-wrap:wrap}
}

/* ---- deliveries: a readable list on a phone instead of a squeezed table ---- */
@media(max-width:720px){
  .rf-shell[data-page=jobs] .table-wrap{overflow:visible;padding:4px 16px}
  .rf-shell[data-page=jobs] .table,.rf-shell[data-page=jobs] .table tbody{display:block;width:100%}
  .rf-shell[data-page=jobs] .table thead{display:none}
  .rf-shell[data-page=jobs] .table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid var(--rf-line)}
  .rf-shell[data-page=jobs] .table tr:last-child{border-bottom:0}
  .rf-shell[data-page=jobs] .table td{display:block;padding:0;border:0;max-width:none;min-width:0}
  .rf-shell[data-page=jobs] .table td:nth-child(1){font-size:15px;font-weight:600;color:var(--rf-ink)}
  .rf-shell[data-page=jobs] .table td:nth-child(2){grid-row:2;font-size:12px;color:var(--rf-muted)}
  .rf-shell[data-page=jobs] .table td:nth-child(3){grid-column:2;grid-row:1/3;align-self:center}
  .rf-shell[data-page=jobs] .table td:nth-child(4){grid-column:1/-1;font-size:12px;color:var(--rf-muted)}
  .rf-shell[data-page=jobs] .table td:nth-child(4)::before{content:'Credits · '}
  .rf-shell[data-page=jobs] .table td:nth-child(5){grid-column:1/-1}
  .rf-shell[data-page=jobs] .table td:nth-child(5):not(:has(*:not(p:empty))){display:none}
  .rf-shell[data-page=jobs] .table td:nth-child(5) p{margin:4px 0 8px;font-size:13px;color:#c9cbd6}
  .rf-shell[data-page=jobs] .table td:nth-child(5) p:empty{display:none}
}

/* ---- VA app: six tabs fit on one line ---- */
@media(max-width:760px){
  .va-workspace .va-nav-mobile{padding-left:4px;padding-right:4px}
  .va-workspace .va-nav-mobile a{min-width:0;padding:8px 2px}
  .va-workspace .va-nav-mobile a b{font-size:11px;white-space:nowrap;letter-spacing:-.01em;max-width:100%;overflow:hidden;text-overflow:ellipsis}
}

/* ---- calendar week strip: soft edges while it scrolls ---- */
@media(max-width:720px){
  .rf-shell .cal-board{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 16px),transparent)}
}

/* ---- VA posts on a computer: cards side by side instead of one narrow column ---- */
@media(min-width:1100px){
  .va-workspace .rf-kit-group{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:16px;align-items:start}
  .va-workspace .rf-kit-group>:not(.rf-kit){grid-column:1/-1}
  .va-workspace .rf-kit-group>.rf-kit{max-width:none;margin:0}
}

/* ---- Send a post kit: steps appear once a creator is chosen (no lone "3 · Caption" and no empty gap) ---- */
.rf-kit-send [data-kit-videos]:empty,.rf-kit-send [data-kit-accounts]:empty{display:none}
.rf-kit-send [data-kit-videos]:empty~.rf-kit-send-caption,.rf-kit-send [data-kit-videos]:empty~.rf-kit-more{display:none}
.rf-kit-more>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;color:#cdbaff}
.rf-kit-more>summary::-webkit-details-marker{display:none}
.rf-kit-more>summary::before{content:"›";display:inline-block;transition:transform .15s}
.rf-kit-more[open]>summary::before{transform:rotate(90deg)}

/* ---- library "More" menu: every action looks like a button; Delete reads as the dangerous one ---- */
.rf-shell .rf-actions-menu>.ghost{background:rgba(255,255,255,.04);border:1px solid var(--rf-line)}
.rf-shell .rf-actions-menu>[data-library-delete]{color:var(--rf-bad);border-color:rgba(255,147,156,.28);background:rgba(255,147,156,.06)}

/* ---- design-10 round 2 ---- */

/* Home on a phone: what needs you first, then what goes out, then creators; the chart and team notes go last.
   The two desk columns open up (display:contents) so every block can be ordered; anything new lands after these. */
@media(max-width:720px){
  .rf-shell .agency-home{display:flex;flex-direction:column;gap:16px}
  .rf-shell .agency-home .home-desk,.rf-shell .agency-home .home-desk-main,.rf-shell .agency-home .home-desk-side{display:contents}
  .rf-shell .agency-home>*,.rf-shell .agency-home .home-desk-main>*,.rf-shell .agency-home .home-desk-side>*{order:20;margin-top:0;margin-bottom:0}
  .rf-shell .agency-home>.home-heading{order:1}
  .rf-shell .agency-home>.home-stats{order:2}
  .rf-shell .agency-home .home-desk-main>.home-priorities{order:3}
  .rf-shell .agency-home .home-desk-side>.home-upcoming{order:4}
  .rf-shell .agency-home .home-desk-main>.home-roster{order:5}
  .rf-shell .agency-home .home-desk-main>.rf-start{order:6}
  .rf-shell .agency-home .home-desk-side>.home-team{order:7}
  .rf-shell .agency-home>.home-performance{order:8}
  .rf-shell .agency-home .home-desk-side>.home-results-link{order:9}
  .rf-shell .agency-home .home-heading p,.rf-shell .agency-home .rf-tour-reopen{display:none}
  .rf-shell .agency-home .home-heading h1{margin-bottom:0}
  .rf-shell .agency-home .home-stat{min-height:0;padding:14px}
  .rf-shell .agency-home .home-stat strong{font-size:26px;line-height:1.1;margin-top:6px}
  .rf-shell .agency-home .home-team-note,.rf-shell .agency-home .home-chart-note,.rf-shell .agency-home .home-time-note,.rf-shell .agency-home .rf-start-next p{display:none}
}

/* Team › VAs: one bar sets the revenue share for every VA without one. */
.rf-shell .va-share-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 18px;padding:14px 16px;border-radius:var(--rf-r-m);border:1px solid rgba(240,182,90,.35);background:rgba(240,182,90,.07)}
.rf-shell .va-share-bar[hidden]{display:none}
.rf-shell .va-share-bar>div{flex:1 1 260px;min-width:0;display:grid;gap:3px}
.rf-shell .va-share-bar strong{font-size:15px;color:var(--rf-ink)}
.rf-shell .va-share-bar small{font-size:13px;color:var(--rf-muted);line-height:1.45}
.rf-shell .va-share-bar-input{display:inline-flex;align-items:center;gap:6px;margin:0}
.rf-shell .va-share-bar-input input{width:88px;min-height:42px;text-align:right}
.rf-shell .va-share-bar-input span{color:var(--rf-muted);font-weight:600}
.rf-shell .va-share-bar button{min-height:42px}
@media(max-width:600px){.rf-shell .va-share-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.rf-shell .va-share-bar>div{grid-column:1/-1}.rf-shell .va-share-bar-input input{width:100%;flex:1}.rf-shell .va-share-bar button{width:100%}}

/* Account health rows: account chips under a merged reminder. */
.rf-shell .supervisor-results .table td .rf-chips,.rf-shell #supervisor-results .table td .rf-chips{margin:8px 0 2px}

/* ---- carousel-1: one card per carousel, the batch slide strip and the full-quality viewer ---- */
.rf-shell .asset-cover .carousel-cover{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:#0c0d12;cursor:zoom-in;min-height:0}
.rf-shell .asset-cover .carousel-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rf-shell .carousel-count{position:absolute;left:10px;bottom:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:rgba(10,10,14,.78);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(6px)}
.rf-shell .asset-card.is-carousel .asset-cover::after{content:'';position:absolute;inset:auto 8px -1px 8px;height:4px;border-radius:0 0 8px 8px;background:rgba(176,160,255,.35);z-index:1;pointer-events:none}
.rf-shell .media-image-link,.batch-source img[data-carousel-view]{cursor:zoom-in}
.batch-carousel{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;max-width:100%}
.batch-carousel a{position:relative;display:block;flex:0 0 84px;height:112px;padding:0;margin:0;border-radius:10px;overflow:hidden;border:1px solid var(--rf-line,#2b2c36);background:#0c0d12;cursor:zoom-in;min-height:0}
.batch-carousel a:hover{border-color:var(--rf-purple,#b0a0ff)}
.batch-review .batch-carousel img{width:100%;height:100%;object-fit:cover;border:0;border-radius:0}
.batch-carousel span{position:absolute;left:6px;bottom:6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}
.batch-review .batch-source:has(.batch-carousel){flex-direction:column;align-items:stretch;gap:12px}
#modal:has(.rf-viewer){width:min(1100px,calc(100vw - 24px));max-width:min(1100px,calc(100vw - 24px));padding:0}
#modal:has(.rf-viewer)>#modal-body{padding:18px}
.rf-viewer{display:grid;gap:12px}
.rf-viewer-top{display:flex;align-items:center;gap:14px;padding-right:44px;min-height:32px}
.rf-viewer-top strong{font-size:15px}
.rf-viewer-stage{position:relative}
.rf-viewer-track{position:relative;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:14px;background:#0b0c10;outline:none}
.rf-viewer-track::-webkit-scrollbar{display:none}
.rf-viewer-slide{flex:0 0 100%;margin:0;scroll-snap-align:center;display:flex;align-items:center;justify-content:center;height:min(70vh,860px);overflow:hidden}
.rf-viewer .rf-viewer-slide img,.rf-viewer .rf-viewer-slide video{max-width:100%;max-height:min(70vh,860px);width:auto;height:auto;min-height:0;object-fit:contain;display:block;border-radius:0}
.rf-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:0;border-radius:50%;padding:0;font-size:28px;line-height:1;background:rgba(15,15,20,.72);border:1px solid rgba(255,255,255,.2);color:#fff;z-index:2;display:grid;place-items:center}
.rf-viewer-nav.prev{left:10px}.rf-viewer-nav.next{right:10px}
.rf-viewer-thumbs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.rf-viewer-thumbs button{flex:0 0 52px;height:68px;min-height:0;padding:0;border-radius:8px;overflow:hidden;border:2px solid transparent;background:#111;opacity:.55}
.rf-viewer-thumbs button.is-on{border-color:var(--rf-purple,#b0a0ff);opacity:1}
.rf-viewer-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:720px){#modal:has(.rf-viewer)>#modal-body{padding:12px}.rf-viewer-slide{height:62vh}.rf-viewer .rf-viewer-slide img,.rf-viewer .rf-viewer-slide video{max-height:62vh}.rf-viewer-nav{width:38px;height:38px;font-size:24px}}

/* stress-1: viewer arrows at the first/last slide are off */
.rf-viewer-nav:disabled{opacity:.25;cursor:default}

/* sweep-1: VA dashboard - posts waiting come first */
.va-workspace .va-posts-next,.rf-shell .va-posts-next{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;margin:0 0 14px;padding:14px 16px;border-radius:14px;
  background:linear-gradient(135deg,rgba(139,92,246,.28),rgba(139,92,246,.12));border:1px solid rgba(167,139,250,.55);color:inherit;text-decoration:none}
.va-posts-next strong{font-size:17px}
.va-posts-next span{font-size:14px;opacity:.85}

/* no-repurpose-2: Create has two starting points now (Repurpose hidden) */
@media (min-width: 651px){.rf-shell .create-modes{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* lib-cards-1: Library cards - clean video cover, one-row destination, one main button + "⋯" menu, no divider lines */
.rf-shell .asset-card{border-radius:16px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));transition:border-color .15s ease,box-shadow .15s ease}
.rf-shell .asset-card:hover{border-color:rgba(167,139,250,.32);box-shadow:0 12px 32px rgba(0,0,0,.38)}
.rf-shell .asset-card .asset-cover{border:0;box-shadow:none}
.rf-shell .asset-card .video-cover{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:#0a0b10;cursor:pointer;overflow:hidden;box-shadow:none}
.rf-shell .asset-card .video-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.rf-shell .asset-card .video-cover:hover img{transform:scale(1.03)}
.rf-shell .video-cover .video-play{position:absolute;left:50%;top:50%;width:50px;height:50px;margin:-25px 0 0 -25px;border-radius:50%;display:grid;place-items:center;padding-left:3px;box-sizing:border-box;
  background:rgba(12,11,18,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.28);color:#fff;transition:transform .15s ease,background .15s ease}
.rf-shell .video-cover:hover .video-play{transform:scale(1.08);background:rgba(139,92,246,.75)}
.rf-shell .video-cover .video-length{position:absolute;right:8px;bottom:8px;padding:3px 8px;border-radius:999px;background:rgba(12,11,18,.72);color:#fff;font-size:11px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.rf-shell .asset-card .asset-info{gap:8px;padding:12px;border:0}
.rf-shell .asset-card .asset-info>*{margin:0}
.rf-shell .asset-card .asset-info .asset-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;border:0;padding:0}
.rf-shell .asset-card .asset-info .asset-title-row>h3{flex:1;min-width:0}
.rf-shell .asset-card .asset-info .asset-title-row>.asset-card-pills{flex:none}
.rf-shell .asset-card .asset-info .asset-title-row>.asset-card-pills:empty{display:none}
.rf-shell .asset-card .asset-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;text-overflow:clip;margin:0;font-size:13.5px;line-height:1.3;font-weight:600;color:#f4f3fa}
.rf-shell .asset-card .asset-info>p{margin:0;font-size:11.5px;color:#8f8ea2;font-variant-numeric:tabular-nums}
.rf-shell .asset-card .asset-info>p.media-location-summary{color:#b9a8ff}
.rf-shell .rf-dest{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 8px 6px 6px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.rf-shell .rf-dest-av{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;background:linear-gradient(135deg,#a78bfa,#6d28d9)}
.rf-shell .rf-dest-av.is-main{background:linear-gradient(135deg,#fcd34d,#f59e0b);color:#3a2500}
.rf-shell .rf-dest-txt{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.25}
.rf-shell .rf-dest-txt strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:600;color:#f4f3fa}
.rf-shell .rf-dest-txt small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#9a99ad}
.rf-shell .rf-dest-tag{flex:none;padding:2px 7px;border-radius:999px;font-size:9.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#c4b5fd;background:rgba(139,92,246,.16)}
.rf-shell .rf-dest.is-main .rf-dest-tag{color:#fcd34d;background:rgba(251,191,36,.13)}
.rf-shell .asset-card .asset-actions{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:stretch;margin-top:auto;padding:4px 0 0;border:0}
.rf-shell .asset-card .asset-actions>small{grid-column:1/-1;margin:0;padding:0;font-size:11.5px;line-height:1.35;color:#a9a7b9;white-space:normal}
.rf-shell .asset-card .asset-actions>button,.rf-shell .asset-card .asset-actions>a,.rf-shell .asset-card .asset-actions>button.action-button{grid-column:1;min-width:0;height:auto;min-height:40px;margin:0;padding:8px 10px;border-radius:12px;font-size:13px;font-weight:600;letter-spacing:-.01em;line-height:1.3;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.rf-shell .asset-card .asset-actions>.rf-actions-more{position:static;grid-column:2;display:block;min-width:0;max-width:none;margin:0;padding:0;border:0;overflow:visible}
.rf-shell .asset-card .asset-actions>.rf-actions-more:only-child{grid-column:1/-1}
.rf-shell .asset-card .asset-actions>.rf-actions-more>summary{display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;height:40px;min-height:40px;margin:0;padding:0;border-radius:12px;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#e9e7f5;font-size:13px;font-weight:600;transition:background .15s ease,border-color .15s ease}
.rf-shell .asset-card .asset-actions>.rf-actions-more>summary::-webkit-details-marker{display:none}
.rf-shell .asset-card .asset-actions>.rf-actions-more>summary:hover{background:rgba(255,255,255,.08)}
.rf-shell .asset-card .asset-actions>.rf-actions-more[open]>summary{background:rgba(139,92,246,.2);border-color:rgba(167,139,250,.5)}
.rf-shell .asset-card .rf-more-label{display:none}
.rf-shell .asset-card .asset-actions>.rf-actions-more:only-child .rf-more-label{display:inline}
.rf-shell .asset-card .asset-actions .rf-actions-menu{position:absolute;left:0;right:0;top:auto;bottom:calc(100% + 8px);z-index:6;box-sizing:border-box;width:auto;min-width:0;max-width:none;margin:0;padding:6px;gap:2px;
  border-radius:14px;background:#17161f;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 44px rgba(0,0,0,.6)}
.rf-shell .asset-card .asset-actions .rf-actions-menu>*{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;height:auto;min-height:38px;margin:0;padding:8px 10px;border:0;border-radius:10px;
  background:transparent;color:#ece9f8;font-size:13px;font-weight:500;text-align:left;text-decoration:none;white-space:normal}
.rf-shell .asset-card .asset-actions .rf-actions-menu>*:hover{background:rgba(255,255,255,.07)}
.rf-shell .asset-card .asset-actions .rf-actions-menu>[data-library-delete]{color:#ff8f9a;background:transparent;border:0}
.rf-shell .asset-card .asset-actions .rf-actions-menu>[data-library-delete]:hover{background:rgba(255,143,154,.1)}
@media (max-width:650px){
  .rf-shell .asset-card .asset-info{gap:7px;padding:10px}
  .rf-shell .asset-card .asset-info h3{font-size:12.5px}
  .rf-shell .asset-card .asset-actions{grid-template-columns:minmax(0,1fr) 36px;gap:6px}
  .rf-shell .asset-card .asset-actions>button,.rf-shell .asset-card .asset-actions>a,.rf-shell .asset-card .asset-actions>button.action-button{height:auto;min-height:38px;padding:6px 8px;font-size:12px;line-height:1.2;white-space:normal}
  .rf-shell .asset-card .asset-actions>.rf-actions-more>summary{height:38px;min-height:38px}
  .rf-shell .rf-dest{gap:6px;padding:5px 6px 5px 5px}
  .rf-shell .rf-dest-av{width:22px;height:22px;font-size:11px}
  .rf-shell .rf-dest-tag{display:none}
  .rf-shell .video-cover .video-play{width:42px;height:42px;margin:-21px 0 0 -21px}
}

/* Keep primary action labels inside narrow library cards. */
.rf-shell .asset-card .asset-actions>button.action-button>span:not(.action-icon){min-width:0;white-space:normal;overflow-wrap:anywhere}
.rf-shell .asset-card .asset-actions>button.action-button>.action-icon{flex-shrink:0}

/* design-11: the clean video cover outside Library cards (Approvals) */
.rf-shell .review-media .video-cover{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:inherit;background:#0a0b10;cursor:pointer;overflow:hidden;box-shadow:none}
.rf-shell .review-media .video-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.rf-shell .review-media .video-cover:hover img{transform:scale(1.03)}
.rf-shell .review-media .video-cover .video-play{width:40px;height:40px;margin:-20px 0 0 -20px}
.rf-shell .review-media .video-cover .video-play svg{width:16px;height:16px}
.rf-shell .review-media .media-preview video{display:block;width:100%;height:100%;object-fit:cover}

/* sweep-3: the clean video cover everywhere, pop-ups included (they sit outside .rf-shell) */
button.video-cover{position:relative;display:block;width:100%;height:100%;min-height:0;max-width:100%;padding:0;margin:0;border:0;border-radius:inherit;background:#0a0b10;cursor:pointer;overflow:hidden;box-shadow:none;color:#fff}
button.video-cover:hover,button.video-cover:focus-visible{background:#0a0b10;filter:none;transform:none}
button.video-cover img{display:block;width:100%;height:100%;object-fit:cover}
button.video-cover .video-play{position:absolute;left:50%;top:50%;width:50px;height:50px;margin:-25px 0 0 -25px;border-radius:50%;display:grid;place-items:center;padding-left:3px;box-sizing:border-box;
  background:rgba(12,11,18,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.28);color:#fff;transition:transform .15s ease,background .15s ease}
button.video-cover:hover .video-play{transform:scale(1.08);background:rgba(139,92,246,.75)}
button.video-cover .video-length{position:absolute;right:8px;bottom:8px;padding:3px 8px;border-radius:999px;background:rgba(12,11,18,.72);color:#fff;font-size:11px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
dialog button.video-cover{width:100%;height:auto;border-radius:14px}
dialog button.video-cover img{height:auto;max-height:min(62vh,600px);object-fit:contain}
.publish-preview-media button.video-cover,.publish-preview-media button.video-cover img{height:100%;max-height:none;object-fit:contain;border-radius:0}
dialog .media-preview video{max-height:min(62vh,600px)}

/* video-stop-1: a playing Results video stops with a tap anywhere on it */
.performer-card.is-playing .performer-play-btn{opacity:1;pointer-events:auto;top:0;left:0;width:100%;height:100%;margin:0;transform:none;border-radius:0;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;z-index:3;cursor:pointer}
.performer-card.is-playing .performer-play-btn:hover{transform:none;background:transparent;border:0}
.performer-card.is-playing .performer-play-btn svg{display:none}
.performer-card.is-playing .performer-play-btn::before{content:"";position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:rgba(20,21,31,.78);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);box-sizing:border-box;opacity:0;transition:opacity .15s ease}
.performer-card.is-playing .performer-play-btn::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:18px;margin:-9px 0 0 -8px;border-left:5px solid #fff;border-right:5px solid #fff;box-sizing:border-box;opacity:0;transition:opacity .15s ease}
.performer-card.is-playing .performer-play-btn:hover::before,.performer-card.is-playing .performer-play-btn:hover::after,
.performer-card.is-playing .performer-play-btn:focus-visible::before,.performer-card.is-playing .performer-play-btn:focus-visible::after{opacity:1}

/* va-progress-1 (2026-10-14): one live row per VA while their outfit versions render */
.va-progress{margin:var(--rf-sp-4,16px) 0;padding:var(--rf-sp-3,12px) var(--rf-sp-4,16px);border:1px solid var(--rf-line);border-radius:var(--rf-r-m,12px);background:var(--rf-panel-2,rgba(255,255,255,.03))}
.va-progress-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:var(--rf-sp-2,8px)}
.va-progress-head span{color:var(--rf-muted);font-size:.85rem}
.va-progress .va-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:var(--rf-sp-3,12px);align-items:center;padding:var(--rf-sp-2,8px) 0;border-top:1px solid var(--rf-line)}
.va-progress .va-row:first-of-type{border-top:0}
.va-progress .va-who strong{display:block;color:var(--rf-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.va-progress .va-who small{display:block;color:var(--rf-muted);font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.va-progress .va-state span{display:block;font-size:.85rem;color:var(--rf-ink);margin-bottom:6px}
.va-progress .va-bar{height:6px;border-radius:999px;background:var(--rf-line);overflow:hidden}
.va-progress .va-bar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--rf-purple);transition:width .6s ease}
.va-progress .va-row.is-done .va-bar i{background:var(--rf-ok)}
.va-progress .va-row.is-failed .va-bar i,.va-progress .va-row.is-attention .va-bar i{background:var(--rf-bad)}
.va-progress .va-row.is-stopped .va-bar i{background:var(--rf-muted)}
.va-progress .va-row.is-skipped .va-bar i{background:var(--rf-muted)}.va-progress .va-row.is-skipped .va-state span{color:var(--rf-muted)}
.va-progress .va-row.is-waiting .va-state span,.va-progress .va-row.is-planning .va-state span{color:var(--rf-muted)}
.va-progress .va-row.is-editing .va-bar i,.va-progress .va-row.is-starting .va-bar i,.va-progress .va-row.is-gpu .va-bar i{background:linear-gradient(90deg,var(--rf-purple),var(--rf-purple-2,var(--rf-purple)));background-size:200% 100%;animation:va-move 1.6s linear infinite}
@keyframes va-move{from{background-position:0 0}to{background-position:-200% 0}}
@media (max-width:520px){.va-progress .va-row{grid-template-columns:1fr}.va-progress .va-state span{margin-top:2px}}
@media (prefers-reduced-motion:reduce){.va-progress .va-bar i{transition:none;animation:none!important}}

/* run-progress-1 (2026-10-14, owner "improve design here 10/10"): the Create progress sheet. Scoped under .va-progress:
   content-tools.css gives every .va-who/.va-state a grid-area for the VA hub, which pushed names to the right here. */
.va-progress{padding:4px 16px 6px}
.va-progress-head{align-items:center;padding:12px 0 10px;margin:0;border-bottom:1px solid var(--rf-line)}
.va-progress-head strong{font-size:15px}
.va-progress .va-count{padding:3px 10px;border-radius:999px;background:#ffffff0a;border:1px solid #ffffff12;font-size:12px;color:var(--rf-muted)}
.va-progress .va-row{grid-template-columns:36px minmax(0,1fr) minmax(140px,42%);grid-template-areas:none;gap:12px;padding:12px 0}
.va-progress .va-row:first-child{border-top:0}
.va-progress .va-row>.va-who,.va-progress .va-row>.va-state{grid-area:auto;justify-self:stretch;max-width:none;text-align:left;margin:0}
.va-progress .va-face{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:14px;color:#1b1430;background:linear-gradient(135deg,#d9cdff,#8f78ff)}
.va-progress .va-who strong{font-size:14.5px;line-height:1.3}
.va-progress .va-who small{margin-top:2px}
.va-progress .va-state span{font-size:12.5px;text-align:right;margin-bottom:7px}
.va-progress .va-bar{height:5px}
.va-progress .va-row.is-waiting .va-bar,.va-progress .va-row.is-planning .va-bar{background:repeating-linear-gradient(90deg,#ffffff1c 0 6px,transparent 6px 11px)}
.va-progress .va-row.is-waiting .va-bar i{opacity:0}
.va-progress .va-row.is-done .va-face{background:linear-gradient(135deg,#ecffc2,#9fe870)}
.va-progress .va-row.is-done .va-state span{color:#dcf993}
.va-progress .va-row.is-failed .va-face,.va-progress .va-row.is-attention .va-face{background:linear-gradient(135deg,#ffc9bf,#ff6b5a)}
.va-progress .va-row.is-skipped .va-face,.va-progress .va-row.is-stopped .va-face{background:#2a2b35;color:#9ba1b4}
.va-progress .va-row .va-redo{grid-column:2/-1;justify-self:end}
.job-meta{gap:8px}
.job-meta span{padding:6px 11px;border-radius:999px;background:#ffffff07;border:1px solid #ffffff0f}
.job-next{grid-template-columns:auto;border-style:solid;border-color:#8f78ff2e;background:#8f78ff0d;padding:12px 14px;font-size:13px;line-height:1.5;color:#e6e0f7}
.job-next span{font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.job-close-note{font-size:12.5px;color:var(--rf-muted);margin:4px 0 12px}
@media (max-width:520px){.va-progress .va-row{grid-template-columns:36px minmax(0,1fr)}.va-progress .va-row>.va-state{grid-column:1/-1}.va-progress .va-state span{text-align:left}}
.team-original{margin:14px 0 4px;display:grid;gap:8px}
.team-original>span{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--rf-muted)}
.team-original video,.team-original img{width:100%;max-width:300px;max-height:56vh;aspect-ratio:9/16;object-fit:cover;border-radius:14px;background:#0d0d12;border:1px solid #ffffff12}

/* home-10 (2026-10-14, owner "10/10 on design and visuals and how simple it is"): the homepage leads with one reel, every
   account, a new outfit each (real VA versions), and folds the long feature tour into one "See every feature" bar. */
.rf-outfits{display:grid;grid-template-columns:.8fr 1.2fr;gap:44px;align-items:center;padding:30px 0 58px}
.rf-outfits-copy p{color:var(--rf-muted);font-size:16px;line-height:1.65;margin:16px 0 0;max-width:460px}
.rf-outfits-points{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px}
.rf-outfits-points li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:#d9d3ea;line-height:1.45}
.rf-outfits-points svg{flex:none;width:20px;height:20px;color:#b9a6ff;margin-top:1px}
.rf-outfits-points b{color:#f6f4fb;font-weight:650}
.rf-outfits-strip{margin:0;border-radius:20px;overflow:hidden;border:1px solid var(--rf-line);background:#000;box-shadow:0 40px 90px -40px #7a5cff66}
.rf-outfits-strip video{display:block;width:100%;height:auto;aspect-ratio:1200/426;object-fit:cover}
.rf-outfits-strip .rf-outfits-narrow{display:none}
.rf-outfits-strip figcaption{font-size:12px;color:var(--rf-muted);padding:10px 14px;background:#0d0c12;border-top:1px solid var(--rf-line)}
@media (max-width:760px){
  .rf-outfits{grid-template-columns:1fr;gap:22px;padding:18px 0 40px}
  .rf-outfits-strip .rf-outfits-wide{display:none}
  .rf-outfits-strip .rf-outfits-narrow{display:block;aspect-ratio:720/426}
}
.rf-fold{margin:22px 0 10px}
.rf-fold>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px 18px;flex-wrap:wrap;padding:22px 26px;border:1px solid var(--rf-line);
  border-radius:20px;background:linear-gradient(120deg,#8f78ff14,#ffffff05 60%)}
.rf-fold>summary::-webkit-details-marker{display:none}
.rf-fold>summary:hover{border-color:#8f78ff66}
.rf-fold>summary:focus-visible{outline:2px solid #b9a6ff;outline-offset:3px}
.rf-fold-title{font-size:22px;font-weight:600;color:#f6f4fb;letter-spacing:-.4px}
.rf-fold-list{font-size:13px;color:var(--rf-muted);flex:1;min-width:200px}
.rf-fold-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--rf-line);font-size:20px;color:#c9b8ff;transition:transform .2s}
.rf-fold[open]>summary .rf-fold-icon{transform:rotate(45deg)}
@media (max-width:760px){.rf-fold>summary{padding:18px}.rf-fold-title{font-size:18px}.rf-fold-list{min-width:0;flex-basis:100%;order:3}}
@media (prefers-reduced-motion:reduce){.rf-fold-icon{transition:none}}
.rf-proof strong{white-space:nowrap}
