/* Panel de propietarios (#/propietarios) */
.own-page { max-width: 1180px; margin: 0 auto; padding: 24px 20px 60px; display: grid; gap: 16px; }
.own-page #own-root { display: grid; gap: 16px; }
.own-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.own-head h1 { margin: 0; font: 900 26px/1.1 Lato, Arial, sans-serif; color: #0B2D52; display: flex; align-items: center; gap: 12px; }
.own-head small { color: #6B7F95; font-weight: 700; display: block; margin-top: 4px; }
.own-head-r { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.own-page .hc-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.own-page .hc-card > header h2 { margin: 0; font: 900 16px/1.2 Lato, Arial, sans-serif; color: #0B2D52; display: flex; align-items: center; gap: 8px; }
.own-page .hc-card > header small { color: #6B7F95; font-weight: 700; font-size: 12.5px; }
.own-page .hc-card { padding: 18px 20px; }
.own-gate { max-width: 460px; margin: 60px auto; text-align: center; display: grid; gap: 10px; justify-items: center; }
.own-gate h1 { margin: 0; font: 900 24px/1.1 Lato, Arial, sans-serif; color: #0B2D52; }
.own-gate p { margin: 0; color: #55687E; }
.own-gate-ic { font-size: 34px; color: #C8A24A; }
.own-gate-f { display: flex; gap: 8px; width: 100%; margin-top: 6px; }
.own-gate-f input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid #D5DEE8; padding: 0 14px; font: 700 15px Lato, Arial, sans-serif; }
.own-gate-n, .own-muted { font-size: 12.5px; color: #6B7F95; }
.own-how code { background: #EEF2F6; padding: 2px 6px; border-radius: 6px; font-size: 12.5px; }
.own-how { text-align: left; font-size: 13.5px; line-height: 1.5; }
.own-launch { border: 1.5px solid #E7D9B0; }
.own-checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.own-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.own-checks li i { margin-top: 3px; font-size: 16px; }
.own-checks li.ok i { color: #1E9E5A; } .own-checks li.bad i { color: #D23B3B; } .own-checks li.mid i { color: #D79A1E; }
.own-checks b { display: block; color: #0B2D52; font-size: 14px; } .own-checks small { color: #6B7F95; font-size: 12.5px; }
.own-d { display: block; color: #6B7F95; font-size: 12px; font-weight: 700; line-height: 1.35; }
.own-d.up { color: #1E9E5A; } .own-d.down { color: #D23B3B; }
.own-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.own-pend-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.own-pend-g a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #F4F7FA; color: #0B2D52; font-weight: 800; text-decoration: none; }
.own-pend-g a.on { background: #FFF5DA; } .own-pend-g a b { font-size: 18px; }
.own-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.own-chart svg { width: 100%; height: 150px; display: block; }
.own-bar-a { fill: #C8A24A; } .own-bar-b { fill: #154C82; } .own-axis { stroke: #D5DEE8; stroke-width: 1; }
.own-kinds, .own-top, .own-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.own-kinds li { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 10px; align-items: center; font-weight: 800; color: #0B2D52; font-size: 13.5px; }
.own-kinds li i { height: 8px; border-radius: 6px; background: linear-gradient(90deg, #C8A24A var(--w), #EEF2F6 var(--w)); }
.own-kinds small, .own-top small { color: #6B7F95; font-weight: 700; }
.own-top li { display: grid; grid-template-columns: 26px 1fr auto auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.own-top a { color: #0B2D52; font-weight: 800; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.own-rank { width: 24px; height: 24px; border-radius: 50%; background: #0B2D52; color: #fff; font: 900 12px/24px Lato, Arial, sans-serif; text-align: center; }
.own-kv { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #EEF2F6; font-size: 13.5px; }
.own-kv span { color: #55687E; } .own-kv b { color: #0B2D52; text-align: right; }
.own-sys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.own-ev li { display: grid; grid-template-columns: 160px 190px 1fr; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #EEF2F6; }
.own-ev li.bad b { color: #D23B3B; } .own-ev time { color: #6B7F95; } .own-ev span { color: #55687E; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .own-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .own-two, .own-checks, .own-sys { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .own-page { padding: 16px 16px 50px; } .own-kpis { grid-template-columns: 1fr; } .own-head h1 { font-size: 21px; }
  .own-ev li { grid-template-columns: 1fr; gap: 2px; } .own-kinds li { grid-template-columns: 90px 1fr auto; } .own-kinds li small { display: none; }
  .own-top li { grid-template-columns: 24px 1fr auto; } .own-top li small, .own-top li em { display: none; } .own-gate { margin: 24px auto; } .own-gate-f { flex-direction: column; }
}

.own-kv b.own-bad { color: #D23B3B; } .own-kv b.own-good { color: #1E9E5A; } .own-err { word-break: break-word; }

/* ───────── pestañas Ingresos y Contabilidad ───────── */
.own-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #EEF2F6; }
.own-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; color: #0B2D52; font: 800 13.5px/1 Lato, Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.own-tabs a:hover { background: var(--ice, #fff); }
.own-tabs a.on { background: #0B2D52; color: #fff; box-shadow: 0 2px 8px rgba(11, 45, 82, .18); }
.own-tabs a.on i { color: #E6C36A; }
.own-page .hx-btn.sm { min-height: 32px; padding: 6px 12px; font-size: 12.5px; border-radius: 10px; }
.own-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.own-page .hc-card > header > div { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.own-h3 { margin: 0 0 8px; font: 900 14px/1.2 Lato, Arial, sans-serif; color: #0B2D52; }
.own-kpi-gold { border: 1.5px solid #E7D9B0; background: linear-gradient(180deg, #FFFBF0, #fff); }
.own-kpi-bad { border: 1.5px solid #F2C4C4; background: linear-gradient(180deg, #FFF5F5, #fff); }
.own-kpi-bad b { color: #B42323; }
.own-bad { color: #D23B3B; } .own-good { color: #1E9E5A; }
.own-warn { display: block; color: #B26A00; font-weight: 800; }

/* tablas */
.own-tbl-w { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.own-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; color: #0B2D52; }
.own-tbl th { text-align: left; font: 800 11.5px/1.25 Lato, Arial, sans-serif; color: #6B7F95; text-transform: uppercase; letter-spacing: .03em; padding: 8px 10px; border-bottom: 1.5px solid #D5DEE8; white-space: nowrap; }
.own-tbl td { padding: 9px 10px; border-bottom: 1px solid #EEF2F6; vertical-align: top; }
.own-tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.own-tbl td small { display: block; color: #6B7F95; font-size: 11.5px; font-weight: 700; margin-top: 2px; }
.own-tbl td > a { color: #0B2D52; font-weight: 800; text-decoration: none; }
.own-tbl td > a:hover { text-decoration: underline; }
.own-tbl td.own-plat { font-weight: 900; background: #FBF7EA; }
.own-tbl th.n:nth-last-child(1), .own-tbl td.n:nth-last-child(1) { padding-right: 12px; }
.own-tbl .own-grp td { background: #F4F7FA; color: #55687E; font: 900 11.5px/1 Lato, Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; }
.own-tbl tfoot td { border-top: 1.5px solid #0B2D52; border-bottom: 0; font-weight: 900; }
.own-tbl tr.own-hl td { background: #F2F7FC; }
.own-tbl tr.own-hl td.own-plat { background: #F5EFD9; }
.own-tbl .own-rank { display: inline-block; vertical-align: middle; }
.own-tbl .own-d { display: block; margin-top: 2px; }
.own-share { display: block; height: 5px; margin-top: 6px; max-width: 220px; border-radius: 4px; background: linear-gradient(90deg, #B07D10 var(--w), #EEF2F6 var(--w)); }

/* gráficos de líneas · paleta validada (oro, azul, verde: contraste ≥ 3:1 y distinguibles con daltonismo) */
.own-chart svg.own-lsvg { height: auto; aspect-ratio: 640 / 170; overflow: visible; }
.own-line { stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.own-line.a { stroke: #B07D10; } .own-line.b { stroke: #2A78D6; } .own-line.c { stroke: #159A6B; }
.own-dot { stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.own-dot.a { fill: #B07D10; } .own-dot.b { fill: #2A78D6; } .own-dot.c { fill: #159A6B; }
.own-hit { fill: transparent; cursor: crosshair; }
.own-hit:hover { fill: rgba(11, 45, 82, .07); }
.own-zero { stroke: #9AABBD; stroke-width: 1px; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.own-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: #55687E; }
.own-legend span { display: inline-flex; align-items: center; gap: 7px; }
.own-legend span::before { content: ''; width: 16px; height: 3px; border-radius: 2px; }
.own-legend .a::before { background: #B07D10; } .own-legend .b::before { background: #2A78D6; } .own-legend .c::before { background: #159A6B; }
.own-kv-t { border-top: 1.5px solid #0B2D52; border-bottom: 1.5px solid #0B2D52; margin: 4px 0; font-weight: 900; }
.own-kv-t span { color: #0B2D52; font-weight: 900; }

/* contabilidad */
.own-note { background: #F2F7FC; border: 1px solid #D6E4F2; }
.own-note p { margin: 0; color: #0B2D52; font-size: 13.5px; line-height: 1.5; }
.own-note i { color: #2A78D6; }
.own-pl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.own-pl-b { border: 1px solid #E3E9F0; border-radius: 14px; padding: 12px 14px; display: grid; align-content: start; }
.own-pl-b h3 { margin: 0 0 6px; font: 900 12px/1.2 Lato, Arial, sans-serif; color: #6B7F95; text-transform: uppercase; letter-spacing: .05em; }
.own-pl-me { border-color: #E7D9B0; background: #FFFCF3; }
.own-pl-r { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EEF2F6; font-size: 13.5px; }
.own-pl-r:last-child { border-bottom: 0; }
.own-pl-r span { color: #33475C; font-weight: 700; min-width: 0; }
.own-pl-r span small { display: block; color: #6B7F95; font-size: 11.5px; font-weight: 700; margin-top: 2px; line-height: 1.35; }
.own-pl-r b { color: #0B2D52; font-variant-numeric: tabular-nums; white-space: nowrap; }
.own-pl-r.own-pl-neg b { color: #8A3B3B; }
.own-pl-r.own-pl-tot { border-top: 1.5px solid #0B2D52; border-bottom: 0; margin-top: 2px; padding-top: 10px; }
.own-pl-r.own-pl-tot span, .own-pl-r.own-pl-tot b { font-weight: 900; color: #0B2D52; font-size: 15px; }
.own-pl-r.own-pl-tot.own-bad b { color: #D23B3B; } .own-pl-r.own-pl-tot.own-good b { color: #1E7A49; }
.own-pl-r label { cursor: pointer; }
.own-pl-r input { width: 56px; height: 28px; margin: 0 2px; padding: 0 8px; border: 1px solid #C9D5E2; border-radius: 8px; font: 800 13px Lato, Arial, sans-serif; color: #0B2D52; text-align: right; background: var(--ice, #fff); }
.own-pl-r input:focus { outline: 2px solid #2A78D6; outline-offset: 1px; }
.own-alert { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF5DA; color: #6B4A00; font-size: 13px; line-height: 1.45; }
.own-alert i { color: #C98500; }
.own-cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.own-cal li { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #F7F9FB; font-size: 13px; color: #33475C; line-height: 1.4; }
.own-cal time { font-weight: 900; color: #0B2D52; }
.own-cal li.past { opacity: .55; }
.own-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.own-faq summary::-webkit-details-marker { display: none; }
.own-faq summary::after { content: '\f078'; font: 900 13px 'Font Awesome 6 Free'; color: #6B7F95; transition: transform .2s; }
.own-faq[open] summary::after { transform: rotate(180deg); }
.own-faq summary h2 { margin: 0; font: 900 16px/1.2 Lato, Arial, sans-serif; color: #0B2D52; display: flex; align-items: center; gap: 8px; }
.own-faq ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; color: #33475C; }
.own-faq b { color: #0B2D52; }

@media (max-width: 1100px) { .own-pl { grid-template-columns: 1fr 1fr; } .own-pl-me { grid-column: 1 / -1; } }
@media (max-width: 900px) { .own-head-r { width: 100%; } .own-tabs { width: 100%; overflow-x: auto; } }
@media (max-width: 720px) {
  .own-pl { grid-template-columns: 1fr; }
  .own-tbl { font-size: 13px; } .own-tbl th, .own-tbl td { padding: 8px 8px; }
  .own-cal li { grid-template-columns: 1fr; gap: 2px; }
  .own-tabs a { padding: 8px 10px; font-size: 13px; }
}
.own-pl-n { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: #6B7F95; font-weight: 700; }
/* La columna del panel nunca se ensancha por una tabla: las tablas anchas se desplazan dentro de su tarjeta (móvil). */
.own-page, .own-page #own-root { grid-template-columns: minmax(0, 1fr); }
.own-page #own-root > *, .own-two > *, .own-pl > * { min-width: 0; }
.own-cal li.today { background: #FFF5DA; outline: 1.5px solid #E7C66A; }
.own-cal li.next { background: #EAF3FC; }
.own-cal li em { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #0B2D52; color: #fff; font: 800 10.5px/1.6 Lato, Arial, sans-serif; font-style: normal; vertical-align: 1px; }
@media (max-width: 900px) { .own-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .own-pl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .own-kpis { grid-template-columns: minmax(0, 1fr); } .own-page .hc-card { padding: 16px 14px; } }
.own-tbl th:first-child, .own-tbl td:first-child { min-width: 150px; }
/* pestaña «Precios»: precio mensual de Privilege Hot */
.own-pr-f { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 16px; }
.own-pr-f label { font: 800 14px/1.3 Lato, Arial, sans-serif; color: #0B2D52; } .own-pr-f label small { color: #6B7F95; font-weight: 600; }
.own-pr-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.own-pr-in { position: relative; display: inline-flex; align-items: center; }
.own-pr-in input { width: 170px; height: 54px; border-radius: 14px; border: 1px solid #D5DEE8; padding: 0 40px 0 16px; font: 800 26px Lato, Arial, sans-serif; color: #0B2D52; text-align: right; font-variant-numeric: tabular-nums; background: var(--ice, #fff); }
.own-pr-in input:focus { outline: 2px solid #E3A71B; outline-offset: 1px; border-color: #E3A71B; }
.own-pr-in i { position: absolute; right: 15px; font: normal 800 20px Lato, Arial, sans-serif; color: #6B7F95; pointer-events: none; }
.own-pr-prev { margin: 0; font-size: 14px; line-height: 1.5; color: #3C5068; } .own-pr-prev b { color: #0B2D52; }
@media (max-width: 720px) { .own-pr-row { flex-direction: column; align-items: stretch; } .own-pr-in input { width: 100%; } .own-pr-row .hx-btn { justify-content: center; } }
@media (max-width: 480px) { .own-tabs { gap: 2px; } .own-tabs a { padding: 8px 9px; gap: 0; } .own-tabs a i { display: none; } }
