@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --canvas: #f4f8f5;
  --surface: #ffffff;
  --surface-soft: #edf5ef;
  --ink: #0f1419;
  --muted: #5c6670;
  --line: #dde8e1;
  --brand: #1f8441;
  --brand-dark: #066b28;
  --brand-light: #2ea85c;
  --brand-soft: #e2f3e7;
  --accent: #1f8441;
  --accent-soft: #e2f3e7;
  --success: #1f8441;
  --success-soft: #e2f3e7;
  --warning: #8b6200;
  --warning-soft: #fff0c7;
  --info: #2f5d85;
  --info-soft: #e1ebf5;
  --danger: #9a3e43;
  --danger-soft: #f7e2e3;
  --shadow: 0 12px 48px rgba(15, 20, 25, 0.08);
  --font-sans: Inter, "Segoe UI Variable Text", "Segoe UI", ui-sans-serif,
    system-ui, sans-serif;
  --font-display: Manrope, Inter, "Segoe UI Variable Display", "Segoe UI",
    ui-sans-serif, system-ui, sans-serif;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% -18%, rgba(46, 168, 92, 0.16), transparent 34rem),
    var(--canvas);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 222, 216, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.shell-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: white;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 15px;
}

.brand__text span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  border-radius: 9px;
  padding: 9px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  background: var(--brand);
  color: white;
}

.shell-main {
  width: min(1180px, calc(100% - 40px));
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  border: 1px solid #e4cd8f;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--warning-soft);
  color: #604400;
  font-size: 13px;
  line-height: 1.45;
}

.demo-banner__label {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(96, 68, 0, 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 44px;
  margin: 18px 0 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.005em;
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.hero-fact {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.hero-fact__value {
  display: block;
  color: var(--brand);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-fact__label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.release-lifecycle-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.release-lifecycle-map__stage {
  position: relative;
  min-width: 0;
  padding: 30px 22px 0 0;
  border-top: 1px solid #a8c7b3;
}

.release-lifecycle-map__stage::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: #a8c7b3;
  box-shadow: 0 0 0 1px #a8c7b3;
  content: "";
}

.release-lifecycle-map__stage--active {
  border-top-color: var(--brand);
}

.release-lifecycle-map__stage--active::before {
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.release-lifecycle-map__stage strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.release-lifecycle-map__stage span {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.lifecycle__stage {
  position: relative;
  min-height: 168px;
  padding: 24px 24px 22px;
  border-right: 1px solid var(--line);
}

.lifecycle__stage:last-child {
  border-right: 0;
}

.lifecycle__number {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.lifecycle__stage h3 {
  font-size: 16px;
}

.lifecycle__stage p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill,
.button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.filter-pill:hover,
.button:hover,
.tab-button:hover {
  border-color: #aab5ad;
}

.filter-pill[aria-pressed="true"],
.tab-button[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.button--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.button--quiet {
  background: transparent;
}

.filter-pill--static {
  cursor: default;
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.filter-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.release-timeline {
  position: relative;
}

.release-timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 171px;
  width: 1px;
  background: var(--line);
  content: "";
}

.release-entry {
  display: grid;
  grid-template-columns: 145px 52px minmax(0, 1fr);
  align-items: start;
  margin-bottom: 24px;
}

.release-entry[hidden] {
  display: none;
}

.release-entry__date {
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
}

.release-entry__axis {
  position: relative;
  display: grid;
  min-height: 72px;
  place-items: start center;
  padding-top: 24px;
}

.release-entry__dot {
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 3px solid var(--canvas);
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 1px var(--line);
}

.release-entry[data-release-state="planned"] .release-entry__dot {
  background: var(--info);
}

.release-entry[data-release-state="candidate"] .release-entry__dot {
  background: var(--warning);
}

.release-entry[data-release-state="released"] .release-entry__dot {
  background: var(--success);
}

.release-entry[data-release-state="end-of-support"] .release-entry__dot {
  background: var(--danger);
}

.release-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(23, 34, 28, 0.06);
}

.release-card--featured {
  border-color: #a8d5b7;
  border-left: 4px solid var(--brand);
  box-shadow: 0 14px 38px rgba(31, 132, 65, 0.1);
}

.release-entry--secondary .release-card {
  box-shadow: none;
}

.release-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.release-card__title-row,
.meta-row,
.action-row,
.channel-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.release-version {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.status,
.demo-chip,
.channel {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.status--planned,
.channel--main {
  background: var(--info-soft);
  color: var(--info);
}

.status--candidate,
.channel--rc {
  background: var(--warning-soft);
  color: var(--warning);
}

.status--released,
.channel--release {
  background: var(--success-soft);
  color: var(--success);
}

.status--current {
  background: var(--brand);
  color: white;
}

.status--end-of-support {
  background: var(--danger-soft);
  color: var(--danger);
}

.channel--dev {
  background: var(--surface-soft);
  color: var(--muted);
}

.channel--all {
  background: var(--surface);
  color: var(--ink);
}

button.channel {
  cursor: pointer;
  border: 1px solid transparent;
}

button.channel:hover {
  border-color: currentColor;
}

button.channel[aria-pressed="true"] {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.channel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  cursor: default;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

button.channel-tag {
  cursor: pointer;
}

button.channel-tag:hover,
button.channel-tag:focus-visible {
  border-color: currentColor;
}

.channel-tag--release {
  background: var(--success-soft);
  color: var(--success);
}

.channel-tag--rc {
  background: var(--warning-soft);
  color: var(--warning);
}

.channel-tag--main {
  background: var(--info-soft);
  color: var(--info);
}

.channel-tag--dev {
  background: var(--surface-soft);
  color: var(--muted);
}

.demo-chip {
  background: var(--accent-soft);
  color: var(--accent);
}

.release-card__description {
  max-width: 760px;
  margin: 14px 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.meta-row {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.meta-row span + span::before {
  margin-right: 8px;
  color: var(--line);
  content: "•";
}

.action-row {
  margin-top: 18px;
}

.release-details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.release-details summary {
  cursor: pointer;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.release-details[open] summary {
  margin-bottom: 16px;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 13px;
}

.data-table th {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 12px;
  vertical-align: top;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: rgba(219, 234, 228, 0.36);
}

.data-table a {
  color: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.data-table a:hover {
  text-decoration: underline;
}

.cell-primary {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.cell-secondary {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.image-reference {
  min-width: 330px;
}

.image-reference__value {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.image-reference__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.image-reference__copy {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.image-reference__copy:hover {
  text-decoration: underline;
}

.image-reference__copy:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}

.image-reference .copy-feedback {
  min-height: 0;
  margin: 0;
  white-space: nowrap;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(190px, 0.7fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, var(--surface), var(--surface-soft));
  box-shadow: 0 8px 30px rgba(15, 20, 25, 0.05);
}

.search-panel__channels {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.search-panel__channels-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 11px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.build-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 10px;
}

.build-summary-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  margin: 28px 0;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 36px;
  color: var(--muted);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.app-loading,
.state-panel {
  max-width: 720px;
  margin: 72px auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 42px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.app-loading {
  color: var(--muted);
}

.state-panel h1 {
  margin-bottom: 12px;
}

.state-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.state-panel--error {
  border-color: #e4b9bc;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(23, 34, 28, 0.05);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.module-card:hover,
.module-card:focus-visible {
  border-color: #a8d5b7;
  box-shadow: 0 14px 34px rgba(31, 132, 65, 0.1);
  transform: translateY(-2px);
}

.module-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
}

.module-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.module-card__body > strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.module-card__body > span:not(.module-card__meta, .module-card__channels) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.module-card__meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.module-card__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.version-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.version-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.version-list li:last-child {
  border-bottom: 0;
}

.version-list span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.tab-count {
  margin-left: 5px;
  opacity: 0.75;
}

.build-table {
  min-width: 1160px;
}

.build-table th:last-child,
.build-table td:last-child {
  width: 36%;
}

.module-builds .data-table {
  min-width: 980px;
}

.module-builds .data-table th:last-child,
.module-builds .data-table td:last-child {
  width: 42%;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.module-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 40px;
  margin-bottom: 18px;
}

.module-identity {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.module-icon {
  display: grid;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.module-identity h1 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 44px);
}

.module-identity p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.55;
}

.module-summary {
  box-shadow: 0 10px 32px rgba(23, 34, 28, 0.06);
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.module-builds {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.module-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.module-fact {
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-fact:nth-child(2n) {
  border-right: 0;
}

.module-fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.module-fact span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.module-fact strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.module-lifecycle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.optional-module-history {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.optional-module-history summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.optional-module-history[open] summary {
  margin-bottom: 24px;
}

.module-history-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.module-history-line li {
  position: relative;
  padding: 24px 18px 0 0;
  border-top: 1px solid #a8c7b3;
}

.module-history-line li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.module-history-line time,
.module-history-line strong,
.module-history-line span {
  display: block;
}

.module-history-line time {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.module-history-line span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.module-lifecycle__item {
  min-height: 122px;
  padding: 20px;
  background: var(--surface);
}

.module-lifecycle__item time {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-lifecycle__item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.tab-panel[hidden] {
  display: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
}

.content-block {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.content-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.content-block p,
.content-block li {
  color: var(--muted);
  line-height: 1.6;
}

.aside-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--surface);
}

.aside-panel dl {
  margin: 0;
}

.aside-panel dt {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.aside-panel dt:first-child {
  margin-top: 0;
}

.aside-panel dd {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.copy-feedback {
  min-height: 18px;
  margin-top: 8px;
  color: var(--success);
  font-size: 12px;
}

.installer-hero {
  margin-bottom: 40px;
}

.installer-grid,
.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.installer-card,
.command-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.installer-card {
  padding: 24px;
}

.installer-card__platform {
  display: flex;
  align-items: center;
  gap: 14px;
}

.installer-card__platform .eyebrow {
  margin-bottom: 5px;
}

.installer-card__platform h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.installer-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.installer-card__description {
  min-height: 44px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.installer-card__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.installer-card__actions span {
  color: var(--muted);
  font-size: 13px;
}

.checksum {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.checksum summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checksum > code {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.checksum__copy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.checksum__copy .copy-feedback,
.command-card__heading .copy-feedback {
  min-height: 0;
  margin: 0;
}

.installer-usage {
  margin-top: 52px;
}

.installer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  padding: 0;
  counter-reset: installer-step;
  list-style: none;
}

.installer-steps li {
  position: relative;
  min-height: 84px;
  border-top: 1px solid #a8c7b3;
  padding: 26px 28px 0 0;
  counter-increment: installer-step;
}

.installer-steps li::before {
  position: absolute;
  top: -13px;
  left: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--brand-dark);
  content: counter(installer-step);
  font-size: 11px;
  font-weight: 800;
}

.installer-steps strong,
.installer-steps span {
  display: block;
}

.installer-steps strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.installer-steps span {
  max-width: 290px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.command-card {
  overflow: hidden;
}

.command-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
}

.command-card__heading h3 {
  margin: 0;
  font-size: 14px;
}

.command-card__heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.command-card pre {
  margin: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding: 18px;
  background: #102018;
  color: #dff5e6;
  font-size: 12px;
  line-height: 1.65;
}

.installer-empty {
  grid-column: 1 / -1;
  margin: 0;
}

.shell-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 12px;
}

.shell-footer__inner {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 16px;
}

.shell-footer a {
  color: var(--brand);
  text-decoration: none;
}

noscript {
  display: block;
  padding: 20px;
  text-align: center;
}

@media (max-width: 1040px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-hero,
  .module-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-fact {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }

  .lifecycle {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifecycle__stage:nth-child(2) {
    border-right: 0;
  }

  .lifecycle__stage:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installer-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .shell-header__inner,
  .shell-main,
  .shell-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .shell-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  h1 {
    font-size: 42px;
  }

  .page-hero {
    margin: 18px 0 36px;
    gap: 22px;
  }

  .lifecycle {
    grid-template-columns: 1fr;
  }

  .release-lifecycle-map {
    grid-template-columns: 1fr;
  }

  .release-lifecycle-map__stage {
    min-height: 78px;
    padding: 0 0 24px 28px;
    border-top: 0;
    border-left: 1px solid #a8c7b3;
  }

  .release-lifecycle-map__stage::before {
    top: 0;
    left: -6px;
  }

  .release-lifecycle-map__stage--active {
    border-left-color: var(--brand);
  }

  .lifecycle__stage,
  .lifecycle__stage:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lifecycle__stage:last-child {
    border-bottom: 0;
  }

  .lifecycle__number {
    margin-bottom: 12px;
  }

  .filter-bar,
  .section-heading,
  .build-summary-bar,
  .release-card__top,
  .shell-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-timeline::before {
    left: 7px;
  }

  .release-entry {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .release-entry__date {
    grid-column: 2;
    padding: 0 0 8px;
    text-align: left;
  }

  .release-entry__axis {
    grid-column: 1;
    grid-row: 1 / span 2;
    min-height: 46px;
    place-items: start;
    padding-top: 4px;
  }

  .release-card {
    grid-column: 2;
    padding: 19px;
  }

  .search-panel,
  .module-facts,
  .module-lifecycle {
    grid-template-columns: 1fr;
  }

  .search-panel__channels {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-history-line {
    grid-template-columns: 1fr;
  }

  .module-history-line li {
    min-height: 72px;
    padding: 0 0 20px 24px;
    border-top: 0;
    border-left: 1px solid #a8c7b3;
  }

  .module-history-line li::before {
    top: 0;
    left: -5px;
  }

  .module-fact,
  .module-fact:nth-child(2n),
  .module-fact:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-fact:last-child {
    border-bottom: 0;
  }

  .module-lifecycle__item {
    min-height: auto;
  }

  .module-identity {
    flex-direction: column;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  .installer-steps {
    grid-template-columns: 1fr;
  }

  .installer-steps li {
    min-height: 74px;
    border-top: 0;
    border-left: 1px solid #a8c7b3;
    padding: 0 0 24px 28px;
  }

  .installer-steps li::before {
    top: 0;
    left: -13px;
  }

  .installer-card__actions,
  .command-card__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-card {
    min-height: 0;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab-button {
    flex: 0 0 auto;
  }

  .version-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .version-list span {
    text-align: left;
  }
}
