.th-dialog:has(.reference-clip-preview){width:min(780px,100vw - 32px);max-width:780px;height:min(891px,100dvh - 32px)}.th-dialog:has(.reference-clip-preview) .modal-header{box-sizing:border-box;min-height:94px;padding:19px 20px 19px 26px}.th-dialog:has(.reference-clip-preview) .modal-header>.icon-btn{margin:0}.th-dialog:has(.reference-clip-preview) .modal-body{flex:1;min-height:0;padding:24px 26px;overflow:auto}.th-dialog:has(.reference-clip-preview) .modal-footer{box-sizing:border-box;min-height:71px;padding:16px 26px}.th-dialog:has(.reference-clip-preview) .modal-footer>button:first-child{margin-right:auto}.th-dialog .reference-clip-preview{aspect-ratio:16/9;border-radius:9px;width:min(452px,100%);height:auto;overflow:hidden}.th-dialog .reference-clip-preview video{object-fit:contain;width:100%;height:100%;display:block}.th-dialog .reference-clip-content .field{margin:0 0 17px}.th-dialog .reference-clip-preview{margin:16px 0}.reference-clip-content .v23-clip-fields{margin:17px 0}.reference-clip-content .v23-clip-track{background:#e9eff7;border-radius:6px;height:9px;margin:16px 0 9px;position:relative;overflow:hidden}.reference-clip-content .v23-clip-track i{background:#9db8e8;border-radius:6px;height:100%;position:absolute;top:0}.reference-clip-content>.callout{margin:17px 0}.reference-clip-content .reference-clip-versions{margin-top:12px;font-size:12px}.reference-clip-content .reference-clip-versions summary{cursor:pointer}.th-dialog .reference-clip-preview .reference-clip-spec{color:#5d6f84;background:#ffffffd9;inset:8px 8px auto auto}@media (prefers-reduced-motion:no-preference){.v23-studio .is-playing .studio-scene>img{animation:9s ease-in-out infinite alternate v23Scene}}.th-dialog:has(.studio-picker-grid) .modal-footer>button:first-child{margin-right:auto}.studio-picker-grid>div>.studio-picker-item{width:100%}.th-dialog.th-media-drawer{border-radius:0;flex-direction:column;width:740px;max-width:94vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;display:flex}.th-dialog.th-media-drawer .drawer-body{flex:1;min-height:0;overflow:auto}.th-dialog.th-media-wide{width:780px;max-width:calc(100vw - 40px)}.th-media-drawer .drawer-footer{flex-wrap:wrap;gap:8px}.th-media-drawer code,.th-media-wide code{overflow-wrap:anywhere;word-break:break-word}.th-media-drawer .drawer-header p{overflow-wrap:anywhere;max-height:3.5em;overflow:auto}.th-live-video{aspect-ratio:16/9;background:#101827;border-radius:9px;width:100%;margin:0 0 22px;display:block}.th-live-error{align-items:flex-start;margin:12px 0 18px;line-height:1.7}.th-live-error svg{flex-shrink:0;margin-top:2px}.th-live-error-code{color:#b85c5c;overflow-wrap:anywhere;display:block}.th-live-json{color:#b5d3fb;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:#101c30;border-radius:9px;max-height:480px;margin:18px 0;padding:18px;font:11px/1.8 ui-monospace,monospace;overflow:auto}.th-dialog .drawer-footer .th-push-left{margin-right:auto}.th-push-right{margin-left:auto}.th-video-live .th-live-wrap{flex-wrap:wrap;gap:10px}.th-live-order-card{padding:22px 24px}.th-live-order-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.th-live-order-heading>div{min-width:0}.th-live-order-heading b{overflow-wrap:anywhere;font-size:14px;display:block}.th-live-order-heading small{color:#98a5b9;margin-top:8px;display:block}.th-live-order-body{color:#8a9ab2;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:18px 0;font-size:11px;display:flex}.th-live-order-body code{overflow-wrap:anywhere}.th-live-order-foot{color:#8a9ab2;border-top:1px solid #edf1f7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;font-size:11px;display:flex}.th-live-asset-cover{color:#8a9fb9;background:#eaf0f7;border:0;border-radius:10px 10px 0 0;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:100%;height:180px;display:flex;position:relative}.th-live-asset-cover>i{color:#4578ef;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:35px;height:35px;display:flex;position:absolute;bottom:16px;right:16px}.th-live-asset-cover>span{letter-spacing:.08em;font-size:11px}.th-live-asset-info{padding:18px}.th-live-asset-info>b,.th-live-asset-info>small{display:block}.th-live-asset-info>small{color:#99a6b8;margin:8px 0 16px;font-size:10px}.th-live-api-layout{grid-template-columns:minmax(280px,390px) minmax(0,1fr);align-items:start;gap:22px;margin-top:24px;display:grid}.th-live-api-layout .field{margin:18px 0}.th-live-code-panel{min-width:0;padding:22px}.th-live-code-panel .studio-panel-title{padding:0 0 18px}.th-video-live .studio-detail-meta code{text-align:right;max-width:70%}.th-video-live .studio-library-grid{margin-top:20px}.th-video-live .studio-task-list{gap:16px;display:grid}.th-video-live .studio-task-metrics{margin-bottom:26px}.th-media-drawer .studio-money-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-media-drawer .v23-order-item .grow{min-width:0}.th-media-drawer .studio-detail-task-id code{overflow-wrap:anywhere;min-width:0}.th-media-wide .studio-quote-line>div{min-width:0}.th-media-wide .studio-quote-line small{margin-top:7px;display:block}.th-media-wide .callout{margin-top:22px}.th-media-drawer .studio-detail-meta code{text-align:right;max-width:65%}.th-video-live .studio-library-foot{flex-wrap:wrap;gap:12px}.th-video-live .search-field{min-width:0}.th-live-asset-card{overflow:hidden}@media (width<=1100px){.th-live-api-layout{grid-template-columns:1fr}.th-video-live .studio-library-summary{flex-wrap:wrap}.th-video-live .studio-library-project{width:100%}.th-video-live .toolbar{flex-wrap:wrap;gap:12px}.th-video-live .toolbar .tabs{flex-wrap:wrap;gap:4px}.th-video-live .studio-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-media-drawer .drawer-footer .btn{padding:9px 10px;font-size:11px}.th-media-drawer .studio-detail-meta code{max-width:62%}}@media (width<=680px){.th-video-live .studio-library-grid{grid-template-columns:1fr}.th-dialog.th-media-drawer{width:100vw;max-width:100vw}.th-dialog.th-media-wide{max-width:calc(100vw - 20px)}.th-media-drawer .studio-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-media-drawer .drawer-footer{padding:12px}.th-live-order-card{padding:16px}.th-video-live .studio-task-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.th-live-quote-summary{grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 20px;display:grid}.th-live-quote-summary>div{color:#91a1b9;gap:6px;font-size:11px;display:grid}.th-live-quote-summary b{color:#3e5b83;font-size:20px}.th-live-quote-summary>.inline-link{grid-column:1/-1;justify-self:start}.th-live-results{padding:20px}.th-live-results-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.th-live-results-head>div{gap:8px;display:grid}.th-live-results-head small{color:#8fa1ba;font-size:11px}.th-live-final-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.th-live-final-grid>article{overflow:hidden}.th-live-pending-cover{aspect-ratio:16/9;color:#a1aec1;background:#edf2f9;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.th-live-final-info{gap:8px;padding:16px;display:grid}.th-live-final-info b{font-size:12px}.th-live-final-info small{color:#94a2b8;font-size:10px}.th-live-final-info .inline-link{justify-self:start;font-size:11px}.th-live-media-preview{aspect-ratio:16/9;color:#92a6c0;background:#eaf0f7;border:0;justify-content:center;align-items:center;width:100%;padding:0;display:flex;position:relative;overflow:hidden}.th-live-media-preview video{object-fit:contain;background:#101b2e;width:100%;height:100%}.th-live-media-label{color:#fff;background:#101e35aa;border-radius:4px;padding:4px 7px;font-size:9px;position:absolute;top:10px;left:10px}.th-live-media-preview>i{color:#4776d6;background:#ffffffeb;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;display:flex;position:absolute;bottom:12px;right:12px}@media (width<=680px){.th-live-final-grid{grid-template-columns:1fr}}.th-live-asset-card{position:relative}.th-live-asset-check{z-index:2;accent-color:#3669ee;width:17px;height:17px;position:absolute;top:12px;left:12px}.th-video-live .th-api-prompt{grid-column:1/-1}.th-video-live .studio-api-endpoint small{white-space:normal;overflow-wrap:anywhere}.th-video-live .studio-code-editor{margin:0}.th-video-live .studio-api-banner p{min-width:0}.th-video-live .studio-task-thumb .th-live-media-preview{aspect-ratio:auto;border-radius:0;width:100%;height:100%;min-height:0}.th-video-live .studio-task-thumb .th-live-media-label,.th-video-live .studio-task-thumb .th-live-media-preview>i{display:none}.th-video-live .studio-task-thumb{justify-content:center;align-items:center;display:flex}.th-video-live .studio-asset-actions .icon-btn{margin-left:auto}.th-video-live .studio-task-title h3{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.th-video-live .studio-response-meta{gap:14px}.th-video-live .studio-response-meta>span{overflow-wrap:anywhere;min-width:0}.th-video-live .studio-main-preview>.th-live-media-preview{border-radius:0;width:100%;height:100%;min-height:0}.th-video-live .studio-main-preview>.th-live-media-preview video{object-fit:contain;width:100%;height:100%}.th-dialog.th-media-wide{flex-direction:column;max-height:calc(100dvh - 48px);display:flex}.th-dialog.th-media-wide>.modal-header,.th-dialog.th-media-wide>.modal-footer{flex-shrink:0}.th-dialog.th-media-wide>.modal-body{overscroll-behavior:contain;min-height:0;overflow-y:auto}.th-media-drawer:has(.v23-order-summary) .drawer-header>.icon-btn{margin:-2px -7px 0 0}.th-media-drawer .drawer-header h2[tabindex="-1"]:focus{outline:none}.th-assets-page .studio-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-assets-page .th-assets-card{min-width:0;position:relative}.th-assets-page .th-assets-thumb{aspect-ratio:16/9;color:#91a5bf;cursor:pointer;background:#eaf0f7;border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.th-assets-page .th-assets-thumb img,.th-assets-page .th-assets-thumb video{object-fit:cover;background:#101b2e;width:100%;height:100%;display:block}.th-assets-page .th-assets-thumb-fallback{place-items:center;display:grid;position:absolute;inset:0}.th-assets-page .th-assets-thumb-label{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#101e35aa;border-radius:4px;max-width:calc(100% - 96px);padding:4px 7px;font-size:9px;position:absolute;bottom:8px;left:10px;overflow:hidden}.th-assets-page .th-assets-thumb-state{color:#7d92ad;background:#fffd;border-radius:4px;padding:3px 6px;font-size:8px;position:absolute;top:10px;right:10px}.th-assets-page .th-assets-preview{aspect-ratio:16/9;background:#101827;border-radius:9px;width:100%;margin:0 0 18px;position:relative;overflow:hidden}.th-assets-page .th-assets-preview img,.th-assets-page .th-assets-preview video{object-fit:contain;width:100%;height:100%;display:block}.th-assets-page .th-assets-preview-state{color:#b5c7dd;text-align:center;background:#101827;place-items:center;padding:20px;font-size:11px;line-height:1.7;display:grid;position:absolute;inset:0}.th-assets-page .th-assets-reference-note{margin:0 0 14px}.th-assets-page .th-assets-reference:disabled{cursor:not-allowed}.th-dialog .drawer-footer .th-assets-remove{margin-right:auto}.th-assets-page .th-assets-play{color:#4776d6;background:#ffffffeb;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 3px 14px #2b466522}.th-assets-page .th-assets-card .studio-asset-title{flex-wrap:wrap;align-items:flex-start;gap:7px}.th-assets-page .th-assets-card .studio-asset-title h3{flex:1;min-width:0}.th-assets-page .th-assets-card .studio-asset-actions{flex-wrap:wrap}.th-assets-page .th-assets-card .studio-asset-actions>.icon-btn{margin-left:auto}.th-assets-page .v23-upload-zone{color:#8fa5c2;text-align:center;background:#f8fbff;border:1px dashed #cfdcee;border-radius:10px;flex-direction:column;align-items:center;gap:8px;margin-bottom:14px;padding:25px 20px;display:flex}.th-assets-page .v23-upload-zone h3{color:#5f7e9f;margin:0;font-size:13px;font-weight:550}.th-assets-page .v23-upload-zone p{color:#8fa2ba;max-width:470px;margin:0;font-size:10px;line-height:1.8}.th-assets-page .v23-file-input{display:none}.th-assets-page .v23-upload-note{margin-top:-3px}.th-assets-page .v23-upload-reading{color:#8b9eb7;margin:10px 0;font-size:10px}.th-assets-page .v23-upload-list{flex-direction:column;gap:0;margin-top:12px;display:flex}.th-assets-page .v23-upload-row{border-top:1px solid #edf1f6;align-items:flex-start;gap:10px;padding:12px 0;display:flex}.th-assets-page .v23-upload-row:first-child{border-top:0}.th-assets-page .v23-upload-row>.grow{min-width:0}.th-assets-page .v23-upload-type{color:#86a0c1;background:#f4f8fd;border:1px solid #e3ebf6;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.th-assets-page .v23-upload-row .field{margin:0}.th-assets-page .v23-upload-row .field>span{font-size:9px}.th-assets-page .v23-upload-row .field input{min-height:33px;font-size:11px}.th-assets-page .v23-upload-row small{color:#93a3b8;overflow-wrap:anywhere;margin-top:5px;font-size:10px;line-height:1.6;display:block}.th-assets-page .th-assets-created-meta{color:#6f8da8}.th-assets-page .th-assets-progress{background:#e9eff7;border-radius:2px;height:4px;margin-top:7px;overflow:hidden}.th-assets-page .th-assets-progress>i{background:#6f96d8;border-radius:2px;height:100%;transition:width .2s;display:block}.th-assets-page .v23-upload-row>.badge{flex-shrink:0;margin-top:20px;font-size:9px}.th-assets-page .v23-upload-row>.icon-btn{flex-shrink:0;margin-top:17px}.th-assets-page .th-assets-prep{margin-top:18px}.th-assets-page .th-assets-prep .inline-link{margin-top:2px}.th-assets-page .th-assets-upload .callout{margin:14px 0 0;font-size:11px;line-height:1.8}.th-assets-page .v23-clip-track{background:#e8eef7;border-radius:3px;height:5px;margin:12px 0 8px;position:relative;overflow:hidden}.th-assets-page .v23-clip-track>i{background:#7d9fd7;border-radius:3px;display:block;position:absolute;top:0;bottom:0}.th-assets-page .studio-version code,.th-assets-page .studio-version>div>span{overflow-wrap:anywhere}.th-assets-page .th-assets-version{align-items:flex-start;gap:10px;display:flex}.th-assets-page .th-assets-version>div{flex:1;min-width:0}.th-assets-page .th-assets-version>.badge{flex-shrink:0}.th-assets-page .th-assets-version-radio{accent-color:#3669ee;flex-shrink:0;width:14px;height:14px;margin:3px 0 0}.th-assets-page .th-assets-version-availability{color:#6f8da8}.th-assets-page .studio-detail-meta code{overflow-wrap:anywhere}@media (width>=1500px){.th-assets-page .studio-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=1000px){.th-assets-page .studio-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-assets-page .studio-library-project{flex:1;width:auto;min-width:150px}}@media (width>=1001px) and (width<=1100px){.th-assets-page .studio-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-assets-page .studio-library-summary{flex-wrap:nowrap}.th-assets-page .studio-library-project{width:175px;min-width:0}}@media (width<=680px){.th-assets-page .studio-library-grid{grid-template-columns:1fr}.th-assets-page .v23-upload-row{flex-wrap:wrap}.th-assets-page .v23-upload-type{display:none}.th-assets-page .v23-upload-row>.badge{margin-top:0;margin-left:auto}.th-assets-page .v23-upload-row>.icon-btn{margin-top:0}}@media (hover:hover) and (pointer:fine){.th-assets-card:not(:hover):not(:focus-within):not(.is-selected) .th-live-asset-check{opacity:0}}
