.f22-overlay{position:fixed;inset:0;background:#0b1324aa;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}.f22-overlay.show{display:flex}.f22-modal{width:min(620px,96vw);max-height:88vh;overflow:auto;background:#fff;border-radius:14px}.f22-head,.f22-actions{display:flex;justify-content:space-between;gap:8px;padding:14px 16px;border-bottom:1px solid #e5e8ee}.f22-actions{justify-content:flex-end;border-top:1px solid #e5e8ee;border-bottom:0}.f22-body{padding:16px}.f22-body input,.f22-body select,.f22-body textarea{width:100%;padding:9px;border:1px solid #d9dee7;border-radius:7px}.f22-actions button,.f22-body button{padding:9px 12px;border:1px solid #d8dee8;border-radius:8px;background:#fff;font-weight:700}.f22-actions .primary{background:#08a83d;color:#fff}.f22-actions .danger{background:#d92334;color:#fff}.f22-reasons{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.f22-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.f22-grid .wide{grid-column:1/-1}.f22-item{display:grid;grid-template-columns:1fr 60px 80px 34px;gap:5px;margin:5px 0}.f22-toast{position:fixed;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);padding:13px 18px;border-radius:9px;color:#fff;font-weight:800;background:#148a43}.f22-driver-list label{display:flex;gap:8px;padding:10px;border:1px solid #e2e6ec;border-radius:8px;margin:5px 0}.f22-driver-list input{width:auto}.f22-driver-list span{display:flex;flex-direction:column}.f22-customer-changes{margin-top:12px;padding:12px;background:#fff8e5;border:1px solid #e9c76d;border-radius:9px}.f22-side{position:fixed;left:0;top:0;bottom:0;width:190px;background:#0d1725;padding:12px;z-index:30}.f22-side img{width:105px;height:75px;object-fit:contain;display:block;margin:auto}.f22-side a{display:block;color:#ccd5e2;text-decoration:none;padding:11px;border-radius:8px}.f22-side a.active{background:#1c2b40;color:#fff}.f22-admin{margin-left:190px;padding:20px}.f22-admin header{display:flex;justify-content:space-between;align-items:center}.f22-panel{background:#fff;border:1px solid #e1e5eb;border-radius:10px;padding:14px}.f22-driver-row{display:grid;grid-template-columns:1fr 75px 80px 65px;gap:7px;padding:10px 0;border-bottom:1px solid #edf0f4}.f22-driver-row div{display:flex;flex-direction:column}.f22-clients-body>.topbar,.f22-clients-body>.admin17-nav{display:none!important}.f22-clients-body>.admin-main{margin-left:190px!important;max-width:none!important;padding:18px!important}.f22-organize{order:-1!important;white-space:nowrap!important}@media(min-width:951px){.c19-side{width:190px!important}.c19-app{margin-left:190px!important}.c19-main{padding-left:10px!important}.c19-order,.c19-customer,.c19-items,.c19-pay{min-height:0!important;height:auto!important}.c19-customer,.c19-items,.c19-pay{padding:8px 10px!important}.c19-next{margin-top:7px!important}}@media(max-width:950px){.f22-side{display:none}.f22-admin,.f22-clients-body>.admin-main{margin-left:0!important}.f22-grid{grid-template-columns:1fr}}

/* 17P.22.1 — CORREÇÃO CENTRAL: sem faixa vazia entre menu e conteúdo */
body.admin-body.central19-body{padding-left:0!important;margin:0!important;}
@media(min-width:951px){
 body.admin-body.central19-body .c19-side{left:0!important;width:190px!important;}
 body.admin-body.central19-body .c19-app{margin-left:190px!important;width:calc(100% - 190px)!important;}
 body.admin-body.central19-body .c19-top{padding-left:18px!important;padding-right:18px!important;}
 body.admin-body.central19-body .c19-main{padding:12px!important;}
 body.admin-body.central19-body .c20-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 350px!important;gap:10px!important;align-items:start!important;grid-column:1/-1!important;}
 body.admin-body.central19-body .c20-workspace .c19-list{grid-column:auto!important;grid-row:auto!important;height:max-content!important;align-self:start!important;}
 body.admin-body.central19-body .c20-detail{grid-column:auto!important;grid-row:auto!important;width:auto!important;position:sticky!important;top:96px!important;}
 body.admin-body.central19-body .c19-order{height:auto!important;min-height:0!important;align-self:start!important;}
 body.admin-body.central19-body .c19-empty{min-height:115px!important;height:115px!important;padding:20px!important;display:grid!important;place-items:center!important;}
}

.f223-driver{margin-top:7px;display:flex;align-items:center;gap:4px;padding:7px 9px;border-radius:7px;background:#eef5ff;color:#17243a;font-size:12px}
.f223-driver button{margin-left:auto;border:0;background:transparent;color:#1769d2;font-weight:800;cursor:pointer;text-decoration:underline}
.f223-driver-detail{display:flex;align-items:center;gap:9px;margin-top:10px;padding:10px 11px;background:#eef5ff;border:1px solid #d9e7fb;border-radius:9px}
.f223-driver-detail>span{font-size:20px}.f223-driver-detail>div{display:flex;flex-direction:column;flex:1}.f223-driver-detail small{font-size:9px;color:#6e7b8f;font-weight:800}.f223-driver-detail b{font-size:13px;color:#15223a}
.f223-driver-detail button{border:1px solid #b9cce8;background:#fff;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:800;color:#1769d2;cursor:pointer}

.reopen224{color:#087b3a!important;border-color:#b9ddc8!important;background:#f2fbf5!important}
.f224-warning{padding:11px 12px;margin-bottom:10px;border:1px solid #efc1c5;background:#fff3f4;border-radius:9px;color:#8f1c27}.f224-warning p{margin:5px 0 0;color:#4b5362}

/* 17P.22.6 — Clientes no mesmo padrão visual da Central */
.f22-clients-body{margin:0!important;background:#f3f5f8!important;color:#162235}.f22-clients-body>.f22-side{box-shadow:none}.f226-main{margin-left:190px;min-height:100vh;padding:18px 20px 40px}.f226-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.f226-head small{font-size:10px;font-weight:900;letter-spacing:.12em;color:#788397}.f226-head h1{margin:2px 0;font-size:24px}.f226-head p{margin:0;color:#758093;font-size:12px}.f226-central{border:1px solid #dbe0e8;background:#fff;color:#24334a;text-decoration:none;padding:9px 12px;border-radius:8px;font-size:12px;font-weight:800}.f226-tabs{display:flex;gap:5px;background:#e9edf2;padding:4px;border-radius:9px;margin-bottom:10px;width:max-content;max-width:100%;overflow:auto}.f226-tabs button{border:0;background:transparent;padding:9px 14px;border-radius:7px;font-weight:800;color:#637086;white-space:nowrap;cursor:pointer}.f226-tabs button.active{background:#fff;color:#18263b;box-shadow:0 1px 3px #00000012}.f226-tabs span{margin-left:5px;background:#e9edf2;border-radius:10px;padding:1px 6px}.f226-view{display:none;background:#fff;border:1px solid #e1e5eb;border-radius:10px;overflow:hidden}.f226-view.active{display:block}.f226-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-bottom:1px solid #e8ebf0}.f226-toolbar h2{font-size:15px;margin:0}.f226-toolbar p{font-size:11px;color:#7a8597;margin:3px 0 0}.f226-search{display:flex;align-items:center;gap:7px;border:1px solid #dce1e8;border-radius:8px;padding:0 10px;width:min(330px,100%);background:#fff}.f226-search input{border:0!important;outline:0!important;padding:9px 0!important;width:100%;font-size:12px}.f226-list .client-row{border-radius:0!important;border:0!important;border-bottom:1px solid #edf0f4!important;margin:0!important;padding:11px 15px!important}.f226-list .client-row:last-child{border-bottom:0!important}.f226-ranking-head,.f226-rank-row{display:grid;grid-template-columns:42px minmax(180px,1fr) 90px 90px 130px;gap:10px;align-items:center}.f226-ranking-head{padding:8px 15px;background:#f7f8fa;color:#7b8697;font-size:9px;font-weight:900;text-transform:uppercase}.f226-ranking-head.loyalty,.f226-rank-row.loyalty{grid-template-columns:42px minmax(180px,1fr) 110px 90px}.f226-rank-row{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:11px 15px;text-align:left;color:#1b283b;cursor:pointer}.f226-rank-row:hover{background:#f8fafc}.f226-rank-row>b:first-child{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eef1f5;font-size:11px}.f226-rank-row div{display:flex;flex-direction:column;min-width:0}.f226-rank-row div strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.f226-rank-row div small{font-size:10px;color:#8993a2}.f226-rank-row>strong,.f226-rank-row>span{font-size:11px}.f226-empty{padding:25px;text-align:center;color:#8791a0}.client-modal{max-height:92vh!important;overflow:auto!important}
@media(max-width:950px){.f226-main{margin-left:0;padding:12px}.f226-head{align-items:flex-start}.f226-central{display:none}.f226-toolbar{align-items:stretch;flex-direction:column}.f226-search{width:100%}.f226-ranking-head{display:none}.f226-rank-row,.f226-rank-row.loyalty{grid-template-columns:32px minmax(130px,1fr) 60px 70px;padding:10px}.f226-rank-row:not(.loyalty)>span:last-child{display:none}}
/* 17P.22.7 — correção visual definitiva dos rankings de Clientes */
#clientRanking226,#loyaltyRanking226{display:block!important;margin:0!important;padding:0!important;width:100%!important}
#clientRanking226 .f226-rank-row,#loyaltyRanking226 .f226-rank-row{box-sizing:border-box!important;display:grid!important;min-height:50px!important;height:50px!important;margin:0!important;border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:#fff!important;padding:8px 15px!important;line-height:1.15!important;align-items:center!important;overflow:hidden!important}
#loyaltyRanking226 .f226-rank-row{grid-template-columns:42px minmax(180px,1fr) 110px 90px!important}
#clientRanking226 .f226-rank-row{grid-template-columns:42px minmax(180px,1fr) 90px 90px 130px!important}
#clientRanking226 .f226-rank-row:hover,#loyaltyRanking226 .f226-rank-row:hover{background:#f8fafc!important}
#clientRanking226 .f226-rank-row>b:first-child,#loyaltyRanking226 .f226-rank-row>b:first-child{margin:0!important;width:28px!important;height:28px!important;min-height:28px!important;border:0!important;border-radius:50%!important;padding:0!important}
#clientRanking226 .f226-rank-row div,#loyaltyRanking226 .f226-rank-row div{margin:0!important;padding:0!important;border:0!important;min-height:0!important}
#clientRanking226 .f226-rank-row strong,#clientRanking226 .f226-rank-row span,#loyaltyRanking226 .f226-rank-row strong,#loyaltyRanking226 .f226-rank-row span{margin:0!important;padding:0!important;border:0!important;line-height:1.2!important}
@media(max-width:950px){#clientRanking226 .f226-rank-row,#loyaltyRanking226 .f226-rank-row{height:auto!important;min-height:52px!important;padding:9px 10px!important}#loyaltyRanking226 .f226-rank-row{grid-template-columns:32px minmax(130px,1fr) 60px 70px!important}}

/* 17P.22.12 — Central otimizada para navegador em 100% */
@media (min-width:951px){
  body.admin-body.central19-body .c19-side{width:168px!important}
  body.admin-body.central19-body .c19-app{margin-left:168px!important;width:calc(100% - 168px)!important}
  .c19-logo{padding:8px 10px!important}.c19-logo img{width:88px!important;height:58px!important}
  .c19-side nav{padding:8px 7px!important;gap:3px!important}.c19-side nav a{height:42px!important;padding:0 11px!important;gap:9px!important;font-size:12px!important}
  .c19-motto{margin:8px 9px 12px!important;padding:10px!important;font-size:20px!important}.c19-motto strong{font-size:14px!important}
  .c19-top{height:70px!important;padding:0 14px!important;gap:11px!important}.c19-top h1{font-size:22px!important}.c19-top p{font-size:10px!important}.c19-store{padding:9px 10px!important}.c19-clock{min-width:118px!important;padding-left:11px!important}.c19-clock strong{font-size:17px!important}.c19-user{padding:7px 9px!important}
  body.admin-body.central19-body .c19-main{padding:8px 9px!important}
  .c19-tabs{gap:4px!important;margin-bottom:8px!important}.c19-tabs button{padding:8px 10px!important;font-size:11px!important}.c19-tabs button b{margin-left:5px!important;padding:2px 6px!important}
  .c19-tools{top:8px!important;right:9px!important;width:300px!important}.c19-tools input{height:36px!important;font-size:11px!important}.c19-tools button{height:36px!important;width:40px!important}
  body.admin-body.central19-body .c20-workspace{grid-template-columns:minmax(0,1fr) 315px!important;gap:8px!important}
  .c20-detail{top:78px!important;height:calc(100vh - 86px)!important;border-radius:9px!important}.c20-detail-head{padding:9px 11px!important}.c20-detail-head h2{font-size:18px!important}.c20-detail-scroll{padding:3px 11px 14px!important}
  .c19-list{gap:7px!important}.c19-order{grid-template-columns:minmax(215px,1fr) minmax(200px,1fr) 185px!important;border-radius:9px!important}
  .c19-customer,.c19-items,.c19-pay{padding:7px 9px!important}.c19-orderline>strong{font-size:18px!important}.c19-status{padding:4px 8px!important}.c19-mode{margin:5px 0 3px!important;font-size:10px!important}.c19-customer h3{font-size:14px!important;margin:2px 0!important}.c19-phone,.c19-customer p,.c19-items>div{font-size:10.5px!important}.c19-customer p{margin-top:3px!important;line-height:1.3!important}.c19-items h4{margin:1px 0 6px!important;font-size:10px!important}.c19-items>div{margin:5px 0!important}.c19-payment{padding:4px 8px!important;margin-bottom:5px!important}.c19-pay>strong{font-size:19px!important;margin-bottom:5px!important}.c19-next{padding:8px!important;font-size:11px!important}.c19-extend{padding:7px!important;font-size:10px!important}
}
@media (min-width:951px) and (max-width:1280px){
  body.admin-body.central19-body .c20-workspace{grid-template-columns:minmax(0,1fr) 285px!important}
  .c19-order{grid-template-columns:minmax(190px,1fr) minmax(180px,1fr)!important}.c19-pay{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:7px!important;align-items:center!important}.c19-pay .c19-next{margin:0!important;width:auto!important;min-width:150px!important}
}

/* 17P.22.13 — painel Detalhes mais estreito e compacto em 100% */
@media (min-width:951px){
  body.admin-body.central19-body .c20-workspace{grid-template-columns:minmax(0,1fr) 280px!important;gap:8px!important}
  .c203-head{padding:8px 10px 6px!important}
  .c203-body{padding:0 10px 10px!important}
  .c203-body section{padding:6px 0!important}
  .c203-item{grid-template-columns:28px minmax(0,1fr) auto!important;gap:6px!important}
  .c203-thumb{width:27px!important;height:27px!important}
  .c203-total strong{font-size:17px!important;white-space:nowrap!important}
  .c203-payment{gap:6px!important}
  .c203-actions .main{font-size:10px!important;padding-left:7px!important;padding-right:7px!important}
}
@media (min-width:951px) and (max-width:1280px){
  body.admin-body.central19-body .c20-workspace{grid-template-columns:minmax(0,1fr) 245px!important;gap:7px!important}
  .c203-head{padding:7px 8px 5px!important}
  .c203-body{padding:0 8px 9px!important;font-size:9.5px!important}
  .c203-order>strong{font-size:18px!important}
  .c203-client>b{font-size:10.5px!important}
  .c203-phone{font-size:10px!important}
  .c203-item span,.c203-item b{font-size:9.5px!important}
  .c203-total strong{font-size:16px!important}
  .f229-payment-action{font-size:10px!important;padding:9px 7px!important}
}

/* 17P.22.14 — Central 100%: detalhes realmente compacto + preço dos itens visível */
@media (min-width:951px){
  body.admin-body.central19-body .c20-workspace{
    grid-template-columns:minmax(0,1fr) 220px!important;
    gap:7px!important;
    min-width:0!important;
  }
  body.admin-body.central19-body .c19-list,
  body.admin-body.central19-body .c20-detail{min-width:0!important;max-width:100%!important}
  body.admin-body.central19-body .c20-detail{overflow:hidden!important}
  body.admin-body.central19-body .c203-head{padding:7px 8px 5px!important}
  body.admin-body.central19-body .c203-body{padding:0 8px 9px!important;font-size:9.5px!important;overflow-x:hidden!important}
  body.admin-body.central19-body .c203-body section{padding:5px 0!important;min-width:0!important}
  body.admin-body.central19-body .c203-order{gap:5px!important;flex-wrap:wrap!important}
  body.admin-body.central19-body .c203-order>strong{font-size:17px!important}
  body.admin-body.central19-body .c203-order small{font-size:8px!important;margin-left:auto!important}
  body.admin-body.central19-body .c203-item{grid-template-columns:25px minmax(0,1fr) auto!important;gap:5px!important;min-width:0!important}
  body.admin-body.central19-body .c203-thumb{width:24px!important;height:24px!important}
  body.admin-body.central19-body .c203-item span{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important}
  body.admin-body.central19-body .c203-item b{font-size:9px!important;white-space:nowrap!important}
  body.admin-body.central19-body .c203-total{gap:4px!important;min-width:0!important}
  body.admin-body.central19-body .c203-total strong{font-size:15px!important;white-space:nowrap!important}
  body.admin-body.central19-body .c203-payment{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;min-width:0!important}
  body.admin-body.central19-body .f229-payment-action{width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.15!important;padding:8px 5px!important;font-size:9px!important;box-sizing:border-box!important}
  body.admin-body.central19-body .c203-actions button{max-width:100%!important;min-width:0!important;white-space:normal!important;box-sizing:border-box!important}
  body.admin-body.central19-body .c203-actiongrid{grid-template-columns:1fr!important;gap:4px!important}

  /* preço do produto no card: mais à esquerda, vermelho e sem conflito com menu ⋮ */
  body.admin-body.central19-body .c19-items{padding-right:52px!important;min-width:0!important}
  body.admin-body.central19-body .c19-items>div{gap:8px!important;min-width:0!important}
  body.admin-body.central19-body .c19-items>div span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  body.admin-body.central19-body .c19-items>div strong{color:#e42131!important;font-weight:900!important;white-space:nowrap!important;margin-right:3px!important}
}
@media (min-width:951px) and (max-width:1280px){
  body.admin-body.central19-body .c20-workspace{grid-template-columns:minmax(0,1fr) 205px!important;gap:6px!important}
  body.admin-body.central19-body .c203-title b{font-size:10px!important}
  body.admin-body.central19-body .c203-client>b{font-size:9.5px!important}
  body.admin-body.central19-body .c203-phone{font-size:9px!important}
}

/* 17P.22.15 — remove menu redundante dos cards e libera o preço */
body.admin-body.central19-body .c19-order>.c19-more{display:none!important}
body.admin-body.central19-body .c19-items{padding-right:12px!important}
body.admin-body.central19-body .c19-items>div strong{color:#e42131!important;font-weight:900!important;margin-left:10px!important;padding-right:0!important}

/* 17P.22.16 — distribuição horizontal: card operacional mais curto + detalhes ocupa o restante */
@media (min-width:951px){
  body.admin-body.central19-body .c20-workspace{
    grid-template-columns:minmax(520px,2fr) minmax(285px,1fr)!important;
    gap:8px!important;
    width:100%!important;
    max-width:none!important;
  }
  body.admin-body.central19-body .c19-list{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.admin-body.central19-body .c20-detail{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  /* com a coluna de detalhes maior, volta a aproveitar duas colunas nos controles */
  body.admin-body.central19-body .c203-payment{
    grid-template-columns:minmax(0,1fr) minmax(112px,.9fr)!important;
    align-items:end!important;
  }
  body.admin-body.central19-body .c203-actiongrid{
    grid-template-columns:1fr 1fr!important;
    gap:5px!important;
  }
}
@media (min-width:951px) and (max-width:1180px){
  body.admin-body.central19-body .c20-workspace{
    grid-template-columns:minmax(500px,1.85fr) minmax(280px,1fr)!important;
    gap:7px!important;
  }
}

/* 17P.22.17 — busca mais curta; abas de status sem rolagem horizontal */
@media (min-width:951px){
  body.admin-body.central19-body .c19-main{
    grid-template-columns:minmax(0,1fr) 250px!important;
    column-gap:8px!important;
  }
  body.admin-body.central19-body .c19-tools{
    width:250px!important;
    justify-self:end!important;
  }
  body.admin-body.central19-body .c19-tools input{
    min-width:0!important;
    padding-left:10px!important;
    padding-right:8px!important;
  }
  body.admin-body.central19-body .c19-tabs{
    overflow-x:hidden!important;
    min-width:0!important;
  }
  body.admin-body.central19-body .c19-tabs button{
    flex:1 1 auto!important;
    min-width:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
}
@media (min-width:951px) and (max-width:1180px){
  body.admin-body.central19-body .c19-main{grid-template-columns:minmax(0,1fr) 225px!important}
  body.admin-body.central19-body .c19-tools{width:225px!important}
  body.admin-body.central19-body .c19-tabs button{padding-left:6px!important;padding-right:6px!important;font-size:10.5px!important}
}


/* 17P.22.18 — últimos ajustes de densidade no detalhe */
body.admin-body.central19-body .c203-pay .payment-pill{padding:3px 6px!important;font-size:8.5px!important;min-width:42px!important;justify-content:center!important}
body.admin-body.central19-body .c203-pay .payment-pill.paid{background:#dff5e6!important;color:#12632d!important}
body.admin-body.central19-body .c203-pay .payment-pill.unpaid{background:#ffe3df!important;color:#b21f24!important}
body.admin-body.central19-body .c218-clientline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
body.admin-body.central19-body .c218-clientline>b{font-size:10.5px!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.admin-body.central19-body .c218-clientline .c203-phone{margin-left:auto!important;white-space:nowrap!important;font-size:10px!important}
body.admin-body.central19-body .c203-address{margin-top:5px!important}
body.admin-body.central19-body .c203-address p{font-size:11px!important;line-height:1.35!important;font-weight:600!important}
/* Imprimir + Editar ficam lado a lado; o botão de editar não ocupa a linha inteira */
body.admin-body.central19-body .c203-actiongrid button[data-print205],
body.admin-body.central19-body .c203-actiongrid button[data-f22-edit]{height:29px!important;font-size:9px!important;grid-column:auto!important}
body.admin-body.central19-body .c203-actiongrid button[data-f22-edit]{padding:4px 6px!important}

/* 17P.22.20 — leitura dos itens e total em uma linha */
body.admin-body.central19-body .c203-item span{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
body.admin-body.central19-body .c203-item b{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.admin-body.central19-body .c203-total small{
  white-space:nowrap!important;
  font-size:9.5px!important;
}

/* 17P.22.21 — observação interna editável no painel */
.c221-notes{display:grid;gap:7px}
.c221-note-input{
  width:100%;min-height:62px;resize:vertical;border:1px solid #d9dee8;border-radius:9px;
  padding:9px 10px;font:inherit;font-size:12px;line-height:1.35;background:#fff;color:#172033;
  outline:none;
}
.c221-note-input:focus{border-color:#ef3340;box-shadow:0 0 0 2px rgba(239,51,64,.10)}
.c221-note-save{
  width:100%;border:0;border-radius:8px;padding:8px 10px;background:#172033;color:#fff;
  font-weight:800;cursor:pointer;
}
.c221-note-save:disabled{opacity:.65;cursor:wait}

/* 17P.22.22 — pedido manual */
.manual-order-btn2222{border:0;border-radius:8px;background:#e3222d;color:#fff;font-weight:900;padding:9px 13px;white-space:nowrap;cursor:pointer}
.manual-order-overlay2222.show{display:flex!important}
.manual-order-modal2222{width:min(760px,94vw);max-height:92vh;overflow:auto}
.manual-grid2222,.manual-delivery2222{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.manual-order-modal2222 label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#25324a}
.manual-order-modal2222 label small{font-weight:600;color:#7a8495}
.manual-order-modal2222 input,.manual-order-modal2222 select,.manual-order-modal2222 textarea{width:100%;border:1px solid #dce1e9;border-radius:8px;padding:9px 10px;background:#fff;color:#182033;font:inherit}
.manual-product-add2222{display:grid;grid-template-columns:1fr 80px 110px;gap:8px;align-items:end;margin-top:12px}
.manual-product-add2222 button{height:38px;border:0;border-radius:8px;background:#182033;color:#fff;font-weight:800;cursor:pointer}
.manual-items2222{display:grid;gap:6px;margin:10px 0}
.manual-item2222{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 10px;background:#f5f7fa;border-radius:8px}
.manual-item2222 strong{color:#d91f2b}.manual-item2222 button{border:0;background:transparent;color:#d91f2b;font-size:18px;cursor:pointer}
.manual-note2222{margin-top:8px}.manual-total2222{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:15px;font-weight:900}.manual-total2222 strong{font-size:21px;color:#d91f2b}
.manual-create2222{width:100%;border:0;border-radius:9px;padding:12px;background:#e3222d;color:#fff;font-weight:900;cursor:pointer}
@media(max-width:700px){.manual-grid2222,.manual-delivery2222{grid-template-columns:1fr}.manual-product-add2222{grid-template-columns:1fr 70px}.manual-product-add2222 button{grid-column:1/-1}}

/* 17P.22.23 — Novo Pedido sempre visível */
.manual-order-btn2222{
  display:flex!important;align-items:center;justify-content:center;
  min-width:126px!important;height:38px!important;padding:0 14px!important;
  background:#e3222d!important;color:#fff!important;border:2px solid #e3222d!important;
  border-radius:9px!important;font-size:12px!important;font-weight:900!important;
  line-height:1!important;box-shadow:0 2px 7px rgba(227,34,45,.22)!important;
  flex:0 0 auto!important;position:relative!important;z-index:8!important;
}
.c19-tools{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.c19-tools #c19Search{min-width:0!important;width:220px!important;max-width:220px!important;flex:0 1 220px!important}
@media(max-width:1180px){
 .manual-order-btn2222{min-width:112px!important;padding:0 10px!important;font-size:11px!important}
 .c19-tools #c19Search{width:175px!important;max-width:175px!important;flex-basis:175px!important}
}

/* 17P.22.24 — busca no catálogo + abas mais compactas */
.manual-catalog-search2224{height:38px;display:flex;align-items:center;gap:7px;border:1px solid #dce1e9;border-radius:9px;padding:0 10px;background:#fff;margin-top:12px}
.manual-catalog-search2224 span{font-size:18px;color:#697386;line-height:1}
.manual-catalog-search2224 input{border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;height:34px;background:transparent!important;font-size:13px!important}
.c19-tabs{gap:5px!important}
.c19-tab{min-width:0!important;width:auto!important;flex:0 0 auto!important;padding-left:14px!important;padding-right:14px!important}
.c19-tab[data-status="novo"]{padding-left:15px!important;padding-right:15px!important}
@media(max-width:1250px){.c19-tab{padding-left:11px!important;padding-right:11px!important}}

/* 17P.22.25 — reconhecimento de cliente no pedido manual */
.manual-customer-state2225{min-height:14px;font-size:11px!important;color:#7b8493!important;font-weight:700!important}
.manual-customer-state2225.found{color:#16803a!important}
.ops23-summary{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));gap:6px;margin:8px 18px 3px 236px}.ops23-summary>div{background:#fff;border:1px solid #e4e7ed;border-radius:8px;padding:7px 9px}.ops23-summary small{display:block;color:#7a8494;font-size:9px;font-weight:800}.ops23-summary strong{font-size:13px;color:#172033}.ops23-actions{margin:3px 18px 3px 236px;display:flex;justify-content:flex-end;gap:5px}.ops23-actions button{border:1px solid #dfe3e9;background:#fff;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800;cursor:pointer}.ops23-actions b{background:#e3222d;color:#fff;border-radius:10px;padding:1px 5px}.ops23-time{font-size:9px;font-weight:900;margin-top:4px;color:#667085}.ops23-warn{border-color:#e6a700!important}.ops23-late{border-color:#e3222d!important;box-shadow:0 0 0 2px #e3222d22!important}.ops23-late .ops23-time{color:#e3222d}.ops23-recurring{display:inline-block;margin-top:3px;background:#eef2f7;border-radius:10px;padding:2px 6px;font-size:9px;font-weight:900}.ops23-modal{width:min(620px,92vw);max-height:85vh;overflow:auto}.ops23-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #eee}.ops23-row span{color:#d51f2a;font-weight:800}.ops23-close h3{font-size:27px;margin:8px 0}.ops23-close>div{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #eee}.quick-notes23{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.quick-notes23 button{border:1px solid #dce1e9;background:#fff;border-radius:12px;padding:4px 8px;font-size:10px;font-weight:800;cursor:pointer}.manual-last23{display:grid;gap:5px;margin:7px 0}.manual-last23>small{font-weight:900;color:#657084}.manual-last23 button{display:flex;justify-content:space-between;border:1px solid #e2e6ec;background:#f8f9fb;border-radius:7px;padding:7px 9px;cursor:pointer}.manual-last23 b{color:#e3222d}.driver-tabs23{display:flex;gap:5px;margin-bottom:10px}.driver-tabs23 button,.driver-filters23 button{border:1px solid #dfe3e9;background:#fff;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer}.driver-tabs23 button.active{background:#172033;color:#fff}.driver-filters23{display:flex;gap:5px;margin-bottom:12px}.driver-report-grid23{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.driver-report-grid23>div{border:1px solid #e1e5eb;border-radius:10px;padding:12px;display:grid;gap:5px}.driver-report-grid23 h3{margin:0}.driver-report-grid23 b{font-size:18px}.driver-report-grid23 span,.driver-report-grid23 small{color:#667085}@media(max-width:1200px){.ops23-summary{grid-template-columns:repeat(4,1fr)}.driver-report-grid23{grid-template-columns:repeat(2,1fr)}}
/* 17P.23.1 — classificação de clientes */
.ops23-recurring{font-weight:900!important}.ops23-recurring.vip{background:#fff0c7!important;color:#7b5200!important;border:1px solid #e8c464}.ops23-recurring.loyal{background:#e8f7ed!important;color:#14713a!important;border:1px solid #b9e4c8}.ops23-recurring.freq{background:#eaf1ff!important;color:#2458a6!important;border:1px solid #c9d9f6}.ops23-recurring.new{background:#f1f2f4!important;color:#5f6875!important;border:1px solid #dde0e5}
.client-class-summary231{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.client-class-summary231>div{background:#fff;border:1px solid #e3e6eb;border-radius:9px;padding:9px 12px}.client-class-summary231 small{display:block;font-size:10px;font-weight:900;color:#737d8d}.client-class-summary231 strong{font-size:21px}.client-class-summary231 .vip{border-left:4px solid #d9a514}.client-class-summary231 .loyal{border-left:4px solid #29945a}.client-class-summary231 .freq{border-left:4px solid #3978cf}.client-class-summary231 .new{border-left:4px solid #9aa1ac}
.client-class-badge231{display:inline-flex;margin:3px 6px;padding:3px 7px;border-radius:10px;font-size:9px;font-weight:900;white-space:nowrap}.client-class-badge231.vip{background:#fff0c7;color:#7b5200}.client-class-badge231.loyal{background:#e8f7ed;color:#14713a}.client-class-badge231.freq{background:#eaf1ff;color:#2458a6}.client-class-badge231.new{background:#f1f2f4;color:#5f6875}

/* 17P.23.2 — linha do tempo operacional */
.timeline232-wrap{margin-top:10px;padding-top:9px;border-top:1px solid #e4e7ec}.timeline232-wrap h4{margin:0 0 7px;font-size:10px;letter-spacing:.5px;color:#667085}.timeline232{display:flex;align-items:center;gap:4px;overflow:hidden}.timeline232>div{min-width:48px}.timeline232 small{display:block;font-size:7px;font-weight:900;color:#8b94a3}.timeline232 b{font-size:11px;color:#172033}.timeline232 i{font-style:normal;color:#b1b7c1;font-size:9px}.timeline232-totals{display:flex;gap:12px;margin-top:7px;padding:6px 8px;background:#f7f8fa;border-radius:7px;font-size:10px;color:#596273}.timeline232-totals b{color:#172033}

/* 17P.23.3 — histórico do pedido */
.history233-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.history233-actions>#history233Btn{width:100%!important;margin:0!important}.history233-modal{width:min(560px,92vw);max-height:88vh;overflow:auto}.history233-order{display:flex;justify-content:space-between;align-items:center;padding:3px 0 12px;border-bottom:1px solid #e5e8ee}.history233-order b{font-size:24px;color:#e3222d}.history233-order span{font-size:11px;color:#6c7687}.history233-list{padding:10px 0}.history233-line{display:grid;grid-template-columns:14px 1fr 55px 50px;gap:6px;align-items:center;min-height:43px;position:relative}.history233-line:before{content:"";position:absolute;left:5px;top:27px;bottom:-17px;width:2px;background:#e2e6ec}.history233-line:last-child:before{display:none}.history233-dot{width:11px;height:11px;border-radius:50%;background:#20a052;z-index:1}.history233-line b{font-size:12px}.history233-line small{display:block;color:#6c7687;font-size:9px;margin-top:2px}.history233-line strong{font-size:12px}.history233-line em{font-style:normal;background:#eef2f7;border-radius:10px;padding:2px 5px;font-size:9px;font-weight:900;text-align:center}.history233-summary{background:#f7f8fa;border:1px solid #e3e7ed;border-radius:9px;padding:8px 11px}.history233-summary>div{display:flex;justify-content:space-between;padding:5px 0;font-size:11px}.history233-summary .total{border-top:1px solid #dfe3e9;margin-top:3px;padding-top:8px;font-size:13px}.history233-events{margin-top:12px}.history233-events h4{font-size:9px;color:#727c8c;letter-spacing:.5px}.history233-events>div{display:flex;gap:10px;padding:5px 0;border-bottom:1px solid #eee;font-size:10px}.history233-events span{color:#727c8c;min-width:100px}
.c203-actiongrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.c203-actiongrid>[data-history233]{width:100%!important}
/* 17P.24.14 — Editar pedido mais claro */
.f2414-edit{display:grid;gap:10px}.f2414-section{border:1px solid #e7e1d8;border-radius:12px;padding:11px;background:#fff}.f2414-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.f2414-title b{display:flex;align-items:center;gap:7px}.f2414-title i{font-style:normal;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#111;color:#fff;font-size:11px}.f2414-title small{color:#777}
.f2414-item{display:grid!important;grid-template-columns:minmax(180px,2fr) 112px 112px 120px 30px!important;gap:7px!important;align-items:end!important;padding:8px!important;margin-bottom:7px!important;border:1px solid #eee!important;border-radius:10px!important}.f2414-item label,.f2414-item-name{margin:0!important;font-size:9px!important;font-weight:900;color:#666}.f2414-item input{width:100%;height:35px!important}.f2414-line-total{min-height:35px;display:flex;flex-direction:column;justify-content:center}.f2414-line-total small{font-size:9px;font-weight:900;color:#777}.f2414-line-total strong{font-size:14px;color:#b31318}.f2414-item .x{width:30px!important;height:35px!important;margin:0!important}.f2414-add{border:1px dashed #aaa;background:#fafafa;border-radius:8px;padding:7px 10px;font-weight:800}
.f2414-summary{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:6px;background:#171717;border-radius:12px;padding:9px}.f2414-summary>div{background:#fff;border-radius:8px;padding:8px}.f2414-summary small{display:block;font-size:8px;font-weight:900;color:#777;margin-bottom:3px}.f2414-summary strong{font-size:14px}.f2414-summary .new{background:#fff0cf}.f2414-summary .new strong{color:#b31318;font-size:17px}#f2414Difference.plus,.due strong{color:#b31318!important}#f2414Difference.minus,.credit strong,.ok strong{color:#178c4a!important}
.f2414-notes{display:grid;grid-template-columns:1fr 1fr;gap:7px}.f2414-notes .reason{grid-column:1/-1}.f2414-notes .reason span{font-size:9px;color:#b31318}.f2414-notes textarea{min-height:55px}.f2414-confirm{font-weight:900!important}
@media(max-width:760px){.f2414-item{grid-template-columns:1fr 1fr!important}.f2414-item-name{grid-column:1/-1}.f2414-summary{grid-template-columns:1fr 1fr}.f2414-notes{grid-template-columns:1fr}.f2414-notes .reason{grid-column:auto}.f2414-title>small{display:none}}
