/* Additive tablet layout: preserve the Windows design and all navigation items. */
html{min-height:100%;-webkit-text-size-adjust:100%}body{min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
html body #main-app.app{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;min-height:100dvh}html body #main-app.app[style*="display: none"],html body #main-app.app[style*="display:none"]{display:none!important}
html body #main-app.app>main{padding:24px!important}button,.btn,nav button{min-height:44px}input,textarea,select{font-size:16px!important;min-height:44px}input[type=checkbox]{width:22px!important;min-height:22px;height:22px}button,a,input,select,textarea{touch-action:manipulation}.sign-pad{touch-action:none!important}aside{min-width:0}.sl42-pdf header{padding-top:max(10px,env(safe-area-inset-top))}.sl42-pdf{height:100dvh}#sl-ipad-info{font-size:14px;padding:12px 16px;border:1px solid var(--border);border-radius:10px;margin-bottom:18px;line-height:1.5}#sl-ipad-info button{margin-left:12px}.tc-report-table{width:100%;table-layout:fixed}.tc-report-table td{overflow-wrap:anywhere}
@media(max-width:1100px){html body .asset-layout{grid-template-columns:230px minmax(0,1fr)}.tc-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){html body #main-app.app{grid-template-columns:1fr!important}aside{position:static;padding:12px 16px!important}.brand{padding:0 0 12px!important}.sl-side-logo{max-width:180px;max-height:60px}html body nav{display:flex!important;flex-direction:row!important;overflow-x:auto;gap:8px!important}nav button{width:auto;flex:0 0 auto;margin:0;white-space:nowrap}nav button .ui-icon{width:18px;height:18px}html body #main-app.app>main{padding:18px!important}.asset-layout{grid-template-columns:1fr!important}.tc-report-toolbar-buttons{flex-wrap:wrap}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){.formgrid,.signature-grid,.quickgrid,.tc-dashboard-stats{grid-template-columns:1fr!important}html body #main-app.app>main{padding:12px!important}h1{font-size:24px}header .actions{width:100%}.sl42-field{grid-template-columns:24px minmax(0,1fr)}.sl42-field>input:last-child{grid-column:2}.tc-report{padding:14px!important}.sl42-dialog{width:100%;padding:14px!important}html body .card{padding:18px!important}.line{flex-wrap:wrap}#sl-ipad-info button{margin:8px 0 0}}
@media print{#sl-ipad-info,aside,.sl42-pdf>header{display:none!important}body{padding:0!important}.sl42-pdf iframe{height:100vh}}
