/* Isolated from marketing and intake styles. This panel is nonmodal. */
.privacy-panel, .privacy-panel * { box-sizing: border-box; }
.privacy-panel[hidden], .privacy-panel [hidden] { display:none !important; }
.privacy-panel {
  position:fixed; z-index:40; inset:auto 0 0;
  width:100%; max-width:none; min-width:0;
  height:auto; min-height:0; margin:0; padding:12px 20px;
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; align-content:start;
  border:0; border-top:1px solid #cbd3de; border-radius:0;
  background:#f7f8fc; color:#20272f;
  box-shadow:0 -3px 16px rgb(20 38 65 / 10%);
  font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  text-align:left; max-height:100dvh; overflow-y:auto;
}
.privacy-panel h2 { display:inline; margin:0 10px 0 0; padding:0; font-size:18px; line-height:1.4; font-weight:650; letter-spacing:-.02em; }
.privacy-panel p { display:inline; margin:0 10px 0 0; max-width:none; font-size:16px; line-height:1.4; }
.privacy-panel .privacy-status { font-size:14px; color:#535e69; white-space:nowrap; }
.privacy-panel a { color:#1e47bd; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.privacy-panel-actions { display:grid; grid-template-columns:80px 80px 44px; gap:8px; align-items:stretch; }
.privacy-panel button {
  font:600 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  padding:10px 12px; min-width:0; min-height:44px; border:1px solid #b8c3d3; border-radius:5px;
  color:#20272f; background:#f7f8fc; cursor:pointer; white-space:normal;
}
.privacy-panel button:hover { border-color:#1e47bd; background:#edf1fb; }
.privacy-panel button:disabled { color:#626d7a; cursor:default; background:#e4e8ed; }
.privacy-panel button:active { transform:translateY(1px); }
.privacy-panel .privacy-close { position:static; width:44px; min-height:44px; padding:0; border-color:transparent; font-size:22px; font-weight:400; }
.privacy-panel :focus-visible, .privacy-settings:focus-visible { outline:3px solid #1e47bd; outline-offset:3px; }
.privacy-settings {
  display:inline; border:0; padding:0; background:transparent; color:inherit; text-decoration:underline;
  text-underline-offset:3px; font:inherit; cursor:pointer; white-space:nowrap;
}
.site-footer nav .privacy-settings { color:var(--ink-dim,#535e69); font-size:14px; line-height:1.75; }
.legal-site .legal-footer nav .privacy-settings { color:var(--legal-muted,#535e69); font-size:14px; }
.privacy-settings-footer { padding:16px 24px; text-align:center; font:14px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; color:#3d4b5b; background:#f7f8fc; }
@media(max-width:767px) {
  .privacy-panel { inset:auto 0 0; width:100%; min-height:0; grid-template-columns:minmax(0,1fr); gap:8px; padding:9px 12px; }
  .privacy-panel-actions { grid-template-columns:repeat(2,minmax(0,1fr)) 44px; }
}
@media(prefers-color-scheme:dark) {
  body.legal-site .privacy-panel { border-color:#40516a; background:#202b3d; color:#edf0f5; }
  body.legal-site .privacy-panel a { color:#a8bfff; }
  body.legal-site .privacy-panel .privacy-status { color:#b5beca; }
  body.legal-site .privacy-panel button { border-color:#687a94; background:#202b3d; color:#edf0f5; }
  body.legal-site .privacy-panel button:hover { background:#2e405d; }
  body.legal-site .privacy-panel button:disabled { color:#a5afbd; background:#273345; }
}
@media print { .privacy-panel, .privacy-settings, .privacy-settings-footer { display:none !important; } }

/* Keep real scroll geometry without exposing a focusable or visible surface. */
.privacy-measurement-frame { position:fixed; width:1px; height:1px; left:-2px; bottom:0; opacity:0; pointer-events:none; border:0; }
@media print { .privacy-measurement-frame { display:none !important; } }
