
:root {
  --sticky-topbar-z: 2600;
  --sticky-topbar-bg: rgba(255,255,255,.78);
  --sticky-topbar-dark-bg: rgba(7,14,28,.82);
  --tech-note-border: rgba(39,87,180,.16);
  --tech-note-grad-1: rgba(241,246,255,.98);
  --tech-note-grad-2: rgba(229,238,255,.94);
  --tech-note-grad-3: rgba(255,255,255,.92);
}

html, body {
  max-width: 100%;
}

html {
  scroll-padding-top: calc(var(--public-topbar-height, 78px) + 18px) !important;
}

body {
  overscroll-behavior-y: auto;
}

.public-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: var(--sticky-topbar-z) !important;
  background: linear-gradient(135deg, var(--sticky-topbar-bg), rgba(246,249,255,.92)) !important;
  box-shadow: 0 12px 28px rgba(13,33,74,.08);
}

body[data-theme="dark"] .public-topbar {
  background: linear-gradient(135deg, var(--sticky-topbar-dark-bg), rgba(17,28,49,.92)) !important;
}

.public-shell {
  padding-top: 18px !important;
}

.public-shell > section[id],
.public-card[id],
.hero-card[id] {
  scroll-margin-top: calc(var(--public-topbar-height, 78px) + 18px);
}

.company-anchor-scroll-shell-v5,
.company-anchor-nav-v5,
.premium-mobile-dock-inner {
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.company-anchor-scroll-shell-v5 {
  touch-action: pan-x;
}

.field-with-note {
  align-self: stretch;
}

.tech-note-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--tech-note-border);
  background: linear-gradient(135deg, var(--tech-note-grad-1), var(--tech-note-grad-2), var(--tech-note-grad-3));
  box-shadow: 0 10px 24px rgba(45,72,126,.08);
}

.tech-note-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #244278;
}

.tech-note-card span {
  display: block;
  color: #29405f;
  font-size: 13px;
  line-height: 1.65;
}

.tech-note-soft {
  border-color: rgba(67,120,214,.12);
}

body[data-theme="dark"] .tech-note-card {
  background: linear-gradient(135deg, rgba(19,28,46,.96), rgba(25,37,62,.93), rgba(17,24,39,.95));
  border-color: rgba(114,148,224,.2);
  box-shadow: 0 14px 30px rgba(0,0,0,.26);
}

body[data-theme="dark"] .tech-note-card strong {
  color: #c6d8ff;
}

body[data-theme="dark"] .tech-note-card span {
  color: #dbe6ff;
}

@media (max-width: 768px) {
  :root {
    --public-topbar-height: 72px;
  }

  html {
    scroll-behavior: auto;
  }

  .public-topbar-inner {
    min-height: var(--public-topbar-height);
  }

  .tech-note-card {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .tech-note-card span {
    font-size: 12.5px;
    line-height: 1.6;
  }
}


/* KOD007 - ready mix public page kesin sabit topbar */
body.ready-mix-public-page {
  padding-top: var(--public-topbar-height, 78px) !important;
}

body.ready-mix-public-page .public-topbar {
  position: fixed !important;
  left: 0;
  right: 0;
  top: 0 !important;
  width: 100%;
}

body.ready-mix-public-page .public-shell {
  padding-top: 18px !important;
}

@media (max-width: 768px) {
  body.ready-mix-public-page {
    padding-top: var(--public-topbar-height, 72px) !important;
  }
}
