/* Readable type, complete orders and explicit time intervals. */
body[data-sector="delivery"]{line-height:1.6}
body[data-sector="delivery"] .btn{min-height:44px;white-space:normal;line-height:1.4}
body[data-sector="delivery"] .btn.small{min-height:40px}
body[data-sector="delivery"] .juca-shell .nav button{font-size:16px;min-height:46px}
body[data-sector="delivery"] .juca-shell .nav-section-label{color:#64748b;letter-spacing:.8px}
body[data-sector="delivery"] .juca-page-head .delivery-actions{flex-wrap:wrap}
body[data-sector="delivery"] .juca-page-head .delivery-actions .btn{white-space:normal}
body[data-sector="delivery"] .juca-panel-title>h2{font-size:20px;line-height:1.4}
body[data-sector="delivery"] .juca-shell .topbar{height:auto;min-height:76px;padding-block:12px}
body[data-sector="delivery"] .orders-search{height:auto;min-height:44px}
body[data-sector="delivery"] .orders-search input{font-size:16px}
body[data-sector="delivery"] .field input,body[data-sector="delivery"] .field select,body[data-sector="delivery"] .field textarea{font-size:16px;min-height:46px}
body[data-sector="delivery"] .delivery-order{padding:16px;line-height:1.6}
body[data-sector="delivery"] .juca-column-scroll{max-height:none;overflow:visible}
body[data-sector="delivery"] .delivery-order.has-notes{border:2px solid #d97706}
body[data-sector="delivery"] .delivery-order-top{align-items:flex-start;flex-wrap:wrap;gap:8px}
body[data-sector="delivery"] .delivery-order-top>strong{font-size:18px;letter-spacing:0}
body[data-sector="delivery"] .delivery-order h4{font-size:18px;line-height:1.5}
body[data-sector="delivery"] .delivery-order .juca-order-person{align-items:flex-start}
body[data-sector="delivery"] .delivery-order .juca-order-person>div{min-width:0}
body[data-sector="delivery"] .delivery-order .juca-order-person small{font-size:14px;color:#475569;line-height:1.6}
body[data-sector="delivery"] .delivery-order .delivery-items{font-size:18px;line-height:1.65;padding:12px;max-height:none;overflow:visible}
body[data-sector="delivery"] .delivery-order-item{padding:10px 0;overflow-wrap:anywhere}
body[data-sector="delivery"] .delivery-order-item+.delivery-order-item{border-top:1px solid #dbe1e8}
body[data-sector="delivery"] .delivery-order-item>strong{font-size:18px;font-weight:800;display:block}
body[data-sector="delivery"] .delivery-items small{font-size:15px;line-height:1.6;color:#475569}
body[data-sector="delivery"] .juca-order-buttons{flex-wrap:wrap}
body[data-sector="delivery"] .juca-order-buttons .btn{font-size:15px;min-height:46px;flex:1 1 100%}
body[data-sector="delivery"] .juca-order-bottom{flex-wrap:wrap;gap:8px}
body[data-sector="delivery"] .juca-order-bottom .btn{font-size:14px!important;min-height:40px!important;color:#475569!important}
body[data-sector="delivery"] .delivery-order-note-badge{display:inline-block;background:#fef3c7;color:#78350f;font-size:14px;font-weight:800;border-radius:7px;padding:4px 9px;margin-top:12px}
.delivery-order-note{background:#fffbeb;border:1px solid #d97706;border-left:5px solid #b45309;border-radius:9px;padding:12px;margin:12px 0;color:#78350f;overflow-wrap:anywhere;line-height:1.6}
.delivery-order-note>strong{display:block;font-size:15px;font-weight:800}
.delivery-order-note>p{font-size:18px;font-weight:750;margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.delivery-order-note.is-item{margin:9px 0 0;padding:10px}
body[data-sector="delivery"] .orders-detail .delivery-order-note p{font-size:18px}
body[data-sector="delivery"] .orders-detail-items .courier-row{align-items:flex-start;gap:15px;flex-wrap:wrap}
body[data-sector="delivery"] .orders-detail-items .courier-row>div{flex:1 1 230px;min-width:0}
body[data-sector="delivery"] .orders-detail-items .courier-row>div>strong{font-size:18px}
body[data-sector="delivery"] .orders-detail-items .courier-row small{font-size:15px}
body[data-sector="delivery"] .orders-detail-print .btn{font-size:15px;min-height:46px;white-space:normal}
body[data-sector="delivery"] .courier-delivery-tabs{flex-wrap:wrap}
body[data-sector="delivery"] .courier-delivery-tabs .btn{flex:1 1 100px;white-space:normal;min-height:42px}
body[data-sector="delivery"] .courier-order-rate{flex-wrap:wrap;gap:10px}
body[data-sector="delivery"] .courier-order-rate>.btn{max-width:none;min-height:44px}
body[data-sector="delivery"] .courier-bottom-nav .btn{font-size:13px;min-height:60px}
body[data-sector="delivery"] .juca-receipt{font-size:14px;max-width:360px}
body[data-sector="delivery"] .juca-receipt p{font-size:14px}
body[data-sector="delivery"] .juca-receipt h3{font-size:20px;line-height:1.5}
body[data-sector="delivery"] .juca-receipt .receipt-item{border-bottom:1px dashed #475569;padding:7px 0}
body[data-sector="delivery"] .juca-receipt .receipt-item>p>b{font-size:17px}
body[data-sector="delivery"] .juca-receipt .receipt-note{border:2px solid #000;background:#fff;color:#000;padding:10px;border-radius:0}
body[data-sector="delivery"] .juca-receipt .receipt-note>strong{font-size:14px}
body[data-sector="delivery"] .juca-receipt .receipt-note>p{font-size:17px;font-weight:800}
.delivery-hourly-panel{min-width:0}
.delivery-hourly-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px}
.delivery-hourly-heading h3{font-size:18px;margin:0;color:#0f172a}
.delivery-hourly-heading p{font-size:14px;margin:5px 0;color:#475569}
.delivery-hourly-metrics{display:flex;gap:7px;flex-wrap:wrap}
body[data-sector="delivery"] .delivery-hourly-metrics .btn{font-size:14px;min-height:40px;padding:8px 12px}
.delivery-hourly-peak{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap;border:1px solid #fed7aa;border-radius:12px;padding:12px 15px;margin:18px 0;color:#9a3412;background:#fff7ed;font-size:15px}
.delivery-hourly-peak>strong{font-size:20px;font-weight:800;color:#7c2d12}
.delivery-hourly-graph{display:flex;gap:10px;margin:26px 0 15px;padding-top:8px;min-width:0}
.delivery-hourly-y{height:220px;display:flex;flex-direction:column;justify-content:space-between;font-size:12px;color:#475569;text-align:right;min-width:65px;flex-shrink:0;line-height:1}
.delivery-hourly-plot{position:relative;flex:1;min-width:0;height:252px;touch-action:pan-y}
.delivery-hourly-plot svg{width:100%;height:220px;display:block;overflow:visible}
.delivery-hourly-grid{stroke:#e2e8f0;stroke-width:1;vector-effect:non-scaling-stroke}
.delivery-hourly-area{fill:#b23a261a}
.delivery-hourly-line{fill:none;stroke:#b23a26;stroke-width:3;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.delivery-hourly-point{fill:#b23a26;vector-effect:non-scaling-stroke}
.delivery-hourly-point.is-peak{fill:#b23a26;stroke:#fff;stroke-width:2}
.delivery-hourly-x{position:relative;height:32px;line-height:1.2}
.delivery-hourly-x>span{position:absolute;top:12px;transform:translateX(-50%);font-size:12px;color:#475569;white-space:nowrap}
.delivery-hourly-cursor{position:absolute;top:0;bottom:32px;width:1px;border-left:1px dashed #78350f;pointer-events:none}
.delivery-hourly-readout{display:flex;gap:8px 15px;justify-content:space-between;align-items:center;flex-wrap:wrap;border:1px solid #e2e8f0;border-radius:10px;padding:12px;color:#334155;background:#f8fafc;font-size:15px}
.delivery-hourly-readout>strong{font-size:20px;color:#0f172a}
.delivery-hourly-select{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;color:#475569;margin-top:15px}
body[data-sector="delivery"] .delivery-hourly-select select{font-size:16px;min-height:44px;border:1px solid #cbd5e1;border-radius:9px;padding:8px;background:white;color:#0f172a;max-width:100%;min-width:0}
body[data-sector="delivery"] .delivery-hourly-panel>.delivery-help{font-size:14px;color:#475569;line-height:1.7}
@media(min-width:1101px) and (max-width:1550px){
 body[data-sector="delivery"] .delivery-board{gap:12px}
 body[data-sector="delivery"] .delivery-column{padding:8px}
 body[data-sector="delivery"] .delivery-column>h3{flex-wrap:wrap;font-size:16px;padding:10px;gap:6px}
 body[data-sector="delivery"] .delivery-order{padding:12px}
}
@media(max-width:650px){
 body[data-sector="delivery"] .juca-shell .topbar{padding:10px;gap:8px}
 body[data-sector="delivery"] .orders-search input{font-size:16px}
 body[data-sector="delivery"] .juca-page-head .delivery-actions .btn{flex:1 1 150px;font-size:15px}
 body[data-sector="delivery"] .juca-periods>.btn{font-size:14px!important;min-height:40px!important}
 body[data-sector="delivery"] .juca-periods>.juca-custom-period{margin-left:0}
 body[data-sector="delivery"] .juca-panel{padding:17px}
 body[data-sector="delivery"] .juca-panel-title>h2{font-size:20px}
 .delivery-order-note>p{font-size:18px}
 .delivery-hourly-heading{align-items:flex-start}
 .delivery-hourly-peak{padding:10px;font-size:14px}
 .delivery-hourly-peak>strong{font-size:18px}
 .delivery-hourly-y{min-width:56px;font-size:11px}
 .delivery-hourly-graph{gap:7px}
 .delivery-hourly-x>span{font-size:11px}
 .delivery-hourly-x>span:first-child{transform:none;left:0!important}
 .delivery-hourly-x>span:last-child{transform:translateX(-100%);left:100%!important}
 .delivery-hourly-select select{width:100%}
 body[data-sector="delivery"] .orders-detail-print .btn{flex:1 1 100%}
 body[data-sector="delivery"] .orders-history-stats{grid-template-columns:1fr}
}
