@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: block; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

/* Summit Key office: the brokerage's back office, same brand as the site */
:root {
  --bg: #f6f5f0; --surface: #fff; --ink: #18201c; --ink-2: #4b5650; --ink-3: #87908a; --line: #e8e6df; --line-2: #d9d6cc;
  --brand: #1f4a3a; --brand-2: #2d6a52; --brand-bg: #e7efe9; --amber: #a86a12; --amber-bg: #fbf0dc; --red: #b5473a; --red-bg: #f8e4e0;
  --serif: "Source Serif 4", Georgia, serif; --sans: "Geist", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
img { display: block; }
svg { flex: none; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* shell */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: 232px; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: #14302a; color: #dfe9e4; z-index: 40; }
.s-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; }
.s-brand svg { width: 28px; height: 28px; }
.s-brand span { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.s-brand em { color: #9cc7b2; font-weight: 400; }
.s-x { display: none; }
.s-links { display: grid; gap: 2px; }
.side a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; font-weight: 500; color: #c6d6cf; }
.side a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side a.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.side a b { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e9b44c; color: #2b1d02; font-size: 11.5px; display: grid; place-items: center; }
.s-site { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 !important; padding-top: 4px !important; height: 50px !important; }
.s-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.s-me img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.s-me b { display: block; color: #fff; font-size: 13.5px; }
.s-me small { font-size: 12px; color: #9fb6ac; }
.side-scrim { display: none; }
.shell { margin-left: 232px; min-height: 100vh; }
.top { display: flex; align-items: center; gap: 16px; padding: 22px 28px 14px; }
.top-burger { display: none; }
.t-tt h1 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.t-tt p { color: var(--ink-3); margin-top: 2px; }
.t-r { margin-left: auto; display: flex; gap: 8px; }
.content { padding: 0 28px 100px; }

/* buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.btn:hover { background: var(--brand-2); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--brand-2); }
.btn.danger { color: var(--red); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.lnk { color: var(--brand-2); font-weight: 600; font-size: 13px; }
.lnk.sm { font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.p-requested { background: var(--amber-bg); color: var(--amber); }
.p-confirmed { background: var(--brand-bg); color: var(--brand); }
.p-done { background: #eceef0; color: #55606a; }
.p-cancelled { background: var(--red-bg); color: var(--red); text-decoration: line-through; }
.new-b { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 5px; background: #e4ecfb; color: #2f5bb5; font-size: 10.5px; font-weight: 700; font-family: var(--sans); vertical-align: 1px; white-space: nowrap; }
.av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.av.xs { width: 22px; height: 22px; }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.p-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.p-h h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.p-h .lnk { margin-left: auto; }
.cnt { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--amber-bg); color: var(--amber); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.empty { color: var(--ink-3); padding: 10px 0; }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row.fresh { background: linear-gradient(90deg, #f1f6ff, transparent 70%); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.tm { width: 74px; flex: none; font-weight: 600; font-size: 13px; }
.th { width: 46px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.th-soon { display: block; background: linear-gradient(160deg, #e7efe9, #f3efe5); }
.r-main { flex: 1; min-width: 0; }
.r-main b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-main small { display: block; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.r-main:hover b { color: var(--brand-2); }

/* today */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.kpi span { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.kpi b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.kpi small { color: var(--ink-2); font-size: 12.5px; }
.today-g { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.col-a, .col-b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.feed-p { border-color: #d5e5dc; box-shadow: 0 10px 30px -18px rgba(31,74,58,.4); }

/* filters bar */
.bar-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--brand-bg); color: var(--brand); }
.srch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); flex: 0 1 260px; }
.srch svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 2; }
.srch input { border: 0; outline: 0; background: none; min-width: 0; flex: 1; }

/* showings week */
.sh-g { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-height: 420px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.day.today { background: color-mix(in srgb, var(--brand-2) 7%, var(--surface)); }
.day-h { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px 6px; border-bottom: 1px solid var(--line); }
.day-h span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.day-h b { font-family: var(--serif); font-size: 20px; }
.day-h small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
.sc { display: grid; gap: 2px; text-align: left; padding: 8px; border-radius: 10px; background: #f4f8f5; border: 1px solid #dbe8df; min-width: 0; }
.sc:hover { border-color: var(--brand-2); }
.sc.s-requested { background: #fdf7ea; border-color: #f0dcb4; }
.sc.s-done { background: #f3f4f5; border-color: #e3e5e8; }
.sc.s-cancelled { background: #fbf1ef; border-color: #f0d3cd; }
.sc.fresh { box-shadow: 0 0 0 2px #8fb0ee; }
.sc-t { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.sc b { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.sc-w { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.sc-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
.ohc { display: grid; gap: 1px; padding: 7px 8px; border-radius: 10px; background: var(--brand); color: #fff; }
.ohc span { font-size: 11.5px; font-weight: 700; opacity: .85; }
.ohc b { font-size: 12.5px; }
.ohc small { font-size: 11.5px; opacity: .85; overflow-wrap: anywhere; }
.none-d { color: var(--ink-3); font-size: 12.5px; padding: 8px 4px; }

/* leads board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.colm { background: #eeede6; border-radius: 16px; padding: 10px; min-height: 360px; transition: background .15s; }
.colm.over { background: var(--brand-bg); box-shadow: inset 0 0 0 2px var(--brand-2); }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; }
.col-h h2 { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.col-h .cnt { margin-left: 0; background: var(--surface); color: var(--ink-2); }
.col-h small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw-new { background: #4f7fd6; } .sw-touring { background: #e0a43c; } .sw-offer { background: #8a5cc7; } .sw-closed { background: var(--brand-2); }
.col-l { display: grid; gap: 8px; }
.lc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; cursor: grab; }
.lc.fresh { box-shadow: 0 0 0 2px #8fb0ee; }
.lc.drag { opacity: .5; }
.lc-h { display: flex; align-items: center; gap: 8px; }
.lc-n { font-weight: 650; text-align: left; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lc-n:hover { color: var(--brand-2); text-decoration: underline; }
.lc-w { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.kind { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 5px; background: #f1e9fb; color: #6b3fae; font-size: 10.5px; font-weight: 700; }
.lc-m { font-size: 12px; color: var(--ink-3); }
.stale { color: var(--red); font-weight: 600; }
.mv select { width: 100%; height: 32px; margin-top: 4px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: #fafaf7; font-size: 12.5px; color: var(--ink-2); }

/* listings table */
.tbl-p { padding: 0; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.tbl td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:first-child td { border-top: 0; }
.home { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.home .th { width: 64px; height: 46px; }
.home b { display: block; }
.home small { color: var(--ink-3); font-size: 12.5px; }
.pr { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; }
.pr:hover { border-color: var(--line-2); background: #fafaf7; }
.pr b { font-size: 15px; }
.pr svg { width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linejoin: round; }
.pr .cut { color: var(--red); font-weight: 700; font-size: 12px; }
.pr-f, .oh-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pr-f input { width: 110px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--brand-2); }
.oh-f select, .st-sel { height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; }
.st-sel { font-weight: 600; }
.st-sel.st-active { color: var(--brand); background: var(--brand-bg); border-color: #c9dccf; }
.st-sel.st-pending { color: var(--amber); background: var(--amber-bg); border-color: #efd7a9; }
.st-sel.st-sold { color: var(--red); background: var(--red-bg); border-color: #efcbc4; }
.ohs-c { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.oh-c { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 2px 0 9px; border-radius: 13px; background: var(--brand-bg); color: var(--brand); font-size: 12px; font-weight: 600; white-space: nowrap; }
.oh-c button { width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1; color: var(--brand); }
.oh-c button:hover { background: rgba(31,74,58,.12); }
.act { text-align: right; }

/* drawer */
.d-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15,20,18,.38); opacity: 0; pointer-events: none; transition: opacity .2s; }
.d-scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100vw); background: var(--surface); box-shadow: -20px 0 50px rgba(0,0,0,.2); overflow-y: auto; transform: translateX(105%); transition: transform .22s; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.d-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.d-ph img { width: 100%; height: 180px; object-fit: cover; }
.d-b { padding: 20px 22px 32px; display: grid; gap: 12px; }
.d-k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.d-b h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; padding-right: 40px; }
.d-b h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-top: 4px; }
.d-b > .pill { justify-self: start; }
.d-l { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.d-l div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--surface); }
.d-l dt { color: var(--ink-3); font-size: 13px; }
.d-l dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.resched, .frm { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: #fafaf7; border: 1px solid var(--line); }
.frm { background: none; border: 0; padding: 0; }
.resched button { justify-self: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-b label, .frm label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.d-b input, .d-b select { height: 40px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; width: 100%; min-width: 0; }
.d-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mini li:first-child { border-top: 0; }
.mini a { font-weight: 600; flex: 1; min-width: 0; }
.note-f { display: flex; gap: 8px; }
.notes li { padding: 9px 12px; border-radius: 10px; background: #f6f5f0; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.fine { font-size: 12.5px; color: var(--ink-3); }
.toast { position: fixed; left: calc(50% + 116px); bottom: 24px; transform: translate(-50%, 20px); z-index: 58; max-width: min(480px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  .today-g, .sh-g { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1240px) and (min-width: 721px) {
  .sh-g .col-b { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .tbl tr:first-child { border-top: 0; }
  .tbl td { padding: 0; border: 0; }
  .tbl td.home { grid-column: 1 / -1; min-width: 0; }
  .tbl td[data-h]::before { content: attr(data-h); display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
  .tbl td[data-h="Open houses"] { grid-column: 1 / -1; }
  .act { text-align: left; }
}
@media (max-width: 720px) {
  .side { width: min(290px, 84vw); transform: translateX(-105%); transition: transform .22s; visibility: hidden; z-index: 62; }
  .side-open .side { transform: none; visibility: visible; }
  .s-x { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; font-size: 26px; color: #dfe9e4; }
  .side-scrim { display: block; position: fixed; inset: 0; z-index: 61; background: rgba(15,20,18,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .side-open .side-scrim { opacity: 1; pointer-events: auto; }
  .shell { margin-left: 0; }
  .top { padding: 12px 16px; gap: 10px; flex-wrap: wrap; position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
  .top-burger { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }
  .top-burger svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .t-tt { flex: 1; min-width: 0; }
  .t-tt h1 { font-size: 21px; }
  .t-tt p { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .t-r .btn { height: 38px; padding: 0 12px; font-size: 13px; }
  .content { padding: 14px 16px 100px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 26px; }
  .panel { padding: 14px; }
  .row.fresh { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .row { gap: 10px; }
  .row .th, .row .av { display: none; }
  .tm { width: 62px; font-size: 12.5px; }
  .t-r a.btn { display: none; }
  .cal { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .board { grid-template-columns: 1fr; }
  .colm { min-height: 0; }
  .lc { cursor: default; }
  .srch { flex: 1 1 100%; }
  .two { grid-template-columns: 1fr; }
  .toast { left: 50%; bottom: 84px; }
  .tbl tr { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
*, *::before, *::after { font-style: normal !important; }
.th-art { display: block; overflow: hidden; }
.th-art .art, .d-ph .art { width: 100%; height: 100%; display: block; }
.d-ph { position: relative; height: 180px; overflow: hidden; }
.d-ph img { height: 100%; }
.d-ph .ph-soon { position: absolute; inset: 0; }
.d-ph .ph-soon small { position: absolute; left: 12px; bottom: 12px; padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; }
