/* Transient operation results overlay the header from the first paint. */
[data-header-notice] {
  position: fixed !important;
  inset: 12px 12px auto auto;
  box-sizing: border-box;
  width: min(600px, calc(100vw - 24px));
  margin: 0 !important;
  z-index: 110;
}
.potok-notice {
  display: block !important;
  min-height: 52px;
  max-height: min(240px, 40dvh);
  overflow: auto;
  padding: 14px 56px 14px 18px !important;
  border: 1px solid #54d6c6 !important;
  border-radius: 12px !important;
  background: #151521 !important;
  color: #efedf8 !important;
  box-shadow: 0 8px 24px #0005;
  font: 500 14px/1.5 Inter, system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
.potok-notice[data-header-notice="error"] { border-color: #fa777d !important; }
.potok-notice[data-header-notice="warning"] { border-color: #efb35a !important; }
.potok-notice[data-header-notice="info"] { border-color: #aaa8c7 !important; }
.potok-notice p { margin: 0; color: inherit !important; font-size: 14px !important; line-height: 1.5 !important; }
.potok-notice :is(.owner-checkout-notice__mark, .owner-checkout-notice__eyebrow) { display: none; }
.potok-notice__title { display: block; margin-bottom: 2px; font-weight: 700; }
.potok-notice__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #efedf8;
  cursor: pointer;
  font: 24px/1 system-ui, sans-serif;
}
.potok-notice__close:hover { background: #ffffff12; }
.potok-notice__close:focus-visible { outline: 2px solid #54d6c6; outline-offset: -2px; }
@media print { [data-header-notice] { display: none !important; } }
