.shared-skill_page__K3dJM{padding:28px 32px 48px;max-width:1600px;margin:auto;color:var(--ink,#322d29)}.shared-skill_page__K3dJM h1{font-size:28px;line-height:1.3;margin:4px 0 10px;text-wrap:balance}.shared-skill_page__K3dJM h2{font-size:18px;margin:0 0 6px;text-wrap:balance}.shared-skill_page__K3dJM h3{font-size:15px;margin:8px 0}.shared-skill_page__K3dJM p{color:#756d65;line-height:1.65;text-wrap:pretty;margin:4px 0 12px}.shared-skill_dialog__2PdCf button,.shared-skill_page__K3dJM button{cursor:pointer}.shared-skill_dialog__2PdCf button:disabled,.shared-skill_page__K3dJM button:disabled{opacity:.5;cursor:not-allowed}.shared-skill_header__q89EG,.shared-skill_panelHeading__uu39D{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.shared-skill_header__q89EG{margin-bottom:24px}.shared-skill_eyebrow__84zg_{font-size:12px;color:#84212e!important}.shared-skill_actions__SXmXM,.shared-skill_checks__v6_c6,.shared-skill_dialogActions__PXNDC,.shared-skill_filters__Mcqj_{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.shared-skill_actions__SXmXM button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.shared-skill_metrics__Xc1qx{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border:1px solid #e8ded5;border-radius:12px;background:#e8ded5;overflow:hidden;margin-bottom:24px}.shared-skill_metrics__Xc1qx>div{background:#fffdfa;padding:20px 24px}.shared-skill_metrics__Xc1qx span{display:block;font-size:13px;color:#756d65}.shared-skill_metrics__Xc1qx strong{display:block;font-size:28px;font-variant-numeric:tabular-nums;margin-top:6px}.shared-skill_providers__qcjsN{display:grid;gap:12px;margin-bottom:24px}.shared-skill_provider__TXO5_{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#fffdfa;border:1px solid #e5d9cf;border-radius:12px;padding:20px 24px}.shared-skill_provider__TXO5_ h2{display:flex;align-items:center;gap:10px;font-size:16px}.shared-skill_provider__TXO5_ p{font-size:12px;margin:4px 0}.shared-skill_provider__TXO5_ small{font-size:12px;color:#756d65}.shared-skill_mono__K8yxI{font-family:ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}.shared-skill_iconButton__X6djB{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:1px solid #e5d9cf;background:transparent}.shared-skill_panel__TgSZh{background:#fffdfa;border:1px solid #e5d9cf;border-radius:12px;overflow:hidden;margin-bottom:20px}.shared-skill_panelHeading__uu39D{padding:22px 24px 16px}.shared-skill_filters__Mcqj_{padding:0 24px 18px}.shared-skill_filters__Mcqj_ .app-select-trigger{width:auto;min-width:130px}.shared-skill_search__4_rzD{display:flex;align-items:center;gap:8px;border:1px solid #dacfc5;border-radius:8px;padding:9px 12px;flex:1;min-width:200px;color:#756d65;background:transparent}.shared-skill_search__4_rzD input{border:0;background:transparent;outline:none;min-width:0;width:100%;font-size:14px;color:#322d29}.shared-skill_search__4_rzD:focus-within{outline:2px solid #84212e;outline-offset:2px}.shared-skill_tableWrap__9LQWv{overflow-x:auto}.shared-skill_tableWrap__9LQWv table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;font-variant-numeric:tabular-nums}.shared-skill_tableWrap__9LQWv th{background:#f8f3ed;color:#756d65;font-size:12px;font-weight:500;white-space:nowrap;padding:12px 16px;border-block:1px solid #ece4db}.shared-skill_tableWrap__9LQWv td{padding:17px 16px;border-bottom:1px solid #efe7df;vertical-align:middle;min-width:85px}.shared-skill_tableWrap__9LQWv td:first-child,.shared-skill_tableWrap__9LQWv th:first-child{min-width:0;width:40px;padding-left:24px}.shared-skill_modelChoice__2Jlb2 small,.shared-skill_tableWrap__9LQWv td small{display:block;font-size:11px;color:#81766c;line-height:1.5;margin-top:4px}.shared-skill_tableWrap__9LQWv tr:last-child td{border-bottom:0}.shared-skill_checks__v6_c6 input,.shared-skill_inlineCheck__9E3Dz input,.shared-skill_modelChoice__2Jlb2 input,.shared-skill_tableWrap__9LQWv input[type=checkbox]{accent-color:#84212e;width:16px;height:16px;flex-shrink:0}.shared-skill_modelName__N4rYH{display:flex;align-items:center;gap:10px;min-width:195px}.shared-skill_modelName__N4rYH strong{font-size:13px;font-weight:600}.shared-skill_brandIcon__jN5bK{width:24px;height:24px;object-fit:contain;flex-shrink:0}.shared-skill_brandFallback__b7Qns{width:24px;height:24px;display:grid;place-items:center;border:1px solid #dfd2c7;border-radius:6px;font-size:12px;flex-shrink:0}.shared-skill_badge__OL5Ex{display:inline-flex;align-items:center;border:1px solid #e4d9cf;border-radius:5px;padding:3px 6px;line-height:1.3;font-size:11px;font-weight:400;white-space:nowrap}.shared-skill_good___1keA{color:#315d44;background:#f0f6f0;border-color:#d3e5d7}.shared-skill_warn__gTvli{color:#925c18;background:#fcf6e9;border-color:#eadfc6}.shared-skill_muted__LfYSW{color:#756d65;background:#f6f2ed}.shared-skill_tags__Hge6F{display:flex;flex-wrap:wrap;gap:4px;max-width:140px}.shared-skill_empty__mH0Rk{padding:32px;text-align:center;width:100%}.shared-skill_error__4ScLe{color:#84212e!important;background:#fcf0ef;padding:12px 16px;border-radius:8px;border:1px solid #eed0ce;overflow-wrap:anywhere}.shared-skill_notice___DpAl{color:#315d44!important;background:#f0f6f0;padding:12px 16px;border-radius:8px;border:1px solid #d3e5d7}.shared-skill_dialog__2PdCf{background:#fffdfa!important;max-height:90dvh;overflow-y:auto!important;width:min(600px,calc(100vw - 32px))!important;max-width:600px!important;padding:28px!important;color:#322d29}.shared-skill_wideDialog__evv9Z{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important}.shared-skill_dialog__2PdCf h2{text-wrap:balance}.shared-skill_dialog__2PdCf p{text-wrap:pretty}.shared-skill_form__YxKL3{display:grid;gap:20px}.shared-skill_dialog__2PdCf>label,.shared-skill_form__YxKL3 label{display:grid;gap:7px;font-size:13px}.shared-skill_form__YxKL3 .field{width:100%;padding:10px 12px;border:1px solid #dacfc5;border-radius:8px;background:transparent;color:inherit}.shared-skill_grid2__a0cMy,.shared-skill_grid3___Cbbq{display:grid;gap:16px}.shared-skill_grid2__a0cMy{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-skill_grid3___Cbbq{grid-template-columns:repeat(3,minmax(0,1fr))}.shared-skill_checks__v6_c6 label,.shared-skill_inlineCheck__9E3Dz{display:flex!important;align-items:center;gap:8px;font-size:13px}.shared-skill_dialogActions__PXNDC{justify-content:flex-end;border-top:1px solid #e9ded4;padding-top:18px}.shared-skill_modelChoices__H1p3n{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;max-height:45dvh;overflow-y:auto;margin-bottom:16px}.shared-skill_modelChoice__2Jlb2{display:flex;align-items:center;gap:10px;padding:12px;border-radius:8px;cursor:pointer;font-size:14px}.shared-skill_modelChoice__2Jlb2:hover{background:#f7f0ea}.shared-skill_modelChoice__2Jlb2>span{min-width:0;overflow-wrap:anywhere}.shared-skill_dialog__2PdCf .shared-skill_filters__Mcqj_,.shared-skill_dialog__2PdCf .shared-skill_panelHeading__uu39D{padding:8px 0}.shared-skill_priceRule__RS_bY{border:1px solid #e5d9cf;border-radius:10px;padding:18px;display:grid;gap:16px;min-width:0}.shared-skill_priceRule__RS_bY legend{padding:0 6px;font-size:13px;font-weight:600}.shared-skill_pricePreview__B5Ojx{background:#f8f3ed;padding:12px 14px;border-radius:8px;display:flex;gap:14px;flex-wrap:wrap;font-size:13px;font-variant-numeric:tabular-nums}.shared-skill_pricePreview__B5Ojx strong{color:#84212e}.shared-skill_pricePreview__B5Ojx small{color:#756d65;width:100%}.shared-skill_tabs__tD2pn{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #dfd2c7;margin-bottom:24px}.shared-skill_tabs__tD2pn a,.shared-skill_tabs__tD2pn button{padding:12px 16px;background:none;border:0;border-bottom:2px solid transparent;font-size:14px;color:#756d65}.shared-skill_tabs__tD2pn [aria-current=page],.shared-skill_tabs__tD2pn [aria-selected=true]{color:#84212e;border-bottom-color:#84212e;font-weight:600}@media(max-width:900px){.shared-skill_page__K3dJM{padding:20px 16px}.shared-skill_metrics__Xc1qx{grid-template-columns:repeat(2,1fr)}.shared-skill_grid3___Cbbq{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-skill_header__q89EG h1{font-size:24px}.shared-skill_filters__Mcqj_{padding:0 16px 16px}.shared-skill_panelHeading__uu39D,.shared-skill_provider__TXO5_{padding:18px 16px}}@media(max-width:600px){.shared-skill_grid2__a0cMy,.shared-skill_grid3___Cbbq,.shared-skill_modelChoices__H1p3n{grid-template-columns:1fr}.shared-skill_dialog__2PdCf{padding:20px!important}.shared-skill_metrics__Xc1qx>div{padding:16px}.shared-skill_header__q89EG{gap:12px}.shared-skill_search__4_rzD{min-width:100%;flex-basis:100%}.shared-skill_providers__qcjsN .shared-skill_actions__SXmXM{gap:8px}.shared-skill_dialogActions__PXNDC>button{flex:1}.shared-skill_checks__v6_c6{gap:14px}}.shared-skill_runner__bcfTh input,.shared-skill_runner__bcfTh select,.shared-skill_runner__bcfTh textarea{display:block;width:100%;padding:10px 12px;border:1px solid #d8cbc0;border-radius:7px;background:transparent;margin-top:6px;color:inherit}.shared-skill_runner__bcfTh button{padding:8px 12px;border:1px solid #d8cbc0;border-radius:7px;font-size:13px}.shared-skill_runner__bcfTh .button-ink{background:#84212e;color:white;border-color:#84212e}.shared-skill_skillList___9ULo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shared-skill_skillList___9ULo article{border:1px solid #e5d9cf;border-radius:10px;display:flex;align-items:center}.shared-skill_skillChoice__VPkSz{display:flex;align-items:center;gap:10px;flex:1;text-align:left;border:0!important}.shared-skill_skillChoice__VPkSz img{width:48px;height:48px;object-fit:cover;border-radius:8px}.shared-skill_skillChoice__VPkSz small{display:block;color:#756d65;font-size:12px;line-height:1.5;margin-top:4px}.shared-skill_runSteps__Kg5eA{padding-left:20px}.shared-skill_runSteps__Kg5eA li{padding:14px 0;border-bottom:1px solid #eee2d9}.shared-skill_runSteps__Kg5eA small{display:block;color:#756d65;font-size:12px}.shared-skill_runSteps__Kg5eA li>span{font-size:12px;color:#84212e}.shared-skill_resumeRow__n4529{display:block;width:100%;text-align:left;margin:8px 0}@media(max-width:600px){.shared-skill_skillList___9ULo{grid-template-columns:1fr}}.shared-skill_page__K3dJM .shared-skill_header__q89EG p,.shared-skill_page__K3dJM .shared-skill_panelHeading__uu39D p,.shared-skill_page__K3dJM .shared-skill_provider__TXO5_ p{color:#756d65}.shared-skill_tableWrap__9LQWv td:last-child{white-space:nowrap}.shared-skill_dialog__2PdCf{opacity:1!important;background-color:#fffdfa!important;backdrop-filter:none!important}.shared-skill_form__YxKL3 input:focus-visible,.shared-skill_form__YxKL3 select:focus-visible,.shared-skill_form__YxKL3 textarea:focus-visible{outline:2px solid #84212e;outline-offset:2px}.storyboard-editor_dialog__Dbqd5{width:min(1280px,calc(100vw - 32px));height:min(880px,calc(100dvh - 32px));padding:0;gap:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.storyboard-editor_heading__BBMGS{padding:20px 56px 16px 24px;border-bottom:1px solid var(--border)}.storyboard-editor_heading__BBMGS>p{margin-top:4px}.storyboard-editor_editor__zsR0l{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto;scrollbar-width:none}.storyboard-editor_editor__zsR0l::-webkit-scrollbar,.storyboard-editor_more__ndopq::-webkit-scrollbar,.storyboard-editor_shots__4zxQT::-webkit-scrollbar,.storyboard-editor_tableScroll__J_Guv::-webkit-scrollbar{display:none}.storyboard-editor_toolbar__XzUIo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px 12px;flex-wrap:wrap}.storyboard-editor_actions__bOVYK,.storyboard-editor_controls__Dg5MK{display:flex;align-items:center;gap:8px;min-width:0}.storyboard-editor_model__Z7FkI{height:36px!important;max-width:250px!important;border-radius:12px!important}.storyboard-editor_skill__UVhru{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}.storyboard-editor_icon__2VFIP{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--muted)}.storyboard-editor_meta__UXK74{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 24px 16px;color:var(--muted-foreground);font-size:12px;border-bottom:1px solid var(--border)}.storyboard-editor_meta__UXK74 button{padding:6px 8px;border-radius:8px}.storyboard-editor_meta__UXK74 button[aria-pressed=true]{background:var(--muted);color:var(--foreground)}.storyboard-editor_meta__UXK74 span:first-child{margin-right:auto}.storyboard-editor_workspace__Xpxv8{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:320px;flex:1;min-width:0}.storyboard-editor_shots__4zxQT{display:flex;flex-direction:column;gap:12px;overflow:auto;scrollbar-width:none;padding:16px;border-right:1px solid var(--border)}.storyboard-editor_shots__4zxQT>button{text-align:left;padding:8px;border:1px solid transparent;border-radius:12px;flex-shrink:0}.storyboard-editor_shots__4zxQT>button[aria-pressed=true]{border-color:var(--primary);background:var(--muted)}.storyboard-editor_shots__4zxQT small,.storyboard-editor_shots__4zxQT strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storyboard-editor_shots__4zxQT strong{font-size:13px;margin-top:8px}.storyboard-editor_shots__4zxQT small{font-size:11px;opacity:.7;margin-top:3px}.storyboard-editor_thumb__jnVPz{position:relative;display:grid;place-items:center;overflow:hidden;border-radius:8px;width:100%}.storyboard-editor_thumb__jnVPz img{width:100%;height:100%;object-fit:cover}.storyboard-editor_thumb__jnVPz>span{position:absolute;left:6px;bottom:6px;background:#181715cc;color:white;padding:2px 5px;border-radius:4px;font-size:10px}.storyboard-editor_shotEditor__PZ16k{padding:20px 24px;min-width:0}.storyboard-editor_shotHeading__5c3Ep{display:flex;align-items:center;gap:12px}.storyboard-editor_shotHeading__5c3Ep>input{font-size:16px;font-weight:600}.storyboard-editor_fields__rRuow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.storyboard-editor_fields__rRuow label,.storyboard-editor_prompt__esFoO{display:flex;flex-direction:column;gap:6px;font-size:12px}.storyboard-editor_fields__rRuow .ant-input-number,.storyboard-editor_fields__rRuow .ant-select{width:100%}.storyboard-editor_prompt__esFoO{margin-top:16px}.storyboard-editor_assets__2aHBb{margin-top:8px}.storyboard-editor_preview__pDWor{margin-top:16px;min-height:120px;display:grid;place-items:center;border:1px solid var(--border);border-radius:12px;overflow:hidden;color:var(--muted-foreground);font-size:12px}.storyboard-editor_preview__pDWor img{max-width:100%;max-height:260px;object-fit:contain}.storyboard-editor_order__ITv7C{display:flex;gap:8px;margin-top:12px}.storyboard-editor_empty__XYHV4{padding:48px 24px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center;margin:auto;max-width:480px}.storyboard-editor_empty__XYHV4 p{font-size:13px;line-height:1.7;opacity:.7}.storyboard-editor_empty__XYHV4 h3{font-size:18px;font-weight:600}.storyboard-editor_advanced__9eqzj{padding:16px 24px;border-bottom:1px solid var(--border);font-size:13px}.storyboard-editor_advanced__9eqzj>summary{display:none}.storyboard-editor_tableScroll__J_Guv{padding:16px 24px;overflow:auto;scrollbar-width:none;flex:1;min-height:180px}.storyboard-editor_footer__KdGE5{padding:12px 24px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.storyboard-editor_footer__KdGE5>span{opacity:.7;line-height:1.6}.storyboard-editor_more__ndopq{z-index:1250;border:1px solid;border-radius:16px;padding:12px;width:290px;max-width:calc(100vw - 24px);max-height:min(600px,80dvh);overflow:auto;scrollbar-width:none;box-shadow:0 10px 30px #0003}.storyboard-editor_moreTools__uNv4a{display:flex;flex-direction:column;gap:8px;margin-top:8px}.storyboard-editor_moreTools__uNv4a>label{padding:8px}.storyboard-editor_error__3HfY5{font-size:12px;line-height:1.7;color:var(--destructive,#fca5a5);padding:8px 16px;overflow-wrap:anywhere}.storyboard-editor_card__Q8e5A{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;overflow:hidden;border-radius:inherit;padding:16px;gap:12px}.storyboard-editor_card__Q8e5A header{display:flex;align-items:center;gap:8px;font-size:13px}.storyboard-editor_card__Q8e5A header>button{margin-left:auto;display:grid;place-items:center;width:36px;height:36px;border-radius:12px}.storyboard-editor_cardPreview__od5TE{flex:1;min-height:80px;width:100%;border:1px solid var(--border);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;font-size:12px;line-height:1.7}.storyboard-editor_cardPreview__od5TE img{width:100%;height:100%;object-fit:contain}.storyboard-editor_cardStatus__VN5sh{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.storyboard-editor_cardStatus__VN5sh>span{opacity:.7}@media(max-width:700px){.storyboard-editor_dialog__Dbqd5{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.storyboard-editor_heading__BBMGS{padding:16px 52px 12px 16px}.storyboard-editor_toolbar__XzUIo{padding:12px 16px}.storyboard-editor_controls__Dg5MK{flex:1 1 100%;flex-wrap:wrap}.storyboard-editor_actions__bOVYK{margin-left:auto}.storyboard-editor_model__Z7FkI{max-width:200px!important}.storyboard-editor_workspace__Xpxv8{grid-template-columns:minmax(0,1fr)}.storyboard-editor_shots__4zxQT{flex-direction:row;border-right:0;border-bottom:1px solid var(--border);max-height:158px}.storyboard-editor_shots__4zxQT>button{width:132px}.storyboard-editor_shotEditor__PZ16k{padding:16px}.storyboard-editor_meta__UXK74{padding:0 16px 12px}.storyboard-editor_footer__KdGE5{padding:12px 16px;flex-wrap:wrap}.storyboard-editor_advanced__9eqzj{padding:16px}.storyboard-editor_fields__rRuow{gap:8px}.storyboard-editor_cardStatus__VN5sh{flex-wrap:wrap}}.storyboard-editor_editor__zsR0l{overflow:hidden}.storyboard-editor_footer__KdGE5,.storyboard-editor_meta__UXK74,.storyboard-editor_toolbar__XzUIo{flex-shrink:0}.storyboard-editor_workspace__Xpxv8{min-height:0;overflow:hidden}.storyboard-editor_shotEditor__PZ16k{overflow:auto;scrollbar-width:none}.storyboard-editor_shotEditor__PZ16k::-webkit-scrollbar{display:none}.storyboard-editor_advanced__9eqzj{max-height:35dvh;overflow:auto;scrollbar-width:none;flex-shrink:0}.storyboard-editor_fields__rRuow .ant-input,.storyboard-editor_fields__rRuow .ant-input-number,.storyboard-editor_fields__rRuow .ant-select-selector,.storyboard-editor_shotHeading__5c3Ep .ant-btn,.storyboard-editor_shotHeading__5c3Ep .ant-input{min-height:36px;border-radius:10px}.storyboard-editor_shotHeading__5c3Ep .ant-btn{flex-shrink:0}.storyboard-editor_prompt__esFoO .ant-input{border-radius:10px;line-height:1.6}.storyboard-editor_footer__KdGE5 .ant-btn{min-height:36px;flex-shrink:0}@media(max-width:700px){.storyboard-editor_workspace__Xpxv8{grid-template-rows:116px minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.storyboard-editor_shots__4zxQT{max-height:none;min-height:0;align-items:start;padding:10px 16px;gap:8px}.storyboard-editor_shots__4zxQT>button{width:108px;padding:5px}.storyboard-editor_shots__4zxQT .storyboard-editor_thumb__jnVPz{max-height:57px}.storyboard-editor_shots__4zxQT strong{margin-top:4px}.storyboard-editor_shots__4zxQT small{margin-top:1px}.storyboard-editor_footer__KdGE5>span{max-width:50%}.storyboard-editor_toolbar__XzUIo{gap:8px}.storyboard-editor_toolbar__XzUIo button:not([role=switch]){min-height:36px}.storyboard-editor_meta__UXK74,.storyboard-editor_shotHeading__5c3Ep{gap:8px}.storyboard-editor_shotHeading__5c3Ep .ant-btn{font-size:12px;padding-inline:10px}.storyboard-editor_prompt__esFoO{margin-top:12px}.storyboard-editor_toolbar__XzUIo{position:relative}.storyboard-editor_controls__Dg5MK{gap:8px}.storyboard-editor_controls__Dg5MK .storyboard-editor_skill__UVhru{flex-basis:100%;min-height:36px}.storyboard-editor_actions__bOVYK{position:absolute;right:16px;bottom:12px}.storyboard-editor_model__Z7FkI{max-width:46%!important}.storyboard-editor_toolbar__XzUIo [role=switch]{min-height:22px;height:22px}}.timeline-editor_card__3w3AY{height:100%;display:flex;flex-direction:column;gap:16px;padding:20px;color:var(--tl-text);background:var(--tl-fill);border-radius:inherit}.timeline-editor_card__3w3AY header,.timeline-editor_fieldRow__JMzvd,.timeline-editor_toolbar__hURaW,.timeline-editor_tools__V2t6D,.timeline-editor_transport__vaEBB{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timeline-editor_card__3w3AY header strong{font-size:14px}.timeline-editor_card__3w3AY header button{margin-left:auto}.timeline-editor_cardPreview__UAyYd{display:flex;align-items:center;justify-content:center;flex:1;min-height:100px;overflow:hidden;border-radius:12px;background:var(--tl-panel)}.timeline-editor_cardPreview__UAyYd img,.timeline-editor_cardPreview__UAyYd video{width:100%;height:100%;max-height:260px;object-fit:contain}.timeline-editor_miniTracks__kbc_0{display:grid;gap:6px}.timeline-editor_miniTracks__kbc_0 div{display:flex;gap:4px;height:20px}.timeline-editor_miniTracks__kbc_0 span{display:block;min-width:12px;max-width:100%;border-radius:4px;background:var(--tl-muted);opacity:.35}.timeline-editor_card__3w3AY p{font-size:12px;color:var(--tl-muted)}.timeline-editor_dialog__P_F_Y{width:min(1440px,calc(100vw - 24px));height:min(940px,calc(100dvh - 24px));max-width:none!important;padding:0;gap:0;overflow:hidden;color:var(--tl-text);background:var(--tl-fill)}.timeline-editor_editor__NSWvx{height:100%;min-height:0;display:flex;flex-direction:column;outline:none}.timeline-editor_toolbar__hURaW{padding:12px 56px 12px 20px;border-bottom:1px solid var(--tl-border);flex-shrink:0;gap:12px}.timeline-editor_toolbar__hURaW h2{font-size:16px}.timeline-editor_toolbar__hURaW .timeline-editor_tools__V2t6D{margin-left:auto}.timeline-editor_workbench__XEgrJ{display:grid;grid-template-columns:minmax(0,1fr) 280px;flex:1;min-height:180px;overflow:hidden}.timeline-editor_viewer__dSsBI{position:relative;display:flex;align-items:center;justify-content:center;min-height:160px;overflow:hidden;background:var(--tl-panel);padding:12px}.timeline-editor_screen__R2TQ2{position:relative;max-width:100%;max-height:100%;height:100%;aspect-ratio:16/9;overflow:hidden;background:#111}.timeline-editor_screen__R2TQ2>img,.timeline-editor_screen__R2TQ2>video{width:100%;height:100%;object-fit:contain}.timeline-editor_empty__xAU7M{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--tl-muted);font-size:13px}.timeline-editor_inspector__C_P__{border-left:1px solid var(--tl-border);overflow:auto;scrollbar-width:none;padding:16px;min-width:0}.timeline-editor_inspector__C_P__::-webkit-scrollbar,.timeline-editor_trackScroll__ZGzGb::-webkit-scrollbar{display:none}.timeline-editor_inspector__C_P__ h3{font-size:14px;font-weight:600;margin-bottom:12px}.timeline-editor_inspector__C_P__ label{font-size:12px;display:grid;gap:6px;margin-bottom:12px}.timeline-editor_inspector__C_P__ .ant-input-number,.timeline-editor_inspector__C_P__ .ant-select{width:100%}.timeline-editor_inspector__C_P__ p{color:var(--tl-muted);font-size:11px;line-height:1.6;margin:8px 0}.timeline-editor_inspector__C_P__ hr{border-color:var(--tl-border);margin:16px 0}.timeline-editor_transport__vaEBB{padding:8px 20px;flex-shrink:0;border-block:1px solid var(--tl-border);font-size:12px;font-variant-numeric:tabular-nums}.timeline-editor_transport__vaEBB>span{margin-right:auto}.timeline-editor_tracks__T_veX{display:grid;grid-template-columns:84px minmax(0,1fr);height:304px;flex-shrink:0;min-height:0;background:var(--tl-panel)}.timeline-editor_labels___diMP{border-right:1px solid var(--tl-border);font-size:12px}.timeline-editor_labels___diMP>div{height:64px;display:flex;align-items:center;justify-content:center;gap:6px;border-bottom:1px solid var(--tl-border)}.timeline-editor_labels___diMP>div:first-child{height:32px}.timeline-editor_trackScroll__ZGzGb{overflow:auto;scrollbar-width:none;min-width:0;min-height:0;padding-bottom:8px}.timeline-editor_trackInner__wjOIn{position:relative;min-width:100%}.timeline-editor_ruler__sSCZg{height:32px;position:relative;cursor:ew-resize;touch-action:none}.timeline-editor_ruler__sSCZg>span{position:absolute;top:8px;font-size:10px;border-left:1px solid var(--tl-border);padding-left:4px;color:var(--tl-muted);font-variant-numeric:tabular-nums}.timeline-editor_lane__KeYUS{position:relative;height:64px;border-block-end:1px solid var(--tl-border)}.timeline-editor_clip__I370r{position:absolute;top:6px;height:52px;border:1px solid var(--tl-border);background:var(--tl-fill);border-radius:6px;overflow:hidden;touch-action:none;cursor:grab;color:var(--tl-text);outline:none}.timeline-editor_clip__I370r[aria-pressed=true]{border:2px solid var(--tl-accent);box-shadow:0 0 0 1px var(--tl-accent)}.timeline-editor_clip__I370r .timeline-editor_visual__AGpBn{height:100%;width:100%;object-fit:cover;pointer-events:none;opacity:.55}.timeline-editor_clip__I370r .timeline-editor_caption__4tCah{position:absolute;bottom:3px;left:8px;right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;background:var(--tl-panel);padding:1px 4px;border-radius:3px}.timeline-editor_clip__I370r .timeline-editor_plain__aPwe5{display:block;padding:10px 30px 10px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-editor_trim__IJJDq{position:absolute;top:0;bottom:0;width:9px;cursor:ew-resize;z-index:10}.timeline-editor_trim__IJJDq:after{content:"";width:2px;height:16px;background:var(--tl-text);opacity:.6;position:absolute;left:3px;top:50%;transform:translateY(-50%);border-radius:2px}.timeline-editor_playhead__4YCMK{position:absolute;top:0;bottom:0;width:2px;pointer-events:none;background:var(--tl-accent);z-index:25}.timeline-editor_playhead__4YCMK:before{content:"";position:absolute;left:-4px;width:10px;height:12px;background:var(--tl-accent);border-radius:0 0 3px 3px}.timeline-editor_status__hzjWQ{padding:8px 20px;min-height:36px;font-size:12px;line-height:1.5;border-top:1px solid var(--tl-border);color:var(--tl-muted);overflow-wrap:anywhere}.timeline-editor_status__hzjWQ progress{height:5px;accent-color:var(--tl-accent);width:120px;margin-left:12px}.timeline-editor_popover__zKch6{z-index:1400;padding:16px;border-radius:16px;max-width:calc(100vw - 24px);max-height:60dvh;overflow:auto;scrollbar-width:none;background:var(--tl-panel);color:var(--tl-text);border:1px solid var(--tl-border)}@media(max-width:700px){.timeline-editor_dialog__P_F_Y{width:calc(100vw - 12px);height:calc(100dvh - 12px)}.timeline-editor_toolbar__hURaW{padding:10px 44px 10px 12px;gap:6px}.timeline-editor_toolbar__hURaW .timeline-editor_tools__V2t6D{margin-left:0}.timeline-editor_workbench__XEgrJ{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,1fr) auto}.timeline-editor_inspector__C_P__{max-height:160px;border-left:0;border-top:1px solid var(--tl-border);padding:12px;display:flex;align-items:start;gap:12px;flex-wrap:wrap}.timeline-editor_inspector__C_P__ label{min-width:100px;flex:1;margin-bottom:4px}.timeline-editor_inspector__C_P__ h3{width:100%;margin-bottom:0}.timeline-editor_inspector__C_P__ p{width:100%}.timeline-editor_tracks__T_veX{height:272px;grid-template-columns:60px minmax(0,1fr)}.timeline-editor_labels___diMP>div{height:56px;font-size:10px}.timeline-editor_lane__KeYUS{height:56px}.timeline-editor_clip__I370r{height:46px;top:4px}.timeline-editor_transport__vaEBB{padding:6px 12px}.timeline-editor_status__hzjWQ{padding:8px 12px}.timeline-editor_card__3w3AY{padding:12px}.timeline-editor_toolbar__hURaW .ant-btn{min-height:36px}}.timeline-editor_transport__vaEBB>label{display:inline-flex;align-items:center;min-height:40px;padding:0 10px;border:1px solid var(--tl-border);border-radius:8px;cursor:pointer;background:var(--tl-fill)}
.bimohe-role-group>div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-auto-flow:row dense;gap:16px;align-items:start}.bimohe-role-group>div>section{min-width:0;margin-block:0!important}.bimohe-role-group>div>section:has(.whitespace-pre-wrap){grid-column:1;order:1}.bimohe-role-group>div>section:has(img),.bimohe-role-group>div>section:has(video){grid-column:2;order:2}.bimohe-role-group>div>section:has(audio){grid-column:1/-1;order:3}.bimohe-role-group img{max-height:360px}.bimohe-role-group p{overflow-wrap:anywhere}
.bimohe-unified-group{height:100%;width:100%;padding:24px;display:flex;flex-direction:column;gap:20px;overflow:auto;scrollbar-width:none;container-type:inline-size}.bimohe-unified-group::-webkit-scrollbar{display:none}.bimohe-group-copy{display:grid;gap:12px}.bimohe-group-copy:empty,.bimohe-group-audio:empty,.bimohe-group-visuals:empty{display:none}.bimohe-group-copy strong{font-size:17px;font-weight:600;line-height:1.4}.bimohe-group-copy p{margin-top:8px;font-size:14px;line-height:1.75;opacity:.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:7em;overflow:auto;scrollbar-width:none}.bimohe-group-visuals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;min-height:0}.bimohe-group-visuals>div{overflow:hidden;border-radius:16px;min-width:0}.bimohe-group-visuals img,.bimohe-group-visuals video{display:block;width:100%;height:auto;max-height:440px!important;object-fit:contain;border-radius:0!important}.bimohe-group-audio{display:grid;gap:12px}.bimohe-group-audio>section{padding:12px 16px;background:color-mix(in srgb,currentColor 3%,transparent);border:1px solid color-mix(in srgb,currentColor 8%,transparent);border-radius:16px;min-width:0}.bimohe-group-audio span{display:block;font-size:12px;opacity:.55;margin-bottom:8px}.bimohe-group-audio audio{width:100%;height:44px}.bimohe-group-other{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.bimohe-group-other p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;opacity:.7}.bimohe-unified-group [class*=border]{border-width:0}.bimohe-unified-group>p{font-size:14px;opacity:.6}@container(max-width:420px){.bimohe-group-copy strong{font-size:15px}.bimohe-group-copy p{font-size:13px}.bimohe-group-visuals{grid-template-columns:1fr}}
.bimohe-group-wave>audio{display:none}.bimohe-group-wave [role=slider]{height:58px;cursor:pointer;outline-offset:3px}.bimohe-group-wave svg{width:100%;height:100%}.bimohe-group-wave footer{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.bimohe-group-wave button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:color-mix(in srgb,currentColor 5%,transparent)}.bimohe-group-wave time{font-size:15px;opacity:.65;font-variant-numeric:tabular-nums}.bimohe-group-wave p{font-size:12px;opacity:.6}@media(pointer:coarse){.bimohe-group-wave button{width:44px;height:44px}}
[data-node-frame]:has(.bimohe-unified-group)>[data-node-outline]{border-width:calc(3px * var(--canvas-inverse-scale,1))!important}[data-node-frame]:has(.bimohe-timeline-strip)>[data-node-outline]{border-width:calc(3px * var(--canvas-inverse-scale,1))!important}[data-node-frame]:has(.bimohe-timeline-strip){border-radius:20px!important}

.bimohe-timeline-strip{width:100%;height:100%;padding:12px 16px;display:flex;flex-direction:column;gap:12px;background:var(--tl-panel);color:var(--tl-text);border-radius:20px;overflow:hidden}.bimohe-timeline-strip header{display:flex;align-items:center;gap:12px;font-size:11px;min-height:32px;flex-shrink:0}.bimohe-timeline-strip button{touch-action:manipulation}.bimohe-timeline-strip header button{min-width:32px;min-height:32px;border-radius:6px}.bimohe-timeline-strip button:hover{background:color-mix(in srgb,currentColor 6%,transparent)}.bimohe-tl-title{opacity:.65}.bimohe-timeline-strip time{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.7}.bimohe-tl-expand{margin-left:auto;white-space:nowrap;padding:0 8px}.bimohe-tl-player{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.bimohe-tl-board{flex:1;min-height:90px;position:relative;text-align:left;overflow:hidden;width:100%}.bimohe-tl-ruler{display:flex;justify-content:space-between;height:26px;border-bottom:1px solid color-mix(in srgb,currentColor 10%,transparent);color:var(--tl-muted);font-size:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.bimohe-tl-ruler span{border-left:1px solid color-mix(in srgb,currentColor 12%,transparent);padding-left:4px}.bimohe-tl-rail{display:flex;gap:3px;height:68px;background:color-mix(in srgb,currentColor 5%,transparent);border-radius:6px;margin-top:8px;overflow:hidden}.bimohe-tl-clip{min-width:0;position:relative;overflow:hidden;border-radius:4px}.bimohe-tl-clip img,.bimohe-tl-clip video{width:100%;height:100%;object-fit:cover}.bimohe-tl-clip span{position:absolute;bottom:0;left:0;right:0;font-size:9px;padding:2px 4px;background:#0009;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bimohe-tl-empty{display:grid;place-items:center;width:100%;font-size:12px;opacity:.55}.bimohe-tl-audio{display:flex;height:22px;gap:6px;margin-top:6px;font-size:10px;opacity:.6}.bimohe-tl-audio span{background:color-mix(in srgb,currentColor 10%,transparent);padding:2px 6px;border-radius:4px;flex:1}.bimohe-tl-board>i{position:absolute;width:1px;top:20px;bottom:4px;background:var(--tl-text);opacity:.7}.bimohe-tl-board>i:before{content:'';display:block;width:5px;height:8px;margin-left:-2px;background:var(--tl-text);border-radius:2px}@media(pointer:coarse){.bimohe-timeline-strip header button{min-height:44px;min-width:44px}}

.bimohe-depth-node{width:100%;height:100%;padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;scrollbar-width:none}.bimohe-depth-node header,.bimohe-depth-node footer,.bimohe-depth-source{display:flex;align-items:center;gap:12px}.bimohe-depth-node header strong{font-size:16px}.bimohe-depth-node header button{margin-left:auto}.bimohe-depth-node button,.bimohe-depth-node label:has(input[type=file]),.bimohe-depth-node select{min-height:36px;padding:6px 12px;border-radius:8px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);font-size:13px;cursor:pointer}.bimohe-depth-node button:disabled{opacity:.45;cursor:default}.bimohe-depth-preview{min-height:160px;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:color-mix(in srgb,currentColor 4%,transparent)}.bimohe-depth-preview video{height:100%;width:100%;max-height:320px;object-fit:contain}.bimohe-depth-node input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.bimohe-depth-source{justify-content:space-between;font-size:12px}.bimohe-depth-source>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.6}.bimohe-depth-node fieldset{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.bimohe-depth-node fieldset label{display:flex;align-items:center;gap:8px}.bimohe-depth-node p{font-size:12px;line-height:1.6;opacity:.7}.bimohe-depth-node [role=alert]{color:#d36570;opacity:1}.bimohe-depth-node small{font-size:10px;opacity:.5;margin-right:auto}.bimohe-depth-node progress{width:100%;height:4px;accent-color:#84212e}.bimohe-depth-node footer{flex-wrap:wrap}.bimohe-depth-node input:focus-visible,.bimohe-depth-node label:focus-within{outline:2px solid currentColor;outline-offset:3px}@media(pointer:coarse){.bimohe-depth-node button,.bimohe-depth-node label:has(input[type=file]){min-height:44px}}


/* V4.184 role cards and visible timeline preview */
.bimohe-unified-group{box-sizing:border-box;align-items:stretch;gap:16px;padding:24px}
.bimohe-unified-group>div{width:100%;min-width:0;flex-shrink:0;box-sizing:border-box}
.bimohe-group-copy>section,.bimohe-group-audio>section,.bimohe-group-other>section{box-sizing:border-box;width:100%;padding:16px;border-radius:16px;background:color-mix(in srgb,currentColor 5%,transparent);border:1px solid color-mix(in srgb,currentColor 8%,transparent)}
.bimohe-group-copy p{margin:8px 0 0;max-height:10.5em;line-height:1.75}
.bimohe-group-visuals{grid-template-columns:1fr;justify-items:stretch;gap:16px;background:transparent}
.bimohe-group-visuals>div{background:transparent;border:0;border-radius:16px;overflow:hidden;width:100%}
.bimohe-group-visuals img,.bimohe-group-visuals video{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain;border-radius:16px!important;background:transparent}
.bimohe-group-wave>audio{display:none}
.bimohe-timeline-strip{box-sizing:border-box;min-height:0;padding:16px;gap:12px;container-type:inline-size}
.bimohe-timeline-strip header{flex-wrap:wrap;gap:8px;min-height:36px}
.bimohe-tl-preview{position:relative;flex:1 1 auto;min-height:160px;overflow:hidden;border-radius:12px;background:#111;display:flex;align-items:center;justify-content:center}
.bimohe-tl-player{position:static!important;width:100%!important;height:100%!important;max-height:100%;opacity:1!important;pointer-events:auto!important;object-fit:contain!important;background:transparent}
.bimohe-tl-preview-empty{color:var(--tl-muted);font-size:13px;text-align:center;padding:24px}
.bimohe-tl-board{flex:0 0 126px;min-height:126px}
.bimohe-tl-rail{width:100%;height:68px;gap:0;background:color-mix(in srgb,currentColor 4%,transparent)}
.bimohe-tl-clip{flex-grow:0!important;flex-shrink:0!important;min-width:2px;border-right:2px solid var(--tl-panel);box-sizing:border-box;background:#111}
.bimohe-tl-clip img,.bimohe-tl-clip video{object-fit:contain!important;display:block}
.bimohe-tl-clip[aria-current=true]{outline:1px solid var(--tl-accent);outline-offset:-1px}
.bimohe-tl-preview-label{position:absolute;left:12px;top:10px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;background:#0009;border-radius:6px;padding:3px 6px;font-size:11px;pointer-events:none}
@container(max-width:540px){.bimohe-tl-title{display:none}.bimohe-tl-expand{font-size:10px}.bimohe-timeline-strip header{gap:4px}}


/* One 32px brand mark across the home header and canvas toolbar. */
button[aria-label="打开画布菜单"]{width:32px!important;height:32px!important;min-width:32px;display:grid;place-items:center;padding:0;flex-shrink:0}
button[aria-label="打开画布菜单"] svg[aria-label="墨汁"]{width:32px!important;height:32px!important;display:block}
header a[href="/"]>span[style*="logo.svg"]{width:32px;height:32px;flex:0 0 32px}
.canvas-model-menu img[data-model-brand]{width:16px;height:16px;object-fit:contain}


/* Canvas interaction vocabulary: quick feedback, quiet settling, no idle loops. */
[data-canvas-surface]{overscroll-behavior:none}
[data-canvas-surface] [data-canvas-stage]{transform-origin:0 0}
.node-element [data-node-frame]{transition:scale 140ms ease-out!important}
@media(hover:hover){.node-element:hover:not([data-node-dragging]) [data-node-frame]{scale:1.003}.node-element [data-connection-dot]{transition:scale 120ms ease-out,opacity 120ms ease-out}.node-element [data-connection-dot]:hover{scale:1.22}}
.node-element[data-node-dragging] [data-node-frame]{scale:1.008}
.node-element[data-node-dragging]{z-index:70!important}
[data-canvas-surface][data-canvas-gesture] [data-canvas-stage]{transition:none!important}
[data-canvas-surface] button:not(:disabled),main>div button[aria-label],aside button{transition:scale 120ms ease-out,opacity 120ms ease-out}
[data-canvas-surface] button:not(:disabled):active,main>div button[aria-label]:not(:disabled):active,aside button:not(:disabled):active{scale:.96}
[data-canvas-surface] button:focus-visible,.canvas-model-menu [role=option]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
[data-connection-create-menu],[role=listbox][data-state=open],.ant-dropdown:not(.ant-dropdown-hidden){animation:bimohe-menu-enter 150ms ease-out both;transform-origin:top center}
@keyframes bimohe-menu-enter{from{opacity:0;translate:0 4px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
[data-canvas-surface] [data-node-outline]{transition:opacity 140ms ease-out}
@media(prefers-reduced-motion:reduce){.node-element [data-node-frame],.node-element [data-connection-dot],[data-canvas-surface] button,main>div button[aria-label],aside button,[data-canvas-surface] [data-node-outline]{transition:none!important;scale:1!important}[data-connection-create-menu],[role=listbox][data-state=open],.ant-dropdown:not(.ant-dropdown-hidden){animation:none!important}}

/* Blank drag pans; Shift drag selects. */
/* Release canvas gestures on pointerup, cancel and window blur. */
/* Stable timeline player component identity across canvas updates. */
/* V4.185 — shared node geometry and compact timeline states. */
button[aria-label="打开画布菜单"]{width:24px!important;height:24px!important;min-width:24px!important;padding:0!important}
button[aria-label="打开画布菜单"] svg[aria-label="墨汁"]{width:24px!important;height:24px!important}
[data-node-frame]{border-radius:24px!important}
[data-node-frame]>div:first-child{border-radius:inherit!important}
[data-node-outline]{border-width:calc(1.5px * var(--canvas-inverse-scale,1))!important}
.bimohe-timeline-v5{position:relative;display:flex!important;flex-direction:column!important;height:100%!important;width:100%;padding:20px!important;gap:20px!important;background:var(--tl-fill)!important;border:0!important;border-radius:24px;overflow:visible!important;color:var(--tl-text)}
.bimohe-timeline-v5 .bimohe-tl-ruler{position:relative!important;height:28px!important;min-height:28px;display:block!important;overflow:visible;cursor:crosshair;margin:0!important;color:var(--tl-muted)}
.bimohe-timeline-v5 .bimohe-tl-ruler span{position:absolute;top:0;font-size:14px;line-height:24px;transform:none!important}
.bimohe-timeline-v5 .bimohe-tl-ruler span:before{content:'';position:absolute;left:0;top:-10px;height:7px;border-left:1px solid currentColor;opacity:.45}
.bimohe-tl-thumbnails{display:flex;align-items:center;gap:10px;min-height:120px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}
.bimohe-tl-thumb{height:116px;flex:none;padding:0;border:1px solid transparent;border-radius:16px;overflow:hidden;cursor:pointer;background:color-mix(in srgb,var(--tl-text) 7%,transparent);transition:opacity 140ms ease-out}
.bimohe-tl-thumb:hover{opacity:.85}.bimohe-tl-thumb[aria-pressed=true]{border-color:var(--tl-accent)}
.bimohe-tl-thumb img,.bimohe-tl-thumb video{display:block;width:100%;height:100%;object-fit:contain;background:transparent;pointer-events:none}
.bimohe-tl-empty-state{flex:1;display:flex;align-items:center;justify-content:center;min-height:120px}
.bimohe-tl-add{display:flex;gap:18px;align-items:center;flex:none;color:var(--tl-muted);font-size:14px}
.bimohe-tl-add>button{width:72px;height:72px;display:grid;place-items:center;padding:0!important;border:1px solid color-mix(in srgb,var(--tl-text) 12%,transparent);border-radius:16px!important;background:color-mix(in srgb,var(--tl-text) 6%,transparent)!important}
.bimohe-tl-add>button svg{width:26px;height:26px}
.bimohe-tl-floating{position:absolute;right:0;bottom:calc(100% + 28px);z-index:90;max-width:100%;border-radius:24px;overflow:hidden;border:1.5px solid var(--tl-border);background:var(--tl-panel);box-shadow:0 16px 48px #0003;animation:bimohe-preview-in 150ms ease-out both}
.bimohe-tl-floating .bimohe-tl-preview{height:auto!important;min-height:0!important;max-height:520px;display:flex!important;align-items:center;justify-content:center;padding:0!important;background:#111;overflow:hidden}
.bimohe-tl-floating .bimohe-tl-player{position:static!important;width:100%!important;height:100%!important;max-height:520px!important;opacity:1!important;object-fit:contain!important}
.bimohe-tl-floating footer{display:flex;align-items:center;gap:12px;padding:10px 14px;font-size:12px}.bimohe-tl-floating footer button:last-child{margin-left:auto}
.bimohe-tl-close{position:absolute;right:10px;top:10px;z-index:2;width:30px;height:30px;border-radius:50%;background:#0008!important;color:white;font-size:24px;line-height:24px}
.bimohe-tl-playhead{position:absolute;top:12px;bottom:20px;width:1px;background:var(--tl-text);pointer-events:none;margin-left:20px}
.bimohe-tl-actions{position:absolute;left:-66px;bottom:20px;display:flex;flex-direction:column;gap:8px}.bimohe-tl-actions button{width:48px;height:48px;border-radius:14px;background:var(--tl-fill);color:var(--tl-text);font-size:24px}
.bimohe-group-drag-handle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:3px 0 8px;opacity:.55;font-size:11px;cursor:grab!important;background:transparent;border:0}.bimohe-group-drag-handle:active{cursor:grabbing!important}
.bimohe-group-body{height:auto!important;min-height:0!important;overflow:visible!important}
.bimohe-group-guide{position:absolute;pointer-events:none;z-index:100;background:#b75d6e}
@keyframes bimohe-preview-in{from{opacity:0;transform:translateY(5px) scale(.99)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.bimohe-tl-floating{animation:none}}

.bimohe-unified-group{display:flex!important;flex-direction:column!important;gap:20px!important;padding:24px!important;height:auto!important;min-height:0!important;width:100%!important;box-sizing:border-box}
.bimohe-unified-group>div:empty{display:none}
.bimohe-unified-group .bimohe-group-visuals{display:flex!important;flex-direction:column!important;gap:20px!important}

/* Keep resize hit targets usable at every canvas zoom level. */
[data-node-frame]>[title="拖动调整大小"][class*="size-5"]{width:calc(16px * var(--canvas-inverse-scale,1));height:calc(16px * var(--canvas-inverse-scale,1))}
[data-node-frame]>[title="拖动调整大小"][class*="-left-2"]{left:calc(-8px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="-right-2"]{right:calc(-8px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="-top-2"]{top:calc(-8px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="-bottom-2"]{bottom:calc(-8px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="cursor-ew-resize"]{width:calc(12px * var(--canvas-inverse-scale,1))}
[data-node-frame]>[title="拖动调整大小"][class*="-left-1.5"]{left:calc(-6px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="-right-1.5"]{right:calc(-6px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="cursor-ns-resize"]{height:calc(12px * var(--canvas-inverse-scale,1))}
[data-node-frame]>[title="拖动调整大小"][class*="-top-1.5"]{top:calc(-6px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="-bottom-1.5"]{bottom:calc(-6px * var(--canvas-inverse-scale,1))!important}
[data-node-frame]>[title="拖动调整大小"][class*="size-5"]:after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(5px * var(--canvas-inverse-scale,1));height:calc(5px * var(--canvas-inverse-scale,1));border-radius:50%;background:currentColor;opacity:.8}

/* Shared canvas stroke and icon rhythm, V4.186. */
[data-node-outline]{border-width:calc(3px * var(--canvas-inverse-scale,1))!important}
path[data-connection-id]+path{stroke-width:3px!important;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
path[data-connection-id]{vector-effect:non-scaling-stroke}
button[aria-label="打开画布菜单"]{width:24px!important;height:24px!important;padding:3px!important;display:grid!important;place-items:center!important}
button[aria-label="打开画布菜单"] svg,button[aria-label="打开画布菜单"] img{width:18px!important;height:18px!important}
.bimohe-tl-actions button{display:grid;place-items:center;padding:0!important;line-height:1;box-shadow:none}
.bimohe-tl-actions button svg{width:20px;height:20px;stroke-width:2}
[data-node-type="image"] [data-node-frame] .size-14{width:28px!important;height:28px!important;border-radius:0!important;background:transparent!important}
[data-node-type="image"] [data-node-frame] .size-14 svg{width:28px!important;height:28px!important;opacity:.35!important}
[data-node-type="image"] [data-node-frame] .size-14+span{font-size:14px!important;letter-spacing:normal!important;opacity:1!important}
[data-testid="node-action-bar"]{flex-wrap:nowrap!important;gap:6px!important;align-items:center!important}
[data-testid="node-action-bar"]>.dna-model-settings{min-width:0;gap:6px!important;flex:1 1 auto}
[data-testid="node-action-bar"] .canvas-composer-model-picker{max-width:138px!important;min-width:70px!important;flex:1 1 120px!important}
[data-testid="node-action-bar"] .canvas-composer-model-picker span[title="点按用量"]{display:none!important}
[data-testid="node-action-bar"] .dna-setting-trigger{max-width:132px!important;padding-left:6px!important;padding-right:6px!important}
[data-testid="node-action-bar"] button[aria-label="选择创作技能"],[data-testid="node-action-bar"] button[aria-label="摄像机"]{width:32px!important;min-width:32px!important;padding:0!important;justify-content:center!important;gap:0!important;font-size:0!important}
[data-testid="node-action-bar"] button[aria-label="选择创作技能"]>span,[data-testid="node-action-bar"] button[aria-label="摄像机"]>span{display:none!important}
[data-testid="node-action-bar"] button[aria-label="选择创作技能"] svg,[data-testid="node-action-bar"] button[aria-label="摄像机"] svg{width:18px!important;height:18px!important;stroke-width:2}
[data-testid="node-action-bar"]>button:last-child{flex:none!important;white-space:nowrap}
@media(max-width:600px){[data-testid="node-action-bar"]{overflow-x:auto;scrollbar-width:none}[data-testid="node-action-bar"]>.dna-model-settings{flex:1 0 420px}[data-testid="node-action-bar"]>button:last-child{position:sticky;right:0;z-index:2}}

html body [data-node-frame] > [data-node-outline]{border-width:calc(3px * var(--canvas-inverse-scale,1))!important}
html body button[aria-label="打开画布菜单"] svg[aria-label="墨汁"]{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;display:block}

[data-testid="node-action-bar"] button[aria-label="选择创作技能"]>span.ant-btn-icon,[data-testid="node-action-bar"] button[aria-label="摄像机"]>span.ant-btn-icon{display:inline-flex!important;align-items:center;justify-content:center}
[data-testid="node-action-bar"] .canvas-composer-model-picker{min-width:110px!important;max-width:160px!important;flex:1 1 140px!important}
[data-testid="node-action-bar"] .canvas-composer-model-picker>span:not(.canvas-model-picker-text),[data-testid="node-action-bar"] .canvas-composer-model-picker>svg{display:none!important}

[data-testid="node-action-bar"] button[title="深度推理需要模型支持；关闭后仍可分析和写作"]{width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important}
[data-testid="node-action-bar"] button[title="深度推理需要模型支持；关闭后仍可分析和写作"]>span:not(.ant-btn-icon){font-size:0!important;line-height:0!important}
[data-testid="node-action-bar"] button[title="深度推理需要模型支持；关闭后仍可分析和写作"]>span.ant-btn-icon{display:inline-flex!important}
[data-testid="node-action-bar"] button[title="深度推理需要模型支持；关闭后仍可分析和写作"] svg{width:18px!important;height:18px!important}
[data-testid="node-action-bar"] button[title="深度推理需要模型支持；关闭后仍可分析和写作"][aria-pressed="true"]{color:#ff8c9c!important;background:rgba(132,33,46,.25)!important}

[data-testid="node-action-bar"] button:has(svg.lucide-camera){width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important}
[data-testid="node-action-bar"] button:has(svg.lucide-camera)>span:not(.ant-btn-icon){font-size:0!important;line-height:0!important}
[data-testid="node-action-bar"] button:has(svg.lucide-camera)>span.ant-btn-icon{display:inline-flex!important}
[data-testid="node-action-bar"] button:has(svg.lucide-camera) svg{width:18px!important;height:18px!important}

[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [class*="studio_side__"]>nav{display:none!important}
[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [class*="studio_brand__"]{font-size:0!important}
[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [class*="studio_brand__"]::after{content:"墨汁 · 自媒体工作台";font-size:16px;line-height:1.5}
@media(min-width:768px){[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]{position:fixed;z-index:20;left:16px;top:136px;width:200px;margin:0;display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px}[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]>button{display:flex;align-items:center;width:100%;min-height:44px;text-align:left;border:0;border-radius:12px;padding:10px 12px;background:transparent}[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]>button:hover{background:var(--muted)}[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]>button[aria-selected="true"]{background:var(--primary)!important;color:var(--primary-foreground)!important}}
@media(max-width:767px){[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [class*="studio_brand__"]::after{font-size:14px}[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}[class*="studio_shell__"]:has([aria-label="自媒体工作区"]) [aria-label="自媒体工作区"]>button{flex-shrink:0}}

html body [data-node-frame] > [data-node-outline]{border-width:1px!important}
[data-node-frame]>[title="拖动调整大小"][class*="size-5"]:after{content:none!important}
.bimohe-timeline-v5 .bimohe-tl-floating{left:0!important;right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
.bimohe-timeline-v5 .bimohe-tl-actions{top:0!important;bottom:0!important;justify-content:space-between}

html body [data-node-frame][data-node-frame][data-node-frame] > [data-node-outline]{border-width:1px!important}
[data-node-frame]>[title="拖动调整大小"][class*="size-5"]:after{content:none!important}
.bimohe-timeline-v5 .bimohe-tl-floating{left:0!important;right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
.bimohe-timeline-v5 .bimohe-tl-actions{top:0!important;bottom:0!important;justify-content:space-between}


[data-node-frame] div:has(>video):has(>button[aria-label="放大预览"]){container-type:inline-size}
[data-node-frame] div:has(>video) > button:is([aria-label="播放"],[aria-label="暂停"]){width:clamp(24px,15cqw,144px);height:clamp(24px,15cqw,144px)}
[data-node-frame] div:has(>video) > button:is([aria-label="播放"],[aria-label="暂停"])>svg{width:42%;height:42%}
[data-node-frame] div:has(>input[aria-label="视频进度"]){left:14%;right:14%;bottom:2.5cqw;height:8.75cqw}
[data-node-frame] input[aria-label="视频进度"]{height:clamp(2px,1.25cqw,12px)}
[data-node-frame] input[aria-label="视频进度"]::-webkit-slider-thumb{width:clamp(6px,3.75cqw,36px);height:clamp(6px,3.75cqw,36px)}
[data-node-frame] input[aria-label="视频进度"]::-moz-range-thumb{width:clamp(6px,3.75cqw,36px);height:clamp(6px,3.75cqw,36px)}


.bimohe-tl-playhead{width:calc(4px * var(--canvas-inverse-scale,1))!important;transform:translateX(-50%)}[class*="timeline-editor_playhead__"]{width:4px!important;transform:translateX(-50%)}.bimohe-timeline-v5 .bimohe-tl-floating{animation:none!important;transform:none!important}
.bimohe-tl-playhead,[class*="timeline-editor_playhead__"]{pointer-events:auto!important;cursor:ew-resize!important;touch-action:none;z-index:45!important}.bimohe-tl-playhead:before,[class*="timeline-editor_playhead__"]:before{content:"";position:absolute;inset:0 -10px;pointer-events:auto;cursor:ew-resize}[data-node-frame] input[aria-label="视频进度"]::-webkit-slider-thumb{background:var(--node-media-accent,#84212e)!important}[data-node-frame] input[aria-label="视频进度"]::-moz-range-thumb{background:var(--node-media-accent,#84212e)!important}
/* BIMOHE_TIMELINE_COMPACT_20261101 */
.bimohe-timeline-v5{height:106px!important;min-height:0!important;padding:8px!important;gap:4px!important;border-radius:14px!important}
.bimohe-timeline-v5 .bimohe-tl-ruler{height:22px!important;min-height:22px!important;flex:none}
.bimohe-timeline-v5 .bimohe-tl-ruler span{font-size:11px;line-height:20px}
.bimohe-timeline-v5 .bimohe-tl-thumbnails{min-height:64px;height:64px;padding:0;gap:0;overflow:hidden;flex:none}
.bimohe-timeline-v5 .bimohe-tl-thumb{height:64px;min-height:64px;border-radius:6px;box-sizing:border-box;border-right:2px solid var(--tl-fill)}
.bimohe-timeline-v5 .bimohe-tl-empty-state{min-height:64px;height:64px}
.bimohe-timeline-v5 .bimohe-tl-actions{top:50%!important;bottom:auto!important;transform:translateY(-50%);justify-content:center!important;gap:8px}
.bimohe-timeline-v5 .bimohe-tl-floating{left:50%!important;right:auto!important;width:var(--tl-preview-width,480px)!important;max-width:calc(100vw - 48px)!important;transform:translateX(-50%)!important;border-radius:16px}
.bimohe-timeline-v5 .bimohe-tl-playhead{top:8px;bottom:8px;width:2px!important;margin-left:0;background:var(--tl-accent);transform:translateX(-50%)}
.bimohe-timeline-v5 .bimohe-tl-playhead:after{content:'';position:absolute;top:-2px;left:50%;width:12px;height:11px;transform:translateX(-50%);background:var(--tl-accent);clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);pointer-events:none}
.bimohe-timeline-v5 .bimohe-tl-thumbnails .bimohe-tl-add{position:absolute;right:-54px;top:50%;transform:translateY(-50%)}
.bimohe-timeline-v5 .bimohe-tl-add>button{width:40px;height:40px;border-radius:12px!important}
.bimohe-timeline-v5 .bimohe-tl-empty-state .bimohe-tl-add>span{font-size:12px}

.bmh-timeline-picker {
  inline-size: min(328px, calc(100vw - 24px));
  max-block-size: min(360px, var(--radix-popover-content-available-height, 360px));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: var(--tl-panel, #262321);
  color: var(--tl-text, #f5f2f0);
  border: 1px solid var(--tl-border, #48433f);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 30px #0003;
  z-index: 1500;
}
.bmh-timeline-pickerTitle { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px 10px; font-size: 14px; }
.bmh-timeline-pickerTitle span, .bmh-timeline-assetText small, .bmh-timeline-empty { color: var(--tl-muted, #a8a29e); font-size: 12px; }
.bmh-timeline-assetScroll { min-block-size: 0; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: none; }
.bmh-timeline-assetScroll::-webkit-scrollbar { display: none; }
.bmh-timeline-assetRow {
  display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 10px;
  inline-size: 100%; min-block-size: 54px; padding: 6px 8px; border: 0; border-radius: 8px;
  background: transparent; color: inherit; text-align: start; cursor: pointer;
}
.bmh-timeline-assetRow:hover, .bmh-timeline-assetRow:focus-visible { background: var(--tl-fill, #302c29); }
.bmh-timeline-assetRow:focus-visible, .bmh-timeline-pickTrigger:focus-visible, .bmh-timeline-enter:focus-visible { outline: 2px solid var(--tl-accent, #84212e); outline-offset: -2px; }
.bmh-timeline-thumbnail { display: grid; place-items: center; width: 54px; height: 36px; overflow: hidden; border-radius: 6px; background: var(--tl-fill, #302c29); }
.bmh-timeline-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.bmh-timeline-assetText { display: grid; min-width: 0; gap: 3px; }
.bmh-timeline-assetText strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 500; }
.bmh-timeline-assetText small { font-variant-numeric: tabular-nums; }
.bmh-timeline-empty { padding: 10px 8px; }
.bmh-timeline-pickTrigger, .bmh-timeline-enter { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 36px; padding: 6px 10px; border: 1px solid var(--tl-border); border-radius: 8px; color: inherit; background: var(--tl-panel); }
.bmh-timeline-strip { position: relative; display: grid; gap: 8px; padding: 10px; color: var(--tl-text); min-width: 0; }
.bmh-timeline-ruler { position: relative; display: flex; justify-content: space-between; padding: 5px 3px; border-bottom: 1px solid var(--tl-border); color: var(--tl-muted); font-variant-numeric: tabular-nums; touch-action: none; }
.bmh-timeline-ruler i { position: absolute; top: 0; bottom: -42px; width: 4px; pointer-events: none; background: var(--tl-accent); }
.bmh-timeline-stripTools { display: flex; align-items: center; gap: 8px; justify-content: space-between; min-width: 0; flex-wrap: wrap; }
.bmh-timeline-clipStrip { display: flex; min-height: 32px; gap: 4px; }
.bmh-timeline-clipStrip span { min-width: 0; padding: 6px; border-radius: 6px; background: var(--tl-panel); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmh-timeline-frame { position: absolute; cursor: move; touch-action: none; outline-offset: -1px; }
.bmh-timeline-frame[data-selected="true"] { outline: 1px solid var(--tl-accent, #84212e); }
.bmh-timeline-frame :is(img,video) { display: block; pointer-events: none; width: 100%; height: 100%; }
.bmh-timeline-resize { position: absolute; right: 0; bottom: 0; z-index: 2; width: 18px; height: 18px; padding: 0; background: var(--tl-accent, #84212e); color: white; cursor: nwse-resize; touch-action: none; border: 1px solid #fff8; border-radius: 4px 0 0 0; }
.bmh-timeline-caption { display: grid; place-items: center; margin: 0; color: white; background: #151515cc; white-space: pre-wrap; text-align: center; overflow: hidden; line-height: 1.12; overflow-wrap: anywhere; }
@media (pointer: coarse) {
  .bmh-timeline-pickTrigger,.bmh-timeline-enter { min-height: 44px; }
  .bmh-timeline-resize { width: 26px; height: 26px; }
}
.bmh-timeline-stripPreview { display: flex; align-items: end; gap: 8px; min-width: 0; }
.bmh-timeline-stripPreview video { inline-size: 140px; max-inline-size: 45%; max-block-size: 78px; object-fit: contain; border-radius: 6px; background: #161514; }
.bmh-timeline-strip > span { font-size: 12px; color: var(--tl-muted); }
.bmh-timeline-geometryControls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 8px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid var(--tl-border); }
.bmh-timeline-geometryControls label { min-width: 0; font-size: 12px; }
.bmh-timeline-geometryControls .ant-input-number { width: 100%; }

/* Compact timeline controls share the same grid in empty and populated nodes. */
.bimohe-timeline-v5 .bimohe-tl-thumbnails .bimohe-tl-add {
  right: -66px;
}

.bimohe-timeline-v5 .bimohe-tl-add > .bmh-timeline-pickTrigger {
  display: flex;
  flex: 0 0 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 48px;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 14px !important;
}

.bimohe-timeline-v5 .bimohe-tl-add > .bmh-timeline-pickTrigger > svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.bimohe-timeline-v5 .bimohe-tl-add > .bmh-timeline-pickTrigger > span {
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
}

.bimohe-timeline-v5 .bimohe-tl-ruler span {
  font-variant-numeric: tabular-nums;
}

.bimohe-timeline-v5 .bimohe-tl-ruler span::before {
  top: -6px;
  height: 6px;
}

.bimohe-tl-mediaFallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 4px;
  overflow: hidden;
  color: var(--tl-muted, #aaa49f);
  background: color-mix(in srgb, var(--tl-fill, #302c29) 76%, var(--tl-border, #514b46));
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.bimohe-tl-mediaFallback > svg { flex: none; }
.bimohe-tl-mediaFallback > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bimohe-tl-mediaFallback[data-tl-preview] { font-size: 13px; }

.bmh-voice-card,
.bmh-voice-audio {
  display: grid;
  align-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  color: var(--bmh-voice-text, inherit);
}

.bmh-voice-player {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.bmh-voice-waveform {
  position: relative;
  height: 42px;
  color: currentColor;
  user-select: none;
}

.bmh-voice-waveform > svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bmh-voice-waveform rect { fill: currentColor; opacity: .43; }
.bmh-voice-waveform rect.is-played { fill: var(--bmh-voice-progress, #72a8bd); opacity: .95; }

.bmh-voice-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bmh-voice-progress, #72a8bd);
  pointer-events: none;
}

.bmh-voice-playhead::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  border: 3px solid transparent;
  border-top-color: var(--bmh-voice-progress, #72a8bd);
}

.bmh-voice-waveform input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.bmh-voice-waveform:focus-within { outline: 1px solid var(--bmh-voice-progress, #72a8bd); outline-offset: 2px; }

.bmh-voice-player-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 32px;
}

.bmh-voice-transport { display: flex; align-items: center; gap: 4px; }
.bmh-voice-player-controls a { justify-self: end; }

.bmh-voice-transport button,
.bmh-voice-player-controls a {
  display: grid;
  width: 25px;
  height: 28px;
  place-items: center;
  color: inherit;
  border-radius: 6px;
}

.bmh-voice-transport .bmh-voice-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2efec;
  color: #242220;
}

.bmh-voice-time,
.bmh-voice-empty,
.bmh-voice-notice,
.bmh-voice-filename {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  opacity: .78;
  font-size: 11px;
  line-height: 14px;
  font-variant-numeric: tabular-nums;
}

.bmh-voice-empty { text-align: center; padding: 8px 0; }
.bmh-voice-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; }

.bmh-voice-inputs select,
.bmh-voice-inputs button,
.bmh-voice-process button {
  min-width: 0;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 7px;
  font-size: 11px;
  color: inherit;
  background: var(--bmh-voice-fill, var(--background, #242220));
  text-overflow: ellipsis;
}

.bmh-voice-process { text-align: center; gap: 8px; }
.bmh-voice-process button { justify-self: center; }
.bmh-voice-card button:not(:disabled), .bmh-voice-card select:not(:disabled), .bmh-voice-player button:not(:disabled) { cursor: pointer; }
.bmh-voice-card button:disabled, .bmh-voice-card select:disabled, .bmh-voice-player button:disabled { opacity: .45; }
.bmh-voice-card :is(button, a, select):focus-visible, .bmh-voice-player :is(button, a):focus-visible {
  outline: 2px solid var(--bmh-voice-progress, #72a8bd);
  outline-offset: 2px;
}
