:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #16324f; background: #f3f7fc; font-synthesis: none;
  --blue: #245ec9; --teal: #087889; --muted: #52667e; --line: #dbe5f0;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.65; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: var(--blue); text-underline-offset: 4px; }
a, button, input, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button, input { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #a5b9cf; border-radius: 8px; background: #fff; color: #16324f; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
button:hover:not(:disabled), .button:hover { background: #edf4ff; border-color: var(--blue); }
.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 9px #245ec91a; }
.primary:hover:not(:disabled) { background: #174baf; color: #fff; }
button:disabled { color: #60738a; background: #edf1f6; border-color: #cbd6e2; cursor: not-allowed; box-shadow: none; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 2; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, main { max-width: 900px; margin: auto; padding-left: 28px; padding-right: 28px; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-inner > a:last-child { font-size: 13px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #16324f; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: linear-gradient(145deg,var(--blue),var(--teal)); font-size: 18px; }
main { padding-top: 32px; padding-bottom: 20px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 650; margin-bottom: 5px; }
h1 { font-size: 29px; line-height: 1.35; letter-spacing: -.6px; }
h2 { font-size: 18px; line-height: 1.45; }
.subtle { color: var(--muted); font-size: 13px; margin-top: 8px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 28px 0 23px; list-style: none; gap: 20px; }
.steps li { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--line); padding-bottom: 16px; color: var(--muted); font-size: 14px; font-weight: 650; }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e4ecf5; color: #627892; }
.steps small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; }
.steps li[data-state="current"] { border-color: var(--blue); color: var(--blue); }
.steps li[data-state="current"] .step-number { background: var(--blue); color: #fff; }
.steps li[data-state="complete"] { border-color: #289566; color: #147247; }
.steps li[data-state="complete"] .step-number { background: #def3e7; color: #147247; }
.preparation { padding: 29px 32px; background: #fff; border: 1px solid #c9d9ec; border-radius: 15px; box-shadow: 0 8px 28px #16324f05; }
.preparation h2 { font-size: 24px; }
#operation-message { color: var(--muted); font-size: 13px; margin-top: 7px; overflow-wrap: anywhere; }
.note { color: var(--muted); font-size: 11px; margin-top: 8px; }
.primary-actions { display: flex; margin-top: 24px; }
.primary-actions .button { min-height: 46px; min-width: 166px; font-size: 14px; }
.preparation[data-tone="success"] { border-color: #a9ddbf; }
.preparation[data-tone="danger"] { border-color: #efbdc6; }
.check-result { margin-top: 23px; border: 1px solid var(--line); border-left: 3px solid var(--tone); border-radius: 9px; background: #f8fafd; padding: 16px 18px; min-width: 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.card-heading h3 { font-size: 14px; font-weight: 600; }
.badge { display: inline-flex; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 650; color: var(--tone); background: var(--tone-bg); }
[data-tone="neutral"] { --tone: #52667e; --tone-bg: #f0f4f8; }
[data-tone="info"] { --tone: #245ec9; --tone-bg: #edf4ff; }
[data-tone="success"] { --tone: #147247; --tone-bg: #eaf8f0; }
[data-tone="warning"] { --tone: #935000; --tone-bg: #fff5e5; }
[data-tone="danger"] { --tone: #bd3645; --tone-bg: #fff0f2; }
.card-message { color: var(--muted); margin-top: 13px; font-size: 13px; overflow-wrap: anywhere; white-space: pre-line; }
.checked-at { color: var(--muted); font-size: 11px; margin-top: 9px; }
.check-result details { margin-top: 12px; }
.check-result summary { color: var(--muted); font-size: 12px; cursor: pointer; }
.check-result details button { margin-top: 12px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; background: #f6f9fc; padding: 12px; font: 11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; }
.public-link { display: inline-block; font-size: 12px; margin-top: 9px; }
.next-step { color: #285772; background: #e9f8fb; border: 1px solid #bee2eb; border-radius: 8px; font-size: 12px; padding: 10px 14px; margin-top: 15px; }
.message { margin-bottom: 15px; padding: 11px 14px; border: 1px solid currentColor; border-radius: 8px; color: var(--tone); background: var(--tone-bg); font-size: 13px; overflow-wrap: anywhere; white-space: pre-line; }
#request-error { margin-top: 15px; margin-bottom: 0; }
.advanced { margin-top: 21px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 15px 20px; }
.advanced > summary { cursor: pointer; font-size: 13px; font-weight: 650; }
.advanced > summary span { color: var(--muted); font-size: 11px; font-weight: 450; margin-left: 8px; }
.advanced > summary .connection-summary { color: var(--tone); float: right; }
.maintenance { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.maintenance summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.maintenance button { margin-top: 14px; }
.host-info { font-size: 13px; margin-top: 17px; }
.hint { color: var(--muted); font-size: 12px; margin-top: 9px; overflow-wrap: anywhere; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 17px; }
label { display: block; font-size: 12px; color: var(--muted); }
input { display: block; width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #a5b9cf; border-radius: 7px; color: #16324f; background: #fff; margin-top: 5px; }
input:disabled { background: #f0f4f8; color: var(--muted); }
.toggle { display: flex; gap: 9px; align-items: center; margin-top: 20px; color: #16324f; }
.toggle input { width: 17px; min-height: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
footer { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; color: var(--muted); font-size: 11px; padding: 20px 0; }
.noscript { padding: 20px; color: #bd3645; }
@media(max-width:720px) {
  .header-inner, main { padding-left: 20px; padding-right: 20px; }
  .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 6px 16px; }
  .header-inner > a:last-child { font-size: 12px; }
  h1 { font-size: 25px; }
  .page-heading { align-items: flex-start; gap: 12px; }
  #refresh { padding: 8px 11px; font-size: 12px; flex-shrink: 0; }
  .preparation { padding: 22px; }
  .fields { grid-template-columns: 1fr; }
  .primary-actions { flex-wrap: wrap; }
  .primary-actions .button { flex: 1; }
  .advanced { padding: 15px 17px; }
  .actions > button { flex: 1; }
}
