/* Zero1 1.0.50 — Motion Premium administrativo: leve e acessível. */
body.zero1-fluidez:not(.customer-store) .main,
body.zero1-fluidez:not(.customer-store) .page {min-width:0}
body.zero1-fluidez #content .card,body.zero1-fluidez #content .grid>*,
body.zero1-fluidez #content .filters {min-width:0}
body.zero1-fluidez #content .table-wrap {max-width:100%;overscroll-behavior-x:contain}
body.zero1-fluidez #content .table th {padding:9px 11px;line-height:1.3}
body.zero1-fluidez #content .table td {padding:8px 11px;line-height:1.35}
body.zero1-fluidez #content .table .btn.sm {padding:7px 10px;min-height:34px}
/* MotionSites-inspired: superfície com feedback no hover, sem animação contínua. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 body.zero1-fluidez #content .card:not(.fluidez-chart-card){transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease}
 body.zero1-fluidez #content .premium-metrics .metric-rich:hover {transform:translateY(-2px);box-shadow:0 14px 30px rgba(22,32,41,.10);border-color:rgba(217,173,0,.38)}
 body.zero1-fluidez #content .table tbody tr:hover td{background:#fffdf5}
 body.zero1-fluidez #sidebar .nav button,#sidebar .nav-link{transition:background-color .17s ease,color .17s ease}
}
body.zero1-fluidez #content .page-head h1{letter-spacing:-.04em}
body.zero1-fluidez #content .premium-metrics .metric-rich{position:relative;overflow:hidden}
body.zero1-fluidez #content .premium-metrics .metric-rich::before{
 content:"";position:absolute;top:0;left:16px;right:16px;height:2px;
 background:linear-gradient(90deg,transparent,#e9c334,transparent);opacity:.44;pointer-events:none
}
@media(prefers-reduced-motion:no-preference){
 body.zero1-fluidez #content .page-head{animation:z-motion-enter .22s ease-out both}
 body.zero1-fluidez #content>.grid .metric-rich{animation:z-motion-enter .28s ease-out both}
 body.zero1-fluidez #content>.grid .metric-rich:nth-child(2){animation-delay:.045s}
 body.zero1-fluidez #content>.grid .metric-rich:nth-child(3){animation-delay:.09s}
 body.zero1-fluidez #content>.grid .metric-rich:nth-child(4){animation-delay:.135s}
 @keyframes z-motion-enter {from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
}
.z-mobile-record-list{display:none}
@media(max-width:760px){
 body.zero1-fluidez .main{max-width:100%;overflow-x:clip}
 body.zero1-fluidez #content .page-head {gap:10px;margin-bottom:14px}
 body.zero1-fluidez #content .page-head h1{font-size:1.55rem;line-height:1.15}
 body.zero1-fluidez #content .page-head p{font-size:.82rem;line-height:1.4}
 body.zero1-fluidez #content .head-actions{width:100%;gap:7px}
 body.zero1-fluidez #content .head-actions .btn{min-height:40px}
 body.zero1-fluidez #content .filters{gap:8px}
 body.zero1-fluidez #content .filters>.searchbar{min-width:0;width:100%;flex-basis:100%!important}
 body.zero1-fluidez #content .filters>.btn{min-height:40px}
 body.zero1-fluidez #content .card{padding:12px}
 body.zero1-fluidez #content .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px}
 body.zero1-fluidez #content .table{min-width:660px;font-size:.82rem}
 body.zero1-fluidez #content .table td,body.zero1-fluidez #content .table th{padding:7px 9px;line-height:1.3}
 body.zero1-fluidez #content .table .actions-row{flex-wrap:nowrap}
 /* Tabelas grandes Vendas/Pedidos: cartões compactos apenas no celular. */
 body.zero1-fluidez #content .z-desktop-records{display:none}
 body.zero1-fluidez #content .z-mobile-record-list{display:grid;gap:9px;width:100%;min-width:0}
 .z-mobile-record{padding:11px 12px;border:1px solid #dfe5eb;border-radius:14px;background:#fff;box-shadow:0 2px 8px #15202b08;min-width:0}
 .z-mobile-record-head{display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.2}
 .z-mobile-record-id{font-size:.87rem;color:#253241;font-weight:850}
 .z-mobile-record-amount{font-size:1.04rem;color:#111827;font-weight:950;white-space:nowrap}
 .z-mobile-record-client{margin-top:5px;font-size:.88rem;font-weight:750;color:#2f3b49;overflow-wrap:anywhere}
 .z-mobile-record-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#64748b;font-size:.74rem;margin:6px 0 8px}
 .z-mobile-record-meta .badge{font-size:.7rem;padding:3px 8px}
 .z-mobile-record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .z-mobile-record-actions .btn{width:100%;min-width:0;min-height:39px;padding:8px 9px;font-size:.79rem;white-space:normal;text-align:center}
 .z-mobile-record-actions .btn:only-child{grid-column:1/-1}
 .z-mobile-record-more{margin-top:8px;border-top:1px solid #edf1f4;padding-top:7px}
 .z-mobile-record-more summary{font-size:.76rem;font-weight:800;color:#765d00;cursor:pointer;min-height:28px;display:flex;align-items:center;gap:7px;list-style:none}
 .z-mobile-record-more summary::before{content:'+';font-size:1rem;line-height:1}
 .z-mobile-record-more[open] summary::before{content:'−'}
 .z-mobile-record-more summary::-webkit-details-marker{display:none}
 .z-mobile-record-extra{display:grid;gap:7px;padding:7px 0 1px}
 .z-mobile-detail-row{display:flex;justify-content:space-between;align-items:start;gap:8px;font-size:.79rem}
 .z-mobile-detail-row span{color:#64748b}
 .z-mobile-detail-row b{font-weight:650;text-align:right;overflow-wrap:anywhere}
 .z-mobile-record-other{display:flex;flex-wrap:wrap;gap:7px;padding-top:6px}
 .z-mobile-record-other .btn{min-height:36px;padding:7px 10px;font-size:.79rem}
 .z-mobile-record-empty{padding:18px;text-align:center;color:#64748b}
 body.zero1-fluidez #content .section-title{flex-wrap:wrap;gap:7px}
}
@media(max-width:380px){
 body.zero1-fluidez #content .page{padding-left:10px;padding-right:10px}
 .z-mobile-record{padding:10px}
 .z-mobile-record-actions .btn{font-size:.76rem}
}
@media(prefers-reduced-motion:reduce){
 body.zero1-fluidez #content .page-head,
 body.zero1-fluidez #content .metric-rich,
 body.zero1-fluidez #content .card{animation:none!important;transition:none!important;transform:none!important}
}
