/* Re:Noah v37.9.3: confirmed gallery flow and top-navigation AI reports. */

/* Property detail gallery: main image -> categories -> thumbnails. */
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-gallery{display:block!important;min-width:0}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-slide-stage{position:relative!important;display:block!important;float:none!important;width:100%!important;height:auto!important;margin:0!important;min-height:420px;background:#f4f5f7;box-sizing:border-box}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-slide-stage .rn-slide{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#f4f5f7}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-gallery-tabs{position:static!important;inset:auto!important;z-index:auto!important;float:none!important;clear:both;display:flex!important;width:100%!important;min-height:38px;box-sizing:border-box;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:7px!important;margin:12px 0 8px!important;padding:0 0 2px!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;transform:none!important}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-gallery-tabs button{flex:0 0 auto;width:auto!important;min-height:36px;padding:0 13px!important;white-space:nowrap}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-thumbs{position:static!important;inset:auto!important;z-index:auto!important;float:none!important;clear:both;display:grid!important;width:100%!important;min-height:72px;box-sizing:border-box;grid-auto-flow:column!important;grid-auto-columns:96px!important;justify-content:start!important;gap:8px!important;margin:0!important;padding:0 0 4px!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;transform:none!important}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-thumbs button{width:96px!important;height:68px!important;border:2px solid transparent!important;border-radius:7px;overflow:hidden;background:#f4f5f7}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-thumbs button.active{border-color:#d4af37!important;box-shadow:0 0 0 1px rgba(212,175,55,.25)}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-thumbs img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#f4f5f7}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-v3005-floorplan-pdf{position:static!important;float:none!important;clear:both;display:flex}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-photo-counter{top:16px!important;right:16px!important;bottom:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;box-sizing:border-box!important;padding:6px 14px!important;line-height:1.2!important;white-space:nowrap!important}
.rn-public-property-detail-v3792 .rn-v3792-gallery .rn-photo-label{position:absolute!important;top:16px!important;left:16px!important;right:auto!important;bottom:auto!important;z-index:6!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:calc(100% - 120px)!important;height:auto!important;min-height:32px!important;margin:0!important;padding:6px 14px!important;box-sizing:border-box!important;border:0!important;border-radius:999px!important;background:#d4af37!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-align:center!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* AI analysis: remove the legacy side column and use the full public canvas. */
.rn-public-ai-report-page .rn-ai-report-app{display:block!important;width:min(1560px,calc(100% - 48px))!important;margin:0 auto!important;padding:22px 0 48px!important}
.rn-public-ai-report-page .rn-ai-report-sidebar{display:none!important}
.rn-public-ai-report-page .rn-ai-report-main{width:100%;min-width:0}
.rn-public-ai-report-page .rn-ai-report-breadcrumb{margin:0 0 12px}
.rn-ai-report-propertybar{display:grid;grid-template-columns:112px auto minmax(220px,1fr) auto auto;align-items:center;gap:16px;min-height:86px;margin-bottom:18px;padding:10px 14px;border:1px solid #e2e6eb;border-radius:10px;background:#fff;box-shadow:0 4px 18px rgba(11,19,43,.045)}
.rn-ai-report-propertybar__media{width:112px;height:66px;overflow:hidden;border-radius:7px;background:#f2f4f6}
.rn-ai-report-propertybar__media img{width:100%;height:100%;object-fit:contain;object-position:center}
.rn-ai-report-propertybar__type{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 10px;border-radius:999px;background:#0b132b;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.rn-ai-report-propertybar__name,.rn-ai-report-propertybar__price{display:grid;gap:3px;min-width:0}
.rn-ai-report-propertybar small{color:#687386;font-size:11px}
.rn-ai-report-propertybar__name strong{overflow:hidden;color:#0b132b;font-size:17px;text-overflow:ellipsis;white-space:nowrap}
.rn-ai-report-propertybar__price strong{color:#0b132b;font-size:20px;white-space:nowrap}
.rn-ai-report-propertybar>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 15px;border:1px solid #d5dae1;border-radius:7px;color:#0b132b;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.rn-ai-report-heading{margin-bottom:16px!important}
.rn-ai-report-heading>div>small{display:block;margin-bottom:4px;color:#b17a15;font-size:12px;font-weight:800;letter-spacing:.08em}
.rn-ai-report-heading__title{gap:16px!important}
.rn-ai-report-heading__title h1{margin:0!important}
.rn-ai-report-help-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:0;background:transparent;color:#0b132b;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.rn-ai-report-help-button:hover{color:#a46e08}
.rn-ai-report-topnav{position:static!important;inset:auto!important;z-index:auto!important;float:none!important;clear:both;display:block;margin:0 0 20px;padding:8px;border:1px solid #e1e5ea;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(11,19,43,.06);scroll-margin:0!important;transform:none!important}
.admin-bar .rn-ai-report-topnav{top:auto!important;scroll-margin:0!important}
.rn-ai-report-topnav__track{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:2px}
.rn-ai-report-topnav a{display:inline-flex;flex:1 0 auto;align-items:center;justify-content:center;gap:7px;min-width:132px;min-height:48px;padding:7px 12px;border:1px solid #e0e4e9;border-radius:8px;background:#fff;color:#0b132b;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.rn-ai-report-topnav a svg{flex:none;color:#0b132b}
.rn-ai-report-topnav a:hover,.rn-ai-report-topnav a.is-active{border-color:#d4af37;background:#fff9ec;color:#0b132b;box-shadow:inset 0 0 0 1px rgba(212,175,55,.12)}
.rn-ai-report-topnav a.is-active svg{color:#bd7f0b}
.rn-ai-report-panels{position:static!important;clear:both;display:block;width:100%;min-width:0;margin:0;padding:0}
.rn-ai-report-panel{position:static!important;clear:both;width:100%;margin:0}
.rn-ai-report-help{width:min(560px,calc(100% - 32px));padding:0;border:0;border-radius:12px;background:#fff;color:#0b132b;box-shadow:0 24px 70px rgba(11,19,43,.24)}
.rn-ai-report-help::backdrop{background:rgba(11,19,43,.56)}
.rn-ai-report-help>div{position:relative;padding:28px}
.rn-ai-report-help h2{margin:0 42px 12px 0;font-size:22px}
.rn-ai-report-help p{margin:0 0 10px;color:#4c5667;font-size:14px;line-height:1.8}
.rn-ai-report-help [data-ai-report-help-close]{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #dde1e7;border-radius:50%;background:#fff;color:#0b132b;cursor:pointer}

@media(max-width:1000px){
  .rn-public-property-detail-v3792 .rn-v3792-gallery .rn-slide-stage{min-height:360px}
  .rn-ai-report-propertybar{grid-template-columns:96px auto minmax(180px,1fr) auto}
  .rn-ai-report-propertybar__media{width:96px;height:62px}
  .rn-ai-report-propertybar>a{grid-column:4;grid-row:1}
  .rn-ai-report-propertybar__price{display:none}
  .rn-ai-report-topnav a{flex:0 0 auto}
}
@media(max-width:640px){
  .rn-public-property-detail-v3792 .rn-v3792-gallery .rn-slide-stage{min-height:260px;aspect-ratio:4/3!important}
  .rn-public-property-detail-v3792 .rn-v3792-gallery .rn-photo-label{top:10px!important;left:10px!important;max-width:calc(100% - 105px)!important;min-height:28px!important;padding:5px 11px!important;font-size:12px!important}
  .rn-public-property-detail-v3792 .rn-v3792-gallery .rn-photo-counter{top:10px!important;right:10px!important;min-height:28px!important;padding:5px 10px!important;font-size:12px!important}
  .rn-public-ai-report-page .rn-ai-report-app{width:calc(100% - 20px)!important;padding-top:14px!important}
  .rn-ai-report-propertybar{grid-template-columns:80px minmax(0,1fr);gap:9px 11px;padding:9px}
  .rn-ai-report-propertybar__media{grid-row:1/3;width:80px;height:64px}
  .rn-ai-report-propertybar__type{justify-self:start;min-height:24px;padding:0 8px;font-size:11px}
  .rn-ai-report-propertybar__name{grid-column:2}
  .rn-ai-report-propertybar__name small{display:none}
  .rn-ai-report-propertybar__name strong{font-size:15px}
  .rn-ai-report-propertybar>a{grid-column:1/-1;grid-row:auto;min-height:40px}
  .rn-ai-report-heading__title{align-items:flex-start!important;flex-direction:column;gap:4px!important}
  .rn-ai-report-heading__title h1{font-size:25px!important}
  .rn-ai-report-help-button{padding-left:0}
  .rn-ai-report-topnav{position:static!important;top:auto!important;margin-bottom:14px;padding:6px;scroll-margin:0!important}
  .admin-bar .rn-ai-report-topnav{top:auto!important;scroll-margin:0!important}
  .rn-ai-report-topnav a{min-width:118px;min-height:46px;padding:6px 10px;font-size:12px}
}

@media print{
  .rn-ai-report-topnav,.rn-ai-report-help{display:none!important}
  .rn-ai-report-propertybar{box-shadow:none}
}
