/* Portals v2 shared UI (Part B): header with property/role switcher, 5-tab bar per role, upload sheet (S02),
   messages (T16/O15), documents list. Active only when body has class "pv2" (app_settings.portal_v2 or a test
   property). Mobile first: 390 px, 44 px touch targets. Brand: navy #1B1F4D, gold #F6CF46. */
body.pv2 #tabbar { display: none !important; }
body.pv2 #s-home > .top { display: none; }
body.pv2 .screen { padding-bottom: 86px; }
body.pv2 .screen.no-tab { padding-bottom: 0; }

.pv2-header { position: sticky; top: 0; z-index: 30; background: #1B1F4D; padding: max(env(safe-area-inset-top), 14px) 14px 14px; display: flex; align-items: center; gap: 10px; }
.pv2-header button { min-height: 44px; }
.pv2-prop { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 10px; background: #2a2f63; border: 1px solid #3a3f73; border-radius: 12px; padding: 0 12px; text-align: left; color: #fff; }
.pv2-chip { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #1B1F4D; padding: 4px 8px; border-radius: 6px; flex-shrink: 0; }
.pv2-chip.tenant { background: #F6CF46; }
.pv2-chip.owner { background: #fff; }
.pv2-prop-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv2-prop-text b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv2-prop-text small { font-size: 12px; color: #c9cde6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv2-icon { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #3a3f73; background: #2a2f63; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.pv2-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: #F6CF46; color: #1B1F4D; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

.pv2-menu-wrap { position: fixed; inset: 0; z-index: 60; display: none; }
.pv2-menu-wrap.open { display: block; }
.pv2-menu-scrim { position: absolute; inset: 0; background: rgba(15, 18, 48, .5); border: 0; width: 100%; }
.pv2-menu { position: absolute; left: 50%; transform: translateX(-50%); top: 74px; width: min(366px, calc(100% - 24px)); background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 100px); overflow: auto; }
.pv2-menu-title { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #5b6170; padding: 8px 10px 4px; text-transform: uppercase; }
.pv2-mem { display: flex; align-items: center; gap: 12px; padding: 12px 10px; min-height: 44px; border-radius: 12px; text-align: left; width: 100%; color: #23283a; }
.pv2-mem[aria-current="true"] { background: #f4f5f9; }
.pv2-mem .pv2-chip { min-width: 66px; text-align: center; }
.pv2-mem .pv2-chip.owner { background: #1B1F4D; color: #fff; }
.pv2-mem-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pv2-mem-text b { font-size: 14px; font-weight: 700; }
.pv2-mem-text small { font-size: 12px; color: #5b6170; }
.pv2-mem-count { font-size: 12px; font-weight: 700; color: #854f0b; background: #faeeda; padding: 4px 10px; border-radius: 20px; flex-shrink: 0; }
.pv2-mem-tick { color: #0f6e56; flex-shrink: 0; }
/* fix-up 23 Oct: "Account and sign out" at the foot of the switcher (not a property row) */
.pv2-acct { display: flex; align-items: center; gap: 12px; padding: 12px 10px; min-height: 44px; border-radius: 12px; text-align: left; width: 100%; color: #23283a; border-top: 1px solid #eceef4; margin-top: 4px; }
.pv2-acct .pv2-mem-text b { font-size: 14px; }
.pv2-menu-note { font-size: 12px; color: #5b6170; padding: 10px 10px 8px; line-height: 1.45; border-top: 1px solid #e4e6f0; }

.pv2-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; height: calc(74px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid #e4e6f0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); z-index: 40; }
.pv2-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #8a8fa3; min-height: 44px; }
.pv2-nav button[aria-current="page"] { color: #1B1F4D; }
.pv2-nav span.l { font-size: 11px; font-weight: 700; }
.pv2-nav .nb { position: absolute; top: 10px; left: 50%; margin-left: 6px; min-width: 16px; height: 16px; border-radius: 8px; background: #a32d2d; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

.pv2-body { padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.pv2-card { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #e4e6f0; }
.pv2-h1 { margin: 0; font-size: 22px; font-weight: 800; color: #1B1F4D; }
.pv2-sub { margin: 4px 0 0; font-size: 14px; color: #5b6170; }
.pv2-btn { min-height: 48px; border-radius: 12px; background: #1B1F4D; color: #fff; font-weight: 700; font-size: 15px; padding: 0 18px; }
.pv2-btn.gold { background: #F6CF46; color: #1B1F4D; }
.pv2-btn:disabled { opacity: .55; }
.pv2-dashed { min-height: 52px; border: 2px dashed #c3c8dc; border-radius: 12px; color: #1B1F4D; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #fafbff; }

/* Messages */
.pv2-pm { display: flex; align-items: center; gap: 12px; }
.pv2-pm .av { width: 44px; height: 44px; border-radius: 22px; background: #1B1F4D; color: #F6CF46; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pv2-pm .t { flex: 1; display: flex; flex-direction: column; } .pv2-pm .t b { font-size: 15px; } .pv2-pm .t small { font-size: 12px; color: #5b6170; }
.pv2-call { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #e4e6f0; display: flex; align-items: center; justify-content: center; }
.pv2-thread { display: flex; flex-direction: column; gap: 10px; }
.pv2-day { align-self: center; font-size: 12px; color: #5b6170; font-weight: 700; }
.pv2-bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.pv2-bubble.mine { align-self: flex-end; background: #1B1F4D; color: #fff; border-bottom-right-radius: 4px; }
.pv2-bubble.them { align-self: flex-start; background: #f4f5f9; color: #23283a; border-bottom-left-radius: 4px; }
.pv2-bubble .who { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; color: #854f0b; }
.pv2-bubble .when { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }
.pv2-att { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.14); min-height: 44px; width: 100%; color: inherit; text-align: left; font-size: 13px; }
.pv2-bubble.them .pv2-att { background: #fff; border: 1px solid #e4e6f0; }
.pv2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pv2-chips button { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #c3c8dc; background: #fff; font-weight: 700; font-size: 13px; color: #1B1F4D; }
.pv2-chips button[aria-pressed="true"] { background: #1B1F4D; color: #fff; border-color: #1B1F4D; }
.pv2-compose label { font-size: 12px; font-weight: 700; color: #5b6170; letter-spacing: .5px; text-transform: uppercase; }
.pv2-compose textarea { width: 100%; min-height: 84px; border: 1px solid #c3c8dc; border-radius: 12px; padding: 10px 12px; font-size: 15px; margin-top: 6px; resize: vertical; }
.pv2-compose .row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pv2-compose .row .sp { flex: 1; font-size: 12px; color: #5b6170; }
.pv2-note { font-size: 12.5px; color: #5b6170; text-align: center; line-height: 1.45; }

/* Upload sheet (S02) */
.pv2-sheet-wrap { position: fixed; inset: 0; z-index: 80; display: none; }
.pv2-sheet-wrap.open { display: block; }
.pv2-sheet { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.pv2-grip { width: 40px; height: 5px; border-radius: 3px; background: #c3c8dc; align-self: center; }
.pv2-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.pv2-sheet-head h2 { margin: 0; font-size: 19px; color: #1B1F4D; }
.pv2-x { width: 44px; height: 44px; font-size: 24px; color: #5b6170; }
.pv2-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv2-sources button { min-height: 76px; border-radius: 14px; border: 1px solid #e4e6f0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 700; color: #1B1F4D; background: #fafbff; }
.pv2-sources button:first-child { background: #1B1F4D; color: #fff; border-color: #1B1F4D; }
.pv2-files { display: flex; flex-direction: column; gap: 8px; }
.pv2-file { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #e4e6f0; border-radius: 12px; }
.pv2-thumb { width: 56px; height: 56px; border-radius: 10px; background: #f4f5f9; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #1B1F4D; overflow: hidden; }
.pv2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv2-file-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pv2-file-main span { font-size: 13px; color: #23283a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv2-file-main input, .pv2-file-main select { min-height: 36px; border: 1px solid #c3c8dc; border-radius: 8px; padding: 0 8px; font-size: 13px; width: 100%; }
.pv2-file-main label { position: absolute; left: -9999px; }
.pv2-prog { height: 6px; border-radius: 3px; background: #e4e6f0; overflow: hidden; }
.pv2-prog i { display: block; height: 6px; background: #1B1F4D; width: 0; transition: width .2s; }
.pv2-file.err { border-color: #a32d2d; }
.pv2-rules { font-size: 12.5px; color: #5b6170; line-height: 1.5; background: #f4f5f9; border-radius: 12px; padding: 10px 12px; }
.pv2-errs { color: #a32d2d; font-size: 13px; }

/* Documents */
.pv2-doc { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #e4e6f0; border-radius: 12px; min-height: 56px; width: 100%; text-align: left; background: #fff; }
.pv2-doc .k { width: 40px; height: 40px; border-radius: 10px; background: #eef0f6; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #1B1F4D; flex-shrink: 0; }
.pv2-doc .m { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv2-doc .m b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pv2-doc .m small { font-size: 12px; color: #5b6170; }

/* Money (decision 1): coming-soon card */
.pv2-money { background: #1B1F4D; color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pv2-money .tag { align-self: flex-start; font-size: 11px; font-weight: 800; background: #F6CF46; color: #1B1F4D; border-radius: 6px; padding: 3px 8px; letter-spacing: .5px; }
.pv2-money p { margin: 0; font-size: 13.5px; color: #e6e8f3; line-height: 1.5; }
.pv2-money a { color: #F6CF46; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- pages (portals build Parts 1-2, 11 Oct 2026) ---------- */
body.pv2 .pv2-h2 { margin: 6px 0 -4px; font-size: 16px; font-weight: 800; color: #1B1F4D; }
body.pv2 .pv2-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; background: #1B1F4D; color: #fff; padding: 6px 8px; min-height: 56px; }
body.pv2 .pv2-backbtn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #F6CF46; }
body.pv2 .pv2-top-t { font-weight: 700; font-size: 15px; }
body.pv2 .pv2-eyebrow { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: #5b6170; text-transform: uppercase; }
body.pv2 .pv2-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.pv2 .pv2-kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f0f1f6; font-size: 14px; }
body.pv2 .pv2-kv:last-child { border-bottom: 0; }
body.pv2 .pv2-kv span { color: #5b6170; }
body.pv2 .pv2-kv b { text-align: right; color: #1B1F4D; }
body.pv2 .pv2-kv b small { display: block; font-weight: 400; color: #5b6170; font-size: 12px; }
body.pv2 .pv2-kv .gold, body.pv2 b.gold { color: #8a6a00; }
body.pv2 .pv2-kv .muted { color: #8a8fa0; font-weight: 600; }
body.pv2 .pv2-big { display: block; font-size: 18px; font-weight: 800; color: #1B1F4D; margin: 6px 0; }
body.pv2 .pv2-pill { font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: #eef0f6; color: #1B1F4D; }
body.pv2 .pv2-pill.green { background: #e1f5ee; color: #0f6e56; }
body.pv2 .pv2-pill.red { background: #fceaea; color: #a32d2d; }
body.pv2 .pv2-bar { height: 8px; border-radius: 6px; background: #eef0f6; overflow: hidden; margin: 6px 0 4px; }
body.pv2 .pv2-bar i { display: block; height: 100%; background: #F6CF46; border-radius: 6px; }
body.pv2 .pv2-attn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; text-align: left; background: #fff; border: 1px solid #e4e6f0; border-radius: 14px; padding: 12px 14px; color: #1B1F4D; text-decoration: none; }
body.pv2 .pv2-attn .i { width: 40px; height: 40px; border-radius: 12px; background: #eef0f6; display: grid; place-items: center; flex: 0 0 40px; }
body.pv2 .pv2-attn .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
body.pv2 .pv2-attn .t b { font-size: 15px; } body.pv2 .pv2-attn .t small { font-size: 13px; color: #5b6170; }
body.pv2 .pv2-attn.gold { border-color: #F6CF46; background: #fffbea; } body.pv2 .pv2-attn.gold .i { background: #F6CF46; }
body.pv2 .pv2-attn.amber { border-color: #f0dcb4; background: #faeeda; }
body.pv2 .pv2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.pv2 .pv2-tile { min-height: 84px; border-radius: 14px; background: #fff; border: 1px solid #e4e6f0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #1B1F4D; font-size: 12.5px; font-weight: 700; text-align: center; padding: 8px; }
body.pv2 .pv2-urgent { display: block; background: #a32d2d; color: #fff; border-radius: 14px; padding: 14px 16px; text-decoration: none; min-height: 44px; }
body.pv2 .pv2-urgent b { display: block; font-size: 15px; } body.pv2 .pv2-urgent span { font-size: 13px; opacity: .9; }
body.pv2 .pv2-strip { display: flex; justify-content: space-between; gap: 8px; background: #1B1F4D; color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
body.pv2 .pv2-strip b { color: #F6CF46; } body.pv2 .pv2-strip.red { background: #a32d2d; }
body.pv2 .pv2-quote { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid #F6CF46; background: #fafbfd; font-size: 14px; color: #3a3f55; border-radius: 0 10px 10px 0; }
body.pv2 .pv2-info { background: #e6eefa; color: #1d4f91; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
body.pv2 .pv2-ok { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; }
body.pv2 .pv2-ok b { font-size: 18px; color: #1B1F4D; }
body.pv2 .pv2-radios { display: flex; flex-direction: column; gap: 8px; }
body.pv2 .pv2-radio { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; min-height: 56px; background: #fff; border: 1.5px solid #e4e6f0; border-radius: 14px; padding: 12px 14px; color: #1B1F4D; }
body.pv2 .pv2-radio .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b8bccd; flex: 0 0 20px; margin-top: 2px; }
body.pv2 .pv2-radio.on { border-color: #1B1F4D; background: #f6f7fb; } body.pv2 .pv2-radio.on .dot { border: 6px solid #1B1F4D; }
body.pv2 .pv2-radio .t { display: flex; flex-direction: column; gap: 2px; } body.pv2 .pv2-radio .t b { font-size: 15px; } body.pv2 .pv2-radio .t small { font-size: 13px; color: #5b6170; }
body.pv2 .pv2-label { font-size: 13px; font-weight: 700; color: #1B1F4D; margin-bottom: -6px; }
body.pv2 .pv2-input { width: 100%; min-height: 48px; border: 1.5px solid #d5d8e6; border-radius: 12px; padding: 10px 12px; font-size: 16px; background: #fff; color: #1B1F4D; font-family: inherit; box-sizing: border-box; }
body.pv2 .pv2-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #1B1F4D; min-height: 44px; padding: 6px 0; }
body.pv2 .pv2-check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }
body.pv2 .pv2-check.strong { font-weight: 700; }
body.pv2 .pv2-btn { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; width: 100%; box-sizing: border-box; }
body.pv2 .pv2-btn.ghost { background: #fff; color: #1B1F4D; border: 1.5px solid #d5d8e6; }
body.pv2 .pv2-btn.small { min-height: 44px; font-size: 14px; }
body.pv2 .pv2-link { background: none; border: 0; color: #1B1F4D; font-weight: 700; text-decoration: underline; min-height: 44px; padding: 0 2px; font-size: 14px; text-align: left; }
body.pv2 .pv2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.pv2 .pv2-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #3a3f55; }
body.pv2 .pv2-hist { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e4e6f0; display: flex; flex-direction: column; gap: 10px; }
body.pv2 .pv2-hist li { font-size: 14px; display: flex; flex-direction: column; } body.pv2 .pv2-hist li b { font-size: 12.5px; color: #5b6170; }
body.pv2 .pv2-hist li.next span { color: #8a6a00; font-weight: 700; }
body.pv2 .pv2-gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
body.pv2 .pv2-gates span { font-size: 11px; text-align: center; padding: 6px 2px; border-top: 4px solid #dfe2ee; color: #5b6170; }
body.pv2 .pv2-gates span.done { border-color: #0f6e56; } body.pv2 .pv2-gates span.now { border-color: #F6CF46; color: #1B1F4D; font-weight: 700; }
body.pv2 .pv2-reco { background: #fffbea; border: 1px solid #F6CF46; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
body.pv2 .pv2-reco b { font-size: 16px; color: #1B1F4D; }
body.pv2 .pv2-reco details summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
body.pv2 .pv2-preview { border: 1.5px dashed #b8bccd; border-radius: 14px; padding: 14px; background: #fafbfd; font-size: 14px; }
body.pv2 .pv2-preview b { color: #1B1F4D; }
body.pv2 .pv2-date { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f1f6; }
body.pv2 .pv2-date:last-child { border-bottom: 0; }
body.pv2 .pv2-date .d { width: 46px; text-align: center; background: #1B1F4D; color: #fff; border-radius: 10px; padding: 4px 0; }
body.pv2 .pv2-date .d small { display: block; font-size: 10px; color: #F6CF46; font-weight: 800; } body.pv2 .pv2-date .d b { font-size: 17px; }
body.pv2 .pv2-date .t { display: flex; flex-direction: column; } body.pv2 .pv2-date .t small { color: #5b6170; font-size: 13px; }
body.pv2 .pv2-group { background: #fff; border: 1px solid #e4e6f0; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
body.pv2 .pv2-rep { border-top: 1px solid #f0f1f6; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
body.pv2 .pv2-rep-main { text-align: left; background: none; border: 0; padding: 0; min-height: 44px; display: flex; flex-direction: column; color: #1B1F4D; }
body.pv2 .pv2-rep-main small { color: #5b6170; }
body.pv2 .pv2-tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: #eef0f6; color: #1B1F4D; }
body.pv2 .pv2-tag.ingoing { background: #e1f5ee; color: #0f6e56; } body.pv2 .pv2-tag.outgoing { background: #fceaea; color: #a32d2d; } body.pv2 .pv2-tag.routine { background: #e6eefa; color: #1d4f91; }
body.pv2 .pv2-fname { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: #5b6170; word-break: break-all; }
body.pv2 .pv2-room { background: #fff; border: 1px solid #e4e6f0; border-radius: 14px; padding: 0 14px; }
body.pv2 .pv2-room summary { min-height: 56px; display: flex; flex-direction: column; justify-content: center; cursor: pointer; }
body.pv2 .pv2-room summary small { color: #5b6170; }
body.pv2 .pv2-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
body.pv2 .pv2-photos figure, body.pv2 .pv2-pair figure { margin: 0; }
body.pv2 .pv2-photos img, body.pv2 .pv2-pair img, body.pv2 .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; background: #eef0f6; display: block; }
body.pv2 .pv2-photos figcaption { font-size: 10.5px; color: #5b6170; margin-top: 2px; }
body.pv2 .pv2-items { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
body.pv2 .pv2-items th { text-align: left; font-size: 11px; color: #5b6170; text-transform: uppercase; padding: 4px 0; }
body.pv2 .pv2-items td { border-top: 1px solid #f0f1f6; padding: 6px 6px 6px 0; vertical-align: top; } body.pv2 .pv2-items td small { display: block; color: #5b6170; }
body.pv2 .pv2-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
body.pv2 .pv2-counts span { background: #fff; border: 1px solid #e4e6f0; border-radius: 12px; padding: 10px; text-align: center; font-size: 12px; color: #5b6170; }
body.pv2 .pv2-counts b { display: block; font-size: 22px; color: #1B1F4D; } body.pv2 .pv2-counts .red b { color: #a32d2d; }
body.pv2 .pv2-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
body.pv2 .pv2-pair figcaption { font-size: 12px; color: #3a3f55; margin-top: 4px; } body.pv2 .pv2-pair figcaption b { display: block; font-size: 11px; color: #5b6170; }
body.pv2 .pv2-sig { width: 100%; height: 150px; border: 1.5px dashed #b8bccd; border-radius: 12px; background: #fff; touch-action: none; }
body.pv2 .pv2-lease .pv2-kv:first-of-type { margin-top: 6px; }
