/* Shared art direction: ink, warm paper, forest and a restrained brass accent. */
:root {
  --ink: #25332f;
  --muted: #64706b;
  --green: #205c47;
  --border: #dedfd7;
  --paper: #f4f3ee;
  --surface: #fffefa;
  --shadow: 0 2px 5px #202c2304, 0 12px 32px #202c2305;
}
body {
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  color: #253b32;
}
h1 {
  font-weight: 720;
  letter-spacing: -1.6px;
}
h2 {
  letter-spacing: -0.5px;
}
p,
.muted {
  color: #606e67;
}
.eyebrow {
  color: #87734d;
  font-size: 11px;
  letter-spacing: 1.9px;
}
.rail {
  background: #fafaf7;
  border-color: #dddfd6;
  box-shadow: none;
  padding-top: 28px;
}
.rail .brand {
  padding-bottom: 25px;
  border-bottom: 1px solid #e4e5de;
  margin-bottom: 25px;
}
.rail .brand img {
  background: white;
  box-shadow: 0 3px 8px #233b2c0b;
}
.rail nav {
  gap: 20px;
}
.rail nav a {
  color: #59675e;
  font-size: 15px;
  padding: 12px 13px;
  transition:
    background 0.15s,
    color 0.15s;
}
.rail nav a.selected {
  background: #e9eee5;
  color: #204e3a;
  box-shadow: inset 3px 0 #a78a55;
}
.rail nav a:hover {
  background: #eef0e9;
}
.nav-label {
  color: #8b8e80;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.rail-bottom {
  border-top: 1px solid #e3e5dc;
  margin-top: 28px;
}
.topbar {
  height: 72px;
  background: #fafaf7;
  border-color: #dedfd7;
}
.topbar > span {
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #67756b;
}
.account-menu {
  position: relative;
}
.topbar .account-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid #fffefa;
  border-radius: 50%;
  background: #e7ede2;
  color: #28553f;
  box-shadow: 0 0 0 1px #cdd7c7;
  cursor: pointer;
  overflow: hidden;
}
.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topbar .account-avatar:hover,
.topbar .account-avatar[aria-expanded="true"] {
  box-shadow: 0 0 0 2px #78936c;
}
.topbar .account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 60;
  width: 222px;
  max-width: calc(100vw - 36px);
  padding: 8px;
  border: 1px solid #d9dfd3;
  border-radius: 14px;
  background: #fffefa;
  box-shadow:
    0 12px 38px #223b2924,
    0 2px 5px #223b290a;
}
.account-dropdown[hidden] {
  display: none;
}
.account-dropdown nav {
  display: grid;
}
.topbar .account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #304d3c;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.topbar .account-item:hover,
.topbar .account-item:focus-visible {
  background: #edf1e8;
  color: #174b36;
}
.topbar .account-signout {
  margin-top: 6px;
  border-top: 1px solid #e1e5da;
  border-radius: 0 0 8px 8px;
}
#app .workspace .community-banner p {
  color: #e7f1e7;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}
.page-heading {
  position: relative;
  padding-bottom: 28px;
  border-bottom: 1px solid #dddfd5;
  margin-bottom: 30px;
}
.page-heading:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #b49b67;
}
.page-heading p:last-child {
  color: #738074;
  font-size: 16px;
  max-width: 670px;
}
.page-heading h1 {
  font-size: 42px;
}
.button {
  background: #fffefa;
  border: 1px solid #d6dcd1;
  color: #345442;
  font-weight: 650;
  border-radius: 8px;
  box-shadow: 0 1px 2px #263d2e08;
  transition:
    background-color 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.button:hover {
  color: #244631;
  background: #eff2e9;
  border-color: #aabca2;
  box-shadow: 0 2px 6px #263d2e0a;
}
.button.primary,
.rail-bottom .button.primary {
  /* Keep an opaque base and the same highlight layer in every state. */
  background: #20563f linear-gradient(180deg, #ffffff0a, #ffffff00);
  color: #fff;
  border-color: #20563f;
  box-shadow:
    inset 0 1px #ffffff12,
    0 3px 7px #244d361c;
}
.button.primary:hover,
.rail-bottom .button.primary:hover,
.button.primary:focus-visible,
.rail-bottom .button.primary:focus-visible {
  background: #174b36 linear-gradient(180deg, #ffffff0a, #ffffff00);
  color: #fff;
  box-shadow:
    inset 0 1px #ffffff12,
    0 4px 10px #244d3626;
}
.button.text-button {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}
.button.text-button:hover {
  background: #eef1e8;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8caa80;
  outline-offset: 3px;
}
.panel,
.filters,
.deal-card,
.table-wrap {
  border-color: #dfe2d8;
  background: #fffefa;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.panel {
  padding: 28px;
}
.panel h2,
.panel h3 {
  font-weight: 700;
}
.filters {
  background: #fafbf7;
  border-top: 2px solid #b2be9e;
}
label,
.filters label,
.form-grid label {
  color: #526350;
  font-weight: 600;
  font-size: 14px;
}
input,
select,
textarea,
.filters input,
.filters select {
  background: #fff;
  color: #2b4033;
  border-color: #d5dccf;
  box-shadow: inset 0 1px 2px #1f382805;
  border-radius: 8px;
}
input::placeholder,
textarea::placeholder {
  color: #8a9386;
}
input[type="checkbox"] {
  accent-color: #276146;
}
input[type="file"]::file-selector-button {
  border: 0;
  background: #e9efe2;
  color: #2d573c;
  border-radius: 6px;
  padding: 9px 14px;
  margin-right: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.badge {
  border: 1px solid #dfe7d5;
  background: #edf2e6;
  color: #4c6740;
  font-size: 12px;
  border-radius: 5px;
}
.market-banner {
  background: #ebece2;
  border-color: #dce0d0;
  padding: 16px 22px;
  color: #5e6b4c;
  border-radius: 10px;
}
.market-banner > div {
  color: #4f6342;
}
.segmented {
  background: #e9ede3;
  border-color: #dce1d4;
}
.segmented .button {
  background: transparent;
  box-shadow: none;
}
.segmented .button.active {
  background: #fffefa;
  color: #2c553b;
  border-color: #cdd9bf;
  box-shadow: 0 2px 4px #26432e12;
}
.deal-card {
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.deal-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.deal-card-link:focus-visible {
  outline: none;
}
.deal-card-link:focus-visible::after {
  outline: 3px solid #5b7d50;
  outline-offset: -4px;
}
.deal-card .save-button,
.deal-card .card-bottom a {
  z-index: 2;
}
.deal-card .card-bottom a {
  position: relative;
}
.deal-card:hover {
  box-shadow: 0 8px 25px #243c2b13;
  transform: translateY(-2px);
}
.card-body {
  padding: 24px 23px 0;
}
.price-line > strong {
  color: #284a35;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.8px;
}
.card-bottom {
  background: #f9faf4;
  border-top: 1px solid #e6e9de;
}
.underwrite {
  background: #f5f7ee;
  border: 1px solid #e7ebdd;
  border-radius: 8px;
  padding: 13px;
}
.facts {
  color: #738065;
}
.card-tag {
  background: #fffdf4ef;
  color: #516344;
  border: 1px solid #ffffffaa;
  box-shadow: 0 2px 7px #263c2910;
}
.table-wrap th {
  background: #f3f5ed;
  color: #7c846c;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.9px;
  padding: 16px;
}
.table-wrap td {
  padding: 18px 16px;
  border-color: #e8ebe1;
}
.table-wrap tbody tr:hover {
  background: #f9fbf4;
}
dialog {
  border: 1px solid #d7ded0;
  border-radius: 18px;
  box-shadow: 0 30px 100px #13291d35;
  background: #fffefa;
}
dialog::backdrop {
  background: #1b302b70;
  backdrop-filter: blur(4px);
}
.dialog-heading,
.field-dialog-heading {
  border-bottom: 1px solid #e1e5d9;
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.callout {
  border-color: #dce4d0;
  background: #f1f5e9;
  color: #5b6e4d;
  border-radius: 10px;
}
.auth {
  max-width: 660px;
  padding-top: 46px;
}
.auth > .brand {
  margin-bottom: 30px;
}
.auth > .panel {
  padding: 40px;
  border-top: 3px solid #a5915e;
  box-shadow: 0 18px 65px #2e402712;
}
.auth h1 {
  font-size: 38px;
}
.auth form {
  margin-top: 28px;
}
.auth .role-option {
  background: #fcfdf9;
  border-color: #dae2d0;
}
.profile-hero,
.profile-about,
.community-post {
  border-color: #dce2d3;
}
.profile-cover {
  background: linear-gradient(125deg, #dce5d2, #eee9d7);
}
.community-post > .social-author {
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0e5;
}
.reaction-bar {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 0;
}
.social-post .social-reaction-summary {
  gap: 16px;
  margin: 22px 0 12px;
  color: #586c5d;
  font-size: 15px;
}
.social-like-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  font-variant-numeric: tabular-nums;
}
.like-summary-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #205c47;
  color: white;
}
.like-summary-icon svg {
  stroke-width: 2;
}
#app .workspace .social-post .reaction-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid #e0e5da;
}
#app .workspace .social-post .reaction-bar .button {
  min-height: 46px;
  padding: 10px 14px;
  gap: 9px;
  border-radius: 9px;
  background: transparent;
  color: #526359;
  font-size: 16px;
  font-weight: 650;
  transition:
    background-color 120ms,
    color 120ms;
}
.social-post .reaction-bar .button .reaction-label {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
#app .workspace .social-post .reaction-bar .button:hover {
  background: #f0f3ec;
  color: #254c38;
}
#app .workspace .social-post .reaction-bar .social-like.reacted {
  background: #eaf2e6;
  color: #1b593b;
}
.social-like.reacted > svg {
  fill: #cee3c5;
  stroke-width: 2;
}
#app .workspace .social-post .reaction-bar .social-like:disabled {
  opacity: 1;
  cursor: progress;
}
@media (prefers-reduced-motion: reduce) {
  #app .workspace .social-post .reaction-bar .button {
    transition: none;
  }
}
.result-panel {
  border-top: 3px solid #ab9464;
}
.offer-summary > div {
  background: #f3f6ec;
  border: 1px solid #e0e6d4;
  border-radius: 12px;
}
.contract-facts {
  background: #fffefa;
  border-color: #dfe2d8;
  box-shadow: var(--shadow);
}
.contract-detail .detail-layout .sticky {
  border-top-color: #ab9464;
}
.contract-main > .panel > dl dt {
  color: #7b826f;
}
.contract-main > .panel > dl dd {
  color: #334c3a;
}
.acquisition-card .big-price {
  font-variant-numeric: tabular-nums;
}
.esign-intro {
  background: linear-gradient(110deg, #eef2e5, #f7f5eb);
  border-color: #dde4cf;
}
.library-folder {
  background: #fffefa;
  border-color: #dce3d1;
  box-shadow: 0 2px 5px #23422b05;
}
.library-folder.selected {
  background: #eef3e5;
  border-color: #afbe97;
  box-shadow: inset 0 -3px #b09a63;
}
.esign-viewer-panel {
  background: #e8ebe3;
  border-color: #d5ddcc;
}
.esign-page-controls {
  background: #fcfdf9;
}
footer {
  color: #8b9381;
  border-color: #e3e7dc;
  font-size: 12px;
}
@media (max-width: 700px) {
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .panel {
    padding: 22px;
  }
  .auth {
    padding: 25px 16px;
  }
  .auth > .panel {
    padding: 26px 22px;
  }
  .auth h1 {
    font-size: 32px;
  }
  .topbar {
    height: 64px;
  }
  .rail .brand {
    display: none;
  }
  .rail nav {
    gap: 0;
  }
  .rail nav a {
    padding: 12px;
  }
  .page-heading {
    padding-bottom: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.route-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.route-skeleton span {
  height: 260px;
  border: 1px solid #e0e4d8;
  border-radius: 14px;
  background: linear-gradient(120deg, #eeefe8, #fafbf7);
}
#main[aria-busy="true"] {
  cursor: progress;
}
/* App reading scale: clear body copy, distinct labels, prominent deal numbers.
   Scope to the workspace so marketing art and PDF field coordinates stay independent. */
#app .workspace {
  font-size: 18px;
  line-height: 1.65;
}
#app .workspace p {
  font-size: 18px;
  line-height: 1.7;
  color: #495e52;
}
#app .workspace small,
#app .workspace .fine,
dialog .fine,
dialog small {
  font-size: 16px;
  line-height: 1.65;
  color: #526559;
}
#app .workspace .eyebrow {
  font-size: 13px;
  font-weight: 750;
  color: #796238;
  letter-spacing: 1.5px;
}
#app .workspace h1 {
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.12;
}
#app .workspace h2 {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 720;
}
#app .workspace h3 {
  font-size: 23px;
  line-height: 1.3;
}
#app .workspace .page-heading p {
  font-size: 21px;
  max-width: 760px;
}
#app .workspace .page-heading {
  padding-bottom: 30px;
  margin-bottom: 34px;
}
#app .workspace .page-heading:after {
  width: 76px;
  height: 3px;
}
#app .workspace label,
dialog label {
  font-size: 16px;
  line-height: 1.5;
  color: #3b5345;
}
#app .workspace input:not([type="checkbox"]):not([type="radio"]),
#app .workspace select,
#app .workspace textarea {
  font-size: 17px;
  line-height: 1.5;
}
#app .workspace .button,
dialog .button {
  font-size: 16px;
  font-weight: 650;
  min-height: 44px;
}
#app .workspace .button.primary {
  font-size: 17px;
}
#app .workspace .badge {
  font-size: 14px;
  font-weight: 650;
}
#app .workspace .panel {
  border-radius: 16px;
}
#app .workspace .callout {
  font-size: 16px;
  color: #465b3f;
}
#app .workspace .topbar {
  font-size: 16px;
}
#app .workspace .demo-strip {
  font-size: 14px;
  line-height: 1.6;
}
#app .rail nav a {
  font-size: 16px;
  font-weight: 600;
}
#app .rail .nav-label {
  font-size: 12px;
  color: #63705f;
}
#app .workspace .market-banner {
  font-size: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
#app .workspace .listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}
#app .workspace .listing-grid .deal-card {
  max-width: 620px;
}
#app .workspace .property-visual {
  height: 240px;
}
#app .workspace .compact .property-visual {
  height: 140px;
}
#app .workspace .card-body {
  padding: 24px 23px 0;
}
#app .workspace .price-line > strong {
  font-size: 36px;
  font-weight: 750;
  line-height: 1.2;
}
#app .workspace .price-line > span {
  font-size: 15px;
  color: #526559;
}
#app .workspace .deal-card h2 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 8px;
}
#app .workspace .deal-card .address {
  font-size: 16px;
  margin-bottom: 16px;
}
#app .workspace .facts {
  font-size: 16px;
  font-weight: 550;
  color: #435b49;
}
#app .workspace .underwrite {
  padding: 16px;
  gap: 12px;
  background: #eef2e6;
  border-color: #dce4d1;
}
#app .workspace .underwrite span {
  font-size: 14px;
  color: #53644b;
}
#app .workspace .underwrite strong {
  font-size: 21px;
  font-weight: 700;
}
#app .workspace .card-bottom,
#app .workspace .card-bottom a {
  font-size: 15px;
}
#app .workspace .card-bottom {
  gap: 12px;
  padding: 19px 0;
}
#app .workspace .card-tag {
  font-size: 14px;
  font-weight: 650;
}
#app .workspace .results-toolbar {
  font-size: 18px;
}
#app .workspace .table-wrap table {
  font-size: 17px;
}
#app .workspace .table-wrap th {
  font-size: 14px;
  color: #52634c;
}
#app .workspace .table-wrap small {
  font-size: 15px !important;
}
#app .workspace .compact .card-body {
  padding: 18px 16px 0;
}
#app .workspace .compact .price-line > strong {
  font-size: 30px;
}
#app .workspace .compact h2 {
  font-size: 22px;
}
#app .workspace .contract-facts {
  border-top: 3px solid #a5b494;
  padding: 28px;
}
#app .workspace .contract-facts span {
  font-size: 16px;
  color: #52634b;
}
#app .workspace .contract-facts strong {
  font-size: 24px;
  line-height: 1.3;
}
#app .workspace .contract-main > .panel > dl dt {
  font-size: 16px;
  color: #52634b;
}
#app .workspace .contract-main > .panel > dl dd {
  font-size: 18px;
  line-height: 1.6;
}
#app .workspace .acquisition-card {
  background: linear-gradient(145deg, #fffef9, #f1f3e8);
}
#app .workspace .acquisition-card .big-price {
  font-size: clamp(40px, 3.6vw, 54px);
  font-weight: 750;
}
#app .workspace .acquisition-card dt {
  font-size: 16px;
  color: #52634b;
}
#app .workspace .acquisition-card dd {
  font-size: 19px;
  font-weight: 700;
}
#app .workspace .contract-detail .back {
  font-size: 16px;
}
#app .workspace .listing-contact {
  border-top: 3px solid #a5b494;
}
#app .workspace .profile-stats {
  font-size: 17px;
  padding: 22px 34px;
  gap: 28px;
}
#app .workspace .profile-stats strong {
  font-size: 27px;
}
#app .workspace .profile-about {
  border-top: 3px solid #b4a174;
}
#app .workspace .profile-buybox {
  border-top: 3px solid #97ab88;
  background: #fafcf5;
}
#app .workspace .profile-buybox dt {
  font-size: 16px;
  color: #52634b;
}
#app .workspace .profile-buybox dd {
  font-size: 18px;
}
#app .workspace .profile-chip {
  font-size: 16px;
  padding: 7px 11px;
}
#app .workspace .profile-listing-price {
  font-size: 32px;
}
#app .workspace .member-location {
  font-size: 16px;
}
#app .workspace .social-author strong {
  font-size: 19px;
}
#app .workspace .social-author small {
  font-size: 15px !important;
}
#app .workspace .reaction-bar .button {
  font-size: 15px;
}
#app .workspace .tool-tabs {
  gap: 10px;
  flex-wrap: wrap;
}
#app .workspace .tool-tabs .button {
  padding: 12px 19px;
  border-radius: 10px;
}
#app .workspace .tool-tabs .active {
  background: #244e39;
  color: #fff;
  box-shadow: 0 3px 8px #294a3020;
}
#app .workspace .result-panel {
  background: #faf9f1;
}
#app .workspace .result-values > div {
  padding: 20px 0;
}
#app .workspace .result-values dt {
  font-size: 17px;
  font-weight: 600;
  color: #52634b;
}
#app .workspace .result-values dd {
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#app .workspace .result-values > div:first-child {
  background: #244536;
  padding: 25px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 12px;
}
#app .workspace .result-values > div:first-child dt {
  color: #dce6d5;
}
#app .workspace .result-values > div:first-child dd {
  color: #fffdf3;
  font-size: clamp(30px, 3vw, 42px);
  margin-top: 8px;
}
#app .workspace .comp-row {
  background: #fafbf5;
  border-color: #dbe2cf;
}
#app .workspace .comp-row legend {
  font-size: 18px;
  font-weight: 650;
}
#app .workspace .tool-layout .form-grid {
  gap: 24px;
}
#app .workspace .library-folder strong {
  font-size: 20px;
}
#app .workspace .library-folder span {
  font-size: 16px;
}
@media (max-width: 1100px) {
  #app .workspace .tool-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  #app .workspace h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  #app .workspace h2 {
    font-size: 26px;
  }
  #app .workspace .page-heading p {
    font-size: 19px;
  }
  #app .workspace .panel {
    padding: 24px;
  }
  #app .workspace .profile-hero.panel {
    padding: 0;
  }
  #app .workspace .contract-facts {
    padding: 22px;
  }
  #app .workspace .contract-facts strong {
    font-size: 22px;
  }
  #app .workspace .profile-stats {
    padding: 20px;
    gap: 16px 24px;
  }
  #app .workspace .card-body {
    padding: 22px 20px 0;
  }
  #app .workspace .tool-tabs .button {
    padding: 11px 14px;
  }
  #app .workspace .result-values > div:first-child {
    padding: 20px;
  }
  #app .workspace .tool-layout .panel {
    padding: 22px;
  }
}
@media (max-width: 700px) {
  .route-skeleton {
    grid-template-columns: 1fr;
  }
  .route-skeleton span {
    height: 140px;
  }
}

/* Community: a focused composer and a readable member feed. */
#community {
  max-width: 1160px;
  margin: 0 auto;
}
#community .community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid #dce2d5;
}
#community .community-header .eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
}
#community .community-header h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}
#community .community-header p:not(.eyebrow) {
  font-size: 19px;
  margin: 14px 0;
  color: #5c7162;
}
#community .community-scope {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #647761;
}
#community .community-header-art {
  width: 184px;
  height: 138px;
  flex-shrink: 0;
  border-radius: 28px 8px 28px 8px;
  border: 1px solid #dce3d4;
  background:
    radial-gradient(circle at 75% 15%, #e8dfbe88, transparent 60%), #edf1e6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #527257;
}
#community .community-header-art span {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 750;
}
#community .community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
#community .community-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
}
#community .community-sidebar .panel {
  margin: 0;
  padding: 26px;
}
#community .composer {
  padding: 26px;
  border-radius: 18px;
  border-top: 3px solid #b2a071;
  margin-bottom: 28px;
  box-shadow: 0 6px 24px #293e2d08;
}
#community .community-composer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
#community .composer .social-author {
  margin: 0;
  min-width: 0;
}
#community .community-members-only {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #6a7b67;
  background: #f0f3eb;
  padding: 6px 10px;
  border-radius: 20px;
}
#community .composer .community-compose-body {
  margin: 0;
}
#community .community-compose-body textarea {
  display: block;
  width: 100%;
  min-height: 138px;
  resize: vertical;
  border: 1px solid #e1e6da;
  background: #f7f8f3;
  border-radius: 12px;
  padding: 18px;
  font-size: 18px;
  line-height: 1.6;
}
#community .community-compose-body > .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#community .community-compose-body textarea::placeholder {
  color: #81917f;
  opacity: 1;
}
#community .community-attach {
  margin-top: 16px;
  border-bottom: 1px solid #e5e8df;
  padding-bottom: 16px;
}
#community .community-attach > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 15px;
  font-weight: 650;
  color: #426b4e;
  cursor: pointer;
  width: fit-content;
  padding: 4px 0;
}
#community .community-attach > summary::-webkit-details-marker {
  display: none;
}
#community .community-attach > summary > span {
  color: #84907e;
  font-weight: 400;
  font-size: 13px;
  margin-left: 3px;
}
#community .community-attach > div {
  padding-top: 14px;
}
#community .community-attach .fine {
  margin: 10px 0 0;
  font-size: 14px;
}
#community .community-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
#community .community-compose-footer > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7c8974;
}
#community .community-compose-footer > .button {
  min-width: 150px;
  gap: 12px;
}
#community .community-feed-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0 20px;
}
#community .community-feed-heading .eyebrow {
  margin: 0 0 6px;
  font-size: 10px;
}
#community .community-feed-heading h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0;
}
#community .community-feed-heading > .button {
  border-radius: 24px;
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
}
#community .community-connect-card {
  background: linear-gradient(155deg, #fffefa 45%, #eef2e7);
}
#community .community-connect-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #dbe4d3;
  border-radius: 14px;
  background: #edf3e5;
  color: #527d58;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}
#community .community-connect-card .eyebrow {
  font-size: 10px;
  line-height: 1.6;
  margin-bottom: 10px;
}
#community .community-connect-card h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 0 0 14px;
}
#community .community-connect-card p:not(.eyebrow) {
  font-size: 16px;
  color: #62765e;
  line-height: 1.6;
  margin-bottom: 24px;
}
#community .community-connect-card .button {
  justify-content: space-between;
  font-size: 14px;
  padding: 12px;
}
#community .community-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}
#community .community-guidelines > summary {
  font-size: 15px;
  font-weight: 700;
  color: #5e7158;
  cursor: pointer;
}
#community .community-guidelines ul {
  padding-left: 18px;
  margin-bottom: 0;
  font-size: 14px;
  color: #74816e;
  line-height: 1.7;
}
#community .community-guidelines li + li {
  margin-top: 10px;
}
#community .social-post {
  position: relative;
  border-radius: 18px;
  border: 1px solid #dbe2d5;
  box-shadow: 0 4px 20px #29432c07;
  margin-bottom: 22px;
  padding: 26px;
  overflow: visible;
}
#community .social-post > .social-author {
  align-items: start;
  gap: 12px;
  padding-bottom: 0;
}
#community .social-author .member-name {
  font-size: 18px;
  font-weight: 750;
}
#community .social-author small {
  font-size: 13px !important;
  color: #748270;
}
#community .member-location {
  font-size: 13px;
}
#community .post-body {
  font-size: 18px;
  line-height: 1.7;
  margin: 22px 0;
  color: #354d3d;
  overflow-wrap: anywhere;
}
#community .post-body.post-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#community .post-read-more {
  padding: 0;
  min-height: 30px;
  margin: -14px 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #456c4a;
  font-weight: 700;
}
#community .post-menu {
  position: relative;
  display: block;
  margin-left: auto;
  flex-shrink: 0;
}
#community .post-menu > summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  border-radius: 9px;
  font-size: 27px;
  line-height: 1;
  color: #6b7c65;
  cursor: pointer;
}
#community .post-menu > summary::-webkit-details-marker {
  display: none;
}
#community .post-menu > summary:hover,
#community .post-menu[open] > summary {
  background: #eef3e8;
}
#community .post-menu > div {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 8;
  background: #fffefa;
  border: 1px solid #dce4d3;
  border-radius: 12px;
  box-shadow: 0 10px 28px #233e2c22;
  padding: 6px;
  min-width: 150px;
}
#community .post-menu .button {
  width: 100%;
  justify-content: start;
  font-size: 14px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 7px;
  color: #526a4c;
}
#community .post-menu .button:hover {
  background: #eef3e8;
  color: #244b31;
}
#community .social-reaction-summary {
  font-size: 14px;
  margin: 18px 0 12px;
}
#community .reaction-bar {
  gap: 10px;
  padding-top: 12px;
}
#community .reaction-bar .button {
  min-height: 44px;
  border-radius: 9px;
  padding: 10px;
  font-size: 15px;
}
#community .reaction-bar .button .reaction-label {
  font: inherit;
  background: transparent;
  padding: 0;
  color: inherit;
}
#community .reaction-bar .button:hover {
  background: #f2f5ec;
  color: #32583d;
}
#community .reaction-bar .button.reacted {
  background: #e9f1e2;
  color: #22623e;
}
#community .shared-listing {
  display: grid;
  grid-template-columns: minmax(140px, 36%) minmax(0, 1fr);
  border-radius: 12px;
  margin: 22px 0;
}
#community .shared-photo {
  height: 100%;
  min-height: 180px;
  font-size: 14px;
  text-align: center;
}
#community .shared-info {
  padding: 22px;
  min-width: 0;
}
#community .shared-info > strong {
  font-size: 28px;
}
#community .shared-info h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
}
#community .shared-info .eyebrow {
  font-size: 9px;
}
#community .shared-info p {
  font-size: 14px;
}
#community .shared-info > span:last-child {
  font-size: 13px;
}
#community .discussion:not(:empty) {
  padding-top: 20px;
}
#community .discussion form textarea {
  min-height: 76px;
  border-radius: 12px;
  background: #f8faf4;
  font-size: 16px;
}
#community .reply-bubble {
  background: #f1f4eb;
  border-radius: 0 14px 14px;
}
#community .comment-actions .button {
  font-size: 13px;
}
@media (max-width: 1000px) {
  #community {
    max-width: 780px;
  }
  #community .community-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  #community .community-layout > aside {
    display: none;
  }
}
@media (max-width: 600px) {
  #community .community-header {
    padding: 4px 0 24px;
    margin-bottom: 22px;
  }
  #community .community-header-art {
    display: none;
  }
  #community .community-header .eyebrow {
    font-size: 10px;
  }
  #community .community-header h1 {
    font-size: 34px;
  }
  #community .community-header p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.55;
  }
  #community .composer,
  #community .social-post {
    padding: 20px;
    border-radius: 15px;
  }
  #community .community-composer-heading {
    gap: 8px;
  }
  #community .community-members-only {
    font-size: 10px;
    padding: 5px 8px;
  }
  #community .community-compose-body textarea {
    font-size: 17px;
    min-height: 126px;
    padding: 15px;
  }
  #community .community-compose-footer > span {
    display: none;
  }
  #community .community-compose-footer > .button {
    margin-left: auto;
    min-height: 44px;
  }
  #community .community-feed-heading h2 {
    font-size: 24px;
  }
  #community .community-feed-heading .eyebrow {
    font-size: 9px;
  }
  #community .social-author .member-name {
    font-size: 17px;
  }
  #community .social-author .avatar-letter {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  #community .post-body {
    font-size: 17px;
    margin: 20px 0;
  }
  #community .shared-listing {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  #community .shared-photo {
    min-height: 168px;
  }
  #community .shared-info {
    padding: 16px;
  }
  #community .shared-info > strong {
    font-size: 24px;
  }
  #community .shared-info h3 {
    font-size: 17px;
  }
  #community .shared-info p {
    font-size: 13px;
  }
}

/* Messages are organized around people, with property context kept alongside replies. */
#messages-page {
  max-width: 1260px;
  margin-inline: auto;
}
#messages-page .messages-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 28px;
}
#messages-page .messages-heading .eyebrow {
  font-size: 11px;
  margin: 0 0 10px;
}
#messages-page .messages-heading h1 {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0;
}
#messages-page .messages-heading p:not(.eyebrow) {
  font-size: 18px;
  color: #647767;
  margin: 12px 0 0;
}
#messages-page .messages-heading > .button {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 24px;
}
#messages-page .messages-workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  height: clamp(540px, calc(100dvh - 260px), 800px);
  border: 1px solid #d9e2d2;
  border-radius: 20px;
  overflow: hidden;
  background: #fffefa;
  box-shadow: 0 8px 30px #263d2a09;
}
#messages-page .message-contacts {
  border-right: 1px solid #e0e6d8;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fbfcf8;
}
#messages-page .message-contacts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 22px 18px;
}
#messages-page .message-contacts-heading h2 {
  font-size: 20px;
  margin: 0;
}
#messages-page .message-contacts-heading > span {
  font-size: 12px;
  border: 1px solid #dfe6d6;
  background: #eef3e7;
  color: #658058;
  border-radius: 20px;
  padding: 3px 8px;
}
#messages-page .message-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5d7;
  border-radius: 10px;
  margin: 0 18px 18px;
  padding: 0 12px;
  background: white;
  color: #82917b;
}
#messages-page .message-search input {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  outline-offset: 0;
  font-size: 14px;
  padding: 10px 0;
}
#messages-page .message-search:focus-within {
  border-color: #8caa80;
  outline: 2px solid #8caa80;
  outline-offset: 2px;
}
#messages-page .message-search input:focus,
#messages-page .message-search input:focus-visible {
  outline: none;
  box-shadow: none;
}
#messages-page .message-search svg {
  flex-shrink: 0;
}
#messages-page .message-contact-list {
  overflow-y: auto;
  padding: 0 10px 12px;
  min-height: 0;
  flex: 1;
}
#messages-page .message-contact {
  display: flex;
  align-items: start;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 16px 12px;
  background: transparent;
  color: #354f3a;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}
#messages-page .message-contact + .message-contact {
  margin-top: 5px;
}
#messages-page .message-contact:hover {
  color: #244a31;
  background: #f0f4e9;
}
#messages-page .message-contact.selected {
  background: #eaf1e3;
  border-color: #d9e4d0;
  color: #284c32;
}
#messages-page .message-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: #e5edda;
  border: 1px solid #d6e1cc;
  color: #557b46;
  font-weight: 750;
  font-size: 18px;
  overflow: hidden;
}
#messages-page .message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#messages-page .message-contact-copy {
  flex: 1;
  min-width: 0;
}
#messages-page .message-contact-copy > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: space-between;
}
#messages-page .message-contact-copy strong {
  font-size: 15px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#messages-page .message-contact-copy time {
  font-size: 11px;
  font-weight: 400;
  color: #809075;
  white-space: nowrap;
  flex-shrink: 0;
}
#messages-page .message-contact-copy > small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 400;
  color: #728568;
  margin-top: 5px;
}
#messages-page .message-deal-count {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #819375;
}
#messages-page .message-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
#messages-page .message-thread-heading {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e1e6d9;
}
#messages-page .message-thread-heading > div {
  min-width: 0;
}
#messages-page .message-thread-heading h2 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}
#messages-page .message-thread-heading p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #7a8d70;
}
#messages-page .message-profile-link {
  font-size: 13px;
  font-weight: 650;
  flex-shrink: 0;
  margin-left: auto;
}
#messages-page .message-mobile-back {
  display: none;
}
#messages-page .message-history {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 26px;
  background: #f4f6ef;
  overscroll-behavior: contain;
}
#messages-page .message-bubble-row {
  display: flex;
  margin-bottom: 16px;
}
#messages-page .message-bubble-row:last-child {
  margin-bottom: 0;
}
#messages-page .message-bubble-row.outgoing {
  justify-content: flex-end;
}
#messages-page .message-bubble {
  max-width: 82%;
  min-width: 80px;
  background: #fffefa;
  border: 1px solid #e1e7d8;
  border-radius: 16px 16px 16px 3px;
  padding: 15px 18px 11px;
  box-shadow: 0 2px 4px #263f2b04;
}
#messages-page .outgoing .message-bubble {
  border-color: #23583e;
  background: #265c42;
  border-radius: 16px 16px 3px 16px;
  color: #fffefa;
}
#messages-page .outgoing .message-bubble p {
  color: #fffefa;
}
#messages-page .message-bubble p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#messages-page .message-sender {
  display: block;
  font-size: 12px;
  color: #69805c;
  margin-bottom: 7px;
}
#messages-page .message-context-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.5;
  margin: 0 0 8px;
  color: #819374;
}
#messages-page .message-context-label svg {
  flex-shrink: 0;
}
#messages-page .outgoing .message-context-label {
  color: #d4e1c7;
}
#messages-page .message-time {
  margin-top: 7px;
  text-align: right;
  font-size: 11px;
  color: #91a085;
}
#messages-page .outgoing .message-time {
  color: #c4d5b5;
}
#messages-page .message-composer {
  flex-shrink: 0;
  padding: 16px 22px 20px;
  border-top: 1px solid #e0e7d8;
  background: #fffefa;
}
#messages-page .message-compose-context {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7b8e6d;
  margin-bottom: 12px;
  font-size: 13px;
}
#messages-page .message-compose-context > svg {
  flex-shrink: 0;
}
#messages-page .message-compose-context > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
#messages-page .message-compose-context label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  margin: 0;
}
#messages-page .message-compose-context select {
  min-width: 0;
  width: auto;
  flex: 1;
  min-height: 34px;
  padding: 6px 24px 6px 9px;
  font-size: 13px;
  border-color: #e0e6d8;
}
#messages-page .message-text-label {
  margin: 0;
}
#messages-page .message-text-label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#messages-page .message-text-label textarea {
  min-height: 74px;
  max-height: 160px;
  resize: vertical;
  border-radius: 12px;
  border-color: #dce4d2;
  font-size: 16px;
  padding: 13px 15px;
  line-height: 1.5;
}
#messages-page .message-compose-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
}
#messages-page .message-compose-bottom > .button {
  font-size: 14px;
  min-height: 42px;
  padding: 10px 17px;
  gap: 10px;
}
#messages-page .message-send-status {
  font-size: 13px;
  color: #6e805f;
  margin: 0;
  flex: 1;
}
#messages-page .message-unavailable {
  padding: 18px 24px;
  font-size: 14px;
  color: #7e8b70;
  border-top: 1px solid #e3e7db;
}
#messages-page .message-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
  background: #f6f8f0;
}
#messages-page .message-empty > svg {
  color: #93a780;
  margin-bottom: 26px;
}
#messages-page .message-empty h2 {
  font-size: 28px;
  line-height: 1.2;
  max-width: 320px;
}
#messages-page .message-empty p {
  font-size: 16px;
  color: #7b8e6a;
  max-width: 300px;
  margin: 4px 0 24px;
}
#messages-page .message-list-empty {
  text-align: center;
  padding: 40px 22px;
  color: #8b9d7c;
  font-size: 14px;
}
#messages-page .message-list-empty strong {
  display: block;
  margin-top: 16px;
  color: #526c47;
}
#messages-page .message-list-empty p {
  font-size: 14px;
}
@media (max-width: 1100px) and (min-width: 801px) {
  #messages-page .messages-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  #messages-page .messages-heading {
    margin-bottom: 22px;
  }
  #messages-page .messages-heading .eyebrow {
    display: none;
  }
  #messages-page .messages-heading h1 {
    font-size: 32px;
  }
  #messages-page .messages-heading p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.5;
  }
  #messages-page .messages-heading > .button {
    font-size: 13px;
    min-height: 36px;
    padding: 8px 14px;
  }
  #messages-page .messages-workspace {
    grid-template-columns: minmax(0, 1fr);
    height: max(520px, calc(100dvh - 300px));
    border-radius: 16px;
  }
  #messages-page .message-contacts {
    border-right: 0;
  }
  #messages-page .message-thread {
    display: none;
  }
  #messages-page.has-thread .message-contacts {
    display: none;
  }
  #messages-page.has-thread .message-thread {
    display: flex;
  }
  #messages-page .message-thread-heading {
    padding: 16px;
    gap: 10px;
  }
  #messages-page .message-thread-heading h2 {
    font-size: 18px;
  }
  #messages-page .message-mobile-back {
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: #edf2e6;
    color: #658252;
    width: 32px;
    height: 36px;
    font-size: 20px;
    flex-shrink: 0;
  }
  #messages-page .message-thread-heading > .message-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 16px;
  }
  #messages-page .message-profile-link {
    font-size: 0;
  }
  #messages-page .message-profile-link::after {
    content: "↗";
    font-size: 20px;
  }
  #messages-page .message-history {
    padding: 18px 14px;
  }
  #messages-page .message-bubble {
    max-width: 91%;
    padding: 12px 14px 9px;
  }
  #messages-page .message-bubble p {
    font-size: 15px;
  }
  #messages-page .message-composer {
    padding: 14px;
  }
  #messages-page .message-compose-bottom > .button {
    padding: 9px 14px;
    font-size: 13px;
    min-height: 40px;
  }
}
#messages-page .message-contact.unread {
  background: #eff5f1;
  border-color: #a3bcb0;
  box-shadow: inset 3px 0 #23634e;
}
#messages-page .message-contact.unread .message-contact-copy > small {
  color: #254c3d;
  font-weight: 650;
}
#messages-page .message-unread-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 20px;
  background: #235b46;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.profile-edit.has-profile-changes {
  padding-bottom: 180px;
}
.has-profile-changes .profile-save {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: 20px;
  width: min(640px, calc(100% - 40px));
  z-index: 25;
  padding: 16px 20px;
  border: 1px solid #bbcabe;
  border-radius: 16px;
  background: #fffefa;
  box-shadow: 0 8px 40px #253b3226;
}
.has-profile-changes .profile-save > .fine {
  display: none;
}
#app .workspace .profile-save .profile-unsaved {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 650;
  color: #254c3d;
}
.profile-save .form-error:empty {
  display: none;
}
@media (max-width: 650px) {
  .has-profile-changes .profile-save {
    bottom: max(12px, env(safe-area-inset-bottom));
    right: 12px;
    width: calc(100% - 24px);
    padding: 12px;
  }
  .has-profile-changes .profile-save .actions {
    display: flex;
    flex-wrap: nowrap;
  }
  .has-profile-changes .profile-save .actions > * {
    flex: 1;
    justify-content: center;
  }
}
/* Offers and buyer relationships */
.work-page {
  max-width: 1320px;
  margin-inline: auto;
}
.work-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}
#app .work-page-heading h1 {
  margin: 0 0 10px;
}
#app .work-page-heading p {
  font-size: 20px;
  margin: 0;
}
.work-page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.work-filters {
  display: flex;
  gap: 10px;
  margin: 0 0 26px;
  padding: 2px 2px 7px;
  overflow-x: auto;
}
#app .work-filter {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d8e0d2;
  border-radius: 12px;
  background: #fffefa;
  color: #4b6353;
  white-space: nowrap;
  box-shadow: none;
  min-height: 60px;
  font-size: 15px;
}
#app .work-filter b {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  padding: 0 6px;
  background: #eef2e9;
  border-radius: 7px;
  font-size: 15px;
}
#app .work-filter:hover {
  background: #eef3e9;
  color: #284f3c;
}
#app .work-filter[aria-pressed="true"] {
  background: #254e3c;
  color: #fffdf3;
  border-color: #254e3c;
}
#app .work-filter[aria-pressed="true"] b {
  background: #ffffff1c;
  color: #fffdf3;
}
.work-collection {
  background: #fafbf7;
  border: 1px solid #dce2d5;
  border-radius: 20px;
  padding: 26px;
}
.work-collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
#app .work-collection-heading h2 {
  margin: 0;
  font-size: 24px;
}
.work-collection-heading > span {
  font-size: 14px;
  color: #647561;
}
.work-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  margin: 22px 0 24px;
}
#app .work-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border: 1px solid #d3ddd1;
  border-radius: 10px;
  background: white;
  padding: 0 15px;
  height: 50px;
  margin: 0;
  color: #68806b;
  min-width: 0;
}
.work-search > svg {
  flex-shrink: 0;
}
#app .work-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  margin: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
}
#app .work-search:focus-within {
  border-color: #8ba781;
  outline: 2px solid #8ba781;
  outline-offset: 2px;
}
#app .work-direction {
  margin: 0;
}
#app .work-direction select {
  margin: 0;
  height: 50px;
  width: 100%;
  background-color: white;
}
.work-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  overflow: hidden;
}
#offers-results,
#buyers-results {
  display: grid;
  gap: 16px;
}
#app .workspace .deal-offer-card {
  margin: 0;
  padding: 24px;
  border: 1px solid #d8e1d1;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 3px 8px #263c3203;
}
#app .workspace .deal-offer-card.needs-response {
  border-color: #d6c89c;
  box-shadow: inset 3px 0 #b5a06c;
}
.deal-offer-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.offer-direction {
  display: block;
  font-size: 14px;
  color: #677865;
  margin: 0 0 8px;
}
#app .workspace .deal-offer-heading h2 {
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 9px;
}
#app .workspace .deal-offer-heading p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  margin: 0;
}
.work-status {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dde4d7;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  color: #586d5e;
  background: #f2f5ef;
}
.work-status.status-response,
.work-status.status-pending {
  background: #fbf4e3;
  border-color: #e9d9b0;
  color: #80632d;
}
.work-status.status-accepted {
  background: #eaf3e7;
  border-color: #d2e3ce;
  color: #2e6342;
}
.work-status.status-countered {
  background: #eef3f8;
  border-color: #dbe4ec;
  color: #47637b;
}
.work-status.status-denied,
.work-status.status-removed {
  background: #faf0ec;
  border-color: #ebd6cc;
  color: #88503c;
}
.deal-offer-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.deal-offer-amount {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.deal-offer-amount > span {
  font-size: 14px;
  color: #64755e;
}
#app .deal-offer-amount > strong {
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  color: #28583d;
}
#app .deal-offer-amount > small {
  font-size: 13px;
  color: #6a7966;
}
.deal-offer-message {
  padding: 16px 18px;
  border-radius: 10px;
  background: #f5f7f0;
  min-width: 0;
}
.deal-offer-message > span {
  color: #64755e;
  font-size: 13px;
}
#app .deal-offer-message p {
  margin: 8px 0 0;
  font-size: 16px;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.deal-offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8ebe1;
}
#app .deal-offer-footer > p {
  margin: 0;
  font-size: 14px;
  color: #61745f;
  max-width: 440px;
}
.deal-offer-footer .actions {
  margin: 0;
  gap: 8px;
  flex-wrap: nowrap;
}
#app .deal-offer-footer .actions .button {
  font-size: 14px;
  padding: 10px 17px;
}
#app .deal-offer-footer [data-decision="Deny"] {
  color: #945741;
  border-color: #e5d8d0;
}
#app .deal-offer-footer [data-decision="Deny"]:hover {
  background: #f9eee8;
  color: #79412d;
}
.deal-offer-history {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf0e6;
}
.deal-offer-history > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #5f735c;
  cursor: pointer;
}
.deal-offer-history > summary::-webkit-details-marker {
  display: none;
}
.deal-offer-history > summary > span {
  margin-left: auto;
  font-size: 13px;
}
.deal-offer-history[open] > summary > svg:last-child {
  transform: rotate(180deg);
}
.deal-offer-history .offer-history {
  margin-top: 24px;
}
.work-empty {
  padding: 44px 20px;
  text-align: center;
}
.work-empty-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 80px;
  margin: 0 auto 20px;
  background: #f0f4e9;
  color: #78966c;
  border: 1px solid #dce5d3;
  border-radius: 15px;
}
#app .work-empty h3 {
  font-size: 25px;
  margin: 0 0 12px;
}
#app .work-empty p {
  max-width: 440px;
  margin: 0 auto 22px;
  font-size: 17px;
}
#app .work-footnote {
  font-size: 14px;
  color: #63755f;
  margin: 18px 3px 0;
  line-height: 1.6;
}
.buyer-toolbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.work-toolbar-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #64775f;
  font-size: 13px;
}
.work-toolbar-note svg {
  flex-shrink: 0;
}
.buyer-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #dbe3d4;
  background: #fffefa;
  border-radius: 13px;
  padding: 19px 20px;
}
.buyer-member-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.work-avatar {
  display: grid;
  place-items: center;
  background: #eaf0e2;
  border: 1px solid #d8e2cf;
  color: #416d49;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}
.buyer-member-identity strong {
  font-size: 17px;
  display: block;
  overflow-wrap: anywhere;
}
#app .buyer-member-identity small {
  display: block;
  font-size: 14px;
  color: #6c7c65;
  margin-top: 5px;
  line-height: 1.5;
}
.buyer-member-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.buyer-member-menu {
  position: relative;
}
.buyer-member-menu > summary {
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  font-size: 24px;
  color: #6c7d66;
  width: 30px;
  height: 32px;
}
.buyer-member-menu > summary::-webkit-details-marker {
  display: none;
}
#app .buyer-member-menu > .button {
  position: absolute;
  right: 0;
  top: 36px;
  width: 180px;
  padding: 13px;
  font-size: 14px;
  z-index: 3;
  background: #fffefa;
  color: #8d4e37;
  border: 1px solid #e2dacf;
  border-radius: 9px;
  box-shadow: 0 7px 22px #233d2620;
}
.buyer-former {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.buyer-deliveries h3,
.buyer-former h3 {
  margin: 0 0 14px;
  font-size: 20px;
}
.delivery-card {
  padding: 20px;
  border: 1px solid #dce4d4;
  background: #fffefa;
  border-radius: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
#app .delivery-card h4 {
  font-size: 18px;
  margin: 0 0 8px;
}
#app .delivery-card small {
  font-size: 13px;
  color: #6a7b63;
}
.delivery-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.delivery-badges > span {
  padding: 8px 10px;
  border-radius: 7px;
  background: #f1f5eb;
  color: #5a7153;
  font-size: 13px;
}
#dialog:has(.campaign-composer),
#dialog:has(.campaign-review),
#dialog:has(form[data-form="offer"]) {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #d3ddcb;
  border-radius: 19px;
  background: #fffefa;
  box-shadow: 0 20px 100px #1e382e38;
}
#dialog:has(.campaign-composer)::backdrop,
#dialog:has(.campaign-review)::backdrop,
#dialog:has(form[data-form="offer"])::backdrop {
  background: #20382d75;
  backdrop-filter: blur(3px);
}
#dialog .work-dialog-close {
  padding: 8px;
  min-height: 36px;
  min-width: 36px;
  border: 0;
  box-shadow: none;
  background: #f0f3e9;
}
#dialog:has(.campaign-composer) .dialog-heading,
#dialog:has(.campaign-review) .dialog-heading {
  align-items: flex-start;
  margin-bottom: 24px;
}
#dialog .dialog-heading p {
  font-size: 15px;
  margin: 9px 0 0;
}
.campaign-composer > label {
  margin-bottom: 20px;
}
.campaign-composer .delivery-channels {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  padding: 16px;
}
.campaign-composer .delivery-channels legend,
.campaign-composer .recipient-list legend {
  font-size: 16px;
}
.campaign-composer .delivery-option {
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: row;
  gap: 9px;
  margin: 0;
  font-size: 15px;
}
.delivery-option input {
  accent-color: #28583d;
  width: 17px;
  height: 17px;
}
.delivery-option:has(input:disabled) {
  color: #7c8578;
}
.delivery-option small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.campaign-composer .recipient-list {
  padding: 16px;
}
#campaign-recipient-count {
  font-size: 13px;
  font-weight: 400;
  color: #64765e;
  margin-left: 6px;
}
.recipient-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.recipient-tools input {
  width: 100%;
  min-width: 0;
  flex: 1;
}
#dialog .recipient-tools .button {
  min-width: 0;
  font-size: 13px;
  padding: 6px;
}
.campaign-recipient-list {
  max-height: 240px;
  overflow: auto;
}
#dialog .campaign-recipient {
  display: flex;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid #e8ecdf;
}
#dialog .campaign-recipient[hidden] {
  display: none;
}
#dialog .campaign-recipient strong {
  font-size: 15px;
}
#dialog .campaign-recipient small {
  font-size: 13px;
  color: #6e7d66;
  margin-top: 3px;
}
.work-dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e3e8d9;
}
.campaign-preview {
  border: 1px solid #dbe3d1;
  border-radius: 12px;
  padding: 22px;
  background: #f8faf2;
}
#dialog .campaign-preview h3 {
  font-size: 23px;
  margin: 0 0 14px;
}
#dialog .campaign-preview p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.campaign-review-recipients {
  margin: 20px 0;
  font-size: 15px;
}
.campaign-review-recipients summary {
  cursor: pointer;
}
.campaign-review-recipients > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.campaign-review-recipients span {
  background: #edf2e5;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 14px;
}
@media (max-width: 1100px) {
  .work-page-heading {
    flex-wrap: wrap;
  }
  .work-filters .work-filter {
    flex-shrink: 0;
    flex-basis: auto;
  }
  .deal-offer-body {
    grid-template-columns: 210px 1fr;
    gap: 20px;
  }
  .buyer-toolbar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  #app .work-page-heading p {
    font-size: 17px;
  }
  .work-page-heading {
    gap: 20px;
    margin-bottom: 24px;
  }
  .work-page-actions {
    width: 100%;
  }
  .work-page-actions .button {
    flex: 1;
    justify-content: center;
    font-size: 14px;
    padding: 12px 10px;
  }
  #app .work-filter {
    padding: 13px 14px;
    min-height: 52px;
    font-size: 14px;
    flex: 0 0 auto;
  }
  .work-collection {
    padding: 19px 14px;
    border-radius: 15px;
  }
  #app .work-collection-heading h2 {
    font-size: 21px;
  }
  .work-collection-heading > span {
    font-size: 13px;
  }
  .work-toolbar {
    grid-template-columns: 1fr;
  }
  #app .workspace .deal-offer-card {
    padding: 20px 16px;
  }
  .deal-offer-heading {
    flex-direction: column;
    gap: 14px;
  }
  #app .workspace .deal-offer-heading h2 {
    font-size: 23px;
  }
  .deal-offer-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 0;
  }
  #app .deal-offer-amount > strong {
    font-size: 31px;
  }
  .deal-offer-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .deal-offer-footer .actions {
    flex-wrap: wrap;
  }
  #app .deal-offer-footer .actions .button {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
  .deal-offer-history .offer-event > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .buyer-member {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px;
    gap: 16px;
  }
  .buyer-member-actions {
    justify-content: space-between;
    border-top: 1px solid #edf0e4;
    padding-top: 12px;
  }
  .buyer-member-identity strong {
    font-size: 17px;
  }
  .work-toolbar-note {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
  }
  .delivery-card {
    flex-direction: column;
    padding: 18px;
  }
  .work-empty {
    padding: 32px 8px;
  }
  #app .work-empty h3 {
    font-size: 23px;
  }
  #app .work-empty p {
    font-size: 16px;
  }
  #dialog:has(.campaign-composer),
  #dialog:has(.campaign-review),
  #dialog:has(form[data-form="offer"]) {
    padding: 22px 18px;
    width: calc(100% - 16px);
    border-radius: 15px;
    max-height: calc(100dvh - 20px);
  }
  .campaign-composer .delivery-channels {
    flex-direction: column;
    gap: 17px;
  }
  .campaign-composer .recipient-list {
    padding: 13px;
  }
  .work-dialog-footer > .button {
    flex: 1;
    justify-content: center;
    padding: 12px 10px;
    font-size: 14px;
  }
}
#dialog .campaign-composer .work-dialog-footer {
  position: sticky;
  bottom: 0;
  padding-block: 16px;
  background: #fffefa;
  z-index: 2;
}
@media (max-width: 650px) {
  .campaign-composer .delivery-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }
  .campaign-composer .delivery-option {
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
  }
}
