/* auto-bundle public-polish sources=1 asset-format=copy-v1 source-sha256=af48ff27e0d131e4012258357765d26febb32d308b34d5f77e975bdafd104ff1 */
/* /assets/css/polish-2026.css */
/* =====================================================================
   SpanishStudentHousing.nl — Polish pack 2026
   Additive, non-breaking. Targets EXISTING class names from style.css /
   upgrade-2026.css. Safe to load AFTER both. No markup changes required
   for the visual layer; a few opt-in hooks are documented in INSTALL.md.
   Every animation respects prefers-reduced-motion.
   ===================================================================== */

/* ---- 1. Tokens: nudge low-contrast "faint" text up to WCAG AA -------- */
:root{
  --faint:#6c828a;            /* was ~#8aa0a7 — now AA for <16px text     */
  --dssh-ease:cubic-bezier(.2,.7,.3,1);
  --dssh-lift:0 10px 26px rgba(15,43,51,.10);
  --dssh-ring:0 0 0 3px rgba(14,124,134,.28);
  --dssh-surface-edge:#cfe3e7;
  --dssh-surface-shadow:0 10px 28px rgba(20,67,77,.06);
}

/* ---- Roommates v2: a deliberate, privacy-first social search surface --- */
.roommates-page{padding:44px 0 20px;background:radial-gradient(circle at 84% 4%,rgba(73,201,184,.13),transparent 23rem),linear-gradient(180deg,#f5fbfb 0%,var(--bg) 52%)}
.roommates-page .wrap{max-width:1180px}.roommates-hero{display:flex;justify-content:space-between;gap:36px;align-items:flex-end;padding:20px 0 28px;border-bottom:1px solid rgba(14,124,134,.18)}
.roommates-hero h1{max-width:690px;font-size:clamp(32px,4.2vw,54px);line-height:1.02;letter-spacing:-.055em;color:var(--ink);margin:7px 0 12px}.roommates-hero p:not(.eyebrow){max-width:650px;color:var(--ink-soft);font-size:16px;line-height:1.6}
.roommates-hero__action{display:flex;min-width:248px;align-items:flex-end;flex-direction:column;gap:8px}.roommates-hero__action small{max-width:245px;text-align:right;color:var(--ink-soft);font-size:12px;line-height:1.45}.roommates-live{font-size:12px;font-weight:800;color:var(--ok);letter-spacing:.03em}
.roommates-map{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;position:relative;margin:26px 0 22px;padding:0 18px}.roommates-map__line{position:absolute;left:15%;right:15%;top:17px;height:1px;background:linear-gradient(90deg,var(--brand),#79d9d3,var(--cta));z-index:0}.roommates-map>div:not(.roommates-map__line){position:relative;z-index:1;display:flex;flex-direction:column;gap:3px;padding-top:44px}.roommates-map>div:not(.roommates-map__line)::before{content:'';position:absolute;top:5px;left:0;width:24px;height:24px;border:6px solid #eefafa;border-radius:50%;background:var(--brand);box-shadow:0 0 0 1px rgba(14,124,134,.25)}.roommates-map>div:nth-child(3)::before{background:#26b8c4}.roommates-map>div:nth-child(4)::before{background:var(--cta)}.roommates-map b{font-size:14px}.roommates-map span{font-size:12px;color:var(--ink-soft)}
.roommates-tabs{display:flex;align-items:center;gap:4px;overflow:auto;margin:0 0 18px;padding:5px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.83);box-shadow:0 8px 22px rgba(15,43,51,.04)}.roommates-tabs a{position:relative;white-space:nowrap;padding:10px 16px;border-radius:11px;font-size:13px;font-weight:800;color:var(--ink-soft)}.roommates-tabs a:hover{background:var(--brand-soft);color:var(--brand-d)}.roommates-tabs a.is-active{background:var(--ink);color:#fff}.roommates-tabs em{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;border-radius:50%;background:var(--cta);color:#fff;font-size:10px;font-style:normal}
.roommates-activation{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px;padding:23px 26px;border:1px solid #9fded7;border-radius:18px;background:linear-gradient(120deg,#e2fbf3,#f7fffc 65%,#fff7f0)}.roommates-activation h2{font-size:24px;letter-spacing:-.035em;margin:3px 0 7px}.roommates-activation p:not(.eyebrow){max-width:690px;color:var(--ink-soft);font-size:14px}
.roommates-filters{display:grid;grid-template-columns:1.2fr repeat(4,.8fr) auto;gap:10px;align-items:end;margin:0 0 22px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.roommates-filters label{display:grid;gap:5px;font-size:11px;font-weight:800;letter-spacing:.03em;color:var(--ink-soft);text-transform:uppercase}.roommates-filters input,.roommates-filters select{min-width:0;height:42px;padding:0 10px;border:1px solid #cfdee2;border-radius:9px;background:#fff;color:var(--ink);font:600 13px var(--dssh-ui,inherit)}.roommates-filters input:focus,.roommates-filters select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(14,124,134,.13)}.roommates-filters .btn{min-height:42px;padding:8px 14px}
.roommates-results{padding:22px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.86);box-shadow:var(--shadow-sm)}.roommates-results__head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--line)}.roommates-results__head h2{font-size:24px;letter-spacing:-.035em;margin-top:3px}.roommates-results__head>span{padding:5px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-d);font-size:12px;font-weight:800;white-space:nowrap}
.dssh-uploaded-photo{object-fit:cover;object-position:center}.dssh-uploaded-photo--person-wide{object-position:center 40%!important}.dssh-uploaded-photo--person-square{object-position:center}.dssh-uploaded-photo--property{object-position:center}
.roommates-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.roommates-card{position:relative;display:flex;min-width:0;flex-direction:column;padding:12px;border:1px solid #d9e7e9;border-radius:16px;background:#fff;box-shadow:0 1px 0 rgba(15,43,51,.03);transition:transform .18s var(--dssh-ease,ease),box-shadow .18s var(--dssh-ease,ease),border-color .18s ease}.roommates-card:hover{transform:translateY(-3px);border-color:#9dcfd1;box-shadow:0 14px 28px rgba(15,43,51,.09)}.roommates-card__identity{display:block;color:inherit}.roommates-card__photo{position:relative;display:grid;place-items:center;height:150px;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#dff8f0,#f3fffc);color:var(--brand-d);font-size:48px}.roommates-card__photo img{width:100%;height:100%;object-fit:cover}.roommates-card__photo small{position:absolute;left:9px;top:9px;max-width:165px;padding:4px 7px;border:1px solid rgba(14,124,134,.15);border-radius:999px;background:rgba(255,255,255,.85);color:var(--brand-d);font-size:9px;font-weight:800;line-height:1.2}.roommates-card__head{display:flex;justify-content:space-between;gap:8px;align-items:start;padding:13px 2px 5px}.roommates-card__head h2{font-size:18px;letter-spacing:-.03em}.roommates-card__head p{margin-top:2px;color:var(--ink-soft);font-size:12px}.roommates-score{padding:4px 6px;border-radius:7px;background:#f2f8f8;color:var(--brand-d);font-size:10px;font-weight:800;white-space:nowrap}.roommates-card__facts{display:flex;flex-wrap:wrap;gap:5px;padding:0 2px}.roommates-card__facts span,.roommates-tags span{padding:4px 7px;border-radius:999px;background:#f3f7f8;color:#405e66;font-size:10px;font-weight:700;line-height:1.25}.roommates-card__reasons{min-height:19px;margin:10px 2px 0;color:var(--brand-d);font-size:11px;font-weight:800}.roommates-tags{display:flex;flex-wrap:wrap;gap:5px;margin:9px 2px 12px}.roommates-tags span{background:#fff5e9;color:#a25614}.roommates-tags--large{margin:16px 0}.roommates-card__actions{display:flex;align-items:center;gap:9px;margin-top:auto;padding:3px 2px 0}.roommates-card__actions form{margin:0}.roommates-card__actions .btn{min-height:37px;padding:8px 11px;font-size:12px}.roommates-view{font-size:12px;font-weight:800;color:var(--brand-d)}.roommates-waiting{color:var(--ink-soft);font-size:11px;font-weight:700}
.roommates-empty{display:grid;justify-items:start;gap:8px;min-height:210px;padding:42px 18px;background:linear-gradient(135deg,#f7fcfc,#fff);border:1px dashed #b5d6d9;border-radius:14px}.roommates-empty h3{font-size:20px;letter-spacing:-.025em}.roommates-empty p{max-width:520px;color:var(--ink-soft);font-size:14px}.roommates-safety{margin:15px 4px 0;color:var(--ink-soft);font-size:12px;line-height:1.5}
.roommates-invite{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;margin:22px 0 0;padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}.roommates-invite h2{margin:3px 0 6px;font-size:20px;letter-spacing:-.03em}.roommates-invite p:not(.eyebrow){max-width:620px;color:var(--ink-soft);font-size:13px;line-height:1.5}.roommates-invite__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.roommates-invite__actions button{min-height:40px;padding:9px 13px;border:1px solid #b7d9da;border-radius:10px;background:#fff;color:var(--brand-d);font:800 12px var(--dssh-ui,inherit);cursor:pointer}.roommates-invite__actions button[data-share-native]{border-color:var(--cta);background:var(--cta);color:#fff}.roommates-invite__actions button:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(15,43,51,.08)}.roommates-invite__actions button:focus-visible,.roommates-invite-create button:focus-visible{outline:3px solid rgba(14,124,134,.28);outline-offset:3px}.roommates-invite__status{grid-column:1/-1;margin:0!important;font-size:11px!important}.roommates-invite-create{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:13px 15px;border:1px solid #cfe3e7;border-radius:13px;background:#fff}.roommates-invite-create h2{margin:2px 0 4px;font-size:16px}.roommates-invite-create p:not(.eyebrow){max-width:580px;color:var(--ink-soft);font-size:12px;line-height:1.45}.roommates-invite-create--standalone{margin:22px 0 0;padding:18px 20px}.roommates-setup-invite-note{margin-top:13px!important;padding:9px 11px;border:1px solid #a9dcd8;border-radius:10px;background:rgba(255,255,255,.7);color:var(--brand-d)!important;font-size:12px!important;font-weight:700}
.roommates-back{margin-bottom:14px}.roommates-back a{color:var(--brand-d);font-size:13px;font-weight:800}.roommates-profile-wrap{max-width:800px!important}.roommates-profile-card,.roommates-setup-card{border:1px solid #cfe2e4;border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(15,43,51,.09)}.roommates-profile-card{padding:26px}.roommates-profile-card__top{display:flex;align-items:center;gap:16px}.roommates-profile-card__avatar{display:grid;flex:0 0 92px;place-items:center;width:92px;height:92px;overflow:hidden;border-radius:17px;background:#e1faf2;color:var(--brand-d);font-size:44px}.roommates-profile-card__avatar img{width:100%;height:100%;object-fit:cover}.roommates-profile-card h1{font-size:31px;letter-spacing:-.045em}.roommates-profile-card__top p:not(.eyebrow){margin-top:4px;color:var(--ink-soft)}.roommates-match-badge{margin-left:auto;padding:7px 10px;border-radius:999px;background:var(--ok-soft);color:var(--ok);font-size:11px;font-weight:800}.roommates-profile-card__facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0 16px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.roommates-profile-card__facts div{display:grid;gap:3px}.roommates-profile-card__facts small{color:var(--ink-soft);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.roommates-profile-card__facts b{font-size:13px;line-height:1.4}.roommates-profile-card__bio{font-size:15px;line-height:1.65}.roommates-chat{margin-top:22px;padding:18px;border:1px solid #a7dcd8;border-radius:14px;background:#f2fffb}.roommates-chat h2{font-size:18px}.roommates-chat p{margin:5px 0 12px;color:var(--ink-soft);font-size:13px}.roommates-chat textarea,.roommates-bio-label textarea{width:100%;padding:11px;border:1px solid #c8dde0;border-radius:10px;background:#fff;font:inherit}.roommates-chat textarea:focus,.roommates-bio-label textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(14,124,134,.13)}.roommates-chat .btn{margin-top:10px}.roommates-profile-like{margin-top:22px}.roommates-profile-like p{margin-top:8px;color:var(--ink-soft);font-size:12px}.roommates-safety-actions{display:flex;gap:12px;margin-top:24px}.roommates-safety-actions form{margin:0}.roommates-safety-actions button{padding:0;border:0;background:transparent;color:var(--ink-soft);font:700 12px inherit;cursor:pointer;text-decoration:underline}.roommates-safety-actions button:hover{color:var(--danger)}
.roommates-setup-wrap{max-width:840px!important}.roommates-setup-card{overflow:hidden}.roommates-setup-card>header{padding:28px 30px 24px;background:linear-gradient(130deg,#e3fbf4,#f7fffc 60%,#fff8ef)}.roommates-setup-card h1{font-size:34px;letter-spacing:-.045em;margin:5px 0 8px}.roommates-setup-card header p:not(.eyebrow){max-width:670px;color:var(--ink-soft);font-size:14px}.roommates-setup-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:13px 30px;background:#fff;border-bottom:1px solid var(--line);color:var(--brand-d);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.roommates-setup-card>section{padding:24px 30px;border-bottom:1px solid var(--line)}.roommates-setup-card>section h2{font-size:20px;letter-spacing:-.03em}.roommates-setup-card>section>p{margin:5px 0 17px;color:var(--ink-soft);font-size:13px}.roommates-setup-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.roommates-setup-grid--three{grid-template-columns:repeat(3,1fr)}.roommates-setup-grid label,.roommates-bio-label{display:grid;gap:6px;color:var(--ink);font-size:12px;font-weight:800}.roommates-setup-grid label small{color:var(--ink-soft);font-size:10px;font-weight:600}.roommates-setup-grid input,.roommates-setup-grid select{width:100%;min-height:43px;padding:9px 10px;border:1px solid #c8dde0;border-radius:10px;background:#fff;color:var(--ink);font:600 14px var(--dssh-ui,inherit)}.roommates-setup-grid input:focus,.roommates-setup-grid select:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px rgba(14,124,134,.13)}.roommates-tag-picker{margin-top:20px;padding:0;border:0}.roommates-tag-picker legend{margin-bottom:9px;font-size:12px;font-weight:800}.roommates-tag-picker>div{display:flex;flex-wrap:wrap;gap:7px}.roommates-tag-picker label{position:relative}.roommates-tag-picker input{position:absolute;opacity:0}.roommates-tag-picker span{display:block;padding:7px 10px;border:1px solid #d4e2e4;border-radius:999px;color:var(--ink-soft);font-size:12px;font-weight:700;cursor:pointer}.roommates-tag-picker input:checked+span{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-d)}.roommates-tag-picker input:focus-visible+span{outline:3px solid rgba(14,124,134,.25);outline-offset:2px}.roommates-bio-label{margin-top:20px}.roommates-setup-publish{background:#fbfdfd}.roommates-check{display:flex;align-items:start;gap:10px;margin-top:12px;font-size:13px;line-height:1.45;cursor:pointer}.roommates-check input{width:18px;height:18px;margin-top:1px;accent-color:var(--brand)}.roommates-check--publish{margin-top:18px;padding:14px;border:1px solid #a9dcd8;border-radius:12px;background:#effbf8}.roommates-check small{display:block;margin-top:3px;color:var(--ink-soft);font-size:12px}.roommates-setup-card footer{display:flex;justify-content:space-between;gap:12px;padding:19px 30px}
@media(max-width:860px){.roommates-hero{align-items:flex-start;flex-direction:column}.roommates-hero__action{align-items:flex-start}.roommates-hero__action small{text-align:left}.roommates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.roommates-filters{grid-template-columns:repeat(3,1fr)}.roommates-filters label:first-of-type{grid-column:span 2}.roommates-filters .btn{grid-column:span 1}.roommates-setup-grid--three{grid-template-columns:1fr 1fr}.roommates-setup-grid--three label:last-child{grid-column:span 2}}
@media(max-width:600px){.roommates-page{padding:26px 0 16px}.roommates-hero{padding-top:6px;gap:18px}.roommates-hero h1{font-size:35px}.roommates-map{gap:7px;padding:0 4px}.roommates-map__line{left:10%;right:10%}.roommates-map>div:not(.roommates-map__line){padding-top:38px}.roommates-map b{font-size:11px}.roommates-map span{font-size:10px}.roommates-activation{align-items:flex-start;flex-direction:column;padding:18px}.roommates-activation h2{font-size:21px}.roommates-filters{grid-template-columns:1fr 1fr}.roommates-filters label:first-of-type{grid-column:span 2}.roommates-filters .btn{grid-column:span 2}.roommates-results{padding:15px}.roommates-results__head h2{font-size:20px}.roommates-grid{grid-template-columns:1fr}.roommates-invite{grid-template-columns:1fr;gap:15px;padding:18px}.roommates-invite__actions{justify-content:flex-start}.roommates-invite__actions button{flex:1 1 auto}.roommates-invite-create,.roommates-invite-create--standalone{align-items:flex-start;flex-direction:column;padding:15px}.roommates-invite-create button{width:100%}.roommates-profile-card{padding:18px}.roommates-profile-card__top{align-items:flex-start}.roommates-profile-card__avatar{flex-basis:68px;width:68px;height:68px;font-size:34px}.roommates-profile-card h1{font-size:25px}.roommates-match-badge{margin:8px 0 0 -84px;align-self:flex-end}.roommates-profile-card__facts{grid-template-columns:1fr 1fr}.roommates-setup-card>header,.roommates-setup-card>section,.roommates-setup-card footer{padding-left:18px;padding-right:18px}.roommates-setup-card h1{font-size:28px}.roommates-setup-progress{padding:12px 18px;font-size:9px}.roommates-setup-grid,.roommates-setup-grid--three{grid-template-columns:1fr}.roommates-setup-grid--three label:last-child{grid-column:auto}.roommates-setup-card footer{flex-direction:column-reverse}.roommates-setup-card footer .btn{width:100%}}

/* ---- Homepage hero: a real Eindhoven city layer, kept intentionally quiet --
   The search surface stays the focal point; the image gives the landing page a
   sense of place without turning it into a marketing poster. ---------------- */
.hero.hero--city-backdrop{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#eef6f7;
}
.hero--city-backdrop .hero__city-photo,
.hero--city-backdrop .hero__city-wash{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.hero--city-backdrop .hero__city-photo{
  z-index:-2;
  background:url('/assets/img/guides/city/eindhoven.jpg') center 46% / cover no-repeat;
  opacity:.24;
  filter:saturate(.78) contrast(.9);
}
.hero--city-backdrop .hero__city-wash{
  z-index:-1;
  background:rgba(244,247,248,.84);
}
.hero--city-backdrop .grid2{position:relative;}
.hero--city-backdrop .searchbox,
.hero--city-backdrop .pcard,
.hero--city-backdrop .premcard{
  box-shadow:0 12px 30px rgba(15,43,51,.11);
}
.hero--city-backdrop .searchbox{border-color:rgba(255,255,255,.84);}

@media(max-width:900px){
  .hero--city-backdrop .hero__city-photo{
    background-position:62% center;
    opacity:.16;
  }
  .hero--city-backdrop .hero__city-wash{background:rgba(244,247,248,.91);}
}

/* ---- Product surface pass: cleaner hierarchy, calmer depth ------------
   Inspired by modern job/product interfaces, but kept native to DSH: the
   teal/orange system remains and dense housing/search surfaces stay useful. */
:root{
  --dssh-ui:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --dssh-card-edge:rgba(15,43,51,.10);
  --dssh-card-shadow:0 1px 2px rgba(15,43,51,.04),0 10px 26px rgba(15,43,51,.07);
  --dssh-card-shadow-hover:0 3px 7px rgba(15,43,51,.06),0 18px 34px rgba(15,43,51,.10);
}

body{font-family:var(--dssh-ui);}

header.site{
  border-bottom-color:rgba(15,43,51,.09);
  box-shadow:0 1px 0 rgba(15,43,51,.03),0 8px 22px rgba(15,43,51,.025);
}

/* Give public and user-dashboard surfaces a deliberate paper edge. Admin
   tables stay outside this selector so compact operations views do not bloat. */
body:not(.is-admin-panel) .searchbox,
body:not(.is-admin-panel) .pcard,
body:not(.is-admin-panel) .mcard,
body:not(.is-admin-panel) .fc,
body:not(.is-admin-panel) .stp,
body:not(.is-admin-panel) .premcard,
body:not(.is-admin-panel) .plan,
body:not(.is-admin-panel) .listing,
body:not(.is-admin-panel) .panel,
body:not(.is-admin-panel) .authcard{
  border-color:var(--dssh-card-edge);
  box-shadow:var(--dssh-card-shadow);
}

body:not(.is-admin-panel) .searchbox,
body:not(.is-admin-panel) .pcard,
body:not(.is-admin-panel) .mcard,
body:not(.is-admin-panel) .fc,
body:not(.is-admin-panel) .stp,
body:not(.is-admin-panel) .premcard,
body:not(.is-admin-panel) .plan,
body:not(.is-admin-panel) .listing,
body:not(.is-admin-panel) .panel,
body:not(.is-admin-panel) .authcard{border-radius:12px;}

body:not(.is-admin-panel) .searchbox{background:rgba(255,255,255,.96);}

body:not(.is-admin-panel) .mcard:hover,
body:not(.is-admin-panel) .listing:hover,
body:not(.is-admin-panel) .pcard:hover,
body:not(.is-admin-panel) .fc:hover,
body:not(.is-admin-panel) .stp:hover,
body:not(.is-admin-panel) .premcard:hover{
  border-color:rgba(14,124,134,.28);
  box-shadow:var(--dssh-card-shadow-hover);
}

/* A small amount of orange depth makes primary actions easier to spot while
   retaining the existing CTA language. */
.btn{border-radius:10px;}
.btn-pri{box-shadow:0 7px 16px rgba(232,85,31,.18);}
.btn-pri:hover{box-shadow:0 10px 22px rgba(232,85,31,.24);}
.btn-ghost{background:rgba(255,255,255,.92);}

/* Tighter, stronger headings improve scanning in guides, cards and plans
   without introducing a separate web font dependency. */
.fc h3,
.pcard h2,
.pcard h3,
.mcard-bd h2,
.mcard-bd h3,
.plan h3,
.listing h2,
.listing h3,
.panel h3{font-weight:800;letter-spacing:0;}

/* Price/risk chips read as intentional labels instead of floating text. */
.pcard .ph .price,
.mcard-pr,
.listing .img .price{
  border:1px solid rgba(15,43,51,.08);
  box-shadow:0 5px 14px rgba(15,43,51,.14);
}

@media(max-width:560px){
  body:not(.is-admin-panel) .searchbox,
  body:not(.is-admin-panel) .pcard,
  body:not(.is-admin-panel) .mcard,
  body:not(.is-admin-panel) .fc,
  body:not(.is-admin-panel) .stp,
  body:not(.is-admin-panel) .premcard,
  body:not(.is-admin-panel) .plan,
  body:not(.is-admin-panel) .listing,
  body:not(.is-admin-panel) .panel,
  body:not(.is-admin-panel) .authcard{border-radius:10px;}
  .btn{min-height:44px;}
}

/* ---- 2. Buttons: confident press + hover, consistent everywhere ------ */
.btn{
  transition:transform .14s var(--dssh-ease), box-shadow .18s var(--dssh-ease),
             background-color .18s var(--dssh-ease), filter .18s var(--dssh-ease);
  will-change:transform;
}
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0) scale(.985); }
.btn-pri:hover{ box-shadow:0 8px 20px rgba(232,85,31,.28); filter:saturate(1.05); }
.btn-ghost:hover{ box-shadow:0 6px 16px rgba(15,43,51,.10); }
.btn:focus-visible{ outline:none; box-shadow:var(--dssh-ring); }

/* ---- 3. Cards: subtle hover lift so the grid feels alive ------------- */
.mcard, .listing, .pcard, .fc, .stp, .premcard{
  transition:transform .18s var(--dssh-ease), box-shadow .2s var(--dssh-ease),
             border-color .2s var(--dssh-ease);
}
.mcard:hover, .listing:hover, .pcard:hover{
  transform:translateY(-3px);
  box-shadow:var(--dssh-lift);
}
.fc:hover, .stp:hover{ transform:translateY(-2px); box-shadow:var(--dssh-lift); }

/* feature / step icons: render as soft branded chips, not bare emoji ---- */
.feat .fc .ic, .steps .stp .n{
  display:inline-grid; place-items:center;
  width:48px; height:48px; border-radius:13px;
  background:var(--brand-soft, #e3f3f4);
  box-shadow:inset 0 0 0 1px rgba(14,124,134,.12);
}

/* "How it works" step numbers: dark-green digits on a white disc with a green
   ring — legible on the light teal band (white digits were invisible). ------ */
.steps .stp .n{
  background:#fff;
  color:#0a5a62;                 /* dark green, same family as the footer */
  font-weight:800; font-size:20px;
  box-shadow:inset 0 0 0 2px rgba(10,90,98,.40);
}

/* ---- 4. Premium / unlock card: one clear, inviting CTA -------------- */
.premcard{
  position:relative; overflow:hidden;
}
.premcard::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  transform:translateX(-120%); transition:transform .7s var(--dssh-ease);
}
.premcard:hover{ transform:translateY(-2px); box-shadow:var(--dssh-lift); }
.premcard:hover::after{ transform:translateX(120%); }
.premcard .pc-cta{ transition:transform .16s var(--dssh-ease); }
.premcard:hover .pc-cta{ transform:translateX(3px); }

/* ---- 5. Trust row: align the emoji to the grid, calmer weight -------- */
.trustrow .t{ transition:color .15s var(--dssh-ease); }
.trustrow .t .ic{
  display:inline-grid; place-items:center;
  width:26px; height:26px; border-radius:8px;
  background:var(--brand-soft, #e3f3f4);
  font-size:14px; line-height:1;
}

/* ---- 6. Hero carousel dots: bigger hit target, smoother state ------- */
.hero-carousel__dot{
  transition:transform .16s var(--dssh-ease), background-color .16s var(--dssh-ease),
             width .2s var(--dssh-ease);
}
.hero-carousel__dot:hover{ transform:scale(1.08); }
.hero-carousel__dot.is-active{ width:30px; border-radius:999px; }

/* ---- 7. Badges (scam score / risk): crisper, tactile ---------------- */
.badge{ transition:transform .15s var(--dssh-ease), box-shadow .15s var(--dssh-ease); }
.pcard:hover .badge, .mcard:hover .badge{ transform:translateY(-1px); }

/* "locked" scam badge: make it read as an invitation, not a wall ------- */
.badge.b-warn{ cursor:help; }

/* ---- 8. Forms: clear focus + comfortable inputs --------------------- */
input[type=text], input[type=email], input[type=password],
input[type=search], input[type=number], select, textarea{
  transition:border-color .15s var(--dssh-ease), box-shadow .15s var(--dssh-ease),
             background-color .15s var(--dssh-ease);
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--brand, #0e7c86);
  box-shadow:var(--dssh-ring);
}

/* ---- 8b. Global control surface: no browser-black form fields --------
   One shared white-and-blue treatment for standalone forms, dashboard
   utilities and admin tools that do not use .formgrid. The city selector is
   excluded because it has its own branded navigation treatment. ---------- */
input:not([type]), input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="url"],
input[type="date"], input[type="time"], input[type="month"], input[type="week"],
input[type="datetime-local"], textarea, select:not([multiple]):not(.city-picker){
  border:1.5px solid #b9dce2;
  border-radius:11px;
  background-color:#fff;
  color:var(--ink, #0f2b33);
  box-shadow:0 1px 0 rgba(14,124,134,.04);
}

input:not([type]), input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="url"],
input[type="date"], input[type="time"], input[type="month"], input[type="week"],
input[type="datetime-local"], textarea, select:not([multiple]):not(.city-picker){
  transition:border-color .16s var(--dssh-ease), box-shadow .16s var(--dssh-ease), background-color .16s var(--dssh-ease);
}

input:not([type]):hover, input[type="text"]:hover, input[type="email"]:hover,
input[type="password"]:hover, input[type="search"]:hover, input[type="number"]:hover,
input[type="tel"]:hover, input[type="url"]:hover, input[type="date"]:hover,
input[type="time"]:hover, input[type="month"]:hover, input[type="week"]:hover,
input[type="datetime-local"]:hover, textarea:hover, select:not([multiple]):not(.city-picker):hover{
  border-color:#74b9c4;
}

input:not([type]):focus, input[type="text"]:focus, input[type="email"]:focus,
input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus,
input[type="tel"]:focus, input[type="url"]:focus, input[type="date"]:focus,
input[type="time"]:focus, input[type="month"]:focus, input[type="week"]:focus,
input[type="datetime-local"]:focus, textarea:focus, select:not([multiple]):not(.city-picker):focus{
  outline:none;
  border-color:#0e8d9a;
  background-color:#fff;
  box-shadow:0 0 0 4px rgba(14,124,134,.16);
}

input::placeholder, textarea::placeholder{ color:#7d9ba2; opacity:1; }

select:not([multiple]):not(.city-picker){
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
  /* Keep the selected value clear of both edges and the chevron. */
  min-height:32px;
  padding:5px 38px 5px 12px;
  line-height:1.25;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%230a6570' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position:right 14px center;
  background-repeat:no-repeat;
  background-size:14px 14px;
}

select[multiple]{ border:1.5px solid #b9dce2; border-radius:11px; background:#fff; color:var(--ink, #0f2b33); }
select[multiple]:focus{ outline:none; border-color:#0e8d9a; box-shadow:0 0 0 4px rgba(14,124,134,.16); }
input[type="checkbox"], input[type="radio"]{ accent-color:var(--brand, #0e7c86); }
input[type="file"]::file-selector-button{ border:1px solid #b9dce2; border-radius:8px; background:#effafa; color:#0a6570; font:inherit; font-weight:700; padding:7px 10px; margin-right:10px; cursor:pointer; }

/* ---- 8c. Shared surface language: calm white cards, clear hierarchy -- */
.panel, .riskbox, .aside-card{
  border-color:var(--dssh-surface-edge);
  box-shadow:0 1px 0 rgba(14,124,134,.03), var(--shadow-sm, 0 2px 8px rgba(15,43,51,.05));
  transition:border-color .18s var(--dssh-ease), box-shadow .18s var(--dssh-ease), transform .18s var(--dssh-ease);
}
.panel:hover, .riskbox:hover, .aside-card:hover{
  border-color:#b8dce0;
  box-shadow:var(--dssh-surface-shadow);
}
.panel h2, .panel h3, .riskbox h2, .riskbox h3, .aside-card h2, .aside-card h3{ letter-spacing:-.012em; }
.panel hr, .riskbox hr{ border:0; border-top:1px solid #dcebed; margin:18px 0; }

/* Feedback should look intentional even when a page uses a simple server flash. */
.flash, .notice, .success{
  border-radius:12px;
  border:1px solid #c8e1e5;
  box-shadow:0 5px 14px rgba(20,67,77,.05);
}

@media (hover:none){
  .panel:hover, .riskbox:hover, .aside-card:hover{ border-color:var(--dssh-surface-edge); box-shadow:0 1px 0 rgba(14,124,134,.03), var(--shadow-sm, 0 2px 8px rgba(15,43,51,.05)); }
}

/* password show/hide toggle injected by polish-2026.js ---------------- */
.dssh-pw-wrap{ position:relative; }
.dssh-pw-toggle{
  position:absolute; top:50%; right:10px; transform:translateY(-50%);
  border:0; background:transparent; cursor:pointer;
  font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--brand, #0e7c86); padding:4px 6px; border-radius:6px; line-height:1;
}
.dssh-pw-toggle:hover{ background:var(--brand-soft, #e3f3f4); }

/* password strength meter --------------------------------------------- */
.dssh-pw-meter{ height:5px; border-radius:5px; background:#eef2f3; margin-top:8px; overflow:hidden; }
.dssh-pw-meter > span{ display:block; height:100%; width:0; border-radius:5px;
  transition:width .25s var(--dssh-ease), background-color .25s var(--dssh-ease); }
.dssh-pw-hint{ font-size:12px; color:var(--faint); margin-top:5px; }

/* ---- 9. Value strip (auth pages) — opt-in markup, see INSTALL ------- */
.dssh-valuestrip{
  display:flex; flex-direction:column; gap:14px;
  background:var(--brand-soft, #e3f3f4);
  border:1px solid rgba(14,124,134,.16);
  border-radius:16px; padding:22px 22px;
}
.dssh-valuestrip h3{ margin:0; font-size:17px; color:#0a5a62; }
.dssh-valuestrip ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.dssh-valuestrip li{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#0c4a51; line-height:1.5; }
.dssh-valuestrip li::before{ content:"✓"; color:var(--brand,#0e7c86); font-weight:800; flex-shrink:0; }
.dssh-valuestrip .dssh-vs-proof{ font-size:13px; color:#0c4a51; opacity:.85; border-top:1px solid rgba(14,124,134,.16); padding-top:12px; }

/* ---- 10. Reassurance row (pricing CTA) — opt-in markup -------------- */
.dssh-reassure{
  display:flex; flex-wrap:wrap; gap:8px 16px; justify-content:center;
  margin-top:12px; font-size:12.5px; color:var(--faint);
}
.dssh-reassure span{ display:inline-flex; align-items:center; gap:5px; }

/* ---- 11. Sticky "save this search" bar (search page) — opt-in ------- */
.dssh-savebar{
  position:fixed; left:50%; bottom:18px; transform:translate(-50%, 140%);
  z-index:60; display:flex; align-items:center; gap:14px;
  background:#0a5a62; color:#fff; padding:12px 16px 12px 18px;
  border-radius:14px; box-shadow:0 14px 38px rgba(10,90,98,.35);
  transition:transform .35s var(--dssh-ease), opacity .2s var(--dssh-ease), visibility .2s var(--dssh-ease);
  max-width:calc(100vw - 28px); opacity:0; visibility:hidden; pointer-events:none;
}
.dssh-savebar.is-shown{ transform:translate(-50%, 0); opacity:1; visibility:visible; pointer-events:auto; }
.dssh-savebar__tx{ font-size:13.5px; line-height:1.35; }
.dssh-savebar__tx b{ display:block; font-size:14.5px; }
.dssh-savebar .btn{ white-space:nowrap; }
.dssh-savebar__x{ background:transparent; border:0; color:rgba(255,255,255,.7); font-size:18px; cursor:pointer; line-height:1; padding:2px 4px; }
.dssh-savebar__x:hover{ color:#fff; }
@media(max-width:560px){ .dssh-savebar__tx b{ font-size:13.5px; } .dssh-savebar{ gap:10px; padding:10px 12px; } }
@media(max-width:900px){
  .dssh-savebar{
    bottom:calc(76px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 20px);
  }
}

/* ---- 12. Scroll-reveal (no-JS safe: hidden ONLY when body opts in) --- */
.dssh-reveal .mcard, .dssh-reveal .fc, .dssh-reveal .stp{
  opacity:0; transform:translateY(14px);
  transition:opacity .5s var(--dssh-ease), transform .5s var(--dssh-ease);
}
.dssh-reveal .is-in{ opacity:1; transform:none; }

/* ---- 13. Flash messages: gentle slide-in -------------------------- */
.flash{ animation:dssh-flash-in .4s var(--dssh-ease) both; }
@keyframes dssh-flash-in{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }

/* ---- 14. Respect reduced motion — kill all of the above motion ----- */
/* Keep faces in the visual centre of the wide directory crop without changing profile avatars. */
.roommates-card__photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 50%!important;}
.roommates-card__photo img.roommates-card__placeholder,
.roommates-card__photo svg.roommates-card__placeholder,
.roommates-profile-card__avatar img.roommates-card__placeholder,
.roommates-profile-card__avatar svg.roommates-card__placeholder{
  width:88px!important;
  height:88px!important;
  object-fit:contain!important;
  object-position:center!important;
  pointer-events:none;
  display:block;
  flex:none;
}
.roommates-profile-card__avatar img.roommates-card__placeholder,
.roommates-profile-card__avatar svg.roommates-card__placeholder{
  width:64px!important;
  height:64px!important;
}
@media (prefers-reduced-motion: reduce){
  .btn, .mcard, .listing, .pcard, .fc, .stp, .premcard, .badge,
  .hero-carousel__dot, .premcard::after, .premcard .pc-cta, .flash{
    transition:none !important; animation:none !important; transform:none !important;
  }
  .dssh-reveal .mcard, .dssh-reveal .fc, .dssh-reveal .stp{ opacity:1; transform:none; }
  .dssh-savebar{ transition:none; }
}

/* Traffic quality cards share the landlord palette but remain usable on the
   admin screen where the KPI grid is intentionally dense. */
.traffic-bounce-quality-panel{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(280px,1.1fr);gap:18px;align-items:center;margin:12px 0 14px;padding:16px 18px!important;border-left:3px solid var(--brand)}
.traffic-quality-kpi{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.traffic-quality-kpi>div{display:grid;gap:3px;padding:11px 12px;border:1px solid #cfe5e7;border-radius:10px;background:#f7fcfc}
.traffic-quality-kpi__label{color:var(--brand-d,#0e6972);font-size:11px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.traffic-quality-kpi strong{font-size:24px;line-height:1.1;color:var(--ink)}
.traffic-quality-kpi small{font-size:11.5px;line-height:1.35;color:var(--ink-soft)}
.traffic-bounce-quality-panel h3{margin:0 0 5px}
.traffic-bounce-quality-panel p{margin:0;line-height:1.5}
.traffic-asn-report{overflow:hidden}
@media (max-width: 900px){.traffic-bounce-quality-panel{grid-template-columns:1fr}.traffic-quality-kpi{max-width:560px}}
@media (max-width: 640px){.traffic-quality-kpi{grid-template-columns:1fr}.traffic-bounce-quality-panel{padding:14px!important}}

/* =====================================================================
   POLISH v2 — graphics & brand layer
   ===================================================================== */

/* ---- v2.1 Inline SVG icon system ----------------------------------- */
.dssh-ic{ display:inline-block; vertical-align:middle; color:var(--brand, #0e7c86); flex:none; }
.trustrow .t .dssh-ic{ width:18px; height:18px; }
/* feature & step icons sit inside the branded chip from §3 */
.feat .fc .ic .dssh-ic{ width:24px; height:24px; }
.botnav .i .dssh-ic{ width:22px; height:22px; }
.botnav a{ color:var(--soft); }
.botnav a.act{ color:var(--brand); }
.headbell .dssh-ic, .navauth .dssh-ic, .footer .dssh-ic{ width:20px; height:20px; }

/* feature-card icon chip: center the SVG cleanly */
.feat .fc .ic{ color:var(--brand-d, #0a5a62); }

/* ---- v2.2 "No photo" placeholder (replaces the 🏠 emoji) ----------- */
.mcard-im--nophoto, .listing .img:has(.img-ph){
  background:
    radial-gradient(circle at 1px 1px, rgba(14,124,134,.10) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(135deg, #eef5f6, #e3eff0);
}
.img-ph{ display:grid; place-items:center; width:100%; height:100%; }
.img-ph .dssh-ic{ width:38px; height:38px; color:rgba(10,90,98,.32); }

/* ---- v2.3 Listing image: consistent ratio, no distortion ----------- */
.mcard-im{ aspect-ratio:16/10; height:auto; }
.listing-thumb{ width:100%; height:100%; object-fit:cover; display:block; }
.listing .img{ aspect-ratio:16/10; overflow:hidden; }

/* ---- v2.4 Brand mark (footer / nav) -------------------------------- */
.footer .logo .mark .dssh-ic{ width:24px; height:24px; color:#fff; }
.dssh-brandmark{ display:inline-grid; place-items:center; width:30px; height:30px; border-radius:9px; background:var(--brand, #0e7c86); }
.dssh-brandmark .dssh-ic{ width:20px; height:20px; color:#fff; }

/* ---- v2.5 Social-proof strip --------------------------------------- */
.dssh-proof{ display:flex; align-items:center; gap:10px 18px; flex-wrap:wrap; margin-top:18px;
  font-size:12.5px; color:var(--faint); letter-spacing:.01em; }
.trustrow .dssh-proof{ margin-top:0; gap:5px 8px; }
.dssh-proof .lbl{ font-weight:700; color:var(--soft); text-transform:uppercase; letter-spacing:.08em; font-size:11px; }
.dssh-proof .unis{ display:flex; gap:6px 10px; flex-wrap:wrap; }
.dssh-proof .unis span{ font-weight:600; color:var(--soft); }
.dssh-proof .unis span + span::before{ content:"·"; margin-right:10px; color:var(--line); }
/* The hero's left column tops out at ~628px (.wrap max-width:1200px), so the
   language picker + full "Trusted by students at ..." wording only fit
   together once the window is wide enough (measured: fits from ~1150px up).
   Below that, keep just the compact university list next to the picker. */
.trustrow .dssh-proof .lbl{ display:none; }
.trustrow .home-trust-tail{
  display:inline-flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:6px 10px;
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.trustrow .home-trust-tail::-webkit-scrollbar{ display:none; }
.trustrow .home-trust-tail__wizard{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  flex-shrink:0;
}
.trustrow .home-trust-tail .lang-select-form--inline{ flex-shrink:0; margin:0; }
.trustrow .home-trust-tail .dssh-proof{
  display:inline-flex;
  align-items:center;
  margin-top:0;
  flex-wrap:nowrap;
  flex-shrink:0;
  gap:4px 6px;
  font-size:12px;
}
.trustrow .home-trust-tail .dssh-proof .lbl{
  display:inline;
  text-transform:none;
  letter-spacing:0;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.trustrow .home-trust-tail .dssh-proof .unis{ flex-wrap:nowrap; gap:4px 7px; }
.trustrow .home-trust-tail .dssh-proof .unis span + span::before{ margin-right:7px; }
@media(min-width:1150px){
  .trustrow .t-lang{ gap:4px 6px; }
  .trustrow .lang-select-form__label--inline{ font-size:12px; }
  .trustrow .city-picker--nav{ min-width:118px; padding:6px 22px 6px 8px; font-size:12px; }
}
@media(max-width:900px){
  .trustrow .home-trust-tail{ grid-column:1 / -1; }
}

.trustrow--landlords{margin-top:14px}
.trustrow--landlords .landlords-trust-tail{
  flex:1 1 100%;
  flex-wrap:nowrap;
  gap:6px 10px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.trustrow--landlords .landlords-trust-tail::-webkit-scrollbar{ display:none; }
.trustrow--landlords .landlords-trust-tail__alerts{ white-space:nowrap; flex-shrink:0; }
.trustrow--landlords .landlords-trust-tail .lang-select-form--inline{ flex-shrink:0; margin:0; }
.trustrow--landlords .landlords-trust-tail .dssh-proof{
  display:inline-flex;
  align-items:center;
  margin-top:0;
  flex-wrap:nowrap;
  flex-shrink:0;
  gap:4px 6px;
  font-size:12px;
}
.trustrow--landlords .landlords-trust-tail .dssh-proof .lbl{
  display:inline;
  text-transform:none;
  letter-spacing:0;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.trustrow--landlords .landlords-trust-tail .dssh-proof .unis{ flex-wrap:nowrap; gap:4px 7px; }
@media(max-width:900px){
  .trustrow--landlords .landlords-trust-tail{ grid-column:1/-1; }
}

/* ---- v2.6 Rent table → mini bar chart ------------------------------ */
.rent-bar{ position:relative; height:10px; border-radius:6px; background:var(--low-bg); min-width:120px; }
.rent-bar__range{ position:absolute; top:0; height:100%; border-radius:6px;
  background:linear-gradient(90deg, rgba(14,124,134,.18), rgba(14,124,134,.34)); }
.rent-bar__median{ position:absolute; top:50%; width:11px; height:11px; border-radius:50%;
  background:var(--brand, #0e7c86); border:2px solid #fff; transform:translate(-50%,-50%);
  box-shadow:0 1px 3px rgba(10,90,98,.4); }
.rent-table td.rent-bar-cell{ min-width:160px; }

/* ---- v2.7 Typography: stronger system stack + heading treatment ----
   (No webfont — site CSP blocks remote fonts. This sharpens the native
    stack and the heading rhythm; see README for the self-host upgrade.) */
h1, h2, h3, .sec, .search-h1{
  font-family:"Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  letter-spacing:-0.018em;
}
h1, .sec{ font-weight:700; }
h1{ line-height:1.08; }

/* ---- v2.8 Section rhythm: cool alternating backgrounds ------------- */
.home-feat{ background:#f3f7f7; }            /* cool teal wash */
.home-stats{ background:#eef5f5; }           /* light teal band */

/* ---- v2.9 Risk badge → subtle weight so it reads as the hero ------- */
.bside .badge, .mcard-bd .badge.b-warn, .mcard-bd .badge.b-ok, .mcard-bd .badge.b-danger{
  font-weight:700;
}

@media (prefers-reduced-motion: reduce){
  .dssh-ic{ transition:none !important; }
}

@media(max-width:900px){
  .dssh-savebar{
    bottom:calc(132px + env(safe-area-inset-bottom));
    transform:translate(-50%, 8px);
    display:grid;
    grid-template-columns:1fr auto auto;
    width:calc(100vw - 20px);
    padding:9px 10px;
    border-radius:14px;
  }
  .dssh-savebar .btn{ min-height:44px; padding:9px 12px; }
  .dssh-savebar__x{ min-width:44px; min-height:44px; }
  .dssh-savebar.is-shown{ transform:translate(-50%, 0); }
}

@media(max-width:560px){
  .dssh-savebar{
    grid-template-columns:1fr auto;
    gap:8px;
  }
  .dssh-savebar__tx{ grid-column:1/-1; }
}

/* Guide article tables (comparison tables in guides_data bodies) — 2026-07 */
.article table{width:100%;border-collapse:collapse;margin:14px 0 18px;font-size:14.5px}
.article table th,.article table td{border:1px solid var(--line,#e3e8ea);padding:8px 10px;text-align:left;vertical-align:top}
.article table thead th,.article table tr:first-child th{background:var(--bg-soft,#f2f7f8);color:var(--ink,#12333a);font-weight:700}
.article table td b{color:var(--ink,#12333a)}
@media(max-width:640px){.article table{display:block;overflow-x:auto}}

/* Search — featured landlord listings */
.listing--featured{
  border:2px solid #e8b04b;
  border-radius:12px;
  box-shadow:0 4px 14px rgba(232,176,75,.25);
}

/* University guide gallery */
.uni-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 20px;
}
.uni-gallery__item{
  margin:0;
  border-radius:12px;
  overflow:hidden;
  background:var(--bg-soft,#f2f7f8);
  aspect-ratio:3/2;
}
.uni-gallery__item img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.uni-cta .cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
@media(min-width:720px){
  .uni-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
  .uni-gallery--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .uni-gallery{grid-template-columns:1fr 1fr}
}

/* University page logo + title */
.uni-page-hero{
  display:flex;
  align-items:center;
  gap:16px;
  margin:8px 0 4px;
}
.uni-logo-wrap{
  flex:0 0 96px;
  width:96px;
  height:96px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line,#e3e8ea);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow:0 1px 2px rgba(18,51,58,.06);
}
.uni-logo{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}
.uni-page-title{
  margin:0;
  flex:1 1 auto;
  line-height:1.25;
}
@media(max-width:640px){
  .uni-page-hero{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .uni-logo-wrap{
    width:80px;
    height:80px;
    flex-basis:80px;
    border-radius:14px;
  }
  .uni-logo{width:60px;height:60px}
}

/* Universities hub — small logos in cards */
.uni-hub-logo{
  width:40px;
  height:40px;
  object-fit:contain;
  border-radius:8px;
  background:#fff;
  border:1px solid var(--line,#e3e8ea);
  padding:4px;
  vertical-align:middle;
  margin-right:8px;
}

/* University contact box */
.uni-contact-box{
  margin:12px 0 20px;
  padding:14px 16px;
}
.uni-contact-list{
  margin:0;
  padding-left:18px;
}
.uni-contact-list li{margin-bottom:6px}
.uni-contact-more{margin:10px 0 0;font-size:14px}

/* Dashboard sidebar support chip */
.side-support-link{
  display:flex;
  align-items:center;
  gap:7px;
  background:#e7f8ee;
  border:1px solid #bfe8cf;
  border-radius:10px;
  padding:7px 10px;
  color:#0f6a3c;
  text-decoration:none;
}
/* Compact on student dash sidebar (desktop); mobile uses hamburger menu */
.side--dash .side-support-link{
  gap:6px;
  border-radius:8px;
  padding:5px 8px;
}

/* Crawlable language links (de-orphaning localized pages) */
.lang-links{margin:10px auto 6px;padding:6px 16px 10px;font-size:13px;color:#5a6b74;border-top:1px solid #e6edf0}
.lang-links a{color:#0e7c86;text-decoration:none}
.lang-links a:hover{text-decoration:underline}
.lang-links__label{font-weight:600;margin-right:6px}

/* Visually hidden text (crawlable anchor text for icon-only links) */
/* Screen-reader-only text. `left:0` is not cosmetic: without it the absolutely
   positioned span keeps the x it would have had in flow, and the one inside the
   rent table's header sat at x=541 — outside the table's scroll wrapper, which
   only clips its own children. That single invisible pixel stretched the
   document to 542px on a 390px phone. It is read aloud either way, so pinning
   it to the containing block costs nothing. */
.vh{position:absolute;left:0;top:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-48px;z-index:100;padding:8px 14px;background:#0e7c86;color:#fff;border-radius:8px;font-weight:700;text-decoration:none}
.skip-link:focus{top:12px}

/* =====================================================================
   POLISH v3 — site-wide visual consistency (2026-07)
   Spacing, CTAs, cards, typography, mobile — brand teal/orange preserved.
   ===================================================================== */

:root{
  --soft:var(--ink-soft,#4a6670);
  --faint:#6c828a;
  --low-bg:#eef4f5;
  --star:#F5B800;
}

/* Typography breathing room */
.hero h1{line-height:1.1}
.hero p.sub{line-height:1.55;margin-top:14px}
.plan ul{gap:9px}
.plan li{line-height:1.45}
.price-grid{gap:20px}
.plan{padding:26px 24px;border-radius:var(--radius,14px);box-shadow:var(--shadow-sm,0 2px 8px rgba(15,43,51,.05))}
.plan.hot,.plan--recommended{box-shadow:var(--shadow,0 6px 24px rgba(15,43,51,.08))}
.plan .btn{width:100%}
.plan form{margin:0}

/* Primary / ghost CTAs — one system everywhere */
.btn{min-height:42px}
/* Admin data grids stay compact — do not inflate table / filter action buttons */
body.is-admin-panel .atable .btn,
body.is-admin-panel .admin-bulk-bar .btn,
body.is-admin-panel .admin-filter-bar .btn,
body.is-admin-panel .admin-user-actions .btn{
  min-height:0;
  height:auto;
  padding:4px 10px;
  font-size:12px;
  line-height:1.25;
  white-space:nowrap;
  transform:none;
}
body.is-admin-panel .atable .btn:hover,
body.is-admin-panel .atable .btn:active,
body.is-admin-panel .admin-bulk-bar .btn:hover,
body.is-admin-panel .admin-bulk-bar .btn:active,
body.is-admin-panel .admin-filter-bar .btn:hover,
body.is-admin-panel .admin-filter-bar .btn:active,
body.is-admin-panel .admin-user-actions .btn:hover,
body.is-admin-panel .admin-user-actions .btn:active{
  transform:none;
}
.btn-pri{background:var(--cta,#ff6b35);color:#fff!important}
.btn-ghost{background:#fff;border:1.5px solid var(--line,#e1eaed)}
.cta-row .btn + .btn{margin-left:0} /* gap handles spacing */

/* Cards aligned */
.mcard,.pcard,.fc,.plan,.panel,.aside-card,.city-card,.similar-card{
  border-radius:var(--radius,14px);
}
.mcard-grid,.mcard-section .mcard-grid{gap:14px}
.feat .fc{height:100%}

/* Feature band: soft cool wash — white cards, no green-on-green */
.home-feat{background:#f3f7f7}
.home-feat .fc{border-color:#dce7ea;box-shadow:0 4px 14px rgba(15,43,51,.04)}
.home-stats{background:#eef5f5}
.home-stats .stat{box-shadow:0 4px 14px rgba(15,43,51,.04)}

/* How-it-works: white step cards on soft teal wash */
.home-how .stp .n{
  background:#fff;
  color:var(--brand-d,#0a5a62);
  box-shadow:inset 0 0 0 2px rgba(10,90,98,.38);
}
.home-how .stp:hover{border-color:rgba(14,124,134,.35)}

/* Testimonials */
.testimonial-stars{color:var(--star,#F5B800)!important}
.testimonial-card:hover{box-shadow:var(--dssh-lift,0 10px 26px rgba(15,43,51,.10))}

/* Scam demo gauges */
.scam-demo .fc{min-height:100%}
.scam-gauge svg path[stroke="var(--line)"]{stroke:#d5e2e5}
.scam-gauge--ok svg path:last-of-type{filter:drop-shadow(0 1px 0 rgba(31,157,107,.15))}
.scam-gauge--warn svg path:last-of-type{filter:drop-shadow(0 1px 0 rgba(224,138,30,.15))}
.scam-gauge--danger svg path:last-of-type{filter:drop-shadow(0 1px 0 rgba(210,80,63,.15))}

/* Search / listing polish */
.searchhead .search-toolbar{border-radius:var(--radius-lg,18px)}

/* Budget range: a compact decision control, not two cramped price menus. */
.search-toolbar .f-budget-range{flex:1.15 1 0;min-width:205px}
.budget-select-fallback{display:flex;align-items:center;gap:5px}
.budget-select-fallback[hidden],.home-budget-select-fallback[hidden]{display:none!important}
@media(max-width:900px),(pointer:coarse){
  #home-search .home-budget-range{display:none!important}
  #home-search .home-budget-select-fallback,
  #home-search .home-budget-select-fallback[hidden]{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
  .search-toolbar .budget-range{display:none!important}
  .search-toolbar .budget-select-fallback,
  .search-toolbar .budget-select-fallback[hidden]{display:flex!important;align-items:center;gap:5px}
}
.budget-select-fallback select{min-width:0;flex:1}
.budget-select-fallback span{font-size:12px;color:var(--faint,#6c828a)}
.budget-range__labelrow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.budget-range__labelrow label{margin:0}
.budget-range{padding-top:2px}
.budget-range__values{display:flex;justify-content:space-between;gap:10px;line-height:1.15}
.budget-range__value{display:flex;align-items:baseline;gap:5px;min-width:0;color:var(--ink-soft,#58717a)}
.budget-range__value small{font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.budget-range__values b,.home-budget-range__values b{display:inline-flex;align-items:center;min-height:23px;padding:3px 8px;border:1px solid #b9dfe4;border-radius:7px;background:#fff;color:#087d88;font-size:12px;font-variant-numeric:tabular-nums;box-shadow:0 1px 2px rgba(15,43,51,.05)}
.budget-range__rails{position:relative;height:24px;margin:1px 5px 0}
.budget-range__base,.budget-range__selected{position:absolute;top:9px;height:6px;border-radius:999px;pointer-events:none}
.budget-range__base{left:0;right:0;background:linear-gradient(90deg,#dcebed,#c8e1e4)}
.budget-range__selected{background:linear-gradient(90deg,#087d88,#26b9c4);box-shadow:0 2px 5px rgba(7,125,136,.25)}
.budget-range input[type="range"]{
  /* Firefox gives a range a 180px intrinsic minimum. The actual rail can be
     narrower on the home form, so constrain the native control to its rail. */
  appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;min-width:0;max-width:100%;box-sizing:border-box;height:24px;
  margin:0;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:none;accent-color:transparent;
}
.budget-range input[type="range"]::-webkit-slider-thumb{
  appearance:none;-webkit-appearance:none;width:18px;height:18px;border:4px solid #fff;border-radius:50%;
  background:#0e7c86;box-shadow:0 0 0 1px rgba(8,125,136,.28),0 3px 7px rgba(10,90,98,.28);cursor:grab;pointer-events:auto;
}
.budget-range input[type="range"]::-moz-range-thumb{
  width:10px;height:10px;border:4px solid #fff;border-radius:50%;background:#0e7c86;
  box-shadow:0 0 0 1px rgba(8,125,136,.28),0 3px 7px rgba(10,90,98,.28);cursor:grab;pointer-events:auto;
}
.budget-range input[type="range"]:active::-webkit-slider-thumb{cursor:grabbing;transform:scale(1.08)}
.budget-range input[type="range"]:active::-moz-range-thumb{cursor:grabbing;transform:scale(1.08)}
.budget-range input[type="range"]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 5px rgba(14,124,134,.20),0 3px 7px rgba(10,90,98,.28)}
.budget-range input[type="range"]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 5px rgba(14,124,134,.20),0 3px 7px rgba(10,90,98,.28)}
.budget-range__scale{display:flex;justify-content:space-between;margin:0 4px;color:#536d75;font-size:9.5px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.budget-range__clear{margin:0;padding:0;border:0;background:transparent;color:#0a7781;font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.budget-range__clear::before{content:'↺';margin-right:4px;font-size:12px;vertical-align:-1px}
.budget-range__clear:hover{text-decoration:underline}
/* Homepage: one clear upper-budget slider; the native menu remains the no-JS fallback. */
.searchbox .f-home-budget{min-width:175px}
.home-budget-range{padding-top:1px;min-height:49px}
.home-budget-range__values{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink,#0f2b33);line-height:1.15}
.home-budget-range__caption{font-size:10px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:var(--ink-soft,#58717a)}
.home-budget-range__values b{font-size:13px}
.home-budget-range .budget-range__rails{margin:1px 5px 0;height:22px}
.home-budget-range .budget-range__base,.home-budget-range .budget-range__selected{top:8px}
.home-budget-range__clear{margin-top:3px;padding:0;border:0;background:transparent;color:#0a7781;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.home-budget-range__clear::before{content:'↺';margin-right:4px;font-size:12px;vertical-align:-1px}
.home-budget-range__clear:hover{text-decoration:underline}
@media(max-width:640px){.home-budget-range{min-height:54px}.home-budget-range__values b{font-size:14px}}

/* Desktop home search: explicit grid makes the action placement consistent.
   The mobile grid in
   style.css continues to own layouts at 560px and below. */
@media(min-width:561px){
  #home-search{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(175px,1.15fr) auto;gap:10px;align-items:stretch}
  #home-search .f{min-width:0}
  #home-search>.btn{grid-column:4;grid-row:1;align-self:stretch;box-sizing:border-box;position:relative;z-index:2}
  #home-search .match-estimate-widget{grid-column:1/-1;min-width:0}
}
/* The polished budget controls become full-width decision controls on phones. */
@media(max-width:760px){
  .searchbox .f-home-budget{min-width:0}
  .home-budget-range,.search-toolbar .f-budget-range .budget-range{width:100%;box-sizing:border-box}
  .budget-range__rails{margin-left:7px;margin-right:7px}
  .budget-range__scale{margin-left:6px;margin-right:6px}
}

@media(max-width:420px){
  .budget-range__value small{font-size:9px}
  .budget-range__values b,.home-budget-range__values b{min-height:22px;padding:3px 7px;font-size:11px}
  .home-budget-range__values b{font-size:12px}
}

/* Desktop filter balance: campus needs room for two controls; a city-centre
   radius is a short choice and should never swallow the toolbar. */
@media(min-width:901px){
  .search-toolbar .f{padding:8px 9px}
  .search-toolbar .f-city{min-width:118px;max-width:150px}
  .search-toolbar .f-type{min-width:84px;max-width:102px}
  .search-toolbar .f-budget{min-width:76px;max-width:94px}
  .search-toolbar .f-budget-range{min-width:205px;max-width:238px}
  .search-toolbar .f-distance-center{flex:0 1 142px;min-width:128px;max-width:142px}
  .search-toolbar .f-distance-uni{flex:1.15 1 0;min-width:160px}
  .search-toolbar .f-sort{min-width:78px;max-width:92px}
  .search-toolbar .f-split{gap:8px}
  .search-toolbar .f-split select{padding-left:11px;padding-right:34px}
  .search-toolbar .search-actions{flex:0 0 112px;align-items:center;padding:8px}
  .search-toolbar .search-actions .btn{width:100%;padding:10px 8px}
}
.listing,.mcard{border-color:#dce7ea}
.chips,.filters{gap:8px}

/* Nav light cleanup */
header.site{backdrop-filter:saturate(1.1) blur(8px);background:rgba(255,255,255,.94)}
nav.main a{transition:color .15s ease}
.headcta{gap:8px}
.headcta .btn{padding:9px 16px;min-height:40px;font-size:13.5px}

/* Pricing page rhythm */
section.blk.pricing-page{padding:28px 0 48px}
.pricing-proof-strip{border-radius:var(--radius,14px);box-shadow:var(--shadow-sm)}
.pricing-intro-card{border-radius:var(--radius,14px)}

/* Guides / landlords shared panels */
.panel{border-radius:var(--radius,14px)}
.landlords-season-pill{
  display:inline-block;margin:0 0 10px;padding:6px 12px;border-radius:8px;
  background:#fff4e0;border:1px solid #f0d089;font-size:13.5px;font-weight:700
}
.found-room-next{border:1px solid var(--brand);background:var(--brand-soft)}
.found-room-next h3{margin-top:0}
.found-room-next__lead{margin:0 0 12px}
.deals-grid .deal-card{margin:0}

/* Overflow safety — do NOT clamp .wrap (breaks desktop max-width centering).
   .wrap keeps max-width:var(--maxw) from style.css (~1200px, centered). */
.searchbox,.listing,.mcard,.plan{max-width:100%}
img,svg,video{max-width:100%}
.hero .grid2,.feat,.steps,.price-grid{min-width:0}

/* Mobile: section stack + touch */
@media(max-width:900px){
  section.blk{padding:36px 0}
  section.blk.home-how{padding:36px 0}
  .home-how .steps{grid-template-columns:1fr 1fr;gap:12px}
  .feat{gap:12px}
  .cta-row{width:100%}
  .cta-row .btn{flex:1 1 auto;min-width:min(100%,160px)}
  .testimonials-grid{gap:12px}
  .crumbs{padding:0;margin-top:10px}
}
@media(max-width:560px){
  section.blk{padding:28px 0}
  .home-how .steps{grid-template-columns:1fr}
  .home-how .stp p{max-width:none}
  .btn{min-height:46px;padding:12px 18px}
  /* Keep admin tables dense on small screens too */
  body.is-admin-panel .atable .btn,
  body.is-admin-panel .admin-bulk-bar .btn,
  body.is-admin-panel .admin-filter-bar .btn,
  body.is-admin-panel .admin-user-actions .btn{
    min-height:0;
    padding:4px 10px;
    font-size:12px;
  }
  .cta-row{flex-direction:column;align-items:stretch}
  .cta-row .btn{width:100%;min-width:0}
  .scam-demo .cta-row{flex-direction:column}
  .go-alerts-foot .cta-row{flex-direction:column}
  .testimonial-card{padding:16px 18px}
  .hero{padding:24px 0 16px}
  footer.site{padding:32px 0 24px}
  footer.site .cols{gap:20px}
  .fc{padding:18px 16px}
}

/* =====================================================================
   RESPONSIVE PARITY 2026-07 — desktop UI usable on ≤768 / ≤480
   Prefer stack + scroll; do not hide critical content.
   Intentional mobile hides (documented): .headcta (→ hamburger/botnav),
   nav.main .mobile-extra on desktop only, .listing .src (secondary),
   .map-legend (map chrome), body.is-dash-panel .cookiebar.
   ===================================================================== */

html{overflow-x:clip}
body{overflow-x:clip}
.table-scroll{
  width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
  margin-top:10px;
}
.table-scroll .atable{margin-top:0}
.rent-table-wrap,.panel--table,#pricing-compare .table-scroll{
  max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
}
.rent-table{min-width:560px}
#pricing-compare .atable{min-width:520px}

@media(max-width:900px){
  /* Hamburger sheet: scrollable, above page chrome */
  nav.main.open{
    max-height:calc(100dvh - 64px - env(safe-area-inset-bottom));
    overflow-y:auto;-webkit-overflow-scrolling:touch;
  }
  nav.main.open>a,
  nav.main.open .navauth a,
  nav.main.open .navauth .linklike{
    min-height:44px;display:flex;align-items:center;
  }

  /* Anchors under sticky header */
  #rent-table,#scam-demo,#testimonials,#pricing-plans,#pricing-compare,
  #pricing-faq,#landlord-pricing,#landlord-signup,#landlord-season-cities,
  #main-content{scroll-margin-top:76px}

  /* Testimonials: 4 → 2 */
  .testimonials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  /* Scam demo gauges: always 1 col (don't stay cramped 3-across) */
  .scam-demo .feat{grid-template-columns:1fr}

  /* Pricing term chips + CTAs */
  .term-picker{flex-wrap:wrap}
  .term-opt{min-height:44px;flex:1 1 calc(33.333% - 6px);padding:10px 6px}
  .plan .btn,.go-alerts-form .btn,.searchbox .btn{min-height:44px}

  /* Listings / city / dash helpers */
  .savedsearch{flex-wrap:wrap;align-items:flex-start}
  .alertrow{flex-wrap:wrap}
  .deals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mcard-section .mcard-grid,
  .mcard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  /* Premcard / trust / go landing */
  .premcard{align-items:flex-start}
  .go-alerts-form{max-width:100%}
  .go-alerts-form .btn{width:100%}

  /* Footer readable */
  footer.site .cols{grid-template-columns:1fr 1fr}
}

@media(max-width:768px){
  .stat4,.citystats,.hoodgrid{grid-template-columns:1fr 1fr}
  .feat,.price-grid,.steps,.grid2,.pricing-intro-grid{grid-template-columns:1fr}
  .home-how .steps{grid-template-columns:1fr 1fr}
  .scam-demo__head{flex-direction:column;align-items:flex-start;gap:8px}
  .scam-gauge svg{width:min(120px,100%);height:auto}
  .pricing-proof-strip__items{justify-content:flex-start}
  .movein-widget__row{flex-direction:column;align-items:stretch}
  .movein-widget__out{text-align:left;min-width:0}
}

@media(max-width:560px){
  .testimonials-grid{grid-template-columns:1fr}
  .home-how .steps{grid-template-columns:1fr}
  .mcard-section .mcard-grid,
  .mcard-grid,
  .deals-grid{grid-template-columns:1fr}
  .term-opt{flex:1 1 calc(50% - 6px)}
  .savedsearch{flex-direction:column;align-items:stretch}
  .savedsearch .btn,.alertrow-actions .btn{width:100%;min-height:44px}
  .rent-table-wrap::before,
  #pricing-compare .table-scroll::before{
    content:"Swipe sideways for all columns";
    display:inline-flex;align-items:center;min-height:28px;margin:0 0 8px;
    padding:4px 10px;border:1px solid var(--line,#e1eaed);border-radius:999px;
    background:#fff;color:var(--ink-soft,#4a6670);font-size:12px;font-weight:800;
  }
  /* Trust row: avoid cramped horizontal strip clipping CTAs */
  .trustrow{display:grid;grid-template-columns:1fr;gap:8px}
  .trustrow .home-trust-tail,
  .trustrow--landlords .landlords-trust-tail{
    flex-wrap:wrap;overflow-x:visible;white-space:normal;
  }
  .trustrow .home-trust-tail .dssh-proof .unis,
  .trustrow--landlords .landlords-trust-tail .dssh-proof .unis{flex-wrap:wrap}
}

@media(max-width:480px){
  footer.site .cols{grid-template-columns:1fr}
  .citystats,.hoodgrid{grid-template-columns:1fr}
  .stat4{grid-template-columns:1fr 1fr}
  .hero h1{font-size:24px}
  .plan .amt{font-size:26px}
  .term-opt{flex:1 1 100%}
  .botnav a{min-height:48px;padding:4px 0;font-size:9.5px}
  /* 6 guest tabs (incl. Landlords) — keep labels readable */
  .botnav:not(.botnav--admin) a .i svg{width:20px;height:20px}
}

/* =====================================================================
   FAZA 3 — scoped UX (search / listing / dash overview)
   Do NOT touch global .wrap max-width or global .btn min-height for admin.
   ===================================================================== */

/* ---- Search results: denser cards + sticky mobile chrome + map toggle ---- */
.search-page .reslist{gap:10px}
.search-page .listing{
  border-radius:10px;
  grid-template-columns:260px 1fr;
}
.search-page .listing .img{min-height:148px}
.search-page .listing .body{padding:12px 14px;gap:12px}
.search-page .listing h2,.search-page .listing h3{font-size:16.5px;line-height:1.25}
.search-page .listing .meta{gap:5px;font-size:12.5px}
.search-page .listing .meta span{
  min-height:22px;padding:2px 8px;font-size:12px;
}
.search-page .lprice{font-size:19px}
.search-page .bside{padding-left:14px;gap:6px}
.search-page .listing .src{margin-top:4px;font-size:12px}
.search-page .searchlayout{gap:18px;padding:18px 0}
.search-page .market-intel{margin-bottom:10px}
.search-page .type-tabs{margin:8px 0 10px}
.search-page .listing-media{position:relative;min-width:0}
.search-saved-link{display:inline-flex;align-items:center;gap:6px;align-self:center;padding:7px 11px;border:1px solid #b9dce2;border-radius:999px;background:#fff;color:var(--brand-d);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.search-saved-link span{color:#e8551f;font-size:16px;line-height:1}
.search-saved-link:hover{border-color:var(--brand);background:#f4fcfc}
.listing-save-form{position:absolute;z-index:4;top:10px;right:10px;margin:0}
.listing-save-heart{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(15,43,51,.12);border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 5px 15px rgba(15,43,51,.18);color:#49636a;font:inherit;font-size:23px;line-height:1;cursor:pointer}
.listing-save-heart:hover,.listing-save-heart:focus-visible{border-color:#e8551f;color:#e8551f;background:#fff;outline:none;box-shadow:0 0 0 3px rgba(232,85,31,.16),0 5px 15px rgba(15,43,51,.18)}
.listing-save-heart.is-saved{border-color:#e8551f;background:#fff4f0;color:#e8551f}
.search-page .listing-photo-strip{right:60px}

.search-page .search-map-toggle{
  border:1.5px solid var(--brand,#0e7c86);
  color:var(--brand-d,#0a5a62);
  background:#fff;
  font-weight:800;
}
.search-page .search-map-toggle.is-map-on{
  background:var(--brand-soft,#e3f3f4);
  border-color:rgba(14,124,134,.45);
}
.search-page .searchlayout-map.is-map-hidden{display:none}
.search-page .listing .img .price{z-index:3}
.search-page .listing .img .price small{font-size:11px;font-weight:700;color:inherit;opacity:.72;margin-left:2px}
.search-page .listing-card__topline{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:0;min-width:0;
}
.search-page .listing-card__topline .listing-card__priority{margin:0;flex:0 1 auto;min-width:0}
.search-page .listing-card__topline .listing-risk-inline,
.search-page .listing-card__topline a.listing-risk-inline{
  display:none;flex:0 0 auto;margin-left:auto;white-space:nowrap;
  font-size:10px;font-weight:850;min-height:0;padding:3px 7px;
}
.search-page .listing-card__topline--risk-only{display:none}

@media(max-width:900px){
  /* Hide before JS runs — a 560px Leaflet map in the first paint blocks scroll. */
  .search-page .searchlayout-map{display:none}
  .search-page .searchlayout-map.is-map-on{display:block}
  .search-page .listing-card__topline--risk-only{display:flex}
  .search-page .listing-card__topline .listing-risk-inline,
  .search-page .listing-card__topline a.listing-risk-inline{display:inline-flex}
  .search-page .listing-risk-aside,
  .search-page .lprice{display:none}
  .search-page .bside .viewbtn{margin-left:auto}
  /* One Filters control: sticky jump bar (avoid duplicate under searchhead) */
  .search-page .search-filter-toggle{display:none!important}
  .search-page .search-mobile-jump{
    position:sticky;top:64px;z-index:22;
    background:rgba(244,247,248,.96);backdrop-filter:blur(8px);
    border-bottom:1px solid #dce7ea;margin-bottom:0;padding-top:8px;padding-bottom:8px;
  }
  .search-page .search-map-toggle{
    min-height:44px;padding:9px 14px;border-radius:999px;
  }
  .search-page .listing{grid-template-columns:1fr}
  .search-page .listing .img{min-height:160px}
  .search-page .listing .body{padding:12px 14px}
  .search-page .bside{
    border-left:none;padding-left:0;padding-top:10px;
    border-top:1px solid #edf2f4;flex-direction:row;flex-wrap:wrap;
    align-items:center;justify-content:space-between;text-align:left;
  }
  /* Hero: same content as desktop — carousel under search, full width */
  .hero.grid2,.hero .grid2{grid-template-columns:1fr;gap:18px}
  .hero .grid2 > div:last-child{order:2}
  .hero-carousel{max-width:100%}
  /* Pricing cards: keep plan CTAs + term chips usable */
  .pricing-page .plan .btn{width:100%}
  .pricing-proof-strip{gap:10px}
  /* Guest botnav: 6 tabs — keep labels from colliding */
  .botnav:not(.botnav--admin){padding-left:2px;padding-right:2px;gap:0}
  .botnav:not(.botnav--admin) a{padding:2px 1px;gap:2px}
}

/* ---- Listing detail: cost + scam hierarchy + sticky CTA ---- */
.listing-page .listing-decision-strip{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px;
}
.listing-page .listing-decision-strip__card{
  display:flex;flex-direction:column;gap:4px;min-width:0;
  border:1px solid #dce7ea;border-radius:12px;background:#fff;
  padding:12px 14px;text-decoration:none;color:inherit;
  box-shadow:0 5px 14px rgba(15,43,51,.04);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.listing-page .listing-decision-strip__card:hover{
  border-color:rgba(14,124,134,.4);box-shadow:0 10px 22px rgba(15,43,51,.08);
}
.listing-page .listing-decision-strip__card span{
  font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-soft);
}
.listing-page .listing-decision-strip__card b{
  font-size:20px;line-height:1.15;color:var(--ink);font-weight:900;
}
.listing-page .listing-decision-strip__card b small{
  font-size:13px;font-weight:700;color:var(--ink-soft);margin-left:2px;
}
.listing-page .listing-decision-strip__card em{
  font-style:normal;font-size:12.5px;line-height:1.4;color:var(--ink-soft);
}
.listing-page .listing-decision-strip__scam b{font-size:15px}
.listing-page .listing-costbox{
  border-color:rgba(14,124,134,.28);
  background:linear-gradient(180deg,#f7fcfc,#fff);
  scroll-margin-top:90px;
}
.listing-page .listing-cost-table{
  width:100%;font-size:14.5px;border-collapse:collapse;margin-top:6px;
}
.listing-page .listing-cost-table td{padding:5px 0}
.listing-page .listing-cost-table td:last-child{text-align:right}
.listing-page .listing-cost-table__sum td{
  padding-top:8px;border-top:1px solid var(--line,#e1eaed);
}
.listing-page .listing-costbox__hint{font-size:12.5px;margin:10px 0 0}
.listing-page .listing-scambox{
  border-color:rgba(224,138,30,.28);
  scroll-margin-top:90px;
}
.listing-page .listing-scambox__head{
  display:flex;gap:16px;align-items:center;flex-wrap:wrap;
}
.listing-page .listing-scambox__title{margin:0}
.listing-page .aside-decision__price{color:var(--ink)}
.listing-page .listing-mcta .btn-pri{
  background:var(--cta,#ff6b35);color:#fff!important;
}
@media(max-width:900px){
  .listing-page .listing-decision-strip{grid-template-columns:1fr;gap:8px}
  .listing-page .listing-mcta{
    display:flex;box-shadow:0 -8px 24px rgba(15,43,51,.12);
  }
}

/* ---- Listing decision cockpit and accessible gallery ------------------ */
.listing-page .listing-decision-cockpit{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.listing-page .listing-decision-cockpit__movein b,
.listing-page .listing-decision-cockpit__freshness b{font-size:15px}
.listing-page .listing-decision-cockpit__freshness .badge{font-size:12px;vertical-align:middle}
.listing-page .listing-application-readiness{display:flex;align-items:center;justify-content:space-between;gap:16px;border-color:#b9dfe1;background:linear-gradient(135deg,#f3fbfb,#fff 70%)}
.listing-page .listing-application-readiness h3{margin:0 0 4px}
.listing-page .listing-application-readiness p{margin:0;max-width:620px}
.listing-gallery__item:focus-visible{outline:3px solid rgba(14,124,134,.45);outline-offset:3px}
.listing-gallery-lightbox{width:min(920px,calc(100vw - 32px));max-width:none;padding:0;border:0;border-radius:16px;background:#102f38;color:#fff;box-shadow:0 24px 80px rgba(4,24,30,.45)}
.listing-gallery-lightbox::backdrop{background:rgba(4,24,30,.72);backdrop-filter:blur(3px)}
.listing-gallery-lightbox__inner{padding:16px}
.listing-gallery-lightbox__head,.listing-gallery-lightbox__controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.listing-gallery-lightbox__head h2{margin:0;font-size:16px;color:#fff}
.listing-gallery-lightbox figure{margin:14px 0 12px;text-align:center}
.listing-gallery-lightbox figure img{display:block;width:100%;max-height:min(70vh,680px);object-fit:contain;border-radius:10px;background:#081e25}
.listing-gallery-lightbox figcaption{margin-top:8px;color:#c8e1e4;font-size:12.5px}
.listing-gallery-lightbox__controls{justify-content:center}
.listing-gallery-lightbox__controls span{min-width:70px;text-align:center;color:#c8e1e4;font-size:12px;font-weight:800}
.listing-gallery-lightbox .btn{border-color:rgba(255,255,255,.28);color:#fff;background:rgba(255,255,255,.08)}
.listing-gallery-lightbox .btn:hover{border-color:rgba(255,255,255,.58);background:rgba(255,255,255,.16)}
@media(max-width:900px){
  .listing-page .listing-decision-cockpit{grid-template-columns:repeat(2,minmax(0,1fr))}
  .listing-page .listing-application-readiness{align-items:flex-start;flex-direction:column}
  .listing-page .listing-application-readiness .btn{width:100%;justify-content:center}
}
@media(max-width:560px){
  .listing-page .listing-decision-cockpit{grid-template-columns:1fr}
  .listing-gallery-lightbox{width:calc(100vw - 20px)}
  .listing-gallery-lightbox__inner{padding:12px}
}

/* ---- Dashboard overview: tighter promo stack (keep deals/found-room/checklist) ---- */
.dash-overview > .panel-tight,
.dash-overview > .dash-onboard,
.dash-overview > .dash-referral-cta,
.dash-overview > .dash-referral-banner{
  margin-bottom:10px;
}
.dash-overview > .panel-tight{padding:12px 14px}
.dash-overview > .panel-tight h3{margin:0 0 4px;font-size:15px}
.dash-overview > .panel-tight > .muted{margin:0 0 8px;font-size:13px;line-height:1.4}
.dash-overview .dash-onboard{padding:12px 14px;gap:12px}
.dash-overview .stat4{margin:12px 0}

/* ---- Content share bar (discreet organic promo) ----------------------- */
.dssh-share{
  margin:28px 0 8px;
  padding:14px 0 4px;
  border-top:1px solid var(--line,#e1eaed);
}
.dssh-share--compact{margin:14px 0;padding-top:10px}
.dssh-share__row{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
}
.dssh-share__label{
  margin:0;font-size:13px;font-weight:600;letter-spacing:.01em;
  color:var(--ink-soft,var(--faint,#6c828a));
}
.dssh-share__actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
}
.dssh-share__btn{
  display:inline-flex;align-items:center;gap:6px;
  min-height:34px;padding:6px 10px;
  border:1px solid var(--line,#e1eaed);
  border-radius:9px;background:#fff;
  color:var(--ink,#123);font:inherit;font-size:12.5px;font-weight:600;
  text-decoration:none;cursor:pointer;line-height:1;
  transition:border-color .15s var(--dssh-ease), background-color .15s var(--dssh-ease),
             color .15s var(--dssh-ease), box-shadow .15s var(--dssh-ease);
}
.dssh-share__btn:hover{
  border-color:rgba(14,124,134,.35);
  background:var(--brand-soft,#e3f3f4);
  color:var(--brand,#0e7c86);
}
.dssh-share__btn:focus-visible{
  outline:none;box-shadow:var(--dssh-ring);
}
.dssh-share__btn.is-copied{
  border-color:rgba(14,124,134,.45);
  background:var(--brand-soft,#e3f3f4);
  color:var(--brand,#0e7c86);
}
.dssh-share__ic{flex:0 0 auto;opacity:.85}
.dssh-share__btn:hover .dssh-share__ic{opacity:1}
.dssh-share__name{white-space:nowrap}
.dssh-share__btn--native{
  background:var(--brand-soft,#e3f3f4);
  border-color:rgba(14,124,134,.22);
  color:var(--brand,#0e7c86);
}
.dssh-share__refer{
  margin:10px 0 0;font-size:12.5px;line-height:1.45;
  color:var(--faint,#6c828a);
}
.dssh-share__refer a{
  color:var(--brand,#0e7c86);font-weight:600;text-decoration:none;
  border-bottom:1px solid rgba(14,124,134,.28);
}
.dssh-share__refer a:hover{border-bottom-color:var(--brand,#0e7c86)}

/* Public listing: the AI letter panel also appears outside the dashboard. */
#ai-letter-panel{
  margin-top:18px;
  padding:18px 16px 16px;
  border:1px solid #cfe5e8;
  border-radius:14px;
  background:linear-gradient(135deg,#f7fcfd 0%,#fff 58%);
  box-sizing:border-box;
}
#ai-letter-panel .ai-letter-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin:0 0 13px;
}
#ai-letter-panel .ai-letter-panel__head > div:first-child{min-width:0;flex:1}
#ai-letter-panel .ai-letter-panel__head h4{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 4px;
  line-height:1.35;
}
#ai-letter-panel .ai-letter-panel__head p{margin:0;font-size:12.5px;line-height:1.45}
#ai-letter-panel .dssh-ai-badge{max-width:100%;white-space:normal}
#ai-letter-panel .ai-letter-panel__quota{
  flex:0 0 auto;
  min-width:58px;
  padding:8px 10px;
  border:1px solid #cce5e8;
  border-radius:11px;
  background:#eaf8f9;
  color:#0c6973;
  text-align:center;
}
#ai-letter-panel .ai-letter-panel__quota strong{display:block;font-size:20px;line-height:1.05}
#ai-letter-panel .ai-letter-panel__quota span{font-size:11px;font-weight:700;color:#58777e}
#ai-letter-panel .ai-letter-output{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  overflow:hidden;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:pre-wrap;
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  font-size:13px;
  line-height:1.55;
}
#ai-letter-panel .ai-letter-panel__empty{
  margin:0 0 12px;
  padding:13px 14px;
  border:1px dashed #c8dde1;
  border-radius:10px;
  background:#fff;
  color:var(--ink-soft,#58717a);
  font-size:13px;
}
#ai-letter-panel .ai-letter-panel__empty p{margin:0}
#ai-letter-panel .ai-letter-panel__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#ai-letter-panel .ai-letter-panel__hint{margin:9px 0 0;font-size:12px;line-height:1.45}

/* Shared AI workspaces: every draft remains review-first and usable on a narrow screen. */
.ai-assist-panel{margin-top:16px;border-color:#bfe9e7;background:linear-gradient(110deg,#f1fcfb,#faf6ff)}
.ai-unified-surface{border:1px solid #bfe9e7;background:linear-gradient(110deg,#f1fcfb,#faf6ff)}
.ai-assist-panel__head{margin:0 0 12px}
.ai-assist-panel__head h2,.ai-assist-panel__head h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 6px}
.ai-assist-panel__head h2{font-size:19px}
.ai-assist-panel__head p{margin:0;line-height:1.5}
.ai-assist-form{display:grid;gap:11px;max-width:680px}
.ai-assist-form label{display:grid;gap:5px;color:var(--ink,#14333d);font-size:13px;font-weight:700}
.ai-assist-form select,.ai-assist-form textarea{box-sizing:border-box;width:100%;max-width:100%}
.ai-assist-form select{min-height:40px}
.ai-assist-form textarea{min-height:116px;resize:vertical}
.ai-assist-form--compact textarea{min-height:76px}
.ai-assist-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ai-assist-result{margin-top:12px;padding:12px 13px;border:1px solid #cfe6e6;border-radius:10px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.55}
.ai-assist-result p{margin:8px 0 0;white-space:normal}
.ai-assist-error{margin:10px 0 0;color:#a55235;line-height:1.45}
.ai-assist-subsection{margin-top:14px;padding-top:14px;border-top:1px solid #dcebed}
.ai-assist-subsection .ai-assist-result{background:#f5fbfc}
.hcc-ai-plan .ai-assist-panel__head{margin:0 0 8px}
.hcc-ai-plan__row{display:flex;align-items:center;justify-content:space-between;gap:14px 18px;flex-wrap:nowrap}
.hcc-ai-plan__copy{flex:1 1 auto;margin:0;line-height:1.45;font-size:12.5px;min-width:0}
.hcc-ai-plan__line{display:block;white-space:nowrap}
.hcc-ai-plan__form{flex:0 0 auto;margin:0;max-width:none;display:block}
.hcc-ai-plan__form .ai-assist-actions{margin:0}
@media(max-width:640px){
  .ai-assist-panel{padding:16px}
  .ai-assist-actions{align-items:stretch;flex-direction:column}
  .ai-assist-actions .btn,.ai-assist-form .btn{justify-content:center;width:100%}
  .ai-assist-result{padding:12px}
  .hcc-ai-plan__row{align-items:stretch;flex-direction:column;flex-wrap:wrap}
  .hcc-ai-plan__line{white-space:normal}
  .hcc-ai-plan__form .ai-assist-actions .btn{width:100%}
}
@media(max-width:560px){
  #ai-letter-panel .ai-letter-panel__head{align-items:stretch;flex-direction:column;gap:9px}
  #ai-letter-panel .ai-letter-panel__quota{align-self:flex-start;display:flex;align-items:baseline;gap:3px;padding:6px 10px}
  #ai-letter-panel .ai-letter-panel__quota strong{font-size:17px}
}
@media(max-width:640px){
  .dssh-share__name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .dssh-share__btn{padding:8px;min-width:36px;justify-content:center}
  .dssh-share__btn--native span,
  .dssh-share__btn--copy [data-share-copy-label]{
    position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible;
    white-space:nowrap;
  }
  .dssh-share__btn--native,
  .dssh-share__btn--copy{padding:6px 10px}
}

/* ---- Mobile reading polish: show more useful content per viewport ----- */
@media(max-width:560px){
  /* iOS must not zoom the document when an ordinary form field receives focus. */
  input:not([type]),input[type="text"],input[type="email"],input[type="password"],
  input[type="search"],input[type="number"],input[type="tel"],input[type="url"],
  input[type="date"],input[type="time"],textarea,select:not(.city-picker){font-size:16px}

  /* Results remain photographic, but a 16:9 crop gets the title and decision data above the fold. */
  .search-page .listing .img{aspect-ratio:16/9;min-height:0}
  .search-page .listing .body{gap:9px}
  .search-page .listing .meta{gap:4px}
  .search-page .listing .meta span{padding:2px 7px}
  .search-page .bside{padding-top:8px}

  /* Guide routes are choices, not four equal full-width calls to action.
     They used to sit in a nowrap scroller with the scrollbar hidden, which put
     2–4 of the choices past the right edge with nothing on screen to suggest
     they existed — a chooser you cannot see is not a chooser. Same compact
     pills, but wrapped onto as many lines as they need. */
  .guides-index .panel .cta-row{
    flex-direction:row;align-items:center;flex-wrap:wrap;
    gap:8px;padding:2px 1px 6px;margin:0 -1px;
  }
  .guides-index .panel .cta-row .btn{flex:0 1 auto;width:auto;min-width:0;max-width:100%}

  /* Long answers and source text never force sideways page scrolling. */
  .panel,.fc,.listing,.authcard,.article{overflow-wrap:anywhere}
}

/* ---- Organic growth surfaces (tell-a-friend, guide monetize, community) ---- */
.dssh-taf{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px 16px;margin:18px 0;padding:14px 16px;
  border:1px solid var(--line,#e1eaed);border-radius:12px;background:#fff;
}
.dssh-taf--compact{padding:12px 14px;margin:12px 0}
.dssh-taf__title{margin:0;font-size:14.5px;font-weight:700;color:var(--ink,#123)}
.dssh-taf__sub{margin:4px 0 0;font-size:13px;line-height:1.4;max-width:42rem}
.dssh-taf__actions{margin:0}
.dssh-guide-monetize{margin:18px 0}
.dssh-guide-monetize__title{margin:0 0 4px;font-size:14.5px;font-weight:700}
.dssh-guide-monetize__sub{margin:0 0 10px;font-size:13px;line-height:1.4}
.dssh-guide-guest{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.dssh-community-strip{margin-bottom:10px}
.dssh-partner-strip{margin-bottom:10px}
.dash-alert-saved-taf .dssh-taf{margin:0;border:0;padding:0;background:transparent}

/* ---- Landlord pricing hand-off and account form ---- */
.landlord-pricing-card{
  display:flex;
  flex-direction:column;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.landlord-pricing-card:hover{
  transform:translateY(-4px);
  border-color:var(--brand);
  box-shadow:0 14px 30px rgba(15,43,51,.13);
}
.landlord-pricing-card:focus-visible{
  outline:3px solid rgba(14,124,134,.3);
  outline-offset:4px;
}
.landlord-pricing-card__cta{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:38px;
  margin-top:auto;
  padding-top:16px;
  color:var(--brand-d);
  font-size:14px;
  font-weight:800;
}
.landlord-signup__wrap{max-width:680px}
.landlord-signup .panel{padding:28px}
.landlord-signup__steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}
.landlord-signup__steps>div{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink-soft);
  font-size:12.5px;
  font-weight:700;
  line-height:1.35;
}
.landlord-signup__steps b{
  display:grid;
  flex:0 0 auto;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-size:12px;
}
.landlord-signup__form{display:grid;gap:16px}
.landlord-city-hero{padding-bottom:48px}.landlord-city-rules{align-self:center;border-color:#a9dce2}.landlord-city-rules h2{font-size:25px;margin:6px 0 10px}.landlord-city-rules p{line-height:1.6}.landlord-city-legal-note{font-size:14px;max-width:680px}.landlord-city-process{max-width:920px}.landlord-city-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;list-style:none;padding:0;margin:22px 0}.landlord-city-steps li{display:flex;align-items:flex-start;gap:10px;border:1px solid #dbe8ea;background:#fff;border-radius:13px;padding:17px;line-height:1.45}.landlord-city-steps b{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:50%;background:var(--brand);color:#fff;font-size:14px}.landlord-city-proof{margin-top:24px}.landlord-city-proof h3{margin:0 0 7px}.landlord-city-proof p{margin:0;line-height:1.6}@media(max-width:720px){.landlord-city-steps{grid-template-columns:1fr}.landlord-city-rules h2{font-size:22px}}
.landlord-signup__field{
  display:grid;
  gap:7px;
  color:var(--ink);
  font-size:14px;
  font-weight:800;
}
.landlord-signup__input{
  box-sizing:border-box;
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:1px solid #acd8df;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-weight:500;
}
.landlord-signup__input:focus{
  border-color:var(--brand);
  outline:3px solid rgba(14,124,134,.15);
  outline-offset:1px;
}
.landlord-signup__submit{min-height:52px;width:100%;font-size:16px}
.landlord-signup__login{margin:0;font-size:13px;text-align:center}
.landlord-signup__login a{color:var(--brand);font-weight:700}
/* Landlords hero: pin toolkit near the top (not vertically centered), with a small offset */
.hero[data-landlord-funnel="landing"] .grid2{align-items:start}
.hero[data-landlord-funnel="landing"] .grid2 > div:last-child{margin-top:48px}

/* Full-width trust + illustration band under the hero grid */
.landlord-proof-band{
  display:grid;
  grid-template-columns:minmax(240px,.85fr) minmax(0,1.35fr);
  gap:0;
  align-items:stretch;
  margin:22px 0 0;
  padding:0!important;
  overflow:hidden;
  border-color:#a9dde2!important;
  background:linear-gradient(118deg,#f4fbfb 0%,#fff 42%,#f7fcfc 100%);
  box-shadow:0 10px 28px rgba(15,75,82,.06);
}
.landlord-proof-band__trust{
  display:grid;
  gap:10px;
  align-content:center;
  padding:22px 24px;
  min-width:0;
}
.landlord-proof-band__item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:var(--ink);
  font-size:14.5px;
  font-weight:700;
  line-height:1.4;
}
.landlord-proof-band__lang{
  display:grid;
  gap:5px;
  margin-top:2px;
  padding-top:10px;
  border-top:1px solid rgba(14,124,134,.12);
}
.landlord-proof-band__lang .lang-select-form--inline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 10px;
  margin:0;
}
.landlord-proof-band__lang .lang-select-form__label{
  color:var(--ink-soft);
  font-size:12px;
  font-weight:800;
}
.landlord-proof-band__proof{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 8px;
  margin:2px 0 0;
  font-size:12.5px;
}
.landlord-proof-band__proof .lbl{
  color:var(--ink-soft);
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
  font-size:12.5px;
}
.landlord-proof-band__proof .unis{
  display:inline-flex;
  flex-wrap:wrap;
  gap:5px 8px;
}
.landlord-proof-band__proof .unis span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:2px 8px;
  border:1px solid #cfe3e5;
  border-radius:999px;
  background:#fff;
  color:var(--brand-d);
  font-size:11.5px;
  font-weight:800;
}
.landlord-proof-band__media{
  min-width:0;
  background:#eef8f8;
}
.landlord-proof-band__media .product-visual{
  height:100%;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.landlord-proof-band__media .product-visual__img{
  width:100%!important;
  height:100%!important;
  min-height:220px;
  max-height:240px!important;
  object-fit:cover!important;
  object-position:72% center!important;
}
@media(max-width:820px){
  .landlord-proof-band{grid-template-columns:1fr}
  .landlord-proof-band__trust{padding:18px 16px}
  .landlord-proof-band__media .product-visual__img{min-height:180px;max-height:200px!important}
}

.landlord-rotator{position:relative;overflow:hidden;min-height:420px;padding:0!important;border-color:#a9dde2!important;background:linear-gradient(145deg,#fff 0%,#f3fcfc 100%)}
.landlord-rotator:before{content:"";position:absolute;right:-58px;top:-58px;width:180px;height:180px;border:1px solid rgba(14,124,134,.16);border-radius:50%;box-shadow:0 0 0 28px rgba(14,124,134,.045),0 0 0 56px rgba(14,124,134,.03)}
.landlord-rotator__top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:22px 22px 0}
.landlord-rotator__kicker{color:var(--brand-d);font-size:10px;letter-spacing:.12em;font-weight:900}
.landlord-rotator__count{font-size:12px;font-weight:800;color:var(--ink-soft)}
.landlord-rotator>h3{position:relative;z-index:1;margin:14px 22px 0;font-size:20px}
.landlord-rotator__slides{position:relative;min-height:268px;padding:0 22px}
.landlord-rotator__slide{padding-top:22px}
.landlord-rotator.is-ready .landlord-rotator__slide{position:absolute;inset:0;padding:22px 22px 0;opacity:0;transform:translateY(10px);transition:opacity .42s ease,transform .42s ease;pointer-events:none}
.landlord-rotator.is-ready .landlord-rotator__slide.is-active{opacity:1;transform:translateY(0);pointer-events:auto}
.landlord-rotator__icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:14px;border-radius:12px;background:#dff5f5;color:var(--brand-d);font-size:24px;font-weight:900}
.landlord-rotator__slide h4{max-width:230px;margin:0;color:var(--ink);font-size:21px;line-height:1.22}
.landlord-rotator__slide p{max-width:270px;margin:10px 0 14px;color:var(--ink-soft);font-size:14.5px;line-height:1.65}
.landlord-rotator__tag{display:inline-block;padding:5px 9px;border-radius:999px;background:#fff;border:1px solid #c9e7e8;color:var(--brand-d);font-size:11px;font-weight:800}
.landlord-rotator__visual{position:absolute;top:28px;right:22px;width:108px;height:118px;overflow:hidden;border:1px solid #bfe6e9;border-radius:16px;background:#e9f9f9;color:var(--brand-d);box-shadow:0 8px 18px rgba(14,124,134,.11)}
.landlord-rotator__visual .lr-v-label{position:absolute;right:7px;bottom:7px;left:7px;color:#30656c;font-size:8px;font-weight:900;letter-spacing:.04em;text-align:center;text-transform:uppercase}
.landlord-rotator__visual--seekers{background:linear-gradient(145deg,#ecfafb,#d9f0f4)}
.lr-v-city{position:absolute;top:13px;left:12px;font-size:20px;font-weight:900;letter-spacing:-.06em}
.lr-v-pin{position:absolute;right:15px;top:15px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--brand);color:#fff;font-size:17px}
.lr-v-pulse{position:absolute;right:7px;top:7px;width:42px;height:42px;border:1px solid rgba(14,124,134,.35);border-radius:50%;animation:landlord-pulse 2.1s infinite}
.landlord-rotator__visual--listing{background:linear-gradient(150deg,#fff8e8,#e8faf8)}
.lr-v-window{position:relative;display:inline-block;width:17px;height:24px;margin:24px 0 0 8px;border-radius:4px 4px 0 0;background:#487982;box-shadow:inset 4px 0 #9bd6d8}
.lr-v-star{position:absolute;right:11px;top:10px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ff6b36;color:#fff;font-size:16px}
.landlord-rotator__visual--terms{background:linear-gradient(145deg,#effbf5,#dff5e8)}
.lr-v-check{position:absolute;left:11px;top:14px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#258c61;color:#fff;font-size:15px;font-weight:900}
.lr-v-line{position:relative;display:block;width:45px;height:5px;margin:17px 0 0 42px;border-radius:99px;background:#8ac9ac}.lr-v-line+.lr-v-line{margin-top:8px;width:37px}.lr-v-line+.lr-v-line+.lr-v-line{width:28px}
@keyframes landlord-pulse{0%,100%{transform:scale(.78);opacity:.65}50%{transform:scale(1);opacity:.08}}
.landlord-rotator__footer{position:absolute;z-index:2;right:22px;bottom:22px;left:22px;display:flex;align-items:center;gap:13px}
.landlord-rotator__progress{flex:1;height:4px;overflow:hidden;border-radius:999px;background:#d9eaec}
.landlord-rotator__progress i{display:block;width:33.333%;height:100%;border-radius:inherit;background:var(--brand);transition:transform .35s ease}
.landlord-rotator__dots{display:flex;gap:6px}
.landlord-rotator__dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#bad5d9;cursor:pointer}
.landlord-rotator__dots button.is-active{background:var(--brand);transform:scale(1.18)}
.landlord-rotator__dots button:focus-visible{outline:3px solid rgba(14,124,134,.32);outline-offset:3px}
.landlord-demand__intro{max-width:680px;margin:0 0 16px}
.landlord-demand__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.landlord-demand__card{display:grid;gap:6px;min-height:122px;align-content:center}
.landlord-demand__card strong{font-size:34px;line-height:1;color:var(--brand-d)}
.landlord-demand__card span{font-size:14px;line-height:1.45;color:var(--ink-soft)}
.landlord-process .ic{font-weight:800;color:var(--brand-d)}
.landlord-updates{padding-top:0}
.landlord-updates__inner{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(198px,auto);align-items:center;gap:16px;padding:18px 20px;border:1px solid #bfe3e6;border-radius:14px;background:linear-gradient(105deg,#effbfb,#fff);box-shadow:0 8px 22px rgba(15,75,82,.045)}
.landlord-updates__mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#ff6b35;color:#fff;font-size:11px;font-weight:900;letter-spacing:.06em;line-height:1;transform:rotate(-3deg)}
.landlord-updates__copy{min-width:0}
.landlord-updates__copy .eyebrow{margin:0 0 3px;color:var(--brand-d)}
.landlord-updates__copy h2{margin:0 0 5px;font-size:19px;line-height:1.2;letter-spacing:-.02em}
.landlord-updates__copy p{margin:0;color:var(--ink-soft);font-size:13.5px;line-height:1.5}
.landlord-updates__list{display:flex;flex-wrap:wrap;gap:5px 15px;margin:9px 0 0;padding:0;list-style:none;color:var(--ink-soft);font-size:12.5px;line-height:1.4}
.landlord-updates__list li::before{content:"✓";margin-right:5px;color:#258c61;font-weight:900}
.landlord-updates__action{display:grid;gap:6px;min-width:0}
.landlord-updates__action .btn{text-align:center;white-space:nowrap}
.landlord-updates__action small{color:var(--faint);font-size:11px;line-height:1.35;text-align:center}
@media(max-width:760px){
  .landlord-updates__inner{grid-template-columns:auto minmax(0,1fr);align-items:start}
  .landlord-updates__action{grid-column:1/-1}
  .landlord-updates__action .btn{width:100%;justify-content:center}
}
@media(max-width:420px){
  .landlord-updates__inner{grid-template-columns:1fr;padding:16px}
  .landlord-updates__mark{width:42px;height:42px}
  .landlord-updates__action{grid-column:auto}
}
.landlord-toolkit{background:linear-gradient(180deg,#f7fcfc 0%,#fff 100%)}
.landlord-toolkit__intro{max-width:720px;margin:0 0 18px;line-height:1.6}
.landlord-toolkit__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.landlord-toolkit__card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #cfe5e7;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(15,75,82,.055)}
.landlord-toolkit__card:hover{border-color:#9dcfd3;box-shadow:0 14px 28px rgba(15,75,82,.09)}
.landlord-toolkit__card--reach{border-top:3px solid #0e7c86}
.landlord-toolkit__card--traffic{border-top:3px solid #39a7b2}
.landlord-toolkit__card--leads{border-top:3px solid #e85b2d}
.landlord-toolkit__card--operations{border-top:3px solid #3c9b72}
.landlord-toolkit__kicker{display:flex;align-items:center;gap:8px;color:var(--brand-d);font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.landlord-toolkit__icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e4f5f5;color:var(--brand-d);font-size:17px;letter-spacing:0}
.landlord-toolkit__card h3{margin:14px 0 7px;font-size:19px;line-height:1.2;letter-spacing:-.02em}
.landlord-toolkit__card p{margin:0;color:var(--ink-soft);font-size:13.5px;line-height:1.55}
.landlord-toolkit__card ul{display:grid;gap:7px;margin:15px 0 0;padding:0;list-style:none;color:var(--ink-soft);font-size:12.8px;line-height:1.42}
.landlord-toolkit__card li{display:flex;align-items:flex-start;gap:8px}
.landlord-toolkit__card li::before{content:"✓";flex:0 0 auto;color:#258c61;font-weight:900}
.landlord-toolkit__cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:18px 20px;border:1px solid #b9dfe1;border-radius:14px;background:linear-gradient(110deg,#eaf8f8,#fff8ee)}
.landlord-toolkit__cta>div:first-child{display:grid;gap:4px;min-width:0}
.landlord-toolkit__cta strong{font-size:16px;line-height:1.3}
.landlord-toolkit__cta span{color:var(--ink-soft);font-size:13px;line-height:1.5}
.landlord-toolkit__cta .cta-row{flex:0 0 auto;margin:0;gap:8px}
@media(max-width:560px){
  .landlord-signup .panel{padding:20px 16px}
  .landlord-signup__steps{grid-template-columns:1fr}
  .landlord-pricing-card:hover{transform:none}
  .landlord-demand__grid{grid-template-columns:1fr}
  .landlord-rotator{min-height:360px}
  .landlord-rotator__slides{min-height:230px}
  .landlord-rotator__slide p{max-width:210px}
  .landlord-toolkit__grid{grid-template-columns:1fr}
  .landlord-toolkit__cta{align-items:stretch;flex-direction:column}
  .landlord-toolkit__cta .cta-row{flex-direction:column}
  .landlord-toolkit__cta .btn{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.landlord-rotator.is-ready .landlord-rotator__slide,.landlord-rotator__progress i{transition:none}.lr-v-pulse{animation:none}}

/* Final cascade for the shared surface pass. Kept last because a few older
   page-specific rules intentionally define their own card shadows above. */
body:not(.is-admin-panel) .mcard:hover,
body:not(.is-admin-panel) .listing:hover,
body:not(.is-admin-panel) .pcard:hover,
body:not(.is-admin-panel) .fc:hover,
body:not(.is-admin-panel) .stp:hover,
body:not(.is-admin-panel) .premcard:hover{
  box-shadow:var(--dssh-card-shadow-hover);
}

/* ROOM guide: make the practical guidance scan like a short plan, not a stack
   of large empty cards. Scoped to /room so shared guide cards stay unchanged. */
.room-guide__wrap{max-width:930px}
.room-guide .panel{margin-top:18px;margin-bottom:0}
.room-guide__snapshot{padding:20px 22px}
.room-guide__snapshot h3{margin:0 0 7px}
.room-guide__snapshot .muted{margin:0!important;max-width:74ch;line-height:1.55}
.room-guide__snapshot-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;
  list-style:none;margin:16px 0 0;padding:0;font-size:13px;line-height:1.35;
}
.room-guide__snapshot-list li{
  display:flex;align-items:center;min-height:38px;padding:8px 10px;border:1px solid #dcebed;
  border-radius:8px;background:#f8fcfc;color:var(--ink-soft);
}
.room-guide__snapshot-list li::before{
  content:"";width:7px;height:7px;margin-right:8px;border-radius:50%;background:var(--brand);flex:0 0 auto;
}
.room-guide__steps{margin-top:18px;gap:14px}
.room-guide__step{min-height:0;padding:18px 18px 17px}
.room-guide__step .ic{width:38px;height:38px;margin:0 0 11px;border-radius:10px;font-size:18px}
.room-guide__step h3{margin:0;font-size:16px}
.room-guide__step p{margin:7px 0 0;font-size:13.5px;line-height:1.5}
.room-guide__comparison{padding:18px 20px;border-left:3px solid #7ab9c0}
.room-guide__comparison h3,.room-guide__backup h3,.room-guide__links h3{margin:0 0 7px}
.room-guide__comparison p,.room-guide__backup p{margin:0!important;font-size:14px}
.room-guide__backup{padding:20px;border-left:4px solid var(--brand);background:#fbfefe}
.room-guide__backup .cta-row{margin:15px 0 0!important;gap:8px}
.room-guide__backup .btn{min-height:38px;padding:9px 14px}
.room-guide__links{padding:19px 20px 18px}
.room-guide__links .quick-links{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;list-style:none;margin:11px 0 0;padding:0;
}
.room-guide__links .quick-links li{margin:0}
.room-guide__links .quick-links a{
  display:flex;align-items:center;min-height:38px;padding:8px 10px;border:1px solid #dcebed;border-radius:8px;
  color:var(--brand-d);background:#fff;text-decoration:none;font-size:13px;font-weight:700;
}
.room-guide__links .quick-links a::before{content:"";width:6px;height:6px;margin-right:8px;border-radius:50%;background:var(--cta);flex:0 0 auto}
.room-guide__links .quick-links a:hover{border-color:#91c8ce;background:#f8fcfc}
@media(max-width:700px){
  .room-guide__snapshot-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .room-guide__steps{grid-template-columns:1fr}
}
@media(max-width:520px){
  .room-guide__snapshot,.room-guide__backup,.room-guide__comparison,.room-guide__links{padding:16px}
  .room-guide__snapshot-list,.room-guide__links .quick-links{grid-template-columns:1fr}
  .room-guide__backup .cta-row .btn{width:100%;justify-content:center}
}

/* ROOM surfaces follow the Room Share card language without changing ROOM content or routes. */
.room-guide__wrap{max-width:1180px}
.room-guide .stat4{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}
.room-guide .stat4 .stat{min-height:100%;padding:12px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78);box-shadow:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.room-guide .stat4 .stat:hover{border-color:#70c9c2;background:#fff;box-shadow:0 8px 18px rgba(15,43,51,.08);transform:translateY(-2px)}
.room-guide .stat4 .stat .v{font-size:24px;color:var(--brand-d)}
.room-guide .stat4 .stat .l{font-size:11px;line-height:1.35}
.room-guide .room-wait-calc{padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}
.room-guide .room-wait-calc h3{margin:0 0 7px;font-size:20px;letter-spacing:-.03em}
.room-guide .room-wait-calc .room-wait-result{padding:14px 16px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78)}
.room-guide__snapshot{padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}
.room-guide__snapshot-list li{min-height:42px;padding:9px 11px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78);transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.room-guide__snapshot-list li:hover{border-color:#70c9c2;background:#fff;box-shadow:0 8px 18px rgba(15,43,51,.08);transform:translateY(-2px)}
.room-guide__steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}
.room-guide__step{min-height:100%;padding:12px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78);box-shadow:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.room-guide__step:hover{border-color:#70c9c2;background:#fff;box-shadow:0 8px 18px rgba(15,43,51,.08);transform:translateY(-2px)}
.room-guide__comparison,.room-guide__backup,.room-guide__links{padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,43,51,.05)}
.room-guide__comparison,.room-guide__backup{border-left-width:1px}
.room-guide__links .quick-links a{min-height:42px;padding:9px 11px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78)}
.room-guide__links .quick-links a:hover{border-color:#70c9c2;background:#fff;box-shadow:0 8px 18px rgba(15,43,51,.08)}
@media(max-width:900px){
  .room-guide .stat4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .room-guide__steps{grid-template-columns:1fr}
}
@media(max-width:520px){
  .room-guide .stat4{grid-template-columns:1fr}
}
body:not(.is-admin-panel) .btn-pri:hover{box-shadow:0 10px 22px rgba(232,85,31,.24);}

/* Product visual — mobile: moved to mobile-2026.css on 13 Aug 2026.
   The only page that renders the overlay variant is the student dashboard,
   and layout.php does not load polish-2026.css on /dashboard, /admin or
   /landlords/dashboard — so this fix sat in a sheet the broken page never
   downloaded. mobile-2026.css is loaded unconditionally on every page. */

.empty-state__visual{display:block;width:min(100%,300px);height:112px;object-fit:cover;object-position:70% center;margin:0 auto 12px;border:1px solid #cfe5e7;border-radius:12px;background:#f8fcfc}

/* Landlord portal surface system.  This is intentionally scoped so the
   student dashboard and public listing pages keep their own rhythm. */
.landlord-portal{--landlord-line:#d5e8e9;--landlord-soft:#f4fbfb;--landlord-shadow:0 12px 30px rgba(15,75,82,.08);align-items:start}
.landlord-portal .landlord-side{border:1px solid var(--landlord-line);box-shadow:var(--landlord-shadow);background:linear-gradient(180deg,#fff 0%,#f5fbfb 100%)}
.landlord-side__identity{position:relative;padding-top:19px!important}
.landlord-side__eyebrow,.landlord-page-head__eyebrow{margin-bottom:3px;color:var(--brand-d,#0e6972);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.landlord-portal .side-nav{gap:4px}
.landlord-portal .landlord-nav__link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:9px 12px;border:1px solid transparent;border-radius:10px;color:var(--ink-soft);font-weight:700;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.landlord-portal .landlord-nav__link:hover{border-color:#c7e1e3;background:#f4fbfb;color:var(--brand-d);transform:translateX(2px)}
.landlord-portal .landlord-nav__link.act{border-color:#b8dfe2;background:linear-gradient(90deg,#e9f7f7,#f9fdfd);box-shadow:inset 3px 0 0 var(--brand);color:var(--brand-d)}
.landlord-nav__count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d9f0ee;color:#0b6f76;font-size:11px;line-height:1;font-weight:850}
.landlord-main{min-width:0;max-width:1120px}
.landlord-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 18px;padding:0 0 15px;border-bottom:1px solid var(--landlord-line)}
.landlord-page-head h1{margin:0;letter-spacing:-.035em}
.landlord-page-head__action{flex:0 0 auto}
.landlord-portal .panel{border-color:var(--landlord-line);box-shadow:0 8px 24px rgba(15,75,82,.045)}
.landlord-rent-guidance{display:grid;gap:4px;padding:12px 14px;border:1px solid #bfe1e3;border-left:3px solid var(--brand);border-radius:11px;background:linear-gradient(105deg,#effbfb,#fff)}
.landlord-rent-guidance__eyebrow{display:block;color:var(--brand-d);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.landlord-rent-guidance strong{display:block;font-size:14px;color:var(--ink)}
.landlord-rent-guidance p{margin:2px 0 0;color:var(--ink-soft);font-size:13px}
.landlord-rent-guidance small{color:#6a7f84;font-size:11.5px;line-height:1.4}
.landlord-public-response-badge{display:flex;align-items:flex-start;gap:9px;margin:9px 0 13px;padding:10px 12px;border:1px solid #bfe4d4;border-radius:11px;background:#f0fbf5;color:#176d4d}
.landlord-public-response-badge__mark{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#d7f3e4;color:#18704f;font-size:14px;font-weight:900}
.landlord-public-response-badge strong{display:block;font-size:13px;line-height:1.3}
.landlord-public-response-badge span{display:block;margin-top:2px;color:#4c7066;font-size:12px;line-height:1.4}
.landlord-public-response-badge small{display:block;margin-top:2px;color:#6c817c;font-size:10.5px}
.landlord-alert{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.landlord-alert .muted{flex:1 1 360px}
.landlord-kpi-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 12px}
.landlord-kpi-grid--wide{grid-template-columns:repeat(5,minmax(0,1fr))}
.landlord-kpi-grid .stat{min-width:0;border:1px solid var(--landlord-line);border-top:3px solid #8ac9cc;border-radius:12px;background:#fff;box-shadow:none}
.landlord-kpi-grid .stat:first-child{border-top-color:var(--brand)}
.landlord-kpi-grid .stat .v{font-size:25px;line-height:1.1}
.landlord-kpi-grid .stat .l{line-height:1.35}
.landlord-traffic-period{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;align-items:center}
.landlord-traffic-period .btn{min-height:34px}
.landlord-traffic-note{padding:14px 18px!important;border-left:3px solid #8ac9cc;background:linear-gradient(90deg,#f4fbfb,#fff)}
.landlord-traffic-table-wrap{overflow-x:auto;padding:0!important}
.landlord-traffic-table{min-width:760px!important;margin:0}
.landlord-traffic-table th,.landlord-traffic-table td{vertical-align:middle}
.landlord-traffic-table td:first-child{min-width:210px}
.landlord-traffic-kpis .stat{border-top-color:#8ac9cc}
.landlord-table-wrap{overflow-x:auto;padding:0!important}
.landlord-table-wrap .atable{min-width:700px}
.landlord-listing-card{overflow:hidden;margin-top:12px;padding:16px!important;border-left:3px solid #c6e4e5}
.landlord-listing-card:hover{border-left-color:var(--brand);box-shadow:0 14px 32px rgba(15,75,82,.10)!important}
.landlord-listing-card .btn{min-height:36px}
.landlord-thread-card{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.landlord-thread-card:hover{border-color:#a6d6d9;box-shadow:0 12px 26px rgba(15,75,82,.09)!important;transform:translateY(-1px)}
.landlord-panel-head{background:linear-gradient(90deg,#f4fbfb,#fff)!important}
.landlord-conversation{padding:18px 20px!important;background:linear-gradient(180deg,#fbfefe,#fff)}
.landlord-conversation>div{margin:12px 0!important}
.landlord-conversation>div>div{box-shadow:0 3px 10px rgba(15,75,82,.05)}
.landlord-form-card,.landlord-account-card,.landlord-notification-card,.landlord-billing-card,.landlord-verification-card{padding:20px!important}
.landlord-form-card h3,.landlord-account-card h3,.landlord-notification-card h3,.landlord-billing-card h3,.landlord-verification-card h3{margin-top:0}
.landlord-channel-grid{gap:10px!important}
.landlord-channel-grid .checkline{display:flex;align-items:flex-start;gap:9px;min-height:48px;padding:12px;border:1px solid var(--landlord-line);border-radius:10px;background:var(--landlord-soft)}
.landlord-channel-grid .checkline input{margin-top:2px;flex:0 0 auto}
.landlord-performance-grid{min-width:0}
.landlord-mini-stat{min-width:0;padding:12px;border:1px solid var(--landlord-line);border-radius:10px;background:var(--landlord-soft)}
.landlord-mini-stat b{display:block;color:var(--brand-d);font-size:22px;line-height:1.15}
.landlord-mini-stat span{display:block;margin-top:4px;color:var(--ink-soft);font-size:12px;line-height:1.35}
.landlord-bulk-bar select{min-height:36px;border-color:#b9dfe1;border-radius:8px;padding:0 10px;background:#fff}
.landlord-telegram-card{border-left:3px solid #63aeb5!important}
.landlord-listing-form .landlord-form-card{margin-top:14px}
.landlord-listing-form .landlord-form-card h3{padding-bottom:10px;border-bottom:1px solid var(--landlord-line)}
.landlord-listing-form label{line-height:1.35}
.landlord-listing-form input,.landlord-listing-form select,.landlord-listing-form textarea,.landlord-account-card input,.landlord-account-card select,.landlord-account-card textarea,.landlord-notification-card input,.landlord-notification-card select{border-color:#b9dfe1}
.landlord-listing-form input:focus,.landlord-listing-form select:focus,.landlord-listing-form textarea:focus,.landlord-account-card input:focus,.landlord-account-card select:focus,.landlord-account-card textarea:focus,.landlord-notification-card input:focus,.landlord-notification-card select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(14,124,134,.12);outline:0}
.landlord-portal :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(14,124,134,.28);outline-offset:2px}
@media (max-width: 900px){
  .landlord-kpi-grid,.landlord-kpi-grid--wide{grid-template-columns:repeat(2,minmax(0,1fr))}
  .landlord-page-head{align-items:stretch;flex-direction:column}
  .landlord-page-head__action{align-self:flex-start}
  .landlord-traffic-period{justify-content:flex-start}
}
@media (max-width: 640px){
  .landlord-portal{grid-template-columns:1fr;padding-top:14px}
  .landlord-portal .landlord-side{position:static}
  .landlord-portal .side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .landlord-portal .side-foot{margin-top:8px}
  .landlord-kpi-grid,.landlord-kpi-grid--wide{grid-template-columns:1fr}
  .landlord-form-card,.landlord-account-card,.landlord-notification-card,.landlord-billing-card,.landlord-verification-card{padding:16px!important}
  .landlord-alert{align-items:flex-start}
  .landlord-alert .btn{width:100%;justify-content:center;margin-left:0!important}
  .landlord-performance-grid{grid-template-columns:1fr!important}
  .landlord-bulk-bar{align-items:stretch!important}
  .landlord-bulk-bar label,.landlord-bulk-bar select,.landlord-bulk-bar .btn{width:100%}
}
@media (prefers-reduced-motion: reduce){
  .landlord-portal .landlord-nav__link,.landlord-thread-card{transition:none}
  .landlord-portal .landlord-nav__link:hover,.landlord-thread-card:hover{transform:none}
}

/* Roommates directory continuation, searchable directory and plain-language How-To. */
.roommates-see-more{display:flex;min-height:100%;flex-direction:column;justify-content:center;gap:8px;padding:24px;border:1px dashed #8bcfc8;border-radius:16px;background:linear-gradient(145deg,#e7fbf4,#f8fffd 62%,#fff6ed);color:var(--ink);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.roommates-see-more:hover{transform:translateY(-3px);border-color:var(--cta);box-shadow:0 14px 28px rgba(15,43,51,.09)}.roommates-see-more:focus-visible{outline:3px solid rgba(14,124,134,.28);outline-offset:3px}.roommates-see-more strong{font-size:21px;letter-spacing:-.035em}.roommates-see-more>span:last-child{color:var(--brand-d);font-size:12px;font-weight:800}.roommates-not-fit{color:var(--ink-soft);font-size:11px;font-weight:800}.roommates-directory-page .roommates-back{margin-bottom:18px}.roommates-directory-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:22px;padding:20px 0 26px;border-bottom:1px solid rgba(14,124,134,.18)}.roommates-directory-hero h1{max-width:700px;margin:5px 0 10px;color:var(--ink);font-size:clamp(30px,4vw,48px);line-height:1.04;letter-spacing:-.055em}.roommates-directory-hero p:not(.eyebrow){max-width:700px;color:var(--ink-soft);font-size:15px;line-height:1.6}.roommates-directory-hero__count{display:grid;min-width:150px;padding:17px 20px;border:1px solid #9fded7;border-radius:16px;background:#effbf8;text-align:center}.roommates-directory-hero__count strong{color:var(--brand-d);font-size:32px;line-height:1}.roommates-directory-hero__count span{margin-top:5px;color:var(--ink-soft);font-size:12px;font-weight:800}.roommates-filters--directory{grid-template-columns:1.7fr repeat(6,.78fr) auto;align-items:end}.roommates-filter-search{grid-column:span 2}.roommates-filter-clear{align-self:center;color:var(--brand-d);font-size:12px;font-weight:800;text-decoration:underline;white-space:nowrap}.roommates-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;color:var(--ink-soft);font-size:12px;font-weight:800}.roommates-howto{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:28px;margin-top:28px;padding:26px;border:1px solid #a9dcd8;border-radius:20px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 66%,#fff7ef);box-shadow:0 10px 26px rgba(15,43,51,.05)}.roommates-howto__intro h2{margin:4px 0 9px;color:var(--ink);font-size:25px;line-height:1.08;letter-spacing:-.04em}.roommates-howto__intro p:not(.eyebrow){color:var(--ink-soft);font-size:13px;line-height:1.6}.roommates-howto__questions{display:grid;gap:8px}.roommates-howto details{padding:0 14px;border:1px solid rgba(159,222,215,.8);border-radius:12px;background:rgba(255,255,255,.72)}.roommates-howto summary{padding:13px 19px 13px 0;color:var(--ink);font-size:13px;font-weight:800;cursor:pointer;list-style:none;position:relative}.roommates-howto summary::-webkit-details-marker{display:none}.roommates-howto summary::after{content:'+';position:absolute;right:0;color:var(--brand-d);font-size:18px;line-height:1}.roommates-howto details[open] summary::after{content:'−'}.roommates-howto summary:focus-visible{outline:3px solid rgba(14,124,134,.22);outline-offset:3px;border-radius:6px}.roommates-howto details p{max-width:680px;margin:0;padding:0 0 14px;color:var(--ink-soft);font-size:12px;line-height:1.55}.roommates-directory-page .roommates-howto{margin-bottom:8px}
.roommates-results__hint{margin-top:5px;color:var(--ink-soft);font-size:12px;line-height:1.45}.roommates-score--boosted{background:#fff1e5;color:#a25614}.roommates-upgrade-card,.roommates-paid-tools{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:22px 0 0;padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}.roommates-upgrade-card h2,.roommates-paid-tools h2{margin:3px 0 6px;font-size:20px;letter-spacing:-.03em}.roommates-upgrade-card p:not(.eyebrow),.roommates-paid-tools p:not(.eyebrow){max-width:700px;color:var(--ink-soft);font-size:13px;line-height:1.5}.roommates-paid-tools--boost{margin-top:14px;background:#fff}.roommates-toggle-form{margin:0}.roommates-toggle-form label{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid #b7d9da;border-radius:10px;color:var(--brand-d);font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.roommates-toggle-form input{accent-color:var(--brand)}.roommates-photo-status{margin:0 0 14px!important;padding:11px 13px;border:1px solid #b7d9da;border-radius:10px;background:#f2fffb;color:var(--brand-d)!important;font-size:12px!important;font-weight:700}.roommates-photo-status a{margin-left:6px;color:var(--brand-d);text-decoration:underline}.roommates-insights{margin-top:22px;padding:18px;border:1px solid #a9dcd8;border-radius:15px;background:#f2fffb}.roommates-insights__head{display:flex;justify-content:space-between;align-items:start;gap:12px}.roommates-insights h2{margin:3px 0 5px;font-size:19px;letter-spacing:-.03em}.roommates-insights>p:not(.eyebrow){margin:0 0 14px;color:var(--ink-soft);font-size:12px;line-height:1.5}.roommates-insights__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.roommates-insights__grid div{display:grid;gap:3px;padding:9px 10px;border-radius:10px;background:#fff}.roommates-insights__grid small{color:var(--ink-soft);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.roommates-insights__grid b{font-size:12px;line-height:1.4}.roommates-upgrade-card--profile{display:block;margin-top:22px}.roommates-upgrade-card--profile h2{font-size:22px}.roommates-upgrade-card--profile .btn{display:inline-flex;margin-top:13px}
@media(max-width:980px){.roommates-filters--directory{grid-template-columns:repeat(4,minmax(0,1fr))}.roommates-filter-search{grid-column:span 2}.roommates-filters--directory .btn{grid-column:span 1}.roommates-howto{grid-template-columns:1fr 1.5fr}}
@media(max-width:600px){.roommates-directory-hero{align-items:flex-start;flex-direction:column;gap:16px}.roommates-directory-hero__count{min-width:0;width:100%;grid-template-columns:auto 1fr;align-items:center;gap:8px;text-align:left}.roommates-directory-hero__count span{margin-top:0}.roommates-filters--directory{grid-template-columns:1fr 1fr}.roommates-filter-search{grid-column:span 2}.roommates-filters--directory .btn{grid-column:span 2}.roommates-filter-clear{grid-column:span 2;justify-self:start}.roommates-pagination{justify-content:space-between}.roommates-pagination .btn{padding:8px 10px}.roommates-howto{grid-template-columns:1fr;gap:18px;padding:18px}.roommates-howto__intro h2{font-size:22px}.roommates-upgrade-card,.roommates-paid-tools{align-items:flex-start;flex-direction:column;padding:18px}.roommates-upgrade-card .btn,.roommates-paid-tools .btn,.roommates-paid-tools form{width:100%}.roommates-upgrade-card .btn,.roommates-paid-tools .btn{justify-content:center}.roommates-insights__grid{grid-template-columns:1fr}}

/* Room Share paid-plan comparison on Pricing and Discover. */
.roommates-pricing-section{margin:22px 0 0;padding:24px;border:1px solid #a9dcd8;border-radius:20px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 10px 26px rgba(15,43,51,.05)}
.roommates-pricing-section__intro{max-width:760px}.roommates-pricing-section__intro h2,.roommates-plan-explainer h2{margin:4px 0 8px;font-size:clamp(22px,3vw,30px);line-height:1.08;letter-spacing:-.045em}.roommates-pricing-section__intro p:not(.eyebrow),.roommates-plan-explainer__intro p:not(.eyebrow){color:var(--ink-soft);font-size:13px;line-height:1.55}
.roommates-pricing-grid,.roommates-plan-explainer__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.roommates-pricing-card,.roommates-plan-explainer__card{padding:16px;border:1px solid #cfe2e4;border-radius:14px;background:rgba(255,255,255,.78)}.roommates-pricing-card--featured,.roommates-plan-explainer__card--featured{border-color:#70c9c2;background:#f2fffb;box-shadow:0 8px 18px rgba(15,43,51,.06)}.roommates-pricing-card h3,.roommates-plan-explainer__card h3{margin:4px 0 10px;font-size:17px;letter-spacing:-.025em}.roommates-pricing-card ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.roommates-pricing-card li{position:relative;padding-left:16px;color:var(--ink-soft);font-size:12px;line-height:1.45}.roommates-pricing-card li::before{content:'✓';position:absolute;left:0;color:var(--brand-d);font-weight:900}.roommates-pricing-section__note{margin:16px 0 0;color:var(--ink-soft);font-size:11px;line-height:1.5}
.roommates-plan-explainer{margin:0 0 22px;padding:20px 22px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}.roommates-plan-explainer__card p:not(.eyebrow){margin:0;color:var(--ink-soft);font-size:12px;line-height:1.5}.roommates-plan-explainer__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(14,124,134,.16)}.roommates-plan-explainer__footer p{margin:0;color:var(--ink-soft);font-size:11px;line-height:1.45}.roommates-plan-explainer__footer .btn{flex:none;white-space:nowrap}
@media(max-width:980px){.roommates-pricing-grid,.roommates-plan-explainer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.roommates-pricing-section,.roommates-plan-explainer{padding:18px}.roommates-pricing-grid,.roommates-plan-explainer__grid{grid-template-columns:1fr}.roommates-plan-explainer__footer{align-items:flex-start;flex-direction:column}.roommates-plan-explainer__footer .btn{width:100%;justify-content:center}}

/* Room share: keep language bar close to page end */
main:has(.roommates-page) + .lang-links{margin-top:4px}

/* Roommates discovery counts. */
.roommates-results__counts{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:250px}.roommates-count-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border:1px solid #cfe2e4;border-radius:999px;background:#f5fbfa;color:var(--ink-soft);font-size:11px;font-weight:800;white-space:nowrap}.roommates-count-pill--compatible{border-color:#70c9c2;background:#e8fbf5;color:var(--brand-d)}.roommates-count-pill--directory{background:#fff}
@media(max-width:600px){.roommates-results__counts{justify-content:flex-start;min-width:0;width:100%}.roommates-count-pill{white-space:normal}}

/* Search Team: paid shared-search foundation and Free preview. */
.roommates-team{max-width:960px;margin:0 auto;padding:26px;border:1px solid #cfe3e4;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:var(--shadow-sm)}.roommates-team__head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-bottom:20px;border-bottom:1px solid var(--line)}.roommates-team__head h1{margin:3px 0 8px;font-size:32px;letter-spacing:-.045em}.roommates-team__head p:not(.eyebrow){max-width:650px;color:var(--ink-soft);font-size:14px;line-height:1.55}.roommates-team__match{padding:7px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-d);font-size:10px;font-weight:900;letter-spacing:.05em;white-space:nowrap}.roommates-team__locked{margin-top:22px;padding:23px;border:1px solid #f0d0af;border-radius:16px;background:linear-gradient(120deg,#fff8ed,#fff)}.roommates-team__locked h2{margin:3px 0 8px;font-size:23px;letter-spacing:-.035em}.roommates-team__locked p:not(.eyebrow){max-width:680px;color:var(--ink-soft);font-size:14px;line-height:1.55}.roommates-team-form{margin-top:22px;padding:22px;border:1px solid #b9dfdb;border-radius:16px;background:linear-gradient(120deg,#f2fffb,#fff)}.roommates-team-form__grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:12px}.roommates-team-form label{display:grid;gap:6px;color:var(--ink-soft);font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.roommates-team-form input,.roommates-team-form select,.roommates-team-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfe0e2;border-radius:10px;background:#fff;color:var(--ink);font:600 13px var(--dssh-ui,inherit)}.roommates-team-form input,.roommates-team-form select{height:42px;padding:0 11px}.roommates-team-form textarea{min-height:92px;padding:10px 11px;resize:vertical}.roommates-team-form input:focus-visible,.roommates-team-form select:focus-visible,.roommates-team-form textarea:focus-visible{outline:3px solid rgba(14,124,134,.2);outline-offset:2px;border-color:var(--brand)}.roommates-team-form__areas{margin-top:14px}.roommates-team-form__areas small{color:var(--ink-soft);font-size:11px;font-weight:600;letter-spacing:0;text-transform:none}.roommates-team-form__actions{display:flex;align-items:center;gap:14px;margin-top:16px}.roommates-team-form__actions span{color:var(--ink-soft);font-size:12px}.roommates-team__foundation{margin-top:20px;padding:16px 18px;border:1px dashed #a9d6d3;border-radius:14px;background:#f7fffd}.roommates-team__foundation p:last-child{margin:3px 0 0;color:var(--ink-soft);font-size:12px;line-height:1.5}.roommates-team-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 0;padding:18px 20px;border:1px solid #b9dfdb;border-radius:17px;background:linear-gradient(120deg,#edfffa,#fffaf3)}.roommates-team-promo h2{margin:3px 0 6px;font-size:20px;letter-spacing:-.03em}.roommates-team-promo p:not(.eyebrow){max-width:690px;color:var(--ink-soft);font-size:13px;line-height:1.5}.roommates-search-team-link{white-space:nowrap}
@media(max-width:720px){.roommates-team{padding:20px}.roommates-team__head,.roommates-team-promo{display:grid;gap:14px}.roommates-team__head h1{font-size:27px}.roommates-team-form__grid{grid-template-columns:1fr}.roommates-team-form__actions{align-items:flex-start;flex-direction:column}.roommates-search-team-link{white-space:normal}}

/* Room Share hybrid routes — a compact orientation layer that keeps the
   existing teal/orange shell, illustration, cards and route structure. */
.roommates-route-picker{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:18px;align-items:stretch;margin:0 0 22px;padding:18px 20px;border:1px solid #a9dcd8;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fbfffe 68%,#fff7ef);box-shadow:0 8px 22px rgba(15,43,51,.05)}
.roommates-route-picker__intro{display:flex;flex-direction:column;justify-content:center}.roommates-route-picker__intro h2{margin:4px 0 6px;font-size:22px;letter-spacing:-.035em}.roommates-route-picker__intro p:not(.eyebrow){margin:0;color:var(--ink-soft);font-size:12px;line-height:1.5}.roommates-route-picker__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.roommates-route-picker__option{display:flex;align-items:flex-start;gap:9px;min-height:100%;padding:12px;border:1px solid #c5e1df;border-radius:13px;background:rgba(255,255,255,.78);color:var(--ink);text-decoration:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.roommates-route-picker__option:hover{border-color:#70c9c2;background:#fff;box-shadow:0 8px 18px rgba(15,43,51,.08);transform:translateY(-2px)}.roommates-route-picker__option:focus-visible{outline:3px solid rgba(14,124,134,.25);outline-offset:3px}.roommates-route-picker__option.is-selected{border-color:var(--brand);background:#effbf8;box-shadow:inset 0 0 0 1px rgba(14,124,134,.12)}.roommates-route-picker__mark{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;background:#d9f3ed;color:var(--brand-d);font-size:16px;font-weight:900;line-height:1}.roommates-route-picker__option strong{display:block;font-size:12px;line-height:1.25}.roommates-route-picker__option small{display:block;margin-top:4px;color:var(--ink-soft);font-size:11px;line-height:1.35}.roommates-route-picker__option em{display:block;margin-top:8px;color:var(--brand-d);font-size:10px;font-style:normal;font-weight:850}.roommates-card__intent{display:flex;align-items:baseline;gap:7px;margin:10px 0 0;padding:8px 10px;border:1px solid #d6e9e6;border-radius:9px;background:#f5fcfa}.roommates-card__intent small{color:var(--ink-soft);font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.roommates-card__intent strong{color:var(--brand-d);font-size:11px;line-height:1.35}.roommates-filters{grid-template-columns:1.2fr repeat(6,.8fr) auto}.roommates-filters--directory{grid-template-columns:1.7fr repeat(7,.78fr) auto}
.roommates-setup-route-picker{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0}.roommates-setup-route-picker legend{margin:0 0 5px;color:var(--ink);font-size:12px;font-weight:850}.roommates-setup-route-picker>small{display:block;margin:0 0 10px;color:var(--ink-soft);font-size:11px;font-weight:600;line-height:1.4}.roommates-setup-route-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.roommates-setup-route-picker__option{position:relative;display:block;margin:0}.roommates-setup-route-picker__option input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.roommates-setup-route-picker__option span{display:block;height:100%;padding:12px;border:1px solid #c8dde0;border-radius:11px;background:#fff;cursor:pointer}.roommates-setup-route-picker__option span:hover{border-color:#70c9c2}.roommates-setup-route-picker__option input:checked+span{border-color:var(--brand);background:#effbf8;box-shadow:inset 0 0 0 1px rgba(14,124,134,.12)}.roommates-setup-route-picker__option input:focus-visible+span{outline:3px solid rgba(14,124,134,.25);outline-offset:3px}.roommates-setup-route-picker__option b{display:block;color:var(--ink);font-size:12px;line-height:1.3}.roommates-setup-route-picker__option small{display:block;margin-top:5px;color:var(--ink-soft);font-size:11px;line-height:1.4}
@media(max-width:980px){.roommates-route-picker{grid-template-columns:1fr}.roommates-route-picker__intro{display:block}.roommates-filters--directory{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.roommates-route-picker__grid,.roommates-setup-route-picker>div{grid-template-columns:1fr}.roommates-route-picker{padding:16px}.roommates-route-picker__option{min-height:0}.roommates-setup-route-picker{grid-column:auto}}
@media(max-width:860px){.roommates-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.roommates-filters label:first-of-type{grid-column:span 2}.roommates-filters .btn{grid-column:span 1}}
@media(max-width:600px){.roommates-filters{grid-template-columns:1fr 1fr}.roommates-filters label:first-of-type{grid-column:span 2}.roommates-filters .btn{grid-column:span 2}.roommates-filters--directory{grid-template-columns:1fr 1fr}.roommates-filters--directory .roommates-filter-search{grid-column:span 2}.roommates-filters--directory .btn{grid-column:span 2}}


/* Room share nav — variant 1: mint pill + people icon + NEW badge */
.nav-room-share{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 10px 5px 8px;margin-left:0;border:1px solid rgba(14,124,134,.16);border-radius:11px;background:#E8F7F8;color:var(--brand-d)!important;font-weight:800;line-height:1;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}
.nav-room-share:hover{background:#d9f1f3;border-color:rgba(14,124,134,.28);color:var(--brand-d)!important}
.nav-room-share.is-active,.nav-room-share[aria-current="page"]{background:#d3eef1;border-color:rgba(14,124,134,.34);box-shadow:inset 0 0 0 1px rgba(14,124,134,.08)}
.nav-room-share__ic{flex:0 0 auto;display:block;color:var(--brand-d)}
.nav-room-share__label{white-space:nowrap}
.nav-room-share__badge{position:absolute;top:-8px;right:-8px;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:16px;padding:2px 6px;border-radius:6px;background:var(--cta);color:#fff;font-size:9px;font-weight:900;letter-spacing:.04em;line-height:1;box-shadow:0 2px 6px rgba(255,107,61,.35);pointer-events:none}
/* =====================================================================
   VISUAL SYSTEM 2026-08 — unified header, calmer cards, clear trust states
   Scoped after the existing polish layers so this release is reversible by
   removing this block or restoring the three-file backup in the release ZIP.
   ===================================================================== */
:root{
  --ink:#0F2B33;
  --brand:#0E7C86;
  --aqua:#E9FBF5;
  --cta:#FF6B3D;
  --sand:#FFF5E9;
  --border:#D9E7E9;
  --line:var(--border);
  --brand-d:#0A5A62;
  --cta-d:#E85A32;
  --dssh-surface-shadow:0 1px 2px rgba(15,43,51,.04),0 10px 24px rgba(15,43,51,.055);
}

/* Header: visual groups are carried by classes while the existing routes and
   mobile menu behavior remain unchanged. */
header.site{background:rgba(255,255,255,.94);border-bottom-color:var(--border);box-shadow:0 1px 0 rgba(15,43,51,.03),0 8px 22px rgba(15,43,51,.035)}
header.site .wrap{min-height:68px;height:68px;gap:12px}
nav.main--site{gap:2px;font-size:13.5px}
nav.main--site .nav-link,nav.main--site .navcity-more{display:inline-flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:10px;color:var(--ink-soft);font-weight:750;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
nav.main--site .nav-link:hover,nav.main--site .navcity-more:hover{background:var(--aqua);color:var(--brand-d)}
nav.main--site .nav-link.is-active{background:var(--aqua);color:var(--brand-d);box-shadow:inset 0 0 0 1px rgba(14,124,134,.12)}
nav.main--site .nav-link--resource-start{margin-left:0;padding-left:10px;border-left:0;border-radius:10px}
nav.main--site .nav-link--community{margin-left:3px}
nav.main--site[data-room-share-active="1"] .nav-room-share{background:#d3eef1;color:var(--brand-d)!important;border-color:rgba(14,124,134,.34);box-shadow:inset 0 0 0 1px rgba(14,124,134,.08)}
nav.main--site[data-room-share-active="1"] .nav-room-share:hover{background:#c7e9ed;color:var(--brand-d)!important}
.headcta--account{gap:6px;padding-left:0;border-left:0}
.headcta--account .headcta-btn--admin{padding-left:12px;padding-right:12px;color:var(--brand-d)}
.headcta--account .headcta-form{margin:0}

/* A quieter surface hierarchy: less decoration around every block, stronger
   separation only where the user makes a decision. */
body:not(.is-admin-panel) .searchbox,
body:not(.is-admin-panel) .pcard,
body:not(.is-admin-panel) .mcard,
body:not(.is-admin-panel) .listing,
body:not(.is-admin-panel) .plan,
body:not(.is-admin-panel) .panel,
body:not(.is-admin-panel) .authcard{border-color:var(--border);border-radius:12px;box-shadow:var(--dssh-surface-shadow)}
body:not(.is-admin-panel) .mcard:hover,
body:not(.is-admin-panel) .listing:hover,
body:not(.is-admin-panel) .pcard:hover,
body:not(.is-admin-panel) .plan:hover{box-shadow:0 3px 7px rgba(15,43,51,.06),0 18px 34px rgba(15,43,51,.10)}

/* Listing imagery: one predictable crop across search, city cards and detail
   galleries. The markup's dssh-uploaded-photo modifiers can still adjust a
   special focal point when a source needs it. */
.listing .img{aspect-ratio:16/10;min-height:0;background:#e7f2f3}
.listing .img img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block}
.listing-thumb,.mcard-im__img,.listing-gallery__item img,.similar-card__img img{object-fit:cover;object-position:50% 45%}
.mcard-im{aspect-ratio:16/10;height:auto;min-height:0}
.roommates-card__photo{aspect-ratio:16/10;height:auto;min-height:150px}
.roommates-card__photo img{object-fit:cover;object-position:50% 50%}
.dssh-uploaded-photo--person-wide{object-position:50% 40%!important}
.dssh-uploaded-photo--person-square{object-position:50% 50%!important}
.dssh-uploaded-photo--property{object-position:50% 45%!important}

/* Search: sticky decision surface on desktop, compact jump/drawer on mobile,
   and an explicit reset action whenever a filter is active. */
.search-page .searchhead{border-bottom-color:var(--border);background:rgba(255,255,255,.96)}
.search-page .searchhead .search-toolbar{border-color:var(--border);border-radius:14px;box-shadow:0 8px 24px rgba(15,43,51,.06)}
.search-page .search-actions{gap:7px}
.search-clear-filters{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 8px;color:var(--brand-d);font-size:11px;font-weight:850;text-decoration:underline;white-space:nowrap}
.search-clear-filters:hover{color:var(--cta-d)}
.search-page .filters .chip{border-color:var(--border);background:#fff}
.search-page .filters .chip.act{border-color:rgba(14,124,134,.42);background:var(--aqua);color:var(--brand-d)}
.search-page .listing .meta{color:#3f5c64}
.search-page .listing .lprice{color:var(--ink);font-variant-numeric:tabular-nums}

/* Pricing and trust: the plan that is recommended is visibly structured;
   safety states use color by meaning, not by decoration. */
.pricing-page .plan{position:relative;border-radius:14px;background:#fff}
.pricing-page .plan.hot{border-color:#70c9c2;background:linear-gradient(180deg,#f2fffb 0%,#fff 38%);box-shadow:0 12px 28px rgba(14,124,134,.12)}
.pricing-page .plan .tag{background:var(--cta);color:#fff;border-radius:999px}
.pricing-page .plan ul{gap:9px}
.pricing-page .roommates-pricing-card--featured{border-color:#70c9c2;background:var(--aqua);box-shadow:0 10px 22px rgba(14,124,134,.10)}
.trust-status{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 9px;border-radius:999px;border:1px solid var(--border);font-size:11px;font-weight:850}
.trust-status--public{border-color:#9ad8c4;background:#effbf5;color:#137455}
.trust-status--private{border-color:#f0c990;background:var(--sand);color:#9a5c18}
.trust-status--hidden{border-color:#c9d7da;background:#f4f7f8;color:var(--ink-soft)}
.listing-page .listing-quality,.listing-page .listing-scambox,.listing-page .listing-costbox{border-radius:12px;box-shadow:var(--dssh-surface-shadow)}
.roommates-card__photo small{border-color:rgba(14,124,134,.18);backdrop-filter:blur(5px)}

@media(min-width:901px){
  /* Don't let the filter wall overlay the map while scrolling. */
  .search-page .searchhead{position:relative;top:auto;z-index:auto;box-shadow:none}
}

@media(max-width:900px){
  header.site .wrap{height:64px;min-height:64px}
  nav.main--site.open .nav-link{display:flex;align-items:center;min-height:44px;padding:12px 6px;border-radius:9px}
  nav.main--site.open .nav-link--resource-start{margin-left:0;padding-left:6px;border-left:0;border-top:0;border-radius:9px}
  nav.main--site.open .nav-link.is-active{background:var(--aqua);color:var(--brand-d)}
  nav.main--site.open .nav-room-share{width:max-content;margin:4px 0;min-height:40px;padding:8px 14px}
  nav.main--site.open[data-room-share-active="1"] .nav-room-share{background:#d3eef1;color:var(--brand-d)!important}
  .headcta--account{border-left:0;padding-left:0}
  .search-page .search-mobile-jump{border-bottom-color:var(--border);box-shadow:0 4px 12px rgba(15,43,51,.04)}
  .search-page .search-actions{display:flex;flex-direction:column;align-items:stretch}
  .search-page .search-actions .btn{width:100%}
  .search-clear-filters{order:2;width:100%;min-height:36px}
  .search-page .listing .img{aspect-ratio:16/9;min-height:0}
  .mcard-im{aspect-ratio:16/10}
}

@media(prefers-reduced-motion:reduce){
  nav.main--site .nav-link,.headcta--account .btn,body:not(.is-admin-panel) .mcard,body:not(.is-admin-panel) .listing{transition:none}
}

/* Nav city picker — custom menu (OS select uses royal blue; we use mint/teal like Room share) */
.city-picker-wrap--menu{position:relative;z-index:40}
.city-picker-wrap--menu .city-picker--nav{
  display:inline-flex;align-items:center;max-width:100%;
  font:inherit;font-weight:700;font-size:14px;line-height:1.2;
  font-family:inherit;text-align:left;cursor:pointer;
}
.city-picker-wrap--nav.is-open::after{transform:translateY(-50%) rotate(180deg);margin-top:0}
.city-picker-wrap--nav.is-open .city-picker--nav{
  background:#fff;border-color:var(--brand,#0e7c86);
  box-shadow:0 0 0 3px rgba(14,124,134,.14);
}
.city-picker-menu{
  /* Keep calc() operator whitespace: CSS requires it for a valid position. */
  position:absolute;top:calc(100% + 8px);left:0;z-index:80;
  box-sizing:border-box;width:max-content;min-width:280px;max-width:min(360px,calc(100vw - 24px));
  max-height:min(calc(100vh - 150px),520px);overflow-x:hidden;overflow-y:auto;
  margin:0;padding:8px;list-style:none;
  border:1px solid rgba(14,124,134,.18);border-radius:12px;
  background:#fff;
  box-shadow:0 14px 32px rgba(15,43,51,.12),0 2px 6px rgba(15,43,51,.04);
  scrollbar-width:thin;
  scrollbar-color:rgba(14,124,134,.32) transparent;
}
.city-picker-menu[hidden]{display:none!important}
.city-picker-menu::-webkit-scrollbar{width:5px}
.city-picker-menu::-webkit-scrollbar-track{background:transparent;margin:4px 0}
.city-picker-menu::-webkit-scrollbar-thumb{
  background:rgba(14,124,134,.28);
  border-radius:999px;
  border:1px solid transparent;
  background-clip:padding-box;
}
.city-picker-menu::-webkit-scrollbar-thumb:hover{background:rgba(14,124,134,.48);background-clip:padding-box}
.city-picker-menu::-webkit-scrollbar-corner{background:transparent}
.city-picker-menu li{min-width:0;margin:0;padding:0}
.city-picker-menu__item{
  display:flex;align-items:center;min-height:38px;padding:8px 10px;border-radius:8px;
  color:var(--ink,#0f2b33);font:700 13.5px/1.25 var(--dssh-ui,inherit);
  text-decoration:none;white-space:nowrap;
  transition:background-color .12s ease,color .12s ease;
}
.city-picker-menu__item:hover,
.city-picker-menu__item:focus-visible{
  background:#E8F7F8;color:var(--brand-d,#0a5a62);outline:none;
}
.city-picker-menu__item.is-current{
  background:#d3eef1;color:var(--brand-d,#0a5a62);
  box-shadow:inset 0 0 0 1px rgba(14,124,134,.22);
}
/* Best-effort for remaining native selects (home/search) — Firefox etc. */
select.city-picker option:checked,
select.city-picker option:hover{
  background-color:#d3eef1;color:#0a5a62;
}
select.city-picker{accent-color:var(--brand,#0e7c86)}

@media(max-width:900px){
  nav.main.open .city-picker-wrap--menu{width:100%;z-index:5}
  nav.main.open .city-picker-menu{left:0;right:0;min-width:0;width:100%;max-height:calc(100vh - 154px)}
}

.roommates-card__actions{flex-wrap:wrap}.roommates-verification-badge{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:5px 8px;border:1px solid transparent;border-radius:999px;font-size:10px;font-weight:850;line-height:1.2;white-space:nowrap;text-decoration:none}.roommates-verification-badge--paid{border-color:#a9dcd8;background:var(--ok-soft);color:var(--ok)}.roommates-verification-badge--free{border-color:#f0c995;background:#fff5e9;color:#a25614}.roommates-verification-badge--free:hover{border-color:#d98a35;background:#fff0db;color:#81400e}.roommates-profile-card__top>div:nth-child(2){min-width:0;flex:1}.roommates-profile-card__top .roommates-verification-badge{align-self:flex-start;margin-top:8px}

/* ---- Editorial engine shell -----------------------------------------
   A restrained Myrlin-inspired information rhythm: thesis, observable
   proof, guardrails and a next action. The DSH teal/orange system remains
   the visual authority; monospace is reserved for status labels. -------- */
.dssh-engine-shell{
  --engine-ink:#12343c;
  --engine-muted:#5d777d;
  --engine-line:#cfe4e5;
  --engine-teal:#0e7c86;
  --engine-orange:#ff6b35;
  position:relative;
  overflow:hidden;
  margin:0 0 28px;
  padding:clamp(20px,3vw,34px);
  border:1px solid var(--engine-line);
  border-radius:18px;
  background:
    radial-gradient(circle at 96% 4%,rgba(181,235,213,.72),transparent 25%),
    linear-gradient(135deg,#f8ffff 0%,#fff 58%,#fff8ef 100%);
  box-shadow:0 12px 30px rgba(15,75,82,.065);
}
.dssh-engine-shell::after{
  position:absolute;
  right:-44px;
  bottom:-72px;
  width:190px;
  height:190px;
  border:1px solid rgba(14,124,134,.14);
  border-radius:50%;
  box-shadow:0 0 0 25px rgba(14,124,134,.035),0 0 0 50px rgba(14,124,134,.022);
  content:"";
  pointer-events:none;
}
.dssh-engine-shell__head{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
  gap:clamp(22px,4vw,58px);
  align-items:stretch;
}
.dssh-engine-shell__copy{min-width:0;align-self:center}
.dssh-engine-shell__copy .eyebrow{margin:0 0 8px;color:var(--engine-teal);font-size:10px;letter-spacing:.12em;font-weight:900}
.dssh-engine-shell__copy h2{max-width:680px;margin:0;color:var(--engine-ink);font-size:clamp(28px,4vw,48px);font-weight:850;letter-spacing:-.055em;line-height:1.02}
.dssh-engine-shell__lead{max-width:650px;margin:15px 0 0;color:var(--engine-muted);font-size:15px;line-height:1.65}
.dssh-engine-shell__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}
.dssh-engine-shell__actions .btn{min-height:42px}
.dssh-engine-shell__actions .btn:focus-visible{outline:3px solid rgba(14,124,134,.28);outline-offset:3px}
.dssh-engine-shell__proof{
  min-width:0;
  padding:20px;
  border:1px solid #b9dfe1;
  border-radius:15px;
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 20px rgba(15,75,82,.055);
}
.dssh-engine-shell__proof-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}
.dssh-engine-shell__console-label,.dssh-engine-shell__console-state{font:800 10px/1.2 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;letter-spacing:.08em;text-transform:uppercase}
.dssh-engine-shell__console-label{color:var(--engine-teal)}
.dssh-engine-shell__console-state{display:inline-flex;align-items:center;gap:5px;color:#27855f}
.dssh-engine-shell__console-state::before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}
.dssh-engine-shell__proof h3{margin:0;color:var(--engine-ink);font-size:19px;letter-spacing:-.025em;line-height:1.2}
.dssh-engine-shell__proof>p:not(.dssh-engine-shell__guardrail){margin:7px 0 14px;color:var(--engine-muted);font-size:12.5px;line-height:1.5}
.dssh-engine-shell__proof-grid{display:grid;gap:7px}
.dssh-engine-shell__proof-row{display:flex;align-items:baseline;justify-content:space-between;gap:13px;padding:9px 0;border-top:1px solid #e5f0f0}
.dssh-engine-shell__proof-row span{min-width:0;color:var(--engine-muted);font-size:12px;line-height:1.35}
.dssh-engine-shell__proof-row strong{flex:0 0 auto;color:var(--engine-ink);font-size:15px;text-align:right}
.dssh-engine-shell__proof-empty{padding:11px 12px;border:1px dashed #c8dfe0;border-radius:10px;background:#fbfefe;color:var(--engine-muted);font-size:12px;line-height:1.45}
.dssh-engine-shell__guardrail{margin:13px 0 0!important;padding-top:11px;border-top:1px solid #e5f0f0;color:#72888c!important;font-size:11px!important;line-height:1.5!important}
.dssh-engine-shell__stages{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:27px 0 0;padding:0;list-style:none}
.dssh-engine-shell__stages li{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:12px 11px;border:1px solid rgba(169,220,216,.78);border-radius:11px;background:rgba(255,255,255,.67)}
.dssh-engine-shell__stage-index{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:8px;background:#e1f4f1;color:#0a6871;font-size:11px;font-weight:900}
.dssh-engine-shell__stages strong{display:block;color:var(--engine-ink);font-size:12.5px;line-height:1.3}
.dssh-engine-shell__stages small{display:block;margin-top:4px;color:var(--engine-muted);font-size:11px;line-height:1.4}
.dssh-engine-shell--landlord .dssh-engine-shell__stage-index{background:#fff0e5;color:#b5542b}
.dssh-engine-shell--landlord .dssh-engine-shell__stages li{border-color:#ecd9c9}
@media(max-width:820px){
  .dssh-engine-shell__head{grid-template-columns:1fr;gap:20px}
  .dssh-engine-shell__proof{max-width:none}
}
@media(max-width:620px){
  .dssh-engine-shell{margin-bottom:22px;padding:20px 16px;border-radius:14px}
  .dssh-engine-shell__copy h2{font-size:34px}
  .dssh-engine-shell__lead{font-size:14px}
  .dssh-engine-shell__actions{align-items:stretch;flex-direction:column}
  .dssh-engine-shell__actions .btn{width:100%;justify-content:center}
  .dssh-engine-shell__proof{padding:16px}
  .dssh-engine-shell__stages{grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}
  .dssh-engine-shell__stages li{padding:10px 8px;gap:7px}
  .dssh-engine-shell__stage-index{flex-basis:22px;width:22px;height:22px}
  .dssh-engine-shell__stages strong{font-size:11.5px}
  .dssh-engine-shell__stages small{font-size:10.5px}
}
@media(prefers-reduced-motion:reduce){.dssh-engine-shell *{scroll-behavior:auto}}

/* Free tools are the low-friction bridge into each engine. */
.dssh-engine-free-tools{position:relative;z-index:1;display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);gap:18px;align-items:center;margin:0 0 28px;padding:17px 20px;border:1px solid #d7e7e7;border-radius:15px;background:rgba(255,255,255,.78)}
.dssh-engine-free-tools__intro{min-width:0}.dssh-engine-free-tools__intro .eyebrow{margin:0 0 5px;color:#0e7c86;font-size:10px;letter-spacing:.1em;font-weight:900}.dssh-engine-free-tools__intro h2{margin:0;color:#12343c;font-size:20px;letter-spacing:-.035em;line-height:1.15}.dssh-engine-free-tools__intro p:not(.eyebrow){margin:6px 0 0;color:#5d777d;font-size:12px;line-height:1.45}
.dssh-engine-free-tools__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dssh-engine-free-tools__grid a{position:relative;display:flex;min-width:0;min-height:78px;flex-direction:column;justify-content:center;padding:11px 28px 11px 12px;border:1px solid #d7e7e7;border-radius:11px;background:#fff;color:#12343c;text-decoration:none;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.dssh-engine-free-tools__grid a:hover{border-color:#9dcfd1;box-shadow:0 8px 16px rgba(15,75,82,.07);transform:translateY(-2px)}.dssh-engine-free-tools__grid a:focus-visible{outline:3px solid rgba(14,124,134,.25);outline-offset:2px}.dssh-engine-free-tools__grid strong{font-size:12px;line-height:1.3}.dssh-engine-free-tools__grid small{margin-top:5px;color:#5d777d;font-size:10.5px;line-height:1.35}.dssh-engine-free-tools__grid span{position:absolute;right:10px;top:50%;color:#0e7c86;font-size:16px;transform:translateY(-50%)}
@media(max-width:820px){.dssh-engine-free-tools{grid-template-columns:1fr}.dssh-engine-free-tools__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.dssh-engine-free-tools{margin-bottom:22px;padding:16px}.dssh-engine-free-tools__grid{grid-template-columns:1fr}.dssh-engine-free-tools__grid a{min-height:62px}}

/* Shared-search coordination layer: deliberately a view over existing
   mutual-match, invite and application routes, not a second data model. */
.roommates-houseboard{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(0,1.22fr);gap:20px;align-items:stretch;margin:0 0 22px;padding:20px;border:1px solid #b9dfdb;border-radius:18px;background:linear-gradient(120deg,#edfffa,#fffaf3);box-shadow:0 8px 22px rgba(15,43,51,.05)}
.roommates-houseboard__copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.roommates-houseboard__copy h2{margin:3px 0 7px;color:var(--ink);font-size:23px;letter-spacing:-.04em;line-height:1.15}
.roommates-houseboard__copy>p:not(.eyebrow){margin:0;color:var(--ink-soft);font-size:13px;line-height:1.55}
.roommates-houseboard__state{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:6px 9px;border:1px solid #b9deda;border-radius:999px;background:#fff;color:var(--brand-d);font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.roommates-houseboard__state::before{width:7px;height:7px;border-radius:50%;background:#2b9b72;content:""}
.roommates-houseboard__state[data-houseboard-state="start"]{border-color:#ecd9c9;color:#9b5a27}
.roommates-houseboard__state[data-houseboard-state="start"]::before{background:#e08a1e}
.roommates-houseboard__workflow{min-width:0;padding:14px;border:1px solid rgba(185,223,219,.9);border-radius:14px;background:rgba(255,255,255,.74)}
.roommates-houseboard__workflow ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.roommates-houseboard__workflow li{display:flex;align-items:flex-start;gap:7px;min-width:0;padding:8px 7px;border:1px solid #d9ebe8;border-radius:10px;background:#fff}
.roommates-houseboard__workflow li>b{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:7px;background:#dff4ee;color:var(--brand-d);font-size:11px}
.roommates-houseboard__workflow li strong{display:block;color:var(--ink);font-size:11px;line-height:1.25}
.roommates-houseboard__workflow li small{display:block;margin-top:4px;color:var(--ink-soft);font-size:10px;line-height:1.35}
.roommates-houseboard__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.roommates-houseboard__actions .btn{min-height:38px}
.roommates-houseboard__guardrail{margin:11px 0 0;padding-top:10px;border-top:1px solid #dcecea;color:#6b8285;font-size:11px;line-height:1.45}
@media(max-width:820px){.roommates-houseboard{grid-template-columns:1fr}.roommates-houseboard__copy{display:block}.roommates-houseboard__workflow{max-width:none}}
@media(max-width:600px){.roommates-houseboard{gap:14px;padding:16px}.roommates-houseboard__copy h2{font-size:21px}.roommates-houseboard__workflow{padding:11px}.roommates-houseboard__workflow ol{grid-template-columns:1fr}.roommates-houseboard__workflow li{padding:9px}.roommates-houseboard__actions{align-items:stretch;flex-direction:column}.roommates-houseboard__actions .btn{width:100%;justify-content:center}}

.roommates-passport{margin:18px 30px 0;padding:17px 18px;border:1px solid #b9dfdb;border-radius:14px;background:linear-gradient(118deg,#effffb,#fffaf2)}
.roommates-passport h2{margin:3px 0 6px;color:var(--ink);font-size:20px;letter-spacing:-.035em}
.roommates-passport>p:not(.eyebrow){max-width:720px;margin:0;color:var(--ink-soft);font-size:12.5px;line-height:1.5}
.roommates-passport__signals{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.roommates-passport__signals span{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #c9e8e3;border-radius:999px;background:#fff;color:var(--brand-d);font-size:10px;font-weight:850}
@media(max-width:600px){.roommates-passport{margin:16px 18px 0;padding:15px}.roommates-passport h2{font-size:18px}.roommates-passport__signals{display:grid;grid-template-columns:1fr}.roommates-passport__signals span{justify-content:center}}

/* Keep the fourth Room Share route visually balanced beneath the three primary paths. */
.roommates-route-picker__option:last-child{grid-column:1/-1}
@media(max-width:700px){.roommates-route-picker__option:last-child{grid-column:auto}}

/* PUBLIC FRONTEND VISUAL SYSTEM — subtle unified layer
   Shared polish for visitor-facing pages only. Private workspaces keep their
   existing dashboard/admin visual contracts through the body scope in layout.php. */
.is-public-frontend{
  --public-page-wash:#f4f8f8;
  --public-card-radius:14px;
  --public-section-gap:clamp(28px,4vw,52px);
  --public-card-edge:#d9e7e9;
  --public-card-shadow:0 10px 26px rgba(15,43,51,.055);
}
.is-public-frontend main{background:var(--public-page-wash)}
.is-public-frontend header.site{background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(15,43,51,.035)}
.is-public-frontend .eyebrow,
.is-public-frontend .section-kicker,
.is-public-frontend .section-label{
  color:var(--brand,#0e7c86);
  font-weight:850;
  letter-spacing:.085em;
  text-transform:uppercase;
}
.is-public-frontend h2.sec,
.is-public-frontend .guide-title,
.is-public-frontend .guide-section-title{
  color:var(--ink,#0f2b33);
  letter-spacing:-.035em;
}
.is-public-frontend .lead{color:#58717a}
.is-public-frontend .panel,
.is-public-frontend .fc,
.is-public-frontend .stp,
.is-public-frontend .article,
.is-public-frontend .authcard,
.is-public-frontend .plan,
.is-public-frontend .city-card,
.is-public-frontend .similar-card,
.is-public-frontend .guide-related-card{
  border-color:var(--public-card-edge);
  border-radius:var(--public-card-radius);
  box-shadow:var(--dssh-surface-shadow,var(--public-card-shadow));
}
.is-public-frontend .fc,
.is-public-frontend .stp,
.is-public-frontend .city-card,
.is-public-frontend .guide-related-card{
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.is-public-frontend .fc:hover,
.is-public-frontend .stp:hover,
.is-public-frontend .city-card:hover,
.is-public-frontend .guide-related-card:hover{
  border-color:#b9deda;
  box-shadow:0 12px 28px rgba(15,43,51,.08);
  transform:translateY(-1px);
}
.is-public-frontend .dssh-engine-shell,
.is-public-frontend .dssh-engine-free-tools{
  border-color:var(--public-card-edge);
  box-shadow:var(--dssh-surface-shadow,var(--public-card-shadow));
}
.is-public-frontend .dssh-engine-free-tools__grid a{
  border-color:var(--public-card-edge);
  box-shadow:0 4px 14px rgba(15,43,51,.035);
}
.is-public-frontend .sec-head-row,
.is-public-frontend .section-head{
  margin-bottom:18px;
}
.is-public-frontend .btn-pri{box-shadow:0 6px 16px rgba(255,107,61,.18)}
.is-public-frontend .btn-pri:hover{box-shadow:0 8px 20px rgba(232,90,50,.24)}
.is-public-frontend .badge{border:1px solid rgba(14,124,134,.08)}
.is-public-frontend .authcard input,
.is-public-frontend .authcard select,
.is-public-frontend .authcard textarea,
.is-public-frontend .landlord-signup__input,
.is-public-frontend .hst-field__input input,
.is-public-frontend .ssp-slot__input{
  border-color:#cfe3e7;
  border-radius:10px;
}
.is-public-frontend .article table,
.is-public-frontend .article th,
.is-public-frontend .article td{border-color:var(--public-card-edge)}
.is-public-frontend .article table thead th,
.is-public-frontend .article table tr:first-child th{background:#f0f8f7}
.is-public-frontend :focus-visible{outline:3px solid rgba(14,124,134,.28);outline-offset:3px}
@media(max-width:900px){
  .is-public-frontend main > section.blk{padding-top:36px;padding-bottom:36px}
  .is-public-frontend .sec-head-row,
  .is-public-frontend .section-head{margin-bottom:14px}
  .is-public-frontend .panel,
  .is-public-frontend .fc,
  .is-public-frontend .stp,
  .is-public-frontend .article,
  .is-public-frontend .authcard,
  .is-public-frontend .plan,
  .is-public-frontend .city-card,
  .is-public-frontend .similar-card,
  .is-public-frontend .guide-related-card{border-radius:12px}
}
@media(max-width:560px){
  .is-public-frontend .wrap{padding-left:16px;padding-right:16px}
  .is-public-frontend h2.sec{font-size:clamp(22px,7vw,28px)}
  .is-public-frontend .btn{min-height:44px}
  .is-public-frontend .panel,
  .is-public-frontend .fc,
  .is-public-frontend .stp,
  .is-public-frontend .authcard{box-shadow:0 6px 18px rgba(15,43,51,.06)}
}
@media(prefers-reduced-motion:reduce){
  .is-public-frontend *,
  .is-public-frontend *::before,
  .is-public-frontend *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

/* Keep the public footer at four top-level columns while the expanded
   Product directory shares its links across two balanced subcolumns. */
footer.site .cols{
  grid-template-columns:minmax(0,1.3fr) minmax(0,2fr) minmax(0,1.15fr) minmax(0,1fr);
}
footer.site .footer-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 28px;
  min-width:0;
}
footer.site .footer-product-column{min-width:0}
footer.site .footer-product-column a{overflow-wrap:anywhere}
@media(max-width:900px){
  footer.site .cols{grid-template-columns:1fr 1fr}
  footer.site .footer-product-grid{
    gap:0 14px;
  }
}
@media(max-width:760px){
  footer.site .cols{grid-template-columns:1fr}
  footer.site .footer-product-grid{
    gap:0 14px;
    padding:0 0 12px;
  }
footer.site .footer-product-column a{
    min-height:38px;
    margin:0;
    font-size:13px;
  }
}

/* Room Share growth surfaces: early shared search, indexable landings and
   the bridge from people discovery to live rooms. */
.roommates-early-team{background:radial-gradient(circle at 85% 0,rgba(73,201,184,.16),transparent 28rem),linear-gradient(180deg,#f5fbfb 0%,var(--bg) 100%)}
.roommates-early-team__wrap{max-width:1160px}
.roommates-early-team__hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;padding:12px 0 28px;border-bottom:1px solid rgba(14,124,134,.17)}
.roommates-early-team__hero h1,.room-share-landing__hero h1{max-width:760px;margin:5px 0 12px;color:var(--ink);font-size:clamp(34px,5vw,58px);letter-spacing:-.055em;line-height:1.01}
.roommates-early-team__hero .lead,.room-share-landing__hero .lead{max-width:720px;color:var(--ink-soft);font-size:17px;line-height:1.55}
.roommates-early-team__signal{display:flex;min-width:154px;flex-direction:column;gap:3px;padding:18px;border:1px solid #b9dfdb;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,43,51,.06);text-align:center}
.roommates-early-team__signal strong{color:var(--brand-d);font-size:30px;letter-spacing:-.05em;line-height:1}
.roommates-early-team__signal span{color:var(--ink-soft);font-size:11px;font-weight:750;line-height:1.35}
.roommates-early-team__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.roommates-early-team__card{display:flex;min-height:238px;flex-direction:column;padding:20px;border:1px solid #d5e8e6;border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(15,43,51,.045)}
.roommates-early-team__number{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#dff4ee;color:var(--brand-d);font-size:14px;font-weight:900}
.roommates-early-team__card h2{margin:16px 0 7px;font-size:21px;letter-spacing:-.035em}
.roommates-early-team__card p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.55}
.roommates-early-team__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:18px}
.roommates-early-team__actions form{margin:0}
.roommates-early-team__actions .btn{min-height:38px}
.roommates-early-team__card>.btn{align-self:flex-start;margin-top:auto}
.roommates-early-team__share{margin-top:22px}
.roommates-early-team__back{margin:22px 0 0;font-size:13px;font-weight:800}
.roommates-early-team__back a{color:var(--brand-d)}
.room-share-landing{background:linear-gradient(180deg,#f5fbfb 0%,var(--bg) 62%)}
.room-share-landing__hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;padding:14px 0 30px;border-bottom:1px solid rgba(14,124,134,.17)}
.room-share-landing__stats{display:grid;grid-template-columns:repeat(2,minmax(100px,1fr));gap:9px;min-width:230px}
.room-share-landing__stats div{display:flex;min-height:96px;flex-direction:column;justify-content:center;padding:13px;border:1px solid #b9dfdb;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(15,43,51,.05)}
.room-share-landing__stats strong{color:var(--brand-d);font-size:29px;letter-spacing:-.05em;line-height:1}
.room-share-landing__stats span{margin-top:6px;color:var(--ink-soft);font-size:11px;font-weight:750;line-height:1.3}
.room-share-landing__context{margin:24px 0;background:linear-gradient(118deg,#e9fbf5,#fffaf3);border-color:#b9dfdb}
.room-share-landing__context h2{margin:3px 0 7px;font-size:24px;letter-spacing:-.04em}
.room-share-landing__context p:not(.eyebrow){max-width:760px;color:var(--ink-soft);font-size:14px;line-height:1.55}
.room-share-landing__profiles{margin-top:30px}
.room-share-landing__section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.room-share-landing__section-head h2{margin:4px 0 0;font-size:27px;letter-spacing:-.04em}
.room-share-landing__section-head>span{padding:7px 10px;border:1px solid #b9dfdb;border-radius:999px;background:#fff;color:var(--brand-d);font-size:11px;font-weight:850;white-space:nowrap}
.room-share-landing__grid{margin:0}
.room-share-landing__empty{margin-top:15px}
.room-share-landing__bridge,.roommates-listing-bridge,.room-share-guide-cta{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:28px;padding:22px;border:1px solid #b9dfdb;border-radius:18px;background:linear-gradient(118deg,#e9fbf5,#fffaf3);box-shadow:0 8px 22px rgba(15,43,51,.05)}
.room-share-landing__bridge h2,.roommates-listing-bridge h2,.room-share-guide-cta h2{margin:3px 0 6px;font-size:23px;letter-spacing:-.035em}
.room-share-landing__bridge p:not(.eyebrow),.roommates-listing-bridge p:not(.eyebrow),.room-share-guide-cta p:not(.eyebrow){margin:0;color:var(--ink-soft);font-size:13px;line-height:1.5}
.roommates-listing-bridge{margin:22px 0}
.room-share-guide-cta{margin:24px 0 8px}
.room-share-guides-panel{border-color:#b9dfdb;background:linear-gradient(118deg,#f7fffc,#fffaf3)}
.room-share-guides-panel__grid{margin-bottom:0}
.room-share-guide-card>picture{display:block;overflow:hidden;margin:-1px -1px 12px;border-radius:11px}
.room-share-guide-card .fc-guide-thumb{display:block;width:100%;height:138px;object-fit:cover;object-position:center 45%;transition:transform .2s ease}
.room-share-guide-card:hover .fc-guide-thumb{transform:scale(1.025)}
@media(max-width:820px){
  .roommates-early-team__hero,.room-share-landing__hero{grid-template-columns:1fr;align-items:start}
  .roommates-early-team__signal,.room-share-landing__stats{max-width:330px}
  .roommates-early-team__grid{grid-template-columns:1fr}
  .roommates-early-team__card{min-height:0}
}
@media(max-width:600px){
  .roommates-early-team__hero h1,.room-share-landing__hero h1{font-size:38px}
  .roommates-early-team__hero .lead,.room-share-landing__hero .lead{font-size:15px}
  .room-share-landing__stats{width:100%;min-width:0}
  .room-share-landing__section-head,.room-share-landing__bridge,.roommates-listing-bridge,.room-share-guide-cta{align-items:flex-start;flex-direction:column}
  .room-share-landing__section-head>span{align-self:flex-start}
  .room-share-landing__bridge .btn,.roommates-listing-bridge .btn,.room-share-guide-cta .btn{width:100%;justify-content:center}
  .room-share-guide-card .fc-guide-thumb{height:126px}
}

