@import url('tokens.css');
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow-x:clip}body{font-family:var(--font-body);background:var(--paper);color:var(--ink);font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600;line-height:1.35;letter-spacing:-.03em;overflow-wrap:anywhere}h1{font-size:29px}h2{font-size:21px}h3{font-size:16px}svg{width:20px;height:20px;display:block;flex-shrink:0}button svg,a svg{pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}main:focus{outline:none}.skip-link{position:fixed;left:10px;top:-100px;z-index:99;padding:10px;background:var(--white)}.skip-link:focus{top:10px}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);border-right:1px solid var(--line);padding:34px 20px 0;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;margin:0 9px 48px}.brand-mark{width:39px;height:44px;color:var(--forest);display:grid;place-items:center}.brand-mark svg{width:38px;height:38px;stroke-width:1.6}.brand strong{font-size:23px;letter-spacing:-1px;line-height:1.1;display:block}.brand-dot{color:var(--terra)}.brand small{font-size:9px;letter-spacing:2.4px;display:block;margin-top:8px;color:var(--forest)}.workspace-label{font-size:10px;color:var(--muted);margin:0 15px 15px;letter-spacing:1.5px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 14px;border-radius:7px;color:var(--secondary);font-size:13px;white-space:nowrap;transition:background .15s}.sidebar nav a:hover{background:var(--soft)}.sidebar nav a.active{background:var(--forest);color:var(--white)}.sidebar nav a svg{width:18px;height:18px}.nav-count{margin-left:auto;font-size:10px;border-radius:4px;background:var(--soft);padding:0 6px;color:var(--secondary)}.active .nav-count{background:var(--forest-light);color:var(--white)}.sidebar-bottom{margin-top:auto}.mini-guide{margin:36px 4px 22px;padding:20px 14px;background:var(--sage);border-radius:8px}.guide-icon{display:block;margin-bottom:13px;color:var(--forest)}.mini-guide strong{font-size:12px;font-weight:600}.mini-guide p{font-size:11px;color:var(--secondary);line-height:1.9;margin:7px 0 12px}.mini-guide a{font-size:11px;font-weight:600;display:flex;justify-content:space-between;color:var(--forest)}.connection-dot{width:6px;height:6px;border-radius:50%;background:var(--muted);margin-left:auto}.connection-dot.connected{background:var(--success)}.user-profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:22px 3px;margin-top:18px}.avatar,.small-avatar{display:grid;place-items:center;border-radius:50%;background:var(--peach);color:var(--terra);font-weight:600}.avatar{width:34px;height:34px}.user-profile strong{display:block;font-size:11px}.user-profile small{font-size:10px;color:var(--muted)}.profile-dots{margin-left:auto;color:var(--muted)}.app-shell{margin-left:224px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:var(--paper)}.breadcrumb{display:flex;align-items:center;gap:16px;font-size:12px}.breadcrumb>span{color:var(--muted)}.breadcrumb strong{font-weight:500}.slash{font-size:14px;color:var(--line)!important}.topbar-right{display:flex;align-items:center;gap:20px}.demo-label{font-size:10px;color:var(--secondary);display:flex;align-items:center;gap:7px}.demo-label i{width:5px;height:5px;border-radius:100%;background:var(--terra)}.small-avatar{width:30px;height:30px;font-size:11px}.icon-button{border:0;background:transparent;padding:6px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;color:var(--secondary)}.icon-button:hover{background:var(--soft)}.icon-button svg{width:19px;height:19px}main{width:100%;max-width:1460px;margin:0 auto;padding:37px 42px 40px;flex:1}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{font-size:12px;color:var(--secondary);margin-top:8px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:var(--muted);display:block;margin-bottom:8px}.date-label{font-size:11px;letter-spacing:.5px;color:var(--muted);white-space:nowrap}.button{border:1px solid var(--line);background:var(--white);padding:10px 17px;min-height:41px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;white-space:nowrap;font-size:12px;font-weight:500;transition:background .18s,transform .18s}.button:hover{background:var(--soft)}.button:active{transform:translateY(1px)}.button svg{width:16px;height:16px}.button.primary{background:var(--forest);color:var(--white);border-color:var(--forest)}.button.primary:hover{background:var(--forest-light)}.button.terra{background:var(--terra);color:var(--white);border-color:var(--terra)}.button.terra:hover{background:var(--terra-dark)}.button.ghost{background:transparent;border-color:var(--hero-line);color:var(--white)}.button.ghost:hover{background:var(--forest-light)}.button.small{padding:7px 12px;min-height:33px;font-size:11px}.text-button{border:0;background:transparent;color:var(--secondary);font-size:12px;display:inline-flex;align-items:center;gap:8px;padding:3px 0;white-space:nowrap}.text-button svg{width:14px;height:14px}.text-button:hover{color:var(--terra)}.hero{background:var(--forest);color:var(--white);border-radius:11px;min-height:290px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr}.hero-copy{padding:35px 36px;position:relative;z-index:2}.hero .eyebrow{color:var(--mint);font-size:9px;letter-spacing:2.8px;display:flex;align-items:center;gap:8px;margin-bottom:17px}.hero .eyebrow:before{content:'';width:20px;height:1px;background:var(--mint)}.hero h2{font-size:33px;font-weight:500;line-height:1.5;letter-spacing:1px}.hero p{color:var(--mint);font-size:11px;line-height:1.9;margin:13px 0 24px}.hero-actions{display:flex;gap:12px;align-items:center}.hero-art{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;padding-right:40px;gap:12px;background:radial-gradient(ellipse at center,var(--forest-light),transparent 68%)}.hero-art:after{content:'MADE FOR YOUR MACHINE';position:absolute;bottom:19px;right:27px;color:var(--mint);font-size:7px;letter-spacing:2.6px;opacity:.65}.film-shot{width:36%;height:206px;border:4px solid var(--hero-line);border-radius:7px;position:relative;overflow:hidden;box-shadow:0 18px 24px var(--shadow);transform:rotate(-10deg);flex-shrink:0}.film-shot img{width:100%;height:100%}.film-shot:nth-child(2){height:245px;width:39%;transform:rotate(8deg);margin-left:-20px;margin-top:12px}.film-shot-label{position:absolute;bottom:10px;left:10px;right:10px;font-size:8px;letter-spacing:1px;color:var(--white);display:flex;justify-content:space-between}.hero-play{position:absolute;z-index:3;left:47%;top:47%;border:1px solid var(--hero-line);background:var(--glass);backdrop-filter:blur(7px);border-radius:50%;width:46px;height:46px;display:grid;place-items:center;color:var(--white)}.hero-play:hover{background:var(--terra)}.hero-play svg{width:17px;height:17px}.workflow-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:23px 0 28px;border-bottom:1px solid var(--line);margin-bottom:29px}.workflow-item{display:flex;align-items:center;gap:13px;position:relative}.step-number{font-family:var(--font-display);font-size:24px;color:var(--stone);line-height:1}.workflow-item strong{font-size:12px;font-weight:500}.workflow-item p{font-size:10px;color:var(--muted);margin-top:3px}.workflow-item .step-arrow{margin-left:auto;width:14px;height:14px;color:var(--stone)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.section-heading h2{font-size:17px;display:flex;gap:10px;align-items:center}.section-heading p{font-size:11px;color:var(--muted);margin-top:4px}.section-heading .subtle{font-size:10px;color:var(--muted);font-weight:400}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project-card{background:var(--white);border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0}.project-cover{height:159px;position:relative;background:var(--soft);overflow:hidden}.project-cover img{width:100%;height:100%;object-position:center 50%;transition:transform .35s}.project-card:hover .project-cover img{transform:scale(1.035)}.project-cover .badge{position:absolute;top:12px;left:12px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;background:var(--white);color:var(--forest);padding:3px 8px;border-radius:4px;white-space:nowrap}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.warm{background:var(--peach);color:var(--terra-dark)}.badge.outline{background:transparent;border:1px solid var(--line);color:var(--muted)}.cover-duration{position:absolute;bottom:10px;right:10px;background:var(--overlay);color:var(--white);padding:2px 7px;border-radius:3px;font-size:10px;font-variant-numeric:tabular-nums}.project-info{padding:15px 17px}.project-info h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-info p{font-size:10px;color:var(--muted);margin-top:5px}.project-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding-top:11px;border-top:1px solid var(--line);font-size:10px;color:var(--secondary)}.project-bottom .text-button{font-size:10px}.new-card{border:1px dashed var(--stone);border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:274px;text-align:center;background:var(--paper);transition:background .2s}.new-card:hover{background:var(--sage)}.new-card .plus-circle{width:43px;height:43px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--forest);margin-bottom:13px}.new-card strong{font-size:13px;font-weight:500}.new-card p{font-size:10px;color:var(--muted);margin-top:7px}.tip-line{display:flex;align-items:center;gap:9px;color:var(--secondary);font-size:10px;margin-top:24px}.tip-line svg{width:14px;height:14px;color:var(--terra)}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 42px;padding:17px 0 23px;color:var(--muted);font-size:9px;letter-spacing:.4px;border-top:1px solid var(--line)}.footer-dot{padding:0 7px;color:var(--terra)}.panel{background:var(--white);border:1px solid var(--line);border-radius:9px;padding:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:5px}.muted{color:var(--muted);font-size:12px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px;align-items:start}.stack{display:grid;gap:21px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:19px}.field:last-child{margin-bottom:0}.field label,.field-label{font-size:12px;font-weight:500}.field small{color:var(--muted);font-size:10px}.required{color:var(--terra)}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:5px;padding:10px 12px;background:var(--white);color:var(--ink);min-width:0;font-size:12px}textarea{resize:vertical;min-height:115px;line-height:1.8}input::placeholder,textarea::placeholder{color:var(--muted)}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.upload-zone{border:1px dashed var(--stone);border-radius:7px;background:var(--paper);padding:26px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;position:relative;cursor:pointer}.upload-zone:focus-within{outline:3px solid var(--focus);outline-offset:3px}.upload-zone.dragover{border-color:var(--forest);background:var(--sage)}.upload-zone input{position:absolute;width:1px;height:1px;opacity:0;left:50%;top:50%;padding:0}.upload-zone svg{width:24px;height:24px;color:var(--forest);margin-bottom:13px}.upload-zone strong{font-size:12px;font-weight:500}.upload-zone p{font-size:10px;color:var(--muted);margin-top:6px}.upload-zone .upload-link{color:var(--terra)}.upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:13px}.uploaded-thumb{position:relative;min-width:0}.uploaded-thumb img{width:100%;height:89px;border-radius:5px}.uploaded-thumb span{font-size:9px;display:block;color:var(--secondary);margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uploaded-thumb button{position:absolute;top:4px;right:4px;border:0;background:var(--overlay);color:var(--white);border-radius:50%;width:20px;height:20px;padding:3px}.uploaded-thumb button svg{width:14px;height:14px}.style-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.choice-card{border:1px solid var(--line);border-radius:7px;padding:13px 11px;cursor:pointer;background:var(--white);display:block;position:relative;min-width:0}.choice-card:has(input:checked){border-color:var(--forest);background:var(--sage)}.choice-card input{position:absolute;top:12px;right:9px;width:13px;height:13px;padding:0;accent-color:var(--forest)}.choice-card svg{color:var(--forest);margin-bottom:12px}.choice-card strong{font-size:11px;display:block;font-weight:500}.choice-card small{font-size:9px;display:block;color:var(--muted);margin-top:4px}.segments{display:flex;gap:8px;flex-wrap:wrap}.segment{border:1px solid var(--line);padding:7px 14px;border-radius:5px;cursor:pointer;font-size:11px;display:flex;gap:7px;align-items:center}.segment input{width:12px;height:12px;padding:0;accent-color:var(--forest)}.segment:has(input:checked){background:var(--sage);border-color:var(--forest);color:var(--forest)}details{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}summary{cursor:pointer;font-size:11px;color:var(--secondary)}.advanced-content{margin-top:16px}.summary-panel{position:sticky;top:20px}.summary-panel .preview-small{height:157px;overflow:hidden;border-radius:6px;margin-bottom:20px;position:relative}.preview-small img{width:100%;height:100%;object-position:center 45%}.preview-small .badge{position:absolute;bottom:10px;left:10px}.summary-rows{display:grid;gap:13px;margin:18px 0 24px}.summary-rows>div{display:flex;justify-content:space-between;gap:12px;font-size:11px}.summary-rows dt{color:var(--muted)}.summary-rows dd{margin:0;text-align:right}.full{width:100%}.note{font-size:10px;line-height:1.9;color:var(--muted);margin-top:12px}.inline-note{padding:12px 14px;border-radius:5px;background:var(--sage);color:var(--forest);font-size:11px;line-height:1.8;margin-top:15px}.error-note{background:var(--peach);color:var(--terra-dark)}.steps{display:flex;align-items:center;gap:13px;margin-bottom:28px;font-size:11px;color:var(--muted);flex-wrap:wrap}.steps span{display:flex;align-items:center;gap:7px;white-space:nowrap}.steps i{font-style:normal;width:23px;height:23px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:10px}.steps .current{color:var(--forest);font-weight:600}.steps .current i{background:var(--forest);border-color:var(--forest);color:var(--white)}.steps .done i{background:var(--sage);color:var(--forest);border-color:var(--sage)}.steps .connector{width:30px;height:1px;background:var(--line)}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:23px;align-items:start}.scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.scene-card{border:1px solid var(--line);border-radius:8px;padding:7px;background:var(--white);text-align:left;min-width:0;position:relative;transition:border-color .2s,transform .2s}.scene-card:hover{border-color:var(--forest);transform:translateY(-2px)}.scene-card.selected{border:2px solid var(--forest);padding:6px}.scene-image{height:216px;position:relative;overflow:hidden;border-radius:4px}.scene-image img{width:100%;height:100%;object-position:center}.scene-image .scene-no{position:absolute;left:8px;top:8px;background:var(--overlay);color:var(--white);font-size:9px;padding:2px 6px;border-radius:3px}.scene-image .scene-time{position:absolute;right:8px;bottom:7px;color:var(--white);font-size:9px;background:var(--overlay);padding:1px 5px;border-radius:3px}.scene-card h3{font-size:11px;margin:10px 3px 4px}.scene-card p{font-size:9px;margin:0 3px 7px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-card .selected-dot{position:absolute;right:14px;top:14px;width:18px;height:18px;border-radius:50%;background:var(--forest);color:var(--white);display:grid;place-items:center;font-size:10px}.editor-panel{padding:20px;position:sticky;top:20px}.editor-panel .field{margin-bottom:14px}.editor-panel textarea{min-height:85px;font-size:11px}.editor-panel h2{font-size:16px}.editor-panel .panel-heading{margin-bottom:15px}.editor-panel .mini-actions{display:flex;gap:8px;margin-bottom:17px}.mini-actions .button{flex:1;font-size:10px;padding:7px}.editor-panel .field-label{font-size:11px}.edit-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.edit-footer .text-button{font-size:10px}.story-bottom{margin-top:23px;padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line)}.story-bottom p{font-size:11px;color:var(--secondary)}.story-bottom small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.toolbar .search{max-width:280px}.filter-button{font-size:11px;border:1px solid var(--line);background:var(--white);border-radius:5px;padding:7px 13px}.filter-button.active{background:var(--forest);border-color:var(--forest);color:var(--white)}.empty-state{padding:65px 24px;text-align:center;border:1px dashed var(--stone);border-radius:8px;background:var(--white)}.empty-state>svg{margin:0 auto 18px;color:var(--forest);width:34px;height:34px}.empty-state p{color:var(--muted);font-size:12px;margin:10px 0 22px}.settings-layout{max-width:790px;display:grid;gap:22px}.settings-status{display:flex;align-items:center;gap:10px}.status-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--sage);color:var(--forest);border-radius:8px}.settings-status p{font-size:10px;color:var(--muted);margin-top:3px}.key-row{display:flex;gap:10px}.settings-link-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:15px}.settings-link-row button{font-size:11px}.key-mask{letter-spacing:3px}.help-list{display:grid;gap:14px;max-width:850px}.help-item{display:flex;gap:20px;padding:23px;background:var(--white);border:1px solid var(--line);border-radius:8px}.help-item .step-number{font-size:30px;min-width:35px}.help-item h2{font-size:16px;margin-bottom:8px}.help-item p{font-size:12px;color:var(--secondary);line-height:1.9}.progress-layout{max-width:700px;margin:34px auto;text-align:center}.progress-orb{width:72px;height:72px;border:2px solid var(--line);border-top-color:var(--forest);border-radius:50%;margin:0 auto 25px;display:grid;place-items:center;animation:spin 1.8s linear infinite}.progress-orb svg{width:28px;height:28px;color:var(--forest);animation:spin 1.8s linear infinite reverse}.progress-layout h1{font-size:26px}.progress-layout>p{font-size:12px;color:var(--muted);margin-top:12px}.progress-track{height:5px;background:var(--line);border-radius:4px;margin:30px 0 12px;overflow:hidden}.progress-track>div{height:100%;background:var(--forest);transition:width .7s;width:0}.progress-caption{display:flex;justify-content:space-between;font-size:10px;color:var(--secondary)}.progress-tasks{margin-top:30px;text-align:left;display:grid;gap:10px}.progress-task{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:var(--white);border:1px solid var(--line);border-radius:6px;font-size:12px}.progress-task small{color:var(--muted);font-size:10px}.result-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}.video-stage{border-radius:10px;background:var(--video-stage);padding:23px;display:flex;justify-content:center;position:relative}.video-stage video{width:auto;max-width:100%;height:510px;border-radius:5px}.result-panel h2{font-size:22px;line-height:1.5;margin:15px 0 8px}.result-panel .button{margin-top:11px}.success-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--forest)}.success-label svg{width:17px;height:17px}.toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translate(-50%,20px);padding:12px 22px;border-radius:7px;background:var(--ink);color:var(--white);font-size:12px;box-shadow:0 4px 25px var(--shadow);opacity:0;visibility:hidden;transition:all .2s;z-index:80;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0);visibility:visible}dialog{background:var(--paper);color:var(--ink);border:0;border-radius:12px;padding:23px;max-width:520px;width:calc(100% - 32px);max-height:calc(100vh - 40px);box-shadow:0 20px 70px var(--shadow)}dialog::backdrop{background:var(--overlay);backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-header h2{font-size:18px}.dialog-header .eyebrow{font-size:8px;margin-bottom:3px}dialog video{width:100%;max-height:57vh;background:var(--video-stage);border-radius:5px}dialog p{font-size:10px!important;margin:12px 0}dialog .button{width:100%}.file-list{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}.file-chip{font-size:10px;background:var(--sage);color:var(--forest);padding:5px 9px;border-radius:4px;max-width:100%;overflow-wrap:anywhere}.inline-upload{cursor:pointer;display:flex;align-items:center;gap:7px;font-size:10px;color:var(--forest);position:relative}.inline-upload input{width:1px;height:1px;position:absolute;opacity:0}.inline-upload:focus-within{outline:3px solid var(--focus);outline-offset:3px}.inline-upload svg{width:14px;height:14px}.product-table-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:22px;align-items:center;background:var(--white);padding:18px;border:1px solid var(--line);border-radius:8px;margin-bottom:13px}.product-table-item img{width:90px;height:105px;border-radius:5px}.product-table-item h2{font-size:16px}.product-table-item p{font-size:11px;color:var(--muted);margin:7px 0 11px}.product-table-item .actions{display:flex;gap:9px;align-items:center}.scene-utility{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}.scene-utility .button{font-size:10px}.draft-warning{font-size:10px;color:var(--terra-dark);margin-top:8px}.page-enter{animation:enter .3s ease both}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){main{padding-top:45px}.hero{min-height:330px}.hero-copy{padding:42px}.hero h2{font-size:39px}.film-shot{height:235px}.film-shot:nth-child(2){height:275px}.project-cover{height:190px}.scene-image{height:290px}}
@media(max-width:1190px){.sidebar{width:192px;padding-left:14px;padding-right:14px}.brand{margin-left:5px}.brand strong{font-size:21px}.brand-mark{width:32px}.brand-mark svg{width:32px}.app-shell{margin-left:192px}.topbar{padding:0 28px}main{padding:28px}.app-footer{margin:0 28px}.hero-copy{padding:30px}.hero h2{font-size:28px}.hero-art{padding-right:20px}.film-shot{width:43%;height:190px}.film-shot:nth-child(2){width:45%;height:222px}.hero .button{padding:9px 12px}.hero p{font-size:10px}.form-layout{grid-template-columns:minmax(0,1fr) 255px;gap:18px}.panel{padding:20px}.story-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-image{height:208px}.toast{left:calc(50% + 96px)}.result-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:950px){.sidebar{width:172px;padding-left:10px;padding-right:10px}.app-shell{margin-left:172px}.brand{gap:7px}.brand strong{font-size:19px}.brand small{font-size:7px}.sidebar nav a{font-size:11px;padding:11px 10px;gap:9px}.mini-guide{padding:16px 11px}.mini-guide strong{font-size:11px}.mini-guide p{font-size:10px}.hero-copy{padding:28px 23px}.hero h2{font-size:24px}.hero{min-height:277px;grid-template-columns:1.1fr .9fr}.hero-art{padding-right:10px;gap:5px}.film-shot{height:175px}.film-shot:nth-child(2){height:205px}.hero-actions{gap:7px}.hero .button{font-size:10px;padding:9px 10px}.project-grid{gap:13px}.project-info{padding:12px}.project-info h3{font-size:12px}.project-cover{height:140px}.new-card{min-height:257px}.workflow-strip{gap:14px}.workflow-item{gap:8px}.workflow-item strong{font-size:11px}.workflow-item p{font-size:9px}.step-number{font-size:21px}.workflow-item .step-arrow{display:none}.form-layout{grid-template-columns:minmax(0,1fr)}.summary-panel{position:static}.summary-panel .preview-small{display:none}.summary-rows{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}.story-layout{grid-template-columns:minmax(0,1fr)}.scene-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-image{height:230px}.editor-panel{position:static}.result-layout{grid-template-columns:minmax(0,1fr)}.result-panel{max-width:none}.video-stage video{height:440px}.product-table-item{grid-template-columns:70px minmax(0,1fr);gap:15px}.product-table-item img{width:70px;height:90px}.product-table-item .actions{grid-column:1/-1;justify-content:flex-end}.toast{left:calc(50% + 86px)}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 20px 10px;border-right:0;border-bottom:1px solid var(--line);display:block}.brand{margin:0 0 15px;gap:8px;width:max-content}.brand strong{font-size:21px}.brand small{font-size:7px;margin-top:4px}.brand-mark{height:33px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:6px;justify-content:space-between}.sidebar nav a{flex:1;justify-content:center;font-size:11px;padding:9px 7px;min-height:39px;gap:7px}.sidebar nav a svg{width:16px;height:16px}.nav-count{display:none}.app-shell{margin-left:0}.topbar{height:56px;padding:0 22px}.topbar-right{gap:12px}.small-avatar{display:none}.breadcrumb{font-size:10px;gap:11px}.demo-label{font-size:9px}main{padding:27px 22px}.page-heading{margin-bottom:22px;align-items:center}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.date-label{display:none}.hero{grid-template-columns:1.1fr .9fr}.hero-copy{padding:27px 25px}.hero h2{font-size:26px}.hero p{font-size:10px}.hero-art{padding-right:20px}.film-shot{height:183px}.film-shot:nth-child(2){height:218px}.hero .eyebrow{font-size:8px}.hero-art:after{font-size:6px}.workflow-strip{gap:10px}.workflow-item{gap:8px;align-items:flex-start}.workflow-item p{max-width:130px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.new-card{min-height:120px;grid-column:1/-1;flex-direction:row;gap:13px}.new-card .plus-circle{margin-bottom:0;width:34px;height:34px}.new-card p{margin:0}.project-cover{height:168px}.app-footer{margin:0 22px;font-size:8px;flex-wrap:wrap;gap:5px}.toast{left:50%}.scene-image{height:220px}.result-layout{gap:20px}.settings-link-row{gap:14px}}
@media(max-width:510px){.hero{grid-template-columns:minmax(0,1fr);min-height:0}.hero-copy{padding:27px 24px}.hero h2{font-size:28px}.hero p{font-size:11px;margin-bottom:21px}.hero .button{font-size:11px}.hero-art{display:none}.hero-copy:after{content:'BREW';position:absolute;right:-6px;bottom:12px;font-family:var(--font-display);font-size:80px;opacity:.04;pointer-events:none}.workflow-strip{grid-template-columns:minmax(0,1fr);gap:18px;padding:23px 0}.workflow-item{align-items:center;gap:16px}.workflow-item p{max-width:none;font-size:10px;margin:0}.workflow-item strong{font-size:12px}.workflow-item .step-arrow{display:block}.step-number{font-size:24px}.project-grid{grid-template-columns:minmax(0,1fr)}.project-cover{height:195px}.project-info{padding:16px}.project-info h3{font-size:14px}.project-info p,.project-bottom,.project-bottom .text-button{font-size:11px}.new-card{flex-direction:column;gap:8px;min-height:150px}.tip-line{align-items:flex-start;font-size:10px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:13px}.page-heading h1{font-size:25px}.page-heading .button{min-height:36px;font-size:11px}.form-row{grid-template-columns:minmax(0,1fr);gap:0}.panel{padding:19px 16px}.style-options{gap:7px}.choice-card{padding:13px 9px}.choice-card small{font-size:8px}.choice-card input{right:6px}.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uploaded-thumb img{height:130px}.summary-rows{grid-template-columns:minmax(0,1fr)}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scene-image{height:218px}.steps{gap:7px;font-size:10px}.steps .connector{width:10px}.steps i{width:20px;height:20px}.story-bottom{align-items:flex-start;flex-direction:column}.story-bottom>.button{width:100%}.scene-card h3{font-size:11px}.scene-card p{font-size:9px}.toolbar .search{max-width:none}.key-row{flex-direction:column}.settings-status{align-items:flex-start}.settings-status h2{font-size:14px}.settings-status p{font-size:9px}.help-item{padding:18px 16px;gap:14px}.help-item p{font-size:11px}.video-stage{padding:15px}.video-stage video{height:auto;max-height:510px;width:100%}.product-table-item h2{font-size:14px}.product-table-item p{font-size:10px}.product-table-item .actions{justify-content:flex-start}.progress-layout{margin:24px auto}.progress-layout h1{font-size:22px}.progress-task{font-size:11px}.section-heading h2{font-size:16px}.section-heading .text-button{font-size:10px}.style-options strong{font-size:10px}}
@media(max-width:360px){main{padding:23px 16px}.sidebar{padding:14px 16px 10px}.topbar{padding:0 16px}.topbar-right{gap:7px}.scene-image{height:176px}.steps{gap:5px;font-size:9px}.steps span{gap:4px}.steps .connector{width:7px}.app-footer{margin:0 16px}.hero-copy{padding:25px 20px}.hero h2{font-size:26px}.sidebar nav a{font-size:10px;gap:5px}.choice-card small{font-size:8px}.choice-card svg{width:18px}.segment{padding:7px 10px}.scene-utility .button{padding:7px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
