body.rsg-page{margin:0!important;background:#f3f6fa;color:#263e50;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.rsg-page{background-image:radial-gradient(ellipse at 83% 12%,#b9d7f580,transparent 43%),radial-gradient(ellipse at 10% 36%,#f5dcc280,transparent 38%)!important}.rsg-shell,.rsg-shell *,.rsg-dialog,.rsg-dialog *{box-sizing:border-box}.rsg-shell{max-width:1240px;margin:auto;padding:24px 40px}.rsg-shell a,.rsg-dialog a{color:inherit}.rsg-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 24px;background:#ffffffad;border:1px solid #fff;border-radius:22px;box-shadow:0 8px 32px #34495e0b,inset 0 1px 0 #fff;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}.rsg-brand{font-size:15px;font-weight:650;letter-spacing:-.03em;text-decoration:none}.rsg-brand span{display:block;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#687a8a;margin-top:4px}.rsg-header nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:550}.rsg-header nav a{text-decoration:none}.rsg-header nav a:last-child{padding:11px 16px;background:#ffffffaa;border:1px solid #fff;border-radius:12px}.rsg-urgent{display:flex;align-items:center;gap:10px;margin:28px 0 0;padding:13px 18px;border-radius:16px;background:#fff8f1b3;border:1px solid #e6d1bd80;color:#724a2c;font-size:12px}.rsg-urgent p{margin:0}.rsg-urgent a{font-weight:650}.rsg-urgent-dot{height:7px;width:7px;border-radius:50%;background:#ba703f}.rsg-urgent-call{margin-left:auto;text-decoration:none;white-space:nowrap}.rsg-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:center;padding:66px 16px 64px}.rsg-eyebrow{font-size:10px!important;font-weight:650;letter-spacing:.18em;line-height:1.6;text-transform:uppercase;color:#647d92;margin:0 0 20px}.rsg-shell h1{font-size:clamp(44px,5.4vw,72px);font-weight:550;letter-spacing:-.065em;line-height:1.04;margin:0 0 24px;color:#263e50}.rsg-shell h1 span{color:#758b9e}.rsg-intro{max-width:440px;font-size:17px;line-height:1.7;color:#5b7082;margin:0 0 28px}.rsg-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.rsg-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:15px 20px;background:linear-gradient(150deg,#59788f,#34495e);border:1px solid #ffffff50;border-radius:15px;color:#fff!important;text-decoration:none;box-shadow:0 8px 20px #34495e22,inset 0 1px 0 #ffffff40;font-weight:550;font-size:13px}.rsg-button:hover{background:#263e50}.rsg-text-link{text-decoration:none;font-size:12px;font-weight:600}.rsg-reassure{font-size:11px;color:#667e91;margin:17px 0 0}.rsg-hero-art{position:relative;display:grid;place-items:center;min-height:330px;isolation:isolate}.rsg-orbit{position:absolute;border:1px solid #ffffffbb;border-radius:50%;z-index:-1}.rsg-orbit-one{width:325px;height:325px;background:radial-gradient(circle at 25% 25%,#ffffff90,#a5c7e220);box-shadow:inset 0 0 55px #ffffff60}.rsg-orbit-two{width:240px;height:240px;transform:translate(36px,15px);background:linear-gradient(145deg,#eef6ffbb,#c7dced33);box-shadow:0 15px 50px #738fab16}.rsg-shield-glass{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;width:190px;height:230px;border-radius:38px;transform:rotate(-7deg);background:linear-gradient(145deg,#ffffffe6,#ffffff55);border:1px solid #fff;box-shadow:0 25px 65px #53789a20,inset 0 2px 0 #ffffffcc;backdrop-filter:blur(20px);color:#6c8ba6}.rsg-shield-glass svg{width:100px;height:100px;filter:drop-shadow(0 6px 6px #5e819a18)}.rsg-shield-glass span{text-align:center;font-size:11px;font-weight:550;line-height:1.5;color:#526d83}.rsg-floating-pill{position:absolute;bottom:30px;right:24px;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:550;padding:14px 18px;border:1px solid #fff;border-radius:40px;background:#ffffffcf;box-shadow:0 10px 30px #34495e10;backdrop-filter:blur(20px)}.rsg-floating-pill i{width:6px;height:6px;background:#759284;border-radius:50%}.rsg-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:0 0 22px}.rsg-shell h2{font-size:27px;letter-spacing:-.045em;font-weight:550;line-height:1.2;margin:0}.rsg-section-heading p{font-size:12px;color:#708393;margin:0}.rsg-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.rsg-card{position:relative;display:block;padding:25px 24px 23px;border:1px solid #fff;border-radius:25px;background:linear-gradient(145deg,#ffffffe6,#ffffff80);box-shadow:0 10px 25px #34495e07,inset 0 1px 0 #fff;backdrop-filter:blur(24px);text-decoration:none;transition:transform .2s,box-shadow .2s}.rsg-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #34495e12}.rsg-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#f8fbff,#dfebf5);box-shadow:inset 0 1px 0 #fff;font-size:25px;color:#66859f;margin-bottom:24px}.rsg-card:nth-child(2) .rsg-card-icon{background:linear-gradient(145deg,#fffaf5,#f1e1d2);color:#a77853}.rsg-card-arrow{position:absolute;right:24px;top:29px;color:#8a9aa7;font-size:17px}.rsg-card h3{font-size:18px;letter-spacing:-.035em;line-height:1.3;font-weight:600;margin:0 0 10px}.rsg-card p{font-size:13px;line-height:1.65;color:#62788b;margin:0 0 22px;max-width:280px}.rsg-card-label{font-size:11px;font-weight:600;color:#4e6d86}.rsg-team{margin-top:28px;display:grid;grid-template-columns:1fr 1.1fr;gap:40px;padding:36px 40px;border:1px solid #ffffffaa;border-radius:28px;background:linear-gradient(120deg,#e6eef7dd,#f7faffaa);box-shadow:inset 0 1px 0 #fff}.rsg-team .rsg-eyebrow{margin-bottom:12px}.rsg-team h2{font-size:38px}.rsg-team p{font-size:13px;color:#62788b;line-height:1.65;max-width:300px}.rsg-contact{padding-left:35px;border-left:1px solid #c7d6e280}.rsg-contact .rsg-contact-names{margin:0 0 12px;font-size:14px;font-weight:600;color:#34495e}.rsg-contact-names span{display:block;font-size:11px;font-weight:400;color:#6d8395}.rsg-contact-links{display:flex;flex-direction:column;gap:10px;margin-top:18px;font-size:13px;font-weight:550}.rsg-contact-links a{text-decoration:none;overflow-wrap:anywhere}.rsg-contact-links small{font-size:11px;font-weight:400;color:#6d8395;margin-left:6px}.rsg-promise{display:flex;align-items:center;gap:20px;padding:32px 10px 20px}.rsg-promise-icon{flex:0 0 40px;color:#839aad}.rsg-promise-icon svg{width:40px;height:40px}.rsg-promise h2{font-size:18px;letter-spacing:-.03em}.rsg-promise p{font-size:12px;color:#718595;margin:8px 0 0}.rsg-promise>a{margin-left:auto;white-space:nowrap;font-size:12px;font-weight:550;text-decoration:none}.rsg-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0 6px;margin-top:12px;border-top:1px solid #b8cbd344;font-size:10px;color:#748a9c}.rsg-footer p{margin:0}.rsg-footer a{text-decoration:none}.rsg-dialog{border:1px solid #fff;border-radius:28px;width:min(680px,calc(100% - 28px));max-height:86vh;max-height:86dvh;margin:auto;padding:0;background:linear-gradient(140deg,#f8fbfffa,#f3f6faf5);box-shadow:0 40px 140px #14223055;color:#263e50;font:15px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.rsg-dialog::backdrop{background:#20364c66;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.rsg-dialog-top{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;padding:20px 28px;background:#f7faffee;z-index:2;border-bottom:1px solid #d3dfe866;backdrop-filter:blur(24px)}.rsg-dialog-top .rsg-eyebrow{margin:0}.rsg-close{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #fff;background:#e7eef5;color:#526e86;cursor:pointer;font-size:24px;line-height:1}.rsg-dialog-body{padding:26px 32px 36px}.rsg-dialog h2{font-size:34px;line-height:1.1;letter-spacing:-.045em;font-weight:550;margin:0 0 24px}.rsg-dialog h3{font-size:18px;letter-spacing:-.025em;line-height:1.3;margin:26px 0 12px}.rsg-dialog p{margin:0 0 16px;color:#526b80}.rsg-dialog a{overflow-wrap:anywhere}.rsg-alert{background:#fff3e9;border:1px solid #ead4c0;padding:16px 18px;border-radius:16px;margin:20px 0;color:#714927}.rsg-dialog .rsg-small{font-size:11px;margin-top:10px}.rsg-resource{padding:20px 22px;border:1px solid #fff;background:#fff9;border-radius:18px;margin:18px 0}.rsg-resource h3{margin-top:0}.rsg-documents{padding:0;margin:0;list-style:none}.rsg-documents li{border-top:1px solid #d3dfe8;padding:14px 0;list-style:none}.rsg-documents a{display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;font-size:13px}.rsg-documents span{white-space:nowrap;color:#7b91a3;font-size:10px}.rsg-commitments{padding-left:20px}.rsg-commitments li{margin:12px 0}.rsg-shell a:focus-visible,.rsg-dialog a:focus-visible,.rsg-dialog button:focus-visible{outline:3px solid #be703e;outline-offset:4px}.rsg-skip{position:absolute;left:16px;top:-80px;padding:14px;background:#fff;color:#263e50;z-index:20}.rsg-skip:focus{top:16px}body.rsg-dialog-open{overflow:hidden!important}
@media(max-width:800px){.rsg-shell{padding:16px 20px}.rsg-header{padding:16px}.rsg-header nav{gap:16px;font-size:11px}.rsg-header nav a:last-child{padding:9px 12px}.rsg-hero{grid-template-columns:1fr .7fr;padding:48px 4px;gap:0}.rsg-shell h1{font-size:clamp(40px,6.5vw,56px)}.rsg-hero-art{transform:scale(.8);transform-origin:center}.rsg-card-grid{gap:12px}.rsg-card{padding:20px 18px}.rsg-card h3{font-size:16px}.rsg-team{padding:28px;gap:24px}.rsg-contact{padding-left:24px}.rsg-section-heading p{display:none}}
@media(max-width:600px){.rsg-header nav>a:first-child{display:none}.rsg-brand{font-size:14px}.rsg-urgent{font-size:11px;padding:12px;gap:8px}.rsg-urgent-call{display:none}.rsg-hero{grid-template-columns:1fr;padding:42px 4px 32px}.rsg-shell h1{font-size:clamp(43px,11vw,60px)}.rsg-intro{font-size:15px}.rsg-hero-art{min-height:220px;transform:scale(.72);margin-top:8px;margin-bottom:-18px}.rsg-floating-pill{bottom:-10px;right:12px}.rsg-card-grid{grid-template-columns:1fr}.rsg-section-heading h2{font-size:24px}.rsg-card{padding:22px 24px}.rsg-card-icon{margin-bottom:18px}.rsg-card p{max-width:none;margin-bottom:14px}.rsg-card h3{font-size:19px}.rsg-team{grid-template-columns:1fr;padding:26px}.rsg-contact{padding:22px 0 0;border-left:0;border-top:1px solid #c7d6e280}.rsg-promise{align-items:flex-start;flex-wrap:wrap;padding-top:28px;gap:14px}.rsg-promise>div:nth-child(2){flex:1}.rsg-promise>a{margin-left:54px}.rsg-footer{font-size:9px;flex-wrap:wrap;gap:12px}.rsg-dialog-body{padding:22px}.rsg-dialog h2{font-size:30px}.rsg-dialog-top{padding:16px 20px}.rsg-dialog .rsg-text-link{display:inline-block;margin:12px 0}.rsg-contact-links{font-size:12px}}
@media(prefers-reduced-motion:reduce){.rsg-card{transition:none}.rsg-card:hover{transform:none}}@media(prefers-reduced-transparency:reduce){.rsg-header,.rsg-card,.rsg-dialog{background:#f8fbff;backdrop-filter:none}.rsg-dialog::backdrop{backdrop-filter:none;background:#20364ccc}}

/* Shared homepage navigation and uppercase headings. */
.rsg-shell h1,.rsg-shell h2,.rsg-shell h3,.rsg-dialog h1,.rsg-dialog h2,.rsg-dialog h3{text-transform:uppercase}
.rsg-shell h1{font-size:clamp(38px,4.5vw,62px);letter-spacing:-.055em}
.rsg-header{padding:15px 26px;background:rgba(250,252,255,.8);flex-wrap:wrap}
.rsg-header .rsg-brand{font-size:.95rem;font-weight:600;letter-spacing:.015em;text-transform:uppercase;display:flex;align-items:center}
.rsg-header .rsg-logo{width:auto;max-width:200px;height:46px;object-fit:contain;border-radius:12px}
.rsg-header nav{display:block}.rsg-header nav a:last-child{padding:0;background:none;border:0;border-radius:0}
.rsg-nav-links{display:flex;align-items:center;gap:1.9rem;list-style:none;margin:0!important;padding:0!important;text-transform:uppercase;font-size:.65rem;font-weight:500;letter-spacing:.08em}
.rsg-nav-links li{list-style:none;margin:0;padding:0}
.rsg-menu-button{display:none;border:0;background:transparent;color:#263e50;text-transform:uppercase;font:500 12px/1.5 inherit;padding:10px;cursor:pointer}
.rsg-urgent{background:linear-gradient(120deg,#f9e0ca,#fff0e2);border:1px solid #d6a477;color:#663c1d;box-shadow:0 6px 20px #a8632c0d;padding:17px 20px;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.025em}
.rsg-urgent-call{padding:9px 14px;background:#82481f;color:#fff!important;border-radius:10px;font-weight:750!important}
.rsg-contact-person{margin:0 0 22px}.rsg-contact-person:last-child{margin-bottom:0}.rsg-contact-person h3{font-size:14px;letter-spacing:.01em;line-height:1.4;margin:0 0 4px;font-weight:650}.rsg-contact-person p{font-size:12px;line-height:1.6;margin:3px 0;max-width:none;overflow-wrap:anywhere}.rsg-contact-person p:first-of-type{color:#6d8395;font-size:11px}.rsg-contact-person a{text-decoration:none}.rsg-contact-person a:hover{text-decoration:underline}.rsg-contact-person span{font-size:11px;margin-left:5px}
@media(max-width:900px){.rsg-nav-links{gap:1rem;font-size:.59rem}}
@media(max-width:782px){.rsg-header{padding:13px 16px;gap:0}.rsg-header .rsg-brand{font-size:.8rem}.rsg-menu-button{display:block}.rsg-header nav{display:none;width:100%}.rsg-header nav.is-open{display:block}.rsg-header nav>a:first-child{display:block}.rsg-nav-links{flex-direction:column;align-items:flex-start;padding:16px 0!important;gap:18px;font-size:11px}.rsg-header .rsg-logo{height:38px;max-width:170px}}
@media(max-width:600px){.rsg-shell h1{font-size:clamp(34px,8.8vw,50px)}.rsg-urgent{font-size:11px;padding:12px;gap:8px}.rsg-urgent-call{display:block;flex-shrink:0;font-size:12px;padding:10px}.rsg-urgent p{flex:1}.rsg-urgent-dot{display:none}.rsg-dialog h2{font-size:26px}.rsg-shell h2{font-size:23px}.rsg-team h2{font-size:34px}}

.rsg-dialog .rsg-documents a,.rsg-dialog .rsg-resource>a{text-transform:uppercase}.rsg-documents a{font-weight:550;letter-spacing:.025em}

/* Uppercase commitment and Church of England safeguarding links. */
.rsg-promise>a,#rsg-commitment .rsg-dialog-body a{text-transform:uppercase}

/* Clear phone and extension hierarchy in the Let's talk section. */
.rsg-team .rsg-contact-person a[href^="tel:"]{font-weight:750}
.rsg-team .rsg-contact-person p>span{display:block;margin:3px 0 0;font-size:12px}

/* Consistent action lettering and bottom-aligned support-card labels. */
.rsg-actions>a{text-transform:uppercase}
.rsg-card{display:flex;flex-direction:column;height:100%}
.rsg-card-label{margin-top:auto;padding-top:8px}

/* Shared urgent guidance and contact formatting across the information panels. */
.rsg-dialog .rsg-popup-urgent{margin:0 0 24px}
.rsg-dialog .rsg-popup-urgent p{margin:0;color:inherit;font-size:inherit;line-height:1.5}
.rsg-dialog .rsg-popup-urgent .rsg-urgent-call{text-decoration:none;white-space:nowrap}
.rsg-dialog .rsg-contact-person a[href^="tel:"]{font-weight:750}
.rsg-dialog .rsg-contact-person p>span{display:block;margin:3px 0 0;font-size:12px}
.rsg-childline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:18px 0 26px}
.rsg-dialog .rsg-childline-actions .rsg-text-link{margin:0}
.rsg-dialog .rsg-button,.rsg-dialog .rsg-text-link{text-transform:uppercase}

.rsg-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin:18px 0}
.rsg-dialog .rsg-report-actions .rsg-small{margin:0;font-size:11px;line-height:1.6;flex:1 1 180px}

.rsg-review-date{font-size:11px;color:#687f92;margin:16px 10px}.rsg-dialog .rsg-resource .rsg-small{margin:12px 0 0}

.rsg-header .rsg-nav-links .rainham-nav-safeguarding a{font-weight:750;color:#be703e}.rsg-header .rsg-nav-links .rainham-nav-safeguarding a:hover{color:#854722}

.rsg-dialog .rsg-contacts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:16px 0 24px}
.rsg-dialog .rsg-contacts-grid .rsg-contact-person{margin:0;min-width:0}
@media(max-width:480px){.rsg-dialog .rsg-contacts-grid{grid-template-columns:1fr;gap:20px}}

/* Portraits from the church's labelled safeguarding poster; main page only. */
.rsg-team .rsg-contact-person{display:flex;align-items:flex-start;gap:18px}
.rsg-team .rsg-contact-copy{flex:1;min-width:0}
.rsg-portrait{position:relative;flex:0 0 80px;width:80px;height:80px;overflow:hidden;border-radius:50%;border:2px solid #be703e;box-shadow:0 8px 20px #34495e14;background:#e6eef5}
.rsg-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.rsg-portrait-lianne img,.rsg-portrait-nathan img{position:absolute;width:759.091%;max-width:none;height:auto;left:-300.909%;object-fit:initial}
.rsg-portrait-lianne img{top:-625.455%}.rsg-portrait-nathan img{top:-770.909%}
@media(max-width:380px){.rsg-team .rsg-contact-person{gap:12px}.rsg-portrait{flex-basis:64px;width:64px;height:64px}}

.rh-home .rh-links .rainham-nav-highlight>a,.rsg-nav-links .rainham-nav-highlight>a{color:#be703e!important;font-weight:800!important}

.rh-home .rh-links .rainham-nav-plain>a,.rsg-nav-links .rainham-nav-plain>a{color:inherit!important;font-weight:500!important}

/* Keep portrait rendering independent of theme image constraints. */
.rsg-team .rsg-portrait{display:block;min-width:80px;min-height:80px;flex-shrink:0}
.rsg-team .rsg-portrait img{visibility:visible;opacity:1}
.rsg-team .rsg-portrait-lianne img,.rsg-team .rsg-portrait-nathan img{max-height:none;max-width:none}
@media(max-width:380px){.rsg-team .rsg-portrait{min-width:64px;min-height:64px}}

@media(max-width:600px){.rsg-dialog .rsg-resource p br{display:none}.rsg-dialog .rsg-resource p br::after{content:" "}}

@media(max-width:600px){.rsg-dialog .rsg-commitments{padding-left:0;margin-left:0;list-style-position:inside}}

.rsg-dialog .rsg-commitments{padding-left:0!important;margin-left:0!important;list-style-position:inside}

@media(max-width:600px){.rsg-popup-urgent .rsg-danger-first,.rsg-popup-urgent .rsg-danger-second{display:block}}

/* Align commitments text, including wrapped lines, with the popup content. */
.rsg-dialog .rsg-commitments{padding:0!important;margin-left:0!important;list-style:none!important}
.rsg-dialog .rsg-commitments>li{position:relative;padding:0!important;margin-left:0!important;list-style:none!important;text-align:left}
.rsg-dialog .rsg-commitments>li::before{content:"•";position:absolute;left:-14px;top:0}

.rsg-page .rsg-emanual{margin-top:28px}.rsg-page .rsg-emanual .rainham-action-row{margin-top:20px}.rsg-page .rsg-emanual .rsg-button{text-transform:uppercase}

/* Give the e-manual a deliberate, distinct resource panel. */
body.rsg-page .rsg-emanual{margin:24px 0 28px;padding:26px!important;background:#e0ebf4!important;border:1px solid #9fb8cd!important;border-radius:20px;box-shadow:inset 0 1px 0 #ffffffb3,0 7px 18px #365e840d}
body.rsg-page .rsg-emanual h3{margin-top:0!important;color:#294d69}
body.rsg-page .rsg-emanual .rainham-action-row{display:flex!important;justify-content:center!important;margin-top:22px!important;width:100%}
body.rsg-page .rsg-emanual .rsg-button{display:inline-flex!important;align-items:center;justify-content:center;text-align:center;margin:0!important;max-width:100%;white-space:normal}
@media(max-width:600px){body.rsg-page .rsg-emanual{padding:21px 18px!important}body.rsg-page .rsg-emanual .rsg-button{width:100%}}

body.rsg-page .rsg-card-label,body.rsg-page .rsg-dialog :is(.rsg-button,.rsg-text-link),body.rsg-page .rainham-popup :is(.rsg-button,.rsg-text-link){text-transform:uppercase!important}

body.rsg-page :is(#rsg-report,#rsg-children) .rsg-dialog-body>h3:not(:has(+.rsg-contacts-grid)){margin-bottom:0!important;padding-bottom:0!important}
body.rsg-page :is(#rsg-report,#rsg-children) .rsg-dialog-body>h3+p{margin-top:0!important}

body.rsg-page :is(#rsg-report,#rsg-children) .rsg-dialog-body>h3:not(:has(+.rsg-contacts-grid)){margin-bottom:0!important;padding-bottom:0!important;min-height:0!important;line-height:1.25!important}
body.rsg-page :is(#rsg-report,#rsg-children) .rsg-dialog-body>h3:not(:has(+.rsg-contacts-grid))::before,body.rsg-page :is(#rsg-report,#rsg-children) .rsg-dialog-body>h3:not(:has(+.rsg-contacts-grid))::after{content:none!important;display:none!important}
body.rsg-page #rsg-report .rsg-report-actions{margin-top:8px!important}


/* Consistent spacing throughout the young-person help popup. */
body.rsg-page #rsg-children .rsg-dialog-body>h3:not(:has(+.rsg-contacts-grid)){margin-top:24px!important;margin-bottom:4px!important;padding:0!important}
body.rsg-page #rsg-children .rsg-dialog-body>h3+p{margin-top:0!important;margin-bottom:8px!important}
body.rsg-page #rsg-children .rsg-dialog-body>.rsg-button{display:table!important;margin:8px 0 0!important}
body.rsg-page #rsg-children :is(.rsg-childline-actions,.rainham-childline-actions){margin:8px 0 0!important;gap:12px!important}
body.rsg-page #rsg-children :is(.rsg-childline-actions,.rainham-childline-actions)>a{margin:0!important}
body.rsg-page #rsg-children .rainham-action-row{margin-top:8px!important}





/* Identical contact layout in every safeguarding popup. */
body.rsg-page .rsg-dialog .rsg-contacts-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px!important;margin:16px 0 24px!important}
body.rsg-page .rsg-dialog .rsg-contact-person{margin:0!important;padding:0!important;min-width:0;white-space:normal!important}
body.rsg-page .rsg-dialog .rsg-contact-copy h3{margin:0 0 4px!important;padding:0!important;min-height:0!important;line-height:1.4!important}
body.rsg-page .rsg-dialog .rsg-contact-copy h3::before,body.rsg-page .rsg-dialog .rsg-contact-copy h3::after{content:none!important;display:none!important}
body.rsg-page .rsg-dialog .rsg-contact-copy p{display:block!important;margin:3px 0!important;padding:0!important;white-space:normal!important}
body.rsg-page .rsg-dialog .rsg-contact-copy p span{display:inline!important;margin-left:5px!important;white-space:nowrap!important}
body.rsg-page .rsg-dialog .rsg-contact-copy a{display:inline!important;white-space:normal!important}
@media(max-width:480px){body.rsg-page .rsg-dialog .rsg-contacts-grid{grid-template-columns:1fr!important;gap:20px!important}}

.rainham-emanual-mobile-break{display:none!important}
@media(max-width:750px){.rainham-emanual-mobile-break{display:block!important}}

/* Shared contact rows use the same saved portrait and details on the page and in every popup. */
body.rsg-page .rsg-dialog .rsg-contact-person{display:flex!important;align-items:flex-start;gap:16px}body.rsg-page .rsg-dialog .rsg-contact-copy{flex:1;min-width:0}body.rsg-page .rsg-dialog .rsg-portrait{display:block;flex:0 0 80px;min-width:80px;min-height:80px;margin:0 0 12px}body.rsg-page .rsg-dialog .rsg-portrait img{max-height:none;opacity:1;visibility:visible}@media(min-width:481px) and (max-width:700px){body.rsg-page .rsg-dialog .rsg-contact-person{flex-direction:column}}
body.rsg-page .rsg-dialog .rsg-contact-person{display:grid!important;grid-template-columns:80px minmax(0,1fr);gap:4px 16px;align-content:start}body.rsg-page .rsg-dialog .rsg-contact-copy{display:contents!important}body.rsg-page .rsg-dialog .rsg-portrait{grid-column:1;grid-row:1 / span 2}body.rsg-page .rsg-dialog .rsg-contact-copy h3,body.rsg-page .rsg-dialog .rsg-contact-copy p:first-of-type{grid-column:2}body.rsg-page .rsg-dialog .rsg-contact-copy p:not(:first-of-type){grid-column:1 / -1}body.rsg-page .rsg-dialog .rsg-contact-copy a[href^="mailto:"]{font-size:14px}
/* Clear, stacked contact cards avoid squeezed names and addresses in a popup. */
body.rsg-page .rsg-dialog .rsg-contacts-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin:18px 0 28px!important}
body.rsg-page .rsg-dialog .rsg-contact-person{grid-template-columns:68px minmax(0,1fr);gap:4px 18px;padding:20px!important;border:1px solid #c8d9e5;border-radius:16px;background:linear-gradient(135deg,#edf4f9,#f8fbff)}
body.rsg-page .rsg-dialog .rsg-portrait{width:68px;height:68px;min-width:68px;min-height:68px;margin:0!important;box-shadow:none}
body.rsg-page .rsg-dialog .rsg-contact-copy h3{font-size:18px!important;line-height:1.35!important;align-self:end}
body.rsg-page .rsg-dialog .rsg-contact-copy p:first-of-type{font-size:13px!important;align-self:start}
body.rsg-page .rsg-dialog .rsg-contact-copy p:not(:first-of-type){margin:8px 0 0!important}
body.rsg-page .rsg-dialog .rsg-contact-copy a[href^="mailto:"]{font-size:14px;overflow-wrap:anywhere}
@media(max-width:480px){body.rsg-page .rsg-dialog .rsg-contact-person{padding:16px!important;gap:5px 12px;grid-template-columns:56px minmax(0,1fr)}body.rsg-page .rsg-dialog .rsg-portrait{width:56px;height:56px;min-width:56px;min-height:56px}body.rsg-page .rsg-dialog .rsg-contact-copy h3{font-size:16px!important}body.rsg-page .rsg-dialog .rsg-contact-copy a[href^="mailto:"]{font-size:13px}}
/* Compact contact cards: every text line shares one left edge beside the portrait. */
body.rsg-page .rsg-dialog .rsg-contact-person{grid-template-columns:60px minmax(0,1fr);gap:0 16px;padding:16px!important}
body.rsg-page .rsg-dialog .rsg-portrait{grid-column:1;grid-row:1 / span 4;width:60px;height:60px;min-width:60px;min-height:60px}
body.rsg-page .rsg-dialog .rsg-contact-copy :is(h3,p){grid-column:2!important;align-self:start}
body.rsg-page .rsg-dialog .rsg-contact-copy h3{margin:0 0 2px!important}
body.rsg-page .rsg-dialog .rsg-contact-copy p:first-of-type{margin:0!important;line-height:1.4!important}
body.rsg-page .rsg-dialog .rsg-contact-copy p:not(:first-of-type){margin:6px 0 0!important;line-height:1.5!important}
@media(max-width:480px){body.rsg-page .rsg-dialog .rsg-contact-person{grid-template-columns:44px minmax(0,1fr);gap:0 10px;padding:13px!important}body.rsg-page .rsg-dialog .rsg-portrait{width:44px;height:44px;min-width:44px;min-height:44px}body.rsg-page .rsg-dialog .rsg-contact-copy h3{font-size:15px!important}body.rsg-page .rsg-dialog .rsg-contact-copy a[href^="mailto:"]{font-size:12px}}
/* Portrait spans the complete text block; tighter line spacing keeps the card compact. */
body.rsg-page .rsg-dialog .rsg-contact-person{grid-template-columns:84px minmax(0,1fr);gap:0 16px;align-items:start}
body.rsg-page .rsg-dialog .rsg-portrait{width:84px;height:84px;min-width:84px;min-height:84px;align-self:center}
body.rsg-page .rsg-dialog .rsg-contact-copy p:not(:first-of-type){margin:3px 0 0!important;line-height:1.4!important}
@media(max-width:480px){body.rsg-page .rsg-dialog .rsg-contact-person{grid-template-columns:68px minmax(0,1fr);gap:0 10px}body.rsg-page .rsg-dialog .rsg-portrait{width:68px;height:68px;min-width:68px;min-height:68px}}

/* Mobile contacts use the full card width beneath each portrait. */
@media(max-width:700px){
body.rsg-page .rsg-contact-person,body.rsg-page .rsg-dialog .rsg-contact-person{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;min-width:0}
body.rsg-page .rsg-contact-person .rsg-contact-copy,body.rsg-page .rsg-dialog .rsg-contact-copy{display:block!important;width:100%;min-width:0}
body.rsg-page .rsg-contact-person .rsg-portrait,body.rsg-page .rsg-dialog .rsg-contact-person .rsg-portrait{width:84px;height:84px;min-width:84px;min-height:84px;flex:0 0 84px;align-self:flex-start;margin:0!important}
body.rsg-page .rsg-contact-person .rsg-contact-copy :is(h3,p){grid-column:auto!important;grid-row:auto!important}
body.rsg-page .rsg-contact-person a[href^="mailto:"]{font-size:13px!important;overflow-wrap:anywhere;word-break:normal}
}
