.privacy-page {
  box-sizing: border-box;
  max-width: 760px;
  margin: auto;
  padding: 40px 24px;
  background: #fff;
  color: #182126;
  font: 16px/1.7 Manrope, Arial, sans-serif;
}
.privacy-page main h1 { margin: 32px 0 24px; font-size: clamp(28px, 5vw, 42px); line-height: 1.2; }
.privacy-page main h2 { margin: 28px 0 12px; font-size: 23px; line-height: 1.4; }
.privacy-page a { color: #a31319; text-underline-offset: 3px; }
.privacy-page li { margin-bottom: 8px; }

.privacy-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 22px;
  padding-block: 8px 16px;
  font-size: 14px;
}
.storage-settings-link,
.product-footer .privacy-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.storage-settings-link[hidden], .storage-notice[hidden] { display: none; }
.storage-notice, .storage-dialog, .storage-feedback {
  box-sizing: border-box;
  color: #19252b;
  background: #fff;
  font-family: var(--body, Manrope, Arial, sans-serif);
}
.storage-notice, .storage-dialog {
  border: 1px solid #d4d8da;
  border-radius: 20px;
  box-shadow: 0 10px 38px rgb(17 28 34 / .17);
  overflow: auto;
  overscroll-behavior: contain;
}
.storage-notice {
  position: fixed;
  z-index: 90;
  inset: auto max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) auto;
  width: min(388px, calc(100% - 48px));
  max-height: calc(100dvh - 40px);
  padding: 17px 22px 21px;
}
.storage-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}
.storage-symbol { flex: none; color: #b8191f; }
.storage-notice h2, .storage-dialog h2 {
  margin: 0;
  color: #17242b;
  font: 650 23px/1.18 var(--heading, Manrope, Arial, sans-serif);
  letter-spacing: -.035em;
  text-transform: none;
}
.storage-icon-button {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -6px 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #404d53;
  cursor: pointer;
}
.storage-notice p, .storage-dialog p {
  margin: 8px 0 16px;
  color: #445057;
  font: 400 14px/1.52 var(--body, Manrope, Arial, sans-serif);
}
.storage-notice a {
  color: #972027;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.storage-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.storage-actions button {
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #778086;
  border-radius: var(--control-radius, 999px);
  background: #fff;
  color: #19252b;
  font: 600 14px/1.35 var(--body, Manrope, Arial, sans-serif);
  cursor: pointer;
}
.storage-dialog {
  width: min(432px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 22px 24px 24px;
}
.storage-dialog::backdrop { background: rgb(17 28 34 / .52); }
.storage-dialog h2 { font-size: 25px; }
.storage-choice {
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  gap: 4px 12px;
  margin: 19px 0 22px;
  padding: 16px;
  border: 1px solid #d4d8da;
  border-radius: 14px;
  background: #f7f8f8;
  color: #19252b;
  font: 600 15px/1.4 var(--body, Manrope, Arial, sans-serif);
  cursor: pointer;
}
.storage-choice input {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: #b8191f;
}
.storage-choice small {
  grid-column: 2;
  color: #445057;
  font: 400 13px/1.48 var(--body, Manrope, Arial, sans-serif);
}
.storage-actions [data-storage-save] { border-color: #ba1c22; background: #ba1c22; color: #fff; }
.storage-sr, .storage-feedback:not(.is-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.storage-feedback.is-visible {
  position: fixed;
  z-index: 90;
  inset: auto auto max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  max-width: min(340px, calc(100% - 36px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #192a33;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  pointer-events: none;
}
.storage-settings-link:focus-visible, .storage-notice :focus-visible, .storage-dialog :focus-visible {
  outline: 3px solid #b8191f;
  outline-offset: 3px;
}
@media (hover: hover) {
  .storage-actions button:hover, .storage-icon-button:hover { background: #f0f2f2; }
  .storage-actions button:hover { border-color: #34424a; }
  .storage-actions [data-storage-save]:hover { border-color: #a31319; background: #a31319; }
  .storage-settings-link:hover, .storage-notice a:hover { color: #971a20; }
}
@media (max-width: 520px) {
  .storage-notice {
    inset: auto max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    width: auto;
    padding: 10px 16px 15px;
    border-radius: 16px;
  }
  .storage-heading { gap: 9px; }
  .storage-symbol { width: 29px; height: 29px; }
  .storage-notice h2 { font-size: 20px; }
  .storage-notice p { margin: 4px 0 12px; font-size: 13px; }
  .storage-dialog { padding: 16px; }
}
@media (min-height: 540px) and (prefers-reduced-motion: no-preference) {
  .storage-notice:not([hidden]) { animation: storage-enter 180ms ease-out; }
  @keyframes storage-enter { from { transform: translateY(5px); } }
}
@media (forced-colors: active) {
  .storage-notice, .storage-dialog, .storage-actions button, .storage-choice { border-color: ButtonText; }
}
