/* Regras comuns de adaptação a computador, tablet e celular. */
:where(html,body){min-width:0}:where(main,section,article,aside,form,label){min-width:0}:where(img,video,canvas){max-width:100%;height:auto}:where(input,select,textarea){min-width:0;max-width:100%}:where(.panel,.metric,.order-main,.order-actions,.public-form,.public-intro){min-width:0}:where(.table-scroll,.notes-board-viewport){max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.payment-modal-card{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto}.site-footer{min-width:0}.site-footer a{overflow-wrap:anywhere}.dashboard-main .dash-header,.finance-shell .finance-header{flex-wrap:wrap}.dashboard-main .header-tools{flex-wrap:wrap}.team-search-filters,.team-pagination{flex-wrap:wrap}.finance-shell .finance-table{width:100%}
@media(min-width:701px){.dashboard-page:not(.technician-page) .sidebar{display:flex;flex-direction:column}.dashboard-page:not(.technician-page) .sidebar nav{flex:1}.dashboard-page:not(.technician-page) .sidebar-foot{flex-shrink:0}}
@media(max-width:1000px){.dashboard-main .section-grid,.dashboard-main .report-grid{grid-template-columns:minmax(0,1fr)}.management-panels{min-width:0}.dashboard-main .order-row{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 .dashboard-page:not(.technician-page) .sidebar{display:flex;flex-direction:row;align-items:stretch;gap:6px;height:auto;min-height:70px;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}.dashboard-page:not(.technician-page) .sidebar nav{flex:1;min-width:0;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin}.dashboard-page:not(.technician-page) .sidebar-foot{display:flex!important;align-items:center;flex:none;padding:0;margin:0;width:52px;border:0}.dashboard-page:not(.technician-page) .sidebar-foot>div{display:none!important}.dashboard-page:not(.technician-page) .sidebar-foot .admin-logout{display:flex!important;white-space:normal;text-align:center;width:52px;min-height:50px;padding:6px 3px;font-size:10px}.dashboard-page:not(.technician-page) .sidebar nav>a,.dashboard-page:not(.technician-page) .sidebar nav>button{flex:0 0 66px;max-width:86px;min-width:0;white-space:normal}.dashboard-page:not(.technician-page) .sidebar .nav-count{margin:0;font-size:9px;height:17px;min-width:17px}.dashboard-page:not(.technician-page) .dashboard-main,.dashboard-page:not(.technician-page) main.finance-shell{width:100%;margin-left:0;min-width:0;padding:18px 12px}.dashboard-page:not(.technician-page){padding-bottom:calc(82px + env(safe-area-inset-bottom))}.dashboard-main .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main .metric{min-width:0}.dashboard-main .metric strong{overflow-wrap:anywhere}.dashboard-main .metric-grid button{min-width:0}.dashboard-page input:not([type=checkbox]):not([type=radio]),.dashboard-page select,.dashboard-page textarea,.login-page input,.public-page input,.public-page select,.public-page textarea{font-size:16px}.panel-head{gap:12px}.panel-head>div{min-width:0}.finance-shell .finance-filters{min-width:0}.finance-shell .finance-filters>label{min-width:0}.finance-shell .finance-filters input{width:100%;min-width:0}.finance-shell .commission-form{flex-wrap:wrap}.payment-modal{padding:12px}.payment-modal-card{width:100%;padding:18px}.dashboard-main .tech-row,.dashboard-main .officeboy-row{min-width:0}.notes-layout{grid-template-columns:minmax(0,1fr)}.management-toolbar,.management-actions{flex-wrap:wrap}
}
@media(max-width:360px){.dashboard-main .metric-grid{grid-template-columns:minmax(0,1fr)}.finance-shell .finance-filters{grid-template-columns:minmax(0,1fr)!important}.finance-shell .finance-filters button{grid-column:1}.public-shell,.status-shell{max-width:100%}}
@media print{.dashboard-page .sidebar,.dashboard-page .technician-navigation{display:none!important}}