.fca-shell {
  --fca-red: #c9141d;
  --fca-red-dark: #9f0f16;
  --fca-ink: #111820;
  --fca-muted: #5c6470;
  --fca-border: #e4e7eb;
  --fca-soft: #fff5f5;
  width: 100%;
  max-width: 880px;
  margin: 48px auto;
  padding: 0 18px;
  box-sizing: border-box;
}

.fca-shell *,
.fca-shell *::before,
.fca-shell *::after {
  box-sizing: border-box;
}

.fca-card {
  background: #fff;
  border: 1px solid var(--fca-border);
  border-top: 4px solid var(--fca-red);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(17, 24, 32, 0.09);
  padding: clamp(24px, 5vw, 42px);
}

.fca-card--narrow {
  max-width: 570px;
  margin-inline: auto;
}

.fca-card h2 {
  color: var(--fca-ink);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 10px;
}

.fca-intro,
.fca-meta,
.fca-form small {
  color: var(--fca-muted);
}

.fca-intro {
  margin: 0 0 25px;
}

.fca-form p {
  margin: 0 0 18px;
}

.fca-form label:not(.fca-check) {
  color: var(--fca-ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}

.fca-form input[type="text"],
.fca-form input[type="email"],
.fca-form input[type="password"] {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  color: var(--fca-ink);
  font: inherit;
  min-height: 48px;
  padding: 10px 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.fca-form input:focus {
  border-color: var(--fca-red);
  box-shadow: 0 0 0 3px rgba(201, 20, 29, 0.13);
  outline: none;
}

.fca-form input[readonly] {
  background: #f6f7f8;
  color: #666;
}

.fca-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fca-check {
  align-items: center;
  color: var(--fca-muted);
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
}

.fca-button,
.fca-link-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  text-decoration: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fca-button {
  background: var(--fca-red);
  border: 1px solid var(--fca-red);
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.fca-button:hover,
.fca-button:focus {
  background: var(--fca-red-dark);
  border-color: var(--fca-red-dark);
  transform: translateY(-1px);
}

.fca-button--inline {
  width: auto;
}

.fca-link-button {
  background: #fff;
  border: 1px solid #cfd4da;
  color: var(--fca-ink) !important;
}

.fca-link-button:hover,
.fca-link-button:focus {
  border-color: var(--fca-red);
  color: var(--fca-red) !important;
}

.fca-links,
.fca-community-links,
.fca-account-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.fca-links {
  border-top: 1px solid var(--fca-border);
  margin-top: 24px;
  padding-top: 18px;
}

.fca-community-links {
  background: var(--fca-soft);
  border-radius: 10px;
  justify-content: flex-start;
  margin: 24px 0;
  padding: 15px;
}

.fca-account-head {
  align-items: flex-start;
}

.fca-meta {
  font-size: 14px;
  margin: 20px 0 0;
  text-align: center;
}

.fca-notice {
  border: 1px solid transparent;
  border-radius: 8px;
  margin: 0 0 20px;
  padding: 13px 15px;
}

.fca-notice--success {
  background: #edf9f0;
  border-color: #a8d9b2;
  color: #185d28;
}

.fca-notice--error {
  background: #fff0f0;
  border-color: #efb1b1;
  color: #8c161b;
}

.fca-notice--info {
  background: #f0f6ff;
  border-color: #b7d1f4;
  color: #174d86;
}

.fca-hp {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

@media (max-width: 640px) {
  .fca-shell {
    margin: 28px auto;
    padding: 0 12px;
  }

  .fca-card {
    border-radius: 10px;
    padding: 22px 18px;
  }

  .fca-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fca-links,
  .fca-community-links,
  .fca-account-head {
    align-items: stretch;
    flex-direction: column;
  }

  .fca-link-button,
  .fca-button--inline {
    width: 100%;
  }
}

