/* Public book-entry adapter only. Original body content, links, forms and scripts remain intact. */
body.beg-companion-ui{--cp-ink:#173340;--cp-night:#142b37;--cp-paper:#f3f5f2;--cp-line:#c3d3dc;--cp-gold:#ddc18a;--cp-font:'Segoe UI Variable','Segoe UI',Arial,sans-serif;--cp-mono:'Cascadia Mono',Consolas,monospace;background:#fff;color:var(--cp-ink);font:400 16px/1.75 var(--cp-font);margin:0}body.beg-companion-ui::before,body.beg-companion-ui::after{display:none}.beg-companion-ui *{box-sizing:border-box}.beg-companion-ui [hidden]{display:none!important}.beg-companion-ui main :is(h1,h2,h3,h4){font-family:var(--cp-font);font-style:normal;font-weight:600;letter-spacing:-.03em;line-height:1.22;text-wrap:balance}.beg-companion-ui main h1{font-size:clamp(44px,5.5vw,76px);line-height:1.07;letter-spacing:-.05em;max-width:19ch}.beg-companion-ui main h1 em{font-family:inherit;font-weight:inherit;font-style:normal;color:var(--cp-gold)}.beg-companion-ui main h2{font-size:clamp(29px,3.4vw,44px);max-width:30ch}.beg-companion-ui main h3{font-size:22px;line-height:1.35}.beg-companion-ui main p{line-height:1.8}.beg-companion-ui a{text-underline-offset:5px}.beg-companion-ui :is(a,button,summary,input):focus-visible{outline:3px solid #a8772e;outline-offset:5px}.beg-companion-ui :is(.wrap,.aa-wrap,.lf-wrap,.is-wrap,.smb-wrap,.fi-wrap,.shell){width:min(1240px,calc(100% - 88px));margin-inline:auto;min-width:0}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero){background:var(--cp-night);color:#edf3f6;border:0;box-shadow:none;border-radius:0;padding-block:66px;min-width:0}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero)::before,.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero)::after{display:none}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(h1,h2,h3){color:#f4f7f8}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) p{color:#c6d4de}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(.eyebrow,.lf-eyebrow,.aa-kicker,.is-kicker,.smb-kicker,.up-kicker,.fi-kicker){color:var(--cp-gold)}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) a:not([class]){color:#e8d2a8}.beg-companion-ui :is(.deck,.subtitle,.lf-lead,.aa-lead,.is-lead,.smb-lead,.up-lead,.fi-lead,.dt-lede){font-size:18px;line-height:1.8;max-width:64ch}.beg-companion-ui :is(.eyebrow,.kicker,.number,.lf-eyebrow,.aa-kicker,.is-kicker,.smb-kicker,.up-kicker,.fi-kicker,.dt-code){font-family:var(--cp-mono);font-size:10px;line-height:1.7;letter-spacing:.1em}.beg-companion-ui :is(.hero,.up-hero){width:100%;max-width:none;padding-inline:max(32px,calc((100% - 1240px)/2))}.beg-companion-ui.aod .hero{padding-inline:0}.beg-companion-ui :is(.hero,.lf-hero-grid,.aa-hero-grid,.is-hero-grid,.smb-hero-grid,.fi-hero-grid,.dt-hero-grid){gap:clamp(30px,5vw,74px)}.beg-companion-ui.aod .hero>.wrap{gap:clamp(30px,5vw,74px)}
/* Reserve original cover dimensions; no artwork is cropped or replaced. */
.beg-companion-ui :is(.cover-wrap,.coverframe,.lf-book-display,.smb-cover,.up-cover,.fi-book-panel,.dt-book-stage){min-width:0;max-width:420px;justify-self:center;align-self:center}.beg-companion-ui :is(.cover-wrap,.coverframe,.lf-book-display,.smb-cover,.up-cover,.fi-book-panel,.dt-book-stage) img{display:block;width:auto;height:auto;max-width:min(100%,290px);max-height:450px;object-fit:contain;border-radius:0;box-shadow:0 12px 28px #061b2240;margin-inline:auto}.beg-companion-ui .lf-book-display{padding:25px 30px;background:#1d3a49;border:1px solid #68838f;border-radius:3px}.beg-companion-ui .fi-book-panel{padding:26px;background:#1d3a49;border:1px solid #68838f;border-radius:3px}.beg-companion-ui .aa-method-panel,.beg-companion-ui .is-motif{background:#1e3c47;color:#edf4f7;border:1px solid #769099;border-top:2px solid var(--cp-gold);border-radius:3px;box-shadow:none}.beg-companion-ui .aa-method-panel :is(p,li),.beg-companion-ui .is-motif :is(p,li,span){color:#d2dfe6}.beg-companion-ui :is(.stats,.stat,.lf-metrics,.aa-statbar,.is-statline,.up-stats,.dt-hero-meta){box-shadow:none;border-radius:0}
/* Existing native header and footer structures, coordinated with the parent brand. */
.beg-companion-ui>header{background:#fff;color:#193747;border:0;border-bottom:1px solid #d9e2e7;box-shadow:none;position:relative;inset:auto;max-width:none;width:100%;z-index:10}.beg-companion-ui>header :is(a,small,strong){color:inherit;text-decoration:none}.beg-companion-ui>header nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;font:500 13px/1.5 var(--cp-font);border-radius:3px}.beg-companion-ui>header nav a:hover{background:#eef3f5;color:#18333f;text-decoration:underline}.beg-companion-ui>header :is(.brand,.aa-brand,.lf-wordmark,.up-brand,.fi-brand,.wordmark){font:600 19px/1.3 var(--cp-font);letter-spacing:-.025em}.beg-companion-ui>header :is(.mark,.lf-mark,.up-mark){display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;background:#18333f;color:#ddc18a;font:600 18px var(--cp-font);border:0;border-radius:2px}.beg-companion-ui>header :is(.brand small,.aa-brand small,.up-brand small,.wordmark small){font:10px/1.6 var(--cp-mono);display:block;letter-spacing:.02em;margin-top:4px;color:#5e7482}.beg-companion-ui :is(.sitebar,.lf-topbar,.up-header){display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px;padding:17px max(20px,calc((100vw - 1240px)/2));margin:0}.beg-companion-ui :is(.aa-header-row,.fi-header-row,.topbar>.wrap,.is-publicbar>.is-wrap,.smb-publicbar>.smb-wrap,.header-row){display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:86px;padding-block:17px}.beg-companion-ui .companion-path{border-bottom:1px solid #d6e1e7;background:#f0f4f4;color:#496574}.beg-companion-ui .companion-path>div{display:flex;align-items:center;justify-content:space-between;gap:22px;width:min(1240px,calc(100% - 88px));margin-inline:auto;padding:13px 0}.beg-companion-ui .companion-path ol{list-style:none;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;padding:0;font:12px/1.7 var(--cp-font)}.beg-companion-ui .companion-path li+li::before{content:'/';color:#7c8f97;margin-right:10px}.beg-companion-ui .companion-path a{display:inline-flex;align-items:center;min-height:34px;color:#234859;text-decoration:none;font:12px/1.7 var(--cp-font)}.beg-companion-ui .companion-path a:hover{text-decoration:underline}.beg-companion-ui .companion-path span[aria-current]{color:#193847}.beg-companion-ui>footer{background:#0e1d27;color:#c6d4dc;border:0;border-top:1px solid #38505f;padding-block:34px;box-shadow:none}.beg-companion-ui>footer :is(a,p,strong,span){color:inherit;font-family:var(--cp-font);font-size:13px}.beg-companion-ui>footer a{display:inline-flex;align-items:center;min-height:36px;text-underline-offset:4px}.beg-companion-ui>footer nav{display:flex;flex-wrap:wrap;gap:10px 22px}
/* Consistent control affordances, while preserving each book's identity and access routes. */
.beg-companion-ui :is(.btn,.button,.lf-button,.aa-button,.is-button,.smb-button,.up-button,.fi-button){display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;padding:12px 18px;border:1px solid #22495a;border-radius:3px;background:#22495a;color:white;font:600 13px/1.6 var(--cp-font);text-decoration:none;box-shadow:none;white-space:normal;text-align:left}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(.btn,.button,.lf-button,.aa-button,.is-button,.smb-button,.up-button,.fi-button){background:var(--cp-gold);color:#17313f;border-color:var(--cp-gold)}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(.outline,.lf-button-outline,.aa-light,.is-secondary,.smb-secondary,.up-secondary,.fi-outline,.ghost){background:transparent;color:#edf3f7;border-color:#a4b8c3}.beg-companion-ui :is(.card,.lf-chapter-card,.aa-card,.is-card,.smb-card,.up-card,.fi-chapter,.dt-path){border-radius:3px;box-shadow:none;min-width:0}.beg-companion-ui :is(.actions,.lf-actions,.aa-actions,.is-actions,.smb-actions,.up-actions,.fi-actions,.portal-actions){gap:12px 18px;flex-wrap:wrap}.beg-companion-ui :is(.card,.aa-card,.is-card,.smb-card,.up-card,.fi-chapter,.dt-path) p{font-size:15px}.beg-companion-ui main details{border-radius:3px;box-shadow:none}.beg-companion-ui main summary{cursor:pointer;min-height:52px;padding-block:16px;font:600 16px/1.6 var(--cp-font)}.beg-companion-ui .fi-planner{border:1px solid #8da6b5;border-radius:3px;padding:28px}.beg-companion-ui .fi-planner input{font:16px var(--cp-font);min-height:48px;padding:11px;color:#173340;background:white;border:1px solid #90a9b8;border-radius:3px}.beg-companion-ui .fi-planner .fi-button{margin-top:15px}.beg-companion-ui :is(.section,.lf-section,.aa-section,.is-section,.smb-section,.up-section,.fi-intro,.fi-tools,.fi-practice,.fi-access,.fi-faq,.portal-section){padding-block:68px}.beg-companion-ui .site-nav{z-index:12}.beg-companion-ui .nav-toggle{min-height:44px;min-width:68px;color:#173340;border-color:#8da4b3;background:#fff}
@media(max-width:1000px){.beg-companion-ui :is(.wrap,.aa-wrap,.lf-wrap,.is-wrap,.smb-wrap,.fi-wrap,.shell),.beg-companion-ui .companion-path>div{width:calc(100% - 56px)}.beg-companion-ui main h1{font-size:54px}.beg-companion-ui :is(.hero,.up-hero){padding-inline:28px}.beg-companion-ui.aod .hero{padding-inline:0}.beg-companion-ui :is(.sitebar,.lf-topbar,.up-header){padding-inline:28px}.beg-companion-ui>header nav a{padding-inline:9px;font-size:12px}.beg-companion-ui main h2{font-size:34px}}
@media(max-width:760px){.beg-companion-ui :is(.hero,.lf-hero-grid,.aa-hero-grid,.is-hero-grid,.smb-hero-grid,.fi-hero-grid,.dt-hero-grid,.up-hero){grid-template-columns:1fr}.beg-companion-ui.aod .hero>.wrap{grid-template-columns:1fr}.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero){padding-block:43px}.beg-companion-ui main h1{font-size:48px;max-width:22ch}.beg-companion-ui :is(.sitebar,.lf-topbar,.up-header,.aa-header-row,.fi-header-row,.topbar>.wrap,.is-publicbar>.is-wrap,.smb-publicbar>.smb-wrap){flex-wrap:wrap;gap:13px;padding-block:17px}.beg-companion-ui>header nav{display:flex;flex-wrap:wrap;gap:3px 7px}.beg-companion-ui>header .site-nav{display:none}.beg-companion-ui>header .site-nav.open{display:flex;background:#fff;color:#193747;border:1px solid #c4d4de}.beg-companion-ui :is(.cover-wrap,.coverframe,.lf-book-display,.smb-cover,.up-cover,.fi-book-panel,.dt-book-stage){width:min(100%,340px);max-width:340px;justify-self:center}.beg-companion-ui .companion-path>div{align-items:flex-start}.beg-companion-ui .companion-path>div>a{white-space:nowrap}.beg-companion-ui :is(.section,.lf-section,.aa-section,.is-section,.smb-section,.up-section,.fi-intro,.fi-tools,.fi-practice,.fi-access,.fi-faq,.portal-section){padding-block:47px}}
@media(max-width:480px){.beg-companion-ui :is(.wrap,.aa-wrap,.lf-wrap,.is-wrap,.smb-wrap,.fi-wrap,.shell),.beg-companion-ui .companion-path>div{width:calc(100% - 40px)}.beg-companion-ui :is(.sitebar,.lf-topbar,.up-header){padding-inline:20px}.beg-companion-ui :is(.hero,.up-hero){padding-inline:20px}.beg-companion-ui.aod .hero{padding-inline:0}.beg-companion-ui main h1{font-size:clamp(36px,10.9vw,48px);letter-spacing:-.045em}.beg-companion-ui main h2{font-size:30px}.beg-companion-ui main h3{font-size:21px}.beg-companion-ui :is(.deck,.subtitle,.lf-lead,.aa-lead,.is-lead,.smb-lead,.up-lead,.fi-lead,.dt-lede){font-size:16px}.beg-companion-ui .companion-path>div{flex-direction:column;gap:0;padding:10px 0}.beg-companion-ui :is(.cover-wrap,.coverframe,.lf-book-display,.smb-cover,.up-cover,.fi-book-panel,.dt-book-stage) img{max-width:100%;max-height:360px}.beg-companion-ui main :is(.btn,.button,.lf-button,.aa-button,.is-button,.smb-button,.up-button,.fi-button){max-width:100%;min-height:48px}.beg-companion-ui>footer :is(.wrap,.shell,.aa-wrap,.lf-wrap,.is-wrap,.smb-wrap,.fi-wrap){flex-direction:column;gap:16px}.beg-companion-ui .fi-planner{padding:22px}.beg-companion-ui main{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){.beg-companion-ui *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.beg-companion-ui>header,.beg-companion-ui>footer,.beg-companion-ui .companion-path{display:none!important}.beg-companion-ui main,.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero){background:white!important;color:black!important}.beg-companion-ui main :is(h1,h2,h3,p,a,li,span){color:black!important}.beg-companion-ui main h1{font-size:30pt}.beg-companion-ui details::details-content{display:block;content-visibility:visible!important;height:auto}.beg-companion-ui details>*:not(summary){display:block!important}.beg-companion-ui :is(.cover-wrap,.coverframe,.lf-book-display,.smb-cover,.up-cover,.fi-book-panel,.dt-book-stage) img{max-height:220px}}

/* Resolve original per-book important ink declarations without changing their links. */
body.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(.btn,.button,.lf-button,.aa-button,.is-button,.smb-button,.up-button,.fi-button){color:#17313f!important}body.beg-companion-ui :is(.hero,.lf-hero,.aa-hero,.is-hero,.smb-hero,.up-hero,.fi-hero,.dt-hero) :is(.outline,.lf-button-outline,.aa-light,.is-secondary,.smb-secondary,.up-secondary,.fi-outline,.ghost){color:#edf3f7!important}body.companion-leadership-code .hero>*{min-width:0}body.companion-leadership-code :is(.cover-wrap,.cover){transform:none;max-width:100%}body.companion-leadership-code .footer{flex-wrap:wrap;gap:16px;padding-inline:max(20px,calc((100vw - 1240px)/2))}
@media(max-width:1120px){body.beg-companion-ui .header-row{flex-wrap:wrap}body.beg-companion-ui>header .nav-toggle{display:none}.motion-ready body.beg-companion-ui>header .nav-toggle{display:inline-flex}body.beg-companion-ui>header .site-nav{display:flex;position:static;flex-basis:100%;flex-direction:column;background:white;color:#193747;box-shadow:none}.motion-ready body.beg-companion-ui>header .site-nav:not(.open){display:none}.motion-ready body.beg-companion-ui>header .site-nav.open{display:flex}}

/* The original book-stage decoration must not extend the page's scrollable area. */
body.companion-leadership-code .cover-wrap::before,body.companion-leadership-code .cover-wrap::after{content:none;display:none}

body.beg-companion-ui>header :is(.brand,.aa-brand,.lf-wordmark,.up-brand,.fi-brand,.wordmark) :is(strong,small,span){font-family:var(--cp-font)}body.beg-companion-ui>header :is(.mark,.lf-mark,.up-mark){white-space:nowrap;word-break:normal;letter-spacing:0;line-height:1;writing-mode:horizontal-tb;flex:none;min-width:38px;max-width:38px}
