:root {
  --bg:        #f3f1ec;
  --paper:     #ffffff;
  --ink:       #1d1b18;
  --ink-2:     #4b4740;
  --ink-3:     #857f74;
  --line:      #e7e2d8;
  --line-2:    #f1ede6;

  --brand:       #a8862f;
  --brand-ink:   color-mix(in srgb, var(--brand) 72%, #000);
  --brand-soft:  color-mix(in srgb, var(--brand) 13%, #fff);
  --brand-softer:color-mix(in srgb, var(--brand) 5%, #fff);

  --ok:    #2f9e6b;  --ok-soft:  #e3f4ea;
  --bad:   #d4553b;  --bad-soft: #fbe9e4;
  --warn:  #c98a12;  --warn-soft:#fcf1dc;
  --sky:   #3b82c4;
  --teal:  #1f9d8f;
  --plum:  #8b5cb8;
  --coral: #e2704f;
  --sun:   #e3a92c;
  --sage:  #5f9d55;

  --r-lg: 22px;
  --r:    14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(25,20,10,.04), 0 10px 30px rgba(25,20,10,.07);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
body.cfg-open { overflow: hidden; }

.ic { width: 20px; height: 20px; flex-shrink: 0; }

.toolbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-start;
  padding: 10px 20px;
  background: #17161a; color: #f4efe6;
}
.tb-back { color: #e6d6a6; text-decoration: none; font-size: 13px; }
.tb-back:hover { color: #fff; }
.tb-title { font-size: 13.5px; color: #f4efe6; margin-left: 6px; font-weight: 600; }
.tb-spacer { flex: 1; }
.tb-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 15px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid rgba(244,239,230,.18); color: #f4efe6;
  text-decoration: none; white-space: nowrap;
}
.tb-btn:hover { border-color: #e6d6a6; color: #fff; background: rgba(255,255,255,.1); }
.tb-btn.primary { background: #f3d98b; border-color: #f3d98b; color: #17161a; }
.tb-btn.primary:hover { background: #fff; }
.tb-btn .ic { width: 16px; height: 16px; }
.tb-pro {
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: #f3d98b; color: #17161a;
}
.tb-menu {
  display: none; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; padding: 0; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1px solid rgba(244,239,230,.22); color: #f4efe6;
}
.burger, .burger::before, .burger::after {
  display: block; width: 18px; height: 2px; border-radius: 1px;
  background: currentColor; transition: transform .2s ease, background-color .2s ease, top .2s ease;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
[aria-expanded="true"] > .burger { background-color: transparent; }
[aria-expanded="true"] > .burger::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] > .burger::after { top: 0; transform: rotate(-45deg); }

.fallback { padding: 70px 24px; text-align: center; color: var(--ink-2); }
.shared-note {
  max-width: 900px; margin: 14px auto 0; padding: 12px 16px;
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
  border-radius: var(--r-sm); background: var(--brand-soft);
}

.doc { max-width: 900px; margin: 0 auto; padding: 26px 16px 80px; }
.doc-example {
  margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--warn-soft); color: #6d4c0b; font-size: 13.5px; text-align: center;
}

.page {
  position: relative; overflow: hidden;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 38px 44px 34px;
  margin: 0 0 22px;
}

h1, h2, h3, h4 { margin: 0; }
h2 { font-size: 25px; font-weight: 750; letter-spacing: -.015em; line-height: 1.2; }

.sec-head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.sec-ic {
  width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink);
}
.sec-ic .ic { width: 23px; height: 23px; }
.sec-eyebrow { margin: 0 0 3px; font-size: 13px; font-weight: 650; color: var(--brand-ink); }

.sub-h {
  display: flex; align-items: center; gap: 9px;
  font-size: 15.5px; font-weight: 700; margin: 30px 0 12px; color: var(--ink);
}
.sub-h .ic { width: 19px; height: 19px; color: var(--brand-ink); }

.lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 20px; }
.lead strong { color: var(--ink); }
.body { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 12px; }
.body strong { color: var(--ink); }
.cap { font-size: 12px; line-height: 1.6; color: var(--ink-3); margin: 12px 0 0; }
.up { color: var(--ok); }
.down { color: var(--bad); }

.tip-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 16px 0 0; padding: 13px 15px; border-radius: var(--r-sm);
  background: #fff7e3; color: #5b4a22; font-size: 13.5px; line-height: 1.6;
}
.tip-note strong { color: #3d3013; }
.tn-ic { color: var(--sun); display: flex; }
.tip-note.tip-info { background: #ebf3fb; color: #24496c; }
.tip-note.tip-info .tn-ic { color: var(--sky); }
.tip-note.tip-chart { background: #f1ecf8; color: #4b3270; }
.tip-note.tip-chart .tn-ic { color: var(--plum); }
.tip-note.tip-alert { background: var(--bad-soft); color: #7a2e1d; }
.tip-note.tip-alert .tn-ic { color: var(--bad); }

.agent-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 22px; padding: 14px 16px;
  border-radius: var(--r-sm); border-left: 4px solid var(--brand);
  background: var(--brand-soft);
}
.agent-note p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.agent-note .an-who { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); }
.an-ic { color: var(--brand-ink); display: flex; }

.cover {
  min-height: 680px; padding: 40px 48px 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(165deg, var(--brand-soft), #fff 52%);
}
.cover > * { position: relative; }
.cover-art { position: absolute !important; inset: 0; pointer-events: none; }
.cover-art i { position: absolute; border-radius: 50%; }
.cover-art i:nth-child(1) { width: 380px; height: 380px; right: -110px; top: -130px;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--brand) 32%, #fff), transparent 68%); }
.cover-art i:nth-child(2) { width: 230px; height: 230px; right: 90px; top: 210px;
  background: radial-gradient(circle, color-mix(in srgb, var(--sky) 20%, #fff), transparent 70%); }
.cover-art i:nth-child(3) { width: 300px; height: 300px; left: -110px; bottom: -120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 18%, #fff), transparent 70%); }
.cover-top { display: flex; align-items: center; gap: 14px; }
.brand-logo { max-height: 46px; max-width: 180px; display: block; }
.mark { font-weight: 800; font-size: 17px; letter-spacing: .02em; color: var(--ink); }
.cover-mid { padding: 34px 0 24px; }
.kicker {
  display: inline-block; margin: 0; padding: 6px 13px; border-radius: 999px;
  background: #fff; color: var(--brand-ink); font-weight: 650; font-size: 13px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
h1 { font-size: 46px; font-weight: 800; letter-spacing: -.028em; line-height: 1.06; margin: 18px 0 12px; }
.c-place { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ink-2); font-size: 15.5px; }
.c-place .ic { color: var(--brand-ink); }
.c-value {
  display: inline-block; margin-top: 30px; padding: 20px 26px 22px;
  border-radius: var(--r); background: #fff; box-shadow: var(--shadow);
}
.c-lead { margin: 0 0 6px; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.c-range { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.c-range span { color: var(--ink-3); font-weight: 400; }
.c-before { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.c-reco {
  display: flex; width: fit-content; gap: 14px; align-items: baseline;
  margin: 18px 0 0; padding: 11px 20px; border-radius: 999px;
  background: var(--brand-ink); color: #fff; font-size: 14px;
}
.c-reco strong { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.c-period { display: flex; gap: 8px; align-items: center; margin: 24px 0 0; font-size: 13px; color: var(--ink-3); }
.c-period .ic { width: 16px; height: 16px; }
.cover-foot { border-top: 1px solid var(--line); padding-top: 20px; }
.c-agent { display: flex; gap: 14px; align-items: center; }
.c-photo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.c-photo.empty { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.agent { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.agent .ag-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.c-source { font-size: 11.5px; color: var(--ink-3); margin: 16px 0 0; }
.c-disclaimer { font-size: 11.5px; line-height: 1.55; color: var(--ink-3); margin: 6px 0 0; max-width: 70ch; }
.c-watermark {
  margin: 12px 0 0; padding: 9px 12px; border-radius: var(--r-sm);
  background: var(--line-2); font-size: 12px; color: var(--ink-2);
}
.c-watermark strong { color: var(--brand-ink); }

.toc { margin: 0 0 22px; }
.toc-in {
  padding: 16px 18px 14px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow); text-align: center;
}
.toc-h { margin: 0 0 10px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.toc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.toc a {
  display: inline-flex; gap: 7px; align-items: center;
  padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--line-2); transition: background .15s, color .15s;
}
.toc a .ic { width: 15px; height: 15px; color: var(--brand-ink); }
.toc a:hover { background: var(--brand-ink); color: #fff; }
.toc a:hover .ic { color: #fff; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.kpi {
  position: relative; margin: 0;
  padding: 16px 16px 15px; border-radius: var(--r);
  background: var(--brand-softer); border: 1px solid var(--line-2);
}
.kpi-ic { position: absolute; right: 13px; top: 13px; color: var(--brand); opacity: .8; display: flex; }
.kpi-ic .ic { width: 20px; height: 20px; }
.kpi-l { margin: 0 0 8px; padding-right: 26px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.kpi-v { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.kpi-v small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.kpi-f { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.kpis-sum .kpi:first-child { background: linear-gradient(135deg, var(--brand-soft), #fff); }
.kpi.wide { grid-column: span 2; }
.kpi.wide .kpi-v { white-space: nowrap; }

.addr { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; font-size: 14.5px; color: var(--ink-2); }
.addr .ic { color: var(--brand-ink); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.spec { padding: 12px 14px; border-radius: var(--r-sm); background: var(--brand-softer); border: 1px solid var(--line-2); }
.sp-l { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.sp-v { font-size: 15px; font-weight: 650; color: var(--ink); }
.eb { display: inline-block; min-width: 36px; padding: 2px 8px; border-radius: 6px; text-align: center; font-weight: 800; color: #fff; background: #8a847a; }
.eb-ap, .eb-a { background: #1a9850; }
.eb-b { background: #57b05b; }
.eb-b- { background: #a6d96a; color: #1d1b18; }
.eb-c { background: #f2d45c; color: #1d1b18; }
.eb-d { background: #f6a85a; color: #1d1b18; }
.eb-e { background: #ee6b44; }
.eb-f { background: #d73027; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  background: var(--ok-soft); color: #1f6b48; font-size: 13px; font-weight: 600;
}
.chip .ic { width: 15px; height: 15px; }
.pdm-shot { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--r); margin: 0 0 12px; }

.hbars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 11px; }
.hbars li {
  display: grid; grid-template-columns: minmax(120px, 32%) 1fr auto; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-2);
}
.hbars li { grid-template-columns: minmax(120px, 32%) 1fr 104px; }
.hbars.wide-val li { grid-template-columns: minmax(120px, 30%) 1fr 168px; }
.hb-label small { display: block; font-size: 11.5px; font-weight: 600; color: var(--brand-ink); }
.hb-track { height: 12px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.hb-track i {
  display: block; height: 100%; width: var(--w); border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 42%, #fff);
  transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.hbars:not(.in) .hb-track i { transform: scaleX(0); }
.hbars li.on { color: var(--ink); font-weight: 750; }
.hbars li.on .hb-track i { background: var(--brand); }
.hb-val { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); }
.hb-val small { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.hbars li.none .hb-val { font-size: 12px; font-weight: 500; color: var(--ink-3); }

.rent-card { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.rc-main, .rc-side { padding: 16px 18px; border-radius: var(--r); background: var(--brand-softer); border: 1px solid var(--line-2); }
.rc-main { background: linear-gradient(135deg, color-mix(in srgb, var(--teal) 13%, #fff), #fff); }
.rc-l { margin: 0 0 6px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.rc-v { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.015em; }
.rc-v small { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.rc-was { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }

.chart-card { padding: 14px 10px 6px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.lc svg, .sell-svg { display: block; width: 100%; height: auto; }
.lc-grid { stroke: var(--line); stroke-dasharray: 3 4; }
.lc-axis { font-size: 11.5px; fill: var(--ink-3); font-family: var(--sans); }
.lc-area { fill: url(#lc-fill); }
.lc-stop-a { stop-color: var(--brand); stop-opacity: .28; }
.lc-stop-b { stop-color: var(--brand); stop-opacity: 0; }
.lc-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.lc-dot { fill: #fff; stroke: var(--brand-ink); stroke-width: 3; }
.lc-cross { stroke: var(--ink-3); stroke-dasharray: 3 3; }
.lc-hit { fill: transparent; cursor: crosshair; }
.chart-hint { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.chart-hint .ic { width: 15px; height: 15px; }

.est-hero { padding: 22px 24px; border-radius: var(--r); background: linear-gradient(135deg, var(--brand-soft), #fff 70%); border: 1px solid var(--line-2); }
.est-label { margin: 0 0 4px; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.est-range { font-size: 36px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.est-range span { color: var(--ink-3); font-weight: 400; }
.est-before { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.est-row { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 6px; }
.est-central, .est-listing { margin: 0; font-size: 14px; color: var(--ink-2); }
.est-central strong, .est-listing strong { color: var(--ink); font-size: 16px; }
.est-window { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); max-width: 70ch; }

.gauge { position: relative; height: 62px; margin: 18px 0 4px; }
.g-track {
  position: absolute; left: 0; right: 0; top: 22px; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #e3f2ea, #fbf1dc 50%, #f9e3dc);
}
.g-band {
  position: absolute; top: -3px; bottom: -3px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 50%, #fff);
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.12);
  transform-origin: center; transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.gauge:not(.in) .g-band { transform: scaleX(.2); }
.g-pin { position: absolute; top: 12px; width: 18px; margin-left: -9px; height: 34px; display: flex; justify-content: center; cursor: default; }
.g-pin i { width: 4px; height: 34px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.g-pin b { display: none; }
.g-reco i { background: var(--brand-ink); }
.g-listing i { background: var(--sky); }
.g-ends span { position: absolute; top: 44px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.g-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 0; font-size: 12.5px; color: var(--ink-2); }
.g-legend span { display: inline-flex; align-items: center; gap: 6px; }
.g-legend i { width: 4px; height: 14px; border-radius: 2px; background: var(--ink); }
.g-legend .lg-reco i { background: var(--brand-ink); }
.g-legend .lg-listing i { background: var(--sky); }

.conf-box { display: flex; gap: 22px; align-items: center; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); }
.ring { width: 108px; height: 108px; flex-shrink: 0; }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 10; }
.ring-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 1s ease; }
.ring-hi .ring-fg { stroke: var(--ok); }
.ring-mid .ring-fg { stroke: var(--sun); }
.ring-lo .ring-fg { stroke: var(--bad); }
.ring-n { font-size: 27px; font-weight: 800; text-anchor: middle; fill: var(--ink); font-family: var(--sans); }
.ring-of { font-size: 11px; text-anchor: middle; fill: var(--ink-3); font-family: var(--sans); }
.conf-main { flex: 1; min-width: 0; }
.tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; background: var(--line-2); color: var(--ink-2);
}
.tag[data-band="alta"]  { background: var(--ok-soft);   color: #1f6b48; }
.tag[data-band="média"] { background: var(--warn-soft); color: #7a5307; }
.tag[data-band="baixa"] { background: var(--bad-soft);  color: #8a2f1c; }
.conf-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.conf-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.conf-list .ic { width: 17px; height: 17px; margin-top: 1px; }
.conf-list li.ok .ic { color: var(--ok); }
.conf-list li.no { color: #8a2f1c; }
.conf-list li.no .ic { color: var(--bad); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step {
  display: grid; grid-template-columns: 1fr auto 74px 110px; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line-2);
}
.st-main strong { display: block; font-size: 14px; color: var(--ink); }
.st-main em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.src { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.src-ine { background: #e6f0fa; color: #2f6aa3; }
.src-indexado { background: #efe8fa; color: #6b46a3; }
.src-assumido { background: #f3efe6; color: #7a6a45; }
.st-eff { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.st-eff.base { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.st-bar { position: relative; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.st-bar.base { background: transparent; }
.st-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 999px; }
.st-bar.up i { background: var(--ok); }
.st-bar.down i { background: var(--bad); }

.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-up.single { grid-template-columns: 1fr; }
.side {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px; border-radius: var(--r); background: var(--brand-softer); border: 1px solid var(--line-2);
}
.side.accent { background: var(--brand-ink); border-color: transparent; color: #fff; }
.side-label { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.side.accent .side-label, .side.accent .side-note { color: rgba(255,255,255,.82); }
.side-label .ic { width: 16px; height: 16px; }
.side-value { font-size: 34px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.side-note { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.adj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adj-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--r-sm); background: var(--line-2); font-size: 14px; }
.adj-list b { font-variant-numeric: tabular-nums; }
.reco-notes { margin-top: 20px; }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.tbl th { padding: 0 8px 10px; text-align: left; font-size: 12px; font-weight: 650; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: var(--brand-softer); }
.tbl th.num, .tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl.comps { margin-top: 6px; }
.tbl.comps td:first-child { color: var(--ink); font-weight: 600; }
.tbl.comps .flag { font-size: 11.5px; color: var(--bad); white-space: nowrap; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 650; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill.ps-sold_closing { background: var(--ok-soft); color: #1f6b48; }
.pill.ps-sold_asking { background: #e0f3f0; color: #146b61; }
.pill.ps-listed { background: #e6f0fa; color: #2f6aa3; }
.pill.ps-withdrawn { background: var(--line-2); color: var(--ink-3); }

.strip { position: relative; height: 66px; margin: 20px 8px 4px; }
.st-axis { position: absolute; left: 0; right: 0; top: 25px; height: 2px; border-radius: 1px; background: var(--line); }
.st-band {
  position: absolute; top: 14px; height: 24px; border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border: 1.5px dashed color-mix(in srgb, var(--brand) 60%, transparent);
}
.st-dot {
  position: absolute; top: 18px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.22); cursor: pointer;
  transition: transform .15s;
}
.st-dot:hover { transform: scale(1.3); }
.sd-sold_closing { background: var(--ok); }
.sd-sold_asking { background: var(--teal); }
.sd-listed { background: var(--sky); }
.sd-withdrawn { background: #b9b2a5; }
.st-ends { position: absolute; left: 0; right: 0; top: 46px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.st-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; font-size: 12.5px; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg i { width: 10px; height: 10px; border-radius: 50%; }
.lg-sold_closing i { background: var(--ok); }
.lg-sold_asking i { background: var(--teal); }
.lg-listed i { background: var(--sky); }
.lg-withdrawn i { background: #b9b2a5; }
.lg-band i { width: 16px; border-radius: 3px; background: color-mix(in srgb, var(--brand) 18%, #fff); border: 1.5px dashed var(--brand); }

.sell { padding: 20px; border-radius: var(--r); background: linear-gradient(180deg, var(--brand-softer), #fff); border: 1px solid var(--line-2); }
.sell-read {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  padding: 16px 20px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow);
}
.sr-l { margin: 0 0 4px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.sr-price, .sr-months { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sr-arrow { color: var(--ink-3); display: flex; }
.sr-arrow .ic { width: 26px; height: 26px; }
.sell[data-level="ok"] .sr-months { color: var(--ok); }
.sell[data-level="slow"] .sr-months { color: var(--warn); }
.sell[data-level="long"] .sr-months { color: var(--bad); }
.sr-diff { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.sr-diff.over { color: var(--bad); }
.sr-diff.under { color: var(--sky); }
.sr-flag { margin: 4px 0 0; font-size: 12px; font-weight: 650; color: var(--bad); }
.sell-chart { margin: 16px 0 4px; }
.sell-area { fill: url(#sell-fill); }
.sf-a { stop-color: var(--coral); stop-opacity: .22; }
.sf-b { stop-color: var(--ok); stop-opacity: .03; }
.sell-line { fill: none; stroke: var(--coral); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.sell-extra { stroke-dasharray: 7 6; opacity: .65; }
.sell-central { stroke: var(--ink-3); stroke-dasharray: 4 4; }
.sell-mark line { stroke: var(--brand-ink); stroke-dasharray: 2 3; }
.sell-mark circle { fill: var(--brand-ink); stroke: #fff; stroke-width: 2; cursor: pointer; }
.sm-owner line { stroke: var(--plum); }
.sm-owner circle { fill: var(--plum); }
.sn-line { stroke: var(--ink); stroke-width: 2; }
.sn-dot { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.sell-slider { margin: 8px 0 0; }
.sell-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer;
}
.sell-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ok), var(--sun) 45%, var(--coral) 75%, var(--bad));
}
.sell-slider input[type="range"]::-moz-range-track {
  height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ok), var(--sun) 45%, var(--coral) 75%, var(--bad));
}
.sell-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.sell-slider input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.sell-slider input[type="range"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 999px; }
.ss-ends { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sell-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sp {
  flex: 1; min-width: 118px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 10px 13px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff;
  font: inherit; text-align: left; color: inherit; cursor: pointer; transition: border-color .15s, transform .15s;
}
.sp:hover { border-color: var(--brand); transform: translateY(-1px); }
.sp span { font-size: 12px; font-weight: 650; color: var(--ink-3); }
.sp b { font-size: 15px; font-variant-numeric: tabular-nums; }
.sp em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.sp-owner { border-color: color-mix(in srgb, var(--plum) 45%, #fff); }
.sell-notes { margin-top: 6px; }

.consultant { display: grid; grid-template-columns: 140px 1fr; gap: 26px; align-items: center; }
.ag-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.ag-photo.placeholder { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.ag-photo.placeholder .ic { width: 52px; height: 52px; }
.cta-line { margin: 16px 0 0; font-size: 17px; font-weight: 650; color: var(--brand-ink); }

.fine { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.fine p { margin: 0 0 6px; }

.upsell {
  display: flex; gap: 16px; align-items: center;
  margin: 0 0 22px; padding: 18px 20px; border-radius: var(--r);
  background: linear-gradient(120deg, #1d1b18, #3d3427); color: #fff; box-shadow: var(--shadow);
}
.up-ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #f3d98b; }
.up-h { margin: 0 0 4px; font-size: 16px; font-weight: 750; }
.up-text p:last-child { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.8); }
.up-actions { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
.r-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 17px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 13.5px; font-weight: 650; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.r-btn.primary { background: #f3d98b; color: #1d1b18; }
.r-btn.primary:hover { background: #fff; }
.r-btn.ghost { background: transparent; border-color: rgba(255,255,255,.35); color: inherit; }
.r-btn:disabled { opacity: .6; cursor: default; }

.cfg-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(20,18,14,.38); }
.cfg {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(430px, 100vw); display: flex; flex-direction: column;
  background: #fff; box-shadow: -12px 0 40px rgba(0,0,0,.18);
  animation: cfg-in .25s ease;
}
@keyframes cfg-in { from { transform: translateX(28px); opacity: 0; } }
.cfg-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cfg-head h2 { flex: 1; font-size: 18px; }
.cfg-hic { display: flex; color: var(--brand-ink); }
.pro-badge {
  display: inline-flex; gap: 4px; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: #1d1b18; color: #f3d98b; font-size: 12px; font-weight: 750;
}
.pro-badge .ic { width: 13px; height: 13px; }
.cfg-x { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--line-2); color: var(--ink); cursor: pointer; }
.cfg-x .ic { width: 18px; height: 18px; }
.cfg-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; }
.cfg-lede { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.cfg-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.cfg-presets button {
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.cfg-presets button:hover { border-color: var(--brand); }
.cfg-g { margin-bottom: 10px; padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line); }
.cfg-g.off .cfg-sub, .cfg-g.off .cfg-note { opacity: .4; pointer-events: none; }
.cfg-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; }
.cfg-ic { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.cfg-ic .ic { width: 16px; height: 16px; }
.cfg-name { flex: 1; font-size: 14px; color: var(--ink); }
.cfg-row.main .cfg-name { font-weight: 700; }
.cfg-sub { margin-top: 2px; padding-left: 40px; border-top: 1px dashed var(--line); }
.cfg-sub .cfg-name { font-size: 13.5px; color: var(--ink-2); }
.cfg-fixed { font-size: 12px; color: var(--ink-3); }
.sw { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.sw input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw i { position: absolute; inset: 0; border-radius: 999px; background: #d6d0c4; transition: background .2s; }
.sw i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.22); transition: transform .2s;
}
.sw input:checked + i { background: var(--ok); }
.sw input:checked + i::after { transform: translateX(18px); }
.sw input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.sw input:disabled + i { opacity: .55; }
.sw input:disabled { cursor: not-allowed; }
.cfg-note summary {
  display: flex; gap: 6px; align-items: center; padding: 6px 0;
  font-size: 13px; font-weight: 600; color: var(--brand-ink); cursor: pointer; list-style: none;
}
.cfg-note summary::-webkit-details-marker { display: none; }
.cfg-note summary .ic { width: 15px; height: 15px; }
.cfg-note textarea {
  width: 100%; margin: 2px 0 6px; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line);
  font: inherit; font-size: 13.5px; line-height: 1.5; color: var(--ink); resize: vertical;
}
.cfg-note textarea:focus { outline: none; border-color: var(--brand); }
.cfg-foot { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); }
.cfg-state { flex: 1; font-size: 12.5px; color: var(--ink-3); }
.cfg-state.dirty { color: var(--warn); font-weight: 600; }
.cfg .r-btn.primary { background: var(--ink); color: #fff; }
.cfg .r-btn.primary:hover { background: #000; }
.cfg .r-btn.ghost { border-color: var(--line); color: var(--ink); }
.cfg-lock { margin: 0 0 14px; padding: 16px; border-radius: var(--r); background: linear-gradient(120deg, #1d1b18, #3d3427); color: #fff; }
.cfg-lock-h { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-weight: 750; }
.cfg-lock-h .ic { color: #f3d98b; width: 18px; height: 18px; }
.cfg-lock p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.cfg .cfg-lock .r-btn.primary { background: #f3d98b; color: #1d1b18; }
.cfg-groups.locked { opacity: .75; }

.cfg-sub-h { margin: 18px 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.cfg-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.cfg-style {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 8px 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: inherit; text-align: left; color: var(--ink); cursor: pointer;
}
.cfg-style:hover { border-color: var(--brand); }
.cfg-style[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.cfg-style:disabled { cursor: not-allowed; }
.cfg-style strong { font-size: 13px; }
.cfg-style small { font-size: 11px; line-height: 1.35; color: var(--ink-3); }
.cfg-styles.locked { opacity: .75; }
.cs-prev {
  position: relative; display: block; width: 100%; height: 58px; margin-bottom: 4px;
  border-radius: 8px; overflow: hidden; border: 1px solid var(--line);
}
.cs-prev i, .cs-prev b, .cs-prev em { position: absolute; display: block; }
.cs-prev i { left: 8px; top: 8px; width: 42%; height: 7px; border-radius: 4px; }
.cs-prev b { left: 8px; height: 4px; border-radius: 2px; }
.cs-prev b:nth-of-type(1) { top: 22px; width: 70%; }
.cs-prev b:nth-of-type(2) { top: 30px; width: 52%; }
.cs-prev em { left: 8px; bottom: 7px; width: 46%; height: 12px; border-radius: 6px; }
.cs-classic { background: linear-gradient(160deg, #f4ead2, #fff 60%); }
.cs-classic i { background: #1d1b18; }
.cs-classic b { background: #d6cdbb; }
.cs-classic em { background: #7d6522; }
.cs-professional { background: #17161a; border-color: #17161a; }
.cs-professional i { background: #e6cf8f; border-radius: 0; height: 6px; }
.cs-professional b { background: #4a463e; border-radius: 0; }
.cs-professional em { background: transparent; border: 1px solid #c8a951; border-radius: 0; }
.cs-simple { background: #fff; }
.cs-simple i { background: #111; border-radius: 0; }
.cs-simple b { background: #e3e3e3; border-radius: 0; }
.cs-simple em { background: #111; border-radius: 3px; }

:root[data-rstyle="professional"] {
  --bg: #e7e1d5;
  --paper: #fbf9f5;
  --ink: #1a1815;
  --ink-2: #4a453d;
  --ink-3: #857f73;
  --line: #d9d1c0;
  --line-2: #e8e1d2;
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fbf9f5);
  --brand-softer: #fbf9f5;
  --ok: #5a7a4e;
  --bad: #a9573f;
  --warn: #8a6f2c;
  --sun: #a8862f;
  --coral: #a9573f;
  --teal: #5a7a4e;
  --sky: #51708e;
  --plum: #6d5c7d;
  --r-lg: 2px;
  --r: 2px;
  --r-sm: 2px;
  --shadow: 0 3px 18px rgba(0,0,0,.13);
}
[data-rstyle="professional"] h1,
[data-rstyle="professional"] h2,
[data-rstyle="professional"] .c-range,
[data-rstyle="professional"] .est-range,
[data-rstyle="professional"] .kpi-v,
[data-rstyle="professional"] .side-value,
[data-rstyle="professional"] .rc-v,
[data-rstyle="professional"] .sr-price,
[data-rstyle="professional"] .sr-months,
[data-rstyle="professional"] .lead,
[data-rstyle="professional"] .cta-line,
[data-rstyle="professional"] .mark,
[data-rstyle="professional"] .agent .ag-name {
  font-family: var(--serif); font-weight: 500; letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
}
[data-rstyle="professional"] h1 { font-size: 54px; font-weight: 400; }
[data-rstyle="professional"] h2 { font-size: 28px; font-weight: 500; }
[data-rstyle="professional"] .lead { font-size: 19px; }
[data-rstyle="professional"] .kpi-v,
[data-rstyle="professional"] .rc-v { font-size: 28px; }
[data-rstyle="professional"] .side-value { font-size: 38px; }
[data-rstyle="professional"] .sec-eyebrow,
[data-rstyle="professional"] .kicker,
[data-rstyle="professional"] .kpi-l,
[data-rstyle="professional"] .sp-l,
[data-rstyle="professional"] .rc-l,
[data-rstyle="professional"] .c-lead,
[data-rstyle="professional"] .est-label,
[data-rstyle="professional"] .side-label,
[data-rstyle="professional"] .sr-l,
[data-rstyle="professional"] .sub-h,
[data-rstyle="professional"] .tbl th,
[data-rstyle="professional"] .an-who {
  text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 600;
}
[data-rstyle="professional"] .sub-h { color: var(--brand-ink); margin-top: 32px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
[data-rstyle="professional"] .sec-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
[data-rstyle="professional"] .sec-ic { width: 40px; height: 40px; background: transparent; border: 1px solid var(--brand); color: var(--brand); }
[data-rstyle="professional"] .kpi-ic,
[data-rstyle="professional"] .cover-art { display: none; }
[data-rstyle="professional"] .page {
  background-image: linear-gradient(114deg, transparent 41%, rgba(120,110,90,.025) 42.1%, transparent 43.2%),
    radial-gradient(120% 80% at 8% 0%, rgba(168,134,47,.05), transparent 58%);
}
[data-rstyle="professional"] .cover { background: #15141a; color: #f4efe6; }
[data-rstyle="professional"] .cover h1,
[data-rstyle="professional"] .cover .mark,
[data-rstyle="professional"] .cover .agent .ag-name { color: #f4efe6; }
[data-rstyle="professional"] .cover .mark { font-size: 22px; letter-spacing: .3em; text-transform: uppercase; }
[data-rstyle="professional"] .cover .kicker { background: transparent; box-shadow: none; padding: 0; color: #e6cf8f; letter-spacing: .32em; }
[data-rstyle="professional"] .c-place,
[data-rstyle="professional"] .cover .agent,
[data-rstyle="professional"] .c-period { color: #bdb6a7; }
[data-rstyle="professional"] .c-place .ic { color: #e6cf8f; }
[data-rstyle="professional"] .c-value {
  display: block; padding: 22px 0; background: transparent; box-shadow: none;
  border-top: 1px solid rgba(230,207,143,.55); border-bottom: 1px solid rgba(230,207,143,.25);
}
[data-rstyle="professional"] .c-lead { color: #e6cf8f; }
[data-rstyle="professional"] .c-range { color: #fff; font-size: 46px; font-weight: 400; }
[data-rstyle="professional"] .c-range span,
[data-rstyle="professional"] .c-before { color: #9a958b; }
[data-rstyle="professional"] .c-reco { background: transparent; border: 1px solid #c8a951; border-radius: 0; color: #f4efe6; }
[data-rstyle="professional"] .c-reco strong { color: #e6cf8f; font-family: var(--serif); font-weight: 500; font-size: 24px; }
[data-rstyle="professional"] .cover-foot { border-top-color: rgba(230,207,143,.3); }
[data-rstyle="professional"] .c-photo.empty { background: rgba(255,255,255,.08); color: #e6cf8f; }
[data-rstyle="professional"] .c-source,
[data-rstyle="professional"] .c-disclaimer { color: #8e897f; }
[data-rstyle="professional"] .c-watermark { background: rgba(255,255,255,.06); color: #bdb6a7; }
[data-rstyle="professional"] .kpi,
[data-rstyle="professional"] .spec,
[data-rstyle="professional"] .rc-main,
[data-rstyle="professional"] .rc-side {
  background: transparent; border: 0; border-top: 1px solid var(--line); padding-left: 0; padding-right: 0;
}
[data-rstyle="professional"] .kpis-sum .kpi:first-child { background: transparent; border-top: 2px solid var(--brand); }
[data-rstyle="professional"] .tip-note,
[data-rstyle="professional"] .tip-note.tip-info,
[data-rstyle="professional"] .tip-note.tip-chart,
[data-rstyle="professional"] .tip-note.tip-alert {
  background: transparent; color: var(--ink-2); border-left: 2px solid var(--brand); padding: 4px 0 4px 14px;
}
[data-rstyle="professional"] .tip-note strong { color: var(--ink); }
[data-rstyle="professional"] .tn-ic,
[data-rstyle="professional"] .tip-note .tn-ic { color: var(--brand); }
[data-rstyle="professional"] .agent-note { background: transparent; border-left-width: 2px; padding-left: 14px; }
[data-rstyle="professional"] .hb-track { height: 4px; border-radius: 0; }
[data-rstyle="professional"] .hb-track i { border-radius: 0; }
[data-rstyle="professional"] .est-hero,
[data-rstyle="professional"] .sell,
[data-rstyle="professional"] .conf-box,
[data-rstyle="professional"] .chart-card { background: transparent; border: 0; border-top: 2px solid var(--brand); border-bottom: 1px solid var(--line); padding-left: 0; padding-right: 0; }
[data-rstyle="professional"] .sell-read { box-shadow: none; border: 1px solid var(--line); background: transparent; }
[data-rstyle="professional"] .side { background: transparent; border: 1px solid var(--line); }
[data-rstyle="professional"] .side.accent { background: #15141a; border-color: #15141a; }
[data-rstyle="professional"] .side.accent .side-value { color: #e6cf8f; }
[data-rstyle="professional"] .step { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding-left: 0; padding-right: 0; }
[data-rstyle="professional"] .src,
[data-rstyle="professional"] .pill,
[data-rstyle="professional"] .tag,
[data-rstyle="professional"] .chip { border-radius: 0; background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
[data-rstyle="professional"] .adj-list li { background: transparent; border-bottom: 1px solid var(--line-2); border-radius: 0; padding-left: 0; padding-right: 0; }
[data-rstyle="professional"] .toc-in { border-radius: 0; background: #15141a; }
[data-rstyle="professional"] .toc-h { color: #e6cf8f; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
[data-rstyle="professional"] .toc a { color: #d8d1c2; border-radius: 0; background: rgba(255,255,255,.05); }
[data-rstyle="professional"] .toc a .ic { color: #e6cf8f; }
[data-rstyle="professional"] .toc a:hover { background: #e6cf8f; color: #15141a; }
[data-rstyle="professional"] .toc a:hover .ic { color: #15141a; }
[data-rstyle="professional"] .sp { border-radius: 0; }
[data-rstyle="professional"] .poi-card,
[data-rstyle="professional"] .poi-chip { border-radius: 0; }
[data-rstyle="professional"] .ag-photo { border-radius: 0; }
[data-rstyle="professional"] .lc-line { stroke-width: 2; }
[data-rstyle="professional"] .sell-line { stroke: var(--brand-ink); stroke-width: 2.4; }
[data-rstyle="professional"] .sf-a { stop-color: var(--brand); stop-opacity: .18; }
[data-rstyle="professional"] .sf-b { stop-color: var(--brand); stop-opacity: .02; }
[data-rstyle="professional"] .g-track { background: var(--line-2); border-radius: 0; height: 6px; top: 26px; }
[data-rstyle="professional"] .g-band { border-radius: 0; box-shadow: none; }

[data-rstyle="professional"] .m2-item {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-left: 0; padding-right: 0;
}
[data-rstyle="professional"] .m2-name, [data-rstyle="professional"] .m2-val { font-family: var(--serif); font-size: 17px; font-weight: 600; }
[data-rstyle="professional"] .ladder { border-radius: 0; border-left: 0; border-right: 0; }
[data-rstyle="professional"] .ld-row { background: transparent; }
[data-rstyle="professional"] .ld-ctx { background: transparent; }
[data-rstyle="professional"] .ld-result { background: var(--brand-softer); }
[data-rstyle="professional"] .ld-result .ld-value, [data-rstyle="professional"] .ld-result .ld-label strong { font-family: var(--serif); font-size: 17px; }
[data-rstyle="professional"] .step-result { background: transparent; border: 0; border-top: 1px solid var(--brand); border-radius: 0; }

:root[data-rstyle="simple"] {
  --bg: #f6f6f6;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #767676;
  --line: #e3e3e3;
  --line-2: #efefef;
  --brand-soft: #f3f3f3;
  --brand-softer: #ffffff;
  --brand-ink: #111111;
  --ok: #2e7d4f;
  --bad: #b3412b;
  --warn: #8a6100;
  --sun: #767676;
  --coral: #333333;
  --teal: #555555;
  --sky: #555555;
  --plum: #555555;
  --r-lg: 6px;
  --r: 6px;
  --r-sm: 4px;
  --shadow: none;
}
[data-rstyle="simple"] .sec-ic,
[data-rstyle="simple"] .kpi-ic,
[data-rstyle="simple"] .cover-art,
[data-rstyle="simple"] .sub-h .ic,
[data-rstyle="simple"] .tn-ic,
[data-rstyle="simple"] .an-ic { display: none; }
[data-rstyle="simple"] .cover { background: #fff; }
[data-rstyle="simple"] h1 { font-size: 40px; font-weight: 700; }
[data-rstyle="simple"] h2 { font-size: 22px; font-weight: 700; }
[data-rstyle="simple"] .sec-head { margin-bottom: 18px; }
[data-rstyle="simple"] .sec-eyebrow { color: var(--ink-3); font-weight: 600; }
[data-rstyle="simple"] .kicker { background: transparent; box-shadow: none; padding: 0; color: var(--ink-3); }
[data-rstyle="simple"] .c-value { display: block; padding: 0; background: transparent; box-shadow: none; }
[data-rstyle="simple"] .c-reco { background: #111; }
[data-rstyle="simple"] .kpi,
[data-rstyle="simple"] .spec,
[data-rstyle="simple"] .rc-main,
[data-rstyle="simple"] .rc-side,
[data-rstyle="simple"] .side,
[data-rstyle="simple"] .est-hero,
[data-rstyle="simple"] .sell,
[data-rstyle="simple"] .kpis-sum .kpi:first-child { background: #fff; border: 1px solid var(--line); }
[data-rstyle="simple"] .side.accent { background: #111; border-color: #111; }
[data-rstyle="simple"] .tip-note,
[data-rstyle="simple"] .tip-note.tip-info,
[data-rstyle="simple"] .tip-note.tip-chart,
[data-rstyle="simple"] .tip-note.tip-alert,
[data-rstyle="simple"] .agent-note { background: #f6f6f6; color: var(--ink-2); border-left: 0; }
[data-rstyle="simple"] .tip-note strong,
[data-rstyle="simple"] .agent-note .an-who { color: var(--ink); }
[data-rstyle="simple"] .hb-track i { background: #c9c9c9; }
[data-rstyle="simple"] .hbars li.on .hb-track i { background: #111; }
[data-rstyle="simple"] .src,
[data-rstyle="simple"] .pill,
[data-rstyle="simple"] .chip,
[data-rstyle="simple"] .tag { background: #f1f1f1; color: #333; }
[data-rstyle="simple"] .rc-main { background: #fff; }
[data-rstyle="simple"] .sell-read { box-shadow: none; border: 1px solid var(--line); }
[data-rstyle="simple"] .lc-line { stroke: #111; stroke-width: 2.4; }
[data-rstyle="simple"] .lc-dot { stroke: #111; }
[data-rstyle="simple"] .lc-stop-a { stop-color: #111; stop-opacity: .07; }
[data-rstyle="simple"] .lc-stop-b { stop-color: #111; stop-opacity: 0; }
[data-rstyle="simple"] .sell-line { stroke: #111; stroke-width: 2.4; }
[data-rstyle="simple"] .sf-a { stop-color: #111; stop-opacity: .06; }
[data-rstyle="simple"] .sf-b { stop-color: #111; stop-opacity: 0; }
[data-rstyle="simple"] .sell-slider input[type="range"]::-webkit-slider-runnable-track { background: #dcdcdc; }
[data-rstyle="simple"] .sell-slider input[type="range"]::-moz-range-track { background: #dcdcdc; }
[data-rstyle="simple"] .g-track { background: #efefef; }
[data-rstyle="simple"] .g-band { background: #cfcfcf; box-shadow: none; }
[data-rstyle="simple"] .toc-in { background: #fff; box-shadow: none; border: 1px solid var(--line); }
[data-rstyle="simple"] .toc a .ic { color: #111; }
[data-rstyle="simple"] .toc a:hover { background: #111; }
[data-rstyle="simple"] .poi-card { border-top-width: 1px; border-top-color: #eee9df; }

[data-rstyle="professional"] .page, [data-rstyle="simple"] .page { border-radius: var(--r-lg); }

@media screen and (max-width: 720px) {
  [data-rstyle="professional"] h1 { font-size: 40px; }
  [data-rstyle="professional"] .c-range { font-size: 31px; }
  [data-rstyle="professional"] .side-value { font-size: 30px; }
  [data-rstyle="professional"] .lead { font-size: 17px; }
}

[data-rstyle] .cfg-head h2 { font-family: var(--sans); font-size: 18px; font-weight: 750; letter-spacing: -.01em; text-transform: none; }
[data-rstyle] .cfg-g, [data-rstyle] .cfg-style, [data-rstyle] .cfg-lock { border-radius: 12px; }
[data-rstyle] .sw input:checked + i { background: #2f9e6b; }

@media screen {
  [data-rstyle="simple"] .page { border: 1px solid var(--line); }
}
@media screen and (min-width: 721px) {
  [data-rstyle="professional"] .page { padding: 44px 50px 40px; }
  [data-rstyle="simple"] .doc { max-width: 820px; }
  [data-rstyle="simple"] .page { margin-bottom: 14px; }
}

.m2-tag {
  display: inline-grid; place-items: center; width: 17px; height: 17px; margin: 0 0 0 3px; padding: 0;
  border: 1px solid var(--brand); border-radius: 5px; background: var(--paper); color: var(--brand-ink);
  font: 800 10.5px/1 var(--sans); letter-spacing: 0; vertical-align: 2px; text-transform: none;
}
button.m2-tag { cursor: pointer; }
button.m2-tag:hover, button.m2-tag[aria-expanded="true"] { background: var(--brand); color: #fff; }
button.m2-tag:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.m2-cap { margin: 0 0 10px; display: flex; gap: 6px; align-items: baseline; }
.m2-cap .m2-tag { flex-shrink: 0; margin: 0; }
.m2-pop {
  position: absolute; z-index: 80; padding: 14px 16px 12px; border-radius: var(--r);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(25,20,10,.18); font-size: 13px; line-height: 1.55;
}
.m2p-h { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 750; font-size: 14px; }
.m2p-h .m2-tag { margin: 0; }
.m2p-v { margin: 6px 0 0; font-weight: 750; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.m2p-d { margin: 6px 0 0; color: var(--ink-2); }
.m2p-more { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 650; color: var(--brand-ink); }

.m2-list { margin: 18px 0 0; display: grid; gap: 10px; }
.m2-item { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--brand-softer); border: 1px solid var(--line-2); }
.m2-item dt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.m2-item dt .m2-tag { width: 22px; height: 22px; font-size: 12.5px; margin: 0; border-radius: 6px; }
.m2-name { font-weight: 750; font-size: 14.5px; color: var(--ink); }
.m2-val { margin-left: auto; font-weight: 800; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.m2-item dd { margin: 6px 0 0 32px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }

.ladder { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ld-row {
  display: grid; grid-template-columns: 26px 1fr 74px 120px; gap: 12px; align-items: center;
  padding: 10px 14px; border-top: 1px solid var(--line-2); background: #fff;
}
.ld-row:first-child { border-top: 0; }
.ld-tag .m2-tag { margin: 0; }
.ld-label strong { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.ld-label em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); }
.ld-change, .ld-value { text-align: right; font-variant-numeric: tabular-nums; }
.ld-change { font-weight: 750; font-size: 13px; }
.ld-value { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.ld-ctx { background: var(--line-2); }
.ld-ctx .ld-value { color: var(--ink-3); font-weight: 600; }
.ld-result { background: var(--brand-soft); }
.ld-result .ld-label strong, .ld-result .ld-value { font-weight: 800; color: var(--ink); }
.ld-result .ld-value { font-size: 15.5px; }
.step-result { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, #fff); }
.step-result .st-eff { font-size: 14px; font-weight: 800; color: var(--ink); }

.cfg-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cfg-desc { font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.cfg-m2 { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: 1px; }
.cfg-m2 b {
  display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 4px;
  border: 1px solid var(--brand); color: var(--brand-ink); font-size: 9.5px; font-weight: 800;
}
.cfg-hint { margin: -4px 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.cfg-row:has(input:not(:checked)) .cfg-text { opacity: .55; }

@page { size: A4; margin: 17mm 14mm 15mm; }
@page :first { margin: 0; }

@media print {
  html, body { background: #fff; }
  .toolbar, .no-print, .toc, .upsell, .cfg, .cfg-scrim, .tip, .shared-note, .chart-hint,
  .sell-slider, .poi-hint, .doc-example { display: none !important; }
  .doc { max-width: none; margin: 0; padding: 0; }
  html .page { margin: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; break-before: auto; }
  html .page.cover {
    height: 297mm; min-height: 0; padding: 20mm 18mm 15mm;
    overflow: hidden; break-after: page;
  }
  html .page.sec { zoom: .86; padding: 0; margin: 0 0 8mm; background-image: none; background-color: transparent; }
  html .page.sec + .page.sec { padding-top: 7mm; border-top: 1px solid var(--line); }
  .m2-tag { width: 14px; height: 14px; font-size: 9px; border-radius: 4px; }
  .m2-item, .ld-row, .ladder { break-inside: avoid; }
  .m2-list { gap: 6px; margin-top: 12px; }
  .m2-item { padding: 8px 12px; }
  .m2-item dd { font-size: 12px; line-height: 1.45; }
  .ld-row { padding-top: 6px; padding-bottom: 6px; }
  #sec-summary, #sec-property, #sec-evolution, #sec-reco, #sec-neighbours, #sec-comparables,
  #sec-poi, #sec-selling, #sec-agent, #sec-sources { break-inside: avoid; }
  .sec-head, .sub-h, .sec .lead, #poi-intro { break-after: avoid; }
  .sec-head + *, .sub-h + *, .agent-note + * { break-before: avoid; }
  .sec-head { margin-bottom: 14px; }
  .sub-h { margin-top: 18px; }
  .sec-head, .kpi, .spec, .step, .poi-card, .rent-card, .two-up, .conf-box, .sell-read, .chart-card,
  .gauge, .g-legend, .agent-note, .tip-note, .hbars li, .sp, .est-hero, .tbl tr, .poi-mapbox, .strip,
  .sell-chart, .sell-points, .consultant, .adj-list li, .specs, .kpis { break-inside: avoid; }
  .steps { gap: 4px; }
  .step { padding-top: 7px; padding-bottom: 7px; }
  .tip-note { margin-top: 9px; padding-top: 8px; padding-bottom: 8px; }
  .est-hero { padding-top: 16px; padding-bottom: 16px; }
  .conf-box { padding-top: 12px; padding-bottom: 12px; }
  .sell { padding: 12px 14px; }
  .sell-read { padding: 10px 16px; box-shadow: none; border: 1px solid var(--line); }
  .sell-chart { margin: 8px 0 0; }
  .sell-chart svg { max-height: 250px; }
  .sell-points { margin-top: 8px; }
  .sell-notes .tip-note { font-size: 12.5px; line-height: 1.5; }
  #sec-selling > .cap { font-size: 10.5px; }
  .ag-photo { width: 110px; height: 110px; }
  .consultant { grid-template-columns: 110px 1fr; }
  .hb-track i, .g-band, .ring-fg { transition: none !important; }
  .hbars:not(.in) .hb-track i, .gauge:not(.in) .g-band { transform: none !important; }
  .tbl tbody tr:hover td { background: none; }
  .sp:hover { transform: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media screen and (max-width: 720px) {
  .toolbar { flex-wrap: nowrap; gap: 10px; padding: 7px 12px; min-height: 56px; }
  .tb-back { flex-shrink: 0; font-size: 13px; padding: 10px 2px; }
  .tb-title { flex: 1; min-width: 0; margin-left: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tb-spacer { display: none; }
  .tb-menu { display: inline-flex; }
  .tb-actions {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 10px; flex-wrap: nowrap;
    padding: 12px 14px 18px; background: #17161a; box-shadow: 0 12px 26px rgba(0,0,0,.28);
  }
  .tb-actions.open { display: flex; }
  .tb-actions .tb-btn { width: 100%; height: 46px; font-size: 14px; }
  .toolbar.tb-single .tb-menu { display: none; }
  .toolbar.tb-single .tb-actions {
    display: flex; position: static; flex-direction: row; margin-left: auto;
    padding: 0; background: none; box-shadow: none;
  }
  .toolbar.tb-single .tb-actions .tb-btn { width: auto; height: 40px; }

  .doc { padding: 14px 10px 60px; }
  .page { padding: 26px 18px 24px; border-radius: 18px; margin-bottom: 14px; }
  .toc-in { padding: 14px 12px 12px; }
  .toc a { padding: 8px 12px; font-size: 12.5px; }
  .sec-head { flex-direction: column; text-align: center; gap: 10px; }
  h2 { font-size: 22px; }
  .sub-h { justify-content: center; text-align: center; }
  .cover { min-height: 0; padding: 26px 20px 22px; }
  .cover-mid { padding: 26px 0 18px; }
  h1 { font-size: 33px; }
  .c-value { display: block; padding: 16px 18px; }
  .c-range { font-size: 28px; }
  .c-reco { flex-wrap: wrap; }
  .lead { font-size: 15.5px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 13px 13px 12px; }
  .kpi-v { font-size: 20px; }
  .kpi.wide .kpi-v { white-space: normal; }
  .specs { grid-template-columns: 1fr 1fr; }
  .hbars li, .hbars.wide-val li { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .hb-track { grid-column: 1 / -1; grid-row: 2; }
  .rent-card { grid-template-columns: 1fr; }
  .est-hero { padding: 18px 16px; }
  .est-range { font-size: 27px; }
  .conf-box { flex-direction: column; text-align: center; }
  .conf-list { grid-template-columns: 1fr; text-align: left; }
  .step { grid-template-columns: 1fr auto; gap: 8px 10px; }
  .st-main { grid-column: 1 / -1; }
  .ld-row { grid-template-columns: 22px 1fr auto; gap: 4px 10px; padding: 10px 12px; }
  .ld-change { grid-column: 2; grid-row: 2; text-align: left; }
  .ld-value { grid-column: 3; grid-row: 1 / span 2; }
  .m2-item dd { margin-left: 0; }
  .m2-val { margin-left: 0; width: 100%; }
  .st-bar { grid-column: 1 / -1; }
  .two-up { grid-template-columns: 1fr; }
  .side-value { font-size: 28px; }
  .lc-axis { font-size: 20px; }
  .sell { padding: 14px 12px; }
  .sell-read { grid-template-columns: 1fr; text-align: center; gap: 6px; }
  .sr-arrow { justify-content: center; transform: rotate(90deg); }
  .sr-price, .sr-months { font-size: 26px; }
  .sp { min-width: calc(50% - 4px); }
  .consultant { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .upsell { flex-direction: column; text-align: center; }
  .up-actions { margin: 0; flex-direction: column; width: 100%; }
  .up-actions .r-btn { width: 100%; }

  .tbl.comps, .tbl.comps tbody { display: block; }
  .tbl.comps thead { display: none; }
  .tbl.comps tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .tbl.comps td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  .tbl.comps td:first-child { grid-column: 1 / -1; }
  .tbl.comps td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  }
}

.page.sec { scroll-margin-top: 72px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
