body.rueb-r9{--navy:#112e4f;--blue:#124d7b;--steel:#48647b;--tint:#eff4f7;--line:#d3dfe7;--text:#213b50;--muted:#526878;--soft:#f3f6f8;--gold:#28648e;--width:1420px;color:var(--text);font-family:'Segoe UI',system-ui,sans-serif}
body.rueb-r9 :is(h1,h2,h3){color:var(--navy)}
.rp-head{position:sticky;z-index:90;top:0;background:#143d63;color:white;box-shadow:0 1px 5px #0f283b28}.admin-bar .rp-head{top:32px}.rp-utility{background:#102e4c;border-bottom:1px solid #ffffff25}.rp-utility nav,.rp-mainbar{width:min(100%,var(--width));margin:auto;display:flex;align-items:center;padding:0 clamp(16px,4vw,60px)}.rp-utility nav{justify-content:flex-end;gap:24px}.rp-utility a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:13px;font-weight:550;letter-spacing:.015em}.rp-head svg{width:17px;height:17px}.rp-mainbar{min-height:73px;gap:24px;position:relative}.rp-brand{flex-shrink:0;display:block}.rp-brand img{width:104px;height:64px;object-fit:contain}.rp-nav{margin:auto;display:flex;align-items:stretch;gap:clamp(8px,1.3vw,25px)}.rp-head details,.rp-head summary{margin:0;padding:0;border:0;background:transparent;color:inherit}.rp-head summary,.rp-info summary{list-style:none;cursor:pointer}.rp-head summary::-webkit-details-marker,.rp-info summary::-webkit-details-marker{display:none}.rp-group{position:relative}.rp-group summary{display:flex;align-items:center;gap:7px;min-height:73px;padding:0 3px;font-size:15px;font-weight:600}.rp-group summary i,.rp-info summary:after{width:12px;height:12px;display:inline-block;background:linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 100% no-repeat}.rp-group[open] summary i,.rp-info[open] summary:after{background-size:100% 1px,0 0}.rp-group[open] summary{box-shadow:inset 0 -3px #a5cadc}.rp-drop{position:absolute;top:100%;left:0;min-width:235px;max-width:320px;background:white;color:var(--navy);box-shadow:0 14px 32px #102e4c26;border:1px solid var(--line);padding:8px 18px}.rp-drop a{display:block;padding:12px 0;font-size:15px;line-height:1.35}.rp-drop a+a{border-top:1px solid var(--line)}.rp-account{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffffff65;padding:7px 12px;border-radius:4px;white-space:nowrap;font-size:14px}.rp-mobile{display:none}.rp-head :focus-visible,.rp-services :focus-visible,.rp-info :focus-visible{outline:2px solid #6aa9d0;outline-offset:3px}
.rueb-r9 .r9-hero{margin-top:0;border-radius:0;background:#132d44;min-height:clamp(425px,40vw,590px)}.rueb-r9 .r9-hero:after{background:linear-gradient(90deg,rgba(8,28,44,.89),rgba(8,28,44,.65) 43%,rgba(8,28,44,.05) 86%)}.rueb-r9 .r9-hero-content h1{color:white;font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.04;letter-spacing:-.04em}.rueb-r9 .r9-hero-content>p,.rueb-r9 .r9-searchbox #quick-note{color:#fff}.rueb-r9 .r9-hero-content .r9-kicker{color:#c6e0ef}.rueb-r9 .r9-searchtabs button{background:#e5edf2;color:var(--navy)}.rueb-r9 .r9-searchtabs button[aria-pressed=true]{background:white;box-shadow:inset 0 3px var(--blue);color:var(--blue)}.rueb-r9 .r9-searchline button,.rueb-r9 .r9-primary,.rueb-r9 #hub-submit{background:var(--blue);color:white!important;border-color:var(--blue)}.rueb-r9 .r9-editorial button,.rueb-r9 .r9-section-title>a,.rueb-r9 .rueb-subpage .page-content a{color:var(--blue)}
.rp-services,.rp-info{scroll-margin-top:135px}.rp-services{max-width:1210px;margin:0 auto;padding:clamp(40px,6vw,84px) 0 20px}.rueb-r9 .rp-services>h2{text-align:center;font:400 clamp(29px,3.2vw,48px)/1.14 Georgia,serif;letter-spacing:-.035em;margin:0 0 clamp(24px,3.5vw,46px)}.rp-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid var(--line)}.rp-tabs a{display:grid;align-content:start;line-height:1.35;gap:5px;padding:10px 12px 15px;border-bottom:3px solid transparent;margin-bottom:-1px}.rp-tabs b{font-size:clamp(16px,1.45vw,22px);font-weight:550;color:var(--navy)}.rp-tabs small{font-size:14px;color:var(--muted)}.rp-tabs [aria-selected=true]{border-color:var(--blue);background:#f4f8fa}.rp-panel{display:grid;grid-template-columns:minmax(0, .92fr) minmax(0,1.15fr);align-items:stretch;margin-top:26px;border:1px solid var(--line);background:#f5f8fa}.rp-photo{position:relative;min-height:290px;overflow:hidden}.rp-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.rp-tool{padding:clamp(22px,3.1vw,48px)}.rueb-r9 .rp-tool h3,.rueb-r9 .rp-info h3{font:400 clamp(24px,2.4vw,36px)/1.1 Georgia,serif;letter-spacing:-.025em;margin-bottom:12px}.rp-tool p,.rp-info p{color:var(--muted);max-width:55ch}.rp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.rp-fields label{font-size:14px;font-weight:550;display:grid;gap:5px;align-content:start}.rp-input{position:relative;display:block}.rp-fields input:not([type=checkbox]),.rp-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;font-size:16px;background:white;color:var(--navy);border:1px solid #aebfcd;border-radius:3px;padding:8px 10px}.rp-input input{padding-right:46px!important}.rp-input>span{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:13px;color:var(--steel);pointer-events:none}.rp-fields .rp-check{display:flex;align-items:center;gap:8px;line-height:1.35;min-height:38px}.rp-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--blue)}.rueb-r9 button.rp-button{margin-top:18px;min-height:46px;border:1px solid var(--blue);border-radius:3px;background:var(--blue);color:white;padding:10px 18px;font-size:16px;font-weight:600}.rp-button:hover{filter:brightness(.88)}.rp-tool output:not(:empty),.rp-info output:not(:empty){display:block;background:white;border-left:3px solid var(--blue);padding:12px 15px;margin-top:16px;color:var(--navy)}.rp-related{margin-top:14px}.rueb-r9 :is(.rp-related,.rp-info,.rp-tool output) a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.rp-info{max-width:1210px;margin:0 auto;border-bottom:1px solid var(--line)}.rp-info summary{display:flex;align-items:center;justify-content:space-between;padding:15px 3px;color:var(--navy);font-weight:550}.rp-info summary:after{content:'';margin-right:8px}.rp-info>div{max-width:690px;padding:0 4px 24px}.rp-head details:not([open])>.rp-drop{display:none}
@media(max-width:980px){.rp-nav{gap:9px}.rp-mainbar{gap:12px}.rp-account span{display:none}.rp-tabs{display:flex;overflow-x:auto;scrollbar-width:thin}.rp-tabs a{flex:1 0 128px}.rp-tabs b{font-size:17px}.rp-tabs small{font-size:13px}}
@media(max-width:1040px){.rp-mainbar{min-height:56px;justify-content:space-between}.rp-brand img{width:82px;height:52px}.rp-mobile{display:block;margin-left:auto!important}.rp-mobile summary,.rp-account{min-height:42px;display:flex;align-items:center;gap:9px}.rp-nav{display:none;position:absolute;inset:100% 0 auto;overflow-y:auto;max-height:65vh;background:#153e63;padding:0 18px 12px;box-shadow:0 12px 18px #122e4525}.rp-mainbar:has(.rp-mobile[open]) .rp-nav{display:block}.rp-group summary{min-height:44px;justify-content:space-between;border-top:1px solid #ffffff30}.rp-drop{position:static;max-width:none;min-width:0;box-shadow:none}.rp-utility nav{justify-content:space-between;gap:6px;flex-wrap:wrap;padding:0 12px}.rp-utility a{min-height:34px;font-size:12px}.rp-utility svg{width:13px;height:13px}.rp-account{border:0}.rp-panel{grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}.rp-services,.rp-info{scroll-margin-top:115px}}
@media(max-width:640px){.rueb-r9 .r9-hero{min-height:0;padding-top:100px;margin:0 -14px}.rueb-r9 .r9-hero-image{height:100%;object-position:center}.rueb-r9 .r9-hero:after{background:linear-gradient(0deg,#112e49 0%,rgba(17,46,73,.88) 45%,rgba(17,46,73,.06) 100%)}.rueb-r9 .r9-hero-content{padding:18px 18px 22px}.rueb-r9 .r9-hero h1{font-size:44px}.rp-panel{grid-template-columns:1fr;margin-top:17px}.rp-photo{min-height:0;aspect-ratio:2.55}.rp-tool{padding:21px 16px}.rp-tool p{font-size:16px}.rp-fields{gap:10px}.rp-services{padding-top:38px}.rp-tabs a{flex:0 0 124px;padding:10px 8px}.rp-utility a{gap:3px}.rp-utility svg{display:none}.admin-bar .rp-head{top:0}.rp-services>h2{text-wrap:balance}.rueb-r9 .rp-info summary{min-height:48px}}
@media(max-width:360px){.rp-fields{grid-template-columns:1fr}.rp-utility nav{gap:4px;padding:0 7px}.rp-utility a{font-size:11.5px}}
/* One continuous header, with service discovery in the page itself. */
.rp-head{background:#fff;color:#173950;box-shadow:none;border-bottom:1px solid #dfe5e7}.rp-mainbar{width:min(100%,1440px);min-height:70px;gap:clamp(14px,2.4vw,36px)}.rp-brand img{width:107px;height:63px}.rp-nav{gap:clamp(12px,2vw,32px);margin:0 auto 0 clamp(10px,2vw,30px)}.rp-group summary{min-height:70px;font-size:16px;font-weight:550;gap:8px}.rp-group summary i{width:7px;height:7px;background:none;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg)}.rp-group[open] summary{box-shadow:inset 0 -2px #917647}.rp-group[open] summary i{transform:translateY(2px) rotate(225deg)}.rp-head .rp-drop{max-height:min(65vh,540px);overflow:auto;width:max-content;min-width:215px}.rp-phone,.rp-appointment{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:14px;font-weight:550}.rp-phone{min-height:44px}.rp-head .rp-appointment{border:1px solid #b6c4ca;border-radius:4px;padding:8px 14px;min-height:40px}.rp-head .rp-appointment:hover{background:#f3f6f7}.rueb-r9 .rp-hero-services{display:block;width:fit-content;color:#fff;text-decoration:underline;text-underline-offset:.25em;font-size:15px;margin-top:8px}.rp-partners,.rp-request{max-width:1210px;margin:0 auto;scroll-margin-top:90px;padding:clamp(36px,5vw,68px) 0}.rp-intro{display:grid;grid-template-columns:1.15fr 1fr;align-items:end;gap:clamp(25px,6vw,80px);margin-bottom:28px}.rueb-r9 .rp-intro h2,.rueb-r9 .rp-request h2{font:400 clamp(32px,3.8vw,52px)/1.07 Georgia,serif;letter-spacing:-.04em;margin:0}.rueb-r9 .rp-intro p{margin:0;color:#415766;max-width:54ch}.rp-service-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,40px)}.rp-service-group>img{width:100%;height:auto;aspect-ratio:2.55;object-fit:cover}.rueb-r9 .rp-service-group h3{margin:20px 0 10px;font:400 clamp(22px,2.2vw,30px)/1.12 Georgia,serif;letter-spacing:-.025em}.rp-service-group ul{list-style:none;padding:0;margin:0}.rp-service-group li+li{border-top:1px solid #e3e8e9}.rp-service-group li a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 1px;color:#23455a;font-size:16px}.rp-service-group li a:after{content:'';flex:none;width:6px;height:6px;border:solid #69818b;border-width:1px 1px 0 0;transform:rotate(45deg)}.rueb-r9 .rp-partner-invite{margin:25px 0 0;font-size:14px;color:#495e6d}.rueb-r9 .rp-partner-invite a,.rp-request a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.rp-partners+.rp-services{border-top:1px solid var(--line);padding-top:clamp(35px,5vw,66px)}.rp-request{padding-top:12px}.rp-request-layout{display:grid;grid-template-columns:1.2fr .8fr;align-items:start;gap:clamp(28px,5vw,75px);margin-top:16px}.rp-request-layout>img{width:100%;height:auto;aspect-ratio:1.15;object-fit:cover}.rueb-r9 .rp-request h2{margin-bottom:16px}.rp-request-form{margin:24px 0}.rp-request-form>label{display:grid;gap:6px;font-size:14px;font-weight:550;margin-top:14px}.rp-request-form textarea{width:100%;padding:10px;border:1px solid #aebfcd;border-radius:3px;font:inherit}.rp-request-form output:not(:empty){display:block;padding:12px 0;color:var(--navy)}.rp-hint{font-size:14px;color:#546976}.rp-services,.rp-info{scroll-margin-top:90px}
@media (min-width:1041px) and (max-width:1050px){.rp-mainbar{gap:14px;padding:0 18px}.rp-nav{gap:13px;margin:0 auto 0 4px}.rp-phone span{display:none}.rp-group summary{font-size:15px}.rp-brand img{width:86px}}
@media(max-width:1040px){.rp-mainbar{min-height:58px;gap:12px}.rp-brand img{width:84px;height:55px}.rp-nav{background:#fff;color:#173950;margin:0;gap:0;max-height:calc(100dvh - 90px)}.rp-group summary{min-height:46px;border-top:1px solid #e2e8eb;font-size:16px}.rp-head .rp-drop{max-height:none;width:100%;padding:0 14px;background:#f4f7f8}.rp-phone span{display:none}.rp-phone{width:32px}.rp-head .rp-appointment{min-height:38px;padding:6px 10px}.rp-mobile summary{font-size:15px}.rp-intro{grid-template-columns:1fr;gap:12px}.rp-partners,.rp-request,.rp-services,.rp-info{scroll-margin-top:74px}}
@media(max-width:640px){.rp-service-groups{grid-template-columns:1fr;gap:28px}.rp-service-group>img{aspect-ratio:3.1}.rp-service-group h3{margin-top:13px}.rp-request-layout{grid-template-columns:1fr}.rp-request-layout>img{display:none}.rp-intro{margin-bottom:20px}.rp-partners{padding:32px 3px}.rp-mainbar{padding:0 12px}.rp-head .rp-mainbar{gap:11px}.rueb-r9 .r9-hero{padding-top:65px}.rp-hero-services{line-height:1.5}}

/* Fragment targets sit below the single sticky header. */
.rueb-r9 main [id] { scroll-margin-block-start: 88px; }
.rueb-r9 .rp-property-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.rp-property-modes button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--navy);
  font-size: 15px;
  min-height: 44px;
  padding: 6px 4px;
}
.rp-property-modes button[aria-pressed=true] {
  border-bottom-color: var(--blue);
  color: var(--blue);
  font-weight: 650;
}
.rueb-r9 .r9-editorial .rp-offer-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.rueb-r9 .rp-property-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.rp-property-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.rp-property-nav a[aria-current=page] {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 650;
}
.rp-property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin: 20px 0 8px;
}
.rueb-r9 .rp-property-actions a { color: var(--blue); }
.rueb-r9 .rp-property-actions .rp-button {
  background: var(--blue);
  color: white;
  padding: 11px 16px;
  border-radius: 3px;
}
@media (max-width: 800px) {
  .rueb-r9 main [id] { scroll-margin-block-start: 74px; }
}

/* The property selection and its fields share one card under the hero. */
.rueb-r9 #hub-wrapper.rp-property {
  position: relative;
  max-width: 1070px;
  margin: clamp(-40px, -3vw, -16px) auto 0;
  padding: clamp(18px, 3.5vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px #102e4c10;
}
.rueb-r9 .r9-hero { min-height: clamp(270px, 32vw, 470px); }
.rueb-r9 .r9-hero-content { padding-bottom: 62px; }
.rueb-r9 .rp-property h2 { font: 400 clamp(27px, 3vw, 42px)/1.1 Georgia, serif; margin-bottom: 16px; }
.rueb-r9 .rp-property h3 { font-size: clamp(18px, 2vw, 23px); margin: 0 0 12px; font-weight: 600; }
.rueb-r9 .rp-property-modes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  background: #edf2f5;
  border: 0;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 22px;
}
.rp-property-modes button { border: 1px solid transparent; border-radius: 5px; }
.rp-property-modes button[aria-pressed=true] { background: white; border: 1px solid #beced8; color: var(--navy); }
.rp-property #hub-fields { margin-top: 0; }
.rueb-r9 .rp-property-more { margin: 4px 0 15px; border-bottom: 1px solid var(--line); }
.rp-property-more summary { padding: 10px 0; color: var(--blue); font-weight: 550; }
.rp-property-more summary small { margin-left: .5em; color: var(--muted); font-weight: 400; }
.rp-property-more .rp-fields { padding: 2px 0 15px; }
.rp-tool-actions,.rp-related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rueb-r9 .rp-tool-actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.rueb-r9 .rp-tool-actions a.rp-button { background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 4px; }
.rp-tabs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); overflow: visible; }
.rp-tabs a { text-decoration: none !important; min-width: 0; }
@media (max-width: 800px) {
  .rp-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; border: 0; }
  .rp-tabs a { border: 1px solid var(--line); margin: 0; border-radius: 5px; padding: 10px 7px; }
  .rp-tabs [aria-selected=true] { border-color: var(--blue); background: #edf4f8; }
  .rp-tabs b { font-size: clamp(13px,3.8vw,16px); }
  .rp-tabs small { display: none; }
  .rp-panel { grid-template-columns: 1fr; }
  .rp-photo { min-height: 0; aspect-ratio: 3.4; }
}
@media (max-width: 640px) {
  .rueb-r9 .r9-hero { min-height: 0; padding-top: 43px; }
  .rueb-r9 .r9-hero-content { padding-bottom: 48px; }
  .rueb-r9 .r9-hero h1 { font-size: clamp(37px,10.5vw,44px); }
  .rueb-r9 #hub-wrapper.rp-property { padding: 16px; margin-top: -25px; }
  .rueb-r9 .rp-property-modes { grid-template-columns: repeat(6,minmax(0,1fr)); margin-bottom: 16px; }
  .rp-property-modes button { grid-column: span 2; font-size: 15px; }
  .rp-property-modes button:nth-last-child(-n+2) { grid-column: span 3; }
  .rp-tool-actions { display: grid; }
  .rp-tool-actions a { width: fit-content; }
}

@media (max-width: 370px) {
  .rp-head .rp-mainbar { gap: 7px; padding-inline: 8px; }
  .rp-brand img { width: 70px; height: 48px; }
  .rp-mobile summary { font-size: 13px; gap: 4px; }
  .rp-phone { width: 32px; }
  .rp-head .rp-appointment { font-size: 13px; padding-inline: 8px; }
  body.rueb-r9 .rp-property-modes button { font-size: 13px; padding-inline: 1px; }
}

.rp-home-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,4vw,55px);max-width:1180px;margin:0 auto;padding:clamp(26px,5vw,55px) 0}
.rp-home-directory section{border-top:1px solid var(--line);padding-top:18px}
.rueb-r9 .rp-home-directory h2{font:400 clamp(24px,3vw,34px)/1.12 Georgia,serif;margin:0 0 12px}
.rueb-r9 .rp-home-directory p{color:var(--muted);max-width:36ch;margin-bottom:12px}
.rp-entry-links{display:flex;flex-wrap:wrap;gap:4px 16px}
.rueb-r9 :is(.rp-entry,.rp-entry-links a,.rp-section-back a){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.rp-entry-links a,.rp-entry{display:inline-flex;align-items:center;min-height:44px}
.rp-tool-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 26px;margin:0 0 35px}
.rueb-r9 .rp-tool-index a{padding:14px 0;border-bottom:1px solid var(--line);font-size:clamp(17px,2.1vw,22px);color:var(--navy)}
.rueb-r9 .rueb-subpage #hub-wrapper.rp-property{margin:0 0 24px;box-shadow:none}
.rp-standalone-tool{margin:0 0 20px}
.rp-standalone-form{max-width:680px;margin-bottom:30px}
.rueb-r9 .rp-section-back{margin:18px 0 30px}
.rueb-r9 .rp-request{padding-bottom:26px}
@media(max-width:700px){.rp-home-directory,.rp-tool-index{grid-template-columns:1fr}.rp-home-directory{gap:15px}.rp-home-directory section{padding-top:12px}.rp-standalone-tool{grid-template-columns:1fr}}
.rp-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 28px}
.rueb-r9 .rp-card,.rp-service-card-list li a{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;min-height:110px;border:1px solid var(--line);border-radius:8px;padding:17px;background:#f6f8fa;color:var(--navy);text-decoration:none}
.rueb-r9 .rp-card:hover,.rp-service-card-list li a:hover{background:#edf4f8;border-color:#96b3c9}
.rp-card strong{font-size:19px}.rp-card span{line-height:1.55}.rp-service-card-list li a{min-height:62px;padding:12px}.rp-service-card-list li a:after{display:none}.rp-service-card-list li+li{border-top:0;margin-top:8px}
.rp-guide{max-width:740px}.rp-guide section{margin-bottom:24px}.rp-guide h2{font-size:25px}.rp-standalone-form h3{font-size:21px}
@media(max-width:730px){.rp-card-grid{grid-template-columns:1fr}.rueb-r9 .rp-card{min-height:80px}}

.rueb-r9 main.rp-home { min-height: 0; }
.rp-home .r9-hero { min-height: clamp(290px, 30vw, 430px); border-radius: 0 0 10px 10px; }
.rp-home .r9-hero-content { padding-bottom: 48px; }
.rp-home-directory { max-width: 1240px; gap: clamp(14px, 2.2vw, 32px); padding: clamp(20px, 3.2vw, 45px) 0; }
.rp-home-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe5e7;
  border-radius: 10px;
  background: #fff;
}
.rueb-r9 .rp-home-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: var(--navy);
  text-decoration: none;
}
.rp-home-card-main:hover { background: #f3f7f9; }
.rp-home-card-main img { width: 100%; height: auto; aspect-ratio: 2.45; object-fit: cover; }
.rp-home-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(16px, 2.1vw, 28px);
}
.rueb-r9 .rp-home-card h2 { font: 400 clamp(25px, 2.55vw, 38px)/1.08 Georgia, serif; margin: 0 0 9px; }
.rueb-r9 .rp-home-card p { color: var(--muted); line-height: 1.45; margin: 0 0 16px; }
.rp-home-card-action { width: fit-content; margin-top: auto; padding-bottom: 2px; border-bottom: 2px solid #98774c; font-weight: 650; color: var(--blue); }
.rp-home-card-links { display: flex; flex-wrap: wrap; gap: 0 15px; padding: 2px clamp(16px, 2.1vw, 28px); border-top: 1px solid #e7ecee; }
.rueb-r9 .rp-home-card-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: .9rem; }
.rp-home + .r9-foot { margin-top: 0; }
@media (max-width: 700px) {
  .rp-home-directory { grid-template-columns: 1fr; }
  .rp-home .r9-hero { min-height: 0; margin-inline: 0; }
  .rp-home .r9-hero-content { padding-bottom: 28px; }
  .rp-home-card-main img { aspect-ratio: 3.1; }
  .rp-home-card-copy { padding: 15px 16px; }
}

.rueb-r9 main.rp-home { max-width: none; padding: 0; }
.rp-home .r9-hero {
  min-height: clamp(390px, 42vw, 680px);
  border-radius: 0;
}
.rp-home .r9-hero-content { padding-inline: max(28px, calc((100% - 1320px) / 2)); width: 100%; }
.rp-home .r9-hero:after { background: linear-gradient(90deg, #10283bf2 3%, #10283bb8 37%, #10283b17 85%); }
.rp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rueb-r9 .rp-hero-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 19px; border: 1px solid #fff9; border-radius: 5px;
  color: #fff; font-weight: 650; text-decoration: none; background: #10283b80;
}
.rueb-r9 .rp-hero-actions a:first-child { color: #122c43; background: #fff; }
.rueb-r9 .rp-hero-actions a:hover { outline: 2px solid #e3cda9; outline-offset: 2px; }
.rp-home-directory { max-width: 1400px; padding-inline: clamp(16px, 3.2vw, 46px); }
@media (max-width: 700px) {
  .rp-home .r9-hero { min-height: 0; }
  .rp-home .r9-hero-content { padding-inline: 18px; }
  .rp-home .r9-hero:after { background: linear-gradient(0deg,#112e49 0%,#112e49df 58%,#112e4922 100%); }
  .rp-hero-actions { gap: 8px; margin-top: 17px; }
  .rueb-r9 .rp-hero-actions a { padding-inline: 12px; font-size: .92rem; }
}

.rp-head .rp-nav { gap: clamp(9px, 1.5vw, 22px); margin-inline-start: 0; }
.rp-hero-entry { width: min(670px, 100%); background: #fff; color: var(--navy); margin-top: 21px; border-radius: 9px; box-shadow: 0 14px 36px #071a3955; }
.rp-hero-entry nav { display: flex; flex-wrap: wrap; gap: 0 11px; padding: 3px 14px 0; border-bottom: 1px solid #e1e9ed; }
.rueb-r9 .rp-hero-entry nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 5px; font-size: .91rem; font-weight: 600; }
.rp-hero-entry nav a[aria-current] { border-bottom: 2px solid #184a71; }
.rp-hero-entry form { display: flex; align-items: stretch; gap: 8px; padding: 9px; }
.rp-hero-entry input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #c8d6df; border-radius: 4px; background: #fff; }
.rueb-r9 .rp-hero-entry button { padding: 9px 14px; min-height: 44px; border: 0; border-radius: 4px; color: #fff; background: #154e78; font-size: .91rem; }
.rp-guide-launch { position: fixed; right: 18px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20; min-height: 44px; border: 0; padding: 10px 16px; border-radius: 24px; box-shadow: 0 4px 16px #13273f33; background: #113d60; }
body.rueb-r9 button.rp-guide-launch { color: #fff; font-weight: 650; }
.rueb-r9 .rp-guide-dialog { box-sizing: border-box; width: min(460px, calc(100vw - 28px)); max-height: 85vh; margin: auto; padding: 25px; border: 1px solid #aebfcd; border-radius: 10px; color: var(--navy); }
.rp-guide-dialog:not([open]) { display: none; }
.rp-guide-dialog::backdrop { background: #10283b99; }
.rp-guide-dialog h2 { padding-inline-end: 30px; }
.rp-guide-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: none; background: transparent; }
.rp-guide-dialog label { display: block; margin-bottom: 5px; }
.rp-guide-dialog input { box-sizing: border-box; width: 100%; padding: 8px; border: 1px solid #9db4c4; border-radius: 4px; min-height: 44px; }
.rp-guide-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.rueb-r9 .rp-guide-dialog a { color: #154e78; text-decoration: underline; }
#rp-guide-result:not(:empty) { margin-top: 14px; padding: 10px; background: #eff5f8; }
.rp-value-help { margin-top: 28px; }
.rp-value-help summary { padding-block: 9px; }
@media (min-width:1041px) and (max-width:1180px) { .rp-head .rp-phone span { display:none; } .rp-head .rp-mainbar { gap: 12px; padding-inline: 18px; } .rp-head .rp-nav { gap: 9px; } }
@media (max-width:700px) { .rp-hero-entry nav { gap: 0 6px; padding-inline: 7px; } .rp-hero-entry form { flex-wrap: wrap; } .rp-hero-entry input { flex-basis: 100%; } .rp-hero-entry button { width: 100%; } }

.ru-home-section,.ru-partner-home{width:min(1280px,92%);margin:clamp(36px,5vw,76px) auto}
.rueb-r9 .ru-home-section>h2,.rueb-r9 .ru-partner-home h2,.rueb-r9 .ru-intro h2{font:400 clamp(29px,3.4vw,52px)/1.1 Georgia,serif;color:#153348;margin:0 0 18px}
.ru-home-section .rp-home-directory{width:100%;padding:0;margin:0 auto}.ru-home-section .rp-home-card h3{font:400 clamp(23px,2.2vw,34px)/1.15 Georgia,serif;margin:0 0 10px}
.ru-partner-home,.ru-intro{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;gap:clamp(18px,4vw,64px);background:#f5f3ed;padding:clamp(20px,3vw,44px);box-sizing:border-box}
.ru-partner-home img,.ru-intro img{width:100%;height:auto;object-fit:cover;aspect-ratio:4/3}.ru-partner-home nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-bottom:14px}.ru-partner-home nav a{padding:12px 0;border-bottom:1px solid #c9c7bf}
.ru-intro{grid-template-columns:minmax(0,3fr) minmax(0,2fr);margin:20px 0}.ru-intro h2{margin-top:12px!important}.ru-intro p,.ru-partner-home p{max-width:58ch;line-height:1.65}
.ru-plan-form{max-width:760px;padding:20px 0}.ru-plan-form fieldset{padding:0;border:0}.ru-plan-form legend{font-weight:bold;margin-bottom:12px}.ru-plan-form label{display:block;margin-bottom:9px}.ru-plan-form input[type=checkbox]{width:20px;height:20px;vertical-align:middle}.ru-plan-form input[type=date]{padding:10px}.ru-result:not(:empty){background:#eef4f5;padding:18px;margin-top:16px}.ru-next{padding:14px 0}.ru-next a{margin-right:16px;display:inline-block;padding-block:8px}
@media(max-width:700px){.ru-partner-home,.ru-intro{grid-template-columns:1fr}.ru-intro img,.ru-partner-home img{aspect-ratio:2.5}.rp-guide-launch{position:static;display:block;margin:16px auto}.rp-guide-launch[hidden]{display:none}.ru-partner-home nav{grid-template-columns:1fr}}

@media (max-width: 740px) {
  html:has(body.rueb-r9), body.rueb-r9 { min-width: 0 !important; width: 100% !important; max-width: 100vw; }
  body.rueb-r9 .rueb-subpage { box-sizing: border-box; width: 100%; min-width: 0; }
  .rueb-subpage :is(h1,h2,h3,legend) { overflow-wrap: anywhere; hyphens: auto; }
  .ru-planner fieldset { min-inline-size: 0; }
}

.ru-picks,.ru-contact{min-width:0;margin:20px 0;padding:16px;border:1px solid #b8ccd0;border-radius:12px;background:#f2f7f5}
.ru-picks legend,.ru-contact legend{font-weight:700;color:#183d51;padding:0 6px}
.rueb-r9 .ru-picks label{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;margin:4px;border-radius:8px;border:1px solid #a6bdc2;background:white;cursor:pointer}
.ru-picks input[type=checkbox]{width:19px;height:19px;accent-color:#16685c}.ru-picks label:has(:checked){outline:2px solid #16685c;background:#e1eee6}
.ru-contact [hidden],.rueb-r9 #rechenstudio [hidden]{display:none!important}.ru-contact p,.ru-care{line-height:1.6}.ru-care{border-left:4px solid #a68750;padding:8px 16px;background:#faf7ef}
.ru-studio-head{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;background:#173d50;color:white;border-radius:14px;overflow:hidden;margin:12px 0 18px}.ru-studio-head div{padding:clamp(18px,3vw,40px)}.rueb-r9 .ru-studio-head h2,.rueb-r9 .ru-studio-head p{color:white}.ru-studio-head img{width:100%;height:100%;object-fit:cover;max-height:230px}
.ru-tabs{display:flex;gap:8px;flex-wrap:wrap}.rueb-r9 .ru-tabs button{background:#f4f0e5;color:#17384b;border:1px solid #cbbf9d;border-radius:8px;padding:10px 14px;min-height:44px}.rueb-r9 .ru-tabs button[aria-pressed=true]{background:#155d57;color:white;border-color:#155d57}.rueb-r9 #studio-result{background:#e5f2eb;border-left:5px solid #337964;border-radius:12px;color:#163e38}.rueb-r9 #studio-result p:first-child{font:600 clamp(22px,2.3vw,36px)/1.25 Georgia,serif;color:#144c44}.rueb-r9 .ru-contact+button{min-height:46px}.rp-home-card:nth-child(2){border-top:4px solid #a88550}.rp-home-card:nth-child(1){border-top:4px solid #284b64}.rp-home-card:nth-child(3){border-top:4px solid #367665}
@media(max-width:640px){.ru-studio-head{grid-template-columns:1fr}.ru-studio-head img{height:110px}.ru-picks,.ru-contact{padding:10px}.ru-tabs button{flex-grow:1}}

#rechenstudio .ru-tabs{padding:10px;background:#edf2ef;border-radius:16px;margin:18px 0 24px}
#rechenstudio .ru-tabs button{background:transparent;color:#204438;border:1px solid transparent;border-radius:10px}
#rechenstudio .ru-tabs button[aria-pressed=true]{background:#154e43;color:white;box-shadow:0 3px 10px #184c3622}
.ka-layout{display:grid;grid-template-columns:1.2fr .85fr;gap:24px;align-items:start}
.ka-output{padding:clamp(18px,3vw,34px);background:#153f38;color:#fff;border-radius:18px}.ka-output strong{display:block;color:white;font:500 clamp(30px,4vw,55px)/1.2 Georgia,serif;margin:8px 0 22px}.ka-output dl{display:grid;grid-template-columns:1fr auto;gap:12px;margin:0}.ka-output dd{margin:0;font-weight:650}.ka-output dt{font-size:14px}
.ka-inquiry,.ka-plan{padding:14px 18px;border:1px solid #bdcec6;border-radius:12px;margin:18px 0}.ka-inquiry summary,.ka-plan summary,#ka-form summary{cursor:pointer;font-weight:650}.ka-plan table{width:100%;border-collapse:collapse}.ka-plan :is(td,th){padding:8px;text-align:right;border-bottom:1px solid #d5ddd8}.ka-plan div{overflow-x:auto}.ka-inquiry textarea{width:100%;display:block;margin:8px 0}.ka-inquiry{background:#f7f5ee}.ka-inquiry form{margin-top:16px}
#ka-form details{margin-top:16px}#ka-form details .rp-fields{margin-top:12px}#rechenstudio [data-studio-extra] h3{font-size:20px;margin-bottom:15px}
@media(max-width:760px){.ka-layout{grid-template-columns:minmax(0,1fr)}.ka-output dl{grid-template-columns:minmax(0,1fr) auto}.ka-plan :is(td,th){padding:5px;font-size:13px}}
