/* site-10 (2026-10-17): every page a 10. Linked last in index.html. */
/* ---- site-10 signup ---- */
/* ==== site-10 · signup: a brand-new agency's journey (homepage, sign-in dialogs, setup guide, Home, empty doors, her face step) ==== */

/* -- Sign-in dialog: Google / email-link buttons stay hidden until the server says they are switched on (author display rules
      would otherwise beat the [hidden] attribute). */
#modal [data-auth-providers][hidden],#modal [data-auth-divider][hidden],#modal .auth-google[hidden],#modal .auth-magic[hidden]{display:none!important}

/* -- Homepage: hero facts as one tidy row (were 8–10 px text with a dangling tick), readable on a phone. */
.rf-landing .rf-hero-facts{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;max-width:560px}
.rf-landing .rf-hero-facts li{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.4;color:#c9c5d3}
.rf-landing .rf-hero-facts strong{font-weight:600;color:#f2effa}
.rf-landing .rf-hero-facts svg{width:16px;height:16px;flex:0 0 16px;color:var(--rf-green,#d7f9a6)}
@media(max-width:720px){.rf-landing .rf-hero-facts{flex-direction:column;gap:8px;margin-top:18px}.rf-landing .rf-hero-facts li{font-size:14px}}

/* -- Homepage: "After you sign up" — the five setup steps, in order. */
.rf-landing .rf-start-path{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"copy steps" "cta steps";gap:0 48px;align-items:end;margin:96px 0 0;padding:44px;border:1px solid #4d3d63;border-radius:22px;background:radial-gradient(ellipse at 0% 0%,#7850b130,transparent 60%),#17161d;scroll-margin-top:30px}
.rf-landing .rf-start-path h2{font-size:46px;line-height:1.08;letter-spacing:-1.8px;margin:16px 0 16px}
.rf-landing .rf-start-path h2 em{font-style:normal;color:var(--rf-purple,#bdabff)}
.rf-landing .rf-start-path-copy{grid-area:copy}
.rf-landing .rf-start-path-copy>p{font-size:15px;line-height:1.65;color:#b9b4c6;margin:0 0 24px;max-width:40ch}
.rf-landing .rf-start-path-steps{grid-area:steps;align-self:center}
.rf-landing .rf-start-path-cta{grid-area:cta;align-self:start}
.rf-landing .rf-start-path-cta>button{min-height:48px;padding:13px 22px;font-size:14px}
.rf-landing .rf-start-path-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:rfstep}
.rf-landing .rf-start-path-steps li{counter-increment:rfstep;display:grid;grid-template-columns:36px 1fr;column-gap:14px;align-items:center;padding:14px 16px;border:1px solid #ffffff14;border-radius:14px;background:#1d1c25}
.rf-landing .rf-start-path-steps li::before{content:counter(rfstep);grid-row:1/3;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:650;font-size:14px;color:#1e182c;background:var(--rf-purple,#bdabff)}
.rf-landing .rf-start-path-steps b{font-size:15px;font-weight:600;color:#f5f3fa}
.rf-landing .rf-start-path-steps span{font-size:13px;line-height:1.45;color:#a9a4b8}
@media(max-width:900px){.rf-landing .rf-start-path{grid-template-columns:1fr;grid-template-areas:"copy" "steps" "cta";gap:22px;padding:30px 22px;margin-top:64px}.rf-landing .rf-start-path h2{font-size:36px;letter-spacing:-1.2px}}
@media(max-width:720px){.rf-landing .rf-start-path{padding:24px 16px;border-radius:18px}.rf-landing .rf-start-path h2{font-size:31px}.rf-landing .rf-start-path-cta>button{width:100%}.rf-landing .rf-start-path-copy>p{margin-bottom:0}.rf-landing .rf-start-path-steps li{padding:12px 12px}.rf-landing .rf-start-path-copy{order:0}}

/* -- Setup guide card (Home + her Dashboard tab): the path is always visible, one primary button. */
.rf-shell .rf-start{scroll-margin-top:100px}
.rf-shell .rf-start .rf-start-head{align-items:center}
.rf-shell .rf-start .rf-start-progress{margin:16px 0 14px}
.rf-shell .rf-start .rf-start-next{align-items:center}
.rf-shell .rf-start .rf-start-step{display:block;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#b9a8f5;margin:0 0 6px}
.rf-shell .rf-start .rf-start-next h3{font-size:19px}
.rf-shell .rf-start .rf-start-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:2px}
.rf-shell .rf-start .rf-start-steps li{display:flex;align-items:center;gap:12px;min-height:36px;padding:6px 4px;font-size:14px;line-height:1.35;color:var(--rf-muted,#aaa6bb);border-radius:8px}
.rf-shell .rf-start .rf-start-steps li>span:nth-child(2){flex:1;min-width:0}
.rf-shell .rf-start .rf-start-steps small{font-size:12px;color:#8f8a9f;white-space:nowrap}
.rf-shell .rf-start .rf-start-mark{flex:0 0 24px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;border:1px solid #ffffff22;color:#8f8a9f}
.rf-shell .rf-start .rf-start-steps .is-done{color:#9ea4ad}
.rf-shell .rf-start .rf-start-steps .is-done>span:nth-child(2){text-decoration:line-through;text-decoration-color:#ffffff40}
.rf-shell .rf-start .rf-start-steps .is-done .rf-start-mark{background:#83d7b022;border-color:#83d7b066;color:#83d7b0}
.rf-shell .rf-start .rf-start-steps .is-next{color:#f1ecff;font-weight:600;background:rgba(176,160,255,.08)}
.rf-shell .rf-start .rf-start-steps .is-next .rf-start-mark{background:#b49bff;border-color:#b49bff;color:#1d1534}
.rf-shell .rf-start .rf-start-steps .is-busy .rf-start-mark{border-color:#e8c46a88;color:#e8c46a}
.rf-shell .rf-start .rf-start-credits{margin:14px 0 0;padding-top:12px;border-top:1px solid #ffffff12;font-size:13px;line-height:1.6;color:#9f9aaf}
.rf-shell .rf-start .rf-start-credits span{margin-left:4px;color:#cfc8e6}
.rf-shell .rf-start .rf-start-credits a{margin-left:6px;color:#cbb9ff;font-weight:600;white-space:nowrap}
.rf-shell .rf-start-creator{margin-top:4px}
@media(max-width:720px){
  .rf-shell .rf-start .rf-start-next p{display:block}
  .rf-shell .rf-start .rf-start-next .rf-start-go{width:100%;margin-top:14px;min-height:48px}
  .rf-shell .rf-start .rf-start-steps li{font-size:14px}
}

/* -- Home: the setup guide leads (phone and desktop); a brand-new agency sees only the guide. The four count tiles were
      duplicates of "Needs your attention", "Up next" and Team & VAs (drop, see findings). */
.rf-shell .agency-home .home-fresh-guide{margin:0 0 22px}
.rf-shell .agency-home .home-stats{display:none}
.rf-shell .agency-home .home-desk[hidden]{display:none!important}
.rf-shell .agency-home.is-fresh .home-heading{display:none}
.rf-shell .agency-home.is-fresh .home-fresh-guide{margin-top:4px}
@media(max-width:720px){
  .rf-shell .agency-home>.home-fresh-guide{order:2}
  .rf-shell .agency-home .home-desk-main>.home-priorities{order:3}
  .rf-shell .agency-home>.home-today{order:4}
  .rf-shell .agency-home .home-desk-side>.home-upcoming{order:5}
  .rf-shell .agency-home .home-desk-main>.home-roster{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-fresh-guide{margin:0}
}

/* -- Empty doors before her creator exists: one card, one button; no filters or queues around nothing. */
.rf-shell .content:has([data-rf-needs-creator]) #creation-queue,
.rf-shell .content:has([data-rf-needs-creator]) [data-form="library-search"],
.rf-shell .content:has([data-rf-needs-creator]) [data-storage-meter]{display:none}
.rf-shell .content .empty:has([data-rf-needs-creator]){max-width:560px;margin-left:auto;margin-right:auto}
.rf-shell [data-va-hub] .card:has([data-rf-needs-creator]) [data-rf-needs-creator]{margin-top:6px}

/* -- Her Setup tab: optional photo settings fold away under the face step. */
.rf-shell .identity-overview .identity-optional{grid-column:1/-1;border:1px solid var(--rf-line,#ffffff16);border-radius:16px;background:rgba(255,255,255,.02)}
.rf-shell .identity-overview .identity-optional>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:14px 18px;font-size:15px;font-weight:600;color:#ddd6f3}
.rf-shell .identity-overview .identity-optional>summary::-webkit-details-marker{display:none}
.rf-shell .identity-overview .identity-optional>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:4px;flex:0 0 auto}
.rf-shell .identity-overview .identity-optional[open]>summary::after{transform:rotate(-135deg)}
.rf-shell .identity-overview .identity-optional[open]{padding:0 12px 12px}
.rf-shell .identity-overview .identity-optional>.card{margin-top:12px}

/* -- Homepage on a phone: every tap target at least 44 px (Log in was 28 px, "Watch how it works" 25 px). */
@media(max-width:720px){
  .rf-landing .rf-nav-actions .ghost{min-height:44px;padding:0 16px}
  .rf-landing .rf-hero-actions .rf-text-link{min-height:44px;display:inline-flex;align-items:center}
  .rf-landing .rf-motion-button{min-height:44px;padding:0 14px}
  .rf-landing .rf-final .rf-inline-button{min-height:44px;padding:0 8px}
}

/* -- Homepage on a phone: credit packs as a short list (were seven tall cards), proof numbers above their words. */
@media(max-width:650px){
  .rf-landing .rf-packs{grid-template-columns:1fr;gap:8px}
  .rf-landing .rf-pack{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"n c p" "s s s";align-items:baseline;column-gap:8px;text-align:left;padding:13px 16px}
  .rf-landing .rf-pack strong{grid-area:n;font-size:22px}
  .rf-landing .rf-pack span{grid-area:c}
  .rf-landing .rf-pack b{grid-area:p;margin:0;font-size:20px}
  .rf-landing .rf-pack small{grid-area:s;margin-top:2px}
  .rf-landing .rf-pack i{left:auto;right:14px;transform:none;top:-10px}
  .rf-landing .rf-pack-popular{margin-top:8px}
  .rf-landing .rf-proof>div{flex-direction:column;align-items:flex-start;gap:4px}
  .rf-landing .rf-proof span{max-width:none}
  #modal .auth-form footer .auth-dot{display:none}
}

/* -- Her Dashboard tab while her setup card shows: the card's one button is the next step; the header buttons wait. */
.rf-shell .content:has(.rf-start-creator) .creator-actions{display:none}

/* -- Setup guide on wide screens: the step list stays readable instead of stretching to 1,500 px. */
.rf-shell .rf-start .rf-start-steps,.rf-shell .rf-start .rf-start-credits{max-width:760px}
/* -- Home on a phone: chart period switches are real tap targets (were 28 px). */
@media(max-width:720px){.rf-shell .agency-home .home-period-pill{height:44px!important;min-height:44px!important;line-height:44px;padding-top:0;padding-bottom:0}}


/* ---- site-10 content ---- */
/* ===== site-10 · content area: Library, Create, Approvals, Results, Schedule, Deliveries ===== */

/* ---------- Library ---------- */
.rf-shell[data-page=library] .rf-library-head{gap:8px;flex-wrap:wrap}
.rf-shell[data-page=library] [data-storage-meter]{margin:0 0 10px;font-size:12.5px;line-height:1.4;color:var(--rf-muted,#9ba1b4)}
/* The grid's page-rise animation lets go when it ends (its held end transform would trap the phone menu sheet inside the grid) */
.rf-shell .content>.asset-grid{animation-fill-mode:backwards}
.rf-shell .asset-card .asset-info p.asset-meta{margin:0;font-size:11.5px;line-height:1.35;color:#8f8da2}

/* Card "More" menu: three short groups (Post / Make / File) */
.rf-shell .asset-card .asset-actions .rf-actions-menu{gap:0}
.rf-shell .asset-card .asset-actions .rf-actions-menu>.rf-menu-group{display:flex;flex-direction:column;align-items:stretch;gap:2px;min-height:0;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent}
.rf-shell .asset-card .asset-actions .rf-actions-menu>.rf-menu-group:hover{background:transparent}
.rf-shell .asset-card .asset-actions .rf-actions-menu>.rf-menu-group+.rf-menu-group{margin-top:4px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.rf-shell .asset-card .rf-menu-label{display:block;padding:2px 10px 4px;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8e8ba3}
.rf-shell .asset-card .rf-menu-group>button,.rf-shell .asset-card .rf-menu-group>a{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;height:auto;min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#ece9f8;font-size:13.5px;font-weight:500;line-height:1.3;text-align:left;text-decoration:none;white-space:normal;transform:none}
.rf-shell .asset-card .rf-menu-group>button:hover,.rf-shell .asset-card .rf-menu-group>a:hover{background:rgba(255,255,255,.07);transform:none}
.rf-shell .asset-card .rf-menu-group>[data-library-delete]{color:#ff8f9a}
.rf-shell .asset-card .rf-menu-group>[data-library-delete]:hover{background:rgba(255,143,154,.1)}

@media (max-width:720px){
  /* Filters: one compact block instead of four stacked fields */
  .rf-shell[data-page=library] form[data-form=library-search]{padding:12px;margin-bottom:14px}
  .rf-shell[data-page=library] form[data-form=library-search] .grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .rf-shell[data-page=library] form[data-form=library-search] .grid>div{min-width:0;margin:0}
  .rf-shell[data-page=library] form[data-form=library-search] .grid>div:nth-child(-n+2){grid-column:1/-1}
  .rf-shell[data-page=library] form[data-form=library-search] label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .rf-shell[data-page=library] form[data-form=library-search] input,.rf-shell[data-page=library] form[data-form=library-search] select{min-height:44px;margin:0}
  .rf-shell[data-page=library] form[data-form=library-search] .submit-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;align-self:stretch}
  .rf-shell[data-page=library] form[data-form=library-search] .submit-row>small{flex:1 1 auto;font-size:12px}
  .rf-shell[data-page=library] form[data-form=library-search] select{font-size:14px;padding-right:28px}
  .rf-shell[data-page=library] form[data-form=library-search] .submit-row button{min-height:44px;padding:8px 18px}
  .rf-shell[data-page=library] .page-heading .rf-library-head{width:100%}
  .rf-shell[data-page=library] .content .page-heading .rf-library-head>button{flex:1 1 0;min-height:44px}
  .rf-shell .asset-card .asset-actions>button,.rf-shell .asset-card .asset-actions>a,.rf-shell .asset-card .asset-actions>.rf-actions-more>summary{min-height:44px;height:auto}
  /* The card menu opens as a sheet above the bottom bar, with full-size taps */
  .rf-shell .asset-card .asset-actions .rf-actions-menu{position:fixed;left:12px;right:12px;top:auto;bottom:calc(86px + env(safe-area-inset-bottom,0px));z-index:70;max-height:min(70vh,520px);overflow-y:auto;padding:8px;border-radius:18px;background:#1a1924;border:1px solid rgba(255,255,255,.12);box-shadow:0 -10px 50px rgba(0,0,0,.7),0 0 0 100vmax rgba(5,5,10,.55)}
  .rf-shell .asset-card .asset-actions .rf-actions-menu .rf-menu-group>button,.rf-shell .asset-card .asset-actions .rf-actions-menu .rf-menu-group>a{min-height:46px;padding:10px 12px;font-size:15px}
  .rf-shell .asset-card .rf-menu-label{padding:4px 12px;font-size:11px}
}

/* ---------- Create (CSS only; the Create functions stay as they are) ---------- */
.rf-shell[data-page=create] .content{display:flex;flex-direction:column}
.rf-shell[data-page=create] .content>#creation-queue{order:2}
.rf-shell[data-page=create] .content>[data-owner-tg]{order:3;margin-top:20px}
.rf-shell[data-page=create] .content>[data-owner-tg]:not(:has(button,a.button)){display:none}
.rf-shell[data-page=create] .source-facts{display:none}
.rf-shell[data-page=create] .creation-live:empty{display:none}
.rf-shell[data-page=create] .creation-heading p{margin-top:4px}
.rf-shell[data-page=create] .creation-item .creation-info>.row.between{justify-content:flex-end}
.rf-shell[data-page=create] .creation-item .creation-info>.row.between>.eyebrow{display:none}
@media (max-width:720px){
  .rf-shell[data-page=create] .create-modes{gap:8px}
  .rf-shell[data-page=create] .creation-choice{min-height:64px}
  .rf-shell[data-page=create] .creation-filters{flex-wrap:wrap;gap:6px;margin:0 0 14px}
  .rf-shell[data-page=create] .creation-filters::-webkit-scrollbar{display:none}
  .rf-shell[data-page=create] .creation-filters button{flex:none;min-height:40px}
  .rf-shell[data-page=create] .creation-heading .row{gap:12px}
}

/* Post dialog: the way out when she has no posting account reads as links */
#modal form[data-form=prepare] .notice a{color:#e7dcff;font-weight:600;text-decoration:underline;text-underline-offset:2px}

/* Create price sheet: the line that says when VA versions start */
#modal .rr-delivery-note{line-height:1.45}

/* ---------- Approvals ---------- */
@media (max-width:720px){.rf-shell[data-page=reviews] .review-card .row>button,.rf-shell[data-page=reviews] .review-card .row>a.button{min-height:44px}}
.rf-shell[data-page=reviews] .review-attention-note{margin:6px 0 4px;font-size:12.5px;line-height:1.45;color:#f3cf86}

/* ---------- Results ---------- */
.rf-shell[data-page=performers] #best-performers>.page-heading .eyebrow{display:none}
.rf-shell[data-page=performers] .performer-filters>button[hidden]{display:none}
@media (max-width:720px){
  /* Filters: creator on its own line, account and period side by side; the field names are in the choices */
  .rf-shell[data-page=performers] .performer-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:12px;margin:12px 0 16px}
  .rf-shell[data-page=performers] .performer-filters label{display:block;font-size:0;min-width:0}
  .rf-shell[data-page=performers] .performer-filters label:first-child{grid-column:1/-1}
  .rf-shell[data-page=performers] .performer-filters label>*{font-size:14px;width:100%;min-height:44px}
  .rf-shell[data-page=performers] .performer-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .rf-shell[data-page=performers] .performer-card{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:stretch;border-radius:16px}
  .rf-shell[data-page=performers] .performer-card:hover{transform:none}
  .rf-shell[data-page=performers] .performer-media{height:auto;max-height:none;aspect-ratio:9/16;align-self:start}
  .rf-shell[data-page=performers] .performer-rank{top:7px;left:7px;padding:3px 7px;font-size:11px;border-radius:8px}
  .rf-shell[data-page=performers] .performer-watch{top:auto;right:6px;bottom:6px;left:6px;padding:6px 4px;font-size:10.5px;text-align:center;border-radius:8px}
  .rf-shell[data-page=performers] .performer-body{padding:10px 12px 12px;gap:7px;min-width:0}
  .rf-shell[data-page=performers] .performer-body>.row b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .rf-shell[data-page=performers] .performer-body .pill{font-size:10.5px;padding:2px 7px}
  .rf-shell[data-page=performers] .performer-body p{min-height:0;font-size:12.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .rf-shell[data-page=performers] .performer-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px 8px;border-radius:10px}
  .rf-shell[data-page=performers] .performer-numbers strong,.rf-shell[data-page=performers] .performer-numbers .metric-views strong{font-size:15px;letter-spacing:-.02em}
  .rf-shell[data-page=performers] .performer-numbers .metric-label{font-size:10px;margin-bottom:1px}
  .rf-shell[data-page=performers] .performer-numbers .metric-label svg{display:none}
  .rf-shell[data-page=performers] .performer-ratio{font-size:11.5px}
  .rf-shell[data-page=performers] .performer-body small{font-size:10.5px;line-height:1.35}
  .rf-shell[data-page=performers] .performer-actions{margin:0}
  .rf-shell[data-page=performers] .performer-actions button{width:100%;min-height:40px;padding:8px 10px;font-size:13px}
}

/* ---------- Schedule ---------- */
.rf-shell[data-page=calendar] .planner-actions .pill{text-transform:uppercase;font-size:10.5px;letter-spacing:.05em}
@media (max-width:720px){
  .rf-shell[data-page=calendar] .calendar-history .grid.three.toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .rf-shell[data-page=calendar] .calendar-history .metric{min-height:0;padding:12px 10px}
  .rf-shell[data-page=calendar] .calendar-history .metric strong{font-size:22px}
  .rf-shell[data-page=calendar] .calendar-history .metric p{margin:2px 0 0;font-size:11.5px;line-height:1.3}
  /* Post history: one small card per post instead of a squeezed table */
  .rf-shell[data-page=calendar] .calendar-history .table-wrap{overflow:visible;padding:4px 14px}
  .rf-shell[data-page=calendar] .calendar-history .table,.rf-shell[data-page=calendar] .calendar-history .table tbody{display:block;width:100%}
  .rf-shell[data-page=calendar] .calendar-history .table thead{display:none}
  .rf-shell[data-page=calendar] .calendar-history .table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .rf-shell[data-page=calendar] .calendar-history .table tr:last-child{border-bottom:0}
  .rf-shell[data-page=calendar] .calendar-history .table td{display:block;min-width:0;max-width:none;padding:0;border:0}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(1){grid-column:1;font-size:14px;font-weight:600;line-height:1.35}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(1) p{margin:2px 0 0;font-size:12px;font-weight:400;color:var(--rf-muted,#9ba1b4)}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(2){grid-column:1;font-size:12.5px;color:#cfcbe0}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(2) small{display:inline;margin-left:6px;color:var(--rf-muted,#9ba1b4)}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(3){grid-column:1;font-size:12.5px;color:var(--rf-muted,#9ba1b4)}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(4){grid-column:2;grid-row:1;align-self:start}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(5){grid-column:1/-1;display:flex;gap:8px;margin-top:6px}
  .rf-shell[data-page=calendar] .calendar-history .table td:nth-child(5)>*{flex:1;min-height:44px}
  /* The week fits on one line: tap a day, its posts are listed below */
  .rf-shell[data-page=calendar] .cal-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;overflow:visible;margin:0 0 16px;padding:0;-webkit-mask-image:none;mask-image:none}
  .rf-shell[data-page=calendar] .cal-col{flex:none;min-width:0;border-radius:12px;box-shadow:none}
  .rf-shell[data-page=calendar] .cal-chips{display:none}
  .rf-shell[data-page=calendar] .cal-day{position:relative;min-height:66px;padding:8px 0 14px;border-bottom:0;gap:2px}
  .rf-shell[data-page=calendar] .cal-day span{font-size:10px;letter-spacing:.04em}
  .rf-shell[data-page=calendar] .cal-day strong{font-size:18px}
  .rf-shell[data-page=calendar] .cal-day small{display:none}
  .rf-shell[data-page=calendar] .cal-col:has(.cal-chip) .cal-day::after{content:"";position:absolute;left:50%;bottom:7px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#a78bfa}
  .rf-shell[data-page=calendar] .cal-col:has(.cal-chip.is-attention,.cal-chip.is-review,.cal-chip.is-failed) .cal-day::after{background:#f3cf86}
}

/* ---------- Deliveries (activity list) ---------- */
.rf-shell[data-page=jobs] .rf-job-list{display:flex;flex-direction:column;gap:10px}
.rf-shell[data-page=jobs] .rf-job{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px 18px}
.rf-shell[data-page=jobs] .rf-job-main{min-width:0;flex:1}
.rf-shell[data-page=jobs] .rf-job-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rf-shell[data-page=jobs] .rf-job-title h3{margin:0;font-size:15.5px;letter-spacing:-.01em}
.rf-shell[data-page=jobs] .rf-job small{display:block;margin-top:4px;font-size:12.5px;color:var(--rf-muted,#9ba1b4)}
.rf-shell[data-page=jobs] .rf-job p{margin:6px 0 0;font-size:13px;line-height:1.45;color:#d6d3e4}
.rf-shell[data-page=jobs] .rf-job.is-failed p,.rf-shell[data-page=jobs] .rf-job.is-held p{color:#f3cf86}
.rf-shell[data-page=jobs] .rf-job-actions{flex:none;display:flex;gap:8px}
.rf-shell[data-page=jobs] .rf-job-actions>*{min-height:40px;white-space:nowrap}
@media (max-width:720px){
  .rf-shell[data-page=jobs] .rf-job{flex-direction:column;align-items:stretch;gap:12px;padding:14px}
  .rf-shell[data-page=jobs] .rf-job-actions>*{flex:1;min-height:44px}
}


/* ---- site-10 teammoney ---- */
/* ===== site-10 / teammoney: navigation, Team & VAs, Money & links, Needs you, Account health ===== */

/* ---- phone More sheet: each door with its pages as one-tap chips ---- */
@media(max-width:900px){
  .rf-more-sheet{gap:2px;max-height:calc(100dvh - 40px);overflow-y:auto}
  .rf-more-group{display:flex;flex-direction:column;padding:2px 0 10px;border-bottom:1px solid var(--rf-line);margin-bottom:6px}
  .rf-more-link.rf-more-door{min-height:44px;padding:10px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rf-muted)}
  .rf-more-link.rf-more-door.is-active{background:none;color:var(--rf-ink)}
  .rf-more-link.rf-more-door svg{width:18px;height:18px}
  .rf-more-subs{display:flex;flex-wrap:wrap;gap:8px;padding:0 4px 0 10px}
  .rf-more-sub{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--rf-line);background:var(--rf-panel-2);color:var(--rf-ink);font-size:15px;font-weight:600;text-decoration:none}
  .rf-more-sub.is-active{border-color:var(--rf-purple);background:rgba(176,160,255,.16)}
  .rf-more-link.rf-more-buy{min-height:48px}
  .rf-more-link.rf-more-buy svg{color:#dcf993}
}

/* ---- shared: tile grids never leave one lonely tile on a phone ---- */
@media(max-width:720px){
  .rf-shell .tv-tiles>:last-child:nth-child(odd),.rf-shell .vt-kpis>:last-child:nth-child(odd),.rf-shell .po-tiles>:last-child:nth-child(odd){grid-column:1/-1}
  .rf-shell .po-tiles{grid-template-columns:1fr 1fr}
}

/* ---- Needs you: the "list changed" button floats, it never pushes the page ---- */
.rf-shell .todo-fresh{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:55;min-height:44px;padding:0 18px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.rf-shell .todo-fresh[hidden]{display:none!important}
@media(max-width:900px){.rf-shell .todo-fresh{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

/* ---- Post kits: actions on one line, readiness as a slim status line ---- */
.rf-shell[data-page=kits] .rf-kits-head-actions{flex-wrap:nowrap}
.rf-shell[data-page=kits] .rf-kits-head-actions .text-button{min-height:44px;padding:0 8px}
.rf-shell[data-page=kits] [data-render-readiness]{display:block;padding:12px 16px;margin:0 0 16px;border-color:var(--rf-line);background:var(--rf-panel);font-size:14px;line-height:1.5;color:#cfd2dc}
.rf-shell[data-page=kits] [data-render-readiness] p{margin:0}
.rf-shell[data-page=kits] [data-render-readiness]:empty{display:none}
.rf-shell[data-page=kits] .rf-kit-hint[role=status]{font-size:13px;color:var(--rf-muted);margin:0 0 14px}
@media(max-width:720px){
  .rf-shell[data-page=kits] .rf-kits .page-heading{flex-direction:column;gap:12px}
  .rf-shell[data-page=kits] .rf-kits-head-actions{gap:8px;width:100%}
  .rf-shell[data-page=kits] .rf-kits-head-actions button:not(.text-button){flex:1 1 auto;padding-left:12px;padding-right:12px}
}

/* ---- Payouts: folded rules card, sync problem with its fix ---- */
.rf-shell .po-rules-fold>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center}
.rf-shell .po-rules-fold>summary::-webkit-details-marker{display:none}
.rf-shell .po-rules-fold>summary .eyebrow{grid-column:1}
.rf-shell .po-rules-fold>summary .po-rules-title{grid-column:1;font-size:19px;font-weight:700;letter-spacing:-.01em}
.rf-shell .po-rules-fold>summary small{grid-column:1;color:#aeb3c3;font-size:13px;line-height:1.5}
.rf-shell .po-rules-fold>summary .po-rules-edit{grid-column:2;grid-row:1/4;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--rf-line);color:var(--rf-ink);font-size:14px;font-weight:600}
.rf-shell .po-rules-fold[open]>summary .po-rules-edit{opacity:.6}
.rf-shell .po-rules-fold[open]>summary{margin-bottom:14px}
.rf-shell .po-sync{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.rf-shell .po-sync p{margin:0;flex:1 1 240px}
.rf-shell .po-how{margin:6px 0 24px;color:#8d92a4;font-size:13px}
.rf-shell .po-how>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:#c6b9f5}
.rf-shell .po-how p{margin:0;line-height:1.6;max-width:760px}

/* ---- Credits: the second way to pay is a quiet link under the main button ---- */
.rf-shell[data-page=billing] .bv-actions .bv-other-pay{min-height:44px;width:auto;align-self:center}

/* ---- Tracking links: the agency-wide choice stays compact above her pages ---- */
.rf-shell[data-page=links] .tg-route-explain{display:none}
.rf-shell .link-pages-empty{padding:16px 18px;border:1px dashed var(--rf-line);border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.rf-shell .link-pages-empty p{margin:0;color:#cfd2dc;line-height:1.5}

/* ---- Daily tasks: the search is a quiet field, with room before the numbers ---- */
.rf-shell[data-page=today] label[for=va-task-search]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rf-shell[data-page=today] #va-task-search{margin:0 0 16px}

/* ---- Revenue: quiet status line, no lonely tile, the per-reel link ---- */
.rf-shell .ml-quiet{margin:0;padding:2px 2px 4px;color:var(--rf-muted);font-size:13px;line-height:1.5}
.rf-shell .ml-reel-link{margin:6px 0 14px}
.rf-shell .ml-reel-link a{display:inline-flex;align-items:center;min-height:44px;color:#c6b9f5;font-weight:600;text-decoration:none}
@media(max-width:720px){.rf-shell .ml-kpis>.ml-kpi:nth-child(4):last-child{grid-column:1/-1}}

/* ---- Post kits: room between the kit list and the Telegram setup under it ---- */
.rf-shell[data-page=kits] [data-kit-list]+.rf-kit-team,.rf-shell[data-page=kits] [data-kit-list]~.rf-kit-how{margin-top:24px}

/* ---- readiness line: hidden means hidden (an empty bar showed on the VA's Posts page) ---- */
[data-render-readiness][hidden]{display:none!important}
@media(max-width:720px){
  .rf-shell[data-page=links] .tg-route{padding:16px;margin:14px 0}
  .rf-shell[data-page=links] .tg-route-heading h3{font-size:20px!important}
  .rf-shell[data-page=links] .tg-route-heading p,.rf-shell[data-page=links] .tg-route-flow{display:none}
  .rf-shell[data-page=links] .tg-route-opt{padding:12px;min-height:44px}
}

/* ---- VAs: chevrons drawn with borders (the font draws the arrow glyph as a letter), one-line gap summary ---- */
.rf-shell .va-hub-chevron{font-size:0;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}
.rf-shell .va-hub-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 .os-chevron{font-size:0;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}
.rf-shell .os-chevron::before{content:"";width:8px;height:8px;margin-top:-5px;border-right:2px solid #a89bbb;border-bottom:2px solid #a89bbb;transform:rotate(45deg)}
.rf-shell .va-gap-summary{display:block;line-height:1.6}
.rf-shell .va-gap-summary>span:first-child{margin-right:8px;vertical-align:-3px}

/* ---- Daily tasks: four or five tiles fill the row on a wide screen ---- */
@media(min-width:721px){.rf-shell[data-page=today] .vt-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
.rf-shell[data-page=kits] .rf-kits-head-actions button{white-space:nowrap}
.rf-shell[data-page=kits] .rf-kits .page-heading>div:first-child{min-width:0;flex:1 1 auto}

/* ---- Team chat: on a phone the chat comes first, the VA warnings under it ---- */
@media(max-width:720px){.rf-shell[data-page=team-chat] .chat-workspace .chat-supervision{grid-row:2}}
.rf-shell .po-grid{align-items:start}

/* ---- Needs you, all clear: the first-steps button sits under the text ---- */
.rf-shell .todo-clear>a.button{grid-column:2;justify-self:start;margin-top:10px}


/* ---- site-10 creatorva ---- */
/* site-10 · creatorva — creator pages, Settings door and the VA app. Loaded last; every rule is scoped to its page. */

/* ================= VA app ================= */

/* --- Dashboard: posts first, then to-dos, then Telegram, results, accounts --- */
.va-workspace [data-va-dashboard]{display:flex;flex-direction:column}
.va-workspace [data-va-dashboard]>.va-welcome{order:0}
.va-workspace [data-va-dashboard]>[data-va-posts-next]{order:1}
.va-workspace [data-va-dashboard]>.va-overview-grid{order:2}
.va-workspace [data-va-dashboard]>[data-va-tg-nudge]{order:3}
.va-workspace [data-va-dashboard]>[data-va-accounts]{order:4}
.va-workspace [data-va-tg-nudge]:not(:empty){margin:4px 0 22px}
.va-workspace .va-welcome{margin-bottom:18px}

.va-workspace .va-posts-next{display:block;margin:0 0 16px;padding:20px;border-radius:18px;background:linear-gradient(135deg,#8b5cf64d,#8b5cf61a);border:1px solid #a78bfa8c;color:inherit}
.va-workspace .va-posts-next.is-empty{background:#191a1e;border-color:#303038;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.va-workspace .va-posts-next h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:6px 0 6px;color:#f6f2ff}
.va-workspace .va-posts-next .eyebrow{color:#cdbdff}
.va-workspace .va-posts-next-head p{margin:0;font-size:14px;line-height:1.5;color:#d9d0f0}
.va-workspace .va-posts-next.is-empty .va-posts-next-head p{color:var(--va-muted,#b6b2c3)}
.va-workspace .va-posts-next span{opacity:1;font-size:inherit}
.va-workspace .va-posts-next-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.va-workspace .va-posts-next-list a{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 12px 8px 8px;border-radius:12px;background:#0d0d12a6;border:1px solid #ffffff17;color:inherit;text-decoration:none}
.va-workspace .va-posts-next-list a:hover{border-color:#a78bfa99}
.va-workspace .va-posts-next-list a::after{content:'';flex:0 0 8px;height:8px;margin-left:auto;border-right:2px solid #bdacff;border-top:2px solid #bdacff;transform:rotate(45deg)}
.va-workspace .va-posts-next-list img{flex:0 0 40px;width:40px;height:52px;border-radius:8px;object-fit:cover;background:#26262e}
.va-workspace .va-posts-next-list span{min-width:0}
.va-workspace .va-posts-next-list strong{display:block;font-size:15px;line-height:1.3;color:#f6f2ff;overflow-wrap:anywhere}
.va-workspace .va-posts-next-list small{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:#c4bcd8;overflow-wrap:anywhere}
.va-workspace .va-posts-next-more{margin:8px 0 0;font-size:13px;color:#d9d0f0}
.va-workspace .va-posts-next-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:14px;font-size:15px}
.va-workspace .va-posts-next.is-empty .va-posts-next-go{width:auto;margin:0;min-height:44px}
@media(min-width:761px){
  .va-workspace .va-posts-next{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;align-items:end;padding:22px 24px}
  .va-workspace .va-posts-next-head{grid-column:1}
  .va-workspace .va-posts-next-go{grid-column:2;grid-row:1;width:auto;margin:0;padding:0 26px;align-self:center}
  .va-workspace .va-posts-next-list{grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr))}
  .va-workspace .va-posts-next-more{grid-column:1 / -1}
}

/* The to-dos card is the second job of the day: a calm card, not a second hero. */
.va-workspace .va-today-card{background:#191a1e;border:1px solid #303038;color:inherit}
.va-workspace .va-today-copy .eyebrow{color:#bdacff}
.va-workspace .va-today-copy h2{color:#f3effc;font-size:21px;margin:6px 0 8px}
.va-workspace .va-today-card .va-today-copy p{color:#b9b4c8;font-size:14px}
.va-workspace .va-today-card .va-today-copy .va-next-task{color:#d8d2e6}
.va-workspace .va-progress-ring .ring-track{stroke:#3a3346}
.va-workspace .va-progress-ring .ring-fill{stroke:#bdacff}
.va-workspace .va-progress-ring>strong{color:#efe8ff;font-size:18px}
.va-workspace .va-today-action .button{background:#2a2433;border:1px solid #4b3c63;color:#efe8ff;min-height:48px}
.va-workspace .va-today-action .button:hover{background:#352c42}
.va-workspace .va-today-action>small{color:#a29cb3;font-size:12px}
.va-workspace .va-publishing-note{font-size:13px!important;margin:12px 0 22px}
/* Results refresh by themselves every minute and when you come back to the app. */
.va-workspace .va-results-section>header [data-va-home=refresh]{display:none}
.va-workspace .va-result-period button{min-height:44px}

@media(max-width:760px){
  .va-workspace [data-va-dashboard]>.va-overview-grid{display:contents}
  .va-workspace [data-va-dashboard] [data-va-daily]{order:2}
  .va-workspace [data-va-dashboard]>[data-va-tg-nudge]{order:3}
  .va-workspace [data-va-dashboard] .va-results-section{order:4;margin-top:4px}
  .va-workspace [data-va-dashboard]>[data-va-accounts]{order:5;margin-top:16px}
  .va-workspace .va-welcome-date{margin-top:6px}
  .va-workspace .va-today-card{padding:20px}
}

/* --- Posts (post kits): the posts first, Telegram after, no empty boxes --- */
.va-workspace .rf-kits [data-render-readiness]:empty,.va-workspace .rf-kits [data-render-readiness][hidden]{display:none!important}
.va-workspace .rf-kits [data-kit-body]{display:flex;flex-direction:column}
.va-workspace .rf-kits [data-kit-body]>.rf-tg-ask,.va-workspace .rf-kits [data-kit-body]>.rf-kit-telegram{order:5;margin-top:6px}
.va-workspace .rf-kits>.page-heading{position:relative;margin-bottom:18px}
.va-workspace .rf-kits-head-actions{position:absolute;top:-6px;right:0}
.va-workspace .rf-kits-head-actions [data-kit-action=refresh]{min-height:44px;padding:0 14px}
.va-workspace .rf-kit-facts{list-style:none;margin:12px 0 4px;padding:0;display:grid;gap:6px}
.va-workspace .rf-kit-facts li{display:flex;gap:12px;align-items:baseline;padding:10px 12px;border-radius:12px;background:#ffffff08;border:1px solid #ffffff14;font-size:14px;line-height:1.45;color:#ece7f8}
.va-workspace .rf-kit-facts b{flex:0 0 72px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#bdacff}
.va-workspace .rf-kit-facts .is-trial{background:#ffb44a12;border-color:#ffb44a59}
.va-workspace .rf-kit-facts .is-trial b,.va-workspace .rf-kit-facts .is-time b{color:#ffd08a}
.va-workspace .rf-kit.is-next .rf-kit-state{background:#bdacff;color:#1c1430}
.va-workspace .rf-kit-hint{font-size:13px;line-height:1.55}
.va-workspace .rf-kit-helpbox{max-width:none;padding:0 16px;margin:4px 0 20px}
.va-workspace .rf-kit-helpbox>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:14px}
.va-workspace .rf-kit-helpbox>summary::after{content:'';width:8px;height:8px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px)}
.va-workspace .rf-kit-helpbox[open]>summary::after{transform:rotate(-135deg) translateY(-3px)}
.va-workspace .rf-kit-helpbox[open]{padding-bottom:14px}
.va-workspace .rf-kit .rf-kit-note{margin:6px 0 4px;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.45}
/* Posted ones are history: no big video, just the line and the optional link. */
.va-workspace .rf-kit-group-done .rf-kit-media{display:none}
.va-workspace .rf-kit-group-done .rf-kit-body{display:block}
.va-workspace .rf-kit-group-done .rf-kit{padding-bottom:14px}

/* --- To-dos: one progress number, big tap targets, tasks easy to scan --- */
.va-workspace .vt-account .vt-head-right .vt-ring,.va-workspace .vt-account .vt-today>.row,.va-workspace .vt-account .vt-today>.row+.footer-note{display:none}
.va-workspace .vt-account .va-card-head{margin-bottom:6px}
.va-workspace .vt-account .va-task-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.va-workspace .vt-account .va-task-actions>button[data-va-action=task]{flex:1 1 100%;min-height:46px;font-size:14px}
.va-workspace .vt-account .va-task-actions>.text-button{min-height:44px;display:inline-flex;align-items:center}
.va-workspace .vt-account .va-daily-task h3{font-size:16px}
.va-workspace .vt-account .va-daily-task .va-task-heading p{font-size:13px;line-height:1.5}
.va-workspace .va-account-setup>summary,.va-workspace .va-shared-checklist .va-data-notes>summary{min-height:44px;display:flex;flex-direction:column;justify-content:center}
.va-workspace .va-shared-checklist .va-data-notes>summary{flex-direction:row;align-items:center;justify-content:flex-start}
@media(max-width:760px){
  .va-workspace[data-page=today] .page-heading{position:relative}
  .va-workspace[data-page=today] .page-heading>button[data-va-action=refresh]{position:absolute;top:-6px;right:0;min-height:44px;padding:0 14px}
}

/* --- Earnings --- */
.va-workspace .ve-head{margin-bottom:18px}
.va-workspace .ve-slots{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.va-workspace .ve-slot{padding:6px 0;border-radius:10px}
.va-workspace .ve-slot i{width:30px;height:30px;font-size:13px}
.va-workspace .ve-slot:not(.is-filled) small{display:none}
@media(max-width:760px){
  .va-workspace .ve-slots{gap:3px}
  .va-workspace .ve-slot{padding:0;border:0;background:none}
  .va-workspace .ve-slot.is-filled{background:none}
  .va-workspace .ve-slot i{width:26px;height:26px;font-size:11px}
  .va-workspace .ve-slot small{display:none}
  .va-workspace .ve-link-row{flex-wrap:wrap}
}

/* --- Team chat on a phone: the messages get the room, the box stays one line high --- */
@media(max-width:760px){
  .va-workspace[data-page=team-chat] .chat-compose>label[for=team-message],.va-workspace[data-page=team-chat] .chat-mention-hint,.va-workspace[data-page=team-chat] .chat-compose-actions>small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .va-workspace[data-page=team-chat] .chat-compose{padding:10px 12px}
  .va-workspace[data-page=team-chat] .chat-compose textarea{min-height:46px;height:46px;margin-bottom:8px}
  .va-workspace[data-page=team-chat] .chat-compose-actions{flex-wrap:nowrap;gap:4px}
  .va-workspace[data-page=team-chat] .chat-attach,.va-workspace[data-page=team-chat] .chat-library{flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:0;justify-content:center}
  .va-workspace[data-page=team-chat] .chat-attach>span,.va-workspace[data-page=team-chat] .chat-library>span{font-size:18px}
  .va-workspace[data-page=team-chat] .chat-audience{flex:1 1 auto;min-width:0;order:3}
  .va-workspace[data-page=team-chat] .chat-audience>span{display:none}
  .va-workspace[data-page=team-chat] .chat-audience select{min-height:44px;font-size:12px;width:100%;padding:0 18px 0 6px;background-position:right 4px center}
  .va-workspace[data-page=team-chat] .chat-compose-actions>button[type=submit]{order:4}
  .va-workspace[data-page=team-chat] .chat-compose-actions>button[type=submit]{flex:0 0 auto;min-width:64px;padding:0 14px;min-height:44px;margin-left:0}
}

/* --- VA guide: the picture fits the phone, the dots are real tap targets --- */
#modal .vg-illustration{display:block;width:100%;max-width:400px;height:auto;max-height:36vh;object-fit:contain;margin:14px auto 16px;border-radius:18px}
#modal .vg-dots{gap:2px;margin:0 0 6px}
#modal .vg-dot{position:relative;width:34px;height:36px;min-height:36px;min-width:0;padding:0;background:transparent;border:0;box-shadow:none}
#modal .vg-dot::after{content:'';position:absolute;left:4px;right:4px;top:15px;height:6px;border-radius:3px;background:#ffffff1f}
#modal .vg-dot.is-done::after{background:#8f78ff99}
#modal .vg-dot.is-on::after{background:#dcf993}
#modal .vg-dot.is-on,#modal .vg-dot.is-done{background:transparent}
@media(max-width:600px){
  #modal .vg-nav{flex-direction:column-reverse;align-items:stretch;gap:8px}
  #modal .vg-nav>.row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #modal .vg-nav>.row>:only-child{grid-column:1 / -1}
  #modal .vg-nav .button,#modal .vg-nav button{width:100%;min-height:46px;justify-content:center}
  #modal .vg-nav>span:empty{display:none}
}

/* ================= Creator pages ================= */

/* Header nudge: her face is the step that unlocks VA videos. */
.rf-shell .creator-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:14px 0 14px;padding:14px 16px;border-radius:14px;background:#2a2238;border:1px solid #6b55a3}
.rf-shell .creator-next[hidden]{display:none}
.rf-shell .creator-next p{margin:0;flex:1 1 260px;font-size:14px;line-height:1.5;color:#e9e2fb}
.rf-shell .creator-next.is-busy{background:#1d2a26;border-color:#3f6b5a}
.rf-shell .creator-next button{min-height:44px}

/* New creator: the four setup steps, one button each, the next step is the primary one. */
.rf-shell .creator-steps{padding:24px}
.rf-shell .creator-steps h2{margin:6px 0 6px}
.rf-shell .creator-steps>p{margin:0 0 16px;color:#b8bccb;font-size:14px}
.rf-shell .creator-steps ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rf-shell .creator-steps li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#ffffff06;border:1px solid #ffffff12}
.rf-shell .creator-steps li>b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffff10;color:#d9d2ee;font-size:14px}
.rf-shell .creator-steps li strong{display:block;font-size:15px;line-height:1.35;color:#f4f2fb}
.rf-shell .creator-steps li small{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:#aab0c0}
.rf-shell .creator-steps li button{min-height:44px;white-space:nowrap}
.rf-shell .creator-steps li.is-done{opacity:.7}
.rf-shell .creator-steps li.is-done>b{background:#3a6b4f;color:#d6f7e2}
.rf-shell .creator-steps li:not(.is-done)>b{background:#8b6cf0;color:#fff}
.rf-shell .creator-steps li:not(.is-done)~li:not(.is-done)>b{background:#ffffff10;color:#d9d2ee}
.rf-shell .creator-steps li:not(.is-done) button{background:linear-gradient(135deg,#9a84ff,#6f52e8);color:#fff;border-color:transparent}
.rf-shell .creator-steps li:not(.is-done)~li:not(.is-done) button{background:#262833;color:#f4f5fa;border-color:#ffffff14}
@media(max-width:640px){
  .rf-shell .creator-steps{padding:18px}
  .rf-shell .creator-steps li{grid-template-columns:32px minmax(0,1fr)}
  .rf-shell .creator-steps li>button{grid-column:2;justify-self:start}
}

/* Accounts tab: no search or chip rows for a handful of accounts, no single-platform chip row. */
.rf-shell .account-filter-bar.is-few{display:none}
.rf-shell .account-filter-bar.is-one-platform [aria-label="Filter by platform"]{display:none}

/* Setup tab: her face card leads, full width; the status note is a quiet line, not a big card. */
.rf-shell .identity-overview>.face-step{grid-column:1 / -1}
.rf-shell .identity-overview>.face-step.is-todo{border-color:#8b6cf0;background:linear-gradient(135deg,#2a2238,#1b1c22)}
.rf-shell .creator-engagement-note{padding:12px 16px;font-size:13px;color:#b8bccb}

/* Phone: all five creator tabs visible at once (two rows), no hidden sideways strip. */
@media(max-width:640px){
  .rf-shell .creator-tabs{flex-wrap:wrap;overflow:visible;gap:6px;padding:4px}
  .rf-shell .creator-tabs>button{flex:1 1 auto;min-height:44px;padding:8px 10px;font-size:13px;justify-content:center}
  .rf-shell .creator-tabs>button .action-icon{display:none}
}
.rf-shell .creator-next:has(~ .creator-steps){display:none}

/* Accounts tab: her links fold into one row. */
.rf-shell .creator-links-fold{margin:22px 0 0;border:1px solid #ffffff14;border-radius:16px;background:#ffffff05}
.rf-shell .creator-links-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 18px;cursor:pointer;list-style:none}
.rf-shell .creator-links-fold>summary::-webkit-details-marker{display:none}
.rf-shell .creator-links-fold>summary::after{content:'';flex:0 0 9px;height:9px;border-right:2px solid #bdacff;border-bottom:2px solid #bdacff;transform:rotate(45deg) translateY(-3px)}
.rf-shell .creator-links-fold[open]>summary::after{transform:rotate(-135deg) translateY(-3px)}
.rf-shell .creator-links-fold>summary .creator-section{display:block;margin:0;padding:0;border:0}
.rf-shell .creator-links-fold>summary h3{margin:0 0 2px;font-size:16px}
.rf-shell .creator-links-fold>summary small{display:block;font-size:13px;color:#aab0c0}
.rf-shell .creator-links-fold[open]{padding:0 14px 14px}
.rf-shell .creator-links-fold[open]>summary{padding:12px 4px}

/* ================= Settings door ================= */

/* Posting accounts: handle and status on one line, actions together. */
.rf-shell[data-page=accounts] .connection-row{gap:10px 16px;flex-wrap:wrap;padding:14px 0}
.rf-shell[data-page=accounts] .connection-row>div:first-child{flex:1 1 220px;min-width:0}
.rf-shell[data-page=accounts] .connection-row>div:first-child strong{font-size:16px;overflow-wrap:anywhere}
.rf-shell[data-page=accounts] .connection-row>div:first-child small{display:block;margin-top:2px}
.rf-shell[data-page=accounts] .connection-row>.row{gap:8px 14px;flex-wrap:wrap;align-items:center}
.rf-shell[data-page=accounts] .connection-row>.row>a,.rf-shell[data-page=accounts] .connection-row>.row>button{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:640px){
  .rf-shell[data-page=accounts] .connection-row{display:grid;grid-template-columns:minmax(0,1fr)}
  .rf-shell[data-page=accounts] .connection-row>.row{justify-content:flex-start}
}

/* Profile review: why the button is grey, next to it. */
.rf-shell .audience-paused{display:block;margin-top:8px;font-size:13px;line-height:1.45;color:#ffd08a}

/* Partners: the roles, folded under the list. */
.rf-shell .partner-roles{margin-top:16px;padding:0 18px}
.rf-shell .partner-roles>summary{min-height:52px;display:flex;align-items:center;cursor:pointer;font-weight:600;color:#d9d2ee}
.rf-shell .partner-roles dl{margin:0 0 16px;display:grid;gap:6px}
.rf-shell .partner-roles dt{font-weight:700;color:#f4f2fb;margin-top:8px}
.rf-shell .partner-roles dd{margin:0;color:#b8bccb;font-size:14px;line-height:1.55}
.rf-shell #partner-list>article{margin-bottom:10px;flex-wrap:wrap;gap:10px}
.rf-shell #partner-list>article>.row{flex-wrap:wrap;gap:8px}
.rf-shell[data-page=accounts] .connection-row>.row>.pill.good{display:none}
.rf-shell[data-page=inbox] .notice a{display:block;margin-top:6px}
/* Once Telegram is connected the dashboard only needs one quiet line about it. */
.va-workspace [data-va-tg-nudge] .rf-tg-ask.is-done{padding:12px 16px;align-items:center}
.va-workspace [data-va-tg-nudge] .rf-tg-ask.is-done h2{font-size:15px;margin:0}
.va-workspace [data-va-tg-nudge] .rf-tg-ask.is-done p{font-size:13px;margin:2px 0 0}
.va-workspace [data-va-tg-nudge] .rf-tg-ask.is-done .rf-tg-ask-icon{width:32px;height:32px}
/* Her face dialog: the permission box is a real tap target. */
#modal .training-consent{align-items:flex-start;gap:12px;padding:12px;border-radius:12px;background:#ffffff06;border:1px solid #ffffff14;margin:14px 0}
#modal .training-consent input{flex:0 0 22px;width:22px;height:22px;margin-top:1px}
#modal .rf-kit-preview .button{width:100%;min-height:48px;justify-content:center;margin-top:6px}
@media(min-width:761px){
  .va-workspace .vt-account .va-task-actions>button[data-va-action=task]{flex:0 0 auto;min-width:200px}
}
.rf-shell [data-action=remove-account]{color:#ff9c8a}
@media(min-width:761px){
  .rf-shell[data-page=audience] .audience-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 28px}
  .rf-shell[data-page=audience] .audience-intro>div{grid-row:1 / span 2}
  .rf-shell[data-page=audience] .audience-intro>button{grid-column:2;align-self:end}
  .rf-shell[data-page=audience] .audience-intro>.audience-paused{grid-column:2;max-width:280px;align-self:start;margin:0}
}
/* A posted card carries the class rf-kit-posted, the same name as the "✓ Posted" line: undo the line's centring on the card. */
.va-workspace .rf-kit.rf-kit-posted{align-items:stretch;color:inherit;font-weight:inherit;flex-direction:column}
.va-workspace .rf-kit-group-done .rf-kit-note{display:none}
.rf-shell [data-owner-tg]{margin-bottom:24px}

/* Tap targets of at least 44 px on every page of this area. */
.rf-shell .back-link{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:760px){
  .rf-shell:is([data-page=creator],[data-page=accounts],[data-page=partners],[data-page=audience],[data-page=inbox]) .content :is(button,.button):not(.text-button):not(.account-filter-chip){min-height:44px}
  .va-workspace .va-content :is(button,.button):not(.text-button){min-height:44px}
}

/* facelive-1: her face training, live */
.face-step .face-live{margin:14px 0 4px}
.face-live-now{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-weight:600}
.face-live-now b{margin-left:auto;font-variant-numeric:tabular-nums}
.face-live-dot{width:9px;height:9px;flex:none;border-radius:50%;background:var(--rf-purple,#8b5cf6);animation:face-live-pulse 1.4s ease-in-out infinite}
.face-live-bar{height:10px;border-radius:999px;background:var(--rf-line,rgba(255,255,255,.12));overflow:hidden}
.face-live-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--rf-purple,#8b5cf6),#c4b5fd,var(--rf-purple,#8b5cf6));background-size:200% 100%;animation:face-live-move 1.6s linear infinite;transition:width .8s ease}
.face-live-steps{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;list-style:none;font-size:.82rem;color:var(--rf-muted,#9aa0b4)}
.face-live-steps li{padding:4px 10px;border-radius:999px;border:1px solid var(--rf-line,rgba(255,255,255,.12))}
.face-live-steps li.is-done{color:var(--rf-ok,#4ade80);border-color:transparent}
.face-live-steps li.is-now{color:inherit;border-color:var(--rf-purple,#8b5cf6)}
@keyframes face-live-move{to{background-position:-200% 0}}
@keyframes face-live-pulse{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.face-live-bar i,.face-live-dot{animation:none}}
