/* V155 - tema global real + tabla integrada. Solo visual/UX. */
:root{--ps155-cyan:#06a9d6;--ps155-blue:#0ea5e9;--ps155-green:#13c98b;--ps155-red:#ef476f;--ps155-light-bg:#eef3f8;--ps155-light-panel:#ffffff;--ps155-light-soft:#f6f9fc;--ps155-light-head:#f3f6fa;--ps155-light-line:#dce6ef;--ps155-light-line2:#e6edf4;--ps155-light-text:#172033;--ps155-light-muted:#617388;--ps155-dark-bg:#07111b;--ps155-dark-panel:#0f141e;--ps155-dark-soft:#101722;--ps155-dark-head:#0b1825;--ps155-dark-line:#12384b;--ps155-dark-text:#eff8ff;--ps155-dark-muted:#9bb1c6}
html.ps155,body.ps155{min-height:100%;}body.ps155 *{box-sizing:border-box;scrollbar-width:thin}.ps155-grip{display:inline-flex!important;align-items:center!important;justify-content:center!important;float:right!important;width:16px!important;margin-left:6px!important;color:#7c91a8!important;opacity:.7!important;cursor:grab!important;font-weight:900!important;letter-spacing:-3px!important}.ps155-grip:hover,th:hover .ps155-grip{opacity:1!important;color:var(--ps155-cyan)!important}.ps155-dragging{opacity:.45!important;outline:2px solid #00d4ff!important}.ps155-drop-before{box-shadow:inset 4px 0 0 #00d4ff!important}.ps155-drop-after{box-shadow:inset -4px 0 0 #00d4ff!important}.ps155-toast{position:fixed;right:22px;bottom:22px;z-index:999999;background:#071827;color:#eaf8ff;border:1px solid var(--ps155-cyan);border-radius:12px;padding:10px 14px;font-weight:900;box-shadow:0 18px 45px rgba(0,0,0,.26)}
/* Tema base */
html[data-theme="light"] body.ps155,body.ps155-theme-light{background:var(--ps155-light-bg)!important;color:var(--ps155-light-text)!important;}html[data-theme="dark"] body.ps155,body.ps155-theme-dark{background:var(--ps155-dark-bg)!important;color:var(--ps155-dark-text)!important;}
/* Sidebar global claro/oscuro */
body.ps155-theme-light .psv3-sidebar{background:#fff!important;border-right:1px solid #dce6ef!important;box-shadow:0 0 0 transparent!important;color:#52667d!important}body.ps155-theme-light .psv3-main{background:var(--ps155-light-bg)!important;color:var(--ps155-light-text)!important}body.ps155-theme-light .psv3-sidebar-bottom{background:#fff!important;border-top:1px solid #dce6ef!important}body.ps155-theme-light .psv3-brand strong{color:#06a9d6!important}body.ps155-theme-light .psv3-brand small{color:#93a4b8!important}body.ps155-theme-light .psv3-nav a,body.ps155-theme-light .psv3-sidebar-bottom a,body.ps155-theme-light .psv3-group-title,body.ps155-theme-light .psv3-lang{color:#6c7e92!important;background:transparent!important;border-color:transparent!important}body.ps155-theme-light .psv3-nav a.active{background:#dff4fa!important;color:#078bb2!important;border-left-color:#06a9d6!important}body.ps155-theme-light .psv3-nav svg,body.ps155-theme-light .psv3-sidebar-bottom svg{stroke:#9aacbf!important}body.ps155-theme-light .psv3-theme{background:#f1f6fa!important;border:1px solid #dce6ef!important;color:#687b91!important;border-radius:13px!important}
body.ps155-theme-dark .psv3-sidebar{background:#07111b!important;border-right:1px solid #143a50!important;color:#c5d4e1!important}body.ps155-theme-dark .psv3-main{background:var(--ps155-dark-bg)!important;color:var(--ps155-dark-text)!important}body.ps155-theme-dark .psv3-sidebar-bottom{background:#07111b!important;border-top:1px solid #143a50!important}body.ps155-theme-dark .psv3-brand strong{color:#06d4ff!important}body.ps155-theme-dark .psv3-brand small{color:#86a5bc!important}body.ps155-theme-dark .psv3-nav a,body.ps155-theme-dark .psv3-sidebar-bottom a,body.ps155-theme-dark .psv3-group-title,body.ps155-theme-dark .psv3-lang{color:#c2d0df!important;background:transparent!important;border-color:transparent!important}body.ps155-theme-dark .psv3-nav a.active{background:#0f3b4c!important;color:#16d8ff!important;border-left-color:#06d4ff!important}body.ps155-theme-dark .psv3-nav svg,body.ps155-theme-dark .psv3-sidebar-bottom svg{stroke:#a9bbcc!important}body.ps155-theme-dark .psv3-theme{background:#0f1a27!important;border:1px solid #173c52!important;color:#d7e8f7!important;border-radius:13px!important}
/* Detalle scan: solo tabla scrollea */
html.ps155-scan-detail,body.ps155-scan-detail{height:100%!important;overflow:hidden!important}body.ps155-scan-detail .psv3-main{height:100vh!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:12px 18px 10px!important}body.ps155-scan-detail .ps67{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important;padding:0!important}body.ps155-scan-detail .ps67-headbar{flex:0 0 auto!important;margin:0 0 8px!important;padding:0 2px!important;position:relative!important;top:auto!important;z-index:30!important;background:transparent!important;border:0!important;box-shadow:none!important}body.ps155-scan-detail .ps67-card{flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important;border-radius:15px!important}body.ps155-scan-detail .ps67-toolbar{flex:0 0 auto!important;position:relative!important;top:auto!important;z-index:25!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;padding:16px 14px 10px!important}body.ps155-scan-detail .ps67-panel{flex:0 0 auto!important;padding:0 14px 10px!important;margin:0!important}body.ps155-scan-detail .ps67-tablewrap{flex:1 1 auto!important;min-height:240px!important;height:auto!important;max-height:none!important;overflow:auto!important;position:relative!important;margin:0!important;border-radius:0!important;overscroll-behavior:contain!important}body.ps155-scan-detail .ps67-table{width:max-content!important;min-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important}body.ps155-scan-detail #ps67Table thead,body.ps155-scan-detail #ps67Table thead tr,body.ps155-scan-detail #ps67Table thead th{position:sticky!important;top:0!important;z-index:800!important}body.ps155-scan-detail #ps67Table thead th{z-index:810!important;background-clip:padding-box!important}body.ps155-scan-detail .ps67-footer{flex:0 0 auto!important;position:relative!important;margin:0!important;padding:10px 12px!important;z-index:20!important}
/* Scan detail light */
body.ps155-theme-light .ps67{background:var(--ps155-light-bg)!important;color:var(--ps155-light-text)!important}body.ps155-theme-light .ps67-headbar,body.ps155-theme-light .ps67 h1,body.ps155-theme-light .ps67-toolbar-title{color:#111827!important}body.ps155-theme-light .ps67-sub{color:#63758b!important}body.ps155-theme-light .ps67-card{background:#fff!important;border:1px solid var(--ps155-light-line)!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}body.ps155-theme-light .ps67-toolbar,body.ps155-theme-light .ps67-panel,body.ps155-theme-light .ps67-footer{background:#fff!important;border-color:var(--ps155-light-line)!important;color:#223047!important}body.ps155-theme-light .ps67-btn,body.ps155-theme-light .ps67-select,body.ps155-theme-light .ps67-search,body.ps155-theme-light .ps67-iconbtn,body.ps155-theme-light .ps67-light,body.ps155-theme-light .ps67-toggle{background:#fff!important;border:1px solid #dbe6ef!important;color:#1f2a3a!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;border-radius:10px!important}body.ps155-theme-light .ps67-chip{background:#ecf9ff!important;border:1px solid #bceefe!important;color:#057fa3!important}body.ps155-theme-light .ps67-tablewrap{background:#fff!important;border-top:1px solid var(--ps155-light-line)!important;box-shadow:none!important}body.ps155-theme-light #ps67Table.ps67-table thead th,body.ps155-theme-light #ps67Table.ps67-table thead th[data-col]{background:#f3f6fa!important;color:#263244!important;border-bottom:1px solid #d5e0ea!important;border-right:1px solid #e1e8f0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-size:12px!important}body.ps155-theme-light #ps67Table.ps67-table thead th:before{content:""!important;position:absolute!important;left:0!important;top:8px!important;bottom:8px!important;width:2px!important;background:#06a9d6!important;opacity:.75!important}body.ps155-theme-light #ps67Table.ps67-table td,body.ps155-theme-light #ps67Table.ps67-table td[data-col]{background:#fff!important;color:#223047!important;border-bottom:1px solid #e6edf4!important;border-right:1px solid #e6edf4!important}body.ps155-theme-light #ps67Table.ps67-table tbody tr:nth-child(even) td{background:#fbfdff!important}body.ps155-theme-light #ps67Table.ps67-table tbody tr:hover td{background:#effaff!important}body.ps155-theme-light .ps67-link,body.ps155-theme-light .ps67-code{color:#0697c1!important}body.ps155-theme-light .ps67-muted{color:#65758b!important}body.ps155-theme-light .ps67-action{background:#fff!important;border:1px solid #d9e5ee!important;color:#5f7287!important}body.ps155-theme-light .ps67-action.active,body.ps155-theme-light .ps67-action:hover{background:#06bee8!important;border-color:#06bee8!important;color:#fff!important}body.ps155-theme-light .ps67-value-green{color:#00a979!important}
/* Scan detail dark */
body.ps155-theme-dark .ps67{background:#07111b!important;color:#eef6ff!important}body.ps155-theme-dark .ps67-card{background:#0f141e!important;border:1px solid var(--ps155-dark-line)!important;box-shadow:none!important}body.ps155-theme-dark .ps67-toolbar,body.ps155-theme-dark .ps67-panel,body.ps155-theme-dark .ps67-footer{background:#0f141e!important;border-color:var(--ps155-dark-line)!important;color:#eaf4ff!important}body.ps155-theme-dark .ps67-tablewrap{background:#0b0f16!important;border-top:1px solid var(--ps155-dark-line)!important}body.ps155-theme-dark #ps67Table.ps67-table thead th,body.ps155-theme-dark #ps67Table.ps67-table thead th[data-col]{background:#0b1825!important;color:#f0fbff!important;border-bottom:2px solid #0b9fc6!important;border-right:1px solid var(--ps155-dark-line)!important;text-transform:uppercase!important;font-size:11px!important}body.ps155-theme-dark #ps67Table.ps67-table thead th:before{content:""!important;position:absolute!important;left:0!important;top:8px!important;bottom:8px!important;width:2px!important;background:#06cdfb!important;opacity:.95!important}body.ps155-theme-dark #ps67Table.ps67-table tbody tr:nth-child(odd) td{background:#101722!important}body.ps155-theme-dark #ps67Table.ps67-table tbody tr:nth-child(even) td{background:#0d1721!important}body.ps155-theme-dark #ps67Table.ps67-table td,body.ps155-theme-dark #ps67Table.ps67-table td[data-col]{border-right:1px solid var(--ps155-dark-line)!important;border-bottom:1px solid var(--ps155-dark-line)!important;color:#eaf4ff!important}
/* Lista de scans: sobreescribe estilos inline oscuros */
body.ps155-theme-light .scans-page{color:#1f2a3a!important}body.ps155-theme-light .scans-top{border-bottom:1px solid #cfdbe8!important}body.ps155-theme-light .scans-top h1{color:#172033!important}body.ps155-theme-light .scans-top p{color:#6d7d91!important}body.ps155-theme-light .scans-panel{background:#fff!important;border:1px solid #dce6ef!important;box-shadow:0 16px 44px rgba(15,23,42,.07)!important}body.ps155-theme-light .scans-filters input,body.ps155-theme-light .scans-filters select{background:#fff!important;color:#1f2a3a!important;border:1px solid #dce6ef!important}body.ps155-theme-light .scan-card{background:#fff!important;border:1px solid #dce6ef!important;color:#1f2a3a!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important}body.ps155-theme-light .scan-card:hover{background:#f6fbff!important;border-color:#06a9d6!important}body.ps155-theme-light .scan-name{color:#1b2738!important}body.ps155-theme-light .scan-meta{color:#66758a!important}body.ps155-theme-light .scan-dot{background:#c6d2df!important}body.ps155-theme-light .scan-icon-btn,body.ps155-theme-light .delete-scan-btn,body.ps155-theme-light .view-details-btn{background:#fff!important;border:1px solid #dce6ef!important;color:#52677d!important}body.ps155-theme-light .scan-icon-btn:hover,body.ps155-theme-light .view-details-btn:hover{background:#effaff!important;border-color:#06a9d6!important;color:#078bb2!important}body.ps155-theme-light .empty-scans{background:#fff!important;border-color:#dce6ef!important;color:#66758a!important}
body.ps155-theme-dark .scans-panel{background:#101722!important;border-color:#12384b!important}body.ps155-theme-dark .scan-card{background:#0b0f17!important;border-color:#173448!important;color:#eaf2ff!important}body.ps155-theme-dark .scan-name{color:#eaf2ff!important}body.ps155-theme-dark .scan-meta{color:#9fb2c7!important}
/* Dashboard global */
body.ps155-theme-light .psv3-dashboard{background:var(--ps155-light-bg)!important;color:#1f2a3a!important}body.ps155-theme-light .psv3-topbar,body.ps155-theme-light .psv3-page-head,body.ps155-theme-light .psv3-recent-panel,body.ps155-theme-light .psv3-kpi,body.ps155-theme-light .psv3-onboarding,body.ps155-theme-light .psv3-announcements{background:#fff!important;border:1px solid #dce6ef!important;color:#1f2a3a!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}body.ps155-theme-light .psv3-kpi strong,body.ps155-theme-light .psv3-panel-head h2,body.ps155-theme-light .psv3-scan-row strong{color:#172033!important}body.ps155-theme-light .psv3-kpi small,body.ps155-theme-light .psv3-panel-head p,body.ps155-theme-light .psv3-scan-row small{color:#66758a!important}body.ps155-theme-light .psv3-scan-row{background:#fff!important;border:1px solid #dce6ef!important;color:#1f2a3a!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important}body.ps155-theme-light .psv3-scan-row:hover{background:#f6fbff!important;border-color:#06a9d6!important}body.ps155-theme-light .psv3-scan-right b{color:#172033!important}body.ps155-theme-light .psv3-outline-btn,body.ps155-theme-light .psv3-new-scan,body.ps155-theme-light .psv3-mini-btn{background:#fff!important;border-color:#dce6ef!important;color:#1f2a3a!important}
body.ps155-theme-dark .psv3-dashboard{background:#07111b!important;color:#eef6ff!important}body.ps155-theme-dark .psv3-topbar,body.ps155-theme-dark .psv3-page-head,body.ps155-theme-dark .psv3-recent-panel,body.ps155-theme-dark .psv3-kpi,body.ps155-theme-dark .psv3-onboarding,body.ps155-theme-dark .psv3-announcements{background:#0f141e!important;border:1px solid #12384b!important;color:#eef6ff!important;box-shadow:none!important}body.ps155-theme-dark .psv3-scan-row{background:#0d1621!important;border:1px solid #12384b!important;color:#eaf4ff!important}body.ps155-theme-dark .psv3-scan-row strong{color:#eaf4ff!important}
/* Login conservado */
.ps-login-pro{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:34px;overflow:hidden;background:#060910;color:#eef7ff}.ps-login-bg{position:absolute;inset:-20%;background:radial-gradient(circle at 20% 25%,rgba(0,216,255,.23),transparent 28%),radial-gradient(circle at 78% 70%,rgba(0,230,154,.16),transparent 30%),linear-gradient(135deg,#070a11,#0c1420 52%,#060910);filter:saturate(1.15)}.ps-login-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(260px,420px) minmax(320px,430px);gap:34px;align-items:center;width:min(980px,100%)}.ps-login-brand{padding:28px;border:1px solid rgba(5,217,255,.16);background:rgba(12,19,32,.52);border-radius:24px;backdrop-filter:blur(14px);box-shadow:0 24px 80px rgba(0,0,0,.36)}.ps-login-logo{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--ps155-cyan),var(--ps155-green));color:#061016;font-weight:1000;letter-spacing:-.05em;margin-bottom:18px;box-shadow:0 0 38px rgba(5,217,255,.28)}.ps-login-brand h1{margin:0;font-size:34px;line-height:1.02;letter-spacing:-.04em}.ps-login-brand p{margin:12px 0 0;color:#9fb4c8;font-size:15px;line-height:1.55}.ps-login-pill{display:inline-flex;border:1px solid rgba(0,230,154,.3);background:rgba(0,230,154,.12);color:#47ffc0;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px}.ps-login-card{border:1px solid rgba(5,217,255,.18);background:rgba(9,14,24,.88);border-radius:26px;padding:28px;box-shadow:0 28px 90px rgba(0,0,0,.48);backdrop-filter:blur(18px)}.ps-login-card-head h2{margin:12px 0 6px;font-size:28px}.ps-login-card-head p{margin:0 0 22px;color:#9fb4c8;line-height:1.45}.ps-login-form{display:grid;gap:14px}.ps-field{display:grid;gap:7px;color:#d7e6f4;font-weight:900}.ps-field span{font-size:13px}.ps-field input{width:100%;height:48px;border-radius:14px;border:1px solid #173448;background:#080d16;color:#eef7ff;padding:0 14px;font-weight:800;outline:none}.ps-password-wrap{position:relative}.ps-password-wrap input{padding-right:48px}.ps-eye-btn{position:absolute;right:7px;top:7px;width:34px;height:34px;border:0;border-radius:10px;background:#102236;color:#ccecff;cursor:pointer}.ps-login-submit{height:48px;border-radius:14px;font-size:15px;font-weight:1000;margin-top:4px}
@media(max-width:900px){body.ps155-scan-detail .psv3-main{padding:8px!important}.ps67-search{width:100%!important}.ps-login-shell{grid-template-columns:1fr}.ps-login-brand{display:none}}
