.message-strip {
  margin-top: 14px;
}

.message-strip .form-message {
  margin-bottom: 10px;
}

.listing-card.is-hidden {
  display: none;
}

.listing-card.is-selected {
  outline: 0;
}

.detail-card .empty-state {
  margin: 0;
  border: 0;
}

.detail-offer {
  margin: 0 18px 18px;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-offer form {
  display: grid;
  gap: 10px;
}

.detail-offer input,
.detail-offer textarea {
  min-height: 40px;
}

.detail-offer textarea {
  min-height: 84px;
}

.api-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.api-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: #1f5e47;
  background: #e6f3eb;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.launch-page .site-footer {
  background: #f4f6f3;
}

.export-actions {
  margin-top: 12px;
}

.metric-entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-entry-form label {
  display: grid;
  gap: 5px;
}

.metric-entry-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.metric-entry-form input,
.metric-entry-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.desk-actions select {
  min-height: 34px;
  padding: 6px 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.metric-entry-form .metric-notes,
.metric-entry-form button {
  grid-column: 1 / -1;
}

.metric-entry-form textarea {
  min-height: 100px;
}

.segment-table a {
  color: var(--deep);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .detail-offer {
    margin-inline: 12px;
  }

  .metric-entry-form {
    grid-template-columns: 1fr;
  }
}

.bid-stage h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.bid-room-section {
  padding: 64px 0;
}

.bid-room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 22px;
  align-items: start;
}

.offer-stack {
  display: grid;
  gap: 12px;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .45fr);
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.offer-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.offer-meta div {
  display: grid;
  gap: 2px;
}

.offer-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.offer-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.bid-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.bid-timeline article {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bid-timeline span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.bid-timeline h3 {
  font-size: 17px;
}

.bid-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
}

.bid-form {
  grid-template-columns: 1fr;
}

.bid-form button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.member-gate {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.member-gate .button {
  width: 100%;
}

.bid-stage .memo-stats {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.member-action-card {
  border-color: rgba(46, 125, 50, .22);
}

.action-state-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.action-state-list div {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 10px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.action-state-list span,
.action-state-list strong {
  display: block;
  overflow-wrap: anywhere;
}

.action-state-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.action-state-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.action-state-list div[data-state="ready"] {
  background: #eef7ef;
  border-color: rgba(46, 125, 50, .24);
}

.action-state-list div[data-state="pending"] {
  background: #fff8ea;
  border-color: rgba(188, 127, 32, .28);
}

.action-state-list div[data-state="locked"] {
  background: #f8faf8;
}

.bid-form button[data-original-text] {
  opacity: .78;
}

.auth-page,
.account-page {
  padding: 56px 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.auth-copy {
  padding-top: 18px;
}

.login-route-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.login-route-list a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.auth-form {
  grid-template-columns: 1fr;
}

.auth-form ul,
.auth-form .errorlist {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  color: #9a3d33;
  background: #fae8e5;
  border-radius: 8px;
}

.account-shell {
  padding-bottom: 48px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}

.staff-ops-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, .7fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .98), rgba(38, 74, 70, .90)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 40px);
  border-radius: 8px;
}

.staff-ops-panel .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.staff-ops-panel h2 {
  margin: 8px 0 6px;
}

.staff-ops-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.staff-ops-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.staff-ops-kpis div {
  padding: 12px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.staff-ops-kpis span,
.staff-ops-kpis strong {
  display: block;
  overflow-wrap: anywhere;
}

.staff-ops-kpis span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 900;
}

.staff-ops-kpis strong {
  color: #fff;
  font-size: 22px;
}

.staff-ops-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-ops-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.account-grid .form-card:first-child {
  grid-row: span 2;
}

.member-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.member-status-grid div,
.mini-ledger div,
.mini-ledger a {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.mini-ledger a:hover {
  border-color: var(--deep);
  background: #fff;
}

.member-status-grid span,
.mini-ledger span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.member-status-grid strong,
.mini-ledger strong,
.mini-ledger em {
  display: block;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.mini-ledger {
  display: grid;
  gap: 8px;
}

.member-proof-card {
  grid-column: 1 / -1;
  border-color: rgba(47, 125, 101, .26);
}

.member-proof-card .small-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.6;
}

.receipt-mini-ledger a,
.receipt-mini-ledger div,
.mobile-receipt-ledger a,
.mobile-receipt-ledger div {
  border-color: rgba(47, 125, 101, .22);
  background: #f6faf8;
}

@media (max-width: 980px) {
  .bid-room-grid,
  .offer-card,
  .bid-timeline,
  .auth-shell,
  .account-grid,
  .staff-ops-panel {
    grid-template-columns: 1fr;
  }

  .bid-side {
    position: static;
  }

  .account-grid .form-card:first-child {
    grid-row: auto;
  }
}

.review-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
}

.review-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.review-hero p {
  color: rgba(255, 255, 255, .80);
}

.review-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.review-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-kpi-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.review-kpi-grid span,
.review-kpi-grid strong {
  display: block;
}

.review-kpi-grid span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 900;
}

.review-kpi-grid strong {
  color: #fff;
  font-size: 28px;
}

.review-desk-section {
  padding: 24px 0 64px;
}

.review-desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.review-desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.review-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.review-panel-head {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.review-panel-head h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.review-panel-head p {
  margin-bottom: 0;
  font-size: 13px;
}

.review-queue,
.review-feed-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.review-feed-panel {
  margin-top: 14px;
}

.review-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-item.empty-state {
  color: var(--muted);
  font-weight: 900;
}

.review-item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.review-item-top strong,
.review-item-top span,
.review-item-top em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-item-top strong {
  color: var(--ink);
  font-size: 16px;
}

.review-item-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.review-item-top em {
  min-height: 28px;
  padding: 4px 9px;
  color: #1d4e94;
  background: #e7eefb;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.review-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.review-meta div {
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.review-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desk-actions button,
.desk-actions a {
  min-height: 36px;
  padding: 7px 10px;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.desk-actions button[value$="approve"],
.desk-actions button[value="member_approve"],
.desk-actions button[value="member_b2b"],
.desk-actions button[value="offer_share"],
.desk-actions button[value="lead_create_listing"],
.desk-actions button[value="lead_handoff"] {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.property-feed-hero {
  padding: 46px 0 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 248, 245, .98), rgba(246, 248, 245, .86)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1800&auto=format&fit=crop") center / cover;
}

.property-feed-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.property-feed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.feed-route-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feed-route-card div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feed-route-card span,
.feed-route-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.feed-route-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.feed-route-card strong {
  color: var(--ink);
  font-size: 16px;
}

.property-feed-section {
  padding: 28px 0 64px;
}

.property-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 18px;
  align-items: start;
}

.feed-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-form label,
.feed-form textarea,
.feed-form button,
.feed-form .errorlist,
.feed-form .form-message {
  grid-column: 1 / -1;
}

.feed-form label:nth-of-type(4),
.feed-form label:nth-of-type(5),
.feed-form label:nth-of-type(6),
.feed-form label:nth-of-type(7),
.feed-form label:nth-of-type(8),
.feed-form label:nth-of-type(9) {
  grid-column: auto;
}

.feed-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed-steps li {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feed-steps strong,
.feed-steps span,
.feed-warning strong,
.feed-warning span {
  display: block;
}

.feed-steps strong {
  color: var(--ink);
}

.feed-steps span,
.feed-warning span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.feed-warning {
  margin-top: 14px;
  padding: 12px;
  background: #fff7ea;
  border: 1px solid rgba(196, 122, 22, .24);
  border-radius: 8px;
}

.draft-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
}

.draft-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.draft-hero p {
  color: rgba(255, 255, 255, .80);
}

.draft-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.draft-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.draft-kpi-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.draft-kpi-grid span,
.draft-kpi-grid strong {
  display: block;
}

.draft-kpi-grid span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 900;
}

.draft-kpi-grid strong {
  color: #fff;
  font-size: 28px;
}

.draft-section {
  padding: 24px 0 64px;
}

.draft-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.draft-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, .35fr) minmax(140px, .28fr) minmax(260px, .56fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.draft-row:first-child {
  border-top: 0;
}

.draft-head {
  color: #fff;
  background: var(--deep);
  font-weight: 950;
}

.draft-row strong,
.draft-row span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.draft-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.draft-head span {
  color: #fff;
}

.desk-actions button[value="listing_publish"],
.desk-actions button[value="listing_ready"] {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.match-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
}

.match-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.match-hero p {
  color: rgba(255, 255, 255, .80);
}

.match-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.match-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.match-kpi-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.match-kpi-grid span,
.match-kpi-grid strong {
  display: block;
}

.match-kpi-grid span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 900;
}

.match-kpi-grid strong {
  color: #fff;
  font-size: 28px;
}

.matching-section {
  padding: 24px 0 64px;
}

.matching-layout {
  display: grid;
  grid-template-columns: minmax(260px, .32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.matching-list,
.matching-results {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.matching-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.matching-list h2 {
  padding: 4px 4px 0;
  font-size: 22px;
}

.matching-list-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.matching-list-item.is-active {
  border-color: rgba(35, 103, 201, .78);
  box-shadow: 0 0 0 3px rgba(35, 103, 201, .10);
}

.matching-list-item strong,
.matching-list-item span,
.matching-list-item small {
  display: block;
  overflow-wrap: anywhere;
}

.matching-list-item strong {
  color: var(--blue);
}

.matching-list-item span {
  color: var(--ink);
  font-weight: 900;
}

.matching-list-item small {
  color: var(--muted);
  font-weight: 800;
}

.matching-results-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.matching-results-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.matching-results-head p {
  margin-bottom: 0;
}

.matching-table {
  display: grid;
}

.matching-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(120px, .22fr) minmax(130px, .24fr) minmax(120px, .22fr);
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.matching-row:first-child {
  border-top: 0;
}

.matching-head {
  color: #fff;
  background: var(--deep);
  font-weight: 950;
}

.matching-row strong,
.matching-row span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.matching-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.matching-head span {
  color: #fff;
}

.match-action-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  color: #1f5e47;
  background: #e6f3eb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.match-action-chip.is-warning {
  color: #8a4f08;
  background: #fff0d8;
}

.deal-hero {
  padding: 46px 0 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 248, 245, .98), rgba(246, 248, 245, .86)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1800&auto=format&fit=crop") center / cover;
}

.deal-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.deal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.deal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deal-kpi-grid div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-kpi-grid span,
.deal-kpi-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.deal-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.deal-kpi-grid strong {
  color: var(--ink);
}

.deal-score-kpi {
  grid-column: 1 / -1;
}

.deal-room-section {
  padding: 24px 0 64px;
}

.deal-room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 14px;
  align-items: start;
}

.deal-room-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.deal-room-panel-head {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.deal-room-panel-head h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.deal-strength-panel {
  margin-top: 14px;
}

.deal-decision-panel {
  margin-top: 14px;
}

.deal-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.deal-decision-grid section {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 13px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-decision-grid section[data-state="approved"] {
  background: #eef8f2;
  border-color: #9bcdb2;
}

.deal-decision-grid section[data-state="counter"],
.deal-decision-grid section[data-state="expiring"] {
  background: #fff8e5;
  border-color: #ead28f;
}

.deal-decision-grid section[data-state="expired"],
.deal-decision-grid section[data-state="declined"] {
  background: #fff3f0;
  border-color: #e5b8b0;
}

.deal-decision-grid span,
.deal-decision-grid strong,
.deal-decision-grid em {
  display: block;
  overflow-wrap: anywhere;
}

.deal-decision-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.deal-decision-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.deal-decision-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  line-height: 1.45;
}

.offer-strength {
  width: fit-content;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  margin-top: 6px;
  padding: 5px 8px;
  color: #335a48 !important;
  background: #eaf5ef;
  border: 1px solid #b9dcc9;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.offer-strength[data-tier="review"] {
  color: #6a4b12 !important;
  background: #fff5da;
  border-color: #ead28f;
}

.offer-strength[data-tier="needs_check"] {
  color: #7a342c !important;
  background: #fff0ed;
  border-color: #e5b8b0;
}

.decision-badge {
  width: fit-content;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  margin-top: 5px;
  padding: 5px 8px;
  color: #335a48 !important;
  background: #edf6f1;
  border: 1px solid #b9dcc9;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.decision-badge[data-state="counter"],
.decision-badge[data-state="expiring"],
.decision-badge[data-state="review"] {
  color: #6a4b12 !important;
  background: #fff5da;
  border-color: #ead28f;
}

.decision-badge[data-state="expired"],
.decision-badge[data-state="declined"] {
  color: #7a342c !important;
  background: #fff0ed;
  border-color: #e5b8b0;
}

.offer-strength-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.offer-strength-list span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 10px;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.offer-strength-list[data-tier="strong"] span:first-child {
  border-color: #9bcdb2;
  background: #eef8f2;
}

.offer-strength-list[data-tier="review"] span:first-child {
  border-color: #ead28f;
  background: #fff8e5;
}

.offer-strength-list[data-tier="needs_check"] span:first-child {
  border-color: #e5b8b0;
  background: #fff3f0;
}

.deal-event-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.deal-event {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-event b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  border-radius: 999px;
  font-size: 12px;
}

.deal-event strong,
.deal-event span,
.deal-event p {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.deal-event span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.deal-action-form {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.deal-action-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.deal-action-form select,
.deal-action-form input,
.deal-action-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-action-form textarea {
  min-height: 130px;
}

.deal-document-panel {
  margin-top: 14px;
}

.deal-document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.deal-document-item {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 13px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-document-item strong,
.deal-document-item span,
.deal-document-item p,
.deal-document-item em {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.deal-document-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.deal-document-item span,
.deal-document-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.deal-document-item em {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  background: var(--amber);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.deal-document-item[data-state="ready"] em {
  background: var(--green);
}

.deal-document-item[data-state="needed"] em {
  background: var(--coral);
}

.seller-hero {
  padding: 46px 0 28px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .98), rgba(55, 75, 70, .84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 44px);
}

.seller-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.seller-hero p {
  color: rgba(255, 255, 255, .80);
}

.seller-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.seller-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.seller-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seller-kpi-grid div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-kpi-grid span,
.seller-kpi-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.seller-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seller-kpi-grid strong {
  color: var(--ink);
}

.seller-room-section {
  padding: 24px 0 64px;
}

.seller-room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .42fr);
  gap: 14px;
  align-items: start;
}

.seller-main,
.seller-side {
  display: grid;
  gap: 14px;
}

.seller-side {
  position: sticky;
  top: 94px;
}

.seller-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.seller-summary-strip div,
.seller-route-card,
.seller-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.seller-summary-strip div {
  padding: 14px;
}

.seller-summary-strip span,
.seller-summary-strip strong {
  display: block;
  overflow-wrap: anywhere;
}

.seller-summary-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seller-summary-strip strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 16px;
}

.seller-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seller-route-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.seller-route-card span,
.seller-route-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seller-route-card h2 {
  margin-top: 2px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.seller-route-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.seller-route-card dl div {
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-route-card dt,
.seller-route-card dd,
.seller-route-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.seller-route-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seller-route-card dd {
  font-weight: 900;
}

.seller-panel {
  overflow: hidden;
}

.seller-panel-head {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.seller-panel-head h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.seller-next-step-list {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.seller-next-step-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.seller-next-step-list div[data-state="needed"] {
  border-color: rgba(154, 61, 51, .24);
  background: #fff4f2;
}

.seller-next-step-list div[data-state="review"] {
  border-color: rgba(188, 127, 32, .30);
  background: #fff8ea;
}

.seller-next-step-list div[data-state="ready"] {
  border-color: rgba(47, 125, 101, .28);
  background: #f1f8f5;
}

.seller-next-step-list strong,
.seller-next-step-list span {
  display: block;
  overflow-wrap: anywhere;
}

.seller-next-step-list strong {
  color: var(--ink);
  font-size: 14px;
}

.seller-next-step-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.5;
}

.seller-offer-table {
  display: grid;
}

.seller-offer-row {
  display: grid;
  grid-template-columns: minmax(160px, .75fr) minmax(220px, 1fr) minmax(130px, .55fr) minmax(240px, .75fr);
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.seller-offer-row:first-child {
  border-top: 0;
}

.seller-offer-row > div:only-child {
  grid-column: 1 / -1;
}

.seller-offer-head {
  color: var(--muted);
  background: #f7f9f7;
  font-size: 12px;
  font-weight: 950;
}

.seller-offer-row strong,
.seller-offer-row span,
.seller-offer-row small {
  display: block;
  overflow-wrap: anywhere;
}

.seller-offer-row span,
.seller-offer-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.seller-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.seller-offer-actions button,
.seller-offer-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.seller-offer-actions button:hover,
.seller-offer-actions a:hover {
  border-color: var(--deep);
}

.seller-note-form {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.seller-note-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.seller-note-form input,
.seller-note-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-note-form textarea {
  min-height: 118px;
}

.seller-inline-action {
  padding: 0 16px 16px;
}

.seller-inline-action .button {
  width: 100%;
}

.seller-signal-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.seller-signal-list div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-signal-list strong,
.seller-signal-list span {
  display: block;
  overflow-wrap: anywhere;
}

.seller-signal-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.seller-report-hero {
  padding: 42px 0 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .98), rgba(49, 82, 75, .84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 42px);
}

.seller-report-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.seller-report-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}

.seller-report-head h1 {
  max-width: 900px;
  font-size: clamp(32px, 5vw, 54px);
}

.seller-report-head p,
.seller-report-meta span {
  color: rgba(255, 255, 255, .80);
}

.seller-report-meta {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  text-align: right;
}

.seller-report-meta strong {
  color: #fff;
}

.seller-report-section {
  padding: 24px 0 64px;
}

.seller-report-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.seller-report-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.seller-report-card h2 {
  margin: 0;
}

.seller-report-card p {
  margin: 0;
}

.seller-report-route-grid,
.seller-report-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seller-report-kpis {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.seller-report-route-grid section,
.seller-report-kpis div {
  padding: 14px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller-report-route-grid span,
.seller-report-route-grid strong,
.seller-report-route-grid em,
.seller-report-route-grid p,
.seller-report-kpis span,
.seller-report-kpis strong {
  display: block;
  overflow-wrap: anywhere;
}

.seller-report-route-grid span,
.seller-report-route-grid em,
.seller-report-kpis span {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.seller-report-route-grid strong,
.seller-report-kpis strong {
  margin: 4px 0;
  color: var(--ink);
  font-size: 20px;
}

.seller-report-offer-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.seller-report-offer-row {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(140px, .55fr) minmax(180px, 1fr) minmax(120px, .45fr);
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.seller-report-offer-row:first-child {
  border-top: 0;
}

.seller-report-offer-head {
  color: var(--muted);
  background: #f7f9f7;
  font-size: 12px;
  font-weight: 950;
}

.seller-report-offer-row span,
.seller-report-offer-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.seller-report-note ul {
  margin: 0;
  padding-left: 20px;
}

@media print {
  .site-header,
  .site-footer,
  .message-strip,
  .seller-report-toolbar {
    display: none !important;
  }

  .seller-report-page {
    color: #111;
    background: #fff;
  }

  .seller-report-hero {
    color: #111;
    background: #fff;
    border-bottom: 2px solid #111;
  }

  .seller-report-hero .eyebrow,
  .seller-report-meta {
    color: #111;
    background: #fff;
    border-color: #111;
  }

  .seller-report-head p,
  .seller-report-meta span,
  .seller-report-meta strong {
    color: #111;
  }

  .seller-report-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

.pipeline-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .97), rgba(36, 83, 83, .82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 42px);
}

.pipeline-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.pipeline-hero p {
  color: rgba(255, 255, 255, .82);
}

.pipeline-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.pipeline-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.pipeline-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pipeline-kpi-grid div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline-kpi-grid span,
.pipeline-kpi-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.pipeline-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pipeline-kpi-grid strong {
  color: var(--ink);
}

.pipeline-section {
  padding: 24px 0 64px;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pipeline-column {
  min-width: 240px;
  display: grid;
  gap: 10px;
  padding: 10px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline-column-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.pipeline-column-head span,
.pipeline-column-head em {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.pipeline-column-head em {
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
}

.pipeline-column-head h2 {
  margin: 0;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.pipeline-card-stack {
  display: grid;
  gap: 10px;
}

.pipeline-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(38, 50, 56, .05);
}

.pipeline-card.is-empty {
  color: var(--muted);
  background: rgba(255, 255, 255, .62);
  border-style: dashed;
}

.pipeline-card strong,
.pipeline-card span,
.pipeline-card p {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.pipeline-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pipeline-card p {
  color: #4d5a5c;
  font-size: 13px;
}

.pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pipeline-actions button,
.pipeline-actions a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.pipeline-actions button:hover,
.pipeline-actions a:hover {
  border-color: var(--deep);
}

.pipeline-offer-panel {
  margin-top: 16px;
}

.buyer-crm-list {
  display: grid;
  gap: 12px;
}

.buyer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .42fr);
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.buyer-card-main {
  display: grid;
  gap: 12px;
}

.buyer-card-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
}

.buyer-card-head strong,
.buyer-card-head span,
.buyer-card-head em,
.buyer-card-main p {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.buyer-card-head strong {
  font-size: 18px;
}

.buyer-card-head span,
.buyer-card-main p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.buyer-card-head em {
  min-width: 112px;
  padding: 7px 10px;
  color: #1f5e47;
  background: #e6f3eb;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.buyer-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.buyer-signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--deep);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.buyer-card-actions {
  display: grid;
  gap: 9px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.buyer-card-actions label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.buyer-card-actions select,
.buyer-card-actions textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.buyer-card-actions textarea {
  min-height: 86px;
}

.ops-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .98), rgba(50, 65, 76, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 42px);
}

.ops-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.ops-hero p {
  color: rgba(255, 255, 255, .82);
}

.ops-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.ops-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.ops-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ops-kpi-grid div {
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ops-kpi-grid span,
.ops-kpi-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.ops-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ops-kpi-grid strong {
  color: var(--ink);
}

.ops-section {
  padding: 24px 0 64px;
}

.ops-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ops-action-card {
  display: grid;
  gap: 7px;
  min-height: 134px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
  text-decoration: none;
}

.ops-action-card:hover {
  border-color: var(--deep);
}

.ops-action-card span,
.ops-action-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ops-action-card strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.market-signal-panel {
  margin-top: 14px;
}

.signal-table {
  display: grid;
  gap: 1px;
  padding: 12px;
  background: var(--line);
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) 80px minmax(220px, 1fr) minmax(190px, .7fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
}

.signal-head {
  color: #fff;
  background: var(--deep);
  font-size: 12px;
  font-weight: 950;
}

.signal-row strong,
.signal-row span {
  display: block;
  overflow-wrap: anywhere;
}

.signal-row > strong {
  color: var(--deep);
  font-size: 22px;
}

.signal-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal-actions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: var(--deep);
  background: #edf4ef;
  border: 1px solid rgba(46, 125, 50, .18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.notification-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
}

.notification-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.notification-hero p {
  color: rgba(255, 255, 255, .80);
}

.notification-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.notification-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.notification-kpi-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.notification-kpi-grid span,
.notification-kpi-grid strong {
  display: block;
}

.notification-kpi-grid span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 900;
}

.notification-kpi-grid strong {
  color: #fff;
  font-size: 28px;
}

.notification-section {
  padding: 24px 0 64px;
}

.notification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .38fr);
  gap: 14px;
  align-items: start;
}

.notification-side {
  display: grid;
  gap: 14px;
}

.notification-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.notification-panel-head {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.notification-panel-head h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.notification-panel-head p {
  margin-bottom: 0;
  font-size: 13px;
}

.notification-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.notification-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.notification-form label:nth-last-of-type(-n + 3),
.notification-form button {
  grid-column: 1 / -1;
}

.notification-form input,
.notification-form select,
.notification-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notification-form textarea {
  min-height: 180px;
}

.notification-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.notification-list-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.notification-list-item strong,
.notification-list-item span,
.notification-list-item small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.notification-list-item span,
.notification-list-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.notification-count-table,
.notification-history-table {
  display: grid;
}

.notification-count-table div,
.notification-history-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.notification-count-table div {
  grid-template-columns: minmax(100px, 1fr) minmax(100px, .6fr) minmax(60px, .25fr);
}

.notification-history-row {
  grid-template-columns: minmax(160px, .35fr) minmax(120px, .28fr) minmax(260px, 1fr) minmax(100px, .22fr);
}

.notification-count-table div:first-child,
.notification-history-row:first-child {
  border-top: 0;
}

.notification-count-table div:first-child,
.notification-history-head {
  color: #fff;
  background: var(--deep);
  font-weight: 950;
}

.notification-count-table span,
.notification-history-row span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.notification-count-table div:first-child span,
.notification-history-head span {
  color: #fff;
}

.notification-history {
  margin-top: 14px;
}

.crm-hero {
  padding: 46px 0 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
}

.crm-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.crm-hero p {
  color: rgba(255, 255, 255, .80);
}

.crm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr);
  gap: 20px;
  align-items: end;
}

.crm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crm-kpi-grid div {
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.crm-kpi-grid span,
.crm-kpi-grid strong {
  display: block;
}

.crm-kpi-grid span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 900;
}

.crm-kpi-grid strong {
  color: #fff;
  font-size: 28px;
}

.crm-section {
  padding: 24px 0 64px;
}

.crm-filter-panel,
.crm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(38, 50, 56, .06);
}

.crm-filter-panel {
  margin-bottom: 14px;
  padding: 16px;
}

.crm-filter-form {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(220px, 1fr) repeat(2, minmax(150px, .5fr)) repeat(2, minmax(110px, .32fr)) auto;
  gap: 10px;
  align-items: end;
}

.crm-filter-form label,
.crm-card-actions label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.crm-filter-form input,
.crm-filter-form select,
.crm-card-actions input,
.crm-card-actions textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.crm-list {
  display: grid;
  gap: 12px;
}

.crm-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .36fr);
  gap: 0;
  overflow: hidden;
}

.crm-card.is-muted {
  opacity: .72;
}

.crm-card-main {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.crm-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.crm-card-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.crm-card-head p {
  margin-bottom: 0;
}

.crm-score {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 8px;
  min-width: 220px;
}

.crm-score span,
.crm-score em {
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.crm-score strong {
  color: var(--ink);
  font-size: 20px;
}

.crm-score em {
  grid-column: 1 / -1;
  color: #8a4f08;
  background: #fff0d8;
}

.crm-contact-row,
.crm-weight-row,
.crm-log-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crm-contact-row span,
.crm-contact-row a,
.crm-weight-row span,
.crm-log-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.crm-card-actions {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f7f9f7;
  border-left: 1px solid var(--line);
}

.crm-card-actions form {
  display: grid;
  gap: 8px;
}

.crm-card-actions textarea {
  min-height: 78px;
}

.crm-card-actions button {
  min-height: 36px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.crm-card-actions form:nth-of-type(2) button {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.mobile-app-page {
  min-height: 100vh;
  padding: 24px 0 54px;
  background:
    radial-gradient(circle at top left, rgba(35, 103, 201, .12), transparent 28%),
    #eef3f1;
}

.mobile-app-shell {
  width: min(100% - 24px, 460px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(38, 50, 56, .16);
}

.mobile-app-top {
  padding: 20px 16px 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(24, 33, 41, .96), rgba(38, 50, 56, .86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 34px);
}

.mobile-app-brand {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.mobile-app-brand strong,
.mobile-app-brand span,
.mobile-app-brand em {
  display: block;
}

.mobile-app-brand strong {
  color: #fff;
  font-size: 24px;
  letter-spacing: 0;
}

.mobile-app-brand span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 850;
}

.mobile-app-brand em {
  min-height: 28px;
  padding: 5px 9px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.mobile-app-top h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: 0;
}

.mobile-app-top p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.mobile-app-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: #f7f9f7;
  border-bottom: 1px solid var(--line);
}

.mobile-app-tabs a {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.mobile-app-tabs a:first-child {
  border-left: 0;
}

.mobile-install-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #fff7ea;
  border-bottom: 1px solid rgba(196, 122, 22, .22);
}

.mobile-install-strip strong,
.mobile-install-strip span {
  display: block;
}

.mobile-install-strip strong {
  color: var(--ink);
  font-size: 14px;
}

.mobile-install-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.mobile-install-strip button {
  min-height: 34px;
  padding: 7px 10px;
  color: #fff;
  background: var(--deep);
  border: 1px solid var(--deep);
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.mobile-action-tray {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-action-tray div {
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 6px;
  border-left: 1px solid var(--line);
}

.mobile-action-tray div:first-child {
  border-left: 0;
}

.mobile-action-tray span,
.mobile-action-tray strong {
  display: block;
  overflow-wrap: anywhere;
}

.mobile-action-tray span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.mobile-action-tray strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.05;
}

.mobile-live-status {
  margin: 0;
  padding: 10px 16px;
  color: var(--muted);
  background: #f7f9f7;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.mobile-app-content {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-section-head h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.mobile-filter-form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)) repeat(2, auto);
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 50, 56, .05);
}

.mobile-filter-form label {
  display: grid;
  gap: 4px;
}

.mobile-filter-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.mobile-filter-form input,
.mobile-filter-form select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
}

.mobile-filter-form button {
  align-self: end;
  min-height: 40px;
  padding: 8px 10px;
}

.mobile-filter-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mobile-card-list {
  display: grid;
  gap: 12px;
}

.mobile-listing-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 50, 56, .05);
}

.mobile-listing-card[hidden] {
  display: none;
}

.mobile-listing-top,
.mobile-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.mobile-listing-top span,
.mobile-listing-top strong {
  display: block;
  overflow-wrap: anywhere;
}

.mobile-listing-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mobile-listing-top strong {
  color: var(--ink);
}

.mobile-listing-card h3 {
  margin: 0;
  font-size: 19px;
}

.mobile-listing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mobile-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mobile-pill-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.mobile-card-actions form {
  margin: 0;
}

.mobile-card-actions .button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.mobile-card-actions button:disabled {
  opacity: .68;
  cursor: wait;
}

.mobile-offer-sheet {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #fbfcfa;
  border: 1px solid rgba(23, 78, 92, .18);
  border-radius: 8px;
}

.mobile-offer-sheet[hidden] {
  display: none;
}

.mobile-offer-sheet label {
  display: grid;
  gap: 5px;
}

.mobile-offer-sheet label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.mobile-offer-sheet input,
.mobile-offer-sheet textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.mobile-offer-sheet textarea {
  min-height: 82px;
  resize: vertical;
}

.mobile-offer-sheet p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.mobile-offer-sheet .mobile-gate-note {
  padding: 9px 10px;
  color: #7a3d0a;
  background: #fff5e5;
  border: 1px solid #f2d7a2;
  border-radius: 8px;
  font-weight: 850;
}

.mobile-offer-sheet button:disabled {
  opacity: .68;
  cursor: wait;
}

.mobile-ledger {
  display: grid;
  gap: 8px;
}

.mobile-preference-form {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(46, 125, 50, .20);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 50, 56, .05);
}

.mobile-preference-form label {
  display: grid;
  gap: 5px;
}

.mobile-preference-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.mobile-preference-form input,
.mobile-preference-form select,
.mobile-preference-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.mobile-preference-form textarea {
  min-height: 86px;
  resize: vertical;
}

.mobile-preference-form button:disabled {
  opacity: .68;
  cursor: wait;
}

.mobile-ledger a,
.mobile-ledger div {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-ledger strong,
.mobile-ledger span {
  display: block;
  overflow-wrap: anywhere;
}

.mobile-ledger span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.mobile-app-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px 18px;
  background: #fff;
}

.mobile-app-footer a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #fff;
  background: var(--deep);
  border-radius: 8px;
  font-weight: 950;
}

@media (max-width: 1080px) {
  .review-hero-grid,
  .review-desk-grid,
  .property-feed-hero-grid,
  .property-feed-grid,
  .draft-hero-grid,
  .draft-row,
  .match-hero-grid,
  .matching-layout,
  .matching-row,
  .deal-hero-grid,
  .deal-room-grid,
  .deal-document-grid,
  .deal-decision-grid,
  .offer-strength-list,
  .seller-hero-grid,
  .seller-room-layout,
  .seller-route-grid,
  .seller-offer-row,
  .seller-report-head,
  .seller-report-route-grid,
  .seller-report-offer-row,
  .pipeline-hero-grid,
  .notification-hero-grid,
  .notification-layout,
  .notification-history-row,
  .crm-hero-grid,
  .crm-filter-form,
  .crm-card,
  .buyer-card,
  .ops-hero-grid,
  .ops-action-grid,
  .ops-grid,
  .mobile-filter-form,
  .signal-row,
  .verification-filter-form,
  .anchor-metadata-form,
  .verification-row,
  .receipt-detail-grid {
    grid-template-columns: 1fr;
  }

  .crm-card-actions {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .buyer-card-actions {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

.seller-side {
    position: static;
  }
}

.verification-box {
  border-color: rgba(47, 125, 101, 0.28);
}

.receipt-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.receipt-list div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid rgba(31, 48, 54, 0.12);
}

.receipt-list strong {
  font-size: 12px;
  word-break: break-word;
}

.receipt-list span {
  color: var(--muted);
  font-size: 12px;
  word-break: break-word;
}

.verification-grid {
  align-items: start;
}

.verification-anchor-form,
.verification-filter-form,
.anchor-metadata-form {
  display: grid;
  gap: 12px;
}

.verification-filter-form,
.anchor-metadata-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
}

.verification-anchor-form label,
.verification-filter-form label,
.anchor-metadata-form label {
  display: grid;
  gap: 6px;
}

.verification-anchor-form label span,
.verification-filter-form label span,
.anchor-metadata-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.verification-anchor-form input,
.verification-anchor-form select,
.verification-filter-form input,
.verification-filter-form select,
.anchor-metadata-form input,
.anchor-metadata-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.root-hash-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(47, 125, 101, 0.24);
  border-radius: 8px;
  background: rgba(47, 125, 101, 0.06);
}

.root-hash-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.root-hash-box strong {
  font-size: 28px;
}

.root-hash-box code,
.verification-row code,
.receipt-detail-grid code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #102a33;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.verification-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.verification-row {
  display: grid;
  grid-template-columns: 130px 1.15fr 0.95fr 1.1fr 90px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.verification-row:first-child {
  border-top: 0;
}

.verification-head {
  background: #eef4f2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.verification-row span,
.verification-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.verify-stage .deal-memo {
  border-color: rgba(47, 125, 101, 0.28);
}

.receipt-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.receipt-detail-grid div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.receipt-detail-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .review-kpi-grid,
  .review-meta,
  .feed-form,
  .draft-kpi-grid,
  .match-kpi-grid,
  .deal-kpi-grid,
  .seller-kpi-grid,
  .seller-summary-strip,
  .seller-report-kpis,
  .pipeline-kpi-grid,
  .ops-kpi-grid,
  .notification-kpi-grid,
  .notification-form,
  .notification-count-table div,
  .crm-kpi-grid {
    grid-template-columns: 1fr;
  }

  .feed-form label:nth-of-type(4),
  .feed-form label:nth-of-type(5),
  .feed-form label:nth-of-type(6),
  .feed-form label:nth-of-type(7),
  .feed-form label:nth-of-type(8),
  .feed-form label:nth-of-type(9) {
    grid-column: 1 / -1;
  }
}
