/* Shared layout corrections after the 220-route visual audit. */
:root{--content-width:780px;--page-width:1160px}
.shell,.hd-in,.ft-grid{width:min(var(--page-width),calc(100% - 64px))}
.shell-tight{width:min(var(--content-width),calc(100% - 64px))}
.article{max-width:var(--content-width);margin-inline:auto}
.blk-sky{width:min(var(--page-width),calc(100% - 64px));padding:36px 32px}
.blk-sky>.shell{width:100%}
.blk-sky>.shell.article{max-width:var(--content-width)}
.blk-head{max-width:780px}.blk-head h2{font-weight:400}
.blk-head+p{margin-bottom:26px}
.tile{grid-template-columns:62px minmax(0,1fr)}
.tile>div{min-width:0}.tile .t-head h3{font-size:24px;font-weight:600}
.tile .t-desc{font-size:16px;line-height:1.75;margin:12px 0 20px}
.grade{min-width:0;flex-shrink:0}
.grade-sm{width:42px;height:42px;min-width:42px;border-radius:6px;font-size:22px}
.t-stats,.pick .t-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:0!important;padding:8px;margin:0;border:1px solid #e4e8df;background:#f0f2eb}
.t-stats>div,.pick .t-stats>div{min-width:0;padding:12px 14px;border:0}
.t-stats>div:first-child{padding-left:14px}
.t-stats div b{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.4}
.t-stats div span{font-size:11px;line-height:1.5;margin-top:5px}
.rv-top{display:flex;flex-direction:column;gap:22px;margin:0 0 28px;padding:28px}
.rv-grade-wrap{gap:18px;align-items:center}.rv-grade-wrap p{margin:0}
.rv-grade-wrap .grade{border-radius:10px;width:76px;min-width:76px;height:76px;font-size:36px}
.rv-grade-txt>strong,.rv-grade-txt>span{display:block}
.rv-grade-wrap:has(>.chip){align-items:flex-start;flex-wrap:wrap}
.rv-top .t-stats{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:1px solid #e4e8df}
.rv-top .t-stats>div{min-width:0}
.rv-top .t-stats div b{font-size:12px;color:#5e6961;font-weight:500}
.rv-top .t-stats div span{font-size:17px;color:#253730;text-transform:none;letter-spacing:0;font-weight:600;line-height:1.5}
.rv-top .t-stats .chip{display:inline-block;font-size:12px;padding:6px 9px}
.rv-top .t-act{width:100%;margin:0;gap:16px}
.rv-top>.bt{align-self:flex-start}
.rv-top .aff-note{flex-basis:100%;margin:0;max-width:none;font-size:13px;line-height:1.7}
.t-act .bt{white-space:normal;text-align:center;max-width:100%}
.meter-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:20px;margin:18px 0;align-items:start}
.meter-row>[class^="meter-l"]{grid-column:1;display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.meter-row>[class^="meter-l"]>span{margin-left:12px;white-space:nowrap;color:#65705f}
.meter-row>.meter{grid-column:1/-1;grid-row:2}
.meter-row>.meter-sc,.meter-row>.meter-val{grid-column:2;grid-row:1;white-space:nowrap}
.meter-row>p{grid-column:1/-1;margin:0;font-weight:400;line-height:1.8}
.meter-row:has(>p)>[class^="meter-l"]{grid-column:1/-1}
.row2,.row3{align-items:stretch;gap:22px}
.pane{display:flex;flex-direction:column;min-width:0;padding:26px}
.pane h3{font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.3;margin:8px 0 14px}
.pane p{font-size:16px;line-height:1.75;margin-bottom:18px}
.pane .pn-more{margin-top:auto;padding-top:12px;min-height:44px;align-self:flex-start}
.pane:hover{transform:none}.pane-blue p{color:#fff}
.steps{gap:18px}.step{padding:24px 24px 24px 72px}
.step::before{left:22px;top:24px}.step h4{font-size:18px}.step p{font-size:16px;line-height:1.8;margin:8px 0 0}
.qa{max-width:var(--content-width);margin-inline:auto}.qa-q{font-size:17px;line-height:1.6;padding:18px 48px 18px 22px}.qa-a{padding:0 22px 22px;font-size:17px;line-height:1.8}
.article .editorial-photo img{margin:0;border-radius:0}
.article .editorial-photo figcaption{margin:0;padding:10px 16px;font-size:12px}
.tbl-wrap,.table-scroll{margin:24px 0;max-width:100%;border-radius:7px}
.tbl-wrap .table-scroll{margin:0;border:0;border-radius:0}
.tbl th{font-size:12px;line-height:1.6}.tbl td{font-size:15px;line-height:1.65}
.tbl th,.tbl td{padding:16px;vertical-align:top}
.tbl td .grade{margin:0}
.promo{padding:32px;margin:24px 0;border-radius:8px}
.promo h2{font-size:32px;margin:0 0 16px;line-height:1.2}
.promo .aff-note{background:#ffffff12;color:#f2f4ec;margin-bottom:0;line-height:1.7}
.promo .aff-note a{color:#fff;text-decoration:underline}
.verification-panel{width:min(var(--content-width),calc(100% - 64px));margin:36px auto 0;padding:28px}
.verification-panel h2{font-size:30px;line-height:1.25;margin:12px 0 20px}
.verification-panel .table-scroll:last-child{margin-bottom:0}
.cx{margin-top:0!important;padding:24px;border:1px solid #d7dfcd;box-shadow:none}
.cx-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cx-fld{min-width:0;padding:16px}
.cx-fld label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;min-height:28px;font-size:12px}
.cx-fld output{float:none;font-size:14px}
.cx-tabs{flex-wrap:wrap;gap:5px;margin-top:8px}.cx-tabs button{min-height:44px;font-size:14px;padding:8px;line-height:1.4}
.cx-out{gap:14px;margin-top:18px}.cx-big,.cx-mini{min-width:0;padding:20px}
.cx-big b,.cx-mini b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.cx-flow .fl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:14px 0;align-items:baseline}
.cx-flow .fl b{font-variant-numeric:tabular-nums;white-space:nowrap}
.cx-cta{gap:16px;padding:20px}
.finder .fld select:focus-visible{outline:3px solid #b17835;outline-offset:4px}
@media(min-width:960px){.row3:has(>.pane:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.cx-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .shell,.hd-in,.ft-grid,.shell-tight{width:calc(100% - 36px)}
 .blk-sky{width:calc(100% - 36px);padding:26px 18px}
 .tile{grid-template-columns:43px minmax(0,1fr);padding:20px 16px;gap:14px}
 .tile .grade{width:43px;min-width:43px;height:43px;font-size:23px}
 .tile>div:not(.grade){min-width:0}.t-stats,.pick .t-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
 .t-stats>div,.pick .t-stats>div,.t-stats>div:first-child{padding:10px}
 .t-stats div b{font-size:18px}.t-stats div span{font-size:11px}
 .t-act{align-items:stretch}.t-act .bt{width:100%}.t-bonus{width:100%}
 .rv-top{padding:20px;gap:20px}.rv-top .rv-grade-wrap{margin:0}
 .rv-top .t-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-top .t-stats div span{font-size:16px}
 .rv-top>.bt{width:100%}.rv-top .t-act{margin:0}
 .meter-row{padding:18px}.meter-row>[class^="meter-l"]{flex-wrap:wrap;gap:4px}.meter-row>[class^="meter-l"]>span{margin:0}
 .row2,.row3{grid-template-columns:1fr}.pane{padding:22px}.pane h3{font-size:24px}
 .step{padding:20px 18px 20px 62px}.step::before{left:16px;top:20px}
 .promo{padding:24px 20px}.promo h2{font-size:28px}.promo .bt{width:100%;text-align:center}
 .verification-panel{width:calc(100% - 36px);padding:20px}.verification-panel h2{font-size:28px}
 .cx{padding:16px}.cx-fields,.cx-out{grid-template-columns:1fr}.cx-tabs{flex-wrap:nowrap}.cx-tabs button{min-width:0;font-size:13px}
 .cx-flow .fl{font-size:14px;gap:12px}.cx-flow .fl b{font-size:15px}
 .list-head{flex-wrap:wrap;gap:8px}.ft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-brand{grid-column:1/-1}
 .identity-art{padding:22px 18px;gap:16px}.identity-art strong{font-size:25px}
}
@media(max-width:420px){.tile{grid-template-columns:1fr}.tile .t-head h3{font-size:24px}.ft-grid{grid-template-columns:1fr}.cx-flow .fl{grid-template-columns:1fr}.cx-flow .fl b{text-align:right}}

.cx{margin-top:32px!important}
.page-review section.blk{padding-block:36px}
/* Align standalone imported blocks with the same page and reading columns. */
main>.editorial-photo,main>.identity-art,main>.promo{width:min(var(--page-width),calc(100% - 64px));margin:32px auto}
main>.shell:has(>.article){width:min(var(--content-width),calc(100% - 64px))}
main>.splash+.shell:has(>.article){padding-top:32px}
main>.splash+.shell.article{padding-top:32px}
@media(min-width:761px){.hero-layout{grid-template-rows:auto auto minmax(0,1fr) auto auto}.hero-layout>.kick{align-self:start;margin-bottom:0}.hero-layout>h1{align-self:start;margin:20px 0}.hero-layout>.sub{align-self:start;margin-top:0}}
@media(max-width:760px){main>.editorial-photo,main>.identity-art,main>.promo,main>.shell:has(>.article){width:calc(100% - 36px)}.finder button[type=submit]{grid-column:1/-1}}

.rv-top+.inline-toc{width:100%;max-width:none;margin:24px 0}
/* Approved comparison and cash-flow tools. */
.comparison-tool{margin:36px auto;padding:30px;border:1px solid #d7dfcd;border-radius:10px;background:#fff}
.comparison-tool h2,.cashflow-tool h2{font-size:32px;margin:0 0 16px}
.comparison-tool>p{font-size:16px}.compare-selectors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.compare-selectors label{font-size:14px;font-weight:600}.compare-selectors select,.cashflow-heading select{display:block;width:100%;min-height:48px;background:#f3f5ee;color:#253730;border:1px solid #c9d3c3;border-radius:5px;padding:10px;margin-top:8px;font-size:17px}
.compare-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:18px;align-items:center}.compare-actions label{display:flex;align-items:center;gap:10px;font-size:15px;min-height:44px}.compare-actions input{width:20px;height:20px;accent-color:#254e45}
#compare-status{margin-top:18px;color:#5e6961}.comparison-scroll table{table-layout:fixed;min-width:650px}.comparison-scroll th,.comparison-scroll td{overflow-wrap:anywhere;min-width:0}.comparison-scroll thead th{font-size:19px}.comparison-scroll thead th:first-child{font-size:14px}.comparison-scroll tbody th{font-weight:500;background:#f7f8f3}.comparison-different td{background:#f0f4eb}.comparison-scroll caption{text-align:left;padding:12px 16px;font-size:13px;background:#f7f2e8;color:#6b583c}.tool-note{font-size:13px!important;line-height:1.8;color:#5e6961;margin:16px 0}.compare-shortcut{margin-top:16px}
.cx-fld input[type=number]{width:100%;min-height:48px;border:1px solid #bfcdb7;border-radius:5px;padding:10px 12px;background:#fff;color:#253730;font-size:18px;margin-top:8px}
.tool-assumptions{border-block:1px solid #dce2d5;padding:18px 0;margin:18px 0}.tool-assumptions summary{cursor:pointer;font-size:16px;font-weight:600;min-height:28px}.tool-assumptions p{font-size:15px;line-height:1.8;margin-top:14px}
.tool-input-error{color:#993f35;font-size:15px;padding:12px}.tool-input-error[hidden]{display:none}
.cashflow-tool{margin-top:36px;border-top:1px solid #dce2d5;padding-top:28px}.cashflow-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.cashflow-heading label{min-width:140px;font-size:14px}.cashflow-table{min-width:1050px!important}.cashflow-table th{font-size:12px}.cashflow-table td{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.cashflow-table tbody th{text-align:center}.cx-out{grid-template-columns:repeat(3,minmax(0,1fr))}.cx-out>.cx-big{grid-column:1/-1}.cx-out>.cx-mini{min-width:0}.cx-out>.cx-mini b{font-size:24px}
@media(max-width:760px){.comparison-tool{padding:20px}.comparison-tool h2,.cashflow-tool h2{font-size:28px}.compare-selectors{grid-template-columns:1fr;gap:14px}.compare-actions{align-items:flex-start;flex-direction:column;gap:4px}.comparison-scroll thead th{font-size:17px}.cashflow-heading{align-items:flex-start;flex-direction:column;gap:8px}.cashflow-heading label{width:100%}.cx-out{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-out>.cx-mini b{font-size:21px}.cx-out>.cx-big{grid-column:1/-1}}
.cx-out{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1101px){.cx-out{grid-template-columns:repeat(4,minmax(0,1fr))}}

.splash .crumbs,.splash .crumbs a,.splash .crumbs li{color:#5e6961!important}
.cx-big #xNote{display:block;margin-top:12px;font-size:13px;font-weight:400;line-height:1.7;letter-spacing:0;text-transform:none;max-width:75ch}
/* A compact introduction above a shared, full-width filter row. */
.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:auto auto auto;gap:28px 56px;align-items:center;min-height:0;padding-right:0}
.hero-main{grid-column:1;grid-row:1;min-width:0}
.hero-main>.kick{margin:0}
.hero-main>h1{margin:20px 0 22px;font-size:clamp(40px,4vw,56px);line-height:1.12}
.hero-main>.sub{margin:0;max-width:65ch;font-size:18px;line-height:1.7}
.hero-layout>.hero-editorial{grid-column:2;grid-row:1;position:static;display:flex;align-self:center;width:100%;height:auto;min-height:0;padding:0;border:0;border-radius:0;background:none;text-align:left;align-items:stretch;margin:0}
.hero-editorial .eyebrow{max-width:none;margin:0 0 12px;font-size:9px}
.hero-editorial .hero-photo{width:100%;height:230px;object-fit:cover;border-radius:6px}
.hero-editorial .photo-caption{margin:8px 0 0;font-size:10px}
.hero-layout>.finder{grid-column:1/-1;grid-row:2;width:100%;margin:0;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px;gap:12px}
.hero-layout>.finder button[type=submit]{grid-column:1/4;min-height:44px}
.hero-layout>.finder .reset-filters{grid-column:4}
.hero-layout>.trustline{grid-column:1/-1;grid-row:3;margin:0;gap:12px 24px}
@media(max-width:1000px){.hero-layout{grid-template-columns:minmax(0,1fr) 250px;gap:26px 32px}.hero-main>h1{font-size:44px}.hero-editorial .hero-photo{height:220px}}
@media(max-width:900px){.hero-layout{grid-template-columns:1fr;gap:24px}.hero-main>h1{font-size:40px}.hero-layout>.hero-editorial{display:none}.hero-layout>.finder{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.hero-layout>.finder button[type=submit]{grid-column:1/-1}.hero-layout>.finder .reset-filters{grid-column:1/-1;min-height:36px}.hero-layout>.trustline{gap:10px 18px}}

/* Imported pages use different wrappers; keep their reading blocks on one axis. */
.reading-page>.shell,.reading-page>.shell-tight,.reading-page>.blk,.reading-page>.promo,.reading-page>.editorial-photo,.reading-page>.identity-art,.reading-page>.verification-panel{width:min(var(--content-width),calc(100% - 64px));margin-inline:auto}
.reading-page>.blk:not(.blk-sky){padding-block:32px}
.reading-page>.blk>.shell,.reading-page>.blk>.shell-tight,.reading-page>.promo>.shell,.article>.shell,.article>.shell-tight{width:100%;max-width:100%}
.reading-page>.shell>.blk-sky{width:100%}
.reading-page .shell:has(>.rv-top)>.blk{padding-block:24px}
.reading-page .shell:has(>.rv-top)>h2{margin:36px 0 18px;font-size:32px;line-height:1.25}
.reading-page .shell:has(>.rv-top)>p{margin:0 0 20px;line-height:1.8}
.reading-page .shell:has(>.rv-top)>.blk>h2{margin:0 0 18px;font-size:32px;line-height:1.25}
.shell:has(>.aff-note){max-width:var(--content-width)}
.shell:has(>.aff-note)>h2{margin:0 0 16px;font-size:32px;line-height:1.25}
.shell:has(>.aff-note)>p:not(.aff-note){margin:0 0 22px;line-height:1.8}
.shell:has(>.aff-note)>.bt{margin:0;max-width:100%;white-space:normal;text-align:center}
.aff-note{max-width:none;line-height:1.7;margin-top:18px}
.promo>.shell{width:100%}.promo p{max-width:none;line-height:1.8;margin-bottom:16px}.promo h3{line-height:1.3;margin-bottom:16px}
.qa{margin-block:24px}.qa-q{display:block;padding-right:52px}.qa-q::after{top:50%;transform:translateY(-50%);line-height:1}.qa-item.open .qa-q::after{transform:translateY(-50%) rotate(180deg)}
.verdict h3{line-height:1.3;margin-bottom:14px}.verdict p:last-child,.note p:last-child{margin-bottom:0}
.reading-page>.shell:has(>.note:only-child){margin-block:24px}
@media(max-width:760px){.reading-page>.shell,.reading-page>.shell-tight,.reading-page>.blk,.reading-page>.promo,.reading-page>.editorial-photo,.reading-page>.identity-art,.reading-page>.verification-panel{width:calc(100% - 36px)}.shell:has(>.aff-note)>h2{font-size:28px}.shell:has(>.aff-note)>.bt{width:100%}.reading-page .shell:has(>.rv-top)>h2,.reading-page .shell:has(>.rv-top)>.blk>h2{font-size:28px}}
/* Match FAQ headings to their accordion; keep promotional copy legible. */
.shell:has(>.qa)>.blk-head{width:100%;max-width:var(--content-width);margin-inline:auto}
main>.promo{width:min(var(--content-width),calc(100% - 64px))}
.editorial .promo h2,.editorial .promo h3{font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.3;margin:0 0 16px}
.editorial .promo p{color:#edf2ed;font-weight:400;line-height:1.8}
.editorial .promo .over{display:block;color:#cbd8cb;margin-bottom:12px}
.editorial .promo .bt-line{color:#f4f7ef;border-color:#a7bbae;background:transparent}
.editorial .promo .bt-blue{background:#f4f7ef;color:#254e45;border-color:#f4f7ef}
.editorial .promo .aff-note{display:block;width:100%;margin:18px 0 0;font-size:13px;color:#e5ece4}
.promo p:has(>.bt){display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.promo p:has(>.bt)>.bt{margin-top:0;max-width:100%;white-space:normal;text-align:center}
@media(max-width:760px){main>.promo{width:calc(100% - 36px)}.editorial .promo h2,.editorial .promo h3{font-size:27px}.promo p:has(>.bt){flex-direction:column;align-items:stretch}}

/* Approved interlocking P identity; use currentColor for light/dark surfaces. */
.hd-logo .brand-monogram{width:44px;height:44px;flex:0 0 44px;color:#244d43;overflow:visible}
.ft .hd-logo .brand-monogram{color:#fafaf5}
.hd-logo{white-space:nowrap}
@media(max-width:760px){.hd-logo .brand-monogram{width:36px;height:36px;flex-basis:36px}}
