/* Support pages (public/support): the Roadside user guide in the look of dirtroadsoftware.com.
   Built from support/roadside/web/support.css by tools/web.py; edit it there. Uses the site's own tokens (styles.css). */
.support-page {
  --ink-2: #274334;
  --text: #2f4036;
  --muted: #5d6f63;
  --rust: #a84b20;
  --sage: #526a57;
  --cream: #fff1dc;
  --soft: #e3ebe2;
  --mono: ui-monospace, "DM Mono", Consolas, monospace;
  color: var(--text);
}
.support-page main { display: block; }
.sp-wrap { width: min(100% - var(--gutter) * 2, 1520px); margin-inline: auto; }

/* Layout: contents on the left, the chapter in the middle, this chapter's sections on the right ---------------- */
.sp-grid { display: grid; grid-template-columns: 17.5rem minmax(0, 60rem) 14rem; gap: 3rem; justify-content: center; padding-block: 2.5rem 6rem; width: min(100% - var(--gutter) * 2, 1520px); margin-inline: auto; }
.sp-side { position: sticky; top: calc(var(--header) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header) - 3rem); overflow-y: auto; font-size: 0.9rem; padding-right: 0.5rem; }
.sp-side .sp-part { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin: 1.4rem 0 0.35rem; }
.sp-side ol { list-style: none; margin: 0; padding: 0; }
.sp-side li a { display: flex; gap: 0.6rem; padding: 0.3rem 0 0.3rem 0.7rem; border-left: 3px solid transparent; color: var(--ink-2); line-height: 1.35; }
.sp-side li a .n { flex: none; width: 1.5rem; font-weight: 700; color: var(--orange); }
.sp-side li a:hover { background: var(--mist); }
.sp-side li a[aria-current="page"] { border-left-color: var(--orange); background: var(--mist); color: var(--ink); font-weight: 700; }
.sp-side .sp-extra { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sp-side .sp-extra a { display: block; padding: 0.25rem 0; color: var(--ink); font-weight: 700; }
.sp-side .sp-extra a[aria-current="page"] { color: var(--rust); }
.sp-contents > summary { display: none; }
.sp-toc { position: sticky; top: calc(var(--header) + 1.5rem); align-self: start; font-size: 0.85rem; max-height: calc(100vh - var(--header) - 3rem); overflow-y: auto; }
.sp-toc p { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin: 0 0 0.6rem; }
.sp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.sp-toc a { display: block; padding: 0.3rem 0 0.3rem 0.9rem; margin-left: -1px; border-left: 3px solid transparent; color: var(--body); line-height: 1.35; }
.sp-toc a.on { border-left-color: var(--orange); color: var(--ink); font-weight: 700; }

/* Search ------------------------------------------------------------------------------------------------------ */
.sp-search { position: relative; margin: 0 0 0.4rem; }
.sp-search input { width: 100%; min-height: 2.8rem; padding: 0.55rem 0.9rem 0.55rem 2.5rem; border: 1px solid #bac7b8; border-radius: 4px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23526a57' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>") 0.8rem center no-repeat; color: var(--ink); }
.sp-search input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.sp-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 0.3rem); max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 30px #19392d22; text-align: left; }
.sp-side .sp-results { width: min(34rem, 90vw); }
.sp-results a { display: block; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.4; }
.sp-results a:last-child { border-bottom: 0; }
.sp-results a:hover, .sp-results a:focus-visible { background: var(--mist); }
.sp-results .rt { font-weight: 700; display: block; }
.sp-results .rp { display: block; font-size: 0.78rem; color: var(--rust); margin-bottom: 0.1rem; }
.sp-results .rx { display: block; font-size: 0.86rem; color: var(--body); }
.sp-results mark { background: var(--cream); color: inherit; padding: 0 0.1em; }
.sp-results .none { padding: 0.9rem 1rem; color: var(--muted); }

/* Breadcrumbs, chapter header ------------------------------------------------------------------------------- */
.sp-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.4rem; }
.sp-crumbs a { color: var(--ink); text-decoration: underline; text-decoration-color: #bac7b8; text-underline-offset: 3px; }
.sp-crumbs a:hover { text-decoration-color: var(--orange); }
.sp-head { display: grid; grid-template-columns: auto 1fr; column-gap: 1.4rem; padding-bottom: 1.6rem; border-bottom: 3px solid var(--orange); margin-bottom: 1.6rem; }
.sp-head .num { font: 400 4.6rem/0.95 var(--serif); color: var(--orange); }
.sp-head h1 { font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.15 var(--serif); margin: 0 0 0.7rem; color: var(--ink); }
.sp-head .lead { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); margin: 0; }
.sp-head.plain { grid-template-columns: 1fr; }
.sp-inside { margin: 0 0 2rem; padding: 1rem 1.4rem 0.7rem; background: var(--mist); border-radius: 6px; }
.sp-inside p { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin: 0 0 0.5rem; }
.sp-inside ul { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.1rem; font-size: 0.95rem; }
.sp-inside li { break-inside: avoid; margin-bottom: 0.3rem; }
.sp-inside a { color: var(--ink); text-decoration: underline; text-decoration-color: #bac7b8; text-underline-offset: 3px; }

/* Text ---------------------------------------------------------------------------------------------------------- */
.sp-article { min-width: 0; font-size: 1.04rem; line-height: 1.65; }
.sp-article p { margin: 0 0 1em; }
.sp-article b, .sp-article strong { color: var(--ink); }
.sp-article h2 { font: 400 1.7rem/1.25 var(--serif); color: var(--ink); margin: 2.8rem 0 0.9rem; scroll-margin-top: calc(var(--header) + 1rem); }
.sp-article h2::before { content: ""; display: block; width: 2.6rem; height: 3px; background: var(--orange); margin-bottom: 0.9rem; }
.sp-article h3 { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); margin: 1.9rem 0 0.5rem; }
.sp-article h4, .sp-article .h4 { font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin: 1.6rem 0 0.4rem; }
.sp-article ul, .sp-article ol { margin: 0 0 1.1em; padding-left: 1.4rem; }
.sp-article li { margin-bottom: 0.4em; }
.sp-article ul li::marker { color: var(--orange); }
.sp-article a { color: var(--ink); text-decoration: underline; text-decoration-color: #bac7b8; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sp-article a:hover { text-decoration-color: var(--orange); }
.sp-article code, .sp-article kbd { overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.88em; background: var(--mist); border: 1px solid var(--line); border-radius: 3px; padding: 0.05em 0.35em; color: var(--ink); }
.ui { font-weight: 700; color: var(--ink); }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); }
.imprint { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }

/* Where to find it ---------------------------------------------------------------------------------------------- */
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.7rem; margin: 0.4rem 0 1.4rem; padding: 0.6rem 0.9rem; background: var(--mist); border: 1px solid var(--line); border-radius: 6px; font-size: 0.92rem; }
.where .lab { font: 700 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-right: 0.3rem; }
.where .path { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink); font-weight: 700; }
.where .path svg { width: 14px; height: 14px; stroke: var(--rust); stroke-width: 2; }
.where .sep { color: #9fb0a3; }
.where .who { margin-left: auto; color: var(--muted); font-size: 0.84rem; }

/* Boxes -------------------------------------------------------------------------------------------------------- */
.box { margin: 1.4rem 0; padding: 0.9rem 1.2rem 0.6rem; border-radius: 6px; border-left: 4px solid var(--sage); background: var(--mist); font-size: 0.98rem; }
.box > :last-child { margin-bottom: 0.4rem; }
.box .bt { display: flex; align-items: center; gap: 0.45rem; font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; }
.box .bt svg { width: 15px; height: 15px; stroke-width: 2.2; }
.box.words dl { margin: 0; }
.box.words dt { font: 400 1.05rem/1.4 var(--serif); color: var(--ink); margin-top: 0.55rem; }
.box.words dt:first-of-type { margin-top: 0; }
.box.words dd { margin: 0.1rem 0 0; }
.box.tip { background: var(--cream); border-left-color: var(--orange); }
.box.tip .bt, .box.care .bt, .box.try .bt { color: var(--rust); }
.box.care { background: #fdeee6; border-left-color: var(--rust); }
.box.try { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); }

/* Steps -------------------------------------------------------------------------------------------------------- */
.sp-article ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.4rem; }
.sp-article ol.steps > li { counter-increment: step; position: relative; padding: 0 0 0 2.7rem; margin: 0 0 0.9rem; min-height: 2rem; }
.sp-article ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: #fff; font: 700 0.85rem/1.9rem var(--sans); text-align: center; }
ul.checks { list-style: none; padding: 0; margin: 0.8rem 0 1.4rem; }
ul.checks li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.05rem; height: 1.05rem; border: 2px solid var(--sage); border-radius: 3px; background: #fff; }

/* Figures: screenshots with numbered callouts ------------------------------------------------------------------ */
.sp-article figure { margin: 1.6rem 0 2rem; padding: 0; }
.sp-article figure .frame { position: relative; border: 1px solid #c8d3c6; border-radius: 7px; background: #fff; box-shadow: 0 4px 14px rgba(25, 57, 45, 0.13); }
.sp-article figure .frame { cursor: zoom-in; }
.sp-article figure .frame img { display: block; width: 100%; height: auto; border-radius: 6px; }
.sp-article figure .badge { position: absolute; width: 1.45rem; height: 1.45rem; margin: -0.725rem 0 0 -0.725rem; border-radius: 50%; background: var(--orange); color: #fff; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); font: 700 0.75rem/1.2rem var(--sans); text-align: center; }
.sp-article figure .ring { position: absolute; border: 2px solid var(--orange); border-radius: 5px; background: rgba(241, 138, 67, 0.07); }
.sp-article figure figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.sp-article figure figcaption .cap { color: var(--ink); font-weight: 700; }
.sp-article figure ol.key { list-style: none; padding: 0; margin: 0.9rem 0 0; columns: 2; column-gap: 2rem; font-size: 0.93rem; color: var(--text); }
.sp-article figure ol.key li { position: relative; padding-left: 2.1rem; margin: 0 0 0.6rem; break-inside: avoid; }
.sp-article figure ol.key li .kn { position: absolute; left: 0; top: 0.12rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--orange); color: #fff; font: 700 0.72rem/1.4rem var(--sans); text-align: center; }
/* The pictures were sized for paper; on a page they run one step wider so the small print in them is readable. */
.sp-article figure.w80 { width: 100%; }
.sp-article figure.w70 { width: 92%; margin-inline: auto; }
.sp-article figure.w60 { width: 82%; margin-inline: auto; }
.sp-article figure.w50 { width: 72%; margin-inline: auto; }
.sp-article figure.narrow { width: 78%; margin-inline: auto; }
.sp-article figure.half { width: 58%; }
.sp-article figure.side { display: grid; grid-template-columns: minmax(0, min(var(--side-w, 22rem), 55%)) minmax(0, 1fr); column-gap: 1.8rem; align-items: start; }
.sp-article figure.side .frame { grid-column: 1; grid-row: 1 / span 2; }
.sp-article figure.side ol.key { grid-column: 2; grid-row: 1; columns: 1; margin-top: 0.2rem; }
.sp-article figure.side figcaption { grid-column: 2; grid-row: 2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.sp-article figure.photo img { display: block; width: 100%; border-radius: 6px; }
.sp-article figure.diagram { padding: 1rem 1rem 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.sp-article figure.diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.sp-article figure.diagram figcaption { padding: 0 0.3rem 0.3rem; }
svg text { font-family: var(--sans); }
.mail { margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.mail .hd { padding: 0.5rem 1rem; background: var(--mist); border-bottom: 1px solid var(--line); font: 600 0.85rem/1.5 var(--sans); color: var(--muted); }
.mail .hd b { color: var(--ink); }
.mail pre { margin: 0; padding: 0.7rem 1rem; font-family: var(--mono); font-size: 0.85rem; line-height: 1.55; white-space: pre-wrap; color: var(--text); }
.mail-cap { margin: -0.8rem 0 1.4rem; font-size: 0.9rem; color: var(--muted); }

/* Tables ---------------------------------------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.8rem; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; min-width: 34rem; }
.sp-article th { text-align: left; font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); padding: 0.5rem 0.8rem; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.sp-article td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sp-article td:first-child { font-weight: 700; color: var(--ink); }
.sp-article table.plain td:first-child { font-weight: 400; color: inherit; }

/* Quick answers, glossary ------------------------------------------------------------------------------------ */
.qa { margin: 0 0 1.8rem; scroll-margin-top: calc(var(--header) + 1rem); }
.qa h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.qa p { margin: 0; }
.glossary { margin: 0; }
.glossary .letter { font: 400 2rem/1 var(--serif); color: var(--orange); margin: 2rem 0 0.4rem; }
.glossary dt { font: 400 1.1rem/1.4 var(--serif); color: var(--ink); margin-top: 1rem; scroll-margin-top: calc(var(--header) + 1rem); }
.glossary dd { margin: 0.15rem 0 0; }

/* A screenshot opened larger */
dialog.sp-zoom { border: 0; padding: 0; background: #fff; border-radius: 8px; max-width: 96vw; max-height: 94vh; overflow: auto; }
dialog.sp-zoom::backdrop { background: rgba(25, 57, 45, 0.72); }
dialog.sp-zoom img { display: block; width: min(1600px, 94vw); height: auto; }
dialog.sp-zoom button { position: sticky; top: 0.6rem; float: right; margin: 0.6rem 0.6rem 0 0; z-index: 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* Previous and next ------------------------------------------------------------------------------------------ */
.sp-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.sp-pn a { display: block; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; }
.sp-pn a:hover { background: var(--mist); border-color: #bac7b8; }
.sp-pn a span { display: block; font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.2rem; }
.sp-pn a.next { text-align: right; grid-column: 2; }
.sp-pn a.prev { grid-column: 1; }
.sp-help { margin-top: 2rem; padding: 1rem 1.3rem; background: var(--mist); border-radius: 6px; font-size: 0.97rem; }
.sp-help p { margin: 0; }

/* Landing and hub ------------------------------------------------------------------------------------------- */
.sp-hero { background: var(--ink); color: #fff; position: relative; z-index: 2; }
.sp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding-block: 4.5rem; }
.sp-hero h1 { font: 400 clamp(2.4rem, 4.4vw, 3.8rem)/1.08 var(--serif); color: #fff; margin: 0 0 1.2rem; }
.sp-hero h1 em { color: var(--orange); font-style: normal; }
.sp-hero p { color: #d3e0d3; font-size: 1.15rem; line-height: 1.6; margin: 0 0 1.6rem; }
.sp-hero .sp-search { max-width: 34rem; }
.sp-hero .sp-search input { min-height: 3.2rem; border-color: transparent; }
.sp-hero .sp-results { color: var(--text); }
.sp-hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }
.sp-hero .button-outline { color: #fff; border-color: #6c8a76; }
.sp-hero .button-outline:hover { background: #274334; }
.sp-hero-photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.sp-section { padding-block: 4rem; }
.sp-section h2 { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.2 var(--serif); color: var(--ink); margin: 0 0 1.6rem; }
.sp-section.alt { background: var(--mist); }
.sp-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0 0 1.4rem; padding: 0; }
.sp-quick a { display: block; height: 100%; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.sp-quick a:hover { border-color: var(--orange); }
.sp-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.sp-part-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.sp-part-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.sp-part-card .in { padding: 1.2rem 1.4rem 1.4rem; }
.sp-part-card .pn { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.sp-part-card h3 { font: 400 1.4rem/1.25 var(--serif); margin: 0.2rem 0 0.5rem; color: var(--ink); }
.sp-part-card p { margin: 0 0 0.9rem; color: var(--body); font-size: 0.97rem; line-height: 1.55; }
.sp-part-card ol { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.sp-part-card li a { display: flex; gap: 0.6rem; padding: 0.3rem 0; color: var(--ink); }
.sp-part-card li a:hover { color: var(--rust); }
.sp-part-card li a .n { width: 1.5rem; flex: none; font-weight: 700; color: var(--orange); }
.sp-hub { padding-block: 4rem 6rem; }
.sp-hub h1 { font: 400 clamp(2.2rem, 4vw, 3.2rem)/1.1 var(--serif); color: var(--ink); margin: 0 0 1rem; }
.sp-hub .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 1.6rem; margin-top: 2.2rem; }

/* Narrow screens ------------------------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .sp-grid { grid-template-columns: 16rem minmax(0, 1fr); }
  .sp-toc { display: none; }
}
@media (max-width: 980px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-block: 1.5rem 4rem; }
  .sp-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .sp-contents { border: 1px solid var(--line); border-radius: 6px; background: var(--mist); padding: 0 1rem; }
  .sp-contents > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 0.8rem 0; font-weight: 700; color: var(--ink); list-style: none; }
  .sp-contents > summary::after { content: ""; width: 0.55rem; height: 0.55rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); margin-right: 0.3rem; transition: transform 0.2s; }
  .sp-contents[open] > summary::after { transform: rotate(-135deg); }
  .sp-contents > summary::-webkit-details-marker { display: none; }
  .sp-contents[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
  .sp-hero-inner { grid-template-columns: 1fr; padding-block: 3rem; }
  .sp-hero-photo { display: none; }
  .sp-quick, .sp-parts { grid-template-columns: 1fr; }
  .sp-inside ul { columns: 1; }
  .sp-article figure ol.key { columns: 1; }
  .sp-article figure.w80, .sp-article figure.w70, .sp-article figure.w60, .sp-article figure.w50, .sp-article figure.narrow, .sp-article figure.half { width: 100%; }
  .sp-article figure.side { grid-template-columns: 1fr; }
  .sp-article figure.side .frame { grid-column: 1; grid-row: auto; width: min(100%, var(--side-w, 22rem)); }
  .sp-article figure.side ol.key, .sp-article figure.side figcaption { grid-column: 1; grid-row: auto; margin-top: 0.8rem; }
  .pair { grid-template-columns: 1fr; }
  .sp-pn { grid-template-columns: 1fr; }
  .sp-pn a.next, .sp-pn a.prev { grid-column: 1; }
  .sp-head { grid-template-columns: 1fr; }
  .sp-head .num { font-size: 3.4rem; margin-bottom: 0.4rem; }
}
@media print {
  .site-header, .site-footer, .sp-side, .sp-toc, .sp-pn, .sp-help, .skip-link { display: none !important; }
  .sp-grid { display: block; }
}

/* Keep the manual inside the site's wide-screen boundary. */
.support-page { max-width: 1800px; margin-inline: auto; }
.support-page .site-header { max-width: 1800px; margin-inline: auto; }
.sp-side { overflow: visible; z-index: 3; }
.sp-contents { max-height: calc(100dvh - var(--header) - 8rem); overflow-y: auto; scrollbar-width: thin; }
.sp-search-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sp-side .sp-results { width: min(34rem, calc(100vw - var(--gutter) * 2)); max-height: 60dvh; }
.sp-results[hidden] { display: none; }
.sp-article figure .frame img[role="button"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sp-search input { font-size: 1rem; }
@media (max-width: 980px) {
  .sp-contents { max-height: none; overflow: visible; }
  .sp-side .sp-results { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-contents > summary::after { transition: none; }
}
