/* Support pages (troubleshooters, Flash, the forms): the heading beside the tool, ruled rows, drawn marks instead of
   emoji, the closing listing the support pages. Loaded after sections.css and text.css. From design-support. */

/* ---- Ground B: the nav (TextTopComponent support: true, sections.css) and the tool are the top (stone), the support list is on Paper 1 ---- */
body.sp-page .sp { background: var(--stone); }

/* ---- The tool page: heading left, tool right, both on the first screen ---- */
.sp { padding: 88px 0 144px; }
.sp-grid { align-items: start; }
.sp-head { grid-column: 1 / span 5; position: sticky; top: 40px; }
.sp-head .label { font-size: var(--t-label); font-weight: var(--w-label); letter-spacing: .02em; color: var(--ink-2); }
.sp-head h1 { margin-top: 20px; font-size: var(--t-hero); max-width: 8.5em; }
.sp-head .lede { margin-top: 24px; max-width: 34ch; }
.sp-tool { grid-column: 7 / span 6; min-width: 0; }

/* Stage headings */
.ts-q h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 360; }
.ts-q p { margin-top: 8px; font-size: var(--t-body-s); color: var(--ink-2); }

/* Ruled answer rows (symptoms and choices): one button per row */
.ts-list { margin-top: 28px; border-bottom: 1px solid var(--hair); }
.ts-row { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 1fr 24px; column-gap: 20px;
  align-items: center; padding: 18px 0 19px; border-top: 1px solid var(--hair); }
.ts-row .t { display: block; font-size: 18px; line-height: 1.3; font-weight: 420; letter-spacing: -0.008em; color: var(--ink); }
.ts-row .h { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.ts-row .i { width: 22px; height: 22px; color: var(--ink-3); justify-self: end; transition: transform .2s, color .2s; }
.ts-row:hover .t, .ts-row.is-hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ts-row:hover .i, .ts-row.is-hover .i { color: var(--ink); transform: translateX(3px); }
.ts-row.ok .i { color: var(--ink); }
.ts-row.ok:hover .i, .ts-row.ok.is-hover .i { transform: none; }
.ts-row:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ts-c .t { font-size: 16.5px; }
.ts-c { padding: 15px 0 16px; }

/* A step */
.ts-crumb { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.ts-crumb span + span::before { content: "·"; margin-right: 10px; }
.ts-crumb b { font-weight: 520; color: var(--ink-2); }
.ts-sh { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; margin-top: 28px; }
.ts-n { font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.02em; color: var(--ink-3); font-feature-settings: "tnum" 1; }
.ts-sh h2, .ts-end h2 { font-size: var(--t-h2-section); line-height: 1.12; letter-spacing: -0.028em; font-weight: 360; }
.ts-in { margin-left: 56px; }
.ts-in > .ds-msg { margin-top: 22px; }
.ts-body { margin-top: 18px; }
.ts-body p { font-size: var(--t-body); line-height: 1.65; color: var(--ink-2); max-width: 62ch; white-space: pre-line; }
.ts-body p + p { margin-top: .8em; }
.ts-fig { position: relative; margin: 24px 0 0; background: var(--well); border: 1px solid var(--hair); display: flex; justify-content: center; padding: 20px; }
.ts-fig img { max-height: 300px; width: auto; mix-blend-mode: multiply; }
.ts-links { list-style: none; margin-top: 22px; }
.ts-links a { display: grid; grid-template-columns: 20px 1fr auto; column-gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--hair);
  font-size: 15px; font-weight: 500; color: var(--ink); }
.ts-links li:last-child a { border-bottom: 1px solid var(--hair); }
.ts-links .i { width: 18px; height: 18px; align-self: center; color: var(--ink-2); }
.ts-links .host { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.ts-links a:hover span:not(.host) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ts-choices { margin-top: 30px; }
.ts-choices .ts-list { margin-top: 0; }
.ts-foot { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ts-back { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 520; color: var(--ink-2); }
.ts-back .i, .ts-again .i { width: 18px; height: 18px; }
.ts-back:hover { color: var(--ink); }
.ts-again { margin-left: auto; }

/* End steps: resolved and stuck */
.ts-end .ts-mark { display: block; width: 52px; height: 52px; color: var(--ink); margin-top: 28px; }
.ts-end .ts-mark .i { width: 52px; height: 52px; }
.ts-end h2 { margin-top: 20px; }
.ts-cta { margin-top: 28px; }
.ts-cta .i { width: 18px; height: 18px; }
.ts-hand { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ts-hand .ds-btn .i { width: 18px; height: 18px; }
.ts-sum { flex: 1 0 100%; margin-top: 6px; padding: 16px 18px; background: var(--well); border: 1px solid var(--hair);
  font: 400 13px/1.6 ui-monospace, Menlo, monospace; color: var(--ink); white-space: pre-wrap; }
.ts-copied { border-color: var(--ink) !important; }

@media (max-width: 1100px) {
  .sp-head { grid-column: 1 / span 12; position: static; }
  .sp-tool { grid-column: 1 / span 12; margin-top: 56px; max-width: 720px; }
}
@media (max-width: 760px) {
  .sp { padding: 48px 0 88px; }
  .sp-head h1 { font-size: var(--t-hero-phone); margin-top: 14px; }
  .sp-head .lede { font-size: 17px; margin-top: 16px; }
  .sp-tool { margin-top: 40px; }
  .ts-q h2 { font-size: 26px; }
  .ts-row .t { font-size: 17px; }
  .ts-c .t { font-size: 16px; }
  .ts-sh { grid-template-columns: 40px 1fr; margin-top: 22px; }
  .ts-n { font-size: 24px; }
  .ts-sh h2, .ts-end h2 { font-size: 28px; }
  .ts-in { margin-left: 0; }
  .ts-body p { font-size: 15.5px; }
  .ts-fig img { max-height: 240px; }
}

/* ---- The stone closing (text.css), tighter for a list of seven ---- */
.tx-end-l a { padding: 18px 0; }
.tx-end-l .nm { font-size: 28px; }
.tx-end-l .tg { white-space: nowrap; }
@media (max-width: 760px) {
  .tx-end-l .nm { font-size: 24px; }
}

/* ---- Flash: five ruled, numbered steps ---- */
.sp-head .lede a, .fl a.u, .fl-tr a, .fl-sub a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--ink); }
.fl-alerts > * + * { margin-top: 10px; }
.fl-alerts { margin-bottom: 32px; }
.fl { border-bottom: 1px solid var(--hair); }
.fl-step { display: grid; grid-template-columns: 56px 1fr; padding: 28px 0 32px; border-top: 1px solid var(--hair); }
.fl-step:first-child { border-top: 1px solid var(--ink); }
.fl-step > .ts-n { padding-top: 2px; }
.fl-step h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; }
.fl-step .fl-b { margin-top: 14px; }
.fl-step p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.fl-step p + p, .fl-step p + .fl-fld, .fl-step p + .fl-file, .fl-fld + p { margin-top: 14px; }
/* Inline code in the step copy takes the code plate (the copy carries its own <code>). */
.fl-step code { font-family: var(--mono); font-size: .84em; background: var(--code-plate); color: var(--syntax-base, #2b2b2b); border-radius: 4px; padding: .1em .38em; }
.fl-step .fl-wait { color: var(--ink-3); font-style: normal; }
.fl-fld { display: block; }
.fl-ol { list-style: none; counter-reset: fl; margin-top: 4px; border-bottom: 1px solid var(--hair); }
.fl-ol li { counter-increment: fl; display: grid; grid-template-columns: 28px 1fr; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.fl-ol li::before { content: counter(fl) "."; color: var(--ink-3); font-feature-settings: "tnum" 1; }
.fl-ol + p { margin-top: 14px; }
.fl-connect { margin-top: 22px; }
.fl-connect-wrap { margin-top: 22px; position: relative; }
.fl-connect-wrap + p { margin-top: 14px; }
.fl-empty { font-size: 13px; color: var(--ink-3); font-style: italic; }
.fl-tr { margin-top: 64px; }
.fl-tr h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; }
.fl-tr .ds-msg { margin-top: 14px; }
.fl-tr h2 + .ds-msg { margin-top: 18px; }
.fl-tr .ds-msg ul { margin: 6px 0 0 1.1em; }
.fl-tr .ds-msg ul + p { margin-top: 6px; }
.fl-page .ds-msg .g { display: block; margin-top: 6px; font-weight: 520; }
@media (max-width: 760px) {
  .fl-step { grid-template-columns: 40px 1fr; }
  .fl-step h2, .fl-tr h2 { font-size: 21px; }
}

/* Built pieces: hidden steps, the version field while hidden, the real file field, ESP Web Tools' button in the site's orange */
.fl-page .hidden { display: none !important; }
.fl-alerts:not(:has(> :not(.hidden))) { display: none; }
.fl-fld:has(select.hidden) { display: none; }
.fl-page { --esp-tools-button-color: var(--orange); --esp-tools-button-text-color: #fff; --esp-tools-button-border-radius: 999px; }
.fl-b p.flash_step_preview { color: var(--ink-3); }

/* ---- Forms: Claim a device, Order tracker, Find my device ---- */
.sp-head .sp-more { margin-top: 18px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 40ch; }
.sp-head .sp-more a, .fm a.u { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sp-head .sp-more b { font-weight: 560; color: var(--ink); }
.fm { border-bottom: 1px solid var(--hair); }
.fm-f { display: grid; grid-template-columns: 1fr; padding: 28px 0 32px; border-top: 1px solid var(--hair); }
.fm-f.num { grid-template-columns: 56px 1fr; }
.fm-f:first-child { border-top-color: var(--ink); }
.fm .ds-hint { max-width: 56ch; }
.fm .ds-hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fm .ds-in.mono { font-family: var(--mono); letter-spacing: .02em; }
.fm-note { margin-top: 16px; }
.fm-go { margin-top: 28px; }
/* Answers under the form, and the claim note under the heading, are line-and-stop messages. */
.fm-page .fm-go ~ .ds-msg, .fm-page turbo-frame .ds-msg { margin-top: 20px; }
.sp-head .ds-msg { margin-top: 24px; max-width: 46ch; }
.fm-page .ds-msg a { font-weight: 520; }
.fm-page .ds-msg b { font-weight: 650; }
.fm-page .ds-msg .id { display: inline-block; font: 600 15px/1.3 var(--mono); letter-spacing: .06em; background: color-mix(in srgb, currentColor 10%, transparent); padding: 1px 7px; border-radius: 4px; }
@media (max-width: 760px) {
  .fm-f.num { grid-template-columns: 40px 1fr; }
}

.sp-head .ds-msg .font-medium { font-weight: 600; }
