.mayak-cookie {
  box-sizing: border-box;
  min-width: 0;
  color: #4b5d6e;
  background: #e2e6ed;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.mayak-cookie[hidden], .mayak-cookie [hidden], .mayak-cookie [data-cookie-status]:empty {
  display: none;
}
.mayak-cookie-inner {
  box-sizing: border-box;
  max-width: 78rem;
  margin-inline: auto;
  padding: 1rem clamp(12px, 4vw, 48px);
}
.mayak-cookie h2 {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1.25;
}
.mayak-cookie p { margin: .5em 0 0; }
.mayak-cookie label {
  display: flex;
  align-items: baseline;
  gap: .55em;
  margin-top: .75em;
  font-weight: 600;
  cursor: pointer;
}
.mayak-cookie input[type=checkbox] {
  flex: none;
  align-self: baseline;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  accent-color: #184093;
}
.mayak-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em .75em;
  margin-top: .75em;
}
.mayak-cookie-actions button, .mayak-cookie-actions a {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: .5em .8em;
  font: inherit;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #184093;
}
.mayak-cookie-actions button {
  border: 1px solid #184093;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.mayak-cookie-actions button:hover { background: #eff3fa; }
.mayak-cookie-actions a { display: inline-flex; align-items: center; text-decoration: underline; }
.mayak-cookie :focus-visible { outline: 3px solid #184093; outline-offset: 2px; }

#mayak-cookie-banner p {font-size:.875rem}
#mayak-cookie-banner .mayak-cookie-actions {gap:.45rem}
#mayak-cookie-banner .mayak-cookie-actions a {padding-inline:.35em}
@media (min-width:60em) {
  #mayak-cookie-banner [data-cookie-prompt]:not([hidden]) {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:2rem;align-items:center}
  #mayak-cookie-banner .mayak-cookie-actions {grid-area:1/2/3/3;margin:0}
}

#mayak-cookie-banner {
  position:fixed; z-index:16; inset:auto 0 0; border-top:1px solid #acb6c5;
  max-height:50vh; max-height:50dvh; overflow-y:auto; overscroll-behavior:contain;
  padding-bottom:env(safe-area-inset-bottom,0px);
}
html {scroll-padding-bottom:var(--cookie-height,0px)}
body {padding-bottom:var(--cookie-height,0px)}
.floating {bottom:calc(var(--cookie-height,0px) + 1rem)}
