.fo-overview,.fo-dialog{--fo-navy:#0c1f3d;--fo-blue:#044bb5;--fo-muted:#78899f;--fo-line:#e7ecf4;box-sizing:border-box;color:var(--fo-navy);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}
.fo-overview *,.fo-dialog *{box-sizing:border-box}.fo-overview{display:grid;gap:18px;margin-bottom:24px;min-width:0}.fo-overview h2,.fo-overview h3,.fo-overview p,.fo-dialog h2,.fo-dialog h3{margin:0}.fo-overview h2{font-size:24px;letter-spacing:-.7px}.fo-overview h3,.fo-dialog h3{font-size:16px}.fo-overview button,.fo-dialog button{font:inherit;border:0;background:transparent;cursor:pointer;color:var(--fo-blue);min-height:44px;padding:9px 14px;border-radius:12px;touch-action:manipulation}.fo-overview button:focus-visible,.fo-dialog button:focus-visible,.fo-dialog input:focus-visible{outline:3px solid #044bb550;outline-offset:3px}.fo-overview button:disabled{opacity:.35;cursor:default}.fo-overview button:active,.fo-dialog button:active{opacity:.7}.fo-heading,.fo-filters,.fo-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.fo-heading p,.fo-section-head small{color:var(--fo-muted);font-size:12px}.fo-overview .fo-primary,.fo-dialog .fo-primary{background:var(--fo-blue);color:white;white-space:nowrap}.fo-overview .fo-link{font-size:12px;padding-inline:8px}.fo-segment{display:flex;background:#e1e7f0;padding:4px;gap:4px;border-radius:13px}.fo-segment button{min-height:38px;padding:6px 18px;font-size:13px;color:#71829b}.fo-segment [aria-pressed=true]{background:#fff;color:var(--fo-blue);box-shadow:0 2px 7px #0c1f3d06}.fo-month{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:13px}.fo-month button{font-size:24px;padding:0;width:40px}.fo-hero-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:16px}.fo-card{background:#fff;border:1px solid var(--fo-line);border-radius:24px;padding:24px;min-width:0}.fo-hero{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:14px;background:var(--fo-navy);color:white;border-radius:24px;padding:26px;min-width:0}.fo-hero:after{content:"";width:32px;height:4px;border-radius:4px;background:#bbff5c;position:absolute;right:26px;bottom:26px}.fo-hero>span{font-size:13px;color:#c4d3e7}.fo-hero>strong{font-size:clamp(25px,3vw,38px);letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.3}.fo-hero small{color:#9eb2cf;font-size:10px;padding-right:25px}.fo-metric{display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:140px}.fo-metric>span{color:var(--fo-muted);font-size:12px}.fo-metric>strong{font-size:clamp(20px,2.2vw,28px);font-weight:650;letter-spacing:-.6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.3}.fo-metric>small{font-size:10px;color:var(--fo-muted)}.fo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fo-metrics .fo-metric{min-height:128px;padding:20px}.fo-metrics strong{font-size:clamp(18px,1.7vw,24px)}.fo-charts{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;align-items:start}.fo-section-head{margin-bottom:20px}.fo-legend{display:flex;justify-content:flex-end;gap:16px;color:var(--fo-muted);font-size:11px}.fo-legend i,.fo-breakdown i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#044bb5;margin-right:7px}.fo-legend .fo-out,.fo-breakdown .fo-out{background:#bbff5c}.fo-bars{display:flex;gap:12px;height:170px;margin-top:16px}.fo-day{min-width:0;flex:1;display:flex;flex-direction:column;gap:8px;align-items:center}.fo-bar-pair{display:flex;gap:5px;align-items:flex-end;justify-content:center;width:100%;height:145px;border-bottom:1px solid var(--fo-line);background:repeating-linear-gradient(to top,transparent 0,transparent calc(50% - 1px),#f3f5f9 calc(50% - 1px),#f3f5f9 50%)}.fo-bar-pair i{width:12px;max-width:35%;border-radius:4px 4px 0 0;background:#044bb5}.fo-bar-pair .fo-out{background:#bbff5c}.fo-day>span{font-size:10px;color:var(--fo-muted);white-space:nowrap}.fo-chart-data{font-size:11px;margin-top:18px;color:var(--fo-muted)}.fo-chart-data summary,.fo-help summary{cursor:pointer;min-height:36px;padding-block:8px}.fo-chart-data>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid var(--fo-line);font-variant-numeric:tabular-nums}.fo-donut{width:166px;height:166px;border-radius:50%;padding:16px;background:var(--fo-ring);margin:22px auto}.fo-donut>div{height:100%;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0}.fo-donut small{color:var(--fo-muted);font-size:11px}.fo-donut strong{font-size:17px;max-width:100%;overflow-wrap:anywhere;text-align:center;font-variant-numeric:tabular-nums}.fo-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;font-size:12px}.fo-breakdown strong{overflow-wrap:anywhere;text-align:right}.fo-notice{background:#f7f9fd;border:1px solid #e0e8f5;color:#647c9d;padding:16px 20px;font-size:12px;border-radius:18px}.fo-business{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-top:1px solid var(--fo-line)}.fo-business:first-of-type{border-top:0}.fo-business>div{min-width:0}.fo-business strong{display:block;font-size:14px;font-weight:550;overflow-wrap:anywhere}.fo-business small{display:block;font-size:11px;color:var(--fo-muted);margin-top:5px;overflow-wrap:anywhere}.fo-overview .fo-icon{min-width:44px;flex-shrink:0;background:#f4f7fb;letter-spacing:2px;color:#8090a8}.fo-footnote{font-size:11px;line-height:1.8;color:var(--fo-muted);margin-top:16px!important}.fo-empty{text-align:center;padding:24px 12px;color:var(--fo-muted);font-size:13px}.fo-overview .fo-record{width:100%;display:flex;text-align:left;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--fo-line);color:var(--fo-navy);border-radius:0}.fo-record-icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#f1f5fb;flex-shrink:0;font-size:22px}.fo-record>span:nth-child(2){flex:1;min-width:0}.fo-record strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.fo-record small{display:block;font-size:10px;color:var(--fo-muted);margin-top:4px}.fo-record>b{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.fo-record .fo-income{color:#188559}.fo-help{font-size:12px;color:var(--fo-muted)}.fo-help p+p{margin-top:10px}.fo-help p{line-height:1.9}.fo-dialog{position:fixed;inset:var(--fo-top,24px) 0 var(--fo-bottom,24px);margin:auto;width:min(560px,calc(100% - 28px));height:fit-content;max-height:calc(100dvh - var(--fo-top,24px) - var(--fo-bottom,24px));border:1px solid #e4eaf3;border-radius:26px;padding:0;background:#fff;box-shadow:0 28px 90px #0c1f3d24;overflow:auto;scrollbar-width:none}.fo-dialog::-webkit-scrollbar{display:none}.fo-dialog::backdrop{background:#0c1f3d55;backdrop-filter:blur(5px)}.fo-dialog form{margin:0}.fo-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--fo-line)}.fo-dialog header small{font-size:11px;color:var(--fo-muted)}.fo-dialog h2{font-size:20px;margin-top:4px;overflow-wrap:anywhere}.fo-dialog header button{font-size:26px;flex-shrink:0;background:#f2f5f9;color:#7b8fa9;width:44px;height:44px;padding:0;border-radius:50%}.fo-dialog-body{padding:24px;display:grid;gap:18px}.fo-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding:18px 24px;border-top:1px solid var(--fo-line)}.fo-dialog footer>button{min-width:80px}.fo-field{display:flex;flex-direction:column;gap:10px;font-size:12px;color:var(--fo-muted)}.fo-field input{display:block;min-width:0;width:100%;height:52px;border:1px solid #e0e7f2;border-radius:13px;background:#f6f8fc;padding:12px 15px;color:var(--fo-navy);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}.fo-choices{margin:0;padding:4px;border:0;border-radius:14px;background:#f2f5f9;display:flex;gap:4px;flex-wrap:wrap;max-height:210px;overflow:auto}.fo-choices label{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;font-size:13px;border-radius:10px;cursor:pointer;min-width:0;overflow-wrap:anywhere}.fo-choices input{accent-color:var(--fo-blue);width:16px;height:16px;flex-shrink:0}.fo-choices label:has(:checked){background:#fff;color:var(--fo-blue);box-shadow:0 2px 6px #0c1f3d06}.fo-sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.fo-error{margin:0;padding:0 24px 18px;color:#c52949;font-size:12px}.fo-detail-actions{display:flex;gap:10px;flex-wrap:wrap}.fo-detail-actions button:not(.fo-primary){background:#f2f5fa}.fo-detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fo-detail-stats .fo-card{padding:16px;border-radius:16px;min-height:110px}.fo-dialog [hidden]{display:none!important}
@media(max-width:1050px){.fo-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fo-hero{grid-column:1/-1;min-height:170px}.fo-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fo-charts{grid-template-columns:minmax(0,1fr)}.fo-donut{margin-block:20px}.fo-breakdown{max-width:330px;margin:auto}}
@media(max-width:760px){.fo-overview{gap:14px;margin-bottom:20px}.fo-heading{gap:10px}.fo-overview h2{font-size:21px}.fo-heading p{font-size:11px}.fo-heading>.fo-primary{font-size:12px;padding-inline:13px}.fo-filters{gap:8px;flex-wrap:wrap}.fo-segment button{padding-inline:14px}.fo-month{margin-left:auto;font-size:12px}.fo-month button{width:32px}.fo-card{border-radius:22px;padding:20px}.fo-hero-grid,.fo-metrics{gap:12px}.fo-hero{padding:23px;min-height:163px}.fo-hero strong{font-size:34px}.fo-metric{padding:18px;gap:9px;min-height:125px}.fo-metric strong{font-size:23px}.fo-metrics .fo-metric{padding:18px;min-height:125px}.fo-metrics strong{font-size:22px}.fo-metric small{font-size:10px}.fo-section-head{gap:10px;margin-bottom:15px}.fo-overview h3{font-size:16px}.fo-section-head small{font-size:10px}.fo-bars{gap:8px}.fo-bar-pair{gap:3px}.fo-notice{padding:16px;font-size:11px}.fo-dialog header{padding:20px}.fo-dialog-body{padding:20px;gap:17px}.fo-dialog footer{padding:16px 20px}.fo-dialog h2{font-size:19px}.fo-record>b{font-size:12px}.fo-record{gap:9px!important}.fo-record-icon{width:32px;height:32px}.fo-footnote{font-size:11px}}
/* Override the two existing layouts' ID-scoped element resets. */
:is(#yw-workbench,#yb-preview) .fo-overview button{font:inherit;border:0;background:transparent;cursor:pointer;color:#044bb5;min-height:44px;padding:9px 14px;border-radius:12px;touch-action:manipulation}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-primary{background:#044bb5;color:white;font-size:13px;white-space:nowrap}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-segment button{min-height:38px;padding:6px 18px;font-size:13px;color:#71829b}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-segment [aria-pressed=true]{background:white;color:#044bb5}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-month button{font-size:24px;padding:0;width:40px}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-link{font-size:12px;padding-inline:8px}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-icon{min-width:44px;flex-shrink:0;background:#f4f7fb;letter-spacing:2px;color:#8090a8}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-record{width:100%;display:flex;text-align:left;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #e7ecf4;color:#0c1f3d;border-radius:0}
:is(#yw-workbench,#yb-preview) .fo-overview h2{font-size:24px;margin:0;letter-spacing:-.7px}
:is(#yw-workbench,#yb-preview) .fo-overview h3{font-size:16px;margin:0}
:is(#yw-workbench,#yb-preview) .fo-overview small{margin-top:0}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-hero small{font-size:10px;color:#9eb2cf;padding-right:25px}
:is(#yw-workbench,#yb-preview) .fo-overview .fo-record small{margin-top:4px;font-size:10px}
@media(max-width:760px){:is(#yw-workbench,#yb-preview) .fo-overview h2{font-size:21px}:is(#yw-workbench,#yb-preview) .fo-overview .fo-segment button{padding-inline:14px}:is(#yw-workbench,#yb-preview) .fo-overview .fo-month button{width:32px}:is(#yw-workbench,#yb-preview) .fo-overview .fo-primary{font-size:12px}}
@media(prefers-reduced-motion:no-preference){.fo-dialog[open]{animation:fo-appear .22s cubic-bezier(.22,1,.36,1)}.fo-overview button,.fo-dialog button{transition:background .16s,opacity .16s}@keyframes fo-appear{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}}
