html { color-scheme: light; background: #fff; }
* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: #222;
  max-width: 768px;
  margin: 0 auto;
  padding: 24px;
}

h1 { font-size: 1.5em; line-height: 1.4; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 1.12em; line-height: 1.5; margin: 2em 0 0.7em; }
p { margin: 0.65em 0; overflow-wrap: anywhere; }
a { color: #365e50; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: #203f34; }
:focus-visible { outline: 3px solid #527e6e; outline-offset: 4px; }
.meta { color: #666; font-size: 0.9em; margin: 0 0 2em; }
.intro { color: #555; margin-bottom: 2em; }
.document-section { margin-top: 2em; }
.contact { padding: 18px 20px; background: #f7f8f7; border: 1px solid #e7ebe8; border-radius: 12px; }
.contact h2 { margin-top: 0; }
.contact p:last-child { margin-bottom: 0; }
.support-topics { margin: 1.5em 0 2em; }
details { border-bottom: 1px solid #eceeed; padding: 14px 0; }
details:first-child { border-top: 1px solid #eceeed; }
summary { font-weight: 600; cursor: pointer; line-height: 1.6; }
summary::marker { color: #6c8278; }
details p { margin: 12px 0 4px; }
.page-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid #e7ebe8; color: #777; font-size: 0.9em; }
.page-links { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 12px; }
.page-links a { font-weight: 500; }
.lang-switch select, summary { min-height: 44px; }
@media print {
  .lang-switch, .page-footer { display: none !important; }
  body { max-width: none; padding: 0; }
  details > * { display: block !important; }
  h2, summary { break-after: avoid; }
}
.lang-switch { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0 0 2em; }
.lang-switch label { color: #666; font-size: 0.9em; white-space: nowrap; }
.lang-switch select { min-width: 168px; max-width: 100%; padding: 9px 34px 9px 12px; border: 1px solid #c8c8c8; border-radius: 10px; background-color: #fff; color: #222; font: inherit; cursor: pointer; }
.lang-switch select:hover { border-color: #888; }
.lang-switch select:focus-visible { outline: 3px solid rgba(26, 115, 232, 0.22); border-color: #1a73e8; }
.lang-panel { display: none; }
.lang-panel.active { display: block; }

@media (max-width: 480px) {
  body { padding: 18px; }
  .lang-switch { justify-content: space-between; }
  .lang-switch select { width: min(210px, 66vw); min-width: 0; }
}
