:root {
  color-scheme: light;
  --ink: #26323c;
  --muted: #5a6773;
  --blue: #145b98;
  --navy: #234c70;
  --line: #ccd5dd;
  --pale: #f2f5f8;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: #e9edf0;
  font: 15px/1.65 Arial, Helvetica, sans-serif;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #06365d; text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #a45c00;
  outline-offset: 4px;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
p { margin: 0 0 15px; }
strong { font-weight: 700; }
h1, h2, h3 { color: #223d55; line-height: 1.25; }
h1 { margin: 0 0 17px; font-size: 30px; letter-spacing: -.7px; }
h2 { margin: 0 0 17px; font: bold 24px/1.3 Georgia, 'Times New Roman', serif; }
h3 { margin: 23px 0 10px; font-size: 17px; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 7px; }
figure { margin: 20px 0; }
figcaption { margin-top: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
code { font: .9em/1.5 'Courier New', monospace; overflow-wrap: anywhere; }
small, .small { font-size: 12px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 5;
  background: white;
  padding: 10px 18px;
}
.skip-link:focus { top: 8px; }
.utility {
  max-width: 1080px;
  margin: 15px auto 8px;
  padding: 0 2px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #556371;
}
.site {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid #b9c6d0;
  background: #fff;
  box-shadow: 0 2px 6px #2030400b;
}
.masthead { background: #edf6fc; line-height: 0; }
.masthead a { display: block; width: 100%; }
.masthead img { display: block; width: 100%; height: auto; }
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--navy);
  border-top: 1px solid #426886;
  border-bottom: 1px solid #183f60;
  font: bold 12px/1.5 Verdana, sans-serif;
}
.top-nav a { padding: 12px 23px; color: #fff; text-decoration: none; border-right: 1px solid #557590; }
.top-nav a:hover { background: #315e83; text-decoration: underline; }
.top-nav [aria-current='page'] { background: #fff; color: #234c70; margin-bottom: -1px; }
.top-nav .project-link { margin-left: auto; border-right: 0; border-left: 1px solid #557590; font-weight: normal; }
.layout { display: grid; grid-template-columns: 186px minmax(0, 1fr); }
.sidebar { padding: 25px 18px; background: #f4f6f8; border-right: 1px solid var(--line); font-size: 12px; }
.side-group { margin-bottom: 29px; }
.side-heading { margin: 0 0 10px; color: #4e6070; font: bold 10px/1.5 Verdana, sans-serif; letter-spacing: 1.1px; text-transform: uppercase; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav li { margin: 0; }
.side-nav a { display: block; padding: 5px 0; text-decoration: none; }
.side-nav a:hover { text-decoration: underline; }
.side-nav a[aria-current='page'] { color: #263d50; font-weight: bold; }
.side-nav .number { color: #667e90; font: 11px 'Courier New', monospace; margin-right: 5px; }
.sidebar hr { margin: 23px 0; border: 0; border-top: 1px solid var(--line); }
.sidebar p { margin-bottom: 11px; }
.release-label { display: inline-block; padding: 2px 7px; margin-bottom: 9px; border: 1px solid #bdcdd9; background: white; font-weight: bold; color: #34556d; }
.side-caption { font-size: 11px; color: var(--muted); line-height: 1.6; }
.content { min-width: 0; padding: 29px 34px 36px; }
.eyebrow { margin: 0 0 11px; font: bold 10px/1.6 Verdana, sans-serif; letter-spacing: 1.1px; color: #627687; text-transform: uppercase; }
.overview-title { font-size: 34px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 26px; align-items: start; }
.intro p { font-size: 15px; }
.intro .lead { margin-bottom: 15px; font-size: 16px; line-height: 1.6; }
.intro > div > p:last-child { margin-bottom: 0; }
.download-box { padding: 16px 14px; background: #edf4fa; border: 1px solid #b9ccdc; text-align: center; }
.download-box .version { margin: 0 0 10px; font-size: 16px; font-weight: bold; color: #294f70; }
.download-box p { margin: 9px 0 0; font-size: 11px; color: #546b7e; }
.button { display: inline-block; padding: 9px 17px; border: 1px solid #174b76; background: #24649a; box-shadow: inset 0 1px #ffffff30, 0 1px 1px #20304020; color: white; font-size: 13px; font-weight: bold; text-decoration: none; }
.button:hover { background: #174e7b; color: white; text-decoration: underline; }
.download-box .button { display: block; }
.download-box .small { display: inline-block; margin-top: 11px; font-size: 11px; }
.notice { margin: 24px 0 29px; padding: 12px 16px; border: 1px solid #dfd4ac; border-left: 3px solid #ad8a36; background: #fffcf2; font-size: 13px; line-height: 1.6; }
.notice p:last-child { margin-bottom: 0; }
.section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.section-heading h2 { margin: 0; }
.section-heading a { font-size: 12px; }
.table-scroll { overflow-x: auto; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); font-size: 13px; line-height: 1.5; text-align: left; }
caption { text-align: left; font-size: 12px; margin-bottom: 8px; color: var(--muted); }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
th + th, th + td, td + td { border-left: 1px solid #dce2e7; }
thead th { background: #eaf0f5; color: #2f4b62; font-size: 12px; }
tbody th { font-weight: normal; }
tbody tr:nth-child(even) { background: #f6f8fa; }
td small, th small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: normal; }
td a { font-weight: bold; }
.method-table th:first-child { width: 38%; }
.method-table td:nth-child(2) { width: 24%; }
.screenshot { margin: 22px 0 0; }
.screenshot a { display: block; }
.screenshot img { display: block; width: 100%; border: 1px solid #8f9fae; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; padding: 0; margin: 19px 0 0; list-style: none; font-size: 13px; }
.feature-list li { position: relative; padding-left: 15px; margin: 0; }
.feature-list li::before { content: '›'; position: absolute; left: 0; color: #287745; font-weight: bold; }
.feature-list strong { display: block; }
.quick-steps { font-size: 14px; }
.method-comparison { max-width: 800px; margin: 22px auto; }
.method-comparison img { display: block; width: 100%; }
.platform-banner { display: block; width: 100%; max-width: 720px; margin: 20px auto; }
.download-help { font-size: 14px; }
/* Downloads: show each architecture alongside both install and portable formats. */
.download-table { table-layout: fixed; }
.download-table th:first-child { width: 37%; }
.download-table th:nth-child(2) { width: 30%; }
.download-table th:nth-child(3) { width: 33%; }
.download-table tbody th, .download-table tbody td { vertical-align: middle; }
.download-table tbody tr:nth-child(even) { background: #f7f9fb; }
.download-table .download-system > strong { display: inline-block; margin-right: 8px; font-size: 14px; color: #24465f; }
.download-table .download-system small { margin-top: 6px; line-height: 1.5; }
.architecture-badge { display: inline-block; padding: 2px 7px; border: 1px solid #bbd3e4; border-radius: 3px; background: #eaf3fb; color: #17517b; font: bold 11px/1.5 Arial, sans-serif; white-space: nowrap; }
.download-table .download-link { display: block; width: 100%; padding: 10px 11px; border: 1px solid #9fbed6; border-radius: 3px; background: #edf5fb; color: #145b98; text-decoration: none; text-align: center; line-height: 1.35; }
.download-table .download-link > strong { display: block; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.download-table .download-link small { display: block; margin-top: 2px; font-size: 11px; color: #4e6678; font-weight: normal; }
.download-table .download-link:hover { border-color: #6e9dbf; background: #dfedf8; text-decoration: none; }
.download-table .download-link:hover > strong { text-decoration: underline; }
.download-table .download-unavailable { display: block; text-align: center; color: #697781; font-size: 12px; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 5px; border: 1px solid #d8c494; background: #fff8e8; color: #725716; font: 10px/1.6 Arial, sans-serif; vertical-align: 1px; }
details { border-top: 1px solid var(--line); padding: 13px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; color: var(--blue); font-weight: bold; font-size: 13px; }
summary:hover { text-decoration: underline; }
details[open] summary { margin-bottom: 14px; }
details p { font-size: 13px; }
details p:last-child { margin-bottom: 0; }
.other-builds { font-size: 13px; }
.other-builds li { margin-top: 12px; }
.handbook-promo { display: grid; grid-template-columns: 53px minmax(0, 1fr); gap: 18px; padding: 20px; background: #f3f6f8; border: 1px solid var(--line); }
.handbook-promo h2 { font-size: 21px; margin-bottom: 8px; }
.handbook-promo p { font-size: 13px; margin-bottom: 10px; }
.handbook-promo p:last-child { margin-bottom: 0; }
.book-symbol { width: 48px; height: 58px; padding: 10px 7px; border: 1px solid #90a7b9; border-left: 5px solid #426f91; background: #fff; color: #5d7e98; text-align: center; font: bold 14px/1.2 Georgia, serif; }
.book-symbol span { display: block; border-top: 1px solid #afc2d0; margin-top: 6px; padding-top: 4px; font: 8px Arial, sans-serif; letter-spacing: 1px; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 15px 24px; border-top: 1px solid var(--line); background: #f4f6f8; font-size: 11px; color: #566b7c; }
.site-footer p { margin: 0; }
.site-footer a + a { margin-left: 15px; }
.colophon { max-width: 1080px; padding: 13px 10px 24px; margin: 0 auto; text-align: center; font-size: 11px; color: #5f6f7b; }
.colophon a { color: #42617a; }
.breadcrumb { margin: 0 0 20px; font-size: 11px; color: var(--muted); }
.breadcrumb span { padding: 0 7px; }
.article h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; letter-spacing: -.6px; }
.article .standfirst { font-size: 17px; line-height: 1.6; color: #50606e; }
.article-meta { padding-bottom: 21px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article section { margin-top: 32px; }
.article h2 { padding-top: 23px; border-top: 1px solid var(--line); }
.article h2 .section-number { margin-right: 7px; color: #6d8597; font: normal 15px 'Courier New', monospace; }
.article .notice { margin-top: 20px; }
.article figure { padding: 15px; background: #f7f9fb; border: 1px solid var(--line); }
.article figure img { width: 100%; }
.article .unframed { padding: 0; border: 0; background: transparent; }
.article .unframed img { border: 1px solid var(--line); }
.diagram-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.article .takeaway { margin: 20px 0; padding: 12px 15px; border-left: 3px solid #6c8ea8; background: #f0f5f9; font-size: 14px; }
.article .source-note { font-size: 11px; color: var(--muted); }
.article .checklist li { padding-left: 3px; margin-top: 12px; }
.article .sources { padding-left: 20px; font-size: 12px; }
.article .faq h3 { margin-top: 23px; font-size: 16px; }
.article .faq p { font-size: 14px; }
.figure-download { margin: -5px 0 23px; font-size: 13px; }
.article-end { margin-top: 28px; padding: 20px; border: 1px solid var(--line); background: #f3f6f8; display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 24px; font-size: 13px; }
.article-end > img { width: 260px; }
.article-end p { margin-bottom: 12px; }
.article-end .back-link { margin: 12px 0 0; font-size: 12px; }
.mobile-toc, .table-hint { display: none; }

@media (max-width: 1100px) {
  .utility { margin-left: 15px; margin-right: 15px; }
  .site { margin-left: 14px; margin-right: 14px; }
  .content { padding-left: 26px; padding-right: 26px; }
  .intro { grid-template-columns: minmax(0, 1fr) 176px; gap: 20px; }
}
@media (max-width: 920px) {
  .intro { display: block; }
  .download-box { margin-top: 20px; text-align: left; }
  .download-box .version { display: none; }
  .download-box .button { display: inline-block; }
  .download-box .small { margin: 0 0 0 12px; }
}
@media (max-width: 800px) {
  .layout { grid-template-columns: 158px minmax(0, 1fr); }
  .sidebar { padding: 23px 13px; }
  .content { padding: 25px 22px; }
  .top-nav a { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 28px; }
  .overview-title { font-size: 30px; }
  .article-end { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 16px; }
  .article-end > img { margin: auto; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { background: #fff; font-size: 15px; }
  .utility { margin: 8px 14px; font-size: 10px; }
  .utility .utility-detail { display: none; }
  .site { margin: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .top-nav { font-size: 11px; }
  .top-nav a { padding: 11px 14px; flex: 1; text-align: center; }
  .top-nav .project-link { display: none; }
  .layout { display: flex; flex-direction: column; }
  .sidebar { order: 2; padding: 22px; border-right: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .side-group { margin-bottom: 0; }
  .sidebar .side-extra, .sidebar hr { display: none; }
  .content { padding: 25px 20px 30px; }
  h1 { font-size: 29px; }
  .overview-title { font-size: clamp(21px, 6vw, 28px); letter-spacing: -.5px; }
  h2 { font-size: 23px; }
  .intro .lead { font-size: 16px; }
  .download-box { padding: 13px; }
  .notice { margin: 22px 0 26px; padding: 11px 13px; }
  th, td { padding: 10px; }
  table { font-size: 12px; }
  .method-table { min-width: 530px; }
  .download-table, .download-table tbody { display: block; width: 100%; }
  .download-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .download-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); }
  .download-table tbody tr:last-child { border-bottom: 0; }
  .download-table th, .download-table td { width: auto !important; padding: 0; border: 0; }
  .download-table tbody .download-system { grid-column: 1 / -1; }
  .download-table .download-install, .download-table .download-portable { min-width: 0; }
  .download-table .download-install::before, .download-table .download-portable::before { display: block; margin-bottom: 5px; font-size: 10px; font-weight: bold; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
  .download-table .download-install::before { content: 'Installer'; }
  .download-table .download-portable::before { content: 'Portable'; }
  .download-table .download-link { min-height: 65px; padding: 9px 6px; }
  .download-table .download-link > strong { font-size: 12px; }
  .download-table .download-link small { font-size: 10px; }
  .download-table .download-unavailable { display: grid; min-height: 65px; place-items: center; background: #f2f4f6; border: 1px dashed #d4dce3; border-radius: 3px; }
  .comparison-table { min-width: 580px; }
  .system-table { min-width: 530px; }
  .table-hint { display: block; margin: 0 0 6px; color: var(--muted); font-size: 11px; }
  .handbook-promo { padding: 17px; grid-template-columns: 38px minmax(0, 1fr); gap: 15px; }
  .book-symbol { width: 36px; height: 49px; padding: 7px 3px; }
  .book-symbol span { font-size: 6px; }
  .site-footer { padding: 16px 20px; }
  .article h1 { font-size: 31px; }
  .article .standfirst { font-size: 16px; }
  .article figure { padding: 8px; }
  .article figure.diagram { padding: 5px; }
  .article .diagram figcaption { padding: 5px; }
  .diagram-pair { grid-template-columns: 1fr; gap: 8px; }
  .mobile-toc { display: block; margin: 20px 0 26px; padding: 13px 15px; background: #f4f6f8; border: 1px solid var(--line); }
  .mobile-toc .side-nav { margin-top: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .utility, .top-nav, .sidebar, .skip-link, .download-box, .article-end, .site-footer, .colophon, .mobile-toc, .table-hint { display: none; }
  .site { max-width: none; margin: 0; border: 0; box-shadow: none; }
  .masthead { padding: 0 0 15px; background: white; }
  .masthead img { width: 480px; margin: auto; }
  .layout, .intro { display: block; }
  .content { padding: 0; }
  h1, h2, h3 { break-after: avoid; }
  table, figure, .notice { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  table { min-width: 0 !important; }
  a { color: #234c70; }
}

/* Recovery guide: practical, scan-friendly layout (homepage styles unchanged). */
.article .guide-first { margin-top: 12px; }
.article .guide-first h2 { border-top: 0; padding-top: 0; }
.article .guide-intro { margin-top: -6px; color: var(--muted); font-size: 14px; }
.guide-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.guide-rule { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 15px 13px; border: 1px solid #ccdbe6; background: #f5f8fb; }
.guide-rule p { margin: 0; font-size: 13px; line-height: 1.55; }
.guide-rule strong { display: block; margin-bottom: 3px; color: #294c65; }
.guide-rule-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #e3edf5; color: #245c83; font: 700 18px/1 Arial, sans-serif; }
.guide-rule:first-child { border-color: #e0cfaa; background: #fffbf2; }
.guide-rule:first-child .guide-rule-icon { background: #fbebcf; color: #86621f; }
.guide-drive-flow { display: flex; gap: 11px; justify-content: center; align-items: center; margin: 14px 0; padding: 14px; border-radius: 3px; background: #f8fafb; border: 1px dashed #c3d2dd; }
.drive-pill { display: flex; flex: 1 1 0; gap: 10px; align-items: center; min-width: 0; padding: 10px 13px; border-radius: 5px; border: 1px solid #afc4d3; background: #fff; color: #29485f; }
.drive-pill-good { border-color: #afcfbb; background: #f3faf5; color: #295e3d; }
.drive-pill b, .drive-pill small { display: block; }
.drive-pill b { font-size: 12px; line-height: 1.3; }
.drive-pill small { margin-top: 3px; font-size: 11px; line-height: 1.35; }
.drive-icon { font-size: 29px; line-height: 1; color: #6b8293; }
.flow-arrow { flex: none; color: #55778f; font-size: 26px; }
.article .guide-alert { padding: 11px 14px; margin: 14px 0 0; border-left: 3px solid #c2903c; background: #fffaef; font-size: 13px; }
.guide-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 15px 0 0; }
.guide-choice { display: flex; flex-direction: column; min-width: 0; min-height: 150px; padding: 15px 17px; border: 1px solid #c7d5df; border-radius: 4px; background: #fcfdfe; color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.guide-choice:hover { border-color: #6b9ab9; color: var(--ink); background: #f1f7fc; text-decoration: none; }
.guide-choice:focus-visible { outline-offset: 2px; }
.choice-marker { align-self: start; margin-bottom: 8px; color: #637d92; font: bold 11px/1.4 Verdana, sans-serif; }
.guide-choice strong { display: block; margin-bottom: 5px; color: #234c70; font-size: 15px; line-height: 1.35; }
.guide-choice > span:nth-last-child(2) { font-size: 12px; line-height: 1.55; color: var(--muted); }
.guide-choice .choice-link { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: bold; color: #145b98; }
.guide-step-list { list-style: none; counter-reset: guide-step; padding: 0; margin: 19px 0 20px; }
.guide-step-list > li { position: relative; min-height: 62px; display: flex; align-items: flex-start; gap: 14px; padding: 11px 0 11px 0; margin: 0 !important; border-bottom: 1px solid #e3e9ee; counter-increment: guide-step; }
.guide-step-list > li:first-child { padding-top: 0; }
.guide-step-list > li:last-child { border-bottom: 0; }
.guide-step-list > li:before { content: counter(guide-step); flex: 0 0 auto; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #a1bed2; background: #e8f2f9; color: #245b82; font: bold 17px/1 Georgia, serif; }
.article .guide-step-list h3 { margin: 0 0 4px; font-size: 15px; }
.article .guide-step-list p { margin: 0; font-size: 13px; line-height: 1.6; }
.guide-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 18px 0; }
.article .guide-previews figure { margin: 0; }
.article .guide-previews figure a { display: block; }
.article .guide-previews figcaption { padding-top: 1px; }
.article .guide-inline-note { margin-top: 24px; padding: 15px 16px; border: 1px solid #cfdae3; background: #f7f9fb; }
.article .guide-inline-note h3 { margin: 0 0 7px; font-size: 16px; }
.article .guide-inline-note p { margin-bottom: 9px; font-size: 13px; }
.article figure.guide-image-small { max-width: 650px; margin: 14px auto 5px; }
.article figure.guide-image-small img { display: block; }
.article .guide-cta { margin: 18px 0 0; font-size: 13px; font-weight: bold; }
.guide-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.guide-option { padding: 13px 12px; border: 1px solid #d3dce3; border-radius: 3px; background: #f8fafb; }
.guide-option-best { border-color: #9fcbaf; background: #f4faf6; }
.guide-option .guide-tag { display: inline-block; margin-bottom: 11px; padding: 2px 7px; background: #e3eff3; color: #37627e; font: bold 10px/1.5 Verdana, sans-serif; }
.guide-option-best .guide-tag { color: #2e6645; background: #def2e5; }
.guide-option .guide-tag-warn { color: #89651e; background: #fdf0ce; }
.article .guide-option h3 { font-size: 14px; margin: 0 0 6px; }
.article .guide-option p { margin: 0; font-size: 12px; line-height: 1.55; }
.article .guide-more { margin: 16px 0 0; border: 1px solid #cbd8e2; padding: 13px 15px; background: #fafcfd; }
.article .guide-more + .guide-more { margin-top: 9px; }
.article .guide-more:last-child { border-bottom: 1px solid #cbd8e2; }
.article .guide-more summary { font-size: 13px; }
.article .guide-more[open] summary { margin-bottom: 14px; }
.article .guide-more p, .article .guide-more li { font-size: 13px; }
.article .guide-more figure { margin-bottom: 0; }
.article .guide-short-list { padding-left: 22px; margin-bottom: 13px; }
.article .guide-short-list li { margin: 6px 0; }
.article .guide-tip { margin: 17px 0 0; padding: 10px 13px; border-left: 3px solid #7ca0ba; background: #f1f6fa; font-size: 13px; }
.guide-mini-steps { padding: 8px 17px; border: 1px solid #cfdae3; background: #f8fafb; }
.article .guide-mini-steps p { display: flex; gap: 11px; align-items: baseline; margin: 9px 0; font-size: 13px; }
.guide-mini-steps b { font-size: 17px; color: #3d7497; }
.guide-action-box { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; }
.article .guide-action-box p { padding: 13px; margin: 0; border-left: 3px solid #8eb0c8; background: #f2f7fa; font-size: 13px; }
.guide-methods { display: grid; gap: 10px; margin: 18px 0 14px; }
.guide-method { scroll-margin-top: 24px; padding: 14px 16px; border: 1px solid #cad8e2; border-left: 4px solid #77a1bf; background: #fcfdff; }
.guide-method:nth-child(2) { border-left-color: #72999a; }
.guide-method:nth-child(3) { border-left-color: #ae9972; }
.guide-method .method-id { display: block; margin-bottom: 3px; font: bold 10px/1.5 Verdana, sans-serif; color: #607c90; text-transform: uppercase; letter-spacing: .5px; }
.article .guide-method h3 { margin: 0 0 7px; font-size: 17px; }
.article .guide-method h3 small { margin-left: 5px; color: #667987; font-size: 12px; font-weight: normal; white-space: nowrap; }
.article .guide-method p { margin: 3px 0; font-size: 13px; }
.article .guide-diagram-pair { margin: 13px 0 8px; }
.article .guide-diagram-pair img { width: 100%; border: 1px solid #d5dee5; background: #fff; }
.guide-image-flow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; padding: 13px; border: 1px dashed #c7d7e2; background: #f7fafc; }
.guide-image-flow > span:not([aria-hidden]) { flex: 1; text-align: center; padding: 11px 8px; background: #fff; border: 1px solid #c7d7e2; border-radius: 4px; }
.guide-image-flow > span[aria-hidden] { flex: none; color: #6187a1; font-size: 23px; }
.guide-image-flow b, .guide-image-flow small { display: block; }
.guide-image-flow b { font-size: 13px; color: #2d546f; }
.guide-image-flow small { margin-top: 4px; color: #5e707e; font-size: 11px; }
.guide-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 12px 0; }
.article .guide-platforms p { margin: 0; padding: 14px; border: 1px solid #d5e0e8; background: #f8fafc; font-size: 13px; }
.guide-limit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.guide-limit-grid > div { padding: 14px; background: #f5f9fb; border-top: 3px solid #77a88b; }
.guide-limit-grid > div + div { border-top-color: #c59867; background: #fffbf6; }
.article .guide-limit-grid h3 { margin: 0 0 6px; font-size: 15px; }
.article .guide-limit-grid p { margin: 0; font-size: 13px; }
.article .guide-faq details { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.article .guide-faq details:first-of-type { border-top: 1px solid var(--line); }
.article .guide-faq details p { padding-left: 12px; margin-bottom: 0; font-size: 13px; }
.article .guide-sources { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 18px; }
.article .guide-sources li { margin-top: 3px; }
@media (max-width: 800px) {
  .guide-rules, .guide-options { grid-template-columns: 1fr; }
  .guide-rule { flex-direction: row; align-items: flex-start; padding: 11px; }
  .guide-rule-icon { flex: 0 0 30px; }
  .guide-option { padding: 12px 14px; }
  .guide-option .guide-tag { margin-bottom: 6px; }
  .article .guide-option h3 { margin-bottom: 4px; }
}
@media (max-width: 620px) {
  .guide-choices, .guide-previews, .guide-action-box, .guide-platforms, .guide-limit-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-choices { gap: 9px; }
  .guide-choice { min-height: 0; padding: 13px; }
  .guide-choice strong { font-size: 14px; }
  .guide-choice .choice-link { padding-top: 6px; }
  .guide-drive-flow { gap: 7px; padding: 10px 7px; }
  .drive-pill { flex: 1; padding: 9px 6px; gap: 4px; }
  .drive-pill b { font-size: 11px; }
  .drive-pill small { font-size: 10px; }
  .drive-icon { display: none; }
  .flow-arrow { font-size: 19px; }
  .guide-previews { gap: 14px; }
  .guide-image-flow { gap: 5px; padding: 8px 5px; }
  .guide-image-flow > span:not([aria-hidden]) { padding: 8px 4px; }
  .guide-image-flow b { font-size: 10px; }
  .guide-image-flow small { font-size: 9px; }
  .guide-image-flow > span[aria-hidden] { font-size: 16px; }
  .article .guide-sources { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-choice { transition: none; }
}
@media print {
  .article .guide-faq details, .article .guide-more { break-inside: avoid; }
  .article .guide-faq details > *, .article .guide-more > * { visibility: visible; }
}

/* Recovery guide: center the logo and call-to-action inside their respective columns. */
.article .article-end { justify-items: center; text-align: center; }
.article .article-end > img { max-width: 100%; height: auto; }
.article .article-end > div { min-width: 0; width: 100%; text-align: center; }
