/* Readable composer and model picker, scoped to the video workbench. */
html body.video-workspace .app-shell #createView :is(#modelList,.model-search-wrap,.model-search-empty) { display:none!important; }
html body.video-workspace .app-shell #createView #videoModelPicker { display:block!important; margin:0 0 18px!important; min-width:0; }
html body.video-workspace .app-shell #createView .field-label { font-size:14px!important; line-height:1.5!important; color:#253044!important; margin-bottom:8px!important; }
html body.video-workspace .app-shell #createView .field-label small { font-size:12px!important; color:#5a6475!important; }
html body.video-workspace .app-shell #createView #assetCount { font-size:13px!important; color:#536177!important; }
html body.video-workspace .app-shell #createView #prompt { font-size:15px!important; line-height:1.75!important; padding:12px!important; min-height:132px!important; }
html body.video-workspace .app-shell #createView .asset-help-note { display:grid!important; grid-template-columns:1fr!important; gap:3px!important; height:auto!important; min-height:0!important; max-height:none!important; white-space:normal!important; overflow:visible!important; padding:11px 12px!important; margin:8px 0 12px!important; color:#3e4c60!important; background:#f4f7fb!important; border:1px solid #dce4ee!important; border-radius:10px!important; font-size:13px!important; line-height:1.65!important; }
html body.video-workspace .app-shell #createView .asset-help-note strong { color:#263b54!important; font-size:13px!important; line-height:1.6!important; font-weight:650!important; white-space:normal!important; }
html body.video-workspace .app-shell #createView .asset-help-note #assetHelpText { color:#3e4c60!important; font-size:13px!important; line-height:1.65!important; overflow:visible!important; text-overflow:clip!important; white-space:normal!important; }
html body.video-workspace .app-shell #createView .control :is(label,select),html body.video-workspace .app-shell #createView #videoTools summary { font-size:14px!important; line-height:1.5!important; color:#354258!important; }
html body.video-workspace .app-shell #createView .upload-tile small { font-size:12px!important; line-height:1.5!important; color:#52647a!important; }
html body.video-workspace .app-shell #createView .upload-tile>span { color:#9e2b61!important; }
html body.video-workspace .app-shell #createView #khModelTrigger { display:flex!important; align-items:center; gap:12px; width:100%; min-height:110px; padding:14px!important; border:1px solid #dfc5d3!important; border-radius:12px!important; background:linear-gradient(125deg,#fff,#fff7fb)!important; text-align:left; color:#263044!important; cursor:pointer; font:inherit; box-shadow:0 2px 8px #76244905; }
html body.video-workspace .app-shell #createView #khModelTrigger:hover { border-color:#a63369!important; box-shadow:0 0 0 3px #a633690b; }
html body.video-workspace .app-shell #createView #khModelTrigger:focus-visible { outline:3px solid #a63369; outline-offset:3px; }
.kh-trigger-copy { display:grid; gap:5px; flex:1; min-width:0; }
html body.video-workspace .app-shell #createView #khModelTrigger .kh-trigger-label { color:#8d345f!important; font-size:11px!important; font-weight:650; }
html body.video-workspace .app-shell #createView #khModelTrigger strong { font-size:15px!important; color:#202c40!important; line-height:1.55; overflow-wrap:anywhere; font-weight:650; }
html body.video-workspace .app-shell #createView #khModelTrigger .kh-trigger-copy>small { font-size:12px!important; line-height:1.5; color:#536177!important; }
.kh-trigger-end { display:grid; gap:12px; flex-shrink:0; justify-items:end; }
html body.video-workspace .app-shell #createView #khModelTrigger .kh-trigger-end b { font-size:22px!important; color:#96295d!important; font-weight:700; }
html body.video-workspace .app-shell #createView #khModelTrigger .kh-trigger-end b small { display:block; font-size:11px!important; font-weight:500; color:#73546a!important; text-align:right; }
html body.video-workspace .app-shell #createView #khModelTrigger .kh-trigger-end>span { font-size:12px!important; color:#8d345f!important; }
html body.video-workspace .app-shell #createView #videoModelMeta { margin:7px 2px 0!important; font-size:12px!important; line-height:1.6!important; color:#536177!important; white-space:normal!important; }
.kh-model-dialog { box-sizing:border-box!important; color-scheme:light; font-family:Inter,"Microsoft YaHei",system-ui,sans-serif!important; font-size:14px!important; color:#223047!important; background:#fff!important; border:1px solid #e4dbe2!important; border-radius:20px!important; padding:0!important; width:min(940px,calc(100vw - 48px))!important; max-width:none!important; max-height:min(850px,calc(100dvh - 56px))!important; height:auto!important; margin:auto!important; overflow:hidden!important; box-shadow:0 28px 100px #18203338!important; }
.kh-model-dialog[open] { display:flex!important; flex-direction:column!important; }
.kh-model-dialog::backdrop { background:#1d25315c; backdrop-filter:blur(4px); }
.kh-model-dialog * { box-sizing:border-box; }
.kh-model-dialog :is(button,input,select) { font:inherit; }
.kh-model-dialog button { cursor:pointer; letter-spacing:normal; text-transform:none; }
.kh-model-dialog :is(button,input,select):focus-visible { outline:3px solid #a8326b; outline-offset:2px; }
.kh-model-dialog [hidden] { display:none!important; }
.kh-picker-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:25px 28px 18px; background:linear-gradient(110deg,#fff,#fdf5f9); }
.kh-eyebrow { font-size:11px; letter-spacing:.1em; font-weight:700; color:#9b3666; }
.kh-picker-head h2 { font-size:24px; line-height:1.4; letter-spacing:-.03em; font-weight:700; margin:5px 0; color:#202b3e; }
.kh-picker-head p { margin:0; line-height:1.6; font-size:13px; color:#5a6475; }
.kh-picker-close { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; padding:0; color:#596175; background:#fff; border:1px solid #e7dee4; border-radius:10px; font-size:24px!important; line-height:1; }
.kh-picker-tools { padding:0 28px 14px; flex:none; border-bottom:1px solid #e5e8ef; background:#fff; }
.kh-search { display:flex; align-items:center; gap:10px; min-height:46px; margin:0 0 14px; padding:0 12px; background:#f6f7fa; border:1px solid #dce1e9; border-radius:10px; }
.kh-search>span { font-size:26px; color:#68778c; }
.kh-search input { flex:1; min-width:0; width:100%; padding:12px 0; border:0; background:transparent; font-size:14px; color:#253147; outline:none; }
.kh-search:focus-within { outline:2px solid #a8326b; outline-offset:2px; }
.kh-search input:focus-visible { outline:0; }
.kh-search input::placeholder { color:#66748a; }
.kh-families { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:15px; }
.kh-family { min-height:34px; padding:6px 12px; border-radius:8px; background:#fff; border:1px solid #e1e5eb; color:#536177; font-size:13px!important; line-height:1.5; }
.kh-family[aria-pressed="true"] { background:#f9e9f1; color:#8b2557; border-color:#d9a9c1; font-weight:650; }
.kh-picker-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.kh-picker-filters label { display:grid; gap:5px; color:#637086; font-size:12px; }
.kh-picker-filters select { min-width:0; width:100%; padding:9px 8px; border:1px solid #dce2eb; border-radius:8px; background:#fff; color:#344258; font-size:13px; min-height:38px; }
.kh-results-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:15px; color:#5e6c81; font-size:12px; }
#khModelCount { margin-right:auto; font-variant-numeric:tabular-nums; }
.kh-results-toolbar label { display:flex; align-items:center; gap:5px; cursor:pointer; }
.kh-results-toolbar input { accent-color:#a8326b; width:15px; height:15px; margin:0; }
.kh-results-toolbar button { border:0; background:none; padding:4px 0; color:#94325f; font-size:12px; }
.kh-picker-scroll { min-height:100px; overflow-y:auto; overscroll-behavior:contain; padding:20px 28px 24px; background:#f7f8fb; }
.kh-model-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.kh-model-option { display:flex; flex-direction:column; align-items:stretch; gap:8px; padding:16px; margin:0; min-width:0; background:#fff; border:1px solid #dde3ec; border-radius:12px; color:#253147; text-align:left; box-shadow:0 2px 5px #23344b03; }
.kh-model-option:hover:not(:disabled) { border-color:#b56188; box-shadow:0 4px 14px #7d325312; }
.kh-model-option[aria-pressed="true"] { border-color:#a8326b; background:#fff8fb; box-shadow:inset 0 0 0 1px #a8326b; }
.kh-option-top { display:flex; align-items:center; gap:8px; justify-content:space-between; }
.kh-option-family { font-size:10px; font-weight:650; padding:3px 7px; border-radius:5px; color:#53647b; background:#edf1f7; }
.kh-option-status { color:#637086; font-size:11px; }
.kh-model-option[aria-pressed="true"] .kh-option-status { color:#9a2f63; font-weight:650; }
.kh-option-name { color:#202e44; font-size:15px; font-weight:650; line-height:1.55; overflow-wrap:anywhere; }
.kh-option-specs { font-size:13px; line-height:1.5; color:#4e5f76; }
.kh-option-media { font-size:12px; line-height:1.6; color:#53647b; }
.kh-option-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:11px; margin-top:auto; border-top:1px solid #edf0f5; }
.kh-option-price { font-size:22px; font-weight:700; letter-spacing:-.02em; color:#962d60; }
.kh-option-price small { font-size:11px; font-weight:500; letter-spacing:0; margin-left:5px; color:#6a5c6b; }
.kh-option-action { color:#8b2e5a; font-size:12px; }
.kh-model-option:disabled { cursor:not-allowed; background:#f2f4f7; border-color:#dfe4ec; box-shadow:none; }
.kh-model-option:disabled :is(.kh-option-price,.kh-option-status,.kh-option-action) { color:#647085; }
.kh-model-option:disabled .kh-option-name { color:#667185; }
.kh-model-empty { padding:40px 10px; text-align:center; color:#5d6c81; }
.kh-model-empty strong { display:block; color:#324158; font-size:16px; }
.kh-model-empty button { background:#fff; color:#962d60; border:1px solid #d9b3c5; padding:9px 14px; border-radius:8px; }
.kh-picker-foot { padding:12px 28px; border-top:1px solid #e5e8ef; background:#fff; color:#637086; font-size:12px; line-height:1.6; }
.kh-recents { display:flex; gap:7px; flex-wrap:wrap; align-items:center; padding-bottom:15px; }
.kh-recents>span { color:#637086; font-size:12px; }
.kh-recents button { max-width:260px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; background:#fff; border:1px solid #dce2eb; color:#4c5f78; padding:6px 9px; border-radius:6px; }
@media(max-width:640px) {
 .kh-model-dialog { width:calc(100vw - 16px)!important; max-height:calc(100dvh - 20px)!important; border-radius:16px!important; }
 .kh-picker-head { padding:18px 16px 14px; }
 .kh-picker-head h2 { font-size:20px; }
 .kh-picker-head p { font-size:12px; }
 .kh-picker-tools { padding:0 16px 12px; }
 .kh-search input { font-size:16px; }
 .kh-search input::placeholder { font-size:12px; }
 .kh-families { flex-wrap:nowrap; overflow-x:auto; padding:2px 2px 6px; margin-bottom:8px; }
 .kh-family { white-space:nowrap; flex-shrink:0; padding:6px 10px; }
 .kh-picker-filters { gap:7px; }
 .kh-picker-filters select { padding:9px 4px; font-size:12px; }
 .kh-picker-scroll { padding:14px 16px 18px; }
 .kh-model-results { grid-template-columns:1fr; gap:10px; }
 .kh-model-option { padding:14px; }
 .kh-picker-foot { padding:10px 16px; font-size:11px; }
 .kh-results-toolbar { gap:8px 10px; font-size:11px; }
 .kh-results-toolbar button { font-size:11px; }
}
