/* PrivilegeFans v33 · módulo «admin» · panel de administración (diseño 2026: plantillas 49, 55, 56, 57 y 58) y barra de la llave maestra.
   Usa las piezas comunes hx-/hc-/tkc- de m-ajustes2-ayuda.css (botones, chips, pestañas, buscador, tablas, tarjetas y conversación). */
.adm-page { font-family: Lato, Arial, sans-serif; color: #3C5068; }
.adm-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; }
.adm-side { position: sticky; top: 90px; padding: 16px 12px; border: 1px solid #E9EEF4; border-radius: 16px; background: var(--ice, #fff); box-shadow: 0 4px 18px rgba(15, 54, 84, .05); }
.adm-side-t { display: flex; align-items: center; gap: 8px; margin: 2px 8px 12px; padding-bottom: 12px; border-bottom: 1px solid #E9EEF4; font-size: 16px; font-weight: 900; color: #0B2D52; }
.adm-side-t i { color: #B18937; }
.adm-nav { display: grid; gap: 4px; }
.adm-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #2B4A6C; text-decoration: none; font-size: 14px; font-weight: 700; }
.adm-nav a i { width: 18px; text-align: center; color: #154C82; }
.adm-nav a span { flex: 1; }
.adm-nav a:hover { background: #F2F6FB; }
.adm-nav a.on { background: linear-gradient(180deg, #1E62A6, #154C82); color: #fff; box-shadow: 0 6px 14px rgba(21, 76, 130, .2); } .adm-nav a.on i { color: #fff; }
.adm-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #D93A41; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.adm-nav a.on .adm-count { background: #F0C12C; color: #3B2A00; }
.adm-count[hidden] { display: none; }   /* sin pendientes no se pinta la burbuja (antes se veía un 0 rojo en cada sección) */
.adm-main { min-width: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.adm-head h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 22px; font-weight: 900; color: #0B2D52; }
.adm-head-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EAF2FB; color: #154C82; font-size: 17px; }
.adm-head-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-h2 { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 16px; font-weight: 900; color: #0B2D52; }
.adm-h2 i { color: #154C82; } .adm-h2 b { min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: #EAF2FB; color: #154C82; font-size: 12px; display: inline-grid; place-items: center; }
.adm-off .pfx-empty { padding: 40px 16px; }
.adm-foot { margin: 12px 2px 0; color: #6B7F95; font-size: 12.5px; }
.adm-hint { display: flex; gap: 8px; margin: -4px 0 14px; color: #6B7F95; font-size: 12.5px; line-height: 1.45; } .adm-hint i { color: #154C82; margin-top: 2px; }
.adm-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #EEF4FB; border: 1px solid #DCE8F5; color: #24476D; font-size: 13px; }
.adm-note.warn { background: #FDF8EE; border-color: #F1E3BE; color: #7A5B12; }
.adm-muted { color: #6B7F95; } .adm-muted.small { font-size: 12px; }
.adm-sel { height: 40px; padding: 0 34px 0 12px; border: 1px solid #DCE6F1; border-radius: 10px; background: #F7F9FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23154C82' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center no-repeat; -webkit-appearance: none; appearance: none; font: 700 13px Lato, Arial, sans-serif; color: #154C82; cursor: pointer; }
.adm-sel:focus { outline: none; border-color: #8DB3DA; box-shadow: 0 0 0 3px rgba(21, 76, 130, .1); }

/* ── usuarios (49) ── */
.adm-utable .hx-tr { grid-template-columns: minmax(0, 2.6fr) .9fr 1.1fr .9fr .9fr 130px; }
.adm-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-user > span { display: grid; min-width: 0; }
.adm-user b { color: #154C82; font-weight: 900; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-user a, .adm-user small { font-size: 12px; color: #6B7F95; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-user a { color: #2F6FBA; font-weight: 700; }
.adm-acts { display: flex; gap: 6px; justify-content: flex-end; }
.adm-ib { width: 34px; height: 34px; border-radius: 10px; border: 1px solid #E1E9F2; background: #F7F9FC; color: #154C82; display: inline-grid; place-items: center; cursor: pointer; text-decoration: none; font-size: 14px; }
.adm-ib:hover { background: #EAF2FB; border-color: #BFD2E6; }

/* ── verificaciones ── */
.adm-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.adm-verif { padding: 16px 18px; }
.adm-verif header, .adm-appeal header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.adm-verif header > div, .adm-appeal header > div { flex: 1; min-width: 0; }
.adm-verif header b, .adm-appeal header b { color: #0B2D52; }
.adm-verif header small, .adm-appeal header small { display: block; color: #6B7F95; font-size: 12px; margin-top: 2px; }
.adm-handle, .adm-appeal header a { color: #2F6FBA; font-weight: 800; text-decoration: none; margin-left: 4px; }
.adm-data { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; margin: 0 0 12px; }
.adm-data dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #94A3B8; font-weight: 800; }
.adm-data dd { margin: 2px 0 0; color: #0B2D52; font-weight: 700; }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 12px; }
.adm-ph { margin: 0; border: 1px solid #E3E8EF; border-radius: 12px; overflow: hidden; background: #F1F5F9; }
.adm-ph img { display: block; width: 100%; height: 220px; object-fit: contain; background: #0F172A; cursor: zoom-in; }
.adm-ph span { display: grid; place-items: center; height: 220px; color: #94A3B8; font-size: 28px; }
.adm-ph figcaption { padding: 6px 10px; font-size: 12px; color: #475569; }
.adm-v-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-methods { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.adm-methods li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E9EEF4; border-radius: 12px; background: #FAFCFE; }
.adm-methods li > i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #EAF2FB; color: #154C82; }
.adm-methods li span { flex: 1; display: grid; } .adm-methods li small { color: #6B7F95; font-size: 12px; }

/* ── moderación (55) ── */
.adm-mtable .hx-tr { grid-template-columns: 88px 70px minmax(0, 2.4fr) 1fr 210px; }
.adm-mtable.removed .hx-tr { grid-template-columns: 88px 70px minmax(0, 2.2fr) 1fr minmax(0, 1.2fr); }
.adm-thumb { position: relative; width: 84px; height: 62px; border-radius: 10px; overflow: hidden; background: #EEF3F9; display: grid; place-items: center; color: #7C90A6; font-size: 20px; }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-thumb.priv::after { content: "\f023"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(11, 45, 82, .75); color: #F0C12C; font-size: 9px; display: grid; place-items: center; }
.adm-thumb b { position: absolute; right: 5px; bottom: 5px; padding: 1px 6px; border-radius: 999px; background: rgba(11, 45, 82, .75); color: #fff; font-size: 10px; }
.adm-kind { display: flex; align-items: center; gap: 8px; color: #154C82; flex-wrap: wrap; } .adm-kind .fa-lock { color: #B18937; font-size: 12px; }
.adm-desc { display: grid; gap: 3px; min-width: 0; position: relative; }
.adm-desc b { color: #1D3B5E; font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.adm-desc small { color: #6B7F95; font-size: 12px; } .adm-desc a { color: #2F6FBA; font-weight: 700; text-decoration: none; }
.adm-desc .tk-dot { position: absolute; right: 0; top: 4px; }
.adm-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; } .adm-reasons .hx-chip { height: 22px; font-size: 11px; padding: 0 8px; }
.adm-mods { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; } .adm-mods small { text-align: right; color: #6B7F95; }
.adm-pop .pfx-field textarea { margin-top: 8px; }

/* ── denuncias (56) y reclamaciones ── */
.adm-views { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 12px; background: #EEF3F9; }
.adm-views button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: #154C82; font: 800 13px Lato, Arial, sans-serif; cursor: pointer; }
.adm-views button.on { background: var(--ice, #fff); box-shadow: 0 2px 8px rgba(15, 54, 84, .1); }
.adm-views b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #D93A41; color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.adm-rbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.adm-rbar-r { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.adm-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #F2F5F9; margin-bottom: 14px; }
.adm-seg button { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #4A6380; font: 700 12.5px Lato, Arial, sans-serif; cursor: pointer; }
.adm-seg button.on { background: var(--ice, #fff); color: #154C82; box-shadow: 0 2px 8px rgba(15, 54, 84, .08); }
.adm-seg b { color: #154C82; }
.adm-rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adm-rrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto auto 76px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #E9EEF4; border-radius: 14px; background: var(--ice, #fff); box-shadow: 0 2px 10px rgba(15, 54, 84, .03); }
.adm-rdot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #D93A41; font-size: 20px; }
.adm-rrow.resolved .adm-rdot { color: #2E9E62; } .adm-rrow.review .adm-rdot { color: #2F6FBA; }
.adm-rtx { display: grid; min-width: 0; } .adm-rtx b { color: #1D3B5E; font-size: 14.5px; font-weight: 800; }
.adm-rtx small { color: #6B7F95; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-rnum { color: #8296AC; font-size: 12px; font-weight: 800; } .adm-rrow time { color: #7C90A6; font-size: 12.5px; }
.adm-rdet .hc-dl { margin-bottom: 14px; }
.adm-target { padding: 12px 14px; border-radius: 12px; border: 1px solid #E9EEF4; background: #FAFCFE; margin-bottom: 14px; }
.adm-target > b { color: #0B2D52; font-size: 13px; }
.adm-target-in { display: flex; gap: 12px; margin-top: 8px; align-items: flex-start; }
.adm-target-in img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.adm-target-in p { margin: 4px 0; font-size: 13.5px; color: #2C4560; } .adm-target-in a { color: #2F6FBA; font-weight: 800; text-decoration: none; font-size: 13px; }
.adm-rform fieldset { border: 0; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adm-rform legend { font-weight: 900; color: #0B2D52; font-size: 13px; margin-bottom: 8px; }
.adm-radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #DCE6F1; border-radius: 12px; cursor: pointer; background: var(--ice, #fff); }
.adm-radio:has(input:checked) { border-color: #154C82; background: #F2F7FD; box-shadow: inset 0 0 0 1px #154C82; }
.adm-radio span { display: grid; } .adm-radio small { color: #6B7F95; font-size: 12px; }
.adm-upheld { margin-bottom: 8px; display: grid; gap: 8px; }
.adm-appeal { padding: 14px 16px; }
.adm-inf { margin: 0 0 8px; color: #2C4560; font-size: 13.5px; } .adm-inf i { color: #D99A1C; }
.adm-appeal blockquote { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid #154C82; border-radius: 0 10px 10px 0; background: #F4F8FD; display: grid; gap: 4px; font-size: 13.5px; color: #2C4560; }
.adm-appeal blockquote b { font-size: 12px; color: #154C82; }

/* ── soporte ── */
.adm-ttable .hx-tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.2fr) .8fr 1fr .9fr; }
.adm-tkc .tkc-head { align-items: flex-start; }
.adm-tctl { display: grid; gap: 8px; justify-items: end; }
.adm-tctl label { display: flex; align-items: center; gap: 8px; color: #6B7F95; font-size: 12px; font-weight: 800; }
.adm-tctl .adm-sel { height: 34px; }
.adm-comp { grid-template-columns: minmax(0, 1fr); }
.adm-comp-b { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ── ingresos (57) ── */
.adm-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.adm-filters .hx-search { min-width: 300px; }
.adm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.adm-kpi { position: relative; padding: 16px 18px; display: grid; gap: 4px; }
.adm-kpi small { color: #6B7F95; font-size: 12.5px; font-weight: 800; }
.adm-kpi b { color: #0B2D52; font-size: 24px; font-weight: 900; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.adm-kpi-ic { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #EAF2FB; color: #154C82; font-size: 14px; }
.adm-delta { font-style: normal; font-size: 12px; font-weight: 800; color: #6B7F95; display: inline-flex; gap: 4px; align-items: center; }
.adm-delta.up { color: #1F9D55; } .adm-delta.down { color: #C2410C; }
.adm-chart { padding: 16px 18px 10px; margin-bottom: 16px; }
.adm-chart header, .adm-bycreator header, .adm-kinds header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.adm-chart h2, .adm-bycreator h2, .adm-kinds h2 { margin: 0; font-size: 16px; font-weight: 900; color: #0B2D52; }
.adm-chart header small, .adm-bycreator header small, .adm-kinds header small { color: #6B7F95; font-size: 12px; }
.adm-area { position: relative; }
.adm-area svg { display: block; width: 100%; height: 240px; overflow: visible; }
.adm-area text { fill: #8A9CB0; font: 11px Lato, Arial, sans-serif; }
.adm-area .g { stroke: #EDF1F6; stroke-width: 1; }
.adm-area .guide { stroke: #9DB7D3; stroke-dasharray: 4 4; }
.adm-area .dot { fill: #fff; stroke: #2F6FBA; stroke-width: 3; }
.adm-tip { position: absolute; transform: translateX(-50%); padding: 7px 12px; border-radius: 10px; background: #0F3A66; color: #fff; text-align: center; pointer-events: none; box-shadow: 0 8px 18px rgba(11, 45, 82, .3); display: grid; }
.adm-tip b { font-size: 14px; } .adm-tip span { font-size: 11px; opacity: .8; }
.adm-two { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.adm-bycreator, .adm-kinds { padding: 16px 18px; }
.adm-ctable { border: 0; } .adm-ctable .hx-tr { grid-template-columns: minmax(0, 1.8fr) 1fr .9fr .6fr 1fr; padding-left: 4px; padding-right: 4px; }
.adm-ctable .hx-th { background: none; }
.adm-pbar { height: 10px; border-radius: 999px; background: #EEF2F6; overflow: hidden; display: block; }
.adm-pbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #E2B53A, #B8891F); }
.adm-kinds ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 2px; }
.adm-kinds li { display: grid; grid-template-columns: 1fr auto 40px; gap: 10px; padding: 9px 2px; border-top: 1px solid #F0F3F7; font-size: 13.5px; }
.adm-kinds li:first-child { border-top: 0; } .adm-kinds li b { color: #0B2D52; font-variant-numeric: tabular-nums; } .adm-kinds li small { color: #8A9CB0; text-align: right; }

/* ── configuración (58) ── */
.adm-cfg { display: block; }
/* sub-apartados de Configuración: viven dentro de la barra izquierda, justo bajo «Configuración» */
.adm-nav .adm-sub { display: grid; gap: 2px; margin: -1px 0 6px 21px; padding: 6px 0 6px 12px; border-left: 2px solid #D5E1EE; }
.adm-nav .adm-sub button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: #3C5068; font: 700 13.5px Lato, Arial, sans-serif; text-align: left; cursor: pointer; }
.adm-nav .adm-sub button i { width: 16px; text-align: center; color: #6B8CB0; font-size: 12.5px; }
.adm-nav .adm-sub button:hover { background: #F2F6FB; color: #0B2D52; }
.adm-nav .adm-sub button.on { background: #E6EFFA; color: #0B2D52; box-shadow: inset 3px 0 0 #B18937; } .adm-nav .adm-sub button.on i { color: #154C82; }
.adm-cfg-main { display: grid; gap: 20px; max-width: 1040px; }
.adm-cfg-main .hc-card { padding: 26px 30px; border-radius: 18px; scroll-margin-top: 100px; }
.adm-cfg-main h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid #EEF2F7; font-size: 20px; font-weight: 900; color: #0B2D52; }
.adm-cfg-main h2 i { color: #B18937; font-size: 19px; }
.adm-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 0; border-top: 1px solid #F0F3F7; font-size: 16px; }
.adm-kv:first-of-type { border-top: 0; } .adm-kv b { color: #0B2D52; justify-self: end; }
.adm-sw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid #F0F3F7; }
.adm-sw:first-of-type { border-top: 0; } .adm-sw b { display: block; margin-bottom: 3px; color: #0B2D52; font-size: 17px; } .adm-sw small { display: block; color: #5E7288; font-size: 14.5px; line-height: 1.45; }
.adm-cfg-main .adm-note { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: #F4F7FB; font-size: 14.5px; line-height: 1.5; }
.adm-cfg-main textarea { font-size: 16px; padding: 14px 16px; min-height: 96px; }
.adm-cfg-main .pfx-field { margin-top: 10px; } .adm-cfg-main .pfx-field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 800; color: #0B2D52; }
.adm-cfg-save { display: flex; justify-content: flex-end; }
.adm-cfg-save .hx-btn { min-width: 280px; min-height: 54px; font-size: 17px; border-radius: 14px; }
.adm-audit { list-style: none; margin: 0; padding: 0; display: grid; }
.adm-audit li { display: grid; grid-template-columns: 170px 190px minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-top: 1px solid #F0F3F7; font-size: 14.5px; align-items: baseline; }
.adm-audit li:first-child { border-top: 0; } .adm-audit time { color: #8A9CB0; } .adm-audit b { color: #0B2D52; } .adm-audit small { color: #2F6FBA; font-weight: 800; }

/* ── Ajustes → Administración (resumen) ── */
.adm-hub { display: grid; gap: 16px; }
.adm-hub-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.adm-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.adm-tile { position: relative; }
.adm-tile b { font-size: 20px; color: #0B2D52; line-height: 1; } .adm-tile b.on { color: #D93A41; }
.adm-tile small { color: #6B7F95; font-size: 11px; font-weight: 700; margin-top: -6px; }
.adm-hub > .hx-btn { justify-self: start; }

/* ── barra de la llave maestra ── */
.adm-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 12000; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #0F3654; color: #fff; font-size: 13px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.adm-bar i { color: #F0C12C; }
.adm-bar span { flex: 1; }
.adm-bar button { border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.adm-bar button:hover { background: rgba(255, 255, 255, .12); }
html.pf-adm-on body { padding-top: 40px; }

/* ── responsive ── */
@media (max-width: 1200px) {
  .adm-utable .hx-tr { grid-template-columns: minmax(0, 2.4fr) .9fr 1.1fr .9fr 120px; } .adm-utable .hx-tr > :nth-child(5) { display: none; }
  .adm-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .adm-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .adm-side { position: static; padding: 8px; }
  .adm-side-t { display: none; }
  .adm-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .adm-nav::-webkit-scrollbar { display: none; }
  .adm-nav a { flex: 0 0 auto; white-space: nowrap; background: #F4F7FB; padding: 9px 12px; }
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-nav .adm-sub { display: contents; } .adm-nav .adm-sub button { flex: 0 0 auto; white-space: nowrap; background: var(--ice, #fff); border: 1px dashed #BCCDE0; padding: 9px 12px; } .adm-nav .adm-sub button.on { background: #E6EFFA; border-style: solid; box-shadow: none; }
  .adm-cfg-main .hc-card { padding: 20px 18px; } .adm-cfg-main h2 { font-size: 18px; }
  .adm-mtable .hx-tr { grid-template-columns: 76px minmax(0, 1fr) 190px; } .adm-mtable .hx-tr > :nth-child(2), .adm-mtable .hx-tr > :nth-child(4) { display: none; }
  .adm-mtable.removed .hx-tr { grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr); }
  .adm-ttable .hx-tr { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) .9fr; } .adm-ttable .hx-tr > :nth-child(3), .adm-ttable .hx-tr > :nth-child(4) { display: none; }
  .adm-hub-stats, .adm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .adm-head h1 { font-size: 19px; } .adm-head-ic { width: 34px; height: 34px; font-size: 15px; }
  .adm-head-r, .adm-head-r .hx-search { width: 100%; }
  .hx-table.adm-utable, .hx-table.adm-mtable, .hx-table.adm-ttable { border: 0; background: none; overflow: visible; display: grid; gap: 10px; }
  .adm-utable .hx-th, .adm-mtable .hx-th, .adm-ttable .hx-th { display: none; }
  .adm-utable .hx-tr, .adm-mtable .hx-tr, .adm-ttable .hx-tr { border: 1px solid #E9EEF4; border-radius: 14px; background: var(--ice, #fff); padding: 12px; }
  .adm-utable .hx-tr { grid-template-columns: 1fr auto; } .adm-utable .hx-tr > :nth-child(1) { grid-column: 1 / -1; }
  .adm-utable .hx-tr > :nth-child(2), .adm-utable .hx-tr > :nth-child(4) { font-size: 12px; color: #6B7F95; } .adm-utable .hx-tr > :nth-child(6) { grid-column: 1 / -1; justify-self: stretch; justify-content: flex-start; }
  .adm-mtable .hx-tr { grid-template-columns: 72px minmax(0, 1fr); } .adm-mtable .hx-tr > :nth-child(5) { grid-column: 1 / -1; justify-content: stretch; } .adm-mtable .hx-tr > :nth-child(5) .hx-btn { flex: 1; }
  .adm-ttable .hx-tr { grid-template-columns: 1fr auto; } .adm-ttable .hx-tr > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; } .adm-ttable .hx-tr > :nth-child(5) { grid-row: 1; grid-column: 2; }
  .adm-rrow { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 6px 10px; } .adm-rnum { display: none; } .adm-rrow time { grid-column: 2; grid-row: 2; font-size: 11.5px; }
  .adm-rrow .hx-chip { grid-column: 3; grid-row: 1; } .adm-rrow .hx-btn { grid-column: 3; grid-row: 2; } .adm-rdot { grid-row: span 2; }
  .adm-rbar-r, .adm-filters { width: 100%; } .adm-filters .hx-search { min-width: 0; flex: 1 1 100%; }
  .adm-kpis { gap: 10px; } .adm-kpi { padding: 12px 14px; } .adm-kpi b { font-size: 19px; } .adm-kpi-ic { display: none; }
  .adm-ctable .hx-tr { grid-template-columns: minmax(0, 1.6fr) 1fr .8fr; } .adm-ctable .hx-tr > :nth-child(3), .adm-ctable .hx-tr > :nth-child(5) { display: none; }
  .adm-rform fieldset { grid-template-columns: minmax(0, 1fr); }
  .adm-tkc .tkc-head { flex-wrap: wrap; } .adm-tctl { width: 100%; justify-items: start; grid-template-columns: 1fr 1fr; } .adm-tctl .tkc-num { grid-column: 1 / -1; }
  .adm-audit li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .adm-sw b { font-size: 16px; } .adm-kv { font-size: 15px; }
  .adm-cfg-save .hx-btn { width: 100%; }
  .adm-bar { font-size: 12px; padding: 7px 10px; }
}

.adm-qh { margin: 26px 0 12px; font: 800 18px Lato, sans-serif; color: #0B2D52; } .adm-qh i { color: #B18937; margin-right: 8px; }
.adm-qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; } .adm-qcard { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #E3EAF2; border-radius: 12px; background: var(--ice, #fff); }
.adm-qthumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: #EEF3F9; overflow: hidden; color: #6B7F95; font-size: 30px; } .adm-qthumb img { width: 100%; height: 100%; object-fit: cover; } .adm-qthumb > i { position: absolute; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ── Privilege Hot · cuota semanal ── */
.adm-htable .hx-tr { grid-template-columns: minmax(0, 2.2fr) 1.3fr .9fr 1.3fr 1.2fr; }

/* Portadas de la web */
.adm-hero-sec { margin: 18px 0 26px; } .adm-hero-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; } .adm-hero-h h3 { margin: 0; font-size: 18px; color: var(--pfx-blue, #154C82); } .adm-hero-h .pfx-btn { margin-left: auto; }
.adm-hero-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.adm-hero-it { margin: 0; border: 1px solid #e1e8f0; border-radius: 14px; overflow: hidden; background: var(--ice, #fff); display: grid; } .adm-hero-it img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #0b1530; } .adm-hero-it.off img { filter: grayscale(.85) brightness(.7); }
.adm-hero-it figcaption { display: grid; gap: 8px; padding: 10px; } .adm-hero-act { display: flex; flex-wrap: wrap; gap: 6px; }

/* Llamada de prueba (administración) */
.adm-testcall-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.adm-testcall-bar small{color:var(--muted,#6b7a90);font-size:12.5px}
.adm-mall { display: flex; justify-content: flex-end; margin: 4px 0 10px; } .adm-mall .hx-btn { font-weight: 800; }

/* Banner global dentro de Administración: el título ya está arriba, no se repite en la tarjeta */
.adm-main .own-banner-editor { margin-top: 4px; }
