.visa-sankey-section{order:95;flex:0 0 auto;align-self:center;box-sizing:border-box;width:min(calc(100% - var(--immersive-sheet-inset)*2),1280px);max-width:1280px;padding:28px 0 12px;margin-top:16px;border-top:1px solid var(--stats-line);color:var(--stats-fg);font-family:var(--tos-font-ui,system-ui,sans-serif)}
.visa-sankey-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.visa-sankey-title{flex:1;min-width:230px}
.visa-sankey-title h2{margin:0;font-size:19px;line-height:26px;font-weight:600;letter-spacing:-.025em}
.visa-sankey-title p{margin:5px 0 0;color:var(--stats-muted);font-size:12px;line-height:18px}
.visa-sankey-toolbar label{display:flex;align-items:center;gap:7px;color:var(--stats-muted);font-size:12px}
.visa-sankey-toolbar select,.visa-sankey-retry{font:12px var(--tos-font-ui,system-ui);color:var(--stats-fg);background:var(--immersive-sheet);border:1px solid var(--stats-line);border-radius:5px;padding:7px 10px;cursor:pointer}
.visa-sankey-toolbar :is(select,button):focus-visible{outline:2px solid var(--tos-accent);outline-offset:3px}
.visa-sankey-units{color:var(--stats-muted);font-size:11px;white-space:nowrap}
.visa-sankey-scroll{overflow-x:auto;overscroll-behavior-x:contain}
.visa-sankey-chart{width:100%;min-width:900px;height:auto;display:block;overflow:visible;font-family:var(--tos-font-ui,system-ui);--flow-stream-0:#427BC2;--flow-stream-1:#439EC3;--flow-stream-2:#7470C1;--flow-stream-3:#6B9DAD;--flow-revenue:#459BC9;--flow-profit:#298B68;--flow-cost:#C55D68;--flow-label:#304153;--flow-muted:#677789;--flow-profit-text:#247252;--flow-cost-text:#A74655}
html[data-theme=dark] .visa-sankey-chart{--flow-stream-0:#82ADEB;--flow-stream-1:#71C7E0;--flow-stream-2:#ADA2EF;--flow-stream-3:#93BBC8;--flow-revenue:#75B5DD;--flow-profit:#6ED6AD;--flow-cost:#EB9297;--flow-label:#E7EDF3;--flow-muted:#A6B1C0;--flow-profit-text:#86DAB7;--flow-cost-text:#F0A7AD}
.visa-sankey-flow{transition:opacity .15s;cursor:help;outline:none}
.visa-sankey-chart:has(.visa-sankey-flow:is(:hover,:focus-visible)) .visa-sankey-flow:not(:hover):not(:focus-visible){opacity:.23}
.visa-sankey-flow:focus-visible{stroke:var(--flow-label);stroke-width:1}
.visa-sankey-insight{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-top:1px solid var(--stats-line);padding:14px 0;color:var(--stats-muted);font-size:12px;line-height:19px}
.visa-sankey-insight strong{color:var(--stats-fg);font-weight:500}
.visa-sankey-section a{color:var(--stats-muted);text-underline-offset:3px}
.visa-sankey-notes{color:var(--stats-muted);font-size:11px;line-height:19px}
.visa-sankey-notes summary{cursor:pointer}.visa-sankey-notes p{margin:8px 0}
.visa-sankey-status{padding:48px 0;color:var(--stats-muted);font-size:13px}
.visa-sankey-status:empty{display:none}
@media(max-width:800px){.visa-sankey-title{flex-basis:100%}.visa-sankey-units{margin-left:auto}.visa-sankey-insight{flex-wrap:wrap;gap:8px}.visa-sankey-section{padding-top:22px}}
@media(prefers-reduced-motion:reduce){.visa-sankey-flow{transition:none}}
/* Approved static business-flow design, integrated into the continuous research sheet. */
.visa-sankey-section.is-static{padding-top:20px}
.visa-static-heading{flex:1;margin:0;font-size:15px;line-height:22px;font-weight:500;letter-spacing:-.02em}
.visa-sankey-section.is-static .visa-sankey-toolbar{margin-bottom:4px}
.visa-static-chart>svg{display:block;width:100%;height:auto;min-width:960px;font-family:Inter,var(--tos-font-ui,system-ui)}
.visa-static-chart .stream-group{cursor:pointer;transition:none}
.visa-static-chart .source-hit:focus-visible{outline:2px solid var(--tos-accent);outline-offset:-2px}
.visa-sankey-section.is-static .visa-sankey-status{padding:10px 0}
.visa-sankey-section.is-static .visa-sankey-notes{padding-top:2px}

/* The period controls are the static chart's single header. */
.visa-sankey-section.is-static .visa-sankey-toolbar{justify-content:flex-end;margin-bottom:4px}

/* Match the Overview cards and the statements' in-page popup menus. */
.visa-sankey-section.is-static{background:var(--immersive-sheet);padding:12px 0;margin-top:8px}
.visa-sankey-section.is-static .visa-sankey-toolbar{padding:0 16px}
.visa-year-picker{position:relative;font-size:12px}
.visa-year-trigger{display:flex;align-items:center;gap:16px;font:inherit;color:var(--stats-muted);background:transparent;border:0;border-radius:4px;padding:6px 10px;cursor:pointer}
.visa-year-trigger:hover,.visa-year-trigger[aria-expanded=true]{background:var(--stats-head);color:var(--stats-fg)}
.visa-year-trigger svg{flex-shrink:0;transition:transform 140ms ease}
.visa-year-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
.visa-year-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:100;min-width:130px;padding:4px;background:var(--tos-bg-dialog,var(--immersive-sheet));border:1px solid var(--tos-border-sep,var(--stats-line));border-radius:4px;box-shadow:0 5px 16px #0002;isolation:isolate}
.visa-year-menu[hidden]{display:none}
.visa-year-menu button{display:block;position:relative;width:100%;padding:7px 12px 7px 26px;border:0;border-radius:2px;background:transparent;font:inherit;white-space:nowrap;text-align:left;color:var(--stats-fg);cursor:pointer}
.visa-year-menu button:hover,.visa-year-menu button:focus-visible{background:var(--stats-head);outline:none}
.visa-year-menu button[aria-checked=true]{background:var(--stats-stripe)}
.visa-year-menu button[aria-checked=true]:before{content:"✓";position:absolute;left:8px}
@media(prefers-reduced-motion:reduce){.visa-year-trigger svg{transition:none}}

/* The fiscal-year control has the same balanced row and button geometry as statements. */
.visa-sankey-section.is-static{padding:0}
.visa-sankey-section.is-static .visa-sankey-toolbar{box-sizing:border-box;min-height:36px;padding:4px 16px;margin:0;align-items:center}
.visa-year-picker{display:flex;align-items:center}
.visa-year-trigger{box-sizing:border-box;height:28px;line-height:16px;padding:6px 10px;border:0;outline:none;box-shadow:none;border-radius:4px;align-items:center}
.visa-year-trigger:focus-visible{outline:none!important;background:var(--stats-head)}
.visa-sankey-section.is-editorial .visa-static-chart{min-width:960px}
.visa-editorial{color:var(--editorial-fg);font-family:Inter,var(--tos-font-ui,system-ui);font-variant-numeric:tabular-nums}
.visa-editorial-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 36px 16px;min-height:84px;box-sizing:border-box}
.visa-editorial-identity{display:flex;align-items:center;gap:24px}
.visa-editorial-header h2{display:block!important;margin:0!important;font:600 20px/28px var(--tos-font-ui,Inter,system-ui,sans-serif);letter-spacing:-.015em;color:var(--stats-fg)}
.visa-editorial-header p{margin:4px 0 0;font:12px/18px Inter,var(--tos-font-ui,system-ui);color:var(--editorial-muted)}
.visa-editorial-date{text-align:right;white-space:nowrap}
.visa-editorial-diagram{padding:6px 36px 12px}
.visa-editorial-diagram>svg{display:block;width:100%;height:auto;overflow:visible}
.visa-editorial-footer{padding:16px 36px 26px}
.visa-editorial-summary{display:flex;justify-content:space-between;align-items:baseline;gap:24px;border-top:1px solid var(--stats-line);padding-top:16px}
.visa-editorial-summary>div{display:flex;align-items:baseline;gap:10px}
.visa-editorial-summary strong{color:var(--editorial-profit);font-size:21px;font-weight:600;line-height:28px}
.visa-editorial-summary span{font-size:12px;line-height:18px}
.visa-editorial-summary>span{font-size:10px;color:var(--editorial-muted)}
.visa-editorial-footer p{font-size:11px;line-height:17px;color:var(--editorial-muted);margin:12px 0 0}
.visa-editorial-footer a{color:inherit}
/* Override the native desk card's small-heading and hidden-footer defaults. */
html.immersive-company #statistics-test-panel .visa-editorial-header h2{font:600 20px/28px var(--tos-font-ui,Inter,system-ui,sans-serif)!important;letter-spacing:-.015em!important}
html.immersive-company #statistics-test-panel .visa-editorial-footer{display:block!important}

/* Flow heading row and container (from the reviewed company preview). */
.company-flow-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 36px 16px}
.company-flow-heading h2{display:block!important;margin:0;font:600 20px/28px Inter,system-ui;letter-spacing:-.015em}
html.immersive-company #statistics-test-panel .company-flow-heading h2{display:block!important;font:600 20px/28px Inter,system-ui!important}
.company-flow-heading p{margin:4px 0 0;font:12px/18px Inter,system-ui;color:var(--stats-muted)}
.company-flow-heading a{font:12px/18px Inter,system-ui;white-space:nowrap;text-decoration:none;color:var(--stats-muted)}
.company-flow-heading a:hover{color:var(--stats-fg)}
.company-profit-flow .visa-editorial-diagram{min-width:1100px}
.company-profit-flow{overflow:hidden;border-radius:8px}
.company-profit-flow .company-flow-heading{box-sizing:border-box;min-height:36px;padding:4px 16px;gap:16px;background:var(--stats-head);border-bottom:1px solid var(--stats-line)}
.company-flow-heading>div{display:flex;align-items:center;gap:14px;min-width:0}
html.immersive-company #statistics-test-panel .company-flow-heading h2{font:500 14px/20px var(--tos-font-ui,Inter,system-ui,sans-serif)!important;letter-spacing:-.01em!important;white-space:nowrap}
.company-flow-heading p{margin:0;font-size:11px;line-height:18px}
.company-flow-heading a{font-size:11px;line-height:18px}
.company-profit-flow .visa-editorial-diagram{padding-top:16px}
@media(max-width:600px){.company-profit-flow .company-flow-heading{flex-wrap:wrap;gap:4px 12px}.company-flow-heading>div{flex-wrap:wrap;gap:4px 12px}}
