/* Shared portrait navigation and consistent action geometry, R4.4.19. */
button,a,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
input[type=checkbox]{appearance:none;-webkit-appearance:none;width:22px;height:22px;min-width:22px;padding:0!important;border:1.5px solid #b79b88;border-radius:6px;background:#fffaf5;display:inline-grid;place-content:center;vertical-align:middle;cursor:pointer;flex-shrink:0}
input[type=checkbox]:checked{background:#8e5f52;border-color:#8e5f52}
input[type=checkbox]:checked::before{content:'';width:10px;height:6px;border-left:2px solid #fffaf5;border-bottom:2px solid #fffaf5;transform:rotate(-45deg) translateY(-1px)}
input[type=checkbox]:indeterminate{background:#8e5f52}input[type=checkbox]:indeterminate::before{content:'';width:10px;height:2px;background:#fffaf5}input[type=checkbox]:disabled{opacity:.5}
.demand-section-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:stretch!important}
#invoiceList .table-actions{display:grid;grid-template-columns:1fr;min-width:100px;gap:6px;align-items:stretch}#invoiceList .table-actions>*{width:100%;margin:0!important}
.connection-tabs{margin:0 0 14px}.mobile-form{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}.mobile-form label{display:grid;gap:6px}.mobile-form small{font-size:12px;line-height:1.45}.mobile-device-filter{display:flex;flex-wrap:wrap;gap:10px;padding:14px}.mobile-device-filter>*{flex:1 1 200px}
.mobile-device,.mobile-fold{margin:10px 14px;border:1px solid #e0cfc2;border-radius:12px;background:#fffaf5}.mobile-device>summary,.mobile-fold>summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;cursor:pointer;background:#f2e7dc;border-radius:11px;color:#694c41}.mobile-device>div,.mobile-fold>div{padding:12px 14px}.mobile-device .action-group{margin-top:12px}.mobile-invite-row{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eee0d5;overflow-wrap:anywhere}.mobile-qr{background:white;max-width:340px;margin:auto}.mobile-qr svg{display:block;width:100%;height:auto}.mobile-form input,.mobile-form select{width:100%;box-sizing:border-box}.mobile-device small{overflow-wrap:anywhere}
@media(max-width:1100px){
body.s-survey-page .shell{margin-left:0!important;min-width:0!important}body.s-survey-page main{padding:12px!important;min-width:0}
body.s-survey-page .topbar{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 14px;min-height:62px;background:#fffaf5;box-sizing:border-box;z-index:50}
body.s-survey-page .topbar h1{font-size:21px}body.s-survey-page .sidebar{width:min(290px,85vw)!important;z-index:1500;transform:translateX(-105%);visibility:hidden;transition:transform .15s,visibility .15s}
body.s-survey-page .sidebar .logo>div:last-child{font-size:14px;display:block}body.s-survey-page .sidebar nav a,body.s-survey-page .sidebar nav a:not(.active){font-size:14px;justify-content:flex-start;min-height:32px}body.s-survey-page .sidebar-user>div:nth-child(2){display:block}body.s-survey-page .sidebar-user button{display:inline-flex}
body.s-survey-page .s-survey-menu-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px}body.s-survey-page .s-survey-menu-close{display:block;align-self:flex-end;background:transparent;color:white;border:0;min-height:44px;padding:8px 14px}body.s-survey-page.s-menu-open{overflow:hidden}body.s-survey-page.s-menu-open .sidebar{transform:translateX(0);visibility:visible}body.s-survey-page.s-menu-open .s-survey-menu-shade{display:block;position:fixed;inset:0;z-index:1490;background:#2d211b80;border:0}
.table-wrap{max-width:100%;overflow-x:auto}main>.panel,.panel-head,.section-toolbar{min-width:0}.modal{width:calc(100% - 24px);max-width:900px;max-height:calc(100dvh - 24px);overflow:auto}
}
@media(min-width:1101px){.s-survey-menu-button,.s-survey-menu-close,.s-survey-menu-shade{display:none!important}}
@media(max-width:600px){.mobile-form{grid-template-columns:1fr}.panel-head{flex-wrap:wrap;padding:12px}.section-toolbar{padding:12px}.mobile-device>summary{align-items:flex-start}.demand-section-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.s-survey-page main{padding:6px!important}input:not([type=checkbox]),select,textarea{max-width:100%;min-width:0}}

.s-drawing svg:has([data-layout-drag]){touch-action:none;user-select:none;-webkit-user-select:none}
.s-selection-label{display:grid;gap:4px;grid-column:1/-1;padding:8px 10px;background:#f3e8de;border-radius:10px}.s-selection-label .muted{font-size:12px}.s-layout-quick{grid-column:1/-1}.s-layout-quick button{flex:1 1 110px}
.fleet-tire-head{display:grid!important;grid-template-columns:1fr!important;align-items:start;gap:6px!important}.fleet-tire-head h3{margin:0}.fleet-tire-status{justify-self:start;white-space:normal}.fleet-history442>details>summary{padding:14px!important;background:#f2e7dc;border:1px solid #deccbf;border-radius:12px;display:flex;justify-content:space-between;gap:12px}.fleet-history442 details details{margin-top:8px;padding:0 12px;border:1px solid #e3d3c6;border-radius:10px}
.fleet-group4412>summary{background:var(--cream,#f7efe5)}.fleet-group4412>section{margin:0;border:0;box-shadow:none}
#requestList td,#requestList th{padding:9px 10px;vertical-align:top}.request-comment{max-width:320px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.fleet-card{padding:14px!important}.fleet-tires442{grid-template-columns:1fr!important}.fleet-work{grid-template-columns:minmax(0,1fr) 96px 38px!important;gap:6px!important}.s-construction-controls{min-width:0}.s-actions button{white-space:normal}}

#requestList table{min-width:980px;table-layout:auto;width:100%}#requestList td:nth-child(4){max-width:240px;min-width:130px;white-space:normal;overflow-wrap:anywhere}#requestList td:nth-child(5){min-width:92px;white-space:normal}#requestList td:last-child{min-width:125px}#requestList td:last-child>*{display:block;margin:5px 0}
