.ihk-form-wrap {
  --ihk-bg: #ffffff;
  --ihk-ink: #123347;
  --ihk-muted: #617b8b;
  --ihk-line: #d8e2e9;
  --ihk-line-strong: #b7c8d3;
  --ihk-blue: #1398df;
  --ihk-blue-dark: #0a3a51;
  --ihk-pink: #e243b8;
  --ihk-pink-soft: #fde8f7;
  --ihk-top: #08364b;
  --ihk-top-2: #072e41;
  color: var(--ihk-ink);
  background: var(--ihk-bg);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.ihk-form-wrap * { box-sizing: border-box; }
.ihk-hero h1,
.ihk-form-wrap h2,
.ihk-form-wrap h3,
.ihk-form-wrap legend,
.ihk-form-wrap .ihk-kicker {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-hero { margin-bottom: 24px; }
.ihk-kicker { margin: 0; color: var(--ihk-pink); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; font-size: 1.12rem; }
.ihk-hero h1 { margin: 8px 0 0; color: var(--ihk-blue); font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .95; font-weight: 800; }
.ihk-lead { margin: 14px 0 0; max-width: 820px; color: var(--ihk-blue-dark); font-size: clamp(1rem, 1.9vw, 1.45rem); line-height: 1.3; font-weight: 600; }

.ihk-grid { display: grid; grid-template-columns: 290px 1fr; gap: 18px; }
.ihk-mini-panel,
.ihk-form {
  background: #fff;
  border: 1px solid var(--ihk-line);
  box-shadow: 0 20px 52px rgba(8, 42, 61, 0.08);
}

.ihk-mini-panel { align-self: start; position: sticky; top: 80px; padding: 18px; }
.ihk-mini-panel h2 { margin: 0; color: var(--ihk-blue); font-size: 2rem; line-height: 1; }
.ihk-mini-panel p { margin: 8px 0 14px; color: #39576a; font-size: 1.05rem; }
.ihk-mini-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ihk-mini-panel li { display: flex; align-items: center; gap: 9px; color: #244a62; font-size: 1.25rem; font-weight: 600; }
.ihk-mini-panel li span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ihk-blue), #45b5eb);
}

.ihk-state-box {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #e7edf2;
  background: linear-gradient(180deg, #fbfdff, #f6fbff);
  display: grid;
  gap: 6px;
}
.ihk-state-box strong { font-size: 1.25rem; font-weight: 700; color: #254c63; line-height: 1; }

.ihk-form {
  padding: 16px;
  border-top: 4px solid var(--ihk-pink);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ihk-form .full { grid-column: 1 / -1; }

.ihk-section-head { display: flex; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #e7eef3; }
.ihk-section-head h3 { margin: 0; color: #0f3e57; font-size: 1.7rem; line-height: 1; font-weight: 700; }

.ihk-choice {
  border: 1px solid var(--ihk-line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ihk-choice legend { padding: 0 6px; color: #305266; font-weight: 700; font-size: 1.3rem; }
.ihk-choice label { display: inline-flex; align-items: center; gap: 7px; color: #214b63; font-weight: 600; font-size: 1.2rem; }
.ihk-choice input[type="radio"] { accent-color: var(--ihk-pink); width: 16px; height: 16px; }

.ihk-dyn {
  border: 1px solid #e7edf2;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  display: grid;
  gap: 12px;
}

.ihk-recipient-box {
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfeff, #f7fbfe);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.ihk-recipient-head {
  display: grid;
  gap: 4px;
}

.ihk-recipient-head strong {
  color: #0f3e57;
  font: 700 1.4rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-recipient-head span {
  color: #4a6a7f;
  font-size: .96rem;
  line-height: 1.45;
}

.ihk-recipient-toggles {
  display: grid;
  gap: 10px;
}

.ihk-checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #214b63;
  font: 700 1.08rem/1.25 "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-checkline input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ihk-pink);
}

.ihk-grid-2, .ihk-grid-3, .ihk-grid-4 { display: grid; gap: 12px; }
.ihk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ihk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ihk-grid-4 { grid-template-columns: 2fr 1.35fr 1fr 1.65fr; }

.ihk-field {
  display: grid;
  gap: 7px;
  color: #35576b;
  font-weight: 600;
  font-size: 1.15rem;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-form input:not([type="checkbox"]):not([type="radio"]),
.ihk-form select,
.ihk-form textarea {
  width: 100%;
  border: 1.5px solid var(--ihk-line-strong) !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  padding: 12px 14px;
  min-height: 50px;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.ihk-form textarea { resize: vertical; min-height: 120px; }
.ihk-form select { padding-right: 36px; background-clip: padding-box; }

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]),
.ihk-form select:required,
.ihk-form textarea:required {
  border-color: #f2b24a !important;
  box-shadow: inset 3px 0 0 #f2b24a;
}

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]):invalid,
.ihk-form select:required:invalid,
.ihk-form textarea:required:invalid {
  border-color: #d54b4b !important;
  box-shadow: inset 3px 0 0 #d54b4b;
}

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]):valid,
.ihk-form select:required:valid,
.ihk-form textarea:required:valid {
  border-color: #239a59 !important;
  box-shadow: inset 3px 0 0 #239a59;
}

.ihk-note {
  margin: 4px 0;
  padding: 10px 12px;
  border-left: 4px solid var(--ihk-pink);
  background: var(--ihk-pink-soft);
  color: #6b4a63;
}

.ihk-validation-box {
  border-color: #bfe0f3;
  background: linear-gradient(180deg, #fafdff, #f5fbff);
}

.ihk-validation-lead {
  margin: 0;
  color: #35576b;
  font-size: 1rem;
  line-height: 1.45;
}

.ihk-validate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ihk-validation-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #cfe4f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafdff, #f3faff);
  color: #35576b;
}

.ihk-verified-card {
  border: 1px solid #d6e9da;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f7fff8);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.ihk-verified-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ihk-verified-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e7f8ed;
  color: #0c6c35;
  padding: 6px 12px;
  font: 700 .95rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ihk-verified-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ihk-verified-grid div { margin: 0; }
.ihk-verified-grid dt {
  color: #4a6a7f;
  font: 700 .95rem/1.2 "Barlow Condensed", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ihk-verified-grid dd {
  margin: 6px 0 0;
  color: #16394d;
  font-weight: 600;
}

.ihk-uploads { display: grid; gap: 10px; }
[data-upload-fields] { display: grid; gap: 10px; }
.ihk-upload-item {
  display: grid;
  gap: 7px;
  border: 1px dashed var(--ihk-upload-highlight);
  border-radius: 10px;
  background: #f8fcff;
  padding: 10px;
  box-shadow: inset 3px 0 0 var(--ihk-upload-highlight);
}
.ihk-upload-item span { color: #325266; font-weight: 600; font-size: 1.2rem; font-family: "Barlow Condensed", "Segoe UI", sans-serif; }

.ihk-btn-secondary {
  border: 1px solid var(--ihk-line-strong);
  border-radius: 8px;
  background: #fff;
  color: #0f3e57;
  font: 700 1rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
  padding: 10px 14px;
  cursor: pointer;
}

.ihk-btn-secondary:focus,
.ihk-btn-secondary:focus-visible {
  outline: none;
  border-color: var(--ihk-upload-highlight);
  box-shadow: 0 0 0 2px var(--ihk-upload-highlight);
}

.ihk-consent { display: flex; align-items: flex-start; gap: 9px; color: #355367; font-size: 1.05rem; }
.ihk-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ihk-pink); }

.ihk-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ihk-end { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ihk-end p { margin: 0; color: #4f6d7e; }

.ihk-submit-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #cfe4f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafdff, #f3faff);
  color: #16394d;
}

.ihk-submit-status-copy {
  display: grid;
  gap: 4px;
}

.ihk-submit-status-copy strong {
  color: #0f3e57;
  font: 700 1.35rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-submit-status-copy span {
  color: #45657a;
  font-size: .98rem;
  line-height: 1.45;
}

.ihk-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #cae4f2;
  border-top-color: var(--ihk-blue);
  border-right-color: var(--ihk-pink);
  animation: ihk-spin .85s linear infinite;
  flex: 0 0 24px;
}

.ihk-submit {
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  color: #fff;
  font: 700 1.55rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--ihk-blue), #42b4eb 58%, var(--ihk-pink));
  box-shadow: 0 12px 24px rgba(48, 115, 165, 0.35);
  cursor: pointer;
}

.ihk-submit:disabled,
.ihk-btn-secondary:disabled {
  opacity: .65;
  cursor: wait;
}

.ihk-response { font-weight: 600; min-height: 1.4em; }
.ihk-response.is-ok { color: #0c6c35; }
.ihk-response.is-error { color: #b31212; }
.ihk-hidden { display: none !important; }

@keyframes ihk-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .ihk-grid { grid-template-columns: 1fr; }
  .ihk-mini-panel { position: static; }
}

@media (max-width: 900px) {
  .ihk-grid-3, .ihk-grid-4, .ihk-verified-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .ihk-form, .ihk-grid-2, .ihk-grid-3, .ihk-grid-4, .ihk-verified-grid { grid-template-columns: 1fr; }
  .ihk-end, .ihk-validate-actions, .ihk-verified-head { flex-direction: column; align-items: flex-start; }
}
