/* Shared fluid page shells. Cards, dialogs and reading measures stay bounded. */
:root{--screen-gutter:clamp(24px,1.7vw,32px)}
/* Shared header geometry; role colors, logo assets and action hooks stay intact. */
:root{--fez-header-height:80px;--fez-header-control-height:44px;--fez-header-radius:12px}
html body .fx154-headin .fx154-tagline{display:block;border-left:1px solid #ffffff26;padding-left:12px;margin-left:4px;color:#c5d8d2;font-size:11px;font-weight:400;line-height:1.25;text-align:left;white-space:nowrap}
@media(max-width:1024px){html body .fx154-headin .fx154-tagline{display:none}}
@media(min-width:768px){
 html body .guest-v2253-shell .guest-v2253-header,
 html body .fx154-pro .fx154-headin,
 html body.fx-resident-wide.fx-resident-wide .hdr-inner,
 html body.fx260-pro-shell.fx260-pro-shell .hdr-inner{height:var(--fez-header-height)!important;min-height:var(--fez-header-height)!important;box-sizing:border-box;align-items:center;gap:20px!important}
 html body .guest-v2253-header :is(.guest-nav button,.guest-head-actions button),
 html body .fx154-headin .fx154-nav button{min-height:var(--fez-header-control-height);border-radius:var(--fez-header-radius)!important;font-size:14px;font-weight:700;padding:10px 16px;box-sizing:border-box}
 html body.fx-resident-wide.fx-resident-wide #nav{gap:8px!important;align-items:center}
 html body.fx-resident-wide.fx-resident-wide #nav button{height:64px!important;padding:0 16px!important;border-radius:var(--fez-header-radius)!important;font-size:14px!important;font-weight:700!important;border-bottom:0!important;transition:background-color .15s,color .15s}
 html body.fx-resident-wide.fx-resident-wide #nav button:hover{background:#f3f7ff!important}
 html body.fx-resident-wide.fx-resident-wide #nav button:is(.active,[aria-current="page"]){background:#edf4ff!important;color:#175bea!important}
 html body.fx-resident-wide.fx-resident-wide #nav button:is(.active,[aria-current="page"])::after{left:0!important;right:0!important;bottom:0!important;height:3px!important;border-radius:0 0 var(--fez-header-radius) var(--fez-header-radius)!important}
 html body.fx260-pro-shell.fx260-pro-shell #nav button{height:64px!important;border-radius:var(--fez-header-radius)!important;font-size:14px!important;font-weight:700!important}
}
@media(max-width:767px){
 html body .guest-v2253-shell .guest-v2253-header,
 html body .fx154-pro .fx154-headin,
 html body.fx-resident-wide.fx-resident-wide .hdr-inner{height:64px!important;min-height:64px!important;box-sizing:border-box;align-items:center}
}
@media(prefers-reduced-motion:reduce){html body.fx-resident-wide #nav button{transition:none}}
/* Account popover lives outside transformed headers and inherits one typeface. */
html body #accountMenu.open{z-index:100210!important;background:#fff!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 100px);overflow-y:auto;box-sizing:border-box;border-radius:16px;box-shadow:0 16px 48px #10285f26}
html body #accountMenu :is(button,.classic-profile-link,.professional-subscription-menu,.logout-button){font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;min-height:44px}
html body #accountMenu .classic-account-head strong{font-family:inherit;font-size:16px!important;line-height:1.3}
html body #accountMenu .classic-account-head>div>span{font-family:inherit;font-size:12px!important;line-height:1.4}
html body #accountMenu.fx202-pro-compact .classic-profile-link{display:flex!important;align-items:center;gap:8px}
html body #accountMenu button:focus-visible{outline:2px solid #1769ff;outline-offset:-2px}
html body .container,
html body.fx-resident-wide main.container,
html body.fx-resident-wide.fx185-conversation-active main.container,
html body.fx260-pro-shell.fx260-pro-shell main.container,
html body.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="conversations"] main.container{width:100%!important;max-width:none!important;box-sizing:border-box;padding-inline:var(--screen-gutter)!important}
html body .hdr-inner,
html body.fx260-pro-shell.fx260-pro-shell .hdr-inner{width:100%!important;max-width:none!important;box-sizing:border-box;padding-inline:var(--screen-gutter)!important}
html body :is(.guest-v2253-header,.guest-header,.fx154-headin){width:100%;max-width:none;box-sizing:border-box;padding-inline:var(--screen-gutter)!important}
html body :is(.guest-v2253-why,.guest-v2253-reviews,.guest-v2253-savings,.guest-v2253-campaign,.guest-v2253-how,.guest-v2253-footer,.guest-footer,.fx154-main,.guest-login-main,.fx154-loginshell){width:100%;max-width:none!important;box-sizing:border-box;padding-inline:var(--screen-gutter)!important}
html body :is(.guest-v240-hero,.guest-v2253-hero,.guest-v2253-nearby){width:calc(100% - 2 * var(--screen-gutter))!important;max-width:none!important;box-sizing:border-box;margin-inline:auto!important}
html body .fx-site-footer{width:100%;max-width:none!important;box-sizing:border-box}
html body .ftr>.container{width:100%!important;max-width:none!important;padding-inline:var(--screen-gutter)!important;box-sizing:border-box}
/* Public pages own their gutters; avoid padding the outer shell a second time. */
html body main.container:has(.guest-v240-hero,.guest-login-main,.fx154-main,.fx154-loginshell){padding-inline:0!important}
/* Authentication is one centered composition, not two distant screen edges. */
/* Resident landing: connected copy and a framed photo, without a hard split. */
html body .guest-v240-hero{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);min-height:0;margin-block:24px 0;background:linear-gradient(110deg,#fff 25%,#f3f7fd 100%)}
html body .guest-v240-copy{max-width:700px;width:100%;box-sizing:border-box;justify-self:end;padding:38px clamp(24px,2.2vw,40px);align-items:flex-start}
html body .guest-v240-copy h1{font-size:clamp(44px,3.5vw,64px);line-height:1.04}
html body .guest-v240-copy>.guest-kicker{align-self:flex-start}
html body .guest-v240-media{min-height:0;height:clamp(420px,28vw,540px);margin:18px 18px 18px 0;border-radius:20px;box-shadow:0 10px 26px #16397312;align-self:center}
html body .guest-v240-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 48%}
html body .guest-v240-media::after{background:linear-gradient(0deg,rgba(16,44,104,.12),transparent 45%)}
html body .guest-v240-float{top:auto;bottom:18px;left:18px;width:min(300px,calc(100% - 36px));box-sizing:border-box;background:rgba(255,255,255,.94)}
html body .guest-v2253-reviews{padding-top:30px}
@media(min-width:2200px){html body .guest-v240-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body .guest-v240-media{max-width:1120px;width:calc(100% - 18px);height:auto;aspect-ratio:1205/648}}
@media(max-width:1100px) and (min-width:981px){html body .guest-v240-copy{padding:30px 24px}html body .guest-v240-copy h1{font-size:44px}html body .guest-v240-media{height:460px}}
@media(max-width:980px){html body .guest-v240-hero{grid-template-columns:1fr}html body .guest-v240-copy{max-width:none;justify-self:stretch;padding:32px}html body .guest-v240-media{height:auto;aspect-ratio:1205/648;margin:0 20px 20px}html body .guest-v240-copy h1{font-size:clamp(38px,6vw,52px)}}
@media(max-width:620px){html body .guest-v240-hero{margin-top:12px}html body .guest-v240-copy{padding:28px 22px}html body .guest-v240-media{margin:0 12px 12px;border-radius:16px;aspect-ratio:4/3}html body .guest-v240-float{bottom:12px;left:12px;width:calc(100% - 24px);padding:10px 12px}html body .guest-v2253-reviews{padding-top:24px}}
@media(max-width:620px){html body .guest-v240-actions{width:100%;align-self:stretch}}
html body :is(.guest-login-main,.fx154-loginshell){max-width:1320px!important;margin-inline:auto;gap:clamp(24px,3vw,48px);align-items:center}
html body .guest-login-copy{padding-top:0}
/* Keep the professional hero connected even on ultrawide screens. */
html body .fx154-hero{max-width:1440px;margin-inline:auto;gap:clamp(24px,2.5vw,40px);grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-top:clamp(32px,4vw,60px)}
html body .fx154-copy h1{font-size:clamp(42px,4.1vw,64px);line-height:1.06}
html body .fx154-visual{aspect-ratio:4/3;box-shadow:0 20px 45px rgba(16,36,31,.14)}
html body .fx154-visual img{object-position:center}
/* Pricing is a readable comparison, not two oversized empty panels. */
html body .fx154-pricing{max-width:920px;margin-inline:auto;padding-block:32px}
html body .fx154-pricing .fx154-sh{max-width:760px;margin-bottom:26px}
html body .fx154-pricing .fx154-sh h2{font-size:clamp(28px,2.6vw,38px);line-height:1.18;letter-spacing:-.025em}
html body .fx154-plans{gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
html body .fx154-plan{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border-radius:20px;box-shadow:0 10px 28px rgba(16,36,31,.045)}
html body .fx154-plan.pro{border-color:#20745c;box-shadow:0 14px 36px rgba(16,36,31,.12)}
html body .fx154-plan .tag{font-size:11px;padding:7px 11px;letter-spacing:.02em}
html body .fx154-plan h3{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:12px 0 6px}
html body .fx154-plan p{font-size:15px;line-height:1.5}
html body .fx154-plan ul{list-style:none;padding:0;margin:18px 0;display:grid;gap:8px;font-size:14px;line-height:1.5;width:100%}
html body .fx154-plan li{display:flex;gap:10px;align-items:baseline}
html body .fx154-plan li::before{content:'✓';color:#087559;font-weight:900;flex-shrink:0}
html body .fx154-plan.pro li::before{color:#80e4bf}
html body .fx154-plan>.fx154-btn{width:100%;min-height:46px;margin-top:0;font-size:14px}
html body .fx154-beta-price{display:grid;gap:3px;width:100%;box-sizing:border-box;margin-top:14px;padding:10px 12px;border:1px solid #ffffff26;border-radius:10px;background:#ffffff0a}
html body .fx154-beta-price span{font-size:12px;color:#bcd0c9;line-height:1.5}
html body .fx154-beta-price strong{font-size:17px;color:#80e4bf;line-height:1.4}
html body .fx154-plan-note{font-size:13px;line-height:1.65;padding:16px 20px;margin-top:20px;background:#edf7f2;text-align:center;border-radius:16px}
@media(max-width:720px){html body .fx154-plans{grid-template-columns:1fr;gap:18px}html body .fx154-pricing{padding-block:28px}html body .fx154-plan{padding:24px}html body .fx154-plan-note{text-align:left}}
@media(max-width:1050px){html body .fx154-hero{grid-template-columns:1fr;gap:28px}html body .fx154-visual{max-width:700px;justify-self:center}}
/* Keep login fields comfortable within that composition. */
html body .guest-login-copy{max-width:850px}
html body .fx154-lcopy{max-width:850px}
html body :is(.guest-login-card,.fx154-lcard){width:100%;max-width:520px;justify-self:end;box-sizing:border-box}
@media(max-width:1050px){html body .fx154-lcard{justify-self:center}}
@media(max-width:900px){html body .guest-login-card{justify-self:center}}
@media(max-width:850px){:root{--screen-gutter:16px}}
@media(max-width:600px){:root{--screen-gutter:12px}}
