/* What the screens moved from the old desk.js still use, until each is redrawn to the plan's markup; then its rules go,
   and this file with the last one. It loads before app.css (the plan's), which wins where a name is in both. The
   variables, the fonts, the shell, the dialogs and the primitives (.b, .cd, .dt, .tb, .pill, .feed...) are app.css's. */
*{margin:0}
textarea{border:1px solid var(--line);padding:8px 10px;background:var(--paper);width:100%;resize:vertical;font:inherit}
.in{border:1px solid var(--line);padding:8px 10px;background:var(--paper)}
.grid2{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.grid2.rev{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.cols.two{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start}
.dt th{position:sticky;top:0;z-index:1}
.kv{display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 10px}
.kv dt{color:var(--t3)}
.kv dd{margin:0;min-width:0;overflow-wrap:anywhere}
.kv.w{grid-template-columns:170px minmax(0,1fr);gap:10px}

/* Search, AI Search, My Listings and Value: a form on the left, the map over the results on the right. */
.src{display:grid;grid-template-columns:300px 1fr;height:100%;min-height:0}
.src>.src-l{padding:16px}
.src-l h1{font-size:18px;margin-bottom:12px}
.f{display:grid;gap:4px;margin-bottom:12px}
.f label{font-size:12.5px;font-weight:700;color:var(--t2)}
.f input,.f select{border:1px solid var(--line);padding:8px 10px;background:var(--paper);width:100%}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.src>.src-r{grid-template-rows:minmax(260px,46%) 1fr}
.map{background:#E8EEF3;min-height:0}
.res{overflow:auto;min-height:0;background:var(--paper)}
.res-h{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid var(--line)}
.dt img.ths{width:62px;height:42px;object-fit:cover;background:var(--mist)}

/* One listing. */
.gal{display:grid;grid-template-columns:2fr 1fr;gap:6px;margin-bottom:14px}
.gal img{width:100%;height:100%;object-fit:cover;display:block;background:var(--mist)}
.gal .big{aspect-ratio:3/2}
.gal .side{display:grid;gap:6px}
.facts{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0 14px;color:var(--t2)}
.desc{color:var(--t2);white-space:pre-line}
.sv{height:260px;background:var(--mist)}
.mls{font-size:12.5px;color:var(--t3);margin-top:14px}

/* Value and Comps. */
.sug{position:relative}
.sug ul{position:absolute;left:0;right:0;top:100%;background:var(--paper);border:1px solid var(--line);border-top:0;list-style:none;padding:0;z-index:5;max-height:260px;overflow:auto}
.sug li{padding:8px 10px;cursor:pointer}
.sug li:hover,.sug li.on{background:var(--sky)}
/* the mark in a suggesting field while its suggestions are on their way (kit.js "sg-wait"; the website's suggest.css) */
.sug input.sg-wait,input.lk-wait{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke-width='2.2'%3E%3Ccircle cx='10' cy='10' r='7.5' stroke='%232185F7' stroke-opacity='.25'/%3E%3Cpath d='M10 2.5a7.5 7.5 0 0 1 7.5 7.5' stroke='%232185F7' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 10 10' to='360 10 10' dur='.7s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 10px center!important;background-size:16px 16px!important}
.val{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.val b{font-size:34px;letter-spacing:-.02em}
.spark{width:100%;height:70px;display:block;margin:10px 0 4px}
.spark path{fill:none;stroke:var(--blue);stroke-width:2}
.spark .area{fill:var(--sky);stroke:none}
.cmp img{width:62px;height:42px;object-fit:cover;display:block;background:var(--mist)}
.cmp tr.off td{color:var(--t3)}
.cmp tr.off img{opacity:.4}
input.ck{width:16px;height:16px;accent-color:var(--blue)}
.subj{margin:0 0 10px}

/* Who listed a home, under its address in a table (BUILD.md, section 8), and $/sqft folded away where the table is narrow. */
.dt td small.by{display:block;margin-top:2px;font-size:12px;color:var(--t4)}
@media (max-width:1099px){.dt .psf{display:none}}
