/* ReelFusion design layer (design-1). Loaded last on purpose: tokens, the six-door shell, section tabs, the phone
   bottom bar, plain titles, portraits and the shared patterns (KPI cards, pills, empty states). It overrides older
   sheets through specificity under .rf-shell instead of editing them. No inline styles anywhere (CSP). */
:root{--rf-ok:#5fd39a;--rf-warn:#f0b65a;--rf-bad:#ff939c;--rf-ink:#f4f3f8;--rf-muted:#9a9cab;--rf-panel:#191a21;--rf-panel-2:#1f2029;--rf-line:#2b2c36;--rf-purple:#b0a0ff;--rf-purple-2:#8f78ff;--rf-r-s:10px;--rf-r-m:14px;--rf-r-l:18px;--rf-sp-1:4px;--rf-sp-2:8px;--rf-sp-3:12px;--rf-sp-4:16px;--rf-sp-5:24px;--rf-sp-6:32px}

/* ---- sidebar: six doors ---- */
.rf-shell .mobile-menu,.rf-shell .studio-tools,.rf-shell .mobile-logout,.rf-shell .va-hub-tabs{display:none}
.rf-doors{display:flex;flex-direction:column;gap:4px;margin:14px 0 0}
.rf-door{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;border-radius:var(--rf-r-m);color:#cfd2dc;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:-.01em;position:relative;transition:background .15s ease,color .15s ease}
.rf-door svg{flex:0 0 22px;color:#8d92a4;transition:color .15s ease}
.rf-door:hover{background:rgba(255,255,255,.05);color:var(--rf-ink)}
.rf-door.is-active{background:linear-gradient(135deg,rgba(176,160,255,.22),rgba(143,120,255,.12));color:var(--rf-ink)}
.rf-door.is-active svg{color:var(--rf-purple)}
.rf-door.is-active::before{content:"";position:absolute;left:-12px;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--rf-purple)}
.rf-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--rf-purple-2);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.rf-badge[hidden]{display:none}
.rf-badge-inline{margin-left:6px;height:18px;min-width:18px;font-size:10px}
.rf-ws{margin-top:14px}
.rf-side-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.rf-side-bottom .row{display:flex;align-items:center;justify-content:space-between;padding:2px 0}
.rf-side-bottom button.ghost{color:var(--rf-muted);font-size:12px;cursor:pointer;padding:4px 6px;border-radius:6px;transition:color .15s ease,background .15s ease}
.rf-side-bottom button.ghost:hover{color:var(--rf-ink);background:rgba(255,255,255,.06)}
.rf-credits{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--rf-r-s);background:rgba(220,249,147,.08);color:var(--rf-ink);text-decoration:none;font-size:13px;font-weight:600}
.rf-credits svg{color:#dcf993}
.rf-tour-reopen{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:3px 10px;border-radius:12px;background:rgba(176,160,255,.1);border:1px solid rgba(176,160,255,.2);color:#d5beff;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.rf-tour-reopen:hover{background:rgba(176,160,255,.18);border-color:rgba(176,160,255,.35);color:#fff}

/* ---- top bar, crumbs, section tabs ---- */
.rf-crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--rf-muted)}
.rf-crumbs a{color:var(--rf-muted);text-decoration:none}.rf-crumbs a:hover{color:var(--rf-ink)}
.rf-crumbs b{color:var(--rf-ink);font-weight:600}
.rf-tabs{display:flex;gap:4px;padding:10px 28px 0;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--rf-line);background:transparent}
.rf-tabs::-webkit-scrollbar{display:none}
.rf-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;padding:10px 14px 12px;color:var(--rf-muted);text-decoration:none;font-size:14px;font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .15s ease,border-color .15s ease}
.rf-tabs a:hover{color:var(--rf-ink)}
.rf-tabs a.is-active{color:var(--rf-ink);border-bottom-color:var(--rf-purple)}

/* ---- plain titles ---- */
.rf-shell .content .page-heading h1,.rf-shell .content .home-heading h1,.rf-shell .content>section>h1,.rf-shell .content>div>h1,.rf-shell .content>h1{font-size:30px;line-height:1.15;letter-spacing:-.02em;font-weight:700;margin:0 0 6px}
.rf-shell .content .home-heading h1 span{display:none}
.rf-shell .content .page-heading p,.rf-shell .content .home-heading p{color:var(--rf-muted);font-size:15px;margin:0}
.rf-shell .content .page-heading{margin-bottom:var(--rf-sp-5)}
.rf-shell .content .home-kicker{font-size:12px;letter-spacing:.08em;color:var(--rf-muted)}

/* ---- portraits ---- */
.rf-portrait{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;border-radius:inherit}
.creator-portrait{position:relative;overflow:hidden}
.creator-portrait .rf-portrait{position:absolute;inset:0}
.creator-portrait.rf-has-portrait>span:first-of-type{opacity:0}
.creator-avatar{overflow:hidden}
.creator-avatar.rf-has-portrait>span{display:none}
.creator-avatar .rf-portrait{width:100%;height:100%}

/* ---- portrait picker (creator Settings) ---- */
.rf-portraits{margin-top:14px}.rf-portraits h3{margin:0 0 4px}.rf-portraits-note{color:var(--rf-muted);font-size:13px;margin:0 0 12px}
.rf-portrait-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px;margin-bottom:10px}
.rf-portrait-pick{padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#0f1015;aspect-ratio:3/4;cursor:pointer;transition:border-color .15s ease,transform .15s ease}.rf-portrait-pick img{width:100%;height:100%;object-fit:cover;display:block}.rf-portrait-pick:hover{transform:translateY(-1px)}.rf-portrait-pick.is-chosen{border-color:var(--rf-purple);box-shadow:0 0 0 3px rgba(176,160,255,.25)}.rf-portraits.is-busy{opacity:.6;pointer-events:none}

/* ---- VA rows: creator portrait badge on the initials ---- */
.rf-shell .va-face{position:relative}.rf-mini-portrait{position:absolute;right:-6px;bottom:-6px;width:22px;height:22px;border-radius:50%;object-fit:cover;border:2px solid var(--rf-panel);background:#0f1015}

/* ---- shared patterns ---- */
.rf-shell .home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rf-shell .home-stat{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px;border-radius:var(--rf-r-l);background:linear-gradient(180deg,var(--rf-panel-2),var(--rf-panel));border:1px solid var(--rf-line);text-decoration:none;color:var(--rf-ink);position:relative;transition:transform .15s ease,border-color .15s ease}
.rf-shell .home-stat:hover{transform:translateY(-1px);border-color:#3b3d4b}
.rf-shell .home-stat-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--rf-muted)}
.rf-shell .home-stat-label svg{width:18px;height:18px;color:var(--rf-purple)}
.rf-shell .home-stat strong{font-size:34px;line-height:1;letter-spacing:-.03em;font-weight:700}
.rf-shell .home-stat-accent{border-color:rgba(176,160,255,.45);background:linear-gradient(180deg,rgba(176,160,255,.16),var(--rf-panel))}
.rf-shell .pill{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.rf-shell .pill.good::before,.rf-shell .pill.warning::before,.rf-shell .pill.danger::before,.rf-shell .pill.bad::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}
.rf-shell .empty{border:1px dashed var(--rf-line);border-radius:var(--rf-r-l);padding:40px 20px}
.rf-shell .empty .empty-icon{width:52px;height:52px;border-radius:16px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;background:rgba(176,160,255,.12);color:var(--rf-purple);font-size:22px}
.rf-shell .empty h3{font-size:19px;margin:0 0 6px}
.rf-shell .empty p{color:var(--rf-muted);max-width:46ch;margin:0 auto 16px}
.rf-shell .footer-note,.rf-shell .todo-footnote{color:#7d8193;font-size:12px}
.rf-shell .performer-hint{display:block;color:var(--rf-muted);font-size:13px;font-weight:400;margin-top:4px}
.rf-shell .home-priority[hidden],.rf-shell [data-home-needs][hidden]{display:none!important}

/* ---- polish-1: quieter page tops, card action menus ---- */
.rf-shell .content>.page-heading .eyebrow,.rf-shell .content>section>.page-heading .eyebrow,.rf-shell .content>.eyebrow:first-child,.rf-shell .content>section:first-child>.eyebrow:first-child,.rf-shell .content>div:first-child>.eyebrow:first-child{display:none}
.rf-actions-more{position:relative;display:inline-block}.rf-actions-more>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;padding:7px 12px;border-radius:10px;border:1px solid var(--rf-line);background:var(--rf-panel-2);color:var(--rf-ink);font-size:13px;font-weight:600;user-select:none}.rf-actions-more>summary::-webkit-details-marker{display:none}.rf-actions-more>summary:hover{border-color:#3b3d4b}
.rf-actions-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:220px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border-radius:12px;border:1px solid var(--rf-line);background:var(--rf-panel);box-shadow:0 14px 40px rgba(0,0,0,.45)}.rf-actions-menu>*{width:100%;text-align:left;justify-content:flex-start;margin:0}.rf-actions-menu small{color:var(--rf-muted);font-size:12px;padding:2px 4px}
.rf-shell .asset-actions{gap:8px;align-items:center}
.rf-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}.rf-chip{font-size:12px;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.06);color:var(--rf-ink);text-decoration:none;border:1px solid var(--rf-line)}.rf-chip:hover{border-color:var(--rf-purple)}
@media(max-width:720px){.rf-shell .home-desk-main .home-priorities{order:-1}.rf-shell .first-reel-steps li:not(.next){display:none}.rf-shell .first-reel-head p{display:none}.rf-shell .first-reel{padding:14px}.rf-actions-menu{right:auto;left:0}}

/* ---- team-4: one VA list; the detailed roster folds under the cards ---- */
.va-hub-all{margin-top:18px;border:1px solid var(--rf-line);border-radius:var(--rf-r-l);background:var(--rf-panel)}
.va-hub-all>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 18px;font-size:15px}.va-hub-all>summary::-webkit-details-marker{display:none}
.va-hub-all>summary strong{font-family:inherit}.va-hub-all>summary span{color:var(--rf-muted);font-size:13px;flex:1;min-width:0}.va-hub-all>summary b{min-width:26px;height:26px;padding:0 8px;border-radius:13px;background:rgba(176,160,255,.16);color:var(--rf-purple);display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.va-hub-all>summary::after{content:'⌄';color:var(--rf-muted);font-size:18px;transition:transform .15s ease}.va-hub-all[open]>summary::after{transform:rotate(180deg)}
.va-hub-all[open]>summary{border-bottom:1px solid var(--rf-line)}.va-hub-all .va-hub-filters{padding:14px 18px 0}.va-hub-all .va-hub-roster{padding:0 6px 6px}.va-hub-all [data-va-gap-summary]{margin:12px 18px 0}
.tv-gaps{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}.tv-gaps:empty{display:none}

/* ---- route-1: how fans reach her paid page ---- */
.tg-route{margin:0 0 12px;padding:12px 14px;border:1px solid var(--rf-line);border-radius:var(--rf-r-m);background:var(--rf-panel-2)}
.tg-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}@media(max-width:720px){.tg-route-grid{grid-template-columns:1fr}}
.tg-route-opt{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--rf-line);border-radius:12px;cursor:pointer;background:var(--rf-panel)}.tg-route-opt input{margin:3px 0 0;accent-color:var(--rf-purple-2)}.tg-route-opt b{display:block;font-size:14px}.tg-route-opt small{color:var(--rf-muted);font-size:12px;line-height:1.4}.tg-route-opt.is-on{border-color:var(--rf-purple);box-shadow:0 0 0 3px rgba(176,160,255,.18)}
.tg-panel.tg-off{padding:0;border:0;background:none}
.tg-route.is-top{margin:0 0 16px}
html.rf-route-telegram label[for^="bio-"],html.rf-route-telegram .bio-link-copy,html.rf-route-telegram .bio-instruction{display:none}
html.rf-route-telegram .link-card-body>label.link-field-label:first-of-type,html.rf-route-telegram .link-card-body>label.link-field-label:first-of-type+.link-address,html.rf-route-telegram .link-pages-guide{display:none}   /* Telegram route: the bio holds the Telegram link, not the Highlight page */

/* ---- start-1: the Start-here card ---- */
.rf-start{padding:18px 20px;border:1px solid rgba(176,160,255,.35);background:linear-gradient(180deg,rgba(176,160,255,.12),var(--rf-panel))}
.rf-start-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.rf-start-head h2{margin:4px 0 0;font-size:22px;letter-spacing:-.01em}
.rf-start-bar{height:6px;border-radius:3px;background:rgba(255,255,255,.08);margin:12px 0 14px;overflow:hidden}.rf-start-bar i{display:block;height:100%;width:0;background:var(--rf-purple);border-radius:3px;transition:width .3s ease}
.rf-start-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.rf-start-steps li{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;color:var(--rf-muted)}
.rf-start-steps li.next{background:rgba(176,160,255,.12);color:var(--rf-ink)}.rf-start-steps li.done{color:#8d92a4}.rf-start-steps li.done strong{text-decoration:line-through;text-decoration-color:rgba(255,255,255,.25)}
.rf-start-n{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:rgba(255,255,255,.08)}.rf-start-steps li.done .rf-start-n{background:rgba(95,211,154,.18);color:var(--rf-ok)}.rf-start-steps li.next .rf-start-n{background:var(--rf-purple-2);color:#fff}
.rf-start-steps strong{display:block;font-size:14px}.rf-start-steps small{display:block;color:var(--rf-muted);font-size:12px;margin-top:2px}
.identity-attempt{font-size:13px;color:var(--rf-muted);margin:8px 0 0}.identity-attempt.is-failed{color:var(--rf-warn)}.identity-attempt.is-held{color:var(--rf-muted)}
@media(max-width:720px){.rf-start-steps li{grid-template-columns:28px 1fr}.rf-start-go{grid-column:2}}

/* ---- phone: bottom bar instead of the sidebar ---- */
.rf-bottombar,.rf-more{display:none}
@media(max-width:900px){
  .rf-shell{display:block}
  .rf-shell .rf-side{display:none}
  .rf-shell .rf-main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .rf-shell .rf-topbar .mobile-credit{display:none}
  .rf-tabs{padding:8px 16px 0}
  .rf-shell .home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rf-shell .creator-grid,.rf-shell[data-page=creators] .creator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}   /* readability.css pins one column with a 3-class selector */
  .rf-shell .creator-card .creator-portrait{aspect-ratio:4/5;max-height:220px}
  .rf-shell .creator-card .creator-card-body{padding:10px 12px}.rf-shell .creator-card .creator-card-footer{flex-wrap:wrap;gap:4px 10px;font-size:12px}
  .rf-bottombar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(17,18,23,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--rf-line);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))}
  .rf-bottom-link{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;border:0;background:none;color:#8d92a4;font:inherit;font-size:11px;font-weight:600;text-decoration:none;border-radius:12px;position:relative}
  .rf-bottom-link svg{width:22px;height:22px}
  .rf-bottom-link span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  @media(max-width:360px){.rf-bottom-link{font-size:10px}.rf-bottom-link span{letter-spacing:-.01em}}
  .rf-bottom-link.is-active{color:var(--rf-purple)}
  .rf-bottom-link .rf-badge{position:absolute;top:2px;right:calc(50% - 20px);margin:0;min-width:16px;height:16px;font-size:10px}
  .rf-more{display:block;position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.55)}
  .rf-more[hidden]{display:none}
  .rf-more-sheet{position:absolute;left:0;right:0;bottom:0;background:var(--rf-panel);border-radius:22px 22px 0 0;padding:14px 14px calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:4px;box-shadow:0 -12px 40px rgba(0,0,0,.5)}
  .rf-more-head{display:flex;flex-direction:column;gap:2px;padding:6px 10px 12px}
  .rf-more-head strong{font-size:16px}.rf-more-head small{color:var(--rf-muted);font-size:12px}
  .rf-more-link{display:flex;align-items:center;gap:12px;padding:12px 10px;border-radius:12px;border:0;background:none;color:var(--rf-ink);font:inherit;font-size:15px;font-weight:600;text-decoration:none;text-align:left;width:100%}
  .rf-more-link svg{color:#8d92a4}.rf-more-link.is-active{background:rgba(176,160,255,.14)}.rf-more-link.is-active svg{color:var(--rf-purple)}
  html.rf-more-open{overflow:hidden}
}
@media(prefers-reduced-motion:reduce){.rf-door,.rf-tabs a,.rf-shell .home-stat{transition:none}}

/* Library actions expand inside their card: no clipped labels or hidden dropdown. */
.rf-shell .asset-card .asset-actions{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}
.rf-shell .asset-card .asset-actions>button,.rf-shell .asset-card .asset-actions>a{width:100%;min-width:0;max-width:100%;min-height:42px;padding:10px 12px;font-size:14px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.rf-shell .asset-card .asset-actions>.rf-actions-more{display:block;min-width:0;max-width:100%;min-height:0;padding:0;overflow:visible;white-space:normal;text-overflow:clip}
.rf-shell .asset-card .rf-actions-more>summary{display:flex;justify-content:center;box-sizing:border-box;width:100%;min-height:40px;padding:9px 12px;line-height:1.35;white-space:normal}
.rf-shell .asset-card .rf-actions-menu{position:static;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-top:8px;box-shadow:none}
.rf-shell .asset-card .rf-actions-menu>*{box-sizing:border-box;min-width:0;max-width:100%;height:auto;min-height:40px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.35;font-size:14px}

/* The owner shell has no mobile sidebar header. Keep its toolbar in flow, above the tabs. */
@media(max-width:900px){
  .rf-shell .rf-main>.rf-topbar{position:relative;inset:auto;width:100%;height:auto;min-height:60px;padding:10px 16px;gap:12px;border-bottom:1px solid var(--rf-line)}
  .rf-shell .rf-topbar>.row{width:auto;margin-left:auto;flex-wrap:nowrap;flex-shrink:0;gap:6px}
  .rf-shell .rf-topbar .rf-crumbs{display:flex;flex:1;min-width:0;overflow:hidden;white-space:nowrap}
  .rf-shell .rf-topbar .rf-crumbs>a:not(:last-child),.rf-shell .rf-topbar .rf-crumbs>span{display:none}
  .rf-shell .rf-topbar .rf-crumbs>b,.rf-shell .rf-topbar .rf-crumbs>a:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .rf-shell .rf-topbar .lang-switch{position:static}
  .rf-shell .rf-topbar .lang-menu{position:absolute;top:calc(100% + 8px);bottom:auto;right:12px;left:auto;width:min(320px,calc(100vw - 24px));max-height:min(60vh,440px);overflow-y:auto}
}


/* Shared section icons: visible labels stay intact on desktop and phones. */
.rf-section-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;color:inherit}
.rf-section-icon svg{display:block;width:18px;height:18px;flex-shrink:0}
.rf-section-label{min-width:0}
.rf-tabs a,.admin-tabs button,.va-hub-tabs a,.os-switch button{display:inline-flex;align-items:center;gap:8px}
.os-switch button{justify-content:center;min-width:0;white-space:normal}
@media(max-width:600px){
  .admin-tabs button{white-space:normal;text-align:left}
  .va-hub-tabs a{gap:6px}
}

/* Narrow phones need room for readable media actions, including their icons. */
@media(max-width:380px){.rf-shell .asset-grid{grid-template-columns:minmax(0,1fr)}}

/* ---- Performance Chart Polish: Clean spacing & bar hover glow ---- */
.agency-home .home-chart-summary{margin-bottom:24px}
.agency-home .home-chart-scroll{padding-top:34px}
.home-chart-week{position:relative;cursor:pointer}
.home-chart-week:hover .home-chart-bar{transform:scaleY(1.02);filter:brightness(1.15)}
.home-chart-bar{transition:transform .18s ease,filter .18s ease}

/* ---- Smooth tab edge fade mask ---- */
.rf-tabs{mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}

/* ---- Micro-interaction glow on primary CTAs & cards ---- */
.rf-shell .home-stat:hover{box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 0 1px rgba(176,160,255,.18)}
.rf-shell .home-priority:hover{background:rgba(255,255,255,.04);transition:background .15s ease}
.rf-shell .creator-card:hover{box-shadow:0 12px 36px rgba(0,0,0,.45),0 0 0 1px rgba(176,160,255,.25)}

/* ---- 10/10 Polish: Modern Reels Results Showcase ---- */
.performer-filters{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:16px;margin:18px 0 22px}
.performer-filters label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--rf-muted,#9ba1b4);margin:0;min-width:auto}
.performer-filters select{background:#161722;border:1px solid rgba(255,255,255,.12);color:#fff;border-radius:10px;padding:8px 14px;font-size:13px;outline:none;cursor:pointer;transition:border-color .15s ease}
.performer-filters select:hover,.performer-filters select:focus{border-color:rgba(180,160,255,.5)}
.performer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:28px}
.performer-card{background:linear-gradient(180deg,#181924,#13141b);border:1px solid rgba(255,255,255,.08);border-radius:20px;overflow:hidden;min-width:0;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.performer-card:hover{transform:translateY(-4px);border-color:rgba(180,160,255,.32);box-shadow:0 18px 40px rgba(0,0,0,.6),0 0 20px rgba(180,160,255,.1)}
.performer-media{position:relative;width:100%;aspect-ratio:9/14;max-height:500px;background:#0a0b10;overflow:hidden;display:flex;align-items:center;justify-content:center}
.performer-media video,.performer-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .3s cubic-bezier(.16,1,.3,1)}
.performer-card:hover .performer-media video,.performer-card:hover .performer-media img{transform:scale(1.02)}
.performer-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,transparent 24%,transparent 70%,rgba(0,0,0,.65) 100%);pointer-events:none;z-index:2}
.performer-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:rgba(20,21,31,.78);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;transition:all .2s ease;box-shadow:0 8px 24px rgba(0,0,0,.5);outline:none}
.performer-play-btn:hover{transform:translate(-50%,-50%) scale(1.1);background:rgba(143,120,255,.85);border-color:#d1bcff}
.performer-play-btn svg{margin-left:2px}
.performer-card.is-playing .performer-play-btn{opacity:0;pointer-events:none}
.performer-rank{position:absolute;top:13px;left:13px;z-index:4;border-radius:10px;padding:5px 11px;font-size:12px;font-weight:750;letter-spacing:.02em;backdrop-filter:blur(10px);background:rgba(20,21,31,.8);color:#d1c2ff;border:1px solid rgba(255,255,255,.14);box-shadow:0 4px 12px rgba(0,0,0,.4)}
.performer-rank.is-gold{background:linear-gradient(135deg,rgba(255,215,0,.32),rgba(218,165,32,.22));border-color:rgba(255,215,0,.7);color:#ffe76a;box-shadow:0 4px 16px rgba(255,215,0,.3)}
.performer-rank.is-silver{background:linear-gradient(135deg,rgba(235,235,248,.32),rgba(180,180,205,.22));border-color:rgba(235,235,248,.7);color:#f4f4ff;box-shadow:0 4px 16px rgba(235,235,248,.25)}
.performer-rank.is-bronze{background:linear-gradient(135deg,rgba(215,135,60,.32),rgba(165,90,50,.22));border-color:rgba(215,135,60,.7);color:#f8b58a;box-shadow:0 4px 16px rgba(215,135,60,.25)}
.performer-watch{position:absolute;top:13px;right:13px;z-index:4;border-radius:10px;padding:6px 12px;font-size:11px;font-weight:600;backdrop-filter:blur(10px);background:rgba(20,21,31,.75);color:#fff;border:1px solid rgba(255,255,255,.16);text-decoration:none;transition:background .15s ease,border-color .15s ease}
.performer-watch:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.3)}
.performer-body{padding:18px 20px;display:flex;flex-direction:column;gap:12px;flex:1}
.performer-body p{font-size:13px;line-height:1.45;color:#ddd9ec;min-height:38px;margin:0}
.performer-numbers{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);padding:12px 14px;border-radius:14px}
.performer-numbers strong{font-size:19px;font-weight:750;letter-spacing:-.02em;color:#fff;line-height:1.2}
.performer-numbers .metric-views strong{color:#d8c9ff;font-size:21px}
.performer-numbers .metric-label{font-size:11px;color:#9b9fad;display:flex;align-items:center;gap:4px;margin-bottom:3px}
.ratio-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:rgba(220,249,147,.12);border:1px solid rgba(220,249,147,.3);color:#dcf993;font-weight:700;font-size:12px}
.performer-ratio{color:#c9c4db;font-size:12px;display:flex;align-items:center;gap:6px}
@media(max-width:1150px){.performer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.performer-grid{grid-template-columns:1fr}.performer-media{aspect-ratio:9/13}}

/* ---- 10/10 Polish: Needs You Executive Action Dashboard ---- */
.todo .page-heading{margin-bottom:24px}
.todo-section h2{font-size:16px;font-weight:700;color:#f0ebfa;display:flex;align-items:center;gap:10px;margin-bottom:12px}
.todo-list{background:linear-gradient(180deg,#191a24,#13141b);border:1px solid rgba(255,255,255,.08);border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.45);overflow:hidden}
.todo-item{padding:16px 20px;border-top:1px solid rgba(255,255,255,.05);transition:background .15s ease,border-color .15s ease}
.todo-item:hover{background:rgba(255,255,255,.03)}
.todo-thumb{width:56px;height:72px;border-radius:10px;object-fit:cover;border:1px solid rgba(255,255,255,.12);box-shadow:0 4px 14px rgba(0,0,0,.5);flex-shrink:0}
.todo-main strong{font-size:15px;font-weight:650;color:#fff}
.todo-main small{font-size:12px;color:#9b9fad;margin-top:3px}
.todo-main p{font-size:13px;line-height:1.5;color:#c9c4db;margin:6px 0 0}
.todo-actions button[data-action="approve"],.todo-actions button[data-todo-decide="approve"]{background:linear-gradient(135deg,#a78bfa,#7c3aed)!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:8px 18px!important;font-weight:650!important;box-shadow:0 4px 14px rgba(124,58,237,.35)!important;transition:transform .15s ease,box-shadow .15s ease!important;cursor:pointer}
.todo-actions button[data-action="approve"]:hover,.todo-actions button[data-todo-decide="approve"]:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(124,58,237,.55)!important}
.todo-actions button[data-action="decline"],.todo-actions button[data-todo-decide="decline"]{background:rgba(248,113,113,.08)!important;color:#f87171!important;border:1px solid rgba(248,113,113,.22)!important;border-radius:10px!important;padding:7px 14px!important;font-weight:550!important;transition:background .15s ease,border-color .15s ease!important;cursor:pointer}
.todo-actions button[data-action="decline"]:hover,.todo-actions button[data-todo-decide="decline"]:hover{background:rgba(248,113,113,.18)!important;border-color:rgba(248,113,113,.4)!important}
.todo-clear{border:1px solid rgba(110,231,183,.3);border-radius:18px;background:linear-gradient(140deg,rgba(16,185,129,.12),rgba(5,150,105,.04));box-shadow:0 12px 32px rgba(0,0,0,.35)}
.todo-clear span{background:rgba(16,185,129,.2);border:1px solid rgba(110,231,183,.4);color:#6ee7b7}

/* ---- 10/10 Polish: Calendar Week Board & Day Timeline ---- */
.day-planner{padding:24px}
.cal-board{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));gap:10px;margin-bottom:26px;overflow-x:auto;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:rgba(167,139,250,.35) transparent}
.cal-col{border-radius:16px;background:linear-gradient(180deg,#181924,#12131b);border:1px solid rgba(255,255,255,.08);transition:all .18s ease;min-width:140px}
.cal-col.is-today{border-color:rgba(167,139,250,.5);box-shadow:0 0 20px rgba(167,139,250,.14)}
.cal-col.is-selected{border-color:#a78bfa;background:linear-gradient(180deg,#241e38,#151420);box-shadow:0 0 0 1px rgba(167,139,250,.4) inset,0 16px 36px rgba(0,0,0,.55)}
.cal-chips{max-height:280px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(167,139,250,.35) transparent;padding:6px;gap:5px;display:flex;flex-direction:column}
.cal-chip{border-radius:9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);padding:6px 8px;font-size:11.5px;transition:all .15s ease}
.cal-chip:hover{border-color:rgba(167,139,250,.6);background:rgba(255,255,255,.08);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.cal-chip .cal-time,.cal-chip.no-thumb .cal-time{display:inline-block!important;font-size:10.5px;font-weight:600;color:#cdbaff}
.cal-chip .cal-who{display:inline-block!important;font-size:11.5px;font-weight:550;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.day-planner .planner-entry{border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);padding:14px 18px;gap:14px;align-items:center;transition:all .15s ease}
.day-planner .planner-entry:hover{border-color:rgba(167,139,250,.35);background:rgba(255,255,255,.04);transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,.35)}
.day-planner .planner-media{border-radius:10px;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.1)}

/* ---- 10/10 Polish: Content Library Media Grid & Batch Actions ---- */
.asset-grid{gap:18px}
.asset-card{position:relative;border-radius:16px;background:linear-gradient(180deg,#181924,#13141b);border:1px solid rgba(255,255,255,.08);overflow:hidden;transition:all .2s ease}
.asset-card:hover{transform:translateY(-3px);border-color:rgba(180,160,255,.32);box-shadow:0 14px 32px rgba(0,0,0,.5),0 0 16px rgba(180,160,255,.08)}
.asset-card.is-selected{border-color:#a78bfa!important;box-shadow:0 0 0 2px rgba(167,139,250,.45),0 12px 32px rgba(0,0,0,.5)!important}
.asset-batch-select{position:absolute;top:10px;right:10px;left:auto;z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center}
.asset-card .media-publication{max-width:calc(100% - 50px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.asset-batch-select input{position:absolute;opacity:0;pointer-events:none}
.asset-batch-checkbox{width:26px;height:26px;border-radius:8px;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.35);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;color:transparent;font-size:14px;font-weight:800;transition:all .15s ease}
.asset-batch-select:hover .asset-batch-checkbox{border-color:#a78bfa;background:rgba(167,139,250,.28);box-shadow:0 0 10px rgba(167,139,250,.3)}
.asset-batch-select input:checked+.asset-batch-checkbox{background:linear-gradient(135deg,#a78bfa,#7c3aed);border-color:#a78bfa;color:#fff;box-shadow:0 0 14px rgba(167,139,250,.6)}
.library-batch-bar{position:sticky;bottom:24px;z-index:50;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 22px;border-radius:16px;background:rgba(22,23,32,.94);backdrop-filter:blur(20px);border:1px solid rgba(167,139,250,.35);box-shadow:0 16px 40px rgba(0,0,0,.6),0 0 24px rgba(167,139,250,.15);margin:18px 0;animation:batchBarIn .22s cubic-bezier(.16,1,.3,1)}
@keyframes batchBarIn{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}
.library-batch-count{font-size:14px;color:#d8cffe}
.library-batch-count strong{color:#fff;font-size:16px;margin-right:2px}
.asset-media{border-radius:12px;overflow:hidden;background:#0d0e15}
.media-picker-tabs button{border-radius:999px;transition:all .15s ease}
.media-picker-tabs button[aria-selected=true]{background:linear-gradient(135deg,#a78bfa,#7c3aed);border-color:#7c3aed;color:#fff;box-shadow:0 4px 14px rgba(124,58,237,.35)}

/* ---- Asset Card Clean Presentation (Zero Video Controls Overlap) ---- */
.asset-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.asset-title-row h3{margin-bottom:0;flex:1;min-width:0;font-size:13px;font-weight:650;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.asset-card-pills{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}
.asset-card-pills .pill{flex-shrink:0;font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.07);color:#dcd8ef;border:1px solid rgba(255,255,255,.12);backdrop-filter:none}
.asset-card-pills .media-sscd-badge{position:static;display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:6px;background:#153423f2;color:#b6f3c9;border:1px solid #36a568aa;font-size:10.5px;font-weight:700;letter-spacing:.3px;box-shadow:none;white-space:nowrap;flex-shrink:0;line-height:1.3}
.asset-cover .media-cover-handle{display:none!important}
.asset-cover>.pill{display:none!important}
.asset-cover .media-sscd-badge{display:none!important}
.sb-row.is-top .sb-rank::before{content:"👑 "}
.sb-row.is-second .sb-rank::before{content:"🥈 "}
.sb-row.is-third .sb-rank::before{content:"🥉 "}

/* ---- 10/10 Polish: Modern Team Chat Experience ---- */
.team-chat{border-radius:20px;background:linear-gradient(180deg,#181924,#12131b);border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 40px rgba(0,0,0,.5)}
.chat-header{padding:18px 24px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.02);display:flex;align-items:center;justify-content:space-between}
.chat-header strong{font-size:15px;font-weight:700;color:#fff;display:flex;align-items:center;gap:8px}
.chat-header strong::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b981}
.chat-message{border-radius:18px 18px 18px 4px;background:#1e1f2b;border:1px solid rgba(255,255,255,.08);padding:14px 18px;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.chat-message.own{border-radius:18px 18px 4px 18px;background:linear-gradient(135deg,#362854,#271c3e);border-color:rgba(180,160,255,.3);box-shadow:0 4px 18px rgba(0,0,0,.35)}
.chat-message header strong{color:#dcd3ff;font-size:13.5px}
.chat-compose{border-top:1px solid rgba(255,255,255,.07);padding:18px 24px 12px;background:rgba(255,255,255,.015)}
.chat-compose textarea{border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#12131a;color:#fff;padding:12px 14px;font-size:14px;transition:all .15s ease}
.chat-compose textarea:focus{border-color:rgba(180,160,255,.5);outline:none;box-shadow:0 0 16px rgba(180,160,255,.15)}

/* ---- 10/10 Polish: High-Stakes VA Scoreboard ---- */
.sb-kpis{gap:14px;margin-bottom:20px}
.sb-kpi{border-radius:16px;background:linear-gradient(180deg,#181924,#13141b);border:1px solid rgba(255,255,255,.08);padding:16px 18px;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.sb-kpi strong{font-size:26px;letter-spacing:-.03em;color:#fff}
.sb-kpi.sb-accent strong{color:#d6c7ff}
.sb-kpi.sb-warn strong{color:#fbbf24}
.sb-list{border-radius:18px;background:linear-gradient(180deg,#181924,#13141b);border:1px solid rgba(255,255,255,.08);overflow:hidden;box-shadow:0 12px 32px rgba(0,0,0,.4)}
.sb-row{border-top:1px solid rgba(255,255,255,.05);transition:background .15s ease}
.sb-row:first-child{border-top:0}
.sb-row>summary:hover{background:rgba(255,255,255,.035)}
.sb-rank{border-radius:10px;font-size:12.5px;font-weight:750;background:rgba(167,139,250,.12);color:#c4b5fd;border:1px solid rgba(167,139,250,.2);padding:3px 7px}
.sb-row.is-top .sb-rank{background:linear-gradient(135deg,#ffd700,#f59e0b)!important;color:#1a1000!important;font-weight:850!important;border-color:#ffd700!important;box-shadow:0 0 20px rgba(255,215,0,.45)!important}
.sb-row.is-second .sb-rank{background:linear-gradient(135deg,#e2e8f0,#94a3b8)!important;color:#0f172a!important;font-weight:800!important;border-color:#cbd5e1!important;box-shadow:0 0 16px rgba(226,232,240,.35)!important}
.sb-row.is-third .sb-rank{background:linear-gradient(135deg,#f59e0b,#b45309)!important;color:#fff!important;font-weight:800!important;border-color:#f59e0b!important;box-shadow:0 0 14px rgba(245,158,11,.3)!important}
.sb-bar{background:rgba(255,255,255,.06);border-radius:999px;height:7px;overflow:hidden}
.sb-bar em{background:linear-gradient(90deg,#8b5cf6,#ec4899);border-radius:999px;box-shadow:0 0 10px rgba(236,72,153,.35)}

