/* Scoped commercial additions; existing logo, typography and palette retained. */
.form-error{color:#92322e;min-height:1em}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.promotion-label{position:absolute;left:12px;bottom:12px;background:#f7efe4;color:#61451d;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:700}
.commercial-panel .data-row>*,.commercial-grid>*,.compact-metrics>*,.form-grid>*{min-width:0}.data-row strong,.fee-preview strong{overflow-wrap:anywhere}.data-actions{flex-wrap:wrap}.data-actions select{max-width:100%;min-height:44px}
#modal-content input:not([type=checkbox]),#modal-content select,#modal-content textarea,.commercial-pane input,.commercial-pane select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #cad6db;border-radius:8px;padding:10px;color:#19283b;font:inherit;background:#fff}
#modal-content label,.commercial-pane label{display:block;margin:10px 0 5px;font-size:14px}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #176c66;outline-offset:3px}
#modal-content input[type=checkbox]{width:20px;height:20px;flex:none}.button:disabled{opacity:.5;cursor:not-allowed}.modal{max-height:90dvh;overflow-y:auto}.commercial-pane .button,.data-actions button,.modal .button{min-height:44px}.fee-preview>div{gap:12px}.source-bar label{display:flex;justify-content:space-between;gap:10px}.source-bar i{display:block;background:#176c66;height:8px;border-radius:4px}.source-bar>div{background:#edf2f3;border-radius:4px;min-height:8px}.periods{display:flex;flex-wrap:wrap;gap:6px}.periods button{min-height:44px}.photo-placeholder{display:flex;align-items:center;justify-content:center;background:#e7edef;color:#52616d}.top-actions{flex-wrap:wrap}.performance-table{width:100%}
@media(max-width:540px){.topbar{gap:8px;flex-wrap:wrap}.topbar-brand-group{min-width:0}.top-actions{gap:6px}.topbar-status{display:none!important}.category-tabs{display:flex;flex-wrap:wrap}.category-tabs button{min-width:0;padding:10px}.filters{min-width:0}.filters>*{min-width:0}#show-more{white-space:normal}.commercial-grid{grid-template-columns:1fr!important}.financial-summary{grid-template-columns:1fr!important}.data-row{grid-template-columns:1fr!important;gap:10px}.data-actions{justify-content:flex-start}.compact-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.compact-metric strong{overflow-wrap:anywhere;font-size:1.3rem}.form-grid{grid-template-columns:1fr!important}.setting-row{flex-wrap:wrap}.setting-row>div{max-width:100%}.modal{width:calc(100vw - 24px)!important;padding:16px}.funnel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.funnel-col{min-width:0}.rent-hero{flex-wrap:wrap}.rent-amount{font-size:2rem!important}.notice,.ticket,.lease-card{min-width:0}.notice p,.ticket p{overflow-wrap:anywhere}.content{min-width:0;padding-bottom:100px}.performance-table thead{display:none}.performance-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #dfe6e9;padding:10px 0}.performance-table td{border:0;white-space:normal}.performance-table td:first-child{grid-column:1/-1;font-weight:700}.performance-table td:nth-child(2)::before{content:'Views: '}.performance-table td:nth-child(3)::before{content:'Matches: '}.performance-table td:nth-child(4)::before{content:'Applications: '}.performance-table td:nth-child(5)::before{content:'Shortlists: '}.performance-table td:nth-child(6)::before{content:'Viewings: '}.performance-table td:nth-child(7)::before{content:'Days listed: '}.table-wrap{max-width:100%;overflow-x:auto}.recommend-links{flex-wrap:wrap}.admin-layout,.main-content{min-width:0}}
@media(max-width:540px){.theo-admin .top-brand{flex-wrap:wrap;min-width:0;max-width:100%;gap:8px}.theo-admin .top-context{min-width:0;max-width:100%}.theo-admin .top-context strong{white-space:normal;overflow-wrap:anywhere}.theo-admin #content table{display:block;min-width:0!important;width:100%;table-layout:fixed}.theo-admin #content thead{display:none}.theo-admin #content tbody{display:block;width:100%}.theo-admin #content tr{display:block;min-width:0;border-bottom:1px solid #dfe6e9;padding:10px 0}.theo-admin #content td{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;white-space:normal;overflow-wrap:anywhere;padding:8px 12px;width:auto!important;min-width:0}.theo-admin #content td::before{content:attr(data-label);font-weight:600;color:#687783}.theo-admin #content td>*{min-width:0;max-width:100%}.theo-admin #content td.entity small{grid-column:2}.theo-admin .panel-body{min-width:0}.theo-admin .table-wrap{overflow:visible}.theo-admin .tools{flex-wrap:wrap;min-width:0}.theo-admin .tools input,.theo-admin .tools select{max-width:100%}}

/* Production Spine v1.0.1.3 — role-gated workspace and safe tenant empty state */
[hidden]{display:none!important}.tenant-empty-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px}.tenant-empty-primary{padding:28px}.tenant-empty-primary h2{margin:8px 0 10px;font-size:clamp(1.6rem,3vw,2.4rem)}.tenant-empty-kicker{display:inline-block;color:#9a6b2f;font-size:.76rem;font-weight:800;letter-spacing:.12em}.tenant-empty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.tenant-journey-list{display:grid;gap:12px;margin-top:10px}.tenant-journey-list>div{display:grid;gap:4px;padding:14px;border:1px solid #e1e7ea;border-radius:12px;background:#f8faf9}.tenant-journey-list span{color:#6b7985;font-size:.9rem;line-height:1.45}@media(max-width:760px){.tenant-empty-grid{grid-template-columns:1fr}.tenant-empty-primary{padding:20px}.tenant-empty-actions .button{flex:1 1 160px;text-align:center}}
