.lr-heading{display:flex;align-items:center;gap:22px;margin:0 0 14px}.lr-heading h2{margin:0;font-size:24px}.lr-heading p{margin:4px 0}.lr-heading .back{margin:0;min-height:44px}.lr-workspace{display:grid;grid-template-columns:minmax(280px,1fr) minmax(330px,440px);gap:24px;align-items:start}.lr-preview{position:sticky;top:96px;text-align:center}.lr-preview>canvas{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 220px);margin:auto;border-radius:8px;box-shadow:0 3px 18px #0002;touch-action:none}.lr-play{display:flex;justify-content:center;align-items:center;gap:14px;margin:12px 0}.lr-preview video{max-width:100%;max-height:65dvh;border-radius:8px}.lr-controls{border:1px solid var(--line);padding:18px;border-radius:12px;max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}.lr-controls label{display:block;font-size:14px;margin:10px 0}.lr-controls input:not([type=checkbox]),.lr-controls select,.lr-controls textarea{display:block;box-sizing:border-box;width:100%;margin-top:5px;font:inherit}.lr-controls input[type=range]{min-height:32px}.lr-controls .lr-check{display:flex;align-items:center;gap:8px;min-height:32px}.lr-controls .lr-check input{width:18px;height:18px;flex:none}.lr-controls section,.lr-controls details{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.lr-controls summary{cursor:pointer;font-weight:700;min-height:32px}.lr-controls h3{font-size:17px;margin:4px 0 8px}.lr-controls h3 small{font-weight:400}.lr-controls .act{padding:10px 13px;min-height:44px;font-size:13px;width:auto;min-width:0}.lr-controls .note{font-size:13px;margin:7px 0;line-height:1.4}.lr-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.lr-scenes{display:flex;gap:8px;overflow:auto;padding-bottom:6px}.lr-scene{flex:0 0 73px;border:2px solid transparent;border-radius:7px;padding:4px;background:#f5f5fa;color:var(--main-blue);cursor:pointer}.lr-scene[aria-pressed=true]{border-color:#06038D}.lr-scene canvas{display:block;width:61px;height:auto}.lr-scene span{display:block;font-size:11px;margin-top:5px}.lr-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.lr-gallery button{padding:0;background:#eee;border:1px solid var(--line);border-radius:5px;overflow:hidden;cursor:pointer;min-height:54px}.lr-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.lr-export{display:flex;gap:8px;flex-wrap:wrap}.lr-export>p,.lr-export progress{width:100%}.lr-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.lr-fields label:first-child{grid-column:1/-1}.lr-preview [hidden],.lr-controls [hidden]{display:none!important}@media(max-width:850px){.lr-workspace{grid-template-columns:1fr;gap:14px}.lr-preview{position:static}.lr-preview>canvas{max-height:60dvh;max-width:100%}.lr-controls{max-height:none;overflow:visible;padding:14px}.lr-controls input,.lr-controls select,.lr-controls textarea{font-size:16px!important}.lr-heading{gap:14px;align-items:flex-start}.lr-heading h2{font-size:21px}.lr-play .act{min-width:0;width:auto;padding:10px 16px}.lr-preview video{max-height:60dvh}}

/* REV62A: prevent intrinsic canvas and thumbnail widths widening the mobile grid. */
.lr-workspace,.lr-workspace>*{min-width:0}
.lr-controls{box-sizing:border-box;min-width:0;overflow-wrap:anywhere}
.lr-heading>div{min-width:0}
@media(max-width:850px){
 .lr-workspace{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 .lr-preview{width:100%;min-width:0}
 .lr-preview>canvas{width:min(100%,33.75dvh);height:auto;max-height:none;margin-inline:auto}
 .lr-preview video{display:block;width:min(100%,33.75dvh);height:auto;margin-inline:auto}
 .lr-play{flex-wrap:wrap}
 .lr-heading{flex-wrap:wrap}
 .lr-controls{width:100%;max-width:100%}
 .lr-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lr-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
