/* Clínica · mejoras: plantillas, adjuntos, consentimiento firmado y pacientes en riesgo. Solo texto, botones de 46 px o más. */
.cm-b{min-height:46px;font-size:16px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;box-sizing:border-box}
.cm-lab{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.7;margin:4px 0 6px}
.cm-muted{color:#6f8197;font-size:14px;font-weight:400}
.cm-plant{border:1px solid #dce7f3;border-radius:12px;padding:10px 12px;background:#f7faff}
.cm-chips{display:flex;flex-wrap:wrap;gap:8px}
.cm-chip{min-height:46px;padding:0 14px;border-radius:999px;border:1.5px solid #9db3cc;background:#fff;color:inherit;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.cm-chip.on{background:#ff7a00;border-color:#ff7a00;color:#fff}
.cm-gest{margin-top:10px}
.cm-gest>summary{cursor:pointer;min-height:46px;display:flex;align-items:center;font-weight:700}
.cm-gest input,.cm-wrap input:not([type=checkbox]):not([type=file]),.cm-wrap textarea{font-size:16px;min-height:46px;width:100%;box-sizing:border-box}
.cm-wrap textarea{min-height:140px}
.cm-wrap textarea.cm-grande{min-height:240px}
.cm-wrap label{display:grid;gap:6px;font-weight:700;margin:10px 0}
.cm-wrap .cm-check{display:flex;align-items:center;gap:10px;min-height:46px}
.cm-wrap .cm-check input{width:24px;height:24px;min-height:0}
.cm-fila{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #e5edf6}
.cm-fila>div:first-child{min-width:0;flex:1 1 180px;overflow-wrap:anywhere}
.cm-acc{display:flex;gap:8px;flex-wrap:wrap}
.cm-acc .btn,.cm-acc a.btn{min-height:46px}
.cm-firma{display:block;width:100%;height:200px;border:2px dashed #7b8da3;border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}
.cm-sec{margin:16px 0 6px;font-size:16px;border-bottom:1px solid #e5edf6;padding-bottom:4px}
.cm-nivel{display:inline-block;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;background:#eaf2ff;vertical-align:middle}
.cm-nivel.alta{background:#ffe4e4;color:#8a1111}.cm-nivel.media{background:#fff0d7;color:#6b3d00}.cm-nivel.baja{background:#eaf2ff}
.cm-r{border:1px solid #dce7f3;border-radius:14px;padding:12px;margin:10px 0}
.cm-r.hecho{opacity:.65}
.cm-r ul{margin:6px 0;padding-left:18px}
.cm-thumb{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid #dce7f3;flex:none}
.cm-sube{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.cm-sube label.btn{margin:0;cursor:pointer;font-weight:700}
.cm-sube input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cm-ok{padding:10px 12px;border-radius:10px;background:#dcf8e7;color:#0d4a25;font-weight:700;margin:10px 0}
@media(max-width:560px){.cm-chip{flex:1 1 calc(50% - 8px)}}
.cm-full{width:100%}
.cm-sube label.btn{position:relative}
