:root {
  color-scheme: light;
  --ink: #232730;
  --muted: #6a717e;
  --subtle: #f5f6f8;
  --line: #e6e8ec;
  --panel: #fff;
  --bg: #fafaf9;
  --accent: #f3d57a;
  --accent-soft: #fcf6e5;
  --danger: #b54139;
  --success: #46745a;
  font-family: 'Avenir Next', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
  cursor: default !important;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 22px;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
}
.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand strong {
  font-size: 19px;
  letter-spacing: -0.05em;
}
.brand-divider {
  width: 1px;
  height: 16px;
  margin: 0 5px;
  background: var(--line);
}
.brand-caption {
  color: var(--muted);
  font-size: 13px;
}
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.section-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #f0e7c8;
  border-radius: 12px;
  color: #746339;
  background: var(--accent-soft);
}
.section-icon svg {
  width: 21px;
  height: 21px;
}
.form-stack {
  display: grid;
  gap: 19px;
}
.field,
.form-stack label,
.release-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce0e6;
  border-radius: 9px;
  padding: 11px 13px;
  outline: none;
  color: var(--ink);
  background: var(--panel);
  font-size: 14px;
}
input,
select {
  min-height: 44px;
}
input::placeholder,
textarea::placeholder {
  color: #9298a2;
  font-weight: 400;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #a89560;
  box-shadow: 0 0 0 3px #f5eac64d;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input[type='checkbox'] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
}
input:disabled,
select:disabled {
  color: var(--muted);
  background: var(--subtle);
}
.button,
.primary,
.secondary,
.ghost,
.small-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
}
.primary {
  min-height: 44px;
  color: #fff;
  background: var(--ink);
}
.primary:hover {
  background: #383e48;
}
.secondary {
  min-height: 44px;
  border-color: var(--line);
  color: var(--ink);
  background: var(--subtle);
}
.secondary:hover {
  border-color: #cfd3da;
  background: #eceef2;
}
.ghost,
.small-button {
  border-color: var(--line);
  color: #565d68;
  background: var(--panel);
}
.ghost:hover,
.small-button:hover {
  border-color: #c7cbd3;
  color: var(--ink);
  background: var(--subtle);
}
.small-button {
  min-height: 32px;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
}
button:disabled,
button[aria-busy='true'] {
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.link-button {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: none;
  font-weight: 600;
}
.link-button:hover,
.login-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-error {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--danger);
  background: #fbefed;
  font-size: 12px;
  font-weight: 400;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(400px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 8px 36px #23273014;
  opacity: 0;
  pointer-events: none;
  font-size: 13px;
}
.toast.show {
  opacity: 1;
}
.status-dot,
.help-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--success);
}
.status-dot.off {
  background: var(--danger);
}
.loading-line {
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
}
dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  color: var(--ink);
  background: var(--panel);
  box-shadow: 0 24px 80px #23273026;
}
dialog::backdrop {
  background: #2327304d;
}
.dialog-heading {
  margin-bottom: 22px;
}
.dialog-heading h2 {
  margin-bottom: 7px;
}
.dialog-heading p {
  color: var(--muted);
  font-size: 13px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
@media (max-width: 600px) {
  .brand-divider,
  .brand-caption {
    display: none;
  }
  .toast {
    right: 16px;
    bottom: 16px;
  }
  dialog {
    padding: 22px;
  }
}
