.image-heading-actions{display:flex;gap:9px}.image-heading-actions .ghost-button{padding:9px 14px}.image-toolbar-actions{display:flex;gap:7px}.image-toolbar [data-selection-toggle][aria-pressed="true"]{border-color:#84452d;background:#2b1a14;color:#ff966a}.batch-dialog{width:min(780px,calc(100vw - 32px))}.batch-word-drop{position:relative;display:grid;place-items:center;gap:7px;margin-top:20px;padding:25px;border:1px dashed #465061;border-radius:11px;background:#171b22;text-align:center}.batch-word-drop.dragging{border-color:#ff6a2a;background:#221916}.batch-word-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.batch-word-drop small,.batch-empty{color:#778294;font-size:.68rem}.batch-summary{margin-top:14px;padding:11px 13px;border-radius:9px;background:#191e26;color:#aeb8c6;font-size:.73rem}.batch-items{max-height:250px;margin-top:12px;overflow:auto;border:1px solid #2e3541;border-radius:10px}.batch-empty{padding:30px;text-align:center}.batch-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #282e38}.batch-item:last-child{border-bottom:0}.batch-item input{accent-color:#ff6a2a}.batch-item strong{font-size:.75rem}.batch-item span{color:#778294;font-size:.66rem}.batch-downloads{position:sticky;z-index:20;top:8px;margin:12px 0}.batch-download-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #473329;border-radius:12px;background:#171717eF;box-shadow:0 15px 38px #0005;backdrop-filter:blur(14px)}.batch-download-row>span{display:grid;gap:3px}.batch-download-row>span strong{font-size:.75rem}.batch-download-row>span small{color:var(--muted);font-size:.61rem}.batch-selection-actions{display:flex;gap:7px}.batch-selection-actions button{padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:#aeb6c4;font-size:.66rem;cursor:pointer}.batch-selection-actions .batch-download-primary{border-color:var(--orange);background:var(--orange);color:#fff;font-weight:700}.batch-selection-actions button:disabled{opacity:.4;cursor:not-allowed}.visual-card.selection-mode{outline:1px dashed #4a4f59;outline-offset:2px}.visual-card.selection-mode.has-selection{outline:2px solid var(--orange);box-shadow:0 14px 35px #ff6a2a1c}.visual-card.selection-mode .visual-download{display:none}.image-selection-options{position:absolute;z-index:5;left:9px;top:9px;display:flex;flex-wrap:wrap;gap:6px;max-width:calc(100% - 18px)}.image-selection-options label{cursor:pointer}.image-selection-options input{position:absolute;opacity:0;pointer-events:none}.image-selection-options span{display:grid;place-items:center;min-width:30px;height:30px;padding:0 9px;border:1px solid #ffffff3d;border-radius:999px;background:#090c10dc;color:#fff;font-size:.62rem;box-shadow:0 4px 13px #0005}.image-selection-options input:checked+span{border-color:var(--orange);background:var(--orange);font-weight:800}.download-dialog{width:min(460px,calc(100vw - 32px))}.download-confirm-mark{display:grid;place-items:center;width:68px;height:68px;margin:24px auto 18px;border:1px solid #69402f;border-radius:20px;background:#ff6a2a16;color:var(--orange);font-size:30px;font-weight:800}.download-confirm-copy{margin:0 auto;max-width:350px;text-align:center;color:#b9c0cc;font-size:.78rem;line-height:1.8}.download-confirm-copy strong{color:#ff9366;font-size:1rem}.download-confirm-note{margin:13px 0 5px;text-align:center;color:var(--muted);font-size:.63rem}html[data-theme="light"] .batch-word-drop,html[data-theme="light"] .batch-summary{background:#f7f9fc;color:#39465a}html[data-theme="light"] .batch-items{border-color:#dce2ea}html[data-theme="light"] .batch-item{border-color:#e5e9ef}html[data-theme="light"] .batch-download-row{border-color:#ffd2c0;background:#fffffff2;box-shadow:0 12px 32px #27324714}html[data-theme="light"] .batch-selection-actions button{background:#fff;color:#526078;border-color:#d9dfe8}html[data-theme="light"] .batch-selection-actions .batch-download-primary{background:var(--orange);border-color:var(--orange);color:#fff}html[data-theme="light"] .download-confirm-copy{color:#475166}.visual-actions:has(>button:only-child){grid-template-columns:1fr}.visual-download{position:absolute;right:10px;top:10px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #ffffff2e;border-radius:8px;background:#0a0d11d9;color:#fff;transition:.18s}.visual-download:hover{border-color:#ff8e60;background:#2b1913;color:#ff986c;transform:translateY(-1px)}.visual-download svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:640px){.batch-download-row{align-items:stretch;flex-direction:column}.batch-selection-actions{display:grid;grid-template-columns:1fr 1fr}.batch-selection-actions .batch-download-primary{grid-column:1/-1}.image-toolbar-actions{gap:4px}.image-toolbar-actions button{padding-inline:8px}}
.image-workspace{height:auto;min-height:0;flex:1 1 auto;display:grid;grid-template-columns:230px minmax(0,1fr);overflow:hidden}.image-sidebar{padding:18px 14px;background:#0f1218;border-right:1px solid #252b36;overflow:auto}.image-side-title{display:flex;align-items:center;justify-content:space-between;padding:0 7px 10px;color:#7f8999;font-size:.72rem}.image-side-title button,.image-toolbar button{border:1px solid #303744;background:#181d25;color:#abb4c2;border-radius:7px;cursor:pointer}.image-side-title button{width:29px;height:29px}.project-list{display:grid;gap:5px}.project-row{display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;border-radius:9px}.project-row>button:first-child{min-width:0;border:0;background:transparent;color:#aeb6c3;text-align:left;padding:10px;border-radius:9px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-row.active{background:#1c212a;box-shadow:inset 3px 0 #ff6a2a}.project-row.active>button:first-child{color:#fff}.project-row .project-more{border:0;background:transparent;color:#6f798a;padding:8px;cursor:pointer}.asset-kind-title{margin-top:25px}.asset-kind-nav{display:grid;gap:5px}.asset-kind-nav button{display:flex;justify-content:space-between;border:0;background:transparent;color:#99a3b3;border-radius:9px;padding:11px 12px;cursor:pointer}.asset-kind-nav button.active{background:#221916;color:#ff986c}.asset-kind-nav em{font-size:.68rem;font-style:normal}.image-main{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;background:#0b0e13}.image-main::-webkit-scrollbar{width:9px}.image-main::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:12px;background:#4a4f59;background-clip:padding-box}html[data-theme="light"] .image-main::-webkit-scrollbar-thumb{background:#c4cad4;background-clip:padding-box}.image-heading{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:23px 28px;border-bottom:1px solid #252b36;background:#0b0e13ee;backdrop-filter:blur(14px)}.image-heading h1{margin:4px 0 0;font-size:1.2rem}.image-heading p{margin:7px 0 0;color:#7f8999;font-size:.75rem}.image-toolbar{display:flex;justify-content:space-between;align-items:center;padding:17px 28px 0;color:#9ca5b3;font-size:.75rem}.image-toolbar button{padding:7px 10px}.visual-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:17px;padding:17px 28px 35px}.visual-card{overflow:hidden;border:1px solid #29303b;border-radius:13px;background:#12161d}.visual-preview{position:relative;aspect-ratio:4/3;background:radial-gradient(circle at 50% 35%,#343c48,#191e26 60%,#11151a);overflow:hidden}.visual-preview>img{width:100%;height:100%;object-fit:cover}.visual-placeholder{height:100%;display:grid;place-items:center;color:#596476;font-size:2rem}.visual-status{position:absolute;left:10px;top:10px;padding:5px 8px;border-radius:6px;background:#0a0d11d9;color:#b9c1cd;font-size:.65rem}.visual-status.running{color:#ff9b71}.visual-status.failed{color:#ff8190}.candidate-strip{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:6px;overflow-x:auto}.candidate-strip button{position:relative;width:42px;height:42px;padding:0;border:2px solid #ffffff26;border-radius:7px;overflow:hidden;background:#222;cursor:pointer;flex:0 0 auto;opacity:.72}.candidate-strip button:hover{opacity:1;border-color:#ffffff73}.candidate-strip button.selected{border-color:#ff6a2a;opacity:1;box-shadow:0 0 0 2px #ff6a2a3d}.candidate-strip button.selected:after{content:"✓";position:absolute;right:2px;top:2px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#ff6a2a;color:#fff;font-size:10px;font-weight:900;box-shadow:0 1px 4px #0008}.candidate-strip img{width:100%;height:100%;object-fit:cover}.visual-body{padding:14px}.visual-body header{display:flex;align-items:center;justify-content:space-between}.visual-body h3{margin:0;font-size:.88rem}.visual-kind{color:#8490a1;font-size:.65rem}.visual-body p{min-height:38px;margin:9px 0;color:#8e98a8;font-size:.71rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.visual-meta{display:flex;justify-content:space-between;color:#657183;font-size:.63rem}.visual-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.visual-actions button{padding:8px;border:1px solid #343c48;border-radius:8px;background:#191e26;color:#c3cad5;font-size:.7rem;cursor:pointer}.visual-actions button:last-child{border-color:#713b28;background:#221916;color:#ff9568}.visual-actions button:disabled{opacity:.45;cursor:not-allowed}.image-page-empty{grid-column:1/-1;min-height:320px;display:grid;place-content:center;text-align:center;gap:9px;color:#6f7a8b}.image-page-empty strong{color:#c3cad5}.image-empty-mini{padding:15px 8px;color:#687386;font-size:.68rem}.asset-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 34px);padding:0;border:1px solid #343b47;border-radius:15px;background:#12161d;color:#edf0f5;box-shadow:0 30px 100px #000b}.asset-dialog::backdrop{background:#05070aad;backdrop-filter:blur(3px)}.asset-dialog form{padding:22px}.asset-dialog header{display:flex;justify-content:space-between;align-items:flex-start}.asset-dialog h2{margin:4px 0 0;font-size:1.15rem}.asset-dialog header button{border:0;background:transparent;color:#8993a3;font-size:1.5rem;cursor:pointer}.asset-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:21px}.asset-form-grid label{display:grid;gap:7px;color:#9ca6b5;font-size:.72rem}.asset-form-grid .wide{grid-column:1/-1}.asset-form-grid input,.asset-form-grid select,.asset-form-grid textarea{width:100%;border:1px solid #343b47;border-radius:9px;background:#191e26;color:#eef1f6;padding:10px 11px;outline:none}.asset-form-grid textarea{resize:vertical;line-height:1.6}.generate-options{margin-top:18px;padding-top:16px;border-top:1px solid #292f3a}.generate-options h3{margin:0;font-size:.82rem}.options-grid{grid-template-columns:repeat(2,1fr);margin-top:13px}.price-readonly{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:14px;padding:12px;border:1px solid #332c29;border-radius:9px;background:#191717}.price-readonly span,.price-readonly small{font-size:.67rem;color:#8993a2}.price-readonly strong{color:#ff9568}.price-readonly small{grid-column:1/-1}.asset-form-error{min-height:18px;margin:10px 0 0;color:#ff7f8f;font-size:.7rem}.asset-dialog footer{display:flex;gap:9px;align-items:center}.asset-dialog footer span{flex:1}.danger-button{color:#ff8190;border-color:#572d34}.image-toast{position:fixed;z-index:1000;right:25px;bottom:25px;max-width:380px;padding:12px 16px;border:1px solid #38404c;border-radius:9px;background:#1b2028;color:#ecf0f5;box-shadow:0 15px 45px #0007;font-size:.75rem}html[data-theme="light"] .image-sidebar,html[data-theme="light"] .image-main,html[data-theme="light"] .image-heading{background:#f5f7fa;color:#172033}html[data-theme="light"] .visual-card,html[data-theme="light"] .asset-dialog{background:#fff;color:#172033;border-color:#dce2ea}html[data-theme="light"] .asset-dialog input,html[data-theme="light"] .asset-dialog select,html[data-theme="light"] .asset-dialog textarea{background:#f7f9fc;color:#172033;border-color:#ccd4df}@media(max-width:760px){.image-workspace{height:auto;display:block;overflow:visible}.project-list,.asset-kind-nav{display:flex;overflow:auto}.project-row{min-width:150px}.image-heading{padding:18px 15px}.image-heading p{display:none}.visual-asset-grid{grid-template-columns:1fr;padding:15px}.image-toolbar{padding:15px 15px 0}.asset-form-grid,.options-grid{grid-template-columns:1fr}.asset-form-grid .wide{grid-column:auto}}
.reference-field{display:grid;gap:7px;color:#9ca6b5;font-size:.72rem}.reference-drop{position:relative;display:grid;place-items:center;gap:5px;padding:17px;border:1px dashed #434b59;border-radius:10px;background:#171b22;text-align:center}.reference-drop.dragging{border-color:#ff6a2a;background:#221916}.reference-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.reference-drop small{color:#737e8f;font-size:.63rem}.reference-list{display:flex;gap:8px;overflow-x:auto}.reference-item{position:relative;width:72px;height:72px;flex:0 0 auto;border:1px solid #343b47;border-radius:8px;overflow:hidden}.reference-item img{width:100%;height:100%;object-fit:cover}.reference-item button{position:absolute;right:3px;top:3px;width:20px;height:20px;border:0;border-radius:50%;background:#090b0dcc;color:#fff;cursor:pointer}.reference-uploading{display:grid;place-items:center;width:72px;height:72px;border:1px dashed #434b59;border-radius:8px;color:#ff9568;font-size:.62rem}

.visual-preview-open{width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.visual-preview-open img{width:100%;height:100%;object-fit:cover;display:block}.image-preview-dialog{width:min(1180px,calc(100vw - 34px));max-height:calc(100vh - 34px);padding:0;border:1px solid #343b47;border-radius:16px;background:#10141b;color:#edf0f5;box-shadow:0 35px 110px #000c}.image-preview-dialog::backdrop{background:#05070acd;backdrop-filter:blur(5px)}.image-preview-dialog header,.image-preview-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px}.image-preview-dialog header{border-bottom:1px solid var(--line)}.image-preview-dialog header h2{margin:4px 0 0;font-size:1.05rem}.image-preview-dialog header button{border:0;background:transparent;color:#9ca6b5;font-size:1.7rem;cursor:pointer}.image-preview-stage{height:min(72vh,820px);display:grid;place-items:center;padding:16px;background:radial-gradient(circle at 50% 40%,#242c37,#090c11 72%);overflow:hidden}.image-preview-stage img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 18px 60px #0009}.image-preview-dialog footer{border-top:1px solid var(--line);color:var(--muted);font-size:.72rem}.image-preview-dialog footer a{text-decoration:none}html[data-theme="light"] .image-preview-dialog{background:#fff;color:#172033;border-color:#d8dee8}html[data-theme="light"] .image-preview-stage{background:radial-gradient(circle at 50% 40%,#fff,#e9eef5 72%)}@media(max-width:640px){.image-preview-dialog footer{align-items:stretch;flex-direction:column}.image-preview-dialog footer .primary-button{text-align:center}.image-preview-stage{height:68vh}}

/* Project is the primary level; asset type is a secondary filter. */
.image-studio .image-side-title:not(.asset-kind-title){color:#f4a06a;font-weight:800;letter-spacing:.07em}
.image-studio .project-list{padding:8px;border:1px solid #5b3c2d;border-radius:13px;background:linear-gradient(145deg,#2a211d,#1a2029);box-shadow:inset 0 1px #ffffff0d}
.image-studio .project-row{border:1px solid transparent;border-radius:9px}
.image-studio .project-row>button:first-child{color:#ffb782;font-size:.89rem;font-weight:800}
.image-studio .project-row.active{border-color:#ac5934;background:#3a261f;box-shadow:inset 3px 0 #ff763b}
.image-studio .project-row.active>button:first-child{color:#fff5ec}
.image-studio .asset-kind-title{margin-top:19px;padding-top:18px;border-top:1px solid #42444c;color:#8993a1}
.image-studio .asset-kind-nav{margin-left:8px;padding-left:10px;border-left:2px solid #574536}
html[data-theme="light"] .image-studio .image-side-title:not(.asset-kind-title){color:#b34b1d}
html[data-theme="light"] .image-studio .project-list{border-color:#eac5ab;background:linear-gradient(145deg,#fff4e8,#fffaf5)}
html[data-theme="light"] .image-studio .project-row>button:first-child{color:#9f451d}
html[data-theme="light"] .image-studio .project-row.active{border-color:#dc976f;background:#ffeadb}
html[data-theme="light"] .image-studio .project-row.active>button:first-child{color:#842f0d}
html[data-theme="light"] .image-studio .asset-kind-title{border-color:#dee2e7;color:#6b7683}
html[data-theme="light"] .image-studio .asset-kind-nav{border-color:#eac5ab}

/* Project tree: asset categories live directly beneath their parent project. */
.image-studio .project-list{gap:6px;padding:7px}
.image-studio .project-group{min-width:0;overflow:hidden;border:1px solid transparent;border-radius:11px;transition:background .18s,border-color .18s}
.image-studio .project-group:hover{background:#ffffff08}
.image-studio .project-group.active{border-color:#824a32;background:linear-gradient(135deg,#33231d,#222127)}
.image-studio .project-row,.image-studio .project-row.active{border:0;background:transparent;box-shadow:none}
.image-studio .project-row>button:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 10px 11px 12px;font-size:.85rem}
.image-studio .project-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.image-studio .project-chevron{flex:0 0 auto;color:#c27e58;font-size:1.1rem;line-height:1;transform:rotate(-90deg);transition:transform .18s ease}
.image-studio .project-name[aria-expanded="true"] .project-chevron{transform:rotate(0)}
.image-studio .project-row .project-more{margin-right:4px;border-radius:7px;font-weight:700}
.image-studio .project-row .project-more:hover{background:#ffffff12;color:#ffb58c}
.image-studio .project-subnav{display:grid;gap:2px;margin:0 10px 9px 18px;padding:4px 0 2px 10px;border-left:1px solid #8b523a}
.image-studio .project-subnav[hidden]{display:none}
.image-studio .project-subnav button{position:relative;align-items:center;padding:8px 10px;border-radius:7px;color:#aeb4bd;font-size:.73rem;text-align:left}
.image-studio .project-subnav button:before{content:"";position:absolute;left:-14px;width:5px;height:5px;border-radius:50%;background:#73584a}
.image-studio .project-subnav button:hover{background:#ffffff0c;color:#fff}
.image-studio .project-subnav button.active{background:#ff6a2a1e;color:#ffa477;font-weight:750}
.image-studio .project-subnav button.active:before{background:#ff7c43;box-shadow:0 0 0 3px #ff6a2a24}
.image-studio .project-subnav em{color:#8993a2;font-size:.67rem}
.image-studio .project-subnav button.active em{color:#ffac85}
.image-studio .project-name:focus-visible,.image-studio .project-subnav button:focus-visible,.image-studio .project-more:focus-visible{outline:2px solid #ff8d5b;outline-offset:-2px}
html[data-theme="light"] .image-studio .project-group:hover{background:#fbdcc62e}
html[data-theme="light"] .image-studio .project-group.active{border-color:#e6ac89;background:linear-gradient(135deg,#fff1e5,#fff8f2)}
html[data-theme="light"] .image-studio .project-subnav{border-left-color:#e5ad8d}
html[data-theme="light"] .image-studio .project-subnav button{color:#695b55}
html[data-theme="light"] .image-studio .project-subnav button:hover{background:#ffeadb;color:#9e411e}
html[data-theme="light"] .image-studio .project-subnav button.active{background:#ffe3d2;color:#bd491a}
@media(max-width:760px){.image-studio .project-list,.image-studio .project-subnav{display:grid;overflow:visible}.image-studio .project-row{min-width:0}}

/* Image-to-video transfer is additive; the existing upload controls are unchanged. */
.image-studio .project-group{overflow:visible}
.image-studio .project-actions{position:relative;align-self:center}
.image-studio .project-actions-menu{position:absolute;z-index:15;top:35px;right:2px;display:grid;gap:3px;width:142px;padding:5px;border:1px solid #654533;border-radius:10px;background:#252025;box-shadow:0 14px 34px #0007}
.image-studio .project-actions-menu[hidden]{display:none}
.image-studio .project-actions-menu button{border:0;border-radius:7px;padding:9px 10px;background:transparent;color:#f2e5dd;font-size:.72rem;text-align:left;cursor:pointer}
.image-studio .project-actions-menu button:hover,.image-studio .project-actions-menu button:focus-visible{background:#ff6a2a24;color:#ffac83;outline:none}
.image-studio .project-sync-progress{display:grid;gap:8px;margin-top:12px;padding:12px;border:1px solid #71503b;border-radius:11px;background:#2a211e;color:#ffbb95}
.image-studio .project-sync-progress[hidden]{display:none}
.image-studio .project-sync-progress strong{font-size:.73rem}
.image-studio .project-sync-progress small{color:#cbb6a9;font-size:.66rem;line-height:1.5}
.image-studio .project-sync-progress progress{width:100%;height:7px;accent-color:#ff6a2a}
html[data-theme="light"] .image-studio .project-actions-menu{border-color:#e7bfa8;background:#fffaf6;box-shadow:0 14px 32px #5e35252b}
html[data-theme="light"] .image-studio .project-actions-menu button{color:#683d2b}
html[data-theme="light"] .image-studio .project-actions-menu button:hover{background:#ffe9da;color:#b94a1c}
html[data-theme="light"] .image-studio .project-sync-progress{border-color:#efc7af;background:#fff1e7;color:#a64b22}
html[data-theme="light"] .image-studio .project-sync-progress small{color:#785f53}

/* Fill the desktop sidebar like the script workspace; scroll only the project tree. */
@media(min-width:761px){
  .image-studio{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .image-studio .image-workspace{flex:1 1 auto;min-height:0}
  .image-studio .image-sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden}
  .image-studio .project-list{flex:1 1 auto;min-height:0;align-content:start;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .image-studio .project-list::-webkit-scrollbar{width:7px}
  .image-studio .project-list::-webkit-scrollbar-thumb{border-radius:8px;background:#55515a}
  html[data-theme="light"] .image-studio .project-list::-webkit-scrollbar-thumb{background:#b6bdc9}
}
.image-studio .project-list{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-theme="light"] .image-studio .project-list{border:0;background:transparent;box-shadow:none}

/* Refined project hierarchy and full-workspace video sync progress. */
.image-studio .image-workspace{position:relative;grid-template-columns:258px minmax(0,1fr)}
.image-studio .image-sidebar{padding:17px 13px 18px;background:linear-gradient(180deg,#111720 0%,#0c1118 100%)}
.image-studio .image-side-title{margin-bottom:9px;padding:0 3px 10px 7px;color:#d2d9e4;font-size:.69rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.image-studio .image-side-title button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #3a4656;border-radius:10px;background:linear-gradient(145deg,#202936,#171e28);color:#e7edf5;font-size:1.15rem;box-shadow:0 7px 18px #0004;transition:transform .18s,border-color .18s,color .18s}
.image-studio .image-side-title button:hover{border-color:#ff8958;color:#ff9b70;transform:translateY(-1px)}
.image-studio .project-list{gap:9px;padding:0 2px 12px}
.image-studio .project-group{overflow:visible;border:1px solid #27313e;border-radius:14px;background:linear-gradient(145deg,#171e27,#111720);box-shadow:0 8px 22px #00000024;transition:border-color .2s,background .2s,transform .2s}
.image-studio .project-group:hover{border-color:#3b4858;background:linear-gradient(145deg,#1a222d,#131a23);transform:translateY(-1px)}
.image-studio .project-group.active{border-color:#315d7d;background:linear-gradient(145deg,#182735,#111c27);box-shadow:0 10px 26px #0004,inset 3px 0 #48a9e6}
.image-studio .project-row,.image-studio .project-row.active{grid-template-columns:minmax(0,1fr) auto;min-height:49px;border:0;background:transparent;box-shadow:none}
.image-studio .project-row>button:first-child{gap:10px;padding:12px 7px 12px 13px;color:#c8d1dd;font-size:.86rem;font-weight:760}
.image-studio .project-group.active .project-row>button:first-child{color:#f5faff}
.image-studio .project-name-text:before{content:"";display:inline-block;width:7px;height:7px;margin-right:9px;border-radius:50%;background:#526171;box-shadow:0 0 0 4px #5261711f;vertical-align:1px}
.image-studio .project-group.active .project-name-text:before{background:#52b7ed;box-shadow:0 0 0 4px #52b7ed26}
.image-studio .project-chevron{display:grid;place-items:center;width:22px;height:22px;border:1px solid #344151;border-radius:7px;color:#91a2b5;font-size:.95rem;transform:rotate(-90deg)}
.image-studio .project-name[aria-expanded="true"] .project-chevron{border-color:#3e6f8e;background:#173146;color:#7fd0fa;transform:rotate(0)}
.image-studio .project-actions{margin-right:6px}
.image-studio .project-row .project-more{display:grid;place-items:center;width:31px;height:31px;margin:0;padding:0;border:1px solid transparent;border-radius:9px;color:#778698;letter-spacing:1px}
.image-studio .project-row .project-more:hover,.image-studio .project-row .project-more[aria-expanded="true"]{border-color:#3b4b5e;background:#202a36;color:#dce6f1}
.image-studio .project-actions-menu{top:38px;right:0;width:154px;padding:6px;border:1px solid #3c4b5d;border-radius:12px;background:#18212c;box-shadow:0 18px 44px #000a}
.image-studio .project-actions-menu button{padding:10px 11px;border-radius:8px;color:#d5deea;font-size:.72rem}
.image-studio .project-actions-menu button:hover,.image-studio .project-actions-menu button:focus-visible{background:#1d3d52;color:#7fd0fa}
.image-studio .project-subnav{grid-template-columns:1fr 1fr;gap:6px;margin:0 9px 10px;padding:9px;border:0;border-top:1px solid #293746}
.image-studio .project-subnav button{display:flex;justify-content:space-between;min-width:0;padding:8px 9px;border:1px solid transparent;border-radius:9px;background:#0d141d;color:#8f9cac;font-size:.69rem}
.image-studio .project-subnav button:before{display:none}
.image-studio .project-subnav button:hover{border-color:#344759;background:#15212d;color:#e2e9f1}
.image-studio .project-subnav button.active{border-color:#326a8e;background:#173247;color:#80d0f8;font-weight:800}
.image-studio .project-subnav em{display:grid;place-items:center;min-width:22px;height:18px;padding:0 5px;border-radius:999px;background:#202b37;color:#8f9aaa;font-size:.61rem;font-style:normal}
.image-studio .project-subnav button.active em{background:#2d6688;color:#eefaff}
.image-studio .video-sync-button{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #2875a3;border-radius:9px;background:linear-gradient(135deg,#176794,#155276);color:#f5fbff;font-weight:800;box-shadow:0 8px 20px #0b5d8e36;cursor:pointer;transition:transform .18s,filter .18s}
.image-studio .video-sync-button:hover{filter:brightness(1.14);transform:translateY(-1px)}
.image-studio .video-sync-button span{font-size:1rem}
.image-studio .project-sync-progress{position:absolute;z-index:80;inset:0;display:grid;place-items:center;padding:24px;background:#070b10cf;backdrop-filter:blur(8px)}
.image-studio .project-sync-progress[hidden]{display:none}
.image-studio .project-sync-card{display:grid;justify-items:center;width:min(470px,calc(100vw - 42px));padding:35px 38px 31px;border:1px solid #34536a;border-radius:22px;background:radial-gradient(circle at 50% 0,#1d3b50 0,#141d27 48%,#111820 100%);box-shadow:0 28px 90px #000c;text-align:center}
.image-studio .project-sync-kicker{color:#62c2f1;font-size:.65rem;font-weight:850;letter-spacing:.18em}
.image-studio .project-sync-mark{display:flex;align-items:center;gap:13px;margin:21px 0 17px}
.image-studio .project-sync-mark span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #3d6680;border-radius:15px;background:#183044;color:#8bd7fc;font-size:.78rem;font-weight:900;box-shadow:inset 0 1px #ffffff12}
.image-studio .project-sync-mark b{color:#61839a;font-size:1.25rem}
.image-studio .project-sync-card>strong{max-width:390px;color:#f2f7fb;font-size:1.02rem;line-height:1.55}
.image-studio .project-sync-card>small{margin-top:8px;color:#9eb0bf;font-size:.72rem}
.image-studio .project-sync-track{display:grid;grid-template-columns:1fr 43px;gap:12px;align-items:center;width:100%;margin-top:23px}
.image-studio .project-sync-track progress{width:100%;height:9px;border:0;border-radius:99px;overflow:hidden;accent-color:#3fb7ef}
.image-studio .project-sync-track progress::-webkit-progress-bar{background:#0a1118;border-radius:99px}
.image-studio .project-sync-track progress::-webkit-progress-value{border-radius:99px;background:linear-gradient(90deg,#238ec5,#62cef6)}
.image-studio .project-sync-track span{color:#7ed5fa;font-size:.72rem;font-weight:850;text-align:right}
.image-studio .project-sync-card p{margin:17px 0 0;color:#758898;font-size:.66rem;line-height:1.65}
html[data-theme="light"] .image-studio .image-sidebar{background:linear-gradient(180deg,#f4f7fb,#edf2f7)}
html[data-theme="light"] .image-studio .image-side-title{color:#425268}
html[data-theme="light"] .image-studio .image-side-title button{border-color:#ced8e3;background:#fff;color:#52677e;box-shadow:0 7px 18px #2c486914}
html[data-theme="light"] .image-studio .project-group{border-color:#d6dee8;background:linear-gradient(145deg,#fff,#f5f8fb);box-shadow:0 8px 22px #263c5512}
html[data-theme="light"] .image-studio .project-group:hover{border-color:#b9c8d7;background:#fff}
html[data-theme="light"] .image-studio .project-group.active{border-color:#7eb6d6;background:linear-gradient(145deg,#f1faff,#e9f5fc);box-shadow:0 9px 24px #215d8519,inset 3px 0 #2695cf}
html[data-theme="light"] .image-studio .project-row>button:first-child{color:#405267}
html[data-theme="light"] .image-studio .project-group.active .project-row>button:first-child{color:#164d6e}
html[data-theme="light"] .image-studio .project-subnav{border-top-color:#d6e2eb}
html[data-theme="light"] .image-studio .project-subnav button{background:#fff;color:#68798b}
html[data-theme="light"] .image-studio .project-subnav button:hover{border-color:#bdd4e3;background:#f4fbff;color:#276383}
html[data-theme="light"] .image-studio .project-subnav button.active{border-color:#79b8da;background:#def3ff;color:#176891}
html[data-theme="light"] .image-studio .project-actions-menu{border-color:#cbd8e3;background:#fff;box-shadow:0 18px 42px #213a532b}
html[data-theme="light"] .image-studio .project-actions-menu button{color:#46596d}
html[data-theme="light"] .image-studio .project-actions-menu button:hover{background:#e7f5fd;color:#176a96}
html[data-theme="light"] .image-studio .project-sync-progress{background:#e8f0f6d9}
html[data-theme="light"] .image-studio .project-sync-card{border-color:#a8c9dc;background:radial-gradient(circle at 50% 0,#e6f7ff,#fff 57%);box-shadow:0 28px 80px #284b622e}
html[data-theme="light"] .image-studio .project-sync-card>strong{color:#1f4054}
html[data-theme="light"] .image-studio .project-sync-card>small{color:#627b8c}
html[data-theme="light"] .image-studio .project-sync-card p{color:#7c8f9c}
@media(max-width:760px){.image-studio .image-workspace{grid-template-columns:1fr}.image-studio .image-heading{align-items:flex-start;gap:14px}.image-studio .image-heading-actions{flex-wrap:wrap}.image-studio .project-subnav{grid-template-columns:repeat(4,minmax(0,1fr))}.image-studio .project-sync-card{padding:28px 22px}}
