/* 7.9.69 — contrast, header line, language viewport, thin rules, footer, apps, chat */

html body [data-landing-header].bu-neon-head {
  height: auto !important;
  min-height: 64px !important;
  overflow: visible !important;
}

/* —— Header: one row, logo only on phone, guest CTAs —— */
html body .bu-neon-head-inner {
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
@media (min-width: 1100px) {
  html body .bu-neon-head .bu-neon-logo { display: none !important; }
}
html body .bu-neon-head .bu-apps-nav { display: none !important; }
html body .bu-head-login,
html body .bu-neon-login.bu-head-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #f8fafc !important;
  border: 1.5px solid rgba(255, 255, 255, 0.72) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
html body .bu-head-register,
html body .bu-neon-cta.bu-head-register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0e3340 !important;
  border: 0 !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(5, 10, 24, 0.28);
}
html body .bu-neon-side-cta {
  background: #fff !important;
  color: #0e3340 !important;
  border: 0 !important;
  font-weight: 900 !important;
}
html body .bu-neon-side-login {
  color: #f8fafc !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  background: transparent !important;
}

@media (max-width: 720px) {
  html body .bu-neon-head-inner { gap: 6px !important; padding: 8px 10px !important; }
  html body .bu-head-login,
  html body .bu-head-register { min-height: 36px !important; padding: 0 10px !important; font-size: 12px !important; }
  html body .bu-neon-head .bu-edition-switch.is-compact .bu-ed-copy { display: none !important; }
}

/* —— Language menu: self-contained (ported to body) —— */
html body .bu-lang-btn,
html body .bu-lang-btn .bu-lang-btn-code,
html body .bu-lang-btn .bu-lang-btn-name,
html body .bu-lang-btn .bu-lang-chev {
  color: #123a48 !important;
  fill: none;
}
html body .bu-lang-menu,
html body .bu-lang-menu-float,
html body [data-lang-menu] {
  background: #fff !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea !important;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22) !important;
  border-radius: 16px !important;
  padding: 10px !important;
}
html body .bu-lang-menu .bu-lang-same,
html body .bu-lang-menu-float .bu-lang-same {
  margin: 0 6px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: #0b6e86 !important;
}
html body .bu-lang-menu .bu-lang-q,
html body .bu-lang-menu-float .bu-lang-q {
  background: #f4fbfa !important;
  color: #123a48 !important;
  border: 1px solid #c5d8de !important;
}
html body .bu-lang-menu .bu-lang-opt,
html body .bu-lang-menu-float .bu-lang-opt,
html body .bu-lang-menu .bu-lang-opt-lab,
html body .bu-lang-menu-float .bu-lang-opt-lab,
html body .bu-lang-menu .bu-lang-opt-code,
html body .bu-lang-menu-float .bu-lang-opt-code {
  color: #123a48 !important;
  background: transparent !important;
}
html body .bu-lang-menu .bu-lang-opt.is-on,
html body .bu-lang-menu-float .bu-lang-opt.is-on,
html body .bu-lang-menu .bu-lang-opt:hover,
html body .bu-lang-menu-float .bu-lang-opt:hover {
  background: #d7ebe8 !important;
  color: #0b3d4a !important;
}
html body .bu-lang-menu .bu-lang-opt.is-on .bu-lang-opt-lab,
html body .bu-lang-menu .bu-lang-opt.is-on .bu-lang-opt-code,
html body .bu-lang-menu-float .bu-lang-opt.is-on .bu-lang-opt-lab,
html body .bu-lang-menu-float .bu-lang-opt.is-on .bu-lang-opt-code {
  color: #0b3d4a !important;
}

/* —— Thin product dividers —— */
html body.bu-product-page .bu-seam,
html body.bu-landing-page .bu-seam-pro,
html body.bu-landing-page .bu-seam-pro-close {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}
html body .bu-rule {
  display: block;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(18, 58, 72, 0.16), transparent);
}
html body.bu-product-page .bu-pro-story,
html body.bu-product-page .bu-pro-grid3,
html body.bu-product-page .bu-pro-grid2,
html body.bu-product-page .bu-pro-split,
html body.bu-product-page .bu-appdl-steps,
html body.bu-product-page .bu-appdl-split {
  border-top: 1px solid rgba(18, 58, 72, 0.1);
}

/* —— Sticky centered product subnav —— */
html body.bu-product-page .bu-pro-nav,
html body.bu-product-page .bu-pub-subnav,
html body.bu-landing-page .bu-pro-nav,
html body.bu-landing-page .bu-pub-subnav {
  position: sticky !important;
  top: 64px !important;
  z-index: 45 !important;
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  background: rgba(244, 251, 250, 0.94) !important;
  border-bottom: 1px solid rgba(18, 58, 72, 0.1) !important;
  backdrop-filter: blur(14px);
}
html body.bu-product-page .bu-pro-nav a,
html body.bu-product-page .bu-pub-subnav a {
  color: #123a48 !important;
  background: #fff;
  border: 1px solid #d5e4ea;
}
html body.bu-product-page .bu-pro-nav a.is-on,
html body.bu-product-page .bu-pub-subnav a.is-on {
  background: #0b6e86 !important;
  color: #fff !important;
  border-color: #0b6e86 !important;
}

/* —— Footer: 3 lead cols + nav, high contrast —— */
html body .bu-pub-foot-inner {
  display: grid !important;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.9fr 0.9fr 0.9fr !important;
  gap: 28px 24px !important;
}
html body .bu-pub-foot-brand,
html body .bu-pub-foot-tag,
html body .bu-pub-foot-mail,
html body .bu-pub-foot-hosts,
html body .bu-pub-foot-same {
  color: #e8f4f2 !important;
}
html body .bu-pub-foot-tag { font-size: 14px; line-height: 1.5; font-weight: 650; }
html body .bu-pub-foot-mail {
  display: inline-block;
  margin-top: 10px;
  color: #fff !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
html body .bu-pub-foot-hosts span {
  display: block;
  color: #d7ebe8 !important;
  font-weight: 700;
}
html body .bu-pub-foot-same {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: #7af0ff !important;
}
html body .bu-pub-foot .bu-edition-switch.is-rail > summary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}
html body .bu-pub-foot .bu-edition-switch.is-rail .bu-ed-copy strong,
html body .bu-pub-foot .bu-edition-switch.is-rail .bu-ed-copy span {
  color: #f8fafc !important;
}
html body .bu-pub-foot .bu-edition-menu,
html body .bu-pub-foot .bu-edition-menu a,
html body .bu-pub-foot .bu-edition-menu .bu-ed-copy strong,
html body .bu-pub-foot .bu-edition-menu .bu-ed-copy span,
html body .bu-pub-foot .bu-ed-same,
html body .bu-ed-same {
  color: #123a48 !important;
}
html body .bu-ed-same {
  margin: 0 8px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  color: #0b6e86 !important;
}
@media (max-width: 1100px) {
  html body .bu-pub-foot-inner {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
@media (max-width: 720px) {
  html body .bu-pub-foot-inner { grid-template-columns: 1fr !important; }
}

/* —— Preloader: dark plate, light text, teal motion —— */
html body.bu-has-pre #bu-pre {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(42, 163, 181, 0.38), transparent 46%),
    radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.18), transparent 42%),
    #07131c !important;
}
html body.bu-has-pre .bu-pre-card,
html body.bu-has-pre .bu-pre-v2 .bu-pre-card {
  background: #0e3340 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(122, 240, 255, 0.28) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45) !important;
}
html body.bu-has-pre .bu-pre-logo {
  background: #fff !important;
  padding: 10px 14px;
  border-radius: 14px;
}
html body.bu-has-pre .bu-pre-tag,
html body.bu-has-pre .bu-pre-step {
  color: #e8f4f2 !important;
}
html body.bu-has-pre .bu-pre-step.is-on {
  background: #fff !important;
  color: #0e3340 !important;
}
html body.bu-has-pre .bu-pre-progress {
  background: rgba(255, 255, 255, 0.16) !important;
}
html body.bu-has-pre .bu-pre-progress i {
  background: linear-gradient(90deg, #2aa3b5, #10b981) !important;
}

/* —— Apps half-cards: light plates, dark text —— */
html body .bu-appdl-v69 .bu-appdl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
html body .bu-appdl-v69 .bu-appdl-pane {
  background: #fff !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea !important;
  border-radius: 22px;
  padding: 28px 26px;
  min-height: 0 !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
html body .bu-appdl-v69 .bu-appdl-pane .bu-kicker { color: #0b6e86 !important; }
html body .bu-appdl-v69 .bu-appdl-pane h2,
html body .bu-appdl-v69 .bu-appdl-pane p,
html body .bu-appdl-v69 .bu-appdl-pane li {
  color: #123a48 !important;
}
html body .bu-appdl-v69 .bu-appdl-pane .bu-pro-btn {
  background: #0b6e86 !important;
  color: #fff !important;
  border-color: #0b6e86 !important;
}
html body .bu-appdl-v69 .bu-appdl-more { color: #0b6e86 !important; }
html body .bu-appdl-v69 .bu-appdl-pane.is-dispo { box-shadow: 0 18px 40px rgba(11, 110, 134, 0.12), inset 0 3px 0 #0b6e86; }
html body .bu-appdl-v69 .bu-appdl-pane.is-driver { box-shadow: 0 18px 40px rgba(14, 165, 233, 0.12), inset 0 3px 0 #0284c7; }
@media (max-width: 800px) {
  html body .bu-appdl-v69 .bu-appdl-split { grid-template-columns: 1fr; }
}

/* —— Hero benefit cards —— */
html body .bu-feat-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 18px 0 0 !important;
}
html body .bu-feat-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #123a48 !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(5, 20, 40, 0.22), 0 0 0 1px rgba(42, 163, 181, 0.18);
}
html body .bu-feat-card strong,
html body .bu-hero-solve {
  color: #f8fafc !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
html body .bu-feat-card strong { color: #0e3340 !important; text-shadow: none !important; font-size: 14px; }
html body .bu-feat-ico {
  display: grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #0e3340 !important;
  color: #7af0ff !important;
  flex: 0 0 auto;
}
html body .bu-hero-solve {
  font-size: 18px !important;
  font-weight: 800 !important;
  max-width: 36ch;
}

/* —— Nalog dashboard + poruke contrast —— */
html body.bu-nalog-page .bu-cc-hero {
  background: linear-gradient(135deg, #0b6e86, #123a48) !important;
  color: #fff !important;
}
html body.bu-nalog-page .bu-cc-hero,
html body.bu-nalog-page .bu-cc-hero h1,
html body.bu-nalog-page .bu-cc-hero p,
html body.bu-nalog-page .bu-cc-hero .bu-cc-lead,
html body.bu-nalog-page .bu-cc-hero .bu-cc-kicker {
  color: #fff !important;
}
html body.bu-nalog-page .bu-cc-pill {
  background: #fff !important;
  color: #123a48 !important;
  border: 0 !important;
  font-weight: 800 !important;
}
html body.bu-nalog-page .bu-cc-actions .bu-btn.ghost,
html body.bu-nalog-page .bu-cc-actions .bu-btn.blue {
  background: #fff !important;
  color: #0e3340 !important;
  border: 0 !important;
}
html body.bu-nalog-page .bu-cc-actions .bu-btn.blue {
  background: #c45c26 !important;
  color: #fff !important;
}
html body.bu-nalog-page .bu-nalog-chat-dock,
html body.bu-nalog-page .bu-poruke-panel,
html body.bu-nalog-page .bu-message-card,
html body.bu-nalog-page .bu-empty-state-poruke {
  background: #fff !important;
  color: #123a48 !important;
}
html body.bu-nalog-page .bu-nalog-chat-dock *,
html body.bu-nalog-page .bu-poruke-panel .bu-sub,
html body.bu-nalog-page .bu-empty-state-poruke,
html body.bu-nalog-page .bu-empty-state-poruke .bu-hint,
html body.bu-nalog-page .bu-message-card strong,
html body.bu-nalog-page .bu-message-peer {
  color: #123a48 !important;
}
html body.bu-nalog-chat-docked .bu-chat-drawer,
html body.bu-nalog-chat-docked .bu-chat-panel,
html body.bu-nalog-page #bu-chat .bu-chat-panel {
  background: #fff !important;
  color: #123a48 !important;
}
html body.bu-nalog-page .bu-bubble,
html body.bu-nalog-chat-docked .bu-bubble {
  background: #eef6f8 !important;
  color: #123a48 !important;
}
html body.bu-nalog-page .bu-bubble.me,
html body.bu-nalog-chat-docked .bu-bubble.me {
  background: #0b6e86 !important;
  color: #fff !important;
}

/* —— Dispo AI send stays above the floor —— */
html body.bu-board-page #bu-dispo,
html body.bu-board-page .bu-board-ai {
  display: flex !important;
  flex-direction: column;
  min-height: 0;
}
html body.bu-board-page #bu-dispo .bu-dispo-form,
html body.bu-board-page .bu-board-ai .bu-dispo-form {
  position: sticky;
  bottom: 0;
  z-index: 8;
  flex-shrink: 0;
  margin: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff !important;
  border-top: 1px solid #d5e4ea;
}
html body.bu-board-page #bu-dispo .bu-dispo-form .bu-btn,
html body.bu-board-page .bu-dispo-form .bu-btn {
  background: #0b6e86 !important;
  color: #fff !important;
  border: 0 !important;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
}
html body.bu-filters-open #bu-dispo .bu-dispo-form,
html body.bu-filters-open .bu-board-ai .bu-dispo-form {
  filter: none !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  z-index: 90;
  bottom: 8px;
}

/* —— Auth contrast —— */
html body.bu-auth-chrome .bu-join-card,
html body.bu-auth-chrome .bu-form-card {
  background: #fff !important;
  color: #123a48 !important;
  border: 1px solid #d5e4ea;
}
html body.bu-auth-chrome label,
html body.bu-auth-chrome .bu-join-lead,
html body.bu-auth-chrome input,
html body.bu-auth-chrome .bu-err,
html body.bu-auth-chrome .bu-ok {
  color: #123a48 !important;
}
html body.bu-auth-chrome .bu-err { color: #b42318 !important; }
html body.bu-auth-chrome .bu-ok { color: #0b6e86 !important; }
html body.bu-auth-chrome input {
  background: #fff !important;
  border: 1px solid #c5d8de !important;
}

/* —— Notify permission toast —— */
.bu-perm-toast {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483005;
  max-width: min(360px, calc(100vw - 24px));
  padding: 14px 16px;
  border-radius: 16px;
  background: #0e3340;
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.bu-perm-toast strong { display: block; margin-bottom: 4px; }
.bu-perm-toast p { margin: 0 0 10px; font-size: 13px; color: #d7ebe8; }
.bu-perm-toast-actions { display: flex; gap: 8px; }
.bu-perm-toast button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.bu-perm-yes { background: #fff; color: #0e3340; border: 0; }
.bu-perm-no { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }

@media (max-width: 720px) {
  html body.bu-product-page .bu-pro-nav,
  html body.bu-product-page .bu-pub-subnav {
    top: 56px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }
}
