/* The live editor page (app-editor.js), behind liveEditor. Dark default like the rest of /app/. No inline styles in the markup; clip positions are set from script. */
.le{max-width:1200px;margin:0 auto}
.le-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}.le-top h1{flex:1 1 220px;margin:0;font-size:1.35rem}
.le-top .button{min-height:44px}.le-pill{font-size:.8rem;border:1px solid var(--line,#3a3a44);border-radius:99px;padding:3px 10px;color:var(--muted,#b6b5ae)}
.le-cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}
.le-view{background:#0d0d11;border:1px solid var(--line,#3a3a44);border-radius:10px;aspect-ratio:16/9;overflow:hidden}.le-svg{width:100%;height:100%;display:block}
.le-scrub{display:flex;gap:10px;align-items:center;margin:10px 0}.le-range{flex:1;min-height:44px;accent-color:#6fd1bd}.le-pos{min-width:4.5em;text-align:right}
.le-ticks{display:flex;justify-content:space-between;font-size:.85rem;color:var(--muted,#b6b5ae);margin:0 4.5em 8px 5.5em}
.le-panel{background:var(--soft,#23232d);border:1px solid var(--line,#3a3a44);border-radius:10px;padding:12px}.le-panel h2{margin:0 0 8px;font-size:1rem}
.le-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line,#3a3a44);min-height:44px;padding:4px 0}.le-panel h2+.le-row{border-top:0}
.le-row input[type=color]{width:44px;height:36px;padding:0;border:1px solid var(--line,#3a3a44);border-radius:8px;background:none}
.le-row input[type=number],.le-row input[type=text]{width:8em;min-height:40px}.le-waiting{color:var(--muted,#b6b5ae)}.le-row-has-note{flex-wrap:wrap}.le-row-note{flex:0 0 100%;order:3;margin:0 0 4px}.le-row select{min-height:40px;width:auto;max-width:11em}.le-nosketch-link{margin:8px 0}@media (max-width:700px){.le-row select,.le-row input[type=number]{min-height:44px}.le-row input[type=color]{height:44px}}
.le-aimark{color:#9fb6ff}.le-free{font-size:.85rem;color:#8fe0cf;margin:10px 0 0}
.le-banner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;background:#171d33;border:1px solid #3a4a8a;border-radius:10px;padding:9px 12px;margin:8px 0}.le-banner[hidden]{display:none}
.le-warn{background:#2b2417;border:1px solid #6b5a33;border-radius:10px;padding:9px 12px;margin:8px 0;color:#e8d8b0}
.le-ai{background:var(--soft,#23232d);border:1px solid #3a4a8a;border-radius:10px;padding:12px;margin:8px 0}.le-ai[hidden]{display:none}.le-ai textarea{width:100%;min-height:80px}.le-ai-links{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.le-lanes{border:1px solid var(--line,#3a3a44);border-radius:10px;background:#101015;padding:8px;margin-top:10px}
.le-lane{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:center;margin:6px 0}.le-lane b{font-size:.85rem;color:var(--muted,#b6b5ae);font-weight:600}
.le-bar{position:relative;height:50px;background:var(--soft,#23232d);border-radius:8px}
.le-clip{position:absolute;top:3px;bottom:3px;border-radius:6px;padding:4px 10px 4px 8px;font-size:.85rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;color:#0b1210;font-weight:600;border:0;cursor:grab;touch-action:none;min-width:12px}
.le-c-video.le-clip,.le-c-video .le-dot{background:#6fd1bd}.le-c-pictures.le-clip,.le-c-pictures .le-dot{background:#c9a66b}.le-c-text.le-clip,.le-c-text .le-dot{background:#9fb6ff}.le-c-music.le-clip,.le-c-music .le-dot{background:#b78fd8}
.le-sel.le-clip{outline:2px solid #f2f2ef}.le-clip:focus-visible{outline:3px solid #fff;outline-offset:1px}
.le-edge{position:absolute;right:0;top:0;bottom:0;width:10px;cursor:ew-resize;background:rgba(0,0,0,.25)}
.le-head{position:absolute;top:-4px;bottom:-4px;width:2px;background:#ff8a7a;pointer-events:none}
.le-list{display:none}
.le-item{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-top:1px solid var(--line,#3a3a44);padding:8px 0}.le-item:first-child{border-top:0}
.le-dot{width:12px;height:12px;border-radius:3px;flex:none}.le-itemtext{flex:1 1 180px;text-align:left;background:none;border:0;color:inherit;font:inherit;min-height:44px;padding:0}.le-sel .le-itemtext{font-weight:700}
.le-mv{display:flex;flex-wrap:wrap;gap:6px}.le-mv .button{min-width:44px;min-height:44px}
@media (max-width:760px){.le-cols{grid-template-columns:1fr}.le-lanes{display:none}.le-list{display:block;margin-top:10px}.le-ticks{margin:0 0 8px}}

.le-render{background:var(--soft,#23232d);border:1px solid var(--line,#3a3a44);border-radius:12px;padding:14px;margin:10px 0}.le-render[hidden]{display:none}.le-render h2{margin:0 0 6px;font-size:1.05rem}
.le-meter{height:14px;border-radius:8px;background:#101015;overflow:hidden;border:1px solid var(--line,#3a3a44);margin:8px 0}.le-meter i{display:block;height:100%;background:#6fd1bd;transition:width .3s}
.le-prog-head{font-weight:700;margin:0}.le-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}

.le-off{display:grid;place-items:center;opacity:.7}

.le-stills{display:flex;gap:8px;overflow-x:auto;margin:10px 0 0;padding:0}.le-still{flex:none;width:110px;height:62px;border-radius:8px;background:#0d0d11;border:1px solid var(--line,#3a3a44);display:grid;place-items:end start;padding:4px 6px;font-size:.7rem;color:var(--muted,#b6b5ae)}

.le-canvas{width:100%;height:100%;display:block;object-fit:contain;background:#000}
.le>p>a{display:inline-flex;align-items:center;min-height:44px}
.le-side{display:grid;gap:14px;align-content:start}.le-rule-list{list-style:none;margin:0 0 10px;padding:0}.le-rule-form{border-top:1px solid var(--line,#3a3a44);margin-top:8px;padding-top:8px}
.le select,.le input[type=checkbox]{min-height:44px}.le input[type=checkbox]{width:28px}
.le-side,.le-main,.le-panel{min-width:0}.le-itemtext{overflow-wrap:anywhere}.le-rule-form .le-row input,.le-rule-form .le-row select{max-width:11em}
.le-ticks{position:relative;height:1.3em}.le-ticks span{position:absolute;transform:translateX(-50%)}
.le-bundle-note{margin:0;padding:24px 16px;text-align:center;color:var(--muted,#b6b5ae)}
.le-view img.le-svg{object-fit:contain}
.le-presets{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:8px}.le-preset{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.le-preset .button{min-height:44px}.le-preset.le-on .button{outline:2px solid var(--accent,#c9a66b)}
.le-cau{flex-basis:100%;font-size:.9rem}
.le-panel h3{margin:8px 0 6px;font-size:1rem}
.le-bands{margin:8px 0}.le-band-row{display:flex;gap:6px}.le-swatch{display:inline-block;width:44px;height:28px;border:1px solid var(--line,#3a3a44);border-radius:6px}
.le-ai-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.le-chip{min-height:36px}.le-ai-list{margin:6px 0 0;padding-left:20px}.le-ai-wait{margin:6px 0 0}
/* the first and last period labels stay inside the scrubber instead of poking half their width past the edge (found at 320 px, NEXT-WEB 172) */
.le-ticks span:first-child{transform:none}.le-ticks span:last-child{transform:translateX(-100%)}
.le-lc{border:0;margin:8px 0 0;padding:0;min-width:0}.le-lc legend{font-weight:600;padding:0 0 4px}.le-lc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13em),1fr));gap:8px}
.le-lc-opt{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:start;border:1px solid var(--line,#3a3a44);border-radius:8px;padding:8px;min-height:44px;cursor:pointer}.le-lc-opt input{grid-row:1/4;margin:4px 0 0;min-width:24px;min-height:24px}
.le-lc-opt img{grid-column:2;width:100%;height:auto;border-radius:4px}.le-lc-name{grid-column:2;font-weight:600}.le-lc-line{grid-column:2;font-size:.85rem;opacity:.85;overflow-wrap:anywhere}.le-lc-opt:has(input:checked){border-color:var(--accent,#e8b030);box-shadow:0 0 0 1px var(--accent,#e8b030)}.le-lc-opt:has(input:focus-visible){outline:2px solid var(--accent,#e8b030);outline-offset:2px}
.le-ticks.le-ticks-flat{position:static;height:auto;display:flex;justify-content:space-between}.le-ticks.le-ticks-flat span{position:static;transform:none}
.le-top h1{min-width:0;overflow-wrap:anywhere;flex:1 1 100%}                      /* the title has a row of its own, so the Saved / Draft pill changing width can never re-wrap it and move the page (GEO 18:58 point 2) */
.le-status{min-height:1.6em}                      /* the line that says 'Undone.' / 'X is applied' keeps its room, so the first message does not push the page down */
.le-top .le-pill{min-width:9em;text-align:center;box-sizing:border-box}
/* the app's #library h2 rule (36px above) is more specific than .le-panel h2 and put a blank band over every card's heading (GEO point 4) */
#library .le-panel h2,#library .le-ai h2{margin-top:0}
/* film strip under the data editor's picture (assets/app-editor-timeline.js) */
.le-tl{margin:6px 0 12px}.le-tl-strip{position:relative;display:flex;gap:3px;height:64px;cursor:ew-resize;touch-action:none;user-select:none;border:1px solid var(--line,#3a3a44);border-radius:8px;background:#101015;padding:4px}
.le-tl-tile{flex:1 1 0;min-width:0;position:relative;display:flex;align-items:flex-end;justify-content:center;border-radius:4px;background:linear-gradient(180deg,#23232b,#17171c);overflow:hidden}
.le-tl-tile>canvas,.le-tl-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.le-tl-tile i{position:relative;font-style:normal;font-size:.72rem;color:var(--muted,#b6b5ae);padding:0 2px 3px;text-shadow:0 0 3px #000}
.le-tl-on{outline:2px solid #6fd1bd;outline-offset:-2px}.le-tl-on i{color:#fff}
.le-tl-head{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#ff8a7a;pointer-events:none;box-shadow:0 0 0 1px #0008}
.le-tl-head::before{content:'';position:absolute;top:0;left:-4px;border:5px solid transparent;border-top-color:#ff8a7a;border-bottom:0}
.le-tl-note{margin:4px 0 0;font-size:.82rem}
.le-ruler-holder{margin-top:10px;padding:0 9px}.le-ruler-holder:empty{display:none}.le-ruler-lane{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:end}.le-ruler-lane b{display:block}.le-ruler-bar{position:relative;height:26px;cursor:ew-resize;touch-action:none;user-select:none;border-bottom:1px solid var(--line,#3a3a44)}
.le-ruler-tick{position:absolute;top:0;bottom:0;border-left:1px solid #55555f}.le-ruler-tick i{position:absolute;top:2px;left:3px;font-style:normal;font-size:.72rem;color:var(--muted,#b6b5ae);white-space:nowrap}
.le-ruler-head{position:absolute;top:0;bottom:-6px;width:2px;margin-left:-1px;background:#ff8a7a;pointer-events:none;z-index:2}
.le-ruler-head::before{content:'';position:absolute;top:0;left:-4px;border:5px solid transparent;border-top-color:#ff8a7a;border-bottom:0}
.le-ruler-last i{left:auto;right:3px}
@media (max-width:760px){.le-ruler-holder{display:none}}
/* the film's real frames (assets/app-editor-film.js) */
.le-film-view{display:flex;align-items:center;justify-content:center;min-height:160px;overflow:hidden}.le-film-view svg{width:100%;height:auto;display:block}.le-film-block{margin:0;padding:20px;text-align:center}
.le-film-status{min-height:1.3em;margin:6px 0}
.le-film-lane{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:center;margin:6px 0}.le-film-lane b{font-size:.85rem;color:var(--muted,#b6b5ae);font-weight:600}
.le-film-bar{position:relative;height:34px;border-radius:8px;background:#101015;overflow:hidden}.le-film-thumbs{height:64px;overflow:hidden}.le-film-strip{position:absolute;inset:0}.le-film-tile{position:absolute;top:0;bottom:0;box-sizing:border-box;margin:0;padding:0;border:0;border-right:1px solid #101015;background:#17171e;color:var(--muted,#b6b5ae);cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center;font:inherit}.le-film-tile img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.le-film-tile:hover,.le-film-tile:focus-visible{outline:2px solid #8fa0e8;outline-offset:-2px}.le-film-tile-on{outline:2px solid #fff;outline-offset:-2px}.le-film-tile-label{font-size:.75rem;padding:0 6px;text-align:center;overflow:hidden;text-overflow:ellipsis}.le-film-tile-wait{width:60%;height:60%;border-radius:6px;background:#21212b}
.le-film-clip{position:absolute;top:3px;bottom:3px;box-sizing:border-box;padding:0 8px;border-radius:6px;background:#8fa0e8;color:#10131f;font-size:.8rem;font-weight:600;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.le-film-drawn{background:#6fd1bd;color:#0a1a17}
.le-film .le-ruler-holder{margin-top:6px;padding:0}
@media (hover:none),(pointer:coarse){.le-keys,.le-keys-btn{display:none}}      /* a phone has no keyboard for the slider keys (GEO LOW 09:25) */
.le-film-colours{margin-top:12px}.le-film-col-list{list-style:none;margin:8px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 14px}.le-film-col-list li{display:flex;gap:10px;align-items:center}.le-film-col-list input[type=color]{width:44px;height:36px;padding:0;border:1px solid var(--line,#3a3a44);border-radius:6px;background:none}
.le-group{margin:8px 0}.le-group h3{margin:6px 0}.le-bgchoices{display:flex;flex-wrap:wrap;gap:8px}.le-bgchoices .button,.le-group>.button{min-height:44px}.le-bgchoices .button[aria-pressed=true]{outline:2px solid var(--accent,#c9a66b)}
/* CLIP-FILM WALK 11-27: on a phone the top buttons sit three to a row (five rows became three) so the picture comes up the page */
@media (max-width:560px){.le-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.le-top>h1,.le-top>.le-pro-switch{grid-column:1/-1}.le-top>.le-pill{grid-column:1/2;min-width:0}.le-top>.button.primary{grid-column:span 2}.le-top .button{padding-left:4px;padding-right:4px;font-size:.85rem;white-space:normal;overflow-wrap:anywhere;line-height:1.15}.le-top>.le-pro-switch{justify-self:start}}
