:root{color-scheme:light;--ink:#172226;--slate:#43555a;--muted:#57686e;--paper:#f5f7f6;--line:#d8e0dd;--teal:#006e65;--green:#9de5bb;--white:#fff;font-family:Inter,Roboto,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,select,label.upload{cursor:pointer}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #008778}button{color:inherit}button:disabled{cursor:wait;opacity:.62}button{border:0}a{color:inherit}.mast{background:#101e21;color:white}.mast-inner{max-width:1580px;margin:auto;padding:0 clamp(18px,3.25vw,58px);height:60px;display:flex;align-items:center;gap:18px}.brand{display:inline-flex;align-items:center;flex:none;text-decoration:none}.brand img{display:block;height:47px;width:auto}.help{display:inline-flex;align-items:center;gap:8px;margin-left:auto;background:transparent;color:#e1e8e6;font-weight:560;font-size:.875rem;padding:9px 0}.icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:none}.icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.page{max-width:1580px;margin:auto;padding:0 clamp(18px,3.25vw,58px) 32px}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:29px 0 25px}.titlebar h1{margin:0;font-size:clamp(2.15rem,3.25vw,3.15rem);letter-spacing:-.066em;font-weight:690;line-height:1.08}.titlebar p{margin:8px 0 0;color:var(--muted);font-size:1rem;line-height:1.42}.exports,.btn{display:inline-flex;align-items:center;gap:9px}.exports{gap:10px}.btn{border-radius:7px;min-height:43px;padding:10px 17px;justify-content:center;font-size:.92rem;font-weight:650}.light{color:var(--ink);background:white;border:1px solid #becac6}.light:hover{background:#edf3f0}.dark{background:#075f54;color:#fff;border:1px solid #075f54}.dark:hover{background:#034d44}.workspace{display:grid;grid-template-columns:minmax(288px,330px) minmax(0,1fr);gap:22px;align-items:start}.tools,.preview{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 4px #142a1c06;overflow:hidden}.tools{padding:15px}.switcher{display:flex;gap:3px;background:#edf1ef;padding:4px;border-radius:8px}.switcher button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 2px;min-height:38px;border-radius:5px;background:transparent;font-weight:600;font-size:.88rem;color:#506264}.switcher button[aria-pressed=true]{color:#075f54;background:#fff;box-shadow:0 1px 5px #253c3624}.tools section{padding:20px 1px 0}.tools section+section:not([hidden]){border-top:1px solid var(--line);margin-top:19px}.tools section[hidden]+section.copy{border-top:1px solid var(--line);margin-top:19px}h2{font-size:1rem;line-height:1.3;letter-spacing:-.025em;margin:0 0 14px;font-weight:670}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head h2{margin-bottom:0}.muted{color:#6b7b7d}.tile-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tile{padding:0;background:#fff;text-align:left;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:7px;overflow:hidden;position:relative;color:#34484a}.tile canvas{width:100%;aspect-ratio:2.32;object-fit:cover;display:block;background:#dae1df}.tile .cap{font-size:.81rem;font-weight:600;line-height:1.2;display:flex;align-items:center;justify-content:space-between;width:100%;padding:7px 8px}.tile[aria-pressed=true]{border:2px solid var(--teal);color:#005c53}.tile:not([aria-pressed=true]){padding:1px}.tile[aria-pressed=true] .cap:after{content:"✓";font-size:11px;color:white;background:var(--teal);border-radius:50%;width:15px;height:15px;text-align:center;line-height:15px}.tile:hover{border-color:#568a7f}label:not(.upload):not(.sr){display:block;font-size:.84rem;font-weight:620;margin:13px 0 6px}.tools input:not([type=color]):not([type=file]),textarea,select,#customSize input{border:1px solid #c9d4d0;border-radius:6px;padding:9px 10px;color:var(--ink);background-color:#fff;line-height:1.3;min-width:0}.tools input:not([type=color]):not([type=file]),textarea{width:100%;font-size:.93rem}textarea{resize:vertical;display:block}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23364849' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:33px;font-size:.875rem;max-width:100%}.paired{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.upload-line{display:flex;gap:10px;align-items:center}.upload{display:inline-flex;gap:8px;align-items:center;cursor:pointer;justify-content:center;min-height:37px;padding:6px 11px;border:1px dashed #95a9a3;border-radius:6px;background:#f5f8f6;font-size:.86rem}.remove{background:none;text-decoration:underline;font-size:.82rem;color:var(--muted)}.brand-controls:has(#photo:focus-visible) label[for=photo].upload,.brand-controls:has(#logo:focus-visible) label[for=logo].upload{outline:3px solid var(--teal)}.color-row{display:flex;gap:7px;align-items:center}.color-row input{width:34px;height:34px;padding:2px;border:1px solid var(--line);background:#fff;border-radius:5px}.color-row span{font-size:.79rem;color:var(--muted);font-family:monospace}.color-row select{margin-left:auto;max-width:54%}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.preview-col{position:sticky;top:14px;min-width:0}.preview-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px}.preview-head h2{margin:0}.stage{min-height:290px;height:clamp(365px,40vw,590px);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:clamp(16px,2.8vw,43px);background-color:#e6ebe7;background-image:radial-gradient(#adbbb4 0.78px,transparent .9px);background-size:12px 12px}.stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 9px 28px #223d3328}.transport{height:57px;padding:0 20px;display:flex;align-items:center;gap:16px}.transport button{background:transparent;padding:7px 0;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:.86rem;font-weight:620}.transport .icon{border:1px solid #bccac4;border-radius:50%;width:29px;height:29px;padding:6px;color:#105d50}.timeline{flex:1;height:4px;border-radius:4px;background:#e1e8e4;overflow:hidden}.timeline i{display:block;background:#2a8d75;height:100%;width:0}.time,.specs{font-size:.83rem;color:var(--muted)}.specs{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;gap:12px}.specs>div{display:flex;gap:7px;align-items:center}.save{color:#596c63}.notice:not(:empty){border:1px solid #b6d4c5;background:#edf6ef;border-radius:8px;padding:10px 13px;color:#234f3f;font-size:.9rem}.notice.error{border-color:#edb9a9;background:#fff3ef;color:#8b3014}.note{color:var(--muted);font-size:.82rem!important;line-height:1.5;margin:7px 0}.note:empty{display:none}.fill{width:100%;margin-top:5px}#customSize{padding:8px 20px 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#customSize input{width:78px}#customSize label{margin:0}#customSize .btn{min-height:33px;padding:6px 10px;font-size:.8rem}dialog{border:1px solid var(--line);border-radius:14px;padding:0;max-width:min(510px,92vw);color:var(--ink);box-shadow:0 18px 90px #09241c35}dialog::backdrop{background:#132b2780}.dialog-inner{padding:24px}.dialog-inner h2{font-size:1.4rem}.dialog-inner li{padding:5px 0;line-height:1.5}.dialog-inner ol{padding-left:22px}.close{background:var(--paper);font-size:23px;width:36px;height:36px;border-radius:50%}[hidden]{display:none!important}@media(min-width:1580px){.stage{height:595px}}@media(max-width:980px){.workspace{grid-template-columns:minmax(265px,290px) minmax(0,1fr);gap:15px}.titlebar{gap:12px}.stage{height:360px}.exports .btn{padding:10px 12px}.preview-head{padding:12px}.preview-head h2{font-size:.94rem}}@media(max-width:730px){.mast-inner{height:51px}.brand img{height:39px}.workspace{display:flex;flex-direction:column;gap:12px}.tools,.preview-col{width:100%}.preview-col{order:-1;position:static}.titlebar{display:block;margin:18px 0 14px}.titlebar p{font-size:.91rem}.exports{margin-top:13px}.stage{height:clamp(185px,60vw,340px);min-height:0;padding:14px}.specs{padding:8px 2px}.preview-head{min-height:50px}.transport{height:43px;padding:0 12px;gap:9px}.tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tools{padding:12px}.tile .cap{font-size:.72rem;padding:6px 3px}.page{padding:0 13px 26px}.tools section{padding-top:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.drawer{border-top:1px solid var(--line);padding:15px 1px 0;margin-top:15px}
.drawer summary{font-size:1rem;letter-spacing:-.025em;font-weight:670;cursor:pointer}
.show{margin-top:12px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:#fff}
.show-head,.slide-list,.show-settings,.slide-actions{display:flex;align-items:center;gap:8px}
.show-head{justify-content:space-between}.show-head h2{margin:0}.compact{min-height:32px;padding:5px 10px;font-size:.83rem}
.slide-list{margin:12px 0;overflow-x:auto;align-items:stretch;padding:2px 2px 5px;gap:8px}
.slide-card{flex:0 0 120px;width:120px;text-align:left;padding:4px 5px;border:1px solid var(--line);background:#f7f9f8;border-radius:6px;font-size:.78rem;color:#34484a}
.slide-card[aria-pressed=true]{border-color:#006e65;box-shadow:0 0 0 1px #006e65;background:#f0faf5}
.slide-card canvas{display:block;width:100%;height:41px;object-fit:contain;background:#e2e8e4;margin-bottom:3px}
.slide-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.show-settings{flex-wrap:wrap;gap:6px 15px}.show-settings label:not(.sr){display:flex;align-items:center;gap:6px;margin:0;font-size:.78rem}.show-settings select{font-size:.78rem;padding:5px 28px 5px 6px}.slide-actions{margin-left:auto;flex-wrap:wrap;gap:3px}.slide-actions button{background:transparent;font-size:.78rem;text-decoration:underline;text-underline-offset:2px;padding:6px}
button:disabled:not(#mp4):not(#png):not(#draft){cursor:default;opacity:.44}
#examples{width:100%}
.preview-col{top:8px}.stage{height:clamp(270px,32vw,510px);min-height:170px}
#briefStatus{max-height:13rem;overflow-y:auto}
@media(max-width:730px){.workspace{display:grid;grid-template-columns:minmax(0,1fr)}.stage{height:clamp(185px,55vw,320px)}.show-settings{gap:6px}.slide-actions{margin-left:0}.show{padding:10px}.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#reuseLabel{display:flex;align-items:center;gap:7px;font-size:.8rem;font-weight:500}.tools #reuseMedia{width:16px;height:16px;flex:none}
.example-files{margin:14px 0 18px;display:flex;flex-wrap:wrap;gap:8px 15px}.example-files h3{font-size:1rem;margin:0;width:100%}.example-files a{color:var(--teal);font-size:.9rem;text-underline-offset:3px}

:root{--ink:#161921;--paper:#f7f4ed;--slate:#384357;--muted:#505a6b;--line:#d8d9d9;--teal:#1746ca;--blue:#1958f9;--lime:#dcf238;--cyan:#02c2dd}
.mast{background:#161921}.mast-inner{height:62px}.mast-guide,.help{font-size:.84rem;font-weight:620;color:#fff}.mast-guide{margin-left:auto;text-decoration:none}.mast-guide span{margin-left:4px;color:var(--lime)}.mast-guide:hover,.help:hover{text-decoration:underline}.help{margin-left:4px;border-left:1px solid #53545a;padding-left:19px}
.titlebar{margin:22px 0 15px}.titlebar h1{display:flex;align-items:center;gap:14px;line-height:1.13;font-weight:830;letter-spacing:-.065em}.signal{display:inline-flex;align-items:center;gap:5px}.signal i,.path-dot{display:block;width:clamp(11px,1.2vw,19px);aspect-ratio:1;border-radius:50%;background:var(--blue)}.signal i:nth-child(2),.path-dot.cyan{background:var(--cyan)}.signal i:nth-child(3),.path-dot.lime{background:var(--lime)}.titlebar p{margin-top:3px}
.studio-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px;background:#171a22;color:white;border-radius:12px;overflow:hidden}.studio-path button,.studio-path a{display:flex;align-items:center;gap:12px;padding:12px clamp(12px,2vw,26px);background:none;color:inherit;text-align:left;font-weight:750;font-size:.92rem;text-decoration:none}.studio-path>*+*{border-left:1px solid #424650}.studio-path small{display:block;margin-top:2px;font-size:.74rem;font-weight:450;color:#cdd2df;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.studio-path button>span:nth-child(2){min-width:0}.studio-path>*:hover{background:#292e39}.studio-path .path-dot{flex:none;width:12px}.path-go{margin-left:auto;color:#bdc5d6;font-size:16px}
.dark{background:#154ada;border-color:#154ada}.dark:hover{background:#133bab}.tile[aria-pressed=true],.slide-card[aria-pressed=true]{border-color:var(--teal);color:#123caa}.slide-card[aria-pressed=true]{box-shadow:0 0 0 1px var(--teal);background:#edf2ff}.switcher{background:#edf0f4}.switcher button[aria-pressed=true]{color:#113eaf}.stage{background-color:#e7eaf1;background-image:radial-gradient(#a5afbf .85px,transparent .95px)}.timeline i{background:var(--blue)}.transport .icon{color:#1746ca}.template-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 0 12px}.template-heading h2{margin:0}.template-heading select{max-width:54%;font-size:.74rem;padding:6px 23px 6px 7px;background-position:right 5px center}
#templateGrid{max-height:300px;overflow-y:auto;scrollbar-width:thin;padding:2px}.history-tools{display:flex;align-items:center;gap:3px;margin-left:auto}.history-tools button,.handoff button{background:#eef2fc;color:#153ca6;padding:7px 9px;border-radius:6px;font-size:.8rem;font-weight:650}.preview-head{gap:10px;flex-wrap:wrap}.preview-head select{max-width:min(100%,210px)}.review{background:#f2f6da;border:1px solid #d8e1ac;border-radius:10px;padding:10px 14px;font-size:.86rem;margin:2px 0 10px}.review summary{font-weight:675;cursor:pointer}.review ul{padding-left:19px;line-height:1.45;margin-bottom:8px}.review li+li{margin-top:5px}.review a,.guide-download{color:#173eaf;text-underline-offset:2px}.handoff{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;margin-bottom:10px;background:#e9f0ff;border:1px solid #c5d4fd;border-radius:9px}.handoff button{text-decoration:underline}.notice{margin-top:6px}button:focus-visible,a:focus-visible{outline-color:#427df8}
@media(max-width:730px){.mast-inner{height:53px;gap:9px}.mast-guide,.help{font-size:.73rem}.help{padding-left:9px}.studio-path{margin-bottom:12px}.studio-path button,.studio-path a{gap:5px;font-size:.76rem;padding:10px 5px;justify-content:center}.studio-path .path-dot{width:7px}.studio-path small,.path-go{display:none}.titlebar{margin-top:14px}.history-tools button{padding:5px;font-size:.72rem}.preview-head{gap:5px}.review{margin-bottom:4px}.template-heading select{max-width:none}.preview-head select{max-width:145px}.mast-guide span{display:none}.titlebar h1{font-size:2.35rem}}
.brief-heading{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.brief-heading label:not(.sr){margin:3px 0}.brief-heading button{background:transparent;color:var(--teal);font-size:.78rem;font-weight:650;padding:6px}
.studio-path{grid-template-columns:repeat(4,minmax(0,1fr))}.path-dot.coral{background:#ff7a70}.tile canvas{aspect-ratio:16/9;object-fit:contain}
@media(max-width:730px){.studio-path{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-path button{text-align:left;justify-content:flex-start;padding:11px 13px;font-size:.84rem}.studio-path button:nth-child(3){border-left:0}.studio-path button:nth-child(n+3){border-top:1px solid #424650}.studio-path small{display:block;font-size:.65rem}.studio-path button{gap:7px}}
.replaying-motion .si-outline,.replaying-motion .si-chip{visibility:hidden}
.studio-qr{width:min(92vw,410px);padding:24px;border:1px solid #c8ced9;border-radius:14px;color:#172035}.studio-qr::backdrop{background:#10142477}
.studio-qr header,.studio-qr footer{display:flex;align-items:center;justify-content:space-between}.studio-qr h2{font-size:1.35rem;margin:0}.studio-qr header button{padding:3px 10px;background:#edf0f5;border-radius:50%;font-size:1.4rem}.studio-qr label{display:grid;gap:7px;margin-top:20px;font-weight:650}.studio-qr input{padding:10px;border:1px solid #a7afc0;border-radius:7px}.studio-qr p,.studio-qr [role=status]{font-size:.9rem;line-height:1.5}.studio-qr footer{justify-content:flex-end;margin-top:15px}.studio-qr footer button{padding:9px 16px;border-radius:6px;background:#2344c8;color:white;font-weight:650}
