:root {
  color-scheme: light;
  --ink: #181a1f;
  --muted: #62666f;
  --line: #d9dce2;
  --soft-line: #eceef1;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --black: #08090b;
  --charcoal: #16191f;
  --button: #4d4d4d;
  --pink: #ff9696;
  --pink-dark: #b33d47;
  --green: #14804a;
  --gold: #a86e08;
  --max-width: 1440px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body.contents-open {
  overflow: hidden;
}

a {
  color: var(--pink-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7f202c;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--pink);
  transform: translateY(-150%);
}

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

.site-header {
  min-height: 68px;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  background: var(--black);
  border-bottom: 1px solid #2b2d33;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.wordmark:hover {
  color: #fff;
}

.wordmark strong {
  color: var(--pink);
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.site-nav a {
  min-width: 84px;
  padding: 0 16px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #d8dbe1;
  border-bottom: 3px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--pink);
}

.manual-heading {
  background: var(--charcoal);
  color: #fff;
  border-bottom: 1px solid #2b2d33;
}

.manual-heading-inner {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 48px 0 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.manual-summary {
  max-width: 850px;
  margin: 18px 0 0;
  color: #d8dbe1;
  font-size: 20px;
  line-height: 1.5;
}

.manual-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #aeb3bd;
  font-size: 13px;
}

.manual-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manual-actions a {
  min-height: 42px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid #656a73;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.manual-actions a:hover {
  border-color: #ffffff;
}

.manual-actions .primary-action {
  color: #17191e;
  border-color: var(--pink);
  background: var(--pink);
}

.manual-actions .primary-action:hover {
  background: #ffb0b0;
}

.search-band {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.search-inner {
  width: min(100% - 48px, var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 235px minmax(280px, 690px) 1fr;
  align-items: center;
  gap: 18px;
}

.search-inner > label {
  font-size: 14px;
  font-weight: 800;
}

.search-control {
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid #aeb3bd;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.search-control:focus-within {
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(179, 61, 71, 0.15);
}

.search-control input {
  width: 100%;
  min-width: 0;
  padding: 10px 14px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-control button {
  min-width: 70px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.search-control button:hover {
  background: #e7e9ed;
}

.search-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.manual-shell {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 255px minmax(0, 900px);
  justify-content: space-between;
  gap: 72px;
}

.contents-toggle {
  display: none;
}

.manual-contents {
  min-width: 0;
}

.contents-inner {
  position: sticky;
  top: 112px;
  max-height: calc(100vh - 132px);
  padding: 34px 18px 32px 0;
  overflow: auto;
  scrollbar-width: thin;
}

.contents-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.manual-contents nav > p {
  margin: 22px 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.manual-contents nav > p:first-of-type {
  margin-top: 0;
}

.manual-contents a {
  position: relative;
  display: block;
  padding: 6px 8px 6px 14px;
  color: #3f4249;
  border-left: 2px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}

.manual-contents a:hover {
  color: var(--pink-dark);
  border-left-color: #cf8f95;
}

.manual-contents a.active {
  color: var(--pink-dark);
  border-left-color: var(--pink-dark);
  background: #fff5f5;
  font-weight: 800;
}

.manual-content {
  min-width: 0;
  padding: 26px 0 80px;
}

.manual-section {
  position: relative;
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.manual-section:last-child {
  border-bottom: 0;
}

.section-number {
  margin: 0 0 8px;
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
}

.manual-section h2 {
  margin: 0 0 18px;
  color: #111216;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.manual-section h3 {
  margin: 28px 0 8px;
  color: #272a30;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.manual-section h2 + h3 {
  margin-top: 6px;
}

.manual-section p {
  max-width: 820px;
  margin: 0 0 16px;
}

.manual-section b,
.manual-section strong {
  color: #111216;
}

.product-figure {
  margin: 30px 0;
  background: var(--charcoal);
  border: 1px solid #272a30;
  border-radius: 6px;
  overflow: hidden;
}

.product-figure img {
  width: 100%;
  aspect-ratio: 5 / 3;
  display: block;
  object-fit: contain;
  background: #0d1015;
}

.product-figure figcaption {
  padding: 12px 16px;
  color: #c9ccd2;
  border-top: 1px solid #34373e;
  font-size: 13px;
}

.screen-map {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.screen-map div {
  min-height: 94px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.screen-map div:last-child {
  grid-column: 1 / -1;
}

.screen-map strong {
  font-size: 14px;
}

.screen-map span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.note,
.tip,
.warning {
  max-width: 840px;
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid #575b64;
  background: var(--soft);
}

.tip {
  border-left-color: var(--green);
  background: #f0f8f4;
}

.warning {
  border-left-color: var(--pink-dark);
  background: #fff3f3;
}

.note > strong,
.tip > strong,
.warning > strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.note p,
.tip p,
.warning p {
  margin: 0;
  font-size: 14px;
}

.steps {
  max-width: 830px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: manual-step;
}

.steps li {
  position: relative;
  min-height: 42px;
  padding: 0 0 20px 52px;
  counter-increment: manual-step;
}

.steps li::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  content: counter(manual-step);
  color: #fff;
  background: var(--button);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 1px;
  content: "";
  background: var(--line);
}

.steps.compact li {
  padding-bottom: 14px;
}

.plain-list,
.check-list {
  max-width: 800px;
  margin: 18px 0 24px;
  padding-left: 22px;
}

.plain-list li,
.check-list li {
  margin: 8px 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  border: 2px solid var(--green);
  border-radius: 2px;
}

table {
  width: 100%;
  margin: 24px 0 30px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  font-size: 14px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #fff;
  background: #303238;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: var(--soft);
}

td:first-child {
  width: 31%;
  color: #26282e;
  font-weight: 800;
}

.two-column {
  margin: 24px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-column > div {
  min-width: 0;
  padding: 22px 24px 8px;
}

.two-column > div + div {
  border-left: 1px solid var(--line);
}

.two-column h3 {
  margin-top: 0;
}

.command-grid {
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.command-grid span {
  min-height: 58px;
  padding: 12px;
  display: flex;
  align-items: center;
  color: #27292f;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.troubleshooting-list {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.troubleshooting-list details {
  border-bottom: 1px solid var(--line);
}

.troubleshooting-list summary {
  min-height: 58px;
  padding: 16px 42px 16px 0;
  color: #202228;
  cursor: pointer;
  font-weight: 800;
}

.troubleshooting-list details[open] summary {
  color: var(--pink-dark);
}

.troubleshooting-list p {
  padding: 0 24px 20px 0;
  color: var(--muted);
}

.support-line {
  margin-top: 32px !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.no-results {
  margin: 54px 0;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.no-results h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.no-results p {
  margin: 0;
}

.site-footer {
  min-height: 76px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #b7bac2;
  background: var(--black);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #eceef2;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .search-inner {
    grid-template-columns: 190px minmax(240px, 1fr);
  }

  .search-status {
    grid-column: 2;
    margin-top: -12px;
    padding-bottom: 10px;
    text-align: left;
  }

  .manual-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
  }

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

@media (max-width: 780px) {
  .site-header {
    min-height: 60px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 21px;
  }

  .site-nav a {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    min-width: auto;
    padding-right: 0;
    padding-left: 14px;
    display: flex;
  }

  .manual-heading-inner,
  .search-inner,
  .manual-shell {
    width: min(100% - 32px, var(--max-width));
  }

  .manual-heading-inner {
    padding: 34px 0 32px;
  }

  h1 {
    font-size: 38px;
  }

  .manual-summary {
    font-size: 17px;
  }

  .manual-meta {
    display: block;
  }

  .manual-meta span {
    display: block;
  }

  .search-band {
    position: static;
  }

  .search-inner {
    min-height: 0;
    padding: 18px 0;
    display: block;
  }

  .search-control {
    margin-top: 7px;
  }

  .search-status {
    margin: 8px 0 0;
    padding: 0;
  }

  .manual-shell {
    display: block;
  }

  .contents-toggle {
    position: sticky;
    z-index: 19;
    top: 0;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: #303238;
    border: 0;
    border-bottom: 1px solid #45484f;
    font-size: 14px;
    font-weight: 800;
  }

  .contents-toggle::after {
    content: "+";
    font-size: 21px;
    line-height: 1;
  }

  .contents-toggle[aria-expanded="true"]::after {
    content: "-";
  }

  .manual-contents {
    position: fixed;
    z-index: 30;
    inset: 60px 0 0;
    display: none;
    background: rgba(8, 9, 11, 0.55);
  }

  body.contents-open .manual-contents {
    display: block;
  }

  .contents-inner {
    position: static;
    width: min(88vw, 350px);
    height: 100%;
    max-height: none;
    padding: 22px 20px 36px;
    background: #fff;
    box-shadow: 12px 0 28px rgba(0, 0, 0, 0.2);
  }

  .manual-content {
    padding-top: 0;
  }

  .manual-section {
    padding: 38px 0 44px;
    scroll-margin-top: 58px;
  }

  .manual-section h2 {
    font-size: 28px;
  }

  .screen-map,
  .two-column {
    display: block;
  }

  .screen-map div:last-child {
    grid-column: auto;
  }

  .two-column > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .manual-heading-inner,
  .search-inner,
  .manual-shell {
    width: min(100% - 24px, var(--max-width));
  }

  h1 {
    font-size: 32px;
  }

  .manual-section h2 {
    font-size: 25px;
  }

  .product-figure img {
    aspect-ratio: 16 / 10;
  }

  .steps li {
    padding-left: 46px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  th,
  td {
    min-width: 135px;
  }

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

  .note,
  .tip,
  .warning {
    padding: 16px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm;
  }

  body {
    color: #000;
    font-size: 10pt;
  }

  .site-header,
  .search-band,
  .manual-contents,
  .contents-toggle,
  .site-footer,
  .product-figure {
    display: none !important;
  }

  .manual-heading {
    color: #000;
    background: #fff;
    border-bottom: 2px solid #000;
  }

  .manual-heading-inner,
  .manual-shell {
    width: 100%;
  }

  .manual-heading-inner {
    padding: 0 0 12mm;
  }

  .manual-heading .eyebrow,
  .manual-summary,
  .manual-meta {
    color: #222;
  }

  h1 {
    font-size: 25pt;
  }

  .manual-shell {
    display: block;
  }

  .manual-content {
    padding: 0;
  }

  .manual-section {
    padding: 8mm 0;
    break-inside: auto;
  }

  .manual-section[hidden] {
    display: block !important;
  }

  .manual-section h2 {
    font-size: 18pt;
    break-after: avoid;
  }

  .steps,
  table,
  .note,
  .tip,
  .warning,
  .two-column,
  .command-grid,
  details {
    break-inside: avoid;
  }

  .troubleshooting-list details p {
    display: block;
  }

  a {
    color: #000;
  }
}

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