/* Video editor section. Built from the dashboard's own pieces (head, tour library card, finder,
   deal ask, settings rows, step rows); this file fills the gaps and draws the Reels comps
   (01-Latest-workflow/Reels): white cards with a soft shadow on the canvas, navy ink, the signal
   green for actions and every selection, amber bars for what is still pending. Tokens only. */

/* One set of tokens; they follow every theme through --ink, --sig, --card and --paper.
   --ve-line is a decorative hairline (cards, dividers). --ve-ctl edges a control the agent has to find
   (a field, a word chip, a choice tile) and stays at ink 50%, which keeps 3:1 against --card and --card-2
   in the light and dark themes. Text never takes either: it uses --ink, --ink-2 and --ink-3. */
.ve{--ve-line:color-mix(in srgb,var(--ink) 22%,transparent);--ve-ctl:color-mix(in srgb,var(--ink) 50%,transparent);--ve-ctl-hi:color-mix(in srgb,var(--ink) 72%,transparent);
  --ve-on:var(--sig);--ve-mint:var(--sig-bg);--ve-r:10px;--ve-r-card:16px;
  --ve-shadow:0 1px 2px color-mix(in srgb,var(--ink) 5%,transparent),0 12px 30px -20px color-mix(in srgb,var(--ink) 32%,transparent);
  --ve-amber:#B26B00;--ve-amber-bg:color-mix(in srgb,#F2B544 17%,var(--card));--ve-amber-line:color-mix(in srgb,#E3A23A 45%,transparent);
  --ve-bad:#B5654A}
.ve .head .tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.ve .head.ve-head-bare{padding-bottom:0;margin-bottom:0;border-bottom:0}
.ve .head.ve-head-bare>.crumb{margin-bottom:4px}
.ve .solid,.ve .ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.ve .solid svg,.ve .ghost svg{width:16px;height:16px;flex:none}
.ve .mini svg{width:14px;height:14px}
.ve :is(.ghost,.solid):is(a){text-decoration:none}
.ve .solid[disabled],.ve .ghost[disabled]{cursor:not-allowed;opacity:.55}
.ve-quiet{color:var(--ink-3);font-size:13.5px;font-style:normal}
.ve-link{display:inline;padding:0;border:0;background:none;font:inherit;color:var(--sig);font-weight:600;cursor:pointer;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--sig) 40%,transparent);text-underline-offset:3px}
.ve-link:hover{text-decoration-color:var(--sig)}
.ve-link-icon{display:inline-flex;align-items:center;gap:7px;justify-self:start}
.ve-link-icon svg{width:18px;height:18px;flex:none}
.ve-note{display:grid;gap:6px;padding:18px 22px;margin:0 0 18px;max-width:720px}
.ve-note b{font-size:14.5px;font-weight:600;color:var(--ink)}
.ve-note p{color:var(--ink-2);font-size:13px;margin:0}
.ve-note code{font-size:12px;padding:1px 5px;border-radius:5px;background:var(--card-2);border:1px solid var(--line)}
.ve-note .ghost{justify-self:start;margin-top:6px}
.ve-note-actions{display:flex;gap:8px;flex-wrap:wrap}
.ve-fold{margin-top:4px}
.ve-fold>summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--ink-3);list-style:none}
.ve-fold>summary::-webkit-details-marker{display:none}
.ve-fold>summary::after{content:"\00a0+"}
.ve-fold[open]>summary::after{content:"\00a0\2212"}
.ve-fold>summary:hover{color:var(--sig)}
.ve-fold p{margin:8px 0 0;font-size:12.5px;color:var(--ink-2)}
.ve-detail{margin:8px 0 0;padding:8px 10px;max-height:160px;overflow:auto;border-radius:8px;background:var(--card-2);border:1px solid var(--line);font-size:11px;line-height:1.45;color:var(--ink-3);white-space:pre-wrap;word-break:break-word;text-align:left}
.ve-empty{display:grid;justify-items:center;gap:6px;padding:28px 24px;text-align:center}
.ve-empty b{font-size:15px;font-weight:600;color:var(--ink)}
.ve-empty p{margin:0 0 10px;max-width:46ch;font-size:13px;color:var(--ink-3)}
.ve-empty .default-load-v22{padding:0}

/* library: the 3D tours library card, rows with a 9:16 cover */
.ve-library .tour-library-bar>label .p71-icon{width:15px;height:15px;color:var(--ink-3);flex:none}
.ve .tour-library-row{grid-template-columns:minmax(0,1fr) 90px minmax(170px,auto);cursor:pointer;font:inherit}
.ve .tour-library-row>span:first-child{gap:14px;min-width:0}
.ve .tour-library-row>span:nth-child(2){color:var(--ink-3);font-variant-numeric:tabular-nums}
.ve .tour-library-row>span:last-child{justify-content:flex-end;gap:14px}
.ve .tour-library-row svg{width:16px;height:16px;flex:none;color:var(--ink-2)}
.ve-cover{position:relative;display:grid;place-items:center;flex:none;width:30px;aspect-ratio:9/16;border-radius:6px;overflow:hidden;background:var(--card-2);border:1px solid var(--line-2);color:var(--ink-3);font-style:normal}
.ve-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* The row's shared icon gap does not apply here; the 1px nudge centres the triangle by eye, not by its box. */
.ve .ve-cover svg{width:12px;height:12px;margin:0 0 0 1px}
.ve-row-text{display:grid;gap:3px;min-width:0;font-style:normal}
.ve-row-text b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.ve-row-title{display:flex;align-items:center;gap:8px;min-width:0}
.ve-row-text small{font-size:12px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ve .tour-library-row .chip{font-style:normal;white-space:nowrap}
.ve-row-text .ve-row-state{display:none;color:var(--sig)}
/* "Draft · shot plan — 4 of 8 clips in": where an unfinished reel stands, on every width. */
.ve-row-text .ve-row-draft{display:flex;align-items:center;gap:7px;color:var(--ink-2);white-space:normal}
.ve-row-text .ve-row-draft::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--ve-amber)}
.ve .tour-library-row>span.ve-row-chips{gap:8px}
.ve-chip-stale{font-style:normal;border-color:var(--ink-2);color:var(--ink);background:var(--card-3)}
.ve-library-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ve-library-bar>label{flex:1 1 220px}
.ve-lib-filter{flex:0 1 280px;min-width:0;max-width:100%}
.ve-lib-notes:empty{display:none}
.ve .ve-note.ve-stale{border-left:3px solid var(--ve-amber);background:var(--ve-amber-bg)}
.ve-stale .solid{justify-self:start;margin-top:4px}
.ve-stale-tag{font-size:inherit!important}
.ve-none{padding:28px 4px;color:var(--ink-3);font-size:13px;margin:0}
.ve .tour-pagination button[disabled]{opacity:.5;cursor:default}

/* shared pieces: cards, boxed fields, pills, the outline action */
.ve-card,.ve-shot,.ve-stage{border:1px solid var(--ve-line);border-radius:var(--ve-r-card);background:var(--card);box-shadow:var(--ve-shadow)}
.ve-box{border:1px solid var(--ve-ctl);border-radius:var(--ve-r);background:var(--card)}
.ve-box-pad{padding:14px 16px}
.ve-box-pad h3{margin:0 0 6px;font-size:16px;font-weight:700;color:var(--ink)}
.ve-box-pad p{margin:0 0 6px;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.ve-glyph{width:16px;height:16px;flex:none}
.ve-icon-line{display:flex;align-items:center;gap:7px}
.ve-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border:0;border-radius:999px;background:var(--ve-mint);font-size:13.5px;font-weight:500;line-height:1.3;color:var(--ink);font-style:normal;white-space:nowrap}
.ve-pill svg{width:16px;height:16px;flex:none;color:var(--sig)}
.ve-pill-on{background:var(--ve-mint);color:var(--sig);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sig) 45%,transparent)}
.ve-pills{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0}
.ve-outline{display:inline-flex;align-items:center;justify-self:start;gap:8px;min-height:42px;padding:0 16px;border:1.5px solid var(--sig);border-radius:var(--ve-r);background:transparent;font:inherit;font-size:14.5px;font-weight:600;color:var(--sig);cursor:pointer}
.ve-outline:hover{background:var(--ve-mint)}
.ve-outline svg{width:17px;height:17px}
/* An amber bar: something the agent did or chose is not in the video yet, or the footage is not hers. */
.ve-amber{border-color:var(--ve-amber-line)!important;background:var(--ve-amber-bg)!important}
.ve-amber>svg{width:20px;height:20px;flex:none;color:var(--ve-amber)}
.ve-amber .chip{background:var(--card);border-color:var(--ve-amber-line);color:var(--ink)}
.ve-amber .ve-quiet{color:var(--ink-2)}

/* the listing header: the home and its facts on the canvas, the section's tools at the right, then the tabs. */
.ve>.ve-steps-sticky{position:relative}
.ve .ve-steps{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:10px 0 8px;padding:0 4px}
.ve-steps-home{display:flex;align-items:center;gap:16px;min-width:0}
.ve-steps-thumb{display:grid;place-items:center;flex:none;width:56px;height:56px;overflow:hidden;border-radius:12px;background:var(--card);color:var(--ink);box-shadow:var(--ve-shadow);border:1px solid var(--ve-line)}
.ve-steps-thumb img{width:100%;height:100%;object-fit:cover}
.ve-steps-thumb svg{width:22px;height:22px}
.ve-steps-who{display:grid;gap:2px;min-width:0}
.ve-steps-who b{font-size:18px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ve-steps-who small{font-size:14px;color:var(--ink-3);white-space:nowrap}
.ve-steps-tools{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;margin-left:auto}
.ve-tool{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 6px;border:0;background:none;font:inherit;font-size:14.5px;color:var(--ink-2);text-decoration:none;cursor:pointer}
.ve-tool:hover{color:var(--sig)}
.ve-tool svg{width:18px;height:18px}
.ve-tool[disabled]{opacity:.55;cursor:not-allowed}
/* The tabs: Details, Overview and the plan's sections, each with its icon, the one on show underlined. */
.ve-tabs{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin:0 0 14px}
.ve-tabs button{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border:0;border-bottom:3px solid transparent;background:none;font:inherit;font-size:15.5px;color:var(--ink-2);cursor:pointer}
.ve-tabs button+button::before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:1px;background:var(--ve-line)}
.ve-tabs button svg{width:21px;height:21px}
.ve-tabs button:hover{color:var(--sig)}
.ve-tabs button[aria-current=true]{color:var(--sig);font-weight:600;border-bottom-color:var(--sig)}
.ve-tabs button[aria-disabled=true]{color:var(--ink-3);cursor:not-allowed}
.ve-tabs button:focus-visible{outline:2px solid var(--sig);outline-offset:-4px;border-radius:8px}
.ve-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ve-gate-text.is-hint{animation:ve-hint .5s var(--pm-ease,ease) both}
@keyframes ve-hint{from{transform:translateY(-3px);opacity:.3}}

/* new reel: the finder, then the home's details and what to feature in two cards */
.ve>.finderwrap,.ve>.shelves{max-width:1280px}
.ve-finder .fbar .p71-icon,.ve-finder .fbar .plinth-icon{width:16px;height:16px;flex:none}
.ve-finder .sugg .none .ve-link{font-size:inherit}
.ve-shelves .shelfrow{text-align:left;cursor:pointer;font:inherit}
.ve-shelves .sr1,.ve-shelves .sr2{display:block}
.ve-card{margin:0;padding:calc(var(--card-pad-top) + 14px) calc(var(--card-pad-x) + 14px)}
.ve-card>h3,.ve-card-head h3{margin:0 0 4px;font-size:24px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.ve-card>.ve-quiet{margin:0 0 14px;font-size:14.5px}
.ve-fields{display:grid;gap:18px;margin-top:10px}
.ve-field{display:grid;gap:8px;min-width:0}
.ve-field-label{font-size:15px;font-weight:600;color:var(--ink)}
.ve-field-note{font-size:12.5px;color:var(--ink-3)}
.ve-setup .sinput,.ve-setup .sselect{width:100%;box-sizing:border-box;min-height:48px;padding:11px 14px;border:1px solid var(--ve-ctl);border-radius:var(--ve-r);background:var(--card);font:inherit;font-size:16px;color:var(--ink)}
.ve-setup .sinput:not(:focus-visible),.ve-setup .sselect:not(:focus-visible){border-color:var(--ve-ctl)!important}
.ve-setup .sinput:hover:not(:focus-visible),.ve-setup .sselect:hover:not(:focus-visible){border-color:var(--ve-ctl-hi)!important}
.ve-setup .sinput:focus-visible,.ve-setup .sselect:focus-visible{outline:2px solid var(--sig);outline-offset:1px;border-color:var(--sig)!important}
.ve-setup textarea.ve-feature{min-height:260px;resize:vertical;line-height:1.6;padding:14px 16px}
.ve-gate.ve-setup-foot{margin:18px 0 0}
.ve-keyword{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:12px 0 0;border:1px solid var(--ve-line);border-radius:12px;background:var(--card)}
.ve-keyword .chip{font-style:normal;font-size:12.5px;padding:3px 10px}
.ve-ready>.ve-wide+.ve-quiet{margin:-4px 0 0}
.ve-ready>:last-child{margin-bottom:0}
/* While ReelForge writes the plan: the mark and one line. */
.ve-arrive>*{animation:ve-pop .5s var(--pm-ease,ease) both;animation-delay:var(--ve-in,0ms)}
@keyframes ve-pop{from{opacity:0;transform:translateY(6px) scale(.985)}}
.ve-error{margin:16px 0 0;font-size:13.5px;color:var(--ink);padding:12px 16px;border-radius:12px;border:1px solid var(--ve-bad);background:color-mix(in srgb,var(--ve-bad) 8%,var(--card))}

/* shot plan: Opening, Montage and Ending, a numbered card per clip in each, the sticky gate at the foot */
.ve-chip-bad{font-style:normal;border-color:var(--ink-3);color:var(--ink)}
.ve-flag{display:flex;gap:10px;margin-top:12px;padding:14px 18px;border:1px solid var(--ve-bad);border-radius:12px;background:color-mix(in srgb,var(--ve-bad) 8%,var(--card));color:var(--ink)}
.ve-flag>svg{width:18px;height:18px;flex:none;margin-top:2px;color:var(--ve-bad)}
.ve-flag ul{margin:4px 0;padding-left:18px;font-size:13.5px;line-height:1.5}
.ve-flag p{margin:0}
.ve-section{margin-top:14px}
.ve-section-body{display:grid;gap:16px}

/* Details: the facts on the left, what to highlight on the right, Back and Plan my reel at the foot of the card. */
.ve-details{padding:0;overflow:hidden}
.ve-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ve-details-grid>.ve-fields{margin:0;padding:calc(var(--card-pad-top) + 12px) calc(var(--card-pad-x) + 12px);align-content:start}
.ve-details-notes{border-left:1px solid var(--ve-line)}
.ve-details-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ve-details-other{margin:0}
.ve-details-notes>.ve-quiet{margin:-8px 0 0;font-size:14px}
.ve-setup.ve-details textarea.ve-feature{min-height:150px}
.ve-affix,.ve-unit{display:flex;align-items:stretch;min-width:0}
.ve-affix>i{display:grid;place-items:center;padding:0 14px;border:1px solid var(--ve-ctl);border-right:0;border-radius:var(--ve-r) 0 0 var(--ve-r);background:var(--card-2);font-style:normal;font-size:15px;color:var(--ink-2)}
.ve-setup .ve-affix .sinput{border-radius:0 var(--ve-r) var(--ve-r) 0}
.ve-setup .ve-unit .sinput{flex:1 1 auto;width:auto;min-width:0;border-radius:var(--ve-r) 0 0 var(--ve-r)}
.ve-setup .ve-unit .sselect{flex:0 0 96px;width:96px;min-width:0;border-left:0;border-radius:0 var(--ve-r) var(--ve-r) 0}
.ve-gate.ve-details-foot{position:static;margin:0;border:0;border-top:1px solid var(--ve-line);border-radius:0;box-shadow:none;padding:16px calc(var(--card-pad-x) + 12px)}
.ve-details-foot .ve-gate-text{text-align:center;font-size:14.5px;color:var(--ink-2)}
.ve-details-foot .solid,.ve-details-foot .ghost{min-height:50px;padding:0 26px;font-size:16px;border-radius:var(--ve-r)}
.ve-details-foot .solid{min-width:180px}

/* Planning: one card while ReelForge writes the plan, its three stages and Cancel. */
.ve-planning{display:grid;justify-items:center;gap:6px;max-width:620px;margin:0 auto;padding:44px 32px 30px;text-align:center}
.ve-planning h2{margin:14px 0 0;font-size:24px;font-weight:700;color:var(--ink)}
.ve-planning>.ve-quiet{margin:0 0 14px;font-size:15px}
.ve-spin{width:64px;height:64px;border-radius:50%;border:6px solid color-mix(in srgb,var(--sig) 16%,var(--card));border-top-color:var(--sig);animation:ve-spin 1s linear infinite}
@keyframes ve-spin{to{transform:rotate(360deg)}}
.ve-stages{list-style:none;display:grid;gap:14px;margin:4px 0 18px;padding:0;text-align:left}
.ve-stages li{display:flex;align-items:center;gap:14px;font-size:15.5px;color:var(--ink-3)}
.ve-stages li>i{display:grid;place-items:center;flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--ve-line);color:var(--card)}
.ve-stages li>i svg{width:13px;height:13px}
.ve-stages li[data-state=now]{color:var(--sig);font-weight:600}
.ve-stages li[data-state=now]>i{border:2px solid color-mix(in srgb,var(--sig) 25%,transparent);border-top-color:var(--sig);animation:ve-spin 1s linear infinite}
.ve-stages li[data-state=done]{color:var(--ink)}
.ve-stages li[data-state=done]>i{border-color:var(--sig);background:var(--sig)}

/* Opening and Ending: the script and how to film it beside the drop zone; Filming steps opens a panel to the right. */
.ve-face{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.ve-face.has-panel{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}
.ve-face-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 28px;align-items:stretch;margin:0;padding:calc(var(--card-pad-top) + 10px) calc(var(--card-pad-x) + 10px)}
.ve-face.has-panel .ve-face-card{grid-template-columns:minmax(0,1fr)}
.ve-face-script{display:flex;flex-direction:column;gap:12px;min-width:0}
.ve-face-script h3{margin:0;font-size:19px;font-weight:700;color:var(--ink)}
.ve-face-script>.ve-quiet{margin:0;font-size:14px}
.ve-face-script .ve-steps-btn{margin-top:auto;align-self:flex-start}
.ve-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--ve-mint);font-size:13.5px;color:var(--ink);white-space:nowrap}
.ve-chip svg{width:16px;height:16px;flex:none}
.ve-chip.is-on{color:var(--sig);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sig) 45%,transparent)}
.ve-dropzone{display:grid;justify-items:center;align-content:center;gap:10px;min-height:240px;padding:28px 20px;box-sizing:border-box;border:1.5px dashed var(--ve-ctl);border-radius:12px;background:color-mix(in srgb,var(--ve-mint) 45%,var(--card));text-align:center;color:var(--ink)}
.ve-dropzone>svg{width:34px;height:34px;color:var(--sig)}
.ve-dropzone>b{font-size:16px;font-weight:500}
.ve-dropzone>small{font-size:13px;color:var(--ink-3)}
.ve-dropzone-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:170px;padding:0 24px;border-radius:var(--ve-r);font-size:15.5px;font-weight:600}
.ve-dropzone.is-over{border-color:var(--sig);background:var(--ve-mint)}
.ve-dropzone.is-busy .ve-progress{max-width:240px}
.ve-dropzone.is-filled{grid-template-columns:minmax(0,1fr);gap:14px;border-style:solid;border-color:var(--ve-line);background:var(--card);align-content:start}
.ve-dropzone.is-filled .ve-shot-media{grid-area:auto;width:100%;max-width:200px}
.ve-dropzone.is-filled .ve-shot-foot{justify-content:center;margin:0}
.ve-steps-panel{display:grid;gap:14px;margin:0;padding:18px 18px 16px;align-content:start}
.ve-steps-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.ve-steps-panel-head h3{display:grid;gap:2px;margin:0;font-size:18px;font-weight:700;color:var(--ink)}
.ve-steps-panel-head h3 small{font-size:13px;font-weight:400;color:var(--ink-3)}
.ve-steps-art{margin:0;overflow:hidden;border-radius:10px;background:var(--card-2);aspect-ratio:3/2}
.ve-steps-art img{display:block;width:100%;height:100%;object-fit:cover}
.ve-steps-list{list-style:none;display:grid;gap:12px;margin:0;padding:0}
.ve-steps-list li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;align-items:start}
.ve-steps-list li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ve-mint);font-size:14px;font-weight:700;color:var(--ink)}
.ve-steps-list li>p{margin:5px 0 0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.ve-steps-tip{display:flex;gap:10px;margin:0;padding-top:12px;border-top:1px solid var(--ve-line);font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.ve-steps-tip svg{width:17px;height:17px;flex:none;margin-top:1px}

/* Montage: the room clips as rows, the voice-over beside them. */
.ve-montage{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:16px;align-items:start}
.ve-montage.is-solo{grid-template-columns:minmax(0,1fr)}
.ve-rooms{padding:0;overflow:hidden}
.ve-rooms-head{padding:18px 22px 14px;border-bottom:1px solid var(--ve-line)}
.ve-rooms-head h3{display:flex;align-items:baseline;gap:10px;margin:0;font-size:19px;font-weight:700;color:var(--ink)}
.ve-rooms-head h3 .ve-quiet{font-size:14px;font-weight:400}
.ve-rooms-head p{margin:4px 0 0;font-size:13.5px}
.ve-room{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 22px}
.ve-room+.ve-room{border-top:1px solid var(--ve-line)}
.ve-room-thumb{display:grid;place-items:center;width:96px;height:62px;overflow:hidden;border-radius:10px;background:var(--ve-mint);color:var(--ink)}
.ve-room-thumb svg{width:26px;height:26px}
.ve-room-thumb img,.ve-room-thumb video{width:100%;height:100%;object-fit:cover}
.ve-room-text{display:grid;gap:3px;min-width:0}
.ve-room-text b{font-size:15.5px;font-weight:600;color:var(--ink)}
.ve-room-text p{margin:0;font-size:14px;line-height:1.45;color:var(--ink-2)}
.ve-room-text small{font-size:13px;color:var(--ink-3)}
.ve-room-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ve-room.is-filled{grid-template-columns:96px minmax(0,1fr)}
.ve-room.is-filled .ve-room-actions{grid-column:2;justify-content:flex-start}
.ve-room-actions .ghost{min-height:42px;padding:0 14px;border:1px solid var(--ve-ctl);border-radius:var(--ve-r);background:var(--card);font-size:14px;color:var(--ink)}
.ve-room-actions .ghost:hover{border-color:var(--ve-ctl-hi)}
.ve-room-steps{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 4px 0 14px;border:0;border-left:1px solid var(--ve-line);background:none;font:inherit;font-size:14px;color:var(--ink-2);cursor:pointer}
.ve-room-steps:hover,.ve-room-steps[aria-expanded=true]{color:var(--sig)}
.ve-room-steps svg{width:18px;height:18px}
.ve-rooms>.ve-more-clips{margin:12px 22px 18px}
.ve-montage-side{display:grid;gap:16px;min-width:0}
.ve-vo{display:grid;gap:12px;margin:0;padding:18px 18px 16px}
.ve-vo-head{display:flex;align-items:center;gap:12px}
.ve-vo-head h3{margin:0;font-size:19px;font-weight:700;color:var(--ink)}
.ve-vo-head .ve-shot-mic{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--ve-mint);color:var(--sig)}
.ve-vo>.ve-quiet{margin:0;font-size:14px}
.ve-vo .ve-line{min-height:150px;align-items:flex-start;font-size:15px}
.ve-vo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ve-vo-actions .solid,.ve-vo-actions .ghost{min-height:48px;border-radius:var(--ve-r);font-size:15px}
.ve-vo-actions .ghost{border:1px solid var(--ve-ctl);background:var(--card);color:var(--ink)}
.ve-vo-state{margin:0;font-size:13.5px}
.ve-vo-steps{border-top:1px solid var(--ve-line);padding-top:12px}
.ve-vo-steps summary{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px;color:var(--ink-2);cursor:pointer;list-style:none}
.ve-vo-steps summary::-webkit-details-marker{display:none}
.ve-vo-steps summary svg{width:18px;height:18px}
.ve-vo-steps .ve-steps-list{margin-top:10px}

/* The Ending's footer: what is still to upload, as a button that opens the list. */
.ve-remaining{position:relative;display:inline-flex}
.ve-remaining-btn{display:inline-flex;align-items:center;gap:12px;min-height:50px;padding:0 12px;border:0;border-radius:var(--ve-r);background:none;font:inherit;text-align:left;color:var(--ink);cursor:pointer}
.ve-remaining-btn:hover{background:var(--card-2)}
.ve-remaining-btn svg{width:20px;height:20px;flex:none}
.ve-remaining-btn span{display:grid;gap:1px}
.ve-remaining-btn b{font-size:14.5px;font-weight:500}
.ve-remaining-btn small{font-size:13px;color:var(--ink-3)}
.ve-remaining-pop{position:absolute;right:0;bottom:calc(100% + 8px);z-index:30;width:300px;max-height:320px;overflow:auto;margin:0;padding:6px}
.ve-remaining-pop ul{list-style:none;margin:0;padding:0}
.ve-remaining-pop button{display:grid;gap:1px;width:100%;padding:9px 12px;border:0;border-radius:8px;background:none;font:inherit;text-align:left;cursor:pointer}
.ve-remaining-pop button:hover{background:var(--card-2)}
.ve-remaining-pop button span{font-size:14.5px;color:var(--ink)}
.ve-remaining-pop button small{font-size:12.5px;color:var(--ink-3)}
/* The format's Overview: the idea, why it works, and the Proven record's watch cards, two or more a row as the card allows. */
.ve-overview>:not(.ve-proofs){max-width:640px}
.ve-overview.ve-ghost{display:grid;gap:14px;min-height:0}
.ve-proofs{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:8px}
.ve-proof{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 16px;box-sizing:border-box;border:1px solid var(--ve-line);border-radius:12px;background:var(--card);text-decoration:none;color:var(--ink)}
.ve-proof:hover{border-color:var(--ve-ctl-hi)}
.ve-proof:focus-visible{outline:2px solid var(--sig);outline-offset:2px}
.ve-proof-play{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--ve-mint);color:var(--sig)}
.ve-proof-play svg{width:18px;height:18px;margin-left:2px;fill:currentColor}
.ve-proof-text{display:grid;gap:2px;min-width:0}
.ve-proof-text b{font-size:15px;font-weight:600;color:var(--ink)}
.ve-proof-text small{font-size:13.5px;color:var(--ink-2);overflow-wrap:anywhere}
.ve-overview-badge{display:inline-block;margin:0 0 12px;padding:3px 11px;border:1px solid color-mix(in srgb,var(--sig) 50%,transparent);border-radius:999px;background:var(--ve-mint);font-size:13px;font-weight:600;font-style:normal;color:var(--sig)}
.ve-card.ve-overview h3{margin:0 0 22px;font-size:30px;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:var(--ink)}
.ve-overview h4{margin:0 0 4px;font-size:16px;font-weight:700;color:var(--ink)}
.ve-overview p{margin:0 0 18px;font-size:16px;line-height:1.6;color:var(--ink-2)}
.ve-overview p:last-child{margin-bottom:0}
.ve-shot-vo{grid-template-columns:58px minmax(0,1fr);grid-template-areas:"n title" ". body"}
.ve-shot-head{display:contents}
.ve-shot-n{grid-area:n;display:grid;place-items:center;width:56px;height:56px;border:0;border-radius:50%;background:var(--ve-mint);font-size:22px;font-weight:700;color:var(--sig);font-variant-numeric:tabular-nums}
.ve-shot-mic svg{width:22px;height:22px}
.ve-shot-title{grid-area:title;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;padding-top:2px}
.ve-shot-title b{font-size:18px;font-weight:700;color:var(--ink);margin-right:2px}
.ve-shot-title .chip{font-style:normal}
.ve-shot-media{grid-area:media;position:relative;margin:0;aspect-ratio:3/4;overflow:hidden;border-radius:12px;background:var(--card-2)}
.ve-shot-media img,.ve-shot-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ve-shot-blank{position:absolute;inset:0;display:grid;place-items:center;color:var(--ink-3);border:1.5px dashed var(--ve-line);border-radius:inherit}
.ve-shot-blank svg{width:28px;height:28px}
.ve-shot-badge{position:absolute;left:10px;bottom:10px;right:10px;display:flex;align-items:center;gap:5px;width:max-content;max-width:calc(100% - 20px);box-sizing:border-box;padding:5px 11px;border-radius:999px;background:rgba(14,18,16,.66);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:12.5px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ve-shot-badge svg{width:13px;height:13px;flex:none}
.ve-shot-play{position:absolute;left:10px;bottom:8px;z-index:1;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#151817;box-shadow:0 2px 8px rgba(0,0,0,.25);cursor:pointer}
.ve-shot-play svg{width:15px;height:15px;margin-left:2px;fill:currentColor}
.ve-shot-media:has(.ve-shot-play) .ve-shot-badge{left:54px;max-width:calc(100% - 64px)}
.ve-shot-body{grid-area:body;display:grid;gap:10px;min-width:0;padding-top:10px}
.ve-shot-vo .ve-shot-body{padding-top:0}
.ve-shot-body>p{margin:0}
.ve-shot-body>.ve-quiet{font-size:14.5px}
.ve-say-cap{margin:0 0 -2px;font-size:15.5px;font-weight:700;color:var(--ink)}
.ve-line{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:11px 16px;font:inherit;font-size:17px;line-height:1.45;color:var(--ink);text-align:left;cursor:text}
.ve-line:hover{border-color:var(--ve-ctl-hi)}
.ve-line:focus-visible{outline:2px solid var(--sig);outline-offset:2px}
.ve-line svg{width:20px;height:20px;flex:none;color:var(--ink)}
.ve-line-ro{margin:0;padding:11px 16px;font-size:16px;color:var(--ink)}
.ve-say-note{margin:-4px 0 0!important;font-size:13.5px!important}
.ve-say-note.is-hint{color:var(--ink);font-weight:600;animation:ve-hint .5s var(--pm-ease,ease) both}
textarea.ve-line-input{width:100%;box-sizing:border-box;padding:11px 16px;font:inherit;font-size:17px;line-height:1.45;color:var(--ink);border-color:var(--sig);outline:none;box-shadow:0 0 0 3px var(--ve-mint);resize:vertical}
.ve-vo-lines{margin:0;padding:14px 16px}
.ve-vo-lines p{margin:0 0 4px;font-size:16px;line-height:1.55;color:var(--ink)}
.ve-vo-lines p:last-child{margin:0}
.ve-qc{list-style:none;margin:2px 0;padding:0;display:grid;gap:4px}
.ve-qc li{display:flex;gap:7px;font-size:13.5px;line-height:1.45;color:var(--ink)}
.ve-qc li svg{width:15px;height:15px;flex:none;margin-top:2px}
.ve-qc .ve-bad svg{color:var(--ve-bad)}
.ve-qc .ve-warn{color:var(--ink-2)}
.ve-qc .ve-warn svg{color:var(--ve-amber)}
.ve-shot-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:4px}
.ve-shot-foot .ghost{min-height:46px;padding:0 18px;border:1px solid var(--ve-ctl);border-radius:var(--ve-r);background:var(--card);font-size:15px;color:var(--ink)}
.ve-shot-foot .ghost:hover{border-color:var(--ve-ctl-hi)}
.ve-shot-foot .ghost svg{width:18px;height:18px}
.ve-file{position:relative;cursor:pointer;overflow:hidden}
.ve-file input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.ve-file:focus-within{outline:2px solid var(--sig);outline-offset:2px}
.ve-progress{width:100%;max-width:320px}
.ve-more-clips{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;padding:14px 18px;border:1.5px dashed var(--ve-ctl);border-radius:14px;background:color-mix(in srgb,var(--card) 60%,transparent)}
.ve-more-text{display:flex;align-items:flex-start;gap:10px;min-width:0;font-size:14px;color:var(--ink)}
.ve-more-text>svg{width:18px;height:18px;flex:none;color:var(--ink-3)}
.ve-more-text small{display:block;font-size:12.5px;color:var(--ink-3)}
.ve-gate{position:sticky;bottom:0;z-index:15;display:flex;align-items:center;justify-content:flex-end;gap:10px 14px;flex-wrap:wrap;margin:16px 0 0;padding:12px 14px 12px 22px;border:1px solid var(--ve-line);border-radius:14px 14px 0 0;background:var(--card);box-shadow:0 -12px 28px -20px color-mix(in srgb,var(--ink) 45%,transparent)}
.ve-gate-text{flex:1 1 220px;min-width:0;margin:0 auto 0 0;font-size:16px;line-height:1.4;color:var(--ink)}
.ve-gate .solid,.ve-gate .ghost{min-height:50px;padding:0 26px;border-radius:var(--ve-r);font-size:16px}
.ve-gate .solid{min-width:200px}
.ve-gate .ghost{border:1px solid var(--ve-ctl);background:var(--card);color:var(--ink)}
.ve-gate .ghost:hover{border-color:var(--ve-ctl-hi)}
.ve-gate [aria-disabled=true]{opacity:.55;cursor:not-allowed}
.ve-gate-text.is-hint{color:var(--ink);font-weight:600}
.ve-gate-text b{font-weight:700}

/* preview and export: the phone in its own card on the left; the export on file, the settings and the ask on the right */
.ve-check{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1fr);gap:16px;align-items:start;margin-top:14px}
.ve-stage{position:sticky;top:96px;display:grid;justify-items:center;gap:14px;padding:22px}
.ve-stage>*{width:100%;max-width:440px}
.ve-stage-h{margin:0;font-size:15px;font-weight:600;color:var(--ink)}
.ve-check-side{display:grid;gap:16px;min-width:0}
.ve-export-slot:empty,.ve-dirty-slot:empty{display:none}
.ve-phone{position:relative;aspect-ratio:9/16;width:100%;overflow:hidden;border-radius:16px;
  background:linear-gradient(165deg,var(--card) 0%,var(--card-2) 58%,color-mix(in srgb,var(--ve-mint) 70%,var(--card-2)) 100%);box-shadow:inset 0 0 0 1px var(--ve-line)}
/* As wide as the card allows, but never taller than the window under the step bar. */
.ve-stage>.ve-phone{max-width:min(440px,calc((100dvh - 210px) * 9 / 16));min-width:220px}
.ve-phone video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.ve-frame{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:8px;padding:24px 22px;text-align:center}
.ve-frame>svg{width:26px;height:26px;color:var(--ink-3)}
.ve-frame>b{font-size:16px;font-weight:600;color:var(--ink)}
.ve-frame>p{margin:0;font-size:13.5px;color:var(--ink-3);max-width:28ch}
.ve-frame>.ghost{margin-top:8px}
.ve-frame .ve-fold{width:100%;text-align:left}
.ve-stage-note{display:grid;gap:8px;padding:12px 14px;border-radius:12px;background:var(--ve-amber-bg);box-shadow:inset 0 0 0 1px var(--ve-amber-line);font-size:13px;line-height:1.5;color:var(--ink-2)}
.ve-stage-note[hidden]{display:none}
.ve-stage-note p{margin:0}
.ve-stage-note b{color:var(--ink)}
.ve-stage-note .ghost{justify-self:start}
.ve-frame .default-load-v22{padding:0;min-height:0}
.ve-frame .default-load-v22 p{max-width:26ch;margin-inline:auto;overflow:hidden;text-overflow:ellipsis}
.ve-frame .pm-mark{--s:16px}
/* Render phases as connected steps (comp 05): a filled tick for a finished phase, a ring with a dot (turning while
   ReelForge works) for the phase it is in, a plain ring for one still to come; the line between them fills as it goes.
   Rows keep data-done; .ve-now marks the current one. */
.ve-phases{width:100%;margin-top:10px;text-align:left}
.ve-phases .step{position:relative;display:flex;align-items:center;gap:16px;padding:9px 0;border:0;opacity:1;color:var(--ink-2);transition:color var(--pm-dur-state) var(--pm-ease)}
.ve-phases .step .w{font-size:16px}
.ve-phases .step:not(:last-child)::before{content:'';position:absolute;left:14px;top:41px;bottom:-9px;width:1.5px;background:var(--ve-line)}
.ve-phases .step[data-done="1"]:not(.ve-now)::before{background:var(--sig)}
.ve-phases .step .dot{position:relative;flex:none;display:grid;place-items:center;width:30px;height:30px;box-sizing:border-box;border:1.5px solid var(--ve-ctl);border-radius:50%;background:var(--card);transition:background var(--pm-dur-state),border-color var(--pm-dur-state)}
.ve-phases .step[data-done="1"]:not(.ve-now){color:var(--ink)}
.ve-phases .step[data-done="1"]:not(.ve-now) .dot{background:var(--sig);border-color:var(--sig)}
.ve-phases .step[data-done="1"]:not(.ve-now) .dot::after{content:'';width:10px;height:5px;border:solid var(--card);border-width:0 0 2px 2px;transform:translateY(-1.5px) rotate(-45deg)}
.ve-phases .step.ve-now{color:var(--ink);font-weight:700}
.ve-phases .step.ve-now .dot{border:2px solid var(--sig)}
.ve-phases .step.ve-now .dot::after{content:'';width:14px;height:14px;border-radius:50%;background:var(--sig)}
.ve-phases .step.ve-now .dot::before{content:'';position:absolute;inset:-5px;border:2px solid transparent;border-top-color:color-mix(in srgb,var(--sig) 55%,transparent);border-radius:50%;animation:pm-turn var(--pm-loop-turn) linear infinite}
.ve-frame .ve-phases .step .w{font-size:13.5px}
.ve-frame .default-load-count-v22{margin-top:8px}
/* A stopped render holds still and says which kind of stop it is: dashed when ReelForge went quiet, the failure colour when it reported an error. */
.ve-held::before,.ve-stopped::before{content:'';box-sizing:border-box;width:30px;height:30px;margin-bottom:4px;border-radius:50%}
.ve-held::before{border:1.5px dashed color-mix(in srgb,var(--pm-accent) 75%,transparent)}
.ve-stopped::before{border:1.5px solid var(--pm-fail);background:linear-gradient(var(--pm-fail),var(--pm-fail)) 50% 7px/1.5px 9px no-repeat,radial-gradient(circle,var(--pm-fail) 1.1px,transparent 1.5px) 50% 18px/4px 4px no-repeat}
/* The finished reel takes the loader's place only once it exists. */
.ve-phone>video{animation:pm-reveal var(--pm-dur-reveal) var(--pm-ease) both}

/* timeline strip */
.ve-strip-head{display:flex;justify-content:space-between;margin-bottom:7px;font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3)}
.ve-track{position:relative;height:38px;border-radius:10px;background:var(--card-2);border:1px solid var(--ve-line);overflow:hidden;cursor:pointer}
.ve-seg{position:absolute;top:4px;bottom:4px;margin-left:2px;padding:0 6px;display:flex;align-items:center;overflow:hidden;border-radius:6px;background:var(--card)}
.ve-seg em{font-style:normal;font-size:10.5px;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ve-k-face{background:var(--ve-mint)}
.ve-k-face em{color:var(--sig)}
.ve-playhead{position:absolute;top:0;bottom:0;left:0;width:2px;margin-left:-1px;background:var(--ink);pointer-events:none;transition:left .25s linear}

/* the amber bar under the settings: changes not in the video yet, and the one button that puts them in */
.ve-dirty-slot{margin-top:16px}
.ve-dirty{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px 10px 18px;border-radius:12px;background:var(--ve-amber-bg);box-shadow:inset 0 0 0 1px var(--ve-amber-line);color:var(--ink)}
.ve-dirty>svg{width:22px;height:22px;flex:none;color:var(--ve-amber)}
.ve-dirty>span{flex:1 1 0;min-width:140px;font-size:15px;font-weight:500}
.ve-dirty .solid{min-height:46px;padding:0 20px;font-size:15.5px;border-radius:var(--ve-r)}

/* settings: one row per choice inside a soft box; a choice opens a menu (plinth-menus: one open, Escape and outside press close).
   A row with one option (Caption style, and Music while the library is empty) is plain text, with no chevron. */
.ve-look{border-color:var(--ve-line)}
.ve-look-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:56px;padding:4px 10px 4px 18px;border-top:1px solid var(--ve-line)}
.ve-look-row:first-child{border-top:0}
.ve-look-ic{display:grid;color:var(--ink)}
.ve-look-ic svg{width:21px;height:21px}
.ve-look-label{font-size:16px;color:var(--ink)}
.ve-look-fixed{padding-right:8px;font-size:15px;color:var(--ink-2)}
.ve-menu{position:relative}
.ve-menu>summary{list-style:none;cursor:pointer;min-height:40px;padding:6px 8px 6px 12px;gap:12px;border-radius:8px;background:none;font-size:15px;font-weight:400;color:var(--ink-2)}
.ve-menu>summary svg{width:18px;height:18px;color:var(--ink)}
.ve-menu>summary::-webkit-details-marker{display:none}
.ve-menu>summary::after{content:none!important}
.ve-menu>summary:hover,.ve-menu[open]>summary{background:var(--card-2);color:var(--ink)}
.ve-menu>summary:focus-visible{outline:2px solid var(--sig);outline-offset:1px}
.ve-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:grid;min-width:180px;padding:6px;border:1px solid var(--ve-line);border-radius:12px;background:var(--card);box-shadow:0 18px 40px -16px color-mix(in srgb,var(--ink) 40%,transparent)}
.ve-menu-panel button{min-height:42px;padding:8px 12px;border:0;border-radius:8px;background:none;font:inherit;font-size:14.5px;color:var(--ink);text-align:left;cursor:pointer}
.ve-menu-panel button:hover{background:var(--card-2)}
.ve-menu-panel button[aria-checked=true]{background:var(--ve-mint);color:var(--sig);font-weight:600}

/* the export on file and the export bar */
.ve-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 22px}
.ve-chips .chip{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;font-size:14px;font-style:normal;border:0;background:var(--ve-mint);color:var(--ink)}
.ve-chips .chip svg{width:18px;height:18px;color:var(--card);fill:var(--sig)}
.ve-wide{width:100%;min-height:56px;font-size:17px;margin-bottom:18px;border-radius:var(--ve-r)}
.ve-wide svg{width:20px!important;height:20px!important}
.ve-ready .ve-link{font-size:15.5px;font-weight:500}
.ve-ready .ve-link svg{color:var(--sig)}
.ve-warn-row{display:inline-flex;align-items:center;gap:10px;margin:14px 0 8px;padding:10px 14px;border-radius:10px;background:var(--ve-amber-bg);box-shadow:inset 0 0 0 1px var(--ve-amber-line);font-size:14.5px;color:var(--ink)}
.ve-warn-row svg{width:19px;height:19px;flex:none;color:var(--ve-amber)}
.ve-warn-row+.ve-link{display:block;width:max-content;font-weight:500}

/* dialogs: progress, voice-over and clip options */
.ve-dialog{margin:auto;width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:0;overflow:auto;border:0;border-radius:16px;background:var(--card);color:var(--ink);box-shadow:0 30px 80px -20px rgba(0,0,0,.45)}
.ve-dialog::backdrop{background:rgba(14,20,17,.45)}
.ve-dialog-progress{width:min(520px,calc(100vw - 24px))}
.ve-dialog-clip{width:min(900px,calc(100vw - 24px))}
.ve-dialog-in{display:grid;gap:16px;padding:calc(var(--card-pad-top) + 18px) calc(var(--card-pad-x) + 18px) calc(var(--card-pad-top) + 14px)}
.ve-dialog h2{margin:0;font-size:28px;font-weight:700;letter-spacing:-.015em;line-height:1.2;color:var(--ink)}
.ve-dialog-clip h2{font-size:24px}
.ve-dialog p{margin:0}
.ve-dialog>.ve-dialog-in>.ve-quiet,.ve-dialog [data-r=progress]>.ve-quiet:first-of-type{font-size:15.5px;color:var(--ink-2)}
.ve-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ve-x{display:grid;place-items:center;flex:none;width:44px;height:44px;margin:-8px -10px 0 0;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer}
.ve-x:hover{background:var(--card-2)}
.ve-x svg{width:22px;height:22px}
.ve-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:10px 12px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--ve-line)}
.ve-dialog-foot p{display:flex;align-items:center;gap:8px;font-size:14px}
.ve-dialog-foot .solid,.ve-dialog-foot .ghost{min-height:48px;padding:0 24px;border-radius:var(--ve-r);font-size:15.5px}
.ve-dialog-foot .ghost{border:1px solid var(--ve-ctl);background:var(--card);color:var(--ink)}
.ve-dialog [data-r=progress]{display:grid;gap:10px}
.ve-dialog-progress .ve-phases{padding-left:28px;box-sizing:border-box}
.ve-dialog-status{padding-left:74px;font-size:13.5px!important;font-variant-numeric:tabular-nums}
.ve-dialog-note{display:flex;align-items:flex-start;gap:8px;margin-top:6px!important;padding:12px 14px;border-radius:10px;background:var(--card-2);font-size:13px!important;line-height:1.5}
.ve-dialog-note svg{margin-top:2px}
.ve-dialog-progress .ve-dialog-foot{justify-content:center;border-top:0;padding-top:4px}
.ve-dialog-progress .ve-dialog-foot>span:empty{display:none}
.ve-vo-top{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:center}
.ve-vo-top.is-solo{grid-template-columns:minmax(0,1fr)}
.ve-vo-thumb{margin:0;aspect-ratio:1;overflow:hidden;border-radius:12px;background:var(--card-2)}
.ve-vo-thumb img{width:100%;height:100%;object-fit:cover}
.ve-vo-top>.ve-box{border-color:var(--ve-line);align-self:stretch}
.ve-vo-top .ve-vo-lines{max-height:min(240px,34dvh);overflow:auto;margin:6px 0 4px;padding:0}
.ve-vo-top .ve-vo-lines p{font-size:15.5px}
.ve-vo-thumb{align-self:start}
.ve-tabs2{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;overflow:hidden;border:1px solid var(--ve-line);border-radius:12px}
.ve-tabs2 button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:10px;border:0;border-bottom:3px solid transparent;border-radius:8px 8px 4px 4px;background:none;font:inherit;font-size:16px;font-weight:500;color:var(--ink-2);cursor:pointer}
.ve-tabs2 button:hover{color:var(--ink)}
.ve-tabs2 svg{width:20px;height:20px}
.ve-tabs2 button[aria-selected=true]{border-bottom-color:var(--sig);background:var(--ve-mint);color:var(--sig);font-weight:600}
.ve-vo-pane{display:grid;justify-items:center;gap:14px;padding:32px 18px;border-radius:14px;background:var(--card-2);text-align:center}
.ve-vo-pane p{font-size:16px}
.ve-vo-pane audio{width:100%}
.ve-vo-pane .solid{min-height:54px;padding:0 30px;font-size:17px;border-radius:var(--ve-r)}
.ve-vo-pane .solid svg{width:20px;height:20px}
.ve-vo-mic{display:grid;place-items:center;width:76px;height:76px;border:0;border-radius:50%;background:var(--ve-mint);color:var(--sig)}
.ve-vo-mic svg{width:32px;height:32px}
.ve-vo-mic.is-live{animation:ve-live 1.4s ease-in-out infinite}
@keyframes ve-live{50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--sig) 20%,transparent)}}
.ve-drop{display:grid;justify-items:center;gap:6px;width:100%;box-sizing:border-box;padding:24px 16px;border:1.5px dashed var(--ve-ctl);border-radius:12px;background:var(--card)}
.ve-drop svg{width:24px;height:24px;color:var(--ink-2)}
.ve-clip-grid{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:18px;align-items:start}
.ve-clip-media{position:sticky;top:0;aspect-ratio:9/16;overflow:hidden;border-radius:14px;background:var(--card-2);box-shadow:0 0 0 14px var(--card-2)}
.ve-clip-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;border-radius:inherit}
.ve-clip-media .ve-shot-blank{align-content:center;gap:8px;padding:16px;text-align:center}
.ve-clip-media .ve-shot-blank p{font-size:12.5px;color:var(--ink-3)}
.ve-clip-grid{padding-left:14px}
.ve-clip-info{display:grid;gap:14px;min-width:0}
.ve-clip-info>.ve-box{border-color:var(--ve-line);box-shadow:var(--ve-shadow);padding:18px 20px}
.ve-clip-info>.ve-box h3{font-size:19px}
/* clip options: the part to use is a filmstrip under two handles (a range input each), the camera ending a 2-column choice */
.ve-trim{position:relative;height:68px;margin-top:12px}
.ve-trim-strip{position:absolute;inset:0;overflow:hidden;border-radius:8px;background:var(--card-2)}
.ve-trim-strip img{display:block;width:100%;height:100%;object-fit:cover}
.ve-trim::before,.ve-trim::after{content:"";position:absolute;top:0;bottom:0;z-index:1;background:color-mix(in srgb,var(--card) 62%,transparent);pointer-events:none}
.ve-trim::before{left:0;width:var(--a);border-radius:8px 0 0 8px}
.ve-trim::after{left:calc(var(--a) + var(--w));right:0;border-radius:0 8px 8px 0}
.ve-trim-sel{position:absolute;top:-3px;bottom:-3px;left:var(--a);width:var(--w);z-index:1;box-sizing:border-box;border:3px solid var(--sig);border-radius:9px;pointer-events:none}
.ve-trim-range{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}
.ve-trim-range:focus-visible{outline:none}
.ve-trim-range::-webkit-slider-runnable-track{height:68px;background:transparent}
.ve-trim-range::-moz-range-track{height:68px;background:transparent}
.ve-trim-range::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:16px;height:68px;border:2px solid var(--card);border-radius:6px;background:var(--sig);cursor:ew-resize}
.ve-trim-range::-moz-range-thumb{pointer-events:auto;width:16px;height:68px;box-sizing:border-box;border:2px solid var(--card);border-radius:6px;background:var(--sig);cursor:ew-resize}
.ve-trim-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px color-mix(in srgb,var(--sig) 45%,transparent)}
.ve-trim-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px color-mix(in srgb,var(--sig) 45%,transparent)}
.ve-trim-scale{display:grid;grid-template-columns:auto 1fr 1fr auto;gap:8px;margin:10px 0 0!important;font-size:13px!important;color:var(--ink-3)!important;font-variant-numeric:tabular-nums}
.ve-trim-scale span:nth-child(2){text-align:right;color:var(--ink);font-weight:600}
.ve-trim-scale span:nth-child(3){color:var(--ink);font-weight:600}
.ve-trim-using{display:flex;justify-content:center;margin:10px 0!important}
.ve-trim-using .ve-pill{min-width:150px;justify-content:center;border-radius:8px;box-shadow:none;font-size:15px}
.ve-optional-word{font-size:inherit;font-weight:400;color:var(--ink-3)}
.ve-endings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.ve-endings button{display:flex;align-items:center;gap:14px;min-width:0;min-height:60px;padding:10px 16px;border:1px solid var(--ve-ctl);border-radius:var(--ve-r);background:var(--card);font:inherit;font-size:15px;color:var(--ink);text-align:left;cursor:pointer}
.ve-endings button svg{width:24px;height:24px;flex:none}
.ve-endings button:hover{border-color:var(--ve-ctl-hi)}
.ve-endings button[aria-checked=true]{border-color:var(--sig);background:var(--ve-mint);box-shadow:inset 0 0 0 1px var(--sig);color:var(--sig);font-weight:600}
.ve-endings button:focus-visible{outline:2px solid var(--sig);outline-offset:2px}
.ve-icon-line[hidden]{display:none}
.ve-clip-info .ve-icon-line{align-items:flex-start;font-size:13.5px}
.ve-clip-info .ve-icon-line svg{margin-top:2px}
/* a room clip's own voice, and how long its shot plays */

@media (max-width:860px){
  .ve .tour-library-row{grid-template-columns:minmax(0,1fr) auto!important}
  .ve .tour-library-row>span:nth-child(2),.ve .tour-library-row>span:last-child .chip{display:none}
  .ve-lib-filter{flex:1 1 100%}
  .ve-row-text .ve-row-state{display:block;white-space:normal}
  .ve .head .tools{justify-content:flex-start}
  .ve-setup-grid,.ve-check{grid-template-columns:minmax(0,1fr)}
  .ve-stage{position:static;padding:14px}
  .ve-stage>.ve-phone{max-width:300px}
  .ve-shot-vo{grid-template-areas:"n title" "body body"}
  .ve-shot-n{width:46px;height:46px;font-size:18px}
  .ve-shot-media{width:100%;max-width:220px}
  .ve-shot-body{padding-top:0}
  .ve-gate{padding:10px 12px}
  .ve-gate-text{flex:1 1 100%}
  .ve-gate .solid{flex:1 1 auto;min-width:0}
  .ve-clip-grid{grid-template-columns:minmax(0,1fr);padding-left:0}
  .ve-clip-media{position:relative;width:100%;max-width:220px;justify-self:center;box-shadow:none}
  .ve-vo-top{grid-template-columns:110px minmax(0,1fr);gap:12px}
}
@media (max-width:860px){
  .ve-details-grid,.ve-face-card,.ve-face.has-panel,.ve-montage{grid-template-columns:minmax(0,1fr)}
  .ve-details-notes{border-left:0;border-top:1px solid var(--ve-line)}
  .ve-room{grid-template-columns:72px minmax(0,1fr);padding:12px 16px}
  .ve-room-thumb{width:72px;height:52px}
  .ve-room-actions{grid-column:1 / -1;justify-content:flex-start}
}
@media (max-width:640px){
  .ve-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .ve-tabs button{padding:0 12px;gap:6px;font-size:14.5px;flex:none}
  .ve-tabs button+button::before{display:none}
  .ve-details-foot .ve-gate-text{order:-1;flex:1 1 100%;text-align:left}
  .ve-details-foot .solid{flex:1 1 auto;min-width:0}
  .ve>.ve-steps-sticky{position:relative;top:auto}
  .ve .ve-steps{padding:6px 12px 6px 6px}
  .ve-steps-home{flex:1 1 100%;gap:10px}
  .ve-steps-thumb{width:56px;height:40px}
  .ve-steps-tools{flex:1 1 100%;justify-content:flex-start;margin-left:0}
  .ve-section{scroll-margin-top:12px}
  .ve-card.ve-overview h3{font-size:24px}
}
@media (max-width:520px){
  .ve-card>h3,.ve-card-head h3{font-size:20px}
  .ve-gate.ve-setup-foot{position:static}
  .ve-dialog-in{padding:calc(var(--card-pad-top) + 4px) calc(var(--card-pad-x) + 2px)}
  .ve-dialog h2{font-size:22px}
  .ve-dialog-status{padding-left:0}
  .ve-dialog-progress .ve-phases{padding-left:0}
  .ve-look-row{grid-template-columns:20px minmax(0,1fr) auto;gap:10px;padding:4px 6px 4px 12px}
  .ve-endings{grid-template-columns:minmax(0,1fr)}
  .ve-dialog-clip .ve-dialog-foot .ve-note-actions{flex:1 1 100%;justify-content:flex-end}
  .ve-vo-top{grid-template-columns:minmax(0,1fr)}
  .ve-vo-thumb{max-width:160px}
}
@media (prefers-reduced-motion:reduce){.ve *{animation:none!important;transition:none!important}
  .ve .ve-phone>video{animation:pm-fade .2s linear both!important}
  .ve-phases .step.ve-now .dot::before{border-style:dashed;border-color:var(--sig)}}

/* link styled as a ghost button, icon aligned with its label */
.ve-maker-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.ve-maker-link svg{width:14px;height:14px}


/* the embedded video maker fills the view; its own page carries the UI. Its frame takes the same card as Reels. */
.vm-head{padding-bottom:10px}
.vm-shell{border-radius:var(--ve-r-card);border:1px solid var(--ve-line);box-shadow:var(--ve-shadow);overflow:hidden;background:var(--card)}
.vm-frame{display:block;width:100%;height:calc(100vh - 150px);min-height:480px;border:0}

/* The redesigned listing video page lays itself out: in the zone its frame fills the area beside the sidebar and under
   the zone header, one scroll inside it, nothing fixed-width. The old page keeps the rules above until the flip. */
.ve.vm-fill{display:flex;flex-direction:column;min-height:420px}
#view:has(> .ve.vm-fill){padding-bottom:16px!important}
.ve.vm-fill .vm-head{flex:none;padding-bottom:0}   /* the card starts where Reels' does (owner, 16 Oct 2026) */
.ve .vm-add[hidden]{display:none}
/* owner ruling, 16 Oct 2026: on the New video start screen the page's frame is New deck's page: no card around the iframe */
.ve.vm-start .vm-new{display:none}
.ve.vm-fill.vm-start .vm-shell{background:none;border-color:transparent;box-shadow:none;overflow:visible}
.ve.vm-fill .vm-shell{flex:1;min-height:0;display:flex}
.ve.vm-fill .vm-frame{flex:1;width:100%;height:auto;min-height:0}
#view .ve.vm-fill .vm-frame{min-height:0}

/* "Ruling 17 corrected" (owner ruling, 12 Oct 2026): the tap-fix rows beside the preview. Plain words, each a tap; a
   fixed word keeps a quiet underline so she can find it again; the word being fixed is a box in place. */
.ve-said-slot:empty{display:none}
.rp-said-rows{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.rp-said-rows li{font-size:17px;line-height:1.55;color:var(--ink);padding:8px 0;border-top:1px solid var(--ve-line)}
.rp-said-rows li:first-child{border-top:0;padding-top:0}
.rp-word{display:inline;padding:1px 2px;margin:0 -2px;border:0;border-radius:5px;background:none;font:inherit;color:inherit;cursor:pointer}
.rp-word:hover,.rp-word:focus-visible{background:color-mix(in srgb,var(--sig) 14%,transparent);outline:none}
.rp-word.is-fixed{text-decoration:underline;text-decoration-color:var(--sig);text-decoration-thickness:2px;text-underline-offset:4px}
.rp-word.is-gone{color:var(--ink-3)}
.rp-word-edit{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;vertical-align:middle;margin:2px 0}
.rp-word-input{width:auto;min-width:7ch;max-width:16ch;font:inherit;padding:4px 8px}
.rp-said-next{margin:12px 0 0}
/* A draft's quiet Remove beside its row (the workflow walk, 13 Oct 2026). */
.ve-row-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.ve-row-remove{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:var(--ink-3)}
.ve-row-remove .ve-link{font-size:13px}
.ve-row-x{color:var(--ink-3)}
.ve-details.is-facts-only .ve-details-grid{grid-template-columns:minmax(0,1fr)}
/* "Reels lab, ruling 80" item 1 (owner ruling, 13 Oct 2026, comp 11): a new home's details and its additional information
   are two cards side by side, one height (ruling 72 item 3), Back and Next under them. */
.ve-details.is-facts-only{border:0;background:transparent;box-shadow:none;overflow:visible}
.ve-details.is-facts-only .ve-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.ve-details.is-facts-only .ve-details-grid>.ve-fields{border:1px solid var(--card-edge,var(--ve-line));border-radius:14px;background:var(--card,#fff)}
.ve-details.is-facts-only .ve-details-foot{margin-top:16px;border:0;background:transparent;padding-left:0;padding-right:0}
.ve-card-h{margin:0 0 4px;font-size:20px;font-weight:650;color:var(--ink)}
.ve-details-extra .ve-card-h .ve-optional-word{margin-left:6px;font-size:13px;font-weight:400;color:var(--ink-3)}
.ve-details-extra textarea.ve-feature{min-height:190px}
@media (max-width:760px){.ve-details.is-facts-only .ve-details-grid{grid-template-columns:minmax(0,1fr)}}

/* "Ruling 103" (owner ruling, 14 Oct 2026): the reels list on a phone, one column of cards, each the reel's cover, its
   title over two lines and where it stands; a draft's Remove inside its card. The rest of the reel flow's phone layout is
   reel-mobile.css, loaded with the flow's own styles; the list is drawn before those load, so its rules live here. */
@media (max-width:767px),(pointer:coarse) and (max-height:500px){
  .ve .ve-library{padding:12px}
  .ve .tour-table{display:grid;gap:10px}
  .ve .ve-row-wrap{position:relative;display:block}
  .ve .tour-library-row.ve-row{display:grid;grid-template-columns:minmax(0,1fr)!important;width:100%;min-height:96px;padding:12px 14px;box-sizing:border-box}
  .ve .tour-library-row.ve-row>span:first-child{display:flex;align-items:flex-start;gap:14px}
  .ve .tour-library-row.ve-row>span:nth-child(2),.ve .tour-library-row.ve-row>span:last-child{display:none}
  /* A reel whose listing changed keeps its Listing updated chip, a tap-tip that says what changed (ruling 103's review). */
  .ve .tour-library-row.ve-row>span:last-child:has(.ve-chip-stale){display:flex;justify-content:flex-start}
  .ve .tour-library-row.ve-row .ve-row-chips>:not(.ve-chip-stale){display:none}
  .ve .tour-library-row.ve-row .ve-row-chips>.ve-chip-stale{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
  .ve .ve-row .ve-cover{width:48px;border-radius:8px}
  .ve .ve-row .ve-cover svg{width:16px;height:16px}
  .ve .ve-row-text{gap:5px;padding-top:2px}
  .ve .ve-row-text b{display:-webkit-box;font-size:15.5px;line-height:1.3;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ve .ve-row-text small{font-size:13.5px;line-height:1.4}
  .ve .ve-row-text .ve-row-draft{color:var(--ink-2)}
  /* A draft's Remove sits inside its card, at its foot on the right, the card's own quiet way out. */
  .ve .ve-row-wrap>.tour-library-row.ve-row{padding-bottom:40px!important}
  .ve .ve-row-remove{position:absolute;right:14px;bottom:2px;left:auto;flex-wrap:wrap;justify-content:flex-end}
  .ve .ve-row-remove .ve-link{display:inline-flex;align-items:center;min-height:36px;font-size:14px}
  .ve .tour-pagination{flex-wrap:wrap;gap:8px;font-size:13px}
  .ve .tour-pagination button{min-height:44px;font-size:13px}
}
