/* RentBloomington. Mobile first; controls at least 44px; nothing wider than the screen. */
/* Every color is a token here, so a theme can restyle it (on :root: the photo viewer is outside .rb). */
:root {
	--rb-ink: #1f1f1f;
	--rb-soft: #4a4a4a;
	--rb-line: #d9d9d6;
	--rb-paper: #ffffff;
	--rb-tint: #f5f3ef;
	--rb-accent: #990000;
	--rb-accent-dark: #7a0000;
	--rb-ok: #1f6b3a;
	--rb-bad: #9c2b1c;
	--rb-focus: #990000;
	--rb-warn: #8a5a00;
	--rb-warn-bg: #fff8e6;
	--rb-ok-bg: #eef7f0;
	--rb-bad-bg: #fdf0ee;
	--rb-mark: #fff1a8;
	--rb-font: inherit;
	--rb-radius: 12px;
	--rb-pill-radius: 999px;
	--rb-on-dark: #ffffff;
	--rb-on-dark-soft: #e6e6e6;
	--rb-ink-2: #3a3a3a;
	--rb-line-soft: #e5e5e5;
	--rb-field-line: #8a8173;
	--rb-paper-warm: #fffdf5;
	--rb-eyebrow: #a31f10;
	--rb-pending: #7a4a00;
	--rb-warn-line: #b7791f;
	--rb-bad-dark: #7a2016;
	--rb-danger: #b3261e;
	--rb-danger-bg: #fff4f2;
	--rb-danger-ink: #8a1a13;
	--rb-pin: #ffffff;
	--rb-pin-ink: #1f1f1f;
	--rb-shadow: 0 2px 14px rgba(0, 0, 0, .07);
	--rb-shadow-hi: 0 8px 26px rgba(0, 0, 0, .12);
}
.rb {
	font-family: var(--rb-font);
	box-sizing: border-box;
	width: 100%;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1rem 16px 3rem;
	color: var(--rb-ink);
	font-size: 1.0625rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.rb *, .rb *::before, .rb *::after { box-sizing: border-box; }
.rb-narrow { max-width: 44rem; }
.rb.alignwide { max-width: var(--wp--style--global--wide-size, 75rem); }
.rb-item { padding-left: 0; padding-right: 0; }
.rb h1 { font-size: 1.9rem; line-height: 1.15; margin: 0 0 .5rem; }
.rb h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 .6rem; }
.rb a { color: var(--rb-accent); }
.rb :focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb p { margin: 0 0 .8rem; }
.rb-small, .rb-hint { font-size: .9rem; color: var(--rb-soft); }
.rb-hint { display: block; font-weight: 400; margin-top: .25rem; }
.rb-lead { font-size: 1.15rem; color: var(--rb-soft); max-width: 40rem; }
.rb-eyebrow { color: var(--rb-eyebrow); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .35rem; }
.rb-hero { margin: 0 0 1.25rem; }
.rb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.15rem; font: inherit; font-weight: 600; text-decoration: none; color: var(--rb-accent); background: var(--rb-paper); border: 2px solid var(--rb-accent); border-radius: 999px; cursor: pointer; }
.rb-btn:hover { background: var(--rb-tint); }
.rb-btn-main { color: var(--rb-on-dark) !important; background: var(--rb-accent); }
.rb-btn-main:hover { background: var(--rb-accent-dark); }
.rb-btn-danger { color: var(--rb-on-dark); background: var(--rb-bad); border-color: var(--rb-bad); }
.rb-btn-danger:hover { background: var(--rb-bad-dark); }
.rb-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1rem 0; }

.rb-strip { background: var(--rb-tint); border-left: 5px solid var(--rb-accent); padding: .7rem 1rem; border-radius: 6px; font-size: .98rem; }
.rb-alert { padding: .8rem 1rem; border-radius: 8px; border: 2px solid; margin: 0 0 1rem; }
.rb-alert ul { margin: .4rem 0 0 1.1rem; padding: 0; }
.rb-alert-ok { background: var(--rb-ok-bg); border-color: var(--rb-ok); }
.rb-alert-warn { background: var(--rb-warn-bg); border-color: var(--rb-warn-line); }
.rb-alert-bad { background: var(--rb-bad-bg); border-color: var(--rb-bad); }
.rb-box { background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1rem; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.rb-box-safety { background: var(--rb-tint); }
.rb-tips { margin: 0; padding-left: 1.25rem; }
.rb-tips li { margin: 0 0 .5rem; }
.rb-cols { columns: 1; }
details.rb-box > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* Forms */
.rb-form label { display: block; font-weight: 600; margin: 0 0 .9rem; }
.rb input[type=text], .rb input[type=search], .rb input[type=email], .rb input[type=number], .rb input:not([type]), .rb select, .rb textarea, .rb input[type=file] {
	display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .55rem .7rem; font: inherit; font-weight: 400; color: var(--rb-ink); background: var(--rb-paper); border: 2px solid var(--rb-field-line); border-radius: 8px;
}
.rb textarea { min-height: 7rem; }
.rb fieldset { border: 1px solid var(--rb-line); border-radius: 12px; padding: 1rem 1.1rem .4rem; margin: 0 0 1rem; background: var(--rb-paper); }
.rb legend { font-weight: 700; padding: 0 .4rem; }
.rb .rb-check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.rb .rb-check input { width: 1.4rem; height: 1.4rem; min-height: 0; margin-top: .15rem; flex: none; accent-color: var(--rb-accent); }
.rb-radios { display: grid; gap: .5rem; margin-bottom: .9rem; }
.rb-radio { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border: 2px solid var(--rb-line); border-radius: 10px; font-weight: 400 !important; margin: 0 !important; cursor: pointer; background: var(--rb-paper); }
.rb-radio:has(input:checked) { border-color: var(--rb-accent); background: var(--rb-tint); }
.rb-radio input { width: 1.3rem; height: 1.3rem; min-height: 0; margin: .2rem 0 0; accent-color: var(--rb-accent); flex: none; }
.rb-submit { width: 100%; margin-top: .5rem; }
.rb-inline { display: inline-block; margin: 0 .5rem .5rem 0; }
.rb-inline label { margin-bottom: .5rem; }
.rb-preview { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.rb-preview img { width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 8px; border: 1px solid var(--rb-line); }
.rb-report { margin: 1.25rem 0; }
.rb-report summary { cursor: pointer; color: var(--rb-soft); min-height: 44px; display: flex; align-items: center; }

.rb-back { margin-top: 1.5rem; }
.rb-review-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .6rem; }
.rb-review-photos figure { margin: 0; }
.rb-review-photos img { width: 100%; height: auto; border-radius: 8px; }

@media (min-width: 600px) {
	.rb h1 { font-size: 2.3rem; }
	.rb-cols { columns: 2; column-gap: 2rem; }
	.rb-submit { width: auto; min-width: 16rem; }
}

/* The theme prints its own page title and a byline; our pages carry their own heading, and a listing has no public author. */
body:has(.rb) .wp-block-post-title { display: none; }
.single-rb_listing .wp-block-post-author, .single-rb_listing .wp-block-post-author-name, .single-rb_listing .wp-block-post-terms, .single-rb_listing .wp-block-post-date, .single-rb_listing .wp-block-comments, .single-rb_listing .wp-block-post-navigation-link { display: none; }
.single-rb_listing main .wp-block-post-title + .wp-block-group { display: none; }

/* ---- Photo viewer (copied from the business directory stylesheet, unchanged) ---- */

html.rb-lb-open {
	overflow: hidden;
}
.rb-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3.5rem 1rem 1rem;
	opacity: 0;
	transition: opacity 0.16s ease;
	font-family: inherit;
}
.rb-lb[hidden] {
	display: none;
}
.rb-lb.is-open {
	opacity: 1;
}
.rb-lb__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 31, 0.94);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.rb-lb__figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	max-width: min(1200px, 100%);
	max-height: 100%;
	margin: 0;
}
.rb-lb__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}
.rb-lb__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 11rem);
	max-height: calc(100dvh - 11rem);
	width: auto;
	height: auto;
	border-radius: 10px;
	background: var(--rb-ink);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
	transition: opacity 0.18s ease;
}
.rb-lb.is-loading .rb-lb__img {
	opacity: 0.25;
}
.rb-lb__cap {
	max-width: 46rem;
	padding: 0 3.5rem;
	text-align: center;
	color: var(--rb-tint);
}
.rb-lb__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.45;
	font-weight: 500;
}
.rb-lb__credit {
	margin: 0.25rem 0 0;
	font-size: 0.84rem;
	line-height: 1.4;
	color: rgba(245, 243, 239, 0.68);
}
.rb-lb__count {
	position: absolute;
	top: 1.1rem;
	left: 1.25rem;
	margin: 0;
	color: rgba(245, 243, 239, 0.8);
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}
.rb-lb__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--rb-on-dark);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.rb-lb__btn:hover {
	background: rgba(255, 255, 255, 0.24);
}
.rb-lb__btn:focus-visible {
	outline: 3px solid var(--rb-on-dark);
	outline-offset: 3px;
}
.rb-lb__btn[hidden] {
	display: none;
}
.rb-lb__close {
	top: 0.75rem;
	right: 0.9rem;
}
.rb-lb__nav {
	top: 50%;
	margin-top: -24px;
}
.rb-lb__prev {
	left: 0.9rem;
}
.rb-lb__next {
	right: 0.9rem;
}
@media (max-width: 700px) {
	.rb-lb {
		padding: 3.25rem 0.5rem 0.75rem;
	}

	.rb-lb__img {
		max-height: calc(100vh - 12.5rem);
		max-height: calc(100dvh - 12.5rem);
		border-radius: 8px;
	}

	.rb-lb__cap {
		padding: 0 0.75rem;
	}

	.rb-lb__nav {
		top: auto;
		bottom: 0.75rem;
		margin-top: 0;
		width: 44px;
		height: 44px;
	}

	.rb-lb__prev {
		left: 0.9rem;
	}

	.rb-lb__next {
		right: 0.9rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.rb-lb,
	.rb-lb__img,
	.rb-lb__btn {
		transition: none;
	}
}

/* ---- Gallery arrows and counter ---- */
.rb-gallery { position: relative; margin: 0 0 1rem; }
.rb-gallery .rb-slides { margin-bottom: 0; }
.rb-slide a { display: block; cursor: zoom-in; }
.rb-gal-btn { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 2px solid var(--rb-on-dark); border-radius: 50%; background: rgba(31, 31, 31, .78); color: var(--rb-on-dark); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.rb-gal-btn:hover { background: rgba(31, 31, 31, .95); }
.rb-gal-btn[hidden] { display: none; }
.rb-gal-btn:disabled { opacity: .3; cursor: default; }
.rb-gal-prev { left: 10px; } .rb-gal-next { right: 10px; }
.rb-gal-count { margin: .45rem 0 0; text-align: center; font-size: .9rem; color: var(--rb-soft); font-variant-numeric: tabular-nums; }

/* ---- Share ---- */
.rb-share-copy { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .8rem; }
.rb-share-copy input { flex: 1 1 14rem; min-width: 0; margin: 0 !important; font-size: .95rem; }
.rb-share-icons { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.rb-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--rb-ink); color: var(--rb-on-dark) !important; cursor: pointer; text-decoration: none; }
.rb-ico svg { width: 22px; height: 22px; fill: currentColor; }
.rb-ico:hover, .rb-ico:focus-visible { background: var(--rb-accent); }
.rb-ico[hidden] { display: none; }
.rb-ico svg.rb-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* smart fill and remember me */
.rb-ai-note { margin: .6rem 0 0; font-size: .95rem; color: var(--rb-soft); }
.rb-ai-note:empty { display: none; }
.rb-ai-hint { margin-top: .6rem; }
.rb-linkbtn { background: none; border: 0; padding: 0; margin-left: .4rem; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.rb-linkbtn:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

/* door pickup: deliberately loud */
.rb-door { border: 3px solid var(--rb-danger); background: var(--rb-danger-bg); border-radius: 14px; padding: 16px 18px; margin: 1em 0; }
.rb-door[hidden] { display: none; }
.rb-door h2, .rb-door h3 { color: var(--rb-danger-ink); margin-top: .2em; }
.rb-door .rb-door-lead { font-size: 1.08rem; }
.rb-door .rb-tips li { margin: .45em 0; }
.rb-door-check { border: 2px solid var(--rb-danger); border-radius: 10px; padding: 10px 12px; background: var(--rb-danger-bg); }

/* ---- The listing form (form.php). Colors and shapes come from the tokens on .rb, so a theme can restyle them. ---- */
.rb-listform { padding-bottom: 5rem; }
/* With the script: later steps wait for a category (the inline flag on <html> is removed again if the script never runs). */
.rb-js .rb-list:not([data-cat]) .rb-step:not([data-rb-always]) { display: none; }
.rb-step { margin: 0 0 1.25rem; padding: 1.1rem 1.1rem .6rem; background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); scroll-margin-top: 1rem; }
.rb-step[hidden] { display: none; }
.rb-step > h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin: 0 0 .9rem; }
.rb-step-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rb-accent); color: var(--rb-on-dark); font-size: .95rem; font-weight: 700; }
.rb-field { margin: 0 0 1.1rem; }
.rb-field[hidden] { display: none; }
fieldset.rb-field { border: 0; padding: 0; margin: 0 0 1.1rem; background: none; border-radius: 0; min-width: 0; }
.rb .rb-label { display: block; font-weight: 650; margin: 0 0 .2rem; padding: 0; }
.rb-opt { font-weight: 400; color: var(--rb-soft); }
.rb-opt[hidden] { display: none; }
.rb-field .rb-hint { margin: 0 0 .35rem; }
.rb-list input[type=text], .rb-list input[type=email], .rb-list input[type=tel], .rb-list input[type=url], .rb-list input[type=date], .rb-list textarea {
	display: block; width: 100%; min-height: 48px; margin: .2rem 0 0; padding: .6rem .75rem; font: inherit; font-size: max(1rem, 16px); color: var(--rb-ink); background: var(--rb-paper); border: 2px solid var(--rb-field-line); border-radius: 10px;
}
.rb-list input[type=date] { max-width: 16rem; }
.rb-list textarea { min-height: 9rem; resize: vertical; }
.rb-list input:focus-visible, .rb-list textarea:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 1px; border-color: var(--rb-ink); }
.rb-has-err input[type=text], .rb-has-err input[type=email], .rb-has-err input[type=tel], .rb-has-err input[type=url], .rb-has-err input[type=date], .rb-has-err textarea { border-color: var(--rb-bad); }
.rb-err { margin: .35rem 0 0; color: var(--rb-bad); font-weight: 600; font-size: .95rem; }
.rb-err::before { content: "! "; font-weight: 800; }
.rb-err[hidden] { display: none; }
.rb-errsum { margin: 0 0 1.25rem; padding: 1rem 1.1rem; border: 3px solid var(--rb-bad); border-radius: var(--rb-radius); background: var(--rb-bad-bg); }
.rb-errsum:focus { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-errsum h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.rb-errsum ul { margin: 0; padding-left: 1.2rem; }
.rb-errsum li { margin: .25rem 0; }
.rb-errsum a { color: var(--rb-bad); font-weight: 600; }
.rb-errsum[hidden] { display: none; }

/* Category tiles */
.rb fieldset.rb-tiles, .rb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; border: 0; padding: 0; margin: 0 0 .5rem; background: none; }
.rb-tile { position: relative; display: block; margin: 0; cursor: pointer; }
.rb-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rb-tile-body { display: flex; flex-direction: column; gap: .25rem; height: 100%; min-height: 8.5rem; padding: .8rem .7rem; border: 2px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); font-weight: 400; transition: border-color .12s, background-color .12s; }
.rb-tile-body svg { color: var(--rb-accent); }
.rb-tile-body strong { font-size: 1.02rem; line-height: 1.25; overflow-wrap: normal; word-break: normal; hyphens: auto; }
.rb-tile-body span { font-size: .88rem; line-height: 1.35; color: var(--rb-soft); }
.rb-tile:hover .rb-tile-body { border-color: var(--rb-field-line); }
.rb-tile input:checked + .rb-tile-body { border-color: var(--rb-accent); background: var(--rb-tint); box-shadow: inset 0 0 0 1px var(--rb-accent); }
.rb-tile input:focus-visible + .rb-tile-body { outline: 3px solid var(--rb-focus); outline-offset: 2px; }

/* Pills (radio and checkbox choices) and cards */
.rb-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .3rem; }
.rb-cards { display: grid; gap: .5rem; margin-top: .3rem; }
.rb-pill { position: relative; display: inline-flex; margin: 0; cursor: pointer; font-weight: 400; }
.rb-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rb-pill span { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: .45rem .95rem; border: 2px solid var(--rb-field-line); border-radius: var(--rb-pill-radius); background: var(--rb-paper); line-height: 1.2; }
.rb-cards .rb-pill span { width: 100%; justify-content: flex-start; border-radius: 10px; padding: .7rem .9rem; }
.rb-pill input:checked + span { border-color: var(--rb-accent); background: var(--rb-accent); color: var(--rb-on-dark); font-weight: 600; }
.rb-cards .rb-pill input:checked + span { background: var(--rb-tint); color: var(--rb-ink); box-shadow: inset 0 0 0 1px var(--rb-accent); }
.rb-pill input[type=checkbox]:checked + span::before { content: "✓ "; white-space: pre; }
.rb-pill input:focus-visible + span { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-pill input:disabled + span { opacity: .5; }
.rb-list .rb-check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; margin: .3rem 0; cursor: pointer; }
.rb-list .rb-check input { width: 1.5rem; height: 1.5rem; min-height: 0; margin: .1rem 0 0; flex: none; accent-color: var(--rb-accent); }
.rb-agree .rb-field { margin-bottom: .6rem; }

/* Money box with a $ in front */
.rb-money { position: relative; max-width: 14rem; }
.rb-money > span { position: absolute; left: .8rem; top: 50%; transform: translateY(-40%); color: var(--rb-soft); font-weight: 600; pointer-events: none; }
.rb-money input[type=text] { padding-left: 1.7rem; }

/* Filled for you */
.rb-filled { display: inline-block; margin-left: .5rem; padding: .05rem .55rem; border-radius: var(--rb-pill-radius); background: var(--rb-warn-bg); border: 1px solid var(--rb-warn); color: var(--rb-warn); font-size: .8rem; font-weight: 600; vertical-align: .1em; }
.rb-filled[hidden] { display: none; }
.rb-was-filled input[type=text], .rb-was-filled textarea, .rb-was-filled input[type=date] { border-color: var(--rb-warn); background: var(--rb-paper-warm); }

/* Suggestions to accept, shortcuts, notes */
.rb-offer { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin: .45rem 0 0; padding: .5rem .7rem; border-radius: 10px; background: var(--rb-tint); font-size: .95rem; }
.rb-btn-small { min-height: 44px; padding: .3rem .9rem; font-size: .95rem; }
.rb-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.rb-chips[hidden] { display: none; }
.rb-chip { min-height: 44px; padding: .3rem .85rem; font: inherit; font-size: .92rem; color: var(--rb-ink); background: var(--rb-tint); border: 1px solid var(--rb-line); border-radius: var(--rb-pill-radius); cursor: pointer; }
.rb-chip:hover { border-color: var(--rb-field-line); }
.rb-chip:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-list .rb-ai-note { margin: .4rem 0 .9rem; font-size: .95rem; color: var(--rb-ink); }
.rb-list .rb-ai-note:empty { display: none; }
.rb-fmr { margin: .45rem 0 0; font-size: .93rem; color: var(--rb-soft); }
.rb-fmr[hidden] { display: none; }
.rb-fh:empty { display: none; }
.rb-fh-note { margin: .45rem 0 0; padding: .55rem .75rem; border-left: 4px solid var(--rb-warn); background: var(--rb-warn-bg); border-radius: 0 8px 8px 0; font-size: .93rem; }
.rb-fh-note mark { background: var(--rb-mark); color: inherit; padding: 0 .15rem; }
.rb-fh-try { display: block; margin-top: .15rem; font-weight: 600; }

/* Address suggestions and the "What we found" panel (min-height keeps the page from jumping when it fills) */
.rb-combo { position: relative; }
.rb-combo-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: .2rem 0 0; padding: .25rem 0; list-style: none; background: var(--rb-paper); border: 2px solid var(--rb-ink); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.rb-combo-list[hidden] { display: none; }
.rb-combo-opt { min-height: 44px; display: flex; align-items: center; padding: .4rem .8rem; cursor: pointer; }
.rb-combo-opt:hover, .rb-combo-opt[aria-selected=true] { background: var(--rb-tint); }
.rb-panel { min-height: 7.5rem; margin: 0 0 1.1rem; padding: .85rem 1rem; border: 1px dashed var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-tint); transition: opacity .2s; }
.rb-panel.rb-busy { opacity: .55; }
.rb-panel-empty { margin: 0; color: var(--rb-soft); font-size: .95rem; }
.rb-found h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.rb-found ul { margin: .4rem 0 .5rem; padding-left: 1.1rem; }
.rb-found li { margin: .25rem 0; }
.rb-found p { margin: 0 0 .4rem; }
.rb-found-addr { font-weight: 600; }
.rb-panel:has(.rb-found-ok) { border-style: solid; border-color: var(--rb-ok); background: var(--rb-ok-bg); }
.rb-panel:has(.rb-found-bad) { border-style: solid; border-color: var(--rb-bad); background: var(--rb-bad-bg); }
.rb-panel:has(.rb-found-warn) { border-style: solid; border-color: var(--rb-warn); background: var(--rb-warn-bg); }

/* Photos */
.rb-drop { position: relative; border: 2px dashed var(--rb-field-line); border-radius: var(--rb-radius); background: var(--rb-tint); transition: border-color .12s, background-color .12s; }
.rb-drop.rb-drag { border-color: var(--rb-accent); background: var(--rb-paper); }
.rb-list .rb-drop-label { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.2rem 1rem; text-align: center; cursor: pointer; font-weight: 400; }
.rb-drop-label svg { color: var(--rb-accent); }
.rb-drop-label strong { font-size: 1.1rem; }
.rb-drop-label span { font-size: .92rem; color: var(--rb-soft); }
.rb-drop input[type=file] { display: block; width: calc(100% - 2rem); margin: 0 1rem 1rem; font: inherit; font-size: .9rem; }
.rb-js .rb-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rb-js .rb-drop:focus-within { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; list-style: none; margin: .6rem 0 0; padding: 0; }
.rb-thumbs:empty { display: none; }
.rb-thumbs-sm { grid-template-columns: repeat(2, 1fr); }
.rb-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--rb-tint); border: 1px solid var(--rb-line); }
.rb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rb-cover { position: absolute; top: 6px; left: 6px; padding: .1rem .5rem; border-radius: var(--rb-pill-radius); background: var(--rb-ink); color: var(--rb-on-dark); font-size: .78rem; font-weight: 700; }
.rb-thumb-btns { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.rb-tbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--rb-ink); cursor: pointer; }
.rb-tbtn:disabled { opacity: .35; cursor: default; }
.rb-tbtn:focus-visible { outline: 3px solid var(--rb-on-dark); outline-offset: 1px; box-shadow: 0 0 0 5px var(--rb-focus); }
.rb-tbtn-x { margin-left: auto; }
.rb-ai-hint { margin: .6rem 0 0; }
.rb-list input[type=file] { min-height: 44px; }

/* Review, progress and the completeness meter */
.rb-summary { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: var(--rb-radius); background: var(--rb-tint); }
.rb-summary[hidden] { display: none; }
.rb-summary h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.rb-summary dl { margin: 0; display: grid; gap: .35rem; }
.rb-summary dl > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; }
.rb-summary dt { font-weight: 650; color: var(--rb-soft); }
.rb-summary dd { margin: 0; }
.rb-summary .rb-miss dd { color: var(--rb-bad); font-weight: 600; }
.rb-change { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .4rem; font-size: .9rem; white-space: nowrap; }
.rb-list .rb-submit { width: 100%; min-height: 54px; font-size: 1.1rem; margin: .6rem 0 .8rem; }
.rb-list .rb-submit:disabled { opacity: .6; cursor: progress; }
.rb-bar { height: 10px; border-radius: 999px; background: var(--rb-line); overflow: hidden; }
.rb-bar span { display: block; height: 100%; width: 0; background: var(--rb-ok); transition: width .25s; }
.rb-progress { margin: 0 0 1rem; }
.rb-progress[hidden] { display: none; }
.rb-progress p { margin: .35rem 0 0; font-size: .95rem; }
.rb-meter { margin: .4rem 0 1rem; padding: .85rem 1rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); }
.rb-meter-head { display: flex; justify-content: space-between; margin: 0 0 .45rem; }
.rb-meter-list { list-style: none; margin: .6rem 0 .4rem; padding: 0; display: grid; gap: .2rem; }
.rb-meter-list li::before { content: "○"; display: inline-block; width: 1.4rem; color: var(--rb-soft); }
.rb-meter-list li.rb-done::before { content: "✓"; color: var(--rb-ok); font-weight: 800; }
.rb-meter-list li.rb-done { color: var(--rb-ok); }
.rb-thanks { padding: 1.5rem 0; }

@media (min-width: 600px) {
	.rb-tiles { grid-template-columns: repeat(3, 1fr); }
	.rb-thumbs, .rb-thumbs-sm { grid-template-columns: repeat(4, 1fr); }
	.rb-cards { grid-template-columns: 1fr 1fr; }
	.rb-list .rb-submit { width: auto; min-width: 18rem; }
	.rb-step { padding: 1.4rem 1.5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
	.rb-tile-body, .rb-bar span, .rb-panel, .rb-drop { transition: none; }
}

/* Task 5b: the owner review page flag list and edit diff, the manage page edit groups */
.rb-flags ol { margin: .4em 0 .4em 1.3em; padding: 0; }
.rb-flags li { margin: .2em 0; }
.rb-review-facts del { color: var(--rb-danger-ink); }
.rb-review-facts ins { text-decoration: none; font-weight: 600; }
#rb-edit fieldset { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; margin: 0 0 1em; }
#rb-edit legend { padding: 0 .4em; }

/* ==== Task 7: browse, map, cards and the listing page. Colors come from the tokens on .rb, so a theme can restyle them. ==== */
.rb.alignwide { padding-left: 0; padding-right: 0; }
.rb .rb-intro { color: var(--rb-soft); max-width: 44rem; }
.rb-hint-inline { font-weight: 400; color: var(--rb-soft); font-size: .9em; }
.rb input[type=date] { display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .5rem .7rem; font: inherit; color: var(--rb-ink); background: var(--rb-paper); border: 2px solid var(--rb-field-line); border-radius: 8px; }
.rb-money input[type=number] { padding-left: 1.7rem; }
.rb-btn svg { flex: none; margin-right: .4rem; }
.rb-btn-block { width: 100%; }

/* Kinds of rentals: one row that scrolls sideways on a phone */
.rb-cats ul { display: flex; gap: .5rem; list-style: none; margin: 0 0 1rem; padding: 2px 2px .4rem; overflow-x: auto; scrollbar-width: thin; }
.rb-cats a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem 1rem; white-space: nowrap; border: 2px solid var(--rb-line); border-radius: var(--rb-pill-radius); background: var(--rb-paper); color: var(--rb-ink); text-decoration: none; font-weight: 600; }
.rb-cats a:hover { border-color: var(--rb-accent); }
.rb-cats a[aria-current] { background: var(--rb-accent); border-color: var(--rb-accent); color: var(--rb-on-dark); }

/* Search box and filters */
.rb-search { margin: 0 0 .75rem; }
.rb-search-row { display: flex; gap: .5rem; }
.rb-search-row input[type=search] { flex: 1; min-width: 0; margin: 0; }
.rb-search-row .rb-btn { flex: none; }
.rb-more { margin-top: .6rem; }
.rb-more > summary { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem 1rem; border: 2px solid var(--rb-line); border-radius: var(--rb-pill-radius); background: var(--rb-paper); cursor: pointer; font-weight: 700; list-style: none; }
.rb-more > summary::-webkit-details-marker { display: none; }
.rb-more[open] > summary { border-color: var(--rb-accent); }
.rb-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: var(--rb-accent); color: var(--rb-on-dark); font-size: .85rem; }
.rb-more-grid { display: grid; grid-template-columns: 1fr; gap: .8rem 1rem; margin-top: .8rem; padding: 1rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); box-shadow: var(--rb-shadow); }
.rb-fld > label, .rb-fld > legend { display: block; font-weight: 700; font-size: .95rem; padding: 0; }
.rb-fld select, .rb-fld input { margin-top: .3rem; }
.rb-fld .rb-money { max-width: none; }
.rb fieldset.rb-fld-checks { border: 0; padding: 0; margin: 0; background: none; }
.rb-fld-checks .rb-check { margin: .45rem 0 0; }
.rb-more-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }

/* Active filters: each chip removes itself */
.rb-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: .25rem 0 1rem; padding: 0; }
.rb-chips a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .3rem .55rem .3rem .9rem; border-radius: var(--rb-pill-radius); background: var(--rb-tint); border: 1px solid var(--rb-accent); color: var(--rb-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.rb-chips a:hover { background: var(--rb-accent); color: var(--rb-on-dark); }
.rb-chips a svg { flex: none; }
.rb-chips .rb-chip-clear a { background: none; border-color: transparent; text-decoration: underline; color: var(--rb-accent); padding-right: .9rem; }

.rb-season { background: var(--rb-tint); border-left: 5px solid var(--rb-accent); padding: .75rem 1rem; border-radius: 8px; margin: 0 0 1.25rem; font-size: .98rem; }
.rb-season p { margin: 0; }

/* Results toolbar: count, sort, list or map */
.rb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin: .5rem 0 1rem; }
.rb .rb-count { font-size: 1.15rem; margin: 0; }
.rb-sort { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-size: .95rem; }
.rb-sort ul { display: flex; flex-wrap: wrap; gap: .15rem .3rem; list-style: none; margin: 0; padding: 0; }
.rb-sort a { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .55rem; border-radius: 6px; color: var(--rb-ink); }
.rb-sort a[aria-current] { font-weight: 700; background: var(--rb-tint); text-decoration: none; }
.rb-sort-label { color: var(--rb-soft); }
.rb-views { display: inline-flex; margin-left: auto; border: 2px solid var(--rb-accent); border-radius: var(--rb-pill-radius); overflow: hidden; }
.rb-view-btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .3rem .95rem; color: var(--rb-accent); text-decoration: none; font-weight: 700; background: var(--rb-paper); }
.rb-view-btn[aria-current] { background: var(--rb-accent); color: var(--rb-on-dark); }

/* The grid of cards */
.rb-grid { display: grid; grid-template-columns: 1fr; gap: 16px; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.rb-card { margin: 0; background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); overflow: hidden; box-shadow: var(--rb-shadow); }
.rb .rb-card-link { color: var(--rb-ink); }
.rb-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.rb-card-link:hover .rb-card-title { text-decoration: underline; }
.rb-card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--rb-tint); }
.rb-card-img picture, .rb-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rb-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--rb-soft); }
.rb-card-held .rb-card-img picture { opacity: .7; }
.rb-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--rb-ink); color: var(--rb-on-dark); font-size: .8rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; }
.rb-badge-pending { background: var(--rb-pending); }
.rb-badge-new { background: var(--rb-ok); }
.rb-card-body { display: flex; flex-direction: column; gap: .12rem; padding: .7rem .85rem .9rem; flex: 1; }
.rb-price { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.rb-per { font-size: .9rem; font-weight: 600; color: var(--rb-soft); margin-left: .1rem; }
.rb-card-facts { font-weight: 600; font-size: .95rem; }
.rb-card-title { display: -webkit-box; font-weight: 400; line-height: 1.3; margin: .1rem 0; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rb-meta { display: block; font-size: .88rem; color: var(--rb-soft); }
.rb-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.rb-tag { font-size: .78rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: var(--rb-tint); color: var(--rb-ink); }
.rb-tag-vouchers { background: var(--rb-ok-bg); color: var(--rb-ok); }
@media (prefers-reduced-motion: no-preference) { .rb-card { transition: transform .15s ease, box-shadow .15s ease; } .rb-card:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-hi); } }

.rb-empty { padding: 1.75rem 1.25rem; text-align: left; background: var(--rb-tint); border-radius: var(--rb-radius); margin: 0 0 1.5rem; }
.rb-empty h2 { font-size: 1.25rem; }
.rb-tips-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.rb-tips-list li { margin: .35rem 0; }
.rb-save { color: var(--rb-soft); font-size: .95rem; margin: 0; }
.rb-pager { text-align: center; margin: 1rem 0 2rem; }
.rb-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; margin: .15rem; border: 2px solid var(--rb-line); border-radius: 999px; text-decoration: none; background: var(--rb-paper); color: var(--rb-ink); }
.rb-pager .current { border-color: var(--rb-accent); background: var(--rb-tint); font-weight: 700; }
.rb-cta { margin: 1rem 0 0; padding: 1.25rem; border: 2px dashed var(--rb-line); border-radius: var(--rb-radius); text-align: center; }
.rb-cta p { margin: 0 0 .6rem; }

/* The map */
.rb-map-wrap { margin: 0 0 1rem; }
.rb-map-wrap[hidden] { display: none; }
.rb-map { height: 62vh; min-height: 320px; border-radius: var(--rb-radius); border: 1px solid var(--rb-line); background: var(--rb-tint); overflow: hidden; z-index: 0; }
.rb-map-msg { padding: 1rem; margin: .5rem 0; background: var(--rb-tint); border-radius: 8px; }
.rb-map-note { margin: .4rem 0 0; }
.rb-pin { width: 0; height: 0; }
.rb-pin span { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 8px)); display: inline-block; white-space: nowrap; padding: .2rem .55rem; border-radius: 999px; background: var(--rb-pin); color: var(--rb-pin-ink); border: 2px solid var(--rb-ink); font: 700 .88rem/1.3 system-ui, sans-serif; box-shadow: 0 2px 8px rgba(0, 0, 0, .28); cursor: pointer; }
.rb-pin span::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--rb-ink); border-bottom: 0; }
.rb-pin-multi span { background: var(--rb-tint); }
.rb-pin-held span { opacity: .8; border-style: dashed; }
.rb-pin:focus-visible span, .rb-pin-lit span, .rb-pin:hover span { background: var(--rb-accent); border-color: var(--rb-accent); color: var(--rb-on-dark); }
.rb-pin:focus-visible span::after, .rb-pin-lit span::after, .rb-pin:hover span::after { border-top-color: var(--rb-accent); }
.rb-pin:focus-visible { outline: none; }
.rb-cluster span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rb-accent); color: var(--rb-on-dark); font: 800 1rem system-ui, sans-serif; border: 3px solid var(--rb-on-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: zoom-in; }
.rb-cluster:focus-visible span { outline: 3px solid var(--rb-ink); outline-offset: 2px; }
.rb-pop { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.rb-pop li + li { border-top: 1px solid var(--rb-line-soft); }
.rb-pop a { display: flex; gap: .6rem; padding: .45rem 0; color: var(--rb-ink); text-decoration: none; font: 400 .9rem/1.3 system-ui, sans-serif; }
.rb-pop a:hover .rb-pop-t { text-decoration: underline; }
.rb-pop img, .rb-pop-noimg { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--rb-tint); }
.rb-pop strong { font-size: 1rem; }
.rb-pop small { font-weight: 600; color: var(--rb-soft); }
.rb-pop em { font-style: normal; font-size: .8rem; color: var(--rb-pending); }
.rb-pop-t, .rb-pop-m { display: block; }
.rb-pop-m { color: var(--rb-soft); font-size: .82rem; }
.rb-pop-note, .rb-pop-more { margin: .3rem 0 0; font: .8rem system-ui, sans-serif; color: var(--rb-soft); }

@media (min-width: 560px) {
	.rb-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-more-grid { grid-template-columns: repeat(2, 1fr); }
	.rb-fld-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
	.rb-fld-checks legend { width: 100%; }
}
@media (min-width: 900px) {
	.rb-grid { grid-template-columns: repeat(3, 1fr); }
	.rb-more-grid { grid-template-columns: repeat(3, 1fr); }
	.rb-show-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.25rem; align-items: start; }
	.rb-show-map .rb-map-wrap { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 1rem; margin: 0; }
	.rb-show-map .rb-map { height: calc(100vh - 6rem); max-height: 52rem; }
	.rb-show-map .rb-grid { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
	.rb-show-map .rb-pager { grid-column: 1; }
}
@media (min-width: 1180px) { .rb-browse .rb-grid { grid-template-columns: repeat(4, 1fr); } .rb-browse .rb-show-map .rb-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- One listing ---- */
.rb-item .rb-gallery { margin: 0 0 1.25rem; }
.rb-slides { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0; padding-bottom: .4rem; border-radius: var(--rb-radius); }
.rb-slide { flex: 0 0 min(100%, 46rem); margin: 0; scroll-snap-align: start; background: var(--rb-tint); border-radius: var(--rb-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.rb-slide a, .rb-slide picture, .rb-slide img { display: block; width: 100%; height: 100%; }
.rb-slide img { object-fit: cover; }
.rb-lgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; }
.rb-lhead { margin: 0 0 1rem; }
.rb-lhead h1 { margin: .4rem 0 .35rem; }
.rb-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.rb-bdg { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 999px; background: var(--rb-tint); font-size: .85rem; font-weight: 700; }
.rb-bdg-dark { background: var(--rb-ink); color: var(--rb-on-dark); }
.rb-bdg-warn { background: var(--rb-warn-bg); color: var(--rb-warn); border: 1px solid var(--rb-warn); }
.rb-bdg-ok { background: var(--rb-ok-bg); color: var(--rb-ok); border: 1px solid var(--rb-ok); }
.rb-where { display: flex; align-items: flex-start; gap: .35rem; color: var(--rb-soft); margin: 0 0 .6rem; }
.rb-where svg { flex: none; margin-top: .2rem; }
.rb-price-big { font-size: 2.1rem; font-weight: 800; line-height: 1.1; margin: 0 0 .7rem; }
.rb-price-big .rb-per { font-size: 1.05rem; }
.rb-keyfacts { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.rb-keyfacts li { padding: .3rem .75rem; border: 1px solid var(--rb-line); border-radius: 999px; background: var(--rb-paper); font-weight: 600; font-size: .95rem; }
.rb-side { margin: 0 0 1.5rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); box-shadow: var(--rb-shadow); }
.rb-side p:last-child { margin-bottom: 0; }
.rb-showing { margin: 0 0 1rem; }
.rb-showing h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-soft); margin-bottom: .4rem; }
.rb-showing-type { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin: 0 0 .3rem; }
.rb-showing-type svg { color: var(--rb-accent); flex: none; }
.rb-showing-text { margin: 0 0 .5rem; }
.rb-check-line { display: flex; gap: .35rem; align-items: flex-start; }
.rb-check-line svg { color: var(--rb-ok); flex: none; margin-top: .2rem; }
.rb-call { margin: .2rem 0 .8rem; text-align: center; }
.rb-who { margin-bottom: .5rem; }
.rb-real { display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.rb-real svg { color: var(--rb-ok); flex: none; }
.rb-sec { margin: 0 0 2rem; }
.rb-sec > h2 { font-size: 1.35rem; padding-bottom: .4rem; border-bottom: 1px solid var(--rb-line); margin-bottom: .9rem; }
.rb-desc { font-size: 1.06rem; }
.rb-details { display: grid; gap: 1rem 2rem; }
.rb-dgroup h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.rb-dgroup dl, .rb-place-list { margin: 0; }
.rb-dgroup dl > div, .rb-place-list > div { display: grid; grid-template-columns: minmax(7.5rem, 38%) 1fr; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--rb-line); }
.rb-dgroup dt, .rb-place-list dt { color: var(--rb-soft); font-weight: 600; }
.rb-dgroup dd, .rb-place-list dd { margin: 0; }
.rb-fmr { margin: .6rem 0 0; }
.rb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rb-radius); overflow: hidden; background: var(--rb-ink); }
.rb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rb-video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: var(--rb-on-dark) !important; text-decoration: none; font-weight: 700; font-size: 1.15rem; background: radial-gradient(circle at center, var(--rb-ink-2), var(--rb-ink)); }
.rb-video-play .rb-small { color: var(--rb-on-dark-soft); font-weight: 400; }
.rb-video-play:hover svg, .rb-video-play:focus-visible svg { transform: scale(1.08); }
.rb-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.rb-plan { margin: 0; border: 1px solid var(--rb-line); border-radius: 10px; overflow: hidden; background: var(--rb-paper); }
.rb-plan img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.rb-place-addr { margin-bottom: .6rem; }
.rb-bus { list-style: none; margin: 0; padding: 0; }
.rb-bus li { margin: 0 0 .35rem; }
.rb-walk { display: inline-block; min-width: 5.6rem; padding: .05rem .5rem; margin-right: .3rem; border-radius: 6px; background: var(--rb-tint); font-weight: 700; font-size: .88rem; text-align: center; }
/* Getting around (0.8.2): walk, bike and bus estimates on listing and building pages */
.rb-commute { margin: 1.1rem 0 .6rem; }
.rb-commute h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 1.05rem; margin: 0 0 .2rem; }
.rb-cm-est { padding: .1rem .55rem; border-radius: var(--rb-pill-radius); background: var(--rb-tint); color: var(--rb-soft); font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.rb-commute > .rb-small { margin: 0; }
.rb-cm-list { list-style: none; margin: .4rem 0 0; padding: 0; }
.rb-cm-list > li { padding: .5rem 0; border-bottom: 1px solid var(--rb-line); }
.rb-cm-place { display: block; font-weight: 700; }
.rb-cm-modes { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; list-style: none; margin: .15rem 0 0; padding: 0; }
.rb-cm-modes li { display: inline-flex; align-items: center; gap: .35rem; }
.rb-cm-modes svg { flex: none; color: var(--rb-soft); }
.rb-cm-how { margin-top: .4rem; }
.rb-cm-how > summary { padding: .6rem 0; cursor: pointer; font-weight: 600; }
.rb-cm-how p { margin: 0 0 .5rem; color: var(--rb-soft); font-size: .92rem; }
/* The browse "Travel time" filter: place, minutes, way of getting there */
.rb fieldset.rb-fld-near { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; background: none; }
.rb-near-row { display: grid; grid-template-columns: 1fr; gap: .5rem 1rem; }
.rb-near-row label { display: block; font-weight: 600; font-size: .92rem; }
.rb-fld-near .rb-hint { margin: .35rem 0 0; }
@media (min-width: 560px) { .rb-near-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); } }
.rb-contact { scroll-margin-top: 1rem; padding: 1.2rem; border: 2px solid var(--rb-accent); border-radius: var(--rb-radius); background: var(--rb-paper); }
.rb-contact > h2 { border: 0; padding: 0; }
.rb-never { background: var(--rb-warn-bg); border-left: 5px solid var(--rb-warn-line); border-radius: 8px; padding: .75rem 1rem; margin: 0 0 1rem; }
.rb-never p { margin: 0; }
.rb-two { display: grid; gap: 0 1rem; }
.rb-contact .rb-form > label[for=rb-msg] { margin-bottom: .2rem; }
.rb-starters ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .2rem 0 .5rem; padding: 0; }
.rb-starters .rb-small { margin: 0; }
.rb-starter { min-height: 40px; padding: .3rem .8rem; border: 1px solid var(--rb-accent); border-radius: 999px; background: var(--rb-paper); color: var(--rb-accent); font: inherit; font-size: .92rem; cursor: pointer; }
.rb-starter:hover { background: var(--rb-tint); }
.rb-starter:disabled { opacity: .55; cursor: default; }
.rb-contact textarea { margin-bottom: .9rem; }
.rb-similar { margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rb-line); }
.rb-similar h2 { font-size: 1.35rem; }

@media (min-width: 600px) { .rb-two { grid-template-columns: 1fr 1fr; } .rb-details { grid-template-columns: 1fr 1fr; } .rb-details .rb-dgroup:first-child { grid-column: 1 / -1; } }
@media (min-width: 960px) {
	.rb-lgrid { grid-template-columns: minmax(0, 1fr) 21rem; }
	.rb-lhead { grid-column: 1; grid-row: 1; }
	.rb-lmain { grid-column: 1; grid-row: 2; }
	.rb-side { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 1rem; }
	.rb-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 559px) { .rb-place-list > div { grid-template-columns: 1fr; gap: .15rem; } .rb-views { margin-left: 0; } .rb-toolbar .rb-count { width: 100%; } }

/* ---- Site pages (0.4.0): home blocks, the welcome card, the text pages and the contact form ---- */
.rb input[type=date], .rb input[type=url] { display: block; width: 100%; min-height: 44px; margin-top: .25rem; padding: .55rem .7rem; font: inherit; font-weight: 400; color: var(--rb-ink); background: var(--rb-paper); border: 2px solid var(--rb-field-line); border-radius: 8px; }
.rb.rb-home { padding: 0; max-width: none; }
.rb-opt { font-weight: 400; color: var(--rb-soft); }

/* Home search: one card; two columns on a phone, one row on a wide screen. */
.rb-hs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem .75rem; align-items: end; margin: 0; padding: 1rem; color: var(--rb-ink); background: var(--rb-paper); border-radius: 18px; box-shadow: var(--rb-shadow-hi); }
.rb-hs-f { display: flex; flex-direction: column; min-width: 0; }
.rb-hs-f label { font-weight: 700; font-size: .9rem; margin: 0 0 .25rem; }
.rb-hs-f input, .rb-hs-f select { margin-top: 0 !important; min-height: 48px; }
.rb-hs .rb-money { max-width: none; }
.rb-hs-where { grid-column: 1 / -1; }
.rb-hs-go { grid-column: 1 / -1; min-height: 52px; gap: .4rem; font-size: 1.05rem; }
@media (min-width: 820px) {
	.rb-hs { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr) auto; padding: 1.1rem 1.2rem; }
	.rb-hs-where { grid-column: auto; }
	.rb-hs-go { grid-column: auto; padding-left: 1.4rem; padding-right: 1.4rem; }
}

/* Kinds of place: tiles with live counts. */
.rb-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.rb-kind { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem; color: var(--rb-ink) !important; text-decoration: none; background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); }
.rb-kind:hover { border-color: var(--rb-accent); }
.rb-kind:hover .rb-kind-name { text-decoration: underline; }
.rb-kind-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: .35rem; color: var(--rb-accent); background: var(--rb-tint); border-radius: 14px; }
.rb-kind-name { font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.rb-kind-line { color: var(--rb-soft); font-size: .92rem; line-height: 1.35; }
.rb-kind-n { margin-top: auto; padding-top: .45rem; font-size: .88rem; font-weight: 600; color: var(--rb-accent); }
@media (min-width: 700px) { .rb-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .rb-kind { padding: 1.2rem; } }
@media (prefers-reduced-motion: no-preference) { .rb-kind { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; } .rb-kind:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-hi); } }

/* The season note on the home page: a calendar card. */
.rb-season-home { margin: 0; padding: 1.25rem 1.25rem 1.1rem; border-left-width: 6px; }
.rb-season-home h2 { margin: .15rem 0 .45rem; font-size: 1.3rem; }
.rb-season-when { font-size: .8rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rb-eyebrow); }
.rb-season-home p { margin: 0 0 .5rem; }
.rb-season-more { margin: .35rem 0 0 !important; font-weight: 600; }

.rb-home-grid { margin-bottom: 1rem; }
.rb-home-all { margin: 0; text-align: center; }

/* The welcome card while nothing is listed yet. */
.rb-first { padding: 1.5rem 1.25rem 1.25rem; text-align: center; background: var(--rb-tint); border-radius: var(--rb-radius); }
.rb-first h2, .rb-first h3 { margin: .5rem auto .5rem; max-width: 30rem; font-size: 1.35rem; line-height: 1.25; }
.rb-first p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.rb-first .rb-actions { justify-content: center; }
.rb-town { display: block; width: min(320px, 100%); height: auto; margin: 0 auto; color: var(--rb-accent); }
.rb-empty-first { padding: 0; background: none; }

/* Text pages (rules, is this real?). */
.rb-text .rb-box h2 { font-size: 1.3rem; }
.rb-text .rb-tips li { margin-bottom: .6rem; }
.rb-box-key { border: 2px solid var(--rb-accent); background: var(--rb-tint); }
.rb-big { font-size: 1.12rem; margin: 0; }

/* Contact form. */
.rb-contact-form { padding: 1.2rem; background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); }
.rb-contact-form .rb-field { margin: 0 0 1rem; }
.rb-contact-form .rb-hint { margin-top: .3rem; }
.rb-contact-form label { margin: 0; }

/* ---- "Looking for a place" (/looking/, requests.php) ---- */
.rb-looking { max-width: 46rem; }
.rq-form { padding: 1.1rem 1.1rem .4rem; }
.rq-form h2 { margin-bottom: .8rem; }
.rq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0 .9rem; }
.rq-form .rb-field label { display: block; font-weight: 600; margin: 0 0 .25rem; }
.rq-form .rb-field { margin: 0 0 .9rem; }
.rq-form .rb-field .rb-hint { margin: 0 0 .3rem; }
.rq-form .rb-money { max-width: none; }
.rq-areas ul { margin-top: .45rem; }
.rq-form textarea { min-height: 6rem; }
.rq-count { display: block; text-align: right; margin-top: .2rem; }
.rq-count[hidden] { display: none; }
.rq-count-low { color: var(--rb-warn); font-weight: 700; }
.rq-form .rb-check { margin: .2rem 0 .9rem; }
.rq-send { margin: .4rem 0 .6rem; }
.rq-list { margin-top: 2rem; }
.rq-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .2rem .9rem; margin: .6rem 0 1rem; }
.rq-filters .rb-field { margin: 0 0 .5rem; flex: 1 1 9rem; }
.rq-filters .rb-field label { display: block; font-weight: 600; margin: 0 0 .25rem; }
.rq-filters .rb-btn { margin-bottom: .5rem; }
.rq-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rq-card article { background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); padding: 1rem 1.1rem .9rem; }
.rq-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 .4rem; }
.rq-card .rq-budget { color: var(--rb-accent); }
.rq-card .rb-badges { margin: 0 0 .5rem; }
.rq-facts { display: grid; grid-template-columns: max-content 1fr; gap: .2rem .8rem; margin: 0 0 .6rem; }
.rq-facts div { display: contents; }
.rq-facts dt { font-weight: 600; color: var(--rb-soft); }
.rq-facts dd { margin: 0; }
.rq-note { border-left: 3px solid var(--rb-line); padding-left: .8rem; margin: 0 0 .6rem; }
.rq-note p { margin: 0 0 .4rem; }
.rq-when { margin: 0 0 .6rem; }
.rq-msg > summary { list-style: none; gap: .4rem; }
.rq-msg > summary::-webkit-details-marker { display: none; }
.rq-msg[open] > summary { margin-bottom: .8rem; }
.rq-msg form { border-top: 1px solid var(--rb-line); padding-top: .8rem; }
.rq-empty { margin-top: .5rem; }

/* ---- Building pages (/buildings/<address>/, buildings.php) ---- */
.rb-building .rb-place-list { margin-bottom: .8rem; }
.rb-bcta { margin-top: 1.5rem; background: var(--rb-tint); }

/* ---- Accounts (Task 10): hearts, "Save this search", the account page, company pages ---- */
.rb-card { position: relative; }
.rb-heart { position: absolute; top: .5rem; right: .5rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--rb-paper); color: var(--rb-ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .25); cursor: pointer; }
.rb-heart[hidden] { display: none; }
.rb-heart:hover { color: var(--rb-danger); }
.rb-heart[aria-pressed=true] svg, .rb-save-btn[aria-pressed=true] svg { fill: var(--rb-danger); color: var(--rb-danger); }
.rb-heart:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-heart:disabled { opacity: .7; }
.rb-lsave { margin: .25rem 0 .5rem; }
.rb-save-btn[hidden] { display: none; }
.rb-save-btn[aria-pressed=true] { background: var(--rb-danger-bg); border-color: var(--rb-danger); color: var(--rb-danger-ink); }
.rb-savesearch { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin: 0 0 1rem; padding: .75rem 1rem; border: 1px dashed var(--rb-field-line); border-radius: var(--rb-radius); background: var(--rb-paper-warm); }
.rb-savesearch p { margin: 0; }
.rb-savesearch p span { color: var(--rb-soft); }
.rb-savesearch-msg { flex-basis: 100%; font-weight: 600; }
.rb-savesearch-msg:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rb-empty .rb-savesearch { margin-top: 1rem; }
.rb-acct h1 { margin-top: 0; }
.rb-signin-wrap { display: grid; gap: 1.5rem; margin: 0 0 1rem; }
.rb-signin { padding: 1.1rem; border: 2px solid var(--rb-accent); border-radius: var(--rb-radius); background: var(--rb-paper); }
.rb-signin input[type=email] { width: 100%; min-height: 48px; font-size: max(1rem, 16px); }
.rb-signin-side h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
.rb-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.rb-perks li { display: flex; gap: .7rem; align-items: flex-start; }
.rb-perk-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--rb-tint); color: var(--rb-accent); }
.rb-checkmail h2, .rb-signin-go h1 { margin-top: 0; }
.rb-signin-go form { margin: 1rem 0; }
.rb-then { display: flex; gap: .5rem; align-items: center; }
.rb-acct-foot { margin-top: 1rem; }
.rb-acct-head { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; justify-content: space-between; margin: 0 0 1rem; }
.rb-acct-head p { margin: 0; }
.rb-acct-head h1 { margin: 0 0 .2rem; }
.rb-inline-form { display: inline; margin: 0; }
.rb-tabs ul { display: flex; gap: .4rem; list-style: none; margin: 0 0 1.25rem; padding: 2px 2px .4rem; overflow-x: auto; border-bottom: 1px solid var(--rb-line); }
.rb-tabs a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .3rem .9rem; white-space: nowrap; border-radius: var(--rb-pill-radius); color: var(--rb-ink); text-decoration: none; font-weight: 600; }
.rb-tabs a:hover { background: var(--rb-tint); }
.rb-tabs a[aria-current=page] { background: var(--rb-accent); color: var(--rb-on-dark); }
.rb-tab-n { display: inline-flex; min-width: 1.5rem; justify-content: center; padding: 0 .35rem; border-radius: 999px; background: var(--rb-tint); color: var(--rb-ink); font-size: .85rem; }
.rb-tabs a[aria-current=page] .rb-tab-n { background: var(--rb-paper); }
.rb-acct-empty { padding: 1.5rem 1.2rem; border: 2px dashed var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); text-align: center; margin: 0 0 1.25rem; }
.rb-acct-empty h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.rb-acct-empty p { margin: .4rem auto; max-width: 36rem; }
.rb-acct-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; }
.rb-acct-stats span { padding: .45rem .9rem; border-radius: var(--rb-radius); background: var(--rb-tint); }
.rb-acct-stats strong { font-size: 1.2rem; }
.rb-acct-h2 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.rb-ml-list, .rb-props, .rb-searches { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; }
.rb-ml { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); }
.rb-ml-img { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--rb-tint); }
.rb-ml-body { min-width: 0; flex: 1; }
.rb-ml-body h3 { margin: 0 0 .25rem; font-size: 1.05rem; overflow-wrap: anywhere; }
.rb-ml-meta, .rb-ml-stats { margin: 0 0 .35rem; display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; }
.rb-ml-stats { color: var(--rb-soft); font-size: .92rem; gap: .3rem; }
.rb-ml-stats svg { margin-left: .3rem; }
.rb-ml-stats svg:first-child { margin-left: 0; }
.rb-ml-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0 0; }
.rb-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 650; background: var(--rb-tint); color: var(--rb-ink); }
.rb-pill-ok { background: var(--rb-ok-bg); color: var(--rb-ok); }
.rb-pill-warn { background: var(--rb-warn-bg); color: var(--rb-pending); }
.rb-pill-off { background: var(--rb-line-soft); color: var(--rb-ink-2); }
.rb-btn-quiet { border-color: var(--rb-line); color: var(--rb-ink); }
.rb-search-item { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); }
.rb-search-item p { margin: .15rem 0 0; }
.rb-search-label { font-weight: 650; }
.rb-search-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.rb-alerts-box { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.rb-alerts-box p { margin: 0; }
.rb-prop { padding: .9rem 1rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); }
.rb-prop h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.rb-prop p { margin: 0 0 .4rem; }
.rb-prop-edit { margin-top: .5rem; }
.rb-prop-edit > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--rb-accent); font-weight: 600; }
.rb-prop-form input[type=text], .rb-prop-form input[type=number], .rb-relist input[type=text], .rb-relist input[type=number], .rb-relist input[type=date], .rb-acct form.rb-box input[type=text] { width: 100%; min-height: 48px; font-size: max(1rem, 16px); }
.rb-prop-pick { margin: 0 0 1rem; }
.rb-prop-pick ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .3rem 0 0; padding: 0; }
.rb-confirm-save { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.rb-confirm-save p { margin: 0; }
.rb-lead-s { color: var(--rb-soft); margin: 0 0 1rem; }
.rb-co-link { margin-top: -.4rem; }
.rb-co-foot { margin-top: 1rem; }
@media (min-width: 760px) {
	.rb-signin-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}

/* ---- Task 11: short stays and event pages ---- */
.rb-taxnote { margin: 1rem 0 0; padding: .8rem 1rem; background: var(--rb-tint); border-left: 5px solid var(--rb-accent); border-radius: 8px; }
.rb-taxnote p, .rb-stay-where { margin: 0; }
.rb-stay-where { margin: .25rem 0 1rem; padding: .7rem 1rem; border: 1px dashed var(--rb-line); border-radius: 8px; color: var(--rb-soft); }
.rb-stay-intro { margin-bottom: 1rem; }
.rb-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0 0 .5rem; padding: 0; font-size: .92rem; }
.rb-crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--rb-soft); }
.rb-crumbs a { display: inline-block; padding: .55rem 0; }
.rb-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; list-style: none; margin: 0 0 1.75rem; padding: 0; }
.rb-event { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 1rem 1.1rem; color: var(--rb-ink) !important; text-decoration: none; background: var(--rb-paper); border: 1px solid var(--rb-line); border-left: 6px solid var(--rb-accent); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); }
.rb-event:hover, .rb-event:focus-visible { border-color: var(--rb-accent); }
.rb-event:hover .rb-event-name { text-decoration: underline; }
.rb-event-when { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rb-eyebrow); }
.rb-event-name { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.rb-event-note { margin-top: auto; padding-top: .35rem; font-size: .92rem; color: var(--rb-soft); }
@media (min-width: 600px) { .rb-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rb-events { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .rb-event { transition: transform .15s ease, box-shadow .15s ease; } .rb-event:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-hi); } }
.rb-ev-tba { color: var(--rb-warn); }
.rb-ev-source { margin-top: .25rem; }
.rb-ev-plan { margin: 0 0 1.5rem; padding: 1rem 1.15rem; background: var(--rb-warn-bg); border: 1px solid var(--rb-warn-line); border-radius: var(--rb-radius); }
.rb-ev-plan p { margin: 0 0 .4rem; }
.rb-ev-plan p:last-child { margin: 0; }
.rb-ev-list, .rb-stay-all { margin: 0 0 1.5rem; }
.rb-ev-links { margin: 0 0 .5rem; padding-left: 1.2rem; }
.rb-ev-links li { margin: .3rem 0; }
.rb-ev-links a, .rb-ev-other a { display: inline-block; padding: .3rem 0; }
.rb-ev-other { margin: 1.5rem 0; }
.rb-ev-other h2 { font-size: 1.15rem; }
.rb-ev-other ul { margin: 0; padding-left: 1.2rem; }
.rb-stay-safe { margin: 1.5rem 0 0; padding: 1rem 1.15rem; background: var(--rb-tint); border-radius: var(--rb-radius); }
.rb-stay-safe h2 { font-size: 1.1rem; margin: 0 0 .4rem; }
.rb-stay-safe ul { margin: 0; padding-left: 1.2rem; }
.rb-stay-safe li { margin: .35rem 0; }
.rb-book .rb-btn-main { justify-content: center; gap: .45rem; }
.rb-book-link svg:last-child { opacity: .85; }
.rb .rb-events, .rb .rb-crumbs ol { padding-left: 0; }
.rb .rb-crumbs ol { align-items: center; }
.rb .rb-stay-safe h2, .rb .rb-ev-other h2 { margin-top: 0; }
.rb .rb-stay-safe > :first-child { margin-top: 0; }
/* Task 13-1: the bulk "still available?" screen. One card per listing; the real radio buttons stay visible (big tap targets, native
   focus and checked states, works in forced-colors mode); the chosen answer is also shown by a heavier border and a tick. */
.rb-still-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .9rem; }
.rb-still-card fieldset { margin: 0; padding: .85rem .9rem 1rem; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-paper); min-width: 0; }
.rb-still-paused fieldset { border-color: var(--rb-warn-line); }
.rb-still-legend { padding: 0 .3rem; margin-left: -.3rem; font-weight: 700; font-size: 1.08rem; max-width: 100%; }
.rb-still-facts { display: flex; gap: .7rem; align-items: center; margin: .15rem 0 .6rem; }
.rb-still-facts img { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--rb-tint); }
.rb-still-facts p { margin: 0; }
.rb-still-flag { color: var(--rb-pending); font-weight: 600; font-size: .92rem; }
.rb-still-opts { display: grid; gap: .5rem; }
.rb-still-opt { display: flex; align-items: flex-start; gap: .7rem; min-height: 52px; padding: .7rem .85rem; border: 2px solid var(--rb-field-line); border-radius: 10px; background: var(--rb-paper); cursor: pointer; font-weight: 400; line-height: 1.35; }
.rb-still-opt input { flex: none; width: 1.35rem; height: 1.35rem; margin: .05rem 0 0; accent-color: var(--rb-accent); cursor: pointer; }
.rb-still-opt input:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-still-box strong { display: block; }
.rb-still-hint { display: block; font-size: .92rem; color: var(--rb-soft); }
.rb-still-opt:has(input:checked) { border-color: var(--rb-accent); background: var(--rb-tint); box-shadow: inset 0 0 0 1px var(--rb-accent); }
.rb-still-opt:has(input:checked) strong::after { content: " ✓"; color: var(--rb-accent); }
.rb-still-go { position: sticky; bottom: 0; padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom, 0px)); background: var(--rb-paper); border-top: 1px solid var(--rb-line); }
.rb-still-go .rb-btn { min-height: 52px; font-size: 1.1rem; }
.rb-still-summary { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.rb-still-done { padding: .7rem .9rem; border: 1px solid var(--rb-line); border-left: 6px solid var(--rb-ok); border-radius: 10px; background: var(--rb-paper); }
.rb-still-done.rb-still-failed { border-left-color: var(--rb-warn-line); }
.rb-still-done.rb-still-ended, .rb-still-done.rb-still-skipped { border-left-color: var(--rb-field-line); }
.rb-ml-top { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 600px) { .rb-still-opts { grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); } }
@media (forced-colors: active) { .rb-still-opt:has(input:checked) { border-width: 4px; } }
.rb-title-warn { margin: .4rem 0 0; } .rb-title-warn .rb-btn { margin-left: .4rem; vertical-align: middle; }

/* ---- Task 13-3: language links and the machine-translation banner on listing pages ---- */
.rb-langs { margin: 0 0 .75rem; font-size: .95rem; }
.rb-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .1rem; align-items: center; }
.rb-langs li { display: flex; align-items: center; }
.rb-langs li + li::before { content: "·"; content: "·" / ""; color: var(--rb-soft); padding: 0 .1rem; }
.rb-langs a { display: inline-block; min-height: 24px; padding: .35rem .5rem; border-radius: 6px; color: var(--rb-accent); text-decoration: underline; text-underline-offset: 2px; }
.rb-langs a:hover { background: var(--rb-tint); }
.rb-langs a[aria-current="page"] { color: var(--rb-ink); font-weight: 700; text-decoration: none; background: var(--rb-tint); }
.rb-tr-note { background: var(--rb-tint); border-color: var(--rb-line); border-left: 6px solid var(--rb-accent); }
.rb-tr-note p { margin: 0; }
.rb-tr-note p + p { margin-top: .4rem; }
.rb-tr-note a { color: var(--rb-accent); }

/* Rent report (Task 13-4): /reports/ and /reports/<yyyy-mm>/. The table is the source of truth; the chart repeats its last column. */
.rb-rpt .rb-eyebrow a { color: inherit; }
.rb-rpt-tiles { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 0 0 1rem; }
.rb-rpt-tiles > div { background: var(--rb-paper); border: 1px solid var(--rb-line); border-radius: var(--rb-radius); padding: .85rem 1rem; }
.rb-rpt-tiles dt { color: var(--rb-soft); font-weight: 600; font-size: .95rem; }
.rb-rpt-tiles dd { margin: .2rem 0 0; }
.rb-rpt-big { display: block; font-size: 1.75rem; font-weight: 700; line-height: 1.2; }
.rb-rpt-compare { font-weight: 600; }
.rb-rpt-chart { margin: 0 0 .5rem; max-width: 46rem; }
.rb-rpt-chart figcaption { font-weight: 600; margin: 0 0 .5rem; }
.rb-rpt-chart ul { list-style: none; margin: 0; padding: 0; }
.rb-rpt-chart li { display: grid; grid-template-columns: minmax(6.5rem, 30%) 1fr 4.5rem; align-items: center; gap: .6rem; padding: .3rem 0; }
.rb-rpt-bar { display: block; width: 100%; height: 1.4rem; }
.rb-rpt-bar rect { fill: var(--rb-accent); }
.rb-rpt-bar-val { font-weight: 700; text-align: right; }
.rb-rpt-bar-none { grid-column: 2 / 4; color: var(--rb-soft); font-size: .9rem; }
.rb-rpt-scroll { overflow-x: auto; margin: 0 0 .75rem; max-width: 100%; }
.rb-rpt-scroll:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 2px; }
.rb-rpt-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.rb-rpt-table caption { text-align: left; color: var(--rb-soft); font-size: .9rem; padding: 0 0 .5rem; caption-side: top; }
.rb-rpt-table th, .rb-rpt-table td { border-bottom: 1px solid var(--rb-line); padding: .5rem .6rem; text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.rb-rpt-table thead th { font-size: .85rem; border-bottom: 2px solid var(--rb-ink-2); vertical-align: bottom; }
.rb-rpt-grid { min-width: 64rem; }
.rb-rpt-grid tbody th { min-width: 8rem; }
.rb-rpt-grid td { min-width: 6.5rem; }
.rb-rpt-fmr { max-width: 26rem; }
.rb-rpt-all { background: var(--rb-tint); }
.rb-rpt-fmrcol { color: var(--rb-ink-2); }
.rb-rpt-n { display: block; color: var(--rb-soft); font-size: .8rem; }
.rb-rpt-na { color: var(--rb-soft); font-size: .85rem; }
.rb-rpt-list { margin: 0; padding-left: 1.25rem; }
.rb-rpt-list li { margin: 0 0 .5rem; }
.rb-rpt-areas dd { margin: 0; }
.rb-rpt-method h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; }
@media (min-width: 700px) {
	.rb-rpt-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* Manager listing feeds (Task 13-5): the card's "Listed by ... · from their website" line sits outside the card's link */
.rb-card-feed { display: flex; flex-direction: column; }
.rb-card-feed .rb-card-link { height: auto; flex: 1; }
.rb-card-src { margin: 0; padding: 0 .85rem .8rem; font-size: .85rem; color: var(--rb-soft); }
.rb-card-src a { color: inherit; text-decoration: underline; }
.rb-feed-src { margin-top: -.4rem; overflow-wrap: anywhere; }
.rb-pill-bad { background: var(--rb-bad-bg); color: var(--rb-bad); }
.rb-feed, .rb-feed-add, .rb-feed-prev { margin-bottom: 1.25rem; }
.rb-feed h2 { font-size: 1.15rem; margin: 0 0 .4rem; overflow-wrap: anywhere; }
.rb-feed-facts { display: grid; gap: .3rem; margin: .5rem 0; }
.rb-feed-facts div { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
.rb-feed-facts dt { font-weight: 650; }
.rb-feed-facts dt::after { content: ":"; }
.rb-feed-facts dd { margin: 0; }
.rb-feed-acts { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0 0; }
.rb-feed-up { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--rb-line); }
.rb-feed-probs, .rb-feed-cols { margin: .75rem 0; }
.rb-feed-probs summary, .rb-feed-cols summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.rb-feed-probs li, .rb-feed-lines li { overflow-wrap: anywhere; margin-bottom: .3rem; }
.rb-feed-prev h2:focus { outline: none; }
.rb-feed-table th[scope=row] { white-space: nowrap; }
