.xcp{max-width:1180px}.xcp-hero{background:linear-gradient(135deg,#111827,#26304a);color:#fff;border-radius:18px;padding:24px 28px;margin:20px 0;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 35px rgba(0,0,0,.16)}.xcp-hero h1{color:#fff;margin:0 0 7px;font-size:28px}.xcp-hero p{margin:0;color:#cbd5e1}.xcp-hero span{background:#22c55e;color:#06240f;padding:7px 12px;border-radius:999px;font-weight:700}.xcp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.xcp-card,.xcp-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.xcp-card b{display:block;color:#64748b}.xcp-card strong{display:block;font-size:34px;margin-top:10px;color:#111827}.xcp-panel{margin:18px 0}.xcp-panel h2{margin-top:0}.xcp-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 16px}.xcp-form label{font-weight:700;color:#334155}.xcp-form input,.xcp-form select,.xcp-form textarea{width:100%;max-width:none;margin-top:6px;border-radius:10px;border-color:#cbd5e1;padding:8px 10px}.xcp-form textarea{min-height:80px}.xcp-form .wide,.wide{grid-column:1/-1}.xcp-week{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.xcp-week label,.xcp-check{font-weight:500!important;background:#f8fafc;border:1px solid #e2e8f0;padding:8px 10px;border-radius:10px;display:inline-flex;gap:7px;align-items:center}.xcp .button-primary{background:#16a34a;border-color:#15803d;border-radius:8px}.xcp .button{border-radius:8px}.xcp-danger{color:#b91c1c!important;border-color:#fecaca!important}.xcp code{background:#f1f5f9;border-radius:6px;padding:3px 6px} @media(max-width:900px){.xcp-grid,.xcp-form{grid-template-columns:1fr}.xcp-hero{display:block}.xcp-hero span{display:inline-block;margin-top:12px}}
.xcp-history-note{background:#f8fafc;border-left:4px solid #16a34a;padding:12px 14px;margin:12px 0;border-radius:8px}.xcp-grid{grid-template-columns:repeat(4,1fr)}@media(max-width:1100px){.xcp-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.xcp-grid{grid-template-columns:1fr}}

/* v1.6.0 Multi-rádios */
.xcp-radio-switch{margin:12px 0 18px;padding:12px 14px;border:1px solid #dcdcde;border-radius:12px;background:#fff;display:flex;align-items:center;gap:10px;box-sizing:border-box}
.xcp-radio-switch form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;width:100%}
.xcp-radio-switch span{font-weight:700}.xcp-radio-switch select{min-width:240px;max-width:100%}

/* v1.9.2 - Aplicação das Inserções */
.xcp-application-field{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;box-sizing:border-box}
.xcp-radio-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px}
.xcp-radio-row label{display:inline-flex!important;align-items:center;gap:8px;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:9px 12px;font-weight:600!important;width:auto!important}
.xcp-radio-row input{width:auto!important;margin:0!important}
.xcp-application-field small{display:block;margin-top:8px;color:#64748b;font-weight:500}

/* v1.9.6 Dashboard Executivo */
.xcp-dash-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0 18px;padding:22px 24px;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.08)}
.xcp-dash-head h2{margin:0 0 5px;font-size:24px;line-height:1.2}.xcp-dash-head p{margin:0;color:#64748b}.xcp-dash-actions{display:flex;gap:10px;flex-wrap:wrap}.xcp-exec-grid .xcp-card small{display:block;margin-top:6px;color:#64748b;font-weight:500}.xcp-card-main{border-left:5px solid #2563eb}.xcp-dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.xcp-last-map code{font-size:13px}.xcp-last-map p{margin-top:0}
@media(max-width:900px){.xcp-dash-head{display:block}.xcp-dash-actions{margin-top:14px}.xcp-dashboard-columns{grid-template-columns:1fr}}

/* v1.9.7 Busca Global */
.xcp-search-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.xcp-search-form input[type="search"]{flex:1;min-width:260px;border-radius:10px;border:1px solid #cbd5e1;padding:10px 12px;font-size:15px}
.xcp-search-summary{margin-top:0}.xcp-search-panel p{color:#64748b;margin-bottom:0}
.xcp-panel table b{font-weight:800}
@media(max-width:700px){.xcp-search-form{display:block}.xcp-search-form input[type="search"]{width:100%;min-width:0;margin-bottom:10px}}

/* v2.1.0 Montador de Blocos */
.xcp-block-grid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:8px;margin-top:10px;max-height:320px;overflow:auto;padding:10px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:12px;box-sizing:border-box}
.xcp-block-option{display:flex!important;align-items:center;gap:7px;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:8px 10px;font-weight:600!important;width:auto!important;box-sizing:border-box}
.xcp-block-option input{width:auto!important;margin:0!important}.xcp-panel-feature{border-left:5px solid #16a34a}.xcp-week-title{font-weight:800;margin-bottom:8px;color:#334155}.xcp-week-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.xcp-day{display:inline-flex!important;align-items:center;gap:7px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:8px 10px;font-weight:600!important;width:auto!important}.xcp-day input{width:auto!important;margin:0!important}
@media(max-width:1100px){.xcp-block-grid{grid-template-columns:repeat(4,minmax(90px,1fr))}}@media(max-width:700px){.xcp-block-grid{grid-template-columns:repeat(2,minmax(90px,1fr))}}

/* v2.2.0 Editor Visual de Blocos */
.xcp-visual-builder{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-sizing:border-box}
.xcp-builder-help{color:#64748b;margin:-2px 0 12px;font-weight:500}.xcp-builder-palette{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.xcp-audio-palette{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin:10px 0}.xcp-audio-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;max-height:170px;overflow:auto}.xcp-token-sep{border-color:#86efac!important;background:#f0fdf4!important}.xcp-sequence{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-height:56px;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:12px;margin:12px 0}.xcp-sequence-empty{color:#94a3b8;font-style:italic}.xcp-chip{display:inline-flex;align-items:center;gap:8px;background:#e0f2fe;border:1px solid #7dd3fc;border-radius:999px;padding:7px 9px 7px 12px;font-weight:800;color:#0f172a}.xcp-chip-marker{background:#ecfdf5;border-color:#86efac}.xcp-chip-actions{display:inline-flex;gap:4px}.xcp-chip-actions .button-link{font-weight:900;text-decoration:none;color:#334155;line-height:1;padding:0 2px}.xcp-template-source{font-family:Consolas,Monaco,monospace;min-height:72px!important}.xcp-visual-builder .button{margin:0!important}
@media(max-width:700px){.xcp-chip{width:100%;justify-content:space-between;border-radius:12px}.xcp-builder-palette .button,.xcp-audio-buttons .button{width:100%;text-align:center}}

/* v2.2.1 - Editor Visual Drag & Drop */
.xcp-draggable-token{cursor:grab!important}.xcp-draggable-token:active{cursor:grabbing!important}.xcp-dragging-source{opacity:.55}.xcp-sequence{transition:border-color .18s ease, background .18s ease, box-shadow .18s ease}.xcp-sequence.xcp-drop-active{border-color:#16a34a;background:#f0fdf4;box-shadow:0 0 0 3px rgba(22,163,74,.12)}.xcp-chip{cursor:grab;user-select:none}.xcp-chip:active{cursor:grabbing}.xcp-chip-dragging{opacity:.45;transform:scale(.98)}.xcp-chip-text:before{content:'☰';font-size:12px;margin-right:6px;color:#64748b}.xcp-builder-palette .button:before,.xcp-audio-buttons .button:before{content:'↕ ';font-weight:900;color:#64748b}.xcp-add-custom:before{content:''!important}

/* v2.3.3 - Blocos personalizados e controle de ativação */
.xcp-block-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:14px;padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(15,23,42,.04)}
.xcp-block-control-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.xcp-block-control-grid textarea{width:100%;min-height:84px;font-family:monospace}
.xcp-block-control-grid small{font-weight:400;opacity:.8}
.xcp-block-option.xcp-custom-slot{border-style:dashed}
.xcp-block-option.xcp-disabled-slot{opacity:.55;text-decoration:line-through}
