
/* GNHS User Agreement + Privacy Notice; responsive and independent of the school photo splash. */
.gnhs-agreement-overlay{position:fixed;inset:0;z-index:50000;background:rgba(10,22,42,.72);display:flex;align-items:center;justify-content:center;padding:clamp(10px,3vw,25px);overflow-y:auto}
.gnhs-agreement-panel{width:min(100%,730px);max-height:min(92dvh,860px);min-height:0;background:#fff;border-radius:18px;box-shadow:0 20px 75px #071c3659;display:flex;flex-direction:column;overflow:hidden;color:#1c2d46}
.gnhs-agreement-header{display:flex;gap:12px;align-items:center;padding:17px 21px;background:linear-gradient(120deg,#fff,#fff6f7);border-bottom:1px solid #f0dce1}
.gnhs-agreement-mark{height:38px;width:38px;flex:0 0 38px;display:grid;place-items:center;color:#7a2039;background:#ffeaf0;border-radius:10px;font-size:19px}
.gnhs-agreement-header h2{font-size:clamp(17px,2vw,22px);margin:2px 0 3px;color:#64223a}.gnhs-agreement-overline{font-size:9px;letter-spacing:1.4px;font-weight:850;margin:0;color:#7f5264}.gnhs-agreement-version{margin:0;font-size:11px;color:#6c7284}
.gnhs-agreement-x{margin-left:auto;align-self:start;border:0;background:transparent;color:#6e4552;font-size:19px;cursor:pointer}.gnhs-agreement-notice{padding:10px 20px;background:#fff8e8;border-bottom:1px solid #ffe6b2;color:#79521d;font-size:11px;line-height:1.5}
.gnhs-agreement-tabs{display:flex;gap:8px;padding:12px 20px 0}.gnhs-agreement-tabs button{width:auto;min-height:37px;padding:7px 13px;border:1px solid #d7dfe9;border-radius:9px 9px 0 0;background:#f5f7fb;color:#455573;font-weight:750;font-size:13px}.gnhs-agreement-tabs button.active{background:#81243e;color:white;border-color:#81243e}
.gnhs-agreement-content{min-height:80px;flex:1;overflow:auto;overscroll-behavior:contain;padding:14px 22px 20px;border-top:2px solid #81243e;font-size:13px;line-height:1.65}.gnhs-agreement-document h3{font-size:16px;margin:0 0 11px;color:#74223a}.gnhs-agreement-document h4{font-size:13px;color:#70273a;margin:16px 0 4px}.gnhs-agreement-document p{margin:0 0 10px}.gnhs-agreement-end{background:#f2f5fa;padding:10px 12px;border-radius:8px;font-size:12px}
.gnhs-agreement-acceptance{padding:13px 20px 7px;border-top:1px solid #e3e8f0;background:#fafbfd}.gnhs-agreement-acceptance label{display:flex;flex-direction:row;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;color:#273e5d}.gnhs-agreement-acceptance input{width:19px;min-height:19px;height:19px;margin:0;accent-color:#842540;flex:0 0 auto}.gnhs-agreement-help{font-size:11px;color:#6e7788;margin:6px 0 0}.gnhs-agreement-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding:13px 20px 17px;background:#fff}.gnhs-agreement-actions button{width:auto;border-radius:9px;min-height:39px;padding:8px 15px;font-weight:750;font-size:12px}.gnhs-agreement-secondary{background:#fff;color:#7f273f;border:1px solid #d9bdc6}.gnhs-agreement-primary{background:#85233e;border:1px solid #85233e;color:white}.gnhs-agreement-primary:disabled{opacity:.55}.gnhs-legal-links{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;padding:9px 0}.gnhs-legal-links button{color:#7c2540;border:0;background:transparent;text-decoration:underline;font-size:12px;font-weight:700;min-height:30px;padding:5px 8px;width:auto}.gnhs-agree-registration{font-size:12px;border:1px solid #e7dce0;background:#fff9fa;border-radius:9px;padding:10px 12px;display:flex;flex-direction:row;align-items:flex-start;gap:9px;line-height:1.5}.gnhs-agree-registration input{min-height:18px;width:18px;flex:0 0 18px;margin-top:2px;accent-color:#842540}
@media(max-width:540px){.gnhs-agreement-overlay{padding:8px}.gnhs-agreement-panel{max-height:95dvh;border-radius:13px}.gnhs-agreement-header{padding:13px}.gnhs-agreement-notice{padding:8px 12px}.gnhs-agreement-tabs{padding:9px 12px 0}.gnhs-agreement-content{padding:12px 14px;font-size:12px}.gnhs-agreement-acceptance{padding:11px 13px 6px}.gnhs-agreement-actions{padding:10px 13px}.gnhs-agreement-actions button{flex:1 1 auto}}

.gnhs-inline-agreement{border:0;background:transparent;text-decoration:underline;color:#7a2340;font-size:inherit;padding:0;min-height:auto;width:auto;font-weight:750;display:inline}
