/* Language controls extend the existing ALUMAG utility bar without changing data layout. */
.utility:has(.i18n-controls){height:auto;min-height:66px;padding-block:10px;gap:12px;flex-wrap:wrap}
.utility:has(.i18n-controls) .utility-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.i18n-controls{position:relative;display:grid;grid-template-columns:minmax(0,170px) 28px;align-items:center;gap:8px;min-width:140px;max-width:100%;color:var(--ink,#f5f3ef);font:14px/1.4 "Segoe UI",Arial,sans-serif}
.i18n-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.i18n-select{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:7px 24px 7px 10px;border:1px solid var(--line-strong,#596579);border-radius:3px;background:var(--bg,#171d28);color:var(--ink,#f5f3ef);font:inherit;cursor:pointer}
.i18n-select:hover{border-color:var(--muted,#b2b8c2)}
.i18n-select:focus-visible,.i18n-details>summary:focus-visible{outline:2px solid var(--ink,#f5f3ef);outline-offset:3px}
.i18n-select[aria-busy="true"]{cursor:progress}
.i18n-select option{background:var(--bg,#171d28);color:var(--ink,#f5f3ef)}
.i18n-details{min-width:0;font-size:12px;color:var(--muted,#b2b8c2)}
.i18n-details>summary{display:grid;place-items:center;width:28px;min-height:40px;cursor:pointer;list-style:none}
.i18n-details>summary::before{content:"i";display:grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font:italic 14px Georgia,serif}
.i18n-details>summary::-webkit-details-marker{display:none}
.i18n-details>p{position:absolute;inset-inline-end:0;z-index:30;width:min(360px,calc(100vw - 36px));margin:8px 0 0;padding:16px;background:var(--plane,#1d2532);border:1px solid var(--line-strong,#596579);border-radius:3px;color:var(--ink,#f5f3ef);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.i18n-feedback{grid-column:1/-1;max-width:300px;margin:5px 0 0;font-size:14px;line-height:1.45;color:#ffc0c0;overflow-wrap:anywhere}
.i18n-feedback[hidden]{display:none}
.i18n-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.utility .i18n-live{display:block}
/* Bound text fragments must not pick up descendant-span label typography. */
body span.i18n-fragment:is([data-i18n],[data-i18n-value]){display:contents;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}
.i18n-nl-note{color:var(--muted,#b2b8c2);font-size:14px;line-height:1.5;margin:12px 0}
.interpreter-guidance{grid-column:1/-1;min-width:0;color:var(--muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.interpreter-guidance p{margin:6px 0}.interpreter-guidance summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:8px 0;color:var(--ink)}
.interpreter-guidance details[hidden]{display:none}.interpreter-guidance details p{max-width:75ch}
html:is([lang="en"],[lang="de"]) .i18n-nl-note{display:none}
.product-header:has(.i18n-controls){flex-wrap:wrap;gap:20px}
.product-header .i18n-controls{margin-inline-start:auto}
@media(max-width:680px){
  .utility:has(.i18n-controls){align-items:flex-start;min-height:58px;padding-block:10px}
  .utility:has(.i18n-controls) .revision{flex-wrap:wrap;gap:5px 8px;min-width:0;padding-block:6px}
  .utility:has(.i18n-controls) .utility-actions{margin-inline-start:auto;max-width:100%;gap:8px}
  .i18n-controls{min-width:0;width:206px}
  .i18n-select{min-height:44px;font-size:16px}
  .i18n-details>summary{min-height:44px}
  .i18n-feedback{max-width:100%}
  .product-header .i18n-controls{margin:18px 0 0}
  .workspace-home{max-width:92px;white-space:normal;overflow-wrap:break-word}
  .decision-section-heading{flex-wrap:wrap}
  .decision-section-heading>div{min-width:0;flex:1 1 180px}
  .decision-section-heading>button{max-width:100%;flex-shrink:0}
  .query-desk>*{min-width:0}
}
.nav-item>span,.workspace-home>span{min-width:0;overflow-wrap:anywhere}
/* UI titles wrap between words, not into arbitrary translated word fragments.
   Data identifiers retain the emergency wrapping in their own components. */
html :is(h1,h2,h3){min-width:0;max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:balance}
html :is(.result-record h3,.target-row h3,.profile-heading h2,.decision-detail h2,.detail-panel h2){overflow-wrap:anywhere}
html :is(.primary,.secondary){hyphens:none;word-break:normal;overflow-wrap:normal}
/* One readable operate-title role, sized to the available layout rather than language length. */
html :is(.module-intro,.compare-intro,.export-heading,.admin-heading) h1{font-size:clamp(2rem,3.7vw,3.375rem);line-height:1.15;letter-spacing:-.025em}
.module-intro{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.module-intro>*,.compare-intro>*{min-width:0}
.compare-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.workspace-heading{flex-wrap:wrap}.workspace-heading>div{min-width:0}
.analysis-breakdown-heading .compact-field{flex:0 1 240px;min-width:0;max-width:100%}
.analysis-breakdown-heading select{width:100%;min-width:0}
.insight-filters>label,.insight-filters input,.insight-filters select{min-width:0;max-width:100%}
.summary-strip>*{min-width:0}.summary-strip span{overflow-wrap:normal;hyphens:none}
.capability-row{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr)}
.decision-section-heading{flex-wrap:wrap}.decision-section-heading>div{flex:1 1 270px;min-width:0}
.target-bar .primary{height:auto;min-height:44px;white-space:normal}
.qualification-guide h2{font-size:clamp(1.5rem,2vw,1.75rem)}
body:has(.product-header) h1{font-size:clamp(2rem,5.2vw,4.625rem);line-height:1.15}
body:has(.product-header) h2{font-size:clamp(1.625rem,3.5vw,2.875rem);line-height:1.2;letter-spacing:-.02em}
body:has(.product-header) .product-reading h2{font-size:clamp(1.625rem,3.5vw,2.0625rem)}
body:has(.product-header) h3{font-size:clamp(1.375rem,2.2vw,1.8125rem);line-height:1.25}
.product-use-cases>a{min-width:0}.product-use-cases>a>*{min-width:0}
@media(max-width:1180px){.capability-row{grid-template-columns:1fr}}
@media(max-width:1050px){.module-intro,.compare-intro,.split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){.product-split{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){
 html .decision-intro h1{font-size:clamp(2rem,calc(1rem + 5vw),2.25rem);line-height:1.15}
 .summary-strip{grid-template-columns:minmax(0,1fr)}
 .insight-filters{grid-template-columns:minmax(0,1fr)}
 .workspace-home{max-width:114px;overflow-wrap:normal;white-space:normal}
 .workspace-home>span{overflow-wrap:normal}
 body:not([data-admin-area]):has(.workspace-home) .utility{padding-left:132px!important}
}
html:is([lang="zh-Hans"],[lang="ja"],[lang="ko"]) :is(h1,h2,h3){line-height:1.3;letter-spacing:0}
html[lang="ko"] :is(h1,h2,h3){word-break:keep-all}
@media(forced-colors:active){.i18n-select,.i18n-details>p{border-color:ButtonText}.i18n-feedback{color:CanvasText}}
