/* Finanzas CI | Etapa 15 - Premium Compact 2.0 */
.ci-v12-page{padding-top:17px!important}
.ci-v12-page-title{margin-bottom:12px!important}.ci-v12-page-title h2{font-size:22px!important;margin-bottom:3px!important}.ci-v12-page-title p{font-size:12px!important}
.ci-v12-card{margin-bottom:15px!important;border-radius:19px!important}.ci-v12-card .ci-v11-card-heading{padding:13px 15px 0!important;gap:10px!important}.ci-v12-card .ci-v11-card-heading h2{font-size:15px!important}.ci-v12-card .ci-v11-card-heading p{font-size:11px!important;line-height:1.35!important}.ci-v12-card .ci-v11-heading-icon{width:36px!important;height:36px!important;min-width:36px!important}
.ci-v12-form{padding:12px 15px 15px!important;gap:10px!important}.ci-v12-field{gap:5px!important}.ci-v12-field-label{font-size:11px!important}.ci-v12-control{min-height:45px!important;border-radius:11px!important}.ci-v12-control input,.ci-v12-control select{min-height:44px!important;font-size:16px!important;padding:7px 9px!important}.ci-v12-control>.ci-v11-icon{margin-left:11px!important;width:17px!important;height:17px!important}.ci-v12-form .btn{min-height:46px!important;border-radius:11px!important}.ci-v12-tip{padding:9px 10px!important;font-size:11px!important;line-height:1.4!important}.ci-v12-tip svg{width:15px!important;height:15px!important}.ci-v12-check{padding:9px!important;font-size:11px!important}.ci-v12-transfer-arrow{min-height:21px!important;gap:5px!important}.ci-v12-transfer-arrow svg{width:16px!important}.ci-v12-recent{margin:17px 0!important}.ci-v12-section-heading{margin-bottom:9px!important}.ci-v12-section-heading h2{font-size:16px!important}.ci-v12-movement{padding:11px 12px!important}.ci-v12-movement-icon{width:32px!important;height:32px!important;border-radius:10px!important}.ci-v12-movement-copy{gap:2px!important}.ci-v12-distribution{padding:12px 15px!important;gap:12px!important;margin-bottom:14px!important;border-radius:17px!important}.ci-v12-donut{width:70px!important;height:70px!important}.ci-v12-donut>span{width:54px!important;height:54px!important;line-height:54px!important;font-size:15px!important}.ci-v12-donut small{font-size:10px!important}.ci-v12-distribution strong{font-size:14px!important}.ci-v12-distribution p{font-size:11px!important;margin-top:3px!important}.ci-v12-distribution-label{margin-bottom:3px!important}
/* Lista de categorías: se activa solo cuando JS está preparado */
.ci15-ready .ci-v12-category-list{display:grid;gap:8px!important;background:var(--v11-card);border:1px solid var(--v11-line);border-radius:17px;overflow:hidden;box-shadow:var(--v11-shadow)}
.ci15-ready .ci-v12-category-card{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid var(--v11-line)!important;display:flex;align-items:center;min-width:0}
.ci15-ready .ci-v12-category-card:last-child{border-bottom:0!important}
.ci15-ready .ci-v12-category-head{padding:10px 11px!important;border:0!important;flex:1;min-width:0;gap:9px!important}
.ci15-ready .ci-v12-category-icon{width:35px!important;height:35px!important;border-radius:10px!important}.ci15-ready .ci-v12-category-icon svg{width:17px!important}
.ci15-ready .ci-v12-category-head strong{font-size:12px!important}.ci15-ready .ci-v12-category-head small{font-size:10px!important}
.ci15-ready .ci-v12-pill{font-size:9px!important;padding:5px 7px!important}
.ci15-ready .ci15-edit{margin:0 11px 0 0;flex:none;border:1px solid var(--v11-line);background:var(--v11-soft);color:var(--v11-accent);border-radius:10px;min-width:39px;min-height:39px;font-weight:700;font-size:12px}
.ci15-ready .ci-v12-category-card>.ci-v12-category-form{display:none!important}
.ci15-create-toggle{width:100%;min-height:44px;border:1px solid var(--v11-line);background:var(--v11-soft);color:var(--v11-accent);border-radius:12px;font-size:13px;font-weight:750;margin:10px 0 0}
.ci15-ready .ci15-create-collapsed>.ci-v12-form{display:none!important}
.ci15-sheet-overlay{position:fixed;inset:0;background:rgba(8,23,48,.54);z-index:180;display:flex;align-items:flex-end;justify-content:center;padding:0;animation:ci15fade .17s ease}
.ci15-sheet{width:min(100%,520px);max-height:min(87dvh,780px);overflow:auto;overscroll-behavior:contain;border-radius:24px 24px 0 0;background:var(--v11-card);color:var(--v11-text);padding:9px 16px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 60px #0003;animation:ci15rise .2s ease}
.ci15-handle{width:42px;height:5px;background:var(--v11-line);border-radius:9px;margin:0 auto 15px}.ci15-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.ci15-sheet-head h2{margin:0;font-size:18px}.ci15-sheet-close{width:40px;height:40px;border:1px solid var(--v11-line);border-radius:11px;background:var(--v11-soft);color:var(--v11-text);font-size:23px}
.ci15-sheet .ci-v12-category-form{display:grid!important;padding:10px 0!important}.ci15-sheet .ci-v12-category-form .btn{background:#153b70!important;color:white!important}
body.ci15-sheet-open{overflow:hidden}.ci15-sheet-overlay:focus{outline:none}
@keyframes ci15fade{from{opacity:0}to{opacity:1}}@keyframes ci15rise{from{transform:translateY(24px)}to{transform:translateY(0)}}
@media(min-width:700px){.ci15-sheet-overlay{align-items:center;padding:20px}.ci15-sheet{border-radius:22px;max-height:85dvh;padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){.ci15-sheet,.ci15-sheet-overlay{animation:none!important}}
