/* v513 — acabamento localizado no painel do proprietário */
@media(min-width:901px){
html body.owner-shell #app .owner-grid-layout{grid-template-columns:238px minmax(0,1fr)!important;align-items:stretch!important}
html body.owner-shell #app .owner-grid-layout>main.owner-main{min-width:0!important;max-width:100%!important;overflow:visible!important}
html body.owner-shell #app #side-menu.owner-side-menu{background:linear-gradient(180deg,#072b54,#041d3c)!important;min-height:calc(100vh - 72px)!important}
html body.owner-shell #app #side-menu.owner-side-menu nav button{gap:12px!important;line-height:1.3!important;min-height:49px!important;padding:10px 12px!important;white-space:normal!important}
html body.owner-shell .pc498-dashboard .owner-metrics article{min-height:116px!important;padding:13px 12px!important}
html body.owner-shell .pc498-dashboard .pc492-insights{gap:13px!important;margin-top:16px!important}
html body.owner-shell .pc498-dashboard .pc492-insights>.card{padding:17px!important}
html body.owner-shell .pc498-dashboard .pc498-strip{gap:12px!important}
}
/* Restrict long company addresses to readable cells rather than expanding rows */
html body.owner-shell .owner-client-table{width:100%!important;max-width:100%!important}
html body.owner-shell .owner-client-table table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
html body.owner-shell .owner-client-table th,html body.owner-shell .owner-client-table td{box-sizing:border-box!important;padding:9px 8px!important;vertical-align:middle!important;line-height:1.3!important;min-width:0!important;overflow-wrap:anywhere!important}
html body.owner-shell .owner-client-table td{height:58px!important;max-height:82px!important}
html body.owner-shell .owner-client-table td:nth-child(8){max-width:155px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow-wrap:normal!important}
html body.owner-shell .owner-client-table td:nth-child(8) *{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important}
html body.owner-shell .owner-client-table td small{font-size:11px!important;line-height:1.15!important}
html body.owner-shell .owner-client-table td .owner-company-cell{gap:5px!important}
html body.owner-shell .owner-client-table .pc493-actions-menu{min-width:80px!important}
html body.owner-shell .owner-client-table .pc493-actions-menu .owner-row-actions{z-index:300!important}
/* Consistent header: search can shrink instead of displacing admin controls */
html body.owner-shell .owner-header{min-width:0!important;gap:12px!important}
html body.owner-shell .pc510-top-search{min-width:160px!important;max-width:570px!important;flex:1 1 290px!important}
html body.owner-shell .pc510-top-search input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media(max-width:1100px){html body.owner-shell .owner-client-table{overflow-x:auto!important}html body.owner-shell .owner-client-table table{min-width:1010px!important}}
@media(max-width:900px){html body.owner-shell .owner-client-table{overflow-x:auto!important}html body.owner-shell .owner-client-table table{min-width:900px!important;table-layout:auto!important}html body.owner-shell .pc510-top-search{max-width:100%!important}}
