/* Finance module showcase. Scoped to the finance route so shared pages keep their existing styling. */
.ledger-content.finance-expansion{max-width:1480px;padding:70px 34px 86px}
.finance-expansion{--f-ink:#152542;--f-muted:#6b7e9b;--f-line:#e2eaf5;--f-blue:#2879f4;--f-violet:#8359ed;--f-cyan:#16afd1;--f-green:#18a884;color:var(--f-ink)}
.f-section{margin:0 0 66px;scroll-margin-top:28px}
.f-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);align-items:end;gap:28px;margin:0 4px 24px}
.f-section-head>div{min-width:0}
.f-kicker{margin:0 0 11px;color:#3b72c3;font-size:10px;font-weight:850;letter-spacing:.17em}
.f-section-head h2{margin:0;color:#142542;font-size:clamp(30px,3vw,42px);font-weight:780;letter-spacing:-.05em;line-height:1.12}
.f-section-head>p{max-width:510px;margin:0 0 3px;color:#667b99;font-size:13px;line-height:1.8}
.f-app-window,.f-screen{overflow:hidden;border:1px solid #dbe5f2;border-radius:23px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 20px 54px rgba(20,45,82,.08)}
.f-app-window{padding:0}
.f-app-bar,.f-screen-top{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:62px;padding:0 24px;border-bottom:1px solid #e8eef7;background:linear-gradient(180deg,#fff,#f7faff)}
.f-app-brand,.f-screen-top>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}
.f-app-brand>span{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:linear-gradient(145deg,#087fe7,#17b7d7);color:#fff;font-size:14px;font-weight:900}
.f-app-brand>b,.f-screen-top b{color:#243a5c;font-size:10px;font-weight:850;letter-spacing:.06em}
.f-toolbar-note,.f-live-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #e2eaf5;border-radius:999px;background:#fff;color:#7688a4;font-size:8px;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.f-toolbar-note i,.f-live-badge i{width:6px;height:6px;border-radius:50%;background:#25b997;box-shadow:0 0 0 3px rgba(37,185,151,.11)}
.f-app-body{padding:24px}
.f-app-heading,.f-panel-head,.f-report-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.f-app-heading{margin-bottom:16px}
.f-app-heading h3{margin:0;color:#192e4d;font-size:17px;font-weight:800;letter-spacing:-.03em}
.f-app-heading p,.f-panel-head p,.f-instrument-head p,.f-report-title p{margin:5px 0 0;color:#8292aa;font-size:10px;line-height:1.5}
.f-date-chip{padding:7px 10px;border-radius:8px;background:#f2f6fd;color:#7485a0;font-size:8px;font-weight:800;letter-spacing:.1em;white-space:nowrap}
.f-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.f-kpi{min-width:0;padding:15px 16px 14px;border:1px solid #e5ecf6;border-radius:14px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 5px 18px rgba(29,56,94,.035)}
.f-kpi>span{display:flex;align-items:center;gap:8px;color:#7486a1;font-size:9px;font-weight:750}
.f-kpi-dot{width:8px;height:8px;border-radius:50%;background:var(--f-blue);box-shadow:0 0 0 4px #edf4ff}
.f-kpi-dot--green{background:var(--f-green);box-shadow:0 0 0 4px #e9faf4}.f-kpi-dot--violet{background:var(--f-violet);box-shadow:0 0 0 4px #f2edff}.f-kpi-dot--cyan{background:#0caec8;box-shadow:0 0 0 4px #e8fbfd}
.f-kpi strong{display:block;overflow:hidden;margin-top:10px;color:#142747;font-size:clamp(20px,2.05vw,29px);font-weight:820;letter-spacing:-.05em;text-overflow:ellipsis;white-space:nowrap}
.f-kpi small{display:block;margin-top:5px;color:#8a99b0;font-size:9px}
.f-kpi--net{border-color:#dce3ff;background:linear-gradient(145deg,#fff,#f7f5ff)}.f-kpi--net strong{color:#664fe2}
.f-overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.75fr);gap:14px;margin-top:14px}
.f-panel{min-width:0;padding:17px;border:1px solid #e4ebf5;border-radius:16px;background:#fff}
.f-panel-head h4,.f-instrument-head h4,.f-report-title h4{margin:0;color:#243a5b;font-size:12px;font-weight:820;letter-spacing:-.015em}
.f-period-tabs,.f-register-filters{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #e4ebf5;border-radius:10px;background:#f7f9fd}
.f-period-tabs button,.f-register-filters button{appearance:none;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:#7889a2;font:700 9px Inter,"Plus Jakarta Sans",Arial,sans-serif;cursor:pointer;transition:color .2s,background .2s,box-shadow .2s}
.f-period-tabs button[aria-pressed=true],.f-register-filters button[aria-pressed=true]{background:#fff;color:#285fc8;box-shadow:0 2px 7px rgba(24,48,89,.12)}
.f-period-tabs button:focus-visible,.f-register-filters button:focus-visible{outline:2px solid #6697ff;outline-offset:2px}
.f-chart-legend{display:flex;align-items:center;gap:15px;margin:18px 0 5px;color:#70829c;font-size:9px}
.f-chart-legend>span:not(.f-chart-caption),.f-report-legend span{display:inline-flex;align-items:center;gap:6px}
.f-legend-in,.f-legend-out,.f-legend-plan{display:inline-block;width:8px;height:8px;border-radius:3px;background:#3989f4}.f-legend-out{background:#9270ef}.f-legend-plan{background:#cfc4fa}
.f-chart-caption{margin-left:auto;color:#8999b1;font-size:8px}
.f-chart-wrap{width:100%;min-width:0;height:242px}
.f-cash-chart{display:block;width:100%;height:100%;overflow:visible}
.f-cash-chart text{font-family:Inter,"Plus Jakarta Sans",Arial,sans-serif}
.f-chart-foot{display:flex;justify-content:space-between;gap:14px;margin-top:2px;padding-top:11px;border-top:1px solid #edf1f7;color:#8b9bb1;font-size:8px}
.f-chart-foot span:last-child{color:#596f91;font-weight:750;text-align:right}
.f-period-summary{display:flex;flex-direction:column}
.f-period-summary .f-panel-head{margin-bottom:18px}
.f-summary-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f7;color:#7c8da6;font-size:9px}
.f-summary-line b{color:#31486a;font-size:10px;font-weight:780;white-space:nowrap}
.f-positive{color:#138a6d!important}.f-negative{color:#d6506c!important}
.f-summary-total{display:flex;flex-direction:column;gap:7px;margin-top:auto;padding:15px 13px;border:1px solid #e0e6ff;border-radius:12px;background:linear-gradient(110deg,#f4f7ff,#f7f2ff)}
.f-summary-total span{color:#70809a;font-size:9px;font-weight:700}.f-summary-total strong{color:#274b9f;font-size:23px;font-weight:820;letter-spacing:-.04em}
.f-footnote{margin:12px 0 0;color:#91a0b4;font-size:8px;line-height:1.55}
.f-screen{padding:0}
.f-screen-top{min-height:68px}
.f-screen-top>div:first-child>div{display:grid;gap:4px}
.f-screen-top b{font-size:12px;letter-spacing:0}
.f-screen-top small{color:#8798b0;font-size:9px}
.f-screen-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:#ecf4ff;color:#3378e7;font-size:17px;font-weight:800}
.f-screen-icon--violet{background:#f2edff;color:#805de7}.f-screen-icon--blue{background:#edf5ff;color:#3280ed}
.f-register-filters button{font-size:9px}.f-register-filters button span{margin-left:4px;color:#97a5b9}
.f-table-scroll{overflow:auto;outline-offset:-2px}
.f-table{width:100%;min-width:790px;border-collapse:separate;border-spacing:0;color:#465c7b;text-align:left}
.f-table thead{background:#f7f9fd}
.f-table th{height:39px;padding:0 15px;border-bottom:1px solid #e7edf6;color:#8292aa;font-size:8px;font-weight:850;letter-spacing:.08em;white-space:nowrap}
.f-table th:first-child{padding-left:22px}
.f-table td{height:60px;padding:8px 15px;border-bottom:1px solid #edf1f6;font-size:10px;white-space:nowrap}
.f-table tbody tr:last-child td{border-bottom:0}
.f-table td:first-child{padding-left:22px}
.f-table td>b{display:block;color:#2e4364;font-size:10px;font-weight:750}
.f-table td>small{display:block;margin-top:4px;color:#94a1b4;font-size:8px}
.f-type,.f-state{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:99px;font-size:8px;font-weight:800;white-space:nowrap}
.f-type--in{background:#edf6ff;color:#2d78dc}.f-type--out{background:#f3efff;color:#7456cc}
.f-state--partial{background:#fff4e8;color:#bf7b22}.f-state--planned{background:#eef4ff;color:#557bbd}.f-state--done{background:#eaf8f2;color:#168d6c}
.f-screen-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 21px;border-top:1px solid #e9eef6;color:#8393a9;font-size:8px}
.f-screen-foot>span:first-child{display:inline-flex;align-items:center;gap:7px}.f-screen-foot i{width:6px;height:6px;border-radius:50%;background:#25b99a}
.f-exposure-screen{padding:21px 24px 18px}
.f-exposure-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}
.f-exposure-top>div{display:grid;gap:5px}.f-exposure-top b{color:#283e5e;font-size:12px}.f-exposure-top small{color:#8b9bb1;font-size:9px}
.f-exposure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.f-exposure-card{min-width:0;padding:18px;border:1px solid #e5ecf6;border-radius:15px;background:linear-gradient(140deg,#fff,#f8fbff)}
.f-exposure-title{display:flex;align-items:center;gap:11px;padding-bottom:15px;border-bottom:1px solid #edf1f6}
.f-exposure-title>div{display:grid;gap:5px;min-width:0}.f-exposure-title>div>small{color:#8696ad;font-size:8px;font-weight:850;letter-spacing:.1em}.f-exposure-title>div>strong{color:#203657;font-size:24px;font-weight:820;letter-spacing:-.04em}.f-exposure-title>.f-state{margin-left:auto}
.f-aging{display:grid;gap:12px;padding-top:15px}
.f-aging>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;color:#71839d;font-size:9px}
.f-aging b{color:#405673;font-size:9px;font-weight:750}.f-aging>div>i{grid-column:1/-1;display:block;height:6px;overflow:hidden;border-radius:99px;background:#edf2f8}
.f-aging>div>i>em{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#55a4fa,#4581ef)}
.f-exposure-card--payable .f-aging>div>i>em{background:linear-gradient(90deg,#a58afa,#7959e9)}.f-aging>div>i.f-aging--late>em{background:linear-gradient(90deg,#f2b26c,#e67883)}
.f-exposure-summary{display:flex;align-items:center;gap:26px;margin:16px 0 0;padding:14px 16px;border:1px solid #e8edf6;border-radius:12px;background:#f8faff}
.f-exposure-summary>span{display:inline-flex;align-items:center;gap:8px;color:#7486a0;font-size:9px}.f-exposure-summary b{color:#344b6d;font-size:10px}
.f-summary-dot{width:8px;height:8px;border-radius:50%;background:#428af0}.f-summary-dot--violet{background:#8c69ec}
.f-exposure-summary .f-exposure-net{margin-left:auto;padding-left:24px;border-left:1px solid #e1e8f2;color:#6f809a}.f-exposure-net b{color:#5d51ce}
.f-exposure-screen>.f-footnote{margin-top:10px}
.f-accounts-screen .f-screen-top{padding-top:2px;padding-bottom:2px}
.f-account-total{display:grid;gap:5px;text-align:right}.f-account-total small{color:#8797ae;font-size:8px;font-weight:800;letter-spacing:.1em}.f-account-total strong{color:#1c3560;font-size:19px;font-weight:820;letter-spacing:-.04em}
.f-account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:18px;padding:20px}
.f-account-list,.f-instrument-panel{min-width:0}
.f-account-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto 7px;align-items:center;gap:11px;min-height:67px;padding:9px 11px;border-bottom:1px solid #edf1f6}
.f-account-glyph{display:grid;width:32px;height:32px;place-items:center;border:1px solid #dce8fb;border-radius:10px;background:#eff5ff;color:#3c7fe2;font-size:16px}.f-account-glyph--purple{border-color:#ebe3ff;background:#f4f0ff;color:#805ee0}.f-account-glyph--green{border-color:#dcf2ea;background:#effaf6;color:#19a383}
.f-account-row>span:nth-child(2),.f-account-movement>span:nth-child(2){display:grid;gap:4px;min-width:0}.f-account-row b,.f-account-movement b{overflow:hidden;color:#334967;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.f-account-row small,.f-account-movement small{color:#8b9bb1;font-size:8px}.f-account-row>strong{color:#2d4364;font-size:10px;font-weight:780;white-space:nowrap}.f-account-dot{width:7px;height:7px;border-radius:50%;background:#2cb798;box-shadow:0 0 0 3px #e6f8f2}
.f-account-note{display:flex;justify-content:space-between;gap:12px;padding:16px 4px 6px;color:#344a68;font-size:9px;font-weight:800}.f-account-note span+span{color:#95a2b5;font-size:8px;font-weight:500}
.f-account-movement{display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:7px 4px;border-bottom:1px solid #f0f3f8}.f-account-movement:last-child{border-bottom:0}
.f-move-mark{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#ecf8f4;color:#179773;font-size:14px;font-weight:800}.f-move-mark--out{background:#f3efff;color:#805adf}.f-account-movement>strong{font-size:9px;white-space:nowrap}
.f-instrument-panel{padding:17px;border:1px solid #e5ecf6;border-radius:15px;background:linear-gradient(145deg,#fff,#f9fbff)}
.f-instrument-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #edf1f6}
.f-instrument-group{padding-top:13px}.f-instrument-group>small{color:#8797ad;font-size:8px;font-weight:850;letter-spacing:.1em}
.f-instrument-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f6}.f-instrument-row>span{display:grid;gap:4px}.f-instrument-row b{color:#3b506e;font-size:9px}.f-instrument-row small{color:#8f9eb3;font-size:8px}.f-instrument-row>strong{color:#344a68;font-size:9px;white-space:nowrap}.f-instrument-row .f-state{font-style:normal}
.f-advance-box{display:grid;grid-template-columns:1.3fr 1fr 1fr;align-items:center;gap:12px;margin-top:14px;padding:13px;border:1px solid #e3e8ff;border-radius:12px;background:linear-gradient(105deg,#f5f8ff,#f8f4ff)}
.f-advance-box>div{display:grid;grid-template-columns:27px 1fr;align-items:center;gap:3px 8px}.f-advance-icon{grid-row:span 2;display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:#ecefff;color:#745ee4;font-weight:800}.f-advance-box b{color:#425675;font-size:9px}.f-advance-box>div>small{grid-column:2;color:#8c9bb0;font-size:7px}.f-advance-box>span{display:grid;gap:5px}.f-advance-box>span>small{color:#8797ad;font-size:8px}.f-advance-box>span>strong{color:#3a4e6d;font-size:10px}
.f-report-screen{padding-bottom:0}.f-report-screen>.f-screen-top{border-bottom:0}
.f-report-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:13px;padding:0 20px 19px}
.f-report-panel{min-width:0;padding:17px;border:1px solid #e5ecf6;border-radius:15px;background:linear-gradient(150deg,#fff,#f9fbff)}
.f-report-title{min-height:38px;align-items:flex-start}.f-report-title h4{font-size:11px}.f-report-title p{font-size:8px}.f-report-title>strong{display:grid;justify-items:end;color:#6752dd;font-size:23px;font-weight:830;letter-spacing:-.04em}.f-report-title>strong small{margin-top:2px;color:#8998ae;font-size:7px;font-weight:600;letter-spacing:0}
.f-performance-chart{display:grid;grid-template-columns:35px minmax(0,1fr);gap:9px;height:151px;margin-top:17px;padding:10px 4px 20px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 34px,#edf1f7 35px,#edf1f7 36px)}
.f-perf-y{display:flex;flex-direction:column;justify-content:space-between;padding:0 0 2px;color:#98a4b6;font-size:7px}
.f-perf-columns{display:flex;align-items:stretch;justify-content:space-around;gap:10px;height:100%}
.f-perf-columns>i{position:relative;display:block;flex:1;max-width:42px;height:100%;font-style:normal}
.f-perf-columns>i:after{position:absolute;top:calc(100% + 7px);left:50%;color:#8292a9;font-size:7px;transform:translateX(-50%);content:attr(data-month)}
.f-perf-columns>i>em,.f-perf-columns>i>b{position:absolute;bottom:0;left:7%;width:42%;height:var(--planned);border-radius:5px 5px 0 0;background:linear-gradient(180deg,#bdadff,#e6e1ff)}
.f-perf-columns>i>b{left:52%;width:42%;height:var(--actual);background:linear-gradient(180deg,#3d9ff7,#3975ec)}
.f-perf-columns>i.is-current>b{background:linear-gradient(180deg,#00b8cf,#2584ef);box-shadow:0 0 16px rgba(29,157,235,.28)}
.f-report-legend{display:flex;gap:14px;margin-top:18px;color:#7789a3;font-size:8px}.f-report-legend .f-legend-in,.f-report-legend .f-legend-plan{width:7px;height:7px}
.f-report-icon{display:grid;width:29px;height:29px;place-items:center;border-radius:9px;background:#edf5ff;color:#397fed;font-size:15px}.f-report-icon--violet{background:#f3efff;color:#825fe6}
.f-distribution{display:grid;gap:18px;margin-top:22px}.f-distribution>div{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:7px 12px;align-items:center;color:#667b98;font-size:9px}.f-distribution b{color:#405573;font-size:9px;text-align:right}.f-distribution i{grid-column:1/-1;display:block;height:7px;overflow:hidden;border-radius:99px;background:#eef2f8}.f-distribution i>em{display:block;width:var(--w);height:100%;border-radius:inherit;background:linear-gradient(90deg,#3b92f2,#6f66ef)}.f-distribution>div:nth-child(2) i>em{background:linear-gradient(90deg,#9076f4,#8e6be9)}.f-distribution>div:nth-child(3) i>em{background:linear-gradient(90deg,#51c3b0,#42a8c9)}.f-distribution>div:nth-child(4) i>em{background:linear-gradient(90deg,#f4ba6a,#ec8c99)}
.f-maturity{display:grid;gap:12px;margin-top:20px}.f-maturity>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto 31px;align-items:center;gap:8px;color:#6f819b;font-size:8px}.f-maturity b{color:#405674;font-size:8px;white-space:nowrap}.f-maturity small{color:#8b9ab0;font-size:7px;text-align:right}.f-maturity-marker{width:8px;height:8px;border-radius:50%;background:#35b897}.f-maturity-marker--blue{background:#4b91f1}.f-maturity-marker--red{background:#e38396}
.f-maturity-bar{display:flex;height:8px;overflow:hidden;margin-top:18px;border-radius:99px;background:#e9eef5}.f-maturity-bar i{width:35%;background:#38b998}.f-maturity-bar b{width:48%;background:#528eeb}.f-maturity-bar em{width:17%;background:#e48797}
.f-report-screen>.f-screen-foot{margin-top:0}
.f-integration-screen{overflow:hidden;padding:20px 22px 16px;border:1px solid rgba(130,157,219,.26);border-radius:22px;background:radial-gradient(ellipse at 78% 0,rgba(84,100,214,.27),transparent 38%),radial-gradient(ellipse at 0 100%,rgba(18,151,199,.2),transparent 35%),linear-gradient(118deg,#0e1830,#101e3b 58%,#14224a);box-shadow:0 22px 54px rgba(19,36,74,.16);color:#f5f8ff}
.f-integration-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid rgba(195,211,245,.13);color:#dbe5fb;font-size:9px;font-weight:850;letter-spacing:.14em}.f-integration-top>span:last-child{display:inline-flex;align-items:center;gap:7px;color:#9aaed0;font-size:7px}.f-integration-top>span:last-child>i{width:6px;height:6px;border-radius:50%;background:#37d1ca;box-shadow:0 0 10px #37d1ca}
.f-flow-map{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,1.16fr) 68px minmax(0,1fr);grid-template-rows:1fr 1fr;align-items:center;gap:10px 8px;padding:25px 0 19px}
.f-flow-node{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:84px;padding:15px 13px;border:1px solid rgba(177,200,243,.18);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035));transition:transform .24s ease,border-color .24s ease,background .24s ease}
.f-flow-node:hover,.f-flow-node:focus-visible{transform:translateY(-3px);border-color:rgba(111,190,255,.56);background:rgba(255,255,255,.12);outline:none}
.f-flow-node>span:nth-child(2){display:grid;gap:5px;min-width:0}.f-flow-node small{color:#91a8cd;font-size:7px;font-weight:850;letter-spacing:.12em}.f-flow-node b{overflow:hidden;color:#f3f7ff;font-size:10px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.f-flow-node em{color:#a7b9d8;font-size:8px;font-style:normal}
.f-node-icon{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid rgba(152,184,255,.2);border-radius:11px;background:rgba(95,140,229,.16);color:#8bc4ff;font-size:17px;font-weight:800}.f-node-finance .f-node-icon{border-color:rgba(94,220,217,.35);background:rgba(43,207,196,.16);color:#77ebe1}.f-node-purchase .f-node-icon{background:rgba(146,111,242,.18);color:#c0a9ff}.f-node-accounting .f-node-icon{background:rgba(70,169,234,.15);color:#91ceff}
.f-flow-node.f-node-sales{grid-column:1;grid-row:1}.f-flow-node.f-node-purchase{grid-column:1;grid-row:2}.f-flow-node.f-node-finance{grid-column:3;grid-row:1/3;min-height:112px}.f-flow-node.f-node-accounting{grid-column:5;grid-row:1/3;min-height:112px}.f-flow-connector{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;color:#94a9ce;font-size:7px}.f-flow-connector--sales{grid-column:2;grid-row:1}.f-flow-connector--purchase{grid-column:2;grid-row:2}.f-flow-connector--accounting{grid-column:4;grid-row:1/3}.f-flow-connector>i{position:relative;display:block;width:100%;height:2px;overflow:hidden;border-radius:99px;background:linear-gradient(90deg,rgba(103,149,238,.12),rgba(110,204,238,.76),rgba(150,115,240,.22))}.f-flow-connector>i:after{position:absolute;top:-3px;left:0;width:8px;height:8px;border-radius:50%;background:#68e2e3;box-shadow:0 0 13px #68e2e3;content:"";animation:f-flow-travel 2.5s ease-in-out infinite}.f-flow-connector--purchase>i:after{animation-delay:.55s}.f-flow-connector--accounting>i:after{animation-delay:1.1s}
.f-flow-pulse{position:absolute;top:9px;right:10px;width:6px;height:6px;border-radius:50%;background:#58dec9;box-shadow:0 0 0 0 rgba(88,222,201,.5);animation:f-pulse 2.4s infinite}
.f-integration-note{display:flex;align-items:center;gap:8px;margin:0;padding-top:14px;border-top:1px solid rgba(195,211,245,.13);color:#a6badb;font-size:8px}.f-integration-note>span{width:6px;height:6px;border-radius:50%;background:#52d8cd}
.f-demo-cta{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:20px;margin-top:4px;padding:24px 27px;border:1px solid #d9e3fb;border-radius:22px;background:radial-gradient(ellipse at 92% 0,rgba(128,98,239,.15),transparent 35%),linear-gradient(110deg,#fff,#f6f8ff 62%,#f3efff);box-shadow:0 17px 40px rgba(40,55,112,.08)}
.f-cta-mark{display:grid;width:50px;height:50px;place-items:center;border-radius:15px;background:linear-gradient(145deg,#2189f1,#7f57ec);box-shadow:0 9px 20px rgba(69,100,221,.2);color:#fff;font-size:24px;font-weight:900}
.f-demo-cta>div:nth-child(2)>p{margin:0 0 6px;color:#5478b6;font-size:8px;font-weight:850;letter-spacing:.13em}.f-demo-cta h2{margin:0;color:#182b4b;font-size:clamp(19px,2vw,26px);font-weight:790;letter-spacing:-.04em}.f-demo-cta>div:nth-child(2)>span{display:block;margin-top:6px;color:#7385a1;font-size:10px;line-height:1.6}
.f-demo-cta>a{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:46px;padding:0 18px;border-radius:11px;background:linear-gradient(100deg,#0768cf,#05b2d0);box-shadow:0 9px 20px rgba(12,119,205,.2);color:#fff;font-size:10px;font-weight:800;transition:transform .2s ease,box-shadow .2s ease;white-space:nowrap}.f-demo-cta>a:hover{transform:translateY(-2px);box-shadow:0 13px 26px rgba(12,119,205,.28)}.f-demo-cta>a b{font-size:16px}
@keyframes f-flow-travel{0%{left:0;opacity:0}12%{opacity:1}85%{opacity:1}100%{left:calc(100% - 8px);opacity:0}}
@keyframes f-pulse{0%,100%{box-shadow:0 0 0 0 rgba(88,222,201,.45)}50%{box-shadow:0 0 0 6px rgba(88,222,201,0)}}
@media(max-width:1100px){.ledger-content.finance-expansion{max-width:100%;padding-right:26px;padding-left:26px}.f-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.f-performance{grid-column:1/-1}.f-performance-chart{height:170px}.f-flow-map{grid-template-columns:minmax(0,1fr) 46px minmax(0,1.1fr) 46px minmax(0,1fr);gap:8px 5px}.f-flow-node{gap:8px;padding:12px 9px}.f-flow-node b{font-size:9px}}
@media(max-width:820px){.f-section{margin-bottom:52px}.f-section-head{grid-template-columns:1fr;gap:12px}.f-section-head>p{max-width:650px}.f-overview-grid{grid-template-columns:1fr}.f-period-summary{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.f-period-summary .f-panel-head,.f-period-summary .f-summary-total,.f-period-summary .f-footnote{grid-column:1/-1}.f-period-summary .f-panel-head{margin-bottom:6px}.f-summary-line{padding:10px 0}.f-summary-total{margin-top:12px}.f-account-layout{grid-template-columns:1fr}.f-instrument-panel{padding:18px}.f-flow-map{grid-template-columns:1fr;grid-template-rows:auto;gap:0;max-width:570px;margin:0 auto}.f-flow-node,.f-flow-node.f-node-sales,.f-flow-node.f-node-purchase,.f-flow-node.f-node-finance,.f-flow-node.f-node-accounting{grid-column:1;grid-row:auto;min-height:74px}.f-flow-connector,.f-flow-connector--sales,.f-flow-connector--purchase,.f-flow-connector--accounting{grid-column:1;grid-row:auto;min-height:44px;align-items:flex-start;justify-content:center;padding-left:27px}.f-flow-connector>span{margin-left:13px}.f-flow-connector>i{position:absolute;left:17px;width:2px;height:100%;background:linear-gradient(180deg,rgba(103,149,238,.12),rgba(110,204,238,.76),rgba(150,115,240,.22))}.f-flow-connector>i:after{top:0;left:-3px;animation:f-flow-vertical 2.5s ease-in-out infinite}.f-flow-connector--purchase>i:after{animation-delay:.55s}.f-flow-connector--accounting>i:after{animation-delay:1.1s}.f-demo-cta{grid-template-columns:48px minmax(0,1fr)}.f-demo-cta>a{grid-column:2;justify-self:start}}
@keyframes f-flow-vertical{0%{top:0;opacity:0}12%{opacity:1}85%{opacity:1}100%{top:calc(100% - 8px);opacity:0}}
@media(max-width:620px){.ledger-content.finance-expansion{padding:43px 15px 56px}.f-section{margin-bottom:43px}.f-section-head{gap:10px;margin:0 2px 17px}.f-kicker{font-size:8px;margin-bottom:9px}.f-section-head h2{font-size:30px}.f-section-head>p{font-size:11px;line-height:1.7}.f-app-window,.f-screen{border-radius:18px}.f-app-bar,.f-screen-top{min-height:56px;padding:0 13px}.f-app-brand{gap:7px}.f-app-brand>b{font-size:8px}.f-app-brand>span{width:24px;height:24px}.f-toolbar-note{padding:6px 7px;font-size:6px}.f-app-body{padding:13px}.f-app-heading{align-items:flex-start;gap:8px}.f-app-heading h3{font-size:14px}.f-app-heading p{font-size:8px}.f-date-chip{padding:6px 7px;font-size:6px}.f-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.f-kpi{padding:11px 10px}.f-kpi>span{font-size:8px}.f-kpi strong{font-size:19px;margin-top:8px}.f-kpi small{font-size:7px}.f-overview-grid{gap:9px;margin-top:9px}.f-panel{padding:12px;border-radius:13px}.f-panel-head{align-items:flex-start;gap:8px}.f-panel-head h4{font-size:10px}.f-panel-head p{font-size:8px}.f-period-tabs{flex:0 0 auto}.f-period-tabs button{padding:6px 6px;font-size:7px}.f-chart-legend{gap:9px;margin-top:13px;font-size:7px}.f-chart-caption{font-size:7px;text-align:right}.f-chart-wrap{height:190px;margin-left:-4px;width:calc(100% + 8px)}.f-chart-foot{align-items:flex-start;font-size:7px}.f-chart-foot span:last-child{max-width:54%}.f-period-summary{grid-template-columns:1fr;column-gap:0}.f-period-summary .f-panel-head,.f-period-summary .f-summary-total,.f-period-summary .f-footnote{grid-column:1}.f-period-summary .f-panel-head{margin-bottom:6px}.f-summary-line{padding:9px 1px}.f-summary-total{margin-top:12px;padding:12px}.f-summary-total strong{font-size:21px}.f-screen-top>div:first-child{gap:8px}.f-screen-top b{font-size:10px}.f-screen-top small{font-size:7px}.f-screen-icon{width:29px;height:29px;font-size:14px}.f-register-screen>.f-screen-top{align-items:flex-start;flex-direction:column;padding:12px}.f-register-filters{width:100%;justify-content:space-between}.f-register-filters button{padding:7px 8px;font-size:8px}.f-table{min-width:740px}.f-table th{padding:0 10px;font-size:7px}.f-table td{height:53px;padding:7px 10px;font-size:9px}.f-table td:first-child,.f-table th:first-child{padding-left:13px}.f-screen-foot{align-items:flex-start;flex-direction:column;gap:7px;padding:11px 13px;font-size:7px}.f-exposure-screen{padding:14px}.f-exposure-top{align-items:flex-start}.f-exposure-top b{font-size:10px}.f-exposure-top small{font-size:7px}.f-live-badge{padding:6px 7px;font-size:6px}.f-exposure-grid{grid-template-columns:1fr;gap:9px}.f-exposure-card{padding:13px}.f-exposure-title{gap:8px}.f-exposure-title .f-screen-icon{width:28px;height:28px}.f-exposure-title>div>small{font-size:7px}.f-exposure-title>div>strong{font-size:20px}.f-exposure-title>.f-state{font-size:7px;padding:5px 6px}.f-aging{gap:10px;padding-top:12px}.f-aging>div{font-size:8px}.f-aging b{font-size:8px}.f-exposure-summary{align-items:flex-start;flex-direction:column;gap:10px;padding:12px}.f-exposure-summary .f-exposure-net{margin:0;padding:10px 0 0;border-top:1px solid #e1e8f2;border-left:0;width:100%}.f-exposure-summary>span{font-size:8px}.f-exposure-summary b{font-size:9px}.f-account-total small{font-size:6px}.f-account-total strong{font-size:15px}.f-account-layout{gap:10px;padding:11px}.f-account-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;min-height:59px;padding:7px 3px}.f-account-row>.f-account-glyph{width:27px;height:27px}.f-account-row>strong{font-size:8px}.f-account-row>i{display:none}.f-account-row b,.f-account-movement b{font-size:8px}.f-account-row small,.f-account-movement small{font-size:7px}.f-account-note{font-size:8px}.f-account-note span+span{font-size:7px}.f-account-movement{grid-template-columns:24px minmax(0,1fr) auto;gap:7px}.f-move-mark{width:22px;height:22px}.f-account-movement>strong{font-size:8px}.f-instrument-panel{padding:12px}.f-instrument-head h4{font-size:10px}.f-instrument-head p{font-size:8px}.f-instrument-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 0}.f-instrument-row>span{grid-column:1}.f-instrument-row>strong{grid-column:2;grid-row:1;font-size:8px}.f-instrument-row>.f-state{grid-column:2;grid-row:2;justify-self:end}.f-instrument-row b{font-size:8px}.f-instrument-row small{font-size:7px}.f-advance-box{grid-template-columns:1fr 1fr;gap:9px;padding:10px}.f-advance-box>div{grid-column:1/-1}.f-advance-box>span>small{font-size:7px}.f-advance-box>span>strong{font-size:9px}.f-report-grid{grid-template-columns:1fr;padding:0 11px 12px;gap:9px}.f-performance{grid-column:auto}.f-report-panel{padding:13px}.f-report-title h4{font-size:10px}.f-performance-chart{height:143px}.f-distribution{gap:14px;margin-top:17px}.f-distribution>div{font-size:8px}.f-maturity>div{grid-template-columns:8px minmax(0,1fr) auto 26px;gap:6px;font-size:7px}.f-maturity b{font-size:7px}.f-maturity small{font-size:6px}.f-integration-screen{padding:15px 13px 13px;border-radius:18px}.f-integration-top{align-items:flex-start;flex-direction:column;gap:7px;padding-bottom:12px;font-size:8px}.f-flow-map{padding:15px 0 12px}.f-flow-node{min-height:66px;padding:10px}.f-flow-node b{font-size:9px}.f-flow-node em{font-size:7px}.f-node-icon{width:31px;height:31px;flex-basis:31px}.f-flow-connector{min-height:38px;padding-left:23px;font-size:6px}.f-flow-connector>i{left:14px}.f-flow-connector>span{margin-left:10px}.f-integration-note{align-items:flex-start;font-size:7px;line-height:1.6}.f-integration-note>span{flex:0 0 6px;margin-top:3px}.f-demo-cta{grid-template-columns:38px minmax(0,1fr);gap:12px;padding:17px 14px;border-radius:17px}.f-cta-mark{width:38px;height:38px;border-radius:12px;font-size:19px}.f-demo-cta>div:nth-child(2)>p{font-size:7px}.f-demo-cta h2{font-size:18px}.f-demo-cta>div:nth-child(2)>span{font-size:8px}.f-demo-cta>a{grid-column:1/-1;justify-self:stretch;min-height:43px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.f-flow-pulse,.f-flow-connector>i:after{animation:none}.f-flow-node,.f-demo-cta>a,.f-period-tabs button,.f-register-filters button{transition:none}}

/* Full-width finance dashboard showcase, balanced to leave more breathing room. */
.ledger-hero--finance .module-page-wrap{max-width:1400px}
.ledger-hero--finance .ledger-hero__grid{display:flex;flex-direction:column;align-items:center;gap:22px;margin-top:28px}
.ledger-hero--finance .ledger-hero__copy{display:flex;width:100%;max-width:1020px;flex-direction:column;align-items:center;padding:0 0 2px;text-align:center}
.ledger-hero--finance .ledger-eyebrow{justify-content:center;margin-bottom:12px}
.ledger-hero--finance .ledger-hero__title{max-width:900px;font-size:clamp(40px,3.8vw,54px)}
.ledger-hero--finance .ledger-hero__description{max-width:790px;margin-top:13px;font-size:13px}
.ledger-hero--finance .ledger-hero__chips{justify-content:center;margin-top:16px}
.ledger-hero--finance .ledger-hero__aside-note{justify-content:center;margin-top:14px}
.finance-hero-image{width:100%;margin:0;padding:9px;overflow:hidden;border:1px solid rgba(173,197,239,.38);border-radius:24px;background:linear-gradient(145deg,rgba(228,238,255,.18),rgba(190,211,255,.07));box-shadow:0 30px 82px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.17)}
.finance-hero-image img{display:block;width:100%;height:auto;aspect-ratio:1237/662;object-fit:contain;border-radius:16px;background:#f7f9fe}
.finance-hero-image figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 5px 1px;color:#aebed9;font-size:8px}
.finance-hero-image figcaption span:first-child{color:#dce7fb;font-size:8px;font-weight:850;letter-spacing:.13em}
@media(max-width:820px){.ledger-hero--finance .module-page-wrap{max-width:100%}.ledger-hero--finance .ledger-hero__grid{gap:20px;margin-top:24px}.ledger-hero--finance .ledger-hero__copy{max-width:100%}.ledger-hero--finance .ledger-hero__title{font-size:clamp(40px,7.6vw,54px)}.ledger-hero--finance .ledger-hero__description{max-width:680px}.finance-hero-image{padding:7px;border-radius:20px}}
@media(max-width:620px){.ledger-hero--finance .ledger-hero__grid{gap:15px;margin-top:18px}.ledger-hero--finance .ledger-hero__title{font-size:clamp(35px,9vw,44px)}.ledger-hero--finance .ledger-hero__description{font-size:11px}.ledger-hero--finance .ledger-hero__chips{gap:7px;margin-top:13px}.finance-hero-image{width:calc(100% - 8px);padding:5px;border-radius:15px}.finance-hero-image img{border-radius:10px}.finance-hero-image figcaption{align-items:flex-start;flex-direction:column;gap:4px;padding:8px 4px 1px;font-size:7px}}
/* Keep the complete finance showcase within the first desktop viewport. */
@media(min-width:821px){
.ledger-hero--finance{padding-top:18px!important;padding-bottom:20px!important}
.ledger-hero--finance .ledger-hero__grid{gap:12px;margin-top:14px}
.ledger-hero--finance .ledger-eyebrow{margin-bottom:6px}
.ledger-hero--finance .ledger-hero__title{font-size:clamp(32px,3vw,44px);line-height:1.08}
.ledger-hero--finance .ledger-hero__description{margin-top:9px;font-size:12px;line-height:1.6}
.ledger-hero--finance .ledger-hero__chips{margin-top:9px}
.ledger-hero--finance .ledger-hero__aside-note{margin-top:8px}
.finance-hero-image{width:min(100%,calc((100svh - 350px)*1.868));padding:6px;border-radius:18px}
.finance-hero-image img{border-radius:12px}
.finance-hero-image figcaption{padding-top:5px}
}

.finance-expansion .f-section-head:has(.f-section-copy){display:block}.finance-expansion .f-section-copy{max-width:1000px;margin-top:22px}.finance-expansion .f-section-copy p{font-size:14px;line-height:1.85;color:#60728d;margin:0 0 13px;max-width:none}.finance-expansion .f-section-copy p:last-child{margin-bottom:0}.finance-expansion .f-integration-section .f-section-copy p{color:inherit;opacity:.85}@media(max-width:650px){.finance-expansion .f-section-copy p{font-size:13px;line-height:1.8}}
