.rbf-app {
  --rbf-ink: #15334a;
  --rbf-muted: #667b8c;
  --rbf-blue: #4f93e8;
  --rbf-blue-deep: #2877d5;
  --rbf-sky: #eaf3ff;
  --rbf-mist: #f3f7f8;
  --rbf-line: #dbe5e9;
  --rbf-white: #fff;
  --rbf-success: #1c8b68;
  --rbf-danger: #b83b45;
  width: min(100%, 960px);
  margin: 32px auto;
  color: var(--rbf-ink);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.rbf-blank-page {
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}
.rbf-blank-page .rbf-blank-main {
  display: grid;
  min-height: 100vh;
  width: 100%;
  align-items: start;
  padding: 24px;
}
.rbf-blank-page #wpadminbar { display: none !important; }

.rbf-app *, .rbf-app *::before, .rbf-app *::after { box-sizing: border-box; }
.rbf-app button, .rbf-app input, .rbf-app select, .rbf-app textarea { font: inherit; }
.rbf-app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rbf-app [hidden] { display: none !important; }

.rbf-heading { margin: 0 0 24px; }
.rbf-heading-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 7px; }
.rbf-heading-top .rbf-eyebrow { margin-bottom: 0; }
.rbf-language-switcher { display: inline-flex; padding: 3px; border: 1px solid var(--rbf-line); border-radius: 9px; background: var(--rbf-mist); }
.rbf-language-switcher button { min-width: 38px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--rbf-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.rbf-language-switcher button:hover { color: var(--rbf-blue-deep); }
.rbf-language-switcher button.is-active, .rbf-language-switcher button[aria-pressed="true"] { background: var(--rbf-white); color: var(--rbf-blue-deep); box-shadow: 0 1px 5px rgba(21, 51, 74, .12); }
.rbf-eyebrow, .rbf-step-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--rbf-blue-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rbf-heading h2 { margin: 0; color: var(--rbf-ink); font-size: clamp(30px, 5vw, 46px); font-weight: 680; letter-spacing: -.035em; line-height: 1.05; }
.rbf-heading p { margin: 9px 0 0; color: var(--rbf-muted); font-size: 17px; }

.rbf-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 50px);
  border: 1px solid #e2eaed;
  border-radius: 22px;
  background: var(--rbf-mist);
  box-shadow: 0 20px 60px rgba(25, 52, 72, .09);
}
.rbf-shell::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rbf-blue-deep), #75b7f0 55%, #b9dcf6);
  content: "";
}

.rbf-progress { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 42px; padding: 0; list-style: none; }
.rbf-progress li { position: relative; display: grid; justify-items: center; gap: 8px; color: #8796a0; font-size: 13px; font-weight: 650; font-style: normal; }
.rbf-progress li:not(:last-child)::after { position: absolute; z-index: 0; top: 14px; left: calc(50% + 20px); width: calc(100% - 40px); height: 2px; background: #d5dfe3; content: ""; }
.rbf-progress li.is-complete:not(:last-child)::after { background: var(--rbf-blue); }
.rbf-progress span { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #d5dfe3; border-radius: 50%; background: var(--rbf-mist); }
.rbf-progress b { font-size: 12px; font-weight: 750; }
.rbf-progress em { font-style: normal; }
.rbf-progress .is-current { color: var(--rbf-blue-deep); }
.rbf-progress .is-current span { border-color: var(--rbf-blue); background: var(--rbf-white); box-shadow: 0 0 0 5px rgba(79, 147, 232, .12); }
.rbf-progress .is-complete { color: var(--rbf-ink); }
.rbf-progress .is-complete span { border-color: var(--rbf-blue); background: var(--rbf-blue); color: #fff; }
.rbf-progress .is-complete b { font-size: 0; }
.rbf-progress .is-complete b::after { font-size: 14px; content: "✓"; }

.rbf-step { animation: rbf-in .35s ease both; }
.rbf-step-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.rbf-step-heading h3, .rbf-success-heading h3 { margin: 0; color: var(--rbf-ink); font-size: clamp(23px, 3vw, 30px); font-weight: 680; letter-spacing: -.025em; line-height: 1.15; }
.rbf-step-heading h3:focus, .rbf-success-heading h3:focus { outline: none; }
.rbf-step-kicker { margin-bottom: 5px; color: var(--rbf-muted); }

.rbf-week-nav { display: flex; gap: 8px; }
.rbf-week-nav button { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid var(--rbf-line); border-radius: 9px; background: var(--rbf-white); color: var(--rbf-ink); cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.rbf-week-nav button:hover:not(:disabled) { border-color: var(--rbf-blue); color: var(--rbf-blue-deep); transform: translateY(-1px); }
.rbf-week-nav button:disabled { opacity: .35; cursor: not-allowed; }

.rbf-agenda-card, .rbf-details-card { padding: clamp(20px, 4vw, 34px); border: 1px solid #e2e9ec; border-radius: 16px; background: var(--rbf-white); box-shadow: 0 10px 26px rgba(22, 50, 70, .07); }
.rbf-week-caption { margin-bottom: 20px; font-size: 15px; font-weight: 720; }
.rbf-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.rbf-day { min-width: 0; padding: 14px 5px 12px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--rbf-ink); text-align: center; cursor: pointer; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.rbf-day span { display: block; overflow: hidden; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; }
.rbf-day strong { display: block; margin: 3px 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.2; }
.rbf-day small { display: block; overflow: hidden; color: var(--rbf-success); font-size: 10px; text-overflow: ellipsis; }
.rbf-day:hover:not(:disabled) { border-color: #b8d5f5; background: var(--rbf-sky); transform: translateY(-2px); }
.rbf-day.is-selected { border-color: var(--rbf-blue); background: var(--rbf-blue); color: #fff; box-shadow: 0 7px 18px rgba(55, 130, 216, .23); }
.rbf-day.is-selected small { color: #fff; opacity: .82; }
.rbf-day:disabled { color: #aeb9bf; cursor: not-allowed; }
.rbf-day:disabled small { color: #aeb9bf; }
.rbf-day.is-today:not(.is-selected) { border-color: #bdd6ef; }
.rbf-day-skeleton { height: 82px; border-radius: 11px; background: linear-gradient(100deg, #f0f3f4 20%, #f8fafa 40%, #f0f3f4 60%); background-size: 200% 100%; animation: rbf-shimmer 1.2s infinite; }

.rbf-slot-section { margin-top: 26px; padding-top: 25px; border-top: 1px solid var(--rbf-line); }
.rbf-slot-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.rbf-slot-heading h4 { margin: 0; color: var(--rbf-ink); font-size: 16px; font-weight: 700; }
.rbf-slot-heading span { color: var(--rbf-muted); font-size: 13px; }
.rbf-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 50px; }
.rbf-slot { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; border: 1px solid #9fc7f4; border-radius: 8px; background: #fff; color: var(--rbf-blue-deep); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.rbf-slot strong { font-size: 13px; font-weight: 680; }
.rbf-slot small { font-size: 10px; opacity: .75; }
.rbf-slot:hover, .rbf-slot.is-selected { border-color: var(--rbf-blue-deep); background: var(--rbf-blue-deep); color: #fff; transform: translateY(-1px); }
.rbf-slot-empty { grid-column: 1 / -1; display: flex; min-height: 62px; align-items: center; justify-content: center; gap: 10px; color: var(--rbf-muted); font-size: 14px; text-align: center; }

.rbf-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.rbf-actions-end { justify-content: flex-end; }
.rbf-button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.rbf-button-primary { background: var(--rbf-blue-deep); color: #fff; box-shadow: 0 8px 18px rgba(40, 119, 213, .18); }
.rbf-button-primary:hover:not(:disabled) { background: #1e68bd; color: #fff; transform: translateY(-1px); box-shadow: 0 11px 22px rgba(40, 119, 213, .24); }
.rbf-button:disabled { opacity: .46; cursor: not-allowed; box-shadow: none; }
.rbf-button-quiet { padding-inline: 8px; background: transparent; color: var(--rbf-muted); }
.rbf-button-quiet:hover { color: var(--rbf-blue-deep); }

.rbf-choice-pill { flex: 0 0 auto; padding: 8px 12px; border-radius: 99px; background: var(--rbf-sky); color: var(--rbf-blue-deep); font-size: 13px; font-weight: 700; }
.rbf-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.rbf-field { min-width: 0; }
.rbf-field-full { grid-column: 1 / -1; }
.rbf-field > label:first-child { display: block; margin: 0 0 7px; color: var(--rbf-ink); font-size: 13px; font-weight: 700; }
.rbf-field > label span { color: var(--rbf-danger); }
.rbf-field > label small { color: var(--rbf-muted); font-size: 11px; font-weight: 500; }
.rbf-field input:not([type="checkbox"]):not([type="file"]), .rbf-field select, .rbf-field textarea { width: 100%; margin: 0; padding: 11px 13px; border: 1px solid #cfdadd; border-radius: 8px; outline: none; background: #fff; color: var(--rbf-ink); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.rbf-field input:not([type="checkbox"]):not([type="file"]), .rbf-field select { min-height: 46px; }
.rbf-field textarea { resize: vertical; }
.rbf-field input:focus, .rbf-field select:focus, .rbf-field textarea:focus { border-color: var(--rbf-blue); box-shadow: 0 0 0 3px rgba(79, 147, 232, .14); }
.rbf-field.has-error input, .rbf-field.has-error select, .rbf-field.has-error textarea { border-color: var(--rbf-danger); }
.rbf-field-error { display: block; min-height: 0; margin-top: 4px; color: var(--rbf-danger); font-size: 12px; }
.rbf-field-error:empty { display: none; }
.rbf-checkbox { display: flex !important; min-height: 46px; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #cfdadd; border-radius: 8px; font-weight: 500 !important; }
.rbf-checkbox input { width: 18px; height: 18px; margin: 0; accent-color: var(--rbf-blue-deep); }

.rbf-upload { display: grid !important; grid-template-columns: auto 1fr auto; min-height: 104px; align-items: center; gap: 14px; margin: 0 !important; padding: 19px; border: 1.5px dashed #8ebcf1; border-radius: 10px; background: #f5f9ff; color: var(--rbf-muted) !important; cursor: pointer; }
.rbf-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.rbf-upload-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--rbf-sky); color: var(--rbf-blue-deep); }
.rbf-upload > span:nth-of-type(2) { display: grid; gap: 2px; }
.rbf-upload strong { color: var(--rbf-blue-deep); font-size: 14px; }
.rbf-upload small { font-size: 11px; font-weight: 500; }
.rbf-upload em { overflow: hidden; max-width: 190px; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.rbf-upload.has-file { border-style: solid; border-color: var(--rbf-success); background: #f2fbf7; }
.rbf-privacy-note { display: flex; align-items: center; gap: 7px; margin: 22px 0 0; color: var(--rbf-muted); font-size: 12px; }
.rbf-privacy-note svg { width: 15px; height: 15px; }
.rbf-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.rbf-live-notice { margin: -18px 0 24px; padding: 12px 15px; border: 1px solid #b9d6f5; border-radius: 9px; background: var(--rbf-sky); color: var(--rbf-blue-deep); font-size: 14px; }
.rbf-live-notice.is-error { border-color: #efc4c8; background: #fff3f4; color: #96313a; }
.rbf-spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #c6d8e8; border-top-color: var(--rbf-blue-deep); border-radius: 50%; animation: rbf-spin .7s linear infinite; }
.rbf-button.is-loading::after { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; content: ""; animation: rbf-spin .7s linear infinite; }
.rbf-button.is-loading svg { display: none; }

.rbf-success-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 23px; }
.rbf-success-heading p { margin: 5px 0 0; color: var(--rbf-muted); }
.rbf-success-icon { display: grid; flex: 0 0 54px; height: 54px; place-items: center; border-radius: 50%; background: #dcf5ea; color: var(--rbf-success); }
.rbf-success-icon svg { width: 27px; height: 27px; stroke-width: 2.2; }
.rbf-summary-grid { display: grid; grid-template-columns: .8fr 1.45fr; gap: 16px; }
.rbf-summary-card, .rbf-location-card { overflow: hidden; min-height: 225px; border: 1px solid #e0e8eb; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(22, 50, 70, .06); }
.rbf-summary-card { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
.rbf-summary-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 12px; background: var(--rbf-ink); color: #fff; text-align: center; }
.rbf-summary-date span { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.rbf-summary-date strong { font-family: Georgia, "Times New Roman", serif; font-size: 64px; font-weight: 400; line-height: 1.05; }
.rbf-summary-date small { font-size: 12px; opacity: .75; }
.rbf-summary-facts { display: flex; flex-direction: column; justify-content: center; padding: 25px 18px; }
.rbf-summary-facts strong { margin: 2px 0 18px; color: var(--rbf-ink); font-size: 14px; }
.rbf-summary-facts strong:last-child { margin-bottom: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.rbf-summary-label { color: var(--rbf-muted); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.rbf-location-card { display: grid; grid-template-rows: auto 1fr; }
.rbf-location-copy { display: grid; gap: 3px; padding: 18px 20px 14px; }
.rbf-location-copy strong { color: var(--rbf-ink); font-size: 15px; }
.rbf-location-copy > span:last-child { color: var(--rbf-muted); font-size: 13px; }
.rbf-map-wrap { min-height: 145px; border-top: 1px solid var(--rbf-line); background: #e9eff1; }
.rbf-map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 145px; border: 0; }
.rbf-request-card { display: grid; grid-template-columns: minmax(180px, .6fr) 1.4fr; gap: 24px; margin-top: 16px; padding: 18px 21px; border: 1px solid #e0e8eb; border-radius: 12px; background: #fff; }
.rbf-request-card > div { display: grid; align-content: start; gap: 4px; }
.rbf-request-card > div strong { font-size: 14px; }
.rbf-request-card dl { display: grid; grid-template-columns: minmax(80px, .4fr) 1.6fr; gap: 5px 13px; margin: 0; font-size: 12px; }
.rbf-request-card dt { color: var(--rbf-muted); font-weight: 650; }
.rbf-request-card dd { overflow-wrap: anywhere; margin: 0; color: var(--rbf-ink); }
.rbf-contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 19px 21px; border-left: 3px solid var(--rbf-blue); border-radius: 5px 12px 12px 5px; background: #eaf2f5; }
.rbf-contact-card > div:first-child { display: grid; gap: 2px; }
.rbf-contact-card span { color: var(--rbf-muted); font-size: 12px; }
.rbf-contact-card strong { font-size: 15px; }
.rbf-contact-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.rbf-contact-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--rbf-blue-deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.rbf-contact-links svg { width: 16px; height: 16px; }
.rbf-calendar-action { display: flex; justify-content: flex-end; margin-top: 21px; }
.rbf-button-calendar { border-color: var(--rbf-ink); background: #fff; color: var(--rbf-ink); }
.rbf-button-calendar:hover { border-color: var(--rbf-blue-deep); background: var(--rbf-blue-deep); color: #fff; transform: translateY(-1px); }

.rbf-app button:focus-visible, .rbf-app a:focus-visible, .rbf-app input:focus-visible, .rbf-app select:focus-visible, .rbf-app textarea:focus-visible { outline: 3px solid rgba(79, 147, 232, .3); outline-offset: 2px; }

@keyframes rbf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rbf-spin { to { transform: rotate(360deg); } }
@keyframes rbf-shimmer { to { background-position: -200% 0; } }

@media (max-width: 720px) {
  .rbf-blank-page .rbf-blank-main { padding: 12px 8px; }
  .rbf-app { margin: 18px auto; }
  .rbf-shell { padding: 24px 15px 28px; border-radius: 16px; }
  .rbf-progress { margin-bottom: 32px; }
  .rbf-progress em { font-size: 11px; }
  .rbf-progress li:not(:last-child)::after { left: calc(50% + 17px); width: calc(100% - 34px); }
  .rbf-step-heading { align-items: flex-start; }
  .rbf-agenda-card, .rbf-details-card { padding: 18px 12px; }
  .rbf-days { gap: 3px; }
  .rbf-day { padding: 10px 2px; }
  .rbf-day span { font-size: 10px; }
  .rbf-day strong { font-size: 21px; }
  .rbf-day small { display: none; }
  .rbf-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbf-slot strong { font-size: 12px; }
  .rbf-form-grid { grid-template-columns: 1fr; }
  .rbf-field-half, .rbf-field-full { grid-column: 1; }
  .rbf-actions { align-items: stretch; flex-direction: column-reverse; }
  .rbf-actions .rbf-button { width: 100%; }
  .rbf-choice-pill { display: none; }
  .rbf-upload { grid-template-columns: auto 1fr; }
  .rbf-upload em { grid-column: 1 / -1; max-width: none; }
  .rbf-summary-grid { grid-template-columns: 1fr; }
  .rbf-summary-card { min-height: 190px; }
  .rbf-location-card { min-height: 250px; }
  .rbf-request-card { grid-template-columns: 1fr; gap: 13px; }
  .rbf-contact-card { align-items: flex-start; flex-direction: column; }
  .rbf-contact-links { justify-content: flex-start; }
  .rbf-calendar-action .rbf-button { width: 100%; }
}

@media (max-width: 420px) {
  .rbf-heading h2 { font-size: 31px; }
  .rbf-slot-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .rbf-slots { grid-template-columns: 1fr; }
  .rbf-week-nav button { width: 34px; height: 34px; }
  .rbf-summary-date strong { font-size: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .rbf-app *, .rbf-app *::before, .rbf-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
