.form-main {
  --cet-blue: #0146ae;
  --cet-blue-dark: #0b397d;
  --cet-red: #d7272e;
  --cet-text: #20334a;
  --cet-muted: #697b91;
  --cet-line: #dfe6ef;
  box-sizing: border-box;
  width: min(940px, calc(100% - 40px));
  min-height: 46vh;
  margin: 42px auto 72px;
  color: var(--cet-text);
  font: 15px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.form-main *, .form-main *::before, .form-main *::after { box-sizing: border-box; }
.form-main button, .form-main input, .form-main select, .form-main textarea { font: inherit; }
.cet-static-form-page #rm_topnav { overflow: visible !important; }
.cet-static-form-page .attestation { display: none !important; }
.form-card { padding: 40px 52px 48px; border: 1px solid #e7ebf1; border-top: 4px solid var(--cet-blue); background: #fff; box-shadow: 0 12px 36px rgba(20, 52, 90, .07); }
.form-card-heading { padding-bottom: 25px; border-bottom: 1px solid var(--cet-line); }
.form-kicker { display: inline-block; margin-bottom: 13px; padding-left: 12px; border-left: 4px solid var(--cet-red); color: var(--cet-blue); font-size: 15px; font-weight: 700; }
.form-card h1 { margin: 0; color: #122b47; font-size: 30px; line-height: 1.45; }
.form-intro { margin: 10px 0 0; color: var(--cet-muted); font-size: 15px; line-height: 1.8; }
#cet-form[hidden] { display: none; }

.form-field { padding: 24px 0; border-bottom: 1px solid #edf0f4; }
.form-field > label,
.form-field > span,
.form-captcha > label { display: block; margin-bottom: 10px; color: #253c58; font-size: 15px; font-weight: 700; }
.required { margin-left: 4px; color: var(--cet-red); }
.form-field input:not([type=radio]):not([type=checkbox]):not([type=file]),
.form-field textarea,
.form-field select,
.form-captcha > input { display: block; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #cad5e2; border-radius: 4px; outline: none; background: #fff; color: var(--cet-text); font-size: 15px; transition: border-color .18s, box-shadow .18s; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-captcha > input:focus { border-color: var(--cet-blue); box-shadow: 0 0 0 3px rgba(1, 70, 174, .12); }
.form-field textarea { min-height: 150px; resize: vertical; line-height: 1.75; }
.form-field select { cursor: pointer; }
.form-options { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 8px 0; }
.form-options label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.form-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--cet-blue); }
.form-field input[type=file] { display: block; width: 100%; padding: 10px; border: 1px dashed #b8c9dd; border-radius: 4px; background: #f8fafc; color: #48607a; }
.form-field input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid #b8c9dd; border-radius: 3px; background: #fff; color: var(--cet-blue-dark); cursor: pointer; }
.form-help,
.form-captcha small { display: block; margin: 8px 0 0; color: var(--cet-muted); font-size: 13px; line-height: 1.6; }
.form-file-list { margin: 8px 0 0; padding-left: 20px; color: #48607a; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-captcha { padding: 26px 0 30px; }
.form-captcha-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-captcha-controls img { display: block; width: 230px; height: 80px; max-width: 100%; border: 1px solid #cbd6e3; border-radius: 4px; background: #f8fafc; object-fit: contain; }
.form-captcha-controls button { padding: 10px 15px; border: 1px solid #bdcce0; border-radius: 4px; background: #fff; color: var(--cet-blue-dark); cursor: pointer; }
.form-captcha-controls button:hover { border-color: var(--cet-blue); color: var(--cet-blue); }
.form-captcha-controls button:disabled { opacity: .55; cursor: wait; }
.form-captcha > input { width: 230px; max-width: 100%; margin-top: 13px; }
#submit-button { min-width: 180px; min-height: 48px; padding: 11px 30px; border: 0; border-radius: 4px; background: var(--cet-blue); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .18s, transform .18s; }
#submit-button:hover { background: var(--cet-blue-dark); transform: translateY(-1px); }
#submit-button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-message { min-height: 24px; margin: 18px 0 0; color: #b5262e; font-size: 15px; line-height: 1.7; }
.form-message:empty { display: none; }
.form-message.is-success { padding: 16px 18px; border-left: 4px solid #23845b; background: #f0faf5; color: #176344; }

@media (max-width: 760px) {
  .form-main { width: calc(100% - 24px); margin: 24px auto 42px; }
  .form-card { padding: 26px 22px 32px; }
  .form-card h1 { font-size: 24px; }
}

@media (max-width: 420px) {
  .form-card { padding-right: 16px; padding-left: 16px; }
  .form-captcha-controls img { width: 210px; height: 73px; }
  .form-captcha > input { width: 100%; }
  #submit-button { width: 100%; }
}
