/* Theo Properties 1.0.0.8.6: bounded presentation rules. Existing role/page rules remain authoritative. */
:root{--theo-ui-radius:16px;--theo-ui-border:rgba(20,43,65,.12);--theo-ui-shadow:0 4px 16px rgba(20,43,65,.055)}
/* Keep critical action labels visible and readable at every size. */
body button.theo-svg-action.theo-action-labelled,body a.theo-svg-action.theo-action-labelled{
 width:auto!important;max-width:100%!important;min-width:44px!important;flex:0 1 auto!important;
 height:auto!important;min-height:44px!important;padding:10px 14px!important;gap:8px!important;
}
body .theo-action-labelled>.theo-action-label{
 position:static!important;width:auto!important;height:auto!important;margin:0!important;
 overflow:visible!important;clip:auto!important;white-space:normal!important;line-height:1.3!important;
 overflow-wrap:anywhere;min-width:0;
}
body .theo-svg-action>.theo-action-svg{stroke-width:1.9}
body :is(.nav-icon,.amenity-icon,.property-fact-icon,.theo-unified-more-icon) svg{stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body :is(.card-actions,.premium-card-actions,.modal-actions){align-items:center;gap:8px;flex-wrap:wrap}
body :is(.card-actions,.premium-card-actions) button{min-height:44px;line-height:1.3;max-width:100%}
body :is(.ws30-exec-grid,.ws30-kpis,.ws30-quick-grid){align-items:start;gap:14px}
body :is(#tenant,#owner,#management) :is(.ws30-panel,.ws30-kpi){height:auto!important;min-height:0;border-radius:var(--theo-ui-radius);box-shadow:var(--theo-ui-shadow)}
body :is(#tenant,#owner,#management) .ws30-panel{padding:16px}
body :is(#tenant,#owner,#management) .ws30-panel-head{margin-bottom:12px}
body :is(#tenant,#owner,#management) .ws30-panel-head h3{font-size:16px;line-height:1.35;margin:0}
body :is(#tenant,#owner,#management) .ws30-kpi{padding:16px}
body :is(#tenant,#owner,#management) .ws30-kpi>strong{font-size:clamp(24px,2.1vw,32px);line-height:1.15}
body :is(#tenant,#owner,#management) .ws30-kpi>small{line-height:1.45}
body .premium-property-card{height:auto!important;min-height:0!important;border-radius:var(--theo-ui-radius);box-shadow:var(--theo-ui-shadow);overflow:hidden}
body .premium-property-card .property-body{padding:16px!important;min-height:0!important}
body .premium-property-card .property-body h3{font-size:17px!important;line-height:1.35!important;margin:7px 0!important}
body .premium-property-card .property-price{font-size:23px!important;line-height:1.25!important}
body .premium-property-card .address{line-height:1.4;gap:6px;margin:8px 0!important}
body .premium-property-card .property-meta{gap:8px;margin:10px 0!important}
body .premium-property-card .card-actions{margin-top:12px!important}
body .property-gallery .gallery-nav{display:inline-flex;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
body .property-gallery .gallery-nav svg{width:20px;height:20px;flex:none;pointer-events:none}
body .property-gallery .gallery-image-layer{background-size:cover;background-position:center}
body .property-share-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body .property-share-grid{align-items:start;gap:10px}
body .property-share-option{min-height:76px;border-radius:12px;gap:7px}
body #show-less-properties{margin:12px 8px;min-height:44px}
body #show-less-properties[hidden]{display:none!important}
body .theo-form-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-radius:10px;max-width:100%;min-width:0;box-sizing:border-box}
body .theo-form-shell :is(input,select,textarea):focus-visible{outline:2px solid #b18b42;outline-offset:2px}
body .theo-form-section{border-radius:14px}
@media(min-width:1181px){
 body.theo-app #explore #available-properties .property-grid,
 body.guest-mode #explore #available-properties .property-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:18px!important}
 body #featured-property-grid{align-items:start!important}
 body :is(#tenant,#owner,#management) .ws30-exec-grid{align-items:start!important}
 body .premium-property-card .property-gallery.property-photo{aspect-ratio:16/10!important;height:auto!important;min-height:0!important}
}
@media(min-width:1800px){
 body.theo-app #explore #available-properties .property-grid,
 body.guest-mode #explore #available-properties .property-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:1180px){
 body .premium-property-card .property-body{padding:14px!important}
 body :is(#tenant,#owner,#management) :is(.ws30-kpi,.ws30-panel){padding:14px}
 body .theo-form-shell :is(input,select,textarea){font-size:16px}
 body .theo-action-labelled{font-size:13px}
 body .property-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .property-share-option{min-width:0;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
 body :is(.gallery-image-layer,.property-skeleton,.skeleton-photo,.skeleton-body i){animation:none!important;transition:none!important}
}
body .nav-arrow svg{width:16px;height:16px;display:block}
body .pa-tier-icon svg{width:24px;height:24px;display:block}
body .theo-account-avatar{border-radius:50%;flex-shrink:0;aspect-ratio:1}
@media(min-width:1800px){
 body.theo-app #explore .category-showcase-grid:not(.tp91-show-all)>:nth-child(n+4),
 body.theo-app #explore .theo-featured-grid:not(.tp91-show-all)>:nth-child(n+4){display:none!important}
 body.theo-app #explore .category-showcase-view-all{display:inline-flex!important;align-items:center;min-height:44px;padding:8px 12px;border-radius:10px}
}
body .ws30-kpi>.theo-kpi-heading{display:flex!important;align-items:center;gap:8px;min-width:0;line-height:1.35}
body .theo-feature-svg{width:22px;height:22px;flex:0 0 22px;color:inherit}
body.theo-admin :is(.v137-queue-grid,.v137-agency-grid,.v137-governance-grid){align-items:start!important;gap:14px}
body.theo-admin :is(.v137-queue-grid,.v137-agency-grid,.v137-governance-grid)>article{height:auto!important;min-height:0!important;border-radius:16px;padding:16px;box-shadow:var(--theo-ui-shadow)}
body .property-gallery{background-color:#e8eff2}
