.alb-consent {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 24px 80px #0002, 0 4px 18px #0001;
}
.alb-consent:not([open]) { display: none; }
.alb-consent[open] { display: flex; flex-direction: column; }
.alb-consent::backdrop { background: #0006; }
.alb-consent * { box-sizing: border-box; }
.alb-consent-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  padding: 28px 28px 20px;
}
.alb-consent .alb-consent-kicker {
  margin: 0 0 8px;
  color: #656565;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.alb-consent h2 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.alb-consent h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.alb-consent p { margin: 0 0 20px; }
.alb-consent-body { min-height: 0; padding: 0 28px 8px; overflow: auto; }
.alb-consent .alb-consent-description { margin-bottom: 22px; color: #555; }
.alb-consent button {
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #111;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
.alb-consent button:hover { background: #f1f1f1; }
.alb-consent button:focus-visible,
.alb-consent a:focus-visible,
.alb-consent input:focus-visible,
.alb-cookie-trigger:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.alb-consent .alb-consent-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: -7px -7px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f5f5;
}
.alb-consent-close svg { width: 18px; height: 18px; }
.alb-consent-group {
  display: flex;
  gap: 14px;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f8f8f8;
}
.alb-consent-group-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid #e4e4e4;
  border-radius: 50%;
  background: #fff;
}
.alb-consent-group-icon svg { width: 18px; height: 18px; }
.alb-consent-group-content { flex: 1; min-width: 0; }
.alb-consent-group-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.alb-consent-group-heading .alb-consent-status { display: inline-flex; align-items: center; gap: 6px; color: #555; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.alb-consent-status::before { width: 5px; height: 5px; border-radius: 50%; background: #555; content: ''; }
.alb-consent-group p { margin: 8px 0 0; color: #555; font-size: 13px; line-height: 1.55; }
.alb-consent-note { color: #656565; font-size: 13px; line-height: 1.55; }
.alb-consent .alb-consent-note:last-of-type { margin-bottom: 12px; }
.alb-consent-service { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 16px; padding: 12px 2px; border-bottom: 1px solid #e8e8e8; }
.alb-consent-service:last-of-type { margin-bottom: 16px; }
.alb-consent-service input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #111; }
.alb-consent-footer { flex-shrink: 0; padding: 20px 28px 12px; border-top: 1px solid #ededed; background: #fcfcfc; }
.alb-consent-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 6px; }
.alb-consent-actions--single button { border-color: #000; background: #000; color: #fff; }
.alb-consent-actions--single button:hover { background: #292929; color: #fff; }
.alb-consent-privacy { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 0; color: #656565; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.alb-consent-privacy:hover { color: #111; }
.alb-consent-error { color: #a20000; }
.alb-consent [hidden] { display: none !important; }
.alb-cookie-trigger { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 8px; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.alb-cookie-trigger svg { width: 16px; height: 16px; }
.alb-cookie-trigger:hover { background: #f3f3f3; }
@media (min-width: 540px) {
  .alb-consent-actions:has([data-consent-action]) { grid-template-columns: 1fr 1fr 1fr; }
  .alb-consent-actions [data-consent-action] { padding: 11px 8px; font-size: 13px; }
}
@media (max-width: 539px) {
  .alb-consent { inset: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 16px); margin: 0 auto; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 14px 14px 0 0; }
  .alb-consent-heading { padding: 24px 22px 18px; gap: 12px; }
  .alb-consent h2 { font-size: 24px; }
  .alb-consent-body { padding: 0 22px 6px; }
  .alb-consent-footer { padding: 18px 22px max(10px, env(safe-area-inset-bottom)); }
  .alb-consent-group { padding: 16px; gap: 12px; }
  .alb-consent-group-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 359px) {
  .alb-consent-heading { padding-right: 18px; padding-left: 18px; }
  .alb-consent-body { padding-right: 18px; padding-left: 18px; }
  .alb-consent-footer { padding-right: 18px; padding-left: 18px; }
  .alb-consent h2 { font-size: 22px; }
  .alb-consent-group { padding: 14px; }
}
