
/* InSolutions V127 Ledger Intelligence — STRICT SPEC V3 / Grok design reviewed
   Scope: Ledger central workspace only. No global shell selectors. No HTML5 Canvas.
*/
#ledger-v127-root{min-width:0;width:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f2a44}
#ledger-v127-root *{box-sizing:border-box}
#ledger-v127-root button,#ledger-v127-root input,#ledger-v127-root select{font:inherit}
.lispec-root{--ink:#17213b;--muted:#6e7890;--line:#e5e9f2;--panel:#fff;--bg:#f7f9fc;--violet:#675cf6;--blue:#3d7ff2;--green:#2eb67d;--orange:#f59e42;--red:#ef6670;--teal:#31b7b1;--shadow:0 1px 2px rgba(24,39,75,.03);display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;background:var(--bg);padding:0 0 14px;color:var(--ink)}
.lispec-root button{cursor:pointer}
.lispec-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.lispec-empty{font-size:11px;color:#96a0b3;line-height:1.5;padding:8px 0}
.lispec-alert{padding:10px 12px;border-radius:8px;font-size:12px;font-weight:600}
.lispec-alert.warn{background:#fff9ed;border:1px solid #f3d291;color:#8c6117}
.lispec-alert.danger{background:#fff4f5;border:1px solid #ffc8cc;color:#b23c47}
.lispec-loading{height:36px;background:#fff;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:12px;color:#59647a}
.lispec-loading>span{width:14px;height:14px;border-radius:50%;border:2px solid #d8ddff;border-top-color:var(--violet);animation:lispec-spin .75s linear infinite}@keyframes lispec-spin{to{transform:rotate(360deg)}}

/* page title / role lens / local UI preferences */
.lispec-pagehead{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:center;gap:16px;padding:3px 2px 2px}
.lispec-pagehead h1{font-size:20px;line-height:1.15;letter-spacing:-.02em;font-weight:800;color:#17213b;margin:0}
.lispec-pagehead p{margin:4px 0 0;font-size:11px;color:#6f7890}
.lispec-modebar{display:flex;border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}
.lispec-modebar button{min-width:72px;height:34px;border:0;border-right:1px solid var(--line);background:#fff;color:#667189;font-size:11px;font-weight:600;padding:0 12px}
.lispec-modebar button:last-child{border-right:0}.lispec-modebar button.active{background:#f1efff;color:#5e54e7;box-shadow:inset 0 -2px 0 #6b5df3}
.lispec-page-tools{display:flex;align-items:center;gap:8px}
.lispec-page-tools>button,.lispec-density{height:34px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:10px;color:#59647a;display:flex;align-items:center}
.lispec-page-tools>button{padding:0 10px}
.lispec-density span{padding:0 7px}.lispec-density button{width:32px;height:32px;border:0;border-left:1px solid var(--line);background:#fff;color:#788198}.lispec-density button.active{background:#f0edff;color:#6559ec}

/* filter ribbon */
.lispec-filterbar{display:flex;align-items:end;gap:8px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px 10px;overflow:auto}
.lispec-filter{display:flex;flex-direction:column;gap:4px;min-width:126px;flex:1 0 126px}
.lispec-filter>span{font-size:9px;text-transform:none;color:#7b8497;font-weight:600}
.lispec-filter select,.lispec-filter input{height:34px;border:1px solid #e2e6ee;border-radius:7px;background:#fff;color:#3f4b63;font-size:10.5px;padding:0 28px 0 9px;outline:none;max-width:100%}
.lispec-filter select:focus,.lispec-filter input:focus{border-color:#8e86f6;box-shadow:0 0 0 2px rgba(103,92,246,.1)}
.lispec-filter.is-unavailable select{color:#aab1bf;background:#fafbfc}
.lispec-filter-search{min-width:190px}
.lispec-filter-actions{display:flex;gap:7px;margin-left:auto;flex:0 0 auto}
.lispec-btn{height:34px;border-radius:7px;padding:0 13px;font-size:10.5px;font-weight:700}
.lispec-btn-ghost{border:1px solid var(--line);background:#fff;color:#69748a}
.lispec-btn-primary{border:1px solid #6559ed;background:#675cf6;color:#fff}

/* feed AI overview */
.lispec-feed-ai{display:grid;grid-template-columns:1.45fr 1.12fr .78fr 1.15fr;overflow:hidden;min-height:182px}
.lispec-feed-ai>article{padding:16px 18px;border-right:1px solid var(--line);min-width:0}.lispec-feed-ai>article:last-child{border-right:0}
.lispec-feed-summary{position:relative;display:flex;align-items:center;overflow:hidden}
.lispec-wave{position:absolute;left:-12px;bottom:-14px;width:180px;height:190px;opacity:.92;background:
radial-gradient(ellipse at 0 100%,rgba(65,206,153,.5) 0 22%,transparent 23%),
radial-gradient(ellipse at 0 100%,rgba(75,165,246,.45) 0 34%,transparent 35%),
radial-gradient(ellipse at 0 100%,rgba(104,92,246,.40) 0 48%,transparent 49%);
filter:blur(.3px)}
.lispec-feed-copy{position:relative;z-index:1;margin-left:130px}
.lispec-badge{display:inline-flex;border:1px solid #d7d0ff;background:#f8f5ff;color:#6457e6;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:800}
.lispec-feed-copy h2{font-size:18px;line-height:1.3;margin:10px 0 6px;color:#1f2941}
.lispec-feed-copy p,.lispec-feed-trust p{font-size:10.5px;color:#6d7890;line-height:1.5}
.lispec-feed-ai h3{font-size:11.5px;margin:0 0 6px}.lispec-feed-ai h3 em{font-style:normal;font-weight:500;color:#9aa3b2;font-size:9px}
.lispec-insight{display:grid;grid-template-columns:27px 1fr;gap:8px;align-items:start;padding:6px 0}
.lispec-insight>span{width:26px;height:26px;border:1px solid #dce3ef;border-radius:50%;display:grid;place-items:center;color:#6559eb;font-size:9px;font-weight:700}
.lispec-insight b{font-size:10px;display:block}.lispec-insight small{font-size:9px;color:#7f899b;display:block;margin-top:2px;line-height:1.35}
.lispec-trust-score{font-size:26px;font-weight:800;color:#14905c;margin:10px 0 5px}.lispec-provenance{margin-top:12px;padding-top:9px;border-top:1px solid #eef1f6}.lispec-provenance b,.lispec-provenance span{display:block;font-size:9px}.lispec-provenance span{color:#7c8798;margin-top:3px}
.lispec-pill{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;background:#eef1f7;color:#667189;font-size:9px;font-weight:700}.lispec-pill.good{background:#e8f8f0;color:#148958}.lispec-pill.warn{background:#fff4e5;color:#bb771f}.lispec-pill.danger{background:#fff0f1;color:#d74b55}
.lispec-action{width:100%;display:grid;grid-template-columns:26px minmax(0,1fr) auto 14px;gap:7px;align-items:center;text-align:left;border:1px solid #e7eaf1;background:#fff;border-radius:8px;padding:7px;margin-top:7px;color:#29344d}
.lispec-action>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f0efff;color:#6358e7;font-size:9px;font-weight:800}.lispec-action b{font-size:9.5px;display:block}.lispec-action small{display:block;font-size:8.5px;color:#8993a5;margin-top:2px}.lispec-action strong{font-size:9px;color:#4c5870}.lispec-action i{font-style:normal;color:#8490a4}

/* KPIs */
.lispec-kpis{display:grid;grid-template-columns:repeat(var(--kpi-cols,6),minmax(0,1fr));gap:9px}
.lispec-kpi{min-height:92px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;padding:11px 12px;position:relative;color:#26324c;overflow:hidden}
.lispec-kpi:hover{border-color:#cfd5e7;box-shadow:0 3px 12px rgba(37,52,89,.05)}
.lispec-kpi-head{display:grid;grid-template-columns:20px 1fr auto;gap:5px;align-items:center;color:#667188;font-size:9.5px;font-weight:650}
.lispec-kpi-icon{width:19px;height:19px;border-radius:5px;background:#f1efff;color:#6559ed;display:grid;place-items:center;font-size:9px}.lispec-kpi-head i{font-style:normal;color:#a3aab8;font-size:9px}
.lispec-kpi strong{display:block;font-size:20px;line-height:1;margin-top:9px;color:#17213b}.lispec-kpi small{display:block;font-size:8.5px;color:#7f899b;margin-top:5px}
.lispec-kpi-spark{height:23px;color:#5b78f4;margin-top:5px}.lispec-kpi-spark svg{width:100%;height:100%}.lispec-trend-empty{color:#afb6c4}

/* card / columns */
.lispec-stack{display:flex;flex-direction:column;gap:9px;min-width:0}
.lispec-threecol{display:grid;grid-template-columns:minmax(235px,.58fr) minmax(520px,1.75fr) minmax(270px,.72fr);gap:10px;align-items:start}
.lispec-twocol{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,.72fr);gap:10px;align-items:start}
.lispec-panel{padding:11px 12px;min-width:0}.lispec-panel h3{font-size:10.5px;margin:0 0 8px;color:#27324a}
.lispec-summary-text{font-size:9.6px;color:#69758b;line-height:1.52}
.lispec-mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:0;overflow:hidden}.lispec-mini-kpis button{border:0;border-right:1px solid var(--line);background:#fff;text-align:left;padding:10px 8px}.lispec-mini-kpis button:last-child{border-right:0}.lispec-mini-kpis span{font-size:8.5px;color:#7d8798;display:block}.lispec-mini-kpis b{font-size:15px;margin-top:4px;display:block}.lispec-mini-kpis small{font-size:7.8px;color:#9aa2b1}
.lispec-inline-tools{display:flex;align-items:center;gap:8px;margin-top:9px;padding-top:8px;border-top:1px solid #eef1f5}.lispec-inline-tools button{border:1px solid #d9dff0;background:#fff;color:#5d63d6;border-radius:6px;height:27px;padding:0 8px;font-size:8.5px}.lispec-inline-tools span{font-size:8px;color:#8c95a6}
.lispec-minirow{display:grid;grid-template-columns:22px 1fr;gap:7px;padding:6px 0;border-bottom:1px solid #eef1f5}.lispec-minirow:last-child{border-bottom:0}.lispec-minirow span{width:20px;height:20px;border-radius:50%;background:#f1efff;color:#6458eb;display:grid;place-items:center;font-size:8px}.lispec-minirow b{font-size:8.8px;font-weight:600}
.lispec-rec{display:grid;grid-template-columns:18px 1fr;gap:6px;align-items:start;width:100%;border:0;background:transparent;padding:5px 0;text-align:left}.lispec-rec span{color:#27a36c}.lispec-rec b{font-size:8.7px;font-weight:600;color:#4a566e}
.lispec-card-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.lispec-card-title button{border:0;background:transparent;color:#665be9;font-size:8.5px}.lispec-card-title>span{font-size:8px;color:#929bac}
.lispec-role-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px}.lispec-role-summary div{border:1px solid #edf0f5;border-radius:7px;padding:8px}.lispec-role-summary b{display:block;font-size:16px}.lispec-role-summary span{font-size:8px;color:#7d8799}
.lispec-evidence-row{display:flex;justify-content:space-between;align-items:center;gap:7px;width:100%;background:#fff;border:0;border-bottom:1px solid #eef1f5;padding:7px 0;text-align:left}.lispec-evidence-row:last-child{border-bottom:0}.lispec-evidence-row b{display:block;font-size:8.6px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.lispec-evidence-row small{display:block;font-size:7.8px;color:#8d97a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:155px}
.lispec-queues{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.lispec-queues button{border:1px solid #eeeef7;background:#fbfbff;border-radius:8px;text-align:left;padding:8px}.lispec-queues b{display:block;font-size:17px}.lispec-queues span{display:block;font-size:8.5px;margin-top:2px}.lispec-queues small{font-size:7.5px;color:#9aa3b2}.lispec-queues .q0,.lispec-queues .q1{background:#fff7f7}.lispec-queues .q2{background:#fbf8ff}.lispec-queues .q3{background:#f5fbf8}

/* graph */
.lispec-graphcard{overflow:hidden;min-width:0}
.lispec-cardhead,.lispec-chart>header,.lispec-feed-chart>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;border-bottom:1px solid #edf0f5}
.lispec-cardhead h3,.lispec-chart h3,.lispec-feed-chart h3{font-size:10.5px;margin:0}.lispec-cardhead small,.lispec-chart header small{display:block;margin-top:2px;font-size:8px;color:#929bac}
.lispec-graph-tools{display:flex;align-items:center;gap:5px}.lispec-graph-tools label{height:29px;border:1px solid #e2e6ee;border-radius:6px;background:#fff;display:flex;align-items:center;padding:0 7px;color:#8b95a7;font-size:9px}.lispec-graph-tools input{width:105px;border:0;outline:0;font-size:8.5px;color:#4f5a70}.lispec-graph-tools button,.lispec-graph-tools>span{height:29px;border:1px solid #e2e6ee;border-radius:6px;background:#fff;display:grid;place-items:center;padding:0 8px;color:#657089;font-size:8.5px}.lispec-graph-tools>span{min-width:42px}
.lispec-legend{display:flex;gap:12px;flex-wrap:wrap;padding:7px 11px;border-bottom:1px solid #f0f2f6;font-size:7.8px;color:#7f899b}.lispec-legend span:before{content:"";display:inline-block;width:13px;border-top:2px dashed #8fa4d7;margin-right:4px;vertical-align:middle}.lispec-legend .l2:before{border-color:#3ab58e}.lispec-legend .l3:before{border-color:#f6a350}.lispec-legend .l4:before{border-color:#db72df}.lispec-legend .l5:before{border-color:#ef6b73}
.lispec-graph-viewport{position:relative;overflow:auto;background:linear-gradient(180deg,#fcfdff,#fff)}
.lispec-relgraph{position:relative;width:100%;min-width:720px;height:100%;transition:transform .16s ease}
.lispec-edge-svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
.lispec-edge{stroke:#a8bddf;stroke-width:1.25;opacity:.78}.lispec-edge.risk{stroke:#f06b74;stroke-dasharray:5 4}.lispec-edge.money{stroke:#36b58b}.lispec-edge.policy{stroke:#f2a24d;stroke-dasharray:4 3}
.lispec-node{position:absolute;transform:translate(-50%,-50%);width:126px;min-height:64px;border:1px solid #ccd9ee;border-radius:8px;background:#fff;padding:7px 8px;z-index:3;text-align:left;color:#2b3850;box-shadow:0 1px 5px rgba(33,48,83,.06);transition:opacity .15s,transform .15s,box-shadow .15s}
.lispec-node:hover,.lispec-node.selected{z-index:5;transform:translate(-50%,-50%) scale(1.035);box-shadow:0 7px 18px rgba(51,63,98,.12)}.lispec-node.related{box-shadow:0 0 0 2px rgba(103,92,246,.13)}.lispec-node.dimmed{opacity:.18}
.lispec-node-kind{display:block;font-size:6.7px;text-transform:uppercase;letter-spacing:.04em;color:#9ba4b3}.lispec-node>b{display:block;font-size:8.8px;line-height:1.2;margin-top:2px}.lispec-node>strong{display:block;font-size:10px;margin-top:4px}.lispec-node>small{display:block;font-size:7px;color:#8c96a7;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lispec-node.tone-blue{border-color:#b9d1ff}.lispec-node.tone-green{border-color:#a7e2c7;background:#fbfffd}.lispec-node.tone-violet{border-color:#d7c8ff;background:#fdfcff}.lispec-node.tone-red{border-color:#ffc2c6;background:#fffafa}.lispec-node.tone-orange{border-color:#ffd6ae;background:#fffaf5}.lispec-node.tone-teal{border-color:#a9e4df}.lispec-node.tone-amber{border-color:#f3d18d;background:#fffdf8}.lispec-node.tone-slate{border-color:#d7dde7}
.lispec-node-detail{display:grid;grid-template-columns:1fr 1fr 1fr 2fr auto;gap:8px;align-items:center;padding:8px 10px;border-top:1px solid #edf0f5;background:#fbfcff}.lispec-node-detail span{display:block;font-size:7.5px;color:#929bac}.lispec-node-detail b{font-size:8.5px}.lispec-node-evidence{display:flex;gap:4px;overflow:hidden}.lispec-node-evidence span{border:1px solid #e5e9f2;border-radius:999px;padding:3px 6px;white-space:nowrap}.lispec-node-detail>button{height:26px;border:1px solid #dde2eb;background:#fff;border-radius:6px;font-size:8px;padding:0 8px}

/* charts */
.lispec-analytics{display:grid;grid-template-columns:repeat(var(--analytics-cols,4),minmax(0,1fr));gap:9px}
.lispec-chart{min-width:0;overflow:hidden}.lispec-chart>header button{border:0;background:transparent;color:#665ae9;font-size:8px}.lispec-chart.large{min-height:330px}
.lispec-svgchart{height:150px;padding:4px 6px 6px}.lispec-svgchart svg{width:100%;height:100%;overflow:visible}.lispec-svgchart text{font:7px Inter,sans-serif;fill:#7f899b}
.lispec-chart-empty{height:150px;position:relative;display:grid;place-items:center;padding:8px}.lispec-chart-empty svg{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);opacity:.75}.lispec-chart-empty span{position:relative;z-index:1;font-size:8.5px;color:#98a1b0;background:#fff;padding:4px 6px;border-radius:5px}
.lispec-donutrow{height:150px;display:grid;grid-template-columns:108px 1fr;gap:7px;align-items:center;padding:8px 10px}.lispec-donut-svg{width:100%;height:108px}.lispec-donut-svg text{font:700 11px Inter,sans-serif;fill:#313b52}.lispec-donut-svg text.sub{font:7px Inter,sans-serif;fill:#8b95a5}.lispec-donutlegend{display:flex;flex-direction:column;gap:5px}.lispec-donutlegend div{display:grid;grid-template-columns:7px 1fr auto;gap:5px;align-items:center;font-size:8px}.lispec-donutlegend i{width:7px;height:7px;border-radius:2px}.lispec-donutlegend span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6e7890}.lispec-donutlegend b{font-size:8px}
.lispec-feed-main{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(320px,.8fr);gap:10px}
.lispec-feed-chart{min-height:285px;overflow:hidden}.lispec-feed-chart svg{width:100%;height:225px;padding:4px 8px 8px}.lispec-chart-legend{display:flex;gap:12px;margin-top:5px}.lispec-chart-legend span{font-size:8px;color:#778197}.lispec-chart-legend span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px;vertical-align:-1px}.lispec-chart-legend .records:before{background:#bcd5ff}.lispec-chart-legend .exceptions:before{background:#ff6b63}
.lispec-segmented{display:flex;border:1px solid #e2e6ee;border-radius:6px;overflow:hidden}.lispec-segmented button{height:27px;border:0;border-right:1px solid #e2e6ee;background:#fff;padding:0 9px;font-size:8px;color:#6c778d}.lispec-segmented button:last-child{border-right:0}.lispec-segmented button.active{background:#f2f5ff;color:#5669e5;font-weight:700}
.lispec-operational{padding:10px 11px}.lispec-op-item{display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f5}.lispec-op-item:last-child{border-bottom:0}.lispec-op-item>span{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#f0edff;color:#675cf6;font-size:8px;font-weight:700}.lispec-op-item .i1{background:#eef4ff;color:#4f80e8}.lispec-op-item .i2{background:#fff3e8;color:#db812c}.lispec-op-item .i3{background:#e9f8f1;color:#259366}.lispec-op-item b{display:block;font-size:9px}.lispec-op-item small{display:block;font-size:8px;color:#8c96a7;margin-top:2px}.lispec-op-item button{height:24px;border:1px solid #e2e6ee;background:#fff;border-radius:5px;color:#655be7;font-size:7.5px;padding:0 7px}

/* tabs/status/lifecycle/governance */
.lispec-subtabs{display:flex;gap:2px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:3px;overflow:auto}.lispec-subtabs button{height:30px;border:0;background:transparent;border-radius:6px;padding:0 11px;color:#738096;font-size:9px;font-weight:600;white-space:nowrap}.lispec-subtabs button.active{background:#f0edff;color:#6155e8}
.lispec-statusstrip{display:grid;grid-template-columns:repeat(var(--status-cols,7),minmax(0,1fr));gap:7px}.lispec-status-card{min-height:66px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 9px}.lispec-status-card span{font-size:8px;color:#6f7a8e}.lispec-status-card b{display:block;font-size:14px;margin-top:5px}.lispec-status-card small{display:block;font-size:7px;color:#9aa2b1;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lispec-govstrip{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.lispec-govstrip button{display:grid;grid-template-columns:22px 1fr;gap:7px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px;text-align:left}.lispec-govstrip>button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f0efff;color:#6358e8;font-size:8px}.lispec-govstrip b{display:block;font-size:8.5px}.lispec-govstrip small{font-size:7.5px;color:#929bac}
.lispec-lifecycle{display:grid;grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:7px}.lispec-lifecycle button{min-height:65px;border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px;text-align:left;position:relative}.lispec-lifecycle button:after{content:"→";position:absolute;right:-8px;top:22px;color:#b5bdca}.lispec-lifecycle button:last-child:after{display:none}.lispec-lifecycle span{width:20px;height:20px;border-radius:6px;background:#eef2ff;color:#5d6fe0;display:grid;place-items:center;font-size:8px}.lispec-lifecycle b{display:block;font-size:8.3px;margin-top:5px}.lispec-lifecycle small{font-size:7.5px;color:#8d96a7}

/* financial layouts */
.lispec-financial-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.72fr);gap:10px;align-items:start}.lispec-fin-rail{display:flex;flex-direction:column;gap:9px}
.lispec-treemap{min-height:390px;overflow:hidden}.lispec-treemap>header{padding:10px 11px;border-bottom:1px solid #edf0f5}.lispec-treemap h3{font-size:10px;margin:0}.lispec-treemap small{font-size:8px;color:#929bac}.lispec-treemap-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(4,70px);gap:6px;padding:10px}.lispec-treemap-grid button{border:1px solid #dce3f1;background:#f8fbff;border-radius:8px;text-align:left;padding:8px;color:#2c3951}.lispec-treemap-grid .t0{grid-column:span 3;grid-row:span 2;background:#f1f7ff}.lispec-treemap-grid .t1{grid-column:span 2;grid-row:span 2;background:#fff7ef}.lispec-treemap-grid .t2{grid-column:span 1;grid-row:span 2;background:#effaf5}.lispec-treemap-grid .t3{grid-column:span 2;grid-row:span 2;background:#f8f4ff}.lispec-treemap-grid .t4{grid-column:span 2;grid-row:span 2;background:#effaf5}.lispec-treemap-grid .t5{grid-column:span 1;grid-row:span 2;background:#fff7ef}.lispec-treemap-grid .t6{grid-column:span 1;grid-row:span 2;background:#eef9f7}.lispec-treemap-grid span{font-size:8px}.lispec-treemap-grid b{display:block;font-size:14px;margin-top:7px}.lispec-treemap-grid small{font-size:7.5px;color:#7e8899}

/* what-if */
.lispec-whatif{display:grid;grid-template-columns:1fr auto auto auto;gap:8px;align-items:end;padding:9px 10px}.lispec-whatif>div span{display:block;font-size:7.5px;color:#929bac;text-transform:uppercase}.lispec-whatif>div b{font-size:9.5px}.lispec-whatif label{display:flex;flex-direction:column;gap:3px;font-size:7.5px;color:#8a94a6}.lispec-whatif select{height:28px;border:1px solid #e0e5ed;border-radius:6px;background:#fff;font-size:8px;padding:0 22px 0 6px}.lispec-whatif>button{height:29px;border:1px solid #675cf6;border-radius:6px;background:#675cf6;color:#fff;font-size:8px;padding:0 10px}

/* recurring */
.lispec-recurring-main{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,.72fr);gap:10px;align-items:start}.lispec-schedule{overflow:hidden}.lispec-calendar-head{display:grid;grid-template-columns:repeat(7,1fr);padding:7px 10px 4px;gap:5px}.lispec-calendar-head b{text-align:center;font-size:7.5px;color:#8b95a7}.lispec-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;padding:6px 10px 11px}.lispec-calendar>button{min-height:90px;border:1px solid #e7eaf1;background:#fff;border-radius:7px;text-align:left;padding:7px;position:relative}.lispec-calendar>button.today{box-shadow:inset 0 0 0 1.5px #675cf6;background:#faf9ff}.lispec-calendar>button>span{font-size:8px;color:#69748a}.lispec-calendar>button i{display:block;font-style:normal;font-size:7.5px;background:#f1efff;color:#5d59ce;border-radius:4px;padding:3px 4px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lispec-calendar>button em{position:absolute;right:6px;bottom:6px;font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#eef8f3;color:#268d63;font-size:7.5px}
.lispec-timeline-card{overflow:hidden}.lispec-timeline{padding:9px 11px}.lispec-timeline button{display:grid;grid-template-columns:160px 1fr 110px;gap:10px;align-items:center;width:100%;border:0;background:transparent;padding:8px 0;text-align:left}.lispec-timeline button span{font-size:8.5px;color:#566176;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lispec-timeline button i{height:8px;border-radius:999px;background:linear-gradient(90deg,#675cf6,#7da8ff)}.lispec-timeline button b{font-size:8px;color:#788397;font-weight:600}

/* table */
.lispec-tablecard{overflow:visible;position:relative}.lispec-tabletop{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #edf0f5;min-height:50px}.lispec-table-title{display:flex;align-items:center;gap:9px;min-width:0}.lispec-table-title h3{font-size:10px;margin:0;white-space:nowrap}.lispec-table-chips{display:flex;gap:4px;overflow:auto}.lispec-table-chips button{height:25px;border:1px solid #e2e6ee;background:#fff;border-radius:6px;padding:0 7px;font-size:7.8px;color:#6e7890;white-space:nowrap}.lispec-table-chips button.active{background:#f1efff;color:#5f55e7;border-color:#d7d0ff}
.lispec-table-search{height:29px;min-width:190px;border:1px solid #e0e5ed;border-radius:6px;display:flex;align-items:center;gap:5px;padding:0 7px;margin-left:auto;color:#929bac}.lispec-table-search input{border:0;outline:0;width:100%;font-size:8.5px;color:#4f5a70}.lispec-table-actions{display:flex;gap:5px}.lispec-table-actions button{height:29px;border:1px solid #e0e5ed;background:#fff;border-radius:6px;padding:0 8px;font-size:8px;color:#667188}
.lispec-column-menu{position:absolute;right:10px;top:45px;z-index:30;width:220px;max-height:280px;overflow:auto;background:#fff;border:1px solid #dfe4ec;border-radius:8px;box-shadow:0 10px 26px rgba(29,42,70,.13);padding:8px}.lispec-column-menu label{display:flex;gap:6px;align-items:center;padding:5px;font-size:8px;color:#5c677d}
.lispec-tablewrap{overflow:auto;max-height:390px}.lispec-tablewrap table{width:100%;border-collapse:collapse;min-width:1220px}.lispec-tablewrap th{position:sticky;top:0;background:#fafbfe;z-index:2;border-bottom:1px solid #e5e9f0;padding:7px 8px;text-align:left;font-size:7.8px;color:#707b8f;font-weight:650;white-space:nowrap}.lispec-tablewrap th button{border:0;background:transparent;color:inherit;font:inherit;padding:0}.lispec-tablewrap td{border-bottom:1px solid #edf0f5;padding:7px 8px;font-size:8.2px;color:#4e596f;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}.lispec-tablewrap tbody tr:hover td{background:#fbfcff}.lispec-tablewrap .check{width:34px;text-align:center}.lispec-row-more{border:0;background:transparent;color:#758094;font-weight:700}.lispec-emptycell{text-align:center!important;padding:24px!important;color:#9aa2b1!important}
.lispec-tablecard footer{height:40px;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:8px;color:#778196}.lispec-tablecard footer>label{margin-left:auto}.lispec-tablecard footer select{height:26px;border:1px solid #e0e5ed;border-radius:5px;background:#fff;color:#667188;font-size:8px}.lispec-pager{display:flex;align-items:center;gap:4px}.lispec-pager button,.lispec-pager b{width:25px;height:25px;border:1px solid #e0e5ed;border-radius:5px;background:#fff;display:grid;place-items:center;font-size:8px}.lispec-pager b{background:#665ae9;color:#fff;border-color:#665ae9}

/* drawer */
.lispec-drawerbg{position:fixed;inset:0;background:rgba(19,28,48,.24);z-index:9999;display:flex;justify-content:flex-end}.lispec-drawer{width:420px;max-width:95vw;height:100%;background:#fff;box-shadow:-12px 0 36px rgba(22,33,57,.15);padding:16px;overflow:auto}.lispec-drawer>header{display:flex;justify-content:space-between;align-items:start;padding-bottom:12px;border-bottom:1px solid #e9edf3}.lispec-drawer>header span{font-size:8px;color:#8b95a6;text-transform:uppercase;letter-spacing:.05em}.lispec-drawer h3{font-size:15px;margin:3px 0 0}.lispec-drawer>header button{border:0;background:transparent;font-size:21px;color:#7c8798}.lispec-detailrow{display:grid;grid-template-columns:135px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #edf0f5}.lispec-detailrow span{font-size:8.5px;color:#8a94a6}.lispec-detailrow b{font-size:9px;color:#455168;word-break:break-word}.lispec-drawer-actions{padding-top:14px}.lispec-drawer-actions button{height:32px;border:1px solid #dfe4ec;border-radius:6px;background:#fff;color:#5e687e;font-size:9px;padding:0 12px}

/* toast */
#lispec-toast{position:fixed;right:24px;bottom:24px;z-index:10050;background:#1f2a44;color:#fff;border-radius:8px;padding:10px 14px;font:600 11px Inter,sans-serif;opacity:0;transform:translateY(10px);pointer-events:none;transition:.18s}#lispec-toast.show{opacity:1;transform:none}

/* density */
#ledger-v127-root[data-density="compact"] .lispec-root{gap:7px}
#ledger-v127-root[data-density="compact"] .lispec-kpi{min-height:78px;padding:8px 9px}
#ledger-v127-root[data-density="compact"] .lispec-kpi strong{font-size:17px}
#ledger-v127-root[data-density="compact"] .lispec-feed-ai>article{padding:11px 13px}
#ledger-v127-root[data-density="compact"] .lispec-node{min-height:55px;width:116px}
#ledger-v127-root[data-density="compact"] .lispec-svgchart{height:132px}
#ledger-v127-root[data-density="compact"] .lispec-tablewrap{max-height:340px}

/* responsive */
@media(max-width:1600px){
 .lispec-threecol{grid-template-columns:minmax(220px,.55fr) minmax(480px,1.7fr) minmax(250px,.7fr)}
 .lispec-pagehead{grid-template-columns:minmax(260px,1fr) auto}
 .lispec-page-tools{grid-column:2}
 .lispec-node{width:118px}
 .lispec-feed-ai{grid-template-columns:1.35fr 1fr .78fr 1fr}
}
@media(max-width:1280px){
 .lispec-pagehead{grid-template-columns:1fr}.lispec-modebar,.lispec-page-tools{justify-self:start}
 .lispec-threecol,.lispec-twocol,.lispec-financial-main,.lispec-recurring-main,.lispec-feed-main{grid-template-columns:1fr}
 .lispec-kpis{grid-template-columns:repeat(3,1fr)!important}
 .lispec-analytics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .lispec-feed-ai{grid-template-columns:1fr 1fr}.lispec-feed-ai>article:nth-child(2){border-right:0}.lispec-feed-ai>article{border-bottom:1px solid var(--line)}
 .lispec-statusstrip{grid-template-columns:repeat(4,1fr)!important}
 .lispec-govstrip{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
 .lispec-root{padding-bottom:8px}.lispec-pagehead h1{font-size:18px}.lispec-pagehead p{font-size:10px}
 .lispec-modebar{overflow:auto;width:100%}.lispec-modebar button{min-width:82px}
 .lispec-filterbar{align-items:stretch;flex-wrap:wrap}.lispec-filter{min-width:calc(50% - 5px);flex:1 0 calc(50% - 5px)}.lispec-filter-actions{width:100%}.lispec-filter-actions .lispec-btn{flex:1}
 .lispec-feed-ai{grid-template-columns:1fr}.lispec-feed-ai>article{border-right:0}.lispec-feed-copy{margin-left:80px}.lispec-wave{width:120px}
 .lispec-kpis{grid-template-columns:repeat(2,1fr)!important}.lispec-analytics{grid-template-columns:1fr!important}.lispec-statusstrip,.lispec-govstrip{grid-template-columns:repeat(2,1fr)!important}
 .lispec-lifecycle{grid-template-columns:repeat(2,1fr)}.lispec-lifecycle button:after{display:none}
 .lispec-graph-tools label{display:none}.lispec-relgraph{min-width:680px}.lispec-node{width:108px}
 .lispec-tabletop{flex-wrap:wrap}.lispec-table-search{order:3;width:100%;margin-left:0}.lispec-table-title{width:100%;flex-wrap:wrap}.lispec-table-chips{width:100%}
 .lispec-node-detail{grid-template-columns:1fr 1fr}.lispec-node-evidence{grid-column:1/-1}
 .lispec-treemap-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:none}.lispec-treemap-grid button{grid-column:auto!important;grid-row:auto!important;min-height:82px}
 .lispec-calendar{grid-template-columns:repeat(2,1fr)}.lispec-calendar-head{display:none}
}


/* V3 interaction refinement adopted from the Grok design review without importing its fixture data or demo shell. */
#ledger-v127-root .lispec-edge.edge-dim{opacity:.12!important}
#ledger-v127-root .lispec-edge.edge-active{opacity:1!important;stroke-width:2.25!important;filter:drop-shadow(0 0 1.5px rgba(103,92,246,.28))}
#ledger-v127-root .lispec-node:focus-visible{outline:2px solid #675cf6;outline-offset:2px}
#ledger-v127-root .lispec-action:focus-visible,#ledger-v127-root .lispec-kpi:focus-visible,#ledger-v127-root .lispec-table-actions button:focus-visible{outline:2px solid #675cf6;outline-offset:2px}
@media (prefers-reduced-motion:reduce){#ledger-v127-root *,#ledger-v127-root *::before,#ledger-v127-root *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* V127 remediation integration: Ledger Feed authoritative controls. Scoped to Ledger central workspace. */
#ledger-v127-root .lispec-savedviews{display:flex;align-items:center;gap:5px}
#ledger-v127-root .lispec-savedviews select,#ledger-v127-root .lispec-savedviews button{height:30px;border:1px solid #e0e5ed;background:#fff;border-radius:6px;padding:0 8px;font-size:8px;color:#5f6b81}
#ledger-v127-root .lispec-savedviews select{min-width:128px;max-width:185px}
#ledger-v127-root .lispec-savedviews button:disabled{opacity:.48;cursor:not-allowed}
#ledger-v127-root .lispec-register-filters{display:grid;grid-template-columns:minmax(240px,1.55fr) repeat(4,minmax(115px,.72fr)) minmax(105px,.62fr) minmax(118px,.72fr) auto;gap:6px;align-items:end;padding:8px 10px;background:#fbfcff;border-bottom:1px solid #edf0f5}
#ledger-v127-root .lispec-register-filters label{min-width:0;display:flex;flex-direction:column;gap:3px;color:#8490a4;font-size:7px;font-weight:650}
#ledger-v127-root .lispec-register-filters select,#ledger-v127-root .lispec-register-filters input[type="date"]{height:29px;min-width:0;width:100%;border:1px solid #e0e5ed;border-radius:6px;background:#fff;color:#526077;font-size:8px;padding:0 6px;outline:none}
#ledger-v127-root .lispec-register-search{height:29px!important;flex-direction:row!important;align-items:center!important;gap:5px!important;border:1px solid #e0e5ed;border-radius:6px;background:#fff;padding:0 8px!important;color:#8994a7!important}
#ledger-v127-root .lispec-register-search input{border:0;outline:0;width:100%;font:500 8.5px Inter,sans-serif;color:#4f5a70;background:transparent}
#ledger-v127-root .lispec-register-toggle{height:29px;flex-direction:row!important;align-items:center!important;justify-content:center;gap:6px!important;border:1px solid #e0e5ed;border-radius:6px;background:#fff;color:#667188!important;padding:0 6px}
#ledger-v127-root .lispec-register-filters>button{height:29px;border:1px solid #e0e5ed;border-radius:6px;background:#fff;color:#677389;font-size:8px;padding:0 8px;white-space:nowrap}
#ledger-v127-root .lispec-filter-count{display:inline-flex;align-items:center;height:29px;border:1px solid #eceff4;background:#f8faff;color:#7d8799;border-radius:6px;padding:0 7px;font-size:7.5px;white-space:nowrap}
#ledger-v127-root .lispec-feed-register .lispec-tablewrap{max-height:430px}
#ledger-v127-root .lispec-feed-register .lispec-tablewrap table{min-width:1680px}
#ledger-v127-root .lispec-table-actions button:disabled,#ledger-v127-root .lispec-tablewrap th button:disabled{opacity:.4;cursor:not-allowed}
#ledger-v127-root .lispec-drawer-loading{padding:26px 4px;color:#667188;font-size:10px}
#ledger-v127-root .lispec-drawer-section{margin-top:14px;padding:12px;border:1px solid #e7eaf1;border-radius:8px;background:#fbfcff}
#ledger-v127-root .lispec-drawer-section h4{font-size:10px;color:#344158;margin:0 0 8px}
#ledger-v127-root .lispec-drawer-section>p{font-size:9px;line-height:1.55;color:#5d687c;margin:7px 0 0}
#ledger-v127-root .lispec-drawer-evidence{padding:8px 0;border-bottom:1px solid #e9edf3}
#ledger-v127-root .lispec-drawer-evidence:last-child{border-bottom:0}
#ledger-v127-root .lispec-drawer-evidence b{display:block;font-size:8.5px;color:#46536a}
#ledger-v127-root .lispec-drawer-evidence span{display:block;font-size:7.5px;color:#929baa;margin-top:2px}
#ledger-v127-root .lispec-drawer-evidence p{font-size:8px;color:#667188;margin:3px 0 0;line-height:1.4}
#ledger-v127-root .lispec-drawer-meta{margin-top:12px;padding:8px;border-radius:6px;background:#f2f5ff;color:#65718a;font-size:7.5px;word-break:break-all}
#ledger-v127-root .lispec-filter-toggle{min-width:96px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto}
#ledger-v127-root .lispec-filter-toggle input{grid-column:2;grid-row:1/3;align-self:center}
#ledger-v127-root .lispec-filter-toggle i{font-style:normal;font-size:7px;color:#7e899b}
@media(max-width:1500px){#ledger-v127-root .lispec-register-filters{grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(112px,.7fr)) minmax(105px,.65fr) minmax(118px,.72fr) auto}#ledger-v127-root .lispec-register-filters>label:nth-of-type(5){grid-column:auto}}
@media(max-width:1100px){#ledger-v127-root .lispec-register-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#ledger-v127-root .lispec-register-search{grid-column:1/-1}#ledger-v127-root .lispec-register-filters>button{width:100%}}
@media(max-width:760px){#ledger-v127-root .lispec-register-filters{grid-template-columns:1fr 1fr}#ledger-v127-root .lispec-register-search{grid-column:1/-1}#ledger-v127-root .lispec-savedviews{width:100%}#ledger-v127-root .lispec-savedviews select{flex:1;max-width:none}}


/* ======================================================================
   LF-STRICT-SPEC-V5
   Screenshot-derived Ledger Feed presentation only.
   Scope is deliberately limited to the Ledger Feed central workspace.
   ====================================================================== */
#ledger-v127-root[data-screen="ledger-feed"] .lispec-root{gap:0!important;padding:0 0 8px!important;background:#fff0!important;overflow:visible!important}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-root{--lf-ink:#0c1a36;--lf-muted:#66758f;--lf-line:#e3e9f2;--lf-soft:#f8fafe;--lf-blue:#286ff0;display:grid;gap:7px;width:100%;min-width:0;color:var(--lf-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:9px}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-root *{box-sizing:border-box}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-card{background:#fff;border:1px solid var(--lf-line);border-radius:6px;box-shadow:0 1px 2px rgba(32,50,84,.02);min-width:0}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0;padding:0 1px 1px}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-heading{min-width:230px}.lfv5-heading h1{margin:0;color:#101b35;font-size:18px;line-height:1;font-weight:780;letter-spacing:-.025em}.lfv5-heading h1 span{color:#3475ef;font-size:16px}.lfv5-heading p{margin:4px 0 0;color:#66758f;font-size:8.2px;line-height:1.2}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;flex-wrap:wrap}.lfv5-tools select,.lfv5-tools input,.lfv5-tool-btn,.lfv5-refresh{height:28px;border:1px solid #dce4ef;border-radius:5px;background:#fff;color:#3d4d68;font:600 7.8px/1 Inter,ui-sans-serif,sans-serif;outline:none}.lfv5-tools select{padding:0 24px 0 9px;min-width:92px}.lfv5-tools select:disabled{opacity:1;color:#78869b;background:#fbfcfe}.lfv5-top-select{position:relative;display:block}.lfv5-top-select input{width:136px;padding:0 26px 0 9px}.lfv5-period select{min-width:136px}.lfv5-period>i{position:absolute;right:8px;top:7px;font-style:normal;color:#73839d;font-size:8px;pointer-events:none}.lfv5-saved-select{max-width:102px}.lfv5-tool-btn{padding:0 9px;font-size:7.8px;font-weight:680;cursor:pointer}.lfv5-tool-btn:disabled{opacity:.45;cursor:not-allowed}.lfv5-refresh{width:28px;padding:0;color:#3974ef;font-size:13px;cursor:pointer}.lfv5-export{min-width:70px}.lfv5-live{min-width:115px;display:grid;grid-template-columns:8px auto;column-gap:5px;align-items:center;padding:0 7px;border-left:1px solid #e7ebf2}.lfv5-live>i{width:7px;height:7px;border:2px solid #19a76d;border-radius:50%}.lfv5-live>b{font-size:7.8px;color:#14965f}.lfv5-live>small{grid-column:2;font-size:6.4px;color:#8995a8;max-width:105px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-summary-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1.18fr) minmax(0,.9fr) minmax(0,1.15fr);gap:6px;min-width:0}.lfv5-summary-grid>.lfv5-card{height:124px;overflow:hidden}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-ai-summary{position:relative;padding:13px 12px 10px 92px;display:flex;align-items:flex-start}.lfv5-ribbons{position:absolute;inset:0 auto 0 0;width:92px;overflow:hidden;background:linear-gradient(135deg,#f7f8ff 3%,#f3fcfb 100%)}.lfv5-ribbons i{position:absolute;width:122px;height:164px;left:-54px;bottom:-68px;border-radius:52% 48% 58% 42%;transform:rotate(-24deg);background:linear-gradient(150deg,rgba(100,110,255,.12),rgba(49,210,178,.42));border:1px solid rgba(82,137,245,.28)}.lfv5-ribbons i:nth-child(2){left:-36px;bottom:-75px;background:linear-gradient(150deg,rgba(91,102,244,.18),rgba(51,207,185,.26))}.lfv5-ribbons i:nth-child(3){left:-18px;bottom:-82px;background:linear-gradient(150deg,rgba(87,93,242,.22),rgba(61,219,173,.46))}.lfv5-ai-copy{position:relative;z-index:1;min-width:0}.lfv5-ai-label{display:inline-block;padding:3px 6px;border:1px solid #dfd6ff;background:#f8f5ff;color:#7048dc;border-radius:4px;font-size:6.8px;font-weight:800}.lfv5-ai-copy h2{margin:8px 0 5px;font-size:14px;line-height:1.23;letter-spacing:-.015em;color:#14203a;max-width:420px}.lfv5-ai-copy p{margin:0;color:#5f6f88;font-size:7.7px;line-height:1.42;max-width:455px}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-insights,.lfv5-trust,.lfv5-actions{padding:10px 10px}.lfv5-insights h3,.lfv5-trust h3,.lfv5-actions h3{margin:0 0 6px;font-size:8.4px;color:#17233f}.lfv5-insights h3 span{font-weight:500;color:#7a879b}.lfv5-insight{display:grid;grid-template-columns:23px minmax(0,1fr);gap:6px;align-items:center;margin:5px 0}.lfv5-insight>i{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#eafaf4;border:1px solid #a8e5cd;color:#139c66;font:700 10px/1 Inter;font-style:normal}.lfv5-insight.i1>i{background:#fff5ed;border-color:#ffd0ad;color:#ff792f}.lfv5-insight.i2>i{background:#edf4ff;border-color:#b7ceff;color:#3269e9}.lfv5-insight b{display:block;color:#23304b;font-size:7.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-insight small{display:block;color:#7c899e;font-size:6.5px;line-height:1.2;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-card-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.lfv5-trust-status{padding:2px 5px;border-radius:9px;font-size:6.4px;font-weight:800;text-transform:uppercase;background:#f1f4f8;color:#778399}.lfv5-trust-status.good{background:#eaf9f2;color:#149764}.lfv5-trust-status.warn{background:#fff4e8;color:#d67725}.lfv5-trust-status.danger{background:#ffeded;color:#d9454c}.lfv5-trust>strong{display:block;font-size:11.5px;margin:3px 0 3px;color:#15213d}.lfv5-trust>p{font-size:7px;line-height:1.3;color:#61718a;margin:0}.lfv5-provenance{display:grid;gap:1px;margin-top:6px}.lfv5-provenance b{font-size:6.6px}.lfv5-provenance span{font-size:6.4px;color:#78869a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-trust>button{border:0;background:none;padding:5px 0 0;color:#2664e7;font-size:6.8px;font-weight:700;cursor:pointer}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-actions>button{width:100%;display:grid;grid-template-columns:20px minmax(0,1fr) 10px;gap:5px;align-items:center;border:1px solid #e4e9f2;background:#fbfcfe;border-radius:5px;padding:5px 6px;margin:4px 0;text-align:left;cursor:pointer}.lfv5-actions>button>span{display:grid;place-items:center;width:18px;height:18px;border-radius:6px;background:#eaf1ff;color:#2a67e8;font-size:7px;font-weight:800}.lfv5-actions>button:nth-of-type(2)>span{background:#fff1e5;color:#ef792a}.lfv5-actions>button:nth-of-type(3)>span{background:#e9faf3;color:#199968}.lfv5-actions b{display:block;font-size:7px;line-height:1.2;color:#26334e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-actions small{display:block;margin-top:1px;font-size:6.2px;color:#8290a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-actions>button>i{font-style:normal;color:#75849c}.lfv5-empty{margin:8px 0;color:#8390a4;font-size:7px;line-height:1.3}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-width:0}.lfv5-kpi{height:62px;min-width:0;border:1px solid var(--lf-line);border-radius:6px;background:#fff;padding:7px 8px 4px;text-align:left;cursor:pointer;overflow:hidden}.lfv5-kpi>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#65748e;font-size:6.7px;font-weight:650}.lfv5-kpi>div:first-child>i{font-style:normal;color:#adb7c7}.lfv5-kpi>section{display:flex;align-items:baseline;gap:5px;margin-top:4px;white-space:nowrap;overflow:hidden}.lfv5-kpi strong{font-size:13.5px;line-height:1;color:#111e3a;letter-spacing:-.015em}.lfv5-kpi small{font-size:6.2px;overflow:hidden;text-overflow:ellipsis}.lfv5-kpi small.good{color:#149a67}.lfv5-kpi small.bad{color:#e14b50}.lfv5-kpi small.neutral{color:#7d899d}.lfv5-kpi-spark{height:18px;margin-top:2px;color:#2a6df0}.lfv5-kpi-spark svg{width:100%;height:100%;display:block}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-analytics-row{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(260px,.92fr);gap:6px;min-width:0}.lfv5-feed-chart,.lfv5-operational{height:144px;overflow:hidden}.lfv5-feed-chart{padding:8px 9px 3px}.lfv5-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;height:31px}.lfv5-chart-head h3{font-size:8.3px;margin:0;color:#182540}.lfv5-chart-head p{display:flex;gap:8px;align-items:center;margin:4px 0 0;font-size:6.5px;color:#66778f}.lfv5-chart-head p i{display:inline-block;width:5px;height:5px;border-radius:1px;margin-right:2px}.lfv5-chart-head p .blue{background:#246ef0}.lfv5-chart-head p .red{background:#ff5057}.lfv5-chart-head>div:last-child{display:flex;gap:4px}.lfv5-chart-head button{height:23px;border:1px solid #dce4ef;border-radius:4px;background:#fff;color:#62718a;font-size:6.6px;padding:0 7px;cursor:pointer}.lfv5-chart-head button.active{color:#255fdb;background:#eef4ff;border-color:#bdd2ff}.lfv5-main-svg{width:100%;height:100px;display:block}.lfv5-main-svg .grid line{stroke:#e9edf4;stroke-width:.8}.lfv5-main-svg rect{fill:#dbe8ff;stroke:#9dbafa;stroke-width:.6}.lfv5-main-svg .exceptions-line{stroke:#ff5057;stroke-width:1.6;vector-effect:non-scaling-stroke}.lfv5-main-svg .exception-dot{fill:#ff5057}.lfv5-main-svg text{font:5.8px Inter,sans-serif;fill:#718099}.lfv5-no-chart{height:98px;display:grid;place-items:center;color:#8490a3;font-size:7px;background:repeating-linear-gradient(0deg,#fff 0 20px,#f7f9fc 20px 21px)}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-operational{padding:8px 9px}.lfv5-operational-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}.lfv5-operational-head h3{font-size:8.3px;margin:0}.lfv5-operational-head button{border:0;background:none;color:#2f68e8;font-size:6.5px;font-weight:700;cursor:pointer}.lfv5-op-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:5px;align-items:center;padding:4px 0;border-top:1px solid #edf1f6;min-height:26px}.lfv5-op-row>span{width:18px;height:18px;border-radius:5px;display:grid;place-items:center;background:#eeeaff;color:#6c4ee7;font-size:6.5px;font-weight:800}.lfv5-op-row.r1>span{background:#eaf4ff;color:#2c72e8}.lfv5-op-row.r2>span{background:#fff2e7;color:#e97727}.lfv5-op-row.r3>span{background:#e9faf3;color:#159565}.lfv5-op-row b{display:block;font-size:6.8px;color:#24314c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-op-row small{display:block;font-size:5.9px;color:#8190a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-op-row button{border:0;border-radius:9px;background:#f0f5ff;color:#326ce1;padding:3px 7px;font-size:5.9px;font-weight:700;cursor:pointer}.lfv5-op-row.r2 button{background:#f8efff;color:#824ed9}.lfv5-op-row.r3 button{background:#eaf9f1;color:#178c60}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-register{position:relative;overflow:visible}.lfv5-register-tools{position:relative;display:grid;grid-template-columns:minmax(230px,1.6fr) repeat(4,minmax(90px,.72fr)) auto auto auto auto;gap:5px;align-items:center;padding:5px 7px;border-bottom:1px solid #e8edf4;background:#fff}.lfv5-search{height:26px;border:1px solid #dfe6f0;border-radius:5px;display:flex;align-items:center;gap:5px;padding:0 7px;color:#8793a6}.lfv5-search input{border:0;outline:0;width:100%;min-width:0;background:transparent;color:#4d5d77;font:500 6.8px Inter,sans-serif}.lfv5-reg-filter select{height:26px;width:100%;min-width:0;border:1px solid #dfe6f0;border-radius:5px;background:#fff;color:#5d6d85;font:500 6.4px Inter,sans-serif;padding:0 18px 0 6px}.lfv5-reg-filter select:disabled{color:#8793a7;background:#fbfcfe;opacity:1}.lfv5-exceptions{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:6px;color:#67778f}.lfv5-exceptions input{width:10px;height:10px}.lfv5-clear{height:25px;border:0;background:none;color:#2b67e5;font-size:6.4px;font-weight:700;white-space:nowrap;cursor:pointer}.lfv5-columns{height:26px;border:1px solid #dfe6f0;border-radius:5px;background:#fff;color:#52637d;font-size:6.4px;padding:0 7px;white-space:nowrap;cursor:pointer}.lfv5-filter-count{height:24px;min-width:25px;border:1px solid #dfe6f0;border-radius:5px;display:grid;place-items:center;color:#2c66e3;font-size:6.4px}.lfv5-column-menu{top:34px;right:35px;z-index:10}.lfv5-table-scroll{max-height:153px;overflow:auto;border-bottom:1px solid #e9edf3}.lfv5-table-scroll table{width:100%;min-width:1040px;border-collapse:collapse;table-layout:auto;font-size:6.2px}.lfv5-table-scroll th{position:sticky;top:0;z-index:1;background:#fbfcfe;border-bottom:1px solid #e5eaf2;color:#586a84;text-align:left;font-weight:700;white-space:nowrap;padding:5px 6px}.lfv5-table-scroll th button{border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer}.lfv5-table-scroll th button:disabled{cursor:default}.lfv5-table-scroll td{height:25px;padding:4px 6px;border-bottom:1px solid #eef1f5;color:#4b5c75;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}.lfv5-table-scroll tr:last-child td{border-bottom:0}.lfv5-table-scroll .check{width:25px;text-align:center}.lfv5-table-scroll input[type="checkbox"]{width:10px;height:10px}.lfv5-pill{display:inline-flex;align-items:center;padding:2px 5px;border-radius:8px;background:#f0f3f7;color:#748197;font-size:5.8px;font-weight:700}.lfv5-pill.good{background:#e8f8ef;color:#168b5d}.lfv5-pill.warn{background:#fff2e5;color:#dd7624}.lfv5-pill.danger{background:#ffeceb;color:#d9474d}.lfv5-exception-num{color:#e45145!important;font-weight:700}.lfv5-ai-cell{white-space:normal!important;line-height:1.15;min-width:140px;max-width:190px!important}.lfv5-row-action{border:0;background:none;color:#2d67e5;font-size:6px;padding:0;display:inline-flex;gap:4px;align-items:center;cursor:pointer}.lfv5-row-action:hover{text-decoration:underline}.lfv5-more{border:0;background:none;color:#718099;cursor:pointer;font-size:8px}.lfv5-empty-cell{text-align:center!important;color:#8290a4!important;height:54px!important}.lfv5-register footer{height:27px;display:flex;align-items:center;justify-content:space-between;padding:0 7px;font-size:6.4px;color:#61718b}.lfv5-register footer>div:first-child{display:flex;align-items:center;gap:8px}.lfv5-register footer select{height:22px;border:1px solid #e0e6ef;border-radius:4px;background:#fff;color:#65748b;font-size:6px}.lfv5-pager{display:flex;align-items:center;gap:3px}.lfv5-pager button,.lfv5-pager b{width:21px;height:21px;border:1px solid #e0e6ef;border-radius:4px;background:#fff;color:#66758e;display:grid;place-items:center;font-size:6.5px}.lfv5-pager b{background:#2469e8;color:#fff;border-color:#2469e8}.lfv5-pager button{cursor:pointer}.lfv5-pager button:disabled{opacity:.4;cursor:not-allowed}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-bottom{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-width:0}.lfv5-bottom-card{height:70px;padding:7px 8px;overflow:hidden}.lfv5-bottom-card h3{font-size:6.8px;margin:0 0 4px;color:#34445e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv5-bottom-card.donut{padding-bottom:4px}.lfv5-donut{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:4px;align-items:center;height:49px}.lfv5-donut svg{width:48px;height:48px}.lfv5-donut-legend{display:grid;gap:2px;min-width:0}.lfv5-donut-legend span{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:3px;align-items:center;color:#6d7c92;font-size:5.3px;white-space:nowrap}.lfv5-donut-legend span i{width:4px;height:4px;border-radius:50%}.lfv5-donut-legend span b{font-size:5.2px;color:#596980}.lfv5-bottom-metric{display:flex;align-items:baseline;gap:5px}.lfv5-bottom-metric strong{font-size:13px;color:#16213b;line-height:1}.lfv5-bottom-metric small{font-size:5.7px;color:#7e8b9f}.lfv5-bottom-spark{height:27px;margin-top:2px}.lfv5-bottom-spark svg{width:100%;height:100%}
#ledger-v127-root[data-screen="ledger-feed"] .lfv5-overlay-bg{position:fixed;inset:0;background:rgba(15,29,53,.2);z-index:80;display:flex;justify-content:flex-end}.lfv5-overlay{width:min(390px,90vw);height:100%;background:#fff;border-left:1px solid #dfe5ef;box-shadow:-10px 0 30px rgba(26,40,70,.12);padding:16px;overflow:auto}.lfv5-overlay header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid #edf0f5}.lfv5-overlay header span{font-size:7px;color:#718099}.lfv5-overlay header h3{font-size:14px;margin:2px 0 0}.lfv5-overlay header button{border:0;background:#f3f5f8;border-radius:50%;width:26px;height:26px;cursor:pointer}.lfv5-overlay>p{font-size:8px;color:#6e7d93}.lfv5-overlay-list{display:grid;gap:7px;margin-top:10px}.lfv5-overlay-list>div{border:1px solid #e5eaf1;border-radius:6px;padding:8px}.lfv5-overlay-list b{display:block;font-size:8px}.lfv5-overlay-list span,.lfv5-overlay-list em{display:block;margin-top:3px;font-size:7px;color:#718099;font-style:normal}
#ledger-v127-root[data-screen="ledger-feed"] .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#ledger-v127-root[data-screen="ledger-feed"] button:focus-visible,#ledger-v127-root[data-screen="ledger-feed"] select:focus-visible,#ledger-v127-root[data-screen="ledger-feed"] input:focus-visible{outline:2px solid #4979ef!important;outline-offset:1px!important}
@media(max-width:1450px){#ledger-v127-root[data-screen="ledger-feed"] .lfv5-tools{gap:4px}.lfv5-tools select{min-width:82px}.lfv5-summary-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1.05fr) minmax(0,.88fr) minmax(0,1.05fr)}.lfv5-register-tools{grid-template-columns:minmax(190px,1.35fr) repeat(4,minmax(78px,.68fr)) auto auto auto auto}}
@media(max-width:1180px){#ledger-v127-root[data-screen="ledger-feed"] .lfv5-toolbar{align-items:flex-start;flex-direction:column}.lfv5-tools{justify-content:flex-start;width:100%}.lfv5-summary-grid{grid-template-columns:1fr 1fr}.lfv5-summary-grid>.lfv5-card{height:118px}.lfv5-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.lfv5-kpi{height:61px}.lfv5-analytics-row{grid-template-columns:1fr}.lfv5-feed-chart,.lfv5-operational{height:145px}.lfv5-register-tools{grid-template-columns:repeat(4,minmax(0,1fr))}.lfv5-search{grid-column:1/3}.lfv5-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.lfv5-bottom-card{height:76px}}
@media(max-width:760px){#ledger-v127-root[data-screen="ledger-feed"] .lfv5-summary-grid{grid-template-columns:1fr}.lfv5-summary-grid>.lfv5-card{height:auto;min-height:112px}.lfv5-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lfv5-register-tools{grid-template-columns:1fr 1fr}.lfv5-search{grid-column:1/-1}.lfv5-bottom{grid-template-columns:1fr 1fr}.lfv5-bottom-card{height:80px}}
@media(prefers-reduced-motion:reduce){#ledger-v127-root[data-screen="ledger-feed"] .lfv5-root *,#ledger-v127-root[data-screen="ledger-feed"] .lfv5-root *::before,#ledger-v127-root[data-screen="ledger-feed"] .lfv5-root *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* ============================================================================
   Ledger Feed V6 — screenshot-calibrated skin ONLY.
   Everything is scoped to #ledger-v127-root[data-screen="ledger-feed"].
   Top nav, left nav, right intelligence rail, hero, brand and other pages remain
   outside this selector and are not restyled.
   ============================================================================ */
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-root{--lfv6-text:#17233f;--lfv6-muted:#64748f;--lfv6-line:#e3e9f2;--lfv6-blue:#2368ed;--lfv6-bg:#fff;font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--lfv6-text);font-size:13px;letter-spacing:-.005em;display:grid;gap:12px;min-width:0;padding-bottom:10px}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-card{background:#fff;border:1px solid var(--lfv6-line);border-radius:9px;box-shadow:0 1px 2px rgba(20,40,80,.025);min-width:0}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:2px 2px 0}.lfv6-title{min-width:310px}.lfv6-title h1{margin:0;color:#101b35;font-size:25px;line-height:1.15;font-weight:800;letter-spacing:-.035em}.lfv6-title h1 span{color:#3372f3;font-size:20px}.lfv6-title p{margin:5px 0 0;color:#65758e;font-size:12.5px;line-height:1.65;font-weight:450}.lfv6-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.lfv6-control select,.lfv6-saved-select{height:36px;border:1px solid #dce4ef;border-radius:6px;background:#fff;color:#42536e;padding:0 30px 0 11px;font-size:11.5px;line-height:1.2;font-weight:540;outline:none}.lfv6-control.period select{min-width:160px}.lfv6-control select:focus,.lfv6-saved-select:focus{border-color:#9ab7f7;box-shadow:0 0 0 3px rgba(58,109,239,.08)}.lfv6-control select:disabled{color:#9ca8ba;background:#f7f9fc}.lfv6-live{height:36px;display:grid;grid-template-columns:10px auto;column-gap:6px;align-content:center;padding:0 12px;border-left:1px solid #e6ebf3}.lfv6-live i{grid-row:1/3;width:9px;height:9px;border:2px solid #13a36c;border-radius:50%;align-self:center}.lfv6-live b{font-size:11px;color:#159b69;line-height:1}.lfv6-live span{font-size:8.5px;color:#7f8ba0;line-height:1.4;white-space:nowrap}.lfv6-btn,.lfv6-icon{height:36px;border:1px solid #dce4ef;border-radius:6px;background:#fff;color:#253955;font-size:11px;font-weight:650;padding:0 11px;cursor:pointer}.lfv6-btn:hover,.lfv6-icon:hover{background:#f8faff;border-color:#bdcae0}.lfv6-icon{width:36px;padding:0;color:#316ce9;font-size:16px}.lfv6-btn.export span{color:#8997aa;margin-left:4px}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-summary-grid{display:grid;grid-template-columns:1.72fr 1.14fr 1.05fr 1.42fr;gap:10px;min-width:0}.lfv6-summary-grid>.lfv6-card{min-height:172px}.lfv6-ai{position:relative;overflow:hidden;padding:20px 20px 18px 112px}.lfv6-waves{position:absolute;inset:0 auto 0 0;width:108px;background:linear-gradient(180deg,#fbfdff,#edfff9)}.lfv6-waves i{position:absolute;left:-54px;bottom:-48px;width:154px;height:204px;border-radius:55%;transform:rotate(-19deg);background:linear-gradient(155deg,rgba(92,83,247,.10),rgba(44,212,175,.35));border:1px solid rgba(56,120,238,.35)}.lfv6-waves i:nth-child(2){left:-35px;bottom:-58px;background:linear-gradient(155deg,rgba(64,119,246,.13),rgba(50,219,180,.26))}.lfv6-waves i:nth-child(3){left:-15px;bottom:-69px;background:linear-gradient(155deg,rgba(90,95,239,.22),rgba(44,212,174,.42))}.lfv6-ai-copy{position:relative;z-index:1}.lfv6-ai-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;background:#f6f2ff;border:1px solid #ded4ff;color:#7653e7;font-size:10px;line-height:1;font-weight:800;letter-spacing:.02em}.lfv6-ai h2{max-width:440px;margin:13px 0 8px;color:#14203d;font-size:20px;line-height:1.4;font-weight:780;letter-spacing:-.025em}.lfv6-ai p{max-width:520px;margin:0;color:#60718d;font-size:11.5px;line-height:2;font-weight:450}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-insights,.lfv6-trust,.lfv6-actions{padding:17px 17px 14px}.lfv6-insights h3,.lfv6-trust h3,.lfv6-actions h3{margin:0 0 12px;font-size:13px;line-height:1.35;font-weight:760;color:#182541}.lfv6-insights h3 small{font-size:10px;color:#7c899e;font-weight:500}.lfv6-insight{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;margin:10px 0}.lfv6-insight>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eafaf3;border:1px solid #a9e6ca;color:#119b66;font-size:16px}.lfv6-insight.i1>span{background:#fff4ea;border-color:#ffd1ae;color:#ff762d}.lfv6-insight.i2>span{background:#edf4ff;border-color:#b7cdfc;color:#2e6df1}.lfv6-insight b{display:block;font-size:11px;line-height:1.55;font-weight:720;color:#1c2b48}.lfv6-insight p{margin:1px 0 0;color:#718099;font-size:9.8px;line-height:1.75}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-trust-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.lfv6-trust-status{font-size:10px;color:#16a56d;font-weight:750}.lfv6-trust>strong{display:block;margin:10px 0 2px;font-size:20px;line-height:1.1;color:#192642}.lfv6-trust>p{margin:6px 0;color:#556782;font-size:10.5px;line-height:1.85}.lfv6-provenance{display:grid;gap:3px;margin:9px 0 3px}.lfv6-provenance b{font-size:10px;line-height:1.5}.lfv6-provenance span{font-size:9.5px;line-height:1.65;color:#718099}.lfv6-trust button{border:0;background:none;color:#2164ec;font-size:10px;font-weight:690;padding:5px 0 0;cursor:pointer}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-actions>button{width:100%;display:grid;grid-template-columns:28px 1fr 14px;gap:9px;align-items:center;border:1px solid #e2e8f1;background:#fbfcfe;border-radius:7px;padding:8px 9px;margin:7px 0;text-align:left;cursor:pointer}.lfv6-actions>button:hover{border-color:#c8d7f2;background:#f8faff}.lfv6-actions .num{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;background:#e8f0ff;color:#2469ef;font-size:11px;font-weight:800}.lfv6-actions .n1{background:#fff0e6;color:#ff752d}.lfv6-actions .n2{background:#e8faf3;color:#13a36b}.lfv6-actions b{display:block;font-size:10.5px;line-height:1.55;color:#22334f}.lfv6-actions small{display:block;margin-top:1px;font-size:9px;line-height:1.5;color:#76849a}.lfv6-actions i{font-style:normal;font-size:16px;color:#7a8aa1}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.lfv6-kpi{min-width:0;height:112px;padding:12px 13px 8px;border:1px solid #e1e7f0;border-radius:9px;background:#fff;text-align:left;color:#17233f;cursor:pointer}.lfv6-kpi:hover{border-color:#c8d4e8;box-shadow:0 2px 6px rgba(31,55,96,.05)}.lfv6-kpi-label{display:flex;align-items:center;justify-content:space-between}.lfv6-kpi-label b{font-size:10.5px;line-height:1.4;color:#61718a;font-weight:650}.lfv6-kpi-label span{font-size:10px;color:#9aa7ba}.lfv6-kpi-value{display:flex;align-items:baseline;gap:10px;margin-top:8px;min-height:27px}.lfv6-kpi-value strong{font-size:23px;line-height:1;font-weight:790;letter-spacing:-.03em;color:#17223d}.lfv6-kpi-value small{font-size:9.5px;line-height:1.4;color:#738199;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lfv6-kpi-value small.good{color:#17a66d}.lfv6-kpi-value small.bad{color:#f05c58}.lfv6-kpi-spark{height:31px;margin-top:7px}.lfv6-kpi-spark svg{width:100%;height:100%}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-analytics-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(350px,.95fr);gap:10px}.lfv6-chart{height:274px;padding:0;overflow:hidden}.lfv6-chart-head{height:58px;display:flex;align-items:flex-start;justify-content:space-between;padding:13px 16px 0}.lfv6-chart-head h3{margin:0;font-size:13px;line-height:1.35;font-weight:760}.lfv6-chart-head p{margin:7px 0 0;color:#687892;font-size:9.5px;line-height:1.4;display:flex;align-items:center;gap:6px}.lfv6-chart-head p span{width:8px;height:8px;border-radius:2px;display:inline-block}.lfv6-chart-head p .blue{background:#2d70f2}.lfv6-chart-head p .red{background:#ff5056;margin-left:10px}.lfv6-chart-controls{display:flex;gap:6px}.lfv6-chart-controls button{height:30px;border:1px solid #dce4ef;border-radius:6px;background:#fff;color:#5c6c85;font-size:9.5px;font-weight:600;padding:0 12px;cursor:pointer}.lfv6-chart-controls button.active{background:#edf4ff;border-color:#bfd3ff;color:#2b65e7}.lfv6-main-chart{width:100%;height:214px}.lfv6-main-chart .grid line{stroke:#e9edf4;stroke-width:1}.lfv6-main-chart .grid text,.lfv6-main-chart .xlab,.lfv6-main-chart .axis-title{fill:#6d7d94;font-size:9px;font-weight:520}.lfv6-main-chart rect{fill:#dbe8ff;stroke:#9dbcf8;stroke-width:1}.lfv6-main-chart .ex-line{stroke:#ff5659;stroke-width:2.15;vector-effect:non-scaling-stroke}.lfv6-main-chart .ex-dot{fill:#ff5659;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-operational{height:274px;padding:13px 15px}.lfv6-op-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.lfv6-op-head h3{margin:0;font-size:13px;font-weight:760}.lfv6-op-head button{border:0;background:none;color:#2b69ec;font-size:9.5px;font-weight:660;cursor:pointer}.lfv6-op-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid #edf1f6;padding:9px 0}.lfv6-op-row:first-of-type{border-top:0}.lfv6-op-row .ico{width:29px;height:29px;border-radius:7px;background:#f0ecff;color:#7353e8;display:grid;place-items:center;font-size:13px}.lfv6-op-row.r1 .ico{background:#edf4ff;color:#2c70ed}.lfv6-op-row.r2 .ico{background:#fff2e9;color:#ff7d31}.lfv6-op-row.r3 .ico{background:#eaf9f3;color:#14a36c}.lfv6-op-row b{display:block;font-size:10.5px;line-height:1.5;font-weight:720}.lfv6-op-row p{margin:1px 0 0;font-size:9px;line-height:1.7;color:#728098}.lfv6-op-row button{border:1px solid #dce6f4;background:#f8fbff;border-radius:12px;color:#2c68e8;padding:4px 10px;font-size:8.5px;font-weight:650;cursor:pointer}.lfv6-op-row.r2 button{color:#7b4ee7;background:#faf7ff}.lfv6-op-row.r3 button{color:#159866;background:#f0fbf6}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-register{position:relative;overflow:visible}.lfv6-register-tools{min-height:46px;padding:7px 10px;display:grid;grid-template-columns:minmax(230px,1.45fr) repeat(4,minmax(120px,.78fr)) auto auto auto 34px;gap:7px;align-items:center;border-bottom:1px solid #e8edf4}.lfv6-search{height:32px;border:1px solid #dce4ee;border-radius:6px;display:flex;align-items:center;gap:7px;padding:0 10px;color:#7b8aa0}.lfv6-search input{width:100%;border:0;outline:0;background:transparent;color:#263852;font-size:10px}.lfv6-reg-filter select{height:32px;width:100%;border:1px solid #dce4ee;border-radius:6px;background:#fff;color:#55657e;font-size:9.5px;padding:0 25px 0 9px}.lfv6-reg-filter select:disabled{background:#f7f9fc;color:#a0abbc}.lfv6-toggle{display:flex;align-items:center;gap:7px;font-size:9px;color:#61718a;white-space:nowrap}.lfv6-toggle input{position:absolute;opacity:0}.lfv6-toggle i{width:29px;height:16px;border-radius:10px;background:#d7deea;position:relative}.lfv6-toggle i:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;left:2px;top:2px;background:#fff;box-shadow:0 1px 2px #aeb8c8}.lfv6-toggle input:checked+i{background:#5f83ed}.lfv6-toggle input:checked+i:after{left:15px}.lfv6-clear,.lfv6-columns{height:30px;border:0;background:none;color:#2867e8;font-size:9.5px;font-weight:650;white-space:nowrap;cursor:pointer}.lfv6-columns{border:1px solid #dce4ee;border-radius:6px;color:#4d5e77;padding:0 10px;background:#fff}.lfv6-filter-count{height:30px;min-width:30px;border:1px solid #dce4ee;border-radius:6px;display:grid;place-items:center;color:#2f6eec;font-size:9px}.lfv6-column-menu{right:42px;top:42px;z-index:20}.lfv6-table-scroll{overflow:auto;max-height:315px}.lfv6-register table{width:100%;border-collapse:collapse;min-width:1320px;table-layout:auto}.lfv6-register th{position:sticky;top:0;z-index:2;background:#fbfcfe;color:#43546c;border-bottom:1px solid #e6ebf2;text-align:left;padding:8px 10px;font-size:9.5px;font-weight:720;white-space:nowrap}.lfv6-register th button{border:0;background:none;color:inherit;font:inherit;padding:0;cursor:pointer}.lfv6-register td{border-bottom:1px solid #eef2f6;padding:8px 10px;font-size:9.6px;line-height:1.65;color:#42536c;white-space:nowrap;vertical-align:middle}.lfv6-register tbody tr:hover{background:#fbfcff}.lfv6-register .check{width:28px}.lfv6-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:6px;font-size:8.5px;font-weight:680;background:#eef2f6;color:#66758b}.lfv6-pill.good{background:#e7f8ef;color:#159966}.lfv6-pill.warn{background:#fff2e2;color:#f17825}.lfv6-pill.bad{background:#ffe8e8;color:#ef4c50}.lfv6-exception-num{color:#ff602d!important;font-weight:700}.lfv6-ai-cell{white-space:normal!important;min-width:190px;max-width:230px;line-height:1.6!important;color:#3b4d67!important}.lfv6-row-action{border:0;background:none;color:#2568e9;font-size:9.5px;font-weight:550;padding:0;white-space:nowrap;cursor:pointer}.lfv6-more{border:0;background:none;color:#637994;cursor:pointer;font-size:13px}.lfv6-register footer{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;color:#687892;font-size:9.5px}.lfv6-register footer>div{display:flex;align-items:center;gap:14px}.lfv6-register footer select{height:29px;border:1px solid #dce4ee;border-radius:6px;background:#fff;color:#586981;font-size:9px;padding:0 23px 0 8px}.lfv6-pager{display:flex!important;gap:4px!important}.lfv6-pager button,.lfv6-pager b{height:27px;min-width:27px;border:1px solid #dce4ee;border-radius:5px;background:#fff;color:#65768e;display:grid;place-items:center;font-size:9.5px}.lfv6-pager b{background:#2469ec;color:#fff;border-color:#2469ec}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-bottom{display:grid;grid-template-columns:1.15fr 1.15fr repeat(4,1fr);gap:10px}.lfv6-bottom-card{height:128px;padding:12px 13px;overflow:hidden}.lfv6-bottom-card h3{margin:0;font-size:10.5px;line-height:1.5;font-weight:730;color:#34445e}.lfv6-donut{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:8px;align-items:center;height:87px}.lfv6-donut svg{width:70px;height:70px}.lfv6-donut-legend{display:grid;gap:3px}.lfv6-donut-legend span{display:grid;grid-template-columns:7px 1fr auto;gap:5px;align-items:center;color:#5d6d85;font-size:8.5px;line-height:1.4}.lfv6-donut-legend span i{width:6px;height:6px;border-radius:2px}.lfv6-donut-legend span em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lfv6-donut-legend span b{font-size:8.5px;color:#3a4c66}.lfv6-bottom-value{display:flex;align-items:baseline;gap:8px;margin-top:10px}.lfv6-bottom-value strong{font-size:21px;line-height:1;font-weight:790;color:#17233e}.lfv6-bottom-value small{font-size:8.5px;color:#16a36a;line-height:1.4}.lfv6-bottom-card>p{font-size:8.8px;color:#687991;margin:6px 0 0;line-height:1.5}.lfv6-bottom-spark{height:38px;margin-top:7px}.lfv6-bottom-spark svg{width:100%;height:100%}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-empty{color:#8693a6;font-size:10px;line-height:1.8;padding:12px 0}
#ledger-v127-root[data-screen="ledger-feed"] .lfv6-root button:focus-visible,#ledger-v127-root[data-screen="ledger-feed"] .lfv6-root select:focus-visible,#ledger-v127-root[data-screen="ledger-feed"] .lfv6-root input:focus-visible{outline:2px solid #3f76ef;outline-offset:2px}
@media(max-width:1500px){#ledger-v127-root[data-screen="ledger-feed"] .lfv6-summary-grid{grid-template-columns:1.55fr 1.05fr 1fr 1.25fr}.lfv6-ai h2{font-size:18px}.lfv6-kpi-value strong{font-size:20px}.lfv6-register-tools{grid-template-columns:minmax(190px,1.25fr) repeat(4,minmax(105px,.72fr)) auto auto auto 32px}}
@media(max-width:1180px){#ledger-v127-root[data-screen="ledger-feed"] .lfv6-toolbar{align-items:flex-start;flex-direction:column}.lfv6-toolbar-actions{justify-content:flex-start}.lfv6-summary-grid{grid-template-columns:1fr 1fr}.lfv6-analytics-row{grid-template-columns:1fr}.lfv6-chart,.lfv6-operational{height:auto;min-height:270px}.lfv6-kpis{grid-template-columns:repeat(3,1fr)}.lfv6-bottom{grid-template-columns:repeat(3,1fr)}.lfv6-register-tools{display:flex;flex-wrap:wrap}.lfv6-search{min-width:240px;flex:1}}
@media(max-width:720px){#ledger-v127-root[data-screen="ledger-feed"] .lfv6-summary-grid{grid-template-columns:1fr}.lfv6-kpis{grid-template-columns:repeat(2,1fr)}.lfv6-bottom{grid-template-columns:repeat(2,1fr)}.lfv6-ai{padding-left:82px}.lfv6-waves{width:75px}.lfv6-title h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){#ledger-v127-root[data-screen="ledger-feed"] .lfv6-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* ============================================================================
   Ledger Feed V7 — production-vs-spec gap closure.
   CENTRAL WORKSPACE ONLY. Locked shell/chrome intentionally remains outside.
   ============================================================================ */
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root{
  gap:14px;
  font-size:13.5px;
  color:#16233e;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-title h1{
  font-size:26px;
  line-height:1.2;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-title p{
  font-size:12.5px;
  line-height:2;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-summary-grid{
  gap:12px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-summary-grid>.lfv6-card{
  min-height:184px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-ai{
  padding-top:22px;
  padding-bottom:22px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-ai h2{
  font-size:20px;
  line-height:1.55;
  margin-top:14px;
  margin-bottom:9px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-ai p{
  font-size:11.6px;
  line-height:2.15;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-insight{
  margin:11px 0;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-insight b{
  font-size:11.2px;
  line-height:1.65;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-insight p{
  font-size:9.8px;
  line-height:1.95;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-trust>p,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-provenance span{
  line-height:2;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-actions>button{
  padding:9px 10px;
  margin:8px 0;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-actions b{
  font-size:10.8px;
  line-height:1.65;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-actions small{
  line-height:1.8;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-kpi{
  height:118px;
  padding:13px 14px 9px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-kpi-label b{
  font-size:10.8px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-kpi-value strong{
  font-size:24px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-kpi-value small{
  font-size:9.6px;
  line-height:1.6;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-kpi-spark{
  height:34px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-chart{
  height:292px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-main-chart{
  height:230px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-chart-head{
  height:62px;
  padding-top:14px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-chart-head h3,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-op-head h3{
  font-size:13.2px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-operational{
  height:292px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-op-row{
  padding:10px 0;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-op-row b{
  font-size:10.7px;
  line-height:1.65;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-op-row p{
  font-size:9.2px;
  line-height:1.85;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-table-scroll{
  max-height:none;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-register th{
  font-size:9.7px;
  padding:9px 10px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-register td{
  font-size:9.8px;
  line-height:1.8;
  padding:8px 10px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv7-value{
  font-variant-numeric:tabular-nums;
  font-weight:560;
  color:#344760;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv7-trust-pill{
  gap:5px;
  background:transparent;
  padding-left:2px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv7-trust-pill.good{
  color:#169664;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv7-trust-pill.warn{
  color:#e98724;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv7-trust-pill.danger{
  color:#ef4d54;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-pill.danger{
  background:#ffe9e9;
  color:#ef4d54;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom{
  gap:12px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-card{
  height:138px;
  padding:13px 14px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-card h3{
  font-size:10.7px;
  line-height:1.65;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-value strong{
  font-size:22px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-value small,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-card>p{
  line-height:1.8;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-bottom-spark{
  height:42px;
}

/* The application hero/right rail remain structurally locked by release policy.
   V7 therefore closes the content/data/typography gaps without hiding shell chrome. */


/* V8 frontend-only preview: visual polish remains Ledger Feed central workspace scoped. */
#ledger-v127-root[data-screen="ledger-feed"][data-lfv8-preview-user="true"] .lfv7-root{
  --lf-preview-loaded:1;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-summary-grid{
  grid-template-columns:minmax(0,1.72fr) minmax(0,1.18fr) minmax(0,1.05fr) minmax(0,1.42fr);
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-ai h2{
  max-width:470px;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-main-chart .grid text,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-main-chart .xlab,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-main-chart .axis-title{
  font-size:10px;
  fill:#596b85;
}
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-register td,
#ledger-v127-root[data-screen="ledger-feed"] .lfv7-root .lfv6-register th{
  letter-spacing:0;
}


/* V9 diagnostic marker is intentionally non-visual. */
#ledger-v127-root[data-screen="ledger-feed"] .lfv9-build-marker{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}


/* ============================================================================
   Matching & Fraud V10 — donor-based presentation, scoped to this screen only.
   No shell, hero, global navigation, other Ledger pages or right rail selectors.
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-root{
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#17213d;
  display:grid;
  gap:10px;
  font-size:10px;
  background:#fbfcff;
  padding:2px 0 10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-pagehead{
  min-height:58px;background:#fff;border:1px solid #e6eaf1;border-radius:8px;
  display:grid;grid-template-columns:minmax(310px,1fr) auto auto;align-items:center;gap:14px;padding:8px 12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-title h1{margin:0;font-size:16px;line-height:1.25;font-weight:800;color:#17213d;letter-spacing:-.02em}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-title p{margin:3px 0 0;font-size:8.8px;line-height:1.55;color:#73809a}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-roles{display:flex;border:1px solid #e2e7f0;border-radius:6px;overflow:hidden}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-roles button{height:29px;min-width:62px;border:0;border-right:1px solid #e8ecf3;background:#fff;color:#738099;font-size:8.3px;font-weight:650;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-roles button:last-child{border-right:0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-roles button.active{background:#f4efff;color:#6f48e8}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-headtools{display:flex;align-items:end;gap:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-headtools label{display:grid;gap:2px;color:#7b879c;font-size:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-headtools select,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-headtools>button{height:30px;border:1px solid #e0e6ef;border-radius:5px;background:#fff;color:#4f607a;font-size:8px;padding:0 8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-density{display:grid;grid-template-columns:repeat(3,26px);grid-template-rows:11px 27px;gap:2px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-density>span{grid-column:1/4;font-size:7px;color:#7d899b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-density button{border:1px solid #e0e6ef;background:#fff;color:#728096;font-size:9px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-density button.active{background:#efeaff;color:#7048e8}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-filterbar{
  display:grid;grid-template-columns:1.2fr repeat(8,minmax(86px,1fr)) auto auto;gap:6px;align-items:end;
  background:#fff;border:1px solid #e6eaf1;border-radius:8px;padding:8px 9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-filter{display:grid;gap:3px;min-width:0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-filter span{font-size:7px;color:#8a96a9;padding-left:2px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-filter select{height:29px;width:100%;border:1px solid #e1e6ef;border-radius:5px;background:#fff;color:#57677f;font-size:7.8px;padding:0 20px 0 7px;outline:none}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-clear,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-apply{height:29px;border-radius:5px;font-size:8px;font-weight:700;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-clear{border:0;background:#fff;color:#7653e7}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-apply{border:1px solid #7550ec;background:#7550ec;color:#fff;padding:0 12px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-main{display:grid;grid-template-columns:205px minmax(600px,1fr) 235px;gap:8px;align-items:stretch}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-left,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-right{display:grid;gap:8px;align-content:start}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-actions,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queues{
  background:#fff;border:1px solid #e6eaf1;border-radius:8px;padding:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card h3{font-size:8.3px;color:#6044d9;margin:0 0 6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card p{font-size:7.8px;line-height:1.65;color:#596a84;margin:0 0 7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card b{color:#23344f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card button{border:1px solid #ddd5ff;background:#faf8ff;color:#7048e8;border-radius:5px;font-size:7px;padding:4px 6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card>span{font-size:6.5px;color:#8a96a8;margin-left:6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-mini-kpis div{border:1px solid #eceff5;border-radius:6px;padding:5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-mini-kpis span{display:block;font-size:6px;color:#7d8a9f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-mini-kpis strong{display:block;font-size:10px;margin:3px 0;color:#273751}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-mini-kpis small{font-size:6.5px;color:#e55d68}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chips{display:flex;gap:4px;flex-wrap:wrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chips span{background:#f4f6fa;border-radius:9px;padding:3px 6px;font-size:6.4px;color:#65738a}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card ul{margin:0 0 7px;padding-left:14px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-ai-card li{font-size:7.3px;line-height:1.6;color:#576780;margin:2px 0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map{background:#fff;border:1px solid #e6eaf1;border-radius:8px;overflow:hidden;min-width:0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #edf0f5}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-head h3{margin:0;font-size:9px;color:#2c3d58}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-head h3 span{color:#9aa5b6}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-head p{font-size:6.7px;color:#7e8a9f;margin:3px 0 0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-tools{display:flex;align-items:center;gap:5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-legend{display:flex;gap:7px;align-items:center}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-legend span{font-size:5.8px;color:#7d899b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-legend span:before{content:"";display:inline-block;width:11px;height:1.5px;background:#5b83e8;margin-right:3px;vertical-align:middle}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-legend .p:before{background:#8d62e8}.mfv10-legend .g:before{background:#43c9a2}.mfv10-legend .o:before{background:#f4a261}.mfv10-legend .r:before{background:#ef6b75}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-tools label{height:25px;border:1px solid #e1e6ef;border-radius:5px;display:flex;align-items:center;padding:0 6px;color:#8290a5}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-tools input{width:85px;border:0;outline:0;font-size:6.7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-tools button{height:25px;border:1px solid #e1e6ef;background:#fff;border-radius:5px;color:#687891;font-size:6.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-stage{height:398px;overflow:hidden}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-stage svg{width:100%;height:100%}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node{cursor:pointer;transition:opacity .15s ease}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.dim{opacity:.18}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node rect{fill:#fff;stroke:#d9e3f4;stroke-width:1}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node circle{fill:#eaf1ff}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.blue rect{fill:#f5f8ff;stroke:#c8d8f7}.mfv10-node.blue circle{fill:#3c73e9}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.green rect{fill:#f2fcf8;stroke:#c6edde}.mfv10-node.green circle{fill:#3bbf98}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.teal rect{fill:#f3fbfb;stroke:#c9eceb}.mfv10-node.teal circle{fill:#32b8b2}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.purple rect{fill:#f8f5ff;stroke:#ddd1f7}.mfv10-node.purple circle{fill:#8358de}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.orange rect{fill:#fff8f1;stroke:#f5dec7}.mfv10-node.orange circle{fill:#ee9850}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.yellow rect{fill:#fffaf0;stroke:#f3e4bb}.mfv10-node.yellow circle{fill:#e8b53e}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.risk rect,#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node.finding rect{fill:#fff5f5;stroke:#f2cdd1}.mfv10-node.risk circle,.mfv10-node.finding circle{fill:#ef6671}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node .ico{fill:#fff;font-size:7px;font-weight:800}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node .title{fill:#33445f;font-size:6.6px;font-weight:750}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node .sub{fill:#75839a;font-size:5.8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node .amt{fill:#495a74;font-size:6px;font-weight:650}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-node .risk{fill:#e35d68;font-size:5.7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-map-ai{height:28px;display:flex;align-items:center;gap:5px;padding:0 11px;background:#faf8ff;border-top:1px solid #eee9fb;color:#6c4ce0;font-size:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-section-head h3{font-size:8.3px;margin:0;color:#5f42d9}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-section-head h3 sup{background:#f0edff;border-radius:8px;padding:1px 4px;font-size:5.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-section-head button{border:0;background:none;color:#6e4ae8;font-size:6.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action{width:100%;display:grid;grid-template-columns:22px 1fr 40px;gap:7px;align-items:start;border:0;border-bottom:1px solid #edf0f5;background:#fff;padding:7px 0;text-align:left;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action>span{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:#e45f69;font-size:6.7px;font-weight:800}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action b{font-size:7.2px;line-height:1.45;color:#394a64}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action small{display:block;margin-top:2px;color:#7d8a9f;font-size:5.8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action em{font-style:normal;text-align:right;color:#e45f69;font-size:5.8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-action em strong{display:block;color:#586981;font-size:6.3px;margin-top:3px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queue-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queue-grid div{border:1px solid #e9edf3;border-radius:6px;padding:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queue-grid span{display:block;font-size:6px;color:#78869a}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queue-grid strong{display:block;font-size:12px;margin:4px 0;color:#25364f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-queue-grid small{font-size:5.7px;color:#7a8799}.mfv10-queue-grid small b{color:#e86671}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-analytics{display:grid;grid-template-columns:1.1fr 1.1fr .85fr 1fr .85fr;gap:8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chart{height:138px;background:#fff;border:1px solid #e6eaf1;border-radius:8px;padding:8px;overflow:hidden}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chart header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chart h3{margin:0;font-size:7.5px;color:#40516b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chart header span{font-size:5.5px;margin-left:6px;color:#738196}.mfv10-chart header .blue:before,.mfv10-chart header .red:before{content:"";display:inline-block;width:6px;height:2px;margin-right:3px;vertical-align:middle;background:#497ee8}.mfv10-chart header .red:before{background:#ef6b75}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chart>svg{width:100%;height:105px}.mfv10-chart>svg line{stroke:#edf0f5}.mfv10-chart>svg polyline{fill:none;stroke-width:1.5}.mfv10-chart>svg polyline.a{stroke:#5486ef}.mfv10-chart>svg polyline.b{stroke:#ef6b75}.mfv10-chart>svg circle.a{fill:#5486ef}.mfv10-chart>svg circle.b{fill:#ef6b75}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-donut>div{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:5px;height:108px}.mfv10-donut svg{width:70px;height:70px}.mfv10-donut svg text:first-of-type{font-size:10px;font-weight:780;fill:#32445d}.mfv10-donut svg text:last-of-type{font-size:5.5px;fill:#78869b}.mfv10-donut ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}.mfv10-donut li{display:grid;grid-template-columns:6px 1fr auto;gap:4px;align-items:center;font-size:5.5px;color:#6f7d91}.mfv10-donut li i{width:5px;height:5px;border-radius:2px}.mfv10-donut li b{font-size:5.5px;color:#43536b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-bars>div{display:grid;gap:4px;margin-top:8px}.mfv10-bars p{display:grid;grid-template-columns:90px 1fr 20px;gap:5px;align-items:center;margin:0}.mfv10-bars p span{font-size:5.6px;color:#65748a}.mfv10-bars p i{height:4px;background:#eef1f5;border-radius:4px;overflow:hidden}.mfv10-bars p i b{display:block;height:100%;background:#5d86e8}.mfv10-bars p em{font-size:5.5px;color:#53637c;font-style:normal;text-align:right}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings{background:#fff;border:1px solid #e6eaf1;border-radius:8px;overflow:hidden}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-find-tools{height:38px;display:flex;align-items:center;gap:8px;padding:0 9px;border-bottom:1px solid #edf0f5}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-find-tools h3{font-size:8px;margin:0;white-space:nowrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-chipbar{display:flex;gap:4px;flex:1}.mfv10-chipbar button,.mfv10-table-actions button{height:23px;border:1px solid #e1e6ef;border-radius:4px;background:#fff;color:#65748a;font-size:5.8px;padding:0 7px}.mfv10-chipbar button.active{background:#f6f4ff;color:#6f4be4;border-color:#e0d8fb}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-table-actions{display:flex;align-items:center;gap:4px}.mfv10-table-actions span{font-size:5.8px;color:#758296}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-table-wrap{overflow:auto}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings table{width:100%;min-width:1240px;border-collapse:collapse}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings th{background:#fbfcfe;border-bottom:1px solid #e9edf3;color:#69778d;font-size:5.7px;font-weight:700;text-align:left;padding:5px 6px;white-space:nowrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings td{border-bottom:1px solid #eff2f6;color:#495b75;font-size:5.8px;padding:6px;white-space:nowrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-pill{padding:3px 5px;border-radius:5px;background:#eef2f6;color:#65748b}.mfv10-pill.good{background:#e9f8f0;color:#179766}.mfv10-pill.warn{background:#fff1e2;color:#e57c2d}.mfv10-pill.bad,.mfv10-pill.danger{background:#ffe9ea;color:#e95d68}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-confidence{display:flex;align-items:center;gap:4px}.mfv10-confidence i{width:45px;height:3px;background:#e7edf2;border-radius:4px;overflow:hidden}.mfv10-confidence i b{display:block;height:100%;background:#35b88a}.mfv10-confidence span{font-size:5.6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-risk{font-size:5.5px}.mfv10-risk.high{color:#e95b66}.mfv10-risk.medium{color:#e59835}.mfv10-risk.low{color:#1aa16b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-workflow{padding:3px 5px;border-radius:4px;background:#f3efff;color:#6e4be4;font-size:5.4px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings td button{border:0;background:none;color:#684ae1;font-size:5.8px;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings footer{height:29px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;color:#738097;font-size:5.8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-findings footer div{display:flex;gap:3px}.mfv10-findings footer button,.mfv10-findings footer b{width:21px;height:20px;border:1px solid #e0e5ed;border-radius:4px;background:#fff;color:#67758c;display:grid;place-items:center}.mfv10-findings footer b{background:#7150e8;color:#fff}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-overlay{position:fixed;inset:0;background:rgba(20,30,55,.18);z-index:9999;display:flex;justify-content:flex-end}
#ledger-v127-root[data-screen="matching-fraud"] .mfv10-overlay>section{width:min(420px,92vw);height:100%;background:#fff;box-shadow:-8px 0 30px rgba(20,35,65,.15);padding:24px;position:relative}.mfv10-overlay>section>button{position:absolute;right:15px;top:12px;border:0;background:none;font-size:22px}.mfv10-overlay h2{font-size:16px;margin:0 0 8px}.mfv10-overlay p{font-size:11px;line-height:1.8;color:#61718a}.mfv10-overlay-body{margin-top:20px;border:1px solid #e5eaf2;border-radius:8px;padding:12px;display:grid;gap:8px}
@media(max-width:1450px){#ledger-v127-root[data-screen="matching-fraud"] .mfv10-main{grid-template-columns:190px minmax(540px,1fr) 215px}.mfv10-filterbar{grid-template-columns:repeat(5,1fr)!important}.mfv10-pagehead{grid-template-columns:1fr auto!important}.mfv10-headtools{grid-column:1/3;justify-content:flex-end}}
@media(max-width:1050px){#ledger-v127-root[data-screen="matching-fraud"] .mfv10-main{grid-template-columns:1fr}.mfv10-left,.mfv10-right{grid-template-columns:repeat(2,minmax(0,1fr))}.mfv10-map-stage{height:430px}.mfv10-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.mfv10-pagehead{grid-template-columns:1fr!important}.mfv10-headtools{grid-column:auto}.mfv10-filterbar{grid-template-columns:repeat(3,1fr)!important}}
@media(prefers-reduced-motion:reduce){#ledger-v127-root[data-screen="matching-fraud"] .mfv10-root *{transition:none!important;animation:none!important}}


/* ============================================================================
   Matching & Fraud V11 — typography + spacing + filter-reactive UX calibration.
   Scoped only to Matching & Fraud central workspace. No HTML5 Canvas.
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root{
 --mf11-text:#17233f;--mf11-body:#52637e;--mf11-muted:#77859b;--mf11-border:#e2e8f1;--mf11-blue:#4d79e7;--mf11-purple:#7251df;
 font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
 color:var(--mf11-text);display:grid;gap:12px;background:#fbfcff;padding:2px 0 12px;font-size:12px;letter-spacing:-.004em
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-pagehead{min-height:70px;border-color:var(--mf11-border);padding:10px 14px;box-shadow:0 1px 2px rgba(30,48,80,.025)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title h1{font-size:20px;line-height:1.3;font-weight:800;color:#14203b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title p{font-size:10.5px;line-height:1.8;color:#697992;margin-top:4px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-roles button{height:34px;min-width:72px;font-size:9.5px;color:#66758c}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-roles button.active{background:#f1edff;color:#6742dc;font-weight:750}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools label{font-size:8px;line-height:1.5}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools select,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools>button{height:34px;font-size:9px;padding:0 10px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-density{grid-template-columns:repeat(3,29px);grid-template-rows:12px 31px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filterbar{grid-template-columns:1.22fr repeat(8,minmax(98px,1fr)) auto auto;gap:7px;padding:9px 10px;border-color:var(--mf11-border)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter span{font-size:8.2px;line-height:1.45;color:#7e8ca1}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter select{height:34px;font-size:9px;color:#4e5f78;padding-left:8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-clear,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-apply{height:34px;font-size:9px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar{height:34px;display:flex;align-items:center;gap:24px;padding:0 12px;background:#fff;border:1px solid var(--mf11-border);border-radius:8px;color:#718096;font-size:9px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar b{color:#31425c;font-size:10px;margin-right:3px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{display:grid;grid-template-columns:230px minmax(660px,1fr) 260px;gap:10px;align-items:stretch}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-left,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-right{display:grid;gap:9px;align-content:start}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-actions,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queues,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings{background:#fff;border:1px solid var(--mf11-border);border-radius:9px;box-shadow:0 1px 2px rgba(30,48,80,.02)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card{padding:12px 12px 11px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-title{font-size:10px;line-height:1.5;color:#6242d5;font-weight:780;margin-bottom:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-title span{float:right;background:#eefaf4;color:#159867;border-radius:10px;padding:2px 5px;font-size:6.5px;font-weight:650}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p{font-size:9.2px;line-height:1.95;color:#53647d;margin:0 0 9px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p b{color:#263750}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis div{padding:7px 6px;border:1px solid #ebeff5;border-radius:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis span{display:block;font-size:6.8px;line-height:1.35;color:#7d8a9d}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis strong{display:block;font-size:13px;line-height:1.2;color:#25364e;margin:4px 0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis small{font-size:7px;color:#e35f69}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-inline-action{display:flex;align-items:center;gap:7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card button{height:26px;border:1px solid #ddd5fa;background:#faf8ff;color:#6848db;border-radius:5px;font-size:7.5px;padding:0 7px;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-inline-action span{font-size:7px;color:#8490a3}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chips{display:flex;gap:5px;flex-wrap:wrap}.mfv11-chips span{padding:3px 6px;border-radius:10px;background:#f4f6f9;color:#5f6f86;font-size:6.8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card ul{padding-left:15px;margin:0 0 8px}.mfv11-ai-card li{font-size:8.5px;line-height:1.8;color:#52627a;margin:2px 0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map{overflow:hidden;min-width:0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #edf1f5}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head h3{font-size:11px;line-height:1.35;margin:0;color:#2c3c57}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head p{font-size:7.5px;line-height:1.6;color:#7b899d;margin:3px 0 0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools{display:flex;align-items:center;gap:6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-legend{display:flex;gap:7px}.mfv11-legend span{font-size:6.2px;color:#77859a;white-space:nowrap}.mfv11-legend span:before{content:"";display:inline-block;width:11px;height:2px;background:#557fe8;margin-right:3px;vertical-align:middle}.mfv11-legend .p:before{background:#825be0}.mfv11-legend .g:before{background:#36bd96}.mfv11-legend .o:before{background:#e99d52}.mfv11-legend .r:before{background:#ed6670}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools label{height:29px;display:flex;align-items:center;gap:3px;border:1px solid #e1e7ef;border-radius:5px;padding:0 7px;color:#8290a4}.mfv11-map-tools input{border:0;outline:0;width:88px;font-size:7.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools button{height:29px;border:1px solid #e1e7ef;border-radius:5px;background:#fff;color:#65758b;font-size:7px;padding:0 7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-stage{height:430px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 45%,#fff 0,#fff 62%,#fbfcff 100%)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-stage>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.mfv11-map-stage path{transition:opacity .15s}.mfv11-map-stage path.dim{opacity:.18}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node{position:absolute;display:grid;grid-template-columns:23px 1fr;gap:5px;align-items:start;text-align:left;border:1px solid #dce5f3;border-radius:8px;background:#fff;padding:6px 7px;color:#33445e;box-shadow:0 1px 2px rgba(40,55,85,.035);cursor:pointer;overflow:hidden;transition:opacity .15s,border-color .15s,box-shadow .15s}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node:hover,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node.selected{border-color:#8eabef;box-shadow:0 2px 7px rgba(65,92,150,.10)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node.dim{opacity:.18}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .ico{width:19px;height:19px;border-radius:6px;display:grid;place-items:center;background:#4c79e7;color:#fff;font-size:8px;grid-row:1/3}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy{min-width:0}.mfv11-node .copy b{display:block;font-size:7.2px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mfv11-node .copy small{display:block;font-size:6px;line-height:1.45;color:#7b899c;white-space:nowrap}.mfv11-node .copy em{display:block;font-style:normal;font-size:6.4px;line-height:1.35;color:#4f6079;font-weight:680;white-space:nowrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node>i{position:absolute;right:6px;bottom:4px;font-style:normal;font-size:5.8px;color:#e55d68}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node.green .ico,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node.teal .ico{background:#36ba96}.mfv11-node.purple .ico{background:#7b57df}.mfv11-node.orange .ico{background:#e99a51}.mfv11-node.yellow .ico{background:#e0b03f}.mfv11-node.risk,.mfv11-node.finding{background:#fff7f7;border-color:#f0d2d5}.mfv11-node.risk .ico,.mfv11-node.finding .ico{background:#ed6670}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-foot{height:34px;display:flex;align-items:center;gap:6px;padding:0 12px;border-top:1px solid #eeeafb;background:#fbf9ff;color:#6949dd;font-size:7.5px}.mfv11-map-foot span{margin-left:auto;color:#77859a}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-actions,#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queues{padding:11px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.mfv11-section-head h3{font-size:9.6px;color:#6041d3;margin:0}.mfv11-section-head h3 sup{font-size:6px;background:#f0edff;border-radius:8px;padding:1px 4px}.mfv11-section-head button{border:0;background:none;color:#6748dc;font-size:7px;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action{width:100%;display:grid;grid-template-columns:24px 1fr 48px;gap:8px;align-items:start;border:0;border-bottom:1px solid #edf1f5;background:#fff;padding:8px 0;text-align:left;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action>span{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:#e35e69;font-size:7.2px;font-weight:800}.mfv11-action b{font-size:7.7px;line-height:1.55;color:#35455f}.mfv11-action small{display:block;margin-top:2px;font-size:6.3px;color:#7c899d}.mfv11-action em{font-style:normal;text-align:right;font-size:6.2px;color:#df6570}.mfv11-action em.medium{color:#d69035}.mfv11-action em.review{color:#66768d}.mfv11-action em strong{display:block;margin-top:3px;color:#4a5a72;font-size:6.6px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mfv11-queue-grid button{border:1px solid #e8edf3;border-radius:7px;background:#fff;padding:8px;text-align:left;cursor:pointer}.mfv11-queue-grid span{display:block;font-size:6.7px;color:#77859a}.mfv11-queue-grid strong{display:block;font-size:14px;line-height:1.1;color:#26364f;margin:5px 0}.mfv11-queue-grid small{font-size:6.3px;color:#7b899b}.mfv11-queue-grid small b{color:#de6670}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-analytics{display:grid;grid-template-columns:1.15fr 1.15fr .9fr 1fr .9fr;gap:10px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart{height:160px;padding:10px;overflow:hidden}.mfv11-chart header{display:flex;justify-content:space-between;align-items:start;margin-bottom:5px}.mfv11-chart h3{font-size:8.5px;line-height:1.4;color:#40516a;margin:0}.mfv11-chart header span{font-size:6px;color:#758399;margin-left:7px}.mfv11-chart header .blue:before,.mfv11-chart header .red:before{content:"";display:inline-block;width:7px;height:2px;margin-right:3px;vertical-align:middle;background:#527fe9}.mfv11-chart header .red:before{background:#ed6670}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.line svg{width:100%;height:125px}.mfv11-chart svg .grid{stroke:#ebeff4}.mfv11-chart svg polyline{fill:none;stroke-width:1.65}.mfv11-chart svg polyline.a{stroke:#557fe8}.mfv11-chart svg polyline.b{stroke:#ed6872}.mfv11-chart svg circle.a{fill:#557fe8}.mfv11-chart svg circle.b{fill:#ed6872}.mfv11-chart svg text{fill:#8490a2;font-size:5.7px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody{display:grid;grid-template-columns:80px 1fr;gap:6px;align-items:center;height:124px}.mfv11-donutbody svg{width:78px;height:78px}.mfv11-donutbody .big{font-size:10px;font-weight:800;fill:#30415b}.mfv11-donutbody .small{font-size:5.4px;fill:#7a889c}.mfv11-donutbody ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}.mfv11-donutbody li{display:grid;grid-template-columns:6px 1fr auto;gap:4px;align-items:center;font-size:6px;color:#69788d}.mfv11-donutbody li i{width:5px;height:5px;border-radius:2px}.mfv11-donutbody li b{font-size:6px;color:#43536b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars>div{display:grid;gap:6px;margin-top:9px}.mfv11-chart.bars p{display:grid;grid-template-columns:85px 1fr 18px;gap:5px;align-items:center;margin:0}.mfv11-chart.bars p span{font-size:6px;color:#68778c}.mfv11-chart.bars p i{height:5px;background:#eef1f5;border-radius:5px;overflow:hidden}.mfv11-chart.bars p i b{display:block;height:100%;background:#557fe8}.mfv11-chart.bars p em{font-size:6px;color:#4f6077;text-align:right;font-style:normal}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings{overflow:visible;position:relative}.mfv11-find-tools{min-height:44px;display:flex;align-items:center;gap:9px;padding:6px 10px;border-bottom:1px solid #edf1f5}.mfv11-find-tools h3{font-size:9px;margin:0;white-space:nowrap;color:#30425c}.mfv11-chipbar{display:flex;gap:5px;flex:1;flex-wrap:wrap}.mfv11-chipbar button,.mfv11-table-actions button{height:26px;border:1px solid #e0e6ef;border-radius:5px;background:#fff;color:#627189;font-size:6.7px;padding:0 8px;cursor:pointer}.mfv11-chipbar button.active{background:#f5f2ff;color:#6545d9;border-color:#ddd4fa}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-table-actions{display:flex;align-items:center;gap:5px}.mfv11-table-actions>span{font-size:6.7px;color:#758297}.mfv11-columns-wrap{position:relative}.mfv11-column-menu{position:absolute;right:0;top:30px;z-index:20;width:180px;max-height:260px;overflow:auto;background:#fff;border:1px solid #dfe6ef;border-radius:7px;box-shadow:0 8px 24px rgba(30,50,85,.14);padding:7px;display:grid;gap:4px}.mfv11-column-menu label{font-size:7px;color:#52627a;display:flex;gap:6px;align-items:center}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-table-wrap{overflow:auto}.mfv11-findings table{width:100%;min-width:1420px;border-collapse:collapse}.mfv11-findings th{background:#fbfcfe;border-bottom:1px solid #e8edf3;color:#65748a;font-size:6.7px;font-weight:720;text-align:left;padding:7px 7px;white-space:nowrap}.mfv11-findings td{border-bottom:1px solid #eef2f6;color:#465871;font-size:7px;line-height:1.55;padding:7px;white-space:nowrap}.mfv11-findings td.amount{font-variant-numeric:tabular-nums;font-weight:620;color:#34465f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-pill{padding:3px 6px;border-radius:5px;background:#eef2f6;color:#65748b;font-size:6.3px}.mfv11-pill.good{background:#e8f8f0;color:#159565}.mfv11-pill.warn{background:#fff0e2;color:#e47c2b}.mfv11-pill.bad,.mfv11-pill.danger{background:#ffe9ea;color:#e85d68}.mfv11-confidence{display:flex;align-items:center;gap:5px}.mfv11-confidence i{width:50px;height:4px;background:#e7edf2;border-radius:4px;overflow:hidden}.mfv11-confidence i b{display:block;height:100%;background:#35b88a}.mfv11-confidence span{font-size:6.3px}.mfv11-risk{font-size:6.3px}.mfv11-risk.high{color:#e55b67}.mfv11-risk.medium{color:#d98d33}.mfv11-risk.low{color:#159a68}.mfv11-workflow{padding:3px 6px;border-radius:5px;background:#f2efff;color:#6747dc;font-size:6.2px}.mfv11-next{border:0;background:none;color:#6848df;font-size:6.5px;font-weight:650;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings footer{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#718096;font-size:6.7px}.mfv11-findings footer div{display:flex;gap:4px}.mfv11-findings footer button,.mfv11-findings footer b{height:24px;min-width:24px;border:1px solid #dfe6ee;border-radius:5px;background:#fff;color:#63738a;display:grid;place-items:center}.mfv11-findings footer b{background:#704ee4;color:#fff;border-color:#704ee4}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-overlay{position:fixed;inset:0;background:rgba(20,30,55,.2);z-index:9999;display:flex;justify-content:flex-end}.mfv11-overlay>section{width:min(430px,92vw);height:100%;background:#fff;box-shadow:-8px 0 30px rgba(20,35,65,.16);padding:26px;position:relative}.mfv11-overlay>section>button{position:absolute;right:16px;top:12px;border:0;background:none;font-size:22px}.mfv11-overlay h2{font-size:17px;margin:0 0 9px}.mfv11-overlay p{font-size:10.5px;line-height:1.9;color:#5e6e86}.mfv11-overlay>section>div{display:grid;gap:7px;margin:18px 0;border:1px solid #e4e9f1;border-radius:8px;padding:12px}.mfv11-overlay span{font-size:9px;color:#53637b}.mfv11-overlay small{font-size:8px;line-height:1.6;color:#7a879b}
#ledger-v127-root[data-screen="matching-fraud"][data-density="comfortable"] .mfv11-findings td{padding-top:9px;padding-bottom:9px}
#ledger-v127-root[data-screen="matching-fraud"][data-density="compact"] .mfv11-findings td{padding-top:5px;padding-bottom:5px}
@media(max-width:1500px){#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{grid-template-columns:215px minmax(590px,1fr) 235px}.mfv11-root .mfv10-filterbar{grid-template-columns:repeat(5,minmax(100px,1fr))!important}.mfv11-root .mfv10-pagehead{grid-template-columns:1fr auto!important}.mfv11-root .mfv10-headtools{grid-column:1/3;justify-content:flex-end}.mfv11-map-stage{height:410px}}
@media(max-width:1120px){#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{grid-template-columns:1fr}.mfv11-left,.mfv11-right{grid-template-columns:repeat(2,minmax(0,1fr))}.mfv11-map-stage{height:430px}.mfv11-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.mfv11-root .mfv10-filterbar{grid-template-columns:repeat(3,minmax(100px,1fr))!important}.mfv11-root .mfv10-pagehead{grid-template-columns:1fr!important}.mfv11-root .mfv10-headtools{grid-column:auto}}
@media(max-width:720px){#ledger-v127-root[data-screen="matching-fraud"] .mfv11-left,.mfv11-right,.mfv11-analytics{grid-template-columns:1fr}.mfv11-root .mfv10-filterbar{grid-template-columns:repeat(2,1fr)!important}.mfv11-map-stage{height:360px}.mfv11-legend{display:none}.mfv11-scopebar{overflow:auto}}


/* ============================================================================
   Matching & Fraud V12 — READABILITY / TYPOGRAPHY / SPACING acceptance pass.
   Purpose: correct the deployed V11 problem where 6–9px labels were not legible.
   Scope remains Matching & Fraud central workspace only.
   ============================================================================ */

/* Do not squeeze the donor composition to microscopic text. On narrower desktop
   workspaces, prefer horizontal scroll over illegible shrinking. */
#ledger-v127-root[data-screen="matching-fraud"]{
  overflow-x:auto;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root{
  min-width:1320px;
  gap:16px;
  font-size:13px;
  line-height:1.65;
  color:#182642;
  letter-spacing:0;
}

/* Header / title hierarchy */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-pagehead{
  min-height:82px;
  padding:13px 16px;
  gap:16px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title h1{
  font-size:23px;
  line-height:1.28;
  font-weight:800;
  letter-spacing:-.015em;
  color:#12203a;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title p{
  margin-top:5px;
  font-size:12px;
  line-height:1.75;
  color:#65758d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-roles button{
  height:38px;
  min-width:78px;
  font-size:11px;
  font-weight:650;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-roles button.active{
  font-weight:800;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools label{
  font-size:10px;
  line-height:1.55;
  color:#66768d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools select,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools>button{
  height:38px;
  font-size:10.5px;
  font-weight:600;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-density{
  grid-template-columns:repeat(3,33px);
  grid-template-rows:14px 34px;
}

/* Filters */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filterbar{
  gap:8px;
  padding:11px 12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter span{
  font-size:10px;
  line-height:1.5;
  color:#697a91;
  font-weight:600;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter select{
  height:39px;
  font-size:10.5px;
  line-height:1.5;
  color:#344760;
  font-weight:550;
  padding-left:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-clear,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-apply{
  height:39px;
  font-size:10.5px;
  font-weight:750;
  padding-left:12px;
  padding-right:12px;
}

/* Applied-filter summary bar */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar{
  min-height:42px;
  height:auto;
  gap:28px;
  padding:8px 14px;
  font-size:10.5px;
  line-height:1.55;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar b{
  font-size:12px;
  color:#273952;
}

/* Main three-column composition. Do not stretch the map to the height of the
   left rail; V11 stretching created the large empty white gap seen in production. */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{
  grid-template-columns:260px minmax(720px,1fr) 290px;
  gap:12px;
  align-items:start;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-left,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-right{
  gap:11px;
}

/* AI cards */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card{
  padding:15px 15px 14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-title{
  margin-bottom:9px;
  font-size:12.5px;
  line-height:1.5;
  font-weight:800;
  color:#5f42d6;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-title span{
  font-size:8px;
  line-height:1.4;
  padding:3px 6px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p{
  margin-bottom:11px;
  font-size:11.5px;
  line-height:1.85;
  color:#4e6079;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p b{
  color:#22344d;
  font-weight:750;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis{
  gap:7px;
  margin-top:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis div{
  padding:9px 8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis span{
  font-size:8.5px;
  line-height:1.45;
  color:#6f7e93;
  font-weight:600;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis strong{
  margin:5px 0 4px;
  font-size:17px;
  line-height:1.2;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis small{
  font-size:8.5px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card button{
  min-height:30px;
  font-size:9.5px;
  font-weight:650;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-inline-action span{
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chips{
  gap:6px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chips span{
  padding:5px 8px;
  font-size:8.5px;
  line-height:1.35;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card ul{
  padding-left:18px;
  margin-bottom:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card li{
  margin:4px 0;
  font-size:10.5px;
  line-height:1.75;
  color:#4f6078;
}

/* Relationship map */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map{
  align-self:start;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head{
  min-height:68px;
  height:auto;
  padding:10px 14px;
  gap:12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head h3{
  font-size:13px;
  line-height:1.45;
  font-weight:800;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head p{
  margin-top:4px;
  font-size:9px;
  line-height:1.6;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-legend{
  gap:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-legend span{
  font-size:8px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools label{
  height:33px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools input{
  width:100px;
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools button{
  height:33px;
  font-size:8.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-stage{
  height:470px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node{
  grid-template-columns:26px 1fr;
  gap:6px;
  padding:7px 8px;
  border-radius:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .ico{
  width:22px;
  height:22px;
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy b{
  font-size:9.2px;
  line-height:1.35;
  font-weight:780;
  color:#293b55;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy small{
  margin-top:1px;
  font-size:7.8px;
  line-height:1.45;
  color:#667790;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy em{
  margin-top:1px;
  font-size:8.2px;
  line-height:1.4;
  color:#3f526d;
  font-weight:700;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node>i{
  font-size:7px;
  font-weight:650;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-foot{
  min-height:42px;
  height:auto;
  padding:8px 14px;
  font-size:9.5px;
  line-height:1.5;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-foot span{
  font-size:9px;
}

/* Right actions / queues */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-actions,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queues{
  padding:14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head{
  margin-bottom:7px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head h3{
  font-size:12px;
  line-height:1.45;
  font-weight:800;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head h3 sup{
  font-size:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head button{
  font-size:9px;
  font-weight:650;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action{
  grid-template-columns:27px 1fr 58px;
  gap:9px;
  padding:10px 0;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action>span{
  width:22px;
  height:22px;
  font-size:8.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action b{
  font-size:9.5px;
  line-height:1.65;
  color:#31435d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action small{
  margin-top:3px;
  font-size:8px;
  line-height:1.45;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action em{
  font-size:8px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action em strong{
  margin-top:4px;
  font-size:8.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid{
  gap:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid button{
  padding:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid span{
  font-size:8.5px;
  line-height:1.5;
  color:#68788f;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid strong{
  margin:6px 0;
  font-size:18px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid small{
  font-size:8px;
  line-height:1.45;
}

/* Analytics row */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-analytics{
  gap:12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart{
  height:190px;
  padding:13px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart header{
  margin-bottom:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart h3{
  font-size:11px;
  line-height:1.45;
  font-weight:750;
  color:#354861;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart header span{
  margin-left:8px;
  font-size:8px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.line svg{
  height:145px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart svg text{
  font-size:7.5px;
  fill:#6f7d91;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody{
  grid-template-columns:92px 1fr;
  gap:9px;
  height:145px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody svg{
  width:90px;
  height:90px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody .big{
  font-size:13px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody .small{
  font-size:7px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody ul{
  gap:5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li{
  grid-template-columns:7px 1fr auto;
  gap:5px;
  font-size:8px;
  line-height:1.35;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li b{
  font-size:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars>div{
  gap:8px;
  margin-top:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p{
  grid-template-columns:105px 1fr 24px;
  gap:7px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p span{
  font-size:8px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p i{
  height:7px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p em{
  font-size:8px;
}

/* Findings register */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-find-tools{
  min-height:54px;
  padding:8px 12px;
  gap:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-find-tools h3{
  font-size:12px;
  line-height:1.45;
  font-weight:800;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chipbar{
  gap:6px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chipbar button,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-table-actions button{
  height:31px;
  padding:0 10px;
  font-size:9px;
  line-height:1.35;
  font-weight:600;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-table-actions>span{
  font-size:8.5px;
  line-height:1.4;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-column-menu{
  width:210px;
  padding:9px;
  gap:6px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-column-menu label{
  font-size:9px;
  line-height:1.45;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings table{
  min-width:1680px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings th{
  padding:9px 9px;
  font-size:9.5px;
  line-height:1.45;
  font-weight:750;
  color:#53647d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings td{
  padding:9px 9px;
  font-size:10px;
  line-height:1.6;
  color:#40536d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-pill,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-risk,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-workflow,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-confidence span,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-next{
  font-size:8.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-confidence i{
  width:58px;
  height:5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings footer{
  height:40px;
  padding:0 12px;
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings footer button,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings footer b{
  min-width:28px;
  height:28px;
  font-size:9px;
}

/* Comfortable density is intentionally roomier; compact still stays readable. */
#ledger-v127-root[data-screen="matching-fraud"][data-density="comfortable"] .mfv11-findings td{
  padding-top:11px;
  padding-bottom:11px;
}
#ledger-v127-root[data-screen="matching-fraud"][data-density="compact"] .mfv11-findings td{
  padding-top:8px;
  padding-bottom:8px;
}

/* On mid-size desktops, keep minimum readable typography and allow horizontal
   scroll rather than scaling fonts down. */
@media(max-width:1500px){
  #ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{
    grid-template-columns:245px minmax(690px,1fr) 270px;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title h1{font-size:21px}
  #ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p{font-size:11px}
  #ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart h3{font-size:10.5px}
}


/* Final V12 readability floor: do not allow micro-copy to fall below practical
   desktop legibility in the donor workspace. */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p{font-size:12px;line-height:1.95}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card li{font-size:11px;line-height:1.85}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy b{font-size:10px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy small{font-size:8.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy em{font-size:9px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node>i{font-size:8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-legend span{font-size:8.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart header span{font-size:8.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart svg text{font-size:8px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li b{font-size:8.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p span,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p em{font-size:8.5px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings th{font-size:10px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings td{font-size:10.5px;line-height:1.7}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-pill,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-risk,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-workflow,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-confidence span,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-next{font-size:9px}


/* ============================================================================
   V13: practical readability floor + explicit drill-down UX.
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root{
  min-width:1500px;
  font-size:14px;
  line-height:1.7;
  gap:18px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title h1{
  font-size:28px;
  line-height:1.25;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-title p{
  font-size:14px;
  line-height:1.75;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-roles button{
  height:44px;
  min-width:88px;
  font-size:13px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools label{
  font-size:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools select,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-headtools>button{
  height:42px;
  font-size:12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter span{
  font-size:12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-filter select{
  height:44px;
  font-size:12.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-clear,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-root .mfv10-apply{
  height:44px;
  font-size:12.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-help{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:46px;
  padding:9px 14px;
  background:#f8f6ff;
  border:1px solid #e4ddfb;
  border-radius:9px;
  color:#58677d;
  font-size:11.5px;
  line-height:1.55;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-help b{
  color:#6042d6;
  font-size:12px;
  white-space:nowrap;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar{
  min-height:48px;
  font-size:12px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-scopebar b{
  font-size:14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{
  grid-template-columns:300px minmax(800px,1fr) 330px;
  gap:14px;
  align-items:start!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card{
  padding:18px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-title{
  font-size:15px;
  margin-bottom:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card p{
  font-size:13.5px;
  line-height:1.9;
  color:#435670;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card li{
  font-size:12.5px;
  line-height:1.85;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis span{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis strong{
  font-size:20px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-kpis small{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-ai-card button{
  min-height:34px;
  font-size:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chips span{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head{
  min-height:76px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head h3{
  font-size:15px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-head p{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-legend span{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools input{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-tools button{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-stage{
  height:510px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node{
  grid-template-columns:29px 1fr;
  padding:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .ico{
  width:25px;
  height:25px;
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy b{
  font-size:11.5px;
  line-height:1.35;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy small{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node .copy em{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-node>i{
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-foot{
  min-height:48px;
  font-size:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-foot:after{
  content:"Click any node to inspect related evidence";
  margin-left:14px;
  color:#65758c;
  font-weight:600;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head h3{
  font-size:14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-section-head button{
  font-size:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action{
  grid-template-columns:30px 1fr 64px;
  padding:12px 0;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action b{
  font-size:11.5px;
  line-height:1.65;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action small{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action em,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-action em strong{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid span{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid strong{
  font-size:22px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-queue-grid small{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart{
  height:220px;
  padding:15px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart h3{
  font-size:13px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart header span{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.line svg{
  height:170px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart svg text{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody{
  grid-template-columns:105px 1fr;
  height:170px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody svg{
  width:100px;
  height:100px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody .big{
  font-size:15px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody .small{
  font-size:9px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-donutbody li b,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p span,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.bars p em{
  font-size:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-find-tools{
  min-height:62px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-find-tools h3{
  font-size:14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chipbar button,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-table-actions button{
  height:34px;
  font-size:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings table{
  min-width:1900px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings th{
  font-size:11.5px;
  padding:10px 11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings td{
  font-size:12px;
  line-height:1.65;
  padding:11px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-pill,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-risk,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-workflow,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-confidence span,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-next{
  font-size:10.5px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings footer{
  height:46px;
  font-size:10.5px;
}

/* Context drawer replaces the unexplained blank region with an explicit drill-down. */
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer{
  position:fixed;
  top:78px;
  right:18px;
  z-index:10020;
  width:min(520px,calc(100vw - 40px));
  max-height:calc(100vh - 100px);
  overflow:auto;
  background:#fff;
  border:1px solid #dfe6f0;
  border-radius:12px;
  box-shadow:0 18px 50px rgba(27,43,74,.22);
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border-bottom:1px solid #edf1f5;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-head small{
  display:block;
  font-size:10px;
  color:#7251df;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.04em;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-head h2{
  margin:4px 0;
  font-size:20px;
  line-height:1.35;
  color:#1f314d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-head p{
  margin:0;
  font-size:11.5px;
  line-height:1.6;
  color:#65758d;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-head button{
  width:34px;height:34px;border:0;background:#f4f6f9;border-radius:8px;font-size:20px;color:#50617a;cursor:pointer;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:14px 18px;
  border-bottom:1px solid #edf1f5;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-kpis div{
  padding:10px;
  background:#f8faff;
  border:1px solid #e7edf5;
  border-radius:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-kpis span{
  display:block;
  font-size:9.5px;
  color:#718097;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-kpis strong{
  display:block;
  margin-top:4px;
  font-size:16px;
  color:#283a55;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body{
  padding:18px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body h3{
  margin:0 0 10px;
  font-size:13px;
  color:#34465f;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body table{
  width:100%;
  border-collapse:collapse;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body th,
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body td{
  padding:9px 7px;
  border-bottom:1px solid #edf1f5;
  text-align:left;
  font-size:10.5px;
  color:#4b5d76;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body th{
  font-size:10px;
  color:#68788f;
  background:#fafbfd;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-body td button{
  border:0;background:none;color:#6848df;font-size:10.5px;font-weight:650;cursor:pointer;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-actions{
  display:flex;
  gap:8px;
  margin-top:14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer-actions button{
  min-height:36px;
  padding:0 12px;
  border:1px solid #ddd5fb;
  border-radius:7px;
  background:#faf8ff;
  color:#6445d9;
  font-size:10.5px;
  font-weight:700;
  cursor:pointer;
}


/* ============================================================================
   Matching & Fraud V14 cluster fill
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-clusters{
  border-top:1px solid #ebeef5;
  background:#fbf9ff;
  padding:12px 14px 14px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title{
  display:flex;align-items:center;gap:9px;margin-bottom:10px;color:#5f43d6;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title>span{font-size:15px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title>div{display:grid;gap:2px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title b{font-size:13px;line-height:1.4}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title small{font-size:10px;color:#738096}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-title em{margin-left:auto;font-size:10.5px;font-style:normal;color:#66758b}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button{
  min-height:72px;border:1px solid #eadfe8;border-radius:9px;background:#fff;
  display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:start;padding:10px;text-align:left;cursor:pointer;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button>span{
  width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:#e15d68;font-size:9px;font-weight:800;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button div{min-width:0}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button b{display:block;font-size:10.5px;line-height:1.4;color:#31435d}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button small{display:block;font-size:9px;line-height:1.45;color:#718096;margin-top:2px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button strong{grid-column:2;font-size:11px;color:#42536c}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button i{position:absolute;visibility:hidden}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-empty{grid-column:1/-1;padding:18px;text-align:center;color:#718096;font-size:11px}

/* ============================================================================
   V14 donor pages — Audit Trail / Auto Category Rules / Chart of Accounts
   Readability first. Do not shrink into micro-fonts.
   ============================================================================ */
#ledger-v127-root[data-screen="audit"],
#ledger-v127-root[data-screen="auto-category-rules"],
#ledger-v127-root[data-screen="coa-governance"]{
  overflow-x:auto;
}
.triv14-root{
  min-width:1500px;
  display:grid;
  gap:14px;
  padding:2px 0 14px;
  color:#182642;
  background:#fbfcff;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:13px;
  line-height:1.7;
  letter-spacing:0;
}
.triv14-root button,.triv14-root select,.triv14-root input{font:inherit}
.triv14-root button{cursor:pointer}
.triv14-head{
  min-height:96px;
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:10px;
  padding:12px 15px;
  display:grid;
  grid-template-columns:minmax(360px,1fr) 330px auto;
  grid-template-rows:auto auto;
  gap:10px 16px;
  align-items:center;
}
.triv14-head>div:first-child h1{
  margin:0;
  font-size:26px;
  line-height:1.25;
  color:#14223c;
  font-weight:800;
  letter-spacing:-.015em;
}
.triv14-head>div:first-child p{
  margin:4px 0 0;
  font-size:12.5px;
  line-height:1.65;
  color:#697990;
}
.triv14-search{
  height:42px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 11px;
  border:1px solid #dfe6ef;
  border-radius:7px;
  color:#78869a;
  background:#fff;
}
.triv14-search input{
  width:100%;
  border:0;
  outline:0;
  font-size:12px;
  color:#40526b;
}
.triv14-head-controls{
  display:flex;
  gap:8px;
  align-items:end;
}
.triv14-head-controls label{
  display:grid;
  gap:3px;
  color:#758399;
  font-size:9px;
}
.triv14-head-controls select{
  height:39px;
  min-width:125px;
  border:1px solid #dfe6ef;
  border-radius:6px;
  background:#fff;
  color:#42546d;
  font-size:10.5px;
  padding:0 8px;
}
.triv14-live{
  min-width:92px;
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:5px;
  color:#16a16b;
  font-size:10px;
  align-items:center;
}
.triv14-live small{
  grid-column:2;
  color:#738197;
  font-size:8px;
}
.triv14-roles{
  grid-column:1/-1;
  display:flex;
  gap:2px;
}
.triv14-roles button{
  min-width:88px;
  height:34px;
  border:0;
  border-radius:5px;
  background:#f6f8fb;
  color:#5d6e86;
  font-size:10.5px;
  font-weight:650;
}
.triv14-roles button.active{
  background:#6550db;
  color:#fff;
  font-weight:800;
}
.triv14-filters{
  display:grid;
  grid-template-columns:repeat(9,minmax(118px,1fr)) auto auto;
  gap:8px;
  align-items:end;
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:10px;
  padding:10px 11px;
}
.audit-root .triv14-filters{grid-template-columns:repeat(7,minmax(130px,1fr)) auto auto}
.coa-root .triv14-filters{grid-template-columns:repeat(8,minmax(128px,1fr)) auto auto}
.triv14-filters label{
  min-width:0;
  display:grid;
  gap:4px;
}
.triv14-filters label>span{
  font-size:10px;
  line-height:1.45;
  color:#65768e;
  font-weight:650;
}
.triv14-filters select{
  width:100%;
  height:40px;
  border:1px solid #dfe6ef;
  border-radius:6px;
  background:#fff;
  color:#35475f;
  padding:0 9px;
  font-size:10.5px;
}
.triv14-filters .clear,.triv14-filters .apply{
  height:40px;
  padding:0 12px;
  border-radius:6px;
  font-size:10.5px;
  font-weight:750;
}
.triv14-filters .clear{border:0;background:#fff;color:#6850dc}
.triv14-filters .apply{border:1px solid #6b50df;background:#6b50df;color:#fff}

.triv14-main{
  display:grid;
  grid-template-columns:285px minmax(820px,1fr) 300px;
  gap:12px;
  align-items:start;
}
.triv14-left,.triv14-right{
  display:grid;
  gap:10px;
  align-content:start;
}
.triv14-left>article,.triv14-actions,.triv14-role-summary,.triv14-status-cards>article,
.triv14-canvas,.triv14-story,.triv14-chart,.triv14-table{
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:10px;
  box-shadow:0 1px 2px rgba(30,45,75,.025);
}
.triv14-left>article{padding:15px}
.triv14-left h3{
  margin:0 0 9px;
  color:#5f45d4;
  font-size:13px;
  line-height:1.45;
}
.triv14-left p,.triv14-left li{
  margin:0;
  color:#4c5f78;
  font-size:11.5px;
  line-height:1.85;
}
.triv14-left ul{margin:0;padding-left:18px;display:grid;gap:4px}
.triv14-left article>button{
  min-height:31px;
  margin-top:9px;
  border:1px solid #ddd6fa;
  border-radius:6px;
  background:#faf8ff;
  color:#6549d7;
  font-size:9.5px;
  font-weight:650;
  padding:0 8px;
}
.triv14-kpi4{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.triv14-kpi4 div{
  padding:10px;
  border:1px solid #e8edf4;
  border-radius:8px;
}
.triv14-kpi4 strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  color:#273950;
}
.triv14-kpi4 span{
  display:block;
  margin-top:4px;
  color:#758399;
  font-size:9px;
  line-height:1.45;
}
.triv14-confidence{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.triv14-confidence>div{
  min-height:88px;
  border:1px solid #e8edf4;
  border-radius:8px;
  padding:10px;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:4px;
  text-align:center;
}
.triv14-confidence strong{font-size:21px;color:#30415a}
.triv14-confidence b{color:#db7a2f;font-size:11px}
.triv14-confidence span{font-size:9px;color:#718096}
.triv14-mini3{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}
.triv14-mini3 span{padding:7px;border:1px solid #e8edf4;border-radius:7px;font-size:8.5px;color:#718096}
.triv14-mini3 b{display:block;color:#30415a;font-size:14px}

.triv14-canvas{
  overflow:hidden;
  align-self:start;
}
.triv14-canvas-head{
  min-height:61px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 12px;
  border-bottom:1px solid #edf1f5;
}
.triv14-canvas-head h3{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#32445d;
}
.triv14-canvas-head>div:last-child{
  display:flex;
  gap:5px;
}
.triv14-canvas-head button,.triv14-simbar button{
  height:30px;
  border:1px solid #dfe6ef;
  border-radius:5px;
  background:#fff;
  color:#5c6d85;
  padding:0 8px;
  font-size:8.5px;
}
.triv14-canvas-head .engine{
  display:inline-block;
  margin-top:4px;
  color:#199c69;
  font-size:8px;
}
.triv14-simbar{
  min-height:40px;
  display:flex;
  gap:6px;
  justify-content:center;
  align-items:center;
  padding:5px 10px;
  background:#fbfcff;
  border-bottom:1px solid #edf1f5;
}
.triv14-simbar button:first-child{background:#f2f7ff;color:#4e75d8}
.triv14-simbar button:last-child{background:#eefaf5;color:#198e63}

.triv14-canvas-stage,.triv14-coa-stage{
  height:470px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(#fff,#fff),radial-gradient(circle at 50% 50%,#f8faff,#fff);
}
.triv14-canvas-stage>svg,.triv14-coa-stage>svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
}
.triv14-node-col{
  position:absolute;
  top:0;
  left:0;
}
.triv14-node-col h4,.triv14-rules-sources h4,.triv14-coa-current h4,.triv14-coa-target h4{
  margin:10px 0 0 10px;
  color:#53657e;
  font-size:9px;
  letter-spacing:.02em;
}
.triv14-node-col button,.triv14-rules-sources button,.triv14-coa-current button{
  position:absolute;
  left:14px;
  width:142px;
  min-height:58px;
  border:1px solid #cfddf5;
  border-radius:8px;
  background:#f7faff;
  text-align:left;
  padding:8px 9px;
  color:#32445d;
}
.triv14-node-col button b,.triv14-rules-sources button b,.triv14-coa-current button b{
  display:block;
  font-size:10px;
  line-height:1.35;
}
.triv14-node-col button small,.triv14-rules-sources button small,.triv14-coa-current button small{
  display:block;
  margin-top:2px;
  color:#6f7f96;
  font-size:8.5px;
}
.triv14-node-col button em{
  display:block;
  margin-top:2px;
  color:#41536d;
  font-size:8.5px;
  font-style:normal;
  font-weight:700;
}
.triv14-node-col.findings{
  left:345px;
  width:480px;
}
.triv14-node-col.findings button{
  left:auto;
  width:146px;
  min-height:68px;
  background:#fff8f8;
  border-color:#f0d2d5;
}
.triv14-impact{
  position:absolute;
  right:14px;
  top:115px;
  width:185px;
  min-height:190px;
  border:1px solid #e2e8f1;
  border-radius:9px;
  background:#fff;
  padding:11px;
}
.triv14-impact h4{margin:0 0 8px;font-size:10px;color:#34465f}
.triv14-impact p{display:flex;justify-content:space-between;margin:7px 0;font-size:9px;color:#6b7b90}
.triv14-impact p b{color:#34465f}
.triv14-impact button{width:100%;height:31px;margin-top:10px;border:1px solid #d8dff0;border-radius:6px;background:#fafbff;color:#5d6f87;font-size:9px}

.triv14-rules-sources{position:absolute;left:0;top:0;width:160px}
.triv14-rule-engine{position:absolute;left:245px;top:45px;width:430px;height:340px}
.triv14-rule-engine article{
  position:absolute;
  width:155px;
  min-height:70px;
  border:1px solid #d8e1f1;
  border-radius:8px;
  background:#fff;
  padding:9px;
}
.triv14-rule-engine article:nth-child(1){left:0;top:0}.triv14-rule-engine article:nth-child(2){left:0;top:110px}.triv14-rule-engine article:nth-child(3){left:0;top:220px}
.triv14-rule-engine article.engine{left:235px;top:85px;width:175px;min-height:112px;background:#faf8ff;border-color:#ded5fb;text-align:center}
.triv14-rule-engine h4,.triv14-gates h4,.triv14-outcomes h4{margin:0;font-size:9.5px;color:#34465f}
.triv14-rule-engine b,.triv14-rule-engine strong,.triv14-outcomes strong{display:block;margin-top:6px;font-size:18px;color:#30415a}
.triv14-rule-engine small,.triv14-gates small{display:block;margin-top:3px;font-size:8px;color:#728096}
.triv14-gates{position:absolute;left:690px;top:60px;width:145px}
.triv14-gates article{min-height:78px;border:1px solid #ddd7f5;border-radius:8px;background:#fbfaff;padding:9px;margin-bottom:18px}
.triv14-outcomes{position:absolute;right:15px;top:35px;width:150px;display:grid;gap:14px}
.triv14-outcomes article{min-height:62px;border:1px solid #f0d3d6;border-radius:8px;background:#fff7f7;padding:9px}
.triv14-outcomes article.good{border-color:#ccebdd;background:#f3fbf7}
.triv14-canvas-lower{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;border-top:1px solid #edf1f5;background:#fbfcff}
.triv14-canvas-lower article{padding:9px;border:1px solid #e4e9f1;border-radius:7px;background:#fff}
.triv14-canvas-lower b{font-size:9px;color:#40526b}.triv14-canvas-lower span{display:block;margin-top:4px;font-size:9px;color:#6951d6}

.triv14-coa-current{position:absolute;left:0;top:0;width:165px}
.triv14-coa-current button:nth-of-type(1){border-color:#d0ddf4}.triv14-coa-current button:nth-of-type(2){border-color:#ddd5f4}.triv14-coa-current button:nth-of-type(3){border-color:#cfece0}.triv14-coa-current button:nth-of-type(4){border-color:#caebe7}.triv14-coa-current button:nth-of-type(5){border-color:#f1dcc8}
.triv14-coa-accounts{position:absolute;left:215px;top:0;width:205px}
.triv14-coa-accounts article,.triv14-coa-target article{
  position:absolute;width:180px;min-height:42px;border:1px solid #d8e2f1;border-radius:6px;background:#fff;padding:7px 9px;
}
.triv14-coa-accounts b,.triv14-coa-target b{display:block;font-size:9px;color:#34465f}
.triv14-coa-accounts small,.triv14-coa-target small{font-size:7.5px;color:#718096}
.triv14-coa-target{position:absolute;left:590px;top:0;width:235px}
.triv14-coa-target h4{margin-left:0}
.triv14-coa-target article{left:0;width:205px;background:#f9fbff}
.triv14-orphan{position:absolute;left:445px;top:175px;width:120px;min-height:110px;border:1px solid #f1d9c3;border-radius:8px;background:#fff8f0;padding:10px;text-align:center}
.triv14-orphan h4{margin:0;font-size:8px;color:#c87930}.triv14-orphan b{display:block;font-size:24px;color:#cc7430;margin:8px 0}.triv14-orphan small{font-size:7.5px;color:#7a8798}
.triv14-policy-gates{position:absolute;right:12px;top:22px;width:170px;border:1px solid #e3e8f1;border-radius:8px;background:#fff;padding:10px}
.triv14-policy-gates h4{margin:0 0 9px;font-size:9px;color:#40516a}
.triv14-policy-gates p{display:grid;grid-template-columns:1fr 68px 28px;gap:4px;align-items:center;margin:8px 0}
.triv14-policy-gates span,.triv14-policy-gates em{font-size:7.5px;color:#69798e;font-style:normal}.triv14-policy-gates i{height:5px;background:#edf1f5;border-radius:5px;overflow:hidden}.triv14-policy-gates i b{display:block;height:100%;background:#507fe8}
.triv14-canvas-legend{min-height:35px;padding:8px 12px;border-top:1px solid #edf1f5;color:#6d7d92;font-size:8.5px;word-spacing:10px}

.triv14-actions,.triv14-role-summary{padding:13px}
.triv14-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}
.triv14-section-head h3,.triv14-role-summary h3{
  margin:0;
  color:#5e45d4;
  font-size:12px;
  line-height:1.45;
}
.triv14-section-head h3 sup{font-size:8px;background:#f0edff;border-radius:8px;padding:1px 4px}
.triv14-section-head button{border:0;background:none;color:#6a4fd9;font-size:9px}
.triv14-actions>button{
  width:100%;
  min-height:53px;
  display:grid;
  grid-template-columns:24px 1fr 40px;
  gap:8px;
  align-items:center;
  border:0;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  text-align:left;
  padding:8px 0;
}
.triv14-actions>button>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}
.triv14-actions>button>b{font-size:9.5px;line-height:1.55;color:#374960}
.triv14-actions>button>em{font-style:normal;font-size:8px;color:#df6670}
.triv14-role-summary h3 small{color:#7a879b;font-size:8px}
.triv14-role-summary>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.triv14-role-summary article{padding:9px;border:1px solid #e7ecf3;border-radius:7px}
.triv14-role-summary span{display:block;font-size:8px;color:#718096}.triv14-role-summary strong{display:block;margin:4px 0;font-size:16px;color:#2f4058}.triv14-role-summary article small{font-size:7.5px;color:#7c899b}
.triv14-status-cards{display:grid;gap:8px}
.triv14-status-cards article{padding:11px}
.triv14-status-cards h3{margin:0 0 6px;font-size:10px;color:#56677f}.triv14-status-cards .error h3{color:#de626d}
.triv14-status-cards p{font-size:8.5px;line-height:1.65;color:#6b7b90;margin:0}
.triv14-status-cards button{margin-top:7px;border:0;background:none;color:#674bd9;font-size:8px}

.triv14-story{padding:10px 12px}
.triv14-story h3{margin:0 0 8px;font-size:11px;color:#34465f}
.triv14-story>div{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}
.rules-root .triv14-story>div,.coa-root .triv14-story>div{grid-template-columns:repeat(7,1fr)}
.triv14-story button{
  min-height:62px;
  display:grid;
  grid-template-columns:23px 1fr 14px;
  gap:6px;
  align-items:start;
  border:1px solid #e7ebf2;
  border-radius:7px;
  background:#fff;
  padding:8px;
  text-align:left;
}
.triv14-story button>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6348d6;font-size:8px;font-weight:800}
.triv14-story button b{display:block;font-size:8.5px;color:#34465f}.triv14-story button small{display:block;margin-top:2px;font-size:7.5px;color:#718096}.triv14-story button em{font-style:normal;color:#6b50da}

.triv14-analytics{
  display:grid;
  grid-template-columns:1.25fr .8fr .9fr 1.15fr;
  gap:10px;
}
.triv14-analytics.five{grid-template-columns:1.15fr .85fr .95fr .85fr 1fr}
.triv14-chart{height:190px;padding:12px;overflow:hidden}
.triv14-chart h3{margin:0 0 8px;font-size:10.5px;line-height:1.45;color:#40516a}
.triv14-chart.line svg{width:100%;height:150px}.triv14-chart.line line{stroke:#edf1f5}.triv14-chart.line polyline{fill:none;stroke-width:2}.triv14-chart.line polyline.a{stroke:#4f7fe8}.triv14-chart.line polyline.b{stroke:#ed6670;stroke-dasharray:4 3}.triv14-chart.line text{font-size:7px;fill:#718096}
.triv14-chart.donut>div{height:148px;display:grid;grid-template-columns:95px 1fr;align-items:center;gap:8px}.triv14-chart.donut svg{width:90px;height:90px}.triv14-chart.donut svg text:first-of-type{font-size:13px;font-weight:800;fill:#30415a}.triv14-chart.donut svg text:last-of-type{font-size:7px;fill:#738197}.triv14-chart.donut ul{list-style:none;padding:0;margin:0;display:grid;gap:5px}.triv14-chart.donut li{display:grid;grid-template-columns:7px 1fr auto;gap:5px;align-items:center;font-size:8px;color:#65758b}.triv14-chart.donut li i{width:6px;height:6px;border-radius:2px}.triv14-chart.donut li b{font-size:8px;color:#41536b}
.triv14-chart.bars>div{display:grid;gap:8px;margin-top:8px}.triv14-chart.bars p{display:grid;grid-template-columns:110px 1fr 24px;gap:6px;align-items:center;margin:0}.triv14-chart.bars p span{font-size:8px;color:#65758b}.triv14-chart.bars p i{height:7px;background:#edf1f5;border-radius:7px;overflow:hidden}.triv14-chart.bars p i b{display:block;height:100%;background:#4e7fe8}.triv14-chart.bars p em{font-style:normal;font-size:8px;color:#53647b;text-align:right}
.triv14-chart.recommendations ul{margin:5px 0 0;padding-left:17px;display:grid;gap:5px}.triv14-chart.recommendations li{font-size:8.5px;line-height:1.5;color:#52647c}
.triv14-chart.simulation>b{display:block;margin:9px 0;font-size:11px;color:#6348d5}.triv14-chart.simulation>div{display:flex;justify-content:space-between;margin:7px 0;font-size:8.5px;color:#65758b}.triv14-chart.simulation strong{color:#2e4059}.triv14-chart.simulation button{margin-top:7px;border:0;background:none;color:#6549d7;font-size:8.5px;font-weight:700}

.triv14-table{overflow:visible}
.triv14-table-tools{
  min-height:45px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:7px 11px;
  border-bottom:1px solid #edf1f5;
}
.triv14-table-tools h3{margin:0;font-size:11px;color:#33455e}.triv14-table-tools>div{display:flex;gap:6px;align-items:center}.triv14-table-tools button{height:28px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5c6d84;font-size:8.5px;padding:0 8px}.triv14-table-tools span{font-size:8px;color:#718096}
.triv14-table-scroll{overflow:auto}
.triv14-table table{width:100%;min-width:1500px;border-collapse:collapse}
.coa-root .triv14-table table{min-width:1650px}
.triv14-table th{background:#fbfcfe;border-bottom:1px solid #e7ecf3;color:#56677f;font-size:8.5px;font-weight:750;text-align:left;padding:8px;white-space:nowrap}
.triv14-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:9px;line-height:1.55;padding:8px;white-space:nowrap}
.triv14-table td.money{font-variant-numeric:tabular-nums;font-weight:650}
.triv14-progress{display:flex;align-items:center;gap:5px}.triv14-progress i{width:54px;height:5px;background:#e8edf2;border-radius:5px;overflow:hidden}.triv14-progress i b{display:block;height:100%;background:#36ba90}.triv14-progress span{font-size:8px}
.triv14-pill{padding:3px 6px;border-radius:5px;background:#f0f3f7;color:#5d6e85;font-size:7.5px}.triv14-pill.high,.triv14-pill.rejected,.triv14-pill.exception,.triv14-pill.duplicate{background:#ffe9ea;color:#df5c68}.triv14-pill.medium,.triv14-pill.pending,.triv14-pill.pending-approval,.triv14-pill.under-review{background:#fff1e2;color:#d98530}.triv14-pill.low,.triv14-pill.active,.triv14-pill.approved,.triv14-pill.auto-post,.triv14-pill.resolved{background:#e8f8f0;color:#169565}
.triv14-table td>button{border:0;background:none;color:#6549d8;font-size:8px;font-weight:650}
.triv14-table footer{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#718096;font-size:8px}.triv14-table footer div{display:flex;gap:4px}.triv14-table footer button,.triv14-table footer b{min-width:24px;height:24px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5e6f86;display:grid;place-items:center}.triv14-table footer b{background:#674bdc;color:#fff;border-color:#674bdc}

.triv14-overlay{
  position:fixed;inset:0;z-index:10030;background:rgba(22,35,60,.18);display:flex;justify-content:flex-end;
}
.triv14-overlay>section{
  width:min(480px,92vw);height:100%;background:#fff;box-shadow:-10px 0 35px rgba(20,35,65,.18);padding:24px;position:relative;
}
.triv14-overlay>section>button{position:absolute;right:15px;top:12px;width:34px;height:34px;border:0;border-radius:7px;background:#f3f5f8;font-size:20px;color:#53647b}
.triv14-overlay small{font-size:9px;color:#6549d8;text-transform:uppercase;font-weight:750}.triv14-overlay h2{font-size:20px;line-height:1.35;color:#24364f;margin:6px 0 14px}.triv14-overlay p{font-size:11px;line-height:1.8;color:#5d6e85}.triv14-overlay-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}.triv14-overlay-kpis span{padding:10px;border:1px solid #e7ecf3;border-radius:7px;font-size:9px;color:#718096}.triv14-overlay-kpis b{display:block;font-size:15px;color:#30415a;margin-bottom:3px}

@media(max-width:1500px){
  .triv14-root{min-width:1450px}
  .triv14-main{grid-template-columns:270px minmax(780px,1fr) 285px}
}


/* V14 final readability floor based on Ledger Feed / Matching feedback.
   Prefer horizontal workspace overflow to unreadably small typography. */
.triv14-root{min-width:1600px;font-size:14px;line-height:1.72;gap:16px}
.triv14-head{min-height:108px;padding:14px 17px}
.triv14-head>div:first-child h1{font-size:28px;line-height:1.25}
.triv14-head>div:first-child p{font-size:13.5px;line-height:1.75}
.triv14-search{height:45px}.triv14-search input{font-size:12.5px}
.triv14-head-controls label{font-size:10.5px}.triv14-head-controls select{height:42px;font-size:11.5px}
.triv14-live{font-size:11px}.triv14-live small{font-size:9.5px}
.triv14-roles button{height:39px;min-width:96px;font-size:12px}
.triv14-filters{gap:9px;padding:12px}
.triv14-filters label>span{font-size:11.5px;line-height:1.5}
.triv14-filters select{height:44px;font-size:12px}
.triv14-filters .clear,.triv14-filters .apply{height:44px;font-size:12px}
.triv14-main{grid-template-columns:305px minmax(860px,1fr) 320px;gap:14px}
.triv14-left>article{padding:17px}.triv14-left h3{font-size:14.5px}.triv14-left p,.triv14-left li{font-size:13px;line-height:1.9}
.triv14-left article>button{min-height:35px;font-size:10.5px}
.triv14-kpi4 strong{font-size:21px}.triv14-kpi4 span{font-size:10.5px}
.triv14-confidence strong{font-size:24px}.triv14-confidence span{font-size:10.5px}.triv14-confidence b{font-size:12px}
.triv14-mini3 span{font-size:10px}.triv14-mini3 b{font-size:16px}
.triv14-canvas-head{min-height:70px;padding:11px 14px}.triv14-canvas-head h3{font-size:14.5px}.triv14-canvas-head .engine{font-size:9.5px}
.triv14-canvas-head button,.triv14-simbar button{height:34px;font-size:10px}.triv14-simbar{min-height:46px}
.triv14-canvas-stage,.triv14-coa-stage{height:505px}
.triv14-node-col h4,.triv14-rules-sources h4,.triv14-coa-current h4,.triv14-coa-target h4{font-size:10.5px}
.triv14-node-col button,.triv14-rules-sources button,.triv14-coa-current button{width:155px;min-height:65px;padding:9px 10px}
.triv14-node-col button b,.triv14-rules-sources button b,.triv14-coa-current button b{font-size:11.5px}
.triv14-node-col button small,.triv14-rules-sources button small,.triv14-coa-current button small{font-size:10px}
.triv14-node-col button em{font-size:10px}
.triv14-node-col.findings button{width:156px;min-height:74px}
.triv14-impact{width:200px;min-height:205px;padding:13px}.triv14-impact h4{font-size:11.5px}.triv14-impact p{font-size:10.5px}.triv14-impact button{height:34px;font-size:10px}
.triv14-rule-engine article{width:168px;min-height:78px}.triv14-rule-engine article.engine{width:185px;min-height:122px}.triv14-rule-engine h4,.triv14-gates h4,.triv14-outcomes h4{font-size:10.5px}.triv14-rule-engine small,.triv14-gates small{font-size:9px}
.triv14-gates{width:155px}.triv14-outcomes{width:165px}.triv14-canvas-lower b{font-size:10.5px}.triv14-canvas-lower span{font-size:10px}
.triv14-coa-accounts article,.triv14-coa-target article{min-height:48px;padding:8px 10px}.triv14-coa-accounts b,.triv14-coa-target b{font-size:10.5px}.triv14-coa-accounts small,.triv14-coa-target small{font-size:9px}
.triv14-orphan h4{font-size:9.5px}.triv14-orphan small{font-size:9px}.triv14-policy-gates{width:190px}.triv14-policy-gates h4{font-size:10.5px}.triv14-policy-gates span,.triv14-policy-gates em{font-size:9px}.triv14-canvas-legend{font-size:10px}
.triv14-actions,.triv14-role-summary{padding:15px}.triv14-section-head h3,.triv14-role-summary h3{font-size:13.5px}.triv14-section-head button{font-size:10.5px}
.triv14-actions>button{min-height:61px;grid-template-columns:27px 1fr 46px}.triv14-actions>button>b{font-size:11px;line-height:1.65}.triv14-actions>button>em{font-size:9.5px}
.triv14-role-summary span{font-size:9.5px}.triv14-role-summary strong{font-size:19px}.triv14-role-summary article small{font-size:9px}
.triv14-status-cards h3{font-size:11.5px}.triv14-status-cards p{font-size:10.5px}.triv14-status-cards button{font-size:9.5px}
.triv14-story{padding:12px 14px}.triv14-story h3{font-size:13px}.triv14-story button{min-height:72px;padding:9px}.triv14-story button b{font-size:10.5px}.triv14-story button small{font-size:9.5px}
.triv14-chart{height:220px;padding:14px}.triv14-chart h3{font-size:12px}.triv14-chart.line svg{height:176px}.triv14-chart.line text{font-size:9px}
.triv14-chart.donut>div{height:176px;grid-template-columns:108px 1fr}.triv14-chart.donut svg{width:102px;height:102px}.triv14-chart.donut svg text:first-of-type{font-size:15px}.triv14-chart.donut svg text:last-of-type{font-size:9px}.triv14-chart.donut li,.triv14-chart.donut li b{font-size:10px}
.triv14-chart.bars>div{gap:10px}.triv14-chart.bars p{grid-template-columns:130px 1fr 28px}.triv14-chart.bars p span,.triv14-chart.bars p em{font-size:10px}
.triv14-chart.recommendations li{font-size:10.5px;line-height:1.65}.triv14-chart.simulation>b{font-size:13px}.triv14-chart.simulation>div{font-size:10.5px}.triv14-chart.simulation button{font-size:10px}
.triv14-table-tools{min-height:54px;padding:9px 13px}.triv14-table-tools h3{font-size:13px}.triv14-table-tools button{height:32px;font-size:10px}.triv14-table-tools span{font-size:9.5px}
.triv14-table table{min-width:1750px}.coa-root .triv14-table table{min-width:1850px}
.triv14-table th{font-size:11px;padding:10px 9px}.triv14-table td{font-size:11.5px;line-height:1.65;padding:10px 9px}.triv14-progress span{font-size:10px}.triv14-pill{font-size:9.5px}.triv14-table td>button{font-size:10px}
.triv14-table footer{height:42px;font-size:10px}.triv14-table footer button,.triv14-table footer b{min-width:28px;height:28px}


/* ============================================================================
   V15 — remaining 12 screens. Matching/Fraud presentation grammar:
   large readable cards, aligned KPI row, semantic node cards + SVG connectors,
   strong typography, roomy spacing, fixed minimum desktop canvas.
   ============================================================================ */
#ledger-v127-root[data-screen="profit-loss"],
#ledger-v127-root[data-screen="balance-sheet"],
#ledger-v127-root[data-screen="recurring"],
#ledger-v127-root[data-screen="revenue-recognition"],
#ledger-v127-root[data-screen="accounts"],
#ledger-v127-root[data-screen="claims"],
#ledger-v127-root[data-screen="bills"],
#ledger-v127-root[data-screen="aging"],
#ledger-v127-root[data-screen="reports-pnl"],
#ledger-v127-root[data-screen="reports-balance-sheet"],
#ledger-v127-root[data-screen="fixed-assets"],
#ledger-v127-root[data-screen="prepaid"]{overflow-x:auto}

.rem15-root{
  min-width:1580px;
  display:grid;
  gap:14px;
  padding:2px 0 16px;
  background:#fbfcff;
  color:#172642;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:13px;
  line-height:1.7;
}
.rem15-root button,.rem15-root select,.rem15-root input{font:inherit}
.rem15-head{
  min-height:92px;
  display:grid;
  grid-template-columns:minmax(520px,1fr) auto;
  grid-template-rows:auto auto;
  gap:9px 16px;
  align-items:center;
  padding:13px 16px;
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:10px;
}
.rem15-head h1{margin:0;font-size:25px;line-height:1.25;font-weight:820;letter-spacing:-.015em;color:#13213b}
.rem15-head p{margin:4px 0 0;font-size:12.5px;line-height:1.7;color:#64758d}
.rem15-tools{display:flex;align-items:end;gap:8px}
.rem15-tools label{display:grid;gap:3px;font-size:9px;color:#718097}
.rem15-tools select{height:38px;min-width:125px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;padding:0 8px;color:#40526a;font-size:10.5px}
.rem15-tools>button{height:38px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#52647c;padding:0 11px;font-size:10.5px}
.rem15-live{display:grid;grid-template-columns:auto 1fr;column-gap:5px;align-items:center;color:#149a66;font-size:10.5px}
.rem15-live small{grid-column:2;font-size:8px;color:#748298}
.rem15-roles{grid-column:1/-1;display:flex;gap:2px}
.rem15-roles button{height:33px;min-width:82px;border:0;border-radius:5px;background:#f5f7fa;color:#5e6f86;font-size:10px;font-weight:650}
.rem15-roles button.active{background:#6950db;color:#fff;font-weight:800}

.rem15-filters{
  display:flex;
  gap:8px;
  align-items:end;
  padding:10px 11px;
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:10px;
}
.rem15-filters label{display:grid;gap:4px;min-width:130px;flex:1}
.rem15-filters span{font-size:10px;line-height:1.45;color:#66778f;font-weight:650}
.rem15-filters select{height:40px;width:100%;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#34475f;padding:0 9px;font-size:10.5px}
.rem15-filters>button{height:40px;padding:0 13px;border-radius:6px;font-size:10.5px;font-weight:750;white-space:nowrap}
.rem15-filters .clear{border:0;background:#fff;color:#684fda}.rem15-filters .apply{border:1px solid #6a50df;background:#6a50df;color:#fff}

.rem15-govern{
  min-height:52px;
  display:grid;
  grid-template-columns:repeat(4,150px) 1fr;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border:1px solid #e0e6ef;
  border-radius:9px;
  background:#fff;
}
.rem15-govern>div{padding:7px 10px;border-right:1px solid #edf1f5}
.rem15-govern span{display:block;font-size:8.5px;color:#748298}.rem15-govern b{display:block;margin-top:2px;font-size:11px;color:#34475f}
.rem15-govern button{justify-self:end;border:0;background:none;color:#654bd7;font-size:9.5px;font-weight:700}

.rem15-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.rem15-kpis button{
  min-height:105px;
  position:relative;
  overflow:hidden;
  padding:12px 12px 9px;
  border:1px solid #e1e7f0;
  border-radius:10px;
  background:#fff;
  text-align:left;
}
.rem15-kpis span{display:block;font-size:10.5px;line-height:1.4;color:#63748c;font-weight:700}
.rem15-kpis strong{display:inline-block;margin-top:7px;font-size:22px;line-height:1.15;color:#172642;font-weight:820}
.rem15-kpis small{margin-left:8px;font-size:9px}.rem15-kpis small.up{color:#13a06a}.rem15-kpis small.down{color:#ea626d}
.rem15-kpis svg{position:absolute;left:10px;right:10px;bottom:6px;width:calc(100% - 20px);height:29px}
.rem15-kpis svg polyline{fill:none;stroke:#4f7fe8;stroke-width:2}.rem15-kpis button:nth-child(2n) svg polyline{stroke:#2fb98d}.rem15-kpis button:nth-child(3n) svg polyline{stroke:#7556df}

.rem15-status{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}
.rem15-status div{padding:9px 10px;border:1px solid #e4e9f1;border-radius:8px;background:#fff}.rem15-status span{font-size:8.5px;color:#718096}.rem15-status b{display:block;margin:3px 0;font-size:11px;color:#2d4059}.rem15-status small{font-size:8px;color:#6c7b90}

.rem15-tabs{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:2px;
  padding:0 10px;
  background:#fff;
  border:1px solid #e1e7f0;
  border-radius:9px;
}
.rem15-tabs button{height:32px;border:0;border-radius:5px;background:#fff;color:#607188;padding:0 14px;font-size:10.5px;font-weight:650}
.rem15-tabs button.active{background:#f1edff;color:#6245d7;font-weight:800}.rem15-tabs>span{flex:1}.rem15-tabs>span~button{border:1px solid #e0e6ef}

.rem15-main{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:11px;align-items:start}
.rem15-center{min-width:0}
.rem15-visual,.rem15-calendar,.rem15-timeline,.rem15-ai>section,.rem15-chart,.rem15-table{
  background:#fff;border:1px solid #e1e7f0;border-radius:10px;box-shadow:0 1px 2px rgba(30,45,75,.025)
}
.rem15-visual>header{
  min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-bottom:1px solid #edf1f5
}
.rem15-visual>header h3{margin:0;font-size:13px;line-height:1.45;color:#33465f}.rem15-visual>header p{margin:3px 0 0;font-size:9px;color:#748298}
.rem15-visual>header>div:last-child{display:flex;gap:5px}.rem15-visual>header button{height:29px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5b6d84;padding:0 8px;font-size:8.5px}
.rem15-node-stage{height:455px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 46%,#fff 0,#fff 62%,#fbfcff 100%)}
.rem15-node-stage>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.rem15-node{
  position:absolute;width:12.6%;min-width:124px;min-height:76px;
  display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:start;
  border:1px solid #dce5f2;border-radius:8px;background:#fff;padding:9px;text-align:left;color:#31435c;
  box-shadow:0 2px 5px rgba(35,55,90,.04)
}
.rem15-node>span{width:21px;height:21px;border-radius:6px;display:grid;place-items:center;background:#4f7fe8;color:#fff;font-size:8px;font-weight:800}
.rem15-node div{min-width:0}.rem15-node b{display:block;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rem15-node small{display:block;margin-top:2px;font-size:8.3px;line-height:1.45;color:#6f7f95}.rem15-node strong{display:block;margin-top:2px;font-size:9px;color:#40536c}
.rem15-node>em{position:absolute;right:8px;bottom:6px;font-style:normal;font-size:7.5px;color:#e15e69}
.rem15-node.n1>span{background:#2fb98d}.rem15-node.n2>span{background:#7455dd}.rem15-node.n3>span{background:#eda057}.rem15-node.n4>span{background:#e9626d}
.rem15-node.pnl .rem15-node{width:14%}
.rem15-visual>footer{min-height:36px;display:flex;align-items:center;gap:16px;padding:7px 12px;border-top:1px solid #edf1f5;color:#718096;font-size:8.5px}
.rem15-visual>footer span:before{content:"";display:inline-block;width:12px;height:2px;background:#4f7fe8;margin-right:4px;vertical-align:middle}.rem15-visual>footer span:nth-child(2):before{background:#7455dd}.rem15-visual>footer span:nth-child(3):before{background:#2fb98d}.rem15-visual>footer span:nth-child(4):before{background:#eda057}.rem15-visual>footer b{margin-left:auto;color:#6450d3;font-size:8.5px}

.rem15-lifecycle{padding:10px 11px;border-bottom:1px solid #edf1f5;background:#fbfcff}.rem15-lifecycle h3{margin:0 0 8px;font-size:10px;color:#40526a}
.rem15-lifecycle>div{display:flex;align-items:center;gap:5px}.rem15-lifecycle>div>i{font-style:normal;color:#8793a5}.rem15-lifecycle button{flex:1;min-height:63px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;padding:7px;text-align:left}.rem15-lifecycle button>span{display:inline-grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#f1edff;color:#6548d7;font-size:7.5px}.rem15-lifecycle button>b{display:block;margin-top:3px;font-size:8.7px;color:#34465f}.rem15-lifecycle button>small{display:block;font-size:7.5px;color:#718096}.rem15-lifecycle button>em{display:block;font-style:normal;font-size:7.8px;color:#40536c}

.rem15-calendar-wrap{display:grid;gap:10px}
.rem15-calendar{padding:11px}.rem15-calendar header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.rem15-calendar h3,.rem15-timeline h3{margin:0;font-size:12px;color:#34465f}.rem15-calendar header p{margin:2px 0 0;font-size:8.5px;color:#718096}.rem15-calendar header strong{font-size:11px;color:#5f49d3}
.rem15-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:5px}.rem15-weekdays b{text-align:center;font-size:8px;color:#7a879a}
.rem15-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.rem15-days button{min-height:74px;border:1px solid #e3e8f0;border-radius:7px;background:#fff;text-align:left;padding:7px;position:relative}.rem15-days button.risk{border-color:#efc8cc;background:#fff9f9}.rem15-days span{font-size:9px;color:#53657d}.rem15-days i{position:absolute;right:6px;top:6px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#654bd7;font-size:7px;font-style:normal}.rem15-days small{display:block;margin-top:25px;font-size:7.5px;color:#79869a}
.rem15-timeline{padding:11px}.rem15-timeline>div{display:grid;grid-template-columns:145px 1fr 35px;gap:8px;align-items:center;margin:9px 0}.rem15-timeline b{font-size:9px;color:#53647c}.rem15-timeline span{height:13px;background:#eef2f6;border-radius:8px;position:relative;overflow:hidden}.rem15-timeline span i{position:absolute;height:100%;border-radius:8px;background:#7355dd}.rem15-timeline em{font-style:normal;font-size:9px;color:#53647c;text-align:right}

.rem15-ai{display:grid;gap:9px}
.rem15-ai>section{padding:13px}
.rem15-ai-tabs{display:flex;gap:12px;border-bottom:1px solid #edf1f5;padding-bottom:9px;margin-bottom:10px}.rem15-ai-tabs b,.rem15-ai-tabs span{font-size:9.5px}.rem15-ai-tabs b{color:#6247d6}.rem15-ai-tabs span{color:#748298}
.rem15-ai h3{margin:0 0 8px;font-size:12px;line-height:1.45;color:#5f46d3}.rem15-ai p{font-size:10.5px;line-height:1.8;color:#4e6078;margin:0 0 9px}.rem15-ai p b{color:#263850}
.rem15-ai ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.rem15-ai li{display:grid;grid-template-columns:8px 1fr auto;gap:6px;align-items:center;font-size:9px;color:#52647c}.rem15-ai li>span{width:6px;height:6px;border-radius:50%;background:#2fb98d}.rem15-ai li b{font-size:9px;color:#34465f}
.rem15-ai-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.rem15-ai-head h3{margin:0}.rem15-ai-head button{border:0;background:none;color:#654bd7;font-size:8.5px}
.rem15-driver,.rem15-reco{width:100%;min-height:50px;display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;padding:8px 0}
.rem15-driver>span,.rem15-reco>span{width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:#eef4ff;color:#4f7fe8;font-size:8px}.rem15-driver b,.rem15-reco b{font-size:9.5px;line-height:1.45;color:#34465f}.rem15-driver small,.rem15-reco small{display:block;margin-top:2px;font-size:8px;color:#718096}.rem15-driver strong{font-size:9px;color:#15a06b}.rem15-reco em{font-style:normal;color:#684cdb}

.rem15-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.rem15-analytics.many{grid-template-columns:repeat(4,minmax(0,1fr))}
.rem15-chart{height:190px;padding:12px;overflow:hidden}.rem15-chart h3{margin:0 0 7px;font-size:10.5px;line-height:1.45;color:#40516a}
.rem15-chart.line{position:relative}.rem15-chart .legend{position:absolute;right:10px;top:10px;display:flex;gap:8px}.rem15-chart .legend span{font-size:7.5px;color:#718096}.rem15-chart .legend span:before{content:"";display:inline-block;width:8px;height:2px;background:#4f7fe8;margin-right:3px;vertical-align:middle}.rem15-chart .legend span:nth-child(2):before{background:#ea626d}
.rem15-chart.line svg{width:100%;height:150px}.rem15-chart.line line{stroke:#edf1f5}.rem15-chart.line polyline{fill:none;stroke-width:2}.rem15-chart.line polyline.a{stroke:#4f7fe8}.rem15-chart.line polyline.b{stroke:#e9636e}.rem15-chart.line text{font-size:7px;fill:#758398}
.rem15-chart.bars>div{display:grid;gap:8px;margin-top:8px}.rem15-chart.bars p{display:grid;grid-template-columns:100px 1fr 22px;gap:6px;align-items:center;margin:0}.rem15-chart.bars p span{font-size:8px;color:#617188}.rem15-chart.bars p i{height:7px;background:#edf1f5;border-radius:7px;overflow:hidden}.rem15-chart.bars p i b{display:block;height:100%;background:#4f7fe8}.rem15-chart.bars p em{font-style:normal;font-size:8px;color:#53647b;text-align:right}
.rem15-chart.donut>div{display:grid;grid-template-columns:94px 1fr;gap:8px;align-items:center;height:145px}.rem15-chart.donut svg{width:90px;height:90px}.rem15-chart.donut .big{font-size:13px;font-weight:800;fill:#30415a}.rem15-chart.donut .small{font-size:7px;fill:#758398}.rem15-chart.donut ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}.rem15-chart.donut li{display:grid;grid-template-columns:7px 1fr auto;gap:5px;align-items:center;font-size:8px;color:#65758b}.rem15-chart.donut li i{width:6px;height:6px;border-radius:2px}.rem15-chart.donut li b{font-size:8px;color:#41536b}
.rem15-chart.movement>div{display:grid;gap:6px;margin-top:7px}.rem15-chart.movement p{display:grid;grid-template-columns:20px 1fr auto;gap:7px;align-items:center;margin:0;padding:6px;border-bottom:1px solid #eef2f6}.rem15-chart.movement p>span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6349d6;font-size:7px}.rem15-chart.movement p>b{font-size:8.5px;color:#4b5d75}.rem15-chart.movement strong{font-size:8.5px}.rem15-chart.movement strong.up{color:#14a06a}.rem15-chart.movement strong.down{color:#e9616c}

.rem15-table{overflow:visible}
.rem15-table>header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;border-bottom:1px solid #edf1f5}.rem15-table>header h3{margin:0;font-size:12px;color:#34465f}.rem15-table>header p{margin:2px 0 0;font-size:8.5px;color:#718096}.rem15-table>header>div:last-child{display:flex;gap:6px}.rem15-table>header button{height:30px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5c6d84;padding:0 9px;font-size:9px}
.rem15-table .scroll{overflow:auto}.rem15-table table{width:100%;min-width:1500px;border-collapse:collapse}.rem15-table th{background:#fbfcfe;border-bottom:1px solid #e7ecf3;color:#56677f;font-size:9px;font-weight:750;text-align:left;padding:8px;white-space:nowrap}.rem15-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:9.5px;line-height:1.55;padding:8px;white-space:nowrap}.rem15-table td.money{font-variant-numeric:tabular-nums;font-weight:650}
.rem15-progress{display:flex;align-items:center;gap:5px}.rem15-progress i{width:55px;height:5px;background:#e8edf2;border-radius:5px;overflow:hidden}.rem15-progress i b{display:block;height:100%;background:#35b98e}.rem15-progress span{font-size:8px}
.rem15-pill{display:inline-block;padding:3px 6px;border-radius:5px;background:#f0f3f7;color:#5d6e85;font-size:8px}.rem15-pill.high,.rem15-pill.exception,.rem15-pill.blocked{background:#ffe9ea;color:#df5c68}.rem15-pill.medium,.rem15-pill.pending,.rem15-pill.review,.rem15-pill.approval-required{background:#fff1e2;color:#d98530}.rem15-pill.low,.rem15-pill.active,.rem15-pill.approved,.rem15-pill.resolved,.rem15-pill.paid{background:#e8f8f0;color:#169565}
.rem15-table td>button{border:0;background:none;color:#6549d8;font-size:8.5px;font-weight:700}.rem15-table .empty{text-align:center;color:#718096;padding:18px}
.rem15-table footer{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#718096;font-size:8.5px}.rem15-table footer div{display:flex;gap:4px}.rem15-table footer button,.rem15-table footer b{min-width:26px;height:26px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5e6f86;display:grid;place-items:center}.rem15-table footer b{background:#674bdc;color:#fff;border-color:#674bdc}

.rem15-overlay{position:fixed;inset:0;z-index:10040;background:rgba(22,35,60,.18);display:flex;justify-content:flex-end}
.rem15-overlay>section{width:min(500px,92vw);height:100%;background:#fff;box-shadow:-10px 0 35px rgba(20,35,65,.18);padding:25px;position:relative}
.rem15-overlay>section>button{position:absolute;right:15px;top:12px;width:34px;height:34px;border:0;border-radius:7px;background:#f3f5f8;font-size:20px;color:#53647b}
.rem15-overlay small{font-size:9px;color:#6549d8;text-transform:uppercase;font-weight:750}.rem15-overlay h2{font-size:20px;line-height:1.35;color:#24364f;margin:6px 0 14px}.rem15-overlay p{font-size:11px;line-height:1.8;color:#5d6e85}
.rem15-overlay-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rem15-overlay-kpis span{padding:10px;border:1px solid #e7ecf3;border-radius:7px;font-size:9px;color:#718096}.rem15-overlay-kpis b{display:block;font-size:15px;color:#30415a;margin-bottom:3px}

@media(max-width:1600px){
  .rem15-root{min-width:1500px}
  .rem15-main{grid-template-columns:minmax(0,1fr) 310px}
  .rem15-head h1{font-size:23px}
}


/* V15 final readability + alignment calibration.
   Same practical floor as the working Matching & Fraud solution. */
.rem15-root{min-width:1600px;font-size:14px;line-height:1.72;gap:16px}
.rem15-head{min-height:104px;padding:14px 17px}
.rem15-head h1{font-size:28px;line-height:1.25}
.rem15-head p{font-size:13.5px;line-height:1.75}
.rem15-tools label{font-size:10.5px}.rem15-tools select,.rem15-tools>button{height:42px;font-size:11.5px}.rem15-live{font-size:11px}.rem15-live small{font-size:9px}
.rem15-roles button{height:39px;min-width:94px;font-size:12px}
.rem15-filters{gap:9px;padding:12px}.rem15-filters label>span{font-size:11.5px}.rem15-filters select{height:44px;font-size:12px}.rem15-filters>button{height:44px;font-size:12px}
.rem15-kpis{gap:10px}.rem15-kpis button{min-height:118px;padding:14px 14px 10px}.rem15-kpis span{font-size:12px}.rem15-kpis strong{font-size:24px}.rem15-kpis small{font-size:10px}.rem15-kpis svg{height:32px}
.rem15-status div{padding:10px 11px}.rem15-status span{font-size:10px}.rem15-status b{font-size:12px}.rem15-status small{font-size:9.5px}
.rem15-tabs{min-height:49px}.rem15-tabs button{height:36px;font-size:11.5px}
.rem15-main{grid-template-columns:minmax(0,1fr) 350px;gap:13px}
.rem15-visual>header{min-height:68px;padding:10px 14px}.rem15-visual>header h3{font-size:14.5px}.rem15-visual>header p{font-size:10.5px}.rem15-visual>header button{height:33px;font-size:10px}
.rem15-node-stage{height:500px}
.rem15-node{width:12.4%;min-width:132px;min-height:84px;grid-template-columns:26px 1fr;gap:8px;padding:10px}
.rem15-node>span{width:23px;height:23px;font-size:9px}.rem15-node b{font-size:11.5px}.rem15-node small{font-size:10px}.rem15-node strong{font-size:10.5px}.rem15-node>em{font-size:9px}
.rem15-visual>footer{min-height:43px;font-size:10px}.rem15-visual>footer b{font-size:10px}
.rem15-lifecycle{padding:12px}.rem15-lifecycle h3{font-size:12px}.rem15-lifecycle button{min-height:72px;padding:9px}.rem15-lifecycle button>b{font-size:10px}.rem15-lifecycle button>small{font-size:9px}.rem15-lifecycle button>em{font-size:9px}
.rem15-calendar,.rem15-timeline{padding:13px}.rem15-calendar h3,.rem15-timeline h3{font-size:14px}.rem15-calendar header p{font-size:10px}.rem15-calendar header strong{font-size:12px}
.rem15-weekdays b{font-size:9.5px}.rem15-days button{min-height:84px;padding:8px}.rem15-days span{font-size:10.5px}.rem15-days small{font-size:9px}.rem15-timeline>div{grid-template-columns:165px 1fr 42px}.rem15-timeline b,.rem15-timeline em{font-size:10.5px}
.rem15-ai>section{padding:15px}.rem15-ai-tabs b,.rem15-ai-tabs span{font-size:10.5px}.rem15-ai h3{font-size:14px}.rem15-ai p{font-size:12.5px;line-height:1.9}.rem15-ai li{font-size:10.5px}.rem15-ai li b{font-size:10.5px}.rem15-ai-head button{font-size:10px}
.rem15-driver,.rem15-reco{min-height:58px;grid-template-columns:26px 1fr auto}.rem15-driver b,.rem15-reco b{font-size:11px}.rem15-driver small,.rem15-reco small{font-size:9.5px}.rem15-driver strong{font-size:10px}
.rem15-chart{height:220px;padding:14px}.rem15-chart h3{font-size:12px}.rem15-chart .legend span{font-size:9px}.rem15-chart.line svg{height:174px}.rem15-chart.line text{font-size:9px}
.rem15-chart.bars p{grid-template-columns:125px 1fr 28px}.rem15-chart.bars p span,.rem15-chart.bars p em{font-size:10px}
.rem15-chart.donut>div{grid-template-columns:106px 1fr;height:172px}.rem15-chart.donut svg{width:100px;height:100px}.rem15-chart.donut .big{font-size:15px}.rem15-chart.donut .small{font-size:9px}.rem15-chart.donut li,.rem15-chart.donut li b{font-size:10px}
.rem15-chart.movement p>b,.rem15-chart.movement strong{font-size:10px}
.rem15-table>header{min-height:58px;padding:9px 13px}.rem15-table>header h3{font-size:13.5px}.rem15-table>header p{font-size:10px}.rem15-table>header button{height:34px;font-size:10.5px}
.rem15-table table{min-width:1750px}.rem15-table th{font-size:11px;padding:10px}.rem15-table td{font-size:11.5px;line-height:1.65;padding:10px}.rem15-progress span{font-size:10px}.rem15-pill{font-size:9.5px}.rem15-table td>button{font-size:10px}.rem15-table footer{height:43px;font-size:10px}
.rem15-govern{min-height:58px}.rem15-govern span{font-size:9.5px}.rem15-govern b{font-size:12px}.rem15-govern button{font-size:10.5px}


/* ============================================================================
   V15.1 Matching & Fraud — single-surface relationship drill-down.
   Record detail expands inside the existing drawer below Related evidence.
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .mfv13-drawer.mfv15-single-surface{
  width:min(640px,calc(100vw - 42px));
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-table-title{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-table-title h3{margin:0;font-size:13px;color:#34465f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-table-title p{margin:3px 0 0;font-size:10px;line-height:1.5;color:#738197}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-table-title>span{font-size:9.5px;color:#6548d8;background:#f2efff;border-radius:12px;padding:4px 8px;white-space:nowrap}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-related-table tbody tr{cursor:pointer;transition:background .12s ease,border-color .12s ease}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-related-table tbody tr:hover{background:#faf9ff}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-related-table tbody tr.selected{background:#f5f2ff;box-shadow:inset 3px 0 0 #684cdb}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail{
  margin-top:14px;border:1px solid #ddd6fa;border-radius:10px;background:#fbfaff;overflow:hidden;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 15px;border-bottom:1px solid #e8e3fb;background:#fff;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-head small{display:block;font-size:9px;line-height:1.4;color:#674bd8;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-head h3{margin:4px 0 2px;font-size:15px;line-height:1.4;color:#24364f}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-head p{margin:0;font-size:10px;line-height:1.55;color:#718096}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-head button{width:30px;height:30px;border:0;border-radius:7px;background:#f2f4f7;color:#596a82;font-size:18px;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid{
  display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;padding:12px 15px;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid>div{min-height:58px;padding:9px 10px;border:1px solid #e7eaf1;border-radius:8px;background:#fff}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid span{display:block;font-size:8.5px;line-height:1.4;color:#758398}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid b{display:block;margin-top:4px;font-size:10.5px;line-height:1.5;color:#34465f;font-weight:700;white-space:normal}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid b.risk-high{color:#df5d68}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid b.risk-medium{color:#d98330}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-grid b.risk-low{color:#169565}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0 15px 12px}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-detail-actions button{min-height:34px;border:1px solid #ddd5fb;border-radius:7px;background:#fff;color:#6548d8;padding:0 10px;font-size:9.5px;font-weight:700;cursor:pointer}
#ledger-v127-root[data-screen="matching-fraud"] .mfv15-inline-note{margin:0;padding:9px 15px 12px;border-top:1px solid #ece8fb;color:#6f7d91;font-size:9px;line-height:1.55}


/* ============================================================================
   V16 Enterprise UX implementation
   - modeless side sheets, no greyed main page
   - click-outside transparent backdrops
   - action menus, task lifecycle, wider drawers, AED display, action cockpit
   ============================================================================ */
#ledger-v127-root .ux16-backdrop{position:fixed;inset:0;background:transparent!important;z-index:10018;pointer-events:auto}
#ledger-v127-root .ux16-side-sheet{position:fixed!important;top:68px!important;right:18px!important;z-index:10020!important;width:min(780px,calc(100vw - 56px))!important;max-height:calc(100vh - 90px)!important;overflow:auto!important;background:#fff!important;border:1px solid #dfe6f0!important;border-radius:14px!important;box-shadow:0 20px 56px rgba(27,43,74,.22)!important;color:#172642!important}
#ledger-v127-root .mfv13-drawer.ux16-side-sheet{width:min(820px,calc(100vw - 56px))!important}
#ledger-v127-root .rem15-overlay.ux16-side-sheet{display:block!important;left:auto!important;inset:auto 18px auto auto!important;background:#fff!important}
#ledger-v127-root .rem15-overlay.ux16-side-sheet>section{width:100%!important;height:auto!important;box-shadow:none!important;padding:24px!important;background:#fff!important}
#ledger-v127-root .mfv10-overlay,#ledger-v127-root .mfv11-overlay,#ledger-v127-root .lispec-drawerbg,#ledger-v127-root .triv14-overlay{background:transparent!important;backdrop-filter:none!important}
#ledger-v127-root .mfv11-root{filter:none!important}
#ledger-v127-root .ux16-side-sheet h2{font-size:28px!important;line-height:1.25!important;color:#172642!important;margin:4px 0 6px!important}
#ledger-v127-root .ux16-side-sheet h3{font-size:16px!important;line-height:1.35!important;color:#263850!important}
#ledger-v127-root .ux16-side-sheet p,#ledger-v127-root .ux16-side-sheet td,#ledger-v127-root .ux16-side-sheet th{font-size:13px!important;line-height:1.7!important}
#ledger-v127-root .ux16-side-sheet small{font-size:11px!important;line-height:1.5!important}
#ledger-v127-root .ux16-side-sheet button{min-height:36px;font-size:12px;font-weight:700}
#ledger-v127-root .mfv13-drawer-head{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #edf1f5;align-items:flex-start!important}
#ledger-v127-root .mfv13-drawer-body{padding:18px!important}
#ledger-v127-root .mfv13-drawer-kpis{grid-template-columns:repeat(4,1fr)!important;gap:10px!important;padding:14px 18px!important}
#ledger-v127-root .mfv13-drawer-kpis strong{font-size:20px!important;color:#172642}
#ledger-v127-root .ux16-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px;border-bottom:1px solid #edf1f5;background:#fbfcff}
#ledger-v127-root .ux16-toolbar button{height:38px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#52647d;padding:0 12px;font-size:12px;font-weight:700}
#ledger-v127-root .ux16-toolbar button:first-child{background:#684fe0;color:#fff;border-color:#684fe0}
#ledger-v127-root .ux16-drawer-tabs{display:flex;gap:4px;padding:10px 18px;border-bottom:1px solid #edf1f5;background:#fff;position:sticky;top:72px;z-index:1}
#ledger-v127-root .ux16-drawer-tabs button{height:34px;border:0;border-radius:7px;background:#f5f7fb;color:#5b6c84;padding:0 12px;font-size:12px;font-weight:700}
#ledger-v127-root .ux16-drawer-tabs button.active{background:#f1edff;color:#6045d8}
#ledger-v127-root .ux16-ai-drawer-summary{margin:14px 18px;padding:14px 16px;border:1px solid #e4e9f2;border-radius:10px;background:#fbfcff}
#ledger-v127-root .ux16-ai-drawer-summary p{margin:0;color:#42546e}
#ledger-v127-root .ux16-menu{position:relative;display:inline-block}
#ledger-v127-root .ux16-menu-btn{width:38px!important;height:36px!important;min-height:36px!important;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#52647d;font-size:22px!important;line-height:1!important;padding:0!important}
#ledger-v127-root .ux16-menu-panel{display:none;position:absolute;right:0;top:calc(100% + 6px);z-index:10050;width:210px;padding:7px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;box-shadow:0 12px 30px rgba(29,43,70,.18)}
#ledger-v127-root .ux16-menu:hover .ux16-menu-panel,#ledger-v127-root .ux16-menu:focus-within .ux16-menu-panel{display:grid;gap:2px}
#ledger-v127-root .ux16-menu-panel button{width:100%;height:32px;min-height:32px;border:0;border-radius:6px;background:#fff;text-align:left;color:#41536d;padding:0 10px;font-size:11.5px;font-weight:650}
#ledger-v127-root .ux16-menu-panel button:hover,#ledger-v127-root .ux16-menu-panel button:focus{background:#f3f5fb;color:#6045d8}
#ledger-v127-root .ux16-record-detail{margin-top:16px!important;border:1px solid #dfe6ef!important;border-radius:12px!important;background:#fff!important;padding:16px!important}
#ledger-v127-root .ux16-record-detail .mfv15-inline-detail-head{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #edf1f5;padding-bottom:12px;margin-bottom:12px}
#ledger-v127-root .ux16-record-detail .mfv15-inline-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#ledger-v127-root .ux16-record-detail .mfv15-inline-detail-grid div{padding:12px!important;border-radius:9px!important;background:#f8faff!important;border:1px solid #e5ebf3!important}
#ledger-v127-root .ux16-record-detail .mfv15-inline-detail-grid span{font-size:11px!important;color:#718096!important}
#ledger-v127-root .ux16-record-detail .mfv15-inline-detail-grid b{font-size:13px!important;line-height:1.5!important;color:#263850!important}
#ledger-v127-root .ux16-task-panel,.ux16-history-panel{margin-top:14px;padding:14px;border:1px solid #e4e9f2;border-radius:10px;background:#fbfcff}
#ledger-v127-root .ux16-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
#ledger-v127-root .ux16-panel-head h3,.ux16-history-panel h3{margin:0!important;font-size:15px!important;color:#263850!important}
#ledger-v127-root .ux16-task-panel ol{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;margin:0;padding:0}
#ledger-v127-root .ux16-task-panel li{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:center;padding:10px;border:1px solid #e5ebf3;border-radius:9px;background:#fff;color:#41536c}
#ledger-v127-root .ux16-task-panel li.active{border-color:#c8daf8;background:#f6f9ff}
#ledger-v127-root .ux16-task-panel li>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eef3ff;color:#507fe8;font-size:11px;font-weight:800}
#ledger-v127-root .ux16-task-panel li b{display:block;font-size:12px;color:#2e4059}.ux16-task-panel li small{font-size:10px;color:#718096}
#ledger-v127-root .ux16-task-panel p{margin:10px 0 0;color:#5c6d84;font-size:12px!important}
#ledger-v127-root .ux16-history-panel p{display:grid;grid-template-columns:70px 1fr;gap:6px;margin:7px 0;padding:8px;border-bottom:1px solid #edf1f5}.ux16-history-panel span{font-size:10px;color:#7355dc}.ux16-history-panel b{font-size:12px;color:#34465f}.ux16-history-panel small{grid-column:2;font-size:10px;color:#718096}
#ledger-v127-root .ux16-records-preview{margin-top:14px}.ux16-records-preview table{width:100%;border-collapse:collapse}.ux16-records-preview th,.ux16-records-preview td{padding:9px;border-bottom:1px solid #edf1f5;text-align:left}.ux16-records-preview th{background:#fafbfd;color:#607188}

/* Filled cluster intelligence surface */
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-intelligence{padding:14px!important;background:#fbf8ff!important;border-top:1px solid #e7e0fb!important}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-body{display:grid;grid-template-columns:300px 1fr 250px;gap:12px;align-items:stretch}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai,#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco{border:1px solid #e3e8f1;border-radius:10px;background:#fff;padding:13px;min-height:118px}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai h3,#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco h3{margin:0 0 7px;font-size:14px;color:#5e45d4}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai p{margin:0;color:#435670;font-size:12px;line-height:1.75}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai>div{display:grid;grid-template-columns:1fr auto 1fr auto;gap:6px;margin-top:10px;align-items:center}.ux16-cluster-ai span{font-size:10px;color:#718096}.ux16-cluster-ai strong{font-size:15px;color:#263850}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco ul{margin:0;padding-left:17px;display:grid;gap:5px}.ux16-cluster-reco li{font-size:11px;line-height:1.45;color:#42536c}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button{min-height:82px!important;padding:12px!important;position:relative;box-shadow:0 8px 18px rgba(46,65,100,.06)}
#ledger-v127-root[data-screen="matching-fraud"] .mfv14-cluster-grid button b{font-size:12px!important}.mfv14-cluster-grid button small{font-size:10px!important}.mfv14-cluster-grid button strong{font-size:12px!important}

/* 2.5D aligned charts */
#ledger-v127-root .mfv11-analytics,#ledger-v127-root .rem15-analytics,#ledger-v127-root .triv14-analytics{align-items:stretch!important;gap:12px!important}
#ledger-v127-root .mfv11-chart,#ledger-v127-root .rem15-chart,#ledger-v127-root .triv14-chart{min-height:230px!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(34,53,85,.08)!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;transition:transform .16s ease,box-shadow .16s ease}
#ledger-v127-root .mfv11-chart:hover,#ledger-v127-root .rem15-chart:hover,#ledger-v127-root .triv14-chart:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(34,53,85,.12)!important}
#ledger-v127-root .mfv11-chart h3,#ledger-v127-root .rem15-chart h3,#ledger-v127-root .triv14-chart h3{font-size:14px!important;line-height:1.4!important;color:#263850!important}
#ledger-v127-root .mfv11-chart svg text,#ledger-v127-root .rem15-chart svg text,#ledger-v127-root .triv14-chart svg text{font-size:10px!important;fill:#64758d!important}
#ledger-v127-root .mfv11-chart svg polyline,#ledger-v127-root .rem15-chart svg polyline,#ledger-v127-root .triv14-chart svg polyline{filter:drop-shadow(0 2px 2px rgba(50,80,140,.15))}

/* Right rail as action cockpit */
#ledger-v127-root .ux16-action-cockpit section,.ux16-cockpit-card{border-radius:14px!important;box-shadow:0 8px 20px rgba(34,53,85,.06)!important}
#ledger-v127-root .ux16-cockpit-card{padding:14px;background:#fff;border:1px solid #e1e7f0}.ux16-cockpit-card h3{margin:0 0 8px;font-size:14px;color:#263850}.ux16-cockpit-card p{font-size:12px;line-height:1.7;color:#4f6078}.ux16-cockpit-card>div{height:8px;background:#eef2f6;border-radius:8px;overflow:hidden;margin:8px 0}.ux16-cockpit-card>div span{display:block;height:100%;background:linear-gradient(90deg,#37bd95,#4f7fe8)}.ux16-cockpit-card button{height:34px;border:1px solid #dcd4fb;border-radius:7px;background:#faf8ff;color:#6649d8;padding:0 10px;font-size:11px;font-weight:700;margin-right:6px}

/* Tables and action cells */
#ledger-v127-root .mfv11-findings td:last-child,#ledger-v127-root .rem15-table td:last-child{display:flex;align-items:center;gap:8px;min-width:150px}
#ledger-v127-root .mfv15-related-table tr{cursor:pointer}.mfv15-related-table tr:hover td{background:#f8faff}.mfv15-related-table tr.selected td{background:#f2f6ff!important}

/* Full page remains visually available; no greyed background. */
#ledger-v127-root .rem15-backdrop,#ledger-v127-root .ux16-backdrop{background:transparent!important;opacity:1!important}


/* ============================================================================
   V16.1 UX refinement: remove dimming, remove repetitive action bars, fill
   AI cluster gap with usable intelligence, and make menus/drawers production-readable.
   ============================================================================ */
#ledger-v127-root .mfv10-overlay,
#ledger-v127-root .mfv11-overlay,
#ledger-v127-root .triv14-overlay,
#ledger-v127-root .rem15-overlay,
#ledger-v127-root .lispec-drawerbg{background:transparent!important;backdrop-filter:none!important;}
#ledger-v127-root .mfv10-overlay>section,
#ledger-v127-root .mfv11-overlay>section{width:min(720px,calc(100vw - 56px))!important;border:1px solid #dfe6f0!important;border-radius:14px 0 0 14px!important;box-shadow:0 20px 56px rgba(27,43,74,.18)!important;}
#ledger-v127-root .ux16-backdrop{background:transparent!important;opacity:1!important;pointer-events:auto!important;}
#ledger-v127-root .ux161-side-sheet{width:min(920px,calc(100vw - 48px))!important;top:64px!important;max-height:calc(100vh - 78px)!important;border-radius:16px!important;box-shadow:0 22px 60px rgba(27,43,74,.20)!important;}
#ledger-v127-root .ux161-side-sheet h2{font-size:32px!important;line-height:1.22!important;letter-spacing:-.015em!important;}
#ledger-v127-root .ux161-side-sheet h3{font-size:18px!important;line-height:1.35!important;}
#ledger-v127-root .ux161-side-sheet p,#ledger-v127-root .ux161-side-sheet td,#ledger-v127-root .ux161-side-sheet th{font-size:14px!important;line-height:1.75!important;}
#ledger-v127-root .ux161-side-sheet small{font-size:12px!important;line-height:1.55!important;}
#ledger-v127-root .ux161-toolbar{display:flex!important;align-items:center!important;gap:10px!important;padding:14px 20px!important;background:#fbfcff!important;border-bottom:1px solid #edf1f5!important;}
#ledger-v127-root .ux161-toolbar button{height:42px!important;min-height:42px!important;padding:0 16px!important;font-size:14px!important;border-radius:9px!important;}
#ledger-v127-root .ux161-toolbar>span{margin-left:auto;font-size:12px;color:#718096;line-height:1.45;}
#ledger-v127-root .ux161-menu{position:relative!important;display:inline-block!important;vertical-align:middle!important;}
#ledger-v127-root .ux161-menu .ux16-menu-btn{width:46px!important;height:42px!important;min-height:42px!important;border-radius:10px!important;font-size:26px!important;line-height:1!important;background:#fff!important;}
#ledger-v127-root .ux161-toolbar .ux161-menu .ux16-menu-btn{background:#6a50df!important;color:#fff!important;border-color:#6a50df!important;}
#ledger-v127-root .ux161-menu-panel{display:none!important;position:absolute!important;right:0!important;top:calc(100% + 8px)!important;width:270px!important;max-width:270px!important;padding:10px!important;border:1px solid #dfe6ef!important;border-radius:12px!important;background:#fff!important;box-shadow:0 18px 45px rgba(29,43,70,.22)!important;z-index:10080!important;}
#ledger-v127-root .ux161-menu:hover .ux161-menu-panel,#ledger-v127-root .ux161-menu:focus-within .ux161-menu-panel{display:flex!important;flex-direction:column!important;gap:4px!important;}
#ledger-v127-root .ux161-menu-panel button{display:flex!important;align-items:center!important;width:100%!important;height:38px!important;min-height:38px!important;padding:0 12px!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#40526b!important;text-align:left!important;font-size:14px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important;}
#ledger-v127-root .ux161-menu-panel button:hover,#ledger-v127-root .ux161-menu-panel button:focus{background:#f2efff!important;color:#6145d8!important;}
#ledger-v127-root .ux161-drawer-tabs{position:sticky!important;top:82px!important;z-index:3!important;padding:12px 20px!important;background:#fff!important;border-bottom:1px solid #edf1f5!important;overflow:auto!important;}
#ledger-v127-root .ux161-drawer-tabs button{height:40px!important;min-height:40px!important;font-size:14px!important;border-radius:9px!important;padding:0 16px!important;}
#ledger-v127-root .ux161-drawer-tabs button.active{background:#6a50df!important;color:#fff!important;box-shadow:0 5px 15px rgba(106,80,223,.22)!important;}
#ledger-v127-root .ux161-drawer-footer{display:flex;align-items:center;gap:14px;position:sticky;bottom:0;background:#fff;padding:14px 20px;border-top:1px solid #edf1f5;z-index:2;}
#ledger-v127-root .ux161-drawer-footer button{height:42px!important;padding:0 16px!important;border:1px solid #d8d0fa!important;border-radius:9px!important;background:#faf8ff!important;color:#6447d8!important;font-size:14px!important;font-weight:800!important;}
#ledger-v127-root .ux161-drawer-footer span{font-size:12px;color:#718096;}

#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-intelligence{padding:16px!important;background:linear-gradient(180deg,#fcf9ff,#fff)!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-body{display:grid!important;grid-template-columns:330px minmax(480px,1fr) 290px!important;gap:14px!important;align-items:stretch!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-grid button{min-height:92px!important;padding:14px!important;border-radius:12px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-grid button b{font-size:14px!important;line-height:1.3!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-grid button small{font-size:12px!important;line-height:1.45!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-grid button strong{font-size:13px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-lower{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-lower article{min-height:116px;padding:14px;border:1px solid #e4e9f2;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(35,53,84,.04);}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-lower h3{margin:0 0 8px;font-size:14px;color:#263850;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-lower p{margin:0;font-size:12px;line-height:1.65;color:#4f6078;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-meter{height:10px;background:#eef2f6;border-radius:999px;overflow:hidden;margin:10px 0;}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-meter span{display:block;height:100%;background:linear-gradient(90deg,#37bd95,#4f7fe8);}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai,#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco{min-height:202px!important;padding:16px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai h3,#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco h3{font-size:15px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai p{font-size:13px!important;line-height:1.8!important;}
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco li{font-size:12.5px!important;line-height:1.6!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{align-items:start!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map{height:auto!important;align-self:start!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-map-stage{height:500px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart{height:225px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart h3{font-size:15px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart svg text{font-size:10.5px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-chart.line svg{height:176px!important;}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-analytics{align-items:stretch!important;gap:14px!important;}
#ledger-v127-root .ux161-action-cockpit .ux16-cockpit-card ul.ux161-activity-list{margin:0;padding-left:18px;display:grid;gap:6px;}
#ledger-v127-root .ux161-action-cockpit .ux16-cockpit-card ul.ux161-activity-list li{font-size:12px;line-height:1.55;color:#4f6078;}
#ledger-v127-root .ux161-action-cockpit .ux16-cockpit-card{min-height:96px!important;}

#ledger-v127-root .ux161-evidence-status{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 20px;}
#ledger-v127-root .ux161-evidence-status article{padding:16px;border:1px solid #e4e9f2;border-radius:12px;background:#f8faff;}
#ledger-v127-root .ux161-evidence-status span{display:block;font-size:12px;color:#718096;}
#ledger-v127-root .ux161-evidence-status b{display:block;margin:5px 0;font-size:24px;color:#1f314d;}
#ledger-v127-root .ux161-evidence-status small{font-size:11px;color:#6d7d92;}
#ledger-v127-root .ux161-audit-pack{margin:18px 20px;padding:18px;border:1px solid #e4e9f2;border-radius:12px;background:#fbfcff;}
#ledger-v127-root .ux161-audit-pack h3{margin:0 0 8px;}
#ledger-v127-root .ux161-audit-pack>div{display:flex;gap:10px;margin-top:14px;}
#ledger-v127-root .ux161-audit-pack button{height:42px;padding:0 14px;border:1px solid #ddd5fb;border-radius:9px;background:#fff;color:#6045d8;font-weight:800;}
#ledger-v127-root .ux161-related-patterns{margin:18px 20px;padding:18px;border:1px solid #e4e9f2;border-radius:12px;background:#fff;}
#ledger-v127-root .ux161-related-patterns h3{margin:0 0 12px;}
#ledger-v127-root .ux161-related-patterns>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
#ledger-v127-root .ux161-related-patterns button{min-height:82px;border:1px solid #e4e9f2;border-radius:12px;background:#fafbff;text-align:left;padding:14px;display:grid;grid-template-columns:28px 1fr;gap:8px;}
#ledger-v127-root .ux161-related-patterns button span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6348d6;font-size:11px;font-weight:800;}
#ledger-v127-root .ux161-related-patterns button b{font-size:14px;color:#2d4059;}
#ledger-v127-root .ux161-related-patterns button small{grid-column:2;font-size:12px;color:#718096;}
#ledger-v127-root .ux161-record-detail{padding:18px!important;margin:18px 0!important;background:#fff!important;}
#ledger-v127-root .ux161-record-detail .mfv15-inline-detail-head h3{font-size:18px!important;}
#ledger-v127-root .ux161-record-detail .mfv15-inline-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
#ledger-v127-root .ux161-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;}
#ledger-v127-root .ux161-inline-actions button{height:40px!important;border:1px solid #ddd5fb!important;border-radius:9px!important;background:#faf8ff!important;color:#6045d8!important;padding:0 14px!important;font-size:13px!important;font-weight:800!important;}
#ledger-v127-root .ux161-task-panel .ux16-panel-head p{margin:3px 0 0!important;font-size:12px!important;line-height:1.5!important;color:#718096!important;}
#ledger-v127-root .ux161-task-panel ol{grid-template-columns:repeat(4,1fr)!important;}
#ledger-v127-root .ux161-task-panel li{min-height:78px!important;}
#ledger-v127-root .ux161-task-panel li b{font-size:14px!important;}
#ledger-v127-root .ux161-task-panel li small{font-size:12px!important;}
#ledger-v127-root .ux161-note{font-size:12px!important;color:#5c6d84!important;}


/* ============================================================================
   V16.2 whitespace closure / widget realignment for Matching & Fraud
   - removes three-column row-height whitespace dependency
   - moves action widgets into a dedicated full-width rail section
   - keeps left AI column + center map/cluster content aligned
   ============================================================================ */
#ledger-v127-root[data-screen="matching-fraud"] .ux162-main{
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-main > .mfv11-map{
  min-width:0!important;
  width:100%!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail{
  margin-top:14px!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-right{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  align-content:start!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-right > *{
  align-self:start!important;
  min-height:100%!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-actions{
  grid-column:span 2!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-queues,
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .ux16-cockpit-card{
  min-height:148px!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .ux16-cockpit-card h3,
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-section-head h3{
  font-size:15px!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .ux16-cockpit-card p,
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .ux161-activity-list li,
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-action b,
#ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-action small{
  line-height:1.65!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-analytics,
#ledger-v127-root[data-screen="matching-fraud"] .mfv11-findings{
  margin-top:0!important;
}
#ledger-v127-root[data-screen="matching-fraud"] .ux161-cluster-lower article,
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-ai,
#ledger-v127-root[data-screen="matching-fraud"] .ux16-cluster-reco{
  min-height:auto!important;
  height:auto!important;
}
@media(max-width:1380px){
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-main{
    grid-template-columns:260px minmax(0,1fr)!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-right{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-actions{
    grid-column:span 2!important;
  }
}
@media(max-width:1120px){
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-main{
    grid-template-columns:1fr!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-right{
    grid-template-columns:1fr!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux162-bottom-rail .mfv11-actions{
    grid-column:span 1!important;
  }
}


/* ============================================================================
   V16.4 — Matching & Fraud gap closure and equal-height cluster alignment
   User-reported issue: blank vertical space between AI Findings/Risk Clusters and
   the analytics widgets. Cause: the left rail and centre content were in one grid
   row, so analytics waited for the tallest column. Fix: independent main flow.
   ============================================================================ */

#ledger-v127-root[data-screen="matching-fraud"] .ux164-root{
  gap:12px!important;
}

/* Two-column top work area: left AI rail + centre flow. The centre flow owns
   map -> AI cluster panel -> analytics -> table, so widgets start immediately
   under the previous container instead of waiting for the left column height. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-layout{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-left-rail{
  min-width:0!important;
  align-self:start!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-left-rail .mfv11-left{
  display:grid!important;
  gap:11px!important;
  align-content:start!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow{
  min-width:0!important;
  display:grid!important;
  gap:12px!important;
  align-content:start!important;
}

/* The map/cluster container should size to its actual content only. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow > .mfv11-map{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  overflow:hidden!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .mfv11-map-stage{
  height:420px!important;
  min-height:420px!important;
}

/* Make cluster cards and their neighbour cards align at a consistent height,
   while allowing text to wrap cleanly without creating empty rows underneath. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux16-cluster-body,
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux161-cluster-body{
  display:grid!important;
  grid-template-columns:1.05fr 2.2fr .95fr!important;
  gap:12px!important;
  align-items:stretch!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux16-cluster-ai,
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux16-cluster-reco{
  height:100%!important;
  min-height:166px!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .mfv14-cluster-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  gap:10px!important;
  align-items:stretch!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .mfv14-cluster-grid button{
  min-height:78px!important;
  height:100%!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux161-cluster-lower{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  margin-top:12px!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux161-cluster-lower article{
  min-height:100px!important;
  height:100%!important;
}

/* Analytics begin directly below the AI Findings/Risk Clusters container. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow > .mfv11-analytics{
  margin:0!important;
  align-self:start!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow > .mfv11-findings{
  margin:0!important;
  align-self:start!important;
}

/* Remove any legacy vertical whitespace inherited from previous row-based attempts. */
#ledger-v127-root[data-screen="matching-fraud"] .ux162-main{
  margin-bottom:0!important;
}

#ledger-v127-root[data-screen="matching-fraud"] .mfv11-main{
  margin-bottom:0!important;
}

/* Keep the action cockpit below as a separate rail; it must not decide the height
   of the map/cluster/analytics flow. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-bottom-rail{
  margin-top:12px!important;
}

/* Equal-height analytics cards for clean baseline alignment. */
#ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .mfv11-chart{
  min-height:225px!important;
  height:225px!important;
  align-self:stretch!important;
}

/* Responsive: preserve alignment and avoid horizontal white dead zones. */
@media(max-width:1380px){
  #ledger-v127-root[data-screen="matching-fraud"] .ux164-layout{
    grid-template-columns:270px minmax(0,1fr)!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux16-cluster-body,
  #ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .ux161-cluster-body{
    grid-template-columns:1fr!important;
  }
  #ledger-v127-root[data-screen="matching-fraud"] .ux164-main-flow .mfv14-cluster-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:1120px){
  #ledger-v127-root[data-screen="matching-fraud"] .ux164-layout{
    grid-template-columns:1fr!important;
  }
}


/* ============================================================================
   V17 — Audit Trail / Auto Category Rules / Chart of Accounts inherit the
   Matching & Fraud investigation technology.
   ============================================================================ */
#ledger-v127-root[data-screen="audit"],
#ledger-v127-root[data-screen="auto-category-rules"],
#ledger-v127-root[data-screen="coa-governance"]{
  overflow-x:auto;
}
.tri17-root{
  min-width:1620px;
  display:grid;
  gap:12px;
  padding:2px 0 18px;
  background:#fbfcff;
  color:#172642;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:14px;
  line-height:1.72;
}
.tri17-root button,.tri17-root select,.tri17-root input{font:inherit}
.tri17-root button{cursor:pointer}
.tri17-head{
  min-height:108px;
  display:grid;
  grid-template-columns:minmax(430px,1fr) 360px auto;
  grid-template-rows:auto auto;
  gap:11px 14px;
  align-items:center;
  padding:14px 16px;
  background:#fff;
  border:1px solid #dfe7f2;
  border-radius:11px;
  box-shadow:0 1px 2px rgba(33,50,85,.03);
}
.tri17-head h1{margin:0;font-size:28px;line-height:1.25;font-weight:820;letter-spacing:-.018em;color:#13213b}
.tri17-head p{margin:4px 0 0;font-size:13.5px;line-height:1.75;color:#64758d}
.tri17-search{height:44px;display:flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #dfe6ef;border-radius:8px;color:#7a879a;background:#fff}
.tri17-search input{width:100%;border:0;outline:0;font-size:12.5px;color:#40526b}
.tri17-toolbar{display:flex;align-items:end;gap:8px}
.tri17-toolbar label{display:grid;gap:3px;font-size:10px;color:#718097}
.tri17-toolbar select{height:42px;min-width:190px;border:1px solid #dfe6ef;border-radius:7px;padding:0 9px;color:#40526a;background:#fff;font-size:11.5px}
.tri17-toolbar button{height:42px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#52647c;padding:0 11px;font-size:11.5px;font-weight:700}
.tri17-live{display:grid;grid-template-columns:auto 1fr;column-gap:5px;align-items:center;color:#149a66;font-size:11px}
.tri17-live small{grid-column:2;color:#748298;font-size:9px}
.tri17-roles{grid-column:1/-1;display:flex;gap:2px}
.tri17-roles button{height:39px;min-width:96px;border:0;border-radius:6px;background:#f5f7fa;color:#5e6f86;font-size:12px;font-weight:650}
.tri17-roles button.active{background:#684fdb;color:#fff;font-weight:800}
.tri17-filter-wrap .triv14-filters{grid-template-columns:repeat(8,minmax(130px,1fr)) auto auto!important;gap:9px!important;padding:12px!important}
.tri17-filter-wrap .triv14-filters label>span{font-size:11.5px!important}
.tri17-filter-wrap .triv14-filters select,.tri17-filter-wrap .triv14-filters .clear,.tri17-filter-wrap .triv14-filters .apply{height:44px!important;font-size:12px!important}
.tri17-scope{min-height:50px;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;padding:8px 10px;background:#fff;border:1px solid #dfe7f2;border-radius:10px}
.tri17-scope span{display:flex;align-items:center;gap:8px;padding:7px 10px;border-right:1px solid #edf1f6;color:#64758d;font-size:11.5px}
.tri17-scope b{font-size:16px;color:#1f304a}
.tri17-layout{display:grid;grid-template-columns:305px minmax(0,1fr);gap:14px;align-items:start}
.tri17-left{display:grid;gap:11px}
.tri17-left section,.tri17-map,.tri17-chart,.tri17-table,.tri17-action-centre>article{
  background:#fff;border:1px solid #dfe7f2;border-radius:11px;box-shadow:0 1px 2px rgba(33,50,85,.025)
}
.tri17-left section{padding:17px}
.tri17-left h3{margin:0 0 10px;color:#5f45d4;font-size:15px;line-height:1.45}
.tri17-left p{margin:0;color:#4c5f78;font-size:13px;line-height:1.9}
.tri17-left button{min-height:35px;margin-top:10px;border:1px solid #ddd6fa;border-radius:7px;background:#faf8ff;color:#6549d7;font-size:10.5px;font-weight:750;padding:0 9px}
.tri17-mini-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tri17-mini-kpis div{padding:10px;border:1px solid #e7edf5;border-radius:8px}
.tri17-mini-kpis b{display:block;font-size:20px;line-height:1.2;color:#283a55}
.tri17-mini-kpis span{display:block;margin-top:4px;color:#718096;font-size:10px}
.tri17-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.tri17-chips span{padding:5px 8px;border-radius:999px;background:#f1f4f8;color:#63748c;font-size:10px}
.tri17-layout main{display:grid;gap:12px;align-content:start;min-width:0}
.tri17-map{overflow:hidden}
.tri17-map>header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #edf1f6}
.tri17-map h3{margin:0;font-size:15px;line-height:1.4;color:#31445e}
.tri17-map p{margin:3px 0 0;font-size:10.5px;color:#718096}
.tri17-map-tools{display:flex;align-items:center;gap:9px}
.tri17-map-tools span{font-size:9.5px;color:#718096}
.tri17-map-tools span:before{content:"";display:inline-block;width:13px;height:2px;background:#4f7fe8;margin-right:4px;vertical-align:middle}
.tri17-map-tools span:nth-child(2):before{background:#7555dd}.tri17-map-tools span:nth-child(3):before{background:#eda057}
.tri17-map-tools button{height:32px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#5b6d84;padding:0 9px;font-size:10px}
.tri17-stage{height:430px;position:relative;overflow:hidden;background:radial-gradient(circle at 48% 45%,#fff 0,#fff 62%,#fbfcff 100%)}
.tri17-stage svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.tri17-node{position:absolute;width:15.5%;min-width:142px;min-height:84px;display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start;border:1px solid #dce5f2;border-radius:9px;background:#fff;padding:10px;text-align:left;color:#31435c;box-shadow:0 2px 5px rgba(35,55,90,.04)}
.tri17-node>span{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;background:#4f7fe8;color:#fff;font-size:9px;font-weight:800}
.tri17-node b{display:block;font-size:11.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tri17-node small{display:block;margin-top:2px;color:#6f7f95;font-size:10px;line-height:1.45}
.tri17-node strong{display:block;margin-top:3px;color:#40536c;font-size:10.5px}
.tri17-node em{position:absolute;right:9px;bottom:7px;color:#e25e69;font-size:9px;font-style:normal;font-weight:750}
.tri17-node.rule>span,.tri17-node.account>span{background:#33b98d}.tri17-node.engine>span,.tri17-node.gate>span{background:#7555dd}.tri17-node.outcome>span,.tri17-node.target>span{background:#eda057}
.tri17-clusters{border-top:1px solid #edf1f6;background:#fbf8ff;padding:13px 14px 14px}
.tri17-cluster-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.tri17-cluster-title h3{margin:0;font-size:15px;color:#6046d4}
.tri17-cluster-title p{margin:3px 0 0;font-size:10.5px;color:#718096}
.tri17-cluster-title span{font-size:10.5px;color:#69798e}
.tri17-cluster-grid{display:grid;grid-template-columns:1.1fr 2fr .9fr;gap:12px;align-items:stretch}
.tri17-cluster-grid .summary,.tri17-cluster-grid .playbook,.tri17-cluster-grid .cards button,.tri17-cluster-lower article{background:#fff;border:1px solid #e3e7f0;border-radius:10px}
.tri17-cluster-grid .summary,.tri17-cluster-grid .playbook{padding:13px}
.tri17-cluster-grid h4,.tri17-cluster-lower h4{margin:0 0 8px;color:#694ed9;font-size:13px}
.tri17-cluster-grid p,.tri17-cluster-grid li,.tri17-cluster-lower p{font-size:11.5px;line-height:1.75;color:#4f6078;margin:0}
.tri17-cluster-grid footer{display:flex;justify-content:space-between;margin-top:12px;color:#718096;font-size:10px}
.tri17-cluster-grid footer b{font-size:16px;color:#2a3c56}
.tri17-cluster-grid .cards{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;gap:10px}
.tri17-cluster-grid .cards button{min-height:86px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;text-align:left;padding:10px}
.tri17-cluster-grid .cards button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#fff0f1;color:#e15d68;font-size:9px;font-weight:800}
.tri17-cluster-grid .cards b{display:block;color:#31435d;font-size:11.5px;line-height:1.4}
.tri17-cluster-grid .cards small{display:block;margin-top:3px;color:#718096;font-size:10px}
.tri17-cluster-grid .cards strong{display:block;margin-top:7px;color:#34475f;font-size:12px}
.tri17-cluster-lower{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.tri17-cluster-lower article{padding:12px;min-height:98px}
.tri17-bar{height:9px;border-radius:9px;background:#edf1f6;overflow:hidden;margin:9px 0}
.tri17-bar i{display:block;height:100%;background:linear-gradient(90deg,#31b98d,#4f7fe8)}
.tri17-analytics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.tri17-chart{height:225px;padding:14px;overflow:hidden}
.tri17-chart h3{margin:0 0 8px;color:#30435c;font-size:13px;line-height:1.45}
.tri17-chart .legend{display:flex;gap:10px;justify-content:flex-end;margin-top:-22px;margin-bottom:4px}
.tri17-chart .legend span{font-size:9px;color:#718096}
.tri17-chart.line svg{width:100%;height:172px}.tri17-chart.line line{stroke:#edf1f6}.tri17-chart.line polyline{fill:none;stroke-width:2.4}.tri17-chart.line polyline.a{stroke:#4f7fe8}.tri17-chart.line polyline.b{stroke:#ec6570}.tri17-chart.line text{font-size:9px;fill:#748298}
.tri17-chart.donut>div{display:grid;grid-template-columns:105px 1fr;gap:9px;align-items:center;height:172px}.tri17-chart.donut svg{width:102px;height:102px}.tri17-chart.donut .big{font-size:16px;font-weight:820;fill:#2b3e58}.tri17-chart.donut .small{font-size:9px;fill:#748298}.tri17-chart.donut ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.tri17-chart.donut li{display:grid;grid-template-columns:8px 1fr auto;gap:6px;align-items:center;font-size:10px;color:#62728a}.tri17-chart.donut li i{width:7px;height:7px;border-radius:2px}.tri17-chart.donut li b{font-size:10px;color:#34465f}
.tri17-chart.bars p{display:grid;grid-template-columns:125px 1fr 26px;gap:7px;align-items:center;margin:9px 0}.tri17-chart.bars p span{font-size:10px;color:#62728a}.tri17-chart.bars p i{height:8px;background:#edf1f6;border-radius:8px;overflow:hidden}.tri17-chart.bars p i b{display:block;height:100%;background:#587fe6}.tri17-chart.bars p em{font-style:normal;font-size:10px;text-align:right;color:#53647b}
.tri17-action-centre{display:grid;grid-template-columns:1.3fr 1fr .9fr .9fr;gap:12px}
.tri17-action-centre>article{padding:14px;min-height:155px}
.tri17-action-centre h3{margin:0 0 9px;color:#6046d4;font-size:14px}
.tri17-action-centre button{width:100%;min-height:43px;display:grid;grid-template-columns:23px 1fr 52px;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left}
.tri17-action-centre button span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}
.tri17-action-centre button b{font-size:10.5px;line-height:1.5;color:#374960}.tri17-action-centre button em{font-size:9px;color:#df6670;font-style:normal}
.tri17-queue{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tri17-queue div{padding:10px;border:1px solid #e7edf5;border-radius:8px}.tri17-queue b{display:block;font-size:21px;color:#263850}.tri17-queue span{font-size:9.5px;color:#718096}
.tri17-action-centre p{font-size:11px;line-height:1.7;color:#52647c;margin:7px 0}.tri17-action-centre p>b{font-size:18px;color:#263850}
.tri17-table{overflow:hidden}
.tri17-table header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-bottom:1px solid #edf1f6}
.tri17-table h3{margin:0;color:#30435c;font-size:14px}.tri17-table p{margin:2px 0 0;color:#718096;font-size:10px}
.tri17-table header>div:last-child{display:flex;gap:7px}.tri17-table header button{height:34px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#5c6d84;padding:0 10px;font-size:10.5px;font-weight:700}
.tri17-table .scroll{overflow:auto}.tri17-table table{width:100%;min-width:1720px;border-collapse:collapse}
.tri17-table th{background:#fbfcfe;border-bottom:1px solid #e7ecf3;color:#56677f;font-size:11px;font-weight:760;text-align:left;padding:10px;white-space:nowrap}.tri17-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:11.5px;line-height:1.65;padding:10px;white-space:nowrap}.tri17-table tr{cursor:pointer}.tri17-table tr:hover td{background:#fbf9ff}.tri17-table td.money{font-variant-numeric:tabular-nums;font-weight:700}
.tri17-progress{display:flex;gap:6px;align-items:center}.tri17-progress i{width:62px;height:6px;background:#e8edf2;border-radius:6px;overflow:hidden}.tri17-progress i b{display:block;height:100%;background:#35b98e}.tri17-progress span{font-size:10px}
.tri17-pill{display:inline-block;padding:3px 7px;border-radius:6px;background:#f0f3f7;color:#5d6e85;font-size:9.5px}.tri17-pill.high,.tri17-pill.exception,.tri17-pill.duplicate{background:#ffe9ea;color:#df5c68}.tri17-pill.medium,.tri17-pill.pending,.tri17-pill.under-review,.tri17-pill.conflict{background:#fff1e2;color:#d98530}.tri17-pill.low,.tri17-pill.active,.tri17-pill.approved,.tri17-pill.resolved,.tri17-pill.auto-post{background:#e8f8f0;color:#169565}
.tri17-table td button{border:0;background:none;color:#6549d8;font-size:10px;font-weight:750}.tri17-table footer{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#718096;font-size:10px}.tri17-table footer div{display:flex;gap:4px}.tri17-table footer button,.tri17-table footer b{min-width:28px;height:28px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;color:#5e6f86;display:grid;place-items:center}.tri17-table footer b{background:#674bdc;color:#fff;border-color:#674bdc}
.tri17-drawer{position:fixed;top:64px;right:18px;z-index:10050;width:min(760px,calc(100vw - 40px));max-height:calc(100vh - 86px);overflow:auto;background:#fff;border:1px solid #dfe7f2;border-radius:14px;box-shadow:0 22px 60px rgba(27,43,74,.20);font-size:14px;color:#263850}
.tri17-drawer>header{position:sticky;top:0;background:#fff;z-index:2;display:flex;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #edf1f6}.tri17-drawer header small{display:block;color:#654bd7;font-size:10px;text-transform:uppercase;font-weight:800}.tri17-drawer header h2{margin:4px 0;font-size:25px;line-height:1.28;color:#172642}.tri17-drawer header p{margin:0;color:#64758d;font-size:12.5px}.tri17-drawer header>button{width:38px;height:38px;border:0;border-radius:9px;background:#f4f6f9;color:#53647b;font-size:22px}
.tri17-drawer .ux16-toolbar{position:sticky;top:86px;z-index:2;background:#fff;border-bottom:1px solid #edf1f6;padding:12px 20px}
.tri17-drawer>nav{display:flex;gap:7px;padding:12px 20px;border-bottom:1px solid #edf1f6}.tri17-drawer>nav button{height:38px;border:0;border-radius:8px;background:#f5f7fa;color:#5c6d84;padding:0 13px;font-size:12px;font-weight:750}.tri17-drawer>nav button.active{background:#f1edff;color:#6348d6}
.tri17-drawer-body{padding:18px 20px;display:grid;gap:14px}.tri17-drawer-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tri17-drawer-kpis div{padding:13px;border:1px solid #e4eaf3;border-radius:10px;background:#f9fbff}.tri17-drawer-kpis span{display:block;color:#718096;font-size:10.5px}.tri17-drawer-kpis b{display:block;margin-top:6px;color:#24364f;font-size:21px}
.tri17-summary{padding:16px;border:1px solid #e4eaf3;border-radius:10px;background:#fff}.tri17-summary h3,.tri17-related-table h3{margin:0 0 8px;font-size:16px;color:#263850}.tri17-summary p,.tri17-summary li,.tri17-related-table p{font-size:14px;line-height:1.8;color:#52647c;margin:0}
.tri17-related-table table{width:100%;border-collapse:collapse}.tri17-related-table th{background:#fbfcfe;color:#56677f;font-size:11px;text-align:left;padding:10px;border-bottom:1px solid #e7ecf3}.tri17-related-table td{font-size:12px;padding:10px;border-bottom:1px solid #eef2f6;color:#40536c}.tri17-related-table tr{cursor:pointer}.tri17-related-table tr.selected td,.tri17-related-table tr:hover td{background:#fbf9ff}.tri17-related-table td button{border:0;background:none;color:#6549d8;font-size:11px;font-weight:750}
.tri17-inline-detail{position:relative;margin-top:14px;padding:18px;border:1px solid #d9e2f0;border-radius:11px;background:#fbfcff}.tri17-inline-detail>button{position:absolute;right:10px;top:10px;border:0;background:#edf1f6;border-radius:7px;width:30px;height:30px}.tri17-inline-detail h3{margin:0 40px 12px 0;font-size:18px;color:#172642}.tri17-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.tri17-detail-grid span{padding:10px;border:1px solid #e4eaf3;border-radius:8px;background:#fff;color:#52647c;font-size:12px}.tri17-detail-grid b{display:block;color:#718096;font-size:10px;margin-bottom:4px}.tri17-detail-actions{display:flex;gap:8px;margin-top:12px}.tri17-detail-actions button{height:36px;border:1px solid #dcd5fb;border-radius:7px;background:#faf8ff;color:#6449d7;padding:0 11px;font-size:11px;font-weight:750}
.tri17-drawer>footer{position:sticky;bottom:0;background:#fff;display:flex;gap:9px;padding:14px 20px;border-top:1px solid #edf1f6}.tri17-drawer>footer button{height:40px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6549d7;padding:0 13px;font-size:12px;font-weight:750}
@media(max-width:1500px){.tri17-root{min-width:1500px}.tri17-layout{grid-template-columns:280px minmax(0,1fr)}.tri17-analytics{grid-template-columns:repeat(3,minmax(0,1fr))}.tri17-action-centre{grid-template-columns:repeat(2,1fr)}}


/* ============================================================================
   V17.1 — Defect fixes from Audit / Rules / CoA defect pack
   - relationship-map node selection highlights associated cards and dims unrelated
   - click outside any modeless drawer closes it; no blocked page backdrop
   - left AI recommendation expands to remove rail whitespace
   - AI cluster widgets use equal heights and no internal empty gaps
   - SVG charts receive responsive/interactive 2.5D treatment
   ============================================================================ */
#ledger-v127-root[data-screen="audit"] .tri17-layout,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-layout,
#ledger-v127-root[data-screen="coa-governance"] .tri17-layout{
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="audit"] .tri17-layout > aside,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-layout > aside,
#ledger-v127-root[data-screen="coa-governance"] .tri17-layout > aside{
  display:flex!important;
  align-self:stretch!important;
}
#ledger-v127-root[data-screen="audit"] .tri17-left,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-left,
#ledger-v127-root[data-screen="coa-governance"] .tri17-left{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
}
#ledger-v127-root[data-screen="audit"] .tri17-left section:last-child,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-left section:last-child,
#ledger-v127-root[data-screen="coa-governance"] .tri17-left section:last-child{
  flex:1 1 auto!important;
  min-height:230px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
}
#ledger-v127-root[data-screen="audit"] .tri17-left section:last-child:after,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-left section:last-child:after,
#ledger-v127-root[data-screen="coa-governance"] .tri17-left section:last-child:after{
  content:"Governed remediation playbook · task creation · evidence collection · audit/compliance closure";
  display:block;
  margin-top:16px;
  padding:12px;
  border:1px dashed #ddd6fa;
  border-radius:10px;
  background:linear-gradient(135deg,#fbf8ff,#ffffff);
  color:#654bd7;
  font-size:11.5px;
  line-height:1.7;
}
.tri17-selection-note{
  margin:0 14px 12px;
  padding:10px 12px;
  border:1px solid #dcd6fb;
  border-radius:9px;
  background:linear-gradient(135deg,#faf8ff,#fff);
  color:#485b74;
  font-size:11.5px;
  line-height:1.6;
}
.tri17-selection-note b{color:#6046d4}
.tri17-node.active,
.tri17-cluster-grid .cards button.active{
  border-color:#674bdc!important;
  box-shadow:0 0 0 2px rgba(103,75,220,.18),0 14px 28px rgba(47,63,105,.14)!important;
  background:linear-gradient(135deg,#fff,#fbf8ff)!important;
  transform:translateY(-1px);
}
.tri17-node.associated,
.tri17-cluster-grid .cards button.associated{
  border-color:#8bdabf!important;
  box-shadow:0 0 0 1px rgba(47,185,141,.22),0 10px 22px rgba(35,55,90,.08)!important;
  background:linear-gradient(135deg,#ffffff,#f4fff9)!important;
}
.tri17-node.dimmed,
.tri17-cluster-grid .cards button.dimmed{
  opacity:.42!important;
  filter:saturate(.65);
}
.tri17-node.active>span,
.tri17-cluster-grid .cards button.active>span{
  background:#674bdc!important;
  color:#fff!important;
}
.tri17-node.associated>span,
.tri17-cluster-grid .cards button.associated>span{
  background:#32b98d!important;
  color:#fff!important;
}
.tri17-map:has(.tri17-node.active) .tri17-stage svg path,
.tri17-map:has(.tri17-node.associated) .tri17-stage svg path{
  stroke-width:2.35!important;
  stroke-opacity:.55!important;
}
.tri17-clusters{
  padding-bottom:14px!important;
}
.tri17-cluster-grid{
  grid-template-columns:minmax(300px,1.02fr) minmax(520px,2.1fr) minmax(260px,.9fr)!important;
  align-items:stretch!important;
}
.tri17-cluster-grid .summary,
.tri17-cluster-grid .playbook{
  min-height:190px!important;
  height:100%!important;
}
.tri17-cluster-grid .cards{
  grid-auto-rows:1fr!important;
  align-items:stretch!important;
}
.tri17-cluster-grid .cards button{
  min-height:90px!important;
  height:100%!important;
}
.tri17-cluster-lower{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  margin-top:12px!important;
}
.tri17-cluster-lower article{
  min-height:116px!important;
  height:100%!important;
}
.tri17-cluster-lower article.full-recommendation{
  background:linear-gradient(135deg,#fff,#f7fbff)!important;
  border-color:#dfe7f2!important;
}
.tri17-layout main{
  gap:12px!important;
}
.tri17-map{
  align-self:start!important;
}
.tri17-stage{
  height:420px!important;
  min-height:420px!important;
}
.tri17-analytics{
  align-items:stretch!important;
}
.tri17-chart{
  position:relative!important;
  cursor:pointer!important;
  min-height:235px!important;
  height:235px!important;
  background:
    radial-gradient(circle at 20% 0%,rgba(103,75,220,.07),transparent 30%),
    linear-gradient(180deg,#fff,#fbfcff)!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease!important;
}
.tri17-chart:hover{
  transform:translateY(-2px);
  border-color:#ccd8ea!important;
  box-shadow:0 16px 36px rgba(27,43,74,.10)!important;
}
.tri17-chart:after{
  content:"Click to inspect";
  position:absolute;
  right:12px;
  bottom:9px;
  color:#654bd7;
  font-size:9px;
  font-weight:750;
  opacity:0;
  transition:opacity .16s ease;
}
.tri17-chart:hover:after{opacity:1}
.tri17-chart.line polyline.a,
.tri17-chart.line polyline.b{
  filter:drop-shadow(0 3px 3px rgba(45,70,120,.16));
}
.tri17-chart.donut svg circle:not(:last-of-type){
  filter:drop-shadow(0 5px 5px rgba(45,70,120,.10));
}
.tri17-chart.bars p i{
  box-shadow:inset 0 1px 1px rgba(30,45,75,.07);
}
.tri17-chart.bars p i b{
  background:linear-gradient(90deg,#4f7fe8,#7655dd)!important;
  box-shadow:0 4px 8px rgba(79,127,232,.18);
}
.tri17-drawer{
  width:min(820px,calc(100vw - 40px))!important;
  font-size:14.5px!important;
}
.tri17-drawer header h2{font-size:27px!important}
.tri17-drawer-body{gap:16px!important}
@media(max-width:1500px){
  .tri17-cluster-grid{
    grid-template-columns:1fr!important;
  }
  .tri17-cluster-lower{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* ============================================================================
   V18.1 — Audit Trail exact zRJ64.svg schematic and zone layout.
   ============================================================================ */
#ledger-v127-root[data-screen="audit"]{overflow-x:auto}
.audit181-root{min-width:1760px}
.audit181-layout{
  display:grid;
  grid-template-columns:305px minmax(0,1fr) 320px;
  gap:14px;
  align-items:start;
}
.audit181-layout>main{
  display:grid;
  gap:12px;
  min-width:0;
  align-content:start;
}
.audit181-map{overflow:hidden}
.audit181-map .tri17-map-tools span:nth-child(4):before{background:#6366F1}
.audit181-svg-shell{
  width:100%;
  background:#FAFBFC;
  border-top:1px solid #edf1f6;
  overflow:hidden;
}
.audit181-svg{
  display:block;
  width:100%;
  height:auto;
  min-height:620px;
}
.audit181-title{font:700 14px Inter,system-ui,sans-serif;fill:#0F172A}
.audit181-section{font:700 11px Inter,system-ui,sans-serif;fill:#64748B;letter-spacing:.04em}
.audit181-node-title{font:700 12px Inter,system-ui,sans-serif;fill:#0F172A}
.audit181-node-metric{font:600 11px Inter,system-ui,sans-serif;fill:#334155}
.audit181-node-sub{font:500 10px Inter,system-ui,sans-serif;fill:#64748B}
.audit181-badge{font:700 9px Inter,system-ui,sans-serif}
.audit181-badge.white{fill:#fff}.audit181-badge.indigo{fill:#4338CA}.audit181-badge.green{fill:#047857}.audit181-badge.purple{fill:#6D28D9}
.audit181-edge-label{font:600 10px Inter,system-ui,sans-serif;fill:#64748B}
.audit181-legend{font:500 10px Inter,system-ui,sans-serif;fill:#475569}
.audit181-legend.muted{fill:#94A3B8}
.audit181-story{font:600 10px Inter,system-ui,sans-serif;fill:#334155}
.audit181-story-sub{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}
.audit181-impact-title{font:700 12px Inter,system-ui,sans-serif;fill:#0F172A}
.audit181-impact-row{font:500 11px Inter,system-ui,sans-serif;fill:#334155}
.audit181-impact-delta{font:700 11px Inter,system-ui,sans-serif}
.audit181-impact-delta.good{fill:#047857}
.audit181-node,.audit181-scenario,.audit181-storyboard g,.audit181-impact-panel g{
  cursor:pointer;
  transition:opacity .16s ease,filter .16s ease,transform .16s ease;
}
.audit181-node:hover rect,
.audit181-node:focus rect,
.audit181-scenario:hover rect,
.audit181-scenario:focus rect,
.audit181-storyboard g:hover rect,
.audit181-storyboard g:focus rect{
  stroke-width:2.5;
  filter:drop-shadow(0 5px 10px rgba(37,57,98,.14));
}
.audit181-node.active rect{
  stroke:#4F46E5!important;
  stroke-width:3!important;
}
.audit181-node.associated rect{
  stroke:#10B981!important;
  stroke-width:2.4!important;
}
.audit181-node.dimmed{opacity:.34}
.audit181-scenario.active rect{
  stroke:#4F46E5!important;
  stroke-width:2.3!important;
}
.audit181-edge{transition:opacity .16s ease,stroke-width .16s ease}
.audit181-svg-shell:has(.audit181-node:hover) .audit181-edge{opacity:.48}
.audit181-right{
  display:grid;
  gap:11px;
  align-content:start;
}
.audit181-right section{
  background:#fff;
  border:1px solid #dfe7f2;
  border-radius:11px;
  padding:15px;
  box-shadow:0 1px 2px rgba(33,50,85,.025);
}
.audit181-right h3{
  margin:0 0 10px;
  color:#6046d4;
  font-size:14px;
  line-height:1.45;
}
.audit181-right p{
  margin:0;
  color:#52647c;
  font-size:12px;
  line-height:1.8;
}
.audit181-right button{
  width:100%;
  min-height:48px;
  display:grid;
  grid-template-columns:24px 1fr;
  gap:8px;
  align-items:center;
  border:0;
  border-bottom:1px solid #edf1f6;
  background:#fff;
  text-align:left;
}
.audit181-right button>span{
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f1edff;
  color:#6248d5;
  font-size:8px;
  font-weight:800;
}
.audit181-right button>b{
  color:#34465f;
  font-size:11px;
  line-height:1.45;
}
.audit181-right button>small{
  grid-column:2;
  margin-top:-7px;
  color:#718096;
  font-size:9px;
}
.audit181-role-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.audit181-role-grid div{
  padding:10px;
  border:1px solid #e6ecf4;
  border-radius:8px;
  background:#fbfcff;
}
.audit181-role-grid b{
  display:block;
  color:#263850;
  font-size:19px;
  line-height:1.2;
}
.audit181-role-grid span{
  color:#718096;
  font-size:9.5px;
}
.audit181-root .tri17-clusters{
  margin-top:0;
}
.audit181-root .tri17-analytics{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.audit181-root .tri17-analytics .tri17-chart:nth-child(5){
  grid-column:span 2;
}
.audit181-root .tri17-table table{
  min-width:1850px;
}
@media(max-width:1500px){
  .audit181-root{min-width:1600px}
  .audit181-layout{grid-template-columns:280px minmax(0,1fr) 300px}
  .audit181-svg{min-height:560px}
}


/* V18.2 — merge Audit visual analytics into the existing Audit drawer and suppress secondary V18 popup on Audit Trail. */
.audit182-merged-insight{
  display:grid;
  gap:13px;
  padding:16px;
  border:1px solid #dfe7f2;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#fbfcff);
}
.audit182-merged-insight h3{margin:0 0 8px;color:#1d2d47;font-size:17px;line-height:1.35}
.audit182-merged-insight p{margin:0;color:#4e6078;font-size:13.5px;line-height:1.85}
.audit182-signal-line{border:1px solid #e5ebf4;border-radius:11px;background:#fff;padding:8px}
.audit182-signal-line svg{width:100%;height:110px;display:block}
.audit182-signal-line line{stroke:#e8edf6;stroke-width:1}
.audit182-signal-line polyline{fill:none;stroke:#4f7fe8;stroke-width:3}
.audit182-signal-line polyline.risk{stroke:#e8636e;stroke-width:2.2;stroke-dasharray:5 4}
.audit182-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.audit182-kpis span{min-height:58px;padding:11px;border:1px solid #e3e9f2;border-radius:10px;background:#fbfcff;color:#66778f;font-size:11px}
.audit182-kpis b{display:block;margin-bottom:4px;color:#24364f;font-size:16px;line-height:1.3}
.audit182-note{font-size:12px!important;color:#718096!important}
#ledger-v127-root[data-screen="audit"] .v18-chart-chip{display:none!important}


/* ============================================================================
   V18.3 — Auto Category Rules exact LCQ1f.svg schematic and single-drawer UX.
   ============================================================================ */
#ledger-v127-root[data-screen="auto-category-rules"]{overflow-x:auto}
.rules183-root{min-width:1760px}
.rules183-layout{display:grid;grid-template-columns:305px minmax(0,1fr) 320px;gap:14px;align-items:start}
.rules183-layout>main{display:grid;gap:12px;min-width:0;align-content:start}
.rules183-map{overflow:hidden}
.rules183-map .tri17-map-tools span:nth-child(4):before{background:#CBD5E1}
.rules183-svg-shell{width:100%;background:#FAFBFC;border-top:1px solid #edf1f6;overflow:hidden}
.rules183-svg{display:block;width:100%;height:auto;min-height:650px}
.rules183-t{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.rules183-sec{font:700 10px Inter,system-ui,sans-serif;fill:#64748B;letter-spacing:.04em}.rules183-nt{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.rules183-nm{font:600 10px Inter,system-ui,sans-serif;fill:#334155}.rules183-ns{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.rules183-bd{font:700 9px Inter,system-ui,sans-serif}.rules183-lg{font:500 10px Inter,system-ui,sans-serif;fill:#475569}.rules183-st{font:600 10px Inter,system-ui,sans-serif;fill:#334155}.rules183-ss{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.rules183-lg.green,.rules183-nm.green{fill:#047857}.rules183-bd.white{fill:#fff}.rules183-bd.indigo{fill:#4338CA}.rules183-bd.green{fill:#047857}.rules183-bd.amber{fill:#B45309}.rules183-lg.muted{fill:#94A3B8}
.rules183-node,.rules183-chip,.rules183-scenario,.rules183-storyboard g,.rules183-svg [data-action]{cursor:pointer;transition:opacity .16s ease,filter .16s ease,transform .16s ease}
.rules183-node:hover rect,.rules183-node:focus rect,.rules183-chip:hover rect,.rules183-chip:focus rect,.rules183-scenario:hover rect,.rules183-scenario:focus rect,.rules183-storyboard g:hover rect,.rules183-storyboard g:focus rect{stroke-width:2.4;filter:drop-shadow(0 5px 10px rgba(37,57,98,.14))}
.rules183-node.active rect,.rules183-chip.active rect,.rules183-scenario.active rect{stroke:#4F46E5!important;stroke-width:3!important}.rules183-node.associated rect{stroke:#10B981!important;stroke-width:2.4!important}.rules183-node.dimmed{opacity:.34}
.rules183-right{display:grid;gap:11px;align-content:start}.rules183-right section{background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:15px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rules183-right h3{margin:0 0 10px;color:#6046d4;font-size:14px;line-height:1.45}.rules183-right p{margin:0;color:#52647c;font-size:12px;line-height:1.8}.rules183-right button{width:100%;min-height:48px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left}.rules183-right button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}.rules183-right button>b{color:#34465f;font-size:11px;line-height:1.45}.rules183-right button>small{grid-column:2;margin-top:-7px;color:#718096;font-size:9px}.rules183-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rules183-role-grid div{padding:10px;border:1px solid #e6ecf4;border-radius:8px;background:#fbfcff}.rules183-role-grid b{display:block;color:#263850;font-size:19px;line-height:1.2}.rules183-role-grid span{color:#718096;font-size:9.5px}
.rules183-root .tri17-clusters{margin-top:0}.rules183-root .tri17-analytics{grid-template-columns:repeat(5,minmax(0,1fr))}.rules183-root .tri17-table table{min-width:1780px}
@media(max-width:1500px){.rules183-root{min-width:1600px}.rules183-layout{grid-template-columns:280px minmax(0,1fr) 300px}.rules183-svg{min-height:590px}.rules183-root .tri17-analytics{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* ============================================================================
   V18.4 — Chart of Accounts qV6zg.svg schematic and zone layout.
   ============================================================================ */
#ledger-v127-root[data-screen="coa-governance"]{overflow-x:auto}
.coa184-root{min-width:1780px}
.coa184-layout{display:grid;grid-template-columns:305px minmax(0,1fr) 320px;gap:14px;align-items:start}
.coa184-layout>main{display:grid;gap:12px;min-width:0;align-content:start}
.coa184-map{overflow:hidden}
.coa184-map .tri17-map-tools span:nth-child(4):before{background:#F59E0B}
.coa184-svg-shell{width:100%;background:#FAFBFC;border-top:1px solid #edf1f6;overflow:hidden}
.coa184-svg{display:block;width:100%;height:auto;min-height:560px}
.coa184-t{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.coa184-sec{font:700 9px Inter,system-ui,sans-serif;fill:#64748B;letter-spacing:.05em}.coa184-nt{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.coa184-nm{font:600 10px Inter,system-ui,sans-serif;fill:#334155}.coa184-ns{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.coa184-bd{font:700 9px Inter,system-ui,sans-serif}.coa184-bd.red{fill:#F43F5E}.coa184-bd.amber{fill:#D97706}.coa184-bd.purple{fill:#6D28D9}.coa184-lg{font:500 10px Inter,system-ui,sans-serif;fill:#475569}.coa184-lg.muted{fill:#94A3B8}.coa184-st{font:600 10px Inter,system-ui,sans-serif;fill:#334155}.coa184-ss{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.coa184-gate{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}.coa184-gatev{font:600 10px Inter,system-ui,sans-serif;fill:#334155}
.coa184-edge{fill:none;stroke-width:1.4;transition:opacity .16s ease,stroke-width .16s ease}.coa184-edge.hierarchy{stroke:#3B82F6}.coa184-edge.hierarchy-purple{stroke:#8B5CF6}.coa184-edge.duplicate{stroke:#F43F5E;stroke-dasharray:4 3}.coa184-edge.policy{stroke:#F59E0B;stroke-dasharray:4 3}.coa184-edge.merge{stroke:#3B82F6;stroke-dasharray:5 3}.coa184-edge.merge-purple{stroke:#8B5CF6;stroke-dasharray:5 3}.coa184-edge.neutral{stroke:#94A3B8;stroke-width:1.1}.coa184-edge.fs{stroke:#10B981;stroke-width:1.2}
.coa184-node,.coa184-scenario,.coa184-chip{cursor:pointer;transition:opacity .16s ease,filter .16s ease,transform .16s ease}.coa184-node:hover rect,.coa184-node:focus rect,.coa184-scenario:hover rect,.coa184-chip:hover rect{stroke-width:2.5;filter:drop-shadow(0 5px 10px rgba(37,57,98,.14))}.coa184-node.active rect{stroke:#4F46E5!important;stroke-width:3!important}.coa184-node.associated rect{stroke:#10B981!important;stroke-width:2.4!important}.coa184-node.dimmed{opacity:.34}.coa184-scenario.active rect,.coa184-chip.active rect{stroke:#4F46E5!important;stroke-width:2.2!important}
.coa184-right{display:grid;gap:11px;align-content:start}.coa184-right section{background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:15px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.coa184-right h3{margin:0 0 10px;color:#6046d4;font-size:14px;line-height:1.45}.coa184-right p{margin:0;color:#52647c;font-size:12px;line-height:1.8}.coa184-right button{width:100%;min-height:48px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left}.coa184-right button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}.coa184-right button>b{color:#34465f;font-size:11px;line-height:1.45}.coa184-right button>small{grid-column:2;margin-top:-7px;color:#718096;font-size:9px}.coa184-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.coa184-role-grid div{padding:10px;border:1px solid #e6ecf4;border-radius:8px;background:#fbfcff}.coa184-role-grid b{display:block;color:#263850;font-size:19px;line-height:1.2}.coa184-role-grid span{color:#718096;font-size:9.5px}.coa184-root .tri17-clusters{margin-top:0}.coa184-root .tri17-analytics{grid-template-columns:repeat(4,minmax(0,1fr))}.coa184-root .tri17-analytics .tri17-chart:nth-child(5){grid-column:span 2}.coa184-root .tri17-table table{min-width:1900px}
@media(max-width:1500px){.coa184-root{min-width:1660px}.coa184-layout{grid-template-columns:280px minmax(0,1fr) 300px}.coa184-svg{min-height:510px}}


/* ============================================================================
   V18.5 — Accounting Profit & Loss SVG ProcessDiagram and single-drawer UX.
   Scoped to profit-loss route only; no global page layout changes.
   ============================================================================ */
#ledger-v127-root[data-screen="profit-loss"]{overflow-x:auto}
.pl185-root{min-width:1680px;background:#fbfcff;color:#172642;font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.pl185-main{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px;align-items:start}
.pl185-main>main{display:grid;gap:12px;min-width:0;align-content:start}
.pl185-ai{display:grid;gap:11px;align-content:start}
.pl185-ai section,.pl185-map,.pl185-analytics article,.pl185-table{background:#fff;border:1px solid #dfe7f2;border-radius:12px;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.pl185-ai section{padding:16px}.pl185-ai h3{margin:0 0 9px;color:#6046d4;font-size:14px}.pl185-ai p{margin:0;color:#52647c;font-size:12.5px;line-height:1.85}.pl185-ai button{width:100%;min-height:36px;margin-top:8px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6549d7;font-size:11px;font-weight:750}.pl185-mini{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pl185-mini span{padding:10px;border:1px solid #e6ecf4;border-radius:8px;background:#fbfcff;color:#718096;font-size:10px}.pl185-mini b{display:block;color:#24364f;font-size:16px;line-height:1.2;margin-bottom:4px}
.pl185-tabs{min-height:50px;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f6}.pl185-tabs>div,.pl185-tabs>aside{display:flex;align-items:center;gap:8px}.pl185-tabs>aside{justify-content:flex-end}.pl185-tabs button{height:36px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#52647c;padding:0 12px;font-size:12px;font-weight:750}.pl185-tabs button.active{background:#f1edff;color:#6046d4;border-color:#ddd6fa}.pl185-tabs label{display:flex;align-items:center;gap:8px;color:#52647c;font-size:12px;font-weight:700}.pl185-tabs input{accent-color:#10b981}
.pl185-svg-shell{overflow:hidden;background:#FAFBFC}.pl185-svg{display:block;width:100%;height:auto;min-height:620px}.pl185-title{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.pl185-lg{font:500 10px Inter,system-ui,sans-serif;fill:#64748B}.pl185-nt{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.pl185-nm{font:700 12px Inter,system-ui,sans-serif;fill:#0F172A}.pl185-ns{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.pl185-up{font:700 10px Inter,system-ui,sans-serif;fill:#059669}.pl185-dn{font:700 10px Inter,system-ui,sans-serif;fill:#E11D48}.pl185-wh{font:800 13px Inter,system-ui,sans-serif;fill:#F8FAFC}.pl185-bd{font:700 9px Inter,system-ui,sans-serif;fill:#4338CA}.pl185-st{font:700 11px Inter,system-ui,sans-serif;fill:#334155}
.pl185-edge{fill:none;stroke:#CBD5E1;stroke-width:1.6}.pl185-edge.identity{stroke:#94A3B8;stroke-width:1.7}.pl185-edge.identity.cost{stroke:#E11D48;stroke-opacity:.55}.pl185-edge.identity.dashed{stroke-dasharray:5 4}.pl185-node,.pl185-scenario{cursor:pointer;transition:opacity .16s ease,transform .16s ease,filter .16s ease}.pl185-node:hover rect,.pl185-node:focus rect,.pl185-scenario:hover rect,.pl185-scenario:focus rect{stroke-width:2.4;filter:drop-shadow(0 8px 14px rgba(37,57,98,.15))}.pl185-node.active rect{stroke:#4F46E5!important;stroke-width:3!important}.pl185-node.associated rect{stroke:#10B981!important;stroke-width:2.3!important}.pl185-node.dimmed{opacity:.34}.pl185-scenario.active rect{stroke:#4F46E5!important;stroke-width:2.3!important}
.pl185-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pl185-analytics article{min-height:190px;padding:14px;cursor:pointer}.pl185-analytics h3{margin:0 0 8px;color:#30435c;font-size:13px}.pl185-analytics p{margin:6px 0 0;color:#64758d;font-size:11px}.pl185-analytics svg{width:100%;height:105px}.pl185-analytics line{stroke:#e7ecf4}.pl185-analytics rect{fill:#4f7fe8;opacity:.82}.pl185-analytics article:nth-child(1) rect:nth-of-type(n+3){fill:#e9636e}.pl185-analytics polyline{fill:none;stroke:#4f7fe8;stroke-width:3}.pl185-analytics polyline.b{stroke:#10b981;stroke-dasharray:5 4}.pl185-analytics circle{fill:none;stroke:#10b981;stroke-width:12;stroke-dasharray:226}.pl185-analytics circle.b{stroke:#4f7fe8;stroke-dasharray:166 226;transform:rotate(-90deg);transform-origin:center}.pl185-analytics text{font:700 12px Inter,system-ui,sans-serif;fill:#24364f}.pl185-analytics article:nth-child(4) p{display:grid;grid-template-columns:120px 1fr;gap:8px;align-items:center;margin:8px 0}.pl185-analytics article:nth-child(4) i{height:8px;border-radius:8px;background:#edf1f6;overflow:hidden}.pl185-analytics article:nth-child(4) b{display:block;height:100%;background:#587fe6}
.pl185-table{overflow:hidden}.pl185-table header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #edf1f6}.pl185-table h3{margin:0;font-size:14px;color:#30435c}.pl185-table p{margin:2px 0 0;color:#718096;font-size:10px}.pl185-table header>div:last-child{display:flex;gap:8px}.pl185-table button{height:34px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#5c6d84;padding:0 10px;font-size:10.5px;font-weight:750}.pl185-table table{width:100%;border-collapse:collapse}.pl185-table th{background:#fbfcfe;border-bottom:1px solid #e7ecf3;color:#56677f;font-size:11px;text-align:left;padding:10px;white-space:nowrap}.pl185-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:11.5px;line-height:1.65;padding:10px;white-space:nowrap}.pl185-table tr{cursor:pointer}.pl185-table tr:hover td{background:#fbf9ff}.pl185-table td.money{font-weight:800;font-variant-numeric:tabular-nums}.pl185-table td.up{color:#059669;font-weight:800}
@media(max-width:1400px){.pl185-root{min-width:1560px}.pl185-main{grid-template-columns:280px minmax(0,1fr)}.pl185-svg{min-height:560px}.pl185-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ============================================================================
   V18.6 — Accounting Balance Sheet exact structure SVG and page layout.
   ============================================================================ */
#ledger-v127-root[data-screen="balance-sheet"]{overflow-x:auto}
.bs186-root{min-width:1740px;display:grid;gap:12px;background:#fbfcff}
.bs186-main{display:grid;grid-template-columns:305px minmax(0,1fr);gap:14px;align-items:start}
.bs186-main>main{display:grid;gap:12px;min-width:0;align-content:start}
.bs186-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.bs186-kpis button{min-height:88px;text-align:left;padding:14px;border:1px solid #dfe7f2;border-radius:11px;background:#fff;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.bs186-kpis span{display:block;color:#69798e;font-size:11px}.bs186-kpis strong{display:block;margin-top:7px;color:#20324d;font-size:22px}.bs186-kpis small{display:block;margin-top:4px;font-size:11px}.bs186-kpis small.up{color:#129767}.bs186-kpis small.down{color:#dc5c66}
.bs186-ai{display:grid;gap:11px}.bs186-ai section{padding:16px;background:#fff;border:1px solid #dfe7f2;border-radius:11px}.bs186-ai h3{margin:0 0 10px;color:#6046d4;font-size:15px}.bs186-ai p{margin:0;color:#52647c;font-size:13px;line-height:1.85}.bs186-ai button{width:100%;min-height:38px;margin-top:8px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6348d6;font-weight:760;font-size:11px;text-align:left;padding:0 11px}
.bs186-map{background:#fff;border:1px solid #dfe7f2;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.bs186-controls{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #edf1f6;background:#fff}.bs186-controls>div{display:flex;align-items:center;gap:12px}.bs186-controls b{color:#6046d4;font-size:13px}.bs186-controls span,.bs186-controls label{color:#64758d;font-size:11px}.bs186-controls>div span:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px;background:#10B981}.bs186-controls>div span:nth-child(3):before{background:#F43F5E}.bs186-controls>div span:nth-child(4):before{background:#94A3B8}.bs186-controls>div span:nth-child(5):before{background:#F59E0B}.bs186-controls aside{display:flex;align-items:center;gap:7px}.bs186-controls button{height:34px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#53647b;padding:0 11px;font-weight:760;font-size:11px}.bs186-controls button.active{background:#684fdb;border-color:#684fdb;color:#fff}
.bs186-svg-shell{width:100%;overflow:hidden;background:#FAFBFC}.bs186-svg{display:block;width:100%;height:auto;min-height:620px}.bs186-title{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.bs186-lg{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.bs186-nt{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}.bs186-nm{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}.bs186-fl{font:500 8px Inter,system-ui,sans-serif;fill:#64748B}.bs186-up{font:600 8px Inter,system-ui,sans-serif;fill:#059669}.bs186-dn{font:600 8px Inter,system-ui,sans-serif;fill:#E11D48}.bs186-st{font:700 10px Inter,system-ui,sans-serif;fill:#334155}.bs186-ht{font:700 9px Inter,system-ui,sans-serif;fill:#0F172A}.bs186-branch{fill:none;stroke-width:1.3}.bs186-branch.asset{stroke:#BBF7D0}.bs186-branch.liab{stroke:#BFDBFE}.bs186-branch.equity{stroke:#DDD6FE}
.bs186-node,.bs186-chart,[data-action="bs186-health"]{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.bs186-node:hover rect,.bs186-node:focus rect,.bs186-chart:hover rect,[data-action="bs186-health"]:hover rect{stroke-width:2.2;filter:drop-shadow(0 5px 10px rgba(37,57,98,.14))}.bs186-node.active rect{stroke:#4F46E5!important;stroke-width:2.6!important}.bs186-node.associated rect{stroke:#10B981!important;stroke-width:2.1!important}.bs186-node.dimmed{opacity:.36}
.bs186-table{background:#fff;border:1px solid #dfe7f2;border-radius:12px;overflow:hidden}.bs186-table header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #edf1f6}.bs186-table h3{margin:0;font-size:15px;color:#263850}.bs186-table p{margin:3px 0 0;color:#718096;font-size:11px}.bs186-table header div:last-child{display:flex;gap:8px}.bs186-table header button{height:34px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#5a6b83;padding:0 10px;font-weight:740;font-size:11px}.bs186-table .scroll{overflow:auto}.bs186-table table{width:100%;min-width:1320px;border-collapse:collapse}.bs186-table th{background:#fbfcfe;border-bottom:1px solid #e7ecf3;color:#56677f;font-size:11px;font-weight:760;text-align:left;padding:10px;white-space:nowrap}.bs186-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:11.5px;line-height:1.65;padding:10px;white-space:nowrap}.bs186-table tr{cursor:pointer}.bs186-table tr:hover td{background:#fbf9ff}.bs186-table td.money{font-variant-numeric:tabular-nums;font-weight:760;color:#273a55}
@media(max-width:1500px){.bs186-root{min-width:1620px}.bs186-main{grid-template-columns:280px minmax(0,1fr)}.bs186-svg{min-height:560px}}


/* ============================================================================
   V18.7 — Accounting Recurring Entries wu295 SVG ProcessDiagram.
   ============================================================================ */
#ledger-v127-root[data-screen="recurring"]{overflow-x:auto}
.rec187-root{min-width:1760px}
.rec187-main{display:grid;grid-template-columns:305px minmax(0,1fr);gap:14px;align-items:start;margin:12px 0}.rec187-main>main{display:grid;gap:12px;min-width:0}.rec187-ai{display:grid;gap:12px}.rec187-ai section{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rec187-ai h3{margin:0 0 10px;color:#6046d4;font-size:14px;line-height:1.45}.rec187-ai p{margin:0;color:#52647c;font-size:13px;line-height:1.85}.rec187-ai button{margin-top:12px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6248d5;font-size:12px;font-weight:800;padding:9px 10px}.rec187-ai div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rec187-ai span{border:1px solid #e5ebf4;border-radius:9px;padding:10px;background:#fbfcff;color:#64748b;font-size:10px}.rec187-ai b{display:block;color:#273a55;font-size:19px;line-height:1.2}.rec187-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.rec187-kpis button{text-align:left;min-height:82px;border:1px solid #dfe7f2;border-radius:12px;background:#fff;padding:13px;box-shadow:0 1px 2px rgba(33,50,85,.025);cursor:pointer}.rec187-kpis button:hover{border-color:#c7d2fe;box-shadow:0 10px 28px rgba(51,80,150,.10)}.rec187-kpis strong{display:block;color:#24364f;font-size:23px;line-height:1.2}.rec187-kpis span{display:block;margin-top:5px;color:#34465f;font-size:12px;font-weight:760}.rec187-kpis small{display:block;margin-top:4px;color:#718096;font-size:10px}.rec187-map{background:#fff;border:1px solid #dfe7f2;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rec187-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f6;background:#fff}.rec187-tabs button{height:34px;border:0;border-radius:8px;background:#f5f7fa;color:#5c6d84;font-size:12px;font-weight:800;padding:0 14px}.rec187-tabs button.active{background:#f1edff;color:#6348d6}.rec187-tabs aside{display:flex;align-items:center;gap:8px}.rec187-tabs aside span{color:#64748b;font-size:12px;font-weight:650}.rec187-svg-shell{width:100%;background:#FAFBFC;overflow:hidden}.rec187-svg{display:block;width:100%;height:auto;min-height:650px}.rec187-click-layer rect{fill:transparent;stroke:transparent;pointer-events:all;cursor:pointer}.rec187-click-layer rect:hover{stroke:#4F46E5;stroke-width:3;fill:rgba(99,102,241,.07)}.rec187-click-layer rect.active{stroke:#4F46E5;stroke-width:3;fill:rgba(99,102,241,.10)}.rec187-click-layer rect.associated{stroke:#10B981;stroke-width:2;fill:rgba(16,185,129,.06)}.rec187-click-layer rect.dimmed{opacity:.75}.rec187-click-layer rect.lane:hover,.rec187-click-layer rect.panel:hover{fill:rgba(99,102,241,.05);stroke:#818CF8;stroke-width:2}.rec187-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;margin-top:12px}.rec187-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f6}.rec187-table h3{margin:0;color:#1d2d47;font-size:14px}.rec187-table p{margin:4px 0 0;color:#718096;font-size:11px}.rec187-table button{border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6248d5;font-size:11px;font-weight:800;padding:8px 10px}.rec187-table .scroll{overflow:auto}.rec187-table table{width:100%;min-width:1650px;border-collapse:collapse}.rec187-table th{background:#fbfcff;border-bottom:1px solid #edf1f6;color:#51627a;font-size:10px;text-align:left;padding:10px;white-space:nowrap}.rec187-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:11.5px;line-height:1.65;padding:10px;white-space:nowrap}.rec187-table tr{cursor:pointer}.rec187-table tr:hover td{background:#fbf9ff}.rec187-table td.money{font-variant-numeric:tabular-nums;font-weight:760;color:#273a55}
@media(max-width:1500px){.rec187-root{min-width:1600px}.rec187-main{grid-template-columns:280px minmax(0,1fr)}.rec187-svg{min-height:590px}.rec187-kpis{grid-template-columns:repeat(3,1fr)}}


/* ============================================================================
   V18.8 — Accounting Revenue Recognition Structure Map.
   ============================================================================ */
.rr188-root{min-width:1840px}
.rr188-main{display:grid;grid-template-columns:305px minmax(0,1fr) 310px;gap:14px;align-items:start;margin:12px 0}.rr188-main>main{display:grid;gap:12px;min-width:0}.rr188-ai,.rr188-right{display:grid;gap:12px;align-content:start}.rr188-ai section,.rr188-right section{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rr188-ai h3,.rr188-right h3{margin:0 0 10px;color:#6046d4;font-size:14px;line-height:1.45}.rr188-ai p,.rr188-right p{margin:0;color:#52647c;font-size:13px;line-height:1.85}.rr188-ai button{margin-top:12px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6248d5;font-size:12px;font-weight:800;padding:9px 10px}.rr188-ai div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rr188-ai span{border:1px solid #e5ebf4;border-radius:9px;padding:10px;background:#fbfcff;color:#64748b;font-size:10px}.rr188-ai b{display:block;color:#273a55;font-size:19px;line-height:1.2}.rr188-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.rr188-kpis button{text-align:left;min-height:82px;border:1px solid #dfe7f2;border-radius:12px;background:#fff;padding:13px;box-shadow:0 1px 2px rgba(33,50,85,.025);cursor:pointer}.rr188-kpis button:hover{border-color:#c7d2fe;box-shadow:0 10px 28px rgba(51,80,150,.10)}.rr188-kpis strong{display:block;color:#24364f;font-size:23px;line-height:1.2}.rr188-kpis span{display:block;margin-top:5px;color:#34465f;font-size:12px;font-weight:760}.rr188-kpis small{display:block;margin-top:4px;color:#718096;font-size:10px}.rr188-map{background:#fff;border:1px solid #dfe7f2;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rr188-map>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f6}.rr188-map h3{margin:0;color:#1d2d47;font-size:15px}.rr188-map p{margin:4px 0 0;color:#718096;font-size:11px}.rr188-map-tools{display:flex;align-items:center;gap:12px;color:#65758d;font-size:10px;font-weight:760}.rr188-map-tools span{position:relative;padding-left:30px}.rr188-map-tools span:before{content:"";position:absolute;left:0;top:7px;width:22px;height:3px;border-radius:2px;background:#10B981}.rr188-map-tools span:nth-child(2):before{background:#3B82F6}.rr188-map-tools span:nth-child(3):before{background:#8B5CF6}.rr188-map-tools strong{border:1px solid #ddd6fa;background:#faf8ff;color:#6248d5;border-radius:999px;padding:6px 10px}.rr188-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #edf1f6;background:#fff}.rr188-tabs button{height:34px;border:0;border-radius:8px;background:#f5f7fa;color:#5c6d84;font-size:12px;font-weight:800;padding:0 14px}.rr188-tabs button.active{background:#f1edff;color:#6348d6}.rr188-tabs aside{display:flex;align-items:center;gap:8px}.rr188-tabs aside span{color:#64748b;font-size:12px;font-weight:650}.rr188-svg-shell{width:100%;background:#FAFBFC;overflow:hidden}.rr188-svg{display:block;width:100%;height:auto;min-height:455px}.rr188-click-layer rect{fill:transparent;stroke:transparent;pointer-events:all;cursor:pointer}.rr188-click-layer rect:hover{stroke:#4F46E5;stroke-width:3;fill:rgba(99,102,241,.07)}.rr188-click-layer rect.active{stroke:#4F46E5;stroke-width:3;fill:rgba(99,102,241,.10)}.rr188-click-layer rect.associated{stroke:#10B981;stroke-width:2;fill:rgba(16,185,129,.06)}.rr188-click-layer rect.dimmed{opacity:.76}.rr188-click-layer rect.identity:hover{stroke:#818CF8;stroke-width:2;fill:rgba(99,102,241,.05)}.rr188-identity{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 14px;border-top:1px solid #edf1f6;background:#fff}.rr188-identity b{color:#1d2d47;font-size:12px}.rr188-identity span{border:1px solid #e6ecf4;border-radius:999px;background:#fbfcff;color:#64748b;font-size:10px;padding:5px 9px}.rr188-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rr188-analytics button{min-height:122px;text-align:left;border:1px solid #dfe7f2;border-radius:12px;background:#fff;padding:14px;cursor:pointer;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rr188-analytics button:hover{border-color:#c7d2fe;box-shadow:0 10px 28px rgba(51,80,150,.10)}.rr188-analytics b{display:block;color:#1d2d47;font-size:13px;margin-bottom:5px}.rr188-analytics span{display:block;color:#64748b;font-size:11px;line-height:1.55}.rr188-analytics svg{width:100%;height:45px;margin-top:10px}.rr188-analytics path{fill:none;stroke:#3B82F6;stroke-width:3}.rr188-analytics circle{fill:#3B82F6}.rr188-right button{width:100%;min-height:48px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left}.rr188-right button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}.rr188-right button>b{color:#34465f;font-size:11px;line-height:1.45}.rr188-right button>small{grid-column:2;margin-top:-7px;color:#718096;font-size:9px}.rr188-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rr188-role-grid div{padding:10px;border:1px solid #e6ecf4;border-radius:8px;background:#fbfcff}.rr188-role-grid b{display:block;color:#263850;font-size:18px;line-height:1.2}.rr188-role-grid span{color:#718096;font-size:9.5px}.rr188-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;margin-top:12px}.rr188-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f6}.rr188-table h3{margin:0;color:#1d2d47;font-size:14px}.rr188-table p{margin:4px 0 0;color:#718096;font-size:11px}.rr188-table button{border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6248d5;font-size:11px;font-weight:800;padding:8px 10px}.rr188-table .scroll{overflow:auto}.rr188-table table{width:100%;min-width:1700px;border-collapse:collapse}.rr188-table th{background:#fbfcff;border-bottom:1px solid #edf1f6;color:#51627a;font-size:10px;text-align:left;padding:10px;white-space:nowrap}.rr188-table td{border-bottom:1px solid #eef2f6;color:#40536c;font-size:11.5px;line-height:1.65;padding:10px;white-space:nowrap}.rr188-table tr{cursor:pointer}.rr188-table tr:hover td{background:#fbf9ff}.rr188-table td.money{font-variant-numeric:tabular-nums;font-weight:760;color:#273a55}.rr188-table td.high{color:#e11d48;font-weight:800}.rr188-table td.medium{color:#b45309;font-weight:800}.rr188-table td.low{color:#047857;font-weight:800}
@media(max-width:1500px){.rr188-root{min-width:1660px}.rr188-main{grid-template-columns:280px minmax(0,1fr) 290px}.rr188-svg{min-height:420px}.rr188-kpis{grid-template-columns:repeat(3,1fr)}}


/* ============================================================================
   V18.9 — Accounting Chart of Accounts Mapping & Quality SVG implementation.
   ============================================================================ */
.acctcoa189-root{min-width:1780px;--coa-border:#DFE7F2;--coa-text:#263850;--coa-muted:#64748B;--coa-purple:#6248D5}
.acctcoa189-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:10px 0 12px}
.acctcoa189-kpis button{min-height:82px;text-align:left;border:1px solid var(--coa-border);border-radius:11px;background:#fff;padding:13px 14px;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.acctcoa189-kpis strong{display:block;color:#17233C;font-size:22px;line-height:1.1;margin-bottom:6px}.acctcoa189-kpis span{display:block;color:#40536C;font-size:12px;font-weight:800}.acctcoa189-kpis small{display:block;color:#718096;font-size:10px;margin-top:4px}
.acctcoa189-main{display:grid;grid-template-columns:305px minmax(0,1fr) 300px;gap:14px;align-items:start}.acctcoa189-main>main{display:grid;gap:12px;min-width:0;align-content:start}
.acctcoa189-ai{display:grid;gap:10px}.acctcoa189-ai section,.acctcoa189-right section{background:#fff;border:1px solid var(--coa-border);border-radius:11px;padding:15px;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.acctcoa189-ai h3,.acctcoa189-right h3{margin:0 0 10px;color:var(--coa-purple);font-size:14px;line-height:1.35}.acctcoa189-ai p,.acctcoa189-right p{margin:0;color:#52647C;font-size:12px;line-height:1.8}.acctcoa189-ai button{margin-top:12px;border:1px solid #DED7FB;background:#FAF8FF;color:#6248D5;border-radius:9px;height:36px;padding:0 12px;font-weight:800;font-size:12px}.acctcoa189-ai div{display:inline-grid;width:calc(50% - 4px);margin:0 4px 8px 0;padding:10px;border:1px solid #E6ECF4;border-radius:8px;background:#FBFCFF}.acctcoa189-ai b{font-size:20px;color:#263850;line-height:1.1}.acctcoa189-ai span{font-size:9.5px;color:#718096}
.acctcoa189-map{background:#fff;border:1px solid var(--coa-border);border-radius:12px;overflow:hidden}.acctcoa189-map>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #EDF1F6;background:#fff}.acctcoa189-map h3{margin:0;color:#1D2D47;font-size:16px}.acctcoa189-map p{margin:4px 0 0;color:#718096;font-size:11px}.acctcoa189-map>header>div:last-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.acctcoa189-map>header span{color:#64748B;font-size:10px}.acctcoa189-map>header button,.acctcoa189-tabs button,.acctcoa189-table button,.acctcoa189-right button{border:1px solid #DED7FB;background:#FAF8FF;color:#6248D5;border-radius:8px;min-height:32px;padding:0 11px;font-size:11px;font-weight:800}
.acctcoa189-tabs{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #EDF1F6;background:#FBFCFF}.acctcoa189-tabs>button{background:#F5F7FA;color:#5C6D84;border-color:#EBEFF5}.acctcoa189-tabs>button.active,.acctcoa189-tabs aside button.active{background:#F1EDFF;color:#6348D6;border-color:#DED7FB}.acctcoa189-tabs aside{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.acctcoa189-tabs aside span{font-size:10px;color:#64748B;font-weight:700}
.acctcoa189-svg-shell{width:100%;background:#FAFBFC;overflow:hidden}.acctcoa189-svg{display:block;width:100%;height:auto;min-height:520px}.acctcoa189-click-layer rect{fill:rgba(99,102,241,0);stroke:rgba(99,102,241,0);stroke-width:0;cursor:pointer;pointer-events:all;transition:fill .15s ease,stroke .15s ease,opacity .15s ease}.acctcoa189-click-layer rect:hover,.acctcoa189-click-layer rect:focus{fill:rgba(99,102,241,.08);stroke:#6366F1;stroke-width:2}.acctcoa189-click-layer rect.active{fill:rgba(99,102,241,.12);stroke:#4F46E5;stroke-width:3}.acctcoa189-click-layer rect.associated{fill:rgba(16,185,129,.07);stroke:#10B981;stroke-width:1.6}.acctcoa189-click-layer rect.dimmed{opacity:.35}
.acctcoa189-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.acctcoa189-analytics button{text-align:left;min-height:138px;border:1px solid var(--coa-border);border-radius:11px;background:#fff;padding:13px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.acctcoa189-analytics h4{margin:0 0 6px;color:#1D2D47;font-size:13px}.acctcoa189-analytics p{margin:0;color:#64748B;font-size:11px;line-height:1.55}.acctcoa189-analytics svg{display:block;width:100%;height:58px;margin-top:8px}.acctcoa189-right{display:grid;gap:10px;align-content:start}.acctcoa189-right button{width:100%;display:grid;grid-template-columns:66px 1fr;gap:8px;align-items:center;text-align:left;background:#fff;border-color:#EDF1F6;border-radius:0;border-width:0 0 1px 0;padding:10px 2px;color:#34465F}.acctcoa189-right strong{font-size:24px;line-height:1;color:#059669}.acctcoa189-right span,.acctcoa189-right b{font-size:11px;color:#34465F}.acctcoa189-right small{grid-column:2;color:#718096;font-size:9.5px;margin-top:-5px}.acctcoa189-right i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#F1EDFF;color:#6248D5;font-style:normal;font-size:9px;font-weight:900}
.acctcoa189-table{margin-top:12px;background:#fff;border:1px solid var(--coa-border);border-radius:12px;overflow:hidden}.acctcoa189-table header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;border-bottom:1px solid #EDF1F6}.acctcoa189-table h3{margin:0;color:#1D2D47;font-size:15px}.acctcoa189-table p{margin:4px 0 0;color:#718096;font-size:11px}.acctcoa189-table header>div:last-child{display:flex;gap:8px}.acctcoa189-table .scroll{overflow:auto}.acctcoa189-table table{width:100%;min-width:1200px;border-collapse:collapse}.acctcoa189-table th{background:#FBFCFF;color:#64748B;font-size:10px;text-align:left;padding:10px 12px;border-bottom:1px solid #EDF1F6}.acctcoa189-table td{padding:11px 12px;border-bottom:1px solid #EDF1F6;color:#34465F;font-size:12px}.acctcoa189-table td button{min-height:30px}
.acctcoa189-root .rem15-overlay{width:min(820px,calc(100vw - 34px))}.acctcoa189-root .rem15-filters{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1500px){.acctcoa189-root{min-width:1600px}.acctcoa189-main{grid-template-columns:285px minmax(0,1fr) 285px}.acctcoa189-svg{min-height:470px}.acctcoa189-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* ============================================================================
   V19.1 — Expenses & AP / Expense Claims + AP Bills SVG ProcessDiagram.
   ============================================================================ */
#ledger-v127-root[data-screen="claims"],#ledger-v127-root[data-screen="bills"]{overflow-x:auto}
.ap191-root{min-width:1760px}
.ap191-head h1{letter-spacing:-.02em}.ap191-filters{grid-template-columns:repeat(5,minmax(170px,1fr)) auto auto}
.ap191-kpis button strong{font-size:23px}.ap191-tabs{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:10px;margin:0 0 12px}.ap191-tabs>button{height:36px;border:0;border-radius:9px;padding:0 14px;background:#f5f7fb;color:#53647c;font-weight:800}.ap191-tabs>button.active{background:#f1edff;color:#6046d4}.ap191-tabs aside{margin-left:auto;display:flex;gap:7px;align-items:center}.ap191-tabs aside span{font-size:11px;color:#718096}.ap191-tabs aside button{height:32px;border:1px solid #dfe7f2;border-radius:8px;background:#fff;color:#52647c;font-weight:800;font-size:11px;padding:0 10px}.ap191-tabs aside button.active{background:#6046d4;color:#fff;border-color:#6046d4}.ap191-main{display:grid;grid-template-columns:305px minmax(0,1fr) 320px;gap:14px;align-items:start}.ap191-main>main{display:grid;gap:12px;min-width:0}.ap191-map{background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;box-shadow:0 1px 2px rgba(33,50,85,.025)}.ap191-map header{display:flex;justify-content:space-between;gap:15px;padding:14px 16px;border-bottom:1px solid #edf1f6}.ap191-map h3{margin:0;color:#253850;font-size:15px}.ap191-map p{margin:4px 0 0;color:#6b7c92;font-size:11px}.ap191-map-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ap191-map-tools span{font-size:10px;color:#65758d}.ap191-map-tools span:before{content:"";display:inline-block;width:20px;height:3px;border-radius:999px;background:#6366F1;margin-right:6px;vertical-align:middle}.ap191-map-tools span:nth-child(2):before{background:#4F46E5}.ap191-map-tools span:nth-child(3):before{background:#F59E0B}.ap191-map-tools span:nth-child(4):before{background:#F43F5E}.ap191-map-tools button{height:30px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6046d4;font-weight:800;font-size:11px;padding:0 10px}.ap191-svg-shell{background:#FAFBFC;overflow:hidden}.ap191-svg-shell svg{display:block;width:100%;height:auto;min-height:585px}.ap191-click-layer rect{fill:transparent;stroke:transparent;cursor:pointer;pointer-events:all;transition:fill .16s ease,stroke .16s ease,opacity .16s ease}.ap191-click-layer rect:hover,.ap191-click-layer rect:focus{fill:rgba(99,102,241,.05);stroke:#6046d4;stroke-width:2.5}.ap191-click-layer rect.active{fill:rgba(99,102,241,.08);stroke:#6046d4;stroke-width:3}.ap191-click-layer rect.associated{fill:rgba(16,185,129,.06);stroke:#10B981;stroke-width:2}.ap191-click-layer rect.dimmed{opacity:.16}.ap191-click-layer rect.identity{stroke:#dfe7f2;stroke-width:1}.ap191-ai,.ap191-right{display:grid;gap:11px;align-content:start}.ap191-ai section,.ap191-right section{background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:15px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.ap191-ai h3,.ap191-right h3{margin:0 0 10px;color:#6046d4;font-size:14px;line-height:1.45}.ap191-ai p,.ap191-right p{margin:0;color:#52647c;font-size:12px;line-height:1.8}.ap191-ai button{margin-top:11px;height:34px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6046d4;font-weight:800}.ap191-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ap191-summary span,.ap191-role-grid div{padding:10px;border:1px solid #e6ecf4;border-radius:8px;background:#fbfcff;color:#718096;font-size:10px}.ap191-summary b,.ap191-role-grid b{display:block;color:#263850;font-size:18px}.ap191-right button{width:100%;min-height:48px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left}.ap191-right button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:8px;font-weight:800}.ap191-right button>b{color:#34465f;font-size:11px;line-height:1.45}.ap191-right button>small{grid-column:2;margin-top:-7px;color:#718096;font-size:9px}.ap191-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ap191-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ap191-analytics article{background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:14px;min-height:112px}.ap191-analytics h3{margin:0 0 8px;color:#253850;font-size:13px}.ap191-analytics p{margin:0;color:#53647c;font-size:11px;line-height:1.8}.ap191-table{margin-top:14px;background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden}.ap191-table header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1f6}.ap191-table h3{margin:0;color:#253850;font-size:15px}.ap191-table p{margin:3px 0 0;color:#718096;font-size:11px}.ap191-table header button{height:32px;border:1px solid #ddd6fa;border-radius:8px;background:#faf8ff;color:#6046d4;font-weight:800;margin-left:8px}.ap191-table-scroll{overflow:auto}.ap191-table table{width:100%;border-collapse:separate;border-spacing:0;min-width:1280px}.ap191-table th{background:#f7f9fc;color:#53647c;font-size:11px;text-align:left;padding:12px;border-bottom:1px solid #edf1f6}.ap191-table td{padding:12px;color:#34465f;border-bottom:1px solid #edf1f6;font-size:12px}.ap191-table td.money{font-weight:850;color:#1f3048}.ap191-table td button{border:0;background:#f1edff;color:#6046d4;border-radius:8px;padding:7px 10px;font-weight:800}.ap191-table tbody tr{cursor:pointer}.ap191-table tbody tr:hover td{background:#fbfcff}
@media(max-width:1500px){.ap191-root{min-width:1600px}.ap191-main{grid-template-columns:280px minmax(0,1fr) 300px}.ap191-svg-shell svg{min-height:540px}}

.ap191-hide-amounts .ap191-svg-shell .amt{opacity:0}.ap191-hide-amounts .ap191-table th:nth-child(4),.ap191-hide-amounts .ap191-table td:nth-child(4){display:none}


/* ============================================================================
   V19.1 — AP & Vendor Bills exact vendor bills schematic.
   ============================================================================ */
.ap191v-root .ap191-head h1{letter-spacing:-.02em}
.ap191v-filters{grid-template-columns:repeat(6,minmax(130px,1fr)) auto auto}
.ap191v-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ap191v-chiprow{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-right:8px}
.ap191v-chiprow button{min-height:30px;border:1px solid #dfe7f2;background:#fff;border-radius:999px;padding:0 10px;font-size:10px;color:#52647c;font-weight:800}
.ap191v-chiprow button.active{background:#f1edff;color:#6248d5;border-color:#ddd6fe}
.ap191v-main{grid-template-columns:300px minmax(980px,1fr) 310px}
.ap191v-map{overflow:hidden}
.ap191v-svg-shell{overflow:hidden;background:#FAFBFC}
.ap191v-svg-shell svg{display:block;width:100%;height:auto;min-height:430px}
.ap191v-t{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}
.ap191v-lg{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}
.ap191v-hd{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}
.ap191v-n{font:600 10px Inter,system-ui,sans-serif;fill:#0F172A}
.ap191v-amt{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}
.ap191v-ok{font:600 9px Inter,system-ui,sans-serif;fill:#047857}
.ap191v-warn{font:600 9px Inter,system-ui,sans-serif;fill:#B45309}
.ap191v-badge{font:700 9px Inter,system-ui,sans-serif;fill:#fff}
.ap191v-tot{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}
.ap191v-red{font:700 10px Inter,system-ui,sans-serif;fill:#E11D48}
.ap191v-grn{font:700 11px Inter,system-ui,sans-serif;fill:#059669}
.ap191v-edge{fill:none;stroke-width:1.5;stroke-dasharray:5 4;pointer-events:none;opacity:.9}
.ap191v-edge.ai{stroke:#6366F1}.ap191v-edge.purple{stroke:#7C3AED}.ap191v-edge.amber{stroke:#F59E0B}.ap191v-edge.red{stroke:#F43F5E}.ap191v-edge.green{stroke:#10B981}.ap191v-edge.solid{stroke-dasharray:none;stroke-width:2}
.ap191v-node{cursor:pointer;transition:opacity .16s ease,filter .16s ease}
.ap191v-node>rect:first-child{transition:stroke-width .16s ease,stroke .16s ease,filter .16s ease}
.ap191v-node:hover>rect:first-child,.ap191v-node:focus>rect:first-child{stroke-width:2.4;filter:drop-shadow(0 5px 9px rgba(37,57,98,.14))}
.ap191v-node.active>rect:first-child{stroke:#4F46E5!important;stroke-width:2.8!important}
.ap191v-node.associated>rect:first-child{stroke:#10B981!important;stroke-width:2!important}
.ap191v-node.dimmed{opacity:.36}
.ap191v-table table{min-width:1280px}
.ap191v-table .risk-high{color:#E11D48;font-weight:800}
.ap191v-analytics article{min-height:132px}
.ap191v-root.ap191-hide-amounts .ap191v-amt,
.ap191v-root.ap191-hide-amounts .ap191v-tot,
.ap191v-root.ap191-hide-amounts .money,
.ap191v-root.ap191-hide-amounts .ap191v-grn,
.ap191v-root.ap191-hide-amounts .ap191v-red{visibility:hidden}
@media(max-width:1500px){.ap191v-root{min-width:1640px}.ap191v-main{grid-template-columns:285px minmax(960px,1fr) 300px}.ap191v-svg-shell svg{min-height:390px}}


/* ============================================================================
   V19.3 — Accounts Receivable (AR) & Collections / AR Aging.
   ============================================================================ */
.ar193-root{min-width:1780px;color:#263850}
.ar193-head{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;padding:18px 20px;background:#fff;border:1px solid #dfe7f2;border-radius:14px;margin:0 0 12px;position:relative}
.ar193-head h1{margin:0;color:#10213b;font-size:24px;line-height:1.2;font-weight:800}.ar193-head p{margin:7px 0 0;color:#5b6f8b;font-size:14px}.ar193-version{justify-self:end;align-self:start;border-radius:999px;background:#edf2f7;color:#38506f;font-weight:800;font-size:12px;padding:7px 11px}.ar193-roles{grid-column:1/-1;display:flex;gap:9px}.ar193-roles button,.ar193-tabs button,.ar193-map-tools button,.ar193-table button,.ar193-right button,.ar193-ai button{border:1px solid #dfe7f2;background:#fff;color:#52647c;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}.ar193-roles button.active,.ar193-tabs button.active{background:#6d4ce7;color:#fff;border-color:#6d4ce7}.ar193-filters{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr)) auto auto;gap:9px;background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:14px;margin-bottom:12px}.ar193-filters label{display:grid;gap:6px}.ar193-filters span{font-size:11px;color:#667894;font-weight:800}.ar193-filters select{border:1px solid #dfe7f2;border-radius:8px;padding:10px;background:#fff;color:#40536e}.ar193-filters button{border-radius:8px;border:1px solid #dfe7f2;background:#fff;font-weight:800;color:#52647c}.ar193-filters .apply{background:#6d4ce7;color:#fff;border-color:#6d4ce7}.ar193-kpis{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;margin-bottom:12px}.ar193-kpis button{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:14px;text-align:left;min-height:92px;cursor:pointer}.ar193-kpis span{display:block;color:#667894;font-size:11px;font-weight:800}.ar193-kpis strong{display:block;margin-top:8px;color:#263850;font-size:22px}.ar193-kpis small{display:block;margin-top:8px;color:#718096}.ar193-kpis .risk strong,.ar193-kpis .down strong{color:#e11d48}.ar193-kpis .warn strong{color:#d97706}.ar193-kpis .up strong{color:#059669}.ar193-tabs{display:grid;grid-template-columns:auto auto auto auto 1fr auto auto auto;gap:8px;margin-bottom:12px}.ar193-tabs span{display:block}.ar193-main{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.ar193-ai,.ar193-right{display:grid;gap:11px}.ar193-ai section,.ar193-right section{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:15px}.ar193-ai h3,.ar193-right h3{margin:0 0 10px;color:#6046d4;font-size:14px}.ar193-ai p,.ar193-right p{margin:0;color:#52647c;font-size:12px;line-height:1.75}.ar193-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ar193-summary span,.ar193-role-grid div{display:block;padding:10px;background:#fbfcff;border:1px solid #e7edf5;border-radius:9px;color:#718096;font-size:10px}.ar193-summary b,.ar193-role-grid b{display:block;color:#263850;font-size:17px}.ar193-right button{width:100%;display:grid;grid-template-columns:24px 1fr;gap:8px;text-align:left;align-items:center;border:0;border-bottom:1px solid #edf1f6;border-radius:0}.ar193-right button>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f1edff;color:#6248d5;font-size:10px;font-weight:800}.ar193-right button>b{font-size:11px;color:#34465f}.ar193-right button>small{grid-column:2;color:#718096;font-size:9px}.ar193-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ar193-map{background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;margin-bottom:12px}.ar193-map>header{display:flex;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #edf1f6}.ar193-map h3{margin:0;color:#263850;font-size:15px}.ar193-map p{margin:5px 0 0;color:#718096;font-size:11px}.ar193-map-tools{display:flex;align-items:center;gap:10px;font-size:10px;color:#667894}.ar193-map-tools span:before{content:"";display:inline-block;width:20px;height:3px;border-radius:3px;background:#3B82F6;margin-right:5px;vertical-align:middle}.ar193-map-tools span:nth-child(2):before{background:#E11D48}.ar193-map-tools span:nth-child(3):before{background:#94A3B8}.ar193-svg-shell{overflow:hidden;background:#fafbfc}.ar193-svg{display:block;width:100%;height:auto;min-height:420px}.ar193-svg-title{font:800 16px Inter,system-ui,sans-serif;fill:#10213b}.ar193-svg-sub{font:500 11px Inter,system-ui,sans-serif;fill:#64748B}.ar193-stage{font:800 15px Inter,system-ui,sans-serif;fill:#2563EB}.ar193-stage.green{fill:#047857}.ar193-stage.purple{fill:#6D28D9}.ar193-hd{font:800 13px Inter,system-ui,sans-serif;fill:#0F172A}.ar193-hd.blue,.ar193-n.blue{fill:#2563EB}.ar193-n{font:700 12px Inter,system-ui,sans-serif;fill:#0F172A}.ar193-lg{font:500 11px Inter,system-ui,sans-serif;fill:#52647c}.ar193-kpi{font:800 26px Inter,system-ui,sans-serif;fill:#0F172A}.ar193-big{font:800 26px Inter,system-ui,sans-serif;fill:#0F172A}.ar193-big.small{font-size:18px}.ar193-green{font:800 26px Inter,system-ui,sans-serif;fill:#059669}.ar193-pct{font:800 17px Inter,system-ui,sans-serif;fill:#0F172A}.ar193-pct.current{fill:#059669}.ar193-pct.watch{fill:#D97706}.ar193-pct.late{fill:#EA580C}.ar193-pct.risk{fill:#E11D48}.ar193-id{font:700 12px Inter,system-ui,sans-serif;fill:#334155}.ar193-arrow.normal{fill:none;stroke:#3B82F6;stroke-width:2}.ar193-arrow.risk{fill:none;stroke:#E11D48;stroke-width:2;stroke-dasharray:5 3}.ar193-card,.ar193-bucket{cursor:pointer}.ar193-card rect,.ar193-bucket rect{transition:stroke-width .16s ease,stroke .16s ease,filter .16s ease,opacity .16s ease}.ar193-card:hover>rect:first-child,.ar193-card:focus>rect:first-child,.ar193-bucket:hover rect,.ar193-bucket:focus rect{stroke:#4F46E5!important;stroke-width:2.4!important}.ar193-card.active>rect:first-child,.ar193-bucket.active rect{stroke:#4F46E5!important;stroke-width:3!important}.ar193-card.associated>rect:first-child,.ar193-bucket.associated rect{stroke:#10B981!important;stroke-width:2.1!important}.ar193-card.dimmed,.ar193-bucket.dimmed{opacity:.42}.ar193-analytics{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:11px;margin-bottom:12px}.ar193-analytics article{background:#fff;border:1px solid #dfe7f2;border-radius:12px;padding:14px;min-height:130px;cursor:pointer}.ar193-analytics h3{margin:0 0 10px;color:#263850;font-size:14px}.ar193-analytics p{margin:8px 0 0;color:#667894;font-size:12px}.ar193-analytics article:first-child div{height:60px;display:flex;align-items:end;gap:10px}.ar193-analytics article:first-child span{align-self:start;color:#667894;font-size:11px}.ar193-analytics article:first-child b{width:26px;background:#4F7FE8;border-radius:5px 5px 0 0;display:block}.ar193-analytics article:nth-child(2) p{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f6;padding-bottom:6px}.ar193-analytics strong{font-size:28px;color:#263850}.ar193-analytics meter{width:100%;height:10px}.ar193-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;margin-top:14px}.ar193-table header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1f6}.ar193-table h3{margin:0;color:#263850;font-size:15px}.ar193-table p{margin:5px 0 0;color:#718096;font-size:11px}.ar193-table-scroll{overflow:auto}.ar193-table table{width:100%;min-width:1480px;border-collapse:collapse}.ar193-table th,.ar193-table td{padding:12px 14px;border-bottom:1px solid #edf1f6;text-align:left;font-size:12px;color:#40536e;white-space:nowrap}.ar193-table th{font-size:11px;color:#667894;background:#fbfcff;font-weight:800}.ar193-table .money{font-weight:800;color:#263850}.ar193-table .money.risk{color:#E11D48}.ar193-table tr[data-action]{cursor:pointer}.ar193-table tr[data-action]:hover{background:#fbfcff}.ar193-table tr.total td{font-weight:800;background:#f8fafc}.ar193-pill{display:inline-block;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;background:#edf2f7;color:#334155}.ar193-pill.high{background:#fff1f2;color:#e11d48}.ar193-pill.medium{background:#fff7ed;color:#d97706}.ar193-pill.low{background:#ecfdf5;color:#047857}.ar193-pill.watch{background:#fffbeb;color:#b45309}.ar193-drawer .ux16-records-preview table{min-width:760px}
@media(max-width:1500px){.ar193-root{min-width:1640px}.ar193-main{grid-template-columns:280px minmax(0,1fr) 280px}.ar193-svg{min-height:380px}.ar193-kpis{grid-template-columns:repeat(4,1fr)}}

/* ============================================================================
   V19.5 — Reports > Profit & Loss Structural Intelligence.
   SVG-only map; no HTML5 canvas. Scoped to reports-pnl only.
   ============================================================================ */
.rpl195-root{min-width:1760px}.rpl195-trust{display:grid;grid-template-columns:1.1fr 1.4fr 1.3fr auto auto auto;gap:10px;align-items:stretch;background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:10px;margin:10px 0}.rpl195-trust div,.rpl195-kpis button,.rpl195-left section,.rpl195-right section,.rpl195-map,.rpl195-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rpl195-trust div{padding:10px 12px;background:#fbfcff}.rpl195-trust span,.rpl195-kpis span{display:block;color:#6b7b92;font-size:11px;font-weight:700;line-height:1.35}.rpl195-trust b{display:block;color:#14233b;font-size:18px;margin-top:2px}.rpl195-trust small{display:block;color:#718096;font-size:10px;margin-top:2px}.rpl195-trust button,.rpl195-map>header button,.rpl195-table header button,.rpl195-left button,.rpl195-right button{border:1px solid #d8e0ee;border-radius:10px;background:#fff;color:#40536f;font-weight:800;padding:8px 10px}.rpl195-trust button:first-of-type{background:#6547d9;color:#fff;border-color:#6547d9}.rpl195-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.rpl195-kpis button{padding:12px;text-align:left;min-height:108px}.rpl195-kpis strong{display:block;color:#14233b;font-size:20px;line-height:1.25;margin:4px 0}.rpl195-kpis small.up{color:#059669}.rpl195-kpis small.warn{color:#b45309}.rpl195-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.rpl195-layout main,.rpl195-left,.rpl195-right{display:grid;gap:11px;min-width:0}.rpl195-left section,.rpl195-right section{padding:15px}.rpl195-left h3,.rpl195-right h3{margin:0 0 9px;color:#6046d4;font-size:14px;line-height:1.5}.rpl195-left p,.rpl195-right p{margin:0;color:#52647c;font-size:12px;line-height:1.75}.rpl195-left ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.rpl195-left li{display:flex;gap:8px;align-items:center;color:#465b78;font-size:12px;line-height:1.4}.rpl195-left li span{width:8px;height:8px;border-radius:50%;background:#6547d9}.rpl195-left button,.rpl195-right button{width:100%;margin-top:8px;text-align:left}.rpl195-right button.active{background:#f1edff;border-color:#cfc5ff;color:#6046d4}.rpl195-right button span{width:22px;height:22px;display:inline-grid;place-items:center;margin-right:8px;border-radius:50%;background:#f1edff;color:#6046d4;font-size:10px;font-weight:900}.rpl195-right button b{color:#34465f;font-size:12px}.rpl195-right button small{display:block;color:#718096;font-size:10px;margin-left:32px}.rpl195-cycle{border:1px solid #e6ecf4;border-radius:12px;background:#fbfcff;padding:16px}.rpl195-cycle b{display:block;color:#14233b;font-size:34px}.rpl195-cycle span{color:#53647d;font-size:13px;font-weight:800}.rpl195-cycle small{display:block;color:#059669;font-weight:800;margin-top:4px}.rpl195-map{overflow:hidden}.rpl195-map>header,.rpl195-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf1f6}.rpl195-map h3,.rpl195-table h3{margin:0;color:#172943;font-size:14px}.rpl195-map p,.rpl195-table p{margin:3px 0 0;color:#718096;font-size:11px}.rpl195-svg-shell{width:100%;overflow:hidden;background:#FAFBFC}.rpl195-svg{display:block;width:100%;height:auto;min-height:560px}.rpl195-title{font:700 14px Inter,system-ui,sans-serif;fill:#0F172A}.rpl195-sub{font:500 10px Inter,system-ui,sans-serif;fill:#64748B}.rpl195-hd{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.rpl195-num{font:800 9px Inter,system-ui,sans-serif;fill:#4F46E5}.rpl195-amt{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.rpl195-sm{font:600 9px Inter,system-ui,sans-serif;fill:#334155}.rpl195-sm.muted,.rpl195-xs,.rpl195-foot{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.rpl195-foot{fill:#94A3B8}.rpl195-up,.rpl195-svg .up{font:600 9px Inter,system-ui,sans-serif;fill:#059669}.rpl195-dn,.rpl195-svg .dn{font:600 9px Inter,system-ui,sans-serif;fill:#E11D48}.rpl195-sm.green{fill:#059669}.rpl195-sm.blue{fill:#2563EB}.rpl195-sm.amber{fill:#D97706}.rpl195-node{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.rpl195-node:hover rect,.rpl195-node:focus rect{stroke-width:2.5;filter:drop-shadow(0 6px 12px rgba(37,57,98,.16))}.rpl195-node.active rect{stroke:#4F46E5!important;stroke-width:3!important}.rpl195-node.associated rect{stroke:#10B981!important;stroke-width:2.3!important}.rpl195-node.dimmed{opacity:.38}.rpl195-waterfall g,.rpl195-outlook g[data-action]{cursor:pointer}.rpl195-waterfall g:hover rect,.rpl195-outlook g[data-action]:hover rect{stroke:#4F46E5;stroke-width:2}.rpl195-table{overflow:hidden}.rpl195-table .scroll{overflow:auto}.rpl195-table table{width:100%;min-width:1180px;border-collapse:collapse}.rpl195-table th,.rpl195-table td{border-bottom:1px solid #eef2f7;padding:10px 12px;text-align:left;color:#40536f;font-size:11px;white-space:nowrap}.rpl195-table th{color:#62728a;font-weight:800;background:#fbfcff}.rpl195-table tr{cursor:pointer}.rpl195-table tr:hover td{background:#fbfcff}.rpl195-table .money{color:#14233b;font-weight:800}.rpl195-table .up{color:#059669;font-weight:800}@media(max-width:1500px){.rpl195-root{min-width:1600px}.rpl195-layout{grid-template-columns:280px minmax(0,1fr) 280px}}

/* V19.5 Reports > Balance Sheet Operating Map */
.rbs195-root{min-width:1760px}.rbs195-trust{display:grid;grid-template-columns:1.15fr 1.25fr 1.35fr auto auto auto;gap:10px;align-items:stretch;background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:10px;margin:10px 0}.rbs195-trust div,.rbs195-kpis button,.rbs195-left section,.rbs195-right section,.rbs195-map,.rbs195-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.rbs195-trust div{padding:10px 12px;background:#fbfcff}.rbs195-trust span,.rbs195-kpis span{display:block;color:#6b7b92;font-size:11px;font-weight:700;line-height:1.35}.rbs195-trust b{display:block;color:#14233b;font-size:18px;margin-top:2px}.rbs195-trust small{display:block;color:#718096;font-size:10px;margin-top:2px}.rbs195-trust button,.rbs195-map>header button,.rbs195-table header button,.rbs195-left button,.rbs195-right button{border:1px solid #d8e0ee;border-radius:10px;background:#fff;color:#40536f;font-weight:800;padding:8px 10px}.rbs195-trust button:first-of-type{background:#6547d9;color:#fff;border-color:#6547d9}.rbs195-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.rbs195-kpis button{padding:12px;text-align:left;min-height:108px}.rbs195-kpis strong{display:block;color:#14233b;font-size:20px;line-height:1.25;margin:4px 0}.rbs195-kpis small.ok{color:#059669}.rbs195-kpis small.warn{color:#b45309}.rbs195-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.rbs195-layout main,.rbs195-left,.rbs195-right{display:grid;gap:11px;min-width:0}.rbs195-left section,.rbs195-right section{padding:15px}.rbs195-left h3,.rbs195-right h3{margin:0 0 9px;color:#6046d4;font-size:14px;line-height:1.5}.rbs195-left p,.rbs195-right p{margin:0;color:#52647c;font-size:12px;line-height:1.75}.rbs195-left ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.rbs195-left li{display:flex;gap:8px;align-items:center;color:#465b78;font-size:12px;line-height:1.4}.rbs195-left li span{width:8px;height:8px;border-radius:50%;background:#6547d9}.rbs195-left button,.rbs195-right button{width:100%;margin-top:8px;text-align:left}.rbs195-right button.active{background:#f1edff;border-color:#cfc5ff;color:#6046d4}.rbs195-right button span{width:22px;height:22px;display:inline-grid;place-items:center;margin-right:8px;border-radius:50%;background:#f1edff;color:#6046d4;font-size:10px;font-weight:900}.rbs195-right button b{color:#34465f;font-size:12px}.rbs195-right button small{display:block;color:#718096;font-size:10px;margin-left:32px}.rbs195-cycle{border:1px solid #e6ecf4;border-radius:12px;background:#fbfcff;padding:16px}.rbs195-cycle b{display:block;color:#14233b;font-size:34px}.rbs195-cycle span{color:#53647d;font-size:13px;font-weight:800}.rbs195-cycle small{display:block;color:#b45309;font-weight:800;margin-top:4px}.rbs195-map{overflow:hidden}.rbs195-map>header,.rbs195-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf1f6}.rbs195-map h3,.rbs195-table h3{margin:0;color:#172943;font-size:14px}.rbs195-map p,.rbs195-table p{margin:3px 0 0;color:#718096;font-size:11px}.rbs195-svg-shell{width:100%;overflow:hidden;background:#FAFBFC}.rbs195-svg{display:block;width:100%;height:auto;min-height:560px}.rbs195-main-title{font:700 14px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-main-sub,.rbs195-small,.rbs195-foot,.rbs195-xs{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.rbs195-foot{fill:#94A3B8}.rbs195-title2{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-sub2{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.rbs195-hd{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-amt{font:700 14px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-amt2{font:700 11px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-line{font:600 9px Inter,system-ui,sans-serif;fill:#334155}.rbs195-val{font:700 9px Inter,system-ui,sans-serif;fill:#0F172A}.rbs195-pct{font:600 8px Inter,system-ui,sans-serif;fill:#64748B}.rbs195-ok{font:600 9px Inter,system-ui,sans-serif;fill:#047857}.rbs195-hi{font:600 9px Inter,system-ui,sans-serif;fill:#BE123C}.rbs195-block,.rbs195-section,.rbs195-ai,.rbs195-ratios,.rbs195-bridge g,.rbs195-balance{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.rbs195-block:hover>rect,.rbs195-section:hover rect,.rbs195-ai:hover rect,.rbs195-ratios:hover rect,.rbs195-bridge g:hover rect,.rbs195-balance:hover rect{stroke:#4F46E5!important;stroke-width:2.2!important}.rbs195-block.active>rect{stroke:#4F46E5!important;stroke-width:3!important}.rbs195-table{overflow:hidden}.rbs195-table .scroll{overflow:auto}.rbs195-table table{width:100%;min-width:1180px;border-collapse:collapse}.rbs195-table th,.rbs195-table td{border-bottom:1px solid #eef2f7;padding:10px 12px;text-align:left;color:#40536f;font-size:11px;white-space:nowrap}.rbs195-table th{color:#62728a;font-weight:800;background:#fbfcff}.rbs195-table tr{cursor:pointer}.rbs195-table tr:hover td{background:#fbfcff}.rbs195-table .money{color:#14233b;font-weight:800}.rbs195-table .movement{color:#059669;font-weight:800}@media(max-width:1500px){.rbs195-root{min-width:1600px}.rbs195-layout{grid-template-columns:280px minmax(0,1fr) 280px}}

/* V19.7 Fixed Assets > Fixed Assets Structural Intelligence */
.fa197-root{min-width:1760px}
.fa197-trust{display:grid;grid-template-columns:1.1fr 1.1fr 1fr auto auto auto;gap:10px;align-items:stretch;background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:10px;margin:10px 0}.fa197-trust div,.fa197-kpis button,.fa197-left section,.fa197-right section,.fa197-map,.fa197-table,.fa197-analytics button{background:#fff;border:1px solid #dfe7f2;border-radius:13px;box-shadow:0 1px 2px rgba(33,50,85,.025)}.fa197-trust div{padding:10px 12px;background:#fbfcff}.fa197-trust span,.fa197-kpis span{display:block;color:#6b7b92;font-size:11px;font-weight:800;line-height:1.35}.fa197-trust b{display:block;color:#14233b;font-size:18px;margin-top:2px}.fa197-trust small{display:block;color:#718096;font-size:10px;margin-top:2px}.fa197-trust button,.fa197-map>header button,.fa197-table header button,.fa197-left button,.fa197-right button{border:1px solid #d8e0ee;border-radius:10px;background:#fff;color:#40536f;font-weight:800;padding:8px 10px}.fa197-trust button:first-of-type{background:#6547d9;color:#fff;border-color:#6547d9}
.fa197-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.fa197-kpis button{padding:12px;text-align:left;min-height:108px}.fa197-kpis strong{display:block;color:#14233b;font-size:20px;line-height:1.25;margin:4px 0}.fa197-kpis small{color:#718096;font-weight:700}.fa197-kpis small.ok{color:#059669}.fa197-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.fa197-layout main,.fa197-left,.fa197-right{display:grid;gap:11px;min-width:0}.fa197-left section,.fa197-right section{padding:15px}.fa197-left h3,.fa197-right h3{margin:0 0 9px;color:#6046d4;font-size:14px;line-height:1.5}.fa197-left p,.fa197-right p{margin:0;color:#52647c;font-size:12px;line-height:1.75}.fa197-left ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.fa197-left li{display:flex;gap:8px;align-items:center;color:#465b78;font-size:12px;line-height:1.4}.fa197-left li span{width:8px;height:8px;border-radius:50%;background:#6547d9}.fa197-right button{width:100%;margin-top:8px;text-align:left}.fa197-right button.active{background:#f1edff;border-color:#cfc5ff;color:#6046d4}.fa197-right button span{width:22px;height:22px;display:inline-grid;place-items:center;margin-right:8px;border-radius:50%;background:#f1edff;color:#6046d4;font-size:10px;font-weight:900}.fa197-right button b{color:#34465f;font-size:12px}.fa197-right button small{display:block;color:#718096;font-size:10px;margin-left:32px}.fa197-donut{border:1px solid #e6ecf4;border-radius:12px;background:conic-gradient(#4f46e5 0 92%,#e5e7eb 92% 100%);padding:16px;min-height:110px;display:grid;place-items:center;text-align:center}.fa197-donut b,.fa197-donut span,.fa197-donut small{background:#fff;border-radius:8px;padding:2px 8px}.fa197-donut b{color:#14233b;font-size:34px}.fa197-donut span{color:#53647d;font-size:13px;font-weight:800}.fa197-donut small{display:block;color:#718096;font-size:10px;line-height:1.4}
.fa197-map{overflow:hidden}.fa197-map>header,.fa197-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf1f6}.fa197-map h3,.fa197-table h3{margin:0;color:#172943;font-size:14px}.fa197-map p,.fa197-table p{margin:3px 0 0;color:#718096;font-size:11px}.fa197-svg-shell{width:100%;overflow:hidden;background:#FAFBFC}.fa197-svg{display:block;width:100%;height:auto;min-height:420px}.fa197-title{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.fa197-sub{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.fa197-hd{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}.fa197-kpi{font:700 16px Inter,system-ui,sans-serif;fill:#0F172A}.fa197-unit,.fa197-label,.fa197-gl,.fa197-note,.fa197-bus,.fa197-legend{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.fa197-gl{fill:#475569;font-weight:600}.fa197-note{font-weight:700;fill:#334155}.fa197-num{font:800 9px Inter,system-ui,sans-serif;fill:#4F46E5}.fa197-stage{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.fa197-stage:hover rect,.fa197-stage:focus rect{stroke-width:2.4;filter:drop-shadow(0 6px 12px rgba(37,57,98,.16))}.fa197-stage.active rect:first-child{stroke:#4F46E5!important;stroke-width:3!important}.fa197-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fa197-analytics button{padding:12px;text-align:left;min-height:140px}.fa197-analytics h4{margin:0 0 8px;color:#172943;font-size:13px}.fa197-analytics p{margin:8px 0 0;color:#64748b;font-size:11px;line-height:1.5}.fa197-ring{width:74px;height:74px;border-radius:50%;background:conic-gradient(#10b981 0 68%,#e5e7eb 68% 100%);display:grid;place-items:center}.fa197-ring span{background:#fff;border-radius:50%;padding:16px 10px;color:#14233b;font-weight:900}.fa197-bar{height:10px;background:#eef2f7;border-radius:999px;overflow:hidden;margin:24px 0}.fa197-bar span{display:block;height:100%;background:#6547d9;border-radius:999px}.fa197-table{overflow:hidden}.fa197-table .scroll{overflow:auto}.fa197-table table{width:100%;min-width:1180px;border-collapse:collapse}.fa197-table th,.fa197-table td{border-bottom:1px solid #eef2f7;padding:10px 12px;text-align:left;color:#40536f;font-size:11px;white-space:nowrap}.fa197-table th{color:#62728a;font-weight:800;background:#fbfcff}.fa197-table tr{cursor:pointer}.fa197-table tr:hover td{background:#fbfcff}.fa197-table .money{color:#14233b;font-weight:800}.fa197-table .trust{color:#059669;font-weight:800}@media(max-width:1500px){.fa197-root{min-width:1600px}.fa197-layout{grid-template-columns:280px minmax(0,1fr) 280px}}

/* V19.8 Fixed Assets > Prepaid Asset Accounting Structure */
.pp198-root{min-width:1760px}
.pp198-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:10px;align-items:stretch;background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:10px;margin:10px 0}
.pp198-trust div,.pp198-kpis button,.pp198-left section,.pp198-right section,.pp198-map,.pp198-table{background:#fff;border:1px solid #dfe7f2;border-radius:13px;box-shadow:0 1px 2px rgba(33,50,85,.025)}
.pp198-trust div{padding:10px 12px;background:#fbfcff}.pp198-trust span,.pp198-kpis span{display:block;color:#6b7b92;font-size:11px;font-weight:800;line-height:1.35}.pp198-trust b{display:block;color:#14233b;font-size:18px;margin-top:2px}.pp198-trust small,.pp198-kpis small{display:block;color:#718096;font-size:10px;margin-top:2px}.pp198-trust button,.pp198-map>header button,.pp198-table header button,.pp198-left button,.pp198-right button{border:1px solid #d8e0ee;border-radius:10px;background:#fff;color:#40536f;font-weight:800;padding:8px 10px}.pp198-trust button:first-of-type{background:#6547d9;color:#fff;border-color:#6547d9}
.pp198-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:12px}.pp198-kpis button{padding:12px;text-align:left;min-height:104px}.pp198-kpis strong{display:block;color:#14233b;font-size:19px;line-height:1.25;margin:4px 0}
.pp198-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:14px;align-items:start}.pp198-layout main,.pp198-left,.pp198-right{display:grid;gap:11px;min-width:0}.pp198-left section,.pp198-right section{padding:15px}.pp198-left h3,.pp198-right h3{margin:0 0 9px;color:#6046d4;font-size:14px;line-height:1.5}.pp198-left p,.pp198-right p{margin:0;color:#52647c;font-size:12px;line-height:1.75}.pp198-left ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.pp198-left li{display:flex;gap:8px;align-items:center;color:#465b78;font-size:12px;line-height:1.4}.pp198-left li span{width:8px;height:8px;border-radius:50%;background:#6547d9}.pp198-left button,.pp198-right button{width:100%;margin-top:8px;text-align:left}.pp198-right button small{display:block;color:#718096;font-size:10px;margin-top:2px}.pp198-progress{height:8px;border-radius:999px;background:#e8edf5;margin:10px 0 6px;overflow:hidden}.pp198-progress span{display:block;height:100%;background:linear-gradient(90deg,#10b981,#6366f1);border-radius:999px}
.pp198-map{overflow:hidden}.pp198-map>header,.pp198-table header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf1f6}.pp198-map h3,.pp198-table h3{margin:0;color:#172943;font-size:14px}.pp198-map p,.pp198-table p{margin:3px 0 0;color:#718096;font-size:11px}.pp198-svg-shell{width:100%;overflow:hidden;background:#FAFBFC}.pp198-svg{display:block;width:100%;height:auto;min-height:420px}.pp198-title{font:700 13px Inter,system-ui,sans-serif;fill:#0F172A}.pp198-sub,.pp198-legend{font:500 9px Inter,system-ui,sans-serif;fill:#64748B}.pp198-hd{font:700 10px Inter,system-ui,sans-serif;fill:#0F172A}.pp198-kpi{font:700 15px Inter,system-ui,sans-serif;fill:#0F172A}.pp198-gl{font:600 9px Inter,system-ui,sans-serif;fill:#475569}.pp198-note{font:500 9px Inter,system-ui,sans-serif;fill:#475569}.pp198-label{font:700 8px Inter,system-ui,sans-serif;fill:#64748B;text-transform:uppercase;letter-spacing:.04em}.pp198-chip{font:700 9px Inter,system-ui,sans-serif;fill:#334155}.pp198-num{font:800 9px Inter,system-ui,sans-serif;fill:#fff}.pp198-stage{cursor:pointer;transition:opacity .16s ease,filter .16s ease}.pp198-stage:hover rect,.pp198-stage:focus rect{stroke-width:2.4;filter:drop-shadow(0 6px 12px rgba(37,57,98,.16))}.pp198-stage.active>rect{stroke:#4F46E5!important;stroke-width:3!important}.pp198-stage.associated>rect{stroke:#10B981!important;stroke-width:2.2!important}.pp198-stage.dimmed{opacity:.42}
.pp198-analytics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pp198-analytics article{background:#fff;border:1px solid #dfe7f2;border-radius:13px;padding:12px;min-height:150px;cursor:pointer}.pp198-analytics h3{margin:0 0 8px;color:#172943;font-size:13px}.pp198-analytics p{margin:4px 0;color:#60708a;font-size:11px;line-height:1.5}.pp198-analytics svg{width:100%;height:96px}.pp198-analytics line{stroke:#E2E8F0}.pp198-analytics rect{fill:#DBEAFE;stroke:#93C5FD}.pp198-analytics polyline{fill:none;stroke:#10B981;stroke-width:2}.pp198-analytics circle{fill:none;stroke:#E2E8F0;stroke-width:10}.pp198-analytics circle.b{stroke:#6547d9}.pp198-analytics text{font:700 11px Inter,system-ui,sans-serif;fill:#172943}.pp198-analytics article:hover{border-color:#c9c0ff;box-shadow:0 10px 22px rgba(48,60,100,.08)}.pp198-analytics article p span{display:inline-block;width:86px;color:#60708a}.pp198-analytics article p b{color:#172943}.pp198-score b{display:block;font-size:28px;color:#172943}.pp198-score span{color:#60708a;font-size:11px}
.pp198-table{overflow:hidden}.pp198-table .scroll{overflow:auto}.pp198-table table{width:100%;min-width:1100px;border-collapse:collapse}.pp198-table th,.pp198-table td{border-bottom:1px solid #eef2f7;padding:10px 12px;text-align:left;color:#40536f;font-size:11px;white-space:nowrap}.pp198-table th{color:#62728a;font-weight:800;background:#fbfcff}.pp198-table tr{cursor:pointer}.pp198-table tr:hover td{background:#fbfcff}.pp198-table .money{color:#14233b;font-weight:800}.pp198-table .warn{color:#b45309;font-weight:800}
@media(max-width:1500px){.pp198-root{min-width:1600px}.pp198-layout{grid-template-columns:280px minmax(0,1fr) 280px}.pp198-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.pp198-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* === LFX20 Ledger Feed analytical skin v1 — CENTRAL WORKSPACE ONLY ========== */
.lfv6-root .lfx20-suite{display:grid;gap:12px;margin:12px 0 14px;min-width:0}
.lfv6-root .lfx20-suite *{box-sizing:border-box}
.lfv6-root .lfx20-suite-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:4px 2px 0}
.lfv6-root .lfx20-suite-head>div:first-child{min-width:0}
.lfv6-root .lfx20-suite-head span{display:block;color:#635bdb;font-size:9px;font-weight:800;letter-spacing:.11em}
.lfv6-root .lfx20-suite-head h2{margin:3px 0 2px;color:#18233c;font-size:15px;line-height:1.2;font-weight:800}
.lfv6-root .lfx20-suite-head p{margin:0;color:#748198;font-size:9.5px;line-height:1.45}
.lfv6-root .lfx20-scope{max-width:36%;padding:6px 9px;border:1px solid #e4e8f1;border-radius:9px;background:#f8faff;color:#65728a;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfv6-root .lfx20-primary,.lfv6-root .lfx20-three,.lfv6-root .lfx20-four{display:grid;gap:12px;min-width:0}
.lfv6-root .lfx20-primary{grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr)}
.lfv6-root .lfx20-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.lfv6-root .lfx20-four{grid-template-columns:1.15fr .9fr .9fr 1.15fr}
.lfv6-root .lfx20-card{min-width:0;overflow:hidden;border:1px solid #e4e8f1;border-radius:13px;background:#fff;box-shadow:0 1px 2px rgba(20,35,65,.025);padding:12px 13px}
.lfv6-root .lfx20-card>header{display:flex;justify-content:space-between;align-items:flex-start;min-height:36px;margin-bottom:5px}
.lfv6-root .lfx20-card h3{margin:0;color:#1d2942;font-size:10.5px;line-height:1.25;font-weight:800}
.lfv6-root .lfx20-card header p{margin:3px 0 0;color:#8994a8;font-size:8.6px;line-height:1.35}
.lfv6-root .lfx20-chart{width:100%;height:236px;min-width:0;overflow:hidden}
.lfv6-root .lfx20-chart svg{display:block;width:100%;height:100%;overflow:visible}
.lfv6-root .lfx20-grid line{stroke:#edf0f5;stroke-width:1;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-grid text,.lfv6-root .lfx20-x,.lfv6-root .lfx20-axis,.lfv6-root .lfx20-note{fill:#8a96a9;font-size:8px;font-family:inherit}
.lfv6-root .lfx20-clean{fill:#bfd4ff}
.lfv6-root .lfx20-ex{fill:#ff7077}
.lfv6-root .lfx20-rate-line{stroke:#6c4de6;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-rate-dot{fill:#fff;stroke:#6c4de6;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-ing-line{stroke:#2563eb;stroke-width:2.2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-ex-line{stroke:#ef4444;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-ex-dot{fill:#fff;stroke:#ef4444;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-proj-line{stroke:#7c3aed;stroke-width:2.2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-proj-ex{stroke:#f97316;stroke-width:1.8;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-forecast-boundary{stroke:#b5bdcb;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-band{fill:#fff7e6;opacity:.78}
.lfv6-root .lfx20-band-edge{stroke:#64748b;stroke-width:1.2;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-sourcebar{fill:#60a5fa}
.lfv6-root .lfx20-pareto-line{stroke:#7c3aed;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-pareto-dot{fill:#fff;stroke:#7c3aed;stroke-width:2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-reg-line{stroke:#7c3aed;stroke-width:1.6;stroke-dasharray:5 4;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-scatter{fill:#2563eb;fill-opacity:.78;stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke}
.lfv6-root .lfx20-rot{font-size:7.2px}
.lfv6-root .lfx20-legend{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 3px;color:#67748b;font-size:8.4px}
.lfv6-root .lfx20-legend span{display:flex;align-items:center;gap:4px}
.lfv6-root .lfx20-legend i{width:7px;height:7px;border-radius:2px;display:inline-block}
.lfv6-root .lfx20-statline{display:flex;flex-wrap:wrap;gap:7px 14px;border-top:1px solid #eef1f6;padding-top:7px;color:#78859a;font-size:8.6px}
.lfv6-root .lfx20-statline b{color:#34435e;font-weight:800}
.lfv6-root .lfx20-insight{margin-top:5px;color:#67748b;font-size:8.8px;line-height:1.45}
.lfv6-root .lfx20-insight b{color:#334155}
.lfv6-root .lfx20-disclaimer{margin-top:5px;color:#909aab;font-size:7.9px;line-height:1.4}
.lfv6-root .lfx20-empty{min-height:180px;display:grid;place-items:center;padding:18px;color:#9aa4b4;font-size:9px;text-align:center}
.lfv6-root .lfx20-hbars{display:grid;gap:8px;padding-top:5px}
.lfv6-root .lfx20-hbar{display:grid;grid-template-columns:minmax(74px,1fr) minmax(75px,1.8fr) 38px;align-items:center;gap:7px;color:#627086;font-size:8.5px}
.lfv6-root .lfx20-hbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lfv6-root .lfx20-hbar>i{height:7px;overflow:hidden;border-radius:99px;background:#edf1f6}
.lfv6-root .lfx20-hbar>i>b{display:block;height:100%;border-radius:99px}
.lfv6-root .lfx20-hbar>strong{text-align:right;color:#35445e;font-size:8.4px}
.lfv6-root .lfx20-donut-wrap{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:7px;min-height:170px}
.lfv6-root .lfx20-donut-wrap svg{width:112px;height:112px}
.lfv6-root .lfx20-donut-total{fill:#26344f;font-size:14px;font-weight:800}
.lfv6-root .lfx20-donut-sub{fill:#8b96a8;font-size:7px}
.lfv6-root .lfx20-donut-legend{display:grid;gap:6px;min-width:0}
.lfv6-root .lfx20-donut-legend>div{display:grid;grid-template-columns:7px minmax(0,1fr) 28px;align-items:center;gap:5px;color:#6c788c;font-size:7.8px}
.lfv6-root .lfx20-donut-legend i{width:7px;height:7px;border-radius:50%}
.lfv6-root .lfx20-donut-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lfv6-root .lfx20-donut-legend b{text-align:right;color:#34435d}
.lfv6-root .lfx20-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-items:start;padding-top:2px}
.lfv6-root .lfx20-gauge{text-align:center;min-width:0}
.lfv6-root .lfx20-gauge svg{width:70px;height:70px;max-width:100%}
.lfv6-root .lfx20-gauge svg text{fill:#24324d;font-size:12px;font-weight:800}
.lfv6-root .lfx20-gauge>b{display:block;color:#41506a;font-size:7.9px;line-height:1.25}
.lfv6-root .lfx20-gauge>span{display:block;margin-top:2px;color:#98a2b2;font-size:6.8px;line-height:1.25}
.lfv6-root .lfx20-gauge-empty{height:70px;display:grid;place-items:center;color:#a1a9b7;font-size:20px}
.lfv6-root .lfx20-research-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.lfv6-root .lfx20-research-cell{min-width:0;padding:9px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe}
.lfv6-root .lfx20-research-cell>span{display:block;color:#7d899d;font-size:7.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfv6-root .lfx20-research-cell>b{display:block;margin:4px 0 2px;color:#25334e;font-size:13px;font-weight:800}
.lfv6-root .lfx20-research-cell>small{display:block;color:#929cab;font-size:7.2px;line-height:1.35}
@media(max-width:1280px){
 .lfv6-root .lfx20-primary{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr)}
 .lfv6-root .lfx20-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lfv6-root .lfx20-three>.lfx20-card:last-child{grid-column:1/-1}
 .lfv6-root .lfx20-four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lfv6-root .lfx20-research-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .lfv6-root .lfx20-suite-head{align-items:flex-start;flex-direction:column}
 .lfv6-root .lfx20-scope{max-width:100%;width:100%}
 .lfv6-root .lfx20-primary,.lfv6-root .lfx20-three,.lfv6-root .lfx20-four{grid-template-columns:minmax(0,1fr)}
 .lfv6-root .lfx20-three>.lfx20-card:last-child{grid-column:auto}
 .lfv6-root .lfx20-chart{height:220px}
}
@media(max-width:620px){
 .lfv6-root .lfx20-research-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lfv6-root .lfx20-donut-wrap{grid-template-columns:105px minmax(0,1fr)}
 .lfv6-root .lfx20-donut-wrap svg{width:98px;height:98px}
 .lfv6-root .lfx20-gauges{grid-template-columns:1fr}
 .lfv6-root .lfx20-gauge{display:grid;grid-template-columns:64px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left}
 .lfv6-root .lfx20-gauge svg,.lfv6-root .lfx20-gauge-empty{grid-row:1/3;width:60px;height:60px}
}


/* ============================================================================
   Ledger Feed V20.2A Analytics Skin V2 — central workspace only
   - Excludes these governed visuals from generic Global Visual Analytics V18.
   - Adds full-height right-side analytical detail sheet.
   ============================================================================ */
.lfv6-root .lfx20-card{position:relative;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.lfv6-root .lfx20-card:hover{border-color:#cfd6e5;box-shadow:0 6px 18px rgba(30,51,90,.07);transform:translateY(-1px)}
.lfv6-root .lfx20-card:focus-visible{outline:2px solid #6d5ce7;outline-offset:2px}
.lfv6-root .lfx20-openhint{flex:0 0 auto;margin-left:8px;color:#6b5be7;font-size:8px;font-weight:700;white-space:nowrap;opacity:.78}
.lfv6-root .lfx20-card:hover .lfx20-openhint{opacity:1}

.lfx20-drawer-bg{position:fixed;inset:0;z-index:2147482100;background:rgba(15,23,42,.22);display:flex;justify-content:flex-end;align-items:stretch}
.lfx20-drawer{width:min(650px,94vw);height:100vh;background:#fff;border-left:1px solid #dfe4ed;box-shadow:-18px 0 48px rgba(15,23,42,.16);display:flex;flex-direction:column;animation:lfx20DrawerIn .18s ease-out}
@keyframes lfx20DrawerIn{from{transform:translateX(28px);opacity:.6}to{transform:translateX(0);opacity:1}}
.lfx20-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid #e8ecf3;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.lfx20-drawer-head>div{min-width:0}
.lfx20-drawer-head span{display:block;color:#6554df;font-size:9px;font-weight:800;letter-spacing:.11em}
.lfx20-drawer-head h2{margin:5px 0 4px;color:#14213b;font-size:21px;line-height:1.22;font-weight:850}
.lfx20-drawer-head p{margin:0;color:#748198;font-size:10.5px;line-height:1.5}
.lfx20-drawer-head button{flex:0 0 auto;width:38px;height:38px;border:0;border-radius:10px;background:#f3f5f9;color:#526078;font-size:25px;line-height:1;cursor:pointer}
.lfx20-drawer-head button:hover{background:#eceff5;color:#1f2b43}
.lfx20-drawer-scroll{flex:1;overflow:auto;padding:18px 20px 26px;background:#f8faff}
.lfx20-drawer-visual{border:1px solid #e1e6ef;border-radius:14px;background:#fff;padding:14px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.lfx20-drawer-visual>.lfx20-card{border:0;box-shadow:none;padding:0;transform:none;cursor:default}
.lfx20-drawer-visual>.lfx20-card:hover{border:0;box-shadow:none;transform:none}
.lfx20-drawer-visual .lfx20-openhint{display:none}
.lfx20-drawer-visual .lfx20-chart{height:340px}
.lfx20-drawer-facts,.lfx20-drawer-note{margin-top:14px;border:1px solid #e1e6ef;border-radius:14px;background:#fff;padding:15px 16px}
.lfx20-drawer-facts h3,.lfx20-drawer-note h3{margin:0 0 10px;color:#21304a;font-size:11px;font-weight:800}
.lfx20-drawer-facts>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.lfx20-drawer-facts article{min-width:0;padding:10px 11px;border:1px solid #edf0f5;border-radius:10px;background:#fafbfe}
.lfx20-drawer-facts article span{display:block;color:#7a879c;font-size:8.5px;line-height:1.3}
.lfx20-drawer-facts article b{display:block;margin-top:4px;color:#25334d;font-size:12px;line-height:1.35;font-weight:800;overflow-wrap:anywhere}
.lfx20-drawer-note p{margin:0;color:#66758d;font-size:10px;line-height:1.55}

@media(max-width:700px){
 .lfx20-drawer{width:100vw;max-width:none}
 .lfx20-drawer-head{padding:17px 16px 14px}
 .lfx20-drawer-head h2{font-size:18px}
 .lfx20-drawer-scroll{padding:12px}
 .lfx20-drawer-visual .lfx20-chart{height:270px}
 .lfx20-drawer-facts>div{grid-template-columns:1fr}
}

/* ============================================================================
   Ledger Feed Analytics Skin V3 — source/file/statement intelligence + drawer UX
   Central workspace only. Does not alter shell, hero, nav, right rail, or other pages.
   ============================================================================ */
.lfx21-suite .lfx20-suite-head>div:first-child{max-width:820px}
.lfx21-suite .lfx20-suite-head span{color:#5f4be6}
.lfx21-suite .lfx20-suite-head h2{letter-spacing:-.01em}
.lfx21-suite .lfx20-primary{grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr)}
.lfx21-suite .lfx20-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.lfx21-temporal{margin-top:12px}
.lfx21-secondary-label{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:15px 2px 8px;padding-top:10px;border-top:1px dashed #dfe5ef}
.lfx21-secondary-label span{font-size:8.5px;font-weight:850;letter-spacing:.12em;color:#7656e8}
.lfx21-secondary-label p{margin:0;max-width:720px;color:#7a879d;font-size:9px;line-height:1.45;text-align:right}
.lfx21-batches{display:grid;gap:9px;padding-top:5px}
.lfx21-batch{display:grid;grid-template-columns:minmax(110px,1fr) minmax(150px,2.1fr) 54px;gap:9px;align-items:center}
.lfx21-batch>div{min-width:0}
.lfx21-batch span{display:block;color:#394860;font-size:9px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfx21-batch small{display:block;margin-top:2px;color:#8a96a9;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lfx21-batch i{height:8px;display:flex;overflow:hidden;border-radius:99px;background:#edf2f8}
.lfx21-batch i b{height:100%;display:block}
.lfx21-batch i .clean{background:#8db8ff}
.lfx21-batch i .ex{background:#ef5a61}
.lfx21-batch strong{font-size:9px;color:#26364f;text-align:right}

.lfx21-drawer{width:min(880px,72vw);max-width:none}
.lfx21-actions{display:flex;gap:9px;flex-wrap:wrap;padding:14px 20px 12px;border-bottom:1px solid #e8ecf3;background:#fff}
.lfx21-actions button{min-height:38px;padding:0 16px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;color:#5d6b82;font-size:11px;font-weight:760;cursor:pointer}
.lfx21-actions button:hover{border-color:#b9c4d6;background:#fafbff;color:#27364f}
.lfx21-actions button.primary{background:#6848e5;border-color:#6848e5;color:#fff;box-shadow:0 6px 16px rgba(104,72,229,.16)}
.lfx21-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 20px;border-bottom:1px solid #e8ecf3;background:#fbfcff}
.lfx21-tabs button{padding:9px 14px;border:0;border-radius:9px;background:#f1f4f9;color:#617087;font-size:10.5px;font-weight:760;cursor:pointer}
.lfx21-tabs button.active{background:#6a4be7;color:#fff;box-shadow:0 5px 14px rgba(106,75,231,.14)}
.lfx21-tabhead{padding:2px 2px 10px}
.lfx21-tabhead h3{margin:0 0 5px;color:#20304a;font-size:14px}
.lfx21-tabhead p{margin:0;color:#718097;font-size:10px;line-height:1.5}
.lfx21-tablewrap{overflow:auto;border:1px solid #e1e6ef;border-radius:12px;background:#fff}
.lfx21-tablewrap table{width:100%;min-width:820px;border-collapse:collapse}
.lfx21-tablewrap th,.lfx21-tablewrap td{padding:10px 11px;border-bottom:1px solid #edf1f6;text-align:left;white-space:nowrap;font-size:9.5px;color:#47566d}
.lfx21-tablewrap th{position:sticky;top:0;background:#f8faff;color:#68778e;font-size:8.5px;font-weight:820;z-index:1}
.lfx21-tablewrap tr:last-child td{border-bottom:0}
.lfx21-footnote{margin:7px 2px 0;color:#8a96a9;font-size:8.5px}
.lfx21-emptytab{padding:26px;border:1px dashed #d9e0eb;border-radius:12px;background:#fff;color:#7d899d;font-size:10.5px;text-align:center}
.lfx21-tasklist,.lfx21-evidence,.lfx21-related{display:grid;gap:9px}
.lfx21-tasklist article{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;padding:12px 13px;border:1px solid #e4e9f1;border-radius:11px;background:#fff}
.lfx21-tasklist article>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#f0edff;color:#6a4be7;font-size:10px;font-weight:820}
.lfx21-tasklist b{display:block;color:#2a3952;font-size:10.5px}
.lfx21-tasklist small{display:block;margin-top:3px;color:#8490a4;font-size:8.5px}
.lfx21-evidence article{padding:12px 13px;border:1px solid #e4e9f1;border-radius:11px;background:#fff}
.lfx21-evidence b{display:block;color:#2a3952;font-size:10px}
.lfx21-evidence span{display:block;margin-top:3px;color:#8793a7;font-size:8px}
.lfx21-evidence p{margin:6px 0 0;color:#65748b;font-size:9px;line-height:1.45}
.lfx21-audit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.lfx21-audit article{padding:12px 13px;border:1px solid #e4e9f1;border-radius:11px;background:#fff}
.lfx21-audit span{display:block;color:#8490a4;font-size:8.5px}
.lfx21-audit b{display:block;margin-top:4px;color:#2c3a52;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}
.lfx21-related{grid-template-columns:repeat(2,minmax(0,1fr))}
.lfx21-related button{padding:13px;border:1px solid #e3e8f0;border-radius:11px;background:#fff;text-align:left;cursor:pointer}
.lfx21-related button:hover{border-color:#bfc8d8;background:#fbfcff}
.lfx21-related b{display:block;color:#2a3952;font-size:10px}
.lfx21-related span{display:block;margin-top:5px;color:#6a4be7;font-size:8.5px;font-weight:760}

@media (max-width:1180px){
 .lfx21-suite .lfx20-primary,.lfx21-suite .lfx20-three{grid-template-columns:1fr}
 .lfx21-secondary-label{align-items:flex-start;flex-direction:column}
 .lfx21-secondary-label p{text-align:left}
 .lfx21-drawer{width:min(820px,84vw)}
}
@media (max-width:760px){
 .lfx21-drawer{width:100vw}
 .lfx21-actions{padding:10px 12px;gap:6px}
 .lfx21-actions button{min-height:34px;padding:0 10px;font-size:9.5px}
 .lfx21-tabs{padding:8px 12px;gap:5px}
 .lfx21-tabs button{padding:8px 10px;font-size:9.5px}
 .lfx21-audit,.lfx21-related{grid-template-columns:1fr}
 .lfx21-batch{grid-template-columns:minmax(90px,1fr) minmax(110px,1.4fr) 48px}
}


/* ==========================================================================
   Ledger Feed LFX22 V4 — chart interpretation lifecycle
   Central workspace only. No shell/nav/right-rail selectors.
   ========================================================================== */
.lfx22-suite .lfx20-card{display:flex;flex-direction:column}
.lfx22-card-intel{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:0;margin:10px 0 0;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fbfcff}
.lfx22-card-intel>div{padding:10px 12px;min-width:0;border-right:1px solid #edf1f6}
.lfx22-card-intel>div:last-child{border-right:0}
.lfx22-card-intel span{display:block;color:#6b53e8;font-size:7px;font-weight:850;letter-spacing:.09em}
.lfx22-card-intel p{margin:4px 0 0;color:#5e6d84;font-size:8.3px;line-height:1.45}
.lfx22-card-actions{display:flex;gap:6px;flex-wrap:wrap;padding:9px 12px 0;margin-top:auto}
.lfx22-card-actions button{padding:6px 9px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;color:#654ae2;font-size:8px;font-weight:760;cursor:pointer}
.lfx22-card-actions button:hover{background:#f5f2ff;border-color:#c8bcfb}
.lfx22-context-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:9px 11px;border:1px solid #e4e9f2;border-radius:11px;background:#fff}
.lfx22-context-controls>div{display:flex;align-items:center;gap:6px}
.lfx22-context-controls span{margin-right:3px;color:#65748c;font-size:8.5px;font-weight:760}
.lfx22-context-controls button{padding:6px 10px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;color:#617087;font-size:8.5px;font-weight:760;cursor:pointer}
.lfx22-context-controls button.active{background:#eef4ff;border-color:#bcd0ff;color:#2861d8}
.lfx22-context-controls p{margin:0;color:#8490a4;font-size:8.2px;text-align:right}
.lfx22-drawer{width:min(980px,78vw)}
.lfx22-overview-hero,.lfx22-executive,.lfx22-method,.lfx22-ai-status{margin-top:14px;padding:16px 17px;border:1px solid #e1e6ef;border-radius:13px;background:#fff}
.lfx22-overview-hero>span,.lfx22-executive>span,.lfx22-ai-status>span{color:#654ae2;font-size:8px;font-weight:850;letter-spacing:.1em}
.lfx22-overview-hero h3,.lfx22-executive h3,.lfx22-ai-status h3{margin:6px 0 6px;color:#1f2f49;font-size:16px;line-height:1.3}
.lfx22-overview-hero p,.lfx22-executive p,.lfx22-method p,.lfx22-ai-status p{margin:0;color:#5f6f87;font-size:10.5px;line-height:1.58}
.lfx22-overview-hero>div,.lfx22-inline-nav{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.lfx22-overview-hero button,.lfx22-inline-nav button{padding:8px 11px;border:1px solid #dfe5ef;border-radius:9px;background:#fff;color:#6046dc;font-size:9px;font-weight:760;cursor:pointer}
.lfx22-inline-nav button.primary{background:#6748e4;border-color:#6748e4;color:#fff}
.lfx22-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}
.lfx22-value-grid article{padding:13px;border:1px solid #e3e8f0;border-radius:11px;background:#fff}
.lfx22-value-grid span{display:block;color:#7b879b;font-size:7.5px;font-weight:850;letter-spacing:.08em}
.lfx22-value-grid p{margin:5px 0 0;color:#33435c;font-size:9.5px;line-height:1.5}
.lfx22-method h3{margin:0 0 7px;color:#293952;font-size:12px}
.lfx22-method p+p{margin-top:8px}
.lfx22-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.lfx22-driver{padding:13px;border:1px solid #e3e8f0;border-radius:11px;background:#fff}
.lfx22-driver h4{margin:0 0 9px;color:#2c3a52;font-size:10.5px}
.lfx22-driver>div{display:grid;grid-template-columns:minmax(90px,1fr) minmax(100px,1.2fr) 44px;gap:7px;align-items:center;margin:7px 0}
.lfx22-driver span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5d6b81;font-size:8.5px}
.lfx22-driver i{height:6px;overflow:hidden;border-radius:99px;background:#eef2f8}
.lfx22-driver i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8db8ff,#6d4de7)}
.lfx22-driver strong{color:#34445d;font-size:8.5px;text-align:right}
.lfx22-driver>p{color:#8793a6;font-size:8.5px}
.lfx22-recommendations{display:grid;gap:9px}
.lfx22-recommendations article{display:grid;grid-template-columns:30px 1fr;gap:11px;padding:13px;border:1px solid #e1e6ef;border-radius:11px;background:#fff}
.lfx22-recommendations article>span{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#f0edff;color:#654ae2;font-size:10px;font-weight:850}
.lfx22-recommendations h4{margin:0 0 5px;color:#27374f;font-size:10.5px}
.lfx22-recommendations p{margin:3px 0;color:#64738a;font-size:9px;line-height:1.45}
.lfx22-ai-status.ready{background:#f6fff9;border-color:#caecd7}
.lfx22-ai-status.limited{background:#fffcf5;border-color:#f1e2b9}
.lfx22-questions{display:grid;gap:8px;margin-top:11px}
.lfx22-questions button{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:12px;border:1px solid #e2e7ef;border-radius:11px;background:#fff;text-align:left;cursor:pointer}
.lfx22-questions button:hover{border-color:#c8bcfb;background:#fbfaff}
.lfx22-questions span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#f2efff;color:#6748e4;font-size:9px;font-weight:850}
.lfx22-questions p{margin:0;color:#34445c;font-size:9.5px;line-height:1.4}
.lfx22-questions b{color:#6748e4;font-size:8.5px;white-space:nowrap}
@media(max-width:1180px){.lfx22-card-intel,.lfx22-value-grid{grid-template-columns:1fr}.lfx22-card-intel>div{border-right:0;border-bottom:1px solid #edf1f6}.lfx22-card-intel>div:last-child{border-bottom:0}.lfx22-context-controls{align-items:flex-start;flex-direction:column}.lfx22-context-controls p{text-align:left}.lfx22-drawer{width:min(900px,86vw)}}
@media(max-width:720px){.lfx22-drawer{width:100vw}.lfx22-driver-grid{grid-template-columns:1fr}.lfx22-value-grid{grid-template-columns:1fr}.lfx22-questions button{grid-template-columns:26px 1fr}.lfx22-questions b{grid-column:2}}


/* ==========================================================================
   Ledger Feed LFX23 V5 — InSolutions AI Copilot + governed Workflow backbone
   Central-workspace injection only. No shell/nav/right-rail selectors.
   ========================================================================== */
.lfv6-root .lfx23-launch{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 14px;padding:14px 16px;border:1px solid #ddd8fb;border-radius:13px;background:linear-gradient(135deg,#fbfaff 0%,#f3f8ff 55%,#f4fffb 100%);box-shadow:0 2px 8px rgba(77,58,170,.05)}
.lfv6-root .lfx23-launch>div:first-child{min-width:0}
.lfv6-root .lfx23-launch span{display:block;color:#6548df;font-size:7.8px;font-weight:900;letter-spacing:.11em}
.lfv6-root .lfx23-launch b{display:block;margin-top:4px;color:#24334d;font-size:11px;line-height:1.4}
.lfv6-root .lfx23-launch small{display:block;margin-top:4px;color:#718097;font-size:8.4px;line-height:1.45}
.lfv6-root .lfx23-launch>div:last-child{display:flex;gap:7px;flex:0 0 auto}
.lfv6-root .lfx23-launch button{min-height:36px;padding:0 13px;border:1px solid #d8deea;border-radius:9px;background:#fff;color:#5b6980;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}
.lfv6-root .lfx23-launch button.primary{background:#6548df;border-color:#6548df;color:#fff;box-shadow:0 6px 16px rgba(101,72,223,.16)}
.lfv6-root .lfx23-launch button:hover{transform:translateY(-1px)}

.lfx23-bg{position:fixed;inset:0;z-index:2147483300;background:rgba(15,23,42,.28);display:flex;justify-content:flex-end;align-items:stretch}
.lfx23-panel{width:min(760px,92vw);height:100vh;background:#f8faff;border-left:1px solid #dfe5ef;box-shadow:-20px 0 54px rgba(15,23,42,.18);display:flex;flex-direction:column;animation:lfx23In .18s ease-out}
@keyframes lfx23In{from{transform:translateX(34px);opacity:.55}to{transform:none;opacity:1}}
.lfx23-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 16px;background:linear-gradient(135deg,#101e49 0%,#33207d 65%,#5f2db3 100%);color:#fff}
.lfx23-brand{display:flex;align-items:center;gap:12px;min-width:0}
.lfx23-brand>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#38bdf8);box-shadow:0 7px 18px rgba(43,31,117,.35);font-size:18px}
.lfx23-brand small{display:block;color:#dcd7ff;font-size:8px;font-weight:900;letter-spacing:.13em}
.lfx23-brand h2{margin:2px 0 0;color:#fff;font-size:21px;line-height:1.1}
.lfx23-brand p{margin:4px 0 0;color:#dddff8;font-size:9.5px}
.lfx23-head>button{width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:23px;cursor:pointer}
.lfx23-head>button:hover{background:rgba(255,255,255,.18)}
.lfx23-mode{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid #e3e8f0;background:#fff}
.lfx23-mode button{padding:9px 13px;border:1px solid #e0e5ee;border-radius:9px;background:#f7f9fc;color:#607086;font-size:9.5px;font-weight:800;cursor:pointer}
.lfx23-mode button.active{background:#6a4be7;border-color:#6a4be7;color:#fff}
.lfx23-mode button:last-child{margin-left:auto;background:#fff}
.lfx23-scroll{flex:1;overflow:auto;padding:15px 16px 20px}
.lfx23-foot{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;border-top:1px solid #e4e9f1;background:#fff;color:#8490a4;font-size:7.8px}
.lfx23-foot b{color:#53637b;font-weight:750}

.lfx23-context-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 13px;border:1px solid #dfe6f1;border-radius:12px;background:#fff}
.lfx23-context-banner span{display:block;color:#6448df;font-size:7px;font-weight:900;letter-spacing:.11em}
.lfx23-context-banner b{display:block;margin-top:4px;color:#23334d;font-size:11px}
.lfx23-context-banner p{margin:4px 0 0;color:#7a879b;font-size:8px;line-height:1.4}
.lfx23-context-banner>div:last-child{min-width:130px;padding:9px 11px;border-radius:9px;background:#f5fff9;border:1px solid #d7eee0}
.lfx23-context-banner small{display:block;color:#728399;font-size:7.5px}
.lfx23-context-banner strong{display:block;margin-top:3px;color:#168456;font-size:9.5px}

.lfx23-welcome{margin-top:12px;padding:26px 20px;text-align:center;border:1px solid #e2e7ef;border-radius:13px;background:linear-gradient(180deg,#fff,#fbfbff)}
.lfx23-welcome>span{width:42px;height:42px;margin:0 auto 9px;display:grid;place-items:center;border-radius:13px;background:#f0ecff;color:#6548df;font-size:19px}
.lfx23-welcome h3{margin:0;color:#26364f;font-size:14px}
.lfx23-welcome p{max-width:540px;margin:7px auto 0;color:#697990;font-size:9.5px;line-height:1.55}
.lfx23-thread{display:grid;gap:10px;margin-top:12px}
.lfx23-msg{max-width:92%;padding:12px 13px;border:1px solid #e0e6ef;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.lfx23-msg.user{margin-left:auto;background:#f0edff;border-color:#ddd4ff}
.lfx23-msg.error{background:#fff7f7;border-color:#f2cccc}
.lfx23-msg header{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.lfx23-msg header b{color:#27374f;font-size:9px}
.lfx23-msg header>span:not(.lfx23-confidence){color:#929cad;font-size:7px}
.lfx23-confidence{padding:3px 6px;border-radius:999px;background:#edf9f2;color:#198357;font-size:7px;font-weight:800}
.lfx23-msg-body{color:#4e5f77;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.lfx23-msg-body strong{color:#26364f}
.lfx23-msg-body code{padding:1px 4px;border-radius:4px;background:#eef1f6;color:#4d3ab7;font-size:9px}
.lfx23-msg details{margin-top:9px;border-top:1px solid #edf0f5;padding-top:7px}
.lfx23-msg summary{color:#6548df;font-size:8px;font-weight:800;cursor:pointer}
.lfx23-typing{display:flex;align-items:center;gap:5px;color:#758399;font-size:8px}
.lfx23-typing i{width:6px;height:6px;border-radius:50%;background:#7458e7;animation:lfx23Pulse 1.1s infinite}
.lfx23-typing i:nth-child(2){animation-delay:.13s}.lfx23-typing i:nth-child(3){animation-delay:.26s}
@keyframes lfx23Pulse{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}

.lfx23-suggest{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 10px}
.lfx23-suggest button{max-width:100%;padding:7px 9px;border:1px solid #dfe5ef;border-radius:9px;background:#fff;color:#5e6d83;font-size:7.8px;line-height:1.3;text-align:left;cursor:pointer}
.lfx23-suggest button:hover{border-color:#c9bcfb;background:#faf8ff;color:#5c42d4}
.lfx23-compose{position:sticky;bottom:0;padding:10px;border:1px solid #dfe5ef;border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.08)}
.lfx23-compose textarea{display:block;width:100%;min-height:88px;resize:vertical;border:0;outline:0;background:transparent;color:#34445c;font:inherit;font-size:10.5px;line-height:1.5}
.lfx23-compose>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf0f5;padding-top:8px}
.lfx23-compose small{color:#8a95a7;font-size:7.5px}
.lfx23-compose button{padding:8px 14px;border:0;border-radius:9px;background:#6548df;color:#fff;font-size:9px;font-weight:850;cursor:pointer}
.lfx23-error{margin:10px 0;padding:9px 11px;border:1px solid #efcaca;border-radius:9px;background:#fff7f7;color:#a53d48;font-size:8.5px;line-height:1.4}

.lfx23-workflow-hero{padding:16px;border:1px solid #ddd7fb;border-radius:13px;background:linear-gradient(135deg,#fbfaff,#f5f9ff)}
.lfx23-workflow-hero>span,.lfx23-review>span{color:#6548df;font-size:7.5px;font-weight:900;letter-spacing:.11em}
.lfx23-workflow-hero h3,.lfx23-review h3{margin:5px 0;color:#26364f;font-size:15px}
.lfx23-workflow-hero p{margin:0;color:#65758d;font-size:9.5px;line-height:1.55}
.lfx23-workflow-hero button{margin-top:11px;padding:9px 13px;border:0;border-radius:9px;background:#6548df;color:#fff;font-size:9px;font-weight:850;cursor:pointer}
.lfx23-workflow-hero button:disabled{opacity:.55;cursor:wait}
.lfx23-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;gap:5px;align-items:stretch;margin:13px 0}
.lfx23-flow article{min-width:0;padding:10px 8px;border:1px solid #e2e7ef;border-radius:10px;background:#fff;text-align:center}
.lfx23-flow article span{width:23px;height:23px;margin:0 auto 5px;display:grid;place-items:center;border-radius:7px;background:#f0edff;color:#6548df;font-size:8px;font-weight:900}
.lfx23-flow article b{display:block;color:#33435b;font-size:8px}
.lfx23-flow article p{margin:4px 0 0;color:#8490a3;font-size:7px;line-height:1.35}
.lfx23-flow>i{align-self:center;color:#9aa5b5;font-style:normal}
.lfx23-workflow-output{margin-top:12px}
.lfx23-section-head h3{margin:0;color:#2b3a53;font-size:12px}
.lfx23-section-head p{margin:4px 0 9px;color:#7c899d;font-size:8.5px}
.lfx23-empty{padding:20px;border:1px dashed #d9e0ea;border-radius:10px;background:#fff;color:#7c899d;font-size:9px;text-align:center}
.lfx23-action-list{display:grid;gap:8px}
.lfx23-action-list article{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid #e2e7ef;border-radius:10px;background:#fff}
.lfx23-action-list span{display:block;color:#765ae9;font-size:6.8px;font-weight:900;letter-spacing:.1em}
.lfx23-action-list h4{margin:3px 0 0;color:#2c3b54;font-size:9.5px}
.lfx23-action-list p{margin:4px 0 0;color:#7a879a;font-size:7.8px;line-height:1.4}
.lfx23-action-list button,.lfx23-back{padding:7px 10px;border:1px solid #dcdff0;border-radius:8px;background:#fff;color:#6548df;font-size:8px;font-weight:800;cursor:pointer}
.lfx23-review{margin-top:10px;padding:15px;border:1px solid #e0e5ee;border-radius:12px;background:#fff}
.lfx23-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0}
.lfx23-review-grid>div{padding:9px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe}
.lfx23-review-grid small{display:block;color:#8a95a6;font-size:7px}
.lfx23-review-grid b{display:block;margin-top:3px;color:#34445d;font-size:8.5px;overflow-wrap:anywhere}
.lfx23-review h4{margin:11px 0 6px;color:#33435b;font-size:9px}
.lfx23-review pre{max-height:250px;overflow:auto;padding:10px;border-radius:9px;background:#111827;color:#dbe4f0;font-size:7.8px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.lfx23-safety{margin-top:11px;padding:10px;border:1px solid #d8ebdf;border-radius:9px;background:#f5fff8}
.lfx23-safety b{color:#237b53;font-size:8.5px}
.lfx23-safety p{margin:4px 0 0;color:#61766c;font-size:8px;line-height:1.45}
.lfx23-ask-bridge .lfx22-ai-status .lfx22-inline-nav{margin-top:11px}

@media(max-width:980px){
 .lfv6-root .lfx23-launch{align-items:flex-start;flex-direction:column}
 .lfv6-root .lfx23-launch>div:last-child{width:100%}
 .lfx23-panel{width:min(720px,96vw)}
 .lfx23-flow{grid-template-columns:1fr 1fr;gap:7px}
 .lfx23-flow>i{display:none}
}
@media(max-width:640px){
 .lfx23-panel{width:100vw;max-width:none}
 .lfx23-head{padding:14px}
 .lfx23-mode{padding:8px;flex-wrap:wrap}
 .lfx23-mode button:last-child{margin-left:0}
 .lfx23-scroll{padding:10px}
 .lfx23-context-banner{grid-template-columns:1fr}
 .lfx23-context-banner>div:last-child{min-width:0}
 .lfx23-flow,.lfx23-review-grid{grid-template-columns:1fr}
 .lfx23-foot{display:none}
 .lfv6-root .lfx23-launch>div:last-child{flex-direction:column}
 .lfv6-root .lfx23-launch button{width:100%}
}


/* ============================================================================
   Ledger Feed LFX24 V6 — unified analytical drawer
   Ask AI and Workflow Automation live inside the selected-chart drawer.
   No second / nested modal is rendered for Ledger Feed.
   ============================================================================ */
.lfv6-root .lfx24-drawer{width:min(1180px,86vw)}
.lfv6-root .lfx24-inline{display:grid;gap:12px;min-height:100%}
.lfv6-root .lfx24-inline-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #e0e5ef;border-radius:12px;background:linear-gradient(135deg,#fbfaff,#f6f9ff)}
.lfv6-root .lfx24-inline-head>div{min-width:0}
.lfv6-root .lfx24-inline-head span{display:block;color:#6548df;font-size:7.4px;font-weight:900;letter-spacing:.12em}
.lfv6-root .lfx24-inline-head h3{margin:4px 0 0;color:#23324b;font-size:14px;line-height:1.25}
.lfv6-root .lfx24-inline-head p{margin:4px 0 0;color:#718097;font-size:8.7px;line-height:1.45}
.lfv6-root .lfx24-inline-head button{flex:0 0 auto;padding:8px 11px;border:1px solid #dce2ed;border-radius:9px;background:#fff;color:#5d6c82;font-size:8.5px;font-weight:800;cursor:pointer}
.lfv6-root .lfx24-phase-note{padding:9px 11px;border:1px solid #e6e0fa;border-radius:9px;background:#fbf9ff;color:#69768c;font-size:8.5px;line-height:1.5}
.lfv6-root .lfx24-phase-note b{color:#5f43cf}
.lfv6-root .lfx24-inline .lfx23-chat,.lfv6-root .lfx24-inline .lfx23-workflow{min-width:0}
.lfv6-root .lfx24-inline .lfx23-thread{max-height:none}
.lfv6-root .lfx24-inline .lfx23-compose{position:relative;bottom:auto}
.lfv6-root .lfx24-inline-foot{display:flex;justify-content:space-between;gap:12px;padding:8px 2px 0;color:#8792a4;font-size:7.5px}
.lfv6-root .lfx24-inline-foot b{color:#596980;font-weight:750}
.lfv6-root .lfx21-tabs{overflow-x:auto;scrollbar-width:thin}
.lfv6-root .lfx21-tabs button{white-space:nowrap}
@media(max-width:980px){
  .lfv6-root .lfx24-drawer{width:min(960px,96vw)}
  .lfv6-root .lfx24-inline-head{align-items:flex-start;flex-direction:column}
  .lfv6-root .lfx24-inline-head button{width:100%}
}
@media(max-width:720px){
  .lfv6-root .lfx24-drawer{width:100vw;max-width:none}
  .lfv6-root .lfx24-inline-foot{display:none}
}


/* ============================================================================
   Ledger Feed LFX25 V7 — de-duplicated analytical navigation + readability
   Scope: Ledger Feed analytical central workspace / drawer only.
   No shell, hero, nav, right rail, backend or other-page changes.
   ============================================================================ */

/* One canonical navigation model:
   - Cards expose a single Open analysis entry point.
   - Drawer tabs own Interpretation / Drivers / Records / Actions / AI / Workflow.
   - Top row contains utilities only. */
.lfv6-root .lfx25-utility-actions{
  align-items:center;
  padding:10px 20px;
  gap:8px;
  background:#fff;
}
.lfv6-root .lfx25-utility-label{
  margin-right:2px;
  color:#78869a;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
}
.lfv6-root .lfx25-utility-actions button{
  min-height:34px;
  padding:0 13px;
  font-size:10.5px;
}
.lfv6-root .lfx22-card-actions{
  padding-top:10px;
}
.lfv6-root .lfx22-card-actions .lfx25-open-analysis{
  min-height:34px;
  padding:7px 12px;
  font-size:10px;
  font-weight:800;
}

/* Readability uplift — intentionally modest so the enterprise density remains intact. */
.lfv6-root .lfx20-suite-head span{font-size:10px}
.lfv6-root .lfx20-suite-head h2{font-size:17px}
.lfv6-root .lfx20-suite-head p{font-size:11px;line-height:1.5}
.lfv6-root .lfx20-scope{font-size:10px}

.lfv6-root .lfx20-card h3{font-size:12px;line-height:1.35}
.lfv6-root .lfx20-card header p{font-size:10px;line-height:1.45}
.lfv6-root .lfx20-legend{font-size:9.5px}
.lfv6-root .lfx20-grid text,
.lfv6-root .lfx20-x,
.lfv6-root .lfx20-axis,
.lfv6-root .lfx20-note{font-size:9px}
.lfv6-root .lfx20-statline{font-size:9.8px;line-height:1.45}
.lfv6-root .lfx20-insight{font-size:10px;line-height:1.55}
.lfv6-root .lfx20-disclaimer{font-size:9px;line-height:1.5}
.lfv6-root .lfx20-hbar{font-size:9.5px}
.lfv6-root .lfx20-hbar>strong{font-size:9.5px}
.lfv6-root .lfx20-donut-legend>div{font-size:9px}
.lfv6-root .lfx20-gauge>b{font-size:9px}
.lfv6-root .lfx20-gauge>span{font-size:8px}
.lfv6-root .lfx20-research-cell>span{font-size:9px}
.lfv6-root .lfx20-research-cell>b{font-size:14px}
.lfv6-root .lfx20-research-cell>small{font-size:8.5px;line-height:1.45}

/* Inline WHAT IT TELLS YOU / WHY IT MATTERS / NEXT STEP text. */
.lfv6-root .lfx22-card-intel span{font-size:8.5px}
.lfv6-root .lfx22-card-intel p{font-size:10px;line-height:1.55}
.lfv6-root .lfx22-context-controls span,
.lfv6-root .lfx22-context-controls button{font-size:10px}
.lfv6-root .lfx22-context-controls p{font-size:9.5px;line-height:1.45}

/* Drawer header + canonical tabs. */
.lfv6-root .lfx20-drawer-head span{font-size:10px}
.lfv6-root .lfx20-drawer-head h2{font-size:23px}
.lfv6-root .lfx20-drawer-head p{font-size:12px;line-height:1.55}
.lfv6-root .lfx21-tabs button{font-size:11.5px;padding:10px 14px}

/* Drawer explanatory content. */
.lfv6-root .lfx22-overview-hero>span,
.lfv6-root .lfx22-executive>span,
.lfv6-root .lfx22-ai-status>span{font-size:9.5px}
.lfv6-root .lfx22-overview-hero h3,
.lfv6-root .lfx22-executive h3,
.lfv6-root .lfx22-ai-status h3{font-size:17px}
.lfv6-root .lfx22-overview-hero p,
.lfv6-root .lfx22-executive p,
.lfv6-root .lfx22-method p,
.lfv6-root .lfx22-ai-status p{font-size:12px;line-height:1.65}
.lfv6-root .lfx20-drawer-facts h3,
.lfv6-root .lfx20-drawer-note h3{font-size:12.5px}
.lfv6-root .lfx20-drawer-facts article span{font-size:10px}
.lfv6-root .lfx20-drawer-facts article b{font-size:13px}
.lfv6-root .lfx20-drawer-note p{font-size:11.5px;line-height:1.65}

.lfv6-root .lfx22-driver strong,
.lfv6-root .lfx22-driver>p{font-size:10px}
.lfv6-root .lfx22-recommendations h4{font-size:12px}
.lfv6-root .lfx22-recommendations p{font-size:10.5px;line-height:1.55}
.lfv6-root .lfx22-questions p{font-size:10.5px;line-height:1.5}
.lfv6-root .lfx22-questions b{font-size:9.5px}

/* AI / Workflow text remains compact but readable. */
.lfv6-root .lfx24-inline-head span{font-size:9px}
.lfv6-root .lfx24-inline-head h3{font-size:16px}
.lfv6-root .lfx24-inline-head p{font-size:10.5px;line-height:1.55}
.lfv6-root .lfx24-inline-head button{font-size:10px}
.lfv6-root .lfx24-phase-note{font-size:10px;line-height:1.55}
.lfv6-root .lfx23-context-banner span{font-size:8.5px}
.lfv6-root .lfx23-context-banner b{font-size:12.5px}
.lfv6-root .lfx23-context-banner p{font-size:9.8px;line-height:1.5}
.lfv6-root .lfx23-context-banner small{font-size:9px}
.lfv6-root .lfx23-context-banner strong{font-size:11px}
.lfv6-root .lfx23-msg header b{font-size:10.5px}
.lfv6-root .lfx23-msg header>span:not(.lfx23-confidence){font-size:8.5px}
.lfv6-root .lfx23-confidence{font-size:8.5px}
.lfv6-root .lfx23-msg-body{font-size:11.5px;line-height:1.65}
.lfv6-root .lfx23-suggest button{font-size:9.5px;line-height:1.45}
.lfv6-root .lfx23-compose textarea{font-size:12px;line-height:1.55}
.lfv6-root .lfx23-compose small{font-size:9px}
.lfv6-root .lfx23-compose button{font-size:10.5px}
.lfv6-root .lfx23-error{font-size:10px;line-height:1.5}
.lfv6-root .lfx23-workflow-hero>span,
.lfv6-root .lfx23-review>span{font-size:9px}
.lfv6-root .lfx23-workflow-hero h3,
.lfv6-root .lfx23-review h3{font-size:16px}
.lfv6-root .lfx23-workflow-hero p{font-size:10.5px;line-height:1.55}
.lfv6-root .lfx23-flow article b{font-size:9.5px}
.lfv6-root .lfx23-flow article p{font-size:8.5px;line-height:1.45}
.lfv6-root .lfx23-section-head h3{font-size:13px}
.lfv6-root .lfx23-section-head p{font-size:10px}
.lfv6-root .lfx23-empty{font-size:10.5px}
.lfv6-root .lfx23-action-list span{font-size:8px}
.lfv6-root .lfx23-action-list h4{font-size:11px}
.lfv6-root .lfx23-action-list p{font-size:9.5px;line-height:1.5}
.lfv6-root .lfx23-review-grid small{font-size:8.5px}
.lfv6-root .lfx23-review-grid b{font-size:10px}
.lfv6-root .lfx23-review h4{font-size:10.5px}
.lfv6-root .lfx23-review pre{font-size:9px;line-height:1.5}
.lfv6-root .lfx23-safety b{font-size:10px}
.lfv6-root .lfx23-safety p{font-size:9.5px;line-height:1.5}
.lfv6-root .lfx24-inline-foot{font-size:9px}

@media(max-width:720px){
  .lfv6-root .lfx25-utility-actions{padding:9px 12px}
  .lfv6-root .lfx25-utility-label{width:100%}
  .lfv6-root .lfx20-drawer-head h2{font-size:20px}
  .lfv6-root .lfx20-drawer-head p{font-size:11px}
  .lfv6-root .lfx21-tabs button{font-size:10.5px}
}


/* ============================================================================
   Ledger Feed LFX26 V8 — progressive disclosure, decision-first simplification
   Scope: central analytical workspace only.
   ============================================================================ */
.lfv6-root .lfx26-suite{
  --lfx26-ink:#17233d;
  --lfx26-muted:#708099;
  --lfx26-border:#e5eaf3;
}
.lfv6-root .lfx26-suite-head{
  padding-bottom:14px;
}
.lfv6-root .lfx26-suite-head h2{
  max-width:900px;
  font-size:19px;
  letter-spacing:-.02em;
}
.lfv6-root .lfx26-suite-head p{
  max-width:900px;
  font-size:11.5px;
}
.lfv6-root .lfx26-brief{
  margin:0 0 14px;
  padding:14px;
  border:1px solid #e2e8f5;
  border-radius:16px;
  background:linear-gradient(135deg,#fbfcff 0%,#f7f4ff 100%);
  box-shadow:0 8px 24px rgba(40,54,96,.05);
}
.lfv6-root .lfx26-brief-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}
.lfv6-root .lfx26-brief-head span,
.lfv6-root .lfx26-section-head>span{
  display:block;
  color:#6950e8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
.lfv6-root .lfx26-brief-head h3{
  margin:3px 0 0;
  color:var(--lfx26-ink);
  font-size:16px;
}
.lfv6-root .lfx26-brief-head p{
  max-width:620px;
  margin:0;
  color:var(--lfx26-muted);
  font-size:10.5px;
  line-height:1.5;
  text-align:right;
}
.lfv6-root .lfx26-brief-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.lfv6-root .lfx26-brief-card{
  position:relative;
  min-height:106px;
  padding:13px 14px;
  border:1px solid var(--lfx26-border);
  border-radius:13px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.lfv6-root .lfx26-brief-card:hover{
  transform:translateY(-2px);
  border-color:#cfd8ef;
  box-shadow:0 9px 22px rgba(31,45,85,.09);
}
.lfv6-root .lfx26-brief-card:focus-visible{
  outline:3px solid rgba(108,77,230,.22);
  outline-offset:2px;
}
.lfv6-root .lfx26-brief-card span{
  display:block;
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.06em;
  color:#77849a;
  text-transform:uppercase;
}
.lfv6-root .lfx26-brief-card b{
  display:block;
  margin-top:7px;
  overflow:hidden;
  color:#17233d;
  font-size:18px;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lfv6-root .lfx26-brief-card small{
  display:block;
  margin-top:5px;
  color:#77849a;
  font-size:9.5px;
  line-height:1.45;
}
.lfv6-root .lfx26-brief-card i{
  display:block;
  margin-top:9px;
  color:#6950e8;
  font-size:9px;
  font-style:normal;
  font-weight:800;
}
.lfv6-root .lfx26-brief-card.blue{box-shadow:inset 3px 0 #3b82f6}
.lfv6-root .lfx26-brief-card.red{box-shadow:inset 3px 0 #ef4444}
.lfv6-root .lfx26-brief-card.amber{box-shadow:inset 3px 0 #f59e0b}
.lfv6-root .lfx26-brief-card.green{box-shadow:inset 3px 0 #10b981}

.lfv6-root .lfx26-controls{
  margin-bottom:18px;
  padding:9px 12px;
  border:1px solid #e7ebf3;
  border-radius:12px;
  background:#fff;
}

.lfv6-root .lfx26-section{
  margin:0 0 20px;
}
.lfv6-root .lfx26-section-head{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:13px;
  align-items:start;
  margin:0 2px 10px;
}
.lfv6-root .lfx26-section-head>span{
  padding-top:5px;
}
.lfv6-root .lfx26-section-head h3{
  margin:0;
  color:#17233d;
  font-size:15px;
  letter-spacing:-.01em;
}
.lfv6-root .lfx26-section-head p{
  margin:2px 0 0;
  color:#77849a;
  font-size:10px;
}
.lfv6-root .lfx26-two{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:12px;
  margin-top:12px;
}
.lfv6-root .lfx26-quality{
  margin-top:12px;
}
.lfv6-root .lfx26-quality>.lfx20-card{
  min-height:auto;
}

/* Softer, less boxy analytical cards. */
.lfv6-root .lfx26-suite .lfx20-card{
  border-color:#e5eaf3;
  border-radius:15px;
  box-shadow:0 5px 16px rgba(28,42,79,.035);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.lfv6-root .lfx26-suite .lfx20-card:hover{
  transform:translateY(-1px);
  border-color:#d9e0ef;
  box-shadow:0 10px 26px rgba(28,42,79,.07);
}
.lfv6-root .lfx26-suite .lfx20-card header{
  padding-bottom:8px;
}
.lfv6-root .lfx26-suite .lfx20-card h3{
  color:#17233d;
}
.lfv6-root .lfx26-suite .lfx20-openhint{
  opacity:.8;
  font-weight:800;
}
.lfv6-root .lfx26-suite .lfx22-card-intel{
  margin-top:8px;
  border-top:1px solid #eef1f6;
  background:#fbfcfe;
}

/* Advanced analysis is deliberately collapsed by default. */
.lfv6-root .lfx26-advanced{
  margin-top:8px;
  border:1px solid #e1e7f2;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
}
.lfv6-root .lfx26-advanced>summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:15px 17px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  background:linear-gradient(90deg,#fbfcff,#faf8ff);
}
.lfv6-root .lfx26-advanced>summary::-webkit-details-marker{display:none}
.lfv6-root .lfx26-advanced>summary span{
  display:block;
  color:#6950e8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
.lfv6-root .lfx26-advanced>summary b{
  display:block;
  margin-top:2px;
  color:#17233d;
  font-size:13px;
}
.lfv6-root .lfx26-advanced>summary small{
  display:block;
  margin-top:3px;
  color:#7b879b;
  font-size:9.5px;
}
.lfv6-root .lfx26-advanced>summary i{
  color:#6950e8;
  font-size:10px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
.lfv6-root .lfx26-advanced[open]>summary i{font-size:0}
.lfv6-root .lfx26-advanced[open]>summary i:after{
  content:"Hide analysis ↑";
  font-size:10px;
}
.lfv6-root .lfx26-advanced-body{
  padding:12px;
  border-top:1px solid #e9edf5;
  background:#fafbfe;
}
.lfv6-root .lfx26-advanced-body>.lfx20-card{
  margin-top:12px;
}

/* Keep visual hierarchy calm: supporting captions are readable but secondary. */
.lfv6-root .lfx26-suite .lfx20-card header p,
.lfv6-root .lfx26-suite .lfx20-disclaimer{
  color:#7b879b;
}
.lfv6-root .lfx26-suite .lfx20-legend{
  opacity:.9;
}

@media(max-width:1180px){
  .lfv6-root .lfx26-brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfv6-root .lfx26-two{grid-template-columns:1fr}
}
@media(max-width:760px){
  .lfv6-root .lfx26-brief-head{display:block}
  .lfv6-root .lfx26-brief-head p{margin-top:6px;text-align:left}
  .lfv6-root .lfx26-brief-grid{grid-template-columns:1fr}
  .lfv6-root .lfx26-section-head{grid-template-columns:1fr;gap:3px}
  .lfv6-root .lfx26-section-head>span{padding-top:0}
  .lfv6-root .lfx26-advanced>summary{align-items:flex-start}
}


/* ============================================================================
   Ledger Feed LFX27 V9 — premium simplified finance dashboard
   Design direction: one hero chart + tables/decision cards + detail on demand.
   ============================================================================ */
.lfv6-root .lfx27-suite{
  --lfx27-ink:#17233d;
  --lfx27-muted:#73829a;
  --lfx27-line:#e6eaf2;
  --lfx27-surface:#ffffff;
}
.lfv6-root .lfx27-suite-head{
  padding-bottom:10px;
}
.lfv6-root .lfx27-suite-head h2{
  max-width:820px;
  font-size:20px;
  letter-spacing:-.025em;
}
.lfv6-root .lfx27-suite-head p{
  max-width:820px;
  font-size:11.5px;
  line-height:1.55;
}
.lfv6-root .lfx27-controls{
  margin-bottom:14px;
  background:transparent;
  border-color:#e6eaf2;
  box-shadow:none;
}

/* HERO: metrics on the left, one dominant chart on the right. */
.lfv6-root .lfx27-overview{
  display:grid;
  grid-template-columns:minmax(230px,.30fr) minmax(0,.70fr);
  min-height:420px;
  border:1px solid var(--lfx27-line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 32px rgba(27,39,75,.055);
}
.lfv6-root .lfx27-overview-side{
  padding:22px 18px;
  border-right:1px solid var(--lfx27-line);
  background:linear-gradient(180deg,#fff 0%,#fbfbff 100%);
}
.lfv6-root .lfx27-overview-title span,
.lfv6-root .lfx27-panel-head span{
  display:block;
  color:#6250dc;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
.lfv6-root .lfx27-overview-title h3{
  margin:5px 0 6px;
  color:var(--lfx27-ink);
  font-size:18px;
  letter-spacing:-.02em;
}
.lfv6-root .lfx27-overview-title p{
  margin:0;
  color:var(--lfx27-muted);
  font-size:10.5px;
  line-height:1.55;
}
.lfv6-root .lfx27-metrics{
  display:grid;
  gap:8px;
  margin-top:18px;
}
.lfv6-root .lfx27-metric{
  position:relative;
  padding:11px 12px 11px 15px;
  border:1px solid #edf0f5;
  border-radius:12px;
  background:#fff;
}
.lfv6-root .lfx27-metric:before{
  content:"";
  position:absolute;
  left:0;top:10px;bottom:10px;width:3px;
  border-radius:0 3px 3px 0;
  background:#8a83ff;
}
.lfv6-root .lfx27-metric.blue:before{background:#5b6df6}
.lfv6-root .lfx27-metric.red:before{background:#ef6469}
.lfv6-root .lfx27-metric.teal:before{background:#14b8a6}
.lfv6-root .lfx27-metric.purple:before{background:#7c3aed}
.lfv6-root .lfx27-metric span{
  display:block;
  color:#77849a;
  font-size:8.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.lfv6-root .lfx27-metric b{
  display:block;
  margin-top:2px;
  color:#17233d;
  font-size:20px;
  letter-spacing:-.025em;
}
.lfv6-root .lfx27-metric small{
  display:block;
  margin-top:1px;
  color:#8793a6;
  font-size:8.7px;
  line-height:1.4;
}
.lfv6-root .lfx27-overview-chart{
  padding:20px 22px 16px;
}
.lfv6-root .lfx27-chart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:8px;
}
.lfv6-root .lfx27-chart-head h3{
  margin:0;
  color:#17233d;
  font-size:15px;
}
.lfv6-root .lfx27-chart-head p{
  margin:3px 0 0;
  color:#77849a;
  font-size:9.7px;
}
.lfv6-root .lfx27-chart-head>span{
  max-width:250px;
  padding:6px 9px;
  border:1px solid #e7ebf3;
  border-radius:9px;
  background:#fafbfe;
  color:#73829a;
  font-size:8.5px;
  text-align:right;
}
.lfv6-root .lfx27-chart{
  height:300px;
  margin-top:5px;
}
.lfv6-root .lfx27-chart svg{
  width:100%;
  height:100%;
  overflow:visible;
}
.lfv6-root .lfx27-chart-note{
  display:flex;
  align-items:center;
  gap:5px;
  padding-top:8px;
  border-top:1px solid #edf0f5;
  color:#73829a;
  font-size:9.5px;
}
.lfv6-root .lfx27-chart-note b{color:#33415c}
.lfv6-root .lfx27-chart-note button{
  margin-left:auto;
  padding:5px 8px;
  border:0;
  background:transparent;
  color:#6250dc;
  font-size:9.5px;
  font-weight:800;
  cursor:pointer;
}

/* Bento below hero: source table + attention queue. */
.lfv6-root .lfx27-bento{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:12px;
  margin-top:14px;
}
.lfv6-root .lfx27-panel{
  min-width:0;
  border:1px solid var(--lfx27-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(27,39,75,.035);
  overflow:hidden;
}
.lfv6-root .lfx27-panel-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding:15px 16px 12px;
}
.lfv6-root .lfx27-panel-head h3{
  margin:4px 0 2px;
  color:#17233d;
  font-size:14px;
}
.lfv6-root .lfx27-panel-head p{
  margin:0;
  color:#7c899d;
  font-size:9.5px;
  line-height:1.45;
}
.lfv6-root .lfx27-panel-head button{
  flex:none;
  border:0;
  background:transparent;
  color:#6250dc;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}
.lfv6-root .lfx27-table{
  padding:0 12px 12px;
}
.lfv6-root .lfx27-tr{
  display:grid;
  grid-template-columns:minmax(130px,1.7fr) .75fr .75fr .60fr .75fr;
  align-items:center;
  gap:8px;
  min-height:37px;
  padding:0 9px;
}
.lfv6-root .lfx27-tr.head{
  border-radius:8px;
  background:#f7f8fb;
  color:#7a879a;
  font-size:8.3px;
  font-weight:800;
}
.lfv6-root button.lfx27-tr.row{
  width:100%;
  border:0;
  border-bottom:1px solid #eef1f5;
  background:#fff;
  color:#33415c;
  font-size:9.4px;
  text-align:left;
  cursor:pointer;
}
.lfv6-root button.lfx27-tr.row:hover{
  background:#fafbff;
}
.lfv6-root .lfx27-tr.row>span:first-child{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.lfv6-root .lfx27-tr.row>span:first-child i{
  display:grid;
  place-items:center;
  width:21px;height:21px;
  border-radius:6px;
  background:#f1efff;
  color:#6250dc;
  font-size:8px;
  font-style:normal;
  font-weight:850;
}
.lfv6-root .lfx27-tr.row>span:first-child b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9.7px;
}
.lfv6-root .lfx27-tr em{
  display:inline-flex;
  align-items:center;
  padding:4px 7px;
  border-radius:999px;
  font-size:7.7px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
.lfv6-root .lfx27-tr em.red{color:#c33c45;background:#fff0f1}
.lfv6-root .lfx27-tr em.green{color:#16815e;background:#eaf9f2}
.lfv6-root .lfx27-tr em.amber{color:#a86a08;background:#fff6df}

/* Attention queue: editorial, not another chart. */
.lfv6-root .lfx27-attention-list{
  padding:0 12px 12px;
}
.lfv6-root .lfx27-attention{
  display:grid;
  grid-template-columns:27px minmax(0,1fr) 18px;
  gap:10px;
  align-items:start;
  width:100%;
  padding:12px 9px;
  border:0;
  border-top:1px solid #eef1f5;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.lfv6-root .lfx27-attention:hover{background:#fafbff}
.lfv6-root .lfx27-attention>span{
  display:grid;
  place-items:center;
  width:25px;height:25px;
  border-radius:8px;
  background:#f2efff;
  color:#6250dc;
  font-size:9px;
  font-weight:900;
}
.lfv6-root .lfx27-attention.red>span{background:#fff0f1;color:#d3454f}
.lfv6-root .lfx27-attention.blue>span{background:#eef4ff;color:#3565d9}
.lfv6-root .lfx27-attention.purple>span{background:#f2efff;color:#6250dc}
.lfv6-root .lfx27-attention b{
  display:block;
  color:#273550;
  font-size:10.5px;
}
.lfv6-root .lfx27-attention p{
  margin:3px 0;
  color:#6f7d92;
  font-size:9.2px;
  line-height:1.45;
}
.lfv6-root .lfx27-attention small{
  color:#919bad;
  font-size:8.4px;
}
.lfv6-root .lfx27-attention>i{
  align-self:center;
  color:#8a94a7;
  font-size:15px;
  font-style:normal;
}

/* Editorial insight cards inspired by premium consumer-finance clarity. */
.lfv6-root .lfx27-insights{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.lfv6-root .lfx27-insight{
  position:relative;
  min-height:205px;
  padding:18px 18px 15px;
  border:1px solid #e6eaf2;
  border-radius:18px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(27,39,75,.04);
}
.lfv6-root .lfx27-insight:after{
  content:"";
  position:absolute;
  right:-22px;
  bottom:-32px;
  width:120px;height:120px;
  border-radius:50%;
  background:rgba(98,80,220,.055);
}
.lfv6-root .lfx27-insight:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(27,39,75,.075);
}
.lfv6-root .lfx27-insight span{
  color:#283650;
  font-size:13px;
  font-weight:850;
}
.lfv6-root .lfx27-insight p{
  min-height:48px;
  margin:7px 0 15px;
  color:#697891;
  font-size:10px;
  line-height:1.55;
}
.lfv6-root .lfx27-insight>b{
  display:block;
  color:#17233d;
  font-size:31px;
  letter-spacing:-.035em;
}
.lfv6-root .lfx27-insight>small{
  display:block;
  margin-top:2px;
  color:#8b96a7;
  font-size:8.7px;
}
.lfv6-root .lfx27-insight>i{
  position:absolute;
  left:18px;bottom:15px;
  color:#6250dc;
  font-size:9px;
  font-style:normal;
  font-weight:800;
  z-index:1;
}
.lfv6-root .lfx27-insight.teal{background:linear-gradient(145deg,#ffffff,#f4fffc)}
.lfv6-root .lfx27-insight.blue{background:linear-gradient(145deg,#ffffff,#f5f8ff)}
.lfv6-root .lfx27-insight.purple{background:linear-gradient(145deg,#ffffff,#f9f6ff)}

/* V9 never renders Evidence/Confidence/Trust as a page chart.
   Those measures live in overview metrics, insight cards and the Evidence drawer. */
.lfv6-root .lfx27-advanced{
  margin-top:14px;
}
.lfv6-root .lfx27-advanced>summary{
  background:#fbfbfd;
}

@media(max-width:1180px){
  .lfv6-root .lfx27-overview{grid-template-columns:1fr}
  .lfv6-root .lfx27-overview-side{border-right:0;border-bottom:1px solid var(--lfx27-line)}
  .lfv6-root .lfx27-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lfv6-root .lfx27-bento{grid-template-columns:1fr}
}
@media(max-width:820px){
  .lfv6-root .lfx27-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lfv6-root .lfx27-insights{grid-template-columns:1fr}
  .lfv6-root .lfx27-chart-head{display:block}
  .lfv6-root .lfx27-chart-head>span{display:inline-block;margin-top:7px;text-align:left}
}
@media(max-width:600px){
  .lfv6-root .lfx27-metrics{grid-template-columns:1fr}
  .lfv6-root .lfx27-overview-chart{padding:16px 12px 12px}
  .lfv6-root .lfx27-chart{height:250px}
  .lfv6-root .lfx27-tr{grid-template-columns:minmax(120px,1.5fr) .75fr .65fr}
  .lfv6-root .lfx27-tr>*:nth-child(3),
  .lfv6-root .lfx27-tr>*:nth-child(5){display:none}
}


/* ============================================================================
   Ledger Feed LFX28 V10 — hero chart interaction
   The premium overview chart now opens the same unified analytical drawer.
   ============================================================================ */
.lfv6-root .lfx28-clickable-chart{
  position:relative;
  cursor:pointer;
  border-radius:14px;
  transition:background .16s ease,box-shadow .16s ease;
}
.lfv6-root .lfx28-clickable-chart:hover{
  background:linear-gradient(180deg,#ffffff 0%,#fcfbff 100%);
  box-shadow:inset 0 0 0 1px #e5e0ff;
}
.lfv6-root .lfx28-clickable-chart:focus-visible{
  outline:3px solid rgba(98,80,220,.22);
  outline-offset:-2px;
}
.lfv6-root .lfx28-clickable-chart:after{
  content:"Click chart for analysis";
  position:absolute;
  top:18px;
  right:22px;
  padding:5px 8px;
  border:1px solid #e5e8f2;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#6950e8;
  font-size:8.5px;
  font-weight:800;
  opacity:0;
  transform:translateY(-2px);
  transition:opacity .15s ease,transform .15s ease;
  pointer-events:none;
  box-shadow:0 4px 12px rgba(30,42,80,.06);
}
.lfv6-root .lfx28-clickable-chart:hover:after,
.lfv6-root .lfx28-clickable-chart:focus-visible:after{
  opacity:1;
  transform:translateY(0);
}

/* When the same premium chart is reproduced in the analytical drawer,
   keep it visually faithful while fitting the drawer width. */
.lfv6-root .lfx20-drawer-visual .lfx27-overview-chart{
  padding:18px;
  border:1px solid #e6eaf2;
  border-radius:16px;
  background:#fff;
  box-shadow:none;
}
.lfv6-root .lfx20-drawer-visual .lfx27-chart{
  height:320px;
}
.lfv6-root .lfx20-drawer-visual .lfx27-overview-chart:after{
  display:none;
}

@media(max-width:760px){
  .lfv6-root .lfx28-clickable-chart:after{display:none}
  .lfv6-root .lfx20-drawer-visual .lfx27-chart{height:260px}
}


/* ============================================================================
   Matching & Fraud Premium Investigation V1
   Central workspace only. Ledger Feed V10 styles above remain untouched.
   ============================================================================ */
.mfv20-root{
  --mf20-ink:#17233d;
  --mf20-muted:#738199;
  --mf20-line:#e5eaf2;
  --mf20-purple:#6848e8;
  --mf20-blue:#4b72e8;
  --mf20-teal:#16ad91;
  --mf20-red:#e95d68;
  --mf20-amber:#e9a13a;
  padding:0 2px 28px;
  color:var(--mf20-ink);
}
.mfv20-root *{box-sizing:border-box}
.mfv20-pagehead{
  display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
  padding:4px 2px 14px;border-bottom:1px solid var(--mf20-line);
}
.mfv20-title>span,.mfv20-hero-head span,.mfv20-brief-head span,.mfv20-panel-head span{
  color:var(--mf20-purple);font-size:9px;font-weight:900;letter-spacing:.11em;
}
.mfv20-title h1{margin:4px 0 3px;font-size:25px;letter-spacing:-.025em}
.mfv20-title p{margin:0;max-width:720px;color:var(--mf20-muted);font-size:11px;line-height:1.5}
.mfv20-head-right{display:grid;justify-items:end;gap:8px}
.mfv20-roles{display:flex;gap:5px}
.mfv20-roles button{
  min-height:32px;padding:0 11px;border:1px solid #e3e8f1;border-radius:9px;background:#fff;color:#61708a;
  font-size:9.5px;font-weight:750;cursor:pointer
}
.mfv20-roles button.active{border-color:#cec4ff;background:#f4f1ff;color:#5e43d7}
.mfv20-views{display:flex;align-items:end;gap:7px}
.mfv20-views label{display:grid;gap:3px;color:#8290a4;font-size:8px}
.mfv20-views select,.mfv20-views button{
  min-height:31px;border:1px solid #e3e8f1;border-radius:8px;background:#fff;color:#4f5f78;font-size:9px;padding:0 9px
}
.mfv20-views button{cursor:pointer;font-weight:750}

.mfv20-filterbar{
  display:flex;align-items:flex-end;gap:8px;padding:12px 0 10px;
}
.mfv20-filter-core{display:flex;gap:7px;min-width:0;flex:1}
.mfv20-filterbar .mfv10-control{min-width:0;flex:1}
.mfv20-filterbar .mfv10-control span{font-size:8px}
.mfv20-filterbar .mfv10-control select{min-height:34px;font-size:9.5px}
.mfv20-more-filters{position:relative}
.mfv20-more-filters>summary{
  display:flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #e1e6ef;border-radius:9px;
  background:#fff;color:#54637c;font-size:9.5px;font-weight:750;cursor:pointer;list-style:none
}
.mfv20-more-filters>summary::-webkit-details-marker{display:none}
.mfv20-more-filters>summary span{display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:#f0edff;color:#6246dc;font-size:8px}
.mfv20-more-filters>div{
  position:absolute;z-index:30;right:0;top:40px;width:520px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  padding:12px;border:1px solid #dfe5ef;border-radius:12px;background:#fff;box-shadow:0 18px 44px rgba(26,39,72,.16)
}
.mfv20-filter-actions{display:flex;gap:6px}
.mfv20-filter-actions button{min-height:34px;border-radius:9px;font-size:9.5px;padding:0 12px}
.mfv20-scopebar{
  display:flex;align-items:center;gap:14px;min-height:34px;padding:7px 10px;margin-bottom:12px;border:1px solid #e7ebf3;border-radius:10px;background:#fafbfe;
  color:#748197;font-size:8.8px
}
.mfv20-scopebar b{color:#25334e;font-size:10px}
.mfv20-scopebar em{margin-left:auto;color:#8b96a7;font-size:8px;font-style:normal}

.mfv20-glance{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:12px}
.mfv20-metric{
  position:relative;min-height:102px;padding:12px 13px;border:1px solid var(--mf20-line);border-radius:14px;background:#fff;text-align:left;cursor:pointer;
  box-shadow:0 5px 16px rgba(28,42,79,.035);transition:.16s ease
}
.mfv20-metric:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(28,42,79,.075);border-color:#d7deec}
.mfv20-metric:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#6b5ce7}
.mfv20-metric.blue:before{background:var(--mf20-blue)}.mfv20-metric.teal:before{background:var(--mf20-teal)}.mfv20-metric.red:before{background:var(--mf20-red)}.mfv20-metric.amber:before{background:var(--mf20-amber)}
.mfv20-metric span{display:block;color:#7a879a;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.mfv20-metric b{display:block;margin-top:5px;color:#18243d;font-size:19px;letter-spacing:-.02em}
.mfv20-metric small{display:block;margin-top:3px;color:#8490a3;font-size:8.5px;line-height:1.4}
.mfv20-metric i{display:block;margin-top:7px;color:#6848e8;font-size:8px;font-style:normal;font-weight:800}

.mfv20-primary-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(270px,.85fr);gap:12px;align-items:stretch}
.mfv20-hero,.mfv20-brief,.mfv20-panel{
  border:1px solid var(--mf20-line);border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(27,39,75,.045);overflow:hidden
}
.mfv20-hero-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:15px 17px 8px}
.mfv20-hero-head h2{margin:4px 0 3px;font-size:17px;letter-spacing:-.02em}
.mfv20-hero-head p{margin:0;max-width:720px;color:var(--mf20-muted);font-size:9.5px;line-height:1.5}
.mfv20-legend-note{max-width:220px;padding:8px 10px;border-radius:10px;background:#fff7f8;color:#9a5960;font-size:8px;line-height:1.45;text-align:right}
.mfv20-legend-note b{color:#6e4a4f}
.mfv20-hero .mfv11-map{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.mfv20-hero .mfv11-map-head{padding-left:16px;padding-right:16px}
.mfv20-hero .mfv11-map-stage{min-height:410px}
.mfv20-brief{padding:16px}
.mfv20-brief-head h3{margin:4px 0 4px;font-size:16px}
.mfv20-brief-head p{margin:0;color:var(--mf20-muted);font-size:9.5px;line-height:1.5}
.mfv20-brief-cards{display:grid;gap:9px;margin-top:14px}
.mfv20-brief-cards button{
  padding:12px;border:1px solid #e9ecf3;border-radius:12px;background:#fbfcff;text-align:left;cursor:pointer
}
.mfv20-brief-cards button:hover{background:#f7f5ff;border-color:#ded7ff}
.mfv20-brief-cards span{display:block;color:#7e8a9d;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.mfv20-brief-cards b{display:block;margin-top:3px;color:#26344e;font-size:11px}
.mfv20-brief-cards small{display:block;margin-top:3px;color:#8490a3;font-size:8.5px;line-height:1.4}
.mfv20-brief-cards i{display:block;margin-top:7px;color:#6848e8;font-size:8px;font-style:normal;font-weight:800}

.mfv20-bento{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.mfv20-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 15px 10px}
.mfv20-panel-head h3{margin:4px 0 2px;font-size:14px}.mfv20-panel-head p{margin:0;color:#7b889d;font-size:9px;line-height:1.45}
.mfv20-panel-head button{border:0;background:transparent;color:#674be1;font-size:8.5px;font-weight:800;cursor:pointer}
.mfv20-list-head{display:grid;grid-template-columns:minmax(0,1.8fr) .75fr .65fr .45fr;gap:8px;padding:7px 12px;background:#f7f8fb;color:#8490a3;font-size:7.7px;font-weight:800}
.mfv20-list{padding:0 11px 10px}
.mfv20-list-row{display:grid;grid-template-columns:minmax(0,1.8fr) .75fr .65fr .45fr;gap:8px;align-items:center;width:100%;padding:10px 2px;border:0;border-bottom:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}
.mfv20-list-row:hover{background:#fbfbff}
.mfv20-list-row span:first-child{min-width:0}.mfv20-list-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#293750;font-size:9.5px}
.mfv20-list-row small{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b95a7;font-size:7.8px}
.mfv20-list-row>span{font-size:8.7px;color:#45536c}
.mfv20-list-row em{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:7.8px;font-style:normal;font-weight:800}
.mfv20-list-row em.confidence{background:#eef4ff;color:#3565d9}
.mfv20-list-row em.risk.high{background:#fff0f1;color:#c9434d}.mfv20-list-row em.risk.medium{background:#fff5e2;color:#a4690b}.mfv20-list-row em.risk.low{background:#eaf9f2;color:#17815e}
.mfv20-attention{padding:0 12px 10px}
.mfv20-attention>button{display:grid;grid-template-columns:25px minmax(0,1fr) auto 16px;gap:9px;align-items:center;width:100%;padding:11px 2px;border:0;border-top:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}
.mfv20-attention>button:hover{background:#fbfbff}
.mfv20-attention>button>span{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#fff0f1;color:#d1434d;font-size:8px;font-weight:900}
.mfv20-attention b{display:block;color:#293750;font-size:9.5px}.mfv20-attention p{margin:2px 0;color:#738198;font-size:8.5px}.mfv20-attention small{color:#8b96a7;font-size:7.7px}
.mfv20-attention strong{color:#26344e;font-size:9px}.mfv20-attention i{color:#9099aa;font-size:14px;font-style:normal}

.mfv20-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.mfv20-insight{position:relative;min-height:190px;padding:16px;border:1px solid var(--mf20-line);border-radius:17px;background:#fff;text-align:left;cursor:pointer;overflow:hidden;box-shadow:0 7px 22px rgba(27,39,75,.035)}
.mfv20-insight:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(27,39,75,.07)}
.mfv20-insight:after{content:"";position:absolute;right:-25px;bottom:-40px;width:125px;height:125px;border-radius:50%;background:rgba(104,72,232,.055)}
.mfv20-insight span{color:#273550;font-size:12px;font-weight:850}.mfv20-insight p{min-height:48px;margin:6px 0 13px;color:#6f7d92;font-size:9.5px;line-height:1.55}
.mfv20-insight>b{display:block;color:#17233d;font-size:30px;letter-spacing:-.035em}.mfv20-insight>small{display:block;margin-top:2px;color:#8b96a7;font-size:8px}
.mfv20-insight>i{position:absolute;left:16px;bottom:14px;color:#6848e8;font-size:8.5px;font-style:normal;font-weight:800;z-index:1}
.mfv20-insight.teal{background:linear-gradient(145deg,#fff,#f4fffc)}.mfv20-insight.red{background:linear-gradient(145deg,#fff,#fff7f8)}.mfv20-insight.purple{background:linear-gradient(145deg,#fff,#f9f6ff)}

.mfv20-root .mfv11-findings{margin-top:12px;border-radius:17px;border-color:var(--mf20-line);box-shadow:0 7px 22px rgba(27,39,75,.035)}
.mfv20-root .mfv11-find-tools h3:before{content:"DECISION EVIDENCE · ";color:#6848e8;font-size:8px;letter-spacing:.08em}
.mfv20-advanced{margin-top:12px;border:1px solid var(--mf20-line);border-radius:15px;background:#fff;overflow:hidden}
.mfv20-advanced>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;list-style:none;cursor:pointer;background:#fbfbfd}
.mfv20-advanced>summary::-webkit-details-marker{display:none}
.mfv20-advanced>summary span{display:block;color:#6848e8;font-size:8.5px;font-weight:900;letter-spacing:.1em}
.mfv20-advanced>summary b{display:block;margin-top:2px;color:#25334e;font-size:12.5px}.mfv20-advanced>summary small{display:block;margin-top:2px;color:#8894a6;font-size:8.5px}
.mfv20-advanced>summary i{color:#6848e8;font-size:9px;font-style:normal;font-weight:800}.mfv20-advanced[open]>summary i{font-size:0}.mfv20-advanced[open]>summary i:after{content:"Hide analysis ↑";font-size:9px}
.mfv20-advanced>div{padding:12px;background:#fafbfe;border-top:1px solid #eceff5}.mfv20-advanced .mfv11-analytics{margin:0}

.mfv20-backdrop{position:fixed;inset:0;z-index:2147482400;background:rgba(22,30,48,.34);backdrop-filter:blur(1px)}
.mfv20-drawer{position:fixed;z-index:2147482401;top:0;right:0;width:min(900px,78vw);height:100vh;background:#f8f9fc;border-left:1px solid #dfe4ed;box-shadow:-24px 0 58px rgba(20,29,48,.17);overflow:auto}
.mfv20-drawer-head{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:20px;padding:19px 22px 15px;background:linear-gradient(135deg,#1f2b68,#4d24a8);color:#fff}
.mfv20-drawer-head span{font-size:8.5px;font-weight:900;letter-spacing:.12em;color:#cfc7ff}.mfv20-drawer-head h2{margin:4px 0 3px;font-size:22px;letter-spacing:-.02em}.mfv20-drawer-head p{margin:0;color:#d8dcf1;font-size:9.5px}
.mfv20-drawer-head>button{width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:18px;cursor:pointer}
.mfv20-utilities{display:flex;align-items:center;gap:7px;padding:9px 20px;border-bottom:1px solid #e4e8f0;background:#fff}.mfv20-utilities>span{margin-right:3px;color:#8792a4;font-size:7.5px;font-weight:900;letter-spacing:.1em}.mfv20-utilities button{min-height:31px;padding:0 10px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#52617a;font-size:8.7px;cursor:pointer}
.mfv20-tabs{position:sticky;top:72px;z-index:3;display:flex;gap:4px;padding:9px 16px;border-bottom:1px solid #e4e8f0;background:rgba(255,255,255,.97);overflow:auto}
.mfv20-tabs button{flex:none;padding:8px 10px;border:0;border-radius:8px;background:#f6f7fa;color:#66758d;font-size:9.2px;font-weight:760;cursor:pointer}.mfv20-tabs button.active{background:#eee9ff;color:#6548df}
.mfv20-drawer-content{padding:16px 20px 28px}
.mfv20-drawer-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.mfv20-drawer-facts article{padding:12px;border:1px solid #e4e8f0;border-radius:11px;background:#fff}.mfv20-drawer-facts span{display:block;color:#8290a4;font-size:8px}.mfv20-drawer-facts b{display:block;margin-top:3px;color:#21304a;font-size:14px}
.mfv20-drawer-card{padding:15px 16px;margin-bottom:12px;border:1px solid #e4e8f0;border-radius:14px;background:#fff}.mfv20-drawer-card>span,.mfv20-ai-placeholder>span,.mfv20-workflow>span{color:#6848e8;font-size:8.5px;font-weight:900;letter-spacing:.1em}.mfv20-drawer-card h3,.mfv20-ai-placeholder h3,.mfv20-workflow h3{margin:4px 0 7px;font-size:15px}.mfv20-drawer-card p{margin:5px 0;color:#5f6f87;font-size:10.5px;line-height:1.62}.mfv20-drawer-card p.note{padding:9px 10px;border-radius:9px;background:#fff8eb;color:#8c6726}
.mfv20-three-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.mfv20-three-notes article{padding:11px;border:1px solid #eceff4;border-radius:10px;background:#fafbfe}.mfv20-three-notes b{font-size:9.5px}.mfv20-three-notes p{font-size:9px}
.mfv20-drawer-table{overflow:auto;border:1px solid #e4e8f0;border-radius:12px;background:#fff}.mfv20-drawer-table table{width:100%;border-collapse:collapse;min-width:720px}.mfv20-drawer-table th{padding:8px 9px;background:#f6f7fa;color:#7c899d;font-size:7.8px;text-align:left}.mfv20-drawer-table td{padding:9px;border-top:1px solid #eef1f5;color:#47566e;font-size:8.7px}.mfv20-drawer-table td b{display:block;color:#2b3851;font-size:9px}.mfv20-drawer-table td small{display:block;margin-top:2px;color:#8b96a7;font-size:7.6px}
.mfv20-driver-grid,.mfv20-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.mfv20-driver-block{padding:13px;border:1px solid #e4e8f0;border-radius:13px;background:#fff}.mfv20-driver-block h4{margin:0 0 10px;font-size:11px}.mfv20-driver-block>div{display:grid;grid-template-columns:minmax(100px,1.2fr) 1fr 30px 34px;gap:7px;align-items:center;margin:7px 0;color:#596881;font-size:8.5px}.mfv20-driver-block i{height:6px;border-radius:99px;background:#edf0f5;overflow:hidden}.mfv20-driver-block i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#6b62ea,#8a68ed)}.mfv20-driver-block strong,.mfv20-driver-block small{font-size:8px}
.mfv20-actions-list{padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff}.mfv20-actions-list h3{margin:0 0 9px;font-size:14px}.mfv20-actions-list article{display:grid;grid-template-columns:25px 1fr;gap:9px;padding:10px 0;border-top:1px solid #eef1f5}.mfv20-actions-list article>span{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#eeeaff;color:#6246dc;font-size:8px;font-weight:900}.mfv20-actions-list b{font-size:10px}.mfv20-actions-list p{margin:2px 0 0;color:#697891;font-size:9.2px;line-height:1.5}
.mfv20-ai-placeholder,.mfv20-workflow{padding:18px;border:1px solid #ddd6ff;border-radius:15px;background:linear-gradient(145deg,#fff,#faf8ff)}.mfv20-ai-placeholder p,.mfv20-workflow p{color:#63728a;font-size:10.5px;line-height:1.6}.mfv20-ai-placeholder>div{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.mfv20-ai-placeholder button{padding:7px 9px;border:1px solid #e2dcff;border-radius:999px;background:#fff;color:#5c48c5;font-size:8.7px}.mfv20-ai-placeholder small{color:#8c96a8;font-size:8.5px}
.mfv20-workflow>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:14px 0}.mfv20-workflow article{padding:10px;border:1px solid #e5e0fb;border-radius:10px;background:#fff;text-align:center}.mfv20-workflow article i{display:grid;place-items:center;width:22px;height:22px;margin:0 auto 6px;border-radius:999px;background:#eeeaff;color:#6548dc;font-size:8px;font-style:normal;font-weight:900}.mfv20-workflow article b{font-size:8.7px}
.mfv20-utils{display:flex;gap:7px;margin-top:10px}.mfv20-utils button{padding:7px 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#56657e;font-size:8.5px}

@media(max-width:1250px){
 .mfv20-primary-grid{grid-template-columns:1fr}.mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mfv20-glance{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:950px){
 .mfv20-pagehead{display:block}.mfv20-head-right{justify-items:start;margin-top:12px}.mfv20-filterbar{flex-wrap:wrap}.mfv20-filter-core{flex-wrap:wrap}
 .mfv20-filterbar .mfv10-control{min-width:180px}.mfv20-bento{grid-template-columns:1fr}.mfv20-insights{grid-template-columns:1fr}
 .mfv20-drawer{width:92vw}.mfv20-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .mfv20-glance{grid-template-columns:1fr 1fr}.mfv20-brief-cards{grid-template-columns:1fr}.mfv20-more-filters>div{position:fixed;left:12px;right:12px;top:120px;width:auto}
 .mfv20-list-head,.mfv20-list-row{grid-template-columns:minmax(0,1.7fr) .75fr .55fr}.mfv20-list-head>*:nth-child(4),.mfv20-list-row>*:nth-child(4){display:none}
 .mfv20-driver-grid,.mfv20-related-grid,.mfv20-three-notes{grid-template-columns:1fr}.mfv20-workflow>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================================
   Matching & Fraud Premium Investigation V2
   Simplification: no hover-only overflow menus in Matching central workspace.
   Adds investigation lens, evidence ladder and finding timeline.
   ============================================================================ */

/* Replace fragile hover menu with a single purposeful action. */
.mfv20-root .mfv21-cluster-open{
  margin-left:auto;
  min-height:32px;
  padding:0 11px;
  border:1px solid #ddd7fb;
  border-radius:9px;
  background:#fff;
  color:#6246d8;
  font-size:8.5px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.mfv20-root .mfv21-cluster-open:hover,
.mfv20-root .mfv21-cluster-open:focus-visible{
  background:#f4f1ff;
  border-color:#cfc4ff;
}
.mfv20-root .mfv21-review{
  min-width:76px;
  font-weight:800;
}

/* Triage navigator: one-click investigation lenses, not another chart. */
.mfv20-root .mfv21-triage{
  display:flex;
  align-items:stretch;
  gap:7px;
  margin:0 0 12px;
  padding:8px;
  border:1px solid #e4e8f1;
  border-radius:14px;
  background:linear-gradient(90deg,#fbfcff,#fbf9ff);
  overflow:auto;
}
.mfv20-root .mfv21-triage>div{
  display:grid;
  align-content:center;
  min-width:150px;
  padding:0 9px;
}
.mfv20-root .mfv21-triage>div span{
  color:#6848e8;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.1em;
}
.mfv20-root .mfv21-triage>div b{
  margin-top:2px;
  color:#26344f;
  font-size:10px;
}
.mfv20-root .mfv21-triage>button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:122px;
  min-height:42px;
  padding:0 10px;
  border:1px solid #e8ebf2;
  border-radius:10px;
  background:#fff;
  color:#586881;
  cursor:pointer;
}
.mfv20-root .mfv21-triage>button:hover,
.mfv20-root .mfv21-triage>button:focus-visible{
  border-color:#d5cdfc;
  background:#f6f3ff;
  color:#593fd2;
}
.mfv20-root .mfv21-triage>button span{
  font-size:8.7px;
  font-weight:750;
  white-space:nowrap;
}
.mfv20-root .mfv21-triage>button b{
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  background:#f1effb;
  color:#6549da;
  font-size:8px;
}

/* Evidence ladder turns "why" into an explicit investigative discipline. */
.mfv20-root .mfv21-ladder{
  display:grid;
  grid-template-columns:repeat(7,auto);
  align-items:stretch;
  gap:6px;
  margin-top:12px;
}
.mfv20-root .mfv21-ladder>div{
  min-width:0;
  padding:10px;
  border:1px solid #e9ecf3;
  border-radius:11px;
  background:#fafbfe;
}
.mfv20-root .mfv21-ladder>div>span{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#eeeaff;
  color:#6347db;
  font-size:8px;
  font-weight:900;
}
.mfv20-root .mfv21-ladder>div>b{
  display:block;
  margin-top:6px;
  color:#2a3852;
  font-size:9px;
}
.mfv20-root .mfv21-ladder>div>p{
  margin:3px 0 0;
  color:#728096;
  font-size:8.4px;
  line-height:1.45;
}
.mfv20-root .mfv21-ladder>i{
  align-self:center;
  color:#a2aabb;
  font-size:13px;
  font-style:normal;
}

/* Timeline lives in the analytical drawer; it is evidence sequence, not a second dashboard chart. */
.mfv20-root .mfv21-timeline{
  margin:12px 0;
  padding:13px 14px;
  border:1px solid #e4e8f0;
  border-radius:13px;
  background:#fff;
}
.mfv20-root .mfv21-timeline-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.mfv20-root .mfv21-timeline-head span{
  color:#6848e8;
  font-size:7.8px;
  font-weight:900;
  letter-spacing:.1em;
}
.mfv20-root .mfv21-timeline-head h4{
  margin:3px 0 0;
  color:#25334d;
  font-size:11px;
}
.mfv20-root .mfv21-timeline-head small{
  color:#8a95a7;
  font-size:7.8px;
}
.mfv20-root .mfv21-timeline-track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:6px;
}
.mfv20-root .mfv21-timeline-track:before{
  content:"";
  position:absolute;
  left:5%;
  right:5%;
  top:13px;
  height:1px;
  background:#dfe4ed;
}
.mfv20-root .mfv21-timeline-track>button{
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 6px 8px;
  border:0;
  background:transparent;
  text-align:center;
  cursor:pointer;
}
.mfv20-root .mfv21-timeline-track>button>i{
  display:block;
  width:10px;
  height:10px;
  margin:8px auto 7px;
  border:2px solid #fff;
  border-radius:50%;
  background:#7b69e9;
  box-shadow:0 0 0 1px #cfd5e3;
}
.mfv20-root .mfv21-timeline-track>button>i.high{background:#e75d68}
.mfv20-root .mfv21-timeline-track>button>i.medium{background:#eca13d}
.mfv20-root .mfv21-timeline-track>button>i.low{background:#18ae8f}
.mfv20-root .mfv21-timeline-track>button>span{
  display:block;
  color:#8a95a7;
  font-size:7.3px;
}
.mfv20-root .mfv21-timeline-track>button>b{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:#35435d;
  font-size:8.2px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mfv20-root .mfv21-timeline-track>button>small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:#9aa3b2;
  font-size:7.2px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* The old generic menu may still exist elsewhere in the application.
   On the Matching premium root, suppress it so no inaccessible hover popover remains. */
.mfv20-root .ux16-menu,
.mfv20-root .ux161-menu{
  display:none!important;
}

@media(max-width:900px){
  .mfv20-root .mfv21-ladder{grid-template-columns:1fr}
  .mfv20-root .mfv21-ladder>i{display:none}
  .mfv20-root .mfv21-timeline-track{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mfv20-root .mfv21-timeline-track:before{display:none}
}
@media(max-width:640px){
  .mfv20-root .mfv21-triage>div{min-width:125px}
  .mfv20-root .mfv21-triage>button{min-width:105px}
  .mfv20-root .mfv21-timeline-track{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================================
   Matching & Fraud Premium Investigation V3 — selected map context integrity
   Selected relationship node data and graph neighborhood are carried into
   the unified drawer. Aggregate-only nodes are never misreported as zero rows.
   ============================================================================ */
.mfv20-root .mfv22-node-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:0 0 12px;
}
.mfv20-root .mfv22-node-facts article{
  min-width:0;
  padding:11px 12px;
  border:1px solid #e3e8f0;
  border-radius:11px;
  background:#fff;
}
.mfv20-root .mfv22-node-facts span{
  display:block;
  color:#8390a3;
  font-size:7.8px;
}
.mfv20-root .mfv22-node-facts b{
  display:block;
  margin-top:3px;
  overflow:hidden;
  color:#24324c;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mfv20-root .mfv22-node-facts small{
  display:block;
  margin-top:3px;
  color:#8c97a9;
  font-size:7.8px;
  line-height:1.4;
}
.mfv20-root .mfv22-focus-map{
  margin:0 0 12px;
  padding:13px 14px 10px;
  border:1px solid #e2e7ef;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#fbfbff);
  overflow:hidden;
}
.mfv20-root .mfv22-focus-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:7px;
}
.mfv20-root .mfv22-focus-head span{
  color:#6848e8;
  font-size:7.7px;
  font-weight:900;
  letter-spacing:.11em;
}
.mfv20-root .mfv22-focus-head h3{
  margin:3px 0 2px;
  color:#24324c;
  font-size:14px;
}
.mfv20-root .mfv22-focus-head p{
  margin:0;
  color:#7d899c;
  font-size:8.7px;
}
.mfv20-root .mfv22-focus-head strong{
  padding:5px 8px;
  border:1px solid #e3defc;
  border-radius:999px;
  background:#f4f1ff;
  color:#6247d8;
  font-size:7.8px;
  white-space:nowrap;
}
.mfv20-root .mfv22-focus-map svg{
  display:block;
  width:100%;
  max-height:330px;
  min-height:220px;
}
.mfv20-root .mfv22-link-legend{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
  color:#7e8a9d;
  font-size:7.5px;
}
.mfv20-root .mfv22-link-legend span:before{
  content:"";
  display:inline-block;
  width:7px;height:7px;
  margin-right:4px;
  border-radius:999px;
  background:#7e8a9d;
}
.mfv20-root .mfv22-link-legend .blue:before{background:#5b82e7}
.mfv20-root .mfv22-link-legend .green:before{background:#36bf98}
.mfv20-root .mfv22-link-legend .purple:before{background:#8a61e2}
.mfv20-root .mfv22-link-legend .orange:before{background:#e9a154}
.mfv20-root .mfv22-link-legend .red:before{background:#ec6670}

.mfv20-root .mfv22-linkage{
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #e5e9f1;
  border-left-width:3px;
  border-radius:10px;
  background:#fff;
}
.mfv20-root .mfv22-linkage b{
  display:block;
  color:#2b3952;
  font-size:9.5px;
}
.mfv20-root .mfv22-linkage p{
  margin:3px 0 0;
  color:#6f7d92;
  font-size:8.8px;
  line-height:1.5;
}
.mfv20-root .mfv22-linkage.direct{border-left-color:#18a87e;background:#f7fffb}
.mfv20-root .mfv22-linkage.derived{border-left-color:#e0a02d;background:#fffaf0}
.mfv20-root .mfv22-linkage.aggregate{border-left-color:#755be8;background:#faf8ff}

.mfv20-root .mfv22-connections{
  margin:0 0 12px;
  border:1px solid #e3e8f0;
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}
.mfv20-root .mfv22-connections-head{
  padding:11px 12px 8px;
}
.mfv20-root .mfv22-connections-head span{
  color:#6848e8;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.1em;
}
.mfv20-root .mfv22-connections-head h4{
  margin:3px 0 0;
  color:#2a3851;
  font-size:10.5px;
}
.mfv20-root .mfv22-connections>div:last-child{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
}
.mfv20-root .mfv22-connections button{
  display:grid;
  grid-template-columns:26px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  min-width:0;
  padding:10px 11px;
  border:0;
  border-top:1px solid #eef1f5;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.mfv20-root .mfv22-connections button:nth-child(odd){
  border-right:1px solid #eef1f5;
}
.mfv20-root .mfv22-connections button:hover{
  background:#faf9ff;
}
.mfv20-root .mfv22-connections button>i{
  display:grid;
  place-items:center;
  width:24px;height:24px;
  border-radius:7px;
  background:#eff3fb;
  color:#5b82e7;
  font-size:10px;
  font-style:normal;
  font-weight:900;
}
.mfv20-root .mfv22-connections button>i.green{background:#eaf9f4;color:#209f81}
.mfv20-root .mfv22-connections button>i.purple{background:#f1edff;color:#7353dd}
.mfv20-root .mfv22-connections button>i.orange{background:#fff5e8;color:#c98522}
.mfv20-root .mfv22-connections button>i.red{background:#fff0f1;color:#cf4a55}
.mfv20-root .mfv22-connections button span{
  min-width:0;
}
.mfv20-root .mfv22-connections button b{
  display:block;
  overflow:hidden;
  color:#34425b;
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mfv20-root .mfv22-connections button small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:#8a95a7;
  font-size:7.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mfv20-root .mfv22-connections button strong{
  color:#54627a;
  font-size:8px;
  white-space:nowrap;
}

@media(max-width:820px){
  .mfv20-root .mfv22-node-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mfv20-root .mfv22-connections>div:last-child{grid-template-columns:1fr}
  .mfv20-root .mfv22-connections button:nth-child(odd){border-right:0}
}
@media(max-width:560px){
  .mfv20-root .mfv22-node-facts{grid-template-columns:1fr}
  .mfv20-root .mfv22-focus-map svg{min-height:190px}
}


/* ============================================================================
   Matching & Fraud Premium Investigation V4
   UNIVERSAL READABILITY ALIGNMENT — Ledger Feed V10 baseline
   Scope: Matching & Fraud central workspace + its unified analytical drawer only.
   No shell, hero, global nav, right rail, backend, Ledger Feed, or other-page changes.
   ============================================================================ */

.mfv20-root{
  font-size:14px;
  line-height:1.5;
}

/* Page hierarchy */
.mfv20-root .mfv20-title>span,
.mfv20-root .mfv20-hero-head span,
.mfv20-root .mfv20-brief-head span,
.mfv20-root .mfv20-panel-head span,
.mfv20-root .mfv21-triage>div span,
.mfv20-root .mfv22-focus-head span,
.mfv20-root .mfv22-connections-head span,
.mfv20-root .mfv20-drawer-card>span,
.mfv20-root .mfv20-ai-placeholder>span,
.mfv20-root .mfv20-workflow>span{
  font-size:12px;
  line-height:1.35;
}

.mfv20-root .mfv20-title h1{
  font-size:30px;
  line-height:1.15;
}
.mfv20-root .mfv20-title p{
  font-size:15px;
  line-height:1.6;
}
.mfv20-root .mfv20-hero-head h2{
  font-size:21px;
  line-height:1.25;
}
.mfv20-root .mfv20-hero-head p{
  font-size:14px;
  line-height:1.6;
}
.mfv20-root .mfv20-brief-head h3,
.mfv20-root .mfv20-panel-head h3{
  font-size:18px;
  line-height:1.3;
}
.mfv20-root .mfv20-brief-head p,
.mfv20-root .mfv20-panel-head p{
  font-size:13.5px;
  line-height:1.55;
}

/* Controls / roles / filters */
.mfv20-root .mfv20-roles button,
.mfv20-root .mfv20-views select,
.mfv20-root .mfv20-views button,
.mfv20-root .mfv20-filterbar .mfv10-control select,
.mfv20-root .mfv20-more-filters>summary,
.mfv20-root .mfv20-filter-actions button{
  font-size:14px;
}
.mfv20-root .mfv20-views label,
.mfv20-root .mfv20-filterbar .mfv10-control span{
  font-size:12px;
}
.mfv20-root .mfv20-scopebar{
  font-size:13px;
  line-height:1.45;
}
.mfv20-root .mfv20-scopebar b{
  font-size:14px;
}
.mfv20-root .mfv20-scopebar em{
  font-size:12px;
}

/* At-a-glance cards */
.mfv20-root .mfv20-metric span{
  font-size:11.5px;
}
.mfv20-root .mfv20-metric b{
  font-size:24px;
}
.mfv20-root .mfv20-metric small{
  font-size:12.5px;
  line-height:1.5;
}
.mfv20-root .mfv20-metric i{
  font-size:12px;
}

/* Relationship hero notes */
.mfv20-root .mfv20-legend-note{
  font-size:12.5px;
  line-height:1.55;
}

/* Map text — modest uplift to avoid overlap while matching site readability. */
.mfv20-root .mfv11-map text{
  font-size:10.5px !important;
}
.mfv20-root .mfv11-map .mfv11-map-head,
.mfv20-root .mfv11-map-head{
  font-size:13px;
}

/* Investigation brief cards */
.mfv20-root .mfv20-brief-cards span{
  font-size:11px;
}
.mfv20-root .mfv20-brief-cards b{
  font-size:14px;
  line-height:1.4;
}
.mfv20-root .mfv20-brief-cards small{
  font-size:12px;
  line-height:1.5;
}
.mfv20-root .mfv20-brief-cards i{
  font-size:12px;
}

/* Investigation lens */
.mfv20-root .mfv21-triage>div b{
  font-size:14px;
}
.mfv20-root .mfv21-triage>button span{
  font-size:13px;
}
.mfv20-root .mfv21-triage>button b{
  font-size:12px;
}

/* Match review table */
.mfv20-root .mfv20-list-head{
  font-size:12px;
}
.mfv20-root .mfv20-list-row b{
  font-size:14px;
}
.mfv20-root .mfv20-list-row small{
  font-size:12px;
  line-height:1.45;
}
.mfv20-root .mfv20-list-row>span{
  font-size:13px;
}
.mfv20-root .mfv20-list-row em{
  font-size:11.5px;
}

/* Attention queue */
.mfv20-root .mfv20-attention>button>span{
  font-size:12px;
}
.mfv20-root .mfv20-attention b{
  font-size:14px;
  line-height:1.4;
}
.mfv20-root .mfv20-attention p{
  font-size:12.5px;
  line-height:1.5;
}
.mfv20-root .mfv20-attention small{
  font-size:11.5px;
}
.mfv20-root .mfv20-attention strong{
  font-size:13px;
}

/* Insight cards */
.mfv20-root .mfv20-insight span{
  font-size:16px;
}
.mfv20-root .mfv20-insight p{
  font-size:13.5px;
  line-height:1.6;
}
.mfv20-root .mfv20-insight>b{
  font-size:34px;
}
.mfv20-root .mfv20-insight>small{
  font-size:12px;
}
.mfv20-root .mfv20-insight>i{
  font-size:12px;
}

/* Findings/evidence register */
.mfv20-root .mfv11-findings,
.mfv20-root .mfv11-findings table{
  font-size:13.5px;
}
.mfv20-root .mfv11-findings th{
  font-size:12.5px;
}
.mfv20-root .mfv11-findings td{
  font-size:13.5px;
}
.mfv20-root .mfv11-next,
.mfv20-root .mfv21-review{
  font-size:13px;
}

/* Advanced investigation */
.mfv20-root .mfv20-advanced>summary span{
  font-size:11.5px;
}
.mfv20-root .mfv20-advanced>summary b{
  font-size:15px;
}
.mfv20-root .mfv20-advanced>summary small,
.mfv20-root .mfv20-advanced>summary i{
  font-size:12px;
}

/* Unified analytical drawer */
.mfv20-root .mfv20-drawer-head span{
  font-size:11.5px;
}
.mfv20-root .mfv20-drawer-head h2{
  font-size:27px;
  line-height:1.2;
}
.mfv20-root .mfv20-drawer-head p{
  font-size:13.5px;
  line-height:1.5;
}
.mfv20-root .mfv20-utilities>span{
  font-size:11px;
}
.mfv20-root .mfv20-utilities button{
  font-size:13.5px;
}
.mfv20-root .mfv20-tabs button{
  font-size:14px;
  padding:10px 13px;
}

/* Drawer facts */
.mfv20-root .mfv20-drawer-facts span,
.mfv20-root .mfv22-node-facts span{
  font-size:11.5px;
}
.mfv20-root .mfv20-drawer-facts b{
  font-size:17px;
}
.mfv20-root .mfv22-node-facts b{
  font-size:15px;
}
.mfv20-root .mfv22-node-facts small{
  font-size:11.5px;
  line-height:1.5;
}

/* Drawer narrative */
.mfv20-root .mfv20-drawer-card h3,
.mfv20-root .mfv20-ai-placeholder h3,
.mfv20-root .mfv20-workflow h3{
  font-size:19px;
  line-height:1.3;
}
.mfv20-root .mfv20-drawer-card p,
.mfv20-root .mfv20-ai-placeholder p,
.mfv20-root .mfv20-workflow p{
  font-size:14px;
  line-height:1.7;
}
.mfv20-root .mfv20-three-notes b{
  font-size:13.5px;
}
.mfv20-root .mfv20-three-notes p{
  font-size:13px;
  line-height:1.6;
}

/* Focused relationship visual in drawer */
.mfv20-root .mfv22-focus-head h3{
  font-size:18px;
}
.mfv20-root .mfv22-focus-head p{
  font-size:13px;
}
.mfv20-root .mfv22-focus-head strong{
  font-size:11.5px;
}
.mfv20-root .mfv22-focus-map svg text{
  font-size:10.5px !important;
}
.mfv20-root .mfv22-link-legend{
  font-size:11.5px;
}

/* Linkage status / connected nodes */
.mfv20-root .mfv22-linkage b{
  font-size:13.5px;
}
.mfv20-root .mfv22-linkage p{
  font-size:13px;
  line-height:1.6;
}
.mfv20-root .mfv22-connections-head h4{
  font-size:14px;
}
.mfv20-root .mfv22-connections button b{
  font-size:13.5px;
}
.mfv20-root .mfv22-connections button small{
  font-size:11.5px;
}
.mfv20-root .mfv22-connections button strong{
  font-size:12px;
}

/* Driver analysis */
.mfv20-root .mfv20-driver-block h4{
  font-size:15px;
}
.mfv20-root .mfv20-driver-block>div{
  font-size:12.5px;
}
.mfv20-root .mfv20-driver-block strong,
.mfv20-root .mfv20-driver-block small{
  font-size:11.5px;
}

/* Actions */
.mfv20-root .mfv20-actions-list h3{
  font-size:18px;
}
.mfv20-root .mfv20-actions-list b{
  font-size:14px;
}
.mfv20-root .mfv20-actions-list p{
  font-size:13px;
  line-height:1.6;
}

/* Records table in drawer */
.mfv20-root .mfv20-drawer-table th{
  font-size:12px;
}
.mfv20-root .mfv20-drawer-table td{
  font-size:13px;
}
.mfv20-root .mfv20-drawer-table td b{
  font-size:13.5px;
}
.mfv20-root .mfv20-drawer-table td small{
  font-size:11.5px;
}

/* AI / Workflow placeholders */
.mfv20-root .mfv20-ai-placeholder button{
  font-size:12.5px;
}
.mfv20-root .mfv20-ai-placeholder small{
  font-size:11.5px;
}
.mfv20-root .mfv20-workflow article b{
  font-size:12px;
}

/* Finding timeline */
.mfv20-root .mfv21-timeline-head span{
  font-size:11px;
}
.mfv20-root .mfv21-timeline-head h4{
  font-size:15px;
}
.mfv20-root .mfv21-timeline-head small{
  font-size:11.5px;
}
.mfv20-root .mfv21-timeline-track>button>span{
  font-size:10.5px;
}
.mfv20-root .mfv21-timeline-track>button>b{
  font-size:12px;
}
.mfv20-root .mfv21-timeline-track>button>small{
  font-size:10.5px;
}

/* Evidence ladder */
.mfv20-root .mfv21-ladder>div>b{
  font-size:13px;
}
.mfv20-root .mfv21-ladder>div>p{
  font-size:12px;
  line-height:1.55;
}

/* Responsive guardrails */
@media(max-width:1180px){
  .mfv20-root .mfv20-title h1{font-size:28px}
  .mfv20-root .mfv20-title p{font-size:14px}
  .mfv20-root .mfv20-tabs button{font-size:13px}
}
@media(max-width:760px){
  .mfv20-root .mfv20-title h1{font-size:25px}
  .mfv20-root .mfv20-title p{font-size:13.5px}
  .mfv20-root .mfv20-drawer-head h2{font-size:23px}
  .mfv20-root .mfv20-tabs button{font-size:12.5px}
  .mfv20-root .mfv20-list-row b{font-size:13px}
  .mfv20-root .mfv20-list-row small{font-size:11.5px}
}


/* ============================================================================
   Matching & Fraud Premium Investigation V5
   Map header = exactly three visual rows on desktop:
   1) Fraud Relationship & Matching Map
   2) Source Evidence · Date range...
   3) Legend + Search + Fit + Zoom + Fullscreen
   Matching & Fraud central workspace only.
   ============================================================================ */

.mfv20-root .mfv20-hero .mfv11-map-head{
  display:block !important;
  padding:14px 16px 12px !important;
}

/* Row 1 + Row 2 */
.mfv20-root .mfv20-hero .mfv11-map-head>div:first-child{
  display:block;
  width:100%;
  min-width:0;
}
.mfv20-root .mfv20-hero .mfv11-map-head>div:first-child h3{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  margin:0;
  white-space:nowrap;
  font-size:20px !important;
  line-height:1.25;
  letter-spacing:-.015em;
}
.mfv20-root .mfv20-hero .mfv11-map-head>div:first-child h3 span{
  flex:none;
  font-size:17px !important;
  line-height:1;
  cursor:help;
}
.mfv20-root .mfv20-hero .mfv11-map-head>div:first-child p{
  display:block;
  width:100%;
  margin:5px 0 0 !important;
  color:#748198;
  font-size:13.5px !important;
  line-height:1.45;
  white-space:nowrap;
}

/* Row 3 */
.mfv20-root .mfv20-hero .mfv11-map-tools{
  display:flex !important;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  width:100%;
  margin-top:11px;
  padding-top:10px;
  border-top:1px solid #edf0f5;
  min-width:0;
}
.mfv20-root .mfv20-hero .mfv11-legend{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:13px;
  min-width:0;
  margin-right:auto;
}
.mfv20-root .mfv20-hero .mfv11-legend span{
  font-size:12.5px !important;
  line-height:1.2;
  white-space:nowrap;
}
.mfv20-root .mfv20-hero .mfv11-map-tools label{
  flex:0 1 240px;
  min-width:180px;
  height:36px;
  margin:0;
}
.mfv20-root .mfv20-hero .mfv11-map-tools label input{
  height:100%;
  font-size:13px !important;
}
.mfv20-root .mfv20-hero .mfv11-map-tools>button{
  flex:none;
  min-width:42px;
  height:36px;
  padding:0 10px;
  font-size:13px !important;
}

/* Preserve the exact 3-line composition on normal desktop widths.
   On narrower workspaces row 3 may wrap rather than squeezing text unreadably. */
@media(max-width:1380px){
  .mfv20-root .mfv20-hero .mfv11-map-tools{
    flex-wrap:wrap;
  }
  .mfv20-root .mfv20-hero .mfv11-legend{
    flex:1 1 100%;
    margin-right:0;
  }
}
@media(max-width:760px){
  .mfv20-root .mfv20-hero .mfv11-map-head>div:first-child h3,
  .mfv20-root .mfv20-hero .mfv11-map-head>div:first-child p{
    white-space:normal;
  }
  .mfv20-root .mfv20-hero .mfv11-legend{
    flex-wrap:wrap;
    gap:8px 12px;
  }
  .mfv20-root .mfv20-hero .mfv11-map-tools label{
    flex:1 1 180px;
  }
}


/* ============================================================================
   Matching & Fraud Premium Investigation V6
   Full-width Relationship + AI Findings/Risk Clusters.
   Compact Investigation Brief below the hero.
   Cluster click = drawer detail; page filtering only by explicit user action.
   ============================================================================ */

/* Relationship hero gets the full central-workspace width.
   Investigation Brief is no longer a tall right-side column constraining it. */
.mfv20-root .mfv20-primary-grid{
  grid-template-columns:minmax(0,1fr) !important;
  gap:12px !important;
}
.mfv20-root .mfv20-primary-grid>.mfv20-hero{
  width:100%;
  min-width:0;
}

/* Full-width AI Findings & Risk Clusters — no clipped right-hand content. */
.mfv20-root .mfv20-hero .mfv14-clusters,
.mfv20-root .mfv20-hero .ux16-cluster-intelligence,
.mfv20-root .mfv20-hero .ux161-cluster-intelligence{
  width:100%;
  min-width:0;
  overflow:visible !important;
}
.mfv20-root .mfv20-hero .ux16-cluster-body,
.mfv20-root .mfv20-hero .ux161-cluster-body{
  display:grid !important;
  grid-template-columns:minmax(245px,.75fr) minmax(560px,2.25fr) minmax(225px,.72fr) !important;
  gap:12px !important;
  align-items:stretch !important;
  width:100%;
  min-width:0;
}
.mfv20-root .mfv20-hero .mfv14-cluster-grid,
.mfv20-root .mfv20-hero .ux161-cluster-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  min-width:0;
  gap:10px !important;
}
.mfv20-root .mfv20-hero .mfv14-cluster-grid button{
  min-width:0;
  min-height:96px !important;
}
.mfv20-root .mfv20-hero .mfv14-cluster-grid button:hover{
  border-color:#d8cffd !important;
  background:#faf8ff !important;
  transform:translateY(-1px);
}

/* Compact Investigation Brief below the map/cluster hero. */
.mfv20-root .mfv23-compact-brief{
  display:grid;
  grid-template-columns:minmax(220px,.70fr) minmax(0,2.3fr);
  gap:12px;
  align-items:stretch;
  padding:12px 14px;
  min-height:0;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-head{
  align-self:center;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-head h3{
  margin:3px 0;
  font-size:17px;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-head p{
  font-size:12.5px;
  line-height:1.5;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:0;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-cards button{
  min-height:88px;
  padding:10px 12px;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-cards b{
  font-size:13.5px;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-cards small{
  font-size:11.5px;
}
.mfv20-root .mfv23-compact-brief .mfv20-brief-cards i{
  font-size:11.5px;
  margin-top:5px;
}

/* Lower AI cluster interpretation remains four readable columns on desktop. */
.mfv20-root .mfv20-hero .ux161-cluster-lower{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  width:100%;
  gap:10px !important;
}
.mfv20-root .mfv20-hero .ux161-cluster-lower article{
  min-width:0;
}

/* Explicit page-focus action inside the drawer.
   This replaces the old surprising "card click filters everything" behavior. */
.mfv20-root .mfv23-pattern-focus{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 12px;
  padding:11px 12px;
  border:1px solid #ddd6ff;
  border-radius:11px;
  background:linear-gradient(90deg,#faf8ff,#fff);
}
.mfv20-root .mfv23-pattern-focus b{
  display:block;
  color:#33415b;
  font-size:13.5px;
}
.mfv20-root .mfv23-pattern-focus p{
  margin:3px 0 0;
  color:#738097;
  font-size:12px;
  line-height:1.5;
}
.mfv20-root .mfv23-pattern-focus button{
  flex:none;
  min-height:36px;
  padding:0 12px;
  border:1px solid #d8cffb;
  border-radius:9px;
  background:#fff;
  color:#6044d8;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
}
.mfv20-root .mfv23-pattern-focus button:hover{
  background:#f3efff;
}

/* Responsive: full access to every cluster without clipping.
   On narrower widths, sections stack instead of creating a hidden horizontal strip. */
@media(max-width:1380px){
  .mfv20-root .mfv20-hero .ux16-cluster-body,
  .mfv20-root .mfv20-hero .ux161-cluster-body{
    grid-template-columns:minmax(230px,.8fr) minmax(0,2.2fr) !important;
  }
  .mfv20-root .mfv20-hero .ux16-cluster-reco{
    grid-column:1/-1;
    min-height:0 !important;
  }
  .mfv20-root .mfv20-hero .ux16-cluster-reco ul{
    grid-template-columns:repeat(4,minmax(0,1fr));
    display:grid;
    gap:8px 18px;
  }
}
@media(max-width:1050px){
  .mfv20-root .mfv20-hero .ux16-cluster-body,
  .mfv20-root .mfv20-hero .ux161-cluster-body{
    grid-template-columns:1fr !important;
  }
  .mfv20-root .mfv23-compact-brief{
    grid-template-columns:1fr;
  }
  .mfv20-root .mfv23-compact-brief .mfv20-brief-cards{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .mfv20-root .mfv20-hero .mfv14-cluster-grid,
  .mfv20-root .mfv20-hero .ux161-cluster-grid,
  .mfv20-root .mfv23-compact-brief .mfv20-brief-cards,
  .mfv20-root .mfv20-hero .ux161-cluster-lower{
    grid-template-columns:1fr !important;
  }
  .mfv20-root .mfv20-hero .ux16-cluster-reco ul{
    grid-template-columns:1fr;
  }
  .mfv20-root .mfv23-pattern-focus{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* ============================================================================
   Audit Trail Premium Investigation V1
   Universal readability baseline: Ledger Feed V10.
   Scope: Audit Trail central workspace + unified drawer only.
   ============================================================================ */
.audit24-root{
  --a24-ink:#17233d;--a24-muted:#738199;--a24-line:#e5eaf2;--a24-purple:#6848e8;
  --a24-blue:#4c73e8;--a24-teal:#16ad91;--a24-red:#e95e68;--a24-amber:#e4a038;
  padding:0 2px 28px;color:var(--a24-ink);font-size:14px;line-height:1.5;
}
.audit24-root *{box-sizing:border-box}
.audit24-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:4px 2px 14px;border-bottom:1px solid var(--a24-line)}
.audit24-heading>span,.audit24-panel-head span,.audit24-activity-head span,.audit24-table header span,.audit24-summary>span,.audit24-ai>span,.audit24-workflow>span{
  color:var(--a24-purple);font-size:12px;font-weight:900;letter-spacing:.1em
}
.audit24-heading h1{margin:4px 0 3px;font-size:30px;line-height:1.15;letter-spacing:-.025em}
.audit24-heading p{margin:0;max-width:760px;color:var(--a24-muted);font-size:15px;line-height:1.6}
.audit24-head-tools{display:grid;justify-items:end;gap:8px}.audit24-roles{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.audit24-roles button,.audit24-view-tools button,.audit24-view-tools select{min-height:34px;padding:0 11px;border:1px solid #e2e7ef;border-radius:9px;background:#fff;color:#586780;font-size:14px;cursor:pointer}
.audit24-roles button.active{border-color:#cec4ff;background:#f3f0ff;color:#5c40d4}.audit24-view-tools{display:flex;align-items:end;gap:7px}.audit24-view-tools label{display:grid;gap:3px;color:#8290a4;font-size:12px}

.audit24-filterbar{display:flex;align-items:end;gap:8px;padding:12px 0 10px}.audit24-search{display:grid;gap:3px;min-width:300px;color:#7f8da2;font-size:12px}.audit24-search>div{display:flex;align-items:center;height:38px;padding-left:10px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#8c97a8}
.audit24-search input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;color:#33415b;font-size:14px;padding:0 7px}.audit24-search button{height:30px;margin-right:3px;padding:0 10px;border:0;border-radius:7px;background:#f0edff;color:#6044d8;font-size:13px;font-weight:800;cursor:pointer}
.audit24-core-filters{display:flex;gap:7px;min-width:0;flex:1}.audit24-core-filters label,.audit24-more label{display:grid;gap:3px;min-width:0;flex:1;color:#7f8da2;font-size:12px}.audit24-core-filters select,.audit24-more select{height:38px;min-width:0;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#4f5f77;font-size:14px;padding:0 9px}
.audit24-more{position:relative}.audit24-more>summary{display:flex;align-items:center;gap:7px;height:38px;padding:0 11px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#56657d;font-size:14px;font-weight:750;cursor:pointer;list-style:none}.audit24-more>summary::-webkit-details-marker{display:none}.audit24-more>summary b{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#f1edff;color:#6348d8;font-size:11px}
.audit24-more>div{position:absolute;right:0;top:44px;z-index:40;width:560px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #dfe5ee;border-radius:12px;background:#fff;box-shadow:0 18px 46px rgba(28,40,74,.16)}
.audit24-filter-actions{display:flex;gap:6px}.audit24-filter-actions button{height:38px;padding:0 12px;border-radius:10px;font-size:14px;cursor:pointer}.audit24-filter-actions .clear{border:1px solid #dfe5ee;background:#fff;color:#57667f}.audit24-filter-actions .apply{border:1px solid #6548de;background:#6548de;color:#fff;font-weight:800}

.audit24-scope{display:flex;align-items:center;gap:15px;min-height:38px;padding:8px 11px;margin-bottom:12px;border:1px solid #e6eaf2;border-radius:11px;background:#fafbfe;color:#748197;font-size:13px}.audit24-scope b{color:#27354f;font-size:14px}.audit24-scope em{margin-left:auto;color:#8c97a8;font-size:12px;font-style:normal}

.audit24-glance{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:12px}.audit24-metric{position:relative;min-height:108px;padding:13px 14px 12px;border:1px solid var(--a24-line);border-radius:14px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 5px 16px rgba(28,42,79,.035);transition:.16s ease}
.audit24-metric:hover{transform:translateY(-1px);border-color:#d7deec;box-shadow:0 10px 24px rgba(28,42,79,.075)}.audit24-metric:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#6b5ce7}.audit24-metric.blue:before{background:var(--a24-blue)}.audit24-metric.red:before{background:var(--a24-red)}.audit24-metric.teal:before{background:var(--a24-teal)}.audit24-metric.amber:before{background:var(--a24-amber)}
.audit24-metric span{display:block;color:#7b889c;font-size:11.5px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.audit24-metric b{display:block;margin-top:5px;color:#18243d;font-size:24px;line-height:1.15;letter-spacing:-.02em}.audit24-metric small{display:block;margin-top:4px;color:#8490a3;font-size:12.5px;line-height:1.5}.audit24-metric i{display:block;margin-top:7px;color:#6848e8;font-size:12px;font-style:normal;font-weight:800}

.audit24-primary{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(360px,.75fr);gap:12px;align-items:stretch}.audit24-activity,.audit24-panel{border:1px solid var(--a24-line);border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(27,39,75,.045);overflow:hidden}
.audit24-activity{padding:16px 18px 13px;cursor:pointer}.audit24-activity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.audit24-activity-head h2{margin:4px 0 3px;font-size:20px;line-height:1.25;letter-spacing:-.02em}.audit24-activity-head p{margin:0;max-width:780px;color:#738199;font-size:13.5px;line-height:1.55}.audit24-activity-head button,.audit24-panel-head button{flex:none;border:0;background:transparent;color:#6548df;font-size:12.5px;font-weight:800;cursor:pointer}
.audit24-legend{display:flex;gap:14px;margin:12px 0 4px;color:#68768d;font-size:12px}.audit24-legend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:3px;background:#686bed}.audit24-legend .risk:before{border-radius:50%;background:#e95f68}
.audit24-svg-wrap{height:300px}.audit24-svg-wrap svg{width:100%;height:100%;overflow:visible}.audit24-svg-wrap .grid line{stroke:#e8ecf3;stroke-width:1}.audit24-svg-wrap .grid text,.audit24-svg-wrap .x{fill:#8390a4;font-size:10.5px}.audit24-activity-note{padding-top:9px;border-top:1px solid #edf0f5;color:#65738a;font-size:12.5px;line-height:1.5}.audit24-activity-note b{color:#34415b}.audit24-activity-note span{color:#7d899c}

.audit24-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px 11px}.audit24-panel-head h3{margin:4px 0 2px;font-size:18px;line-height:1.3}.audit24-panel-head p{margin:0;color:#7a879b;font-size:13px;line-height:1.5}
.audit24-queue{padding:0 12px 11px}.audit24-queue>button{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto 16px;gap:9px;align-items:center;width:100%;padding:11px 3px;border:0;border-top:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}.audit24-queue>button:hover{background:#fbfbff}.audit24-queue>button>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#fff0f1;color:#d1434d;font-size:12px;font-weight:900}.audit24-queue b{display:block;color:#2b3952;font-size:14px}.audit24-queue p{margin:2px 0;color:#718097;font-size:12.5px}.audit24-queue small{color:#8c97a9;font-size:11.5px}.audit24-queue strong{color:#26344e;font-size:13px;white-space:nowrap}.audit24-queue em{padding:4px 7px;border-radius:999px;font-size:11px;font-style:normal;font-weight:800}.audit24-queue em.high{background:#fff0f1;color:#c8434e}.audit24-queue em.medium{background:#fff5e2;color:#a46b10}.audit24-queue em.low{background:#eaf9f2;color:#17815e}.audit24-queue i{color:#929bab;font-size:15px;font-style:normal}

.audit24-secondary{margin-top:12px}.audit24-secondary .audit24-panel{padding-bottom:14px}.audit24-evidence-bars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:0 15px 13px}.audit24-evidence-bars button{display:grid;grid-template-columns:90px minmax(0,1fr) 34px 40px;gap:8px;align-items:center;padding:10px;border:1px solid #ebedf3;border-radius:10px;background:#fff;color:#596881;font-size:12.5px;cursor:pointer}.audit24-evidence-bars i,.audit24-root-list i{height:8px;border-radius:99px;background:#eef1f5;overflow:hidden}.audit24-evidence-bars i b,.audit24-root-list i b{display:block;height:100%;border-radius:99px;background:#6b5ce7}.audit24-evidence-bars i b.green{background:#17ad8c}.audit24-evidence-bars i b.amber{background:#e7a13c}.audit24-evidence-bars i b.red{background:#e85d67}.audit24-evidence-bars strong{color:#2e3c55;font-size:13px}.audit24-evidence-bars small{color:#8692a4;font-size:11.5px}
.audit24-root-list{padding:0 15px}.audit24-root-list h4{margin:0 0 8px;font-size:15px}.audit24-root-list button{display:grid;grid-template-columns:minmax(150px,1fr) 1.4fr 34px;gap:9px;align-items:center;width:100%;padding:7px 0;border:0;background:#fff;color:#586780;font-size:12.5px;text-align:left;cursor:pointer}.audit24-root-list button:hover{color:#6044d8}

.audit24-reasoning{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.audit24-reason{position:relative;min-height:190px;padding:16px;border:1px solid var(--a24-line);border-radius:17px;background:#fff;text-align:left;cursor:pointer;overflow:hidden;box-shadow:0 7px 22px rgba(27,39,75,.035)}.audit24-reason:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(27,39,75,.07)}.audit24-reason>span{font-size:11.5px;font-weight:900;letter-spacing:.08em}.audit24-reason.fact>span{color:#3471d8}.audit24-reason.control>span{color:#159471}.audit24-reason.ai>span{color:#6b4bdd}.audit24-reason.action>span{color:#b67818}.audit24-reason h3{margin:6px 0 12px;font-size:16px}.audit24-reason>b{display:block;color:#17233d;font-size:23px;line-height:1.2}.audit24-reason p{margin:7px 0 25px;color:#68778f;font-size:13px;line-height:1.55}.audit24-reason i{position:absolute;left:16px;bottom:14px;color:#6548df;font-size:12px;font-style:normal;font-weight:800}

.audit24-table{margin-top:12px;border:1px solid var(--a24-line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(27,39,75,.035);overflow:hidden}.audit24-table>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:15px 16px 11px}.audit24-table header h3{margin:4px 0 2px;font-size:18px}.audit24-table header p{margin:0;color:#7d899c;font-size:12.5px}.audit24-table header>div:last-child{display:flex;gap:7px}.audit24-table header button{min-height:34px;padding:0 10px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#56657d;font-size:12.5px;cursor:pointer}
.audit24-table-scroll{overflow:auto}.audit24-table table{width:100%;min-width:1040px;border-collapse:collapse}.audit24-table th{padding:9px 10px;background:#f7f8fb;color:#7d899c;font-size:12px;text-align:left}.audit24-table td{padding:10px;border-top:1px solid #eef1f5;color:#4f5f77;font-size:13px;vertical-align:middle}.audit24-table td b{display:block;color:#293750;font-size:13.5px}.audit24-table td small{display:block;margin-top:2px;color:#8d97a8;font-size:11px}.audit24-table td.money{font-weight:750;color:#2a3851}.audit24-table td>button{border:0;background:transparent;color:#6548df;font-size:12.5px;font-weight:800;cursor:pointer}.audit24-pill{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:11.5px;font-weight:800}.audit24-pill.high,.audit24-pill.missing{background:#fff0f1;color:#c8424e}.audit24-pill.medium,.audit24-pill.partial{background:#fff5e2;color:#a36a0e}.audit24-pill.low,.audit24-pill.complete{background:#eaf9f2;color:#17815e}
.audit24-table>footer{display:flex;justify-content:space-between;align-items:center;padding:9px 14px;border-top:1px solid #edf0f5;color:#7c899c;font-size:12.5px}.audit24-table footer>div{display:flex;align-items:center;gap:8px}.audit24-table footer button{width:30px;height:30px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#596881;font-size:15px;cursor:pointer}.audit24-table footer button:disabled{opacity:.4;cursor:not-allowed}

.audit24-advanced{margin-top:12px;border:1px solid var(--a24-line);border-radius:15px;background:#fff;overflow:hidden}.audit24-advanced>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;list-style:none;cursor:pointer;background:#fbfbfd}.audit24-advanced>summary::-webkit-details-marker{display:none}.audit24-advanced>summary span{display:block;color:#6848e8;font-size:11.5px;font-weight:900;letter-spacing:.1em}.audit24-advanced>summary b{display:block;margin-top:2px;color:#25334e;font-size:15px}.audit24-advanced>summary small{display:block;margin-top:2px;color:#8793a6;font-size:12px}.audit24-advanced>summary i{color:#6848e8;font-size:12px;font-style:normal;font-weight:800}.audit24-advanced[open]>summary i{font-size:0}.audit24-advanced[open]>summary i:after{content:"Hide research ↑";font-size:12px}.audit24-advanced>div{padding:12px;background:#fafbfe;border-top:1px solid #eceff5}.audit24-advanced .tri17-analytics{margin-top:12px}

/* Universal full-height analytical drawer */
.audit24-backdrop{position:fixed;inset:0;z-index:2147482500;background:rgba(22,30,48,.34);backdrop-filter:blur(1px)}.audit24-drawer{position:fixed;z-index:2147482501;top:0;right:0;width:min(940px,78vw);height:100vh;background:#f8f9fc;border-left:1px solid #dfe4ed;box-shadow:-24px 0 58px rgba(20,29,48,.17);overflow:auto}
.audit24-drawer>header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;gap:20px;padding:19px 22px 15px;background:linear-gradient(135deg,#1f2b68,#4d24a8);color:#fff}.audit24-drawer>header span{font-size:11.5px;font-weight:900;letter-spacing:.12em;color:#cfc7ff}.audit24-drawer>header h2{margin:4px 0 3px;font-size:27px;line-height:1.2;letter-spacing:-.02em}.audit24-drawer>header p{margin:0;color:#d8dcf1;font-size:13.5px}.audit24-drawer>header>button{width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:18px;cursor:pointer}
.audit24-utils{display:flex;align-items:center;gap:7px;padding:9px 20px;border-bottom:1px solid #e4e8f0;background:#fff}.audit24-utils>span{margin-right:3px;color:#8792a4;font-size:11px;font-weight:900;letter-spacing:.1em}.audit24-utils button{min-height:32px;padding:0 10px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#52617a;font-size:13.5px;cursor:pointer}
.audit24-tabs{position:sticky;top:72px;z-index:4;display:flex;gap:4px;padding:9px 16px;border-bottom:1px solid #e4e8f0;background:rgba(255,255,255,.97);overflow:auto}.audit24-tabs button{flex:none;padding:10px 13px;border:0;border-radius:8px;background:#f6f7fa;color:#66758d;font-size:14px;font-weight:760;cursor:pointer}.audit24-tabs button.active{background:#eee9ff;color:#6548df}
.audit24-drawer-body{padding:16px 20px 28px}.audit24-drawer-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.audit24-drawer-facts article{padding:12px;border:1px solid #e4e8f0;border-radius:11px;background:#fff}.audit24-drawer-facts span{display:block;color:#8290a4;font-size:11.5px}.audit24-drawer-facts b{display:block;margin-top:3px;color:#21304a;font-size:16px}
.audit24-summary,.audit24-ai,.audit24-workflow,.audit24-before-after,.audit24-timeline{padding:15px 16px;margin-bottom:12px;border:1px solid #e4e8f0;border-radius:14px;background:#fff}.audit24-summary h3,.audit24-ai h3,.audit24-workflow h3{margin:4px 0 7px;font-size:19px}.audit24-summary p,.audit24-ai p,.audit24-workflow p{margin:5px 0;color:#5f6f87;font-size:14px;line-height:1.7}.audit24-summary .warning{padding:9px 10px;border-radius:9px;background:#fff8eb;color:#8c6726}
.audit24-before-after>span,.audit24-timeline>div>span{color:#6848e8;font-size:11px;font-weight:900;letter-spacing:.1em}.audit24-before-after h4,.audit24-timeline h4{margin:4px 0 8px;font-size:15px}.audit24-before-after>div{display:grid;grid-template-columns:1fr 28px 1fr;gap:8px;align-items:center}.audit24-before-after article{padding:11px;border:1px solid #e9ecf3;border-radius:10px;background:#fafbfe}.audit24-before-after article b{font-size:13.5px}.audit24-before-after article p{margin:4px 0;color:#78859a;font-size:13px}.audit24-before-after>div>i{text-align:center;color:#9aa3b2;font-style:normal}.audit24-before-after>small{display:block;margin-top:8px;color:#8995a7;font-size:11.5px;line-height:1.5}
.audit24-semantic-mini{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.audit24-semantic-mini article{padding:11px;border:1px solid #e9ecf3;border-radius:10px;background:#fafbfe}.audit24-semantic-mini b{font-size:13px}.audit24-semantic-mini p{font-size:12.5px;line-height:1.55}
.audit24-timeline>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.audit24-timeline>div small{color:#8b96a8;font-size:11.5px}.audit24-timeline ol{list-style:none;margin:12px 0 0;padding:0}.audit24-timeline li{display:grid;grid-template-columns:16px 80px 1fr;gap:9px;align-items:start;position:relative;padding:7px 0}.audit24-timeline li:before{content:"";position:absolute;left:7px;top:0;bottom:0;width:1px;background:#e1e6ee}.audit24-timeline li>i{position:relative;z-index:1;width:12px;height:12px;margin-top:4px;border:2px solid #fff;border-radius:50%;background:#7c69e8;box-shadow:0 0 0 1px #d5dae5}.audit24-timeline li>i.high{background:#e85d68}.audit24-timeline li>i.medium{background:#e6a03d}.audit24-timeline li>i.low{background:#18ad8c}.audit24-timeline time{color:#7b899c;font-size:12px}.audit24-timeline button{border:0;background:transparent;text-align:left;cursor:pointer}.audit24-timeline button b{display:block;color:#33415a;font-size:13.5px}.audit24-timeline button small{display:block;margin-top:2px;color:#8a95a7;font-size:11.5px}
.audit24-drawer-table{overflow:auto;border:1px solid #e4e8f0;border-radius:12px;background:#fff}.audit24-drawer-table table{width:100%;min-width:780px;border-collapse:collapse}.audit24-drawer-table th{padding:8px 9px;background:#f6f7fa;color:#7c899d;font-size:12px;text-align:left}.audit24-drawer-table td{padding:9px;border-top:1px solid #eef1f5;color:#47566e;font-size:13px}.audit24-drawer-table td b{display:block;color:#2b3851;font-size:13.5px}.audit24-drawer-table td small{display:block;margin-top:2px;color:#8b96a7;font-size:11.5px}
.audit24-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.audit24-driver{padding:13px;border:1px solid #e4e8f0;border-radius:13px;background:#fff}.audit24-driver h4{margin:0 0 10px;font-size:15px}.audit24-driver>div{display:grid;grid-template-columns:minmax(120px,1.2fr) 1fr 34px;gap:8px;align-items:center;margin:8px 0;color:#596881;font-size:12.5px}.audit24-driver i{height:7px;border-radius:99px;background:#edf0f5;overflow:hidden}.audit24-driver i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#6b62ea,#8a68ed)}.audit24-driver strong{font-size:12px}
.audit24-actions{padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff}.audit24-actions h3{margin:0 0 9px;font-size:18px}.audit24-actions article{display:grid;grid-template-columns:28px 1fr;gap:9px;padding:11px 0;border-top:1px solid #eef1f5}.audit24-actions article>span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#eeeaff;color:#6246dc;font-size:12px;font-weight:900}.audit24-actions b{font-size:14px}.audit24-actions p{margin:2px 0 0;color:#697891;font-size:13px;line-height:1.6}
.audit24-ai,.audit24-workflow{border-color:#ddd6ff;background:linear-gradient(145deg,#fff,#faf8ff)}.audit24-ai>div{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.audit24-ai button{padding:7px 9px;border:1px solid #e2dcff;border-radius:999px;background:#fff;color:#5c48c5;font-size:12.5px}.audit24-ai small{color:#8c96a8;font-size:11.5px}.audit24-workflow>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:14px 0}.audit24-workflow article{padding:10px;border:1px solid #e5e0fb;border-radius:10px;background:#fff;text-align:center}.audit24-workflow article i{display:grid;place-items:center;width:23px;height:23px;margin:0 auto 6px;border-radius:999px;background:#eeeaff;color:#6548dc;font-size:11px;font-style:normal;font-weight:900}.audit24-workflow article b{font-size:12px}
.audit24-unavailable{padding:14px;border:1px solid #e4e8f0;border-left:3px solid #7b64e8;border-radius:11px;background:#faf8ff}.audit24-unavailable b{font-size:13.5px}.audit24-unavailable p{margin:4px 0 0;color:#6f7d92;font-size:13px;line-height:1.55}

@media(max-width:1280px){
 .audit24-primary{grid-template-columns:1fr}.audit24-glance{grid-template-columns:repeat(3,minmax(0,1fr))}
 .audit24-filterbar{flex-wrap:wrap}.audit24-search{min-width:100%}.audit24-core-filters{flex-wrap:wrap}.audit24-core-filters label{min-width:180px}
}
@media(max-width:950px){
 .audit24-head{display:block}.audit24-head-tools{justify-items:start;margin-top:12px}.audit24-roles{justify-content:flex-start}.audit24-reasoning{grid-template-columns:repeat(2,minmax(0,1fr))}
 .audit24-drawer{width:92vw}.audit24-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .audit24-heading h1{font-size:26px}.audit24-heading p{font-size:13.5px}.audit24-glance,.audit24-reasoning,.audit24-evidence-bars{grid-template-columns:1fr}
 .audit24-more>div{position:fixed;left:12px;right:12px;top:120px;width:auto;grid-template-columns:1fr}
 .audit24-semantic-mini,.audit24-driver-grid{grid-template-columns:1fr}.audit24-workflow>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 .audit24-drawer>header h2{font-size:23px}.audit24-tabs button{font-size:12.5px}
}


/* ============================================================================
   Audit Trail Premium Investigation V2
   Restores card-based forensic research canvas, adds page-specific
   multi-dimensional analytics, removes vertical blank-space imbalance,
   and makes every chart open an exact chart-specific analytical drawer.
   ============================================================================ */

.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V2"] .audit24-primary{
  display:block;
}

/* Card-based research canvas visible in the main flow */
.audit25-research{
  margin:0 0 12px;
  padding:14px;
  border:1px solid #e2e7ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 7px 24px rgba(27,39,75,.045);
}
.audit25-research-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:10px;
}
.audit25-research-head>div>span,
.audit25-analytics-head>div>span{
  color:#6848e8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
}
.audit25-research-head h2,
.audit25-analytics-head h2{
  margin:4px 0 3px;
  color:#1c2943;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.02em;
}
.audit25-research-head p,
.audit25-analytics-head p{
  max-width:900px;
  margin:0;
  color:#718097;
  font-size:13.5px;
  line-height:1.6;
}
.audit25-research-head>button{
  flex:none;
  min-height:34px;
  padding:0 11px;
  border:1px solid #ded7ff;
  border-radius:9px;
  background:#fff;
  color:#6045d7;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
}

/* Let the approved card-based relationship canvas breathe without creating a second page shell. */
.audit25-research .audit181-map{
  margin:0 !important;
  border:1px solid #e7eaf1 !important;
  border-radius:14px !important;
  box-shadow:none !important;
}
.audit25-research .audit181-map>header{
  padding:12px 14px !important;
}
.audit25-research .audit181-map>header h3{
  font-size:16px !important;
}
.audit25-research .audit181-map>header p{
  font-size:12.5px !important;
  line-height:1.5 !important;
}
.audit25-research .audit181-map .tri17-map-tools{
  font-size:11.5px !important;
}
.audit25-research .audit181-map svg{
  min-height:430px;
  max-height:540px;
}

/* Main analytical section */
.audit25-analytics{
  margin:0 0 12px;
}
.audit25-analytics-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin:2px 2px 10px;
}
.audit25-granularity{
  display:flex;
  gap:5px;
}
.audit25-granularity button{
  min-height:34px;
  padding:0 12px;
  border:1px solid #dfe5ee;
  border-radius:9px;
  background:#fff;
  color:#617089;
  font-size:13px;
  cursor:pointer;
}
.audit25-granularity button.active{
  border-color:#cfc5ff;
  background:#f0edff;
  color:#6044d8;
  font-weight:800;
}

.audit25-grid{
  display:grid;
  gap:12px;
}
.audit25-grid-main{
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);
  margin-bottom:12px;
}
.audit25-grid-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.audit25-card{
  min-width:0;
  padding:14px 15px 12px;
  border:1px solid #e3e8f0;
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 22px rgba(27,39,75,.04);
  cursor:pointer;
  transition:.16s ease;
}
.audit25-card:hover{
  transform:translateY(-1px);
  border-color:#d7dcef;
  box-shadow:0 11px 28px rgba(27,39,75,.075);
}
.audit25-card>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  min-height:62px;
}
.audit25-card>header span{
  color:#6848e8;
  font-size:11.5px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit25-card>header h3{
  margin:3px 0 2px;
  color:#25334d;
  font-size:17px;
  line-height:1.3;
}
.audit25-card>header p{
  margin:0;
  color:#7c899d;
  font-size:12.5px;
  line-height:1.5;
}
.audit25-card>header>button{
  flex:none;
  border:0;
  background:transparent;
  color:#6848e8;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.audit25-chart-visual{
  min-width:0;
}
.audit25-chart-visual svg{
  display:block;
  width:100%;
  height:270px;
}
.audit25-legend{
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  margin:5px 0 2px;
  color:#6f7d92;
  font-size:11.5px;
}
.audit25-legend span{
  display:flex;
  align-items:center;
  gap:5px;
}
.audit25-legend i{
  width:8px;
  height:8px;
  border-radius:3px;
}

.audit25-card>footer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:10px -15px -12px;
  border-top:1px solid #edf0f5;
  background:#fbfbfd;
}
.audit25-card>footer>div{
  min-width:0;
  padding:10px 12px 11px;
  border-right:1px solid #edf0f5;
}
.audit25-card>footer>div:last-child{
  border-right:0;
}
.audit25-card>footer b{
  display:block;
  color:#6044d8;
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.audit25-card>footer p{
  margin:4px 0 0;
  color:#65748b;
  font-size:12px;
  line-height:1.5;
}

/* Multi-dimensional source-risk heat matrix */
.audit25-matrix{
  display:grid;
  grid-template-columns:130px repeat(3,minmax(0,1fr));
  gap:6px;
  align-items:stretch;
  min-height:270px;
  padding:14px 2px 8px;
}
.audit25-matrix .corner,
.audit25-matrix .head,
.audit25-matrix .rowhead{
  display:flex;
  align-items:center;
  color:#738097;
  font-size:11.5px;
  font-weight:750;
}
.audit25-matrix .head{
  justify-content:center;
}
.audit25-matrix button{
  position:relative;
  display:grid;
  place-items:center;
  min-height:45px;
  padding:6px;
  border:1px solid rgba(104,72,232,.12);
  border-radius:9px;
  background:rgba(104,72,232,calc(.05 + var(--heat)*.30));
  color:#26344e;
  cursor:pointer;
}
.audit25-matrix button b{
  font-size:14px;
}
.audit25-matrix button small{
  color:#758298;
  font-size:10.5px;
}
.audit25-matrix button span{
  display:none;
}

/* Queue + evidence are now peers, so neither stretches the other into a blank white column. */
.audit25-operational{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  align-items:start;
  margin-bottom:12px;
}
.audit25-operational .audit24-panel{
  height:auto;
}
.audit25-operational .audit24-secondary{
  margin-top:0;
}

/* Chart-specific drawer */
.audit25-drawer-chart{
  margin-bottom:12px;
  padding:14px 15px 11px;
  border:1px solid #e3e8f0;
  border-radius:14px;
  background:#fff;
}
.audit25-drawer-chart>header>span{
  color:#6848e8;
  font-size:11.5px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit25-drawer-chart>header h3{
  margin:4px 0 2px;
  color:#24324c;
  font-size:19px;
}
.audit25-drawer-chart>header p{
  margin:0 0 8px;
  color:#758298;
  font-size:13px;
}
.audit25-drawer-chart .audit25-chart-visual svg{
  height:330px;
}
.audit25-drawer-chart .audit25-matrix{
  min-height:330px;
}
.audit25-analysis-story{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-bottom:12px;
}
.audit25-analysis-story article{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  padding:12px;
  border:1px solid #e4e8f0;
  border-radius:11px;
  background:#fff;
}
.audit25-analysis-story article>span{
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:7px;
  background:#eeeaff;
  color:#6246dc;
  font-size:12px;
  font-weight:900;
}
.audit25-analysis-story b{
  display:block;
  color:#2b3952;
  font-size:13.5px;
}
.audit25-analysis-story p{
  margin:3px 0 0;
  color:#6c7a91;
  font-size:12.5px;
  line-height:1.55;
}

/* Keep original event trend available in code, but the V2 page does not stretch it against the queue. */
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V2"] .audit24-primary{
  align-items:start !important;
}

@media(max-width:1280px){
  .audit25-grid-main,
  .audit25-grid-three,
  .audit25-operational{
    grid-template-columns:1fr;
  }
  .audit25-card>footer{
    grid-template-columns:1fr;
  }
  .audit25-card>footer>div{
    border-right:0;
    border-bottom:1px solid #edf0f5;
  }
  .audit25-card>footer>div:last-child{
    border-bottom:0;
  }
}
@media(max-width:820px){
  .audit25-research-head,
  .audit25-analytics-head{
    display:block;
  }
  .audit25-research-head>button,
  .audit25-granularity{
    margin-top:9px;
  }
  .audit25-analysis-story{
    grid-template-columns:1fr;
  }
  .audit25-matrix{
    grid-template-columns:100px repeat(3,minmax(70px,1fr));
    overflow:auto;
  }
}


/* ============================================================================
   Audit Trail Premium Investigation V3 — Ledger Audit Research Canvas
   Universal typography = accepted Ledger Feed baseline.
   ============================================================================ */

.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V3"] .audit25-research{display:none!important}

/* Canvas shell */
.audit26-canvas{
  margin:0 0 14px;
  border:1px solid #e1e6ef;
  border-radius:20px;
  background:
    radial-gradient(circle at 6% 5%,rgba(105,72,232,.055),transparent 28%),
    radial-gradient(circle at 94% 90%,rgba(23,174,143,.045),transparent 24%),
    #fff;
  box-shadow:0 9px 30px rgba(28,40,74,.055);
  overflow:hidden;
}
.audit26-canvas-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:18px 20px 15px;
  border-bottom:1px solid #e8ebf2;
}
.audit26-canvas-head>div:first-child>span{
  color:#6848e8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
}
.audit26-canvas-head h2{
  margin:4px 0 4px;
  color:#182640;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.025em;
}
.audit26-canvas-head p{
  max-width:960px;
  margin:0;
  color:#6f7d93;
  font-size:14px;
  line-height:1.6;
}
.audit26-canvas-legend{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  min-width:260px;
}
.audit26-canvas-legend span,
.audit26-status{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border:1px solid #e1e6ee;
  border-radius:999px;
  background:#f8f9fc;
  color:#68768d;
  font-size:10.5px;
  font-style:normal;
  font-weight:850;
  white-space:nowrap;
}
.audit26-canvas-legend .direct,
.audit26-status.direct,
.audit26-status.direct-gaps{
  border-color:#bce9da;
  background:#eefbf6;
  color:#177f63;
}
.audit26-canvas-legend .derived,
.audit26-status.derived-lens{
  border-color:#d8d1fa;
  background:#f3f0ff;
  color:#6547d8;
}
.audit26-canvas-legend .gap,
.audit26-status.contract-gap{
  border-color:#f2d6a6;
  background:#fff8e9;
  color:#9a6a17;
}
.audit26-status.partial{
  border-color:#cdd9fb;
  background:#f0f4ff;
  color:#4165bf;
}

.audit26-stage{
  padding:16px 18px 18px;
}
.audit26-lane-label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:3px 2px 9px;
}
.audit26-lane-label>span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:9px;
  background:#eeeaff;
  color:#6548df;
  font-size:12px;
  font-weight:900;
}
.audit26-lane-label>div{
  min-width:0;
}
.audit26-lane-label b{
  display:block;
  color:#293750;
  font-size:15px;
}
.audit26-lane-label small{
  display:block;
  margin-top:1px;
  color:#8490a3;
  font-size:12px;
}
.audit26-lane-label>i{
  margin-left:auto;
  color:#a1a9b8;
  font-size:18px;
  font-style:normal;
}
.audit26-flow-arrow{
  display:grid;
  place-items:center;
  height:28px;
  color:#9184e8;
  font-size:18px;
  font-weight:900;
}

/* Source + Manual Journals */
.audit26-source-row{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(330px,.65fr);
  gap:10px;
  align-items:stretch;
}
.audit26-source-summary{
  padding:13px;
  border:1px solid #e6eaf1;
  border-radius:15px;
  background:#fff;
}
.audit26-mini-head>span{
  display:block;
  color:#6848e8;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.08em;
}
.audit26-mini-head>b{
  display:block;
  margin-top:2px;
  color:#2b3953;
  font-size:14px;
}
.audit26-source-summary>div:last-child{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.audit26-source-summary button{
  min-width:0;
  min-height:92px;
  padding:11px;
  border:1px solid #e7eaf1;
  border-radius:11px;
  background:linear-gradient(145deg,#fff,#f8fbff);
  text-align:left;
  cursor:pointer;
}
.audit26-source-summary button:hover{
  border-color:#cad7f5;
  box-shadow:0 7px 18px rgba(35,55,95,.06);
}
.audit26-source-summary button>b{
  display:block;
  overflow:hidden;
  color:#31405a;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.audit26-source-summary button>span{
  display:block;
  margin-top:7px;
  color:#4b72df;
  font-size:16px;
  font-weight:850;
}
.audit26-source-summary button>small{
  display:block;
  margin-top:2px;
  color:#8792a4;
  font-size:11px;
}

/* First-class ledger object cards */
.audit26-ledger-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.audit26-final-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.audit26-ledger-card{
  position:relative;
  min-width:0;
  min-height:178px;
  padding:13px 14px 14px;
  border:1px solid #e4e8f0;
  border-radius:15px;
  background:#fff;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 5px 16px rgba(28,42,79,.03);
  transition:.16s ease;
}
.audit26-ledger-card:after{
  content:"";
  position:absolute;
  right:-38px;
  bottom:-48px;
  width:130px;
  height:130px;
  border-radius:50%;
  background:rgba(105,72,232,.045);
}
.audit26-ledger-card:hover{
  transform:translateY(-2px);
  border-color:#d3d9e8;
  box-shadow:0 11px 28px rgba(28,42,79,.075);
}
.audit26-ledger-card.compact{
  min-height:142px;
}
.audit26-ledger-card.blue{background:linear-gradient(145deg,#fff,#f6f9ff)}
.audit26-ledger-card.violet,.audit26-ledger-card.purple{background:linear-gradient(145deg,#fff,#faf7ff)}
.audit26-ledger-card.amber{background:linear-gradient(145deg,#fff,#fffaf0)}
.audit26-ledger-card.teal,.audit26-ledger-card.green{background:linear-gradient(145deg,#fff,#f4fffb)}
.audit26-ledger-card.red{background:linear-gradient(145deg,#fff,#fff7f8)}
.audit26-ledger-card.slate{background:linear-gradient(145deg,#fff,#f8f9fb)}
.audit26-ledger-card.indigo{background:linear-gradient(145deg,#fff,#f6f7ff)}
.audit26-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.audit26-card-top>span{
  display:grid;
  place-items:center;
  width:28px;height:28px;
  border-radius:9px;
  background:#eef0ff;
  color:#5e55dc;
  font-size:11px;
  font-weight:900;
}
.audit26-ledger-card h3{
  position:relative;
  z-index:1;
  margin:11px 0 7px;
  color:#28364f;
  font-size:16px;
  line-height:1.35;
}
.audit26-ledger-card>strong{
  position:relative;
  z-index:1;
  display:block;
  color:#17243e;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.audit26-ledger-card>p{
  position:relative;
  z-index:1;
  min-height:36px;
  margin:5px 0 20px;
  color:#748198;
  font-size:12.5px;
  line-height:1.5;
}
.audit26-ledger-card>i{
  position:absolute;
  z-index:2;
  left:14px;
  bottom:12px;
  color:#6548df;
  font-size:11.5px;
  font-style:normal;
  font-weight:850;
}

/* Findings lane */
.audit26-finding-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.audit26-finding{
  display:grid;
  grid-template-columns:29px minmax(0,1fr) auto 16px;
  gap:9px;
  align-items:center;
  min-width:0;
  min-height:80px;
  padding:11px 12px;
  border:1px solid #e6e9f0;
  border-radius:13px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.audit26-finding:hover{
  border-color:#d9d1fb;
  background:#fbf9ff;
}
.audit26-finding>span{
  display:grid;
  place-items:center;
  width:27px;height:27px;
  border-radius:8px;
  background:#fff0f1;
  color:#d64b55;
  font-size:11px;
  font-weight:900;
}
.audit26-finding b{
  display:block;
  color:#30405a;
  font-size:13.5px;
}
.audit26-finding small{
  display:block;
  margin-top:2px;
  color:#8994a6;
  font-size:11.5px;
}
.audit26-finding strong{
  color:#34425b;
  font-size:12.5px;
  white-space:nowrap;
}
.audit26-finding>i{
  color:#939cab;
  font-size:15px;
  font-style:normal;
}

/* Automated audit-trail spine */
.audit26-spine{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto 20px;
  gap:14px;
  align-items:center;
  width:100%;
  padding:15px 17px;
  border:1px solid #d7d0fa;
  border-radius:16px;
  background:
    linear-gradient(90deg,rgba(104,72,232,.07),rgba(78,120,232,.035),rgba(24,174,143,.045)),
    #fff;
  text-align:left;
  cursor:pointer;
  box-shadow:0 7px 24px rgba(70,55,150,.055);
}
.audit26-spine:hover{
  border-color:#c7bbfb;
  box-shadow:0 11px 28px rgba(70,55,150,.09);
}
.audit26-spine-icon{
  display:grid;
  place-items:center;
  width:44px;height:44px;
  border-radius:13px;
  background:linear-gradient(135deg,#6b58ec,#4f83e9);
  color:#fff;
  font-size:20px;
}
.audit26-spine>div:nth-child(2)>span{
  color:#6848e8;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.1em;
}
.audit26-spine h3{
  margin:3px 0 2px;
  color:#24324c;
  font-size:16px;
}
.audit26-spine p{
  margin:0;
  max-width:900px;
  color:#6e7c92;
  font-size:12px;
  line-height:1.5;
}
.audit26-spine-kpis{
  display:grid;
  grid-template-columns:repeat(2,auto);
  gap:7px;
}
.audit26-spine-kpis span{
  min-width:90px;
  padding:7px 9px;
  border:1px solid rgba(104,72,232,.13);
  border-radius:9px;
  background:rgba(255,255,255,.72);
  color:#7a879a;
  font-size:10.5px;
  text-align:center;
}
.audit26-spine-kpis b{
  display:block;
  color:#27354f;
  font-size:14px;
}
.audit26-spine>i{
  color:#674add;
  font-size:17px;
  font-style:normal;
}

/* Resolution path */
.audit26-resolution{
  margin-top:10px;
  padding:13px;
  border:1px solid #e4e8f0;
  border-radius:15px;
  background:#fbfcfe;
}
.audit26-resolution>div:nth-child(2){
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}
.audit26-resolution button{
  position:relative;
  min-width:0;
  min-height:95px;
  padding:10px;
  border:1px solid #e5e9f1;
  border-radius:11px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.audit26-resolution button:after{
  content:"→";
  position:absolute;
  right:-9px;
  top:37px;
  z-index:2;
  color:#a4acba;
  font-size:14px;
}
.audit26-resolution button:last-child:after{display:none}
.audit26-resolution button>span{
  display:grid;
  place-items:center;
  width:23px;height:23px;
  border-radius:7px;
  background:#eeeaff;
  color:#6548dd;
  font-size:10px;
  font-weight:900;
}
.audit26-resolution button>b{
  display:block;
  margin-top:6px;
  color:#32405a;
  font-size:12.5px;
}
.audit26-resolution button>small{
  display:block;
  margin-top:3px;
  color:#8490a3;
  font-size:10.5px;
  line-height:1.4;
}
.audit26-resolution>p{
  margin:8px 0 0;
  color:#8b96a7;
  font-size:11px;
}
.audit26-integrity{
  padding:11px 18px;
  border-top:1px solid #e8ebf2;
  background:#fffaf0;
  color:#776748;
  font-size:12px;
  line-height:1.55;
}
.audit26-integrity b{color:#6e5a32}

/* Exact selected audit object in the unified drawer */
.audit26-object-hero{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) minmax(180px,.35fr);
  gap:14px;
  align-items:center;
  margin-bottom:12px;
  padding:15px;
  border:1px solid #e2e7ef;
  border-radius:14px;
  background:#fff;
}
.audit26-object-icon{
  display:grid;
  place-items:center;
  width:46px;height:46px;
  border-radius:13px;
  background:#eeeaff;
  color:#6548df;
  font-size:14px;
  font-weight:900;
}
.audit26-object-hero>div:nth-child(2)>span{
  color:#6848e8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit26-object-hero h3{
  margin:4px 0 3px;
  color:#24324c;
  font-size:19px;
}
.audit26-object-hero p{
  margin:0;
  color:#68778f;
  font-size:13px;
  line-height:1.55;
}
.audit26-object-value{
  padding-left:14px;
  border-left:1px solid #e6eaf1;
}
.audit26-object-value>b{
  display:block;
  margin-top:8px;
  color:#17243e;
  font-size:20px;
  line-height:1.25;
}
.audit26-object-value>small{
  display:block;
  margin-top:3px;
  color:#8490a3;
  font-size:11.5px;
  line-height:1.45;
}
.audit26-proxy-note{
  margin-bottom:12px;
  padding:11px 13px;
  border:1px solid #e4e8ef;
  border-left-width:3px;
  border-radius:10px;
  background:#fff;
}
.audit26-proxy-note b{
  display:block;
  color:#31405a;
  font-size:13.5px;
}
.audit26-proxy-note p{
  margin:3px 0 0;
  color:#68778f;
  font-size:12.5px;
  line-height:1.55;
}
.audit26-proxy-note.gap{border-left-color:#dfa03b;background:#fffaf0}
.audit26-proxy-note.derived{border-left-color:#7053df;background:#faf8ff}
.audit26-proxy-note.direct{border-left-color:#18a681;background:#f7fffb}

.audit26-object-story{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-bottom:12px;
}
.audit26-object-story article{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  padding:12px;
  border:1px solid #e4e8f0;
  border-radius:11px;
  background:#fff;
}
.audit26-object-story article>span{
  display:grid;
  place-items:center;
  width:26px;height:26px;
  border-radius:7px;
  background:#eeeaff;
  color:#6246dc;
  font-size:12px;
  font-weight:900;
}
.audit26-object-story b{
  display:block;
  color:#2b3952;
  font-size:13.5px;
}
.audit26-object-story p{
  margin:3px 0 0;
  color:#6c7a91;
  font-size:12.5px;
  line-height:1.55;
}
.audit26-record-label{
  margin-bottom:8px;
  padding:9px 11px;
  border:1px solid #ece2c7;
  border-radius:9px;
  background:#fffaf0;
}
.audit26-record-label b{
  font-size:13px;
  color:#69572e;
}
.audit26-record-label p{
  margin:2px 0 0;
  color:#7e704e;
  font-size:11.5px;
  line-height:1.5;
}
.audit26-related{
  padding:14px;
  border:1px solid #e3e7ef;
  border-radius:13px;
  background:#fff;
}
.audit26-related>span{
  color:#6848e8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit26-related h3{
  margin:4px 0 10px;
  font-size:16px;
}
.audit26-related>div{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.audit26-related .audit26-ledger-card{
  min-height:150px;
}

/* Prevent the V2 research header styles from creating spacing around the new canvas. */
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V3"] .audit25-analytics{
  margin-top:0;
}

@media(max-width:1320px){
  .audit26-source-row{grid-template-columns:1fr}
  .audit26-ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit26-finding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit26-resolution>div:nth-child(2){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .audit26-canvas-head{display:block}
  .audit26-canvas-legend{justify-content:flex-start;margin-top:10px}
  .audit26-source-summary>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit26-spine{grid-template-columns:46px 1fr}
  .audit26-spine-kpis{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}
  .audit26-spine>i{display:none}
  .audit26-object-hero{grid-template-columns:48px 1fr}
  .audit26-object-value{grid-column:1/-1;padding:10px 0 0;border-left:0;border-top:1px solid #e6eaf1}
  .audit26-object-story,.audit26-related>div{grid-template-columns:1fr}
}
@media(max-width:680px){
  .audit26-ledger-grid,.audit26-final-grid,.audit26-finding-grid,.audit26-source-summary>div:last-child{grid-template-columns:1fr}
  .audit26-resolution>div:nth-child(2){grid-template-columns:1fr}
  .audit26-resolution button:after{display:none}
  .audit26-spine-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================================
   Audit Trail Premium Investigation V4 — Visual Ledger Audit Journey
   Visible node-link card canvas + focused node-link drawing in the drawer.
   ============================================================================ */

.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V4"] .audit26-canvas{
  display:none!important;
}

.audit27-canvas{
  margin:0 0 14px;
  border:1px solid #e1e6ef;
  border-radius:20px;
  background:
    radial-gradient(circle at 4% 8%,rgba(89,126,231,.055),transparent 26%),
    radial-gradient(circle at 94% 88%,rgba(104,72,232,.055),transparent 28%),
    #fff;
  box-shadow:0 9px 30px rgba(28,40,74,.055);
  overflow:hidden;
}
.audit27-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:22px;
  padding:18px 20px 15px;
  border-bottom:1px solid #e8ebf2;
}
.audit27-head>div:first-child>span{
  color:#6848e8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
}
.audit27-head h2{
  margin:4px 0 4px;
  color:#182640;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.025em;
}
.audit27-head p{
  max-width:980px;
  margin:0;
  color:#6f7d93;
  font-size:14px;
  line-height:1.6;
}
.audit27-legend{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  min-width:260px;
}
.audit27-legend span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:0 9px;
  border:1px solid #e1e6ee;
  border-radius:999px;
  background:#f8f9fc;
  color:#68768d;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.audit27-legend .direct{border-color:#bce9da;background:#eefbf6;color:#177f63}
.audit27-legend .derived{border-color:#d8d1fa;background:#f3f0ff;color:#6547d8}
.audit27-legend .gap{border-color:#f2d6a6;background:#fff8e9;color:#9a6a17}

.audit27-stage-scroll{
  overflow-x:auto;
  overflow-y:hidden;
  padding:12px 14px 4px;
  scrollbar-width:thin;
}
.audit27-stage{
  position:relative;
  width:1305px;
  height:430px;
  margin:0 auto;
  border:1px solid #edf0f5;
  border-radius:16px;
  background:
    linear-gradient(90deg,
      rgba(77,115,232,.035) 0%,rgba(77,115,232,.035) 19.8%,
      rgba(104,72,232,.028) 19.8%,rgba(104,72,232,.028) 39.6%,
      rgba(21,173,145,.028) 39.6%,rgba(21,173,145,.028) 59.4%,
      rgba(233,94,104,.026) 59.4%,rgba(233,94,104,.026) 79.2%,
      rgba(229,160,56,.026) 79.2%,rgba(229,160,56,.026) 100%);
  overflow:hidden;
}
.audit27-lanes{
  position:absolute;
  z-index:3;
  left:20px;right:20px;top:12px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  pointer-events:none;
}
.audit27-lanes span{
  color:#7e8b9f;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.08em;
  text-align:center;
}
.audit27-links{
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:430px;
  pointer-events:none;
}
.audit27-node{
  position:absolute;
  z-index:2;
  display:block;
  padding:11px 12px;
  border:1px solid #dfe5ee;
  border-radius:14px;
  background:#fff;
  color:#26344d;
  text-align:left;
  cursor:pointer;
  box-shadow:0 7px 18px rgba(26,39,74,.055);
  transition:.16s ease;
  overflow:hidden;
}
.audit27-node:hover{
  z-index:5;
  transform:translateY(-3px);
  border-color:#cfc7f5;
  box-shadow:0 14px 28px rgba(34,43,79,.12);
}
.audit27-node.blue{background:linear-gradient(145deg,#fff,#f4f8ff)}
.audit27-node.violet,.audit27-node.purple{background:linear-gradient(145deg,#fff,#faf7ff)}
.audit27-node.amber{background:linear-gradient(145deg,#fff,#fff9ed)}
.audit27-node.teal,.audit27-node.green{background:linear-gradient(145deg,#fff,#f4fffb)}
.audit27-node.red{background:linear-gradient(145deg,#fff,#fff6f7)}
.audit27-node.slate{background:linear-gradient(145deg,#fff,#f8f9fb)}
.audit27-node.indigo{background:linear-gradient(145deg,#fff,#f6f7ff)}
.audit27-node>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.audit27-node>div:first-child>span{
  display:grid;
  place-items:center;
  width:25px;height:25px;
  border-radius:8px;
  background:#eeeaff;
  color:#6548df;
  font-size:10px;
  font-weight:900;
}
.audit27-node .audit26-status{
  min-height:21px;
  max-width:130px;
  padding:0 6px;
  overflow:hidden;
  font-size:9px;
  text-overflow:ellipsis;
}
.audit27-node h3{
  margin:7px 0 3px;
  color:#293750;
  font-size:14px;
  line-height:1.25;
}
.audit27-node>b{
  display:block;
  overflow:hidden;
  color:#17243e;
  font-size:16px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.audit27-node>small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  color:#7f8c9f;
  font-size:10.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.audit27-node>i{
  position:absolute;
  left:12px;
  bottom:8px;
  color:#6246dc;
  font-size:10.5px;
  font-style:normal;
  font-weight:850;
}
.audit27-spine-label{
  position:absolute;
  z-index:2;
  left:180px;right:180px;bottom:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-height:35px;
  padding:6px 12px;
  border:1px solid #d8d0fa;
  border-radius:11px;
  background:linear-gradient(90deg,#f3efff,#f3f7ff,#effbf7);
  color:#596881;
  text-align:center;
}
.audit27-spine-label span{
  color:#6044d8;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.audit27-spine-label b{
  font-size:10.5px;
  font-weight:650;
}

.audit27-path-legend{
  display:flex;
  flex-wrap:wrap;
  gap:8px 15px;
  padding:8px 20px 11px;
  border-bottom:1px solid #edf0f5;
  color:#708096;
  font-size:11px;
}
.audit27-path-legend span:before{
  content:"";
  display:inline-block;
  width:15px;height:2px;
  margin:0 6px 3px 0;
  background:#8b95a6;
}
.audit27-path-legend .evidence:before{background:#5a82e7}
.audit27-path-legend .posting:before{background:#7c61e7}
.audit27-path-legend .verification:before{background:#22ad91}
.audit27-path-legend .risk:before{background:#e75e68}
.audit27-path-legend .governance:before{background:#e39a37}
.audit27-path-legend .lineage:before{background:#6f54df}

.audit27-storyboard{
  padding:13px 18px 15px;
  background:#fbfcfe;
}
.audit27-story-head span{
  display:block;
  color:#6848e8;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit27-story-head b{
  display:block;
  margin-top:2px;
  color:#2b3952;
  font-size:14px;
}
.audit27-storyboard>div:last-child{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}
.audit27-storyboard button{
  position:relative;
  display:grid;
  grid-template-columns:25px 1fr;
  gap:7px;
  min-width:0;
  min-height:82px;
  padding:9px;
  border:1px solid #e4e8ef;
  border-radius:10px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.audit27-storyboard button:hover{border-color:#d8cffb;background:#faf8ff}
.audit27-storyboard button>span{
  display:grid;
  place-items:center;
  width:24px;height:24px;
  border-radius:7px;
  background:#eeeaff;
  color:#6548df;
  font-size:10px;
  font-weight:900;
}
.audit27-storyboard button b{
  display:block;
  color:#33415b;
  font-size:11.5px;
}
.audit27-storyboard button small{
  display:block;
  margin-top:2px;
  color:#8490a3;
  font-size:9.8px;
  line-height:1.35;
}
.audit27-storyboard button>i{
  position:absolute;
  right:-8px;
  top:33px;
  z-index:2;
  color:#a0a9b8;
  font-size:13px;
  font-style:normal;
}
.audit27-storyboard button:last-child>i{display:none}
.audit27-canvas>footer{
  padding:10px 18px 11px;
  border-top:1px solid #eceff5;
  background:#fffaf0;
  color:#77684a;
  font-size:12px;
  line-height:1.55;
}
.audit27-canvas>footer b{color:#69562f}

/* Focused node-link drawing inside the analytical drawer */
.audit27-focus{
  margin-bottom:12px;
  padding:13px 14px 11px;
  border:1px solid #e2e7ef;
  border-radius:14px;
  background:linear-gradient(145deg,#fff,#fafaff);
}
.audit27-focus>header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:4px;
}
.audit27-focus>header span{
  color:#6848e8;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
}
.audit27-focus>header h3{
  margin:4px 0 2px;
  color:#24324c;
  font-size:18px;
}
.audit27-focus>header p{
  margin:0;
  color:#748198;
  font-size:12.5px;
  line-height:1.5;
}
.audit27-focus>header strong{
  flex:none;
  padding:5px 8px;
  border:1px solid #ddd7fb;
  border-radius:999px;
  background:#f3f0ff;
  color:#6045d7;
  font-size:10.5px;
}
.audit27-focus>svg{
  display:block;
  width:100%;
  min-height:250px;
  max-height:390px;
}
.audit27-focus-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:5px;
}
.audit27-focus-links button{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 15px;
  gap:7px;
  align-items:center;
  min-width:0;
  padding:8px 9px;
  border:1px solid #e7eaf1;
  border-radius:9px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}
.audit27-focus-links button:hover{background:#faf8ff;border-color:#d9d1fb}
.audit27-focus-links button span{
  padding:3px 5px;
  border-radius:6px;
  background:#f1f3f8;
  color:#68778e;
  font-size:8.5px;
  font-weight:800;
  white-space:nowrap;
}
.audit27-focus-links button span.evidence{background:#eef4ff;color:#456ac1}
.audit27-focus-links button span.posting,.audit27-focus-links button span.lineage{background:#f1edff;color:#684bd8}
.audit27-focus-links button span.verification,.audit27-focus-links button span.reconciliation{background:#ecfaf5;color:#18836a}
.audit27-focus-links button span.risk{background:#fff0f1;color:#c7444e}
.audit27-focus-links button span.governance{background:#fff6e8;color:#a66c17}
.audit27-focus-links button b{
  overflow:hidden;
  color:#35435c;
  font-size:12.5px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.audit27-focus-links button i{
  color:#929bab;
  font-style:normal;
}

/* Reuse the accepted readable typography in the V4 canvas. */
@media(max-width:1080px){
  .audit27-head{display:block}
  .audit27-legend{justify-content:flex-start;margin-top:10px}
  .audit27-storyboard>div:last-child{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  .audit27-head h2{font-size:19px}
  .audit27-storyboard>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit27-focus-links{grid-template-columns:1fr}
}


/* ============================================================================
   Audit Trail Premium V5 — Spec-style premium Ledger Audit Research Canvas
   ============================================================================ */
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V5"] .audit27-canvas{display:none!important}

.audit28-canvas{margin:0 0 14px;border:1px solid #e2e7ef;border-radius:20px;background:#fff;box-shadow:0 10px 32px rgba(28,40,74,.055);overflow:hidden}
.audit28-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:17px 20px 14px;border-bottom:1px solid #e8ebf2}
.audit28-head>div:first-child>span{color:#6848e8;font-size:12px;font-weight:900;letter-spacing:.1em}
.audit28-head h2{margin:4px 0 3px;color:#182640;font-size:22px;line-height:1.22;letter-spacing:-.025em}
.audit28-head p{margin:0;max-width:900px;color:#6f7d93;font-size:14px;line-height:1.55}
.audit28-head-status{display:grid;justify-items:end;gap:6px;color:#7b879b;font-size:11px;font-weight:750}
.audit28-head-status .active{padding:6px 9px;border:1px solid #c6ebdc;border-radius:999px;background:#effaf5;color:#14805e;font-size:11.5px}

.audit28-stage-scroll{overflow-x:auto;padding:10px 12px 4px;scrollbar-width:thin}
.audit28-stage{position:relative;display:grid;grid-template-columns:238px 680px 330px;gap:28px;width:1304px;min-height:650px;margin:0 auto;padding:18px 15px 16px;border:1px solid #edf0f5;border-radius:17px;background:radial-gradient(circle at 10% 20%,rgba(76,120,232,.04),transparent 30%),radial-gradient(circle at 64% 45%,rgba(108,77,228,.035),transparent 36%),radial-gradient(circle at 92% 62%,rgba(24,174,142,.035),transparent 30%),#fff;overflow:hidden}
.audit28-links{position:absolute;z-index:1;inset:0;width:100%;height:100%;pointer-events:none}
.audit28-sources,.audit28-findings-wrap,.audit28-preview{position:relative;z-index:2;min-width:0}
.audit28-sources>h3,.audit28-findings-wrap>h3{margin:0 0 9px;color:#3c5482;font-size:12px;letter-spacing:.06em}

.audit28-source{position:relative;display:grid;grid-template-columns:38px 1fr;gap:9px;width:100%;min-height:96px;margin-bottom:10px;padding:11px 11px 8px;border:1.5px solid #dbe5f8;border-radius:14px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 5px 14px rgba(35,53,91,.045);transition:.15s ease}
.audit28-source:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(35,53,91,.1)}
.audit28-source.blue{border-color:#b8cff9}.audit28-source.green{border-color:#bfe9d7}.audit28-source.violet{border-color:#d6c9fa}.audit28-source.orange{border-color:#f2d7b6}
.audit28-source-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#eef4ff;color:#4a72da;font-size:17px;font-weight:900}
.audit28-source.green .audit28-source-icon{background:#ecfaf5;color:#198462}.audit28-source.violet .audit28-source-icon{background:#f2edff;color:#6c4dd6}.audit28-source.orange .audit28-source-icon{background:#fff4e7;color:#c47b1f}
.audit28-source-copy b{display:block;color:#2e3d56;font-size:13.5px}.audit28-source-copy span{display:block;margin-top:2px;color:#34425b;font-size:12px;font-weight:750}.audit28-source-copy small{display:block;color:#8490a3;font-size:10.5px}
.audit28-spark{grid-column:1/-1;width:100%;height:24px;margin-top:1px}.audit28-source>i,.audit28-source>em{position:absolute;bottom:5px;color:#99a2b1;font-size:8.5px;font-style:normal}.audit28-source>i{left:11px}.audit28-source>em{right:11px}

.audit28-manual{width:100%;min-height:122px;padding:11px;border:1.5px solid #d5cafa;border-radius:14px;background:linear-gradient(145deg,#fff,#faf7ff);text-align:left;cursor:pointer}
.audit28-manual header{display:flex;align-items:center;gap:8px}.audit28-manual header>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eee8ff;color:#6547d8;font-size:11px;font-weight:900}.audit28-manual header>div{min-width:0;flex:1}.audit28-manual header b{display:block;color:#30405a;font-size:13.5px}.audit28-manual header small{display:block;color:#8994a6;font-size:10.5px}.audit28-manual .audit26-status{max-width:92px;overflow:hidden;text-overflow:ellipsis}
.audit28-manual>strong{display:block;margin-top:8px;color:#26344e;font-size:15px}.audit28-manual>p{margin:2px 0;color:#7d899d;font-size:10.5px}.audit28-manual footer{display:flex;justify-content:space-between;gap:8px;color:#8c96a7;font-size:9.5px}.audit28-manual footer i{color:#6447da;font-style:normal;font-weight:850}

.audit28-findings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.audit28-finding{min-width:0;min-height:166px;padding:11px 12px;border:1.5px solid #e5e8ef;border-radius:15px;background:#fff;text-align:left;cursor:pointer;box-shadow:0 5px 14px rgba(35,53,91,.035);overflow:hidden;transition:.15s ease}
.audit28-finding:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(35,53,91,.09)}
.audit28-finding.red{border-color:#f2c4c8}.audit28-finding.orange,.audit28-finding.amber{border-color:#f2d3ad}.audit28-finding.violet{border-color:#d6c8fa}.audit28-finding.blue{border-color:#bed1f8}.audit28-finding.green{border-color:#bee7d6}
.audit28-finding>header{display:flex;gap:8px;align-items:flex-start}.audit28-finding>header>span{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#fff0f1;color:#d94c57;font-size:11px;font-weight:900}
.audit28-finding.orange>header>span,.audit28-finding.amber>header>span{background:#fff4e8;color:#c97c20}.audit28-finding.violet>header>span{background:#f1ebff;color:#704fd9}.audit28-finding.blue>header>span{background:#edf4ff;color:#4c72da}.audit28-finding.green>header>span{background:#ebfaf4;color:#18805f}
.audit28-finding>header b{display:block;color:#2c3a54;font-size:13.5px;line-height:1.3}.audit28-finding>header small{display:block;margin-top:2px;color:#758298;font-size:10.5px}.audit28-finding .audit28-spark{height:48px;margin:10px 0 3px}
.audit28-finding>footer{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:7px;border-top:1px solid #eef1f5}.audit28-finding>footer span{color:#7f8b9d;font-size:9.5px}.audit28-finding>footer i{margin-left:auto;color:#6548df;font-size:10px;font-style:normal;font-weight:850}
.audit28-mini-matrix{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;height:54px;margin:12px 4px 5px}.audit28-mini-matrix i{border-radius:2px}
.audit28-ring{position:relative;width:58px;height:58px;margin:9px auto 10px;border-radius:50%;background:conic-gradient(var(--ring) calc(var(--pct)*1%),#e9eef3 0);display:grid;place-items:center}.audit28-ring:after{content:"";position:absolute;width:42px;height:42px;border-radius:50%;background:#fff}.audit28-ring b,.audit28-ring span{position:relative;z-index:1}.audit28-ring b{font-size:12px}.audit28-ring span{position:absolute;top:62px;width:90px;text-align:center;font-size:8.5px;color:#8691a4}
.audit28-mini-list{margin:10px 0 6px;border:1px solid #edf0f4;border-radius:7px;overflow:hidden}.audit28-mini-list span{display:flex;justify-content:space-between;padding:5px 7px;border-top:1px solid #edf0f4;font-size:9.5px}.audit28-mini-list span:first-child{border-top:0}.audit28-mini-list b{color:#5b687d}.audit28-mini-list i{font-style:normal;color:#7958e7;font-weight:800}

.audit28-control-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.audit28-control{min-height:112px;padding:10px 11px;border:1.5px solid #e4e8ef;border-radius:13px;background:#fff;text-align:left;cursor:pointer}.audit28-control.amber{background:#fffaf1;border-color:#f0d8ae}.audit28-control.teal{background:#f5fffb;border-color:#bfe8d9}.audit28-control.red{background:#fff7f8;border-color:#f0c9cc}
.audit28-control>span{color:#7c899d;font-size:9px;font-weight:900;letter-spacing:.08em}.audit28-control h3{margin:3px 0;color:#2d3b55;font-size:12.5px}.audit28-control>b{display:block;color:#1f2e48;font-size:15px}.audit28-control>p{margin:2px 0 7px;color:#7d899c;font-size:10px}.audit28-control>footer{display:flex;justify-content:space-between;align-items:center}.audit28-control>footer i{color:#6246d8;font-size:9.5px;font-style:normal;font-weight:850}
.audit28-trail{display:grid;grid-template-columns:34px 1fr auto auto;gap:9px;align-items:center;width:100%;min-height:54px;margin-top:10px;padding:9px 11px;border:1px solid #d9d0fa;border-radius:12px;background:linear-gradient(90deg,#f4efff,#f5f8ff,#effbf7);text-align:left;cursor:pointer}.audit28-trail>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:linear-gradient(135deg,#6b56e8,#4d82e8);color:#fff}.audit28-trail b{display:block;color:#2d3b55;font-size:12px}.audit28-trail small{display:block;color:#7b8799;font-size:9.5px}.audit28-trail strong{color:#26344e;font-size:11px}.audit28-trail i{color:#6548df;font-size:10px;font-style:normal;font-weight:850}

.audit28-preview{align-self:start;margin-top:25px;padding:15px;border:1px solid #e1e6ee;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 9px 28px rgba(28,40,74,.07)}
.audit28-preview header>span{color:#6848e8;font-size:10.5px;font-weight:900;letter-spacing:.09em}.audit28-preview header h3{margin:3px 0;color:#2b3952;font-size:16px}.audit28-preview header p{margin:0;color:#7a879a;font-size:11.5px;line-height:1.5}
.audit28-preview-kpis{margin-top:11px;border-top:1px solid #edf0f5}.audit28-preview-kpis article{display:grid;grid-template-columns:1fr auto;gap:4px;padding:10px 2px;border-bottom:1px solid #edf0f5}.audit28-preview-kpis span{color:#65748a;font-size:11.5px}.audit28-preview-kpis b{color:#26344e;font-size:14px}.audit28-preview-kpis i{grid-column:2;color:#7c899b;font-size:9.5px;font-style:normal}.audit28-preview-kpis i.risk{color:#c74b54}
.audit28-preview>section{padding:10px 0}.audit28-preview>section h4{margin:0 0 7px;color:#34425b;font-size:12px}.audit28-preview>section p{display:grid;grid-template-columns:21px 1fr;gap:7px;margin:7px 0;color:#68778e;font-size:10.5px;line-height:1.45}.audit28-preview>section p>i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eaf8f3;color:#16805f;font-size:9px;font-style:normal;font-weight:900}
.audit28-preview>button{width:100%;min-height:36px;border:1px solid #ddd5fb;border-radius:9px;background:#fff;color:#6044d8;font-size:11.5px;font-weight:850;cursor:pointer}

.audit28-path-legend{display:flex;flex-wrap:wrap;gap:9px 16px;padding:8px 18px;border-top:1px solid #edf0f5;color:#718096;font-size:10.5px}.audit28-path-legend span:before{content:"";display:inline-block;width:14px;height:2px;margin:0 5px 3px 0;background:#8090a4}.audit28-path-legend .blue:before{background:#5681e7}.audit28-path-legend .purple:before{background:#7958e7}.audit28-path-legend .green:before{background:#28ad84}.audit28-path-legend .red:before{background:#e65d68}.audit28-path-legend .orange:before{background:#e89837}
.audit28-storyboard{padding:12px 15px 14px;border-top:1px solid #edf0f5;background:#fbfcfe}.audit28-storyboard header span{display:block;color:#6848e8;font-size:10.5px;font-weight:900;letter-spacing:.08em}.audit28-storyboard header b{display:block;margin-top:2px;color:#33415a;font-size:13.5px}
.audit28-storyboard>div{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:9px}.audit28-storyboard button{position:relative;display:grid;grid-template-columns:24px 1fr;gap:6px;min-width:0;min-height:78px;padding:8px;border:1px solid #e5e9f0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.audit28-storyboard button>span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#edf2ff;color:#4f72d2;font-size:9.5px;font-weight:900}.audit28-storyboard button b{display:block;color:#3a4860;font-size:10.5px}.audit28-storyboard button small{display:block;margin-top:2px;color:#8792a4;font-size:8.8px;line-height:1.3}.audit28-storyboard button>i{position:absolute;right:-7px;top:31px;color:#9ca5b4;font-style:normal}
.audit28-canvas>footer{padding:9px 18px 10px;border-top:1px solid #eceff4;background:#fffaf0;color:#746649;font-size:11.5px;line-height:1.5}

.audit28-focus{margin-bottom:12px;padding:13px 14px;border:1px solid #e2e7ef;border-radius:14px;background:linear-gradient(145deg,#fff,#fafaff)}
.audit28-focus>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.audit28-focus>header span{color:#6848e8;font-size:11px;font-weight:900;letter-spacing:.09em}.audit28-focus>header h3{margin:3px 0 2px;color:#26344e;font-size:18px}.audit28-focus>header p{margin:0;color:#758298;font-size:12px}.audit28-focus>header strong{flex:none;padding:5px 8px;border:1px solid #ddd6fb;border-radius:999px;background:#f2efff;color:#6044d8;font-size:10.5px}
.audit28-focus-map{display:grid;grid-template-columns:1fr 34px 1.2fr 34px 1fr;gap:8px;align-items:center;margin-top:12px}.audit28-focus-col{display:grid;gap:7px}.audit28-focus-col article{padding:9px;border:1px solid #e7eaf1;border-radius:9px;background:#fff}.audit28-focus-col article>span{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#edf2ff;color:#526fd0;font-size:9px;font-weight:900}.audit28-focus-col b{display:block;margin-top:4px;color:#35435c;font-size:11.5px}.audit28-focus-col small{display:block;color:#8994a6;font-size:9px}.audit28-focus-arrows{color:#8c96a7;font-size:20px;line-height:2.1;text-align:center}.audit28-focus-main{padding:16px;border:2px solid #7960e6;border-radius:13px;background:#f4f0ff;text-align:center}.audit28-focus-main>span{color:#6b4edd;font-size:9.5px;font-weight:900;letter-spacing:.08em}.audit28-focus-main h4{margin:5px 0 7px;color:#28364f;font-size:15px}.audit28-focus-main b{display:block;color:#192641;font-size:17px}.audit28-focus-main small{display:block;margin-top:3px;color:#768398;font-size:10.5px}

@media(max-width:1100px){
 .audit28-head{display:block}.audit28-head-status{justify-items:start;margin-top:9px}.audit28-storyboard>div{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
 .audit28-head h2{font-size:19px}.audit28-focus-map{grid-template-columns:1fr}.audit28-focus-arrows{transform:rotate(90deg);line-height:1}.audit28-storyboard>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ========================================================================== 
   AUDIT INTELLIGENCE ENGINE — PREMIUM V6
   Matching & Fraud visual/interaction language; Audit-specific semantics.
   ========================================================================== */
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit28-canvas,
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit27-canvas,
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit26-canvas{display:none!important}
.audit29-engine{margin:0 0 14px;border:1px solid #e1e6ef;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(25,38,72,.06);overflow:hidden}
.audit29-engine-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:17px 18px 14px;border-bottom:1px solid #e8ecf2;background:linear-gradient(180deg,#fff,#fbfcff)}
.audit29-engine-head>div:first-child>span{display:block;color:#6848e8;font-size:10px;font-weight:900;letter-spacing:.11em}
.audit29-engine-head h2{margin:4px 0 3px;color:#1d2b46;font-size:21px;line-height:1.2;letter-spacing:-.02em}
.audit29-engine-head p{max-width:900px;margin:0;color:#6e7c92;font-size:11.5px;line-height:1.55}
.audit29-engine-tools{display:flex;align-items:center;gap:6px;flex:none}
.audit29-engine-tools button,.audit29-engine-tools span{min-height:32px;border:1px solid #e0e5ee;border-radius:8px;background:#fff;color:#58677e;font-size:10px;font-weight:760}
.audit29-engine-tools button{padding:0 10px;cursor:pointer}.audit29-engine-tools span{display:grid;place-items:center;min-width:48px;padding:0 8px;background:#f8f9fc}
.audit29-engine-tools .scenario{border-color:#ddd6fb;color:#6047d6}.audit29-engine-tools .scenario.active{background:#efeaff;border-color:#cfc2fb;color:#5138cb}
.audit29-scenario{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 16px;border-bottom:1px solid #e5ddff;background:linear-gradient(90deg,#f8f5ff,#fbfcff)}
.audit29-scenario span{display:block;color:#6d50dc;font-size:8.5px;font-weight:900;letter-spacing:.1em}.audit29-scenario b{display:block;margin-top:2px;color:#2c3952;font-size:12px}.audit29-scenario p{max-width:820px;margin:3px 0 0;color:#718096;font-size:9.5px;line-height:1.45}
.audit29-scenario>div:last-child{display:flex;gap:6px;flex:none}.audit29-scenario button{min-height:31px;padding:0 10px;border:1px solid #ddd6fb;border-radius:8px;background:#fff;color:#6047d6;font-size:9px;font-weight:800;cursor:pointer}
.audit29-workspace{display:grid;grid-template-columns:224px minmax(560px,1fr) 246px;gap:11px;padding:12px;background:#f7f9fc}
.audit29-ai-rail,.audit29-actions,.audit29-map{min-width:0;border:1px solid #e2e7ef;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(28,40,74,.035)}
.audit29-ai-rail{padding:12px}.audit29-rail-head{padding-bottom:10px;border-bottom:1px solid #edf0f5}.audit29-rail-head span,.audit29-actions>header span,.audit29-map-head>div>span,.audit29-evidence-strip>header span,.audit29-timeline>header span{display:block;color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.1em}.audit29-rail-head b{display:block;margin-top:3px;color:#24324c;font-size:13px}.audit29-rail-head p{margin:3px 0 0;color:#7b879a;font-size:9.2px;line-height:1.45}
.audit29-ai-score{padding:11px 0;border-bottom:1px solid #edf0f5}.audit29-ai-score>span{display:block;color:#6d7b90;font-size:8.5px}.audit29-ai-score strong{display:block;margin-top:2px;color:#1f2e48;font-size:22px;letter-spacing:-.03em}.audit29-ai-score>i{display:block;height:5px;margin:6px 0;border-radius:99px;background:#edf0f5;overflow:hidden}.audit29-ai-score>i>b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#5c78e7,#6d50df)}.audit29-ai-score small{color:#8792a4;font-size:7.8px}
.audit29-ai-rail>section{padding:9px 0;border-bottom:1px solid #edf0f5}.audit29-ai-rail>section>span{display:block;color:#8a95a7;font-size:7px;font-weight:900;letter-spacing:.08em}.audit29-ai-rail>section>b{display:block;margin-top:3px;color:#31405a;font-size:10px;line-height:1.35}.audit29-ai-rail>section p{margin:3px 0 0;color:#78869a;font-size:8.3px;line-height:1.45}.audit29-ai-rail>button{width:100%;min-height:32px;margin-top:10px;border:1px solid #ddd6fb;border-radius:8px;background:#faf8ff;color:#6248d7;font-size:8.8px;font-weight:800;cursor:pointer}
.audit29-map{overflow:hidden}.audit29-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #ebeff4}.audit29-map-head>div>b{display:block;margin-top:2px;color:#34425a;font-size:10px}.audit29-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 9px;color:#7d899d;font-size:7.5px}.audit29-legend span:before{content:"";display:inline-block;width:12px;height:2px;margin:0 4px 2px 0;background:#71809a}.audit29-legend .direct:before{background:#5b82e7}.audit29-legend .inferred:before{background:#8b66e4}.audit29-legend .evidence:before{background:#27ad88}.audit29-legend .control:before{background:#e2a044}.audit29-legend .risk:before{background:#e35d68}
.audit29-graph-stage{height:374px;background:radial-gradient(circle at 50% 45%,rgba(108,82,222,.035),transparent 38%),linear-gradient(#fff,#fcfdff);overflow:hidden}.audit29-graph-stage svg{display:block;width:100%;height:100%}.audit29-edge path{fill:none;stroke-width:1.35;stroke-linecap:round;opacity:.56}.audit29-edge.direct path{stroke:#5b82e7}.audit29-edge.inferred path{stroke:#8b66e4;stroke-dasharray:4 4}.audit29-edge.evidence path{stroke:#2faf8b}.audit29-edge.control path{stroke:#e0a143;stroke-dasharray:6 4}.audit29-edge.risk path{stroke:#e35d68;stroke-width:1.7}.audit29-edge.outcome path{stroke:#5c6f92}.audit29-edge text{fill:#8a95a7;font-size:7px}
.audit29-node{cursor:pointer;outline:none}.audit29-node rect{fill:#fff;stroke:#dce3ed;stroke-width:1.15;filter:drop-shadow(0 2px 3px rgba(34,49,82,.06));transition:.15s ease}.audit29-node:hover rect,.audit29-node:focus-visible rect{stroke:#9eaee9;stroke-width:1.7;filter:drop-shadow(0 6px 8px rgba(34,49,82,.11))}.audit29-node.red rect{stroke:#efc6ca}.audit29-node.amber rect{stroke:#efd8b7}.audit29-node.purple rect{stroke:#d8cff8}.audit29-node.teal rect{stroke:#c6e9de}.audit29-node.blue rect{stroke:#cbd8f5}.audit29-node.navy rect{stroke:#cdd5e2}.audit29-node-mark{fill:#fff;font-size:7px;font-weight:900}.audit29-node-kicker{fill:#8a95a7;font-size:6px;font-weight:900;letter-spacing:.08em}.audit29-node-title{fill:#2d3b55;font-size:9px;font-weight:800}.audit29-node-sub{fill:#7b889c;font-size:6.7px}.audit29-node-value{fill:#53627a;font-size:6.6px;font-weight:800}
.audit29-actions{padding:12px}.audit29-actions>header h3{margin:3px 0 3px;color:#26344e;font-size:13px}.audit29-actions>header p{margin:0;color:#7b879a;font-size:8.5px;line-height:1.45}.audit29-action-summary{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.audit29-action-summary article{padding:8px;border:1px solid #ebeff4;border-radius:8px;background:#fafbfe}.audit29-action-summary article:last-child{grid-column:1/-1}.audit29-action-summary span{display:block;color:#8793a5;font-size:7.2px}.audit29-action-summary b{display:block;margin-top:2px;color:#293750;font-size:11px}.audit29-actions>button{display:grid;grid-template-columns:22px 1fr 14px;gap:7px;align-items:center;width:100%;min-height:52px;margin-top:6px;padding:7px 8px;border:1px solid #e5e9f0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.audit29-actions>button.primary{border-color:#d8cffb;background:linear-gradient(135deg,#f9f7ff,#fff)}.audit29-actions>button>i{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#eef2ff;color:#5873d5;font-size:7.5px;font-style:normal;font-weight:900}.audit29-actions>button b{display:block;color:#34425b;font-size:8.8px}.audit29-actions>button span{display:block;margin-top:2px;color:#8792a4;font-size:7.2px;line-height:1.35}.audit29-actions>button strong{color:#7d8798;font-size:11px}.audit29-action-utils{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f4}.audit29-action-utils button{min-height:31px;border:1px solid #e2e6ee;border-radius:8px;background:#fff;color:#5c6a80;font-size:7.8px;font-weight:760;cursor:pointer}
.audit29-evidence-strip{margin:0 12px 10px;border:1px solid #e4e8ef;border-radius:12px;background:#fff;overflow:hidden}.audit29-evidence-strip>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid #edf0f4;background:#fbfcfe}.audit29-evidence-strip>header b,.audit29-timeline>header b{display:block;margin-top:2px;color:#34425a;font-size:10px}.audit29-evidence-strip>header>button{border:0;background:transparent;color:#6449d8;font-size:8px;font-weight:800;cursor:pointer}.audit29-evidence-strip>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.audit29-evidence-strip>div>button{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;min-width:0;padding:9px 10px;border:0;border-left:1px solid #edf0f4;background:#fff;text-align:left;cursor:pointer}.audit29-evidence-strip>div>button:first-child{border-left:0}.audit29-evidence-strip>div>button:hover{background:#fafbff}.audit29-evidence-strip>div>button>span{padding:3px 5px;border-radius:99px;background:#f2f4f7;color:#617086;font-size:6.7px;font-weight:850}.audit29-evidence-strip>div>button>span.high{background:#fff0f1;color:#cb4e57}.audit29-evidence-strip>div>button>span.medium{background:#fff7e9;color:#aa7220}.audit29-evidence-strip>div>button b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#34425b;font-size:8.2px}.audit29-evidence-strip>div>button small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px;color:#8a95a7;font-size:6.9px}.audit29-evidence-strip>div>button strong{color:#4c5b72;font-size:7.8px}
.audit29-timeline{margin:0 12px 12px;padding:10px 11px;border:1px solid #e4e8ef;border-radius:12px;background:#fbfcfe}.audit29-timeline>header{margin-bottom:8px}.audit29-timeline>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.audit29-timeline button{position:relative;display:grid;grid-template-columns:22px 1fr;gap:6px;align-items:center;min-width:0;min-height:54px;padding:7px;border:1px solid #e6eaf0;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.audit29-timeline button>span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#edf2ff;color:#5573d1;font-size:6.7px;font-weight:900}.audit29-timeline button b{display:block;color:#3b4960;font-size:7.9px}.audit29-timeline button small{display:block;margin-top:2px;color:#8c96a8;font-size:6.6px;line-height:1.25}.audit29-timeline button>i{position:absolute;right:-7px;top:19px;z-index:2;color:#9ba5b4;font-size:9px;font-style:normal}
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit24-backdrop{display:none}
.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit24-drawer{width:min(860px,76vw);box-shadow:-20px 0 54px rgba(20,29,48,.16)}
@media(max-width:1350px){.audit29-workspace{grid-template-columns:205px minmax(520px,1fr) 225px}.audit29-engine-head{display:block}.audit29-engine-tools{margin-top:10px}.audit29-evidence-strip>div{grid-template-columns:repeat(2,minmax(0,1fr))}.audit29-evidence-strip>div>button:nth-child(3){border-left:0;border-top:1px solid #edf0f4}.audit29-evidence-strip>div>button:nth-child(4){border-top:1px solid #edf0f4}}
@media(max-width:1080px){.audit29-workspace{grid-template-columns:1fr}.audit29-ai-rail,.audit29-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.audit29-rail-head,.audit29-actions>header{grid-column:1/-1}.audit29-ai-score{grid-column:1/-1}.audit29-ai-rail>button,.audit29-action-utils{grid-column:1/-1}.audit29-timeline>div{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.audit29-engine-tools{flex-wrap:wrap}.audit29-workspace{padding:8px}.audit29-ai-rail,.audit29-actions{display:block}.audit29-graph-stage{height:320px;overflow:auto}.audit29-graph-stage svg{min-width:760px}.audit29-evidence-strip>div,.audit29-timeline>div{grid-template-columns:1fr}.audit29-evidence-strip>div>button{border-left:0;border-top:1px solid #edf0f4}.audit29-evidence-strip>div>button:first-child{border-top:0}.audit29-timeline button>i{display:none}.audit24-root[data-audit-trail-skin="AUDIT-PREMIUM-V6"] .audit24-drawer{width:96vw}}


/* ==========================================================================
   V6.1 FREEZE FIX — site typography + universal modeless outside-close UX
   Scope: Audit Intelligence / Audit Trail + Auto Category Rules only.
   Matching & Fraud and Ledger Feed visual systems remain untouched.
   ========================================================================== */
#ledger-v127-root[data-screen="audit"],
#ledger-v127-root[data-screen="auto-category-rules"]{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:11px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
#ledger-v127-root[data-screen="audit"] button,
#ledger-v127-root[data-screen="audit"] input,
#ledger-v127-root[data-screen="audit"] select,
#ledger-v127-root[data-screen="auto-category-rules"] button,
#ledger-v127-root[data-screen="auto-category-rules"] input,
#ledger-v127-root[data-screen="auto-category-rules"] select{font:inherit}

/* Match the site's established hierarchy: 20px page, 10.5–11px panel/body, 8.5–9px metadata. */
#ledger-v127-root[data-screen="audit"] .audit24-head h1,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-head h1{font-size:20px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.02em!important}
#ledger-v127-root[data-screen="audit"] .audit24-heading p,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-head p{font-size:11px!important;line-height:1.55!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-left h3,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-map h3,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-table h3,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right h3{font-size:10.5px!important;line-height:1.45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-left p,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right p,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-table td{font-size:10.5px!important;line-height:1.55!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-map p,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-table p,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-map-tools span,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right button>b{font-size:9px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-filter-wrap .triv14-filters label>span{font-size:9px!important;font-weight:600!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-filter-wrap .triv14-filters select,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-filter-wrap .triv14-filters .clear,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-filter-wrap .triv14-filters .apply{height:34px!important;font-size:10.5px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-filter-wrap .triv14-filters{padding:9px 10px!important;gap:7px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-drawer{font-size:11px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-drawer header h2{font-size:20px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-drawer header p{font-size:10.5px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-drawer>nav button{height:34px!important;font-size:10.5px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-drawer>footer button{height:34px!important;font-size:10.5px!important}

/* SVG text must use the same product typeface rather than its own diagram font stack. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-svg text,
#ledger-v127-root[data-screen="audit"] .audit29-graph-stage text{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-t{font-size:12px!important;font-weight:800!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-sec{font-size:8.5px!important;font-weight:700!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nt{font-size:9.5px!important;font-weight:700!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nm{font-size:9px!important;font-weight:650!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ns{font-size:8px!important;font-weight:500!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-bd{font-size:8px!important;font-weight:700!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-lg{font-size:8.5px!important;font-weight:550!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-st{font-size:8.5px!important;font-weight:650!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ss{font-size:8px!important;font-weight:500!important}

/* Audit Intelligence premium canvas uses the same universal site scale. */
#ledger-v127-root[data-screen="audit"] .audit29-engine-head h2{font-size:18px!important}
#ledger-v127-root[data-screen="audit"] .audit29-engine-head p{font-size:10.5px!important}
#ledger-v127-root[data-screen="audit"] .audit29-rail-head b,
#ledger-v127-root[data-screen="audit"] .audit29-actions>header h3{font-size:10.5px!important}
#ledger-v127-root[data-screen="audit"] .audit29-rail-head p,
#ledger-v127-root[data-screen="audit"] .audit29-actions>header p{font-size:9px!important}
#ledger-v127-root[data-screen="audit"] .audit29-ai-rail>section>b{font-size:9.5px!important}
#ledger-v127-root[data-screen="audit"] .audit29-ai-rail>section p{font-size:8.5px!important}
#ledger-v127-root[data-screen="audit"] .audit29-node-title{font-size:8.5px!important}
#ledger-v127-root[data-screen="audit"] .audit29-node-sub,
#ledger-v127-root[data-screen="audit"] .audit29-node-value{font-size:6.8px!important}


/* ==========================================================================
   V19.0 — Auto Category Rules / ledger classification intelligence
   Frozen dependencies: Ledger Feed, Matching & Fraud, Audit Intelligence.
   ========================================================================== */
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root{min-width:1760px;font-family:inherit}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core{margin:10px 0 12px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(31,48,79,.025)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid #edf1f5;background:linear-gradient(180deg,#fff,#fcfdff)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>header>div:first-child>span{display:block;color:#6848e8;font-size:8.5px;font-weight:850;letter-spacing:.09em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core h3{margin:3px 0 2px;color:#263650;font-size:12px;line-height:1.4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core header p{max-width:950px;margin:0;color:#728096;font-size:9px;line-height:1.5}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity{min-width:190px;padding:8px 10px;border:1px solid #d9e8df;border-radius:9px;background:#f7fcf9;text-align:right}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity span{display:block;color:#68788c;font-size:8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity b{display:block;color:#18845b;font-size:18px;line-height:1.15}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity small{display:block;color:#7d8999;font-size:7.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button{position:relative;min-height:120px;padding:11px 12px;border:0;border-left:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer;transition:background .15s ease,box-shadow .15s ease}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button:first-child{border-left:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button:hover,#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button:focus-visible{background:#fafbff;box-shadow:inset 0 -2px 0 #6c50df;outline:none}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-type{display:inline-flex;padding:2px 6px;border-radius:999px;background:#f3f5f8;color:#728096;font-size:7px;font-weight:750}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups h4{margin:6px 0 0;color:#2d3c56;font-size:10.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups strong{display:inline-block;margin-top:5px;color:#1d2b44;font-size:18px;line-height:1}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups em{margin-left:7px;color:#7d8999;font-size:7.5px;font-style:normal}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button>div{margin-top:8px;padding-top:7px;border-top:1px solid #eff2f6}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button>div b{display:block;color:#52647c;font-size:8.3px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button>div small{display:block;margin-top:2px;color:#7b899c;font-size:7.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups p{margin:5px 0 0;color:#8a95a5;font-size:7.2px;line-height:1.4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer{display:grid;grid-template-columns:1fr 1fr 1.15fr;border-top:1px solid #edf1f5;background:#fbfcfe}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer>*{min-height:48px;padding:8px 12px;border:0;border-left:1px solid #edf1f5;background:transparent;text-align:left}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer>*:first-child{border-left:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer button{cursor:pointer}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer b{display:block;color:#3e4e66;font-size:8.8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer span{display:block;margin-top:2px;color:#8190a3;font-size:7.7px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic{display:grid;grid-template-columns:1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr;align-items:stretch;margin:0 0 12px;border:1px solid #e2e7ef;border-radius:11px;background:#fff;overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article{padding:9px 10px;min-width:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article span{display:block;color:#704fdc;font-size:7px;font-weight:850;letter-spacing:.06em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article b{display:block;margin-top:3px;color:#3b4a62;font-size:8.8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article p{margin:3px 0 0;color:#7b8798;font-size:7.4px;line-height:1.45}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic>i{display:grid;place-items:center;color:#a1aaba;font-size:13px;font-style:normal;background:#fbfcfe;border-left:1px solid #f0f2f6;border-right:1px solid #f0f2f6}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-right section:nth-child(3) p b{color:#33445c}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root .tri17-filter-wrap .triv14-filters{grid-template-columns:repeat(11,minmax(110px,1fr)) auto auto!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root .tri17-table table{min-width:2180px}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.asset,#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.balance-sheet{background:#eef5ff;color:#3569b8}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.liability{background:#fff4e8;color:#ad6d20}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.equity{background:#f4efff;color:#6e4bd5}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.revenue{background:#ebf9f2;color:#18845b}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.expense{background:#fff0f2;color:#bd4f62}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.balanced,#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.eligible{background:#eaf8f1;color:#17865c}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-pill.review{background:#fff6e8;color:#a87021}
@media(max-width:1500px){#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root{min-width:1600px}#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button{min-height:112px}}


/* ============================================================================
   V19.1 — Auto Category Rules premium responsive uplift.
   Removes page-level horizontal scrolling, aligns layout with the frozen Audit
   workspace pattern, and replaces generic charts with richer page-specific
   analytics inspired by contemporary finance dashboard composition.
   ============================================================================ */
#ledger-v127-root[data-screen="auto-category-rules"]{overflow-x:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-root,
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root,
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-root,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-root{min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-layout,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-layout,
#ledger-v127-root[data-screen="auto-category-rules"] .audit181-layout{display:grid;grid-template-columns:minmax(250px,290px) minmax(0,1fr) minmax(270px,320px);gap:14px;align-items:start}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-layout>main,
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-layout>main,
#ledger-v127-root[data-screen="auto-category-rules"] .audit181-layout>main{min-width:0;display:grid;gap:12px;align-content:start}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-map,
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-clusters,
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart,
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core,
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic,
#ledger-v127-root[data-screen="auto-category-rules"] .triv14-table{border-radius:14px;box-shadow:0 10px 26px rgba(21,34,50,.05);overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-svg-shell{border:1px solid #dfe7f2;border-radius:14px;background:linear-gradient(180deg,#ffffff,#fbfcff);overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-svg{width:100%;height:auto;min-height:0!important;aspect-ratio:1280/780}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-map>header h3{font-size:17px!important;line-height:1.35!important;color:#1f2e45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-map>header p{font-size:12.5px!important;line-height:1.65!important;color:#65758c!important;max-width:980px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-map .tri17-map-tools span,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-map .tri17-map-tools button{font-size:11px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-svg text,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-t,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-sec,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nt,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nm,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ns,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-bd,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-lg,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-st,
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ss{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-t{font-size:14px!important;font-weight:800!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-sec{font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nt{font-size:11.6px!important;font-weight:760!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-nm{font-size:10.6px!important;font-weight:650!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ns{font-size:9.4px!important;line-height:1.45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-bd{font-size:9.2px!important;font-weight:760!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-lg{font-size:10.2px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-st{font-size:10.2px!important;font-weight:680!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-ss{font-size:9.2px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right,
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-right{display:grid;gap:12px;align-content:start}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right section,
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-right section{padding:16px;border-radius:14px;border:1px solid #dfe7f2;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 8px 20px rgba(27,42,68,.04)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right h3{font-size:13px!important;color:#5842d1!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right p{font-size:11.4px!important;line-height:1.75!important;color:#5d6e84!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right button>b{font-size:10.5px!important;line-height:1.45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules183-right button>small{font-size:9px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>header>div:first-child>span{font-size:10px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core h3{font-size:15px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core header p{font-size:11.5px!important;line-height:1.65!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity{min-width:220px;padding:12px 14px;border-radius:12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity span{font-size:10px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity b{font-size:22px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-integrity small{font-size:9px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups{grid-template-columns:repeat(5,minmax(0,1fr))}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button{min-height:150px;padding:15px 16px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-type{font-size:8.5px!important;padding:4px 8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups h4{font-size:12px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups strong{font-size:24px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups em{display:block;margin:6px 0 0;font-size:9px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button>div b{font-size:9.5px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups>button>div small{font-size:8.5px!important;line-height:1.45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups p{font-size:8.5px!important;line-height:1.45!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer b{font-size:10px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-core>footer span{font-size:8.8px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic{grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr 24px 1fr}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article{padding:13px 14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article span{font-size:8.4px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article b{font-size:11px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic article p{font-size:9px!important;line-height:1.55!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-analytics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart{min-width:0;border:1px solid #dfe7f2;background:linear-gradient(180deg,#fff,#fcfdff);padding:16px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart.span-2{grid-column:span 2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart>header span{display:block;color:#6a50df;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart>header h3{margin:4px 0 0;color:#21324b;font-size:15px;line-height:1.35}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-legend{display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:flex-end;max-width:46%}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-legend span{display:inline-flex;align-items:center;gap:6px;color:#6d7c91;font-size:10.5px;font-weight:600;letter-spacing:0;text-transform:none}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-legend i{display:inline-block;width:11px;height:11px;border-radius:999px;background:#cbd5e1}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-legend .l1{background:#4f46e5}.rules191-legend .l2{background:#ef4444}.rules191-legend .l3{background:#10b981}.rules191-legend .l4{background:#f59e0b}.rules191-legend .lb{background:linear-gradient(180deg,#c7d2fe,#8b5cf6)}.rules191-legend .lc{background:#0ea5e9}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg{width:100%;height:220px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg .grid line{stroke:#e8edf5;stroke-width:1}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg text{font:600 10px Inter,system-ui,sans-serif;fill:#8291a7}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend .s1{fill:none;stroke:#4f46e5;stroke-width:3}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend .s2{fill:none;stroke:#ef4444;stroke-width:2.4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend .s3{fill:none;stroke:#10b981;stroke-width:2.4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend .s4{fill:none;stroke:#f59e0b;stroke-width:2.2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend circle{stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.trend .p1{fill:#4f46e5}.rules191-svg.trend .p2{fill:#ef4444}.rules191-svg.trend .p3{fill:#10b981}.rules191-svg.trend .p4{fill:#f59e0b}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.perf .bar{stroke:none;filter:drop-shadow(0 6px 10px rgba(99,102,241,.14));fill:#c7d2fe}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.perf .coverage{fill:none;stroke:#0ea5e9;stroke-width:3}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.perf .cover-dot{fill:#0ea5e9;stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.perf .cover-label{font:700 9px Inter,system-ui,sans-serif;fill:#0f172a}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid section{padding:14px;border:1px solid #e3e9f2;border-radius:13px;background:#fff}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid section.base{background:linear-gradient(180deg,#fcfcfe,#f7f8fc)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid h4{margin:0 0 12px;color:#27384f;font-size:12px;line-height:1.45}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #eef2f7}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid div:first-of-type{border-top:0;padding-top:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid span{color:#7a889b;font-size:10px;font-weight:600}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid b{color:#1f2d44;font-size:13px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-stack{display:grid;gap:16px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-stackbar{display:flex;height:18px;border-radius:999px;overflow:hidden;background:#eef2f7}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-stackbar .seg{height:100%}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-stackbar .s1,.rules191-list .s1{background:#4f46e5}.rules191-stackbar .s2,.rules191-list .s2{background:#8b5cf6}.rules191-stackbar .s3,.rules191-list .s3{background:#06b6d4}.rules191-stackbar .s4,.rules191-list .s4{background:#10b981}.rules191-stackbar .s5,.rules191-list .s5{background:#f59e0b}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list li{display:grid;grid-template-columns:12px 1fr auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid #edf1f6;border-radius:10px;background:#fff}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list i{width:12px;height:12px;border-radius:50%}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list span{color:#31435e;font-size:11px;font-weight:650}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list b{color:#16253d;font-size:12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-list small{grid-column:2 / 4;color:#7a889b;font-size:9.4px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;min-height:220px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .col{display:grid;justify-items:center;gap:8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .track{position:relative;width:54px;height:150px;border-radius:14px;background:linear-gradient(180deg,#f7f9fc,#eef3f8);overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .solid,#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .float{position:absolute;left:8px;right:8px;bottom:0;border-radius:10px;background:linear-gradient(180deg,#7c6cf5,#5b4cdd)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .float{background:linear-gradient(180deg,#34d399,#0f9e74)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge .target .solid{background:linear-gradient(180deg,#0ea5e9,#2563eb)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge b{color:#1f2d44;font-size:10.5px;text-align:center}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-bridge small{color:#7a889b;font-size:9px;line-height:1.35;text-align:center}
#ledger-v127-root[data-screen="auto-category-rules"] .rules191-svg.forecast .line{fill:none;stroke:#6d5ef3;stroke-width:3}.rules191-svg.forecast circle{fill:#6d5ef3;stroke:#fff;stroke-width:2}.rules191-svg.forecast .peak-anno{stroke:#ef4444;stroke-width:1.4;stroke-dasharray:3 3}.rules191-svg.forecast .peak-label{font:700 9.5px Inter,system-ui,sans-serif;fill:#ef4444}
#ledger-v127-root[data-screen="auto-category-rules"] .triv14-table{overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .triv14-table-scroll{overflow:auto;max-width:100%}
#ledger-v127-root[data-screen="auto-category-rules"] .rules190-root .tri17-table table,
#ledger-v127-root[data-screen="auto-category-rules"] .triv14-table table{min-width:1600px!important;width:max-content}
@media (max-width: 1420px){
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-layout,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules183-layout,
  #ledger-v127-root[data-screen="auto-category-rules"] .audit181-layout{grid-template-columns:260px minmax(0,1fr)}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules183-right,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules190-right{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr))}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 1120px){
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-layout,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules183-layout,
  #ledger-v127-root[data-screen="auto-category-rules"] .audit181-layout{grid-template-columns:1fr}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-analytics{grid-template-columns:1fr}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-chart.span-2{grid-column:span 1}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules190-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic{grid-template-columns:1fr}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules190-logic>i{display:none}
  #ledger-v127-root[data-screen="auto-category-rules"] .rules183-right,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules190-right,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-scenario-grid,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules191-list{grid-template-columns:1fr}
}


/* ============================================================================
   UX18 UNIVERSAL SITE CONTRACT — STABILITY-SAFE
   Shared system rules must never override a frozen page's layout geometry.
   Typography family and interaction affordances are universal; sizing/layout
   remain owned by each page implementation.
   ============================================================================ */
#ledger-v127-root{
  --ux-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --ux-text:#25334a;
  --ux-muted:#718096;
  --ux-heading:#1f2d44;
  --ux-primary:#654ee8;
  --ux-line:#e1e7f0;
  --ux-surface:#ffffff;
  --ux-surface-soft:#fbfcff;
  --ux-radius:14px;
  --ux-shadow:0 8px 24px rgba(28,43,70,.05);
  --ux-page-gap:14px;
  font-family:var(--ux-font)!important;
  color:var(--ux-text);
}
#ledger-v127-root *,
#ledger-v127-root *::before,
#ledger-v127-root *::after{box-sizing:border-box}
#ledger-v127-root h1,
#ledger-v127-root h2,
#ledger-v127-root h3,
#ledger-v127-root h4,
#ledger-v127-root h5,
#ledger-v127-root h6,
#ledger-v127-root button,
#ledger-v127-root input,
#ledger-v127-root select,
#ledger-v127-root textarea,
#ledger-v127-root table,
#ledger-v127-root svg text{font-family:var(--ux-font)!important}

/* Universal chart affordance only — no geometry changes. */
#ledger-v127-root [data-universal-chart="true"]{
  cursor:pointer;
  outline:none;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
#ledger-v127-root [data-universal-chart="true"]:hover{transform:translateY(-1px)}
#ledger-v127-root [data-universal-chart="true"]:focus-visible{
  box-shadow:0 0 0 3px rgba(101,78,232,.14);
}

/* Do not hide document overflow globally. Page responsiveness must be solved
   inside the page layout, never by clipping the site. */
#ledger-v127-root,
#ledger-v127-root .lispec-root{overflow-x:visible}

/* Wide data tables may scroll inside their own table viewport. */
#ledger-v127-root .triv14-table-scroll,
#ledger-v127-root .tri17-table-scroll,
#ledger-v127-root .rem15-table-scroll,
#ledger-v127-root .lispec-table-scroll{overscroll-behavior-x:contain}

/* ============================================================================
   V19.3 — Workspace > Accounts · Chart of Accounts premium page
   ============================================================================ */
#ledger-v127-root[data-screen="accounts"]{overflow-x:hidden}
#ledger-v127-root[data-screen="accounts"] .acctcoa189-root,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-root,
#ledger-v127-root[data-screen="accounts"] .rem15-root{
  min-width:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-layout{
  display:grid;grid-template-columns:minmax(245px,285px) minmax(0,1fr) minmax(270px,315px);
  gap:14px;align-items:start;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-layout>main{display:grid;gap:14px;min-width:0;align-content:start}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:10px 0 14px;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis button{
  position:relative;min-height:94px;padding:14px 15px;text-align:left;border:1px solid var(--ux-line);
  border-radius:14px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:var(--ux-shadow);cursor:pointer;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis button>span{
  position:absolute;right:12px;top:11px;color:#c0c8d4;font-size:9px;font-weight:800;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis strong{display:block;color:#182840;font-size:23px;line-height:1.1;margin-bottom:7px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis b{display:block;color:#36485f;font-size:11px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis small{display:block;color:#7b8899;font-size:8.9px;line-height:1.45;margin-top:4px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right{display:grid;gap:12px;align-content:start}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai section,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right section{
  border:1px solid var(--ux-line);border-radius:14px;background:linear-gradient(180deg,#fff,#fcfdff);
  padding:15px;box-shadow:var(--ux-shadow);
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .hero>span,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right section>span{
  color:#6a50df;font-size:9.5px;font-weight:850;letter-spacing:.09em;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai h3,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right h3{margin:4px 0 9px;color:#253650;font-size:13px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai p,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right p,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai li{color:#65758b;font-size:10.6px;line-height:1.7}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai ul{margin:0;padding-left:17px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .score{display:flex;align-items:end;gap:7px;margin:13px 0 2px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .score strong{color:#5843d5;font-size:27px;line-height:1}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .score small{color:#8390a1;font-size:9px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai button,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right button{
  border:1px solid #ded7fb;border-radius:9px;background:#faf8ff;color:#5d47d4;min-height:34px;padding:0 10px;font-size:10px;font-weight:780;cursor:pointer;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .mini-grid button{
  display:block;min-height:68px;text-align:left;background:#fff;border-color:#e5eaf1;color:#34465d;padding:10px;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .mini-grid b{display:block;color:#253650;font-size:18px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai .mini-grid span{display:block;color:#7a8798;font-size:9px;margin-top:3px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map{
  border:1px solid var(--ux-line);border-radius:15px;background:#fff;overflow:hidden;box-shadow:var(--ux-shadow);
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map>header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #edf1f5;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map>header>div:first-child>span{display:block;color:#6a50df;font-size:9.5px;font-weight:850;letter-spacing:.09em}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map h2{margin:4px 0 2px;color:#1f3048;font-size:17px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map>header p{margin:0;color:#718095;font-size:10.8px;line-height:1.55}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map .tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-map .tools>button,
#ledger-v127-root[data-screen="accounts"] .scenario-strip button{
  border:1px solid #e0e6ef;border-radius:9px;background:#fff;color:#53657d;height:32px;padding:0 11px;font-size:9.8px;font-weight:750;cursor:pointer;
}
#ledger-v127-root[data-screen="accounts"] .target-toggle{display:flex;align-items:center;gap:8px;color:#65758b;font-size:9.8px;font-weight:700}
#ledger-v127-root[data-screen="accounts"] .target-toggle button{position:relative;width:38px;height:22px;border:0;border-radius:999px;background:#e6eaf1;padding:0;cursor:pointer}
#ledger-v127-root[data-screen="accounts"] .target-toggle button[aria-pressed="true"]{background:#674fe8}
#ledger-v127-root[data-screen="accounts"] .target-toggle i{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s ease}
#ledger-v127-root[data-screen="accounts"] .target-toggle i.on{transform:translateX(16px)}
#ledger-v127-root[data-screen="accounts"] .scenario-strip{
  display:flex;align-items:center;gap:8px;padding:9px 14px;border-bottom:1px solid #edf1f5;background:#fbfcfe;overflow:hidden;
}
#ledger-v127-root[data-screen="accounts"] .scenario-strip button.active{background:#f1edff;border-color:#d8cffd;color:#5d45d6}
#ledger-v127-root[data-screen="accounts"] .scenario-strip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a96a6;font-size:8.8px;margin-left:auto}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg-shell{width:100%;overflow:hidden;background:#fcfdfe}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg{display:block;width:100%;height:auto;aspect-ratio:1240/530}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .section{font:800 9px var(--ux-font);fill:#77859a;letter-spacing:.08em}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .surface{fill:#fff;stroke:#e2e8f0;filter:url(#coa193shadow)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .target-surface{fill:#f8fbff;stroke:#bcd0fb}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .node-title{font:760 11.5px var(--ux-font);fill:#273850}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .node-meta{font:600 9.5px var(--ux-font);fill:#758397}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .small-title{font:710 9.7px var(--ux-font);fill:#31435b}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .tiny{font:570 8.3px var(--ux-font);fill:#7c899a}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .orphan-title{font:800 9px var(--ux-font);fill:#b7791f;letter-spacing:.05em}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .link{fill:none;stroke-width:1.6;stroke-opacity:.65}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .proposal-link{fill:none;stroke:#6d8fe8;stroke-width:1.55;stroke-dasharray:4 4;marker-end:url(#coa193arr)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .merge-link{fill:none;stroke:#10b981;stroke-width:1.7;stroke-dasharray:3 4;marker-end:url(#coa193arr)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .exception-link{fill:none;stroke:#f59e0b;stroke-width:1.65;stroke-dasharray:4 4;marker-end:url(#coa193arr)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-card{fill:#fff;stroke:#dce4ef}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-title{font:700 9.3px var(--ux-font);fill:#44566e}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-value{font:800 9.5px var(--ux-font);fill:#263850;text-anchor:end}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-track{fill:#eef2f6}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-fill{fill:#10b981}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .gate-fill.warn{fill:#f59e0b}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-svg .legend text{font:600 8.5px var(--ux-font);fill:#768397}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-node,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-orphan{cursor:pointer}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-node:hover .surface,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-node:focus .surface{stroke:#6d5fe8;stroke-width:2.2;filter:drop-shadow(0 7px 11px rgba(74,62,158,.13))}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-orphan:hover rect,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-orphan:focus rect{stroke:#e5a12f;stroke-width:2.2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story{
  border:1px solid var(--ux-line);border-radius:14px;background:#fff;box-shadow:var(--ux-shadow);overflow:hidden;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story>header{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #edf1f5}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story h3{margin:0;color:#263850;font-size:12px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story header span{color:#8995a5;font-size:8.8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story button{position:relative;min-height:98px;padding:11px 12px;text-align:left;border:0;border-left:1px solid #edf1f5;background:#fff;cursor:pointer}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story button:first-child{border-left:0}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story button:hover{background:#fafbff}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#f0edff;color:#634ad9;font-size:8px;font-weight:850;font-style:normal}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story b{display:block;margin-top:7px;color:#34465e;font-size:9.6px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story small{display:block;margin-top:4px;color:#7a8899;font-size:8.2px;line-height:1.45}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story em{position:absolute;right:-5px;top:42px;color:#a3adbb;font-size:20px;font-style:normal;z-index:2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-analytics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart{
  min-width:0;border:1px solid var(--ux-line);border-radius:14px;background:linear-gradient(180deg,#fff,#fcfdff);
  padding:15px;box-shadow:var(--ux-shadow);cursor:pointer;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart.span2{grid-column:span 2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart header span{display:block;color:#6a50df;font-size:8.8px;font-weight:850;letter-spacing:.08em}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart h3{margin:3px 0 0;color:#263850;font-size:13px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .legend{display:flex;align-items:center;gap:6px;color:#7b8797;font-size:8.5px;white-space:nowrap}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .legend i{display:inline-block;width:10px;height:10px;border-radius:3px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart svg{display:block;width:100%;height:215px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart svg .lbl{font:650 9px var(--ux-font);fill:#53657d}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart svg .val{font:700 8px var(--ux-font);fill:#6f7e91}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .current{fill:#b8c5f4;background:#b8c5f4}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .target{fill:#6654e8;background:#6654e8}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .dup{fill:#f59e0b;background:#f59e0b}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .unused{fill:#c9d1dd;background:#c9d1dd}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .quality{fill:#ef646d;background:#ef646d}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .delta{color:#0f9f73;font-size:22px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;align-items:end;height:215px;padding-top:10px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge>div{display:grid;justify-items:center;gap:5px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge .track{position:relative;width:38px;height:148px;border-radius:11px;background:#eff3f8;overflow:hidden}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge .solid,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge .float{position:absolute;left:6px;right:6px;bottom:0;border-radius:8px;background:linear-gradient(180deg,#7363f0,#5846d6)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge .down .float{background:linear-gradient(180deg,#f1a4a8,#df616a)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge .target .solid{background:linear-gradient(180deg,#32c39a,#119a73)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge b{color:#33465f;font-size:8.8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .bridge small{color:#7a8798;font-size:7.7px;text-align:center;line-height:1.3}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .grid line{stroke:#e9eef5;stroke-width:1}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .active{fill:none;stroke:#5d4be1;stroke-width:3}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .active-dot{fill:#5d4be1;stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .dormant{fill:none;stroke:#f59e0b;stroke-width:2.2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .dormant-dot{fill:#f59e0b;stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .issues{fill:none;stroke:#ef646d;stroke-width:2.2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .issues-dot{fill:#ef646d;stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .axis{font:600 8.5px var(--ux-font);fill:#8894a4}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-chart .legend .active{background:#5d4be1}.acctcoa193-chart .legend .dormant{background:#f59e0b}.acctcoa193-chart .legend .issues{background:#ef646d}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right button{width:100%;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;text-align:left;border:0;border-bottom:1px solid #edf1f5;border-radius:0;background:#fff;color:#34465d;padding:9px 0}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right button i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f1edff;color:#6249d7;font-size:8px;font-weight:850;font-style:normal}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right button b{font-size:9.8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right button small{grid-column:2;color:#8490a0;font-size:8.4px;margin-top:-5px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right .outcomes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right .outcomes div{padding:10px;border:1px solid #e6ebf2;border-radius:10px;background:#fbfcfe}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right .outcomes strong{display:block;color:#159369;font-size:20px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right .outcomes span{display:block;color:#748296;font-size:8.5px}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right .recommend button{display:block;width:100%;border:1px solid #d9d1fb;border-radius:9px;background:#f8f6ff;color:#5e48d4;padding:8px 10px;margin-top:10px}
#ledger-v127-root[data-screen="accounts"] .acctcoa189-table{max-width:100%;min-width:0!important}
#ledger-v127-root[data-screen="accounts"] .acctcoa189-table .scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#ledger-v127-root[data-screen="accounts"] .acctcoa189-table table{min-width:1180px!important;width:max-content}
#ledger-v127-root[data-screen="accounts"] .rem15-backdrop{background:transparent!important;pointer-events:none!important}
#ledger-v127-root[data-screen="accounts"] .rem15-overlay{z-index:1000}
@media(max-width:1500px){
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-layout{grid-template-columns:250px minmax(0,1fr)}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1120px){
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-layout{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-right{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-story>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-story button{border-top:1px solid #edf1f5}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-analytics{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-chart.span2{grid-column:span 1}
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-map>header{display:block}
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-map .tools{justify-content:flex-start;margin-top:10px}
 #ledger-v127-root[data-screen="accounts"] .scenario-strip{align-items:flex-start;overflow-x:auto}
 #ledger-v127-root[data-screen="accounts"] .scenario-strip>span{display:none}
}


/* ============================================================================
   V19.4 — Auto Category Rules premium revisit
   Ledger Feed design direction: readable typography, one dominant analytical
   hero, editorial bento panels, full-width decision map, details on demand.
   ============================================================================ */
#ledger-v127-root[data-screen="auto-category-rules"]{overflow-x:visible!important;background:#f8f9fc}
#ledger-v127-root[data-screen="auto-category-rules"] .lispec-root{overflow-x:visible!important;min-width:0!important;width:100%!important;max-width:100%!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root{--r194-ink:#17233d;--r194-muted:#73829a;--r194-line:#e6eaf2;--r194-violet:#6250dc;min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important;padding-bottom:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-head{padding-bottom:10px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-head h1{font-size:21px!important;line-height:1.25!important;letter-spacing:-.025em!important;color:var(--r194-ink)!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-head p{font-size:11.5px!important;line-height:1.55!important;color:var(--r194-muted)!important;max-width:900px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-search input,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-toolbar select,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-toolbar button,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-roles button{font-size:10px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-filter-wrap{margin-bottom:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-filter-wrap .triv14-filters{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:end!important;min-width:0!important;width:100%!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-filter-wrap .triv14-filters label{flex:1 1 126px;min-width:116px;max-width:190px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-filter-wrap .triv14-filters label span{font-size:9px!important;color:#7b8799!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-filter-wrap .triv14-filters select{font-size:10px!important;height:34px!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero{display:grid;grid-template-columns:minmax(250px,.29fr) minmax(0,.71fr);min-height:430px;border:1px solid var(--r194-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 32px rgba(27,39,75,.055);margin-bottom:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-side{padding:22px 18px;border-right:1px solid var(--r194-line);background:linear-gradient(180deg,#fff 0%,#fbfbff 100%)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-title>span,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel>header>div>span,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-map>header>div>span{display:block;color:var(--r194-violet);font-size:9px;font-weight:900;letter-spacing:.11em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-title h2{margin:5px 0 6px;color:var(--r194-ink);font-size:19px;letter-spacing:-.02em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-title p{margin:0;color:var(--r194-muted);font-size:10.7px;line-height:1.6}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metrics{display:grid;gap:8px;margin-top:18px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric{position:relative;padding:11px 12px 11px 15px;border:1px solid #edf0f5;border-radius:12px;background:#fff}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:#8a83ff}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric.blue:before{background:#5b6df6}.rules194-metric.teal:before{background:#14b8a6}.rules194-metric.purple:before{background:#7c3aed}.rules194-metric.red:before{background:#ef6469}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric span{display:block;color:#77849a;font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric b{display:block;margin-top:2px;color:#17233d;font-size:21px;letter-spacing:-.025em}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metric small{display:block;margin-top:1px;color:#8793a6;font-size:8.8px;line-height:1.4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart{padding:20px 22px 14px;min-width:0;cursor:pointer}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart h3{margin:0;color:#17233d;font-size:15px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart header p{margin:3px 0 0;color:#77849a;font-size:9.8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart header>span{max-width:220px;padding:6px 9px;border:1px solid #e7ebf3;border-radius:9px;background:#fafbfe;color:#73829a;font-size:8.8px;text-align:right}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-legend{display:flex;gap:14px;justify-content:flex-end;margin:11px 0 2px;color:#758297;font-size:9px;font-weight:650}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-legend span{display:inline-flex;align-items:center;gap:6px}.rules194-legend i{width:10px;height:10px;border-radius:3px;background:#6f74f6}.rules194-legend i.line{height:3px;border-radius:999px;background:#14b8a6}.rules194-legend i.conf{background:#14b8a6}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart svg{display:block;width:100%;height:305px;overflow:visible}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart .grid line,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-performance .grid line{stroke:#e8edf5;stroke-width:1}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart svg text,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-performance svg text{font:600 9px Inter,system-ui,sans-serif;fill:#8291a7}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart .issue-line{fill:none;stroke:#14b8a6;stroke-width:3;stroke-dasharray:6 4}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart .issue-dot{fill:#0f9f94;stroke:#fff;stroke-width:1.5}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart .x{font-size:9px;fill:#65758b}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart footer{display:flex;align-items:center;gap:5px;padding-top:8px;border-top:1px solid #edf0f5;color:#73829a;font-size:9.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero-chart footer b{color:#33415c}.rules194-hero-chart footer button{margin-left:auto;border:0;background:transparent;color:#6250dc;font-size:9.5px;font-weight:800;cursor:pointer}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-bento{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px;margin-bottom:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel{min-width:0;border:1px solid var(--r194-line);border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(27,39,75,.035);overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:15px 16px 12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel>header h3{margin:4px 0 2px;color:#17233d;font-size:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel>header p{margin:0;color:#7c899d;font-size:9.6px;line-height:1.5}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-panel>header>button{flex:none;border:0;background:transparent;color:#6250dc;font-size:9px;font-weight:800;cursor:pointer}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table{padding:0 12px 12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>.head,
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>button{display:grid;grid-template-columns:minmax(120px,1.5fr) 1.05fr .48fr .58fr .48fr .70fr;gap:8px;align-items:center;min-height:38px;padding:0 9px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>.head{border-radius:8px;background:#f7f8fb;color:#7a879a;font-size:8.2px;font-weight:800}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>button{width:100%;border:0;border-bottom:1px solid #eef1f5;background:#fff;color:#33415c;font-size:9.4px;text-align:left;cursor:pointer}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>button:hover{background:#fafbff}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table>button>span:first-child{display:flex;align-items:center;gap:7px}.rules194-class-table>button i{width:9px;height:9px;border-radius:50%;background:#6f74f6}.rules194-class-table>button i.g2{background:#8b5cf6}.rules194-class-table>button i.g3{background:#14b8a6}.rules194-class-table>button i.g4{background:#06b6d4}.rules194-class-table>button i.g5{background:#f59e0b}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-class-table em{font-style:normal;color:#5b6df6;font-weight:800}.rules194-class-table strong{display:inline-flex;padding:3px 6px;border-radius:999px;font-size:8px}.rules194-class-table strong.good{color:#16815e;background:#eaf9f2}.rules194-class-table strong.warn{color:#a86a08;background:#fff6df}.rules194-class-table strong.risk{color:#c33c45;background:#fff0f1}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-attention{padding:0 12px 12px}.rules194-attention>button{display:grid;grid-template-columns:27px minmax(0,1fr) 18px;gap:10px;align-items:start;width:100%;padding:12px 9px;border:0;border-top:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}.rules194-attention>button:hover{background:#fafbff}.rules194-attention>button>i{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f2efff;color:#6250dc;font-size:9px;font-style:normal;font-weight:900}.rules194-attention>button.red>i{background:#fff0f1;color:#d3454f}.rules194-attention>button.amber>i{background:#fff6df;color:#a86a08}.rules194-attention>button.green>i{background:#eaf9f2;color:#16815e}.rules194-attention b{display:block;color:#273550;font-size:10.5px}.rules194-attention p{margin:3px 0;color:#6f7d92;font-size:9.2px;line-height:1.45}.rules194-attention small{color:#919bad;font-size:8.4px}.rules194-attention>button>em{align-self:center;color:#8a94a7;font-size:15px;font-style:normal}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.rules194-insight{position:relative;min-height:188px;padding:18px;border:1px solid #e6eaf2;border-radius:18px;background:#fff;text-align:left;cursor:pointer;overflow:hidden;box-shadow:0 8px 24px rgba(27,39,75,.04)}.rules194-insight:after{content:"";position:absolute;right:-22px;bottom:-32px;width:120px;height:120px;border-radius:50%;background:rgba(98,80,220,.055)}.rules194-insight:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(27,39,75,.075)}.rules194-insight span{color:#283650;font-size:13px;font-weight:850}.rules194-insight p{min-height:48px;margin:7px 0 14px;color:#697891;font-size:10px;line-height:1.55}.rules194-insight>b{display:block;color:#17233d;font-size:30px;letter-spacing:-.035em}.rules194-insight>small{display:block;margin-top:2px;color:#8b96a7;font-size:8.7px}.rules194-insight>i{position:absolute;left:18px;bottom:14px;color:#6250dc;font-size:9px;font-style:normal;font-weight:800;z-index:1}.rules194-insight.teal{background:linear-gradient(145deg,#fff,#f4fffc)}.rules194-insight.blue{background:linear-gradient(145deg,#fff,#f5f8ff)}.rules194-insight.purple{background:linear-gradient(145deg,#fff,#f9f6ff)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-map{border:1px solid var(--r194-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 32px rgba(27,39,75,.05);margin-bottom:14px}.rules194-map>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #edf1f5}.rules194-map>header h2{margin:4px 0 2px;color:#17233d;font-size:17px}.rules194-map>header p{margin:0;color:#748297;font-size:10.5px}.rules194-map>header>div:last-child{display:flex;gap:7px}.rules194-map>header button{height:31px;padding:0 10px;border:1px solid #e3e8f0;border-radius:9px;background:#fff;color:#5b6b80;font-size:9px;font-weight:750;cursor:pointer}.rules194-map-shell{width:100%;background:#fcfdfe;overflow:visible}.rules194-map-shell svg{display:block;width:100%;height:auto;aspect-ratio:1200/470;overflow:visible}.rules194-map-shell svg text{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.rules194-map-shell .sec{font-size:9px;font-weight:800;fill:#7b899c;letter-spacing:.08em}.rules194-map-shell .surface{fill:#fff;stroke:#e1e7f0}.rules194-map-shell .row{fill:#fafbfe;stroke:#edf1f5}.rules194-map-shell .node-title{font-size:10.5px;font-weight:760;fill:#2d3f58}.rules194-map-shell .node-value{font-size:9px;font-weight:800;fill:#5b6df6}.rules194-map-shell .node-sub{font-size:8.6px;font-weight:560;fill:#7b899a}.rules194-map-shell .card-title{font-size:12px;font-weight:800;fill:#253650}.rules194-map-shell .edge{fill:none;stroke:#9ca9ba;stroke-width:1.55;marker-end:url(#r194arr)}.rules194-map-shell .edge.inference{stroke:#6658e8;stroke-dasharray:5 4}.rules194-map-shell .match.m1{stroke:#f0c35b}.rules194-map-shell .match.m2{stroke:#93c5fd}.rules194-map-shell .match.m3{stroke:#a5b4fc}.rules194-map-shell .match.m4{stroke:#f6a3aa}.rules194-map-shell .engine-surface{fill:#f3f1ff;stroke:#a79afb;stroke-width:1.8}.rules194-map-shell .engine-dot{fill:#6250dc}.rules194-map-shell .ai{font-size:9px;font-weight:900;fill:#fff}.rules194-map-shell .engine-title{font-size:12px;font-weight:850;fill:#24354f}.rules194-map-shell .gate.g1{stroke:#86efac}.rules194-map-shell .gate.g2{stroke:#93c5fd}.rules194-map-shell .gate.g3{stroke:#c4b5fd}.rules194-map-shell .outcome.good{fill:#f0fdf4;stroke:#86efac}.rules194-map-shell .outcome.warn{fill:#fffbeb;stroke:#fcd34d}.rules194-map-shell .outcome.risk{fill:#fff1f2;stroke:#fda4af}.rules194-map-shell .outcome-value{font-size:17px;font-weight:850;fill:#263850}.rules194-map-shell .group{fill:#fff;stroke:#e0e6ef}.rules194-map-shell .group.g1{stroke:#93c5fd}.rules194-map-shell .group.g2{stroke:#c4b5fd}.rules194-map-shell .group.g3{stroke:#6ee7b7}.rules194-map-shell .group.g4{stroke:#67e8f9}.rules194-map-shell .group.g5{stroke:#fdba74}.rules194-map-shell .node{cursor:pointer}.rules194-map-shell .node:hover rect,.rules194-map-shell .node:focus rect{stroke:#6250dc!important;stroke-width:2.2;filter:drop-shadow(0 6px 10px rgba(70,57,157,.12))}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid #e6eaf2;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(27,39,75,.03);margin-bottom:14px}.rules194-flow button{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start;min-height:78px;padding:12px;border:0;border-left:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer}.rules194-flow button:first-child{border-left:0}.rules194-flow button:hover{background:#fafbff}.rules194-flow button>i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f1efff;color:#6250dc;font-size:8px;font-style:normal;font-weight:900}.rules194-flow b{display:block;color:#30425a;font-size:10px}.rules194-flow small{display:block;margin-top:3px;color:#7b8798;font-size:8.4px;line-height:1.45}.rules194-flow em{position:absolute;right:-5px;top:28px;color:#a3adbb;font-size:19px;font-style:normal;z-index:2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-bento.analytics{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}.rules194-performance svg{display:block;width:100%;height:270px;padding:0 12px 12px}.rules194-performance .cov{fill:#6f74f6}.rules194-performance .conf{fill:#14b8a6}.rules194-performance .x{font-size:8.8px;fill:#65758b}.rules194-drivers{padding:0 12px 12px}.rules194-drivers button{display:grid;grid-template-columns:24px minmax(0,1fr) 38px;gap:9px;align-items:center;width:100%;padding:9px 7px;border:0;border-top:1px solid #eef1f5;background:#fff;text-align:left;cursor:pointer}.rules194-drivers button:hover{background:#fafbff}.rules194-drivers button>i{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#f1efff;color:#6250dc;font-size:8px;font-style:normal;font-weight:850}.rules194-drivers button span b{display:block;color:#34465e;font-size:9.5px}.rules194-drivers button span em{display:block;height:6px;margin-top:5px;border-radius:999px;background:#eef1f5;overflow:hidden}.rules194-drivers button span u{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6f74f6,#8d83ff);text-decoration:none}.rules194-drivers button>strong{color:#263850;font-size:11px;text-align:right}
#ledger-v127-root[data-screen="auto-category-rules"] .rules194-root .tri17-table{max-width:100%;overflow:hidden;border-radius:16px}.rules194-root .tri17-table .triv14-table-scroll{overflow-x:auto!important;max-width:100%;overscroll-behavior-x:contain}.rules194-root .tri17-table table{min-width:1580px!important;width:max-content!important}
@media(max-width:1180px){#ledger-v127-root[data-screen="auto-category-rules"] .rules194-hero{grid-template-columns:1fr}.rules194-hero-side{border-right:0!important;border-bottom:1px solid var(--r194-line)}.rules194-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.rules194-bento,.rules194-bento.analytics{grid-template-columns:1fr!important}.rules194-insights{grid-template-columns:1fr 1fr}.rules194-flow{grid-template-columns:1fr 1fr 1fr}.rules194-flow button{border-top:1px solid #edf1f5}.rules194-flow em{display:none}}
@media(max-width:820px){#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rules194-insights{grid-template-columns:1fr}.rules194-hero-chart>header,.rules194-map>header{display:block}.rules194-hero-chart header>span{display:inline-block;margin-top:8px}.rules194-map>header>div:last-child{margin-top:10px}.rules194-class-table>.head,.rules194-class-table>button{grid-template-columns:minmax(120px,1.5fr) .9fr .5fr .65fr}.rules194-class-table>.head>*:nth-child(5),.rules194-class-table>.head>*:nth-child(6),.rules194-class-table>button>*:nth-child(5),.rules194-class-table>button>*:nth-child(6){display:none}.rules194-flow{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#ledger-v127-root[data-screen="auto-category-rules"] .rules194-metrics{grid-template-columns:1fr}.rules194-hero-chart{padding:16px 12px 12px}.rules194-hero-chart svg{height:260px}.rules194-flow{grid-template-columns:1fr}.rules194-class-table>.head,.rules194-class-table>button{grid-template-columns:minmax(110px,1.3fr) .85fr .45fr}.rules194-class-table>.head>*:nth-child(4),.rules194-class-table>button>*:nth-child(4){display:none}}


/* ============================================================================
   UX18 ROUTE / LAYOUT STABILITY HOTFIX
   No specialist route may solve width by clipping its entire page.
   ============================================================================ */
#ledger-v127-root[data-screen="auto-category-rules"],
#ledger-v127-root[data-screen="auto-category-rules"] .lispec-root,
#ledger-v127-root[data-screen="accounts"],
#ledger-v127-root[data-screen="accounts"] .lispec-root{
  overflow-x:visible!important;
}
/* Frozen Audit Trail owns its own geometry. Do not inherit rules/accounts layout. */
#ledger-v127-root[data-screen="audit"] .rules183-root,
#ledger-v127-root[data-screen="audit"] .rules190-root,
#ledger-v127-root[data-screen="audit"] .rules191-root,
#ledger-v127-root[data-screen="audit"] .rules194-root{display:none!important}


/* ============================================================================
   V20.0 — LEDGER INTELLIGENCE CENTRAL WORKSPACE
   IMPORTANT: selectors are specialist-content scoped only.
   No top nav, left nav, hero geometry, horizontal navigation, shell right rail,
   brand-system or global-page-grid selector is changed here.
   ============================================================================ */

#ledger-v127-root[data-screen="auto-category-rules"] .central-ux20,
#ledger-v127-root[data-screen="accounts"] .central-ux20{
  --cw-ink:#17233f;
  --cw-muted:#64748f;
  --cw-line:#e3e9f2;
  --cw-soft:#f8fafe;
  --cw-violet:#6253e5;
  --cw-blue:#286ff0;
  --cw-green:#17a673;
  --cw-amber:#e69b21;
  --cw-red:#e65d66;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--cw-ink);
  font-size:13px;
  letter-spacing:-.005em;
}

/* Streamlined filters — Ledger Feed density, only authoritative global filters. */
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filterbar,
#ledger-v127-root[data-screen="accounts"] .ux20-filterbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;
  margin:8px 0 12px;padding:11px 12px;border:1px solid var(--cw-line);
  border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(20,40,80,.025);
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields{
  display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;min-width:0;
}
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields{grid-template-columns:repeat(4,minmax(130px,1fr))}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields label,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields label{min-width:0}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields label>span,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields label>span{
  display:block;margin:0 0 4px;color:#748198;font-size:9px;font-weight:650;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields select,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields select{
  width:100%;height:34px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;color:#33435c;
  padding:0 30px 0 9px;font:600 10px/1.2 inherit;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:7px;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions>span,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions>span{max-width:210px;color:#8a95a6;font-size:8.5px;line-height:1.35;text-align:right}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions button,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions button{
  height:34px;min-width:66px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;color:#5d6b80;font-size:9.5px;font-weight:750;cursor:pointer;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions .apply,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions .apply{border-color:#6753e6;background:#6753e6;color:#fff}

/* Auto Category Rules: research canvas is the first large card under filters. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map{margin:0 0 10px;border-radius:12px;box-shadow:0 1px 2px rgba(20,40,80,.025)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map>header{padding:13px 15px 10px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map>header h2{font-size:17px;line-height:1.25}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map>header p{font-size:10.5px;line-height:1.5}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map .rules194-map-shell{overflow:auto;max-width:100%;overscroll-behavior-x:contain}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map .rules194-map-shell svg{
  display:block;width:100%;min-width:1040px;height:auto;aspect-ratio:1200/470;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-map svg text{
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}

/* KPI strip follows Ledger Feed's quiet, readable summary row. */
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 12px;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row button{
  position:relative;min-width:0;min-height:68px;padding:9px 10px;border:1px solid var(--cw-line);border-radius:8px;
  background:#fff;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(20,40,80,.02);
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row button>span{position:absolute;right:8px;top:7px;color:#b5bfce;font-size:7.5px;font-weight:800}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row b{display:block;color:#15213a;font-size:16px;line-height:1.1;margin-top:5px}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row small{display:block;margin-top:5px;color:#728198;font-size:8.7px}

/* Preserve three-column content contract / right-rail structure below full-width map. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout{
  display:grid;grid-template-columns:minmax(250px,285px) minmax(0,1fr) minmax(280px,320px);
  gap:12px;align-items:start;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>.rules194-panel,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>.rules194-flow{grid-column:span 2}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart{
  min-width:0;border:1px solid var(--cw-line);border-radius:13px;background:#fff;padding:13px;
  box-shadow:0 1px 2px rgba(20,40,80,.025);cursor:pointer;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart>header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart>header span:first-child{
  display:block;color:#6253e5;font-size:9px;font-weight:800;letter-spacing:.10em;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart h3{margin:3px 0;color:#1d2942;font-size:12px;line-height:1.35}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart header p{margin:3px 0 0;color:#8994a8;font-size:9.5px;line-height:1.45}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-legend{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;color:#728198;font-size:8.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-legend span{display:flex;align-items:center;gap:4px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-legend i{width:8px;height:8px;border-radius:2px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-legend .eligible{background:#21ae7d}.rules200-legend .review{background:#e9a63a}.rules200-legend .conflict{background:#e7656d}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stacks{display:grid;gap:12px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row{
  display:grid;grid-template-columns:minmax(100px,.8fr) minmax(160px,2fr) 42px;gap:9px;align-items:center;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row>div:first-child b{display:block;color:#33435c;font-size:9.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row>div:first-child small{display:block;margin-top:2px;color:#8a96a8;font-size:7.8px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row .stack{display:flex;height:13px;border-radius:999px;overflow:hidden;background:#eef2f6}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row .stack i{display:block;height:100%}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row .stack .eligible{background:#21ae7d}.rules200-stack-row .stack .review{background:#e9a63a}.rules200-stack-row .stack .conflict{background:#e7656d}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row>strong{text-align:right;color:#2d3c55;font-size:9.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-target{flex:none;padding:5px 8px;border:1px solid #e3e7f0;border-radius:8px;background:#fafbfe;color:#64748b!important;font-size:8.5px!important;letter-spacing:0!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets{display:grid;gap:14px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets>div{display:grid;grid-template-columns:minmax(105px,.85fr) minmax(150px,2fr) 84px;gap:9px;align-items:center}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .meta b{display:block;color:#33435c;font-size:9.5px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .meta span{display:block;color:#8a96a8;font-size:7.8px;margin-top:2px}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .bullet{position:relative;height:14px;border-radius:999px;background:#eef2f7}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .coverage{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#bfd1ff,#5874ee)}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .target{position:absolute;top:-4px;bottom:-4px;width:1px;border-left:1px dashed #ef646d}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .confidence{position:absolute;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border:2px solid #fff;border-radius:50%;background:#6553e5;box-shadow:0 0 0 1px #6553e5;text-decoration:none}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets .confidence span{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);white-space:nowrap;color:#6553e5;font-size:7.5px;font-weight:800}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets>div>strong{text-align:right;color:#516177;font-size:8.5px}

/* Accounts: make the research map full-width instead of squeezing it between rails. */
#ledger-v127-root[data-screen="accounts"] .acctcoa200-map{margin:0 0 10px}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-map .acctcoa193-svg-shell{
  width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;background:#fcfdfe;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-map .acctcoa193-svg{
  display:block;width:100%;min-width:1100px;height:auto;aspect-ratio:1240/530;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{
  display:grid;grid-template-columns:minmax(245px,285px) minmax(0,1fr) minmax(270px,315px);
  gap:12px;align-items:start;margin-top:12px;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main{display:grid;gap:12px;min-width:0}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-chart{border-radius:13px;box-shadow:0 1px 2px rgba(20,40,80,.025)}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-kpis{margin-top:0}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-story{margin-top:10px}

/* Universal Central Workspace contextual drawer — adaptive width, page-specific content,
   full viewport height, transparent outside area, clicked visual shown in drawer. */
#ledger-v127-root .ux20-backdrop{
  position:fixed;inset:0;z-index:2147482400;background:transparent;
}
#ledger-v127-root .ux20-drawer{
  position:fixed;right:0;top:0;bottom:0;z-index:2147482401;
  width:clamp(620px,48vw,860px);max-width:calc(100vw - 240px);height:100dvh;
  display:flex;flex-direction:column;background:#fff;border-left:1px solid #dfe5ee;
  box-shadow:-18px 0 48px rgba(15,23,42,.13);animation:ux20DrawerIn .18s ease-out;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  color:#17233f;
}
@keyframes ux20DrawerIn{from{transform:translateX(26px);opacity:.65}to{transform:translateX(0);opacity:1}}
#ledger-v127-root .ux20-drawer-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;
  border-bottom:1px solid #e7ebf2;background:linear-gradient(180deg,#fff,#fbfcff);
}
#ledger-v127-root .ux20-drawer-head>div{min-width:0}
#ledger-v127-root .ux20-drawer-head span{display:block;color:#6554df;font-size:9px;font-weight:800;letter-spacing:.11em}
#ledger-v127-root .ux20-drawer-head h2{margin:5px 0 4px;color:#14213b;font-size:21px;line-height:1.22;font-weight:850}
#ledger-v127-root .ux20-drawer-head p{margin:0;color:#748198;font-size:10.5px;line-height:1.5}
#ledger-v127-root .ux20-drawer-head>button{
  flex:0 0 auto;width:38px;height:38px;border:0;border-radius:10px;background:#f3f5f9;color:#526078;font-size:25px;line-height:1;cursor:pointer;
}
#ledger-v127-root .ux20-utils{
  display:flex;align-items:center;gap:7px;padding:8px 20px;border-bottom:1px solid #edf0f5;background:#fff;
}
#ledger-v127-root .ux20-utils>span{margin-right:auto;color:#8b96a8;font-size:8px;font-weight:800;letter-spacing:.09em}
#ledger-v127-root .ux20-utils button{height:29px;border:1px solid #e2e7ef;border-radius:7px;background:#fff;color:#596980;padding:0 9px;font-size:8.5px;font-weight:700;cursor:pointer}
#ledger-v127-root .ux20-tabs{
  display:flex;align-items:center;gap:0;min-height:42px;padding:0 18px;border-bottom:1px solid #e7ebf2;background:#fff;overflow-x:auto;
}
#ledger-v127-root .ux20-tabs button{
  flex:0 0 auto;align-self:stretch;position:relative;border:0;background:transparent;color:#6f7d91;padding:0 11px;font-size:9.5px;font-weight:720;cursor:pointer;
}
#ledger-v127-root .ux20-tabs button.active{color:#5644d3}
#ledger-v127-root .ux20-tabs button.active:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;border-radius:2px;background:#6253e5}
#ledger-v127-root .ux20-drawer-body{flex:1;overflow:auto;padding:16px 18px 28px;background:#f8faff}
#ledger-v127-root .ux20-clicked{
  border:1px solid #dfe5ee;border-radius:14px;background:#fff;padding:12px;box-shadow:0 1px 2px rgba(15,23,42,.03);margin-bottom:12px;
}
#ledger-v127-root .ux20-clicked>header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}
#ledger-v127-root .ux20-clicked>header span{color:#6554df;font-size:8px;font-weight:850;letter-spacing:.10em}
#ledger-v127-root .ux20-clicked>header b{color:#47566d;font-size:9px}
#ledger-v127-root .ux20-clicked-stage{min-width:0;overflow:hidden}
#ledger-v127-root .ux20-clicked-stage>[data-ux20-visual],
#ledger-v127-root .ux20-clicked-stage>.rules194-map,
#ledger-v127-root .ux20-clicked-stage>.rules200-chart,
#ledger-v127-root .ux20-clicked-stage>.acctcoa193-map,
#ledger-v127-root .ux20-clicked-stage>.acctcoa193-chart{
  margin:0!important;box-shadow:none!important;border:0!important;transform:none!important;
}
#ledger-v127-root .ux20-clicked-stage .rules194-map-shell,
#ledger-v127-root .ux20-clicked-stage .acctcoa193-svg-shell{overflow:auto!important}
#ledger-v127-root .ux20-clicked-stage svg{max-width:100%;height:auto}
#ledger-v127-root .ux20-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
#ledger-v127-root .ux20-facts article{padding:10px 11px;border:1px solid #e5e9f0;border-radius:10px;background:#fff}
#ledger-v127-root .ux20-facts span{display:block;color:#7b879a;font-size:8.2px}
#ledger-v127-root .ux20-facts b{display:block;margin-top:4px;color:#26344e;font-size:12.5px}
#ledger-v127-root .ux20-narrative,
#ledger-v127-root .ux20-records,
#ledger-v127-root .ux20-actions,
#ledger-v127-root .ux20-related{
  border:1px solid #e1e6ef;border-radius:13px;background:#fff;padding:14px 15px;margin-bottom:12px;
}
#ledger-v127-root .ux20-narrative>span{display:block;color:#6554df;font-size:8px;font-weight:850;letter-spacing:.10em}
#ledger-v127-root .ux20-narrative h3,
#ledger-v127-root .ux20-records h3,
#ledger-v127-root .ux20-actions h3{margin:4px 0 8px;color:#21304a;font-size:11.5px}
#ledger-v127-root .ux20-narrative p{margin:0;color:#66758d;font-size:10px;line-height:1.6}
#ledger-v127-root .ux20-callouts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
#ledger-v127-root .ux20-callouts article{padding:10px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe}
#ledger-v127-root .ux20-callouts b{display:block;color:#34435c;font-size:9px}
#ledger-v127-root .ux20-callouts p{margin-top:4px;font-size:8.8px;line-height:1.5}
#ledger-v127-root .ux20-records>header{display:flex;justify-content:space-between;gap:10px;align-items:end;margin-bottom:9px}
#ledger-v127-root .ux20-records>header span{color:#8793a5;font-size:8px}
#ledger-v127-root .ux20-records>div{overflow:auto}
#ledger-v127-root .ux20-records table{width:100%;border-collapse:collapse;min-width:640px}
#ledger-v127-root .ux20-records th{padding:7px 8px;background:#f7f8fb;color:#77849a;font-size:7.8px;text-align:left}
#ledger-v127-root .ux20-records td{padding:8px;border-bottom:1px solid #edf0f5;color:#43536b;font-size:8.5px}
#ledger-v127-root .ux20-actions{display:grid;gap:7px}
#ledger-v127-root .ux20-actions button{display:grid;grid-template-columns:24px 1fr;gap:9px;align-items:start;border:1px solid #e8ecf2;border-radius:9px;background:#fff;padding:9px;text-align:left;cursor:pointer}
#ledger-v127-root .ux20-actions button>i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f0edff;color:#5f49d7;font-size:8px;font-weight:800;font-style:normal}
#ledger-v127-root .ux20-actions button b{display:block;color:#35455e;font-size:9px}
#ledger-v127-root .ux20-actions button small{display:block;margin-top:3px;color:#8994a5;font-size:8px;line-height:1.4}
#ledger-v127-root .ux20-related{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#ledger-v127-root .ux20-related article{padding:10px;border:1px solid #edf0f5;border-radius:9px;background:#fafbfe}
#ledger-v127-root .ux20-related article span{display:block;color:#7e8a9d;font-size:7.5px}
#ledger-v127-root .ux20-related article b{display:block;margin-top:3px;color:#33435b;font-size:9.5px}
#ledger-v127-root .ux20-related article small{display:block;margin-top:3px;color:#8b96a6;font-size:7.8px;line-height:1.4}

/* Do not clip whole pages to simulate responsiveness. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-root,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-root{overflow:visible!important;min-width:0!important;max-width:100%!important}

/* Responsive specialist content only. Shell/global page grid remain unchanged. */
@media(max-width:1500px){
 #ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout,
 #ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{grid-template-columns:minmax(240px,275px) minmax(0,1fr)}
 #ledger-v127-root[data-screen="auto-category-rules"] .rules190-right,
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-filterbar,
 #ledger-v127-root[data-screen="accounts"] .ux20-filterbar{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions,
 #ledger-v127-root[data-screen="accounts"] .ux20-filter-actions{justify-content:flex-start}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions>span,
 #ledger-v127-root[data-screen="accounts"] .ux20-filter-actions>span{margin-right:auto;text-align:left}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout,
 #ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="auto-category-rules"] .rules190-right,
 #ledger-v127-root[data-screen="accounts"] .acctcoa193-right{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="auto-category-rules"] .rules200-center{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>*{grid-column:span 1!important}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields{grid-template-columns:repeat(3,minmax(120px,1fr))}
 #ledger-v127-root[data-screen="accounts"] .ux20-filter-fields{grid-template-columns:repeat(2,minmax(130px,1fr))}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}
 #ledger-v127-root .ux20-drawer{width:min(760px,calc(100vw - 48px));max-width:none}
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields,
 #ledger-v127-root[data-screen="accounts"] .ux20-filter-fields{grid-template-columns:1fr 1fr}
 #ledger-v127-root[data-screen="auto-category-rules"] .ux20-kpi-row{grid-template-columns:1fr 1fr}
 #ledger-v127-root .ux20-drawer{width:calc(100vw - 24px);max-width:none}
 #ledger-v127-root .ux20-facts{grid-template-columns:1fr 1fr}
 #ledger-v127-root .ux20-callouts,#ledger-v127-root .ux20-related{grid-template-columns:1fr}
}


/* ============================================================================
   V20.1 — DEFECT CLOSURE + UNIVERSAL CENTRAL WORKSPACE GUARDRAILS
   Scope is central specialist workspace only. Locked shell/navigation/brand/grid
   are not modified.
   ============================================================================ */

/* --------------------------------------------------------------------------
   UNIVERSAL TOKENS — use on all future specialist pages
   -------------------------------------------------------------------------- */
#ledger-v127-root{
  --ux21-font:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ux21-space-1:4px;
  --ux21-space-2:8px;
  --ux21-space-3:12px;
  --ux21-space-4:16px;
  --ux21-space-5:20px;
  --ux21-space-6:24px;
  --ux21-radius-sm:8px;
  --ux21-radius-md:12px;
  --ux21-radius-lg:14px;
  --ux21-border:#e3e8f0;
  --ux21-bg:#ffffff;
  --ux21-bg-soft:#f8fafe;
  --ux21-text:#1a2842;
  --ux21-muted:#6f7f96;
  --ux21-primary:#6253e5;
  --ux21-shadow:0 1px 2px rgba(21,37,66,.025);
}

/* --------------------------------------------------------------------------
   DEFECT 1 — STANDARD CANVAS CARD MAP GEOMETRY / ALIGNMENT
   One contract for research maps: consistent card/header/viewport proportions.
   -------------------------------------------------------------------------- */
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-card,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-card{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0 0 12px;
  border:1px solid var(--ux21-border);
  border-radius:var(--ux21-radius-md);
  background:var(--ux21-bg);
  box-shadow:var(--ux21-shadow);
  overflow:hidden;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-card>header,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-card>header{
  min-height:66px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:13px 15px 11px;
  border-bottom:1px solid #edf1f5;
  background:linear-gradient(180deg,#fff,#fcfdff);
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-card>header>div:first-child,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-card>header>div:first-child{min-width:0}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-card>header h2,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-card>header h2{
  margin:3px 0 2px;
  color:var(--ux21-text);
  font:800 17px/1.28 var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-card>header p,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-card>header p{
  max-width:920px;
  margin:0;
  color:var(--ux21-muted);
  font:500 10.5px/1.55 var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-viewport,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-viewport{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  scrollbar-gutter:stable;
  background:#fcfdfe;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-viewport>svg,
#ledger-v127-root[data-screen="accounts"] .ux21-canvas-viewport>svg{
  display:block;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  margin:0;
}
/* Preserve readable minimum only when the central viewport is genuinely narrow. */
@media(max-width:1180px){
  #ledger-v127-root[data-screen="auto-category-rules"] .ux21-canvas-viewport>svg{min-width:980px!important}
  #ledger-v127-root[data-screen="accounts"] .ux21-canvas-viewport>svg{min-width:1040px!important}
}

/* --------------------------------------------------------------------------
   DEFECT 2 — NO DOCUMENT-LEVEL HORIZONTAL SCROLL CAUSED BY WORKSPACE CONTENT.
   We do not hide/clip the document. Instead every normal panel can shrink and
   only explicitly wide tables/maps receive their own scroll viewport.
   -------------------------------------------------------------------------- */
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-root,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-root{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-root>*,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-root>*,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout>*,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>*{
  max-width:100%;
  min-width:0;
}
#ledger-v127-root[data-screen="auto-category-rules"] .tri17-table,
#ledger-v127-root[data-screen="accounts"] .acctcoa189-table{width:100%;max-width:100%;min-width:0;overflow:hidden}
#ledger-v127-root[data-screen="auto-category-rules"] .triv14-table-scroll,
#ledger-v127-root[data-screen="accounts"] .acctcoa189-table .scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto!important;
  overflow-y:visible;
  overscroll-behavior-x:contain;
  scrollbar-gutter:stable;
}

/* --------------------------------------------------------------------------
   DEFECT 3 — DRAWER TEXT / VISUAL OVERFLOW
   -------------------------------------------------------------------------- */
#ledger-v127-root .ux21-drawer,
#ledger-v127-root .ux21-drawer *,
#ledger-v127-root .ux21-drawer *::before,
#ledger-v127-root .ux21-drawer *::after{
  min-width:0;
  box-sizing:border-box;
}
#ledger-v127-root .ux21-drawer{
  overflow:hidden;
}
#ledger-v127-root .ux21-drawer p,
#ledger-v127-root .ux21-drawer span,
#ledger-v127-root .ux21-drawer b,
#ledger-v127-root .ux21-drawer small,
#ledger-v127-root .ux21-drawer h1,
#ledger-v127-root .ux21-drawer h2,
#ledger-v127-root .ux21-drawer h3,
#ledger-v127-root .ux21-drawer h4,
#ledger-v127-root .ux21-drawer td,
#ledger-v127-root .ux21-drawer th{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal;
}
#ledger-v127-root .ux21-drawer .ux20-drawer-body{
  overflow-x:hidden;
  overflow-y:auto;
}
#ledger-v127-root .ux21-drawer .ux20-clicked-stage{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .ux21-canvas-card,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .rules200-chart,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .acctcoa200-chart,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .acctcoa193-chart{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .ux21-canvas-viewport{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .ux21-canvas-viewport>svg,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .rules194-map-shell>svg,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .acctcoa193-svg-shell>svg{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
}
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .rules200-stack-row,
#ledger-v127-root .ux21-drawer .ux20-clicked-stage .rules200-bullets>div{
  grid-template-columns:minmax(96px,.75fr) minmax(140px,1.8fr) 60px!important;
}

/* --------------------------------------------------------------------------
   DEFECT 4 — STANDARD FILTER TYPOGRAPHY / SIZE / ALIGNMENT
   Current pages use same central-workspace filter anatomy.
   -------------------------------------------------------------------------- */
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filterbar,
#ledger-v127-root[data-screen="accounts"] .ux20-filterbar{
  min-height:66px;
  align-items:end;
  padding:10px 12px;
  gap:12px;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields{align-items:end}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields label>span,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields label>span{
  min-height:13px;
  margin:0 0 4px;
  color:#718096;
  font:650 9px/1.3 var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields select,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields select{
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  padding:0 30px 0 9px!important;
  color:#33435c!important;
  font:600 10px/1.2 var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions button,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions button{
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  font:750 9.5px/1 var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions>span,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions>span{
  color:#8793a5;
  font:500 8.5px/1.35 var(--ux21-font)!important;
}

/* Auto-rules analytics: default to one readable column. Only very wide workspaces
   put the two decision charts side-by-side. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>*{grid-column:auto!important}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-chart{
  width:100%;
  min-height:248px;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-stack-row,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-bullets>div{
  min-width:0;
}
@media(min-width:1880px){
  #ledger-v127-root[data-screen="auto-category-rules"] .rules200-center{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>.rules194-panel,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules200-center>.rules194-flow{
    grid-column:span 2!important;
  }
}

/* --------------------------------------------------------------------------
   DEFECT 5 + 6 — CHART OF ACCOUNTS CARD GAPS / DRAWER ALIGNMENT / CARD SIZING
   -------------------------------------------------------------------------- */
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{
  align-items:start;
  gap:12px!important;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>aside,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right{
  align-content:start;
  min-width:0;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main .acctcoa193-analytics{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  align-items:stretch;
  grid-auto-rows:auto;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main .acctcoa193-chart,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main .acctcoa193-chart.span2{
  grid-column:auto!important;
  width:100%!important;
  min-height:286px;
  height:auto;
  margin:0;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right{
  gap:12px!important;
}
#ledger-v127-root[data-screen="accounts"] .acctcoa193-ai section,
#ledger-v127-root[data-screen="accounts"] .acctcoa193-right section{
  margin:0!important;
}
@media(min-width:1900px){
  #ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main .acctcoa193-analytics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main .acctcoa193-chart.span2{
    grid-column:span 2!important;
  }
}

/* --------------------------------------------------------------------------
   UNIVERSAL ADAPTIVE DRAWER
   Full workspace height, leaves page context visible, width depends on content.
   It does not alter locked shell geometry; it overlays only when invoked.
   -------------------------------------------------------------------------- */
#ledger-v127-root .ux20-backdrop{
  top:var(--ux21-top,0)!important;
  left:var(--ux21-left,0)!important;
}
#ledger-v127-root .ux21-drawer{
  top:var(--ux21-top,0)!important;
  bottom:0!important;
  height:calc(100dvh - var(--ux21-top,0px))!important;
  max-height:calc(100dvh - var(--ux21-top,0px))!important;
  width:clamp(560px,40vw,720px)!important;
  max-width:calc(100vw - max(var(--ux21-left,0px),320px))!important;
  border-radius:14px 0 0 14px;
}
#ledger-v127-root .ux21-drawer.kind-map{
  width:clamp(680px,48vw,900px)!important;
}
#ledger-v127-root .ux21-drawer.kind-row,
#ledger-v127-root .ux21-drawer.kind-record{
  width:clamp(600px,42vw,760px)!important;
}
#ledger-v127-root .ux21-drawer.kind-kpi{
  width:clamp(520px,36vw,650px)!important;
}
#ledger-v127-root .ux21-drawer .ux20-drawer-head{flex:0 0 auto}
#ledger-v127-root .ux21-drawer .ux20-utils,
#ledger-v127-root .ux21-drawer .ux20-tabs{flex:0 0 auto}
#ledger-v127-root .ux21-drawer .ux20-drawer-body{flex:1 1 auto;min-height:0}

/* Drawer tabs are one immutable interaction grammar across specialist pages. */
#ledger-v127-root .ux21-drawer .ux20-tabs{
  scrollbar-width:thin;
  scrollbar-color:#d7ddeb transparent;
}
#ledger-v127-root .ux21-drawer .ux20-tabs button{
  min-width:max-content;
}

/* Small viewports: drawer remains usable without taking the entire screen when
   there is enough space; mobile naturally becomes near-full width. */
@media(max-width:1100px){
  #ledger-v127-root .ux21-drawer,
  #ledger-v127-root .ux21-drawer.kind-map,
  #ledger-v127-root .ux21-drawer.kind-row,
  #ledger-v127-root .ux21-drawer.kind-record,
  #ledger-v127-root .ux21-drawer.kind-kpi{
    width:min(760px,calc(100vw - 32px))!important;
    max-width:none!important;
  }
}
@media(max-width:680px){
  #ledger-v127-root .ux21-drawer,
  #ledger-v127-root .ux21-drawer.kind-map,
  #ledger-v127-root .ux21-drawer.kind-row,
  #ledger-v127-root .ux21-drawer.kind-record,
  #ledger-v127-root .ux21-drawer.kind-kpi{
    width:calc(100vw - 12px)!important;
    border-radius:12px 0 0 12px;
  }
}

/* Universal text scale for newly developed Central Workspace cards.
   Existing frozen pages retain their own page-local scale. */
#ledger-v127-root[data-screen="auto-category-rules"] .central-ux20,
#ledger-v127-root[data-screen="accounts"] .central-ux20{
  font-family:var(--ux21-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .central-ux20 h1,
#ledger-v127-root[data-screen="accounts"] .central-ux20 h1{font-size:20px;line-height:1.25}
#ledger-v127-root[data-screen="auto-category-rules"] .central-ux20 h2,
#ledger-v127-root[data-screen="accounts"] .central-ux20 h2{font-size:17px;line-height:1.30}
#ledger-v127-root[data-screen="auto-category-rules"] .central-ux20 h3,
#ledger-v127-root[data-screen="accounts"] .central-ux20 h3{font-size:12px;line-height:1.4}


/* ============================================================================
   V20.4 — CENTRAL WORKSPACE STANDARDISATION
   IMPORTANT:
   - Ledger Feed is NOT targeted in this block.
   - Matching & Fraud is NOT targeted in this block.
   - Current explicit pages: Audit Trail, Auto-Category Rules, Chart of Accounts.
   - Future pages should opt into .ins-standard-page and its component classes.
   ============================================================================ */

#ledger-v127-root{
  --ins-v24-font:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --ins-v24-border:#e3e8f0;
  --ins-v24-surface:#ffffff;
  --ins-v24-subtle:#f8fafe;
  --ins-v24-text:#1d2c47;
  --ins-v24-muted:#74839a;
  --ins-v24-primary:#654fe5;
  --ins-v24-gap:12px;
  --ins-v24-card-radius:12px;
  --ins-v24-control-radius:9px;
  --ins-v24-control-h:34px;
  --ins-v24-canvas-h:510px;
  --ins-v24-canvas-head-h:58px;
}

/* ------------------- ZERO PAGE-LEVEL HORIZONTAL DRIFT ------------------- */
#ledger-v127-root[data-screen="audit"],
#ledger-v127-root[data-screen="auto-category-rules"],
#ledger-v127-root[data-screen="accounts"],
#ledger-v127-root .ins-standard-page{
  inline-size:100%!important;
  max-inline-size:100%!important;
  min-inline-size:0!important;
}

#ledger-v127-root[data-screen="audit"]>.lispec-root,
#ledger-v127-root[data-screen="auto-category-rules"]>.lispec-root,
#ledger-v127-root[data-screen="accounts"]>.lispec-root,
#ledger-v127-root[data-screen="audit"] .audit24-root,
#ledger-v127-root[data-screen="auto-category-rules"] :is(.tri17-root,.rules200-root),
#ledger-v127-root[data-screen="accounts"] :is(.rem15-root,.acctcoa189-root,.acctcoa200-root){
  inline-size:100%!important;
  max-inline-size:100%!important;
  min-inline-size:0!important;
  overflow-x:clip!important;
}

#ledger-v127-root[data-screen="audit"] .audit24-root>*,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-root>*,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-root>*,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout>*,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Wide content is allowed to scroll only inside its own component. */
#ledger-v127-root[data-screen="audit"] :is(.audit24-table-wrap,.ux24-map-viewport),
#ledger-v127-root[data-screen="auto-category-rules"] :is(.triv14-table-scroll,.ux24-map-viewport),
#ledger-v127-root[data-screen="accounts"] :is(.acctcoa189-table .scroll,.ux24-map-viewport),
#ledger-v127-root .ins-standard-table-scroll,
#ledger-v127-root .ins-standard-map-viewport{
  overflow-x:auto!important;
  overflow-y:hidden;
  max-width:100%!important;
  overscroll-behavior-x:contain;
  scrollbar-gutter:stable;
}

/* ------------------------ COMMON TYPOGRAPHY ------------------------- */
#ledger-v127-root[data-screen="audit"] .audit24-root,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-root,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-root,
#ledger-v127-root .ins-standard-page{
  font-family:var(--ins-v24-font)!important;
  color:var(--ins-v24-text);
}

/* ----------------------- COMMON FILTER BAR -------------------------- */
#ledger-v127-root[data-screen="audit"] .audit24-filterbar,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filterbar,
#ledger-v127-root[data-screen="accounts"] .ux20-filterbar,
#ledger-v127-root .ins-standard-filterbar{
  box-sizing:border-box;
  min-width:0!important;
  max-width:100%!important;
  margin:0 0 12px!important;
  padding:10px 12px!important;
  border:1px solid var(--ins-v24-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(21,37,66,.025)!important;
  align-items:end!important;
}

#ledger-v127-root[data-screen="audit"] :is(.audit24-core-filters label,.audit24-more label),
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields label,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields label,
#ledger-v127-root .ins-standard-filter-field{
  min-width:0;
}

#ledger-v127-root[data-screen="audit"] :is(.audit24-core-filters label,.audit24-more label),
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields label>span,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields label>span,
#ledger-v127-root .ins-standard-filter-label{
  color:#7b899d!important;
  font:650 8.5px/1.25 var(--ins-v24-font)!important;
}

#ledger-v127-root[data-screen="audit"] :is(.audit24-core-filters select,.audit24-more select),
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-fields select,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-fields select,
#ledger-v127-root .ins-standard-filter-control{
  height:var(--ins-v24-control-h)!important;
  min-height:var(--ins-v24-control-h)!important;
  border:1px solid #dfe5ee!important;
  border-radius:var(--ins-v24-control-radius)!important;
  background:#fff!important;
  color:#465770!important;
  font:600 9.5px/1.2 var(--ins-v24-font)!important;
}

#ledger-v127-root[data-screen="audit"] :is(.audit24-filter-actions button,.audit24-more>summary),
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-filter-actions button,
#ledger-v127-root[data-screen="accounts"] .ux20-filter-actions button,
#ledger-v127-root .ins-standard-filter-action{
  height:var(--ins-v24-control-h)!important;
  min-height:var(--ins-v24-control-h)!important;
  border-radius:var(--ins-v24-control-radius)!important;
  font:750 9.5px/1 var(--ins-v24-font)!important;
}

/* ------------------- COMMON RESEARCH CANVAS FRAME ------------------- */
#ledger-v127-root[data-screen="audit"] .audit29-map,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-card,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-card,
#ledger-v127-root .ins-standard-canvas{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  border:1px solid var(--ins-v24-border)!important;
  border-radius:var(--ins-v24-card-radius)!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(21,37,66,.025)!important;
  overflow:hidden!important;
}

#ledger-v127-root[data-screen="audit"] .audit29-map-head,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-head,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-head,
#ledger-v127-root .ins-standard-canvas-head{
  box-sizing:border-box;
  height:var(--ins-v24-canvas-head-h)!important;
  min-height:var(--ins-v24-canvas-head-h)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:9px 12px!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
}

#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-head h2,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-head h2,
#ledger-v127-root .ins-standard-canvas-head h2{
  margin:0!important;
  color:#263650!important;
  font:800 13px/1.3 var(--ins-v24-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-head p,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-head p,
#ledger-v127-root .ins-standard-canvas-head p{
  margin:2px 0 0!important;
  color:#7d899d!important;
  font:500 8.8px/1.45 var(--ins-v24-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-head>div:first-child>span,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-head>div:first-child>span,
#ledger-v127-root .ins-standard-canvas-eyebrow{
  color:var(--ins-v24-primary)!important;
  font:850 7.5px/1.2 var(--ins-v24-font)!important;
  letter-spacing:.09em!important;
}

/* Exact same visible map viewport for Audit / Rules / CoA. */
#ledger-v127-root[data-screen="audit"] .ux24-map-viewport,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-map-viewport,
#ledger-v127-root[data-screen="accounts"] .ux24-map-viewport,
#ledger-v127-root .ins-standard-map-viewport{
  box-sizing:border-box;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:var(--ins-v24-canvas-h)!important;
  min-height:var(--ins-v24-canvas-h)!important;
  max-height:var(--ins-v24-canvas-h)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:linear-gradient(180deg,#fcfdff,#fff);
}

#ledger-v127-root[data-screen="audit"] .ux24-map-viewport>svg,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-map-viewport>svg,
#ledger-v127-root[data-screen="accounts"] .ux24-map-viewport>svg,
#ledger-v127-root .ins-standard-map-viewport>svg{
  display:block!important;
  width:100%!important;
  height:var(--ins-v24-canvas-h)!important;
  min-width:0!important;
  max-width:none!important;
}

/* When it genuinely cannot fit: map scrolls, not the page. */
@media(max-width:1120px){
  #ledger-v127-root[data-screen="audit"] .ux24-map-viewport>svg,
  #ledger-v127-root[data-screen="auto-category-rules"] .ux24-map-viewport>svg,
  #ledger-v127-root[data-screen="accounts"] .ux24-map-viewport>svg,
  #ledger-v127-root .ins-standard-map-viewport>svg{
    min-width:1080px!important;
  }
}

/* ------------------- COMMON NODE / CONNECTOR GRAMMAR ---------------- */
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-node-surface{
  fill:#fff;
  stroke:#dce5f2;
  stroke-width:1;
  filter:drop-shadow(0 1px 2px rgba(40,55,85,.035));
}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-red .ux24-node-surface{fill:#fff8f8;stroke:#efcbd0}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-amber .ux24-node-surface{fill:#fffdf8;stroke:#efd6a8}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-teal .ux24-node-surface{fill:#f9fffd;stroke:#bee7da}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-purple .ux24-node-surface{fill:#fcfbff;stroke:#d6cef8}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-cyan .ux24-node-surface{fill:#f8feff;stroke:#c4e7ee}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-svg-node.tone-navy .ux24-node-surface{fill:#fbfcff;stroke:#cad4e3}

#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .ux24-node-dot{fill:#557fe8}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-teal .ux24-node-dot{fill:#22aa84}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-purple .ux24-node-dot{fill:#7657df}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-amber .ux24-node-dot{fill:#e1a041}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-red .ux24-node-dot{fill:#e35f69}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-cyan .ux24-node-dot{fill:#32a7bc}
#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) .tone-navy .ux24-node-dot{fill:#3d5278}

#ledger-v127-root :is(
  [data-screen="audit"],
  [data-screen="auto-category-rules"],
  [data-screen="accounts"]
) :is(.ux24-node-kicker,.ux24-node-title,.ux24-node-sub,.ux24-lane,.ux24-engine-title,.ux24-engine-sub,.ux24-engine-ai,.ux24-exception-kicker,.ux24-exception-title){
  font-family:var(--ins-v24-font)!important;
}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-node-kicker{font-size:5.6px;font-weight:850;letter-spacing:.07em;fill:#8895a7}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-node-title{font-size:8.6px;font-weight:760;fill:#304058}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-node-sub{font-size:6.8px;font-weight:550;fill:#7b899d}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-lane{font-size:7px;font-weight:850;letter-spacing:.08em;fill:#78869a}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-edge{
  fill:none;stroke:#98a7bd;stroke-width:1.25;stroke-opacity:.68;vector-effect:non-scaling-stroke
}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-edge.inferred{stroke:#7657df;stroke-dasharray:4 4}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-edge.evidence{stroke:#22aa84}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-edge.control{stroke:#de9835;stroke-dasharray:4 4}
#ledger-v127-root :is([data-screen="audit"],[data-screen="auto-category-rules"],[data-screen="accounts"]) .ux24-edge.risk{stroke:#e35e68}

/* Major AI/decision object — one semantic exception size. */
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-engine-node rect{
  fill:#f3f0ff;stroke:#8d7af3;stroke-width:1.7;filter:drop-shadow(0 5px 8px rgba(77,63,145,.10))
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-engine-node circle{fill:#644de0}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-engine-ai{font-size:8px;font-weight:850;fill:#fff}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-engine-title{font-size:10px;font-weight:800;fill:#26344f}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-engine-sub{font-size:7px;font-weight:600;fill:#7e8a9d}

/* Compact multi-record exception object — approved exception family. */
#ledger-v127-root[data-screen="accounts"] .ux24-exception-node rect{fill:#fffbeb;stroke:#edbd58;stroke-width:1}
#ledger-v127-root[data-screen="accounts"] .ux24-exception-kicker{font-size:7px;font-weight:850;fill:#b37a16;letter-spacing:.06em}
#ledger-v127-root[data-screen="accounts"] .ux24-exception-title{font-size:8px;font-weight:700;fill:#46536a}

/* -------------------- MAP TOOL / SCENARIO MENU --------------------- */
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-tools,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-tools{
  display:flex;align-items:center;gap:6px;flex:none
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-canvas-tools>button,
#ledger-v127-root[data-screen="accounts"] .ux24-canvas-tools>button,
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>summary{
  height:30px;display:flex;align-items:center;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#607086;
  padding:0 9px;font:700 8.5px/1 var(--ins-v24-font);cursor:pointer;list-style:none
}
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu{position:relative}
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>summary::-webkit-details-marker{display:none}
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>div{
  position:absolute;right:0;top:35px;z-index:20;width:190px;padding:6px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;
  box-shadow:0 16px 38px rgba(23,34,60,.16)
}
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>div button{
  width:100%;min-height:30px;border:0;border-radius:7px;background:#fff;color:#506078;text-align:left;padding:0 8px;font-size:8.5px;cursor:pointer
}
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>div button:hover,
#ledger-v127-root[data-screen="accounts"] .ux24-map-menu>div button.active{background:#f2efff;color:#6048d7}

/* ----------------------- WORKSPACE GEOMETRY ------------------------ */
#ledger-v127-root[data-screen="audit"] .audit29-workspace,
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{
  display:grid!important;
  grid-template-columns:230px minmax(0,1fr) 250px!important;
  gap:var(--ins-v24-gap)!important;
  align-items:start!important;
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules200-center,
#ledger-v127-root[data-screen="accounts"] .acctcoa200-layout>main{
  min-width:0!important;
}
@media(max-width:1260px){
  #ledger-v127-root[data-screen="audit"] .audit29-workspace,
  #ledger-v127-root[data-screen="auto-category-rules"] .rules200-layout,
  #ledger-v127-root[data-screen="accounts"] .acctcoa200-layout{
    grid-template-columns:1fr!important;
  }
}

/* ------------------ REMOVE LARGE DEAD-WHITE GUTTERS ---------------- */
#ledger-v127-root[data-screen="auto-category-rules"] .rules202-fullwidth{
  display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:12px 0!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules202-fullwidth>*{min-width:0!important;max-width:100%!important;margin:0!important}
#ledger-v127-root[data-screen="accounts"] .acctcoa202-lower{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important
}
#ledger-v127-root[data-screen="accounts"] .acctcoa202-lower>*{min-width:0!important;width:100%!important;grid-column:auto!important;margin:0!important}
@media(max-width:1100px){
  #ledger-v127-root[data-screen="accounts"] .acctcoa202-lower{grid-template-columns:1fr!important}
}

/* ----------------------- COMPACT DRAWER SYSTEM --------------------- */
/* Standard is intentionally narrower than V20.2/V20.3.
   It preserves page context and expands only for complex maps/records. */
#ledger-v127-root[data-screen="audit"] .audit24-drawer,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer,
#ledger-v127-root .ins-standard-drawer{
  position:fixed!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  height:100dvh!important;
  width:min(620px,48vw)!important;
  max-width:calc(100vw - 300px)!important;
  border:0!important;
  border-left:1px solid #dfe4ed!important;
  border-radius:0!important;
  background:#f8f9fc!important;
  box-shadow:-20px 0 52px rgba(20,29,48,.15)!important;
  overflow:hidden!important;
  font-family:var(--ins-v24-font)!important;
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer.kind-map,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer.kind-map,
#ledger-v127-root .ins-standard-drawer.kind-map{width:min(720px,54vw)!important}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer.kind-row,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer.kind-row,
#ledger-v127-root .ins-standard-drawer.kind-row{width:min(680px,52vw)!important}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer.kind-kpi,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer.kind-kpi,
#ledger-v127-root .ins-standard-drawer.kind-kpi{width:min(540px,44vw)!important}

#ledger-v127-root[data-screen="audit"] .audit24-drawer>header,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-head,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-head,
#ledger-v127-root .ins-standard-drawer-head{
  flex:0 0 auto!important;
  min-height:78px!important;
  padding:16px 18px 13px!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  border-bottom:0!important;
  background:linear-gradient(135deg,#223061,#4c2a99)!important;
  color:#fff!important;
}
#ledger-v127-root[data-screen="audit"] .audit24-drawer>header h2,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-head h2,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-head h2{
  margin:3px 0!important;color:#fff!important;font:800 17px/1.25 var(--ins-v24-font)!important
}
#ledger-v127-root[data-screen="audit"] .audit24-drawer>header p,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-head p,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-head p{
  margin:0!important;color:#d9def0!important;font:500 8.8px/1.45 var(--ins-v24-font)!important
}
#ledger-v127-root[data-screen="audit"] .audit24-drawer>header span,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-head span,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-head span{
  color:#d6ceff!important;font:850 7.5px/1.2 var(--ins-v24-font)!important;letter-spacing:.09em!important
}
#ledger-v127-root[data-screen="audit"] .audit24-drawer>header>button,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-head>button,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-head>button{
  width:34px!important;height:34px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:9px!important;
  background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:20px!important
}

/* One compact command bar preserves capability depth without making drawer huge. */
#ledger-v127-root[data-screen="audit"] .ux24-commandbar,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar,
#ledger-v127-root .ins-standard-commandbar{
  flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid #e6eaf1;background:#fff
}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>button,
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details>summary,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>button,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details>summary,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>button,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details>summary,
#ledger-v127-root .ins-standard-command{
  min-height:29px;display:flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #e0e5ed;border-radius:8px;
  background:#fff;color:#56657c;font:720 8px/1 var(--ins-v24-font);cursor:pointer;list-style:none
}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>button.primary,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>button.primary,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>button.primary{
  background:#5e48da;border-color:#5e48da;color:#fff
}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>button.primary small,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>button.primary small,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>button.primary small{font-size:6.3px;color:#ddd8ff}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details{position:relative}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details>summary::-webkit-details-marker,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details>summary::-webkit-details-marker,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details>summary::-webkit-details-marker{display:none}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details>div,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details>div,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details>div{
  position:absolute;right:0;top:35px;z-index:30;width:180px;padding:6px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;
  box-shadow:0 14px 34px rgba(23,34,60,.15)
}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details>div button,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details>div button,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details>div button{
  display:block;width:100%;min-height:29px;padding:0 8px;border:0;border-radius:7px;background:#fff;color:#53627a;text-align:left;font-size:8px
}
#ledger-v127-root[data-screen="audit"] .ux24-commandbar>details>div button:hover,
#ledger-v127-root[data-screen="auto-category-rules"] .ux24-commandbar>details>div button:hover,
#ledger-v127-root[data-screen="accounts"] .ux24-commandbar>details>div button:hover{background:#f5f6fa}

/* One standard tab row. */
#ledger-v127-root[data-screen="audit"] .audit24-tabs,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-tabs,
#ledger-v127-root[data-screen="accounts"] .ux20-tabs,
#ledger-v127-root .ins-standard-drawer-tabs{
  flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:3px!important;padding:7px 10px!important;
  min-height:40px!important;border-bottom:1px solid #e6eaf1!important;background:#fff!important;overflow-x:auto!important
}
#ledger-v127-root[data-screen="audit"] .audit24-tabs button,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-tabs button,
#ledger-v127-root[data-screen="accounts"] .ux20-tabs button,
#ledger-v127-root .ins-standard-drawer-tabs button{
  flex:none!important;min-height:28px!important;padding:0 8px!important;border:0!important;border-radius:7px!important;
  background:#f6f7fa!important;color:#6a788d!important;font:730 8px/1 var(--ins-v24-font)!important
}
#ledger-v127-root[data-screen="audit"] .audit24-tabs button.active,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-tabs button.active,
#ledger-v127-root[data-screen="accounts"] .ux20-tabs button.active{
  background:#eeeaff!important;color:#6149d8!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-tabs button.active:after,
#ledger-v127-root[data-screen="accounts"] .ux20-tabs button.active:after{display:none!important}

/* Body owns scrolling, not the drawer frame. */
#ledger-v127-root[data-screen="audit"] .audit24-drawer-body,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer-body,
#ledger-v127-root[data-screen="accounts"] .ux20-drawer-body,
#ledger-v127-root .ins-standard-drawer-body{
  flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:14px 14px 24px!important;background:#f8f9fc!important
}

/* Clicked visual in drawer must resize to drawer width. */
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-clicked-stage,
#ledger-v127-root[data-screen="accounts"] .ux20-clicked-stage{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-clicked-stage .ux24-map-viewport,
#ledger-v127-root[data-screen="accounts"] .ux20-clicked-stage .ux24-map-viewport{
  height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-clicked-stage .ux24-map-viewport>svg,
#ledger-v127-root[data-screen="accounts"] .ux20-clicked-stage .ux24-map-viewport>svg{
  width:100%!important;height:auto!important;min-width:0!important
}

/* Very subtle outside mask; click still closes. */
#ledger-v127-root[data-screen="audit"] .audit24-backdrop,
#ledger-v127-root[data-screen="auto-category-rules"] .ux20-backdrop,
#ledger-v127-root[data-screen="accounts"] .ux20-backdrop{
  background:rgba(20,28,45,.10)!important;
  backdrop-filter:none!important;
}

/* On smaller screens the drawer can grow, but remains one surface. */
@media(max-width:1000px){
  #ledger-v127-root[data-screen="audit"] .audit24-drawer,
  #ledger-v127-root[data-screen="auto-category-rules"] .ux20-drawer,
  #ledger-v127-root[data-screen="accounts"] .ux20-drawer{
    width:calc(100vw - 24px)!important;
    max-width:none!important;
  }
}

/* ----------------------- FUTURE PAGE OPT-IN ------------------------ */
/*
  Future specialist page skeleton:
    .ins-standard-page
      .ins-standard-filterbar
      .ins-standard-canvas
        .ins-standard-canvas-head
        .ins-standard-map-viewport
      .ins-standard-table-scroll
      .ins-standard-drawer
        .ins-standard-drawer-head
        .ins-standard-commandbar
        .ins-standard-drawer-tabs
        .ins-standard-drawer-body

  This is deliberately opt-in so accepted donor pages are never changed by
  future universal styling.
*/


/* ============================================================================
   V20.5 — VISUAL DEFECT CLOSURE
   No Ledger Feed or Matching & Fraud selectors in this block.
   ============================================================================ */

/* Guaranteed SVG styling. Class-only rules are safe because UX25 is exclusive
   to the three non-donor maps and also provide a fallback if route scoping moves. */
.ux25-kicker,.ux25-title,.ux25-sub,.ux25-lane,.ux25-engine-ai,.ux25-engine-title,.ux25-engine-sub,.ux25-exception-kicker,.ux25-exception-title{
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif
}
.ux25-kicker{font-size:5.7px;font-weight:850;letter-spacing:.07em;fill:#8794a7}
.ux25-title{font-size:8.7px;font-weight:760;fill:#2f3f58}
.ux25-sub{font-size:6.8px;font-weight:560;fill:#7b899d}
.ux25-lane{font-size:7px;font-weight:850;letter-spacing:.08em;fill:#76859a}
.ux25-engine-ai{font-size:8px;font-weight:850;fill:#fff}
.ux25-engine-title{font-size:10px;font-weight:800;fill:#26344f}
.ux25-engine-sub{font-size:7px;font-weight:600;fill:#7e8a9d}
.ux25-exception-kicker{font-size:7px;font-weight:850;letter-spacing:.06em;fill:#aa7418}
.ux25-exception-title{font-size:7.8px;font-weight:700;fill:#46546b}
.ux25-node{cursor:pointer}.ux25-node:hover rect,.ux25-node:focus-visible rect{stroke-width:1.8;filter:drop-shadow(0 4px 7px rgba(42,56,86,.10))}
.ux25-engine{cursor:pointer}.ux25-engine:hover rect,.ux25-engine:focus-visible rect{stroke-width:2.2}

/* One measurable canvas frame for Audit / Rules / CoA Governance. */
#ledger-v127-root[data-screen="audit"] .audit29-map,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;border:1px solid #e3e8f0!important;border-radius:12px!important;
  background:#fff!important;box-shadow:0 1px 2px rgba(21,37,66,.025)!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="audit"] .audit29-map-head,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-head,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-head{
  box-sizing:border-box;height:58px!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;padding:9px 12px!important;border-bottom:1px solid #edf1f5!important;background:#fff!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-head h2,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-head h2{
  margin:0!important;color:#263650!important;font:800 13px/1.3 Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-head p,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-head p{
  margin:2px 0 0!important;color:#7d899d!important;font:500 8.8px/1.4 Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-head>div:first-child>span,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-head>div:first-child>span{
  color:#6550df!important;font:850 7.4px/1.2 Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.09em!important
}
#ledger-v127-root[data-screen="audit"] .ux25-map-viewport,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-map-viewport,
#ledger-v127-root[data-screen="coa-governance"] .ux25-map-viewport{
  width:100%!important;max-width:100%!important;min-width:0!important;height:510px!important;min-height:510px!important;max-height:510px!important;
  overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;background:linear-gradient(180deg,#fcfdff,#fff)
}
#ledger-v127-root[data-screen="audit"] .ux25-map-viewport>svg,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-map-viewport>svg,
#ledger-v127-root[data-screen="coa-governance"] .ux25-map-viewport>svg{
  display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:510px!important
}
@media(max-width:1120px){
 #ledger-v127-root[data-screen="audit"] .ux25-map-viewport>svg,
 #ledger-v127-root[data-screen="auto-category-rules"] .ux25-map-viewport>svg,
 #ledger-v127-root[data-screen="coa-governance"] .ux25-map-viewport>svg{min-width:1080px!important}
}

/* One workspace geometry: rails + same central canvas width behaviour. */
#ledger-v127-root[data-screen="audit"] .audit29-workspace,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-workspace,
#ledger-v127-root[data-screen="coa-governance"] .ux25-workspace{
  display:grid!important;grid-template-columns:230px minmax(0,1fr) 250px!important;gap:12px!important;align-items:start!important;
  width:100%!important;max-width:100%!important;min-width:0!important
}
#ledger-v127-root[data-screen="audit"] .audit29-workspace>*,
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-workspace>*,
#ledger-v127-root[data-screen="coa-governance"] .ux25-workspace>*{min-width:0!important;max-width:100%!important}
@media(max-width:1260px){
 #ledger-v127-root[data-screen="audit"] .audit29-workspace,
 #ledger-v127-root[data-screen="auto-category-rules"] .ux25-workspace,
 #ledger-v127-root[data-screen="coa-governance"] .ux25-workspace{grid-template-columns:1fr!important}
}

/* Auto Rules analytical cards become a balanced two-card row, not a long
   single central stack with dead gutters. */
#ledger-v127-root[data-screen="auto-category-rules"] .rules205-analytics{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important
}
#ledger-v127-root[data-screen="auto-category-rules"] .rules205-analytics>*{min-width:0!important;width:100%!important;margin:0!important}
@media(max-width:1100px){#ledger-v127-root[data-screen="auto-category-rules"] .rules205-analytics{grid-template-columns:1fr!important}}

/* CoA Governance: remove the actual legacy 1780/1660px minimum-width cause.
   The old .coa184-root is not used in V20.5, and the route itself is contained. */
#ledger-v127-root[data-screen="coa-governance"],
#ledger-v127-root[data-screen="coa-governance"]>.lispec-root,
#ledger-v127-root[data-screen="coa-governance"] .coa205-root{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-root>*{min-width:0!important;max-width:100%!important}
#ledger-v127-root[data-screen="coa-governance"] .coa205-lower{
  display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:12px!important;margin:12px 0!important;align-items:start!important
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-lower>*{min-width:0!important;max-width:100%!important;margin:0!important}
#ledger-v127-root[data-screen="coa-governance"] .tri17-table{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="coa-governance"] .tri17-table .triv14-table-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain}
#ledger-v127-root[data-screen="coa-governance"] .tri17-table table{min-width:1500px!important;width:max-content!important}
@media(max-width:1100px){#ledger-v127-root[data-screen="coa-governance"] .coa205-lower{grid-template-columns:1fr!important}}

/* Standardise CoA filter scale to the same compact non-donor model. */
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap{max-width:100%!important;min-width:0!important;margin-bottom:12px!important}
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:end!important;width:100%!important;min-width:0!important;
  padding:10px 12px!important;border:1px solid #e3e8f0!important;border-radius:12px!important;background:#fff!important
}
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters label{flex:1 1 120px!important;min-width:112px!important;max-width:180px!important}
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters label>span{font-size:8.5px!important;color:#7b899d!important;font-weight:650!important}
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters select,
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters .clear,
#ledger-v127-root[data-screen="coa-governance"] .tri17-filter-wrap .triv14-filters .apply{
  height:34px!important;min-height:34px!important;border-radius:9px!important;font-size:9.5px!important
}

/* Compact canvas toolbar / scenario disclosure. */
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-tools,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-tools{display:flex;align-items:center;gap:6px;flex:none}
#ledger-v127-root[data-screen="auto-category-rules"] .ux25-canvas-tools>button,
#ledger-v127-root[data-screen="coa-governance"] .ux25-canvas-tools>button,
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>summary{
  min-height:30px;height:30px;display:flex;align-items:center;padding:0 9px;border:1px solid #e1e6ef;border-radius:8px;background:#fff;color:#607086;
  font:700 8.3px/1 Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif;cursor:pointer;list-style:none
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario{position:relative}
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>summary::-webkit-details-marker{display:none}
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>div{
  position:absolute;right:0;top:35px;z-index:30;width:185px;padding:6px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(23,34,60,.15)
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>div button{
  display:block;width:100%;min-height:29px;padding:0 8px;border:0;border-radius:7px;background:#fff;color:#53627a;text-align:left;font-size:8.2px
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>div button.active,
#ledger-v127-root[data-screen="coa-governance"] .coa205-scenario>div button:hover{background:#f1edff;color:#6048d7}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target{display:flex;align-items:center;gap:6px;color:#596980;font-size:8px}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target>button{width:30px!important;padding:0!important}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target i{display:block;width:22px;height:12px;margin:auto;border-radius:999px;background:#dbe2ec;position:relative}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target i:after{content:"";position:absolute;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:#fff}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target i.on{background:#6550df}
#ledger-v127-root[data-screen="coa-governance"] .coa205-target i.on:after{left:12px}

/* CoA contextual drawer: intentionally narrower and capability-preserving. */
#ledger-v127-root[data-screen="coa-governance"] .coa205-backdrop{
  position:fixed;inset:0;z-index:2147482400;background:rgba(20,28,45,.10)
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer{
  position:fixed;right:0;top:0;bottom:0;z-index:2147482401;width:min(600px,46vw);max-width:calc(100vw - 300px);
  display:flex;flex-direction:column;background:#f8f9fc;border-left:1px solid #dfe4ed;box-shadow:-18px 0 48px rgba(20,29,48,.14);
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif;overflow:hidden
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>header{
  flex:0 0 auto;display:flex;justify-content:space-between;gap:14px;padding:16px 18px 13px;background:linear-gradient(135deg,#223061,#4c2a99);color:#fff
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>header small{color:#d5ceff;font-size:7.5px;font-weight:850;letter-spacing:.09em}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>header h2{margin:4px 0 3px;color:#fff;font-size:17px;line-height:1.25}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>header p{margin:0;color:#d9def0;font-size:8.8px}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>header>button{width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:20px}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar{
  display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #e6eaf1;background:#fff
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>button,
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>details>summary{
  min-height:29px;display:flex;align-items:center;gap:4px;padding:0 8px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#56657c;font-size:8px;font-weight:720;list-style:none
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>button.primary{background:#5e48da;border-color:#5e48da;color:#fff}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>button.primary small{font-size:6px;color:#ddd8ff}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>details{position:relative}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>details>summary::-webkit-details-marker{display:none}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>details>div{
  position:absolute;right:0;top:35px;z-index:20;width:175px;padding:6px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;box-shadow:0 14px 34px rgba(23,34,60,.15)
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-commandbar>details>div button{display:block;width:100%;min-height:29px;border:0;border-radius:7px;background:#fff;text-align:left;padding:0 8px;font-size:8px;color:#53627a}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>nav{
  display:flex;gap:3px;padding:7px 9px;border-bottom:1px solid #e6eaf1;background:#fff;overflow-x:auto
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>nav button{
  flex:none;min-height:28px;padding:0 8px;border:0;border-radius:7px;background:#f6f7fa;color:#6a788d;font-size:8px;font-weight:730
}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer>nav button.active{background:#eeeaff;color:#6149d8}
#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer-body{flex:1;min-height:0;overflow:auto;padding:14px;background:#f8f9fc}
@media(max-width:950px){#ledger-v127-root[data-screen="coa-governance"] .coa205-drawer{width:calc(100vw - 24px);max-width:none}}

/* Correct the V20.4 selector bug explicitly too, so any cached V20.4 UX24
   fragments can never render as black SVG rectangles/paths. */
.ux24-node-surface{fill:#fff!important;stroke:#dce5f2!important}
.ux24-svg-node.tone-red .ux24-node-surface{fill:#fff8f8!important;stroke:#efcbd0!important}
.ux24-svg-node.tone-amber .ux24-node-surface{fill:#fffdf8!important;stroke:#efd6a8!important}
.ux24-svg-node.tone-teal .ux24-node-surface{fill:#f9fffd!important;stroke:#bee7da!important}
.ux24-svg-node.tone-purple .ux24-node-surface{fill:#fcfbff!important;stroke:#d6cef8!important}
.ux24-svg-node.tone-cyan .ux24-node-surface{fill:#f8feff!important;stroke:#c4e7ee!important}
.ux24-svg-node.tone-navy .ux24-node-surface{fill:#fbfcff!important;stroke:#cad4e3!important}
.ux24-edge{fill:none!important;stroke:#98a7bd!important;stroke-width:1.25!important}
.ux24-edge.inferred{stroke:#7657df!important;stroke-dasharray:4 4!important}
.ux24-edge.evidence{stroke:#22aa84!important}.ux24-edge.control{stroke:#de9835!important;stroke-dasharray:4 4!important}.ux24-edge.risk{stroke:#e35e68!important}


/* ============================================================================
   V20.6 — MATCHING & FRAUD DRAWER REUSE
   IMPORTANT: the donor .mfv20-* rules above are NOT changed. The pages below
   render the exact same drawer DOM/classes. These additions only make cloned
   page-specific visuals safe inside that donor drawer.
   ============================================================================ */

.ins26-drawer-host{
  position:relative;
  z-index:2147482399;
}

/* Exact Matching & Fraud shell dimensions are inherited from .mfv20-drawer.
   Keep the selected source visual inside that shell without restyling the shell. */
.ins26-selected-visual{
  overflow:hidden;
}
.ins26-selected-visual>h3{
  margin-bottom:10px!important;
}
.ins26-visual-stage{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid #e6eaf1;
  border-radius:12px;
  background:#fbfcff;
}
.ins26-visual-stage>div{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.ins26-visual-stage article,
.ins26-visual-stage section,
.ins26-visual-stage button,
.ins26-visual-stage div{
  box-sizing:border-box;
  max-width:100%;
}
.ins26-visual-stage>div>article,
.ins26-visual-stage>div>section,
.ins26-visual-stage>div>button{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.ins26-visual-stage svg{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:390px!important;
  margin:0 auto!important;
}
.ins26-visual-stage canvas,
.ins26-visual-stage img{
  display:block;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
}

/* A clicked map/relationship surface can be wider than the drawer. The visual
   itself gets an internal viewport; the drawer/page never gains horizontal drift. */
.ins26-visual-stage :is(
 .audit29-graph-stage,.ux25-map-viewport,.ux24-map-viewport,.ux23-map-viewport,
 .rules194-map-shell,.acctcoa193-svg-shell,.pl185-svg-shell,.bs186-svg-shell,
 .rec187-svg-shell,.rr188-svg-shell,.ap191-svg-shell,.ar193-svg-shell,
 .rpl195-svg-shell,.rbs195-svg-shell,.fa197-svg-shell,.pp198-svg-shell
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:390px!important;
  overflow:auto!important;
}
.ins26-visual-stage :is(
 .audit29-graph-stage,.ux25-map-viewport,.ux24-map-viewport,.ux23-map-viewport,
 .rules194-map-shell,.acctcoa193-svg-shell,.pl185-svg-shell,.bs186-svg-shell,
 .rec187-svg-shell,.rr188-svg-shell,.ap191-svg-shell,.ar193-svg-shell,
 .rpl195-svg-shell,.rbs195-svg-shell,.fa197-svg-shell,.pp198-svg-shell
)>svg{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:380px!important;
}

/* Suppress source-card navigation/tool controls only in the cloned visual.
   The actual drawer uses the Matching & Fraud utilities/tabs above. */
.ins26-visual-stage button,
.ins26-visual-stage input,
.ins26-visual-stage select,
.ins26-visual-stage textarea,
.ins26-visual-stage summary{
  pointer-events:none!important;
}
.ins26-visual-stage header button,
.ins26-visual-stage nav,
.ins26-visual-stage .ux24-commandbar,
.ins26-visual-stage .ux22-commandbar,
.ins26-visual-stage .mfv20-utilities,
.ins26-visual-stage .mfv20-tabs{
  display:none!important;
}

/* Avoid a whole-page layout class embedded in a captured visual from imposing
   its original workspace min-width inside the drawer. */
.ins26-visual-stage :is(
 .rem15-root,.audit24-root,.rules200-root,.coa205-root,.acctcoa200-root,
 .pl185-root,.bs186-root,.rec187-root,.rr188-root,.ap191-root,.ar193-root,
 .rpl195-root,.rbs195-root,.fa197-root,.pp198-root
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}

/* Make associated record table obey the donor drawer rather than the page. */
.ins26-drawer .mfv20-drawer-table{
  margin-bottom:12px;
}
.ins26-drawer .mfv20-drawer-table table{
  min-width:720px;
}

/* Current Copilot/Automation state is explicit, not fake. */
.ins26-drawer .mfv20-ai-placeholder small{
  display:block;
  margin-top:8px;
}

/* The donor drawer remains 900px / 78vw exactly. Mobile remains the donor's
   existing 92vw media rule. No alternate width is introduced here. */


/* ============================================================================
   V20.7 — CLICKED VISUAL / SINGLE DRAWER CORRECTION
   Matching & Fraud itself is not restyled.
   ============================================================================ */

/* The first card mirrors the donor's SELECTED RELATIONSHIP CONTEXT card. */
.ins27-selected-context{
  overflow:hidden;
}
.ins27-selected-context .mfv22-focus-head{
  margin-bottom:10px;
}
.ins27-selected-context .mfv22-focus-head>strong{
  white-space:nowrap;
}
.ins27-context-visual{
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid #e6eaf1;
  border-radius:12px;
  background:#fbfcff;
}
.ins27-context-visual>div{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

/* Preserve the actual clicked chart, but scale it to the donor drawer width. */
.ins27-context-visual article,
.ins27-context-visual section,
.ins27-context-visual button{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-shadow:none!important;
}
.ins27-context-visual svg,
.ins27-context-visual .ins27-svg-fragment{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:420px!important;
  margin:auto!important;
}
.ins27-context-visual canvas,
.ins27-context-visual img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:420px!important;
  object-fit:contain;
}
.ins27-context-visual :is(
 .audit29-graph-stage,.ux25-map-viewport,.ux24-map-viewport,.ux23-map-viewport,
 .rules194-map-shell,.acctcoa193-svg-shell,.pl185-svg-shell,.bs186-svg-shell,
 .rec187-svg-shell,.rr188-svg-shell,.ap191-svg-shell,.ar193-svg-shell,
 .rpl195-svg-shell,.rbs195-svg-shell,.fa197-svg-shell,.pp198-svg-shell
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:420px!important;
  overflow:auto!important;
}
.ins27-context-visual :is(
 .audit29-graph-stage,.ux25-map-viewport,.ux24-map-viewport,.ux23-map-viewport,
 .rules194-map-shell,.acctcoa193-svg-shell,.pl185-svg-shell,.bs186-svg-shell,
 .rec187-svg-shell,.rr188-svg-shell,.ap191-svg-shell,.ar193-svg-shell,
 .rpl195-svg-shell,.rbs195-svg-shell,.fa197-svg-shell,.pp198-svg-shell
)>svg{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:410px!important;
}

/* Controls copied from the source visual are presentation-only inside the
   selected-context card. The drawer's own donor utilities and tabs remain live. */
.ins27-context-visual button,
.ins27-context-visual input,
.ins27-context-visual select,
.ins27-context-visual textarea,
.ins27-context-visual summary{
  pointer-events:none!important;
}
.ins27-context-visual header button,
.ins27-context-visual nav,
.ins27-context-visual .ux24-commandbar,
.ins27-context-visual .ux22-commandbar,
.ins27-context-visual .ux20-tabs,
.ins27-context-visual .audit24-tabs{
  display:none!important;
}

/* A cloned page shell must never reintroduce its original min-width into the
   Matching & Fraud donor drawer. */
.ins27-context-visual :is(
 .rem15-root,.audit24-root,.rules200-root,.coa205-root,.acctcoa200-root,
 .pl185-root,.bs186-root,.rec187-root,.rr188-root,.ap191-root,.ar193-root,
 .rpl195-root,.rbs195-root,.fa197-root,.pp198-root
){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}

/* Compatibility kill-switch for known/likely generic visual layer hooks on
   pages now owned by the common drawer. This does not touch Matching & Fraud. */
#ledger-v127-root[data-screen="audit"] .v18-chart-chip,
#ledger-v127-root[data-screen="auto-category-rules"] .v18-chart-chip,
#ledger-v127-root[data-screen="coa-governance"] .v18-chart-chip,
#ledger-v127-root[data-screen="profit-loss"] .v18-chart-chip,
#ledger-v127-root[data-screen="balance-sheet"] .v18-chart-chip,
#ledger-v127-root[data-screen="recurring"] .v18-chart-chip,
#ledger-v127-root[data-screen="revenue-recognition"] .v18-chart-chip,
#ledger-v127-root[data-screen="accounts"] .v18-chart-chip,
#ledger-v127-root[data-screen="claims"] .v18-chart-chip,
#ledger-v127-root[data-screen="bills"] .v18-chart-chip,
#ledger-v127-root[data-screen="aging"] .v18-chart-chip,
#ledger-v127-root[data-screen="reports-pnl"] .v18-chart-chip,
#ledger-v127-root[data-screen="reports-balance-sheet"] .v18-chart-chip,
#ledger-v127-root[data-screen="fixed-assets"] .v18-chart-chip,
#ledger-v127-root[data-screen="prepaid"] .v18-chart-chip{
  display:none!important;
}


/* ============================================================================
   V20.8 — LEDGER FEED DONOR DRAWER + WORKSPACE COA GEOMETRY
   No Ledger Feed or Matching & Fraud route selectors are added here.
   ============================================================================ */

/* The donor drawer is wrapped in .lfv6-root so all accepted Ledger Feed
   drawer rules apply exactly. This class only neutralises wrapper layout. */
.ins28-ledger-drawer-host{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:0!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
}

/* Preserve the exact clicked visual inside the Ledger Feed visual card. */
.ins28-selected-visual{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.ins28-selected-visual>article,
.ins28-selected-visual>section,
.ins28-selected-visual>button,
.ins28-selected-visual>div{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
}
.ins28-selected-visual svg,
.ins28-selected-visual canvas,
.ins28-selected-visual img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:390px!important;
  object-fit:contain!important;
}
.ins28-selected-visual :is(
 .audit29-graph-stage,.ux25-map-viewport,.ux24-map-viewport,.ux23-map-viewport,
 .rules194-map-shell,.tri17-chart,.coa205-map
){
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:390px!important;
  overflow:auto!important;
}
.ins28-selected-visual header button,
.ins28-selected-visual nav,
.ins28-selected-visual input,
.ins28-selected-visual select,
.ins28-selected-visual textarea,
.ins28-selected-visual summary{
  pointer-events:none!important;
}
.ins28-selected-visual .v18-chart-chip{
  display:none!important;
}

/* ---------------------- WORKSPACE COA PAGE ------------------------- */
#ledger-v127-root[data-screen="coa-governance"],
#ledger-v127-root[data-screen="coa-governance"]>.lispec-root,
#ledger-v127-root[data-screen="coa-governance"] .coa208-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:clip!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-root>*{
  box-sizing:border-box!important;
  width:100%;
  max-width:100%!important;
  min-width:0!important;
}

/* Research canvas remains full width directly below scope, consistent with
   the agreed central-workspace hierarchy. */
#ledger-v127-root[data-screen="coa-governance"] .coa208-root>.coa205-map{
  margin:0 0 12px!important;
}

/* Cluster intelligence gets the full page width. It is no longer squeezed
   into a narrow left column beside the five analytics cards. */
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster{
  margin:0 0 12px!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster>.tri17-clusters{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  border:1px solid #e3e8f0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#fff,#fbf9ff)!important;
  box-shadow:0 7px 22px rgba(31,45,85,.045)!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.7fr) minmax(0,.82fr)!important;
  gap:12px!important;
  min-width:0!important;
  width:100%!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid>*{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid .cards{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-lower{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  min-width:0!important;
}

/* Five analytics cards become a deliberate 2+2+1 analytical composition.
   No five tiny cards across one row and no huge blank area beneath them. */
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics{
  margin:0 0 12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics>.tri17-analytics{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:276px!important;
  margin:0!important;
  padding:14px 16px!important;
  border:1px solid #e3e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(31,45,85,.04)!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart:nth-child(5){
  grid-column:1 / -1!important;
  min-height:248px!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart h3{
  margin:0 0 10px!important;
  color:#24344f!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart svg{
  width:100%!important;
  max-width:100%!important;
  height:190px!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart.donut>div{
  min-height:195px!important;
  align-items:center!important;
}

/* Preserve every AI/right-rail capability, but present them as a balanced
   full-width support area rather than tall narrow rails that create dead space. */
#ledger-v127-root[data-screen="coa-governance"] .coa208-support{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 12px!important;
  align-items:start!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-support>div{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-support .tri17-left,
#ledger-v127-root[data-screen="coa-governance"] .coa208-support .coa184-right{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-support .tri17-left>section,
#ledger-v127-root[data-screen="coa-governance"] .coa208-support .coa184-right>section{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  border:1px solid #e3e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(31,45,85,.04)!important;
}

/* Table owns its own width; the page never gains horizontal movement. */
#ledger-v127-root[data-screen="coa-governance"] .coa208-root .tri17-table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="coa-governance"] .coa208-root .triv14-table-scroll{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overscroll-behavior-x:contain!important;
}

@media(max-width:1280px){
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid{
  grid-template-columns:1fr 1.35fr!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid .playbook{
  grid-column:1 / -1!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-lower{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:980px){
 #ledger-v127-root[data-screen="coa-governance"] .coa208-analytics>.tri17-analytics,
 #ledger-v127-root[data-screen="coa-governance"] .coa208-support{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-analytics .tri17-chart:nth-child(5){
  grid-column:auto!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-support .tri17-left,
 #ledger-v127-root[data-screen="coa-governance"] .coa208-support .coa184-right{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid,
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-lower{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="coa-governance"] .coa208-cluster .tri17-cluster-grid .playbook{
  grid-column:auto!important;
 }
}


/* ============================================================================
   V20.9 — ACCOUNTING · PROFIT & LOSS
   Matching & Fraud page anatomy and visual grammar, P&L-specific content.
   Donor pages are not modified.
   ============================================================================ */

#ledger-v127-root[data-screen="profit-loss"],
#ledger-v127-root[data-screen="profit-loss"]>.lispec-root,
#ledger-v127-root[data-screen="profit-loss"] .pl209-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:clip!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-root>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Header / filters / scope consume the exact Matching & Fraud donor classes. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-filterbar .mfv10-control{
  min-width:130px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-scopebar{
  overflow:hidden;
}

/* Six P&L KPI cards retain donor card geometry without squeezing. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-kpi{
  min-height:102px!important;
}

/* Investigation lens: donor behaviour + active P&L context. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-lens>button.active{
  border-color:#cfc4ff!important;
  background:#f2efff!important;
  color:#5e43d7!important;
  box-shadow:inset 0 0 0 1px #ddd6ff;
}

/* Primary Investigation Workspace */
#ledger-v127-root[data-screen="profit-loss"] .pl209-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-primary>.mfv20-hero,
#ledger-v127-root[data-screen="profit-loss"] .pl209-primary>.mfv20-brief{
  min-width:0!important;
  height:100%!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap{
  width:100%;
  min-width:0;
  padding:0 12px 14px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-map{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  border:1px solid #e7ebf2!important;
  border-radius:13px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-tabs{
  min-height:45px!important;
  padding:7px 9px!important;
  gap:8px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-tabs button{
  height:31px!important;
  padding:0 9px!important;
  font-size:9px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-tabs label{
  font-size:8.5px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-svg-shell{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-map-wrap .pl185-svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:438px!important;
}

/* Investigation Brief is vertically balanced with the P&L map. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-brief{
  display:flex!important;
  flex-direction:column!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-brief .mfv20-brief-cards{
  display:grid!important;
  grid-template-columns:1fr!important;
  flex:1;
  align-content:stretch;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-brief .mfv20-brief-cards button{
  min-height:118px!important;
}

/* Operational Review Row uses the exact donor 2-panel composition. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-bento{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-review-panel{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-review-panel .mfv20-list{
  max-height:366px;
  overflow:auto;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-review-panel .mfv20-list-head,
#ledger-v127-root[data-screen="profit-loss"] .pl209-review-panel .mfv20-list-row{
  grid-template-columns:minmax(0,1.65fr) .78fr .67fr .52fr!important;
}

/* Insight cards remain the donor 3-card row. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-insights{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Evidence & Findings register */
#ledger-v127-root[data-screen="profit-loss"] .pl209-register{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-register .mfv11-find-tools h3:before{
  content:"P&L EVIDENCE · "!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-register .mfv11-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overscroll-behavior-x:contain;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-register table{
  min-width:1080px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-register tr[data-action]{
  cursor:pointer;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-register tr[data-action]:hover{
  background:#fbfbff;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-move,
#ledger-v127-root[data-screen="profit-loss"] .pl209-budget{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 7px;
  border-radius:999px;
  font-size:11px;
  font-weight:780;
  white-space:nowrap;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-move.good,
#ledger-v127-root[data-screen="profit-loss"] .pl209-budget.good{
  background:#eaf9f2;color:#16815d;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-move.bad,
#ledger-v127-root[data-screen="profit-loss"] .pl209-budget.bad{
  background:#fff0f1;color:#c9434d;
}

/* Advanced Investigation — premium 2x2 grid, collapsed by default. */
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid>article{
  min-width:0;
  min-height:300px;
  padding:15px 16px;
  border:1px solid #e4e8f0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(31,45,85,.035);
  cursor:pointer;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid>article:hover{
  border-color:#d8d2f5;
  box-shadow:0 9px 24px rgba(31,45,85,.06);
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid header>span{
  color:#6848e8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid header h3{
  margin:4px 0 3px;
  color:#26344e;
  font-size:17px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid header p{
  margin:0 0 12px;
  color:#78869a;
  font-size:12px;
  line-height:1.5;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid svg{
  display:block;
  width:100%;
  height:210px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-axis{
  fill:#8a96a7;
  font:500 8px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-legend{
  fill:#66758a;
  font:650 8px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix{
  display:grid;
  gap:8px;
  margin-top:18px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix>div{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) .9fr .55fr .85fr;
  gap:8px;
  align-items:center;
  min-height:38px;
  padding:7px 9px;
  border:1px solid #edf0f5;
  border-radius:9px;
  background:#fbfcff;
  font-size:11px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix strong,
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix em{
  font-style:normal;
  font-weight:800;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix .good{color:#16815d}
#ledger-v127-root[data-screen="profit-loss"] .pl209-variance-matrix .bad{color:#c9434d}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars{
  display:grid;
  gap:14px;
  margin-top:20px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars>div{
  display:grid;
  grid-template-columns:130px minmax(0,1fr) 78px;
  gap:10px;
  align-items:center;
  font-size:11px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars i{
  height:9px;border-radius:999px;background:#edf1f5;overflow:hidden;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars i b{
  display:block;height:100%;border-radius:999px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars i.good b{background:#24ad89}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars i.bad b{background:#e45f69}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars strong{font-size:10px;text-align:right}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars strong.good{color:#16815d}
#ledger-v127-root[data-screen="profit-loss"] .pl209-movement-bars strong.bad{color:#c9434d}

/* Matching & Fraud contextual drawer remains the single drill-down surface.
   The clicked P&L KPI/chart/map/row is scaled within SELECTED RELATIONSHIP CONTEXT. */
#ledger-v127-root[data-screen="profit-loss"] .ins27-selected-context .ins27-context-visual{
  min-height:235px;
}
#ledger-v127-root[data-screen="profit-loss"] .ins27-selected-context .pl185-map{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-shadow:none!important;
}
#ledger-v127-root[data-screen="profit-loss"] .ins27-selected-context .pl185-svg{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:390px!important;
}

/* Responsive behaviour: page never horizontally scrolls; grids collapse. */
@media(max-width:1380px){
 #ledger-v127-root[data-screen="profit-loss"] .pl209-glance{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="profit-loss"] .pl209-primary{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-brief .mfv20-brief-cards{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-brief .mfv20-brief-cards button{
  min-height:0!important;
 }
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="profit-loss"] .pl209-bento,
 #ledger-v127-root[data-screen="profit-loss"] .pl209-insights,
 #ledger-v127-root[data-screen="profit-loss"] .pl209-advanced-grid{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-glance{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-filterbar{
  flex-wrap:wrap;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-filterbar .mfv20-filter-core{
  flex-basis:100%;
  flex-wrap:wrap;
 }
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="profit-loss"] .pl209-brief .mfv20-brief-cards{
  grid-template-columns:1fr!important;
 }
 #ledger-v127-root[data-screen="profit-loss"] .pl209-glance{
  grid-template-columns:1fr!important;
 }
}


/* ============================================================================
   V20.10 — Accounting Profit & Loss chart row
   Adds Chart 1 + Chart 2 after Relationship Intelligence + Brief.
   ============================================================================ */
#ledger-v127-root[data-screen="profit-loss"] .pl210-row{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:12px 0!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-card{
  min-width:0!important;
  background:#fff!important;
  border:1px solid #e6ebf2!important;
  border-radius:18px!important;
  box-shadow:0 12px 32px rgba(30,41,59,.05)!important;
  padding:18px 18px 16px!important;
  overflow:hidden!important;
  cursor:pointer;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-card:hover{
  border-color:#dddff5!important;
  box-shadow:0 16px 36px rgba(30,41,59,.08)!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-head,
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-head h3,
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-head h3{
  margin:0!important;
  font-size:14px!important;
  line-height:1.2!important;
  color:#1f2a44!important;
  font-weight:800!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-head p{
  margin:5px 0 0!important;
  color:#93a0b4!important;
  font-size:11px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-head button{
  border:0!important;
  background:transparent!important;
  color:#7c8aa4!important;
  font-size:18px!important;
  line-height:1!important;
  padding:0 2px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:14px!important;
  margin-top:10px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend span{
  position:relative;
  padding-left:14px;
  font-size:11px;
  color:#6b7891;
  font-weight:700;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend span:before{
  content:"";
  position:absolute;
  left:0;top:50%;transform:translateY(-50%);
  width:8px;height:8px;border-radius:999px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .rev:before{background:#4A7CF6}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .gross:before{background:#1FBE8C}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .oper:before{background:#3A9BFF}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .net:before{background:#584DFF}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .rev2:before{background:#5AAEFF}
#ledger-v127-root[data-screen="profit-loss"] .pl210-legend .exp2:before{background:#F2AE45}
#ledger-v127-root[data-screen="profit-loss"] .pl210-card svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin-top:6px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-axis{
  fill:#93a0b4;
  font:600 10px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-axis.strong{font-weight:800;fill:#8a96aa}
#ledger-v127-root[data-screen="profit-loss"] .pl210-forecast{
  fill:#66748d;
  font:700 10px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-tooltip{
  fill:#fff;
  font:800 10px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:14px 0 10px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row>div{
  min-width:0;
  border:1px solid #eef1f6;
  border-radius:12px;
  padding:12px 14px;
  background:linear-gradient(180deg,#fff,#fcfdff);
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row span{
  display:block;
  color:#8896aa;
  font-size:9px;
  font-weight:800;
  letter-spacing:.07em;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row b{
  display:block;
  margin-top:8px;
  font-size:20px;
  color:#161f36;
  font-weight:900;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row small{
  display:block;
  margin-top:6px;
  color:#3c7be0;
  font-size:11px;
  font-weight:700;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row small em{
  font-style:normal;
  color:#8896aa;
  font-weight:600;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-actions span{
  font-size:11px!important;
  color:#74829a!important;
  padding:6px 10px!important;
  border:1px solid #edf0f4!important;
  border-radius:10px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-actions button{
  border:0!important;
  background:transparent!important;
  color:#6e7b92!important;
  font-size:11px!important;
  font-weight:800!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl210-sov-chart-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
}
@media(max-width:1180px){
  #ledger-v127-root[data-screen="profit-loss"] .pl210-row{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:820px){
  #ledger-v127-root[data-screen="profit-loss"] .pl210-stat-row{
    grid-template-columns:1fr!important;
  }
}


/* ============================================================================
   V20.11 — SILKY INTERACTIVE HTML5/SVG P&L CHARTS
   ============================================================================ */
#ledger-v127-root[data-screen="profit-loss"] .pl211-row{
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-chart-root{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:520px;
  padding:18px!important;
  border:1px solid #e5e9f1!important;
  border-radius:18px!important;
  background:
    radial-gradient(circle at 9% 0%,rgba(96,82,229,.045),transparent 26%),
    linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important;
  box-shadow:0 10px 30px rgba(26,39,70,.055)!important;
  overflow:hidden!important;
  cursor:default;
  outline:none;
  isolation:isolate;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-chart-root:focus-visible{
  box-shadow:0 0 0 3px rgba(99,79,226,.16),0 12px 34px rgba(26,39,70,.07)!important;
  border-color:#cfc5ff!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-chart-root.is-dragging{
  cursor:grabbing;
  user-select:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  min-height:62px;
  margin-bottom:4px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-card-head h3{
  margin:3px 0 0!important;
  color:#1e2c45!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:820!important;
  letter-spacing:-.015em;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-card-head p{
  margin:5px 0 0!important;
  color:#7b899f!important;
  font-size:11px!important;
  line-height:1.45!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-eyebrow{
  color:#654ee4;
  font-size:8px;
  font-weight:900;
  letter-spacing:.10em;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-open-detail{
  flex:none;
  height:30px;
  padding:0 10px;
  border:1px solid #e0e5ee;
  border-radius:9px;
  background:#fff;
  color:#5e6e85;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-open-detail:hover{
  transform:translateY(-1px);
  border-color:#cfc4ff;
  box-shadow:0 5px 15px rgba(83,67,182,.10);
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-head-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-head-actions>span{
  min-height:30px;
  display:flex;
  align-items:center;
  padding:0 9px;
  border:1px solid #e8ebf1;
  border-radius:9px;
  color:#718096;
  background:#fff;
  font-size:9px;
  font-weight:650;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-legend{
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  margin-top:9px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-legend button{
  min-height:25px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 8px;
  border:1px solid #edf0f5;
  border-radius:999px;
  background:#fff;
  color:#607086;
  font-size:8.5px;
  font-weight:750;
  cursor:pointer;
  transition:opacity .18s ease,transform .18s ease,background .18s ease;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-legend button:hover{transform:translateY(-1px);background:#faf9ff}
#ledger-v127-root[data-screen="profit-loss"] .pl211-legend button.is-off{opacity:.42;background:#f6f7fa}
#ledger-v127-root[data-screen="profit-loss"] .pl211-legend i,
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip i{
  width:7px;height:7px;border-radius:50%;display:inline-block;flex:none;
}
#ledger-v127-root[data-screen="profit-loss"] .tone-revenue{background:#4A7CF6;stroke:#4A7CF6}
#ledger-v127-root[data-screen="profit-loss"] .tone-gross{background:#1FBE8C;stroke:#1FBE8C}
#ledger-v127-root[data-screen="profit-loss"] .tone-operating{background:#3A9BFF;stroke:#3A9BFF}
#ledger-v127-root[data-screen="profit-loss"] .tone-net{background:#584DFF;stroke:#584DFF}
#ledger-v127-root[data-screen="profit-loss"] .tone-revenue2{background:#54AAFF;stroke:#54AAFF}
#ledger-v127-root[data-screen="profit-loss"] .tone-expenses{background:#F0A73C;stroke:#F0A73C}
#ledger-v127-root[data-screen="profit-loss"] .pl211-chart-stage{
  position:relative;
  min-height:255px;
  margin-top:4px;
  touch-action:none;
  cursor:grab;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-svg{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:245px;
  overflow:visible;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-grid line{stroke:#e9edf4;stroke-width:1}
#ledger-v127-root[data-screen="profit-loss"] .pl211-grid text,
#ledger-v127-root[data-screen="profit-loss"] .pl211-month,
#ledger-v127-root[data-screen="profit-loss"] .pl211-year{
  fill:#8a98ad;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif;
  font-size:9px;
  font-weight:620;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-year{font-weight:800;fill:#6f7f96}
#ledger-v127-root[data-screen="profit-loss"] .pl211-line{
  fill:none;
  stroke-width:2.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:1;
  stroke-dashoffset:1;
  animation:pl211Draw .78s cubic-bezier(.2,.75,.25,1) forwards;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-forecast-line{
  stroke-dasharray:.018 .014;
  stroke-dashoffset:0;
  animation:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-area{
  opacity:0;
  animation:pl211Fade .55s ease .2s forwards;
  pointer-events:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-bar{
  transform-box:fill-box;
  transform-origin:center bottom;
  transform:scaleY(0);
  animation:pl211Bar .55s cubic-bezier(.2,.75,.25,1) forwards;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-bar.forecast{opacity:.9}
#ledger-v127-root[data-screen="profit-loss"] .pl211-point{
  stroke:#fff;
  stroke-width:1.3;
  opacity:0;
  animation:pl211Point .35s ease .48s forwards;
  transition:r .12s ease,opacity .12s ease,filter .12s ease;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-point:hover{
  r:5.2;
  filter:drop-shadow(0 2px 5px rgba(29,46,82,.18));
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-focus{
  stroke:#fff;
  stroke-width:2.2;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 2px 6px rgba(28,44,76,.24));
  pointer-events:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-crosshair{
  stroke:#8293ac;
  stroke-width:1;
  stroke-dasharray:3 4;
  vector-effect:non-scaling-stroke;
  pointer-events:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-forecast-zone{
  fill:#eef1ff;
  opacity:.23;
  pointer-events:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-forecast-divider{
  stroke:#aabaf0;
  stroke-width:1;
  stroke-dasharray:4 4;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-forecast-label{
  fill:#6879a4;
  font:800 9px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="profit-loss"] .is-series-hidden{
  opacity:0!important;
  pointer-events:none!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip{
  position:absolute;
  z-index:5;
  top:34px;
  width:184px;
  transform:translateX(-50%);
  padding:10px 11px;
  border:1px solid rgba(213,220,234,.96);
  border-radius:11px;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 30px rgba(27,40,70,.12);
  backdrop-filter:blur(8px);
  pointer-events:none;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip[hidden]{display:none!important}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip>strong{
  display:block;
  margin-bottom:7px;
  color:#26354f;
  font-size:10px;
  font-weight:850;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip [data-pl211-tooltip-lines]{
  display:grid;
  gap:5px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip [data-pl211-tooltip-lines]>span{
  display:grid;
  grid-template-columns:9px minmax(0,1fr) auto;
  gap:6px;
  align-items:center;
  color:#65758b;
  font-size:8.5px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip [data-pl211-tooltip-lines] span.is-muted{opacity:.35}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip b{font-weight:720}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip em{
  font-style:normal;
  color:#24344e;
  font-weight:850;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-tooltip>small{
  display:block;
  margin-top:7px;
  color:#94a0b3;
  font-size:7.5px;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-context{
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:12px;
  align-items:start;
  margin-top:auto;
  padding:11px 12px;
  border:1px solid #eceef5;
  border-radius:12px;
  background:linear-gradient(135deg,#fbfaff,#fff);
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-context>span{
  color:#674ee7;
  font-size:8px;
  font-weight:900;
  letter-spacing:.09em;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-context>p{
  margin:0!important;
  color:#53647c!important;
  font-size:10.5px!important;
  line-height:1.55!important;
  font-weight:540!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-hint{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
  color:#94a0b2;
  font-size:7.8px;
  font-weight:650;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  margin:10px 0 3px!important;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row article{
  min-width:0;
  padding:10px 11px;
  border:1px solid #edf0f5;
  border-radius:11px;
  background:#fff;
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row span{
  display:block;color:#8a97aa;font-size:7.5px;font-weight:900;letter-spacing:.075em
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row b{
  display:block;margin-top:6px;color:#18243b;font-size:16px;font-weight:900;letter-spacing:-.02em
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row small{
  display:block;margin-top:4px;color:#6e7e94;font-size:8.5px;font-weight:650
}
#ledger-v127-root[data-screen="profit-loss"] .pl211-inline-legend{
  display:flex;
  justify-content:flex-end;
  margin-bottom:-3px;
}
@keyframes pl211Draw{to{stroke-dashoffset:0}}
@keyframes pl211Fade{to{opacity:1}}
@keyframes pl211Bar{to{transform:scaleY(1)}}
@keyframes pl211Point{to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 #ledger-v127-root[data-screen="profit-loss"] .pl211-line,
 #ledger-v127-root[data-screen="profit-loss"] .pl211-area,
 #ledger-v127-root[data-screen="profit-loss"] .pl211-bar,
 #ledger-v127-root[data-screen="profit-loss"] .pl211-point{
  animation:none!important;
  stroke-dashoffset:0!important;
  transform:none!important;
  opacity:1!important;
 }
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="profit-loss"] .pl211-row{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="profit-loss"] .pl211-chart-root{min-height:500px}
}
@media(max-width:720px){
 #ledger-v127-root[data-screen="profit-loss"] .pl211-context{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="profit-loss"] .pl211-stat-row{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="profit-loss"] .pl211-card-head{flex-direction:column}
 #ledger-v127-root[data-screen="profit-loss"] .pl211-head-actions{justify-content:flex-start}
}


/* ============================================================================
   V20.12 — CLICKED OBJECT FIDELITY
   Node/card clicks show only the selected node/card in the drawer.
   ============================================================================ */

#ledger-v127-root .ins27-selected-context.kind-node .ins27-context-visual{
  min-height:176px!important;
  padding:20px 24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 20%,rgba(99,79,226,.05),transparent 42%),
    #fbfcff!important;
}

#ledger-v127-root .ins27-selected-context.kind-node .ins27-context-visual>div{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Exact SVG <g> crop produced by ins27SvgFragmentSnapshot(). */
#ledger-v127-root .ins27-selected-context.kind-node .ins27-svg-fragment{
  display:block!important;
  width:min(100%,520px)!important;
  height:auto!important;
  max-height:190px!important;
  margin:0 auto!important;
  overflow:visible!important;
}

/* HTML-card fallback: selected card only, centred and never promoted to map. */
#ledger-v127-root .ins27-selected-context.kind-node .ins27-context-visual>div>
:is(button,article,section,[class*="-card"],[class*="-node"]){
  width:min(100%,520px)!important;
  max-width:520px!important;
  min-width:0!important;
  margin:0 auto!important;
}

/* Avoid map viewport rules accidentally expanding a node fragment. */
#ledger-v127-root .ins27-selected-context.kind-node
:is(.pl185-map,.audit29-map,.rules200-map,.coa205-map,.ux25-canvas){
  display:none!important;
}

#ledger-v127-root .ins27-selected-context.kind-node .mfv22-focus-head>strong{
  color:#6249dd!important;
  background:#f0edff!important;
  border:1px solid #ded7ff!important;
}


/* ============================================================================
   V20.13 — ACCOUNTING · BALANCE SHEET PREMIUM PAGE
   Profit & Loss V20.12 page anatomy is the donor. Balance Sheet remains page-specific.
   ============================================================================ */
#ledger-v127-root[data-screen="balance-sheet"],
#ledger-v127-root[data-screen="balance-sheet"]>.lispec-root,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-root{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-root{
 display:block!important;padding:0 2px 28px!important;background:#fbfcff!important;font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-root>*{min-width:0!important;max-width:100%!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-filterbar .mfv20-filter-core{grid-template-columns:repeat(4,minmax(0,1fr))}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-filterbar .mfv10-control{min-width:130px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-glance{grid-template-columns:repeat(6,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-kpi{min-height:102px!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-lens>button.active{border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary{grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;align-items:stretch!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary>.mfv20-hero,#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary>.mfv20-brief{min-width:0!important;height:100%!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fff}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls b,#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls span{font-size:9px;color:#65758c}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls button{height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls button.active{border-color:#6b54e3;background:#6b54e3;color:#fff}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-svg-shell{width:100%;max-width:100%;min-width:0;overflow:hidden;background:#fafbfc;padding:0 8px 8px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-svg{display:block;width:100%!important;height:auto!important;min-height:0!important;max-height:430px!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-brief .mfv20-brief-cards{display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-brief .mfv20-brief-cards button{min-height:118px!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart{min-width:0;min-height:385px;display:flex;flex-direction:column;padding:16px;border:1px solid #e5e9f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 9px 26px rgba(28,42,72,.045);cursor:pointer;overflow:hidden}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart:hover{border-color:#d8d2f5;box-shadow:0 12px 31px rgba(28,42,72,.07)}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-head span{color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-head h3{margin:3px 0 3px;color:#22324b;font-size:16px;font-weight:820}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-head p{margin:0;color:#7d8ba1;font-size:10px;line-height:1.45}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-head button{height:29px;flex:none;padding:0 9px;border:1px solid #e0e5ee;border-radius:8px;background:#fff;color:#64758c;font-size:8.5px;font-weight:800}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-body{flex:1;min-height:235px;display:flex;align-items:center;justify-content:center;min-width:0}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-svg{display:block;width:100%;height:auto;max-height:255px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-chart-svg text{fill:#8492a8;font:600 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-line{fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:bs213Draw .75s ease forwards}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-line.assets{stroke:#1fb67f}.bs213-line.liab{stroke:#438af2}.bs213-line.equity{stroke:#7558de}
#ledger-v127-root[data-screen="balance-sheet"] .asset-dot{fill:#1fb67f}.bs213-root .liab-dot{fill:#438af2}.bs213-root .equity-dot{fill:#7558de}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-context{display:grid;grid-template-columns:108px minmax(0,1fr);gap:10px;margin-top:auto;padding:10px 11px;border:1px solid #eceef5;border-radius:11px;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-context span{color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-context p{margin:0;color:#53647c;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-variance-matrix{display:grid;gap:8px;width:100%}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-variance-matrix button{display:grid;grid-template-columns:112px minmax(0,1fr) 88px 54px;gap:9px;align-items:center;width:100%;min-width:0;min-height:35px;padding:0 6px;border:0;border-bottom:1px solid #eef1f5;background:transparent;text-align:left;color:#52637b;font-size:10px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-variance-matrix i{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}.bs213-variance-matrix i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#84a4ff,#6758e8)}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-variance-matrix strong{color:#293951;font-size:9px}.bs213-variance-matrix em{font-style:normal;color:#159069;font-weight:800;font-size:9px}
#ledger-v127-root[data-screen="balance-sheet"] .donut-bg{fill:none;stroke:#edf1f6;stroke-width:13}.bs213-root .donut{fill:none;stroke-width:13;stroke-linecap:round}.bs213-root .donut.cash{stroke:#2eb98b}.bs213-root .donut.ap{stroke:#4c8df5}.bs213-root .donut.re{stroke:#7459df}.bs213-root .donut-value{fill:#26374f!important;font-size:14px!important;font-weight:900!important}.bs213-root .donut-label{fill:#8391a5!important;font-size:8px!important}.bs213-root .comp-list text{fill:#64748b!important;font-size:8px!important}.bs213-root .comp-title{fill:#2e3d56!important;font-size:10px!important;font-weight:800!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-close-viz{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:center;width:100%}.bs213-root .close-bg{fill:none;stroke:#edf1f6;stroke-width:13}.bs213-root .close-progress{fill:none;stroke:#6656e6;stroke-width:13;stroke-linecap:round}.bs213-root .close-value{fill:#263650!important;font-size:24px!important;font-weight:900!important}.bs213-root .close-label{fill:#8a98ab!important;font-size:9px!important}.bs213-close-bars{display:grid;gap:11px}.bs213-close-bars>div>span{display:flex;justify-content:space-between;color:#65758b;font-size:9px}.bs213-close-bars i{display:block;height:7px;margin-top:4px;border-radius:999px;background:#edf1f5;overflow:hidden}.bs213-close-bars i em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#7792ff,#6454e2)}.bs213-close-meta{display:grid!important;grid-template-columns:repeat(2,1fr);gap:8px!important}.bs213-close-meta span{padding:7px 8px;border:1px solid #eceff4;border-radius:8px;background:#fff!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-health-grid button{min-height:73px;padding:10px;border:1px solid #e9edf3;border-radius:10px;background:#fff;text-align:left}.bs213-health-grid span{display:block;color:#7b899d;font-size:9px}.bs213-health-grid b{display:block;margin:5px 0 2px;color:#26364f;font-size:16px}.bs213-health-grid small{font-size:8.5px;font-weight:800}.bs213-health-grid small.good{color:#178864}.bs213-health-grid small.attention{color:#c98215}.bs213-health-grid small.risk{color:#d6525d}.bs213-health-grid small.blue{color:#497fe8}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-register .mfv11-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-register table{min-width:1180px!important}.bs213-register tr[data-action]{cursor:pointer}.bs213-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-advanced-grid>article{min-width:0;min-height:210px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}.bs213-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}.bs213-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}.bs213-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-health-band{display:grid;grid-template-columns:auto auto 1fr auto;gap:12px;align-items:center;margin-top:28px}.bs213-health-band>b{font-size:29px;color:#20324b}.bs213-health-band>span,.bs213-health-band>small{color:#708098;font-size:9px}.bs213-health-band>i{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}.bs213-health-band>i em{display:block;height:100%;background:#25ad86}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-bridge{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:35px}.bs213-bridge span{padding:13px;border:1px solid #eceff4;border-radius:10px;text-align:center;color:#75849b;font-size:9px}.bs213-bridge span b{display:block;color:#26364f;font-size:17px}.bs213-bridge>i{font-style:normal;color:#6758df;font-size:18px;font-weight:900}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-identity{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:40px}.bs213-identity b,.bs213-identity strong{padding:13px 16px;border:1px solid #e6eaf1;border-radius:10px;color:#26364f;background:#fbfcff}.bs213-identity span{font-size:22px;color:#6b55dd;font-weight:900}
#ledger-v127-root[data-screen="balance-sheet"] .bs213-substantiation{display:grid;gap:12px;margin-top:26px}.bs213-substantiation span{display:flex;justify-content:space-between;color:#66758b;font-size:9px}.bs213-substantiation i{display:block;height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}.bs213-substantiation i em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#58a6ef,#6957e4)}
@keyframes bs213Draw{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){#ledger-v127-root[data-screen="balance-sheet"] .bs213-line{animation:none!important;stroke-dashoffset:0!important}}
@media(max-width:1380px){#ledger-v127-root[data-screen="balance-sheet"] .bs213-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1180px){#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary{grid-template-columns:1fr!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-charts{grid-template-columns:1fr!important}}
@media(max-width:900px){#ledger-v127-root[data-screen="balance-sheet"] .bs213-bento,#ledger-v127-root[data-screen="balance-sheet"] .bs213-insights,#ledger-v127-root[data-screen="balance-sheet"] .bs213-advanced-grid{grid-template-columns:1fr!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-health-grid{grid-template-columns:1fr!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){#ledger-v127-root[data-screen="balance-sheet"] .bs213-glance,#ledger-v127-root[data-screen="balance-sheet"] .bs213-brief .mfv20-brief-cards{grid-template-columns:1fr!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-close-viz{grid-template-columns:1fr!important}#ledger-v127-root[data-screen="balance-sheet"] .bs213-context{grid-template-columns:1fr!important}}


/* ============================================================================
   V20.14 — BALANCE SHEET RELATIONSHIP INTELLIGENCE
   2× node/card scale + local horizontal map scrolling only.
   ============================================================================ */

/* PAGE CONTAINMENT
   The Balance Sheet workspace itself must never acquire horizontal scrolling. */
html:has(#ledger-v127-root[data-screen="balance-sheet"]),
body:has(#ledger-v127-root[data-screen="balance-sheet"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}

#ledger-v127-root[data-screen="balance-sheet"],
#ledger-v127-root[data-screen="balance-sheet"]>.lispec-root,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-root{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}

#ledger-v127-root[data-screen="balance-sheet"] .bs213-root>*,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary>*,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-hero{
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
}

/* Keep the Relationship Intelligence card itself inside the normal page grid. */
#ledger-v127-root[data-screen="balance-sheet"] .bs213-hero{
  width:100%!important;
  overflow:hidden!important;
}

/* The control bar does NOT horizontally scroll. */
#ledger-v127-root[data-screen="balance-sheet"] .bs213-map-controls{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  flex-wrap:wrap!important;
}

#ledger-v127-root[data-screen="balance-sheet"] .bs214-scroll-hint{
  margin-left:auto;
  color:#6755db;
  font-size:8.5px;
  line-height:1;
  font-style:normal;
  font-weight:850;
  letter-spacing:.025em;
  white-space:nowrap;
}

/* LOCAL SCROLL OWNER
   This is the only place where the 2× relationship SVG can overflow its card. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:596px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scrollbar-gutter:stable!important;
  scroll-behavior:smooth!important;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x!important;
  background:#fafbfc!important;
  outline:none!important;
  contain:layout paint!important;
}

/* 2× the approved 1680 × 286 source geometry.
   This makes:
   - 92-unit nodes ≈ 184px
   - 100-unit nodes ≈ 200px
   - 108-unit nodes ≈ 216px
   - 150-unit L1 nodes ≈ 300px
   - 160-unit L1 node ≈ 320px
   without changing the approved relationship geometry. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-svg{
  display:block!important;
  width:3360px!important;
  min-width:3360px!important;
  max-width:none!important;
  height:572px!important;
  min-height:572px!important;
  max-height:none!important;
  margin:0!important;
  flex:none!important;
}

/* Premium, visible but restrained horizontal scrollbar. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar{
  height:10px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-track{
  background:#eef1f6;
  border-radius:999px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-thumb{
  background:#b9c3d7;
  border:2px solid #eef1f6;
  border-radius:999px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-thumb:hover{
  background:#8f9db8;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
  scrollbar-width:thin;
  scrollbar-color:#aeb9cd #eef1f6;
}

/* Keyboard focus makes the scrollable canvas obvious without altering page geometry. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll:focus-visible{
  box-shadow:inset 0 0 0 2px rgba(103,85,219,.24)!important;
}

/* Never allow the enlarged SVG to leak into the Investigation Brief column. */
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary>.bs213-hero{
  overflow:hidden!important;
}

/* Responsive behaviour remains local: the map stays 2× and is explored by
   horizontal scrolling rather than shrinking its nodes back down. */
@media(max-width:1180px){
  #ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
    height:596px!important;
  }
  #ledger-v127-root[data-screen="balance-sheet"] .bs214-map-svg{
    width:3360px!important;
    min-width:3360px!important;
    height:572px!important;
  }
}
@media(max-width:700px){
  #ledger-v127-root[data-screen="balance-sheet"] .bs214-scroll-hint{
    width:100%;
    margin-left:0;
    padding-top:2px;
  }
}


/* ============================================================================
   V20.15 — BALANCE SHEET RELATIONSHIP MAP 1xx NODE FAMILY
   Supersedes V20.14 2× rendering.
   Source SVG remains 1680 × 286; rendered at 1.20× = 2016 × 343px.
   ============================================================================ */

/* The page itself remains horizontally locked. */
html:has(#ledger-v127-root[data-screen="balance-sheet"]),
body:has(#ledger-v127-root[data-screen="balance-sheet"]),
#ledger-v127-root[data-screen="balance-sheet"],
#ledger-v127-root[data-screen="balance-sheet"]>.lispec-root,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-root{
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}

/* Relationship Intelligence remains the ONLY horizontal-scroll owner. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:370px!important;
  min-height:370px!important;
  max-height:370px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
}

/* 1.20× scale:
   92-unit nodes  ≈ 110px
   100-unit nodes ≈ 120px
   108-unit nodes ≈ 130px
   150-unit nodes ≈ 180px
   160-unit nodes ≈ 192px

   This keeps the card family in the requested 1xx visual range while retaining
   enough width to require local map scrolling on normal desktop viewports. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-svg{
  display:block!important;
  width:2016px!important;
  min-width:2016px!important;
  max-width:none!important;
  height:343px!important;
  min-height:343px!important;
  max-height:343px!important;
  margin:0!important;
  flex:none!important;
}

/* Keep the map card and page grid contained even while the inner SVG is wider. */
#ledger-v127-root[data-screen="balance-sheet"] .bs213-hero,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary,
#ledger-v127-root[data-screen="balance-sheet"] .bs213-primary>*{
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
}

/* The horizontal scrollbar belongs only to the map viewport. */
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar{
  height:9px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-track{
  background:#eef1f6;
  border-radius:999px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-thumb{
  background:#b7c1d3;
  border:2px solid #eef1f6;
  border-radius:999px;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll::-webkit-scrollbar-thumb:hover{
  background:#8d9ab2;
}
#ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
  scrollbar-width:thin;
  scrollbar-color:#aeb8ca #eef1f6;
}

/* Responsive rule: never shrink the map back to fit the page.
   The user explores it horizontally inside Relationship Intelligence. */
@media(max-width:1180px){
  #ledger-v127-root[data-screen="balance-sheet"] .bs214-map-scroll{
    height:370px!important;
    min-height:370px!important;
    max-height:370px!important;
  }
  #ledger-v127-root[data-screen="balance-sheet"] .bs214-map-svg{
    width:2016px!important;
    min-width:2016px!important;
    height:343px!important;
    min-height:343px!important;
    max-height:343px!important;
  }
}


/* ============================================================================
   V20.16 — ACCOUNTING · RECURRING ENTRIES
   Balance Sheet V20.15 anatomy / UX donor.
   ============================================================================ */

html:has(#ledger-v127-root[data-screen="recurring"]),
body:has(#ledger-v127-root[data-screen="recurring"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}
#ledger-v127-root[data-screen="recurring"],
#ledger-v127-root[data-screen="recurring"]>.lispec-root,
#ledger-v127-root[data-screen="recurring"] .rec216-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-root>*{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-filterbar .mfv10-control{min-width:130px}
#ledger-v127-root[data-screen="recurring"] .rec216-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-kpi{min-height:102px!important}
#ledger-v127-root[data-screen="recurring"] .rec216-lens>button.active{
  border-color:#cfc4ff!important;
  background:#f2efff!important;
  color:#5e43d7!important;
  box-shadow:inset 0 0 0 1px #ddd6ff;
}
#ledger-v127-root[data-screen="recurring"] .rec216-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-primary>.mfv20-hero,
#ledger-v127-root[data-screen="recurring"] .rec216-primary>.mfv20-brief{
  min-width:0!important;
  height:100%!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-hero{
  width:100%!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 12px;
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  background:#fff;
  overflow:hidden;
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-controls>div{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-controls button.active{
  border-color:#6b54e3;background:#6b54e3;color:#fff
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-controls>span{
  color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap
}

/* Local map scroll only — the page itself cannot move horizontally. */
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:482px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fbfcfe!important;
  outline:none!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-svg{
  display:block!important;
  width:1540px!important;
  min-width:1540px!important;
  max-width:none!important;
  height:460px!important;
  min-height:460px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="recurring"] .rec216-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

/* SVG map typography */
#ledger-v127-root[data-screen="recurring"] .rec216-map-title{fill:#27364e;font:800 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-day{fill:#68788f;font:800 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-run{font:900 22px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-small{fill:#8a97aa;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-amt{fill:#34445c;font:800 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-flag{font:900 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-flag.anomaly{fill:#d84d59}
#ledger-v127-root[data-screen="recurring"] .rec216-flag.cluster{fill:#704fe1}
#ledger-v127-root[data-screen="recurring"] .rec216-flag.peak{fill:#d84d59;font-size:7px}
#ledger-v127-root[data-screen="recurring"] .rec216-map-legend text{fill:#748298;font:650 8.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-window{fill:#c44954;font:850 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-lane-label{fill:#4e6078;font:750 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-lane-grid{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="recurring"] .rec216-foot{fill:#78879b;font:650 8.5px Inter,system-ui,sans-serif}

#ledger-v127-root[data-screen="recurring"] .rec216-brief{
  display:flex!important;flex-direction:column!important
}
#ledger-v127-root[data-screen="recurring"] .rec216-brief .mfv20-brief-cards{
  display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch
}
#ledger-v127-root[data-screen="recurring"] .rec216-brief .mfv20-brief-cards button{min-height:118px!important}

/* Six specification analytics — donor 2-column premium chart geometry. */
#ledger-v127-root[data-screen="recurring"] .rec216-charts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart{
  min-width:0;
  min-height:365px;
  display:flex;
  flex-direction:column;
  padding:16px;
  border:1px solid #e5e9f1;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fcfdff);
  box-shadow:0 9px 26px rgba(28,42,72,.045);
  cursor:pointer;
  overflow:hidden;
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart:hover{
  border-color:#d8d2f5;
  box-shadow:0 12px 31px rgba(28,42,72,.07)
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-head span{
  color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.09em
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-head h3{
  margin:3px 0;color:#22324b;font-size:16px;font-weight:820
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-head p{
  margin:0;color:#7d8ba1;font-size:10px;line-height:1.45
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-head button{
  height:29px;flex:none;padding:0 9px;border:1px solid #e0e5ee;border-radius:8px;background:#fff;color:#64758c;font-size:8.5px;font-weight:800
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-body{
  flex:1;min-height:210px;display:flex;align-items:center;justify-content:center;min-width:0
}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-svg{
  display:block;width:100%;height:auto;max-height:235px
}
#ledger-v127-root[data-screen="recurring"] .rec216-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="recurring"] .rec216-chart-svg text{
  fill:#8492a8;font:600 9px Inter,system-ui,sans-serif
}
#ledger-v127-root[data-screen="recurring"] .rec216-line{
  fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round
}
#ledger-v127-root[data-screen="recurring"] .rec216-line.workload{stroke:#6281f1}
#ledger-v127-root[data-screen="recurring"] .workload-dot{fill:#6281f1}
#ledger-v127-root[data-screen="recurring"] .rec216-line.anomaly{stroke:#e25d69}
#ledger-v127-root[data-screen="recurring"] .anomaly-dot{fill:#9aa8ba}
#ledger-v127-root[data-screen="recurring"] .anomaly-hot{fill:#e25d69;stroke:#fff;stroke-width:2}
#ledger-v127-root[data-screen="recurring"] .anomaly-guide{stroke:#e25d69;stroke-dasharray:4 4;opacity:.6}
#ledger-v127-root[data-screen="recurring"] .anomaly-label{fill:#c84a56!important;font-weight:850!important}

#ledger-v127-root[data-screen="recurring"] .rec216-context{
  display:grid;grid-template-columns:108px minmax(0,1fr);gap:10px;margin-top:auto;padding:10px 11px;border:1px solid #eceef5;border-radius:11px;background:linear-gradient(135deg,#fbfaff,#fff)
}
#ledger-v127-root[data-screen="recurring"] .rec216-context span{color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="recurring"] .rec216-context p{margin:0;color:#53647c;font-size:10px;line-height:1.5}

/* Approval Risk */
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz{
  display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:center;width:100%
}
#ledger-v127-root[data-screen="recurring"] .approval-bg{fill:none;stroke:#edf1f6;stroke-width:13}
#ledger-v127-root[data-screen="recurring"] .approval-risk{fill:none;stroke:#e44e5b;stroke-width:13;stroke-linecap:round}
#ledger-v127-root[data-screen="recurring"] .approval-value{fill:#26364f;font:900 25px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .approval-label{fill:#d54b56;font:800 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz strong{font-size:12px;color:#5f6e83}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz b{font-size:24px;color:#24344d}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz span,#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz small{font-size:9px;color:#7a879b}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz i{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-viz i em{display:block;height:100%;background:#e35a65}

/* Obsolete */
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:10px;width:100%;align-items:stretch}
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete>div{padding:15px;border:1px solid #ebedf4;border-radius:12px;background:#fff}
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete b{display:block;color:#25354d;font-size:24px}
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete span{display:block;color:#7d8b9f;font-size:9px;margin-top:5px}
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete strong{display:block;color:#6b55dc;font-size:16px;margin-top:9px}
#ledger-v127-root[data-screen="recurring"] .rec216-obsolete p{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:10px;background:#faf9ff;color:#67758b;font-size:9.5px;line-height:1.5}

/* Close calendar */
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;width:100%;align-items:end}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .headline{display:grid;gap:7px}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .headline b{font-size:30px;color:#24344d}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .headline span{font-size:10px;color:#7b899c}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .headline strong{font-size:11px;color:#cf4c57}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars{height:145px;display:grid;grid-template-columns:repeat(6,1fr);gap:9px;align-items:end}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars>div{height:100%;display:grid;grid-template-rows:18px 1fr;gap:5px}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars span{text-align:center;font-size:8px;color:#8190a4}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars i{height:100%;display:flex;align-items:end;border-radius:8px;background:#f1f3f7;overflow:hidden}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars em{display:block;width:100%;background:#8aa2f4}
#ledger-v127-root[data-screen="recurring"] .rec216-close-calendar .bars .hot em{background:#e35c68}

/* Savings */
#ledger-v127-root[data-screen="recurring"] .rec216-savings{display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:1fr auto;gap:14px;width:100%;align-items:end}
#ledger-v127-root[data-screen="recurring"] .rec216-savings>div:first-child{display:grid;gap:7px}
#ledger-v127-root[data-screen="recurring"] .rec216-savings b{font-size:25px;color:#24344c}
#ledger-v127-root[data-screen="recurring"] .rec216-savings span{font-size:9px;color:#7c899d}
#ledger-v127-root[data-screen="recurring"] .rec216-savings strong{font-size:11px;color:#178962}
#ledger-v127-root[data-screen="recurring"] .rec216-savings .save-bars{height:140px;display:grid;grid-template-columns:repeat(12,1fr);gap:6px;align-items:end}
#ledger-v127-root[data-screen="recurring"] .rec216-savings .save-bars i{height:100%;display:flex;align-items:end;border-radius:6px;background:#edf5f1;overflow:hidden}
#ledger-v127-root[data-screen="recurring"] .rec216-savings .save-bars em{display:block;width:100%;background:linear-gradient(180deg,#70d3b0,#25aa82)}
#ledger-v127-root[data-screen="recurring"] .rec216-savings small{grid-column:1/-1;color:#79879b;font-size:9px;line-height:1.5}

/* Operational review and retained right-rail capabilities */
#ledger-v127-root[data-screen="recurring"] .rec216-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid button,#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid article{
  min-height:62px;padding:10px;border:1px solid #e9edf3;border-radius:10px;background:#fff;text-align:left
}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid span{display:block;color:#7b899d;font-size:9px}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid b{display:block;margin-top:6px;color:#26364f;font-size:14px}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid b.good{color:#178864}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid b.risk{color:#d6525d}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid b.blue{color:#497fe8}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid .liquidity{grid-column:1/-1;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid .liquidity b{font-size:21px}
#ledger-v127-root[data-screen="recurring"] .rec216-ops-grid .liquidity small{display:block;margin-top:4px;color:#d35a64;font-size:9px}

#ledger-v127-root[data-screen="recurring"] .rec216-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Register owns its horizontal scroll; the page never does. */
#ledger-v127-root[data-screen="recurring"] .rec216-register{
  width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="recurring"] .rec216-register .mfv11-table-wrap{
  width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important
}
#ledger-v127-root[data-screen="recurring"] .rec216-register table{min-width:1320px!important}
#ledger-v127-root[data-screen="recurring"] .rec216-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="recurring"] .rec216-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="recurring"] .rec216-status,#ledger-v127-root[data-screen="recurring"] .rec216-risk,#ledger-v127-root[data-screen="recurring"] .rec216-confidence{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="recurring"] .rec216-status.good,#ledger-v127-root[data-screen="recurring"] .rec216-risk.low,#ledger-v127-root[data-screen="recurring"] .rec216-confidence{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="recurring"] .rec216-status.attention,#ledger-v127-root[data-screen="recurring"] .rec216-risk.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="recurring"] .rec216-risk.high{background:#fff0f1;color:#c9434d}

/* Advanced Investigation */
#ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px
}
#ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid>article{
  min-width:0;min-height:220px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer
}
#ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="recurring"] .rec216-dep-chain{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:34px}
#ledger-v127-root[data-screen="recurring"] .rec216-dep-chain span{min-width:74px;padding:9px;border:1px solid #e7e9f1;border-radius:9px;text-align:center;color:#66758b;font-size:8px}
#ledger-v127-root[data-screen="recurring"] .rec216-dep-chain span b{display:block;margin-bottom:5px;color:#664fe0;font-size:12px}
#ledger-v127-root[data-screen="recurring"] .rec216-dep-chain>i{font-style:normal;color:#9aa6b8}
#ledger-v127-root[data-screen="recurring"] .rec216-frequency{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:28px}
#ledger-v127-root[data-screen="recurring"] .rec216-frequency div{padding:18px;border:1px solid #e8ebf2;border-radius:12px;text-align:center;background:#fbfcff}
#ledger-v127-root[data-screen="recurring"] .rec216-frequency b{display:block;color:#26364f;font-size:28px}
#ledger-v127-root[data-screen="recurring"] .rec216-frequency span{color:#77869b;font-size:9px}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-bars{display:grid;gap:10px;margin-top:28px}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-bars span{display:flex;justify-content:space-between;color:#65758b;font-size:9px}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-bars i{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-bars i em{display:block;height:100%;background:#25ad82}
#ledger-v127-root[data-screen="recurring"] .rec216-approval-bars i.warn em{background:#eda72e}
#ledger-v127-root[data-screen="recurring"] .rec216-peak-cards{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="recurring"] .rec216-peak-cards span{padding:12px;border:1px solid #eceff4;border-radius:10px;color:#728097;font-size:9px;text-align:center}
#ledger-v127-root[data-screen="recurring"] .rec216-peak-cards span b{display:block;color:#d14f5a;font-size:15px}
#ledger-v127-root[data-screen="recurring"] .rec216-peak-cards i{font-style:normal;color:#6955df;font-weight:900}
#ledger-v127-root[data-screen="recurring"] .rec216-peak-cards strong{grid-column:1/-1;text-align:center;color:#26364f}

/* Drawer: keep clicked-object fidelity from V20.12; recurring chart cards capture exactly. */
#ledger-v127-root[data-screen="recurring"] .ins27-selected-context .rec216-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important
}
#ledger-v127-root[data-screen="recurring"] .ins27-selected-context .rec216-map-svg{
  width:100%!important;min-width:0!important;height:auto!important;max-height:390px!important
}

@media(max-width:1380px){
 #ledger-v127-root[data-screen="recurring"] .rec216-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="recurring"] .rec216-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-charts{grid-template-columns:1fr!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="recurring"] .rec216-bento,
 #ledger-v127-root[data-screen="recurring"] .rec216-insights,
 #ledger-v127-root[data-screen="recurring"] .rec216-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-ops-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-ops-grid .liquidity{grid-column:auto}
 #ledger-v127-root[data-screen="recurring"] .rec216-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="recurring"] .rec216-glance,
 #ledger-v127-root[data-screen="recurring"] .rec216-brief .mfv20-brief-cards{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-context,
 #ledger-v127-root[data-screen="recurring"] .rec216-approval-viz,
 #ledger-v127-root[data-screen="recurring"] .rec216-close-calendar,
 #ledger-v127-root[data-screen="recurring"] .rec216-savings{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="recurring"] .rec216-obsolete{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.17 — ACCOUNTING · REVENUE RECOGNITION
   Balance Sheet V20.15 page anatomy / UX donor.
   ============================================================================ */

html:has(#ledger-v127-root[data-screen="revenue-recognition"]),
body:has(#ledger-v127-root[data-screen="revenue-recognition"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}
#ledger-v127-root[data-screen="revenue-recognition"],
#ledger-v127-root[data-screen="revenue-recognition"]>.lispec-root,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-root>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Header / global filters / scope */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-filterbar .mfv10-control{min-width:118px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-kpi{min-height:102px!important}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-lens>button.active{
  border-color:#cfc4ff!important;
  background:#f2efff!important;
  color:#5e43d7!important;
  box-shadow:inset 0 0 0 1px #ddd6ff;
}

/* Primary Investigation Workspace */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-primary>*{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-hero{
  width:100%!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 12px;
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  background:#fff;
  overflow:hidden;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-controls>div{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-controls button.active{
  border-color:#6b54e3;background:#6b54e3;color:#fff
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-controls>span{
  color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap
}

/* Native 1xx card family from supplied 1680 SVG. Only map viewport scrolls horizontally. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:452px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fafbfc!important;
  outline:none!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-svg{
  display:block!important;
  width:1680px!important;
  min-width:1680px!important;
  max-width:none!important;
  height:430px!important;
  min-height:430px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

/* Structure map text */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-title{fill:#0f172a;font:800 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-sub{fill:#64748b;font:550 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-map-legend{fill:#64748b;font:650 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-node-title{fill:#162238;font:800 11px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-node-label{fill:#718096;font:550 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-node-value{fill:#17243b;font:800 11px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-node-value.risk{fill:#df3f50}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-identity-title{fill:#17243b;font:800 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-identity{fill:#52637a;font:600 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-stage-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-stage-node:hover{filter:drop-shadow(0 5px 9px rgba(38,54,85,.12))}

/* Investigation brief */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-brief .mfv20-brief-cards{
  display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-brief .mfv20-brief-cards button{min-height:118px!important}

/* Main specification charts */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-charts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart{
  min-width:0;
  min-height:370px;
  display:flex;
  flex-direction:column;
  padding:16px;
  border:1px solid #e5e9f1;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fcfdff);
  box-shadow:0 9px 26px rgba(28,42,72,.045);
  cursor:pointer;
  overflow:hidden;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart:hover{
  border-color:#d8d2f5;
  box-shadow:0 12px 31px rgba(28,42,72,.07)
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-head span{
  color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.09em
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-head h3{
  margin:3px 0;color:#22324b;font-size:16px;font-weight:820
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-head p{
  margin:0;color:#7d8ba1;font-size:10px;line-height:1.45
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-head button{
  height:29px;flex:none;padding:0 9px;border:1px solid #e0e5ee;border-radius:8px;background:#fff;color:#64758c;font-size:8.5px;font-weight:800
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-body{
  flex:1;min-height:210px;display:flex;align-items:center;justify-content:center;min-width:0
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-svg{
  display:block;width:100%;height:auto;max-height:240px
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-svg text{
  fill:#8492a8;font:650 9px Inter,system-ui,sans-serif
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-svg text.good{fill:#159069;font-weight:850}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-chart-svg text.risk{fill:#cf4c58;font-weight:850}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-context{
  display:grid;grid-template-columns:108px minmax(0,1fr);gap:10px;margin-top:auto;padding:10px 11px;border:1px solid #eceef5;border-radius:11px;background:linear-gradient(135deg,#fbfaff,#fff)
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-context span{color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-context p{margin:0;color:#53647c;font-size:10px;line-height:1.5}

/* Scenario card */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table{width:100%;display:grid;gap:5px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table .head,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table button{
  display:grid;grid-template-columns:1.2fr .9fr .7fr;gap:10px;align-items:center
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table .head{
  padding:7px 10px;border-bottom:1px solid #e8edf3;color:#8492a7;font-size:8px;font-weight:800
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table button{
  min-height:44px;padding:8px 10px;border:1px solid #edf0f5;border-radius:9px;background:#fff;text-align:left;color:#65748a;font-size:10px
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table button b{color:#25354d}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table strong.good{color:#159069}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-scenario-table strong.bad{color:#cf4c58}

/* Risk donut */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz{
  display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;align-items:center;width:100%
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz svg{width:200px;height:200px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz circle{fill:none;stroke-width:18}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-bg{stroke:#edf1f5}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-low{stroke:#20b27e}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-med{stroke:#f0ad2c}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-high{stroke:#e85a66}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-total{fill:#26364f;font:900 26px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .risk-label{fill:#8190a4;font:700 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div{display:grid;gap:12px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div span{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:10px;color:#65758b}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div i{width:8px;height:8px;border-radius:50%}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div i.low{background:#20b27e}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div i.med{background:#f0ad2c}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div i.high{background:#e85a66}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz>div strong{color:#25354d}

/* Operational review row from supplied page */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin:0 0 12px;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations article{
  min-width:0;min-height:150px;padding:13px;border:1px solid #e5e9f1;border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(28,42,72,.035)
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations article>span{display:block;color:#604bd9;font-size:8px;font-weight:900;letter-spacing:.07em}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations article>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations p{margin:0;min-width:0}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations small{display:block;color:#8592a6;font-size:7px;line-height:1.3}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations b{display:block;margin-top:4px;color:#25354d;font-size:12px;white-space:normal}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations button{border:0;background:transparent;color:#6651df;font-size:8.5px;font-weight:800;padding:0;cursor:pointer}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Contract register — internal scroll only */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-register{
  width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-register .mfv11-table-wrap{
  width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-register table{min-width:1500px!important}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-progress{display:grid;grid-template-columns:70px auto;gap:7px;align-items:center}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-progress i{height:6px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-progress i em{display:block;height:100%;background:#263b80;border-radius:999px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-progress span{font-size:9px;color:#65758a}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-pill,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-confidence,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-workflow{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-pill.low,#ledger-v127-root[data-screen="revenue-recognition"] .rr217-confidence{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-pill.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-pill.high{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-workflow{background:#eef3ff;color:#4f70cf}

/* Advanced Investigation */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid>article{
  min-width:0;min-height:235px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-method-bars,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-billing{display:grid;gap:10px;margin-top:25px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-method-bars span,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-billing span{display:flex;justify-content:space-between;color:#64748b;font-size:9px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-method-bars i,
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-billing i{height:8px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-method-bars i em{display:block;height:100%;background:#6c5ce7}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-billing i em{display:block;height:100%;background:#4f80ea}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-billing strong{color:#c94b56;font-size:10px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-split{display:flex;height:70px;margin-top:34px;border-radius:12px;overflow:hidden}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-split span{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:9px;font-weight:700}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-split span:first-child{background:#43a7f0}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-split span:last-child{background:#785add}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-split b{font-size:20px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-rpo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:26px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-rpo-grid span{padding:12px;border:1px solid #e9edf3;border-radius:10px;color:#7b899d;font-size:9px}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-rpo-grid b{display:block;color:#25354d;font-size:15px;margin-bottom:4px}

/* Drawer exact clicked-object fidelity */
#ledger-v127-root[data-screen="revenue-recognition"] .ins27-selected-context .rr217-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important
}
#ledger-v127-root[data-screen="revenue-recognition"] .ins27-selected-context.kind-node .rr217-stage-node{
  filter:none!important
}

/* Responsive */
@media(max-width:1380px){
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-charts{grid-template-columns:1fr!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights,
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-glance,
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-brief .mfv20-brief-cards,
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-operations,
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-filterbar .mfv20-filter-core{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-context,
 #ledger-v127-root[data-screen="revenue-recognition"] .rr217-risk-viz{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.18 — REVENUE RECOGNITION · 3 INSIGHT CARD LAYOUT FIX
   Defect: supporting text/metadata collided with the "See more insight" action.
   Scope: Revenue Recognition only. No donor/global insight-card changes.
   ============================================================================ */

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  min-height:318px!important;
  height:auto!important;
  padding:20px 22px 18px!important;
  overflow:hidden!important;
  text-align:left!important;
}

/* Keep all real content above the decorative lower-right orb. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>*{
  position:relative;
  z-index:2;
  min-width:0;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>div{
  display:block!important;
  flex:0 0 auto!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight span{
  display:block!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:850!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight p{
  min-height:0!important;
  margin:12px 0 0!important;
  font-size:13.5px!important;
  line-height:1.62!important;
  overflow-wrap:anywhere!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>b{
  display:block!important;
  flex:0 0 auto!important;
  margin:24px 0 0!important;
  font-size:34px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>small{
  display:block!important;
  flex:0 0 auto!important;
  min-height:22px!important;
  margin:12px 0 0!important;
  padding:0 0 14px!important;
  color:#8491a5!important;
  font-size:12px!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
}

/* The action now participates in document flow instead of being absolutely
   positioned over the supporting text. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>i{
  position:static!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:fit-content!important;
  margin-top:auto!important;
  padding-top:13px!important;
  color:#6848e8!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-style:normal!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

/* Subtle separation makes the action read as an action without adding
   another button inside the clickable card. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>i:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:56px;
  height:1px;
  background:#ddd7ff;
}

/* Decorative orb remains decorative and cannot cover text/action. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight:after{
  z-index:0!important;
  pointer-events:none!important;
  opacity:.72!important;
}

/* Preserve equal visual rhythm as text wraps differently across the 3 cards. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights{
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight{
  align-self:stretch!important;
}

@media(max-width:900px){
  #ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight{
    min-height:280px!important;
  }
}


/* ============================================================================
   V20.19 — REVENUE RECOGNITION · COMPACT 3 INSIGHT CARDS
   Keeps V20.18 collision fix, but reduces excess vertical height.
   ============================================================================ */

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight{
  min-height:270px!important;
  padding:16px 18px 14px!important;
}

/* Tighten vertical rhythm without reintroducing the link collision. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight span{
  font-size:15px!important;
  line-height:1.28!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight p{
  margin-top:8px!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>b{
  margin-top:16px!important;
  font-size:30px!important;
  line-height:1.02!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>small{
  min-height:18px!important;
  margin-top:8px!important;
  padding-bottom:7px!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}

#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight>i{
  padding-top:9px!important;
  font-size:11px!important;
}

/* Slightly reduce the decorative orb so the compact card feels balanced. */
#ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight:after{
  right:-30px!important;
  bottom:-46px!important;
  width:112px!important;
  height:112px!important;
}

@media(max-width:900px){
  #ledger-v127-root[data-screen="revenue-recognition"] .rr217-insights .mfv20-insight{
    min-height:250px!important;
  }
}


/* ============================================================================
   V20.20 — ACCOUNTING · CHART OF ACCOUNTS
   Balance Sheet V20.15 page-anatomy / UX donor.
   ============================================================================ */

html:has(#ledger-v127-root[data-screen="accounts"]),
body:has(#ledger-v127-root[data-screen="accounts"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}
#ledger-v127-root[data-screen="accounts"],
#ledger-v127-root[data-screen="accounts"]>.lispec-root,
#ledger-v127-root[data-screen="accounts"] .coa220-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-root>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Filters / KPI row */
#ledger-v127-root[data-screen="accounts"] .coa220-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-search input{
  width:100%;height:34px;border:1px solid #dde4ee;border-radius:8px;padding:0 10px;background:#fff;color:#293750;font:600 10px Inter,system-ui,sans-serif;outline:none
}
#ledger-v127-root[data-screen="accounts"] .coa220-search input:focus{
  border-color:#a79bf1;box-shadow:0 0 0 3px rgba(108,86,225,.10)
}
#ledger-v127-root[data-screen="accounts"] .coa220-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi{
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 86px!important;
  gap:7px!important;
  align-items:center!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi>div{
  min-width:0;text-align:left
}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi>div>b{
  display:block!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-of{
  display:inline!important;margin-left:2px!important;font-size:9px!important;color:#8794a7!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-spark{
  width:86px!important;height:30px!important;overflow:visible!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-spark polyline{
  fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round
}
#ledger-v127-root[data-screen="accounts"] .coa220-spark .tone-blue{stroke:#5d7ce8;fill:#5d7ce8}
#ledger-v127-root[data-screen="accounts"] .coa220-spark .tone-teal{stroke:#24a879;fill:#24a879}
#ledger-v127-root[data-screen="accounts"] .coa220-spark .tone-amber{stroke:#ef9d22;fill:#ef9d22}
#ledger-v127-root[data-screen="accounts"] .coa220-spark .tone-purple{stroke:#7556df;fill:#7556df}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi-gauge{
  width:58px!important;height:58px!important;justify-self:end
}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi-gauge .bg{fill:none;stroke:#e8edf3;stroke-width:7}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi-gauge .fg{fill:none;stroke:#16825e;stroke-width:7;stroke-linecap:round}
#ledger-v127-root[data-screen="accounts"] .coa220-kpi-gauge text{fill:#1f314a;font:900 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-lens>button.active{
  border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff
}

/* Primary workspace */
#ledger-v127-root[data-screen="accounts"] .coa220-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-primary>*{
  min-width:0!important;max-width:100%!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-hero{
  width:100%!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-map-controls{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fff;overflow:hidden
}
#ledger-v127-root[data-screen="accounts"] .coa220-map-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#ledger-v127-root[data-screen="accounts"] .coa220-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="accounts"] .coa220-map-controls button.active{border-color:#6b54e3;background:#6b54e3;color:#fff}
#ledger-v127-root[data-screen="accounts"] .coa220-map-controls>span{color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only the CoA relationship canvas may scroll horizontally. */
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:542px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fafbfc!important;
  outline:none!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-map-svg{
  display:block!important;
  width:1680px!important;
  min-width:1680px!important;
  max-width:none!important;
  height:520px!important;
  min-height:520px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="accounts"] .coa220-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

/* SVG map typography */
#ledger-v127-root[data-screen="accounts"] .coa220-map-title{fill:#15223a;font:850 12px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-map-sub{fill:#7b889c;font:550 8.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-node-kicker{fill:#8694a8;font:800 6.7px Inter,system-ui,sans-serif;letter-spacing:.06em}
#ledger-v127-root[data-screen="accounts"] .coa220-node-title{font:750 8.2px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-node-count{fill:#27374f;font:850 8.3px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-stmt{fill:#314158;font:750 8.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-label{fill:#8895a8;font:650 6.7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-value{fill:#33445d;font:850 9.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-value.dup{fill:#b97615}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-value.issue{fill:#ca4853}
#ledger-v127-root[data-screen="accounts"] .coa220-outcome-value{fill:#0e8d63;font:900 20px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-outcome-title{fill:#203049;font:800 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-outcome-sub{fill:#7d899b;font:550 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-map-legend text{fill:#728096;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-map-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="accounts"] .coa220-map-node:hover{filter:drop-shadow(0 4px 8px rgba(31,47,79,.13))}

#ledger-v127-root[data-screen="accounts"] .coa220-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="accounts"] .coa220-brief .mfv20-brief-cards{display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch}
#ledger-v127-root[data-screen="accounts"] .coa220-brief .mfv20-brief-cards button{min-height:118px!important}

/* 7 supplied analytics: 4-card first row + 3-card second row, no empty slot. */
#ledger-v127-root[data-screen="accounts"] .coa220-charts{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="accounts"] .coa220-chart{
  min-width:0;
  min-height:330px;
  display:flex;
  flex-direction:column;
  padding:15px;
  border:1px solid #e5e9f1;
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#fcfdff);
  box-shadow:0 8px 24px rgba(28,42,72,.043);
  cursor:pointer;
  overflow:hidden;
}
#ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(-n+4){grid-column:span 3}
#ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(n+5){grid-column:span 4}
#ledger-v127-root[data-screen="accounts"] .coa220-chart:hover{border-color:#d8d2f5;box-shadow:0 11px 28px rgba(28,42,72,.07)}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:7px}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-head span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-head h3{margin:3px 0;color:#22324b;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-head p{margin:0;color:#7d8ba1;font-size:9px;line-height:1.4}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#64758c;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-body{flex:1;min-height:190px;display:flex;align-items:center;justify-content:center;min-width:0}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-svg{display:block;width:100%;height:auto;max-height:220px}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-svg text{fill:#8492a8;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="accounts"] .coa220-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="accounts"] .coa220-line.active{stroke:#24a879}
#ledger-v127-root[data-screen="accounts"] .coa220-line.unused{stroke:#ef9c22}
#ledger-v127-root[data-screen="accounts"] .coa220-line.fresh{stroke:#4c7df0}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-svg circle.active{fill:#24a879}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-svg circle.unused{fill:#ef9c22}
#ledger-v127-root[data-screen="accounts"] .coa220-chart-svg circle.fresh{fill:#4c7df0}
#ledger-v127-root[data-screen="accounts"] .coa220-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #eceef5;border-radius:10px;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="accounts"] .coa220-context span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="accounts"] .coa220-context p{margin:0;color:#53647c;font-size:9px;line-height:1.45}

/* Donut / gauge cards */
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:center;width:100%}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap svg{width:150px;height:150px}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-big{fill:#24344e;font:900 18px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-small{fill:#8390a4;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap>div span{display:grid;grid-template-columns:8px 1fr auto;gap:6px;align-items:center;color:#64748b;font-size:8.5px}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap>div i{width:7px;height:7px;border-radius:50%}
#ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap>div strong{color:#2a3950}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage circle{fill:none;stroke-width:15}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage .coverage-bg{stroke:#eef1f5}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage .coverage-fg{stroke:#21a977;stroke-linecap:round}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage i.mapped{background:#21a977}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage i.unmapped{background:#f3ad2e}
#ledger-v127-root[data-screen="accounts"] .coa220-coverage i.partial{background:#e6636c}
#ledger-v127-root[data-screen="accounts"] .coa220-score{text-align:center;width:100%}
#ledger-v127-root[data-screen="accounts"] .coa220-score svg{display:block;width:190px;height:145px;margin:0 auto -12px}
#ledger-v127-root[data-screen="accounts"] .coa220-score-big{fill:#24344e;font:900 25px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-score-small{fill:#8290a4;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="accounts"] .coa220-score>b{display:block;color:#17855f;font-size:12px}
#ledger-v127-root[data-screen="accounts"] .coa220-score>small{display:block;margin-top:6px;color:#17855f;font-size:8px}

/* List analytics */
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart{display:grid;gap:9px;width:100%}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:30px;padding:0 5px;border-bottom:1px solid #edf1f5;color:#63738a;font-size:9px}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i{width:7px;height:7px;border-radius:50%;background:#8594aa}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i.red{background:#e35a66}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i.amber{background:#efa52c}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i.teal{background:#25ab80}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i.purple{background:#775be2}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart i.blue{background:#5186ed}
#ledger-v127-root[data-screen="accounts"] .coa220-list-chart b{color:#24344c;font-size:10px}

/* Operational review */
#ledger-v127-root[data-screen="accounts"] .coa220-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid>*{min-height:74px;padding:10px;border:1px solid #e8edf3;border-radius:10px;background:#fff;text-align:left}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid span{display:block;color:#7e8ba0;font-size:8px}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid b{display:block;margin-top:5px;color:#25354d;font-size:14px}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid b.good{color:#16845f}
#ledger-v127-root[data-screen="accounts"] .coa220-controls-grid small{display:block;margin-top:4px;color:#8592a6;font-size:8px;line-height:1.35}
#ledger-v127-root[data-screen="accounts"] .coa220-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight{
  min-height:250px!important;height:auto!important;display:flex!important;flex-direction:column!important;padding:16px 18px 14px!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight>*{position:relative;z-index:2}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight p{margin-top:8px!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight>b{margin-top:14px!important;font-size:28px!important}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight>small{margin-top:7px!important;padding-bottom:6px!important;font-size:10px!important}
#ledger-v127-root[data-screen="accounts"] .coa220-insights .mfv20-insight>i{position:static!important;inset:auto!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important}

/* Register internal scrolling only */
#ledger-v127-root[data-screen="accounts"] .coa220-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="accounts"] .coa220-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="accounts"] .coa220-register table{min-width:1500px!important}
#ledger-v127-root[data-screen="accounts"] .coa220-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="accounts"] .coa220-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="accounts"] .coa220-type-pill,
#ledger-v127-root[data-screen="accounts"] .coa220-status,
#ledger-v127-root[data-screen="accounts"] .coa220-risk{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="accounts"] .coa220-type-pill.asset{background:#eaf1ff;color:#4771cf}
#ledger-v127-root[data-screen="accounts"] .coa220-status.active{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="accounts"] .coa220-status.inactive{background:#f2f4f7;color:#68768b}
#ledger-v127-root[data-screen="accounts"] .coa220-status.pending-review{background:#fff5e3;color:#b97812}
#ledger-v127-root[data-screen="accounts"] .coa220-status.change-proposed{background:#eef3ff;color:#4c72d0}
#ledger-v127-root[data-screen="accounts"] .coa220-risk.low{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="accounts"] .coa220-risk.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="accounts"] .coa220-risk.high{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-score{display:grid;grid-template-columns:25px 70px;gap:7px;align-items:center}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-score>b{color:#26364f;font-size:9px}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-score>i{height:6px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="accounts"] .coa220-quality-score>i em{display:block;height:100%;background:#20a676;border-radius:999px}

/* Advanced */
#ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid>article{min-width:0;min-height:220px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="accounts"] .coa220-delta-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:30px}
#ledger-v127-root[data-screen="accounts"] .coa220-delta-grid span{padding:12px 5px;border:1px solid #e9edf3;border-radius:9px;text-align:center;color:#7c899c;font-size:8px}
#ledger-v127-root[data-screen="accounts"] .coa220-delta-grid b{display:block;color:#c94d59;font-size:17px;margin-bottom:3px}
#ledger-v127-root[data-screen="accounts"] .coa220-reconcile{display:grid;gap:9px;margin-top:22px}
#ledger-v127-root[data-screen="accounts"] .coa220-reconcile>div{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
#ledger-v127-root[data-screen="accounts"] .coa220-reconcile span{padding:9px;border:1px solid #e9edf3;border-radius:9px;color:#728096;font-size:8px}
#ledger-v127-root[data-screen="accounts"] .coa220-reconcile b{float:right;color:#26364f;font-size:12px}
#ledger-v127-root[data-screen="accounts"] .coa220-reconcile i{font-style:normal;color:#6b55df}
#ledger-v127-root[data-screen="accounts"] .coa220-fs-map{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:35px}
#ledger-v127-root[data-screen="accounts"] .coa220-fs-map span{padding:14px;border:1px solid #e8edf3;border-radius:10px;color:#718096;font-size:9px;text-align:center}
#ledger-v127-root[data-screen="accounts"] .coa220-fs-map span b{display:block;color:#5145bf;font-size:18px}
#ledger-v127-root[data-screen="accounts"] .coa220-fs-map i{font-style:normal;color:#6b55df;font-weight:900}
#ledger-v127-root[data-screen="accounts"] .coa220-dq{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:34px}
#ledger-v127-root[data-screen="accounts"] .coa220-dq span{padding:14px;border:1px solid #e8edf3;border-radius:10px;color:#718096;font-size:9px;text-align:center}
#ledger-v127-root[data-screen="accounts"] .coa220-dq b{display:block;color:#16845f;font-size:19px;margin-bottom:5px}

/* Exact clicked-object drawer reproduction */
#ledger-v127-root[data-screen="accounts"] .ins27-selected-context .coa220-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important
}
#ledger-v127-root[data-screen="accounts"] .ins27-selected-context.kind-node .coa220-map-node{
  filter:none!important
}

@media(max-width:1480px){
 #ledger-v127-root[data-screen="accounts"] .coa220-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(-n+4){grid-column:span 6}
 #ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(n+5){grid-column:span 4}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="accounts"] .coa220-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(n){grid-column:span 6}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="accounts"] .coa220-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-bento,
 #ledger-v127-root[data-screen="accounts"] .coa220-insights,
 #ledger-v127-root[data-screen="accounts"] .coa220-advanced-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="accounts"] .coa220-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="accounts"] .coa220-glance,
 #ledger-v127-root[data-screen="accounts"] .coa220-brief .mfv20-brief-cards{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-chart:nth-child(n){grid-column:span 12}
 #ledger-v127-root[data-screen="accounts"] .coa220-context,
 #ledger-v127-root[data-screen="accounts"] .coa220-donut-wrap{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="accounts"] .coa220-controls-grid{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.41 — EXPENSES & AP · EXPENSE CLAIMS
   Balance Sheet V20.15 page anatomy / UX donor.
   ============================================================================ */

html:has(#ledger-v127-root[data-screen="claims"]),
body:has(#ledger-v127-root[data-screen="claims"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}
#ledger-v127-root[data-screen="claims"],
#ledger-v127-root[data-screen="claims"]>.lispec-root,
#ledger-v127-root[data-screen="claims"] .claims241-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-root>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Five global filters — donor-aligned and intentionally streamlined. */
#ledger-v127-root[data-screen="claims"] .claims241-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-kpi{
  min-height:108px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  gap:8px!important;
  align-items:center!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-kpi>div{min-width:0;text-align:left}
#ledger-v127-root[data-screen="claims"] .claims241-spark{width:72px;height:26px}
#ledger-v127-root[data-screen="claims"] .claims241-spark polyline{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="claims"] .claims241-spark.tone-purple polyline{stroke:#7457df}
#ledger-v127-root[data-screen="claims"] .claims241-spark.tone-amber polyline{stroke:#eca129}
#ledger-v127-root[data-screen="claims"] .claims241-spark.tone-teal polyline{stroke:#22a77e}
#ledger-v127-root[data-screen="claims"] .claims241-spark.tone-blue polyline{stroke:#4f83eb}
#ledger-v127-root[data-screen="claims"] .claims241-lens>button.active{
  border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff
}

/* Relationship Intelligence + Investigation Brief */
#ledger-v127-root[data-screen="claims"] .claims241-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-primary>*{
  min-width:0!important;max-width:100%!important
}
#ledger-v127-root[data-screen="claims"] .claims241-hero{
  width:100%!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="claims"] .claims241-map-controls{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fff;overflow:hidden
}
#ledger-v127-root[data-screen="claims"] .claims241-map-controls>div,
#ledger-v127-root[data-screen="claims"] .claims241-map-controls>aside{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#ledger-v127-root[data-screen="claims"] .claims241-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="claims"] .claims241-map-controls button.active{border-color:#6b54e3;background:#6b54e3;color:#fff}
#ledger-v127-root[data-screen="claims"] .claims241-map-controls span{color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Page itself never scrolls horizontally. Only the map viewport may do so. */
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:452px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fafbfc!important;
  outline:none!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-map-svg{
  display:block!important;
  width:1320px!important;
  min-width:1320px!important;
  max-width:none!important;
  height:430px!important;
  min-height:430px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="claims"] .claims241-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

#ledger-v127-root[data-screen="claims"] .claims241-map-title{fill:#26364f;font:850 10px Inter,system-ui,sans-serif;letter-spacing:.035em}
#ledger-v127-root[data-screen="claims"] .claims241-map-sub{fill:#8190a4;font:550 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-node-title{font:780 8.4px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-node-meta{fill:#7d899d;font:600 6.9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-node-amt{fill:#26364f;font:850 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-node-amt.risk{fill:#cc4652}
#ledger-v127-root[data-screen="claims"] .claims241-identity{fill:#56667d;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="claims"] .claims241-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}

#ledger-v127-root[data-screen="claims"] .claims241-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="claims"] .claims241-brief .mfv20-brief-cards{display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch}
#ledger-v127-root[data-screen="claims"] .claims241-brief .mfv20-brief-cards button{min-height:116px!important}

/* Five supplied charts: premium, balanced row; no empty slot. */
#ledger-v127-root[data-screen="claims"] .claims241-analytics{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="claims"] .claims241-chart{
  min-width:0;min-height:350px;display:flex;flex-direction:column;padding:15px;border:1px solid #e5e9f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 8px 24px rgba(28,42,72,.043);cursor:pointer;overflow:hidden
}
#ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(-n+3){grid-column:span 3}
#ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(4),
#ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(5){grid-column:span 5}
#ledger-v127-root[data-screen="claims"] .claims241-chart:hover{border-color:#d8d2f5;box-shadow:0 11px 28px rgba(28,42,72,.07)}
#ledger-v127-root[data-screen="claims"] .claims241-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:7px}
#ledger-v127-root[data-screen="claims"] .claims241-chart-head span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="claims"] .claims241-chart-head h3{margin:3px 0;color:#22324b;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="claims"] .claims241-chart-head p{margin:0;color:#7d8ba1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="claims"] .claims241-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#64758c;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="claims"] .claims241-chart-body{flex:1;min-height:190px;display:flex;align-items:center;justify-content:center;min-width:0}
#ledger-v127-root[data-screen="claims"] .claims241-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #eceef5;border-radius:10px;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="claims"] .claims241-context span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="claims"] .claims241-context p{margin:0;color:#53647c;font-size:9px;line-height:1.45}
#ledger-v127-root[data-screen="claims"] .claims241-chart-svg{display:block;width:100%;height:auto;max-height:220px}
#ledger-v127-root[data-screen="claims"] .claims241-chart-svg text{fill:#8391a5;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="claims"] .claims241-line{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="claims"] .claims241-line.scheduled{stroke:#4e81ef}
#ledger-v127-root[data-screen="claims"] .claims241-line.potential{stroke:#6b61e6;stroke-dasharray:5 4}
#ledger-v127-root[data-screen="claims"] .claims241-line.liability{stroke:#4b83ea}
#ledger-v127-root[data-screen="claims"] .claims241-line.cash{stroke:#27a77e}
#ledger-v127-root[data-screen="claims"] .claims241-line-legend line{stroke-width:2.4}
#ledger-v127-root[data-screen="claims"] .claims241-forecast-total{fill:#7c899d!important;font-size:8px!important}
#ledger-v127-root[data-screen="claims"] .claims241-forecast-value{fill:#273750!important;font-size:13px!important;font-weight:900!important}

/* Donut analytics */
#ledger-v127-root[data-screen="claims"] .claims241-donut{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:center;width:100%}
#ledger-v127-root[data-screen="claims"] .claims241-donut svg{width:150px;height:150px}
#ledger-v127-root[data-screen="claims"] .claims241-donut-big{fill:#24344e;font:900 17px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-donut-small{fill:#8290a4;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="claims"] .claims241-donut>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="claims"] .claims241-donut>div span{display:grid;grid-template-columns:8px 1fr auto;gap:6px;align-items:center;color:#64748b;font-size:8px}
#ledger-v127-root[data-screen="claims"] .claims241-donut>div i{width:7px;height:7px;border-radius:50%}
#ledger-v127-root[data-screen="claims"] .claims241-donut>div strong{color:#2a3950}

/* Vendor bars */
#ledger-v127-root[data-screen="claims"] .claims241-bars{display:grid;gap:12px;width:100%}
#ledger-v127-root[data-screen="claims"] .claims241-bars>div{display:grid;grid-template-columns:130px minmax(0,1fr) 72px;gap:8px;align-items:center}
#ledger-v127-root[data-screen="claims"] .claims241-bars span{color:#68778d;font-size:8.5px}
#ledger-v127-root[data-screen="claims"] .claims241-bars i{height:7px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="claims"] .claims241-bars em{display:block;height:100%;background:#4f82ec;border-radius:999px}
#ledger-v127-root[data-screen="claims"] .claims241-bars b{color:#34445d;font-size:8.5px;text-align:right}

/* Operational review */
#ledger-v127-root[data-screen="claims"] .claims241-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid button{min-height:64px;padding:10px;border:1px solid #e9edf3;border-radius:10px;background:#fff;text-align:left}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid span{display:block;color:#7c899d;font-size:8px}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid b{display:block;margin-top:6px;color:#273750;font-size:14px}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid b.good{color:#168560}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid b.warn{color:#b67a17}
#ledger-v127-root[data-screen="claims"] .claims241-control-grid b.risk{color:#ca4a55}

/* Compact 3 insight cards — collision-safe. */
#ledger-v127-root[data-screen="claims"] .claims241-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight{
  min-height:252px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:16px 18px 14px!important;overflow:hidden!important;text-align:left!important
}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight>*{position:relative;z-index:2;min-width:0}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight p{margin:8px 0 0!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight>b{display:block!important;margin:14px 0 0!important;font-size:28px!important;line-height:1.02!important}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight>small{display:block!important;margin:7px 0 0!important;padding-bottom:6px!important;font-size:10px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="claims"] .claims241-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;width:fit-content!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important;font-style:normal!important;font-weight:850!important}

/* Evidence / findings register */
#ledger-v127-root[data-screen="claims"] .claims241-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="claims"] .claims241-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(260px,.75fr) auto!important;gap:12px;align-items:center}
#ledger-v127-root[data-screen="claims"] .claims241-local-search input{width:100%;height:34px;border:1px solid #dfe5ee;border-radius:9px;padding:0 10px;background:#fff;color:#29384f;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="claims"] .claims241-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="claims"] .claims241-register table{min-width:1620px!important}
#ledger-v127-root[data-screen="claims"] .claims241-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="claims"] .claims241-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="claims"] .claims241-kind,
#ledger-v127-root[data-screen="claims"] .claims241-status,
#ledger-v127-root[data-screen="claims"] .claims241-risk,
#ledger-v127-root[data-screen="claims"] .claims241-confidence{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="claims"] .claims241-kind{background:#eef3ff;color:#4d70ce}
#ledger-v127-root[data-screen="claims"] .claims241-status.overdue{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="claims"] .claims241-status.due-soon{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="claims"] .claims241-status.pending-approval{background:#f2efff;color:#654bd6}
#ledger-v127-root[data-screen="claims"] .claims241-status.open{background:#f1f4f8;color:#64748b}
#ledger-v127-root[data-screen="claims"] .claims241-confidence{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="claims"] .claims241-risk.low{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="claims"] .claims241-risk.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="claims"] .claims241-risk.high{background:#fff0f1;color:#c9434d}

/* Advanced investigation */
#ledger-v127-root[data-screen="claims"] .claims241-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="claims"] .claims241-advanced-grid>article{min-width:0;min-height:210px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="claims"] .claims241-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="claims"] .claims241-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="claims"] .claims241-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="claims"] .claims241-eq{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="claims"] .claims241-eq.two{grid-template-columns:1fr auto 1fr}
#ledger-v127-root[data-screen="claims"] .claims241-eq span{padding:12px;border:1px solid #e8edf3;border-radius:10px;text-align:center;color:#748197;font-size:8px}
#ledger-v127-root[data-screen="claims"] .claims241-eq span b{display:block;color:#26364f;font-size:16px}
#ledger-v127-root[data-screen="claims"] .claims241-eq i{font-style:normal;color:#6a55df;font-weight:900}
#ledger-v127-root[data-screen="claims"] .claims241-stack{display:flex;height:54px;margin-top:34px;border-radius:10px;overflow:hidden}
#ledger-v127-root[data-screen="claims"] .claims241-stack span{display:flex;align-items:center;justify-content:center;color:#fff;font-size:8px;font-weight:800}
#ledger-v127-root[data-screen="claims"] .claims241-stack span:nth-child(1){background:#e79b26}
#ledger-v127-root[data-screen="claims"] .claims241-stack span:nth-child(2){background:#7f6de7}
#ledger-v127-root[data-screen="claims"] .claims241-stack span:nth-child(3){background:#df5965}
#ledger-v127-root[data-screen="claims"] .claims241-horizon{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:28px}
#ledger-v127-root[data-screen="claims"] .claims241-horizon span{padding:11px;border:1px solid #e8edf3;border-radius:9px;text-align:center;color:#77859a;font-size:8px}
#ledger-v127-root[data-screen="claims"] .claims241-horizon b{display:block;color:#248665;font-size:15px}
#ledger-v127-root[data-screen="claims"] .claims241-horizon strong{grid-column:1/-1;text-align:center;color:#26364f;font-size:16px}

/* Drawer exact clicked-object reproduction. */
#ledger-v127-root[data-screen="claims"] .ins27-selected-context .claims241-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important
}
#ledger-v127-root[data-screen="claims"] .ins27-selected-context.kind-node .claims241-node{
  filter:none!important
}

@media(max-width:1420px){
 #ledger-v127-root[data-screen="claims"] .claims241-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(-n+3){grid-column:span 5}
 #ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(3){grid-column:span 10}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="claims"] .claims241-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="claims"] .claims241-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(n){grid-column:span 5}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="claims"] .claims241-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="claims"] .claims241-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="claims"] .claims241-bento,
 #ledger-v127-root[data-screen="claims"] .claims241-insights,
 #ledger-v127-root[data-screen="claims"] .claims241-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="claims"] .claims241-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="claims"] .claims241-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="claims"] .claims241-glance,
 #ledger-v127-root[data-screen="claims"] .claims241-brief .mfv20-brief-cards{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="claims"] .claims241-chart:nth-child(n){grid-column:span 10}
 #ledger-v127-root[data-screen="claims"] .claims241-context,
 #ledger-v127-root[data-screen="claims"] .claims241-donut{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="claims"] .claims241-control-grid{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.42 — EXPENSES & AP · AP & VENDOR BILLS
   Balance Sheet V20.15 page-anatomy / UX donor.
   ============================================================================ */

html:has(#ledger-v127-root[data-screen="bills"]),
body:has(#ledger-v127-root[data-screen="bills"]){
  max-width:100%!important;
  overflow-x:hidden!important;
}
#ledger-v127-root[data-screen="bills"],
#ledger-v127-root[data-screen="bills"]>.lispec-root,
#ledger-v127-root[data-screen="bills"] .bills242-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  overscroll-behavior-x:none!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-root>*{
  min-width:0!important;
  max-width:100%!important;
}

/* Six page-specific filters; no extra global filter clutter. */
#ledger-v127-root[data-screen="bills"] .bills242-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-kpi{
  min-height:108px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  gap:8px!important;
  align-items:center!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-kpi>div{min-width:0;text-align:left}
#ledger-v127-root[data-screen="bills"] .bills242-spark{width:72px;height:26px}
#ledger-v127-root[data-screen="bills"] .bills242-spark polyline{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="bills"] .bills242-spark.tone-purple polyline{stroke:#7457df}
#ledger-v127-root[data-screen="bills"] .bills242-spark.tone-amber polyline{stroke:#eca129}
#ledger-v127-root[data-screen="bills"] .bills242-spark.tone-teal polyline{stroke:#22a77e}
#ledger-v127-root[data-screen="bills"] .bills242-spark.tone-blue polyline{stroke:#4f83eb}
#ledger-v127-root[data-screen="bills"] .bills242-lens>button.active{
  border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff
}

/* Primary investigation workspace */
#ledger-v127-root[data-screen="bills"] .bills242-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-primary>*{
  min-width:0!important;max-width:100%!important
}
#ledger-v127-root[data-screen="bills"] .bills242-hero{
  width:100%!important;overflow:hidden!important
}
#ledger-v127-root[data-screen="bills"] .bills242-entity-chips{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 12px;border-top:1px solid #edf1f6;background:#fff
}
#ledger-v127-root[data-screen="bills"] .bills242-entity-chips>span{
  color:#7c899d;font-size:8px;font-weight:850;letter-spacing:.04em;margin-right:3px
}
#ledger-v127-root[data-screen="bills"] .bills242-entity-chips button,
#ledger-v127-root[data-screen="bills"] .bills242-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="bills"] .bills242-entity-chips button.active,
#ledger-v127-root[data-screen="bills"] .bills242-map-controls button.active{
  border-color:#6b54e3;background:#6b54e3;color:#fff
}
#ledger-v127-root[data-screen="bills"] .bills242-map-controls{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fff;overflow:hidden
}
#ledger-v127-root[data-screen="bills"] .bills242-map-controls>div,
#ledger-v127-root[data-screen="bills"] .bills242-map-controls>aside{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap
}
#ledger-v127-root[data-screen="bills"] .bills242-map-controls span{
  color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap
}

/* Only this map viewport scrolls horizontally. The page does not. */
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:570px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fafbfc!important;
  outline:none!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-map-svg{
  display:block!important;
  width:1320px!important;
  min-width:1320px!important;
  max-width:none!important;
  height:548px!important;
  min-height:548px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="bills"] .bills242-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

#ledger-v127-root[data-screen="bills"] .bills242-map-title{fill:#26364f;font:850 10px Inter,system-ui,sans-serif;letter-spacing:.035em}
#ledger-v127-root[data-screen="bills"] .bills242-map-sub{fill:#8190a4;font:550 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-node-title{font:780 8.4px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-node-meta{fill:#7d899d;font:600 6.9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-node-amt{fill:#26364f;font:850 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-node-amt.risk{fill:#cc4652}
#ledger-v127-root[data-screen="bills"] .bills242-identity{fill:#56667d;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="bills"] .bills242-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}

#ledger-v127-root[data-screen="bills"] .bills242-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="bills"] .bills242-brief .mfv20-brief-cards{
  display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch
}
#ledger-v127-root[data-screen="bills"] .bills242-brief .mfv20-brief-cards button{min-height:116px!important}

/* Five source charts. First 3 + second 2, no dead whitespace. */
#ledger-v127-root[data-screen="bills"] .bills242-analytics{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="bills"] .bills242-chart{
  min-width:0;min-height:350px;display:flex;flex-direction:column;padding:15px;border:1px solid #e5e9f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 8px 24px rgba(28,42,72,.043);cursor:pointer;overflow:hidden
}
#ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(-n+3){grid-column:span 3}
#ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(4),
#ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(5){grid-column:span 5}
#ledger-v127-root[data-screen="bills"] .bills242-chart:hover{border-color:#d8d2f5;box-shadow:0 11px 28px rgba(28,42,72,.07)}
#ledger-v127-root[data-screen="bills"] .bills242-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:7px}
#ledger-v127-root[data-screen="bills"] .bills242-chart-head span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="bills"] .bills242-chart-head h3{margin:3px 0;color:#22324b;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="bills"] .bills242-chart-head p{margin:0;color:#7d8ba1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="bills"] .bills242-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#64758c;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="bills"] .bills242-chart-body{flex:1;min-height:190px;display:flex;align-items:center;justify-content:center;min-width:0}
#ledger-v127-root[data-screen="bills"] .bills242-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #eceef5;border-radius:10px;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="bills"] .bills242-context span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="bills"] .bills242-context p{margin:0;color:#53647c;font-size:9px;line-height:1.45}
#ledger-v127-root[data-screen="bills"] .bills242-chart-svg{display:block;width:100%;height:auto;max-height:220px}
#ledger-v127-root[data-screen="bills"] .bills242-chart-svg text{fill:#8391a5;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="bills"] .bills242-line{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="bills"] .bills242-line.scheduled{stroke:#4e81ef}
#ledger-v127-root[data-screen="bills"] .bills242-line.optimized{stroke:#2aa77e}
#ledger-v127-root[data-screen="bills"] .bills242-line.liability{stroke:#4f81eb}
#ledger-v127-root[data-screen="bills"] .bills242-line.cash{stroke:#2aa77e}
#ledger-v127-root[data-screen="bills"] .bills242-line-legend line{stroke-width:2.4}
#ledger-v127-root[data-screen="bills"] .bills242-forecast-total{fill:#159069!important;font-size:8px!important}
#ledger-v127-root[data-screen="bills"] .bills242-forecast-value{fill:#159069!important;font-size:13px!important;font-weight:900!important}

/* Donut charts */
#ledger-v127-root[data-screen="bills"] .bills242-donut{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:center;width:100%}
#ledger-v127-root[data-screen="bills"] .bills242-donut svg{width:150px;height:150px}
#ledger-v127-root[data-screen="bills"] .bills242-donut-big{fill:#24344e;font:900 17px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-donut-small{fill:#8290a4;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="bills"] .bills242-donut>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="bills"] .bills242-donut>div span{display:grid;grid-template-columns:8px 1fr auto;gap:6px;align-items:center;color:#64748b;font-size:8px}
#ledger-v127-root[data-screen="bills"] .bills242-donut>div i{width:7px;height:7px;border-radius:50%}
#ledger-v127-root[data-screen="bills"] .bills242-donut>div strong{color:#2a3950}

/* Vendor ranking */
#ledger-v127-root[data-screen="bills"] .bills242-bars{display:grid;gap:12px;width:100%}
#ledger-v127-root[data-screen="bills"] .bills242-bars>div{display:grid;grid-template-columns:132px minmax(0,1fr) 72px;gap:8px;align-items:center}
#ledger-v127-root[data-screen="bills"] .bills242-bars span{color:#68778d;font-size:8.5px}
#ledger-v127-root[data-screen="bills"] .bills242-bars i{height:7px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="bills"] .bills242-bars em{display:block;height:100%;background:#4f82ec;border-radius:999px}
#ledger-v127-root[data-screen="bills"] .bills242-bars b{color:#34445d;font-size:8.5px;text-align:right}

/* Operational review */
#ledger-v127-root[data-screen="bills"] .bills242-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid button{min-height:64px;padding:10px;border:1px solid #e9edf3;border-radius:10px;background:#fff;text-align:left}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid span{display:block;color:#7c899d;font-size:8px}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid b{display:block;margin-top:6px;color:#273750;font-size:14px}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid b.good{color:#168560}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid b.warn{color:#b67a17}
#ledger-v127-root[data-screen="bills"] .bills242-control-grid b.risk{color:#ca4a55}

/* Compact three insight cards — same collision-safe grammar as V20.41. */
#ledger-v127-root[data-screen="bills"] .bills242-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight{
  min-height:252px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:16px 18px 14px!important;overflow:hidden!important;text-align:left!important
}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight>*{position:relative;z-index:2;min-width:0}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight p{margin:8px 0 0!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight>b{display:block!important;margin:14px 0 0!important;font-size:28px!important;line-height:1.02!important}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight>small{display:block!important;margin:7px 0 0!important;padding-bottom:6px!important;font-size:10px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="bills"] .bills242-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;width:fit-content!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important;font-style:normal!important;font-weight:850!important}

/* Vendor Bill register — internal table scrolling only */
#ledger-v127-root[data-screen="bills"] .bills242-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="bills"] .bills242-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(260px,.75fr) auto!important;gap:12px;align-items:center}
#ledger-v127-root[data-screen="bills"] .bills242-local-search input{width:100%;height:34px;border:1px solid #dfe5ee;border-radius:9px;padding:0 10px;background:#fff;color:#29384f;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="bills"] .bills242-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="bills"] .bills242-register table{min-width:1640px!important}
#ledger-v127-root[data-screen="bills"] .bills242-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="bills"] .bills242-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="bills"] .bills242-kind,
#ledger-v127-root[data-screen="bills"] .bills242-status,
#ledger-v127-root[data-screen="bills"] .bills242-risk,
#ledger-v127-root[data-screen="bills"] .bills242-confidence{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="bills"] .bills242-kind{background:#eef3ff;color:#4d70ce}
#ledger-v127-root[data-screen="bills"] .bills242-status.overdue{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="bills"] .bills242-status.posted{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="bills"] .bills242-status[class*="due-in"]{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="bills"] .bills242-confidence{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="bills"] .bills242-risk.low{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="bills"] .bills242-risk.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="bills"] .bills242-risk.high{background:#fff0f1;color:#c9434d}

/* Advanced Investigation */
#ledger-v127-root[data-screen="bills"] .bills242-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="bills"] .bills242-advanced-grid>article{min-width:0;min-height:210px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="bills"] .bills242-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="bills"] .bills242-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="bills"] .bills242-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="bills"] .bills242-eq{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="bills"] .bills242-eq span{padding:12px;border:1px solid #e8edf3;border-radius:10px;text-align:center;color:#748197;font-size:8px}
#ledger-v127-root[data-screen="bills"] .bills242-eq span b{display:block;color:#26364f;font-size:16px}
#ledger-v127-root[data-screen="bills"] .bills242-eq i{font-style:normal;color:#6a55df;font-weight:900}
#ledger-v127-root[data-screen="bills"] .bills242-aging-strip,
#ledger-v127-root[data-screen="bills"] .bills242-horizon{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:28px}
#ledger-v127-root[data-screen="bills"] .bills242-aging-strip span,
#ledger-v127-root[data-screen="bills"] .bills242-horizon span{padding:11px;border:1px solid #e8edf3;border-radius:9px;text-align:center;color:#77859a;font-size:8px}
#ledger-v127-root[data-screen="bills"] .bills242-aging-strip b,
#ledger-v127-root[data-screen="bills"] .bills242-horizon b{display:block;color:#b97812;font-size:14px}
#ledger-v127-root[data-screen="bills"] .bills242-aging-strip strong,
#ledger-v127-root[data-screen="bills"] .bills242-horizon strong{grid-column:1/-1;text-align:center;color:#26364f;font-size:16px}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip{display:flex;height:54px;margin-top:34px;border-radius:10px;overflow:hidden}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip span{display:flex;align-items:center;justify-content:center;color:#fff;font-size:8px;font-weight:800}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip span:nth-child(1){background:#22a67d}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip span:nth-child(2){background:#e6a02d}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip span:nth-child(3){background:#7c6be4}
#ledger-v127-root[data-screen="bills"] .bills242-queue-strip span:nth-child(4){background:#df5965}

/* Exact clicked visual in common drawer. */
#ledger-v127-root[data-screen="bills"] .ins27-selected-context .bills242-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important
}
#ledger-v127-root[data-screen="bills"] .ins27-selected-context.kind-node .bills242-node{filter:none!important}

@media(max-width:1500px){
 #ledger-v127-root[data-screen="bills"] .bills242-filterbar .mfv20-filter-core{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="bills"] .bills242-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(-n+3){grid-column:span 5}
 #ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(3){grid-column:span 10}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="bills"] .bills242-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="bills"] .bills242-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(n){grid-column:span 5}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="bills"] .bills242-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="bills"] .bills242-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="bills"] .bills242-bento,
 #ledger-v127-root[data-screen="bills"] .bills242-insights,
 #ledger-v127-root[data-screen="bills"] .bills242-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="bills"] .bills242-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="bills"] .bills242-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="bills"] .bills242-glance,
 #ledger-v127-root[data-screen="bills"] .bills242-brief .mfv20-brief-cards{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="bills"] .bills242-chart:nth-child(n){grid-column:span 10}
 #ledger-v127-root[data-screen="bills"] .bills242-context,
 #ledger-v127-root[data-screen="bills"] .bills242-donut{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="bills"] .bills242-control-grid{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.43 — AR & COLLECTIONS · AR AGING
   Balance Sheet V20.15 page-anatomy / UX donor.
   ============================================================================ */

#ledger-v127-root[data-screen="aging"],
#ledger-v127-root[data-screen="aging"]>.lispec-root,
#ledger-v127-root[data-screen="aging"] .ar243-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-root>*{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}

/* Five page-specific global filters. */
#ledger-v127-root[data-screen="aging"] .ar243-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}

/* Seven source KPI cards are retained because they are explicitly present in the supplied page. */
#ledger-v127-root[data-screen="aging"] .ar243-glance{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-kpi{
  min-height:108px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 66px!important;
  gap:7px!important;
  align-items:center!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-kpi>div{min-width:0;text-align:left}
#ledger-v127-root[data-screen="aging"] .ar243-kpi>div>b{font-size:17px!important;white-space:normal!important}
#ledger-v127-root[data-screen="aging"] .ar243-spark{width:66px;height:24px}
#ledger-v127-root[data-screen="aging"] .ar243-spark polyline{fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="aging"] .ar243-spark.tone-purple polyline{stroke:#7457df}
#ledger-v127-root[data-screen="aging"] .ar243-spark.tone-amber polyline{stroke:#eca129}
#ledger-v127-root[data-screen="aging"] .ar243-spark.tone-teal polyline{stroke:#22a77e}
#ledger-v127-root[data-screen="aging"] .ar243-spark.tone-blue polyline{stroke:#4f83eb}
#ledger-v127-root[data-screen="aging"] .ar243-spark.tone-red polyline{stroke:#df5965}
#ledger-v127-root[data-screen="aging"] .ar243-lens>button.active{
  border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff
}

/* Relationship Intelligence + Investigation Brief */
#ledger-v127-root[data-screen="aging"] .ar243-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-primary>*{
  min-width:0!important;
  max-width:100%!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-hero{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-map-controls{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 12px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;background:#fff
}
#ledger-v127-root[data-screen="aging"] .ar243-map-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
#ledger-v127-root[data-screen="aging"] .ar243-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="aging"] .ar243-map-controls button.active{border-color:#6b54e3;background:#6b54e3;color:#fff}
#ledger-v127-root[data-screen="aging"] .ar243-map-controls>span{color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only Relationship Intelligence owns horizontal scrolling.
   The document/page remains naturally vertically scrollable and is not clipped. */
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:462px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fafbfc!important;
  outline:none!important;
  cursor:grab;
}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll.is-dragging{cursor:grabbing;user-select:none}
#ledger-v127-root[data-screen="aging"] .ar243-map-svg{
  display:block!important;
  width:1510px!important;
  min-width:1510px!important;
  max-width:none!important;
  height:440px!important;
  min-height:440px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="aging"] .ar243-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

#ledger-v127-root[data-screen="aging"] .ar243-map-title{fill:#26364f;font:850 10px Inter,system-ui,sans-serif;letter-spacing:.035em}
#ledger-v127-root[data-screen="aging"] .ar243-map-sub{fill:#8190a4;font:550 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-node-title{font:780 8.4px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-node-meta{fill:#7d899d;font:600 6.9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-node-amt{fill:#26364f;font:850 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-node-amt.risk{fill:#cc4652}
#ledger-v127-root[data-screen="aging"] .ar243-identity{fill:#56667d;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-map-legend text{fill:#738198;font:600 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="aging"] .ar243-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}

#ledger-v127-root[data-screen="aging"] .ar243-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="aging"] .ar243-brief .mfv20-brief-cards{
  display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch
}
#ledger-v127-root[data-screen="aging"] .ar243-brief .mfv20-brief-cards button{min-height:116px!important}

/* All four charts from the supplied page visual. */
#ledger-v127-root[data-screen="aging"] .ar243-analytics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0;
}
#ledger-v127-root[data-screen="aging"] .ar243-chart{
  min-width:0;min-height:352px;display:flex;flex-direction:column;padding:15px;border:1px solid #e5e9f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fcfdff);box-shadow:0 8px 24px rgba(28,42,72,.043);cursor:pointer;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
#ledger-v127-root[data-screen="aging"] .ar243-chart:hover{border-color:#d8d2f5;box-shadow:0 11px 28px rgba(28,42,72,.07);transform:translateY(-1px)}
#ledger-v127-root[data-screen="aging"] .ar243-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:7px}
#ledger-v127-root[data-screen="aging"] .ar243-chart-head span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="aging"] .ar243-chart-head h3{margin:3px 0;color:#22324b;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="aging"] .ar243-chart-head p{margin:0;color:#7d8ba1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="aging"] .ar243-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#64758c;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="aging"] .ar243-chart-body{flex:1;min-height:190px;display:flex;align-items:center;justify-content:center;min-width:0}
#ledger-v127-root[data-screen="aging"] .ar243-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #eceef5;border-radius:10px;background:linear-gradient(135deg,#fbfaff,#fff)}
#ledger-v127-root[data-screen="aging"] .ar243-context span{color:#674ee7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="aging"] .ar243-context p{margin:0;color:#53647c;font-size:9px;line-height:1.45}

/* Aging distribution */
#ledger-v127-root[data-screen="aging"] .ar243-donut{display:grid;grid-template-columns:145px minmax(0,1fr);gap:9px;align-items:center;width:100%}
#ledger-v127-root[data-screen="aging"] .ar243-donut svg{width:145px;height:145px}
#ledger-v127-root[data-screen="aging"] .ar243-donut-big{fill:#24344e;font:900 15px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-donut-small{fill:#8290a4;font:650 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-donut>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="aging"] .ar243-donut>div span{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:6px;align-items:center;color:#64748b;font-size:8px}
#ledger-v127-root[data-screen="aging"] .ar243-donut>div i{width:7px;height:7px;border-radius:50%}
#ledger-v127-root[data-screen="aging"] .ar243-donut>div strong{color:#2a3950}

/* Aging trend */
#ledger-v127-root[data-screen="aging"] .ar243-chart-svg{display:block;width:100%;height:auto;max-height:220px}
#ledger-v127-root[data-screen="aging"] .ar243-chart-svg text{fill:#8391a5;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="aging"] .ar243-grid line{stroke:#e8edf4;stroke-width:1}
#ledger-v127-root[data-screen="aging"] .ar243-stack-seg{transform-box:fill-box;transform-origin:center bottom;animation:ar243BarIn .55s cubic-bezier(.2,.7,.2,1) both}
@keyframes ar243BarIn{from{transform:scaleY(.05);opacity:.2}to{transform:scaleY(1);opacity:1}}

/* Customer ranking */
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank{display:grid;gap:11px;width:100%}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div{display:grid;grid-template-columns:20px minmax(100px,.9fr) minmax(60px,1fr) 70px 32px;gap:7px;align-items:center}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>span{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#f0edff;color:#6950dc;font-size:8px;font-weight:900}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>b{color:#405069;font-size:8.5px}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>i{height:7px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>i em{display:block;height:100%;background:linear-gradient(90deg,#6882ef,#7f69e6);border-radius:999px}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>strong{color:#26364f;font-size:8.5px;text-align:right}
#ledger-v127-root[data-screen="aging"] .ar243-customer-rank>div>small{color:#8491a5;font-size:8px;text-align:right}

/* Collection forecast */
#ledger-v127-root[data-screen="aging"] .ar243-forecast{display:grid;gap:14px;width:100%}
#ledger-v127-root[data-screen="aging"] .ar243-forecast-total span{display:block;color:#7b899d;font-size:8px}
#ledger-v127-root[data-screen="aging"] .ar243-forecast-total b{display:block;margin-top:3px;color:#3167db;font-size:24px}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>div:not(.ar243-forecast-total){display:grid;grid-template-columns:minmax(100px,1fr) 42px minmax(80px,1.1fr);gap:7px;align-items:center}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>div>span{color:#67778e;font-size:8.5px}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>div>b{color:#2c3d55;font-size:8.5px}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>div>i{height:8px;border-radius:999px;background:#e9eef7;overflow:hidden}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>div>i em{display:block;height:100%;border-radius:999px;animation:ar243WidthIn .55s ease both}
#ledger-v127-root[data-screen="aging"] .ar243-forecast>small{color:#8491a5;font-size:8px}
@keyframes ar243WidthIn{from{max-width:0;opacity:.2}to{max-width:100%;opacity:1}}

/* Operational Review */
#ledger-v127-root[data-screen="aging"] .ar243-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="aging"] .ar243-action-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px
}
#ledger-v127-root[data-screen="aging"] .ar243-action-grid button{
  min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 8px;padding:9px 10px;border:1px solid #e8edf3;border-radius:10px;background:#fff;text-align:left
}
#ledger-v127-root[data-screen="aging"] .ar243-action-grid button>span{grid-column:1;color:#8a96a8;font-size:7.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#ledger-v127-root[data-screen="aging"] .ar243-action-grid button>b{grid-column:1;color:#2d3d55;font-size:9.5px}
#ledger-v127-root[data-screen="aging"] .ar243-action-grid button>i{grid-column:2;grid-row:1/3;align-self:center;color:#6651dd;font-style:normal;font-weight:900}

/* Compact three insight cards */
#ledger-v127-root[data-screen="aging"] .ar243-insights{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important
}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight{
  min-height:252px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:16px 18px 14px!important;overflow:hidden!important;text-align:left!important
}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight>*{position:relative;z-index:2;min-width:0}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight p{margin:8px 0 0!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight>b{display:block!important;margin:14px 0 0!important;font-size:28px!important;line-height:1.02!important}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight>small{display:block!important;margin:7px 0 0!important;padding-bottom:6px!important;font-size:10px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="aging"] .ar243-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;width:fit-content!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important;font-style:normal!important;font-weight:850!important}

/* AR register: only table itself may horizontally scroll. */
#ledger-v127-root[data-screen="aging"] .ar243-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
#ledger-v127-root[data-screen="aging"] .ar243-register .mfv11-find-tools{
  display:grid!important;grid-template-columns:minmax(250px,1fr) minmax(260px,.75fr) auto!important;gap:12px;align-items:center
}
#ledger-v127-root[data-screen="aging"] .ar243-local-search input{width:100%;height:34px;border:1px solid #dfe5ee;border-radius:9px;padding:0 10px;background:#fff;color:#29384f;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="aging"] .ar243-register-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;background:#fff}
#ledger-v127-root[data-screen="aging"] .ar243-register-tabs button{height:28px;padding:0 10px;border:1px solid #e0e5ed;border-radius:9px;background:#fff;color:#62728a;font-size:8.5px;font-weight:800}
#ledger-v127-root[data-screen="aging"] .ar243-register-tabs button b{margin-left:4px;color:#7f8da0}
#ledger-v127-root[data-screen="aging"] .ar243-register-tabs button.active{background:#f0edff;border-color:#d7cff9;color:#6047d2}
#ledger-v127-root[data-screen="aging"] .ar243-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="aging"] .ar243-register table{min-width:1510px!important}
#ledger-v127-root[data-screen="aging"] .ar243-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="aging"] .ar243-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="aging"] .ar243-register td:first-child small{display:block;margin-top:2px;color:#8b97a8;font-size:7.5px}
#ledger-v127-root[data-screen="aging"] .ar243-status,
#ledger-v127-root[data-screen="aging"] .ar243-risk,
#ledger-v127-root[data-screen="aging"] .ar243-confidence,
#ledger-v127-root[data-screen="aging"] .ar243-days{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="aging"] .ar243-status.overdue{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="aging"] .ar243-status.partial-payment{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="aging"] .ar243-risk.high{background:#fff0f1;color:#c9434d}
#ledger-v127-root[data-screen="aging"] .ar243-risk.medium{background:#fff7e5;color:#b87813}
#ledger-v127-root[data-screen="aging"] .ar243-risk.low{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="aging"] .ar243-confidence{background:#eaf9f2;color:#16815d}
#ledger-v127-root[data-screen="aging"] .ar243-days{background:#f1f4f8;color:#64748b}
#ledger-v127-root[data-screen="aging"] .ar243-days.late{background:#fff1f1;color:#d34d56}

/* Advanced Investigation */
#ledger-v127-root[data-screen="aging"] .ar243-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="aging"] .ar243-advanced-grid>article{min-width:0;min-height:210px;padding:15px;border:1px solid #e4e8f0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="aging"] .ar243-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="aging"] .ar243-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="aging"] .ar243-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="aging"] .ar243-eq{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="aging"] .ar243-eq span{padding:12px;border:1px solid #e8edf3;border-radius:10px;text-align:center;color:#748197;font-size:8px}
#ledger-v127-root[data-screen="aging"] .ar243-eq span b{display:block;color:#26364f;font-size:16px}
#ledger-v127-root[data-screen="aging"] .ar243-eq i{font-style:normal;color:#6a55df;font-weight:900}
#ledger-v127-root[data-screen="aging"] .ar243-concentration{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:center;margin-top:34px}
#ledger-v127-root[data-screen="aging"] .ar243-concentration>b{grid-row:1/3;color:#684fde;font-size:28px}
#ledger-v127-root[data-screen="aging"] .ar243-concentration>i{height:9px;border-radius:999px;background:#edf1f5;overflow:hidden}
#ledger-v127-root[data-screen="aging"] .ar243-concentration>i em{display:block;height:100%;background:#6f5be2;border-radius:999px}
#ledger-v127-root[data-screen="aging"] .ar243-concentration>span{color:#7e8a9d;font-size:9px}
#ledger-v127-root[data-screen="aging"] .ar243-touch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:28px}
#ledger-v127-root[data-screen="aging"] .ar243-touch-grid span{padding:12px;border:1px solid #e8edf3;border-radius:9px;text-align:center;color:#77859a;font-size:8px}
#ledger-v127-root[data-screen="aging"] .ar243-touch-grid b{display:block;color:#26364f;font-size:17px}
#ledger-v127-root[data-screen="aging"] .ar243-scenarios{display:grid;gap:8px;margin-top:24px}
#ledger-v127-root[data-screen="aging"] .ar243-scenarios span{padding:10px;border:1px solid #e8edf3;border-radius:9px;color:#718096;font-size:8.5px}
#ledger-v127-root[data-screen="aging"] .ar243-scenarios b{display:inline-block;min-width:92px;color:#5947c7}

/* Exact clicked visual in the universal Matching & Fraud drawer. */
#ledger-v127-root[data-screen="aging"] .ins27-selected-context .ar243-chart{
  width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;box-shadow:none!important;transform:none!important
}
#ledger-v127-root[data-screen="aging"] .ins27-selected-context.kind-node .ar243-node{filter:none!important}

@media(max-width:1600px){
 #ledger-v127-root[data-screen="aging"] .ar243-glance{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="aging"] .ar243-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="aging"] .ar243-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="aging"] .ar243-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="aging"] .ar243-filterbar .mfv20-filter-core{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="aging"] .ar243-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="aging"] .ar243-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="aging"] .ar243-bento,
 #ledger-v127-root[data-screen="aging"] .ar243-insights,
 #ledger-v127-root[data-screen="aging"] .ar243-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="aging"] .ar243-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="aging"] .ar243-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="aging"] .ar243-glance,
 #ledger-v127-root[data-screen="aging"] .ar243-brief .mfv20-brief-cards,
 #ledger-v127-root[data-screen="aging"] .ar243-analytics{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="aging"] .ar243-context,
 #ledger-v127-root[data-screen="aging"] .ar243-donut{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="aging"] .ar243-action-grid{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.43.1 — AR Aging Relationship Intelligence node-click drawer defect fix
   ============================================================================ */
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-card{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:14px;
  border:1px solid #E3E8F1;
  border-radius:14px;
  background:linear-gradient(180deg,#FFFFFF 0%,#FBFCFF 100%);
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-eyebrow{
  margin-bottom:8px;
  color:#674EE7;
  font-size:8px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-visual{
  width:100%;
  min-height:170px;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid #E8ECF3;
  border-radius:12px;
  background:#FAFBFC;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-visual svg{
  display:block;
  width:min(100%,560px);
  height:auto;
}
#ledger-v127-root[data-screen="aging"] .ar243-preview-title{
  font:800 16px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="aging"] .ar243-preview-meta{
  fill:#718096;
  font:600 11px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="aging"] .ar243-preview-amount{
  fill:#25364F;
  font:900 15px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="aging"] .ar243-preview-amount.risk{
  fill:#CB4853;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-facts{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-facts>span{
  min-width:0;
  padding:10px;
  border:1px solid #E8ECF3;
  border-radius:10px;
  background:#FFF;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-facts small{
  display:block;
  margin-bottom:4px;
  color:#8793A6;
  font-size:8px;
}
#ledger-v127-root[data-screen="aging"] .ar243-selected-node-facts b{
  display:block;
  overflow-wrap:anywhere;
  color:#293A52;
  font-size:10px;
  line-height:1.35;
}
#ledger-v127-root[data-screen="aging"] .ins26-selected-visual .ar243-selected-node-card{
  border:0;
  padding:0;
  background:transparent;
}
@media(max-width:760px){
  #ledger-v127-root[data-screen="aging"] .ar243-selected-node-facts{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* ============================================================================
   V20.43.2 — universal governed-action drawer state
   ============================================================================ */
#ledger-v127-root[data-screen="aging"] .ins26-selected-visual .ar243-action-grid button{
  pointer-events:none!important;
}
#ledger-v127-root[data-screen="aging"] .ins26-drawer .mfv20-actions-list{
  margin-top:10px;
}
#ledger-v127-root[data-screen="aging"] .ins26-drawer .mfv20-actions-list>h3{
  margin-bottom:10px;
}


/* ============================================================================
   V20.44 — REPORTS · PROFIT & LOSS
   Balance Sheet V20.15 page-anatomy / UX donor.
   ============================================================================ */

#ledger-v127-root[data-screen="reports-pnl"],
#ledger-v127-root[data-screen="reports-pnl"]>.lispec-root,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-root{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-root{
  display:block!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-root>*{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
}

/* Five source filters. */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}

/* Applied scope + trust banner, kept compact. */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr) auto;
  gap:10px;
  align-items:stretch;
  margin:10px 0;
  padding:10px 12px;
  border:1px solid #E4E9F1;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(31,45,85,.035);
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main>span{
  min-width:0;padding:9px 10px;border:1px solid #EDF0F5;border-radius:10px;background:#FBFCFE
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main b,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-applied>span{
  display:block;color:#6B50DE;font-size:7.6px;font-weight:900;letter-spacing:.07em;text-transform:uppercase
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main strong{
  display:block;margin-top:4px;color:#23334B;font-size:12px;line-height:1.2
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main small{
  display:block;margin-top:3px;color:#8692A4;font-size:8px;line-height:1.35
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-applied{
  min-width:0;padding:9px 10px;border:1px solid #EDF0F5;border-radius:10px;background:#FBFCFE
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-applied p{
  margin:5px 0 0;color:#607088;font-size:8.5px;line-height:1.45
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-actions{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-actions button{
  height:32px;padding:0 11px;border:1px solid #DDE4EE;border-radius:9px;background:#fff;color:#4D5E77;font-size:8.5px;font-weight:850
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-actions button:first-child{
  background:#6650DF;border-color:#6650DF;color:#fff
}

/* 6 KPI / gauge cards */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-glance{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-kpi{
  min-height:110px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  gap:7px!important;
  align-items:center!important;
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-kpi>div{min-width:0;text-align:left}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-kpi>div>b{font-size:17px!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark{width:72px;height:27px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark polyline{fill:none;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark.tone-blue polyline{stroke:#4C82ED}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark.tone-teal polyline{stroke:#24B781}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark.tone-purple polyline{stroke:#7D4DE8}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark.tone-cyan polyline{stroke:#2DB9C2}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-spark.tone-amber polyline{stroke:#F08A23}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gauge{width:72px;height:50px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gauge text{fill:#21324D;font:900 14px Inter,system-ui,sans-serif}

/* Lens */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-lens>button.active{
  border-color:#CFC4FF!important;background:#F2EFFF!important;color:#5E43D7!important;box-shadow:inset 0 0 0 1px #DDD6FF
}

/* Primary: Relationship Intelligence + Investigation Brief */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-primary{
  grid-template-columns:minmax(0,2.18fr) minmax(285px,.82fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-primary>*{
  min-width:0!important;max-width:100%!important
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map{
  width:100%!important;max-width:100%!important;overflow:visible!important
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-controls{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 12px;border-top:1px solid #EDF1F6;border-bottom:1px solid #EDF1F6;background:#fff
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-controls button{
  height:27px;padding:0 9px;border:1px solid #E0E5ED;border-radius:8px;background:#fff;color:#63728A;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-controls button.active{border-color:#6B54E3;background:#6B54E3;color:#fff}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-controls>span{color:#6755DB;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only the map owns horizontal scrolling. */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:582px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;scrollbar-gutter:stable!important;
  touch-action:pan-x!important;contain:layout paint!important;
  background:#FAFBFC!important;outline:none!important;cursor:grab
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll.is-dragging{cursor:grabbing;user-select:none}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-svg{
  display:block!important;width:1680px!important;min-width:1680px!important;max-width:none!important;height:560px!important;min-height:560px!important;margin:0!important
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll::-webkit-scrollbar-track{background:#EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll::-webkit-scrollbar-thumb{background:#B7C1D3;border:2px solid #EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll{scrollbar-width:thin;scrollbar-color:#AEB8CA #EEF1F6}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

/* SVG typography and visual grammar */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-title{fill:#0F172A;font:800 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-sub{fill:#64748B;font:550 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-title{font:780 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-num,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-num{fill:#fff;font:900 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-amount{fill:#17243A;font:850 12px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-yoy{fill:#08966A;font:750 8.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-yoy.cost{fill:#D34E59}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node-meta{fill:#738198;font:620 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-panel-title{fill:#26364F;font:800 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-panel-sub{fill:#75849A;font:600 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-legend text{fill:#748196;font:600 7.7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-map-foot{fill:#8793A4;font:600 7.6px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-wf-label{fill:#8190A3;font:600 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-wf-pos{fill:#15855F;font:800 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-wf-neg{fill:#CE4D58;font:800 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-grid line{stroke:#E8EDF3;stroke-width:1}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-line{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-line.best{stroke:#2DBE86;stroke-dasharray:5 4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-line.base{stroke:#3678E8}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-line.down{stroke:#F39B25;stroke-dasharray:5 4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-legend text{fill:#68778D;font:650 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-legend line{stroke-width:2.2}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-legend .best{stroke:#2DBE86;stroke-dasharray:5 4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-legend .base{stroke:#3678E8}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-outlook-legend .down{stroke:#F39B25;stroke-dasharray:5 4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}

/* Right investigation brief */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-brief .mfv20-brief-cards{
  display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-brief .mfv20-brief-cards button{min-height:132px!important}

/* All remaining supplied report analytics: scenario, key metrics, CCC.
   Waterfall + Outlook are already preserved inside Relationship Intelligence. */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-analytics{
  display:grid;grid-template-columns:1.55fr 1fr .8fr;gap:12px;margin:12px 0
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart{
  min-width:0;min-height:360px;display:flex;flex-direction:column;padding:15px;border:1px solid #E5E9F1;border-radius:16px;background:linear-gradient(180deg,#FFF,#FCFDFF);box-shadow:0 8px 24px rgba(28,42,72,.043);cursor:pointer;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart:hover{border-color:#D8D2F5;box-shadow:0 11px 28px rgba(28,42,72,.07);transform:translateY(-1px)}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart-head span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart-head h3{margin:3px 0;color:#22324B;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart-head p{margin:0;color:#7D8BA1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #E1E6EE;border-radius:8px;background:#FFF;color:#64758C;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #ECEEF5;border-radius:10px;background:linear-gradient(135deg,#FBFAFF,#FFF)}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-context span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-context p{margin:0;color:#53647C;font-size:9px;line-height:1.45}

/* Scenario cards */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button{
  min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:12px;border:1px solid #E8ECF3;border-radius:12px;background:#FFF;text-align:left
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button.red{background:#FFF8F8}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button.blue{background:#F8FAFF}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button.teal{background:#F6FFFB}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button.active{box-shadow:inset 0 0 0 2px #6B54E3}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>span{color:#2B3B53;font-size:9.5px;font-weight:850}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>small{margin-top:3px;color:#8390A3;font-size:7.8px;line-height:1.35}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>b{margin-top:18px;color:#22324B;font-size:18px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>strong{margin-top:9px;color:#2D3D54;font-size:13px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>strong em{display:block;color:#8490A3;font-size:7.5px;font-style:normal;font-weight:650}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>div{display:grid;gap:6px;margin-top:14px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>div>i{display:flex;justify-content:space-between;gap:5px;color:#6E7C90;font-size:7.8px;font-style:normal}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios>button>div>i>b{color:#33445C}

/* Key metrics matrix */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix{display:grid;gap:8px;flex:1}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>div:not(.head){
  display:grid;grid-template-columns:minmax(100px,1fr) 36px 34px 36px 34px 36px 34px;gap:5px;align-items:center
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head{padding-bottom:6px;border-bottom:1px solid #EEF1F5}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head span{color:#8491A4;font-size:7.7px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head b{font-size:7.6px;text-align:center}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head b:nth-child(2){color:#3E6FD5}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head b:nth-child(3){color:#158A64}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>.head b:nth-child(4){color:#C84C58}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>div:not(.head)>span{color:#53647C;font-size:8px;font-weight:750}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>div:not(.head)>i{height:7px;border-radius:999px;background:#EBEFF5;position:relative;overflow:hidden}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>div:not(.head)>i:after{content:"";display:block;width:var(--w);height:100%;border-radius:999px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix i.base:after{background:#4B78E7}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix i.best:after{background:#29B983}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix i.down:after{background:#EF626B}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-metric-matrix>div:not(.head)>b{font-size:7.7px;text-align:right;color:#33445C}

/* CCC */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc{display:flex;flex-direction:column;justify-content:center;flex:1;gap:18px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .total{text-align:center}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .total>span{display:block;color:#8491A4;font-size:8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .total>b{display:inline-block;color:#24344E;font-size:42px;line-height:1}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .total>strong{display:block;color:#34465F;font-size:10px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .total>small{display:block;margin-top:8px;color:#19A16F;font-size:9px;font-weight:850}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ECEFF4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts>span{padding:12px 5px;text-align:center;border-right:1px solid #ECEFF4}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts>span:last-child{border-right:0}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts b{display:block;color:#2B3B53;font-size:16px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts strong{display:block;color:#77859A;font-size:7.8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts small{display:block;margin-top:5px;color:#1BA372;font-size:8px;font-weight:800}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-ccc .parts small.up{color:#D14E59}

/* Operational row */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-rootcause{display:grid;gap:7px;padding:0 14px 14px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-rootcause button{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:9px 10px;border:1px solid #E9EDF3;border-radius:10px;background:#fff;text-align:left
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-rootcause span{color:#405169;font-size:9px;font-weight:800}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-rootcause b{color:#654ED6;font-size:9px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-rootcause small{grid-column:1/-1;color:#8390A4;font-size:8px;line-height:1.4}

/* Compact insight cards */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight{
  min-height:252px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:16px 18px 14px!important;overflow:hidden!important;text-align:left!important
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight>*{position:relative;z-index:2;min-width:0}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight p{margin:8px 0 0!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight>b{display:block!important;margin:14px 0 0!important;font-size:28px!important;line-height:1.02!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight>small{display:block!important;margin:7px 0 0!important;padding-bottom:6px!important;font-size:10px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;width:fit-content!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important;font-style:normal!important;font-weight:850!important}

/* Governed statement table — internal horizontal scroll only. */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register .mfv11-find-tools{
  display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(260px,.75fr) auto!important;gap:12px;align-items:center
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-local-search input{width:100%;height:34px;border:1px solid #DFE5EE;border-radius:9px;padding:0 10px;background:#fff;color:#29384F;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register table{min-width:1390px!important}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register tr[data-action]:hover{background:#FBFBFF}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register td.negative{color:#C84754}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-register td.positive{color:#16845F}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-trust{
  display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-trust.trusted{background:#EAF9F2;color:#16815D}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-trust.provisional{background:#FFF7E5;color:#B87813}

/* Advanced investigation */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid>article{min-width:0;min-height:218px;padding:15px;border:1px solid #E4E8F0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid header>span{color:#6848E8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid h3{margin:4px 0;color:#26344E;font-size:15px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid p{margin:0;color:#78869A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-eq{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-eq span,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-definition span{
  padding:12px;border:1px solid #E8EDF3;border-radius:10px;text-align:center;color:#748197;font-size:8px
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-eq span b,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-definition span b{display:block;color:#26364F;font-size:16px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-eq i,
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-definition i{font-style:normal;color:#6A55DF;font-weight:900}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-definition{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:32px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-driver-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:28px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-driver-strip span{padding:11px 6px;border-radius:8px;background:#F7F9FC;color:#607087;text-align:center;font-size:8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-driver-strip strong{grid-column:1/-1;text-align:center;color:#273750;font-size:15px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-residual{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:30px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-residual span{padding:13px;border:1px solid #F0D9DC;border-radius:10px;background:#FFF8F8;color:#7A6670;font-size:8px;text-align:center}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-residual b{display:block;color:#C84A56;font-size:18px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-compare{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:24px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-compare span{padding:10px;border:1px solid #E8EDF3;border-radius:9px;background:#FAFBFD}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-compare small{display:block;color:#8792A4;font-size:7.5px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-compare b{display:block;margin-top:4px;color:#2B3A52;font-size:15px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate{display:grid;grid-template-columns:70px 1fr;gap:7px 10px;align-items:center;margin-top:28px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate>b{grid-row:1/3;color:#6048D7;font-size:30px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate>span{color:#7C899D;font-size:8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate>i{height:9px;border-radius:999px;background:#ECF0F5;overflow:hidden}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate>i em{display:block;height:100%;background:#6A54DE;border-radius:999px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-gate>strong{grid-column:1/-1;color:#53647B;font-size:9px}

/* Exact clicked-node / embedded-chart drawer reproduction */
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-card{
  width:100%;min-width:0;box-sizing:border-box;padding:14px;border:1px solid #E3E8F1;border-radius:14px;background:linear-gradient(180deg,#FFF,#FBFCFF)
}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-eyebrow{margin-bottom:8px;color:#674EE7;font-size:8px;line-height:1.2;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-visual{width:100%;min-height:190px;display:grid;place-items:center;overflow:hidden;border:1px solid #E8ECF3;border-radius:12px;background:#FAFBFC}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-visual svg{display:block;width:min(100%,600px);height:auto}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-title{font:850 17px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-amount{fill:#25364F;font:900 18px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-yoy{fill:#15845F;font:800 11px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-yoy.cost{fill:#CB4853}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-preview-meta{fill:#718096;font:650 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-facts>span{min-width:0;padding:10px;border:1px solid #E8ECF3;border-radius:10px;background:#FFF}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-facts small{display:block;margin-bottom:4px;color:#8793A6;font-size:8px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-facts b{display:block;overflow-wrap:anywhere;color:#293A52;font-size:10px;line-height:1.35}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-drawer-chart{padding:14px;border:1px solid #E4E8F0;border-radius:14px;background:#FFF}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-drawer-chart header span{color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-drawer-chart h3{margin:4px 0;color:#26364F;font-size:16px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-drawer-chart p{margin:0;color:#77859A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-waterfall{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end;margin-top:18px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-waterfall span{min-height:90px;display:flex;flex-direction:column;justify-content:flex-end;padding:8px;border-radius:9px;background:#F5F7FB;text-align:center}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-waterfall span.up{background:#EDFBF5}.rpl244-mini-waterfall span.down{background:#FFF2F3}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-waterfall b{color:#2B3C54;font-size:12px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-waterfall small{margin-top:5px;color:#7E8A9D;font-size:7px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-outlook{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-outlook span{padding:15px;border-radius:10px;border:1px solid #E8EDF3}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-outlook span.best{background:#F2FCF7}.rpl244-mini-outlook span.base{background:#F4F7FF}.rpl244-mini-outlook span.down{background:#FFF8EC}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-outlook b{display:block;color:#293A52;font-size:12px}
#ledger-v127-root[data-screen="reports-pnl"] .rpl244-mini-outlook small{display:block;margin-top:4px;color:#7D899B;font-size:8px}

@media(max-width:1550px){
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope{grid-template-columns:1fr auto}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-applied{grid-column:1/-1;grid-row:2}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-analytics>.rpl244-chart:last-child{grid-column:1/-1}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-filterbar .mfv20-filter-core{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-main{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scope-applied{grid-column:auto;grid-row:auto}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-bento,
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-insights,
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-glance,
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-brief .mfv20-brief-cards,
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-analytics{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-analytics>.rpl244-chart:last-child{grid-column:auto}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-context{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-scenarios{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-pnl"] .rpl244-selected-node-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ============================================================================
   V20.44 — REPORTS · BALANCE SHEET
   Accounting · Balance Sheet V20.15 page-anatomy / UX donor.
   ============================================================================ */

#ledger-v127-root[data-screen="reports-balance-sheet"],
#ledger-v127-root[data-screen="reports-balance-sheet"]>.lispec-root,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-root{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-root{
 display:block!important;padding:0 2px 28px!important;background:#fbfcff!important;
 font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-root>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}

/* Four source filters */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-filterbar .mfv20-filter-core{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Applied scope + trust */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope{
 display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr) auto;gap:10px;align-items:stretch;
 margin:10px 0;padding:10px 12px;border:1px solid #E4E9F1;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035)
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust>span,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-applied{padding:9px 10px;border:1px solid #EDF0F5;border-radius:10px;background:#FBFCFE}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust b,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-applied>span{display:block;color:#6B50DE;font-size:7.6px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust strong{display:block;margin-top:4px;color:#23334B;font-size:12px;line-height:1.2}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust small{display:block;margin-top:3px;color:#8692A4;font-size:8px;line-height:1.35}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-applied p{margin:5px 0 0;color:#607088;font-size:8.5px;line-height:1.45}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope-actions button{height:32px;padding:0 11px;border:1px solid #DDE4EE;border-radius:9px;background:#fff;color:#4D5E77;font-size:8.5px;font-weight:850}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope-actions button:first-child{background:#6650DF;border-color:#6650DF;color:#fff}

/* Seven source KPI cards */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-glance{grid-template-columns:repeat(7,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-kpi{min-height:108px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 72px!important;gap:7px!important;align-items:center!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-kpi>div{min-width:0;text-align:left}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-kpi>div>b{font-size:17px!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark{width:72px;height:27px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark polyline{fill:none;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark.tone-teal polyline{stroke:#22AE7C}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark.tone-red polyline{stroke:#E25A65}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark.tone-blue polyline{stroke:#4B7DE6}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-spark.tone-amber polyline{stroke:#E99125}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-gauge{width:70px;height:50px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-gauge text{fill:#1B7A59;font:900 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-lens>button.active{border-color:#CFC4FF!important;background:#F2EFFF!important;color:#5E43D7!important;box-shadow:inset 0 0 0 1px #DDD6FF}

/* Primary workspace */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-primary{grid-template-columns:minmax(0,2.18fr) minmax(285px,.82fr)!important;align-items:stretch!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-primary>*{min-width:0!important;max-width:100%!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map{width:100%!important;max-width:100%!important;overflow:visible!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-controls{
 display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #EDF1F6;border-bottom:1px solid #EDF1F6;background:#fff
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-controls>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-controls button{height:27px;padding:0 9px;border:1px solid #E0E5ED;border-radius:8px;background:#fff;color:#63728A;font-size:9px;font-weight:800}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-controls button.active{border-color:#6B54E3;background:#6B54E3;color:#fff}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-controls>span{color:#6755DB;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only map area can horizontally scroll */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll{
 box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:582px!important;
 padding:8px 8px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;
 scroll-behavior:smooth!important;scrollbar-gutter:stable!important;touch-action:pan-x!important;contain:layout paint!important;background:#FAFBFC!important;outline:none!important;cursor:grab
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll.is-dragging{cursor:grabbing;user-select:none}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-svg{display:block!important;width:1680px!important;min-width:1680px!important;max-width:none!important;height:560px!important;min-height:560px!important;margin:0!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll::-webkit-scrollbar-track{background:#EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll::-webkit-scrollbar-thumb{background:#B7C1D3;border:2px solid #EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-scroll{scrollbar-width:thin;scrollbar-color:#AEB8CA #EEF1F6}

/* SVG type */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-title{fill:#0F172A;font:800 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-sub{fill:#64748B;font:550 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-group{fill:#23334A;font:850 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node-title{font:800 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node-amount{fill:#142238;font:900 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node-pct{fill:#4C8F78;font:800 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node-meta{fill:#6F7E93;font:600 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-panel-title{fill:#26364F;font:850 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-panel-sub{fill:#75849A;font:600 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-link{fill:#5E57DB;font:800 7.8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-research-high{fill:#D04955;font:800 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-research-med{fill:#BB7913;font:800 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-research-pos{fill:#148761;font:800 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-ratio{fill:#26364F;font:900 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-small-amt{fill:#26364F;font:850 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-good{fill:#12936A;font:800 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-bridge-up{fill:#16855F;font:800 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-bridge-down{fill:#CF4B57;font:800 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-bridge-label{fill:#7B889B;font:600 6.3px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-map-foot{fill:#8390A3;font:600 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}

/* Brief */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-brief .mfv20-brief-cards{display:grid!important;grid-template-columns:1fr!important;flex:1;align-content:stretch}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-brief .mfv20-brief-cards button{min-height:132px!important}

/* Four lower source charts */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-analytics{display:grid;grid-template-columns:1.05fr 1.05fr 1.55fr 1.05fr;gap:12px;margin:12px 0}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart{
 min-width:0;min-height:330px;display:flex;flex-direction:column;padding:15px;border:1px solid #E5E9F1;border-radius:16px;background:linear-gradient(180deg,#FFF,#FCFDFF);box-shadow:0 8px 24px rgba(28,42,72,.043);cursor:pointer;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart:hover{border-color:#D8D2F5;box-shadow:0 11px 28px rgba(28,42,72,.07);transform:translateY(-1px)}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart-head span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart-head h3{margin:3px 0;color:#22324B;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart-head p{margin:0;color:#7D8BA1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #E1E6EE;border-radius:8px;background:#FFF;color:#64758C;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #ECEEF5;border-radius:10px;background:linear-gradient(135deg,#FBFAFF,#FFF)}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-context span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-context p{margin:0;color:#53647C;font-size:9px;line-height:1.45}

/* Composition */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition{display:grid;gap:24px;flex:1;align-content:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition>div{display:grid;grid-template-columns:92px minmax(100px,1fr) 96px;gap:8px;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition span b{display:block;color:#293951;font-size:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition span small{display:block;margin-top:2px;color:#8190A3;font-size:7.5px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition i{height:21px;display:flex;border-radius:7px;overflow:hidden;background:#EDF1F5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition i em{display:block;height:100%}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition .teal{background:#2CBC8B}.rbs244-composition .blue{background:#6579E9}.rbs244-composition .red{background:#F06470}.rbs244-composition .purple{background:#8C6DE5}.rbs244-composition .ghost{background:#EEF1F5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-composition strong{color:#53647B;font-size:8px;text-align:right}

/* Maturity ladder */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;align-items:end;flex:1;padding:12px 4px 4px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div{text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div>strong{display:block;color:#26364F;font-size:9px;margin-bottom:5px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div>i{height:160px;display:flex;flex-direction:column-reverse;justify-content:flex-start;gap:0;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div>i em{display:block;width:38px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity .current{background:#2ABA83}.rbs244-maturity .noncurrent{background:#7C58DF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div>span{display:block;margin-top:5px;color:#64748B;font-size:7px;font-weight:750}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-maturity>div>small{display:block;margin-top:3px;color:#8994A5;font-size:6.5px;line-height:1.3}

/* Trend */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend{flex:1;display:flex;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend svg{width:100%;height:auto;max-height:232px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend svg text{fill:#8190A3;font:600 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend path{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend path.assets{stroke:#2460CE}.rbs244-trend path.liab{stroke:#F05A64}.rbs244-trend path.equity{stroke:#20A870}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-grid line{stroke:#E7ECF3;stroke-width:1}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trend .assets-dot{fill:#2460CE}.rbs244-trend .liab-dot{fill:#F05A64}.rbs244-trend .equity-dot{fill:#20A870}

/* Evidence */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px;align-items:center;flex:1}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .ring svg{width:145px;height:145px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .ring text:first-of-type{fill:#16805F;font:900 22px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .ring text:last-of-type{fill:#75849A;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .checks{display:grid;gap:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .checks span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .checks b{color:#39516A;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .checks small{color:#7B899D;font-size:7px;text-align:right}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence .checks .warn b{color:#B77712}

/* Operational row */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence-list{display:grid;gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:10px;border:1px solid #E9EDF3;border-radius:10px;background:#fff;text-align:left}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence-list span{color:#405169;font-size:9px;font-weight:800}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence-list b{color:#654ED6;font-size:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-evidence-list small{grid-column:1/-1;color:#8390A4;font-size:8px;line-height:1.4}

/* Insight cards */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight{min-height:252px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:16px 18px 14px!important;overflow:hidden!important;text-align:left!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight>*{position:relative;z-index:2;min-width:0}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight p{margin:8px 0 0!important;font-size:11.5px!important;line-height:1.5!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight>b{display:block!important;margin:14px 0 0!important;font-size:28px!important;line-height:1.02!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight>small{display:block!important;margin:7px 0 0!important;padding-bottom:6px!important;font-size:10px!important;line-height:1.35!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;width:fit-content!important;margin-top:auto!important;padding-top:8px!important;font-size:10.5px!important;font-style:normal!important;font-weight:850!important}

/* Register */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(260px,.75fr) auto!important;gap:12px;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-local-search input{width:100%;height:34px;border:1px solid #DFE5EE;border-radius:9px;padding:0 10px;background:#fff;color:#29384F;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #EDF1F5;border-bottom:1px solid #EDF1F5;background:#fff}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register-tabs button{height:28px;padding:0 10px;border:0;border-bottom:2px solid transparent;background:#fff;color:#6D7B90;font-size:8.5px;font-weight:800}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register-tabs button.active{color:#4F46D7;border-bottom-color:#5B54DF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register table{min-width:1510px!important}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register tr[data-action]:hover{background:#FBFBFF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register td:first-child small{display:block;margin-top:2px;color:#8B97A8;font-size:7.5px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register td.positive{color:#138560}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-row-spark{width:72px;height:22px}.rbs244-row-spark polyline{fill:none;stroke:#23AE7C;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust-chip{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;font-size:8.5px;font-weight:800;white-space:nowrap}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust-chip.trusted{background:#EAF9F2;color:#16815D}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust-chip.provisional{background:#FFF7E5;color:#B87813}

/* Advanced */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid>article{min-width:0;min-height:218px;padding:15px;border:1px solid #E4E8F0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid header>span{color:#6848E8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid h3{margin:4px 0;color:#26344E;font-size:15px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid p{margin:0;color:#78869A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-eq{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:30px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-eq span,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-definition span{padding:12px;border:1px solid #E8EDF3;border-radius:10px;text-align:center;color:#748197;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-eq span b,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-definition span b{display:block;color:#26364F;font-size:16px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-eq i,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-definition i{font-style:normal;color:#6A55DF;font-weight:900}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-definition{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-top:32px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-warning{margin-top:30px;padding:18px;border:1px solid #F0D5D9;border-radius:12px;background:#FFF8F8;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-warning b{display:block;color:#C44854;font-size:20px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-warning span{display:block;margin-top:5px;color:#7D6A72;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-ratio-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:30px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-ratio-strip span{padding:10px;border:1px solid #E8EDF3;border-radius:9px;background:#FAFBFD;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-ratio-strip small{display:block;color:#8792A4;font-size:7px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-ratio-strip b{display:block;margin-top:4px;color:#2B3A52;font-size:13px}

/* Exact clicked node / map analytical object */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-card{width:100%;min-width:0;box-sizing:border-box;padding:14px;border:1px solid #E3E8F1;border-radius:14px;background:linear-gradient(180deg,#FFF,#FBFCFF)}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-eyebrow{margin-bottom:8px;color:#674EE7;font-size:8px;line-height:1.2;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-visual{width:100%;min-height:190px;display:grid;place-items:center;overflow:hidden;border:1px solid #E8ECF3;border-radius:12px;background:#FAFBFC}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-visual svg{display:block;width:min(100%,620px);height:auto}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-title{font:850 17px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-amount{fill:#25364F;font:900 18px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-pct{fill:#15845F;font:850 12px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-meta{fill:#718096;font:650 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-facts>span{min-width:0;padding:10px;border:1px solid #E8ECF3;border-radius:10px;background:#FFF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-facts small{display:block;margin-bottom:4px;color:#8793A6;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-facts b{display:block;overflow-wrap:anywhere;color:#293A52;font-size:10px;line-height:1.35}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-drawer-chart{padding:14px;border:1px solid #E4E8F0;border-radius:14px;background:#FFF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-drawer-chart header span{color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-drawer-chart h3{margin:4px 0;color:#26364F;font-size:16px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-drawer-chart p{margin:0;color:#77859A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-ratios{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-ratios span{padding:12px;border:1px solid #E8EDF3;border-radius:9px;background:#FAFBFD;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-ratios small{display:block;color:#8792A4;font-size:7px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-ratios b{display:block;margin-top:4px;color:#2B3A52;font-size:13px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-mini-bridge{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;align-items:end;margin-top:18px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-mini-bridge span{min-height:80px;display:flex;flex-direction:column;justify-content:flex-end;padding:8px;border-radius:9px;background:#F5F7FB;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-mini-bridge span.up{background:#EDFBF5}.rbs244-mini-bridge span.down{background:#FFF2F3}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-mini-bridge b{color:#2B3C54;font-size:12px}.rbs244-mini-bridge small{margin-top:5px;color:#7E8A9D;font-size:7px}

@media(max-width:1600px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-glance{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope{grid-template-columns:1fr auto}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-applied{grid-column:1/-1;grid-row:2}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-scope{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-trust{grid-template-columns:1fr}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-applied{grid-column:auto;grid-row:auto}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-bento,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-insights,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:700px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-glance,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-brief .mfv20-brief-cards,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-analytics{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-context{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-ratios{grid-template-columns:repeat(2,1fr)}
}


/* ============================================================================
   CORRECTED V20.44 — REPORTS · BALANCE SHEET
   ACCOUNTING · RECURRING ENTRIES V20.16 = PAGE-ANATOMY / UX DONOR
   ============================================================================ */

#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0 2px 28px!important;
  background:#fbfcff!important;
  font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root>*{
  box-sizing:border-box!important;
  width:auto;
  max-width:100%!important;
  min-width:0!important;
}

/* Recurring Entries donor: compact 4-filter ribbon. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-filterbar .mfv10-control{
  min-width:130px!important;
}

/* Recurring Entries donor: scope is a compact horizontal scopebar,
   not the Accounting Balance Sheet multi-card trust block. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-scopebar{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-scopebar span{
  min-width:0!important;
}

/* Reports spec explicitly calls out 4 headline position KPIs.
   Ratios/evidence remain analytics, not duplicate top KPIs. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-glance{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-kpi{
  min-height:102px!important;
}

/* Recurring Entries donor investigation lens. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-lens>button.active{
  border-color:#cfc4ff!important;
  background:#f2efff!important;
  color:#5e43d7!important;
  box-shadow:inset 0 0 0 1px #ddd6ff!important;
}

/* Recurring Entries donor primary geometry: 2.15 / .85. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-primary{
  grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;
  align-items:stretch!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-primary>.mfv20-hero,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-primary>.mfv20-brief{
  min-width:0!important;
  height:100%!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-hero{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 12px;
  border-top:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  background:#fff;
  overflow:hidden;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-controls>div{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-controls button{
  height:27px;padding:0 9px;border:1px solid #e0e5ed;border-radius:8px;background:#fff;color:#63728a;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-controls button.active{
  border-color:#6b54e3;background:#6b54e3;color:#fff
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-controls>span{
  color:#6755db;font-size:8.5px;font-weight:850;white-space:nowrap
}

/* Recurring Entries donor local-map scroll contract.
   The PAGE does not move horizontally; only this map viewport does. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:482px!important;
  padding:8px 8px 12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain!important;
  overscroll-behavior-y:none!important;
  scroll-behavior:smooth!important;
  scrollbar-gutter:stable!important;
  touch-action:pan-x!important;
  contain:layout paint!important;
  background:#fbfcfe!important;
  outline:none!important;
  cursor:grab!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll.is-dragging{
  cursor:grabbing!important;
  user-select:none!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-svg{
  display:block!important;
  width:1540px!important;
  min-width:1540px!important;
  max-width:none!important;
  height:460px!important;
  min-height:460px!important;
  margin:0!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll::-webkit-scrollbar-track{background:#eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll::-webkit-scrollbar-thumb{background:#b7c1d3;border:2px solid #eef1f6;border-radius:999px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll{scrollbar-width:thin;scrollbar-color:#aeb8ca #eef1f6}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll:focus-visible{box-shadow:inset 0 0 0 2px rgba(103,85,219,.22)!important}

/* Recurring-donor map typography + standardized compact nodes. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-title{fill:#27364e;font:800 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-group{fill:#4f6078;font:850 9px Inter,system-ui,sans-serif;letter-spacing:.04em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-title{font:800 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-amount{fill:#20314a;font:900 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-pct{fill:#168962;font:800 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-meta{fill:#758399;font:600 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node:hover{filter:drop-shadow(0 4px 8px rgba(30,45,76,.14))}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-title{fill:#654ED8;font:900 8px Inter,system-ui,sans-serif;letter-spacing:.05em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-kpi{fill:#26364F;font:900 24px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-text{fill:#718096;font:650 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-good{fill:#168B64;font:850 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-warn{fill:#BA7A13;font:850 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-side-link{fill:#6554D9;font:800 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-legend text{fill:#758399;font:650 8px Inter,system-ui,sans-serif}

/* Recurring Entries donor right-side brief geometry. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-brief{
  display:flex!important;
  flex-direction:column!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-brief .mfv20-brief-cards{
  display:grid!important;
  grid-template-columns:1fr!important;
  flex:1!important;
  align-content:stretch!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-brief .mfv20-brief-cards button{
  min-height:118px!important;
}

/* KEY CORRECTION:
   Recurring Entries donor has six premium analytics in a 2-column research grid.
   Reports BS uses exactly that anatomy, populated with the six page-specific visuals. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-charts{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin:12px 0!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart{
  min-width:0!important;
  min-height:365px!important;
  display:flex!important;
  flex-direction:column!important;
  padding:16px!important;
  border:1px solid #e5e9f1!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff,#fcfdff)!important;
  box-shadow:0 9px 26px rgba(28,42,72,.045)!important;
  cursor:pointer!important;
  overflow:hidden!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart:hover{
  border-color:#d8d2f5!important;
  box-shadow:0 12px 31px rgba(28,42,72,.07)!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-head span{
  color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.09em
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-head h3{
  margin:3px 0;color:#22324b;font-size:16px;font-weight:820
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-head p{
  margin:0;color:#7d8ba1;font-size:10px;line-height:1.45
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-head button{
  height:29px;flex:none;padding:0 9px;border:1px solid #e0e5ee;border-radius:8px;background:#fff;color:#64758c;font-size:8.5px;font-weight:800
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-chart-body{
  flex:1!important;
  min-height:210px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-context{
  display:grid;
  grid-template-columns:108px minmax(0,1fr);
  gap:10px;
  margin-top:auto;
  padding:10px 11px;
  border:1px solid #eceef5;
  border-radius:11px;
  background:linear-gradient(135deg,#fbfaff,#fff)
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-context span{color:#674ee7;font-size:8px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-context p{margin:0;color:#53647c;font-size:10px;line-height:1.5}

/* Liquidity card */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity{width:100%;display:grid;gap:14px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .ratios,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .health-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity span{min-width:0;padding:13px;border:1px solid #E8EDF3;border-radius:12px;background:#FFF;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity small{display:block;color:#8290A3;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity b{display:block;margin-top:7px;color:#26364F;font-size:22px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity strong{display:block;margin-top:5px;color:#159168;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .health{background:#ECFBF5;border-color:#BEEAD9}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .health b{color:#168A63}

/* Movement bridge */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall{
  width:100%;height:210px;display:grid;grid-template-columns:repeat(6,1fr);gap:10px;align-items:end
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall>div{height:100%;display:grid;grid-template-rows:20px 1fr 36px;gap:5px;align-items:end;text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall strong{color:#53647B;font-size:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall i{height:100%;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #E8EDF3}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall em{display:block;width:44px;border-radius:6px 6px 2px 2px;background:#29B983}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall .terminal em{background:#2855B7}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall .down em{background:#E85A65}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-waterfall span{color:#8190A3;font-size:7.5px;line-height:1.25}

/* Composition */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition{width:100%;display:grid;gap:25px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition>div{display:grid;grid-template-columns:110px minmax(160px,1fr) 110px;gap:10px;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition span b{display:block;color:#293951;font-size:10px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition span small{display:block;margin-top:3px;color:#8190A3;font-size:8px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition i{height:24px;display:flex;border-radius:7px;overflow:hidden;background:#EDF1F5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition i em{height:100%}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition .teal{background:#2CBC8B}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition .blue{background:#6579E9}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition .red{background:#F06470}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition .purple{background:#8C6DE5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition .ghost{background:#EEF1F5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-composition strong{color:#53647B;font-size:8.5px;text-align:right}

/* Maturity */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity{
  width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:11px;align-items:end
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity>div{text-align:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity strong{display:block;color:#26364F;font-size:10px;margin-bottom:5px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity i{height:165px;display:flex;flex-direction:column-reverse;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity em{display:block;width:48px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity .current{background:#2ABA83}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity .noncurrent{background:#7C58DF}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity span{display:block;margin-top:6px;color:#64748B;font-size:8px;font-weight:750}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-maturity small{display:block;margin-top:3px;color:#8994A5;font-size:7px;line-height:1.3}

/* Trend */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg{display:block;width:100%;height:auto;max-height:235px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg text{fill:#8492A8;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg path{fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg path.assets{stroke:#4D79E8}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg path.liab{stroke:#E75B67}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg path.equity{stroke:#24AA7E}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-grid line{stroke:#E8EDF4;stroke-width:1}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg .assets-dot{fill:#4D79E8}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg .liab-dot{fill:#E75B67}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-trend-svg .equity-dot{fill:#24AA7E}

/* Evidence */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence{width:100%;display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .ring svg{width:170px;height:170px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .ring text:first-of-type{fill:#16805F;font:900 23px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .ring text:last-of-type{fill:#75849A;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .checks{display:grid;gap:12px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .checks span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px;border-bottom:1px solid #EEF1F5}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .checks b{color:#39516A;font-size:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .checks small{color:#7B899D;font-size:8px;text-align:right}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence .checks .warn b{color:#B77712}

/* Recurring Entries donor two-panel operational review. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-bento{
  grid-template-columns:repeat(2,minmax(0,1fr))!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid button,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid article{
  min-height:72px;padding:10px;border:1px solid #e9edf3;border-radius:10px;background:#fff;text-align:left
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid span{display:block;color:#7b899d;font-size:9px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid b{display:block;margin-top:6px;color:#26364f;font-size:13px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-ops-grid small{display:block;margin-top:4px;color:#8190A3;font-size:8px;line-height:1.35}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-pack{
  grid-column:1/-1!important;
  background:linear-gradient(135deg,#fbfaff,#fff)!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-pack b{font-size:20px!important;color:#5D49D5!important}

/* Three recurring-donor insight cards. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-insights{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
}

/* Recurring Entries donor register behavior:
   register owns horizontal scroll, not the page. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register .mfv11-find-tools{
  min-width:0!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register .mfv11-chipbar{
  min-width:0!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register-search{
  padding:9px 12px;border-top:1px solid #EEF1F5;background:#FFF
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register-search input{
  width:min(520px,100%);height:34px;border:1px solid #DFE5EE;border-radius:9px;padding:0 10px;background:#fff;color:#29384F;font:600 9.5px Inter,system-ui,sans-serif;outline:none
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register .mfv11-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overscroll-behavior-x:contain!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register table{
  min-width:1450px!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register tr[data-action]{cursor:pointer}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register tr[data-action]:hover{background:#fbfbff}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register td:first-child small{display:block;margin-top:2px;color:#8B97A8;font-size:7.5px}

/* Recurring Entries donor advanced-investigation grid. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid>article{
  min-width:0!important;
  min-height:220px!important;
  padding:15px!important;
  border:1px solid #e4e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(31,45,85,.035)!important;
  cursor:pointer!important
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid header>span{color:#6848e8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid h3{margin:4px 0;color:#26344e;font-size:15px}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid p{margin:0;color:#78869a;font-size:10px;line-height:1.5}

/* Ensure previous Accounting-BS-donor page-specific layout rules do not win
   when the corrected recurring-donor render is mounted. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-scope,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-analytics{
  display:none!important
}

/* Responsive behavior mirrors recurring-donor collapse. */
@media(max-width:1450px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-glance{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-bento,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-insights,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-advanced-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root .rbs244-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-glance,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-brief .mfv20-brief-cards,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-charts{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-context{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-evidence{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .ratios,
 #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-liquidity .health-row{grid-template-columns:1fr!important}
}


/* V20.44 ROUTE-FIXED — Reports Balance Sheet containment.
   Specific local surfaces own horizontal scrolling; the Reports root does not. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-root{
  overflow-x:clip!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-register .mfv11-table-wrap{
  overflow-x:auto!important;
}


/* ============================================================================
   V20.44.1 — Reports Balance Sheet full SVG-content restoration
   Compact cards/nodes; Recurring Entries donor geometry retained.
   ============================================================================ */

/* Smaller node typography so detailed rows fit cleanly without oversized cards. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-title{
  font:800 8.8px Inter,system-ui,sans-serif!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-amount{
  fill:#20314a!important;
  font:900 11.5px Inter,system-ui,sans-serif!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-pct{
  fill:#168962!important;
  font:800 8px Inter,system-ui,sans-serif!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-divider{
  stroke:#DDE5EE;
  stroke-width:.8;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-row-label{
  fill:#637289;
  font:600 6.7px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-node-row-value{
  fill:#4D5C72;
  font:750 6.7px Inter,system-ui,sans-serif;
}

/* Restored source intelligence cards — intentionally smaller than the original
   screenshot while keeping all supplied detail visible. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-intel-card{
  cursor:pointer;
  transition:filter .15s ease;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-intel-card:hover{
  filter:drop-shadow(0 4px 8px rgba(30,45,76,.13));
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-intel-title{
  font:850 8.4px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-intel-row-label{
  fill:#68778D;
  font:650 6.5px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-intel-row-value{
  fill:#34465F;
  font:800 6.7px Inter,system-ui,sans-serif;
}

/* Keep the same 1540 x 460 donor canvas and local horizontal scroll.
   No page-level horizontal expansion. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll{
  height:482px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-svg{
  width:1540px!important;
  min-width:1540px!important;
  height:460px!important;
  min-height:460px!important;
}

/* Detailed clicked-node/card reproduction in the universal drawer. */
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-node-visual-detailed,
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-selected-intel-visual{
  min-height:250px!important;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-row-label{
  fill:#617087;
  font:650 10px Inter,system-ui,sans-serif;
}
#ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-preview-row-value{
  fill:#34465F;
  font:800 10px Inter,system-ui,sans-serif;
}

/* Keep source-card visual hierarchy compact at medium desktop widths. */
@media(max-width:1350px){
  #ledger-v127-root[data-screen="reports-balance-sheet"] .rbs244-rec-map-scroll{
    height:472px!important;
  }
}


/* ============================================================================
   V20.42 — FIXED ASSETS · FIXED ASSETS
   Accounting · Balance Sheet page anatomy / UX donor.
   ============================================================================ */
#ledger-v127-root[data-screen="fixed-assets"],
#ledger-v127-root[data-screen="fixed-assets"]>.lispec-root,
#ledger-v127-root[data-screen="fixed-assets"] .fa242-root{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important
}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-root{
 display:block!important;padding:0 2px 28px!important;background:#fbfcff!important;overflow-x:clip!important;
 font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important
}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-root>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}

/* Donor: four-filter ribbon */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-filterbar .mfv20-filter-core{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Donor: compact applied scope */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-scopebar{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}

/* Six page-specific KPI cards, as in supplied dashboard */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-glance{grid-template-columns:repeat(6,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-kpi{min-height:106px!important}

/* Donor: investigation lens */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-lens>button.active{border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff!important}

/* Donor: relationship intelligence + investigation brief */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-primary{grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;align-items:stretch!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-primary>*{min-width:0!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map{overflow:hidden!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #EDF1F6;border-bottom:1px solid #EDF1F6;background:#fff}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-controls>div{display:flex;gap:6px;flex-wrap:wrap}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-controls button{height:27px;padding:0 9px;border:1px solid #E0E5ED;border-radius:8px;background:#fff;color:#63728A;font-size:9px;font-weight:800}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-controls button.active{border-color:#6B54E3;background:#6B54E3;color:#fff}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-controls>span{color:#6755DB;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only map area scrolls horizontally. */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:442px!important;padding:6px 8px 10px!important;
 overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;scroll-behavior:smooth!important;
 scrollbar-gutter:stable!important;touch-action:pan-x!important;contain:layout paint!important;background:#FAFBFC!important;cursor:grab!important;outline:none!important
}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll.is-dragging{cursor:grabbing!important;user-select:none!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-svg{display:block!important;width:1680px!important;min-width:1680px!important;max-width:none!important;height:420px!important;min-height:420px!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll::-webkit-scrollbar-track{background:#EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll::-webkit-scrollbar-thumb{background:#B7C1D3;border:2px solid #EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-scroll{scrollbar-width:thin;scrollbar-color:#AEB8CA #EEF1F6}

/* Map typography / equal-stage cards */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-title{fill:#0F172A;font:800 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-map-sub,
#ledger-v127-root[data-screen="fixed-assets"] .fa242-bus-label,
#ledger-v127-root[data-screen="fixed-assets"] .fa242-legend{fill:#64748B;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-num{fill:#fff;font:900 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-title{fill:#1D2C43;font:800 8.2px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-kpi{fill:#17263D;font:900 15px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-unit{fill:#718096;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-label{fill:#7C899C;font:800 7px Inter,system-ui,sans-serif;letter-spacing:.03em}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-gl{fill:#475569;font:650 7.1px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-node-note{fill:#5F6E82;font:750 7.2px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-divider{stroke:#E2E8F0}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-stage{cursor:pointer;transition:filter .15s ease,opacity .15s ease}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-stage:hover{filter:drop-shadow(0 5px 8px rgba(30,45,76,.13))}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-stage.selected{filter:drop-shadow(0 6px 10px rgba(94,67,215,.15))}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-root[data-fa242-view="Heat Map"] .fa242-stage.heat-low{opacity:.62}

/* Brief */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-brief .mfv20-brief-cards{display:grid!important;grid-template-columns:1fr!important;flex:1!important;align-content:stretch!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-brief .mfv20-brief-cards button{min-height:116px!important}

/* Six analytics: premium 3 x 2 grid, no horizontal page overflow. */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-charts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart{min-width:0!important;min-height:338px!important;display:flex!important;flex-direction:column!important;padding:15px!important;border:1px solid #E5E9F1!important;border-radius:16px!important;background:linear-gradient(180deg,#FFF,#FCFDFF)!important;box-shadow:0 8px 24px rgba(28,42,72,.043)!important;cursor:pointer!important;overflow:hidden!important;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart:hover{border-color:#D8D2F5!important;box-shadow:0 11px 28px rgba(28,42,72,.07)!important;transform:translateY(-1px)}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:7px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-head span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-head h3{margin:3px 0;color:#22324B;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-head p{margin:0;color:#7D8BA1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #E1E6EE;border-radius:8px;background:#FFF;color:#64758C;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-body{flex:1!important;min-height:190px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-context{display:grid;grid-template-columns:96px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #ECEEF5;border-radius:10px;background:linear-gradient(135deg,#FBFAFF,#FFF)}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-context span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-context p{margin:0;color:#53647C;font-size:9px;line-height:1.45}

/* Donut */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-svg{width:100%;max-height:178px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-svg circle.seg{fill:none;stroke-width:17;transform:rotate(-90deg);transform-origin:78px 78px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-svg .s0{stroke:#4F7CE8}#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-svg .s1{stroke:#24B27E}.fa242-donut-svg .s2{stroke:#7B5CE1}.fa242-donut-svg .s3{stroke:#F29C38}.fa242-donut-svg .s4{stroke:#5AA9C6}.fa242-donut-svg .s5{stroke:#F06F7A}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-svg .fill.s0{fill:#4F7CE8}.fa242-donut-svg .fill.s1{fill:#24B27E}.fa242-donut-svg .fill.s2{fill:#7B5CE1}.fa242-donut-svg .fill.s3{fill:#F29C38}.fa242-donut-svg .fill.s4{fill:#5AA9C6}.fa242-donut-svg .fill.s5{fill:#F06F7A}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-value{fill:#27374F;font:900 12px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-donut-label{fill:#7E8A9C;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-label{fill:#63728A;font:650 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-value{fill:#34465F;font:800 7px Inter,system-ui,sans-serif}

/* Depreciation profile */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-dep-svg{width:100%;max-height:190px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-dep-svg .axis,#ledger-v127-root[data-screen="fixed-assets"] .fa242-bridge-svg .axis{stroke:#E3E8F0;stroke-width:1}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-dep-svg .bar{fill:#5C85E8}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-dep-svg .prior{fill:none;stroke:#64748B;stroke-width:2;stroke-dasharray:4 4}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-dep-svg text,#ledger-v127-root[data-screen="fixed-assets"] .fa242-bridge-svg text{fill:#7C899D;font:600 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-chart-note{fill:#7A879B!important;font:650 7px Inter,system-ui,sans-serif!important}

/* Bridge */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-bridge-svg{width:100%;max-height:190px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-bridge-svg .opening{fill:#4F7CE8}.fa242-bridge-svg .up{fill:#25B27F}.fa242-bridge-svg .down{fill:#E85A65}.fa242-bridge-svg .review{fill:#F0A03A}

/* Useful-life maturity */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars{width:100%;display:grid;gap:14px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars>div{display:grid;grid-template-columns:92px minmax(0,1fr) 48px;gap:8px;align-items:center}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars span b{display:block;color:#36475E;font-size:9px}.fa242-maturity-bars span small{display:block;color:#8793A5;font-size:7px;margin-top:2px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars i{height:15px;border-radius:999px;background:#EEF2F6;overflow:hidden}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars em{display:block;height:100%;border-radius:inherit;background:#5C85E8}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars .m1{background:#20AA79}.fa242-maturity-bars .m2{background:#E9A438}.fa242-maturity-bars .m3{background:#E45E68}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-maturity-bars strong{color:#495A72;font-size:8px;text-align:right}

/* Utilization */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars{width:100%;display:grid;gap:15px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars>div{display:grid;grid-template-columns:110px minmax(0,1fr) 42px;gap:9px;align-items:center}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars span{color:#52637A;font-size:8.5px;font-weight:700}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars i{height:9px;border-radius:999px;background:#EDF1F5;overflow:hidden}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars em{display:block;height:100%;border-radius:inherit;background:#25AE7C}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-util-bars strong{color:#405169;font-size:8px;text-align:right}

/* Evidence */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence{width:100%;display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:center}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence svg{width:145px;height:145px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence .track{fill:none;stroke:#E7F5EF;stroke-width:15}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence .score{fill:none;stroke:#4D7FE6;stroke-width:15;stroke-linecap:round;transform:rotate(-90deg);transform-origin:75px 75px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence .value{fill:#26364F;font:900 20px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence .label{fill:#7B899D;font:650 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence>div{display:grid;gap:8px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence>div span{display:grid;grid-template-columns:1fr auto;gap:8px;padding-bottom:6px;border-bottom:1px solid #EEF1F5}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence b{color:#3F516A;font-size:8px}.fa242-evidence strong{color:#178760;font-size:8px}

/* Operational */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-control-grid button{min-height:80px;padding:10px;border:1px solid #E8EDF3;border-radius:10px;background:#FFF;text-align:left}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-control-grid span{display:block;color:#7A889C;font-size:8px}.fa242-control-grid b{display:block;margin-top:5px;color:#26364F;font-size:12px}.fa242-control-grid small{display:block;margin-top:3px;color:#8390A3;font-size:7.5px;line-height:1.35}

/* Insights */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-insights .mfv20-insight{min-height:235px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-insights .mfv20-insight>i{position:static!important;margin-top:auto!important;padding-top:8px!important}

/* Register */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(260px,.75fr) auto!important;gap:12px!important;align-items:center!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register .mfv11-find-tools h3{margin:0}.fa242-register .mfv11-find-tools p{margin:4px 0 0;color:#7D8BA1;font-size:8px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-search input{width:100%;height:34px;border:1px solid #DFE5EE;border-radius:9px;padding:0 10px;background:#fff;color:#29384F;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register table{min-width:1730px!important}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-register tr[data-action]{cursor:pointer}.fa242-register tr[data-action]:hover{background:#FBFBFF}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-life{display:grid;grid-template-columns:32px 70px;gap:6px;align-items:center}.fa242-life span{font-size:8px;color:#52637A}.fa242-life i{height:7px;border-radius:999px;background:#EDF1F5;overflow:hidden}.fa242-life em{display:block;height:100%;background:#22AE7C;border-radius:inherit}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-status{display:inline-flex;padding:4px 7px;border-radius:999px;background:#EAF9F2;color:#16815D;font-size:7.5px;font-weight:800}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-flag{display:inline-flex;padding:4px 7px;border-radius:999px;background:#FFF2E5;color:#B76E11;font-size:7.5px;font-weight:800}.fa242-flag.none{background:#F5F7FA;color:#8490A2}

/* Advanced */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-advanced-grid>article{min-width:0;min-height:220px;padding:15px;border:1px solid #E4E8F0;border-radius:14px;background:#FFF;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-advanced-grid header>span{color:#6848E8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-advanced-grid h3{margin:4px 0;color:#26344E;font-size:15px}.fa242-advanced-grid p{margin:0;color:#78869A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-identity{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:28px}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-identity span{padding:12px;border:1px solid #E8EDF3;border-radius:10px;text-align:center;color:#748197;font-size:8px}.fa242-identity span b{display:block;color:#26364F;font-size:16px}.fa242-identity i{font-style:normal;color:#6A55DF;font-weight:900}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-control-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:28px}.fa242-control-tags span{padding:8px 10px;border:1px solid #E4E8F0;border-radius:999px;background:#FAFBFD;color:#52637A;font-size:8px;font-weight:800}

/* Exact selected stage in universal drawer */
#ledger-v127-root[data-screen="fixed-assets"] .fa242-selected-stage{padding:14px;border:1px solid #E3E8F1;border-radius:14px;background:linear-gradient(180deg,#FFF,#FBFCFF)}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-selected-stage>span{display:block;margin-bottom:8px;color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-stage-preview{display:grid;place-items:center;min-height:280px;border:1px solid #E8ECF3;border-radius:12px;background:#FAFBFC;overflow:hidden}
#ledger-v127-root[data-screen="fixed-assets"] .fa242-stage-preview svg{width:min(100%,620px);height:auto}.fa242-preview-num{fill:#FFF;font:900 13px Inter,system-ui,sans-serif}.fa242-preview-title{fill:#26364F;font:850 17px Inter,system-ui,sans-serif}.fa242-preview-kpi{fill:#26364F;font:900 23px Inter,system-ui,sans-serif}.fa242-preview-unit{fill:#738299;font:650 11px Inter,system-ui,sans-serif}.fa242-preview-gl{fill:#4E5F76;font:650 10px Inter,system-ui,sans-serif}.fa242-preview-note{fill:#4D5F75;font:800 10px Inter,system-ui,sans-serif}

@media(max-width:1500px){
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-charts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-bento,#ledger-v127-root[data-screen="fixed-assets"] .fa242-insights,#ledger-v127-root[data-screen="fixed-assets"] .fa242-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:720px){
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-filterbar .mfv20-filter-core,#ledger-v127-root[data-screen="fixed-assets"] .fa242-glance,#ledger-v127-root[data-screen="fixed-assets"] .fa242-brief .mfv20-brief-cards,#ledger-v127-root[data-screen="fixed-assets"] .fa242-charts{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-context{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="fixed-assets"] .fa242-evidence{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.42 — FIXED ASSETS · PREPAID
   Accounting · Balance Sheet page-anatomy / UX donor.
   ============================================================================ */
#ledger-v127-root[data-screen="prepaid"],
#ledger-v127-root[data-screen="prepaid"]>.lispec-root,
#ledger-v127-root[data-screen="prepaid"] .pp242-root{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-root{
 display:block!important;padding:0 2px 28px!important;background:#FBFCFF!important;overflow-x:clip!important;
 font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-root>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}

/* Four source filters only. */
#ledger-v127-root[data-screen="prepaid"] .pp242-filterbar .mfv20-filter-core{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-scopebar{overflow:hidden!important}

/* Five source dashboard KPIs. */
#ledger-v127-root[data-screen="prepaid"] .pp242-glance{grid-template-columns:repeat(5,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-kpi{min-height:110px!important}

/* Donor investigation lens. */
#ledger-v127-root[data-screen="prepaid"] .pp242-lens>button.active{
 border-color:#CFC4FF!important;background:#F2EFFF!important;color:#5E43D7!important;box-shadow:inset 0 0 0 1px #DDD6FF!important
}

/* Balance Sheet donor primary relationship workspace proportions. */
#ledger-v127-root[data-screen="prepaid"] .pp242-primary{
 grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important;align-items:stretch!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-primary>*{min-width:0!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-map{overflow:hidden!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-controls{
 display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #EDF1F6;border-bottom:1px solid #EDF1F6;background:#FFF
}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-controls>div{display:flex;gap:6px;flex-wrap:wrap}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-controls button{
 height:27px;padding:0 9px;border:1px solid #E0E5ED;border-radius:8px;background:#FFF;color:#63728A;font-size:9px;font-weight:800
}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-controls button.active{border-color:#6B54E3;background:#6B54E3;color:#FFF}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-controls>span{color:#6755DB;font-size:8.5px;font-weight:850;white-space:nowrap}

/* Only the relationship canvas owns horizontal scrolling. */
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;height:442px!important;padding:6px 8px 10px!important;
 overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;scroll-behavior:smooth!important;
 scrollbar-gutter:stable!important;touch-action:pan-x!important;contain:layout paint!important;background:#FAFBFC!important;cursor:grab!important;outline:none!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll.is-dragging{cursor:grabbing!important;user-select:none!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-svg{display:block!important;width:1680px!important;min-width:1680px!important;max-width:none!important;height:420px!important;min-height:420px!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll::-webkit-scrollbar{height:9px}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll::-webkit-scrollbar-track{background:#EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll::-webkit-scrollbar-thumb{background:#B7C1D3;border:2px solid #EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-scroll{scrollbar-width:thin;scrollbar-color:#AEB8CA #EEF1F6}

/* Source SVG typography / card grammar. */
#ledger-v127-root[data-screen="prepaid"] .pp242-map-title{fill:#0F172A;font:800 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-map-sub,#ledger-v127-root[data-screen="prepaid"] .pp242-legend{fill:#64748B;font:600 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-node-num{fill:#FFF;font:900 9px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-node-title{fill:#17263D;font:800 8.6px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-node-kpi{fill:#25364E;font:900 12px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-node-label{fill:#7B889B;font:800 7px Inter,system-ui,sans-serif;letter-spacing:.03em}
#ledger-v127-root[data-screen="prepaid"] .pp242-node-line{fill:#52637A;font:650 7.2px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-chip{fill:#49596F;font:800 7.5px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-divider{stroke:#E1E7EF}
#ledger-v127-root[data-screen="prepaid"] .pp242-stage{cursor:pointer;transition:filter .15s ease}
#ledger-v127-root[data-screen="prepaid"] .pp242-stage:hover{filter:drop-shadow(0 5px 8px rgba(30,45,76,.13))}
#ledger-v127-root[data-screen="prepaid"] .pp242-stage.selected{filter:drop-shadow(0 6px 10px rgba(94,67,215,.16))}

/* Investigation brief. */
#ledger-v127-root[data-screen="prepaid"] .pp242-brief{display:flex!important;flex-direction:column!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-brief .mfv20-brief-cards{
 display:grid!important;grid-template-columns:1fr!important;flex:1!important;align-content:stretch!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-brief .mfv20-brief-cards button{min-height:116px!important}

/* All source analytics from the supplied dashboard. */
#ledger-v127-root[data-screen="prepaid"] .pp242-charts{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important
}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart{
 min-width:0!important;min-height:350px!important;display:flex!important;flex-direction:column!important;padding:15px!important;
 border:1px solid #E5E9F1!important;border-radius:16px!important;background:linear-gradient(180deg,#FFF,#FCFDFF)!important;
 box-shadow:0 8px 24px rgba(28,42,72,.043)!important;cursor:pointer!important;overflow:hidden!important;
 transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart:hover{border-color:#D8D2F5!important;box-shadow:0 11px 28px rgba(28,42,72,.07)!important;transform:translateY(-1px)}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:7px}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-head span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-head h3{margin:3px 0;color:#22324B;font-size:14px;font-weight:820}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-head p{margin:0;color:#7D8BA1;font-size:9px;line-height:1.42}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-head button{height:27px;flex:none;padding:0 8px;border:1px solid #E1E6EE;border-radius:8px;background:#FFF;color:#64758C;font-size:7.8px;font-weight:800}
#ledger-v127-root[data-screen="prepaid"] .pp242-chart-body{flex:1!important;min-height:195px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-context{display:grid;grid-template-columns:96px minmax(0,1fr);gap:9px;margin-top:auto;padding:9px 10px;border:1px solid #ECEEF5;border-radius:10px;background:linear-gradient(135deg,#FBFAFF,#FFF)}
#ledger-v127-root[data-screen="prepaid"] .pp242-context span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.08em}
#ledger-v127-root[data-screen="prepaid"] .pp242-context p{margin:0;color:#53647C;font-size:9px;line-height:1.45}

/* Forecast */
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg{width:100%;max-height:195px}
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg .axis,#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg .grid{stroke:#E4E9F0;stroke-width:1}
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg .bar{fill:#4F7FE7}
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg .cum{fill:none;stroke:#28B8AC;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg text{fill:#8290A2;font:600 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-forecast-svg .note{fill:#748297;font:650 7px Inter,system-ui,sans-serif}

/* Category donut */
#ledger-v127-root[data-screen="prepaid"] .pp242-category{width:100%;display:grid;grid-template-columns:165px minmax(0,1fr);gap:14px;align-items:center}
#ledger-v127-root[data-screen="prepaid"] .pp242-category svg{width:160px;height:160px}
#ledger-v127-root[data-screen="prepaid"] .pp242-category circle{fill:none;stroke-width:18;transform:rotate(-90deg);transform-origin:80px 80px}
#ledger-v127-root[data-screen="prepaid"] .pp242-category .track{stroke:#EEF2F6}
#ledger-v127-root[data-screen="prepaid"] .pp242-category .c0{stroke:#4F46D9}#ledger-v127-root[data-screen="prepaid"] .pp242-category .c1{stroke:#11B5B1}#ledger-v127-root[data-screen="prepaid"] .pp242-category .c2{stroke:#E4545E}#ledger-v127-root[data-screen="prepaid"] .pp242-category .c3{stroke:#4E86E8}#ledger-v127-root[data-screen="prepaid"] .pp242-category .c4{stroke:#7F65DF}#ledger-v127-root[data-screen="prepaid"] .pp242-category .c5{stroke:#32B87E}
#ledger-v127-root[data-screen="prepaid"] .pp242-category .value{fill:#728197;font:700 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-category .amount{fill:#26364F;font:900 14px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-category .label{fill:#8491A4;font:650 7px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-category>div{display:grid;gap:7px}
#ledger-v127-root[data-screen="prepaid"] .pp242-category>div span{display:grid;grid-template-columns:9px minmax(0,1fr) 34px 62px;gap:6px;align-items:center}
#ledger-v127-root[data-screen="prepaid"] .pp242-category>div i{width:8px;height:8px;border-radius:2px;background:#4F46D9}.pp242-category>div i.c1{background:#11B5B1}.pp242-category>div i.c2{background:#E4545E}.pp242-category>div i.c3{background:#4E86E8}.pp242-category>div i.c4{background:#7F65DF}.pp242-category>div i.c5{background:#32B87E}
#ledger-v127-root[data-screen="prepaid"] .pp242-category>div b,#ledger-v127-root[data-screen="prepaid"] .pp242-category>div strong,#ledger-v127-root[data-screen="prepaid"] .pp242-category>div small{font-size:7.5px;color:#53647A}

/* Expiry calendar */
#ledger-v127-root[data-screen="prepaid"] .pp242-expiry{width:100%;display:grid;gap:9px}
#ledger-v127-root[data-screen="prepaid"] .pp242-expiry>div{display:grid;grid-template-columns:minmax(0,1fr) 42px 90px;gap:8px;align-items:center;padding:8px 9px;border-bottom:1px solid #EEF1F5}
#ledger-v127-root[data-screen="prepaid"] .pp242-expiry span{display:flex;align-items:center;gap:6px;color:#53647A;font-size:8.5px}.pp242-expiry span i{width:6px;height:6px;border-radius:999px;background:#E45B67}
#ledger-v127-root[data-screen="prepaid"] .pp242-expiry .medium span i{background:#F0A139}.pp242-expiry .low span i{background:#5B83E7}.pp242-expiry .good span i{background:#23AD7A}
#ledger-v127-root[data-screen="prepaid"] .pp242-expiry strong{font-size:9px;color:#34465E;text-align:center}.pp242-expiry em{font-style:normal;font-size:8px;color:#53647A;text-align:right}

/* Evidence / automation rings */
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel,#ledger-v127-root[data-screen="prepaid"] .pp242-automation{width:100%;display:grid;grid-template-columns:155px minmax(0,1fr);gap:14px;align-items:center}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel svg,#ledger-v127-root[data-screen="prepaid"] .pp242-auto-ring svg{width:150px;height:150px}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel .track,#ledger-v127-root[data-screen="prepaid"] .pp242-auto-ring .track{fill:none;stroke:#E7F5EF;stroke-width:15}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel .score{fill:none;stroke:#24B47E;stroke-width:15;stroke-linecap:round;transform:rotate(-90deg);transform-origin:75px 75px}
#ledger-v127-root[data-screen="prepaid"] .pp242-auto-ring .score{fill:none;stroke:#22A7A0;stroke-width:15;stroke-linecap:round;transform:rotate(-90deg);transform-origin:75px 75px}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel .value,#ledger-v127-root[data-screen="prepaid"] .pp242-auto-ring .value{fill:#26364F;font:900 20px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel .label,#ledger-v127-root[data-screen="prepaid"] .pp242-auto-ring .label{fill:#16815D;font:700 8px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel>div,#ledger-v127-root[data-screen="prepaid"] .pp242-auto-items{display:grid;gap:7px}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel span{display:grid;grid-template-columns:108px minmax(40px,1fr) 34px;gap:7px;align-items:center}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel span b{font-size:7.5px;color:#506178}.pp242-score-panel span i{height:6px;border-radius:999px;background:#EDF1F5;overflow:hidden}.pp242-score-panel span em{display:block;height:100%;background:#25B27F;border-radius:inherit}.pp242-score-panel span strong{font-size:7.5px;color:#16815D}
#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel small{color:#7F8DA1;font-size:7.5px}
#ledger-v127-root[data-screen="prepaid"] .pp242-auto-items span{display:grid;grid-template-columns:1fr auto;gap:8px;padding:7px 0;border-bottom:1px solid #EEF1F5}.pp242-auto-items b{font-size:8px;color:#53647A}.pp242-auto-items strong{font-size:8px;color:#18835F}.pp242-auto-items small{color:#18835F;font-size:8px}

/* Operational / AI recommendations */
#ledger-v127-root[data-screen="prepaid"] .pp242-bento{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-rec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 14px}
#ledger-v127-root[data-screen="prepaid"] .pp242-rec-grid button{min-height:82px;padding:10px;border:1px solid #E8EDF3;border-radius:10px;background:#FFF;text-align:left}
#ledger-v127-root[data-screen="prepaid"] .pp242-rec-grid span{display:block;color:#7A889C;font-size:8px}.pp242-rec-grid b{display:block;margin-top:5px;color:#26364F;font-size:13px}.pp242-rec-grid small{display:block;margin-top:3px;color:#8390A3;font-size:7.5px;line-height:1.35}

/* Three insight cards */
#ledger-v127-root[data-screen="prepaid"] .pp242-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-insights .mfv20-insight{min-height:230px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-insights .mfv20-insight>i{position:static!important;margin-top:auto!important;padding-top:8px!important}

/* Register owns its horizontal scrolling. */
#ledger-v127-root[data-screen="prepaid"] .pp242-register{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(260px,.75fr) auto!important;gap:12px!important;align-items:center!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-register .mfv11-find-tools h3{margin:0}.pp242-register .mfv11-find-tools p{margin:4px 0 0;color:#7D8BA1;font-size:8px}
#ledger-v127-root[data-screen="prepaid"] .pp242-search input{width:100%;height:34px;border:1px solid #DFE5EE;border-radius:9px;padding:0 10px;background:#FFF;color:#29384F;font:600 9.5px Inter,system-ui,sans-serif;outline:none}
#ledger-v127-root[data-screen="prepaid"] .pp242-register .mfv11-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-register table{min-width:1640px!important}
#ledger-v127-root[data-screen="prepaid"] .pp242-register tr[data-action]{cursor:pointer}.pp242-register tr[data-action]:hover{background:#FBFBFF}
#ledger-v127-root[data-screen="prepaid"] .pp242-status{display:inline-flex;padding:4px 7px;border-radius:999px;background:#EAF9F2;color:#16815D;font-size:7.5px;font-weight:800}
#ledger-v127-root[data-screen="prepaid"] .pp242-flag{display:inline-flex;padding:4px 7px;border-radius:999px;background:#FFF2E5;color:#B76E11;font-size:7.5px;font-weight:800}.pp242-flag.none{background:#F5F7FA;color:#8490A2}

/* Advanced */
#ledger-v127-root[data-screen="prepaid"] .pp242-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#ledger-v127-root[data-screen="prepaid"] .pp242-advanced-grid>article{min-width:0;min-height:220px;padding:15px;border:1px solid #E4E8F0;border-radius:14px;background:#FFF;box-shadow:0 5px 18px rgba(31,45,85,.035);cursor:pointer}
#ledger-v127-root[data-screen="prepaid"] .pp242-advanced-grid header>span{color:#6848E8;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="prepaid"] .pp242-advanced-grid h3{margin:4px 0;color:#26344E;font-size:15px}.pp242-advanced-grid p{margin:0;color:#78869A;font-size:10px;line-height:1.5}
#ledger-v127-root[data-screen="prepaid"] .pp242-identity{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center;margin-top:28px}
#ledger-v127-root[data-screen="prepaid"] .pp242-identity.two{grid-template-columns:1fr auto 1fr}
#ledger-v127-root[data-screen="prepaid"] .pp242-identity span{padding:12px;border:1px solid #E8EDF3;border-radius:10px;text-align:center;color:#748197;font-size:8px}.pp242-identity span b{display:block;color:#26364F;font-size:16px}.pp242-identity i{font-style:normal;color:#6A55DF;font-weight:900}
#ledger-v127-root[data-screen="prepaid"] .pp242-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:28px}.pp242-tags span{padding:8px 10px;border:1px solid #E4E8F0;border-radius:999px;background:#FAFBFD;color:#52637A;font-size:8px;font-weight:800}

/* Exact selected node in universal drawer. */
#ledger-v127-root[data-screen="prepaid"] .pp242-selected-stage{padding:14px;border:1px solid #E3E8F1;border-radius:14px;background:linear-gradient(180deg,#FFF,#FBFCFF)}
#ledger-v127-root[data-screen="prepaid"] .pp242-selected-stage>span{display:block;margin-bottom:8px;color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.09em}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview{display:grid;place-items:center;min-height:300px;border:1px solid #E8ECF3;border-radius:12px;background:#FAFBFC;overflow:hidden}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview svg{width:min(100%,640px);height:auto}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview-num{fill:#FFF;font:900 13px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview-title{fill:#26364F;font:850 17px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview-kpi{fill:#26364F;font:900 19px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview-row{fill:#4E5F76;font:650 10px Inter,system-ui,sans-serif}
#ledger-v127-root[data-screen="prepaid"] .pp242-preview-status{fill:#16815D;font:800 10px Inter,system-ui,sans-serif}

@media(max-width:1500px){
 #ledger-v127-root[data-screen="prepaid"] .pp242-glance{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-charts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1180px){
 #ledger-v127-root[data-screen="prepaid"] .pp242-primary{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-brief .mfv20-brief-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
 #ledger-v127-root[data-screen="prepaid"] .pp242-bento,#ledger-v127-root[data-screen="prepaid"] .pp242-insights,#ledger-v127-root[data-screen="prepaid"] .pp242-advanced-grid{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-register .mfv11-find-tools{grid-template-columns:1fr!important}
}
@media(max-width:720px){
 #ledger-v127-root[data-screen="prepaid"] .pp242-filterbar .mfv20-filter-core,#ledger-v127-root[data-screen="prepaid"] .pp242-glance,#ledger-v127-root[data-screen="prepaid"] .pp242-brief .mfv20-brief-cards,#ledger-v127-root[data-screen="prepaid"] .pp242-charts{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-context{grid-template-columns:1fr!important}
 #ledger-v127-root[data-screen="prepaid"] .pp242-category,#ledger-v127-root[data-screen="prepaid"] .pp242-score-panel,#ledger-v127-root[data-screen="prepaid"] .pp242-automation{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.45 — RECONCILIATIONS · RECONCILIATIONS HUB
   Scoped central-workspace implementation. Locked application shell untouched.
   ============================================================================ */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{--r245-font:var(--ins-font-ui,Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);--r245-border:var(--ins-border-default,#E3E8F0);--r245-text:var(--ins-text-primary,#1A2842);--r245-muted:var(--ins-text-muted,#6F7F96);--r245-brand:var(--ins-brand-primary,#6253E5);box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:0 2px 28px;background:#FBFCFF;font-family:var(--r245-font);overflow-x:clip}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root *,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root *:before,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root *:after{box-sizing:border-box}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root>*{min-width:0;max-width:100%}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head{min-height:86px}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head-tools{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head-tools label{display:grid;gap:4px;min-width:220px}.recon245-head-tools label span{color:#738299;font-size:8px;font-weight:800;letter-spacing:.05em}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head-tools select,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head-tools button{height:34px;border:1px solid var(--r245-border);border-radius:8px;background:#FFF;color:#42536C;padding:0 10px;font:650 10px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head-tools em{align-self:center;padding:6px 9px;border:1px solid #F4D6A3;border-radius:999px;background:#FFF9ED;color:#A56B18;font:800 8px var(--r245-font);font-style:normal;letter-spacing:.06em}.recon245-head-tools em.live{border-color:#BDE9D5;background:#EFFAF5;color:#14815C}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar{display:flex!important;align-items:flex-end!important;gap:8px!important;min-width:0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar .mfv20-filter-core{display:grid!important;grid-template-columns:repeat(5,minmax(120px,1fr))!important;gap:8px!important;flex:1!important;min-width:0!important}.recon245-filter{min-width:0!important}.recon245-filter select{height:34px!important;font-size:10px!important;border-radius:8px!important}.recon245-filter span{font-size:8px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar .mfv20-filter-actions{display:flex!important;align-items:flex-end!important;gap:8px!important;flex:none!important}.recon245-ai-trigger{height:34px;padding:0 12px;border:1px solid #DCD5FF;border-radius:8px;background:#F4F1FF;color:#5E45DA;font:800 10px var(--r245-font);white-space:nowrap}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-scope{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}.recon245-scope>span b{white-space:nowrap}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}.recon245-kpi{min-height:108px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-lens>button.active{border-color:#CFC4FF!important;background:#F2EFFF!important;color:#5E43D7!important;box-shadow:inset 0 0 0 1px #DDD6FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{grid-template-columns:minmax(0,2.15fr) minmax(290px,.85fr)!important;align-items:stretch!important;gap:12px!important}.recon245-primary>*{min-width:0!important}.recon245-map{overflow:hidden!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #EDF1F6;border-bottom:1px solid #EDF1F6;background:#FFF}.recon245-map-toolbar label{display:flex;align-items:center;gap:6px;color:#738299;font-size:8px;font-weight:800}.recon245-map-toolbar select{height:28px;border:1px solid #E0E5ED;border-radius:8px;background:#FFF;color:#47586F;padding:0 9px;font:700 9px var(--r245-font)}.recon245-map-toolbar>span{color:#6B54E3;font-size:8px;font-weight:800;white-space:nowrap}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-map-scroll{width:100%;max-width:100%;min-width:0;height:468px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;cursor:grab;scrollbar-gutter:stable;background:#FAFBFD}.recon245-map-scroll.is-dragging{cursor:grabbing;user-select:none}.recon245-map-svg{display:block;width:1010px;min-width:1010px;height:468px;max-width:none}.recon245-map-scroll::-webkit-scrollbar{height:8px}.recon245-map-scroll::-webkit-scrollbar-track{background:#EEF1F6;border-radius:999px}.recon245-map-scroll::-webkit-scrollbar-thumb{background:#B5BFD0;border:2px solid #EEF1F6;border-radius:999px}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-map-title{fill:#17263D;font:800 14px var(--r245-font)}.recon245-map-sub{fill:#728197;font:550 9px var(--r245-font)}.recon245-lane{fill:#77869A;font:800 7px var(--r245-font);letter-spacing:.08em}.recon245-node{cursor:pointer;transition:filter .15s ease}.recon245-node:hover,.recon245-engine:hover{filter:drop-shadow(0 5px 8px rgba(30,45,76,.13))}.recon245-node-icon{fill:#FFF;font:800 8px var(--r245-font)}.recon245-node-title{fill:#26364F;font:750 10px var(--r245-font)}.recon245-node-sub{fill:#75849A;font:550 7.7px var(--r245-font)}.recon245-engine{cursor:pointer}.recon245-engine-icon{fill:#FFF;font:800 8px var(--r245-font)}.recon245-engine-title{fill:#24344D;font:800 12px var(--r245-font)}.recon245-engine-kpi{fill:#5C45D8;font:900 19px var(--r245-font)}.recon245-engine-sub{fill:#76859B;font:550 8px var(--r245-font)}.recon245-legend{fill:#7B889B;font:550 7px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-brief{display:flex!important;flex-direction:column!important}.recon245-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.recon245-brief-grid article{min-height:79px;padding:10px;border:1px solid #E8ECF3;border-radius:10px;background:#FFF}.recon245-brief-grid article.wide{grid-column:1/-1;min-height:94px}.recon245-brief-grid span{display:block;color:#7B899D;font-size:8px;font-weight:850;letter-spacing:.05em}.recon245-brief-grid b{display:block;margin-top:5px;color:#21324A;font-size:14px;font-weight:800}.recon245-brief-grid small,.recon245-brief-grid p{display:block;margin:4px 0 0;color:#77869B;font-size:9px;line-height:1.45}.recon245-brief-action{margin:auto 12px 12px;height:34px;border:1px solid #6A50DF;border-radius:8px;background:#654CE0;color:#FFF;font:800 9px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics{display:grid;grid-template-columns:1.2fr .9fr 1.15fr;gap:12px;margin:12px 0}.recon245-chart{min-width:0;min-height:340px;display:flex;flex-direction:column;padding:14px;border:1px solid #E5E9F1;border-radius:12px;background:#FFF;box-shadow:0 1px 2px rgba(21,37,66,.025);cursor:pointer;transition:border-color .15s ease,transform .15s ease}.recon245-chart:hover{border-color:#D8D2F5;transform:translateY(-1px)}.recon245-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.recon245-chart-head span{color:#674EE7;font-size:8px;font-weight:800;letter-spacing:.08em}.recon245-chart-head h3{margin:4px 0 2px;color:#22324B;font-size:14px;font-weight:750}.recon245-chart-head p{margin:0;color:#7D8BA1;font-size:9px;line-height:1.45}.recon245-chart-head button{height:28px;padding:0 8px;border:1px solid #E1E6EE;border-radius:8px;background:#FFF;color:#64758C;font-size:8px;font-weight:800}.recon245-chart-body{flex:1;min-height:205px;display:flex;align-items:center;justify-content:center;min-width:0;padding-top:6px}.recon245-context{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;margin-top:8px;padding:9px;border:1px solid #ECEEF5;border-radius:10px;background:#FBFAFF}.recon245-context span{color:#674EE7;font-size:7.5px;font-weight:900;letter-spacing:.08em}.recon245-context p{margin:0;color:#53647C;font-size:9px;line-height:1.45}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-match-chart{width:100%;height:205px}.recon245-match-chart .grid{stroke:#E8ECF2;stroke-width:1}.recon245-match-chart .bar{fill:#4F7FE7}.recon245-match-chart text{fill:#7B899C;font:550 7px var(--r245-font)}.recon245-match-chart .value{fill:#354760;font-weight:800}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-load-bars{width:100%;display:grid;gap:13px}.recon245-load-bars>div{display:grid;grid-template-columns:106px minmax(0,1fr) 26px;gap:8px;align-items:center}.recon245-load-bars span b{display:block;color:#405169;font-size:8.5px}.recon245-load-bars span small{display:block;color:#8A95A6;font-size:7px;margin-top:2px}.recon245-load-bars i{height:8px;border-radius:999px;background:#EEF2F6;overflow:hidden}.recon245-load-bars em{display:block;height:100%;border-radius:inherit;background:#E85C69}.recon245-load-bars strong{color:#415269;font-size:8px;text-align:right}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-ai-summary{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.recon245-ai-summary article{min-height:78px;padding:9px;border:1px solid #E7EBF2;border-radius:10px;background:#FFF}.recon245-ai-summary article:last-child{grid-column:1/-1}.recon245-ai-summary span{display:block;color:#79879A;font-size:7.5px;font-weight:800}.recon245-ai-summary b{display:block;margin-top:4px;color:#22344D;font-size:13px}.recon245-ai-summary p{margin:3px 0 0;color:#7A879A;font-size:8px;line-height:1.35}.recon245-ai-summary .green b,.recon245-ai-summary .teal b{color:#159568}.recon245-ai-summary .amber b{color:#C7831C}.recon245-ai-summary .purple b{color:#654CE0}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-operational{margin:12px 0;padding:14px;border:1px solid #E5E9F1;border-radius:12px;background:#FFF;box-shadow:0 1px 2px rgba(21,37,66,.025)}.recon245-operational>header span{color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.08em}.recon245-operational>header h3{margin:4px 0 12px;color:#22324B;font-size:14px}.recon245-operational-grid{display:grid;grid-template-columns:1.55fr .85fr;gap:12px}.recon245-attention,.recon245-quick{min-width:0;border:1px solid #E8ECF2;border-radius:10px;background:#FBFCFE;overflow:hidden}.recon245-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid #E9EDF3;background:#FFF}.recon245-panel-head span{color:#6A50DF;font-size:7.5px;font-weight:900;letter-spacing:.08em}.recon245-panel-head h4{margin:3px 0 0;color:#273850;font-size:12px}.recon245-panel-head button{border:0;background:transparent;color:#654CE0;font-size:8px;font-weight:800}.recon245-attention-table{width:100%;overflow-x:auto}.recon245-attention table{width:100%;min-width:660px;border-collapse:collapse}.recon245-attention th,.recon245-attention td{padding:8px 9px;border-bottom:1px solid #EDF1F5;text-align:left;color:#55677E;font-size:8px;white-space:nowrap}.recon245-attention th{color:#7C899C;font-weight:800;background:#FBFCFE}.recon245-attention tr{cursor:pointer}.recon245-attention tr:hover td{background:#F8F9FE}.recon245-risk{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:7px;font-weight:850}.recon245-risk.high{background:#FFF0F2;color:#C93C4E}.recon245-risk.medium{background:#FFF6E8;color:#B87412}.recon245-risk.low{background:#ECF9F3;color:#16815D}.recon245-quick{padding-bottom:8px}.recon245-quick>button{width:calc(100% - 16px);min-height:60px;margin:8px 8px 0;padding:9px 10px;display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;border:1px solid #E7EBF2;border-radius:9px;background:#FFF;text-align:left}.recon245-quick>button>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#F0EDFF;color:#654CE0;font-size:8px;font-weight:900}.recon245-quick button b{display:block;color:#33455E;font-size:9px}.recon245-quick button small{display:block;margin-top:3px;color:#8390A3;font-size:7.5px}.recon245-quick button i{font-style:normal;color:#6650E4}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-insights{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:12px 0!important}.recon245-insights .mfv20-insight{min-height:210px!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.recon245-insights .mfv20-insight>i{position:static!important;margin-top:auto!important;padding-top:8px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-register{width:100%;max-width:100%;min-width:0;overflow:hidden}.recon245-register .mfv11-find-tools{display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(260px,.65fr) auto!important;gap:12px!important;align-items:center!important}.recon245-register .mfv11-find-tools h3{margin:0}.recon245-register .mfv11-find-tools p{margin:4px 0 0;color:#7D8BA1;font-size:8px}.recon245-search input{width:100%;height:34px;border:1px solid #DFE5EE;border-radius:8px;padding:0 10px;background:#FFF;color:#29384F;font:600 9.5px var(--r245-font);outline:none}.recon245-register .mfv11-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.recon245-register table{min-width:1440px}.recon245-register tr[data-action]{cursor:pointer}.recon245-register tr[data-action]:hover{background:#FBFBFF}.recon245-score{color:#235AC7;font-weight:850}.recon245-register .amount.down{color:#D74656;font-weight:800}.recon245-register .amount.up{color:#16815D;font-weight:800}.recon245-ai-score{display:inline-grid;place-items:center;min-width:30px;height:24px;padding:0 6px;border-radius:8px;background:#EDF8F3;color:#16815D;font-size:8px;font-weight:900}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-advanced-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.recon245-advanced-grid>article{min-width:0;min-height:165px;padding:14px;border:1px solid #E4E8F0;border-radius:12px;background:#FFF;cursor:pointer}.recon245-advanced-grid span{color:#6848E8;font-size:8px;font-weight:900;letter-spacing:.08em}.recon245-advanced-grid h3{margin:5px 0;color:#26344E;font-size:14px}.recon245-advanced-grid p{margin:0;color:#78869A;font-size:9px;line-height:1.5}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-selected-node{padding:14px;border:1px solid #E3E8F1;border-radius:12px;background:linear-gradient(180deg,#FFF,#FBFCFF)}.recon245-selected-node>span{display:block;margin-bottom:8px;color:#674EE7;font-size:8px;font-weight:900;letter-spacing:.09em}.recon245-node-preview{display:grid;place-items:center;min-height:270px;border:1px solid #E8ECF3;border-radius:12px;background:#FAFBFC;overflow:hidden}.recon245-node-preview svg{width:min(100%,640px);height:auto}.recon245-preview-icon{fill:#FFF;font:900 13px var(--r245-font)}.recon245-preview-title{fill:#26364F;font:850 17px var(--r245-font)}.recon245-preview-metric{fill:#26364F;font:900 23px var(--r245-font)}.recon245-preview-sub{fill:#738299;font:650 11px var(--r245-font)}.recon245-preview-meta{fill:#4E5F76;font:650 10px var(--r245-font)}
@media(max-width:1500px){#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}.recon245-chart.ai{grid-column:1/-1}}
@media(max-width:1180px){#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar{flex-wrap:wrap!important}#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar .mfv20-filter-core{grid-template-columns:repeat(3,minmax(150px,1fr))!important;width:100%!important}#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{grid-template-columns:1fr!important}.recon245-brief-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.recon245-brief-grid article.wide{grid-column:span 2}.recon245-operational-grid{grid-template-columns:1fr}.recon245-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar .mfv20-filter-core{grid-template-columns:repeat(2,minmax(140px,1fr))!important}#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-insights{grid-template-columns:repeat(2,minmax(0,1fr))!important}.recon245-analytics{grid-template-columns:1fr}.recon245-chart.ai{grid-column:auto}.recon245-register .mfv11-find-tools{grid-template-columns:1fr!important}}
@media(max-width:680px){#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar .mfv20-filter-core,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-insights,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-brief-grid,#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-advanced-grid{grid-template-columns:1fr!important}.recon245-brief-grid article.wide{grid-column:auto}.recon245-context{grid-template-columns:1fr}.recon245-head-tools{justify-content:flex-start}}


/* ============================================================================
   V20.45.1 — RECONCILIATIONS HUB ROUTE-HOST ADAPTER
   Only the native reconciliation page content is hidden. Global shell remains
   untouched. This solves the missing #ledger-v127-root on the legacy route.
   ============================================================================ */
[data-recon245-route-target="true"]{
 position:relative!important;
 min-width:0!important;
 width:100%!important;
 max-width:100%!important;
 overflow-x:clip!important
}
[data-recon245-route-target="true"]>[data-recon245-native-content="hidden"]{
 display:none!important
}
[data-recon245-route-target="true"]>#ledger-v127-root.recon245-route-host{
 display:block!important;
 position:relative!important;
 inset:auto!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 min-height:calc(100vh - 96px)!important;
 margin:0!important;
 padding:0!important;
 overflow-x:clip!important;
 background:#FBFCFF!important;
 z-index:1!important
}
#ledger-v127-root.recon245-route-host[data-screen="reconciliations-hub"]{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 overflow-x:clip!important
}


/* ============================================================================
   V20.45.2 — Reconciliations Hub single-drawer ownership
   The legacy Global Visual Analytics trigger is retired for this page.
   The universal Matching & Fraud / Balance Sheet contextual drawer remains.
   ============================================================================ */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root [data-universal-chart="true"]{
 pointer-events:auto
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root .v18-chart-chip,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root [data-v18-launch],
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root [data-global-visual-analytics-trigger]{
 display:none!important
}


/* ============================================================================
   V20.45.3 — Reconciliations module horizontal navigation
   ============================================================================ */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav{
 width:100%;
 max-width:100%;
 min-width:0;
 min-height:48px;
 margin:0 0 10px;
 display:flex;
 align-items:stretch;
 justify-content:space-between;
 gap:8px;
 border:1px solid #E4E8F0;
 border-radius:12px;
 background:#FFF;
 box-shadow:0 1px 2px rgba(21,37,66,.025);
 overflow:hidden
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-scroll{
 flex:1 1 auto;
 min-width:0;
 display:flex;
 align-items:stretch;
 gap:2px;
 padding:6px;
 overflow-x:auto;
 overflow-y:hidden;
 overscroll-behavior-x:contain;
 scrollbar-width:thin;
 scrollbar-color:#C8D0DC transparent
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-scroll::-webkit-scrollbar{height:5px}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-scroll::-webkit-scrollbar-track{background:transparent}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-scroll::-webkit-scrollbar-thumb{background:#C8D0DC;border-radius:999px}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a{
 position:relative;
 flex:0 0 auto;
 min-width:108px;
 height:34px;
 padding:0 14px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 border:1px solid transparent;
 border-radius:8px;
 color:#596A82;
 background:transparent;
 text-decoration:none;
 white-space:nowrap;
 font:750 9.5px var(--r245-font);
 transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a:hover{
 border-color:#E3DFFF;
 background:#F8F6FF;
 color:#5D47D9
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a.active{
 border-color:#D7D0FF;
 background:#EFECFF;
 color:#5E45DB;
 box-shadow:inset 0 0 0 1px #E5E0FF
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a.active:after{
 content:"";
 position:absolute;
 left:12px;
 right:12px;
 bottom:-6px;
 height:2px;
 border-radius:999px;
 background:#6650E5
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-meta{
 flex:0 0 auto;
 display:flex;
 align-items:center;
 padding:0 12px;
 border-left:1px solid #EDF0F5;
 background:#FBFCFE
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-meta span{
 color:#8A96A8;
 font:700 8px var(--r245-font);
 white-space:nowrap
}
@media(max-width:1050px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-meta{display:none}
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a{min-width:104px}
}


/* ============================================================================
   V20.45.4 — Reconciliations compact contextual right panel
   Approved visual donor: Matching & Fraud Investigation right-side panel.
   This overrides ONLY the Reconciliations Hub contextual drawer.
   ============================================================================ */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer-host{
 position:relative;
 z-index:2147482500
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-backdrop{
 z-index:2147482501!important;
 background:rgba(23,34,55,.34)!important;
 backdrop-filter:blur(1.5px)
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer{
 position:fixed!important;
 top:0!important;
 right:0!important;
 bottom:0!important;
 left:auto!important;
 z-index:2147482502!important;
 width:clamp(340px,26vw,390px)!important;
 max-width:92vw!important;
 min-width:0!important;
 height:100vh!important;
 margin:0!important;
 display:flex!important;
 flex-direction:column!important;
 overflow:hidden!important;
 background:#F8FAFE!important;
 border-left:1px solid #DCE3EE!important;
 box-shadow:-14px 0 36px rgba(23,39,72,.16)!important;
 font-family:var(--r245-font,Inter,"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-head{
 min-height:44px!important;
 padding:0 10px 0 14px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:10px!important;
 background:linear-gradient(90deg,#34248B 0%,#5E28E6 100%)!important;
 color:#FFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-head span{
 display:block!important;
 font-size:10px!important;
 line-height:1!important;
 font-weight:800!important;
 letter-spacing:.01em!important;
 text-transform:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-head button{
 width:26px!important;
 height:26px!important;
 display:grid!important;
 place-items:center!important;
 border:0!important;
 border-radius:7px!important;
 background:rgba(255,255,255,.10)!important;
 color:#FFF!important;
 font-size:17px!important;
 line-height:1!important;
 cursor:pointer!important
}

/* Selected reconciliation strip */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-selected{
 display:grid!important;
 grid-template-columns:36px minmax(0,1fr) auto!important;
 gap:9px!important;
 align-items:center!important;
 padding:9px 12px 8px!important;
 background:#FFF!important;
 border-bottom:1px solid #E6EBF2!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-icon{
 width:34px!important;
 height:34px!important;
 display:grid!important;
 place-items:center!important;
 border-radius:50%!important;
 background:#5146EA!important;
 color:#FFF!important;
 font-size:12px!important;
 font-weight:900!important;
 box-shadow:0 4px 10px rgba(81,70,234,.18)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-selected h2{
 margin:0!important;
 color:#1D2D47!important;
 font-size:13px!important;
 line-height:1.2!important;
 font-weight:800!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-selected p{
 margin:3px 0 0!important;
 max-width:100%!important;
 color:#76869B!important;
 font-size:7.5px!important;
 line-height:1.35!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-risk{
 display:inline-flex!important;
 align-items:center!important;
 min-height:22px!important;
 padding:0 7px!important;
 border-radius:999px!important;
 font-size:7px!important;
 font-weight:850!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-risk.high{background:#FFF0F2!important;color:#D33E51!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-risk.medium{background:#FFF5E7!important;color:#B97110!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-risk.low{background:#ECF9F3!important;color:#16815D!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-risk.neutral{background:#F1F4F8!important;color:#66758A!important}

/* Universal tabs as the approved compact 3 / 4 / 3 rows. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:0!important;
 padding:7px 12px!important;
 background:#FFF!important;
 border-bottom:1px solid #E6EBF2!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button{
 height:27px!important;
 margin:0!important;
 border:1px solid #E2E7EF!important;
 border-right-width:0!important;
 background:#F8FAFD!important;
 color:#67778E!important;
 font-size:7.4px!important;
 line-height:1!important;
 font-weight:700!important;
 white-space:nowrap!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(1),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(2),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(3),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(8),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(9),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(10){
 flex:1 0 33.333%!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(4),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(5),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(6),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(7){
 flex:1 0 25%!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(3),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(7),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(10){
 border-right-width:1px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(1){border-radius:6px 0 0 0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(3){border-radius:0 6px 0 0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(8){border-radius:0 0 0 6px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button:nth-child(10){border-radius:0 0 6px 0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-tabs button.active{
 background:#F2EFFF!important;
 border-color:#D7D0FF!important;
 color:#6045DD!important;
 box-shadow:inset 0 -2px 0 #654CE0!important
}

/* Body */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body{
 flex:1 1 auto!important;
 min-height:0!important;
 padding:8px 12px 14px!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 background:#F8FAFE!important;
 scrollbar-width:thin!important;
 scrollbar-color:#C8D0DC transparent!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body::-webkit-scrollbar{width:6px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body::-webkit-scrollbar-thumb{background:#C8D0DC!important;border-radius:999px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-card{
 width:100%!important;
 min-width:0!important;
 margin:0 0 8px!important;
 padding:10px!important;
 border:1px solid #E3E8F1!important;
 border-radius:8px!important;
 background:#FFF!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-card h3{
 margin:0 0 8px!important;
 color:#263A61!important;
 font-size:9px!important;
 line-height:1.25!important;
 font-weight:850!important
}

/* Node Context mini-map */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-node-context svg{
 display:block!important;
 width:100%!important;
 height:auto!important;
 max-height:150px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-edge{fill:none;stroke:#97A6BB;stroke-width:1.15}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node{fill:#FFF;stroke:#D6DEEA;stroke-width:1}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node.selected{fill:#F7F5FF;stroke:#7157F3;stroke-width:1.45}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node-icon-bg{fill:#5046E5}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-match-bg{fill:#5C50E6}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-time-bg{fill:#F59B2A}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-var-bg{fill:#6C43D9}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-ex-bg{fill:#E34D5E}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node-icon,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-match-icon,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-output-icon{fill:#FFF;font:800 6px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node-title{fill:#263A61;font:800 6.6px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-node-sub{fill:#7D8AA0;font:600 5.6px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-mid-title{fill:#40516A;font:800 6px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-output-value{fill:#31435E;font:850 6.6px var(--r245-font)}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-output-label{fill:#7D8AA0;font:600 5.5px var(--r245-font)}

/* 2x3 Key Metrics */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:5px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics article{
 min-height:56px!important;
 padding:8px 5px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 border:1px solid #E7EBF2!important;
 border-radius:7px!important;
 background:#FFF!important;
 text-align:center!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics b{
 display:block!important;
 max-width:100%!important;
 color:#283B5B!important;
 font-size:10px!important;
 line-height:1.15!important;
 font-weight:850!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics span{
 display:block!important;
 margin-top:4px!important;
 color:#78879B!important;
 font-size:6.4px!important;
 line-height:1.2!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics article.good b{color:#169B67!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics article.bad b{color:#E14859!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics article.amber b{color:#E08718!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-metrics article.navy b{color:#263A61!important}

/* Summary */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-summary p{
 margin:0 0 7px!important;
 color:#5D6F88!important;
 font-size:7.3px!important;
 line-height:1.47!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-summary p:last-child{margin-bottom:0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-summary b{color:#2B3D5B!important}

/* Recommended actions */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div{
 display:grid!important;
 gap:2px!important;
 margin-bottom:8px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button{
 width:100%!important;
 min-height:29px!important;
 padding:4px 2px!important;
 display:grid!important;
 grid-template-columns:20px minmax(0,1fr) 14px!important;
 gap:5px!important;
 align-items:center!important;
 border:0!important;
 background:transparent!important;
 text-align:left!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button:hover{background:#F8F7FF!important;border-radius:6px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button i{
 width:18px!important;height:18px!important;display:grid!important;place-items:center!important;
 border-radius:50%!important;background:#F0EDFF!important;color:#674CE2!important;font-size:6.5px!important;font-style:normal!important;font-weight:850!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button b{
 display:block!important;color:#40516A!important;font-size:7.1px!important;line-height:1.25!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button small{
 display:block!important;margin-top:2px!important;color:#8995A6!important;font-size:6.1px!important;line-height:1.25!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-actions>div>button em{
 color:#7561E9!important;font-size:12px!important;font-style:normal!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-primary,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-ai{
 width:100%!important;
 height:31px!important;
 margin:4px 0 0!important;
 border-radius:6px!important;
 font-size:7.5px!important;
 font-weight:800!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-primary{
 border:1px solid #5E36E7!important;background:linear-gradient(90deg,#5A32DA,#7131F0)!important;color:#FFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-ai{
 border:1px solid #7A5AF3!important;background:#FFF!important;color:#5E42DF!important
}

/* Related items */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-related>button{
 width:100%!important;
 min-height:29px!important;
 padding:5px 3px!important;
 display:grid!important;
 grid-template-columns:20px minmax(0,1fr) 14px!important;
 gap:5px!important;
 align-items:center!important;
 border:0!important;
 border-bottom:1px solid #EEF1F5!important;
 background:transparent!important;
 text-align:left!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-related>button:last-child{border-bottom:0!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-related>button i{color:#6650E7!important;font-size:10px!important;font-style:normal!important;text-align:center!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-related>button span{color:#53667F!important;font-size:7px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-related>button em{color:#755FED!important;font-size:11px!important;font-style:normal!important}

/* Preserve print / PDF / export / report capabilities without bloating overview. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-utilities>div{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:6px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-drawer-utilities button{
 min-height:30px!important;
 border:1px solid #E1E6EE!important;
 border-radius:6px!important;
 background:#FFF!important;
 color:#53667F!important;
 font-size:7px!important;
 font-weight:750!important
}

/* Existing generic content rendered on non-Overview tabs must obey the compact drawer. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-drawer-card,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-driver-block,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-ai-placeholder,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-workflow,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-actions-list{
 margin:0 0 8px!important;
 border:1px solid #E3E8F1!important;
 border-radius:8px!important;
 background:#FFF!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-driver-grid{
 grid-template-columns:1fr!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-drawer-table{
 width:100%!important;
 max-width:100%!important;
 overflow-x:auto!important;
 border:1px solid #E3E8F1!important;
 border-radius:8px!important;
 background:#FFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-body .mfv20-drawer-table table{
 min-width:620px!important
}

@media(max-width:720px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer{
  width:92vw!important;
  max-width:92vw!important
 }
}


/* ============================================================================
   V20.45.5 — RECONCILIATIONS HUB
   Ledger Intelligence horizontal navigation + persistent 330px right rail.
   ============================================================================ */

/* ---- Horizontal navigation: exact Ledger Intelligence tab grammar ---- */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav{
 min-height:44px!important;
 width:100%!important;
 max-width:100%!important;
 margin:0 0 10px!important;
 display:flex!important;
 align-items:center!important;
 gap:2px!important;
 padding:0 10px!important;
 border:1px solid #E1E7F0!important;
 border-radius:9px!important;
 background:#FFF!important;
 box-shadow:none!important;
 overflow:hidden!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-tabset{
 min-width:0!important;
 display:flex!important;
 align-items:center!important;
 gap:2px!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:thin!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-tabset::-webkit-scrollbar{height:4px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-tabset::-webkit-scrollbar-thumb{background:#C7CFDB!important;border-radius:999px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a{
 position:relative!important;
 flex:0 0 auto!important;
 min-width:0!important;
 height:32px!important;
 padding:0 14px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 border:0!important;
 border-radius:5px!important;
 background:#FFF!important;
 color:#607188!important;
 text-decoration:none!important;
 white-space:nowrap!important;
 font:650 10.5px var(--r245-font)!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a:hover{
 background:#F7F5FF!important;
 color:#6245D7!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a.active{
 background:#F1EDFF!important;
 color:#6245D7!important;
 font-weight:800!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav a.active:after{display:none!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav>span{
 flex:1 1 auto!important;
 min-width:10px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav>small{
 flex:none!important;
 color:#8592A5!important;
 font:700 8px var(--r245-font)!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-meta,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav-scroll{
 display:none!important
}

/* ---- Main workspace geometry: same donor pattern as Ledger Intelligence ---- */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-main{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) 330px!important;
 gap:11px!important;
 align-items:start!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-center{
 min-width:0!important;
 width:100%!important;
 max-width:100%!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-center>.recon245-map{
 margin-top:0!important
}

/* ---- Approved persistent right-side investigation panel ---- */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
 width:330px!important;
 min-width:330px!important;
 max-width:330px!important;
 position:sticky!important;
 top:10px!important;
 align-self:start!important;
 z-index:2!important;
 display:block!important;
 margin:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-shell{
 width:100%!important;
 max-height:calc(100vh - 92px)!important;
 display:flex!important;
 flex-direction:column!important;
 overflow:hidden!important;
 border:1px solid #E1E7F0!important;
 border-radius:10px!important;
 background:#F8FAFE!important;
 box-shadow:0 3px 12px rgba(23,39,72,.055)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-head{
 min-height:76px!important;
 padding:12px!important;
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 gap:8px!important;
 align-items:start!important;
 background:linear-gradient(100deg,#34258A 0%,#602BE6 100%)!important;
 color:#FFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-head span:first-child{
 display:block!important;
 color:#D9D1FF!important;
 font-size:7px!important;
 line-height:1!important;
 font-weight:850!important;
 letter-spacing:.09em!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-head h2{
 margin:6px 0 0!important;
 color:#FFF!important;
 font-size:16px!important;
 line-height:1.15!important;
 font-weight:800!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-head p{
 margin:4px 0 0!important;
 max-width:210px!important;
 color:#D8D4F7!important;
 font-size:7.2px!important;
 line-height:1.35!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-head .recon245-context-risk{
 margin-top:18px!important;
 border:1px solid rgba(255,255,255,.15)!important
}

/* Right rail tabs: same universal 3 / 4 / 3 compact grammar */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:0!important;
 padding:7px 8px!important;
 background:#FFF!important;
 border-bottom:1px solid #E6EBF2!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button{
 height:26px!important;
 margin:0!important;
 border:1px solid #E2E7EF!important;
 border-right-width:0!important;
 background:#F8FAFD!important;
 color:#66768D!important;
 font:700 6.8px var(--r245-font)!important;
 cursor:pointer!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(1),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(2),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(3),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(8),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(9),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(10){flex:1 0 33.333%!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(4),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(5),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(6),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(7){flex:1 0 25%!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(3),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(7),
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button:nth-child(10){border-right-width:1px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-tabs button.active{
 background:#F1EDFF!important;
 border-color:#D8D0FF!important;
 color:#6045DD!important;
 box-shadow:inset 0 -2px 0 #654CE0!important
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-scroll{
 flex:1 1 auto!important;
 min-height:0!important;
 padding:8px!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 scrollbar-width:thin!important;
 scrollbar-color:#C7CFDB transparent!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-scroll::-webkit-scrollbar{width:5px!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-scroll::-webkit-scrollbar-thumb{background:#C7CFDB!important;border-radius:999px!important}

/* Shrink reused overview components just enough for the 330px rail. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-card{
 margin-bottom:7px!important;
 padding:8px!important;
 border-radius:8px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-card h3{
 margin-bottom:6px!important;
 font-size:8px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-node-context svg{
 max-height:128px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-metrics{
 gap:4px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-metrics article{
 min-height:51px!important;
 padding:6px 4px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-summary p{
 font-size:6.8px!important;
 line-height:1.42!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-actions>div>button{
 min-height:26px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-primary,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail .recon245-drawer-ai{
 height:29px!important
}

/* Do not render the obsolete in-row Investigation Brief card; the right rail
   is now the Investigation Brief / contextual action centre. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{
 display:block!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary>.recon245-brief{
 display:none!important
}

/* The page stays horizontally locked. On narrower screens the rail stacks
   below the main content rather than causing whole-page horizontal scroll. */
@media(max-width:1280px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-main{
  grid-template-columns:minmax(0,1fr)!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
  position:relative!important;
  top:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-shell{
  max-height:none!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-scroll{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav{
  padding-right:6px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav>small{
  display:none!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-rail-scroll{
  grid-template-columns:1fr!important
 }
}


/* ============================================================================
   V20.45.6 — Reconciliations Hub RIGHT-RAIL PLACEMENT FIX

   The application already reserves the far-right rail for AI Summary /
   Recommendations / Recent Activity. The Reconciliations investigation rail
   now occupies that exact far-right rail area. It is no longer a second column
   inside the central workspace.
   ============================================================================ */

/* Central content must use the full content width allocated by the application.
   Do NOT reserve another 330px inside the workspace. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-main{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-center{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important
}

/* Place persistent investigation panel over the application's dedicated
   far-right rail, directly below the LOCKED top navigation. Width/top are
   measured from the existing native rail; safe fallbacks are 315px / 56px. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail[data-recon245-placement="native-right-rail"]{
 position:fixed!important;
 top:var(--recon245-native-rail-top,56px)!important;
 right:0!important;
 bottom:0!important;
 left:auto!important;
 width:var(--recon245-native-rail-width,315px)!important;
 min-width:var(--recon245-native-rail-width,315px)!important;
 max-width:var(--recon245-native-rail-width,315px)!important;
 height:calc(100vh - var(--recon245-native-rail-top,56px))!important;
 margin:0!important;
 padding:0!important;
 align-self:auto!important;
 z-index:80!important;
 background:#F8FAFE!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail[data-recon245-placement="native-right-rail"] .recon245-rail-shell{
 width:100%!important;
 height:100%!important;
 max-height:none!important;
 min-height:0!important;
 border-top:0!important;
 border-right:0!important;
 border-bottom:0!important;
 border-radius:0!important;
 box-shadow:-4px 0 14px rgba(23,39,72,.05)!important
}

/* The old native AI Summary rail remains mounted by React, but the new
   Reconciliation rail is the visible owner of the same dedicated space.
   Hide its content only while the Reconciliation Hub route is active. */
html:has(#ledger-v127-root[data-screen="reconciliations-hub"])
[data-recon245-native-rail="true"]{
 visibility:hidden!important;
 pointer-events:none!important
}

/* Keep the locked Top Navigation above the persistent rail. Contextual overlay
   drawer still has a much higher z-index and therefore opens above this rail. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer-host{
 z-index:2147482500!important
}

/* V20.45.5 responsive "stack below center" rule is retired for desktop/laptop
   because that was the placement defect. Only on genuinely small screens do we
   fall back to a normal in-flow rail. */
@media(max-width:820px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail[data-recon245-placement="native-right-rail"]{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  margin-top:10px!important;
  z-index:2!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail[data-recon245-placement="native-right-rail"] .recon245-rail-shell{
  height:auto!important;
  max-height:none!important;
  border:1px solid #E1E7F0!important;
  border-radius:10px!important
 }
 html:has(#ledger-v127-root[data-screen="reconciliations-hub"])
 [data-recon245-native-rail="true"]{
  visibility:visible!important;
  pointer-events:auto!important
 }
}


/* ============================================================================
   V20.45.7 — Reconciliations Hub LOCKED-SHELL restoration

   User-requested corrections:
   - remove the far-right investigation panel completely
   - restore the initial in-page Investigation Brief card
   - keep the application shell locked (no new shell overrides)
   - use the Accounting > Balance Sheet page order/anatomy again
   ============================================================================ */

/* The route returns to a single content stream like the approved donor order. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-main{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-center{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important
}

/* Restore the inline Investigation Brief that belongs beside the main visual. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{
 display:grid!important;
 grid-template-columns:minmax(0,2.15fr) minmax(290px,.85fr)!important;
 align-items:stretch!important;
 gap:12px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary>.recon245-brief{
 display:flex!important;
 flex-direction:column!important
}

/* Remove the persistent/custom right rail entirely. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important;
 width:0!important;
 min-width:0!important;
 max-width:0!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 overflow:hidden!important
}

/* Remove the native far-right AI summary rail on this route as requested.
   recon245AdapterTick already tags it with data-recon245-native-rail="true". */
html:has(#ledger-v127-root[data-screen="reconciliations-hub"])
[data-recon245-native-rail="true"]{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important
}

/* The in-page brief is again the investigation companion surface. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary>.recon245-brief .recon245-brief-action{
 margin-top:auto!important
}

/* Keep only the contextual drawer as the drill-down surface. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer-host{
 z-index:2147482500!important
}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{
  grid-template-columns:1fr!important
 }
}


/* ============================================================================
   V20.45.8 — RECONCILIATIONS HERO RESTORATION
   Donor: established Ledger Intelligence hero geometry / brand grammar.
   ============================================================================ */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 min-height:224px!important;
 margin:0 0 12px!important;
 padding:18px 22px 20px!important;
 border:1px solid rgba(73,71,170,.34)!important;
 border-radius:18px!important;
 background:linear-gradient(108deg,#12336F 0%,#173172 43%,#44238F 100%)!important;
 box-shadow:0 10px 28px rgba(28,36,92,.12)!important;
 color:#FFF!important;
 overflow:hidden!important;
 position:relative!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero:after{
 content:""!important;
 position:absolute!important;
 width:360px!important;
 height:360px!important;
 right:-145px!important;
 bottom:-245px!important;
 border-radius:50%!important;
 background:radial-gradient(circle,rgba(159,128,255,.16),rgba(159,128,255,0) 68%)!important;
 pointer-events:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-top{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:12px!important;
 margin-bottom:10px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges{
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 gap:6px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges span,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
 min-height:22px!important;
 padding:3px 9px!important;
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important;
 border:1px solid rgba(255,255,255,.18)!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.08)!important;
 color:#D9E2FF!important;
 font:800 9px/1 var(--r245-font)!important;
 letter-spacing:.04em!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges i{
 width:9px!important;
 height:9px!important;
 border-radius:50%!important;
 background:#C69BFF!important;
 box-shadow:0 0 0 2px rgba(255,255,255,.06)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops i{background:#7FBEFF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls i{background:#77E7A5!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls{color:#8BF0B2!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops{color:#93C9FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ai{color:#D6B5FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status.preview{
 color:#D7D5EA!important;
 background:rgba(255,255,255,.06)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status.live{
 color:#9BF0BE!important;
 border-color:rgba(117,231,165,.30)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-main{
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:20px!important;
 min-width:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy{
 min-width:0!important;
 flex:1 1 auto!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1{
 margin:0!important;
 color:#FFF!important;
 font:800 25px/1.15 var(--r245-font)!important;
 letter-spacing:-.025em!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1 span{
 color:#86B2FF!important;
 margin-right:2px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy p{
 margin:5px 0 0!important;
 max-width:760px!important;
 color:#B8C5E3!important;
 font:500 13px/1.45 var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools{
 flex:0 0 auto!important;
 display:flex!important;
 align-items:flex-end!important;
 gap:6px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools label{
 display:grid!important;
 gap:3px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools label>span{
 color:#C2CBE4!important;
 font:750 7px/1 var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools select,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools button{
 height:32px!important;
 border:1px solid rgba(255,255,255,.20)!important;
 border-radius:7px!important;
 background:rgba(255,255,255,.10)!important;
 color:#FFF!important;
 font:750 8px var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools select{
 min-width:205px!important;
 padding:0 26px 0 9px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools select option{
 color:#1E2D46!important;
 background:#FFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools button{
 padding:0 10px!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools button:hover{
 background:rgba(255,255,255,.16)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
 position:relative!important;
 z-index:1!important;
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,178px))!important;
 gap:12px!important;
 margin-top:15px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article{
 min-height:88px!important;
 padding:12px 14px!important;
 border:1px solid rgba(221,227,239,.92)!important;
 border-radius:13px!important;
 background:#FFF!important;
 box-shadow:0 7px 16px rgba(10,27,66,.09)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards span{
 display:block!important;
 color:#8A95A7!important;
 font:800 7.5px/1.2 var(--r245-font)!important;
 letter-spacing:.07em!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards b{
 display:block!important;
 margin-top:6px!important;
 color:#20324B!important;
 font:850 17px/1.12 var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards small{
 display:block!important;
 margin-top:6px!important;
 color:#A0AABB!important;
 font:600 7.5px/1.3 var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.blue{border-left:3px solid #5E80F2!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.teal{border-left:3px solid #2DB89A!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.red{border-left:3px solid #EB6472!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.purple{border-left:3px solid #765AE7!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.green{border-left:3px solid #35B879!important}

/* V20.45.8 — restore the native far-right AI rail.
   The previous V20.45.6/7 rail suppression is no longer active because the
   route adapter no longer tags the native rail. This final guard also ensures
   a stale marker from a same-tab previous build cannot keep it hidden. */
html:has(#ledger-v127-root[data-screen="reconciliations-hub"])
[data-recon245-native-rail="true"]{
 display:block!important;
 visibility:visible!important;
 pointer-events:auto!important
}

/* Custom persistent reconciliation right rail stays retired. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important
}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-main{
  display:grid!important;
  grid-template-columns:1fr!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools{
  justify-content:flex-start!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
  grid-template-columns:repeat(5,minmax(145px,1fr))!important;
  overflow-x:auto!important;
  padding-bottom:2px!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero{
  padding:15px!important;
  border-radius:14px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-top{
  align-items:flex-start!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
  display:none!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools{
  display:grid!important;
  grid-template-columns:1fr 1fr!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools label{
  grid-column:1/-1!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-tools select{
  width:100%!important
 }
}


/* ============================================================================
   V20.45.9 — UNIVERSAL PAGE HERO GEOMETRY STANDARD
   Geometry donor/source of truth: Reports `mfv20-pagehead`.
   Applies common geometry only; page-specific content remains page-specific.
   ============================================================================ */

#ledger-v127-root .mfv20-pagehead{
 min-height:0!important;
 width:100%!important;
 max-width:100%!important;
 margin:0!important;
 padding:4px 2px 14px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:24px!important;
 border-bottom:1px solid var(--mf20-line,#E5EAF1)!important;
 box-sizing:border-box!important
}

/* Reconciliations now consumes the Reports hero/pagehead component directly. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head{
 min-height:0!important;
 height:auto!important;
 padding:4px 2px 14px!important;
 margin:0!important;
 border-radius:0!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views{
 display:flex!important;
 align-items:flex-end!important;
 justify-content:flex-end!important;
 gap:7px!important;
 flex-wrap:wrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views label{
 display:grid!important;
 gap:3px!important;
 min-width:0!important;
 color:#8290A4!important;
 font-size:8px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views select,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views button{
 min-height:31px!important;
 height:31px!important;
 border:1px solid #E3E8F1!important;
 border-radius:8px!important;
 background:#FFF!important;
 color:#4F5F78!important;
 padding:0 9px!important;
 font:750 9px var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views select{
 min-width:210px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-status{
 min-height:31px!important;
 padding:0 9px!important;
 display:inline-flex!important;
 align-items:center!important;
 align-self:flex-end!important;
 border:1px solid #E3E8F1!important;
 border-radius:8px!important;
 background:#FFF!important;
 color:#718097!important;
 font:800 8px var(--r245-font)!important;
 font-style:normal!important;
 letter-spacing:.03em!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-status.preview{
 border-color:#F0D49C!important;
 background:#FFF9EC!important;
 color:#A66C18!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-status.live{
 border-color:#BFE7D5!important;
 background:#EFF9F5!important;
 color:#177E5D!important
}

/* The oversized V20.45.8 Reconciliations-only hero is retired. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero{
 display:none!important
}

/* Persistent custom reconciliation rail remains retired.
   Native application AI rail remains untouched/restored. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important
}

@media(max-width:900px){
 #ledger-v127-root .mfv20-pagehead{
  display:block!important
 }
 #ledger-v127-root .mfv20-pagehead .mfv20-head-right{
  justify-items:start!important;
  margin-top:12px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views{
  justify-content:flex-start!important
 }
}
@media(max-width:680px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  width:100%!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views label{
  grid-column:1/-1!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-standard-views select{
  width:100%!important;
  min-width:0!important
 }
}


/* ============================================================================
   V20.45.10 — UNIVERSAL HERO: RESTORED, STANDARD SIZE

   Permanent rule:
   Hero presence is mandatory where the established InSolutions page family
   uses a hero. Page-specific content may change, geometry may not.

   Standard desktop geometry:
   - 190px hero height
   - 16px radius
   - 14px 20px padding
   - 75px KPI/widget height
   ============================================================================ */
:root{
 --ins-page-hero-height:190px;
 --ins-page-hero-radius:16px;
 --ins-page-hero-pad-y:14px;
 --ins-page-hero-pad-x:20px;
 --ins-page-hero-widget-height:75px;
 --ins-page-hero-gap:10px
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
 display:block!important;
 position:relative!important;
 width:100%!important;
 max-width:100%!important;
 height:var(--ins-page-hero-height)!important;
 min-height:var(--ins-page-hero-height)!important;
 max-height:var(--ins-page-hero-height)!important;
 margin:0 0 12px!important;
 padding:var(--ins-page-hero-pad-y) var(--ins-page-hero-pad-x)!important;
 border:1px solid rgba(82,77,170,.36)!important;
 border-radius:var(--ins-page-hero-radius)!important;
 background:linear-gradient(108deg,#12336F 0%,#183374 44%,#452493 100%)!important;
 box-shadow:0 7px 20px rgba(25,39,87,.10)!important;
 color:#FFF!important;
 overflow:hidden!important;
 box-sizing:border-box!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero:after{
 content:""!important;
 position:absolute!important;
 width:320px!important;
 height:320px!important;
 right:-120px!important;
 bottom:-236px!important;
 border-radius:50%!important;
 background:radial-gradient(circle,rgba(159,128,255,.17),rgba(159,128,255,0) 68%)!important;
 pointer-events:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-top{
 position:relative!important;
 z-index:1!important;
 min-height:20px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:10px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges{
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 gap:5px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges span,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
 height:20px!important;
 padding:0 8px!important;
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important;
 border:1px solid rgba(255,255,255,.18)!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.08)!important;
 color:#DDE5FF!important;
 font:800 8px/1 var(--r245-font)!important;
 letter-spacing:.035em!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges i{
 width:8px!important;
 height:8px!important;
 border-radius:50%!important;
 background:#C59AFF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops{color:#9DD0FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops i{background:#7EBFFF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls{color:#8EF1B4!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls i{background:#75E6A5!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ai{color:#DDBBFF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status.preview{color:#D5D5E5!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status.live{
 color:#9CEFBF!important;
 border-color:rgba(117,230,165,.3)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy{
 position:relative!important;
 z-index:1!important;
 margin-top:7px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1{
 margin:0!important;
 color:#FFF!important;
 font:800 22px/1.1 var(--r245-font)!important;
 letter-spacing:-.025em!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1 span{
 color:#87B4FF!important;
 margin-right:2px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy p{
 margin:4px 0 0!important;
 max-width:840px!important;
 color:#BAC7E5!important;
 font:500 10.5px/1.35 var(--r245-font)!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
 position:absolute!important;
 z-index:1!important;
 left:var(--ins-page-hero-pad-x)!important;
 right:var(--ins-page-hero-pad-x)!important;
 bottom:14px!important;
 display:grid!important;
 grid-template-columns:repeat(5,minmax(0,178px))!important;
 gap:var(--ins-page-hero-gap)!important;
 justify-content:start!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article{
 height:var(--ins-page-hero-widget-height)!important;
 min-height:var(--ins-page-hero-widget-height)!important;
 padding:9px 11px!important;
 border:1px solid rgba(225,230,240,.96)!important;
 border-radius:11px!important;
 background:#FFF!important;
 box-shadow:0 5px 13px rgba(10,27,66,.08)!important;
 overflow:hidden!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards span{
 display:block!important;
 color:#8A95A7!important;
 font:800 6.8px/1.15 var(--r245-font)!important;
 letter-spacing:.065em!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards b{
 display:block!important;
 margin-top:5px!important;
 color:#20324B!important;
 font:850 15px/1.05 var(--r245-font)!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards small{
 display:block!important;
 margin-top:5px!important;
 color:#9AA5B6!important;
 font:600 6.8px/1.2 var(--r245-font)!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.blue{border-left:3px solid #5D80F1!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.teal{border-left:3px solid #2AB89A!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.red{border-left:3px solid #EB6271!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.amber{border-left:3px solid #E9A13A!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article.purple{border-left:3px solid #7458E7!important}

/* Do not render the compact pagehead as a substitute for the hero. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head{
 display:none!important
}

/* Keep the custom persistent right rail retired and preserve the native rail. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-right-rail{
 display:none!important;
 visibility:hidden!important;
 pointer-events:none!important
}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
  overflow-x:auto!important;
  grid-template-columns:repeat(5,160px)!important;
  padding-bottom:1px!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  height:auto!important;
  min-height:190px!important;
  max-height:none!important;
  padding:13px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
  display:none!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  margin-top:12px!important
 }
}


/* ============================================================================
   V20.45.10 — REPORTS HERO EXACT GEOMETRY ALIGNMENT
   Scope: Reconciliations Hub HERO + immediately following module navigation only.
   Body, filters, scope, KPI row, investigation workspace, native AI rail,
   contextual drawer and all other pages remain unchanged.

   Exact donor contract:
   1. same top offset below locked top bar
   2. same page gutter
   3. same hero inset
   4. same 232px height
   5. same 18px radius
   6. same nav alignment
   7. same dark navy → purple gradient
   8. same 5 compact KPI cards
   9. same 178 × 89px KPI card size
   10. same 14px card gap
   11. same badge density and positioning
   ============================================================================ */

:root{
 --ins-report-donor-top-offset:35px;
 --ins-report-donor-page-gutter:18px;
 --ins-report-donor-hero-inset:16px;
 --ins-report-donor-hero-height:232px;
 --ins-report-donor-hero-radius:18px;
 --ins-report-donor-hero-pad-x:24px;
 --ins-report-donor-card-width:178px;
 --ins-report-donor-card-height:89px;
 --ins-report-donor-card-gap:14px;
}

/* 1 + 2: reports top offset and page gutter.
   Apply as margin to the first hero rather than changing locked shell geometry. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
 padding-top:var(--ins-report-donor-top-offset)!important;
 padding-left:var(--ins-report-donor-page-gutter)!important;
 padding-right:var(--ins-report-donor-page-gutter)!important;
 box-sizing:border-box!important;
}

/* 3–5 + 7: exact Reports hero inset, size, radius and gradient. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
 display:block!important;
 position:relative!important;
 box-sizing:border-box!important;
 width:calc(100% - (var(--ins-report-donor-hero-inset) * 2))!important;
 max-width:calc(100% - (var(--ins-report-donor-hero-inset) * 2))!important;
 min-width:0!important;
 height:var(--ins-report-donor-hero-height)!important;
 min-height:var(--ins-report-donor-hero-height)!important;
 max-height:var(--ins-report-donor-hero-height)!important;
 margin:
  0
  var(--ins-report-donor-hero-inset)
  14px!important;
 padding:18px var(--ins-report-donor-hero-pad-x)!important;
 border:0!important;
 border-radius:var(--ins-report-donor-hero-radius)!important;
 background:linear-gradient(104deg,#102B60 0%,#173573 46%,#4E1F97 100%)!important;
 box-shadow:none!important;
 overflow:hidden!important;
 color:#FFF!important;
}

/* Reports subtle decorative wash. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero:after{
 content:""!important;
 position:absolute!important;
 width:360px!important;
 height:360px!important;
 right:-142px!important;
 bottom:-268px!important;
 border-radius:50%!important;
 background:radial-gradient(circle,rgba(145,105,235,.12),rgba(145,105,235,0) 69%)!important;
 pointer-events:none!important;
}

/* 11: exact badge density / positioning. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-top{
 position:relative!important;
 z-index:2!important;
 height:23px!important;
 min-height:23px!important;
 margin:0!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges{
 display:flex!important;
 align-items:center!important;
 flex-wrap:nowrap!important;
 gap:7px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges span,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
 box-sizing:border-box!important;
 height:22px!important;
 min-height:22px!important;
 padding:0 9px!important;
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important;
 border:1px solid rgba(255,255,255,.20)!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.07)!important;
 font:800 9px/1 var(--r245-font)!important;
 letter-spacing:.03em!important;
 white-space:nowrap!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges i{
 width:10px!important;
 height:10px!important;
 border-radius:50%!important;
 box-shadow:none!important;
 flex:none!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ai{color:#D9B7FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ai i{background:#C58CF7!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops{color:#9BCBFF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .ops i{background:#7EBBFA!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .rules{color:#FFD457!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .rules i{background:#F8C943!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls{color:#82EDAF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges .controls i{background:#6CE39D!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
 color:#AAA6C8!important;
 font-size:8.5px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status.live{color:#8CECB5!important}

/* Reports donor title/subtitle positioning. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy{
 position:relative!important;
 z-index:2!important;
 min-width:0!important;
 margin-top:9px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1{
 margin:0!important;
 color:#FFF!important;
 font:800 23px/1.08 var(--r245-font)!important;
 letter-spacing:-.025em!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1 span{
 color:#86B4FF!important;
 margin-right:2px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy p{
 margin:5px 0 0!important;
 max-width:920px!important;
 color:#9DACCC!important;
 font:500 11.5px/1.35 var(--r245-font)!important;
}

/* 8–10: exact 5-card Reports geometry. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
 position:absolute!important;
 z-index:2!important;
 left:var(--ins-report-donor-hero-pad-x)!important;
 right:auto!important;
 bottom:18px!important;
 margin:0!important;
 padding:0!important;
 display:flex!important;
 align-items:stretch!important;
 gap:var(--ins-report-donor-card-gap)!important;
 overflow:visible!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article{
 box-sizing:border-box!important;
 flex:0 0 var(--ins-report-donor-card-width)!important;
 width:var(--ins-report-donor-card-width)!important;
 min-width:var(--ins-report-donor-card-width)!important;
 max-width:var(--ins-report-donor-card-width)!important;
 height:var(--ins-report-donor-card-height)!important;
 min-height:var(--ins-report-donor-card-height)!important;
 max-height:var(--ins-report-donor-card-height)!important;
 padding:13px!important;
 border:1px solid #E7EBF2!important;
 border-left-width:1px!important;
 border-radius:12px!important;
 background:#FFF!important;
 box-shadow:none!important;
 overflow:hidden!important;
}

/* 6: module navigation aligns with the Reports donor page gutter.
   No tab labels, destinations or interaction are changed. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-module-nav{
 width:100%!important;
 max-width:100%!important;
 margin-left:0!important;
 margin-right:0!important;
 box-sizing:border-box!important;
}

/* Hero-only responsive behavior. No body/layout changes. */
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
  padding-top:24px!important;
  padding-left:12px!important;
  padding-right:12px!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  width:calc(100% - 16px)!important;
  max-width:calc(100% - 16px)!important;
  margin-left:8px!important;
  margin-right:8px!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
  max-width:calc(100% - 48px)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-bottom:2px!important;
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
  padding-top:14px!important;
  padding-left:8px!important;
  padding-right:8px!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:232px!important;
  max-height:none!important;
  margin:0 0 12px!important;
  padding:14px!important;
  border-radius:14px!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
  display:none!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges{
  overflow-x:auto!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  margin-top:14px!important;
  max-width:100%!important;
 }
}


/* ============================================================================
   HERO COMPACT REFINEMENT — 20% HEIGHT REDUCTION
   Base: V20.45.10 Reports Hero Exact Geometry
   Scope: Reconciliations Hub hero only.

   Required invariants preserved:
   - 5 KPI cards
   - KPI card size: 178 x 89px
   - KPI card gap: 14px

   Correction:
   - Hero height reduced 20%: 232px -> 186px
   - Remove extra page-level top/left/right spacing from previous patch
     so the native application shell/grid supplies the outer spacing.
   ============================================================================ */

:root{
 --ins-report-donor-hero-height-compact:186px;
}

/* Reuse native shell spacing: remove the extra root padding added previously. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
 padding-top:0!important;
 padding-left:0!important;
 padding-right:0!important;
}

/* 20% shorter hero while keeping card geometry unchanged. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
 height:var(--ins-report-donor-hero-height-compact)!important;
 min-height:var(--ins-report-donor-hero-height-compact)!important;
 max-height:var(--ins-report-donor-hero-height-compact)!important;

 /* Native page grid already provides the outer gutter/inset. */
 width:100%!important;
 max-width:100%!important;
 margin:12px 0 14px!important;

 /* Compact vertical padding only; horizontal donor padding retained. */
 padding:12px var(--ins-report-donor-hero-pad-x)!important;
}

/* Tighten vertical stack so the fixed 89px KPI cards fit cleanly. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-top{
 height:20px!important;
 min-height:20px!important;
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-badges span,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-status{
 height:20px!important;
 min-height:20px!important;
 padding:0 8px!important;
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy{
 margin-top:5px!important;
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy h1{
 font-size:21px!important;
 line-height:1.05!important;
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-copy p{
 margin-top:3px!important;
 font-size:10.5px!important;
 line-height:1.25!important;
}

/* Keep the exact requested KPI geometry. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
 left:var(--ins-report-donor-hero-pad-x)!important;
 bottom:10px!important;
 gap:14px!important;
}

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article{
 flex:0 0 178px!important;
 width:178px!important;
 min-width:178px!important;
 max-width:178px!important;
 height:89px!important;
 min-height:89px!important;
 max-height:89px!important;
}

/* Responsive behavior: preserve the compact desktop geometry, then allow
   natural height only at phone widths. */
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
  padding-top:0!important;
  padding-left:0!important;
  padding-right:0!important;
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
 }
}

@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  height:auto!important;
  min-height:186px!important;
  max-height:none!important;
  margin:10px 0 12px!important;
 }
}


/* ============================================================================
   V20.45.10.1 — HERO GAP + COMPACT KPI + DRAWER INTERACTION FIX
   ============================================================================ */

/* The application shell already supplies the page canvas.
   Add only the donor hero inset, not another page/root gutter. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-root{
 padding-top:0!important;
 padding-left:0!important;
 padding-right:0!important;
}

/* Restore the visible breathing space highlighted by the user:
   the hero sits inside the content canvas instead of touching the left edge. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
 width:calc(100% - 32px)!important;
 max-width:calc(100% - 32px)!important;
 margin:12px 16px 14px!important;
 height:186px!important;
 min-height:186px!important;
 max-height:186px!important;
}

/* Keep five cards and the 14px donor gap, but make the cards visibly more
   compact than the prior 178 x 89 treatment. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards{
 gap:14px!important;
 bottom:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article{
 flex:0 0 160px!important;
 width:160px!important;
 min-width:160px!important;
 max-width:160px!important;
 height:78px!important;
 min-height:78px!important;
 max-height:78px!important;
 padding:10px 11px!important;
}

/* Slightly compact internal hero-card typography only. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards article>div>span{
 font-size:6.6px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards b{
 font-size:14px!important;
 margin-top:3px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero-cards small{
 font-size:6.5px!important;
 margin-top:4px!important;
}

/* Drawer remains a single overlay surface and must accept interaction.
   Outside click is still handled by the universal document owner. */
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-drawer{
 pointer-events:auto!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-context-backdrop{
 pointer-events:auto!important;
}

/* Responsive: keep the donor inset until phone width. */
@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  width:calc(100% - 24px)!important;
  max-width:calc(100% - 24px)!important;
  margin-left:12px!important;
  margin-right:12px!important;
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-hero.ins-standard-page-hero{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:186px!important;
  max-height:none!important;
  margin:10px 0 12px!important;
 }
}


/* ============================================================================
   V20.47 — BANK RECONCILIATION SHELL ONLY
   Accounting > Balance Sheet donor. Central Workspace intentionally absent.
   ============================================================================ */
[data-br47-native-content="hidden"]{display:none!important}
[data-br47-route-target="true"]{min-width:0!important;overflow:visible!important}

#ledger-v127-root[data-screen="bank-reconciliation"]{
 width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-root{
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;overflow-x:hidden!important;box-sizing:border-box!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav{
 width:100%!important;min-width:0!important;height:52px!important;margin:0 0 12px!important;padding:0 10px!important;
 display:flex!important;align-items:center!important;gap:4px!important;border:1px solid #E5E9F1!important;border-radius:11px!important;
 background:#FFF!important;overflow-x:auto!important;overflow-y:hidden!important;box-sizing:border-box!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav a{
 flex:none!important;height:34px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 border-radius:7px!important;color:#69778D!important;text-decoration:none!important;font:750 10px/1 Inter,system-ui,sans-serif!important;white-space:nowrap!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav a.active{
 background:#F1EDFF!important;color:#6245D7!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-filterbar .mfv20-filter-core{
 grid-template-columns:repeat(5,minmax(0,1fr))!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-glance{
 grid-template-columns:repeat(6,minmax(0,1fr))!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-kpi{cursor:default!important}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-lens>button.active{
 border-color:#CFC4FF!important;background:#F2EFFF!important;color:#5E43D7!important;box-shadow:inset 0 0 0 1px #DDD6FF!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-lens{margin-bottom:0!important}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="bank-reconciliation"] .br47-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 #ledger-v127-root[data-screen="bank-reconciliation"] .br47-glance{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="bank-reconciliation"] .br47-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="bank-reconciliation"] .br47-glance{
  grid-template-columns:1fr!important
 }
}


/* ============================================================================
   V20.47.1 — SAFE RECONCILIATION SUBVIEW NAVIGATION
   Uses only the known authenticated `/a/reconciliation-hub` server route.
   ============================================================================ */
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav a[data-br47-state="pending"]{
 color:#93A0B3!important
}
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav a[data-br47-state="pending"]:after{
 content:"·"!important;
 margin-left:5px!important;
 color:#C4CBD6!important
}


/* ============================================================================
   V20.47.2 — GLOBAL RECONCILIATION NAVIGATION SAFETY
   ============================================================================ */
#ledger-v127-root .recon245-module-nav a[data-nav-state="pending"],
#ledger-v127-root[data-screen="bank-reconciliation"] .br47-module-nav a[data-br47-state="pending"]{
 color:#93A0B3!important
}


/* ============================================================================
   V20.47.3 — ZERO-NAVIGATION RECONCILIATION SUBVIEWS
   ============================================================================ */

/* Hub tabs are now buttons, not links. Keep identical visual grammar. */
#ledger-v127-root .recon245-module-nav .recon245-module-tabset>button{
 appearance:none!important;
 -webkit-appearance:none!important;
 border:0!important;
 background:transparent!important;
 font:inherit!important;
 cursor:pointer!important;
}
#ledger-v127-root .recon245-module-nav .recon245-module-tabset>button.active{
 background:#F1EDFF!important;
 color:#6245D7!important;
}

/* Bank shell now renders inside the existing reconciliations-hub screen. */
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-root{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow-x:hidden!important;
 box-sizing:border-box!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-module-nav{
 width:100%!important;
 min-width:0!important;
 height:52px!important;
 margin:0 0 12px!important;
 padding:0 10px!important;
 display:flex!important;
 align-items:center!important;
 gap:4px!important;
 border:1px solid #E5E9F1!important;
 border-radius:11px!important;
 background:#FFF!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 box-sizing:border-box!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-module-nav>button{
 appearance:none!important;
 -webkit-appearance:none!important;
 flex:none!important;
 height:34px!important;
 padding:0 14px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 border:0!important;
 border-radius:7px!important;
 background:transparent!important;
 color:#69778D!important;
 font:750 10px/1 Inter,system-ui,sans-serif!important;
 white-space:nowrap!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-module-nav>button.active{
 background:#F1EDFF!important;
 color:#6245D7!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-filterbar .mfv20-filter-core{
 grid-template-columns:repeat(5,minmax(0,1fr))!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-glance{
 grid-template-columns:repeat(6,minmax(0,1fr))!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-lens>button.active{
 border-color:#CFC4FF!important;
 background:#F2EFFF!important;
 color:#5E43D7!important;
 box-shadow:inset 0 0 0 1px #DDD6FF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br47-lens{
 margin-bottom:0!important
}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .br47-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .br47-glance{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .br47-filterbar .mfv20-filter-core,
 #ledger-v127-root[data-screen="reconciliations-hub"] .br47-glance{
  grid-template-columns:1fr!important
 }
}


/* ============================================================================
   V20.47.4 — BANK RECONCILIATION FULL SHELL ONLY
   Accounting -> Balance Sheet shell donor.
   No Central Workspace.
   ============================================================================ */

#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root{
 box-sizing:border-box!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 padding:0 2px 28px!important;
 margin:0!important;
 background:#fbfcff!important;
 color:#17233d!important;
 font-family:Inter,"IBM Plex Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
 overflow-x:hidden!important
}

/* Shell hero: same module-level geometry language as the locked InSolutions
   application shell. It is the only content above the horizontal nav. */
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-hero{
 position:relative!important;
 box-sizing:border-box!important;
 width:calc(100% - 32px)!important;
 max-width:calc(100% - 32px)!important;
 min-width:0!important;
 height:232px!important;
 min-height:232px!important;
 max-height:232px!important;
 margin:34px 16px 14px!important;
 padding:18px 24px!important;
 border:0!important;
 border-radius:18px!important;
 background:linear-gradient(104deg,#102B60 0%,#173573 46%,#4E1F97 100%)!important;
 color:#fff!important;
 overflow:hidden!important;
 box-shadow:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-hero:after{
 content:""!important;
 position:absolute!important;
 width:360px!important;
 height:360px!important;
 right:-142px!important;
 bottom:-268px!important;
 border-radius:50%!important;
 background:radial-gradient(circle,rgba(145,105,235,.12),rgba(145,105,235,0) 69%)!important;
 pointer-events:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-hero-top{
 position:relative!important;
 z-index:2!important;
 height:23px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:10px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges{
 display:flex!important;
 align-items:center!important;
 gap:7px!important;
 flex-wrap:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges span,
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-status{
 height:22px!important;
 padding:0 9px!important;
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important;
 border:1px solid rgba(255,255,255,.20)!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.07)!important;
 font:800 9px/1 Inter,system-ui,sans-serif!important;
 letter-spacing:.03em!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges i{
 width:10px!important;
 height:10px!important;
 border-radius:50%!important;
 flex:none!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .ai{color:#D9B7FF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .ai i{background:#C58CF7!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .ops{color:#9BCBFF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .ops i{background:#7EBBFA!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .bank{color:#FFD457!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .bank i{background:#F8C943!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .controls{color:#82EDAF!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-badges .controls i{background:#6CE39D!important}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-status{
 color:#C4C4DD!important;
 font-size:8.5px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-copy{
 position:relative!important;
 z-index:2!important;
 margin-top:9px!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-copy h1{
 margin:0!important;
 color:#fff!important;
 font:800 23px/1.08 Inter,system-ui,sans-serif!important;
 letter-spacing:-.025em!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-copy h1 span{
 color:#86B4FF!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-copy p{
 margin:5px 0 0!important;
 max-width:900px!important;
 color:#9DACCC!important;
 font:500 11.5px/1.35 Inter,system-ui,sans-serif!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis{
 position:absolute!important;
 z-index:2!important;
 left:24px!important;
 bottom:18px!important;
 display:flex!important;
 align-items:stretch!important;
 gap:14px!important;
 margin:0!important;
 padding:0!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis article{
 box-sizing:border-box!important;
 flex:0 0 178px!important;
 width:178px!important;
 min-width:178px!important;
 max-width:178px!important;
 height:89px!important;
 min-height:89px!important;
 max-height:89px!important;
 padding:13px!important;
 border:1px solid #E7EBF2!important;
 border-radius:12px!important;
 background:#fff!important;
 color:#21324C!important;
 overflow:hidden!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis article>span{
 display:block!important;
 color:#9AA4B5!important;
 font:800 7px/1.15 Inter,system-ui,sans-serif!important;
 letter-spacing:.06em!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis article>b{
 display:block!important;
 margin-top:8px!important;
 color:#21324C!important;
 font:850 17px/1.05 Inter,system-ui,sans-serif!important;
 white-space:nowrap!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis article>small{
 display:block!important;
 margin-top:7px!important;
 color:#A1ABBA!important;
 font:600 6.8px/1.15 Inter,system-ui,sans-serif!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important
}

/* Horizontal Reconciliations navigation: shell component only. */
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-module-nav{
 width:calc(100% - 32px)!important;
 max-width:calc(100% - 32px)!important;
 min-width:0!important;
 height:58px!important;
 margin:0 16px!important;
 padding:0 12px!important;
 display:flex!important;
 align-items:center!important;
 gap:4px!important;
 border:1px solid #E5E9F1!important;
 border-radius:12px!important;
 background:#fff!important;
 box-sizing:border-box!important;
 overflow-x:auto!important;
 overflow-y:hidden!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-module-nav>button{
 appearance:none!important;
 -webkit-appearance:none!important;
 flex:none!important;
 height:38px!important;
 padding:0 16px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 border:0!important;
 border-radius:7px!important;
 background:transparent!important;
 color:#69778D!important;
 font:750 10px/1 Inter,system-ui,sans-serif!important;
 white-space:nowrap!important;
 cursor:pointer!important
}
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-module-nav>button.active{
 background:#F1EDFF!important;
 color:#6245D7!important
}

/* Explicit shell-only rule: none of the V20.47 Bank central-workspace
   components may render in this version. */
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-pagehead,
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-filterbar,
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-scopebar,
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-glance,
#ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-lens{
 display:none!important
}

@media(max-width:1180px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-hero{
  width:calc(100% - 24px)!important;
  max-width:calc(100% - 24px)!important;
  margin-left:12px!important;
  margin-right:12px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-module-nav{
  width:calc(100% - 24px)!important;
  max-width:calc(100% - 24px)!important;
  margin-left:12px!important;
  margin-right:12px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis{
  max-width:calc(100% - 48px)!important;
  overflow-x:auto!important;
  overflow-y:hidden!important
 }
}
@media(max-width:760px){
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-hero{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:232px!important;
  max-height:none!important;
  margin:14px 0 12px!important;
  padding:14px!important;
  border-radius:14px!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-status{display:none!important}
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-kpis{
  position:relative!important;
  left:auto!important;
  bottom:auto!important;
  margin-top:14px!important;
  max-width:100%!important
 }
 #ledger-v127-root[data-screen="reconciliations-hub"] .br474-shell-root .br47-module-nav{
  width:100%!important;
  max-width:100%!important;
  margin:0!important
 }
}


/* ============================================================================
   V20.48 — NATIVE RECONCILIATION V19.8 ROLLBACK
   The native React pages from main.53e1b3d6.js own Reconciliations.
   No V20.45–V20.47 reconciliation canvas/shell replacement is allowed.
   ============================================================================ */

/* If a stale takeover attribute survives a hot SPA transition, never hide the
   native page. JavaScript removes the attributes; these rules are a second
   safety net. */
[data-recon245-native-content="hidden"],
[data-br47-native-content="hidden"]{
 display:revert!important
}

/* Current custom Reconciliation route hosts must never become visible. */
#ledger-v127-root.recon245-route-host,
#ledger-v127-root.br47-route-host{
 display:none!important
}


/* ============================================================================
   V20.49 — RECONCILIATIONS HUB CENTRAL WORKSPACE ONLY

   HARD BOUNDARY:
   This stylesheet targets ONLY the native V19.8 Overview central workspace
   `[data-testid="page-overview"]`. It does not target the application shell,
   hero, horizontal navigation, left navigation or right intelligence rail.
   ============================================================================ */

/* Preserve the native Overview component as the central-workspace boundary.
   Hide only its own original children; native shell siblings are untouched. */
[data-testid="page-overview"].rh250-native-workspace-host{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}
[data-testid="page-overview"].rh250-native-workspace-host > :not(.rh250-cws-host){
 display:none!important
}
[data-testid="page-overview"].rh250-native-workspace-host > .rh250-cws-host{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}

/* The synthetic ledger host exists INSIDE the already-native central workspace
   solely to reuse the approved Accounting / Balance Sheet design system.
   It must not become a route host or modify outer shell geometry. */
[data-testid="page-overview"] [data-rh250-ledger-host="true"]{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .rh250-cws.recon245-root{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0 0 28px!important;
 overflow-x:visible!important;
 background:transparent!important
}

/* Central page header: use Balance Sheet donor density, not the locked shell hero. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-head{
 margin-top:0!important;
 min-height:82px!important
}

/* Filters remain within the central workspace and never change the page grid. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-filterbar{
 width:100%!important;
 max-width:100%!important
}

/* Applied scope must stay a single-row central-workspace component. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-scope{
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:thin!important
}

/* 6 KPI donor row. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis{
 grid-template-columns:repeat(6,minmax(0,1fr))!important
}

/* Primary map follows the universal 2.15 / .85 central-workspace ratio.
   Only the map viewport may horizontally scroll. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{
 grid-template-columns:minmax(0,2.15fr) minmax(285px,.85fr)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-map{
 overflow:hidden!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-map-scroll{
 overflow-x:auto!important;
 overflow-y:hidden!important
}

/* Reconciliation analytics: supplied Overview performance + exception + AI narrative. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics{
 grid-template-columns:1.15fr .9fr 1.15fr!important
}

/* Register owns its internal horizontal scroll. Page/shell do not. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-register .mfv11-table-wrap{
 overflow:auto!important;
 max-width:100%!important
}

/* Balance Sheet contextual drawer contract:
   exact clicked visual, single drawer, no permanent page-space consumption. */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .ins26-drawer-host{
 position:relative!important;
 z-index:2147482399!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .mfv20-drawer{
 width:min(900px,78vw)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .ins26-selected-visual .ins26-visual-stage{
 overflow:auto!important;
 max-height:430px!important
}

/* No secondary / Global Visual Analytics popup on this workspace. */
[data-testid="page-overview"] .rh250-cws-host .gva18-overlay,
[data-testid="page-overview"] .rh250-cws-host [data-global-visual-analytics="true"]{
 display:none!important
}

/* Responsive rules affect ONLY the transformed native central workspace. */
@media(max-width:1180px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-primary{
  grid-template-columns:1fr!important
 }
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics{
  grid-template-columns:1fr 1fr!important
 }
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics .ai{
  grid-column:1/-1!important
 }
}
@media(max-width:760px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-kpis,
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics{
  grid-template-columns:1fr!important
 }
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-analytics .ai{
  grid-column:auto!important
 }
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .mfv20-drawer{
  width:100vw!important
 }
}


/* ============================================================================
   INSOLUTIONS ENTERPRISE APPLICATION TYPOGRAPHY POLICY V1.0
   V20.50

   PURPOSE
   - one application font family
   - one semantic typography scale
   - no meaningful UI text below 11px
   - operational / table / filter / chart text >= 12px
   - normal body text >= 14px
   - no blanket geometry or layout changes
   - legacy tiny values are overridden by the runtime policy only when needed

   GOLDEN RULES
   TYPO-01 Universal font family
   TYPO-02 Semantic scale only
   TYPO-03 Readability floor
   ============================================================================ */

:root{
  /* Font family */
  --ins-font-family:
    Inter,
    Aptos,
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;

  /* Semantic font-size scale */
  --ins-type-badge:11px;
  --ins-type-label:12px;
  --ins-type-meta:12px;
  --ins-type-chart:12px;
  --ins-type-kpi-label:12px;
  --ins-type-table:13px;
  --ins-type-control:13px;
  --ins-type-body:14px;
  --ins-type-card-title:16px;
  --ins-type-section-title:18px;
  --ins-type-workspace-title:22px;
  --ins-type-page-title:28px;

  /* Standard weights */
  --ins-weight-regular:400;
  --ins-weight-medium:500;
  --ins-weight-semibold:600;
  --ins-weight-bold:700;
  --ins-weight-heavy:800;

  /* Standard line-height */
  --ins-line-badge:1;
  --ins-line-label:1.25;
  --ins-line-meta:1.40;
  --ins-line-chart:1.20;
  --ins-line-table:1.45;
  --ins-line-control:1.20;
  --ins-line-body:1.50;
  --ins-line-card-title:1.35;
  --ins-line-section-title:1.30;
  --ins-line-workspace-title:1.20;
  --ins-line-page-title:1.15;
}

/* The policy is active only inside the authenticated application.
   Login / authentication screens are deliberately excluded. */
html[data-ins-typography-policy="1.0"] body{
  font-family:var(--ins-font-family);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Form controls do not always inherit fonts from body across browsers. */
html[data-ins-typography-policy="1.0"] body button,
html[data-ins-typography-policy="1.0"] body input,
html[data-ins-typography-policy="1.0"] body select,
html[data-ins-typography-policy="1.0"] body textarea{
  font-family:var(--ins-font-family);
}

/* Semantic utilities for all future InSolutions development. */
.ins-type-page-title{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-page-title)!important;
  font-weight:var(--ins-weight-bold)!important;
  line-height:var(--ins-line-page-title)!important;
}
.ins-type-workspace-title{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-workspace-title)!important;
  font-weight:var(--ins-weight-bold)!important;
  line-height:var(--ins-line-workspace-title)!important;
}
.ins-type-section-title{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-section-title)!important;
  font-weight:var(--ins-weight-semibold)!important;
  line-height:var(--ins-line-section-title)!important;
}
.ins-type-card-title{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-card-title)!important;
  font-weight:var(--ins-weight-semibold)!important;
  line-height:var(--ins-line-card-title)!important;
}
.ins-type-body{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-body)!important;
  line-height:var(--ins-line-body)!important;
}
.ins-type-table{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-table)!important;
  line-height:var(--ins-line-table)!important;
}
.ins-type-control{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-control)!important;
  line-height:var(--ins-line-control)!important;
}
.ins-type-label,
.ins-type-kpi-label{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-label)!important;
  line-height:var(--ins-line-label)!important;
}
.ins-type-meta{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-meta)!important;
  line-height:var(--ins-line-meta)!important;
}
.ins-type-chart{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-chart)!important;
  line-height:var(--ins-line-chart)!important;
}
.ins-type-badge{
  font-family:var(--ins-font-family)!important;
  font-size:var(--ins-type-badge)!important;
  line-height:var(--ins-line-badge)!important;
}

/* Runtime-enforced text uses CSS variables so the policy remains centrally
   editable. Inline !important only points to these tokens; values are not
   duplicated in page-specific JavaScript. */
html[data-ins-typography-policy="1.0"] body [data-ins-type-policy="true"]{
  font-family:var(--ins-font-family)!important;
}

html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="page-title"]{
  font-size:var(--ins-type-page-title)!important;
  line-height:var(--ins-line-page-title)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="workspace-title"]{
  font-size:var(--ins-type-workspace-title)!important;
  line-height:var(--ins-line-workspace-title)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="section-title"]{
  font-size:var(--ins-type-section-title)!important;
  line-height:var(--ins-line-section-title)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="card-title"]{
  font-size:var(--ins-type-card-title)!important;
  line-height:var(--ins-line-card-title)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="body"]{
  font-size:var(--ins-type-body)!important;
  line-height:var(--ins-line-body)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="table"]{
  font-size:var(--ins-type-table)!important;
  line-height:var(--ins-line-table)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="control"]{
  font-size:var(--ins-type-control)!important;
  line-height:var(--ins-line-control)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="label"]{
  font-size:var(--ins-type-label)!important;
  line-height:var(--ins-line-label)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="meta"]{
  font-size:var(--ins-type-meta)!important;
  line-height:var(--ins-line-meta)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="chart"]{
  font-size:var(--ins-type-chart)!important;
  line-height:var(--ins-line-chart)!important;
}
html[data-ins-typography-policy="1.0"] body [data-ins-type-floor="badge"]{
  font-size:var(--ins-type-badge)!important;
  line-height:var(--ins-line-badge)!important;
}

/* SVG / chart text should use the same enterprise family. Size is only raised
   by runtime when below the chart floor, so larger chart labels are preserved. */
html[data-ins-typography-policy="1.0"] body svg text[data-ins-type-policy="true"]{
  font-family:var(--ins-font-family)!important;
}

/* Explicit opt-out for genuine icon-font / code / machine-readable surfaces. */
[data-ins-typography-optout="true"],
code,
pre,
kbd,
samp{
  font-family:revert;
}

/* Reconciliations Hub: semantic role reinforcement for the screen that exposed
   the readability defect. These do not set geometry, dimensions or spacing. */
[data-testid="page-overview"] .rh250-cws-host table td,
[data-testid="page-overview"] .rh250-cws-host table th{
  font-family:var(--ins-font-family);
}
[data-testid="page-overview"] .rh250-cws-host button,
[data-testid="page-overview"] .rh250-cws-host select,
[data-testid="page-overview"] .rh250-cws-host input{
  font-family:var(--ins-font-family);
}



/* ============================================================================
   V20.51 DEPLOYMENT — BANK RECONCILIATIONS PAGE V20.11
   CENTRAL WORKSPACE ONLY

   HARD BOUNDARY:
   All rules are scoped beneath native V19.8 `[data-testid="page-bank"]`.
   The native shell, hero, horizontal menu and right intelligence rail are not
   selected or modified here.
   ============================================================================ */

[data-testid="page-bank"].bank251-native-workspace-host{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}
[data-testid="page-bank"].bank251-native-workspace-host > :not(.bank251-cws-host){
 display:none!important
}
[data-testid="page-bank"].bank251-native-workspace-host > .bank251-cws-host{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0!important;
 overflow:visible!important
}
[data-testid="page-bank"] [data-bank251-ledger-host="true"],
[data-testid="page-bank"] #ledger-v127-root[data-screen="reconciliations-bank"] .bank251-root{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:0!important;
 padding:0 0 28px!important;
 overflow-x:visible!important;
 background:transparent!important;
 box-sizing:border-box!important
}

/* Header / filters / scope / KPIs / lens: Reconciliations Hub donor anatomy */
[data-testid="page-bank"] .bank251-head{margin-top:0!important}
[data-testid="page-bank"] .bank251-filterbar .mfv20-filter-core{
 grid-template-columns:repeat(6,minmax(0,1fr))!important
}
[data-testid="page-bank"] .bank251-ai-trigger{
 height:36px!important;
 padding:0 14px!important;
 border:1px solid #d8d0ff!important;
 border-radius:10px!important;
 background:#f4f1ff!important;
 color:#6548dc!important;
 font-weight:700!important;
 white-space:nowrap!important
}
[data-testid="page-bank"] .bank251-scope{
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:thin!important
}
[data-testid="page-bank"] .bank251-kpis{
 grid-template-columns:repeat(6,minmax(0,1fr))!important
}
[data-testid="page-bank"] .bank251-kpis .mfv20-metric{
 text-align:left!important;
 cursor:pointer!important
}
[data-testid="page-bank"] .bank251-kpis .mfv20-metric i{
 display:block!important;
 margin-top:8px!important;
 color:#6747e7!important;
 font-style:normal!important;
 font-weight:700!important
}
[data-testid="page-bank"] .bank251-lens>button.active{
 border-color:#cfc4ff!important;
 background:#f2efff!important;
 color:#5e43d7!important;
 box-shadow:inset 0 0 0 1px #ddd6ff!important
}

/* Primary workspace */
[data-testid="page-bank"] .bank251-primary-grid{
 display:grid!important;
 grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr)!important;
 gap:14px!important;
 margin-top:14px!important;
 min-width:0!important
}
[data-testid="page-bank"] .bank251-primary-card,
[data-testid="page-bank"] .bank251-brief{
 min-width:0!important;
 border:1px solid #e4e9f2!important;
 border-radius:16px!important;
 background:#fff!important;
 box-shadow:0 1px 2px rgba(17,35,68,.03)!important
}
[data-testid="page-bank"] .bank251-primary-card{overflow:hidden!important}
[data-testid="page-bank"] .bank251-section-head{
 padding:18px 18px 14px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:14px!important;
 border-bottom:1px solid #edf0f5!important
}
[data-testid="page-bank"] .bank251-section-head>div:first-child>span,
[data-testid="page-bank"] .bank251-brief header>span,
[data-testid="page-bank"] .bank251-brief section>span,
[data-testid="page-bank"] .bank251-operational>header>span,
[data-testid="page-bank"] .bank251-panel-head span,
[data-testid="page-bank"] .bank251-advanced-grid article>span{
 color:#6548dc!important;
 font-weight:800!important;
 letter-spacing:.045em!important
}
[data-testid="page-bank"] .bank251-section-head h2,
[data-testid="page-bank"] .bank251-brief h2{
 margin:4px 0 3px!important;
 color:#1f2f49!important
}
[data-testid="page-bank"] .bank251-section-head p,
[data-testid="page-bank"] .bank251-brief header p{
 margin:0!important;
 color:#72819a!important
}
[data-testid="page-bank"] .bank251-source-chips{
 display:flex!important;
 gap:7px!important;
 flex-wrap:wrap!important;
 justify-content:flex-end!important
}
[data-testid="page-bank"] .bank251-source-chips span{
 display:inline-flex!important;
 align-items:center!important;
 min-height:28px!important;
 padding:0 9px!important;
 border:1px solid #dce5ed!important;
 border-radius:999px!important;
 background:#f9fbfd!important;
 color:#61708a!important
}
[data-testid="page-bank"] .bank251-source-chips .good{color:#16845e!important;background:#f0fbf6!important;border-color:#bfead8!important}
[data-testid="page-bank"] .bank251-map-tools{
 padding:9px 18px!important;
 display:flex!important;
 justify-content:space-between!important;
 gap:12px!important;
 border-bottom:1px solid #edf0f5!important;
 color:#71809a!important
}
[data-testid="page-bank"] .bank251-map-tools span:last-child{
 color:#6548dc!important;
 font-weight:700!important
}

/* Horizontal scrolling belongs ONLY to the map viewport. */
[data-testid="page-bank"] .bank251-map-viewport{
 width:100%!important;
 min-width:0!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 cursor:grab!important;
 scrollbar-width:thin!important
}
[data-testid="page-bank"] .bank251-map-viewport.is-dragging{cursor:grabbing!important}
[data-testid="page-bank"] .bank251-map-stage{
 position:relative!important;
 width:1360px!important;
 min-width:1360px!important;
 height:390px!important;
 background:
  radial-gradient(circle at 1px 1px,#e9edf5 1px,transparent 1.15px) 0 0/18px 18px,
  linear-gradient(#fff,#fbfcff)!important
}
[data-testid="page-bank"] .bank251-connectors{
 position:absolute!important;
 inset:0!important;
 width:1360px!important;
 height:390px!important;
 pointer-events:none!important
}
[data-testid="page-bank"] .bank251-connectors path{
 fill:none!important;
 stroke:#87a4d2!important;
 stroke-width:1.8!important;
 vector-effect:non-scaling-stroke!important
}
[data-testid="page-bank"] .bank251-col{
 position:absolute!important;
 top:28px!important;
 width:245px!important;
 height:330px!important;
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 gap:14px!important
}
[data-testid="page-bank"] .bank251-col.source{left:28px!important}
[data-testid="page-bank"] .bank251-col.book{left:390px!important}
[data-testid="page-bank"] .bank251-col.adjust{left:745px!important}
[data-testid="page-bank"] .bank251-col.outcome{left:1095px!important}
[data-testid="page-bank"] .bank251-col-label{
 position:absolute!important;
 top:0!important;
 left:0!important;
 color:#66778f!important;
 font-weight:800!important;
 letter-spacing:.04em!important
}
[data-testid="page-bank"] .bank251-node{
 width:220px!important;
 min-width:220px!important;
 min-height:76px!important;
 padding:12px 14px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 justify-content:center!important;
 gap:3px!important;
 border:1px solid #cad6ea!important;
 border-radius:12px!important;
 background:#fff!important;
 color:#243550!important;
 text-align:left!important;
 box-shadow:0 4px 12px rgba(43,64,101,.06)!important;
 cursor:pointer!important
}
[data-testid="page-bank"] .bank251-node span{font-weight:800!important}
[data-testid="page-bank"] .bank251-node b{font-weight:800!important;color:#17233d!important}
[data-testid="page-bank"] .bank251-node small{color:#75849a!important}
[data-testid="page-bank"] .bank251-node i{font-style:normal!important;color:#8897ac!important}
[data-testid="page-bank"] .bank251-node.blue{border-color:#94b6ff!important;background:#f5f8ff!important}
[data-testid="page-bank"] .bank251-node.green{border-color:#73d9b3!important;background:#f2fcf7!important}
[data-testid="page-bank"] .bank251-node.amber{border-color:#efbd57!important;background:#fffaf0!important}
[data-testid="page-bank"] .bank251-node.purple{border-color:#b89cff!important;background:#f8f5ff!important}
[data-testid="page-bank"] .bank251-node.red{border-color:#ee9da5!important;background:#fff5f6!important}
[data-testid="page-bank"] .bank251-map-foot{
 padding:10px 18px 13px!important;
 display:flex!important;
 gap:16px!important;
 flex-wrap:wrap!important;
 color:#66778f!important;
 border-top:1px solid #edf0f5!important
}
[data-testid="page-bank"] .bank251-map-foot span{display:inline-flex!important;align-items:center!important;gap:6px!important}
[data-testid="page-bank"] .bank251-map-foot i{width:13px!important;height:3px!important;border-radius:3px!important;background:#8aa5d4!important}
[data-testid="page-bank"] .bank251-map-foot i.green{background:#2db583!important}
[data-testid="page-bank"] .bank251-map-foot i.amber{background:#e6a329!important}
[data-testid="page-bank"] .bank251-map-foot i.purple{background:#7658df!important}

/* Investigation brief */
[data-testid="page-bank"] .bank251-brief{
 padding:17px!important;
 display:flex!important;
 flex-direction:column!important;
 gap:12px!important
}
[data-testid="page-bank"] .bank251-brief-grid{
 display:grid!important;
 grid-template-columns:1fr 1fr!important;
 gap:8px!important
}
[data-testid="page-bank"] .bank251-brief-grid article{
 min-width:0!important;
 padding:11px!important;
 border:1px solid #e7ebf2!important;
 border-radius:11px!important;
 background:#fbfcff!important
}
[data-testid="page-bank"] .bank251-brief-grid span{display:block!important;color:#8290a4!important}
[data-testid="page-bank"] .bank251-brief-grid b{display:block!important;margin-top:4px!important;color:#1d2e48!important}
[data-testid="page-bank"] .bank251-brief-grid small{display:block!important;margin-top:3px!important;color:#8a97aa!important}
[data-testid="page-bank"] .bank251-brief>section{
 padding:11px!important;
 border:1px solid #eceff5!important;
 border-radius:11px!important;
 background:#fff!important
}
[data-testid="page-bank"] .bank251-brief>section p{margin:5px 0 0!important;color:#65758e!important}
[data-testid="page-bank"] .bank251-capability div{display:flex!important;gap:6px!important;margin-top:7px!important}
[data-testid="page-bank"] .bank251-capability div b{
 padding:5px 8px!important;
 border-radius:7px!important;
 background:#f1edff!important;
 color:#6548dc!important
}
[data-testid="page-bank"] .bank251-close-gate.blocked{background:#fff8f2!important;border-color:#f2d6b4!important}
[data-testid="page-bank"] .bank251-close-gate.ready{background:#f1fbf6!important;border-color:#bce7d3!important}
[data-testid="page-bank"] .bank251-close-gate button{
 width:100%!important;
 min-height:36px!important;
 margin-top:9px!important;
 border:0!important;
 border-radius:8px!important;
 background:#6548dc!important;
 color:#fff!important;
 font-weight:800!important
}
[data-testid="page-bank"] .bank251-close-gate button:disabled{
 background:#e9edf3!important;
 color:#94a0b2!important;
 cursor:not-allowed!important
}

/* Analytics */
[data-testid="page-bank"] .bank251-analytics{
 display:grid!important;
 grid-template-columns:1.35fr 1fr!important;
 gap:14px!important;
 margin-top:14px!important
}
[data-testid="page-bank"] .bank251-chart{
 min-width:0!important;
 border:1px solid #e4e9f2!important;
 border-radius:16px!important;
 background:#fff!important;
 overflow:hidden!important;
 cursor:pointer!important
}
[data-testid="page-bank"] .bank251-chart>header{
 padding:15px 16px 11px!important;
 display:flex!important;
 justify-content:space-between!important;
 align-items:flex-start!important;
 gap:12px!important;
 border-bottom:1px solid #eef1f5!important
}
[data-testid="page-bank"] .bank251-chart>header span{color:#6548dc!important;font-weight:800!important;letter-spacing:.04em!important}
[data-testid="page-bank"] .bank251-chart>header h3{margin:4px 0 2px!important;color:#1f2f49!important}
[data-testid="page-bank"] .bank251-chart>header p{margin:0!important;color:#71809a!important}
[data-testid="page-bank"] .bank251-chart>header button{
 border:0!important;background:transparent!important;color:#6548dc!important;font-weight:700!important
}
[data-testid="page-bank"] .bank251-chart-body{
 min-height:230px!important;
 padding:13px 15px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 overflow:hidden!important
}
[data-testid="page-bank"] .bank251-chart-context{
 min-height:65px!important;
 margin:0 14px 14px!important;
 padding:10px 12px!important;
 display:grid!important;
 grid-template-columns:110px 1fr!important;
 gap:10px!important;
 align-items:start!important;
 border:1px solid #ece9f7!important;
 border-radius:11px!important;
 background:#fbfaff!important
}
[data-testid="page-bank"] .bank251-chart-context span{color:#6548dc!important;font-weight:800!important}
[data-testid="page-bank"] .bank251-chart-context p{margin:0!important;color:#5f6f87!important}
[data-testid="page-bank"] .bank251-native-trend{
 width:100%!important;
 min-width:0!important;
 pointer-events:none!important
}
[data-testid="page-bank"] .bank251-native-trend svg{
 width:100%!important;
 max-width:100%!important
}
[data-testid="page-bank"] .bank251-empty-chart{
 width:100%!important;
 min-height:185px!important;
 padding:24px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 text-align:center!important;
 border:1px dashed #d9dfeb!important;
 border-radius:12px!important;
 color:#71809a!important
}
[data-testid="page-bank"] .bank251-empty-chart b{color:#273852!important;margin-bottom:5px!important}

[data-testid="page-bank"] .bank251-waterfall-svg{width:100%!important;max-height:220px!important}
[data-testid="page-bank"] .bank251-waterfall-svg .axis{stroke:#d9e0eb!important}
[data-testid="page-bank"] .bank251-waterfall-svg rect.core{fill:#5a86e8!important}
[data-testid="page-bank"] .bank251-waterfall-svg rect.adjust{fill:#e7a83b!important}
[data-testid="page-bank"] .bank251-waterfall-svg rect.variance{fill:#e05f6c!important}
[data-testid="page-bank"] .bank251-waterfall-svg text{fill:#66758e!important}
[data-testid="page-bank"] .bank251-waterfall-svg text.value{font-weight:700!important;fill:#243550!important}

[data-testid="page-bank"] .bank251-donut-wrap{
 width:100%!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 gap:26px!important
}
[data-testid="page-bank"] .bank251-donut{width:160px!important;height:160px!important;transform:rotate(-90deg)!important}
[data-testid="page-bank"] .bank251-donut circle{fill:none!important;stroke-width:14!important}
[data-testid="page-bank"] .bank251-donut .track{stroke:#edf1f6!important}
[data-testid="page-bank"] .bank251-donut .healthy{stroke:#25ae7b!important}
[data-testid="page-bank"] .bank251-donut .watch{stroke:#e5a22e!important}
[data-testid="page-bank"] .bank251-donut .attention{stroke:#e46470!important}
[data-testid="page-bank"] .bank251-donut text{transform:rotate(90deg)!important;transform-origin:75px 75px!important}
[data-testid="page-bank"] .bank251-donut text.score{font-weight:800!important;fill:#22334e!important}
[data-testid="page-bank"] .bank251-donut text.sub{fill:#8190a4!important}
[data-testid="page-bank"] .bank251-donut-legend{display:flex!important;flex-direction:column!important;gap:9px!important}
[data-testid="page-bank"] .bank251-donut-legend span{display:grid!important;grid-template-columns:12px 1fr auto!important;gap:7px!important;align-items:center!important;color:#65758d!important}
[data-testid="page-bank"] .bank251-donut-legend i{width:9px!important;height:9px!important;border-radius:50%!important}
[data-testid="page-bank"] .bank251-donut-legend i.healthy{background:#25ae7b!important}
[data-testid="page-bank"] .bank251-donut-legend i.watch{background:#e5a22e!important}
[data-testid="page-bank"] .bank251-donut-legend i.attention{background:#e46470!important}

[data-testid="page-bank"] .bank251-match-bars{
 width:100%!important;
 display:flex!important;
 flex-direction:column!important;
 gap:12px!important
}
[data-testid="page-bank"] .bank251-match-bars>div{
 display:grid!important;
 grid-template-columns:minmax(150px,1fr) minmax(180px,2fr) 70px!important;
 gap:10px!important;
 align-items:center!important
}
[data-testid="page-bank"] .bank251-match-bars span{
 overflow:hidden!important;
 white-space:nowrap!important;
 text-overflow:ellipsis!important;
 color:#53647d!important
}
[data-testid="page-bank"] .bank251-match-bars i{
 position:relative!important;
 height:10px!important;
 border-radius:999px!important;
 background:#edf1f6!important;
 overflow:hidden!important
}
[data-testid="page-bank"] .bank251-match-bars i b{
 position:absolute!important;
 inset:0 auto 0 0!important;
 border-radius:999px!important;
 background:linear-gradient(90deg,#a8c0ff,#5f6ee9)!important
}
[data-testid="page-bank"] .bank251-match-bars strong{text-align:right!important;color:#263751!important}

/* Operational review */
[data-testid="page-bank"] .bank251-operational{
 margin-top:14px!important;
 padding:17px!important;
 border:1px solid #e4e9f2!important;
 border-radius:16px!important;
 background:#fff!important
}
[data-testid="page-bank"] .bank251-operational>header h3{margin:6px 0 0!important;color:#20314b!important}
[data-testid="page-bank"] .bank251-operational-grid{
 display:grid!important;
 grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)!important;
 gap:14px!important;
 margin-top:14px!important
}
[data-testid="page-bank"] .bank251-attention,
[data-testid="page-bank"] .bank251-quick{
 min-width:0!important;
 border:1px solid #e7ebf2!important;
 border-radius:13px!important;
 overflow:hidden!important;
 background:#fff!important
}
[data-testid="page-bank"] .bank251-panel-head{
 min-height:74px!important;
 padding:13px 15px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:10px!important;
 border-bottom:1px solid #edf0f5!important
}
[data-testid="page-bank"] .bank251-panel-head h4{margin:5px 0 0!important;color:#23344e!important}
[data-testid="page-bank"] .bank251-panel-head button{border:0!important;background:transparent!important;color:#6548dc!important;font-weight:700!important}
[data-testid="page-bank"] .bank251-attention-table{overflow:auto!important}
[data-testid="page-bank"] .bank251-attention-table table{width:100%!important;border-collapse:collapse!important}
[data-testid="page-bank"] .bank251-attention-table th,
[data-testid="page-bank"] .bank251-attention-table td{
 padding:10px 12px!important;
 border-bottom:1px solid #edf0f5!important;
 text-align:left!important;
 color:#52637b!important;
 white-space:nowrap!important
}
[data-testid="page-bank"] .bank251-attention-table th{background:#fafbfe!important;color:#728099!important;font-weight:700!important}
[data-testid="page-bank"] .bank251-attention-table tr{cursor:pointer!important}
[data-testid="page-bank"] .bank251-quick-list{
 padding:10px!important;
 display:flex!important;
 flex-direction:column!important;
 gap:9px!important
}
[data-testid="page-bank"] .bank251-quick-list>button{
 min-height:68px!important;
 padding:10px 12px!important;
 display:grid!important;
 grid-template-columns:36px 1fr 18px!important;
 gap:10px!important;
 align-items:center!important;
 border:1px solid #e6eaf1!important;
 border-radius:11px!important;
 background:#fff!important;
 text-align:left!important;
 cursor:pointer!important
}
[data-testid="page-bank"] .bank251-quick-list>button>span{
 width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#f1edff!important;color:#6548dc!important;font-weight:800!important
}
[data-testid="page-bank"] .bank251-quick-list b{display:block!important;color:#293a54!important}
[data-testid="page-bank"] .bank251-quick-list small{display:block!important;margin-top:3px!important;color:#8794a8!important}
[data-testid="page-bank"] .bank251-quick-list>button>i{font-style:normal!important;color:#6548dc!important}

/* Insight cards */
[data-testid="page-bank"] .bank251-insights{
 margin-top:14px!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important
}
[data-testid="page-bank"] .bank251-insights .mfv20-insight{
 min-height:230px!important;
 height:auto!important
}

/* Register */
[data-testid="page-bank"] .bank251-register{margin-top:14px!important}
[data-testid="page-bank"] .bank251-search input{
 min-width:260px!important;
 height:36px!important;
 border:1px solid #dfe5ee!important;
 border-radius:9px!important;
 padding:0 11px!important;
 color:#2b3c55!important;
 background:#fff!important
}
[data-testid="page-bank"] .bank251-register .mfv11-table-wrap{
 overflow:auto!important;
 max-width:100%!important
}
[data-testid="page-bank"] .bank251-register table{min-width:1450px!important}
[data-testid="page-bank"] .bank251-status{
 display:inline-flex!important;
 align-items:center!important;
 min-height:24px!important;
 padding:0 8px!important;
 border-radius:999px!important;
 font-weight:700!important
}
[data-testid="page-bank"] .bank251-status.healthy{background:#eaf9f2!important;color:#167858!important}
[data-testid="page-bank"] .bank251-status.watch{background:#fff4df!important;color:#9a6612!important}
[data-testid="page-bank"] .bank251-status.attention{background:#fff0f1!important;color:#c44250!important}
[data-testid="page-bank"] .bank251-match-score{font-weight:800!important;color:#304361!important}

/* Advanced investigation */
[data-testid="page-bank"] .bank251-advanced{margin-top:14px!important}
[data-testid="page-bank"] .bank251-advanced-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:12px!important;
 padding-top:14px!important
}
[data-testid="page-bank"] .bank251-advanced-grid article{
 min-height:180px!important;
 padding:15px!important;
 border:1px solid #e5e9f1!important;
 border-radius:12px!important;
 background:#fff!important
}
[data-testid="page-bank"] .bank251-advanced-grid h3{margin:6px 0!important;color:#24354f!important}
[data-testid="page-bank"] .bank251-advanced-grid p{margin:0!important;color:#687890!important}
[data-testid="page-bank"] .bank251-mode-chips{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:11px!important}
[data-testid="page-bank"] .bank251-mode-chips b{padding:6px 9px!important;border-radius:7px!important;background:#f1edff!important;color:#6548dc!important}

/* Balance Sheet contextual drawer contract */
[data-testid="page-bank"] #ledger-v127-root[data-screen="reconciliations-bank"] .ins26-drawer-host{
 position:relative!important;
 z-index:2147482399!important
}
[data-testid="page-bank"] #ledger-v127-root[data-screen="reconciliations-bank"] .mfv20-drawer{
 width:min(900px,78vw)!important
}
[data-testid="page-bank"] #ledger-v127-root[data-screen="reconciliations-bank"] .ins26-selected-visual .ins26-visual-stage{
 overflow:auto!important;
 max-height:430px!important
}
[data-testid="page-bank"] .bank251-node-preview{
 min-height:230px!important;
 display:grid!important;
 place-items:center!important
}
[data-testid="page-bank"] .bank251-node-preview .bank251-node{
 width:260px!important;
 min-width:260px!important
}

/* Explicitly suppress the secondary Global Visual Analytics popup in the Bank
   transformed workspace. */
[data-testid="page-bank"] .bank251-cws-host .gva18-overlay,
[data-testid="page-bank"] .bank251-cws-host [data-global-visual-analytics="true"]{
 display:none!important
}

/* Responsive changes remain INSIDE the Bank central workspace only. */
@media(max-width:1180px){
 [data-testid="page-bank"] .bank251-filterbar .mfv20-filter-core{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 [data-testid="page-bank"] .bank251-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 [data-testid="page-bank"] .bank251-primary-grid{
  grid-template-columns:1fr!important
 }
 [data-testid="page-bank"] .bank251-analytics{
  grid-template-columns:1fr!important
 }
 [data-testid="page-bank"] .bank251-operational-grid{
  grid-template-columns:1fr!important
 }
 [data-testid="page-bank"] .bank251-advanced-grid{
  grid-template-columns:1fr 1fr!important
 }
}
@media(max-width:760px){
 [data-testid="page-bank"] .bank251-filterbar .mfv20-filter-core,
 [data-testid="page-bank"] .bank251-kpis,
 [data-testid="page-bank"] .bank251-insights,
 [data-testid="page-bank"] .bank251-advanced-grid{
  grid-template-columns:1fr!important
 }
 [data-testid="page-bank"] #ledger-v127-root[data-screen="reconciliations-bank"] .mfv20-drawer{
  width:100vw!important
 }
}


/* ============================================================================
   V20.52 — BANK RECONCILIATIONS V20.11 DEFECT CLOSURE
   ============================================================================ */

/* One analytical owner only: suppress Global Visual Analytics V18. */
[data-testid="page-bank"][data-v18-ignore="true"] .v18-chart-chip,
[data-testid="page-bank"] .bank251-cws-host .v18-chart-chip,
[data-testid="page-bank"] .bank251-cws-host .v18-visual-sheet,
[data-testid="page-bank"] .bank251-cws-host #v18VisualSheet{display:none!important}

/* Non-empty factual fallback chart. */
[data-testid="page-bank"] .bank251-current-profile,
[data-testid="page-bank"] .bank251-profile-svg{width:100%!important;min-width:0!important}
[data-testid="page-bank"] .bank251-profile-svg{display:block!important;height:auto!important;min-height:215px!important}
[data-testid="page-bank"] .bank251-profile-svg .grid,
[data-testid="page-bank"] .bank251-adv-svg .grid{stroke:#e7ecf4!important;stroke-width:1!important}
[data-testid="page-bank"] .bank251-profile-svg .axis,
[data-testid="page-bank"] .bank251-adv-svg .axis,
[data-testid="page-bank"] .bank251-adv-svg .zero-line{stroke:#cfd7e5!important;stroke-width:1.2!important}
[data-testid="page-bank"] .bank251-profile-svg rect.variance.low{fill:#5a86e8!important}
[data-testid="page-bank"] .bank251-profile-svg rect.variance.medium{fill:#e4a32d!important}
[data-testid="page-bank"] .bank251-profile-svg rect.variance.high{fill:#e25f6b!important}
[data-testid="page-bank"] .bank251-profile-svg .match-line{fill:none!important;stroke:#6748e8!important;stroke-width:2.5!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-bank"] .bank251-profile-svg .match-dot{fill:#fff!important;stroke:#6748e8!important;stroke-width:2.4!important}
[data-testid="page-bank"] .bank251-profile-svg .label,
[data-testid="page-bank"] .bank251-profile-svg .axis-title{fill:#687890!important}

/* Cash Truth heading/node collision. */
[data-testid="page-bank"] .bank251-col.adjust{justify-content:flex-start!important;padding-top:52px!important;box-sizing:border-box!important}
[data-testid="page-bank"] .bank251-col.adjust>.bank251-col-label{top:9px!important}
[data-testid="page-bank"] .bank251-col.adjust .bank251-node{flex:0 0 auto!important}

/* Insight-card overlap closure. */
[data-testid="page-bank"] .bank251-insights .mfv20-insight{
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;
 min-height:255px!important;height:auto!important;padding:17px 20px 15px!important;overflow:hidden!important
}
[data-testid="page-bank"] .bank251-insights .mfv20-insight>*{position:relative!important;z-index:2!important;min-width:0!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight>div{flex:0 0 auto!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight p{min-height:0!important;margin:9px 0 0!important;line-height:1.5!important;overflow-wrap:anywhere!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight>b{display:block!important;flex:0 0 auto!important;margin:17px 0 0!important;font-size:30px!important;line-height:1.06!important;overflow-wrap:anywhere!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight>small{display:block!important;flex:0 0 auto!important;min-height:18px!important;margin:8px 0 0!important;padding:0 0 7px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight>i{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;width:fit-content!important;margin-top:auto!important;padding-top:10px!important;line-height:1.2!important;white-space:nowrap!important}
[data-testid="page-bank"] .bank251-insights .mfv20-insight:after{pointer-events:none!important;z-index:0!important}

/* One Show/Hide label only. */
[data-testid="page-bank"] .bank251-advanced>summary>i{font-size:13px!important;line-height:1.2!important}
[data-testid="page-bank"] .bank251-advanced>summary>i .bank251-hide-label{display:none!important}
[data-testid="page-bank"] .bank251-advanced[open]>summary>i{font-size:13px!important}
[data-testid="page-bank"] .bank251-advanced[open]>summary>i:after{content:none!important;display:none!important}
[data-testid="page-bank"] .bank251-advanced[open]>summary>i .bank251-show-label{display:none!important}
[data-testid="page-bank"] .bank251-advanced[open]>summary>i .bank251-hide-label{display:inline!important}

/* Six clickable Advanced Investigation intelligence modules. */
[data-testid="page-bank"] .bank251-advanced-grid .bank251-advanced-module{
 min-height:210px!important;padding:17px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 border:1px solid #e2e8f1!important;border-radius:13px!important;background:#fff!important;color:#263751!important;
 text-align:left!important;cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important
}
[data-testid="page-bank"] .bank251-advanced-grid .bank251-advanced-module:hover,
[data-testid="page-bank"] .bank251-advanced-grid .bank251-advanced-module:focus-visible{
 transform:translateY(-2px)!important;border-color:#cfc4ff!important;box-shadow:0 10px 24px rgba(48,56,92,.08)!important;outline:none!important
}
[data-testid="page-bank"] .bank251-advanced-module>span{color:#6548dc!important;font-weight:800!important;letter-spacing:.04em!important}
[data-testid="page-bank"] .bank251-advanced-module>h3{margin:8px 0 0!important;color:#24354f!important}
[data-testid="page-bank"] .bank251-advanced-module>p{margin:9px 0 0!important;color:#687890!important;line-height:1.55!important}
[data-testid="page-bank"] .bank251-advanced-module>i{position:static!important;margin-top:auto!important;padding-top:15px!important;color:#6548dc!important;font-style:normal!important;font-weight:800!important}

/* Mini-intelligence module inside approved contextual drawer. */
[data-testid="page-bank"] .bank251-advanced-drawer-module{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0!important}
[data-testid="page-bank"] .bank251-advanced-drawer-module>header{padding:15px!important;border:1px solid #e3e8f1!important;border-radius:13px!important;background:linear-gradient(145deg,#fff,#faf8ff)!important}
[data-testid="page-bank"] .bank251-advanced-drawer-module>header>span,
[data-testid="page-bank"] .bank251-advanced-narrative article>span,
[data-testid="page-bank"] .bank251-advanced-chart-head>span{color:#6548dc!important;font-weight:850!important;letter-spacing:.04em!important}
[data-testid="page-bank"] .bank251-advanced-drawer-module>header h3{margin:6px 0!important;color:#21324d!important}
[data-testid="page-bank"] .bank251-advanced-drawer-module>header p{margin:0!important;color:#64748c!important;line-height:1.5!important}
[data-testid="page-bank"] .bank251-advanced-narrative{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
[data-testid="page-bank"] .bank251-advanced-narrative article{min-height:145px!important;padding:13px!important;border:1px solid #e5eaf2!important;border-radius:12px!important;background:#fff!important}
[data-testid="page-bank"] .bank251-advanced-narrative p{margin:7px 0 0!important;color:#62728a!important;line-height:1.5!important}
[data-testid="page-bank"] .bank251-advanced-chart-shell{padding:13px!important;border:1px solid #e1e7f0!important;border-radius:13px!important;background:#fff!important;overflow:hidden!important}
[data-testid="page-bank"] .bank251-advanced-chart-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:8px!important}
[data-testid="page-bank"] .bank251-advanced-chart-head small{color:#8190a5!important;text-align:right!important}
[data-testid="page-bank"] .bank251-adv-svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:245px!important;overflow:visible!important}
[data-testid="page-bank"] .bank251-interactive-svg [data-bank251-adv-point]{cursor:pointer!important;transition:opacity .15s ease!important}
[data-testid="page-bank"] .bank251-interactive-svg [data-bank251-adv-point]:hover{opacity:.78!important}
[data-testid="page-bank"] .bank251-adv-svg text{fill:#68788f!important}
[data-testid="page-bank"] .bank251-adv-svg .axis-title,
[data-testid="page-bank"] .bank251-adv-svg .row-label,
[data-testid="page-bank"] .bank251-adv-svg .point-label,
[data-testid="page-bank"] .bank251-adv-svg .label,
[data-testid="page-bank"] .bank251-adv-svg .audit-label{fill:#5c6d85!important}
[data-testid="page-bank"] .bank251-adv-svg .point.low{fill:#2eae81!important}
[data-testid="page-bank"] .bank251-adv-svg .point.medium{fill:#e5a22e!important}
[data-testid="page-bank"] .bank251-adv-svg .point.high{fill:#e35f6b!important}
[data-testid="page-bank"] .bank251-adv-svg .track{fill:#edf1f6!important}
[data-testid="page-bank"] .bank251-adv-svg .rule-bar{fill:#6e59df!important}
[data-testid="page-bank"] .bank251-adv-svg .available{fill:#2fb181!important}
[data-testid="page-bank"] .bank251-adv-svg .missing{fill:#e46873!important}
[data-testid="page-bank"] .bank251-adv-svg .status-text{fill:#3d4f69!important;font-weight:700!important}
[data-testid="page-bank"] .bank251-adv-svg .bar-value{fill:#263851!important;font-weight:800!important}
[data-testid="page-bank"] .bank251-adv-svg .blocked{fill:#e4616d!important}
[data-testid="page-bank"] .bank251-adv-svg .clear{fill:#28ad7e!important}
[data-testid="page-bank"] .bank251-adv-svg .audit-missing{fill:#fff3f4!important;stroke:#edc5ca!important}
[data-testid="page-bank"] .bank251-adv-svg .audit-x{fill:#d95361!important;font-weight:900!important}
[data-testid="page-bank"] .bank251-adv-svg .audit-state{fill:#9a5c64!important;font-weight:700!important}
[data-testid="page-bank"] .bank251-adv-svg .diff-bar{fill:#5f71e8!important}

/* Contextual selected visual: no V18 chips or cloned Open-detail controls. */
[data-testid="page-bank"] .ins26-selected-visual .v18-chart-chip{display:none!important}
[data-testid="page-bank"] .ins26-selected-visual .bank251-chart{cursor:default!important}
[data-testid="page-bank"] .ins26-selected-visual .bank251-chart>header button{display:none!important}

@media(max-width:900px){
 [data-testid="page-bank"] .bank251-advanced-narrative{grid-template-columns:1fr!important}
 [data-testid="page-bank"] .bank251-advanced-narrative article{min-height:0!important}
 [data-testid="page-bank"] .bank251-insights .mfv20-insight{min-height:230px!important}
}


/* ============================================================================
   V20.53 — additional defect closure
   ============================================================================ */

.mfv20-advanced>summary{user-select:none!important}
.mfv20-advanced>summary:focus-visible{outline:2px solid #cfc4ff!important;outline-offset:2px!important}
.mfv20-advanced:not([open])>div{display:none!important}

[data-testid="page-bank"] .bank251-map-viewport{height:314px!important}
[data-testid="page-bank"] .bank251-map-stage{transform:scale(.78)!important;transform-origin:top left!important}

[data-testid="page-bank"] .bank251-close-gate{display:flex!important;flex-direction:column!important;gap:10px!important}
[data-testid="page-bank"] .bank251-close-gate-head{display:flex!important;flex-direction:column!important;gap:4px!important}
[data-testid="page-bank"] .bank251-close-gate>span,[data-testid="page-bank"] .bank251-close-gate-head>span{display:block!important;color:#6548dc!important;font-weight:800!important;letter-spacing:.04em!important}
[data-testid="page-bank"] .bank251-close-gate-head>b{display:block!important;color:#25354e!important;line-height:1.25!important}
[data-testid="page-bank"] .bank251-close-gate p{margin:0!important;color:#65758e!important;line-height:1.45!important}
[data-testid="page-bank"] .bank251-close-gate button{white-space:normal!important;line-height:1.25!important;padding:10px 12px!important}
[data-testid="page-bank"] .bank251-close-gate button:disabled{background:#efe7dc!important;color:#8f7557!important;border:1px solid #dec3a3!important;opacity:1!important}

[data-testid="page-bank"] .bank251-chart>header button{white-space:nowrap!important;flex:0 0 auto!important}
[data-testid="page-bank"] .bank251-chart-context{grid-template-columns:150px 1fr!important;align-items:center!important;padding:12px 14px!important}
[data-testid="page-bank"] .bank251-chart-context span{display:flex!important;align-items:center!important;line-height:1.15!important}
[data-testid="page-bank"] .bank251-chart-context p{align-self:center!important;line-height:1.45!important}

[data-testid="page-bank"] .bank251-chart-stack{width:100%!important}
[data-testid="page-bank"] .bank251-svg-legend{display:flex!important;flex-wrap:wrap!important;gap:14px!important;align-items:center!important;margin:0 0 8px 2px!important;color:#6b7a91!important;font-size:12px!important}
[data-testid="page-bank"] .bank251-svg-legend span{display:inline-flex!important;align-items:center!important;gap:7px!important}
[data-testid="page-bank"] .bank251-svg-legend i{display:inline-block!important;width:14px!important;height:3px!important;border-radius:999px!important}
[data-testid="page-bank"] .bank251-svg-legend i.variance{background:#7da2f8!important}
[data-testid="page-bank"] .bank251-svg-legend i.timing{background:#2fb181!important}
[data-testid="page-bank"] .bank251-svg-legend i.match{background:#6a56de!important}
[data-testid="page-bank"] .bank251-trend-svg,[data-testid="page-bank"] .bank251-match-svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:228px!important}
[data-testid="page-bank"] .bank251-trend-svg .grid,[data-testid="page-bank"] .bank251-match-svg .grid{stroke:#e8edf5!important;stroke-width:1!important}
[data-testid="page-bank"] .bank251-trend-svg .axis,[data-testid="page-bank"] .bank251-match-svg .axis{stroke:#cfd7e5!important;stroke-width:1.2!important}
[data-testid="page-bank"] .bank251-trend-svg .variance-bar{fill:#8baaf7!important}
[data-testid="page-bank"] .bank251-trend-svg .timing-line{fill:none!important;stroke:#28ad7e!important;stroke-width:2.8!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-bank"] .bank251-trend-svg .timing-dot{fill:#fff!important;stroke:#28ad7e!important;stroke-width:2.5!important}
[data-testid="page-bank"] .bank251-trend-svg .trend-match{fill:none!important;stroke:#6a56de!important;stroke-width:2.8!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-bank"] .bank251-trend-svg .trend-match-dot{fill:#fff!important;stroke:#6a56de!important;stroke-width:2.5!important}
[data-testid="page-bank"] .bank251-trend-svg .risk-dot,[data-testid="page-bank"] .bank251-match-svg .risk-dot{fill:#ea6570!important}
[data-testid="page-bank"] .bank251-trend-svg .label,[data-testid="page-bank"] .bank251-trend-svg .value,[data-testid="page-bank"] .bank251-trend-svg .axis-title,[data-testid="page-bank"] .bank251-match-svg .row-label,[data-testid="page-bank"] .bank251-match-svg .bar-value,[data-testid="page-bank"] .bank251-match-svg .axis-title{fill:#5e6f86!important}
[data-testid="page-bank"] .bank251-trend-svg .axis-title.right{text-anchor:end!important}
[data-testid="page-bank"] .bank251-match-svg .track{fill:#edf1f6!important}
[data-testid="page-bank"] .bank251-match-svg .match-fill{fill:#7d94ee!important}

@media(max-width:1200px){
 [data-testid="page-bank"] .bank251-map-stage{transform:scale(.72)!important}
 [data-testid="page-bank"] .bank251-map-viewport{height:290px!important}
}
@media(max-width:900px){
 [data-testid="page-bank"] .bank251-chart-context{grid-template-columns:1fr!important;gap:8px!important}
 [data-testid="page-bank"] .bank251-chart>header{flex-direction:column!important}
 [data-testid="page-bank"] .bank251-map-stage{transform:scale(.66)!important}
 [data-testid="page-bank"] .bank251-map-viewport{height:270px!important}
}


/* ============================================================================
   V20.54 — Bank Reconciliations Investigation Brief / Advanced Investigation
   ============================================================================ */

/* Defect 1 — chart narrative wrapper is anchored to the bottom of every card. */
[data-testid="page-bank"] .bank251-chart{
 display:flex!important;
 flex-direction:column!important
}
[data-testid="page-bank"] .bank251-chart>.bank251-chart-body{
 flex:1 1 auto!important
}
[data-testid="page-bank"] .bank251-chart>.bank251-chart-context{
 margin-top:auto!important;
 flex:0 0 auto!important
}
[data-testid="page-bank"] .bank251-chart[data-chart="status"] .bank251-chart-context{
 margin:0 14px 14px!important;
 margin-top:auto!important
}

/* Investigation Brief is now concise; control/method drawers live in Advanced Investigation. */
[data-testid="page-bank"] .bank251-brief{
 align-self:start!important
}
[data-testid="page-bank"] .bank251-brief>.bank251-capability,
[data-testid="page-bank"] .bank251-brief>.bank251-close-gate{
 display:none!important
}

/* Defects 2/3 — visible by default and preserve grid structure when open. */
.mfv20-advanced[open]>.bank251-advanced-grid,
[data-testid="page-bank"] .bank251-advanced[open]>.bank251-advanced-grid{
 display:grid!important
}
[data-testid="page-bank"] .bank251-advanced-grid{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:12px!important;
 align-items:stretch!important
}
[data-testid="page-bank"] .bank251-advanced-grid>.bank251-advanced-module{
 width:100%!important;
 min-width:0!important;
 height:100%!important
}

/* New Matching Modes + Close Gate analytical visuals. */
[data-testid="page-bank"] .bank251-adv-svg .mode-card{
 fill:#faf8ff!important;
 stroke:#d9d1ff!important;
 stroke-width:1.2!important
}
[data-testid="page-bank"] .bank251-adv-svg .mode-code{
 fill:#6548dc!important;
 font-weight:900!important;
 font-size:24px!important
}
[data-testid="page-bank"] .bank251-adv-svg .mode-title{
 fill:#293a54!important;
 font-weight:800!important
}
[data-testid="page-bank"] .bank251-adv-svg .mode-state{
 fill:#7d8ba0!important
}
[data-testid="page-bank"] .bank251-adv-svg .zero-target{
 stroke:#263851!important;
 stroke-width:2!important;
 stroke-dasharray:4 4!important
}
[data-testid="page-bank"] .bank251-adv-svg .close-value,
[data-testid="page-bank"] .bank251-adv-svg .close-target{
 fill:#5e6f86!important;
 font-weight:700!important
}
[data-testid="page-bank"] .bank251-adv-svg .close-status{
 font-weight:900!important;
 letter-spacing:.04em!important
}
[data-testid="page-bank"] .bank251-adv-svg .close-status.blocked-text{fill:#c94f5c!important}
[data-testid="page-bank"] .bank251-adv-svg .close-status.clear-text{fill:#1b8b67!important}

@media(max-width:1180px){
 [data-testid="page-bank"] .bank251-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 [data-testid="page-bank"] .bank251-advanced-grid{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.86 — RECONCILIATIONS CREDIT CARD / GL / CUSTOMER / VENDOR / INTERCOMPANY
   Central-workspace-only rollout. Native V19.8 shell remains untouched.
   ============================================================================ */
:is([data-testid="page-cards"],[data-testid="page-gl"],[data-testid="page-customer"],[data-testid="page-vendor"],[data-testid="page-intercompany"]).recon285-native-host{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important}
:is([data-testid="page-cards"],[data-testid="page-gl"],[data-testid="page-customer"],[data-testid="page-vendor"],[data-testid="page-intercompany"]).recon285-native-host>:not(.recon285-cws-host){display:none!important}
:is([data-testid="page-cards"],[data-testid="page-gl"],[data-testid="page-customer"],[data-testid="page-vendor"],[data-testid="page-intercompany"]) .recon285-cws-host{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
.recon285-root{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 0 28px!important;background:transparent!important;box-sizing:border-box!important}
.recon285-root .mfv20-filter-core{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.recon285-ai{height:36px!important;padding:0 14px!important;border:1px solid #d8d0ff!important;border-radius:10px!important;background:#f4f1ff!important;color:#6548dc!important;font-weight:700!important;white-space:nowrap!important}
.recon285-kpis{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.recon285-kpis .mfv20-metric{text-align:left!important;cursor:pointer!important}
.recon285-kpis .mfv20-metric i{display:block!important;margin-top:8px!important;color:#6747e7!important;font-style:normal!important;font-weight:700!important}
.recon285-lens>button.active{border-color:#cfc4ff!important;background:#f2efff!important;color:#5e43d7!important;box-shadow:inset 0 0 0 1px #ddd6ff!important}
.recon285-primary-grid{display:grid!important;grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr)!important;gap:14px!important;margin-top:14px!important;min-width:0!important}
.recon285-primary-card,.recon285-brief{min-width:0!important;border:1px solid #e4e9f2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 2px rgba(17,35,68,.03)!important}
.recon285-primary-card{overflow:hidden!important}
.recon285-section-head{padding:18px!important;display:flex!important;justify-content:space-between!important;gap:14px!important;border-bottom:1px solid #edf0f5!important}
.recon285-section-head span,.recon285-brief header>span,.recon285-brief section>span,.recon285-operational>header>span,.recon285-panel-head span,.recon285-advanced>summary span,.recon285-advanced-grid>button>span,.recon285-advanced-drawer header>span,.recon285-adv-narrative span{color:#6548dc!important;font-weight:800!important;letter-spacing:.04em!important}
.recon285-section-head h2,.recon285-brief h2{margin:4px 0!important;color:#1f2f49!important}
.recon285-section-head p,.recon285-brief p{margin:0!important;color:#71809a!important;line-height:1.5!important}
.recon285-source-chips{display:flex!important;gap:7px!important;flex-wrap:wrap!important}.recon285-source-chips span{padding:6px 9px!important;border:1px solid #cfe7db!important;border-radius:999px!important;background:#f2fbf7!important;color:#19835f!important}
.recon285-map-tools{padding:9px 18px!important;display:flex!important;justify-content:space-between!important;gap:12px!important;border-bottom:1px solid #edf0f5!important;color:#71809a!important}.recon285-map-tools span:last-child{color:#6548dc!important;font-weight:700!important}
.recon285-map-viewport{width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important}
.recon285-map-stage{position:relative!important;width:1160px!important;min-width:1160px!important;height:380px!important;background:radial-gradient(circle at 1px 1px,#e9edf5 1px,transparent 1.15px) 0 0/18px 18px,linear-gradient(#fff,#fbfcff)!important;transform:scale(.83)!important;transform-origin:top left!important}
.recon285-map-stage>svg{position:absolute!important;inset:0!important;width:1160px!important;height:380px!important;pointer-events:none!important}.recon285-map-stage>svg path{fill:none!important;stroke:#8aa7d8!important;stroke-width:1.8!important}
.recon285-node{position:absolute!important;width:205px!important;min-height:82px!important;padding:12px 14px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;border:1px solid #cbd8eb!important;border-radius:12px!important;background:#fff!important;color:#243550!important;text-align:left!important;box-shadow:0 4px 12px rgba(43,64,101,.06)!important;cursor:pointer!important}.recon285-node span,.recon285-node b{font-weight:800!important}.recon285-node small{color:#75849a!important}.recon285-node.blue{border-color:#94b6ff!important;background:#f5f8ff!important}.recon285-node.green,.recon285-node.teal{border-color:#73d9b3!important;background:#f2fcf7!important}.recon285-node.amber{border-color:#efbd57!important;background:#fffaf0!important}.recon285-node.purple{border-color:#b89cff!important;background:#f8f5ff!important}.recon285-node.red{border-color:#ee9da5!important;background:#fff5f6!important}
.recon285-map-foot{padding:10px 18px!important;display:flex!important;gap:18px!important;flex-wrap:wrap!important;color:#687890!important;border-top:1px solid #edf0f5!important}
.recon285-brief{padding:17px!important;display:flex!important;flex-direction:column!important;gap:12px!important}.recon285-brief-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.recon285-brief-grid article,.recon285-brief>section{padding:11px!important;border:1px solid #e7ebf2!important;border-radius:11px!important;background:#fbfcff!important}.recon285-brief-grid span{display:block!important;color:#8290a4!important}.recon285-brief-grid b{display:block!important;margin-top:4px!important;color:#1d2e48!important}
.recon285-analytics{display:grid!important;grid-template-columns:1.25fr 1fr!important;gap:14px!important;margin-top:14px!important}.recon285-chart{min-width:0!important;display:flex!important;flex-direction:column!important;border:1px solid #e4e9f2!important;border-radius:16px!important;background:#fff!important;overflow:hidden!important;cursor:pointer!important}.recon285-chart>header{padding:15px 16px 11px!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;border-bottom:1px solid #eef1f5!important}.recon285-chart>header span{color:#6548dc!important;font-weight:800!important;letter-spacing:.04em!important}.recon285-chart>header h3{margin:4px 0!important;color:#1f2f49!important}.recon285-chart>header p{margin:0!important;color:#71809a!important}.recon285-chart>header button{border:0!important;background:transparent!important;color:#6548dc!important;font-weight:700!important;white-space:nowrap!important}.recon285-chart-body{min-height:255px!important;padding:13px 15px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.recon285-native-chart{width:100%!important;min-width:0!important}.recon285-native-chart svg{width:100%!important;max-width:100%!important;height:auto!important;min-height:225px!important}.recon285-context{margin:auto 14px 14px!important;padding:11px 13px!important;display:grid!important;grid-template-columns:145px 1fr!important;gap:10px!important;align-items:center!important;border:1px solid #ece9f7!important;border-radius:11px!important;background:#fbfaff!important}.recon285-context span{color:#6548dc!important;font-weight:800!important}.recon285-context p{margin:0!important;color:#5f6f87!important;line-height:1.45!important}.recon285-modern-svg,.recon285-risk-svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:220px!important}.recon285-modern-svg .grid{stroke:#e7ecf4!important}.recon285-modern-svg rect{fill:#7e9bec!important}.recon285-modern-svg text,.recon285-risk-svg text{fill:#607087!important}.recon285-risk-svg .track,.recon285-adv-svg .track{fill:#edf1f6!important}.recon285-risk-svg .fill,.recon285-adv-svg .fill{fill:#6f5be0!important}.recon285-risk-svg .fill.risk{fill:#e26470!important}
.recon285-operational{margin-top:14px!important;padding:17px!important;border:1px solid #e4e9f2!important;border-radius:16px!important;background:#fff!important}.recon285-operational>header h3{margin:6px 0 0!important;color:#20314b!important}.recon285-op-grid{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)!important;gap:14px!important;margin-top:14px!important}.recon285-attention,.recon285-quick{min-width:0!important;border:1px solid #e7ebf2!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important}.recon285-panel-head{padding:13px 15px!important;border-bottom:1px solid #edf0f5!important}.recon285-attention table{width:100%!important;border-collapse:collapse!important}.recon285-attention th,.recon285-attention td{padding:10px 12px!important;border-bottom:1px solid #edf0f5!important;text-align:left!important;white-space:nowrap!important}.recon285-attention th{background:#fafbfe!important;color:#728099!important}.recon285-quick{padding-bottom:10px!important}.recon285-quick>button{width:calc(100% - 20px)!important;min-height:66px!important;margin:9px 10px 0!important;padding:10px 12px!important;display:grid!important;grid-template-columns:34px 1fr 18px!important;gap:10px!important;align-items:center!important;border:1px solid #e6eaf1!important;border-radius:11px!important;background:#fff!important;text-align:left!important}.recon285-quick>button>span{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#f1edff!important;color:#6548dc!important;font-weight:800!important}.recon285-quick b,.recon285-quick small{display:block!important}.recon285-quick small{margin-top:3px!important;color:#8794a8!important}.recon285-quick i{color:#6548dc!important;font-style:normal!important}
.recon285-insights{margin-top:14px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.recon285-insights .mfv20-insight{min-height:235px!important;height:auto!important;display:flex!important;flex-direction:column!important}.recon285-insights .mfv20-insight>i{position:static!important;margin-top:auto!important;padding-top:10px!important}
.recon285-register{margin-top:14px!important}.recon285-register-wrap{overflow:auto!important;max-width:100%!important}.recon285-register-wrap table{min-width:1100px!important;width:100%!important;border-collapse:collapse!important}.recon285-register-wrap th,.recon285-register-wrap td{padding:9px 11px!important;border-bottom:1px solid #edf0f5!important;white-space:nowrap!important;text-align:left!important}
.recon285-advanced{margin-top:14px!important}.recon285-advanced-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding-top:14px!important}.recon285-advanced-grid>button{min-height:205px!important;padding:16px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;border:1px solid #e4e9f2!important;border-radius:12px!important;background:#fff!important;text-align:left!important;cursor:pointer!important}.recon285-advanced-grid h3{margin:7px 0!important;color:#263750!important}.recon285-advanced-grid p{margin:0!important;color:#687890!important;line-height:1.5!important}.recon285-advanced-grid i{margin-top:auto!important;padding-top:13px!important;color:#6548dc!important;font-style:normal!important;font-weight:800!important}.recon285-advanced-drawer{display:flex!important;flex-direction:column!important;gap:13px!important}.recon285-advanced-drawer header,.recon285-adv-narrative article{padding:13px!important;border:1px solid #e5eaf2!important;border-radius:12px!important;background:#fff!important}.recon285-adv-narrative{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.recon285-adv-narrative p{margin:7px 0 0!important;color:#62728a!important;line-height:1.5!important}.recon285-adv-svg{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:220px!important}.recon285-adv-svg text{fill:#65758d!important}
.recon285-root .v18-chart-chip,.recon285-root #v18VisualSheet{display:none!important}
@media(max-width:1180px){.recon285-root .mfv20-filter-core{grid-template-columns:repeat(3,minmax(0,1fr))!important}.recon285-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}.recon285-primary-grid,.recon285-op-grid{grid-template-columns:1fr!important}.recon285-analytics{grid-template-columns:1fr!important}.recon285-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.recon285-root .mfv20-filter-core,.recon285-kpis,.recon285-insights,.recon285-advanced-grid,.recon285-adv-narrative{grid-template-columns:1fr!important}.recon285-context{grid-template-columns:1fr!important}.recon285-map-stage{transform:scale(.68)!important}}


/* ============================================================================
   V20.87 — RECONCILIATIONS HUB · SPEC-ALIGNED MODEL YOUR ANALYSIS CANVAS
   Page 1 supplied specification is the visual / interaction authority.
   ============================================================================ */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-spec-model{
 overflow:hidden!important;background:#fff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-spec-model>.mfv20-hero-head{
 padding-bottom:14px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-workspace{
 border-top:1px solid #e9edf4!important;background:#fff!important;min-width:0!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar{
 min-height:62px!important;padding:12px 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border-bottom:1px solid #e9edf4!important;background:#fff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar h3{margin:0!important;color:#263650!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar p{margin:4px 0 0!important;color:#7b899d!important;font-size:12px!important;line-height:1.35!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-tools{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-tools>button,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-auto-layout{height:32px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 9px!important;border:0!important;background:transparent!important;color:#61718a!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-tools>button:hover{color:#6548dc!important;background:#f7f5ff!important;border-radius:8px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-auto-layout button{position:relative!important;width:42px!important;height:23px!important;border:1px solid #d9e0ea!important;border-radius:999px!important;background:#e9edf4!important;padding:0!important;cursor:pointer!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-auto-layout button i{position:absolute!important;top:2px!important;left:2px!important;width:17px!important;height:17px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(30,45,70,.25)!important;transition:left .16s ease!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-auto-layout button.on{background:#2f64eb!important;border-color:#2f64eb!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-auto-layout button.on i{left:20px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-body{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;min-height:438px!important;min-width:0!important;background:#fbfcff!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-palette{padding:12px!important;border-right:1px solid #e6ebf3!important;background:#fff!important;min-width:0!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-palette h4{margin:0 0 10px!important;color:#8695aa!important;font-size:11px!important;line-height:1.2!important;text-transform:uppercase!important;letter-spacing:.04em!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item{width:100%!important;min-height:34px!important;margin:0 0 5px!important;padding:5px 7px!important;display:grid!important;grid-template-columns:28px 1fr 22px!important;gap:6px!important;align-items:center!important;border:1px solid #edf0f5!important;border-radius:8px!important;background:#fff!important;color:#33445e!important;text-align:left!important;cursor:grab!important;transition:border-color .14s ease,background .14s ease!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item:hover{border-color:#cfc7ff!important;background:#fbfaff!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item.placed{background:#f8f9fc!important;color:#6c7a90!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-icon{width:24px!important;height:24px!important;border-radius:7px!important;display:grid!important;place-items:center!important;background:#f0edff!important;color:#6748df!important;font-size:12px!important;font-weight:900!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item.blue .recon245-palette-icon{background:#eef3ff!important;color:#3e70e8!important}.recon245-palette-item.green .recon245-palette-icon{background:#eaf9f3!important;color:#1a9e73!important}.recon245-palette-item.orange .recon245-palette-icon{background:#fff4e8!important;color:#e48925!important}.recon245-palette-item.red .recon245-palette-icon{background:#fff0f2!important;color:#e35464!important}.recon245-palette-item.teal .recon245-palette-icon{background:#eaf8f8!important;color:#259aa2!important}.recon245-palette-item.amber .recon245-palette-icon{background:#fff5df!important;color:#df9622!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item b{display:block!important;font-size:12px!important;line-height:1.15!important;font-weight:750!important}.recon245-palette-item small{display:block!important;margin-top:2px!important;font-size:10px!important;line-height:1.1!important;color:#95a1b2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.recon245-palette-item i{font-style:normal!important;color:#a4afc0!important;text-align:center!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-canvas-scroll{min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;background:radial-gradient(circle at 1px 1px,#e6ebf3 1px,transparent 1.15px) 0 0/20px 20px,#fbfcff!important;scrollbar-width:thin!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-stage{position:relative!important;width:1080px!important;min-width:1080px!important;height:420px!important;overflow:hidden!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-edges{position:absolute!important;inset:0!important;width:1080px!important;height:420px!important;pointer-events:none!important;z-index:1!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-edges .flow{fill:none!important;stroke:#a8b4c6!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important}.recon245-model-edges .secondary{stroke:#c0c9d7!important;stroke-width:1.45!important}.recon245-model-edges .attention{stroke:#e39b2c!important;stroke-dasharray:6 6!important}.recon245-model-edges .danger{stroke:#e15c68!important;stroke-dasharray:6 6!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node{position:absolute!important;z-index:3!important;width:210px!important;height:64px!important;padding:9px 30px 9px 12px!important;display:flex!important;align-items:center!important;gap:10px!important;border:1.5px solid #d8dfeb!important;border-radius:10px!important;background:#fff!important;box-shadow:0 3px 8px rgba(32,49,80,.05)!important;color:#263650!important;text-align:left!important;cursor:grab!important;touch-action:none!important;transition:box-shadow .13s ease,border-color .13s ease!important;box-sizing:border-box!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node.logic,[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node.output{width:220px!important;height:66px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node:hover,[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node.selected{box-shadow:0 8px 18px rgba(53,65,102,.11)!important;border-color:#7760ed!important}.recon245-model-node.dragging{cursor:grabbing!important;box-shadow:0 12px 26px rgba(45,57,91,.17)!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-node.purple{border-color:#7860ef!important}.recon245-model-node.blue{border-color:#7aa0fa!important}.recon245-model-node.green{border-color:#52c69f!important}.recon245-model-node.orange{border-color:#efaa54!important}.recon245-model-node.red{border-color:#ee727e!important}.recon245-model-node.violet{border-color:#9a7df5!important}.recon245-model-node.teal{border-color:#62c7ca!important}.recon245-model-node.amber{border-color:#edb454!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#6650e5!important;color:#fff!important;font-size:13px!important;font-weight:900!important}.recon245-model-node.blue .recon245-model-icon{background:#3f74e9!important}.recon245-model-node.green .recon245-model-icon{background:#1ea977!important}.recon245-model-node.orange .recon245-model-icon{background:#e9912b!important}.recon245-model-node.red .recon245-model-icon{background:#e65a69!important}.recon245-model-node.violet .recon245-model-icon{background:#7154df!important}.recon245-model-node.teal .recon245-model-icon{background:#2b9da6!important}.recon245-model-node.amber .recon245-model-icon{background:#e79c2b!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-copy{min-width:0!important;display:block!important}.recon245-model-copy b{display:block!important;font-size:13px!important;line-height:1.15!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.recon245-model-copy small{display:block!important;margin-top:4px!important;font-size:11px!important;line-height:1.15!important;color:#7b899e!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-port{position:absolute!important;top:50%!important;width:12px!important;height:12px!important;margin-top:-6px!important;border:2px solid #8190aa!important;border-radius:50%!important;background:#fff!important;box-sizing:border-box!important}.recon245-model-port.in{left:-7px!important}.recon245-model-port.out{right:-7px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-remove{position:absolute!important;top:4px!important;right:6px!important;width:18px!important;height:18px!important;display:grid!important;place-items:center!important;border-radius:50%!important;color:#a0aabc!important;font-size:13px!important;line-height:1!important;opacity:0!important}.recon245-model-node:hover .recon245-model-remove,.recon245-model-node:focus .recon245-model-remove{opacity:1!important}.recon245-model-remove:hover{background:#fff0f2!important;color:#d94d5b!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-add-output{position:absolute!important;z-index:2!important;width:220px!important;height:66px!important;border:1.5px dashed #abb8ca!important;border-radius:10px!important;background:rgba(255,255,255,.78)!important;color:#74839a!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important}.recon245-add-output:hover{border-color:#7056e5!important;color:#6548dc!important;background:#faf8ff!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-calc-badge{position:absolute!important;right:18px!important;bottom:12px!important;z-index:2!important;min-width:130px!important;padding:8px 10px!important;border:1px solid #e3e8f0!important;border-radius:9px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 3px 9px rgba(36,52,81,.04)!important;text-align:right!important}.recon245-model-calc-badge b{display:block!important;color:#263650!important;font-size:15px!important}.recon245-model-calc-badge span{display:block!important;color:#8b98aa!important;font-size:10px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof{min-height:34px!important;padding:8px 14px!important;display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;border-top:1px solid #e9edf4!important;background:#fff!important;color:#76849a!important;font-size:10.5px!important;line-height:1.3!important}.recon245-model-proof span{white-space:nowrap!important}.recon245-model-proof b{color:#34455f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-workspace.expanded .recon245-model-stage{height:560px!important}.recon245-model-workspace.expanded .recon245-model-body{min-height:578px!important}.recon245-model-workspace.expanded .recon245-model-canvas-scroll{max-height:578px!important}

@media(max-width:1180px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-body{grid-template-columns:205px minmax(0,1fr)!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar{align-items:flex-start!important;flex-direction:column!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-tools{width:100%!important;justify-content:flex-end!important}
}
@media(max-width:760px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-body{grid-template-columns:1fr!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-palette{border-right:0!important;border-bottom:1px solid #e6ebf3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-palette h4{grid-column:1/-1!important}.recon245-palette-item{margin:0!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-tools{overflow-x:auto!important;justify-content:flex-start!important}
}


/* ============================================================================
   V20.88 — RECONCILIATIONS HUB ENTERPRISE MULTI-SOURCE INTELLIGENCE
   ============================================================================ */

/* Left reconciliation-input library */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-palette{
 display:flex!important;
 flex-direction:column!important;
 gap:8px!important;
 padding:12px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-head{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-head h4{
 margin:0!important;color:#253650!important;font-size:13px!important;text-transform:none!important;letter-spacing:0!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-head small{
 display:block!important;margin-top:3px!important;color:#7b899d!important;font-size:11px!important;line-height:1.35!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-head>span{
 flex:0 0 auto!important;padding:4px 7px!important;border-radius:999px!important;background:#f1edff!important;color:#6548dc!important;font-size:11px!important;font-weight:800!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-actions{
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-actions button{
 min-height:30px!important;border:1px solid #dde4ee!important;border-radius:8px!important;background:#fff!important;color:#5e6e86!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-actions button:hover{
 border-color:#c9beff!important;color:#6548dc!important;background:#faf8ff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-list{
 display:flex!important;flex-direction:column!important;gap:5px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item{
 margin:0!important;min-height:48px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item.selected{
 border-color:#7259e9!important;background:#faf8ff!important;box-shadow:inset 0 0 0 1px rgba(103,72,232,.12)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-item.selected>i{
 width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#6750df!important;color:#fff!important
}

/* Model toolbar and Generate report action */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar{
 gap:14px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-toolbar>div:first-child{
 min-width:280px!important;max-width:620px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-generate-report{
 min-height:34px!important;padding:0 12px!important;border:1px solid #d0c5ff!important;border-radius:9px!important;background:linear-gradient(135deg,#6e55e8,#5b42d4)!important;color:#fff!important;font-weight:800!important;white-space:nowrap!important;box-shadow:0 4px 10px rgba(93,65,210,.13)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-generate-report:disabled{
 background:#eef1f6!important;color:#97a3b4!important;border-color:#e0e5ec!important;box-shadow:none!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-empty{
 position:absolute!important;left:340px!important;top:170px!important;width:390px!important;z-index:4!important;padding:18px!important;border:1px dashed #cfd8e6!important;border-radius:13px!important;background:rgba(255,255,255,.94)!important;text-align:center!important;color:#75849a!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-empty b{display:block!important;color:#2c3d58!important;margin-bottom:5px!important}

/* Data-confidence proof strip */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof{
 font-size:11px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof .live,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof .reference{
 margin-left:auto!important;padding:4px 7px!important;border-radius:999px!important;font-weight:800!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof .live{background:#ebfaf4!important;color:#13805d!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-model-proof .reference{background:#fff5e7!important;color:#9b691e!important}

/* Enterprise cross-domain analytics */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-enterprise-analytics{
 margin-top:14px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head{
 padding:16px 18px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;border:1px solid #e3e8f1!important;border-radius:15px!important;background:linear-gradient(135deg,#fff,#fbfaff)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head span{
 color:#6548dc!important;font-weight:850!important;letter-spacing:.045em!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head h2{margin:5px 0 3px!important;color:#21324c!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head p{margin:0!important;color:#6c7b92!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head>div:last-child{
 min-width:160px!important;padding:10px 12px!important;border:1px solid #e5e8f1!important;border-radius:11px!important;background:#fff!important;text-align:right!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head>div:last-child b{display:block!important;color:#1f304a!important;font-size:24px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head>div:last-child small{color:#8592a5!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-chart-grid{
 margin-top:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-chart-grid .recon245-chart.wide{
 grid-column:auto!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-svg-wrap{width:100%!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend{
 display:flex!important;gap:13px!important;flex-wrap:wrap!important;margin-bottom:7px!important;color:#6d7b91!important;font-size:11px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend span{display:inline-flex!important;align-items:center!important;gap:6px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend i{width:13px!important;height:4px!important;border-radius:4px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend i.match{background:#7698ed!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend i.exceptions{background:#e4616f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-legend i.risk{background:#e4a22d!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg{
 display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:230px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .grid{stroke:#e7ecf4!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .match-bar{fill:#7f9deb!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .exception-line{fill:none!important;stroke:#e35f6c!important;stroke-width:2.7!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .exception-dot{fill:#fff!important;stroke:#e35f6c!important;stroke-width:2.4!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .risk.high{fill:#e35f6c!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .risk.medium{fill:#e5a22f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg .risk.low{fill:#2cae7e!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-health-svg text,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg text,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg text{fill:#607088!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg .zero{stroke:#9eabc0!important;stroke-width:1.3!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg .negative{fill:#eb707b!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg .positive{fill:#37b486!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-variance-svg .exception-marker{fill:#6d58df!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg .axis{stroke:#cdd6e3!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg .guide{stroke:#e0e5ed!important;stroke-dasharray:5 5!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg .bubble.high{fill:#eb6471!important;fill-opacity:.72!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg .bubble.medium{fill:#e7a330!important;fill-opacity:.72!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-rel-svg .bubble.low{fill:#2caf80!important;fill-opacity:.72!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix{
 width:100%!important;display:flex!important;flex-direction:column!important;gap:5px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .head,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .row{
 display:grid!important;grid-template-columns:1.15fr repeat(5,1fr)!important;gap:5px!important;align-items:stretch!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .head b{
 padding:7px!important;color:#708097!important;font-size:11px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .row>strong{
 display:flex!important;align-items:center!important;padding:8px!important;color:#273952!important;font-size:12px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .row>span{
 min-height:38px!important;padding:6px!important;display:grid!important;place-items:center!important;border-radius:8px!important;text-align:center!important;font-size:11px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .good{background:#ebfaf4!important;color:#137957!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .watch{background:#fff6e7!important;color:#9a681f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix .attention{background:#fff0f2!important;color:#bd4451!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-matrix>small{
 display:block!important;margin-top:5px!important;color:#8794a7!important;font-size:11px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-empty{
 width:100%!important;min-height:210px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#7c899d!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-empty b{color:#2d3f59!important;margin-bottom:5px!important}

[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-holistic-summary{
 margin-top:12px!important;padding:16px!important;border:1px solid #e4e9f2!important;border-radius:15px!important;background:#fff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-holistic-summary>header span{color:#6548dc!important;font-weight:850!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-holistic-summary>header h3{margin:5px 0 0!important;color:#25364f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-top:12px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid article{
 min-height:135px!important;padding:12px!important;border:1px solid #e7ebf2!important;border-radius:11px!important;background:#fbfcff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid span{color:#6548dc!important;font-weight:800!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid b{display:block!important;margin-top:7px!important;color:#25364f!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid p{margin:7px 0 0!important;color:#65758e!important;line-height:1.45!important}

/* Generated Matching Records Report inside the one approved contextual drawer */
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report{
 display:flex!important;flex-direction:column!important;gap:12px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-head{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:14px!important;border:1px solid #e4e8f0!important;border-radius:12px!important;background:linear-gradient(135deg,#fff,#faf8ff)!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-head span:first-child{
 color:#6548dc!important;font-weight:850!important;letter-spacing:.04em!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-head h3{margin:5px 0 3px!important;color:#21324c!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-head p{margin:0!important;color:#6c7b92!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-source-mode{
 padding:5px 8px!important;border-radius:999px!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-source-mode.live{background:#eafaf3!important;color:#147b59!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-source-mode.reference{background:#fff5e6!important;color:#9b671b!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis article{
 min-height:96px!important;padding:11px!important;border:1px solid #e6eaf1!important;border-radius:10px!important;background:#fff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis span{display:block!important;color:#7c8a9e!important;font-size:11px!important;font-weight:800!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis b{display:block!important;margin-top:5px!important;color:#21324c!important;font-size:20px!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis small{display:block!important;margin-top:4px!important;color:#8995a7!important;line-height:1.3!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-summary{
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-summary article,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-method{
 padding:12px!important;border:1px solid #e6eaf1!important;border-radius:10px!important;background:#fbfcff!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-summary span,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-method>span{color:#6548dc!important;font-weight:800!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-summary p,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-method p{margin:6px 0 0!important;color:#61718a!important;line-height:1.45!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-table{
 overflow:auto!important;border:1px solid #e6eaf1!important;border-radius:10px!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-table table{
 min-width:1200px!important;width:100%!important;border-collapse:collapse!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-table th,
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-table td{
 padding:8px 9px!important;border-bottom:1px solid #edf0f5!important;text-align:left!important;vertical-align:top!important
}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-table th{background:#fafbfe!important;color:#6e7e95!important}
[data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-priority{
 display:inline-grid!important;place-items:center!important;min-width:34px!important;height:24px!important;padding:0 5px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-weight:800!important
}

@media(max-width:1180px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-chart-grid{grid-template-columns:1fr!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon245-palette-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-summary-grid,
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-kpis,
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-report-summary{grid-template-columns:1fr!important}
 [data-testid="page-overview"] #ledger-v127-root[data-screen="reconciliations-hub"] .recon288-analytics-head{flex-direction:column!important}
}


/* ============================================================================
   V20.88.1 — RECONCILIATIONS HUB FONT READABILITY PATCH
   SOURCE: exact user-supplied V20.88 last-working package
   SCOPE: Operational Review + Quick Actions ONLY
   CHANGE: +1px to existing local font sizes. No layout/canvas/JS changes.
   ============================================================================ */

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-operational>header span{
  font-size:9px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-operational>header h3{
  font-size:15px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head span{
  font-size:8.5px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head h4{
  font-size:13px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head button{
  font-size:9px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-attention th,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-attention td{
  font-size:9px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-risk{
  font-size:8px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick>button>span{
  font-size:9px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick button b{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick button small{
  font-size:8.5px!important;
}


/* ============================================================================
   V20.88.2 — RECONCILIATIONS HUB OPERATIONAL REVIEW TYPOGRAPHY TARGETS
   SOURCE: V20.88.1 last-working baseline
   SCOPE: Operational Review / Attention Queue / Quick Actions ONLY
   ============================================================================ */

#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-operational>header span{
  font-size:15px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-operational>header h3{
  font-size:13px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head span{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head h4{
  font-size:13px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-panel-head button{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-attention th,
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-attention td{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-risk{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick>button>span{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick button b{
  font-size:10px!important;
}
#ledger-v127-root[data-screen="reconciliations-hub"] .recon245-quick button small{
  font-size:10px!important;
}


/* ============================================================================
   V20.88.3 — BANK RECONCILIATIONS · CASH TRUTH BUILDER CANVAS SPEC FIX
   Working V20.88.2 baseline retained. Bank canvas only.
   ============================================================================ */
[data-testid="page-bank"] .bank251-spec-canvas-card{overflow:hidden!important}
[data-testid="page-bank"] .bank251-spec-canvas-head{padding:15px 17px 12px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;border-bottom:1px solid #e9edf4!important;background:#fff!important}
[data-testid="page-bank"] .bank251-spec-canvas-head>div:first-child>span{color:#6548dc!important;font-size:11px!important;font-weight:850!important;letter-spacing:.045em!important}
[data-testid="page-bank"] .bank251-spec-canvas-head h2{margin:5px 0 2px!important;color:#20314b!important;font-size:18px!important;line-height:1.25!important}
[data-testid="page-bank"] .bank251-spec-canvas-head p{margin:0!important;color:#65758e!important;font-size:12px!important;line-height:1.4!important}
[data-testid="page-bank"] .bank251-spec-canvas-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
[data-testid="page-bank"] .bank251-spec-canvas-actions label{display:inline-flex!important;align-items:center!important;gap:7px!important;color:#40526d!important;font-size:11px!important;font-weight:750!important}
[data-testid="page-bank"] .bank251-spec-canvas-actions>button{min-height:34px!important;padding:0 11px!important;border:1px solid #dce3ef!important;border-radius:8px!important;background:#fff!important;color:#435570!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
[data-testid="page-bank"] .bank251-spec-canvas-actions>button.validate{color:#5140ca!important;border-color:#d7ceff!important;background:#faf8ff!important}
[data-testid="page-bank"] .bank251-spec-canvas-actions>button small{display:inline-grid!important;place-items:center!important;min-width:18px!important;height:18px!important;margin-left:4px!important;border-radius:999px!important;background:#eee9ff!important;color:#5d47d6!important}
[data-testid="page-bank"] .bank251-canvas-switch{position:relative!important;width:39px!important;height:22px!important;padding:0!important;border:1px solid #d8dfeb!important;border-radius:999px!important;background:#eef1f5!important}
[data-testid="page-bank"] .bank251-canvas-switch i{position:absolute!important;top:2px!important;left:2px!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 4px rgba(30,48,76,.22)!important;transition:left .15s ease!important}
[data-testid="page-bank"] .bank251-canvas-switch.on{background:#6250e7!important;border-color:#6250e7!important}
[data-testid="page-bank"] .bank251-canvas-switch.on i{left:18px!important}
[data-testid="page-bank"] .bank251-canvas-scope{padding:8px 17px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-bottom:1px solid #edf0f5!important;color:#708098!important;font-size:11px!important}
[data-testid="page-bank"] .bank251-canvas-scope b{color:#243650!important}
[data-testid="page-bank"] .bank251-spec-viewport{width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;background:#fff!important;cursor:grab!important;scrollbar-width:thin!important}
[data-testid="page-bank"] .bank251-spec-viewport.is-dragging{cursor:grabbing!important}
[data-testid="page-bank"] .bank251-spec-stage{position:relative!important;width:1040px!important;min-width:1040px!important;height:390px!important;margin:0 auto!important;background:radial-gradient(circle at 1px 1px,#e8edf6 1px,transparent 1.12px) 0 0/17px 17px,linear-gradient(#fff,#fcfdff)!important}
[data-testid="page-bank"] .bank251-spec-connectors{position:absolute!important;inset:0!important;width:1040px!important;height:390px!important;pointer-events:none!important}
[data-testid="page-bank"] .bank251-spec-connectors path{fill:none!important;stroke:#8aa8d9!important;stroke-width:1.8!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-bank"] .bank251-spec-node{position:absolute!important;z-index:3!important;box-sizing:border-box!important;padding:12px 13px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important;border:1px solid #cbd8ec!important;border-radius:11px!important;background:#fff!important;color:#253751!important;text-align:left!important;box-shadow:0 4px 13px rgba(42,61,95,.055)!important;cursor:pointer!important;overflow:hidden!important}
[data-testid="page-bank"] .bank251-spec-stage.manual .bank251-spec-node{cursor:grab!important}
[data-testid="page-bank"] .bank251-spec-stage.manual .bank251-spec-node.is-dragging{cursor:grabbing!important;opacity:.88!important;box-shadow:0 12px 26px rgba(48,58,91,.14)!important}
[data-testid="page-bank"] .bank251-spec-node.blue{border-color:#a8baff!important;background:linear-gradient(145deg,#fff,#fafaff)!important}
[data-testid="page-bank"] .bank251-spec-node.green{border-color:#a8e5d0!important;background:linear-gradient(145deg,#fff,#f3fcf8)!important}
[data-testid="page-bank"] .bank251-spec-node.amber{border-color:#f1d0a2!important;background:linear-gradient(145deg,#fff,#fff9ef)!important}
[data-testid="page-bank"] .bank251-spec-node.purple{border-color:#d2c0ff!important;background:linear-gradient(145deg,#fff,#faf7ff)!important}
[data-testid="page-bank"] .bank251-spec-node.outcome{border-color:#a7e4cd!important;background:linear-gradient(145deg,#fff,#f4fcf8)!important}
[data-testid="page-bank"] .bank251-spec-node .node-title{width:100%!important;display:flex!important;align-items:center!important;gap:8px!important;color:#253751!important}
[data-testid="page-bank"] .bank251-spec-node .node-icon{flex:0 0 auto!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border-radius:7px!important;background:#f0edff!important;color:#5d48db!important;font-size:13px!important}
[data-testid="page-bank"] .bank251-spec-node.green .node-icon{background:#e9faf3!important;color:#15946a!important}
[data-testid="page-bank"] .bank251-spec-node.amber .node-icon{background:#fff4e2!important;color:#e48219!important}
[data-testid="page-bank"] .bank251-spec-node.purple .node-icon{background:#f1ebff!important;color:#7048df!important}
[data-testid="page-bank"] .bank251-spec-node .node-title b{min-width:0!important;font-size:12px!important;line-height:1.25!important;color:#243650!important;overflow-wrap:anywhere!important}
[data-testid="page-bank"] .bank251-spec-node>strong{display:block!important;color:#253751!important;font-size:11px!important;line-height:1.35!important}
[data-testid="page-bank"] .bank251-spec-node>small,[data-testid="page-bank"] .bank251-spec-node .node-sub{display:block!important;color:#6f7f97!important;font-size:10px!important;line-height:1.3!important}
[data-testid="page-bank"] .bank251-spec-node>em{display:block!important;color:#172943!important;font-size:14px!important;font-style:normal!important;font-weight:850!important;line-height:1.2!important;white-space:nowrap!important}
[data-testid="page-bank"] .bank251-spec-node>footer{width:100%!important;margin-top:auto!important;padding-top:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;border-top:1px solid rgba(213,220,232,.68)!important;color:#65758d!important;font-size:9px!important;font-style:normal!important}
[data-testid="page-bank"] .bank251-spec-node .dot{display:inline-block!important;width:7px!important;height:7px!important;margin-right:5px!important;border-radius:50%!important;background:#22b67f!important}
[data-testid="page-bank"] .bank251-spec-node.adjustment{justify-content:center!important}
[data-testid="page-bank"] .bank251-spec-node.outcome .variance-label{margin-top:4px!important;color:#6c7b91!important;font-size:9px!important}
[data-testid="page-bank"] .bank251-spec-node.outcome .variance-value{color:#df4654!important;font-size:13px!important}
[data-testid="page-bank"] .bank251-canvas-plus{position:absolute!important;z-index:4!important;transform:translate(-50%,-50%)!important;width:28px!important;height:28px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #d8dfeb!important;border-radius:50%!important;background:#fff!important;color:#6650dc!important;font-size:19px!important;font-weight:500!important;box-shadow:0 2px 6px rgba(45,61,91,.08)!important}
[data-testid="page-bank"] .bank251-canvas-plus:hover{background:#f7f5ff!important;border-color:#cfc4ff!important}
[data-testid="page-bank"] .bank251-canvas-validation{margin:0 17px 10px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:3px 10px!important;border:1px solid #e2e7ef!important;border-radius:10px!important;background:#fbfcff!important}
[data-testid="page-bank"] .bank251-canvas-validation>span{grid-row:1/3!important;align-self:center!important;padding:5px 8px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:9px!important;font-weight:850!important}
[data-testid="page-bank"] .bank251-canvas-validation>b{color:#293b55!important;font-size:11px!important}
[data-testid="page-bank"] .bank251-canvas-validation>small{color:#738198!important;font-size:9px!important;line-height:1.35!important}
[data-testid="page-bank"] .bank251-canvas-validation.valid{background:#f2fbf7!important;border-color:#c8eadb!important}
[data-testid="page-bank"] .bank251-canvas-validation.valid>span{background:#e5f8ef!important;color:#147c59!important}
[data-testid="page-bank"] .bank251-canvas-validation.attention{background:#fff7f2!important;border-color:#f0d1b9!important}
[data-testid="page-bank"] .bank251-canvas-validation.attention>span{background:#ffebde!important;color:#a55d25!important}
[data-testid="page-bank"] .bank251-canvas-dropzone{width:calc(100% - 34px)!important;min-height:45px!important;margin:0 17px 14px!important;padding:8px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px dashed #d4dceb!important;border-radius:9px!important;background:#fff!important;color:#60718a!important}
[data-testid="page-bank"] .bank251-canvas-dropzone>span{color:#6750df!important;font-size:17px!important}
[data-testid="page-bank"] .bank251-canvas-dropzone>b{font-size:10px!important}
[data-testid="page-bank"] .bank251-canvas-dropzone>small{font-size:9px!important;color:#8995a8!important}
[data-testid="page-bank"] .bank251-map-stage,[data-testid="page-bank"] .bank251-spec-stage{transform:none!important}
[data-testid="page-bank"] .bank251-map-viewport{height:auto!important}
@media(max-width:1180px){
 [data-testid="page-bank"] .bank251-spec-canvas-head{flex-direction:column!important}
 [data-testid="page-bank"] .bank251-spec-canvas-actions{justify-content:flex-start!important}
}


/* ============================================================================
   V20.88.4 — CREDIT CARD RECONCILIATIONS · SPEND INTELLIGENCE FLOW BUILDER
   Exact working V20.88.3 baseline retained. Card primary canvas only.
   ============================================================================ */

[data-testid="page-cards"] .recon286-card-builder{
 overflow:hidden!important
}
[data-testid="page-cards"] .recon286-card-builder-head{
 padding:14px 16px 11px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:14px!important;
 border-bottom:1px solid #e8edf4!important;
 background:#fff!important
}
[data-testid="page-cards"] .recon286-card-builder-head>div:first-child{
 min-width:0!important
}
[data-testid="page-cards"] .recon286-card-builder-head>div:first-child>span{
 color:#6449df!important;
 font-size:10px!important;
 font-weight:850!important;
 letter-spacing:.045em!important
}
[data-testid="page-cards"] .recon286-card-builder-head h2{
 margin:4px 0 2px!important;
 color:#20314b!important;
 font-size:18px!important;
 line-height:1.22!important
}
[data-testid="page-cards"] .recon286-card-builder-head p{
 margin:0!important;
 color:#65758e!important;
 font-size:11px!important;
 line-height:1.4!important
}
[data-testid="page-cards"] .recon286-card-builder-actions{
 display:flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 gap:7px!important;
 flex-wrap:wrap!important
}
[data-testid="page-cards"] .recon286-card-builder-actions>button{
 min-height:33px!important;
 padding:0 10px!important;
 border:1px solid #dbe2ee!important;
 border-radius:8px!important;
 background:#fff!important;
 color:#41536d!important;
 font-size:10px!important;
 font-weight:800!important;
 white-space:nowrap!important
}
[data-testid="page-cards"] .recon286-card-builder-actions>button.module{
 color:#5b46d4!important;
 border-color:#d7ceff!important;
 background:#faf8ff!important
}
[data-testid="page-cards"] .recon286-card-builder-actions label{
 display:inline-flex!important;
 align-items:center!important;
 gap:6px!important;
 color:#4d5f79!important;
 font-size:10px!important;
 font-weight:750!important
}
[data-testid="page-cards"] .recon286-card-switch{
 position:relative!important;
 width:38px!important;
 height:22px!important;
 padding:0!important;
 border:1px solid #d7deea!important;
 border-radius:999px!important;
 background:#edf1f5!important
}
[data-testid="page-cards"] .recon286-card-switch i{
 position:absolute!important;
 top:2px!important;
 left:2px!important;
 width:16px!important;
 height:16px!important;
 border-radius:50%!important;
 background:#fff!important;
 box-shadow:0 1px 4px rgba(34,50,77,.2)!important;
 transition:left .14s ease!important
}
[data-testid="page-cards"] .recon286-card-switch.on{
 background:#6250e7!important;
 border-color:#6250e7!important
}
[data-testid="page-cards"] .recon286-card-switch.on i{
 left:18px!important
}

[data-testid="page-cards"] .recon286-card-module-shelf{
 padding:9px 12px!important;
 display:grid!important;
 grid-template-columns:1.5fr repeat(5,minmax(125px,1fr))!important;
 gap:6px!important;
 border-bottom:1px solid #edf0f5!important;
 background:#fbfcff!important
}
[data-testid="page-cards"] .recon286-card-module-shelf>div{
 padding:5px 6px!important
}
[data-testid="page-cards"] .recon286-card-module-shelf>div b{
 display:block!important;
 color:#273850!important;
 font-size:10px!important
}
[data-testid="page-cards"] .recon286-card-module-shelf>div small{
 display:block!important;
 margin-top:2px!important;
 color:#7d8a9e!important;
 font-size:9px!important;
 line-height:1.3!important
}
[data-testid="page-cards"] .recon286-card-module-shelf>button{
 min-height:34px!important;
 padding:5px 7px!important;
 display:flex!important;
 align-items:center!important;
 gap:6px!important;
 border:1px solid #e1e6ef!important;
 border-radius:8px!important;
 background:#fff!important;
 color:#445570!important;
 font-size:9px!important;
 text-align:left!important
}
[data-testid="page-cards"] .recon286-card-module-shelf>button i{
 margin-left:auto!important;
 color:#15916a!important;
 font-size:8px!important;
 font-style:normal!important
}

[data-testid="page-cards"] .recon286-card-scope{
 padding:7px 15px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:10px!important;
 border-bottom:1px solid #edf0f5!important;
 color:#718098!important;
 font-size:10px!important
}
[data-testid="page-cards"] .recon286-card-scope b{
 color:#2a3b55!important
}

[data-testid="page-cards"] .recon286-card-viewport{
 width:100%!important;
 min-width:0!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:thin!important;
 background:#fff!important
}
[data-testid="page-cards"] .recon286-card-stage{
 position:relative!important;
 width:1630px!important;
 min-width:1630px!important;
 height:390px!important;
 background:
  radial-gradient(circle at 1px 1px,#e8edf6 1px,transparent 1.15px) 0 0/17px 17px,
  linear-gradient(#fff,#fcfdff)!important;
 transform-origin:top left!important
}
[data-testid="page-cards"] .recon286-card-viewport.fit .recon286-card-stage{
 transform:scale(.78)!important;
 height:305px!important;
 margin-bottom:-85px!important
}
[data-testid="page-cards"] .recon286-card-connectors{
 position:absolute!important;
 inset:0!important;
 width:1630px!important;
 height:390px!important;
 pointer-events:none!important
}
[data-testid="page-cards"] .recon286-card-connectors path{
 fill:none!important;
 stroke:#4d5aa4!important;
 stroke-width:1.8!important;
 vector-effect:non-scaling-stroke!important
}
[data-testid="page-cards"] .recon286-card-connectors path.dashed{
 stroke:#8090c7!important;
 stroke-dasharray:6 5!important
}

[data-testid="page-cards"] .recon286-card-node{
 position:absolute!important;
 z-index:3!important;
 box-sizing:border-box!important;
 padding:11px 12px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 justify-content:center!important;
 gap:4px!important;
 border:1px solid #d1daea!important;
 border-radius:10px!important;
 background:#fff!important;
 color:#263750!important;
 text-align:left!important;
 box-shadow:0 4px 12px rgba(37,57,91,.055)!important;
 cursor:pointer!important
}
[data-testid="page-cards"] .recon286-card-stage.manual .recon286-card-node{
 cursor:grab!important
}
[data-testid="page-cards"] .recon286-card-stage.manual .recon286-card-node.is-dragging{
 cursor:grabbing!important;
 opacity:.88!important;
 box-shadow:0 12px 24px rgba(39,54,85,.15)!important
}
[data-testid="page-cards"] .recon286-card-node.blue{
 border-color:#b4c4ff!important;
 background:linear-gradient(145deg,#fff,#fafbff)!important
}
[data-testid="page-cards"] .recon286-card-node.green{
 border-color:#afe4d0!important;
 background:linear-gradient(145deg,#fff,#f4fcf8)!important
}
[data-testid="page-cards"] .recon286-card-node.red{
 border-color:#f0b1b8!important;
 background:linear-gradient(145deg,#fff,#fff6f7)!important
}
[data-testid="page-cards"] .recon286-card-node.purple{
 border-color:#c8b9ff!important;
 background:linear-gradient(145deg,#fff,#f9f7ff)!important
}
[data-testid="page-cards"] .recon286-card-node-head{
 width:100%!important;
 display:flex!important;
 align-items:center!important;
 gap:7px!important
}
[data-testid="page-cards"] .recon286-card-node-head>span{
 flex:0 0 auto!important;
 display:grid!important;
 place-items:center!important;
 width:24px!important;
 height:24px!important;
 border-radius:7px!important;
 background:#f0edff!important;
 color:#624ade!important;
 font-size:13px!important
}
[data-testid="page-cards"] .recon286-card-node.green .recon286-card-node-head>span{
 background:#e9faf3!important;color:#16936a!important
}
[data-testid="page-cards"] .recon286-card-node.red .recon286-card-node-head>span{
 background:#fff0f2!important;color:#e55261!important
}
[data-testid="page-cards"] .recon286-card-node-head b{
 min-width:0!important;
 color:#253650!important;
 font-size:11px!important;
 line-height:1.2!important
}
[data-testid="page-cards"] .recon286-card-node>strong{
 color:#1f3049!important;
 font-size:13px!important;
 line-height:1.2!important
}
[data-testid="page-cards"] .recon286-card-node>em{
 color:#465d83!important;
 font-size:11px!important;
 font-style:normal!important;
 font-weight:750!important;
 white-space:nowrap!important
}
[data-testid="page-cards"] .recon286-card-node>small{
 color:#78869b!important;
 font-size:9px!important;
 line-height:1.25!important
}

[data-testid="page-cards"] .recon286-card-junction{
 position:absolute!important;
 z-index:5!important;
 transform:translate(-50%,-50%)!important;
 width:27px!important;
 height:27px!important;
 padding:0!important;
 display:grid!important;
 place-items:center!important;
 border:1px solid #d5dce8!important;
 border-radius:50%!important;
 background:#fff!important;
 color:#6550da!important;
 font-size:18px!important;
 box-shadow:0 2px 6px rgba(38,53,83,.08)!important
}

[data-testid="page-cards"] .recon286-card-integrity{
 margin:10px 14px!important;
 padding:10px 11px!important;
 border:1px solid #e1e6ee!important;
 border-radius:10px!important;
 background:#fbfcff!important
}
[data-testid="page-cards"] .recon286-card-integrity.neutral{
 display:grid!important;
 grid-template-columns:auto 1fr!important;
 gap:3px 9px!important
}
[data-testid="page-cards"] .recon286-card-integrity.neutral>span{
 grid-row:1/3!important;
 align-self:center!important;
 padding:5px 7px!important;
 border-radius:999px!important;
 background:#f0edff!important;
 color:#6548dc!important;
 font-size:9px!important;
 font-weight:850!important
}
[data-testid="page-cards"] .recon286-card-integrity.neutral>b{
 color:#2a3c55!important;
 font-size:10px!important
}
[data-testid="page-cards"] .recon286-card-integrity.neutral>small{
 color:#7b899d!important;
 font-size:9px!important
}
[data-testid="page-cards"] .recon286-integrity-head{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:9px!important;
 margin-bottom:8px!important
}
[data-testid="page-cards"] .recon286-integrity-head>span{
 padding:5px 7px!important;
 border-radius:999px!important;
 background:#fff2e7!important;
 color:#9c5c26!important;
 font-size:9px!important;
 font-weight:850!important
}
[data-testid="page-cards"] .recon286-card-integrity.pass .recon286-integrity-head>span{
 background:#e9f9f1!important;
 color:#147b59!important
}
[data-testid="page-cards"] .recon286-integrity-head>b{
 color:#2b3d56!important;
 font-size:10px!important
}
[data-testid="page-cards"] .recon286-integrity-grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:6px!important
}
[data-testid="page-cards"] .recon286-integrity-grid article{
 min-height:57px!important;
 padding:7px 8px!important;
 display:grid!important;
 grid-template-columns:20px 1fr!important;
 gap:7px!important;
 align-items:start!important;
 border:1px solid #e6eaf1!important;
 border-radius:8px!important;
 background:#fff!important
}
[data-testid="page-cards"] .recon286-integrity-grid article>span{
 display:grid!important;
 place-items:center!important;
 width:20px!important;
 height:20px!important;
 border-radius:50%!important;
 background:#eaf9f2!important;
 color:#177c5a!important;
 font-size:10px!important;
 font-weight:900!important
}
[data-testid="page-cards"] .recon286-integrity-grid article.warn.issue>span{
 background:#fff0df!important;
 color:#a76723!important
}
[data-testid="page-cards"] .recon286-integrity-grid article.info>span{
 background:#eef3ff!important;
 color:#506ed0!important
}
[data-testid="page-cards"] .recon286-integrity-grid article b{
 display:block!important;
 color:#2a3b54!important;
 font-size:9px!important
}
[data-testid="page-cards"] .recon286-integrity-grid article small{
 display:block!important;
 margin-top:2px!important;
 color:#75839a!important;
 font-size:8px!important;
 line-height:1.3!important
}

[data-testid="page-cards"] .recon286-card-foot{
 padding:9px 14px!important;
 display:flex!important;
 align-items:center!important;
 gap:14px!important;
 flex-wrap:wrap!important;
 border-top:1px solid #edf0f5!important;
 color:#6f7e95!important;
 font-size:9px!important
}
[data-testid="page-cards"] .recon286-card-foot span{
 display:inline-flex!important;
 align-items:center!important;
 gap:5px!important
}
[data-testid="page-cards"] .recon286-card-foot i{
 width:14px!important;height:3px!important;border-radius:999px!important;background:#8194bd!important
}
[data-testid="page-cards"] .recon286-card-foot i.evidence{background:#35ab80!important}
[data-testid="page-cards"] .recon286-card-foot i.attention{background:#e25f6c!important}
[data-testid="page-cards"] .recon286-card-foot i.resolved{background:#674fe0!important}
[data-testid="page-cards"] .recon286-card-foot em{
 margin-left:auto!important;
 color:#8895a7!important;
 font-style:normal!important
}

[data-testid="page-cards"] .recon286-junction-detail{
 padding:12px!important
}
[data-testid="page-cards"] .recon286-junction-detail>span{
 color:#6548dc!important;font-size:10px!important;font-weight:850!important
}
[data-testid="page-cards"] .recon286-junction-detail h3{
 margin:5px 0!important;color:#23354f!important
}
[data-testid="page-cards"] .recon286-junction-detail p{
 margin:0!important;color:#61718a!important;line-height:1.5!important
}

@media(max-width:1180px){
 [data-testid="page-cards"] .recon286-card-builder-head{
  flex-direction:column!important
 }
 [data-testid="page-cards"] .recon286-card-builder-actions{
  justify-content:flex-start!important
 }
 [data-testid="page-cards"] .recon286-card-module-shelf{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
 [data-testid="page-cards"] .recon286-integrity-grid{
  grid-template-columns:1fr!important
 }
}


/* ============================================================================
   V20.88.5 — CREDIT CARD CONTEXTUAL DRAWER · EXACT CLICKED NODE DATA
   Scope: drawer content only. V20.88.4 Card canvas remains unchanged.
   ============================================================================ */

.recon286-card-drawer-content{
 display:flex!important;
 flex-direction:column!important;
 gap:10px!important
}
.recon286-selected-context{
 padding:13px 14px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:12px!important;
 border:1px solid #e2e6ee!important;
 border-radius:11px!important;
 background:#fff!important
}
.recon286-selected-context>div>span{
 color:#6449df!important;font-size:10px!important;font-weight:850!important;letter-spacing:.05em!important
}
.recon286-selected-context h2{margin:5px 0 2px!important;color:#243650!important;font-size:18px!important}
.recon286-selected-context p{margin:0!important;color:#738199!important;font-size:11px!important;line-height:1.4!important}
.recon286-selected-badge{
 flex:0 0 auto!important;padding:6px 9px!important;border-radius:999px!important;background:#f1edff!important;color:#6548dc!important;font-size:9px!important;font-weight:800!important
}
.recon286-drawer-preview{
 min-height:132px!important;padding:14px!important;display:flex!important;align-items:center!important;gap:14px!important;border:1px solid #dbe3ef!important;border-radius:12px!important;background:linear-gradient(145deg,#fff,#fbfcff)!important
}
.recon286-drawer-preview.blue{border-color:#b8c7ff!important;background:linear-gradient(145deg,#fff,#f8faff)!important}
.recon286-drawer-preview.green{border-color:#b6e5d4!important;background:linear-gradient(145deg,#fff,#f5fcf9)!important}
.recon286-drawer-preview.red{border-color:#f0b8be!important;background:linear-gradient(145deg,#fff,#fff7f8)!important}
.recon286-drawer-preview.purple{border-color:#d1c4ff!important;background:linear-gradient(145deg,#fff,#faf8ff)!important}
.recon286-drawer-preview>.icon{
 flex:0 0 auto!important;width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#eeebff!important;color:#6248dd!important;font-size:22px!important
}
.recon286-drawer-preview.green>.icon{background:#e8f9f1!important;color:#168964!important}
.recon286-drawer-preview.red>.icon{background:#fff0f2!important;color:#df5260!important}
.recon286-drawer-preview>div{min-width:0!important}
.recon286-drawer-preview small{color:#7d8a9e!important;font-size:9px!important;font-weight:800!important;letter-spacing:.04em!important}
.recon286-drawer-preview h3{margin:4px 0!important;color:#253750!important;font-size:17px!important}
.recon286-drawer-preview b{display:block!important;color:#263851!important;font-size:13px!important}
.recon286-drawer-preview strong{display:block!important;margin-top:3px!important;color:#314866!important;font-size:14px!important}
.recon286-drawer-preview p{margin:6px 0 0!important;color:#6a7990!important;font-size:11px!important;line-height:1.45!important}

.recon286-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.recon286-drawer-facts article{min-height:82px!important;padding:10px!important;border:1px solid #e4e8ef!important;border-radius:10px!important;background:#fff!important}
.recon286-drawer-facts span{display:block!important;color:#8190a4!important;font-size:9px!important}
.recon286-drawer-facts b{display:block!important;margin-top:5px!important;color:#253750!important;font-size:14px!important;overflow-wrap:anywhere!important}
.recon286-drawer-facts small{display:block!important;margin-top:3px!important;color:#8b96a8!important;font-size:8.5px!important;line-height:1.3!important}

.recon286-drawer-card{padding:13px 14px!important;border:1px solid #e3e7ef!important;border-radius:11px!important;background:#fff!important}
.recon286-drawer-card>span{color:#6548dc!important;font-size:10px!important;font-weight:850!important;letter-spacing:.05em!important}
.recon286-drawer-card h3{margin:5px 0!important;color:#253750!important;font-size:15px!important;line-height:1.35!important}
.recon286-drawer-card>p{margin:5px 0 0!important;color:#65758d!important;font-size:11px!important;line-height:1.5!important}
.recon286-drawer-card p.note{margin-top:9px!important;padding:9px 10px!important;border-radius:8px!important;background:#fff7e9!important;color:#8c6527!important}

.recon286-drawer-relation{margin-top:10px!important;display:grid!important;grid-template-columns:1fr auto 1fr auto 1fr!important;align-items:stretch!important;gap:7px!important}
.recon286-drawer-relation article{padding:9px!important;border:1px solid #e5e9f0!important;border-radius:9px!important;background:#fbfcff!important}
.recon286-drawer-relation article.selected{border-color:#d5caff!important;background:#faf8ff!important}
.recon286-drawer-relation article small{display:block!important;color:#8a96a8!important;font-size:8px!important}
.recon286-drawer-relation article b{display:block!important;margin-top:4px!important;color:#2c3d56!important;font-size:10px!important;line-height:1.35!important}
.recon286-drawer-relation>i{align-self:center!important;color:#8b98ab!important;font-size:17px!important;font-style:normal!important}

.recon286-formula-card{background:linear-gradient(135deg,#fbfaff,#fff)!important;border-color:#ded7ff!important}
.recon286-formula-card h3{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:12px!important;overflow-wrap:anywhere!important}

.recon286-integrity-mini{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:9px!important}
.recon286-integrity-mini article{padding:9px!important;border:1px solid #e5e9f0!important;border-radius:9px!important;background:#fbfcff!important}
.recon286-integrity-mini article.pass{border-color:#d3ecdf!important;background:#f6fcf9!important}
.recon286-integrity-mini article.warn{border-color:#f0d2b8!important;background:#fff8f2!important}
.recon286-integrity-mini b{display:block!important;color:#2b3c55!important;font-size:10px!important}
.recon286-integrity-mini p{margin:4px 0 0!important;color:#6f7d92!important;font-size:9px!important;line-height:1.4!important}

.recon286-record-summary{margin-top:10px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.recon286-record-summary article{padding:9px!important;border:1px solid #e7eaf1!important;border-radius:8px!important;background:#fbfcff!important}
.recon286-record-summary span{display:block!important;color:#8693a6!important;font-size:8px!important}
.recon286-record-summary b{display:block!important;margin-top:4px!important;color:#2b3d56!important;font-size:11px!important;overflow-wrap:anywhere!important}

.recon286-drawer-actions article,.recon286-related-row{
 margin-top:7px!important;padding:9px!important;display:grid!important;grid-template-columns:26px 1fr!important;gap:8px!important;align-items:start!important;border:1px solid #e6eaf1!important;border-radius:9px!important;background:#fbfcff!important
}
.recon286-drawer-actions article>i,.recon286-related-row>i{
 width:26px!important;height:26px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:#f0edff!important;color:#6548dc!important;font-size:9px!important;font-style:normal!important;font-weight:850!important
}
.recon286-drawer-actions article b,.recon286-related-row b{display:block!important;color:#2b3d56!important;font-size:10px!important}
.recon286-drawer-actions article p,.recon286-related-row small{display:block!important;margin:3px 0 0!important;color:#77859a!important;font-size:9px!important;line-height:1.4!important}

/* Critical defect fix: canvas nodes are absolute-positioned inside the flow.
   Drawer previews are purpose-built static components, so no off-canvas clone
   can create a blank visual stage. */
.recon286-card-drawer .recon286-card-node{
 position:static!important;left:auto!important;top:auto!important;width:auto!important;height:auto!important;transform:none!important
}

@media(max-width:1180px){
 .recon286-drawer-facts,.recon286-record-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .recon286-integrity-mini{grid-template-columns:1fr!important}
}


/* ============================================================================
   V20.88.6 — GL ACCOUNT RECONCILIATIONS · ACCOUNT INTEGRITY STUDIO
   Scope: GL primary canvas + GL contextual drawer only.
   ============================================================================ */

[data-testid="page-gl"] .recon287-gl-studio{
 overflow:hidden!important
}
[data-testid="page-gl"] .recon287-gl-head{
 padding:14px 16px 11px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:14px!important;
 border-bottom:1px solid #e8edf4!important;
 background:#fff!important
}
[data-testid="page-gl"] .recon287-gl-head>div:first-child{min-width:0!important}
[data-testid="page-gl"] .recon287-gl-head>div:first-child>span{
 color:#6548dc!important;font-size:10px!important;font-weight:850!important;letter-spacing:.045em!important
}
[data-testid="page-gl"] .recon287-gl-head h2{
 margin:4px 0 2px!important;color:#20314b!important;font-size:18px!important;line-height:1.22!important
}
[data-testid="page-gl"] .recon287-gl-head p{
 margin:0!important;color:#65758e!important;font-size:11px!important;line-height:1.4!important
}
[data-testid="page-gl"] .recon287-gl-toolbar{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important
}
[data-testid="page-gl"] .recon287-gl-toolbar>button{
 min-width:34px!important;height:34px!important;padding:0 9px!important;border:1px solid #dce3ee!important;border-radius:8px!important;background:#fff!important;color:#485a75!important;font-size:13px!important;font-weight:800!important
}
[data-testid="page-gl"] .recon287-gl-toolbar>button.fit{font-size:10px!important}
[data-testid="page-gl"] .recon287-gl-toolbar>button.validate{
 color:#5a45d3!important;border-color:#d9d0ff!important;background:#faf8ff!important;font-size:10px!important
}

[data-testid="page-gl"] .recon287-gl-body{
 display:grid!important;
 grid-template-columns:180px minmax(0,1fr)!important;
 min-height:540px!important;
 background:#fff!important
}
[data-testid="page-gl"] .recon287-gl-palette{
 padding:13px 11px!important;
 border-right:1px solid #e7ebf1!important;
 background:#fcfdff!important
}
[data-testid="page-gl"] .recon287-gl-palette>span{
 display:block!important;margin-bottom:9px!important;color:#34445d!important;font-size:10px!important;font-weight:850!important;letter-spacing:.04em!important
}
[data-testid="page-gl"] .recon287-gl-palette>button:not(.auto-map){
 width:100%!important;min-height:38px!important;margin-bottom:5px!important;padding:6px 7px!important;display:flex!important;align-items:center!important;gap:8px!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#364861!important;text-align:left!important;cursor:grab!important
}
[data-testid="page-gl"] .recon287-gl-palette>button:not(.auto-map):hover{background:#f6f8fc!important}
[data-testid="page-gl"] .recon287-gl-palette>button i{
 flex:0 0 auto!important;width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#eef2ff!important;color:#4c68d8!important;font-size:12px!important;font-style:normal!important
}
[data-testid="page-gl"] .recon287-gl-palette>button.green i{background:#e8faf2!important;color:#15906a!important}
[data-testid="page-gl"] .recon287-gl-palette>button.red i{background:#fff0f1!important;color:#e45360!important}
[data-testid="page-gl"] .recon287-gl-palette>button.purple i{background:#f1ecff!important;color:#6b4ddd!important}
[data-testid="page-gl"] .recon287-gl-palette>button.amber i,
[data-testid="page-gl"] .recon287-gl-palette>button.gold i{background:#fff5df!important;color:#d38a1d!important}
[data-testid="page-gl"] .recon287-gl-palette>button b{font-size:10px!important}
[data-testid="page-gl"] .recon287-gl-palette-tip{
 margin-top:10px!important;padding:10px 8px!important;border-top:1px solid #e7ebf1!important;color:#6e7d93!important;font-size:9px!important;line-height:1.4!important
}
[data-testid="page-gl"] .recon287-gl-palette-tip b{color:#374961!important}
[data-testid="page-gl"] .recon287-gl-palette .auto-map{
 width:100%!important;min-height:34px!important;margin-top:8px!important;border:1px solid #d7ceff!important;border-radius:8px!important;background:#faf8ff!important;color:#5b45d3!important;font-size:10px!important;font-weight:850!important
}

[data-testid="page-gl"] .recon287-gl-viewport{
 min-width:0!important;
 overflow:auto!important;
 background:
  radial-gradient(circle at 1px 1px,#e8edf6 1px,transparent 1.15px) 0 0/17px 17px,
  linear-gradient(#fff,#fcfdff)!important;
 scrollbar-width:thin!important
}
[data-testid="page-gl"] .recon287-gl-stage{
 position:relative!important;
 width:960px!important;
 min-width:960px!important;
 height:520px!important;
 transition:transform .15s ease!important
}
[data-testid="page-gl"] .recon287-gl-connectors{
 position:absolute!important;inset:0!important;width:960px!important;height:520px!important;pointer-events:none!important
}
[data-testid="page-gl"] .recon287-gl-connectors path{
 fill:none!important;stroke:#8999bd!important;stroke-width:1.8!important;vector-effect:non-scaling-stroke!important
}
[data-testid="page-gl"] .recon287-gl-connectors path.attention{
 stroke:#efa03a!important;stroke-dasharray:6 5!important
}

[data-testid="page-gl"] .recon287-gl-node{
 position:absolute!important;z-index:3!important;box-sizing:border-box!important;padding:10px 11px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;border:1px solid #d3dce9!important;border-radius:9px!important;background:#fff!important;color:#263850!important;text-align:left!important;box-shadow:0 4px 12px rgba(37,57,91,.055)!important;cursor:grab!important
}
[data-testid="page-gl"] .recon287-gl-node.is-dragging{cursor:grabbing!important;opacity:.88!important;box-shadow:0 12px 24px rgba(39,54,85,.15)!important}
[data-testid="page-gl"] .recon287-gl-node.blue{border-color:#95afe9!important}
[data-testid="page-gl"] .recon287-gl-node.green{border-color:#9ddac7!important;background:linear-gradient(145deg,#fff,#f7fcfa)!important}
[data-testid="page-gl"] .recon287-gl-node.purple{border-color:#c6b8f4!important;background:linear-gradient(145deg,#fff,#faf8ff)!important}
[data-testid="page-gl"] .recon287-gl-node.amber{border-color:#f0bd83!important;background:linear-gradient(145deg,#fff,#fff8ef)!important}
[data-testid="page-gl"] .recon287-gl-node.red{border-color:#ef9ca5!important;background:linear-gradient(145deg,#fff,#fff7f8)!important}
[data-testid="page-gl"] .recon287-gl-node-head{
 width:100%!important;display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:2px!important
}
[data-testid="page-gl"] .recon287-gl-node-head>span{
 flex:0 0 auto!important;width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#edf1ff!important;color:#4f69d8!important;font-size:12px!important
}
[data-testid="page-gl"] .recon287-gl-node.green .recon287-gl-node-head>span{background:#e8faf2!important;color:#158f69!important}
[data-testid="page-gl"] .recon287-gl-node.purple .recon287-gl-node-head>span{background:#f1ecff!important;color:#694cdc!important}
[data-testid="page-gl"] .recon287-gl-node.amber .recon287-gl-node-head>span{background:#fff3df!important;color:#e07d17!important}
[data-testid="page-gl"] .recon287-gl-node.red .recon287-gl-node-head>span{background:#fff0f2!important;color:#df4f5d!important}
[data-testid="page-gl"] .recon287-gl-node-head b{color:#2a3b54!important;font-size:11px!important}
[data-testid="page-gl"] .recon287-gl-node>strong{color:#2a3b54!important;font-size:11px!important}
[data-testid="page-gl"] .recon287-gl-node>span{color:#6e7e95!important;font-size:9.5px!important;line-height:1.25!important}
[data-testid="page-gl"] .recon287-gl-node>em{color:#314967!important;font-size:12px!important;font-style:normal!important;font-weight:850!important}

[data-testid="page-gl"] .recon287-gl-status{
 position:absolute!important;z-index:5!important;transform:translate(-50%,-50%)!important;width:25px!important;height:25px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:0!important;color:#fff!important;font-size:11px!important;font-weight:900!important;box-shadow:0 2px 6px rgba(32,51,82,.1)!important
}
[data-testid="page-gl"] .recon287-gl-status.ok{background:#21b379!important}
[data-testid="page-gl"] .recon287-gl-status.warn{background:#f18e24!important}

[data-testid="page-gl"] .recon287-gl-readout{
 padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-top:1px solid #e8edf4!important;background:#fbfcff!important
}
[data-testid="page-gl"] .recon287-gl-readout article{padding:8px!important;border:1px solid #e4e9f1!important;border-radius:8px!important;background:#fff!important}
[data-testid="page-gl"] .recon287-gl-readout span{display:block!important;color:#8592a5!important;font-size:8px!important}
[data-testid="page-gl"] .recon287-gl-readout b{display:block!important;margin-top:3px!important;color:#293b54!important;font-size:11px!important}
[data-testid="page-gl"] .recon287-gl-readout small{display:block!important;margin-top:2px!important;color:#7a889b!important;font-size:8px!important}

[data-testid="page-gl"] .recon287-gl-validation{
 margin:9px 12px!important;padding:9px 10px!important;border:1px solid #e3e8ef!important;border-radius:9px!important;background:#fbfcff!important
}
[data-testid="page-gl"] .recon287-gl-validation.neutral{
 display:grid!important;grid-template-columns:auto 1fr!important;gap:3px 8px!important
}
[data-testid="page-gl"] .recon287-gl-validation.neutral>span{
 grid-row:1/3!important;align-self:center!important;padding:5px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important
}
[data-testid="page-gl"] .recon287-gl-validation.neutral>b{font-size:10px!important;color:#2a3c55!important}
[data-testid="page-gl"] .recon287-gl-validation.neutral>small{font-size:8px!important;color:#77859a!important}
[data-testid="page-gl"] .recon287-gl-validation-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}
[data-testid="page-gl"] .recon287-gl-validation-head span{padding:5px 7px!important;border-radius:999px!important;background:#fff0e5!important;color:#a65f23!important;font-size:8px!important;font-weight:850!important}
[data-testid="page-gl"] .recon287-gl-validation-head b{font-size:9px!important;color:#32445d!important}
[data-testid="page-gl"] .recon287-gl-validation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
[data-testid="page-gl"] .recon287-gl-validation-grid article{padding:7px!important;display:grid!important;grid-template-columns:20px 1fr!important;gap:6px!important;border:1px solid #e5e9f0!important;border-radius:8px!important;background:#fff!important}
[data-testid="page-gl"] .recon287-gl-validation-grid article>i{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eaf9f2!important;color:#177d5a!important;font-size:9px!important;font-style:normal!important;font-weight:900!important}
[data-testid="page-gl"] .recon287-gl-validation-grid article.warn>i{background:#fff0df!important;color:#a86622!important}
[data-testid="page-gl"] .recon287-gl-validation-grid article.info>i{background:#eef3ff!important;color:#506ed0!important}
[data-testid="page-gl"] .recon287-gl-validation-grid b{display:block!important;color:#2b3c54!important;font-size:9px!important}
[data-testid="page-gl"] .recon287-gl-validation-grid small{display:block!important;margin-top:2px!important;color:#75839a!important;font-size:8px!important;line-height:1.3!important}

[data-testid="page-gl"] .recon287-gl-foot{
 padding:8px 13px!important;display:flex!important;align-items:center!important;gap:13px!important;flex-wrap:wrap!important;border-top:1px solid #edf0f5!important;color:#6f7e95!important;font-size:8.5px!important
}
[data-testid="page-gl"] .recon287-gl-foot span{display:inline-flex!important;align-items:center!important;gap:5px!important}
[data-testid="page-gl"] .recon287-gl-foot i{width:13px!important;height:3px!important;border-radius:999px!important;background:#8097c8!important}
[data-testid="page-gl"] .recon287-gl-foot i.support{background:#27ae7b!important}
[data-testid="page-gl"] .recon287-gl-foot i.attention{background:#ef9a2d!important}
[data-testid="page-gl"] .recon287-gl-foot i.workflow{background:#df5865!important}
[data-testid="page-gl"] .recon287-gl-foot em{margin-left:auto!important;color:#8b97aa!important;font-style:normal!important}

/* GL exact-context drawer */
.recon287-gl-drawer-content{display:flex!important;flex-direction:column!important;gap:9px!important}
.recon287-gl-drawer-selected{
 padding:12px 13px!important;display:flex!important;justify-content:space-between!important;gap:10px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important
}
.recon287-gl-drawer-selected>div>span,.recon287-gl-drawer-card>span{
 color:#6548dc!important;font-size:9px!important;font-weight:850!important;letter-spacing:.05em!important
}
.recon287-gl-drawer-selected h2{margin:4px 0 2px!important;color:#253750!important;font-size:17px!important}
.recon287-gl-drawer-selected p{margin:0!important;color:#76849a!important;font-size:10px!important}
.recon287-gl-drawer-selected>span{height:max-content!important;padding:5px 8px!important;border-radius:999px!important;background:#f1edff!important;color:#6548dc!important;font-size:8px!important;font-weight:800!important}
.recon287-gl-drawer-preview{
 padding:13px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dce3ee!important;border-radius:10px!important;background:#fbfcff!important
}
.recon287-gl-drawer-preview>i{
 flex:0 0 auto!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#eef2ff!important;color:#5169d6!important;font-size:18px!important;font-style:normal!important
}
.recon287-gl-drawer-preview h3{margin:4px 0!important;color:#293b54!important;font-size:15px!important}
.recon287-gl-drawer-preview b{display:block!important;color:#394d68!important;font-size:11px!important;line-height:1.35!important}
.recon287-gl-drawer-preview p{margin:6px 0 0!important;color:#6d7c92!important;font-size:10px!important;line-height:1.45!important}
.recon287-gl-drawer-preview small{font-size:8px!important;color:#8491a4!important;font-weight:800!important}
.recon287-gl-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.recon287-gl-drawer-facts article{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:9px!important;background:#fff!important}
.recon287-gl-drawer-facts span{display:block!important;color:#8492a5!important;font-size:8px!important}
.recon287-gl-drawer-facts b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:12px!important;overflow-wrap:anywhere!important}
.recon287-gl-drawer-facts small{display:block!important;margin-top:2px!important;color:#8c97a8!important;font-size:7.5px!important;line-height:1.3!important}
.recon287-gl-drawer-card{padding:12px 13px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important}
.recon287-gl-drawer-card h3{margin:5px 0!important;color:#283a53!important;font-size:13px!important;line-height:1.4!important}
.recon287-gl-drawer-card p{margin:4px 0 0!important;color:#69788f!important;font-size:10px!important;line-height:1.5!important}
.recon287-gl-drawer-card.formula{border-color:#ded6ff!important;background:linear-gradient(135deg,#fbfaff,#fff)!important}
.recon287-gl-drawer-card.formula h3{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:11px!important}
.recon287-gl-drawer-card article{margin-top:6px!important;padding:8px!important;border:1px solid #e6eaf1!important;border-radius:8px!important;background:#fbfcff!important}
.recon287-gl-drawer-card article.warn{background:#fff8f1!important;border-color:#efd2b8!important}
.recon287-gl-drawer-card article.pass{background:#f6fcf9!important;border-color:#d4ecdf!important}
.recon287-gl-drawer-card article b{font-size:9px!important;color:#2c3d55!important}
.recon287-gl-drawer-card article p{font-size:8.5px!important}

@media(max-width:1180px){
 [data-testid="page-gl"] .recon287-gl-head{flex-direction:column!important}
 [data-testid="page-gl"] .recon287-gl-toolbar{justify-content:flex-start!important}
 [data-testid="page-gl"] .recon287-gl-body{grid-template-columns:160px minmax(0,1fr)!important}
 [data-testid="page-gl"] .recon287-gl-readout{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-gl"] .recon287-gl-validation-grid{grid-template-columns:1fr!important}
 .recon287-gl-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ============================================================================
   V20.88.7 — GL ACCOUNT ANALYTICS CHART RENDERING FIX
   Scope: GL analytics cards only.
   ============================================================================ */

[data-testid="page-gl"] .recon287-gl-analytics .recon285-chart-body{
 min-height:270px!important;
 height:270px!important;
 padding:12px 14px!important;
 align-items:center!important;
 justify-content:center!important;
 overflow:hidden!important
}

[data-testid="page-gl"] .recon287-gl-analytics .recon285-modern-svg,
[data-testid="page-gl"] .recon287-gl-analytics .recon287-gl-coverage-svg,
[data-testid="page-gl"] .recon287-gl-analytics .recon287-gl-matrix-svg,
[data-testid="page-gl"] .recon287-gl-analytics .recon285-risk-svg{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 height:245px!important;
 min-height:0!important;
 object-fit:contain!important
}

/* Coverage trend */
[data-testid="page-gl"] .recon287-gl-coverage-svg .grid-row line{
 stroke:#e7ecf4!important;
 stroke-width:1!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .grid-row text{
 fill:#8491a5!important;
 font-size:11px!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .coverage-area{
 fill:#edf3ff!important;
 opacity:.9!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .coverage-line{
 fill:none!important;
 stroke:#547ce5!important;
 stroke-width:4!important;
 stroke-linecap:round!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg circle:not(.halo){
 fill:#547ce5!important;
 stroke:#fff!important;
 stroke-width:3!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .halo{
 fill:none!important;
 stroke:#b9caf7!important;
 stroke-width:2!important;
 opacity:.8!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .value{
 fill:#20314b!important;
 font-size:15px!important;
 font-weight:800!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .period{
 fill:#687891!important;
 font-size:11px!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .delta rect{
 fill:#e9f9f2!important
}
[data-testid="page-gl"] .recon287-gl-coverage-svg .delta text{
 fill:#17815d!important;
 font-size:12px!important;
 font-weight:850!important
}

/* Multi-measure signal matrix */
[data-testid="page-gl"] .recon287-gl-matrix-svg .track{
 fill:#edf1f6!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .fill{
 fill:#6f8fe5!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .fill.good{
 fill:#25ae7b!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .fill.risk{
 fill:#df606c!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .fill.warn{
 fill:#e7a22c!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .label{
 fill:#43546d!important;
 font-size:11px!important;
 font-weight:750!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .value{
 fill:#20314b!important;
 font-size:12px!important;
 font-weight:850!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .detail{
 fill:#738198!important;
 font-size:10px!important
}
[data-testid="page-gl"] .recon287-gl-matrix-svg .footnote{
 fill:#8995a7!important;
 font-size:9px!important
}

/* Keep the explanation block anchored below each chart rather than floating
   high when a malformed/native SVG changes intrinsic dimensions. */
[data-testid="page-gl"] .recon287-gl-analytics .recon285-chart{
 min-height:430px!important
}
[data-testid="page-gl"] .recon287-gl-analytics .recon285-context{
 margin-top:auto!important
}

@media(max-width:1180px){
 [data-testid="page-gl"] .recon287-gl-analytics .recon285-chart-body{
  height:250px!important;
  min-height:250px!important
 }
 [data-testid="page-gl"] .recon287-gl-analytics .recon287-gl-coverage-svg,
 [data-testid="page-gl"] .recon287-gl-analytics .recon287-gl-matrix-svg,
 [data-testid="page-gl"] .recon287-gl-analytics .recon285-risk-svg{
  height:225px!important
 }
}


/* ============================================================================
   V20.88.8 — CUSTOMER RECONCILIATIONS · CASH APPLICATION & COLLECTIONS FLOW
   Scope: Customer canvas + Customer contextual drawer only.
   ============================================================================ */

[data-testid="page-customer"] .recon288-customer-flow{overflow:hidden!important}
[data-testid="page-customer"] .recon288-customer-head{
 padding:14px 16px 11px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;border-bottom:1px solid #e7ecf3!important;background:#fff!important
}
[data-testid="page-customer"] .recon288-customer-head>div:first-child{min-width:0!important}
[data-testid="page-customer"] .recon288-customer-head>div:first-child>span{
 color:#6548dc!important;font-size:10px!important;font-weight:850!important;letter-spacing:.045em!important
}
[data-testid="page-customer"] .recon288-customer-head h2{
 margin:4px 0 2px!important;color:#20314b!important;font-size:18px!important;line-height:1.22!important
}
[data-testid="page-customer"] .recon288-customer-head p{
 margin:0!important;color:#65758e!important;font-size:11px!important;line-height:1.4!important;max-width:720px!important
}
[data-testid="page-customer"] .recon288-customer-toolbar{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important
}
[data-testid="page-customer"] .recon288-customer-legend{
 display:flex!important;align-items:center!important;gap:11px!important;margin-right:5px!important;color:#63748d!important;font-size:9px!important;font-weight:750!important
}
[data-testid="page-customer"] .recon288-customer-legend .source{color:#376fe8!important}
[data-testid="page-customer"] .recon288-customer-legend .processing{color:#694cdd!important}
[data-testid="page-customer"] .recon288-customer-legend .exception{color:#f06d2f!important}
[data-testid="page-customer"] .recon288-customer-legend .destination{color:#15946c!important}
[data-testid="page-customer"] .recon288-customer-toolbar>button,
[data-testid="page-customer"] .recon288-customer-more-wrap>button{
 min-height:33px!important;padding:0 10px!important;border:1px solid #dce3ee!important;border-radius:8px!important;background:#fff!important;color:#465973!important;font-size:10px!important;font-weight:800!important
}
[data-testid="page-customer"] .recon288-customer-toolbar>button.validate{
 color:#15845f!important;border-color:#ccebdc!important;background:#f7fcfa!important
}
[data-testid="page-customer"] .recon288-customer-more-wrap{position:relative!important}
[data-testid="page-customer"] .recon288-customer-more-wrap>button.more{min-width:36px!important;padding:0!important}
[data-testid="page-customer"] .recon288-customer-more{
 position:absolute!important;right:0!important;top:39px!important;z-index:30!important;width:154px!important;padding:6px!important;border:1px solid #dde4ee!important;border-radius:9px!important;background:#fff!important;box-shadow:0 10px 28px rgba(31,48,78,.14)!important
}
[data-testid="page-customer"] .recon288-customer-more button{
 width:100%!important;min-height:32px!important;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:#fff!important;color:#40526c!important;font-size:9.5px!important;text-align:left!important
}
[data-testid="page-customer"] .recon288-customer-more button:hover{background:#f6f8fc!important}

[data-testid="page-customer"] .recon288-customer-readout{
 padding:7px 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;border-bottom:1px solid #edf0f5!important;background:#fbfcff!important;color:#728198!important;font-size:9.5px!important
}
[data-testid="page-customer"] .recon288-customer-readout b{color:#35475f!important;font-size:9.5px!important}

[data-testid="page-customer"] .recon288-customer-logic{
 padding:9px 12px!important;display:grid!important;grid-template-columns:1.15fr repeat(4,minmax(0,1fr))!important;gap:7px!important;border-bottom:1px solid #e9edf4!important;background:#fafbff!important
}
[data-testid="page-customer"] .recon288-customer-logic>div{padding:7px!important}
[data-testid="page-customer"] .recon288-customer-logic>div span{color:#6548dc!important;font-size:8px!important;font-weight:850!important}
[data-testid="page-customer"] .recon288-customer-logic>div h3{margin:3px 0!important;color:#283a53!important;font-size:11px!important}
[data-testid="page-customer"] .recon288-customer-logic article{padding:8px!important;border:1px solid #e5e9f0!important;border-radius:8px!important;background:#fff!important}
[data-testid="page-customer"] .recon288-customer-logic article b{display:block!important;color:#2b3d55!important;font-size:9px!important}
[data-testid="page-customer"] .recon288-customer-logic article p{margin:3px 0 0!important;color:#738197!important;font-size:8px!important;line-height:1.35!important}

[data-testid="page-customer"] .recon288-customer-viewport{
 width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;background:#fff!important
}
[data-testid="page-customer"] .recon288-customer-stage{
 position:relative!important;width:1820px!important;min-width:1820px!important;height:350px!important;background:
 radial-gradient(circle at 1px 1px,#e8edf6 1px,transparent 1.15px) 0 0/17px 17px,
 linear-gradient(#fff,#fcfdff)!important;transform-origin:top left!important
}
[data-testid="page-customer"] .recon288-customer-viewport.fit .recon288-customer-stage{
 transform:scale(.70)!important;height:245px!important;margin-bottom:-105px!important
}
[data-testid="page-customer"] .recon288-customer-connectors{
 position:absolute!important;inset:0!important;width:1820px!important;height:350px!important;pointer-events:none!important
}
[data-testid="page-customer"] .recon288-customer-connectors path{
 fill:none!important;stroke:#53649b!important;stroke-width:1.8!important;vector-effect:non-scaling-stroke!important
}
[data-testid="page-customer"] .recon288-customer-connectors path.source{stroke:#3d72df!important}
[data-testid="page-customer"] .recon288-customer-connectors path.processing{stroke:#6d50df!important}
[data-testid="page-customer"] .recon288-customer-connectors path.exception{stroke:#e9843d!important}
[data-testid="page-customer"] .recon288-customer-connectors path.destination{stroke:#20a277!important}
[data-testid="page-customer"] .recon288-customer-connectors path.dashed{stroke-dasharray:5 4!important;opacity:.8!important}

[data-testid="page-customer"] .recon288-customer-node{
 position:absolute!important;z-index:3!important;box-sizing:border-box!important;padding:10px 11px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;border:1px solid #cfd8e7!important;border-radius:9px!important;background:#fff!important;color:#263850!important;text-align:left!important;box-shadow:0 4px 12px rgba(37,57,91,.05)!important;cursor:grab!important
}
[data-testid="page-customer"] .recon288-customer-node.is-dragging{cursor:grabbing!important;opacity:.88!important;box-shadow:0 12px 24px rgba(39,54,85,.15)!important}
[data-testid="page-customer"] .recon288-customer-node.source{border-color:#b5c7ff!important;background:linear-gradient(145deg,#fff,#fafbff)!important}
[data-testid="page-customer"] .recon288-customer-node.processing{border-color:#d0c3ff!important;background:linear-gradient(145deg,#fff,#faf8ff)!important}
[data-testid="page-customer"] .recon288-customer-node.exception{border-color:#f2c19f!important;background:linear-gradient(145deg,#fff,#fff9f4)!important}
[data-testid="page-customer"] .recon288-customer-node.destination{border-color:#b0e4d1!important;background:linear-gradient(145deg,#fff,#f5fcf9)!important}
[data-testid="page-customer"] .recon288-customer-node-head{width:100%!important;display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:2px!important}
[data-testid="page-customer"] .recon288-customer-node-head>span{
 flex:0 0 auto!important;width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#eef2ff!important;color:#456ee2!important;font-size:12px!important
}
[data-testid="page-customer"] .recon288-customer-node.processing .recon288-customer-node-head>span{background:#f0ecff!important;color:#684cdd!important}
[data-testid="page-customer"] .recon288-customer-node.exception .recon288-customer-node-head>span{background:#fff1e8!important;color:#e9702c!important}
[data-testid="page-customer"] .recon288-customer-node.destination .recon288-customer-node-head>span{background:#e8f9f2!important;color:#15916a!important}
[data-testid="page-customer"] .recon288-customer-node-head b{color:#293b54!important;font-size:10.5px!important}
[data-testid="page-customer"] .recon288-customer-node>strong{color:#31445f!important;font-size:9.5px!important}
[data-testid="page-customer"] .recon288-customer-node>small{color:#718096!important;font-size:8.5px!important;line-height:1.25!important}

[data-testid="page-customer"] .recon288-customer-junction{
 position:absolute!important;z-index:5!important;transform:translate(-50%,-50%)!important;width:22px!important;height:22px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #d6deea!important;border-radius:50%!important;background:#fff!important;color:#586ad0!important;font-size:14px!important;font-weight:850!important;box-shadow:0 2px 6px rgba(38,53,83,.08)!important
}

[data-testid="page-customer"] .recon288-customer-kpis{
 padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-top:1px solid #e8edf4!important;background:#fbfcff!important
}
[data-testid="page-customer"] .recon288-customer-kpis article{padding:8px!important;border:1px solid #e4e9f1!important;border-radius:8px!important;background:#fff!important}
[data-testid="page-customer"] .recon288-customer-kpis span{display:block!important;color:#8492a6!important;font-size:8px!important}
[data-testid="page-customer"] .recon288-customer-kpis b{display:block!important;margin-top:3px!important;color:#293b54!important;font-size:11px!important}
[data-testid="page-customer"] .recon288-customer-kpis small{display:block!important;margin-top:2px!important;color:#7a889c!important;font-size:8px!important;line-height:1.3!important}

[data-testid="page-customer"] .recon288-customer-validation{
 margin:9px 12px!important;padding:9px 10px!important;border:1px solid #e3e8ef!important;border-radius:9px!important;background:#fbfcff!important
}
[data-testid="page-customer"] .recon288-customer-validation.neutral{display:grid!important;grid-template-columns:auto 1fr!important;gap:3px 8px!important}
[data-testid="page-customer"] .recon288-customer-validation.neutral>span{
 grid-row:1/3!important;align-self:center!important;padding:5px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important
}
[data-testid="page-customer"] .recon288-customer-validation.neutral>b{font-size:10px!important;color:#2a3c55!important}
[data-testid="page-customer"] .recon288-customer-validation.neutral>small{font-size:8px!important;color:#77859a!important}
[data-testid="page-customer"] .recon288-customer-validation-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}
[data-testid="page-customer"] .recon288-customer-validation-head span{padding:5px 7px!important;border-radius:999px!important;background:#fff0e5!important;color:#a65f23!important;font-size:8px!important;font-weight:850!important}
[data-testid="page-customer"] .recon288-customer-validation-head b{font-size:9px!important;color:#32445d!important}
[data-testid="page-customer"] .recon288-customer-validation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
[data-testid="page-customer"] .recon288-customer-validation-grid article{padding:7px!important;display:grid!important;grid-template-columns:20px 1fr!important;gap:6px!important;border:1px solid #e5e9f0!important;border-radius:8px!important;background:#fff!important}
[data-testid="page-customer"] .recon288-customer-validation-grid article>i{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eaf9f2!important;color:#177d5a!important;font-size:9px!important;font-style:normal!important;font-weight:900!important}
[data-testid="page-customer"] .recon288-customer-validation-grid article.warn>i{background:#fff0df!important;color:#a86622!important}
[data-testid="page-customer"] .recon288-customer-validation-grid article.info>i{background:#eef3ff!important;color:#506ed0!important}
[data-testid="page-customer"] .recon288-customer-validation-grid b{display:block!important;color:#2b3c54!important;font-size:9px!important}
[data-testid="page-customer"] .recon288-customer-validation-grid small{display:block!important;margin-top:2px!important;color:#75839a!important;font-size:8px!important;line-height:1.3!important}

[data-testid="page-customer"] .recon288-customer-foot{
 padding:8px 13px!important;display:flex!important;align-items:center!important;gap:13px!important;flex-wrap:wrap!important;border-top:1px solid #edf0f5!important;color:#6f7e95!important;font-size:8.5px!important
}
[data-testid="page-customer"] .recon288-customer-foot span{display:inline-flex!important;align-items:center!important;gap:5px!important}
[data-testid="page-customer"] .recon288-customer-foot i{width:13px!important;height:3px!important;border-radius:999px!important;background:#4777df!important}
[data-testid="page-customer"] .recon288-customer-foot i.processing{background:#6b4fdd!important}
[data-testid="page-customer"] .recon288-customer-foot i.exception{background:#e97a34!important}
[data-testid="page-customer"] .recon288-customer-foot i.destination{background:#1ca176!important}
[data-testid="page-customer"] .recon288-customer-foot em{margin-left:auto!important;color:#8b97aa!important;font-style:normal!important}

/* Customer exact-context drawer */
.recon288-customer-drawer-content{display:flex!important;flex-direction:column!important;gap:9px!important}
.recon288-drawer-selected{
 padding:12px 13px!important;display:flex!important;justify-content:space-between!important;gap:10px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important
}
.recon288-drawer-selected>div>span,.recon288-drawer-card>span{color:#6548dc!important;font-size:9px!important;font-weight:850!important;letter-spacing:.05em!important}
.recon288-drawer-selected h2{margin:4px 0 2px!important;color:#253750!important;font-size:17px!important}
.recon288-drawer-selected p{margin:0!important;color:#76849a!important;font-size:10px!important}
.recon288-drawer-selected>span{height:max-content!important;padding:5px 8px!important;border-radius:999px!important;background:#f1edff!important;color:#6548dc!important;font-size:8px!important;font-weight:800!important}

.recon288-drawer-preview{
 padding:13px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dce3ee!important;border-radius:10px!important;background:#fbfcff!important
}
.recon288-drawer-preview>i{flex:0 0 auto!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#eef2ff!important;color:#5169d6!important;font-size:18px!important;font-style:normal!important}
.recon288-drawer-preview.processing>i{background:#f0ecff!important;color:#674bdc!important}
.recon288-drawer-preview.exception>i{background:#fff0e7!important;color:#e66f2d!important}
.recon288-drawer-preview.destination>i{background:#e9f9f2!important;color:#178b66!important}
.recon288-drawer-preview h3{margin:4px 0!important;color:#293b54!important;font-size:15px!important}
.recon288-drawer-preview b{display:block!important;color:#394d68!important;font-size:11px!important}
.recon288-drawer-preview strong{display:block!important;margin-top:2px!important;color:#2d435f!important;font-size:12px!important}
.recon288-drawer-preview p{margin:6px 0 0!important;color:#6d7c92!important;font-size:10px!important;line-height:1.45!important}
.recon288-drawer-preview small{font-size:8px!important;color:#8491a4!important;font-weight:800!important}

.recon288-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.recon288-drawer-facts article{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:9px!important;background:#fff!important}
.recon288-drawer-facts span{display:block!important;color:#8492a5!important;font-size:8px!important}
.recon288-drawer-facts b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:12px!important;overflow-wrap:anywhere!important}
.recon288-drawer-facts small{display:block!important;margin-top:2px!important;color:#8c97a8!important;font-size:7.5px!important;line-height:1.3!important}

.recon288-drawer-card{padding:12px 13px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important}
.recon288-drawer-card h3{margin:5px 0!important;color:#283a53!important;font-size:13px!important;line-height:1.4!important}
.recon288-drawer-card p{margin:4px 0 0!important;color:#69788f!important;font-size:10px!important;line-height:1.5!important}
.recon288-drawer-card p.note{margin-top:8px!important;padding:8px!important;border-radius:8px!important;background:#fff8eb!important;color:#8c6727!important}
.recon288-drawer-card.formula{border-color:#ded6ff!important;background:linear-gradient(135deg,#fbfaff,#fff)!important}
.recon288-drawer-card.formula h3{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:11px!important}
.recon288-drawer-card article{margin-top:6px!important;padding:8px!important;border:1px solid #e6eaf1!important;border-radius:8px!important;background:#fbfcff!important}
.recon288-drawer-card article.warn{background:#fff8f1!important;border-color:#efd2b8!important}
.recon288-drawer-card article.pass{background:#f6fcf9!important;border-color:#d4ecdf!important}
.recon288-drawer-card article b{font-size:9px!important;color:#2c3d55!important}
.recon288-drawer-card article p{font-size:8.5px!important}

@media(max-width:1180px){
 [data-testid="page-customer"] .recon288-customer-head{flex-direction:column!important}
 [data-testid="page-customer"] .recon288-customer-toolbar{justify-content:flex-start!important}
 [data-testid="page-customer"] .recon288-customer-legend{width:100%!important}
 [data-testid="page-customer"] .recon288-customer-logic{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-customer"] .recon288-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-customer"] .recon288-customer-validation-grid{grid-template-columns:1fr!important}
 .recon288-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ============================================================================
   V20.88.9 — CUSTOMER ANALYTICS CHART RENDERING FIX
   Scope: Customer analytics cards only.
   ============================================================================ */

[data-testid="page-customer"] .recon288-customer-analytics .recon285-chart-body{
 min-height:285px!important;
 height:285px!important;
 padding:12px 14px!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 overflow:hidden!important
}

[data-testid="page-customer"] .recon288-customer-analytics .recon288-customer-rate-svg,
[data-testid="page-customer"] .recon288-customer-analytics .recon288-customer-matrix-svg,
[data-testid="page-customer"] .recon288-customer-analytics .recon285-risk-svg{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 height:255px!important;
 min-height:0!important;
 object-fit:contain!important
}

/* Cash Application Rate Trend */
[data-testid="page-customer"] .recon288-customer-rate-svg .grid-row line{
 stroke:#e7ecf4!important;
 stroke-width:1!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .grid-row text{
 fill:#8491a5!important;
 font-size:11px!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .rate-area{
 fill:#eef3ff!important;
 opacity:.92!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .rate-line{
 fill:none!important;
 stroke:#547ce5!important;
 stroke-width:4!important;
 stroke-linecap:round!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg circle:not(.halo){
 fill:#547ce5!important;
 stroke:#fff!important;
 stroke-width:3!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .halo{
 fill:none!important;
 stroke:#bdcdf8!important;
 stroke-width:2!important;
 opacity:.85!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .value{
 fill:#20314b!important;
 font-size:15px!important;
 font-weight:850!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .period{
 fill:#687891!important;
 font-size:11px!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .delta rect{
 fill:#e9f9f2!important
}
[data-testid="page-customer"] .recon288-customer-rate-svg .delta text{
 fill:#17815d!important;
 font-size:12px!important;
 font-weight:850!important
}

/* Customer semantic signal matrix */
[data-testid="page-customer"] .recon288-customer-matrix-svg .track{
 fill:#edf1f6!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .fill{
 fill:#6f8fe5!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .fill.good{
 fill:#25ae7b!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .fill.risk{
 fill:#df606c!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .fill.warn{
 fill:#e7a22c!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .label{
 fill:#43546d!important;
 font-size:10.5px!important;
 font-weight:750!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .value{
 fill:#20314b!important;
 font-size:12px!important;
 font-weight:850!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .detail{
 fill:#738198!important;
 font-size:9.5px!important
}
[data-testid="page-customer"] .recon288-customer-matrix-svg .footnote{
 fill:#8995a7!important;
 font-size:8.5px!important
}

/* Prevent malformed/native decorative SVG dimensions from creating giant icons
   or excessive white space in Customer analytics. */
[data-testid="page-customer"] .recon288-customer-analytics .recon285-native-chart{
 display:none!important
}
[data-testid="page-customer"] .recon288-customer-analytics .recon285-chart{
 min-height:445px!important
}
[data-testid="page-customer"] .recon288-customer-analytics .recon285-context{
 margin-top:auto!important
}

@media(max-width:1180px){
 [data-testid="page-customer"] .recon288-customer-analytics .recon285-chart-body{
  min-height:255px!important;
  height:255px!important
 }
 [data-testid="page-customer"] .recon288-customer-analytics .recon288-customer-rate-svg,
 [data-testid="page-customer"] .recon288-customer-analytics .recon288-customer-matrix-svg,
 [data-testid="page-customer"] .recon288-customer-analytics .recon285-risk-svg{
  height:225px!important
 }
}


/* ============================================================================
   V20.88.10 — CUSTOMER INVESTIGATION LENS → CANVAS FOCUS
   ============================================================================ */

[data-testid="page-customer"] .recon288-customer-lens-banner{
 margin:9px 12px!important;
 padding:9px 11px!important;
 display:grid!important;
 grid-template-columns:auto auto auto minmax(220px,1fr)!important;
 align-items:center!important;
 gap:8px 10px!important;
 border:1px solid #e3e8f0!important;
 border-radius:9px!important;
 background:#fbfcff!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner>span{
 padding:4px 7px!important;
 border-radius:999px!important;
 background:#f0edff!important;
 color:#6548dc!important;
 font-size:8px!important;
 font-weight:850!important;
 letter-spacing:.045em!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner>b{
 color:#293b54!important;
 font-size:10.5px!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner>strong{
 color:#5d48d8!important;
 font-size:10px!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner>p{
 margin:0!important;
 color:#68788f!important;
 font-size:9px!important;
 line-height:1.35!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner.all{
 grid-template-columns:auto auto minmax(260px,1fr)!important
}
[data-testid="page-customer"] .recon288-customer-lens-banner.all>strong{
 display:none!important
}

[data-testid="page-customer"] .recon288-customer-node{
 transition:opacity .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease!important
}
[data-testid="page-customer"] .recon288-customer-node.lens-selected{
 z-index:8!important;
 opacity:1!important;
 filter:none!important;
 border-width:2px!important;
 border-color:#7056ea!important;
 box-shadow:0 0 0 3px rgba(112,86,234,.11),0 10px 24px rgba(48,57,92,.11)!important;
 transform:translateY(-2px)!important
}
[data-testid="page-customer"] .recon288-customer-node.lens-muted{
 opacity:.30!important;
 filter:saturate(.35) grayscale(.18)!important;
 box-shadow:none!important
}
[data-testid="page-customer"] .recon288-customer-node.lens-muted:hover{
 opacity:.62!important;
 filter:saturate(.75)!important
}
[data-testid="page-customer"] .recon288-lens-focus-tag{
 position:absolute!important;
 right:7px!important;
 top:6px!important;
 padding:3px 5px!important;
 border-radius:999px!important;
 background:#ede8ff!important;
 color:#6248dd!important;
 font-size:6.5px!important;
 line-height:1!important;
 font-weight:900!important;
 letter-spacing:.06em!important;
 pointer-events:none!important
}

/* Relationship selection follows the selected Investigation Lens. */
[data-testid="page-customer"] .recon288-customer-connectors path{
 transition:opacity .18s ease,stroke-width .18s ease!important
}
[data-testid="page-customer"] .recon288-customer-connectors path.lens-focus{
 opacity:1!important;
 stroke-width:2.8!important
}
[data-testid="page-customer"] .recon288-customer-connectors path.lens-muted{
 opacity:.12!important;
 stroke-width:1.2!important
}

/* Active lens itself remains visually explicit and keyboard-visible. */
[data-testid="page-customer"] .recon285-lens button.active{
 border-color:#cbbdff!important;
 background:#f0ebff!important;
 color:#6045da!important;
 box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important
}
[data-testid="page-customer"] .recon285-lens button:focus-visible{
 outline:2px solid #6b4fe0!important;
 outline-offset:2px!important
}

@media(max-width:1180px){
 [data-testid="page-customer"] .recon288-customer-lens-banner,
 [data-testid="page-customer"] .recon288-customer-lens-banner.all{
  grid-template-columns:auto 1fr!important
 }
 [data-testid="page-customer"] .recon288-customer-lens-banner>p{
  grid-column:1/-1!important
 }
}


/* ============================================================================
   V20.88.11 — CARD + GL INVESTIGATION LENS → CANVAS FOCUS
   ============================================================================ */

[data-testid="page-cards"] .recon286-card-lens-banner,
[data-testid="page-gl"] .recon287-gl-lens-banner{
 margin:9px 12px!important;
 padding:9px 11px!important;
 display:grid!important;
 grid-template-columns:auto auto auto minmax(220px,1fr)!important;
 align-items:center!important;
 gap:8px 10px!important;
 border:1px solid #e3e8f0!important;
 border-radius:9px!important;
 background:#fbfcff!important
}
[data-testid="page-cards"] .recon286-card-lens-banner>span,
[data-testid="page-gl"] .recon287-gl-lens-banner>span{
 padding:4px 7px!important;
 border-radius:999px!important;
 background:#f0edff!important;
 color:#6548dc!important;
 font-size:8px!important;
 font-weight:850!important;
 letter-spacing:.045em!important
}
[data-testid="page-cards"] .recon286-card-lens-banner>b,
[data-testid="page-gl"] .recon287-gl-lens-banner>b{
 color:#293b54!important;
 font-size:10.5px!important
}
[data-testid="page-cards"] .recon286-card-lens-banner>strong,
[data-testid="page-gl"] .recon287-gl-lens-banner>strong{
 color:#5d48d8!important;
 font-size:10px!important
}
[data-testid="page-cards"] .recon286-card-lens-banner>p,
[data-testid="page-gl"] .recon287-gl-lens-banner>p{
 margin:0!important;
 color:#68788f!important;
 font-size:9px!important;
 line-height:1.35!important
}
[data-testid="page-cards"] .recon286-card-lens-banner.all,
[data-testid="page-gl"] .recon287-gl-lens-banner.all{
 grid-template-columns:auto auto minmax(260px,1fr)!important
}

/* Credit Card */
[data-testid="page-cards"] .recon286-card-node{
 transition:opacity .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease!important
}
[data-testid="page-cards"] .recon286-card-node.lens-selected{
 z-index:9!important;
 opacity:1!important;
 filter:none!important;
 border-width:2px!important;
 border-color:#7056ea!important;
 box-shadow:0 0 0 3px rgba(112,86,234,.11),0 10px 24px rgba(48,57,92,.11)!important;
 transform:translateY(-2px)!important
}
[data-testid="page-cards"] .recon286-card-node.lens-muted{
 opacity:.28!important;
 filter:saturate(.35) grayscale(.18)!important;
 box-shadow:none!important
}
[data-testid="page-cards"] .recon286-card-node.lens-muted:hover{
 opacity:.62!important;
 filter:saturate(.75)!important
}
[data-testid="page-cards"] .recon286-card-lens-focus-tag{
 position:absolute!important;
 right:7px!important;
 top:6px!important;
 padding:3px 5px!important;
 border-radius:999px!important;
 background:#ede8ff!important;
 color:#6248dd!important;
 font-size:6.5px!important;
 line-height:1!important;
 font-weight:900!important;
 letter-spacing:.06em!important;
 pointer-events:none!important
}
[data-testid="page-cards"] .recon286-card-connectors path{
 transition:opacity .18s ease,stroke-width .18s ease!important
}
[data-testid="page-cards"] .recon286-card-connectors path.lens-focus{
 opacity:1!important;
 stroke-width:2.8!important
}
[data-testid="page-cards"] .recon286-card-connectors path.lens-muted{
 opacity:.10!important;
 stroke-width:1.1!important
}
[data-testid="page-cards"] .recon285-lens button.active{
 border-color:#cbbdff!important;
 background:#f0ebff!important;
 color:#6045da!important;
 box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important
}
[data-testid="page-cards"] .recon285-lens button:focus-visible{
 outline:2px solid #6b4fe0!important;
 outline-offset:2px!important
}

/* GL Account */
[data-testid="page-gl"] .recon287-gl-node{
 transition:opacity .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease!important
}
[data-testid="page-gl"] .recon287-gl-node.lens-selected{
 z-index:9!important;
 opacity:1!important;
 filter:none!important;
 border-width:2px!important;
 border-color:#7056ea!important;
 box-shadow:0 0 0 3px rgba(112,86,234,.11),0 10px 24px rgba(48,57,92,.11)!important;
 transform:translateY(-2px)!important
}
[data-testid="page-gl"] .recon287-gl-node.lens-muted{
 opacity:.28!important;
 filter:saturate(.35) grayscale(.18)!important;
 box-shadow:none!important
}
[data-testid="page-gl"] .recon287-gl-node.lens-muted:hover{
 opacity:.62!important;
 filter:saturate(.75)!important
}
[data-testid="page-gl"] .recon287-gl-lens-focus-tag{
 position:absolute!important;
 right:7px!important;
 top:6px!important;
 padding:3px 5px!important;
 border-radius:999px!important;
 background:#ede8ff!important;
 color:#6248dd!important;
 font-size:6.5px!important;
 line-height:1!important;
 font-weight:900!important;
 letter-spacing:.06em!important;
 pointer-events:none!important
}
[data-testid="page-gl"] .recon287-gl-connectors path{
 transition:opacity .18s ease,stroke-width .18s ease!important
}
[data-testid="page-gl"] .recon287-gl-connectors path.lens-focus{
 opacity:1!important;
 stroke-width:2.8!important
}
[data-testid="page-gl"] .recon287-gl-connectors path.lens-muted{
 opacity:.10!important;
 stroke-width:1.1!important
}
[data-testid="page-gl"] .recon285-lens button.active{
 border-color:#cbbdff!important;
 background:#f0ebff!important;
 color:#6045da!important;
 box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important
}
[data-testid="page-gl"] .recon285-lens button:focus-visible{
 outline:2px solid #6b4fe0!important;
 outline-offset:2px!important
}

@media(max-width:1180px){
 [data-testid="page-cards"] .recon286-card-lens-banner,
 [data-testid="page-cards"] .recon286-card-lens-banner.all,
 [data-testid="page-gl"] .recon287-gl-lens-banner,
 [data-testid="page-gl"] .recon287-gl-lens-banner.all{
  grid-template-columns:auto 1fr!important
 }
 [data-testid="page-cards"] .recon286-card-lens-banner>p,
 [data-testid="page-gl"] .recon287-gl-lens-banner>p{
  grid-column:1/-1!important
 }
}


/* ============================================================================
   V20.88.12 — VENDOR · ENTITY RELATIONSHIP RECONCILIATION BUILDER
   ============================================================================ */

[data-testid="page-vendor"] .recon289-vendor-map{
 overflow:hidden!important;
 background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-head{
 padding:13px 15px 10px!important;
 display:flex!important;
 align-items:flex-start!important;
 justify-content:space-between!important;
 gap:14px!important;
 border-bottom:1px solid #e7ecf3!important;
 background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-head>div:first-child>span{
 color:#6548dc!important;font-size:10px!important;font-weight:850!important;letter-spacing:.045em!important
}
[data-testid="page-vendor"] .recon289-vendor-head h2{
 margin:4px 0 2px!important;color:#20314b!important;font-size:18px!important;line-height:1.22!important
}
[data-testid="page-vendor"] .recon289-vendor-head p{
 margin:0!important;max-width:730px!important;color:#65758e!important;font-size:11px!important;line-height:1.4!important
}
[data-testid="page-vendor"] .recon289-vendor-head-actions{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;max-width:620px!important
}
[data-testid="page-vendor"] .recon289-vendor-legend{
 width:100%!important;display:flex!important;justify-content:flex-end!important;gap:13px!important;color:#63748d!important;font-size:8.5px!important;font-weight:750!important
}
[data-testid="page-vendor"] .recon289-vendor-legend .entity{color:#376fe8!important}
[data-testid="page-vendor"] .recon289-vendor-legend .mirrored{color:#20a97a!important}
[data-testid="page-vendor"] .recon289-vendor-legend .fx{color:#744fe2!important}
[data-testid="page-vendor"] .recon289-vendor-legend .pricing{color:#f08836!important}
[data-testid="page-vendor"] .recon289-vendor-legend .break{color:#ec5f66!important}
[data-testid="page-vendor"] .recon289-vendor-head-actions>button,
[data-testid="page-vendor"] .recon289-vendor-more-wrap>button{
 min-height:33px!important;padding:0 10px!important;border:1px solid #dce3ee!important;border-radius:8px!important;background:#fff!important;color:#465973!important;font-size:9.5px!important;font-weight:800!important
}
[data-testid="page-vendor"] .recon289-vendor-head-actions>button.validate{
 border-color:#ccebdc!important;background:#f7fcfa!important;color:#15845f!important
}
[data-testid="page-vendor"] .recon289-vendor-more-wrap{position:relative!important}
[data-testid="page-vendor"] .recon289-vendor-more{
 position:absolute!important;right:0!important;top:39px!important;z-index:50!important;width:180px!important;padding:6px!important;border:1px solid #dde4ee!important;border-radius:9px!important;background:#fff!important;box-shadow:0 10px 28px rgba(31,48,78,.14)!important
}
[data-testid="page-vendor"] .recon289-vendor-more button{
 width:100%!important;min-height:32px!important;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:#fff!important;color:#40526c!important;font-size:9px!important;text-align:left!important
}
[data-testid="page-vendor"] .recon289-vendor-more button:hover{background:#f6f8fc!important}

[data-testid="page-vendor"] .recon289-vendor-context{
 padding:7px 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border-bottom:1px solid #edf0f5!important;background:#fbfcff!important;color:#728198!important;font-size:9.5px!important
}
[data-testid="page-vendor"] .recon289-vendor-context b{color:#35475f!important;font-size:9.5px!important}

[data-testid="page-vendor"] .recon289-vendor-logic{
 padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-bottom:1px solid #e8edf4!important;background:#fafbff!important
}
[data-testid="page-vendor"] .recon289-vendor-logic article{
 padding:8px!important;border:1px solid #e4e9f0!important;border-radius:8px!important;background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-logic span{display:block!important;color:#7655e2!important;font-size:7.5px!important;font-weight:850!important;letter-spacing:.04em!important}
[data-testid="page-vendor"] .recon289-vendor-logic b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:11px!important}
[data-testid="page-vendor"] .recon289-vendor-logic p{margin:3px 0 0!important;color:#76849a!important;font-size:8px!important;line-height:1.35!important}

[data-testid="page-vendor"] .recon289-vendor-canvas-shell{
 position:relative!important;background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-viewport{
 width:100%!important;min-width:0!important;overflow:auto!important;scrollbar-width:thin!important;padding-left:50px!important;background:
 radial-gradient(circle at 1px 1px,#e9edf6 1px,transparent 1.1px) 0 0/17px 17px!important
}
[data-testid="page-vendor"] .recon289-vendor-stage{
 position:relative!important;width:1260px!important;min-width:1260px!important;height:430px!important;transform-origin:top left!important
}
[data-testid="page-vendor"] .recon289-vendor-connectors{
 position:absolute!important;inset:0!important;width:1260px!important;height:430px!important;pointer-events:none!important
}
[data-testid="page-vendor"] .recon289-vendor-connectors path{
 fill:none!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important
}
[data-testid="page-vendor"] .recon289-vendor-connectors path.entity{stroke:#536bdb!important}
[data-testid="page-vendor"] .recon289-vendor-connectors path.mirrored{stroke:#38ae82!important}
[data-testid="page-vendor"] .recon289-vendor-connectors path.pricing{stroke:#ee934c!important}
[data-testid="page-vendor"] .recon289-vendor-connectors path.break{stroke:#ef686d!important;stroke-dasharray:6 5!important}

[data-testid="page-vendor"] .recon289-vendor-node{
 position:absolute!important;z-index:4!important;box-sizing:border-box!important;padding:10px 11px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;border:1.5px solid #cfd8e7!important;border-radius:8px!important;background:#fff!important;color:#263850!important;text-align:left!important;box-shadow:0 4px 12px rgba(37,57,91,.05)!important;cursor:grab!important
}
[data-testid="page-vendor"] .recon289-vendor-node.is-dragging{cursor:grabbing!important;opacity:.90!important;box-shadow:0 12px 24px rgba(39,54,85,.15)!important}
[data-testid="page-vendor"] .recon289-vendor-node.entity{border-color:#6985f0!important;background:linear-gradient(145deg,#fff,#fafbff)!important}
[data-testid="page-vendor"] .recon289-vendor-node.mirrored{border-color:#79d6b5!important;background:linear-gradient(145deg,#fff,#f7fcfa)!important}
[data-testid="page-vendor"] .recon289-vendor-node.fx{border-color:#9b75ef!important;background:linear-gradient(145deg,#fff,#fbf9ff)!important}
[data-testid="page-vendor"] .recon289-vendor-node.pricing{border-color:#f2aa6d!important;background:linear-gradient(145deg,#fff,#fffaf6)!important}
[data-testid="page-vendor"] .recon289-vendor-node.break{border-color:#ef7378!important;border-style:dashed!important;background:linear-gradient(145deg,#fff,#fff8f8)!important}
[data-testid="page-vendor"] .recon289-vendor-node-head{width:100%!important;display:flex!important;align-items:center!important;gap:7px!important}
[data-testid="page-vendor"] .recon289-vendor-node-head>span{
 width:25px!important;height:25px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:7px!important;background:#eef2ff!important;color:#476ee0!important;font-size:12px!important
}
[data-testid="page-vendor"] .recon289-vendor-node.mirrored .recon289-vendor-node-head>span{background:#eaf9f3!important;color:#1f9870!important}
[data-testid="page-vendor"] .recon289-vendor-node.fx .recon289-vendor-node-head>span{background:#f0ebff!important;color:#704ddb!important}
[data-testid="page-vendor"] .recon289-vendor-node.pricing .recon289-vendor-node-head>span{background:#fff1e5!important;color:#df762c!important}
[data-testid="page-vendor"] .recon289-vendor-node.break .recon289-vendor-node-head>span{background:#ffeded!important;color:#dd5960!important}
[data-testid="page-vendor"] .recon289-vendor-node-head b{color:#2a3b54!important;font-size:10.5px!important}
[data-testid="page-vendor"] .recon289-vendor-node small{color:#6f7f96!important;font-size:8.5px!important;line-height:1.25!important}
[data-testid="page-vendor"] .recon289-vendor-node strong{color:#293b54!important;font-size:9.5px!important;line-height:1.2!important}

[data-testid="page-vendor"] .recon289-vendor-lefttools{
 position:absolute!important;left:10px!important;top:82px!important;z-index:20!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:5px!important;border:1px solid #dfe5ee!important;border-radius:8px!important;background:#fff!important;box-shadow:0 4px 12px rgba(37,57,91,.07)!important
}
[data-testid="page-vendor"] .recon289-vendor-lefttools button{
 width:30px!important;height:30px!important;padding:0!important;border:1px solid transparent!important;border-radius:6px!important;background:#fff!important;color:#53657d!important;font-size:13px!important
}
[data-testid="page-vendor"] .recon289-vendor-lefttools button.active{
 background:#4e68e9!important;color:#fff!important;box-shadow:0 2px 7px rgba(74,99,220,.25)!important
}

[data-testid="page-vendor"] .recon289-vendor-bottomtools{
 padding:8px 12px!important;display:flex!important;align-items:center!important;gap:8px!important;border-top:1px solid #e9edf3!important;background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-bottomtools>div{display:flex!important;align-items:center!important;border:1px solid #dfe5ee!important;border-radius:7px!important;overflow:hidden!important}
[data-testid="page-vendor"] .recon289-vendor-bottomtools button{
 min-height:30px!important;padding:0 10px!important;border:1px solid #dfe5ee!important;border-radius:7px!important;background:#fff!important;color:#4c5d76!important;font-size:9px!important;font-weight:800!important
}
[data-testid="page-vendor"] .recon289-vendor-bottomtools>div button{border:0!important;border-radius:0!important}
[data-testid="page-vendor"] .recon289-vendor-bottomtools>div span{min-width:52px!important;text-align:center!important;color:#35475f!important;font-size:9px!important;font-weight:800!important}

[data-testid="page-vendor"] .recon289-vendor-metrics{
 padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-top:1px solid #e9edf3!important;background:#fbfcff!important
}
[data-testid="page-vendor"] .recon289-vendor-metrics article{
 padding:8px!important;border:1px solid #e4e9f1!important;border-radius:8px!important;background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-metrics span{display:block!important;color:#8492a6!important;font-size:8px!important}
[data-testid="page-vendor"] .recon289-vendor-metrics b{display:block!important;margin-top:3px!important;color:#293b54!important;font-size:11px!important}
[data-testid="page-vendor"] .recon289-vendor-metrics small{display:block!important;margin-top:2px!important;color:#7a889c!important;font-size:8px!important;line-height:1.3!important}

[data-testid="page-vendor"] .recon289-vendor-validation{
 margin:9px 12px!important;padding:9px 10px!important;border:1px solid #e3e8ef!important;border-radius:9px!important;background:#fbfcff!important
}
[data-testid="page-vendor"] .recon289-vendor-validation.neutral{
 display:grid!important;grid-template-columns:auto 1fr!important;gap:3px 8px!important
}
[data-testid="page-vendor"] .recon289-vendor-validation.neutral>span{
 grid-row:1/3!important;align-self:center!important;padding:5px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important
}
[data-testid="page-vendor"] .recon289-vendor-validation.neutral>b{font-size:10px!important;color:#2a3c55!important}
[data-testid="page-vendor"] .recon289-vendor-validation.neutral>small{font-size:8px!important;color:#77859a!important}
[data-testid="page-vendor"] .recon289-vendor-validation-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important
}
[data-testid="page-vendor"] .recon289-vendor-validation-head span{
 padding:5px 7px!important;border-radius:999px!important;background:#e9f8f1!important;color:#177d5a!important;font-size:8px!important;font-weight:850!important
}
[data-testid="page-vendor"] .recon289-vendor-validation-head b{font-size:9px!important;color:#32445d!important}
[data-testid="page-vendor"] .recon289-vendor-validation-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important
}
[data-testid="page-vendor"] .recon289-vendor-validation-grid article{
 padding:7px!important;display:grid!important;grid-template-columns:20px 1fr!important;gap:6px!important;border:1px solid #e5e9f0!important;border-radius:8px!important;background:#fff!important
}
[data-testid="page-vendor"] .recon289-vendor-validation-grid article>i{
 width:20px!important;height:20px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eaf9f2!important;color:#177d5a!important;font-size:9px!important;font-style:normal!important;font-weight:900!important
}
[data-testid="page-vendor"] .recon289-vendor-validation-grid article.info>i{background:#eef3ff!important;color:#506ed0!important}
[data-testid="page-vendor"] .recon289-vendor-validation-grid b{display:block!important;color:#2b3c54!important;font-size:9px!important}
[data-testid="page-vendor"] .recon289-vendor-validation-grid small{display:block!important;margin-top:2px!important;color:#75839a!important;font-size:8px!important;line-height:1.3!important}

/* Vendor contextual drawer */
.recon289-vendor-drawer-content{display:flex!important;flex-direction:column!important;gap:9px!important}
.recon289-vendor-drawer-selected{
 padding:13px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dfe5ee!important;border-radius:10px!important;background:#fbfcff!important
}
.recon289-vendor-drawer-selected>i{
 width:42px!important;height:42px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:10px!important;background:#eef2ff!important;color:#506ed0!important;font-size:18px!important;font-style:normal!important
}
.recon289-vendor-drawer-selected.mirrored>i{background:#eaf9f3!important;color:#1e966e!important}
.recon289-vendor-drawer-selected.fx>i{background:#f0ebff!important;color:#704ddb!important}
.recon289-vendor-drawer-selected.pricing>i{background:#fff1e5!important;color:#df762c!important}
.recon289-vendor-drawer-selected.break>i{background:#ffeded!important;color:#dd5960!important}
.recon289-vendor-drawer-selected span,.recon289-vendor-drawer-card>span{
 color:#6548dc!important;font-size:8.5px!important;font-weight:850!important;letter-spacing:.05em!important
}
.recon289-vendor-drawer-selected h2{margin:4px 0!important;color:#293b54!important;font-size:16px!important}
.recon289-vendor-drawer-selected b{display:block!important;color:#3b4f6a!important;font-size:10.5px!important}
.recon289-vendor-drawer-selected p{margin:6px 0 0!important;color:#6e7d93!important;font-size:10px!important;line-height:1.45!important}

.recon289-vendor-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.recon289-vendor-drawer-facts article{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:9px!important;background:#fff!important}
.recon289-vendor-drawer-facts span{display:block!important;color:#8492a5!important;font-size:8px!important}
.recon289-vendor-drawer-facts b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:11px!important}
.recon289-vendor-drawer-facts small{display:block!important;margin-top:2px!important;color:#8c97a8!important;font-size:7.5px!important;line-height:1.3!important}

.recon289-vendor-drawer-card{padding:12px 13px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important}
.recon289-vendor-drawer-card h3{margin:5px 0!important;color:#283a53!important;font-size:12.5px!important;line-height:1.4!important}
.recon289-vendor-drawer-card p{margin:4px 0 0!important;color:#69788f!important;font-size:9.5px!important;line-height:1.5!important}
.recon289-vendor-drawer-card p.note{margin-top:8px!important;padding:8px!important;border-radius:8px!important;background:#fff8eb!important;color:#8c6727!important}
.recon289-vendor-drawer-card.formula{border-color:#ded6ff!important;background:linear-gradient(135deg,#fbfaff,#fff)!important}
.recon289-vendor-drawer-card.formula h3{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:10.5px!important}
.recon289-vendor-drawer-card article{margin-top:6px!important;padding:8px!important;border:1px solid #e6eaf1!important;border-radius:8px!important;background:#fbfcff!important}
.recon289-vendor-drawer-card article.pass{background:#f6fcf9!important;border-color:#d4ecdf!important}
.recon289-vendor-drawer-card article.info{background:#f8faff!important;border-color:#dfe6f6!important}
.recon289-vendor-drawer-card article b{font-size:9px!important;color:#2c3d55!important}
.recon289-vendor-drawer-card article p{font-size:8.5px!important}

@media(max-width:1180px){
 [data-testid="page-vendor"] .recon289-vendor-head{flex-direction:column!important}
 [data-testid="page-vendor"] .recon289-vendor-head-actions{justify-content:flex-start!important;max-width:none!important}
 [data-testid="page-vendor"] .recon289-vendor-legend{justify-content:flex-start!important}
 [data-testid="page-vendor"] .recon289-vendor-logic{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-vendor"] .recon289-vendor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-testid="page-vendor"] .recon289-vendor-validation-grid{grid-template-columns:1fr!important}
 .recon289-vendor-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ============================================================================
   V20.88.13 — VENDOR INVESTIGATION LENS → CANVAS FOCUS FIX
   ============================================================================ */

[data-testid="page-vendor"] .recon289-vendor-lens-banner{
 margin:8px 12px 9px!important;
 padding:9px 11px!important;
 display:grid!important;
 grid-template-columns:auto auto auto minmax(240px,1fr)!important;
 align-items:center!important;
 gap:8px 10px!important;
 border:1px solid #e3e8f0!important;
 border-radius:9px!important;
 background:#fbfcff!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-banner>span{
 padding:4px 7px!important;
 border-radius:999px!important;
 background:#f0edff!important;
 color:#6548dc!important;
 font-size:8px!important;
 font-weight:850!important;
 letter-spacing:.045em!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-banner>b{
 color:#293b54!important;
 font-size:10.5px!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-banner>strong{
 color:#5d48d8!important;
 font-size:10px!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-banner>p{
 margin:0!important;
 color:#68788f!important;
 font-size:9px!important;
 line-height:1.35!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-banner.all{
 grid-template-columns:auto auto minmax(280px,1fr)!important
}

[data-testid="page-vendor"] .recon289-vendor-node{
 transition:
  opacity .18s ease,
  filter .18s ease,
  box-shadow .18s ease,
  border-color .18s ease,
  transform .18s ease!important
}
[data-testid="page-vendor"] .recon289-vendor-node.lens-selected{
 z-index:10!important;
 opacity:1!important;
 filter:none!important;
 border-width:2px!important;
 border-color:#7056ea!important;
 box-shadow:
  0 0 0 3px rgba(112,86,234,.12),
  0 11px 24px rgba(48,57,92,.12)!important;
 transform:translateY(-2px)!important
}
[data-testid="page-vendor"] .recon289-vendor-node.break.lens-selected{
 border-style:solid!important
}
[data-testid="page-vendor"] .recon289-vendor-node.lens-muted{
 opacity:.24!important;
 filter:saturate(.28) grayscale(.22)!important;
 box-shadow:none!important
}
[data-testid="page-vendor"] .recon289-vendor-node.lens-muted:hover{
 opacity:.56!important;
 filter:saturate(.70)!important
}
[data-testid="page-vendor"] .recon289-vendor-lens-focus-tag{
 position:absolute!important;
 top:5px!important;
 right:6px!important;
 padding:3px 5px!important;
 border-radius:999px!important;
 background:#ede8ff!important;
 color:#6248dd!important;
 font-size:6.5px!important;
 line-height:1!important;
 font-weight:900!important;
 letter-spacing:.06em!important;
 pointer-events:none!important
}

/* Focus only connector segments whose two endpoint nodes are part of the active lens. */
[data-testid="page-vendor"] .recon289-vendor-connectors path{
 transition:opacity .18s ease,stroke-width .18s ease,filter .18s ease!important
}
[data-testid="page-vendor"] .recon289-vendor-connectors path.lens-focus{
 opacity:1!important;
 stroke-width:3!important;
 filter:drop-shadow(0 0 2px rgba(89,76,205,.16))!important
}
[data-testid="page-vendor"] .recon289-vendor-connectors path.lens-muted{
 opacity:.08!important;
 stroke-width:1.1!important;
 filter:none!important
}

/* Investigation Lens control remains visibly selected and keyboard accessible. */
[data-testid="page-vendor"] .recon285-lens button.active{
 border-color:#cbbdff!important;
 background:#f0ebff!important;
 color:#6045da!important;
 box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important
}
[data-testid="page-vendor"] .recon285-lens button:focus-visible{
 outline:2px solid #6b4fe0!important;
 outline-offset:2px!important
}

@media(max-width:1180px){
 [data-testid="page-vendor"] .recon289-vendor-lens-banner,
 [data-testid="page-vendor"] .recon289-vendor-lens-banner.all{
  grid-template-columns:auto 1fr!important
 }
 [data-testid="page-vendor"] .recon289-vendor-lens-banner>strong{
  text-align:right!important
 }
 [data-testid="page-vendor"] .recon289-vendor-lens-banner>p{
  grid-column:1/-1!important
 }
}

/* V20.88.14 — INTERCOMPANY · ENTITY RELATIONSHIP RECONCILIATION BUILDER */
[data-testid="page-intercompany"] .recon290-ic-map{overflow:hidden!important;background:#fff!important}
[data-testid="page-intercompany"] .recon290-ic-head{padding:13px 15px 10px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;border-bottom:1px solid #e7ecf3!important;background:#fff!important}
[data-testid="page-intercompany"] .recon290-ic-head>div:first-child>span{color:#6548dc!important;font-size:10px!important;font-weight:850!important;letter-spacing:.045em!important}
[data-testid="page-intercompany"] .recon290-ic-head h2{margin:4px 0 2px!important;color:#20314b!important;font-size:18px!important;line-height:1.22!important}
[data-testid="page-intercompany"] .recon290-ic-head p{margin:0!important;max-width:760px!important;color:#65758e!important;font-size:11px!important;line-height:1.4!important}
[data-testid="page-intercompany"] .recon290-ic-head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;max-width:650px!important}
[data-testid="page-intercompany"] .recon290-ic-legend{width:100%!important;display:flex!important;justify-content:flex-end!important;gap:13px!important;color:#63748d!important;font-size:8.5px!important;font-weight:750!important}
[data-testid="page-intercompany"] .recon290-ic-legend .entity{color:#376fe8!important}[data-testid="page-intercompany"] .recon290-ic-legend .mirrored{color:#20a97a!important}[data-testid="page-intercompany"] .recon290-ic-legend .fx{color:#744fe2!important}[data-testid="page-intercompany"] .recon290-ic-legend .pricing{color:#f08836!important}[data-testid="page-intercompany"] .recon290-ic-legend .break{color:#ec5f66!important}
[data-testid="page-intercompany"] .recon290-ic-head-actions>button,[data-testid="page-intercompany"] .recon290-ic-more-wrap>button{min-height:33px!important;padding:0 10px!important;border:1px solid #dce3ee!important;border-radius:8px!important;background:#fff!important;color:#465973!important;font-size:9.5px!important;font-weight:800!important}
[data-testid="page-intercompany"] .recon290-ic-head-actions>button.validate{border-color:#ccebdc!important;background:#f7fcfa!important;color:#15845f!important}
[data-testid="page-intercompany"] .recon290-ic-more-wrap{position:relative!important}[data-testid="page-intercompany"] .recon290-ic-more{position:absolute!important;right:0!important;top:39px!important;z-index:50!important;width:190px!important;padding:6px!important;border:1px solid #dde4ee!important;border-radius:9px!important;background:#fff!important;box-shadow:0 10px 28px rgba(31,48,78,.14)!important}[data-testid="page-intercompany"] .recon290-ic-more button{width:100%!important;min-height:32px!important;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:#fff!important;color:#40526c!important;font-size:9px!important;text-align:left!important}[data-testid="page-intercompany"] .recon290-ic-more button:hover{background:#f6f8fc!important}
[data-testid="page-intercompany"] .recon290-ic-context{padding:7px 15px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border-bottom:1px solid #edf0f5!important;background:#fbfcff!important;color:#728198!important;font-size:9.5px!important}[data-testid="page-intercompany"] .recon290-ic-context b{color:#35475f!important;font-size:9.5px!important}
[data-testid="page-intercompany"] .recon290-ic-lens-banner{margin:8px 12px 9px!important;padding:9px 11px!important;display:grid!important;grid-template-columns:auto auto auto minmax(250px,1fr)!important;align-items:center!important;gap:8px 10px!important;border:1px solid #e3e8f0!important;border-radius:9px!important;background:#fbfcff!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>span{padding:4px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important;letter-spacing:.045em!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>b{color:#293b54!important;font-size:10.5px!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>strong{color:#5d48d8!important;font-size:10px!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>p{margin:0!important;color:#68788f!important;font-size:9px!important;line-height:1.35!important}
[data-testid="page-intercompany"] .recon290-ic-logic{padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-bottom:1px solid #e8edf4!important;background:#fafbff!important}[data-testid="page-intercompany"] .recon290-ic-logic article{padding:8px!important;border:1px solid #e4e9f0!important;border-radius:8px!important;background:#fff!important}[data-testid="page-intercompany"] .recon290-ic-logic span{display:block!important;color:#7655e2!important;font-size:7.5px!important;font-weight:850!important;letter-spacing:.04em!important}[data-testid="page-intercompany"] .recon290-ic-logic b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:11px!important}[data-testid="page-intercompany"] .recon290-ic-logic p{margin:3px 0 0!important;color:#76849a!important;font-size:8px!important;line-height:1.35!important}
[data-testid="page-intercompany"] .recon290-ic-canvas-shell{position:relative!important;background:#fff!important}[data-testid="page-intercompany"] .recon290-ic-viewport{width:100%!important;min-width:0!important;overflow:auto!important;scrollbar-width:thin!important;padding-left:50px!important;background:radial-gradient(circle at 1px 1px,#e9edf6 1px,transparent 1.1px) 0 0/17px 17px!important}[data-testid="page-intercompany"] .recon290-ic-stage{position:relative!important;width:1270px!important;min-width:1270px!important;height:434px!important;transform-origin:top left!important}[data-testid="page-intercompany"] .recon290-ic-connectors{position:absolute!important;inset:0!important;width:1270px!important;height:434px!important;pointer-events:none!important}[data-testid="page-intercompany"] .recon290-ic-connectors path{fill:none!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important;transition:opacity .18s ease,stroke-width .18s ease,filter .18s ease!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.entity{stroke:#536bdb!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.mirrored{stroke:#38ae82!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.pricing{stroke:#ee934c!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.break{stroke:#ef686d!important;stroke-dasharray:6 5!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.lens-focus{opacity:1!important;stroke-width:3!important;filter:drop-shadow(0 0 2px rgba(89,76,205,.16))!important}[data-testid="page-intercompany"] .recon290-ic-connectors path.lens-muted{opacity:.08!important;stroke-width:1.1!important;filter:none!important}
[data-testid="page-intercompany"] .recon290-ic-node{position:absolute!important;z-index:4!important;box-sizing:border-box!important;padding:10px 11px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;border:1.5px solid #cfd8e7!important;border-radius:8px!important;background:#fff!important;color:#263850!important;text-align:left!important;box-shadow:0 4px 12px rgba(37,57,91,.05)!important;cursor:grab!important;transition:opacity .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease!important}[data-testid="page-intercompany"] .recon290-ic-node.is-dragging{cursor:grabbing!important;opacity:.90!important;box-shadow:0 12px 24px rgba(39,54,85,.15)!important}[data-testid="page-intercompany"] .recon290-ic-node.entity{border-color:#6985f0!important;background:linear-gradient(145deg,#fff,#fafbff)!important}[data-testid="page-intercompany"] .recon290-ic-node.mirrored{border-color:#79d6b5!important;background:linear-gradient(145deg,#fff,#f7fcfa)!important}[data-testid="page-intercompany"] .recon290-ic-node.fx{border-color:#9b75ef!important;background:linear-gradient(145deg,#fff,#fbf9ff)!important}[data-testid="page-intercompany"] .recon290-ic-node.pricing{border-color:#f2aa6d!important;background:linear-gradient(145deg,#fff,#fffaf6)!important}[data-testid="page-intercompany"] .recon290-ic-node.break{border-color:#ef7378!important;border-style:dashed!important;background:linear-gradient(145deg,#fff,#fff8f8)!important}[data-testid="page-intercompany"] .recon290-ic-node.lens-selected{z-index:10!important;opacity:1!important;filter:none!important;border-width:2px!important;border-color:#7056ea!important;box-shadow:0 0 0 3px rgba(112,86,234,.12),0 11px 24px rgba(48,57,92,.12)!important;transform:translateY(-2px)!important}[data-testid="page-intercompany"] .recon290-ic-node.break.lens-selected{border-style:solid!important}[data-testid="page-intercompany"] .recon290-ic-node.lens-muted{opacity:.24!important;filter:saturate(.28) grayscale(.22)!important;box-shadow:none!important}[data-testid="page-intercompany"] .recon290-ic-node.lens-muted:hover{opacity:.56!important;filter:saturate(.70)!important}[data-testid="page-intercompany"] .recon290-ic-lens-focus-tag{position:absolute!important;top:5px!important;right:6px!important;padding:3px 5px!important;border-radius:999px!important;background:#ede8ff!important;color:#6248dd!important;font-size:6.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.06em!important;pointer-events:none!important}
[data-testid="page-intercompany"] .recon290-ic-node-head{width:100%!important;display:flex!important;align-items:center!important;gap:7px!important}[data-testid="page-intercompany"] .recon290-ic-node-head>span{width:25px!important;height:25px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:7px!important;background:#eef2ff!important;color:#476ee0!important;font-size:12px!important}[data-testid="page-intercompany"] .recon290-ic-node.mirrored .recon290-ic-node-head>span{background:#eaf9f3!important;color:#1f9870!important}[data-testid="page-intercompany"] .recon290-ic-node.fx .recon290-ic-node-head>span{background:#f0ebff!important;color:#704ddb!important}[data-testid="page-intercompany"] .recon290-ic-node.pricing .recon290-ic-node-head>span{background:#fff1e5!important;color:#df762c!important}[data-testid="page-intercompany"] .recon290-ic-node.break .recon290-ic-node-head>span{background:#ffeded!important;color:#dd5960!important}[data-testid="page-intercompany"] .recon290-ic-node-head b{color:#2a3b54!important;font-size:10.5px!important}[data-testid="page-intercompany"] .recon290-ic-node small{color:#6f7f96!important;font-size:8.5px!important;line-height:1.25!important}[data-testid="page-intercompany"] .recon290-ic-node strong{color:#293b54!important;font-size:9.5px!important;line-height:1.2!important}
[data-testid="page-intercompany"] .recon290-ic-lefttools{position:absolute!important;left:10px!important;top:82px!important;z-index:20!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:5px!important;border:1px solid #dfe5ee!important;border-radius:8px!important;background:#fff!important;box-shadow:0 4px 12px rgba(37,57,91,.07)!important}[data-testid="page-intercompany"] .recon290-ic-lefttools button{width:30px!important;height:30px!important;padding:0!important;border:1px solid transparent!important;border-radius:6px!important;background:#fff!important;color:#53657d!important;font-size:13px!important}[data-testid="page-intercompany"] .recon290-ic-lefttools button.active{background:#4e68e9!important;color:#fff!important;box-shadow:0 2px 7px rgba(74,99,220,.25)!important}
[data-testid="page-intercompany"] .recon290-ic-bottomtools{padding:8px 12px!important;display:flex!important;align-items:center!important;gap:8px!important;border-top:1px solid #e9edf3!important;background:#fff!important}[data-testid="page-intercompany"] .recon290-ic-bottomtools>div{display:flex!important;align-items:center!important;border:1px solid #dfe5ee!important;border-radius:7px!important;overflow:hidden!important}[data-testid="page-intercompany"] .recon290-ic-bottomtools button{min-height:30px!important;padding:0 10px!important;border:1px solid #dfe5ee!important;border-radius:7px!important;background:#fff!important;color:#4c5d76!important;font-size:9px!important;font-weight:800!important}[data-testid="page-intercompany"] .recon290-ic-bottomtools>div button{border:0!important;border-radius:0!important}[data-testid="page-intercompany"] .recon290-ic-bottomtools>div span{min-width:52px!important;text-align:center!important;color:#35475f!important;font-size:9px!important;font-weight:800!important}
[data-testid="page-intercompany"] .recon290-ic-metrics{padding:9px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;border-top:1px solid #e9edf3!important;background:#fbfcff!important}[data-testid="page-intercompany"] .recon290-ic-metrics article{padding:8px!important;border:1px solid #e4e9f1!important;border-radius:8px!important;background:#fff!important}[data-testid="page-intercompany"] .recon290-ic-metrics span{display:block!important;color:#8492a6!important;font-size:8px!important}[data-testid="page-intercompany"] .recon290-ic-metrics b{display:block!important;margin-top:3px!important;color:#293b54!important;font-size:11px!important}[data-testid="page-intercompany"] .recon290-ic-metrics small{display:block!important;margin-top:2px!important;color:#7a889c!important;font-size:8px!important;line-height:1.3!important}
[data-testid="page-intercompany"] .recon290-ic-validation{margin:9px 12px!important;padding:9px 10px!important;border:1px solid #e3e8ef!important;border-radius:9px!important;background:#fbfcff!important}[data-testid="page-intercompany"] .recon290-ic-validation.neutral{display:grid!important;grid-template-columns:auto 1fr!important;gap:3px 8px!important}[data-testid="page-intercompany"] .recon290-ic-validation.neutral>span{grid-row:1/3!important;align-self:center!important;padding:5px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important}[data-testid="page-intercompany"] .recon290-ic-validation.neutral>b{font-size:10px!important;color:#2a3c55!important}[data-testid="page-intercompany"] .recon290-ic-validation.neutral>small{font-size:8px!important;color:#77859a!important}[data-testid="page-intercompany"] .recon290-ic-validation-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}[data-testid="page-intercompany"] .recon290-ic-validation-head span{padding:5px 7px!important;border-radius:999px!important;background:#e9f8f1!important;color:#177d5a!important;font-size:8px!important;font-weight:850!important}[data-testid="page-intercompany"] .recon290-ic-validation-head b{font-size:9px!important;color:#32445d!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid article{padding:7px!important;display:grid!important;grid-template-columns:20px 1fr!important;gap:6px!important;border:1px solid #e5e9f0!important;border-radius:8px!important;background:#fff!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid article>i{width:20px!important;height:20px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#eaf9f2!important;color:#177d5a!important;font-size:9px!important;font-style:normal!important;font-weight:900!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid article.info>i{background:#eef3ff!important;color:#506ed0!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid b{display:block!important;color:#2b3c54!important;font-size:9px!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid small{display:block!important;margin-top:2px!important;color:#75839a!important;font-size:8px!important;line-height:1.3!important}
[data-testid="page-intercompany"] .recon285-lens button.active{border-color:#cbbdff!important;background:#f0ebff!important;color:#6045da!important;box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important}[data-testid="page-intercompany"] .recon285-lens button:focus-visible{outline:2px solid #6b4fe0!important;outline-offset:2px!important}
.recon290-ic-drawer-content{display:flex!important;flex-direction:column!important;gap:9px!important}.recon290-ic-drawer-selected{padding:13px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dfe5ee!important;border-radius:10px!important;background:#fbfcff!important}.recon290-ic-drawer-selected>i{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:10px!important;background:#eef2ff!important;color:#506ed0!important;font-size:18px!important;font-style:normal!important}.recon290-ic-drawer-selected.mirrored>i{background:#eaf9f3!important;color:#1e966e!important}.recon290-ic-drawer-selected.fx>i{background:#f0ebff!important;color:#704ddb!important}.recon290-ic-drawer-selected.pricing>i{background:#fff1e5!important;color:#df762c!important}.recon290-ic-drawer-selected.break>i{background:#ffeded!important;color:#dd5960!important}.recon290-ic-drawer-selected span,.recon290-ic-drawer-card>span{color:#6548dc!important;font-size:8.5px!important;font-weight:850!important;letter-spacing:.05em!important}.recon290-ic-drawer-selected h2{margin:4px 0!important;color:#293b54!important;font-size:16px!important}.recon290-ic-drawer-selected b{display:block!important;color:#3b4f6a!important;font-size:10.5px!important}.recon290-ic-drawer-selected p{margin:6px 0 0!important;color:#6e7d93!important;font-size:10px!important;line-height:1.45!important}.recon290-ic-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}.recon290-ic-drawer-facts article{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:9px!important;background:#fff!important}.recon290-ic-drawer-facts span{display:block!important;color:#8492a5!important;font-size:8px!important}.recon290-ic-drawer-facts b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:11px!important}.recon290-ic-drawer-facts small{display:block!important;margin-top:2px!important;color:#8c97a8!important;font-size:7.5px!important;line-height:1.3!important}.recon290-ic-drawer-card{padding:12px 13px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important}.recon290-ic-drawer-card h3{margin:5px 0!important;color:#283a53!important;font-size:12.5px!important;line-height:1.4!important}.recon290-ic-drawer-card p{margin:4px 0 0!important;color:#69788f!important;font-size:9.5px!important;line-height:1.5!important}.recon290-ic-drawer-card p.note{margin-top:8px!important;padding:8px!important;border-radius:8px!important;background:#fff8eb!important;color:#8c6727!important}.recon290-ic-drawer-card.formula{border-color:#ded6ff!important;background:linear-gradient(135deg,#fbfaff,#fff)!important}.recon290-ic-drawer-card.formula h3{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:10.5px!important}.recon290-ic-drawer-card article{margin-top:6px!important;padding:8px!important;border:1px solid #e6eaf1!important;border-radius:8px!important;background:#fbfcff!important}.recon290-ic-drawer-card article.pass{background:#f6fcf9!important;border-color:#d4ecdf!important}.recon290-ic-drawer-card article.info{background:#f8faff!important;border-color:#dfe6f6!important}.recon290-ic-drawer-card article b{font-size:9px!important;color:#2c3d55!important}.recon290-ic-drawer-card article p{font-size:8.5px!important}
@media(max-width:1180px){[data-testid="page-intercompany"] .recon290-ic-head{flex-direction:column!important}[data-testid="page-intercompany"] .recon290-ic-head-actions{justify-content:flex-start!important;max-width:none!important}[data-testid="page-intercompany"] .recon290-ic-legend{justify-content:flex-start!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner{grid-template-columns:auto 1fr!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>strong{text-align:right!important}[data-testid="page-intercompany"] .recon290-ic-lens-banner>p{grid-column:1/-1!important}[data-testid="page-intercompany"] .recon290-ic-logic,[data-testid="page-intercompany"] .recon290-ic-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}[data-testid="page-intercompany"] .recon290-ic-validation-grid{grid-template-columns:1fr!important}.recon290-ic-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* ============================================================================
   V20.88.15 — VENDOR · SUPPLIER RESOLUTION WORKFLOW · CORRECT SPEC
   ============================================================================ */
[data-testid="page-vendor"] .recon291-vendor-map{overflow:hidden!important;background:#fff!important}
[data-testid="page-vendor"] .recon291-vendor-header{padding:13px 16px 10px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;border-bottom:1px solid #e8edf4!important;background:#fff!important}
[data-testid="page-vendor"] .recon291-vendor-header h2{margin:0!important;color:#263957!important;font-size:14px!important;font-weight:850!important;letter-spacing:.015em!important}
[data-testid="page-vendor"] .recon291-vendor-header p{margin:4px 0 0!important;color:#7055dc!important;font-size:10px!important;font-weight:700!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar{display:flex!important;align-items:center!important;gap:8px!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar>button,[data-testid="page-vendor"] .recon291-vendor-toolbar .zoom{min-height:34px!important;border:1px solid #dce3ee!important;border-radius:8px!important;background:#fff!important;box-shadow:0 2px 5px rgba(36,54,88,.04)!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar>button{padding:0 12px!important;color:#415574!important;font-size:9.5px!important;font-weight:800!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar .zoom{display:flex!important;align-items:center!important;overflow:hidden!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar .zoom button{width:33px!important;height:32px!important;border:0!important;background:#fff!important;color:#536681!important;font-size:14px!important}
[data-testid="page-vendor"] .recon291-vendor-toolbar .zoom span{min-width:58px!important;text-align:center!important;color:#32465f!important;font-size:9.5px!important;font-weight:850!important}
[data-testid="page-vendor"] .recon291-vendor-legend{padding:7px 16px!important;display:flex!important;align-items:center!important;gap:17px!important;border-bottom:1px solid #e9edf4!important;background:#fbfcff!important;color:#64758e!important;font-size:8.5px!important;font-weight:700!important}
[data-testid="page-vendor"] .recon291-vendor-legend span{display:flex!important;align-items:center!important;gap:5px!important}
[data-testid="page-vendor"] .recon291-vendor-legend i{width:9px!important;height:9px!important;border-radius:50%!important;background:#8ca9f4!important}
[data-testid="page-vendor"] .recon291-vendor-legend i.control{background:#8661e4!important}
[data-testid="page-vendor"] .recon291-vendor-legend i.document{background:#5d76ec!important}
[data-testid="page-vendor"] .recon291-vendor-legend i.validated{background:#23af79!important}
[data-testid="page-vendor"] .recon291-vendor-legend i.resolution{background:#142c78!important}
[data-testid="page-vendor"] .recon291-vendor-focusbar{margin:8px 12px!important;padding:8px 10px!important;display:grid!important;grid-template-columns:auto auto auto minmax(240px,1fr)!important;align-items:center!important;gap:7px 9px!important;border:1px solid #e4e8f0!important;border-radius:8px!important;background:#fbfcff!important}
[data-testid="page-vendor"] .recon291-vendor-focusbar>span{padding:4px 7px!important;border-radius:999px!important;background:#f0edff!important;color:#6548dc!important;font-size:8px!important;font-weight:850!important;letter-spacing:.04em!important}
[data-testid="page-vendor"] .recon291-vendor-focusbar>b{font-size:10px!important;color:#293b54!important}
[data-testid="page-vendor"] .recon291-vendor-focusbar>strong{font-size:9.5px!important;color:#6247da!important}
[data-testid="page-vendor"] .recon291-vendor-focusbar>p{margin:0!important;font-size:8.5px!important;line-height:1.35!important;color:#738198!important}
[data-testid="page-vendor"] .recon291-vendor-viewport{width:100%!important;min-width:0!important;overflow:auto!important;scrollbar-width:thin!important;background:radial-gradient(circle at 1px 1px,#e8edf7 1px,transparent 1.1px) 0 0/18px 18px!important}
[data-testid="page-vendor"] .recon291-vendor-stage{position:relative!important;width:1420px!important;min-width:1420px!important;height:450px!important;transform-origin:top left!important}
[data-testid="page-vendor"] .recon291-vendor-connectors{position:absolute!important;inset:0!important;width:1420px!important;height:450px!important;pointer-events:none!important}
[data-testid="page-vendor"] .recon291-vendor-connectors path{fill:none!important;stroke:#a8b6d7!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important;transition:opacity .18s ease,stroke-width .18s ease!important}
[data-testid="page-vendor"] .recon291-vendor-connectors path.branch,[data-testid="page-vendor"] .recon291-vendor-connectors path.support{stroke-dasharray:5 5!important}
[data-testid="page-vendor"] .recon291-vendor-connectors path.validated{stroke:#7ccbb1!important}
[data-testid="page-vendor"] .recon291-vendor-connectors path.lens-focus{opacity:1!important;stroke-width:3!important}
[data-testid="page-vendor"] .recon291-vendor-connectors path.lens-muted{opacity:.08!important;stroke-width:1!important}
[data-testid="page-vendor"] .recon291-vendor-check circle{fill:#19b477!important;stroke:#fff!important;stroke-width:2!important}
[data-testid="page-vendor"] .recon291-vendor-check text{fill:#fff!important;font-size:10px!important;font-weight:900!important}
[data-testid="page-vendor"] .recon291-vendor-node{position:absolute!important;z-index:4!important;box-sizing:border-box!important;padding:11px 13px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:6px!important;border:1px solid #d8e0ee!important;border-radius:9px!important;background:#fff!important;color:#263850!important;text-align:left!important;box-shadow:0 4px 12px rgba(37,57,91,.055)!important;cursor:grab!important;transition:opacity .18s ease,filter .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease!important}
[data-testid="page-vendor"] .recon291-vendor-node.is-dragging{cursor:grabbing!important;opacity:.9!important;box-shadow:0 12px 25px rgba(37,57,91,.15)!important}
[data-testid="page-vendor"] .recon291-vendor-node-head{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important}
[data-testid="page-vendor"] .recon291-vendor-node-head>span{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:8px!important;background:#f0edff!important;color:#6046df!important;font-size:14px!important}
[data-testid="page-vendor"] .recon291-vendor-node-head b{color:#273952!important;font-size:10.5px!important}
[data-testid="page-vendor"] .recon291-vendor-node strong{color:#2b3d58!important;font-size:10px!important;line-height:1.2!important}
[data-testid="page-vendor"] .recon291-vendor-node small{color:#687991!important;font-size:8.5px!important;line-height:1.25!important}
[data-testid="page-vendor"] .recon291-vendor-node em{color:#eb733f!important;background:#fff4eb!important;padding:4px 6px!important;border-radius:6px!important;font-size:8.5px!important;font-style:normal!important;font-weight:800!important}
[data-testid="page-vendor"] .recon291-vendor-node.resolution{border:0!important;background:linear-gradient(135deg,#0b315e 0%,#111f72 48%,#3510c9 100%)!important;box-shadow:0 10px 24px rgba(28,35,121,.22)!important}
[data-testid="page-vendor"] .recon291-vendor-node.resolution .recon291-vendor-node-head>span{background:rgba(255,255,255,.12)!important;color:#fff!important}
[data-testid="page-vendor"] .recon291-vendor-node.resolution .recon291-vendor-node-head b,[data-testid="page-vendor"] .recon291-vendor-node.resolution strong,[data-testid="page-vendor"] .recon291-vendor-node.resolution small{color:#fff!important}
[data-testid="page-vendor"] .recon291-vendor-node.resolution small{opacity:.82!important}
[data-testid="page-vendor"] .recon291-vendor-node.lens-selected{z-index:9!important;opacity:1!important;filter:none!important;border-width:2px!important;border-color:#6d50e3!important;box-shadow:0 0 0 3px rgba(109,80,227,.11),0 10px 22px rgba(37,57,91,.11)!important;transform:translateY(-2px)!important}
[data-testid="page-vendor"] .recon291-vendor-node.resolution.lens-selected{border:2px solid #a597ff!important}
[data-testid="page-vendor"] .recon291-vendor-node.lens-muted{opacity:.25!important;filter:saturate(.28) grayscale(.20)!important;box-shadow:none!important}
[data-testid="page-vendor"] .recon291-vendor-node.lens-muted:hover{opacity:.58!important}
[data-testid="page-vendor"] .recon291-vendor-focus-tag{position:absolute!important;top:5px!important;right:6px!important;padding:3px 5px!important;border-radius:999px!important;background:#ede8ff!important;color:#6248dd!important;font-size:6.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.06em!important}
[data-testid="page-vendor"] .recon291-vendor-integrity{padding:9px 14px!important;display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;gap:8px 10px!important;border-top:1px solid #e7ecf3!important;background:#fbfcff!important}
[data-testid="page-vendor"] .recon291-vendor-integrity span{padding:4px 7px!important;border-radius:999px!important;background:#eef3ff!important;color:#536dca!important;font-size:8px!important;font-weight:850!important}
[data-testid="page-vendor"] .recon291-vendor-integrity b{color:#293b54!important;font-size:10px!important}
[data-testid="page-vendor"] .recon291-vendor-integrity p{margin:0!important;color:#6e7d93!important;font-size:8.5px!important;line-height:1.35!important}
.recon291-vendor-drawer-content{display:flex!important;flex-direction:column!important;gap:9px!important}
.recon291-vendor-drawer-selected{padding:13px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dfe5ee!important;border-radius:10px!important;background:#fbfcff!important}
.recon291-vendor-drawer-selected>i{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;border-radius:10px!important;background:#f0edff!important;color:#6046df!important;font-size:18px!important;font-style:normal!important}
.recon291-vendor-drawer-selected span,.recon291-vendor-drawer-card>span{color:#6548dc!important;font-size:8.5px!important;font-weight:850!important;letter-spacing:.05em!important}
.recon291-vendor-drawer-selected h2{margin:4px 0!important;color:#293b54!important;font-size:16px!important}
.recon291-vendor-drawer-selected b{display:block!important;color:#3b4f6a!important;font-size:10.5px!important}
.recon291-vendor-drawer-selected p{margin:6px 0 0!important;color:#6e7d93!important;font-size:10px!important;line-height:1.45!important}
.recon291-vendor-drawer-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
.recon291-vendor-drawer-facts article{padding:9px!important;border:1px solid #e4e8ef!important;border-radius:9px!important;background:#fff!important}
.recon291-vendor-drawer-facts span{display:block!important;color:#8492a5!important;font-size:8px!important}
.recon291-vendor-drawer-facts b{display:block!important;margin-top:4px!important;color:#293b54!important;font-size:11px!important}
.recon291-vendor-drawer-facts small{display:block!important;margin-top:2px!important;color:#8c97a8!important;font-size:7.5px!important;line-height:1.3!important}
.recon291-vendor-drawer-card{padding:12px 13px!important;border:1px solid #e3e7ef!important;border-radius:10px!important;background:#fff!important}
.recon291-vendor-drawer-card h3{margin:5px 0!important;color:#283a53!important;font-size:12.5px!important;line-height:1.4!important}
.recon291-vendor-drawer-card p{margin:4px 0 0!important;color:#69788f!important;font-size:9.5px!important;line-height:1.5!important}
.recon291-vendor-drawer-card p.note{margin-top:8px!important;padding:8px!important;border-radius:8px!important;background:#fff8eb!important;color:#8c6727!important}
.recon291-vendor-drawer-card article{margin-top:6px!important;padding:8px!important;border:1px solid #e6eaf1!important;border-radius:8px!important;background:#fbfcff!important}
.recon291-vendor-drawer-card article.pass{background:#f6fcf9!important;border-color:#d4ecdf!important}
.recon291-vendor-drawer-card article.info{background:#f8faff!important;border-color:#dfe6f6!important}
.recon291-vendor-drawer-card article b{font-size:9px!important;color:#2c3d55!important}
.recon291-vendor-drawer-card article p{font-size:8.5px!important}
[data-testid="page-vendor"] .recon285-lens button.active{border-color:#cbbdff!important;background:#f0ebff!important;color:#6045da!important;box-shadow:inset 0 0 0 1px rgba(101,72,220,.10)!important}
@media(max-width:1180px){
 [data-testid="page-vendor"] .recon291-vendor-header{flex-direction:column!important}
 [data-testid="page-vendor"] .recon291-vendor-focusbar{grid-template-columns:auto 1fr!important}
 [data-testid="page-vendor"] .recon291-vendor-focusbar>p{grid-column:1/-1!important}
 .recon291-vendor-drawer-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ============================================================================
   V20.88.16 — INTERCOMPANY ANALYTICS CHART RENDER FIX
   ============================================================================ */
[data-testid="page-intercompany"] .recon292-ic-analytics .recon285-chart-body{min-height:360px!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;padding:14px 16px 8px!important;overflow:hidden!important}
[data-testid="page-intercompany"] .recon292-ic-trend-wrap{width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important}
[data-testid="page-intercompany"] .recon292-ic-legend{display:flex!important;justify-content:flex-end!important;gap:18px!important;min-height:22px!important;padding:0 4px 4px!important;color:#66768e!important;font-size:9px!important;font-weight:700!important}
[data-testid="page-intercompany"] .recon292-ic-legend span{display:flex!important;align-items:center!important;gap:5px!important}
[data-testid="page-intercompany"] .recon292-ic-legend i{display:inline-block!important;width:16px!important;height:5px!important;border-radius:999px!important}
[data-testid="page-intercompany"] .recon292-ic-legend i.break{background:#6b83e6!important}
[data-testid="page-intercompany"] .recon292-ic-legend i.count{height:2px!important;background:#e09128!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg,[data-testid="page-intercompany"] .recon292-ic-matrix-svg{display:block!important;width:100%!important;height:auto!important;max-height:290px!important;min-height:240px!important;overflow:visible!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .grid line{stroke:#e8edf5!important;stroke-width:1!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .grid text,[data-testid="page-intercompany"] .recon292-ic-trend-svg .axis-label,[data-testid="page-intercompany"] .recon292-ic-trend-svg .period{fill:#75849a!important;font-size:10px!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .axis-label{font-weight:750!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .break-bar{fill:#7b93eb!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .break-bar.current{fill:#5d78df!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .bar-value,[data-testid="page-intercompany"] .recon292-ic-trend-svg .count-value{fill:#273a55!important;font-size:11px!important;font-weight:800!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .count-line{fill:none!important;stroke:#df9429!important;stroke-width:3!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-intercompany"] .recon292-ic-trend-svg .count-dot{fill:#fff!important;stroke:#df9429!important;stroke-width:3!important;vector-effect:non-scaling-stroke!important}
[data-testid="page-intercompany"] .recon292-ic-trend-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:3px!important}
[data-testid="page-intercompany"] .recon292-ic-trend-metrics article{padding:8px 9px!important;border:1px solid #e5e9f1!important;border-radius:8px!important;background:#fbfcff!important}
[data-testid="page-intercompany"] .recon292-ic-trend-metrics span{display:block!important;color:#8190a4!important;font-size:8px!important}
[data-testid="page-intercompany"] .recon292-ic-trend-metrics b{display:block!important;margin-top:3px!important;color:#2d405a!important;font-size:10.5px!important}
[data-testid="page-intercompany"] .recon292-ic-trend-metrics small{display:block!important;margin-top:2px!important;color:#75839a!important;font-size:7.8px!important;line-height:1.3!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .label{fill:#43566f!important;font-size:10px!important;font-weight:700!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .track{fill:#edf1f6!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .fill{fill:#7088e7!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .fill.good{fill:#48b38a!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .fill.warn{fill:#e4a03a!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .fill.risk{fill:#e86672!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .value{fill:#293c57!important;font-size:10.5px!important;font-weight:800!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .detail,[data-testid="page-intercompany"] .recon292-ic-matrix-svg .footnote{fill:#7b899d!important;font-size:8.5px!important}
[data-testid="page-intercompany"] .recon292-ic-matrix-svg .footnote{font-style:italic!important}
[data-testid="page-intercompany"] .recon292-ic-analytics .recon285-native-chart{display:none!important}
@media(max-width:1180px){[data-testid="page-intercompany"] .recon292-ic-trend-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* INSOLUTIONS PHASE A R3 — UNIVERSAL CONTEXTUAL DRAWER MASTER CONTRACT */

body[data-ins-uci-ledger="true"] .lispec-drawerbg,
body[data-ins-uci-ledger="true"] .lfv5-overlay-bg,
body[data-ins-uci-ledger="true"] .lfx20-drawer-bg,
body[data-ins-uci-ledger="true"] .gva18-overlay,
body[data-ins-uci-ledger="true"] .v18-visual-sheet,
body[data-ins-uci-ledger="true"] #v18VisualSheet{display:none!important}

#ins-uci-drawer-root.ins-uci-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(7,23,71,.16)}
#ins-uci-drawer-root .ins-uci-drawer{position:absolute;top:62px;right:0;bottom:0;display:flex;flex-direction:column;max-width:calc(100vw - 16px);background:#fff;border-left:1px solid #e2e8f0;box-shadow:-18px 0 48px rgba(15,23,42,.18);color:#071747;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"]{width:560px}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"]{width:680px}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:820px}

#ins-uci-drawer-root .ins-uci-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 14px;border-bottom:1px solid #e2e8f0;background:#fff}
#ins-uci-drawer-root .ins-uci-titlebox{min-width:0}
#ins-uci-drawer-root .ins-uci-eyebrow{display:block;color:#6d5ae6;font-size:10px;font-weight:900;letter-spacing:.08em}
#ins-uci-drawer-root .ins-uci-titlebox h2{margin:5px 0 3px;color:#071747;font-size:20px;line-height:1.25}
#ins-uci-drawer-root .ins-uci-context-line,#ins-uci-drawer-root .ins-uci-selected,#ins-uci-drawer-root .ins-uci-breadcrumb{margin:3px 0 0;color:#718096;font-size:11px;line-height:1.45}
#ins-uci-drawer-root .ins-uci-breadcrumb{color:#5b44df;font-weight:700}
#ins-uci-drawer-root .ins-uci-controls{display:flex;gap:7px;flex:0 0 auto}
#ins-uci-drawer-root .ins-uci-controls button{min-width:34px;height:34px;padding:0 9px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#50617a;font-size:16px;font-weight:800;cursor:pointer}

#ins-uci-drawer-root .ins-uci-metadata{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 18px;border-bottom:1px solid #e7ebf2;background:#fbfdff}
#ins-uci-drawer-root .ins-uci-metadata>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}
#ins-uci-drawer-root .ins-uci-metadata h3{grid-column:1/-1;margin:0 0 2px;color:#071747;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
#ins-uci-drawer-root .ins-uci-meta{min-width:0;padding:6px 7px;border:1px solid #e8edf4;border-radius:8px;background:#fff}
#ins-uci-drawer-root .ins-uci-meta span{display:block;color:#98a5b8;font-size:8px;font-weight:800;text-transform:uppercase}
#ins-uci-drawer-root .ins-uci-meta b{display:block;margin-top:2px;overflow:hidden;color:#334155;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}

#ins-uci-drawer-root [data-uci-utility-host]{padding:8px 18px;border-bottom:1px solid #e7ebf2}
#ins-uci-drawer-root [data-uci-utility-host][hidden]{display:none}
#ins-uci-drawer-root .ins-uci-utilities{display:flex;gap:7px;flex-wrap:wrap}
#ins-uci-drawer-root .ins-uci-utilities button{padding:7px 10px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;color:#475569;font-size:10px;font-weight:700;cursor:pointer}

#ins-uci-drawer-root .ins-uci-tabs{display:flex;gap:4px;padding:10px 12px;overflow-x:auto;border-bottom:1px solid #e2e8f0;background:#fff}
#ins-uci-drawer-root .ins-uci-tabs button{flex:0 0 auto;min-height:32px;padding:7px 10px;border:1px solid transparent;border-radius:8px;background:#f5f7fb;color:#68778f;font-size:10px;font-weight:800;cursor:pointer}
#ins-uci-drawer-root .ins-uci-tabs button.active{border-color:#6a46e8;background:#6a46e8;color:#fff}

#ins-uci-drawer-root .ins-uci-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:16px 18px 28px;background:#f8fafc}

#ins-uci-drawer-root .ins-uci-narrative,#ins-uci-drawer-root .ins-uci-analysis-item,#ins-uci-drawer-root .ins-uci-ai-context,#ins-uci-drawer-root .ins-uci-automation-def,#ins-uci-drawer-root .ins-uci-boundary{margin-bottom:10px;padding:13px;border:1px solid #e2e8f0;border-radius:11px;background:#fff}
#ins-uci-drawer-root .ins-uci-narrative header,#ins-uci-drawer-root .ins-uci-analysis-item header{display:flex;align-items:center;gap:7px;margin-bottom:7px}
#ins-uci-drawer-root .ins-uci-narrative header>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:25px;height:21px;border-radius:6px;background:#f0edff;color:#5b44df;font-size:9px;font-weight:900}
#ins-uci-drawer-root .ins-uci-narrative h3,#ins-uci-drawer-root .ins-uci-analysis-item h3{margin:0;color:#071747;font-size:12px;font-weight:800}
#ins-uci-drawer-root .ins-uci-narrative p,#ins-uci-drawer-root .ins-uci-analysis-item p,#ins-uci-drawer-root .ins-uci-boundary p{margin:0;color:#64748b;font-size:11px;line-height:1.55}
#ins-uci-drawer-root .ins-uci-unavailable{color:#94a3b8;font-style:italic}
#ins-uci-drawer-root .ins-uci-class{margin-left:auto;padding:3px 6px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:8px;font-weight:900;letter-spacing:.03em}
#ins-uci-drawer-root .ins-uci-ai-interpretation{background:#f4efff;color:#6d28d9}
#ins-uci-drawer-root .ins-uci-forecast{background:#ecfeff;color:#0e7490}
#ins-uci-drawer-root .ins-uci-recommendation{background:#ecfdf5;color:#047857}
#ins-uci-drawer-root .ins-uci-principal{overflow:auto;padding:8px;border:1px solid #edf1f6;border-radius:9px;background:#fff}

#ins-uci-drawer-root .ins-uci-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
#ins-uci-drawer-root .ins-uci-chips i{padding:4px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:9px;font-style:normal;font-weight:700}

#ins-uci-drawer-root .ins-uci-tablewrap{overflow:auto;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-tablewrap table{width:100%;min-width:1050px;border-collapse:collapse}
#ins-uci-drawer-root .ins-uci-tablewrap th,#ins-uci-drawer-root .ins-uci-tablewrap td{padding:8px 9px;border-bottom:1px solid #edf1f5;text-align:left;color:#475569;font-size:9px;vertical-align:top}
#ins-uci-drawer-root .ins-uci-tablewrap th{color:#64748b;background:#f8fafc;font-weight:900}
#ins-uci-drawer-root .ins-uci-boundary-note{color:#94a3b8;font-size:9px}

#ins-uci-drawer-root .ins-uci-evidence-list{display:grid;gap:9px}
#ins-uci-drawer-root .ins-uci-evidence-list article{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:11px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-evidence-list article div span{display:block;color:#94a3b8;font-size:8px;font-weight:900;text-transform:uppercase}
#ins-uci-drawer-root .ins-uci-evidence-list article div b{display:block;margin-top:2px;color:#334155;font-size:10px}
#ins-uci-drawer-root .ins-uci-trace{margin-top:10px;padding:11px;border-radius:10px;background:#eef2ff;color:#4338ca;font-size:10px}

#ins-uci-drawer-root .ins-uci-action-list{display:grid;gap:8px}
#ins-uci-drawer-root .ins-uci-action-list article{padding:11px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-action-list h3{margin:0 0 4px;color:#071747;font-size:11px}
#ins-uci-drawer-root .ins-uci-action-list p,#ins-uci-drawer-root .ins-uci-action-list span{margin:0;color:#64748b;font-size:10px}

#ins-uci-drawer-root .ins-uci-automation-def>header span,#ins-uci-drawer-root .ins-uci-ai-context>span{color:#6d5ae6;font-size:9px;font-weight:900;letter-spacing:.06em}
#ins-uci-drawer-root .ins-uci-automation-def>header h3,#ins-uci-drawer-root .ins-uci-ai-context h3{margin:4px 0;color:#071747;font-size:13px}
#ins-uci-drawer-root .ins-uci-automation-def>div:not(.ins-uci-state-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
#ins-uci-drawer-root .ins-uci-state-row{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
#ins-uci-drawer-root .ins-uci-state-row span{padding:4px 6px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:8px;font-weight:800}

.ins-uci-advanced-section{margin:14px 0;padding:14px;border:1px solid #e1e7f0;border-radius:14px;background:#fff}
.ins-uci-advanced-section>header span{display:block;color:#6d5ae6;font-size:10px;font-weight:900;letter-spacing:.08em}
.ins-uci-advanced-section>header h2{margin:4px 0;color:#071747;font-size:18px}
.ins-uci-advanced-section>header p{margin:0 0 11px;color:#72819a;font-size:11px}
.ins-uci-advanced-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.ins-uci-advanced-card{min-width:0;min-height:130px;padding:13px;text-align:left;border:1px solid #dfe6f1;border-radius:12px;background:#fbfcff;cursor:pointer}
.ins-uci-advanced-card:hover,.ins-uci-advanced-card:focus-visible{border-color:#a99af9;box-shadow:0 8px 24px rgba(67,56,202,.08);outline:none}
.ins-uci-advanced-card>span{display:inline-flex;min-width:26px;height:22px;align-items:center;justify-content:center;border-radius:7px;background:#f0edff;color:#5b44df;font-size:10px;font-weight:900}
.ins-uci-advanced-card h3{margin:10px 0 5px;color:#071747;font-size:13px}
.ins-uci-advanced-card p{min-height:42px;margin:0 0 8px;color:#718096;font-size:10px;line-height:1.45}
.ins-uci-advanced-card b{color:#6048e8;font-size:10px}

@media(max-width:899px){
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:min(calc(100vw - 8px),820px)}
}
@media(max-width:679px){
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
 #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{top:0;width:100vw;max-width:100vw}
 #ins-uci-drawer-root .ins-uci-metadata{grid-template-columns:1fr}
 #ins-uci-drawer-root .ins-uci-evidence-list article{grid-template-columns:1fr}
}

/* ============================================================================
   INSOLUTIONS PHASE A R4 — LEDGER DRAWER GEOMETRY + TYPOGRAPHY LOCK
   ============================================================================ */

#ins-uci-drawer-root{
  --uci-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --uci-ink:#071747;
  --uci-text:#334155;
  --uci-muted:#6b7b93;
  --uci-soft:#94a3b8;
  --uci-line:#dfe6f1;
  --uci-canvas:#f8fafc;
  --uci-accent:#654bf2;
  --uci-accent-soft:#f0edff;
}

#ins-uci-drawer-root .ins-uci-drawer{
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:100vh !important;
  height:100dvh !important;
  max-height:100vh !important;
  max-height:100dvh !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  max-width:calc(100vw - 24px) !important;
  overflow:hidden !important;
  font-family:var(--uci-font) !important;
  font-size:12px !important;
  line-height:1.45 !important;
  color:var(--uci-ink) !important;
  box-sizing:border-box !important;
}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"]{width:min(560px,calc(100vw - 24px)) !important}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"]{width:min(680px,calc(100vw - 24px)) !important}
#ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:min(820px,calc(100vw - 24px)) !important}

#ins-uci-drawer-root .ins-uci-header,
#ins-uci-drawer-root .ins-uci-metadata,
#ins-uci-drawer-root [data-uci-utility-host],
#ins-uci-drawer-root .ins-uci-tabs{flex:0 0 auto !important}

#ins-uci-drawer-root .ins-uci-scroll{
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding:14px 16px 22px !important;
  background:var(--uci-canvas) !important;
}

#ins-uci-drawer-root .ins-uci-header{
  padding:14px 16px 12px !important;
  gap:14px !important;
  border-bottom:1px solid var(--uci-line) !important;
}
#ins-uci-drawer-root .ins-uci-eyebrow{
  margin:0 !important;
  color:var(--uci-accent) !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  letter-spacing:.075em !important;
  text-transform:uppercase !important;
}
#ins-uci-drawer-root .ins-uci-titlebox h2{
  margin:4px 0 2px !important;
  color:var(--uci-ink) !important;
  font-size:20px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
}
#ins-uci-drawer-root .ins-uci-context-line,
#ins-uci-drawer-root .ins-uci-selected,
#ins-uci-drawer-root .ins-uci-breadcrumb{
  margin:2px 0 0 !important;
  color:var(--uci-muted) !important;
  font-size:11px !important;
  line-height:1.4 !important;
  font-weight:400 !important;
}
#ins-uci-drawer-root .ins-uci-selected b{color:#55657d !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-breadcrumb{color:var(--uci-accent) !important;font-weight:700 !important}

#ins-uci-drawer-root .ins-uci-controls{gap:6px !important}
#ins-uci-drawer-root .ins-uci-controls button{
  min-width:34px !important;
  width:34px !important;
  height:34px !important;
  padding:0 !important;
  border:1px solid #d8e0ec !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#56677f !important;
  font-size:15px !important;
  line-height:1 !important;
}

#ins-uci-drawer-root .ins-uci-metadata{
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
  padding:10px 16px !important;
  background:#fbfcfe !important;
  border-bottom:1px solid var(--uci-line) !important;
}
#ins-uci-drawer-root .ins-uci-metadata>div{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:4px !important;
}
#ins-uci-drawer-root .ins-uci-metadata h3{
  margin:0 0 3px !important;
  color:var(--uci-ink) !important;
  font-size:9px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  letter-spacing:.075em !important;
}
#ins-uci-drawer-root .ins-uci-meta{
  min-height:35px !important;
  padding:5px 6px !important;
  border:1px solid #e4eaf2 !important;
  border-radius:7px !important;
  background:#fff !important;
}
#ins-uci-drawer-root .ins-uci-meta span{
  color:var(--uci-soft) !important;
  font-size:7.5px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
}
#ins-uci-drawer-root .ins-uci-meta b{
  margin-top:2px !important;
  color:var(--uci-text) !important;
  font-size:9.5px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

#ins-uci-drawer-root .ins-uci-tabs{
  display:grid !important;
  grid-template-columns:repeat(8,minmax(0,1fr)) !important;
  gap:4px !important;
  padding:8px 10px !important;
  overflow:visible !important;
  border-bottom:1px solid var(--uci-line) !important;
  background:#fff !important;
}
#ins-uci-drawer-root .ins-uci-tabs button{
  min-width:0 !important;
  width:100% !important;
  min-height:31px !important;
  padding:6px 2px !important;
  border-radius:7px !important;
  color:#62728a !important;
  background:#f5f7fb !important;
  font-size:8.5px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  white-space:nowrap !important;
  text-align:center !important;
}
#ins-uci-drawer-root .ins-uci-tabs button.active{
  background:var(--uci-accent) !important;
  border-color:var(--uci-accent) !important;
  color:#fff !important;
}

#ins-uci-drawer-root .ins-uci-narrative,
#ins-uci-drawer-root .ins-uci-analysis-item,
#ins-uci-drawer-root .ins-uci-ai-context,
#ins-uci-drawer-root .ins-uci-ai-prompts,
#ins-uci-drawer-root .ins-uci-automation-def,
#ins-uci-drawer-root .ins-uci-boundary{
  margin:0 0 8px !important;
  padding:11px 12px !important;
  border:1px solid var(--uci-line) !important;
  border-radius:10px !important;
  background:#fff !important;
}
#ins-uci-drawer-root .ins-uci-narrative header,
#ins-uci-drawer-root .ins-uci-analysis-item header{
  gap:6px !important;
  margin-bottom:5px !important;
}
#ins-uci-drawer-root .ins-uci-narrative header>span:first-child{
  width:24px !important;
  height:20px !important;
  border-radius:6px !important;
  font-size:8px !important;
}
#ins-uci-drawer-root .ins-uci-narrative h3,
#ins-uci-drawer-root .ins-uci-analysis-item h3,
#ins-uci-drawer-root .ins-uci-ai-context h3,
#ins-uci-drawer-root .ins-uci-automation-def h3{
  margin:0 !important;
  color:var(--uci-ink) !important;
  font-size:11.5px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
}
#ins-uci-drawer-root .ins-uci-narrative p,
#ins-uci-drawer-root .ins-uci-analysis-item p,
#ins-uci-drawer-root .ins-uci-ai-context p,
#ins-uci-drawer-root .ins-uci-automation-def p,
#ins-uci-drawer-root .ins-uci-boundary p{
  margin:0 !important;
  color:var(--uci-muted) !important;
  font-size:10.5px !important;
  line-height:1.5 !important;
  font-weight:400 !important;
}
#ins-uci-drawer-root .ins-uci-class{
  padding:3px 6px !important;
  font-size:7.5px !important;
  line-height:1 !important;
}
#ins-uci-drawer-root .ins-uci-unavailable{color:#8997aa !important;font-style:italic !important}

#ins-uci-drawer-root .ins-uci-ai-prompts>span{
  display:block;
  margin-bottom:7px;
  color:var(--uci-accent);
  font-size:9px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.06em;
}
#ins-uci-drawer-root .ins-uci-ai-prompts>div{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
#ins-uci-drawer-root .ins-uci-ai-prompts button{
  min-height:32px;
  padding:6px 8px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  background:#fbfcff;
  color:#41516a;
  font-family:var(--uci-font);
  font-size:9px;
  line-height:1.3;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}

#ins-uci-drawer-root .ins-uci-embedded,
#ins-uci-drawer-root .ins-uci-embedded *{
  box-sizing:border-box;
  font-family:var(--uci-font) !important;
}
#ins-uci-drawer-root .ins-uci-embedded{
  color:var(--uci-text) !important;
  font-size:10.5px !important;
  line-height:1.5 !important;
}
#ins-uci-drawer-root .ins-uci-embedded h1,
#ins-uci-drawer-root .ins-uci-embedded h2,
#ins-uci-drawer-root .ins-uci-embedded h3,
#ins-uci-drawer-root .ins-uci-embedded h4{
  margin:5px 0 !important;
  color:var(--uci-ink) !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
}
#ins-uci-drawer-root .ins-uci-embedded p,
#ins-uci-drawer-root .ins-uci-embedded span,
#ins-uci-drawer-root .ins-uci-embedded small,
#ins-uci-drawer-root .ins-uci-embedded label{
  font-size:10px !important;
  line-height:1.45 !important;
}
#ins-uci-drawer-root .ins-uci-embedded button{
  min-height:31px !important;
  padding:6px 9px !important;
  font-size:9.5px !important;
  line-height:1.2 !important;
  border-radius:7px !important;
}
#ins-uci-drawer-root .ins-uci-embedded input,
#ins-uci-drawer-root .ins-uci-embedded textarea,
#ins-uci-drawer-root .ins-uci-embedded select{
  font-size:10px !important;
  line-height:1.4 !important;
}
#ins-uci-drawer-root .ins-uci-embedded textarea{min-height:74px !important}

.ins-uci-advanced-section{padding:12px !important}
.ins-uci-advanced-section>header h2{font-size:16px !important;line-height:1.25 !important}
.ins-uci-advanced-section>header p{font-size:10.5px !important;line-height:1.45 !important}
.ins-uci-advanced-card{min-height:112px !important;padding:11px !important}
.ins-uci-advanced-card h3{margin:8px 0 4px !important;font-size:11.5px !important;line-height:1.3 !important}
.ins-uci-advanced-card p{min-height:34px !important;font-size:9.5px !important;line-height:1.4 !important}

@media(max-width:899px) and (min-width:680px){
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"]{width:min(560px,calc(100vw - 16px)) !important}
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"]{width:min(680px,calc(100vw - 16px)) !important}
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:min(820px,calc(100vw - 16px)) !important}
}
@media(max-width:679px){
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100vw !important;
    max-width:100vw !important;
    min-width:100vw !important;
    height:100dvh !important;
  }
  #ins-uci-drawer-root .ins-uci-metadata{
    grid-template-columns:1fr !important;
    max-height:210px !important;
    overflow-y:auto !important;
  }
  #ins-uci-drawer-root .ins-uci-tabs{
    display:flex !important;
    overflow-x:auto !important;
    scrollbar-width:none;
  }
  #ins-uci-drawer-root .ins-uci-tabs::-webkit-scrollbar{display:none}
  #ins-uci-drawer-root .ins-uci-tabs button{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:62px !important;
    padding:6px 7px !important;
  }
  #ins-uci-drawer-root .ins-uci-ai-prompts>div{grid-template-columns:1fr !important}
}

/* ============================================================================
   INSOLUTIONS PHASE A R5 — LEDGER FEED UNIVERSAL 800PX + READABILITY OVERRIDE
   ============================================================================ */
#ins-uci-drawer-root .ins-uci-drawer,
#ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
#ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
#ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{
  width:min(800px,calc(100vw - 24px)) !important;
  max-width:min(800px,calc(100vw - 24px)) !important;
  min-width:min(800px,calc(100vw - 24px)) !important;
  font-size:14px !important;
}
#ins-uci-drawer-root .ins-uci-metadata{display:none !important}
#ins-uci-drawer-root .ins-uci-header{padding:18px 18px 14px !important}
#ins-uci-drawer-root .ins-uci-eyebrow{font-size:12px !important}
#ins-uci-drawer-root .ins-uci-titlebox h2{font-size:24px !important;line-height:1.18 !important}
#ins-uci-drawer-root .ins-uci-context-line,
#ins-uci-drawer-root .ins-uci-selected,
#ins-uci-drawer-root .ins-uci-breadcrumb{font-size:13px !important;line-height:1.45 !important}
#ins-uci-drawer-root .ins-uci-controls button{min-width:38px !important;width:38px !important;height:38px !important;font-size:17px !important}
#ins-uci-drawer-root .ins-uci-tabs{padding:10px 12px !important;gap:6px !important}
#ins-uci-drawer-root .ins-uci-tabs button{min-height:36px !important;font-size:10.5px !important;line-height:1.18 !important;padding:8px 4px !important}
#ins-uci-drawer-root .ins-uci-scroll{padding:18px 18px 26px !important}
#ins-uci-drawer-root .ins-uci-narrative,
#ins-uci-drawer-root .ins-uci-analysis-item,
#ins-uci-drawer-root .ins-uci-ai-context,
#ins-uci-drawer-root .ins-uci-ai-prompts,
#ins-uci-drawer-root .ins-uci-automation-def,
#ins-uci-drawer-root .ins-uci-boundary{padding:14px 15px !important;margin:0 0 10px !important}
#ins-uci-drawer-root .ins-uci-narrative header>span:first-child{width:28px !important;height:22px !important;font-size:10px !important}
#ins-uci-drawer-root .ins-uci-narrative h3,
#ins-uci-drawer-root .ins-uci-analysis-item h3,
#ins-uci-drawer-root .ins-uci-ai-context h3,
#ins-uci-drawer-root .ins-uci-automation-def h3,
#ins-uci-drawer-root .ins-uci-embedded h1,
#ins-uci-drawer-root .ins-uci-embedded h2,
#ins-uci-drawer-root .ins-uci-embedded h3,
#ins-uci-drawer-root .ins-uci-embedded h4{font-size:13.5px !important;line-height:1.35 !important}
#ins-uci-drawer-root .ins-uci-narrative p,
#ins-uci-drawer-root .ins-uci-analysis-item p,
#ins-uci-drawer-root .ins-uci-ai-context p,
#ins-uci-drawer-root .ins-uci-automation-def p,
#ins-uci-drawer-root .ins-uci-boundary p,
#ins-uci-drawer-root .ins-uci-embedded,
#ins-uci-drawer-root .ins-uci-embedded p,
#ins-uci-drawer-root .ins-uci-embedded span,
#ins-uci-drawer-root .ins-uci-embedded small,
#ins-uci-drawer-root .ins-uci-embedded label,
#ins-uci-drawer-root .ins-uci-embedded input,
#ins-uci-drawer-root .ins-uci-embedded textarea,
#ins-uci-drawer-root .ins-uci-embedded select{font-size:12.5px !important;line-height:1.58 !important}
#ins-uci-drawer-root .ins-uci-class{font-size:9.5px !important;padding:4px 7px !important}
#ins-uci-drawer-root .ins-uci-ai-prompts>span{font-size:11px !important}
#ins-uci-drawer-root .ins-uci-ai-prompts button,
#ins-uci-drawer-root .ins-uci-embedded button{font-size:11.5px !important;min-height:36px !important;line-height:1.28 !important}
#ins-uci-drawer-root .ins-uci-embedded textarea{min-height:92px !important}
@media(max-width:899px) and (min-width:680px){
  #ins-uci-drawer-root .ins-uci-drawer,
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:min(800px,calc(100vw - 16px)) !important;max-width:min(800px,calc(100vw - 16px)) !important;min-width:min(800px,calc(100vw - 16px)) !important}
}
@media(max-width:679px){
  #ins-uci-drawer-root .ins-uci-drawer,
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{top:0 !important;right:0 !important;bottom:0 !important;width:100vw !important;max-width:100vw !important;min-width:100vw !important;height:100dvh !important}
  #ins-uci-drawer-root .ins-uci-tabs button{min-width:76px !important;font-size:11px !important}
}

/* INSOLUTIONS PHASE A R6 — ENTERPRISE INTELLIGENCE PRESENTATION */

/* Enterprise selected-object header. */
#ins-uci-drawer-root .ins-uci-header{
  background:linear-gradient(112deg,#142657 0%,#242466 48%,#4b2799 100%) !important;
  border-bottom:0 !important;
  padding:16px 18px 15px !important;
}
#ins-uci-drawer-root .ins-uci-eyebrow{color:#aab8db !important;font-size:11px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-titlebox h2{color:#fff !important;font-size:20px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-context-line,
#ins-uci-drawer-root .ins-uci-selected,
#ins-uci-drawer-root .ins-uci-breadcrumb{color:#d6dcf0 !important;font-size:10px !important;font-weight:400 !important}
#ins-uci-drawer-root .ins-uci-selected b{color:#fff !important}
#ins-uci-drawer-root .ins-uci-controls button{border-color:rgba(255,255,255,.25) !important;background:rgba(255,255,255,.08) !important;color:#fff !important}

/* User-requested universal content typography. */
#ins-uci-drawer-root .ins-uci-scroll,
#ins-uci-drawer-root .ins-uci-scroll p,
#ins-uci-drawer-root .ins-uci-scroll small,
#ins-uci-drawer-root .ins-uci-scroll td,
#ins-uci-drawer-root .ins-uci-scroll input,
#ins-uci-drawer-root .ins-uci-scroll textarea,
#ins-uci-drawer-root .ins-uci-scroll select{font-size:10px !important;font-weight:400 !important;line-height:1.5 !important}
#ins-uci-drawer-root .ins-uci-scroll h3,
#ins-uci-drawer-root .ins-uci-scroll th,
#ins-uci-drawer-root .ins-uci-scroll article>span:first-child,
#ins-uci-drawer-root .ins-uci-scroll section>header>span:first-child{font-size:11px !important;font-weight:700 !important;line-height:1.3 !important}
#ins-uci-drawer-root .ins-uci-tabs button{font-size:11px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-class{font-size:9px !important;font-weight:700 !important}

/* Executive summary / research. */
#ins-uci-drawer-root .ins-uci-executive-summary,
#ins-uci-drawer-root .ins-uci-analysis-lead{padding:16px !important;border:1px solid #dfe5ef;border-radius:12px;background:#f8faff;margin-bottom:12px}
#ins-uci-drawer-root .ins-uci-executive-summary>span,
#ins-uci-drawer-root .ins-uci-analysis-lead>span,
#ins-uci-drawer-root .ins-uci-fivew>header>span,
#ins-uci-drawer-root .ins-uci-principal-panel>header>span,
#ins-uci-drawer-root .ins-uci-finance-know>span,
#ins-uci-drawer-root .ins-uci-observed-measures>header>span,
#ins-uci-drawer-root .ins-uci-method>span,
#ins-uci-drawer-root .ins-uci-ai-thinking>span,
#ins-uci-drawer-root .ins-uci-minimise>span,
#ins-uci-drawer-root .ins-uci-enterprise-actions>header>span,
#ins-uci-drawer-root .ins-uci-governed-list>span,
#ins-uci-drawer-root .ins-uci-automation-definition>header>span{display:block;color:#6a4df5;letter-spacing:.05em;text-transform:uppercase}
#ins-uci-drawer-root .ins-uci-executive-summary h3,
#ins-uci-drawer-root .ins-uci-analysis-lead h3{margin:5px 0 8px !important;color:#0b1d48 !important;font-size:15px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-executive-summary p,
#ins-uci-drawer-root .ins-uci-analysis-lead p{margin:0 0 7px !important;color:#334766 !important}

/* Summary measures. */
#ins-uci-drawer-root .ins-uci-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
#ins-uci-drawer-root .ins-uci-kpi-card{min-width:0;padding:11px;border:1px solid #dfe5ef;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-kpi-card>span{display:block;color:#65738c;font-size:11px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-kpi-card>b{display:block;margin-top:5px;color:#0b1d48;font-size:16px !important;font-weight:700 !important;line-height:1.2}
#ins-uci-drawer-root .ins-uci-kpi-card>small{display:block;margin-top:4px;color:#7d8aa2}

/* 5W interpretation. */
#ins-uci-drawer-root .ins-uci-fivew{margin-bottom:12px}
#ins-uci-drawer-root .ins-uci-fivew>header{margin-bottom:7px}
#ins-uci-drawer-root .ins-uci-fivew>header h3{margin:3px 0 0 !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-fivew>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}

/* Decision cards. */
#ins-uci-drawer-root .ins-uci-enterprise-card{padding:12px;border:1px solid #dfe5ef;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-enterprise-card header{display:flex;align-items:center;gap:6px;margin-bottom:6px}
#ins-uci-drawer-root .ins-uci-enterprise-card header h3{margin:0 !important;color:#0b1d48 !important}
#ins-uci-drawer-root .ins-uci-enterprise-card p{margin:0 !important;color:#334766 !important}
#ins-uci-drawer-root .ins-uci-three-up{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}
#ins-uci-drawer-root .ins-uci-two-up{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}
#ins-uci-drawer-root .ins-uci-ai-thinking{padding:14px;margin:8px 0;border:1px solid #e4defd;border-radius:11px;background:#f9f7ff}
#ins-uci-drawer-root .ins-uci-ai-thinking p{margin:6px 0 0 !important;color:#233757 !important}
#ins-uci-drawer-root .ins-uci-ai-thinking small{display:block;margin-top:6px;color:#7a869d}
#ins-uci-drawer-root .ins-uci-minimise{padding:14px;border:1px solid #bfe9df;border-left:4px solid #1aa586;border-radius:11px;background:#effbf8}
#ins-uci-drawer-root .ins-uci-minimise>span{color:#139275 !important}
#ins-uci-drawer-root .ins-uci-minimise p{margin:6px 0 0 !important;color:#173c36 !important}

/* Analysis surface. */
#ins-uci-drawer-root .ins-uci-analysis-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,.9fr);gap:10px;margin-bottom:10px}
#ins-uci-drawer-root .ins-uci-principal-panel,
#ins-uci-drawer-root .ins-uci-finance-know,
#ins-uci-drawer-root .ins-uci-observed-measures,
#ins-uci-drawer-root .ins-uci-method{padding:12px;border:1px solid #dfe5ef;border-radius:11px;background:#fff}
#ins-uci-drawer-root .ins-uci-principal-panel>header h3,
#ins-uci-drawer-root .ins-uci-observed-measures>header h3{margin:3px 0 8px !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-finance-know>div,
#ins-uci-drawer-root .ins-uci-observed-measures>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}
#ins-uci-drawer-root .ins-uci-no-visual{min-height:180px;display:flex;align-items:center;justify-content:center;color:#8490a6;border:1px dashed #d7deea;border-radius:9px;background:#fbfcfe;font-size:10px}
#ins-uci-drawer-root .ins-uci-principal{max-height:330px;overflow:auto}
#ins-uci-drawer-root .ins-uci-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}
#ins-uci-drawer-root .ins-uci-driver-block{padding:11px;border:1px solid #dfe5ef;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-driver-block h3{margin:0 0 8px !important;color:#0b1d48 !important}
#ins-uci-drawer-root .ins-uci-driver-block>div{display:grid;grid-template-columns:minmax(95px,1fr) minmax(80px,1.5fr) auto;gap:7px;align-items:center;margin:6px 0}
#ins-uci-drawer-root .ins-uci-driver-block>div>span,
#ins-uci-drawer-root .ins-uci-driver-block>div>strong{font-size:10px;font-weight:400;color:#566981}
#ins-uci-drawer-root .ins-uci-driver-block i{height:5px;overflow:hidden;border-radius:999px;background:#edf1f7}
#ins-uci-drawer-root .ins-uci-driver-block i>b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8db3ff,#684bf4)}
#ins-uci-drawer-root .ins-uci-method p{margin:6px 0 0 !important;color:#556980 !important}

/* Records. */
#ins-uci-drawer-root .ins-uci-tablewrap{border-radius:10px;border-color:#dfe5ef}
#ins-uci-drawer-root .ins-uci-tablewrap th{font-size:11px !important;font-weight:700 !important;color:#5b6d86 !important;background:#f7f9fc !important;padding:9px 10px !important}
#ins-uci-drawer-root .ins-uci-tablewrap td{font-size:10px !important;font-weight:400 !important;color:#31445f !important;padding:9px 10px !important}

/* Evidence. */
#ins-uci-drawer-root .ins-uci-evidence-list{display:grid;gap:9px}
#ins-uci-drawer-root .ins-uci-evidence-card{padding:13px;border:1px solid #dfe5ef;border-radius:11px;background:#fff}
#ins-uci-drawer-root .ins-uci-evidence-card>header h3{margin:4px 0 10px !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-evidence-card>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
#ins-uci-drawer-root .ins-uci-evidence-card section b{display:block;color:#73829a;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-evidence-card section p{margin:3px 0 0 !important;color:#2d425f !important;font-size:10px !important}
#ins-uci-drawer-root .ins-uci-trace{padding:12px;border-radius:10px;background:#eef2ff}
#ins-uci-drawer-root .ins-uci-trace>span{display:block;color:#5d49eb;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-trace p{margin:5px 0 0 !important;color:#4c4fd7 !important}

/* Actions. */
#ins-uci-drawer-root .ins-uci-enterprise-actions>header{margin-bottom:10px}
#ins-uci-drawer-root .ins-uci-enterprise-actions>header h3{margin:3px 0 !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-recommendation-list{display:grid;gap:8px}
#ins-uci-drawer-root .ins-uci-recommendation-list>article{display:grid;grid-template-columns:26px 1fr auto;gap:10px;padding:12px;border:1px solid #dfe5ef;border-radius:10px;background:#fff}
#ins-uci-drawer-root .ins-uci-recommendation-list>article>span{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#f0edff;color:#654bf2;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-recommendation-list h3{margin:0 0 4px !important;color:#0b1d48 !important}
#ins-uci-drawer-root .ins-uci-recommendation-list p{margin:2px 0 !important;color:#556980 !important}
#ins-uci-drawer-root .ins-uci-governed-list{margin-top:12px}
#ins-uci-drawer-root .ins-uci-governed-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
#ins-uci-drawer-root .ins-uci-governed-list article{padding:11px;border:1px solid #dfe5ef;border-radius:10px;background:#fff}

/* Empty state. */
#ins-uci-drawer-root .ins-uci-empty-state{padding:18px;border:1px solid #dfe5ef;border-radius:11px;background:#fff}
#ins-uci-drawer-root .ins-uci-empty-state>span{color:#654bf2;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-empty-state h3{margin:5px 0 !important;color:#0b1d48 !important;font-size:13px !important}

/* Automation. */
#ins-uci-drawer-root .ins-uci-workflow-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:10px}
#ins-uci-drawer-root .ins-uci-workflow-flow article{padding:10px 8px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;text-align:center}
#ins-uci-drawer-root .ins-uci-workflow-flow article>span{width:22px;height:22px;margin:0 auto 6px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#f0edff;color:#654bf2;font-size:10px;font-weight:700}
#ins-uci-drawer-root .ins-uci-workflow-flow article>b{display:block;color:#0b1d48;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-workflow-flow article>p{margin:4px 0 0 !important;color:#687990 !important}
#ins-uci-drawer-root .ins-uci-automation-definition{padding:12px;border:1px solid #dfe5ef;border-radius:11px;background:#fff}
#ins-uci-drawer-root .ins-uci-automation-definition>header h3{margin:3px 0 9px !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-automation-definition>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#ins-uci-drawer-root .ins-uci-automation-definition>div article{padding:9px;border:1px solid #e4e9f1;border-radius:8px;background:#fbfcfe}
#ins-uci-drawer-root .ins-uci-automation-definition>div article>b{display:block;color:#65748c;font-size:11px;font-weight:700}
#ins-uci-drawer-root .ins-uci-automation-definition>div article>p{margin:3px 0 0 !important;color:#31445f !important}
#ins-uci-drawer-root .ins-uci-automation-definition>footer{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
#ins-uci-drawer-root .ins-uci-automation-definition>footer span{padding:4px 7px;border-radius:999px;background:#f0f3f8;color:#66758c;font-size:10px;font-weight:400}

/* Ask AI. */
#ins-uci-drawer-root .ins-uci-ai-context,
#ins-uci-drawer-root .ins-uci-ai-prompts{padding:12px !important}
#ins-uci-drawer-root .ins-uci-ai-context>span,
#ins-uci-drawer-root .ins-uci-ai-prompts>span{color:#654bf2 !important;font-size:11px !important;font-weight:700 !important}
#ins-uci-drawer-root .ins-uci-ai-context h3{margin:4px 0 !important;color:#0b1d48 !important;font-size:13px !important}
#ins-uci-drawer-root .ins-uci-ai-prompts button{font-size:10px !important;font-weight:400 !important}

/* Keep latest Ledger Feed pilot geometry: universal 800px. */
#ins-uci-drawer-root .ins-uci-drawer,
#ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
#ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
#ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{
  width:min(800px,calc(100vw - 24px)) !important;
  max-width:min(800px,calc(100vw - 24px)) !important;
  min-width:min(800px,calc(100vw - 24px)) !important;
}

@media(max-width:899px) and (min-width:680px){
  #ins-uci-drawer-root .ins-uci-drawer,
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{
    width:min(800px,calc(100vw - 16px)) !important;
    max-width:min(800px,calc(100vw - 16px)) !important;
    min-width:min(800px,calc(100vw - 16px)) !important;
  }
}
@media(max-width:679px){
  #ins-uci-drawer-root .ins-uci-drawer,
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="compact"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="analytical"],
  #ins-uci-drawer-root .ins-uci-drawer[data-mode="records"]{width:100vw !important;max-width:100vw !important;min-width:100vw !important}
  #ins-uci-drawer-root .ins-uci-kpi-strip,
  #ins-uci-drawer-root .ins-uci-fivew>div,
  #ins-uci-drawer-root .ins-uci-three-up,
  #ins-uci-drawer-root .ins-uci-two-up,
  #ins-uci-drawer-root .ins-uci-analysis-top,
  #ins-uci-drawer-root .ins-uci-driver-grid,
  #ins-uci-drawer-root .ins-uci-finance-know>div,
  #ins-uci-drawer-root .ins-uci-observed-measures>div,
  #ins-uci-drawer-root .ins-uci-governed-list>div,
  #ins-uci-drawer-root .ins-uci-automation-definition>div,
  #ins-uci-drawer-root .ins-uci-workflow-flow{grid-template-columns:1fr !important}
}
/* INSOLUTIONS PHASE A R7 — READABILITY + BRAND + UTILITIES */
#ins-uci-drawer-root .ins-uci-brand-title{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1 1 auto}
#ins-uci-drawer-root .ins-uci-brandmark{width:30px;height:30px;flex:0 0 30px;display:flex;align-items:center;justify-content:center;margin-top:1px}
#ins-uci-drawer-root .ins-uci-brand-svg{display:block;width:30px;height:30px}
#ins-uci-drawer-root .ins-uci-titlebox{min-width:0}
#ins-uci-drawer-root .ins-uci-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 18px;border-bottom:1px solid #e1e7f0;background:#fff;flex:0 0 auto}
#ins-uci-drawer-root .ins-uci-toolbar>span{color:#68768e;font-size:14px!important;font-weight:700!important;letter-spacing:.055em}
#ins-uci-drawer-root .ins-uci-toolbar>div{display:flex;align-items:center;gap:7px}
#ins-uci-drawer-root .ins-uci-toolbar button{min-height:34px;padding:7px 11px;border:1px solid #d9e1ed;border-radius:8px;background:#fff;color:#40516b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px!important;font-weight:400!important;line-height:1.2;cursor:pointer}
#ins-uci-drawer-root .ins-uci-toolbar button:hover{background:#f7f8fc;border-color:#cbd5e3}

#ins-uci-drawer-root .ins-uci-scroll,
#ins-uci-drawer-root .ins-uci-scroll p,
#ins-uci-drawer-root .ins-uci-scroll small,
#ins-uci-drawer-root .ins-uci-scroll td,
#ins-uci-drawer-root .ins-uci-scroll label,
#ins-uci-drawer-root .ins-uci-scroll input,
#ins-uci-drawer-root .ins-uci-scroll textarea,
#ins-uci-drawer-root .ins-uci-scroll select,
#ins-uci-drawer-root .ins-uci-scroll button,
#ins-uci-drawer-root .ins-uci-driver-block>div>span,
#ins-uci-drawer-root .ins-uci-driver-block>div>strong{font-size:13px!important;font-weight:400!important;line-height:1.5!important}

#ins-uci-drawer-root .ins-uci-scroll h3,
#ins-uci-drawer-root .ins-uci-scroll th,
#ins-uci-drawer-root .ins-uci-scroll article>span:first-child,
#ins-uci-drawer-root .ins-uci-scroll section>header>span:first-child,
#ins-uci-drawer-root .ins-uci-evidence-card section b,
#ins-uci-drawer-root .ins-uci-automation-definition>div article>b,
#ins-uci-drawer-root .ins-uci-workflow-flow article>b,
#ins-uci-drawer-root .ins-uci-kpi-card>span{font-size:14px!important;font-weight:700!important;line-height:1.3!important}

#ins-uci-drawer-root .ins-uci-tabs button{font-size:14px!important;font-weight:700!important;min-height:40px!important}
#ins-uci-drawer-root .ins-uci-eyebrow{font-size:13px!important;font-weight:700!important}
#ins-uci-drawer-root .ins-uci-titlebox h2{font-size:24px!important;font-weight:700!important;line-height:1.18!important}
#ins-uci-drawer-root .ins-uci-context-line,
#ins-uci-drawer-root .ins-uci-selected,
#ins-uci-drawer-root .ins-uci-breadcrumb{font-size:13px!important;font-weight:400!important;line-height:1.45!important}

#ins-uci-drawer-root .ins-uci-executive-summary h3,
#ins-uci-drawer-root .ins-uci-analysis-lead h3,
#ins-uci-drawer-root .ins-uci-fivew>header h3,
#ins-uci-drawer-root .ins-uci-principal-panel>header h3,
#ins-uci-drawer-root .ins-uci-observed-measures>header h3,
#ins-uci-drawer-root .ins-uci-enterprise-actions>header h3,
#ins-uci-drawer-root .ins-uci-automation-definition>header h3,
#ins-uci-drawer-root .ins-uci-evidence-card>header h3,
#ins-uci-drawer-root .ins-uci-empty-state h3,
#ins-uci-drawer-root .ins-uci-ai-context h3{font-size:14px!important;font-weight:700!important}

#ins-uci-drawer-root .ins-uci-kpi-card>b{font-size:18px!important;font-weight:700!important}
#ins-uci-drawer-root .ins-uci-kpi-card>small{font-size:13px!important;font-weight:400!important}
#ins-uci-drawer-root .ins-uci-class{font-size:11px!important;font-weight:700!important}

#ins-uci-drawer-root .ins-uci-embedded,
#ins-uci-drawer-root .ins-uci-embedded p,
#ins-uci-drawer-root .ins-uci-embedded span,
#ins-uci-drawer-root .ins-uci-embedded small,
#ins-uci-drawer-root .ins-uci-embedded label,
#ins-uci-drawer-root .ins-uci-embedded input,
#ins-uci-drawer-root .ins-uci-embedded textarea,
#ins-uci-drawer-root .ins-uci-embedded select,
#ins-uci-drawer-root .ins-uci-embedded button{font-size:13px!important;font-weight:400!important;line-height:1.5!important}
#ins-uci-drawer-root .ins-uci-embedded h1,
#ins-uci-drawer-root .ins-uci-embedded h2,
#ins-uci-drawer-root .ins-uci-embedded h3,
#ins-uci-drawer-root .ins-uci-embedded h4{font-size:14px!important;font-weight:700!important;line-height:1.3!important}

@media(max-width:679px){
  #ins-uci-drawer-root .ins-uci-toolbar{align-items:flex-start;flex-direction:column}
  #ins-uci-drawer-root .ins-uci-toolbar>div{width:100%}
  #ins-uci-drawer-root .ins-uci-toolbar button{flex:1 1 0}
}

/* INSOLUTIONS GLOBAL CONTEXTUAL INTELLIGENCE — WAVE 1 R1 */
.ins-global-advanced{margin:18px auto 24px!important;width:calc(100% - 24px);max-width:1700px;box-sizing:border-box}
.ins-global-advanced>header span,.ins-uci-advanced-section>header span{font-size:12px!important;font-weight:700!important}
.ins-global-advanced>header h2,.ins-uci-advanced-section>header h2{font-size:18px!important;font-weight:700!important;line-height:1.25!important}
.ins-global-advanced>header p,.ins-uci-advanced-section>header p{font-size:13px!important;font-weight:400!important;line-height:1.5!important}
.ins-global-advanced .ins-uci-advanced-card,.ins-uci-advanced-section .ins-uci-advanced-card{min-height:148px!important;padding:14px!important}
.ins-global-advanced .ins-uci-advanced-card h3,.ins-uci-advanced-section .ins-uci-advanced-card h3{font-size:14px!important;font-weight:700!important;line-height:1.35!important}
.ins-global-advanced .ins-uci-advanced-card p,.ins-uci-advanced-section .ins-uci-advanced-card p{min-height:52px!important;font-size:13px!important;font-weight:400!important;line-height:1.5!important}
.ins-global-advanced .ins-uci-advanced-card b,.ins-uci-advanced-section .ins-uci-advanced-card b{font-size:13px!important;font-weight:700!important}
.ins-uci-ai-answer-shell,.ins-uci-ai-answer{padding:14px;border:1px solid #dfe5ef;border-radius:11px;background:#fff}
.ins-uci-ai-answer>span{display:block;color:#654bf2;font-size:14px!important;font-weight:700!important}
.ins-uci-ai-answer p,.ins-uci-ai-answer-shell p{margin:6px 0 0!important;color:#31445f!important;font-size:13px!important;font-weight:400!important;line-height:1.55!important}
.ins-uci-ai-answer.error{background:#fff8f8;border-color:#f1d3d8}
@media(max-width:900px){.ins-global-advanced{width:calc(100% - 16px);margin:14px auto 20px!important}}

