:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif;
  color: #202328;
  background: #f5f6f7;
  font-size: 16px;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(900px, 100%); margin: 0 auto; padding: 36px 24px 56px; }
header { margin-bottom: 24px; }
h1 { margin: 4px 0 8px; font-size: 28px; line-height: 1.3; letter-spacing: -.02em; }
h2 { margin: 0; font-size: 18px; line-height: 1.5; }
p { margin: 10px 0 16px; }
.eyebrow { margin: 0; color: #60666e; font-size: 14px; }
section, .diagnostics { background: #fff; border: 1px solid #dce0e4; padding: 24px; margin-top: 16px; border-radius: 6px; }
.section-heading { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; }
.status { color: #5b626c; font-size: 14px; white-space: nowrap; }
.status[data-state="success"] { color: #225f40; }
.status[data-state="error"] { color: #a22a27; }
.notice { background: #fff; border: 1px solid #dce0e4; padding: 16px 20px; border-radius: 6px; }
.notice[data-state="error"] { background: #fff5f4; border-color: #e5b8b4; }
.notice[data-state="success"] { background: #f3f8f4; border-color: #b9d5c2; }
button { min-height: 44px; padding: 10px 16px; border: 1px solid #89919a; border-radius: 4px; color: #202328; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
button:hover:enabled { background: #f0f2f4; }
button.primary { color: #fff; border-color: #252a31; background: #252a31; }
button.primary:hover:enabled { background: #414852; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #5b718c; outline-offset: 3px; }
.check-list { list-style: none; margin: 14px 0 20px; padding: 0; }
.check-list li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid #edf0f2; }
.check-list span { font-size: 14px; color: #5b626c; }
.details { margin: 16px 0 20px; }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; }
dt { color: #646b74; }
dd { margin: 0; overflow-wrap: anywhere; }
.confirmation { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 14px; cursor: pointer; }
.confirmation input { width: 18px; height: 18px; margin-top: 5px; flex: 0 0 18px; }
.hint { font-size: 14px; color: #626a74; }
.message-preview { display: block; margin: 16px 0 20px; padding: 16px; background: #f4f6f8; border: 1px solid #e0e5e9; border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.diagnostics { padding: 18px 24px; }
summary { cursor: pointer; font-size: 14px; }
#log-list { font-size: 13px; color: #59616b; padding-left: 24px; }
#log-list li { margin: 6px 0; }
@media (max-width: 520px) {
  main { padding: 24px 16px 40px; }
  section, .diagnostics { padding: 20px 16px; }
  h1 { font-size: 24px; }
  .section-heading { display: block; }
  .status { display: inline-block; margin-top: 4px; }
  .actions button { width: 100%; }
}
