/* House readability: consume the shared wp typography, preserve native layout and states. */
@media (min-width:768px) {
  #page-houses,
  #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) {
    --house-title:var(--wp-font-size-xl,20px);
    --house-section:var(--wp-font-size-lg,16px);
    --house-body:var(--wp-font-size-md,14px);
    --house-meta:var(--wp-font-size-sm,13px);
    --house-tag:var(--wp-font-size-xs,12px);
    --house-amount:var(--wp-font-size-2xl,24px);
    font-family:-apple-system,"PingFang SC","Helvetica Neue","Microsoft YaHei","Noto Sans SC",sans-serif;
  }
  /* List: a clear property/room/price hierarchy, restrained state backgrounds. */
  #page-houses .ym-house-group.optimized {background:#fff!important;border-color:var(--wp-color-border-soft,#e2e8f0)!important;box-shadow:0 1px 3px #0f172a06!important}
  #page-houses .ym-group-header.v2 {background:var(--wp-color-bg-muted,#f8fafc)!important}
  #page-houses .ym-v2-name {font-size:var(--house-section)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  #page-houses :is(.ym-v2-loc-row,.ym-v2-loc-part,.ym-v2-loc-org) {font-size:var(--house-meta)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  #page-houses .ym-v2-stat-unit {font-size:var(--house-tag)!important}
  #page-houses .ym-room-card.v4 {box-shadow:none!important}
  #page-houses .ym-room-card.v4.rc-card-vacant {background:#fffafa!important;border-color:#efc4c4!important}
  #page-houses .ym-room-card.v4.rc-card-rented {background:#f7fcf9!important;border-color:#bedfce!important}
  #page-houses .rc-room-no {font-size:var(--house-body)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  #page-houses .rc-card-price {font-size:var(--house-title)!important;font-weight:700!important;font-variant-numeric:tabular-nums}
  #page-houses .rc-status-badge {font-size:var(--house-tag)!important;font-weight:500!important;line-height:18px!important}
  #page-houses .rc-card-vdays {font-size:var(--house-tag)!important;line-height:18px!important;font-weight:500!important}
  /* Shared public/room shell: all geometry stays in the existing adapters. */
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) {background:#f5f7fa!important;color:var(--wp-color-text-primary)}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #detail-title {font-size:var(--house-title)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #detail-subtitle {font-size:var(--house-meta)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-summary-metric>span {font-size:var(--house-tag)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-summary-metric>strong {font-size:var(--house-body)!important;font-weight:600!important;font-variant-numeric:tabular-nums}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gc-title,.gq-ui-head,.rmp-status-heading,.rmu-status-heading,.kv-title,.staff-label) {font-size:var(--house-section)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gc-title,.gq-ui-head)>:is(button,[onclick]) {font-size:var(--house-meta)!important;font-weight:500!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.dt-room-base-label,.gq-base-grid .gc-label,.gq-side-kv>span,.dt-rent-info-label,.gq-amenity-label,.rmu-amenity-label) {font-size:var(--house-tag)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.dt-room-base-value,.gq-base-grid .gc-val) {font-size:var(--house-body)!important;font-weight:500!important;color:var(--wp-color-text-primary)!important;line-height:1.5!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.dt-ci-text,.gq-amenity-empty,.rmu-amenity-empty,.gq-amenity-chip,.rmu-room-amenities .fac-tag) {font-size:var(--house-meta)!important;line-height:1.6!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .dt-ci-text {color:var(--wp-color-text-secondary)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-side-kv {font-size:var(--house-meta)!important;line-height:1.5!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-side-kv>b:not(.money) {color:var(--wp-color-text-primary)!important;font-weight:500!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-side-kv:is([data-gqu-field="合同周期"],[data-gqu-field="结算账户"])>b {font-size:var(--house-tag)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #detail-tabs .dt-tab {font-size:var(--house-meta)!important;font-weight:500!important}
  /* Device labels, hygiene and value chips use one readable size and alignment. */
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(#ym-rh-device-tags,.gq-device) :is(.d-lb,.v2-st) {font-size:var(--house-meta)!important;color:var(--wp-color-text-secondary)!important;font-weight:500!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(#ym-rh-device-tags,.gq-device) :is(.d-val,.v2-clean-tag,.gq-rentdue-val) {font-size:var(--house-tag)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-status-row::before {font-size:var(--house-section)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gqu-lock-row :is(b,em) {font-size:var(--house-tag)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gqu-lock-row small {font-size:var(--house-tag)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #ym-rh-price {font-size:var(--house-amount)!important;font-weight:700!important;color:var(--wp-color-primary)!important;font-variant-numeric:tabular-nums}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.ym-rh-unit,.house-rent-label) {font-size:var(--house-tag)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-pay-rent-btn,.ym-rh-consult,.rmu-action-strip .ra-btn,.rmu-action-strip .sa-btn,.drp-device-btn) {font-size:var(--house-meta)!important;font-family:inherit}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .drp-followup>div:first-child {font-size:var(--house-section)!important;font-weight:600!important;color:var(--wp-color-text-primary)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .drp-followup textarea {font-size:var(--house-meta)!important;font-family:inherit;background:var(--wp-color-bg-muted,#f8fafc)!important}
}
@media (min-width:768px) {
  #page-houses button:focus-visible,
  #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) button:focus-visible {outline:2px solid var(--wp-color-primary)!important;outline-offset:2px}
}


@media (min-width:768px) {
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.v2-det-lb,.v2-cell-lb,.v2-plb) {font-size:var(--house-tag)!important;color:var(--wp-color-text-tertiary,#64748b)!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.tenant-card-v2__detail-value,.v2-period strong,.v2-cell-vl) {font-size:var(--house-body)!important;color:var(--wp-color-text-primary)!important}
}

/* Public base fields share the same compact scale as their due-date rows. */
@media (min-width:768px) {
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-section-base .gq-base-grid :is(.dt-room-base-value,.gc-val),
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-section-base .gq-base-grid :is(.dt-room-base-value,.gc-val) :is(span,strong,b,a) {font-size:var(--house-tag,12px)!important}
}

/* Community metadata and prose share one text scale in public and room views. */
@media (min-width:768px) {
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-section-community .gc-label,.rmp-community .dt-room-base-label) {font-size:var(--house-tag,12px)!important;color:var(--wp-color-text-tertiary,#64748b)!important;font-weight:400!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-section-community .gc-val,.rmp-community .dt-room-base-value,.gq-section-intro .dt-ci-text,.rmp-intro .dt-ci-text) {font-size:var(--house-tag,12px)!important;color:var(--wp-color-text-secondary,#475569)!important;font-weight:400!important;line-height:1.8!important}
  body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-section-community .gc-val,.rmp-community .dt-room-base-value)>:not([onclick]) {font-size:inherit!important;color:inherit!important;font-weight:inherit!important}
}

/* Approved detail typography/alignment 20261018detailtype4. CSS only; native icons, handlers, data and photo geometry are preserved. */
@media(min-width:769px){
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) {--wp-color-text-muted:#4b5563;--wp-color-text-tertiary:#4b5563;--rmp-muted:#4b5563;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gc-title,.gq-ui-head,.kv-title,.rmp-status-heading,.rmu-status-heading,.drp-followup>div:first-child)) {font-size:16px!important;font-weight:600!important;line-height:24px!important;color:#0f172a!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gc-title,.gq-ui-head)>span:not([onclick]),.gq-ui-head>b) {font-size:inherit!important;font-weight:inherit!important;color:inherit!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-room-base-label,.gc-label,.gq-side-kv>span,.gq-amenity-label,.rmu-amenity-label,.dt-rent-info-label,.v2-det-lb,.v2-cell-lb,.v2-plb,.d-lb,.d-name)) {font-size:14px!important;font-weight:400!important;line-height:24px!important;color:#4b5563!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-room-base-value,.gc-val,.gq-side-kv>b,.dt-rent-info-value,.v2-cell-vl,.tenant-card-v2__detail-value,.d-date)) {font-size:15px!important;font-weight:500!important;line-height:24px!important;color:#1f2937!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-room-base-value,.gc-val)>:not([onclick]):not(a):not([class])) {font-size:inherit!important;font-weight:inherit!important;color:inherit!important;line-height:inherit!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-ci-text,.gq-amenity-empty,.rmu-amenity-empty,.gq-amenity-chip,.rmu-room-amenities .fac-tag,.kv-text,.drp-followup textarea,.gq-section-note [id^="gq-note-text"],.rmp-note .gc-val)) {font-size:14px!important;font-weight:400!important;line-height:24px!important;color:#374151!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gc-title,.gq-ui-head)>:is(button,[onclick]),:is(.dt-room-base-value,.gc-val)>[onclick]) {font-size:14px!important;font-weight:500!important;line-height:22px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(#detail-title) {font-size:20px!important;font-weight:600!important;line-height:28px!important;color:#0f172a!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(#detail-subtitle) {font-size:14px!important;line-height:22px!important;color:#4b5563!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(#ym-rh-price) {font-size:24px!important;font-weight:700!important;line-height:32px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-pay-rent-btn,.ym-rh-consult,.rmu-action-strip .ra-btn,.rmu-action-strip .sa-btn,.drp-device-btn,.tc-vacant button)) {font-size:14px!important;font-weight:500!important;line-height:22px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-badge,.d-val,.gq-rentdue-val,.v2-clean-tag,.v2-st,.gqu-lock-row small,.gqu-lock-row em,.gqu-lock-row b,.gq-contract-state)) {font-size:13px!important;line-height:20px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-side-kv>b.money) {color:#e44c46!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-section-rooms td,.gq-section-rooms th)) {font-size:14px!important;line-height:22px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-base-grid,.rmp-base>.dt-room-core,.rmp-community>.dt-room-base,.gq-section-community>div:not(.gc-title))) {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:12px 20px!important;align-items:start!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-section-base.glass-card>.gq-base-grid) {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.rmp-base.glass-card>.dt-room-core) {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-section-community>div:not(.gc-title)>div:has(>.gq-community-field)) {display:contents!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-base-grid>.dt-room-base-item,.gq-base-grid>.gq-base-location,.gq-community-field,.rmp-base .dt-room-base-item,.rmp-community .dt-room-base-item)) {display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:0 10px!important;align-items:baseline!important;min-width:0!important;margin:0!important;padding:0!important;grid-column:auto!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-base-grid>.dt-room-base-item,.gq-base-grid>.gq-base-location,.gq-community-field,.rmp-base .dt-room-base-item,.rmp-community .dt-room-base-item)>:is(.gc-label,.dt-room-base-label)) {width:auto!important;min-width:0!important;margin:0!important;white-space:nowrap!important;line-height:24px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-base-grid>.dt-room-base-item,.gq-base-grid>.gq-base-location,.gq-community-field,.rmp-base .dt-room-base-item,.rmp-community .dt-room-base-item)>:is(.gc-val,.dt-room-base-value)) {min-width:0!important;margin:0!important;line-height:24px!important;overflow-wrap:anywhere!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-base-location:last-child,.gq-section-community>div:not(.gc-title)>.gq-community-field:last-child,.rmp-community .dt-room-base-item:last-child) {grid-column:1/-1!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-base-due) {display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;column-gap:10px!important;align-items:baseline!important;min-height:24px!important;padding:0!important;margin:0!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-base-due .d-name) {white-space:nowrap!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-base-due .d-main) {width:auto!important;min-width:0!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-base-due .d-right) {display:flex!important;gap:6px!important;align-items:baseline!important;margin:0!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-side-kv) {display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;column-gap:10px!important;align-items:baseline!important;margin:0 0 7px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-side-kv>*) {min-width:0!important;max-width:none!important;text-align:left!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-context>.glass-card:has(> .gc-title [onclick^="showBlockEditor"][onclick$=",4)"])>div:not(.gc-title)>div) {display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;column-gap:8px!important;align-items:baseline!important;min-width:0!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-context>.glass-card:has(> .gc-title [onclick^="showBlockEditor"][onclick$=",4)"]) .gc-label) {width:42px!important;min-width:42px!important;margin:0!important;white-space:nowrap!important;text-align:justify!important;text-align-last:justify!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.gq-context>.glass-card:has(> .gc-title [onclick^="showBlockEditor"][onclick$=",4)"]) .gc-val) {min-width:0!important;margin:0!important;overflow-wrap:anywhere!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(.rmp-community) {height:max-content!important;min-height:200px!important;}
}
@media(min-width:769px) and (max-width:1180px){
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-section-base.glass-card>.gq-base-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmp-base.glass-card>.dt-room-core{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Sales policy typography only: 20261018policytype1. Icons and handlers unchanged. */
@media(min-width:769px){
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"]>div:not(.gc-title):not(.rmp-contract-policy)>div:nth-child(2)>div:first-child,html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"] .rmp-contract-policy>span{font-size:14px!important;font-weight:400!important;line-height:24px!important;color:#4b5563!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"]>div:not(.gc-title):not(.rmp-contract-policy)>div:nth-child(2)>div:last-child,html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"] .rmp-contract-policy>div{font-size:15px!important;font-weight:500!important;line-height:24px!important;color:#1f2937!important;}
}

@media(min-width:769px){html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmp-policy[data-svc-kind="policy"]{height:max-content!important;}}

/* Community name full row; preserve native top room tabs. 20261018communityrow1 */
@media(min-width:769px){
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmp-community.glass-card>.dt-room-base>.dt-room-base-item:nth-child(3),
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-section-community.glass-card>div:not(.gc-title)>div:has(>.gq-community-field)>.gq-community-field:first-child{grid-column:1/-1!important;}
}

/* 20261018 tenant card: full dates and natural height, preserve all native fields/actions. */
@media(min-width:769px){
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card, html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .tenant-card-v2{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-det-row{grid-template-columns:100px minmax(0,1fr) auto!important;gap:4px 6px!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-det-lb{white-space:nowrap!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-period{grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:10px 0!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-period strong{grid-column:1/-1;display:block;white-space:normal!important;overflow-wrap:normal!important;line-height:24px!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-period>button{grid-column:1/-1;justify-self:end;max-width:100%;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;padding:10px!important;background:#f8fafc;border:1px solid #e8eef5;border-radius:6px;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell{grid-template-columns:minmax(0,1fr)!important;gap:2px!important;padding:0!important;align-items:start!important;justify-items:start!important;text-align:left!important;border-left:0!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell-lb{white-space:nowrap!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell-vl{white-space:normal!important;overflow-wrap:anywhere;line-height:24px!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell:last-child{grid-column:1/-1;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:4px 8px!important;padding-top:8px!important;border-top:1px solid #e8eef5!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell:last-child .v2-cell-lb{flex:0 0 auto;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 .v2-cell:last-child .v2-cell-vl{flex:0 0 auto;white-space:nowrap!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .v2-g3 small{flex:0 0 auto;margin-left:auto;font-size:13px!important;line-height:20px!important;white-space:normal!important;max-width:100%;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .tenant-card-v2__billing{flex:0 0 auto!important;overflow:visible!important;max-height:none!important;padding-top:10px!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .tenant-card-v2__billing>div{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px 12px!important;min-width:0!important;}
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .tenant-card-v2__billing>div>span{display:inline-flex!important;flex:0 0 auto!important;min-width:0;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;}
}
@media(min-width:1101px){
 html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card, html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card .tenant-card-v2{min-height:320px!important;}
}

/* Keep each billing label/value together while sharing one row when space permits. 20261018salesrow1 */
@media(min-width:769px){
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card #ym-biz-info>div>span>.tenant-card-v2__label{display:inline-block!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;white-space:nowrap!important;overflow-wrap:normal!important;font-size:14px!important;font-weight:400!important;line-height:22px!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card #ym-biz-info>div>span>.tenant-card-v2__detail-value{display:inline-block!important;flex:0 0 auto!important;min-width:0!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:15px!important;font-weight:500!important;line-height:22px!important;}
}

/* Native room header rent-age indicator; values come from the existing selected room. 20261018rentoverdue1 */
#ym-rh-info .ym-rh-status-row{flex-wrap:wrap!important;}
#ym-rh-info #ym-rh-rent-overdue{display:inline-flex!important;align-items:center;flex:0 0 auto;white-space:nowrap;max-width:100%;box-sizing:border-box;padding:3px 8px;border:1px solid #fecdd3;border-radius:6px;background:#fff1f2;color:#dc2626;font-size:14px;font-weight:600;line-height:22px;}
#ym-rh-info #ym-rh-rent-overdue[hidden]{display:none!important;}
@media(max-width:600px){#ym-rh-info #ym-rh-rent-overdue{font-size:13px;line-height:20px;padding:2px 7px;}}

/* 20261021workspace1: approved desktop workspace scale. Typography only; native icons, navigation, statistics, APIs and mobile remain authoritative. */
@media(min-width:769px){
#page-houses .ym-v2-name{font-size:15px!important;line-height:22px!important;font-weight:600!important;}
body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .drp-followup>div:first-child{font-size:15px!important;line-height:22px!important;font-weight:600!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-room-base-label,.gc-label,.gq-side-kv>span,.gq-amenity-label,.rmu-amenity-label,.dt-rent-info-label,.v2-det-lb,.v2-cell-lb,.v2-plb,.d-lb,.d-name)){font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-room-base-value,.gc-val,.gq-side-kv>b,.dt-rent-info-value,.v2-cell-vl,.tenant-card-v2__detail-value,.d-date)){font-size:14px!important;line-height:22px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.dt-ci-text,.gq-amenity-empty,.rmu-amenity-empty,.gq-amenity-chip,.rmu-room-amenities .fac-tag,.kv-text,.drp-followup textarea,.gq-section-note [id^="gq-note-text"],.rmp-note .gc-val)){font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gc-title,.gq-ui-head)>:is(button,[onclick]),:is(.dt-room-base-value,.gc-val)>[onclick]){font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) :is(:is(.gq-section-rooms td,.gq-section-rooms th)){font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"]>div:not(.gc-title):not(.rmp-contract-policy)>div:nth-child(2)>div:last-child,html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) [data-svc-kind="policy"] .rmp-contract-policy>div{font-size:14px!important;line-height:22px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card #ym-biz-info>div>span>.tenant-card-v2__label{font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html.wnc-desktop-standard body.wnc-desktop-standard #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .rmu-upper-side #ym-tenant-card #ym-biz-info>div>span>.tenant-card-v2__detail-value{font-size:14px!important;line-height:22px!important;font-weight:400!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.gc-title,.gq-ui-head>b,.gq-ui-title,.rmp-section-title,.drp-title){font-size:15px!important;line-height:22px!important;font-weight:600!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.dt-room-base-label,.gc-label,.d-name,.gq-side-kv>span){font-size:13px!important;line-height:22px!important;font-weight:400!important;color:#475569!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.dt-room-base-value,.gc-val,.d-date,.gq-side-kv>b,.gq-side-kv>strong){font-size:14px!important;line-height:22px!important;font-weight:400!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.dt-room-base-value,.gc-val) :is(span,strong,b,a){font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.dt-ci-text,.drp-followup p,.gq-ui-empty){font-size:13px!important;line-height:21px!important;font-weight:400!important;color:#374151!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog .gq-side-kv[data-gqu-field="合同周期"]>b{font-size:13px!important;line-height:20px!important;font-variant-numeric:tabular-nums;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog :is(.gq-ui-btn,.gq-pay-rent-btn){font-size:13px!important;line-height:20px!important;font-weight:400!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog #dt-info :is(th,td){font-size:13px!important;line-height:20px!important;}
html body #app #main-area #page-houses .ym-v2-name{font-size:15px!important;line-height:22px!important;font-weight:500!important;}
html body #app #main-area #page-houses .rc-room-no{font-size:13px!important;font-weight:500!important;}
html body #app #main-area #page-houses .rc-card-price{font-size:18px!important;line-height:24px!important;font-weight:600!important;}
html body #app #main-area #page-houses .ym-v2-rate-num{font-size:20px!important;line-height:24px!important;font-weight:600!important;}
html body #desktop-house-detail-modal .desktop-house-detail-dialog .rmp-follow .gc-title>span[title="提交跟进"]{font-size:13px!important;line-height:20px!important;font-weight:400!important;white-space:nowrap!important;width:auto!important;flex:0 0 auto!important;padding:4px 8px!important;border-radius:6px!important;}
}

/* 20261021houseblue1: native house actions, color only. */
body:has(#page-houses.active) #ym-rh-consult > button,
body:has(#page-houses.active) .tenant-card-v2__contract-btn[onclick^="openAddRentModal("],
#page-detail.active #ym-rh-consult > button,
#page-detail.active .tenant-card-v2__contract-btn[onclick^="openAddRentModal("] {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
}

/* 20261021publichead2: public/room header uses existing public typography; no layout changes. */
@media(min-width:769px){
/* Match the shared popup typography priority only for this native house title. */
html body:is(body, #wnc-popup-type-1):is(body, #wnc-popup-type-2):is(body, #wnc-popup-type-3):is(body, #wnc-popup-type-4):is(body, #wnc-popup-type-5):is(body, #wnc-popup-type-6):is(body, #wnc-popup-type-7):is(body, #wnc-popup-type-8):is(body, #wnc-popup-type-9):is(body, #wnc-popup-type-10) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #detail-title{font-size:20px!important;font-weight:600!important;line-height:28px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .detail-top-bar,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-house-summary,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs-scroll,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs{font-size:16px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #detail-subtitle{font-size:14px!important;line-height:22px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-summary-metric,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-summary-metric>span{font-size:12px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) .gq-summary-metric>strong{font-size:14px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs .house-tab,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs .house-tab>span{font-size:13px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs .rt-room{font-size:14px!important;}
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs .rt-price,
html body:has(#app #main-area) #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view) #room-tabs .rt-tenant{font-size:10px!important;}
}
/* Keep the native landlord rent-payment action solid blue. */
body:has(#page-houses.active) .gq-pay-rent-btn,
#page-detail.active .gq-pay-rent-btn{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;}

/* 20261021actionalign1: align room consultation with the public rent-payment footer. */
@media(min-width:769px){
body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view).rmu-room-upper #ym-rh-info:has(#ym-rh-consult:not([style*="display: none"]):not([style*="display:none"]) > button){position:relative!important;padding-bottom:55px!important;}
body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view).rmu-room-upper #ym-rh-consult{position:absolute!important;left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;height:33px!important;margin:0!important;}
body #desktop-house-detail-modal .desktop-house-detail-dialog:not(.find-room-view).rmu-room-upper #ym-rh-consult>button{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:100%!important;height:33px!important;min-height:33px!important;padding:4px!important;margin:0!important;border:1px solid #2563eb!important;border-radius:5px!important;}
}
