/* ============================================================
   Verse Studio › Edit (studio-edit.js) and the makers' shared chrome
   Tokens come from studio.css :root; nothing new. Same rules as plan 1B plus the design plan's "Editors and makers":
   purple only for focus rings, the one primary button, the playhead and the recording dot (the active tool and the
   selected row are a --gray-light fill with white text, like a selected chip); selection on the stage is white with a
   black halo; radii 10 (panels, sheets) / 6 (rows, clips, controls) / 999 (pills); flat fills, no shadows, no gradients;
   no hover transitions beyond colour; no entrance animations. The stage never scrolls the page.
   ============================================================ */

/* ---------- frame: toolbar over [tools | stage | panel], optional bottom (timeline), status line ---------- */
/* Below 1024 px the panel stacks under the stage as a bottom sheet (a timeline, when there is one, sits between them). */
.ed-frame { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "toolbar" "tools" "stage" "panel" "status"; gap: 10px; min-width: 0; }
.ed-frame.has-bottom { grid-template-areas: "toolbar" "tools" "stage" "bottom" "panel" "status"; }
@media (min-width: 1024px) {
  .ed-frame { grid-template-columns: 48px minmax(0, 1fr) 280px; grid-template-areas: "toolbar toolbar toolbar" "tools stage panel" "status status status"; }
  .ed-frame.has-bottom { grid-template-areas: "toolbar toolbar toolbar" "tools stage panel" "bottom bottom bottom" "status status status"; }
}
/* 44 px: 32 px controls plus 6 px above and below; it wraps on narrow screens rather than scrolling */
.ed-toolbar { grid-area: toolbar; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--gray-mid); border-radius: 10px; background: var(--gray-dark); }
.ed-toolbar-group { display: inline-flex; align-items: center; gap: 4px; }
.ed-toolbar-group + .ed-toolbar-group { padding-left: 10px; border-left: 1px solid var(--gray-mid); }
.ed-toolbar .ed-title { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--text); margin-right: auto; }
.ed-toolbar .input, .ed-toolbar .select { height: 32px; padding: 4px 10px; font-size: 13.5px; }
.ed-tools { grid-area: tools; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 1px solid var(--gray-mid); border-radius: 10px; background: var(--gray-dark); align-content: start; }
@media (min-width: 1024px) { .ed-tools { flex-direction: column; flex-wrap: nowrap; } }
.ed-tool { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--text-muted); background: transparent; border: 1px solid transparent; transition: background-color .15s, color .15s; }
.ed-tool:hover { color: var(--text); background: var(--gray-mid); }
.ed-tool.active { color: var(--white); background: var(--gray-light); }   /* the selected-chip treatment; purple is reserved */
.ed-tool:focus-visible, .ed-toolbar .btn:focus-visible, .ed-panel .btn:focus-visible, .ed-row:focus-visible, .ed-bin-item:focus-visible, .ed-sheet .btn:focus-visible, .ed-bottom .btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.ed-stage { grid-area: stage; position: relative; min-height: 360px; border: 1px solid var(--gray-mid); border-radius: 10px; background: var(--black); overflow: hidden; }
@media (min-width: 1024px) { .ed-stage { min-height: 520px; } }
/* flex-start + auto margins: the wrap is centred while it fits and starts at the top-left once it overflows, so a zoomed-in document scrolls fully (centred overflow is unreachable) */
.ed-stage-inner { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; overflow: auto; }
.ed-canvas-wrap { position: relative; margin: auto; flex: none; }
.ed-checker { background-color: #2a2a2a; background-image: linear-gradient(45deg, #1f1f1f 25%, transparent 25%), linear-gradient(-45deg, #1f1f1f 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #1f1f1f 75%), linear-gradient(-45deg, transparent 75%, #1f1f1f 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.ed-stage canvas { display: block; }
.ed-loading, .ed-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; font-size: 13.5px; line-height: 1.5; }
.ed-failed p { max-width: 62ch; color: var(--text-soft); }   /* the plain message, a Retry button and nothing else */
/* the filled range track and its focus ring, for pages that use the frame without cr-page (the makers) */
.ed-page input[type="range"].range { background: linear-gradient(to right, var(--text) 0%, var(--text) calc(var(--p, 50) * 1%), var(--gray-light) calc(var(--p, 50) * 1%), var(--gray-light) 100%); }
.ed-page input[type="range"].range::-webkit-slider-thumb { border-color: var(--text); }
.ed-page input[type="range"].range::-moz-range-thumb { border-color: var(--text); }
.ed-page input[type="range"].range:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.ed-empty h3 { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--text); }
.ed-empty p { max-width: 62ch; }
.ed-stage .ed-loading, .ed-stage .ed-empty { position: absolute; inset: 0; justify-content: center; }
.ed-panel { grid-area: panel; min-width: 0; border: 1px solid var(--gray-mid); border-radius: 10px; background: var(--gray-dark); display: flex; flex-direction: column; max-height: 70vh; }
@media (min-width: 1024px) { .ed-panel { max-height: none; } }
.ed-panel-tabs { display: flex; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid var(--gray-mid); }
.ed-panel-tab { padding: 8px 10px; border-radius: 6px 6px 0 0; font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--text-muted); background: transparent; }
.ed-panel-tab.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.ed-panel-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.ed-panel-body { padding: 10px; overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; gap: 12px; }

/* lists: layers, clips, tracks, media bin rows */
.ed-list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
/* a row is a list item: the select button (thumb + name) fills the left, the icon buttons sit on the right */
.ed-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 6px; border: 1px solid var(--gray-mid); background: var(--black); color: var(--text-soft); font-size: 13.5px; line-height: 1.5; text-align: left; transition: border-color .15s; }
.ed-row:hover { border-color: var(--border-soft); }
.ed-row.selected { background: var(--gray-light); border-color: var(--gray-light); color: var(--white); }   /* the selected-chip treatment; purple is reserved */
.ed-row-main { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; padding: 2px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ed-row-main:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.ed-row.is-hidden .ed-row-name { color: var(--text-muted); text-decoration: line-through; }
.ed-row-thumb { width: 32px; height: 32px; border-radius: 6px; background: var(--gray-mid); display: flex; align-items: center; justify-content: center; color: var(--text-muted); overflow: hidden; }
.ed-row-thumb img, .ed-row-thumb canvas { width: 100%; height: 100%; object-fit: cover; }
.ed-row-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-row-btns { display: inline-flex; gap: 2px; }
.ed-row-btns .btn-icon { width: 26px; height: 26px; }

/* properties */
.ed-props { display: flex; flex-direction: column; gap: 10px; }
.ed-prop { display: flex; flex-direction: column; gap: 6px; }
.ed-prop-label { font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--text-muted); }
.ed-prop-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ed-prop-row .input, .ed-prop-row .select { flex: 1 1 80px; min-width: 0; height: 32px; padding: 4px 8px; font-size: 13.5px; }
.ed-prop .range { width: 100%; }
.ed-prop-val { min-width: 44px; text-align: right; font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ed-swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--gray-light); padding: 0; background: transparent; overflow: hidden; }
.ed-swatch input[type="color"] { width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }

/* bottom (timeline) and status */
.ed-bottom { grid-area: bottom; min-width: 0; border: 1px solid var(--gray-mid); border-radius: 10px; background: var(--gray-dark); overflow: hidden; }
.ed-status { grid-area: status; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; line-height: 1.45; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.ed-status-item { white-space: nowrap; }   /* a label and its value wrap as one */
.ed-kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--gray-light); border-radius: 6px; font-size: 12px; color: var(--text-muted); font-family: inherit; }

/* drop zones and media bin */
.ed-drop { position: relative; border: 1px dashed var(--gray-light); border-radius: 6px; padding: 14px; text-align: left; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; transition: border-color .15s, color .15s; }
.ed-drop.is-over { border-color: var(--text); color: var(--text); }
.ed-drop input[type="file"] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ed-drop:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
/* The picker's scope switch: This project | Whole library, above the bin (spec 2 §6). */
.ed-scope { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ed-scope .btn[aria-pressed="true"] { background: var(--gray-light); color: var(--white); }
.ed-bin { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.ed-bin-item { display: flex; flex-direction: column; gap: 4px; padding: 0; text-align: left; color: var(--text-soft); font-size: 12.5px; line-height: 1.45; border-radius: 6px; }
.ed-bin-item img, .ed-bin-item video, .ed-bin-audio { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--gray-mid); background: var(--gray-dark); color: var(--text-muted); }
.ed-bin-title { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* sheets, progress, price */
.ed-sheet { max-width: 560px; border-radius: 10px; }
.ed-sheet-wide { max-width: 860px; }
.ed-sheet .modal-body { gap: 14px; }
.ed-sheet-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ed-sheet-row .btn-primary { margin-left: auto; }
/* sheets sit in #modal-root, outside .cr-page: the same black-on-purple primary as plan 1B (white on --purple is 2.9:1) */
.ed-sheet .btn-primary { color: var(--black); }
.ed-sheet .btn-primary:hover, .ed-sheet .btn-primary:focus-visible { background: var(--purple-light); }
.ed-progress { height: 6px; border-radius: 999px; background: var(--gray-light); overflow: hidden; }
.ed-progress-bar { height: 100%; width: 0; background: var(--text); transition: width .2s linear; }
.ed-progress-label { font-size: 12.5px; line-height: 1.45; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ed-price { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.ed-price strong { color: var(--text); font-weight: 600; }
.ed-gate { align-items: flex-start; }

/* ---------- image editor (Task 3): sectioned panel, layer rows, toolbar end group, the upload button, radios ---------- */
.ed-section { display: flex; flex-direction: column; gap: 8px; }
.ed-section + .ed-section { padding-top: 12px; border-top: 1px solid var(--gray-mid); }
.ed-panel-label { margin: 0; font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--text-muted); }
.ed-panel-body { flex: 1 1 auto; min-height: 0; }
@media (min-width: 1024px) { .ed-panel { position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); } }   /* the stage stays the master; a long panel scrolls inside */
.ed-toolbar-end { margin-left: auto; }
.ed-doc-title { width: 200px; max-width: 40vw; }
.ed-drop-btn { position: relative; cursor: pointer; }
.ed-drop-btn:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.ed-tool:disabled { opacity: .5; cursor: not-allowed; }
.ed-row .btn-icon[aria-pressed="true"] { color: var(--text); }   /* a locked layer shows its lock lit (structure encodes state) */
.ed-row.is-locked .ed-row-name { color: var(--text-muted); }
.ed-rot90 { transform: rotate(90deg); }
.ed-prop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ed-prop-grid .input { width: 100%; height: 32px; padding: 4px 8px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ed-radio { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }
.ed-radio input { accent-color: var(--text); }
.ed-stage.is-over { border-color: var(--text); }

/* ---------- video editor (Task 5): the preview on the stage, the transport, the timeline container ---------- */
/* The preview fills the stage and letterboxes on --black (object-fit keeps the project's aspect at any stage size). */
.ev-preview { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; }
.ev-preview canvas { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ev-stage-empty { pointer-events: none; }   /* the invitation sits over the preview; drops reach the stage */
.ev-stage-empty[hidden] { display: none; }
.ev-media-main { cursor: default; }
.ev-transport { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--gray-mid); }
.ev-time { font-size: 12.5px; line-height: 1.45; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }   /* mm:ss.f in tabular Inter, never monospace */
.ev-scrub { flex: 1 1 120px; min-width: 80px; }
/* The timeline strip scrolls inside its own container; the page never scrolls sideways. */
.vt-timeline { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 96px; overflow: hidden; }
.vt-scroll { position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
.vt-empty { margin: 0; padding: 12px; font-size: 13.5px; line-height: 1.5; }

/* ---------- timeline (Task 6): head with zoom, ruler, track heads sticky on the left, flat clips by track kind, the playhead as the accent ---------- */
.vt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 10px; border-bottom: 1px solid var(--gray-mid); font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.vt-head-title { font-weight: 600; }
.vt-hint { white-space: nowrap; }
.vt-zoom { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.vt-zoom .range { width: 110px; }
.vt-ruler { position: relative; height: 22px; margin-left: 140px; border-bottom: 1px solid var(--gray-mid); cursor: pointer; user-select: none; touch-action: none; }   /* a touch scrub seeks; the track bodies stay pannable */
.vt-tick { position: absolute; top: 14px; width: 1px; height: 8px; background: var(--gray-light); }
.vt-tick.has-label { top: 10px; height: 12px; background: var(--border-soft); }
.vt-tick span { position: absolute; left: 4px; top: -10px; font-size: 12.5px; line-height: 1; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* a row spans its head plus its body (max-content), never just the scroller: the sticky head then stays in view however far the strip scrolls */
.vt-track { display: flex; width: max-content; min-width: 100%; min-height: 44px; border-bottom: 1px solid var(--gray-mid); }
.vt-track[data-kind="video"], .vt-track[data-kind="overlay"] { min-height: 52px; }
.vt-track-head { position: sticky; left: 0; z-index: 4; flex: 0 0 140px; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 6px 0 10px; background: var(--gray-dark); border-right: 1px solid var(--gray-mid); font-size: 12.5px; font-weight: 600; color: var(--text-soft); }   /* above the playhead, so the line never crosses the names */
.vt-track.is-drop .vt-track-body { box-shadow: inset 0 0 0 1px var(--text); }   /* the row a dragged clip can land on: a white inner edge, no accent */
.vt-track-name { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-track.is-muted .vt-track-name { color: var(--text-muted); }
.vt-track.is-muted .vt-track-body, .vt-track.is-dim .vt-track-body { opacity: .5; }   /* a muted track (or one silenced by a solo elsewhere) is dimmed; its speaker icon is struck */
.vt-track-head .btn-icon[aria-pressed="true"] { color: var(--text); }
.vt-track-body { position: relative; flex: 0 0 auto; min-height: inherit; }
/* clips: flat fills by track kind (the one desaturated green is audio), 6 px radius, a 1 px --gray-light edge; no gradient, no shadow */
.vt-clip { position: absolute; top: 6px; bottom: 6px; display: flex; align-items: center; margin: 0; padding: 0; border-radius: 6px; border: 1px solid var(--gray-light); background: #2A2A2A; color: var(--text); font: inherit; font-size: 12.5px; line-height: 1.45; text-align: left; overflow: hidden; cursor: grab; user-select: none; touch-action: none; }
.vt-track[data-kind="overlay"] .vt-clip { background: #333333; }
.vt-track[data-kind="text"] .vt-clip { background: #3D3D3D; }
.vt-track[data-kind="audio"] .vt-clip { background: #1F2A24; }
.vt-clip.selected { border-color: var(--white); box-shadow: 0 0 0 1px var(--black); }   /* white 1 px with a 1 px black halo, never purple */
.vt-clip.is-muted { opacity: .5; }
.vt-clip:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.vt-clip-label { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.vt-clip-handle { position: absolute; top: 0; bottom: 0; width: 8px; cursor: ew-resize; }
.vt-clip-handle.l { left: 0; border-left: 3px solid var(--border-soft); } .vt-clip-handle.r { right: 0; border-right: 3px solid var(--border-soft); }
.vt-clip:hover .vt-clip-handle, .vt-clip.selected .vt-clip-handle { border-color: var(--text); }
.vt-clip-trans { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, .14); border-right: 1px dashed var(--gray-light); pointer-events: none; }   /* the overlap with the previous clip */
.vt-playhead { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: 140px; background: var(--purple); pointer-events: none; z-index: 3; }
.vt-playhead::before { content: ""; position: absolute; top: 0; left: -5px; border: 6px solid transparent; border-top: 8px solid var(--purple); }
.vt-color-label { min-width: 74px; }
@media (max-width: 479px) { .vt-track-head { flex-basis: 96px; padding-left: 6px; } .vt-ruler, .vt-playhead { margin-left: 96px; } .vt-hint { display: none; } }

/* ---------- video export (Task 7): the one progress bar under the toolbar while the sheet is closed, the result sheet ---------- */
.ev-export-bar { flex: 1 1 100%; min-width: 0; padding-top: 2px; }
.ev-export-bar[hidden] { display: none; }
.ev-export-bar .ed-progress-label { margin-top: 4px; }
.ev-result video { display: block; width: 100%; max-height: 50vh; border-radius: 6px; border: 1px solid var(--gray-mid); background: #000; }
.ev-export-warn { display: flex; flex-direction: column; gap: 4px; }
.ev-export-warn p { margin: 0; max-width: 62ch; }
/* FCP parity (2026-09-26): the video editor's inspector holds up to nine tabs once the pro modules add Index, Library, Effects, Color,
   Audio and Captions, so its strip wraps into rows instead of running out of the panel, and the panel widens where the screen has room. */
.ed-page[data-editor="edit-video"] .ed-panel-tabs { flex-wrap: wrap; row-gap: 2px; }
.ed-page[data-editor="edit-video"] .ed-panel-tab { padding: 6px 8px; }
/* Its tools rail carries about sixteen tools with the modules, so on desktop it is two tools wide rather than taller than the viewer.
   The viewer row has its own height, so a long inspector scrolls inside it instead of stretching the viewer and pushing the timeline
   below the fold: viewer and timeline stay on screen together, as in Final Cut Pro. */
@media (min-width: 1024px) {
  .ed-page[data-editor="edit-video"] .ed-frame { grid-template-columns: 88px minmax(0, 1fr) 280px; }
  .ed-page[data-editor="edit-video"] .ed-frame.has-bottom { grid-template-rows: auto clamp(380px, 52vh, 720px) auto auto; }
  .ed-page[data-editor="edit-video"] .ed-frame.has-bottom .ed-stage { min-height: 0; }
  .ed-page[data-editor="edit-video"] .ed-frame.has-bottom .ed-panel { position: static; align-self: stretch; max-height: none; min-height: 0; overflow: hidden; }
  .ed-page[data-editor="edit-video"] .ed-frame.has-bottom .ed-panel-body { flex: 1 1 auto; min-height: 0; }
  .ed-page[data-editor="edit-video"] .ed-tools { flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-start; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
}
@media (min-width: 1280px) { .ed-page[data-editor="edit-video"] .ed-frame { grid-template-columns: 88px minmax(0, 1fr) 320px; } }
/* FCP parity (2026-09-26): the other formats' results (a GIF is an image, the sound-only formats a player) and the metadata disclosure */
.ev-result img { display: block; max-width: 100%; max-height: 50vh; margin: 0 auto; border-radius: 6px; border: 1px solid var(--gray-mid); background: #000; }
.ev-result audio { display: block; width: 100%; }
.ev-export-meta { border-top: 1px solid var(--gray-mid); padding-top: 8px; }
.ev-export-meta > summary { cursor: pointer; color: var(--text-muted); font-size: 13px; padding: 2px 0; }
.ev-export-meta > summary:hover { color: var(--text); }
.ev-export-meta > summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
.ev-export-meta[open] > summary { margin-bottom: 6px; }
.ev-export-hint { font-size: 13px; }

/* phones: tools strip stays one row, stage shorter, sheet edge to edge */
@media (max-width: 479px) { .ed-stage { min-height: 260px; } .ed-toolbar { padding: 6px; } .ed-sheet { max-width: none; } }
/* reduced motion: nothing slides or spins; the progress bar and the tool / row / drop colours snap */
@media (prefers-reduced-motion: reduce) {
  .ed-progress-bar, .ed-tool, .ed-row, .ed-drop { transition: none; }
  .ed-sheet, .ed-sheet-overlay { animation: none; }
  .ed-page .spin, .ed-sheet .spin { animation: none; }
}
/* ---------- audio mixer (Task 8): strips on the stage, the master meter, the transport with the record dot, waveform canvases, the beat grid ---------- */
/* The strips fill the stage and scroll sideways inside it; a strip is a 6 px card on --gray-dark, the selected one carries the selected-row fill. */
.mx-strips { position: absolute; inset: 0; display: flex; align-items: stretch; gap: 8px; padding: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
.mx-strip { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px; border: 1px solid var(--gray-mid); border-radius: 6px; background: var(--gray-dark); }
.mx-strip.selected { background: var(--gray-light); border-color: var(--gray-light); }   /* the selected-chip treatment; purple is reserved */
.mx-strip.selected .mx-strip-name, .mx-strip.selected .mx-val { color: var(--white); }
.mx-strip.is-muted .mx-fader, .mx-strip.is-dim .mx-fader, .mx-strip.is-muted .mx-pan-wrap, .mx-strip.is-dim .mx-pan-wrap { opacity: .5; }   /* a muted track (or one silenced by a solo elsewhere) is dimmed; its speaker icon is struck */
.mx-strip.master { margin-left: auto; background: var(--black); }
.mx-strip-name { max-width: 100%; margin: 0; padding: 2px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; line-height: 1.45; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
button.mx-strip-name:hover { background: var(--gray-mid); }
button.mx-strip-name:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.mx-val { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* a vertical fader: min at the bottom; the filled part of the track rises from the bottom */
.mx-fader { writing-mode: vertical-lr; direction: rtl; width: 20px; height: 160px; margin: 0; appearance: slider-vertical; }
.ed-page input[type="range"].range.mx-fader { background: linear-gradient(to top, var(--text) 0%, var(--text) calc(var(--p, 50) * 1%), var(--gray-light) calc(var(--p, 50) * 1%), var(--gray-light) 100%); }
.mx-pan-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; line-height: 1.45; }
.mx-pan { width: 72px; }
.mx-strip-btns { display: inline-flex; gap: 2px; }
.mx-strip-btns .btn-icon { width: 26px; height: 26px; }
.mx-strip-btns .btn-icon[aria-pressed="true"] { background: var(--gray-light); color: var(--white); }   /* mute, solo and arm show their state as pressed buttons; no red, no accent */
.mx-master-row { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.mx-meter { position: relative; width: 6px; height: 160px; border-radius: 999px; background: var(--gray-light); overflow: hidden; }
#mx-meter-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--text); transition: height .08s linear; }
/* transport: play / stop / record, the metronome and grid toggles, the tempo, the time and the scrub */
.mx-transport { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--gray-mid); }
.mx-transport .btn[aria-pressed="true"] { background: var(--gray-light); color: var(--white); }
.mx-bpm-wrap { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.45; }
.mx-bpm-wrap .input { width: 64px; height: 32px; padding: 4px 8px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
/* the recording dot is one of the accent's two extra uses (design plan), pulsing while a take runs */
.mx-rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--purple); animation: mx-blink 1s steps(2) infinite; }
@keyframes mx-blink { to { opacity: .2; } }
/* timeline: the waveform inside each clip, the beat grid on the ruler, the selected track's head, the Add track row */
.vt-clip canvas.vt-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.vt-clip[data-kind="audio"] .vt-clip-label { position: relative; z-index: 1; }
.vt-beat { position: absolute; top: 18px; width: 1px; height: 4px; background: var(--gray-mid); }
.vt-beat.is-bar { top: 16px; height: 6px; background: var(--gray-light); }
.vt-track-select { display: flex; align-items: center; min-width: 0; max-width: 100%; margin: 0; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.vt-track-select:hover { background: var(--gray-mid); }
.vt-track-select:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.vt-track.is-selected .vt-track-head { background: var(--gray-light); color: var(--white); }
.vt-track.mx-add-row { min-height: 36px; border-bottom: 0; }
.vt-track.mx-add-row .vt-track-head { justify-content: flex-start; }
.mx-result audio { display: block; width: 100%; }
/* on the selected strip the fill is the same --gray-light the pressed buttons and the fader's empty track use, so both need their own
   value there or solo / arm state and the fader's unfilled part vanish on the strip being worked on (R18 I9) */
.mx-strip.selected .mx-strip-btns .btn-icon[aria-pressed="true"] { background: var(--gray-mid); color: var(--white); outline: 1px solid var(--text); outline-offset: -1px; }
.ed-page .mx-strip.selected input[type="range"].range.mx-fader { background: linear-gradient(to top, var(--text) 0%, var(--text) calc(var(--p, 50) * 1%), var(--gray-mid) calc(var(--p, 50) * 1%), var(--gray-mid) 100%); }
/* phones: the stage is tall enough for a whole strip (name, value, fader, pan, buttons), so the mute / solo / arm row is never clipped (R18 I10) */
@media (max-width: 479px) { .mx-strip { flex-basis: 84px; } .mx-fader { height: 120px; } .mx-master-row, .mx-meter { height: 120px; } .ed-page[data-editor="edit-audio"] .ed-stage { min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { .mx-rec-dot { animation: none; } #mx-meter-bar { transition: none; } }
/* ---------- audio mixer, Final Cut Pro / Logic parity (2026-10-05): strip peak meters, master loudness, fades, the volume line, the range, the EQ
   bands and the insert stack's folding rows, the input meters ---------- */
.mx-fader-row { display: flex; align-items: flex-end; gap: 6px; height: 160px; }
/* the shared range primitive (studio.css, input[type="range"].range: appearance none, 100 % × 4 px) outranks .mx-fader, which left the faders as
   4 px horizontal stubs: the vertical size and direction need the same weight (a 6 px track, like the meters, filling from the bottom) */
.ed-page input[type="range"].range.mx-fader { width: 6px; height: 160px; margin: 0 7px; writing-mode: vertical-lr; direction: rtl; }
.mx-zoom-val { white-space: nowrap; }
.mx-tmeter { width: 4px; }
.mx-strip.selected .mx-tmeter { background: var(--gray-mid); }   /* on the selected strip's fill the meter's empty track needs its own value (as the fader's, R18 I9) */
.mx-tmeter-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--text); transition: height .08s linear; }
.mx-loud { display: grid; gap: 1px; width: 100%; font-size: 11.5px; line-height: 1.35; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mx-loud span { display: flex; justify-content: space-between; gap: 4px; }
/* A-4 (A04): 5.1 surround: the layout menu, the six channel meters, a track's surround pan */
.mx-layout { display: grid; gap: 2px; width: 100%; font-size: 12px; }
.mx-layout .select { width: 100%; min-width: 0; }
.mx-meter6 { display: flex; gap: 3px; justify-content: center; width: 100%; }
.mx-m6 { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; color: var(--text-muted); }
.mx-m6 .mx-meter { height: 64px; }
.mx-m6-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--text); transition: height .08s linear; }
.mx-sur { display: grid; gap: 4px; width: 100%; }
.mx-sur-val { font-size: 11px; color: var(--text-muted); text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .mx-m6-bar { transition: none; } }
.mx-loud b { color: var(--text); font-weight: 600; }
.mx-in-meter { position: relative; display: inline-block; width: 64px; height: 6px; border-radius: 999px; background: var(--gray-light); overflow: hidden; vertical-align: middle; }
.mx-check-meter { width: 120px; }
#mx-in-bar, #mx-check-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--text); transition: width .08s linear; }
.ed-page[data-editor="edit-audio"] .vt-track[data-kind="audio"] { min-height: 60px; }
.mx-fade { position: absolute; top: 0; bottom: 0; background: rgba(0, 0, 0, .5); pointer-events: none; }
.mx-fade.in { left: 0; } .mx-fade.out { right: 0; }
.mx-fade-h { position: absolute; top: 0; z-index: 2; width: 10px; height: 10px; background: var(--text); border: 1px solid var(--black); border-radius: 2px; cursor: ew-resize; opacity: 0; }
.vt-clip:hover .mx-fade-h, .vt-clip.selected .mx-fade-h, .vt-clip:focus-visible .mx-fade-h { opacity: 1; }
.mx-env-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mx-env-pt { position: absolute; z-index: 2; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 999px; background: var(--text); border: 1px solid var(--black); cursor: move; }
.mx-env-pt.selected { box-shadow: 0 0 0 2px var(--purple); }
.mx-range { position: absolute; top: 0; bottom: 0; z-index: 2; margin-left: 140px; background: rgba(255, 255, 255, .08); border-left: 1px solid var(--text-soft); border-right: 1px solid var(--text-soft); pointer-events: none; }
.mx-zoom-val { min-width: 11ch; font-variant-numeric: tabular-nums; }
.mx-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.mx-band, .mx-insert { padding: 4px 6px; border: 1px solid var(--gray-mid); border-radius: 6px; }
.mx-band + .mx-band, .mx-insert + .mx-insert { margin-top: 4px; }
.mx-band-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mx-band.is-off .mx-fold, .mx-insert.is-off .mx-fold { color: var(--text-muted); }
.mx-fold { display: inline-flex; flex: 1 1 auto; align-items: center; gap: 4px; min-width: 0; margin: 0; padding: 2px 4px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.mx-fold:hover { background: var(--gray-mid); }
.mx-fold:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
.mx-band-body, .mx-insert-body { margin-top: 4px; }
.mx-insert-btns { display: inline-flex; gap: 2px; margin-left: auto; }
.mx-hint, .mx-note, .mx-gr { margin: 2px 0; font-size: 12.5px; line-height: 1.45; }
.mx-inline { display: inline-flex; align-items: center; gap: 6px; }
.mx-inline .input { width: 88px; }
.mx-env-list .ed-row { flex-wrap: wrap; gap: 6px; }
.mx-shape { max-width: 130px; }
.mx-preset { max-width: 150px; height: 30px; padding: 2px 8px; }
@media (max-width: 479px) { .mx-fader-row { height: 120px; } .ed-page input[type="range"].range.mx-fader { height: 120px; } .mx-range { margin-left: 96px; } }
@media (prefers-reduced-motion: reduce) { .mx-tmeter-bar, #mx-in-bar, #mx-check-bar { transition: none; } }

/* ---------- image editor, Photoshop parity (2026-09-26): the overlay, the grouped tool strip, colours, menus, group rows ---------- */
/* The overlay canvas (marching ants, guides, grid, path handles) sits over Fabric's two canvases and never takes a pointer. */
.ed-canvas-wrap .ed-overlay { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; }
.ed-canvas-wrap.is-tool { touch-action: none; }   /* a module tool owns the pointer: no pan or pinch while it paints */
/* One slot per tool group (Photoshop's order); the small corner button lists the group's other tools. */
.ed-tools-list { display: flex; flex-wrap: wrap; gap: 4px; }
@media (min-width: 1024px) { .ed-tools-list { flex-direction: column; flex-wrap: nowrap; } }
.ed-tool-slot { position: relative; display: inline-flex; }
.ed-tool-more { position: absolute; right: 1px; bottom: 1px; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 0 0 4px 0; background: transparent; cursor: pointer; }
.ed-tool-more::after { content: ''; position: absolute; right: 1px; bottom: 1px; border-style: solid; border-width: 0 0 5px 5px; border-color: transparent transparent var(--text-muted) transparent; }
.ed-tool-more:hover::after, .ed-tool-more[aria-expanded="true"]::after { border-bottom-color: var(--text); }
.ed-tool-more:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
.ed-tool-more:disabled { display: none; }
/* Foreground over background, as two overlapping squares; swap and reset under them. */
.ed-colors { display: grid; grid-template-columns: 22px 12px; grid-template-rows: 22px 12px; gap: 2px; width: 36px; padding: 4px 0 0; margin-top: 4px; border-top: 1px solid var(--gray-mid); }
@media (max-width: 1023px) { .ed-colors { border-top: 0; margin-top: 0; padding: 0 0 0 6px; border-left: 1px solid var(--gray-mid); } }
.ed-color { position: relative; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--gray-light); background: var(--c, #fff); cursor: pointer; overflow: hidden; }
.ed-color input[type="color"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; cursor: pointer; }
.ed-color:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.ed-color-fg { grid-column: 1; grid-row: 1; z-index: 1; }
.ed-color-bg { grid-column: 1 / span 2; grid-row: 1 / span 2; margin: 10px 0 0 12px; }
.ed-colors .ed-color-btn { width: 16px; height: 16px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; color: var(--text-muted); cursor: pointer; }
.ed-colors .ed-color-btn:hover { color: var(--text); }
.ed-colors .ed-color-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 1px; }
.ed-colors .ed-color-btn[data-action="ei-color-swap"] { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; margin-right: -6px; }
.ed-colors .ed-color-btn[data-action="ei-color-reset"] { grid-column: 1; grid-row: 2; margin-top: 2px; }
/* Menus: flat, the chrome's grey, above everything on the page. */
.ed-menubar { gap: 0; flex-wrap: wrap; max-width: 100%; }   /* seven menus wrap on a phone instead of widening the page */
.ed-menu-btn[aria-expanded="true"] { background: var(--gray-light); color: var(--white); }
.ed-menu-host { position: absolute; z-index: 1200; }
.ed-menu { display: flex; flex-direction: column; min-width: 240px; max-width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; padding: 4px; border: 1px solid var(--gray-light); border-radius: 10px; background: var(--gray-dark); scrollbar-width: thin; }
.ed-menu-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; padding: 6px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--text-soft); font: inherit; font-size: 13.5px; line-height: 1.4; text-align: left; cursor: pointer; }
.ed-menu-item:hover, .ed-menu-item:focus-visible { background: var(--gray-mid); color: var(--text); }
.ed-menu-item:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.ed-menu-item:disabled { opacity: .45; cursor: not-allowed; background: transparent; }
.ed-menu-item[aria-checked="true"] { color: var(--white); }
.ed-menu-item > span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ed-menu-check { display: inline-flex; width: 14px; justify-content: center; }
.ed-menu-key { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-menu-sep { height: 1px; margin: 4px 6px; background: var(--gray-mid); }
/* Layer rows: groups indent their children, a clipped layer shows the clip mark, a colour label marks the row's left edge. */
.ed-row { margin-left: calc(var(--depth, 0) * 14px); }
.ed-row.is-group .ed-row-thumb { background: transparent; color: var(--text-soft); }
.ed-row.is-clipped .ed-row-main { grid-template-columns: 12px 32px minmax(0, 1fr); }
.ed-row-clip { display: inline-flex; align-items: center; color: var(--text-muted); }
.ed-row[data-label] { border-left-width: 3px; }
.ed-row[data-label="red"] { border-left-color: #c2413a; }
.ed-row[data-label="orange"] { border-left-color: #c26a2a; }
.ed-row[data-label="yellow"] { border-left-color: #b39a2a; }
.ed-row[data-label="green"] { border-left-color: #4a8a4f; }
.ed-row[data-label="blue"] { border-left-color: #3f6fb0; }
.ed-row[data-label="violet"] { border-left-color: #7a5aa8; }
.ed-row[data-label="gray"] { border-left-color: #6b6b6b; }
.ed-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ed-tool-opts { padding-bottom: 12px; border-bottom: 1px solid var(--gray-mid); }
/* With the modules the image editor has up to ten panel tabs: the row wraps inside the 280 px panel instead of running past it. */
.ed-page[data-editor="edit-image"] .ed-panel-tabs { flex-wrap: wrap; row-gap: 0; }
.ed-page[data-editor="edit-image"] .ed-panel-tab { padding: 6px 8px; }
@media (prefers-reduced-motion: reduce) { .ed-menu-item, .ed-tool-more::after { transition: none; } }
/* A field that sits straight in a labelled property (a column) keeps its own height: .ed-prop-row .input's flex-basis of 80 px would
   otherwise become its height (the X / Y / Angle / Scale boxes and every module's number grids). */
.ed-prop > .input, .ed-prop > .select { flex: 0 0 auto; }
/* An empty list's line reads at the rows' size, not the page's. */
.ed-list > li.text-muted { font-size: 13px; line-height: 1.45; }

/* ============================================================
   Workbench (st-app, 2026-10-04): every editor frame (image, video, audio, the 3D scene) fills the window under the bar the
   way the Beat Maker does. From 1024 px up the page is exactly the viewport less the bar; the frame's areas become flat panes
   split by hairlines (the DAW's material: no radii, no gaps between panes); only the panes scroll — the stage holds the
   document, the panel body and the timeline's tracks scroll inside. The tool's heading stays in the page for screen readers;
   the toolbar already carries the document's name. Every selector starts .st-app.ed-page[...] so it outranks each editor's
   own sizing (studio-scene3d.css, the video editor's workspaces in studio-video-pro.css) whatever order they load in.
   Below 1024 px the frame stacks and the page scrolls, exactly as before.
   ============================================================ */
@media (min-width: 1024px) {
  .st-app.ed-page[data-editor] { height: calc(100vh - var(--st-bar-h)); height: calc(100dvh - var(--st-bar-h)); min-height: 560px;
    display: flex; flex-direction: column; gap: 0; overflow: hidden; background: var(--black); }
  .st-app.ed-page[data-editor] > .cr-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .st-app.ed-page[data-editor] > .ed-frame { flex: 1 1 auto; min-height: 0; gap: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
  /* the stage takes three fifths, the timeline two (never under 150 px), so the tracks are a pane, not the page's tail */
  .st-app.ed-page[data-editor] > .ed-frame.has-bottom { grid-template-rows: auto minmax(0, 3fr) minmax(150px, 2fr) auto; }
  .st-app.ed-page[data-vp-workspace="color"] > .ed-frame.has-bottom { grid-template-rows: auto minmax(0, 7fr) minmax(130px, 3fr) auto; }   /* the viewer and scopes get the room */
  .st-app.ed-page.vp-hide-timeline > .ed-frame.has-bottom { grid-template-rows: auto minmax(0, 1fr) 0 auto; }
  .st-app.ed-page[data-editor="scene3d"] > .ed-frame.has-bottom { grid-template-rows: auto minmax(0, 1fr) auto auto; }   /* one line of camera timeline */
  .st-app.ed-page[data-editor] .ed-toolbar { border: 0; border-bottom: 1px solid var(--gray-mid); border-radius: 0; padding: 6px 12px; }
  .st-app.ed-page[data-editor] .ed-tools { border: 0; border-right: 1px solid var(--gray-mid); border-radius: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  .st-app.ed-page[data-editor] .ed-stage { border: 0; border-radius: 0; min-height: 0; height: auto; }
  .st-app.ed-page[data-editor] .ed-panel { position: static; top: auto; align-self: stretch; max-height: none; min-height: 0; overflow: hidden;
    border: 0; border-left: 1px solid var(--gray-mid); border-radius: 0; }
  .st-app.ed-page[data-editor] .ed-panel-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-bottom: 20px; }
  .st-app.ed-page[data-editor] .ed-bottom { display: flex; flex-direction: column; min-height: 0; border: 0; border-top: 1px solid var(--gray-mid); border-radius: 0; }
  .st-app.ed-page.vp-hide-timeline .ed-bottom { display: none; }
  .st-app.ed-page[data-editor] .ed-bottom > * { flex: 0 0 auto; }
  .st-app.ed-page[data-editor] .ed-bottom > .vt-timeline { flex: 1 1 auto; min-height: 0; }
  .st-app.ed-page[data-editor] .vt-timeline > .vt-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  /* the hint line, as in the Beat Maker: one quiet row under everything; its right end holds the shrunken home pill (studio.css) */
  .st-app.ed-page[data-editor] .ed-status { min-height: 28px; align-items: center; padding: 4px 44px 4px 12px; border-top: 1px solid var(--gray-mid); background: var(--gray-dark); font-size: 12px; }
}

/* B-5 (T03): a title's text edited on the viewer (a double-click), and the Text 1 of N row of the Clip tab */
.ev-title-edit { position: absolute; z-index: 7; resize: none; box-sizing: border-box; background: rgba(0, 0, 0, .72); color: #fff; border: 2px solid var(--accent, #ff7a1a); border-radius: 4px; padding: 4px 6px; font-family: inherit; line-height: 1.2; text-align: center; }
.ev-title-edit:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 122, 26, .35); }
.vt-texts { align-items: center; gap: 6px; flex-wrap: wrap; }
.vt-texts-at { font-size: 12px; min-width: 6em; text-align: center; }
