/* v1.3 — compact full-width actions follow the rating and settings columns. */
html[data-fixed-workspace="fixed"] #v6-leaders{grid-auto-rows:max-content}
html[data-fixed-workspace="fixed"] #v6-leaders>.v6-leader-card{min-height:max-content;flex-shrink:0}
html[data-fixed-workspace="fixed"],html[data-fixed-workspace="fixed"] body{height:100%;overflow:hidden}
html[data-fixed-workspace="fixed"] .v6-shell:not(.v6-info-page){height:100dvh;max-height:100dvh;display:flex;flex-direction:column;gap:8px;padding:10px 16px;overflow:hidden}
html[data-fixed-workspace] .v6-hero{flex:none;min-height:64px;margin:0;padding:4px 0 8px}
html[data-fixed-workspace] .v6-release-note{flex:none;font-size:11px;margin:0;padding:4px 8px}
html[data-fixed-workspace="fixed"] .v6-layout,
html[data-fixed-workspace="fixed"] .v6-layout.is-settings-closed{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"toolbar settings" "main settings";grid-template-rows:auto minmax(0,1fr);gap:8px 12px;align-items:stretch;overflow:hidden}
html[data-fixed-workspace] .v6-view-menu{margin:0;min-height:0;align-self:stretch}
html[data-fixed-workspace] .header-title-block{padding:7px 12px}
html[data-fixed-workspace="fixed"] #v6-results{min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden}
html[data-fixed-workspace="fixed"] #v6-results[hidden]{display:none}
html[data-fixed-workspace="fixed"] #v6-leaders{min-height:0;flex:0 1 auto;align-content:start;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:none;-ms-overflow-style:none;touch-action:pan-y;padding:2px 3px 2px}
html[data-fixed-workspace] #v6-leaders::-webkit-scrollbar{display:none}
html[data-fixed-workspace] #v6-leaders:focus-visible{outline:2px solid #287798;outline-offset:-2px}
html[data-fixed-workspace="fixed"] #v6-yield-curve{min-height:0;overflow:auto;scrollbar-width:none}
html[data-fixed-workspace="fixed"] #v6-method-panel[open]{max-height:100%;overflow:auto}
html[data-fixed-workspace] #v6-settings-panel{align-self:start;margin:0}
html[data-fixed-workspace] #v6-settings-panel .v6-drawer-head{min-height:32px;padding:4px 10px}
html[data-fixed-workspace] #v6-settings-panel .v6-fields{padding:6px;gap:6px}
html[data-fixed-workspace] #v6-settings-panel .v6-fields label{padding:4px;gap:2px}
html[data-fixed-workspace] #v6-settings-panel .v6-fields .parameter-icon{display:none}
html[data-fixed-workspace] #v6-settings-panel .v6-filter{margin:0 6px 6px}
html[data-fixed-workspace] #v6-settings-panel .v6-filter summary{min-height:44px;padding:4px 6px;grid-template-columns:28px minmax(0,1fr) 24px;gap:6px}
html[data-fixed-workspace] #v6-settings-panel .v6-filter summary .parameter-icon{width:28px;height:28px}
html[data-fixed-workspace] #v6-settings-panel .v6-setting-option label{min-height:28px;font-size:13px}
html[data-fixed-workspace] #v6-settings-panel .v6-setting-help{height:28px;min-height:28px}
html[data-fixed-workspace] #v6-settings-panel .v6-settings-foot{padding:4px 8px;font-size:11px}
html[data-fixed-workspace] .return-panel{flex:none;margin:0;padding:4px 6px;container-type:inline-size}
html[data-fixed-workspace="fixed"] .v6-layout,html[data-fixed-workspace="fixed"] .v6-layout.is-settings-closed{flex:0 1 auto}
html[data-fixed-workspace="fixed"] #v6-leaders{flex:1 1 auto}
html[data-fixed-workspace] .return-panel>h2,html[data-fixed-workspace] .return-panel>p{display:none}
html[data-fixed-workspace] .return-panel .return-panel-actions{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
html[data-fixed-workspace] .return-panel .return-panel-actions button{min-height:44px;padding:6px;font-size:12px;flex-direction:row}
html[data-fixed-workspace] .return-panel [data-return-action="feedback"]{grid-column:auto!important;justify-self:stretch!important;width:auto!important;margin:0!important}
html[data-fixed-workspace] .fixed-workspace-legal{display:block;margin:3px auto 0;border:0;background:transparent;color:#526b7b;font:inherit;font-size:12px;line-height:1.4;text-decoration:underline;cursor:pointer;min-height:24px}
.fixed-workspace-legal-dialog{width:min(720px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #b8cedc;border-radius:12px;padding:18px;background:#fff;color:#23465e}
.fixed-workspace-legal-dialog::backdrop{background:#15354b80}
.fixed-workspace-legal-dialog>button{min-height:44px;margin-top:12px;padding:8px 16px}
@container(max-width:700px){
 html[data-fixed-workspace] .return-panel .return-panel-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
}
html[data-fixed-workspace] .v6-mobile-utilities{margin:0;padding:0;flex:none}
@media(max-width:899px){
 html[data-fixed-workspace="fixed"] .v6-layout,html[data-fixed-workspace="fixed"] .v6-layout.is-settings-closed{grid-template-columns:minmax(0,1fr);grid-template-areas:"settings" "toolbar" "main";grid-template-rows:auto auto minmax(0,1fr)}
 html[data-fixed-workspace] .v6-hero{min-height:60px;gap:12px;padding:2px 0}
 html[data-fixed-workspace] .return-panel .return-panel-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
 html[data-fixed-workspace] .return-panel .return-panel-actions button{font-size:11px;gap:4px;min-height:44px}
 html[data-fixed-workspace] .return-panel svg{width:18px;height:18px}
}
@media(max-width:759px){
 html[data-fixed-workspace="fixed"] .v6-shell:not(.v6-info-page){padding:6px;gap:5px}
 html[data-fixed-workspace="fixed"] .v6-layout,html[data-fixed-workspace="fixed"] .v6-layout.is-settings-closed{grid-template-areas:"settings" "nav" "main";gap:5px}
 html[data-fixed-workspace] .v6-view-tabs button{min-height:44px;padding:4px;font-size:12px}
 html[data-fixed-workspace] .header-title-block{padding:4px 10px}
 html[data-fixed-workspace] #v6-settings-panel .v6-filter{margin:0}
 html[data-fixed-workspace] #v6-settings-panel .v6-fields select{min-height:36px}
 html[data-fixed-workspace] #v6-settings-panel .v6-setting-option label{min-height:44px}
 html[data-fixed-workspace] #v6-settings-panel .v6-setting-help{height:44px;min-height:44px}
 html[data-fixed-workspace] #v6-settings-panel .v6-filter summary{min-height:36px}
 html[data-fixed-workspace] .v6-mobile-utilities .v6-panel-toggles{padding:0;gap:5px}
 html[data-fixed-workspace] .v6-mobile-utilities button{min-height:28px;padding:2px 8px;font-size:11px}
}
/* Reduced-height/zoom fallback keeps every control reachable without clipping. */
html[data-fixed-workspace="flow"] .v6-shell{height:auto;overflow:visible}
html[data-fixed-workspace="flow"] #v6-leaders{overflow:visible}
html[data-fixed-workspace] .fixed-workspace-legal-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 12px;margin-top:4px}
html[data-fixed-workspace] .fixed-workspace-legal-row .fixed-workspace-legal{margin:0}
html[data-fixed-workspace] .fixed-workspace-legal-row .v6-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 14px;width:100%;margin:0}
html[data-fixed-workspace] .fixed-workspace-legal-row .v6-legal-links a{display:inline-flex;align-items:center;min-height:32px;color:#365d76;font-size:12px;text-decoration:underline}
html[data-fixed-workspace] .fixed-workspace-legal-row .v6-release-note{display:block;margin:0;padding:0;text-align:center;line-height:1.4}
@media(max-width:899px){
 html[data-fixed-workspace="flow"] .v6-shell:not(.v6-info-page){padding:6px;max-height:none}
 html[data-fixed-workspace="flow"] .return-panel{margin-top:8px;position:static}
 html[data-fixed-workspace="flow"] .v6-release-note{margin:8px 0;text-align:center}
}
