/* P/ HOSTING — minimal milky-glass privacy dialog. Scoped for all public templates. */
.ph-consent{box-sizing:border-box;position:fixed;max-width:min(520px,calc(100% - 28px));width:520px;max-height:min(85dvh,800px);overflow-y:auto;margin:auto auto 26px;padding:26px 28px 24px;border:1px solid rgba(225,235,243,.25);border-radius:23px;background:rgba(25,39,50,.97);background:linear-gradient(135deg,rgba(40,56,69,.97),rgba(17,30,39,.985));color:#f5f7f9;box-shadow:0 20px 68px rgba(0,0,0,.36);font-family:inherit;line-height:1.5;color-scheme:dark}
@supports (backdrop-filter:blur(18px)){.ph-consent{background:linear-gradient(135deg,rgba(40,56,69,.93),rgba(17,30,39,.96));backdrop-filter:blur(18px)}}
.ph-consent::backdrop{background:rgba(4,10,16,.59);backdrop-filter:blur(3px)}
.ph-consent *{box-sizing:border-box}
.ph-consent-head,.ph-consent-brand,.ph-consent-setting,.ph-consent-buttons,.ph-consent-secondary{display:flex;align-items:center}
.ph-consent-head{justify-content:space-between;gap:10px;margin-bottom:20px}
.ph-consent-brand{gap:12px;font-weight:650;font-size:11px;letter-spacing:.17em;color:#d7e0e6}
.ph-consent-mark{font-size:25px;letter-spacing:-.09em;font-weight:750;color:#ffa649;line-height:1}
.ph-consent-close{appearance:none;border:1px solid rgba(255,255,255,.15);color:#e6edf1;background:rgba(255,255,255,.065);width:44px;height:44px;border-radius:13px;cursor:pointer;font-size:15px}
.ph-consent h2{color:#fff;font-size:clamp(25px,4.5vw,32px);font-weight:630;letter-spacing:-.04em;margin:0 0 10px;line-height:1.15}
.ph-consent p{color:#d1dce3;font-size:14px;line-height:1.65;margin:0 0 22px}
.ph-consent-setting{justify-content:space-between;gap:18px;margin:0 0 15px;padding:15px 0;border-block-start:1px solid rgba(255,255,255,.13)}
.ph-consent-setting strong{display:block;color:#f8f9fb;font-size:14px;font-weight:600}
.ph-consent-setting small{display:block;color:#b3c1cb;line-height:1.4;font-size:12px;margin-top:3px}
.ph-consent-required{flex-shrink:0;border-radius:50px;background:rgba(255,166,73,.11);color:#ffd2a4;font-size:11px;font-weight:600;padding:6px 10px}
.ph-consent-setting input[type=checkbox]{appearance:none;flex-shrink:0;width:48px;height:28px;border-radius:999px;border:1px solid rgba(230,241,250,.3);background:rgba(255,255,255,.13);position:relative;cursor:pointer}
.ph-consent-setting input[type=checkbox]::after{content:"";position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:#eef2f5;transition:transform .15s ease}
.ph-consent-setting input[type=checkbox]:checked{background:#ffa649;border-color:#ffa649}
.ph-consent-setting input[type=checkbox]:checked::after{transform:translateX(20px);background:#172a34}
.ph-consent-buttons{gap:11px;align-items:stretch;margin-top:14px}
.ph-consent-action{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:48px;border-radius:12px;padding:11px 14px;cursor:pointer;text-decoration:none;font-size:14px;font-family:inherit;font-weight:650;line-height:1.25;transition:background .15s,border-color .15s}
.ph-consent-equal,.ph-consent-primary{background:#ffa649;border:1px solid #ffa649;color:#182b35}
.ph-consent-equal:hover,.ph-consent-primary:hover{background:#ffb871;border-color:#ffb871;color:#182b35}
.ph-consent-link{border:1px solid rgba(221,233,241,.34);background:rgba(255,255,255,.055);color:#f0f3f6}
.ph-consent-link:hover{background:rgba(255,255,255,.12);color:#fff}
.ph-consent-secondary{gap:16px;justify-content:center;flex-wrap:wrap;margin-top:15px;font-size:13px}
.ph-consent-secondary button{border:0;background:transparent;color:#d9e2e9;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:8px}
.ph-consent-secondary a{color:#d9e2e9;text-decoration:underline;text-underline-offset:3px;padding:8px}
.ph-consent-secondary a:hover,.ph-consent-secondary button:hover{color:#fff}
.ph-consent :focus-visible,.ph-privacy-open:focus-visible,.ph-open-consent:focus-visible{outline:3px solid #ffa649;outline-offset:4px}
.ph-open-consent{font:inherit;color:inherit;background:transparent;border:0;padding:0;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}
.ph-cookie-privacy-info{margin-top:2rem;padding:22px 0;border-top:1px solid currentColor}
.ph-cookie-privacy-info h2{font-size:1.5rem;margin:0 0 13px}
.ph-cookie-privacy-info p{margin:0 0 14px;line-height:1.65}
.ph-privacy-open{margin-top:6px;border:1px solid currentColor;padding:10px 16px;background:transparent;border-radius:10px;color:inherit;cursor:pointer;font:inherit}
@media(max-width:520px){.ph-consent{max-width:100%;width:100%;max-height:min(90dvh,900px);margin:auto 0 0;border-radius:20px 20px 0 0;padding:21px 21px max(22px,env(safe-area-inset-bottom))}.ph-consent h2{font-size:26px}.ph-consent-buttons{flex-direction:column}.ph-consent-action{min-height:48px}.ph-consent p{font-size:13px}.ph-consent-setting{gap:10px}}
@media(prefers-reduced-motion:reduce){.ph-consent *{transition:none!important}}
