.employee-harness-tools {
  position: absolute !important;
  top: 24px;
  right: 24px;
  z-index: 4 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.employee-harness-tools[hidden],
.employee-harness-entry[hidden],
.opc-release-page[hidden] {
  display: none !important;
}

.employee-harness-local-state {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #5b5b72;
  border: 1px solid rgba(91, 91, 114, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(44, 47, 80, .1);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.employee-harness-local-state:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(44, 47, 80, .14);
}

.employee-harness-local-state:focus-visible {
  outline: 3px solid rgba(96, 85, 232, .25);
  outline-offset: 2px;
}

.employee-harness-local-state:disabled {
  cursor: wait;
  opacity: .72;
}

.employee-harness-local-state svg {
  width: 22px;
  height: 22px;
}

.employee-harness-local-state .employee-harness-state-alert,
.employee-harness-local-state[data-state="unknown"] .employee-harness-state-check {
  display: none;
}

.employee-harness-local-state[data-state="checking"] svg {
  animation: opc-local-state-spin 1.1s linear infinite;
}

.employee-harness-local-state[data-state="ready"] {
  color: #11875d;
  border-color: rgba(17, 135, 93, .3);
  background: #effbf6;
}

.employee-harness-local-state[data-state="unknown"] {
  color: #9b6b18;
  border-color: rgba(155, 107, 24, .28);
  background: #fff8e9;
}

.employee-harness-local-state[data-state="unknown"] .employee-harness-state-alert {
  display: block;
}

.employee-harness-download {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: .35em;
  padding: .72em 1.18em .72em .95em;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 2em;
  background: linear-gradient(90deg, #4d36d0 0%, #8474fe 100%);
  box-shadow: 0 .7em 1.5em -.5em rgba(77, 54, 208, .58);
  font-weight: 750;
  line-height: 1;
  transition: transform .3s, border-color .2s, box-shadow .3s;
}

.employee-harness-download:hover {
  border-color: #f4f5f2;
  transform: translateY(-1px);
}

.employee-harness-download:active {
  transform: scale(.98);
  box-shadow: 0 .5em 1.5em -.5em rgba(77, 54, 208, .58);
}

.employee-harness-download-icon {
  width: 20px;
  height: 20px;
}

.opc-release-page {
  width: min(100%, 1160px);
  min-width: 0;
  padding: 10px 4px 48px;
  color: var(--lr-ink, #151827);
}

.opc-release-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--lr-muted, #676b7a);
  border: 1px solid color-mix(in srgb, var(--lr-line, #dfe2eb) 88%, transparent);
  border-radius: 8px;
  background: var(--bg-card, #fff);
  font-weight: 700;
}

.opc-release-back:hover {
  color: var(--lr-primary, #6257f6);
  border-color: color-mix(in srgb, var(--lr-primary, #6257f6) 35%, var(--lr-line, #dfe2eb));
}

.opc-release-hero {
  max-width: 820px;
  margin: 46px auto 38px;
  text-align: center;
}

.opc-release-eyebrow {
  color: #6055e8;
  font-size: 12px;
  font-weight: 800;
}

.opc-release-hero h2 {
  margin: 12px 0 14px;
  color: var(--lr-ink, #151827);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
}

.opc-release-hero p {
  margin: 0;
  color: var(--lr-muted, #676b7a);
  font-size: 16px;
  line-height: 1.7;
}

.opc-release-version {
  width: fit-content;
  min-height: 32px;
  display: grid;
  place-items: center;
  margin: 18px auto 0;
  padding: 0 12px;
  color: #4d4695;
  border: 1px solid rgba(96, 85, 232, .2);
  border-radius: 999px;
  background: rgba(96, 85, 232, .07);
  font-size: 12px;
  font-weight: 750;
}

.opc-release-recommendation {
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  color: #345c4e;
  border-top: 1px solid rgba(17, 135, 93, .18);
  border-bottom: 1px solid rgba(17, 135, 93, .18);
  font-size: 13px;
}

.opc-release-recommendation span {
  color: #11875d;
  font-weight: 800;
}

.opc-release-recommendation strong {
  font-weight: 700;
}

.opc-release-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.opc-release-card {
  position: relative;
  min-width: 0;
  min-height: 430px;
  display: grid;
  grid-template-rows: 86px auto auto auto 1fr;
  justify-items: center;
  padding: 34px 26px 26px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lr-line, #dfe2eb) 92%, transparent);
  border-radius: 8px;
  background: var(--bg-card, #fff);
  box-shadow: 0 18px 46px rgba(51, 54, 88, .08);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.opc-release-card:hover {
  border-color: rgba(96, 85, 232, .28);
  box-shadow: 0 22px 54px rgba(51, 54, 88, .12);
  transform: translateY(-3px);
}

.opc-release-card.is-recommended {
  border-color: rgba(96, 85, 232, .55);
  box-shadow: 0 24px 64px rgba(96, 85, 232, .16);
}

.opc-release-system-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #5148c5;
  border: 1px solid rgba(96, 85, 232, .18);
  border-radius: 50%;
  background: linear-gradient(145deg, #f1efff, #f8f9ff);
}

.opc-release-system-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.6;
}

.opc-release-recommended-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  color: #fff;
  border-radius: 6px;
  background: #6055e8;
  font-size: 10px;
  font-weight: 800;
}

.opc-release-card h3 {
  margin: 18px 0 0;
  color: var(--lr-ink, #151827);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.3;
}

.opc-release-card p {
  margin: 8px 0 0;
  color: var(--lr-muted, #676b7a);
  font-size: 13px;
  line-height: 1.55;
}

.opc-release-card-version {
  margin-top: 14px;
  color: #8a8da0;
  font-size: 12px;
  font-weight: 700;
}

.opc-release-card-actions {
  width: 100%;
  align-self: end;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.opc-release-primary-download,
.opc-release-secondary-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 750;
}

.opc-release-primary-download {
  width: 100%;
  min-height: 48px;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(90deg, #4d36d0 0%, #8474fe 100%);
  box-shadow: 0 12px 24px rgba(77, 54, 208, .2);
}

.opc-release-primary-download:hover {
  box-shadow: 0 16px 30px rgba(77, 54, 208, .28);
  transform: translateY(-1px);
}

.opc-release-primary-download svg {
  width: 19px;
  height: 19px;
}

.opc-release-secondary-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.opc-release-secondary-download {
  min-height: 34px;
  padding: 0 10px;
  color: #5d5a72;
  border: 1px solid color-mix(in srgb, var(--lr-line, #dfe2eb) 92%, transparent);
  border-radius: 6px;
  background: transparent;
  font-size: 11px;
}

.opc-release-secondary-download:hover {
  color: #5148c5;
  border-color: rgba(96, 85, 232, .35);
  background: rgba(96, 85, 232, .05);
}

.opc-release-primary-download:disabled,
.opc-release-secondary-download:disabled {
  cursor: wait;
  opacity: .55;
}

.opc-release-loading,
.opc-release-error {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 44px 20px;
  color: var(--lr-muted, #676b7a);
  border-top: 1px solid var(--lr-line, #dfe2eb);
  border-bottom: 1px solid var(--lr-line, #dfe2eb);
  text-align: center;
  line-height: 1.7;
}

.opc-release-error {
  color: #b74750;
}

.opc-release-footnote {
  max-width: 780px;
  margin: 30px auto 0;
  color: var(--lr-muted, #676b7a);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

body.dark .employee-harness-local-state {
  background: rgba(25, 27, 41, .92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

body.dark .employee-harness-local-state[data-state="ready"] { background: #153a30; }
body.dark .employee-harness-local-state[data-state="unknown"] { background: #49391d; }
body.dark .opc-release-system-icon { background: #25263a; }
body.dark .opc-release-card { box-shadow: 0 18px 46px rgba(0, 0, 0, .2); }
body.dark .opc-release-secondary-download { color: #c5c3d7; }

@keyframes opc-local-state-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .opc-release-platforms { grid-template-columns: 1fr; }
  .opc-release-card { min-height: 380px; }
}

@media (max-width: 620px) {
  .employee-harness-tools { top: 14px; right: 14px; gap: 7px; }
  .employee-harness-local-state { width: 38px; height: 38px; }
  .employee-harness-download { min-height: 38px; padding: .65em .9em; font-size: 13px; }
  .opc-release-page { padding: 0 0 34px; }
  .opc-release-hero { margin: 34px auto 28px; }
  .opc-release-hero h2 { font-size: 30px; }
  .opc-release-hero p { font-size: 14px; }
  .opc-release-recommendation { align-items: flex-start; flex-direction: column; gap: 4px; }
  .opc-release-card { min-height: 390px; padding: 30px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .employee-harness-local-state[data-state="checking"] svg { animation: none; }
  .employee-harness-download,
  .opc-release-card,
  .opc-release-primary-download { transition: none; }
}
