.cfm_managed_preview_module{height:100%;min-height:420px;border:0;box-shadow:none}.cfm_managed_preview_module>.pmt_file_preview{height:100%;min-height:420px;border:0;border-radius:0}
.cfm_modal[hidden]{display:none!important}
.cfm_shell [hidden]{display:none!important}
.cfm_modal{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,23,42,.5);backdrop-filter:blur(8px)}
.cfm_shell{width:min(1480px,96vw);height:min(900px,94vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--ui-border,#d8dee9);border-radius:18px;background:var(--ui-panel,#fff);box-shadow:0 30px 90px rgba(15,23,42,.28);color:var(--ui-text,#172033)}
.cfm_header{display:flex;align-items:center;gap:16px;min-height:70px;padding:12px 18px;border-bottom:1px solid var(--ui-border,#e2e8f0);background:var(--ui-panel,#fff)}
.cfm_title{min-width:0;flex:1}.cfm_title h2{margin:0;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cfm_title p{margin:4px 0 0;color:var(--ui-text-muted,#64748b);font-size:12px}
.cfm_header_actions,.cfm_toolbar,.cfm_auth_actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cfm_btn{border:1px solid var(--ui-border,#d7dee8);border-radius:9px;background:var(--ui-panel,#fff);color:var(--ui-text,#172033);font:inherit;font-size:13px;font-weight:650;padding:8px 12px;cursor:pointer}.cfm_btn:hover{border-color:#80a9ff;background:#f4f7ff}.cfm_btn:disabled{opacity:.45;cursor:not-allowed}.cfm_btn_primary{border-color:#2563eb;background:#2563eb;color:#fff}.cfm_btn_primary:hover{background:#1d4ed8}.cfm_btn_danger{border-color:#fecaca;color:#b91c1c;background:#fff7f7}.cfm_icon_btn{width:36px;height:36px;padding:0;display:grid;place-items:center;font-size:20px}
.cfm_tabs{display:flex;gap:4px;padding:8px 18px 0;border-bottom:1px solid var(--ui-border,#e2e8f0)}.cfm_tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 14px;color:var(--ui-text-muted,#64748b);font-weight:700;cursor:pointer}.cfm_tab.is-active{color:#1d4ed8;border-bottom-color:#2563eb}
.cfm_notice{min-height:0;padding:0 18px;background:#eff6ff;color:#1e40af;font-size:12px;line-height:0;overflow:hidden;transition:.18s}.cfm_notice.is-visible{padding-top:8px;padding-bottom:8px;line-height:1.4}.cfm_notice.is-error{background:#fff1f2;color:#be123c}.cfm_notice.is-success{background:#ecfdf5;color:#047857}
.cfm_body{flex:1;min-height:0;display:flex;overflow:hidden}.cfm_panel{display:none;flex:1;min-width:0;min-height:0}.cfm_panel.is-active{display:flex}
.cfm_panel.cfm_files_layout{display:none!important;grid-template-columns:clamp(210px,22vw,260px) minmax(360px,1fr) clamp(380px,40vw,520px);min-height:0}.cfm_panel.cfm_files_layout.is-active{display:grid!important}
.cfm_column{min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--ui-border,#e2e8f0)}.cfm_column:last-child{border-right:0}.cfm_column_head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:51px;padding:9px 12px;border-bottom:1px solid var(--ui-border,#e2e8f0)}.cfm_column_head strong{font-size:14px}.cfm_column_body{flex:1;min-height:0;overflow:auto;padding:10px}.cfm_tree_actions{display:flex;gap:4px}.cfm_tree_actions .cfm_btn{padding:6px 7px;font-size:11px}
.cfm_domain_switch{display:flex;gap:7px;padding:9px 10px;border-bottom:1px solid var(--ui-border,#e2e8f0);background:#f8fafc}.cfm_domain_btn{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;flex:1;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#475569;padding:8px 9px;text-align:left;font:inherit;font-size:11px;cursor:pointer}.cfm_domain_btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cfm_domain_btn strong{border-radius:999px;background:#e2e8f0;color:#475569;padding:2px 6px;font-size:10px}.cfm_domain_btn:hover{border-color:#80a9ff;background:#f1f5ff}.cfm_domain_btn.is-active{border-color:#2563eb;background:#e8f0ff;color:#1d4ed8;box-shadow:0 0 0 1px rgba(37,99,235,.12)}.cfm_domain_btn.is-active strong{background:#bfdbfe;color:#1d4ed8}.cfm_domain_btn.is-archive.is-active{border-color:#c2410c;background:#fff7ed;color:#9a3412}.cfm_domain_btn.is-archive.is-active strong{background:#fed7aa;color:#9a3412}
.cfm_tree_node{min-width:0;outline:none}.cfm_tree_node:focus>.cfm_tree_row{border-radius:8px;box-shadow:0 0 0 2px rgba(37,99,235,.28)}.cfm_tree_group{min-width:0;margin-left:16px}.cfm_tree_root_group{margin-left:0}.cfm_tree_row{display:flex;align-items:center;min-width:0}.cfm_tree_toggle{width:20px;min-width:20px;height:30px;border:0;background:transparent;color:#64748b;padding:0;cursor:pointer}.cfm_tree_toggle:hover{color:#1d4ed8}.cfm_tree_item{min-width:0;flex:1;display:flex;align-items:center;gap:7px;border:0;border-radius:8px;background:transparent;padding:7px 8px;text-align:left;color:inherit;cursor:pointer;font-size:13px}.cfm_tree_item:hover{background:#f1f5f9}.cfm_tree_item.is-active{background:#e8f0ff;color:#1d4ed8;font-weight:700}.cfm_tree_count{margin-left:auto;color:#64748b;font-size:11px}.cfm_tree_icon{width:18px;text-align:center}.cfm_tree_label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfm_search{width:100%;box-sizing:border-box;border:1px solid var(--ui-border,#d7dee8);border-radius:9px;background:var(--ui-panel,#fff);color:inherit;padding:9px 11px;outline:none}.cfm_search:focus{border-color:#6694f5;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.cfm_select,.cfm_filter_input{box-sizing:border-box;border:1px solid var(--ui-border,#d7dee8);border-radius:8px;background:var(--ui-panel,#fff);color:inherit;padding:8px 9px;font:inherit;font-size:12px}.cfm_column_head .cfm_select{max-width:108px}.cfm_task_filters{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:1;flex-wrap:wrap}.cfm_filter_input{width:120px}
.cfm_file_list{display:flex;flex-direction:column;gap:5px}.cfm_file_row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:8px}.cfm_file_row:hover{background:#f8fafc;border-color:#e2e8f0}.cfm_file_row.is-active{background:#eef4ff;border-color:#9bbaff}.cfm_file_row>input{width:15px;height:15px}.cfm_file_open{display:grid;grid-template-columns:26px minmax(0,1fr) 126px;align-items:center;gap:9px;min-width:0;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.cfm_file_name{min-width:0}.cfm_file_name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.cfm_file_name>span{display:block;margin-top:3px;color:#64748b;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cfm_file_name .cfm_file_state_row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;overflow:visible;white-space:normal}.cfm_file_state_chip{display:inline-flex;align-items:center;border-radius:999px;padding:2px 6px;font-size:10px;font-style:normal;font-weight:700;line-height:1.35;background:#f1f5f9;color:#475569}.cfm_file_state_chip.is-source{background:#eef2ff;color:#4338ca}.cfm_file_state_chip.is-business{background:#f0f9ff;color:#0369a1}.cfm_file_state_chip.is-sync.is-completed{background:#ecfdf5;color:#047857}.cfm_file_state_chip.is-sync.is-pending,.cfm_file_state_chip.is-sync.is-syncing{background:#eff6ff;color:#1d4ed8}.cfm_file_state_chip.is-sync.is-failed{background:#fef2f2;color:#b91c1c}.cfm_file_state_chip.is-sync.is-conflict{background:#fff7ed;color:#c2410c}.cfm_file_meta{font-size:11px;color:#64748b;text-align:right}.cfm_generated_time{font-variant-numeric:tabular-nums;white-space:nowrap}.cfm_bulk_actions{display:inline-flex;gap:6px}.cfm_badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:700}.cfm_empty{padding:34px 14px;text-align:center;color:#64748b;font-size:13px}.cfm_loading{display:grid;place-items:center;min-height:180px;color:#64748b}
.cfm_detail_placeholder{display:grid;place-items:center;height:100%;padding:24px;text-align:center;color:#64748b}.cfm_detail{display:flex;flex-direction:column;gap:14px;height:100%;min-height:0}.cfm_detail h3{margin:0;font-size:16px;word-break:break-all}.cfm_detail_grid{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px 10px;font-size:12px}.cfm_detail_grid dt{color:#64748b}.cfm_detail_grid dd{margin:0;word-break:break-all}.cfm_detail_actions{display:flex;gap:7px;flex-wrap:wrap}.cfm_detail_tab_panel[data-cfm-detail-panel="preview"].is-active{display:flex;flex:1;min-height:0;flex-direction:column}.cfm_detail_tab_panel[data-cfm-detail-panel="preview"].is-active .cfm_preview{display:flex;flex:1;min-height:420px}.cfm_preview{min-height:220px;border:1px solid var(--ui-border,#e2e8f0);border-radius:10px;background:#f8fafc;overflow:hidden}.cfm_preview_message{display:grid;place-items:center;min-height:220px;padding:18px;color:#64748b;text-align:center;font-size:12px}.cfm_versions{display:flex;flex-direction:column;gap:6px}.cfm_version{border:1px solid #e2e8f0;border-radius:8px;padding:8px;font-size:12px}.cfm_version strong{display:flex;justify-content:space-between;gap:8px}.cfm_version p{margin:4px 0 0;color:#64748b}
.cfm_detail_title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.cfm_detail_title h3{min-width:0;flex:1}.cfm_detail_load_status{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700;white-space:nowrap}.cfm_detail_load_status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.cfm_detail_load_status.is-loading{background:#eff6ff;color:#2563eb}.cfm_detail_load_status.is-loading::before{width:8px;height:8px;border:2px solid currentColor;border-right-color:transparent;background:transparent;animation:cfm-detail-loading .72s linear infinite}.cfm_detail_load_status.is-complete{background:#ecfdf5;color:#047857}.cfm_detail_load_status.is-error{background:#fef2f2;color:#b91c1c}.cfm_detail_load_status[hidden]{display:none}@keyframes cfm-detail-loading{to{transform:rotate(360deg)}}.cfm_detail_tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid #dbe3ef;scrollbar-width:thin}.cfm_detail_tab{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;padding:9px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cfm_detail_tab:hover{background:#f8fafc;color:#1d4ed8}.cfm_detail_tab.is-active{border-bottom-color:#2563eb;background:#eff6ff;color:#1d4ed8}.cfm_detail_tab_panel{display:none;min-width:0}.cfm_detail_tab_panel.is-active{display:block}.cfm_detail_hint{margin:10px 0 0;color:#64748b;font-size:11px;line-height:1.5}
.cfm_auth{flex:1;display:grid;place-items:center;padding:30px;background:linear-gradient(135deg,#f8fafc,#eef4ff)}.cfm_auth_card{width:min(430px,92vw);border:1px solid #dbe3ef;border-radius:16px;background:#fff;padding:26px;box-shadow:0 18px 45px rgba(15,23,42,.12)}.cfm_auth_card h3{margin:0 0 5px;font-size:20px}.cfm_auth_card>p{margin:0 0 20px;color:#64748b;font-size:13px;line-height:1.6}.cfm_form{display:flex;flex-direction:column;gap:12px}.cfm_form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}.cfm_form input{border:1px solid #d7dee8;border-radius:9px;padding:10px 11px;font:inherit}.cfm_auth_error{min-height:18px;color:#be123c;font-size:12px}.cfm_user{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b}.cfm_user strong{color:var(--ui-text,#172033)}
.cfm_task_panel,.cfm_sync_panel,.cfm_template_panel,.cfm_source_panel{display:none;flex-direction:column;min-height:0}.cfm_task_panel.is-active,.cfm_sync_panel.is-active,.cfm_template_panel.is-active,.cfm_source_panel.is-active{display:flex}.cfm_wide_body{flex:1;min-height:0;overflow:auto;padding:14px 18px}.cfm_task_card,.cfm_sync_card{border:1px solid #e2e8f0;border-radius:10px;padding:12px;margin-bottom:8px}.cfm_task_card_head,.cfm_sync_card_head{display:flex;justify-content:space-between;gap:10px}.cfm_task_card p,.cfm_sync_card p{margin:6px 0 0;color:#64748b;font-size:12px}.cfm_error_text{color:#be123c!important}.cfm_progress{height:6px;margin-top:9px;border-radius:999px;background:#e2e8f0;overflow:hidden}.cfm_progress span{display:block;height:100%;background:#2563eb}.cfm_task_steps{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.cfm_task_steps span{border-radius:7px;background:#f1f5f9;padding:5px 7px;color:#475569;font-size:11px}.cfm_section_title{margin:18px 0 8px;font-size:14px}.cfm_event_list{display:flex;flex-direction:column;gap:7px}.cfm_event_list article{display:grid;grid-template-columns:150px 190px minmax(0,1fr);gap:10px;border-left:3px solid #93c5fd;padding:8px 10px;background:#f8fafc;font-size:12px}.cfm_event_list article span{color:#64748b}.cfm_event_list article p{margin:0;color:#475569}.cfm_sync_drop{border:1px dashed #94a3b8;border-radius:12px;padding:22px;text-align:center;color:#64748b}.cfm_sync_group{margin-top:16px}.cfm_sync_group h3{display:flex;align-items:center;gap:8px;margin:0;font-size:14px}.cfm_sync_group h3 span{border-radius:999px;background:#e2e8f0;padding:2px 7px;color:#475569;font-size:11px}.cfm_sync_items{display:flex;flex-direction:column;gap:8px;margin-top:8px}.cfm_sync_item{display:grid;grid-template-columns:130px minmax(0,1fr) 170px;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:9px;padding:9px;font-size:12px}.cfm_sync_item select{border:1px solid #d7dee8;border-radius:7px;padding:7px}
.cfm_readonly_block{display:flex;flex-direction:column;gap:7px;border-top:1px solid #e2e8f0;padding-top:10px}.cfm_readonly_rows{display:flex;flex-direction:column;gap:6px}.cfm_readonly_rows article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 7px;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.cfm_readonly_rows article small{grid-column:2;color:#64748b}.cfm_empty.is-compact{padding:12px 8px}.cfm_source_guard{display:flex;align-items:center;gap:12px;border:1px solid #bfdbfe;border-radius:11px;padding:12px 14px;background:#eff6ff;color:#1e40af}.cfm_source_guard span{font-size:12px;line-height:1.5}.cfm_source_summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.cfm_source_summary article{display:flex;flex-direction:column;gap:5px;border:1px solid #e2e8f0;border-radius:10px;padding:12px;background:#fff}.cfm_source_summary span,.cfm_source_summary small{color:#64748b;font-size:11px}.cfm_source_summary strong{font-size:16px}.cfm_source_warning{margin-top:12px;border:1px solid #fed7aa;border-radius:10px;padding:10px 12px;background:#fff7ed;color:#9a3412;font-size:12px}.cfm_source_section{margin-top:18px}.cfm_source_section h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:14px}.cfm_source_section h3 span{border-radius:999px;background:#e2e8f0;padding:2px 7px;color:#475569;font-size:11px}.cfm_source_rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cfm_source_row{display:flex;min-width:0;flex-direction:column;gap:5px;border:1px solid #e2e8f0;border-radius:9px;padding:10px;background:#fff}.cfm_source_row>div{display:flex;gap:5px;flex-wrap:wrap}.cfm_source_row strong,.cfm_source_row p,.cfm_source_row small{overflow-wrap:anywhere}.cfm_source_row p{margin:0;color:#475569;font-size:12px}.cfm_source_row small{color:#64748b;font-size:11px}
.cfm_template_select{max-width:360px!important;min-width:260px}.cfm_template_summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cfm_template_summary>div{display:flex;flex-direction:column;gap:5px;border:1px solid #dbe3ef;border-radius:11px;padding:13px;background:#f8fafc}.cfm_template_summary span,.cfm_template_summary small{color:#64748b;font-size:11px}.cfm_template_summary strong{font-size:15px;word-break:break-all}.cfm_template_guard,.cfm_template_current{margin-top:14px;border-radius:10px;padding:11px 13px;font-size:12px;line-height:1.6}.cfm_template_guard{border:1px solid #bfdbfe;background:#eff6ff;color:#1e40af}.cfm_template_current{border:1px solid #a7f3d0;background:#ecfdf5;color:#047857}.cfm_template_changes{display:flex;flex-direction:column;gap:7px}.cfm_template_change{display:grid;grid-template-columns:110px minmax(0,1fr) 260px;gap:10px;align-items:center;border:1px solid #dbe3ef;border-radius:9px;padding:10px;font-size:12px}.cfm_template_change.is-conflict{border-color:#fecaca;background:#fff7f7}.cfm_template_change.is-conflict .cfm_badge{background:#fee2e2;color:#b91c1c}.cfm_template_change small{color:#64748b}.cfm_template_actions{justify-content:flex-end;margin-top:18px}
.cfm_recycle_toolbar{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e2e8f0;margin-bottom:8px}.cfm_recycle_toolbar label{display:flex;align-items:center;gap:6px;margin-right:auto}.cfm_recycle_row{display:grid;grid-template-columns:24px minmax(0,1fr) 90px auto auto;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:9px;padding:10px;margin-bottom:6px;font-size:12px}.cfm_recycle_select{display:flex;align-items:center;justify-content:center}.cfm_recycle_row .cfm_btn{white-space:nowrap}
.cfm_log_intro{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 14px}.cfm_log_intro>div{display:flex;align-items:center;gap:12px;min-width:0}.cfm_log_intro strong{font-size:17px;color:#0f172a}.cfm_log_intro span{padding:4px 9px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px}.cfm_log_table{display:grid;gap:6px;font-size:12px;overflow-x:auto;padding-bottom:6px}.cfm_log_head,.cfm_log_row{display:grid;grid-template-columns:minmax(135px,1.35fr) minmax(120px,1fr) minmax(105px,1fr) 80px minmax(125px,1fr) minmax(160px,1.4fr);gap:10px;align-items:start;min-width:900px;padding:12px 14px;border:1px solid #e2e8f0}.cfm_log_head{border-radius:10px;color:#475569;background:#f8fafc;align-items:center}.cfm_log_row{border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}.cfm_log_row:hover{border-color:#93c5fd;background:#f8fbff;box-shadow:0 3px 10px rgba(37,99,235,.08)}.cfm_log_head>*,.cfm_log_row>*{min-width:0;overflow-wrap:anywhere;word-break:break-word}.cfm_log_row small{display:block;margin-top:4px;color:#94a3b8}.cfm_log_action{font-weight:600;color:#1e3a8a}.cfm_log_row .cfm_badge{justify-self:start;padding:4px 9px;white-space:normal;text-align:center}
@media (max-width:900px){.cfm_log_intro{align-items:flex-start;flex-direction:column;gap:6px}.cfm_log_head,.cfm_log_row{grid-template-columns:minmax(125px,1.2fr) minmax(110px,1fr) minmax(90px,1fr) 76px minmax(110px,1fr) minmax(150px,1.3fr);gap:8px;padding:10px}}
.cfm_sync_onboarding{display:flex;flex-direction:column;gap:14px;max-width:1180px;margin:0 auto}.cfm_sync_hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border:1px solid #dbe3ef;border-radius:14px;padding:18px;background:linear-gradient(135deg,#f8fbff,#f1f5ff)}.cfm_sync_hero>div{min-width:0}.cfm_sync_hero strong{font-size:17px}.cfm_sync_hero p{margin:7px 0 0;color:#64748b;font-size:12px;line-height:1.6}.cfm_status_dot{display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.15)}.cfm_status_dot.is-ok{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.15)}.cfm_status_dot.is-warn{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.15)}.cfm_status_dot.is-error{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.15)}.cfm_device_select{display:flex;align-items:center;gap:8px;color:#64748b;font-size:11px}.cfm_device_select .cfm_select{min-width:240px;max-width:360px}.cfm_sync_metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cfm_sync_metrics article{display:flex;min-width:0;min-height:92px;flex-direction:column;gap:6px;border:1px solid #e2e8f0;border-radius:11px;padding:13px;background:#fff}.cfm_sync_metrics span,.cfm_sync_metrics small{color:#64748b;font-size:11px}.cfm_sync_metrics strong{overflow:hidden;text-overflow:ellipsis;font-size:14px;white-space:nowrap}.cfm_sync_guard{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #bfdbfe;border-radius:12px;padding:13px 15px;background:#eff6ff;color:#1e40af;font-size:12px}.cfm_sync_guard strong{font-size:13px}.cfm_sync_guard span{flex:1;min-width:260px;line-height:1.55}.cfm_sync_guard.is-error{border-color:#fecaca;background:#fff7f7;color:#b91c1c}.cfm_sync_actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cfm_pairing_result{display:grid;grid-template-columns:auto 1fr;gap:5px 13px;align-items:center;border:1px solid #a7f3d0;border-radius:12px;padding:14px;background:#ecfdf5;color:#047857}.cfm_pairing_result strong{grid-row:1/3;font-size:28px;letter-spacing:.16em}.cfm_pairing_result span,.cfm_pairing_result small{font-size:11px}.cfm_sync_history_section{border-top:1px solid #e2e8f0;padding-top:8px}.cfm_sync_history_section h3{margin:8px 0 10px;font-size:14px}.cfm_sync_history{display:grid;grid-template-columns:minmax(120px,1fr) 190px 160px 90px;gap:10px;align-items:center;border-bottom:1px solid #eef2f6;padding:9px 4px;font-size:11px}.cfm_sync_history>span{color:#64748b}.cfm_sync_history .cfm_badge{justify-self:end}
@media(max-width:1050px){.cfm_files_layout{grid-template-columns:210px minmax(360px,1fr) 310px}.cfm_shell{width:98vw;height:96vh}}
@media(max-width:800px){.cfm_modal{padding:0}.cfm_shell{width:100vw;height:100vh;border-radius:0}.cfm_files_layout{grid-template-columns:180px minmax(330px,1fr)}.cfm_column_detail{display:none}.cfm_header{align-items:flex-start}.cfm_header_actions{justify-content:flex-end}.cfm_task_filters{justify-content:flex-start}.cfm_event_list article{grid-template-columns:1fr}.cfm_template_summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cfm_template_change{grid-template-columns:1fr}.cfm_template_select{min-width:160px}.cfm_sync_metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cfm_sync_hero{display:block}.cfm_device_select{display:block;margin-top:12px}.cfm_device_select .cfm_select{width:100%;max-width:100%;margin-top:6px}.cfm_sync_history{grid-template-columns:1fr 1fr}.cfm_sync_history .cfm_badge{justify-self:start}}
@media(max-width:1050px){.cfm_source_summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.cfm_source_rows{grid-template-columns:1fr}.cfm_source_guard{align-items:flex-start;flex-direction:column}}
.cfm_column_detail .cfm_column_body{padding:12px}.cfm_column_detail .cfm_detail_tab_panel{overflow-wrap:anywhere}
@media(max-width:1050px){.cfm_column_detail .cfm_detail_actions .cfm_btn{flex:1 1 92px}.cfm_detail_tabs{margin-inline:-2px}}
@media(max-width:800px){.cfm_column_detail{display:flex!important;position:fixed;z-index:5;inset:0 0 0 180px;background:#fff;transform:translateX(100%);transition:transform .18s ease}.cfm_column_detail.is-open{transform:translateX(0)}.cfm_column_detail .cfm_column_head{min-height:46px}.cfm_column_detail .cfm_column_body{padding:10px}.cfm_detail_tabs{position:sticky;top:0;background:#fff;z-index:1}.cfm_detail_grid{grid-template-columns:76px minmax(0,1fr)}.cfm_detail_title h3{font-size:14px}.cfm_detail_tab{padding-inline:8px;font-size:11px}.cfm_preview,.cfm_preview_message{min-height:180px}}
@media(max-width:480px){.cfm_column_detail{inset:0}.cfm_detail{gap:10px}.cfm_detail_actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cfm_detail_actions .cfm_btn{min-width:0;padding-inline:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cfm_detail_tab{padding:8px 7px;font-size:10px}}
.cfm_intake_list{display:flex;flex-direction:column;gap:10px;max-width:1180px;margin:0 auto}.cfm_intake_card{display:flex;flex-direction:column;gap:10px;border:1px solid #dbe3ef;border-radius:12px;padding:14px;background:#fff}.cfm_intake_card_head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cfm_intake_card_head>div{min-width:0}.cfm_intake_card_head strong{display:block;overflow-wrap:anywhere}.cfm_intake_card_head small{display:block;margin-top:5px;color:#64748b;font-size:11px}.cfm_intake_meta{display:flex;gap:8px;flex-wrap:wrap;color:#64748b;font-size:11px}.cfm_intake_meta span{padding:4px 7px;border-radius:7px;background:#f8fafc}.cfm_intake_actions{display:flex;gap:8px;flex-wrap:wrap}.cfm_intake_card .cfm_error_text{border-radius:8px;padding:8px;background:#fff1f2;color:#be123c;font-size:12px}
.cfm_detail_title{align-items:center;white-space:nowrap}.cfm_detail_title h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
