/* Homepage portal. Shared legal/service pages keep their existing styles. */
.portal-home{--dark:#f5f3ed;--surface:#fff;--paper:#25332f;--gold:#9b392b;--muted:#737c72;--line:#deded3;background:#f5f3ed;color:#25332f}
.portal-home .wrap{width:min(1200px,92%)}
.portal-home .section{padding-top:52px;padding-bottom:52px}
.portal-home h2,.portal-home h3{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.portal-home .eyebrow{font-size:11px;letter-spacing:1px;color:#967347}
.utility-bar{background:#fff;border-bottom:1px solid #e8e7de;font-size:11px;color:#727b72}
.utility-bar>.wrap{min-height:36px;display:flex;justify-content:space-between;align-items:center;gap:16px}.utility-bar .wrap>div{display:flex;gap:22px}
.portal-home .header{position:relative;inset:auto;height:82px;padding:0 max(4%,calc((100% - 1200px)/2));gap:22px;background:#203631;border:0;color:#f6f0df}
.portal-home .brand{font-size:25px;letter-spacing:2px}.portal-home .brand small{color:#a7b3a6;font-size:8px}.portal-home .seal{background:#993c2c;border-color:#bc8153}
.portal-home .header nav{gap:22px}.portal-home .header nav a{font-size:13px;color:#c7d0c3;padding:27px 0}.portal-home .header nav a:hover,.portal-home .header nav a.active{color:#e4c48f;border-color:#e4c48f}
.portal-home .account-actions{font-size:12px;gap:12px}.portal-home .account-actions button{color:#e4d7bc}.portal-home .nav-play{background:#9c392a;color:#fff1d6;border:0;padding:11px 18px}.portal-home .menu-toggle{color:#fff}
.portal-hero{position:relative;min-height:435px;background:#131e20;isolation:isolate;color:#fff1da;overflow:hidden}
.portal-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 51%;z-index:-2}
.portal-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101f22c7 0%,#101f2252 38%,transparent 65%),linear-gradient(0deg,#111c2426,transparent 45%)}
.portal-hero-inner{padding:45px 0 57px}.hero-kicker{font-size:12px;letter-spacing:5px;color:#d2bf98}
.portal-hero h1{font:600 66px/1.3 var(--serif);letter-spacing:10px;margin:12px 0 8px;color:#f0dcc0;text-shadow:1px 2px 10px #0009}
.portal-hero-sub{font:23px/1.7 var(--serif);letter-spacing:4px;color:#edc997}
.portal-hero-desc{font-size:13px;line-height:1.9;color:#ccd0c4;margin-top:13px}
.portal-hero-actions{display:flex;align-items:center;gap:25px;margin-top:24px}.portal-hero-actions>a:last-child{font-size:12px;color:#eddfc5;border-bottom:1px solid #ddc18c66;padding:8px 0}
.portal-home .primary{background:#a43f2e;color:#fff2d9;border:1px solid #bb6d49}.portal-home .primary:hover{background:#bc5138}
.portal-device{font-size:11px;color:#c1c4b5;margin-top:14px}.art-credit{position:absolute;bottom:18px;right:4%;font-size:10px;color:#e8dcc3a6}
.portal-hub{display:grid;grid-template-columns:220px 340px minmax(0,1fr);gap:20px;margin-top:26px;align-items:stretch}
.quick-panel{background:#eae9df;border:1px solid #dbdcd0}.quick-play{display:block;position:relative;padding:20px;background:#993c2c;color:#fff1df}.quick-play>span{display:block;font:600 22px/1.5 var(--serif)}.quick-play small{font-size:11px;color:#e7c3ac}.quick-play>b{position:absolute;right:18px;top:35px;font-size:22px;font-weight:400}
.quick-grid{display:grid;grid-template-columns:1fr 1fr}.quick-grid a{padding:17px 7px;text-align:center;border-bottom:1px solid #d6d8ca}.quick-grid a:nth-child(odd){border-right:1px solid #d6d8ca}.quick-grid b{display:block;color:#52614a;font:600 18px/1.4 var(--serif)}.quick-grid span{display:block;font-size:10px;color:#7b8170;margin-top:4px}.quick-grid a:hover{background:#fff8eb}.quick-panel>p{padding:13px 8px;text-align:center;font-size:12px;color:#475442}.quick-panel>p>span{font-size:10px;color:#798171}
.scene-feature{position:relative;overflow:hidden;background:#27392e;min-height:360px;color:#fff;display:flex;align-items:flex-end}.scene-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% center;filter:brightness(1.7)}.scene-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#132b21 0%,#132b21a6 37%,transparent 85%)}.scene-feature>div{position:relative;z-index:1;padding:25px;width:100%}.scene-feature div>span{font-size:11px;letter-spacing:3px;color:#e3cfaa}.scene-feature h2{font-size:26px;margin:5px 0 10px;font-family:var(--serif)}.scene-feature p{font-size:12px;color:#c9d1bf}.scene-feature strong{display:block;font-size:12px;font-weight:400;color:#e3c796;margin-top:19px}.scene-feature small{display:block;font-size:9px;color:#b7c1a6;margin-top:12px}
.portal-notices{background:#fff;padding:24px 25px;border:1px solid #e0e1d8;min-width:0}.portal-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e1d8;padding-bottom:13px;gap:12px}.portal-heading h2{font-size:22px}.portal-heading>span{font-size:11px;color:#929a8c}.news-lead{display:block;width:100%;text-align:left;background:none;padding:18px 0 15px;border-bottom:1px solid #e8e8df}.news-lead>span{color:#a04933;font-size:10px}.news-lead h3{font-size:17px;line-height:1.5;margin:5px 0}.news-lead p{font-size:12px;color:#83897c}.news-lead time{font-size:10px;color:#999d91}.news-list>button,.news-list>a{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:none;font-size:12px;padding:10px 0;border-bottom:1px dashed #e4e6dd}.news-list> :last-child{border:0}.news-list span{color:#93998d;font-size:10px;white-space:nowrap}.news-list b{font-weight:400}.news-list i{margin-left:auto;font-style:normal;color:#adb1a5}.news-list button:hover,.news-list a:hover{color:#9b392b}
.portal-directory{display:flex;align-items:center;gap:32px;background:#e8e9df;border-block:1px solid #daddce;padding:16px 22px;margin-top:25px;font-size:12px}.portal-directory>span{color:#919787;margin-right:auto;font-size:11px}.portal-directory a:hover{color:#9b392b}
.portal-home .section-heading{margin-bottom:25px;align-items:center;border-bottom:1px solid #d9ddcf;padding-bottom:18px;gap:20px}.portal-home .section-heading h2{font-size:27px;line-height:1.4;letter-spacing:0;margin-top:5px}.portal-home .section-heading>p{font-size:12px;max-width:none;color:#808777}.portal-home .section-heading>p br{display:none}
.portal-home .campaign-layout{background:#fff;border-color:#dce0d3;grid-template-columns:220px 1fr}.portal-home .chapter-list{background:#eeefe6;border-color:#dce0d3}.portal-home .chapter-list button{min-height:90px;padding:16px 18px;gap:13px}.portal-home .chapter-list button[aria-selected=true]{background:#f9f4e9;box-shadow:inset 3px 0 #a0442c}.portal-home .chapter-list button div{font-size:18px}.portal-home .chapter-list small{color:#8a907e}.portal-home .chapter-panel{grid-template-columns:27% 1fr;padding:28px;gap:30px}.portal-home .chapter-art{display:flex}.portal-home .chapter-art img{max-height:165px}.portal-home .chapter-copy h3{font-size:22px;margin:7px 0 10px}.portal-home .chapter-copy>p:not(.eyebrow){color:#79816e}.portal-home .chapter-copy ol{color:#475642;margin:13px 0}.portal-home .field-note{padding-top:12px}
.portal-home .city{background:#eaede3;color:#25332f}.portal-home .city-layout{grid-template-columns:1.1fr 1fr;gap:35px}.portal-home .city-scene figcaption{background:#293d31;color:#e4d9bb}.portal-home .city-scene figcaption small{color:#b3bfaa}.portal-home .resource-strip{background:#293d31;color:#d6c299}.portal-home .building-tabs{border-color:#c7ccbc}.portal-home .building-tabs button[aria-selected=true]{border-color:#a0442c;color:#953d2c}.portal-home .building-book h3{font-size:22px}.portal-home .building-book #building-panel{min-height:260px}.portal-home .building-book .caption{border-color:#cdd3c2}
.portal-home .unit-tabs{gap:12px}.portal-home .unit-tabs button{background:#eceee4;border-color:#d9decd;padding:15px 10px}.portal-home .unit-tabs button:hover{background:#e1e4d7}.portal-home .unit-tabs button[aria-selected=true]{background:#f9f3e6;border-color:#b08155}.portal-home .unit-tabs img{height:110px}.portal-home .unit-tabs b{font-size:21px;color:#364c37}.portal-home .unit-tabs small{color:#858e7b}.portal-home .unit-panel{padding:23px 0;min-height:165px}.portal-home .unit-panel h3{font-size:22px}.portal-home .unit-panel p:not(.eyebrow){color:#788270}.portal-home .unit-stats dd{color:#9b6040;font-size:32px}.portal-home .unit-stats dt{color:#788270}.portal-home .deploy-flow{background:#e9ecdf;margin-top:22px;padding:20px;gap:22px}.portal-home .deploy-flow h3{font-size:18px}.portal-home .deploy-flow .text-link{width:auto}.portal-home .deploy-flow ol{gap:20px}.portal-home .deploy-flow small{color:#818a75}
.portal-home .guide{padding-top:10px}.portal-home .guide-search{max-width:100%;gap:20px;border:1px solid #dbe0d0;background:#fff;padding:8px 16px}.portal-home .guide-search input{color:#344b35}.portal-home .guide-grid{grid-template-columns:repeat(3,1fr);border:0;gap:0 26px;margin-top:5px}.portal-home .guide-card{padding:22px 0;border:0;border-bottom:1px solid #dce0d2}.portal-home .guide-card h3{font-size:17px;margin:7px 0}.portal-home .guide-card p{font-size:12px;margin-bottom:15px;color:#7d8671}.portal-home .guide-card .eyebrow{font-size:10px;letter-spacing:1px}.portal-home .guide-card:hover{background:transparent}.portal-home .guide-card button{font-size:11px}.portal-home .faq{margin-top:32px;padding-top:25px;gap:30px;grid-template-columns:1fr 3fr}.portal-home .faq h3{font-size:22px;margin-top:5px}.portal-home summary{font-size:13px;padding:12px 24px 12px 0}.portal-home details p{color:#737e68;font-size:12px}.portal-home .faq details:last-child{border:0}
.portal-service{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;background:#e9ecdf;border-top:2px solid #506149;padding:30px 35px;margin-bottom:45px}.portal-service h2{font-size:25px;margin:5px 0 12px}.portal-service p:not(.eyebrow){font-size:12px;color:#7b8571;line-height:1.9}.portal-service>div>a{display:inline-block;font-size:12px;color:#9b392b;margin-top:14px}.portal-service dl{margin:0;border-left:1px solid #ccd3bd;padding-left:35px}.portal-service dl>div+div{margin-top:10px}.portal-service dt{font-size:10px;color:#8d967f}.portal-service dd{margin:1px 0 0;font-size:15px;color:#3a4e35;overflow-wrap:anywhere}.portal-service dl>div:last-child dd{font-size:12px}
.portal-home .site-footer{background:#203631;color:#e6eadb;--paper:#e6eadb;--gold:#c9b382;--muted:#a3b29b;--line:#596b514d;padding:30px 4%;gap:20px}.portal-home .site-registration{color:#b4c1ac}.portal-home .site-registration a{color:#ccb58b}.portal-home .footer-nav a{font-size:12px}.portal-home .healthy-play{font-size:11px}.portal-home .site-footer .brand{font-size:22px}
.portal-home dialog{background:#f7f5ed;color:#293d2d;border-color:#c1b698}.portal-home dialog .primary{color:#fff1de}.portal-home .text-link{color:#994c36}
@media(min-width:901px) and (max-width:1190px){.portal-home .header nav{gap:14px}.portal-home .header{gap:14px}.portal-home .header .brand{font-size:21px}.portal-home .header .nav-play{display:none}.portal-hub{grid-template-columns:180px 280px minmax(0,1fr);gap:14px}.portal-notices{padding:20px 17px}.quick-play{padding:18px 14px}.quick-play>span{font-size:20px}.quick-play>b{right:10px}.portal-home .deploy-flow .text-link{width:100%}}
@media(max-width:900px){.portal-home .header{height:70px}.portal-home .header nav{top:70px;background:#203631;padding:10px 4%}.portal-home .header nav a{padding:12px 0}.portal-home .header .brand{font-size:23px}.portal-home .header .brand small{display:block}.portal-home .account-actions{margin-left:auto}.portal-hero{min-height:410px}.portal-hero h1{font-size:58px}.portal-hero-art{object-position:60% center}.portal-hub{grid-template-columns:190px 1fr;gap:16px}.portal-notices{grid-column:1/-1}.scene-feature{min-height:340px}.portal-directory{gap:22px;flex-wrap:wrap}.portal-directory>span{margin:0}.portal-home .section-heading{flex-direction:row;align-items:end}.portal-home .chapter-panel{grid-template-columns:1fr;padding:25px}.portal-home .chapter-art{display:none}.portal-home .city-layout{grid-template-columns:1fr 1fr;gap:25px}.portal-home .city-scene>img{aspect-ratio:1;object-position:35% center}.portal-home .city-scene figcaption{display:block}.portal-home .city-scene figcaption small{display:block}.portal-home .building-book h3{font-size:20px}.portal-home .unit-panel{grid-template-columns:1fr 1fr;gap:22px}.portal-home .unit-tabs img{height:90px}.portal-home .deploy-flow .text-link{width:100%;text-align:left}.portal-home .guide-grid{grid-template-columns:repeat(2,1fr)}.portal-home .faq{grid-template-columns:1fr 2fr}.portal-service{gap:30px;padding:25px}.portal-service dl{padding-left:25px}}
@media(max-width:600px){.utility-bar{font-size:9px}.utility-bar>.wrap{min-height:30px}.utility-bar .wrap>div{gap:12px}.utility-bar .wrap>div>a:first-child{display:none}.portal-home .header{height:66px;padding:0 4%;gap:14px}.portal-home .header .brand{font-size:21px;gap:9px;letter-spacing:1px}.portal-home .header .brand small{font-size:6px}.portal-home .header nav{top:66px}.portal-home .account-actions{font-size:12px;gap:13px}.portal-hero{min-height:382px}.portal-hero-art{object-position:64% center}.portal-hero:after{background:linear-gradient(90deg,#102023d4,#10202370 55%,#10202312),linear-gradient(0deg,#101e2340,transparent 40%)}.portal-hero-inner{padding:30px 0 47px}.hero-kicker{font-size:10px;letter-spacing:3px}.portal-hero h1{font-size:46px;letter-spacing:6px;margin:12px 0 6px}.portal-hero-sub{font-size:19px;letter-spacing:3px}.portal-hero-desc{font-size:12px;max-width:290px;margin-top:15px}.portal-hero-actions{gap:20px;margin-top:23px}.portal-hero .primary{min-width:160px;padding:12px 18px;font-size:14px}.portal-device{font-size:10px}.art-credit{bottom:12px;font-size:8px}.portal-hub{grid-template-columns:1fr;gap:16px;margin-top:18px}.quick-panel{display:grid;grid-template-columns:1fr}.quick-play{padding:15px 18px}.quick-play>span{font-size:22px}.quick-play>b{top:20px;right:20px}.quick-grid{grid-template-columns:repeat(4,1fr)}.quick-grid a{padding:13px 3px;border-right:1px solid #d6d8ca}.quick-grid a:last-child{border-right:0}.quick-grid b{font-size:17px}.quick-grid span{font-size:9px}.quick-panel>p{padding:8px;font-size:10px}.quick-panel>p>br{display:none}.quick-panel>p>span{margin-left:9px;font-size:9px}.portal-notices{grid-column:1;grid-row:2;padding:19px}.scene-feature{grid-row:3;min-height:220px}.scene-feature>img{object-position:center 46%}.scene-feature>div{padding:21px}.scene-feature h2{font-size:24px}.scene-feature p br{display:none}.scene-feature strong{margin-top:13px}.scene-feature small{position:absolute;bottom:23px;right:19px}.news-list>button,.news-list>a{font-size:12px;min-height:44px}.portal-heading h2{font-size:21px}.portal-directory{gap:10px 0;padding:14px 9px;font-size:11px;justify-content:center;margin-top:18px}.portal-directory>span{display:none}.portal-directory a{text-align:center;width:33.33%;padding:4px}.portal-home .section{padding-top:35px;padding-bottom:35px}.portal-home .section-heading{flex-direction:column;align-items:flex-start;gap:9px;margin-bottom:18px;padding-bottom:15px}.portal-home .section-heading h2{font-size:24px;margin-top:2px}.portal-home .section-heading>p{font-size:11px}.portal-home .campaign-layout{grid-template-columns:1fr}.portal-home .chapter-list{grid-template-columns:repeat(2,1fr)}.portal-home .chapter-list button{min-height:75px;padding:12px;gap:10px}.portal-home .chapter-list button div{font-size:16px}.portal-home .chapter-list small{font-size:9px}.portal-home .chapter-panel{padding:23px 18px;min-height:310px}.portal-home .chapter-copy h3{font-size:20px}.portal-home .chapter-copy>p:not(.eyebrow),.portal-home .chapter-copy ol{font-size:12px}.portal-home .city-layout{grid-template-columns:1fr;gap:20px}.portal-home .city-scene>img{aspect-ratio:667/375}.portal-home .city-scene figcaption{display:flex}.portal-home .city-scene figcaption small{display:inline}.portal-home .building-book #building-panel{min-height:250px}.portal-home .building-tabs button{font-size:11px;min-height:44px}.portal-home .unit-tabs{gap:6px}.portal-home .unit-tabs button{padding:9px 2px}.portal-home .unit-tabs img{width:100%;height:auto;max-height:100px;object-fit:contain}.portal-home .unit-tabs b{font-size:15px}.portal-home .unit-panel{grid-template-columns:1fr;gap:18px;min-height:230px}.portal-home .unit-panel h3{font-size:20px}.portal-home .unit-panel p:not(.eyebrow){font-size:12px}.portal-home .unit-stats dd{font-size:28px}.portal-home .deploy-flow{padding:18px;gap:17px}.portal-home .deploy-flow ol{gap:17px}.portal-home .deploy-flow small{font-size:10px}.portal-home .guide{padding-top:0}.portal-home .guide-search{gap:10px;padding:8px 12px}.portal-home .guide-search input{font-size:12px}.portal-home .guide-grid{grid-template-columns:1fr}.portal-home .guide-card{padding:17px 0}.portal-home .guide-card h3{font-size:17px}.portal-home .guide-card p{margin-bottom:12px}.portal-home .guide-card button{min-height:28px}.portal-home .faq{grid-template-columns:1fr;gap:13px;margin-top:26px}.portal-home .faq h3{font-size:21px}.portal-home summary{min-height:44px}.portal-service{grid-template-columns:1fr;gap:22px;padding:23px 19px;margin-bottom:30px}.portal-service h2{font-size:22px}.portal-service p br{display:none}.portal-service dl{border:0;border-top:1px solid #ccd3bd;padding:18px 0 0;display:grid;grid-template-columns:1fr;gap:10px}.portal-service dl>div+div{margin:0}.portal-service dd{font-size:14px}.portal-home .site-footer{padding:25px 4%;gap:15px}.portal-home .site-footer .footer-nav{gap:4px 10px}.portal-home .site-footer .healthy-play{text-align:center;font-size:10px}.portal-home .site-registration{font-size:11px}.portal-home dialog{padding:32px 22px}.portal-home #account-dialog{padding:30px 24px}}
@media(min-width:601px) and (max-width:900px){.quick-play>b{display:none}}
/* Standalone article links retain the guide-card layout. */
.portal-home .guide-card>a{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;color:#994c36;font-size:11px;min-height:28px}
.portal-home .guide-card>a span{font-size:18px}
.portal-home .guide-card>a:hover{text-decoration:underline;text-underline-offset:4px}

/* Readability update: retain image detail and readable mobile text. */
.portal-home{--muted:#53604f}
.portal-home .eyebrow{color:#78562e;font-size:12px}
.portal-hero-desc{color:#f1f2e9;font-size:15px;text-shadow:0 1px 3px #000}
.portal-device{color:#e3e5d8;font-size:12px}.art-credit{color:#f0e4cf;font-size:11px;text-shadow:0 1px 3px #000}
.portal-home .quick-grid span,.portal-home .quick-panel>p>span{color:#55614d;font-size:12px}
.portal-home .news-lead p,.portal-home .section-heading>p,.portal-home .chapter-copy>p:not(.eyebrow),.portal-home .unit-panel p:not(.eyebrow),.portal-home .guide-card p,.portal-home details p,.portal-service p:not(.eyebrow){color:#52614a;font-size:14px;line-height:1.85}
.portal-home .news-list>a{font-size:14px;line-height:1.6;padding:12px 0}
.portal-home .news-list span,.portal-home .news-lead time,.portal-home .portal-heading>span{color:#606b55;font-size:12px}
.portal-home .chapter-list small,.portal-home .unit-tabs small,.portal-home .deploy-flow small{color:#58654c;font-size:12px}
.portal-home .scene-feature p{font-size:14px;color:#edf0e4}.portal-home .scene-feature small{font-size:11px;color:#e0e6d3}
.portal-home .portal-directory,.portal-home .building-tabs button,.portal-home summary{font-size:14px}
.portal-home .city-scene>img{object-fit:contain;aspect-ratio:667/375}
.portal-home .guide-card>a,.portal-home .footer-nav a{font-size:13px}
.portal-service dt{font-size:12px;color:#57644c}.portal-service dl>div:last-child dd{font-size:14px}
.portal-home .site-registration{font-size:13px}.portal-home .healthy-play{font-size:12px;color:#c0ccba;line-height:1.9}
@media(max-width:600px){
 .portal-home .utility-bar{font-size:11px}.portal-home .header .brand small{font-size:8px}
 .portal-hero-desc{font-size:14px}.portal-hero-sub{font-size:20px}.portal-hero-inner{padding-bottom:55px}
 .portal-home .news-list>a{align-items:flex-start}.portal-home .chapter-copy ol{font-size:14px;line-height:1.9}
 .portal-home .chapter-panel{min-height:0}.portal-home .unit-panel{min-height:0}
 .portal-home .scene-feature small{position:static;margin-top:10px}
 .portal-home .building-tabs button{font-size:12px}.portal-home .portal-directory{font-size:13px}
 .portal-home .guide-search input{font-size:16px}.portal-home .site-registration{font-size:12px}
}
