:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #18222a;
  background: #f4f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }

.page {
  width: min(100% - 40px, 620px);
  margin: 64px auto 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #18222a;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.brand-divider { padding: 0 8px; color: #94a0aa; }
.card { padding: 36px; background: #fff; border: 1px solid #e1e6eb; border-radius: 18px; }
.status { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #eef2f5; color: #50616d; font-size: 12px; line-height: 1.5; }
.status[data-tone="success"] { background: #eaf5ef; color: #22634a; }
.status[data-tone="warning"] { background: #fff3e4; color: #895619; }
h1 { margin: 18px 0 12px; font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.5px; }
.description { margin: 0 0 26px; color: #5c6b76; font-size: 15px; line-height: 1.8; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
input, textarea { display: block; width: 100%; border: 1px solid #d9e1e7; border-radius: 8px; background: #f8fafb; color: #283d4c; padding: 12px; font: 13px/1.7 ui-monospace, "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
input { min-height: 46px; }
textarea { resize: vertical; }
input:focus, textarea:focus, button:focus-visible { outline: 3px solid #c6dcf0; outline-offset: 2px; }
.hint { margin: 8px 0 16px; font-size: 12px; line-height: 1.7; color: #74828d; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid #18222a; border-radius: 8px; background: #18222a; color: #fff; font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; }
.button:hover { background: #2e3d48; }
.copy-status { min-height: 22px; margin: 9px 0 0; font-size: 12px; line-height: 1.7; color: #22634a; }
.steps { margin: 22px 0 0; border-top: 1px solid #edf0f3; padding: 20px 0 0 21px; color: #65747f; font-size: 13px; line-height: 1.8; }
.steps li { padding-left: 3px; margin: 7px 0; }
.notice { background: #f7f9fb; border: 1px solid #e6ebf0; border-radius: 8px; padding: 13px 16px; color: #5c6b76; font-size: 14px; line-height: 1.8; }
.notice p { margin: 0; }
footer { padding: 20px 0; color: #87939d; font-size: 12px; text-align: center; }

@media (max-width: 520px) {
  .page { width: min(100% - 28px, 620px); margin-top: 28px; }
  .brand { margin-bottom: 18px; }
  .card { padding: 24px 21px; border-radius: 14px; }
  h1 { font-size: 25px; }
  .button { width: 100%; }
}
