/* =====================================================================
   Elko Local Housing 1.0.1: "Post a rental" wizard.
   Same design language as the Jobs "Post a Job" wizard: navy hero, orange actions,
   cream cards, Bitter headlines, stepper + progress, tiles, segmented controls,
   sticky live preview (bottom sheet on mobile), navy payment summary.
   Everything below the .ehp wrapper; works without JavaScript (all steps stack).
   ===================================================================== */
.ehp {
	--n: #1B2A4A; --n-deep: #14213C; --n-soft: #2A3D66;
	--o: #E87722; --o-deep: #C2600F; --brick: #9C2F1E; --cream: #F6EFE1; --pine: #2C4A33;
	--ink: #232A3B; --soft: #5A6274; --line: #E2DACA;
	--display: "Bitter", "Iowan Old Style", Georgia, serif;
	--ease: cubic-bezier(.33,1,.68,1);
	--sh1: 0 1px 2px rgba(20,33,60,.06), 0 1px 6px rgba(20,33,60,.05);
	--sh2: 0 2px 4px rgba(20,33,60,.07), 0 10px 28px rgba(20,33,60,.12);
	color: var(--ink); max-width: 1080px; margin: 0 auto; font-size: 16px; line-height: 1.55;
}
.ehp *, .ehp *::before, .ehp *::after { box-sizing: border-box; }
.ehp [hidden] { display: none !important; }
.ehp .ehp-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ehp h2, .ehp h3, .ehp h4 { font-family: var(--display); color: var(--n); letter-spacing: -.01em; padding: 0; }
.ehp p { padding-bottom: 0; }
.ehp ul, .ehp ol { list-style: none; margin: 0; padding: 0; }
.ehp li { margin: 0; padding: 0; }
.ehp button:focus-visible, .ehp a:focus-visible, .ehp summary:focus-visible { outline: 3px solid var(--o); outline-offset: 2px; }
.ehp .ehp-i { display: inline-block; flex: 0 0 auto; vertical-align: -4px; }

/* Divi prints its own page title above the shortcode; the hero is the real headline (kept for screen readers). */
.ehs-page-post .entry-title.main_title, .ehs-page-post h1.entry-title, .ehs-page-board .entry-title.main_title, .ehs-page-board h1.entry-title {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ehs-page-post #sidebar { display: none; }
.ehs-page-post #left-area { width: 100% !important; float: none !important; padding-right: 0 !important; padding-bottom: 0; }
.ehs-page-post #main-content .container::before { display: none; }

/* ---------------- Buttons ---------------- */
.ehp .ehp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .78rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; border: 2px solid var(--n); font-family: inherit; background: #fff; color: var(--n);
	transition: background .18s var(--ease), color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.ehp .ehp-btn:active { transform: translateY(1px); }
.ehp .ehp-btn--solid { background: linear-gradient(180deg, #F2853A 0%, var(--o) 45%, var(--o-deep) 100%); border-color: var(--o-deep); color: #fff !important; box-shadow: var(--sh1), inset 0 1px 0 rgba(255,255,255,.28); }
.ehp .ehp-btn--solid:hover, .ehp .ehp-btn--solid:focus { background: linear-gradient(180deg, var(--o) 0%, var(--o-deep) 100%); box-shadow: var(--sh2); }
.ehp .ehp-btn--solid[disabled] { opacity: .65; cursor: progress; }
.ehp .ehp-btn--ghost { background: #fff; color: var(--n); }
.ehp .ehp-btn--ghost:hover { background: var(--n); color: #fff; }

/* ---------------- Hero ---------------- */
.ehp-hero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .8fr); align-items: center; gap: 1.6rem 2.4rem;
	padding: 2.6rem 2.6rem 4.6rem; border-radius: 22px;
	background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(232,119,34,.24), transparent 60%), linear-gradient(165deg, var(--n-soft) 0%, var(--n) 46%, var(--n-deep) 100%);
}
.ehp--edit .ehp-hero { grid-template-columns: 1fr; padding-bottom: 2.4rem; }
.ehp-eyebrow { display: block; margin: 0 0 .55rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6B27A; }
.ehp .ehp-hero-title { font-weight: 800; color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.06; margin: 0 0 .8rem; max-width: 17ch; letter-spacing: -.02em; }
.ehp--edit .ehp-hero-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 24ch; }
.ehp-hero-sub { color: #DCE2EE; font-size: 1.06rem; max-width: 56ch; margin: 0 0 1.1rem; }
.ehp-hero-points { display: flex; flex-wrap: wrap; gap: .45rem .5rem; margin: 0 0 1.4rem !important; }
.ehp-hero-points li { padding: .4rem .85rem .4rem .6rem; border-radius: 999px; font-size: .9rem; color: #E8ECF4; line-height: 1.2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: inline-flex; align-items: center; gap: .4rem; }
.ehp-hero-points .ehp-i { color: #7BDD98; width: 16px; height: 16px; vertical-align: 0; }
.ehp-hero-cta { font-size: 1.05rem !important; padding: .85rem 1.6rem !important; }
.ehp-hero-card { justify-self: end; width: 100%; max-width: 290px; background: rgba(20,33,60,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 1.3rem; backdrop-filter: blur(4px); display: grid; gap: .1rem; }
.ehp-hero-ribbon { justify-self: start; margin: 0 0 .5rem; padding: .15rem .65rem; border-radius: 99px; background: var(--o); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ehp-hero-from { font-size: .85rem; color: #C9D1E0; }
.ehp-hero-amt { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: #fff; letter-spacing: -.03em; }
.ehp-hero-per { color: #C9D1E0; font-size: .95rem; }
.ehp-hero-then { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.14); color: #FFB475; font-size: .9rem; font-weight: 600; }

/* ---------------- Trust strip ---------------- */
.ehp-trust { position: relative; z-index: 3; margin: -2.5rem 1.2rem 1.6rem !important; padding: .9rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(20,33,60,.16), 0 2px 6px rgba(20,33,60,.08); }
.ehp--edit .ehp-trust { display: none; }
.ehp-trust li { display: flex; gap: .65rem; align-items: flex-start; padding: .5rem .6rem; }
.ehp-trust li + li { border-left: 1px dashed var(--line); }
.ehp-trust .ehp-i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #FCEBDC; color: var(--o-deep); vertical-align: 0; }
.ehp-trust span { font-size: .84rem; color: var(--soft); line-height: 1.4; }
.ehp-trust b { display: block; font-family: var(--display); color: var(--n); font-size: .98rem; line-height: 1.25; }
.ehp--edit .ehp-hero { margin-bottom: 1.2rem; }

/* ---------------- Wizard layout ---------------- */
.ehp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.6rem; align-items: start; }
.ehp-main { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1.6rem 1.6rem; box-shadow: var(--sh1); min-width: 0; }
.ehp:not(.is-js) .ehp-layout { grid-template-columns: minmax(0, 1fr); }

.ehp-stepper, .ehp-nav, .ehp-aside, .ehp-mbar, .ehp-jsonly, .ehp-draftbar { display: none; }
.ehp.is-js .ehp-stepper { display: block; }
.ehp.is-js .ehp-nav { display: flex; }
.ehp.is-js .ehp-aside { display: block; }
.ehp.is-js .ehp-jsonly { display: flex; }
.ehp.is-js .ehp-draftbar.is-on { display: flex; }

.ehp-stepper ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; }
.ehp-stepbtn { appearance: none; width: 100%; display: flex; align-items: center; gap: .5rem; padding: .5rem .55rem; border: 0; border-radius: 12px; cursor: pointer; background: transparent; color: var(--soft); font: inherit; font-weight: 700; font-size: .9rem; text-align: left; transition: background .15s, color .15s; }
.ehp-stepbtn:hover { background: var(--cream); }
.ehp-stepdot { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 800; background: #EFE9DA; color: var(--soft); transition: all .2s; position: relative; }
.ehp-stepbtn.is-cur { color: var(--n); background: #FFF6EA; }
.ehp-stepbtn.is-cur .ehp-stepdot { background: var(--o); color: #fff; box-shadow: 0 0 0 4px rgba(232,119,34,.2); }
.ehp-stepbtn.is-done { color: var(--n); }
.ehp-stepbtn.is-done .ehp-stepdot { background: var(--pine); color: transparent; }
.ehp-stepbtn.is-done .ehp-stepdot::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ehp-prog { height: 6px; background: #EFE9DA; border-radius: 99px; margin: .55rem 0 1.3rem; overflow: hidden; }
.ehp-prog span { display: block; height: 100%; width: 20%; border-radius: 99px; background: linear-gradient(90deg, var(--o), #F2853A); transition: width .35s var(--ease); }
.ehp-draftbar { justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 0 0 1.1rem; padding: .6rem .9rem; border-radius: 10px; background: #EAF2EA; border-left: 4px solid var(--pine); font-size: .92rem; }
.ehp-draftbar button { appearance: none; background: none; border: 0; padding: 0; margin-left: .8rem; font: inherit; font-weight: 700; color: var(--brick); text-decoration: underline; cursor: pointer; }

.ehp-step-h { display: flex; align-items: center; gap: .65rem; margin: 0 0 .25rem !important; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.2; outline: none; }
.ehp-step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--n); color: #fff; font-family: inherit; font-size: .9rem; font-weight: 800; display: grid; place-items: center; flex: 0 0 auto; }
.ehp.is-js .ehp-step-n { display: none; }
.ehp-step-lead { margin: 0 0 1.4rem !important; color: var(--soft); }
.ehp:not(.is-js) .ehp-step { padding: 0 0 1.6rem; margin: 0 0 1.6rem; border-bottom: 1px solid var(--line); }
.ehp:not(.is-js) .ehp-step:last-of-type { border-bottom: 0; }
.ehp.is-js .ehp-step { display: none; }
.ehp.is-js .ehp-step.is-cur { display: block; animation: ehp-in .3s var(--ease); }
@keyframes ehp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------- Fields ---------------- */
.ehp-fld { margin: 0 0 1.25rem; min-width: 0; border: 0; padding: 0; }
.ehp-lbl { display: block; margin: 0 0 .4rem; padding: 0; font-weight: 700; font-size: .98rem; color: var(--n); }
.ehp-hint { font-weight: 400; font-size: .84rem; color: var(--soft); }
.ehp input[type="text"], .ehp input[type="url"], .ehp input[type="number"], .ehp input[type="date"], .ehp select, .ehp textarea {
	display: block; width: 100%; margin: 0; min-height: 50px; padding: .7rem .95rem; border: 1.5px solid #D9D0BB; border-radius: 12px; background: #FFFEFB; color: var(--ink);
	font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s; max-width: 100%;
}
.ehp textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.ehp input:hover, .ehp textarea:hover, .ehp select:hover { border-color: #BDB197; }
.ehp input:focus, .ehp textarea:focus, .ehp select:focus { outline: none; border-color: var(--o); background: #fff; box-shadow: 0 0 0 4px rgba(232,119,34,.2); }
.ehp ::placeholder { color: #8D93A1; }
.ehp [aria-invalid="true"] { border-color: var(--brick) !important; background: #FFF8F6 !important; }
.ehp-money { position: relative; display: block; }
.ehp-money > span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--soft); font-weight: 700; }
.ehp-money input { padding-left: 1.9rem !important; }
.ehp-grp { margin: 0 0 1.5rem; padding: 1.1rem 1.1rem .1rem; border: 1px solid var(--line); border-radius: 16px; background: #FFFDF8; }
.ehp-grp-h { margin: 0 0 .9rem !important; font-size: 1.05rem; }
.ehp-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 1.1rem; }
.ehp-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ehp-fields .ehp-wide, .ehp-fields .ehp-checks { grid-column: 1 / -1; }
.ehp-meta { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; margin-top: .4rem; font-size: .84rem; color: var(--soft); }
.ehp-counter { margin-left: auto; font-variant-numeric: tabular-nums; }
.ehp-ideas { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ehp-ideas b { font-weight: 700; margin-right: .1rem; }
.ehp-chipbtn { appearance: none; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700; line-height: 1.2; padding: .38rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--n); transition: all .15s; }
.ehp-chipbtn:hover { border-color: var(--o); background: #FFF6EA; }
.ehp-err { margin: .4rem 0 0 !important; padding: .45rem .75rem; border-radius: 8px; background: #F8E9E5; border-left: 4px solid var(--brick); color: #7A2216; font-size: .9rem; font-weight: 600; }
.ehp-err--final { margin-top: 1rem !important; }
.ehp-soft { margin: .45rem 0 0 !important; font-size: .86rem; color: #6a5a2a; }
.ehp-dstat.is-warn { color: #8A4B00; font-weight: 700; }
.ehp-fha-warn { margin: .5rem 0 0 !important; padding: .55rem .8rem; border-radius: 8px; background: #FFF4DC; border-left: 4px solid #D99200; color: #6b4600; font-size: .9rem; font-weight: 600; }
.ehp-note { padding: .85rem 1.05rem; border-radius: 0 12px 12px 0; background: var(--cream); border-left: 4px solid var(--o); font-size: .95rem; margin-top: .3rem; }

/* Tiles (type) */
.ehp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.ehp-tile { display: block; position: relative; margin: 0; cursor: pointer; }
.ehp-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ehp-tile-in { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; height: 100%; padding: .85rem 2rem .85rem .85rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--n); transition: transform .15s var(--ease), border-color .15s, box-shadow .15s, background .15s; }
.ehp-tile-e { grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); font-size: 1.5rem; }
.ehp-tile-t { font-weight: 800; font-size: 1rem; line-height: 1.25; align-self: end; }
.ehp-tile-d { font-size: .85rem; color: var(--soft); line-height: 1.35; align-self: start; font-weight: 400; }
.ehp-tile:hover .ehp-tile-in { transform: translateY(-1px); border-color: #CDBF9F; box-shadow: var(--sh1); }
.ehp-tile input:checked + .ehp-tile-in { border-color: var(--o); background: #FFF6EA; box-shadow: 0 0 0 3px rgba(232,119,34,.18); }
.ehp-tile input:checked + .ehp-tile-in .ehp-tile-e { background: #fff; }
.ehp-tile input:checked + .ehp-tile-in::after { content: ""; position: absolute; top: 9px; right: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.ehp-tile input:focus-visible + .ehp-tile-in { outline: 3px solid var(--o); outline-offset: 2px; }

/* Pills (towns) */
.ehp-pills { flex-wrap: wrap; gap: .45rem; margin: 0 0 .7rem; }
.ehp-pill { appearance: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .92rem; line-height: 1.2; color: var(--n); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem .95rem; display: inline-flex; align-items: center; gap: .35rem; transition: all .15s; }
.ehp-pill .ehp-i { color: var(--brick); width: 14px; height: 14px; vertical-align: 0; }
.ehp-pill:hover { border-color: #BDB197; }
.ehp-pill[aria-pressed="true"] { background: var(--n); border-color: var(--n); color: #fff; }
.ehp-pill[aria-pressed="true"] .ehp-i { color: #FFB475; }

/* Segmented radios */
.ehp-seg { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 14px; background: #F3EEE0; border: 1px solid var(--line); }
.ehp-segopt { position: relative; flex: 1 1 auto; margin: 0; cursor: pointer; }
.ehp-segopt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ehp-segopt span { display: block; text-align: center; padding: .55rem .85rem; border-radius: 10px; color: var(--soft); font-weight: 700; font-size: .9rem; line-height: 1.2; transition: all .15s; }
.ehp-segopt:hover span { color: var(--n); background: rgba(255,255,255,.6); }
.ehp-segopt input:checked + span { background: #fff; color: var(--n); box-shadow: 0 1px 3px rgba(20,33,60,.18); }
.ehp-segopt input:focus-visible + span { outline: 3px solid var(--o); outline-offset: 1px; }

/* Check chips */
.ehp-chiprow { display: flex; flex-wrap: wrap; gap: .45rem; }
.ehp-chk { position: relative; margin: 0; cursor: pointer; }
.ehp-chk input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ehp-chk span { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--n); font-weight: 700; font-size: .9rem; line-height: 1.2; transition: all .15s; }
.ehp-chk:hover span { border-color: #BDB197; }
.ehp-chk input:checked + span { background: var(--n); border-color: var(--n); color: #fff; }
.ehp-chk input:checked + span::before { content: "\2713"; color: #FFB475; font-weight: 800; }
.ehp-chk input:focus-visible + span { outline: 3px solid var(--o); outline-offset: 2px; }

/* ---------------- Photos ---------------- */
.ehp-drop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; padding: 2rem 1.2rem; border: 2px dashed #D3C7A8; border-radius: 18px; background: #FFFDF8; cursor: pointer; color: var(--soft); transition: border-color .15s, background .15s; }
.ehp-drop:hover, .ehp-drop.is-over { border-color: var(--o); background: #FFF6EA; }
.ehp-drop-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #FCEBDC; color: var(--o-deep); margin-bottom: .3rem; }
.ehp-drop-ico .ehp-i { width: 26px; height: 26px; vertical-align: 0; }
.ehp-drop-t b { color: var(--o-deep); }
.ehp-drop-t { color: var(--n); font-weight: 600; }
.ehp-drop-s { font-size: .86rem; }
.ehp.is-js .ehp-file { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ehp:not(.is-js) .ehp-file { display: block; margin-top: .6rem; }
.ehp:not(.is-js) .ehp-drop { display: none; }
.ehp-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .7rem; margin-top: 1rem; }
.ehp-pgrid:empty { display: none; }
.ehp-ph { position: relative; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: var(--cream); aspect-ratio: 4/3; }
.ehp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ehp-ph.is-bad { border-color: var(--brick); }
.ehp-ph-cover { position: absolute; left: 6px; top: 6px; padding: .1rem .55rem; border-radius: 99px; background: var(--o); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.ehp-ph-over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,33,60,.6); color: #fff; font-size: .78rem; font-weight: 700; text-align: center; padding: .4rem; }
.ehp-ph-act { position: absolute; right: 5px; bottom: 5px; display: flex; gap: 4px; }
.ehp-ph-act button { appearance: none; border: 0; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--n); font-weight: 800; line-height: 1; font-size: 1rem; box-shadow: var(--sh1); }
.ehp-ph-act button:hover { background: var(--n); color: #fff; }
.ehp-pstat { margin: .7rem 0 0 !important; font-size: .92rem; color: var(--soft); }
.ehp-pstat.is-warn { color: #8A4B00; font-weight: 700; }
.ehp-have { margin: 0 0 1.2rem; }
.ehp-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.ehp-thumb { width: 84px !important; height: 64px !important; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* ---------------- Plans ---------------- */
.ehp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.ehp-plans--one { grid-template-columns: minmax(0, 360px); }
.ehp-plan { position: relative; display: block; margin: 0; cursor: pointer; }
.ehp-plans--ro .ehp-plan, .ehp-plans--one .ehp-plan { display: grid; align-content: start; gap: .1rem; padding: 1.1rem; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: default; }
.ehp-plan input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ehp-plan-in { display: grid; align-content: start; gap: .15rem; height: 100%; padding: 1.25rem 1.1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: transform .15s var(--ease), border-color .15s, box-shadow .15s, background .15s; }
.ehp-plan:hover .ehp-plan-in { transform: translateY(-2px); border-color: #CDBF9F; box-shadow: var(--sh1); }
.ehp-plan input:checked + .ehp-plan-in, .ehp-plan.is-on { border-color: var(--o); background: #FFF6EA; box-shadow: 0 0 0 3px rgba(232,119,34,.18); }
.ehp-plan input:focus-visible + .ehp-plan-in { outline: 3px solid var(--o); outline-offset: 2px; }
.ehp-plan.is-dis { cursor: not-allowed; }
.ehp-plan.is-dis .ehp-plan-in { opacity: .55; background: #F7F3E8; }
.ehp-plan.is-dis:hover .ehp-plan-in { transform: none; border-color: var(--line); box-shadow: none; }
.ehp-plan-tag { position: absolute; top: -10px; left: 12px; padding: .1rem .6rem; border-radius: 99px; background: var(--n); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .03em; }
.ehp-plan-tag[data-tag="multi"] { background: var(--pine); }
.ehp-plan-name { font-family: var(--display); font-weight: 800; color: var(--n); font-size: 1.05rem; line-height: 1.25; }
.ehp-plan-price { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--n); line-height: 1.1; letter-spacing: -.02em; }
.ehp-plan-price s { font-size: 1.1rem; color: #8a90a0; font-weight: 600; margin-right: .2rem; }
.ehp-plan-per { font-size: .84rem; color: var(--o-deep); font-weight: 700; }
.ehp-plan-desc { font-size: .88rem; color: var(--soft); margin-top: .35rem; line-height: 1.4; }
.ehp-banner { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 12px; background: #FFF4DC; border-left: 4px solid #D99200; font-size: .95rem; }
.ehp-banner--ok { background: #EAF2EA; border-color: var(--pine); }
.ehp-pm { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; border: 1.5px dashed #C9BE9F; background: #FFFDF8; }
.ehp-pm b { display: block; color: var(--n); }
.ehp-pm span { font-size: .9rem; color: var(--soft); }
.ehp-pm .ehp-btn { padding: .5rem 1.1rem; font-size: .9rem; }

/* Review */
.ehp-review { margin: 1.2rem 0 0; }
.ehp-rv { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ehp-rv-r { display: grid; grid-template-columns: 90px 1fr auto; gap: .8rem; align-items: start; padding: .75rem 1rem; border-top: 1px solid var(--line); font-size: .93rem; }
.ehp-rv-r:first-child { border-top: 0; }
.ehp-rv-k { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); padding-top: .15rem; }
.ehp-rv-v { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.ehp-rv-v b { color: var(--n); }
.ehp-rv-e { appearance: none; background: none; border: 0; font: inherit; font-weight: 700; font-size: .9rem; color: var(--brick); text-decoration: underline; cursor: pointer; padding: 0; }
.ehp-rv-miss { color: #8A4B00; }

/* Buy box */
.ehp-buy { margin-top: 1.1rem; padding: 1.1rem 1.3rem; border-radius: 16px; color: #fff; background: radial-gradient(ellipse 70% 90% at 90% 0%, rgba(232,119,34,.25), transparent 60%), linear-gradient(165deg, var(--n-soft), var(--n) 50%, var(--n-deep)); }
.ehp-buy-top { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.ehp-buy-amt { font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.ehp-buy-per { color: #FFB475; font-weight: 700; }
.ehp-buy-list { margin: .8rem 0 .6rem !important; display: grid; gap: .3rem; }
.ehp-buy-list li { padding-left: 1.5rem; position: relative; color: #E8ECF4; font-size: .94rem; }
.ehp-buy-list li::before { content: ""; position: absolute; left: 0; top: .22rem; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%237BDD98' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ehp-buy-fine { margin: .3rem 0 0 !important; font-size: .85rem; color: #C9D1E0; }
.ehp:not(.is-js) .ehp-buy { display: none; }

.ehp-final { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.ehp-final .ehp-submit { width: 100%; font-size: 1.08rem; padding: .95rem 1.6rem; }
.ehp-fine { margin: .7rem 0 0 !important; font-size: .86rem; color: var(--soft); text-align: center; }
.ehp.is-js .ehp-final .ehp-submit { display: none; }
.ehp.is-js.on-last .ehp-final .ehp-submit { display: none; }
.ehp-nav { justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ehp-nav .ehp-back { border: 0; background: none; color: var(--soft); padding: .7rem .4rem; }
.ehp-nav .ehp-back:hover { background: none; color: var(--n); }
.ehp-nav .ehp-back::before { content: "\2190\00a0"; }
.ehp-nav .ehp-submit, .ehp-nav .ehp-next { margin-left: auto; }
.ehp-nav .ehp-submit { flex: 1 1 auto; max-width: 380px; font-size: 1.05rem; }
.ehp:not(.is-js) .ehp-final .ehp-submit { display: inline-flex; }

/* ---------------- Live preview ---------------- */
.ehp-aside { position: sticky; top: 100px; align-self: start; min-width: 0; }
.ehp-aside-in { position: relative; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(170deg, #FBF6EA, #F3EAD3); padding: 1rem; box-shadow: var(--sh1); }
.ehp-aside-h { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; flex-wrap: wrap; }
.ehp-aside-h > span { display: flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--n); }
.ehp-aside-h > span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3FB86B; animation: ehp-pulse 2s infinite; }
@keyframes ehp-pulse { 0% { box-shadow: 0 0 0 0 rgba(63,184,107,.55); } 70% { box-shadow: 0 0 0 8px rgba(63,184,107,0); } 100% { box-shadow: 0 0 0 0 rgba(63,184,107,0); } }
.ehp-tabs { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: #F3EEE0; border: 1px solid var(--line); }
.ehp-tabs button { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 700; font-size: .78rem; color: var(--soft); padding: .32rem .65rem; border-radius: 9px; }
.ehp-tabs button.is-on { background: #fff; color: var(--n); box-shadow: 0 1px 3px rgba(20,33,60,.18); }
.ehp-pv { display: grid; gap: .6rem; min-width: 0; }
.ehp-ghost { display: flex; gap: .7rem; align-items: center; padding: .8rem; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px dashed #D9CDB0; opacity: .7; }
.ehp-ghost i { width: 40px; height: 40px; border-radius: 10px; background: #E9DFC6; flex: 0 0 40px; }
.ehp-ghost div { flex: 1; display: grid; gap: .4rem; }
.ehp-ghost b { height: 9px; border-radius: 99px; background: #E9DFC6; display: block; }
.ehp-ghost b + b { width: 60%; }
.ehp-ghost.is-2 { opacity: .4; }
.ehp-pc { display: flex; flex-direction: column; background: #fff; border: 1px solid #F0B37D; border-radius: 16px; overflow: hidden; box-shadow: var(--sh2); }
.ehp-pc-media { position: relative; aspect-ratio: 16/10; background: var(--cream); display: grid; place-items: center; font-size: 2.6rem; overflow: hidden; }
.ehp-pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ehp-pc-badge { position: absolute; top: 10px; left: 10px; background: var(--o); color: #fff; font-size: .72rem; font-weight: 800; border-radius: 99px; padding: .15rem .65rem; z-index: 1; }
.ehp-pc-body { display: grid; gap: .3rem; padding: .85rem 1rem 1rem; }
.ehp-pc-price { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--n); }
.ehp-pc-price small { font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--soft); }
.ehp-pc-title { font-family: var(--display); font-weight: 700; color: var(--n); line-height: 1.3; overflow-wrap: anywhere; }
.ehp-pc-meta { font-size: .85rem; color: var(--soft); }
.ehp-pc-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.ehp-pc-chips span { padding: .12rem .6rem; border-radius: 99px; background: #E9EEF8; color: var(--n); font-size: .76rem; font-weight: 700; }
.ehp-pc-chips span:nth-child(3n+2) { background: #FCEBDC; color: #8A3A0A; }
.ehp-pc-chips span:nth-child(3n) { background: var(--n); color: #fff; }
.ehp-pp { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem; display: grid; gap: .6rem; box-shadow: var(--sh1); }
.ehp-pp-crumb { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brick); }
.ehp-pp-gal { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; border-radius: 12px; overflow: hidden; }
.ehp-pp-gal .ehp-pc-media { aspect-ratio: auto; min-height: 120px; border-radius: 0; font-size: 2rem; }
.ehp-pp-gal .is-main { grid-row: span 2; min-height: 150px; }
.ehp-pp h4 { margin: 0; font-size: 1.1rem; line-height: 1.25; overflow-wrap: anywhere; }
.ehp-pp-price { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--n); }
.ehp-pp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.ehp-pp-facts div { background: var(--cream); border-radius: 8px; padding: .3rem .55rem; min-width: 0; }
.ehp-pp-facts dt, .ehp-pp-facts span:first-child { display: block; font-size: .68rem; color: var(--soft); }
.ehp-pp-facts b { display: block; font-size: .8rem; color: var(--n); overflow-wrap: anywhere; }
.ehp-pp-desc { margin: 0 !important; font-size: .85rem; color: var(--ink); max-height: 7.5em; overflow: hidden; overflow-wrap: anywhere; white-space: pre-line; }
.ehp-pp-cta { display: block; text-align: center; padding: .55rem; border-radius: 999px; background: var(--n); color: #fff; font-weight: 700; font-size: .85rem; }
.ehp-meter { margin-top: .9rem; padding: .8rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ehp-meter-top { display: flex; justify-content: space-between; font-size: .9rem; color: var(--n); font-weight: 700; }
.ehp-meter-top span { font-family: var(--display); font-weight: 800; }
.ehp-meter-bar { height: 8px; border-radius: 99px; background: #EFE9DA; margin: .45rem 0 .6rem; overflow: hidden; }
.ehp-meter-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: #E0A45F; transition: width .35s var(--ease), background .3s; }
.ehp-meter-bar span.is-good { background: var(--o); }
.ehp-meter-bar span.is-great { background: #3FA063; }
.ehp-meter ul { display: grid; gap: .3rem; }
.ehp-meter li { padding-left: 1.35rem; position: relative; font-size: .84rem; color: var(--soft); line-height: 1.4; }
.ehp-meter li::before { content: "+"; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #FCEBDC; color: #8A3A0A; font-weight: 800; font-size: .8rem; line-height: 15px; text-align: center; }
.ehp-meter li.is-ok::before { content: "\2713"; background: #DDEEDF; color: var(--pine); }
.ehp .ehp-sheet-x { display: none; margin-top: .8rem; width: 100%; }

/* ---------------- Guest + below ---------------- */
.ehp-gate { margin: 0 0 1.6rem; }
.ehp-gate-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.6rem; box-shadow: var(--sh1); }
.ehp-gate-card h3 { margin: 0 0 .4rem; font-size: 1.4rem; }
.ehp-gate-card p { margin: 0 0 1rem !important; color: var(--soft); }
.ehp-gate-card p:last-child { margin: 0 !important; }
.ehp--guest .ehp-trust { margin-top: -2.5rem; }
.ehp-plans--ro { margin-bottom: 1rem; }
.ehp-sec-h { margin: 2rem 0 1rem !important; font-size: 1.5rem; }
.ehp-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.ehp-why-c { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; box-shadow: var(--sh1); }
.ehp-why-c b { display: block; font-family: var(--display); color: var(--n); font-size: 1.05rem; margin-bottom: .2rem; }
.ehp-why-c span { font-size: .92rem; color: var(--soft); }
.ehp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .55rem; }
.ehp-faq summary { cursor: pointer; padding: .95rem 1.2rem; font-weight: 700; color: var(--n); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.ehp-faq summary::-webkit-details-marker { display: none; }
.ehp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--o-deep); transition: transform .2s; }
.ehp-faq details[open] summary::after { transform: rotate(45deg); }
.ehp-faq details p { margin: 0 !important; padding: 0 1.2rem 1.1rem !important; color: var(--soft); }
.ehp .ehs-fha { margin-top: 2rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
	.ehp-layout { grid-template-columns: minmax(0, 1fr); }
	.ehp-aside { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 100000; max-height: 88vh; overflow: auto; transform: translateY(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; border-radius: 22px 22px 0 0; }
	.ehp-aside.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); box-shadow: 0 0 0 100vmax rgba(20,33,60,.55); }
	.ehp-aside-in { border-radius: 22px 22px 0 0; padding-bottom: 1.4rem; }
	.ehp .ehp-sheet-x { display: inline-flex; }
	.ehp.is-js .ehp-mbar { display: flex; position: sticky; bottom: 10px; z-index: 40; margin-top: 1rem; justify-content: center; }
	.ehp-mbar-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.3rem; border-radius: 999px; border: 0; background: var(--n); color: #fff; font: inherit; font-weight: 700; box-shadow: var(--sh2); }
	.ehp-mbar-s { padding: .1rem .55rem; border-radius: 99px; background: var(--o); font-size: .8rem; }
	.ehp-hero { grid-template-columns: 1fr; padding-bottom: 4.4rem; }
	.ehp-hero-card { justify-self: start; }
	.ehp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ehp-trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
	.ehp-main { padding: 1.1rem 1rem 1.3rem; border-radius: 18px; }
	.ehp-hero { padding: 1.8rem 1.3rem 4.2rem; border-radius: 18px; }
	.ehp--edit .ehp-hero { padding-bottom: 1.8rem; }
	.ehp-trust { margin: -2.4rem .5rem 1.2rem !important; }
	.ehp-trust li { padding: .35rem .3rem; }
	.ehp-trust .ehp-i { width: 32px; height: 32px; padding: 7px; }
	.ehp-trust span { font-size: .78rem; }
	.ehp-stepper ol { gap: .15rem; }
	.ehp-stepbtn { flex-direction: column; gap: .2rem; padding: .4rem .1rem; text-align: center; font-size: .72rem; }
	.ehp-tiles { grid-template-columns: 1fr; }
	.ehp-plans { grid-template-columns: 1fr; }
	.ehp-plans--one { grid-template-columns: 1fr; }
	.ehp-fields { grid-template-columns: 1fr 1fr; gap: 0 .7rem; }
	.ehp-fields--2 { grid-template-columns: 1fr; }
	.ehp-grp { padding: .9rem .8rem .1rem; }
	.ehp-why { grid-template-columns: 1fr; }
	.ehp-rv-r { grid-template-columns: 1fr auto; }
	.ehp-rv-k { grid-column: 1 / -1; padding: 0; }
	.ehp-buy-amt { font-size: 2rem; }
	.ehp-nav .ehp-submit { max-width: none; }
}
@media (max-width: 420px) {
	.ehp-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.ehp *, .ehp *::before, .ehp *::after { animation: none !important; transition: none !important; }
}

/* WordPress swaps emoji for <img class="emoji"> on some systems; keep those inline */
.ehp img.emoji { position: static !important; inset: auto !important; width: 1em !important; height: 1em !important; display: inline-block; vertical-align: -.1em; margin: 0; }

.ehp-f-furnished { grid-column: 1 / -1; }
