.fcc { width:100%; min-width:0; color:#e5f1f4; }
.fcc * { box-sizing:border-box; }
.fcc-cost-group { padding:16px 0; border-bottom:1px solid #285264; }
.fcc-cost-group summary { cursor:pointer; min-height:44px; padding:10px 0; line-height:1.6; }
.fcc-cost-group details { margin:8px 0 8px 12px; padding-left:12px; border-left:2px solid #285264; }
.fcc-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; }
.fcc-heading h2 { margin:8px 0; font-size:clamp(24px,3vw,36px); }
.fcc-heading p,.fcc small,.fcc .muted { color:#a7bcc5; }
.fcc-summary { border-left:3px solid #50d2df; }
.fcc-summary li { margin:8px 0; }
.fcc-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; margin:18px 0; align-items:end; }
.fcc-filters label { display:grid; gap:6px; min-width:0; }
.fcc input,.fcc select { width:100%; min-width:0; min-height:44px; padding:10px; border:1px solid #285264; border-radius:8px; background:#081b25; color:#e5f1f4; font:inherit; color-scheme:dark; }
.fcc-tabs { display:flex; gap:8px; overflow-x:auto; padding-bottom:12px; margin-bottom:12px; }
.fcc-tabs .button { flex:0 0 auto; }
.fcc-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin:12px 0 20px; }
.fcc-kpi { display:flex; flex-direction:column; text-align:left; gap:10px; background:linear-gradient(135deg,#102e3a,#081b25); border:1px solid #285264; border-radius:16px; padding:20px; color:#e5f1f4; cursor:pointer; min-width:0; }
.fcc-kpi:hover,.fcc-kpi:focus-visible { border-color:#68e3f0; }
.fcc-kpi strong { font-size:clamp(22px,2.4vw,32px); overflow-wrap:anywhere; color:#9eedeb; }
.fcc-panels { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)); gap:16px; margin:16px 0; }
.fcc .card { min-width:0; overflow-wrap:anywhere; }
.fcc-distribution { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #24404a; }
.fcc-chart { display:flex; height:180px; align-items:stretch; gap:3px; }
.fcc-chart button { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:end; border:0; padding:0; background:none; color:#a7bcc5; cursor:pointer; }
.fcc-chart button span { height:var(--bar); min-height:3px; background:#45bed0; border-radius:3px 3px 0 0; }
.fcc-chart button small { font-size:9px; }
.fcc-table-scroll { width:100%; max-width:100%; max-height:65vh; overflow:auto; overscroll-behavior:contain; }
.fcc-table { width:100%; min-width:760px; border-collapse:collapse; table-layout:auto; }
.fcc-table th { position:sticky; top:0; background:#102c37; z-index:1; }
.fcc-table td,.fcc-table th { padding:10px; text-align:left; font-size:13px; vertical-align:top; border-bottom:1px solid #233c47; max-width:260px; overflow-wrap:anywhere; }
.fcc-table td small { font-size:11px; }
#fcc-rule { display:grid; gap:16px; }
#fcc-rule label { display:grid; gap:6px; }
#fcc-rule input[type=checkbox] { width:auto; }
#fcc-error,#fcc-rule-error { color:#ffd192; }
.payout-transit-form { display:grid; gap:12px; padding:12px 0; }
.fcc .payout-confirm { display:flex; align-items:flex-start; gap:10px; line-height:1.5; }
.fcc .payout-confirm input[type=checkbox] { width:20px; min-height:20px; flex:0 0 20px; margin-top:3px; }
.payout-transit-status { color:#ffd192; }
.fcc-mail-work .card { min-width:0; overflow-wrap:anywhere; }
.fcc-mail-work .button { white-space:normal; min-height:44px; margin:4px 4px 0 0; }
.card[data-finance-archive-check] { min-width:0; overflow-wrap:anywhere; }
.card[data-finance-archive-check] .button { min-height:44px!important; white-space:normal; max-width:100%; }
.card[data-finance-archive-check] [hidden] { display:none!important; }
.card[data-finance-archive-check] summary { min-height:44px; cursor:pointer; padding-block:10px; }
@media(max-width:600px) { .fcc-kpis { grid-template-columns:1fr 1fr; gap:8px; } .fcc-kpi { padding:12px; } .fcc-kpi strong { font-size:20px; } .fcc-filters { grid-template-columns:1fr 1fr; } .fcc-heading .button { width:100%; } }
