/* ShortTerm.direct — the settled dress (direct-standards DESIGN-STANDARD.md):
   Prairie Ink, one scheme. Primary deep ink navy · Accent warm amber, the
   one action color, its text always Ink · warm paper surface · Ink /
   Muted / Line · Go/Stop fixed family-wide. ShortTerm rides the ForRent
   engine, so it wears the RENT family's tint, Dusk Blue: it touches the
   hero band, empty-state grounds and the map pin's ring only — never a
   button, a price, a badge or body text. Type is IBM Plex Sans. */
:root{
  --primary:#1C2B3A; --accent:#E8A33D; --paper:#FAF7F2; --card:#FFFFFF;
  --ink:#23201B; --muted:#6E675C; --line:#E5DFD3; --tint:#E1EAF1;
  --go:#2E7D4F; --stop:#B3402E; --badge:#EFEAE0;
  --shadow:0 1px 3px rgba(28,43,58,.08),0 10px 30px rgba(28,43,58,.06);
  --radius:12px;
  --display:42px; --headline:29px; --section:20px; --body:16px; --small:14px;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.55;font-size:var(--body);font-variant-numeric:tabular-nums;overflow-x:hidden}
a{color:var(--primary)}
img{max-width:100%;display:block}
h1,h2,h3{letter-spacing:-.015em;line-height:1.2}
h1{font-size:var(--display);margin:0 0 12px;font-weight:700}
h2{font-size:var(--headline);margin:0 0 8px;font-weight:700}
h3{font-size:var(--section);margin:0 0 6px;font-weight:700}
h2.shelf{font-size:var(--section);margin:26px 0 12px;color:var(--ink)}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.small{font-size:var(--small);color:var(--muted)}
.sub{color:var(--muted);margin:0 0 24px;font-size:17px;max-width:720px}
.lede{font-size:19px;max-width:700px;margin:0 0 22px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Header — light and CONTAINED: its content sits in the page's own
   column; nothing in the header bar stretches to the screen's edges. */
header.site{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000}
.nav{display:flex;align-items:center;gap:18px;padding:12px 20px;flex-wrap:wrap;font-size:15px}
.logo{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;letter-spacing:-.02em;line-height:1.05;text-decoration:none;color:var(--ink)}
.logo .mark{width:auto;height:32px;flex:none}
.logo small{display:block;font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:2px}
.nav a.link,.nav button.link{color:var(--ink);text-decoration:none;font-weight:600;background:none;border:0;font:inherit;font-weight:600;cursor:pointer;padding:0}
.nav a.link:hover,.nav button.link:hover{text-decoration:underline}
.nav .spacer{flex:1}
.nav .menu-btn{display:none}
.nav .links{display:contents}
#auth-slot{display:flex;align-items:center;gap:14px}
.menu-wrap{position:relative;display:inline-block}
.menu-pop{position:absolute;right:0;top:calc(100% + 8px);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-width:220px;z-index:1100;box-shadow:0 8px 24px rgba(28,43,58,.12);display:flex;flex-direction:column;gap:10px}
@media(max-width:1000px){
  .nav{gap:12px}
  .nav .menu-btn{display:inline-flex;margin-left:auto}
  .nav .links{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:14px;padding:8px 0 6px}
  .nav.open .links{display:flex}
  .nav .spacer{display:none}
  #auth-slot{flex-direction:column;align-items:flex-start;gap:14px}
  .menu-pop{position:static;box-shadow:none;margin-top:8px}
}

/* Three button forms only: Primary (accent, Ink label) · Secondary (outline) · Quiet (text). */
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:var(--ink);border:none;border-radius:9px;padding:10px 18px;font:inherit;font-size:15px;font-weight:600;line-height:24px;cursor:pointer;text-decoration:none;min-height:44px}
.btn:hover{filter:brightness(1.05)}
.btn.gold{background:var(--accent);color:var(--ink)}
.btn.ghost{background:var(--card);color:var(--primary);border:1.5px solid var(--primary)}
.btn.small{padding:6px 12px;font-size:14px;line-height:20px;min-height:44px}
.btn[aria-pressed="true"]{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn:disabled{opacity:.6;cursor:default}

/* Location band — directly beneath the header, full width; one
   construction in every state, its controls in the ruled order. */
.geo-bar{background:var(--paper);border-bottom:1px solid var(--line);font-size:15px}
.geo-in{display:flex;align-items:center;gap:10px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.geo-bar b{font-weight:700}
.geo-note{padding-bottom:9px;font-size:14px;color:var(--ink)}
.geo-pick{display:none;align-items:flex-end;gap:10px;flex-wrap:wrap;padding-bottom:12px}
.geo-pick.open{display:flex}
.geo-pick label{font-size:14px;font-weight:600;display:flex;flex-direction:column;gap:4px}
.geo-pick input,.geo-pick select{padding:10px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:16px;background:#fff;min-height:44px}
.geo-pick input{min-width:240px;max-width:100%}

/* Hero — claim + one action on clean ground in the family tint. No
   decorative stock: a door with no honest photo runs with no panel. */
.hero{background:var(--tint);border-bottom:1px solid var(--line)}
.hero .wrap{padding-top:48px;padding-bottom:44px}
.searchbar{background:#fff;border-radius:var(--radius);padding:12px;display:flex;gap:10px;flex-wrap:wrap;box-shadow:0 10px 30px rgba(28,43,58,.12);max-width:860px}
.searchbar input,.searchbar select{flex:1;min-width:170px;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:16px;background:#fff;min-height:44px}
.searchbar input{flex:2}
.op-hero{background:var(--tint);border-bottom:1px solid var(--line)}
.op-hero h1{font-size:36px;max-width:820px}
@media(max-width:820px){h1{font-size:32px}.op-hero h1{font-size:28px}.hero .wrap{padding-top:32px;padding-bottom:30px}.searchbar input,.searchbar select,.searchbar .btn{flex:1 1 100%}}

section{padding:40px 0}
section.band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
section.local{padding-top:32px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.count-line{font-size:16px;margin:0 0 18px}
.count-line b{font-weight:700}

/* One card language: same radius and shadow; businesses at 3:2. */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;box-shadow:var(--shadow);min-width:0}
a.card:hover{border-color:var(--primary)}
.card-photo{display:flex;aspect-ratio:3/2;overflow:hidden;background:var(--tint)}
.card-photo img{height:100%;width:100%;object-fit:cover}
.card-photo-none{align-items:center;justify-content:center;color:var(--muted);font-weight:600;font-size:15px}
.card .body{padding:14px 18px 18px}
.card h3{margin:4px 0 4px;font-size:18px;line-height:1.3}
.card .meta{color:var(--muted);font-size:15px}
.card .dist{color:var(--ink);font-weight:600}
.card p.what{margin:8px 0 0;font-size:15px}
.card .price{font-size:17px;font-weight:700}
.tag{display:inline-block;background:var(--badge);color:var(--ink);border-radius:999px;padding:2px 10px;font-size:13px;font-weight:600;margin:0 6px 4px 0}

.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);min-width:0}
a.tile:hover{border-color:var(--primary)}
.tile b{display:block;font-size:17px;margin-bottom:2px}
.tile span{color:var(--muted);font-size:14px}
.tile-zero{background:var(--tint);box-shadow:none}

/* Honest zero — the empty state wears the tint, says it plainly. */
.zero{background:var(--tint);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin:0 0 20px}
.zero p{margin:0}

.filters{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px;align-items:end}
.filters label{font-size:14px;font-weight:600;display:flex;flex-direction:column;gap:4px}
.filters input,.filters select{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:16px;background:#fff;min-height:44px}
@media(max-width:600px){.filters{grid-template-columns:1fr !important}}
.viewtoggle{display:flex;gap:8px}
#results-map-wrap{position:relative}
#results-map{height:560px;border-radius:var(--radius);border:1px solid var(--line);overflow:hidden;position:relative}
@media(max-width:820px){#results-map{height:62vh}}
#results-wide{margin-top:8px}
.map-note{padding:30px;text-align:center;color:var(--muted);background:var(--tint);border-radius:var(--radius)}
.search-area{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:600;box-shadow:var(--shadow)}
.pin{background:var(--primary);color:#fff;border:3px solid var(--tint);border-radius:999px;padding:4px 10px;font:600 13px/1.2 "IBM Plex Sans",system-ui,sans-serif;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.25);transform:translate(-50%,-50%);display:inline-block}
.pin-wrap{background:none;border:none}
.here-dot{display:block;width:16px;height:16px;border-radius:50%;background:var(--accent);border:3px solid #fff;box-shadow:0 0 0 2px var(--primary)}

/* The Profile Block */
.crumbs{font-size:14px;color:var(--muted);margin:0 0 14px}
.crumbs a{color:var(--muted)}
.profile{display:grid;grid-template-columns:3fr 2fr;gap:28px;align-items:start}
@media(max-width:820px){.profile{grid-template-columns:1fr}}
.profile-photo{border-radius:var(--radius);overflow:hidden;aspect-ratio:3/2;background:var(--tint);border:1px solid var(--line);margin-top:18px}
.profile-photo img{width:100%;height:100%;object-fit:cover}
.facts{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:4px 18px;box-shadow:var(--shadow)}
.facts dl{margin:0}
.facts div{padding:12px 0;border-bottom:1px solid var(--line)}
.facts div:last-child{border-bottom:none}
.facts dt{font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.facts dd{margin:2px 0 0;font-size:16px;overflow-wrap:anywhere}
.contact{display:flex;flex-direction:column;gap:10px;margin:0 0 18px}
.contact .btn{width:100%}
.offers{margin:6px 0 0;padding-left:20px}
.offers li{margin-bottom:4px}
#profile-map{height:260px;border-radius:var(--radius);border:1px solid var(--line);margin-top:18px}
.source{font-size:13px;color:var(--muted);margin-top:22px}

/* Articles and rules pages */
.article{max-width:780px}
.article h2{font-size:24px;margin-top:32px}
.article li{margin-bottom:6px}
.callout{background:var(--tint);border-radius:var(--radius);padding:14px 18px;margin:18px 0;font-size:15px}
.reg-points li{margin-bottom:10px}

/* The operator's page */
.mine{border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin-top:10px;background:var(--paper)}

form.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;max-width:640px}
form.panel label{font-weight:600;display:block;margin:14px 0 5px}
form.panel input,form.panel textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:16px;background:var(--paper)}
.fld-err{color:var(--stop);font-size:14px;margin:4px 0 0}
.hint{display:block;font-weight:400;color:var(--muted);font-size:13.5px;margin-top:4px}
.panel-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;max-width:520px;box-shadow:var(--shadow)}

/* Footer: door essentials · the OnePlace band · the sign-off · SiteWorks · legal. */
.oneplace{background:var(--paper);border-top:2px solid var(--primary);padding:22px 16px;text-align:center;margin-top:40px}
.oneplace .head{font-size:16px;font-weight:700}
.oneplace .row{margin-top:8px;font-size:15px}
.oneplace .row a{font-weight:600}
.oneplace .signoff{margin-top:10px;font-size:14px;font-weight:700;color:var(--primary)}
footer.site{background:var(--primary);color:#D8DEE5;padding:36px 0}
footer.site a{color:#fff}
footer .cols{display:flex;gap:40px;flex-wrap:wrap;margin-bottom:18px}
footer .cols div{line-height:1.9}
footer .small{color:#A9B4BF}
footer .flogo{font-weight:700;font-size:19px;color:#fff}
