/* Me Voy Con Plan · CRM */
body.crm-body { background: #f1f5f4; margin: 0; min-height: 100vh; }
.crm-body .skip-link { display: none; }
.crm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* Acceso */
.crm-gate { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--tinta); }
.crm-gate__card { width: 100%; max-width: 24rem; background: var(--blanco); border-radius: var(--r-l); padding: 2rem; }
.crm-gate__brand, .crm-brand { font-family: var(--f-display); font-weight: 780; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
.crm-gate__brand span, .crm-brand span { font-size: 0.7rem; background: var(--sol); color: var(--tinta); border-radius: 999px; padding: 0.15rem 0.5rem; vertical-align: 0.25em; margin-left: 0.25rem; }
.crm-gate__title { font-size: 1.6rem; margin: 0 0 1rem; }
.crm-gate form p { margin: 0 0 0.9rem; }
.crm-gate label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.crm-gate input[type="text"], .crm-gate input[type="password"] { width: 100%; min-height: 2.9rem; padding: 0.5rem 0.75rem; border: 1.5px solid var(--linea); border-radius: var(--r-s); font: 1rem var(--f-text); box-sizing: border-box; }
.crm-gate .login-remember label { display: flex; gap: 0.5rem; align-items: center; font-weight: 400; }
.crm-gate input[type="submit"] { width: 100%; min-height: 3rem; border: 0; border-radius: 999px; background: var(--sello); color: var(--blanco); font: 700 1rem var(--f-text); cursor: pointer; }
.crm-gate__help { font-size: 0.9rem; margin-top: 1rem; }

/* Estructura */
.crm { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; font-family: var(--f-text); color: var(--tinta); }
.crm-loading, .crm-error { padding: 2rem; }
.crm-error { color: var(--error); font-weight: 700; }
.crm-side { position: sticky; top: 0; height: 100vh; background: var(--tinta); color: var(--papel); display: flex; flex-direction: column; padding: 1.25rem 0.9rem; box-sizing: border-box; }
.crm-brand { color: var(--blanco); padding: 0 0.5rem; }
.crm-nav { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
.crm-nav a { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.7rem; border-radius: var(--r-s); color: #d8e4e1; text-decoration: none; font-weight: 600; }
.crm-nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--blanco); }
.crm-nav a.is-on { background: var(--blanco); color: var(--tinta); }
.crm-nav__i { width: 1.2rem; text-align: center; font-size: 1.05rem; }
.crm-badge { margin-left: auto; background: var(--error); color: var(--blanco); border-radius: 999px; font-size: 0.72rem; padding: 0.05rem 0.45rem; }
.crm-me { display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem 0.4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.crm-me__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-me__out { color: var(--sol); }
.crm-main { padding: 1.5rem clamp(1rem, 3vw, 2.25rem) 3rem; outline: none; min-width: 0; }

.crm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.1rem; }
.crm-head h1, .crm-chead h1 { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 780; letter-spacing: -0.025em; margin: 0; }
.crm-head__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.crm-muted { color: var(--tinta-2); font-size: 0.88rem; }
.crm-hint { margin: -0.5rem 0 0.75rem; }

/* Botones y campos */
.crm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 2.5rem; padding: 0 1rem; border: 1.5px solid var(--sello); border-radius: 999px; background: var(--sello); color: var(--blanco); font: 700 0.9rem var(--f-text); cursor: pointer; white-space: nowrap; text-decoration: none; }
.crm-btn:hover { filter: brightness(1.08); }
.crm-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.crm-btn--ghost { background: var(--blanco); color: var(--tinta); border-color: var(--linea); }
.crm-btn--danger { background: var(--blanco); color: var(--error); border-color: #e7c3c0; }
.crm-search, .crm-filters select, .crm-field input, .crm-field select, .crm-field textarea, .crm-chead select, .crm-chead input, .crm-note textarea, .crm-stages input { min-height: 2.5rem; padding: 0.4rem 0.7rem; border: 1.5px solid var(--linea); border-radius: var(--r-s); background: var(--blanco); color: var(--tinta); font: 0.95rem var(--f-text); box-sizing: border-box; }
.crm-search { min-width: 14rem; }
.crm-field { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.86rem; margin-bottom: 0.85rem; }
.crm-field textarea { font-family: var(--f-text); line-height: 1.5; resize: vertical; }
.crm-field--grow { flex: 1; min-width: 12rem; }
.crm-field--s input { width: 5rem; }
.crm-check { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; margin: 0.4rem 0 0.8rem; }
.crm-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.crm-row .crm-field { flex: 1; min-width: 11rem; }
.crm-row .crm-btn { margin-bottom: 0.85rem; }
.crm-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.crm-filters .crm-search { flex: 1; }

/* Tarjetas y panel */
.crm-card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-m); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.crm-card h2 { font-family: var(--f-display); font-size: 1.08rem; font-weight: 740; margin: 0 0 0.85rem; letter-spacing: -0.01em; }
.crm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.crm-kpi { display: flex; flex-direction: column; gap: 0.2rem; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-m); padding: 0.95rem 1rem; color: var(--tinta); text-decoration: none; }
.crm-kpi strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.crm-kpi span { font-size: 0.84rem; color: var(--tinta-2); }
.crm-kpi.is-late strong { color: var(--error); }
.crm-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.crm-grid2 > .crm-card { margin-bottom: 0; }
.crm-grid2 + .crm-grid2 { margin-top: 1rem; }
.crm-list, .crm-feed, .crm-funnel, .crm-tasks, .crm-reqs, .crm-tl, .crm-team, .crm-stages { list-style: none; margin: 0; padding: 0; }
.crm-list li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid #edf1f0; }
.crm-list li b { margin-left: auto; }
.crm-list a { text-decoration: none; }
.crm-funnel li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.5rem; gap: 0.6rem; align-items: center; padding: 0.3rem 0; font-size: 0.9rem; }
.crm-funnel__bar { height: 0.7rem; background: #edf1f0; border-radius: 999px; overflow: hidden; }
.crm-funnel__bar span { display: block; height: 100%; border-radius: inherit; }
.crm-funnel b { text-align: right; }
.crm-feed li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid #edf1f0; font-size: 0.9rem; }
.crm-feed a { color: var(--tinta); text-decoration: none; }
.crm-feed a:hover { color: var(--sello); }
.crm-feed .crm-muted { white-space: nowrap; }

.crm-pill { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); white-space: nowrap; }
.crm-avatar { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sol); color: var(--tinta); font-weight: 800; font-size: 0.82rem; flex: none; }
.crm-avatar--s { width: 1.6rem; height: 1.6rem; font-size: 0.68rem; margin-left: auto; background: #e6eeec; }
.crm-avatar--l { width: 3.2rem; height: 3.2rem; font-size: 1.1rem; }
.crm-due { font-size: 0.8rem; font-weight: 700; color: var(--tinta-2); white-space: nowrap; }
.crm-due.is-late { color: var(--error); }
.crm-due.is-today { color: #a35f00; }
.crm-due.is-none { font-weight: 400; color: #9aa5a8; }

/* Pipeline */
.crm-board { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; align-items: flex-start; scroll-snap-type: x proximity; }
.crm-col { flex: 0 0 15.5rem; background: #e6eeec; border-radius: var(--r-m); padding: 0.5rem; scroll-snap-align: start; transition: background-color 0.15s ease; }
.crm-col.is-over { background: #d6e3ff; }
.crm-col__h { display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.4rem 0.6rem; border-top: 4px solid var(--c); border-radius: 4px 4px 0 0; font-weight: 800; font-size: 0.88rem; }
.crm-col__h b { background: var(--blanco); border-radius: 999px; padding: 0 0.45rem; font-size: 0.78rem; }
.crm-col__h em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--tinta-2); font-size: 0.78rem; }
.crm-col__body { display: flex; flex-direction: column; gap: 0.5rem; min-height: 3rem; }
.crm-card2 { background: var(--blanco); border-radius: var(--r-s); padding: 0.7rem 0.75rem; box-shadow: 0 1px 2px rgba(22, 50, 58, 0.12); cursor: grab; }
.crm-card2:hover { box-shadow: 0 3px 10px rgba(22, 50, 58, 0.16); }
.crm-card2.is-drag { opacity: 0.4; }
.crm-card2 p { margin: 0; }
.crm-card2__name { font-weight: 800; line-height: 1.25; }
.crm-card2__meta { font-size: 0.8rem; color: var(--tinta-2); margin-top: 0.15rem !important; }
.crm-card2__foot { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.55rem !important; font-size: 0.8rem; }

/* Lista de contactos */
.crm-table { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-m); overflow: hidden; }
.crm-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 0.75rem; align-items: center; padding: 0.7rem 1rem; border-bottom: 1px solid #edf1f0; color: var(--tinta); text-decoration: none; }
.crm-tr:hover { background: #f7faf9; }
.crm-tr--h { font-size: 0.78rem; font-weight: 800; color: var(--tinta-2); text-transform: uppercase; letter-spacing: 0.04em; background: #f7faf9; }
.crm-tr small { display: block; color: var(--tinta-2); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; }
.crm-tags i, .crm-tag { display: inline-block; font-style: normal; background: #eef0ff; color: var(--sello); border-radius: 4px; padding: 0 0.35rem; margin: 0.2rem 0.25rem 0 0; font-size: 0.74rem; font-weight: 700; }

/* Ficha */
.crm-back { display: inline-block; margin-bottom: 0.75rem; font-weight: 700; text-decoration: none; }
.crm-chead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-end; margin-bottom: 0.9rem; }
.crm-chead__id { display: flex; align-items: center; gap: 0.85rem; }
.crm-chead__id p { margin: 0.2rem 0 0; }
.crm-chead__ctl { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.crm-chead__ctl label { display: grid; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: var(--tinta-2); }
.crm-chead__ctl input { width: 8rem; }
.crm-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.crm-cgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1rem; align-items: start; }
.crm-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; margin: 0; }
.crm-dl dt { font-size: 0.78rem; color: var(--tinta-2); }
.crm-dl dd { margin: 0.1rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.crm-task { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid #edf1f0; }
.crm-task label { display: flex; gap: 0.55rem; align-items: flex-start; flex: 1 1 14rem; cursor: pointer; }
.crm-task input { width: 1.15rem; height: 1.15rem; margin-top: 0.1rem; accent-color: var(--sello); flex: none; }
.crm-task.is-done label span { text-decoration: line-through; color: var(--tinta-2); }
.crm-task a { font-weight: 700; font-size: 0.88rem; }
.crm-req { padding: 0.6rem 0; border-bottom: 1px solid #edf1f0; }
.crm-req p { margin: 0 0 0.35rem; }
.crm-req dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 0.75rem; margin: 0 0 0.4rem; font-size: 0.86rem; }
.crm-req dt { color: var(--tinta-2); font-size: 0.76rem; }
.crm-req dd { margin: 0; overflow-wrap: anywhere; }
.crm-links { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.88rem; font-weight: 700; }
.crm-note { display: grid; gap: 0.5rem; margin-bottom: 0.75rem; }
.crm-note .crm-btn { justify-self: start; }
.crm-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 0.75rem; }
.crm-chip { border: 1.5px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: 0.3rem 0.8rem; font: 700 0.82rem var(--f-text); color: var(--tinta); cursor: pointer; }
.crm-chip.is-on { background: var(--tinta); color: var(--blanco); border-color: var(--tinta); }
.crm-ev { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.6rem; padding: 0.65rem 0; border-bottom: 1px solid #edf1f0; }
.crm-ev p { margin: 0; }
.crm-ev__x { line-height: 1.45; overflow-wrap: anywhere; }
.crm-ev__i { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #edf1f0; font-size: 0.9rem; }
.crm-ev--nota .crm-ev__i, .crm-ev--whatsapp .crm-ev__i, .crm-ev--llamada .crm-ev__i { background: #fff1c2; }
.crm-ev--email .crm-ev__i { background: #eef0ff; color: var(--sello); }
.crm-ev--web .crm-ev__i { background: #e2f4f1; color: #1d7a76; }
.crm-ev--etapa .crm-ev__i { background: #f3e8f1; }
.crm-ev--email .crm-ev__x { max-height: 9rem; overflow: auto; font-size: 0.9rem; }

/* Equipo y ajustes */
.crm-team li { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #edf1f0; }
.crm-team li div { flex: 1; min-width: 0; }
.crm-team small { display: block; color: var(--tinta-2); overflow: hidden; text-overflow: ellipsis; }
.crm-stages li { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; }
.crm-stages input[type="color"] { width: 2.5rem; padding: 0.15rem; }
.crm-stages input[data-sk="l"] { flex: 1; max-width: 22rem; }
.crm-rule { display: flex; flex-wrap: wrap; gap: 0.6rem 0.75rem; align-items: flex-end; padding: 0.75rem 0; border-bottom: 1px solid #edf1f0; }
.crm-rule .crm-field, .crm-rule .crm-check { margin-bottom: 0; }
.crm-tpl .crm-row { align-items: flex-end; }

/* Modal y avisos */
.crm-modal { position: fixed; inset: 0; z-index: 100; background: rgba(22, 50, 58, 0.55); display: grid; place-items: center; padding: 1rem; }
.crm-modal__box { width: 100%; max-width: 34rem; max-height: calc(100vh - 2rem); overflow: auto; background: var(--blanco); border-radius: var(--r-m); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.crm-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--linea); position: sticky; top: 0; background: var(--blanco); }
.crm-modal__head h2 { margin: 0; font-size: 1.15rem; }
.crm-modal__body { padding: 1.1rem 1.25rem; }
.crm-modal__foot { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.5rem; }
.crm-x { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--tinta-2); }
.crm-toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 200; background: var(--tinta); color: var(--blanco); padding: 0.65rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 6px 20px rgba(22, 50, 58, 0.25); transition: opacity 0.3s ease; }
.crm-toast.is-bad { background: var(--error); }
.crm-toast.is-out { opacity: 0; }

/* Móvil */
@media (max-width: 1100px) {
	.crm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.crm-cgrid, .crm-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
	.crm { grid-template-columns: 1fr; padding-bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px)); }
	.crm-side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; z-index: 50; padding: 0.3rem 0.4rem calc(0.3rem + env(safe-area-inset-bottom, 0px)); flex-direction: row; }
	.crm-brand, .crm-me__name { display: none; }
	.crm-nav { flex-direction: row; overflow-x: auto; gap: 0; }
	.crm-nav a { flex-direction: column; gap: 0.1rem; padding: 0.4rem 0.6rem; font-size: 0.7rem; min-width: 4rem; position: relative; }
	.crm-nav a.is-on { background: rgba(255, 255, 255, 0.14); color: var(--blanco); }
	.crm-nav__i { font-size: 1.1rem; }
	.crm-badge { position: absolute; top: 0.15rem; right: 0.6rem; }
	.crm-me { border: 0; padding: 0 0.3rem; }
	.crm-me .crm-avatar { display: none; }
	.crm-main { padding: 1rem 0.9rem 2rem; }
	.crm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.crm-search { min-width: 0; width: 100%; }
	.crm-head__actions { width: 100%; }
	.crm-tr--h { display: none; }
	.crm-tr { grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 0.75rem; }
	.crm-tr > span:nth-child(3), .crm-tr > span:nth-child(5) { display: none; }
	.crm-tr > span:nth-child(4) { grid-column: 1 / -1; }
	.crm-col { flex-basis: 82vw; }
	.crm-dl, .crm-req dl { grid-template-columns: 1fr; }
	.crm-funnel li { grid-template-columns: 7rem minmax(0, 1fr) 2rem; }
	.crm-modal { padding: 0; align-items: end; }
	.crm-modal__box { max-width: none; border-radius: var(--r-m) var(--r-m) 0 0; max-height: 92vh; }
}

/* Agenda */
.crm-citas { list-style: none; margin: 0; padding: 0; }
.crm-cita { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: start; padding: 0.7rem 0; border-bottom: 1px solid #edf1f0; }
.crm-cita p { margin: 0 0 0.15rem; }
.crm-cita.is-off { opacity: 0.55; }
.crm-cita__h { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.crm-cita__act { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.crm-note-box { background: #fff8dc; border: 1px solid #f1dc9a; border-radius: var(--r-s); padding: 0.75rem 1rem; font-size: 0.9rem; }
.crm-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0 0.75rem; }
.crm-h3 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.crm-status { padding: 0.6rem 0.9rem; border-radius: var(--r-s); font-weight: 700; font-size: 0.9rem; }
.crm-status.is-ok { background: #e3f3ea; color: #135e35; }
.crm-status.is-off { background: #f3f0f0; color: var(--tinta-2); }
.crm-help { margin: 0.5rem 0 1rem; font-size: 0.9rem; }
.crm-help summary { cursor: pointer; font-weight: 700; color: var(--sello); }
.crm-help ol { padding-left: 1.2rem; }
.crm-help li { margin-bottom: 0.4rem; }
.crm-help code { background: #eef2f1; padding: 0.1rem 0.35rem; border-radius: 4px; word-break: break-all; }
@media (max-width: 800px) { .crm-cita { grid-template-columns: 3.4rem minmax(0, 1fr); } .crm-cita__act { grid-column: 2; justify-content: flex-start; } }
.crm-valid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0 !important; }
.crm-valid span { font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 999px; background: #f1f1f1; color: var(--tinta-2); }
.crm-valid span.is-ok { background: #e3f3ea; color: #135e35; }
.crm-ok { font-style: normal; color: #1f8f4e; }

/* Planes revisados */
.crm-planes { list-style: none; margin: 0; padding: 0; }
.crm-planes li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; padding: 0.65rem 0; border-bottom: 1px solid #edf1f0; }
.crm-planes li > a { flex: 1 1 16rem; text-decoration: none; color: var(--tinta); }
.crm-actions--sticky { position: sticky; top: 0; z-index: 5; background: #f1f5f4; padding: 0.6rem 0; }
.crm-pgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.crm-pfield textarea, .crm-pfield input { width: 100%; box-sizing: border-box; margin-top: 0.4rem; padding: 0.55rem 0.7rem; border: 1.5px solid var(--linea); border-radius: var(--r-s); font: 0.92rem/1.5 var(--f-text); color: var(--tinta); background: var(--blanco); }
.crm-pfield p { margin: 0.2rem 0 0; }
.crm-pside { position: sticky; top: 3.5rem; max-height: calc(100vh - 4rem); overflow: auto; }
.crm-check--block { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 0.55rem; }
.crm-check--block input { margin-top: 0.2rem; flex: none; }
.crm-norma { padding-left: 1.1rem; margin: 0; display: grid; gap: 0.45rem; font-size: 0.88rem; }
.crm-norma a { font-size: 0.75rem; font-weight: 700; color: var(--sello); text-decoration: none; }
.crm-dl--one { grid-template-columns: 1fr; }
@media (max-width: 1100px) { .crm-pgrid { grid-template-columns: 1fr; } .crm-pside { position: static; max-height: none; } }
