/* Pro Dark auth + settings */
.co-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  gap: 12px;
}
.co-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--surface-3);
  border-radius: 14px;
  padding: 28px 22px 22px;
}
.co-auth-card h1 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.co-auth-card h1 a { color: var(--fg); }
.co-auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
  font-weight: 600;
}
.co-auth-error {
  text-align: center;
  color: var(--danger);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 10px;
}
.co-field {
  width: 100%;
  box-sizing: border-box;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid var(--surface-3);
  background: var(--bg);
  color: var(--fg);
  padding: 0 12px;
  font-size: 14px;
}
.co-field:focus {
  outline: none;
  border-color: #555;
}
.co-submit {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  background: #fafafa;
  color: #111111 !important;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  -webkit-text-fill-color: #111111;
}
.co-auth-links {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}
.co-auth-links a { color: var(--link); }
.co-auth-foot {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--surface-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.co-auth-foot a { color: var(--fg); font-weight: 750; }
.co-howto {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.co-howto h3 { margin: 8px 0; color: var(--fg); font-size: 14px; }

.co-settings {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 40px;
}
.co-settings__section {
  margin: 16px 14px 0;
  padding: 14px;
  border: 1px solid var(--surface-3);
  border-radius: 12px;
  background: var(--surface);
}
.co-settings__section h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.co-settings label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
  margin: 8px 0 4px;
}
.co-settings .co-field { margin-bottom: 0; }
.co-settings .co-submit { margin-top: 14px; width: auto; min-width: 140px; padding: 0 16px; }
.co-settings__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 12px;
}
.co-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--fg);
  margin: 12px 0;
}
.co-check input { margin-top: 3px; }
.co-submit.is-danger {
  background: #dc2626;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}
.co-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  color: #111111 !important;
  -webkit-text-fill-color: #111111;
}
