/* Resource connections: compact additions to the existing Rugg Realty design. */
/* Make the contact destination and meeting invitation easy to find. */
html:has(body.page-id-40){scroll-behavior:auto}
body.page-id-40 #main{scroll-margin-top:16px}
body.page-id-40 main.rrg-content .rrg-meet-invitation{padding:18px 22px;background:#f3f6f8;border-left:4px solid #123d6a;margin:0 0 22px}
body.page-id-40 main.rrg-content .rrg-meet-invitation h2{margin:0 0 10px;font:700 27px/1.25 Georgia,serif;color:#123d6a}
body.page-id-40 main.rrg-content .rrg-meet-invitation p{margin:0;font-size:18px;max-width:76ch}
body .footer .rrg-footer-meeting{margin-top:18px;max-width:42ch}
body .footer .rrg-footer-meeting h3{color:#fff;font:700 22px/1.25 Georgia,serif;margin:0 0 10px}
body .footer .rrg-footer-meeting p{margin:0 0 8px;font-size:16px;line-height:1.55}
body .footer .rrg-footer-meeting strong{font-size:inherit}
body .footer .rrg-footer-meeting p a{text-decoration:underline;text-underline-offset:3px}
body .footer .rrg-meet-contact{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){body.page-id-40 main.rrg-content .rrg-meet-invitation{padding:16px}body.page-id-40 main.rrg-content .rrg-meet-invitation h2{font-size:25px}}

/* The return button remains outside the PDF's own scrolling area. */
body.rrg-plan-viewing{overflow:hidden}
#rrg-plan-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#e8edf2;color:#172230;overflow:hidden}
#rrg-plan-viewer[open]{display:flex;flex-direction:column}
#rrg-plan-viewer::backdrop{background:#0c2e4ce6}
#rrg-plan-viewer .rrg-plan-toolbar{flex:0 0 auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#123d6a;color:#fff;padding:12px 20px;box-shadow:0 2px 8px #0003;z-index:1}
#rrg-plan-viewer button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:2px solid #fff;border-radius:4px;background:#fff;color:#123d6a;font:700 17px/1.3 Arial,sans-serif;cursor:pointer}
#rrg-plan-viewer button:focus-visible,#rrg-plan-viewer a:focus-visible{outline:3px solid #ffdc72;outline-offset:3px}
#rrg-plan-viewer h2{flex:1;min-width:100px;margin:0;color:#fff;font:700 21px/1.25 Georgia,serif}
#rrg-plan-viewer .rrg-plan-open{color:#fff;font-size:15px;text-decoration:underline;min-height:44px;display:flex;align-items:center}
#rrg-plan-viewer .rrg-plan-tip{flex:0 0 auto;background:#fff;padding:6px 20px;font:14px/1.4 Arial,sans-serif;color:#435465}
#rrg-plan-viewer iframe{display:block;flex:1 1 auto;min-height:0;width:100%;border:0;background:#e8edf2}
@media(max-width:640px){#rrg-plan-viewer .rrg-plan-toolbar{padding:10px 12px;gap:8px 12px}#rrg-plan-viewer h2{font-size:18px;flex-basis:100%;order:3}#rrg-plan-viewer button{font-size:16px;padding:8px 12px}#rrg-plan-viewer .rrg-plan-open{margin-left:auto;font-size:14px}#rrg-plan-viewer .rrg-plan-tip{padding:6px 12px}}

/* Freeze only the historic-library tools; release before current builder plans. */
body.page-id-26 #historic-plans .fp-library-header{position:sticky;top:0;z-index:30;background:#f3f6f8;padding:12px 0;border-bottom:1px solid #cfd9e2;box-shadow:0 6px 8px -8px #17334b66;max-height:70vh;overflow-y:auto}
body.admin-bar.page-id-26 #historic-plans .fp-library-header{top:32px;max-height:calc(70vh - 32px)}
body.page-id-26 #historic-plans .fp-library-header h2{font-size:clamp(26px,3vw,34px);margin:4px 0 8px}
body.page-id-26 #historic-plans .fp-library-header .fp-lead{font-size:17px;margin:0 0 12px;max-width:none}
body.page-id-26 #historic-plans .fp-library-header .fp-controls{margin:0;gap:10px}
body.page-id-26 #historic-plans .fp-library-header .fp-controls label{padding:8px 12px}
body.page-id-26 #historic-plans .fp-library-header select{min-height:44px}
@media(max-width:782px){body.admin-bar.page-id-26 #historic-plans .fp-library-header{top:46px;max-height:calc(70vh - 46px)}}
@media(max-width:640px){body.page-id-26 #historic-plans .fp-library-header .fp-controls{grid-template-columns:1fr 1fr}body.page-id-26 #historic-plans .fp-library-header .fp-controls label:first-child{grid-column:1/-1}body.page-id-26 #historic-plans .fp-library-header .fp-lead{font-size:16px}body.page-id-26 #historic-plans .fp-library-header .fp-kicker{font-size:12px}}

body.page-id-26 main.rrg-content .fp-hero h1{color:#fff}
.rrg-value-intro{margin:16px 0 24px;padding:16px 20px;background:#f6f8f8;border-left:4px solid #123d6a;border-radius:4px}
.rrg-content .rrg-value-intro h2{margin:0 0 10px;font-family:Georgia,serif;font-size:clamp(23px,2.5vw,29px);line-height:1.25}
.rrg-value-intro p{margin:0;max-width:none;font-size:17px}
.rrg-value-intro p a,.rrg-value-question a{color:#123d6a;text-decoration:underline;text-underline-offset:3px}
.rrg-value-nav{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:8px}
.rrg-value-nav a{display:inline-flex;align-items:center;gap:8px;min-height:36px;color:#123d6a;font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.rrg-value-nav a:hover,.rrg-value-card:hover strong,.rrg-value-question a:hover{color:#a32228}
.rrg-value-connections{margin-top:40px;padding-top:28px;border-top:2px solid #d9e1e8}
.rrg-content .rrg-value-connections h2{font-family:Georgia,serif;font-size:clamp(25px,3vw,34px);margin:8px 0 10px}
.rrg-value-eyebrow{font-size:13px;font-weight:700;color:#566575;letter-spacing:.05em;text-transform:uppercase;margin:0}
.rrg-value-summary{margin:0 0 20px;color:#435465}
.rrg-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rrg-value-card{display:block;min-width:0;border:1px solid #d9e1e8;border-top:3px solid #123d6a;border-radius:4px;padding:18px;background:#f7f9fb}
.rrg-value-card strong{display:block;color:#123d6a;font-size:18px;text-decoration:underline;text-underline-offset:3px;margin-bottom:8px}
.rrg-content .rrg-value-connections .rrg-value-grid .rrg-value-card{text-decoration:none}
.rrg-value-card>span{display:block;font-size:16px;line-height:1.5;color:#435465}
.rrg-value-question{margin:18px 0 0;font-size:16px}
@media(max-width:700px){.rrg-value-intro{padding:18px;margin-bottom:24px}.rrg-value-nav{gap:2px 18px}.rrg-value-nav a{font-size:15px}.rrg-value-grid{grid-template-columns:1fr}.rrg-value-card{padding:16px}.rrg-value-connections{margin-top:28px}}
