/* Mobile layout follows the application's existing 980px navigation breakpoint. No OS sniffing or disabled zoom. */
@media(max-width:980px){
 body{font-size:16px;line-height:1.5}
 .app .content :is(p,small,label,label>span,th,td,.eyebrow,.tag,.service-priority,.day-service-number,.day-rank){font-size:14px;line-height:1.5}
 .app .content :is(input,select,textarea){font-size:16px;line-height:1.5;min-height:44px}
 .app .content :is(button,.btn,.day-action){font-size:14px;line-height:1.4;min-height:44px;white-space:normal}
 .app .content :is(.day-main h3,.day-service .day-title-action,.service-row h3){font-size:18px;line-height:1.4}
 .app .content .day-header p{font-size:16px}
 .app .content .day-section-head{flex-wrap:wrap}
 .sidebar .brand small,.sidebar .logout-button{font-size:14px;line-height:1.4}
 .sidebar .logout-button{min-height:44px}
 .nav{display:flex;height:auto;min-height:74px;align-items:stretch}
 .nav>button{flex:1 1 0;min-width:0}
 .nav>[data-install-plantbem]{display:none!important}
 .nav button{height:auto;min-height:62px;font-size:12px;line-height:1.25}
 .nav button[data-view]:not([hidden])::after{font-size:12px}
 .nav button .ico{font-size:20px}
 .mobile-menu-groups>button,.mobile-menu-groups .section-toggle button{font-size:16px;min-height:44px;line-height:1.4}
 .shell :is(label,.hint,.message,.tabs button,.welcome p,.intro p,.passkey-access p,.passkey-row){font-size:14px;line-height:1.5}
 .shell :is(input,select,textarea){font-size:16px;min-height:46px}
 .shell :is(button.submit,.passkey-action){font-size:16px;min-height:46px}
 .app .content .auth-eye{min-height:44px}
 .purchase-list-head span,.purchase-quick label,.purchase-actions label,.purchase-needs-table :is(th,td,small),.purchase-fields label,[data-purchase-status],.purchase-needs-dialog p{font-size:14px;line-height:1.5}
 .purchase-quick input,.purchase-needs-dialog :is(input,select){font-size:16px;min-height:44px}
 header nav,footer{font-size:14px}
}

/* One compact connection status in the existing application, no alternate mobile shell. */
#plantbem-connection{font:12px/1.5 system-ui;margin:0 0 12px;padding:7px 12px;border:1px solid #c8dfd4;border-radius:9px;background:#f2f8f5;color:#214b3c;overflow-wrap:anywhere}
#plantbem-connection p{margin:0}#plantbem-connection small{display:block}#plantbem-connection details{margin-top:6px}#plantbem-connection button,#plantbem-connection a{margin:5px;padding:7px;border:1px solid #aacbbb;border-radius:6px;background:white;color:#184b38;cursor:pointer}
html[data-plantbem-offline="true"] #view-dashboard .hero p::after{content:" · Posição sincronizada; alterações locais pendentes não compõem estes valores."}
@media(max-width:980px){#plantbem-connection{font-size:11px;padding:6px 9px}}

.view.offline-unavailable > :not(.offline-unavailable-message){display:none!important}
