/* Control Total · Captura rápida (31-oct-2026). Navy solo en el botón principal; entradas cian, salidas rojo. */
.ctcq-top{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 10px 0 8px;margin-right:8px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#fff;border-radius:8px;font:600 13px/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.ctcq-top:hover{background:rgba(255,255,255,.12)}
.ctcq-top .pl{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;background:#fff;color:#193651;font-size:16px;font-weight:700}
.ctcq-top kbd{font:600 11px/1 Inter,system-ui,sans-serif;padding:3px 6px;border-radius:5px;background:rgba(255,255,255,.12);color:#C9D3DE}
.ctcq-fab{display:none;position:fixed;right:16px;bottom:18px;z-index:9990;width:56px;height:56px;border-radius:50%;border:0;background:#193651;color:#fff;font:400 30px/1 Inter,system-ui,sans-serif;box-shadow:0 8px 24px rgba(16,28,44,.35);cursor:pointer}
@media (max-width:1023px){.ctcq-top{display:none}.ctcq-fab{display:block}}
.ctcq-ov{position:fixed;inset:0;z-index:10000;background:rgba(16,28,44,.45);display:flex;align-items:flex-start;justify-content:center;padding:64px 16px 24px;overflow:auto}
.ctcq-box{width:min(900px,100%);background:#F4F6F8;border-radius:14px;padding:18px 20px 20px;color:#1B2430;font:14px/1.45 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.ctcq-box kbd{font:600 11px/1 Inter,system-ui,sans-serif;padding:2px 6px;border-radius:5px;border:1px solid #D5DCE4;background:#fff;color:#6B7785}
.ctcq-load{padding:30px;text-align:center;color:#6B7785}
.ctcq-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}
.ctcq-head h2{margin:0;font-size:20px;color:#193651}.ctcq-head p{margin:2px 0 0;color:#6B7785;font-size:13px}
.ctcq-x{width:36px;height:36px;border:1px solid #D5DCE4;background:#fff;border-radius:8px;font-size:22px;line-height:1;color:#193651;cursor:pointer;flex:0 0 36px}
.ctcq-tipos{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;background:#fff;border:1px solid #E1E6EC;border-radius:10px;margin-bottom:12px}
.ctcq-tipos button{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;border:0;border-radius:7px;background:transparent;font:600 14px/1 Inter,system-ui,sans-serif;color:#4A5563;cursor:pointer}
.ctcq-tipos button kbd{border:0;background:transparent;color:#A3AEBB;font-weight:500}
.ctcq-tipos button.on{background:#EEF2F6;color:#193651;box-shadow:inset 0 0 0 1px #C9D3DE}
.ctcq-tipos button.on.entrada{color:#0A6E96}.ctcq-tipos button.on.salida,.ctcq-tipos button.on.gasto{color:#B4233A}
.ctcq-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr) minmax(0,1.5fr) 150px;gap:10px;background:#fff;border:1px solid #E1E6EC;border-radius:12px 12px 0 0;padding:12px 14px 6px}
.ctcq-row.tras{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.5fr) 150px}
.ctcq-row.two{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));border-top:0;border-radius:0 0 12px 12px;padding-top:6px;margin-bottom:10px}
.ctcq-row.two:empty{display:none}
.ctcq-row .fld{display:flex;flex-direction:column;gap:4px;min-width:0}
.ctcq-row .fld>span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6B7785;font-weight:600}
.ctcq-row .fld small{color:#6B7785;font-size:11px;min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ctcq-row .fld small.warn{color:#B4233A;font-weight:600}
.ctcq-row input,.ctcq-row select{height:38px;width:100%;min-width:0;border:1px solid #D5DCE4;border-radius:8px;padding:0 10px;font:inherit;color:#1B2430;background:#fff;box-sizing:border-box}
.ctcq-row input:focus,.ctcq-row select:focus,.ctcq-row .money:focus-within{outline:0;border-color:#0A6E96;box-shadow:0 0 0 3px rgba(10,110,150,.15)}
.ctcq-row .big input{font-size:15px}
.ctcq-row .money{display:flex;align-items:center;border:1px solid #D5DCE4;border-radius:8px;height:38px;padding:0 10px;background:#fff;box-sizing:border-box}
.ctcq-row .money em{font-style:normal;color:#6B7785;margin-right:4px;white-space:nowrap}
.ctcq-row .money input{border:0;height:34px;padding:0;text-align:right;font-size:15px;font-weight:600;box-shadow:none !important}
.ctcq-row .ac{position:relative}
.ctcq-row .sug{position:absolute;left:0;right:0;top:42px;z-index:5;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid #D5DCE4;border-radius:10px;box-shadow:0 12px 30px rgba(16,28,44,.16)}
.ctcq-row .sug li{display:flex;flex-direction:column;gap:1px;padding:6px 10px;border-radius:7px;cursor:pointer}
.ctcq-row .sug li span{color:#6B7785;font-size:12px;white-space:nowrap;display:flex;align-items:center;gap:5px}
.ctcq-row .sug li b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ctcq-row .sug li.on,.ctcq-row .sug li:hover{background:#EEF2F6}
.ctcq-row .chk{display:flex;gap:8px;align-items:flex-start;align-self:center;cursor:pointer;grid-column:span 2}
.ctcq-row .chk input{height:16px;width:16px;margin-top:2px;flex:0 0 16px}.ctcq-row .chk span{font-weight:600;font-size:13px}.ctcq-row .chk small{display:block;font-weight:400;color:#6B7785;font-size:11px}
.ctcq-info{grid-column:1/-1;margin:0 0 6px;color:#6B7785;font-size:12px}
.ctcq-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 8px;margin-right:2px}
.ctcq-msg{margin:0 0 10px;padding:9px 14px;border-radius:10px;border:1px solid #E1E6EC;background:#fff;font-weight:600}
.ctcq-msg.ok{border-left:4px solid #0A6E96;color:#0A6E96}.ctcq-msg.bad{border-left:4px solid #B4233A;color:#B4233A}
.ctcq-go{display:flex;justify-content:space-between;align-items:center;gap:14px}
.ctcq-go .res{color:#1B2430}.ctcq-go .res .mut{color:#6B7785}
.ctcq-box b.in{color:#0A6E96}.ctcq-box b.out{color:#B4233A}
.ctcq-go .btns{display:flex;gap:8px;flex:0 0 auto}
.ctcq-box .sec{height:40px;background:#fff;border:1px solid #D5DCE4;color:#193651;border-radius:8px;padding:0 14px;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.ctcq-box .pri{display:inline-flex;align-items:center;gap:10px;height:40px;background:#193651;color:#fff;border:0;border-radius:8px;padding:0 18px;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.ctcq-box .pri kbd{border:0;background:rgba(255,255,255,.15);color:#fff}
.ctcq-box .pri:hover{background:#244F78}.ctcq-box .pri:disabled{opacity:.45;cursor:default}
.ctcq-hist{margin-top:14px;background:#fff;border:1px solid #E1E6EC;border-radius:12px;padding:10px 14px}
.ctcq-hist p{margin:0 0 6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6B7785;font-weight:600}
.ctcq-hist ul{margin:0;padding:0;list-style:none}
.ctcq-hist li{display:grid;grid-template-columns:76px minmax(0,1.3fr) minmax(0,1.4fr) auto;gap:10px;align-items:center;padding:6px 0;border-top:1px solid #EEF1F4}
.ctcq-hist li:first-child{border-top:0}
.ctcq-hist li>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ctcq-hist li>span{color:#6B7785;font-size:12px;display:flex;align-items:center;gap:5px;overflow:hidden;white-space:nowrap}
.ctcq-hist .tg{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:#EEF2F6;color:#193651;text-align:center}
.ctcq-hist .tg.entrada{background:#E7F1F6;color:#0A6E96}.ctcq-hist .tg.gasto,.ctcq-hist .tg.salida{background:#FBEDEF;color:#B4233A}
@media (max-width:760px){
.ctcq-ov{padding:0}.ctcq-box{border-radius:0;min-height:100%;padding:14px}
.ctcq-tipos button kbd,.ctcq-head p,.ctcq-box .pri kbd{display:none}
.ctcq-row,.ctcq-row.tras{grid-template-columns:1fr 1fr}.ctcq-row .big,.ctcq-row .acct{grid-column:1/-1}
.ctcq-row.tras{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.5fr) 150px}
.ctcq-row.two{grid-template-columns:1fr 1fr}.ctcq-row .chk{grid-column:1/-1}
.ctcq-go{flex-direction:column;align-items:stretch}.ctcq-go .btns{justify-content:stretch}.ctcq-go .btns>*{flex:1;justify-content:center}
.ctcq-hist li{grid-template-columns:64px 1fr auto}.ctcq-hist li>span{grid-column:2/-1;grid-row:2}}
