:root{
 --ncica-primary:#5b5bd6;
 --ncica-primary-dark:#4545b8;
 --ncica-bg:#f5f6fa;
 --ncica-card:#ffffff;
 --ncica-text:#171923;
 --ncica-muted:#7a8194;
 --ncica-border:#e9ebf2;
 --ncica-success:#16a085;
 --ncica-danger:#e05a67;
 --ncica-warning:#d99a2b;
 --ncica-shadow:0 10px 30px rgba(27,31,59,.06);
}
body.ncica-finance{
 background:var(--ncica-bg);
 color:var(--ncica-text);
 font-family:"Inter","Plus Jakarta Sans",system-ui,-apple-system,sans-serif;
}
.ncica-finance .navbar-menu{
 background:#17192f!important;
 border-right:0!important;
 box-shadow:none!important;
}
.ncica-finance .navbar-menu .navbar-nav .nav-link{
 border-radius:10px;
 margin:2px 10px;
 padding:.72rem .9rem;
 color:#aeb4ca;
 font-size:.9rem;
}
.ncica-finance .navbar-menu .navbar-nav .nav-link i{font-size:1.05rem}
.ncica-finance .navbar-menu .navbar-nav .nav-link:hover,
.ncica-finance .navbar-menu .navbar-nav .nav-link.active{
 color:#fff!important;
 background:rgba(255,255,255,.08)!important;
}
.ncica-finance .navbar-menu .menu-title{color:#6f7795!important;font-size:.65rem;letter-spacing:.1em}
.ncica-finance .navbar-brand-box{background:#17192f!important}
.ncica-finance #page-topbar{
 background:rgba(255,255,255,.95);
 border-bottom:1px solid var(--ncica-border);
 box-shadow:none;
 backdrop-filter:blur(14px);
}
.ncica-finance .page-content{padding-top:calc(70px + 1.25rem)}
.ncica-finance .page-title-box{padding:0;background:transparent;box-shadow:none;margin-bottom:1.1rem!important}
.ncica-finance .page-eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#959bae;margin-bottom:.2rem}
.ncica-finance .page-heading{font-size:1.28rem;font-weight:750;color:#171923;margin:0}
.ncica-finance .card{
 border:1px solid var(--ncica-border);
 box-shadow:none;
 border-radius:16px;
 background:var(--ncica-card);
}
.ncica-finance .card-header{
 background:#fff;
 border-bottom:1px solid var(--ncica-border);
 border-radius:16px 16px 0 0!important;
 padding:1rem 1.15rem;
}
.ncica-finance .wallet-hero{
 position:relative;
 overflow:hidden;
 border:0;
 border-radius:22px;
 color:#fff;
 background:
 radial-gradient(circle at 85% 15%,rgba(255,255,255,.2),transparent 22%),
 linear-gradient(135deg,#26264f 0%,#4f4fc4 52%,#6f63e9 100%);
 box-shadow:0 18px 38px rgba(72,66,180,.22);
}
.ncica-finance .wallet-hero:after{
 content:"";
 position:absolute;
 width:220px;height:220px;border-radius:50%;
 right:-70px;bottom:-120px;
 background:rgba(255,255,255,.08);
}
.ncica-finance .wallet-balance-label{font-size:.75rem;opacity:.72;letter-spacing:.04em}
.ncica-finance .wallet-balance{font-size:2rem;font-weight:800;letter-spacing:-.03em;margin:.25rem 0}
.ncica-finance .wallet-meta{font-size:.75rem;opacity:.72}
.ncica-finance .quick-actions{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:.75rem;
}
.ncica-finance .quick-action{
 display:flex;flex-direction:column;align-items:center;gap:.45rem;
 color:#30344a;text-decoration:none;font-size:.75rem;font-weight:650;
 border:0;background:transparent;padding:.25rem;
}
.ncica-finance .quick-action-icon{
 width:48px;height:48px;border-radius:15px;
 display:flex;align-items:center;justify-content:center;
 background:#f0efff;color:var(--ncica-primary);
 font-size:1.25rem;
 transition:.2s ease;
}
.ncica-finance .quick-action:hover .quick-action-icon{transform:translateY(-2px);background:#e7e5ff}
.ncica-finance .mini-stat{
 padding:.95rem 1rem;
 border:1px solid var(--ncica-border);
 border-radius:15px;
 background:#fff;
}
.ncica-finance .mini-stat-label{font-size:.68rem;color:var(--ncica-muted);text-transform:uppercase;letter-spacing:.06em;font-weight:750}
.ncica-finance .mini-stat-value{font-size:1.08rem;font-weight:780;margin-top:.25rem;color:#25283a}
.ncica-finance .section-title{font-size:.98rem;font-weight:750;color:#25283a;margin:0}
.ncica-finance .section-subtitle{font-size:.77rem;color:var(--ncica-muted);margin:.2rem 0 0}
.ncica-finance .table>:not(caption)>*>*{padding:.78rem .95rem;vertical-align:middle;border-color:#f0f1f5}
.ncica-finance .table thead th{
 font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;color:#9aa0b0;
 background:#fafafd;border-bottom:1px solid var(--ncica-border);font-weight:800;
}
.ncica-finance .table tbody tr{cursor:default}
.ncica-finance .table tbody tr.table-link-row{cursor:pointer}
.ncica-finance .table tbody tr.table-link-row:hover{background:#fbfbfe}
.ncica-finance .badge{font-weight:700;border-radius:999px;padding:.38rem .58rem}
.ncica-finance .form-label{font-weight:650;color:#43485b;font-size:.82rem}
.ncica-finance .form-control,.ncica-finance .form-select{
 border-radius:11px;border-color:#dfe2ea;min-height:42px;font-size:.88rem;
}
.ncica-finance textarea.form-control{min-height:auto}
.ncica-finance .btn{border-radius:11px;font-weight:700}
.ncica-finance .btn-primary{background:var(--ncica-primary);border-color:var(--ncica-primary)}
.ncica-finance .btn-primary:hover{background:var(--ncica-primary-dark);border-color:var(--ncica-primary-dark)}
.ncica-finance .btn-soft-primary{background:#efefff;color:var(--ncica-primary);border:0}
.ncica-finance .modal-content{border:0;border-radius:18px;box-shadow:0 25px 65px rgba(25,28,54,.16)}
.ncica-finance .modal-header{border-bottom:1px solid var(--ncica-border);padding:1rem 1.2rem}
.ncica-finance .modal-body{padding:1.2rem}
.ncica-finance .modal-footer{border-top:1px solid var(--ncica-border);padding:1rem 1.2rem}
.ncica-finance .empty-state{padding:3rem 1rem;text-align:center;color:var(--ncica-muted)}
.ncica-finance .empty-state i{font-size:2rem;display:block;margin-bottom:.6rem;color:#b3b8c8}
.ncica-finance .detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ncica-finance .detail-label{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#9aa0b0;font-weight:750}
.ncica-finance .detail-value{font-size:.9rem;font-weight:650;color:#292d3e;margin-top:.15rem}
.ncica-finance .timeline-clean{position:relative;padding-left:1.2rem}
.ncica-finance .timeline-clean:before{content:"";position:absolute;left:.3rem;top:.4rem;bottom:.4rem;width:2px;background:#eceef4}
.ncica-finance .timeline-item{position:relative;padding:0 0 1rem .8rem}
.ncica-finance .timeline-item:before{content:"";position:absolute;left:-1rem;top:.3rem;width:9px;height:9px;border-radius:50%;background:var(--ncica-primary);box-shadow:0 0 0 4px #f0efff}
.ncica-finance .list-amount{font-size:.95rem;font-weight:800;color:#25283a}
.ncica-finance .soft-divider{border-top:1px solid var(--ncica-border)}
.ncica-finance .ewallet-home{min-height:228px}
.ncica-finance .wallet-atm-card{display:flex}
.ncica-finance .wallet-atm-inner{z-index:1;display:flex;flex:1;min-width:0;flex-direction:column;justify-content:space-between}
.ncica-finance .wallet-card-brand{font-size:.74rem;font-weight:850;letter-spacing:.12em;color:#fff}
.ncica-finance .wallet-card-brand span{font-weight:600;opacity:.62;letter-spacing:.08em}
.ncica-finance .wallet-card-chip{
 width:48px;height:36px;border-radius:9px;
 display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;
 background:linear-gradient(135deg,#d4b66e,#f4dfa8);
 border:1px solid rgba(255,255,255,.34);
 box-shadow:inset 0 0 0 1px rgba(91,72,31,.12);
 flex:0 0 auto;
}
.ncica-finance .wallet-card-chip span{border-right:1px solid rgba(91,72,31,.22)}
.ncica-finance .wallet-card-chip span:last-child{border-right:0}
.ncica-finance .wallet-card-number-row{
 margin-top:auto;
 padding-top:1rem;
 display:flex;
 align-items:flex-end;
 justify-content:space-between;
 gap:1rem;
}
.ncica-finance .wallet-card-number{
 font-size:1.08rem;
 font-weight:760;
 letter-spacing:.14em;
 color:#fff;
 text-shadow:0 1px 2px rgba(20,20,55,.14);
 white-space:nowrap;
}
.ncica-finance .wallet-card-barcode{
 width:132px;
 flex:0 0 132px;
 padding:.32rem .4rem .24rem;
 border-radius:8px;
 background:rgba(255,255,255,.94);
 box-shadow:0 3px 10px rgba(25,27,55,.12);
 text-align:center;
}
.ncica-finance .wallet-card-barcode img{display:block;width:100%;height:34px;object-fit:fill}
.ncica-finance .wallet-card-barcode span{display:block;margin-top:.08rem;font-size:.48rem;line-height:1;font-weight:850;letter-spacing:.13em;color:#45485a}
.ncica-finance .wallet-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:.8rem}
.ncica-finance .wallet-card-footer>div{min-width:0}
.ncica-finance .wallet-card-footer small{display:block;font-size:.56rem;font-weight:700;letter-spacing:.11em;opacity:.58;margin-bottom:.16rem}
.ncica-finance .wallet-card-footer strong{display:block;font-size:.7rem;font-weight:760;letter-spacing:.055em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}
.ncica-finance .ewallet-chip{width:46px;height:34px;border-radius:9px;background:linear-gradient(135deg,#d8bc78,#f2dda9);display:flex;align-items:center;justify-content:center;color:#5a4920;font-size:1.15rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.ncica-finance .ewallet-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;max-width:430px}
.ncica-finance .ewallet-action{display:flex;flex-direction:column;align-items:center;gap:.35rem;color:#fff;text-decoration:none;font-weight:650;font-size:.72rem}
.ncica-finance .ewallet-action span{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:1.1rem;backdrop-filter:blur(5px)}
.ncica-finance .ewallet-action:hover{color:#fff}.ncica-finance .ewallet-action:hover span{background:rgba(255,255,255,.24)}
.ncica-finance .flow-step{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .5rem;border-radius:999px;background:#f2f3f7;color:#9aa0b0;white-space:nowrap}
.ncica-finance .flow-step i{font-size:.82rem}.ncica-finance .flow-step small{font-size:.65rem}
.ncica-finance .flow-step.done{background:#eaf8f3;color:#13866f}.ncica-finance .flow-step.rejected{background:#fff0f1;color:#c94b59}
.ncica-finance .progress-table td{min-width:115px}.ncica-finance .progress-table td:first-child{min-width:190px}
.ncica-finance .document-barcode{border:1px solid var(--ncica-border);border-radius:15px;padding:1rem;background:#fafafd}
.ncica-finance .barcode-preview{border:1px dashed #d8dbe5;border-radius:14px;background:#fff;padding:1rem;min-height:125px;display:flex;align-items:center;justify-content:center}
.ncica-finance .profile-avatar{width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#efefff,#dbd9ff);color:var(--ncica-primary);font-size:1.6rem;font-weight:850;display:flex;align-items:center;justify-content:center}
.ncica-finance .payout-summary{display:flex;align-items:center;gap:.8rem}
.ncica-finance .payout-icon{width:46px;height:46px;border-radius:14px;background:#efefff;color:var(--ncica-primary);display:flex;align-items:center;justify-content:center;font-size:1.2rem}
.ncica-finance .payout-method-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.ncica-finance .payout-method-option{cursor:pointer;margin:0}
.ncica-finance .payout-method-option input{position:absolute;opacity:0;pointer-events:none}
.ncica-finance .payout-method-option span{border:1px solid var(--ncica-border);border-radius:15px;padding:1rem;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:.7rem;align-items:center;background:#fff;transition:.15s ease}
.ncica-finance .payout-method-option span i{grid-row:1/3;width:38px;height:38px;border-radius:12px;background:#f2f2fb;color:var(--ncica-primary);display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.ncica-finance .payout-method-option span strong{font-size:.88rem}.ncica-finance .payout-method-option span small{font-size:.7rem;color:var(--ncica-muted)}
.ncica-finance .payout-method-option input:checked+span{border-color:#bcb8ff;background:#f7f6ff;box-shadow:0 0 0 3px rgba(91,91,214,.08)}
.ncica-finance .vendor-flow-card{overflow:hidden}
.ncica-finance .shipment-flow-scroll{overflow-x:auto;padding-bottom:.35rem}
.ncica-finance .shipment-flow{display:flex;align-items:center;min-width:max-content;padding:.25rem}
.ncica-finance .shipment-flow-step{min-width:92px;display:flex;flex-direction:column;align-items:center;gap:.28rem;text-decoration:none;color:#72778a;padding:.55rem .6rem;border-radius:14px;transition:.15s ease}
.ncica-finance .shipment-flow-step:hover{background:#f7f7fb;color:var(--ncica-primary)}
.ncica-finance .shipment-flow-step.active{background:#efefff;color:var(--ncica-primary);box-shadow:inset 0 0 0 1px #d9d7ff}
.ncica-finance .shipment-flow-step.danger{color:#b75a64}
.ncica-finance .shipment-flow-step.danger.active{background:#fff0f1;color:#c94b59;box-shadow:inset 0 0 0 1px #ffd5da}
.ncica-finance .shipment-flow-icon{width:36px;height:36px;border-radius:12px;background:#f1f2f6;display:flex;align-items:center;justify-content:center;font-size:1rem}
.ncica-finance .shipment-flow-step.active .shipment-flow-icon{background:#fff}
.ncica-finance .shipment-flow-label{font-size:.68rem;font-weight:750;white-space:nowrap}
.ncica-finance .shipment-flow-count{font-size:.62rem;line-height:1;background:#eceef3;color:#777d8d;padding:.25rem .38rem;border-radius:999px;min-width:22px;text-align:center}
.ncica-finance .shipment-flow-step.active .shipment-flow-count{background:var(--ncica-primary);color:#fff}
.ncica-finance .shipment-flow-step.danger.active .shipment-flow-count{background:#c94b59}
.ncica-finance .shipment-flow-arrow{color:#c8cad4;font-size:1rem;margin:0 -.15rem}
.ncica-finance .shipment-flow-divider{width:1px;height:52px;background:#e3e4ea;margin:0 .45rem}
.ncica-finance .shipment-flow-branch{display:grid;grid-template-columns:1fr;gap:.25rem;padding:.25rem .35rem;border-left:1px solid #e3e4ea;border-right:1px solid #e3e4ea;border-radius:14px;background:#fafafd}
.ncica-finance .shipment-flow-branch .shipment-flow-step{min-width:96px;padding:.42rem .55rem;display:grid;grid-template-columns:30px 1fr auto;grid-template-rows:1fr;text-align:left}
.ncica-finance .shipment-flow-branch .shipment-flow-icon{width:30px;height:30px;border-radius:10px}
.ncica-finance .shipment-flow-branch .shipment-flow-label{align-self:center}
.ncica-finance .shipment-flow-branch .shipment-flow-count{align-self:center}
.ncica-finance .shipment-flow-branch .branch-ok{color:#23826d}
.ncica-finance .shipment-flow-branch .branch-ok.active{background:#eaf8f3;color:#13866f;box-shadow:inset 0 0 0 1px #cdeee4}
.ncica-finance .shipment-flow-branch .branch-ok.active .shipment-flow-count{background:#13866f;color:#fff}
.ncica-finance .branch-forward{align-self:flex-start;margin-top:22px}
.ncica-finance .flow-branch-note{display:flex;flex-wrap:wrap;gap:.6rem;font-size:.7rem;color:var(--ncica-muted);background:#fafafd;border:1px solid var(--ncica-border);border-radius:12px;padding:.65rem .8rem}
.ncica-finance .lifecycle-badge{display:inline-flex;align-items:center;padding:.38rem .58rem;border-radius:999px;font-size:.68rem;font-weight:750;background:#f0f1f5;color:#666c7b}
.ncica-finance .lifecycle-badge.flow-new{background:#f0f1f5;color:#646b7a}
.ncica-finance .lifecycle-badge.flow-transit{background:#eef5ff;color:#3478c8}
.ncica-finance .lifecycle-badge.flow-received{background:#fff7e8;color:#a86f12}
.ncica-finance .lifecycle-badge.flow-rejected{background:#fff0f1;color:#c94b59}
.ncica-finance .lifecycle-badge.flow-estimate{background:#f3f0ff;color:#7055bb}
.ncica-finance .lifecycle-badge.flow-due{background:#fff4e6;color:#d07812}
.ncica-finance .lifecycle-badge.flow-finance{background:#eaf4ff;color:#236db1}
.ncica-finance .lifecycle-badge.flow-paid{background:#eaf8f3;color:#13866f}
.ncica-finance .shipment-ledger-table td{vertical-align:middle}
@media(max-width:991.98px){
 .ncica-finance .page-content{padding-top:calc(70px + .9rem)}
 .ncica-finance .wallet-balance{font-size:1.7rem}
}
@media(max-width:575.98px){
 .ncica-finance .quick-actions{grid-template-columns:repeat(4,1fr);gap:.35rem}
 .ncica-finance .quick-action-icon{width:42px;height:42px;border-radius:13px}
 .ncica-finance .quick-action{font-size:.68rem}
 .ncica-finance .detail-grid{grid-template-columns:1fr}
}
/* Finance WhatsApp inbox */
.ncica-wa-shell{
    height:calc(100vh - 150px);
    min-height:600px;
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    border:1px solid var(--ncica-border);
    border-radius:18px;
    overflow:hidden;
    background:#fff;
}
.ncica-wa-sidebar{border-right:1px solid var(--ncica-border);background:#fff;min-width:0;display:flex;flex-direction:column}
.ncica-wa-sidebar-head{padding:.85rem;border-bottom:1px solid var(--ncica-border)}
.ncica-wa-list{overflow:auto;flex:1}
.ncica-wa-item{display:block;padding:.72rem .8rem;border-bottom:1px solid #f2f3f7;text-decoration:none;color:inherit}
.ncica-wa-item:hover,.ncica-wa-item.active{background:#f7f7fc}
.ncica-wa-avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#efefff;color:var(--ncica-primary);font-weight:800;flex:0 0 auto}
.ncica-wa-name{font-size:.83rem;font-weight:750;color:#292d3e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ncica-wa-phone,.ncica-wa-time{font-size:.69rem;color:#969cac}
.ncica-wa-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f5f6fa}
.ncica-wa-header{height:62px;flex:0 0 auto;padding:.75rem 1rem;border-bottom:1px solid var(--ncica-border);background:#fff;display:flex;align-items:center;justify-content:space-between}
.ncica-wa-thread{flex:1;overflow:auto;padding:1rem 1.2rem 7.2rem;background:#f4f5f9}
.ncica-wa-row{display:flex;margin:.45rem 0}
.ncica-wa-row.inbound{justify-content:flex-start}
.ncica-wa-row.outbound{justify-content:flex-end}
.ncica-wa-bubble{max-width:min(72%,640px);padding:.62rem .8rem;border-radius:16px;font-size:.86rem;line-height:1.45;box-shadow:0 1px 2px rgba(25,28,54,.04)}
.ncica-wa-row.inbound .ncica-wa-bubble{background:#fff;border:1px solid #e8eaf0;border-bottom-left-radius:5px}
.ncica-wa-row.outbound .ncica-wa-bubble{background:#e8e7ff;color:#252650;border-bottom-right-radius:5px}
.ncica-wa-message-time{font-size:.63rem;color:#9ca1ae;margin-top:.25rem;text-align:right}
.ncica-wa-image{display:block;max-width:320px;max-height:320px;width:auto;height:auto;border-radius:12px;margin-bottom:.45rem;object-fit:cover}
.ncica-wa-file{display:flex;align-items:center;gap:.6rem;padding:.55rem .65rem;border-radius:10px;background:rgba(255,255,255,.55);border:1px solid rgba(70,74,100,.08);margin-bottom:.4rem}
.ncica-wa-file i{font-size:1.25rem}
.ncica-wa-composer-wrap{position:absolute;left:0;right:0;bottom:0;padding:0 1rem 1rem;pointer-events:none}
.ncica-wa-composer{max-width:820px;margin:0 auto;background:#2f3036;border:1px solid #45464e;border-radius:20px;padding:.38rem .45rem;box-shadow:0 12px 30px rgba(15,17,28,.18);pointer-events:auto}
.ncica-wa-composer-row{display:flex;align-items:flex-end;gap:.35rem}
.ncica-wa-composer textarea{flex:1;resize:none;overflow-y:auto;min-height:38px;max-height:150px;border:0!important;background:transparent!important;color:#f1f1f3!important;box-shadow:none!important;padding:.55rem .4rem;line-height:1.4}
.ncica-wa-composer textarea::placeholder{color:#a8a8af}
.ncica-wa-compose-btn{width:38px;height:38px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ncica-wa-plus{background:transparent;color:#e8e8ea}
.ncica-wa-plus:hover{background:#44454c;color:#fff}
.ncica-wa-send{background:#f1f1f2;color:#282930}
.ncica-wa-attachment-tray{display:none;padding:.55rem .4rem .2rem}
.ncica-wa-attachment-tray.show{display:block}
.ncica-wa-empty{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;color:#8f95a5}
.ncica-wa-main-inner{position:relative;min-height:0;flex:1;display:flex;flex-direction:column}
.ncica-inline-proof{border:1px solid var(--ncica-border);border-radius:14px;overflow:hidden;background:#fafafd}
.ncica-inline-proof img{display:block;width:100%;max-height:520px;object-fit:contain;background:#f3f4f7}
.ncica-inline-proof iframe{display:block;width:100%;height:520px;border:0;background:#fff}
.ncica-proof-caption{padding:.65rem .8rem;border-top:1px solid var(--ncica-border);font-size:.76rem;color:var(--ncica-muted)}
@media(max-width:991.98px){
    .ncica-wa-shell{grid-template-columns:250px minmax(0,1fr);height:calc(100vh - 130px)}
}
@media(max-width:767.98px){
    .ncica-wa-shell{display:block;height:auto;min-height:0}
    .ncica-wa-sidebar{height:260px;border-right:0;border-bottom:1px solid var(--ncica-border)}
    .ncica-wa-main{height:620px}
    .ncica-wa-bubble{max-width:88%}
}

/* Unified wallet */
.ncica-finance .wallet-summary-stack{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:.75rem}
.ncica-finance .wallet-summary-card{display:flex;align-items:center;gap:.8rem;padding:.95rem;border:1px solid var(--ncica-border);border-radius:15px;background:#fff;color:inherit;text-decoration:none;min-height:82px}
.ncica-finance .wallet-summary-card:hover{color:inherit;background:#fbfbfe}
.ncica-finance .wallet-summary-icon{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:1.08rem;background:#f2f3f7;color:#696f80}
.ncica-finance .wallet-summary-card span:last-child{min-width:0;display:flex;flex-direction:column}
.ncica-finance .wallet-summary-card small{font-size:.67rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ncica-muted);font-weight:750}
.ncica-finance .wallet-summary-card strong{font-size:.95rem;color:#25283a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ncica-finance .wallet-summary-card.debt .wallet-summary-icon{background:#fff0f1;color:#c94b59}
.ncica-finance .wallet-summary-card.receivable .wallet-summary-icon{background:#eaf8f3;color:#13866f}
.ncica-finance .wallet-summary-card.estimate-out .wallet-summary-icon{background:#fff7e8;color:#b37a16}
.ncica-finance .wallet-summary-card.estimate-in .wallet-summary-icon{background:#efefff;color:var(--ncica-primary)}

.ncica-finance .simple-record-list{display:flex;flex-direction:column}
.ncica-finance .simple-record-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;gap:.8rem;align-items:center;padding:.85rem 1rem;border-bottom:1px solid #f0f1f5;color:inherit;text-decoration:none}
.ncica-finance .simple-record-row:last-child{border-bottom:0}
.ncica-finance a.simple-record-row:hover{background:#fbfbfe;color:inherit}
.ncica-finance .simple-record-icon{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#f1f2f6;color:#6f7585;font-size:1rem}
.ncica-finance .simple-record-icon.debt{background:#fff0f1;color:#c94b59}
.ncica-finance .simple-record-icon.receivable{background:#eaf8f3;color:#13866f}
.ncica-finance .simple-record-icon.neutral{background:#efefff;color:var(--ncica-primary)}
.ncica-finance .simple-record-main{display:flex;flex-direction:column;min-width:0}
.ncica-finance .simple-record-main strong{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ncica-finance .simple-record-main small,.ncica-finance .simple-record-amount small{font-size:.68rem;color:var(--ncica-muted)}
.ncica-finance .simple-record-amount{display:flex;flex-direction:column;text-align:right;white-space:nowrap}
.ncica-finance .simple-record-amount strong{font-size:.82rem;color:#25283a}

.mobile-bottom-nav{display:none}

@media(max-width:991.98px){
    .simple-user-shell .app-menu{display:none!important}
    .simple-user-shell .main-content{margin-left:0!important}
    .simple-user-shell #page-topbar{left:0!important}
    .simple-user-shell .vertical-menu-btn{display:none!important}
    .simple-user-shell .page-content{padding-bottom:96px!important}
    .simple-user-shell .footer{display:none}
    .simple-user-shell .page-title-box{padding-left:.1rem;padding-right:.1rem}

    .mobile-bottom-nav{
        position:fixed;
        z-index:1050;
        left:12px;
        right:12px;
        bottom:10px;
        min-height:66px;
        display:flex;
        align-items:center;
        justify-content:space-around;
        gap:.15rem;
        padding:.45rem .5rem calc(.45rem + env(safe-area-inset-bottom));
        border:1px solid rgba(223,226,234,.9);
        border-radius:20px;
        background:rgba(255,255,255,.96);
        box-shadow:0 14px 36px rgba(28,31,55,.16);
        backdrop-filter:blur(16px);
    }
    .mobile-bottom-nav>a{
        position:relative;
        min-width:0;
        flex:1 1 20%;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:.16rem;
        color:#9298a9;
        text-decoration:none;
        font-size:.61rem;
        font-weight:720;
        line-height:1.1;
        padding:.25rem .15rem;
        border-radius:13px;
    }
    .mobile-bottom-nav>a i{font-size:1.18rem}
    .mobile-bottom-nav>a.active{color:var(--ncica-primary)}
    .mobile-bottom-nav>a.active:not(.mobile-nav-primary){background:#f2f1ff}
    .mobile-bottom-nav>a.mobile-nav-primary{
        color:var(--ncica-primary);
        overflow:visible;
    }
    .mobile-bottom-nav>a.mobile-nav-primary i{
        width:48px;height:48px;border-radius:17px;
        display:flex;align-items:center;justify-content:center;
        margin-top:-24px;
        background:var(--ncica-primary);
        color:#fff;
        border:4px solid #fff;
        box-shadow:0 9px 22px rgba(91,91,214,.34);
        font-size:1.45rem;
    }
    .mobile-bottom-nav>a.mobile-nav-primary span{margin-top:1px;font-weight:780}
    .mobile-bottom-nav>a b{
        position:absolute;
        top:0;right:18%;
        min-width:16px;height:16px;border-radius:99px;
        padding:0 4px;
        display:flex;align-items:center;justify-content:center;
        background:#e05a67;color:#fff;
        font-size:.55rem;
        border:2px solid #fff;
    }
}

@media(max-width:575.98px){
    .ncica-finance .ewallet-home{min-height:218px}
    .ncica-finance .wallet-atm-card{padding:1.25rem!important}
    .ncica-finance .wallet-card-number-row{gap:.65rem;padding-top:.85rem}
    .ncica-finance .wallet-card-number{font-size:.88rem;letter-spacing:.085em}
    .ncica-finance .wallet-card-barcode{width:108px;flex-basis:108px;padding:.26rem .3rem .2rem}
    .ncica-finance .wallet-card-barcode img{height:30px}
    .ncica-finance .wallet-card-barcode span{font-size:.42rem}
    .ncica-finance .wallet-card-footer strong{font-size:.63rem;max-width:180px}
    .ncica-finance .wallet-summary-card{padding:.75rem;min-height:76px}
    .ncica-finance .wallet-summary-icon{width:36px;height:36px;border-radius:11px}
    .ncica-finance .wallet-summary-card strong{font-size:.82rem}
    .ncica-finance .simple-record-row{grid-template-columns:38px minmax(0,1fr) auto;gap:.6rem;padding:.8rem .85rem}
    .ncica-finance .simple-record-row>.ri-arrow-right-s-line{display:none}
    .ncica-finance .simple-record-icon{width:36px;height:36px;border-radius:11px}
    .ncica-finance .simple-record-main strong{font-size:.8rem}
    .ncica-finance .simple-record-amount strong{font-size:.76rem}
}


/* Simple mobile shell: bottom navigation is the only primary chrome */
@media(max-width:991.98px){
    .simple-user-shell #page-topbar{display:none!important}
    .simple-user-shell .page-content{padding-top:1rem!important}
    .simple-user-shell .page-title-box{padding-top:.25rem}
}

.vendor-barcode-preview img{display:block;width:150px;max-width:22vw;height:44px;object-fit:contain}
@media(max-width:575.98px){
    .vendor-barcode-row{grid-template-columns:38px minmax(0,1fr) auto!important}
    .vendor-barcode-preview{display:none}
}

/* 2026-10 IA/readability pass */
.ncica-finance .navbar-menu .menu-link[aria-expanded="true"]{
    color:#fff!important;
    background:rgba(255,255,255,.06)!important;
}
.ncica-finance .navbar-menu .menu-dropdown{
    margin:.1rem .65rem .35rem;
    padding:.25rem 0 .35rem;
    border-left:1px solid rgba(255,255,255,.08);
}
.ncica-finance .navbar-menu .menu-dropdown .nav-link{
    margin:0 6px;
    padding:.48rem .75rem .48rem 1.35rem;
    border-radius:8px;
    font-size:.8rem;
    color:#929ab8;
}
.ncica-finance .navbar-menu .menu-dropdown .nav-link.active{
    background:rgba(255,255,255,.075)!important;
    color:#fff!important;
}
.ncica-finance .card.text-decoration-none{
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.ncica-finance a.card.text-decoration-none:hover{
    transform:translateY(-1px);
    border-color:#dfe1eb;
    box-shadow:0 9px 22px rgba(27,31,59,.055);
}
.ncica-finance .card-header .section-title + .section-subtitle{
    max-width:850px;
}
.ncica-finance details summary{
    user-select:none;
}
.ncica-finance .table-responsive{
    scrollbar-width:thin;
    scrollbar-color:#d9dce6 transparent;
}
.ncica-finance code{
    color:#5757c5;
    background:#f3f3ff;
    border-radius:6px;
    padding:.08rem .3rem;
}
@media(max-width:767.98px){
    .ncica-finance .page-title-box{
        align-items:flex-start!important;
        flex-direction:column;
    }
    .ncica-finance .page-title-box>div:last-child{
        width:100%;
    }
    .ncica-finance .page-heading{font-size:1.16rem}
    .ncica-finance .section-subtitle{font-size:.74rem;line-height:1.45}
    .ncica-finance .card-header{padding:.9rem 1rem}
    .ncica-finance .table>:not(caption)>*>*{padding:.7rem .8rem}
}

/* Product-centric marketplace intelligence */
.ncica-finance .product-performance-list{
 display:flex;
 flex-direction:column;
 gap:1rem;
}
.ncica-finance .product-performance-card{
 border:1px solid var(--ncica-border);
 border-radius:16px;
 padding:1rem;
 background:#fff;
}
.ncica-finance .product-performance-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:1rem;
}
.ncica-finance .product-performance-name{
 font-size:1rem;
 font-weight:800;
 color:#25283a;
}
.ncica-finance .product-performance-meta{
 display:flex;
 flex-wrap:wrap;
 gap:.45rem .9rem;
 color:var(--ncica-muted);
 font-size:.73rem;
}
.ncica-finance .product-performance-meta span{
 display:inline-flex;
 align-items:center;
 gap:.25rem;
}
.ncica-finance .product-kpi-grid{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:.7rem;
 margin-top:1rem;
}
.ncica-finance .product-kpi{
 border:1px solid #eef0f5;
 border-radius:13px;
 padding:.78rem;
 background:#fbfbfd;
 min-width:0;
}
.ncica-finance .product-kpi>span,
.ncica-finance .variant-metrics span,
.ncica-finance .store-performance-metrics span{
 display:block;
 color:var(--ncica-muted);
 font-size:.63rem;
 text-transform:uppercase;
 letter-spacing:.04em;
 font-weight:750;
}
.ncica-finance .product-kpi>strong{
 display:block;
 margin-top:.2rem;
 font-size:.92rem;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}
.ncica-finance .product-kpi>small{
 display:block;
 margin-top:.15rem;
 color:var(--ncica-muted);
 font-size:.67rem;
}
.ncica-finance .product-recommendations{
 display:flex;
 flex-wrap:wrap;
 gap:.45rem;
 margin-top:.8rem;
}
.ncica-finance .product-recommendations span{
 display:inline-flex;
 align-items:center;
 gap:.28rem;
 border-radius:999px;
 background:#f6f6fb;
 color:#575d70;
 padding:.38rem .6rem;
 font-size:.7rem;
 font-weight:650;
}
.ncica-finance .product-collapse-actions{
 display:flex;
 flex-wrap:wrap;
 gap:.5rem;
 margin-top:.9rem;
 padding-top:.85rem;
 border-top:1px solid #f0f1f5;
}
.ncica-finance .product-collapse-panel{
 margin-top:.85rem;
 padding:1rem;
 border-radius:14px;
 background:#f8f9fc;
 border:1px solid #eceef4;
}
.ncica-finance .variant-card-grid,
.ncica-finance .store-performance-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:.75rem;
}
.ncica-finance .variant-card,
.ncica-finance .store-performance-card{
 min-width:0;
 border:1px solid var(--ncica-border);
 border-radius:14px;
 padding:.85rem;
 background:#fff;
}
.ncica-finance .variant-metrics,
.ncica-finance .store-performance-metrics{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:.65rem;
 margin-top:.75rem;
}
.ncica-finance .variant-metrics strong,
.ncica-finance .store-performance-metrics strong{
 display:block;
 margin-top:.12rem;
 font-size:.78rem;
 overflow-wrap:anywhere;
}
.ncica-finance .store-performance-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:.75rem;
}
.ncica-finance .store-ad-summary{
 margin-top:.8rem;
 padding-top:.75rem;
 border-top:1px solid #f0f1f5;
}
.ncica-finance .store-ad-toggle{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:.75rem;
 width:100%;
 border:0;
 background:transparent;
 padding:0;
 color:var(--ncica-primary);
 font-size:.75rem;
 font-weight:750;
 text-align:left;
}
.ncica-finance .store-ad-list{
 margin-top:.55rem;
 padding:.6rem;
 border-radius:11px;
 background:#f8f9fc;
}
.ncica-finance .store-ad-name{
 font-size:.72rem;
 line-height:1.4;
 padding:.28rem 0;
 overflow-wrap:anywhere;
}
.ncica-finance .store-ad-name+.store-ad-name{
 border-top:1px solid #eceef4;
}
.ncica-finance .store-performance-actions{
 display:flex;
 flex-wrap:wrap;
 gap:.4rem;
 margin-top:.8rem;
}
.ncica-finance .min-w-0{min-width:0}

@media (max-width:1199.98px){
 .ncica-finance .product-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767.98px){
 .ncica-finance .product-performance-card{padding:.85rem}
 .ncica-finance .product-performance-head{display:block}
 .ncica-finance .product-performance-status{margin-top:.65rem}
 .ncica-finance .product-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
 .ncica-finance .variant-card-grid,
 .ncica-finance .store-performance-grid{grid-template-columns:1fr}
 .ncica-finance .variant-metrics,
 .ncica-finance .store-performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ncica-finance .product-collapse-panel{padding:.75rem}
 .ncica-finance .page-title-box{align-items:flex-start!important;flex-direction:column}
}
@media (max-width:420px){
 .ncica-finance .product-kpi-grid{grid-template-columns:1fr 1fr}
 .ncica-finance .product-kpi{padding:.65rem}
 .ncica-finance .product-kpi>strong{font-size:.82rem}
}

/* Store audit hulu -> hilir */
.ncica-finance .store-audit-flow{
 display:grid;
 grid-template-columns:repeat(5,minmax(150px,1fr));
 gap:.65rem;
 overflow-x:auto;
 padding-bottom:.25rem;
}
.ncica-finance .store-audit-flow-detail{
 grid-template-columns:repeat(5,minmax(170px,1fr));
}
.ncica-finance .store-audit-stage{
 position:relative;
 min-width:0;
 border:1px solid #eceef4;
 border-radius:13px;
 padding:.8rem;
 background:#fff;
}
.ncica-finance .store-audit-stage.ok{background:#f4fbf7;border-color:#d7f0df}
.ncica-finance .store-audit-stage.warning{background:#fffaf0;border-color:#f7e6bc}
.ncica-finance .store-audit-stage.missing{background:#fff6f6;border-color:#f3d7d7}
.ncica-finance .store-audit-dot{
 width:9px;height:9px;border-radius:50%;margin-bottom:.5rem;background:#adb5bd
}
.ncica-finance .store-audit-stage.ok .store-audit-dot{background:#0ab39c}
.ncica-finance .store-audit-stage.warning .store-audit-dot{background:#f7b84b}
.ncica-finance .store-audit-stage.missing .store-audit-dot{background:#f06548}
.ncica-finance .store-audit-label{font-size:.76rem;font-weight:800;color:#2d3142}
.ncica-finance .store-audit-detail{font-size:.68rem;color:#6b7280;margin-top:.3rem;line-height:1.35;overflow-wrap:anywhere}
.ncica-finance .store-audit-time{font-size:.62rem;color:#9aa0ac;margin-top:.5rem}
@media(max-width:767.98px){
 .ncica-finance .store-audit-flow,
 .ncica-finance .store-audit-flow-detail{
   grid-template-columns:repeat(2,minmax(155px,1fr));
 }
}

/* Ads mapping workspace */
.ncica-finance .mapping-list{min-height:120px}
.ncica-finance .mapping-row{transition:opacity .2s ease,transform .2s ease}
.ncica-finance .product-picker-menu{
 min-width:320px;
 max-width:min(520px,calc(100vw - 2rem));
 box-shadow:0 10px 30px rgba(15,23,42,.12);
}
.ncica-finance .product-picker-results{
 max-height:300px;
 overflow:auto;
}
.ncica-finance .product-picker-results .dropdown-item{
 white-space:normal;
}
.ncica-finance .mapping-tab-flash{
 box-shadow:0 0 0 3px rgba(10,179,156,.12);
}
.ncica-finance #mappingWorkspace .nav-tabs{
 overflow-x:auto;
 overflow-y:hidden;
 flex-wrap:nowrap;
}
.ncica-finance #mappingWorkspace .nav-tabs .nav-link{
 white-space:nowrap;
}
@media(max-width:767.98px){
 .ncica-finance .product-picker-menu{
   position:fixed!important;
   left:1rem!important;
   right:1rem!important;
   top:20vh!important;
   width:auto!important;
   min-width:0!important;
   transform:none!important;
 }
 .ncica-finance .product-picker-results{max-height:45vh}
}

/* SKU master mapping */
.ncica-finance .sku-target-picker{z-index:20}
.ncica-finance .sku-target-results{
 position:absolute;
 top:calc(100% + .35rem);
 left:0;
 right:0;
 max-height:300px;
 overflow:auto;
 z-index:1090;
}
.ncica-finance .sku-target-option+.sku-target-option{
 border-top:1px solid #eef0f5!important;
}
.ncica-finance .sku-target-option:hover{
 background:#f7f7fb!important;
}
@media(max-width:767.98px){
 .ncica-finance .sku-target-results{
   position:fixed;
   left:1rem;
   right:1rem;
   top:20vh;
   max-height:55vh;
 }
}
