:root {
  color-scheme: light;
  --ink: #172b45;
  --muted: #526680;
  --blue: #087ff5;
  --line: #dce7f1;
  --paper: #f7fbff;
  --soft: #eaf4ff;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}
a {
  color: #096ace;
  text-underline-offset: 4px;
}
a:hover {
  color: #064d99;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #1181ee;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding: 0 36px;
}
.nav {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.7px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navlinks a {
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
}
.navlinks a[aria-current="page"] {
  color: var(--blue);
}
.feedback-page {
  max-width: 920px;
  margin: auto;
  padding: 56px 36px 80px;
}
.page-heading h1 {
  font-size: 40px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}
.page-heading p {
  color: var(--muted);
  margin: 0 0 36px;
  font-size: 16px;
}
.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.tabs button {
  position: relative;
  border: 0;
  background: none;
  padding: 12px 0;
  color: var(--muted);
  font-size: 16px;
}
.tabs button[aria-selected="true"] {
  color: var(--blue);
  font-weight: 600;
}
.tabs button[aria-selected="true"]:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--blue);
}
.card {
  min-width: 0;
}
h2 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 8px;
}
h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 24px;
}
.section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}
.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.required {
  color: #b3261e;
}
.hint {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #bccdde;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--soft);
}
.check {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  margin-top: 28px;
  line-height: 1.7;
}
.check input {
  margin-top: 5px;
  accent-color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.primary:hover {
  background: #066acb;
  color: #fff;
}
.quiet {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
}
.message {
  color: #b3261e;
  background: #fff3f2;
  border-left: 3px solid #b3261e;
  padding: 12px 16px;
  font-size: 14px;
  white-space: pre-wrap;
  margin-top: 20px;
}
.message:empty {
  display: none;
}
.success {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}
.credential {
  display: block;
  font:
    15px/1.8 ui-monospace,
    Consolas,
    monospace;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 16px;
  overflow-wrap: anywhere;
  margin: 8px 0 20px;
  border-radius: 6px;
}
.badge {
  display: inline-block;
  background: var(--soft);
  color: #096ace;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  padding: 3px 10px;
  white-space: nowrap;
}
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.detail {
  margin-top: 32px;
}
.detail p {
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail h3 {
  margin-bottom: 12px;
}
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.timeline article {
  margin: 0 0 24px;
}
.timeline small {
  font-size: 12px;
  color: var(--muted);
}
.history-label {
  font-size: 14px;
  font-weight: 600;
}
.trap {
  position: absolute;
  left: -10000px;
}
.footer {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  font-size: 13px;
  color: #667991;
}
.footer a {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 24px;
  }
  .nav {
    min-height: 78px;
  }
  .navlinks {
    gap: 16px;
  }
  .feedback-page {
    padding: 34px 23px 55px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .page-heading p {
    margin-bottom: 24px;
  }
  .fields {
    gap: 20px;
  }
  .section {
    margin-top: 26px;
  }
  .navlinks a {
    font-size: 13px;
  }
}
@media (max-width: 520px) {
  .fields {
    grid-template-columns: 1fr;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .nav {
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 0;
  }
  .navlinks {
    gap: 18px;
  }
  .navlinks a:first-child {
    display: none;
  }
  .actions {
    gap: 12px;
  }
  .split {
    align-items: flex-start;
  }
  .feedback-page {
    padding-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
