:root {
  --navy-950: #071b2c;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --navy-700: #245b7c;
  --blue-600: #087e8b;
  --blue-500: #0e9aaa;
  --blue-100: #dff5f6;
  --blue-50: #f0fbfb;
  --orange-500: #ee8b35;
  --orange-100: #fff0df;
  --slate-700: #3d5265;
  --slate-600: #587084;
  --slate-400: #98a9b8;
  --slate-300: #c8d3dc;
  --slate-200: #dfe6ec;
  --slate-100: #edf2f5;
  --slate-50: #f7f9fb;
  --white: #ffffff;
  --green-700: #16734a;
  --green-100: #dff5e9;
  --red-700: #b23b3b;
  --red-100: #fde8e7;
  --shadow-sm: 0 8px 24px rgba(16, 42, 67, 0.08);
  --shadow-md: 0 18px 48px rgba(16, 42, 67, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-900);
  background: var(--slate-50);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid rgba(200, 211, 220, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  border-radius: 10px 10px 10px 3px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 0.76rem;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-600);
  font-size: 0.84rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 4px var(--green-100);
}

.app-shell {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  max-width: 1540px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  height: calc(100vh - 76px);
  padding: 38px 25px;
  border-right: 1px solid var(--slate-200);
  background: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  gap: 7px;
}

.nav-link {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  padding: 11px 10px;
  border-radius: 9px;
  color: var(--slate-600);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--navy-900);
  background: var(--blue-50);
}

.nav-link:hover {
  transform: translateX(2px);
}

.nav-number {
  color: var(--blue-600);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.sidebar-note {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  padding: 15px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--slate-600);
  background: var(--slate-50);
  font-size: 0.79rem;
}

.sidebar-note p {
  margin: 0;
}

.sidebar-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy-900);
}

.sidebar-note-icon {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
}

main {
  min-width: 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: 54px;
  overflow: hidden;
  padding: 78px clamp(34px, 6vw, 90px);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 14%, rgba(14, 154, 170, 0.24), transparent 30%),
    linear-gradient(115deg, var(--navy-950), var(--navy-900));
}

.hero::before {
  position: absolute;
  right: -70px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: #68d5dd;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.048em;
}

h1 span {
  color: #6bd9df;
}

.hero-intro {
  max-width: 690px;
  margin-bottom: 31px;
  color: #c9d9e5;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(14, 154, 170, 0.32);
  outline-offset: 2px;
}

.button-primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 8px 22px rgba(8, 126, 139, 0.24);
}

.button-primary:hover {
  background: #066c77;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: center;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.step-list {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  align-items: center;
}

.step-list li > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(107, 217, 223, 0.4);
  border-radius: 50%;
  color: #6bd9df;
  font-size: 0.82rem;
  font-weight: 800;
}

.step-list p {
  margin: 0;
  color: #c9d9e5;
  font-size: 0.9rem;
}

.step-list strong {
  color: var(--white);
}

.panel-tip {
  margin: 23px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9becd;
  font-size: 0.78rem;
}

.section {
  padding: 78px clamp(28px, 6vw, 82px);
  border-bottom: 1px solid var(--slate-200);
  scroll-margin-top: 74px;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 450px;
  margin-bottom: 2px;
  color: var(--slate-600);
  font-size: 0.93rem;
}

.builder-card {
  display: grid;
  grid-template-columns: minmax(290px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.builder-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 18px 15px;
  align-content: center;
  padding: 34px;
  border-right: 1px solid var(--slate-200);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 750;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  color: var(--navy-900);
  background: var(--white);
}

.field input[aria-invalid="true"] {
  border-color: var(--red-700);
}

.field small {
  display: block;
  margin-top: 6px;
  color: var(--slate-600);
  font-size: 0.71rem;
}

.field .field-error {
  color: var(--red-700);
  font-weight: 650;
}

.builder-submit {
  grid-column: 1 / -1;
  justify-self: start;
}

.command-output {
  min-width: 0;
  padding: 33px;
  background: var(--slate-50);
}

.command-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.command-heading h3 {
  margin: 6px 0 0;
  font-size: 1rem;
}

.shell-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shell-badge.powershell {
  color: #0a6470;
  background: var(--blue-100);
}

.shell-badge.cmd {
  color: #7b5527;
  background: var(--orange-100);
}

.copy-button,
.icon-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 750;
}

.copy-button {
  min-height: 38px;
  padding: 7px 11px;
}

.copy-button:hover,
.icon-copy:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

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

pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: #153650;
  background: var(--white);
  font-size: 0.82rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cmd-alternative {
  margin-top: 15px;
}

.cmd-alternative summary {
  color: var(--slate-600);
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 650;
}

.alternate-command {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
}

.alternate-command code {
  flex: 1;
  min-width: 0;
  color: var(--slate-700);
  font-size: 0.73rem;
  overflow-wrap: anywhere;
}

.icon-copy {
  flex: 0 0 auto;
  padding: 5px 8px;
}

.service-section {
  background: var(--white);
}

.group-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.group-button {
  position: relative;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.group-button:hover {
  transform: translateY(-2px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.group-button[aria-selected="true"] {
  border-color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-600);
}

.group-button-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.group-symbol {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  color: var(--blue-600);
  background: var(--blue-100);
  font-weight: 800;
}

.group-count {
  color: var(--slate-600);
  font-size: 0.72rem;
  font-weight: 650;
}

.group-button strong,
.group-button small {
  display: block;
}

.group-button strong {
  font-size: 0.95rem;
}

.group-button small {
  margin-top: 3px;
  color: var(--slate-600);
  font-size: 0.74rem;
}

.service-workspace {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
}

.workspace-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.workspace-header h3 {
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.workspace-header p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.target-choice {
  flex: 0 0 auto;
}

.target-choice > span {
  display: block;
  margin-bottom: 7px;
  color: var(--slate-600);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  background: var(--white);
}

.segment {
  min-height: 34px;
  padding: 5px 11px;
  border: 0;
  border-radius: 6px;
  color: var(--slate-600);
  background: transparent;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.segment.active {
  color: var(--white);
  background: var(--navy-900);
}

.mode-explanation {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0 19px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--slate-600);
  background: var(--blue-50);
  font-size: 0.76rem;
}

.mode-explanation > span {
  color: var(--blue-600);
  font-size: 1.1rem;
}

.mode-explanation p {
  margin: 0;
}

.service-list {
  display: grid;
  gap: 11px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.4fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.service-name {
  min-width: 0;
}

.service-name h4 {
  margin: 0 0 3px;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.service-name p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.72rem;
}

.environment-badge {
  display: inline-flex;
  margin: 7px 5px 0 0;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy-700);
  background: var(--slate-100);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.service-command {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--navy-700);
  background: var(--slate-50);
  font-size: 0.71rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.service-card .copy-button {
  white-space: nowrap;
}

.test-all-card {
  margin-top: 29px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.test-all-intro {
  display: flex;
  gap: 16px;
}

.test-all-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(107, 217, 223, 0.35);
  border-radius: 10px;
  color: #6bd9df;
  background: rgba(14, 154, 170, 0.14);
  font-weight: 850;
}

.test-all-intro h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.test-all-intro p:not(.eyebrow) {
  margin-bottom: 22px;
  color: #a9becd;
  font-size: 0.82rem;
}

.test-all-card .eyebrow {
  margin-bottom: 5px;
  color: #6bd9df;
}

.command-heading.compact {
  margin-bottom: 11px;
}

.copy-button.inverse,
.icon-copy.inverse {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.dark-command {
  max-height: 240px;
  border-color: rgba(255, 255, 255, 0.12);
  color: #d9ebf2;
  background: #051522;
}

.dark-details summary {
  color: #a9becd;
}

.dark-alternate {
  border-color: rgba(255, 255, 255, 0.12);
  background: #051522;
}

.dark-alternate code {
  color: #c8dce5;
}

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

.reference-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px 20px;
  padding: 22px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.reference-card h3 {
  margin: 8px 0 3px;
  font-size: 1rem;
}

.reference-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.78rem;
}

.reference-card code {
  grid-column: 1 / -1;
  padding: 11px 12px;
  border-radius: 7px;
  color: var(--navy-700);
  background: var(--slate-50);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.reference-card .copy-button {
  grid-row: 1;
  grid-column: 2;
  align-self: start;
}

.results-section {
  background: var(--white);
}

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

.result-card {
  display: flex;
  gap: 16px;
  padding: 25px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.result-card.success {
  border-top: 4px solid var(--green-700);
  background: #f7fcf9;
}

.result-card.failure {
  border-top: 4px solid var(--red-700);
  background: #fff9f9;
}

.result-icon {
  display: grid;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  font-weight: 850;
}

.success .result-icon {
  color: var(--green-700);
  background: var(--green-100);
}

.failure .result-icon {
  color: var(--red-700);
  background: var(--red-100);
}

.result-card h3 {
  margin-bottom: 6px;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.93rem;
}

.result-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.83rem;
}

.escalation-note {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 17px;
  padding: 18px 21px;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
  background: var(--orange-100);
  font-size: 0.83rem;
}

.escalation-note > span {
  color: var(--orange-500);
  font-size: 1.45rem;
}

.escalation-note p {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1540px;
  margin: 0 auto;
  padding: 28px 42px;
  color: var(--slate-600);
  background: var(--slate-50);
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  padding: 12px 17px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .sidebar {
    position: sticky;
    top: 76px;
    z-index: 15;
    display: block;
    height: auto;
    padding: 9px 22px;
    overflow-x: auto;
    max-width: 100vw;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .sidebar > .eyebrow,
  .sidebar-note {
    display: none;
  }

  .sidebar-nav {
    display: flex;
    width: max-content;
    gap: 4px;
  }

  .nav-link {
    display: inline-flex;
    gap: 7px;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  }
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 20px;
  }

  .topbar-status {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin: 14px 0 0;
  }

  .builder-card {
    grid-template-columns: 1fr;
  }

  .builder-form {
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
  }

  .group-picker {
    grid-template-columns: 1fr;
  }

  .group-button {
    min-height: auto;
  }

  .group-button-top {
    margin-bottom: 12px;
  }

  .service-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-command {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .brand small {
    display: none;
  }

  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    gap: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 21px;
  }

  .builder-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .field-port,
  .builder-submit {
    grid-column: auto;
  }

  .command-output {
    padding: 24px 20px;
  }

  .command-heading {
    align-items: start;
  }

  .workspace-header {
    display: block;
  }

  .target-choice {
    margin-top: 22px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card .copy-button {
    grid-row: auto;
    width: 100%;
  }

  .service-command {
    grid-row: auto;
    grid-column: auto;
  }

  .reference-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .reference-card {
    grid-template-columns: 1fr;
  }

  .reference-card .copy-button {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
  }

  footer {
    display: block;
    padding: 25px 20px;
  }

  footer p + p {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Windows 7-inspired service utility theme */
:root {
  --navy-950: #183a57;
  --navy-900: #254d6d;
  --navy-800: #31678e;
  --navy-700: #3a7198;
  --blue-600: #2678b8;
  --blue-500: #3f91cb;
  --blue-100: #dceefa;
  --blue-50: #eef7fd;
  --orange-500: #c47a22;
  --orange-100: #fff4dd;
  --slate-700: #374b5c;
  --slate-600: #536879;
  --slate-400: #8196a6;
  --slate-300: #aebfca;
  --slate-200: #cbd7df;
  --slate-100: #e7edf1;
  --slate-50: #f4f7f9;
  --white: #ffffff;
  --green-700: #2f7d32;
  --green-100: #e5f3df;
  --red-700: #a43131;
  --red-100: #f8e4e2;
  --shadow-sm: 0 1px 3px rgba(31, 60, 82, 0.18);
  --shadow-md: 0 2px 7px rgba(31, 60, 82, 0.22);
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 5px;
}

html {
  scroll-padding-top: 108px;
}

body {
  color: #1f3547;
  background: #d9e5ee;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.topbar {
  min-height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid #8faabe;
  background: linear-gradient(#f9fcff 0%, #dcebf6 58%, #c8deed 100%);
  box-shadow: 0 1px 5px rgba(38, 72, 98, 0.25);
  backdrop-filter: none;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 39px;
  height: 34px;
  border: 1px solid #173f61;
  border-radius: 4px;
  background: linear-gradient(#4f91bd 0%, #1d608f 48%, #174d72 52%, #2d719f 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
  text-shadow: 0 1px #0d3654;
}

.brand strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.brand small {
  color: #4f6576;
  font-size: 0.7rem;
}

.topbar-status {
  color: #3e5d73;
  font-size: 0.75rem;
  font-weight: 400;
}

.top-section-nav {
  position: sticky;
  top: 58px;
  z-index: 19;
  padding: 6px 18px;
  border-bottom: 1px solid #8faabe;
  background: linear-gradient(#edf5fa, #d6e6f1);
  box-shadow: 0 1px 3px rgba(38, 72, 98, 0.16);
}

.top-section-nav-inner {
  display: flex;
  gap: 6px;
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: thin;
}

.section-nav-link {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 29px;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid #8ba5b7;
  border-radius: 3px;
  color: #24455d;
  background: linear-gradient(#fff 0%, #edf5fa 46%, #d6e8f4 52%, #f5fafd 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
  font-size: 0.73rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav-link:hover,
.section-nav-link:focus-visible {
  border-color: #477fa4;
  color: #173f5b;
  background: linear-gradient(#fff 0%, #e4f4fd 46%, #bfe3f7 52%, #effaff 100%);
}

.section-nav-link.active {
  border-color: #286f9f;
  color: #fff;
  background: linear-gradient(#5fa6d2 0%, #2f82b9 48%, #236f9f 52%, #438fc0 100%);
  text-shadow: 0 1px #1f5a80;
}

.launch-guide,
.task-card,
.bios-prerequisite {
  border: 1px solid #a9bbc7;
  border-radius: 4px;
  background: #f7f9fb;
  box-shadow: 0 1px 3px rgba(40, 66, 84, 0.14);
}

.launch-guide {
  overflow: hidden;
}

.launch-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.launch-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  min-height: 85px;
  padding: 16px;
  border-right: 1px solid #c6d2da;
  border-bottom: 1px solid #c6d2da;
  background: linear-gradient(#fff, #f0f5f8);
}

.launch-steps li:nth-child(even) {
  border-right: 0;
}

.launch-steps li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.step-number,
.bios-prerequisite-title > span,
.task-sequence {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #69a0c2;
  border-radius: 50%;
  color: #205f86;
  background: linear-gradient(#f7fcff, #d5eaf7);
  font-size: 0.68rem;
  font-weight: 600;
}

.launch-steps strong {
  display: block;
  margin-bottom: 4px;
  color: #214967;
  font-size: 0.76rem;
}

.launch-steps p {
  margin: 0;
  color: #4f6575;
  font-size: 0.71rem;
}

kbd {
  display: inline-block;
  min-width: 23px;
  padding: 1px 5px;
  border: 1px solid #8b9eaa;
  border-bottom-color: #667c8b;
  border-radius: 2px;
  color: #263e4f;
  background: linear-gradient(#fff, #e5eaee);
  box-shadow: inset 0 1px #fff, 0 1px 1px rgba(0, 0, 0, 0.15);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 0.66rem;
  text-align: center;
}

.launch-reminder,
.task-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.launch-reminder {
  padding: 10px 14px;
  border-top: 1px solid #a8c5d8;
  color: #405b6e;
  background: #e6f3fb;
  font-size: 0.7rem;
}

.launch-reminder > span,
.task-note > span {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3c82af;
  font-size: 0.64rem;
  font-weight: 700;
}

.launch-reminder p,
.task-note p {
  margin: 0;
}

.task-card {
  padding: 17px;
}

.task-card.read-only-task {
  border-left: 4px solid #4a8eb9;
}

.task-card.change-task {
  border-left: 4px solid #cf912c;
}

.task-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.task-card-header h3,
.bios-prerequisite h3 {
  margin: 7px 0 3px;
  color: #244e6d;
  font-size: 0.93rem;
  font-weight: 600;
}

.task-card-header p,
.bios-prerequisite > p {
  margin: 0;
  color: #506677;
  font-size: 0.72rem;
}

.task-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.requirement-badge {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 7px;
  border: 1px solid;
  border-radius: 2px;
  font-size: 0.59rem;
  font-weight: 600;
}

.requirement-badge.admin {
  border-color: #d2a355;
  color: #795319;
  background: #fff2d6;
}

.requirement-badge.optional {
  border-color: #9fbea0;
  color: #38653b;
  background: #eaf5e7;
}

.task-note {
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid;
  border-radius: 2px;
  font-size: 0.68rem;
}

.task-note.warning-note {
  border-color: #ddc184;
  color: #6b5228;
  background: #fff5df;
}

.task-note.warning-note > span {
  background: #bd7b1c;
}

.task-note.information-note {
  border-color: #abc7d8;
  color: #405e72;
  background: #eaf5fb;
}

.bios-prerequisite {
  padding: 17px;
  border-left: 4px solid #4a8eb9;
}

.bios-prerequisite-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.bios-prerequisite-title .eyebrow {
  margin: 0;
}

.bios-prerequisite-title h3 {
  margin-top: 1px;
}

.bios-prerequisite > .task-labels {
  margin-top: 11px;
}

.setup-command-heading {
  margin-top: 10px;
}

.setup-command-heading > span {
  color: #38566b;
  font-size: 0.7rem;
  font-weight: 600;
}

.bios-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.bios-task-grid .task-card {
  min-width: 0;
}

.task-sequence {
  width: 19px;
  height: 19px;
  font-size: 0.58rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #4a9b45;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #7c9f78;
}

.app-shell {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid #849bab;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(37, 64, 84, 0.25);
}

.sidebar {
  top: 76px;
  height: calc(100vh - 95px);
  padding: 22px 14px;
  border-right: 1px solid #aebfca;
  background: linear-gradient(90deg, #eef5fa 0%, #dceaf4 100%);
}

.eyebrow {
  margin-bottom: 6px;
  color: #315f80;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.sidebar > .eyebrow {
  padding: 0 8px;
  color: #4d6577;
}

.sidebar-nav {
  gap: 2px;
}

.nav-link {
  grid-template-columns: 25px 1fr;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #24445d;
  font-size: 0.79rem;
  font-weight: 400;
  transition: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: #9fc1d8;
  color: #173f5c;
  background: linear-gradient(#fbfdff, #d8ecf8);
  transform: none;
}

.nav-link.active {
  border-color: #286f9f;
  color: #fff;
  background: linear-gradient(#5fa6d2 0%, #2f82b9 48%, #236f9f 52%, #438fc0 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px #1f5a80;
}

.nav-link.active .nav-number {
  color: #fff;
}

.nav-number {
  color: #557a94;
  font-size: 0.66rem;
}

.sidebar-note {
  margin-top: 20px;
  padding: 11px;
  border-color: #aebfca;
  border-radius: 3px;
  color: #4b6172;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.sidebar-note-icon {
  width: 18px;
  height: 18px;
  background: #3d85b5;
  font-size: 0.65rem;
}

.hero {
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 35px;
  padding: 29px 34px;
  border-bottom: 1px solid #9fb5c5;
  color: #1c3345;
  background: linear-gradient(135deg, #ffffff 0%, #edf6fc 58%, #d7eaf6 100%);
}

.hero::before {
  display: none;
}

.hero .eyebrow {
  color: #426e8c;
}

h1 {
  max-width: none;
  margin-bottom: 10px;
  color: #1c4e72;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 0;
  color: #40586a;
  font-size: 0.87rem;
}

.hero-actions {
  gap: 8px;
}

.button {
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid #7f9db2;
  border-radius: 3px;
  font-size: 0.76rem;
  font-weight: 400;
  transition: none;
}

.button:hover {
  transform: none;
}

.button-primary,
.button-secondary {
  color: #173a54;
  background: linear-gradient(#fff 0%, #edf6fb 45%, #d6eaf6 52%, #f6fbfe 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75), 0 1px 1px rgba(44, 74, 96, 0.14);
  text-shadow: none;
}

.button-primary:hover,
.button-secondary:hover {
  border-color: #3c7ba6;
  color: #123b58;
  background: linear-gradient(#fff 0%, #e5f5ff 45%, #bfe4f8 52%, #eefaff 100%);
}

.hero-panel {
  padding: 17px 19px;
  border: 1px solid #9db5c7;
  border-radius: 4px;
  color: #2f485b;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 1px 3px rgba(50, 78, 98, 0.16);
  backdrop-filter: none;
}

.step-list {
  gap: 9px;
}

.step-list li {
  grid-template-columns: 23px 1fr;
  gap: 8px;
}

.step-list li > span {
  width: 21px;
  height: 21px;
  border-color: #76a7c6;
  color: #225d85;
  background: #e7f4fc;
  font-size: 0.66rem;
}

.step-list p,
.step-list strong {
  color: #334d60;
  font-size: 0.76rem;
}

.panel-tip {
  margin-top: 13px;
  padding-top: 11px;
  border-top-color: #c8d7e1;
  color: #586e7f;
  font-size: 0.7rem;
}

.section {
  padding: 33px 34px;
  border-bottom-color: #c4d0d8;
  background: #fff;
  scroll-margin-top: 0;
}

.section:nth-of-type(even) {
  background: #f6f8fa;
}

.section-heading {
  align-items: start;
  gap: 25px;
  margin-bottom: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid #c2d3df;
}

.section-heading h2 {
  color: #1f4e70;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading > p {
  max-width: 400px;
  margin-top: 2px;
  color: #536879;
  font-size: 0.76rem;
}

.builder-card {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  border-color: #aabcc8;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(40, 66, 84, 0.15);
}

.builder-form {
  gap: 12px;
  padding: 20px;
  border-right-color: #bac9d3;
  background: #f2f6f9;
}

.field label {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.field input {
  height: 31px;
  padding: 0 8px;
  border-color: #879dac;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(34, 58, 75, 0.12);
}

.field small {
  margin-top: 4px;
  font-size: 0.66rem;
}

.command-output {
  padding: 20px;
  background: #fbfcfd;
}

.command-heading {
  margin-bottom: 9px;
}

.command-heading h3 {
  margin-top: 3px;
  font-size: 0.83rem;
  font-weight: 600;
}

.shell-badge {
  padding: 2px 6px;
  border: 1px solid #abc4d3;
  border-radius: 2px;
  font-size: 0.59rem;
  letter-spacing: 0;
}

.shell-badge.powershell {
  color: #255f82;
  background: #e6f3fb;
}

.shell-badge.cmd {
  border-color: #d7be92;
  color: #76501f;
  background: #fff4dc;
}

.copy-button,
.icon-copy {
  min-height: 27px;
  border-color: #8ea5b5;
  border-radius: 3px;
  color: #234760;
  background: linear-gradient(#fff, #e5edf2);
  font-size: 0.69rem;
  font-weight: 400;
}

.copy-button {
  padding: 4px 9px;
}

pre {
  padding: 11px;
  border-color: #b5c5cf;
  border-radius: 2px;
  color: #173b55;
  background: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
}

.cmd-alternative {
  margin-top: 9px;
}

.cmd-alternative summary {
  color: #3e6077;
  font-size: 0.7rem;
}

.alternate-command {
  margin-top: 7px;
  padding: 8px;
  border-radius: 2px;
}

.service-section {
  background: #fff;
}

.group-picker {
  gap: 7px;
  margin-bottom: 12px;
}

.group-block-header {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
}

.group-block-header .eyebrow {
  margin-bottom: 2px;
}

.group-block-header h3 {
  margin: 0 0 3px;
  color: #244e6d;
  font-size: 1rem;
  font-weight: 400;
}

.group-block-header p:not(.eyebrow) {
  margin: 0;
  color: #536879;
  font-size: 0.71rem;
}

.group-step {
  display: inline-grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  margin-top: 1px;
  border: 1px solid #6b9ebd;
  border-radius: 50%;
  color: #215f86;
  background: linear-gradient(#f8fcff, #d8eaf5);
  font-size: 0.67rem;
  font-weight: 600;
}

.group-button {
  min-height: 89px;
  padding: 14px 96px 14px 14px;
  border-color: #a9bbc7;
  border-radius: 3px;
  background: linear-gradient(#fff, #edf3f7);
  transition: none;
}

.group-button:hover {
  transform: none;
  border-color: #6f9ab7;
  background: linear-gradient(#fff, #e0f0fa);
  box-shadow: none;
}

.group-button[aria-selected="true"] {
  border-color: #3079a7;
  background: linear-gradient(#fafdff, #d4ebf8);
  box-shadow: inset 0 0 0 1px #fff;
}

.group-button-top {
  margin-bottom: 9px;
}

.group-symbol {
  width: 26px;
  height: 26px;
  border: 1px solid #88aec7;
  border-radius: 3px;
  color: #1f668f;
  background: linear-gradient(#f4fbff, #cae6f7);
  font-size: 0.72rem;
}

.group-count {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.65rem;
  font-weight: 400;
}

.group-button strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.group-button small {
  font-size: 0.66rem;
}

.service-workspace {
  padding: 20px;
  border-color: #a9bbc7;
  border-radius: 4px;
  background: #eef3f7;
}

.workspace-header h3 {
  margin-bottom: 4px;
  color: #244e6d;
  font-size: 1.1rem;
  font-weight: 400;
}

.workspace-header p:not(.eyebrow) {
  font-size: 0.73rem;
}

.target-choice > span {
  margin-bottom: 4px;
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: none;
}

.segmented-control {
  padding: 2px;
  border-color: #98adbc;
  border-radius: 3px;
}

.segment {
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 400;
}

.segment.active {
  border: 1px solid #2c6f9c;
  color: #fff;
  background: linear-gradient(#5798c3, #2d75a5);
  text-shadow: 0 1px #1f587e;
}

.mode-explanation {
  margin: 13px 0 10px;
  padding: 7px 9px;
  border: 1px solid #b3cbd9;
  border-radius: 2px;
  color: #455f71;
  background: #e9f5fc;
  font-size: 0.68rem;
}

.service-list {
  gap: 5px;
}

.service-card {
  grid-template-columns: minmax(170px, 0.75fr) minmax(260px, 1.45fr) auto;
  gap: 13px;
  padding: 10px;
  border-color: #b7c5ce;
  border-radius: 2px;
}

.service-name h4 {
  font-size: 0.76rem;
  font-weight: 600;
}

.service-name p {
  font-size: 0.65rem;
}

.environment-badge {
  margin-top: 4px;
  padding: 1px 5px;
  border: 1px solid #c0cbd2;
  border-radius: 2px;
  font-size: 0.54rem;
}

.service-command {
  padding: 7px 8px;
  border: 1px solid #d4dce1;
  border-radius: 2px;
  background: #f7f9fa;
  font-size: 0.64rem;
}

.test-all-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #173a52;
  border-radius: 3px;
  background: #1b3547;
  box-shadow: 0 1px 4px rgba(25, 49, 65, 0.28);
}

.network-subsection {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #9fb6c6;
}

.network-subsection .reference-grid,
.network-subsection .result-grid {
  margin-top: 12px;
}

.result-subsection {
  padding-bottom: 2px;
}

.test-all-icon {
  width: 30px;
  height: 30px;
  border-color: #5b8198;
  border-radius: 3px;
  color: #d3edfa;
  background: #2c5d7b;
}

.test-all-intro h3 {
  margin-bottom: 3px;
  font-size: 0.95rem;
  font-weight: 400;
}

.test-all-intro p:not(.eyebrow) {
  margin-bottom: 13px;
  color: #bdd0dc;
  font-size: 0.7rem;
}

.test-all-card .eyebrow {
  color: #c8e4f5;
}

.dark-command {
  max-height: 190px;
  border-color: #3c5668;
  color: #e0edf3;
  background: #0d1b24;
}

.reference-grid {
  gap: 8px;
}

.reference-card {
  gap: 8px 14px;
  padding: 14px;
  border-color: #b5c3cc;
  border-radius: 3px;
  background: linear-gradient(#fff, #f4f7f9);
}

.reference-card h3 {
  margin: 5px 0 2px;
  font-size: 0.8rem;
  font-weight: 600;
}

.reference-card p {
  font-size: 0.68rem;
}

.reference-card code {
  padding: 7px 8px;
  border: 1px solid #d3dce2;
  border-radius: 2px;
  font-size: 0.66rem;
}

.results-section {
  background: #fff;
}

.result-grid {
  gap: 8px;
}

.result-card {
  gap: 11px;
  padding: 15px;
  border-radius: 3px;
}

.result-card.success,
.result-card.failure {
  border-top-width: 2px;
}

.result-icon {
  width: 27px;
  height: 27px;
  font-size: 0.74rem;
}

.result-card h3 {
  margin-bottom: 3px;
  font-size: 0.75rem;
}

.result-card p {
  font-size: 0.71rem;
}

.escalation-note {
  margin-top: 9px;
  padding: 10px 13px;
  border: 1px solid #e4ca94;
  border-radius: 3px;
  font-size: 0.71rem;
}

footer {
  max-width: 1180px;
  margin: -18px auto 18px;
  padding: 12px 18px;
  border: 1px solid #849bab;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  color: #526878;
  background: linear-gradient(#edf4f8, #dce8f0);
  font-size: 0.66rem;
}

.toast {
  right: 15px;
  bottom: 15px;
  padding: 9px 12px;
  border: 1px solid #315a75;
  border-radius: 3px;
  background: linear-gradient(#4b7f9f, #285a79);
  font-size: 0.72rem;
  font-weight: 400;
}

@media (max-width: 1180px) {
  .app-shell {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  footer {
    margin: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .sidebar {
    top: 58px;
    height: auto;
    padding: 6px 14px;
    background: linear-gradient(#edf5fa, #dceaf4);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-panel {
    max-width: none;
  }

  .builder-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .bios-task-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 650px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar {
    min-height: 52px;
    padding: 0 12px;
  }

  .top-section-nav {
    top: 52px;
    padding: 5px 8px;
  }

  .sidebar {
    top: 52px;
    padding: 5px 8px;
  }

  .hero,
  .section {
    min-width: 0;
    max-width: 100%;
    padding: 22px 14px;
  }

  .hero-copy,
  .hero-panel,
  .section-heading,
  .builder-card,
  .builder-form,
  .command-output,
  .group-picker,
  .service-workspace,
  .workspace-header,
  .service-list,
  .reference-grid,
  .result-grid {
    min-width: 0;
    max-width: 100%;
  }

  .launch-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .launch-steps li,
  .launch-steps li:nth-child(even),
  .launch-steps li:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #c6d2da;
  }

  .launch-steps li:last-child {
    border-bottom: 0;
  }

  .task-card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .task-card-header > .copy-button {
    width: 100%;
  }

  h1 {
    font-size: 1.7rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .button {
    width: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .builder-form,
  .command-output,
  .service-workspace {
    padding: 14px;
  }

  .builder-submit,
  .service-card .copy-button,
  .reference-card .copy-button {
    width: 100%;
  }
}
