/* Approved button v12 · request 386 */
.system-entry-v12 {
  flex: 0 0 auto;
  min-width: 190px;
  min-height: 58px;
  margin-left: auto;
  padding: 9px 22px 9px 24px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 14px;
  color: #fbfaf7;
  background: #284c39;
  border: 1px solid rgba(17,43,29,.16);
  border-radius: 25px 13px 25px 13px;
  box-shadow: 0 7px 22px rgba(40,76,57,.13);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 20;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.system-entry-v12:hover {
  color: #fbfaf7;
  background: #315943;
  box-shadow: 0 11px 28px rgba(40,76,57,.18);
  transform: translateY(-1px);
}
.system-entry-v12:active { transform: translateY(0); }
.system-entry-v12:focus-visible { outline: 2px solid #3f7457; outline-offset: 4px; }
.system-entry-v12__major {
  font-family: "PT Serif", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.system-entry-v12__minor {
  max-width: 52px;
  color: #dce8df;
  font-family: Inter, Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mayak-shell-inner,
.site-header__inner,
.institute-topbar__inner,
.site-shell__inner,
.hero__header,
body > header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mayak-shell-logo,
.site-header__inner .brand,
.institute-topbar__brand,
.site-logo,
.hero__header .brand,
body > header > .wrap .logo { min-width: 0; }
.header-inner:has(.system-entry-v12) {
  display: flex;
  align-items: center;
  gap: 16px;
}
.manifest-topbar:has(.system-entry-v12) {
  grid-template-columns: 46px minmax(0,1fr) auto;
  align-items: center;
}

@media (max-width: 720px) {
  .system-entry-v12 {
    min-width: 148px;
    min-height: 50px;
    padding: 8px 13px 8px 15px;
    column-gap: 9px;
    border-radius: 22px 12px 22px 12px;
  }
  .system-entry-v12__major { font-size: 17px; }
  .system-entry-v12__minor { max-width: 44px; font-size: 6.6px; }
  .mayak-shell-inner,
  .site-header__inner,
  .institute-topbar__inner,
  .site-shell__inner,
  .hero__header,
  body > header > .wrap { gap: 12px; }
  .header-inner:has(.system-entry-v12) { flex-wrap: wrap; }
  .header-inner:has(.system-entry-v12) .wordmark { order: 1; }
  .header-inner:has(.system-entry-v12) .system-entry-v12 { order: 2; }
  .header-inner:has(.system-entry-v12) .header-cta {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  .manifest-topbar:has(.system-entry-v12) {
    grid-template-columns: 42px minmax(0,1fr);
  }
  .manifest-topbar:has(.system-entry-v12) .system-entry-v12 {
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: 12px;
  }
}
@media (max-width: 420px) {
  .system-entry-v12 {
    min-width: 132px;
    min-height: 48px;
    padding: 7px 10px 7px 12px;
    column-gap: 7px;
  }
  .system-entry-v12__major { font-size: 15px; }
  .system-entry-v12__minor { max-width: 39px; font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .system-entry-v12 { transition: none; }
  .system-entry-v12:hover { transform: none; }
}
