/* REDLINE · Área de cliente (Mi cuenta y Soporte) — redline_cliente.js */
#portal-cliente-view, #soporte-cliente-view { --rlc-ink: #0f172a; --rlc-mut: #64748b; --rlc-line: #e2e8f0; --rlc-rojo: var(--accent-red, #be0b1e); }
.rlc-root { display: grid; gap: 14px; min-width: 0; max-width: 1200px; padding-bottom: 70px; }
.rlc-hola { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.rlc-hola small { color: var(--rlc-mut); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.rlc-hola h2 { margin: 2px 0 0; font-size: 1.5rem; color: var(--rlc-ink); }
.rlc-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; border-radius: 12px; padding: 9px 12px; font-size: .85rem; }
.rlc-admin select { margin-left: auto; border: 1px solid #93c5fd; border-radius: 9px; padding: 6px 8px; font: inherit; max-width: 100%; }
.rlc-btn { border: 1px solid var(--rlc-line); background: #fff; color: var(--rlc-ink); border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: .85rem; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.rlc-btn:hover:not(:disabled) { border-color: var(--rlc-rojo); color: var(--rlc-rojo); }
.rlc-btn:disabled { opacity: .55; cursor: default; }
.rlc-btn.rlc-pri { background: var(--rlc-rojo); border-color: var(--rlc-rojo); color: #fff; }
.rlc-btn.rlc-pri:hover:not(:disabled) { color: #fff; filter: brightness(1.08); }
.rlc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rlc-kpi { background: #fff; border: 1px solid var(--rlc-line); border-left: 4px solid var(--c); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.rlc-kpi > i { font-size: 1.4rem; color: var(--c); width: 32px; text-align: center; }
.rlc-kpi b { display: block; font-size: 1.3rem; color: var(--rlc-ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.rlc-kpi span { font-size: .78rem; color: var(--rlc-mut); font-weight: 600; display: block; }
.rlc-kpi small { font-size: .72rem; color: var(--c); font-weight: 700; }
.rlc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.rlc-card { background: #fff; border: 1px solid var(--rlc-line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.rlc-card-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.rlc-card-h h3 { margin: 0; font-size: 1rem; color: var(--rlc-ink); display: flex; gap: 8px; align-items: center; }
.rlc-card-h h3 i { color: var(--rlc-rojo); }
.rlc-card-h small, .rlc-mut { color: var(--rlc-mut); font-size: .78rem; }
.rlc-g { position: relative; height: 240px; }
#portal-cliente-view code, #soporte-cliente-view code { background: #f1f5f9; color: #334155; border-radius: 5px; padding: 1px 5px; font-weight: 700; font-size: .76em; white-space: nowrap; }
.rlc-proys { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; }
.rlc-proy { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--rlc-line); border-left: 4px solid #94a3b8; border-radius: 11px; padding: 8px 10px; }
.rlc-proy.rlc-p-activo { border-left-color: #16a34a; } .rlc-proy.rlc-p-pausado { border-left-color: #d97706; }
.rlc-proy > div:first-child { display: grid; min-width: 0; }
.rlc-proy b { color: var(--rlc-ink); font-size: .88rem; } .rlc-proy span { color: var(--rlc-mut); font-size: .76rem; }
.rlc-proy-h { display: grid; justify-items: end; text-align: right; } .rlc-proy-h small { color: var(--rlc-mut); font-size: .7rem; }
.rlc-seg { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; gap: 3px; }
.rlc-seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .8rem; color: var(--rlc-mut); cursor: pointer; }
.rlc-seg button.rlc-on { background: #fff; color: var(--rlc-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.rlc-tw { overflow-x: auto; }
.rlc-t { width: 100%; border-collapse: collapse; font-size: .84rem; }
.rlc-t th { text-align: left; color: var(--rlc-mut); font-weight: 600; padding: 7px 8px; border-bottom: 1px solid var(--rlc-line); white-space: nowrap; }
.rlc-t td { padding: 8px; border-bottom: 1px solid #f1f5f9; color: var(--rlc-ink); vertical-align: top; }
.rlc-t .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rlc-conc { max-width: 360px; color: var(--rlc-mut) !important; font-size: .8rem; }
.rlc-e { display: inline-flex; gap: 5px; align-items: center; font-weight: 700; font-size: .74rem; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.rlc-e-pend { background: #fef3c7; color: #92400e; } .rlc-e-venc { background: #fee2e2; color: #991b1b; } .rlc-e-ok { background: #dcfce7; color: #166534; }
.rlc-e-curso { background: #dbeafe; color: #1e40af; } .rlc-e-gris { background: #f1f5f9; color: #475569; }
.rlc-trabs { display: grid; gap: 2px; max-height: 420px; overflow-y: auto; }
.rlc-trab { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 4px; border-bottom: 1px solid #f1f5f9; }
.rlc-trab-f { color: var(--rlc-mut); font-size: .78rem; font-variant-numeric: tabular-nums; }
.rlc-trab > div { display: grid; min-width: 0; } .rlc-trab b { color: var(--rlc-ink); font-size: .86rem; font-weight: 600; } .rlc-trab small { color: var(--rlc-mut); font-size: .74rem; }
.rlc-trab em { font-style: normal; font-weight: 800; color: var(--rlc-ink); font-variant-numeric: tabular-nums; }
.rlc-vacio { color: var(--rlc-mut); font-size: .88rem; padding: 6px 2px; }

/* Soporte */
.rlc-nueva label { font-size: .78rem; font-weight: 700; color: var(--rlc-mut); margin-bottom: -4px; }
.rlc-nueva label em { color: var(--rlc-rojo); font-style: normal; }
.rlc-in { width: 100%; box-sizing: border-box; border: 1.5px solid var(--rlc-line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: .92rem; color: var(--rlc-ink); background: #fff; }
.rlc-in:focus { border-color: var(--rlc-rojo); outline: none; }
textarea.rlc-in { resize: vertical; }
.rlc-urg { display: flex; flex-wrap: wrap; gap: 6px; }
.rlc-urg label { margin: 0; }
.rlc-urg input { display: none; }
.rlc-urg span { display: inline-block; border: 1.5px solid var(--rlc-line); border-radius: 99px; padding: 7px 13px; font-weight: 700; font-size: .84rem; color: var(--rlc-ink); cursor: pointer; text-transform: none; letter-spacing: 0; }
.rlc-urg input:checked + span { border-color: var(--rlc-rojo); background: #fef2f2; color: var(--rlc-rojo); }
.rlc-drop { position: relative; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 18px 14px; text-align: center; color: var(--rlc-mut); font-size: .86rem; display: grid; gap: 6px; justify-items: center; cursor: pointer; }
.rlc-drop i { font-size: 1.6rem; color: var(--rlc-rojo); }
.rlc-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rlc-drop.rlc-sobre { border-color: var(--rlc-rojo); background: #fff5f5; }
.rlc-minis { display: flex; flex-wrap: wrap; gap: 8px; }
.rlc-mini { position: relative; width: 104px; border: 1px solid var(--rlc-line); border-radius: 10px; overflow: hidden; background: #f8fafc; display: grid; }
.rlc-mini img { width: 100%; height: 72px; object-fit: cover; } .rlc-mini > i { height: 72px; display: grid; place-items: center; font-size: 1.6rem; color: var(--rlc-rojo); }
.rlc-mini span { font-size: .66rem; color: var(--rlc-mut); padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rlc-mini button { position: absolute; top: 4px; right: 4px; border: 0; background: rgba(15, 23, 42, .7); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: .7rem; }
.rlc-enviar { justify-content: center; padding: 11px; font-size: .95rem; }
.rlc-sop { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: start; }
.rlc-incs { display: grid; gap: 6px; }
.rlc-inc { text-align: left; border: 1px solid var(--rlc-line); background: #fff; border-radius: 11px; padding: 10px 12px; cursor: pointer; display: grid; gap: 4px; justify-items: start; }
.rlc-inc b { color: var(--rlc-ink); font-size: .9rem; } .rlc-inc small { color: var(--rlc-mut); font-size: .74rem; }
.rlc-inc:hover, .rlc-inc.rlc-sel { border-color: var(--rlc-rojo); background: #fff7f7; }
.rlc-desc { margin: 0; white-space: pre-wrap; color: var(--rlc-ink); font-size: .9rem; background: #f8fafc; border-radius: 10px; padding: 10px 12px; }
.rlc-adjs { display: flex; flex-wrap: wrap; gap: 6px; }
.rlc-adj { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--rlc-line); border-radius: 9px; padding: 5px 9px; font-size: .78rem; color: var(--rlc-ink); text-decoration: none; max-width: 220px; }
.rlc-adj span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rlc-adj i { color: var(--rlc-rojo); }
.rlc-conv { display: grid; gap: 8px; max-height: 380px; overflow-y: auto; padding: 2px; }
.rlc-msg { max-width: 85%; border-radius: 12px; padding: 8px 11px; font-size: .88rem; white-space: pre-wrap; }
.rlc-msg small { display: block; font-size: .7rem; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.rlc-msg.rlc-yo { justify-self: end; background: #fef2f2; color: var(--rlc-ink); }
.rlc-msg.rlc-tec { justify-self: start; background: #eff6ff; color: var(--rlc-ink); }
.rlc-resp { display: grid; gap: 8px; }
.rlc-acc { display: flex; justify-content: flex-end; gap: 8px; }
.rlc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: #0f172a; color: #fff; border-radius: 12px; padding: 11px 16px; font-size: .9rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); z-index: 9999; transition: transform .25s; max-width: calc(100vw - 32px); }
.rlc-toast.rlc-toast-on { transform: translate(-50%, 0); } .rlc-toast.rlc-toast-err { background: #991b1b; }
@media (max-width: 900px) { .rlc-grid, .rlc-sop { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .rlc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rlc-kpi { padding: 10px; gap: 8px; } .rlc-kpi b { font-size: 1.05rem; } .rlc-trab { grid-template-columns: 70px minmax(0, 1fr) auto; } }
.rlc-acc { display: flex; gap: 6px; align-items: center; }
.rlc-sel-mes { width: auto; padding: 6px 8px; font-size: .82rem; }
.rlc-informe { font-size: .9rem; color: var(--rlc-ink); line-height: 1.55; }
.rlc-informe p { margin: 6px 0; } .rlc-informe ul { margin: 2px 0 8px 18px; padding: 0; } .rlc-informe li { margin: 2px 0; }
.rlc-informe small { display: block; margin-top: 8px; }

/* ---------------------------------------------------------------- Soporte, diseño nuevo (INC-00003) */
#soporte-cliente-view { --rls-azul: #0b3c73; --rls-sombra: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06); }
.rls-root { max-width: 1240px; gap: 16px; }
.rls-root .rlc-card { border-radius: 18px; box-shadow: var(--rls-sombra); border-color: #edf0f5; }
.rls-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 26px 28px; color: #fff; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: center;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .16) 0, transparent 55%), linear-gradient(125deg, var(--rls-azul) 0%, #123f86 45%, var(--rlc-rojo) 130%); box-shadow: 0 14px 34px rgba(11, 60, 115, .22); }
.rls-hero::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.rls-hero-txt small { font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; display: inline-flex; gap: 7px; align-items: center; }
.rls-hero-txt h2 { margin: 6px 0 8px; font-size: 1.85rem; line-height: 1.15; font-weight: 800; color: #fff; }
.rls-hero-txt p { margin: 0 0 16px; font-size: .93rem; line-height: 1.5; opacity: .9; max-width: 560px; }
.rls-cta { border: 0; background: #fff; color: var(--rls-azul); font-weight: 800; font-size: .95rem; border-radius: 12px; padding: 11px 18px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s; }
.rls-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .24); }
.rls-cta i { color: var(--rlc-rojo); }
.rls-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rls-stat { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); color: #fff; border-radius: 16px; padding: 14px 10px; cursor: pointer;
  display: grid; justify-items: center; gap: 2px; transition: background .15s, transform .15s; font: inherit; }
.rls-stat:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.rls-stat.rls-on { background: #fff; color: var(--rls-azul); }
.rls-stat i { font-size: 1.05rem; opacity: .85; } .rls-stat b { font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; } .rls-stat span { font-size: .76rem; font-weight: 600; opacity: .9; }
.rls-temas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.rls-tema { border: 1px solid #edf0f5; background: #fff; border-radius: 16px; padding: 14px 10px; cursor: pointer; display: grid; justify-items: center; gap: 8px; text-align: center;
  color: var(--rlc-ink); font: inherit; font-weight: 700; font-size: .84rem; box-shadow: var(--rls-sombra); transition: transform .15s, border-color .15s, box-shadow .15s; }
.rls-tema i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.1rem; color: var(--rlc-rojo); background: #fef2f2; transition: background .15s, color .15s; }
.rls-tema:hover { transform: translateY(-3px); border-color: #fecaca; box-shadow: 0 12px 26px rgba(190, 11, 30, .12); }
.rls-tema:hover i { background: var(--rlc-rojo); color: #fff; }
/* formulario */
.rls-nueva { gap: 16px; padding: 18px 20px; }
.rls-x { border: 0; background: #f1f5f9; color: var(--rlc-mut); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.rls-x:hover { background: #fee2e2; color: var(--rlc-rojo); }
.rls-paso { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.rls-paso > span { width: 28px; height: 28px; border-radius: 50%; background: var(--rls-azul); color: #fff; font-weight: 800; font-size: .82rem; display: grid; place-items: center; margin-top: 1px; }
.rls-paso > div { display: grid; gap: 7px; min-width: 0; }
.rls-paso label { font-size: .8rem; font-weight: 800; color: var(--rlc-ink); }
.rls-paso label small { font-weight: 500; color: var(--rlc-mut); } .rls-paso label em { color: var(--rlc-rojo); font-style: normal; }
.rls-nueva .rlc-in { border-radius: 12px; padding: 10px 12px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.rls-nueva .rlc-in:focus { background: #fff; box-shadow: 0 0 0 4px rgba(190, 11, 30, .1); }
.rls-temas-f { display: flex; flex-wrap: wrap; gap: 6px; }
.rls-tema-r input, .rls-urg input { position: absolute; opacity: 0; pointer-events: none; }
.rls-tema-r span { display: inline-flex; gap: 7px; align-items: center; border: 1.5px solid var(--rlc-line); border-radius: 99px; padding: 7px 13px; font-weight: 700; font-size: .83rem; color: var(--rlc-ink); cursor: pointer; background: #fff; transition: all .15s; }
.rls-tema-r span i { color: var(--rlc-mut); }
.rls-tema-r input:checked + span { border-color: var(--rlc-rojo); background: #fef2f2; color: var(--rlc-rojo); } .rls-tema-r input:checked + span i { color: var(--rlc-rojo); }
.rls-tema-r input:focus-visible + span, .rls-urg input:focus-visible + span { outline: 2px solid var(--rls-azul); outline-offset: 2px; }
.rls-urg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rls-urg label { margin: 0; position: relative; }
.rls-urg span { --u: #64748b; display: grid; gap: 3px; justify-items: start; border: 1.5px solid var(--rlc-line); border-radius: 14px; padding: 11px 12px; cursor: pointer; background: #fff; transition: all .15s; height: 100%; box-sizing: border-box; }
.rls-urg span i { color: var(--u); font-size: 1rem; } .rls-urg span b { font-size: .86rem; color: var(--rlc-ink); } .rls-urg span small { font-size: .74rem; color: var(--rlc-mut); }
.rls-urg-baja span { --u: #16a34a; } .rls-urg-media span { --u: #2563eb; } .rls-urg-alta span { --u: #d97706; } .rls-urg-bloqueante span { --u: #dc2626; }
.rls-urg input:checked + span { border-color: var(--u); background: color-mix(in srgb, var(--u) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--u) 14%, transparent); }
.rls-drop { position: relative; border: 2px dashed #cbd5e1; border-radius: 16px; padding: 20px 14px; text-align: center; color: var(--rlc-mut); font-size: .8rem; display: grid; gap: 4px; justify-items: center; cursor: pointer; background: #fbfcfe; transition: all .15s; }
.rls-drop > i { font-size: 1.8rem; color: var(--rls-azul); margin-bottom: 2px; } .rls-drop b { color: var(--rlc-ink); font-size: .9rem; }
.rls-drop kbd { background: #fff; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; font-size: .72rem; font-family: inherit; color: var(--rlc-ink); }
.rls-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rls-drop:hover, .rls-drop.rls-sobre { border-color: var(--rls-azul); background: #eff6ff; }
.rls-minis { display: flex; flex-wrap: wrap; gap: 8px; } .rls-minis:empty { display: none; }
.rls-mini { position: relative; width: 110px; border: 1px solid var(--rlc-line); border-radius: 12px; overflow: hidden; background: #f8fafc; display: grid; }
.rls-mini img { width: 100%; height: 76px; object-fit: cover; } .rls-mini > i { height: 76px; display: grid; place-items: center; font-size: 1.6rem; color: var(--rlc-rojo); }
.rls-mini span { font-size: .66rem; color: var(--rlc-mut); padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rls-mini button { position: absolute; top: 5px; right: 5px; border: 0; background: rgba(15, 23, 42, .72); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: .7rem; }
.rls-pie { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid #f1f5f9; padding-top: 14px; }
.rls-pie .rlc-enviar { padding: 11px 20px; border-radius: 12px; box-shadow: 0 6px 16px rgba(190, 11, 30, .25); }
/* lista */
.rls-sop { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.rls-lista { gap: 12px; position: sticky; top: 12px; }
.rls-lista-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.rls-lista-h h3 { margin: 0; font-size: 1rem; color: var(--rlc-ink); display: flex; gap: 8px; align-items: center; } .rls-lista-h h3 i { color: var(--rlc-rojo); }
.rls-lista .rlc-seg button.rls-on { background: #fff; color: var(--rlc-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.rls-buscar { position: relative; } .rls-buscar i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: .85rem; }
.rls-buscar input { width: 100%; box-sizing: border-box; border: 1.5px solid var(--rlc-line); border-radius: 12px; padding: 9px 12px 9px 34px; font: inherit; font-size: .88rem; background: #fbfcfe; }
.rls-buscar input:focus { outline: none; border-color: var(--rls-azul); background: #fff; }
.rls-incs { display: grid; gap: 8px; max-height: 62vh; overflow-y: auto; padding: 2px; }
.rls-inc { --b: #f59e0b; text-align: left; border: 1px solid #edf0f5; border-left: 4px solid var(--b); background: #fff; border-radius: 14px; padding: 11px 13px; cursor: pointer; display: grid; gap: 5px; font: inherit; transition: all .15s; }
.rls-i-en_curso { --b: #2563eb; } .rls-i-resuelta { --b: #16a34a; } .rls-i-descartada { --b: #94a3b8; }
.rls-inc:hover { transform: translateX(2px); box-shadow: 0 6px 16px rgba(15, 23, 42, .08); }
.rls-inc.rls-sel { background: #f8fbff; border-color: #bfdbfe; border-left-color: var(--b); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.rls-inc-top { display: flex; gap: 6px; align-items: center; } .rls-inc-top small { margin-left: auto; color: var(--rlc-mut); font-size: .72rem; white-space: nowrap; }
.rls-inc b { color: var(--rlc-ink); font-size: .9rem; line-height: 1.3; } .rls-inc > small { color: var(--rlc-mut); font-size: .74rem; }
.rls-prisa { --u: #d97706; display: inline-flex; gap: 4px; align-items: center; font-size: .7rem; font-weight: 800; color: var(--u); background: color-mix(in srgb, var(--u) 10%, #fff); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.rls-prisa.rls-urg-bloqueante { --u: #dc2626; } .rls-prisa.rls-urg-baja { --u: #16a34a; } .rls-prisa.rls-urg-media { --u: #2563eb; }
.rls-vacio { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 34px 18px; color: var(--rlc-mut); font-size: .86rem; }
.rls-vacio > i { font-size: 2.2rem; color: #cbd5e1; margin-bottom: 4px; } .rls-vacio b { color: var(--rlc-ink); font-size: 1rem; } .rls-vacio span { max-width: 340px; }
.rls-vacio-s { padding: 18px; } .rls-vacio-s > i { font-size: 1.3rem; }
.rls-cargando { display: grid; place-items: center; min-height: 160px; color: var(--rlc-mut); font-size: 1.4rem; }
/* detalle */
.rls-det { gap: 14px; padding: 18px 20px; }
.rls-det-h { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.rls-det-h small { color: var(--rlc-mut); font-size: .76rem; } .rls-det-h h3 { margin: 3px 0 0; font-size: 1.15rem; color: var(--rlc-ink); line-height: 1.3; }
.rls-det-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rls-avance { display: flex; align-items: center; gap: 6px; background: #f8fafc; border-radius: 14px; padding: 12px 14px; }
.rls-av { display: grid; justify-items: center; gap: 4px; color: #94a3b8; font-size: .74rem; font-weight: 700; min-width: 64px; }
.rls-av i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; color: #94a3b8; font-size: .85rem; }
.rls-av.rls-av-ok { color: var(--rlc-ink); } .rls-av.rls-av-ok i { background: #16a34a; color: #fff; }
.rls-av.rls-av-aqui i { box-shadow: 0 0 0 5px rgba(22, 163, 74, .18); }
.rls-av.rls-av-gris i { background: #64748b; color: #fff; } .rls-av.rls-av-gris { color: var(--rlc-ink); }
.rls-av-l { flex: 1; height: 3px; border-radius: 3px; background: #e2e8f0; margin-bottom: 18px; } .rls-av-l.rls-av-ok { background: #16a34a; }
.rls-resuelta { display: flex; gap: 12px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 12px 14px; }
.rls-resuelta > i { color: #16a34a; font-size: 1.3rem; margin-top: 2px; } .rls-resuelta b { color: #166534; } .rls-resuelta p { margin: 2px 0 0; white-space: pre-wrap; color: var(--rlc-ink); font-size: .88rem; }
.rls-desc { margin: 0; white-space: pre-wrap; color: var(--rlc-ink); font-size: .9rem; line-height: 1.5; background: #f8fafc; border-radius: 14px; padding: 12px 14px; }
.rls-fotos { display: flex; flex-wrap: wrap; gap: 8px; }
.rls-foto { width: 96px; height: 72px; border-radius: 12px; border: 1px solid var(--rlc-line); background: #f1f5f9; overflow: hidden; cursor: zoom-in; padding: 0; display: grid; place-items: center; color: #94a3b8; transition: transform .15s; }
.rls-foto:hover { transform: scale(1.04); } .rls-foto img { width: 100%; height: 100%; object-fit: cover; }
.rls-conv { display: grid; gap: 12px; max-height: 46vh; overflow-y: auto; padding: 4px 2px; }
.rls-msg { display: flex; gap: 9px; align-items: flex-end; max-width: 88%; }
.rls-msg.rls-yo { justify-self: end; flex-direction: row-reverse; } .rls-msg.rls-tec { justify-self: start; }
.rls-ava { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: .8rem; font-weight: 800; }
.rls-yo .rls-ava { background: #e2e8f0; color: #475569; } .rls-tec .rls-ava { background: #fff; border: 1px solid var(--rlc-line); color: var(--rlc-rojo); }
.rls-ava img { width: 100%; height: 100%; object-fit: cover; }
.rls-msg > div { border-radius: 16px; padding: 9px 13px; font-size: .88rem; min-width: 0; }
.rls-yo > div { background: var(--rls-azul); color: #fff; border-bottom-right-radius: 5px; } .rls-tec > div { background: #f1f5f9; color: var(--rlc-ink); border-bottom-left-radius: 5px; }
.rls-msg small { display: block; font-size: .68rem; font-weight: 700; opacity: .72; margin-bottom: 2px; } .rls-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.rls-evento { justify-self: center; font-size: .74rem; color: var(--rlc-mut); background: #f8fafc; border: 1px solid #edf0f5; padding: 4px 11px; border-radius: 99px; }
.rls-espera { display: flex; gap: 10px; align-items: center; color: #1e40af; background: #eff6ff; border-radius: 14px; padding: 12px 14px; font-size: .86rem; }
.rls-resp { display: grid; gap: 8px; border-top: 1px solid #f1f5f9; padding-top: 12px; }
.rls-resp .rlc-in { border-radius: 14px; background: #fbfcfe; }
.rls-resp-acc { display: flex; justify-content: flex-end; gap: 8px; }
.rls-lb { position: fixed; inset: 0; z-index: 10050; background: rgba(15, 23, 42, .82); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: rlsLb .15s ease-out; }
.rls-lb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.rls-lb button { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--rlc-ink); cursor: pointer; font-size: 1.1rem; }
@keyframes rlsLb { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1100px) { .rls-temas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .rls-hero { grid-template-columns: 1fr; padding: 22px 20px; } .rls-hero-txt h2 { font-size: 1.5rem; }
  .rls-sop { grid-template-columns: 1fr; } .rls-lista { position: static; } .rls-incs { max-height: none; }
  .rls-urg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rls-temas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rls-tema { padding: 12px 8px; font-size: .8rem; }
  .rls-stat { padding: 10px 6px; } .rls-stat b { font-size: 1.35rem; }
  .rls-paso { grid-template-columns: 1fr; } .rls-paso > span { display: none; }
  .rls-av { min-width: 0; } .rls-msg { max-width: 96%; }
  .rls-pie { flex-direction: column-reverse; } .rls-pie .rlc-btn { justify-content: center; }
}
