.financial-summary{min-width:0}.financial-controls{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin:16px 0}.financial-periods{display:flex;gap:6px}.financial-periods [aria-pressed=true]{background:#123a52;color:white;border-color:#19b7b1}.financial-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.financial-cards .card{margin:0;padding:18px;min-width:0}.financial-cards h3{font-size:14px;margin:0 0 10px}.financial-amount{font-size:clamp(17px,2vw,25px);overflow-wrap:anywhere;color:#153349;font-variant-numeric:tabular-nums}.financial-explanation,.financial-basis{font-size:13px;color:#476176;line-height:1.6}.financial-chart-card{min-width:0;margin-top:18px}.financial-legend{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:18px;font-size:13px}.financial-legend span{display:flex;align-items:center;gap:6px}.financial-legend i{width:12px;height:12px;border-radius:3px}.financial-summary .income{background:#11a9a2}.financial-summary .payout{background:#e7a326}.financial-chart{display:flex;gap:12px;max-width:100%;overflow-x:auto;padding-bottom:8px}.financial-axis{display:flex;flex-direction:column;justify-content:space-between;height:220px;min-width:90px;font-size:11px;color:#476176;font-variant-numeric:tabular-nums}.financial-plot{display:flex;flex:1;min-width:340px;gap:8px;border-bottom:1px solid #8ca6b5;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 54px,#e6edf2 54px,#e6edf2 55px);height:220px}.financial-plot.financial-hours{min-width:780px;gap:4px}.financial-group{flex:1;min-width:0;height:220px;position:relative}.financial-pair{display:flex;justify-content:center;align-items:end;gap:3px;height:100%}.financial-bar{height:var(--bar-height);min-height:3px;max-width:34px;width:40%;padding:0;border:0;border-radius:3px 3px 0 0;cursor:pointer;position:relative}.financial-bar:focus-visible,.financial-bar:hover{outline:2px solid #123a52;outline-offset:2px;filter:brightness(1.08)}.financial-label{display:block;position:absolute;top:225px;width:100%;font-size:10px;text-align:center;white-space:nowrap}.financial-chart{padding-bottom:42px}.financial-tooltip{min-height:42px;margin:12px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.financial-empty{padding:40px 12px;text-align:center;background:#f3f8fb;border-radius:8px}.financial-basis summary{cursor:pointer}.financial-controls button:disabled{opacity:.55;cursor:default}@media(max-width:700px){.financial-cards{grid-template-columns:1fr}.financial-controls{align-items:start}.financial-controls .actions{flex-wrap:wrap}.financial-chart-card{padding:14px}.financial-axis{min-width:84px}.financial-cards .card{padding:14px}.financial-amount{font-size:22px}} 

/* Extended module only; existing administration navigation is unchanged. */
.financial-cards{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.financial-cards .card{display:flex;flex-direction:column;gap:6px;border-top:3px solid #11a9a2}.financial-cards h3{margin:0;min-height:36px}.financial-cards small{font-size:11px;color:#526b7b;margin-top:auto;line-height:1.4}.financial-card-payout.card{border-top-color:#e7a326}.financial-card-profit.card{border-top-color:#cf454f}.financial-card-available.card{border-top-color:#2366ac;background:#eaf3ff}.financial-cards .financial-amount{font-size:clamp(17px,1.6vw,23px)}.financial-middle{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:16px;margin-top:16px}.financial-middle .card{margin:0;min-width:0}.financial-profit-panel{display:flex;flex-direction:column;align-items:stretch;gap:12px}.financial-profit-panel p,.financial-profit-panel small{margin:0;font-size:13px;line-height:1.5}.financial-summary .profit{background:#cf454f}.financial-pair{position:relative;display:block}.financial-bar{position:absolute;bottom:var(--bar-bottom,0%);width:26%;max-width:none;min-height:0}.financial-bar.income{left:7%}.financial-bar.payout{left:36%}.financial-bar.profit{left:65%}.financial-plot:after{content:'';position:absolute;left:0;right:0;bottom:var(--zero,0%);border-top:1px solid #698396;pointer-events:none}.financial-histories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.financial-history{min-width:0;margin:0!important;padding:16px!important}.financial-history h3{font-size:15px}.financial-history-scroll{max-height:310px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.financial-history table{width:100%;font-size:12px;min-width:460px}.financial-history thead th{position:sticky;top:0;background:#eef4f9;z-index:1}.financial-history td{overflow-wrap:anywhere}.financial-history-profit{color:#b02e39;font-weight:700}.financial-history-payout{color:#936000;font-weight:700}.financial-history-reversal{color:#18694c;font-weight:700}.financial-paging{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:12px}.financial-modal{max-height:85vh;overflow:auto}.financial-modal textarea{min-height:70px;width:100%;box-sizing:border-box}.financial-summary button:disabled{opacity:.55;cursor:default}.financial-warnings .notice{margin:10px 0}.financial-summary [role=status]:empty{display:none}@media(max-width:1100px){.financial-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-middle{grid-template-columns:minmax(0,1fr)}.financial-histories{grid-template-columns:minmax(0,1fr)}}@media(max-width:430px){.financial-cards{gap:8px}.financial-cards .card{padding:12px}.financial-cards h3{font-size:12px}.financial-cards .financial-amount{font-size:17px}.financial-history-scroll{max-height:260px}.financial-chart-card{padding:12px}.financial-history table{font-size:12px}.financial-controls .actions{gap:6px}}
