/* ===== PHX policy pop-up (Privacy Policy / Terms opened from "I have read and agree…"), 2026-11-22.
   phx-agree.js removes the page text's own <style> and adds .phx-agree to the modal. Black/white, Inter, no orange. ===== */
html body .modal.phx-agree{background:rgba(15,23,42,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body .modal.phx-agree .modal-dialog{width:auto!important;max-width:760px!important;margin:5vh auto!important;padding:0 16px}
html body .modal.phx-agree .modal-content{border:0!important;border-radius:20px!important;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.28)!important;
  display:flex;flex-direction:column;max-height:90vh;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}

/* header: title left, round close button right */
html body .modal.phx-agree .modal-header{display:flex!important;align-items:center;justify-content:space-between;flex:0 0 auto;padding:18px 20px 18px 28px!important;border-bottom:1px solid #eef0f3!important;background:#fff}
html body .modal.phx-agree .modal-header::before,html body .modal.phx-agree .modal-header::after{display:none!important}
html body .modal.phx-agree .modal-title{order:1;margin:0!important;font:700 18px/1.3 "Plus Jakarta Sans",Inter,system-ui,sans-serif!important;color:#0b1324!important;text-transform:none!important;letter-spacing:0!important}
html body .modal.phx-agree .modal-header .close{order:2;float:none!important;display:flex!important;align-items:center;justify-content:center;width:38px!important;height:38px!important;margin:0!important;padding:0!important;
  border-radius:50%;background:#f3f4f6!important;opacity:1!important;color:#111!important;font-size:22px!important;line-height:1!important;text-shadow:none!important;transition:background .2s ease}
html body .modal.phx-agree .modal-header .close:hover{background:#e5e7eb!important}

/* body: scrolls inside the card */
html body .modal.phx-agree .modal-body{flex:1 1 auto;overflow-y:auto;padding:8px 28px 28px!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html body .modal.phx-agree .modal-body .container{max-width:none!important;width:auto!important;margin:0!important;padding:0!important;background:none!important;border-radius:0!important;box-shadow:none!important}
html body .modal.phx-agree .modal-body h1{display:none!important} /* same as the title in the header */
html body .modal.phx-agree .modal-body h2{margin:26px 0 10px!important;font:700 17px/1.35 "Plus Jakarta Sans",Inter,system-ui,sans-serif!important;color:#0b1324!important;letter-spacing:0!important}
html body .modal.phx-agree .modal-body p,html body .modal.phx-agree .modal-body li{font:400 14.5px/1.7 Inter,system-ui,sans-serif!important;color:#374151!important}
html body .modal.phx-agree .modal-body p{margin:0 0 12px!important}
html body .modal.phx-agree .modal-body ul{margin:0 0 12px!important;padding-left:20px!important}
html body .modal.phx-agree .modal-body li{margin:0 0 4px!important}
html body .modal.phx-agree .modal-body li::marker{color:#9ca3af}
html body .modal.phx-agree .modal-body strong{color:#111!important;font-weight:600!important}
html body .modal.phx-agree .modal-body a{color:#111!important;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(17,17,17,.3)}
html body .modal.phx-agree .modal-body .section{border-bottom:1px solid #eef0f3!important;padding:0 0 18px!important;margin:0 0 4px!important}
html body .modal.phx-agree .modal-body .section:last-child{border-bottom:0!important;padding-bottom:0!important}
html body .modal.phx-agree .modal-body .note,html body .modal.phx-agree .modal-body .contact{background:#f6f7f9!important;border:0!important;border-left:3px solid #111!important;border-radius:12px!important;padding:16px 18px!important}
html body .modal.phx-agree .modal-body .contact{border-left:0!important}

@media (max-width:767px){
  html body .modal.phx-agree .modal-dialog{margin:12px auto!important;padding:0 10px}
  html body .modal.phx-agree .modal-content{max-height:calc(100vh - 24px)}
  html body .modal.phx-agree .modal-header{padding:14px 14px 14px 20px!important}
  html body .modal.phx-agree .modal-body{padding:4px 20px 22px!important}
}
