/* Medical Center - janela independente para editar componentes */
.mc-editor{margin:12px 0 20px;padding:14px;border:1px solid #49323d;border-radius:14px;background:#18141b;color:#f7f1f4}
.mc-editor button,.mc-editor-modal button{cursor:pointer;font:inherit}
.mc-editor-alternar,.mc-editor-add{background:#381d2a;color:#ffe3eb;border:1px solid #89506a;padding:11px 15px;border-radius:10px;font-weight:700}
.mc-editor-ajuda,.mc-editor-nota{font-size:12px;color:#b8aab3;margin:10px 0;line-height:1.6}
.mc-editor-modal{position:fixed;inset:0;margin:auto;width:min(980px,calc(100vw - 24px));max-height:min(90dvh,950px);padding:0;border:1px solid #784253;border-top:3px solid #f23156;border-radius:18px;color:#f7f1f4;background:#141117;box-shadow:0 30px 100px #000b;overflow:hidden}
.mc-editor-modal::backdrop{background:#030305cf;backdrop-filter:blur(5px)}
.mc-editor-janela{display:flex;flex-direction:column;max-height:min(90dvh,950px);font-family:inherit}
.mc-editor-cabecalho{padding:18px 22px 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.mc-editor-eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#ff6683}
.mc-editor-cabecalho h2{font-size:clamp(20px,3vw,27px);margin:6px 0;color:white}
.mc-editor-fechar{background:#29212c;color:#fff;border:1px solid #624557;border-radius:9px;min-width:38px;min-height:38px}
.mc-editor-janela>.mc-editor-ajuda{margin:0;padding:0 22px 12px}
.mc-editor-corpo{padding:4px 22px 18px;overflow-y:auto;overscroll-behavior:contain}
.mc-editor-lista{display:grid;gap:10px;margin:12px 0}
.mc-editor-bloco{border:1px solid #493641;border-radius:12px;background:#231d27;padding:13px}
.mc-editor-bloco-topo{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:13px}
.mc-editor-bloco-acoes{display:flex;gap:4px}
.mc-editor-bloco-acoes button{min-width:30px;min-height:30px;color:#fff;background:#352732;border:1px solid #624659;border-radius:7px}
.mc-editor-bloco textarea{width:100%;min-height:55px;box-sizing:border-box;border:1px solid #654553;border-radius:9px;background:#141218;color:#fff;padding:11px;font:inherit;resize:vertical}
.mc-editor-menu[hidden]{display:none!important}
.mc-editor-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:10px 0;padding:12px;background:#17121a;border:1px solid #664052;border-radius:12px}
.mc-editor-menu button{padding:12px;color:white;background:#29202b;border:1px solid #624659;border-radius:8px;text-align:left}
.mc-editor-contador{display:block;margin-top:10px;text-align:right;color:#a59aa6;font-size:12px}
.mc-editor-contador.excedido,.mc-editor-erro{color:#ff6884;font-weight:700}
.mc-editor-vista{margin-top:15px;padding:18px;border:1px solid #483541;border-radius:12px;background:#100f14}
.mc-editor-vista>strong{font-size:11px;letter-spacing:1px;color:#ff7794}
.mc-editor-preview{white-space:pre-wrap;overflow-wrap:anywhere;color:#eadfe6;margin-top:12px}
.mc-editor-preview h3{color:#fff;margin:12px 0}
.mc-editor-preview p{margin:8px 0}
.mc-editor-preview hr{border:0;border-top:1px solid #6b495a;margin:14px 0}
.mc-editor-preview blockquote{margin:8px 0;padding:10px;border-left:3px solid #ed3556;background:#2a1c27}
.mc-editor-acoes{padding:16px 22px;border-top:1px solid #493441;display:flex;justify-content:flex-end;gap:10px}
.mc-editor-acoes button{border-radius:9px;padding:11px 17px;font-weight:700}
.mc-editor-cancelar{color:#fff;background:#29242b;border:1px solid #584453}
.mc-editor-guardar{color:#fff;background:linear-gradient(135deg,#f23156,#b7193b);border:1px solid #d13b59}
@media(max-width:540px){.mc-editor-cabecalho{padding:15px}.mc-editor-corpo{padding:3px 14px 12px}.mc-editor-janela>.mc-editor-ajuda{padding:0 15px 10px}.mc-editor-acoes{padding:12px}.mc-editor-bloco-topo{align-items:flex-start}.mc-editor-acoes button{flex:1}}
@media(prefers-reduced-motion:reduce){.mc-editor-modal::backdrop{backdrop-filter:none}}

/* Apenas o editor visual visível; campos técnicos preenchidos automaticamente. */
#eventos-form.mc-editor-unico #eventos-titulo,
#eventos-form.mc-editor-unico #eventos-descricao,
#anuncios-form.mc-editor-unico #anuncios-titulo,
#anuncios-form.mc-editor-unico #anuncios-conteudo { position:absolute!important; width:1px!important; height:1px!important; opacity:0!important; pointer-events:none!important; overflow:hidden!important; clip-path:inset(50%)!important; }
#eventos-form.mc-editor-unico label[for="eventos-titulo"],
#eventos-form.mc-editor-unico label[for="eventos-descricao"],
#anuncios-form.mc-editor-unico label[for="anuncios-titulo"],
#anuncios-form.mc-editor-unico label[for="anuncios-conteudo"] { display:none!important; }
.mc-componentes-publicados{display:grid;gap:14px;margin:14px 0 26px;overflow-wrap:anywhere;white-space:pre-wrap}
.mc-componentes-publicados h3{margin:0;font-size:clamp(17px,2vw,22px);color:#fff}
.mc-componentes-publicados p{margin:0;line-height:1.7}
.mc-componentes-publicados hr{width:100%;border:0;border-top:1px solid #70505a;margin:6px 0}
.mc-componentes-publicados blockquote{margin:0;padding:14px;border-left:3px solid #ef3152;background:#2b1c24;border-radius:5px}
.mc-componentes-publicados a{color:#ff869c;text-decoration:underline}
