html { scrollbar-gutter:stable; }
body.privacy-open { position:fixed; top:var(--privacy-scroll-y,0); left:var(--privacy-scroll-x,0); width:100%; overflow:hidden; }
#privacy-sheet { width:min(900px,calc(100% - 56px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))); max-width:900px; max-height:88vh; max-height:min(88svh,calc(100svh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); max-height:min(88dvh,calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); margin:auto; padding:0; border:1px solid #ffffff; border-radius:4px; background:#f8fafb; color:#182126; box-shadow:0 35px 100px #25384426,0 4px 20px #2538440c; overflow:hidden; }
#privacy-sheet[open] { display:flex; flex-direction:column; }
#privacy-sheet::backdrop { background:#dfe7ed77; backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); animation:privacy-backdrop-in .46s ease both; }
#privacy-sheet.is-closing::backdrop { animation:privacy-backdrop-out .22s ease both; }
.privacy-sheet__header { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; gap:24px; padding:28px 38px 23px; border-bottom:1px solid #d7e0e5; background:linear-gradient(115deg,#fff,#f0f5f8); }
.privacy-sheet__header > div { min-width:0; }
.privacy-sheet__header .eyebrow { font-size:8px; letter-spacing:1.7px; margin-bottom:10px; color:#657781; }
.privacy-sheet__header h2 { font-size:32px; line-height:1.1; letter-spacing:-1px; margin:0; }
.privacy-sheet__close { display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; border:1px solid #cad5db; border-radius:50%; background:#fff8; color:#3b4c56; font-size:27px; line-height:1; cursor:pointer; touch-action:manipulation; transition:background .2s,transform .2s; }
@media(hover:hover) and (pointer:fine) { .privacy-sheet__close:hover { background:#fff; transform:rotate(90deg); } }
.privacy-sheet__body { min-height:0; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; padding:0 38px 24px; scrollbar-width:thin; scrollbar-color:#bac7cf transparent; overflow-wrap:anywhere; }
.privacy-sheet__body p { font-size:14px; line-height:1.85; margin:16px 0; color:#4d5b64; }
.privacy-sheet__body h3 { font-size:23px; font-weight:500; letter-spacing:-.5px; line-height:1.3; margin:28px 0 12px; color:#23333d; }
.privacy-sheet__body .legal-date { color:#7a8890; font-size:11px; }
.privacy-sheet__body a { text-decoration:underline; text-underline-offset:4px; }
.privacy-sheet__body .legal-toc { margin:22px 0 30px; padding:18px 24px; background:#edf3f680; }
.privacy-sheet__body .legal-toc p { margin:0 0 8px; font-size:12px; }
.privacy-sheet__body .legal-toc ol { font-size:12px; }
.privacy-sheet__footer { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; gap:20px; padding:20px 38px; border-top:1px solid #d7e0e5; background:#f6f9fb; }
.privacy-sheet__footer a { display:inline-flex; align-items:center; min-height:44px; color:#657781; font-size:11px; text-decoration:underline; text-underline-offset:4px; }
.privacy-sheet__footer button { flex-shrink:0; border:0; background:#e91d34; color:white; padding:13px 20px; min-height:44px; font-size:12px; cursor:pointer; touch-action:manipulation; }
@keyframes privacy-backdrop-in { from{background:#dfe7ed00;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)} to{background:#dfe7ed77;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)} }
@keyframes privacy-backdrop-out { from{background:#dfe7ed77;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)} to{background:#dfe7ed00;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)} }
@media(max-width:600px) {
  #privacy-sheet { width:calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)); max-height:92vh; max-height:calc(100svh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
  .privacy-sheet__header { padding:20px; gap:12px; }
  .privacy-sheet__header h2 { font-size:25px; }
  .privacy-sheet__body { padding:0 20px 20px; }
  .privacy-sheet__body p { font-size:14px; }
  .privacy-sheet__footer { padding:12px 20px; gap:12px; }
  .privacy-sheet__footer a { max-width:135px; line-height:1.6; }
}
@media(max-width:360px) { .privacy-sheet__footer { padding-inline:14px; gap:10px; } .privacy-sheet__footer button { padding-inline:14px; } }
@media(pointer:coarse),(max-width:900px) {
  .privacy-sheet__body .legal-toc { padding:16px 18px; }
  .privacy-sheet__body .legal-toc ol { padding-left:20px; }
  .privacy-sheet__body .legal-toc a { display:inline-flex; align-items:center; min-height:44px; padding-block:8px; font-size:13px; }
}
@media(max-height:520px) {
  #privacy-sheet { max-height:calc(100vh - 16px); max-height:calc(100svh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); }
  .privacy-sheet__header { padding:10px 20px; gap:12px; }
  .privacy-sheet__header .eyebrow { margin-bottom:5px; }
  .privacy-sheet__header h2 { font-size:22px; }
  .privacy-sheet__body { padding-inline:20px; }
  .privacy-sheet__footer { padding:6px 20px; }
}
@media(prefers-reduced-motion:reduce) { #privacy-sheet::backdrop { animation:none!important; } .privacy-sheet__close { transition:none; } }
@media print {
  #privacy-sheet { display:none!important; }
  /* The screen-only scroll lock must not offset or clip the printed page. */
  body.privacy-open { position:static; top:auto; left:auto; width:auto; overflow:visible; }
}
