:root {
  --rnkh-navy: #102f42;
  --rnkh-blue: #167d8d;
  --rnkh-green: #2fa84f;
  --rnkh-ink: #16303c;
  --rnkh-muted: #60727a;
  --rnkh-line: #dce6e9;
  --rnkh-soft: #eff7f8;
  --rnkh-white: #fff;
  --rnkh-gradient: linear-gradient(115deg, #2fa84f 0%, #1b96ab 52%, #167d8d 100%);
}

.rnkh-page .entry-title,
.rnkh-page .wp-block-post-title { display: none; }
.rnkh-wrap {
  box-sizing: border-box;
  width: min(920px, calc(100% - 28px));
  margin: 48px auto 72px;
  color: var(--rnkh-ink);
  font-family: inherit;
}
.rnkh-wrap *, .rnkh-wrap *::before, .rnkh-wrap *::after { box-sizing: border-box; }
.rnkh-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.rnkh-kicker, .rnkh-step-kicker {
  margin: 0 0 9px;
  color: var(--rnkh-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rnkh-intro h1, .rnkh-success h1 {
  margin: 0;
  color: var(--rnkh-navy);
  font-size: clamp(2rem, 6vw, 3.45rem);
  line-height: 1.08;
}
.rnkh-intro > p:not(.rnkh-kicker), .rnkh-success > p:not(.rnkh-kicker) {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--rnkh-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.72;
}
.rnkh-intro .rnkh-button { margin-top: 27px; }
.rnkh-button {
  appearance: none;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rnkh-button--primary { background: var(--rnkh-gradient); box-shadow: 0 12px 28px rgba(22,125,141,.2); color: #fff !important; }
.rnkh-button--primary:hover { box-shadow: 0 16px 34px rgba(22,125,141,.28); transform: translateY(-2px); }
.rnkh-button--secondary { border: 1px solid var(--rnkh-line); background: var(--rnkh-white); color: var(--rnkh-navy); }
.rnkh-button--secondary:hover { background: var(--rnkh-soft); }
.rnkh-button--text { background: transparent; color: var(--rnkh-blue); }
.rnkh-button--wide { width: 100%; }
.rnkh-wizard {
  margin-top: 38px;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--rnkh-line);
  border-radius: 26px;
  background: var(--rnkh-white);
  box-shadow: 0 22px 55px rgba(16,47,66,.1);
}
.rnkh-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rnkh-progress span { height: 6px; border-radius: 99px; background: #e6edef; transition: background .25s ease; }
.rnkh-progress span.is-active { background: var(--rnkh-gradient); }
.rnkh-stepmeta { display: flex; justify-content: space-between; gap: 14px; margin: 10px 0 30px; color: var(--rnkh-muted); font-size: .78rem; }
.rnkh-step h2, .rnkh-result h2 { margin: 0 0 8px; color: var(--rnkh-navy); font-size: clamp(1.45rem, 4vw, 2.15rem); line-height: 1.2; }
.rnkh-help { margin: 0 0 24px; color: var(--rnkh-muted); line-height: 1.6; }
.rnkh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rnkh-grid--room { grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)); }
.rnkh-field { margin: 0 0 18px; }
.rnkh-field label, .rnkh-fieldset legend {
  display: block;
  margin-bottom: 7px;
  color: var(--rnkh-navy);
  font-size: .9rem;
  font-weight: 750;
}
.rnkh-field label small, .rnkh-fieldset legend small { color: var(--rnkh-muted); font-size: .78rem; font-weight: 500; }
.rnkh-field input, .rnkh-field select, .rnkh-field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--rnkh-line);
  border-radius: 11px;
  background: var(--rnkh-white);
  color: var(--rnkh-ink);
  font: inherit;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rnkh-field textarea { min-height: 120px; resize: vertical; }
.rnkh-field input:focus, .rnkh-field select:focus, .rnkh-field textarea:focus { border-color: var(--rnkh-blue); box-shadow: 0 0 0 3px rgba(22,125,141,.12); outline: 0; }
.rnkh-fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.rnkh-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.rnkh-choice-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.rnkh-choice-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 24px; }
.rnkh-choice { position: relative; margin: 0; cursor: pointer; }
.rnkh-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rnkh-choice span {
  display: grid;
  min-height: 58px;
  padding: 11px;
  place-items: center;
  border: 1px solid var(--rnkh-line);
  border-radius: 13px;
  background: var(--rnkh-white);
  color: var(--rnkh-navy);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.rnkh-choice--detail span { align-content: center; min-height: 112px; padding: 16px 13px; }
.rnkh-choice--detail span strong { display: block; font-size: .96rem; }
.rnkh-choice--detail span small { display: block; margin-top: 5px; color: var(--rnkh-muted); font-size: .75rem; font-weight: 500; line-height: 1.42; }
.rnkh-choice input:checked + span { border-color: var(--rnkh-blue); background: var(--rnkh-soft); box-shadow: 0 0 0 2px rgba(22,125,141,.12); }
.rnkh-choice input:checked + span small { color: var(--rnkh-ink); }
.rnkh-choice input:focus-visible + span { outline: 3px solid rgba(22,125,141,.25); outline-offset: 2px; }
.rnkh-extra-room { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--rnkh-line); }
.rnkh-extra-room h3 { margin: 0 0 15px; color: var(--rnkh-navy); font-size: 1.05rem; }
.rnkh-upload { padding: 18px; border: 1px dashed rgba(22,125,141,.4); border-radius: 14px; background: var(--rnkh-soft); }
.rnkh-upload input { min-height: auto; padding: 5px 0; border: 0; background: transparent; }
.rnkh-upload > small { display: block; margin-top: 7px; color: var(--rnkh-muted); line-height: 1.5; }
.rnkh-large-project { padding: 20px; border: 1px solid var(--rnkh-line); border-radius: 15px; background: var(--rnkh-soft); }
.rnkh-note { margin: 2px 0 0; padding: 14px 16px; border-left: 4px solid var(--rnkh-blue); border-radius: 0 9px 9px 0; background: var(--rnkh-white); color: var(--rnkh-muted); font-size: .88rem; line-height: 1.58; }
.rnkh-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.rnkh-actions--end { justify-content: flex-end; }
.rnkh-inline-error, .rnkh-message { padding: 12px 14px; border-radius: 11px; font-size: .88rem; }
.rnkh-inline-error, .rnkh-message--error { border: 1px solid #efb5aa; background: #fff0ed; color: #8a2d20; }
.rnkh-message { max-width: 760px; margin: 24px auto 0; }
.rnkh-result-room { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rnkh-line); }
.rnkh-result-room strong { color: var(--rnkh-navy); text-align: right; }
.rnkh-summary { margin: 12px 0 0; }
.rnkh-summary div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--rnkh-line); }
.rnkh-summary dt { color: var(--rnkh-muted); }
.rnkh-summary dd { margin: 0; color: var(--rnkh-navy); font-weight: 800; text-align: right; }
.rnkh-disclaimer { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--rnkh-blue); border-radius: 0 10px 10px 0; background: var(--rnkh-soft); color: var(--rnkh-muted); line-height: 1.62; }
.rnkh-result .rnkh-button + .rnkh-button { margin-top: 7px; }
.rnkh-privacy { margin: 10px 0 0; color: var(--rnkh-muted); font-size: .75rem; line-height: 1.5; text-align: center; }
.rnkh-privacy a { color: var(--rnkh-blue); }
.rnkh-success { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 54px); border: 1px solid var(--rnkh-line); border-radius: 26px; background: var(--rnkh-white); box-shadow: 0 22px 55px rgba(16,47,66,.1); text-align: center; }
.rnkh-success__icon { display: grid; width: 64px; height: 64px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: var(--rnkh-gradient); box-shadow: 0 12px 28px rgba(22,125,141,.2); color: #fff; font-size: 2rem; font-weight: 800; }
.rnkh-success .rnkh-button { display: inline-block; margin-top: 27px; }
.rnkh-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 760px) {
  .rnkh-wrap { margin-top: 30px; }
  .rnkh-wizard { border-radius: 18px; }
  .rnkh-grid--room { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rnkh-field--type { grid-column: 1 / -1; }
	.rnkh-choice-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .rnkh-grid, .rnkh-grid--room { grid-template-columns: 1fr; gap: 0; }
  .rnkh-field--type { grid-column: auto; }
  .rnkh-choice-grid { grid-template-columns: 1fr; }
  .rnkh-choice-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rnkh-choice-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rnkh-stepmeta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .rnkh-actions .rnkh-button { flex: 1; }
  .rnkh-result-room, .rnkh-summary div { align-items: flex-start; }
}
