/* Detail reading order: media first, contextual information second, management on demand. */
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview>.detail-focus-media { order:0!important; grid-column:1; grid-row:1; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview>.person-detail-info { order:1!important; grid-column:2; grid-row:1; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .detail-focus-properties dl { grid-template-columns:minmax(0,1fr)!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .detail-focus-identity { flex:1 1 0; min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .detail-focus-name h2 { min-width:0; overflow-wrap:anywhere; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .detail-focus-heading-actions { flex:0 0 auto; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tag-suggestions { padding:12px 0 0; border:0; border-top:1px solid var(--studio-line); border-radius:0; background:transparent; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tag-suggestions>summary { color:var(--studio-sub); cursor:pointer; padding:4px 0 12px; font-size:12px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tag-suggestions #assetEditorQuickTags { background:var(--studio-soft)!important; color:var(--studio-text); border:1px solid var(--studio-line); padding:12px; border-radius:10px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus) { width:min(1360px,calc(100vw - 64px))!important; height:min(980px,calc(100dvh - 48px))!important; max-height:calc(100dvh - 48px)!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus)>.drawer-head { flex-basis:44px!important; min-height:44px!important; padding:8px 24px!important; border-bottom:0!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus) #drawerTitle { font-size:12px!important; color:var(--studio-muted); font-weight:500; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus)>.drawer-body { padding-top:4px!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus { display:flex; flex-direction:column; gap:18px!important; min-height:100%; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus svg { width:18px; height:18px; flex:none; vertical-align:middle; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-heading { gap:16px; margin:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-identity { display:flex; align-items:center; gap:12px; min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-identity>div { min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-type { flex:none; width:44px; height:44px; display:grid; place-items:center; color:var(--studio-accent); background:color-mix(in srgb,var(--studio-accent) 8%,var(--studio-surface)); border-radius:13px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-type svg { width:23px; height:23px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-name { display:flex; align-items:center; gap:8px; min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-heading h2 { font-size:24px!important; line-height:1.35; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-name .detail-focus-rename { padding:7px!important; border:0!important; color:var(--studio-muted); background:transparent!important; min-width:32px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-heading-actions { display:flex; align-items:center; gap:8px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-favorite { width:34px; min-height:34px; padding:7px!important; background:transparent!important; border:0!important; color:var(--studio-sub); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-favorite.active { color:var(--studio-accent); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-favorite.active svg { fill:color-mix(in srgb,var(--studio-accent) 20%,transparent); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-more>summary { min-width:34px; text-align:center; border:0; padding:6px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-readonly { display:inline-block; color:var(--studio-muted); padding:8px; font-size:12px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tabs { display:flex; gap:24px; border-bottom:1px solid var(--studio-line); flex:none; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tabs button { display:flex; align-items:center; gap:7px; border:0!important; border-bottom:2px solid transparent!important; border-radius:0; box-shadow:none!important; background:transparent!important; color:var(--studio-muted); padding:11px 2px!important; font-size:14px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tabs button[aria-pressed=true] { color:var(--studio-accent)!important; border-bottom-color:var(--studio-accent)!important; font-weight:650; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-draft { display:none; padding:2px 4px; color:var(--studio-warning); font-size:10px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus.has-draft .detail-focus-draft { display:inline; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview { display:grid!important; grid-template-columns:minmax(0,1fr) 288px!important; gap:22px!important; align-items:start; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-gallery { padding:14px 16px!important; border:1px solid var(--studio-line); border-radius:16px; background:var(--studio-soft); min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-section-head { min-height:28px; margin-bottom:10px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-section-head h3 { display:flex; align-items:center; gap:7px; font-size:13px!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-section-head h3 svg { color:var(--studio-muted); width:16px; height:16px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-image-showcase { display:grid; grid-template-columns:1fr; gap:10px; border:0; padding:0; background:transparent; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-primary-preview { display:flex; align-items:center; justify-content:center; position:relative; height:clamp(320px,45vh,520px)!important; width:100%; padding:0!important; border:0!important; border-radius:10px!important; background:var(--studio-surface)!important; overflow:hidden; cursor:zoom-in; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-primary-preview img { width:100%; height:100%; object-fit:contain; max-height:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-image-caption { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:32px; padding:7px 0 0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-image-caption>strong { font-size:12px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-sync { font-size:11px; color:var(--studio-muted); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-selected-actions { margin-left:auto; display:flex; align-items:center; gap:6px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-selected-actions>button { min-height:28px; padding:4px 8px!important; font-size:11px; background:var(--studio-surface)!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-primary-label { font-size:11px; color:var(--studio-accent); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-angle-strip { display:flex; gap:9px; overflow-x:auto; padding:4px 2px; max-width:100%; min-width:0; scrollbar-width:thin; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-angle-thumb { display:flex; flex-direction:column; flex:0 0 82px!important; width:82px!important; border:1px solid var(--studio-line)!important; border-radius:8px!important; overflow:hidden; padding:0!important; box-shadow:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-angle-thumb.active { outline:2px solid var(--studio-accent); outline-offset:1px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-angle-thumb img { width:100%; height:64px; object-fit:contain; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-angle-thumb small { position:static; display:block; width:100%; color:var(--studio-sub); background:var(--studio-surface); font-size:11px; padding:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-info { display:grid; gap:14px; min-width:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-info>section { min-width:0; padding:15px; border:1px solid var(--studio-line); border-radius:12px; background:var(--studio-surface); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-info>.person-detail-voice { background:color-mix(in srgb,var(--studio-accent) 4%,var(--studio-surface)); border-color:color-mix(in srgb,var(--studio-accent) 16%,var(--studio-line)); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-link { display:inline-flex; align-items:center; gap:4px; padding:3px 0!important; min-height:28px; border:0!important; background:transparent!important; color:var(--studio-accent)!important; font-size:12px!important; white-space:nowrap; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-link svg { width:13px; height:13px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-properties dl { display:grid; gap:11px; margin:0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-properties dl>div { display:grid; grid-template-columns:58px minmax(0,1fr); gap:8px; line-height:1.6; font-size:12px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-properties dt { color:var(--studio-muted); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-properties dd { margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; overflow-wrap:anywhere; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tags span { padding:2px 6px; border-radius:5px; background:var(--studio-soft); color:var(--studio-sub); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-prompt { display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; margin:0!important; font-size:13px; line-height:1.75; color:var(--studio-sub); white-space:pre-wrap; overflow-wrap:anywhere; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .is-expanded .person-detail-prompt { display:block; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-description-actions { display:flex; justify-content:space-between; margin-top:6px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus :is(.person-detail-empty,.person-detail-caption) { font-size:12px; line-height:1.7; color:var(--studio-muted); margin:0!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-voice audio { width:100%; height:38px; margin:8px 0; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-voice-name { font-size:13px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-media { min-height:460px!important; position:relative; flex-direction:column; gap:22px; border-radius:16px!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-media :is(video,img) { width:100%; height:clamp(320px,45vh,520px); max-height:none!important; object-fit:contain; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-audio { background:linear-gradient(135deg,color-mix(in srgb,var(--studio-accent) 8%,var(--studio-surface)),var(--studio-soft))!important; padding:28px; text-align:center; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-audio-symbol { display:grid; place-items:center; width:120px; height:120px; border-radius:30px; background:var(--studio-surface); color:var(--studio-accent); box-shadow:0 10px 35px #00000009; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-audio-symbol svg { width:60px; height:60px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-media .detail-focus-replace { position:absolute; top:12px; right:12px; font-size:12px; padding:6px 10px!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-footer-actions { margin-top:auto!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-generic-footer { display:flex; justify-content:space-between; align-items:center; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-generic-footer>span { color:var(--studio-muted); font-size:13px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-source-actions { display:flex; gap:10px; flex-wrap:wrap; }
/* Same DOM/editor state across views, so navigating never drops a draft. */
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus:not([data-detail-tab=preview])>:is(.asset-detail-overview,.asset-detail-footer-actions) { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus:not([data-detail-tab=edit])>#assetDetailUnifiedEditor { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus:not([data-detail-tab=source])>:is(.asset-detail-advanced,.asset-detail-related,.detail-focus-source-actions,.detail-block) { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus>#assetDetailUnifiedEditor { border:0!important; padding:0!important; margin:0!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus>#assetDetailUnifiedEditor>summary { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-unified-editor-body { display:grid; grid-template-columns:176px minmax(0,1fr); gap:24px; padding:0!important; align-items:start; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav { display:grid; gap:5px; padding:7px; border-radius:12px; background:var(--studio-soft); grid-row:1/5; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav button { display:flex; align-items:center; gap:9px; text-align:left; padding:12px 10px!important; min-width:0; font-size:13px; border:0!important; background:transparent!important; color:var(--studio-sub); }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav button[aria-pressed=true] { color:var(--studio-accent); background:var(--studio-surface)!important; box-shadow:0 2px 5px #00000006; font-weight:600; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor { min-width:0; display:block!important; padding:0!important; border:0!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section { display:grid; gap:16px; padding:22px!important; border:1px solid var(--studio-line)!important; border-radius:13px; margin:0!important; background:var(--studio-surface)!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section>:is(h3,summary) { font-size:18px!important; font-weight:650; padding:0 0 12px!important; margin:0!important; border-bottom:1px solid var(--studio-line); list-style:none; pointer-events:none; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section>summary::after { content:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-media-field { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section label { font-size:13px; color:var(--studio-sub); gap:8px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section textarea { min-height:120px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-voice-editor { grid-column:2; grid-row:1; padding:24px!important; border:1px solid var(--studio-line)!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus[data-editor-section=voice] .asset-editor { display:none!important; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus[data-detail-tab=source] .asset-detail-advanced-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus[data-detail-tab=source]>.asset-detail-related { margin-top:0!important; }
@media(max-width:1000px) {
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview { grid-template-columns:minmax(0,1fr) 250px!important; gap:16px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-gallery { padding:10px!important; }
}
@media(max-width:760px) {
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview>:is(.detail-focus-media,.person-detail-info) { grid-column:1; grid-row:auto; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus) { width:calc(100vw - 20px)!important; max-width:calc(100vw - 20px)!important; height:calc(100dvh - 20px)!important; max-height:calc(100dvh - 20px)!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus)>.drawer-head { padding:6px 14px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer):has(.asset-detail-focus)>.drawer-body { padding:4px 14px 14px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus { gap:14px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-type { display:none; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-heading h2 { font-size:20px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tabs { gap:16px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-tabs button { gap:4px; font-size:12px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-overview { grid-template-columns:minmax(0,1fr)!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-primary-preview { height:clamp(250px,39vh,380px)!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-info { gap:10px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .person-detail-info>section { padding:12px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-unified-editor-body { display:flex; flex-direction:column; gap:14px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-unified-editor-body>div,html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-voice-editor { width:100%; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav { display:flex; overflow-x:auto; width:100%; padding:4px; border-radius:9px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav button { flex:none; padding:8px!important; font-size:12px; gap:4px; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-editor-nav svg { display:none; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-editor-section { padding:15px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus[data-detail-tab=source] .asset-detail-advanced-grid { grid-template-columns:1fr; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .detail-focus-media { min-height:320px!important; }
 html body.reference-ui-shell[data-studio-ui] #detailDrawer.studio-asset-dialog:not(.asset-picker-drawer) .asset-detail-focus .asset-detail-footer-actions { bottom:-14px; margin-left:-14px!important; margin-right:-14px!important; padding:12px 14px!important; }
}
