/* Comparison-only F2 workspace. Load after tab-review.css and review-day-f-theme.css. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] {--cmp-blue:#3182f6;--cmp-ink:#172338;--cmp-muted:#65758c;--cmp-border:#e2eaf3;--cmp-canvas:#f3f6fb}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-split.is-compare {grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;min-width:0;overflow:auto;padding:24px 32px 30px;background:var(--cmp-canvas)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-left {width:100%;min-width:0;min-height:0;gap:0}
/* F2's day-toolbar grid is more specific than the legacy compare-mode hide rule. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-toolbar {display:none}
/* Preserve existing counters without inheriting the oversized day dashboard. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-summary-strip {grid-template-columns:repeat(4,minmax(90px,1fr)) repeat(2,minmax(180px,1.3fr));align-items:center;height:auto;min-height:76px;margin:0 0 18px;padding:12px 18px;gap:8px 16px;border:1px solid var(--cmp-border);border-radius:14px;background:#fff}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-sum-cell {min-width:0;padding:0}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-sum-val {font-size:21px;line-height:1.35}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode :is(.rv-noc-left,.rv-noc-market) {margin:0;padding:8px 12px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-sum-cell:nth-child(5) .rv-sum-val {font-size:20px;line-height:1.4}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-compare-panel.is-active {display:block;width:100%;min-width:0;flex:1 0 auto;margin:0;padding:22px 24px 26px;border:1px solid var(--cmp-border);border-radius:16px;background:#fff;box-shadow:none;overflow:visible;color:var(--cmp-ink)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvCompareView {width:100%;min-width:0}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvCompareView :is(button,select) {font-family:inherit}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvCompareView :is(button,select):focus-visible {outline:2px solid var(--cmp-blue);outline-offset:2px}
/* Keep day and visit/region deck groups distinct and pressed state visible. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deckbar {display:grid;grid-template-columns:minmax(140px,185px) minmax(0,1fr);align-items:start;gap:16px;margin:0 0 22px;padding:17px 20px;border:1px solid var(--cmp-border);border-radius:14px;background:#f8faff;background-image:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deckbar-title strong {color:var(--cmp-ink);font-size:15px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deckbar-title span {color:var(--cmp-muted);font-size:11px;line-height:1.5}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-groups {gap:9px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-group {grid-template-columns:72px minmax(0,1fr);gap:12px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-group-label {color:#42546e;font-size:12px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tabs {gap:7px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tab {min-height:34px;padding:6px 10px;border:1px solid #d7e2ee;border-radius:9px;background:#fff;color:#40546e;box-shadow:none;font-size:12px;font-weight:600}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tab b {background:#edf2f8;color:#53657c}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tab:hover {border-color:#3182f6;color:#1b64da;background:#f1f6ff}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tab.is-active {border-color:#3182f6;background:#3182f6;color:#fff;box-shadow:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-tab.is-active b {background:#ffffff35;color:#fff}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head {align-items:center;gap:16px;margin:0 0 18px;padding:0 0 18px;border-bottom-color:var(--cmp-border)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head>div:first-child {min-width:0}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head h3 {color:var(--cmp-ink);font-size:22px;letter-spacing:-.045em}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head p {color:var(--cmp-muted);font-size:12px;line-height:1.5}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head-actions {flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:65%}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head-actions :is(button,select),body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-empty-actions button {min-height:36px;border-radius:9px;font-size:12px;box-shadow:none;filter:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-share,.rv-compare-ai,.rv-compare-primary) {border-color:#3182f6;background:#3182f6;background-image:none;color:#fff;box-shadow:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-share,.rv-compare-ai,.rv-compare-primary):hover {border-color:#1b64da;background:#1b64da;background-image:none;box-shadow:none;filter:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-primary.is-visit {border-color:#3182f6;background:#3182f6}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-source,.rv-compare-pdf,.rv-compare-clear,.rv-compare-opinion-select) {border:1px solid #d7e2ee;background:#fff;color:#40546e}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-source,.rv-compare-pdf,.rv-compare-clear):hover {border-color:#a9c9f5;background:#edf4ff;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-select {height:36px;min-width:145px;font-weight:600}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-share-status {border-color:#cfe1fa;border-radius:10px;background:#edf4ff;color:#24558e}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-share-status button {border-color:#b7d3f8;border-radius:7px;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-share-status button:hover {background:#dceaff}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-card {margin:0 0 18px;border-color:var(--cmp-border);border-radius:14px;background:#fff;box-shadow:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-head {padding:17px 20px;border-bottom-color:var(--cmp-border)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-head h4 {color:var(--cmp-ink);font-size:16px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-head p {max-width:900px;color:var(--cmp-muted);font-size:11px;line-height:1.55}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-stats span {border-color:#e2eaf3;border-radius:7px;background:#f7f9fc;color:#52657c;font-size:11px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-stats .is-selected {border-color:#b7d3f8;background:#edf4ff;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-wrap {height:320px;background:#e9f0f7}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-tool:is(:hover,.is-active) {border-color:#a9c9f5;background:#edf4ff;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-marker {box-shadow:0 3px 10px #17233820}
/* Only the table panel scrolls horizontally; per-count widths avoid cramped 4/6-deck columns. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-wrap {display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:auto;border:1px solid var(--cmp-border);border-radius:14px;background:#fff;scrollbar-color:#c6d4e5 transparent}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table {width:100%;min-width:760px;table-layout:fixed;color:var(--cmp-ink)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(2):last-child) {width:min(100%,880px)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(3):last-child) {min-width:880px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(4):last-child) {min-width:1050px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(5):last-child) {min-width:1240px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(6):last-child) {min-width:1450px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table:has(thead th:nth-child(7):last-child) {min-width:1660px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table th,body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table td {padding:11px 13px;border-color:#e8eef5;font-size:12px;line-height:1.5;vertical-align:middle}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table thead th {height:52px;background:#f5f8fc;color:#263b56;font-size:13px;font-weight:700}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table thead th:first-child,body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table tbody th {position:sticky;left:0;z-index:2;width:136px;min-width:136px;background:#f8faff;color:#566982;text-align:left;font-weight:700}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table thead th:first-child {z-index:3;background:#f5f8fc}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table td.is-best {background:#edf8f5;color:#12735d}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-col-title {padding:0 27px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-no {background:#edf4ff;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-col-remove {opacity:1;pointer-events:auto;transform:none;border-radius:7px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-memo-cell {min-width:0;max-width:none;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-address-cell {text-align:left;overflow-wrap:anywhere}
/* Keep original zoom buttons, bound galleries, and preserve every building pixel. */
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-gallery {width:100%;max-width:440px;margin:0 auto;gap:7px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-hero {display:flex;align-items:center;justify-content:center;width:100%;height:220px;aspect-ratio:auto;border-color:#dae4ee;border-radius:9px;background:#edf2f7}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-photos {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-photo {height:72px;aspect-ratio:auto;border-color:#dae4ee;border-radius:7px;background:#edf2f7}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-table-hero,.rv-compare-table-photo,.rv-compare-hero,.rv-compare-photo) img {display:block;width:100%;height:100%;object-fit:contain}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-table-hero,.rv-compare-table-photo).is-video {border-color:#c1d7f5;background:#142b4e;background-image:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-hero {max-height:220px;background:#edf2f7}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-photo {max-height:75px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-card {border-color:var(--cmp-border);border-radius:12px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-photo.is-thumb {border-color:#9cc5fb}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion {margin-top:18px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] :is(.rv-compare-opinion-placeholder,.rv-compare-opinion-loading) {min-height:70px;border-color:#d6e3f3;border-radius:12px;background:#f8faff;color:var(--cmp-muted)}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-card {border-color:#d6e3f3;border-radius:14px;box-shadow:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-top {border-bottom-color:var(--cmp-border);background:#f8faff;background-image:none}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-eyebrow {color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-score {border-color:#b7d3f8;background:#edf4ff;color:#1b64da}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-summary {background:#f8faff}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-rank {border-color:var(--cmp-border);border-radius:10px}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-opinion-rank.is-top {border-color:#b8e4d8;background:#edf8f5}
body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-market-spinner {border-top-color:#3182f6}
@media(max-width:1250px) {
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-split.is-compare {grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:20px 22px;overflow:auto}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-left {min-height:0}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-summary-strip {grid-template-columns:repeat(3,minmax(0,1fr));height:auto}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head {align-items:flex-start;flex-direction:column}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-head-actions {max-width:none;justify-content:flex-start}
}
@media(max-width:800px) {
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-split.is-compare {padding:14px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-summary-strip {grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] #rvMainView.is-compare-mode .rv-compare-panel.is-active {padding:16px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deckbar {grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-deck-group {grid-template-columns:minmax(0,1fr);gap:5px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-head {flex-direction:column;gap:10px}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-side {align-items:flex-start;max-width:100%}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-map-stats {justify-content:flex-start}
 body[data-rv-day-theme="f2"][data-rv-f2-view="compare"] .rv-compare-table-gallery {max-width:380px}
}
