/* Unified Listings workspace — frontend preview */
#tab-listing-portfolio,
#tab-listing-offers,
#tab-listing-seller-concierge,
#tab-listing-drafts,
#tab-new-listing {
  --card: #ffffff;
  --card-hi: #ffffff;
  --bg: #ffffff;
  --off-white: #ffffff;
}

/* 2026-09-19: Market Research (Morgan) tab restyled to match Seller
 * Concierge's own white-card look -- reviewed with Mark as "Concept 1 --
 * Seller Concierge Match" in the Market Research Page mockup, then approved
 * for the real page. Same technique as the override above (scoped var
 * override, not a global change to --card), kept as its own rule since
 * neither tab is part of the Listings workspace this file otherwise
 * covers. .card already has border-radius:10px / border:1px solid
 * var(--border) (css/shell-and-shared-ui.css) -- only the background
 * needed to change from the sitewide gray (#ebebee) to white. Extended to
 * #tab-today the same day, per Mark: "match the Today tab/page formatting
 * to this." */
#tab-agent-morgan,
#tab-today {
  --card: #ffffff;
  --card-hi: #ffffff;
}
/* 2026-09-19 (revised, same day): Mark's actual ask was a solid coral
 * header bar with black text, matching the app's own existing
 * .lw-deadlines-header pattern in Seller Concierge (css/listings-workspace.css,
 * background:var(--coral-200)) -- not coral text on a white bar, which is
 * what the first pass above did. Sample screenshot measured at ~#FCAE9E
 * background / near-black text, closest existing token is --coral-200
 * (#F9B8A6), matching the pre-existing Seller Concierge pattern exactly.
 * Scoped to these two tabs only, same technique as above. No left-border
 * accent needed since the whole bar is now coral. */
#tab-agent-morgan .card-head,
#tab-today .card-head {
  background: var(--coral-200);
}
#tab-agent-morgan .card-title,
#tab-today .card-title {
  color: #111114;
  background: var(--coral-200);
  border-left: none;
  padding-left: 0;
}
/* Today's dash-section titles (js/... renders them straight into the
 * section, no .card-head wrapper like Morgan's .card markup has) --
 * "Needs your review" and "Listing Readiness" are each the sole item in
 * their row, so their title bar is bled out to the section's own edges
 * and top corners (dash-section padding is 14px 14px 10px / radius 12px)
 * for the same edge-to-edge bar Morgan's .card-head gives. Market Trends
 * shares its row with a market-picker dropdown and the source-month
 * label, so its title stays a snug chip instead of resizing that layout. */
#tab-today .dash-section--action > .card-title,
#tab-today .dash-section--leads > .card-title {
  display: block;
  margin: -14px -14px 10px -14px;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
}
#tab-today .dash-section--market .card-title {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
}
/* 2026-09-05: top offset above the coral header card must match the Relationships reference template exactly -- .content's 24px base padding plus 20px here, same total (44px) that Relationships gets from its own .jd-view{padding:20px 0}. Was 16px (40px total) here and 0 on Transactions/Settings (24px total) -- both now corrected to line up, confirmed with Mark 2026-09-05 (workflow header formatting pass). */
#tab-listing-portfolio,#tab-listing-offers,#tab-listing-seller-concierge,#tab-agent-riley{padding-top:20px}
.lw-page-actions{display:flex;align-items:center;justify-content:flex-end;margin-bottom:14px}
.lw-page{padding:0 24px 32px;color:var(--ink);font-family:inherit}.lw-page *{box-sizing:border-box}.lw-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.lw-page-head h2,.lw-record-title h2{font-family:inherit;font-size:20px;font-weight:850;letter-spacing:-.02em;line-height:1.2;margin:0;color:var(--ink)}.lw-page-head p,.lw-record-title p{font-size:14px;line-height:1.55;color:var(--dim);margin:5px 0 0;max-width:760px}.lw-primary-btn,.lw-secondary-btn,.lw-icon-btn,.lw-back-btn{border:0;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.16s ease}.lw-primary-btn{background:var(--coral);color:#fff;border:1px solid var(--coral);border-radius:7px;padding:9px 13px;font-size:14px;font-weight:800}.lw-primary-btn:hover{filter:brightness(.96);transform:translateY(-1px)}.lw-secondary-btn{background:var(--card);color:var(--ink);border:1px solid var(--border);border-radius:7px;padding:8px 11px;font-size:13.5px;font-weight:800}.lw-secondary-btn:hover{border-color:rgba(224,122,95,.7);color:var(--coral)}.lw-primary-btn.wide,.lw-secondary-btn.wide{width:100%}.lw-icon-btn{width:30px;height:30px;border-radius:7px;background:transparent;color:var(--dim);font-size:17px}.lw-icon-btn:hover{background:var(--card-hi);color:var(--coral)}.lw-back-btn{background:transparent;color:var(--dim);font-size:14px;font-weight:700;padding:0;margin-bottom:14px}.lw-back-btn:hover{color:var(--coral)}
#tab-listing-portfolio .lw-page{padding-right:0;padding-left:0}
#tab-listing-drafts .lw-page{padding-top:20px}
/* 2026-09-05: Seller Concierge and Transactions' Overview both wrap their
   coral-card content in the same shared .lw-page, but (unlike Listing
   Portfolio above) had never had their own left/right padding zeroed out --
   so they were sitting at .content's 24px PLUS .lw-page's own 24px (48px
   total), double the 24px every other workflow page uses. Zeroing it here
   too so all six pages line up against the left nav at the same distance,
   confirmed with Mark 2026-09-05 (workflow header formatting pass). */
#tab-listing-seller-concierge .lw-page,
#tab-agent-riley .lw-page{padding-right:0;padding-left:0}

/* 2026-09-05: Seller Concierge's section switcher (Overview / My Projects /
   Tasks / Calendar / Vendors / Reports). A dropdown, not a second tab row,
   because Seller/Buyer Concierge now sit in the gray-header top tabs and a
   horizontal strip here would stack tabs under tabs -- Mark: "nested tabs
   just don't work well." Rendered by lwConciergeSwitcherHtml() as part of
   lwRenderSellerConcierge()'s own output (js/listings/workspace.js), as a
   direct sibling of .jd-briefing inside .lw-page -- not as static shell nav
   -- so it reliably sits right under the coral card with a real gap between
   them (was flush against it before, per Mark's feedback). Inside this tab,
   --card/--card-hi are both overridden to white (see the top of this file),
   so the menu popover uses explicit #fff/rgba() instead of --card-hi for a
   hover state that actually reads. Confirmed with Mark 2026-09-05. */
.lw-concierge-switcher{position:relative;margin:24px 0 16px}
.lw-concierge-switcher-btn{display:inline-flex;align-items:center;gap:7px;font:700 12px 'Inter',sans-serif;color:var(--ink);background:var(--card);border:1px solid var(--border);border-radius:8px;padding:9px 13px;cursor:pointer}
.lw-concierge-switcher-btn:hover{border-color:rgba(224,122,95,.6)}
.lw-concierge-switcher-btn i{color:var(--coral);font-size:14px}
.lw-concierge-switcher-dim{color:var(--dim);font-weight:600}
.lw-concierge-switcher-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;min-width:192px;background:#fff;border:1px solid var(--border);border-radius:9px;box-shadow:0 10px 26px rgba(20,22,26,.16);padding:6px;display:flex;flex-direction:column;gap:1px}
.lw-concierge-switcher-menu[hidden]{display:none}
.lw-concierge-switcher-item{text-align:left;font:600 12px 'Inter',sans-serif;color:var(--dim);background:transparent;border:0;border-radius:6px;padding:8px 10px;cursor:pointer}
.lw-concierge-switcher-item:hover{background:rgba(17,17,20,.05);color:var(--ink)}
.lw-concierge-switcher-item.active{background:rgba(224,122,95,.12);color:var(--coral);font-weight:800}
.lw-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lw-stat{background:var(--coral-50);border:1px solid var(--coral-100);border-radius:9px;padding:13px 15px;min-width:0}.lw-stat.attention{background:var(--coral-300);border-color:var(--coral-500)}.lw-stat.attention span,.lw-stat.attention strong,.lw-stat.attention small{color:var(--ink)}.lw-stat span{display:block;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--dim)}.lw-stat strong{display:block;font-family:inherit;font-size:25px;font-weight:850;line-height:1;margin-top:5px}.lw-stat small{display:block;font-size:13.5px;color:var(--muted);margin-top:2px}.lw-card{background:var(--card);border:1px solid var(--border);border-radius:10px}.lw-section{padding:17px}.lw-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.lw-section-head h3{margin:0;font-size:15px;color:var(--ink)}.lw-section-head p{margin:4px 0 0;color:var(--dim);font-size:14px;line-height:1.5}.lw-preview-pill{display:inline-flex;align-items:center;background:rgba(224,122,95,.09);border:1px solid rgba(224,122,95,.28);color:var(--coral);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;border-radius:999px;padding:5px 8px;white-space:nowrap}
.lw-portfolio-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--coral);border-bottom:1px solid var(--coral-500);border-radius:9px 9px 0 0}.lw-portfolio-actions>span{color:#fff;font-size:13.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.lw-portfolio-actions .lw-primary-btn{background:#fff;color:var(--coral);border-color:#fff}.lw-portfolio-actions .lw-primary-btn:hover{background:var(--coral-50)}
.lw-toolbar{padding:13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lw-search{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:7px;padding:0 10px;min-width:290px;flex:1;max-width:440px;color:var(--muted)}.lw-search input{width:100%;height:34px;background:transparent;border:0;outline:0;color:var(--ink);font-size:14px}.lw-view-switch{display:flex;align-items:center;gap:3px;background:var(--bg);padding:3px;border-radius:7px;border:1px solid var(--border)}.lw-view-switch button{border:0;background:transparent;color:var(--dim);font-size:13.5px;font-weight:700;padding:7px 9px;border-radius:5px;cursor:pointer}.lw-view-switch button.active{background:var(--card);color:var(--coral);box-shadow:0 1px 4px rgba(30,35,40,.08)}.lw-table-scroll{overflow:auto}.lw-table{width:100%;border-collapse:collapse;min-width:1020px}.lw-table th{text-align:left;padding:10px 13px;font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:var(--coral-200);border-bottom:1px solid var(--border)}.lw-table td{padding:12px 13px;border-bottom:1px solid var(--border);font-size:13.5px;vertical-align:middle}.lw-table tbody tr{cursor:pointer;transition:.15s ease}.lw-table tbody tr:nth-child(odd){background:#fff}.lw-table tbody tr:nth-child(even){background:#fff8f5}.lw-table tbody tr:not(.lw-comps-average-row):not(.lw-comps-median-row):not(.lw-comp-row-nolink):hover{background:rgba(224,122,95,.16)}.lw-table tbody tr.lw-comp-row-nolink{cursor:default}.lw-comp-link-icon{font-size:13.5px;color:var(--muted);margin-left:6px;vertical-align:middle}.lw-comp-row-link:hover .lw-comp-link-icon{color:var(--coral)}.lw-table tbody tr.lw-comps-average-row{cursor:default;background:var(--mid)}.lw-table tbody tr.lw-comps-average-row:hover{background:var(--mid)}.lw-comps-average-row td{border-top:2px solid var(--border);padding:10px 13px;font-weight:900}.lw-comps-average-row td strong{font-weight:900}.lw-comps-average-row .lw-cell-sub{display:inline;margin-top:0;margin-left:4px;font-weight:900}.lw-table tbody tr.lw-comps-median-row{cursor:default;background:var(--mid)}.lw-table tbody tr.lw-comps-median-row:hover{background:var(--mid)}.lw-comps-median-row td{padding:10px 13px;font-weight:900}.lw-comps-median-row td strong{font-weight:900}.lw-comps-median-row .lw-cell-sub{display:inline;margin-top:0;margin-left:4px;font-weight:900}.lw-table td>strong{font-size:13.5px;color:var(--ink)}.lw-property-cell{display:flex;align-items:center;gap:10px}.lw-property-photo{position:relative;display:inline-flex;flex:0 0 auto}.lw-property-icon{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(224,122,95,.1);color:var(--coral);font-size:17px;flex:0 0 auto}.lw-photo-missing-badge{position:absolute;bottom:-6px;right:-6px;width:22px;height:22px;border-radius:999px;background:var(--coral);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.25);z-index:1}.lw-photo-missing-badge i{display:block}.lw-property-icon.has-photo{width:104px;height:64px;border-radius:9px}.lw-property-icon.has-photo{padding:0;overflow:hidden;background:var(--card-hi)}.lw-property-icon.has-photo img{width:100%;height:100%;object-fit:cover;display:block}.lw-property-cell strong,.lw-property-cell small,.lw-cell-sub{display:block}.lw-property-cell strong{font-size:14px}.lw-property-cell small,.lw-cell-sub{font-size:13px;color:var(--muted);margin-top:3px;line-height:1.35}.lw-cell-sub.coral{color:var(--coral)}.lw-table-foot{padding:9px 13px;font-size:13px;color:var(--muted);background:var(--card-hi);border-radius:0 0 10px 10px}.lw-status{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 8px;font-size:13px;font-weight:800;border:1px solid var(--border);background:var(--card-hi);color:var(--dim);white-space:nowrap}.lw-status.preparing,.lw-status.review{color:#a4612c;background:rgba(219,149,79,.11);border-color:rgba(219,149,79,.3)}.lw-status.active,.lw-status.ready{color:#357d74;background:rgba(77,139,130,.11);border-color:rgba(77,139,130,.3)}.lw-status.contract,.lw-status.accepted{color:var(--coral);background:rgba(224,122,95,.1);border-color:rgba(224,122,95,.3)}.lw-status.closed{color:var(--muted)}.lw-status.archived{color:var(--muted);background:var(--card-hi);border-style:dashed}.lw-status-divergence{display:inline-flex;align-items:center;gap:5px;width:max-content;border-radius:999px;padding:4px 8px;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;border:1px solid rgba(219,149,79,.4);background:rgba(219,149,79,.1);color:#a4612c}.lw-status-stack{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.lw-status-divergence i{font-size:13.5px}.lw-empty{padding:36px;text-align:center;color:var(--muted);font-size:14px}.lw-empty i{display:block;font-size:26px;margin-bottom:8px;color:var(--coral)}
.lw-portfolio-card .lw-table{table-layout:fixed}.lw-col-property{width:23%}.lw-col-status{width:14%}.lw-col-price{width:14%}.lw-col-activity{width:16%}.lw-col-next{width:20%}.lw-col-performance{width:13%}
.lw-record-page{padding-top:0}.lw-record-head{margin-bottom:0}.lw-record-title{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.lw-eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--coral);font-weight:800;display:block;margin-bottom:5px}.lw-record-head-actions{display:flex;align-items:center;gap:8px}.lw-inner-tabs{display:flex;align-items:flex-end;gap:20px;border-bottom:1px solid var(--border);margin:17px 0 15px;overflow:auto}.lw-inner-tabs button{position:relative;border:0;background:transparent;color:var(--dim);font:inherit;font-size:14.5px;font-weight:800;padding:10px 0 12px;cursor:pointer;white-space:nowrap}.lw-inner-tabs button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:transparent}.lw-inner-tabs button.active{color:var(--ink)}.lw-inner-tabs button.active:after{background:var(--coral)}.lw-inner-tabs button>span{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;margin-left:5px;border-radius:999px;background:rgba(224,122,95,.12);color:var(--coral);font-size:13px}.lw-record-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);gap:12px}.lw-main-column,.lw-side-column{display:flex;flex-direction:column;gap:12px;min-width:0}.lw-record-grid.lw-three-col{grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(230px,.85fr)}.lw-mid-column{display:flex;flex-direction:column;gap:12px;min-width:0}.lw-listing-hero{display:flex;gap:18px;padding:16px;align-items:stretch;flex-wrap:wrap}.lw-hero-photo{width:230px;height:170px;border-radius:9px;overflow:hidden;position:relative;flex:0 0 auto;background:linear-gradient(135deg,var(--coral-50),var(--coral-100));display:flex;align-items:center;justify-content:center}.lw-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.lw-hero-photo>i{font-size:40px;color:rgba(216,90,48,.35)}.lw-hero-photo>.lw-status{position:absolute;top:10px;left:10px;background:#fff;box-shadow:0 1px 6px rgba(15,23,32,.18);border-color:rgba(15,23,32,.08);z-index:1}.lw-hero-info{flex:1 1 220px;min-width:200px;display:flex;flex-direction:column;justify-content:center;gap:4px}.lw-hero-info h2{margin:0;font-size:30px;line-height:1.15;font-weight:850;letter-spacing:-.02em;color:var(--ink)}.lw-hero-info>p{margin:0;font-size:14px;color:var(--dim)}.lw-hero-price{font-family:'Inter',sans-serif;font-size:25px;font-weight:700;color:var(--ink);margin-top:5px}.lw-hero-specs{font-size:14px;font-weight:700;color:var(--dim);margin:0}.lw-hero-meta{font-size:13.5px;color:var(--muted);margin:0}.lw-hero-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;flex:0 0 230px}.lw-hero-stat{background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:6px;justify-content:center}.lw-hero-stat i{color:var(--coral);font-size:15px}.lw-hero-stat strong{font-size:14px;font-weight:800;color:var(--ink);display:block;line-height:1.3}.lw-hero-stat span{font-size:13px;color:var(--muted);display:block;margin-top:2px;text-transform:uppercase;letter-spacing:.04em}.lw-hero-actions{flex:0 0 auto;display:flex;align-items:flex-start}.lw-listing-hero{margin-bottom:14px}.lw-checklist{flex:1;display:flex;flex-direction:column;gap:9px}.lw-checklist-item{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13.5px;padding-bottom:9px;border-bottom:1px solid var(--border)}.lw-checklist-item:last-child{border-bottom:0;padding-bottom:0}.lw-checklist-item>span:first-child{color:var(--ink);font-weight:600}.lw-checklist-item .state{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:800;white-space:nowrap}.lw-checklist-item .state.done{color:#357d74;font-size:15px}.lw-checklist-item .state.progress{color:#a4612c}.lw-checklist-item .state.needed{color:var(--coral)}.lw-checklist-item .state.notstarted{color:var(--muted)}.lw-checklist-cta{background:none;border:0;padding:0;font:inherit;cursor:pointer}.lw-checklist-cta .cta-label{text-decoration:underline;text-underline-offset:2px}.lw-track-banner{display:flex;align-items:center;gap:7px;background:rgba(77,139,130,.1);border:1px solid rgba(77,139,130,.3);color:#357d74;border-radius:8px;padding:9px 11px;font-size:13.5px;font-weight:700;margin-top:13px}.lw-activity-card{background:#FDEFEB;border-color:var(--coral-200)}.lw-activity-list{display:flex;flex-direction:column;gap:14px}.lw-activity-item{position:relative;display:flex;gap:10px;align-items:flex-start}.lw-activity-item:not(:last-child):before{content:'';position:absolute;left:16px;top:34px;bottom:-14px;width:1px;background:rgba(216,90,48,.22)}.lw-activity-item .lw-avatar{position:relative;z-index:1;font-weight:850}.lw-activity-item>div{flex:1;min-width:0}.lw-activity-item>div strong{display:block;font-size:13.5px}.lw-activity-item>div p{margin:2px 0 0;font-size:13.5px;color:var(--dim);line-height:1.5}.lw-activity-item>div span{display:block;font-size:13px;color:var(--muted);margin-top:3px}.lw-secondary-btn.coral{background:#fff;border-color:var(--coral-200);color:var(--coral)}.lw-secondary-btn.coral:hover{background:var(--coral-50);border-color:var(--coral)}.lw-priority,.lw-linked-flow{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--card-hi)}
.lw-attention-table{width:100%;border-collapse:collapse}
.lw-attention-table td{padding:12px 13px;border-bottom:1px solid var(--border);vertical-align:middle}
.lw-attention-table tbody tr{cursor:pointer;transition:.15s ease}
.lw-attention-table tbody tr:last-child td{border-bottom:0}
.lw-attention-table tbody tr:nth-child(odd){background:#fff}
.lw-attention-table tbody tr:nth-child(even){background:#fff8f5}
.lw-attention-table tbody tr:hover{background:rgba(224,122,95,.16)}
.lw-attention-table td.lw-attention-action{width:110px;text-align:right}
.lw-attention-cell{display:flex;align-items:center;gap:11px}
.lw-attention-cell>div{flex:1;min-width:0}
.lw-attention-cell strong{display:block;font-size:14px}
.lw-attention-cell p{display:block;font-size:13px;color:var(--dim);margin:3px 0 0}
.lw-priority-icon{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;background:rgba(224,122,95,.12);color:var(--coral);border-radius:8px;flex:0 0 auto}.lw-priority>div,.lw-linked-flow>div{flex:1}.lw-priority strong,.lw-linked-flow strong{display:block;font-size:14px}.lw-priority p,.lw-linked-flow span{display:block;font-size:13px;color:var(--dim);margin:3px 0 0}.lw-linked-flow{margin-top:9px}.lw-linked-flow>i{color:var(--coral);font-size:18px}.lw-health-row{display:flex;align-items:center;gap:25px}.lw-health-ring{--value:75;width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;background:conic-gradient(var(--teal-500) calc(var(--value)*1%),var(--card-hi) 0)}.lw-health-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:var(--card)}.lw-health-ring strong,.lw-health-ring span{position:relative;z-index:1}.lw-health-ring strong{font-family:Georgia,serif;font-size:18px;margin-top:6px}.lw-health-ring span{font-size:11px;color:var(--dim);text-align:center}.lw-health-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;flex:1}.lw-health-metrics>div,.lw-performance-metric{background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:11px}.lw-health-metrics span,.lw-performance-metric span{display:block;font-size:13px;color:var(--dim)}.lw-health-metrics strong,.lw-performance-metric strong{display:block;font-family:Georgia,serif;font-size:20px;margin-top:4px}.lw-key-value{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border)}.lw-key-value:last-of-type{border-bottom:0}.lw-key-value span{font-size:13px;color:var(--dim)}.lw-key-value strong{font-size:13.5px;text-align:right;line-height:1.4}.lw-summary-copy{font-size:14px;line-height:1.65;color:var(--dim);margin:0 0 12px}
.lw-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lw-field{border:1px solid var(--border);border-radius:8px;padding:10px 11px;background:var(--card-hi);transition:.15s ease}.lw-field:focus-within{border-color:var(--coral);box-shadow:0 0 0 2px rgba(224,122,95,.08)}.lw-field span{display:block;font-size:13px;color:var(--dim);margin-bottom:5px}.lw-field div{outline:0;font-size:14px;font-weight:700;min-height:18px}.lw-field-link{display:inline-flex;align-items:center;gap:5px;margin-top:7px;font-size:13px;font-weight:700;color:var(--coral);text-decoration:none}.lw-field-link i{font-size:14px}.lw-field-link:hover{text-decoration:underline}.lw-section-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.lw-work-list,.lw-feedback-list,.lw-offer-list,.lw-update-list,.lw-recommendation-list{display:flex;flex-direction:column;gap:8px}.lw-work-row{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--border);border-radius:8px}.lw-work-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:rgba(224,122,95,.1);color:var(--coral)}.lw-work-row>div{flex:1}.lw-work-row strong{font-size:14px}.lw-work-row p{font-size:13px;color:var(--dim);margin:3px 0 0}.lw-work-status{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--card-hi);border:1px solid var(--border);font-size:13px;color:var(--dim);white-space:nowrap}.lw-idea-tag{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);border:1px solid var(--border);padding:2px 6px;border-radius:999px;margin-left:5px;vertical-align:middle}.lw-work-row-idea{border-style:dashed;background:transparent}.lw-work-icon-brand{background:var(--card-hi)}.lw-work-icon-brand img,.lw-work-icon-brand svg{width:17px;height:17px}.lw-related-note{display:flex;align-items:flex-start;gap:10px;padding:12px;background:rgba(224,122,95,.07);border:1px solid rgba(224,122,95,.2);border-radius:8px;margin-top:12px}.lw-related-note>i{font-size:18px;color:var(--coral)}.lw-related-note>div{flex:1}.lw-related-note strong{font-size:13.5px}.lw-related-note p{font-size:13px;line-height:1.5;color:var(--dim);margin:3px 0 0}.lw-feedback-list article{padding:12px;border:1px solid var(--border);border-radius:8px}.lw-feedback-list article>div{display:flex;justify-content:space-between;gap:10px}.lw-feedback-list strong{font-size:13.5px}.lw-feedback-list span{font-size:13px;color:var(--muted)}.lw-feedback-list p{font-size:14px;line-height:1.55;color:var(--dim);margin:8px 0 0}.lw-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.lw-performance-metric small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.lw-chart-preview{display:flex;align-items:flex-end;gap:18px;margin-top:12px;padding:16px;background:var(--card-hi);border:1px solid var(--border);border-radius:8px}.lw-chart-bars{height:90px;display:flex;align-items:flex-end;gap:8px;flex:1;border-bottom:1px solid var(--border)}.lw-chart-bars span{flex:1;max-width:55px;background:linear-gradient(to top,rgba(224,122,95,.35),var(--coral));border-radius:3px 3px 0 0}.lw-performance-platforms{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.lw-performance-platform-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:var(--card);border:1px solid var(--border);border-radius:6px;font-size:13.5px}.lw-performance-platform-row span{color:var(--dim);font-weight:600}.lw-performance-platform-row strong{font-weight:700;font-size:13.5px}.lw-chart-preview>div:last-child{width:210px}.lw-chart-preview strong{font-size:14px}.lw-chart-preview p{font-size:13px;color:var(--dim);line-height:1.5}.lw-update-draft{width:100%;min-height:170px;resize:vertical;background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:12px;color:var(--ink);font:inherit;font-size:14px;line-height:1.65;outline:0}.lw-update-draft:focus{border-color:var(--coral)}.lw-update-meta{font-size:13.5px;color:var(--muted);margin:0 0 8px}.lw-hero-stat-active{background:var(--teal-100)}.lw-hero-stat-pending{background:rgba(224,122,95,.1)}.lw-hero-stat-submitted{background:rgba(219,149,79,.11)}.lw-recommendation{padding:12px;border:1px solid rgba(224,122,95,.25);background:rgba(224,122,95,.07);border-radius:8px;margin-bottom:12px}.lw-recommendation i{font-size:20px;color:var(--coral)}.lw-recommendation strong{display:block;font-size:14px;margin-top:8px}.lw-recommendation p{font-size:13.5px;color:var(--dim);line-height:1.55;margin:5px 0 0}
.lw-page-tabs{margin-top:0;margin-bottom:14px}.lw-offers-body,.lw-concierge-body{min-height:420px}.lw-offer-row{display:grid;grid-template-columns:22px 58px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid var(--border);border-radius:9px;padding:13px}.lw-compare-check{padding-top:7px}.lw-compare-check input{accent-color:var(--coral)}.lw-offer-score{width:51px;height:51px;border-radius:9px;background:rgba(224,122,95,.1);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--coral)}.lw-offer-score strong{font-family:Georgia,serif;font-size:19px}.lw-offer-score span,.lw-offer-score small{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em}.lw-offer-main>div:first-child{display:flex;justify-content:space-between;gap:12px}.lw-offer-main>div strong{font-size:14px}.lw-offer-main>div span{font-size:13px;color:var(--muted)}.lw-offer-main>p{font-size:13.5px;color:var(--dim);line-height:1.5;margin:6px 0 10px}.lw-offer-terms{display:grid;grid-template-columns:1fr 1.4fr .7fr 1.8fr;gap:7px}.lw-offer-terms span{background:var(--card-hi);border-radius:6px;padding:7px}.lw-offer-terms small,.lw-offer-terms strong{display:block}.lw-offer-terms small{font-size:11.5px;color:var(--muted);margin-bottom:3px}.lw-offer-terms strong{font-size:13px;line-height:1.35}.lw-offer-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}.lw-compare-scroll{overflow:auto}.lw-compare-table{width:100%;border-collapse:collapse;min-width:720px}.lw-compare-table th,.lw-compare-table td{padding:12px;border:1px solid var(--border);font-size:13.5px;text-align:left;vertical-align:top}.lw-compare-table th{background:var(--card-hi);font-size:13.5px}.lw-compare-table th:first-child{background:var(--coral-300)}.lw-compare-table th small{display:block;color:var(--coral);margin-top:4px}.lw-compare-table td:first-child{color:var(--ink);font-weight:800;width:150px;background:var(--coral-300)}.lw-decision-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px;margin-bottom:8px}.lw-decision-card>div{flex:1}.lw-decision-card>div strong{font-size:14px}.lw-decision-card>div p{font-size:13px;color:var(--dim);margin:4px 0 0}.lw-recommended{font-size:13px;font-weight:800;color:var(--coral);background:rgba(224,122,95,.1);border-radius:999px;padding:5px 8px}.lw-checklist{display:flex;flex-direction:column;gap:5px}.lw-checklist label{display:flex;align-items:center;gap:8px;padding:9px;background:var(--card-hi);border-radius:7px;font-size:13.5px}.lw-checklist input{accent-color:var(--coral)}.lw-handoff-card{border:1px solid var(--border);border-radius:9px;padding:15px}.lw-handoff-property{display:flex;align-items:center;gap:10px}.lw-handoff-property>div strong,.lw-handoff-property>div span{display:block}.lw-handoff-property>div strong{font-size:14px}.lw-handoff-property>div span{font-size:13px;color:var(--dim);margin-top:3px}.lw-handoff-flow{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;margin:14px 0;background:var(--card-hi);border-radius:8px}.lw-handoff-flow span{padding:7px 10px;border-radius:7px;background:var(--card);border:1px solid var(--border);font-size:13.5px;font-weight:800}.lw-handoff-flow>i{color:var(--coral)}.lw-handoff-flow.large span{padding:12px}.lw-handoff-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}
.lw-offer-context{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:13px 15px;background:#fff;border:1px solid var(--border);border-radius:10px}.lw-offer-context-property{display:flex;align-items:center;gap:10px;min-width:230px}.lw-offer-context-property>div small,.lw-offer-context-property>div strong,.lw-offer-context-property>div span{display:block}.lw-offer-context-property>div small{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--coral)}.lw-offer-context-property>div strong{font-size:14px;margin-top:2px}.lw-offer-context-property>div span{font-size:13px;color:var(--dim);margin-top:3px}.lw-offer-context-stats{display:flex;align-items:stretch;gap:8px;flex:1}.lw-offer-context-stats>span{min-width:92px;padding:8px 10px;background:var(--card-hi);border:1px solid var(--border);border-radius:7px}.lw-offer-context-stats small,.lw-offer-context-stats strong{display:block}.lw-offer-context-stats small{font-size:11.5px;color:var(--muted)}.lw-offer-context-stats strong{font-size:13.5px;margin-top:3px}.lw-offer-context-actions{display:flex;align-items:center;gap:7px}.lw-offer-listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.lw-offer-listing-card{display:grid;grid-template-columns:34px minmax(0,1fr) 72px 16px;align-items:center;gap:10px;padding:13px;background:#fff;border:1px solid var(--border);border-radius:9px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:.15s ease}.lw-offer-listing-card:hover{border-color:var(--coral);box-shadow:0 5px 18px rgba(35,39,42,.07);transform:translateY(-1px)}.lw-offer-listing-card>div:nth-child(2) strong,.lw-offer-listing-card>div:nth-child(2) span,.lw-offer-listing-card>div:nth-child(2) small{display:block}.lw-offer-listing-card>div:nth-child(2) strong{font-size:14px}.lw-offer-listing-card>div:nth-child(2) span{font-size:13px;color:var(--dim);margin-top:3px}.lw-offer-listing-card>div:nth-child(2) small{font-size:11.5px;color:var(--muted);margin-top:5px}.lw-offer-listing-card>i{color:var(--muted)}.lw-offer-listing-count{text-align:right}.lw-offer-listing-count strong{display:block;font-size:20px;color:var(--coral)}.lw-offer-listing-count span,.lw-offer-listing-count small{display:block;font-size:11.5px;color:var(--dim)}.lw-offer-listing-count small{margin-top:3px;color:var(--muted)}.lw-offer-review-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:13px;border-top:1px solid var(--border)}.lw-offer-review-foot>span{display:flex;align-items:center;gap:6px;color:var(--dim);font-size:13px}.lw-offer-review-foot>span i{color:var(--coral)}.lw-empty strong,.lw-empty span{display:block}.lw-empty strong{font-size:14px;color:var(--ink);margin-bottom:4px}.lw-empty span{font-size:13px;margin-bottom:12px}.lw-empty .lw-primary-btn{margin:12px auto 0}.lw-import-drop{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:18px;border:1px dashed var(--coral);border-radius:9px;background:rgba(224,122,95,.05);text-align:center;cursor:pointer}.lw-import-drop>i{font-size:27px;color:var(--coral)}.lw-import-drop strong{font-size:14px}.lw-import-drop span{font-size:13px;color:var(--dim)}.lw-import-drop input{margin-top:8px;font:inherit;font-size:13px}.lw-handoff-summary{padding:0 2px}
.lw-concierge-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;border:1px solid rgba(224,122,95,.25);background:rgba(224,122,95,.07);border-radius:9px;margin-bottom:14px}.lw-concierge-summary>div{display:flex;align-items:center;gap:11px}.lw-summary-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:var(--coral);color:#fff;border-radius:9px}.lw-concierge-summary strong{font-size:14px}.lw-concierge-summary p{font-size:13px;color:var(--dim);margin:4px 0 0}.lw-concierge-row{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(180px,.75fr) auto 30px;gap:10px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:8px;margin-bottom:8px}.lw-avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(224,122,95,.12);color:var(--coral);font-size:13.5px;font-weight:900}.lw-concierge-row>div strong,.lw-concierge-row>div span,.lw-concierge-row>div p{display:block}.lw-concierge-row>div strong{font-size:14px}.lw-concierge-row>div span{font-size:13px;color:var(--muted);margin-top:2px}.lw-concierge-row>div p{font-size:13px;color:var(--dim);margin:5px 0 0}.lw-concierge-next small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:4px}.lw-concierge-next strong{font-size:13px!important}.lw-prep-board{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lw-prep-column{background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:10px}.lw-prep-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px}.lw-prep-title strong{font-size:13.5px}.lw-prep-title span{font-size:13px;background:var(--card);border-radius:999px;padding:3px 6px}.lw-prep-column article{background:var(--card);border:1px solid var(--border);border-radius:7px;padding:10px;margin-top:7px}.lw-prep-column article strong,.lw-prep-column article span,.lw-prep-column article small{display:block}.lw-prep-column article strong{font-size:13.5px}.lw-prep-column article span{font-size:13px;color:var(--dim);margin-top:5px}.lw-prep-column article small{font-size:11.5px;color:var(--coral);margin-top:5px}.lw-readiness-list{display:flex;flex-direction:column;gap:10px}.lw-readiness-item{display:grid;grid-template-columns:200px 1fr 38px;align-items:center;gap:10px}.lw-readiness-item>div:first-child strong,.lw-readiness-item>div:first-child span{display:block}.lw-readiness-item>div:first-child strong{font-size:13.5px}.lw-readiness-item>div:first-child span{font-size:13px;color:var(--dim);margin-top:3px}.lw-readiness-item>strong{font-size:13px;text-align:right}.lw-progress{height:7px;border-radius:999px;background:var(--card-hi);overflow:hidden}.lw-progress span{display:block;height:100%;background:var(--coral);border-radius:inherit}.lw-update-list article{border:1px solid var(--border);border-radius:9px;padding:13px}.lw-update-head{display:flex;align-items:center;gap:9px}.lw-update-head>div{flex:1}.lw-update-head strong,.lw-update-head span{display:block}.lw-update-head strong{font-size:14px}.lw-update-head span{font-size:13px;color:var(--muted);margin-top:2px}.lw-update-list article>p{font-size:14px;color:var(--dim);line-height:1.6;margin:11px 0}.lw-update-list article>div:last-child{display:flex;justify-content:flex-end;gap:7px}.lw-recommendation-card{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--border);border-radius:8px}.lw-priority-label{font-size:13px;text-align:center;font-weight:900;text-transform:uppercase;border-radius:999px;padding:5px 7px}.lw-priority-label.high{color:var(--coral);background:rgba(224,122,95,.12)}.lw-priority-label.medium{color:#a4612c;background:rgba(219,149,79,.12)}.lw-recommendation-card>div span,.lw-recommendation-card>div strong,.lw-recommendation-card>div p{display:block}.lw-recommendation-card>div span{font-size:13px;color:var(--muted)}.lw-recommendation-card>div strong{font-size:14px;margin-top:3px}.lw-recommendation-card>div p{font-size:13px;color:var(--dim);line-height:1.5;margin:4px 0 0}
.lw-modal-overlay{position:fixed;inset:0;z-index:9000;background:rgba(25,29,32,.48);display:flex;align-items:center;justify-content:center;padding:20px}.lw-modal{width:min(560px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 22px 70px rgba(0,0,0,.25)}.lw-modal-head,.lw-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;flex:0 0 auto}.lw-modal-head{border-bottom:1px solid var(--border)}.lw-modal-foot{border-top:1px solid var(--border);justify-content:flex-end}.lw-modal-head h3{font-size:16px;margin:0}.lw-modal-head p{font-size:13.5px;color:var(--dim);margin:3px 0 0}.lw-modal-body{padding:16px;overflow-y:auto;flex:1 1 auto;min-height:0}.lw-modal-body>p{font-size:14px;color:var(--dim);line-height:1.65}.lw-toast{position:fixed;right:24px;bottom:24px;z-index:9500;background:var(--ink);color:var(--bg);border-radius:8px;padding:11px 14px;font-size:13.5px;font-weight:700;box-shadow:0 10px 35px rgba(0,0,0,.22)}
@media(max-width:980px){.lw-stats,.lw-performance-grid{grid-template-columns:repeat(2,1fr)}.lw-record-grid{grid-template-columns:1fr}.lw-record-grid.lw-three-col{grid-template-columns:1fr}.lw-offer-context{align-items:stretch;flex-wrap:wrap}.lw-offer-context-stats{order:3;width:100%}.lw-offer-row{grid-template-columns:22px 52px 1fr}.lw-offer-actions{grid-column:3;flex-direction:row}.lw-offer-terms{grid-template-columns:repeat(2,1fr)}.lw-prep-board{grid-template-columns:1fr}.lw-concierge-row{grid-template-columns:34px 1fr auto}.lw-concierge-next{grid-column:2}.lw-concierge-row>.lw-icon-btn{grid-column:3;grid-row:1}.lw-work-status{grid-column:3;grid-row:2}.lw-recommendation-card{grid-template-columns:55px 1fr}.lw-recommendation-card button{grid-column:2;width:max-content}}
/* 2026-09-28 (Mark): listing detail overview -- the address/price/specs
 * hero card gets a light gray background to set it apart from the white
 * page background. Scoped to #tab-listing-portfolio (not a bare
 * .lw-listing-hero rule) since the Transaction Coordinator's Lone Wolf
 * detail page reuses the same class for its own property card and
 * should keep its existing white background. */
#tab-listing-portfolio .lw-listing-hero{background:var(--mid)}
@media(max-width:680px){.lw-page{padding:0 12px 24px}.lw-page-head,.lw-record-title,.lw-concierge-summary{flex-direction:column}.lw-page-head .lw-primary-btn,.lw-concierge-summary>.lw-secondary-btn{width:100%}.lw-stats{grid-template-columns:1fr 1fr}.lw-portfolio-actions{align-items:stretch;flex-direction:column}.lw-portfolio-actions .lw-primary-btn{width:100%}.lw-toolbar{align-items:stretch}.lw-search{min-width:0;max-width:none}.lw-view-switch{overflow:auto}.lw-inner-tabs{gap:15px}.lw-offer-listing-grid{grid-template-columns:1fr}.lw-offer-context-stats{display:grid;grid-template-columns:1fr 1fr}.lw-offer-context-actions{width:100%}.lw-offer-context-actions button{flex:1}.lw-offer-review-foot{align-items:stretch;flex-direction:column}.lw-field-grid,.lw-performance-grid,.lw-health-metrics,.lw-handoff-terms{grid-template-columns:1fr}.lw-health-row{align-items:flex-start}.lw-offer-row{grid-template-columns:20px 48px 1fr;padding:10px}.lw-offer-main>div:first-child{flex-direction:column}.lw-offer-terms{grid-template-columns:1fr}.lw-chart-preview{flex-direction:column;align-items:stretch}.lw-chart-preview>div:last-child{width:auto}.lw-readiness-item{grid-template-columns:1fr 42px}.lw-readiness-item>.lw-progress{grid-column:1}.lw-handoff-flow{flex-wrap:wrap}.lw-record-head-actions{width:100%}.lw-recommendation-card{grid-template-columns:1fr}.lw-recommendation-card button{grid-column:1;width:100%}.lw-listing-hero{flex-direction:column}.lw-hero-stats{flex:0 0 auto;width:100%}.lw-task-row{flex-wrap:wrap}.lw-task-row>div{flex:1 1 calc(100% - 40px)}.lw-task-row .lw-task-due{margin-left:auto}}

/* Keep all display typography consistent with the application's Inter system. */
.lw-health-ring strong,
.lw-health-metrics strong,
.lw-performance-metric strong,
.lw-offer-score strong {
  font-family: inherit;
  font-weight: 850;
}

/* Listing-first Offers workspace */
.lw-offer-overview {
  padding: 15px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.lw-offer-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}
.lw-offer-overview-head h3 {
  margin: 3px 0 0;
  font-size:15px;
}
.lw-offer-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.lw-offer-alert {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lw-offer-alert:hover { border-color: var(--coral); }
.lw-offer-alert.urgent { border-color: rgba(224,122,95,.42); background: rgba(224,122,95,.045); }
.lw-offer-alert { background: #FEF7F5; border-color: var(--coral-200); }
.lw-offer-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-top: 9px; }
.lw-offer-stat-tile { display: flex; align-items: center; gap: 10px; padding: 12px; background: #FEF7F5; border: 1px solid var(--coral-200); border-radius: 8px; }
.lw-offer-stat-tile i { font-size:18px; color: var(--coral); flex: 0 0 auto; }
.lw-offer-stat-tile strong { display: block; font-family: inherit; font-size:19px; font-weight: 850; color: var(--ink); }
.lw-offer-stat-tile span { display: block; font-size:13px; color: var(--dim); margin-top: 2px; }
.lw-offer-bucket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 10px; }
.lw-offer-bucket { background: #FEF7F5; border: 1px solid var(--coral-200); border-radius: 9px; padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.lw-offer-bucket-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lw-offer-bucket-head > span:first-child { font-size:13px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.lw-offer-bucket-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--coral-200); color: var(--coral); font-size:13.5px; font-weight: 850; }
.lw-offer-bucket-count.due { background: rgba(224,122,95,.22); color: var(--coral); }
.lw-offer-bucket-count.accepted { background: rgba(77,139,130,.18); color: #357d74; }
.lw-offer-bucket-empty { font-size:13px; color: var(--muted); padding: 6px 2px; }
.lw-offer-bucket-card { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: .15s ease; }
.lw-offer-bucket-card:hover { border-color: var(--coral); box-shadow: 0 4px 14px rgba(35,39,42,.08); transform: translateY(-1px); }
.lw-offer-bucket-card > div { flex: 1; min-width: 0; }
.lw-offer-bucket-card strong { display: block; font-size:13.5px; }
.lw-offer-bucket-card > div > span { display: block; font-size:13px; color: var(--dim); margin-top: 2px; }
.lw-offer-bucket-card small { display: block; font-size:13px; color: var(--muted); margin-top: 4px; }
.lw-offer-bucket-card small.due { color: var(--coral); font-weight: 800; }
.lw-offer-bucket-card > i { color: var(--muted); flex: 0 0 auto; font-size:14px; }
.lw-offer-activity-log { margin-top: 14px; }
.lw-offer-log-list { display: flex; flex-direction: column; }
.lw-offer-log-row { display: grid; grid-template-columns: 26px minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.lw-offer-log-row:last-child { border-bottom: 0; }
.lw-offer-log-row strong { font-size:13.5px; }
.lw-offer-log-row > span { font-size:13.5px; color: var(--dim); }
.lw-offer-log-row > span.dim { color: var(--muted); }
.lw-offer-log-row > span.time { text-align: right; color: var(--muted); font-size:13px; }
.lw-offer-log-icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size:14px; background: var(--card-hi); color: var(--dim); }
.lw-offer-log-icon.accepted { background: rgba(77,139,130,.16); color: #357d74; }
.lw-offer-log-icon.new { background: rgba(224,122,95,.14); color: var(--coral); }
.lw-offer-log-icon.due { background: rgba(224,122,95,.14); color: var(--coral); }
.lw-offer-log-icon.ready { background: rgba(124,92,191,.16); color: #6a4ec2; }

.lw-offer-alert-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(224,122,95,.11);
  color: var(--coral);
  font-size:18px;
}
.lw-offer-alert small,.lw-offer-alert strong,.lw-offer-alert em { display: block; }
.lw-offer-alert small { color: var(--coral); font-size:11.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.lw-offer-alert strong { margin-top: 2px; font-size:14px; }
.lw-offer-alert em { margin-top: 3px; color: var(--dim); font-size:13px; font-style: normal; line-height: 1.35; }
.lw-offer-alert>i { color: var(--muted); }
.lw-offer-snapshot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.lw-offer-snapshot>span { padding: 10px 12px; border-right: 1px solid var(--border); }
.lw-offer-snapshot>span:last-child { border-right: 0; }
.lw-offer-snapshot small,.lw-offer-snapshot strong { display: block; }
.lw-offer-snapshot small { color: var(--dim); font-size:13px; }
.lw-offer-snapshot strong { margin-top: 3px; font-size:18px; }
.lw-offer-stage-nav {
  display: flex;
  align-items: stretch;
  margin: 0 0 14px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.lw-offer-stage-nav button {
  position: relative;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 43px;
  padding: 8px 11px;
  border: 0;
  border-right: 1px solid var(--border);
  background: #fff;
  color: var(--dim);
  font: inherit;
  font-size:13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.lw-offer-stage-nav button:last-child { border-right: 0; }
.lw-offer-stage-nav button span {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card-hi);
  color: var(--muted);
  font-size:11.5px;
}
.lw-offer-stage-nav button:hover,.lw-offer-stage-nav button.active { color: var(--coral); }
.lw-offer-stage-nav button.active:after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: -1px;
  left: 9px;
  height: 2px;
  background: var(--coral);
}
.lw-offer-stage-nav button.active span { background: var(--coral); color: #fff; }
.lw-offer-inbox-list { display: flex; flex-direction: column; gap: 8px; }
.lw-inbox-offer {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 145px auto auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.lw-inbox-offer-main>div { display: flex; justify-content: space-between; gap: 12px; }
.lw-inbox-offer-main strong { font-size:14px; }
.lw-inbox-offer-main span { color: var(--muted); font-size:13px; }
.lw-inbox-offer-main p { margin: 4px 0 0; color: var(--dim); font-size:13px; line-height: 1.45; }
.lw-inbox-offer-meta small,.lw-inbox-offer-meta strong,.lw-inbox-offer-meta span { display: block; }
.lw-inbox-offer-meta small { color: var(--muted); font-size:11.5px; }
.lw-inbox-offer-meta strong { margin-top: 2px; font-size:13px; }
.lw-inbox-offer-meta span { margin-top: 3px; color: var(--dim); font-size:11.5px; }
.lw-response-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.lw-response-actions button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 1px 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lw-response-actions button:hover { border-color: var(--coral); }
.lw-response-actions i { grid-row: 1 / 3; color: var(--coral); font-size:20px; }
.lw-response-actions strong { font-size:13.5px; }
.lw-response-actions span { color: var(--dim); font-size:11.5px; }
.lw-response-list-head { margin-top: 18px; }
.lw-negotiation-history article { position: relative; padding: 0 0 13px 17px; border-left: 1px solid var(--border); }
.lw-negotiation-history article:before { content: ""; position: absolute; top: 2px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.lw-negotiation-history span,.lw-negotiation-history strong,.lw-negotiation-history p { display: block; }
.lw-negotiation-history span { color: var(--muted); font-size:11.5px; }
.lw-negotiation-history strong { margin-top: 3px; font-size:13.5px; }
.lw-negotiation-history p { margin: 3px 0 0; color: var(--dim); font-size:13px; }
.lw-offer-head-actions { display: flex; align-items: center; gap: 7px; }
.lw-automation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--dim);
  font: inherit;
  font-size:13px;
  font-weight: 800;
  cursor: pointer;
}
.lw-automation-link:hover { border-color: var(--coral); color: var(--coral); }
.lw-note-modal { width: min(390px,100%); }
.lw-note-modal .lw-modal-body p { margin: 0; color: var(--ink); font-size:14px; }
.lw-draft-table-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lw-draft-table-actions>span:first-child { min-width: 0; }
.lw-preparing-draft-row .nl-draft-menu { top: 28px; }
.lw-draft-actions-popover { position: fixed; z-index: 9600; width: 150px; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 28px rgba(32,37,41,.16); }
.lw-draft-actions-popover button { display: flex; align-items: center; gap: 7px; width: 100%; padding: 8px; background: transparent; border: 0; border-radius: 6px; color: var(--ink); font: inherit; font-size:13px; font-weight: 750; text-align: left; cursor: pointer; }
.lw-draft-actions-popover button:hover { background: var(--off-white); }
.lw-draft-actions-popover button>i { color: var(--coral); font-size:15px; }
.lw-draft-actions-popover button.danger { color: #D85A30; }
.lw-draft-actions-popover button.danger>i { color: #D85A30; }

@media(max-width:980px) {
  .lw-inbox-offer { grid-template-columns: 34px minmax(0,1fr) auto; }
  .lw-inbox-offer-meta { grid-column: 2; }
  .lw-inbox-offer>.lw-status,.lw-inbox-offer>.lw-secondary-btn { grid-column: 3; }
}
@media(max-width:680px) {
  .lw-offer-overview-grid,.lw-response-actions { grid-template-columns: 1fr; }
  .lw-offer-snapshot { grid-template-columns: repeat(2,1fr); }
  .lw-offer-stats { grid-template-columns: 1fr 1fr; }
  .lw-offer-log-row { grid-template-columns: 22px 1fr; row-gap: 3px; }
  .lw-offer-log-row > span.time { grid-column: 2; text-align: left; }
  .lw-offer-snapshot>span:nth-child(2) { border-right: 0; }
  .lw-offer-snapshot>span:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .lw-inbox-offer { grid-template-columns: 34px minmax(0,1fr); }
  .lw-inbox-offer-meta,.lw-inbox-offer>.lw-status,.lw-inbox-offer>.lw-secondary-btn { grid-column: 2; }
  .lw-inbox-offer>.lw-secondary-btn { width: max-content; }
  .lw-offer-head-actions { width: 100%; justify-content: flex-end; }
}

/* Comps tab — nearby listings pulled live from Repliers (2026-08-30). */
.lw-comps-note{font-size:13.5px;color:var(--dim);line-height:1.6;margin:0 0 14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lw-comps-subhead{font-size:13.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:16px 0 8px}
.lw-comps-subhead:first-of-type{margin-top:0}
.lw-comps-list{display:flex;flex-direction:column;gap:7px}
.lw-comp-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1.3fr) 90px 70px;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}
.lw-comp-address{display:flex;flex-direction:column;gap:2px;min-width:0}
.lw-comp-address strong{font-size:14px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-comp-address span{font-size:13px;color:var(--muted)}
.lw-comp-specs{font-size:13.5px;color:var(--dim)}
.lw-comp-price{font-size:14px;font-weight:800;color:var(--coral);text-align:right}
.lw-comp-dom{font-size:13px;color:var(--muted);text-align:right}

/* ───────────────────────────────────────────────────────────────────────
 * Listings Overview redesign (2026-08-30) — attention banner, filter
 * toolbar, sortable list view, and card grid view. Replaces the old flat
 * stat-card row and single-mode table built earlier this session.
 * ─────────────────────────────────────────────────────────────────────── */

.lw-attention-banner{display:flex;align-items:center;gap:22px;background:var(--coral-50);border:1px solid var(--coral-100);border-radius:12px;padding:16px 18px;margin-bottom:14px;color:var(--ink);flex-wrap:wrap}
.lw-attention-items{flex:1;min-width:260px}
.lw-attention-badge{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--coral);margin-bottom:10px}
.lw-attention-badge span{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:var(--coral-500);color:#fff;font-size:13.5px}
.lw-attention-cards{display:flex;flex-direction:row;gap:10px}
.lw-attention-card{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:#fff;border:1px solid var(--coral-100);border-radius:8px;padding:6px 11px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:.15s ease}
.lw-attention-card:hover{box-shadow:0 5px 16px rgba(35,39,42,.18);transform:translateY(-1px)}
.lw-attention-icon{width:38px;height:38px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;background:rgba(224,122,95,.12);color:var(--coral);border-radius:8px;font-size:15px}
.lw-attention-icon.has-photo{padding:0;overflow:hidden;background:var(--card-hi)}
.lw-attention-icon.has-photo img{width:100%;height:100%;object-fit:cover;display:block}
.lw-attention-card>div{flex:1;min-width:0}
.lw-attention-card strong{display:block;font-size:13.5px;color:var(--ink)}
.lw-attention-card span{display:block;font-size:13px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-attention-card>i{color:var(--muted);flex:0 0 auto}.lw-listing-attention{margin-top:0;margin-bottom:0}.lw-listing-attention .lw-attention-card{cursor:pointer}.lw-attention-review-btn{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;background:#fff;border:1px solid var(--coral-200);color:var(--coral);font:inherit;font-size:13.5px;font-weight:800;padding:7px 11px;border-radius:7px;cursor:pointer;transition:.15s ease}.lw-attention-review-btn:hover{background:var(--coral-50);border-color:var(--coral)}.lw-attention-review-btn i{font-size:14px}
.lw-attention-stats{flex:1.2;min-width:280px;display:flex;align-items:center}
.lw-attention-stat{flex:1;min-width:0;padding:2px 18px;border-left:1px solid var(--coral-200);text-align:center}
.lw-attention-stat:first-child{border-left:none;padding-left:0}
.lw-attention-stat span{display:block;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.lw-attention-stat strong{display:block;font-size:22px;font-weight:800;margin-top:5px;color:var(--coral)}
.lw-attention-stat small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.lw-today-pill{display:inline-flex;align-items:center;background:var(--coral);color:#fff;font-size:13px;font-weight:800;padding:3px 7px;border-radius:999px;white-space:nowrap;line-height:1.3}
.lw-meta-coral{color:var(--coral)}

.lw-toolbar-v2{padding:13px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lw-filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.lw-filter-select{height:32px;background:var(--bg);border:1px solid var(--border);border-radius:7px;padding:0 9px;color:var(--dim);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.lw-filter-select:hover{border-color:var(--coral-200)}
.lw-view-toggle{margin-left:auto}
.lw-view-toggle button{display:inline-flex;align-items:center;gap:5px}
.lw-toolbar-v2 .lw-primary-btn{margin-left:8px}

.lw-table-v2 th.lw-sortable{cursor:pointer;user-select:none}
.lw-table-v2 th.lw-sortable:hover{color:var(--coral)}
.lw-table-v2 th.lw-sortable.active{color:var(--coral)}
.lw-sort-arrow{font-size:13px;opacity:.65}
.lw-table-v2 th.lw-sortable.active .lw-sort-arrow{opacity:1}

.lw-health-ring.sm{--value:0;width:44px;height:44px}
.lw-health-ring.sm:before{inset:6px}
.lw-health-ring.sm strong{font-size:11.5px}

.lw-table-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lw-table-foot-tip{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.lw-table-foot-tip i{color:var(--coral)}

.lw-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;padding:13px}
.lw-listing-card{background:var(--card-hi);border:1px solid var(--border);border-radius:10px;overflow:hidden;cursor:pointer;transition:.15s ease;text-align:left}
.lw-listing-card:hover{border-color:var(--coral-200);box-shadow:0 6px 20px rgba(35,39,42,.08);transform:translateY(-1px)}
.lw-card-media{position:relative;overflow:hidden;height:110px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--coral-50),var(--coral-100))}
.lw-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lw-card-media-icon{font-size:36px;color:rgba(216,90,48,.35)}
.lw-card-media>.lw-status{position:absolute;top:9px;left:9px;background:#fff;border-color:rgba(15,23,32,.08);box-shadow:0 1px 6px rgba(15,23,32,.18)}
.lw-icon-btn.on-media{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.85);border:0}
.lw-icon-btn.on-media:hover{background:#fff}
.lw-card-body{padding:12px}
.lw-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.lw-card-heading strong{font-size:14px;display:block}
.lw-card-heading span{font-size:13px;color:var(--muted);display:block;margin-top:2px}
.lw-card-price{color:var(--coral);white-space:nowrap}
.lw-card-meta{font-size:13px;color:var(--dim);margin-top:6px}
.lw-card-stats{display:flex;align-items:center;gap:12px;margin-top:9px;padding-top:9px;border-top:1px solid var(--border);color:var(--dim);font-size:13.5px}
.lw-card-stats span{display:inline-flex;align-items:center;gap:4px}
.lw-card-stats i{color:var(--coral);font-size:14px}
.lw-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}
.lw-card-foot>div small{display:block;font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.lw-card-foot>div strong{display:block;font-size:13.5px;margin-top:3px}
.lw-card-foot>div span{display:block;font-size:13px;margin-top:2px}
.lw-card-foot>div span.coral{color:var(--coral)}
.lw-listing-card.is-draft{background:#fff}.lw-listing-card.is-draft .lw-card-media{background:linear-gradient(135deg,var(--card-hi),var(--border))}
.lw-listing-card.is-draft .lw-card-media-icon{color:rgba(64,64,72,.3)}

@media(max-width:680px){
  .lw-attention-banner{flex-direction:column;align-items:stretch}
  .lw-attention-cards{flex-direction:column}
  .lw-attention-stats{flex-wrap:wrap;gap:10px 0}
  .lw-attention-stat{flex:1 1 40%;border-left:none;padding-left:0}
  .lw-toolbar-v2{flex-direction:column;align-items:stretch}
  /* Previously flex-direction:column + width:100% forced every filter
     dropdown (and the Filters button) onto its own full-width row -- on a
     ~500px phone width that meant 5 stacked rows just for filters before you
     even reached the listings table (found 2026-09-05, Mark: "compress...
     so you can fit multiple pulldown menu buttons on one line"). Keeping
     the row's own flex-wrap (already set at the base, non-mobile rule above)
     and giving each select a ~50% flex-basis instead lets two sit side by
     side per row, wrapping to a 3rd/4th row only as needed -- no change to
     desktop, which already has room for all of them on one line. */
  .lw-filter-select{flex:1 1 calc(50% - 4px);min-width:130px;width:auto}
  .lw-view-toggle{margin-left:0}
  .lw-toolbar-v2 .lw-primary-btn{margin-left:0;width:100%}
  /* Transactions' toolbar packs its New transaction button into the same
     flex-wrap row as the Lone Wolf sync indicator and the Test sync/Weekly
     digest/Review timeline/Offer letter secondary buttons (.tc-toolbar-actions
     in js/transaction-coordinator/dashboard.js), unlike Listings' primary
     button which sits alone on its own row -- so the shared width:100% rule
     above knocked New transaction onto a lonely full-width row of its own
     instead of letting it wrap in naturally alongside the others (found
     2026-09-05, Mark: "the new transaction button should be more narrow, so
     we can fit in-line above it"). Scoped to .tc-toolbar-actions specifically
     so Listings' New listing button is untouched. */
  .tc-toolbar-actions .lw-primary-btn{width:auto}
  .lw-card-grid{grid-template-columns:1fr}
}

/* Seller Concierge (Sage) additions -- glance stats, donut charts, task
   groups, bid comparison, calendar week grid, inbox dual-pane, reports. */
.lw-glance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.lw-glance-stat{background:var(--card-hi);border:1px solid var(--border);border-radius:9px;padding:14px 15px}
.lw-glance-stat strong{display:block;font-size:26px;line-height:1}
.lw-glance-stat span{display:block;font-size:13.5px;color:var(--ink);font-weight:700;margin-top:7px}
.lw-glance-stat small{display:block;font-size:13px;color:var(--dim);margin-top:2px}

.lw-donut-wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.lw-donut{width:120px;height:120px;border-radius:50%;position:relative;flex:0 0 auto}
.lw-donut-hole{position:absolute;inset:20px;border-radius:50%;background:var(--card)}
.lw-donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:13.5px;color:var(--ink);flex:1;min-width:160px}
.lw-donut-legend li{display:flex;align-items:center;gap:7px}
.lw-donut-legend .dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.lw-donut-legend strong{margin-left:auto}
.lw-donut-legend small{color:var(--dim)}
/* Projects by Status donut (Client Services > Overview) — scoped separately from .lw-donut* (used by Reports > Tasks by Category) because this one is coral-only, bigger, fixed-width, and shows values as an on-chart overlay instead of a side legend. */
.lw-status-card{max-width:360px}.lw-status-donut-wrap{display:flex;flex-direction:column;align-items:center;gap:16px}.lw-status-donut{width:220px;height:220px;border-radius:50%;position:relative;flex:0 0 auto}.lw-status-donut-hole{position:absolute;inset:40px;border-radius:50%;background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.lw-status-donut-hole strong{font-size:28px;font-weight:850;color:var(--ink);line-height:1}.lw-status-donut-hole span{font-size:13px;color:var(--dim);text-transform:uppercase;letter-spacing:.06em;margin-top:4px}.lw-status-donut-overlay{position:absolute;inset:0;pointer-events:none}.lw-status-donut-label{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;line-height:1.15;color:inherit}.lw-status-donut-label strong{font-size:14px;font-weight:850;color:inherit}.lw-status-donut-label span{font-size:13px;font-weight:700;color:inherit}.lw-status-donut-keys{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;font-size:13.5px;color:var(--ink)}.lw-status-donut-keys li{display:flex;align-items:center;gap:6px}.lw-status-donut-keys .dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.lw-overview-top-grid{grid-template-columns:minmax(0,360px) minmax(260px,1fr)}
@media(max-width:980px){.lw-overview-top-grid{grid-template-columns:1fr}}

.lw-deadline-list{display:flex;flex-direction:column;gap:2px}
.lw-deadline-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;padding:10px 8px;border-bottom:1px solid var(--border);cursor:pointer;text-align:left;font:inherit;color:inherit}
.lw-deadline-item:nth-child(odd){background:#fff}
.lw-deadline-item:nth-child(even){background:#fff8f5}
.lw-deadline-item:hover{background:rgba(224,122,95,.16)}
.lw-deadline-item:last-child{border-bottom:0}
.lw-deadline-item:hover strong{color:var(--coral)}
/* Upcoming Deadlines: title moved into a full-bleed header bar using the same coral-200 background as the Listings Portfolio table header (.lw-table th), instead of the plain flex .lw-section-head every other card uses. */
.lw-deadlines-card{padding:0;overflow:hidden}
.lw-deadlines-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 17px;background:var(--coral-200)}
.lw-deadlines-header h3{margin:0;font-size:13.5px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.lw-deadlines-body{padding:15px 17px 17px}
.lw-deadline-item strong{display:block;font-size:14px}
.lw-deadline-item span{display:block;font-size:13px;color:var(--dim);margin-top:2px}
.lw-deadline-item small{font-size:13.5px;color:var(--dim);font-weight:700;white-space:nowrap}
.lw-empty-note{font-size:14px;color:var(--dim);margin:0}

.lw-task-group{margin-bottom:16px}
.lw-task-group:last-child{margin-bottom:0}
.lw-task-group h4{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--dim);font-weight:800}
.lw-task-row{width:100%;border:1px solid var(--border);text-align:left;cursor:pointer;margin-bottom:8px;font:inherit;color:inherit}
.lw-task-row:last-child{margin-bottom:0}
.lw-task-row:hover{border-color:rgba(224,122,95,.5)}
.lw-task-due{font-size:13px;color:var(--dim);white-space:nowrap}
.lw-work-status.attention{color:var(--coral);background:rgba(224,122,95,.12);border-color:rgba(224,122,95,.3)}
.lw-work-status.done{color:#357d74;background:rgba(77,139,130,.11);border-color:rgba(77,139,130,.3)}
.lw-work-status.active{color:#a4612c;background:rgba(219,149,79,.11);border-color:rgba(219,149,79,.3)}

.lw-status.on-track{color:#357d74;background:rgba(77,139,130,.11);border-color:rgba(77,139,130,.3)}
.lw-status.needs-attention{color:var(--coral);background:rgba(224,122,95,.1);border-color:rgba(224,122,95,.3)}
.lw-status.at-risk{color:var(--coral);background:rgba(224,122,95,.16);border-color:rgba(224,122,95,.4)}
.lw-status.planning{color:#a4612c;background:rgba(219,149,79,.11);border-color:rgba(219,149,79,.3)}
.lw-status.complete{color:var(--dim)}

.lw-table-foot-split{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lw-pager{display:flex;align-items:center;gap:4px}

.lw-stars{display:inline-flex;align-items:center;font-size:14px}
.lw-stars-track{position:relative;display:inline-block;line-height:1}
.lw-stars-base,.lw-stars-fill{display:block;white-space:nowrap;letter-spacing:1px}
.lw-stars-base{color:var(--coral)}
.lw-stars-fill{position:absolute;top:0;left:0;overflow:hidden;color:var(--coral)}
.lw-stars strong{margin-left:5px;font-size:13.5px;color:var(--ink)}
.lw-stars small{margin-left:3px;font-size:13.5px;color:var(--dim)}

.lw-bid-list{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.lw-bid-card{border:1px solid var(--border);border-radius:9px;padding:12px}
.lw-bid-card.recommended{border-color:rgba(224,122,95,.5);background:rgba(224,122,95,.05)}
.lw-bid-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.lw-bid-card-head strong{font-size:14px}
.lw-bid-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.lw-bid-terms span{background:var(--card-hi);border-radius:6px;padding:7px;display:block}
.lw-bid-terms small{display:block;font-size:11.5px;color:var(--dim);margin-bottom:3px}
.lw-bid-terms strong{display:block;font-size:13.5px}

.lw-cal-nav{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--ink)}
.lw-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.lw-cal-col{background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:8px;min-height:120px}
.lw-cal-col.today{border-color:var(--coral);background:rgba(224,122,95,.06)}
.lw-cal-col-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--border)}
.lw-cal-col-head span{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--dim);font-weight:800}
.lw-cal-col-head strong{font-size:14px;color:var(--ink)}
.lw-cal-col-body{display:flex;flex-direction:column;gap:6px}
.lw-cal-chip{display:block;width:100%;text-align:left;background:var(--card);border:0;border-left:3px solid var(--coral);border-radius:5px;padding:6px 8px;cursor:pointer;font:inherit}
.lw-cal-chip strong{display:block;font-size:13px;line-height:1.3}
.lw-cal-chip span{display:block;font-size:11.5px;color:var(--dim);margin-top:2px}
.lw-cal-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.lw-cal-legend span{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--dim)}
.lw-cal-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}

.lw-inbox-shell{display:grid;grid-template-columns:280px 1fr;min-height:480px}
.lw-inbox-list{border-right:1px solid var(--border);overflow:auto;max-height:600px}
.lw-inbox-convo{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;padding:12px;text-align:left;cursor:pointer;font:inherit;color:inherit}
.lw-inbox-convo.active{background:rgba(224,122,95,.08)}
.lw-inbox-convo:hover{background:var(--card-hi)}
.lw-inbox-convo>div{flex:1;min-width:0}
.lw-inbox-convo strong{display:block;font-size:14px}
.lw-inbox-convo span:not(.lw-avatar){display:block;font-size:13px;color:var(--dim);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-inbox-convo-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:0 0 auto}
.lw-inbox-convo-meta small{font-size:11.5px;color:var(--dim)}
.lw-inbox-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--coral);color:#fff;font-size:11.5px;font-weight:800}
.lw-inbox-thread{display:flex;flex-direction:column;padding:16px}
.lw-inbox-thread-head{padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:14px}
.lw-inbox-thread-head strong{display:block;font-size:14px}
.lw-inbox-thread-head span{display:block;font-size:13.5px;color:var(--dim);margin-top:2px}
.lw-inbox-messages{flex:1;display:flex;flex-direction:column;gap:12px;overflow:auto;max-height:380px}
.lw-inbox-message{max-width:78%;background:var(--card-hi);border-radius:10px;padding:10px 12px}
.lw-inbox-message.me{align-self:flex-end;background:rgba(224,122,95,.1)}
.lw-inbox-message p{margin:0;font-size:14px;line-height:1.55;color:var(--ink)}
.lw-inbox-message span{display:block;font-size:11.5px;color:var(--dim);margin-top:6px}
.lw-inbox-attachment{display:flex;align-items:center;gap:6px;margin-top:8px;padding:7px 9px;background:var(--card);border:1px solid var(--border);border-radius:6px;font-size:13px;color:var(--dim)}
.lw-inbox-attachment i{color:var(--coral)}
.lw-inbox-composer{display:flex;gap:8px;align-items:flex-end;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.lw-inbox-composer textarea{flex:1;min-height:52px;max-height:120px;resize:vertical;background:var(--card-hi);border:1px solid var(--border);border-radius:8px;padding:10px;font:inherit;font-size:14px;outline:0}
.lw-inbox-composer textarea:focus{border-color:var(--coral)}

.lw-report-metric{display:flex;flex-direction:column;gap:6px}
.lw-report-big{font-size:30px;color:var(--ink)}
.lw-report-big small{font-size:14px;color:var(--dim);font-weight:400}
.lw-report-trend{font-size:13.5px;color:var(--dim);margin:0;display:flex;align-items:center;gap:4px}
.lw-report-trend.down i{color:#357d74}
.lw-report-trend i{color:var(--coral)}

@media(max-width:980px){.lw-glance-stats{grid-template-columns:repeat(2,1fr)}.lw-cal-grid{grid-template-columns:repeat(4,1fr)}.lw-inbox-shell{grid-template-columns:1fr}.lw-inbox-list{max-height:220px;border-right:0;border-bottom:1px solid var(--border)}}
@media(max-width:680px){.lw-glance-stats{grid-template-columns:1fr 1fr}.lw-cal-grid{grid-template-columns:repeat(2,1fr)}.lw-bid-terms{grid-template-columns:1fr}}

/* Offers tab flat layout (2026-09-29, Mark: "too many boxes, nested boxes" --
   Concept A / Flat Timeline chosen over Single Card and Compact Table).
   Stage content sits directly inside the tc-detail-rail-panel column
   (reused from the Transactions Coordinator's left-rail layout) with
   hairline dividers instead of nested lw-card boxes; .lw-record-grid's
   boxed main+aside pair is replaced by .lw-flat-row's unboxed columns. */
.lw-flat-page { display:flex; flex-direction:column; gap:22px; }
.lw-flat-divider { height:1px; background:var(--border); }
.lw-flat-row { display:flex; gap:40px; align-items:flex-start; }
.lw-flat-main { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:18px; }
.lw-flat-aside { flex:0 0 240px; display:flex; flex-direction:column; gap:16px; }
.lw-flat-aside-label { font-size:13.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--dim); }
.lw-flat-callout { border-left:3px solid var(--coral); padding-left:14px; }
.lw-flat-callout strong { display:block; font-size:14px; font-weight:800; color:var(--ink); }
.lw-flat-callout p { font-size:13.5px; color:var(--dim); margin:3px 0 0; }
@media (max-width:900px) { .lw-flat-row { flex-direction:column; gap:22px; } .lw-flat-aside { flex:none; width:100%; } }

/* Offer automation preferences modal (2026-09-29). */
.lw-automation-list { display:flex; flex-direction:column; gap:8px; }
.lw-automation-option { display:flex; align-items:flex-start; gap:10px; padding:11px; background:var(--card-hi); border:1px solid var(--border); border-radius:8px; cursor:pointer; }
.lw-automation-option input { margin-top:2px; accent-color:var(--coral); }
.lw-automation-option strong { display:block; font-size:14px; color:var(--ink); }
.lw-automation-option small { display:block; font-size:13px; color:var(--dim); margin-top:2px; line-height:1.45; }

/* Showings & feedback tab (2026-09-29, Mark: put the summary box on the
   left, the table on the right) -- same .lw-record-grid gap/card styling,
   just a narrow-then-wide column order instead of the default wide-then-
   narrow one. */
.lw-record-grid-reverse { grid-template-columns: minmax(260px,.75fr) minmax(0,1.65fr); }
@media (max-width:980px) { .lw-record-grid-reverse { grid-template-columns: 1fr; } }

/* Offers tab tweaks (2026-09-29, Mark). */
.tc-detail-rail-grid.lw-offers-rail-grid { grid-template-columns:270px minmax(0,1fr); }
@media (max-width:900px) { .tc-detail-rail-grid.lw-offers-rail-grid { grid-template-columns:1fr; } }

/* Offer stages rail -- Option A interactive stepper (2026-10-06, Mark).
   Rows look and behave like buttons (hover fill, chevron nudge), carry a
   real per-stage status line, and separate "viewing" (row highlight) from
   progress (check / ring / number node). */
.lw-stage-rail .tc-detail-rail-card-head { flex-wrap:wrap; justify-content:space-between; align-items:baseline; row-gap:0; }
.lw-stage-rail .tc-detail-rail-card-head p.lw-stage-count { margin:0; font-size:14px; color:var(--ink); }
.lw-stage-progress { flex:0 0 100%; height:6px; border-radius:99px; background:color-mix(in srgb, #fff 65%, transparent); margin-top:8px; overflow:hidden; }
.lw-stage-progress i { display:block; height:100%; background:var(--coral-500); border-radius:99px; }
.lw-stage-rail .tc-detail-rail-card-body { padding:10px; }
.lw-stage-list { display:flex; flex-direction:column; }
.lw-stage-row { position:relative; display:grid; grid-template-columns:26px minmax(0,1fr) 14px; gap:10px; align-items:center; width:100%; margin:0; padding:9px 8px; text-align:left; font:inherit; color:var(--ink); background:none; border:1px solid transparent; border-radius:10px; cursor:pointer; appearance:none; -webkit-appearance:none; transition:background .15s, border-color .15s; }
.lw-stage-row:hover { background:color-mix(in srgb, var(--coral-50) 55%, transparent); }
.lw-stage-row:focus-visible { outline:2px solid var(--coral-500); outline-offset:1px; }
.lw-stage-row.selected { background:color-mix(in srgb, var(--coral-50) 70%, transparent); border-color:var(--coral-300); }
.lw-stage-row:not(:last-child)::after { content:''; position:absolute; left:20px; top:35px; bottom:-9px; width:2px; background:var(--border); z-index:0; }
.lw-stage-row.done:not(:last-child)::after { background:var(--coral-300); }
.lw-stage-node { position:relative; z-index:1; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:13.5px; font-weight:800; background:#fff; border:2px solid var(--light-gray); color:var(--gray); box-sizing:border-box; }
.lw-stage-node .ti { font-size:14px; }
.lw-stage-row.done .lw-stage-node { background:var(--coral-500); border-color:var(--coral-500); color:#fff; }
.lw-stage-row.current .lw-stage-node { border-color:var(--coral-500); color:var(--coral-500); box-shadow:0 0 0 3px var(--coral-100); }
.lw-stage-text { display:flex; flex-direction:column; min-width:0; }
.lw-stage-name { font-size:14px; font-weight:600; line-height:1.3; }
.lw-stage-row.selected .lw-stage-name { font-weight:800; }
.lw-stage-sub { font-size:13.5px; color:var(--slate); line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lw-stage-row.current .lw-stage-sub { color:var(--coral-500); font-weight:600; }
.lw-stage-chev { color:var(--gray); font-size:14px; transition:transform .15s, color .15s; }
.lw-stage-row:hover .lw-stage-chev, .lw-stage-row.selected .lw-stage-chev { color:var(--coral-500); }
.lw-stage-row:hover .lw-stage-chev { transform:translateX(2px); }
.lw-stage-hint { display:flex; align-items:center; gap:6px; margin:6px 8px 2px; font-size:13.5px; color:var(--slate); }
@media (prefers-reduced-motion:reduce) { .lw-stage-row, .lw-stage-chev { transition:none; } }
.lw-table.lw-table-fit { min-width:0; width:100%; }

/* Listing Actions menu -- Concept B (grouped modal), 2026-09-30 */
.lw-action-group-label{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 0 4px}
.lw-action-group-label:first-child{margin-top:0}
.lw-action-group-label.danger{color:var(--coral)}
.lw-action-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 4px;cursor:pointer;border-bottom:1px solid var(--border)}
.lw-action-row:last-child{border-bottom:0}
.lw-action-row:hover{background:var(--card-hi)}
.lw-action-row.disabled{cursor:default}
.lw-action-row.disabled:hover{background:transparent}
.lw-action-row-left{display:flex;align-items:center;gap:10px}
.lw-action-icon{width:28px;height:28px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:rgba(224,122,95,.1);color:var(--coral);flex:0 0 auto;font-size:14px}
.lw-action-row.disabled .lw-action-icon{background:var(--card-hi);color:var(--muted)}
.lw-action-row strong{font-size:14px;display:block}
.lw-action-row.disabled strong{color:var(--muted)}
.lw-action-row small{font-size:13px;color:var(--muted);display:block;margin-top:2px}
.lw-action-pill{font-size:11.5px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--card-hi);border-radius:999px;padding:4px 8px;white-space:nowrap}
.lw-action-pill.danger{color:var(--coral);background:rgba(224,122,95,.12)}
.lw-action-banner{display:flex;gap:10px;align-items:flex-start;background:#FDEFEB;border:1px solid var(--coral-200);border-radius:8px;padding:11px 12px;margin-top:12px}
.lw-action-banner i{color:var(--coral);flex:0 0 auto;margin-top:1px}
.lw-action-banner strong{font-size:14px;color:#734b40;display:block}
.lw-action-banner p{margin:3px 0 0;font-size:13.5px;color:#734b40;line-height:1.55}
.lw-danger-btn{background:var(--coral);border-color:var(--coral)}

/* Offer status board (Mark, 2026-09-30: Concept C implementation --
   Response & Negotiation / Acceptance stages both render this board). */
.lw-offer-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch;margin-top:2px}
.lw-offer-board-col{background:var(--card-hi);border:1px solid var(--border);border-radius:9px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:200px}
.lw-offer-board-col-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 4px}
.lw-offer-board-col-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--dim)}
.lw-offer-board-col-count{font-size:13px;font-weight:800;background:var(--card);border:1px solid var(--border);border-radius:999px;padding:2px 7px;color:var(--dim)}
.lw-offer-board-empty{font-size:13.5px;color:var(--muted);padding:8px 2px}
.lw-offer-kcard{appearance:none;-webkit-appearance:none;font:inherit;text-align:left;cursor:pointer;display:block;width:100%;background:#fff;border:1px solid var(--border);border-radius:8px;padding:11px;transition:.15s ease}
.lw-offer-kcard:hover{border-color:var(--coral);box-shadow:0 4px 14px rgba(35,39,42,.08)}
.lw-offer-kcard.lead{border-color:var(--coral)}
.lw-offer-kcard.accepted{border-color:#357d74}
.lw-offer-kcard.dim{opacity:.65}
.lw-offer-kcard-name{font-size:14px;font-weight:800;color:var(--ink)}
.lw-offer-kcard-price{font-family:Georgia,serif;font-size:15px;font-weight:700;color:var(--ink);margin-top:2px}
.lw-offer-kcard-meta{font-size:13px;color:var(--muted);margin-top:4px}
.lw-offer-kcard-score{display:inline-block;font-size:11.5px;font-weight:800;color:var(--coral);background:rgba(224,122,95,.1);border-radius:999px;padding:3px 7px;margin-top:8px}
.lw-offer-kcard-tap{font-size:11.5px;font-weight:700;color:var(--muted);margin-top:8px}
.lw-ghost-btn{border:0;background:none;color:var(--dim);font:inherit;font-size:14px;font-weight:800;padding:9px 8px;cursor:pointer}
.lw-ghost-btn:hover{color:var(--coral)}
@media (max-width: 900px){.lw-offer-board{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Review & normalize: dense table replacing the old wide card rows + static
   sidebar checklist (Concept A, approved 2026-09-30). Columns are ordered
   check / strength / buyer / price / financing / close / status / chevron
   in both the header and each row so the header labels always line up with
   what's actually underneath them. */
.lw-review-table{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}
.lw-review-table-head{display:flex;align-items:center;gap:12px;padding:10px 13px;background:var(--coral-200);border-bottom:1px solid var(--border)}
.lw-review-table-head span{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--dim)}
.lw-review-row{border-bottom:1px solid var(--border)}
.lw-review-row:last-child{border-bottom:0}
.lw-review-row-btn{appearance:none;-webkit-appearance:none;border:0;background:#fff;font:inherit;width:100%;display:flex;align-items:center;gap:12px;padding:11px 13px;cursor:pointer;text-align:left;color:inherit}
.lw-review-row-btn:hover{background:rgba(224,122,95,.08)}
.lw-review-c-check{flex:0 0 18px}
.lw-review-c-check input{accent-color:var(--coral)}
.lw-review-c-strength{flex:0 0 34px;height:26px;border-radius:7px;background:rgba(224,122,95,.1);color:var(--coral);font-weight:850;font-size:14px;display:flex;align-items:center;justify-content:center}
.lw-review-c-buyer{flex:1 1 200px;min-width:0}
.lw-review-c-buyer strong{display:block;font-size:14px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lw-review-c-buyer span{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.lw-review-c-price{flex:0 0 92px;font-weight:800;font-size:14px}
.lw-review-c-fin{flex:0 0 120px;color:var(--dim);font-size:13.5px}
.lw-review-c-close{flex:0 0 130px;color:var(--dim);font-size:13px}
.lw-review-c-status{flex:0 0 96px}
.lw-review-c-chev{flex:0 0 16px;color:var(--muted);text-align:right;font-size:14px}
.lw-review-row-btn:hover .lw-review-c-chev{color:var(--coral)}
.lw-review-expand-note{font-size:13px;color:var(--muted);margin:12px 0 0;line-height:1.5}
.lw-review-modal-checklist{margin-top:14px}
.lw-review-modal-checklist>small{display:block;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:7px}
@media (max-width: 980px){.lw-review-c-fin,.lw-review-c-close{display:none}}
@media (max-width: 680px){.lw-review-table-head{display:none}.lw-review-c-buyer span{display:none}}

/* Offer detail modal (lwOpenOfferBoardModal only, via .lw-modal-coral) —
   styled to match the Weekly Market Digest send popup: coral-300 header,
   white body, grey field tiles, coral-500 accents. Scoped to this
   modifier class so it doesn't touch the other .lw-modal-head modals
   (delete/archive confirm, import offer, automation settings, etc).
   Standing rule (Mark, 2026-10-01): the header's subtitle text is always
   var(--ink) (black), never a tinted/muted color, on every coral-headed
   pop-up across the app -- see the matching note on .tc-modal-sub in
   css/riley-transaction-coordinator.css, the other coral-header family. */
.lw-modal-coral{background:#fff}
.lw-modal-coral .lw-modal-head{background:var(--coral-200);border-bottom:1px solid var(--coral-300)}
.lw-modal-coral .lw-modal-head h3{color:var(--ink)}
.lw-modal-coral .lw-modal-head p{color:var(--ink)}
.lw-modal-coral .lw-preview-pill{background:#fff;border-color:var(--coral-500);color:var(--coral-500)}
.lw-modal-coral .lw-icon-btn{color:var(--ink)}
.lw-modal-coral .lw-icon-btn:hover{color:var(--coral-500);background:rgba(255,255,255,.35)}
.lw-modal-coral .lw-field{background:var(--mid)}
.lw-modal-coral .lw-modal-foot{background:#fff}

/* MLS status tile value rendered as the matching status pill (2026-10-06,
   Mark: "Active" in the listing header should be teal like the pill). */
.lw-hero-stat .lw-hero-stat-pill { display:inline-flex; font-size:14px; padding:4px 10px; margin-top:0; text-transform:none; letter-spacing:0; }
/* Manual-status listings (no MLS feed): the dropdown itself is styled as
   the status pill (Submitted amber, Active teal, Pending coral) so the
   tile reads the same as an MLS-synced one, while staying editable. */
.lw-hero-stat select.lw-hero-status-select { font-family:inherit; font-weight:800; cursor:pointer; appearance:none; -webkit-appearance:none; padding-right:24px; background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%); background-position:calc(100% - 13px) 50%,calc(100% - 9px) 50%; background-size:4px 4px; background-repeat:no-repeat; }
.lw-hero-status-select:focus-visible { outline:2px solid var(--coral-500); outline-offset:2px; }
.lw-suggestion-chips{display:flex;flex-wrap:wrap;gap:7px}.lw-suggestion-chip{display:inline-flex;align-items:center;border:1px solid var(--border);background:var(--card-hi);color:var(--dim);font:inherit;font-size:13.5px;font-weight:700;border-radius:999px;padding:7px 12px;cursor:pointer;transition:.15s ease}.lw-suggestion-chip:hover{border-color:var(--coral);color:var(--coral)}.lw-suggestion-chip.selected{background:var(--coral);border-color:var(--coral);color:#fff}

/* Mark, 2026-10-01: consistent coral-header treatment for Overview/Property &
   MLS/Marketing/Performance/Seller Updates, matching the Offer-stages rail
   card and the portfolio table's coral-200 header band so every listing-detail
   tab reads as one system instead of plain gray section heads on some tabs. */
.lw-section-coral{padding:0;overflow:hidden}
.lw-section-coral .lw-section-head{align-items:center;justify-content:flex-start;margin:0;padding:12px 16px;background:var(--coral-200);border-bottom:1px solid var(--coral-300)}
.lw-section-coral .lw-section-head h3{font-size:14px;font-weight:850}
.lw-section-coral .lw-section-head p{font-size:13px;margin-top:2px;color:var(--ink)}
/* Mark, 2026-10-02: lw-section-head's base justify-content:space-between
   (needed elsewhere, where a head has only a title + one right-side item)
   was spreading coral heads' three children -- icon, title, optional
   pill/status -- across two gaps instead of gluing icon+title together on
   the left, so titles landed at wildly different horizontal positions from
   card to card. Forcing flex-start above fixes that; this margin-left:auto
   puts the pill/status back flush against the right edge on its own. */
.lw-section-coral .lw-section-head>.lw-preview-pill,
.lw-section-coral .lw-section-head>.lw-status,
.lw-section-coral .lw-section-head>.lw-primary-btn,
.lw-section-coral .lw-section-head>.lw-secondary-btn{margin-left:auto}
.lw-section-ic{color:var(--coral-500);display:flex;flex:0 0 auto}
.lw-section-body{padding:17px}
.lw-record-grid-even{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Listing record consistency pass (2026-10-06, Mark: "all pages in the
   listing details should use a similar format to what we've been working
   on"). Every listing tab uses the same card system as the draft editor and
   the Offers stepper: 12px cards, coral-200 header band with a 15/12 title
   pair, coral icon tile, and row-style lists. */
.lw-record-page .lw-record-body .lw-card{border-radius:12px}
.lw-record-page .lw-section-coral{padding:0;overflow:hidden}
.lw-record-page .lw-section-coral .lw-section-head{padding:13px 18px;gap:12px;min-height:56px}
.lw-record-page .lw-section-coral .lw-section-head h3{font-size:15px;font-weight:800}
.lw-record-page .lw-section-coral .lw-section-head p{font-size:14px;margin-top:2px;color:var(--ink)}
.lw-record-page .lw-section-coral .lw-section-head>.nl-prep-count,
.lw-record-page .lw-section-coral .lw-section-head>.lw-preview-pill{margin-left:auto;background:#fff}
.lw-record-page .lw-section-ic{width:32px;height:32px;border-radius:9px;align-items:center;justify-content:center;background:#fff;font-size:17px}
.lw-record-page .lw-section-body{padding:16px 18px}
.lw-record-page .lw-section-coral .nl-prep-list .nl-prep-row:last-child{border-bottom:0}
.lw-record-page .lw-detail-row{grid-template-columns:34px minmax(0,1fr) auto}
.lw-record-page .lw-row-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:14px;padding:7px 12px;border-radius:9px}
.lw-record-page .nl-prep-count.ready{color:#357d74;border-color:rgba(77,139,130,.3)}
.lw-record-page .lw-card-note{margin:0 0 12px}
.lw-record-page .lw-main-column{gap:14px}
.lw-record-page .lw-record-grid{gap:14px}
.lw-record-page .lw-performance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:820px){.lw-record-page .lw-performance-grid{grid-template-columns:1fr}}
/* Offers stepper head uses the same title pair */
.lw-record-page .lw-stage-rail .tc-detail-rail-card-head h3{font-size:15px}
.lw-record-page .lw-chart-preview>div:last-child{width:auto}
.lw-record-page .lw-chart-preview{border-radius:10px}
.lw-record-page .lw-chart-preview .lw-empty{width:100%}
.lw-record-page .lw-performance-metric{border-radius:10px;padding:12px 14px}
.lw-record-page .lw-performance-metric span{font-size:14px;color:var(--slate)}
.lw-record-page .lw-performance-metric small{font-size:13.5px}
.lw-record-page .lw-key-value{padding:10px 0}
.lw-record-page .lw-key-value span{font-size:14px;color:var(--slate)}
.lw-record-page .lw-key-value strong{font-size:14px}
.lw-record-page .lw-section-body>.lw-primary-btn.wide{margin-top:14px}
.lw-record-page .lw-checklist-item{font-size:14px;padding-bottom:10px}
.lw-record-page .lw-checklist-item .state{font-size:14px}
.lw-record-page .lw-track-banner{font-size:14px;border-radius:10px}
.lw-record-page .lw-work-row{padding:12px 14px;border-radius:10px;gap:12px}
.lw-record-page .lw-work-row strong{font-size:14px}
.lw-record-page .lw-work-row p{font-size:14px;color:var(--slate)}
.lw-record-page .lw-work-icon{width:34px;height:34px;border-radius:9px}
.lw-record-page .lw-comps-subhead{font-size:13.5px;letter-spacing:.07em;color:var(--slate);margin:16px 0 8px}
.lw-record-page .lw-comps-note{font-size:14px;color:var(--slate)}
.lw-record-page .lw-offers-body{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px 18px;min-width:0}
.lw-modal-error{margin:10px 0 0;padding:8px 10px;border-radius:8px;font-size:14px;color:var(--coral-500);background:var(--coral-50)}

/* Website extras card on the Property tab (2026-10-17) */
.lw-x-row{grid-template-columns:34px minmax(150px,1fr) minmax(0,1.5fr);cursor:default}
.lw-x-row:hover{background:transparent}
.lw-x-row .nl-prep-text{cursor:default}
.lw-x-row .nl-prep-seg{justify-self:start}
.lw-x-inp{width:100%;font:inherit;font-size:14px;color:var(--ink);background:#fff;border:1px solid var(--border);border-radius:8px;padding:8px 10px;outline:0}
.lw-x-inp:focus{border-color:var(--coral-500);box-shadow:0 0 0 2px rgba(224,122,95,.12)}
.lw-x-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--border)}
.lw-x-status{flex:1;font-size:14px;color:var(--slate)}
@media(max-width:680px){.lw-x-row{grid-template-columns:34px minmax(0,1fr)}.lw-x-row>.lw-x-inp,.lw-x-row>.nl-prep-seg{grid-column:2}.lw-x-foot{flex-wrap:wrap}.lw-x-status{flex-basis:100%}}

/* Marketing tab, layout C (2026-10-18): launch rail + compact table in one card. */
.lw-mk{padding:0;overflow:hidden}
.lw-mk>.lw-section-head{margin:0;padding:14px 18px}
.lw-mk-tblwrap{background:#fff;overflow-x:auto}
.lw-mk-tbl{width:100%;border-collapse:collapse;font-size:14px}
.lw-mk-tbl th{text-align:left;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:9px 18px;background:#fafafb;border-bottom:1px solid var(--border)}
.lw-mk-tbl td{padding:10px 18px;border-bottom:1px solid #ececef;vertical-align:middle}
.lw-mk-item{display:flex;align-items:center;gap:12px;min-width:0}
.lw-mk-item>div{min-width:0}
.lw-mk-item strong{display:block;font-size:14px}
.lw-mk-item small{display:block;font-size:13.5px;color:var(--muted);margin-top:1px}
.lw-mk-stc{white-space:nowrap;width:1%}
.lw-mk-act{text-align:right;white-space:nowrap;width:1%}
td.lw-mk-act{display:table-cell}
td.lw-mk-act>button+button{margin-left:6px}
.lw-mk-st{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:3px 9px;white-space:nowrap}
.lw-mk-st.ok{color:var(--teal-700,#006F62);background:var(--teal-100,#EAF7F5)}
.lw-mk-st.ok i{width:6px;height:6px;border-radius:50%;background:var(--teal-500)}
.lw-mk-st.dr{color:var(--coral-500);background:var(--coral-50)}
.lw-mk-st.no{color:var(--muted);background:var(--card-hi);border:1px solid var(--border)}
.lw-mk-socs{display:inline-flex;gap:5px;margin-top:3px}
.lw-mk-sic{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:var(--coral-500)}
.lw-mk-sic .ti{font-size:20px;line-height:1}
.lw-mk-dom{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:6px;color:var(--ink);font-weight:600}
.lw-mk-link{border:0;background:none;padding:0;font:inherit;font-size:13.5px;font-weight:700;color:var(--coral-500);cursor:pointer}
.lw-mk-link:hover{text-decoration:underline}
.lw-mk-idea{display:flex;align-items:center;gap:12px;margin:12px 18px 16px;padding:10px 12px;border:1px dashed #cfcfd4;border-radius:10px}
.lw-mk-idea strong{font-size:14px}
.lw-mk-idea small{display:block;font-size:13.5px;color:var(--muted)}
@media(max-width:680px){
  .lw-mk-tbl thead{display:none}
  .lw-mk-tbl tr{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:10px 14px;border-bottom:1px solid #ececef}
  .lw-mk-tbl td{padding:0;border:0}
  .lw-mk-tbl td:first-child{grid-column:1/-1}
  .lw-mk-act{text-align:left}
}

/* Marketing tab: vertical launch checklist on the left (2026-10-18), reusing the .lw-stage-* stepper. */
.lw-mk-grid{margin-top:0}
.lw-mk-grid .lw-mk{margin:0}
.lw-mk-tbl tr.lw-mk-flash td{animation:lwMkFlash 1.4s ease-out}
@keyframes lwMkFlash{0%,35%{background:var(--coral-50)}100%{background:transparent}}
@media (prefers-reduced-motion:reduce){.lw-mk-tbl tr.lw-mk-flash td{animation:none;background:var(--coral-50)}}

/* Share link source picker (2026-10-18) */
.lw-mk-url{color:var(--coral-500);font-weight:600;text-decoration:none;word-break:break-all}
.lw-mk-url:hover{text-decoration:underline}
.lw-mk-share-pick{display:block;margin-top:7px}
.lw-mk-share-seg button:disabled{color:var(--gray);cursor:not-allowed;background:transparent}
.lw-mk-share-note{display:block;margin-top:2px;font-size:13.5px;color:var(--muted)}
.lw-mk-share-own{display:inline-flex;align-items:center;gap:3px;margin-left:6px;font-size:13.5px;font-weight:700;color:var(--teal-700,#006F62)}
.lw-mk-share-own .ti{font-size:14px;color:var(--teal-500)}
.lw-mk-share-i{margin-left:5px;vertical-align:middle}
.lw-mk-share-i .cd-pop b{display:block;margin-bottom:3px;color:var(--ink)}

/* Comp thumbnails (2026-10-18): same slot size as the portfolio list photos so rows don't jump when photos arrive. */
.lw-property-icon.lw-comp-thumb{width:104px;height:64px;border-radius:9px;font-size:20px}
.lw-property-icon.lw-comp-thumb.has-photo{background:var(--card-hi)}

/* Property & MLS tab, layout A (2026-10-18): MLS facts left, website extras right. */
.lw-pf-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.lw-pf-layout>.lw-card{margin:0}
.lw-pf-card{padding:0;overflow:hidden}
.lw-pf-card>.lw-section-head{margin:0;padding:14px 18px}
.lw-pf-badge{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:800;white-space:nowrap;border-radius:999px;padding:4px 10px;background:#fff;color:var(--slate);border:1px solid var(--border)}
.lw-pf-badge .ti{font-size:14px}
.lw-pf-badge.ok{color:var(--teal-700,#006F62);border-color:#bfe3dd}
.lw-pf-badge.live{color:var(--teal-700,#006F62);background:#fff;border-color:#bfe3dd}
.lw-pf-badge.live i{width:7px;height:7px;border-radius:50%;background:var(--teal-500)}
.lw-pf-ic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto;background:var(--coral-50);color:var(--coral-500);font-size:15px}
.lw-pf-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff}
.lw-pf{display:flex;gap:10px;align-items:flex-start;padding:12px 18px;border-top:1px solid #ececef;min-width:0}
.lw-pf:not(.wide):nth-child(odd){border-right:1px solid #ececef}
.lw-pf.wide{grid-column:1/-1}
.lw-pf dl{margin:0;min-width:0;flex:1}
.lw-pf dt{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.lw-pf dd{margin:3px 0 0;font-size:14.5px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.lw-pf dd.none{color:var(--muted);font-weight:500}
.lw-pf-pill{margin-left:6px;vertical-align:1px;padding:3px 8px}
.lw-pf-sub{font-size:14px;font-weight:500;color:var(--muted);margin-left:4px}
.lw-pf-remarks{margin:0;font-size:14px;font-weight:400;line-height:1.55;color:var(--slate);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lw-pf-remarks.open{display:block;-webkit-line-clamp:unset}
.lw-pf-more{border:0;background:none;padding:0;margin-top:3px;font:inherit;font-size:14px;font-weight:700;color:var(--coral-500);cursor:pointer}
.lw-pf-more:hover{text-decoration:underline}
.lw-pf-foot{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #ececef;background:#fff}
.lw-pf-foot .lw-row-link{margin:0}
.lw-xf-sec{padding:8px 18px 5px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:#fafafb;border-top:1px solid #ececef}
.lw-xf{display:grid;grid-template-columns:28px 128px minmax(0,1fr);gap:10px;align-items:center;padding:8px 18px;border-top:1px solid #ececef;background:#fff}
.lw-xf-l{min-width:0;cursor:default}
label.lw-xf-l{cursor:pointer}
.lw-xf-l b{display:block;font-size:14px;color:var(--ink)}
.lw-xf-l small{display:block;font-size:13.5px;color:var(--muted);font-weight:500}
.lw-xf>.nl-prep-seg{justify-self:start}
.lw-xf .lw-x-inp{padding:7px 10px;font-size:14px}
.lw-pf-card .lw-x-foot{background:#fff;border-top:1px solid #ececef}
@media(max-width:1100px){.lw-pf-layout{grid-template-columns:1fr}}
@media(max-width:620px){.lw-pf-grid{grid-template-columns:1fr}.lw-pf:not(.wide):nth-child(odd){border-right:0}.lw-xf{grid-template-columns:28px minmax(0,1fr)}.lw-xf>.lw-x-inp,.lw-xf>.nl-prep-seg{grid-column:2}}

/* Active status pill in the listing header tile and on the Property tab:
   same scheme as the "Synced from MLS" / "Website live" pills (2026-10-18, Mark). */
.lw-hero-stat .lw-hero-stat-pill.active,
.lw-pf-pill.active{color:var(--teal-700,#006F62);background:#fff;border:1px solid #bfe3dd}
/* Longer toasts (e.g. the "Saved to Drafts" notice, 2026-10-25) wrap instead of running across the screen */
.lw-toast{max-width:min(420px,calc(100vw - 48px));line-height:1.5}
.lw-table-v2 .lw-status-divergence{max-width:100%;white-space:normal;line-height:1.2} /* never runs into the next column (2026-11-25) */
