.dc-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0}.dc-tools h2{margin:0 auto;font-size:18px}.dc-tools .chips{margin-right:auto}
.dc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--surface,#fff);border:1px solid var(--line,#dce4ef);border-radius:12px;overflow:hidden}.dc-weekday{text-align:center;padding:12px;color:var(--muted,#64748b)}
.dc-day{min-width:0;min-height:145px;border-top:1px solid var(--line,#dce4ef);border-right:1px solid var(--line,#dce4ef);padding:6px;display:flex;flex-direction:column;gap:4px}.dc-day.outside{background:#f6f8fb}.dc-day.selected{box-shadow:inset 0 0 0 2px #2a78d6}.dc-day-number{align-self:flex-start;min-width:36px;min-height:36px;border:0;border-radius:50%;background:transparent;color:var(--ink,#10294d);cursor:pointer;font:inherit}.dc-day-number.today{background:#174b89;color:#fff}
.dc-event{display:grid;gap:3px;width:100%;min-width:0;min-height:44px;padding:7px;text-align:left;border:1px solid #e3c083;border-left:4px solid #aa6400;border-radius:6px;background:#fff5df;color:#794900;cursor:pointer;font:inherit}.dc-event :is(strong,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-event strong{font-size:12px}.dc-event small{font-size:11px}.dc-overdue,.dc-failed{background:#fff0ee;color:#a32719;border-color:#e3a59d;border-left-color:#bb3020}.dc-in_transit{background:#edf4ff;color:#144b89;border-color:#a7c6ed;border-left-color:#246bb2}.dc-delivered{background:#e9f7ef;color:#146240;border-color:#a0d6b6;border-left-color:#16794e}.dc-cancelled{background:#f2f3f5;color:#59616c;border-color:#c9cdd4;border-left-color:#7b8492}.dc-more{border:0;background:transparent;text-align:left;min-height:36px;color:#174b89;cursor:pointer}.dc-agenda{margin-top:16px;padding:16px;display:grid;gap:8px}.dc-agenda h3{margin:0}.dc-agenda .dc-event :is(strong,small){white-space:normal;overflow-wrap:anywhere}.dc-day-number:focus-visible,.dc-event:focus-visible,.dc-more:focus-visible{outline:3px solid #246bb2;outline-offset:2px}.dc-day.dc-day{overflow:hidden}.dc-grid.dc-view-day{grid-template-columns:1fr}.dc-grid.dc-view-day>.dc-day{min-height:200px}
.delivery-calendar-dialog{width:min(760px,calc(100vw - 24px));max-height:90dvh}.delivery-calendar-dialog .modal-body{overflow:auto}.dc-detail-fields{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}.dc-detail-fields dt{color:var(--muted,#64748b)}.dc-detail-fields dd{margin:0;overflow-wrap:anywhere}.delivery-calendar-dialog .modal-foot{flex-wrap:wrap}#deliveries-filter-summary{padding:10px 0}#deliveries-table{overflow:auto}#deliveries-filter-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.delivery-product-labels{display:block;max-width:320px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.dc-tools h2{font-size:15px}.dc-tools .chips{width:100%}.dc-day{min-height:98px;padding:3px}.dc-day-number{min-width:32px;min-height:36px;font-size:12px}.dc-grid:not(.dc-view-day) .dc-event{padding:3px;min-height:28px;border-left-width:3px}.dc-grid:not(.dc-view-day) .dc-event small{display:none}.dc-grid:not(.dc-view-day) .dc-event strong{font-size:10px}.dc-weekday{padding:8px 2px;font-size:12px}.dc-more{font-size:10px;padding:2px}.dc-detail-fields{grid-template-columns:100px minmax(0,1fr)}.dc-tools .btn{padding:8px;min-height:44px}}
.delivery-advanced-filters{padding:12px}.delivery-advanced-filters summary{cursor:pointer;min-height:36px;font-weight:600}.delivery-advanced-filters input{min-width:0;min-height:42px;width:100%;box-sizing:border-box}#deliveries-product-lines{max-width:100%;overflow:auto!important}.dc-products td{vertical-align:top}.dc-products small{display:block}.dc-tools button{min-height:44px}
