/* JLV Operativo · interfaz privada, responsive y dark mode aprobado */
body.jlvop-active,body.jlvop-active #mainView,body.jlvop-active #app{background:#050609!important}
body.jlvop-active #mainView>.topbar,body.jlvop-active #mainView>.bottom-nav,
body.jlvop-active #jlveBackCenter,body.jlvop-active #chatFab,
body.jlvop-active .axis-chat-fab{display:none!important}
body.jlvop-active #content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:#050609!important;min-height:100dvh!important}
.jlvop-shell,.jlvop-shell *{box-sizing:border-box}
.jlvop-shell{--op-red:#ed1933;--op-fg:#f1f2f4;--op-line:#3f424b;--op-muted:#a9abb5;max-width:760px;margin:0 auto;padding:14px 13px max(70px,env(safe-area-inset-bottom));min-height:100dvh;color:var(--op-fg);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:radial-gradient(ellipse at top,#251016 0%,#101217 30%,#06080d 65%)}
.jlvop-head{display:flex;align-items:center;gap:11px;padding:9px 0 12px;border-bottom:1px solid #39313a}
.jlvop-head img{height:75px;width:75px;object-fit:contain;flex:none;border-radius:13px;background:#050608}
.jlvop-head h1{margin:0!important;line-height:1.05;font-size:clamp(1.35rem,5vw,1.8rem);font-weight:830;color:#f8f8fa!important}
.jlvop-head p{margin:5px 0 0;font-size:.75rem;color:#bbb5bf}
.jlvop-back{width:38px;min-width:38px;height:43px;border:1px solid #5b343d;border-radius:12px;background:#251419;color:#fff;font-size:1.4rem;cursor:pointer}
.jlvop-identity{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;color:#ea6475;font-size:.78rem;margin:14px 1px 17px;font-weight:750}
.jlvop-identity span{font-size:.71rem;color:#a9acb4;font-weight:500}
.jlvop-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 17px}
.jlvop-tabs button,.jlvop-buttons button,.jlvop-cat-editor button,
.jlvop-title button,.jlvop-expense-foot button,.jlvop-section>button:not(.jlvop-primary){border:1px solid #4c4147;border-radius:10px;color:#e7e9eb;background:linear-gradient(150deg,#24272d,#15171c);cursor:pointer;padding:10px 9px;min-height:41px;font-size:.8rem;font-weight:700}
.jlvop-tabs button.on{border:1px solid #ff324a;background:linear-gradient(150deg,#8a0d23,#31131c);box-shadow:inset 0 1px 0 #f94b6244}
.jlvop-month{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.82rem;color:#c7cad0;font-weight:750}
.jlvop-month input{border:1px solid #555660;background:#17191e;color:#fff;border-radius:10px;padding:9px 10px;min-height:42px;font:inherit;color-scheme:dark;max-width:190px}
.jlvop-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.jlvop-metrics>div{padding:13px 12px;background:#15181f;border:1px solid #33363f;border-radius:13px}
.jlvop-metrics small{display:block;color:#a9adb7;font-size:.72rem;line-height:1.35;min-height:32px}
.jlvop-metrics strong{display:block;color:#fff;font-size:clamp(.9rem,3.6vw,1.28rem);word-break:break-word;margin-top:4px;font-variant-numeric:tabular-nums}
.jlvop-cash{display:flex;flex-direction:column;gap:4px;background:#111a17;border:1px solid #2d6549;padding:13px;border-radius:13px;margin:0 0 15px}
.jlvop-cash span{color:#b6c8bf;font-size:.76rem}
.jlvop-cash strong{color:#49d28b;font-size:1.25rem}
.jlvop-cash small{color:#aebdb3;font-size:.77rem}
.jlvop-section{border:1px solid #393e46;background:linear-gradient(160deg,#151920,#0e1118);border-radius:15px;padding:15px 12px;margin-top:12px}
.jlvop-section h2{margin:0 0 10px!important;color:#fff!important;font-size:1.15rem;font-weight:820;line-height:1.3}
.jlvop-section h3{color:#f7f8f9;font-size:1rem;margin:22px 0 8px}
.jlvop-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 12px}
.jlvop-title h2{margin:0!important}
.jlvop-title button{background:#36121d;border-color:#a82641}
.jlvop-muted{color:#b3b8c2;font-size:.81rem;line-height:1.55;margin:7px 0 14px}
.jlvop-empty{padding:19px 8px;font-size:.86rem;color:#bbbfc7;text-align:center}
.jlvop-notice{padding:13px 12px;background:#34212a;border:1px solid #9b354a;border-radius:11px;color:#faf0f3;font-size:.83rem;line-height:1.5}
.jlvop-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 22px}
.jlvop-category-grid button{display:flex;align-items:center;gap:9px;min-height:68px;background:#1b2028;border:1px solid #41444f;border-radius:13px;color:#f2f3f6;padding:10px 9px;text-align:left;font:inherit;font-size:.77rem;font-weight:720;cursor:pointer}
.jlvop-category-grid button b{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:9px;background:#3e1721;color:#fa3450;font-size:1.23rem}
.jlvop-category-grid button:focus-visible,.jlvop-shell button:focus-visible{outline:2px solid #ff4864;outline-offset:3px}
.jlvop-expense{padding:12px 10px;margin:9px 0;background:#171c25;border:1px solid #3d424b;border-radius:12px}
.jlvop-expense-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.jlvop-expense-head strong{font-size:.9rem;overflow-wrap:anywhere}
.jlvop-expense p{color:#bac0c8;font-size:.74rem;margin:8px 0}
.jlvop-expense-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.jlvop-expense-foot strong{font-size:1rem;color:#fff}
.jlvop-expense-foot>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.jlvop-expense-foot button{padding:8px!important;min-height:38px!important;font-size:.74rem!important}
.jlvop-expense-foot .approve{border-color:#286a46;background:#123626;color:#84edaa}
.jlvop-expense-foot .reject{border-color:#833041;background:#34141e;color:#ffabb5}
.jlvop-status{padding:5px 8px;white-space:nowrap;background:#403123;color:#ffe7a4;border-radius:40px;font-size:.7rem;font-weight:750}
.jlvop-status.s-aprobado{background:#1e4433;color:#b3f5cd}
.jlvop-status.s-rechazado{background:#51232f;color:#ffbbc8}
.jlvop-status.s-pagado{background:#254255;color:#bdeafa}
.jlvop-approval-info,.jlvop-report-line{padding:12px;margin:8px 0;border-bottom:1px solid #44444c;color:#d4d6dc;font-size:.86rem;line-height:1.8}
.jlvop-approval-info strong{color:#fff}
.jlvop-primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;background:linear-gradient(140deg,#df1b36,#9b0c23);border:1px solid #fc3a54;border-radius:11px;padding:12px 15px;color:#fff;font-size:.86rem;font-weight:790;cursor:pointer}
.jlvop-section>.jlvop-primary{width:100%;margin:10px 0}
.jlvop-field{display:flex;flex-direction:column;gap:6px;font-size:.82rem;color:#d5d8dd;margin:13px 0;font-weight:650}
.jlvop-field input,.jlvop-field textarea,.jlvop-field select{min-height:46px;border:1px solid #525661;border-radius:10px;background:#10151c;color:#f7f7f9;padding:10px 12px;max-width:100%;font:inherit;font-size:.9rem;color-scheme:dark}
.jlvop-field textarea{min-height:78px;resize:vertical}
.jlvop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.jlvop-check{display:flex;align-items:center;gap:10px;color:#e8e8ed;margin:17px 0;font-size:.84rem}
.jlvop-check input{accent-color:#d7203b;width:21px;height:21px}
.jlvop-buttons{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}
.jlvop-buttons .jlvop-primary{flex:1 1 200px}
.jlvop-forecast{display:grid;gap:9px;margin-top:16px}
.jlvop-forecast div,.jlvop-cat-editor div,.jlvop-report-line{display:flex;align-items:center;justify-content:space-between;gap:9px}
.jlvop-forecast div,.jlvop-cat-editor div{background:#171b22;border:1px solid #343840;border-radius:9px;padding:10px 12px}
.jlvop-forecast div span{color:#bfc2cc;font-size:.86rem}
.jlvop-forecast div strong{color:#fff;font-size:.92rem}
.jlvop-report-line strong{color:#f4f4f6;text-align:right}
.jlvop-cat-editor{display:grid;gap:8px;margin-top:19px}
.jlvop-cat-editor div{flex-wrap:wrap}
.jlvop-cat-editor span{flex:1 1 120px;font-size:.83rem}
.jlvop-cat-editor button{min-height:36px;padding:7px;font-size:.75rem}
@media(min-width:640px){.jlvop-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jlvop-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.jlvop-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:370px){.jlvop-shell{padding-left:9px;padding-right:9px}.jlvop-head img{height:63px;width:63px}.jlvop-category-grid button{font-size:.71rem}.jlvop-expense-foot{flex-direction:column;align-items:flex-start}}
