@font-face{font-family:system-fallback;src:local('Arial');font-display:swap}
:root{--ink:#102b4e;--deep:#06336d;--blue:#075cb4;--accent:#ffffff;--paper:#fff;--soft:#f1f7fd;--muted:#4a5e77;--line:#cfdeec;--focus:#075cb4;--error:#a52025;--radius:18px;--sans:'Avenir Next','Segoe UI',system-ui,-apple-system,sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;color:var(--ink);background:var(--paper);font:1rem/1.65 var(--sans);-webkit-font-smoothing:antialiased}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500;line-height:1.13;letter-spacing:-.045em}h2{font-size:clamp(2.15rem,4vw,3.5rem)}h3{font-size:1.5rem}a{color:inherit;text-underline-offset:5px}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}img{max-width:100%;display:block}button,summary{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:5px;box-shadow:0 0 0 7px #fff}.on-dark :focus-visible{outline-color:var(--accent);box-shadow:0 0 0 7px var(--deep)}[hidden]{display:none!important}.container{width:min(1280px,calc(100% - 96px));margin-inline:auto}.section{padding-block:100px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.875rem;font-weight:650;line-height:1.6}.muted{color:var(--muted)}.small{font-size:.875rem;line-height:1.65}.serif{font-family:var(--serif);font-weight:400;font-style:italic}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:10px;left:10px;transform:translateY(-180%);background:#fff;padding:14px 24px;z-index:99;border:2px solid var(--ink)}.skip-link:focus{transform:none}.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 23px;border:1px solid transparent;border-radius:8px;text-decoration:none;font-weight:600;font-size:.9375rem;line-height:1.4;transition:background .2s,box-shadow .2s}.button:hover{box-shadow:0 6px 16px #102b4e18}.button-primary{background:var(--deep);color:#fff}.button-primary:hover{background:#064b96}.button-accent{background:var(--accent);color:var(--deep)}.button-accent:hover{background:#e4f3ff}.button-outline{border-color:#617e9e;color:var(--ink);background:transparent}.button-outline:hover{background:var(--soft)}.on-dark .button-outline{border-color:#a8c6e6;color:white}.on-dark .button-outline:hover{background:#164c86}.arrow{font-size:1.35em;line-height:1;transition:transform .2s;display:inline-block}.button:hover .arrow,.goal-card:hover .arrow{transform:translateX(4px)}.text-link{font-weight:600;display:inline-flex;gap:12px;align-items:center;min-height:44px}.header{background:#fff;position:sticky;top:0;z-index:30;border-bottom:1px solid #dce7f2}.header-inner{display:flex;align-items:center;gap:25px;min-height:94px}.brand{display:flex;align-items:center;gap:20px;text-decoration:none;flex-shrink:0}.brand img{width:168px;height:auto;max-height:64px;object-fit:contain}.brand-description{font-size:.875rem;letter-spacing:.17em;border-left:1px solid var(--line);padding-left:19px;font-weight:650;line-height:1.8}.desktop-nav{display:flex;gap:26px;align-items:center;margin-left:auto}.desktop-nav a{text-decoration:none;font-size:.875rem;font-weight:600;padding:10px 0}.desktop-nav a:hover{color:var(--blue);text-decoration:underline}.header-cta{white-space:nowrap;margin-left:12px;min-height:46px}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:6px;padding:10px 14px;min-height:46px}.mobile-nav{padding:16px 0 24px;border-top:1px solid var(--line)}.mobile-nav a{display:block;padding:12px 0;font-weight:600}.hero{background:var(--deep);color:#fff;position:relative;isolation:isolate}.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:655px}.hero-copy{padding:75px 62px 78px max(48px,calc((100vw - 1280px)/2));position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center}.hero .eyebrow{color:#d6eaff;display:flex;gap:12px;align-items:center}.eyebrow-line{height:1px;width:30px;background:currentColor;flex-shrink:0}.hero h1{font-size:clamp(3.45rem,5.4vw,5.2rem);line-height:1.04;letter-spacing:-.055em;margin-top:26px;max-width:640px}.hero h1 .serif{color:var(--accent);letter-spacing:-.055em;display:block}.hero-copy>p{font-size:1.0625rem;color:#e2efff;max-width:470px;line-height:1.75;margin-top:28px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.hero-note{font-size:.875rem;color:#c8dff9;margin-top:18px;display:block}.hero-photo{min-width:0;position:relative;overflow:hidden}.hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:35% center}.photo-caption{position:absolute;right:32px;top:30px;background:#06336df0;color:#fff;font-size:.875rem;letter-spacing:.14em;text-transform:uppercase;padding:9px 15px;border-radius:40px}.hero-person{position:absolute;bottom:30px;left:30px;right:30px;max-width:420px;background:#fff;color:var(--ink);border-radius:12px;display:flex;align-items:center;gap:18px;padding:17px 21px;box-shadow:0 8px 30px #0002}.avatar{width:61px;height:61px;border-radius:50%;object-fit:cover;object-position:50% 10%;background:#e1edfa;flex-shrink:0}.hero-person strong{font-size:1.05rem;font-weight:650;display:block}.hero-person p{font-size:.875rem;color:var(--muted);margin-top:2px}.person-arrow{margin-left:auto;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);width:42px;height:42px;min-width:42px;border-radius:50%;text-decoration:none}.trust-bar{border-bottom:1px solid var(--line)}.trust-inner{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:center;gap:40px;padding-block:29px}.trust-item{display:flex;gap:15px;align-items:center}.trust-item+.trust-item{border-left:1px solid var(--line);padding-left:40px}.trust-stat{font-size:2.05rem;font-weight:500;letter-spacing:-.055em;white-space:nowrap}.trust-item p{font-size:.875rem;line-height:1.5}.stars{font-size:.875rem;letter-spacing:.13em;color:var(--blue);line-height:1.3}.section-top{display:flex;justify-content:space-between;gap:45px;align-items:flex-end;margin-bottom:42px}.section-top h2{margin-top:15px;max-width:700px}.section-top>p{max-width:330px;color:var(--muted)}.goals{background:var(--soft)}.goal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.goal-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:29px 25px;display:flex;flex-direction:column;text-decoration:none;position:relative;transition:border-color .2s,box-shadow .2s}.goal-card:hover{border-color:var(--blue);box-shadow:0 8px 26px #102b4e0c}.goal-card:first-child{background:var(--deep);color:#fff;border-color:var(--deep)}.goal-icon{width:47px;height:47px;background:#eaf3fc;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--blue);margin-bottom:30px}.goal-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.goal-card:first-child .goal-icon{background:#205188;color:var(--accent)}.goal-card h3{font-size:1.45rem;margin-bottom:14px;letter-spacing:-.035em}.goal-card p{font-size:.9375rem;color:var(--muted);margin-bottom:27px}.goal-card:first-child p{color:#e2efff}.goal-card .card-action{margin-top:auto;display:flex;justify-content:space-between;gap:12px;font-size:.875rem;font-weight:650}.goals-note{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:28px;color:var(--muted);font-size:.875rem}.about-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:95px;align-items:center}.portrait-panel{background:#e5f0fc;position:relative;border-radius:16px;overflow:hidden;min-height:570px}.portrait-panel>img{width:90%;max-height:635px;object-fit:cover;object-position:top center;margin:38px auto 0}.portrait-label{position:absolute;left:24px;right:24px;bottom:24px;border-radius:8px;background:#fff;padding:20px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between}.portrait-label strong{display:block;font-weight:600}.portrait-label span{font-size:.875rem;color:var(--muted)}.portrait-label img{width:95px;height:auto}.about-copy h2{margin-top:18px;margin-bottom:24px}.about-copy>p{margin-top:20px;color:var(--muted);font-size:1.0625rem}.credentials{margin-top:31px;border-top:1px solid var(--line)}.credential{padding:20px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:40px 1fr;gap:8px}.credential-num{font-size:.875rem;color:var(--blue);font-weight:650;letter-spacing:.08em;margin-top:3px}.credential strong{font-weight:650}.credential p{font-size:.875rem;color:var(--muted);margin-top:3px}.about-copy .text-link{margin-top:25px}.calculator-section{background:var(--deep);color:white}.calculator-section .eyebrow{color:#c9e2ff}.calculator-section .section-top>p{color:#d8eaff}.calculator{display:grid;grid-template-columns:1.2fr .8fr;background:#fff;color:var(--ink);border-radius:16px;overflow:hidden}.calculator-form{padding:36px 40px}.calculator-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}.calculator-heading h3{font-size:1.35rem}.example-tag{font-size:.875rem;background:#edf5ff;border:1px solid var(--line);padding:4px 9px;border-radius:5px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}.field label{display:block;font-size:.875rem;font-weight:600;margin-bottom:7px}.field-input{position:relative}.field input,.field select{width:100%;border:1px solid #617e9e;background:#fff;color:var(--ink);border-radius:7px;min-height:50px;padding:10px 13px;line-height:1.5}.field-input .prefix{position:absolute;left:14px;top:11px;pointer-events:none;color:#4a5e77}.field-input input{padding-left:31px}.field .help{font-size:.875rem;margin-top:5px;color:var(--muted)}.calculator details{margin-top:23px}.calculator summary{font-size:.875rem;font-weight:600;cursor:pointer;padding:8px 0;min-height:44px}.cost-fields{padding-top:18px}.calculator-form .button{margin-top:25px;width:100%}.calc-error{color:var(--error);font-size:.875rem;font-weight:600;margin-top:12px}.calc-note{margin-top:18px;color:var(--muted);font-size:.875rem;line-height:1.65}.result-panel{background:#eaf3fc;padding:38px 36px;display:flex;flex-direction:column}.result-panel .eyebrow{color:#355376;font-size:.875rem}.monthly-total{font-size:clamp(2.65rem,4.5vw,4.15rem);line-height:1.2;letter-spacing:-.06em;margin-top:12px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-unit{font-size:.875rem;color:var(--muted);margin-top:2px}.payment-bar{height:10px;display:flex;gap:3px;overflow:hidden;margin:29px 0 21px;border-radius:10px}.payment-bar span{min-width:0}.payment-bar span:first-child{background:#06336d}.payment-bar span:nth-child(2){background:#0874ba}.payment-bar span:nth-child(3){background:#82c9ec}.payment-bar span:nth-child(4){background:#4f9cd4}.payment-bar span:nth-child(5){background:#285b97}.breakdown{margin:0}.breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:.875rem;padding:8px 0}.breakdown dt{color:#355376}.breakdown dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.result-loan{border-top:1px solid #b9cee4;margin-top:13px;padding-top:14px;display:flex;justify-content:space-between;font-size:.875rem;gap:15px}.result-panel .text-link{margin-top:28px}.result-panel .calc-note{margin-top:12px}.calc-footnote{font-size:.875rem;color:#d8eaff;margin-top:21px;max-width:1060px}.process-top{max-width:780px}.process-top h2{margin-top:16px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:50px}.step{border-top:1px solid #b5cce2;padding-top:20px}.step-number{font-family:var(--serif);font-style:italic;font-size:2.4rem;line-height:1.2;color:var(--blue);display:block;margin-bottom:22px}.step h3{font-size:1.4rem;margin-bottom:12px}.step p{color:var(--muted);font-size:.9375rem}.process-actions{display:flex;flex-wrap:wrap;align-items:center;gap:30px;margin-top:36px}.reviews-strip{background:var(--soft);padding:36px 40px;border:1px solid var(--line);border-radius:12px;margin-top:64px;display:flex;align-items:center;justify-content:space-between;gap:36px}.reviews-strip h3{font-size:1.6rem;margin-top:8px}.reviews-strip p{max-width:550px;margin-top:10px;color:var(--muted);font-size:.9375rem}.review-score{font-size:2.5rem;line-height:1.1;letter-spacing:-.05em;white-space:nowrap;margin-top:10px}.faq-section{background:var(--soft)}.faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:85px}.faq-intro h2{margin-top:18px;margin-bottom:22px}.faq-intro p{color:var(--muted);margin-bottom:20px}.faq-list details{border-bottom:1px solid #b9cde2}.faq-list details:first-child{border-top:1px solid #b9cde2}.faq-list summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:23px 0;font-weight:600;cursor:pointer;font-size:1.0625rem;line-height:1.5}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:'+';font-size:1.5rem;font-weight:400;flex-shrink:0}.faq-list details[open] summary::after{content:'−'}.faq-list details p{padding:0 34px 23px 0;color:var(--muted);font-size:.9375rem}.contact-section{background:var(--deep);color:white}.contact-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:95px;align-items:center}.contact-section .eyebrow{color:#d8eaff}.contact-section h2{font-size:clamp(2.6rem,4.8vw,4.6rem);margin:20px 0 24px}.contact-section h2 .serif{color:var(--accent)}.contact-section p{color:#d8eaff;max-width:500px}.contact-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:31px}.contact-card{padding:35px;background:#123f75;border:1px solid #7ea4cd;border-radius:14px}.contact-card-top{display:flex;align-items:center;gap:18px;margin-bottom:23px}.contact-card h3{font-size:1.25rem}.contact-card-top p{font-size:.875rem;margin-top:5px}.contact-method{padding:17px 0;border-top:1px solid #7ea4cd}.contact-method .label{font-size:.875rem;color:#d8eaff;display:block}.contact-method a{display:inline-block;text-decoration:none;font-size:1.12rem;font-weight:500;overflow-wrap:anywhere;min-height:36px;line-height:1.5}.contact-method a:hover{text-decoration:underline}.contact-card .small{font-size:.875rem;margin-top:10px}.footer{padding:50px 0 30px;background:#fff}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-bottom:30px;border-bottom:1px solid var(--line)}.footer-brand{font-size:1.15rem;font-weight:600;letter-spacing:-.02em}.footer-top p{font-size:.875rem;color:var(--muted);margin-top:7px}.footer-logo{width:155px;height:auto;object-fit:contain}.footer-links{display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:23px}.footer-links a{font-size:.875rem;min-height:36px;display:inline-flex;align-items:center}.legal-copy{font-size:.875rem;line-height:1.8;color:#4a5e77;margin-top:15px}.footer-bottom{display:flex;justify-content:space-between;gap:25px;margin-top:25px;color:#4a5e77;font-size:.875rem}.mobile-bottom{display:none}.document{max-width:900px;margin-inline:auto;padding:65px 0 90px}.document h1{font-size:clamp(2.5rem,5vw,4rem);margin:16px 0 25px}.document h2{font-size:1.7rem;margin:38px 0 15px}.document h3{font-size:1.2rem;margin:24px 0 13px}.document p{margin:16px 0}.document li{margin-bottom:9px}.document ul,.document ol{padding-left:25px}.document .notice{background:var(--soft);border-left:3px solid var(--blue);padding:18px 25px;margin-top:25px}.document .button{margin-top:20px}.document .text-link{margin-top:15px}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.resource-grid>section{padding:25px;background:var(--soft);border-radius:12px}.resource-grid h2{margin:0 0 15px;font-size:1.4rem}.resource-grid p,.resource-grid ul{font-size:.9375rem}.print-button{background:transparent;border:1px solid #617e9e}.document-nav{display:flex;gap:20px;flex-wrap:wrap}.no-js-note{padding:18px;background:#fff2cf;color:#493a12;font-size:.875rem}
html{scroll-padding-bottom:110px}.calculator :focus-visible{outline:3px solid var(--focus);outline-offset:4px;box-shadow:0 0 0 6px #fff}.calc-error:focus{outline:3px solid var(--focus);outline-offset:4px}.calculator .button-primary:focus-visible{box-shadow:0 0 0 6px #fff}
@media(min-width:1600px){.hero-grid{min-height:740px}.hero-copy{padding-block:90px}}
@media(max-width:1180px){.container{width:calc(100% - 64px)}.brand-description{display:none}.header-inner{gap:20px}.desktop-nav{gap:20px}.hero-copy{padding:62px 40px 66px 32px}.hero h1{font-size:4rem}.about-grid{gap:55px}.goal-card{padding:25px 20px}.goal-card h3{font-size:1.25rem}.calculator-form{padding:30px}.result-panel{padding:32px 28px}.contact-grid{gap:60px}.faq-grid{gap:60px}.trust-item+.trust-item{padding-left:28px}.trust-inner{gap:28px}}
@media(max-width:960px){.desktop-nav{display:none}.header-cta{margin-left:auto}.menu-toggle{display:block}.header-inner{min-height:82px}.section{padding-block:75px}.hero h1{font-size:3.45rem}.hero-copy{padding-right:30px}.hero-grid{min-height:620px}.hero-copy>p{font-size:1rem}.hero-actions{gap:12px}.hero-actions .button{width:100%}.hero-person{left:18px;right:18px;bottom:20px;padding:15px}.hero-person .avatar{width:48px;height:48px}.hero-person p{font-size:.875rem}.trust-inner{gap:18px;grid-template-columns:1fr 1fr 1fr}.trust-item{gap:10px;flex-wrap:wrap}.trust-item+.trust-item{padding-left:20px}.trust-stat{font-size:1.6rem}.trust-item p{font-size:.875rem}.goal-grid{grid-template-columns:repeat(2,1fr)}.goal-card{padding:27px}.goal-icon{margin-bottom:25px}.section-top{align-items:flex-start}.about-grid{gap:35px}.portrait-panel{min-height:520px}.portrait-panel>img{width:100%;height:560px;object-fit:cover;object-position:top}.portrait-label{left:15px;right:15px;bottom:15px;padding:16px;display:block}.portrait-label img{margin-top:15px;width:90px}.calculator{grid-template-columns:1.1fr .9fr}.field-grid{gap:18px 15px}.calculator-form{padding:26px}.calculator-heading{display:block}.example-tag{display:inline-block;margin-top:12px}.result-panel{padding:30px 24px}.steps{gap:25px}.faq-grid{gap:35px;grid-template-columns:.8fr 1.2fr}.contact-grid{gap:35px;grid-template-columns:1fr 1fr}.contact-card{padding:26px}.reviews-strip{padding:28px}.contact-method a{font-size:1rem}}
@media(max-width:720px){html{scroll-padding-top:98px}.container{width:calc(100% - 40px)}.header-inner{gap:14px;min-height:77px}.brand img{width:136px}.header-cta{display:none}.menu-toggle{margin-left:auto}.hero-grid{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:48px 24px 43px}.hero h1{font-size:clamp(3rem,10vw,4.7rem);max-width:600px;margin-top:21px}.hero-copy>p{max-width:540px;margin-top:23px}.hero-actions{margin-top:28px}.hero-actions .button{width:auto;flex:1;white-space:nowrap;gap:10px;padding-inline:16px}.hero-photo{height:360px}.hero-photo>img{object-position:40% 55%}.photo-caption{top:20px;right:20px;font-size:.875rem}.hero-person{max-width:350px;bottom:20px;left:20px}.hero-person .avatar{width:52px;height:52px}.trust-inner{grid-template-columns:1fr 1fr;padding-block:24px;gap:24px}.trust-item{display:block}.trust-item+.trust-item{padding-left:22px}.trust-item:last-child{grid-column:1/-1;border-left:0;padding:18px 0 0;border-top:1px solid var(--line);display:flex;gap:15px}.trust-stat{font-size:1.9rem}.trust-item p{font-size:.875rem}.trust-item .stars{margin:0 0 6px}.section{padding-block:62px}.section-top{display:block;margin-bottom:30px}.section-top>p{margin-top:20px;max-width:500px}.section-top h2{margin-top:13px}.goal-grid{gap:12px}.goal-card{padding:23px 19px}.goal-card h3{font-size:1.35rem}.goal-card p{font-size:.875rem}.goal-card .card-action{font-size:.875rem}.goal-icon{margin-bottom:23px}.goals-note{display:block;margin-top:23px}.goals-note a{margin-top:8px}.about-grid{display:flex;flex-direction:column-reverse;gap:38px}.about-copy>p{font-size:1rem}.portrait-panel{width:100%;min-height:0;height:485px}.portrait-panel>img{width:300px;height:auto;max-height:none;margin-top:25px;object-fit:contain}.portrait-label{display:flex;bottom:18px;left:18px;right:18px}.portrait-label img{margin:0;width:95px}.calculator{grid-template-columns:1fr}.calculator-form{padding:26px 22px}.calculator-heading{display:flex}.example-tag{margin:0}.field-grid{gap:19px 15px}.result-panel{padding:30px 26px}.monthly-total{font-size:3.5rem}.calculator-form .button{margin-top:23px}.payment-bar{margin-top:25px}.calc-footnote{font-size:.875rem}.steps{grid-template-columns:1fr;gap:28px;margin-top:35px}.step{position:relative;padding-left:62px;min-height:135px}.step-number{position:absolute;left:0;top:18px;font-size:2.15rem}.step h3{margin-top:0}.process-actions{gap:18px;margin-top:25px}.reviews-strip{display:block;margin-top:43px;padding:28px}.reviews-strip .review-score{margin-top:23px}.reviews-strip .button{margin-top:23px}.faq-grid{display:block}.faq-intro{margin-bottom:25px}.faq-intro h2{max-width:470px}.faq-list summary{font-size:1rem;padding-block:21px}.contact-grid{grid-template-columns:1fr;gap:38px}.contact-section h2{font-size:3.1rem}.contact-actions .button{flex:1}.contact-card{padding:27px}.contact-method a{font-size:1.08rem}.footer{padding-bottom:95px}.footer-top{align-items:flex-start;gap:25px}.footer-logo{width:116px}.footer-top p{max-width:230px}.footer-links{gap:6px 20px}.footer-bottom{display:block}.footer-bottom a{display:inline-block;margin-top:10px}.mobile-bottom{display:flex;position:fixed;z-index:25;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:10px}.mobile-bottom a{flex:1;min-height:46px;padding:10px 14px;font-size:.875rem}.document{padding:40px 0 60px}.resource-grid{grid-template-columns:1fr}}
@media(max-width:380px){.goal-grid{grid-template-columns:1fr}.hero h1{font-size:2.85rem}.hero-actions{flex-direction:column}.hero-photo{height:300px}.hero-person{gap:12px;left:14px;right:14px}.person-arrow{display:none}.field-grid{grid-template-columns:1fr}.contact-section h2{font-size:2.6rem}.contact-actions{flex-direction:column}.footer-top{display:block}.footer-logo{margin-top:22px}.calculator-heading{display:block}.example-tag{margin-top:12px}.portrait-label{display:block}.portrait-label img{margin-top:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(forced-colors:active){.button,.goal-card,.hero-person,.contact-card{border:1px solid ButtonText}.payment-bar{display:none}.goal-icon{outline:1px solid CanvasText}}
@media print{.header,.footer,.mobile-bottom,.document-nav,.print-button{display:none!important}body{font-size:11pt;color:#000}.container{width:100%}.document{max-width:none;padding:0}.document h1{font-size:26pt}.document h2{font-size:16pt}.resource-grid{display:block}.resource-grid>section{break-inside:avoid;background:none;padding:0;margin:20px 0}.document .notice{border:1px solid #555;background:none}a{color:#000}.document .button{display:none}}

/* Blue and white brand, original lender artwork, and accessible reflow. */
.header-lender-logo{width:104px;height:auto;flex:none;border-left:1px solid var(--line);padding-left:14px;box-sizing:content-box;object-fit:contain}
.brand-description{display:none}
.breadcrumbs{padding-block:20px;font-size:.875rem;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:0}
.breadcrumbs li+li::before{content:'/';margin-right:16px;color:var(--muted)}
.breadcrumbs a{display:inline-flex;align-items:center;min-height:28px}
.page-heading{padding-block:20px 38px}.page-heading h1{font-size:clamp(2rem,4vw,3.4rem);max-width:1050px}
.desktop-nav a[aria-current=page],.mobile-nav a[aria-current=page]{color:var(--blue);text-decoration:underline;text-decoration-thickness:2px}
.hero-copy,.about-copy,.calculator-form,.result-panel,.contact-card,.contact-grid>div,.field,.goal-card{min-width:0}
.field input[aria-invalid=true],.field select[aria-invalid=true]{border:2px solid var(--error)}
.field-error{color:var(--error);margin-top:8px;font-size:.875rem}
.document p a,.faq-list p a{overflow-wrap:anywhere}
.hero-actions .button{white-space:normal}
.menu-toggle{border-color:#617e9e}.brand,.header-lender-logo{max-width:100%}
@media(max-width:1180px){.header-inner{gap:18px}.header-lender-logo{width:94px;padding-left:12px}}
@media(max-width:960px){.header{position:relative}.header-inner{flex-wrap:wrap;padding-block:12px}.mobile-nav{max-height:60vh;overflow-y:auto}.header-cta{margin-left:auto}html{scroll-padding-top:24px}}
@media(max-width:720px){.header-inner{gap:12px}.brand img{width:120px}.header-lender-logo{width:86px;padding-left:12px}.menu-toggle{padding-inline:12px}.page-heading{padding-bottom:25px}.page-heading h1{font-size:2.1rem}.hero-person{max-width:calc(100% - 40px)}.hero-person>div{min-width:0}.hero-person p{line-height:1.4}.hero-actions .button{flex-basis:200px}}
@media(max-width:380px){.header-inner{gap:10px}.brand img{width:104px}.header-lender-logo{width:74px;padding-left:10px}.menu-toggle{padding-inline:9px}.container{width:calc(100% - 32px)}.hero-person{max-width:calc(100% - 28px)}.contact-card-top{flex-wrap:wrap}}
@media(max-height:500px){.header{position:relative}.mobile-bottom{position:static}.footer{padding-bottom:30px}}

/* Shared visual system */
:root {
  --ink: #1d1d1f;
  --deep: #18181b;
  --blue: #005cb9;
  --soft: #f5f5f7;
  --muted: #515158;
  --line: #dedee3;
  --focus: #005cb9;
  --radius: 28px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
body { line-height: 1.55; }
.container { width: min(1152px, calc(100% - 72px)); }
h1, h2, h3 { font-weight: 660; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; }
.eyebrow { color: var(--blue); letter-spacing: .085em; font-size: .75rem; }
.serif { font: inherit; }
.button { border-radius: 999px; gap: 10px; }
.button-primary { background: var(--blue); }
.button-primary:hover { background: #004d9b; }
.button-outline { border-color: #777780; }
.text-link { color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.header { background: #fffffff2; backdrop-filter: blur(18px); border-color: var(--line); }
.header-inner { min-height: 70px; }
.brand img { width: 148px; }
.header-cta { padding: 9px 17px; font-size: .8125rem; min-height: 42px; }
.desktop-nav a { font-weight: 500; }
.menu-toggle { border-radius: 999px; }

.hero { background: #fff; color: var(--ink); padding-bottom: 12px; }
.hero-grid {
  display: block;
  width: min(1248px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 0;
}
.hero-copy { padding: 67px 16px 42px; text-align: center; align-items: center; }
.hero .eyebrow { color: var(--blue); }
.hero h1 {
  font-size: clamp(3.25rem, 7.2vw, 6.5rem);
  max-width: 100%;
  line-height: .99;
  letter-spacing: -.075em;
  margin-top: 16px;
}
.hero h1 span { display: block; color: var(--blue); }
.hero-copy > p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 560px; margin-top: 20px; line-height: 1.5; }
.hero-actions { justify-content: center; margin-top: 23px; }
.hero-actions .button { width: auto; flex: 0 1 auto; }
.hero-photo { height: clamp(320px, 39vw, 520px); border-radius: 32px; background: var(--soft); }
.hero-photo > img { object-position: center 58%; }
.hero-person { max-width: 365px; border-radius: 20px; padding: 13px 15px; background: #fffffff5; }
.hero-person .avatar { width: 50px; height: 50px; }
.person-arrow { color: var(--blue); }
.trust-inner { padding-block: 30px 38px; }
.trust-stat { font-weight: 650; }
.trust-item p { color: var(--muted); }

.goals, .faq-section { background: var(--soft); }
.goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.goal-card, .goal-card:first-child { min-height: 238px; padding: 29px; border-radius: var(--radius); background: white; color: var(--ink); border-color: transparent; }
.goal-card:first-child { background: #e7f1ff; }
.goal-card:hover, .goal-card:first-child:hover { border-color: var(--blue); }
.goal-card:first-child p { color: var(--muted); }
.goal-card .goal-icon, .goal-card:first-child .goal-icon { background: #e7f1ff; color: var(--blue); }
.goal-card:first-child .goal-icon { background: #fff; }
.goal-card .card-action { color: var(--blue); }
.portrait-panel { background: linear-gradient(145deg, #f5f5f7, #dceafb); border-radius: var(--radius); }
.portrait-label { border-radius: 18px; }
.credentials { margin-top: 24px; }
.credential { padding-block: 15px; }

.calculator-section { color: var(--ink); background: var(--soft); }
.calculator-section .eyebrow { color: var(--blue); }
.calculator-section .section-top > p, .calc-footnote { color: var(--muted); }
.calculator { border: 1px solid var(--line); border-radius: var(--radius); }
.result-panel { background: #eaf3fc; }
.monthly-total { font-weight: 670; }
.payment-bar { border-radius: 99px; }
.reviews-strip, .resource-grid > section { border-radius: var(--radius); }
.step { border-color: var(--line); }
.step-number { font: 650 2rem/1.2 var(--sans); letter-spacing: -.06em; }
.faq-list details, .faq-list details:first-child { border-color: var(--line); }
.contact-section .eyebrow { color: #a9d2ff; }
.contact-section h2 .serif { color: #a9d2ff; }
.contact-card { background: #25252b; border-color: #62626d; border-radius: var(--radius); }
.contact-method { border-color: #62626d; }
.contact-section p, .contact-method .label { color: #dddde4; }
.contact-section .button-outline:hover { background: #32323a; }
.footer { background: var(--soft); }
.footer-links a, .legal-copy, .footer-bottom { color: var(--muted); }
.page-heading { padding-block: 22px 38px; }
.page-heading h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
.page-heading + .section { padding-top: 56px; }

@media (max-width: 960px) {
  .container { width: calc(100% - 56px); }
  .trust-stat { font-size: 1.6rem; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; padding-block: 8px; }
  .hero-grid { width: calc(100% - 24px); }
  .hero-copy { padding: 48px 8px 30px; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 4rem); }
  .hero-photo { height: 330px; border-radius: 24px; }
  .hero-person { bottom: 14px; left: 14px; right: 14px; max-width: 365px; }
  .trust-inner { padding-block: 22px 26px; }
  .goal-card, .goal-card:first-child { padding: 21px; min-height: 222px; border-radius: 22px; }
  .page-heading + .section { padding-top: 38px; }
}
@media (max-width: 500px) {
  .goal-grid { grid-template-columns: 1fr; }
  .goal-card, .goal-card:first-child { min-height: 0; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand img { width: 116px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .button { min-height: 46px; padding-inline: 14px; }
  .hero-photo { height: 285px; }
}

.municipality-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px 20px; }
.municipality-list li { margin-bottom: 0; }
@media (min-width: 961px) and (max-width: 1060px) {
  .desktop-nav { gap: 13px; }
  .header-inner { gap: 13px; }
}

.borrower-resources .resource-grid { margin-top: 30px; }
.borrower-resources .resource-grid p { margin-top: 12px; }
.borrower-resources .text-link { margin-top: 12px; }
.comparison-scroll { overflow-x: auto; }
.comparison-table { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comparison-table caption { text-align: left; color: var(--muted); padding: 12px 0; }
.comparison-table th, .comparison-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.comparison-table thead, .comparison-table tbody tr:last-child { background: var(--soft); }
.cash-estimator { padding: 24px; margin-block: 24px; background: var(--soft); border-radius: var(--radius); }
.cash-estimator h3 { margin-top: 0; }
.cash-estimator output { font-weight: 650; }
.cash-estimator .button { margin-top: 16px; }

/* Keep focused content clear of navigation at narrow widths and high zoom. */
@media screen and (max-width: 720px) {
  html { scroll-padding-bottom: 24px; }
  .mobile-bottom { position: static; padding: 0 20px 24px; border: 0; background: transparent; }
  .footer { padding-bottom: 30px; }
  .result-loan, .breakdown > div { flex-wrap: wrap; gap: 4px 12px; }
  .document-nav { gap: 8px 20px; }
}
@media screen and (max-width: 380px) {
  .contact-card, .calculator-form, .result-panel, .cash-estimator { padding-inline: 18px; }
  .hero-person { gap: 10px; }
}
.document-nav a, .resource-grid a { min-height: 24px; }
.document-nav a { display: inline-flex; align-items: center; }
.resource-grid h2, .resource-grid p, .document-nav a { overflow-wrap: anywhere; }
.comparison-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.partner-intro { text-align: center; padding-block: 64px 40px; }
.partner-monogram { display: grid; place-items: center; margin: 22px auto 12px; width: 64px; aspect-ratio: 1; border-radius: 50%; background: var(--soft); font-weight: 650; }
.partner-intro h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.partner-role { color: var(--muted); margin-top: 6px; }
.partner-intro h2 { margin: 30px 0 16px; font-size: clamp(2.4rem, 7vw, 5.5rem); }
.partner-intro > p:last-of-type { max-width: 580px; margin-inline: auto; color: var(--muted); }
.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.partner-intro .partner-actions { justify-content: center; }
.partner-image img { width: 100%; height: clamp(220px, 38vw, 460px); object-fit: cover; border-radius: var(--radius); }
.partner-steps { margin-top: 26px; }
.partner-steps h3 { margin-top: 8px; }
.partner-lender-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 32px; border-radius: var(--radius); padding: clamp(22px, 5vw, 48px); background: var(--soft); }
.partner-lender-card img { width: 100%; max-height: 320px; object-fit: cover; object-position: top; border-radius: 20px; }
.partner-lender-card p { margin-block: 10px; overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .partner-lender-card { grid-template-columns: 1fr; }
  .partner-lender-card img { max-width: 190px; }
}

.partner-welcome { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,6vw,78px); align-items: center; min-height: 78vh; padding-block: 60px; }
.partner-brokerage { display: flex; align-items: center; gap: 10px; font-weight: 650; margin-block: 20px; }
.partner-intro .partner-brokerage { justify-content: center; }
.partner-welcome .partner-monogram { margin-inline: 0; }
.partner-welcome h1 { font-size: clamp(2.25rem,5vw,4.25rem); }
.partner-welcome h2 { font-size: clamp(1.35rem,3vw,2rem); margin: 20px 0 10px; }
.partner-welcome p { color: var(--muted); }
.partner-intake { border-radius: var(--radius); background: var(--soft); padding: clamp(20px,4vw,40px); }
.partner-intake h2 { margin-top: 0; }
.partner-intake .field-grid { margin-block: 22px; }
.partner-intake .button { width: 100%; }
.partner-footer { padding-block: 25px; color: var(--muted); font-size: .875rem; border-top: 1px solid var(--line); }
.partner-intro #partner-title { font-size: clamp(2.6rem,7vw,5rem); margin-block: 14px 6px; }
.partner-headline { font-weight: 650; letter-spacing: -.04em; line-height: 1.1; font-size: clamp(1.7rem,4vw,3.2rem); margin-block: 22px 14px; }
@media(max-width: 760px) { .partner-welcome { grid-template-columns: 1fr; padding-block: 32px; } }

.partner-steve-summary { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.partner-steve-summary h3 { font-size: 1.2rem; }
.partner-credentials { padding-left: 1.25rem; margin-block: 12px; }
.partner-credentials li + li { margin-top: 4px; }
.partner-closing h2 { max-width: 800px; }
.partner-closing .small { margin-top: 16px; }

.welcome-steve-photo img { width: 76px; height: 76px; object-fit: cover; object-position: center 10%; border-radius: 50%; background: var(--soft); margin-bottom: 12px; }
.partner-steve-summary .small { margin-top: 14px; }

.crm { padding-block: 52px; }
.crm-header h1 { font-size: clamp(2.7rem,7vw,5rem); margin-block: 10px; }
.crm-header p,.crm section > p { color: var(--muted); }
.crm > section { margin-top: 42px; }
.crm-grid { margin-top: 22px; }
.crm-grid h3 { margin-bottom: 16px; }
.crm-grid textarea { width: 100%; min-height: 50px; padding: 8px; border: 1px solid #617e9e; border-radius: 7px; }
.crm-grid input[type=file] { font-size: .82rem; }
.crm-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 12px; margin-top: 20px; }
.crm-metrics div { padding: 18px; background: var(--soft); border-radius: 18px; }
.crm-metrics strong { display: block; font-size: 1.8rem; }
.crm-list { margin-top: 30px; }
.crm-list .field { max-width: 360px; margin-block: 12px; }
.crm li { overflow-wrap: anywhere; margin-bottom: 10px; }
.crm-status { margin-top: 20px; }
.crm-draft { white-space: pre-wrap; }
.partner-monogram img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.partner-brokerage img { object-fit: contain; }
@media (max-width: 920px) { .crm-grid { grid-template-columns: 1fr; } }

.crm-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px; margin-bottom: 30px; background: var(--soft); border-radius: 16px; }
.crm-nav button { border: 0; border-radius: 10px; background: transparent; min-height: 44px; padding: 8px 15px; }
.crm-nav button[aria-pressed=true] { background: var(--blue); color: #fff; }
.crm-table-wrap { overflow-x: auto; margin-block: 20px 28px; border: 1px solid var(--line); border-radius: 16px; }
.crm-table { border-collapse: collapse; width: 100%; min-width: 470px; text-align: left; }
.crm-table th, .crm-table td { padding: 14px; border-bottom: 1px solid var(--line); }
.crm-table th { background: var(--soft); }
.crm-table tr:last-child td { border-bottom: 0; }
.crm-agenda { padding: 0; list-style: none; }
.crm-agenda li { padding: 14px; border-bottom: 1px solid var(--line); }
.crm-agenda time { display: inline-block; min-width: 110px; font-weight: 650; }
#crm-month { margin-top: 24px; }
#crm-tasks small { display: block; color: var(--muted); }

.crm { width: min(1520px,calc(100% - 48px)); padding-block: 30px; }
.crm-header h1 { font-size: clamp(2rem,5vw,3.2rem); }
#lender-workspace { display: grid; grid-template-columns: 218px minmax(0,1fr); align-items: start; gap: 24px; margin-top: 24px; }
.crm-sidebar { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; }
.crm-brand img { width: 145px; height: auto; }
.crm-workspace-label { background: var(--soft); padding: 12px; border-radius: 12px; margin-block: 18px; }
.crm-workspace-label span { display: block; font-size: .8rem; color: var(--muted); }
.crm-sidebar .crm-nav { display: grid; margin: 0; padding: 0; background: none; }
.crm-sidebar .crm-nav button { text-align: left; font-weight: 600; }
.crm-content { min-width: 0; min-height: 540px; background: var(--soft); border-radius: 20px; padding: clamp(16px,2.5vw,32px); }
.crm-content h2,#agent-workspace h2 { font-size: clamp(1.9rem,4vw,2.8rem); }
.crm-page-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.crm-content .crm-metrics div,.crm-content .crm-grid > section,.crm-report { background: #fff; border: 1px solid var(--line); }
.crm-report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.crm-report { padding: 19px; border-radius: 16px; }
.crm-report h3 { font-size: 1.1rem; }
.crm-report p { font-size: .875rem; }
.crm-chart { margin-top: 17px; }
.crm-bar-row + .crm-bar-row { margin-top: 12px; }
.crm-bar-row strong { font-size: .8rem; overflow-wrap: anywhere; }
.crm-track { height: 7px; border-radius: 8px; background: #e4e8ee; overflow: hidden; }
.crm-track div { height: 100%; }
.crm-ring { width: 104px; aspect-ratio: 1; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 650; background: radial-gradient(circle closest-side,#fff 82%,transparent 84%),conic-gradient(#078557 var(--share),#e4e8ee 0); }
#crm-closed-chart { text-align: center; }
.crm-table { background: #fff; }
@media (max-width: 1000px) { .crm-report-grid { grid-template-columns: repeat(auto-fit,minmax(175px,1fr)); } }
@media (max-width: 720px) {
  #lender-workspace { grid-template-columns: 1fr; }
  .crm-sidebar { position: static; }
  .crm-sidebar .crm-nav { display: flex; }
}

#lender-workspace { gap: 0; grid-template-columns: 235px minmax(0,1fr); border: 1px solid var(--line); border-radius: 20px; background: #f1f2f4; }
.crm-sidebar { background: transparent; border: 0; top: 10px; padding: 22px 14px; }
.crm-sidebar .crm-nav { gap: 4px; }
.crm-sidebar .crm-nav button[aria-pressed=true] { color: #063885; background: #d5e6ff; }
.crm-owner { display: flex; align-items: center; gap: 10px; padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line); }
.crm-owner img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 12%; background: #fff; }
.crm-owner span { display: block; font-size: .8rem; color: var(--muted); }
.crm-content { background: #fafafa; border-radius: 0 20px 20px 0; }
.crm-toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.crm-toolbar form { flex: 1; max-width: 630px; }
.crm-toolbar input { width: 100%; min-height: 44px; border: 1px solid #777780; border-radius: 12px; padding-inline: 14px; background: #fff; }
.crm-page-heading h2 { font-size: clamp(2rem,4.5vw,3.6rem); }
.crm-page-heading p { color: var(--muted); margin-top: 4px; }
#crm-new { background: #18181b; }
.crm-metrics div { display: flex; flex-direction: column-reverse; justify-content: start; }
.crm-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 16px; margin-top: 20px; }
.crm-dashboard-grid h3 { font-size: clamp(1.2rem,2vw,1.6rem); }
.crm-dashboard-grid .crm-table-wrap { margin-bottom: 0; }
.crm-dashboard-grid .crm-table { min-width: 390px; }
.crm-dashboard-grid .crm-table td,.crm-dashboard-grid .crm-table th { padding: 10px; }
.crm-bar-row .crm-track { height: 12px; margin-top: 4px; }
.crm-bar-row .crm-track div { background: linear-gradient(90deg,#1f58a9,#76aefa); border-radius: 8px; }
#crm-reminders { padding: 0; list-style: none; }
#crm-reminders li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.crm-provider-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }
.crm-provider-buttons button { border: 1px solid #777780; border-radius: 10px; background: #fff; padding: 9px 12px; min-height: 44px; }
.crm-provider-buttons button[aria-pressed=true] { background: #e6f0ff; border-color: var(--blue); color: #063885; }
@media (max-width: 1000px) { .crm-dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  #lender-workspace { grid-template-columns: 1fr; }
  .crm-content { border-radius: 0 0 20px 20px; }
  .crm-owner { display: none; }
}

.crm:has(#lender-workspace:not([hidden])) { width: 100%; padding: 0; }
#lender-workspace { margin: 0; border: 0; border-radius: 0; grid-template-columns: clamp(230px,19.8vw,304px) minmax(0,1fr); min-height: 100vh; }
.crm-sidebar { top: 0; padding: 18px 14px 24px; min-height: min(100vh,1024px); display: flex; flex-direction: column; }
.crm-brand { padding-inline: 20px; margin-bottom: 42px; }
.crm-brand strong { font-size: clamp(1.4rem,2.1vw,2rem); letter-spacing: -.05em; display: block; }
.crm-brand span,.crm-owner span { text-transform: uppercase; letter-spacing: .18em; }
.crm-sidebar .crm-nav button { display: flex; align-items: center; gap: 20px; min-height: clamp(44px,3.6vw,56px); padding: 6px 18px; font-size: clamp(.95rem,1.35vw,1.25rem); font-weight: 500; }
.crm-sidebar .crm-nav img,.crm-provider-buttons img,#crm-alerts img { mix-blend-mode: multiply; flex: none; }
.crm-sidebar .crm-nav button:disabled { color: var(--ink); cursor: default; }
.crm-owner { margin: auto 10px 0; padding-top: 24px; }
.crm-owner img { width: 64px; height: 64px; }
.crm-content { padding: 17px clamp(18px,2vw,32px) 36px; border-radius: 0; }
.crm-toolbar { margin-bottom: 38px; }
.crm-toolbar form { max-width: 756px; }
.crm-toolbar input { padding-left: 60px; background: #fafafa url('/assets/crm-icons/search.png') 17px center / 26px 26px no-repeat; }
#crm-alerts { border: 0; padding: 0; }
.crm-heading-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.crm-heading-actions select { border: 1px solid #777780; border-radius: 12px; background: #fafafa; min-height: 46px; padding: 8px 14px; color: var(--ink); }
.crm-page-heading h2 { font-size: clamp(2rem,3.5vw,3.4rem); }
.crm-page-heading p { font-size: clamp(1rem,1.8vw,1.7rem); }
#crm-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 34px; }
#crm-metrics > div { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; padding: 17px; border-radius: 16px; }
#crm-metrics > div > div { display: block; background: transparent; border: 0; padding: 0; min-width: 0; overflow-wrap: anywhere; }
#crm-metrics img { flex: none; width: clamp(36px,3.8vw,58px); height: auto; }
#crm-metrics strong { font-size: clamp(1.35rem,2.75vw,2.65rem); }
.crm-dashboard-grid { margin-top: 26px; gap: 24px 16px; }
.crm-report { border-radius: 16px; }
.crm-dashboard-grid h3 { font-size: clamp(1.3rem,2vw,1.9rem); }
.crm-bar-row { display: grid; grid-template-columns: minmax(90px,1fr) 24px minmax(0,3fr); align-items: center; gap: 10px; }
.crm-bar-row strong { font-size: 1rem; font-weight: 500; }
.crm-bar-row .crm-track { position: relative; height: 28px; margin: 0; }
.crm-bar-percent { position: absolute; inset: 0 10px 0 auto; color: var(--ink); }
#crm-reminders li { display: flex; align-items: center; gap: 12px; }
#crm-reminders button { border: 0; background: none; text-align: left; min-height: 44px; flex: 1; }
#crm-reminders button::after { content: '›'; float: right; }
.crm-provider-buttons button { display: flex; align-items: center; gap: 6px; }
#crm-integration-settings { width: 100%; border-radius: 12px; }
#agent-heading { margin-top: 16px; }
@media(max-width: 1150px) { #crm-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 720px) {
  #lender-workspace { grid-template-columns: 1fr; }
  .crm-sidebar { min-height: 0; }
  .crm-brand { margin-bottom: 14px; }
  .crm-sidebar .crm-nav button { gap: 8px; padding-inline: 8px; }
  .crm-sidebar .crm-nav img { width: 24px; height: 24px; }
}
@media(max-width: 410px) { #crm-metrics { grid-template-columns: 1fr; } }

.crm-nav button[data-crm-view=contacts][aria-pressed=true] img { content: url('/assets/crm-icons/contact-active.png'); }
#crm-add-contact { background: #111; border-radius: 13px; }
.contact-directory-grid { display: grid; grid-template-columns: minmax(0,1.39fr) minmax(0,1fr); gap: 14px; margin-top: 26px; }
.contact-directory,.contact-inspector { min-width: 0; background: #fbfbfc; border: 1px solid var(--line); border-radius: 15px; padding: 15px; min-height: 650px; }
.contact-segments,.contact-search,.contact-actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-segments button,.contact-search button,.contact-actions-row > * { min-height: 42px; border: 1px solid var(--line); background: #fbfbfc; border-radius: 12px; padding: 7px 14px; }
.contact-segments button[aria-pressed=true] { background: #d6e6ff; border-color: #d6e6ff; color: #063885; font-weight: 650; }
.contact-search { margin-block: 24px 14px; }
.contact-search input { flex: 1; min-width: 120px; min-height: 46px; border: 1px solid #a2aab7; border-radius: 12px; padding: 8px 12px 8px 46px; background: #fafafa url('/assets/crm-icons/search.png') 12px center / 23px no-repeat; }
.contact-search button,.contact-actions-row > * { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.contact-search img,.contact-actions-row img { width: 24px; height: 24px; mix-blend-mode: multiply; }
.contact-table-scroll { overflow-x: auto; }
.contact-table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: left; min-width: 465px; }
.contact-table th,.contact-table td { padding: 14px 9px; border-bottom: 1px solid var(--line); }
.contact-table th { font-size: .78rem; text-transform: uppercase; white-space: nowrap; }
.contact-table button { background: none; border: 0; min-height: 36px; padding: 0; text-align: left; font-weight: 650; }
.contact-table tr:has(button[aria-pressed=true]) td { background: #dce8fb; }
.contact-table td:first-child { border-radius: 10px 0 0 10px; }
.contact-table td:last-child { border-radius: 0 10px 10px 0; }
.contact-chip { display: inline-block; background: #e1ecff; color: #063885; border-radius: 999px; padding: 4px 9px; white-space: nowrap; font-size: .84rem; }
.contact-chip.stage { background: #edf0f5; color: #243047; }
.contact-identity { display: flex; gap: 16px; align-items: center; }
.contact-identity h3 { font-size: clamp(1.3rem,2.2vw,2rem); overflow-wrap: anywhere; }
.contact-identity p { color: var(--muted); }
.contact-initials { display: grid; place-items: center; width: 66px; height: 66px; flex: none; background: #dce9ff; color: #123b78; border-radius: 15px; font-size: 1.75rem; font-weight: 700; }
.contact-actions-row { margin-block: 12px 18px; }
.contact-actions-row > * { flex: 1; }
.contact-detail-tabs { gap: 3px; margin-bottom: 14px; }
.contact-detail-tabs button { flex: 1; }
.contact-detail-card { display: flex; gap: 13px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; margin-bottom: 10px; }
.contact-detail-card img { flex: none; width: 40px; height: 40px; }
.contact-detail-card h4 { margin: 0 0 3px; font-size: 1.06rem; }
.contact-detail-card p { overflow-wrap: anywhere; white-space: pre-wrap; }
#crm-contact-editor { width: min(640px,calc(100% - 30px)); max-height: calc(100% - 30px); border: 1px solid var(--line); border-radius: 18px; padding: 24px; color: var(--ink); }
#crm-contact-editor::backdrop { background: #171d2b66; }
#crm-contact-editor h3 { margin-bottom: 16px; }
#crm-contact-editor textarea { width: 100%; }
@media(max-width: 1120px) { .contact-directory-grid { grid-template-columns: 1fr; } .contact-directory,.contact-inspector { min-height: 0; } }

.crm-nav button[data-crm-view=calendar][aria-pressed=true] img { content: url('/assets/crm-icons/calendar-active.png'); }
#crm-new-event { background: #111; border-radius: 13px; }
.crm-calendar-layout { display: grid; grid-template-columns: minmax(0,2.25fr) minmax(0,1fr); gap: 12px; margin-top: 26px; }
.crm-calendar-board,.crm-calendar-side { min-width: 0; background: #fcfcfd; border: 1px solid var(--line); border-radius: 16px; }
.crm-calendar-board { padding: 16px 14px 28px; }
.crm-calendar-side section { padding: 18px 13px; }
.crm-calendar-side section + section { border-top: 1px solid var(--line); }
.crm-calendar-side h3 { font-size: clamp(1.2rem,2vw,1.8rem); margin-bottom: 18px; }
.crm-calendar-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.crm-calendar-controls > button,.crm-cal-day { border: 1px solid var(--line); background: #fcfcfd; border-radius: 10px; min-height: 42px; padding: 6px 12px; }
.crm-calendar-controls h3#crm-month { flex: 1; margin: 0 8px; font-size: clamp(1rem,1.55vw,1.35rem); }
.crm-calendar-controls .contact-segments { gap: 3px; }
.crm-calendar-controls .contact-segments button { padding-inline: 9px; }
.crm-calendar-scroll { overflow-x: auto; }
.crm-week-grid { display: grid; grid-template-columns: 62px repeat(var(--days),minmax(98px,1fr)); min-width: calc(62px + var(--days)*98px); }
.crm-week-grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crm-cal-day { font-weight: 650; border-radius: 9px 9px 0 0; }
.crm-cal-day[aria-pressed=true] { background: #dce9ff; color: #0646ad; }
.crm-cal-hour,.crm-cal-cell { min-height: 64px; padding: 6px; }
.crm-cal-hour { font-size: .87rem; }
.crm-cal-cell.selected { background: #eef4fd; }
.crm-cal-event { background: #d4e6ff; color: #15233c; border-radius: 8px; padding: 7px; margin-bottom: 4px; overflow-wrap: anywhere; font-size: .86rem; font-weight: 650; line-height: 1.2; }
.crm-cal-event[data-kind=Closing] { background: #d5efdc; }
.crm-cal-event[data-kind="Follow-up"] { background: #eadffb; }
.crm-cal-event[data-kind="Rate lock"] { background: #fff0ca; }
.crm-cal-event[data-kind=Anniversary] { background: #e5edf9; }
.crm-month-grid { display: grid; grid-template-columns: repeat(7,minmax(90px,1fr)); min-width: 630px; gap: 1px; background: var(--line); }
.crm-month-grid > * { min-height: 72px; background: #fcfcfd; padding: 5px; }
.crm-month-grid > strong { min-height: 0; text-align: center; }
.crm-month-cell button { width: 100%; }
.crm-calendar-side .crm-agenda { margin: 0; }
.crm-calendar-side .crm-agenda li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 10px; }
.crm-agenda-time { padding: 7px 8px; border-radius: 8px; background: #e7effe; color: #063885; white-space: nowrap; font-weight: 650; }
#crm-event-dialog { width: min(560px,calc(100% - 30px)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; color: var(--ink); }
#crm-event-dialog::backdrop { background: #171d2b66; }
#crm-event-dialog h3 { margin-bottom: 16px; }
@media(max-width: 1080px) { .crm-calendar-layout { grid-template-columns: 1fr; } }
button.crm-cal-event { display: block; width: 100%; border: 0; text-align: left; min-height: 28px; }
.crm-calendar-item-link { background: none; border: 0; text-align: left; padding: 3px 0; min-height: 28px; }
.crm-calendar-item-link:hover,.crm-cal-event:hover { text-decoration: underline; }

.crm-partner-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.crm-partner-actions .button { min-height: 38px; padding: 5px 12px; }
#crm-partner-editor,#crm-invite-dialog { width: min(620px,calc(100% - 32px)); max-height: calc(100% - 32px); border: 1px solid var(--line); border-radius: 18px; padding: 24px; color: var(--ink); }
#crm-partner-editor::backdrop,#crm-invite-dialog::backdrop { background: #171d2b66; }
#crm-partner-editor h3,#crm-invite-dialog h3 { margin-bottom: 16px; }
#crm-invite-dialog label { display: block; margin-top: 12px; }
#crm-invite-message { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }

.invite-page { max-width: 900px; padding-block: 26px 44px; }
.invite-brand { display: block; width: 220px; height: auto; }
.invite-hero { text-align: center; border-top: 1px solid var(--line); margin-top: 18px; padding-block: 34px 22px; }
.invite-hero h1 { font-size: clamp(2rem,5vw,3.1rem); margin: 18px 0 8px; }
.invite-portrait { width: 110px; height: 110px; object-fit: cover; object-position: center 10%; border-radius: 50%; margin: auto; background: var(--soft); }
.invite-identity,.invite-benefit { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 16px; margin-block: 14px; padding: clamp(14px,4vw,25px); overflow-wrap: anywhere; }
.invite-identity h2,.invite-benefit h2 { font-size: 1.5rem; }
.invite-benefit { background: #e8f1ff; }
.invite-benefit img { flex: none; }
#accept-form,.invite-help,.invite-legal { text-align: center; margin-top: 20px; }
#accept-form p,#accept-form details { margin: 12px auto; }
#accept-form button,.invite-email-preview .button { background: #111; border-radius: 12px; }
.invite-legal { border-top: 1px solid var(--line); padding-top: 20px; }
.invite-legal img,.invite-email-lender { width: 145px; height: auto; margin: 0 auto 8px; }
.invite-email-preview { background: #fafbfd; border: 1px solid var(--line); border-radius: 15px; padding: 18px; margin-block: 14px; }
.invite-email-preview h4 { font-size: 1.55rem; margin-block: 10px; }
.invite-email-preview .eyebrow,.invite-email-preview > p { margin-block: 10px; }
#crm-notification-dialog { width: min(520px,calc(100% - 28px)); padding: 24px; border: 1px solid var(--line); border-radius: 16px; }

.invite-terms { text-align: left; padding: 16px; }
.invite-terms h3 { margin-top: 14px; }

.connected-crm { max-width: 68rem; }
.connected-crm h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.connected-crm section { margin-top: 1.5rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; }
.connected-crm .resource-grid { align-items: end; }
#live-partners { list-style: none; padding: 0; margin-block: 1.5rem; }
#live-partners li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; padding-block: .9rem; border-top: 1px solid var(--line); }
#live-partners li div > span { display: block; font-size: .9rem; overflow-wrap: anywhere; }
#live-partners li [role="status"]:not(:empty) { margin-top: .4rem; }
.invite-page #accept-status { text-align: center; }
.invite-page #accept-verify:not([hidden]) { display: flex; margin: 1rem auto; }

/* Compact site navigation and shared account entry. */
.header-inner { gap:clamp(.5rem,2vw,1.5rem); }
.header-inner .brand-description { display:none; }
.header-signin { margin-left:auto; display:inline-flex; align-items:center; min-height:44px; white-space:nowrap; text-decoration:none; font-weight:600; }
.header-signin:hover { text-decoration:underline; }
.header-inner .header-cta { margin-left:0; }
.header-inner .menu-toggle { display:block; margin-left:0; min-width:4rem; }
.mobile-nav:not([hidden]) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); column-gap:1.5rem; }
.auth-page { display:grid; place-items:center; min-height:70vh; padding-block:3rem; }
.auth-card { width:min(100%,56rem); padding:clamp(1.25rem,5vw,3rem); border:1px solid var(--line); border-radius:1.5rem; background:#fff; box-shadow:0 16px 48px rgba(18,34,57,.07); }
.auth-brand { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem; padding-bottom:1.25rem; border-bottom:1px solid var(--line); }
.auth-brand img { width:9rem; height:auto; }
.auth-brand a img { width:13rem; }
.auth-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1rem,4vw,2.5rem); padding-top:1.5rem; }
.auth-layout h1,.auth-layout h2 { font-size:clamp(1.65rem,3.5vw,2.5rem); margin:0 0 .5rem; }
.auth-card form { display:grid; gap:1rem; margin-top:1.5rem; }
.auth-card form button { width:100%; }
.auth-client { background:var(--soft); border-radius:1rem; padding:clamp(1rem,4vw,2rem); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:.75rem; }
#signin-status { margin:0; }
#signin-status:empty { display:none; }
@media(max-width:720px) {
  .auth-layout { grid-template-columns:1fr; }
  .auth-page { min-height:0; padding-block:1.5rem; }
}
@media(max-width:400px) {
  .header-inner .header-lender-logo { display:none; }
}
.crm-vendors { grid-column:1/-1; min-width:0; border:1px solid var(--line); border-radius:10px; padding:12px; }
.crm-vendors legend { padding-inline:6px; font-weight:650; }
#crm-vendor-options,#crm-partner-vendor-options { display:flex; flex-wrap:wrap; gap:8px 16px; margin-bottom:10px; }
.crm-vendors .field { max-width:24rem; margin-bottom:8px; }
.contact-directory-grid:has(.contact-inspector[hidden]) { grid-template-columns:minmax(0,1fr); }
.contact-directory { min-height:0; }
.contact-filter-grid { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.contact-filter-grid .field { flex:1 1 11rem; }
#crm-contact-count { margin:12px 0; }
#crm-close-contact { margin-bottom:12px; }
.contact-actions-row { flex-wrap:wrap; }
#crm-loan-editor { width:min(640px,calc(100% - 30px)); max-height:calc(100% - 30px); border:1px solid var(--line); border-radius:18px; padding:24px; color:var(--ink); }
#crm-loan-editor::backdrop { background:#171d2b66; }
#crm-loan-editor h3 { margin-bottom:16px; }

#partner-landing .partner-monogram {
  width: clamp(104px, 13vw, 152px);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.realtor-office { display:grid; gap:1rem; }
.realtor-office section { background:#fbfcfe; }
.realtor-office h2 { margin-top:0; }
.realtor-office img { max-width:96px; max-height:96px; object-fit:contain; margin-block:8px; }
.realtor-office .field input[type=checkbox] { width:auto; min-height:0; }
#live-clients li { padding-block:.45rem; }

.realtor-office-shell { display:grid; grid-template-columns:clamp(220px,19.8vw,304px) minmax(0,1fr); background:#f0f1f3; min-height:100vh; }
.realtor-sidebar-footer { margin-top:auto; padding:24px 18px 0; overflow-wrap:anywhere; }
.realtor-sidebar-footer .button { margin-top:16px; }
.realtor-content { padding-top:32px; }
.realtor-content .crm-metrics { grid-template-columns:minmax(0,18rem); }
.realtor-dashboard-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-top:18px; }
.realtor-content .crm-report { padding:clamp(14px,2vw,24px); min-width:0; }
.realtor-content > section > .crm-report { margin-top:18px; }
.realtor-content .crm-report h3 { margin-bottom:12px; }
.realtor-recent { list-style:none; padding:0; margin:0 0 16px; }
.realtor-recent li { padding:8px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.realtor-recent span { display:block; color:var(--muted); font-size:.875rem; }
.realtor-filters { display:grid; grid-template-columns:minmax(0,28rem); gap:12px; margin-bottom:10px; }
#live-profile,#live-page-settings { margin-top:18px; }
#live-profile img { object-fit:contain; margin-block:8px; }
.realtor-loading:has(#live-login[hidden]):has(#live-status:empty) { display:none; }
@media(max-width:960px) {
  .realtor-office-shell,.realtor-dashboard-grid { grid-template-columns:1fr; }
  .realtor-office-shell .crm-sidebar { min-height:0; }
  .realtor-office-shell .crm-brand { margin-bottom:16px; }
}
@media(max-width:500px) {
  .realtor-content .crm-metrics,.realtor-filters { grid-template-columns:1fr; }
}

.profile-image-editor { min-width:0; margin:0; padding:16px; border:1px solid var(--line); border-radius:14px; }
.profile-image-editor legend { padding:0 6px; font-weight:600; }
.profile-image-drop { padding:16px; border:1px dashed #617e9e; border-radius:10px; background:var(--soft); }
.profile-image-drop.is-dragging { outline:2px solid var(--blue); }
.profile-image-drop canvas { display:block; width:144px; max-width:100%; height:auto; margin:0 auto 12px; background:white; }
[data-image-editor=photo] canvas { border-radius:50%; }
.profile-image-drop input { display:block; width:100%; margin-top:6px; }
.profile-image-controls { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:12px; }
.profile-image-controls label { flex:1 1 100%; display:grid; gap:4px; }

#live-setup-progress { display:block; width:min(100%,26rem); height:1rem; margin:10px 0 14px; accent-color:#005eb8; }
#live-setup-progress.is-complete { accent-color:#187447; }
#live-setup-details summary { cursor:pointer; font-weight:600; margin-bottom:10px; }
#live-setup-profile,#live-save-images { margin-top:12px; }
#live-profile-images { grid-column:1/-1; }

#preapproval-dialog { width:min(660px,calc(100% - 32px)); max-height:calc(100% - 32px); border:1px solid var(--line); border-radius:18px; padding:24px; color:var(--ink); }
#preapproval-dialog::backdrop { background:#171d2b66; }
#preapproval-dialog form { margin-top:16px; }
#preapproval-dialog textarea { width:100%; min-height:80px; }
.preapproval-card { padding:16px; margin-block:12px; }
.preapproval-card .button { margin:8px 8px 0 0; }
.preapproval-borrowers { grid-column:1/-1; min-width:0; border:1px solid var(--line); border-radius:10px; }
#preapproval-borrowers,#preapproval-chosen { list-style:none; padding:0; margin:0; }
#preapproval-borrowers { max-height:12rem; overflow:auto; }
#preapproval-borrowers button { width:100%; text-align:left; min-height:44px; padding-inline:8px; }
#preapproval-borrowers button:focus-visible { outline-offset:-3px; box-shadow:none; }
#preapproval-chosen { display:flex; flex-wrap:wrap; gap:8px; }
#preapproval-chosen button { background:var(--soft); border-radius:999px; padding-inline:12px; min-height:38px; }
#preapproval-chosen:not(:empty),#preapproval-search-status:not(:empty) { margin-top:8px; }

.realtor-preapproval-hero { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding:clamp(18px,3vw,32px); margin-top:24px; background:#e8f1fd; border:1px solid #cbdff8; border-radius:18px; }
.realtor-preapproval-hero img { mix-blend-mode:multiply; }
.realtor-preapproval-hero div { flex:1 1 17rem; }
.realtor-preapproval-hero p { color:var(--muted); margin-top:6px; }
[data-realtor-panel=dashboard] .realtor-dashboard-grid { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
.realtor-setup-rows > div { display:flex; align-items:center; gap:12px; padding:8px 0; border-top:1px solid var(--line); }
.realtor-setup-rows button { margin-left:auto; }
.realtor-text-button { background:none; border:0; color:#0056ad; min-height:44px; padding:6px 0; font-weight:650; }
.realtor-text-button:hover { text-decoration:underline; }
.realtor-buyers { margin-top:18px; }
.realtor-buyers-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; border-bottom:1px solid var(--line); padding-bottom:8px; }
.realtor-content .realtor-buyers-heading h3 { margin:0; }
.realtor-buyers-heading button { margin-left:auto; }
.realtor-buyers .realtor-recent { margin:12px 0 0; }
#live-setup-images { grid-template-columns:1fr; }
#live-close-images { margin-top:12px; }
@media(max-width:700px) { [data-realtor-panel=dashboard] .realtor-dashboard-grid { grid-template-columns:1fr; } }

.image-positioner { text-align:center; margin-bottom:14px; }
.profile-image-drop .image-positioner canvas { width:min(100%,220px); cursor:grab; touch-action:none; }
.profile-image-drop .image-positioner canvas:active { cursor:grabbing; }
.profile-image-drop .image-positioner canvas:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }

.realtor-identity { display:flex; align-items:center; gap:12px; }
#live-office-photo { width:48px; height:48px; flex:none; object-fit:cover; border-radius:50%; background:#e2ebf7; }
.realtor-welcome-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.realtor-office-logo { display:grid; place-items:center; padding:6px; background:#fff; border:1px solid var(--line); border-radius:12px; }
#live-office-logo { object-fit:contain; }

#partner-landing .partner-split {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  align-items:center;
  gap:12px clamp(20px,4vw,52px);
  text-align:left;
  padding-block:20px 12px;
}
.partner-hero-copy { min-width:0; overflow-wrap:anywhere; }
.partner-hero-logo { width:min(100%,380px); height:94px; display:grid; place-items:center start; color:var(--muted); overflow:hidden; }
.partner-hero-logo img { width:100%; height:156px; max-height:none; min-height:0; object-fit:contain; object-position:left center; align-self:center; margin-block:-31px; }
#partner-landing .partner-split #partner-title { margin-block:6px 3px; font-size:clamp(2.2rem,4.2vw,3.85rem); }
.partner-split .partner-role { font-size:clamp(1.1rem,2vw,1.5rem); }
.partner-split .partner-headline { font-size:clamp(1.4rem,2.35vw,2.15rem); margin-block:9px 0; }
.partner-split > .partner-actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 2px; }
#partner-landing .partner-hero-portrait { width:min(100%,280px); margin:0 auto; overflow:hidden; }
.partner-lender-strip { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; }
.partner-lender-strip a { color:var(--blue); }
.partner-buyer-welcome {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px clamp(20px, 4vw, 48px);
  padding: clamp(18px, 3vw, 32px);
  background: #f5f5f7;
  border-radius: 20px;
}
.partner-buyer-welcome h3 {
  margin: 0 0 8px;
  font-size: clamp(2.35rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.partner-welcome-privacy strong { display: block; margin-bottom: 4px; color: var(--ink); }
.partner-buyer-welcome p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.partner-welcome-privacy { padding-inline-start: clamp(20px, 3vw, 36px); border-inline-start: 1px solid var(--line); }
@media(max-width:740px) {
  .partner-buyer-welcome { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .partner-welcome-privacy { padding: 14px 0 0; border-inline-start: 0; border-block-start: 1px solid var(--line); }
}
@media(max-width:740px) {
  #partner-landing .partner-split { grid-template-columns:minmax(0,1fr); }
  #partner-landing .partner-hero-portrait { width:min(64vw,240px); }
}

#partner-application { width: min(570px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: clamp(18px, 5vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 20px 75px #141c342b; }
#partner-application::backdrop { background: #171d2b70; }
#partner-application h2 { font-size: clamp(1.65rem, 5vw, 2.2rem); margin-bottom: 8px; }
#partner-application fieldset { border: 0; padding: 0; margin: 16px 0; min-width: 0; }
#partner-application legend { font-weight: 650; margin-bottom: 6px; }
#partner-application .field-grid { gap: 12px 18px; }
#partner-application .field input { min-height: 44px; }
#partner-application .application-toggle { display: flex; align-items: center; min-height: 44px; gap: 9px; margin-bottom: 6px; }
#partner-application [role=status]:not(:empty) { margin-top: 10px; font-size: .9375rem; }
#partner-application .partner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 480px) { #partner-application .field-grid { grid-template-columns: 1fr; } }

#live-contact-dialog { width:min(490px,calc(100% - 28px)); padding:26px; border:1px solid var(--line); border-radius:20px; color:var(--ink); }
#live-contact-dialog::backdrop { background:#171d2b70; }
#live-contact-dialog dt { font-weight:650; }
#live-contact-dialog dd { margin:0 0 12px; overflow-wrap:anywhere; }
#live-contact-dialog .partner-actions { display:flex; flex-wrap:wrap; gap:10px; }

#live-contact-request { border-top:1px solid var(--line); margin-top:18px; padding-top:16px; }
#live-contact-request > button { margin-top:16px; }
#live-request-status:not(:empty) { margin-top:12px; }
@media (max-width:520px) { #live-contact-request .field-grid { grid-template-columns:1fr; gap:12px; } }

#preapproval-dialog:has(.approval-form) { width:min(720px,calc(100% - 32px)); }
.approval-form { align-items:start; }
.approval-form .field:has(input[name="otherProperty"]) { grid-column:1; grid-row:2; }
.approval-form .field:has(input[name="otherLoan"]) { grid-column:2; grid-row:2; }
.approval-choices,.approval-remarks,.approval-form .partner-actions,.approval-form [role=status] { grid-column:1/-1; }
.approval-choices:first-child { grid-column:1; }
.approval-choices:has(input[name=loan]) { grid-column:2; }
.approval-choices { min-width:0; margin:0; padding:10px; border:1px solid var(--line); border-radius:12px; }
.approval-choices legend { padding-inline:5px; font-weight:600; }
.approval-options { display:flex; flex-wrap:wrap; gap:6px; }
.approval-options label { display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:5px 8px; border-radius:8px; cursor:pointer; }
.approval-options label:has(input:checked) { background:var(--soft); }
.approval-options input { appearance:none; display:grid; place-items:center; width:18px; height:18px; margin:0; flex:none; border:1px solid currentColor; border-radius:4px; }
.approval-options input:checked { color:#fff; background:#005bb5; border-color:#005bb5; }
.approval-options input:checked::before { content:''; width:8px; height:4px; border:solid currentColor; border-width:0 0 2px 2px; transform:translateY(-1px) rotate(-45deg); }
.approval-options input:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
@media (forced-colors:active) { .approval-options input { appearance:auto; } .approval-options input::before { display:none; } }
@media (max-width:560px) {
  .approval-form { grid-template-columns:minmax(0,1fr); }
  .approval-form > * { grid-column:1/-1 !important; grid-row:auto !important; }
}

.partner-sign-in { display:flex; justify-content:flex-end; padding-block:4px; }
.partner-sign-in .header-signin { margin:0; min-height:44px; display:inline-flex; align-items:center; }

.realtor-brand-header { grid-column:1/-1; display:flex; align-items:center; gap:24px; padding:14px clamp(16px,3vw,30px); background:#fff; border-bottom:1px solid var(--line); }
.realtor-brand-header img { width:min(54%,200px); height:auto; }
.realtor-brand-header img + img { width:min(32%,120px); }
.realtor-office-shell .crm-sidebar { align-self:start; }
.realtor-mobile-label,.realtor-mobile-shortcuts { display:none; }
@media(max-width:960px) {
  .realtor-brand-header { gap:15px; justify-content:space-between; padding:12px 16px; }
  .realtor-office-shell { display:block; min-height:100dvh; }
  .realtor-office-shell .crm-sidebar { position:fixed; inset:auto 0 0; z-index:10; display:block; padding:6px 4px max(9px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:#fff; border-radius:0; }
  .realtor-office-shell .crm-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; }
  .realtor-office-shell .crm-nav button { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; min-height:48px; min-width:0; padding:4px 0; font-size:clamp(10px,2.8vw,12px); line-height:1.15; text-align:center; }
  .realtor-office-shell .crm-nav img { width:21px; height:21px; }
  .realtor-office-shell .crm-nav [data-realtor-view="preapproval"] { order:1; }
  .realtor-office-shell .crm-nav [data-realtor-view="page"] { order:2; }
  .realtor-office-shell .crm-nav [data-realtor-view="profile"] { order:3; }
  .realtor-desktop-label,.realtor-sidebar-footer,.realtor-welcome-actions { display:none; }
  .realtor-mobile-label { display:inline-block; }
  .realtor-content { padding:19px 16px calc(76px + env(safe-area-inset-bottom)); background:#f5f5f7; }
  .realtor-welcome h2 { font-size:clamp(28px,7vw,34px); }
  .realtor-preapproval-hero { display:block; margin-top:17px; padding:17px; }
  .realtor-preapproval-hero > img { display:none; }
  .realtor-preapproval-hero #live-request { width:100%; margin-top:13px; }
  [data-realtor-panel=dashboard] .realtor-dashboard-grid,[data-realtor-panel=dashboard] .realtor-buyers { display:none; }
  .realtor-mobile-shortcuts { display:block; padding:0 13px; margin-top:14px; border:1px solid var(--line); border-radius:15px; background:#fff; }
  .realtor-mobile-shortcuts button { display:flex; width:100%; justify-content:space-between; align-items:center; gap:8px; min-height:45px; padding:8px 0; background:none; border:0; font:inherit; text-align:left; }
  .realtor-mobile-shortcuts button+button { border-top:1px solid var(--line); }
  .realtor-mobile-shortcuts span { color:var(--muted); font-size:.78rem; text-align:right; }
}

#preapproval-workflow { display:grid; gap:16px; max-width:900px; }
#preapproval-workflow .preapproval-step { background:#fff; border-radius:18px; }
#preapproval-workflow #preapproval-chosen { display:grid; }
#preapproval-workflow #preapproval-chosen li { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:center; padding:12px; background:#edf5ff; border-radius:12px; overflow-wrap:anywhere; }
#preapproval-workflow #preapproval-chosen span { grid-row:2; color:var(--muted); font-size:.88rem; }
#preapproval-workflow #preapproval-chosen button { grid-column:2; grid-row:1/3; }
#preapproval-workflow #preapproval-borrowers span { display:block; color:var(--muted); font-size:.85rem; overflow-wrap:anywhere; }
#preapproval-manual { margin-top:14px; padding:12px; border:1px solid var(--line); border-radius:12px; }
#preapproval-manual summary { color:#0056ad; font-weight:650; cursor:pointer; }
#preapproval-manual .field-grid,.preapproval-step form .button { margin-top:12px; }
#preapproval-property-fields { border:0; padding:0; margin:0; min-width:0; }
#preapproval-property-fields:disabled { opacity:.65; }
.preapproval-history-title { margin:26px 0 12px; }

.preapproval-step-toggle { background:none; border:0; padding:0; color:inherit; font:inherit; text-align:left; min-height:32px; }
.preapproval-step-toggle[aria-expanded=false]::after { content:' · Edit'; color:#0056ad; font-size:.82em; }
#preapproval-confirm-buyers { list-style:none; padding:0; margin:0 0 16px; }
#preapproval-confirm-buyers li { padding:10px 12px; background:#edf5ff; border-radius:10px; overflow-wrap:anywhere; }
#preapproval-confirm-buyers li + li { margin-top:6px; }
#preapproval-confirm-buyers span { display:block; color:var(--muted); font-size:.88rem; }
#preapproval-continue { margin-top:14px; }
.preapproval-history-group,#live-contact-history { background:#fff; border:1px solid var(--line); border-radius:12px; margin:8px 0; padding:0 14px; }
.preapproval-history-group summary,#live-contact-history summary { min-height:44px; padding:11px 0; cursor:pointer; }
.preapproval-history-group summary span { float:right; color:var(--muted); font-size:.88rem; margin-left:8px; }
.preapproval-history-group .preapproval-card,#live-contact-history .preapproval-card { padding:12px; margin:0 0 8px; }
.preapproval-history-group .preapproval-card h3,#live-contact-history .preapproval-card h3 { margin:0 0 4px; }
#live-contact-dialog { max-height:calc(100dvh - 32px); overflow:auto; }

.join-home { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; padding-block:40px; gap:20px; }
.join-home h2 { font-size:clamp(24px,4vw,36px); margin:0 0 7px; }
.join-home p,.join-hero > p,.join-request > p { color:var(--muted); }
.join-page { max-width:1080px; padding-block:clamp(28px,6vw,68px); }
.join-hero { max-width:760px; margin:0 auto 32px; text-align:center; }
.join-hero h1 { font-size:clamp(38px,7vw,72px); line-height:1.02; letter-spacing:-.055em; margin:10px 0 16px; }
.join-hero .button { margin-top:22px; }
.join-showcase-heading { display:grid; grid-template-columns:1fr 1.15fr; align-items:center; gap:16px; margin-bottom:14px; }
.join-showcase h2,.join-preapproval-example h2,.join-request h2 { margin:0 0 8px; font-size:clamp(23px,4vw,34px); }
.join-showcase-heading p,.join-preapproval-example p { margin:0; color:var(--muted); }
.join-demo,.join-request,.join-preapproval-example { margin:0; background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.join-demo-caption { padding:9px 18px; background:#f5f5f7; border-bottom:1px solid var(--line); color:var(--muted); font-size:.85rem; }
.join-demo-page { padding:clamp(13px,4vw,32px); }
.join-demo-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.48fr); align-items:center; gap:15px; }
.join-demo-logo { display:inline-flex; align-items:center; gap:9px; color:#274a45; font-family:Georgia,serif; font-size:clamp(15px,2.4vw,25px); }
.join-house { display:inline-block; width:19px; height:14px; border:2px solid currentColor; border-top:0; border-radius:0 0 2px 2px; position:relative; margin:6px 4px 0; flex:none; }
.join-house::before { content:''; position:absolute; width:14px; height:14px; top:-7px; left:0; border-left:2px solid currentColor; border-top:2px solid currentColor; transform:rotate(45deg); }
.join-house::after { content:''; position:absolute; bottom:0; left:5px; width:5px; height:7px; border:1px solid currentColor; border-bottom:0; }
.join-demo-name { margin:9px 0 0; font-size:clamp(29px,5vw,54px); font-weight:750; line-height:1.05; letter-spacing:-.045em; }
.join-demo-role,.join-demo-contact { margin:4px 0 0; color:var(--muted); overflow-wrap:anywhere; }
.join-demo-contact { font-size:.8rem; }
.join-demo-hero h3 { margin:12px 0 9px; font-size:clamp(17px,3vw,30px); line-height:1.12; letter-spacing:-.03em; }
.join-demo-portrait { display:block; justify-self:center; width:min(100%,230px); aspect-ratio:1; height:auto; border-radius:50%; object-fit:cover; }
.join-demo-actions { display:flex; flex-wrap:wrap; gap:5px; }
.join-demo-actions span,.join-demo-submit { padding:5px 9px; border-radius:999px; background:#005bb5; color:#fff; font-size:.75rem; font-weight:650; }
.join-demo-actions span+span { color:#15334b; background:#eef3f7; }
.join-demo-lender { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; margin:14px 0 10px; font-size:.8rem; }
.join-demo-lender span { color:#0056ad; }
.join-demo-house { width:100%; height:auto; aspect-ratio:2.7; object-fit:cover; border-radius:14px; display:block; }
.join-demo-process { margin-top:16px; }
.join-demo-process h3 { margin:0 0 8px; font-size:1rem; }
.join-demo-process > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.join-demo-process p { background:#f5f5f7; border-radius:9px; padding:8px; margin:0; font-size:.8rem; }
.join-preapproval-example { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:20px; padding:clamp(16px,3vw,28px); margin-top:18px; }
.join-workspace-sample { padding:12px; background:#f5f5f7; border:1px solid var(--line); border-radius:13px; }
.join-workspace-sample div { border-top:1px solid var(--line); margin-top:6px; padding-top:6px; font-size:.8rem; }
.join-workspace-sample div span { display:block; color:var(--muted); }
.join-demo-submit { display:inline-block; margin-top:8px; }
.join-request { padding:clamp(16px,3vw,28px); margin:20px auto 0; max-width:740px; }
.join-request .field-grid { margin:18px 0 12px; }
.join-request button { margin:10px 0 0; }
#realtor-join-status:not(:empty) { margin-top:14px; }
.join-queue { margin-top:18px; }
.join-queue-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.join-queue-entry { border-top:1px solid var(--line); padding:12px 0; overflow-wrap:anywhere; }
.join-queue-entry h4,.join-queue-entry p { margin:0 0 4px; }
.join-queue-entry .partner-actions:not(:empty) { margin-top:10px; }
@media(max-width:650px) {
  .join-showcase-heading,.join-preapproval-example,.join-request .field-grid { grid-template-columns:1fr; gap:10px; }
  .join-demo-hero { grid-template-columns:minmax(0,1fr) minmax(0,.38fr); gap:8px; }
  .join-demo-process > div { grid-template-columns:1fr; }
}

#realtor-join-verification { margin:12px 0 4px; max-width:100%; }
#realtor-join-verification-status:not(:empty) { margin:8px 0 0; }
#realtor-join-form button:disabled { opacity:.55; cursor:not-allowed; }

.media-ticker { margin:0; padding:clamp(14px,1.7vw,30px) 0; border-block:1px solid #e5e5e8; background:#f5f5f7; color:#1d1d1f; }
#partner-landing .media-ticker { margin-block:12px 18px; }
.media-ticker-window { overflow:hidden; }
.media-ticker-window:focus-visible { outline:2px solid #0056ad; outline-offset:-2px; }
.media-ticker-track { display:flex; width:max-content; animation:media-ticker-scroll 36s linear infinite; }
.media-ticker-window:hover .media-ticker-track,.media-ticker-window:focus .media-ticker-track { animation-play-state:paused; }
.media-ticker-group { display:flex; align-items:center; justify-content:space-around; gap:clamp(22px,5vw,74px); flex:none; min-width:100vw; list-style:none; margin:0; padding:8px 20px; }
.media-ticker-group li { display:grid; place-items:center; min-width:64px; }
.media-ticker-group img { display:block; width:auto; max-width:clamp(122px,16vw,244px); height:clamp(36px,4.6vw,76px); object-fit:contain; filter:grayscale(1); transition:filter .25s,transform .25s; }
.media-ticker-group img:hover { filter:grayscale(0); transform:scale(1.05); }
@keyframes media-ticker-scroll { to { transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce) {
  .media-ticker .media-ticker-window { overflow-x:auto; }
  .media-ticker .media-ticker-track { animation:none; }
  .media-ticker .media-ticker-copy { display:none; }
  .media-ticker-group img { transition:none; }
}

.preapproval-confirmation { max-width:900px; margin:8px 0 16px; padding:12px 15px; border:1px solid #a3cbb7; border-radius:12px; background:#edf8f1; color:#16472c; }
.preapproval-confirmation strong,.preapproval-confirmation span { display:block; }
#preapproval-property-fields #preapproval-review-status:not(:empty) { margin:8px 0 0; }

.preapproval-price-input { position: relative; }
.preapproval-price-input > span { position: absolute; inset-inline-start: .875rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.preapproval-price-input > input { width: 100%; padding-inline-start: 2rem; }

.crm-partner-profile, .crm-partner-page { display: grid; gap: 6px; }
.crm-partner-url, #crm-partner-page-link { font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.crm-partner-page { margin-block: 12px 20px; }
.crm-partner-page[hidden] { display: none; }

.crm-lending-controls { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-block: 12px 4px; }
.crm-lending-controls .button { min-height: 44px; font-size: .875rem; padding: 10px 18px; }
.crm-lending-share summary { list-style: none; cursor: pointer; }
.crm-lending-share summary::-webkit-details-marker { display: none; }
.crm-lending-share[open] { flex-basis: min(100%, 420px); }
.crm-lending-share-options { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px 18px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.crm-lending-share-options .text-link { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: transparent; padding: 0; font-size: .9375rem; cursor: pointer; }
.crm-lending-share-options .crm-partner-url { flex-basis: 100%; }
.crm-lending-share summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.profile-save-notice:empty { display: none; }
.profile-save-notice { margin-block: 12px 18px; padding: 14px 18px; border-radius: 14px; background: var(--soft); font-weight: 600; }
.profile-save-notice[data-state="saved"] { background: #eaf5ee; color: #155b36; }
.profile-save-notice[data-state="error"] { background: #fff0f0; color: var(--error); }
.profile-image-details { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.profile-image-details summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.profile-image-details[open] summary { margin-bottom: 16px; }
.profile-image-details summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
