/* EverKey stylesheet: /journey-flow.css */
/* Visible tools and a connected reading path, within EverKey's existing visual language. */
#calculators,#selling-plan{scroll-margin-top:112px}
/* The featured tool stays on this page; allow for the sticky navigation. */
#home-purchase-planner{scroll-margin-top:16px}
.site-header{background:#fff}
.calculator-showcase{padding-block:54px 30px}
/* Mortgage guidance and one shared calculator area, without a second opening tool. */
.mortgage-intro{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:48px;padding-block:30px 28px}
.mortgage-intro .eyebrow{font-size:.75rem;margin-bottom:12px}
.mortgage-intro h1{font-size:clamp(2.25rem,3.4vw,3.25rem);line-height:1.12;letter-spacing:-.055em;margin:0}
.mortgage-intro h1 em{font-family:Georgia,serif;font-weight:400}
.mortgage-intro .service-lede{font-size:1rem;line-height:1.65;color:var(--muted);margin:0;max-width:560px}
.mortgage-intro .mortgage-credential{font-size:.75rem;line-height:1.65;padding-top:12px;margin:14px 0 0}
.mortgage-tools{margin-bottom:34px}
@media(max-width:780px){.mortgage-intro{grid-template-columns:1fr;gap:18px;padding-block:24px}.mortgage-intro h1{font-size:clamp(2rem,5vw,2.5rem)}.mortgage-tools{margin-bottom:28px}}
.calculator-showcase-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:23px}
.calculator-showcase-heading .eyebrow{font-size:.71rem;margin-bottom:10px}
.calculator-showcase-heading h2{font-size:clamp(2rem,3vw,3.1rem);letter-spacing:-.045em;line-height:1.15;margin:0}
.calculator-showcase-heading h2 em{font-family:Georgia,serif;font-weight:400;color:#44647b}
.calculator-showcase-heading>p{max-width:355px;font-size:.94rem;line-height:1.65;color:var(--muted);margin:0}
.calculator-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 18px}
.calculator-tile{display:flex;align-items:center;gap:10px;min-width:0;min-height:66px;padding:10px 12px;border:1px solid #bdcddc;border-radius:12px;text-decoration:none;background:linear-gradient(135deg,#fff,#f2f6fa 65%,#e2ebf2);color:#10324f;box-shadow:inset 0 1px 0 #fff,0 3px 8px #102c4506;transition:transform .2s,box-shadow .2s,border-color .2s}
.calculator-tile-art{display:grid;place-items:center;flex:none;width:36px;height:36px;color:#1166a0;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#d9e7f1);box-shadow:inset 0 1px 1px #fff,0 1px 2px #1839521c}
.calculator-tile-art .icon{width:23px;height:23px}
.calculator-tile strong{display:block;font-size:.875rem;font-weight:650;line-height:1.35}
.calculator-tile small{display:block;font-size:.73rem;line-height:1.4;color:#516a7f;margin-top:5px}
.calculator-tile:hover,.calculator-tile:focus-visible{transform:translateY(-2px);border-color:#6f97b7;box-shadow:inset 0 1px 0 #fff,0 6px 16px #10335017}
.calculator-tile:focus-visible{outline:2px solid #0869a6;outline-offset:3px}
.calculator-tile[aria-current=page],.calculator-tile[aria-current=location]{border-color:#3377a4;background:linear-gradient(135deg,#e8f2f9,#fff);box-shadow:inset 0 -3px 0 #297aac}
.calculator-rail--home .calculator-tile{min-height:104px;align-items:flex-start;padding:15px 12px;gap:10px}
.calculator-rail--home .calculator-tile-art{margin-top:3px}
.live-planner-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px;margin:20px 0 12px}
.live-planner-caption h3{font-size:1rem;font-weight:650;margin:0}
.live-planner-caption p{display:flex;gap:9px;align-items:center;margin:0;font-size:.82rem;color:var(--muted)}
.tool-followthrough{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #d6e1e9;padding:17px 2px 14px;margin-top:18px}
.tool-followthrough strong{font-family:Georgia,serif;font-weight:400;font-size:1.3rem;line-height:1.4}
.tool-followthrough p{font-size:.875rem;line-height:1.5;color:var(--muted);margin:3px 0 0}
.tool-followthrough .action-link{flex:none}
.hub-calculators{margin-top:12px;margin-bottom:44px}
.hub-calculators-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
.hub-calculators-heading h2{font-size:1.4rem;letter-spacing:-.025em;line-height:1.35;margin:0}
.calculator-index{padding-block:28px 55px}
.calculator-index .calculator-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.calculator-index .calculator-tile{min-height:116px;padding:22px;gap:18px}
.calculator-index .calculator-tile strong{font-size:1.05rem}
.calculator-index .calculator-tile small{font-size:.875rem}
.calculator-index .calculator-tile-art{width:48px;height:48px}
.calculator-index>p{font-size:1rem;color:var(--muted);margin-bottom:22px;max-width:670px}
/* A return route never depends on the browser's Back button. */
.journey-trail{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-block:8px 4px;min-height:44px}
.journey-trail a,.tool-bottom-return a{display:inline-flex;gap:8px;align-items:center;min-height:32px;font-size:.875rem;color:#315e80;text-underline-offset:4px}
.journey-trail a:hover,.tool-bottom-return a:hover{text-decoration:underline}
.journey-trail .calculator-return{margin-left:auto}
.tool-bottom-return{display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-block:20px 35px}
/* Compact tool pages: keep the essential fields and live estimate side by side. */
.tool-page .calculator-heading,.tool-page .purchase-planner-header{padding-block:8px 12px;margin:0 auto;gap:24px}
.tool-page .calculator-heading h1,.tool-page .purchase-planner-header h1{font-size:clamp(1.7rem,2.1vw,2.25rem);line-height:1.18;margin:0 0 6px}
.tool-page .calculator-heading p,.tool-page .purchase-planner-header p{font-size:.93rem;line-height:1.45;max-width:770px}
.tool-page .calculator-layout{gap:22px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);margin-block:0}
.tool-page .calculator-layout .calculator-form,.tool-page .calculator-layout>.calculator-result{padding:20px 22px}
.tool-page .calculator-form>.calculator-help{margin-bottom:12px;font-size:.8125rem}
.tool-page .calculator-form .form-grid{gap:12px 16px}
.tool-page .calculator-form .field>span{font-size:.875rem;line-height:1.35;min-height:2.7em}
.tool-page .calculator-form .calculator-hint{margin-top:12px;padding-top:10px;font-size:.8125rem}
.tool-page .calculator-form .choice{min-height:44px}
.tool-page .calculator-result>.eyebrow{font-size:.7rem;margin-bottom:6px}
.tool-page .calculator-result .result-value{font-size:clamp(2.1rem,3vw,3rem)}
.tool-page .calculator-result .result-description{margin:7px 0 11px;font-size:.875rem}
.tool-page .calculator-result .result-breakdown{margin:10px 0 0}
.tool-page .calculator-result .result-breakdown>div{padding:7px 0}
.tool-page .calculator-result .money-bar{margin:12px 0}
.tool-page .calculator-assumptions{margin-block:4px 0;padding-block:8px}
.tool-page .calculator-assumptions>p{max-width:900px;font-size:.9375rem}
.tool-page .planner-page-aside{padding-top:24px}
.planner-page .purchase-planner--full{padding:20px;border-radius:14px}
.purchase-planner--full .planner-body{gap:20px}
.purchase-planner--full .planner-form{gap:0 20px}
.purchase-planner--full .planner-monthly{padding-left:20px}
.purchase-planner--full .planner-group>legend{margin-bottom:10px;font-size:.9375rem}
.purchase-planner--full .planner-inputs{gap:10px 12px}
.purchase-planner--full .planner-inputs .field>span{line-height:1.35;min-height:2.7em}
.purchase-planner--full .planner-inputs .field>small{font-size:.75rem;line-height:1.4}
.purchase-planner--full .planner-rebates{margin-top:8px;padding-top:0}
.purchase-planner--full .planner-rebates legend{font-size:.8125rem;margin-bottom:6px}
.purchase-planner--full .planner-rebates .choice{font-size:.8125rem;min-height:30px}
.purchase-planner--full .planner-help{font-size:.75rem;line-height:1.45;margin-top:8px}
.purchase-planner--full .planner-output{padding:20px}
.purchase-planner--full .planner-totals{gap:14px}
.purchase-planner--full .planner-totals>div+div{padding-top:13px}
.purchase-planner--full .planner-total-number{font-size:clamp(1.9rem,2.6vw,2.5rem)}
.purchase-planner--full .planner-total-label{font-size:.8125rem;margin-bottom:5px}
.purchase-planner--full .planner-total-note{font-size:.75rem;margin-top:4px}
.purchase-planner--full .planner-quick-breakdown{margin-top:15px;padding-top:9px}
.purchase-planner--full .planner-quick-breakdown>div{font-size:.8125rem}
.purchase-planner--full .planner-breakdown{margin-top:10px;padding-top:9px}
.purchase-planner--full .planner-disclaimer{margin-top:12px;padding-top:10px;font-size:.75rem}
.purchase-planner--full .planner-error:empty{display:none}
/* Selling: one visible route, with optional depth alongside it. */
.seller-plan .seller-plan-intro{font-size:.875rem;color:#d8e6f1;line-height:1.6;margin:0 0 18px}
.seller-plan li>a{display:block;text-decoration:none;color:inherit;border-radius:5px}
.seller-plan li>a strong{display:flex;justify-content:space-between;gap:16px}
.seller-plan li>a .icon{width:20px;height:20px;flex:none;transition:transform .2s}
.seller-plan li>a:hover strong{text-decoration:underline;text-underline-offset:4px}
.seller-plan li>a:hover .icon{transform:translate(2px,-2px)}
.seller-plan li>a:focus-visible{outline:2px solid #c1e2fc;outline-offset:5px}
.selling-extra{border-bottom:1px solid #cbd9e4;padding-block:7px}
.selling-extra summary,.related-reading>summary,.worksheet-link>summary{cursor:pointer;min-height:44px;padding:11px 0;color:#123b5a;font-size:.94rem;line-height:1.5;font-weight:600}
.selling-extra summary:hover,.related-reading>summary:hover,.worksheet-link>summary:hover{text-decoration:underline;text-underline-offset:4px}
.selling-extra .article-row{padding:16px 0}
.selling-extra .article-row .resource-kicker{display:none}
.selling-progress{margin-block:12px 8px}
.selling-progress>p{display:flex;gap:14px;margin:0 0 10px;font-size:.72rem;letter-spacing:.12em;color:#536e84}
.selling-progress>p>span{font-weight:650;color:#163e5e;letter-spacing:.02em}
.selling-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;list-style:none}
.selling-progress a{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 13px;text-decoration:none;border:1px solid #c7d5e0;border-radius:9px;font-size:.875rem;color:#31566f;background:#f5f8fa}
.selling-progress a>span{font-size:.75rem;color:#53738b}
.selling-progress a[aria-current=step]{background:#103754;color:#fff;border-color:#103754}
.selling-progress a[aria-current=step]>span{color:#d3e8f8}
.selling-progress a:hover{border-color:#527f9f;text-decoration:underline;text-underline-offset:4px}
.selling-progress+.page-heading{padding-top:22px}
.selling-next{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:25px;border-top:1px solid #d3dfe8;padding-top:22px}
.selling-next .previous-step{font-size:.875rem;color:#315e80;text-underline-offset:4px}
.reading-aside>.reading-help{margin-block:10px 16px}
.reading-aside .worksheet-link{border-top:1px solid #d0dce5;padding-top:8px}
.reading-aside .worksheet-link>summary{font-size:.8125rem}
.reading-content>.related-reading{margin-top:25px;padding-top:10px;border-top:1px solid #d0dce5}
.related-reading>summary>span{font-size:.8rem;color:#5d7285;font-weight:400;margin-left:10px}
@media(min-width:1200px){.purchase-planner--full .planner-inputs .field>span{min-height:0}}
@media(min-width:1001px){
 .purchase-planner--full .planner-body{grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr)}
 .purchase-planner--full .planner-output{display:block}
 .purchase-planner--full .planner-totals{grid-template-columns:1fr}
 .purchase-planner--full .planner-totals>div+div{border-top:1px solid #ffffff35;padding-top:13px}
 .purchase-planner--full .planner-quick-breakdown{border:0;border-top:1px solid #ffffff35;margin-top:15px;padding:9px 0 0}
}
@media(min-width:1001px) and (max-width:1200px){
 .calculator-tile{padding:10px 8px;gap:7px}.calculator-tile-art{width:29px;height:29px}.calculator-tile-art .icon{width:20px;height:20px}
 .calculator-tile strong{font-size:.875rem}.calculator-rail--home .calculator-tile{display:block;min-height:120px}.calculator-rail--home .calculator-tile-art{margin:0 0 8px}
 .purchase-planner--full .planner-body,.purchase-planner--full .planner-form{gap:0 14px}
 .purchase-planner--full .planner-monthly{padding-left:14px}
 .purchase-planner--full .planner-inputs{gap:10px}
}
@media(max-width:1000px){
 .calculator-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
 .calculator-rail--home .calculator-tile{min-height:86px}
 .calculator-showcase-heading{gap:22px}
 .calculator-showcase-heading>p{max-width:300px}
 .tool-page .calculator-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .purchase-planner--full .planner-body{grid-template-columns:1fr;gap:20px}
 .purchase-planner--full .planner-totals>div+div{padding-top:0}
}
@media(max-width:780px){
 #calculators,#selling-plan{scroll-margin-top:95px}
 .calculator-showcase{padding-block:36px 12px}
 .calculator-showcase-heading{display:block}
 .calculator-showcase-heading>p{max-width:none;margin-top:14px;font-size:.9375rem}
 .calculator-showcase-heading h2{font-size:2.3rem}
 .tool-page .calculator-layout{grid-template-columns:1fr}
 .tool-page .calculator-layout>.calculator-result{order:0}
 .selling-progress ol{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hub-calculators-heading{display:block}
 .hub-calculators-heading>a{display:inline-block;margin-top:10px}
 .calculator-index .calculator-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .calculator-index .calculator-tile{padding:16px;gap:12px;min-height:120px}
 .calculator-index .calculator-tile-art{width:35px;height:35px}
 .calculator-index .calculator-tile strong{font-size:.94rem}
}
@media(max-width:600px){
 .calculator-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .calculator-tile{min-height:65px;padding:10px;font-size:.8125rem;gap:9px}
 .calculator-tile-art{width:30px;height:30px}.calculator-tile-art .icon{width:21px;height:21px}
 .calculator-rail--home .calculator-tile{padding:12px 10px;min-height:98px;align-items:center}
 .calculator-tile small{font-size:.75rem}
 .live-planner-caption{display:block}.live-planner-caption p{margin-top:7px}
 .tool-followthrough{align-items:flex-start;flex-direction:column;gap:12px}
 .tool-followthrough strong{font-size:1.25rem}.tool-followthrough .action-link{min-width:150px}
 .journey-trail{gap:0;padding-top:10px}.journey-trail a{min-height:38px;font-size:.8125rem}
 .journey-trail .calculator-return{margin:0;width:100%}
 .tool-page .calculator-heading,.tool-page .purchase-planner-header{padding-top:13px;display:block}
 .tool-page .tool-header-links,.tool-page .planner-header-actions{margin-top:10px}
 .tool-page .calculator-heading h1,.tool-page .purchase-planner-header h1{font-size:1.8rem}
 .tool-page .calculator-layout .calculator-form,.tool-page .calculator-layout>.calculator-result{padding:20px 16px}
 .purchase-planner--full .planner-form{gap:24px}
 .purchase-planner--full .planner-monthly{padding:20px 0 0}
 .purchase-planner--full .planner-rebates .choice{min-height:44px;font-size:.875rem}
 .purchase-planner--full .planner-output{padding:20px 16px}
 .purchase-planner--full .planner-total-number{font-size:clamp(1.65rem,6.7vw,2.3rem)}
 .purchase-planner--full .planner-help,.purchase-planner--full .planner-disclaimer{font-size:.8125rem}
 .selling-progress a{padding:10px;font-size:.875rem;gap:7px;line-height:1.5}
 .selling-next{align-items:flex-start;flex-direction:column;gap:14px}
 .tool-bottom-return{flex-direction:column;gap:4px}
 .calculator-index .calculator-tile{display:block}.calculator-index .calculator-tile-art{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){.calculator-tile,.seller-plan li>a .icon{transition:none}.calculator-tile:hover,.seller-plan li>a:hover .icon{transform:none}}
@media print{
 .calculator-rail,.selling-progress,.selling-next,.tool-followthrough,.tool-bottom-return,.calculator-return,.reading-help{display:none!important}
 .tool-page .calculator-layout{grid-template-columns:1fr 1fr}
 .purchase-planner--full .planner-body{display:block}
 .purchase-planner--full .planner-totals{grid-template-columns:1fr 1fr}
}

/* EverKey stylesheet: /calculator-workspace.css */
/* One compact working surface, shared by Mortgages and every calculator URL. */
#calculator-workspace{--site-header-height:88px;--tool-gap:12px;position:relative;scroll-margin-top:calc(var(--site-header-height) + 8px);color:var(--ink)}
#calculator-workspace [hidden]{display:none!important}
.workspace-anchor{position:absolute;top:0;left:0;scroll-margin-top:calc(var(--site-header-height) + 8px)}
#calculator-workspace .calculator-rail{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 12px}
#calculator-workspace .calculator-tile{height:48px;min-height:48px;padding:8px 10px;gap:8px;align-items:center;box-sizing:border-box;transform:none}
#calculator-workspace .calculator-tile-art{width:26px;height:26px;margin:0}
#calculator-workspace .calculator-tile-art .icon{width:20px;height:20px}
#calculator-workspace .calculator-tile strong{font-size:.875rem;line-height:1.3}
#calculator-workspace .calculator-tile:hover{transform:none}
.workspace-head{background:#fff;padding-bottom:4px}
#calculator-workspace .workspace-toolbar{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);align-items:center;gap:var(--tool-gap);min-height:44px}
#calculator-workspace .workspace-context{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#calculator-workspace .workspace-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#calculator-workspace :is(.workspace-consult,.workspace-print){display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#fff;cursor:pointer;min-height:44px;padding:7px 10px;font:inherit;font-size:.875rem;border:1px solid #879fb3;border-radius:8px;color:#254e70}
#calculator-workspace .workspace-consult{justify-content:center;text-decoration:none}
#calculator-workspace :is(.workspace-consult,.workspace-print):is(:hover,:focus-visible){background:#f0f5f9;border-color:#7296b3}
#calculator-workspace :is(.workspace-consult,.workspace-print):focus-visible{outline:2px solid #0869a6;outline-offset:3px}
#calculator-workspace .workspace-consult .icon{width:16px;height:16px;flex:none}
#calculator-workspace .workspace-title{font-size:1.125rem;font-weight:650;line-height:1.3;letter-spacing:-.025em;margin:0;min-width:0}
#calculator-workspace .workspace-title{align-self:center;padding-bottom:2px}
#calculator-workspace .workspace-live{flex:none;margin:0;color:var(--muted);font-size:.8125rem;line-height:1.4;max-width:none;text-align:center}
#calculator-workspace .workspace-print{flex:none;justify-self:end}
#calculator-workspace .workspace-print{margin-left:auto}
.workspace-share .icon{width:17px;height:17px;flex:none}
#calculator-workspace .workspace-share{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;min-width:44px;padding:7px 10px;border:1px solid #879fb3;border-radius:8px;background:#fff;color:#254e70;cursor:pointer;font:inherit;font-size:.875rem;white-space:nowrap}
#calculator-workspace .workspace-share:is(:hover,:focus-visible){background:#f0f5f9;border-color:#7296b3}
#calculator-workspace .workspace-share:focus-visible{outline:2px solid #0869a6;outline-offset:3px}
#calculator-workspace .workspace-context:has(.workspace-share-status:not([hidden])){flex-wrap:wrap}
#calculator-workspace .workspace-share-status{flex-basis:100%;margin:0;color:#375d75;font-size:.8125rem;line-height:1.4}
#calculator-workspace .estimate-share-link{width:100%;min-height:110px;font-size:.875rem;line-height:1.5;resize:vertical;overflow-wrap:anywhere}
@media screen and (max-width:1799px){#calculator-workspace .workspace-share>span{display:none}}
@media screen and (min-width:1200px) and (max-width:1599px){#calculator-workspace .workspace-actions .workspace-print>span{display:none}}
@media screen and (max-width:999px){
 #calculator-workspace.is-enhanced .workspace-share{grid-column:2;grid-row:3;margin:0;width:40px;min-width:40px;min-height:40px;padding:7px}
 #calculator-workspace.is-enhanced .workspace-actions .workspace-consult{grid-column:1}
 #calculator-workspace.is-enhanced .workspace-share-status{grid-column:1/-1;grid-row:4;padding-bottom:6px}
}
@media print{#calculator-workspace .workspace-share,#calculator-workspace .workspace-share-status{display:none!important}}
.workspace-print .icon{height:16px;width:16px}
.workspace-tool-picker{display:none}
#calculator-workspace .calculator-stage,#calculator-workspace .calculator-panel{height:auto;min-height:0;min-width:0;overflow:visible}
.calculator-panel{outline-offset:3px}
#calculator-workspace .calculator-layout{height:auto;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:var(--tool-gap);align-items:stretch;margin:0}
#calculator-workspace .calculator-form,#calculator-workspace .purchase-planner--full{padding:12px;border:1px solid #c6d9e7;border-radius:14px;background:linear-gradient(120deg,#f5f9fc,#eef4f8);margin:0;min-width:0;height:auto;max-height:none;overflow:visible}
#calculator-workspace .calculator-form{display:flex;flex-direction:column;box-sizing:border-box;min-height:var(--workspace-input-height,0px)}
#calculator-workspace .calculator-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
#calculator-workspace .field{gap:3px;min-width:0}
#calculator-workspace .field>span,#calculator-workspace .planner-inputs .field>span{font-size:.875rem;line-height:1.25;min-height:0}
#calculator-workspace .field>input,#calculator-workspace .field>select{height:38px;min-height:38px;max-height:none;padding:5px 9px;font-size:1rem;line-height:1.4;box-sizing:border-box;font-variant-numeric:tabular-nums;flex:none}
#calculator-workspace .field>small{font-size:.8125rem;line-height:1.35}
#calculator-workspace .calculator-hint{font-size:.875rem;line-height:1.45;padding-top:8px;margin:0;border-top:1px solid #d2dfea}
#calculator-workspace .form-error,#calculator-workspace .planner-error{font-size:.875rem;line-height:1.4;margin:0;grid-column:1/-1}
#calculator-workspace .form-error:empty,#calculator-workspace .planner-error:empty{display:none}
#calculator-workspace .field>.field-error{font-size:.8125rem;font-weight:400;line-height:1.35;color:#9c2e2e;min-height:0}
#calculator-workspace .is-inline-announcement{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#calculator-workspace .calculator-result{position:static;display:flex;flex-direction:column;box-sizing:border-box;border:1px solid #274e6b;border-radius:14px;background:linear-gradient(135deg,#09253f,#154666);padding:16px 20px;min-height:var(--workspace-result-height,0px);height:auto;max-height:none;overflow:visible;align-self:stretch;box-shadow:0 5px 14px #16354d0a}
#calculator-workspace .calculator-result .eyebrow{font-size:.8125rem;line-height:1.4;letter-spacing:.06em;margin:0 0 5px}
#calculator-workspace .calculator-result .result-value{font-size:2.4rem;line-height:1.1;overflow-wrap:anywhere}
#calculator-workspace .calculator-result .result-description{font-size:.875rem;line-height:1.45;max-width:none;margin:7px 0 9px}
#calculator-workspace .calculator-result .money-bar{height:6px;margin:10px 0}
#calculator-workspace .calculator-result .result-breakdown{margin:8px 0 0}
#calculator-workspace .calculator-result .result-breakdown>div{padding:5px 0;gap:12px}
#calculator-workspace .result-breakdown dt,#calculator-workspace .result-breakdown dd{font-size:.875rem;line-height:1.4}
#calculator-workspace .calculator-result .result-next{display:inline-block;color:#e4f3ff;font-size:.875rem;line-height:1.4;text-decoration:underline;text-underline-offset:3px;margin-top:10px}
#calculator-workspace .choice-field legend{font-size:.875rem;line-height:1.4;margin-bottom:6px}
#calculator-workspace .choice{font-size:.875rem;line-height:1.4;min-height:36px;margin:0;gap:8px;align-items:center;padding-block:4px}
#calculator-workspace .choice input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0}
#calculator-workspace .planner-page{height:auto;margin:0}
#calculator-workspace .purchase-planner--full{display:block;padding:0;border:0;background:none;box-shadow:none}
#calculator-workspace .planner-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:var(--tool-gap);align-items:stretch;min-height:0}
#calculator-workspace .planner-form{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:var(--workspace-input-height,0px);padding:18px;border:1px solid #c6d9e7;border-radius:14px;background:linear-gradient(120deg,#f5f9fc,#eef4f8)}
#calculator-workspace .planner-form{align-items:stretch;gap:0}
#calculator-workspace .planner-all,#calculator-workspace .planner-rebates{inline-size:100%;box-sizing:border-box}
#calculator-workspace .planner-group{margin:0;padding:0;border:0;min-inline-size:0}
#calculator-workspace .planner-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px}
#calculator-workspace .planner-all{margin-bottom:16px}
#calculator-workspace .planner-rebates{display:block;margin:auto 0 0;padding:0;border:0;min-inline-size:0}
#calculator-workspace .planner-rebate-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px}
#calculator-workspace .planner-rebates .choice{font-size:.875rem;min-height:32px;padding:2px 0;margin:0;align-items:center}
#calculator-workspace .planner-rebates .planner-help{grid-column:1/-1}
#calculator-workspace .planner-help{font-size:.8125rem;line-height:1.4;margin:6px 0 0}
#calculator-workspace .planner-output{margin:0;padding:16px 20px;border:1px solid #274e6b;border-radius:14px;background:linear-gradient(135deg,#09253f,#154666);box-shadow:0 5px 14px #16354d0a;box-sizing:border-box;min-width:0;min-height:var(--workspace-result-height,0px);height:auto;max-height:none;overflow:visible;display:flex;flex-direction:column}
#calculator-workspace .planner-output[data-stale=true]{background:#42576b}
#calculator-workspace [data-purchase-output]{display:flex;flex-direction:column;flex:1}
#calculator-workspace .planner-totals{display:grid;grid-template-columns:1fr;gap:10px}
#calculator-workspace .planner-totals>div+div{border-top:1px solid #ffffff35;padding-top:10px}
#calculator-workspace .planner-total-label{font-size:.875rem;line-height:1.35;margin-bottom:4px}
#calculator-workspace .planner-total-number{font-size:2.15rem;line-height:1.1;overflow-wrap:anywhere}
#calculator-workspace .planner-total-note{font-size:.875rem;line-height:1.4;margin-top:4px}
#calculator-workspace .planner-quick-breakdown{display:block;border:0;border-top:1px solid #ffffff35;margin:10px 0 0;padding:7px 0 0}
#calculator-workspace .planner-quick-breakdown>div{font-size:.875rem;line-height:1.4;padding:4px 0;gap:6px}
#calculator-workspace .planner-breakdown{margin:auto 0 0;padding:12px 0 0;border:0}
#calculator-workspace.has-dialog .planner-breakdown{display:none}
#calculator-workspace .planner-breakdown>summary{font-size:.875rem;line-height:1.4;min-height:44px;padding:9px 11px;white-space:normal}
#calculator-workspace .planner-disclaimer{font-size:.875rem;line-height:1.4;padding-top:8px;margin:8px 0 0}
#calculator-workspace .tool-followthrough{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:44px;margin:0;padding:4px 0;border:0;box-sizing:border-box}
.workspace-next{display:flex;align-items:center;gap:12px}
.workspace-next>span{font-size:.875rem;color:var(--muted)}
#calculator-workspace .tool-followthrough .action-link{font-size:.875rem;min-height:40px;padding:8px 12px;white-space:nowrap}
.workspace-notes .calculator-assumptions{margin-top:12px}
#calculator-workspace.is-enhanced.has-dialog .workspace-notes{display:none}
#calculator-workspace .estimate-actions{margin-top:10px;padding-top:8px;border-top:1px solid #ffffff35}
#calculator-workspace .result-footer{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px;margin-top:auto;padding-top:12px}
#calculator-workspace.has-dialog .planner-output .result-footer{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
#calculator-workspace .result-footer>.estimate-actions{display:flex;min-width:0;margin:0;padding:0;border:0}
#calculator-workspace .estimate-help,#calculator-workspace .result-details{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-height:38px;padding:6px 10px;font:inherit;font-size:.875rem;line-height:1.35;white-space:normal;color:#163b56;background:linear-gradient(120deg,#fff,#e5eff6);border:1px solid #c8dbe9;border-radius:9px;box-shadow:inset 0 1px #fff;cursor:pointer}
#calculator-workspace .estimate-help .icon{width:15px;height:15px;flex:none}
#calculator-workspace .result-footer .estimate-help,#calculator-workspace .result-footer .result-details{width:100%;min-width:0;box-sizing:border-box}
#calculator-workspace .result-details{display:none}
#calculator-workspace.has-dialog .result-details{display:inline-flex}
@media(min-width:1000px) and (max-width:1199px){
 #calculator-workspace{--tool-gap:12px}
 #calculator-workspace .calculator-tile{padding:7px;gap:6px}
 #calculator-workspace .calculator-tile-art{display:none}
}
@media(max-width:999px){
 #calculator-workspace.is-enhanced .calculator-rail{display:none}
 #calculator-workspace.is-enhanced .workspace-tool-picker{display:block;margin:0 0 6px}
 .workspace-tool-picker select{width:100%;height:44px;padding:8px 12px;border:1px solid #879fb3;border-radius:9px;background:#edf4fa;color:#123c5c;font:inherit;font-size:1rem;font-weight:650}
 #calculator-workspace .workspace-head{position:static;padding:0 0 4px;border:0}
 #calculator-workspace .workspace-toolbar{grid-template-columns:1fr;min-height:44px;gap:8px}
 #calculator-workspace .workspace-title{flex:1 1 65%;font-size:1rem;line-height:1.3}
 #calculator-workspace .workspace-live{display:none}
 #calculator-workspace .workspace-print{min-height:36px;min-width:36px;padding:7px;margin-left:auto}
 #calculator-workspace .workspace-print>span{display:none}
 #calculator-workspace .calculator-layout,#calculator-workspace .planner-body{grid-template-columns:1fr;gap:8px}
 #calculator-workspace .calculator-form,#calculator-workspace .planner-form{padding:12px}
 #calculator-workspace .calculator-result,#calculator-workspace .planner-output{padding:10px 12px}
 #calculator-workspace .field>input,#calculator-workspace .field>select{height:40px;min-height:40px;font-size:1rem}
 #calculator-workspace .choice{min-height:30px}
 #calculator-workspace .planner-totals{grid-template-columns:1fr 1fr;gap:10px}
 #calculator-workspace .planner-totals>div+div{border:0;padding:0}
 #calculator-workspace .planner-total-number{font-size:clamp(1.25rem,4.8vw,1.7rem)}
 #calculator-workspace .planner-disclaimer{font-size:.8125rem}
 #calculator-workspace .workspace-next>span{display:none}
 #calculator-workspace .tool-followthrough{min-height:44px;padding:4px 0}
 #calculator-workspace .calculator-result .result-value{font-size:2.1rem}
 #calculator-workspace .calculator-result .estimate-help .icon{display:none}
}
@media(max-width:999px) and (max-height:600px){
 #calculator-workspace .calculator-result .result-value{font-size:1.8rem}
 #calculator-workspace .calculator-result .result-description{margin-block:5px}
 #calculator-workspace .planner-total-note{font-size:.8125rem}
}
.workspace-dialog{position:fixed;inset:0;max-width:calc(100vw - 28px);width:960px;max-height:calc(100svh - 28px);margin:auto;border:1px solid #bacddc;border-radius:16px;padding:0;background:#f9fcff;color:#102f49;box-shadow:0 24px 90px #031d4266;overflow:auto}
.workspace-dialog::backdrop{background:#061d37a8;backdrop-filter:blur(3px)}
.workspace-dialog>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#f9fcff;border-bottom:1px solid #d6e2eb;z-index:1}
.workspace-dialog h2{font-size:1.125rem;line-height:1.3;margin:0}
.workspace-dialog [data-workspace-close]{font-size:.875rem;padding:10px 16px;min-height:44px;cursor:pointer}
.workspace-dialog-body{padding:12px 18px 18px;font-size:.875rem;line-height:1.45}
.workspace-dialog-body p{margin:0 0 8px;break-inside:avoid}
.workspace-dialog-body h3{font-size:1rem;line-height:1.35;margin:0 0 7px}
.workspace-dialog-body dl{margin:0}
.workspace-dialog-body dl>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #dbe5ed;padding:4px 0}
.workspace-dialog-body dt{min-width:0;color:inherit}
.workspace-dialog-body dd{margin:0;max-width:46%;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.workspace-dialog-body .result-value{font-size:1.75rem;line-height:1.1;margin:0 0 8px}
.workspace-dialog-body .result-description{color:#375870;font-size:.875rem;line-height:1.4;margin:0 0 8px}
.workspace-dialog-body .result-next{display:block;margin-top:8px;color:#14577e;font-size:.875rem}
.workspace-dialog-body .reference-link,.workspace-dialog-body .source-note{font-size:.8125rem;line-height:1.4}
.workspace-dialog-body .money-bar{height:6px;margin:8px 0}
.workspace-dialog[data-kind=purchase-details] .workspace-dialog-body{display:grid;grid-template-columns:1fr;gap:14px 20px}
.workspace-dialog[data-kind=purchase-details] .workspace-dialog-body>p{grid-column:1/-1}
.workspace-dialog-body .planner-detail-group{min-width:0;margin:0}
.workspace-dialog[data-kind=eligibility]{width:760px}
.eligibility-checks{margin:10px 0;padding-left:20px}
.eligibility-checks li{margin:0 0 7px;break-inside:avoid}
.eligibility-lede{padding:10px 12px;background:#eaf2f8;border-radius:8px}
.eligibility-note{color:#476176;font-size:.8125rem}
/* Read each explanation across the page: a short lead, balanced labelled
   groups, then its references. Newspaper columns stranded the short lead. */
.estimate-method-intro{padding:10px 13px;border-left:2px solid #9ebed0;background:linear-gradient(100deg,#eaf3f9,#f9fcff);border-radius:0 8px 8px 0;color:#31556d}
.estimate-method-grid{display:grid;grid-template-columns:1fr;gap:12px 22px;margin:12px 0}
.estimate-method-group{min-width:0;padding:0 0 0 12px;border-left:1px solid #d3e2ec}
.estimate-method-group h3{color:#245777;font-size:.9375rem;line-height:1.35;margin:0 0 6px}
.estimate-method-group p{margin:0}
.estimate-method-note{padding-top:9px;border-top:1px solid #dae5ed;color:#496579}
.estimate-method-grid+.source-note,.estimate-method-note+.source-note{padding-top:4px;margin-bottom:0}
/* Explicit paragraph rhythm prevents the page-wide 1rem/1.8 prose rule from
   making these compact explanations taller than their dialog body. */
.workspace-dialog:is([data-kind=assumptions],[data-kind=eligibility]) .workspace-dialog-body p{font-size:.875rem;line-height:1.45}
.workspace-dialog:is([data-kind=assumptions],[data-kind=eligibility]) .workspace-dialog-body :is(.source-note,.eligibility-note){font-size:.8125rem;line-height:1.4}
@media screen and (min-width:901px){
 .workspace-dialog:is([data-kind=assumptions],[data-kind=purchase-details]){width:min(1120px,calc(100vw - 40px))}
 .workspace-dialog[data-kind=eligibility]{width:min(920px,calc(100vw - 40px))}
 .workspace-dialog .estimate-method-grid{gap:14px 26px;margin:10px 0}
 .workspace-dialog .estimate-method-group{padding-left:14px}
 .workspace-dialog .estimate-method-group h3{margin-bottom:5px}
}
@media(min-width:700px){
 .workspace-dialog[data-kind=purchase-details] .workspace-dialog-body{grid-template-columns:repeat(2,minmax(0,1fr))}
 .estimate-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:920px){
 .workspace-dialog[data-kind=purchase-details] .workspace-dialog-body{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-height:650px){
 .workspace-dialog>header{padding:7px 16px}
 .workspace-dialog-body{padding:10px 16px 14px;line-height:1.35}
 .workspace-dialog-body dl>div{padding:3px 0}
 .workspace-dialog-body p{margin-bottom:6px}
}
@media print{
 .printing-calculator main>:not(:has([data-calculator-workspace])),.printing-calculator .calculator-showcase-heading,.printing-calculator .tool-page>:not(:has([data-calculator-workspace])){display:none!important}
 .printing-calculator .calculator-showcase{padding:0;width:100%;max-width:none}
 #calculator-workspace .calculator-stage,#calculator-workspace .calculator-panel,#calculator-workspace .planner-page,#calculator-workspace .purchase-planner--full{height:auto;min-height:0;overflow:visible}
 #calculator-workspace.is-enhanced .workspace-notes{display:block}
 #calculator-workspace.is-enhanced .calculator-panel:not([hidden]) .calculator-form,#calculator-workspace.is-enhanced .calculator-panel:not([hidden]) .calculator-result,#calculator-workspace.is-enhanced .calculator-panel:not([hidden]) .planner-form,#calculator-workspace.is-enhanced .calculator-panel:not([hidden]) .planner-output{display:block!important}
 #calculator-workspace .workspace-head{position:static}
 #calculator-workspace .calculator-layout{display:block}
 #calculator-workspace .calculator-result{margin-top:15px}
}
/* All entries stay together; density only reduces whitespace and supporting detail. */
#calculator-workspace .planner-all{min-width:0}
#calculator-workspace .planner-group>legend,#calculator-workspace .planner-rebates>legend{font-size:.875rem;line-height:1.3;font-weight:650;color:#18394f;margin:0 0 6px;padding:0}
#calculator-workspace .planner-budget-note{margin-top:5px}
#calculator-workspace .calculator-form[data-calculator=insurance] .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#calculator-workspace .field>small{font-size:.8125rem;line-height:1.25}
#calculator-workspace .choice-field{min-inline-size:0;padding:7px 0 0;margin:3px 0 0;border:0;border-top:1px solid #cfdfeb}
#calculator-workspace .calculator-form[data-calculator=land-transfer-tax] .choice-field{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#calculator-workspace .calculator-form[data-calculator=land-transfer-tax] .choice-field legend{margin:0 0 4px}
#calculator-workspace .planner-rebates .planner-help{margin:6px 0 0}
#calculator-workspace .planner-breakdown>summary{min-height:38px;padding:7px 10px}
#calculator-workspace .calculator-hint{margin-top:8px}
#calculator-workspace[data-density=tight] .field>input,#calculator-workspace[data-density=tight] .field>select{height:36px;min-height:36px;padding:4px 8px}
#calculator-workspace[data-density=tight] .planner-inputs,#calculator-workspace[data-density=tight] .calculator-form .form-grid{gap:5px 10px}
#calculator-workspace.has-dialog[data-density=tight] .field>small{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#calculator-workspace[data-density=tight] .planner-all{margin-bottom:12px}
#calculator-workspace[data-density=tight] .planner-help{font-size:.8125rem;line-height:1.25}
#calculator-workspace[data-density=tight] .planner-rebates .choice{min-height:28px;font-size:.875rem;line-height:1.25;padding-block:0}
#calculator-workspace[data-density=tight] .calculator-result .result-description{margin:4px 0;font-size:.875rem;line-height:1.3}
#calculator-workspace[data-density=tight] .planner-total-note{font-size:.8125rem;line-height:1.25}
#calculator-workspace[data-density=tight] .tool-followthrough{min-height:38px;padding:2px 0}
@media(max-width:999px){
 #calculator-workspace.is-enhanced .workspace-head{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:4px 6px;align-items:center}
 #calculator-workspace.is-enhanced .workspace-tool-picker{grid-column:1;grid-row:1;margin:0}
 #calculator-workspace.is-enhanced .workspace-tool-picker select{height:40px;padding:5px 10px}
 #calculator-workspace.is-enhanced .workspace-toolbar,#calculator-workspace.is-enhanced .workspace-context,#calculator-workspace.is-enhanced .workspace-actions{display:contents}
 #calculator-workspace.is-enhanced .workspace-consult{grid-column:1/-1;grid-row:3;justify-self:start;margin-bottom:2px}
 #calculator-workspace.is-enhanced .workspace-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #calculator-workspace.is-enhanced .workspace-print{grid-column:2;grid-row:1;min-height:40px;width:40px;margin:0}
 #calculator-workspace.is-enhanced .workspace-live{display:block;grid-column:1/-1;grid-row:2;margin:0;text-align:left;font-size:.8125rem;line-height:1.3}
 #calculator-workspace .planner-inputs,#calculator-workspace .calculator-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
 #calculator-workspace .planner-group>legend{margin-bottom:5px}
 #calculator-workspace .planner-rebate-options,#calculator-workspace .calculator-form[data-calculator=land-transfer-tax] .choice-field{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px}
 #calculator-workspace .planner-rebates>legend{font-size:.8125rem;margin-bottom:3px}
 #calculator-workspace .planner-all{margin-bottom:12px}
 #calculator-workspace .planner-rebates .choice{min-height:30px;line-height:1.25}
 #calculator-workspace .planner-total-label{font-size:.875rem;line-height:1.25}
 #calculator-workspace .planner-total-note{font-size:.8125rem;line-height:1.25}
 #calculator-workspace .planner-totals{gap:8px}
 #calculator-workspace .planner-output>.estimate-actions{margin-top:5px;padding-top:5px}
 #calculator-workspace .planner-breakdown{margin-top:auto;padding-top:8px}
 #calculator-workspace .planner-breakdown>summary{font-size:.875rem;min-height:36px;padding:5px 9px}
 #calculator-workspace .planner-output .estimate-help .icon{display:none}
 #calculator-workspace .workspace-next>span{display:none}
}
@media print{
 #calculator-workspace .calculator-rail,#calculator-workspace .workspace-print,#calculator-workspace .workspace-tool-picker,#calculator-workspace .workspace-dialog,#calculator-workspace .estimate-actions,#calculator-workspace .result-details{display:none!important}
 #calculator-workspace .workspace-head{display:block!important}
 #calculator-workspace .workspace-title,#calculator-workspace .field>small,#calculator-workspace .planner-budget-note{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;white-space:normal!important;overflow:visible!important;margin:0 0 5px!important}
 #calculator-workspace .planner-disclaimer,#calculator-workspace .calculator-hint{display:block!important}
}

/* The planner keeps its compact grid; the smaller forms have room for calmer spacing. */
#calculator-workspace .planner-inputs{gap:12px 14px}
#calculator-workspace .planner-inputs .field>input{height:40px;min-height:40px}
#calculator-workspace[data-density=tight] .planner-inputs{gap:9px 12px}
#calculator-workspace[data-density=tight] .planner-inputs .field>input{height:38px;min-height:38px}
#calculator-workspace .calculator-form{padding:18px}
#calculator-workspace .calculator-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
#calculator-workspace .calculator-form .field{gap:6px}
#calculator-workspace .calculator-form .field>span{line-height:1.35}
#calculator-workspace .calculator-form .field>input,#calculator-workspace .calculator-form .field>select{height:44px;min-height:44px;padding:8px 11px}
#calculator-workspace .calculator-form .choice-field{padding-top:12px;margin-top:4px}
#calculator-workspace .calculator-form[data-calculator=land-transfer-tax] .choice-field{grid-template-columns:1fr;gap:8px}
#calculator-workspace .calculator-form .calculator-hint{margin-top:auto;padding-top:12px}
#calculator-workspace[data-density=tight] .calculator-form{padding:12px}
#calculator-workspace[data-density=tight] .planner-form{padding:12px}
#calculator-workspace[data-density=tight] .calculator-form .form-grid{gap:8px 12px}
#calculator-workspace[data-density=tight] .calculator-form .field{gap:4px}
#calculator-workspace[data-density=tight] .calculator-form .field>input,#calculator-workspace[data-density=tight] .calculator-form .field>select{height:38px;min-height:38px;padding:5px 9px}
@media(max-width:999px){
 #calculator-workspace .planner-inputs{gap:9px 12px}
 #calculator-workspace .calculator-form,#calculator-workspace .planner-form{padding:14px}
 #calculator-workspace .calculator-form .form-grid{gap:12px 14px}
 #calculator-workspace .calculator-form .field>input,#calculator-workspace .calculator-form .field>select{height:42px;min-height:42px}
}

/* Hidden tools are measured synchronously at the same width, without revealing them. */
#calculator-workspace.is-measuring .calculator-stage{position:relative}
#calculator-workspace.is-measuring .calculator-panel[hidden]{display:block!important;position:absolute;inset:0 auto auto 0;inline-size:100%;visibility:hidden;pointer-events:none}
#calculator-workspace.is-measuring .calculator-form,#calculator-workspace.is-measuring .planner-form,#calculator-workspace.is-measuring .calculator-result,#calculator-workspace.is-measuring .planner-output{min-height:0}
@media print{
 #calculator-workspace .calculator-form,#calculator-workspace .planner-form,#calculator-workspace .calculator-result,#calculator-workspace .planner-output{min-height:0!important;height:auto!important}
 #calculator-workspace .result-footer{display:none!important}
 #calculator-workspace.has-dialog .planner-breakdown{display:block!important}
}

/* Full-width inputs with consistent, reachable number controls. */
#calculator-workspace .field-label{font-size:.875rem;line-height:1.35;font-weight:650;color:var(--ink)}
#calculator-workspace .field>.number-control{display:flex;align-items:stretch;inline-size:100%;min-inline-size:0;height:48px;min-height:48px;border:1px solid #718b9f;border-radius:8px;overflow:hidden;background:#fff;box-sizing:border-box}
#calculator-workspace .number-control>input{display:block;flex:1 1 0;min-width:0;width:0;height:100%;min-height:0;padding:7px 10px;border:0;border-radius:0;box-sizing:border-box;font:inherit;font-size:1rem;line-height:1.4;font-weight:400;font-variant-numeric:tabular-nums;box-shadow:none}
#calculator-workspace .number-control.has-steps>input{appearance:textfield;-moz-appearance:textfield}
#calculator-workspace .number-control.has-steps>input::-webkit-inner-spin-button,#calculator-workspace .number-control.has-steps>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#calculator-workspace .number-control:focus-within{outline:2px solid #127abb;outline-offset:2px}
#calculator-workspace .number-control>input:focus{outline:0;border:0}
#calculator-workspace .number-control:has(input[aria-invalid=true]){border-color:#9c2e2e}
#calculator-workspace .number-steps{display:grid;grid-template-rows:1fr 1fr;flex:0 0 36px;border-left:1px solid #bed0de}
#calculator-workspace .number-steps button{min-width:36px;min-height:24px;height:100%;border:0;padding:0;background:#e5eef6;color:#174c71;font:inherit;font-size:.8125rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
#calculator-workspace .number-steps button+button{border-top:1px solid #bed0de}
#calculator-workspace .number-steps button:hover{background:#d2e3f0}
#calculator-workspace .number-steps button:focus-visible{outline:2px solid #127abb;outline-offset:-3px}
#calculator-workspace .number-steps button:disabled{color:#7890a3;background:#f0f4f7;cursor:default}
#calculator-workspace .calculator-tile{position:relative;display:flex;justify-content:center;text-align:center;min-width:0;height:auto;min-height:48px}
#calculator-workspace .calculator-tile-art{position:absolute;left:8px;top:50%;transform:translateY(-50%)}
#calculator-workspace .calculator-tile>span:last-child{display:block;min-width:0;width:100%;padding-inline:24px;box-sizing:border-box}
#calculator-workspace .calculator-tile strong{display:block;text-align:center}
@media(min-width:1000px) and (max-width:1199px){#calculator-workspace .calculator-tile>span:last-child{padding-inline:0}}

/* The main next step belongs with the estimate, rather than below the frame. */
@media (min-width: 1000px) and (max-width: 1199px) {
 #calculator-workspace .workspace-actions .workspace-print { min-width:44px; justify-content:center; }
 #calculator-workspace .workspace-actions .workspace-print > span { display:none; }
}
@media print {
 #calculator-workspace .workspace-consult { display:none!important; }
}

/* Keep complete amounts readable instead of squeezing two fields across a phone. */
@media screen and (max-width:600px) {
 #calculator-workspace .planner-inputs,
 #calculator-workspace .calculator-form[data-calculator] .form-grid {
  grid-template-columns:minmax(0,1fr);
 }
}

/* Full-height controls for small screens and touch tablets. The desktop layout
   and print sheet retain their existing dimensions. */
@media screen and (max-width:600px), screen and (max-width:999px) and (pointer:coarse) {
 #calculator-workspace .number-steps {
  grid-template-columns:repeat(2,minmax(44px,1fr));
  grid-template-rows:1fr;
  flex-basis:90px;
 }
 #calculator-workspace .number-steps button { min-width:44px;min-height:44px; }
 #calculator-workspace .number-steps button+button { border-top:0;border-left:1px solid #bed0de; }
}

/* Property choice and linked down-payment figures share the existing calm surface. */
.planner-property-type{display:flex;align-items:center;gap:14px;margin:0 0 14px;font-size:.875rem;color:#365f79}
.planner-property-type>select{font:inherit;border:1px solid #aac3d4;border-radius:22px;padding:8px 16px;background:#fff;color:#193f59}
.property-type-toggle{display:inline-flex;padding:3px;border:1px solid #bed1df;border-radius:24px;background:#e5eef5;gap:3px}
.property-type-toggle button{font:inherit;font-size:.8125rem;font-weight:650;letter-spacing:.055em;text-transform:uppercase;min-height:36px;padding:7px 19px;border:0;border-radius:20px;color:#456479;background:transparent;cursor:pointer;transition:background .18s,box-shadow .18s,color .18s}
.property-type-toggle button[aria-pressed=true]{background:#fff;color:#123f61;box-shadow:0 2px 9px #143e6120}
.property-type-toggle button:hover{color:#0869a6;box-shadow:0 0 14px #75b3d52b}
.property-type-toggle button:focus-visible{outline:2px solid #247eae;outline-offset:2px}
#calculator-workspace .planner-down-pair{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(150px,1.3fr);gap:12px;grid-column:span 2;min-width:0}
#calculator-workspace .planner-down-pair .field{margin:0}
#calculator-workspace .planner-condo-note{font-size:.8125rem;line-height:1.4;color:#466479;margin:10px 0 0;max-width:75ch}
#calculator-workspace .planner-total-label{max-width:30ch}
@media(max-width:999px){#calculator-workspace .planner-down-pair{grid-column:1/-1}.planner-property-type{flex-wrap:wrap;gap:8px}.property-type-toggle button{min-height:42px}}
@media(max-width:390px){#calculator-workspace .planner-down-pair{grid-template-columns:minmax(85px,.7fr) minmax(0,1.3fr);gap:8px}}

@media(max-width:600px){#calculator-workspace .planner-down-pair{grid-template-columns:minmax(0,1fr);gap:9px}}

/* A calculated premium belongs beside the financing inputs, with a clear explanation. */
#calculator-workspace .planner-cmhc>output{display:flex;align-items:center;min-height:48px;box-sizing:border-box;padding:7px 10px;border:1px solid #b6ccd9;border-radius:8px;background:#e5eff6;color:#163f5c;font-size:1rem;font-weight:650;font-variant-numeric:tabular-nums}
#calculator-workspace .planner-cmhc>small{color:#466479}
#calculator-workspace .planner-cmhc .reference-link{display:inline-block}
#calculator-workspace.has-dialog[data-density=tight] .planner-cmhc>small{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}
#calculator-workspace .workspace-dialog[data-kind=cmhc]{width:960px}
#calculator-workspace .workspace-dialog[data-kind=cmhc]>header{padding:16px 24px}
#calculator-workspace .workspace-dialog[data-kind=cmhc] .workspace-dialog-body{padding:18px 24px 22px;line-height:1.5}
#calculator-workspace .workspace-dialog[data-kind=cmhc] p{margin:0;line-height:1.5}
#calculator-workspace .workspace-dialog[data-kind=cmhc] h3{margin:0 0 7px;font-size:1.05rem}
#calculator-workspace .workspace-dialog[data-kind=cmhc] dl>div{padding:5px 0}
.cmhc-explanation{display:grid;gap:12px}
.workspace-dialog-body .cmhc-explanation p{margin:0}
.cmhc-rates{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:inherit}
.cmhc-rates th,.cmhc-rates td{padding:6px 10px;text-align:left;border-bottom:1px solid #d6e3ec}
.cmhc-rates th{background:#e6eff6;color:#234c68;font-weight:650}
.cmhc-rates td:last-child,.cmhc-rates th:last-child{text-align:right}
.cmhc-example{padding:12px 16px;border:1px solid #c9dbe7;border-radius:12px;background:linear-gradient(115deg,#edf5fa,#f7fafc)}
.cmhc-example dl>div:last-child{border-bottom:0}
.cmhc-scope,.cmhc-explanation .source-note{font-size:.8125rem;line-height:1.45;color:#466479}
@media(max-width:600px){.cmhc-example{padding:10px}.cmhc-example dl>div{display:block}.cmhc-example dd{max-width:none;text-align:left;margin-top:2px}.cmhc-rates th,.cmhc-rates td{padding:6px}}

/* Short, scannable cost references stay separate from the purchase inputs. */
#calculator-workspace [data-purchase-cost-guide]{display:inline-block}
#calculator-workspace .planner-expense-link{margin:12px 0 0;font-size:.875rem;line-height:1.4}
#calculator-workspace .planner-expense-exclusion{margin:8px 0 10px;color:#dceaf3;font-size:.8125rem;line-height:1.4}
#calculator-workspace .workspace-dialog[data-kind=purchase-costs]{width:960px}
#calculator-workspace .workspace-dialog[data-kind=purchase-costs]>header{padding:16px 24px}
#calculator-workspace .workspace-dialog[data-kind=purchase-costs] .workspace-dialog-body{padding:18px 24px 22px;line-height:1.45}
#calculator-workspace .purchase-cost-guide{display:grid;gap:12px}
#calculator-workspace .purchase-cost-guide p{margin:0;line-height:1.45}
#calculator-workspace .purchase-cost-guide dl{margin:0}
#calculator-workspace .purchase-cost-guide dl>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:8px 0;border-bottom:1px solid #d6e3ec}
#calculator-workspace .purchase-cost-guide dt{font-weight:650;color:#204b68}
#calculator-workspace .purchase-cost-guide dt>small{display:block;font-weight:400;font-size:.8125rem;line-height:1.4;color:#49677c;margin-top:3px}
#calculator-workspace .purchase-cost-guide dd{margin:0;max-width:none;white-space:nowrap;text-align:right;color:#163f5c;font-weight:650;font-variant-numeric:tabular-nums}
#calculator-workspace .purchase-cost-guide .cost-guide-total{display:flex;justify-content:space-between;gap:16px;padding:10px 14px;border-radius:10px;background:#e8f1f7;color:#204b68}
#calculator-workspace .purchase-cost-guide .cost-guide-note,#calculator-workspace .purchase-cost-guide .source-note{font-size:.8125rem;line-height:1.45;color:#49677c}
@media(max-width:600px){
 #calculator-workspace .workspace-dialog[data-kind=purchase-costs]>header{padding:14px 16px}
 #calculator-workspace .workspace-dialog[data-kind=purchase-costs] .workspace-dialog-body{padding:14px 16px 18px}
 #calculator-workspace .purchase-cost-guide dl>div{gap:8px;grid-template-columns:minmax(0,1fr)}
 #calculator-workspace .purchase-cost-guide dd{text-align:left;font-size:.9375rem}
}
/* Cost help is interactive, so it must remain visible even in short windows. */
#calculator-workspace.has-dialog[data-density=tight] .field>small[id$="-closing-note"]{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal}

/* A live marginal-tax calculation occupies the unused input-side space. */
#calculator-workspace .land-tax-formula{margin-top:14px;padding-top:12px;border-top:1px solid #c9dbe7;color:#2a506b;font-size:.8125rem;line-height:1.4}
#calculator-workspace .land-tax-formula h3{margin:0 0 5px;font-size:1rem;letter-spacing:-.02em;color:#163f5c}
#calculator-workspace .land-tax-formula p{font-size:inherit;line-height:1.4;margin:5px 0 8px}
#calculator-workspace .land-tax-formula table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;margin:8px 0}
#calculator-workspace .land-tax-formula th,#calculator-workspace .land-tax-formula td{padding:5px 8px;text-align:left;border-bottom:1px solid #d6e3ec;overflow-wrap:anywhere}
#calculator-workspace .land-tax-formula th{font-weight:600}
#calculator-workspace .land-tax-formula thead{background:#e3eef5;color:#244d68}
#calculator-workspace .land-tax-formula .tax-formula-total{padding:8px 10px;background:#e5eff6;border-radius:9px}
#calculator-workspace .land-tax-formula .tax-formula-source{font-size:.75rem;color:#476980;margin-bottom:0}
@media(max-width:600px){#calculator-workspace .land-tax-formula th,#calculator-workspace .land-tax-formula td{padding:6px 4px;font-size:.75rem}}
@media(max-width:999px){#calculator-workspace .calculator-form[data-calculator="land-transfer-tax"]{min-height:0}}

/* EverKey stylesheet: /refinements.css */
/* October refinements extend the approved blue-and-silver design. */
.footer-number,.enquiry-direct a,.form-status a{text-decoration:underline;text-underline-offset:4px}
.footer-mortgage-logo--idirect{width:110px;height:auto}.footer-mortgage-logo--centre{width:175px;height:auto}
.service-value{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-block:36px 48px;padding-block:24px;border-block:1px solid #cedce7}
.service-value h2{font-size:1.25rem;line-height:1.4;letter-spacing:-.02em;margin-bottom:10px;font-weight:650}
.service-value p{font-size:1rem;line-height:1.7;margin:0;color:#405970}
.mortgage-purpose-links{display:flex;flex-wrap:wrap;gap:12px;margin-block:0 28px}
.mortgage-purpose-links a,.review-filters button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #879fb3;border-radius:24px;color:#153f62;background:#f2f7fb;font:inherit;font-size:.9375rem;font-weight:600}
.mortgage-purpose-links a:hover,.review-filters button:hover{background:#e5eff7}
.hero-team-designation{display:block;text-align:center;font-size:.875rem;line-height:1.5;letter-spacing:0;color:#052657;margin:1px 0 7px;font-weight:650}
.hero-team-names .hero-team-name-art{aspect-ratio:auto}
.hero-team-names .hero-team-name-art--eddie{margin-top:0}
/* The extra 55 artwork units keep the ampersand whole; offset them without moving Virna's name. */
.hero-team-names .hero-team-name-art--virna{margin-top:-3.548387%}
.gallery-eyebrow{font-size:.75rem!important;letter-spacing:.06em!important}
.service-scene-card:is(:hover,:focus-within){transform:translateY(-3px)}
.service-scene-card:is(:hover,:focus-within) .service-scene-image{transform:none}
.service-scene-card:is(:hover,:focus-within) .service-mark .icon{transform:none}
.service-scene-card::after{display:none}
.review-track.has-stable-height{height:var(--review-track-height);transition:none}
.reviews-luxury .review-track.has-stable-height .review-slide.is-active{position:absolute}
.review-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:28px}
.review-filters button{cursor:pointer}.review-filters button[aria-pressed=true]{background:#123c5c;color:#fff;border-color:#123c5c}
.review-filters p{font-size:.875rem;color:#536575;margin:0 0 0 auto}
.testimonial-directory{columns:auto;column-count:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.testimonial-entry{margin:0;min-width:0}.testimonial-entry[hidden]{display:none!important}
.field>input,.field>select,.field>textarea,.worksheet-notes textarea{border-color:#718b9f}
.workspace-toolbar{flex-wrap:wrap}.workspace-live{font-size:.8125rem;max-width:30rem}
.workspace-expand,.workspace-print{min-height:44px;padding:7px 11px;border:1px solid #879fb3;border-radius:8px;color:#254e70;background:#fff;font:inherit;font-size:.875rem;cursor:pointer}
.workspace-expand[hidden]{display:none}
.worksheet-notes{display:grid;gap:7px;margin-block:18px;font-size:1rem}
.worksheet-notes textarea{width:100%;min-height:90px;padding:12px;border:1px solid #7c94aa;border-radius:8px;font:inherit;line-height:1.65;resize:vertical;background:#fff;color:#18394f}
.worksheet-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.worksheet-actions{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}
.learning-diagram{margin:26px 0 32px;padding:24px;border:1px solid #a9c0d2;border-radius:14px;background:linear-gradient(135deg,#f4f9fd,#e8f1f8)}
.learning-diagram figcaption{font-size:1.125rem;line-height:1.45;font-weight:650;color:#123c5c;margin-bottom:20px}
.cash-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:0;counter-reset:cash}
.cash-timeline li{counter-increment:cash;border-top:3px solid #38709b;padding-top:12px}.cash-timeline strong{display:block;font-size:1rem;margin-bottom:7px}
.cash-timeline strong::before{content:counter(cash) ' / ';color:#38709b}.cash-timeline span{font-size:1rem;line-height:1.65;display:block;color:#405970}
.learning-diagram .small-note{font-size:.875rem;margin:20px 0 0;line-height:1.6}
.term-diagram{display:grid;gap:22px}.term-diagram strong{font-size:1rem}.term-diagram p{font-size:1rem;line-height:1.65;margin:8px 0 0}
.term-line,.amortization-line{display:block;height:14px;border-radius:8px;background:#cedce7;margin-top:10px}.term-line i{display:block;width:20%;height:100%;border-radius:8px;background:#1a669d}.amortization-line{background:linear-gradient(90deg,#1a669d,#96b7d0)}
.comparison-scroll{max-width:100%;overflow:auto;margin-bottom:20px}.program-comparison table{width:100%;border-collapse:collapse;min-width:540px;font-size:1rem;line-height:1.7;text-align:left}
.program-comparison th,.program-comparison td{vertical-align:top;padding:14px;border:1px solid #b0c2d1}.program-comparison thead{color:#fff;background:#123c5c}.program-comparison tbody th{width:23%;font-weight:650;background:#edf4fa}.program-comparison td:nth-child(2){width:22%}.program-comparison .reference-link{display:block;margin-top:10px;font-size:.875rem}
.region-price-heading h2{font-size:1.3rem;line-height:1.5}.region-price-heading h2>span{display:block;font-size:1rem;font-weight:500;color:#405970;margin-top:5px}.region-price-coverage,.region-price-period{font-size:1rem}
.region-locator{padding:24px;border:1px solid #b8cbdc;border-radius:14px;background:linear-gradient(135deg,#f7fbfe,#e9f1f8);margin-bottom:36px}
.region-locator h2{font-size:1.5rem;margin-bottom:12px}.region-locator>p{font-size:1rem;margin-bottom:12px}.region-locator-scroll{overflow:auto}.region-locator svg{display:block;width:100%;min-width:660px;height:auto}
.region-locator text{font:16px Manrope,Arial,sans-serif;fill:#173c5b}.region-locator .map-direction{font-size:14px;fill:#4e677b}.region-locator a:hover text,.region-locator a:focus text{fill:#006db0;text-decoration:underline}.region-locator circle{fill:#1a669d;stroke:#fff;stroke-width:3}.region-locator .map-grid{stroke:#ccdae5;stroke-width:1}.region-locator .small-note{font-size:.875rem;margin:12px 0 0}
.inbox-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.inbox-toolbar .field{min-width:160px}.inbox-toolbar .field>span{font-size:.875rem}.inbox-alert-status{font-size:.875rem;padding:14px;border:1px solid #b0c5d5;border-radius:9px;background:#edf4fa;margin-block:20px}
.inbox-entry-status{display:inline-flex;padding:3px 10px;margin-left:10px;background:#e7f0f7;border-radius:16px;font-size:.875rem;color:#254e70}
.inbox-entry-status[data-status=new]{background:#cde5f8;color:#103e60;font-weight:650}.inbox-entry .field{max-width:240px;margin-bottom:16px}.inbox-entry .field>select{min-height:44px;font:inherit}.inbox-load-more{margin:24px 0}.inbox-toolbar [hidden],.inbox [hidden],.review-filters[hidden]{display:none!important}
.printed-notes{white-space:pre-wrap;overflow-wrap:anywhere;min-height:50px;padding:10px;border:1px solid #aaa;font-size:11pt;line-height:1.5;display:none}
@media(max-width:999px){
 .service-value{gap:24px}
 #calculator-workspace.is-enhanced .workspace-head{position:static}
 #calculator-workspace .calculator-tile-art{display:none}
 #calculator-workspace .calculator-tile{height:auto;min-height:50px;padding:8px}
 #calculator-workspace .calculator-tile strong{font-size:.875rem;line-height:1.4}
 .workspace-toolbar .workspace-title{flex:1 1 60%;font-size:1.125rem}.workspace-live{flex:1 1 100%;order:3;margin-left:0;padding:0 0 3px}
}
@media(max-width:700px){
 .service-value{grid-template-columns:1fr;margin-block:24px 32px;gap:20px}.service-value article+article{border-top:1px solid #d3e0e9;padding-top:20px}
 .mortgage-purpose-links{gap:8px}.mortgage-purpose-links a{flex:1 1 auto;padding:9px 12px;font-size:.875rem}
 .testimonial-directory{grid-template-columns:1fr}.review-filters p{flex-basis:100%;margin-left:0}
 .worksheet-comparison,.worksheet-actions{grid-template-columns:1fr;gap:0}.cash-timeline{grid-template-columns:1fr}.learning-diagram{padding:20px}.region-locator{padding:20px}
 .hero-team-designation{font-size:.875rem;margin-bottom:5px}
}
@media(prefers-reduced-motion:reduce){.service-scene-card:is(:hover,:focus-within){transform:none}}
@media print{
 .review-filters,.workspace-expand,.service-value,.mortgage-purpose-links,.region-locator,.inbox-toolbar{display:none!important}
 .worksheet-notes textarea{display:none!important}.printed-notes{display:block}
 .worksheet-notes,.worksheet-actions,.worksheet-comparison{break-inside:auto}.worksheet-actions,.worksheet-comparison{display:block}
 .ml-checklist,.checklist-section{break-inside:auto}.learning-diagram{break-inside:avoid;background:none;border-color:#888}.comparison-scroll{overflow:visible}.program-comparison table{min-width:0;font-size:10pt}.program-comparison th,.program-comparison td{padding:8px;color:#000;background:#fff}
 .review-track.has-stable-height{height:auto}.reviews-luxury .review-track.has-stable-height .review-slide.is-active{position:relative}
}

.home-services article.service-scene-card:is(:hover,:focus-within){transform:translateY(-3px)}
.home-services .service-scene-card:is(:hover,:focus-within)>.service-scene-image,.home-services .service-scene-card:is(:hover,:focus-within) .service-mark>.icon{transform:none}
.home-services .service-scene-card::after{display:none}
@media(prefers-reduced-motion:reduce){.home-services article.service-scene-card:is(:hover,:focus-within){transform:none}}

@media print{.mortgage-learning .ml-checklist,.reading-content .checklist-section{break-inside:auto}}

/* One opening frame and type scale across Buy, Sell, Mortgages and About Us. */
.service-intro-aligned{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:28px;isolation:isolate;margin-block:22px 24px;padding:24px 28px;border:1px solid #d0e1ec;border-radius:18px;background:linear-gradient(115deg,#edf5fa,#f2f7fb);box-shadow:inset 0 1px #fff;box-sizing:border-box}
.service-intro-aligned::before{content:none}
.service-intro-aligned .service-intro-heading{display:block;margin:0 0 16px;padding:0;min-width:0}
.service-intro-aligned .eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.1em;color:#35617e;margin:0 0 10px;max-width:none}
.service-intro-aligned h1{font-family:inherit;font-size:clamp(2.25rem,3.2vw,3.1rem);font-weight:500;line-height:1.08;letter-spacing:-.05em;text-wrap:initial;color:#08233e;max-width:none;margin:0}
.service-intro-aligned h1 em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:#345d7a;line-height:inherit}
.service-intro-aligned .service-intro-text{min-width:0}
.service-intro-aligned .service-intro-copy{min-width:0;padding:0}
.service-intro-aligned .service-lede{max-width:52ch;font-size:1rem;line-height:1.7;color:#496176;margin:0 0 16px}
.service-intro-aligned .service-intro-visual{min-width:0;align-self:start}
.service-intro-aligned .service-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.service-intro-aligned .service-hero-actions a{font-size:.875rem;line-height:1.4;min-height:46px;padding:12px 17px;gap:10px;margin:0}
.service-intro-aligned .service-hero-actions .icon{width:17px;height:17px}
.service-intro-aligned .service-hero-photo>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px 32px 12px 12px}
.service-intro-aligned .mortgage-credential{font-size:.875rem;line-height:1.65;color:#34536d;border-left:2px solid #b4ccde;margin:0;padding:8px 0 8px 22px}
.service-intro-aligned .page-symbol{width:104px;height:104px;margin-left:auto}
@media(max-width:1100px){.service-intro-aligned{padding:22px 24px;gap:22px}.service-intro-aligned h1{font-size:2.35rem}}
@media(max-width:880px){.service-intro-aligned{grid-template-columns:1fr;gap:18px;padding:22px 24px;margin-block:20px 24px}.service-intro-aligned h1{font-size:clamp(2.5rem,5.7vw,3.1rem)}.service-intro-aligned .service-lede{max-width:58ch}.service-intro-aligned .page-symbol{display:none}.service-intro-aligned.about-intro .service-intro-visual{display:none}}
@media(max-width:560px){.service-intro-aligned{padding:20px 18px;border-radius:14px;gap:16px;margin-block:18px 23px}.service-intro-aligned .service-intro-heading{margin-bottom:15px}.service-intro-aligned h1{font-size:clamp(2rem,7.6vw,2.5rem)}.service-intro-aligned .eyebrow{margin-bottom:12px}.service-intro-aligned .service-lede{line-height:1.65;margin-bottom:18px}.service-intro-aligned .service-hero-actions a{padding:11px 12px}.service-intro-aligned .service-hero-actions .button{width:100%;justify-content:center}}
@media(max-width:340px){.service-intro-aligned h1{font-size:1.75rem}}

.service-intro-aligned .service-proof{margin:16px 0 0;padding:12px 0 0}
.service-intro-aligned .service-proof blockquote{font-size:1rem;line-height:1.55;margin:8px 0 10px}
.service-intro-aligned .service-proof figcaption{gap:10px}
.service-intro-aligned .service-proof figcaption a{min-height:40px;padding:8px 12px}

/* The homepage contact card follows the existing client stories directly. */
.reviews-section+.home-contact-section{margin-inline:auto;margin-top:32px}
@media(max-width:780px){.reviews-section+.home-contact-section{margin-top:28px}}

.finance-calculator-callout{display:flex;align-items:center;gap:24px;margin-block:28px 36px;padding:24px 28px;background:linear-gradient(120deg,#edf5fb,#e2eef8);border:1px solid #c5d8e8;border-radius:18px;box-sizing:border-box}
.finance-callout-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:none;background:#163d5b;border-radius:14px;color:#fff}
.finance-callout-icon .icon{width:26px;height:26px}
.finance-calculator-callout>div{flex:1;min-width:0}
.finance-calculator-callout h2{font-size:1.3rem;line-height:1.3;margin:0 0 6px}
.finance-calculator-callout p{font-size:.9375rem;line-height:1.5;margin:0;color:#3e5e75;max-width:650px}
.finance-calculator-callout .button{text-align:center;justify-content:center;flex:none;font-size:.875rem}
@media(max-width:999px){.finance-calculator-callout{flex-wrap:wrap;gap:16px;padding:22px}.finance-calculator-callout .button{margin-left:70px}}
@media(max-width:560px){.finance-calculator-callout{gap:12px;padding:20px}.finance-callout-icon{width:42px;height:42px}.finance-calculator-callout h2{font-size:1.15rem}.finance-calculator-callout .button{margin-left:0;width:100%}}

.inbox-crm-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:16px 0 24px;padding:14px 16px;border:1px solid #e1ddcf;border-radius:9px;background:#fcfaf5}
.inbox-crm-summary p{flex:1 1 280px;margin:0;font-size:.875rem;line-height:1.6}
.inbox-crm-summary .workspace-expand{margin:0}
.inbox-crm-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 4px;padding-top:12px;border-top:1px solid #e2e9ee;font-size:.8125rem;color:#526d80}
.inbox-crm-state[data-state=synced]{color:#276851}
.inbox-crm-state button{min-height:44px;padding:6px 10px;border:1px solid #cddbe4;border-radius:6px;background:#fff;font:inherit;cursor:pointer}

/* EverKey stylesheet: /visual-refinements.css */
/* The photograph and copy share one canvas across the four service openings.
   These rules deliberately leave the compact homepage and calculator alone. */
.service-intro-aligned {
  --intro-paper: #f1f6fa;
  display: block;
  overflow: hidden;
  min-height: 340px;
  padding: 28px;
  margin-block: 22px 28px;
  border: 1px solid #d1e0eb;
  border-radius: 22px;
  background: var(--intro-paper);
  box-shadow: inset 0 1px #fff, 0 8px 28px #173b5405;
}
.service-intro-aligned .service-intro-text {
  position: relative;
  z-index: 2;
  width: 61%;
  padding-right: 18px;
}
.service-intro-aligned .service-intro-heading { margin-bottom: 16px; }
.service-intro-aligned h1 {
  font-size: clamp(2.15rem, 3.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.service-intro-aligned .service-lede { max-width: 51ch; }
.service-intro-aligned .service-intro-visual {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  align-self: stretch;
  justify-self: stretch;
  display: block;
  isolation: isolate;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 30%, #fff, #e1edf5 75%);
}
.service-intro-aligned .service-intro-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--intro-paper) 18%, #f1f6faf2 32%, #f1f6fad6 43%, #f1f6fa8c 53%, #f1f6fa1f 67%, #f1f6fa00 77%);
}
.service-intro-aligned .service-hero-photo,
.service-intro-aligned .buying-intro-map {
  position: absolute;
  inset: 0 0 0 24%;
  width: auto;
  height: auto;
  align-self: stretch;
  justify-self: stretch;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* The map artwork already fades on the left; use its full canvas. */
.service-intro-aligned .buying-intro-map { inset: 0; pointer-events: none; }
.service-intro-aligned.buying-intro .service-intro-visual::before {
  background: linear-gradient(90deg, #f1f6faf5, #f1f6fae6 30%, #f1f6faba 46%, #f1f6fa66 59%, #f1f6fa00 74%);
}
.service-intro-aligned .service-hero-photo > img,
.service-intro-aligned .buying-intro-map > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: right 58%;
  border-radius: 0;
}
.service-intro-aligned .buying-intro-map > img { object-position: right 54%; }
.service-intro-aligned.mortgage-intro .service-hero-photo > img { object-position: right top; }
.service-intro-aligned .service-hero-actions { gap: 8px 12px; }
.service-intro-aligned .service-hero-actions .button {
  box-shadow: 0 5px 16px #153f6417, inset 0 1px #ffffff24;
}
.service-intro-aligned .mortgage-credential {
  position: absolute;
  z-index: 2;
  left: auto;
  right: 20px;
  bottom: 20px;
  width: min(410px, 38%);
  pointer-events: auto;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #ffffffed;
  border-radius: 14px;
  background: #f8fbfdf5;
  box-shadow: 0 5px 20px #163d5910;
  color: #34536d;
  font-size: .8125rem;
  line-height: 1.55;
}
.service-intro-aligned .mortgage-credential strong {
  display: block;
  margin-bottom: 3px;
  color: #173c5b;
  font-size: .9375rem;
  font-weight: 700;
}
.service-intro-aligned .mortgage-credential span { display: block; }
@media (max-width: 1100px) and (min-width: 881px) {
  .service-intro-aligned { min-height: 332px; padding: 26px; }
  .service-intro-aligned .service-intro-text { width: 62%; padding-right: 8px; }
  .service-intro-aligned .service-hero-actions a { padding-inline: 12px; }
  .service-intro-aligned .mortgage-credential { left: auto; right: 14px; bottom: 14px; width: 37%; padding: 11px 13px; }
}
@media (max-width: 880px) {
  .service-intro-aligned { min-height: 0; padding: 24px 24px 0; margin-block: 20px 26px; }
  .service-intro-aligned .service-intro-text { width: 100%; padding: 0; }
  .service-intro-aligned .service-lede { max-width: 60ch; }
  .service-intro-aligned .service-intro-visual,
  .service-intro-aligned.about-intro .service-intro-visual {
    position: relative;
    display: block;
    inset: auto;
    width: calc(100% + 48px);
    height: 238px;
    margin: 14px -24px 0;
  }
  .service-intro-aligned .service-intro-visual::before {
    background: linear-gradient(180deg, var(--intro-paper), #f1f6fa88 16%, #f1f6fa00 42%);
  }
  .service-intro-aligned.buying-intro .service-intro-visual::before {
    background: linear-gradient(180deg, var(--intro-paper), #f1f6fa66 12%, #f1f6fa00 32%);
  }
  .service-intro-aligned .service-hero-photo,
  .service-intro-aligned .buying-intro-map { inset: 0; width: auto; height: auto; }
  .service-intro-aligned .service-hero-photo > img { object-position: center 58%; }
  .service-intro-aligned .buying-intro-map > img { object-position: center; }
  .service-intro-aligned .mortgage-credential { left: auto; width: min(355px, calc(100% - 40px)); }
  /* Licence text owns its height, including with enlarged text settings. */
  .service-intro-aligned.mortgage-intro .service-intro-visual {
    height: auto;
    min-height: 0;
    padding: 0 20px 20px;
  }
  .service-intro-aligned.mortgage-intro .service-intro-visual::before { height: 70px; bottom: auto; }
  .service-intro-aligned.mortgage-intro .service-hero-photo {
    position: relative;
    inset: auto;
    height: 180px;
    width: calc(100% + 40px);
    margin: 0 -20px;
    -webkit-mask-image: linear-gradient(#000 74%, transparent);
    mask-image: linear-gradient(#000 74%, transparent);
  }
  .service-intro-aligned.mortgage-intro .mortgage-credential {
    position: relative;
    inset: auto;
    width: min(355px, 100%);
    margin: -16px 0 0 auto;
  }
}
@media (max-width: 560px) {
  .service-intro-aligned { padding: 22px 20px 0; border-radius: 18px; }
  .service-intro-aligned h1 { font-size: clamp(1.9rem, 7.4vw, 2.5rem); }
  .service-intro-aligned .service-hero-actions { gap: 8px; }
  .service-intro-aligned .service-hero-actions a { min-height: 44px; }
  .service-intro-aligned .service-intro-visual,
  .service-intro-aligned.about-intro .service-intro-visual {
    width: calc(100% + 40px);
    height: 208px;
    margin: 12px -20px 0;
  }
  .service-intro-aligned .mortgage-credential { right: 16px; bottom: 16px; width: calc(100% - 32px); font-size: .75rem; }
  .service-intro-aligned.mortgage-intro .service-intro-visual { padding-bottom: 16px; }
  .service-intro-aligned.mortgage-intro .mortgage-credential { inset: auto; width: 100%; }
}
@media (forced-colors: active) {
  .service-intro-aligned { border-color: CanvasText; background: Canvas; }
  .service-intro-aligned .service-intro-visual::before { display: none; }
  .service-intro-aligned .mortgage-credential { color: CanvasText; background: Canvas; border-color: CanvasText; }
}
@media print {
  .service-intro-aligned { min-height: 0; padding: 0; margin-block: 0 20px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
  .service-intro-aligned .service-intro-text { width: 100%; padding: 0; }
  .service-intro-aligned .service-intro-visual,
  .service-intro-aligned.about-intro .service-intro-visual,
  .service-intro-aligned .service-hero-actions { display: none; }
}

/* About: a complete opening view, followed by the people behind the name. */
.about-opening {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--about-header-height, 100px));
  min-height: calc(100svh - var(--about-header-height, 100px));
}
.about-opening > .about-intro { flex-shrink: 0; }
.about-opening-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4vw, 64px);
  margin-block: auto;
  padding-block: 12px 36px;
}
.about-conversation h2 {
  max-width: 20ch;
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -.04em;
  font-weight: 500;
}
.about-conversation p { font-size: 1rem; line-height: 1.75; margin: 0 0 14px; }
.about-conversation p:last-child { margin-bottom: 0; }
.about-opening-copy > .about-name-story { margin: 0; }
.about-layout {
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 80px);
  padding-top: 28px;
}
.about-layout > .about-portrait-column {
  width: clamp(220px, calc((100vh - var(--about-header-height, 100px) - 210px) * .9142857), 320px);
  width: clamp(220px, calc((100svh - var(--about-header-height, 100px) - 210px) * .9142857), 320px);
  max-width: 100%;
  justify-self: center;
}
.about-portrait-column .team-visual { max-width: none; padding: 0 0 18px 14px; }
.about-portrait-column .team-visual::before { inset: 18px 18px 0 0; border-radius: 90px 16px 25px 16px; }
.about-portrait-column .team-photo-frame { aspect-ratio: 960 / 1050; border-radius: 90px 16px 16px; }
.about-portrait-column .team-photo-frame img { object-fit: contain; }
.about-portrait-column .team-signoff {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 60px;
  margin: -18px 8px 0 14px;
  padding: 10px 12px;
  text-align: center;
}
.about-portrait-column .team-signoff .handwritten { font-size: 1.35rem; }
.about-portrait-column .team-signoff > span:last-child { font-size: .625rem; letter-spacing: .09em; }
.about-portrait-column .about-experience-medallion { width: 104px; max-width: 50%; margin: 12px auto 0; }
.about-layout > .team-story { padding-top: 0; }
.about-layout .team-profile:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 1240px) { :root { --about-header-height: 91px; } }
@media (max-width: 880px) {
  .about-opening-copy { grid-template-columns: 1fr; gap: 26px; padding-block: 4px 28px; }
  .about-conversation h2 { max-width: none; }
  .about-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .about-layout > .about-portrait-column { margin-inline: auto; }
}
@media (max-width: 560px) { :root { --about-header-height: 85px; } }
@media (max-width: 360px) { :root { --about-header-height: 81px; } }
@media print {
  .about-opening { display: block; min-height: 0; }
  .about-opening-copy { display: block; padding-block: 0 20px; }
  .about-opening-copy > .about-name-story { margin-top: 20px; }
  .about-layout > .about-portrait-column { width: 260px; }
}

/* EverKey stylesheet: /editorial-openings.css */
/* Secondary pages share the service openings' calm frame and type scale. */
.page-heading,
.breadcrumbs + .page-heading,
.journey-trail + .page-heading,
.selling-progress + .page-heading,
.ml-heading,
.enquiry-heading {
  padding:28px;
  border:1px solid #d7e3ec;
  border-radius:22px;
  background:#f1f6fa;
  box-shadow:inset 0 1px #fff;
}

.page-heading,
.enquiry-heading {
  margin-block:22px 28px;
}

.page-heading {
  grid-template-columns:minmax(0,1fr) 76px;
  gap:28px;
}

.page-heading::before {
  content:none;
}

.page-heading > div,
.ml-heading > div {
  min-width:0;
}

.page-heading h1,
.ml-heading h1,
.enquiry-heading h1 {
  font-size:clamp(2.15rem,3.2vw,3.1rem);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.05em;
  color:#08233e;
  margin:0 0 16px;
  text-wrap:balance;
}

.page-heading .eyebrow,
.ml-heading .eyebrow {
  max-width:none;
  margin:0 0 12px;
  color:#35617e;
  font-size:.75rem;
  line-height:1.5;
  letter-spacing:.1em;
}

.page-heading h1 em {
  color:#345d7a;
}

.page-heading .page-intro,
.ml-heading p:not(.eyebrow),
.enquiry-heading > p {
  max-width:68ch;
  margin:0;
  color:#496176;
  font-size:1rem;
  line-height:1.7;
}

.page-heading > .page-symbol {
  width:76px;
  height:76px;
  border:1px solid #cbdce8;
  border-radius:18px;
  background:linear-gradient(135deg,#fff,#e7eff5);
  box-shadow:inset 0 1px #fff;
  color:#35617e;
}

.page-heading > .page-symbol .icon {
  width:34px;
  height:34px;
}

/* The existing hub artwork is one continuous, softly washed background. */
.ml-heading {
  margin-bottom:28px;
}

.ml-heading > img {
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 46%;
  opacity:.48;
  border-radius:inherit;
}

.ml-hub .ml-heading::before {
  background:linear-gradient(100deg,#f1f6fa 12%,#f1f6faf5 40%,#f1f6fac9 67%,#f1f6fa45 100%);
}

.ml-heading p.ml-term-hint {
  margin-top:14px;
  font-size:.8125rem;
  line-height:1.6;
  color:#53687a;
}

/* Keep a small, recognisable team portrait beside the form follow-up. */
.enquiry-team {
  gap:14px;
}

.enquiry-team > img {
  width:78px;
  height:86px;
  object-fit:contain;
  object-position:center bottom;
  border:1px solid #d7e3ec;
  border-radius:14px;
  background:#f1f6fa;
  box-shadow:none;
}

/* Regional photographs continue their introduction instead of starting a
   second, unrelated frame. Original focal points and photo credits remain. */
.page-heading:has(+ .community-hero-image) {
  margin-bottom:0;
  border-bottom:0;
  border-radius:22px 22px 0 0;
}
.page-heading + .community-hero-image {
  position:relative;
  margin-top:0;
  margin-bottom:32px;
}
.page-heading + .community-hero-image::before {
  content:'';
  position:absolute;
  z-index:1;
  top:0;
  left:0;
  right:0;
  height:56px;
  pointer-events:none;
  background:linear-gradient(#f1f6fa, #f1f6fa70 42%, #f1f6fa00);
}
.page-heading + .community-hero-image > img {
  border-radius:0 0 22px 22px;
}

@media (max-width:740px) {
  .page-heading,
  .breadcrumbs + .page-heading,
  .journey-trail + .page-heading,
  .selling-progress + .page-heading,
  .ml-heading,
  .enquiry-heading {
    padding:22px;
    border-radius:18px;
  }

  .page-heading,
  .enquiry-heading {
    margin-block:20px 24px;
  }

  .page-heading {
    display:block;
  }

  .page-heading > .page-symbol {
    display:none;
  }

  .page-heading h1,
  .ml-heading h1,
  .enquiry-heading h1 {
    font-size:clamp(2rem,6.6vw,2.6rem);
    margin-bottom:14px;
  }

  .ml-heading {
    margin-bottom:24px;
  }

  .ml-heading > img {
    opacity:.28;
  }

  .ml-hub .ml-heading::before {
    background:linear-gradient(105deg,#f1f6faf5 12%,#f1f6fade 58%,#f1f6fa80 100%);
  }
}

@media (max-width:560px) {
  .page-heading,
  .breadcrumbs + .page-heading,
  .journey-trail + .page-heading,
  .selling-progress + .page-heading,
  .ml-heading,
  .enquiry-heading {
    padding:20px 18px;
    border-radius:16px;
  }
  .page-heading:has(+ .community-hero-image) { border-radius:16px 16px 0 0; }
  .page-heading + .community-hero-image > img { border-radius:0 0 16px 16px; }
}

@media (forced-colors:active) {
  .page-heading,
  .breadcrumbs + .page-heading,
  .journey-trail + .page-heading,
  .selling-progress + .page-heading,
  .ml-heading,
  .enquiry-heading,
  .page-heading > .page-symbol,
  .enquiry-team > img {
    background:Canvas;
    border-color:CanvasText;
    box-shadow:none;
  }

  .ml-heading > img,
  .ml-hub .ml-heading::before,
  .page-heading + .community-hero-image::before {
    display:none;
  }

  .page-heading h1,
  .page-heading h1 em,
  .ml-heading h1,
  .enquiry-heading h1,
  .page-heading .eyebrow,
  .ml-heading .eyebrow,
  .page-heading .page-intro,
  .ml-heading p:not(.eyebrow),
  .enquiry-heading > p,
  .page-heading > .page-symbol {
    color:CanvasText;
  }
}

@media print {
  .page-heading,
  .breadcrumbs + .page-heading,
  .journey-trail + .page-heading,
  .selling-progress + .page-heading,
  .ml-heading,
  .enquiry-heading {
    display:block;
    margin:0 0 20px;
    padding:0 0 18px;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
  }

  .ml-heading > img,
  .ml-hub .ml-heading::before,
  .page-heading + .community-hero-image::before {
    display:none;
  }

  .page-heading h1,
  .page-heading h1 em,
  .ml-heading h1,
  .enquiry-heading h1 {
    color:#000;
    font-size:26pt;
  }

  .page-heading .page-intro,
  .ml-heading p:not(.eyebrow),
  .enquiry-heading > p {
    color:#000;
    font-size:12pt;
  }
}

/* EverKey stylesheet: /pathway-cards.css */
/* The major pathways share one anatomy; imagery, colours and motion stay with their themes. */
.home-services,
.estate-path-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:20px;
}
.home-services article.service-scene-card,
.estate-path-card.ml-topic-card{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:44px auto 1fr auto;
  gap:7px 0;
  min-width:0;
  min-height:240px;
  height:auto;
  aspect-ratio:auto;
  padding:20px;
  border-radius:18px;
}
.home-services article.service-scene-card>.service-topline{
  grid-column:1;
  grid-row:1;
  align-self:start;
  justify-content:flex-start;
  height:44px;
  margin:0;
}
.home-services article.service-scene-card .service-mark,
.estate-path-card.ml-topic-card>.service-mark{
  grid-column:1;
  grid-row:1;
  justify-self:start;
  align-self:start;
  width:44px;
  height:44px;
  margin:0;
  border-radius:50%;
}
.home-services article.service-scene-card>.service-index,
.estate-path-card.ml-topic-card>.eyebrow{
  grid-column:1;
  grid-row:2;
  align-self:start;
  font-size:.75rem;
  line-height:1.5;
  font-weight:750;
  letter-spacing:.08em;
  margin:2px 0 0;
}
.home-services article.service-scene-card>h2,
.estate-path-card.ml-topic-card>h3{
  grid-column:1;
  grid-row:3;
  align-self:start;
  font-size:clamp(1.2rem,1.55vw,1.45rem);
  line-height:1.25;
  font-weight:550;
  letter-spacing:-.025em;
  width:65%;
  max-width:24ch;
  margin:0 0 8px;
  text-wrap:balance;
}
.home-services article.service-scene-card>.text-link,
.estate-path-card.ml-topic-card>.ml-topic-pill{
  grid-column:1;
  grid-row:4;
  justify-self:start;
  align-self:end;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:min(100%,260px);
  min-width:0;
  min-height:44px;
  max-width:100%;
  height:auto;
  padding:5px 6px 5px 15px;
  margin:0;
  border-radius:999px;
  font-size:.875rem;
  font-weight:700;
  line-height:1.5;
}
.home-services article.service-scene-card>.text-link>.icon,
.estate-path-card.ml-topic-card>.ml-topic-pill>.icon{
  flex:none;
  width:32px;
  height:32px;
  padding:8px;
  border-radius:50%;
}
@media(max-width:960px){
  .home-services,
  .estate-path-grid{
    grid-template-columns:minmax(0,1fr);
    gap:16px;
  }
  .home-services article.service-scene-card,
  .estate-path-card.ml-topic-card{
    min-height:228px;
    padding:20px;
  }
  .home-services article.service-scene-card:last-child{
    grid-column:auto;
    width:auto;
    justify-self:stretch;
  }
  .home-services article.service-scene-card>h2,
  .estate-path-card.ml-topic-card>h3{
    font-size:1.35rem;
  }
}
@media(max-width:560px){
  .home-services article.service-scene-card,
  .estate-path-card.ml-topic-card{
    padding:18px;
  }
}
@media(forced-colors:active){
  .home-services article.service-scene-card>h2,
  .estate-path-card.ml-topic-card>h3{width:100%}
}
@media print{
  .home-services article.service-scene-card>h2,
  .estate-path-card.ml-topic-card>h3{width:100%}
  .home-services,
  .estate-path-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }
  .home-services article.service-scene-card,
  .estate-path-card.ml-topic-card{
    min-height:0;
    padding:12px;
    break-inside:avoid;
  }
}

/* Homepage journeys share the main pathway proportions. Moving their existing
   icons into the corner keeps the shorter cards free of an empty icon row. */
@media screen{
  /* Imperial jade, smoked rhodium and champagne platinum give the homepage
     its own metallic palette. The existing motion sheet animates each line. */
  #main .home-services .service-scene-card--buy{
    --ml-accent:#4c8b76;--ml-deep:#245849;--ml-wash:#edf5ef;--ml-glow:96 158 131;
    --ml-pearl:linear-gradient(105deg,#315c4d 0%,#7dac8c 24%,#dbedda 40%,#fffdf0 47%,#accfbf 53%,#568d74 76%,#315c4d 100%);
  }
  #main .home-services .service-scene-card--sell{
    --ml-accent:#7b8290;--ml-deep:#424b5b;--ml-wash:#f2f3f6;--ml-glow:142 155 178;
    --ml-pearl:linear-gradient(105deg,#424954 0%,#8994a7 24%,#e0e5ee 40%,#fff 47%,#b4bfd4 53%,#727c90 76%,#444c59 100%);
  }
  #main .home-services .service-scene-card--finance{
    --ml-accent:#9b8a70;--ml-deep:#62513c;--ml-wash:#f7f4ef;--ml-glow:188 167 135;
    --ml-pearl:linear-gradient(105deg,#74644d 0%,#bba887 24%,#eee5d4 40%,#fffdf6 47%,#d2c4a9 53%,#9a886b 76%,#6d5c44 100%);
  }
  .home-services .service-scene-card>.ml-accent{
    position:absolute;
    grid-area:auto;
    inset:auto 0 0;
    height:4px;
    background:var(--ml-pearl);
    background-size:200% 100%;
    background-position:0 50%;
    pointer-events:none;
    box-shadow:0 -3px 16px rgb(var(--ml-glow)/.12);
    transition:background-position .65s ease,box-shadow .26s ease;
  }
  #main .home-services{gap:18px}
  #main .home-services+.reviews-section.reviews-luxury{margin-top:24px}
  #main .home-services article.service-scene-card{
    height:auto;
    min-height:180px;
    padding:20px 24px;
    border-radius:18px;
    display:grid;
    grid-template-rows:auto 1fr auto;
    gap:6px 0;
  }
  #main .home-services article.service-scene-card>.service-topline{
    position:absolute;
    grid-area:auto;
    top:20px;
    right:24px;
    width:44px;
    height:44px;
    margin:0;
  }
  #main .home-services article.service-scene-card>.service-index{
    grid-row:1;
    width:calc(100% - 60px);
    margin:0;
    font-size:.75rem;
    line-height:1.5;
  }
  #main .home-services article.service-scene-card>h2{
    grid-row:2;
    width:65%;
    margin:0;
    font-size:clamp(1.2rem,1.65vw,1.45rem);
    line-height:1.2;
  }
  #main .home-services article.service-scene-card>.text-link{
    grid-row:3;
    min-height:44px;
    margin:0;
  }
  #main .home-services .service-scene-card :is(.service-index,h2,.text-link){color:var(--ml-deep)}
  #main .home-services .service-scene-card .service-mark{
    color:var(--ml-accent);
    border-color:rgb(var(--ml-glow)/.3);
    background:linear-gradient(135deg,#fff,var(--ml-wash));
  }
  #main .home-services .service-scene-card .text-link>.icon{background:var(--ml-deep)}
}
@media screen and (max-width:1100px){
  #main .home-services article.service-scene-card{padding:20px}
  #main .home-services article.service-scene-card>.service-topline{right:20px}
  #main .home-services article.service-scene-card>h2{font-size:1.25rem}
}
@media screen and (max-width:960px){
  #main .home-services{grid-template-columns:minmax(0,1fr);gap:16px}
  #main .home-services article.service-scene-card{min-height:175px;padding:20px 24px}
  #main .home-services article.service-scene-card>.service-topline{right:24px}
  #main .home-services article.service-scene-card>h2{font-size:1.45rem}
}
@media screen and (max-width:560px){
  #main .home-services article.service-scene-card{padding:20px}
  #main .home-services article.service-scene-card>.service-topline{right:20px}
  #main .home-services article.service-scene-card>h2{font-size:1.35rem}
}
@media screen and (max-width:780px){
  #main .home-services+.reviews-section.reviews-luxury{margin-top:21px}
}
@media screen and (min-width:961px) and (max-height:750px){
  #main .home-services article.service-scene-card{min-height:160px;padding:18px 20px;gap:4px 0}
  #main .home-services article.service-scene-card>.service-topline{top:18px;right:20px}
  #main .home-services article.service-scene-card>h2{font-size:1.2rem}
}
@media screen and (forced-colors:active){
  #main .home-services article.service-scene-card>h2{width:100%;padding-right:60px}
  #main .home-services .service-scene-card :is(.service-index,h2,.text-link){color:CanvasText}
  #main .home-services .service-scene-card .service-mark{color:CanvasText;border-color:CanvasText;background:Canvas}
  #main .home-services .service-scene-card .text-link>.icon{background:CanvasText;color:Canvas}
  #main .home-services .service-scene-card>.ml-accent{background:Highlight;box-shadow:none}
}

/* EverKey stylesheet: /card-motion.css */
/* One interaction language for service, pathway and topic cards.
   The main scope deliberately wins over the earlier homepage ID rules.
   Dimensions, content and calculator surfaces remain in their own stylesheets. */
#main :is(.service-scene-card, .ml-topic-card) {
  --card-lift: 0px;
  --card-image-scale: 1;
  --card-arrow-transform: translate(0, 0);
  --card-icon-transform: none;
  --card-icon-active: translateY(-1px);
  --card-accent-position: 0%;
  --card-accent-shadow: 0 -3px 16px rgb(var(--ml-glow)/.12);
  --card-sheen-animation: none;
  --card-key-animation: none;
  --card-edge: #c1d2df;
  --card-shadow: inset 0 1px 0 #fff, 0 6px 19px #08233e07;
  transform: translateY(var(--card-lift));
  border-color: var(--card-edge);
  box-shadow: var(--card-shadow);
  outline: none;
  transition: transform 260ms cubic-bezier(.2, .65, .3, 1),
    border-color 260ms ease, box-shadow 260ms ease;
}
#main :is(.service-scene-card, .ml-topic-card) > img {
  transform: scale(var(--card-image-scale));
  transform-origin: center;
  transition: transform 650ms cubic-bezier(.2, .65, .3, 1);
}
#main :is(.service-scene-card, .ml-topic-card)::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, #ffffff88 50%, transparent 62%);
  background-size: 250% 100%;
  background-position: 120% 0;
  opacity: 0;
  animation: var(--card-sheen-animation);
}
/* A single card sheen replaces the second, reversing shine on each icon. */
#main :is(.service-scene-card, .ml-topic-card) .service-mark::after { display: none; }
#main :is(.service-scene-card, .ml-topic-card) .service-mark > .icon {
  transform: var(--card-icon-transform);
  animation: none;
  transition: transform 360ms cubic-bezier(.2, .65, .3, 1);
}
#main :is(.service-scene-card, .ml-topic-card) .service-mark > .service-everkey {
  transform: none;
  animation: var(--card-key-animation);
}
#main .service-scene-card--sell { --card-icon-active: translateY(-2px) scale(1.04); }
#main .service-scene-card--finance { --card-icon-active: rotateY(12deg) rotate(-3deg) scale(1.035); }
#main .service-scene-card--renewal { --card-icon-active: rotate(22deg); }
#main .service-scene-card--refinance { --card-icon-active: translateY(-2px) scale(1.04); }
#main :is(.service-scene-card, .ml-topic-card) :is(.text-link, .ml-topic-pill) > .icon {
  transform: var(--card-arrow-transform);
  transition: transform 260ms cubic-bezier(.2, .65, .3, 1);
}
#main :is(.service-scene-card, .ml-topic-card) .ml-accent {
  background-position: var(--card-accent-position) 50%;
  box-shadow: var(--card-accent-shadow);
  transition: background-position 650ms ease, box-shadow 260ms ease;
}

/* Keyboard focus uses the same feedback without treating a touch focus as hover. */
#main :is(.service-scene-card, .ml-topic-card):has(a:focus-visible) {
  --card-lift: -3px;
  --card-image-scale: 1.018;
  --card-arrow-transform: translate(2px, -2px);
  --card-icon-transform: var(--card-icon-active);
  --card-accent-position: 100%;
  --card-accent-shadow: 0 -4px 20px rgb(var(--ml-glow)/.22);
  --card-sheen-animation: everkey-card-sheen 650ms ease-out;
  --card-key-animation: everkey-card-key-turn 740ms ease-in-out;
  --card-edge: var(--ml-accent, #769dbb);
  --card-shadow: inset 0 1px 0 #fff, 0 11px 25px #08233e14;
  outline: 2px solid var(--ml-accent, #086bb3);
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  #main :is(.service-scene-card, .ml-topic-card):hover {
    --card-lift: -3px;
    --card-image-scale: 1.018;
    --card-arrow-transform: translate(2px, -2px);
    --card-icon-transform: var(--card-icon-active);
    --card-accent-position: 100%;
    --card-accent-shadow: 0 -4px 20px rgb(var(--ml-glow)/.22);
    --card-sheen-animation: everkey-card-sheen 650ms ease-out;
    --card-key-animation: everkey-card-key-turn 740ms ease-in-out;
    --card-edge: var(--ml-accent, #769dbb);
    --card-shadow: inset 0 1px 0 #fff, 0 11px 25px #08233e14;
  }
}
@media (hover: none), (pointer: coarse) {
  #main :is(.service-scene-card, .ml-topic-card):has(a:active) {
    --card-edge: var(--ml-accent, #769dbb);
    --card-shadow: inset 0 0 0 1px var(--ml-accent, #769dbb);
  }
}
@keyframes everkey-card-sheen {
  0% { background-position: 120% 0; opacity: 0; }
  30%, 65% { opacity: .48; }
  100% { background-position: -25% 0; opacity: 0; }
}
@keyframes everkey-card-key-turn {
  0%, 65%, 100% { transform: perspective(240px) rotateY(0); filter: brightness(1); }
  32% { transform: perspective(240px) rotateY(88deg); filter: brightness(1.12); }
  74% { transform: perspective(240px) rotateY(0); filter: brightness(1.15); }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active), print {
  #main :is(.service-scene-card, .ml-topic-card),
  #main :is(.service-scene-card, .ml-topic-card) > img,
  #main :is(.service-scene-card, .ml-topic-card) .service-mark > .icon,
  #main :is(.service-scene-card, .ml-topic-card) :is(.text-link, .ml-topic-pill) > .icon,
  #main :is(.service-scene-card, .ml-topic-card) .ml-accent {
    transform: none !important;
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }
  #main :is(.service-scene-card, .ml-topic-card)::after { display: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  #main :is(.service-scene-card, .ml-topic-card) { border-color: CanvasText; box-shadow: none; }
  #main :is(.service-scene-card, .ml-topic-card):has(a:focus-visible) { outline-color: Highlight; }
}
@media print {
  #main :is(.service-scene-card, .ml-topic-card) { box-shadow: none; }
}

