/* Current country-entry page. Legacy demo/login styles remain scoped separately. */
body.current-home{background:#fff;color:#172B4D;font-size:18px;line-height:1.65}
.current-home{--focus:#1646C0;--gold:#003399;--t1:#172B4D;--t2:#526071;--t3:#526071;--t4:#526071}
.current-home a{color:#003399;text-underline-offset:3px}
.current-home h1,.current-home h2{color:#172B4D;overflow-wrap:break-word}
.current-home h1{font-size:clamp(30px,3.4vw,49px);line-height:1.2;max-width:1000px}
.current-home h2{font-size:clamp(26px,2.5vw,34px);line-height:1.25;margin-bottom:20px}
.current-home h3{font-size:21px;line-height:1.3;margin-bottom:12px}
.home-wrap{max-width:1280px;margin-inline:auto;padding-inline:clamp(16px,3vw,44px);min-width:0}
.home-header{background:#fff;border-bottom:1px solid #D8DFEA}
.home-header-inner{position:relative;max-width:1440px;margin:auto;padding:12px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
.home-header .lang-menu{margin-left:auto;color:#172B4D}
.home-header .lang-menu summary{font-size:16px;min-height:44px;border:1px solid #86979d;background:#fff;color:#172B4D}
.home-header .lang-list{background:#fff;color:#172B4D;border:1px solid #86979d}
.home-header .home-languages .lang-list{width:min(22rem,calc(100vw - 32px));max-height:min(70dvh,560px);overflow-y:auto;overscroll-behavior:contain}
.home-header .home-languages summary{white-space:normal;max-width:220px;overflow-wrap:anywhere}
.home-header .lang-list a{font-size:16px;color:#172B4D;white-space:normal;overflow-wrap:anywhere}.home-header .lang-list a[aria-current="true"]{color:#003399}
.home-nav-links{display:flex;flex:1;flex-wrap:wrap;justify-content:center;gap:8px 18px;min-width:0}
.home-nav-links a{min-height:44px;display:inline-flex;align-items:center;font-size:16px;font-weight:600;padding:6px 8px;text-decoration:underline}
.home-menu-toggle{display:none;font:600 16px/1.4 var(--sans);min-height:44px;padding:8px 14px;border:1px solid #526b75;border-radius:5px;background:#fff;color:#172B4D;cursor:pointer}
.home-hero{padding-block:44px 24px}
.home-audience{font-size:16px;font-weight:500;color:#526071;max-width:1000px;margin-bottom:16px}
.home-lead{font-size:20px;max-width:1000px;margin:22px 0}
.home-actions{display:flex;flex-wrap:wrap;gap:12px}
.home-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border:1px solid #003399;border-radius:6px;text-align:center;font-size:17px;font-weight:600;line-height:1.5;text-decoration:none;background:#fff;color:#003399;max-width:100%;overflow-wrap:anywhere}
.current-home .home-button.primary{background:#003399;color:#fff;border-color:#003399}
.home-button:hover{box-shadow:0 0 0 2px #d9e5e8}.home-button.primary:hover{background:#1646C0}
.home-section{padding-block:40px}.home-section-intro{max-width:1050px;margin-bottom:24px}
.home-country-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-country{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #b5c5ca;border-radius:10px;min-width:0}
.home-country>p{margin:0}.home-country .home-button{margin-top:auto}.home-country h3{font-size:28px;margin:0}
.home-status{font-size:16px;font-weight:600;border-left:4px solid #2c6657;padding-left:10px;color:#204c42}
.home-status.preparing{border-color:#91601e;color:#78501e}.home-languages{font-size:16px;font-weight:500;color:#526071}
.home-scope-date,.home-contact-note{font-size:16px;color:#526071;margin-top:20px}
.home-band{background:#F5F7FA;border-block:1px solid #D8DFEA}
.home-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-left:24px}.home-steps li{padding-left:6px;min-width:0}.home-steps li::marker{font-size:22px;font-weight:700;color:#003399}
.home-tool-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;list-style:none}.home-tool-links a{display:flex;align-items:center;min-height:60px;padding:16px;border:1px solid #a7bec8;border-radius:6px;font-weight:600}
.home-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}
.home-faq{padding:16px 0;border-bottom:1px solid #a7bec8}.home-faq summary{font-weight:600;font-size:20px;min-height:44px;cursor:pointer}.home-faq p{max-width:1100px;margin:12px 0}.home-faq a{display:inline-block;padding:8px 0;min-height:44px}
.home-footer{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding-block:28px}.home-footer p{font-size:16px}.home-footer>a:not(.ts-brand){font-size:16px;padding:8px 0;overflow-wrap:anywhere}
.current-home .skip:focus{background:#003399;color:#fff;z-index:300}.current-home :focus-visible{outline:3px solid #1646C0;outline-offset:3px}
.current-home .lang-menu a:hover,.current-home .lang-menu a:focus{background:#e8eff2;color:#003399}
@media(max-width:1050px){.home-country-grid{grid-template-columns:minmax(0,1fr)}.home-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.home-country{padding:20px}.home-header-inner{padding:12px 16px}}
/* A wrapped language summary can sit on the left. Anchor its mobile list to
   the whole header, so neither the left edge nor long native names escape. */
@media(max-width:760px){.home-js .home-menu-toggle{display:inline-flex;align-items:center;margin-left:auto}.home-nav-links{flex-basis:100%;order:5;justify-content:flex-start}.home-js .home-nav-links:not(.is-open){display:none}.home-header .lang-menu{margin-left:0}.home-header .home-languages{position:static}.home-header .home-languages .lang-list{left:16px;right:16px;top:calc(100% - 4px);width:auto}.home-hero{padding-top:28px}.home-lead{font-size:18px}.home-evidence-grid,.home-tool-links{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.home-steps{grid-template-columns:minmax(0,1fr)}.home-actions{flex-direction:column}.home-button{width:100%}.home-header-inner{gap:12px}.home-section{padding-block:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* The mobile service header is one continuous brand surface. */
@media(max-width:1000px){
 .current-home .home-header{background:#003399;color:#fff;border-bottom-color:#003399}
 .home-header .ts-brand-owner{display:none}
 .home-header .ts-brand{padding:0;width:252px}
 .home-header .home-nav-links a{color:#fff}
 .home-header .home-menu-toggle,.home-header .lang-menu summary{background:transparent;color:#fff;border-color:#9cb6e7}
 .home-header .home-menu-toggle:hover,.home-header .lang-menu summary:hover{background:#1646c0}
 .current-home .home-header :focus-visible{outline-color:#ffcc00}
 .current-home .home-header .lang-panel :focus-visible{outline-color:#1646c0}
}

/* Owner revision 3: 24 + 2 language panel. No-JS details remains in page flow. */
.home-header .home-languages .lang-list{position:static;inset:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:auto;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;list-style:none;gap:8px;background:#fff}
.home-header .home-languages .lang-list a{display:flex;align-items:center;min-height:48px;padding:8px 12px;border:1px solid #D8DFEA;border-radius:4px;text-decoration:none;line-height:1.4;font-size:17px}
.home-header .home-languages .lang-list a[aria-current="true"]{border:2px solid #003399;background:#F5F7FA;font-weight:700}
.home-languages .lang-panel{padding:24px;border:1px solid #526071;background:#fff;color:#172B4D;border-radius:8px;width:min(760px,calc(100vw - 32px));max-width:100%}
.lang-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.lang-panel-heading h2{margin:0;font-size:25px}
.lang-group h3{margin:20px 0 12px;font-size:19px}.lang-close{display:none;min-height:48px;min-width:48px;padding:8px 16px;font:600 17px/1.4 var(--sans);border:1px solid #003399;background:#fff;color:#003399;border-radius:4px;cursor:pointer}
.home-js .lang-close{display:block}.home-js .home-languages[open]::before{content:"";position:fixed;inset:0;background:rgba(23,43,77,.55);z-index:400}
.home-js .home-languages .lang-panel{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;z-index:401;width:min(760px,calc(100vw - 32px));max-width:none}
@media(max-width:560px){.home-header .home-languages .lang-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-languages .lang-panel{padding:16px}.lang-panel-heading{align-items:start;gap:10px}.lang-panel-heading h2{font-size:21px}}
@media(max-width:350px){.home-header .home-languages .lang-list{grid-template-columns:minmax(0,1fr)}}

/* Planned expansion is separate from the three current publication statuses. */
.home-expansion{margin-top:24px;padding:18px 22px;border:1px solid #B6C7E1;border-inline-start:5px solid #003399;border-radius:8px;background:#F0F5FC;min-width:0;overflow-wrap:anywhere}.current-home .home-expansion h3{font-size:21px;margin:0 0 8px;color:#172B4D}.home-expansion p{font-size:18px;line-height:1.6;margin:0;max-width:1050px}

/* UX audit: one rhythm for related controls, reading groups and major sections. */
.current-home .home-hero{padding-top:var(--sp6);padding-bottom:var(--sp4)}
.current-home h1{font-size:clamp(28px,3.4vw,44px);max-width:1000px}
.current-home .home-preliminary{font-size:16px;color:#526071;margin:0 0 var(--sp4);padding-left:var(--sp3);border-left:3px solid #003399}
.current-home .home-audience{font-size:16px;line-height:1.5;margin-bottom:var(--sp3)}
.current-home .home-lead{font-size:19px;line-height:1.6;margin:var(--sp4) 0;max-width:85ch}
.current-home .home-section{padding-block:var(--sp7)}
.current-home .home-country-grid{gap:var(--sp5)}
.current-home .home-country{padding:var(--sp5);gap:var(--sp3);border-radius:var(--r2)}
.current-home .home-status{color:#003399;border-left-color:#003399;font-size:16px}
.current-home .home-country p:not(.home-status){line-height:1.55}
.current-home .home-expansion{border:0;border-top:1px solid #d8dfea;border-radius:0;background:transparent;padding:var(--sp5) 0;margin-top:var(--sp6)}
.current-home .home-expansion h3{font-size:20px}
.current-home .home-method-grid{gap:var(--sp5) var(--sp7)}
.current-home .home-method-grid p{max-width:65ch}
.current-home .home-actions{gap:var(--sp3);margin-top:var(--sp5)}
@media(max-width:760px){.current-home .home-section{padding-block:var(--sp6)}.current-home .home-hero{padding-top:var(--sp5)}.current-home .home-lead{font-size:18px}.current-home .home-preliminary{margin-bottom:var(--sp3)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.ts-corporate{box-sizing:border-box;flex:1 0 100%;width:100%;min-width:0;margin:24px 0 0;padding:24px 0;color:#172b4d;background:#f5f7fa;border-top:1px solid #b6c8e4;font:16px/1.6 system-ui,sans-serif;text-align:left}.ts-corporate *{box-sizing:border-box}.ts-corporate h2{font:600 21px/1.35 system-ui,sans-serif;margin:0 0 20px}.ts-corporate h3{font:600 17px/1.4 system-ui,sans-serif;margin:0 0 12px;color:#172b4d}.ts-corporate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:24px}.ts-corporate p,.ts-corporate address{font:16px/1.6 system-ui,sans-serif;margin:8px 0;color:#172b4d;overflow-wrap:anywhere}.ts-corporate a{color:#003399;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;display:inline-block;min-height:24px;padding:4px 0}.ts-corporate a:focus-visible{outline:3px solid #1646c0;outline-offset:3px}.ts-corporate a:hover{color:#12285b}.ts-corporate section{min-width:0}.ts-corporate address{font-style:normal}@media(max-width:480px){.ts-corporate a{min-height:44px}.ts-corporate-grid{gap:20px}}@media print{.ts-corporate{background:white;color:black}.ts-corporate-grid{display:block}.ts-corporate-grid>section{break-inside:avoid}.ts-corporate a{color:black}}

.ts-company-identity{display:flex;align-items:center;gap:16px;margin-bottom:16px;min-width:0}.ts-company-identity h3{margin:0;min-width:0;overflow-wrap:anywhere}.ts-company-mark{display:block;flex:0 0 64px;width:64px;height:64px;object-fit:contain}.ts-corporate .ts-corporate-attribution{margin:24px 0 0;padding-top:16px;border-top:1px solid #b6c8e4;font-weight:600}

/* Printed reports retain corporate text, with TerraSCORE as the sole visual brand. */
@media print{.ts-corporate .ts-company-mark,.ts-corporate-attribution,footer .ts-brand-owner{display:none!important}}

.ts-back-top{position:fixed;right:16px;bottom:16px;z-index:25;min-height:48px;max-width:calc(100vw - 32px);padding:10px 16px;border:2px solid #003399;border-radius:6px;background:#fff;color:#003399;font:600 16px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 8px #172b4d33}.ts-back-top:hover{background:#eaf0ff}.ts-back-top:focus-visible{outline:3px solid #003399;outline-offset:3px}.ts-footer-actions{position:relative;flex:1 0 100%;width:100%;min-width:0;height:68px}.ts-back-top.at-footer{position:absolute;display:block;right:0;top:0;bottom:auto;margin:0}.ts-back-top[hidden]{display:none!important}@media print{.ts-back-top,.ts-footer-actions{display:none!important}}
