/* Compact mobile workspace. Desktop keeps its established B appearance. */
.mobile-workspace-nav{display:none}
@media screen and (max-width:680px){
 html{scroll-padding-top:100px}body{background:#f3f6fc!important;font:15px/1.6 system-ui,-apple-system,sans-serif!important;color:#172944;-webkit-text-size-adjust:100%}
 *,*:before,*:after{box-sizing:border-box}body,main,.container,.header,.header-inner,form,section,article,details,.row,.filter-primary,.field{min-width:0;max-width:100%}
 .header{position:static!important;background:#fff!important}.header-inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:14px 16px 16px!important}
 .brand h1{font-size:22px!important;line-height:1.35!important;margin:0!important;letter-spacing:0!important}.brand p{font-size:12px!important;margin:5px 0 0!important;line-height:1.5!important}
 .account-tools{position:static!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:6px!important;min-height:38px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:13px!important}
 .account-tools a,.account-tools button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:7px 9px!important;border-radius:9px!important;background:#edf3fb!important;color:#205ca8!important;text-decoration:none!important}.account-tools form{display:inline-flex!important;margin:0!important}
 .container,main{padding:0 12px 24px!important;margin:14px auto!important;width:100%!important}.embedded-admin main,.embedded-admin .container{padding:0 2px 12px!important;margin:0 auto!important}.embedded-admin .account-tools{display:none!important}
 .tao-operations .quick-grid{display:none!important}.tao-operations .container>.button{margin:0 6px 12px 0;padding:9px 12px;font-size:13px}.tao-operations #notifyButton{margin:0 0 12px!important;padding:9px 12px!important;font-size:13px!important}
 .mobile-workspace-nav{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;position:sticky;top:0;z-index:30;background:#f3f6fcf7;backdrop-filter:blur(12px);padding:10px 0 12px;margin:0 0 6px;border-bottom:1px solid #dce5f1}.mobile-workspace-nav label{font-size:13px;white-space:nowrap;margin:0!important;color:#536a88}.mobile-workspace-nav select{width:100%;min-width:0;height:48px;margin:0!important;padding:10px 34px 10px 13px!important;background-color:#fff!important;border:1px solid #b6cae7!important;border-radius:13px!important;font:600 16px system-ui!important;color:#1d548f!important}
 .inline-frame{width:100%!important;min-height:320px!important;border-radius:0!important}.inline-panel{padding:16px!important;border-radius:16px!important;margin-top:10px!important}.panel-heading{align-items:stretch!important;gap:12px!important}.panel-heading h2,h1{font-size:21px!important;line-height:1.4!important}.panel-heading p,.small{font-size:13px!important}h2{font-size:19px!important;line-height:1.4!important}h3{font-size:17px!important}h1,h2,h3{overflow-wrap:anywhere}
 .room-card,.chat,.ops-box,.panel,.settings-panel,article{padding:16px!important;border-radius:16px!important;margin-top:12px!important;margin-bottom:12px!important}.room-grid,.settings-grid,.tickets{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.room-grid article{margin:0!important}.room-card img{max-width:100%;height:auto!important;aspect-ratio:1}
 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea{width:100%;min-width:0!important;max-width:100%!important;font-size:16px!important;border-radius:11px!important}input[type=file]{width:100%;max-width:100%;font-size:14px}textarea{padding:12px!important;min-height:104px}label{line-height:1.5}button,.button,.btn-light,.btn-dark,.btn-red,.btn-green{min-height:44px!important;font-size:15px!important;line-height:1.4!important;padding:11px 14px!important;border-radius:11px!important;white-space:normal!important;overflow-wrap:anywhere;touch-action:manipulation}button:disabled{opacity:.55}
 .row{gap:12px!important}.row form{width:100%}.filter-primary{gap:14px!important}.filter-primary .field label{font-size:13px;min-height:20px;margin:0 0 6px!important}.filter-primary .field input,.filter-primary .field select{height:46px!important}.filter-primary .field .date-control input[type=month],.filter-primary .field .date-control input[type=date]{width:0!important;height:44px!important}.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.property-grid label{padding:11px 8px!important;font-size:13px!important;overflow-wrap:anywhere}.property-grid input[type=checkbox]{flex-shrink:0}
 .tax-stats,.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.stat strong{font-size:22px!important}.stat{padding:12px!important}.ops-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.ops-tabs a{margin:0!important;font-size:13px!important;line-height:1.4;padding:12px 8px!important;overflow-wrap:anywhere}.source-filter{gap:6px!important;margin:8px 0 14px!important}.source-filter a{flex:1 1 0;text-align:center;padding:9px 5px!important;font-size:13px!important;min-width:0}.source-filter a:first-child{flex:.7 1 0}
 .tickets>section:first-child{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:6px;max-width:100%;align-items:stretch}.tickets .ticket{flex:0 0 200px;min-width:0;scroll-snap-align:start;padding:12px!important;font-size:13px!important;margin:0!important;text-decoration:none}.ticket strong{font-size:14px}.ticket p{margin:7px 0!important}.message{padding:12px!important;font-size:15px!important}.message p{margin:6px 0!important}#activeChat{margin-top:0!important}
 .mobile-cards{table-layout:auto!important;min-width:0!important}.mobile-cards tr:not(.mobile-head){padding:8px 12px!important;margin:10px 0!important}.mobile-cards td{font-size:14px!important;padding:9px 0!important}.mobile-cards td:before{font-size:12px!important;color:#526b89!important;margin-bottom:3px}.mobile-cards td[colspan]{padding:18px 0!important;text-align:center}.mobile-cards td form{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0!important}.room-scroll,.table-scroll,.table-wrap{max-width:100%;overflow-x:auto}.room-scroll:has(.mobile-cards),.table-scroll:has(.mobile-cards){overflow:visible}
 .event-grid{grid-template-columns:1fr!important;gap:10px!important}.event-card{padding:16px!important;min-height:0!important}.event-title{font-size:16px!important}.event-meta{font-size:13px!important}.event-source{font-size:11px!important}.event-top{align-items:flex-start!important}.preview,.flash,.notice2,.hint{padding:13px!important;font-size:14px!important;overflow-wrap:anywhere}pre{white-space:pre-wrap;word-break:break-word}.tax-title{gap:12px!important}details summary{min-height:44px}
 body.room-call-page main{padding:0 14px 24px!important}body.room-call-page #status{font-size:18px!important;min-height:56px}body.room-call-page main>div[style*="sticky"]{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:static!important;padding:12px 0!important}body.room-call-page main>div[style*="sticky"] button{margin:0!important}body.room-call-page main>div[style*="sticky"] button:last-child{grid-column:1/-1}body.room-call-page main>button{margin:12px 0 0!important;width:100%}
}
@media print{.mobile-workspace-nav,.account-tools{display:none!important}}
