.smart-montage-result-preview-modal .ant-modal-body{border-radius:8px;overflow:hidden}.smart-montage-result-preview-content{background:var(--app-primary);position:relative}.smart-montage-result-preview-content video{object-fit:contain;width:100%;height:400px;display:block}.smart-montage-result-preview-content.is-audio{justify-content:center;align-items:center;min-height:400px;padding:32px 72px;display:flex}.smart-montage-result-preview-content.is-audio audio{width:100%}.smart-montage-result-preview-download.ant-btn{z-index:1;position:absolute;top:12px;right:12px}.smart-montage-result-preview-modal .ant-modal-footer{padding-top:14px}.smart-montage-result-preview-content.is-image{justify-content:center;align-items:center;min-height:400px;padding:16px;display:flex}.smart-montage-result-preview-content.is-image .smart-montage-result-preview-image{object-fit:contain;max-width:100%;max-height:400px;display:block}.smart-montage-result-preview-modal.is-resource-preview{max-width:calc(100vw - 48px);padding-bottom:0}.smart-montage-result-preview-modal.is-resource-preview .ant-modal-content{border:1px solid var(--app-border);box-shadow:0 20px 56px var(--app-selection-shadow);border-radius:14px;padding:0;overflow:hidden}.smart-montage-result-preview-modal.is-resource-preview .ant-modal-header{background:var(--app-surface);margin:0;padding:18px 56px 18px 24px}.smart-montage-result-preview-modal.is-resource-preview .ant-modal-close{color:var(--app-text-secondary);top:14px;right:14px}.smart-montage-resource-preview-title{align-items:center;gap:10px;min-width:0;display:flex}.smart-montage-resource-preview-title-icon{background:var(--app-primary-soft);width:34px;height:34px;color:var(--app-primary);border-radius:9px;flex:0 0 34px;justify-content:center;align-items:center;font-size:16px;display:inline-flex}.smart-montage-resource-preview-title-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.smart-montage-resource-preview-title-copy strong{color:var(--app-text);font-size:16px;font-weight:600;line-height:20px}.smart-montage-resource-preview-title-copy>span{max-width:100%;color:var(--app-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;line-height:16px;overflow:hidden}.smart-montage-result-preview-modal.is-resource-preview .ant-modal-body{background:var(--app-bg);border-radius:0;padding:16px}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content{border:1px solid var(--app-border);background:var(--app-surface);border-radius:10px;overflow:hidden}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content video{object-fit:contain;width:100%;height:min(74dvh,760px);min-height:0}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content.is-image{background:var(--app-surface-hover);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;height:min(74dvh,760px);min-height:0;padding:18px}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content.is-image .smart-montage-result-preview-image{max-height:100%;box-shadow:0 6px 20px var(--app-selection-shadow);border-radius:6px}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content.is-audio{background:var(--app-surface);min-height:min(320px,60dvh);padding:32px}.smart-montage-resource-preview-audio{border:1px solid var(--app-border);background:var(--app-surface-elevated);border-radius:12px;align-items:center;gap:18px;width:100%;padding:20px;display:flex}.smart-montage-resource-preview-audio-icon{background:var(--app-primary);width:64px;height:64px;color:var(--app-text-on-primary);box-shadow:0 10px 24px var(--app-selection-shadow);border-radius:18px;flex:0 0 64px;justify-content:center;align-items:center;font-size:28px;display:inline-flex}.smart-montage-resource-preview-audio>div{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.smart-montage-resource-preview-audio strong{color:var(--app-text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.smart-montage-resource-preview-audio>div>span{color:var(--app-text-muted);font-size:11px}.smart-montage-resource-preview-audio audio{width:100%;margin-top:8px}@media (width<=600px){.smart-montage-result-preview-modal.is-resource-preview{max-width:calc(100vw - 24px)}.smart-montage-result-preview-modal.is-resource-preview .ant-modal-header{padding:14px 48px 14px 16px}.smart-montage-result-preview-modal.is-resource-preview .smart-montage-result-preview-content.is-audio{padding:16px}.smart-montage-resource-preview-audio{flex-direction:column;align-items:stretch;padding:16px}}.smart-montage-asset-picker.is-flat-layout .ant-modal-body{min-height:0;max-height:70vh}.smart-montage-asset-picker .smart-montage-picker-content{flex-direction:column;min-height:180px;display:flex;position:relative;overflow:hidden}.smart-montage-asset-picker .smart-montage-picker-content>.smart-montage-asset-picker-body{flex:1;min-height:0;overflow:auto}.smart-montage-asset-picker .smart-montage-picker-empty,.smart-montage-asset-picker .smart-montage-picker-loading-overlay{justify-content:center;align-items:center;display:flex}.smart-montage-asset-picker .smart-montage-picker-empty{flex:1;min-height:180px}.smart-montage-asset-picker .smart-montage-picker-loading-overlay{z-index:2;position:absolute;inset:0}.smart-montage-asset-picker .smart-montage-picker-loading-overlay:before{content:"";background:var(--app-surface);opacity:.65;position:absolute;inset:0}.smart-montage-asset-picker .smart-montage-picker-loading-overlay>.ant-spin{position:relative}.smart-montage-asset-picker .smart-montage-picker-content.is-loading>.smart-montage-asset-picker-body{pointer-events:none}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar{border:1px solid var(--app-border);background:var(--app-surface-subtle);border-radius:10px;flex-shrink:0;margin-bottom:16px;padding:12px;container-type:inline-size}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar>.ant-space{grid-template-columns:minmax(140px,1fr) minmax(260px,1.7fr) repeat(2,minmax(100px,.7fr)) auto auto;display:grid;gap:8px!important;margin-bottom:0!important}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item{min-width:0}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar :is(.ant-input-affix-wrapper,.ant-picker,.ant-input-number-group-wrapper,.ant-input-number){width:100%!important}.smart-montage-asset-picker.is-flat-layout .smart-montage-asset-picker-body{scrollbar-width:thin;gap:24px;padding:2px 8px 8px 2px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-flat-folder+.smart-montage-picker-flat-folder{margin-top:24px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-flat-heading{margin-bottom:12px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-folder{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-folder-main{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-folder-main>.anticon{width:30px;height:30px;color:var(--app-primary);background:var(--app-primary-soft);border-radius:8px;place-items:center;display:grid}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-folder-main>.ant-typography{font-size:13px;font-weight:600}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card{border:1px solid var(--app-border);background:var(--app-surface);border-radius:10px;min-width:0;transition:border-color .15s,box-shadow .15s}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card:is(:hover,.is-selected){border-color:var(--app-primary)}.smart-montage-asset-picker .smart-montage-picker-card{position:relative}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card.is-selected{background:var(--app-primary-soft);box-shadow:0 0 0 1px var(--app-primary)}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card:focus-visible{outline:2px solid var(--app-primary);outline-offset:2px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card-check{border:1px solid var(--app-border);width:20px;height:20px;color:var(--app-text-on-primary);background:var(--app-surface-elevated);border-radius:6px;top:8px;right:8px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card-check.is-selected{border-color:var(--app-primary);background:var(--app-primary)}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-card-name{text-overflow:ellipsis;white-space:nowrap;padding:9px 10px;font-size:12px;overflow:hidden}.smart-montage-asset-picker.is-flat-layout .smart-montage-asset-picker-footer{border-top:1px solid var(--app-border);align-items:center;gap:8px;padding-top:12px}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-selection-summary{margin-right:auto;font-size:12px}.smart-montage-asset-picker.is-flat-layout .smart-montage-asset-picker-footer .ant-btn{min-width:80px;height:34px}.smart-montage-asset-picker-pagination{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px;display:flex}@container (width<=900px){.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar>.ant-space{grid-template-columns:repeat(6,minmax(0,1fr))}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(-n+2){grid-column:span 3}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(3),.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(4){grid-column:span 2}}@media (width<=540px){.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar>.ant-space{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(-n+2){grid-column:1/-1}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(3),.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-filter-bar .ant-space-item:nth-child(4){grid-column:auto}.smart-montage-asset-picker.is-flat-layout .smart-montage-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.smart-montage-asset-picker .smart-montage-asset-picker-footer{align-items:center;gap:8px;display:flex}.smart-montage-asset-picker .smart-montage-picker-page-selection{text-align:left;margin-right:auto}.smart-montage-asset-picker .smart-montage-picker-card-media{position:relative}.smart-montage-asset-picker .smart-montage-picker-card-preview.ant-btn{z-index:1;background:var(--app-surface-elevated);border-radius:6px;height:26px;padding-inline:8px;font-size:12px;position:absolute;bottom:8px;left:8px}.smart-montage-caption-editor{max-width:calc(100vw - 32px);padding-bottom:0}.smart-montage-caption-editor .ant-modal-content{border:1px solid var(--app-border);background:var(--app-surface);border-radius:16px;padding:0;overflow:hidden}.smart-montage-caption-editor .ant-modal-header{border-bottom:1px solid var(--app-border);background:0 0;margin:0;padding:16px 56px 16px 24px}.smart-montage-caption-editor .ant-modal-close{top:20px;right:20px}.smart-montage-caption-editor-heading,.smart-montage-caption-editor-section-title{align-items:center;gap:10px;display:flex}.smart-montage-caption-editor-heading-icon{width:40px;height:40px;color:var(--app-primary);background:var(--app-primary-soft);border-radius:12px;flex:0 0 40px;place-items:center;font-size:20px;display:grid}.smart-montage-caption-editor-heading>div{flex-direction:column;gap:4px;min-width:0;display:flex}.smart-montage-caption-editor-heading strong{color:var(--app-text);font-size:17px;line-height:24px}.smart-montage-caption-editor-heading>div>span{color:var(--app-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;line-height:18px;overflow:hidden}.smart-montage-caption-editor .ant-modal-body{max-height:calc(100dvh - 200px);padding:16px 24px;overflow-y:auto}.smart-montage-caption-editor-layout{grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);gap:20px;display:grid}.smart-montage-caption-editor-sidebar{flex-direction:column;gap:10px;min-width:0;display:flex}.smart-montage-caption-editor-source,.smart-montage-caption-editor-line{border:1px solid var(--app-border);background:var(--app-surface-subtle);border-radius:12px;padding:16px}.smart-montage-caption-editor-section-title{color:var(--app-text);font-size:13px}.smart-montage-caption-editor-section-title>.anticon{color:var(--app-primary);font-size:16px}.smart-montage-caption-editor-source>p{color:var(--app-text-muted);margin:10px 0 16px;font-size:12px;line-height:1.7}.smart-montage-caption-editor-source audio{width:100%;height:36px;display:block}.smart-montage-caption-editor-line-heading{color:var(--app-text);justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.smart-montage-caption-editor-line-heading>span,.smart-montage-caption-editor-count{background:var(--app-primary-soft);color:var(--app-primary);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:5px;padding:2px 8px;font-size:11px}.smart-montage-caption-editor-line>p{min-height:44px;color:var(--app-text-secondary);overflow-wrap:anywhere;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:14px 0;font-size:13px;line-height:22px;display:-webkit-box;overflow:hidden}.smart-montage-caption-editor-line .ant-btn{height:32px;font-size:12px}.smart-montage-caption-editor-help{padding:4px 4px 0}.smart-montage-caption-editor-help ul{color:var(--app-text-muted);gap:7px;margin:12px 0 0;padding-left:20px;font-size:12px;line-height:1.7;display:grid}.smart-montage-caption-editor-main{flex-direction:column;gap:12px;min-width:0;display:flex}.smart-montage-caption-editor-main-header,.smart-montage-caption-editor-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.smart-montage-caption-editor-main-header>div{flex-direction:column;gap:4px;display:flex}.smart-montage-caption-editor-main-header strong{color:var(--app-text);font-size:14px}.smart-montage-caption-editor-main-header>div>span{color:var(--app-text-muted);font-size:12px}.smart-montage-caption-editor-input.ant-input{border-color:var(--app-border);background:var(--app-surface-subtle);height:clamp(220px,32dvh,340px);min-height:200px;color:var(--app-text);resize:none;border-radius:10px;padding:14px 16px;font-size:14px;line-height:2}.smart-montage-caption-editor-tools{flex-wrap:wrap;justify-content:flex-start;gap:8px}.smart-montage-caption-editor-tools .ant-btn{color:var(--app-text-secondary);font-size:12px}.smart-montage-caption-editor-alert{margin-bottom:16px}.smart-montage-caption-editor-note{background:var(--app-surface-subtle);color:var(--app-text-muted);border-radius:8px;align-items:flex-start;gap:8px;margin-top:12px;padding:12px 14px;font-size:12px;line-height:1.8;display:flex}.smart-montage-caption-editor-note>.anticon{flex-shrink:0;margin-top:4px}.smart-montage-caption-editor .ant-modal-footer{border-top:1px solid var(--app-border);margin:0;padding:12px 24px}.smart-montage-caption-editor-footer,.smart-montage-caption-editor-footer-actions{align-items:center;gap:10px;display:flex}.smart-montage-caption-editor-footer{justify-content:space-between}.smart-montage-caption-editor-status{color:var(--app-text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.smart-montage-caption-editor-status.is-dirty{color:var(--app-warning-text)}.smart-montage-caption-editor-loading{min-height:260px;color:var(--app-text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:14px;display:flex}.smart-montage-caption-editor-loading>span{color:var(--app-text-muted);font-size:12px}@media (width<=720px){.smart-montage-caption-editor .ant-modal-header{padding:16px 48px 16px 16px}.smart-montage-caption-editor .ant-modal-body{padding:16px}.smart-montage-caption-editor-layout{grid-template-columns:minmax(0,1fr)}.smart-montage-caption-editor-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.smart-montage-caption-editor-help{grid-column:1/-1}.smart-montage-caption-editor .ant-modal-footer{padding:14px 16px}}@media (width<=480px){.smart-montage-caption-editor-sidebar{grid-template-columns:minmax(0,1fr)}}.smart-montage-caption-editor-close-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.smart-montage-caption-close-confirm{max-width:calc(100vw - 32px)}.smart-montage-caption-close-confirm .ant-modal-content{border:1px solid var(--app-border);background:var(--app-surface);border-radius:14px;padding:0;overflow:hidden}.smart-montage-caption-close-confirm .ant-modal-header{background:0 0;margin:0;padding:24px 52px 0 24px}.smart-montage-caption-close-confirm .ant-modal-close{top:20px;right:16px}.smart-montage-caption-close-heading{align-items:center;gap:12px;display:flex}.smart-montage-caption-close-icon{background:var(--app-warning-soft);width:40px;height:40px;color:var(--app-warning-text);border-radius:12px;flex:0 0 40px;place-items:center;font-size:19px;display:grid}.smart-montage-caption-close-heading>div{flex-direction:column;gap:4px;min-width:0;display:flex}.smart-montage-caption-close-heading strong{color:var(--app-text);font-size:16px;line-height:24px}.smart-montage-caption-close-heading>div>span{color:var(--app-text-muted);font-size:12px;font-weight:400;line-height:18px}.smart-montage-caption-close-confirm .ant-modal-body{gap:12px;max-height:55dvh;padding:18px 24px 24px;display:grid;overflow-y:auto}.smart-montage-caption-close-description{color:var(--app-text-secondary);margin:0;font-size:13px;line-height:1.9}.smart-montage-caption-close-confirm .ant-modal-footer{border-top:1px solid var(--app-border);background:0 0;margin:0;padding:16px 24px}.smart-montage-caption-close-confirm .smart-montage-caption-editor-close-actions{justify-content:flex-end;display:flex}.smart-montage-caption-close-confirm .smart-montage-caption-editor-close-actions .ant-btn{border-radius:7px;height:32px;font-size:13px}@media (width<=480px){.smart-montage-caption-close-confirm .ant-modal-header{padding:20px 44px 0 16px}.smart-montage-caption-close-confirm .ant-modal-body,.smart-montage-caption-close-confirm .ant-modal-footer{padding:16px}.smart-montage-caption-close-confirm .smart-montage-caption-editor-close-actions .ant-btn{padding-inline:8px;font-size:12px}}
