/* InspectionPress v217: consistent legal pages and genuine cookie-choice controls */
.ip217-legal-wrap{padding-top:52px;padding-bottom:76px;max-width:1180px}
.ip217-legal-head{max-width:860px;margin:0 auto 20px}
.ip217-eyebrow{font-size:12px;letter-spacing:.13em;font-weight:900;color:#067ab4;text-transform:uppercase;margin:0 0 12px}
.ip217-legal-head h1{font-size:clamp(2.15rem,4vw,3.8rem);line-height:1.11;letter-spacing:-.035em;color:#12243d;margin:0 0 12px}
.ip217-legal-subtitle{font-size:clamp(1.05rem,2vw,1.28rem);color:#536880;line-height:1.55;max-width:770px;margin:0 0 18px}
.ip217-legal-meta{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:13px;font-weight:700;color:#55677e}
.ip217-legal-meta a{color:#0766bd}
.ip217-legal-switch{max-width:860px;margin:0 auto 24px;display:flex;flex-wrap:wrap;gap:8px}
.ip217-legal-switch a{text-decoration:none;border:1px solid #d6e2ef;color:#334960;background:#fff;padding:9px 15px;font-weight:750;font-size:14px}
.ip217-legal-switch a[aria-current=page]{background:#116bd1;border-color:#116bd1;color:#fff}
.ip217-legal-paper{max-width:860px;margin:0 auto;background:#fff;border:1px solid #dbe5f0;box-shadow:0 15px 44px rgba(22,42,75,.06);padding:clamp(25px,4vw,56px);color:#24384f;line-height:1.8;font-size:16px}
.ip217-legal-paper p{margin:0 0 18px}.ip217-legal-paper h2{font-size:clamp(1.23rem,2vw,1.53rem);line-height:1.3;letter-spacing:-.02em;color:#112e51;margin:34px 0 13px}.ip217-legal-paper h3{font-size:1.08rem;margin:0 0 4px;color:#15365a}
.ip217-legal-paper ul{padding-left:25px;margin:0 0 20px}.ip217-legal-paper li{padding:3px 0}.ip217-legal-paper a{color:#086ac5;text-underline-offset:3px}
.ip217-legal-paper .ip217-intro{font-size:1.08rem;font-weight:550;color:#314c69;line-height:1.72}
.ip217-cookie-category{padding:17px 20px;border:1px solid #d6e4f0;margin:13px 0;background:#f8fbfe}.ip217-cookie-category p{margin:0}
.ip217-legal-end{margin-top:34px;border-top:1px solid #e0eaf3;padding-top:22px;display:flex;gap:10px;align-items:center;font-size:15px}
.ip217-admin-review{max-width:860px;margin:0 auto 23px;border:2px dashed #ad7b18;background:#fffae8;color:#3e320d;padding:20px;font-size:14px;line-height:1.55}
.ip217-admin-review-head{font-weight:900;margin-bottom:8px}.ip217-admin-review p{margin:8px 0}
.ip217-inline-settings,.ip217-footer-preferences,.ip217-auth-privacy-link button{font:inherit;color:inherit;border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ip217-inline-settings{color:#076ac0;font-weight:750}.ip217-manage-button{background:#156cdf;color:#fff;border:0;font:inherit;padding:13px 20px;cursor:pointer;font-weight:800;display:inline-flex;gap:9px;align-items:center}
.ps-footer-links .ip217-footer-preferences{color:inherit;font-weight:inherit;font-size:inherit;text-align:left}
.ip217-auth-privacy-link{max-width:1120px;margin:0 auto;padding:16px 22px 30px;display:flex;justify-content:center;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--muted,#55677d)}
/* Modal is namespaced to avoid rewriting Tidy or native report form elements. */
.ip217-consent[hidden],.ip217-consent-options[hidden],.ip217-consent-button[hidden]{display:none!important}
.ip217-consent{position:fixed;inset:0;z-index:2147483600;display:flex;justify-content:center;align-items:flex-end;padding:20px max(14px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-sizing:border-box}
.ip217-consent *, .ip217-consent *::before,.ip217-consent *::after{box-sizing:border-box;border-radius:0!important}
.ip217-consent-shade{position:absolute;inset:0;background:rgba(11,23,42,.48)}
.ip217-consent-panel{position:relative;width:min(800px,100%);max-height:min(92dvh,800px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#152b45;border:1px solid #c7d6e7;box-shadow:0 25px 95px rgba(0,0,0,.25);padding:clamp(18px,3vw,32px);outline:none}
.ip217-consent-top{display:flex;gap:17px;align-items:flex-start}.ip217-consent-icon{flex:0 0 48px;height:48px;display:grid;place-items:center;background:#e7f3ff;color:#0866b5;font-size:24px}
.ip217-consent-top h2{font-size:clamp(1.4rem,3vw,1.75rem);font-weight:850;line-height:1.25;margin:0 0 9px;color:#0c2544}.ip217-consent-top p{font-size:14px;line-height:1.7;margin:0;color:#526783}
.ip217-consent-options{margin-top:18px;display:grid;gap:8px}
.ip217-consent-choice{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 15px;border:1px solid #dbe5f1;background:#f8fbff;color:#102a48}
.ip217-consent-choice strong{display:block;font-size:14px}.ip217-consent-choice small{display:block;font-size:12px;color:#62748a;margin-top:2px}.ip217-essential{font-size:12px;font-weight:800;color:#22714c;white-space:nowrap}
.ip217-consent-choice input{width:22px;height:22px;min-width:22px;accent-color:#176bda;cursor:pointer}
.ip217-consent-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
.ip217-consent-button{cursor:pointer;padding:11px 17px;min-height:46px;font-size:14px;font-weight:800;border:1px solid #b7c9dd;background:#fff;color:#163a60;flex:1 1 120px}
.ip217-accept,.ip217-save{background:#176ee2;color:#fff;border-color:#176ee2}
.ip217-consent-button:focus-visible,.ip217-manage-button:focus-visible,.ip217-inline-settings:focus-visible{outline:3px solid #f2af45;outline-offset:2px}
.ip217-consent-foot{margin:17px 0 0;color:#526783;font-size:12px;line-height:1.5}.ip217-consent-foot a{color:#1069bd}
html[data-theme=dark] .ip217-legal-head h1,html.dark .ip217-legal-head h1{color:#ecf4ff}
html[data-theme=dark] .ip217-legal-subtitle,html.dark .ip217-legal-subtitle{color:#b8cce2}
html[data-theme=dark] .ip217-legal-paper,html.dark .ip217-legal-paper{background:#152235;border-color:#36465b;color:#dde7f6}
html[data-theme=dark] .ip217-legal-paper h2,html[data-theme=dark] .ip217-legal-paper h3,html.dark .ip217-legal-paper h2,html.dark .ip217-legal-paper h3{color:#f1f7ff}
html[data-theme=dark] .ip217-legal-paper .ip217-intro,html.dark .ip217-legal-paper .ip217-intro{color:#c6d6ea}
html[data-theme=dark] .ip217-cookie-category,html.dark .ip217-cookie-category{background:#172e43;border-color:#41596c}
html[data-theme=dark] .ip217-legal-switch a,html.dark .ip217-legal-switch a{background:#243a52;color:#e2efff;border-color:#536781}
html[data-theme=dark] .ip217-legal-switch a[aria-current=page],html.dark .ip217-legal-switch a[aria-current=page]{background:#176ee2;color:#fff}
html[data-theme=dark] .ip217-consent-panel,html.dark .ip217-consent-panel{background:#142238;color:#ecf2ff;border-color:#5b7092}
html[data-theme=dark] .ip217-consent-top h2,html.dark .ip217-consent-top h2{color:#fff}
html[data-theme=dark] .ip217-consent-top p,html[data-theme=dark] .ip217-consent-foot,html.dark .ip217-consent-top p,html.dark .ip217-consent-foot{color:#c1d0e5}
html[data-theme=dark] .ip217-consent-choice,html.dark .ip217-consent-choice{background:#20344b;border-color:#556f89;color:#fff}
html[data-theme=dark] .ip217-consent-choice small,html.dark .ip217-consent-choice small{color:#d3dfee}
html[data-theme=dark] .ip217-consent-button:not(.ip217-accept):not(.ip217-save),html.dark .ip217-consent-button:not(.ip217-accept):not(.ip217-save){background:#1b3552;color:#fff;border-color:#5b789c}
@media(max-width:600px){.ip217-legal-wrap{padding-top:25px}.ip217-legal-switch{gap:6px}.ip217-legal-switch a{padding:8px 12px}.ip217-consent{padding:0;align-items:flex-end}.ip217-consent-panel{width:100%;max-height:94dvh;padding:20px 18px max(20px,env(safe-area-inset-bottom))}.ip217-consent-icon{width:38px;height:38px;flex-basis:38px}.ip217-consent-actions{display:grid;grid-template-columns:1fr 1fr}.ip217-consent-button{min-width:0;padding:12px 7px}}

/* v218: footer cookie settings is a native link-styled action, not an underlined setting callout. */
.ps-footer-links > button.ip217-footer-preferences {
  appearance:none;
  background:transparent;
  border:0;
  box-shadow:none;
  margin:0;
  padding:0;
  width:auto;
  display:inline;
  color:var(--ps-muted,#bac8db);
  font:inherit;
  font-size:.91rem;
  font-weight:400;
  line-height:1.5;
  letter-spacing:normal;
  text-decoration:none;
  text-align:left;
  cursor:pointer;
}
.ps-footer-links > button.ip217-footer-preferences:hover {
  color:var(--ps-accent,#72b5ff);
  text-decoration:underline;
  text-underline-offset:5px;
}
.ps-footer-links > button.ip217-footer-preferences:focus-visible {
  color:var(--ps-accent,#72b5ff);
  outline:2px solid currentColor;
  outline-offset:5px;
}
