.mk-consent {
  position: fixed; inset: auto auto 24px 50%; transform: translateX(-50%);
  box-sizing: border-box; margin: 0; width: min(1120px, calc(100% - 48px));
  max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  padding: 24px 28px; border: 1px solid #d5e0e9;
  border-radius: 18px; background: #fff; color: #15354e; box-shadow: 0 12px 70px #062b4a40;
  font: 14px/1.6 Inter, system-ui, sans-serif; z-index: 2147483646;
}
.mk-consent[open] { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 32px; }
.mk-consent:not([open]) { display: none; }
.mk-consent h2 { grid-column: 1; grid-row: 1; margin: 0 0 10px; font-size: 21px; font-weight: 750; line-height: 1.25; color: #062b4a; }
.mk-consent p { margin: 0 0 12px; }
.mk-consent > #mk-consent-description { grid-column: 1; grid-row: 2; }
.mk-consent > #mk-consent-description + p { grid-column: 1; grid-row: 3; }
.mk-consent a, .mk-consent-link { color: #135e89; text-decoration: underline; text-underline-offset: 3px; }
.mk-consent-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; cursor: pointer; background: transparent; color: #15354e; font-size: 26px; border: 0; }
.mk-consent-actions { grid-column: 2; grid-row: 1 / 4; align-self: center; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0 12px; }
.mk-consent-actions button { min-height: 46px; padding: 11px 14px; border: 1px solid #153e60; border-radius: 9px; background: #153e60; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.mk-consent-actions button:hover { background: #225775; }
.mk-consent-actions #mk-consent-reject { background: #fff; color: #153e60; }
.mk-consent-actions #mk-consent-reject:hover { background: #eef4f8; }
.mk-consent button:disabled { opacity: .6; cursor: wait; }
.mk-consent details { grid-column: 2; grid-row: 4; min-width: 0; }
.mk-consent details[open] { grid-column: 1 / -1; grid-row: 5; margin-top: 12px; padding-top: 8px; border-top: 1px solid #d5e0e9; }
.mk-consent summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; font-weight: 650; }
.mk-consent label { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; cursor: pointer; font-weight: 650; }
.mk-consent input { appearance: auto; width: 18px; height: 18px; accent-color: #153e60; flex-shrink: 0; margin-top: 3px; }
.mk-consent small { display: block; font-size: 12px; line-height: 1.55; }
.mk-consent-save { padding: 10px 14px; border: 1px solid #153e60; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer; background: #fff; color: #153e60; margin: 12px 0; }
.mk-consent > .mk-consent-meta { grid-column: 1; grid-row: 4; align-self: center; margin: 0; padding: 10px 0; font-size: 12px; color: #4d6475; }
.mk-consent-status:empty { display: none; }
.mk-consent-status { grid-column: 1 / -1; grid-row: 6; color: #9b2121; margin-top: 10px !important; }
.mk-consent-trigger { position: fixed; left: 14px; bottom: 14px; z-index: 2147483645; padding: 9px 12px; border-radius: 8px; border: 1px solid #c5d4df; background: #fff; color: #153e60; font: 600 12px/1.4 Inter, system-ui, sans-serif; box-shadow: 0 2px 12px #062b4a20; cursor: pointer; }
.mk-consent-trigger[hidden] { display: none; }
.mk-consent :focus-visible, .mk-consent-trigger:focus-visible, .mk-consent-link:focus-visible { outline: 3px solid #1583bd; outline-offset: 3px; }
.mk-consent-link { font: inherit; cursor: pointer; background: transparent; border: 0; }
footer .mk-consent-link { color: inherit; font-size: 14px; }
@media (max-width: 900px) {
  .mk-consent { width: calc(100% - 32px); padding: 22px; }
  .mk-consent[open] { display: block; }
  .mk-consent h2 { margin-right: 28px; }
  .mk-consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0 6px; }
  .mk-consent details { border-top: 1px solid #d5e0e9; }
  .mk-consent details[open] { margin-top: 0; padding-top: 0; }
  .mk-consent > .mk-consent-meta { padding: 4px 0 0; }
}
@media (max-width: 768px) {
  .mk-consent {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 20px); padding: 18px; border-radius: 14px;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px) - env(safe-area-inset-top, 0px));
    font-size: 13px; line-height: 1.5;
  }
  .mk-consent h2 { font-size: 19px; }
  .mk-consent p { margin-bottom: 10px; }
  .mk-consent-trigger { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); left: 10px; }
  .mk-consent-actions { gap: 8px; margin-top: 14px; }
  .mk-consent-actions button { padding-inline: 8px; }
  body:has(.mk-consent[open]) .mobile-sticky-cta { visibility: hidden; pointer-events: none; }
}
@media (max-width: 340px) {
  .mk-consent { padding: 16px; }
  .mk-consent-actions { grid-template-columns: 1fr; }
}
