/* CapaFácil App — recursos profissionais v43 */
.cf-free-text{position:absolute;min-width:24px;max-width:92%;padding:2px 6px;line-height:1.12;font-weight:800;white-space:pre-wrap;word-break:break-word;cursor:move;user-select:none;touch-action:none;text-shadow:0 1px 1px rgba(255,255,255,.22);outline:1px dashed transparent;border-radius:4px;transform-origin:center center;}
.cf-free-text.is-selected{outline:2px dashed #2563eb;background:rgba(37,99,235,.08);box-shadow:0 0 0 3px rgba(255,255,255,.82)}
.cf-calendar-hole{position:absolute;display:block;border-radius:999px;border:1.5px solid #111827;background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.7);z-index:125;pointer-events:none;transform:translate(-50%,-50%)}
#cf-pro-editor-panel{margin-top:12px;border:1px solid #dbe4ff;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:16px;padding:12px;font-family:Inter,system-ui,Arial,sans-serif;color:#111827;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.cf-pro-head{display:grid;gap:2px;margin-bottom:10px}.cf-pro-head b{font-size:13px;font-weight:950;color:#111827}.cf-pro-head small{font-size:10px;font-weight:800;color:#64748b}.cf-pro-primary{width:100%;border:0;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;padding:10px 12px;font-weight:950;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.16)}
.cf-pro-tip{margin-top:8px;border:1px dashed #93c5fd;background:#eff6ff;color:#1d4ed8;border-radius:12px;padding:8px;font-size:11px;font-weight:850}.cf-pro-controls{display:grid;gap:8px;margin-top:10px}.cf-pro-controls.is-disabled{opacity:.62}.cf-pro-panel label{display:grid;gap:5px;font-size:10px;font-weight:900;color:#475569}.cf-pro-panel input,.cf-pro-panel select,.cf-pro-panel textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#111827;padding:8px;font-size:12px;font-weight:800;outline:none}.cf-pro-panel textarea{min-height:58px;resize:vertical}.cf-pro-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cf-pro-grid3{display:grid;grid-template-columns:.7fr 1fr 1fr;gap:8px}.cf-pro-danger{border:1px solid #fecaca;border-radius:11px;background:#fff1f2;color:#b91c1c;padding:9px 10px;font-size:11px;font-weight:950;cursor:pointer}.cf-pro-danger:disabled{opacity:.5;cursor:not-allowed}.cf-pro-calendar{margin-top:10px;border:1px solid #e2e8f0;border-radius:12px;padding:9px;background:#fff}.cf-pro-calendar summary{font-size:11px;font-weight:950;color:#334155;cursor:pointer}.cf-pro-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;margin:8px 0}.cf-pro-check input{width:auto!important}
.cf-pdf-modal{position:fixed;inset:0;z-index:2147483640;background:rgba(8,10,18,.72);display:flex;align-items:center;justify-content:center;padding:16px;font-family:Inter,system-ui,Arial,sans-serif}.cf-pdf-box{width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 80px rgba(0,0,0,.32);border:1px solid #e5e7eb;color:#111827}.cf-pdf-head{padding:18px 20px;border-bottom:1px solid #eef2f7}.cf-pdf-head h2{font-size:19px;margin:0;font-weight:950}.cf-pdf-head p{margin:5px 0 0;color:#64748b;font-size:12px;font-weight:750}.cf-pdf-body{padding:18px 20px;display:grid;gap:16px}.cf-pdf-section{border:1px solid #e5e7eb;border-radius:16px;padding:14px;background:#f8fafc}.cf-pdf-section b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#334155;margin-bottom:10px}.cf-pdf-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cf-pdf-options.parts{grid-template-columns:1fr}.cf-pdf-option{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px;font-size:13px;font-weight:850;cursor:pointer}.cf-pdf-option input{accent-color:#4f46e5}.cf-pdf-custom{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.cf-pdf-custom label{display:grid;gap:5px;font-size:11px;font-weight:850;color:#475569}.cf-pdf-custom input{border:1px solid #cbd5e1;border-radius:10px;padding:8px;font-weight:850}.cf-pdf-review{background:#0f172a;color:#e2e8f0;border-radius:14px;padding:13px;font-size:12px;line-height:1.65}.cf-pdf-review strong{color:#fff}.cf-pdf-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #eef2f7}.cf-pdf-actions button{border:0;border-radius:12px;padding:11px 15px;font-size:13px;font-weight:950;cursor:pointer}.cf-pdf-cancel{background:#f1f5f9;color:#334155}.cf-pdf-confirm{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff}.cf-pdf-confirm:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.cf-pdf-options,.cf-pdf-custom{grid-template-columns:1fr}.cf-pdf-actions{flex-direction:column-reverse}.cf-pdf-actions button{width:100%}}
@media print{.cf-free-text{outline:none!important;background:transparent!important}.cf-calendar-hole{box-shadow:none!important}.cf-pro-panel,#cf-pro-editor-panel,.cf-pdf-modal{display:none!important}}

/* v44 — correções de clique e destaque do calendário */
#cf-pro-editor-panel,#cf-pro-editor-panel *{pointer-events:auto!important}
.cf-pro-calendar-highlight{margin:0 0 10px!important;border:2px solid #f59e0b!important;background:linear-gradient(135deg,#fffbeb,#fff7ed)!important;box-shadow:0 10px 24px rgba(245,158,11,.16)!important}
.cf-pro-calendar-highlight summary{color:#92400e!important;font-size:12px!important;display:flex;align-items:center;gap:6px}
.cf-pro-calendar-note{margin:8px 0;border-radius:10px;background:#fff7ed;color:#9a3412;padding:8px 9px;font-size:10px;font-weight:900;line-height:1.35}
#cf-pro-editor-panel.is-calendar-enabled .cf-pro-head{background:linear-gradient(135deg,#fffbeb,#eff6ff);border:1px solid #fde68a;border-radius:12px;padding:9px}
.cf-preset-calendar-open{width:100%;border:0;border-radius:14px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;padding:12px 13px;margin:0 0 10px;font-size:12px;font-weight:950;cursor:pointer;box-shadow:0 12px 24px rgba(239,68,68,.18);letter-spacing:.01em}
.cf-preset-calendar-open:hover{filter:brightness(1.04);transform:translateY(-1px)}
#cf-preset-panel.is-calendar-selected{border-color:#f59e0b!important;box-shadow:0 12px 30px rgba(245,158,11,.18)!important}
#cf-preset-panel.is-calendar-selected .cf-preset-header{background:linear-gradient(135deg,#fff7ed,#fffbeb)!important;border-color:#f59e0b!important}
.cf-preset-calendar-selected-note{margin-top:9px;border-radius:12px;background:#fffbeb;border:1px solid #fcd34d;color:#92400e;padding:9px 10px;font:900 11px/1.35 Inter,Arial,sans-serif}
#cf-preset-product option[value="calendario-personalizado"]{font-weight:900;color:#b45309;background:#fff7ed}
