/* PrivilegeFans v33 · diseño 2026 · Ayuda: centro de ayuda (16/38/47), soporte y conversación (49/55), buzón de denuncias (46), documentos legales (48/56/57)
   y piezas comunes (botones, chips, pestañas, buscador, tablas) que reutiliza el panel de administración. Prefijos: hx- (común), hc-, tk-, tkc-, dn-, lg-. */
:root { --hx-navy: #154C82; --hx-navy2: #0F3A66; --hx-ink: #0B2D52; --hx-text: #3C5068; --hx-muted: #6B7F95; --hx-line: #E9EEF4; --hx-soft: #EEF3F9;
  --hx-gold: #F0C12C; --hx-gold2: #B18937; --hx-cream: #FDF8EE; --hx-shadow: 0 4px 18px rgba(15, 54, 84, .05); }

/* ───────────── piezas comunes ───────────── */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  background: linear-gradient(180deg, #1E62A6, #154C82); color: #fff !important; font: 800 14px/1.1 Lato, Arial, sans-serif; text-decoration: none !important; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(21, 76, 130, .2); transition: filter .12s, transform .08s, box-shadow .12s; }
.hx-btn:hover:not(:disabled) { filter: brightness(1.08); } .hx-btn:active:not(:disabled) { transform: translateY(1px); }
.hx-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.hx-btn:focus-visible { outline: 3px solid rgba(21, 76, 130, .3); outline-offset: 2px; }
.hx-btn.block { display: flex; width: 100%; }
.hx-btn.sm { min-height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; box-shadow: none; }
.hx-btn.ghost { background: var(--ice, #fff); color: var(--hx-navy) !important; border-color: #BFD2E6; box-shadow: none; }
.hx-btn.ghost:hover:not(:disabled) { background: #F2F7FC; filter: none; }
.hx-btn.gold { background: linear-gradient(180deg, #E2B53A, #B8891F); color: #fff !important; box-shadow: 0 6px 14px rgba(184, 137, 31, .28); text-shadow: 0 1px 1px rgba(90, 60, 0, .25); }
.hx-btn.okb { background: #E8F6EE; color: #1F7A4D !important; border-color: #CBEBD8; box-shadow: none; }
.hx-btn.okb:hover:not(:disabled) { background: #DBF1E4; filter: none; }
.hx-btn.badb { background: #FDE8E8; color: #B42318 !important; border-color: #F7CFCF; box-shadow: none; }
.hx-btn.badb:hover:not(:disabled) { background: #FBDADA; filter: none; }
.hx-btn.busy { pointer-events: none; opacity: .75; }
.hx-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 999px; font: 800 12px/1 Lato, Arial, sans-serif; white-space: nowrap; background: #EEF2F6; color: #55687E; }
.hx-chip i { font-size: 11px; }
.hx-chip.ok { background: #E8F6EE; color: #1F7A4D; } .hx-chip.warn { background: #FFF4D6; color: #8A6A1C; } .hx-chip.bad { background: #FDE8E8; color: #B42318; } .hx-chip.info { background: #E8F1FB; color: #154C82; } .hx-chip.mute { background: #EEF2F6; color: #5D7086; }
.hx-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.hx-pills > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; min-width: 104px; padding: 0 16px; border: 1px solid #E1E9F2; border-radius: 10px; background: var(--hx-soft);
  color: var(--hx-navy); font: 700 13.5px/1 Lato, Arial, sans-serif; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.hx-pills > button:hover { background: #E4EDF7; }
.hx-pills > button.on { background: linear-gradient(180deg, #1E62A6, #154C82); border-color: #154C82; color: #fff; box-shadow: 0 6px 14px rgba(21, 76, 130, .18); }
.hx-pills > button b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(21, 76, 130, .12); color: var(--hx-navy); font-size: 11px; display: inline-grid; place-items: center; }
.hx-pills > button b:empty { display: none; }
.hx-pills > button.on b { background: rgba(255, 255, 255, .22); color: #fff; }
.hx-search { position: relative; display: flex; align-items: center; min-height: 48px; border-radius: 12px; background: var(--hx-soft); border: 1px solid #E3EAF3; transition: background .12s, box-shadow .12s, border-color .12s; }
.hx-search:focus-within { background: var(--ice, #fff); border-color: #8DB3DA; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.hx-search > i { position: absolute; left: 16px; color: var(--hx-navy); font-size: 15px; pointer-events: none; }
.hx-search input { flex: 1; min-width: 0; height: 46px; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important; padding: 0 44px 0 46px; font: 15px Lato, Arial, sans-serif; color: var(--hx-ink); }
.hx-search input::placeholder { color: #8A9CB0; }
.hx-search input::-webkit-search-cancel-button { display: none; }
.hx-search.sm { min-height: 40px; min-width: 240px; } .hx-search.sm input { height: 38px; font-size: 13.5px; padding: 0 12px 0 40px; } .hx-search.sm > i { left: 14px; font-size: 13px; }
.hx-table { border: 1px solid var(--hx-line); border-radius: 14px; overflow: hidden; background: var(--ice, #fff); }
.hx-tr { display: grid; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid #F0F3F7; color: var(--hx-text); font-size: 13.5px; }
.hx-tr:first-child { border-top: 0; }
.hx-th { background: #F7F9FC; color: var(--hx-muted); font-size: 12px; font-weight: 800; letter-spacing: .02em; padding-top: 10px; padding-bottom: 10px; }
.hx-tr .r { text-align: right; justify-self: end; } .hx-tr .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--hx-ink); }
.hc-card { background: var(--ice, #fff); border: 1px solid var(--hx-line); border-radius: 16px; box-shadow: var(--hx-shadow); }
.hc-link { border: 0; background: none; padding: 0; color: var(--hx-navy); font: 800 13px Lato, Arial, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hc-link:hover { text-decoration: underline; }
.hc-muted { color: var(--hx-muted); } .hc-muted.small, .small.hc-muted { font-size: 12px; }
.hc-none { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 16px; border: 1px dashed #D8E3EF; border-radius: 14px; background: #FAFCFE; color: var(--hx-muted); }
.hc-none > i { font-size: 26px; color: #9FB6CE; margin-bottom: 4px; } .hc-none.ok > i { color: #6CBF8E; }
.hc-none b { color: var(--hx-ink); font-size: 15px; } .hc-none span { max-width: 420px; font-size: 13.5px; } .hc-none .hx-btn { margin-top: 8px; }

/* ───────────── pestañas del panel «Ayuda» ───────────── */
.hc-panel { font-family: Lato, Arial, sans-serif; color: var(--hx-text); }
.hc-tabs { margin-bottom: 20px; }
.hc-tabs > button { min-width: 0; padding: 0 18px; }
.hc-tabs > button i { font-size: 14px; }
.hc-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #D93A41; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.hc-tabs > button.on .hc-badge { background: var(--hx-gold); color: #3B2A00; }

/* ───────────── centro de ayuda ───────────── */
.hc-center { font-family: Lato, Arial, sans-serif; color: var(--hx-text); }
.hc-page .hc-center { max-width: 1180px; margin: 0 auto; }
.hc-head { display: flex; align-items: center; gap: 14px; margin: 2px 0 18px; }
.hc-head h1 { margin: 0; font-size: 26px; font-weight: 900; color: var(--hx-ink); letter-spacing: -.01em; }
.hc-head-ic { position: relative; width: 46px; height: 46px; display: grid; place-items: center; color: var(--hx-navy); font-size: 30px; }
.hc-head-ic::after { content: ""; position: absolute; right: 4px; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--hx-gold); box-shadow: 0 0 0 3px #fff; }
.hc-search { margin-bottom: 18px; }
.hc-clear { position: absolute; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #7C90A6; cursor: pointer; }
.hc-clear:hover { background: #E3EBF5; color: var(--hx-navy); }
.hc-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.hc-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 96px; padding: 14px 10px; border: 1px solid #E3EAF2; border-radius: 14px; background: var(--ice, #fff);
  color: var(--hx-navy); font: 800 13px/1.25 Lato, Arial, sans-serif; text-align: center; cursor: pointer; box-shadow: 0 2px 10px rgba(15, 54, 84, .04); transition: border-color .12s, transform .12s, box-shadow .12s, background .12s; text-decoration: none; }
.hc-tile i { font-size: 22px; color: var(--hx-navy); }
.hc-tile:hover { border-color: #9DBDDD; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 54, 84, .08); }
.hc-tile.on { border-color: var(--hx-navy); background: #F2F7FD; box-shadow: inset 0 0 0 1px var(--hx-navy); }
.hc-tile.sk { min-height: 96px; background: linear-gradient(90deg, #F2F5F9, #F8FAFC, #F2F5F9); border-color: #EEF2F6; box-shadow: none; cursor: default; }
.hc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; border-top: 1px solid var(--hx-line); padding-top: 22px; }
.hc-faq-h { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.hc-faq-h h3 { margin: 0; font-size: 17px; font-weight: 900; color: var(--hx-ink); }
.hc-faq-h .hc-link { margin-left: auto; }
.hc-qs { list-style: none; margin: 0; padding: 0; }
.hc-q { border-bottom: 1px solid #F0F3F7; }
.hc-q-b { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; border: 0; background: none; text-align: left; cursor: pointer; font: 600 14.5px/1.35 Lato, Arial, sans-serif; color: #1D3B5E; }
.hc-q-b:hover span { color: var(--hx-navy); }
.hc-q-lead { color: var(--hx-navy); font-size: 12px; flex: 0 0 auto; transition: transform .15s; }
.hc-q-b span { flex: 1; }
.hc-q-tail { color: #9AAEC3; font-size: 12px; flex: 0 0 auto; transform: rotate(-90deg); transition: transform .15s; }
.hc-q.open .hc-q-lead { transform: rotate(90deg); } .hc-q.open .hc-q-tail { transform: rotate(0deg); color: var(--hx-navy); }
.hc-q.open .hc-q-b span { color: var(--hx-navy); font-weight: 800; }
.hc-a { margin: 0 0 14px 28px; padding: 14px 16px; border-radius: 12px; background: #F6F9FC; border: 1px solid #EBF0F6; font-size: 14px; line-height: 1.6; color: var(--hx-text); }
.hc-a-in b { color: var(--hx-ink); }
.hc-ans-note { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--hx-cream); border: 1px solid #F1E3BE; color: #7A5B12; font-size: 13px; }
.hc-a-go { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #BFD2E6; border-radius: 999px; background: var(--ice, #fff); color: var(--hx-navy); font: 800 12.5px Lato, Arial, sans-serif; padding: 7px 14px; cursor: pointer; }
.hc-a-go:hover { background: #EEF4FB; }
.hc-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.hc-more { padding: 22px 20px; text-align: center; background: linear-gradient(180deg, #FFFFFF, #F4F8FD); display: grid; gap: 10px; justify-items: center; }
.hc-more-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ice, #fff); color: var(--hx-navy); font-size: 22px; box-shadow: 0 0 0 3px var(--hx-gold), 0 8px 18px rgba(21, 76, 130, .14); margin-bottom: 4px; }
.hc-more h3 { margin: 0; font-size: 18px; font-weight: 900; color: var(--hx-ink); }
.hc-more p { margin: 0 0 6px; font-size: 13.5px; color: var(--hx-muted); line-height: 1.5; }
.hc-more .hx-btn.block { min-height: 46px; font-size: 15px; }
.hc-legal { padding: 16px 16px 10px; }
.hc-legal h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14.5px; font-weight: 900; color: var(--hx-ink); }
.hc-legal h3 i { color: var(--hx-gold2); }
.hc-legal a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid #F0F3F7; color: #2B4A6C; text-decoration: none; font-size: 13.5px; font-weight: 700; }
.hc-legal a i:first-child { width: 18px; text-align: center; color: var(--hx-navy); }
.hc-legal a span { flex: 1; } .hc-legal a i:last-child { font-size: 11px; color: #A9BACB; }
.hc-legal a:hover { color: var(--hx-navy); } .hc-legal a:hover span { text-decoration: underline; }
.hc-pop-center .pfx-pop-body { padding-top: 6px; }
.hc-pop-center .hc-grid { grid-template-columns: minmax(0, 1fr); } .hc-pop-center .hc-side { position: static; }

/* ───────────── soporte: lista de tickets (49) ───────────── */
.tk-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 10px 12px 10px 20px; margin-bottom: 16px; border-radius: 14px; overflow: hidden;
  background: #164F86 url('../assets/branding/banner-ola.jpg') center 40% / cover no-repeat; color: #fff; box-shadow: 0 8px 20px rgba(15, 54, 84, .12); }
.tk-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 45, 82, .92), rgba(11, 45, 82, .55) 45%, rgba(11, 45, 82, .15)); }
.tk-hero > * { position: relative; }
.tk-hero-tx { display: flex; align-items: center; gap: 12px; }
.tk-hero-tx > i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 17px; box-shadow: 0 0 0 2px rgba(240, 193, 44, .7); }
.tk-hero-tx b { display: block; font-size: 17px; font-weight: 900; } .tk-hero-tx span { font-size: 12.5px; opacity: .85; }
.tk-hero .hx-btn { background: var(--ice, #fff); color: var(--hx-navy) !important; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.tk-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tk-bar .hx-pills { margin-bottom: 14px; }
.tk-bar .hx-search { margin-bottom: 14px; }
.tk-table .hx-tr { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.2fr) .9fr 1.1fr .9fr; }
.tk-row { cursor: pointer; transition: background .1s; position: relative; }
.tk-row:hover { background: #F7FAFD; } .tk-row:focus-visible { outline: 2px solid #8DB3DA; outline-offset: -2px; }
.tk-row.unread { background: #FBFDFF; } .tk-row.unread .tk-subj b { color: var(--hx-ink); }
.tk-subj { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tk-subj > span:nth-child(2) { display: grid; min-width: 0; }
.tk-subj b { font-weight: 800; color: #1D3B5E; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-subj small { color: var(--hx-muted); font-size: 11.5px; font-weight: 700; }
.tk-last { color: #7B8DA1; font-style: normal; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-ic { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: #EEF4FB; color: var(--hx-navy); }
.tk-dot { width: 9px; height: 9px; border-radius: 50%; background: #D93A41; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(217, 58, 65, .15); }
.tk-who { color: #8FA6BF; font-size: 11px; }

/* ───────────── conversación del ticket (55) ───────────── */
.tkc-back { border: 0; background: none; padding: 4px 0; margin-bottom: 10px; color: var(--hx-navy); font: 800 13px Lato, Arial, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tkc-back:hover { text-decoration: underline; }
.tkc-head { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--hx-line); border-radius: 16px; background: var(--ice, #fff); box-shadow: var(--hx-shadow); }
.tkc-head .pfx-avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hx-gold); }
.tkc-ti { flex: 1; min-width: 0; }
.tkc-ti h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; color: var(--hx-ink); line-height: 1.2; }
.tkc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--hx-muted); font-size: 12.5px; }
.tkc-meta a { color: var(--hx-navy); font-weight: 800; text-decoration: none; }
.tkc-num { color: #7C90A6; font-weight: 800; font-size: 13px; letter-spacing: .02em; align-self: flex-start; white-space: nowrap; }
.tkc-msgs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.tkc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.tkc-bub { padding: 12px 16px; border-radius: 14px; background: #F6F8FB; border: 1px solid #EDF1F6; }
.tkc-msg.support .tkc-bub { background: #EEF4FB; border-color: #DCE8F5; }
.tkc-bub header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.tkc-bub header b { color: var(--hx-navy); font-size: 14px; font-weight: 900; }
.tkc-bub header small { color: var(--hx-muted); font-size: 11.5px; font-weight: 700; }
.tkc-ok { color: var(--hx-gold2); font-size: 12px; }
.tkc-bub header time { margin-left: auto; color: #8A9CB0; font-size: 11.5px; white-space: nowrap; }
.tkc-bub p { margin: 0; font-size: 14px; line-height: 1.55; color: #2C4560; overflow-wrap: anywhere; }
.tkc-att { margin-top: 8px; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; }
.tkc-att.img img { max-width: 220px; max-height: 160px; border-radius: 10px; object-fit: cover; display: block; border: 1px solid #DCE6F1; }
.tkc-att.file { align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #D7E3EF; border-radius: 10px; background: var(--ice, #fff); color: var(--hx-navy); font-size: 13px; }
.tkc-att.file span { display: grid; text-align: left; } .tkc-att.file small { color: var(--hx-muted); font-size: 11px; }
.tkc-wait, .tkc-closed { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.tkc-wait { background: var(--hx-cream); color: #7A5B12; border: 1px solid #F1E3BE; }
.tkc-closed { background: #E8F6EE; color: #1F7A4D; border: 1px solid #CBEBD8; }
.tkc-comp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hx-line); }
.tkc-in { position: relative; display: flex; align-items: flex-end; border: 1px solid #DCE6F1; border-radius: 12px; background: #F7F9FC; transition: border-color .12s, box-shadow .12s, background .12s; }
.tkc-in:focus-within { background: var(--ice, #fff); border-color: #8DB3DA; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }
.tkc-in textarea { flex: 1; min-height: 50px; max-height: 160px; resize: none; border: 0 !important; outline: none; background: transparent !important; box-shadow: none !important; padding: 15px 48px 13px 16px; font: 14px/1.45 Lato, Arial, sans-serif; color: var(--hx-ink); }
.tkc-clip { position: absolute; right: 8px; bottom: 9px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--hx-navy); cursor: pointer; font-size: 16px; }
.tkc-clip:hover { background: #E6EEF7; }
.tkc-send { min-height: 52px; min-width: 150px; font-size: 15px; border-radius: 12px; }
.tkc-attpre { grid-column: 1 / -1; }
.tkc-chipatt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: #EEF4FB; color: var(--hx-navy); font-size: 12.5px; }
.tkc-chipatt small { color: var(--hx-muted); }
.tkc-chipatt button { border: 0; background: var(--ice, #fff); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; color: var(--hx-navy); }
.tkc-foot { margin-top: 12px; text-align: right; }

/* ───────────── buzón de denuncias e infracciones (46) ───────────── */
.dn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.dn-head h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; color: var(--hx-ink); }
.dn-head p { margin: 0; color: var(--hx-muted); font-size: 13.5px; }
.dn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dn-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto auto 70px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--hx-line); border-radius: 14px; background: var(--ice, #fff); box-shadow: 0 2px 10px rgba(15, 54, 84, .03); }
.dn-row.inf { grid-template-columns: 40px minmax(0, 1fr) auto auto auto 110px; }
.dn-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FDE8E8; color: #D93A41; font-size: 17px; }
.dn-row.review .dn-ic { background: #E8F1FB; color: var(--hx-navy); } .dn-row.resolved .dn-ic { background: #E8F6EE; color: #1F7A4D; }
.dn-ic.leve { background: #E8F1FB; color: var(--hx-navy); } .dn-ic.grave { background: #FFF4D6; color: #A27A12; } .dn-ic.muy_grave { background: #FDE8E8; color: #B42318; }
.dn-tx { display: grid; min-width: 0; } .dn-tx b { color: #1D3B5E; font-size: 14.5px; font-weight: 800; }
.dn-tx small { color: var(--hx-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-num { color: #8296AC; font-size: 12px; font-weight: 800; } .dn-row time { color: #7C90A6; font-size: 12.5px; white-space: nowrap; }
.dn-st { display: grid; justify-items: start; gap: 2px; } .dn-st small { color: var(--hx-muted); font-size: 11px; font-weight: 700; padding-left: 4px; }
.dn-sub { display: flex; align-items: center; gap: 8px; margin: 28px 0 2px; font-size: 17px; font-weight: 900; color: var(--hx-ink); }
.dn-sub i { color: #D99A1C; } .dn-subp { margin: 0 0 12px; color: var(--hx-muted); font-size: 13px; }
.dn-note { margin: 14px 0 0; display: flex; gap: 8px; color: var(--hx-muted); font-size: 12.5px; } .dn-note i { color: var(--hx-navy); margin-top: 2px; }
.dn-ban { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; padding: 12px 14px; border-radius: 12px; background: #7A1F1F; color: #fff; font-size: 13.5px; }
.hc-dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 13.5px; }
.hc-dl dt { color: var(--hx-muted); font-weight: 800; font-size: 12.5px; } .hc-dl dd { margin: 0; color: var(--hx-ink); overflow-wrap: anywhere; }
.hc-dl dd a { color: var(--hx-navy); font-weight: 800; }
.hc-reply { margin: 16px 0 6px; padding: 12px 14px; border-radius: 12px; background: #EEF4FB; border: 1px solid #DCE8F5; }
.hc-reply b { color: var(--hx-navy); font-size: 13px; } .hc-reply p { margin: 6px 0 0; font-size: 14px; color: #2C4560; }
.hc-attach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .hc-attach small { color: var(--hx-muted); font-size: 12.5px; }
.hc-pop .pfx-pop-head h3 { color: var(--hx-ink); }
.hc-sug-card { padding: 20px 22px; }

/* ───────────── documentos legales (48/56/57) ───────────── */
.lg-page { font-family: Lato, Arial, sans-serif; color: var(--hx-text); }
.lg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.lg-nav { position: sticky; top: 90px; padding: 16px 12px; border: 1px solid var(--hx-line); border-radius: 16px; background: var(--ice, #fff); box-shadow: var(--hx-shadow); }
.lg-nav-t { margin: 2px 8px 10px; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8296AC; }
.lg-nav nav, .lg-nav-more { display: grid; gap: 4px; }
.lg-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #2B4A6C; text-decoration: none; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.lg-nav a i { width: 18px; text-align: center; color: var(--hx-navy); flex: 0 0 auto; }
.lg-nav a:hover { background: #F2F6FB; color: var(--hx-navy); }
.lg-nav a.on { background: linear-gradient(180deg, #1E62A6, #154C82); color: #fff; box-shadow: 0 6px 14px rgba(21, 76, 130, .2); } .lg-nav a.on i { color: #fff; }
.lg-nav-more { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hx-line); }
.lg-main { min-width: 0; }
.lg-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--hx-line); border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #F7FAFD); box-shadow: var(--hx-shadow); }
.lg-head.compact { padding: 12px 16px; }
.lg-ic { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #1E62A6, #154C82); color: #fff; font-size: 21px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--hx-gold); }
.lg-ti { flex: 1; min-width: 0; }
.lg-ti h1 { margin: 0 0 4px; font-size: 23px; font-weight: 900; color: var(--hx-ink); line-height: 1.2; }
.lg-upd { margin: 0; color: var(--hx-muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lg-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lg-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.lg-toc { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow: auto; padding: 14px 10px; border: 1px solid var(--hx-line); border-radius: 14px; background: var(--ice, #fff); }
.lg-toc-t { display: block; margin: 0 8px 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8296AC; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lg-toc button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; color: #3C5873; font: 600 13px/1.3 Lato, Arial, sans-serif; cursor: pointer; border-left: 3px solid transparent; }
.lg-toc button:hover { background: #F2F6FB; color: var(--hx-navy); }
.lg-toc button.on { background: #EAF2FB; color: var(--hx-navy); font-weight: 800; border-left-color: var(--hx-navy); }
.lg-view { --au-blue: #154C82; --au-dark: #0F3654; --au-muted: #6B7F95; }
.lg-doc { min-width: 0; padding: 4px 6px 10px; font-size: 14.5px; line-height: 1.7; color: var(--hx-text); }
.lg-heading { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: .08em; color: var(--hx-navy); }
.lg-lead { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--hx-cream); border: 1px solid #F1E3BE; color: #5B4A22; }
.lg-doc section { margin: 0 0 18px; scroll-margin-top: 100px; }
.lg-doc h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 900; color: var(--hx-ink); }
.lg-doc p { margin: 0 0 8px; } .lg-doc ul { margin: 6px 0 10px; padding-left: 20px; } .lg-doc li { margin: 4px 0; } .lg-doc li::marker { color: var(--hx-gold2); }
.lg-doc a { color: var(--hx-navy); font-weight: 700; }
.lg-doc .au-accept { margin-top: 24px; }
.lg-form { margin-top: 4px; }
.lg-form .au-contact, .lg-form .au-info { max-width: 760px; }
.lg-panel .lg-view { margin-top: 2px; }
.lg-panel .lg-body { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
.lg-panel-more { margin: 14px 0 0; }
.lg-accept-form { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--hx-line); border-radius: 14px; background: #FAFCFE; }
.lg-print { display: none; }
@media print {
  html.lg-printing body > *:not(.lg-print) { display: none !important; }
  html.lg-printing body { background: var(--ice, #fff) !important; padding: 0 !important; margin: 0 !important; }
  html.lg-printing .lg-print { display: block !important; color: #111; font: 10.5pt/1.55 Lato, Arial, sans-serif; padding: 0 6mm; }
  .lg-print header { border-bottom: 2px solid #154C82; padding-bottom: 8px; margin-bottom: 12px; }
  .lg-print header img { height: 34px; width: auto; }
  .lg-print h1 { font-size: 18pt; color: #0B2D52; margin: 8px 0 2px; } .lg-print header p { margin: 0; color: #555; font-size: 9pt; }
  .lg-print h2 { font-size: 10pt; letter-spacing: .08em; color: #154C82; margin: 10px 0 6px; }
  .lg-print h3 { font-size: 11.5pt; color: #0B2D52; margin: 12px 0 4px; page-break-after: avoid; }
  .lg-print section { page-break-inside: avoid; } .lg-print a { color: #111; text-decoration: none; }
  .lg-print footer { margin-top: 16px; padding-top: 8px; border-top: 1px solid #ccc; font-size: 8.5pt; color: #666; }
}

/* ───────────── responsive ───────────── */
@media (max-width: 1100px) {
  .hc-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .lg-body { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .hc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hc-grid { grid-template-columns: minmax(0, 1fr); } .hc-side { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lg-nav { position: static; padding: 10px; }
  .lg-nav-t { display: none; }
  .lg-nav nav, .lg-nav-more { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lg-nav nav::-webkit-scrollbar, .lg-nav-more::-webkit-scrollbar { display: none; }
  .lg-nav a { white-space: nowrap; flex: 0 0 auto; padding: 9px 12px; background: #F4F7FB; }
  .lg-nav-more { margin-top: 8px; padding-top: 8px; }
  .tk-table .hx-tr { grid-template-columns: minmax(0, 2.4fr) .9fr 1.1fr .9fr; } .tk-table .hx-tr > :nth-child(2) { display: none; }
}
@media (max-width: 760px) {
  .lg-body, .lg-panel .lg-body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lg-toc { position: static; max-height: none; padding: 8px; }
  .lg-toc ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .lg-toc ol::-webkit-scrollbar { display: none; }
  .lg-toc li { flex: 0 0 auto; } .lg-toc button { white-space: nowrap; background: #F4F7FB; border-left: 0; }
  .lg-toc button.on { border-left: 0; }
  .lg-toc-t { display: none; }
  .lg-head { flex-wrap: wrap; padding: 14px; gap: 12px; } .lg-ti h1 { font-size: 19px; } .lg-ic { width: 44px; height: 44px; font-size: 18px; }
  .lg-tools { width: 100%; justify-content: stretch; } .lg-tools .hx-btn { flex: 1; }
}
@media (max-width: 720px) {
  .hc-head h1 { font-size: 22px; }
  .hc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hc-tile { min-height: 84px; font-size: 12px; padding: 10px 6px; } .hc-tile i { font-size: 19px; }
  .hc-side { grid-template-columns: minmax(0, 1fr); }
  .hc-a { margin-left: 0; }
  .hc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .hc-tabs::-webkit-scrollbar { display: none; }
  .hc-tabs > button { flex: 1 0 auto; padding: 0 12px; }
  .hx-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -2px; padding: 2px; } .hx-pills::-webkit-scrollbar { display: none; }
  .hx-pills > button { min-width: 0; flex: 0 0 auto; }
  .hx-search.sm { min-width: 0; width: 100%; }
  .tk-hero { padding-left: 14px; } .tk-hero-tx span { display: none; }
  .tk-bar { display: grid; gap: 0; }
  .tk-table { border: 0; background: none; overflow: visible; display: grid; gap: 10px; }
  .tk-table .hx-th { display: none; }
  .tk-table .hx-tr { grid-template-columns: 1fr auto; gap: 6px 10px; border: 1px solid var(--hx-line); border-radius: 14px; background: var(--ice, #fff); padding: 12px; }
  .tk-table .hx-tr > :nth-child(1) { grid-column: 1 / -1; } .tk-table .hx-tr > :nth-child(2) { display: none; }
  .tk-table .hx-tr > :nth-child(3), .tk-table .hx-tr > :nth-child(4) { font-size: 12px; color: var(--hx-muted); }
  .tk-table .hx-tr > :nth-child(3)::before { content: attr(data-label) " · "; } .tk-table .hx-tr > :nth-child(5) { grid-row: 2 / span 2; grid-column: 2; align-self: center; }
  .tkc-head { flex-wrap: wrap; padding: 14px; } .tkc-head .pfx-avatar { width: 48px !important; height: 48px !important; } .tkc-ti h2 { font-size: 18px; }
  .tkc-num { width: 100%; order: 3; }
  .tkc-msg { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; } .tkc-msg .pfx-avatar { width: 32px !important; height: 32px !important; }
  .tkc-bub { padding: 10px 12px; } .tkc-bub header { flex-wrap: wrap; } .tkc-bub header time { margin-left: 0; width: 100%; }
  .tkc-comp { grid-template-columns: minmax(0, 1fr); } .tkc-send { width: 100%; min-height: 46px; }
  .dn-head { flex-direction: column; } .dn-head .hx-btn { width: 100%; }
  .dn-row, .dn-row.inf { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px; }
  .dn-ic { width: 36px; height: 36px; grid-row: span 2; }
  .dn-num { display: none; } .dn-row time { grid-column: 2; grid-row: 2; font-size: 11.5px; }
  .dn-st { grid-column: 3; grid-row: 1; } .dn-row > .hx-btn, .dn-row > span:last-child { grid-column: 3; grid-row: 2; }
  .hc-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .hc-dl dd { margin-bottom: 8px; }
}

/* ── «Nuevo ticket» (diseño 2026) ── */
.tkf-pop .pfx-pop { border-radius: 24px; }
.tkf-pop .pfx-pop-body { padding: 0 !important; }
.tkf { color: #0B2D52; font-family: Lato, Arial, sans-serif; }
.tkf-head { display: flex; align-items: center; gap: 20px; padding: 22px 26px 20px; background: linear-gradient(180deg, #F4F8FE, #FBFDFF); border-bottom: 1px solid #E6EDF5; border-radius: 24px 24px 0 0; }
.tkf-hic { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 20px; background: #E2EDFC; color: #2C6BD1; display: grid; place-items: center; font-size: 32px; }
.tkf-ht { flex: 1; min-width: 0; } .tkf-ht h2 { margin: 0; font-size: 34px; font-weight: 900; letter-spacing: -.01em; color: #0B2D52; line-height: 1.1; } .tkf-ht p { margin: 6px 0 0; color: #4F6680; font-size: 16px; }
.tkf-x { flex: 0 0 auto; align-self: flex-start; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #EDF2F8; color: #0B2D52; font-size: 20px; cursor: pointer; }
.tkf-x:hover { background: #E2EAF4; }
.tkf-body { padding: 24px 30px 26px; }
.tkf-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.tkf-l { font-size: 18px; font-weight: 900; color: #0B2D52; } .tkf-l em { color: #D23B3B; font-style: normal; margin-left: 4px; }
.tkf-hint { display: inline-flex; align-items: center; gap: 8px; color: #4F6680; font-size: 14px; } .tkf-hint i { color: #2C6BD1; font-size: 15px; }
.tkf-sel-btn { width: 100%; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 18px 0 10px; border: 1.5px solid #D5DEE8; border-radius: 14px; background: var(--ice, #fff); color: #0B2D52; font: 500 16.5px/1 Lato, Arial, sans-serif; cursor: pointer; text-align: left; }
.tkf-sel-btn:hover { border-color: #9DBDE8; } .tkf-sel.open .tkf-sel-btn, .tkf-sel-btn:focus-visible { border-color: #2C6BD1; box-shadow: 0 0 0 4px rgba(44, 107, 209, .12); outline: none; }
.tkf-sel-btn.bad { border-color: #D23B3B; }
.tkf-sel-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #EEF4FC; color: #2C6BD1; display: grid; place-items: center; font-size: 19px; }
.tkf-sel-v { flex: 1; min-width: 0; } .tkf-sel-v b { font-weight: 800; }
.tkf-sel-chev { color: #2C6BD1; font-size: 16px; transition: transform .15s; } .tkf-sel.open .tkf-sel-chev { transform: rotate(180deg); }
.tkf-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin-top: 8px; padding: 10px; border: 1px solid #E3EAF2; border-radius: 16px; background: var(--ice, #fff); box-shadow: 0 14px 34px rgba(15, 54, 84, .12); }
.tkf-menu[hidden] { display: none; }
.tkf-opt { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: left; color: #0B2D52; font-family: inherit; }
.tkf-opt:hover, .tkf-opt:focus-visible { background: #F1F6FD; outline: none; } .tkf-opt.on { background: #E5EFFC; }
.tkf-oi { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: #EEF4FC; color: #2C6BD1; display: grid; place-items: center; font-size: 21px; }
.tkf-opt.on .tkf-oi { background: var(--ice, #fff); }
.tkf-ot { min-width: 0; display: grid; gap: 4px; } .tkf-ot b { font-size: 15.5px; font-weight: 800; } .tkf-ot small { color: #4F6680; font-size: 13.5px; line-height: 1.35; }
.tkf-err { margin: 6px 0 0; color: #D23B3B; font-size: 13px; font-weight: 700; } .tkf-err:empty { display: none; }
.tkf-sel + .tkf-err + .tkf-row, .tkf-sel + .tkf-err:empty + .tkf-row { margin-top: 22px; }
.tkf-ta { position: relative; }
.tkf-ta textarea { display: block; width: 100%; min-height: 150px; resize: vertical; border: 1.5px solid #D5DEE8; border-radius: 14px; padding: 16px 18px 34px; font: 400 16px/1.5 Lato, Arial, sans-serif; color: #0B2D52; background: var(--ice, #fff); box-sizing: border-box; }
.tkf-ta textarea:focus { outline: none; border-color: #2C6BD1; box-shadow: 0 0 0 4px rgba(44, 107, 209, .12); } .tkf-ta textarea.bad { border-color: #D23B3B; }
.tkf-ta textarea::placeholder { color: #8C9BAE; }
.tkf-count { position: absolute; right: 26px; bottom: 12px; color: #6B7F95; font-size: 14px; font-variant-numeric: tabular-nums; pointer-events: none; }
.tkf-att { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 18px 20px; border: 1.5px dashed #C9D6E5; border-radius: 16px; background: #FBFDFF; }
.tkf-att-ic { flex: 0 0 auto; color: #2C6BD1; font-size: 28px; transform: rotate(-35deg); width: 40px; text-align: center; }
.tkf-att-t { flex: 1; min-width: 0; display: grid; gap: 6px; } .tkf-att-t b { font-size: 17px; font-weight: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tkf-att-t small { color: #4F6680; font-size: 14px; word-break: break-word; }
.tkf-pill { font-size: 13px; font-weight: 600; color: #55687E; background: #EDF2F8; border-radius: 999px; padding: 4px 11px; }
.tkf-att-btn { flex: 0 0 auto; height: 52px; padding: 0 22px; border: 1.5px solid #D5DEE8; border-radius: 14px; background: var(--ice, #fff); color: #0B2D52; font: 800 16px Lato, Arial, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.tkf-att-btn i { color: #2C6BD1; } .tkf-att-btn:hover { border-color: #9DBDE8; } .tkf-att-btn:disabled { opacity: .6; cursor: wait; }
.tkf-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.tkf-safe { flex: 0 1 620px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: #EEF4FC; }
.tkf-safe > i { color: #2C6BD1; font-size: 28px; } .tkf-safe b { display: block; font-size: 15px; font-weight: 900; } .tkf-safe small { display: block; margin-top: 4px; color: #4F6680; font-size: 13px; line-height: 1.4; }
.tkf-btns { display: flex; gap: 14px; flex: 0 0 auto; }
.tkf-cancel { height: 56px; padding: 0 26px; border: 1.5px solid #DCE4EE; border-radius: 16px; background: #F3F6FA; color: #0B2D52; font: 800 17px Lato, Arial, sans-serif; cursor: pointer; }
.tkf-cancel:hover { background: #EAF0F7; }
.tkf-send { height: 58px; padding: 0 28px; border: 0; border-radius: 16px; background: linear-gradient(180deg, #2E8BF8, #1C6FE2); color: #fff; font: 800 17px Lato, Arial, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 10px 22px rgba(28, 111, 226, .32); }
.tkf-send:hover { filter: brightness(1.05); } .tkf-send:disabled { opacity: .7; cursor: wait; }
@media (max-width: 760px) {
  .tkf-head { padding: 16px 16px 14px; gap: 14px; } .tkf-hic { width: 54px; height: 54px; font-size: 24px; border-radius: 16px; } .tkf-ht h2 { font-size: 24px; } .tkf-ht p { font-size: 14px; } .tkf-x { width: 42px; height: 42px; font-size: 17px; }
  .tkf-body { padding: 18px 16px 18px; } .tkf-hint { font-size: 12.5px; } .tkf-menu { grid-template-columns: minmax(0, 1fr); }
  .tkf-att { flex-wrap: wrap; } .tkf-att-btn { width: 100%; justify-content: center; }
  .tkf-foot { flex-direction: column; align-items: stretch; } .tkf-safe { flex-basis: auto; } .tkf-btns { display: grid; grid-template-columns: 1fr 1.4fr; } .tkf-cancel, .tkf-send { width: 100%; justify-content: center; }
}
