/* vamode-1: "Her versions" on each VA card of the VAs page (va-mode.js fills the box team-view.js draws). Loaded last. */
.tv-card .tv-mode{display:grid;gap:6px;margin:0 0 12px;padding:10px 12px;border:1px solid #ffffff0d;border-radius:12px;background:#121319}
.tv-card .tv-mode[hidden]{display:none!important}
.tv-mode-pick{display:grid;gap:6px;margin:0}
.tv-mode-label{font-size:12px;color:var(--rf-muted);font-weight:600}
.tv-mode-pick select{width:100%;min-height:40px;font-size:13px}
.tv-mode-note{display:block;font-size:12px;line-height:1.4;color:var(--rf-muted)}
@media (max-width:640px){.tv-mode-pick select{min-height:44px;font-size:16px}}

/* vaflow-ui-1 (owner 2026-10-23 evening: make the VA versions flow easy to understand). Page files only, loaded last.
   1. VAs page: one line on how it works, then per VA two big choice cards with a small picture and the price. */
.tv-mode-top[hidden]{display:none!important}
.tv-mode-top{margin:0 0 14px}
.vm-top{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid #8f78ff38;border-radius:14px;background:linear-gradient(135deg,#8f78ff17,#8f78ff07)}
.vm-top-pic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#8f78ff26}
.vm-top-pic svg{width:20px;height:20px;fill:none;stroke:var(--rf-purple);stroke-width:1.8;stroke-linecap:round}
.vm-top strong{display:block;font-size:15px;line-height:1.35;color:var(--rf-ink)}
.vm-top span:not(.vm-top-pic){display:block;margin-top:3px;font-size:13px;line-height:1.45;color:var(--rf-muted)}
.tv-card .tv-mode{padding:12px;gap:0}
.vm-pick{margin:0;padding:0;border:0;min-width:0}
.vm-label{padding:0;margin:0 0 9px;font-size:12px;font-weight:650;letter-spacing:.02em;color:var(--rf-muted)}
.vm-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vm-opt{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"pic tag" "name name" "price price";align-content:start;gap:4px 6px;
  min-height:128px;margin:0;padding:11px 11px 12px;border:1.5px solid var(--rf-line);border-radius:14px;background:#ffffff05;cursor:pointer;
  transition:border-color .15s ease,background .15s ease}
.vm-opt:hover{border-color:#8f78ff66}
.vm-opt.is-on{border-color:var(--rf-purple-2);background:linear-gradient(160deg,#8f78ff24,#8f78ff0a)}
.vm-opt input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.vm-opt:has(input:focus-visible){outline:2px solid var(--rf-purple);outline-offset:2px}
.vm-opt:has(input:disabled){cursor:progress}
.vm-pic{grid-area:pic;display:block;width:40px;height:40px}
.vm-pic svg{display:block;width:40px;height:40px}
.vm-pic .vm-phone{fill:#ffffff08;stroke:#ffffff59;stroke-width:1.6}
.vm-pic .vm-head{fill:#e7dcff}
.vm-pic .vm-dress{fill:var(--rf-purple-2)}
.vm-pic .vm-swap{fill:none;stroke:var(--rf-ok);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vm-pic .vm-play{fill:#e7dcff}
.vm-pic .vm-spark{fill:#f0d27a}
.vm-tag{grid-area:tag;align-self:start;padding:2px 8px;border-radius:999px;border:1px solid #ffffff17;background:#ffffff0a;font-size:11px;font-weight:650;color:var(--rf-muted)}
.vm-own_video .vm-tag{border-color:#f0d27a40;background:#f0d27a14;color:#f3dc95}
.vm-name{grid-area:name;margin-top:4px;font-size:14px;line-height:1.3;color:var(--rf-ink)}
.vm-price{grid-area:price;padding-right:20px;font-size:12px;line-height:1.35;color:var(--rf-muted)}
.vm-opt.is-on .vm-price{color:#ddd4ff}
.vm-tick{position:absolute;right:10px;bottom:10px;width:18px;height:18px;border-radius:50%;border:1.5px solid #ffffff38}
.vm-opt.is-on .vm-tick{border-color:var(--rf-purple-2);background:var(--rf-purple-2)}
.vm-opt.is-on .vm-tick::after{content:"";position:absolute;left:5.5px;top:2.5px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tv-card .tv-mode .vm-note,.rf-shell .tv-card .tv-mode .vm-note{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:var(--rf-muted)}
@media (max-width:640px){.vm-opt{min-height:132px;padding:10px 10px 12px}.vm-name{font-size:14px}.vm-top{padding:12px 14px}}
@media (prefers-reduced-motion:reduce){.vm-opt{transition:none}}

/* 2. "Make VA versions" sheet: each VA, what she gets and its price, the total, one big button. */
#modal-body .vf-sheet h2{margin:6px 0 12px;font-size:23px;line-height:1.2;letter-spacing:-.02em}
.vf-reel{display:flex;gap:12px;align-items:center;margin:0 0 12px;padding:10px;border:1px solid var(--rf-line);border-radius:14px;background:#ffffff05}
.vf-reel img{flex:none;width:46px;height:82px;object-fit:cover;border-radius:9px;background:#0d0d12}
.vf-reel strong{display:block;font-size:14.5px;color:var(--rf-ink)}
.vf-reel small{display:block;margin-top:3px;font-size:12.5px;line-height:1.4;color:var(--rf-muted)}
.vf-list{display:grid;gap:0;margin:0 0 10px;padding:2px 12px;list-style:none;border:1px solid var(--rf-line);border-radius:14px;background:var(--rf-panel-2)}
.vf-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--rf-line)}
.vf-row:first-child{border-top:0}
.vf-face{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:13px;font-weight:700;color:#1b1430;background:linear-gradient(135deg,#d9cdff,#8f78ff)}
.vf-row.is-library .vf-face{background:#2a2b35;color:#c9cbd8}
.vf-who{min-width:0}
.vf-who strong{display:block;font-size:14px;color:var(--rf-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vf-who small{display:block;font-size:12px;color:var(--rf-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vf-type{text-align:right}
.vf-type b{display:block;font-size:12.5px;font-weight:650;color:#ddd4ff}
.vf-type small{display:block;font-size:12px;color:var(--rf-muted)}
#modal-body .vf-note{margin:0 0 8px;font-size:12.5px;line-height:1.45;color:var(--rf-muted)}
.vf-total{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:2px 10px;margin:6px 0 4px;padding:12px 14px;border-radius:14px;background:#ffffff07;border:1px solid #ffffff10}
.vf-total span{font-size:11px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--rf-muted)}
.vf-total strong{justify-self:end;font-size:20px;color:var(--rf-ink)}
.vf-total small{grid-column:1/-1;justify-self:end;font-size:12px;color:var(--rf-muted)}
#modal-body .vf-sheet .va-outfit-actions{margin-top:12px}
#modal-body .vf-sheet .va-outfit-actions>.vf-go{flex:1 1 240px;min-height:52px;font-size:15.5px}
#modal-body .vf-after{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:var(--rf-muted)}

/* 3. Create sheet: each ticked VA shows how her video is made and its price. */
.rr-va-pick .rr-va-type{margin-left:auto;flex:none;padding:3px 9px;border-radius:999px;border:1px solid #ffffff17;background:#ffffff0a;font-size:11.5px;font-style:normal;font-weight:600;color:#cfc6f5;white-space:nowrap}
.rr-va-pick.is-own .rr-va-type{border-color:#f0d27a40;background:#f0d27a14;color:#f3dc95}
.rr-va-pick>span{min-width:0}
@media (max-width:420px){.rr-va-pick{flex-wrap:wrap}.rr-va-pick .rr-va-type{margin-left:30px}}

/* 4. Progress: per VA three plain steps, Making · Ready · Sent to her Telegram (the bar fills the Making step). */
.va-progress .va-row,#modal-body .va-progress .va-row{grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"face who chip" ". steps steps" ". detail detail" ". redo redo";
  align-items:center;column-gap:12px;row-gap:7px}
.va-progress .va-row>.va-face{grid-area:face}
.va-progress .va-row>.va-who{grid-area:who}
.va-progress .va-row>.va-state,#modal-body .va-progress .va-row>.va-state{display:contents}
.va-progress .va-row>.va-redo{grid-area:redo;justify-self:start}
.va-progress .va-chip{grid-area:chip;justify-self:end;padding:3px 10px;border-radius:999px;border:1px solid #ffffff14;background:#ffffff0a;font-size:12px;font-weight:650;color:#ddd4ff;white-space:nowrap}
.va-progress .va-row.is-done .va-chip{border-color:#9fe87040;background:#9fe87014;color:#dcf993}
.va-progress .va-row:is(.is-failed,.is-attention,.is-held) .va-chip{border-color:#ff939c40;background:#ff939c12;color:var(--rf-bad)}
.va-progress .va-row:is(.is-skipped,.is-stopped,.is-waiting,.is-planning) .va-chip{color:var(--rf-muted)}
.va-progress .va-steps{grid-area:steps;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
.va-progress .va-steps li{display:grid;gap:5px;min-width:0}
.va-progress .va-steps .va-bar,.va-progress .va-steps .va-seg{height:5px;border-radius:999px;background:var(--rf-line);overflow:hidden}
.va-progress .va-steps li.is-done .va-seg{background:var(--rf-ok)}
.va-progress .va-steps li.is-done .va-bar i{background:var(--rf-ok);width:100%}
.va-progress .va-steps li.is-now .va-seg{background:linear-gradient(90deg,var(--rf-purple-2),#8f78ff40)}
.va-progress .va-steps em{font-style:normal;font-size:11.5px;line-height:1.25;color:var(--rf-muted);white-space:normal}
.va-progress .va-steps li.is-now em{color:var(--rf-ink);font-weight:650}
.va-progress .va-steps li.is-done em{color:#cfe9b8}
.va-progress .va-state>span,#modal-body .va-progress .va-state>span{grid-area:detail;margin:0;text-align:left;font-size:12px;line-height:1.4;color:var(--rf-muted)}
@media (max-width:520px){.va-progress .va-row,#modal-body .va-progress .va-row{grid-template-columns:36px minmax(0,1fr) auto}.va-progress .va-steps em{font-size:11px}}
