/* Expert Roofers roof cost calculator. Scoped to .rc and the page sections that follow it. */
.rc-hero { padding: 26px 0 18px; background: linear-gradient(180deg, var(--er-sand) 0%, #fff 100%); }
.rc-hero .breadcrumbs { font-size: .86rem; color: var(--er-slate-500); margin-bottom: 8px; }
.rc-hero .breadcrumbs a { color: var(--er-slate-700); }
.rc-hero h1 { font-size: clamp(1.75rem, 4.2vw, 2.9rem); margin: 0 0 .3em; }
.rc-hero__lead { font-size: 1.06rem; max-width: 760px; margin: 0 0 .35em; color: var(--er-navy-ink); }
.rc-hero__meta { font-size: .9rem; color: var(--er-slate-500); margin: 0; }
.rc-hero__meta b { color: var(--er-green); font-weight: 600; }

.rc-wrap { padding: 8px 0 56px; }
.rc { --rc-h: min(700px, calc(100svh - var(--rc-hdr, 104px) - 32px)); position: relative; }
.rc-shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); height: var(--rc-h); min-height: 580px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--er-slate-100); }

/* stage */
.rc-stage { position: relative; overflow: hidden; background: #bcd3e6; min-height: 0; }
.rc-stage__poster, .rc-stage__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rc-stage__poster img { object-fit: cover; object-position: 50% 55%; }
.rc-stage__poster { transition: opacity .6s var(--ease); }
.rc-stage.is-live .rc-stage__poster { opacity: 0; pointer-events: none; }
.rc-stage__gl { position: absolute; inset: 0; }
.rc-stage__gl canvas, .rc-stage__gl svg { width: 100%; height: 100%; display: block; }
.rc-canvas { cursor: grab; }
.rc-canvas:active { cursor: grabbing; }

.rc-hud { position: absolute; inset: 0; pointer-events: none; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.rc-hud__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rc-meter { background: rgba(13, 22, 34, .82); color: #fff; border-radius: 14px; padding: 9px 14px 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.rc-meter__lbl { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #c7cfda; font-weight: 600; }
.rc-meter__val { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.15; font-variant-numeric: tabular-nums; }
.rc-meter.is-bump { animation: rcBump .5s var(--ease); }
@keyframes rcBump { 40% { transform: scale(1.05); } }
.rc-progress { width: 54px; height: 54px; flex: none; }
.rc-ring { --p: 0; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--er-terra) calc(var(--p) * 1%), rgba(255,255,255,.35) 0); display: grid; place-items: center; transition: --p .6s; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.rc-ring__txt { width: 42px; height: 42px; border-radius: 50%; background: rgba(13,22,34,.85); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.rc-chip { background: rgba(255,255,255,.92); color: var(--er-navy); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.rc-chip.is-new { animation: rcChip .55s var(--ease); background: var(--er-terra); color: #fff; }
@keyframes rcChip { from { transform: translateY(-14px) scale(.7); opacity: 0; } }
.rc-toast { position: absolute; left: 50%; bottom: 52px; transform: translate(-50%, 12px); max-width: min(92%, 440px); background: #fff; color: var(--er-navy-ink); border-radius: 12px; padding: 9px 14px; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-md); opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; text-align: center; border-left: 4px solid var(--er-green); }
.rc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.rc-drag { position: absolute; right: 14px; bottom: 14px; font-size: .74rem; color: rgba(13,22,34,.7); background: rgba(255,255,255,.75); border-radius: 999px; padding: 3px 10px; pointer-events: none; }
.rc-stage.is-svg .rc-drag { display: none; }

/* panel */
.rc-panel { position: relative; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.rc-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 0; min-height: 46px; }
.rc-back { background: none; border: 0; color: var(--er-slate-700); font: 600 .92rem var(--font-body); padding: 10px 8px 10px 0; min-height: 44px; cursor: pointer; }
.rc-back::before { content: "\2190 "; }
.rc-brand { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--er-slate-500); font-weight: 700; margin-left: auto; }
.rc-body { padding: 6px 22px 24px; flex: 1; }
.rc-q { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 4px 0 6px; outline: none; }
.rc-sub { color: var(--er-slate-500); font-size: .95rem; margin: 0 0 14px; }

.rc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.rc-tiles--5 .rc-tile:last-child { grid-column: 1 / -1; }
.rc-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rc-tile { position: relative; display: flex; align-items: center; gap: 10px; text-align: left; min-height: 60px; padding: 10px 12px; border: 2px solid var(--er-slate-100); background: #fff; border-radius: 14px; cursor: pointer; font: inherit; color: var(--er-navy-ink); transition: border-color .2s, transform .15s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.rc-tile:hover { border-color: var(--er-slate-300); box-shadow: var(--shadow-sm); }
.rc-tile:active { transform: scale(.97); }
.rc-tile:focus-visible { outline: 3px solid var(--er-terra); outline-offset: 2px; }
.rc-tile.is-on { border-color: var(--er-terra); background: var(--er-terra-soft); }
.rc-tile__t { display: flex; flex-direction: column; min-width: 0; }
.rc-tile b { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.rc-tile small { color: var(--er-slate-500); font-size: .8rem; line-height: 1.3; margin-top: 2px; }
.rc-tile--size { justify-content: center; text-align: center; }
.rc-tile--size .rc-tile__t { align-items: center; }
.rc-ico { flex: none; width: 46px; color: var(--er-navy); }
.rc-ico svg { width: 46px; height: 30px; display: block; }
.rc-sw { flex: none; width: 34px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.rc-tick { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--er-terra); transform: scale(0); transition: transform .25s var(--ease); }
.rc-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rc-tile.is-on .rc-tick { transform: scale(1); }

.rc-field { margin: 12px 0 6px; }
.rc-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.rc-input { width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid var(--er-slate-300); border-radius: 12px; font: 500 1.1rem var(--font-body); color: var(--er-navy-ink); background: #fff; }
.rc-input:focus { outline: none; border-color: var(--er-navy); box-shadow: 0 0 0 4px rgba(29,45,68,.12); }
.rc-input[aria-invalid="true"] { border-color: #c0392b; }
.rc-input.is-shake { animation: rcShake .4s; }
@keyframes rcShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
#rc-pc { text-transform: uppercase; letter-spacing: .04em; }
.rc-pcrow { display: flex; gap: 8px; }
.rc-pcrow .rc-input { flex: 1; min-width: 0; }
.rc-hint { min-height: 1.3em; margin: 6px 0 0; font-size: .88rem; color: var(--er-slate-500); }
.rc-hint.is-bad { color: #b42318; }
.rc-hint.is-good { color: var(--er-green); }
.rc-radar { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--er-slate-100); font-size: .92rem; }
.rc-radar span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--er-terra); border-right-color: transparent; animation: rcSpin .8s linear infinite; flex: none; }
.rc-radar.is-locked { background: #e7f6ef; }
.rc-radar.is-locked span { animation: none; border-color: var(--er-green); background: var(--er-green); box-shadow: 0 0 0 6px rgba(30,158,106,.18); }
@keyframes rcSpin { to { transform: rotate(360deg); } }
.rc-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rc-mini { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--er-slate-300); background: #fff; font: 600 .88rem var(--font-body); color: var(--er-navy); cursor: pointer; }
.rc-mini:hover { border-color: var(--er-navy); }

.rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 12px; border: 0; font: 700 1rem var(--font-body); cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; text-decoration: none; }
.rc-btn:active { transform: scale(.98); }
.rc-btn--primary { background: var(--er-terra); color: #fff; box-shadow: 0 8px 20px rgba(226,88,42,.28); }
.rc-btn--primary:hover { background: var(--er-terra-dark); text-decoration: none; }
.rc-btn--primary:disabled { opacity: .7; cursor: progress; }
.rc-btn--ghost { background: #fff; color: var(--er-navy); border: 2px solid var(--er-slate-300); }
.rc-btn--big { font-size: 1.08rem; min-height: 58px; }
.rc-next { width: 100%; margin-top: 16px; }
.rc-link { background: none; border: 0; color: var(--er-terra-dark); font: 600 .92rem var(--font-body); padding: 10px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rc-link--quiet { color: var(--er-slate-500); font-weight: 500; font-size: .84rem; padding: 4px 0; min-height: 0; }

.rc-seg { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.rc-seg span { font-weight: 600; font-size: .92rem; margin-right: 4px; }
.rc-seg__b { min-width: 56px; min-height: 46px; border-radius: 10px; border: 2px solid var(--er-slate-100); background: #fff; font: 700 1rem var(--font-body); cursor: pointer; color: var(--er-navy); }
.rc-seg__b.is-on { border-color: var(--er-terra); background: var(--er-terra-soft); }

.rc-extras { display: grid; gap: 8px; margin-top: 10px; }
.rc-x { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 12px; border: 2px solid var(--er-slate-100); border-radius: 14px; background: #fff; }
.rc-x__t { display: flex; flex-direction: column; }
.rc-x__t b { font-size: .96rem; }
.rc-x__t small { color: var(--er-slate-500); font-size: .8rem; }
.rc-x--tog { cursor: pointer; position: relative; }
.rc-x--tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rc-switch { flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--er-slate-300); position: relative; transition: background .2s; }
.rc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.rc-x--tog input:checked + .rc-switch { background: var(--er-green); }
.rc-x--tog input:checked + .rc-switch::after { transform: translateX(20px); }
.rc-x--tog input:focus-visible + .rc-switch { outline: 3px solid var(--er-terra); outline-offset: 2px; }
.rc-count { display: flex; align-items: center; gap: 6px; flex: none; }
.rc-count button { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--er-slate-300); background: #fff; font: 700 1.3rem var(--font-body); color: var(--er-navy); cursor: pointer; }
.rc-count output { min-width: 22px; text-align: center; font-weight: 800; font-size: 1.1rem; }

.rc-checks { list-style: none; counter-reset: c; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.rc-checks li { position: relative; padding: 10px 12px 10px 50px; border-radius: 12px; background: #f6f8fa; display: flex; flex-direction: column; animation: rcCheck .5s var(--ease) both; animation-delay: calc(.5s + var(--i) * .33s); }
.rc-checks li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--er-green); box-shadow: 0 0 0 5px rgba(30,158,106,.15); }
.rc-checks li::after { content: ""; position: absolute; left: 22px; top: 50%; margin-top: -8px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.rc-checks b { font-size: .96rem; }
.rc-checks span { font-size: .84rem; color: var(--er-slate-500); }
@keyframes rcCheck { from { opacity: 0; transform: translateX(16px) scale(.96); } }
.rc-x--verified { border-color: var(--er-green); background: #f1faf6; }
.rc-fine { font-size: .8rem; color: var(--er-slate-500); margin: 12px 0 0; line-height: 1.5; }
.rc-reverse { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; margin: 10px 0 0; font-size: .86rem; font-weight: 600; color: var(--er-green); }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-more { margin-top: 6px; font-size: .9rem; }
.rc-more summary { cursor: pointer; color: var(--er-slate-700); font-weight: 600; min-height: 44px; display: flex; align-items: center; }

.rc-lock { margin: 12px 0 4px; border-radius: 14px; overflow: hidden; border: 1px solid var(--er-slate-100); }
.rc-lock__broad { padding: 10px 14px; background: var(--er-navy); color: #fff; }
.rc-lock__broad small { display: block; font-size: .76rem; color: #c7cfda; }
.rc-lock__broad b { font: 800 1.3rem var(--font-display); }
.rc-lock__glass { position: relative; padding: 12px 14px; background: linear-gradient(135deg, #fbeae3, #f5f1ea); }
.rc-lock__glass span { display: block; font: 800 1.7rem var(--font-display); color: var(--er-navy); filter: blur(7px); user-select: none; }
.rc-lock__glass i { display: block; font-style: normal; font-size: .84rem; color: var(--er-slate-700); margin-top: 2px; }
.rc-lock__glass::after { content: ""; position: absolute; right: 14px; top: 14px; width: 22px; height: 18px; border-radius: 4px; background: var(--er-terra); box-shadow: 0 -9px 0 -3px transparent; }
.rc-lock__glass::before { content: ""; position: absolute; right: 18px; top: 4px; width: 14px; height: 14px; border: 3px solid var(--er-terra); border-bottom: 0; border-radius: 8px 8px 0 0; }
.rc-lock--tight .rc-lock__glass { padding: 8px 14px; }

/* intro */
.rc-intro__k { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--er-terra-dark); margin-bottom: 4px; }
.rc-intro h2 { font-size: clamp(1.35rem, 2.8vw, 1.8rem); margin: 0 0 8px; }
.rc-default { margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: var(--er-sand); }
.rc-default small { display: block; font-size: .82rem; color: var(--er-slate-700); }
.rc-default b { display: block; font: 800 1.5rem var(--font-display); color: var(--er-navy); }
.rc-default span { font-size: .82rem; color: var(--er-slate-500); }
.rc-intro .rc-btn { width: 100%; font-size: 1.1rem; min-height: 58px; }
.rc-trust { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; color: var(--er-slate-700); flex-wrap: wrap; }
.rc-trust__stars { color: #F5A623; letter-spacing: 1px; font-size: .95rem; }
.rc-ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; font-size: .88rem; color: var(--er-slate-700); }
.rc-ticks li::before { content: "\2713"; color: var(--er-green); font-weight: 800; margin-right: 8px; }

/* result */
.rc-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--er-green); margin: 4px 0; }
.rc-price__v { display: block; font: 900 clamp(1.7rem, 3.6vw, 2.3rem) var(--font-display); color: var(--er-navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.rc-price small { display: block; color: var(--er-slate-700); font-size: .9rem; margin-top: 4px; }
.rc-note { background: #fff7e6; border-radius: 10px; padding: 8px 12px; font-size: .86rem; margin: 10px 0; }
.rc-lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.rc-lines li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px 12px; font-size: .88rem; border-radius: 10px; background: #f6f8fa; }
.rc-lines li b { white-space: nowrap; }
.rc-lines li i { position: absolute; left: 10px; bottom: 5px; height: 4px; width: calc((100% - 20px) * var(--w) / 100); background: linear-gradient(90deg, var(--er-terra), #f5a623); border-radius: 4px; animation: rcGrow 1s var(--ease) both; transform-origin: left; }
@keyframes rcGrow { from { transform: scaleX(0); } }
.rc-fair { padding: 12px 14px; border-radius: 12px; background: #f1faf6; font-size: .9rem; border-left: 4px solid var(--er-green); }
.rc-fair b { display: block; }
.rc-h4 { font-size: 1.02rem; margin: 18px 0 8px; }
.rc-compare { display: grid; gap: 8px; }
.rc-cmp { display: grid; grid-template-columns: 34px 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--er-slate-100); font-size: .88rem; }
.rc-cmp b { font-size: .92rem; }
.rc-cmp span { font-weight: 700; white-space: nowrap; }
.rc-cmp small { grid-column: 2 / -1; color: var(--er-slate-500); font-size: .78rem; }
.rc-cmp .rc-sw { grid-row: span 2; }
.rc-cmp.is-yours { border-color: var(--er-terra); }
.rc-cmp.is-best small { color: var(--er-green); font-weight: 600; }
.rc-moves { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--er-slate-700); }
.rc-nextbox { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--er-navy); color: #fff; font-size: .9rem; }
.rc-nextbox p { margin: 4px 0 0; color: #dbe2ea; }
.rc-actions { display: grid; gap: 8px; margin-top: 14px; }

/* page sections under the tool */
.rc-answer { border-left: 5px solid var(--er-terra); background: var(--er-sand); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05rem; }
.rc-content .cost-table td:first-child { font-weight: 600; }
.rc-content h2 { margin-top: 1.4em; }
.rc-content .table-wrap { margin: 14px 0 6px; }
.rc-caption { font-size: .86rem; color: var(--er-slate-500); margin-top: 6px; }
.rc-basis { font-size: .92rem; background: var(--er-slate-100); border-radius: 10px; padding: 10px 14px; }
.rc-worked ol { padding-left: 20px; }
.rc-worked li { margin-bottom: 6px; }
.rc-form-hidden { display: none !important; }

/* mobile: scene on top, one question at a time underneath, the tool fills the screen */
@media (max-width: 860px) {
  .rc-wrap { padding: 0 0 40px; }
  .rc-wrap > .container { padding: 0; }
  .rc { --rc-h: calc(100svh - var(--rc-hdr, 104px)); }
  .rc-shell { grid-template-columns: 1fr; grid-template-rows: minmax(0, 42fr) minmax(0, 58fr); border-radius: 0; min-height: 520px; box-shadow: none; border-left: 0; border-right: 0; }
  .rc-hud { padding: 10px; }
  .rc-meter { padding: 7px 11px 8px; border-radius: 12px; }
  .rc-progress, .rc-ring { width: 46px; height: 46px; }
  .rc-ring__txt { width: 36px; height: 36px; font-size: .72rem; }
  .rc-chips { display: none; }
  .rc-toast { bottom: 10px; font-size: .84rem; }
  .rc-drag { display: none; }
  .rc-body { padding: 4px 16px 20px; }
  .rc-bar { padding: 6px 16px 0; min-height: 40px; }
  .rc-tiles { gap: 8px; }
  .rc-tile { min-height: 56px; padding: 8px 10px; }
  .rc-ico { width: 38px; } .rc-ico svg { width: 38px; height: 26px; }
  .rc-tile small { font-size: .76rem; }
  .rc-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-hero { padding: 16px 0 12px; }
  .rc-hero__lead { font-size: .98rem; }
  body.rc-inview .sticky-cta { transform: translateY(110%); }
  .rc-intro { display: flex; flex-direction: column; }
  .rc-intro .rc-sub, .rc-intro .rc-ticks { display: none; }
  .rc-intro h2 { order: 1; font-size: 1.3rem; margin-bottom: 6px; }
  .rc-intro__k { order: 0; }
  .rc-intro .rc-btn { order: 2; min-height: 54px; }
  .rc-intro .rc-default { order: 3; margin: 10px 0 0; padding: 9px 12px; }
  .rc-intro .rc-default b { font-size: 1.25rem; }
  .rc-intro .rc-trust { order: 4; margin-top: 8px; font-size: .78rem; }
  .rc-checks { gap: 6px; margin: 8px 0; }
  .rc-checks li { padding: 7px 10px 7px 46px; }
  .rc-checks span { font-size: .78rem; }
  .rc-sub { margin-bottom: 8px; font-size: .9rem; }
}
@media (max-width: 380px) {
  .rc-tile b { font-size: .9rem; }
  .rc-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rc *, .rc *::before, .rc *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}

/* fixed meter box: never resizes as the price changes */
.rc-meter.is-off { visibility: hidden; }
.rc-meter__lbl, .rc-meter__val { white-space: nowrap; }
.rc-foot[hidden], .rc-exit[hidden], .rc-reenter[hidden] { display: none !important; }
.rc-exit, .rc-reenter { margin-left: auto; min-height: 44px; padding: 8px 4px 8px 12px; background: none; border: 0; font: 600 .9rem var(--font-body); color: var(--er-slate-700); cursor: pointer; }
.rc-exit span { font-size: 1.3rem; line-height: 1; vertical-align: -2px; margin-left: 2px; }
@media (max-width: 860px) {
  .rc-meter { width: 13.4em; }
  .rc-meter__val { font-size: 1.12rem; }
}

/* phones: locked, app-like shell. Fixed to the visible viewport, scene on top, panel underneath,
   primary button pinned. Nothing outside the panel moves between steps. */
@media (max-width: 767px) {
  html.rc-lock, html.rc-lock body { overflow: hidden; overscroll-behavior: none; }
  .rc.is-locked .rc-shell { position: fixed; left: 0; right: 0; top: 0; z-index: 1300; height: 100vh; height: 100svh; height: var(--rc-vh, 100svh); min-height: 0; grid-template-rows: minmax(0, 1fr) var(--rc-ph, 60svh); border: 0; border-radius: 0; box-shadow: none; }
  .rc.is-locked .rc-panel { overflow: hidden; display: flex; flex-direction: column; }
  .rc.is-locked .rc-bar { flex: none; height: 44px; min-height: 0; padding: 0 16px; border-bottom: 1px solid var(--er-slate-100); }
  .rc.is-locked .rc-brand { display: none; }
  .rc.is-locked .rc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 10px 16px 14px; }
  .rc.is-locked .rc-foot { display: flex; align-items: center; flex: none; height: calc(74px + env(safe-area-inset-bottom)); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--er-slate-100); background: #fff; }
  .rc.is-locked .rc-foot .rc-next { margin: 0; width: 100%; min-height: 54px; }
  .rc-foot__hint { margin: 0; width: 100%; text-align: center; color: var(--er-slate-500); font-size: .88rem; }
  .rc.is-locked .rc-body.is-swap { animation: rcSwap .22s var(--ease) both; }
  @keyframes rcSwap { from { opacity: 0; transform: translateX(12px); } }
  .rc.is-locked .rc-chips { display: flex; flex-wrap: nowrap; height: 26px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); pointer-events: auto; }
  .rc.is-locked .rc-chips::-webkit-scrollbar { display: none; }
  .rc.is-locked .rc-chip { flex: none; }
  .rc.is-locked .rc-toast { bottom: 44px; }
  .rc.is-locked .rc-hint { min-height: 1.35em; }
  .rc.is-locked .rc-input { font-size: 16px; }
  .rc.is-kb .rc-chips, .rc.is-kb .rc-progress { visibility: hidden; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .rc.is-locked .rc-body.is-swap { animation: none; }
}
/* the postcode check line keeps its space, so nothing jumps when the result comes back */
.rc-radar[hidden] { display: flex !important; visibility: hidden; }
.rc-radar { min-height: 3.6em; box-sizing: border-box; }
.rc-radar b { line-height: 1.3; font-weight: 600; }
.rc-radar { align-items: flex-start; }
