/* R25: small-screen ergonomics; desktop branding remains in page styles. */
html{scroll-padding-top:calc(var(--header,96px) + 10px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-wrap:break-word}
button,a,summary,input,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
input[type=number],select,textarea{font-size:16px}
main,section,article,figure{min-width:0}
.skip:focus{z-index:120!important}
#header.domaine-header #menu{min-height:44px;height:44px}
#header.domaine-header #language{font-size:16px;min-height:44px}
#header.domaine-header .menu-label{display:block!important}
.cap-mobile-jump{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:48px;margin-top:22px;padding:12px 16px;border:1px solid #9cae94;border-radius:10px;font-size:14px;line-height:1.5;text-decoration:none;color:#214b3e}
.cap-mobile-jump svg{width:18px;height:18px;flex:none}
.cap-mobile-summary{position:fixed;z-index:80;inset-inline:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:13px 16px;background:#f8f5ecf7;border:1px solid #bcc8b6;border-radius:18px;box-shadow:0 8px 30px #07291e35;color:#173e35;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.cap-mobile-summary[hidden]{display:none!important}
.cap-mobile-summary>a{display:block;text-decoration:none;color:inherit;min-height:44px}
.cap-mobile-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;line-height:1.4;color:#556a54;margin-bottom:9px}
.cap-mobile-top svg{width:18px;height:18px;flex:none;color:#173e35}
.cap-mobile-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cap-mobile-values>span{display:flex;flex-direction:column;min-width:0;gap:4px}
.cap-mobile-values>span+span{border-inline-start:1px solid #cdd3c2;padding-inline-start:12px}
.cap-mobile-values small{font-size:11px;line-height:1.4;color:#526750}
.cap-mobile-values strong{font-size:23px;font-weight:500;line-height:1.25;letter-spacing:-.035em;white-space:nowrap}
.cap-mobile-note{display:block;font-size:10px;line-height:1.5;color:#66725c;margin-top:7px}
.cap-mobile-summary a:focus-visible{outline:2px solid #96723b;outline-offset:4px;border-radius:6px}
body:has(#header.menu-open) .cap-mobile-summary,body:has(#header.menu-open) .sim-mobile-summary{display:none!important}
@media(min-width:761px){.cap-mobile-summary,.cap-mobile-jump{display:none!important}}
@media(max-width:760px){
 #header.domaine-header{top:max(10px,env(safe-area-inset-top));padding:8px 10px}
 #header.domaine-header .brand{font-size:10px;letter-spacing:.015em}
 #header.domaine-header #language{width:47px}
 #header.domaine-header #menu{min-width:76px;padding-inline:10px}
 #header.domaine-header #nav .nav-dropdown{grid-template-columns:1fr!important}
 #header.domaine-header #nav .nav-dropdown strong{font-size:15px}
 #header.domaine-header #nav .nav-dropdown small{font-size:12px;line-height:1.6}
 #header.domaine-header #nav .nav-dropdown .dropdown-heading{font-size:11px}
 #header.domaine-header #nav{max-height:calc(100dvh - 100px - env(safe-area-inset-top))}
 .chapter-nav a{font-size:13px;min-height:44px;padding-block:8px}
 .contact-email,.contact-help,.invitation .email-note{font-size:13px;line-height:1.75}
 .contact-email a,.invitation .mail{font-size:15px;white-space:normal;overflow-wrap:anywhere}
 .body-copy,.faq-list .body-copy,.questions p{font-size:16px;line-height:1.8}
 .faq-list summary,.questions summary,.faq-item summary{font-size:16px;line-height:1.55;min-height:48px}
 .cap-controls{padding:24px 20px}
 .cap-label,.cap-horizon legend,.cap-range-heading label{font-size:14px;line-height:1.6}
 .cap-controls-heading h3{font-size:16px}
 .cap-reset{font-size:13px!important;min-height:44px;padding-inline:5px}
 .cap-hint,.cap-fee-summary,.cap-error,.cap-range-ends{font-size:12px;line-height:1.75}
 .cap-horizon button,.cap-presets button{min-height:48px;font-size:14px}
 .capital-comparison input[type=range]{min-height:44px;margin-block:0;cursor:pointer}
 .cap-range-heading output{font-size:26px}
 .cap-advanced summary,.cap-advanced label,.cap-table summary,.cap-method summary{font-size:14px;line-height:1.65;min-height:44px;padding-block:10px}
 .cap-percent-input input{font-size:17px}
 .cap-output{padding:25px 20px;scroll-margin-top:110px}
 .cap-output-top>p{font-size:13px;line-height:1.6}
 .cap-display button{font-size:13px;min-height:46px;padding-inline:9px}
 .cap-result h3,[dir=rtl] .cap-result h3{font-size:14px;min-height:0;line-height:1.55;margin-bottom:12px}
 .cap-result>p,.cap-result small{font-size:12px!important;line-height:1.7}
 .cap-takeaway p+p,.cap-method>p,.cap-method details p{font-size:13px;line-height:1.8}
 .cap-legend>span{font-size:11px}
 .cap-axis{font-size:18px}
 .cap-chart svg{max-width:100%;overflow:visible}
 .cap-facts span,.cap-source,.cap-market-scope{font-size:13px;line-height:1.7}
 .cap-evidence .eyebrow{font-size:11px}
 .cap-down,.cap-evidence-conclusion{font-size:14px}
 .cap-table th,.cap-table td,.cap-table caption{font-size:12px}
 .invest-page .project-steps a{font-size:14px;min-height:52px}
 .invest-page .project-muted,.invest-page .project-empty,.invest-page .project-contact p,.invest-page #project-recap p{font-size:14px;line-height:1.8}
 .invest-page .project-choice span{font-size:14px;min-height:64px}
 .invest-page .sim-tools button{font-size:14px;min-height:44px;padding:10px 12px}
 .invest-page .sim-presets button{min-height:48px;font-size:14px}
 .invest-page .acquisition-guide li p{font-size:14px;line-height:1.8}
 .sim-page .sim-mobile-summary{border-radius:16px}
 footer a,.footer-languages a{display:inline-flex;align-items:center;min-height:44px}
 .cinema-control{font-size:14px}
 .gallery button:focus-visible{outline-offset:-4px}
}
@media(max-width:540px){
 .cap-results,.cap-long-values .cap-results{grid-template-columns:minmax(0,1fr);gap:12px}
 .cap-result{padding:22px}
 .cap-result>strong{font-size:38px}
 .cap-long-values .cap-result>strong{font-size:min(38px,12cqi)}
 .cap-result h3 .cap-dot{width:7px;height:7px;flex-basis:7px}
 .cap-chart figcaption strong{font-size:14px}
 .cap-chart figcaption span{font-size:12px}
 .cap-heading>p:last-child{font-size:16px}
 .invest-page .project-choices{grid-template-columns:1fr}
}
@media(max-width:360px){
 #header.domaine-header .brand{font-size:9px;gap:5px}
 #header.domaine-header #menu{min-width:69px;gap:7px;padding-inline:8px}
 #header.domaine-header #language{width:41px}
 .cap-output{padding:22px 16px}
 .cap-mobile-summary{inset-inline:10px;padding:11px 13px}
 .cap-mobile-values strong{font-size:21px}
 .cap-mobile-values small{font-size:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* The result landmark is focusable for anchor navigation, not an input control. */
#cap-results:focus{outline:none}
