:root{color-scheme:light;--bg: #f1f4f5;--surface: #fafbf9;--surface-soft: #f5f7f6;--surface-quiet: #e9eff1;--ink: #2b343b;--muted: #68757d;--quiet: #89949a;--line: #d7dfe2;--line-strong: #bdc9ce;--accent: #6c9aaa;--accent-strong: #557f8e;--accent-soft: #dcebef;--dark: #3d4b56;--teal: #557f8e;--blue: #8ab4c2;--coral: #c98274;--red: #a95750;--success-bg: #e2ece5;--success-text: #45624e;--warning-bg: #eee9da;--warning-text: #6b5c35;--danger-bg: #efdfdc;--danger-text: #764945;--shadow: 0 18px 46px rgba(45, 59, 68, .1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{border:0}.app-shell{min-height:100vh;display:grid;grid-template-columns:268px minmax(0,1fr)}.main-shell{min-width:0;padding:24px}.sidebar{position:sticky;top:0;display:grid;grid-template-rows:auto 1fr auto;gap:22px;height:100vh;padding:18px 14px;background:var(--dark);color:#edf1f2}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.mobile-navigation-toggle{display:none;place-items:center;width:42px;height:42px;flex:none;border:1px solid rgba(237,241,242,.16);border-radius:8px;background:#edf1f212;color:#edf1f2;cursor:pointer}.side-nav{display:grid;align-content:start;gap:14px;min-width:0;min-height:0;overflow-y:auto;scrollbar-width:thin}.nav-section{display:grid;gap:6px;min-width:0}.nav-section-title{display:block;padding:0 12px 2px;color:#9aa8b0;font-size:11px;font-weight:900;letter-spacing:.08em}.side-nav button,.logout-button{display:flex;align-items:center;width:100%;min-height:42px;gap:10px;padding:0 12px;border-radius:8px;background:transparent;color:#d2dadd;cursor:pointer;font-size:14px;font-weight:800;text-align:left}.side-nav button:hover,.logout-button:hover{background:#dcebef1a;color:#f7f9f9}.side-nav button.is-active{background:var(--accent-soft);color:#25353d}.side-nav button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{border:1px solid rgba(237,241,242,.16)}.topbar{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr) 42px;align-items:center;gap:14px;max-width:1180px;min-height:76px;margin:0 auto;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.brand,.login-brand,.nav-tabs,.primary-button,.secondary-button,.icon-button,.small-icon,.inline-actions,.step-item,.url-fill,.search-line,.selected-product,.template-option,.result-actions,.generate-button{display:flex;align-items:center}.brand{gap:12px;min-width:0}.login-brand{gap:12px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--accent-strong);color:#f7faf9}.brand strong,.brand span{display:block}.brand strong{font-size:15px;line-height:1.2}.brand span{margin-top:3px;color:#aeb8be;font-size:12px}.nav-tabs{justify-content:center;gap:6px;min-width:0}.nav-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:92px;padding:0 13px;border-radius:8px;background:var(--surface-quiet);color:var(--muted);cursor:pointer;font-size:13px;font-weight:800;white-space:nowrap;transition:background .16s ease,color .16s ease}.nav-tabs button.is-active{background:var(--accent-soft);color:#34464f}.page-wrap{max-width:1180px;margin:0 auto}.workspace-topbar{display:flex;align-items:center;justify-content:space-between;max-width:1180px;min-height:58px;gap:18px;margin:0 auto 16px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 24px #1115200a}.workspace-breadcrumb,.workspace-top-actions{display:flex;align-items:center;gap:8px}.workspace-breadcrumb{min-width:0;color:var(--muted);font-size:13px}.workspace-breadcrumb strong{overflow:hidden;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}.workspace-top-actions{flex:none}.guide-open-button{color:var(--accent-strong)}.guide-open-button svg{flex:none}.login-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:clamp(24px,6vw,72px);background:radial-gradient(circle at 18% 16%,rgba(255,255,255,.88),transparent 32%),radial-gradient(circle at 82% 84%,rgba(198,218,224,.55),transparent 40%),linear-gradient(135deg,#f3f5f3,#e7edef),var(--bg)}.login-panel{position:relative;display:grid;width:min(468px,100%);gap:20px;overflow:hidden;padding:32px;border:1px solid #d3dcdf;border-radius:14px;background:#fafbf9f5;box-shadow:0 24px 70px #2f3d461f}.login-panel:before{position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--accent-strong),var(--blue));content:""}.login-brand{gap:14px;margin-bottom:0;padding-bottom:18px;border-bottom:1px solid var(--line)}.login-panel .brand-mark{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:12px}.login-panel .brand-mark svg{display:block}.login-brand strong,.login-brand span{display:block}.login-brand strong{font-size:21px;line-height:1.2}.login-brand span{margin-top:4px;color:var(--muted);font-size:13px}.login-panel>label{gap:8px;color:#4e5a62;font-size:13px}.login-input{display:flex;align-items:center;height:48px;gap:10px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fdfefd;color:var(--quiet);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.login-input:focus-within{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px #6c9aaa33}.login-input svg{flex:none}.login-input input{height:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.login-input input:focus{border:0;box-shadow:none}.login-panel .primary-button{min-height:48px;margin-top:2px;font-size:14px}.login-error{min-height:34px;display:flex;align-items:center;padding:0 10px;border:1px solid #f6c7c0;border-radius:8px;background:#fff4f2;color:var(--red);font-size:13px;font-weight:800}.step-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.step-item{min-height:48px;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fafbf9cc;color:var(--muted)}.step-item span{display:grid;place-items:center;width:25px;height:25px;border-radius:999px;background:var(--surface-quiet);color:var(--ink);font-size:12px;font-weight:900}.step-item strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.step-item.is-done{border-color:#bdd2d9}.step-item.is-current{background:var(--accent-soft);color:var(--ink)}.step-item.is-current span{background:var(--accent-strong);color:#fff}.work-surface{padding:22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 12px 34px #1115200d}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.page-heading h1,.page-heading h2,.page-heading p,.modal-header h2,.modal-header p{margin:0}.page-heading h1{margin-top:5px;font-size:28px;line-height:1.12;letter-spacing:0}.page-heading p{margin-top:8px;max-width:620px;color:var(--muted);font-size:14px;line-height:1.55}.eyebrow{color:var(--quiet);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.primary-button,.secondary-button,.icon-button,.small-icon,.generate-button,.card-actions button,.result-actions button{cursor:pointer;border-radius:8px;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}.primary-button,.secondary-button{justify-content:center;min-height:40px;gap:8px;padding:0 14px;font-size:13px;font-weight:800;white-space:nowrap}.link-button{text-decoration:none}.primary-button{background:var(--accent-strong);color:#fff}.primary-button:hover,.generate-button:hover:not(:disabled){background:#486f7d}.secondary-button,.icon-button,.small-icon{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.topbar .icon-button{border-color:#ffffff2e;background:#ffffff14;color:#fff}.secondary-button:hover,.icon-button:hover,.small-icon:hover,.card-actions button:hover,.result-actions button:hover{border-color:var(--line-strong);background:var(--surface-quiet)}.primary-button:disabled,.secondary-button:disabled,.generate-button:disabled{cursor:not-allowed;opacity:.58}.icon-button,.small-icon{justify-content:center;width:40px;height:40px}.small-icon{width:30px;height:30px}.product-form{display:grid;gap:18px}.runtime-notice{display:grid;gap:4px;padding:12px 14px;border:1px solid #f2cf82;border-radius:8px;background:#fff8df;color:#73510d;font-size:13px;line-height:1.5}.product-form-section{display:grid;gap:16px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.creation-method-section{background:var(--surface)}.method-badge{flex:none;padding:6px 9px;border-radius:999px;background:var(--accent-soft);color:#426473;font-size:11px;font-weight:900}.creation-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.creation-method-card{display:grid;align-content:start;gap:7px;min-height:140px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left}.creation-method-card:hover{border-color:var(--line-strong);background:var(--surface-quiet)}.creation-method-card.is-active{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px #6c9aaa33}.creation-method-card svg{color:var(--accent-strong)}.creation-method-card strong{font-size:14px}.creation-method-card span,.creation-method-panel span{color:var(--muted);font-size:12px;line-height:1.55}.creation-method-panel{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.upload-method-panel{display:flex;align-items:center;justify-content:space-between;gap:16px}.upload-method-workspace{display:grid;gap:14px}.upload-method-panel>div,.manual-method-panel{display:grid;gap:5px}.upload-preview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,180px));gap:10px}.upload-preview-strip figure{display:grid;grid-template-rows:130px auto;min-width:0;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.upload-preview-strip figure.is-primary{border-color:var(--accent);box-shadow:inset 0 0 0 1px #6c9aaa2e}.upload-preview-strip img{display:block;width:100%;height:130px;object-fit:contain;background:var(--surface-quiet)}.upload-preview-strip figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:6px 8px;border-top:1px solid var(--line);font-size:12px;font-weight:900}.upload-preview-empty{grid-column:1 / -1;display:flex;align-items:center;gap:10px;min-height:72px;padding:14px;border:1px dashed var(--line-strong);border-radius:8px;color:var(--muted);background:var(--surface)}.product-image-recognition-panel{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.product-image-recognition-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-image-recognition-heading>div{display:grid;gap:3px;min-width:0}.product-image-recognition-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recognition-safety-note{padding:10px 12px;border-left:3px solid #d4a464;border-radius:6px;color:var(--ink);background:#fff8ec;font-size:12px;line-height:1.55}.recognition-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recognition-observations,.recognition-uncertainties{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.recognition-observations>div{display:flex;flex-wrap:wrap;gap:6px}.recognition-observations>div>span{padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--ink);background:var(--surface)}.recognition-observations small,.recognition-uncertainties span{color:var(--muted);line-height:1.55}.recognition-uncertainties{border-color:#ead7c8;background:#fff9f4}.url-method-panel{display:grid;gap:14px}.product-identity-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.product-identity-strip>div{display:grid;gap:4px;min-width:0}.product-identity-strip span,.variant-card-header span{color:var(--quiet);font-size:11px;font-weight:900;letter-spacing:.04em}.product-identity-strip strong{overflow-wrap:anywhere;font-size:13px}.is-pending{color:#9a5b00!important}.is-reviewed{color:#21745a!important}.url-fill{justify-content:space-between;align-items:end;gap:12px;padding:16px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface-soft)}.url-fill>div{display:grid;flex:1;gap:9px;min-width:0}.url-fill span{color:var(--muted);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.url-fill label{color:var(--ink);font-size:13px;font-weight:900}.url-fill small{color:var(--muted);font-size:12px;line-height:1.45}.product-page-import-panel{display:grid;gap:16px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.product-page-status{flex:none;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.product-page-status.is-review{background:#fff1cf;color:#8a5700}.product-page-status.is-ready{background:#dff7ed;color:#176a50}.product-page-status.is-error{background:#fee9e6;color:var(--red)}.product-page-steps,.product-page-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-page-steps>div{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;color:var(--quiet);font-size:12px}.product-page-steps>div>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--surface-quiet);font-size:11px;font-weight:900}.product-page-steps>div.is-active{border-color:#e5bf5f;background:#fffaf0;color:#7c5700}.product-page-steps>div.is-complete{border-color:#a8d8c8;background:#f1fbf7;color:#176a50}.product-page-steps>div.is-complete>span{background:#d4f3e7}.product-page-loading,.product-page-alert,.product-page-empty,.product-page-continue{display:flex;align-items:center;gap:10px;padding:12px;border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:13px}.product-page-alert.is-error{align-items:flex-start;border:1px solid #f1bbb4;background:#fff4f2;color:var(--red)}.product-page-alert>div,.product-page-continue>div{display:grid;gap:3px}.product-page-alert span,.product-page-continue span{line-height:1.45}.product-page-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.product-page-facts>div{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.product-page-facts span,.product-page-section-title span{color:var(--quiet);font-size:11px;font-weight:800}.product-page-facts strong{overflow-wrap:anywhere;font-size:13px}.product-page-section{display:grid;gap:10px;padding-top:2px}.product-page-section-title{display:flex;justify-content:space-between;gap:12px}.product-page-section-title>div{display:grid;gap:3px}.product-page-field-grid,.product-page-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-page-field-grid article,.product-page-candidate-grid article{min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.product-page-field-grid article{display:grid;align-content:start;gap:7px}.product-page-field-heading,.candidate-copy>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-page-field-heading span,.candidate-copy>div:first-child span{flex:none;font-size:10px;font-weight:900}.confidence-high{color:#176a50}.confidence-medium{color:#916000}.confidence-low{color:var(--red)}.product-page-field-grid p,.candidate-copy p{margin:0;overflow-wrap:anywhere;font-size:13px;line-height:1.45}.product-page-field-grid small,.candidate-copy small,.field-no-target{color:var(--quiet);font-size:11px;line-height:1.45}.text-action{width:fit-content;padding:0;background:transparent;color:#176a50;cursor:pointer;font-size:12px;font-weight:900}.product-page-candidate-grid article{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px}.candidate-placeholder{display:grid;place-items:center;align-content:center;gap:5px;min-height:96px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface);color:var(--quiet);font-size:11px;font-weight:900}.candidate-preview{position:relative;min-height:96px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.candidate-preview img{display:block;width:100%;height:100%;min-height:96px;object-fit:contain}.candidate-preview span{position:absolute;right:5px;bottom:5px;padding:3px 6px;border-radius:999px;background:#176a50e6;color:#fff;font-size:9px;font-weight:900}.candidate-copy{display:grid;align-content:start;gap:7px;min-width:0}.candidate-copy .secondary-button{width:fit-content;min-height:34px;padding:0 10px;font-size:11px}.candidate-success,.candidate-error{display:flex;align-items:flex-start;gap:5px;overflow-wrap:anywhere;font-size:11px;line-height:1.4}.candidate-success{color:#176a50}.candidate-error{color:var(--red)}.product-page-continue{justify-content:space-between;border:1px solid #a8d8c8;background:#f1fbf7}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}label{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:900}.wide-field{grid-column:span 2}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:14px;line-height:1.45;outline:none}input,select{height:42px;padding:0 12px}textarea{min-height:96px;resize:vertical;padding:10px 12px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #6c9aaa33}input[readonly]{background:var(--surface-quiet);color:var(--quiet)}.variant-editor{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.section-heading-row,.variant-card-header,.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading-row h2{margin:4px 0 5px;font-size:18px}.section-heading-row p{max-width:720px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}.variant-list{display:grid;gap:10px}.variant-card{display:grid;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.variant-card.is-disabled{background:var(--surface-quiet)}.variant-card-header>div:first-child{display:grid;gap:3px}.variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bundle-editor{display:grid;gap:12px;padding:14px;border:1px solid #cfd9c9;border-radius:8px;background:#f8fbf2}.bundle-editor-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.bundle-editor-heading>div{display:grid;gap:4px}.bundle-editor-heading p,.legacy-package-editor p{max-width:760px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.bundle-item-list,.legacy-package-editor{display:grid;gap:10px}.bundle-item-row{display:grid;grid-template-columns:34px minmax(140px,1.25fr) repeat(3,minmax(105px,.7fr)) minmax(150px,1fr) 36px;align-items:end;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.bundle-item-index{display:grid;place-items:center;width:30px;height:30px;align-self:end;margin-bottom:4px;border-radius:999px;background:var(--accent-soft);color:#426473;font-size:12px;font-weight:900}.bundle-item-row output{grid-column:2 / -2;color:#176a50;font-size:12px;font-weight:900}.bundle-empty-state,.bundle-summary{display:grid;gap:5px;padding:12px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface)}.bundle-empty-state span,.bundle-summary span{color:var(--muted);font-size:12px;line-height:1.45}.bundle-summary{border-style:solid;border-color:#b9d5a3;background:#f2fae9}.compact-actions{flex-wrap:nowrap;margin-top:0}.reference-row{display:grid;grid-template-columns:minmax(0,.84fr) minmax(260px,.72fr);gap:18px;align-items:center;padding-top:4px}.reference-copy h2,.product-card h2{margin:5px 0 8px;font-size:20px;line-height:1.2}.reference-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.inline-actions{flex-wrap:wrap;gap:8px;margin-top:14px}.reference-frame{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.reference-frame img{display:block;width:100%;aspect-ratio:876 / 479;object-fit:cover}.reference-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.reference-gallery figure{display:grid;grid-template-rows:1fr auto;min-width:0;min-height:190px;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.reference-gallery figure.is-primary{border-color:#bdd2d9;box-shadow:inset 0 0 0 2px #6c9aaa38}.reference-gallery img{display:block;width:100%;height:150px;object-fit:cover}.reference-gallery figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;padding:6px 8px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:900}.reference-gallery .reference-placeholder{grid-column:1 / -1}.reference-placeholder,.image-placeholder{display:grid;place-items:center;gap:7px;min-height:190px;padding:22px;color:var(--muted);text-align:center}.reference-placeholder svg,.image-placeholder svg{color:var(--teal)}.reference-placeholder strong,.reference-placeholder span,.image-placeholder span{display:block}.reference-placeholder strong{color:var(--ink);font-size:14px}.reference-placeholder span,.image-placeholder span{max-width:240px;font-size:12px;line-height:1.45}.hidden-file{display:none}.page-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.search-line{flex:1;min-width:220px;height:42px;gap:9px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--quiet)}.library-toolbar{align-items:stretch}.review-filter-actions{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.review-filter-actions button{padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:900}.review-filter-actions button.is-active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #1a23311f}.search-line input{height:100%;min-width:0;padding:0;border:0;box-shadow:none}.product-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.product-list-loading{display:flex;align-items:center;justify-content:center;gap:8px}.product-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.product-pagination>span{color:var(--muted);font-size:12px;font-weight:800}.product-pagination>div{display:flex;gap:8px}.product-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:88px;height:36px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:900}.product-pagination button:disabled{cursor:not-allowed;opacity:.45}.product-card{display:grid;grid-template-rows:auto 1fr auto;min-height:330px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.product-card>.product-visual{width:100%;aspect-ratio:2 / 1;border-bottom:1px solid var(--line)}.product-visual{display:grid;overflow:hidden;background:var(--surface-soft)}.product-visual img{display:block;width:100%;height:100%;object-fit:cover}.product-visual .image-placeholder{min-height:100%}.image-placeholder.is-loading,.image-loading{display:grid;place-items:center;gap:8px;color:var(--quiet);font-size:13px;font-weight:800}.product-card>.product-body{padding:14px}.product-card span{color:var(--quiet);font-size:12px;font-weight:900}.product-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.product-identifiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}.product-identifiers div{min-width:0;padding:8px;border-radius:6px;background:var(--surface-soft)}.product-identifiers dt{color:var(--quiet);font-size:10px;font-weight:900}.product-identifiers dd{overflow:hidden;margin:3px 0 0;color:var(--ink);font-size:12px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.tag-row em{padding:5px 8px;border-radius:999px;background:var(--surface-quiet);color:var(--muted);font-size:11px;font-style:normal;font-weight:900}.card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}.product-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:36px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px;font-weight:900}.card-actions .danger-button{border-color:#f0b7b7;color:#a43a3a}.page-heading-actions{margin-top:0}.source-assets-page{display:grid;gap:18px}.source-assets-page>.page-heading{margin-bottom:0}.source-product-strip,.source-upload-panel,.source-library-panel{border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.source-product-strip{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,2fr);gap:16px;padding:14px}.source-product-strip>label,.source-upload-fields label,.source-asset-editor label{display:grid;gap:6px;min-width:0}.source-product-strip label>span,.source-upload-fields label>span,.source-asset-editor label>span{color:var(--muted);font-size:11px;font-weight:900}.source-product-strip select,.source-upload-fields input,.source-upload-fields select,.source-asset-filters input,.source-asset-filters select,.source-asset-editor input,.source-asset-editor select,.source-asset-editor textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.source-product-strip select,.source-upload-fields input,.source-upload-fields select,.source-asset-filters input,.source-asset-filters select,.source-asset-editor input,.source-asset-editor select{height:40px;padding:0 10px}.source-product-strip dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.source-product-strip dl>div{min-width:0;padding:8px 10px;border-radius:7px;background:var(--surface)}.source-product-strip dt{color:var(--quiet);font-size:10px;font-weight:900}.source-product-strip dd{overflow:hidden;margin:4px 0 0;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.source-upload-panel,.source-library-panel{padding:16px}.source-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.source-section-heading h2,.source-section-heading p{margin:0}.source-section-heading h2{font-size:17px}.source-section-heading p{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5}.source-upload-fields{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(240px,1fr) minmax(240px,1.25fr);gap:10px;margin-top:14px}.source-upload-list{display:grid;gap:8px;margin-top:12px}.source-upload-item{display:grid;grid-template-columns:34px minmax(140px,1fr) minmax(110px,.75fr) minmax(120px,.8fr) auto;align-items:center;gap:10px;min-height:54px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.source-upload-item.is-error{border-color:#efb5ad;background:#fff8f6}.source-upload-kind{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:var(--surface-quiet);color:var(--teal)}.source-upload-item>div:nth-child(2){min-width:0}.source-upload-item strong,.source-upload-item span{display:block}.source-upload-item strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.source-upload-item>div:nth-child(2) span,.source-upload-status{margin-top:3px;color:var(--muted);font-size:11px}.source-upload-progress{height:6px;overflow:hidden;border-radius:999px;background:var(--surface-quiet)}.source-upload-progress i{display:block;height:100%;border-radius:inherit;background:var(--teal);transition:width .16s ease}.source-upload-item button{min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:11px;font-weight:900}.source-upload-empty{display:grid;place-items:center;gap:5px;width:100%;min-height:118px;margin-top:12px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface);color:var(--muted)}.source-upload-empty svg{color:var(--teal)}.source-upload-empty strong{color:var(--ink);font-size:13px}.source-upload-empty span{font-size:11px}.source-asset-filters{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(170px,1fr) minmax(145px,.8fr) minmax(130px,.7fr) auto auto;gap:8px;margin-top:14px}.source-asset-filters .secondary-button{min-width:68px}.source-assets-loading{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px}.source-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.source-asset-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.source-asset-card.is-disabled{background:#fafafa}.source-asset-card.is-disabled .source-asset-preview{opacity:.58}.source-asset-preview{position:relative;display:grid;aspect-ratio:4 / 3;overflow:hidden;border-bottom:1px solid var(--line);background:var(--surface-quiet)}.source-asset-preview img{display:block;width:100%;height:100%;object-fit:contain}.source-video-placeholder{display:grid;place-items:center;align-content:center;gap:8px;color:var(--muted);font-size:11px}.source-video-placeholder svg{color:var(--teal)}.source-primary-badge{position:absolute;z-index:1;top:9px;left:9px;padding:5px 7px;border-radius:999px;background:var(--accent);color:var(--dark);font-size:10px;font-weight:900}.source-asset-body{display:grid;gap:10px;padding:12px}.source-asset-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.source-asset-title>div{min-width:0}.source-asset-title strong,.source-asset-title>div span{display:block}.source-asset-title strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.source-asset-title>div span{margin-top:4px;color:var(--quiet);font-size:10px}.source-asset-title>span,.source-asset-tags span{padding:4px 6px;border-radius:999px;background:var(--surface-quiet);color:var(--muted);font-size:10px;font-weight:900;white-space:nowrap}.source-asset-title>span.is-enabled{background:#e7f8ef;color:#18734a}.source-asset-title>span.is-disabled{background:#f4e9e7;color:#974436}.source-asset-tags{display:flex;flex-wrap:wrap;gap:5px}.source-asset-body>p{min-height:32px;margin:0;color:var(--muted);font-size:11px;line-height:1.45}.source-asset-actions,.source-editor-actions{display:flex;flex-wrap:wrap;gap:6px}.source-asset-actions button,.source-asset-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:900;text-decoration:none}.source-asset-actions button:disabled{cursor:not-allowed;opacity:.45}.source-asset-editor{display:grid;grid-template-columns:1fr 1fr;gap:8px}.source-asset-editor textarea{min-height:70px;resize:vertical;padding:8px 10px}.source-asset-note,.source-enabled-toggle,.source-editor-actions{grid-column:1 / -1}.source-enabled-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:center;justify-content:flex-start;color:var(--muted);font-size:11px;font-weight:900}.source-enabled-toggle input{width:16px;height:16px}.cutout-dialog-backdrop{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:24px;background:#0f172a94}.cutout-dialog{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(980px,100%);max-height:calc(100vh - 48px);overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 24px 70px #0f172a40}.cutout-dialog>header,.cutout-dialog>footer{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px}.cutout-dialog>header{border-bottom:1px solid var(--line)}.cutout-dialog>header h2{margin:3px 0 0;font-size:20px}.cutout-dialog>header p{margin:5px 0 0;color:var(--muted);font-size:12px}.cutout-dialog>header>button{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.cutout-safety-note{display:grid;gap:4px;margin:16px 20px 0;padding:12px 14px;border:1px solid #e7d294;border-radius:8px;background:#fffaf0;color:#715b1c;font-size:12px;line-height:1.5}.cutout-dialog-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}.cutout-target-selector{display:grid;gap:11px;margin:14px 20px 0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfb}.cutout-target-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.cutout-target-heading>div:first-child{display:grid;gap:4px;min-width:0}.cutout-target-heading strong{color:var(--ink);font-size:13px}.cutout-target-heading span,.cutout-target-instruction,.cutout-target-full-note,.cutout-target-warning,.cutout-target-error{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.cutout-target-modes{display:flex;flex:0 0 auto;gap:6px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.cutout-target-modes button,.cutout-target-status button{border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;font-weight:900}.cutout-target-modes button{min-height:30px;padding:6px 10px}.cutout-target-modes button.is-active{background:var(--ink);color:#fff}.cutout-mask-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.cutout-mask-tools,.cutout-mask-sizes{display:flex;align-items:center;gap:6px}.cutout-mask-tools button,.cutout-mask-sizes button{min-height:30px;padding:5px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:900}.cutout-mask-tools button.is-keep-active{border-color:#17895f;background:#e7f8f0;color:#126544}.cutout-mask-tools button.is-exclude-active{border-color:#d14d40;background:#fff0ed;color:#a6382d}.cutout-mask-sizes>span{color:var(--muted);font-size:11px;font-weight:800}.cutout-mask-sizes button{width:31px;padding:5px}.cutout-mask-sizes button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}.cutout-target-instruction{padding:9px 10px;border-left:3px solid var(--accent);background:var(--accent-soft);color:#3e5512}.cutout-region-stage{display:flex;justify-content:center;overflow:auto;min-height:160px;max-height:300px;padding:10px;border:1px dashed #b9c2bd;border-radius:9px;background:#edf0ee}.cutout-region-canvas{position:relative;display:inline-block;align-self:flex-start;max-width:100%;overflow:hidden;border-radius:6px;cursor:crosshair;line-height:0;touch-action:none;-webkit-user-select:none;user-select:none}.cutout-region-canvas.is-disabled{cursor:wait;opacity:.72}.cutout-region-canvas.is-mask-mode{cursor:none}.cutout-region-canvas>img{display:block;width:auto;max-width:100%;height:auto;max-height:278px;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.cutout-mask-overlay{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.cutout-mask-overlay path{fill:none;stroke-linecap:round;stroke-linejoin:round}.cutout-mask-overlay .is-keep{fill:#10b98166;stroke:#10b98194}.cutout-mask-overlay .is-exclude{fill:#ef44446e;stroke:#ef4444a8}.cutout-mask-overlay .is-repair{fill:#8b5cf66b;stroke:#6d28d9b8}.cutout-region-selection{position:absolute;z-index:1;box-sizing:border-box;border:2px solid var(--accent);background:#6c9aaa1a;box-shadow:0 0 0 9999px #0f172a94;pointer-events:none}.cutout-region-selection>span{position:absolute;top:4px;left:4px;padding:3px 6px;border-radius:5px;background:var(--accent);color:#17323c;font-size:10px;font-weight:950;line-height:1.2;white-space:nowrap}.cutout-target-status{display:flex;align-items:center;justify-content:space-between;gap:12px}.cutout-target-status>span{color:#9a4d3f;font-size:11px;font-weight:900}.cutout-target-status>span.is-ready{color:#287150}.cutout-target-status button{padding:5px 8px;text-decoration:underline}.cutout-target-status button:disabled{opacity:.45}.cutout-mask-history-actions{display:flex;align-items:center;gap:5px}.cutout-repair-editor .cutout-mask-history-actions button{min-height:32px;padding:6px 10px;border:1px solid #cfc4e7;border-radius:7px;background:var(--surface);color:#4f3e70;font-size:11px;font-weight:850}.cutout-repair-editor .cutout-mask-history-actions button:disabled{opacity:.45}.cutout-target-warning{color:#8f5b28}.cutout-target-error{color:#b44230;font-weight:900}.cutout-target-full-note{padding:8px 10px;border-radius:7px;background:#f1f4f2}.cutout-version-list{display:grid;gap:14px;min-height:0;overflow:visible;padding:16px 20px}.cutout-version{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.cutout-version.is-approved{border-color:#a4d7bf;background:#fbfffd}.cutout-version.is-rejected,.cutout-version.is-failed{border-color:#e8b8af;background:#fffdfc}.cutout-version-heading,.cutout-version-heading>div{display:flex;align-items:center;gap:8px}.cutout-version-heading{justify-content:space-between}.cutout-version-heading span{padding:4px 7px;border-radius:999px;background:var(--surface-quiet);color:var(--muted);font-size:10px;font-weight:900}.cutout-version-heading small{overflow:hidden;max-width:46%;color:var(--quiet);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cutout-version-facts{display:flex;flex-wrap:wrap;gap:6px}.cutout-version-facts span{padding:4px 7px;border:1px solid var(--line);border-radius:999px;background:#f7f8f7;color:var(--muted);font-size:10px;font-weight:850}.cutout-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cutout-compare figure{min-width:0;margin:0}.cutout-compare figure>div{display:grid;aspect-ratio:4 / 3;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#f7f8f8}.cutout-compare figure>div.is-checkerboard{background-color:#fff;background-image:linear-gradient(45deg,#e7e9eb 25%,transparent 25%),linear-gradient(-45deg,#e7e9eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e7e9eb 75%),linear-gradient(-45deg,transparent 75%,#e7e9eb 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.cutout-compare img{display:block;width:100%;height:100%;object-fit:contain}.cutout-compare figcaption{margin-top:6px;color:var(--muted);font-size:11px;font-weight:800;text-align:center}.cutout-failure{display:grid;gap:3px;padding:11px 12px;border-left:3px solid #d96855;background:#fff4f1;color:#8f382b;font-size:11px;line-height:1.5}.cutout-approved-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #b9d8ca;border-radius:8px;background:#f4fbf7}.cutout-approved-actions>div{display:grid;gap:3px}.cutout-approved-actions strong{color:#245b42;font-size:12px}.cutout-approved-actions span{color:#4e7663;font-size:11px;line-height:1.45}.cutout-approved-action-buttons{display:flex;flex:0 0 auto;gap:7px}.cutout-repair-editor{display:grid;gap:11px;padding:13px;border:1px solid #c8b5ef;border-radius:9px;background:#fbf9ff}.cutout-repair-instruction{display:grid;gap:5px}.cutout-repair-instruction>span{color:var(--ink);font-size:11px;font-weight:900}.cutout-repair-instruction textarea{width:100%;min-height:72px;resize:vertical}.cutout-layout-editor{display:grid;gap:11px;padding:13px;border:1px solid #b8d4c5;border-radius:9px;background:#f8fcfa}.cutout-layout-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.cutout-layout-heading>div:first-child{display:grid;gap:3px}.cutout-layout-heading strong{color:var(--ink);font-size:12px}.cutout-layout-heading span,.cutout-layout-submit>span{color:var(--muted);font-size:11px;line-height:1.45}.cutout-layout-mode-actions{display:flex;flex:0 0 auto;gap:4px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.cutout-layout-mode-actions button{min-height:30px;padding:5px 9px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;font-weight:900}.cutout-layout-mode-actions button.is-active{background:var(--ink);color:#fff}.cutout-layout-workspace{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;min-width:0}.cutout-layout-workspace .cutout-region-stage{margin:0}.cutout-layout-canvas>img{background-color:#fff;background-image:linear-gradient(45deg,#e7e9eb 25%,transparent 25%),linear-gradient(-45deg,#e7e9eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e7e9eb 75%),linear-gradient(-45deg,transparent 75%,#e7e9eb 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.cutout-layout-region{position:absolute;z-index:3;box-sizing:border-box;border:2px solid var(--accent);background:#6c9aaa1a;pointer-events:none}.cutout-layout-region.is-draft{border-style:dashed}.cutout-layout-region.is-component{border-color:#5f6ee8;background:#5f6ee814}.cutout-layout-region.is-component>span{background:#5f6ee8;color:#fff}.cutout-layout-region>span{position:absolute;top:3px;left:3px;display:grid;min-width:22px;height:22px;place-items:center;padding:0 5px;border-radius:999px;background:var(--accent);color:#17323c;font-size:10px;font-weight:950;line-height:1}.cutout-layout-order{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.cutout-layout-order>div:first-child{display:grid;gap:2px}.cutout-layout-order strong{color:var(--ink);font-size:11px}.cutout-layout-order span{color:var(--muted);font-size:10px}.cutout-layout-order ol{display:grid;gap:5px;max-height:205px;margin:0;padding:0;overflow:auto;list-style:none}.cutout-layout-order li{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 7px;border-radius:6px;background:#f4f6f5}.cutout-layout-order li>div{display:flex;gap:2px}.cutout-layout-order li button{display:grid;width:25px;height:25px;place-items:center;padding:0;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted)}.cutout-layout-order li button:disabled{opacity:.35}.cutout-layout-clear{justify-self:start;padding:0;border:0;background:transparent;color:#a34637;font-size:10px;font-weight:900;text-decoration:underline}.cutout-component-summary{display:grid;gap:8px;padding:10px 11px;border:1px solid #cbd0f2;border-radius:8px;background:#f7f8ff}.cutout-component-summary>span{color:#4b538c;font-size:11px;font-weight:850}.cutout-component-summary label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:8px;color:#343a69;font-size:11px;font-weight:750;line-height:1.5}.cutout-component-summary input{width:17px;height:17px;margin-top:1px}.cutout-layout-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--line)}.cutout-layout-submit>span{max-width:58%}.cutout-review-form{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--line)}.cutout-review-check{display:grid!important;grid-template-columns:auto 1fr;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #b9d8ca;border-radius:8px;background:#f4fbf7;color:#245b42;font-size:12px;font-weight:800;line-height:1.5}.cutout-review-check input{width:18px;height:18px;margin-top:1px}.cutout-review-form textarea{min-height:72px;resize:vertical}.cutout-review-actions{display:flex;justify-content:flex-end;gap:8px}.cutout-dialog>footer{align-items:center;border-top:1px solid var(--line);background:#fbfbfa}.cutout-dialog>footer>span{color:var(--muted);font-size:11px;line-height:1.45}.task-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.task-main,.task-side{min-width:0}.task-main{display:grid;gap:14px}.product-picker{display:grid;gap:8px}.searchable-product-select{display:grid;align-content:start;gap:6px;min-width:0}.searchable-product-label{color:var(--muted);font-size:11px;font-weight:900}.searchable-product-input{width:100%;min-width:0;height:40px}.searchable-product-input input:disabled{background:transparent;color:var(--quiet)}.searchable-product-results{display:grid;gap:5px;max-height:210px;overflow-y:auto;padding-right:3px}.searchable-product-results button{display:grid;min-width:0;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.searchable-product-results button:hover:not(:disabled){border-color:var(--accent)}.searchable-product-results button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.searchable-product-results button:disabled{cursor:not-allowed;opacity:.68}.searchable-product-results strong,.searchable-product-results small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-product-results strong{font-size:12px}.searchable-product-results small,.searchable-product-more,.searchable-product-empty{color:var(--muted);font-size:10px;line-height:1.4}.searchable-product-empty{padding:10px;border:1px dashed var(--line);border-radius:7px;background:var(--surface);text-align:center}.product-match-list{display:grid;gap:7px;max-height:230px;overflow:auto;padding-right:4px}.product-match-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.product-match-list button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.product-match-list span,.product-match-list small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-match-list span{font-size:13px;font-weight:900}.product-match-list small{color:var(--muted);font-size:12px}.selected-product{gap:12px;min-height:72px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.selected-product .product-visual{width:74px;height:52px;border-radius:6px}.selected-product .image-placeholder{min-height:52px;padding:4px}.selected-product .image-placeholder span{display:none}.selected-product strong,.selected-product span{display:block}.selected-product strong{font-size:14px}.selected-product span{margin-top:4px;color:var(--muted);font-size:12px}.independent-layer-picker{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.independent-layer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.independent-layer-heading strong,.independent-layer-heading span{display:block}.independent-layer-heading strong{color:var(--ink);font-size:13px}.independent-layer-heading span,.independent-layer-note,.independent-generation-mode span,.independent-layer-warning span,.independent-layer-warning small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.5}.independent-generation-mode{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid #b7d9cb;border-radius:8px;background:#eff9f4;color:#176347}.independent-generation-mode.is-source-layout{border-color:#d9d1ef;background:#f7f4ff;color:#5c4299}.independent-generation-mode svg{flex:0 0 auto;margin-top:1px}.independent-generation-mode strong,.independent-generation-mode span{display:block}.independent-generation-mode strong{font-size:12px}.independent-generation-mode span{color:currentColor;opacity:.82}.independent-layer-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.independent-layer-options button{display:grid;gap:6px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left}.independent-layer-options button.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.independent-layer-options img{width:100%;height:104px;object-fit:contain;border-radius:6px;background:linear-gradient(45deg,#eef0ea 25%,transparent 25%),linear-gradient(-45deg,#eef0ea 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef0ea 75%),linear-gradient(-45deg,transparent 75%,#eef0ea 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px}.independent-layer-options span{display:flex;align-items:center;gap:4px;overflow:hidden;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.independent-layer-status,.independent-layer-warning{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 10px;border-radius:7px;background:#f7f7f4;color:var(--muted);font-size:12px}.independent-layer-warning{display:grid;gap:2px;border-left:3px solid #e2a33c;background:#fff9ed}.independent-layer-warning strong{color:#724a0a;font-size:12px}.template-toolbar{display:flex;align-items:center;gap:10px}.template-toolbar .inline-actions{margin-top:0}.template-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}.template-option{width:100%;min-height:62px;gap:11px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:inherit;text-align:left;cursor:pointer}.template-option.is-selected{border-color:var(--accent);background:var(--accent-soft)}.template-check{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface);color:var(--accent-strong)}.template-option strong,.template-option small{display:block}.template-option strong{font-size:14px}.template-option small{margin-top:3px;color:var(--muted);font-size:12px}.task-side{display:grid;align-content:start;gap:12px}.side-block{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.side-block>strong{font-size:30px;line-height:1}.ratio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ratio-grid button{display:grid;grid-template-columns:34px 1fr;column-gap:9px;align-items:center;min-height:56px;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:inherit;cursor:pointer;text-align:left}.ratio-grid button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.ratio-grid strong,.ratio-grid small{display:block}.ratio-grid strong{font-size:12px}.ratio-grid small{color:var(--muted);font-size:11px}.ratio-swatch{display:block;width:32px;height:32px;border-radius:7px;background:var(--accent)}.ratio-swatch.landscape,.ratio-swatch.wide{height:22px;background:var(--blue)}.ratio-swatch.portrait,.ratio-swatch.story{width:22px;height:34px;margin-left:5px;background:#78d7e6}.ratio-swatch.story{background:var(--coral)}.generate-button{justify-content:center;width:100%;min-height:48px;gap:9px;background:var(--accent-strong);color:#fff;font-size:14px;font-weight:900}.video-layout{grid-template-columns:minmax(0,1fr) 340px}.video-quick-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1020px;margin:0 auto 16px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.video-quick-steps>div{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px;gap:9px;color:var(--muted);font-size:12px}.video-quick-steps>div+div{border-left:1px solid var(--line)}.video-quick-steps>div.is-ready{background:#edf6f1;color:#41654d}.video-quick-steps span{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);color:var(--muted);font-weight:900}.video-quick-steps .is-ready span{border-color:#7eaa8c;background:#7eaa8c;color:#fff}.video-quick-layout{max-width:1020px;margin:0 auto}.video-setup-card{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.video-step-heading{display:flex;align-items:flex-start;gap:12px}.video-step-heading>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:var(--dark);color:#fff;font-size:12px;font-weight:900}.video-step-heading h2{margin:1px 0 0;font-size:18px}.video-step-heading p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.video-product-summary{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:13px;padding:12px;border:1px solid #b9d3dc;border-radius:10px;background:var(--accent-soft)}.video-product-summary .product-visual{width:82px;height:68px;border-radius:8px;background:var(--surface)}.video-product-summary .image-placeholder{min-height:68px;padding:4px}.video-product-summary>div:nth-child(2){display:grid;justify-items:start;gap:4px;min-width:0}.video-product-summary strong,.video-product-summary small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-product-summary strong{font-size:15px}.video-product-summary small{color:var(--muted);font-size:11px}.video-product-state{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:900}.video-product-state.is-ready{background:var(--success-bg);color:var(--success-text)}.video-product-state.is-warning{background:var(--warning-bg);color:var(--warning-text)}.video-product-picker-panel{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.video-product-picker-panel>.secondary-button{justify-self:start}.video-product-search-empty{padding:12px;border:1px dashed var(--line-strong);border-radius:8px;color:var(--muted);font-size:12px;text-align:center}.video-reference-details,.video-optional-brief{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.video-reference-details>summary,.video-optional-brief>summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;gap:12px;padding:10px 12px;cursor:pointer;list-style:none;font-size:12px;font-weight:900}.video-reference-details>summary::-webkit-details-marker,.video-optional-brief>summary::-webkit-details-marker{display:none}.video-reference-details>summary span{display:flex;align-items:center;gap:7px}.video-reference-details>summary small{color:var(--muted);font-size:11px;font-weight:700}.video-reference-details .video-reference-guide{border:0;border-top:1px solid var(--line);border-radius:0;background:var(--surface)}.video-goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.video-goal-grid button{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;min-height:94px;gap:4px 9px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left}.video-goal-grid button:hover,.video-advanced-grid button:hover{border-color:var(--accent)}.video-goal-grid button.is-selected,.video-advanced-grid button.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.video-goal-grid button>span{display:grid;grid-row:1 / span 2;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--surface-quiet);color:var(--accent-strong)}.video-goal-grid button.is-selected>span{background:var(--accent-strong);color:#fff}.video-goal-grid strong,.video-goal-grid small{min-width:0}.video-goal-grid strong{font-size:13px}.video-goal-grid small{color:var(--muted);font-size:11px;line-height:1.45}.video-selected-plan{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border-left:3px solid var(--accent);border-radius:7px;background:var(--surface-soft);color:var(--accent-strong)}.video-selected-plan>div{display:grid;gap:2px;min-width:0}.video-selected-plan span,.video-selected-plan small{color:var(--muted);font-size:10px}.video-selected-plan strong{color:var(--ink);font-size:13px}.video-selected-plan em{color:var(--muted);font-size:11px;font-style:normal;font-weight:900;white-space:nowrap}.video-advanced-settings{overflow:hidden;border:1px solid var(--line);border-radius:9px}.video-advanced-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;width:100%;min-height:44px;gap:8px;padding:9px 12px;background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left}.video-advanced-toggle span{font-size:12px;font-weight:900}.video-advanced-toggle small{color:var(--muted);font-size:10px}.video-advanced-toggle svg{transition:transform .16s ease}.video-advanced-toggle svg.is-open{transform:rotate(90deg)}.video-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-top:1px solid var(--line);background:var(--surface)}.video-advanced-grid button{display:grid;gap:4px;min-height:64px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left}.video-advanced-grid strong{font-size:12px}.video-advanced-grid small{color:var(--muted);font-size:10px;line-height:1.45}.video-custom-brief{display:grid;gap:7px;color:var(--ink);font-size:12px;font-weight:900}.video-custom-brief>span{display:inline-block;width:fit-content;margin-left:4px;color:var(--red);font-size:10px}.video-optional-brief .video-brief{display:block;padding:0 12px 12px}.video-submit-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);align-items:center;gap:16px;padding:16px;border:1px solid #b9d3dc;border-radius:10px;background:var(--accent-soft)}.video-submit-bar>div{display:grid;gap:3px;min-width:0}.video-submit-bar span,.video-submit-bar small{color:var(--muted);font-size:11px}.video-submit-bar strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.video-submit-bar .generate-button{min-height:46px}.video-selected-product{align-items:center}.video-reference-guide,.video-storyboard-builder{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.video-reference-guide>div:first-child,.video-storyboard-heading,.video-storyboard-confirm{display:flex;align-items:center;justify-content:space-between;gap:16px}.video-reference-guide strong,.video-reference-guide span{display:block}.video-reference-guide span,.video-storyboard-heading p,.video-storyboard-confirm span{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.55}.video-reference-strip{display:grid;grid-template-columns:repeat(5,minmax(76px,1fr));gap:8px}.video-reference-strip figure{min-width:0;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.video-reference-strip img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.video-reference-strip figcaption{padding:6px;color:var(--muted);font-size:11px;font-weight:800;text-align:center}.warning-text{color:#a85c24;font-weight:800}.video-storyboard-heading h2{margin:4px 0 0;font-size:18px}.video-storyboard-heading p{max-width:660px}.video-storyboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.video-storyboard-grid article{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.video-storyboard-grid article.is-confirmed{border-color:#66a278;box-shadow:inset 0 0 0 1px #66a278}.video-storyboard-grid article.identity-failed{border-color:#c97863;box-shadow:inset 0 0 0 1px #c9786347}.video-identity-check{display:flex;align-items:flex-start;gap:7px;margin:10px 12px 0;padding:8px 9px;border-radius:7px;font-size:12px;font-weight:800;line-height:1.45}.video-identity-check svg{flex:0 0 auto;margin-top:1px}.video-identity-check.is-passed{background:#e8f3eb;color:#34704b}.video-identity-check.is-failed{background:#faece8;color:#994b39}.video-storyboard-preview-detail>.video-identity-check{margin:0}.video-keyframe{position:relative;display:grid;place-items:center;min-height:220px;background:#dce5e8}.video-keyframe img{display:block;width:100%;aspect-ratio:9 / 16;max-height:330px;object-fit:cover}.video-keyframe-preview-trigger{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:0;background:transparent;cursor:zoom-in}.video-keyframe-preview-trigger:after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,transparent 58%,rgba(17,28,33,.52));opacity:0;transition:opacity .16s ease}.video-keyframe-preview-trigger:hover:after,.video-keyframe-preview-trigger:focus-visible:after{opacity:1}.video-keyframe-preview-trigger b{position:absolute;right:9px;bottom:9px;z-index:1;display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:7px;background:#19272ddb;color:#fff;font-size:11px;opacity:.92;transform:translateY(0);transition:opacity .16s ease,transform .16s ease}.video-keyframe-preview-trigger:hover b,.video-keyframe-preview-trigger:focus-visible b{opacity:1}.video-keyframe span{position:absolute;top:8px;left:8px;padding:5px 8px;border-radius:999px;background:#19272dd1;color:#fff;font-size:11px;font-weight:900}.video-storyboard-grid article>div:last-child{display:grid;gap:8px;padding:12px}.video-storyboard-grid article small{min-height:38px;color:var(--muted);line-height:1.45}.video-storyboard-grid label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:900}.video-storyboard-grid textarea{min-height:132px;resize:vertical}.video-storyboard-confirm{padding-top:12px;border-top:1px solid var(--line)}.video-storyboard-empty{padding:28px 16px;border:1px dashed var(--line-strong);border-radius:8px;color:var(--muted);text-align:center}.video-storyboard-preview-backdrop{z-index:50;background:#11191eb8}.video-storyboard-preview-modal{width:min(980px,100%);max-height:min(900px,calc(100vh - 32px))}.video-storyboard-preview-body{display:grid;grid-template-columns:minmax(320px,1fr) minmax(280px,340px);min-height:0}.video-storyboard-preview-image{position:relative;display:grid;place-items:center;min-height:560px;padding:18px;background:#1c292f}.video-storyboard-preview-image img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 190px);border-radius:8px;object-fit:contain;box-shadow:0 18px 42px #00000047}.video-storyboard-preview-image>span{position:absolute;top:28px;left:28px;padding:6px 9px;border-radius:999px;background:#111c21d1;color:#fff;font-size:11px;font-weight:900}.video-storyboard-preview-detail{display:grid;align-content:start;gap:18px;padding:22px;border-left:1px solid var(--line)}.video-storyboard-preview-detail>div:first-child{display:grid;gap:6px}.video-storyboard-preview-detail label{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:900}.video-storyboard-preview-detail textarea{min-height:210px;resize:vertical}.video-storyboard-preview-detail>small{color:var(--muted);line-height:1.6}.video-storyboard-preview-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding-top:14px;border-top:1px solid var(--line)}.video-storyboard-preview-nav>span{color:var(--muted);font-size:12px;font-weight:900}.video-storyboard-preview-nav button:last-child{justify-content:flex-end}.script-list{display:grid;gap:9px}.script-option{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.script-option:hover{border-color:var(--line-strong);background:var(--surface-soft)}.script-option.is-selected{border-color:var(--accent);background:var(--accent-soft)}.script-number{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--dark);color:#fff;font-size:12px;font-weight:900}.script-option strong,.script-option small{display:block}.script-option strong{font-size:14px}.script-option small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.script-option em{color:var(--teal);font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.video-brief textarea{min-height:118px}.video-side-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-side-grid div{display:grid;gap:5px;min-height:62px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.video-side-grid span{color:var(--muted);font-size:12px;font-weight:900}.video-side-grid strong,.video-script-name{font-size:22px;line-height:1.1}.video-result-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.video-player-card,.video-review-panel{min-width:0}.video-player-card{display:grid;gap:12px}.video-shot-review{display:grid;gap:12px;margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}.video-shot-review h2{margin:4px 0;font-size:18px}.video-shot-review p{margin:0;color:var(--muted);font-size:12px}.video-shot-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.video-shot-review-grid article{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.video-shot-review-grid video,.video-shot-review-grid img{display:block;width:100%;aspect-ratio:9 / 16;max-height:300px;object-fit:cover;background:#19272d}.video-shot-review-grid article>div{display:grid;gap:8px;padding:10px}.video-shot-review-grid small{display:-webkit-box;min-height:52px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.video-shot-review-grid textarea{min-height:84px;resize:vertical}.video-player-frame{display:grid;overflow:hidden;aspect-ratio:9 / 16;max-height:720px;border:1px solid var(--line);border-radius:8px;background:#0f1720}.video-player-frame video{width:100%;height:100%;object-fit:contain;background:#0f1720}.video-placeholder{display:grid;place-items:center;align-content:center;gap:9px;min-height:420px;padding:28px;color:#ffffffb8;text-align:center}.video-placeholder strong,.video-placeholder span{display:block}.video-placeholder strong{color:#fff;font-size:16px}.video-placeholder span{max-width:340px;font-size:13px;line-height:1.5}.video-asset-actions{display:flex;flex-wrap:wrap;gap:8px}.video-review-panel{display:grid;gap:12px}.video-status-card,.prompt-preview{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.video-status-card strong,.video-status-card small{display:block}.video-status-card strong{font-size:17px}.video-status-card small{color:var(--muted);font-size:12px;line-height:1.45}.video-status-pill{width:fit-content;padding:5px 9px;border-radius:999px;background:#edf1f4;color:var(--muted);font-size:12px;font-weight:900}.video-status-pill.is-approved{background:#e7f5ef;color:#0b6b43}.video-status-pill.is-rejected{background:#fef0ee;color:var(--red)}.video-review-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.prompt-chip-row{display:flex;flex-wrap:wrap;gap:6px}.prompt-chip-row em{padding:5px 8px;border-radius:999px;background:var(--surface);color:var(--teal);font-size:11px;font-style:normal;font-weight:900}.prompt-preview p,.prompt-preview pre{margin:0}.prompt-preview p{color:var(--muted);font-size:13px;line-height:1.45}.prompt-preview pre{max-height:260px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:#34404a;font-size:12px;line-height:1.5;white-space:pre-wrap}.video-history-metrics{margin-bottom:16px}.video-history-card{grid-template-columns:112px minmax(0,1fr) 190px 180px}.video-history-thumb{display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:9 / 16;border:1px solid var(--line);border-radius:8px;background:var(--dark);color:var(--accent)}.video-history-thumb video{width:100%;height:100%;object-fit:cover}.history-actions a{display:grid;place-items:center;min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:900;text-decoration:none}.history-actions a:hover{border-color:var(--line-strong);background:var(--surface-quiet)}.queue-recent{display:grid;gap:8px;margin-top:4px}.job-summary{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:18px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.loading-strip{display:flex;align-items:center;gap:8px;margin:-6px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#f7fbfb;color:var(--muted);font-size:13px;font-weight:800}.job-summary span,.job-summary small,.job-summary strong{display:block}.job-summary span{color:var(--quiet);font-size:12px;font-weight:900}.job-summary strong{margin-top:4px;font-size:18px}.job-summary small{margin-top:4px;color:var(--muted);font-size:12px}.progress-track{height:10px;overflow:hidden;border-radius:999px;background:#e3e8e5}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .26s ease}.empty-state{display:grid;place-items:center;min-height:150px;padding:24px;border:1px dashed var(--line-strong);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-size:14px;text-align:center}.results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-card{overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.result-identity-note{display:flex;align-items:flex-start;gap:7px;margin:0 14px 12px;padding:8px 9px;border-radius:7px;background:#f3f8f5;color:#28624b;font-size:11px;font-weight:800;line-height:1.4}.result-identity-note svg{flex:0 0 auto;margin-top:1px}.generated-preview,.ad-preview{position:relative;aspect-ratio:1;overflow:hidden;background:#f4f7f8}.generated-preview img{display:block;width:100%;height:100%;object-fit:cover}.ad-preview{padding:22px;color:#172126}.ad-preview h3{margin:7px 0 0;max-width:260px;font-size:31px;line-height:1;letter-spacing:0}.ad-preview p{margin:10px 0 0;max-width:250px;color:#4f5c65;font-size:13px;line-height:1.4}.ad-topline{color:var(--teal);font-size:11px;font-weight:900;letter-spacing:.12em}.ad-copy{position:relative;z-index:2}.reference-crop{position:absolute;right:18px;bottom:60px;width:54%;height:40%;overflow:hidden;border:8px solid #ffffff;border-radius:8px;background:var(--surface);box-shadow:0 22px 38px #16202629}.reference-crop img{display:block;width:100%;height:100%;object-fit:cover}.ad-assortment{background:#f7fafb}.ad-bullets{position:absolute;left:22px;right:22px;bottom:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ad-bullets span{display:grid;place-items:center;min-height:38px;padding:5px;border:1px solid rgba(15,118,110,.2);border-radius:8px;background:#ffffffdb;color:#24444a;font-size:10px;font-weight:900;text-align:center}.ad-steps{background:#eef6f5}.step-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.step-strip span{display:grid;place-items:center;min-height:42px;border-radius:8px;background:var(--dark);color:#fff;font-size:11px;font-weight:900}.reference-crop.wide{left:22px;right:22px;bottom:72px;width:auto;height:35%}.ad-steps p{position:absolute;left:22px;right:22px;bottom:24px;max-width:none;margin:0;font-weight:800}.ad-display{display:grid;align-content:end;background:#fbf7f3}.reference-crop.tall{top:22px;right:20px;bottom:auto;width:56%;height:48%}.ad-display .ad-copy{padding:16px;border:1px solid rgba(203,213,221,.9);border-radius:8px;background:#ffffffe6}.result-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 10px}.result-meta strong,.result-meta span{display:block}.result-meta strong{font-size:14px;line-height:1.3}.result-meta span{margin-top:4px;color:var(--muted);font-size:12px}.result-meta em{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#edf1f4;color:var(--muted);font-size:11px;font-style:normal;font-weight:900}.result-meta em.kept{background:#e7f5ef;color:#0b6b43}.result-meta em.discarded{background:#fef0ee;color:var(--red)}.result-actions{gap:8px;padding:0 12px 12px}.result-actions button{justify-content:center;flex:1;min-height:34px;gap:7px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px;font-weight:900}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric-card{display:grid;gap:7px;min-height:116px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.metric-card span,.metric-card small{color:var(--muted);font-size:12px;font-weight:800}.metric-card strong{color:var(--ink);font-size:34px;line-height:1}.overview-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:14px}.overview-panel{display:grid;align-content:start;gap:10px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:2px}.panel-heading h2{margin:0;font-size:17px}.panel-heading span{color:var(--muted);font-size:12px;font-weight:900}.queue-row,.recent-job{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink)}.queue-row.is-running{border-color:var(--accent);background:var(--accent-soft)}.queue-number{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:999px;background:#e2e7e3;color:var(--ink);font-size:12px;font-weight:900}.queue-row strong,.queue-row span,.recent-job strong,.recent-job span,.recent-job small{display:block}.queue-row strong,.recent-job strong{font-size:14px}.queue-row span,.recent-job small{margin-top:3px;color:var(--muted);font-size:12px}.recent-job{width:100%;display:grid;grid-template-columns:74px minmax(0,1fr) auto;cursor:pointer;text-align:left}.recent-job span{color:#0b6b43;font-size:12px;font-weight:900}.recent-job strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state.compact{min-height:88px}.history-list{display:grid;gap:12px}.history-card{display:grid;grid-template-columns:minmax(0,1fr) 180px 220px;gap:14px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.history-card h2,.history-card p{margin:0}.history-card h2{margin-top:5px;font-size:18px;line-height:1.25}.history-card p{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.45}.history-meta{display:grid;gap:5px;color:var(--muted);font-size:12px}.history-meta strong{color:var(--ink);font-size:14px}.history-meta em{color:#0b6b43;font-style:normal;font-weight:900}.history-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.history-actions button{min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:12px;font-weight:900}.history-actions button:hover{border-color:var(--line-strong);background:var(--surface-quiet)}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#2b343b6b}.modal{width:min(520px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 12px;border-bottom:1px solid var(--line)}.modal-header p{margin-top:4px;color:var(--muted);font-size:13px}.settings-list{display:grid;gap:8px;padding:18px}.settings-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.settings-list span{color:var(--muted);font-size:13px}.settings-list strong{font-size:13px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 18px 18px}.onboarding-backdrop{z-index:40}.onboarding-guide{width:min(920px,100%);max-height:min(860px,calc(100vh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;overscroll-behavior:contain}.onboarding-guide-header{padding:22px 24px 18px}.onboarding-guide-header h2{margin-top:5px;font-size:25px}.onboarding-guide-header p{max-width:680px;line-height:1.55}.onboarding-guide-body{display:grid;min-height:0;gap:22px;padding:22px 24px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.onboarding-section{display:grid;gap:12px}.onboarding-section-heading{display:grid;gap:4px}.onboarding-section-heading>span{color:var(--accent-strong);font-size:11px;font-weight:900;letter-spacing:.08em}.onboarding-section-heading>strong{font-size:16px}.onboarding-preparation-grid,.onboarding-channel-grid{display:grid;gap:12px}.onboarding-preparation-grid,.onboarding-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.onboarding-step-card,.onboarding-channel-card{min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.onboarding-step-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px}.onboarding-step-number{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--accent-soft);color:var(--accent-strong);font-size:14px;font-weight:900}.onboarding-step-card>div,.onboarding-channel-card{display:grid;align-content:start;gap:9px}.onboarding-step-card h3,.onboarding-step-card p,.onboarding-channel-card h3,.onboarding-channel-card p{margin:0}.onboarding-step-card h3,.onboarding-channel-card h3{font-size:15px}.onboarding-step-card p,.onboarding-channel-card p,.onboarding-flow,.onboarding-result-guide span,.onboarding-guide-actions>span{color:var(--muted);font-size:12px;line-height:1.55}.onboarding-step-card .secondary-button{width:fit-content;min-height:34px;margin-top:2px}.onboarding-channel-card{padding:16px}.onboarding-flow{padding:9px 10px;border-left:3px solid var(--accent);background:var(--surface)}.onboarding-card-actions{display:flex;flex-wrap:wrap;gap:8px}.onboarding-card-actions .primary-button,.onboarding-card-actions .secondary-button{min-height:36px}.onboarding-result-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}.onboarding-result-guide>div{display:grid;gap:6px;padding:14px;background:var(--surface-quiet)}.onboarding-result-guide strong{font-size:13px}.onboarding-guide-actions{align-items:center;justify-content:space-between;padding:16px 24px;border-top:1px solid var(--line);background:var(--surface)}.onboarding-guide-actions .primary-button{flex:none}.task-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.task-choice-grid button{display:grid;align-content:start;gap:8px;min-height:150px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.task-choice-grid button:hover{border-color:var(--accent);background:var(--accent-soft)}.task-choice-grid svg{color:var(--teal)}.task-choice-grid strong,.task-choice-grid span{display:block}.task-choice-grid strong{font-size:16px}.task-choice-grid span{color:var(--muted);font-size:13px;line-height:1.45}.reference-video-page{display:grid;gap:18px}.reference-video-page>.page-heading{margin-bottom:0}.reference-workflow-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--surface-quiet)}.reference-workflow-tabs button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-weight:900}.reference-workflow-tabs button.is-active{border-color:var(--line);background:var(--surface);color:var(--ink);box-shadow:0 4px 12px #1e2b330f}.reference-workflow-tabs button span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:11px}.reference-analysis-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px}.reference-panel-copy,.reference-product-apply p,.reference-template-actions>span{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.reference-upload-button{width:100%;min-height:46px}.reference-boundary-note{padding:10px 12px;border-left:3px solid var(--accent);background:var(--surface);color:var(--muted);font-size:11px;line-height:1.55}.reference-analysis-guidance{margin:-4px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.selected-reference-video{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--accent);border-radius:8px;background:var(--accent-soft);color:var(--accent-strong)}.selected-reference-video div{display:grid;min-width:0;gap:3px}.selected-reference-video strong,.selected-reference-video span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-reference-video strong{color:var(--ink);font-size:13px}.selected-reference-video span,.selected-reference-video a{color:var(--muted);font-size:11px}.reference-library-layout{display:grid;grid-template-columns:minmax(240px,.34fr) minmax(0,1fr);gap:14px;align-items:start}.reference-template-list,.reference-template-editor{display:grid;align-content:start;gap:14px;padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.reference-template-list>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted);text-align:left}.reference-template-list>button.is-selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.reference-template-list button span{display:grid;min-width:0;gap:4px}.reference-template-list button strong,.reference-template-list button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-template-list button strong{color:var(--ink);font-size:12px}.reference-template-list button small{color:var(--muted);font-size:10px}.reference-analysis-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-template-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}.reference-product-apply{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;margin-top:4px;padding:15px;border:1px dashed var(--line-strong);border-radius:9px;background:var(--surface)}.reference-product-apply.is-ready{border-style:solid;border-color:var(--accent);background:color-mix(in srgb,var(--accent-soft) 58%,var(--surface))}.reference-product-apply h3{margin:4px 0 5px;font-size:15px}.reference-product-apply-heading{min-width:0}.reference-product-bind-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.reference-product-gate-note{display:grid;gap:3px;padding:10px 12px;border:1px solid color-mix(in srgb,#b77716 45%,var(--line));border-radius:8px;background:color-mix(in srgb,#f6c96a 18%,var(--surface));color:#7c5418;font-size:11px;line-height:1.5}.reference-product-gate-note strong{color:#68430d;font-size:12px}.quick-product-card,.existing-product-card{display:grid;align-content:start;min-width:0;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.reference-product-option-heading,.reference-product-option-heading>div,.quick-product-file-row,.quick-product-file-row>div,.quick-product-recognition{display:flex;align-items:center}.reference-product-option-heading,.quick-product-file-row{justify-content:space-between;gap:10px}.reference-product-option-heading>div,.quick-product-file-row>div,.quick-product-recognition{gap:6px}.reference-product-option-heading>span{padding:3px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:10px;font-weight:900}.quick-product-dropzone{display:grid;place-items:center;gap:6px;min-height:142px;padding:18px;border:1px dashed var(--accent);border-radius:8px;background:var(--accent-soft);color:var(--accent-strong);text-align:center}.quick-product-dropzone.is-locked{border-color:color-mix(in srgb,#b77716 55%,var(--line));background:color-mix(in srgb,#f6c96a 12%,var(--surface));color:#805619;cursor:help}.quick-product-card.is-locked .quick-product-boundary{opacity:.72}.quick-product-dropzone span,.quick-product-file-row,.quick-product-recognition,.quick-product-create-status{color:var(--muted);font-size:11px;line-height:1.5}.quick-product-create-status{display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border-radius:7px;background:var(--surface-soft)}.quick-product-create-status.is-success{border:1px solid color-mix(in srgb,#36714d 35%,var(--line));background:color-mix(in srgb,#dff4e6 62%,var(--surface));color:var(--success-strong, #36714d)}.quick-product-create-status svg{flex:0 0 auto;margin-top:1px}.quick-product-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.quick-product-previews figure{min-width:0;margin:0}.quick-product-previews img{display:block;width:100%;aspect-ratio:1;border:1px solid var(--line);border-radius:7px;background:var(--surface-quiet);object-fit:contain}.quick-product-previews figcaption{margin-top:4px;color:var(--muted);font-size:10px;text-align:center}.quick-product-name-field{display:grid;gap:6px}.quick-product-name-field input{width:100%}.quick-product-recognition.is-working{color:var(--accent-strong)}.quick-product-recognition.is-ready{color:var(--success-strong, #36714d)}.quick-product-recognition.is-error{color:var(--danger, #a44b4b)}.quick-product-boundary{padding:9px 10px;border-left:3px solid var(--accent);background:var(--surface-soft)}.quick-product-action,.existing-product-card>.primary-button{width:100%}.reference-product-apply label,.reference-product-apply .searchable-product-select{min-width:0}.reference-product-apply select{width:100%}.reference-editor-empty{display:grid;place-items:center;min-height:430px;gap:8px;color:var(--muted);text-align:center}.reference-editor-empty strong{color:var(--ink)}.reference-editor-empty span{font-size:12px}.toast{position:fixed;right:18px;bottom:18px;z-index:30;max-width:min(360px,calc(100vw - 36px));padding:12px 14px;border:1px solid rgba(108,154,170,.45);border-radius:8px;background:var(--dark);color:#fff;box-shadow:var(--shadow);font-size:13px;font-weight:900}.image-set-page{display:grid;gap:20px}.image-set-page>.page-heading{margin-bottom:0}.image-set-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.image-set-config-panel,.image-set-slot-section,.image-set-plan-result{display:grid;align-content:start;gap:14px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.image-set-config-panel h2,.image-set-slot-section h2,.image-set-plan-result h2{margin:4px 0 0;font-size:18px}.compact-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-set-selection-form{grid-template-columns:minmax(0,1fr)}.image-set-selection-form label{min-width:0}.image-set-selection-form select{appearance:none;-webkit-appearance:none;overflow:hidden;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566f79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px;text-overflow:ellipsis;white-space:nowrap}.image-set-selection-form select:disabled{background-color:var(--surface-quiet);color:var(--quiet);cursor:not-allowed}.image-set-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.image-set-facts div{min-width:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.image-set-facts dt,.image-set-facts dd{margin:0}.image-set-facts dt{color:var(--quiet);font-size:11px;font-weight:800}.image-set-facts .image-set-bundle-facts{grid-column:1 / -1}.image-set-bundle-facts dd{display:grid;gap:4px}.image-set-bundle-facts dd span{color:#176a50;font-size:12px}.source-video-edit-page{display:grid;gap:20px}.source-video-edit-page>.page-heading{margin-bottom:0}.source-video-boundary{display:grid;gap:5px;padding:14px 16px;border:1px solid #b9dcd0;border-left:4px solid #2f9675;border-radius:8px;background:#f2fbf7;color:var(--muted);font-size:13px}.source-video-boundary strong{color:#176a50}.source-video-segment-list,.source-video-caption-list,.source-video-job-list{display:grid;gap:10px}.source-video-segment-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.source-video-segment-index{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--lime);color:#142012;font-weight:950}.source-video-segment-fields{display:grid;grid-template-columns:minmax(220px,1.7fr) repeat(2,minmax(100px,.55fr)) minmax(180px,1fr);gap:10px}.source-video-segment-actions{display:flex;gap:5px}.source-video-segment-actions button,.source-video-caption-list article>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--muted)}.source-video-segment-actions button:disabled{opacity:.35}.source-video-duration-bar{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:7px;background:#edf2ec;color:var(--muted);font-size:12px}.source-video-duration-bar strong{color:var(--ink)}.source-video-caption-list article{display:grid;grid-template-columns:minmax(260px,1fr) repeat(2,minmax(100px,.25fr)) 36px;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.source-video-submit-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px;border:1px solid #a9c7d1;border-radius:9px;background:#f3f8f9}.source-video-submit-panel h2,.source-video-submit-panel p{margin:4px 0 0}.source-video-submit-panel p{color:var(--muted);font-size:13px}.source-video-plan-preview{grid-column:1 / -1;display:grid;gap:5px;padding-top:12px;border-top:1px solid #dce8bd;font-size:12px}.source-video-plan-preview small{color:var(--muted)}.source-video-job-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.source-video-job-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.source-video-job-head>div{display:grid;gap:6px}.source-video-job-head small{color:var(--muted)}.source-video-job-card video{width:min(100%,420px);max-height:620px;border-radius:8px;background:#10141f}.source-video-warning{padding:10px 12px;border-left:3px solid #e18b2b;border-radius:6px;background:#fff7eb;color:#8b4c11;font-size:12px}.image-set-facts dd{overflow-wrap:anywhere;margin-top:4px;font-size:13px;font-weight:800}.platform-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.platform-choice-grid button{display:grid;grid-template-columns:22px minmax(0,1fr);gap:4px 8px;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.platform-choice-grid button.is-selected{border-color:var(--accent);background:var(--accent-soft)}.platform-choice-grid strong,.platform-choice-grid small{grid-column:2}.platform-choice-grid span{grid-row:1 / span 2;color:var(--teal)}.platform-choice-grid small{color:var(--muted);line-height:1.4}.image-set-contract-note{display:grid;gap:4px;padding:10px 12px;border-left:3px solid var(--teal);border-radius:6px;background:#f4faf9;font-size:12px;line-height:1.45}.image-set-contract-note span{color:var(--muted)}.image-set-source-panel{grid-column:1 / -1}.image-set-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.image-set-source-grid button{display:grid;gap:8px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.image-set-source-grid button.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.image-set-source-preview{position:relative;overflow:hidden;width:100%;aspect-ratio:4 / 3;border-radius:6px;background:var(--surface-quiet)}.image-set-source-preview img,.image-set-source-preview .image-placeholder{position:absolute;inset:0;width:100%;height:100%}.image-set-source-preview img{object-fit:contain}.image-set-source-preview .image-placeholder{display:grid;place-content:center;gap:6px;color:var(--quiet);font-size:12px;text-align:center}.image-set-source-grid span{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:850}.image-set-source-grid small{overflow:hidden;color:var(--quiet);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.image-set-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-set-slot-grid article{display:grid;align-content:start;gap:12px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.image-set-slot-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.image-set-slot-guide>div{display:grid;gap:3px;padding:11px 13px;border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:7px;background:#f4faf9}.image-set-slot-guide>div:last-child{border-left-color:#7b68b7;background:#f8f6fc}.image-set-slot-guide strong{font-size:12px}.image-set-slot-guide span{color:var(--muted);font-size:11px;line-height:1.5}.image-set-slot-card-heading{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start}.image-set-slot-card-heading>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--surface-quiet);font-size:12px;font-weight:900}.image-set-slot-grid article.is-ready .image-set-slot-card-heading>span{background:var(--accent)}.image-set-slot-grid article.is-blocked{border-color:#f1c8bd;background:#fffaf8}.image-set-slot-card-heading strong,.image-set-slot-card-heading p,.image-set-slot-card-heading small{display:block}.image-set-slot-card-heading strong{font-size:14px}.image-set-slot-card-heading p{margin:3px 0 5px;color:var(--muted);font-size:12px;line-height:1.45}.image-set-slot-card-heading small{color:var(--quiet);font-size:11px;line-height:1.4}.image-set-slot-grid .is-blocked .image-set-slot-card-heading small{color:var(--red)}.image-set-slot-source-choice{display:grid;gap:10px}.image-set-composition-mode{display:grid;gap:7px;padding:11px;border:1px solid #bfd9cf;border-radius:7px;background:#f1f8f5}.image-set-composition-mode>span{display:flex;align-items:center;gap:7px}.image-set-composition-mode b{font-size:12px}.image-set-composition-mode em{padding:3px 6px;border-radius:999px;background:#dceee8;color:#176a50;font-size:9px;font-style:normal;font-weight:900}.image-set-composition-mode select{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--line-strong);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:11px}.image-set-composition-mode small{color:var(--muted);font-size:10px;line-height:1.5}.image-set-slot-choice-group{display:grid;gap:9px;min-width:0;padding:11px;border:1px solid #d5e3de;border-radius:7px;background:#f7fbfa}.image-set-slot-choice-group.is-optional{border-color:#ddd6ef;background:#faf9fd}.image-set-slot-choice-group.is-disabled{border-style:dashed;opacity:.72}.image-set-slot-choice-heading{display:grid;gap:3px}.image-set-slot-choice-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.image-set-slot-choice-heading b{color:var(--ink);font-size:12px}.image-set-slot-choice-heading em{padding:3px 6px;border-radius:999px;background:#dceee8;color:#176a50;font-size:9px;font-style:normal;font-weight:900}.image-set-slot-choice-group.is-optional .image-set-slot-choice-heading em{background:#e9e4f5;color:#655199}.image-set-slot-choice-heading>span{color:var(--muted);font-size:10px;line-height:1.45}.image-set-slot-choice-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:7px}.image-set-slot-choice-options button{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.image-set-slot-choice-options button.is-selected{border-color:var(--accent);background:var(--accent-soft);color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}.image-set-slot-choice-group.is-optional .image-set-slot-choice-options button.is-selected{border-color:#7b68b7;background:#eee9f8;box-shadow:inset 0 0 0 1px #7b68b7}.image-set-slot-source-choice em{color:var(--quiet);font-size:10px;font-style:normal}.image-set-slot-choice-thumb{position:relative;display:grid;place-items:center;width:44px;height:44px;overflow:hidden;border:1px solid var(--line);border-radius:5px;background:var(--surface-quiet);color:var(--quiet)}.image-set-slot-choice-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--surface)}.image-set-slot-choice-copy{display:grid;gap:2px;min-width:0}.image-set-slot-choice-copy strong{display:flex;align-items:center;gap:3px;font-size:10px}.image-set-slot-choice-copy small{overflow:hidden;color:var(--quiet);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.sku-bundle-source-mapping{display:grid;width:100%;gap:8px}.sku-display-mode{display:grid;gap:9px;padding:11px;border:1px solid #d5e3de;border-radius:7px;background:#f7fbfa}.sku-display-mode>div:first-child{display:grid;gap:3px}.sku-display-mode>div:first-child b{font-size:12px}.sku-display-mode>div:first-child span,.sku-display-mode-note{color:var(--muted);font-size:10px;line-height:1.5}.sku-display-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sku-display-mode-options button{display:grid;gap:4px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.sku-display-mode-options button.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.sku-display-mode-options strong{font-size:11px}.sku-display-mode-options small{color:var(--muted);font-size:9px;line-height:1.45}.sku-display-mode-note{padding-top:7px;border-top:1px solid var(--line)}.sku-bundle-source-mapping p{margin:0;color:var(--muted);font-size:10px;line-height:1.4}.sku-bundle-source-mapping label{display:grid;gap:5px;width:100%;color:var(--muted);font-size:10px;font-weight:800}.sku-bundle-source-mapping select{width:100%;min-height:34px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:11px}.image-set-safety-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:13px 15px;border-left:4px solid var(--coral);border-radius:7px;background:#fff7f3;font-size:13px;line-height:1.5}.image-set-safety-note span{color:var(--muted)}.image-set-plan-list{display:grid;gap:10px}.image-set-plan-list article{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.image-set-plan-list article>div:first-child{display:flex;justify-content:space-between;gap:12px}.image-set-plan-list article>div:first-child span{overflow-wrap:anywhere;color:var(--quiet);font-size:11px}.image-set-review-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px;padding:11px 12px;border:1px solid #d8dde1;border-left:4px solid #8b929a;border-radius:7px;background:#f7f8f9}.image-set-review-summary>div{display:grid;gap:2px}.image-set-review-summary span,.image-set-review-summary p,.image-set-review-summary small{color:var(--muted);font-size:12px;line-height:1.5}.image-set-review-summary p{margin:0}.image-set-review-summary small{grid-column:1 / -1}.image-set-review-summary .image-set-review-progress-message{color:#9c4f16;font-weight:900}.image-set-review-summary .image-set-review-ready-message{color:#236f4d;font-weight:900}.image-set-review-summary.is-approved{border-color:#b9dbca;border-left-color:#2d8f61;background:#eff9f3}.image-set-review-summary.is-redo_required,.image-set-review-summary.is-blocked,.image-set-review-summary.is-failed{border-color:#edc6bd;border-left-color:var(--coral);background:#fff7f3}.image-set-review-summary.is-awaiting_review,.image-set-review-summary.is-generating{border-color:#d9c9a1;border-left-color:#b17a15;background:#fffaf0}.image-set-export-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;padding:9px 11px;border:1px solid #cfe0eb;border-radius:7px;background:#f3f8fb;font-size:12px}.image-set-export-summary span,.image-set-export-summary small{color:var(--muted)}.image-set-export-summary small{grid-column:1 / -1;overflow-wrap:anywhere}.image-set-plan-actions{display:flex;flex-wrap:wrap;gap:8px}.image-set-review-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1040px,100%);overflow:hidden}.image-set-review-body{min-height:0;overflow:auto;padding:18px}.image-set-review-preview-notice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin-bottom:18px;padding:11px 13px;border:1px solid #ead8a6;border-left:4px solid #b17a15;border-radius:7px;background:#fffaf0;font-size:12px;line-height:1.5}.image-set-review-preview-notice span{color:var(--muted)}.image-set-review-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px}.image-set-review-section-heading>div{display:grid;gap:3px}.image-set-review-section-heading strong{font-size:14px}.image-set-review-section-heading span{color:var(--muted);font-size:12px}.image-set-review-section-heading b{flex:0 0 auto;min-width:52px;padding:5px 8px;border-radius:999px;background:var(--surface-quiet);color:var(--muted);font-size:11px;text-align:center}.image-set-review-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.image-set-review-preview-grid>article{position:relative;display:grid;align-content:start;gap:10px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.image-set-review-preview-grid>article.is-confirmed{border-color:#8bc5a8;background:#eff9f3;box-shadow:inset 0 0 0 1px #2d8f6129}.image-set-review-preview-grid>article.is-redo-selected{border-color:#e2a267;background:#fff8ef;box-shadow:inset 0 0 0 1px #b05b181f}.image-set-review-preview-grid>article.is-redo-in-progress{border-color:#d9b96c;background:#fffaf0}.image-set-review-preview-grid>article.is-redo-completed{border-color:#7ca7c7;background:#f3f8fb;box-shadow:inset 0 0 0 1px #31709b1f}.image-set-review-preview{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted)}.image-set-review-preview img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.image-set-thumbnail-retry{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:var(--text);font-size:12px;font-weight:700}.image-set-review-preview i{position:absolute;z-index:1;top:8px;left:8px;padding:4px 7px;border-radius:999px;background:#111520d1;color:#fff;font-size:10px;font-style:normal;font-weight:900}.image-set-review-preview-detail{display:grid;gap:6px}.image-set-review-status-badge{width:fit-content;padding:4px 7px;border-radius:999px;background:#eceff1;color:#59626c;font-size:10px;line-height:1.2}.image-set-review-status-badge.is-redo-progress{background:#f7e5bd;color:#80570f}.image-set-review-status-badge.is-redo-ready{background:#dcecf7;color:#245f88}.image-set-review-status-badge.is-approved{background:#d7f0e2;color:#236f4d}.image-set-review-preview-detail>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.image-set-review-preview-grid strong{font-size:13px}.image-set-review-preview-grid small{min-width:0;overflow-wrap:anywhere;color:var(--muted);font-size:10px;line-height:1.4}.image-set-review-preview-detail>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-set-review-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.image-set-review-card-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:31px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:900}.image-set-review-card-actions button:disabled{cursor:not-allowed;opacity:.55}.image-set-review-card-actions .image-set-review-confirm-button[aria-pressed=true]{border-color:#8bc5a8;background:#d7f0e2;color:#236f4d}.image-set-review-card-actions .image-set-review-redo-button{border-color:#ecc9a8;color:#9c4f16}.image-set-review-card-actions .image-set-review-redo-button:hover:not(:disabled){border-color:#d88c49;background:#fff6eb}.image-set-review-card-actions .image-set-review-redo-button[aria-pressed=true]{border-color:#d88c49;background:#f8dfc5;color:#7c3c10}.image-set-review-waiting{color:#9c4f16!important;white-space:normal!important}.image-set-review-redo-panel{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(320px,1.4fr);gap:14px 18px;margin:-4px 0 20px;padding:14px;border:1px solid #e5b786;border-radius:8px;background:#fff9f2}.image-set-review-redo-panel>div:first-child{display:grid;align-content:start;gap:5px}.image-set-review-redo-panel strong{color:var(--ink);font-size:14px}.image-set-review-redo-panel p{margin:0;color:#795b43;font-size:11px;line-height:1.55}.image-set-review-redo-panel label{display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:900}.image-set-review-redo-panel textarea{width:100%;resize:vertical;background:var(--surface)}.image-set-review-redo-reasons{display:grid;gap:12px}.image-set-review-confirmations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.image-set-review-confirmations label{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:12px;font-weight:800;line-height:1.45;cursor:pointer}.image-set-review-confirmations label.is-confirmed{border-color:#8bc5a8;background:#eff9f3}.image-set-review-confirmations input{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:1px 0 0;accent-color:#2d8f61}.image-set-review-note{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:800}.image-set-review-note textarea{width:100%;resize:vertical}.image-set-review-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -8px 20px #1115200a}.image-set-review-footer>div:first-child{display:grid;gap:2px}.image-set-review-footer strong{font-size:13px}.image-set-review-footer span{color:var(--muted);font-size:11px}.image-set-review-footer .modal-actions{padding:0}.task-center-page{display:grid;gap:18px}.task-center-heading{align-items:end}.task-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task-metric-grid article{display:grid;gap:8px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.task-metric-grid span{color:var(--muted);font-size:13px;font-weight:800}.task-metric-grid strong{font-size:26px}.task-filter-panel{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.task-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task-filter-grid label{display:grid;gap:6px;min-width:0}.task-filter-grid label span{color:var(--muted);font-size:12px;font-weight:900}.task-filter-grid input,.task-filter-grid select{width:100%;min-width:0;height:42px;padding:0 11px;border:1px solid var(--line-strong);border-radius:7px;background:var(--surface);color:var(--ink)}.task-filter-actions,.task-list-heading,.task-list-heading>div,.task-detail-panel>header,.task-review-list article>div{display:flex;align-items:center}.task-filter-actions{justify-content:flex-end;gap:10px}.task-list-heading{justify-content:space-between;gap:16px}.task-list-heading>div{gap:12px}.task-list-heading h2,.task-list-heading p{margin:0}.task-list-heading p,.task-list-heading>span{color:var(--muted);font-size:13px}.task-list-heading>span{display:flex;align-items:center;gap:6px}.task-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.task-list-item{display:grid;grid-template-columns:42px minmax(170px,1.35fr) minmax(110px,.8fr) minmax(100px,auto) minmax(160px,1fr) minmax(135px,auto);align-items:center;gap:12px;width:100%;min-width:0;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.task-list-item:last-child{border-bottom:0}.task-list-item:hover{background:var(--surface-soft)}.task-type-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#edf8fb;color:#166a7c}.task-type-icon.is-video{background:#fff1ed;color:#a23f29}.task-list-main{display:grid;gap:4px;min-width:0}.task-list-main strong,.task-list-main small,.task-list-channel,.task-list-counts,.task-list-item time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-list-main small,.task-list-channel,.task-list-counts,.task-list-item time{color:var(--muted);font-size:12px}.task-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;width:fit-content;max-width:100%;padding:4px 9px;border-radius:999px;background:#eef1f3;color:#4b5563;font-size:12px;font-weight:900;white-space:nowrap}.task-status-badge.is-running,.task-status-badge.is-postprocessing{background:#e5f6fb;color:#0c6678}.task-status-badge.is-approved,.task-status-badge.is-completed{background:#e9f8e8;color:#237330}.task-status-badge.is-review_required,.task-status-badge.is-submission_unknown,.task-status-badge.is-queued{background:#fff5cf;color:#795b00}.task-status-badge.is-redo_required,.task-status-badge.is-failed{background:#ffebe7;color:var(--red)}.task-detail-backdrop{position:fixed;inset:0;z-index:40;display:grid;justify-items:end;background:#1115207a}.task-detail-panel{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(760px,calc(100vw - 56px));height:100vh;background:var(--surface);box-shadow:-18px 0 50px #11152029}.task-detail-panel>header{justify-content:space-between;gap:16px;min-width:0;padding:20px 22px;border-bottom:1px solid var(--line)}.task-detail-panel h2{margin:5px 0 0;overflow-wrap:anywhere;font-size:21px}.task-detail-body{display:grid;align-content:start;gap:20px;min-height:0;overflow-y:auto;padding:20px 22px 36px}.task-detail-loading,.task-detail-error{display:flex;align-items:center;justify-content:center;gap:8px;padding:40px;color:var(--muted)}.task-detail-error{color:var(--red)}.task-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--line)}.task-detail-summary>div{display:grid;align-content:start;gap:6px;min-width:0;min-height:80px;padding:12px;background:var(--surface)}.task-detail-summary span{color:var(--muted);font-size:12px}.task-detail-summary strong{overflow-wrap:anywhere;font-size:14px}.task-detail-warning,.task-legacy-review{padding:13px 15px;border:1px solid #f0d878;border-radius:8px;background:#fff9df;color:#6a5200;font-size:13px}.task-detail-section{display:grid;gap:12px}.task-detail-section h3,.task-detail-section p,.task-review-list p,.task-legacy-review p{margin:0}.task-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-asset-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px}.task-asset-preview,.task-asset-preview img,.task-asset-preview video,.task-asset-placeholder{width:112px;height:96px;border-radius:6px}.task-asset-preview{overflow:hidden;background:var(--surface-quiet)}.task-asset-preview img,.task-asset-preview video{display:block;object-fit:cover}.task-asset-placeholder{display:grid;place-items:center;color:var(--muted);font-size:12px}.task-asset-card dl{display:grid;align-content:center;gap:7px;min-width:0;margin:0}.task-asset-card dl div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px;min-width:0;font-size:12px}.task-asset-card dt{color:var(--muted)}.task-asset-card dd{min-width:0;margin:0;overflow-wrap:anywhere}.task-review-list{display:grid;gap:8px}.task-review-list article{display:grid;gap:7px;padding:12px;border:1px solid var(--line);border-radius:8px}.task-review-list article>div{justify-content:space-between;gap:12px}.task-review-list span,.task-review-list p,.task-legacy-review p{color:var(--muted);font-size:12px}.generated-assets-page{display:grid;gap:18px}.generated-assets-heading{align-items:end}.generated-readonly-note{display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid #cbdde2;border-radius:8px;background:#f0f8fa;color:#185c69;font-size:13px;font-weight:800}.generated-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.generated-asset-list{display:grid;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.generated-asset-item{display:grid;grid-template-columns:58px minmax(190px,1.4fr) minmax(125px,.8fr) minmax(120px,.7fr) minmax(90px,auto) minmax(130px,auto);align-items:center;gap:12px;width:100%;min-width:0;padding:11px 14px;border-bottom:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;text-align:left}.generated-asset-item:last-child{border-bottom:0}.generated-asset-item:hover{background:var(--surface-soft)}.generated-thumbnail,.generated-thumbnail-placeholder{display:grid;place-items:center;flex:none;overflow:hidden;border-radius:7px;background:var(--surface-quiet);color:var(--muted);object-fit:cover}.generated-thumbnail.is-list,.generated-thumbnail-placeholder.is-list{width:58px;height:52px}.generated-thumbnail.is-detail,.generated-thumbnail-placeholder.is-detail{width:176px;height:146px}.generated-thumbnail-placeholder.is-detail{gap:8px;color:var(--muted);font-size:12px}.generated-asset-main,.generated-asset-binding{display:grid;gap:4px;min-width:0}.generated-asset-main strong,.generated-asset-main small,.generated-asset-binding strong,.generated-asset-binding small,.generated-asset-channel,.generated-asset-item time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generated-asset-main small,.generated-asset-binding small,.generated-asset-channel,.generated-asset-item time{color:var(--muted);font-size:12px}.generated-review-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:28px;padding:4px 9px;border-radius:999px;background:#eef1f3;color:#4b5563;font-size:12px;font-weight:900;white-space:nowrap}.generated-review-badge.is-pending,.generated-review-badge.is-unreviewed{background:#fff5cf;color:#795b00}.generated-review-badge.is-approved{background:#e9f8e8;color:#237330}.generated-review-badge.is-redo_required{background:#ffebe7;color:var(--red)}.generated-detail-panel{width:min(820px,calc(100vw - 56px))}.generated-detail-hero{display:grid;grid-template-columns:176px minmax(0,1fr);align-items:center;gap:16px}.generated-detail-hero>div:last-child{display:grid;justify-items:start;gap:8px;min-width:0}.generated-detail-hero strong,.generated-detail-hero span{overflow-wrap:anywhere}.generated-detail-hero strong{font-size:18px}.generated-detail-hero>div:last-child>span:not(.generated-review-badge){color:var(--muted);font-size:13px}.generated-detail-section{display:grid;gap:12px}.generated-detail-section h3,.generated-detail-section p,.generated-record-list p{margin:0}.generated-detail-section>div:first-child>p{margin-top:4px;color:var(--muted);font-size:12px}.generated-boundary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--line)}.generated-boundary-grid>div{display:grid;gap:5px;min-width:0;padding:11px 12px;background:var(--surface)}.generated-boundary-grid span{color:var(--muted);font-size:12px}.generated-boundary-grid strong{overflow-wrap:anywhere;font-size:13px}.generated-download-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 14px;border:1px solid #d8dde1;border-radius:8px;background:#f6f7f8}.generated-download-card.is-ready{border-color:#b9dbca;background:#eff9f3}.generated-download-card>div{display:grid;gap:4px;min-width:0}.generated-download-card strong{font-size:13px}.generated-download-card span,.generated-download-card small{color:var(--muted);font-size:12px;line-height:1.5}.generated-download-card .primary-button{white-space:nowrap}.generated-review-form{display:grid;gap:14px}.generated-redo-capability{display:grid;gap:4px;padding:11px 12px;border:1px solid #e3d3ab;border-radius:8px;background:#fff9e8}.generated-redo-capability.is-ready{border-color:#b9dbca;background:#eff9f3}.generated-redo-capability strong{font-size:13px}.generated-redo-capability span{color:var(--muted);font-size:12px;line-height:1.5}.generated-review-checks{display:grid;gap:9px}.generated-review-checks label{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--ink);font-size:13px;font-weight:700;cursor:pointer}.generated-review-checks input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--red)}.generated-review-note{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:800}.generated-review-note textarea{width:100%;min-height:92px;padding:10px 12px;resize:vertical;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;line-height:1.6}.generated-review-note textarea:focus{border-color:var(--red);outline:3px solid rgba(204,38,38,.1)}.generated-review-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.generated-version-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--line)}.generated-version-summary>div{display:grid;gap:5px;min-width:0;padding:11px 12px;background:var(--surface)}.generated-version-summary span{color:var(--muted);font-size:12px}.generated-version-summary strong{overflow-wrap:anywhere;font-size:13px}.generated-record-list{display:grid;gap:8px}.generated-record-list article{display:grid;gap:6px;padding:11px 12px;border:1px solid var(--line);border-radius:8px}.generated-record-list article>div{display:flex;justify-content:space-between;gap:12px}.generated-record-list span,.generated-record-list p{color:var(--muted);font-size:12px}.generated-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.generated-source-grid article{display:flex;align-items:center;gap:10px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px}.generated-source-grid article>div:last-child{display:grid;gap:4px;min-width:0}.generated-source-grid strong,.generated-source-grid span{overflow-wrap:anywhere}.generated-source-grid span{color:var(--muted);font-size:11px}@media(max-width:1180px){.bundle-item-row{grid-template-columns:34px repeat(2,minmax(130px,1fr)) 36px}.bundle-item-row output{grid-column:2 / -2}.task-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-list-item{grid-template-columns:42px minmax(180px,1fr) minmax(100px,auto) minmax(135px,auto)}.task-list-channel,.task-list-counts{display:none}.generated-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.generated-asset-item{grid-template-columns:58px minmax(180px,1fr) minmax(120px,auto) minmax(90px,auto) minmax(130px,auto)}.generated-asset-channel{display:none}}.image-set-actions{align-items:center;padding-top:0}.image-set-save-status{display:grid;gap:4px;min-width:0}.image-set-save-status strong{color:var(--ink);font-size:13px}.image-set-save-status span{color:var(--muted);font-size:12px;line-height:1.45}.image-set-save-status.is-blocked strong{color:var(--red)}.image-set-save-status.is-ready strong{color:var(--accent-strong)}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1040px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;grid-template-rows:auto auto auto}.side-nav{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;overflow-y:visible}.logout-button{width:fit-content}.topbar{grid-template-columns:1fr 42px}.nav-tabs{grid-column:1 / -1;justify-content:flex-start;overflow-x:auto;order:3;padding-top:2px}.task-layout,.video-layout,.video-result-layout,.reference-row,.history-card,.video-history-card,.overview-columns{grid-template-columns:1fr}.source-asset-grid,.source-product-strip,.source-upload-fields,.source-asset-filters,.overview-grid,.task-metric-grid,.image-set-slot-grid,.video-storyboard-grid,.video-goal-grid,.video-shot-review-grid,.task-side{grid-template-columns:repeat(2,minmax(0,1fr))}.generate-button{grid-column:1 / -1}}@media(max-width:760px){.login-shell{padding:16px}.login-panel{gap:17px;padding:24px 20px 22px;border-radius:12px}.login-brand{padding-bottom:15px}.login-panel .brand-mark{width:42px;height:42px}.login-brand strong{font-size:18px}.app-shell{display:block}.sidebar{padding:12px}.side-nav{display:none;grid-template-columns:1fr}.side-nav.is-open,.mobile-navigation-toggle{display:grid}.logout-button{display:none}.logout-button.is-open{display:flex}.nav-section{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-section-title{grid-column:1 / -1}.main-shell{padding:12px}.workspace-topbar,.workspace-top-actions,.upload-method-panel{display:grid;justify-items:stretch}.workspace-top-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-top-actions button{min-width:0;padding-inline:6px;font-size:12px}.page-wrap{margin-top:0}.topbar,.work-surface{padding:12px}.sidebar .brand span{display:block}.step-bar,.creation-method-grid,.form-grid,.product-identity-strip,.product-page-steps,.product-page-facts,.product-page-field-grid,.product-page-candidate-grid,.variant-grid,.product-library-grid,.source-asset-grid,.source-product-strip,.source-product-strip dl,.source-upload-fields,.source-asset-filters,.source-upload-item,.results-grid,.reference-gallery,.upload-preview-strip,.recognition-field-grid,.job-summary,.task-side,.video-side,.script-option,.video-review-actions,.task-choice-grid,.image-set-config-grid,.compact-form-grid,.image-set-facts,.platform-choice-grid,.image-set-source-grid,.image-set-slot-guide,.image-set-slot-grid,.sku-display-mode-options,.history-actions,.overview-grid,.recent-job,.video-storyboard-grid,.video-shot-review-grid,.video-reference-strip{grid-template-columns:1fr}.video-quick-steps{margin-bottom:12px}.video-quick-steps>div{min-height:48px;gap:5px;padding:6px;text-align:center}.video-quick-steps span{width:23px;height:23px}.video-setup-card{padding:14px}.video-product-summary,.video-submit-bar{grid-template-columns:1fr}.video-product-summary .product-visual{width:100%;height:150px}.video-product-summary>.secondary-button,.video-submit-bar .generate-button{width:100%}.video-goal-grid,.video-advanced-grid{grid-template-columns:1fr}.video-selected-plan{grid-template-columns:auto minmax(0,1fr)}.video-selected-plan em{grid-column:2}.video-reference-details>summary{align-items:flex-start;flex-direction:column}.video-storyboard-heading,.video-storyboard-confirm,.video-reference-guide>div:first-child{align-items:stretch;flex-direction:column}.video-storyboard-preview-backdrop{align-items:end;padding:8px}.video-storyboard-preview-modal{width:100%;max-height:calc(100svh - 16px);border-radius:12px}.video-storyboard-preview-body{grid-template-columns:1fr}.video-storyboard-preview-image{min-height:0;padding:12px}.video-storyboard-preview-image img{max-height:52svh}.video-storyboard-preview-detail{gap:12px;padding:16px;border-top:1px solid var(--line);border-left:0}.video-storyboard-preview-detail textarea{min-height:120px}.image-set-slot-choice-options{grid-template-columns:1fr}.onboarding-guide{width:100%;height:calc(100svh - 16px);max-height:calc(100svh - 16px);border-radius:14px}.onboarding-backdrop{align-items:end;justify-items:stretch;height:100dvh;min-height:100svh;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom));overflow:hidden}.onboarding-guide-header,.onboarding-guide-body,.onboarding-guide-actions{padding-right:16px;padding-left:16px}.onboarding-guide-body{max-height:none;padding-top:16px;padding-bottom:22px;overflow-y:auto}.onboarding-preparation-grid,.onboarding-channel-grid,.onboarding-result-guide{grid-template-columns:1fr}.onboarding-card-actions,.onboarding-guide-actions{display:grid}.onboarding-guide-header{padding-top:16px;padding-bottom:14px;background:var(--surface)}.onboarding-guide-header h2{font-size:22px}.onboarding-guide-header .small-icon{position:sticky;top:0;flex:none}.onboarding-guide-actions{gap:8px;padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:var(--surface)}.onboarding-guide-actions>span{display:none}.onboarding-step-card .secondary-button{width:100%}.independent-layer-heading{display:grid}.independent-layer-options{grid-template-columns:repeat(2,minmax(0,1fr))}.source-section-heading{display:grid}.source-upload-status{overflow-wrap:anywhere}.cutout-dialog-backdrop{align-items:stretch;padding:8px}.cutout-dialog{max-height:calc(100vh - 16px)}.cutout-dialog>header,.cutout-dialog>footer{padding:13px 14px}.cutout-safety-note,.cutout-target-selector{margin-right:14px;margin-left:14px}.cutout-target-heading,.cutout-target-status,.cutout-layout-heading,.cutout-layout-submit,.cutout-approved-actions,.cutout-dialog>footer{display:grid;align-items:stretch}.cutout-target-modes{display:grid;grid-template-columns:1fr}.cutout-mask-toolbar,.cutout-mask-tools,.cutout-mask-sizes{display:grid;align-items:stretch}.cutout-mask-toolbar{grid-template-columns:minmax(0,1fr);width:100%}.cutout-mask-tools{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cutout-mask-sizes{grid-template-columns:auto repeat(3,31px);align-items:center;justify-content:start}.cutout-mask-history-actions{justify-content:space-between}.cutout-region-stage{max-height:250px}.cutout-region-canvas>img{max-height:228px}.cutout-version-list{padding-right:14px;padding-left:14px}.cutout-compare{grid-template-columns:1fr}.cutout-layout-mode-actions{display:grid;grid-template-columns:1fr}.cutout-layout-workspace{grid-template-columns:1fr}.cutout-layout-order ol{max-height:145px}.cutout-layout-submit>span{max-width:none}.cutout-approved-action-buttons,.cutout-review-actions{display:grid;grid-template-columns:1fr}.step-item{min-height:42px}.page-heading,.template-toolbar,.url-fill,.section-heading-row,.bundle-editor-heading,.variant-card-header,.library-toolbar,.product-pagination,.page-actions,.modal-actions{display:grid;justify-items:stretch}.bundle-item-row{grid-template-columns:1fr 36px}.bundle-item-row label,.bundle-item-row output{grid-column:1 / -1}.bundle-item-row .small-icon{grid-column:2;grid-row:1}.method-badge{width:fit-content}.product-pagination>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading h1{font-size:24px}.wide-field,.image-set-source-panel{grid-column:auto}.image-set-safety-note{grid-template-columns:1fr}.image-set-plan-list article>div:first-child{display:grid}.image-set-review-summary{grid-template-columns:1fr}.image-set-review-summary small{grid-column:auto}.image-set-export-summary{grid-template-columns:1fr}.image-set-export-summary small{grid-column:auto}.image-set-plan-actions,.image-set-review-confirmations{display:grid;grid-template-columns:1fr}.image-set-review-preview-grid{grid-template-columns:1fr}.image-set-review-preview-grid>article{grid-template-columns:96px minmax(0,1fr);align-items:center}.image-set-review-card-actions{grid-column:1 / -1}.image-set-review-redo-panel{grid-template-columns:1fr}.image-set-review-preview{aspect-ratio:1}.image-set-review-section-heading,.image-set-review-footer{align-items:stretch}.image-set-review-section-heading{display:grid}.image-set-review-section-heading b{width:fit-content}.image-set-review-preview-notice,.image-set-review-footer{grid-template-columns:1fr}.image-set-review-preview-notice,.image-set-review-footer{display:grid}.image-set-review-footer .modal-actions{display:grid;grid-template-columns:1fr}.image-set-review-body{padding:14px}.inline-actions{display:grid}.task-center-heading,.task-filter-actions,.task-list-heading,.task-list-heading>div{display:grid;justify-items:stretch}.task-filter-grid,.task-metric-grid,.task-detail-summary,.task-asset-grid,.generated-filter-grid,.generated-boundary-grid,.generated-version-summary,.generated-source-grid{grid-template-columns:1fr}.generated-assets-heading,.generated-record-list article>div{display:grid;justify-items:stretch}.generated-asset-item{grid-template-columns:58px minmax(0,1fr) auto;align-items:start;gap:8px 10px;padding:11px}.generated-asset-binding{grid-column:2 / -1}.generated-asset-item time{grid-column:2 / -1}.generated-detail-panel{width:100%;max-width:100%}.generated-detail-hero,.generated-download-card{grid-template-columns:1fr}.generated-download-card .primary-button{width:100%}.generated-thumbnail.is-detail,.generated-thumbnail-placeholder.is-detail{width:100%;height:min(48vw,210px)}.task-list-item{grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:8px 10px;padding:13px 12px}.task-type-icon{grid-row:1 / span 2}.task-status-badge{align-self:start}.task-list-item time{grid-column:2 / -1}.task-detail-panel{width:100%;max-width:100%}.task-detail-panel>header,.task-detail-body{padding-left:14px;padding-right:14px}.task-asset-card{grid-template-columns:92px minmax(0,1fr)}.task-asset-preview,.task-asset-preview img,.task-asset-preview video,.task-asset-placeholder{width:92px;height:82px}.product-page-section-title,.product-page-continue{display:grid}.product-page-candidate-grid article{grid-template-columns:72px minmax(0,1fr)}.review-filter-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-preview h3{font-size:26px}.video-player-frame{max-height:none}}@media(max-width:760px){body{overflow-x:hidden}.sidebar{position:sticky;top:0;z-index:40;display:block;height:auto;padding:max(10px,env(safe-area-inset-top)) 12px 10px;box-shadow:0 8px 24px #1e2b331f}.sidebar-header{min-height:44px}.sidebar .brand{gap:10px}.sidebar .brand-mark{width:40px;height:40px}.sidebar .brand strong{font-size:15px}.sidebar .brand span{margin-top:2px;font-size:11px}.mobile-navigation-toggle{width:40px;height:40px}.side-nav.is-open{display:grid;max-height:calc(100dvh - 86px);margin-top:12px;padding-bottom:max(10px,env(safe-area-inset-bottom));overflow-y:auto}.logout-button.is-open{width:100%;margin-top:10px}.main-shell{padding:8px 8px calc(96px + env(safe-area-inset-bottom))}.workspace-topbar{display:grid;min-height:0;gap:9px;margin-bottom:8px;padding:10px}.workspace-breadcrumb{gap:6px;font-size:12px}.workspace-top-actions{display:flex;width:100%;gap:7px;padding-bottom:2px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.workspace-top-actions::-webkit-scrollbar{display:none}.workspace-top-actions button{flex:0 0 auto;min-height:36px;padding:0 11px;font-size:12px}.work-surface{padding:12px}.page-heading{gap:12px;margin-bottom:14px}.page-heading h1{margin-top:3px;font-size:22px}.page-heading p{margin-top:6px;font-size:13px;line-height:1.48}.page-heading>.secondary-button{min-height:38px}.product-form{gap:12px}.product-form-section,.variant-editor{gap:13px;padding:13px}.section-heading-row{gap:8px}.section-heading-row h2{margin:3px 0 4px;font-size:17px}.section-heading-row p{font-size:12.5px;line-height:1.45}.method-badge{padding:5px 8px;font-size:10.5px}.creation-method-grid{gap:8px}.creation-method-card{grid-template-columns:24px minmax(0,1fr);align-items:start;min-height:0;gap:4px 10px;padding:12px}.creation-method-card svg{grid-column:1;grid-row:1 / span 2;margin-top:1px}.creation-method-card strong,.creation-method-card span{grid-column:2}.creation-method-card strong{font-size:13.5px}.creation-method-card span,.creation-method-panel span{font-size:11.5px;line-height:1.45}.creation-method-panel{padding:12px}.upload-method-panel{gap:10px}.upload-method-panel .primary-button,.manual-method-panel,.reference-copy .secondary-button{width:100%}.upload-preview-empty{min-height:58px;padding:11px;font-size:12px}.reference-row{gap:12px;padding-top:0}.reference-copy h3{margin:0 0 6px;font-size:17px}.reference-copy p{font-size:12.5px;line-height:1.48}.reference-copy .inline-actions{margin-top:10px}.reference-gallery figure{min-height:0}.reference-gallery img{height:132px;object-fit:contain;background:var(--surface-quiet)}.reference-placeholder,.image-placeholder{min-height:112px;gap:6px;padding:16px}.page-actions{grid-template-columns:1fr;justify-content:stretch;justify-items:stretch;width:100%;gap:8px;padding-top:2px}.page-actions>button{width:100%;min-height:42px}.page-actions>button[type=submit]{order:-1}.image-set-page,.source-video-edit-page{gap:12px}.image-set-config-grid{gap:10px}.image-set-config-panel,.image-set-slot-section,.image-set-plan-result{gap:12px;padding:12px}.image-set-config-panel h2,.image-set-slot-section h2,.image-set-plan-result h2{font-size:17px}.image-set-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.image-set-facts .image-set-bundle-facts{grid-column:1 / -1}.platform-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.platform-choice-grid button{min-height:82px;padding:10px}.platform-choice-grid strong{font-size:13px}.platform-choice-grid small{font-size:11px}.image-set-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.image-set-slot-grid{gap:10px}.image-set-slot-grid article{gap:10px;padding:12px}.image-set-slot-guide{gap:8px}.image-set-slot-guide>div{padding:9px 10px}.image-set-plan-actions{display:grid;grid-template-columns:1fr;align-items:stretch}.image-set-plan-actions>button{width:100%}.reference-video-page{gap:12px}.reference-workflow-tabs,.reference-analysis-grid,.reference-library-layout,.reference-analysis-fields,.reference-product-apply,.reference-product-bind-options{grid-template-columns:1fr}.reference-workflow-tabs button{min-height:42px}.reference-template-list,.reference-template-editor{padding:12px}.reference-template-list{max-height:310px;overflow-y:auto}.reference-template-actions{display:grid;align-items:stretch}.reference-template-actions .secondary-button,.reference-product-apply .primary-button{width:100%}.selected-reference-video{grid-template-columns:auto minmax(0,1fr)}.selected-reference-video a{grid-column:2}.reference-editor-empty{min-height:260px}}@media(max-width:360px){.platform-choice-grid,.image-set-source-grid,.image-set-facts{grid-template-columns:1fr}.image-set-facts .image-set-bundle-facts{grid-column:auto}}
