.resource-body{--resource-title: clamp(36px, 5vw, 62px);--resource-copy: 18px;--resource-line-height: 1.75;--resource-result: clamp(32px, 3.5vw, 46px);--resource-icon-size: 22px;--resource-field-height: 48px;--resource-summary-width: 340px}.resource-header{display:flex;justify-content:space-between;align-items:center}.resource-main{padding-bottom:var(--space-16)}.resource-breadcrumb{display:flex;flex-wrap:wrap;gap:var(--space-2);font-size:var(--font-caption);color:var(--muted);padding-block:var(--space-6)}.resource-breadcrumb a:hover,.resource-footer a:hover{color:var(--accent)}.resource-intro{max-width:840px;padding-block:var(--space-4) var(--space-10)}.resource-intro h1{font-size:var(--resource-title);letter-spacing:-.045em;line-height:1.1}.resource-intro>p{color:var(--muted);font-size:var(--resource-copy);line-height:var(--resource-line-height);margin-top:var(--space-5);max-width:750px}.resource-icon{display:inline-grid;place-items:center;flex-shrink:0;width:var(--space-12);height:var(--space-12);border-radius:var(--radius-md);background:var(--blue-tint);color:var(--accent)}.resource-icon svg{width:var(--resource-icon-size);height:var(--resource-icon-size)}.resource-page-kind{display:flex;align-items:center;gap:var(--space-3);color:var(--muted);font-size:var(--font-caption);margin-bottom:var(--space-5)}.resource-page-kind .resource-icon{width:var(--space-10);height:var(--space-10)}.resource-collection+.resource-collection{margin-top:var(--space-12)}.collection-heading{display:flex;justify-content:space-between;gap:var(--space-6);align-items:baseline;margin-bottom:var(--space-6)}.collection-heading h2{font-size:var(--font-title);letter-spacing:-.035em}.collection-heading p{color:var(--muted);font-size:var(--font-caption)}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}.resource-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-card{display:flex;flex-direction:column;padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--background);transition:border-color var(--transition-fast),background var(--transition-fast)}.resource-card:hover{border-color:var(--accent);background:var(--warm-surface)}.resource-card-top{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-5);color:var(--muted);font-size:var(--font-caption)}.resource-card h3{font-size:var(--font-title);letter-spacing:-.035em;line-height:1.3}.resource-card p{color:var(--muted);font-size:var(--font-body-size);line-height:1.6;margin-block:var(--space-3) var(--space-6)}.resource-card>strong{display:flex;align-items:center;justify-content:space-between;color:var(--accent);font-size:var(--font-caption);margin-top:auto;padding-top:var(--space-4)}.resource-card>strong svg{width:var(--space-5);height:var(--space-5)}.resource-card-featured{padding:var(--space-8)}.resource-card-preview{background:var(--warm-surface);border-radius:var(--radius-md);padding:var(--space-5);margin-bottom:var(--space-3);font-size:var(--font-caption)}.resource-card-preview>span{display:block;color:var(--muted);margin-bottom:var(--space-3)}.resource-card-preview>div:not(.preview-partners):not(.preview-split-bar){display:flex;justify-content:space-between;padding-block:var(--space-2)}.resource-card-preview strong{font-variant-numeric:tabular-nums}.preview-result{border-top:1px solid var(--line);margin-top:var(--space-2);color:var(--green)}.preview-partners{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-6)}.preview-partners span{display:block;color:var(--muted)}.preview-partners strong{display:block;font:650 var(--font-title)/1.4 var(--font-display);margin-top:var(--space-1)}.preview-partners>div{border-left:2px solid var(--peach);padding-left:var(--space-3)}.preview-partners>div:last-child{border-color:var(--lavender)}.preview-split-bar,.rent-share-bar{height:var(--space-2);background:var(--lavender);border-radius:var(--radius-sm);overflow:hidden;margin-top:var(--space-5)}.preview-split-bar span,.rent-share-bar span{display:block;height:100%;background:var(--peach)}.resource-tool{background:var(--warm-surface);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-8)}.resource-tool h2{font-size:var(--font-title);letter-spacing:-.035em}.tool-workspace{display:grid;grid-template-columns:minmax(0,1fr) var(--resource-summary-width);gap:var(--space-8);align-items:start}.tool-editor{min-width:0}.resource-tool-top{display:flex;justify-content:space-between;gap:var(--space-4);align-items:start;margin-bottom:var(--space-8)}.resource-tool-top>span,.resource-note{font-size:var(--font-caption);color:var(--muted);line-height:1.6}.resource-tool-top h2+span{display:block;margin-top:var(--space-2)}.resource-reset{display:flex;align-items:center;gap:var(--space-2);min-height:var(--space-10);background:transparent;color:var(--accent);font-size:var(--font-small);white-space:nowrap;padding:var(--space-2);border-radius:var(--radius-sm)}.resource-reset svg{width:var(--space-4);height:var(--space-4)}.tool-group{padding:0;margin:0 0 var(--space-6);border:0;min-width:0}.tool-group legend{display:flex;gap:var(--space-2);align-items:center;font:650 var(--font-lead)/1.4 var(--font-display);padding:0}.tool-group legend svg{width:var(--space-5);height:var(--space-5);color:var(--accent)}.tool-group details>p{color:var(--muted);font-size:var(--font-caption);margin-block:var(--space-2) var(--space-4)}.worksheet-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.resource-field label{display:block;font-size:var(--font-caption);margin-bottom:var(--space-2);font-weight:500}.resource-field>div{display:flex;align-items:center;gap:var(--space-2);background:var(--background);border:1px solid var(--line);border-radius:var(--radius-sm);padding-inline:var(--space-3)}.resource-field>div>span{color:var(--muted)}.resource-field input{width:100%;min-width:0;height:var(--resource-field-height);background:transparent;border:0;color:var(--ink);font-size:var(--font-body-size);font-variant-numeric:tabular-nums}.resource-field>div:focus-within{outline:2px solid var(--accent);outline-offset:2px}.resource-field input:focus-visible{outline:none}.tool-summary{background:var(--background);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-6);position:sticky;top:var(--space-6);min-width:0}.summary-heading{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-6)}.summary-heading h3{font-size:var(--font-body-size);letter-spacing:-.025em}.summary-heading .resource-icon{width:var(--space-10);height:var(--space-10)}.budget-result>span{color:var(--green);font-size:var(--font-caption);font-weight:600}.budget-result strong{display:block;font:650 var(--resource-result)/1.2 var(--font-display);letter-spacing:-.04em;margin-block:var(--space-2);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.budget-result p{color:var(--muted);font-size:var(--font-caption);line-height:1.6}.budget-result.is-over-budget>span{color:var(--orange)}.budget-plan-bar{height:var(--space-2);border-radius:var(--radius-sm);background:var(--line);overflow:hidden;margin-block:var(--space-5)}.budget-plan-bar>span{display:block;height:100%;background:var(--green);transition:width .3s var(--ease-out)}.budget-result.is-over-budget+.budget-plan-bar>span{background:var(--orange)}.budget-breakdown summary{display:flex;align-items:center;justify-content:space-between;min-height:var(--space-10);font-size:var(--font-caption);list-style:none}.budget-breakdown summary::-webkit-details-marker{display:none}.budget-breakdown summary svg{width:var(--space-4);height:var(--space-4)}.budget-breakdown[open] summary svg{transform:rotate(180deg)}.worksheet-summary{margin:var(--space-2) 0 0;font-size:var(--font-caption)}.worksheet-summary>div{display:flex;justify-content:space-between;gap:var(--space-4);padding-block:var(--space-3);border-bottom:1px solid var(--line)}.worksheet-summary dt{color:var(--muted)}.worksheet-summary dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.resource-actions{display:grid;gap:var(--space-3);margin-block:var(--space-6)}.resource-actions svg{width:var(--space-5);height:var(--space-5)}.resource-secondary{border:1px solid var(--line);background:var(--background);color:var(--ink)}.resource-actions button:disabled{opacity:.5;cursor:not-allowed}.tool-next{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);color:var(--accent);font-size:var(--font-caption);border-top:1px solid var(--line);padding-top:var(--space-4);margin-top:var(--space-5)}.tool-next svg{width:var(--space-4);height:var(--space-4)}.resource-switch{display:flex;gap:var(--space-1);background:var(--line);border-radius:var(--radius-sm);padding:var(--space-1);margin-block:var(--space-4)}.resource-switch button{flex:1;min-height:var(--space-12);border-radius:var(--radius-sm);background:transparent;color:var(--muted);font-size:var(--font-body-size)}.resource-switch button[aria-pressed=true]{background:var(--background);color:var(--accent);font-weight:600}.resource-results{display:grid;grid-template-columns:1fr;gap:var(--space-5)}.resource-results>div{border-left:2px solid var(--peach);padding-left:var(--space-4)}.resource-results>div:last-child{border-color:var(--lavender)}.resource-results>div>span{font-size:var(--font-caption)}.resource-results strong{display:block;font:650 var(--resource-result)/1.3 var(--font-display);letter-spacing:-.04em;margin-block:var(--space-1);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.resource-results p{color:var(--muted);font-size:var(--font-caption)}.resource-remainder{padding-top:var(--space-3);margin-top:var(--space-3);border-top:1px solid var(--line);font-size:var(--font-caption)}.resource-warning{color:var(--orange);font-size:var(--font-caption);line-height:1.6;margin-block:var(--space-4)}.tool-summary>.resource-note{margin-top:var(--space-5)}.resource-table{width:100%;border-collapse:collapse;margin-top:var(--space-4);font-size:var(--font-caption)}.resource-table th,.resource-table td{text-align:left;border-bottom:1px solid var(--line);padding:var(--space-3) var(--space-2);font-variant-numeric:tabular-nums}.resource-table thead th{color:var(--muted);font-weight:500}.resource-table tbody th{font-weight:500}.resource-table td{font-weight:600;overflow-wrap:anywhere}.rent-comparison h3{font-size:var(--font-body-size)}.rent-comparison{margin-block:var(--space-6)}.resource-content{display:grid;grid-template-columns:minmax(0,740px) minmax(0,260px);gap:var(--space-16);padding-top:var(--space-12)}.resource-content article>section{margin-bottom:var(--space-10);scroll-margin-top:var(--space-6)}.resource-content h2,.resource-related>h2{font-size:var(--font-title);letter-spacing:-.035em;line-height:1.35;margin-bottom:var(--space-4)}.resource-content article>section>p{line-height:var(--resource-line-height);max-width:68ch}.resource-aside{height:fit-content;padding-left:var(--space-6);border-left:1px solid var(--line);position:sticky;top:var(--space-6)}.resource-aside h2{font-size:var(--font-body-size)}.resource-aside a,.resource-sources a{display:block;color:var(--muted);font-size:var(--font-caption);line-height:1.6;padding-block:var(--space-2)}.resource-aside a:hover,.resource-sources a{color:var(--accent)}.article-tools{margin-top:var(--space-6);border-top:1px solid var(--line);padding-top:var(--space-5)}.article-tools a{display:flex;gap:var(--space-2);align-items:center;color:var(--accent)}.article-tools svg{width:var(--space-4);height:var(--space-4);flex-shrink:0}.resource-faq details{border-bottom:1px solid var(--line)}.resource-faq summary{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding-block:var(--space-5);font-weight:600;list-style:none}.resource-faq summary::-webkit-details-marker{display:none}.resource-faq summary svg{width:var(--space-5);height:var(--space-5);flex-shrink:0;color:var(--muted)}.resource-faq details[open] summary svg{transform:rotate(180deg)}.resource-faq details p{color:var(--muted);padding-bottom:var(--space-5);line-height:var(--resource-line-height)}.guide-example{max-width:840px;background:var(--warm-surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-6)}.guide-example-heading{display:flex;align-items:center;gap:var(--space-4)}.guide-example h2{font-size:var(--font-title);letter-spacing:-.035em}.guide-example-heading p{color:var(--muted);font-size:var(--font-caption);margin-top:var(--space-2);line-height:1.6}.guide-example>.resource-note{margin-top:var(--space-4)}.payment-flow{display:flex;align-items:center;gap:var(--space-6);margin-block:var(--space-6)}.payment-flow>div{flex:1;border-left:2px solid var(--peach);padding-left:var(--space-4)}.payment-flow>div:last-child{border-color:var(--lavender)}.payment-flow span{display:block;font-size:var(--font-caption);color:var(--muted)}.payment-flow strong{font:650 var(--font-section)/1.3 var(--font-display);font-variant-numeric:tabular-nums}.payment-flow>svg{width:var(--space-6);height:var(--space-6);color:var(--muted);flex-shrink:0}.moving-checklist{list-style:none;padding:0;margin:var(--space-5) 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5)}.moving-checklist li{display:flex;gap:var(--space-3)}.moving-checklist svg{width:var(--space-5);height:var(--space-5);flex-shrink:0;color:var(--green)}.moving-checklist strong{font-size:var(--font-body-size)}.moving-checklist p{font-size:var(--font-caption);line-height:1.6;margin-top:var(--space-1);color:var(--muted)}.resource-related{padding-top:var(--space-12)}.resource-cta{display:flex;justify-content:space-between;align-items:center;gap:var(--space-8);background:var(--blue-tint);padding:var(--space-8);border-radius:var(--radius-lg);margin-top:var(--space-16)}.resource-cta h2{font-size:var(--font-title);letter-spacing:-.035em}.resource-cta p{color:var(--muted);line-height:1.6;margin-top:var(--space-3)}.resource-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--space-6);font-size:var(--font-caption);color:var(--muted);border-top:1px solid var(--line);padding-block:var(--space-8)}.resource-footer>div{display:flex;gap:var(--space-6)}@media(max-width:1000px){.tool-workspace{--resource-summary-width: 300px;gap:var(--space-5);padding:var(--space-6)}.worksheet-fields{grid-template-columns:1fr}.resource-content{gap:var(--space-8)}}@media(max-width:800px){.resource-content{grid-template-columns:1fr}.resource-aside{position:static;grid-row:1;padding:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-md)}.article-contents{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-5)}.article-contents h2{width:100%;margin-bottom:var(--space-1)}.article-tools{display:none}.tool-workspace{display:flex;flex-direction:column}.tool-editor,.tool-summary{width:100%}.budget-workspace .tool-summary{order:-1;position:static}.rent-workspace .tool-summary{position:static}.worksheet-fields,.resource-results,.resource-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-workspace .summary-heading{margin-bottom:var(--space-4)}.resource-grid{grid-template-columns:1fr}.resource-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.resource-intro{padding-top:var(--space-4)}.resource-intro>p{font-size:var(--font-body-size)}.collection-heading{flex-direction:column;gap:var(--space-2)}.resource-grid,.resource-tools-grid,.worksheet-fields,.moving-checklist{grid-template-columns:1fr}.resource-card,.resource-tool,.guide-example{padding:var(--space-5)}.resource-tool-top{flex-direction:column;gap:var(--space-2);margin-bottom:var(--space-5)}.tool-summary{padding:var(--space-5)}.resource-results{gap:var(--space-3)}.resource-results strong{font-size:var(--font-title)}.resource-actions{grid-template-columns:1fr}.resource-cta{flex-direction:column;align-items:flex-start;padding:var(--space-6)}.guide-example-heading{align-items:flex-start}.payment-flow{flex-direction:column;align-items:stretch;gap:var(--space-4)}.payment-flow>svg{transform:rotate(90deg);align-self:center}}@media(prefers-reduced-motion:reduce){.resource-card,.budget-plan-bar>span{transition:none}}@media print{.resource-header,.resource-breadcrumb,.resource-actions,.resource-aside,.resource-related,.resource-cta,.resource-footer,.resource-faq,.resource-note,.resource-reset,.tool-next{display:none}.resource-body .page-width{width:100%}.resource-tool{border:0;padding:0}.resource-intro{padding-block:var(--space-6)}.resource-content,.tool-workspace{display:block}.tool-summary{position:static;margin-top:var(--space-6)}.budget-breakdown>.worksheet-summary{display:block}.budget-breakdown summary{display:none}.tool-group,.tool-summary,.resource-content section{break-inside:avoid}}.tool-group details>summary{display:flex;gap:var(--space-2);align-items:center;font:650 var(--font-lead)/1.4 var(--font-display);list-style:none;min-height:var(--space-10)}.tool-group details>summary::-webkit-details-marker{display:none}.tool-group summary svg{width:var(--space-5);height:var(--space-5);color:var(--accent)}.tool-group summary svg:last-child{width:var(--space-4);height:var(--space-4);margin-left:auto;color:var(--muted)}.tool-group details[open]>summary svg:last-child{transform:rotate(180deg)}@media print{.tool-group details::details-content,.budget-breakdown::details-content{content-visibility:visible}.tool-group details>p,.tool-group details>.worksheet-fields{display:grid}}@media(max-width:800px){.budget-workspace .tool-summary{display:contents}.budget-workspace .summary-heading{display:none}.budget-workspace .budget-result,.budget-workspace .budget-plan-bar,.budget-workspace .budget-breakdown{order:-1;width:100%}.budget-workspace .budget-result{position:sticky;top:var(--space-2);z-index:2;background:var(--background);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-4)}.budget-workspace .budget-plan-bar{margin-block:0}.budget-workspace .budget-breakdown{margin-bottom:var(--space-3)}.budget-workspace .resource-actions{width:100%;margin-block:0}.budget-workspace .tool-next{width:100%}.budget-workspace .resource-field{scroll-margin-top:calc(var(--space-24) * 2)}}.budget-progress-label{display:flex;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-5);color:var(--muted);font-size:var(--font-small);font-variant-numeric:tabular-nums}.budget-progress-label+.budget-plan-bar{margin-top:var(--space-2)}@media(max-width:800px){.budget-workspace .budget-progress-label{order:-1;width:100%;margin-top:0}}@media print{.budget-workspace .tool-summary{display:block}.budget-workspace .budget-result{position:static}.budget-workspace .summary-heading{display:flex}}.resource-grid>*,.preview-partners>*,.tool-workspace>*{min-width:0}.preview-partners{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-card-preview strong{overflow-wrap:anywhere}.resource-footer>div{flex-wrap:wrap}@media(max-width:767px){.resource-grid,.resource-tools-grid{grid-template-columns:minmax(0,1fr)}}
