:root {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  color: #181818;
  background: #fff;
  --red: #b92d24;
  --line: #e9e5e2;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 32px 0; }
button, input { font: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.skip { position: fixed; top: -100px; background: #fff; padding: 12px; z-index: 5; }
.skip:focus { top: 10px; }
.apply-layout { width: min(420px, calc(100% - 48px)); }
.collection-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.collection-brand img { display: block; }
.collection-brand span { font-size: 23px; font-weight: 600; }
.apply-intro { margin-bottom: 30px; text-align: center; }
h1 { font-size: 27px; font-weight: 600; line-height: 1.5; margin: 0; }
.application-panel { min-width: 0; }
.form-field { margin-bottom: 22px; }
label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 8px; }
input {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 1px solid #888;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff;
  color: #181818;
  font-size: 16px;
}
input::placeholder { color: #737373; }
input:focus { outline: 2px solid var(--red); outline-offset: 2px; border-color: var(--red); }
input[aria-invalid=true] { border-color: var(--red); }
.field-error, .form-error { font-size: 13px; line-height: 1.6; color: #a5251e; margin: 9px 0 0; }
.form-error { margin: 0 0 16px; }
.primary {
  display: block;
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  padding: 13px 17px;
  font-size: 16px;
  font-weight: 550;
  text-align: center;
}
.primary:hover { background: #9e271f; }
.collection-purpose { font-size: 13px; line-height: 1.8; color: #555; margin: 14px 0 0; }
.application-success h1, .success-status { text-align: center; }
.success-status { font-size: 14px; line-height: 1.8; color: #555; margin: 12px 0 0; }
.application-success:focus { outline: none; }
.application-success dl { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 14px; display: grid; gap: 14px; padding: 20px 0; }
.application-success dl div { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; line-height: 1.6; }
.application-success dt { color: #666; flex: none; }
.application-success dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.text-button { display: inline-block; min-height: 44px; border: 0; background: transparent; padding: 10px 0; color: #555; font-size: 14px; }
.text-button:hover { color: var(--red); }
@media (max-width: 360px) {
  .apply-layout { width: calc(100% - 40px); }
  h1 { font-size: 25px; }
}
