/* Editorial sector and product marketing. Application layouts remain independent. */
.sector-masthead{background:#133a32;color:#fff8e9;overflow:hidden}.sector-masthead-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center;min-height:620px}.sector-masthead-copy{padding:75px 0}.sector-masthead h1{font-size:clamp(44px,4.8vw,72px)!important;letter-spacing:-.045em;max-width:800px;color:#fff8e9}.sector-masthead p{font-size:19px;line-height:1.8;color:#dbe6da;margin:30px 0}.sector-masthead .eyebrow{color:#f0c18d!important}.sector-masthead .textlink{color:#fff8e9}.sector-masthead figure{margin:0;align-self:stretch;position:relative}.sector-masthead figure img{height:100%;min-height:620px;width:100%;object-fit:cover;object-position:center}.sector-masthead figcaption{position:absolute;bottom:18px;right:18px;left:18px;color:white;background:#163c33df;padding:8px 12px;font-size:11px;line-height:1.6}.sector-masthead.type-only{background:#102a32}.sector-orbit{width:360px;height:360px;border:1px solid #67867d;border-radius:50%;position:relative;display:grid;place-items:center;margin:auto;background:radial-gradient(circle,#2b544b55,transparent 65%)}.sector-orbit>span{font-size:85px;font-weight:400;letter-spacing:-.06em;color:#d8e3cf}.sector-orbit>b{position:absolute;left:calc(50% + 160px * cos(var(--position) * 72deg - 90deg));top:calc(50% + 160px * sin(var(--position) * 72deg - 90deg));transform:translate(-50%,-50%);display:grid;place-items:center;width:62px;height:62px;background:#e9dfc6;color:#163c33;border-radius:50%;font-size:22px;border:8px solid #102a32}
.sector-audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:50px}.sector-audience-card{position:relative;background:#fffef9;border:1px solid #cad5c8;border-top:3px solid #bb6a39;padding:38px;min-width:0}.sector-audience-card:last-child{grid-column:1/-1}.sector-audience-card h3{font-size:30px;line-height:1.3;letter-spacing:-.025em;max-width:500px;margin:16px 0 20px}.audience-number{font-size:50px;line-height:1;color:#b8bcaa;display:block;margin-bottom:25px}.sector-audience-card .actions{align-items:flex-start;margin-top:25px}.sector-portfolio-band{background:#eee9da}.sector-portal-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:45px}.sector-portal-map article{border-top:2px solid #a76c40;padding:30px 22px;background:#fffdf6}.sector-portal-map .card-num{font-size:14px;color:#85502d}.sector-portal-map .icon{float:right;width:28px;height:28px}.sector-portal-map h3{font-size:25px;line-height:1.3;margin:27px 0 16px}.sector-portal-map p{font-size:16px!important}.sector-remit{border-left:4px solid #b76532;background:#f0eee4;padding:32px 38px;display:grid;grid-template-columns:1fr 1.6fr;gap:40px}.sector-remit h3{font-size:25px;line-height:1.3;margin-top:16px}.sector-remit p{margin:0}.sector-journey{list-style:none;padding:0;margin:45px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 55px}.sector-journey li{display:grid;grid-template-columns:60px 1fr;gap:20px;border-top:1px solid #a8b9ab;padding-top:30px}.journey-number{font-size:38px;color:#a46235;font-weight:400}.sector-journey h3{font-size:26px;line-height:1.25;margin-bottom:17px}.sector-journey p{font-size:16px!important}.architecture-root{max-width:880px;margin:0 auto 45px;text-align:center}.architecture-root h3{font-size:40px;line-height:1.2}.architecture-editions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;position:relative}.architecture-editions a{padding:25px 18px;background:#183c34;color:#fff8e8;display:flex;flex-direction:column;gap:20px;min-width:0;border-top:3px solid #c68b54}.architecture-editions a>span{font-size:38px;font-weight:400;color:#efc394}.architecture-editions strong{font-size:18px;line-height:1.5}.architecture-editions .icon{margin-top:auto}.sector-case-story{max-width:1000px;margin:auto}.sector-case-story h2{margin:25px 0}.sector-referral-flow{display:flex;flex-wrap:wrap;gap:25px;align-items:center;margin:35px 0}.sector-referral-flow>span{padding:23px 28px;background:#153d34;color:#fff8e8;font-size:19px}.sector-language-story{display:grid;grid-template-columns:160px 1fr;gap:50px;align-items:start;max-width:1000px;margin:auto}.sector-language-story .language-number{font-size:130px;color:#a35a31}.sector-language-story h2{margin-bottom:25px}.sector-language-story select{margin-top:25px;max-width:100%}.sector-contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:75px}.sector-contact-product{display:flex;gap:22px;padding:25px 0;border-bottom:1px solid #c1cabb;align-items:center}.sector-contact-product>span{font-size:34px;color:#a86437}.sector-contact-product strong{font-size:22px}.sector-contact-product p{font-size:14px!important;line-height:1.5!important;margin:8px 0 0}.sector-contact-product>.icon{margin-left:auto;flex-shrink:0}.sector-evidence .concept-roadmap{margin-top:45px}.sector-editorial-header .nav{flex-wrap:wrap}.sector-editorial-header .brand small{max-width:240px;line-height:1.5}
.product-editorial-masthead{background:#173c34;color:#fff8e9;padding:85px 0}.product-editorial-masthead>.wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center}.product-editorial-masthead h1{color:#fff8e9;font-size:clamp(43px,4.5vw,70px)!important;margin:25px 0}.product-editorial-masthead p{font-size:18px;line-height:1.85;color:#dce5d7}.product-editorial-masthead .eyebrow{color:#f0c599!important}.product-editorial-masthead .btn{background:#f2e6cf!important;color:#143b31!important;border-color:#f2e6cf!important}.product-work-preview{border:1px solid #789c8b;background:#fffdf6;color:#193c33;box-shadow:18px 18px 0 #061c1a25;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px;background:#e9eddf;font-size:13px;border-bottom:1px solid #c4cebf}.preview-heading>span:first-child{display:flex;gap:10px;align-items:center;font-weight:650}.preview-heading>span:last-child{font-size:10px;letter-spacing:.06em;text-align:right}.product-work-preview .preview-work{padding:12px 25px}.product-work-preview .preview-work a{display:grid;grid-template-columns:30px 1fr;gap:12px;padding:25px 0;border-bottom:1px solid #c8d1c3;color:#183a33}.product-work-preview .preview-work a>.badge{grid-column:2;justify-self:start}.product-work-preview .preview-work strong{font-size:18px;line-height:1.5}.product-work-preview>.textlink{margin:15px 25px 25px;color:#244e3d!important}.product-wayfinding{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:45px}.product-wayfinding>a{padding:35px;background:#eee9da;border-top:3px solid #ae6639;display:block;min-width:0;transition:background .15s}.product-wayfinding>a:hover{background:#e3e7d9}.product-wayfinding>a>span{display:inline-block;font-size:24px;color:#94603b}.product-wayfinding>a>.icon:first-of-type{float:right;width:30px;height:30px}.product-wayfinding h3{font-size:25px;line-height:1.3;margin:35px 0 20px}.product-wayfinding p{font-size:16px!important;line-height:1.7!important}.product-wayfinding>a>.icon:last-child{margin-top:25px}.product-home-preview{display:grid;grid-template-columns:1fr 1.1fr;gap:75px;align-items:center}.product-home-preview h2{margin:20px 0 30px}.product-home-preview .textlink{color:#f5d4a8}.product-audience-statement{font-size:25px!important;line-height:1.7!important;max-width:1050px;border-left:3px solid #b77643;padding-left:30px;margin:0 0 75px}.product-role-grid{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:25px;margin-top:45px;align-items:start}.product-role-grid>article{background:#fffdf6;padding:28px;border-top:3px solid #b5713e}.product-role-row{padding:22px 0;border-bottom:1px solid #d4dacd}.product-role-row h3{font-size:19px;line-height:1.45;margin-bottom:10px}.product-role-row p{font-size:14px!important;line-height:1.75!important;margin:0}.product-role-grid .textlink{margin-top:25px}.product-referral-story{max-width:1000px;margin:auto}.product-referral-story h2{margin:25px 0}.product-referral-diagram{display:grid;grid-template-columns:1fr 25px 1.4fr 25px 1fr;gap:20px;align-items:center;margin:45px 0}.product-referral-diagram>span,.product-referral-diagram>strong{background:#fffdf6;padding:30px 22px;text-align:center;border:1px solid #afbcac;font-size:19px;line-height:1.5}.product-referral-diagram>strong{background:#183d34;color:#fff6df;border-color:#183d34}.product-referral-story>p{font-size:15px!important}.sector-portfolio-band .edition-card{background:#fffef8}.sector-portfolio-band .edition-catalogue{margin-top:40px}.sector-audience-card a:focus-visible,.product-wayfinding>a:focus-visible,.architecture-editions a:focus-visible{outline:3px solid #b76532;outline-offset:5px}
@media(max-width:1100px){.sector-masthead-grid{gap:35px;min-height:540px}.sector-masthead figure img{min-height:540px}.sector-orbit{width:270px;height:270px}.sector-orbit>b{left:calc(50% + 120px * cos(var(--position) * 72deg - 90deg));top:calc(50% + 120px * sin(var(--position) * 72deg - 90deg))}.architecture-editions{grid-template-columns:repeat(3,minmax(0,1fr))}.product-editorial-masthead>.wrap,.product-home-preview{gap:35px}.product-role-grid{grid-template-columns:1fr 1.2fr}.product-role-grid>article:last-child{grid-column:1/-1}.sector-portal-map{gap:15px}.sector-contact-grid{gap:35px}}
@media(max-width:780px){.sector-masthead-grid{grid-template-columns:1fr;gap:0}.sector-masthead-copy{padding:55px 0 45px}.sector-masthead h1,.product-editorial-masthead h1{font-size:40px!important;line-height:1.15!important}.locale-indic .sector-masthead h1,.locale-indic .product-editorial-masthead h1{font-size:34px!important;line-height:1.5!important}.sector-masthead p{font-size:17px;margin:22px 0}.sector-masthead figure{height:330px;margin-bottom:30px}.sector-masthead figure img{min-height:0;height:330px}.sector-orbit{margin:0 auto 45px}.sector-audience-grid,.sector-portal-map,.sector-remit,.sector-journey,.sector-contact-grid,.product-editorial-masthead>.wrap,.product-home-preview,.product-wayfinding,.product-role-grid{grid-template-columns:1fr}.sector-audience-card{padding:28px}.sector-audience-card h3{font-size:26px}.sector-audience-card:last-child,.product-role-grid>article:last-child{grid-column:auto}.sector-remit{padding:28px;gap:20px}.sector-journey{gap:30px}.sector-journey li{grid-template-columns:42px 1fr;gap:15px}.sector-journey h3{font-size:24px}.journey-number{font-size:29px}.architecture-root h3{font-size:31px}.architecture-editions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.architecture-editions a{padding:20px 16px}.architecture-editions strong{font-size:16px}.sector-language-story{grid-template-columns:1fr;gap:25px}.sector-language-story .language-number{font-size:80px}.sector-referral-flow{gap:16px}.sector-referral-flow>span{padding:18px;font-size:17px}.sector-contact-grid{gap:45px}.product-editorial-masthead{padding:55px 0}.product-editorial-masthead>.wrap{gap:45px}.product-editorial-masthead p{font-size:17px}.product-work-preview{box-shadow:8px 8px 0 #061c1a25}.product-role-grid{gap:25px}.product-referral-diagram{grid-template-columns:1fr;justify-items:stretch;gap:12px}.product-referral-diagram>.icon{justify-self:center;transform:rotate(90deg)}.product-referral-diagram>span,.product-referral-diagram>strong{padding:22px;font-size:18px}.product-audience-statement{font-size:20px!important;padding-left:20px}.sector-language-story select{width:100%}.sector-portal-map article{padding:26px}.product-wayfinding>a{padding:28px}}

.shared-portal-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.shared-product-choice{background:#fffdf6;padding:35px;border-top:3px solid #ab6838}.shared-product-choice h2{font-size:32px!important;line-height:1.25!important}.shared-product-choice p{font-size:16px!important}.shared-product-choice .textlink{margin-top:20px}.shared-product-choice:hover{background:#edf1e4}.shared-portal-header .brand b{font-size:21px!important}.shared-portal-header .mark .icon{width:28px;height:28px}@media(max-width:780px){.shared-portal-products{grid-template-columns:1fr}.shared-product-choice{padding:27px}.shared-portal-header .nav{display:flex!important;flex-wrap:wrap;gap:16px}.shared-portal-header .header-tools{flex-wrap:wrap}}

.product-scope-photo{margin:0;position:relative;align-self:stretch;min-height:420px}.product-scope-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.product-scope-photo figcaption{position:absolute;bottom:16px;left:16px;right:16px;background:#133a32dd;color:#fff7e5;padding:10px 14px;font-size:11px;line-height:1.7}@media(max-width:780px){.product-scope-photo{height:330px;min-height:0}}

.marketing-app-actions{display:flex;gap:8px;align-items:stretch}.marketing-app-link{display:flex;align-items:center;gap:8px;border:1px solid #b9c5b8;padding:11px 13px;font-size:12px;line-height:1.4;background:#fffdf6;color:#193c33;font-weight:650}.marketing-app-link>.icon{width:16px;height:16px;flex-shrink:0}.marketing-app-link>.icon:last-child{width:13px}.marketing-app-link:hover{background:#e9eee1}.marketing-footer-apps{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:28px 0;border-top:1px solid #507365}.marketing-footer-apps .marketing-app-link{background:transparent;color:#f5eedb;border-color:#78998b}.marketing-footer-apps .marketing-app-link:hover{background:#244d41}.marketing-footer-apps>strong{margin-right:20px}.mobile-app-actions{display:none}@media(max-width:1100px){.sector-editorial-header .header-tools{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:780px){.sector-editorial-header .header-tools>.marketing-app-actions{display:none}.mobile-app-actions{display:flex;flex-direction:column;gap:10px;margin-bottom:25px}.mobile-app-actions .marketing-app-link{font-size:16px!important;padding:14px!important}.marketing-footer-apps{display:grid;grid-template-columns:1fr}.marketing-footer-apps .marketing-app-link{font-size:14px}.sector-editorial-header .header-tools{max-width:100%}}

.sitemap-sector ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.sitemap-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:45px}.sitemap-products article{padding:30px;background:#fffdf6;border-top:3px solid #ac6639}.sitemap-products h3,.sitemap-portals h3{font-size:26px;line-height:1.3;margin-bottom:16px}.sitemap-products p,.sitemap-portals p{font-size:15px!important}.sitemap-products ul,.sitemap-sector ul,.sitemap-portals ul{list-style:none;padding:0;margin-top:25px}.sitemap-products li a,.sitemap-sector li a,.sitemap-portals li a{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #cbd5c7;font-size:15px;line-height:1.5}.sitemap-products li .icon,.sitemap-sector li .icon,.sitemap-portals li .icon{flex-shrink:0;width:16px}.sitemap-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;margin-top:40px}.sitemap-portals .textlink{font-size:13px!important;overflow-wrap:anywhere}.sitemap-footer-link{padding:22px 0}.sitemap-footer-link a{display:inline-flex;align-items:center;gap:15px}@media(max-width:1000px){.sitemap-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sitemap-portals{grid-template-columns:1fr}}@media(max-width:780px){.sitemap-sector ul,.sitemap-products{grid-template-columns:1fr}.sitemap-products article{padding:25px}}

/* Catalogue cards use one explicit light palette across every context. */
.edition-catalogue .edition-card,.edition-catalogue .edition-card:first-child{background:#fffef8;color:#20352e;grid-column:auto}
.edition-catalogue .edition-card h3,.edition-catalogue .edition-card:first-child h3{color:#20352e!important}
.edition-catalogue .edition-card p,.edition-catalogue .edition-card .edition-index,.edition-catalogue .edition-card:first-child p,.edition-catalogue .edition-card:first-child .edition-index{color:#41554a!important}
.edition-catalogue .edition-card a,.edition-catalogue .edition-card:first-child a{color:#174b39!important;border-color:#6e897b}
.app .brand small{color:#405c50!important}
.product-overview-roles .product-role-grid>article{border:1px solid #bfcbbf;border-top:3px solid #b5713e}

/* Keep complete language names visible beside product/role context on phones. */
@media(max-width:780px){.app-topbar .app-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:14px;align-items:end}.app-topbar .app-controls .control-label{min-width:0}.app-topbar .app-controls .lang{width:100%;min-width:0;max-width:none}.app-topbar .app-controls .demo-exit{width:100%;min-height:42px}}

/* Authenticated Citizen pages retain the full shared portal header. */
.shared-portal-header{height:auto!important;min-height:0!important}.shared-portal-header>.brand{flex-shrink:0}
@media(max-width:780px){.shared-portal-header{flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important}.shared-portal-header>.brand{width:100%;max-width:none!important}.shared-portal-header>.header-tools{width:100%;flex-shrink:0;justify-content:space-between}.shared-portal-header>.nav{width:100%;flex-shrink:0;justify-content:flex-start!important;line-height:1.7}.shared-portal-header>.nav a{white-space:normal}}
/* Translated exit labels can be much longer than English on small screens. */
@media(max-width:760px){
 .app-topbar .app-controls .demo-exit,.citizen-demo-controls .demo-exit{white-space:normal;overflow-wrap:anywhere;line-height:1.5;max-width:100%;min-width:0;height:auto}
 .app-topbar .app-controls .context-display strong{overflow-wrap:anywhere}
 .app-main .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .app-main .stat,.app-main .stat-top,.app-main .stat-top>span{min-width:0;overflow-wrap:anywhere}
 .app-main .stat-top .icon{flex-shrink:0}
 .bar-col small{max-width:100%;overflow-wrap:anywhere}
}
