/* Calendario FCA 10.6.7 · Editor feedback + compacto */

.cfca-editor {
                font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
                max-width: 1400px;
                margin: 0 auto;
            }
            
            .cfca-editor-header {
                background: linear-gradient(135deg, var(--cfca-color, #2e7d32) 0%, #1b5e20 100%);
                color: white;
                padding: 25px 30px;
                border-radius: 20px 20px 0 0;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            
            .cfca-editor-tabs {
                display: flex;
                gap: 10px;
                background: #f5f5f5;
                padding: 15px 20px;
                border-bottom: 3px solid var(--cfca-color, #2e7d32);
                flex-wrap: wrap;
            }
            
            .cfca-editor-tab {
                padding: 12px 25px;
                background: white;
                color: var(--cfca-color, #2e7d32);
                border: 2px solid #c8e6c9;
                border-radius: 50px;
                cursor: pointer;
                font-weight: 600;
                transition: all 0.3s;
            }
            
            .cfca-editor-tab.active {
                background: var(--cfca-color, #2e7d32);
                color: white;
                border-color: var(--cfca-color, #2e7d32);
            }
            
            .cfca-form-panel {
                background: white;
                padding: 30px;
                border: 2px solid #c8e6c9;
                border-top: none;
            }
            
            .cfca-field-group {
                background: #f9f9f9;
                padding: 20px;
                border-radius: 8px;
                margin-bottom: 20px;
                border-left: 4px solid var(--cfca-color, #2e7d32);
            }
            
            .cfca-field-row {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 15px;
                margin-bottom: 15px;
            }
            
            .cfca-checkbox-group {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                margin-top: 10px;
            }
            
            .cfca-checkbox-item {
                display: flex;
                align-items: center;
                gap: 5px;
            }
            
            .cfca-notification-preview {
                background: #fff3e0;
                padding: 15px;
                border-radius: 8px;
                margin-top: 10px;
                border-left: 4px solid #ff9800;
            }
            
            .cfca-form-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 20px;
                margin-bottom: 25px;
            }

            .cfca-editor-shell {
                background: linear-gradient(180deg, #f4fbf5 0%, #eef6ef 100%);
                border: 1px solid #d7ead8;
                border-radius: 28px;
                overflow: hidden;
                box-shadow: 0 24px 70px rgba(18, 61, 33, 0.10);
            }

            .cfca-editor-header {
                position: sticky;
                top: 12px;
                z-index: 20;
                backdrop-filter: blur(10px);
                box-shadow: 0 12px 30px rgba(16, 61, 33, 0.20);
            }

            .cfca-editor-header h2,
            .cfca-editor-header p {
                margin: 0;
            }

            .cfca-editor-header p {
                opacity: 0.92;
                margin-top: 6px;
                font-size: 0.95rem;
            }

            .cfca-editor-tab {
                box-shadow: 0 6px 18px rgba(46,125,50,0.08);
            }

            .cfca-editor-meta {
                display: grid;
                grid-template-columns: repeat(3, minmax(0,1fr));
                gap: 16px;
                margin: 24px 0;
            }

            .cfca-editor-stat {
                background: linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
                border: 1px solid #dcebdc;
                border-radius: 22px;
                padding: 18px 20px;
                display: flex;
                flex-direction: column;
                gap: 6px;
                box-shadow: 0 10px 24px rgba(16,61,33,0.06);
            }

            .cfca-editor-stat strong {
                font-size: 1.65rem;
                line-height: 1;
                color: var(--cfca-color, #2e7d32);
            }

            .cfca-editor-stat span {
                color: #4d6654;
                font-size: 0.92rem;
                font-weight: 600;
            }
            .cfca-form-panel {
                background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
            }

            .cfca-field-group {
                border: 1px solid #e2efe3;
                border-radius: 20px;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
            }

            .cfca-field-group h3 {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                font-size: 1.08rem;
            }

            .cfca-field-hint {
                display: block;
                margin-top: 6px;
                color: #5f7265;
                font-size: 0.82rem;
            }

            .cfca-table-container {
                border-radius: 24px;
                box-shadow: 0 20px 44px rgba(16,61,33,0.07);
                overflow: hidden;
            }

            .cfca-table thead th {
                position: sticky;
                top: 0;
                z-index: 2;
            }

            .cfca-table tbody tr:nth-child(even) {
                background: #fbfefb;
            }

            .cfca-table tbody tr:hover {
                background: #f0f8f1;
            }

            .cfca-id-chip {
                display: inline-flex;
                align-items: center;
                padding: 5px 10px;
                border-radius: 999px;
                background: #eef6ef;
                color: #2c5c36;
                font-size: 0.78rem;
                border: 1px solid #d6e7d7;
            }

            .cfca-title-stack {
                display: flex;
                flex-direction: column;
                gap: 6px;
            }

            .cfca-title-stack strong {
                color: #1e5f2d;
                font-size: 0.98rem;
            }

            .cfca-title-stack small {
                color: #6c7f71;
            }

            .cfca-date-stack {
                display: flex;
                flex-direction: column;
                gap: 5px;
                color: #35533d;
            }

            .cfca-pill {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 6px 12px;
                border-radius: 999px;
                font-size: 0.78rem;
                font-weight: 700;
                line-height: 1;
                white-space: nowrap;
            }

            .cfca-pill--tipo { background: #e8f5e9; color: #1b5e20; }
            .cfca-pill--estado { background: #edf5ff; color: #1f4d85; }
            .cfca-pill--finalizado { background: #f1f3f5; color: #48535a; }
            .cfca-pill--oculto { background: #fff1f2; color: #9f1239; }
            .cfca-pill--visible { background: #eefbf3; color: #166534; }

            .cfca-action-stack {
                display: flex;
                flex-wrap: nowrap;
                gap: 6px;
                align-items: center;
            }

            .cfca-action-btn {
                border: none;
                border-radius: 12px;
                padding: 7px 10px;
                font-weight: 700;
                font-size: 0.82rem;
                white-space: nowrap;
                cursor: pointer;
                transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
                box-shadow: 0 8px 14px rgba(16,61,33,0.08);
            }

            .cfca-action-btn:hover {
                transform: translateY(-1px);
            }

            .cfca-action-btn.edit { background: #edf7ee; color: #1b5e20; }
            .cfca-action-btn.toggle-hide { background: #fff7e6; color: #9a6700; }
            .cfca-action-btn.delete { background: #fff1f2; color: #be123c; }

            .cfca-form-actions-bottom {
                display: flex;
                justify-content: space-between;
                gap: 12px;
                flex-wrap: wrap;
                align-items: center;
                margin-top: 20px;
                padding-top: 16px;
                border-top: 1px solid #e2efe3;
            }

            .cfca-form-actions-right {
                display: flex;
                gap: 12px;
                flex-wrap: wrap;
            }

            .cfca-section-note {
                background: #eff8f0;
                color: #36553e;
                padding: 12px 14px;
                border-radius: 14px;
                border: 1px solid #daebdc;
                margin-bottom: 16px;
                font-size: 0.9rem;
            }

            

            .cfca-editor-hero {
                display:flex;
                align-items:center;
                justify-content:space-between;
                gap:18px;
                padding: 22px 24px;
                background: linear-gradient(135deg, var(--cfca-color, #2e7d32) 0%, #184d27 100%);
                color:#fff;
            }

            .cfca-editor-kicker {
                display:inline-flex;
                align-items:center;
                gap:8px;
                padding:6px 12px;
                border-radius:999px;
                background:rgba(255,255,255,.16);
                color:#eaffef;
                font-size:.78rem;
                font-weight:700;
                letter-spacing:.04em;
                text-transform:uppercase;
            }

            .cfca-editor-title { font-size: clamp(1.45rem, 2vw, 2rem); color:#fff; }
            .cfca-editor-subtitle { color: rgba(255,255,255,.9); max-width: 760px; }

            .cfca-btn-primary {
                border:none;
                border-radius:999px;
                padding: 14px 22px;
                font-weight:800;
                color:#155724;
                background:#fff;
                box-shadow:0 16px 32px rgba(0,0,0,.18);
                cursor:pointer;
                transition:transform .18s ease, box-shadow .18s ease;
            }
            .cfca-btn-primary:hover { transform:translateY(-1px); box-shadow:0 20px 36px rgba(0,0,0,.22); }

            .cfca-editor-stat { position:relative; overflow:hidden; }
            .cfca-editor-stat::after {
                content:'';
                position:absolute;
                inset:auto -20px -20px auto;
                width:86px;height:86px;border-radius:50%;
                background: radial-gradient(circle, rgba(46,125,50,.14), rgba(46,125,50,0));
            }

            .cfca-section-note {
                display:flex;
                align-items:flex-start;
                gap:10px;
            }
            .cfca-section-note::before { content:'💡'; font-size:1.05rem; line-height:1.2; }

            .cfca-table th:last-child,
            .cfca-table td:last-child {
                position: sticky;
                right: 0;
                background: inherit;
            }
            .cfca-table th:last-child {
                background: var(--cfca-color, #2e7d32);
                box-shadow: -8px 0 12px rgba(16,61,33,.08);
            }
            .cfca-table td:last-child {
                min-width: 250px;
                box-shadow: -8px 0 12px rgba(16,61,33,.04);
            }
            .cfca-pagination--top {
                position: sticky;
                top: 0;
                z-index: 3;
                border: 1px solid #dceadc;
                border-radius: 14px 14px 0 0;
                margin-top: 10px;
                margin-bottom: 0;
            }

            .cfca-fila-evento.is-hidden-row { opacity:.82; }
            .cfca-fila-evento.is-hidden-row td { background: linear-gradient(180deg,#fff8f8 0%, #fff 100%); }
            .cfca-fila-evento.is-finished-row td { background: linear-gradient(180deg,#f8faf8 0%, #fff 100%); }

            .cfca-pagination {
                display:flex;
                justify-content:center;
                gap:8px;
                padding:14px 16px;
                background:linear-gradient(180deg,#fcfefc 0%, #f5faf5 100%);
                position: sticky;
                bottom: 0;
                z-index: 2;
            }
            .cfca-pagination button {
                min-width:40px;
                height:40px;
                border-radius:12px;
                border:1px solid #d7ead8;
                background:#fff;
                color:#1e5f2d;
                font-weight:700;
                cursor:pointer;
                transition:all .18s ease;
            }
            .cfca-pagination button[disabled] { opacity:.45; cursor:not-allowed; }
            .cfca-pagination button:hover,
            .cfca-pagination button.active {
                transform:translateY(-1px);
                background:var(--cfca-color, #2e7d32);
                color:#fff;
                border-color:var(--cfca-color, #2e7d32);
                box-shadow:0 10px 20px rgba(46,125,50,.18);
            }

            @media (max-width: 900px) {
                .cfca-editor-hero { flex-direction:column; align-items:flex-start; }
                .cfca-table th:last-child,
                .cfca-table td:last-child { position: static; box-shadow:none; }
            }


            @media (max-width: 900px) {
                .cfca-editor-meta { grid-template-columns: 1fr; }
                .cfca-form-actions-bottom { align-items: stretch; }
                .cfca-form-actions-right { width: 100%; }
                .cfca-form-actions-right > * { flex: 1 1 auto; }
            }
            
            .cfca-field {
                margin-bottom: 15px;
            }
            
            .cfca-field label {
                display: block;
                font-weight: 600;
                margin-bottom: 8px;
                color: #2c3e50;
            }
            
            .cfca-field input,
            .cfca-field select,
            .cfca-field textarea {
                width: 100%;
                padding: 12px 15px;
                border: 2px solid #c8e6c9;
                border-radius: 12px;
                font-size: 0.95rem;
                transition: all 0.3s;
            }
            
            .cfca-field input:focus,
            .cfca-field select:focus,
            .cfca-field textarea:focus {
                border-color: var(--cfca-color, #2e7d32);
                box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
                outline: none;
            }
            
            .cfca-checkbox-field {
                display: flex;
                align-items: center;
                gap: 10px;
                margin-bottom: 15px;
            }
            
            .cfca-checkbox-field input {
                width: 20px;
                height: 20px;
                accent-color: var(--cfca-color, #2e7d32);
            }
            
            .cfca-liga-selector {
                background: #f8fdfa;
                padding: 20px;
                border-radius: 12px;
                margin-bottom: 20px;
                border-left: 4px solid var(--cfca-color, #2e7d32);
            }
            
            .cfca-save-btn {
                background: linear-gradient(135deg, var(--cfca-color, #2e7d32) 0%, #1b5e20 100%);
                color: white;
                border: none;
                padding: 15px 40px;
                border-radius: 50px;
                font-weight: 600;
                font-size: 1.1rem;
                cursor: pointer;
                box-shadow: 0 4px 15px rgba(46,125,50,0.3);
                transition: all 0.3s;
            }
            
            .cfca-save-btn:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(46,125,50,0.4);
            }
            
            .cfca-cancel-btn {
                background: white;
                color: var(--cfca-color, #2e7d32);
                border: 2px solid var(--cfca-color, #2e7d32);
                padding: 15px 40px;
                border-radius: 50px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s;
            }
            
            .cfca-cancel-btn:hover {
                background: var(--cfca-color, #2e7d32);
                color: white;
            }
            
            .cfca-table-container {
                margin-top: 30px;
                background: white;
                border-radius: 12px;
                overflow: hidden;
                border: 2px solid #c8e6c9;
            }
            
            .cfca-table {
                width: 100%;
                min-width: 1180px;
                border-collapse: collapse;
            }
            
            .cfca-table th {
                background: var(--cfca-color, #2e7d32);
                color: white;
                padding: 15px;
                text-align: left;
            }
            
            .cfca-table td {
                padding: 10px 12px;
                border-bottom: 1px solid #e8f5e9;
                vertical-align: middle;
            }
            
            .cfca-table tr:hover {
                background: #f1f8e9;
            }
            
            .cfca-action-btn {
                padding: 8px 16px;
                border-radius: 40px;
                cursor: pointer;
                transition: all 0.2s;
                margin: 0 3px;
                border: 2px solid;
                background: white;
            }
            
            .cfca-action-btn.edit {
                color: var(--cfca-color, #2e7d32);
                border-color: #a5d6a7;
            }
            
            .cfca-action-btn.edit:hover {
                background: var(--cfca-color, #2e7d32);
                color: white;
            }
            
            .cfca-action-btn.delete {
                color: #c62828;
                border-color: #ef9a9a;
            }
            
            .cfca-action-btn.delete:hover {
                background: #c62828;
                color: white;
            }
            
            .cfca-pagination {
                display: flex;
                justify-content: center;
                gap: 8px;
                padding: 25px;
                background: #fafdfa;
            }
            
            .cfca-selector-dinamico {
                width: 100%;
                padding: 12px 15px;
                border: 2px solid #c8e6c9;
                border-radius: 12px;
                font-size: 0.95rem;
                background: white;
                cursor: pointer;
                margin-bottom: 8px;
            }
            
            .cfca-selector-dinamico:focus {
                border-color: var(--cfca-color, #2e7d32);
                outline: none;
                box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
            }
            
            .cfca-toast {
                position: fixed;
                bottom: 30px;
                right: 30px;
                background: linear-gradient(135deg, var(--cfca-color, #2e7d32) 0%, #1b5e20 100%);
                color: white;
                padding: 16px 30px;
                border-radius: 60px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.3);
                display: none;
                z-index: 10002;
                font-weight: 500;
                animation: slideIn 0.3s;
            }
            
            .cfca-toast.error {
                background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
            }
            
            @keyframes slideIn {
                from {
                    transform: translateX(100%);
                    opacity: 0;
                }
                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }

            .cfca-btn-primary{padding:12px 30px;background:#ffffff;color:#2e7d32;border:none;border-radius:50px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(46,125,50,.12);} 
            .cfca-btn-primary:hover{transform:translateY(-1px);} 
            .cfca-card{background:#fff;border:1px solid #d8ead9;border-radius:16px;padding:18px;box-shadow:0 6px 18px rgba(0,0,0,.04);margin-bottom:18px;} 
            .cfca-card-header h3{margin:0 0 6px;color:#2e7d32;} 
            .cfca-card-header p{margin:0 0 14px;color:#5f6f63;font-size:.92rem;} 
            .cfca-select-lg{min-height:48px;font-size:15px;} 
            .cfca-inline-actions{margin-top:12px;display:flex;justify-content:flex-end;} 
            .cfca-input-with-action{display:flex;gap:10px;margin-bottom:8px;} 
            .cfca-input-with-action .cfca-select{flex:1;} 
            .cfca-btn-add{min-width:46px;height:46px;border:none;border-radius:12px;background:#2e7d32;color:#fff;cursor:pointer;font-size:18px;font-weight:700;} 
            .cfca-check-stack{display:flex;flex-direction:column;gap:12px;} 
            .cfca-checkbox-line{display:flex;align-items:center;gap:10px;font-weight:600;color:#355b39;} 
            .cfca-form-actions-top{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:16px;border-top:1px solid #e3efe4;} 
            .cfca-form-actions-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;padding-top:16px;border-top:1px solid #e3efe4;} 
            .cfca-form-actions-right{display:flex;gap:12px;flex-wrap:wrap;} 
.cfca-editor-tab[data-tab="clasificacion"],#tab-clasificacion{display:none!important}
.cfca-event-status-pill{display:none!important}
.cfca-info-card .cfca-inner-grid{align-items:stretch}

/* CFCA 10.3.3 · Competiciones: solo detalles técnicos, sin duplicar datos generales */
#cfca-editor-root .tab-content{padding:22px 24px!important;}
#cfca-editor-root .cfca-tab-content-title{margin:0 0 12px!important;font-size:1.35rem!important;line-height:1.2!important;}
#cfca-editor-root .cfca-inline-help{margin:0 0 14px!important;padding:10px 12px!important;border-radius:12px!important;font-size:.9rem!important;line-height:1.35!important;}
#cfca-editor-root .cfca-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
#cfca-editor-root .cfca-input,#cfca-editor-root .cfca-select{min-height:46px!important;height:46px!important;border-radius:12px!important;padding:9px 12px!important;font-size:.95rem!important;text-align:left!important;text-align-last:left!important;}
#cfca-editor-root .cfca-field>label{font-size:.84rem!important;margin-bottom:6px!important;}

#tab-competiciones .cfca-competitions-editor{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
#tab-competiciones .cfca-competitions-head{background:#f6fbf7!important;border:1px solid #d7eadb!important;border-radius:16px!important;padding:12px 14px!important;margin-bottom:14px!important;}
#tab-competiciones .cfca-competitions-head .cfca-btn-primary{min-height:42px!important;padding:8px 16px!important;border-radius:12px!important;white-space:nowrap!important;}
#tab-competiciones .cfca-competitions-list{gap:14px!important;}
#tab-competiciones .cfca-competition-row{background:#fff!important;border:1px solid #d5e8da!important;border-radius:18px!important;padding:0!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(15,81,50,.07)!important;}
#tab-competiciones .cfca-competition-row-head{margin:0!important;padding:11px 14px!important;background:linear-gradient(90deg,#f5fbf6,#eef8f1)!important;border-bottom:1px solid #e0eee4!important;}
#tab-competiciones .cfca-comp-title-wrap{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
#tab-competiciones .cfca-comp-number{display:inline-flex!important;width:30px!important;height:30px!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;background:#1f7a43!important;color:#fff!important;font-weight:900!important;font-size:.82rem!important;flex:0 0 auto!important;}
#tab-competiciones .cfca-comp-title-text{display:flex!important;flex-direction:column!important;min-width:0!important;}
#tab-competiciones .cfca-comp-title-text strong{font-size:.95rem!important;line-height:1.1!important;color:#173d27!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#tab-competiciones .cfca-comp-title-text small{font-size:.74rem!important;color:#6a7f71!important;font-weight:700!important;margin-top:3px!important;}
#tab-competiciones .cfca-comp-actions{display:flex!important;gap:7px!important;align-items:center!important;}
#tab-competiciones .cfca-comp-actions button{min-height:34px!important;height:34px!important;padding:5px 10px!important;border-radius:10px!important;font-size:.78rem!important;line-height:1!important;}
#tab-competiciones .cfca-remove-competition{border-color:#dc6b6b!important;color:#a11f1f!important;}
#tab-competiciones .cfca-remove-competition:hover{background:#fff0f0!important;}
#tab-competiciones .cfca-competition-body{padding:14px!important;}
#tab-competiciones .cfca-competition-row.is-collapsed .cfca-competition-body{display:none!important;}
#tab-competiciones .cfca-competition-row.is-collapsed .cfca-competition-row-head{border-bottom:0!important;}
#tab-competiciones .cfca-competition-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px 12px!important;align-items:end!important;}
#tab-competiciones .cfca-competition-grid label{display:flex!important;flex-direction:column!important;gap:5px!important;color:#234a33!important;font-size:.78rem!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important;min-width:0!important;}
#tab-competiciones .cfca-competition-grid label.wide{grid-column:1/-1!important;}
#tab-competiciones .cfca-competition-grid .cfca-input,#tab-competiciones .cfca-competition-grid .cfca-select{width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;border:1px solid #cfe4d4!important;border-radius:11px!important;background:#fff!important;padding:8px 11px!important;font-size:.92rem!important;box-shadow:none!important;}
#tab-competiciones .cfca-competition-grid .cfca-input:focus,#tab-competiciones .cfca-competition-grid .cfca-select:focus{border-color:#2e7d32!important;box-shadow:0 0 0 3px rgba(46,125,50,.09)!important;outline:0!important;}
#tab-competiciones .cfca-comp-section{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;margin:5px 0 -1px!important;color:#1f6d3d!important;font-size:.76rem!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.055em!important;}
#tab-competiciones .cfca-comp-section:after{content:"";height:1px;background:#e4efe6;flex:1;}
#tab-competiciones .cfca-comp-status-chip{display:inline-flex!important;align-items:center!important;padding:3px 7px!important;border-radius:999px!important;background:#e7f5eb!important;color:#25643a!important;font-size:.7rem!important;font-weight:850!important;}
#tab-basico .cfca-comp-section{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:8px!important;margin:8px 0 0!important;color:#1f6d3d!important;font-size:.78rem!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important}#tab-basico .cfca-comp-section:after{content:"";height:1px;background:#e4efe6;flex:1}
#tab-competiciones .cfca-comp-agenda.wide{grid-column:1/-1!important}
#tab-competiciones .cfca-comp-agenda{border:1px solid #d9eadf;border-radius:14px;background:#f9fcfa;padding:12px!important}
#tab-competiciones .cfca-comp-agenda-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#tab-competiciones .cfca-comp-agenda-head>div:first-child{display:flex;flex-direction:column;gap:2px}
#tab-competiciones .cfca-comp-agenda-head strong{color:#174d2d;font-size:.86rem}
#tab-competiciones .cfca-comp-agenda-head small{color:#6b7f72;font-size:.72rem;font-weight:600}
#tab-competiciones .cfca-comp-agenda-head>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
#tab-competiciones .cfca-comp-ronda-row{display:grid;grid-template-columns:90px 1fr .75fr 1.7fr;gap:8px;align-items:end;padding:8px 0;border-top:1px solid #e5efe8}
#tab-competiciones .cfca-comp-ronda-row:first-child{border-top:0}
#tab-competiciones .cfca-comp-ronda-row label{font-size:.7rem!important}
#tab-competiciones .cfca-comp-ronda-row input{min-height:40px!important;height:40px!important;border:1px solid #d2e4d7!important;border-radius:9px!important;padding:6px 8px!important;background:#fff!important}
#tab-competiciones .cfca-comp-agenda-empty{padding:13px;text-align:center;color:#708178;border:1px dashed #cfdfd3;border-radius:10px;background:#fff}
@media(max-width:900px){#tab-competiciones .cfca-comp-ronda-row{grid-template-columns:80px 1fr 1fr}.cfca-comp-ronda-row label:last-child{grid-column:2/-1}}
@media(max-width:620px){#tab-competiciones .cfca-comp-agenda-head{align-items:stretch;flex-direction:column}#tab-competiciones .cfca-comp-ronda-row{grid-template-columns:1fr}.cfca-comp-ronda-row label:last-child{grid-column:auto}}


/* CFCA 10.5.3 · Validación general limpia y reglas solo por competición */
#tab-competiciones .cfca-comp-participacion .cfca-select{font-weight:900!important;background:#f2faf4!important;border-color:#9dccaa!important;color:#154d2a!important}
#tab-competiciones .cfca-team-tech{grid-column:1/-1;display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px;border:1px dashed #b9d7c2;border-radius:12px;background:#f7fbf8}
#tab-competiciones .cfca-team-tech.is-visible{display:grid}
#tab-competiciones .cfca-comp-custom-field{display:none!important;margin-top:6px!important}
#tab-competiciones .cfca-comp-custom-field.is-visible{display:block!important}
#tab-competiciones .cfca-comp-tech-summary{grid-column:1/-1;display:flex;gap:8px;align-items:center;padding:9px 11px;border-radius:10px;background:#f3f8f4;border:1px solid #d9e8dc;color:#4c6655}
#tab-competiciones .cfca-comp-tech-summary small{font-size:.72rem;font-weight:650}
#tab-competiciones .cfca-comp-validation-preview{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center;padding:10px 12px;border:1px solid #cfe3d4;border-radius:11px;background:#f7fcf8;color:#31543c;font-size:.76rem}
#tab-competiciones .cfca-comp-validation-preview strong{color:#176338}
#tab-competiciones .cfca-comp-validation-preview span{font-weight:700}
#tab-competiciones .cfca-team-tech label{margin:0!important}
#tab-competiciones .cfca-comp-agenda-tools{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
#tab-competiciones .cfca-comp-time-tool{display:inline-flex;gap:6px;align-items:center;padding:3px 4px 3px 7px;border:1px solid #d5e5d9;border-radius:10px;background:#fff}
#tab-competiciones .cfca-comp-time-tool input{width:100px;min-height:32px!important;height:32px!important;border:0!important;padding:2px 4px!important;box-shadow:none!important}
#tab-competiciones .cfca-comp-time-tool .button{margin:0!important}
@media(max-width:720px){#tab-competiciones .cfca-team-tech{grid-template-columns:1fr}#tab-competiciones .cfca-comp-agenda-tools{justify-content:stretch}#tab-competiciones .cfca-comp-agenda-tools>.button,#tab-competiciones .cfca-comp-time-tool{width:100%}#tab-competiciones .cfca-comp-time-tool input{flex:1}}

#tab-competiciones .cfca-competitions-empty{padding:28px 18px!important;}
@media(max-width:1100px){#cfca-editor-root .cfca-form-grid,#tab-competiciones .cfca-competition-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:720px){#cfca-editor-root .tab-content{padding:16px 12px!important;}#cfca-editor-root .cfca-form-grid,#tab-competiciones .cfca-competition-grid{grid-template-columns:1fr!important;}#tab-competiciones .cfca-competition-row-head{align-items:flex-start!important;flex-direction:column!important;}#tab-competiciones .cfca-comp-actions{width:100%!important;flex-wrap:wrap!important;}#tab-competiciones .cfca-comp-actions button{flex:1!important;}#tab-competiciones .cfca-competitions-head{align-items:stretch!important;}#tab-competiciones .cfca-competitions-head .cfca-btn-primary{width:100%!important;}}

/* CFCA 10.5.0 · Básico + fechas generales del evento */
#tab-basico .cfca-date-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #cfe4d4;background:#f6fbf7;border-radius:14px;color:#234a33;font-weight:800;}
#tab-basico .cfca-date-summary small{font-weight:600;color:#66806e;}
#edit-duracion[readonly]{background:#f3f7f4!important;color:#31543b!important;font-weight:800!important;cursor:default!important;}
@media(max-width:720px){#tab-basico .cfca-date-summary{align-items:flex-start;flex-direction:column}}

/* =========================================================
   Editor 10.6.0 · capa compacta y mantenible
   ========================================================= */
#cfca-editor-root{
    --cfca-color:#2e7d32;
    --cfca-field-h:40px;
    --cfca-radius:10px;
}
#cfca-editor-root .cfca-editor-shell{
    border-radius:16px!important;
    box-shadow:0 12px 28px rgba(18,61,33,.08)!important;
}
#cfca-editor-root .cfca-editor-header,
#cfca-editor-root .cfca-editor-hero{
    padding:14px 18px!important;
}
#cfca-editor-root .cfca-editor-title{
    font-size:1.35rem!important;
    line-height:1.15!important;
}
#cfca-editor-root .cfca-editor-subtitle{
    margin-top:3px!important;
    font-size:.82rem!important;
}
#cfca-editor-root .cfca-btn-primary,
#cfca-editor-root .cfca-save-btn,
#cfca-editor-root .cfca-cancel-btn{
    min-height:38px!important;
    padding:8px 14px!important;
    border-radius:9px!important;
    box-shadow:none!important;
    font-size:.84rem!important;
}
#cfca-editor-root .cfca-editor-tabs{
    gap:5px!important;
    padding:7px 10px!important;
}
#cfca-editor-root .cfca-editor-tab{
    padding:7px 11px!important;
    border-width:1px!important;
    border-radius:9px!important;
    box-shadow:none!important;
    font-size:.79rem!important;
}
#cfca-editor-root .cfca-form-panel,
#cfca-editor-root .tab-content{
    padding:13px!important;
}
#cfca-editor-root .cfca-field-group{
    padding:11px!important;
    margin-bottom:10px!important;
    border-radius:11px!important;
    border-left-width:3px!important;
}
#cfca-editor-root .cfca-field{
    margin-bottom:8px!important;
}
#cfca-editor-root .cfca-field label,
#tab-competiciones .cfca-competition-grid label{
    margin-bottom:3px!important;
    gap:3px!important;
    font-size:.74rem!important;
}
#cfca-editor-root .cfca-form-grid,
#cfca-editor-root .cfca-field-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px 9px!important;
    margin-bottom:8px!important;
}
#cfca-editor-root .cfca-input,
#cfca-editor-root .cfca-select,
#cfca-editor-root .cfca-selector-dinamico,
#cfca-editor-root .cfca-field input,
#cfca-editor-root .cfca-field select{
    min-height:var(--cfca-field-h)!important;
    height:var(--cfca-field-h)!important;
    padding:6px 9px!important;
    border-width:1px!important;
    border-radius:8px!important;
    font-size:.84rem!important;
}
#cfca-editor-root textarea{
    height:auto!important;
    min-height:70px!important;
}
#cfca-editor-root .cfca-editor-meta{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    margin:6px 0!important;
}
#cfca-editor-root .cfca-editor-stat{
    padding:7px 10px!important;
    border-radius:10px!important;
    box-shadow:none!important;
}
#cfca-editor-root .cfca-editor-stat strong{font-size:1.15rem!important;}
#cfca-editor-root .cfca-editor-stat span{font-size:.72rem!important;}

/* =====================================================
   CFCA 10.6.5 · BARRA ÚNICA DE BÚSQUEDA Y FILTROS
   Buscador + Ocultos + Finalizados + atajos + estadísticas
   ===================================================== */

#cfca-editor-root .cfca-editor-list-tools{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    margin:7px 0 8px!important;
    padding:6px 8px!important;
    border:1px solid #dce9df!important;
    border-radius:10px!important;
    background:#f8fbf9!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}

/* BUSCADOR: vive en la misma barra y ya no puede quedar bajo la cabecera */
#cfca-editor-root .cfca-editor-list-tools .cfca-search-wrapper{
    position:relative!important;
    top:auto!important;
    z-index:auto!important;
    flex:1 1 340px!important;
    width:auto!important;
    max-width:none!important;
    min-width:220px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

#cfca-editor-root .cfca-editor-list-tools .cfca-search-icon{
    position:absolute!important;
    left:11px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    pointer-events:none!important;
    font-size:.84rem!important;
    opacity:.70!important;
}

#cfca-editor-root .cfca-editor-list-tools .cfca-search-input{
    width:100%!important;
    height:34px!important;
    min-height:34px!important;
    box-sizing:border-box!important;
    padding:6px 10px 6px 34px!important;
    border:1px solid #cbded0!important;
    border-radius:8px!important;
    background:#fff!important;
    font-size:.80rem!important;
    color:#243c2d!important;
    text-align:left!important;
    box-shadow:none!important;
    outline:none!important;
}

#cfca-editor-root .cfca-editor-list-tools .cfca-search-input::placeholder{
    color:#708078!important;
    opacity:1!important;
}

#cfca-editor-root .cfca-editor-list-tools .cfca-search-input:focus{
    border-color:var(--cfca-color,#2e7d32)!important;
    box-shadow:0 0 0 3px rgba(46,125,50,.08)!important;
}

/* Todo lo demás continúa en la misma horizontal */
#cfca-editor-root .cfca-editor-list-tools .cfca-editor-toolbar{
    flex:0 1 auto!important;
    min-width:0!important;
    min-height:34px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    flex-wrap:nowrap!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
}

#cfca-editor-root .cfca-editor-filter-row{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    flex-wrap:nowrap!important;
    margin:0!important;
    min-width:0!important;
}

#cfca-editor-root .cfca-filter-chip{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    min-height:28px!important;
    height:28px!important;
    padding:0 7px!important;
    margin:0!important;
    border:1px solid #d5e5da!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#1f5f2f!important;
    font-size:.72rem!important;
    line-height:1!important;
    font-weight:600!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
}

#cfca-editor-root .cfca-filter-chip input{margin:0!important;}

#cfca-editor-root .cfca-toolbar-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid #d5e5da!important;
    border-radius:7px!important;
    background:#fff!important;
    cursor:pointer!important;
    box-sizing:border-box!important;
}

/* Ayuda informativa mínima: reemplaza el texto editorial largo */
#cfca-editor-root .cfca-editor-shortcuts{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    color:#6a786f!important;
    font-size:.66rem!important;
    line-height:1!important;
    white-space:nowrap!important;
    padding:0 2px!important;
}
#cfca-editor-root .cfca-editor-shortcuts kbd{
    display:inline-flex!important;
    align-items:center!important;
    height:22px!important;
    padding:0 5px!important;
    border:1px solid #d6e3d9!important;
    border-bottom-color:#c5d4c9!important;
    border-radius:5px!important;
    background:#fff!important;
    color:#34513c!important;
    font:600 .62rem/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    box-shadow:0 1px 0 rgba(20,60,30,.05)!important;
}

#cfca-editor-root .cfca-editor-filter-row--stats{
    margin-left:0!important;
}

#cfca-editor-root .cfca-mini-stat{
    display:inline-flex!important;
    align-items:center!important;
    gap:3px!important;
    min-height:28px!important;
    height:28px!important;
    padding:0 6px!important;
    margin:0!important;
    border:0!important;
    border-radius:7px!important;
    background:#edf6ef!important;
    color:#34513c!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
}

#cfca-editor-root .cfca-mini-stat strong{
    font-size:.80rem!important;
    color:#176536!important;
    line-height:1!important;
}

#cfca-editor-root .cfca-mini-stat small{
    font-size:.64rem!important;
    line-height:1!important;
}

/* Se elimina visualmente cualquier nota editorial heredada si queda cacheada */
#cfca-editor-root .cfca-section-note{display:none!important;}

#cfca-editor-root .cfca-table-container{
    margin-top:5px!important;
    border-radius:10px!important;
    box-shadow:none!important;
}

/* En portátil se mantiene una sola línea mientras haya espacio. */
@media(max-width:1100px){
    #cfca-editor-root .cfca-editor-shortcuts{display:none!important;}
}

/* Tablet: puede envolver de forma controlada, nunca solaparse con la tabla. */
@media(max-width:900px){
    #cfca-editor-root .cfca-editor-list-tools{
        flex-wrap:wrap!important;
    }
    #cfca-editor-root .cfca-editor-list-tools .cfca-search-wrapper{
        flex:1 1 100%!important;
        max-width:none!important;
    }
    #cfca-editor-root .cfca-editor-list-tools .cfca-editor-toolbar{
        flex:1 1 100%!important;
        justify-content:space-between!important;
        flex-wrap:wrap!important;
    }
    #cfca-editor-root .cfca-editor-filter-row{flex-wrap:wrap!important;}
}

@media(max-width:620px){
    #cfca-editor-root .cfca-editor-list-tools .cfca-editor-toolbar{
        align-items:flex-start!important;
        flex-direction:column!important;
    }
    #cfca-editor-root .cfca-editor-filter-row--stats{margin-left:0!important;}
}

#cfca-editor-root .cfca-table th{
    padding:8px 9px!important;
    font-size:.72rem!important;
}
#cfca-editor-root .cfca-table td{
    padding:6px 8px!important;
    font-size:.79rem!important;
}
#cfca-editor-root .cfca-table td:last-child{min-width:112px!important;}
#cfca-editor-root .cfca-action-stack{gap:4px!important;}
#cfca-editor-root .cfca-action-btn{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-width:1px!important;
    border-radius:8px!important;
    box-shadow:none!important;
    font-size:.9rem!important;
}
#tab-competiciones .cfca-competition-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px 9px!important;
}
#tab-competiciones .cfca-competition-row{
    border-radius:11px!important;
    box-shadow:none!important;
}
#tab-competiciones .cfca-competition-row-head{padding:8px 10px!important;}
#tab-competiciones .cfca-competition-body{padding:10px!important;}
#tab-competiciones .cfca-comp-ronda-row{
    grid-template-columns:74px 1fr .7fr 1.5fr!important;
    gap:6px!important;
    padding:5px 0!important;
}
@media(max-width:1180px){
    #cfca-editor-root .cfca-form-grid,
    #cfca-editor-root .cfca-field-row,
    #tab-competiciones .cfca-competition-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media(max-width:900px){
    #cfca-editor-root .cfca-form-grid,
    #cfca-editor-root .cfca-field-row,
    #tab-competiciones .cfca-competition-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    #cfca-editor-root .cfca-editor-list-tools{grid-template-columns:1fr!important;}
    #cfca-editor-root .cfca-editor-toolbar{flex-wrap:wrap!important;}
    #cfca-editor-root .cfca-editor-filter-row{flex-wrap:wrap!important;}
}
@media(max-width:620px){
    #cfca-editor-root .cfca-form-grid,
    #cfca-editor-root .cfca-field-row,
    #tab-competiciones .cfca-competition-grid,
    #cfca-editor-root .cfca-editor-meta{
        grid-template-columns:1fr!important;
    }
    #tab-competiciones .cfca-comp-ronda-row{grid-template-columns:1fr!important;}
}

/* =========================================================
   CFCA 10.6.7 · Editor más compacto + feedback de guardado
   ========================================================= */
#cfca-editor-root{
    --cfca-field-h:34px!important;
}
#cfca-editor-root #editor-form{margin-top:7px!important;}
#cfca-editor-root .cfca-editor-header,
#cfca-editor-root .cfca-editor-hero{padding:10px 14px!important;}
#cfca-editor-root .cfca-editor-kicker{font-size:.64rem!important;line-height:1!important;margin-bottom:2px!important;}
#cfca-editor-root .cfca-editor-title{font-size:1.18rem!important;line-height:1.08!important;}
#cfca-editor-root .cfca-editor-subtitle{font-size:.74rem!important;line-height:1.15!important;margin-top:2px!important;}
#cfca-editor-root .cfca-editor-tabs{gap:4px!important;padding:5px 7px!important;border-bottom-width:2px!important;}
#cfca-editor-root .cfca-editor-tab{padding:5px 8px!important;border-radius:7px!important;font-size:.70rem!important;line-height:1.05!important;}
#cfca-editor-root .cfca-form-panel{padding:8px!important;}
#cfca-editor-root .tab-content{padding:9px!important;}
#cfca-editor-root .cfca-tab-content-title,
#cfca-editor-root .tab-content>h3{margin:0 0 6px!important;font-size:1rem!important;line-height:1.15!important;}
#cfca-editor-root .cfca-inline-help{margin:0 0 7px!important;padding:6px 8px!important;border-radius:8px!important;font-size:.73rem!important;line-height:1.25!important;}
#cfca-editor-root .cfca-form-grid,
#cfca-editor-root .cfca-field-row{gap:5px 7px!important;margin-bottom:5px!important;}
#cfca-editor-root .cfca-field{margin-bottom:4px!important;}
#cfca-editor-root .cfca-field label,
#tab-competiciones .cfca-competition-grid label{margin-bottom:2px!important;font-size:.69rem!important;line-height:1.15!important;}
#cfca-editor-root .cfca-input,
#cfca-editor-root .cfca-select,
#cfca-editor-root .cfca-selector-dinamico,
#cfca-editor-root .cfca-field input,
#cfca-editor-root .cfca-field select{padding:4px 7px!important;border-radius:7px!important;font-size:.79rem!important;}
#cfca-editor-root textarea{min-height:58px!important;padding:6px 8px!important;font-size:.79rem!important;}
#cfca-editor-root .cfca-field-group{padding:8px!important;margin-bottom:6px!important;border-radius:9px!important;}
#cfca-editor-root .cfca-field-group h3{margin:0 0 6px!important;font-size:.88rem!important;}
#cfca-editor-root .cfca-check-stack{gap:5px!important;}
#cfca-editor-root .cfca-checkbox-line{padding:5px 7px!important;min-height:32px!important;font-size:.76rem!important;}
#cfca-editor-root .cfca-comp-section{margin:4px 0!important;padding:5px 7px!important;font-size:.74rem!important;}
#tab-basico .cfca-date-summary{padding:7px 9px!important;border-radius:8px!important;font-size:.76rem!important;}
#tab-basico .cfca-date-summary small{font-size:.68rem!important;}
#cfca-editor-root .cfca-form-actions-top{gap:7px!important;margin-top:8px!important;padding-top:7px!important;}
#cfca-editor-root .cfca-form-actions-bottom{
    position:sticky!important;
    bottom:0!important;
    z-index:35!important;
    gap:8px!important;
    margin-top:8px!important;
    padding:7px 8px!important;
    border-top:1px solid #dbe8de!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(8px)!important;
    box-shadow:0 -6px 16px rgba(24,74,38,.06)!important;
}
#cfca-editor-root .cfca-form-actions-left,
#cfca-editor-root .cfca-form-actions-right{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;}
#cfca-editor-root .cfca-btn-primary,
#cfca-editor-root .cfca-btn-secondary,
#cfca-editor-root .cfca-save-btn,
#cfca-editor-root .cfca-cancel-btn{min-height:34px!important;padding:6px 10px!important;border-radius:8px!important;font-size:.76rem!important;line-height:1!important;}
#cfca-editor-root .cfca-save-btn[disabled]{opacity:.72!important;cursor:wait!important;transform:none!important;}

#cfca-editor-root .cfca-save-feedback{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:30px!important;
    padding:4px 8px!important;
    border:1px solid #dce8df!important;
    border-radius:8px!important;
    background:#f7faf8!important;
    color:#64736a!important;
    font-size:.70rem!important;
    font-weight:700!important;
    line-height:1.15!important;
    white-space:nowrap!important;
}
#cfca-editor-root .cfca-save-feedback-dot{width:8px!important;height:8px!important;border-radius:50%!important;background:#9aa7a0!important;flex:0 0 8px!important;}
#cfca-editor-root .cfca-save-feedback.is-dirty{background:#fff8e7!important;border-color:#efd99b!important;color:#775c17!important;}
#cfca-editor-root .cfca-save-feedback.is-dirty .cfca-save-feedback-dot{background:#d89b25!important;}
#cfca-editor-root .cfca-save-feedback.is-saving{background:#eef5ff!important;border-color:#bdd2ef!important;color:#295e96!important;}
#cfca-editor-root .cfca-save-feedback.is-saving .cfca-save-feedback-dot{background:#2f72b7!important;animation:cfcaSavePulse .8s ease-in-out infinite alternate!important;}
#cfca-editor-root .cfca-save-feedback.is-saved{background:#edf8ef!important;border-color:#b9dfc0!important;color:#226f35!important;}
#cfca-editor-root .cfca-save-feedback.is-saved .cfca-save-feedback-dot{background:#2e8b45!important;}
#cfca-editor-root .cfca-save-feedback.is-error{background:#fff0ef!important;border-color:#efbbb6!important;color:#a22d25!important;white-space:normal!important;}
#cfca-editor-root .cfca-save-feedback.is-error .cfca-save-feedback-dot{background:#cc3b32!important;}
@keyframes cfcaSavePulse{to{opacity:.35;transform:scale(.72)}}

#cfca-editor-root .cfca-toast{
    right:18px!important;
    bottom:18px!important;
    max-width:min(390px,calc(100vw - 28px))!important;
    padding:10px 14px!important;
    border-radius:11px!important;
    font-size:.80rem!important;
    font-weight:750!important;
    line-height:1.3!important;
    box-shadow:0 12px 34px rgba(0,0,0,.20)!important;
}
#cfca-editor-root .cfca-toast.success{background:linear-gradient(135deg,#2e7d32,#1b5e20)!important;}
#cfca-editor-root .cfca-toast.error{background:linear-gradient(135deg,#d74337,#a8231c)!important;}
#cfca-editor-root .cfca-toast.info{background:linear-gradient(135deg,#356ba2,#234f7a)!important;}
#cfca-editor-root .cfca-toast.warning{background:linear-gradient(135deg,#c98b18,#a56800)!important;}

@media(max-width:760px){
    #cfca-editor-root .cfca-editor-subtitle{display:none!important;}
    #cfca-editor-root .cfca-form-actions-bottom{align-items:stretch!important;flex-direction:column!important;}
    #cfca-editor-root .cfca-form-actions-left,
    #cfca-editor-root .cfca-form-actions-right{width:100%!important;}
    #cfca-editor-root .cfca-save-feedback{flex:1 1 auto!important;white-space:normal!important;}
    #cfca-editor-root .cfca-form-actions-right>button{flex:1 1 0!important;}
}


/* Toast vive fuera de #cfca-editor-root en el HTML del shortcode. */
.cfca-toast{
    right:18px!important;
    bottom:18px!important;
    max-width:min(390px,calc(100vw - 28px))!important;
    padding:10px 14px!important;
    border-radius:11px!important;
    font-size:.80rem!important;
    font-weight:750!important;
    line-height:1.3!important;
    box-shadow:0 12px 34px rgba(0,0,0,.20)!important;
}
.cfca-toast.success{background:linear-gradient(135deg,#2e7d32,#1b5e20)!important;}
.cfca-toast.error{background:linear-gradient(135deg,#d74337,#a8231c)!important;}
.cfca-toast.info{background:linear-gradient(135deg,#356ba2,#234f7a)!important;}
.cfca-toast.warning{background:linear-gradient(135deg,#c98b18,#a56800)!important;}
