@charset "UTF-8";

/* Prioridade visual do recebimento: resumo geral e próxima entrega confirmada. */
.receiving-focus { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 18px; margin-bottom: 24px; }
.confirmed-today, .next-delivery { min-width: 0; border-radius: 14px; padding: 23px 25px; }
.confirmed-today { color: #fff; background: radial-gradient(ellipse at 100% 100%, #6dc3a326, transparent 65%), #124635; border: 1px solid #2e6a52; }
.today-focus-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #c1e2d3; font-size: 8px; }
.today-focus-heading > span { display: inline-flex; gap: 7px; align-items: center; letter-spacing: .8px; }
.today-focus-heading time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.confirmed-today h2 { color: #f1fff7; font-size: 18px; margin-top: 13px; }
.today-focus-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 95px; }
.today-focus-count { display: block; font-size: 48px; line-height: 1.1; letter-spacing: -1.8px; font-variant-numeric: tabular-nums; }
.today-focus-main p { color: #c3e5d4; font-size: 10px; margin-top: 3px; }
.today-focus-scene { width: 155px; flex: 0 0 155px; margin: -12px -5px -8px 0; }
.today-focus-scene .delivery-scene { --truck-width: 100px; height: 114px; }
.today-focus-scene .scene-kicker, .today-focus-scene .route-caption { display: none; }
.today-focus-scene .route-map { opacity: .45; height: 56px; bottom: 55px; }
.today-focus-scene .scene-road { bottom: 29px; }
.today-focus-scene .truck-runner { bottom: 23px; }
.today-focus-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; min-height: 30px; color: #f2dbad; font-size: 10px; font-weight: 600; }
.today-focus-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.next-delivery { display: flex; flex-direction: column; background: #fff; border: 1px solid #bcd9ca; border-top: 3px solid #348363; padding-top: 21px; box-shadow: 0 5px 18px #234e3e06; }
.next-delivery-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.next-delivery h2 { font-size: 14px; color: #214f3d; }
.next-ready { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 5px; background: #eaf6ef; color: #256b4c; font-size: 8px; white-space: nowrap; }
.next-delivery-main { display: flex; align-items: center; gap: 23px; flex: 1; margin: 22px 0; }
.next-delivery-time { flex: 0 0 auto; padding-right: 22px; border-right: 1px solid #e1ebe5; }
.next-delivery-time > span { display: block; font-size: 10px; color: #31694d; font-weight: 600; }
.next-delivery-time strong { display: block; font-size: 36px; line-height: 1.25; letter-spacing: -1.5px; color: #174d36; font-variant-numeric: tabular-nums; }
.next-delivery-time small { color: #66776c; font-size: 8px; margin-top: 3px; }
.next-delivery-supplier { min-width: 0; }
.next-delivery-supplier h3 { font-size: 16px; color: #293c32; line-height: 1.4; overflow-wrap: anywhere; }
.next-delivery-supplier p { font-size: 10px; color: #69766e; margin: 5px 0 8px; overflow-wrap: anywhere; }
.next-volume { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #3b654c; }
.next-delivery-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #e4ede7; }
.next-delivery-footer > span { color: #708076; font-size: 8px; }
.next-delivery-footer a { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; color: #226440; min-height: 28px; white-space: nowrap; }
.next-delivery-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.next-delivery-empty { display: flex; align-items: center; gap: 14px; flex: 1; padding: 27px 0; color: #658a73; }
.next-delivery-empty h3 { color: #3d5e4b; font-size: 13px; }
.next-delivery-empty p { color: #6d7b72; font-size: 10px; margin-top: 6px; }
.metric.metric-confirmed { background: #f0faf4; border-color: #c5dfce; }
.metric-confirmed > strong { color: #20643e; }
.metric-confirmed:hover { border-color: #86b49b; }
.confirmed-panel { border-color: #c9dfd1; }
.confirmed-panel .panel-heading h2 { color: #275d40; }
.confirmed-panel .count-pill { color: #276544; background: #eaf6ef; }
.records-table .confirmed-row td { background: #f1faf5; border-bottom-color: #dfeee4; }
.records-table .confirmed-row td:first-child { box-shadow: inset 3px 0 #3a9270; }
.records-table .confirmed-row:hover td, .records-table .confirmed-row:focus-within td { background: #e6f5ec; }
.records-table .confirmed-row .record-link { color: #236644; }
.records-table .confirmed-row td small { color: #5c7668; }

@media (max-width: 1150px) {
  .receiving-focus { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
  .confirmed-today, .next-delivery { padding-left: 20px; padding-right: 20px; }
  .today-focus-scene { width: 116px; flex-basis: 116px; }
  .today-focus-scene .delivery-scene { --truck-width: 82px; }
  .next-delivery-heading { flex-wrap: wrap; gap: 7px; }
  .next-delivery-main { gap: 14px; }
  .next-delivery-time { padding-right: 14px; }
  .next-delivery-time strong { font-size: 30px; }
  .next-delivery-supplier h3 { font-size: 14px; }
}
@media (max-width: 960px) {
  .receiving-focus { grid-template-columns: 1fr; }
  .today-focus-scene { width: 165px; flex-basis: 165px; }
  .today-focus-scene .delivery-scene { --truck-width: 106px; }
  .next-delivery-heading { flex-wrap: nowrap; }
  .next-delivery-main { margin: 20px 0; gap: 25px; }
  .next-delivery-time { padding-right: 25px; }
  .next-delivery-time strong { font-size: 36px; }
}
@media (max-width: 600px) {
  .confirmed-today, .next-delivery { padding: 21px; }
  .today-focus-heading { font-size: 7px; }
  .today-focus-heading > span { letter-spacing: .5px; }
  .today-focus-count { font-size: 46px; }
  .today-focus-scene { width: 130px; flex-basis: 130px; }
  .today-focus-scene .delivery-scene { --truck-width: 90px; }
  .next-delivery-heading { align-items: flex-start; }
  .next-delivery h2 { font-size: 13px; max-width: 170px; }
  .next-ready { font-size: 7px; }
  .next-delivery-main { gap: 16px; }
  .next-delivery-time { padding-right: 16px; }
  .next-delivery-time strong { font-size: 32px; }
  .next-delivery-supplier h3 { font-size: 14px; }
  .next-delivery-footer { flex-wrap: wrap; gap: 4px 12px; }
}
@media (max-width: 360px) {
  .today-focus-scene { width: 100px; flex-basis: 100px; }
  .today-focus-scene .delivery-scene { --truck-width: 76px; }
  .next-delivery-main { align-items: flex-start; gap: 13px; }
  .next-delivery-time { padding-right: 13px; }
  .next-delivery-time strong { font-size: 28px; }
  .next-delivery-heading { flex-wrap: wrap; }
}
