.hd-workspace{--hd-on-accent:#fff;--hd-surface:var(--gpt-surface);--hd-line:var(--gpt-border);--hd-muted:var(--gpt-muted);--hd-accent:var(--gpt-accent);max-width:1200px;color:var(--gpt-ink);margin:0 auto;padding:32px 28px 72px}@layer meiji-interactions{.simple-studio .hd-workspace .hd-tabs button[aria-selected=false]{color:var(--hd-muted)!important;box-shadow:none!important;background:0 0!important;border-color:#0000!important}.simple-studio .hd-workspace .hd-tabs button[aria-selected=true]{background:var(--gpt-accent-subtle)!important;color:var(--gpt-accent)!important;box-shadow:inset 0 0 0 1px var(--gpt-accent)!important}.simple-studio .hd-workspace p{color:var(--hd-muted)!important}.simple-studio .hd-workspace .hd-import-card>p,.simple-studio .hd-workspace .hd-page-heading p{font-size:14px!important}.simple-studio .hd-workspace .hd-primary{background:var(--hd-accent)!important;color:var(--hd-on-accent)!important;border-color:var(--hd-accent)!important}.simple-studio .hd-workspace .hd-primary:disabled{opacity:.45!important}}html[data-theme=lime-dark] .hd-workspace{--hd-on-accent:#131517}.hd-workspace *{box-sizing:border-box}.hd-workspace [hidden]{display:none!important}.hd-workspace h1,.hd-workspace h2,.hd-workspace h3,.hd-workspace p{margin:0}.hd-workspace h1{font-size:30px;font-weight:650}.hd-workspace h2{font-size:21px;font-weight:600}.hd-workspace h3{font-size:16px;font-weight:600}.hd-workspace p{color:var(--hd-muted);font-size:14px;line-height:1.65}.hd-page-heading p{margin-top:7px}.hd-workspace button,.hd-workspace .hd-button{border:1px solid var(--hd-line);background:var(--gpt-subtle);cursor:pointer;min-height:42px;color:var(--gpt-ink);font:inherit;border-radius:9px;justify-content:center;align-items:center;gap:8px;max-width:100%;padding:11px 16px;font-size:14px;line-height:1.4;text-decoration:none;display:inline-flex}.hd-workspace button:hover:not(:disabled),.hd-workspace .hd-button:hover{background:var(--gpt-hover);border-color:var(--gpt-muted)}.hd-workspace button:disabled,.hd-workspace [aria-disabled=true]{opacity:.5;cursor:not-allowed}.hd-workspace :focus-visible,.hd-button:focus-within{outline:2px solid var(--hd-accent);outline-offset:4px}.hd-workspace .hd-primary{background:var(--hd-accent);color:var(--hd-on-accent);border-color:var(--hd-accent);font-weight:650}.hd-workspace .hd-primary:hover:not(:disabled){background:var(--gpt-accent-hover);border-color:var(--gpt-accent-hover)}.hd-tabs{border:1px solid var(--hd-line);background:var(--hd-surface);border-radius:12px;gap:4px;width:fit-content;max-width:100%;margin:24px 0;padding:5px;display:flex}.hd-tabs button{color:var(--hd-muted);background:0 0;border:0;min-width:156px}.hd-tabs [aria-selected=true]{background:var(--gpt-accent-subtle);color:var(--hd-accent);box-shadow:inset 0 0 0 1px var(--gpt-accent)}.hd-tool-panel{min-width:0}.hd-import-card .hd-wait-note{max-width:460px;margin-top:12px;font-size:12px}.hd-import-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px;display:grid}.hd-import-card{text-align:center;border:1px dashed var(--gpt-border);background:linear-gradient(140deg,var(--gpt-surface),var(--gpt-canvas));border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:270px;padding:28px 20px;display:flex}.hd-upload-icon{background:var(--gpt-accent-subtle);width:52px;height:52px;color:var(--hd-accent);border-radius:14px;place-items:center;margin-bottom:15px;display:grid}.hd-import-card h2{margin-bottom:8px}.hd-import-card small{color:var(--hd-muted);font-size:12px;line-height:1.6}.hd-source-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0 12px;display:flex}.hd-button input[type=file]{opacity:0;width:1px;height:1px;position:absolute}.hd-guide{background:var(--hd-surface);border:1px solid var(--hd-line);border-radius:16px;padding:22px}.hd-guide h3{margin-bottom:16px}.hd-price-row{border-bottom:1px solid var(--gpt-border);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:11px 0;font-size:14px;display:flex}.hd-price-row span{color:var(--hd-accent)}.hd-guide>p{margin-top:12px;font-size:12px}.hd-guide-note{color:var(--hd-muted);margin-top:17px;font-size:12px;line-height:1.7}.hd-history{gap:12px;margin-top:28px;display:grid}.hd-section-heading,.hd-picker-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.hd-section-heading>span{color:var(--hd-muted);font-size:13px}.hd-workspace .hd-refresh{min-height:34px;color:var(--hd-muted);background:0 0;border-color:#0000;padding:6px 10px;font-size:13px}.hd-empty{border:1px solid var(--gpt-border);color:var(--hd-muted);background:var(--gpt-subtle);border-radius:12px;padding:22px;font-size:14px;line-height:1.65}.hd-history article{background:var(--hd-surface);border:1px solid var(--gpt-border);border-radius:12px;align-items:center;gap:16px;min-width:0;padding:16px 18px;display:flex}.hd-record-info{flex:1;min-width:0}.hd-record-info>b{overflow-wrap:anywhere;font-size:14px;display:block}.hd-record-info p{margin-top:6px;font-size:12px}.hd-record-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hd-record-actions>a:not(.hd-button){color:var(--hd-muted);font-size:12px}.hd-status[data-status=completed]{color:var(--gpt-success)}.hd-status[data-status=processing]{color:#e9cd74}.hd-status[data-status=failed]{color:var(--gpt-danger)}.hd-file-icon{background:var(--gpt-subtle);width:42px;height:46px;color:var(--gpt-muted);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.hd-count{background:var(--gpt-subtle);border-radius:6px;padding:3px 8px}.hd-import-history>p{font-size:12px}.hd-image-config,.hd-selected-video{background:var(--hd-surface);border:1px solid var(--hd-line);border-radius:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;margin-top:24px;padding:20px;display:grid}.hd-image-config>img{object-fit:contain;background:var(--gpt-subtle);border-radius:8px;width:100%;height:280px}.hd-image-config b,.hd-selected-video b{overflow-wrap:anywhere}.hd-image-config fieldset{border:0;gap:8px;min-width:0;margin:20px 0;padding:0;display:flex}.hd-image-config legend{margin-bottom:12px;font-size:14px}.hd-image-config label{border:1px solid var(--hd-line);cursor:pointer;border-radius:10px;flex:1;align-items:center;gap:6px;padding:12px 10px;display:flex}.hd-image-config label:has(input:checked){border-color:var(--hd-accent);background:var(--gpt-accent-subtle)}.hd-image-config input{accent-color:var(--hd-accent)}.hd-image-config label span{flex-direction:column;gap:4px;display:flex}.hd-image-config small{color:var(--hd-muted);font-size:12px}.hd-image-config>div>p{margin-bottom:16px;font-size:12px}.hd-picker{border:1px solid var(--hd-line);background:var(--hd-surface);border-radius:14px;margin-top:20px;padding:20px}.hd-asset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.hd-asset-grid button{flex-direction:column;min-width:0;display:flex}.hd-asset-grid img,.hd-asset-grid video{object-fit:contain;width:100%;height:120px}.hd-asset-grid span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.hd-result{margin-top:28px}.hd-result>.hd-section-heading{flex-wrap:wrap;margin-bottom:16px}.hd-result>p{margin:14px 0}.hd-workspace [role=alert]{color:var(--gpt-danger);background:var(--gpt-subtle);overflow-wrap:anywhere;border-radius:10px;margin-top:18px;padding:14px 18px}.hd-video-preview{background:var(--gpt-subtle);border-radius:8px;width:100%;max-height:280px}.hd-selected-video p{margin:8px 0 18px}.hd-progress{background:var(--gpt-accent-subtle);border-radius:10px;padding:18px;margin-top:18px!important}@media (max-width:900px){.hd-import-layout{grid-template-columns:minmax(0,1fr) 250px}.hd-history article{flex-wrap:wrap}.hd-record-actions{width:100%}}@media (max-width:650px){.hd-workspace{padding:24px 16px 64px}.hd-workspace h1{font-size:26px}.hd-tabs{width:100%;margin:20px 0}.hd-tabs button{flex:1;min-width:0;padding:10px 8px}.hd-import-layout{grid-template-columns:1fr;gap:12px}.hd-import-card{min-height:240px;padding:24px 14px}.hd-guide{padding:18px}.hd-price-row{padding:8px 0}.hd-image-config,.hd-selected-video{grid-template-columns:1fr;padding:14px}.hd-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hd-history article{gap:12px;padding:14px}.hd-history article>.hd-record-info{flex-basis:65%}.hd-history article>button{margin-left:auto}.hd-source-actions{gap:8px}.hd-source-actions .hd-button,.hd-source-actions button{padding:10px 12px}.hd-image-config fieldset{gap:5px}.hd-image-config label{padding:10px 6px}}
