/* MRH Listing Display. Brand blue #0349A6. Readable in grayscale (text labels, not color alone). */
.mrh-ld-pill {
	display: inline-block;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .02em;
	font-size: 12px;
	line-height: 1;
	padding: 6px 10px;
	white-space: nowrap;
}
.mrh-ld-pill--nofee { background: #0349A6 !important; color: #fff !important; }
.mrh-ld-pill--rented { background: #DC2626; color: #fff; }
.status-wrapper .mrh-ld-pill--nofee { margin-left: 4px; }
.slider-property-status.mrh-ld-pill--nofee { margin-left: 6px; }

/* Summary line under the price */
.mrh-ld-fare-summary {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin: 8px 0 4px; padding: 10px 12px; width: 100%;
	border: 1px solid #C9D7EE; border-left: 4px solid #0349A6; border-radius: 8px;
	background: #F3F7FD; color: #1F2937; font-size: 14px; line-height: 1.45;
}
.mrh-ld-fare-summary__link { color: #0349A6; font-weight: 600; text-decoration: underline; }

/* Rented notice (V3) */
.mrh-ld-rented-notice {
	display: flex; gap: 12px; align-items: flex-start; width: 100%;
	background: #FFF7E6; border: 2px solid #F5A524; border-radius: 12px;
	padding: 14px 16px; margin: 0 0 14px; color: #3D2A00;
	font-size: 13.5px; line-height: 1.55; box-sizing: border-box;
}
.mrh-ld-rented-notice__icon { color: #B45309; flex: none; margin-top: 1px; }
.mrh-ld-rented-notice a { color: #0349A6; font-weight: 700; }

/* Panels (V3 cards) */
.mrh-ld-panel {
	background: #fff; border-radius: 14px; box-shadow: 0 1px 10px rgba(0, 0, 0, .08);
	padding: 18px 20px; margin: 0 0 30px; color: #14213D;
}
.mrh-ld-panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mrh-ld-panel__icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.mrh-ld-panel__icon--transit { background: #0B1F3A; }
.mrh-ld-panel__title { font-size: 17px; font-weight: 800; margin: 0; color: #14213D; }

/* Upfront Costs (V3) */
details.mrh-ld-upfront { padding: 0; overflow: hidden; border-top: 6px solid #0349A6; }
details.mrh-ld-upfront > summary { list-style: none; cursor: pointer; }
details.mrh-ld-upfront > summary::-webkit-details-marker { display: none; }
.mrh-ld-upfront__head {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
	padding: 16px 20px; min-height: 56px; color: #14213D;
}
.mrh-ld-upfront__title { font-weight: 800; font-size: 16px; color: #0349A6; }
.mrh-ld-upfront__chip { background: #E0ECFF; color: #0349A6; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mrh-ld-upfront__total { font-size: 13px; font-weight: 700; }
.mrh-ld-upfront__toggle { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #0349A6; }
.mrh-ld-upfront__toggle svg { transition: transform .2s; }
.mrh-ld-upfront__hide { display: none; }
details.mrh-ld-upfront[open] .mrh-ld-upfront__show { display: none; }
details.mrh-ld-upfront[open] .mrh-ld-upfront__hide { display: inline; }
details.mrh-ld-upfront[open] .mrh-ld-upfront__toggle svg { transform: rotate(180deg); }
.mrh-ld-panel__body { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.mrh-ld-upfront__statement { margin: 0; font-size: 13px; line-height: 1.55; }
.mrh-ld-upfront__footer { margin: 0; font-size: 12px; line-height: 1.5; color: #475569; }
.mrh-ld-upfront__table { width: 100%; max-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 13px; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.mrh-ld-upfront__table th, .mrh-ld-upfront__table td { padding: 7px 10px; border-bottom: 1px solid #E2E8F0; text-align: left; }
.mrh-ld-upfront__table td:last-child, .mrh-ld-upfront__table th:last-child { text-align: right; font-weight: 600; }
.mrh-ld-upfront__table thead th { background: #F8FAFC; font-weight: 700; }
.mrh-ld-upfront__table tfoot th, .mrh-ld-upfront__table tfoot td { background: #0349A6; color: #fff; font-weight: 800; padding: 9px 10px; border-bottom: 0; }

/* Transit (V3) */
.mrh-ld-transit__rows { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.mrh-ld-transit__row { display: flex; align-items: flex-start; gap: 10px; }
.mrh-ld-mode { flex: none; min-width: 58px; text-align: center; color: #fff; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 999px; margin-top: 3px; }
.mrh-ld-mode--subway { background: #0349A6; }
.mrh-ld-mode--bus { background: #0F766E; }
.mrh-ld-mode--rail { background: #F5A524; color: #1A1200; }
.mrh-ld-transit__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.mrh-ld-transit__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 0 6px; }
.mrh-ld-transit__routes { display: inline-flex; gap: 3px; }
.mrh-ld-route {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
	background: #4B5563; color: #fff; font-weight: 700; font-size: 12px; line-height: 1;
}
/* Official MTA route colors (wayfinding use confirmed by MTA Licensing, Oct 12 2026). Letter/number stays inside so it reads in grayscale. */
.mrh-ld-route--1, .mrh-ld-route--2, .mrh-ld-route--3 { background: #EE352E; }
.mrh-ld-route--4, .mrh-ld-route--5, .mrh-ld-route--6 { background: #00933C; }
.mrh-ld-route--7 { background: #B933AD; }
.mrh-ld-route--a, .mrh-ld-route--c, .mrh-ld-route--e { background: #0039A6; }
.mrh-ld-route--b, .mrh-ld-route--d, .mrh-ld-route--f, .mrh-ld-route--m { background: #FF6319; }
.mrh-ld-route--g { background: #6CBE45; }
.mrh-ld-route--j, .mrh-ld-route--z { background: #996633; }
.mrh-ld-route--l { background: #A7A9AC; color: #fff; }
.mrh-ld-route--n, .mrh-ld-route--q, .mrh-ld-route--r, .mrh-ld-route--w { background: #FCCC0A; color: #000; }
.mrh-ld-route--s { background: #808183; }
.mrh-ld-route--sir { background: #0039A6; font-size: 10px; }
@media print { .mrh-ld-route { -webkit-print-color-adjust: exact; print-color-adjust: exact; border: 1px solid #000; } }
.mrh-ld-transit__name { font-weight: 600; color: #14213D; }
.mrh-ld-transit__line { font-weight: 400; color: #475569; }
.mrh-ld-transit__dist { margin-left: auto; color: #475569; font-size: 12.5px; }
.mrh-ld-transit__note { margin: 10px 0 0; font-size: 12px; color: #64748B; }

@media (max-width: 600px) {
	.mrh-ld-transit__dist { margin-left: 0; width: 100%; }
	.mrh-ld-upfront__toggle { margin-left: 0; }
}

/* Ask a question (V3 sidebar) */
.mrh-ld-ask { position: sticky; top: 110px; z-index: 2; margin-bottom: 30px; }
.mrh-ld-ask__card {
	background: #fff; border-radius: 16px; border-top: 6px solid #F5A524;
	box-shadow: 0 1px 10px rgba(0, 0, 0, .08); padding: 18px 18px 14px; color: #14213D;
}
.mrh-ld-ask__title { margin: 0; font-size: 21px; font-weight: 800; color: #14213D; line-height: 1.25; }
.mrh-ld-ask__sub { margin: 2px 0 12px; font-size: 13px; color: #475569; line-height: 1.4; }
.mrh-ld-ask__label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0 5px; color: #14213D; }
.mrh-ld-ask__input {
	width: 100%; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 10px;
	padding: 11px 12px; font: inherit; font-size: 15px; color: #14213D; background: #fff;
}
.mrh-ld-ask__input:focus { outline: 2px solid #0349A6; outline-offset: 1px; border-color: #0349A6; }
.mrh-ld-ask__textarea { min-height: 72px; resize: vertical; }
.mrh-ld-ask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mrh-ld-ask__replyby { border: 0; padding: 0; margin: 12px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mrh-ld-ask__replyby-label { font-size: 13px; color: #475569; margin-right: 2px; }
.mrh-ld-ask__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mrh-ld-ask__chip span {
	display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
	background: #E0ECFF; color: #0349A6; cursor: pointer; border: 2px solid transparent;
}
.mrh-ld-ask__chip input:checked + span { background: #0349A6; color: #fff; }
.mrh-ld-ask__chip input:focus-visible + span { border-color: #14213D; }
.mrh-ld-ask__submit {
	width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: #F5A524; color: #1A1200;
	font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
}
.mrh-ld-ask__submit:disabled { opacity: .6; cursor: wait; }
.mrh-ld-ask__consent { margin: 6px 0 0; font-size: 11px; color: #64748B; line-height: 1.4; }
.mrh-ld-ask__msg { margin: 6px 0 0; font-size: 13px; font-weight: 600; }
.mrh-ld-ask__msg.is-ok { color: #15803D; }
.mrh-ld-ask__msg.is-error { color: #B91C1C; }
.mrh-ld-ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mrh-ld-ask__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mrh-ld-cta {
	display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 10px; box-sizing: border-box;
	border-radius: 10px; color: #fff !important; text-decoration: none !important; overflow: hidden;
}
.mrh-ld-cta svg { flex: none; }
.mrh-ld-cta span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mrh-ld-cta strong { font-size: 14px; font-weight: 800; }
.mrh-ld-cta small { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrh-ld-cta--call { background: #0349A6; }
.mrh-ld-cta--email { background: #0B1F3A; }
.mrh-ld-ask__hours { margin: 10px 0 0; text-align: center; font-size: 12px; color: #475569; line-height: 1.5; }
@media (max-width: 991px) { .mrh-ld-ask { position: static; } }

/* Older v2.0 FARE block from Mena Agent Tools (has the retired Last Month / Application rows).
   v2.1 disclosure is rendered by this plugin, so hide the old one on listing pages. */
.single-estate_property .mena-fare-disclosure { display: none !important; }
