.webly-policy-dialog {
  box-sizing: border-box;
  width: min(35rem, calc(100% - 2rem));
  max-height: min(44rem, calc(100dvh - 2rem));
  margin: auto;
  padding: clamp(1rem, 5vw, 2rem);
  overflow: auto;
  border: 1px solid #6cabb25e;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #20282dfc, #12181cfa);
  color: #f4fafb;
  box-shadow: 0 1.5rem 5rem #0008;
  font: 1rem/1.5 system-ui, sans-serif;
  text-align: left;
}
.webly-policy-dialog::backdrop { background: #070b13a8; backdrop-filter: blur(7px); }
.webly-policy-dialog h2 { margin: 0 2.5rem .35rem 0; font: 700 1.5rem/1.2 system-ui, sans-serif; }
.webly-policy-dialog > p { margin: .5rem 0; color: #cad9dc; }
.webly-policy-dialog button { font: inherit; cursor: pointer; }
.webly-policy-dialog button:focus-visible, .webly-policy-dialog :is(a, summary):focus-visible {
  outline: 2px solid #a2f5fa;
  outline-offset: 3px;
}
.webly-policy-close {
  position: absolute;
  inset: .65rem .65rem auto auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: #eef6f7;
  background: transparent;
  border: 1px solid transparent;
  border-radius: .75rem;
}
.webly-policy-close:hover { border-color: #627b80; background: #ffffff0c; }
.webly-policy-documents { display: grid; gap: .6rem; margin: 1.1rem 0; }
.webly-policy-documents > * {
  border: 1px solid #7eaeb333;
  border-radius: .75rem;
  background: #10151aaf;
}
.webly-policy-documents a { color: #a2f5fa; }
.webly-policy-documents > a, .webly-policy-documents summary { padding: .75rem 1rem; cursor: pointer; }
.webly-policy-documents .wb-legal-body { padding: 0 1rem 1rem; color: #d9e5e7; }
.webly-policy-agree {
  width: 100%;
  min-height: 2.75rem;
  border-radius: .75rem;
  border: 1px solid #84e8ef80;
  color: #e6fdff;
  background: #17434b;
}
.webly-policy-agree:hover { background: #20535d; }
.webly-policy-agree:disabled { opacity: .6; cursor: wait; }
.webly-policy-status:empty, [data-policy-guest][hidden] { display: none !important; }
