
/* Central de Entregas — experiência operacional simplificada | 2026-10-13
   Exclusivamente administração; mantém mapas, pagamentos e integrações existentes. */
.pp-delivery-page.dl-simplified{--dl-red:#a92332;--dl-border:#e9e4e1;--dl-text:#28232b;--dl-muted:#786f73;color:var(--dl-text)}
.pp-delivery-page.dl-simplified .portal-head{margin-bottom:15px}
.pp-delivery-page.dl-simplified .portal-head h1{letter-spacing:-.035em}
.pp-delivery-page.dl-simplified .portal-head p{max-width:620px;line-height:1.5}
.pp-delivery-page.dl-simplified .portal-op-selector{display:flex;gap:8px;flex-wrap:wrap;overflow:visible;padding:4px 0;margin:0 0 12px}
.dl-navigation{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 19px;min-width:0}
.dl-work-button,.dl-settings-nav>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid #e5dedb;border-radius:12px;background:#fff;color:#4c4142;font-size:12px;font-weight:800;cursor:pointer;white-space:normal}
.dl-work-button.active{background:#a92332;color:#fff;border-color:#a92332}
.dl-settings-nav{min-width:0}
.dl-settings-nav>summary{list-style:none}
.dl-settings-nav>summary::-webkit-details-marker{display:none}
.dl-settings-nav[open]{flex-basis:100%}
.dl-settings-nav[open]>summary{background:#fff6f6;border-color:#eac5c7;color:#971b29}
.dl-settings-nav>summary span{font-size:13px;color:#9a7e7e}
.dl-settings-nav .pp-delivery-tabs{display:flex!important;flex-wrap:wrap;overflow:visible;gap:8px;max-width:100%;margin:10px 0 5px;padding:10px;background:#fff;border:1px solid var(--dl-border);border-radius:13px}
.dl-settings-nav .pp-delivery-tabs button{min-height:40px;white-space:normal}
.dl-workspace{display:grid;gap:15px;min-width:0}
.dl-quick-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dl-quick-title>div{min-width:0}
.dl-quick-title small{display:block;margin-bottom:4px;color:#a92332;font-size:10px;letter-spacing:.12em;font-weight:850}
.dl-quick-title h2{font-size:23px;font-weight:850;letter-spacing:-.035em;line-height:1.2;margin:0}
.dl-quick-title p{color:#756c6b;font-size:12px;line-height:1.55;margin:5px 0 0}
.dl-refresh{min-height:42px;flex:none;border-radius:11px;padding:10px 13px;border:1px solid #e3d8d5;background:#fff;color:#473b3c;font-size:12px;font-weight:800;cursor:pointer}
.dl-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.dl-metrics button{min-width:0;display:grid;gap:7px;text-align:left;background:#fff;border:1px solid var(--dl-border);border-radius:15px;padding:17px;cursor:pointer;box-shadow:0 4px 15px #382b2907}
.dl-metrics button span{font-size:12px;font-weight:700;color:#6b6363}
.dl-metrics button strong{font-size:29px;letter-spacing:-.04em;line-height:1.1;color:#292324}
.dl-metrics button small{font-size:11px;color:#827978}
.dl-metrics button.active{background:#fff7f7;border-color:#bf5967;box-shadow:inset 0 0 0 1px #e7c9ce}
.dl-metrics button[data-delivery-filter="attention"] strong{color:#aa2935}
.dl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.dl-filters{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
.dl-filters button{display:inline-flex;gap:7px;align-items:center;min-height:36px;padding:8px 11px;border-radius:9px;border:1px solid #e9e1dd;background:#fff;color:#5e5151;font-size:11px;font-weight:750;cursor:pointer}
.dl-filters button b{font-size:10px;min-width:18px;padding:3px 5px;text-align:center;border-radius:6px;background:#f3efed;color:#625457}
.dl-filters button.active{border-color:#9f2634;background:#9f2634;color:#fff}
.dl-filters button.active b{background:#ffffff2b;color:#fff}
.dl-search-label{display:flex;flex:1 1 255px;max-width:370px;min-width:180px}
.dl-search-label input{width:100%;height:40px;min-width:0;padding:0 14px;border:1px solid #ded5d2;border-radius:10px;background:#fff;color:#2f2828;font-size:12px;outline-offset:2px}
.dl-section-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;font-size:11px;color:#837779}
.dl-section-meta strong{color:#4d4145;font-weight:800}
.dl-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.dl-order-card{display:flex;flex-direction:column;gap:11px;min-width:0;min-height:188px;padding:17px;border:1px solid #e8e3df;background:#fff;border-radius:15px;box-shadow:0 3px 18px #251d1d08}
.dl-order-card[hidden]{display:none!important}
.dl-order-card.dl-attention{border-color:#eec4b8;box-shadow:inset 3px 0 0 #d68249}
.dl-order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.dl-order-top>div{display:grid;gap:4px;min-width:0}
.dl-order-ref{font-size:11px;color:#847476;font-weight:750}
.dl-order-top strong{font-size:16px;line-height:1.25;color:#272226;overflow-wrap:anywhere}
.dl-status{display:inline-flex;align-items:center;flex:none;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:850;line-height:1.2}
.dl-status-ready{background:#fff1d8;color:#805116}
.dl-status-route{background:#e7f4fd;color:#13668e}
.dl-status-waiting{background:#f1eff1;color:#58515d}
.dl-order-address{margin:0;font-size:12px;color:#51474c;line-height:1.55;overflow-wrap:anywhere}
.dl-order-tags{display:flex;gap:6px;flex-wrap:wrap}
.dl-order-tags span{border-radius:7px;background:#f7f5f4;padding:5px 8px;color:#62565c;font-weight:650;font-size:10px}
.dl-order-tags .dl-alert{background:#fff1e8;color:#9b501d}
.dl-order-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:auto}
.dl-order-actions button{min-height:40px;padding:9px 11px;border-radius:9px;border:1px solid #e3dddb;font-weight:800;font-size:11px;cursor:pointer}
.dl-order-actions .dl-action-secondary{background:#fff;color:#4d4347}
.dl-order-actions .dl-action-primary{background:#a92332;border-color:#a92332;color:#fff;flex-grow:1}
.dl-empty{text-align:center;padding:28px;background:#fff;border:1px dashed #d9caca;border-radius:15px}
.dl-empty[hidden]{display:none!important}
.dl-empty strong{display:block;margin-bottom:5px;font-size:15px}
.dl-empty p{font-size:12px;color:#746868}
.dl-empty button{border:1px solid #ded0cf;background:#fff;border-radius:9px;padding:10px 16px;font-size:12px;font-weight:800;cursor:pointer}
.dl-advanced-summary{background:#fff;border:1px solid #e9e3df;border-radius:13px;padding:4px 15px;min-width:0}
.dl-advanced-summary summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:46px;font-size:12px;font-weight:750;color:#65595a;list-style:none}
.dl-advanced-summary summary::-webkit-details-marker{display:none}
.dl-advanced-summary>p{font-size:12px;line-height:1.6;color:#6f6063}
.dl-advanced-summary .pp-fulfillment-recent{margin:8px 0 12px}
.dl-workspace :is(button,input):focus-visible,.dl-navigation button:focus-visible,.dl-navigation summary:focus-visible{outline:3px solid #efb9c1!important;outline-offset:2px}
.dl-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1030px){.dl-orders{grid-template-columns:1fr}.dl-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pp-delivery-page.dl-simplified{padding-left:12px;padding-right:12px}.dl-quick-title{align-items:flex-start}.dl-quick-title h2{font-size:20px}.dl-refresh{padding:10px}.dl-metrics{gap:8px}.dl-metrics button{padding:12px}.dl-metrics button strong{font-size:25px}.dl-metrics button span{font-size:11px}.dl-toolbar{display:grid}.dl-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px;max-width:100%}.dl-filters button{flex:none}.dl-search-label{max-width:100%;width:100%;flex:auto}.dl-order-card{padding:14px}.dl-order-actions button{flex:1 1 30%}.dl-status{white-space:normal;text-align:center}.dl-navigation{align-items:stretch;display:grid}.dl-work-button,.dl-settings-nav>summary{width:100%}.dl-settings-nav[open]{min-width:0}.dl-settings-nav .pp-delivery-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.dl-workspace *{scroll-behavior:auto!important;transition:none!important}}
