@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/7fea77d1d19108bf-s.2e4y-bhazgt_v.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/1bcd0e671759a44c-s.3o0_l_yqebdng.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/e15f58668ad64cb8-s.2mglm451ism6l.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/90c51ce8fb754fe8-s.3bjsqkuy1d2v8.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/57215795b8570f5c-s.0xluf1kzv7x5w.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(../media/03fc1b4a8d284b5e-s.p.45487z7p3r8wm.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans Fallback;src:local(Arial);ascent-override:101.32%;descent-override:27.18%;line-gap-override:0.0%;size-adjust:101.17%}.ibm_plex_sans_461d7140-module__Hvr4LW__className{font-family:IBM Plex Sans,IBM Plex Sans Fallback;font-style:normal}.ibm_plex_sans_461d7140-module__Hvr4LW__variable{--font-sans:"IBM Plex Sans", "IBM Plex Sans Fallback"}
@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/e390973e931a41c5-s.3zhtymus0wdqb.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/59b15b4bcd7b1eb5-s.3nkuoiize4urq.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/e532fa1b9921e1cd-s.1da667lu-u79a.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/2fe89d53234c61d4-s.1i05ju5aeyhye.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../media/99e609270109b47d-s.p.1dgcou5jor5q_.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5e05ae5b48faa55e-s.31-2bzhq1gx_9.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/a7afbb44bec2bb18-s.3xauquyg2sixn.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/02263ebadd758ea4-s.2taws-qdxmzlf.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/68757d6cddeff913-s.0htwiiqufp3l9.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../media/effe91970fc4db64-s.p.28xcb7557rbh2.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono Fallback;src:local(Arial);ascent-override:76.16%;descent-override:20.43%;line-gap-override:0.0%;size-adjust:134.59%}.ibm_plex_mono_973b4b30-module__j14D8G__className{font-family:IBM Plex Mono,IBM Plex Mono Fallback;font-style:normal}.ibm_plex_mono_973b4b30-module__j14D8G__variable{--font-mono:"IBM Plex Mono", "IBM Plex Mono Fallback"}
:root,[data-theme=light]{--bg:#ebe6dc;--surface:#f7f3eb;--text:#1a1714;--muted:#6a635a;--accent:#9a6b24;--danger:#b42318;--border:#cfc6b8;--on-accent:#f7f3eb}[data-theme=dark]{--bg:#161412;--surface:#1f1c19;--text:#eee9e0;--muted:#9a9286;--accent:#d4a04a;--danger:#e07060;--border:#3d3832;--on-accent:#161412}*{box-sizing:border-box}html,body{min-height:100%;margin:0}html{background:var(--bg)}body{font:14px/1.45 var(--font-sans), "Segoe UI", system-ui, sans-serif;background:var(--bg);color:var(--text)}a{color:var(--accent)}.app{min-height:100vh}.shell{background:var(--surface);border-bottom:1px solid color-mix(in srgb, var(--border) 75%, transparent);flex-wrap:wrap;align-items:center;gap:.75rem 1.1rem;padding:.8rem 1.1rem;display:flex}.brand{letter-spacing:-.03em;margin:0;font-size:1.05rem;font-weight:600}.key-field{flex:14rem;min-width:12rem;max-width:22rem}.key-field label{color:var(--muted);margin:0 0 .2rem;font-size:.78rem;display:block}.shell-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-left:auto;display:flex}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.seg{border:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:var(--bg);border-radius:999px;gap:2px;padding:2px;display:inline-flex;overflow:hidden}.seg label{margin:0;font-size:.75rem;font-weight:600}.seg input{opacity:0;pointer-events:none;position:absolute}.seg span{color:var(--muted);cursor:pointer;border-radius:999px;padding:.28rem .75rem;display:block}.seg input:checked+span{background:var(--accent);color:var(--on-accent)}.seg input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.btn{font:inherit;border:1px solid color-mix(in srgb, var(--border) 85%, transparent);background:var(--bg);color:var(--text);cursor:pointer;border-radius:8px;padding:.38rem .8rem;font-size:.8rem;font-weight:600}.btn:hover{border-color:var(--muted)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible,video:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn-primary{background:var(--accent);width:100%;color:var(--on-accent);letter-spacing:-.01em;border-color:#0000;border-radius:10px;padding:.7rem .9rem;font-size:.92rem}.btn-primary:hover:not(:disabled){filter:brightness(1.06)}.btn-primary:disabled{opacity:.55;cursor:not-allowed;filter:none}.btn-ghost{background:0 0}.banner{background:color-mix(in srgb, var(--danger) 12%, var(--surface));color:var(--danger);border-bottom:1px solid color-mix(in srgb, var(--danger) 35%, var(--border));margin:0;padding:.7rem 1.1rem;font-weight:600}.layout{grid-template-areas:"form""job";min-height:calc(100vh - 3.4rem);display:grid}.request{background:var(--surface);grid-area:form;min-width:0;padding:1.05rem 1.15rem 1.4rem}.job{background:var(--bg);grid-area:job;min-width:0;padding:1.05rem 1.15rem 1.4rem}.choice-row{flex-wrap:wrap;gap:.4rem 1.1rem;display:flex}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .9rem;margin-bottom:.85rem;display:grid}.settings-grid>.group{margin-bottom:0}.flash-timing{grid-template-columns:minmax(8rem,1fr) minmax(10rem,1.2fr);gap:.55rem .9rem;margin-bottom:.85rem;display:grid}.flash-timing>.group,.flash-timing>.row{margin-bottom:0}.generate-bar{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.85rem;display:flex}.generate-bar .hint{flex:100%}@media (min-width:900px){.layout{grid-template-columns:minmax(22rem,48fr) minmax(18rem,52fr);grid-template-areas:"form job";align-items:start}.request{border-right:1px solid color-mix(in srgb, var(--border) 70%, transparent)}.job{align-self:start;max-height:calc(100vh - 3.4rem);position:sticky;top:0;overflow:auto}}@media (max-width:899px){.shell{z-index:6;padding:max(.5rem, env(safe-area-inset-top,0px)) .9rem .55rem;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand mode""key key""actions actions";align-items:center;gap:.4rem .55rem;display:grid;position:sticky;top:0}.shell .brand{grid-area:brand;min-width:0}.shell>.seg{grid-area:mode;justify-self:end}.shell .key-field{flex:none;grid-area:key;width:100%;min-width:0;max-width:none}.shell .shell-actions{grid-area:actions;justify-content:space-between;width:100%;margin-left:0}.shell .shell-actions .btn{min-height:2.75rem}.seg span{align-items:center;min-height:2.75rem;padding:.35rem .7rem;display:flex}.layout{grid-template-areas:"job""form";min-height:0}.job{z-index:3;border-bottom:1px solid color-mix(in srgb, var(--border) 70%, transparent);padding:.5rem 1.05rem .7rem;position:sticky;top:12rem}.request{padding-bottom:0}.generate-bar{z-index:4;padding:.7rem 1.15rem calc(.7rem + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);margin:.85rem -1.15rem 0;position:sticky;bottom:0}.generate-bar .btn{width:100%}textarea,select,input[type=number],input[type=url],input[type=text],input[type=password],input[type=file]{font-size:16px}}.block{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 .45rem;font-size:.68rem;font-weight:600}.group{border:0;min-inline-size:0;margin:0 0 1rem;padding:0}.group legend{float:none;flex-wrap:wrap;align-items:baseline;gap:.35rem .65rem;width:100%;margin:0 0 .4rem;padding:0;font-weight:600;display:flex}.stack{flex-direction:column;gap:.35rem;display:flex}.radio{cursor:pointer;align-items:baseline;gap:.45rem;font-weight:500;display:flex}.radio input{accent-color:var(--accent)}.api{color:var(--muted);font-size:.8rem;font-weight:400;font-family:var(--font-mono), ui-monospace, monospace}.hint{color:var(--muted);margin:.35rem 0 0;font-size:.8rem}.row{margin:0 0 .9rem}label.field{margin-bottom:.28rem;font-weight:600;display:block}abbr.req{color:var(--danger);text-decoration:none}textarea,select,input[type=number],input[type=url],input[type=text],input[type=password],input[type=file]{width:100%;font:inherit;color:var(--text);background:var(--bg);border:1px solid color-mix(in srgb, var(--border) 90%, transparent);border-radius:8px;padding:.48rem .6rem}textarea{resize:vertical;min-height:8rem}.chip-row{flex-wrap:wrap;gap:.4rem;display:flex}.chip-row label{cursor:pointer;margin:0}.chip-row input{opacity:0;pointer-events:none;position:absolute}.chip-row span{border:1px solid color-mix(in srgb, var(--border) 90%, transparent);background:var(--bg);border-radius:8px;padding:.32rem .7rem;font-size:.82rem;font-weight:500;display:block}.chip-row input:checked+span{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, var(--surface))}.chip-row input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.pill-row{flex-wrap:wrap;align-items:center;gap:.1rem .15rem;display:flex}.pill-row label{cursor:pointer;margin:0}.pill-row input{opacity:0;pointer-events:none;position:absolute}.pill-row span{color:var(--text);background:0 0;border-radius:999px;padding:.4rem .9rem;font-size:.9rem;font-weight:500;display:block}.pill-row input:checked+span{background:color-mix(in srgb, var(--text) 12%, var(--surface));color:var(--text)}.pill-row input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.readout{font-family:var(--font-mono), ui-monospace, monospace;border:1px solid color-mix(in srgb, var(--border) 70%, transparent);background:var(--bg);border-radius:8px;margin:.6rem 0 0;padding:.5rem .7rem;font-size:.82rem}.readout strong{color:var(--accent);font-weight:600}.chips{gap:.4rem;margin-top:.5rem;display:flex}.chips .btn{border-radius:8px;font-size:.75rem}.cap-warn{color:var(--danger)}.url-row{align-items:center;gap:.4rem;margin-bottom:.4rem;display:flex}.url-row input{flex:1}.slot{border:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:var(--bg);border-radius:8px;margin:0 0 .55rem;padding:.55rem .6rem}.slot-head{flex-wrap:wrap;align-items:center;gap:.4rem .55rem;margin-bottom:.35rem;display:flex}.slot-head .name{flex:8rem;font-weight:600}.file-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.file-row input[type=file],.file-row input[type=url]{flex:12rem;min-width:0}.count{color:var(--muted);font-size:.82rem;font-weight:500}.item-row{flex-wrap:wrap;align-items:center;gap:.4rem;margin:0 0 .4rem;display:flex}.item-row .ord{flex:none;min-width:1.4rem;font-weight:600}.item-row .mono{flex:8rem;margin:0}.item-row .hint{margin:0}.item-row .field-error{flex:100%}ol.picked{margin:.5rem 0 0;padding:0;list-style:none}details.paste{margin:.45rem 0 0}details.paste summary{cursor:pointer;color:var(--muted);font-size:.85rem;font-weight:600}.job-well{border:1px solid color-mix(in srgb, var(--border) 65%, transparent);background:var(--surface);border-radius:12px;flex-direction:column;justify-content:flex-start;gap:.35rem;min-height:0;padding:.85rem 1rem;display:flex}:is(.job-well:has(.player),.job-well:has(.job-run)){padding:1.1rem 1.15rem}.job-well p{margin:0}.job-run{flex-wrap:wrap;align-items:center;gap:.55rem .7rem;display:flex}.job-line{margin:0;font-size:1rem;font-weight:600}.job-pct{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-weight:600}.spin{border:2px solid color-mix(in srgb, var(--border) 85%, transparent);border-top-color:var(--accent);border-radius:50%;flex:none;width:1.15rem;height:1.15rem;animation:.75s linear infinite job-spin}@keyframes job-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{border-color:var(--accent);border-top-color:var(--accent);opacity:.85;animation:none}}.player{background:var(--bg);border-radius:10px;width:100%;max-height:22rem;margin-bottom:.65rem}.mono{font-family:var(--font-mono), ui-monospace, monospace;color:var(--muted);word-break:break-all;font-size:.8rem}.field-error,.form-error{color:var(--danger);margin:.3rem 0 0;font-size:.82rem;font-weight:500}details.advanced{margin:.15rem 0 1rem}details.advanced summary{cursor:pointer;color:var(--muted);font-size:.85rem;font-weight:600}.sr-status{margin:0}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--danger)}.textarea-compact{min-height:4.5rem}.textarea-story{min-height:14rem}.textarea-scene{min-height:7rem}.pipeline{background:var(--surface);border-bottom:1px solid color-mix(in srgb, var(--border) 75%, transparent);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:.5rem .75rem;padding:.45rem 1.1rem;display:flex;overflow-x:auto}.pipeline-steps{flex-wrap:nowrap;align-items:center;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.pipeline-step{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap;border-radius:999px;padding:.28rem .65rem;font-size:.68rem;font-weight:600}.pipeline-step.is-done{color:var(--text)}.pipeline-step[aria-current=step]{background:var(--accent);color:var(--on-accent)}.pipeline-join{color:var(--muted);letter-spacing:.12em;-webkit-user-select:none;user-select:none;font-size:.68rem}.story-queue{background:var(--surface);border-bottom:1px solid color-mix(in srgb, var(--border) 70%, transparent);padding:.55rem 1.1rem}.story-queue-actions{flex-wrap:wrap;align-items:center;gap:.55rem .75rem;margin-top:.45rem;display:flex}select.story-minutes{max-width:12rem}.story-clips{padding:.85rem 1.15rem 7.5rem}.scene-slot{border:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:var(--bg);border-radius:10px;margin:0 0 .65rem;padding:.7rem .8rem}.scene-fold{margin:.35rem 0 0}.scene-fold>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:.3rem .55rem;list-style:none;display:flex}.scene-fold>summary::-webkit-details-marker{display:none}.scene-beats{grid-template-columns:1fr 1fr;gap:.55rem;margin:.35rem 0 .5rem;display:grid}.scene-beat{min-width:0}.scene-beat .field{margin-bottom:.2rem}.scene-beat .zoom-thumb{margin-bottom:.3rem}.scene-beat .zoom-thumb img{max-height:7.5rem}.scene-beat-cast{flex-wrap:wrap;gap:.35rem;display:flex}.scene-beat-cast .zoom-thumb{flex:4.5rem;max-width:7rem;margin-bottom:0}.scene-beat .btn{width:100%;margin-top:.25rem}.scene-beat textarea.prompt-clip{resize:vertical;width:100%;min-height:8rem;scroll-margin-bottom:9rem;display:block}.scene-slot.is-incomplete{border-color:color-mix(in srgb, var(--danger) 55%, var(--border))}.scene-chevron{color:var(--muted);width:.85rem;font-size:.75rem}.scene-summary-title{flex:8rem;min-width:0;font-weight:600}.scene-body{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);margin-top:.65rem;padding-top:.55rem}.character-card{margin:0 0 .75rem}.character-card .last-frame-thumb{object-fit:contain;width:100%;max-height:12rem}.character-card textarea.prompt-short{min-height:4.5rem}.sample-meta{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.sample-clear{width:auto;min-height:2.75rem;padding:.25rem .65rem}.zoom-thumb{border:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:color-mix(in srgb, var(--border) 18%, transparent);cursor:zoom-in;text-align:center;border-radius:.4rem;width:100%;min-height:2.75rem;margin:0 0 .5rem;padding:.35rem;display:block}.zoom-thumb img{object-fit:contain;width:100%;max-height:12rem;margin:0 auto;display:block}.zoom-thumb-hint{color:var(--muted);margin-top:.25rem;font-size:.72rem;display:block}.zoom-dialog{width:100%;max-width:100%;height:100%;max-height:100dvh;color:var(--text);z-index:80;background:#000000e0;border:0;margin:0;padding:.75rem;position:fixed;inset:0}.zoom-dialog::backdrop{background:#000000b8}.zoom-dialog{flex-direction:column;justify-content:center;align-items:center;gap:.65rem;display:flex}.zoom-dialog img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 5.5rem)}.zoom-close{align-self:flex-end;min-height:2.75rem}.asset-library{margin:1rem 0}.asset-row{border-bottom:1px solid color-mix(in srgb, var(--border) 70%, transparent);flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .55rem;padding:.45rem 0;display:flex}.asset-check{flex:none}.asset-thumb{object-fit:cover;background:color-mix(in srgb, var(--border) 40%, transparent);border-radius:.3rem;width:2.8rem;height:2.8rem}.asset-meta{flex:10rem;min-width:0}.asset-meta .mono{margin:0 0 .25rem}.asset-maps{flex-wrap:wrap;gap:.35rem;display:flex}.asset-maps select{max-width:100%}.scene-slot+.handoff,.clip-row+.handoff{margin:.35rem 0 .45rem .4rem}.handoff{color:var(--muted);font-size:.8rem}.scene-head{flex-wrap:wrap;align-items:baseline;gap:.4rem .65rem;margin-bottom:.45rem;display:flex}.scene-index{min-width:1.1rem;font-weight:600}.scene-slot .scene-title{flex:10rem;min-width:0}.clip-row{border:1px solid color-mix(in srgb, var(--border) 75%, transparent);background:var(--surface);border-radius:10px;padding:.75rem .85rem}.clip-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .75rem;margin-bottom:.5rem;display:flex}.clip-status{margin:0}.clip-body{grid-template-columns:minmax(0,1.3fr) minmax(9rem,.7fr);align-items:start;gap:.7rem 1rem;display:grid}.clip-side .last-frame-thumb{object-fit:cover;border:1px solid color-mix(in srgb, var(--border) 80%, transparent);background:var(--bg);border-radius:8px;width:7.5rem;height:4.2rem;display:block}.clip-prompt{margin-top:.65rem}.clip-prompt textarea.prompt-clip,.scene-fold textarea.prompt-clip{min-height:12rem}.clip-actions{flex-wrap:wrap;gap:.4rem;margin-top:.5rem;display:flex}.clip-actions .btn{min-height:2.5rem}.merge-bar{margin-top:.85rem;padding:.75rem 0}.merge-result{margin-top:.85rem}.merge-bar label.check{cursor:pointer;align-items:flex-start;gap:.5rem;margin-bottom:.55rem;font-weight:600;display:flex}.merge-bar label.check input{width:auto;accent-color:var(--accent);margin-top:.2rem}.board-meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.35rem .75rem;display:flex}.scene-fold-actions{flex-wrap:wrap;gap:.35rem;display:flex}@media (max-width:899px){.pipeline{z-index:5;flex-wrap:nowrap;gap:.35rem;padding:.35rem .75rem;position:sticky;top:12rem;overflow:hidden}.pipeline-steps{-webkit-overflow-scrolling:touch;flex:auto;justify-content:space-between;min-width:0;overflow-x:auto}.pipeline-join{display:none}.pipeline-step{letter-spacing:.04em;align-items:center;min-height:2.75rem;padding:.35rem .4rem;font-size:.62rem;display:inline-flex}.story-root .pipeline .btn{flex:none;width:auto;min-width:2.75rem;min-height:2.75rem}.scene-slot .btn,.clip-actions .btn{min-height:2.75rem}.clip-body,.scene-beats{grid-template-columns:1fr}.merge-bar{z-index:4;padding:.7rem 1.15rem calc(.7rem + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);margin:.85rem -1.15rem 0;position:sticky;bottom:0}.merge-bar .btn-primary{width:100%}.character-card .btn,.character-card select,.character-card input[type=file],.zoom-close{min-height:2.75rem}.character-card .btn{width:100%}.character-card .sample-clear{width:auto}.zoom-dialog{padding:.5rem .5rem calc(.5rem + env(safe-area-inset-bottom,0px))}.zoom-dialog img{max-height:calc(100dvh - 6rem)}.story-root{padding-bottom:env(safe-area-inset-bottom,0px);overflow-x:clip}.story-root .layout{grid-template-areas:"form""job"}.story-root .job{z-index:auto;border-bottom:0;max-height:none;padding:.85rem 1.05rem 1.15rem;position:static;top:auto;overflow:visible}.story-root .layout-input .job:not(:has(.job-run)):not(:has(.form-error)){display:none}.story-root .layout-input .job{padding-bottom:1rem}.story-root .request{padding-bottom:1.15rem}.story-root .layout-input .request{padding-bottom:6.5rem}.story-root .settings-grid{grid-template-columns:1fr}.story-root .pill-row{-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:.15rem;flex-wrap:nowrap;margin-inline:-.15rem;padding-inline:.15rem;overflow-x:auto}.story-root .pill-row span{white-space:nowrap;align-items:center;min-height:2.75rem;padding:.35rem .85rem;display:flex}.story-root .dock-secondary,.story-root .job .generate-bar .hint{display:none}.story-root .scene-fold>summary{align-items:center;min-height:2.75rem}.story-root .scene-beat textarea.prompt-clip,.story-root .clip-prompt textarea.prompt-clip,.story-root .scene-fold textarea.prompt-clip{min-height:6.5rem;scroll-margin-top:12rem;scroll-margin-bottom:6.5rem}.story-root .textarea-story{min-height:8rem}.story-root .clip-actions{flex-direction:column}.story-root .clip-actions .btn,.story-root .clip-actions a.btn{width:100%}.story-root .story-clips{padding:.75rem 1.05rem 7.5rem}.story-root .story-queue-actions .btn{width:100%;min-height:2.75rem}.story-root .scene-fold-actions .btn{flex:calc(50% - .35rem);min-height:2.75rem}.merge-result{margin:.85rem 0 1rem}.merge-result .player{max-height:40dvh}}
