/* V12 – focused refinements; homepage columns and media sizes stay unchanged. */
html[data-site-mode=production] html[data-site-mode=production] .review-stamp{display:none!important}
/* A compact disclosure opens from the left edge of its own navigation label. */
.site-header .nav-item{position:relative}
.site-header .nav-dropdown{left:0!important;right:auto!important;width:184px!important;max-width:min(var(--menu-room,calc(100vw - 40px)),calc(100vw - 32px))!important;box-sizing:border-box}
html[lang=en] .site-header .nav-dropdown,html:not([data-app-ready]):has(#compat-lang-en:checked) .site-header .nav-dropdown{width:224px!important}
.site-header .dropdown-inner{padding:7px 0 10px;border-top-width:2px}
.site-header .nav-dropdown a{font-size:13px!important;line-height:1.42!important;padding:7px 12px!important;gap:8px;white-space:normal;min-height:0;overflow-wrap:break-word}
.site-header .nav-dropdown a>span{min-width:0}
.site-header .nav-dropdown .nav-overview{padding-bottom:10px!important;margin-bottom:5px;font-weight:600}
.site-header .nav-dropdown .arrow{width:13px;height:13px;flex:0 0 13px}
html:not([data-app-ready]) .native-menu-close{display:flex;justify-content:flex-end;align-items:center;min-height:24px;line-height:1.35;padding:4px 12px 9px;font-size:11px;margin:0}
html:not([data-app-ready]) .nav-dropdown .dropdown-inner{padding-bottom:4px}
/* The 2012 team milestone is distinct from the 2022 company-incorporation milestone. */
#history-page .story-journey{position:relative;display:flex;flex-direction:column;margin:0;padding:0;gap:0;list-style:none}
#history-page .story-journey .journey-stage:nth-child(n){position:relative;display:grid;grid-template-columns:126px minmax(0,1fr) minmax(220px,27%);grid-template-rows:auto;column-gap:38px;align-items:start;padding:27px 0 34px 0;border:0;margin:0;min-width:0}
#history-page .story-journey .journey-stage::before{content:""!important;display:block!important;position:absolute;left:0;top:35px;width:13px;height:13px;border-radius:50%;border:2px solid var(--blue);background:#fff;z-index:2;box-sizing:border-box}
#history-page .story-journey .journey-stage::after{content:""!important;display:block!important;position:absolute;left:5.5px;right:auto;top:42px;bottom:-42px;width:2px;height:auto;border:0;border-radius:0;background:#bdd4e5;z-index:1}
#history-page .story-journey .journey-stage:last-child::after{display:none!important}
#history-page .story-journey .journey-stage:last-child::before{background:var(--blue)}
#history-page .story-journey .journey-marker{grid-column:1;grid-row:1;display:block;align-self:start;margin:0;padding:0 0 0 30px;border:0}
#history-page .journey-year{white-space:nowrap;font-size:30px;font-weight:700;line-height:1.18;color:var(--blue);letter-spacing:-.02em}
#history-page .story-journey .journey-copy{grid-column:2!important;grid-row:1!important;padding:0!important;margin:0;min-width:0}
#history-page .story-journey .journey-copy h2{font-size:22px;line-height:1.35;margin:1px 0 12px}
#history-page .story-journey .journey-copy p{font-size:15px;line-height:1.65;max-width:43em;margin:0}
/* V12.6: Chinese milestone copy uses the 2012 paragraph as the four-line measure; all later milestones inherit the same width. */
html:not([lang=en]) #history-page .story-journey .journey-copy p{max-width:19em}
html[lang=en] #history-page .story-journey .journey-copy p{max-width:34em}
#history-page .story-journey .media-slot{grid-column:3!important;grid-row:1!important;aspect-ratio:8/5!important;width:100%;margin:0;align-self:start;justify-self:end}
/* Every selected country has the height required by the largest address at this viewport. */
.presence-address{box-sizing:border-box;align-items:start;align-content:start;overflow-wrap:anywhere;overflow:hidden}
.presence-measure{min-height:0!important;height:auto!important;max-height:none!important}
.presence-address h3{margin-top:0!important}
.presence-address .presence-contact p:first-child{margin-top:0!important}
.presence-address a{overflow-wrap:anywhere}
/* Personnel and rates share the established blue/black button language. */
#engineering-page .service-sheet-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:min(600px,100%);margin-top:30px}
#engineering-page .service-sheet-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;min-height:50px;padding:13px 18px;border:0;background:var(--blue);color:#fff;font-size:15px;line-height:1.45;text-decoration:none;transition:background-color .22s,color .22s}
#engineering-page .service-sheet-links a:nth-child(2){background:var(--ink)}
#engineering-page .service-sheet-links a .arrow{width:15px;height:15px;flex:0 0 15px;color:inherit;transition:transform .22s}
@media(hover:hover) and (pointer:fine){
 #engineering-page .service-sheet-links a:hover{background:var(--blue-dark);color:#fff}
 #engineering-page .service-sheet-links a:nth-child(2):hover{background:#343c44}
 #engineering-page .service-sheet-links a:hover .arrow{transform:translateX(3px)}
}
.case-filter-rail{display:none}
.submission-receipt{padding:24px 0}
.submission-receipt h3{font-size:21px;color:var(--blue);margin:0 0 14px}
.submission-receipt p{font-size:14px;line-height:1.6}
@media(max-width:900px){
 #history-page .story-journey .journey-stage:nth-child(n){grid-template-columns:108px minmax(0,1fr) 26%;column-gap:26px}
 #history-page .story-journey .journey-copy h2{font-size:21px}
 #history-page .story-journey .journey-copy p{font-size:14px}
 html:not([lang=en]) #history-page .story-journey .journey-copy p{max-width:19em}
 #history-page .journey-year{font-size:28px}
}
@media(max-width:620px){
 /* Avoid viewport overflow, without changing the navigation-label alignment. */
 .site-header .nav-dropdown{width:176px!important;left:0!important;right:auto!important;max-width:min(var(--menu-room,calc((100vw - 48px)/2)),calc(100vw - 32px))!important}
 html[lang=en] .site-header .nav-dropdown,html:not([data-app-ready]):has(#compat-lang-en:checked) .site-header .nav-dropdown{width:208px!important;left:0!important;right:auto!important}
 html:not([data-app-ready]) .site-header .nav-item[data-section=history] .nav-dropdown{max-width:calc((100vw - 48px)/3)!important}
 html:not([data-app-ready]):has(#compat-lang-en:checked) .site-header .nav-item[data-section=history] .nav-dropdown{max-width:calc((100vw - 48px)/2)!important}
 .site-header .nav-dropdown a{font-size:12px!important;line-height:1.4!important;padding:6px 11px!important;gap:6px}
 .site-header .nav-dropdown .nav-overview{padding-bottom:9px!important;margin-bottom:4px}
 .site-header .dropdown-inner{padding-top:6px;padding-bottom:9px}
 html:not([data-app-ready]) .native-menu-close{font-size:10px;min-height:23px;padding:3px 11px 8px}
 /* Chronological rail remains visible even with photographs stacked on phones. */
 #history-page .story-journey .journey-stage:nth-child(n){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;padding:21px 0 25px 29px;gap:0;min-width:0}
 #history-page .story-journey .journey-stage::before{top:29px;width:11px;height:11px;left:0}
 #history-page .story-journey .journey-stage::after{top:34px;bottom:-34px;left:4.5px}
 #history-page .story-journey .journey-marker{grid-row:1;grid-column:1;padding:0;margin:0 0 10px}
 #history-page .journey-year{font-size:25px;line-height:1.18}
 #history-page .story-journey .journey-copy{grid-column:1!important;grid-row:2!important}
 #history-page .story-journey .journey-copy h2{font-size:19px;line-height:1.36;margin:0 0 9px}
 #history-page .story-journey .journey-copy p{font-size:14px;line-height:1.6}
 #history-page .story-journey .media-slot{grid-column:1!important;grid-row:3!important;width:70%;max-width:250px;aspect-ratio:8/5!important;margin-top:17px}
 #history-page .story-journey .media-label{font-size:11px;letter-spacing:0}
 #history-page .story-journey .media-sub{font-size:10px}
 #history-page .story-journey .media-center{padding:18px 10px;gap:8px}
 #history-page .story-journey .media-center>.icon{width:25px;height:25px}
 #engineering-page .service-sheet-links{width:100%;gap:24px;margin-top:27px}
 #engineering-page .service-sheet-links a{font-size:12px;line-height:1.4;min-height:48px;padding:11px 12px;gap:8px}
 #engineering-page .service-sheet-links a .arrow{width:13px;height:13px;flex-basis:13px}
 /* Collapsed filter summary always exposes the four dimensions. */
 .enhanced-only .case-filter-rail{display:flex;align-items:center;gap:6px;order:0;min-width:0;width:100%;margin:0 0 13px;padding:9px 0;border-block:1px solid #dae4ec}
 .enhanced-only .case-filter-rail #case-filter-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:52px;min-height:35px;padding:7px 6px;margin:0;font-size:12px;line-height:1.3;grid-column:auto;grid-row:auto;border:1px solid #dae4ec;background:#f3f6f8}
 .enhanced-only .case-filter-rail #case-filter-toggle svg{width:14px;height:14px}
 .enhanced-only .case-filter-rail #case-filter-toggle[aria-expanded=true]{background:var(--hover-tint);color:var(--blue);border-color:#acc9df}
 .case-filter-dimensions{display:flex;align-items:stretch;flex:1;gap:3px;min-width:0}
 .case-dimension{display:block;flex:1 1 0%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:8px 2px;font-size:11px;line-height:1.5;letter-spacing:0;color:#536574;border:0;background:transparent;min-height:35px;touch-action:manipulation;transition:background-color .22s,color .22s}
 .case-dimension.is-selected{color:var(--blue);font-weight:600;background:#edf4fa}
 .case-dimension:focus-visible{outline-offset:0}
 html[lang=en] .case-dimension{font-size:10.5px}
 .enhanced-only .case-toolbar{order:1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;min-height:38px;margin-bottom:13px}
 .enhanced-only #case-result-count{grid-column:1;grid-row:1;white-space:nowrap}
 .enhanced-only .case-toolbar .case-search{grid-column:2;grid-row:1;max-width:none;width:100%;min-width:0}
 .enhanced-only .case-toolbar .case-search input{min-width:0;font-size:12px;padding-left:11px;padding-right:30px}
 .enhanced-only #case-filter-panel{order:2}
 .enhanced-only .case-active-filters{order:3;display:none}
 .enhanced-only .case-library-note{order:4}
 .enhanced-only #case-results{order:5}
 .filter-attention{background:#eff5fa;transition:background .22s}
 /* Native/no-script disclosure mirrors the same default-collapsed layout. */
 html:not([data-app-ready]) .compat-filter-details>summary.native-filter-rail{display:flex;align-items:center;justify-content:flex-start;gap:6px;width:100%;max-width:100%;min-width:0;margin:0 0 8px;padding:9px 0;border-left:0;border-right:0;background:white;border-top:1px solid #dae4ec;border-bottom:1px solid #dae4ec;list-style:none}
 .native-filter-rail::-webkit-details-marker{display:none}
 .native-filter-label{flex:0 0 auto;display:inline-flex;align-items:center;padding:7px 8px;min-height:35px;background:#f3f6f8;border:1px solid #dae4ec;font-size:12px;line-height:1.3}
 .native-filter-dimensions{display:flex;flex:1;min-width:0;gap:3px}
 .native-filter-dimensions>span{flex:1;min-width:0;text-align:left;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
 html:not([data-app-ready]):has(#compat-lang-en:checked) .native-filter-dimensions>span{font-size:10px}
 html:not([data-app-ready]) .compat-filter-details[open] .native-filter-label{background:var(--hover-tint);color:var(--blue)}
}
@media(max-width:359px){.case-dimension{font-size:10px}html[lang=en] .case-dimension{font-size:10px}.case-filter-dimensions{gap:1px}}
@media(prefers-reduced-motion:reduce){.case-dimension,.filter-attention{transition:none!important}}

#history-page .journey-month{font-size:.6em;font-weight:500;letter-spacing:0;margin-left:1px}
