/* Compact creation dock: presentation and popover geometry only. */
.reference-ui-shell .reference-composer-slot{padding-top:32px}
.reference-ui-shell .compose[data-reference-surface]{width:min(var(--ref-directory-width),100%);min-height:180px;border-radius:21px;box-shadow:0 18px 48px rgba(15,23,42,.15),0 1px 0 rgba(255,255,255,.72) inset}
.reference-ui-shell .compose[data-reference-surface="home"],.reference-ui-shell #view-work .reference-work-composer-slot>.compose[data-reference-surface="work"],.reference-ui-shell #view-projects>.reference-project-create .compose[data-reference-surface="projects"]{width:min(var(--ref-directory-width),100%)}
.reference-ui-shell .compose[data-reference-surface] #generationForm{min-height:178px}
.reference-ui-shell .compose[data-reference-surface] #assetField{top:-28px;left:5px;right:188px;height:58px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid{height:58px;gap:7px;padding:1px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile{position:relative!important;display:block!important;flex:0 0 56px!important;width:56px!important;min-width:56px!important;height:56px!important;min-height:56px!important;padding:2px!important;border-radius:13px;overflow:hidden}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-media{position:absolute!important;inset:2px!important;display:grid!important;place-items:center;width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;aspect-ratio:1!important;border:0!important;border-radius:10px!important;overflow:hidden;background:#e8edf5}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-media img,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-media video{width:100%!important;height:100%!important;object-fit:contain!important;background:#e8edf5}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.asset-tile-audio{flex:0 0 56px!important;width:56px!important;min-width:56px!important;height:56px!important;min-height:56px!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.asset-tile-audio .asset-media{inset:2px!important;width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;background:linear-gradient(145deg,#e9e5ff,#dce8ff)!important;color:#6648d8}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-probe{display:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-symbol{position:relative;z-index:1;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(89,66,202,.9);color:#fff;font-size:9px;font-weight:900}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave{position:absolute;left:7px;right:7px;bottom:8px;display:flex;align-items:end;justify-content:center;gap:2px;height:10px;opacity:.42}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave i{display:block;width:2px;border-radius:2px;background:currentColor}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave i:nth-child(1){height:4px}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave i:nth-child(2){height:9px}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave i:nth-child(3){height:6px}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile .asset-audio-wave i:nth-child(4){height:8px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.is-audio-playing .asset-audio-wave{opacity:.85;animation:assetAudioPulse .7s ease-in-out infinite alternate}
@keyframes assetAudioPulse{to{transform:scaleY(.55)}}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-copy{position:absolute!important;z-index:5!important;left:4px!important;right:auto!important;top:4px!important;bottom:auto!important;width:auto!important;max-width:38px!important;height:auto!important;padding:0!important;background:transparent!important;pointer-events:none}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-copy-badges{display:flex!important;width:auto!important;max-width:38px!important;min-height:0!important;padding:0!important;background:transparent!important;backdrop-filter:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-kind{display:inline-flex!important;align-items:center;height:15px;padding:0 4px;border:1px solid rgba(255,255,255,.48);border-radius:6px;background:#3177df;color:#fff;font-size:7px;line-height:15px;box-shadow:0 2px 7px rgba(15,23,42,.16)}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.asset-tile-audio .asset-kind{background:#7757d9}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:has(video) .asset-kind{background:#168a72}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-name,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-slot-name,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-upload-time,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-official-badge,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-incompatible-badge{display:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-duration{position:absolute!important;z-index:6!important;left:4px!important;right:auto!important;top:auto!important;bottom:4px!important;display:block!important;max-width:35px!important;padding:2px 3px!important;border-radius:5px;background:rgba(247,249,253,.9)!important;color:#34445c!important;font-size:6px!important;line-height:1!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-tile-footer{position:absolute!important;z-index:8!important;inset:0!important;display:block!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important;backdrop-filter:none!important;pointer-events:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-usage-select,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-usage-label{position:absolute!important;left:4px!important;bottom:4px!important;width:35px!important;max-width:35px!important;height:16px!important;padding:0 2px!important;border:1px solid rgba(75,91,118,.18)!important;border-radius:5px!important;background:rgba(248,250,253,.94)!important;color:#42516a!important;font-size:6px!important;opacity:0;pointer-events:auto!important;transition:opacity .15s}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:hover .asset-usage-select,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:focus-within .asset-usage-select,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.frame-slot .asset-usage-label{opacity:1}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-tile-actions{position:static!important;display:block!important;margin:0!important;padding:0!important;background:transparent!important;pointer-events:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .remove{position:absolute!important;z-index:12!important;right:3px!important;top:3px!important;display:grid!important;place-items:center!important;width:19px!important;height:19px!important;padding:0!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:50%!important;background:rgba(210,54,69,.94)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1!important;box-shadow:0 3px 10px rgba(62,11,20,.26)!important;opacity:1!important;pointer-events:auto!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .remove:hover,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .remove:focus-visible{background:#ef304a!important;transform:scale(1.08)}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-sync-ark{position:absolute!important;z-index:11!important;right:3px!important;bottom:3px!important;width:19px!important;height:19px!important;padding:0!important;border-radius:6px!important;overflow:hidden;font-size:0!important;pointer-events:auto!important}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-sync-ark::before{content:"云";font-size:7px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-bound-relation{position:absolute!important;z-index:7!important;left:auto!important;right:4px!important;top:auto!important;bottom:4px!important;display:grid!important;place-items:center!important;width:16px!important;height:16px!important;padding:0!important;border-radius:50%!important;background:rgba(20,137,108,.9)!important;color:#fff!important;font-size:0!important;overflow:hidden!important;pointer-events:none}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-bound-relation::before{content:"♫";font-size:8px!important;margin:0!important}.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile:not(.asset-add) .asset-bound-relation>*{display:none!important}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-primary{width:56px;height:56px;min-height:56px;border-radius:13px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-primary strong{font-size:23px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-actions{left:63px;width:56px;height:56px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-option{width:56px;height:56px;border-radius:13px;font-size:9px}
.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add{margin-right:63px}
.reference-ui-shell .compose[data-reference-surface] .seg{top:12px;left:auto;right:14px;padding:3px;border-radius:12px}
.reference-ui-shell .compose[data-reference-surface] .seg button{height:29px;padding:0 10px;border-radius:9px;font-size:11px}
.reference-ui-shell .compose[data-reference-surface] #promptEditorField{margin:48px 14px 49px}
.reference-ui-shell .compose[data-reference-surface] #prompt{height:70px;min-height:58px;padding:10px 12px;border-radius:13px;font-size:13px;line-height:1.55}
.reference-ui-shell .reference-composer-controls{left:14px;right:132px;bottom:10px;gap:6px}
.reference-ui-shell .reference-summary-chip{height:30px;max-width:210px;padding:0 10px;border-radius:16px;font-size:11px}
.reference-ui-shell .compose-footer{right:14px;bottom:9px;width:112px}
.reference-ui-shell .compose-footer .generate{width:112px;height:34px;min-height:34px;border-radius:18px;font-size:12px}
.reference-ui-shell .reference-composer-settings{border-radius:14px;box-shadow:0 18px 48px rgba(15,23,42,.2),0 3px 10px rgba(15,23,42,.08)}
.reference-ui-shell .reference-composer-settings>header{min-height:42px;padding:0 9px 0 12px}
.reference-ui-shell .reference-composer-settings>header strong{font-size:13px}
.reference-ui-shell .reference-composer-settings>header span{font-size:10px}
.reference-ui-shell .reference-composer-settings>header button{width:27px;height:27px;border-radius:8px;font-size:17px}
.reference-ui-shell .reference-composer-settings-section{padding:10px;gap:8px 10px}
.reference-ui-shell .reference-composer-settings-section>.field,.reference-ui-shell .reference-composer-settings-section>.audio-panel,.reference-ui-shell .reference-composer-settings-section #videoParamGrid,.reference-ui-shell .reference-composer-settings-section #imageRatioField{padding:10px;border-radius:10px}
.reference-ui-shell .reference-composer-settings .model-menu{max-height:var(--reference-popover-menu-max-height,min(250px,34vh))}
.reference-ui-shell #view-work #jobBoard{padding-bottom:var(--reference-composer-clearance,224px);scroll-padding-bottom:var(--reference-composer-clearance,224px)}
.reference-ui-shell #view-work .reference-work-composer-slot{bottom:18px}
.reference-ui-shell #view-projects:has(> .reference-project-create)>.project-manager{padding-bottom:var(--reference-composer-clearance,224px);scroll-padding-bottom:var(--reference-composer-clearance,224px)}
.reference-ui-shell #view-projects>.reference-project-create{bottom:18px}
html[data-zq-theme="light"] .reference-ui-shell .compose[data-reference-surface]{border-color:rgba(32,49,77,.18);background:rgba(255,255,255,.98)}
html[data-zq-theme="light"] .reference-ui-shell .compose[data-reference-surface] #prompt{border-color:rgba(32,49,77,.12);background:#f8fafc}
html[data-zq-theme="light"] .reference-ui-shell .reference-summary-chip{border-color:rgba(32,49,77,.14);background:#f4f6f9}
html[data-zq-theme="dark"] .reference-ui-shell .compose[data-reference-surface]{border-color:rgba(181,199,229,.22);background:rgba(24,35,55,.97);box-shadow:0 18px 50px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.04) inset}
html[data-zq-theme="dark"] .reference-ui-shell .compose[data-reference-surface] #prompt{border-color:rgba(181,199,229,.15);background:#121b2a}
html[data-zq-theme="dark"] .reference-ui-shell .reference-summary-chip{border-color:rgba(181,199,229,.18);background:#202c40}
@media(max-width:900px){
  .reference-ui-shell .compose[data-reference-surface],.reference-ui-shell .compose[data-reference-surface="home"],.reference-ui-shell #view-work .reference-work-composer-slot>.compose[data-reference-surface="work"],.reference-ui-shell #view-projects>.reference-project-create .compose[data-reference-surface="projects"]{width:min(var(--ref-directory-width),100%)}
  .reference-ui-shell .compose[data-reference-surface] #assetField{right:154px}
  .reference-ui-shell .reference-summary-chip{max-width:170px}
}
@media(max-width:700px){
  .reference-ui-shell .reference-composer-slot{padding-top:28px}
  .reference-ui-shell .compose[data-reference-surface]{height:auto;min-height:194px;border-radius:18px}
  .reference-ui-shell .compose[data-reference-surface] #generationForm{min-height:192px}
  .reference-ui-shell .compose[data-reference-surface] #assetField{top:-26px;left:4px;right:128px;height:54px}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid{height:54px;gap:5px}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile,.reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-primary{flex-basis:52px!important;width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-tile.asset-tile-audio{flex-basis:52px!important;width:52px!important;min-width:52px!important;height:52px!important;min-height:52px!important}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-actions{left:58px;width:52px;height:52px}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add .asset-add-option{width:52px;height:52px}
  .reference-ui-shell .compose[data-reference-surface] #assetGrid>.asset-add{margin-right:58px}
  .reference-ui-shell .compose[data-reference-surface] .seg{top:9px;right:10px}
  .reference-ui-shell .compose[data-reference-surface] .seg button{padding:0 7px;font-size:10px}
  .reference-ui-shell .compose[data-reference-surface] #promptEditorField{margin:50px 10px 58px}
  .reference-ui-shell .compose[data-reference-surface] #prompt{height:76px}
  .reference-ui-shell .reference-composer-controls{left:10px;right:104px;bottom:12px;gap:4px}
  .reference-ui-shell .reference-summary-chip{max-width:132px;height:28px;padding:0 7px;font-size:9.5px}
  .reference-ui-shell .compose-footer{right:10px;bottom:9px;width:88px}
  .reference-ui-shell .compose-footer .generate{width:88px;height:32px;min-height:32px;font-size:11px}
  .reference-ui-shell #view-work #jobBoard{padding-bottom:var(--reference-composer-clearance,230px);scroll-padding-bottom:var(--reference-composer-clearance,230px)}
  .reference-ui-shell #view-projects:has(> .reference-project-create)>.project-manager{padding-bottom:var(--reference-composer-clearance,230px);scroll-padding-bottom:var(--reference-composer-clearance,230px)}
}
