/* The Landlord Ratings. Light only. */
:root {
  --ink:#1a1f2b;
  --muted:#5c6573;
  --line:#e2e6ef;
  --paper:#f4f2ec;
  --card:#ffffff;
  --royal:#4169E1;
  --royal-press:#2f54c4;
  --link:#4169E1;
  --soft:#eef2fc;
  --soft-ink:#24356e;
  --chip:#f4f6fb;
  --ok:#157a45;
  --bad:#a33b32;
  --reply:#f4f6fb;
  --star:#e0a106;
  --star-empty:#d5dbe6;
  --header:#ffffff;
  --input:#ffffff;
  --iframe:#eef1f6;
  --shadow:0 1px 2px rgba(26,31,43,.05), 0 16px 40px rgba(26,31,43,.06);
  color-scheme:light;
}
* { box-sizing:border-box; }
html { background:var(--paper); }
body {
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(65,105,225,.10), transparent 70%),
    var(--paper);
  color:var(--ink);
  font:16px/1.5 Outfit, sans-serif;
}
::selection { background:var(--royal); color:#fff; }
a { color:var(--link); }
img { max-width:100%; }
.sr {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 40px;
  background:var(--header);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 8px 24px rgba(26,31,43,.04);
}
header:before {
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:3px;
  background:var(--royal);
}
.brand { display:flex; align-items:center; text-decoration:none; }
.brand .wordmark { height:64px; width:auto; display:block; }
nav { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
nav a { text-decoration:none; font-weight:500; font-size:15px; color:var(--ink); }
nav a:hover:not(.btn) { color:var(--link); }
nav a[aria-current="page"]:not(.btn) { color:var(--link); }
nav .btn, a.primary, button.primary, .search button {
  display:inline-block;
  background:var(--royal);
  color:#fff;
  border:0;
  border-radius:999px;
  padding:10px 16px;
  font:600 14px Outfit, sans-serif;
  cursor:pointer;
  text-decoration:none;
}
nav .btn:hover, a.primary:hover, button.primary:hover, .search button:hover { background:var(--royal-press); color:#fff; }

.hero {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:48px 24px 56px;
  position:relative;
}
.hero:before {
  content:"";
  position:absolute;
  width:min(720px, 90vw);
  height:min(720px, 90vw);
  left:50%;
  top:42%;
  transform:translate(-50%, -50%);
  background:radial-gradient(circle, rgba(65,105,225,.14), rgba(65,105,225,0) 68%);
  pointer-events:none;
}
.hero > * { position:relative; z-index:1; }
.mark {
  background:#fff;
  border-radius:28px;
  padding:12px 22px 16px;
  box-shadow:var(--shadow);
  margin:0 0 28px;
}
.mark img { width:min(460px, 78vw); height:auto; display:block; }
h1 {
  font-family:"Source Serif 4", serif;
  font-weight:650;
  font-size:40px;
  letter-spacing:-0.02em;
  margin:0 0 22px;
  color:var(--ink);
}
.hero h1 { max-width:16ch; }

.search {
  display:flex;
  width:min(640px, 100%);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 6px 6px 22px;
  box-shadow:var(--shadow);
}
.search:focus-within { border-color:var(--royal); box-shadow:0 0 0 4px rgba(65,105,225,.18); }
.search input {
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ink);
  font:15px Outfit, sans-serif;
  min-width:0;
}
.search input::placeholder { color:var(--muted); }

.suggest-wrap { position:relative; z-index:40; width:min(640px, 100%); }
.suggest-wrap.suggest-block { width:100%; }
.suggest-wrap > .search { width:100%; }
.suggest {
  position:absolute;
  z-index:30;
  left:0;
  right:0;
  top:calc(100% + 6px);
  margin:0;
  padding:6px;
  list-style:none;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  max-height:280px;
  overflow:auto;
  text-align:left;
}
.suggest li { margin:0; }
.suggest button {
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  color:var(--ink);
  border:0;
  border-radius:10px;
  padding:8px 12px;
  font:14px Outfit, sans-serif;
  cursor:pointer;
}
.suggest button:hover,
.suggest button[aria-selected="true"] { background:var(--soft); color:var(--soft-ink); }

.doors {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  width:min(840px, 100%);
  margin:36px 0 0;
  text-align:left;
}
.door {
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
  border:1px solid var(--line);
  border-top:3px solid var(--royal);
  border-radius:18px;
  padding:20px 18px 18px;
  text-decoration:none;
  color:var(--ink);
  box-shadow:0 1px 2px rgba(26,31,43,.04), 0 12px 28px rgba(26,31,43,.05);
  transition:transform .15s ease, border-color .15s ease;
}
.door:hover { border-color:var(--royal); transform:translateY(-2px); }
.door strong { font-weight:600; font-size:17px; }
.door span { color:var(--muted); font-size:14px; line-height:1.45; }
.more { margin:22px 0 0; color:var(--muted); font-size:14px; }
.more a { font-weight:600; text-decoration:none; }
.more a:hover { text-decoration:underline; }
.dot { margin:0 8px; color:var(--line); }

main { flex:1; width:min(1040px, 100%); margin:0 auto; padding:36px 24px 72px; }
.page-intro { margin:8px 0 22px; position:relative; z-index:5; }
.page-intro h1 { font-size:36px; margin:0 0 16px; }
.page-intro .search { width:min(640px, 100%); }

.toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px;
}
.cityfilter { display:flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:600; }
.cityfilter select { width:auto; min-width:160px; }
.browse { margin:0; color:var(--muted); font-size:14px; }
.browse button {
  background:none;
  border:0;
  color:var(--link);
  font:600 14px Outfit, sans-serif;
  cursor:pointer;
  padding:0;
}
.browse button:hover, .browse button.on { text-decoration:underline; }
.textlink { font-weight:600; text-decoration:none; }
.textlink:hover { text-decoration:underline; }

.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.card {
  display:block;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 18px 16px;
  text-align:left;
  color:inherit;
  text-decoration:none;
  box-shadow:0 1px 0 rgba(26,31,43,.02), 0 10px 24px rgba(26,31,43,.04);
}
.card:hover { border-color:var(--royal); }
.top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.name { font-weight:600; }
.meta, .landlord { color:var(--muted); font-size:13px; margin-top:2px; }
.score { background:var(--royal); color:#fff; border-radius:12px; min-width:52px; text-align:center; padding:8px 8px 6px; }
.score b { display:block; font-size:18px; line-height:1; }
.score span { font-size:11px; letter-spacing:.04em; }
.kind { display:inline-block; margin:14px 0 10px; background:var(--chip); border-radius:999px; padding:4px 10px; font-size:13px; color:var(--ink); }
.line { font-size:14px; margin:4px 0; }
.line b { font-weight:600; }
.ok { color:var(--ok); }
.bad { color:var(--bad); }
.quote { margin:10px 0 0; font-size:14px; }

.detail { margin-top:16px; background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
.detail-body { padding:20px 22px 8px; border-top:3px solid var(--royal); }
.stars { color:var(--star); letter-spacing:1px; }
.host { display:inline-block; margin-left:8px; background:var(--royal); color:#fff; border-radius:999px; padding:2px 8px; font-size:12px; font-weight:600; vertical-align:2px; }
iframe { width:100%; height:280px; border:0; display:block; background:var(--iframe); }
.about { margin:8px 0 12px; }
.sortline { display:flex; gap:14px; margin:12px 0 4px; }
.sortline button { background:none; border:0; padding:0; color:var(--muted); font:600 13px Outfit, sans-serif; cursor:pointer; }
.sortline button.on { color:var(--link); }
.reviews { margin:0 0 8px; }
.rev { border-top:1px solid var(--line); padding:14px 0; }
.who { display:flex; justify-content:space-between; gap:12px; align-items:baseline; font-size:14px; }
.who b { font-weight:600; }
.tag { display:inline-block; margin-left:8px; background:var(--soft); color:var(--soft-ink); border-radius:999px; padding:2px 8px; font-size:12px; font-weight:600; }
.rev p { margin:8px 0; }
.rev .reply { background:var(--reply); color:var(--ink); border-radius:12px; padding:10px 12px; }
.mini { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.mini span { background:var(--chip); border-radius:999px; padding:3px 8px; font-size:12px; }
.mini .badchip { color:var(--bad); }
.s, .picker button { font-style:normal; color:var(--star-empty); }
.s.full, .picker button.on { color:var(--star); }
.s.half, .picker button.half { background:linear-gradient(90deg, var(--star) 50%, var(--star-empty) 50%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.picker { display:flex; gap:2px; }
.picker button { background:none; border:0; font-size:28px; line-height:1; cursor:pointer; padding:0 2px; }

form.review { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px; max-width:640px; box-shadow:var(--shadow); }
label { display:block; font-size:13px; font-weight:600; margin:14px 0 6px; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  font:15px Outfit, sans-serif;
  background:var(--input);
  color:var(--ink);
}
textarea { min-height:72px; resize:vertical; }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, select:focus, textarea:focus { outline:2px solid var(--royal); border-color:var(--royal); }
.row { display:flex; justify-content:space-between; align-items:center; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { border:1px solid var(--line); background:var(--input); color:var(--ink); border-radius:999px; padding:7px 12px; font:14px Outfit, sans-serif; cursor:pointer; }
.chip.on { background:var(--soft); border-color:var(--royal); color:var(--soft-ink); }
.note { color:var(--muted); font-size:14px; }
.empty { color:var(--muted); }
.purpose { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:22px 24px; max-width:640px; margin-top:28px; box-shadow:var(--shadow); }
.purpose h2 { margin-top:0; }
.purpose p { margin:0 0 10px; }
.purpose p:last-child { margin:0; }
h2 { font-family:"Source Serif 4", serif; font-size:26px; font-weight:650; margin:28px 0 12px; color:var(--ink); }

#map { height:560px; border:1px solid var(--line); border-radius:16px; background:var(--iframe); position:relative; z-index:0; box-shadow:var(--shadow); }
.pin-wrap { background:none !important; border:none !important; }
.pin {
  background:var(--royal);
  color:#fff;
  border:2px solid #fff;
  border-radius:999px;
  min-width:44px;
  text-align:center;
  padding:3px 8px;
  font:700 13px Outfit, sans-serif;
  box-shadow:0 1px 4px rgba(26,31,43,.35);
  line-height:1.2;
  cursor:pointer;
}
.pin-pop { font:14px/1.4 Outfit, sans-serif; color:var(--ink); }
.pin-pop-title { color:var(--royal); font-weight:650; text-decoration:none; }
.pin-pop-title:hover { text-decoration:underline; }
.pin-pop-meta { margin:4px 0 8px; color:var(--muted); font-size:13px; }
.pin-rev { margin:0 0 10px; }
.pin-rev-who { margin:0 0 2px; font-weight:600; font-size:13px; }
.pin-rev-text { margin:0; white-space:normal; }
.leaflet-popup-content { margin:12px 14px; max-height:320px; overflow:auto; }
.map-note { margin:0 0 12px; }

footer {
  border-top:1px solid var(--line);
  padding:20px 40px 32px;
  display:flex;
  justify-content:center;
  text-align:center;
  gap:18px;
  font-size:14px;
  background:var(--header);
}
footer a { color:var(--link); text-decoration:none; }
footer a:hover { text-decoration:underline; }
button:focus-visible, a:focus-visible { outline:2px solid var(--royal); outline-offset:2px; }

@media (max-width:800px) {
  header { padding:14px 18px; }
  .brand .wordmark { height:44px; }
  h1, .page-intro h1 { font-size:32px; }
  .doors, .grid { grid-template-columns:1fr; }
  main { padding:28px 18px 56px; }
  footer { padding:20px 18px 32px; }
}

.contact-list { list-style:none; margin:18px 0 0; padding:0; max-width:640px; }
.contact-list li { margin:0 0 10px; font-size:16px; }
.contact-list span { display:inline-block; min-width:5.5em; color:var(--muted); font-size:13px; font-weight:600; }

#app-home, #app-profile { display:flex; flex-direction:column; flex:1; }
.savebar { margin:12px 0 8px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.note.ok { color:var(--ok); }
#my-saves { margin-top:4px; }

button.textbtn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--royal);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.property-map { height:280px; width:100%; background:var(--iframe); position:relative; z-index:0; }
.mappin {
  width:16px;
  height:16px;
  margin:1px 0 0 3px;
  background:var(--royal);
  border:2px solid #fff;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  box-shadow:0 1px 4px rgba(26,31,43,.4);
}
.loc-card {
  margin-top:16px;
  background:var(--card);
  border:1px solid var(--line);
  border-top:3px solid var(--royal);
  border-radius:16px;
  padding:16px 18px 18px;
  box-shadow:var(--shadow);
}
.loc-card h2 { margin:12px 0 2px; font-size:28px; }
.loc-sub { margin:0 0 8px; color:var(--muted); }
.loc-kicker { margin:14px 0 6px; font-weight:600; letter-spacing:.01em; }
.loc-card iframe.sv { height:200px; border-radius:12px; }
.loc-places { list-style:none; margin:0; padding:0; }
.loc-places li { padding:10px 0; border-top:1px solid var(--line); }
.loc-name { color:var(--royal); font-weight:600; }
.loc-rate { color:var(--ink); margin-top:2px; }
.loc-places a { color:var(--link); text-decoration:none; }
.loc-places a:hover { text-decoration:underline; }
.property-map .leaflet-top, .property-map .leaflet-bottom, #map .leaflet-top, #map .leaflet-bottom { z-index:5; }

h2:has(+ .addr-sub) { margin-bottom: 2px; }
.addr-sub { margin: 0 0 12px; color: var(--muted); }
.page-intro .addr-sub { margin: -8px 0 14px; }

.recent-searches {
  width:min(840px, 100%);
  margin:28px auto 0;
  text-align:left;
}
.recent-searches h2 {
  font-family:"Source Serif 4", Georgia, serif;
  font-size:28px;
  font-weight:650;
  margin:0 0 10px;
}
.recent-searches .grid { margin-top:12px; }
