/* The public area survey (harmony-ops#523): full-screen on a phone, one question per screen. Works with easyproperty-list.css. */
.sv-body { margin: 0; background: #f4f7f9; color: #12303a; font-family: Mulish, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
.sv-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: #177b85; }
.sv-brand img { display: block; height: 26px; width: auto; }
.sv-progress { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; }
.sv-progress i { display: block; height: 100%; width: var(--p, 0%); background: #fff; border-radius: 4px; transition: width .25s; }
.sv-count { color: #fff; font-size: 13px; font-weight: 700; min-width: 38px; text-align: right; }
.sv-main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 16px 16px 28px; box-sizing: border-box; }
.sv-card { background: #fff; border-radius: 16px; padding: 22px 18px 20px; box-shadow: 0 1px 4px rgba(18,48,58,.1); }
.sv-intro { font-size: 14px; color: #4b6670; margin: 0 0 14px; }
.sv-q { font-size: 23px; line-height: 1.25; font-weight: 800; margin: 0 0 6px; color: #12303a; text-transform: none; }
.sv-sub { font-size: 14px; color: #5c747e; margin: 0 0 14px; }
.sv-chips { margin-bottom: 14px; }
.sv-chips label { flex: 1 1 100%; }
.sv-chips span { justify-content: flex-start; text-align: left; min-height: 52px; font-size: 16px; padding: 0 16px; }
.sv-chips.sv-small label { flex: 1 1 auto; }
.sv-chips.sv-small span { justify-content: center; text-align: center; min-height: 46px; font-size: 15px; }
.sv-chips input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.sv-chips input[type=checkbox]:checked + span { background: #177b85; border-color: #177b85; color: #fff; }
.sv-nav { display: flex; gap: 10px; margin-top: 18px; }
.sv-nav .ql-btn { margin-top: 0; }
.sv-nav .sv-next { flex: 2; }
.sv-nav .sv-back, .sv-nav .sv-skip { flex: 1; }
.sv-stars { display: flex; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.sv-star { width: 56px; height: 56px; border: 0; background: transparent; font-size: 44px; line-height: 1; color: #cbd8de; cursor: pointer; }
.sv-star.on { color: #f2a900; }
.sv-starlab { text-align: center; min-height: 20px; margin: 0 0 12px; }
.sv-foot { text-align: center; font-size: 12px; color: #5c747e; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.sv-foot a { color: #17707a; }
.sv-result { text-align: center; }
.sv-result .ar-list { text-align: left; margin: 10px 0; }
.sv-bigscore { font-size: 20px; margin: 0 0 10px; }
.sv-bigscore strong { font-size: 54px; line-height: 1; color: #177b85; }
.sv-bigscore em { display: block; font-style: normal; font-size: 16px; font-weight: 700; color: #5c747e; }
.sv-check { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: #e3f5e9; color: #1e7a3c; font-size: 30px; line-height: 56px; font-weight: 700; }
/* scores, shared with the listing card */
.ar-big { margin: 4px 0 2px; font-size: 18px; }
.ar-big strong { font-size: 40px; line-height: 1; color: #12303a; }
.ar-big span { color: #5c747e; margin: 0 8px 0 4px; }
.ar-big em { font-style: normal; font-weight: 700; color: #26414b; }
.ar-bar { display: inline-block; vertical-align: middle; width: 90px; height: 8px; background: #e6eef1; border-radius: 4px; margin-left: 8px; overflow: hidden; }
.ar-bar i { display: block; height: 100%; background: #475569; border-radius: 4px; }
.ar-list li { grid-template-columns: 1fr auto; grid-template-areas: "q a"; align-items: center; }
.ar-list .ar-q { grid-area: q; text-transform: none; letter-spacing: 0; font-size: 15px; color: #26414b; font-weight: 600; }
.ar-list .ar-a { grid-area: a; font-size: 16px; }
.ar-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 10px; font-size: 14px; color: #17707a; }
.ar-facts { list-style: none; margin: 8px 0 0; padding: 0; }
.ar-facts li { padding: 8px 0; border-top: 1px solid #eef3f5; font-size: 15px; }
.ar-facts span { display: block; font-size: 12px; color: #5c747e; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.ar-method { padding-left: 18px; font-size: 14px; line-height: 1.5; }
.ar-estates { width: 100%; border-collapse: collapse; font-size: 15px; }
.ar-estates td, .ar-estates th { padding: 8px 6px; border-top: 1px solid #eef3f5; text-align: left; }
.ar-why { font-style: italic; color: #26414b; margin: 6px 0; }
.sv-result .sv-sub { margin-top: 16px; }

/* area report v2: estates and street housing apart, amenities */
.ar-group { margin: 12px 0 16px; padding: 12px 14px; background: #f6fafb; border: 1px solid #dbe6ea; border-radius: 12px; }
.ar-group h4 { font-size: 15px; font-weight: 800; margin: 0 0 6px; color: #12303a; }
.ar-group h4 small { font-weight: 600; color: #5c747e; font-size: 12px; }
.ar-amen { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.ar-ico { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 16px; background: #eaf7f8; color: #115f67; font-size: 13px; font-weight: 600; }
.ar-ico i { font-style: normal; }

/* money ranges: two to a row, so nine ranges are four short rows instead of nine tall ones */
.sv-chips.sv-money label { flex: 1 1 calc(50% - 8px); }
.sv-chips.sv-money span { font-size: 14px; padding: 0 6px; min-height: 48px; }
.sv-chips.sv-small[data-f="gen_blocks"] label, .sv-chips.sv-small[data-f="flood_why"] label, .sv-chips.sv-small[data-f="amenities"] label { flex: 1 1 calc(50% - 8px); }

/* Spotify-Wrapped share card UI (ops#520 Item G, ops#554) */
.sv-wrapped-box { margin: 20px 0 16px; padding: 18px 14px; background: #0b171d; border-radius: 16px; color: #fff; text-align: center; box-sizing: border-box; }
.sv-wrapped-title { font-size: 19px; font-weight: 800; color: #00e599; margin: 0 0 6px; letter-spacing: -0.01em; }
.sv-wrapped-sub { font-size: 13px; color: #94a3b8; margin: 0 0 14px; line-height: 1.4; }
.sv-fmt-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.sv-fmt-btn { flex: 1; max-width: 170px; min-height: 44px; padding: 8px 12px; border: 1px solid #223e4b; background: #132630; color: #cbd5e1; border-radius: 24px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; box-sizing: border-box; }
.sv-fmt-btn.on { background: #00e599; color: #0b171d; border-color: #00e599; }
.sv-toggle-wrap { margin-bottom: 14px; text-align: left; background: #132630; padding: 10px 14px; border-radius: 10px; border: 1px solid #223e4b; box-sizing: border-box; }
.sv-rent-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #e2e8f0; cursor: pointer; user-select: none; }
.sv-rent-toggle input[type="checkbox"] { width: 18px; height: 18px; accent-color: #00e599; cursor: pointer; flex-shrink: 0; }
.sv-preview-frame { margin: 0 auto 16px; max-width: 310px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.5); background: #0b171d; line-height: 0; }
.sv-card-preview { width: 100%; height: auto; display: block; border-radius: 12px; }
.sv-card-preview.vertical { aspect-ratio: 9 / 16; max-height: 380px; object-fit: contain; }
.sv-card-preview.portrait { aspect-ratio: 4 / 5; max-height: 350px; object-fit: contain; }
.sv-card-preview.square { aspect-ratio: 1 / 1; max-height: 310px; object-fit: contain; }
.sv-wrapped-highlights { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 16px 0; }
.sv-hl-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; }
.sv-hl-strong { background: rgba(0, 229, 153, 0.15); color: #00b87a; border: 1px solid rgba(0, 229, 153, 0.35); }
.sv-hl-weak { background: rgba(255, 99, 88, 0.15); color: #e0483d; border: 1px solid rgba(255, 99, 88, 0.35); }
.sv-share-actions { display: flex; flex-direction: column; gap: 8px; }
.sv-share-actions .ql-btn { margin: 0; width: 100%; box-sizing: border-box; min-height: 48px; }
.sv-share-ico { font-size: 15px; margin-right: 6px; }
@media (max-width: 390px) {
  .sv-wrapped-box { padding: 14px 10px; }
  .sv-fmt-btn { font-size: 12px; padding: 6px 8px; }
  .sv-preview-frame { max-width: 100%; }
}
/* from the result to the site (owner, 30 Oct): three buttons and the invite line, every tap target at least 44px */
.sv-cta { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 4px; }
.sv-cta .ql-btn { margin: 0; min-height: 48px; text-align: center; line-height: 1.25; padding: 8px 16px; }
.sv-cta-invite { margin: 2px 0 0; font-size: 15px; color: #4b6670; text-align: center; }
.sv-cta-invite a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; color: #128c4a; }

/* job applicants: "See how EasyProperty works" on the result screen (owner, 8 Nov 2026) */
.sv-works { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; padding: 16px; border: 1px solid #d7e3e8; border-radius: 10px; }
.sv-works h2 { font-size: 18px; margin: 0; color: #12303a; }
.sv-works p { margin: 0 0 8px; font-size: 15px; color: #374151; }
.sv-works .ql-btn { margin: 0; min-height: 48px; text-align: center; }
.sv-works-card { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 8px; border-radius: 8px; }
