/* «Transacciones» (transactions_hub.js). Paleta de la marca; sin emojis. */
.sidebar .nav-menu .nav-tx,.sidebar .nav-tx{position:relative;min-height:52px;margin-bottom:5px;background:linear-gradient(100deg,#1b2f55,#24557e);color:#fff;font-weight:900;box-shadow:0 9px 20px #050d1d70;border:1px solid #5d8fc244}
.sidebar .nav-tx .nav-symbol{color:#bfe3ff}
.sidebar .nav-tx:hover,.sidebar .nav-tx.active{background:linear-gradient(100deg,#21406f,#2a6a97);color:#fff;box-shadow:inset 3px 0 0 #9fd4ff,0 9px 24px #0b2a5577}
.nav-tx-copy{flex:1 1 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;min-width:0;line-height:1.15}
.nav-tx-copy strong{grid-column:1/2;font-size:12px;font-weight:900;letter-spacing:.02em}
.nav-tx-copy small{grid-column:1/2;color:#d8ecff;font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav-tx-copy .nav-end{grid-column:2;grid-row:1/3;font-size:11px;font-weight:900;color:#fff}
.tx-hero-dot{position:absolute;top:7px;right:8px;width:10px;height:10px;border-radius:50%;background:#ff5a4f;box-shadow:0 0 0 3px #1b2f55}
.tx-hero-dot[hidden]{display:none}
#view-transactions{position:relative}
.tx{color:#182b43;padding-bottom:30px}
.tx-head{display:grid;gap:10px;margin-bottom:12px}
.tx-lead{margin:0;color:#64788c;font-size:13px}
.tx-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tx-in{flex:1 1 320px;max-width:440px;margin:0;display:flex;align-items:center;gap:8px;border:1px solid #cbd8e7;border-radius:12px;background:#fff;padding:0 12px;min-height:42px;color:#7d8ba0;min-width:300px}
.tx-in:focus-within{border-color:#167d9c;box-shadow:0 0 0 3px rgba(22,125,156,.15)}
.tx .tx-in input{width:auto;margin:0;padding:0;box-shadow:none;border-radius:0;border:0;outline:0;background:transparent;flex:1;min-width:0;font:inherit;font-size:13.5px;color:#182b43;height:40px}
.tx-tools select,.tx-range input{width:auto;max-width:220px;margin:0;border:1px solid #cbd8e7;border-radius:12px;background:#fff;padding:0 10px;min-height:42px;font:inherit;font-size:13px;font-weight:700;color:#173252}
.tx-range{display:flex;gap:6px}.tx-range[hidden]{display:none}
.tx-btn{border:1px solid #cbd8e7;background:#fff;color:#173252;border-radius:10px;padding:8px 12px;font:inherit;font-weight:800;font-size:12.5px;cursor:pointer;min-height:38px}
.tx-btn:hover{border-color:#167d9c}.tx-btn[aria-pressed=true]{background:#176d91;color:#fff;border-color:#176d91}
.tx-btn.pri{background:linear-gradient(135deg,#176d91,#1f9a92);color:#fff;border-color:transparent}
.tx-btn[hidden]{display:none}
.tx-alerts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}.tx-alerts:empty{display:none}
.tx-alert{display:flex;align-items:center;gap:8px;border-radius:12px;padding:9px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;border:1px solid}
.tx-alert.o{background:#fff6ec;border-color:#f3d3a8;color:#8a4b06}.tx-alert.r{background:#fdecec;border-color:#f3c0bb;color:#a42b1c}.tx-alert.n{background:#eef4f8;border-color:#d3e2ec;color:#24576f}
.tx-alert u{margin-left:4px}
.tx-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-bottom:12px}
.tx-card{background:#fff;border:1px solid #e3eaf4;border-radius:14px;padding:12px 14px;box-shadow:0 6px 18px rgba(16,27,48,.04);min-width:0}
.tx-card.total{border-color:#176d91;box-shadow:0 0 0 3px rgba(23,109,145,.10)}
.tx-card span{font-size:11px;font-weight:800;letter-spacing:.05em;color:#64788c;display:flex;align-items:center;gap:6px}
.tx-card strong{display:block;font-size:22px;margin-top:4px;color:#101b30}.tx-card small{color:#64788c;font-size:12px;display:block}
.tx-card em{font-style:normal;font-size:11.5px;font-weight:800;display:block;margin-top:3px}.tx-card em.up{color:#11613f}.tx-card em.down{color:#a42b1c}
.tx .dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.tx-chips{display:flex;gap:6px;flex-wrap:wrap;margin:2px 0 12px}
.tx-chips button{padding:7px 12px;border-radius:999px;background:#f1f5f9;color:#3c556d;font:inherit;font-size:12.5px;font-weight:800;border:0;cursor:pointer}
.tx-chips button.on{background:#176d91;color:#fff}.tx-chips button.zero{opacity:.55}.tx-chips button i{font-style:normal;opacity:.8;margin-left:5px}
.tx-table{background:#fff;border:1px solid #e3eaf4;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(16,27,48,.05)}
.tx-row{display:grid;grid-template-columns:82px 140px minmax(0,1fr) 120px 96px 110px 128px;gap:12px;align-items:center;padding:11px 16px;border-top:1px solid #eef2f7;font-size:13px}
.tx-row[data-tx-id]{cursor:pointer}.tx-row[data-tx-id]:hover{background:#f7fbfd}.tx-row.sel{background:#eaf5f8}
.tx-row[data-tx-id]:focus-visible{outline:3px solid #7fb0ff;outline-offset:-3px}
.tx-row.h{border-top:0;background:#f7fafc;font-size:11px;font-weight:800;letter-spacing:.06em;color:#7d8ba0;padding:10px 16px}
.tx-row .r{text-align:right}
.tx-row .t{font-weight:700;color:#101b30}.tx-row .t small{display:block;color:#64788c;font-weight:700;font-size:11px}
.tx-row .d{min-width:0}.tx-row .d b{display:block;color:#101b30;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-row .d small{color:#64788c;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-row .m{font-weight:800;text-align:right;color:#101b30}.tx-row .m small{display:block;color:#11613f;font-size:11px;font-weight:700}.tx-row .m.neg,.tx-amount.neg{color:#a42b1c}
.tx .ty{display:inline-flex;align-items:center;font-size:11.5px;font-weight:800;border-radius:999px;padding:3px 9px;white-space:nowrap}
.ty-ven{background:#eef4ff;color:#2a4f9a}.ty-rep{background:#e8f6f4;color:#0f6a62}.ty-rec{background:#e7f7f1;color:#11613f}.ty-act{background:#f3eefc;color:#5b3d99}.ty-bil{background:#fff3e0;color:#8a4b06}.ty-ld{background:#e8f0fd;color:#1d4fb0}.ty-int{background:#fdeef5;color:#9b2c5f}.ty-gif{background:#fdf6e3;color:#7a5b00}.ty-apa{background:#f6f1e7;color:#7a5a1d}.ty-dev{background:#fdecec;color:#a42b1c}.ty-cls{background:#fff3e0;color:#8a4b06;border:1px dashed #e0b77a}
.tx .st{font-size:11.5px;font-weight:800;border-radius:8px;padding:3px 8px;display:inline-block;white-space:nowrap}
.st-ok{background:#e3f6ee;color:#11613f}.st-out{background:#fdecec;color:#a42b1c}.st-cls{background:#fff3e0;color:#8a4b06}.st-card{background:#eef1f5;color:#506377}
.tx-empty{padding:22px 16px;color:#64788c;font-size:13.5px;margin:0;border-top:1px solid #eef2f7}
.tx-foot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #eef2f7;font-size:12.5px;color:#64788c;background:#fbfdff}
.tx-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:#fff;border-left:1px solid #e3eaf4;box-shadow:-18px 0 40px rgba(16,27,48,.16);z-index:60;padding:18px 20px;overflow:auto;color:#182b43}
.tx-drawer[hidden]{display:none}
.tx-drawer header{display:flex;justify-content:space-between;align-items:center}
.tx-x{border:1px solid #cbd8e7;background:#fff;border-radius:10px;width:36px;height:36px;font-size:15px;cursor:pointer;color:#173252}
.tx-drawer h3{margin:12px 0 2px;font-size:18px;letter-spacing:-.02em}
.tx-amount{font-size:28px;font-weight:900;margin:2px 0 8px;color:#101b30}
.tx-drawer dl{margin:14px 0;display:grid;gap:8px}.tx-drawer dl div{display:grid;grid-template-columns:110px 1fr;gap:10px;font-size:13px}
.tx-drawer dt{color:#64788c;font-weight:700}.tx-drawer dd{margin:0;color:#101b30;font-weight:600;word-break:break-word}
.tx-acts{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.tx-fix{margin:12px 0;padding:12px;border-radius:12px;background:#fff8ef;border:1px solid #f3d3a8;display:grid;gap:8px;font-size:13px}
.tx-fix small{color:#7a5a1d}.tx-fix-opts{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1100px){.tx-row{grid-template-columns:70px 120px minmax(0,1fr) 100px 120px}.tx-row>span:nth-child(4),.tx-row>span:nth-child(5){display:none}.tx-in{min-width:220px}}
