.beta-notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(56px, 7vw, 120px) 14px clamp(24px, 7vw, 120px);
  border-bottom: 1px solid #d6bd76;
  background: #f5f3ef;
  color: #08263a;
  font-family: inherit;
}

.beta-notice__copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.beta-notice__badge,
.beta-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d6b45d;
  color: #08263a;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
}

.beta-notice__badge {
  min-width: 58px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.beta-notice__copy strong {
  display: block;
  margin: 0 0 3px;
  font-size: 15px;
}

.beta-notice__copy p {
  max-width: 920px;
  margin: 0;
  color: #53616c;
  font-size: 13px;
  line-height: 1.45;
}

.beta-notice__action {
  flex: 0 0 auto;
  color: #08263a;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.beta-notice__action:hover,
.beta-notice__action:focus-visible {
  color: #8b6826;
  text-decoration: underline;
}

.beta-notice__dismiss {
  position: absolute;
  top: 9px;
  right: clamp(12px, 2vw, 30px);
  width: 30px;
  height: 30px;
  border: 1px solid #b9b6ad;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  color: #53616c;
  cursor: pointer;
  font: inherit;
  font-size: 23px;
  line-height: 24px;
}

.beta-notice__dismiss:hover,
.beta-notice__dismiss:focus-visible {
  border-color: #b88b2c;
  color: #08263a;
  outline: none;
}

.beta-header-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  box-sizing: border-box;
  padding: 8px 13px;
  border: 1px solid #95a5ad;
  border-radius: 10px;
  color: #dce2e0;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.beta-header-feedback:hover,
.beta-header-feedback:focus-visible {
  border-color: #d6b45d;
  background: transparent;
  outline: none;
}

.topnav .beta-header-feedback {
  order: -1;
}

.user-menu .beta-header-feedback {
  margin-right: 4px;
}

.mobile-feedback-link {
  display: none;
}

.beta-brand-badge {
  min-height: 30px;
  padding: 0 12px;
  margin-left: 14px;
  font-size: 11px;
  vertical-align: middle;
}

a.beta-brand-mark {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
}

.site-cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px;
  border: 1px solid #d7d1c3;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 38, 58, .18);
  color: #53616c;
  font-size: 13px;
  line-height: 1.45;
}

.site-cookie-notice strong {
  display: block;
  margin-bottom: 3px;
  color: #08263a;
}

.site-cookie-notice a {
  color: #8b6826;
  font-weight: 800;
}

.site-cookie-notice button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  padding: 10px 15px;
  background: #08263a;
  color: #f7f4eb;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.site-cookie-notice button:hover,
.site-cookie-notice button:focus-visible {
  filter: brightness(1.05);
}

@media (max-width: 720px) {
  .beta-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px 48px 13px 20px;
  }

  .beta-notice__copy p {
    font-size: 12px;
  }

  .beta-notice__action {
    margin-left: 72px;
  }

  .beta-notice__dismiss {
    top: 11px;
    right: 12px;
  }

  .topnav .beta-header-feedback {
    width: 100%;
    margin: 3px 0;
  }

  .user-menu .beta-header-feedback {
    display: none;
  }

  .beta-brand-badge {
    min-height: 26px;
    padding: 0 9px;
    margin-left: 9px;
    font-size: 9px;
  }

  .site-cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: block;
    padding: 14px 15px;
  }

  .site-cookie-notice button {
    margin-top: 12px;
  }
}

/* Kompaktnejší pracovný priestor: použije sa aj pri desktopovom zoome, keď sa plná hlavička už nezmestí. */
@media (max-width: 1100px) {
  html,
  body {
    overflow-x: hidden;
  }

  .workspace-header {
    height: 72px;
    min-width: 0;
    gap: 8px;
    padding: 0 14px;
  }

  .workspace-header .brand-link img {
    width: 112px;
  }

  .workspace-header .beta-brand-badge {
    min-height: 25px;
    margin-left: 7px;
    padding: 0 8px;
    font-size: 9px;
  }

  .workspace-header .user-menu {
    min-width: 0;
    margin-left: auto;
    gap: 7px;
  }

  .workspace-header #workspaceUser {
    display: none;
  }

  .workspace-header .user-menu .beta-header-feedback {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .workspace-header .user-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .workspace-header .user-menu button {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    font-size: 0;
  }

  .workspace-header .user-menu button::after {
    content: '↪';
    font-size: 20px;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  .workspace-header {
    padding: 0 10px;
    gap: 5px;
  }

  .workspace-header .brand-link img {
    width: 96px;
  }

  .workspace-header .beta-brand-badge {
    margin-left: 5px;
    padding: 0 6px;
    font-size: 8px;
  }

  .workspace-header .user-menu {
    gap: 5px;
  }

  .workspace-header .user-menu .beta-header-feedback {
    padding: 7px 6px;
    font-size: 10px;
  }
}

.workspace-mobile-menu-toggle,
.mobile-sidebar-logout { display: none; }

@media (max-width: 1100px) {
  .workspace-header .user-menu > #logout { display: none; }
  .workspace-mobile-menu-toggle { display:inline-grid;width:38px;height:38px;padding:0;flex:0 0 38px;border:1px solid #95a5ad;border-radius:10px;background:transparent;place-content:center;gap:4px;cursor:pointer; }
  .workspace-mobile-menu-toggle span { display:block;width:17px;height:2px;border-radius:999px;background:#d6b45d;transition:transform .18s ease,opacity .18s ease; }
  .workspace-mobile-menu-toggle.is-open span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .workspace-mobile-menu-toggle.is-open span:nth-child(2) { opacity:0; }
  .workspace-mobile-menu-toggle.is-open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  .workspace-layout.mobile-nav-open .sidebar { position:fixed;inset:72px 0 0;z-index:30;display:flex;overflow-y:auto;padding:24px 18px 30px;background:#f8fbff;box-shadow:0 18px 42px rgba(12,43,80,.16); }
  .workspace-layout.mobile-nav-open .sidebar a { min-height:50px; }
  .workspace-layout.mobile-nav-open .sidebar .mobile-feedback-link { display:flex;align-items:center;margin:14px 0 0;padding:0 16px;border:1px solid #d6b45d;border-radius:5px;background:#08263a;color:#f7f4eb; }
  .mobile-sidebar-logout { display:block;width:100%;margin-top:12px;padding:14px 16px;border:1px solid #d6b45d;border-radius:12px;background:transparent;color:#08263a;font:inherit;font-weight:800;text-align:left;cursor:pointer; }
}
