@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}html,body,app-root{width:100%;min-height:100%}:root{--color-navy: #07111f;--color-primary: #2563eb;--color-primary-dark: #1d4ed8;--color-patient: #0f766e;--color-doctor: #0b1d36;--color-admin: #4f46e5;--color-surface: #f5f8fc;--color-text: #0f172a;--color-muted: #64748b}body{font-family:Inter,system-ui,sans-serif;color:var(--color-text);background:var(--color-surface);min-height:100vh}a{text-decoration:none;color:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.25rem;border:none;border-radius:10px;font-weight:600;cursor:pointer;font-size:.95rem;transition:opacity .2s}.btn:hover{opacity:.9}.btn:disabled{opacity:.5;cursor:not-allowed}.input{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.95rem}.input:focus{outline:2px solid #3b82f6;border-color:transparent}.card{background:#fff;border-radius:16px;box-shadow:0 4px 24px #00000014;padding:2rem}.error-msg{color:#dc2626;font-size:.875rem;margin-top:.5rem}.info-msg{color:#0369a1;background:#e0f2fe;padding:.65rem .85rem;border-radius:8px;font-size:.875rem;margin-top:.5rem;font-weight:500}.portal-layout{min-height:100vh;display:flex;flex-direction:column}.portal-layout.with-sidebar{flex-direction:row!important;align-items:stretch;width:100%}.portal-layout.with-sidebar app-portal-sidebar{flex-shrink:0}.portal-layout.with-sidebar .portal-main{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.portal-header{background:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #00000014;overflow:visible}.portal-header h1{font-size:1.25rem;margin:0}.portal-header .header-main{flex:1;min-width:12rem}.session-guard{display:block;font-size:.75rem;color:#64748b;margin-top:.15rem}.portal-content{flex:1;padding:clamp(1rem,2.5vw,2.25rem);max-width:1280px;margin:0 auto;width:100%}table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000f}th,td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #f1f5f9}th{background:#f8fafc;font-weight:600;font-size:.85rem}.badge{display:inline-block;padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge-pendiente{background:#fef3c7;color:#92400e}.badge-aceptada{background:#d1fae5;color:#065f46}.badge-rechazada{background:#fee2e2;color:#991b1b}.badge-cancelada{background:#f1f5f9;color:#475569}@media(max-width:768px){.portal-content{padding:1rem}table{font-size:.85rem}}.ai-panel{display:block;margin-top:1rem}.ai-panel .input.big{min-height:120px}.ai-panel h3{margin:1.25rem 0 .5rem;color:#0f172a;font-size:1.05rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-grid .full{grid-column:1 / -1}.check-row{display:flex;align-items:flex-start;gap:.7rem;width:100%;font-size:.9rem;line-height:1.45;cursor:pointer}.check-row input{flex:0 0 auto;width:1.1rem;height:1.1rem;margin:.1rem 0 0}@media(max-width:640px){.form-grid{grid-template-columns:1fr}}.ai-result{margin-top:1.75rem;padding:1.5rem;border-radius:14px;background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #d1fae5}.ai-result ul{padding-left:1.25rem;margin:.25rem 0 .75rem}.ai-result ul li{margin:.25rem 0}.ai-result p{margin:.4rem 0;line-height:1.55}.ai-result .reco{background:#fff;padding:.9rem 1rem;border-radius:10px;border-left:4px solid #10b981;margin-top:.75rem}.severity-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px dashed #94a3b8}.severity-chip{color:#fff;font-weight:700;padding:.4rem .85rem;border-radius:999px;font-size:.85rem;letter-spacing:.2px}.bg-red{background:#dc2626}.bg-orange{background:#ea580c;color:#fff}.bg-yellow{background:#ca8a04;color:#fff}.bg-green{background:#16a34a}.bg-blue{background:#2563eb}.chip-outline{border:1.5px solid #cbd5e1;background:#fff;padding:.35rem .75rem;border-radius:999px;font-size:.8rem;color:#334155;font-weight:600}.chip-outline.demo{border-color:#f59e0b;color:#b45309;background:#fffbeb}.warn-big{background:#fff7ed;color:#9a3412;padding:.85rem 1rem;border-radius:10px;font-size:.92rem;border-left:4px solid #fb923c}.alerta-card{margin:.75rem 0;padding:1rem 1.1rem;border-radius:12px;background:#fff;border-left:6px solid #334155;box-shadow:0 2px 6px #0000000a}.alerta-card.bg-red{border-left-color:#dc2626}.alerta-card.bg-orange{border-left-color:#ea580c}.alerta-card.bg-yellow{border-left-color:#ca8a04}.alerta-card.bg-green{border-left-color:#16a34a}.alerta-card.bg-blue{border-left-color:#2563eb}.alerta-head{font-size:.9rem;margin-bottom:.3rem}.alerta-head em{font-weight:600;color:#0369a1;font-style:normal}.alerta-head .sev{font-weight:800;margin-left:.4rem;text-transform:uppercase;letter-spacing:.5px;font-size:.72rem}.alerta-card p{margin:.25rem 0;font-size:.9rem}.price-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin:1rem 0}.price-row>div{background:#fff;padding:.9rem;border-radius:10px;text-align:center;box-shadow:0 1px 3px #0000000f}.price-row strong{display:block;font-size:.75rem;color:#64748b;text-transform:uppercase;margin-bottom:.35rem}@media(max-width:600px){.price-row{grid-template-columns:1fr}}.claves-panel{display:flex;flex-direction:column;gap:1.35rem}.claves-head{display:flex;flex-direction:column;gap:.55rem}.claves-head .section-title,.claves-head .hint{margin:0}.clave-box{display:flex;flex-direction:column;gap:.7rem;background:#fff;border-radius:18px;padding:1.25rem 1.35rem;box-shadow:0 10px 28px #7c3aed14}.clave-box label{font-size:.9rem;font-weight:600;color:#3b1d6e}.clave-row{display:flex;align-items:center;gap:.85rem}.clave-row .input{flex:1;min-width:0}.clave-row .btn{flex-shrink:0}.clave-result{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:16px;padding:1.1rem 1.25rem}.clave-result strong{color:#065f46}.clave-result p{margin:0;color:#166534}.clave-result code{font-size:1.15rem;font-weight:700;letter-spacing:.04em;background:#fff;color:#064e3b;padding:.55rem .8rem;border-radius:10px}.table-wrap{margin-top:.35rem}.edit-usuario{width:100%;background:#fff;border-radius:22px;padding:1.45rem 1.55rem 1.35rem;box-shadow:0 16px 40px #5b21b614;border:1px solid #efe7ff}.edit-head{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1.15rem}.edit-head h2{margin:0;color:#2e1065;letter-spacing:-.02em}.edit-head .hint{margin:0;max-width:62rem}.edit-secciones{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.edit-bloque{background:linear-gradient(180deg,#fcfbff,#f7f4ff);border:1px solid #ebe4ff;border-radius:16px;padding:1rem 1.05rem 1.1rem}.edit-bloque.ancho{grid-column:1 / -1}.edit-bloque h3{margin:0 0 .85rem;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:#6d28d9}.edit-campos{display:grid;grid-template-columns:1fr 1fr;gap:.85rem 1rem}.edit-campos.cuatro{grid-template-columns:repeat(4,minmax(0,1fr))}.edit-campos label{display:flex;flex-direction:column;gap:.32rem;min-width:0;font-size:.82rem;font-weight:650;color:#3b1d6e}.edit-campos .span-2{grid-column:span 2}.edit-usuario select.input{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236d28d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:1rem;padding-right:2.2rem}.edit-usuario .input:focus{outline:2px solid #c4b5fd;border-color:transparent}.campo-ayuda{font-weight:500;color:#64748b;font-size:.75rem;line-height:1.35}.campo-ayuda.campo-mal{color:#b91c1c}.clave-actual{margin:0;padding:.7rem .85rem;border-radius:12px;background:#fff;border:1px dashed #ddd6fe;color:#334155;font-size:.88rem}.campo-titulo{display:block;margin-bottom:.4rem;font-size:.82rem;font-weight:650;color:#3b1d6e}.dias-row{display:flex;flex-wrap:wrap;gap:.45rem}.dias-row label{flex-direction:row;display:flex;align-items:center;gap:.35rem;margin:0;padding:.4rem .7rem;border-radius:999px;background:#fff;border:1px solid #e9e3ff;font-weight:600;font-size:.82rem;color:#3b1d6e}.edit-acciones{display:flex;align-items:center;gap:.85rem;margin-top:1.05rem}.ai-bloque-titulo{margin:1.35rem 0 .75rem;color:#3b1d6e;font-size:1rem}.ai-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem}.ai-stat{display:flex;flex-direction:column;gap:.7rem;min-width:0;background:#fff;border:1px solid #efe7ff;border-radius:16px;padding:1rem 1.05rem .95rem;box-shadow:0 8px 22px #5b21b60f}.ai-stat-top{display:flex;align-items:center;gap:.75rem;min-width:0}.ai-stat-top>div:last-child{min-width:0}.ai-stat span{display:block;font-size:.95rem;line-height:1.3;color:#64748b}.ai-stat strong{display:block;margin-top:.1rem;font-size:1.45rem;line-height:1;color:#4c1d95}.ai-stat small{display:block;font-size:.95rem;line-height:1.4;color:#64748b}.ai-panel .hint,.ai-panel .ai-superv-card h4,.ai-panel .ai-superv-card p,.ai-panel .severity-label,.ai-panel .status-row{font-size:.95rem;line-height:1.45}.ia-buscar{margin:1rem 0 .2rem}.ia-buscar label{display:block;margin-bottom:.4rem;font-size:.95rem;font-weight:650;color:#3b1d6e}.ia-resultados{display:flex;flex-direction:column;gap:.55rem;margin-top:.75rem}.ia-resultado{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#faf8ff;border:1px solid #efe7ff;border-radius:14px;padding:.8rem .95rem}.ia-resultado strong,.ia-resultado span{display:block;font-size:.95rem;line-height:1.4}.ia-resultado span{color:#64748b;font-weight:500}.ai-stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}.triage-icon{background:#fef3c7}.derma-icon{background:#ffedd5}.alerta-icon{background:#fee2e2}.agenda-icon{background:#dbeafe}@media(max-width:980px){.ai-stats{grid-template-columns:1fr 1fr}}@media(max-width:640px){.ai-stats{grid-template-columns:1fr}}@media(max-width:980px){.edit-campos.cuatro{grid-template-columns:1fr 1fr}}@media(max-width:720px){.edit-secciones,.edit-campos,.edit-campos.cuatro{grid-template-columns:1fr}.edit-campos .span-2{grid-column:auto}}.reporte-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem;margin-top:1.25rem}.reporte-card{background:#fff;border-radius:18px;padding:1.15rem 1.25rem;box-shadow:0 10px 28px #7c3aed14}.reporte-card.ancho{grid-column:1 / -1}.reporte-card h3{margin:0 0 .9rem;color:#3b1d6e;font-size:1rem}.barra-fila,.personas-barras>div{display:grid;grid-template-columns:92px 1fr 2rem;align-items:center;gap:.65rem;margin-bottom:.7rem}.personas-barras>div{grid-template-columns:140px 1fr}.barra-pista{height:12px;background:#f3e8ff;border-radius:999px;overflow:hidden}.barra-fill{height:100%;border-radius:999px;min-width:0}.barra-fill.pacientes{background:#7c3aed}.barra-fill.medicos{background:#2563eb}.mes-barras{display:flex;align-items:flex-end;gap:.45rem;min-height:160px}.mes-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:.35rem}.mes-col span,.mes-col small{color:#64748b;font-size:.72rem}.mes-bar{width:100%;max-width:28px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#a78bfa,#6d28d9)}@media(max-width:800px){.reporte-grid{grid-template-columns:1fr}.reporte-card.ancho{grid-column:auto}}.brief-medico,.consulta-sim{margin-top:1.1rem;padding:1rem 1.1rem;border-radius:16px;background:#f8fbff;border:1px solid #dbe7f5}.brief-medico h3,.consulta-sim h3,.brief-medico h4,.consulta-sim h4{margin:.85rem 0 .35rem;color:#0b1d36}.brief-medico h3,.consulta-sim h3{margin-top:0}.brief-medico p,.consulta-sim p,.brief-medico li{line-height:1.45}.sim-dialogo{display:flex;flex-direction:column;gap:.55rem;margin:.8rem 0}.sim-burbuja{max-width:78%;margin:0;padding:.7rem .85rem;border-radius:14px;background:#fff;border:1px solid #e2e8f0}.sim-burbuja.medico{align-self:flex-end;background:#dbeafe}.sim-burbuja.pista{max-width:100%;background:#f8fafc;color:#475569;font-size:.92rem}.sim-pregunta{display:flex;gap:.6rem;margin-bottom:.8rem}.sim-pregunta .input{flex:1}.med-elige{display:flex;gap:.55rem;align-items:flex-start;margin:.35rem 0}.consulta-sim label{display:block;margin-top:.7rem;font-weight:600}.consulta-sim textarea{margin-top:.3rem;font-weight:400}.lugar-barato td{background:#ecfdf5}.lugar-barato small{display:block;color:#047857;font-weight:600}
