.nav-shell .language-picker{position:relative;flex:0 0 auto;color:var(--ink,#16374b);font-size:12px;line-height:1.2}
.language-picker summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:4px 8px;border:1px solid currentColor;border-radius:18px;cursor:pointer;list-style:none;background:rgba(255,255,255,.9);color:#16374b}
.language-picker summary::-webkit-details-marker{display:none}
.language-picker summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}
.language-picker summary:focus-visible,.language-picker a:focus-visible{outline:3px solid #1654dd;outline-offset:3px}
.language-picker .language-options{position:absolute;top:calc(100% + 10px);right:0;display:grid!important;gap:3px;min-width:174px;padding:8px;background:#fff;border:1px solid #d7e2e8;border-radius:14px;box-shadow:0 8px 25px #16374b21;color:#16374b}
.language-picker .language-options a{display:block;white-space:nowrap;padding:10px 12px;font-size:14px;text-decoration:none;border-radius:8px}
.language-picker .language-options a:hover,.language-picker .language-options a[aria-current=page]{background:#edf3f8}
#follow-up .overview-proof__frame{aspect-ratio:auto;overflow:visible}
.overview-proof__artwork.localized-followup{box-sizing:border-box;display:flex;align-items:center;aspect-ratio:1/1;height:auto;padding:24px;color:#16374b;background:#dbe7f2;border-radius:12px;text-align:left}
.localized-followup__paper{box-sizing:border-box;display:flex;flex-direction:column;gap:14px;width:100%;padding:22px;background:#fff;border:1px solid #d3dfe8;border-radius:11px;box-shadow:0 8px 20px #16374b0a;font-size:17px;line-height:1.4}
.localized-followup strong{font-size:21px;line-height:1.15;font-weight:650;letter-spacing:-.02em}
.localized-followup p{margin:0!important;font-size:inherit!important;line-height:inherit!important}
.localized-followup small{color:#396b92;font-size:16px;font-weight:600;line-height:1.35;border-top:1px solid #d5e0e8;padding-top:12px}
/* The CRM result and its attached task determine the scene's footprint. */
body[data-page="home"] .cflow-scene{height:auto;min-height:510px;padding-top:145px;padding-bottom:60px}
body[data-page="home"] .cflow-note{height:auto;min-height:190px}
body[data-page="home"] .cflow-record{position:relative;top:auto}
@media(max-width:800px){body[data-page="home"] .cflow-scene{min-height:540px;padding-top:151px}body[data-page="home"] .cflow-note{min-height:178px}}
@media(max-width:560px){body[data-page="home"] .cflow-scene{min-height:700px;padding-top:203px}body[data-page="home"] .cflow-note{min-height:170px}}
/* Let translated tab labels and statuses determine their row height. The existing
   all-panel measurement reserves the largest evidence panel across each cycle. */
body[data-page="home"] .proof-d01[data-coaching-register] .method-register{height:auto}
body[data-page="home"] .proof-d01[data-coaching-register] .method-header{height:auto;min-height:105px}
body[data-page="home"] .proof-d01[data-coaching-register] .register-body{height:auto;align-items:stretch}
body[data-page="home"] .proof-d01[data-coaching-register] .dimension-index>button{height:auto;min-height:58px;padding-top:9px;padding-bottom:9px;grid-template-rows:auto auto;row-gap:3px}
body[data-page="home"] .proof-d01[data-coaching-register] .dimension-index>button>span:first-child,
body[data-page="home"] .proof-d01[data-coaching-register] .dimension-index>button>small{min-width:0;overflow-wrap:break-word}
/* Keep the longest localized amount inside the chart's content area. */
body[data-page="sales-insights"] .mix-bars{padding-right:5rem}
html[lang="fi"] :is(#mail-dialogue-title,#meetings-title){hyphens:manual;overflow-wrap:anywhere}
@media(max-width:900px){
  .nav-shell{gap:8px!important}
  .nav-shell .language-picker{margin-left:auto}
  .nav-shell .language-picker summary{min-height:32px;padding:3px 7px;gap:3px;font-size:11px}
  .nav-shell .language-picker summary svg{display:none}
  .nav-shell>.button{padding-left:12px!important;padding-right:12px!important;font-size:11px!important}
  .nav-shell .brand img{max-width:85px;height:auto}
}
@media(max-width:390px){
  .nav-shell{gap:5px!important;padding-left:10px!important;padding-right:10px!important}
  .nav-shell .brand img{max-width:72px}
  .nav-shell>.button{padding-left:9px!important;padding-right:9px!important;font-size:10px!important}
}
/* Ultrawide coaching keeps its text, evidence and link in document flow so
   translated content determines the scene height; the panorama stays behind. */
@media(min-width:1800px) and (min-aspect-ratio:2/1){
  body[data-page="home"] .coaching-scene{height:auto;min-height:max(900px,calc((100vw - 32px)/3));padding-bottom:63px}
  body[data-page="home"] .coaching-scene__plate{position:static;height:auto;padding-top:72px;padding-bottom:36px}
  body[data-page="home"] .coaching-scene__plate>.quinn-wide-picture>img{position:absolute;inset:0;z-index:-1}
  body[data-page="home"] .coaching-scene__plate>header{position:relative;top:auto}
  body[data-page="home"] .coaching-scene__proof{position:relative;top:auto;margin-bottom:32px}
  body[data-page="home"] .coaching-scene>.scene-link{position:relative;bottom:auto}
}
