/* Hawley Team property search.
   Palette and faces continue the holding page already written for this project.

   ONE RULE HERE IS CONTRACTUAL, NOT AESTHETIC.

   FGCMLS 19.17 requires the listing firm and agent to appear in a readily
   visible colour, in a prominent location, in a typeface not smaller than the
   MEDIAN typeface used for the listing data. On a card the listing data runs
   26px price, 16px address, 14px specs, so the median is 16px. Attribution is
   therefore 16px and takes --ink-2, not a grey. It is not fine print and must
   never be made into fine print. See --attrib-size below. */

:root{
  --ink:#12212C; --ink-2:#3E5468; --ink-3:#6E8497;
  --paper:#FCFDFD; --card:#FFFFFF; --line:#DCE5EB; --rail:#EFF4F7;
  --accent:#0F6E8C; --accent-2:#0B5468;
  --good:#256B4F; --good-bg:#E8F3ED;
  --warn:#8A6410; --warn-bg:#FBF3E2;
  --bad:#A8401E;  --bad-bg:#FBEDE8;
  --shadow:0 1px 2px rgba(18,33,44,.05), 0 8px 24px -16px rgba(18,33,44,.28);
  --attrib-size:16px;      /* 19.17. Do not reduce. */
  --radius:11px;
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){
  --ink:#E9F0F5; --ink-2:#AABDCB; --ink-3:#7C93A6;
  --paper:#0D151C; --card:#13202A; --line:#25353F; --rail:#182530;
  --accent:#66C6E0; --accent-2:#8FD9EC;
  --good:#79CFAA; --good-bg:#12271F;
  --warn:#E0B65E; --warn-bg:#2A2113;
  --bad:#F0947A;  --bad-bg:#2B1913;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 8px 24px -16px rgba(0,0,0,.7);
} }
:root[data-theme="dark"]{
  --ink:#E9F0F5; --ink-2:#AABDCB; --ink-3:#7C93A6;
  --paper:#0D151C; --card:#13202A; --line:#25353F; --rail:#182530;
  --accent:#66C6E0; --accent-2:#8FD9EC;
  --good:#79CFAA; --good-bg:#12271F;
  --warn:#E0B65E; --warn-bg:#2A2113;
  --bad:#F0947A;  --bad-bg:#2B1913;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 8px 24px -16px rgba(0,0,0,.7);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:"Source Sans 3",-apple-system,"Segoe UI",sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:Archivo,sans-serif; letter-spacing:-.02em; text-wrap:balance; margin:0}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:4px}
[hidden]{display:none !important}

/* ------------------------------------------------------------------ chrome */
header.top{
  position:sticky; top:0; z-index:40; background:var(--card);
  border-bottom:1px solid var(--line); display:flex; align-items:center;
  gap:16px; padding:12px 20px;
}
.brand{font-family:Archivo,sans-serif; font-weight:700; font-size:17px;
  letter-spacing:-.01em; color:var(--ink); text-decoration:none; white-space:nowrap}
.brand span{color:var(--accent)}
.top nav{margin-left:auto; display:flex; align-items:center; gap:6px}

/* The header did not fit on a phone, and it has not for a while.
 *
 * Measured at 375px on 5 Oct 2026: the brand is 273px wide and the nav 198px,
 * so the content runs to 471px in a 375px bar. Because the document then
 * overflows, #sheet (position:fixed, inset:0) resolves against a 472px initial
 * containing block, and every detail sheet in the portal renders wider than the
 * screen with its right-hand side cut off. That is why the Deal Room page
 * looked clipped on a phone: the sheet was inheriting the header's overflow.
 *
 * It overflowed by about 25px before the Deal Room button was added and by 96px
 * after, so the button made an existing fault obvious rather than causing it.
 *
 * The brand is allowed to shrink and ellipsis, which is the only element here
 * that can give up space without losing a function, and the second word of the
 * wordmark goes at the narrowest sizes. Nothing changes above 620px. */
@media (max-width:620px){
  header.top{ gap:10px; padding:12px 14px; }
  .brand{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .top nav{ flex-shrink:0; }
}
@media (max-width:430px){
  .brand span{ display:none; }
}

button,.btn{
  font:inherit; font-weight:600; cursor:pointer; border-radius:9px;
  border:1px solid transparent; padding:9px 16px; background:var(--accent);
  color:#fff; transition:background .15s,border-color .15s;
}
/* Dark text for buttons that sit on the light accent fill.
 *
 * Scoped, because this used to say "every button". A .chip IS a button, and an
 * unselected chip's background is --paper, which in dark mode is #0D151C, the
 * very colour this sets the text to. The filter rail went black on black: the
 * city names, the bed and bath numbers and the property types all vanished
 * while the one selected chip stayed readable. Reported 30 Aug 2026.
 *
 * The specificity here (0,2,1) also beat .chip, button.ghost and button.quiet,
 * so those lost their own colours too. Excluding them by name fixes all four. */
:root[data-theme="dark"] button:not(.chip):not(.ghost):not(.quiet),
:root[data-theme="dark"] .btn:not(.chip):not(.ghost):not(.quiet){color:#0D151C}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) button:not(.chip):not(.ghost):not(.quiet),
  :root:not([data-theme="light"]) .btn:not(.chip):not(.ghost):not(.quiet){color:#0D151C} }
/* The rule above is (0,5,1) and beat .dr-switch button.on (0,2,1), so the
 * selected term tab rendered #0D151C on the #173A74 fill: 1.66 contrast on the
 * control that says which half of the board you are looking at. Same shape of
 * bug as the filter rail on 30 Aug, answered the same way.
 * The :not(.chip) is not decoration. The rule above is (0,5,1); an override
 * written as .dr-switch button.on is only (0,4,1) and loses to it, which is how
 * the first attempt at this fix changed nothing. The extra :not() matches its
 * weight, and source order then decides. */
:root[data-theme="dark"] .dr-switch button.on:not(.chip){color:#fff}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .dr-switch button.on:not(.chip){color:#fff} }

/* The Deal Room borrows the search shell but none of its controls apply to a
 * screened list, so they are hidden rather than left to disappoint. */
body.in-dealroom .shell{grid-template-columns:1fr}
body.in-dealroom aside.filters,
body.in-dealroom #fSort,
body.in-dealroom #seedNote{display:none}

button:hover,.btn:hover{background:var(--accent-2)}
button.ghost{background:transparent; color:var(--ink-2); border-color:var(--line)}
button.ghost:hover{background:var(--rail); color:var(--ink)}
button.quiet{background:transparent; color:var(--accent); border-color:transparent; padding:9px 10px}
button.quiet:hover{background:var(--rail)}
button:disabled{opacity:.5; cursor:not-allowed}

/* ------------------------------------------------------------------- gate */
/* 19.3: nothing about a listing is visible until this is satisfied. */
.gate{max-width:560px; margin:0 auto; padding:48px 24px 80px}
.gate h1{font-size:clamp(28px,5vw,38px); line-height:1.08; margin-bottom:12px}
.gate .lede{color:var(--ink-2); font-size:18px; margin:0 0 28px}
.panel{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow);
}
.field{display:flex; flex-direction:column; gap:5px; margin-bottom:15px}
.field label{font-size:14px; font-weight:600; color:var(--ink-2)}
.field .hint{font-size:13.5px; color:var(--ink-3)}
input[type=text],input[type=email],input[type=password],input[type=tel],
input[type=number],select{
  font:inherit; padding:10px 12px; border:1px solid var(--line);
  border-radius:8px; background:var(--paper); color:var(--ink); width:100%;
}
input:focus,select:focus{border-color:var(--accent); outline:none;
  box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent)}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width:520px){ .row2{grid-template-columns:1fr} }

/* Terms of Use. 19.3(d) needs six affirmative agreements, and they have to be
   readable rather than a wall the eye slides off. */
.tou{border:1px solid var(--line); border-radius:var(--radius);
  background:var(--rail); padding:4px 16px; margin:6px 0 18px}
.agree{display:flex; gap:11px; align-items:flex-start; padding:12px 0;
  border-bottom:1px solid var(--line); font-size:15px; color:var(--ink-2)}
.agree:last-child{border-bottom:0}
.agree input{margin-top:4px; width:17px; height:17px; accent-color:var(--accent); flex:none}
.consent{
  border:1px solid var(--line); border-left:3px solid var(--accent);
  background:var(--card); border-radius:0 8px 8px 0; padding:14px 16px; margin:6px 0 18px;
  font-size:13.5px; line-height:1.55; color:var(--ink-2);
}
.note-plain{font-size:14px; color:var(--ink-3); margin:0 0 18px}
.msg{border-radius:8px; padding:11px 14px; font-size:15px; margin:0 0 16px}
.msg.err{background:var(--bad-bg); color:var(--bad)}
.msg.ok{background:var(--good-bg); color:var(--good)}
.switcher{margin-top:18px; font-size:15px; color:var(--ink-3); text-align:center}
.switcher button{padding:2px 4px}

/* ----------------------------------------------------------------- search */
.shell{display:grid; grid-template-columns:290px 1fr; min-height:calc(100vh - 57px)}
@media (max-width:900px){
  .shell{grid-template-columns:1fr}
  aside.filters{position:fixed; inset:57px 0 0; z-index:30; overflow-y:auto;
    background:var(--paper); transform:translateX(-100%); transition:transform .2s}
  aside.filters.open{transform:none}
}
aside.filters{
  border-right:1px solid var(--line); background:var(--card);
  padding:20px; overflow-y:auto; max-height:calc(100vh - 57px); position:sticky; top:57px;
}
aside h2{font-size:13px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-3); font-weight:600; margin:0 0 14px}
.chips{display:flex; flex-wrap:wrap; gap:7px}
.chip{
  font-size:14px; padding:6px 12px; border-radius:999px; cursor:pointer;
  border:1px solid var(--line); background:var(--paper); color:var(--ink-2);
  font-weight:500;
}
.chip[aria-pressed=true]{background:var(--accent); border-color:var(--accent); color:#fff}
/* The third state on a feature chip: homes that must NOT have it. Outlined
   rather than filled, because it is not a thing the buyer wants and should
   not look like one. */
.chip.no{border-color:var(--bad); color:var(--bad); font-weight:600}

/* FLOOD ZONE, FIRST AND IN A BOX.
   Nowhere else can a buyer here filter by flood zone, so it is the reason a lot
   of them are on this page at all and it does not belong eleven scrolls down
   between Type and Features. The tint and the rail are the whole treatment: a
   coloured heading on its own disappears next to the chips. */
.flood-first{
  background:var(--rail); border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:var(--radius); padding:14px 14px 12px; margin:0 0 20px;
}
.flood-first h2{margin:0 0 10px; color:var(--ink-2); display:flex;
  align-items:center; gap:8px}
/* Two seconds on arrival from the campaign, then gone. */
.flood-first.lit{border-color:var(--accent); box-shadow:0 0 0 3px rgba(15,110,140,.20)}
:root[data-theme="dark"] .flood-first.lit{box-shadow:0 0 0 3px rgba(102,198,224,.26)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .flood-first.lit{box-shadow:0 0 0 3px rgba(102,198,224,.26)}
}
.flood-first .sub{font-size:12.5px; line-height:1.5}
/* Says "this is new here" without an exclamation mark. Drops out of the
   heading's letter-spacing, which at .12em makes three letters look spaced
   out rather than emphatic. */
.flag{
  font-size:10.5px; letter-spacing:.06em; font-weight:700; text-transform:uppercase;
  background:var(--accent); color:#fff; border-radius:999px; padding:2px 7px;
}
:root[data-theme="dark"] .flag{color:#0D151C}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .flag{color:#0D151C}}

/* The deeper filters, folded away. Everything the MLS lets you ask for is
   here; a buyer who only wants three beds in Cape Coral never has to see it. */
details.more{border-top:1px solid var(--line); padding:12px 0 6px}
details.more > summary{
  cursor:pointer; list-style:none; font-size:14px; font-weight:600;
  color:var(--ink-2); padding:2px 0;
}
details.more > summary::-webkit-details-marker{display:none}
details.more > summary::before{content:"▸ "; color:var(--ink-3)}
details.more[open] > summary::before{content:"▾ "}
details.more[open] > summary{margin-bottom:12px}
details.more .field{margin-bottom:12px}
details.more .field label{display:block; margin-bottom:6px}
/* The hint on its own line. Run on after the name it reads as one long label
   and the eye cannot find where the name stops. */
details.more .field label .sub{display:block; font-weight:400; margin-top:1px}
:root[data-theme="dark"] .chip[aria-pressed=true]{color:#0D151C}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"])
  .chip[aria-pressed=true]{color:#0D151C} }

main.results{padding:22px 24px 60px; min-width:0}
.resbar{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin-bottom:18px}
.resbar h1{font-size:21px}
.resbar .count{color:var(--ink-3); font-size:15px; font-variant-numeric:tabular-nums}
.capnote{
  background:var(--warn-bg); color:var(--warn); border-radius:8px;
  padding:9px 13px; font-size:14px; margin:0 0 16px;
}

.grid{display:grid; gap:18px; grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column;
  cursor:pointer; transition:transform .12s, box-shadow .12s;
}
.card:hover{transform:translateY(-2px); box-shadow:0 2px 4px rgba(18,33,44,.07),0 14px 32px -18px rgba(18,33,44,.4)}
.card .ph{aspect-ratio:4/3; background:var(--rail); position:relative; overflow:hidden}
.card .ph img{width:100%; height:100%; object-fit:cover; display:block}
.card .ph .none{position:absolute; inset:0; display:grid; place-items:center;
  color:var(--ink-3); font-size:14px}
.status{
  position:absolute; top:10px; left:10px; font-size:12px; font-weight:600;
  font-family:Archivo,sans-serif; letter-spacing:.03em; padding:4px 9px;
  border-radius:999px; background:var(--card); color:var(--ink-2); border:1px solid var(--line);
}
.status.pending{background:var(--warn-bg); color:var(--warn); border-color:transparent}
.status.sold{background:var(--rail); color:var(--ink-2); border-color:transparent}
.fav{
  position:absolute; top:8px; right:8px; background:var(--card); border:1px solid var(--line);
  width:34px; height:34px; padding:0; border-radius:50%; display:grid; place-items:center;
  font-size:15px; color:var(--ink-3);
}
.fav[aria-pressed=true]{color:var(--bad); border-color:var(--bad)}
.card .body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:5px; flex:1}
.price{font-family:Archivo,sans-serif; font-weight:700; font-size:26px;
  letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.addr{font-size:16px; color:var(--ink); line-height:1.35}
.addr .muni{color:var(--ink-3)}
.specs{font-size:14px; color:var(--ink-2); display:flex; gap:10px; flex-wrap:wrap}
.specs b{font-weight:600; color:var(--ink)}

/* 19.17 attribution. Same size as the address line, real colour, above the fold
   of the card rather than tucked under it. Do not shrink. */
.attrib{
  margin-top:auto; padding-top:11px; border-top:1px solid var(--line);
  font-size:var(--attrib-size); line-height:1.35; color:var(--ink-2);
}

/* ----------------------------------------------------------------- detail */
.sheet{position:fixed; inset:0; z-index:60; background:rgba(10,18,24,.55);
  display:flex; justify-content:center; align-items:flex-start; overflow-y:auto; padding:24px}
.sheet-inner{background:var(--paper); border-radius:14px; max-width:940px; width:100%;
  box-shadow:0 24px 70px -20px rgba(0,0,0,.5); overflow:hidden}
.sheet-head{display:flex; align-items:center; gap:12px; padding:14px 20px;
  border-bottom:1px solid var(--line); background:var(--card); position:sticky; top:0; z-index:2}
.sheet-head h2{font-size:18px; flex:1; min-width:0}
.gallery-wrap{position:relative}
.gallery-more{position:absolute; right:14px; bottom:14px; z-index:2;
  background:var(--card); color:var(--ink-1); border:1px solid var(--line);
  border-radius:var(--radius); padding:9px 16px; font-size:14px; font-weight:600;
  box-shadow:0 6px 20px rgba(0,0,0,.45); cursor:pointer}
.gallery-more:hover{background:var(--rail)}
@media (max-width:620px){ .gallery-more{right:10px; bottom:10px; padding:8px 13px} }
.gallery img{cursor:zoom-in}
.gallery{display:grid; gap:3px; grid-template-columns:2fr 1fr 1fr; background:var(--rail)}
.gallery img{width:100%; height:100%; object-fit:cover; display:block; max-height:340px}
.gallery img:first-child{grid-row:span 2; max-height:683px}
/* On a phone the collage is one photograph, not three stacked ones.
   It used to show three, which put "Show all 49 photos" about 1,300px down the
   page where nobody scrolled to find it, and left a buyer believing the listing
   had three pictures. One hero with the button sitting on it says the opposite. */
@media (max-width:620px){ .gallery{grid-template-columns:1fr}
  .gallery img:first-child{grid-row:auto; max-height:270px}
  .gallery img:nth-child(n+2){display:none} }
.sheet-body{padding:22px 24px 30px}
.facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:1px; background:var(--line); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; margin:0 0 22px}
.facts div{background:var(--card); padding:12px 14px}
.facts dt{font-size:11.5px; letter-spacing:.09em; text-transform:uppercase;
  color:var(--ink-3); font-weight:600; margin-bottom:3px}
.facts dd{margin:0; font-family:Archivo,sans-serif; font-weight:600; font-size:17px;
  font-variant-numeric:tabular-nums}
.remarks{max-width:68ch; color:var(--ink-2); margin:0 0 22px; white-space:pre-wrap}

/* 19.4: a consumer must be able to ask about any property displayed. */
.ask{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:18px 20px; margin:0 0 20px; display:flex; gap:16px; align-items:center;
  flex-wrap:wrap; box-shadow:var(--shadow);
}
.ask p{margin:0; flex:1; min-width:200px; font-size:15.5px; color:var(--ink-2)}
.ask strong{color:var(--ink); display:block; font-family:Archivo,sans-serif; font-size:16px}

/* Attribution on the detail page, larger because the listing data is larger. */
.attrib-detail{
  border:1px solid var(--line); border-radius:var(--radius); background:var(--rail);
  padding:14px 18px; font-size:17px; color:var(--ink-2); margin:0 0 18px;
}

/* ------------------------------------------------------------- disclaimer */
/* 19.18. Present wherever listing data is, not only on a legal page. */
footer.mls{
  border-top:1px solid var(--line); background:var(--card);
  padding:22px 24px 34px; font-size:13px; line-height:1.6; color:var(--ink-3);
}
footer.mls .in{max-width:980px; margin:0 auto; display:flex; flex-direction:column; gap:9px}
footer.mls strong{color:var(--ink-2); font-weight:600}
.sheet-body footer.mls{border:0; background:transparent; padding:18px 0 0; margin-top:8px;
  border-top:1px solid var(--line)}

.empty{text-align:center; padding:70px 20px; color:var(--ink-3)}
.empty h2{font-size:20px; color:var(--ink); margin-bottom:8px}
.spinner{width:22px; height:22px; border:2.5px solid var(--line);
  border-top-color:var(--accent); border-radius:50%; animation:spin .7s linear infinite;
  margin:50px auto}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important; transition-duration:.01ms !important}
}

/* ---- Terms of Use, one provision -----------------------------------------
   19.3(d) asks that the terms be REVIEWED and then affirmatively agreed. So
   they stay on the page and readable rather than behind a link, but set at a
   size that does not swamp a four-field form. The submit button carries the
   agreement. */
.terms-block{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--rail); padding:15px 17px; margin:0 0 16px;
}
.terms-block h3{
  font-size:12px; letter-spacing:.11em; text-transform:uppercase;
  color:var(--ink-3); font-weight:600; margin:0 0 8px;
}
.terms-block p{font-size:13.5px; line-height:1.55; color:var(--ink-2); margin:0}
.terms-block .terms-notice{margin-top:9px; color:var(--ink); font-weight:600}

/* TCPA opt-in. Separate from the terms by law, not by preference: Florida's
   FTSA treats consent buried in general terms as no consent, and it may not be
   a condition of the service. Unchecked by default, always. */
.tcpa-opt{
  display:flex; gap:11px; align-items:flex-start; cursor:pointer;
  border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 16px; margin:0 0 18px; background:var(--card);
}
.tcpa-opt:hover{border-color:var(--accent)}
.tcpa-opt input{margin-top:3px; width:17px; height:17px; accent-color:var(--accent); flex:none}
.tcpa-opt b{display:block; font-size:15px; color:var(--ink); font-weight:600; margin-bottom:4px}
.tcpa-fine{display:block; font-size:12px; line-height:1.5; color:var(--ink-3)}

/* ---- saved searches + pagination ---------------------------------------- */
.saved-list{display:flex; flex-direction:column; gap:6px; margin-bottom:22px}
.saved{
  display:flex; align-items:center; gap:8px; padding:9px 11px;
  border:1px solid var(--line); border-radius:9px; background:var(--paper);
  font-size:14px; cursor:pointer;
}
.saved:hover{border-color:var(--accent)}
.saved .nm{flex:1; min-width:0; color:var(--ink); font-weight:600;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.saved .freq{font-size:11.5px; color:var(--ink-3); white-space:nowrap}
.saved .del{
  background:transparent; border:0; color:var(--ink-3); padding:2px 5px;
  font-size:16px; line-height:1; border-radius:5px;
}
.saved .del:hover{background:var(--bad-bg); color:var(--bad)}

.pager{display:flex; align-items:center; justify-content:center; gap:14px; margin:30px 0 10px}
.pager span{font-size:14.5px; color:var(--ink-3); font-variant-numeric:tabular-nums}

.save-panel{
  border:1px solid var(--line); border-radius:var(--radius); background:var(--card);
  padding:14px; margin-top:10px; box-shadow:var(--shadow);
}
.save-panel select{width:100%}

.share-panel{
  border:1px solid var(--line); border-radius:var(--radius); background:var(--card);
  padding:16px 18px; margin:0 0 20px; box-shadow:var(--shadow);
}


/* ------------------------------------------------------------- places ---
   The one box that finds a development, a subdivision or a city. Results are
   a plain list of buttons rather than a custom widget so that arrow keys,
   tab order and screen readers all behave without being taught how. */
.place-results {
  position: relative;
  margin: 6px 0 0;
  border: 1px solid var(--line, #d8dee6);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  max-height: 340px;
  overflow-y: auto;
}
.place-row {
  display: flex; flex-direction: column; gap: 2px;
  width: 100%; padding: 9px 12px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid #f0f3f6;
  cursor: pointer; font: inherit;
}
.place-row:last-child { border-bottom: 0; }
.place-row:hover, .place-row:focus { background: #eef4f8; outline: 0; }
.place-name { font-weight: 600; color: var(--ink, #12212c); }
/* The subtitle carries the thing that disambiguates two places with similar
   names: which city it is in, and how many neighbourhoods it contains. */
.place-meta { font-size: .78rem; color: var(--sub, #6e8497); }
.place-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.place-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--brand, #0f6e8c); background: #eaf4f8;
  color: var(--brand, #0f6e8c); font: inherit; font-size: .82rem;
}
.place-chip:hover { background: #dceaf1; }
@media (prefers-color-scheme: dark) {
  .place-results { background: #16202a; border-color: #2b3946; }
  .place-row { border-bottom-color: #22303c; }
  .place-row:hover, .place-row:focus { background: #1e2b36; }
  .place-chip { background: #163039; border-color: #2f7f99; color: #9ed6e8; }
}

/* ===================================================== Investor Deal Room === */
.dr-gate { max-width:760px; }
.dr-gate h2 { font-size:26px; line-height:1.2; margin:0 0 10px; }
.dr-lede { color:var(--ink-2); line-height:1.55; margin:0 0 18px; }
.dr-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:12px; margin:18px 0; }
.dr-stats div { background:var(--surface-2,#f4f7fa); border:1px solid var(--line,#e2e8f0);
  border-radius:10px; padding:12px; }
.dr-stats b { display:block; font-size:21px; }
.dr-stats span { font-size:12px; color:var(--ink-3,#6b7a8c); }
.dr-where { color:var(--ink-2); font-size:14px; }
.dr-ask { background:var(--surface-2,#f4f7fa); border:1px solid var(--line,#e2e8f0);
  border-radius:12px; padding:18px; margin-top:22px; }
.dr-ask h3 { margin:0 0 10px; font-size:17px; }
.dr-ask ul { margin:0 0 14px 18px; padding:0; line-height:1.7; }
.dr-lapsed { background:#fff4e5; border:1px solid #ffd59e; border-radius:10px;
  padding:11px 14px; margin-bottom:16px; }

.dr-switch { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.dr-switch button { padding:9px 16px; border-radius:999px; border:1px solid var(--line,#d5dde6);
  background:#fff; cursor:pointer; font-size:14px; }
.dr-switch button.on { background:var(--brand,#173A74); color:#fff; border-color:transparent; }
.dr-cats { display:flex; gap:6px; margin-bottom:16px; flex-wrap:wrap; }
.dr-cats button { padding:6px 13px; border-radius:999px; border:1px solid var(--line,#d5dde6);
  background:#fff; cursor:pointer; font-size:13px; }
.dr-cats button.on { background:var(--ink,#1d2b3a); color:#fff; border-color:transparent; }
.dr-cats button.hot { border-color:#ffb020; }
.dr-cats button span { opacity:.65; }

.dr-card .dr-units { font-size:13px; font-weight:400; color:var(--ink-3,#6b7a8c); }
.dr-card.dr-out { opacity:.42; }
.dr-nums { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:10px 0 8px; }
.dr-nums b { display:block; font-size:14.5px; }
.dr-nums span { font-size:10.5px; color:var(--ink-3,#6b7a8c); line-height:1.2; display:block; }
.dr-tag { font-size:11.5px; color:#8a5a00; background:#fff4e5; border-radius:5px;
  padding:3px 7px; display:inline-block; margin-bottom:6px; }
.dr-verdict { display:flex; gap:6px; margin:4px 0 8px; }
.dr-verdict button { flex:1; padding:6px; font-size:17px; line-height:1;
  border:1px solid var(--line,#d5dde6); background:#fff; border-radius:7px; cursor:pointer; }
.dr-verdict button.on { background:var(--brand,#173A74); border-color:transparent; }
.dr-hot-badge, .dr-new, .dr-liked { position:absolute; top:8px; left:8px; font-size:11px;
  padding:3px 8px; border-radius:999px; background:#fff; font-weight:600; }
.dr-hot-badge { background:#ffb020; color:#3a2600; }
.dr-liked { background:#173A74; color:#fff; }
/* How the board shows its own movement.
 *
 * Built from the semantic pairs this stylesheet already defines rather than
 * from hex values picked by eye, so these follow the theme into light mode
 * without a second set of rules. --good/--good-bg and --bad/--bad-bg are both
 * declared for each theme; --surface-2 is NOT, which is what made the locked
 * bar invisible earlier today. */
.dr-flags { display:flex; flex-wrap:wrap; gap:5px; margin:2px 0 7px; }
.dr-flag { font-size:11.5px; font-weight:600; padding:3px 8px; border-radius:999px;
  border:1px solid transparent; line-height:1.45; }
.dr-flag.pending { background:var(--bad-bg); color:var(--bad); border-color:var(--bad); }
.dr-flag.back    { background:var(--good-bg); color:var(--good); border-color:var(--good); }
.dr-flag.adj     { background:var(--rail); color:var(--ink-2); border-color:var(--line); }

/* NEW sits opposite the flame so a hot new listing shows both rather than one
 * on top of the other: .dr-hot-badge is top-left and absolutely positioned. */
.dr-newlist { position:absolute; top:8px; right:8px; font-size:11px; font-weight:700;
  letter-spacing:.06em; padding:3px 8px; border-radius:999px;
  background:var(--accent); color:var(--paper); }

.dr-toast { position:fixed; bottom:22px; left:50%; transform:translateX(-50%);
  background:#1d2b3a; color:#fff; padding:11px 18px; border-radius:999px; z-index:99; }

.dr-sheet h3 { font-size:16px; margin:22px 0 8px; }
.dr-gal { display:flex; gap:8px; overflow-x:auto; margin-bottom:14px; }
.dr-gal img { height:210px; border-radius:9px; }
.dr-head-nums { display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr));
  gap:10px; margin:14px 0; }
.dr-head-nums b { display:block; font-size:18px; }
.dr-head-nums span { font-size:11px; color:var(--ink-3,#6b7a8c); }
.dr-prov > div { padding:9px 0; border-bottom:1px solid var(--line,#eef2f6); font-size:14px; }
.dr-src { font-size:12px; color:var(--ink-3,#6b7a8c); line-height:1.5; margin-top:3px; }
.dr-warn { background:#fff4e5; border:1px solid #ffd59e; border-radius:9px;
  padding:11px 14px; margin:12px 0; font-size:13.5px; }
.dr-calc-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px; margin:10px 0 14px; }
.dr-calc-grid label, .dr-form label { display:flex; flex-direction:column; gap:3px;
  font-size:12px; color:var(--ink-3,#6b7a8c); }
.dr-calc-grid input, .dr-form input, .dr-form select, .dr-form textarea {
  padding:7px 9px; font-size:15px; border:1px solid var(--line,#d5dde6); border-radius:7px; }
.dr-form { display:grid; gap:12px; margin:14px 0; }
.dr-form em { font-style:normal; font-size:11px; color:var(--ink-3,#6b7a8c); }
.dr-rows > div { display:flex; justify-content:space-between; gap:14px; padding:6px 0;
  border-bottom:1px solid var(--line,#eef2f6); font-size:14px; }
.dr-rows > div.st { font-weight:700; border-bottom:2px solid var(--line,#d5dde6); }
.dr-fine { font-size:12.5px; color:var(--ink-3,#6b7a8c); line-height:1.6; }
.dr-remarks { font-size:14px; line-height:1.6; color:var(--ink-2); }
.dr-actions { display:flex; gap:10px; margin:20px 0 10px; flex-wrap:wrap; }

/* ---------------------------------------------------------------- the deal --
 *
 * Martin, 5 Oct 2026: "the detail page is not very readable. The print is
 * really small and the format needs work. It just doesn't flow well. I was
 * envisioning more of a buyer's app for the deal room."
 *
 * Built to the buyers-app standard: one scrolling page in the order he would
 * pitch it, desire before confidence, the money as the differentiator, and the
 * sources collected at the end as the trust play rather than scattered as small
 * print under every figure. Base type goes up from 12-14px to 15-16px, sections
 * get air, and the three numbers that decide it are large enough to read across
 * a desk.
 */
.dr-sheet { padding:26px 30px 34px; font-size:15.5px; line-height:1.65; }
.dr-sheet section { margin:34px 0 0; }
.dr-sheet h3 { font-size:20px; letter-spacing:-.01em; margin:0 0 12px;
  padding-bottom:9px; border-bottom:1px solid var(--line); }

.dr-hero { margin-bottom:6px; }
.dr-kicker { font-size:15px; font-weight:600; color:var(--accent);
  margin:0 0 6px; letter-spacing:.01em; }
.dr-sheet .dr-hero h2 { font-size:30px; line-height:1.2; margin:0 0 4px; letter-spacing:-.02em; }
.dr-sub { font-size:13.5px; color:var(--ink-3); margin-bottom:18px; }
.dr-story { font-size:16.5px; line-height:1.6; color:var(--ink-2);
  margin:4px 0 20px; max-width:62ch; }

.dr-hl-group { margin:0 0 12px; }
.dr-hl-group:last-of-type { margin-bottom:0; }
.dr-hl-tag { font:700 11.5px/1 system-ui,sans-serif; letter-spacing:.07em;
  text-transform:uppercase; color:var(--ink-3); margin:0 0 6px 2px; }
.dr-headline { display:grid; grid-template-columns:repeat(auto-fit,minmax(138px,1fr));
  gap:18px; padding:20px; margin:4px 0 18px; border-radius:12px;
  background:var(--rail); border:1px solid var(--line); }
.dr-big b { display:block; font-size:29px; line-height:1.1; letter-spacing:-.02em; }
.dr-big span { display:block; font-size:12.5px; color:var(--ink-3); margin-top:5px; line-height:1.45; }

.dr-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(104px,1fr));
  gap:14px; margin:0 0 4px; }
.dr-facts b { display:block; font-size:19px; }
.dr-facts span { font-size:11.5px; color:var(--ink-3); }
.dr-pending { color:var(--bad); }

/* Bright yellow, because this is the one thing on the page the reader must not
   skim past. Martin, 5 Oct 2026. Same #ffd400 the CRM uses to box a listing
   that needs his attention, so the colour means the same thing in both places. */
.dr-unlock-panel { display:flex; gap:16px; align-items:center; justify-content:space-between;
  flex-wrap:wrap; background:var(--card); border:3px solid #ffd400; color:var(--ink);
  border-radius:12px; padding:15px 17px; margin:18px 0 6px; font-size:14.5px; line-height:1.55; }
.dr-unlock-panel > div { flex:1 1 300px; }

/* The waterfall. A table of money wants room and a clear total. */
.dr-rows.big > div { padding:11px 0; font-size:16px; }
.dr-rows.big > div > span { color:var(--ink-2); }
.dr-rows.big > div.st { font-weight:700; font-size:17px; border-bottom-width:2px; }
.dr-rows.big > div.hi { background:var(--rail); margin:4px -12px; padding:13px 12px;
  border-radius:9px; border-bottom:none; font-size:19px; }
.dr-rows.big > div.hi b em { display:block; font-style:normal; font-size:13px;
  font-weight:500; color:var(--ink-3); margin-top:2px; }
.dr-lede-sm { font-size:14px; color:var(--ink-3); margin:0 0 12px; }

/* An editable figure sitting in the middle of a line of prose.
 *
 * Martin, 5 Oct 2026: the vacancy rate, the management fee, the down payment
 * and the rest belong in the analysis itself rather than in a separate panel of
 * controls, the way they sit on his paper form. So the input is styled to read
 * as part of the sentence and only announce itself on hover or focus. */
.dr-in { display:inline-flex; align-items:center; gap:1px; }
.dr-in input { width:92px; text-align:right; font:inherit; font-weight:700;
  padding:4px 6px; border:1px solid transparent; border-radius:7px;
  background:var(--rail); color:var(--ink); }
.dr-in.pct input { width:62px; }
.dr-in.bare input { width:52px; }
.dr-in input:hover { border-color:var(--line); }
.dr-in input:focus { border-color:var(--accent); outline:none; background:var(--paper); }
.dr-in i { font-style:normal; font-weight:700; color:var(--ink-3); }
.dr-in u { text-decoration:none; font-size:11.5px; color:var(--ink-3); margin-left:2px; }
.dr-in.pct { margin:0 1px; }
.dr-fixed { color:var(--ink-2); }

.dr-sec-head { display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap; }
.dr-sec-head h3 { flex:1; margin-bottom:12px; }
button.sm { padding:6px 12px; font-size:12.5px; border-radius:7px; }

/* The cash case and the financed case are different propositions and plenty of
   investors will not read the second one at all, so they are visibly separate
   rather than one long column of figures. */
.dr-cash, .dr-fin { border:1px solid var(--line); border-radius:12px;
  padding:18px 18px 8px; margin-top:26px; }
.dr-cash { background:var(--rail); }
.dr-cash h3, .dr-fin h3 { border-bottom-color:var(--line); }
.dr-util > span { padding-left:14px; }

/* Monthly and Annual, side by side, the way the paper form reads.
   Either box is editable and each drives the other. */
.dr-rows.cols > div { display:grid; grid-template-columns:1fr 132px 132px;
  align-items:center; gap:10px; }
.dr-rows.cols > div > b { text-align:right; }
.dr-rows.cols > div > span { min-width:0; }
.dr-rows.cols .dr-in { justify-content:flex-end; }
.dr-rows.cols .dr-in input { width:92px; }
.dr-rows.cols > div.hd { padding:0 0 6px; border-bottom:1px solid var(--line); }
.dr-rows.cols > div.hd b { font-size:11.5px; font-weight:700; text-transform:uppercase;
  letter-spacing:.05em; color:var(--ink-3); }
.dr-sub-note { display:block; font-style:normal; font-size:11.5px; color:var(--ink-3);
  margin-top:1px; }

@media (max-width:620px){
  .dr-rows.cols > div { grid-template-columns:1fr 96px 96px; gap:6px; }
  .dr-rows.cols .dr-in input { width:62px; }
  .dr-rows.cols > div.hd b { font-size:10px; }
}

@media (max-width:620px){
  .dr-in input { width:78px; }
  .dr-in.pct input { width:54px; }
  .dr-cash, .dr-fin { padding:14px 13px 6px; }
}

/* Footnotes. The provenance, out of the way but one glance from the figure. */
.dr-fn { font-size:11px; font-weight:700; color:var(--accent); padding-left:2px;
  vertical-align:super; line-height:0; text-decoration:none; cursor:pointer; }
.dr-fn:hover, .dr-fn:focus { text-decoration:underline; }
/* A bigger tap target than 11px of text, without changing how it looks. */
.dr-fn::after { content:""; position:absolute; }
.dr-back { text-decoration:none; color:var(--accent); margin-left:6px; font-size:13px; }
.dr-back:hover { text-decoration:underline; }
/* Where it lands, briefly, so a long list of notes does not leave the reader
   hunting for the one they asked for. */
/* Held, then faded. Martin, 5 Oct 2026: it went away too quickly to be useful.
   Five seconds solid is long enough to read the note you jumped to, and the
   fade over the last second and a half means it does not just blink out. */
.dr-lit { animation:drLit 6.5s ease-out 1; border-radius:6px; }
@keyframes drLit {
  0%, 77% { background:rgba(255,212,0,.26); box-shadow:0 0 0 5px rgba(255,212,0,.26); }
  100% { background:transparent; box-shadow:0 0 0 5px transparent; }
}
.dr-notes ol { margin:0; padding-left:22px; }
.dr-notes li { font-size:13px; line-height:1.6; color:var(--ink-3);
  margin-bottom:9px; padding-left:3px; }

.dr-sheet .dr-calc-grid label { font-size:12.5px; }
.dr-sheet .dr-calc-grid input { font-size:16px; padding:9px 11px; }

@media (max-width:620px) {
  .dr-sheet { padding:20px 16px 28px; }
  .dr-sheet .dr-hero h2 { font-size:23px; }
  .dr-big b { font-size:24px; }
  /* minmax(170px) needed 354px for two columns against a phone's 343px of
     content width, so auto-fit kept two and ran off the screen. Measured at
     375px on 5 Oct 2026, with the headline, the story and the sub-line all
     clipped. The minimum is 138px now and there are four figures in each of two
     groups, so two columns both fit and save a phone eight rows of scrolling. */
  .dr-headline { padding:15px; gap:13px; grid-template-columns:repeat(2,1fr); }
  .dr-big span { font-size:12px; }
  .dr-facts { grid-template-columns:repeat(2,1fr); gap:12px; }
  .dr-rows.big > div { font-size:15px; }
  .dr-rows.big > div.hi { margin:4px -8px; padding:12px 8px; font-size:17px; }
  .dr-story { font-size:15.5px; }
}

/* On paper, once there is an agreement.
 *
 * The browser's own Save as PDF is the PDF: no server, no library, and it keeps
 * whatever the investor changed in the calculator, which a server-rendered copy
 * would not. Everything around the sheet goes, and the sheet stops being a
 * floating panel and becomes a document. */
@media print {
  body > *:not(#sheet) { display:none !important; }
  #sheet { position:static !important; display:block !important; background:none !important;
    overflow:visible !important; padding:0 !important; }
  /* The page is already white. Painting a white sheet on it left the body's
     own colour showing below where the sheet ended, as a grey slab down the
     last page. Measured off the printed PDF, 5 Oct 2026. */
  html, body { background:#fff !important; }
  .sheet-inner.dr-sheet { max-width:none; box-shadow:none; border-radius:0;
    padding:0; color:#000; background:transparent !important; }
  /* Keeping every section whole threw away roughly two pages in ten: a tall
     block that would not fit in what was left of a page jumped to the next one
     and left the rest white. Sections flow now, and it is the small things that
     are kept whole: a figure, a row, a footnote. Measured 5 Oct 2026. */
  .dr-sheet section { break-inside:auto; }
  .dr-hl-group, .dr-headline, .dr-illus, .dr-big,
  .dr-rows > div, .dr-notes li, .dr-legal p { break-inside:avoid; }
  .dr-sheet h3 { break-after:avoid; }
  .dr-sheet footer.mls { background:none !important; border:0; padding:12px 0 0; }
  .dr-rows.big > div.hi { background:#f2f5f7 !important; -webkit-print-color-adjust:exact;
    print-color-adjust:exact; }
  .dr-headline { background:#f2f5f7 !important; border:1px solid #ccc;
    -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .sheet-x, .dr-actions, .dr-gal, #drLenderBox, .dr-unlock-panel { display:none !important; }
  .dr-notes { break-before:auto; }
  .dr-lightbox { display:none !important; }
  .dr-mls-rest > summary { display:none; }
  .dr-mls-rest > *:not(summary) { content-visibility:visible !important;
    display:block !important; }
  .dr-mls-group, .dr-mls-grid > div { break-inside:avoid; }
  .dr-illus, .dr-legal { display:block !important; background:none !important;
    border:1px solid #999; color:#000 !important; break-inside:avoid; }
  .dr-legal { border:0; border-top:2px solid #000; }
  .dr-legal p, .dr-illus { color:#000 !important; }
  a[href]:after { content:""; }
}
@media (max-width:620px) { .dr-nums { grid-template-columns:repeat(2,1fr); } }
.dr-locked-bar { display:flex; gap:14px; align-items:center; justify-content:space-between;
  flex-wrap:wrap; background:var(--card); border:1px solid var(--line);
  color:var(--ink); border-radius:11px; padding:13px 16px; margin-bottom:14px;
  font-size:13.5px; line-height:1.5; }
.dr-ph-locked { display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:repeating-linear-gradient(45deg,#eef2f6,#eef2f6 10px,#e6ecf2 10px,#e6ecf2 20px);
  color:var(--ink-3,#6b7a8c); gap:6px; }
.dr-ref { font:600 13px ui-monospace,Menlo,monospace; letter-spacing:.06em;
  background:#fff; color:#13202A; padding:3px 9px; border-radius:5px; }
.dr-lockmsg { font-size:11.5px; }
.dr-locked .addr { color:var(--ink-2); }
.dr-locked-foot { font-size:11.5px; color:var(--ink-3,#6b7a8c); line-height:1.5; margin-top:6px; }
.dr-locked { cursor:default; }

/* The illustration banner and the standing legal block. Martin, 5 Oct 2026:
   "make sure that the cash flow statement says for illustrative purposes",
   "If they print this out on a PDF, I need all those disclosures on the PDF so
   they never go away." Neither is hidden on screen and neither is hidden in
   print, which is the whole point of them. */
.dr-illus { background:#FFF8E1; border:1px solid #E6CF7A; border-radius:9px;
  padding:11px 14px; margin:0 0 14px; font-size:13px; line-height:1.55;
  color:#4A3B10; }
:root[data-theme="dark"] .dr-illus { background:#2E2708; border-color:#6B5A1E;
  color:#F0E4BA; }
/* Need financing. The lender partner block, 12 Oct 2026. It shows on the
   blurred side too, so it is styled as part of the analysis rather than as an
   advert, and it prints with everything else: an investor who saves the PDF
   keeps the disclaimer and the person to ring together. */
.dr-lender { border:1px solid var(--line); border-radius:11px; padding:14px 16px;
  margin:18px 0; background:var(--rail); }
.dr-lender h3 { margin:0 0 8px; }
.dr-lender-card { display:flex; flex-wrap:wrap; gap:12px 22px; align-items:flex-start;
  background:var(--card); border:1px solid var(--line); border-radius:9px;
  padding:12px 14px; margin:12px 0; }
.dr-lender-pic { width:120px; height:150px; object-fit:cover; border-radius:9px;
  border:1px solid var(--line); flex:none; }
/* The photo is fixed; the two text columns share whatever is left and only
   drop onto separate lines when there genuinely is not room for both. Without
   a basis they size to their content, and the line of small print under the
   telephone number was long enough to push the whole contact column beneath
   the photograph and leave a hole beside the name. */
.dr-lender-who { display:flex; flex-direction:column; gap:2px; flex:1 1 230px; min-width:0; }
.dr-lender-who b { font-size:15px; color:var(--ink); }
.dr-lender-who span { font-size:13px; color:var(--ink-2); }
.dr-lender-reach { display:flex; flex-direction:column; gap:3px; flex:1 1 230px; min-width:0; }
.dr-lender-reach a { font-size:15px; font-weight:600; text-decoration:none;
  color:var(--brand,#173A74); }
:root[data-theme="dark"] .dr-lender-reach a { color:#8FB6E8; }
.dr-lender-reach a:hover { text-decoration:underline; }
.dr-lender-reach .dr-fine { margin:0 0 4px; }
.dr-flash { animation:drFlash 1.4s ease-out; }
@keyframes drFlash {
  0%, 100% { box-shadow:0 0 0 0 rgba(23,58,116,0); }
  18%      { box-shadow:0 0 0 4px rgba(23,58,116,.28); }
}
@media (max-width:560px) {
  .dr-lender-card { flex-direction:column; gap:12px; }
  .dr-lender-pic { width:104px; height:130px; }
  /* flex-basis follows the main axis, so the 230px that sets the column WIDTH
     on a wide card becomes a 230px minimum HEIGHT once the card stacks. That
     left a hand's width of empty card between the NMLS numbers and the
     telephone number on a phone. Measured 12 Oct 2026: both blocks 230px tall
     with perhaps 70px of content in them. */
  .dr-lender-who, .dr-lender-reach { flex:0 1 auto; }
}
@media print {
  .dr-lender { break-inside:avoid; background:transparent; }
  .dr-flash { animation:none; }
}
.dr-legal { border-top:2px solid var(--line); padding-top:16px; margin-top:22px; }
.dr-legal h3 { margin:0 0 10px; }
.dr-legal p { font-size:12px; line-height:1.6; color:var(--ink-2); margin:0 0 9px; }
.dr-legal p b { color:var(--ink); }

/* The action rows, the photo viewer and the MLS layout. Martin, 5 Oct 2026. */

/* One row, twice on the page: the thumbs, then the buttons, then any message
   that belongs to whichever row was used. */
.dr-actions { flex-direction:column; align-items:stretch; }
.dr-act-btns { display:flex; gap:10px; flex-wrap:wrap; }
.dr-actions [data-damsg] { margin:2px 0 0; }
.dr-verdict-wide { gap:8px; margin:0 0 4px; }
.dr-verdict-wide button { display:flex; align-items:center; justify-content:center;
  gap:7px; padding:9px 10px; font-size:15px; }
.dr-verdict-wide button span { font-size:13.5px; font-weight:600; }
/* The chosen one goes navy, so its label has to come with it. */
.dr-verdict button.on, .dr-verdict button.on span { color:#fff; }

/* The photographs open larger. */
.dr-gal img { cursor:zoom-in; }
.dr-lightbox { position:fixed; inset:0; z-index:200; display:flex; align-items:center;
  justify-content:center; gap:10px; background:rgba(8,14,20,.93); padding:24px; }
.dr-lightbox figure { margin:0; display:flex; flex-direction:column; align-items:center;
  gap:10px; max-width:calc(100% - 120px); }
.dr-lightbox img { max-width:100%; max-height:82vh; border-radius:8px;
  box-shadow:0 18px 60px rgba(0,0,0,.6); background:#111; }
.dr-lightbox figcaption { color:#C9D6E2; font-size:13px; letter-spacing:.03em; }
.dr-lb-x { position:absolute; top:14px; right:16px; width:42px; height:42px;
  border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(0,0,0,.45);
  color:#fff; font-size:26px; line-height:1; cursor:pointer; }
.dr-lb-nav { width:48px; height:72px; border-radius:9px;
  border:1px solid rgba(255,255,255,.22); background:rgba(0,0,0,.4); color:#fff;
  font-size:30px; line-height:1; cursor:pointer; flex:0 0 auto; }
.dr-lb-nav:hover, .dr-lb-x:hover { background:rgba(255,255,255,.16); }
@media (max-width:620px) {
  .dr-lightbox { padding:12px; gap:4px; }
  .dr-lightbox figure { max-width:calc(100% - 96px); }
  .dr-lb-nav { width:38px; height:60px; font-size:24px; }
}

/* Everything the MLS publishes. Two columns of label and value, which stays
   readable at any length and collapses to one on a phone. */
.dr-mls-group { margin:0 0 16px; }
.dr-mls-group h4 { margin:0 0 8px; font-size:13px; letter-spacing:.07em;
  text-transform:uppercase; color:var(--ink-3); font-weight:700; }
.dr-mls-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:0 24px; }
.dr-mls-grid > div { display:flex; justify-content:space-between; gap:14px;
  padding:7px 0; border-bottom:1px solid var(--line); font-size:14px;
  align-items:baseline; }
.dr-mls-grid > div > span { color:var(--ink-2); flex:0 1 auto; }
.dr-mls-grid > div > b { text-align:right; flex:1 1 auto; }
.dr-mls-rest { margin-top:6px; }
.dr-mls-rest summary { cursor:pointer; font-size:13.5px; color:var(--ink-2);
  padding:8px 0; font-weight:600; }
.dr-mls-wait { padding:18px 0; }

/* The MLS disclaimer carries the only attribution on the page now, so it reads
   at the same size as the detail beside it rather than as fine print. Martin,
   5 Oct 2026. Scoped to the Deal Room sheet: the main search's footer is a
   page-wide band and is left as it is. */
.dr-sheet footer.mls { font-size:14px; line-height:1.6; }
.dr-sheet footer.mls .in { gap:10px; }
