:root {
  --ink: #172824;
  --muted: #71807a;
  --green: #245f4d;
  --bright: #b7e25e;
  --cream: #f7f8f3;
  --line: #e8ece6;
  --white: #fff;
  --font: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-header { height: 78px; padding: 0 max(calc((100vw - 1200px) / 2), 5.5vw); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0f2ed; }
.brand { display: flex; align-items: center; gap: 9px; font: 800 20px var(--display); letter-spacing: -.8px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px 9px 9px 3px; background: var(--green); color: white; font: 700 16px var(--display); }
.brand-dot { color: #91bb44; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #53625c; font-size: 13px; font-weight: 600; }
.main-nav a:hover, .nav-link:hover { color: var(--green); }
.main-nav .nav-cta { padding: 11px 17px; color: white; background: var(--green); border-radius: 7px; }
.nav-user { color: var(--green); }
.nav-form { margin: 0; }
.nav-link { border: 0; background: transparent; padding: 0; color: #53625c; font: 600 13px var(--font); cursor: pointer; }
.hero { position: relative; min-height: 340px; padding: 57px max(calc((100vw - 1200px) / 2), 5.5vw) 49px; overflow: hidden; background: #f5f7f1; }
.hero-copy { position: relative; z-index: 1; width: min(52%, 570px); }
.eyebrow { color: #688176; font-size: 10px; font-weight: 700; letter-spacing: 1.65px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #9ac24b; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 17px 0 13px; font: 800 clamp(38px, 4.3vw, 54px)/1.07 var(--display); letter-spacing: -2.7px; }
.hero h1 span { color: var(--green); }
.hero-copy > p { max-width: 425px; margin-bottom: 21px; color: #687871; font-size: 14px; line-height: 1.75; }
.hero-proof { display: flex; align-items: center; gap: 9px; color: #53655d; font-size: 12px; font-weight: 600; }
.proof-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #d6e0d3; border-radius: 50%; color: var(--green); }
.hero-art { position: absolute; width: 430px; height: 290px; bottom: 0; right: max(calc((100vw - 1130px) / 2), 3vw); overflow: hidden; }
.art-sun { position: absolute; top: 28px; right: 93px; width: 100px; height: 100px; border-radius: 50%; background: #e3edcf; }
.art-building { position: absolute; bottom: 28px; border-radius: 5px 5px 0 0; }
.back-building { right: 212px; width: 133px; height: 132px; background: #b8cdbb; transform: skewY(-6deg); }
.front-building { right: 69px; width: 167px; height: 183px; background: #315d4d; box-shadow: -11px 0 0 #70977d; }
.art-window { position: absolute; z-index: 1; width: 30px; height: 35px; border: 4px solid rgba(241,246,224,.8); background: #d3e2be; }
.w1 { right: 184px; bottom: 79px; }.w2 { right: 130px; bottom: 79px; }.w3 { right: 184px; bottom: 137px; }.w4 { right: 130px; bottom: 137px; }
.art-plant { position: absolute; z-index: 2; right: 40px; bottom: 27px; width: 47px; height: 49px; border-radius: 50% 50% 7px 7px; background: #819d69; }
.art-ground { position: absolute; bottom: 0; right: 0; width: 100%; height: 29px; background: #dbe3d3; }
.workspace { display: grid; grid-template-columns: minmax(380px, .82fr) minmax(580px, 1.18fr); gap: 40px; max-width: 1380px; margin: 0 auto; padding: 47px 26px 74px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 27px; }
.section-heading h2 { margin: 7px 0 0; font: 700 24px var(--display); letter-spacing: -.8px; }
.sample-scenario { margin: -10px 0 20px; padding: 13px 15px; border-left: 3px solid #9ac24b; border-radius: 0 6px 6px 0; background: #f5f8f1; color: #617168; font-size: 11px; line-height: 1.65; }
.sample-scenario strong { color: #334d3e; }
.step-tag { padding: 7px 10px; border-radius: 5px; background: #f1f5ee; color: #66766e; font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.step-tag span { margin-right: 5px; color: #4a795f; }
.field-group { padding: 0 0 25px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.field-group h3 { margin: 0 0 17px; font: 700 14px var(--display); }
.field-icon { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 7px; border-radius: 6px; background: #eff5e8; color: #4d7759; font-size: 15px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field-wide { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 7px; color: #394a43; font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #dfe5df; border-radius: 6px; outline: 0; background: white; color: var(--ink); font: 13px var(--font); transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.field input[type="checkbox"] { width: 18px; height: 18px; padding: 0; border-radius: 4px; accent-color: #4a795f; }
.field textarea { height: 84px; padding-top: 10px; resize: vertical; }
.field input:focus, .field select:focus { border-color: #7da68a; box-shadow: 0 0 0 3px #eaf2e8; }
.field input::placeholder { color: #a4ada8; }
.field input[readonly] { background: #f3f6f1; color: #607066; cursor: default; }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: #f3f6f1; color: #607066; cursor: not-allowed; opacity: 1; }
.ltv-derived-summary { color: #4f775e !important; font-weight: 700; }
.field small { display: block; margin-top: 5px; color: #84918b; font-size: 10px; line-height: 1.45; }
.field small.error, .error { color: #a3403b; }
.form-errors { margin-bottom: 16px; padding: 11px; border-radius: 6px; background: #fff0ef; color: #963b35; font-size: 12px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; font: 700 12px var(--font); cursor: pointer; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: #194f3d; }
.button-primary span { font-size: 17px; font-weight: 400; }
.button-secondary { border-color: #dce5dc; background: white; color: var(--green); }
.save-hint { color: #64806d; font-size: 11px; font-weight: 600; }
.results-column { padding-top: 44px; }
.empty-results { padding: 25px 27px 23px; border: 1px solid #e8ece6; border-radius: 10px; background: #fbfcf9; }
.empty-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 10px; background: #e9f1e2; color: var(--green); font-size: 23px; }
.empty-results h2 { margin: 11px 0 10px; font: 800 25px/1.18 var(--display); letter-spacing: -1px; }
.empty-results > p { max-width: 310px; margin-bottom: 20px; color: #7a8881; font-size: 12px; line-height: 1.7; }
.preview-metrics { display: grid; gap: 11px; padding-top: 17px; border-top: 1px solid var(--line); }
.preview-metrics span { color: #506159; font-size: 11px; font-weight: 600; }
.preview-metrics i { display: inline-block; width: 28px; color: #92ae7e; font-size: 9px; font-style: normal; font-weight: 700; }
.tip-card { display: flex; gap: 11px; margin-top: 14px; padding: 14px; border-radius: 7px; background: #f4f7ef; }
.tip-mark { flex: 0 0 19px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #bbceb2; border-radius: 50%; color: #54755b; font: 700 11px var(--display); }
.tip-card p { margin: 0; color: #6c7d72; font-size: 10px; line-height: 1.6; }
.tip-card strong { color: #42584a; }
.results-card { padding: 22px; border: 1px solid #e5ebe3; border-radius: 10px; background: #fff; box-shadow: 0 10px 35px rgba(34, 69, 48, .06); }
.rate-stress { margin: 15px 0; padding: 14px; border: 1px solid #e5ebe3; border-radius: 7px; background: #fbfcf9; }
.rate-stress-heading h3 { margin: 0 0 4px; color: #30493b; font: 700 12px var(--display); }
.rate-stress-heading p { margin: 0 0 10px; color: #78867e; font-size: 9px; line-height: 1.5; }
.rate-stress-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.rate-stress-rate-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px; border: 1px solid #e5ebe3; border-radius: 5px; background: #fff; cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.rate-stress-rate-button:hover { border-color: #b4c7aa; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(49, 92, 73, .08); }
.rate-stress-rate-button.is-active { border-color: #70945e; background: #f1f7e9; box-shadow: inset 0 0 0 1px rgba(112, 148, 94, .18); }
.rate-stress-rate-button.is-active strong { color: #315c49; }
.rate-stress-rates span { color: #718078; font-size: 9px; }
.rate-stress-rates strong { color: #315c49; font-size: 12px; white-space: nowrap; }
.rate-stress-rates .rate-stress-rate-highlight { border-color: #e8dfc7; background: #fcfaf4; }
.rate-stress-rates .rate-stress-rate-highlight strong { color: #8a6c2f; }
.rate-stress-table-wrap { overflow-x: auto; }
.rate-stress-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 10px; }
.rate-stress-table th, .rate-stress-table td { padding: 9px 8px; border-top: 1px solid #e9eee7; text-align: right; white-space: normal; overflow-wrap: anywhere; }
.rate-stress-table th:first-child { width: 28%; }
.rate-stress-table thead th:nth-child(2),
.rate-stress-table thead th:nth-child(3),
.rate-stress-table thead th:nth-child(4) { width: 24%; }
.rate-stress-table thead th { color: #738178; font-weight: 600; line-height: 1.55; }
.rate-stress-table thead th strong { color: #315c49; font-size: 11px; }
.rate-stress-table th:first-child { text-align: left; }
.rate-stress-table tbody th { color: #718078; font-weight: 600; }
.rate-stress-table tbody td { color: #283d31; font-weight: 700; }
.rate-stress-table .rate-stress-section th { padding-top: 12px; color: #315c49; background: #f0f5ec; text-align: left; font-weight: 700; }
.rate-stress-row-different { background: #fffdf7; }
.rate-stress-row-different th:first-child { color: #5f4b20; background: #fff8e5; box-shadow: inset 3px 0 0 #d0aa54; }
.rate-stress-row-different td { box-shadow: inset 0 1px 0 #f0e4bb, inset 0 -1px 0 #f0e4bb; }
.rate-stress-table[data-selected-scenario="lower"] thead th:nth-child(2),
.rate-stress-table[data-selected-scenario="lower"] tbody td:nth-child(2),
.rate-stress-table[data-selected-scenario="base"] thead th:nth-child(3),
.rate-stress-table[data-selected-scenario="base"] tbody td:nth-child(3),
.rate-stress-table[data-selected-scenario="stress"] thead th:nth-child(4),
.rate-stress-table[data-selected-scenario="stress"] tbody td:nth-child(4) { background: #eef5e7; box-shadow: inset 0 0 0 1px #d9e6cf; }
.rate-stress-table .rate-stress-column-selected {
  background: #eef5e7 !important;
  box-shadow: inset 0 0 0 1px #d9e6cf !important;
}
.rate-stress-note { margin: 9px 0 0; color: #929c95; font-size: 8px; line-height: 1.5; }
.result-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.live-pill { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 20px; background: #f0f6e8; color: #5f8052; font-size: 8px; font-weight: 700; letter-spacing: .7px; }
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #8dbb54; }
.recommendation { display: flex; gap: 11px; padding: 13px; border: 1px solid transparent; border-radius: 7px; }
.recommendation.positive { background: #f1f7e9; border-color: #e3edd8; }
.recommendation.caution { background: #fbf7e9; border-color: #f1ebd4; }
.recommendation.negative { background: #fbefed; border-color: #f3dfdc; }
.recommendation-icon { flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: white; color: #5b8851; font-weight: 700; }
.recommendation.caution .recommendation-icon { color: #b18b3b; }.recommendation.negative .recommendation-icon { color: #b94d47; }
.recommendation small { display: block; margin: 1px 0 4px; color: #76857a; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.recommendation strong { display: block; font: 700 13px var(--display); }
.recommendation p { margin: 4px 0 0; color: #738078; font-size: 10px; line-height: 1.45; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 15px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.metric { min-height: 82px; padding: 12px; background: #fff; }
.metric-highlight { background: #f9fbf5; }
.metric > span, .metric small { display: block; color: #7a8981; font-size: 9px; }
.metric > strong { display: block; margin: 5px 0 2px; font: 800 21px var(--display); letter-spacing: -.7px; }
.metric small { font-size: 9px; }
.metric-payback > strong { font-size: 15px; letter-spacing: 0; overflow-wrap: anywhere; }
.cashflow { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cashflow span { display: block; color: #46564e; font-size: 11px; font-weight: 700; }
.cashflow small { display: block; margin-top: 4px; color: #8a9690; font-size: 9px; }
.cashflow > strong { font: 800 18px var(--display); }
.positive-text { color: #428051; }.negative-text { color: #ae4c43; }
.result-details { padding-top: 11px; }
.result-details > div, .assumptions-card > div:not(.eyebrow) { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: #75827b; font-size: 10px; }
.result-details strong, .assumptions-card strong { color: #35463e; font-size: 10px; }
.result-disclaimer { margin: 13px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: #9aa39d; font-size: 9px; line-height: 1.55; }
.anonymous-save-prompt { margin-top: 18px; padding: 16px; border: 1px solid #dce5dc; border-radius: 8px; background: #f7faf5; display: grid; gap: 8px; }
.anonymous-save-prompt strong { color: var(--green); font-size: 13px; }
.anonymous-save-prompt > span { color: #64806d; font-size: 11px; line-height: 1.45; }
.anonymous-save-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.site-footer { display: flex; justify-content: space-between; padding: 20px max(calc((100vw - 1200px) / 2), 5.5vw); border-top: 1px solid #eef0eb; color: #89958e; font-size: 10px; }
.messages { max-width: 1150px; margin: 14px auto 0; padding: 0 25px; }
.message { padding: 11px 14px; border-radius: 6px; background: #eff6e8; color: #476948; font-size: 12px; }
.page-wrap { max-width: 1380px; min-height: 68vh; margin: 0 auto; padding: 54px 25px 80px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 29px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.page-heading h1 { margin: 9px 0 7px; font: 800 34px var(--display); letter-spacing: -1.7px; }
.page-heading p { margin: 0; color: #7e8a84; font-size: 13px; }
.deal-list { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.deal-row { min-height: 82px; display: flex; align-items: center; gap: 16px; padding: 0 19px; border-bottom: 1px solid var(--line); transition: background .15s; }
.deal-row:last-child { border-bottom: 0; }.deal-row:hover { background: #fafbf8; }
.package-deal-list .deal-row-main { min-width: 0; flex: 1; min-height: 82px; display: grid; grid-template-columns: 42px minmax(220px, 1fr) 110px 18px; align-items: center; gap: 16px; }
.package-deal-list .deal-row-name { min-width: 0; }
.package-deal-list .deal-row-rent { width: 110px; text-align: right; }
.package-deal-list .package-deal-row { display: grid; grid-template-columns: 16px minmax(390px, 1fr) 52px 154px 38px 82px 52px; align-items: center; gap: 14px; }
.package-deal-list .deal-row-main { width: 100%; }
.package-action-slot { min-width: 0; display: flex; align-items: center; justify-content: center; }
.package-edit-slot { width: 52px; }.package-marketplace-slot { width: 154px; }.package-pdf-slot { width: 38px; }.package-messages-slot { width: 82px; }.package-delete-slot { width: 52px; }
.package-deal-list .deal-row-publish-form { width: 154px; }
.deal-row-edit { padding: 7px 10px; border: 1px solid #dce5dc; border-radius: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.deal-row-edit:hover { background: #eff5ec; }
.deal-row-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 8px; background: #eef4e8; color: var(--green); font-size: 21px; }
.deal-row-name { flex: 1; }.deal-row-name strong, .deal-row-name small, .deal-row-rent small, .deal-row-rent strong { display: block; }
.deal-row-name strong { font: 700 13px var(--display); }.deal-row-name small { margin-top: 5px; color: #829087; font-size: 10px; }
.deal-row-rent { text-align: right; }.deal-row-rent small { margin-bottom: 4px; color: #829087; font-size: 8px; letter-spacing: .8px; }.deal-row-rent strong { font-size: 12px; }
.deal-row-arrow { color: #80988a; font-size: 18px; }
.deal-share-form { margin-bottom: 0; }
.account-deals-section { margin-top: 32px; }
.account-deals-section h2 { margin: 7px 0 13px; font: 700 20px var(--display); }
.thread-card { max-width: 760px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; }
.thread-message { margin-bottom: 12px; padding: 12px 14px; border-radius: 8px; background: #f4f7f1; }
.thread-message.mine { margin-left: 70px; background: #edf4e9; }
.thread-message strong { font-size: 11px; }.thread-message p { margin: 5px 0; white-space: pre-wrap; }.thread-message small { color: var(--muted); }
.thread-empty { color: var(--muted); }.thread-form { display: grid; gap: 9px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.thread-form label { font-size: 11px; font-weight: 700; }.thread-form textarea { width: 100%; padding: 10px; border: 1px solid #dfe5df; border-radius: 6px; resize: vertical; font: 13px var(--font); }
.marketplace-thread-details { margin-top: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.marketplace-thread-details.has-new-message { border-color: #d94f3d; box-shadow: 0 0 0 2px rgba(217,79,61,.08); }
.marketplace-thread-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.marketplace-thread-details summary::-webkit-details-marker { display: none; }
.marketplace-thread-details summary::before { content: "›"; order: 3; color: var(--green); font-size: 24px; transition: transform .15s ease; }
.marketplace-thread-details[open] summary::before { transform: rotate(90deg); }
.marketplace-thread-details summary span:first-child { display: grid; gap: 3px; }
.marketplace-thread-details summary strong { font: 700 15px var(--display); }
.marketplace-thread-details summary small { color: var(--muted); font-size: 10px; }
.marketplace-thread-details .thread-card { margin: 0 18px; max-width: none; border-right: 0; border-left: 0; border-radius: 0; }
.marketplace-inline-reply { margin: 0 18px 18px; }
.marketplace-inline-reply .button { justify-self: start; }
.message-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: #d94f3d; color: #fff; font-size: 9px; line-height: 1; }
.chat-dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(23,40,31,.22); }
.chat-dialog::backdrop { background: rgba(23,40,31,.48); }
.chat-popup { background: #fff; }
.chat-popup-header { height: 70px; display:flex; align-items:center; justify-content:space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chat-popup-header small, .chat-popup-header strong { display:block; }.chat-popup-header small { color: var(--muted); font-size:9px; letter-spacing:.8px; }.chat-popup-header strong { margin-top:4px; font:700 16px var(--display); }
.chat-close { width:32px; height:32px; border:0; border-radius:50%; background:#f1f4ef; color:var(--green); font-size:20px; cursor:pointer; }
.chat-flow { max-height:430px; min-height:180px; overflow-y:auto; padding:18px 20px 8px; background:#fbfcf9; }
.chat-flow .thread-message { max-width:78%; margin-bottom:10px; }
.chat-flow .thread-message.mine { margin-left:auto; background:#dfeee3; }
.deal-share-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px 14px; border-radius: 8px; background: #f7f9f4; }
.deal-share-bar > div { flex: 1; }.deal-share-bar strong, .deal-share-bar small { display: block; }.deal-share-bar strong { font: 700 12px var(--display); }.deal-share-bar small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.deal-share-bar input[type="email"] { width: 220px; height: 43px; padding: 0 12px; border: 1px solid #dfe5df; border-radius: 6px; }
.deal-share-bar .share-privacy input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  accent-color: var(--green);
}
.deal-select { width: 16px; height: 16px; accent-color: var(--green); flex: 0 0 16px; }
.traffic-light { flex: 0 0 42px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 4px; border-radius: 12px; background: #edf0ea; box-shadow: inset 0 0 0 1px #dde4da; }
.traffic-light span { width: 8px; height: 8px; border-radius: 50%; background: #ccd3c9; }
.traffic-light.positive span:nth-child(1) { background: #34a853; box-shadow: 0 0 5px rgba(52,168,83,.45); }
.traffic-light.caution span:nth-child(2) { background: #f0ad4e; box-shadow: 0 0 5px rgba(240,173,78,.45); }
.traffic-light.negative span:nth-child(3) { background: #d9534f; box-shadow: 0 0 5px rgba(217,83,79,.45); }
.deal-row-download {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--green);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.deal-row-action {
  appearance: none;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 10px;
  border: 1px solid #dce5dc;
  border-radius: 5px;
  background: #fff;
  color: var(--green);
  font: 700 10px var(--font);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.deal-row-action:hover { background: #eff5ec; }
.empty-list { padding: 55px 20px; text-align: center; border: 1px dashed #dce5db; border-radius: 10px; background: #fbfcfa; }
.empty-list .empty-icon { margin: 0 auto 15px; }.empty-list h2 { margin-bottom: 8px; font: 700 19px var(--display); }.empty-list p { margin-bottom: 18px; color: #7b8881; font-size: 12px; }
.back-link { display: inline-block; margin-bottom: 25px; color: #63806d; font-size: 11px; font-weight: 700; }
.saved-result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }.saved-result-layout .results-card { max-width: none; width: 100%; }
.edit-workspace { margin-top: 0; padding-top: 7px; }
.assumptions-card { padding: 21px; border: 1px solid var(--line); border-radius: 9px; }.assumptions-card h2 { margin: 7px 0 13px; font: 700 17px var(--display); }.assumptions-card > div:not(.eyebrow) { padding: 10px 0; border-top: 1px solid #eff1ed; }
.auth-wrap { display: grid; place-items: center; min-height: 72vh; padding: 45px 20px; background: #f8faf6; }
.auth-card { width: min(100%, 410px); padding: 34px; border: 1px solid #e9eee7; border-radius: 10px; background: white; box-shadow: 0 15px 45px rgba(38, 67, 45, .05); }
.profile-card { width: min(100%, 520px); }
.button-danger { border: 1px solid #b85c4b; background: #fff8f5; color: #9b3f2e; }
.button-danger:hover { background: #fbece7; }
.auth-card h1 { margin: 9px 0 7px; font: 800 30px var(--display); letter-spacing: -1.2px; }.auth-card > p { margin-bottom: 23px; color: #7d8983; font-size: 12px; line-height: 1.6; }
.auth-form { display: grid; gap: 16px; }.auth-form ul { margin: 5px 0 0; padding-left: 17px; color: #7e8a83; font-size: 10px; line-height: 1.55; }.button-full { width: 100%; margin-top: 3px; }
.role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.role-option { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; min-height: 42px; padding: 0 12px; border: 1px solid #dfe5df; border-radius: 6px; background: #fff; cursor: pointer; font-size: 12px !important; }
.role-option:has(input:checked) { border-color: #7da68a; background: #eef5e7; }
.role-option input { width: 16px !important; height: 16px !important; flex: 0 0 16px; }
.marketplace-section { margin-top: 38px; }.marketplace-section h2 { margin-bottom: 16px; font: 700 22px var(--display); }.marketplace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.marketplace-card { min-width: 0; padding: 20px; border: 1px solid #e2e8df; border-radius: 10px; background: #fff; }.marketplace-card h3 { margin: 12px 0 8px; font: 700 17px var(--display); }.marketplace-card h3 a { color: inherit; }.marketplace-card p, .marketplace-card small { color: #77857e; }.marketplace-card strong, .marketplace-card small { display: block; margin-top: 10px; }.marketplace-tag { display: inline-block; padding: 4px 7px; border-radius: 5px; background: #eef5e7; color: #52735a; font-size: 10px; font-weight: 700; text-transform: uppercase; }.marketplace-empty { grid-column: 1 / -1; color: #77857e; }.marketplace-form-card { max-width: 620px; }.marketplace-detail { max-width: 900px; }.marketplace-detail h1 { margin: 12px 0 8px; font: 800 34px var(--display); }.marketplace-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }.marketplace-facts div { padding: 16px; border-radius: 8px; background: #f5f7f2; }.marketplace-facts span, .marketplace-facts strong { display: block; }.marketplace-facts span { margin-bottom: 7px; color: #77857e; font-size: 11px; }.marketplace-description { padding-top: 4px; }.privacy-note { margin-top: 24px; padding: 14px; border-left: 3px solid #7da68a; background: #f1f6ee; font-size: 12px; }
.marketplace-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; overflow: hidden; padding: 26px 30px; border: 1px solid #dce6db; border-radius: 14px; background: linear-gradient(115deg, #eef4e9 0%, #f8faf6 58%, #edf5ef 100%); box-shadow: 0 10px 35px rgba(36, 55, 42, .06); }
.marketplace-hero > div:first-child { display: grid; gap: 5px; }
.marketplace-hero > div:first-child span { color: #52735a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.marketplace-hero > div:first-child strong { font: 800 27px var(--display); letter-spacing: -1px; }
.marketplace-hero-stats { display: flex; gap: 8px; }
.marketplace-hero-stats div { min-width: 78px; padding: 10px 14px; border: 1px solid rgba(74, 112, 82, .14); border-radius: 9px; background: rgba(255,255,255,.82); text-align: center; }
.marketplace-hero-stats strong { display: block; font: 800 22px var(--display); color: var(--green); }
.marketplace-hero-stats span { color: var(--muted); font-size: 10px; }
.marketplace-tabs { display: flex; gap: 6px; margin-top: 28px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f2; }
.marketplace-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); padding: 11px 14px; font-weight: 700; cursor: pointer; transition: .16s ease; }
.marketplace-tab b { min-width: 24px; padding: 3px 6px; border-radius: 999px; background: #e3e8e0; font-size: 10px; text-align: center; }
.marketplace-tab.active { background: #fff; color: var(--green); box-shadow: 0 2px 9px rgba(36, 55, 42, .09); }
.marketplace-tab.active b { background: var(--green); color: #fff; }
.marketplace-tab-panel.hidden { display: none; }
.marketplace-section { margin-top: 18px; }
.marketplace-scroll { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; gap: 10px; max-height: 620px; overflow-y: auto; padding: 2px 6px 14px 2px; scrollbar-gutter: stable; }
.marketplace-scroll .marketplace-card { scroll-snap-align: start; }
.marketplace-card { border-radius: 8px; }
.marketplace-listing-row { display: grid; grid-template-columns: 120px minmax(180px, 1fr) 150px 160px; align-items: center; gap: 18px; min-height: 92px; padding: 16px 18px; border: 1px solid #e4e9e2; border-radius: 10px !important; background: #fff; box-shadow: 0 5px 18px rgba(36, 55, 42, .045); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.marketplace-listing-row:hover { transform: translateY(-2px); border-color: #bdccbd; box-shadow: 0 9px 24px rgba(36, 55, 42, .09); }
.marketplace-listing-row h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.25; }
.marketplace-listing-row h3 a { transition: color .16s ease; }
.marketplace-listing-row h3 a:hover { color: var(--green); }
.marketplace-row-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.marketplace-listing-row p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.marketplace-listing-row .marketplace-deal-summary { margin-top: 5px; color: #52735a; font-weight: 700; white-space: normal; }
.marketplace-listing-row > strong { margin: 0; color: #263b2b; font: 800 16px var(--display); text-align: right; }
.marketplace-row-main { min-width: 0; }
.marketplace-row-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.marketplace-listing-row .marketplace-tag { justify-self: start; }
.marketplace-listing-row .marketplace-status-badge { margin-top: 0; }
.marketplace-listing-row .button,
.marketplace-listing-row .marketplace-analysis-link { justify-self: end; margin-top: 0; white-space: nowrap; font-size: 11px; }
.marketplace-analysis-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 13px; border-radius: 7px; background: var(--green); color: #fff !important; font-weight: 800; box-shadow: 0 4px 12px rgba(55, 94, 67, .16); }
.marketplace-analysis-link:hover { background: #2f6340; }
.marketplace-analysis-link span { font-size: 16px; }
.marketplace-status-badge { align-self: flex-start; margin-top: 8px; padding: 4px 8px; border: 1px solid #b42318; border-radius: 999px; background: #d92d20; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.marketplace-status-badge--stc { border-color: #b7791f; background: #fff1cc; color: #754400; }
.marketplace-status-banner { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 13px 16px; border-radius: 7px; background: #d92d20; color: #fff; }
.marketplace-status-banner strong { font-size: 14px; letter-spacing: .04em; }
.marketplace-status-banner span { font-size: 12px; line-height: 1.5; }
.marketplace-status-banner--stc { border: 1px solid #e6bd64; background: #fff6df; color: #754400; }
.marketplace-published-badge { align-self: center; margin-top: 0; border-color: #2f6b46; background: #2f6b46; color: #fff; white-space: nowrap; }
.marketplace-published-badge:hover { background: #24583a; color: #fff; }
.dashboard-owned-status { align-self: center; flex: 0 0 auto; margin-top: 0; white-space: nowrap; }
.deal-row-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; user-select: none; }
.sold-deal-banner { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px 16px; border-radius: 6px; background: #d92d20; color: #fff; }
.sold-deal-banner--stc { border: 1px solid #e6bd64; background: #fff6df; color: #754400; }
.sold-deal-banner strong { font-size: 22px; letter-spacing: .08em; }
.sold-deal-banner span { font-size: 12px; font-weight: 700; }
.deal-action-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; user-select: none; }
@media (max-width: 760px) {
  .marketplace-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .marketplace-hero-stats { width: 100%; }
  .marketplace-hero-stats div { flex: 1; min-width: 0; }
  .marketplace-tabs { overflow-x: auto; }
  .marketplace-tab { flex: 0 0 auto; }
  .marketplace-listing-row { grid-template-columns: 92px minmax(180px, 1fr); gap: 10px; align-items: start; }
  .marketplace-listing-row > strong { grid-column: 2; text-align: left; }
  .marketplace-row-actions { grid-column: 2; align-items: flex-start; }
  .marketplace-listing-row .button,
  .marketplace-listing-row .marketplace-analysis-link { grid-column: 2; justify-self: start; }
}
.marketplace-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.marketplace-pagination a { color: var(--green); font-weight: 700; }
.deal-row-publish-form { display: contents; }
.publish-deal-option { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }
.publish-deal-option input { width: 16px !important; height: 16px !important; accent-color: var(--green); }
.marketplace-owner-actions { display: flex; gap: 10px; margin-top: 24px; }.delete-confirm-card { max-width: 620px; }.delete-confirm-card p { color: #77857e; }.delete-confirm-actions { display: flex; gap: 10px; margin-top: 22px; }
.auth-switch { padding-top: 18px; margin-top: 19px; border-top: 1px solid var(--line); color: #78857d; text-align: center; font-size: 11px; }.auth-switch a { color: var(--green); font-weight: 700; }
.invitation-card { text-align: center; }
.invitation-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 18px auto 12px; border-radius: 12px; background: #eef4e8; color: var(--green); font-size: 28px; }
.invitation-card h1 { margin-bottom: 12px; }
.invitation-card > p { margin: 0 auto 22px; }
.invitation-actions { display: grid; gap: 10px; }
@media (max-width: 850px) {
  .hero-art { right: -80px; opacity: .62; }.hero-copy { width: 65%; }
  .workspace { display: flex; flex-direction: column; gap: 8px; }
  .results-column { width: 100%; padding-top: 5px; }
  .saved-result-layout { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 650px) {
  .site-header { height: 66px; padding: 0 19px; }.main-nav { gap: 14px; font-size: 11px; }.main-nav > a:first-child, .nav-user { display: none;   }
}
  .field-group { position: relative; padding: 0; margin: 0 0 13px; border: 1px solid #e8ede6; border-radius: 9px; background: #fff; }
  .field-group[open] { padding-bottom: 19px; }
  .field-group-summary { min-height: 60px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; cursor: pointer; list-style: none; }
  .field-group-summary::-webkit-details-marker { display: none; }
  .field-group-summary .field-icon { flex: 0 0 23px; margin: 0; }
  .field-group-title { font: 700 13px var(--display); }
  .section-meta { margin-left: auto; color: #8a968e; font-size: 9px; }
  .section-chevron { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 5px; background: #f3f6f1; color: #5c7664; font-size: 14px; transition: transform .15s; }
  .field-group[open] .section-chevron { transform: rotate(180deg); }
  .field-group .field-grid { padding: 3px 17px 0; }
  .field-group-summary:focus-visible { outline: 3px solid #cfe4c3; outline-offset: -3px; border-radius: 8px; }
  .field-label-row { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
  .field-label-row label { margin: 0; }
  .help-tip { position: relative; z-index: 1; flex: 0 0 18px; width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0; border: 1px solid #aebfae; border-radius: 50%; background: #fff; color: #45684f; font: 700 10px var(--display); cursor: help; }
  .help-tip:hover, .help-tip:focus-visible { z-index: 5; border-color: #54785e; background: #f0f6eb; }
  .help-tooltip { position: absolute; z-index: 20; top: calc(100% + 8px); left: -9px; width: min(260px, 72vw); padding: 10px 12px; border-radius: 6px; background: #18352b; box-shadow: 0 7px 20px rgba(20, 45, 33, .2); color: #fff; text-align: left; font: 500 11px/1.55 var(--font); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-5px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .help-tip:hover .help-tooltip, .help-tip:focus-visible .help-tooltip { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
  .help-tip:focus-visible { outline: 3px solid #cfe4c3; outline-offset: 2px; }
  .cost-breakdown { margin-top: 12px; border-top: 1px solid var(--line); }
  .cost-breakdown summary { padding: 13px 0 2px; color: #426c53; font-size: 10px; font-weight: 700; cursor: pointer; list-style: none; }
  .cost-breakdown summary::-webkit-details-marker { display: none; }
  .cost-breakdown summary::after { float: right; content: "+"; color: #7d9981; font-size: 15px; line-height: 10px; }
  .cost-breakdown[open] summary::after { content: "−"; }
  .breakdown-section { padding-top: 12px; }
  .breakdown-section + .breakdown-section { margin-top: 9px; padding-top: 13px; border-top: 1px solid #eef1ed; }
  .breakdown-section h3 { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 7px; color: #4a5d51; font: 700 10px var(--font); }
  .breakdown-section h3 strong { white-space: nowrap; color: #273e31; }
  .breakdown-section > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: #7a8780; font-size: 9px; }
  .breakdown-section > div strong { color: #536258; font-size: 9px; white-space: nowrap; }
  .breakdown-section > p { margin: 5px 0; color: #89958e; font-size: 9px; }
  .breakdown-section > p.tax-estimate-note { margin-top: 9px; padding: 9px; border-radius: 5px; background: #f3f7ef; color: #617461; line-height: 1.55; }
  @media (max-width: 650px) {
    .field-group[open] .field-grid { padding-right: 13px; padding-left: 13px; }
    .help-tooltip { left: auto; right: -8px; }
  }
@media (max-width: 650px) {
  .hero { min-height: 317px; padding: 45px 23px 35px; }.hero-copy { width: 100%; }.hero h1 { font-size: 43px; }.hero-copy > p { max-width: 340px; }.hero-art { right: -182px; opacity: .23; }
  .workspace { display: flex; flex-direction: column; gap: 8px; padding: 33px 20px 50px; }.results-column { padding-top: 5px; }
  .section-heading h2 { font-size: 22px; }.step-tag { font-size: 8px; }.field-grid { gap: 14px 10px; }.field input, .field select { height: 40px; padding: 0 9px; font-size: 12px; }
  .site-footer { flex-direction: column; gap: 8px; padding: 18px 20px; }.page-wrap { padding: 37px 20px 60px; }.page-heading { align-items: start; flex-direction: column; }.page-heading h1 { font-size: 29px; }.saved-result-layout { grid-template-columns: 1fr; }.saved-result-layout .results-card { max-width: none; }
  .deal-row { gap: 8px; padding: 0 10px; }.deal-row-main { gap: 10px; }.deal-row-icon { display: none; }.deal-row-name strong { font-size: 11px; }.deal-row-name small { font-size: 9px; }.deal-row-rent small { font-size: 7px; }.deal-row-rent strong { font-size: 11px; }.deal-row-edit { padding: 7px; }
  .package-deal-list .deal-row { overflow-x: auto; }
  .package-deal-list .package-deal-row { grid-template-columns: 16px 500px 52px 154px 38px 82px 52px; justify-content: start; }
  .package-deal-list .deal-row-main { grid-template-columns: 42px minmax(180px, 1fr) 82px 18px; flex: 0 0 auto; min-width: 322px; }
  .package-deal-list .deal-row-rent { width: 82px; }
  .page-actions { width: 100%; }.page-actions .button { flex: 1; }
}
.section-heading-actions { display: flex; align-items: center; gap: 12px; }
.example-button { color: var(--green); font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.autosave-status { min-height: 15px; margin: -10px 0 12px; color: var(--muted); font-size: 9px; }
.autosave-status--saved { color: var(--green); }
.break-even-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.break-even-grid > div { padding: 12px; background: #f8faf6; }
.break-even-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.break-even-grid strong { font: 800 15px var(--display); }
.break-even-grid p { grid-column: 1 / -1; margin: 0; padding: 9px 12px; background: #fff; color: var(--muted); font-size: 9px; }
.methodology { margin-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.55; }
.methodology summary { padding: 12px 0 6px; color: var(--green); font-weight: 700; cursor: pointer; }
.methodology p { margin: 0 0 8px; }
.portfolio-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); }
.portfolio-summary > div { padding: 16px; background: #fff; }
.portfolio-summary span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.portfolio-summary strong { font: 800 17px var(--display); }
.csv-export { margin-bottom: 18px; }
@media (max-width: 650px) {
  .section-heading-actions { gap: 8px; }
  .example-button { display: none; }
  .break-even-grid, .portfolio-summary { grid-template-columns: 1fr 1fr; }
}
.chat-offeree-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 0;
}
.chat-offeree-tab {
  border: 1px solid var(--line, #d9e0e7);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #17324d);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.chat-offeree-tab.active {
  border-color: var(--navy, #123a5a);
  background: var(--navy, #123a5a);
  color: #fff;
}
.chat-presence {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 16px;
  color: #607181;
  font-size: 0.82rem;
}
.presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa8b3;
}
.presence-dot.online { background: #22a06b; box-shadow: 0 0 0 3px rgba(34,160,107,.12); }
.presence-dot.offline { background: #9aa8b3; }
.email-fallback-option {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted, #607181);
  font-size: 12px;
  cursor: pointer;
}
.email-fallback-option[hidden] { display: none; }
.share-privacy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink, #17324d);
  font-size: 11px;
  white-space: nowrap;
}
.property-summary-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.property-summary-card > div {
  padding: 12px;
  border: 1px solid var(--line, #dce5dc);
  border-radius: 7px;
  background: #fbfcfa;
}
.property-summary-card span,
.property-summary-card strong { display: block; }
.property-summary-card span { margin-bottom: 4px; color: var(--muted, #738078); font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }
.property-summary-card strong { font-size: 12px; }
.property-summary-wide { grid-column: span 2; }
.narrow-page { max-width: 680px; }
.privacy-form { display: grid; gap: 14px; margin-top: 18px; }
.privacy-form label { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line, #dde6dc); border-radius: 8px; background: #fbfcfa; cursor: pointer; }
.privacy-form label input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: #245f4d; }
.privacy-form label strong, .privacy-form label small { display: block; }
.privacy-form label strong { color: var(--ink, #172824); font-size: 12px; }
.privacy-form label small { margin-top: 4px; color: var(--muted, #738078); font-size: 10px; line-height: 1.45; }
.privacy-actions { margin-top: 6px; }

.marketplace-browser .page-heading { margin-bottom: 20px; }
.marketplace-browser .marketplace-tabs { margin-top: 0; }
.marketplace-filter-panel { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.marketplace-filter-panel summary { cursor: pointer; font-weight: 700; }
.marketplace-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.marketplace-filters label { display: block; margin-bottom: 6px; font-size: 11px; }
.marketplace-filter-actions { display: flex; align-items: center; gap: 16px; grid-column: span 2; }
.marketplace-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.marketplace-results-heading h2 { margin: 0; }
.marketplace-results-heading > span { color: var(--muted); font-size: 12px; }
.marketplace-opportunities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.marketplace-opportunity { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(36, 55, 42, .045); }
.marketplace-opportunity h3 { margin: 16px 0 6px; font: 700 20px var(--display); }
.marketplace-opportunity h3 a { color: var(--ink); }
.marketplace-opportunity p, .marketplace-opportunity > small { color: var(--muted); font-size: 12px; line-height: 1.6; }
.marketplace-opportunity p { margin: 5px 0 12px; }
.marketplace-opportunity-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.marketplace-price { margin: 8px 0; font: 800 25px var(--display); color: var(--green); }
.marketplace-opportunity-photo { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.marketplace-card-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px; margin: 8px 0 16px; background: #f4f7f1; border-radius: 8px; }
.marketplace-card-metrics div:last-child { grid-column: 1 / -1; }
.marketplace-card-metrics span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.marketplace-card-metrics strong { font-size: 15px; }
.marketplace-opportunity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 20px; font-size: 12px; }
.marketplace-opportunity--gone { background: #f3f4f2; box-shadow: none; }
.marketplace-requirements { grid-template-columns: 1fr; }
.marketplace-browser .marketplace-empty { padding: 32px; background: #fff; border: 1px dashed var(--line); border-radius: 10px; }
.marketplace-browser .privacy-note { margin: 0 0 20px; }
@media (max-width: 760px) {
  .marketplace-opportunities { grid-template-columns: 1fr; }
  .marketplace-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-opportunity { padding: 18px; }
  .marketplace-browser .marketplace-tab { white-space: nowrap; }
}
@media (max-width: 420px) {
  .marketplace-filters { grid-template-columns: 1fr; }
  .marketplace-filter-actions { grid-column: auto; flex-wrap: wrap; }
}
