/* Fiozato Logistics — Prioridades do dia · plano por faixas (telas W, V, T, U aprovadas em 11/11/2026). Classes .pd-*. */
.pd-top { display: flex; justify-content: space-between; align-items: stretch; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-nav { display: flex; border: 1px solid #e5e5e5; background: #ffffff; flex-wrap: wrap; }
.pd-nav button { padding: 15px 22px; border: 0; border-bottom: 3px solid transparent; background: none; color: #686868; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.pd-nav button.is-on { border-bottom-color: #111111; color: #111111; font-weight: 650; }
.pd-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-badge { padding: 7px 10px; font-size: 12px; font-weight: 700; }
.pd-badge.is-recovery { background: #fff1f2; color: #b52f3e; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 1px solid #111111; border-radius: 2px; background: #ffffff; color: #111111; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pd-btn.is-dark { background: #111111; color: #ffffff; }
.pd-filters { margin: -4px 0 14px; }

.pd-hero { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; background: #111111; color: #ffffff; }
.pd-hero-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pd-hero-head p { margin: 0; font-size: 26px; font-weight: 800; }
.pd-hero-head p b { color: #f2ff58; }
.pd-hero-head span { font-size: 14px; color: #cfcfcf; }
.pd-lanebar { display: flex; height: 28px; font-size: 12px; font-weight: 700; overflow: hidden; }
.pd-lane { display: grid; place-items: center; min-width: 0; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #ffffff; }
.pd-lane.is-faixa1 { background: #e0525f; }
.pd-lane.is-atrasados { background: #a33343; }
.pd-lane.is-grandes { background: #ffffff; color: #111111; }
.pd-lane.is-unica { background: #f2ff58; color: #111111; }
.pd-lane.is-antigos { background: #777777; }
.pd-lane.is-free { background: #333333; color: #bdbdbd; font-weight: 500; }

.pd-tasks { margin-top: 16px; border: 1px solid #e5e5e5; background: #ffffff; }
.pd-chips { display: flex; gap: 8px; padding: 12px 18px; border-bottom: 1px solid #eeeeee; flex-wrap: wrap; }
.pd-chip { height: 32px; padding: 0 12px; border: 1px solid #e5e5e5; background: #ffffff; color: #111111; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.pd-chip.is-on { border-color: #111111; background: #111111; color: #ffffff; font-weight: 600; }
.pd-task { display: grid; grid-template-columns: 22px 44px minmax(0, 1fr) 130px auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eeeeee; border-left: 6px solid #d4d4d4; }
.pd-task input[type="checkbox"] { width: 20px; height: 20px; accent-color: #111111; }
.pd-task.is-faixa1 { border-left-color: #e0525f; }
.pd-task.is-atrasados { border-left-color: #a33343; }
.pd-task.is-grandes { border-left-color: #111111; }
.pd-task.is-unica { border-left-color: #d4dc2a; }
.pd-task.is-antigos { border-left-color: #9a9a9a; }
.pd-task.is-done { opacity: .5; }
.pd-task.is-done strong { text-decoration: line-through; }
.pd-photo { width: 44px; height: 56px; object-fit: cover; border-radius: 2px; background: #ececec; }
.pd-photo.is-empty, .pd-photo.is-ship { display: grid; place-items: center; color: #686868; font-size: 20px; }
.pd-task-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pd-task-text small { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #555555; }
.pd-task-text strong { font-size: 16px; }
.pd-task-text span { font-size: 13.5px; color: #555555; }
.pd-task-value { text-align: right; }
.pd-task-value b { display: block; font-size: 19px; }
.pd-task-value small { font-size: 12.5px; color: #555555; }
.pd-more { display: block; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid #eeeeee; background: #fafafa; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pd-foot { margin: 0; padding: 12px 18px; font-size: 12.5px; color: #686868; }
.pd-empty { margin: 0; padding: 18px; font-size: 14px; color: #686868; }

.pd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pd-cards > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid #e5e5e5; background: #ffffff; }
.pd-cards small, .pd-recovery small, .pd-steps small { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: #686868; }
.pd-cards b { font-size: 20px; }

.pd-recovery { margin-top: 16px; border: 1px solid #e5e5e5; background: #ffffff; }
.pd-recovery header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #eeeeee; flex-wrap: wrap; }
.pd-recovery h2 { margin: 0; font-size: 18px; color: #b52f3e; }
.pd-recovery header span { font-size: 13.5px; color: #555555; }
.pd-recovery-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-recovery-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 14px 20px; border-right: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee; }
.pd-recovery-stats b { font-size: 24px; }
.pd-recovery-stats span { font-size: 12.5px; color: #555555; }
.pd-recovery-stats .is-dark { background: #111111; color: #ffffff; }
.pd-recovery-stats .is-dark small, .pd-recovery-stats .is-dark span { color: #cfcfcf; }
.pd-recovery-stats .is-dark b { color: #f2ff58; }
.pd-recovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 18px 20px; }
.pd-recovery-grid h3 { margin: 0 0 10px; font-size: 15px; }
.pd-recovery-grid p { margin: 10px 0 0; font-size: 12.5px; color: #686868; }
.pd-step { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 10px 12px; border: 1px solid #e5e5e5; font-size: 14px; }
.pd-step.is-current { border: 2px solid #111111; background: #fcffd7; }
.pd-step small { font-weight: 600; }
.pd-burn { display: flex; align-items: flex-end; gap: 4px; height: 130px; border-bottom: 1px solid #cccccc; }
.pd-burn i { flex: 1; background: #b9b9b9; }
.pd-burn i.is-now { background: #a33343; }
.pd-burn-axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: #686868; }

.pd-tomorrow-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pd-tomorrow-head h2 { margin: 0; font-size: 24px; font-weight: 600; }
.pd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #e5e5e5; background: #ffffff; }
.pd-steps > div { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-right: 1px solid #eeeeee; }
.pd-steps > div.is-on { background: #fcffd7; }
.pd-steps strong { font-size: 16px; }
.pd-steps b { font-size: 24px; }
.pd-steps span { font-size: 12.5px; color: #555555; }
.pd-tomorrow-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr); gap: 16px; margin-top: 16px; align-items: start; }
.pd-cutlist { border: 1px solid #e5e5e5; background: #ffffff; }
.pd-cutlist header { padding: 14px 18px; border-bottom: 1px solid #eeeeee; }
.pd-cutlist h3, .pd-sew h3 { margin: 0; font-size: 16px; }
.pd-cutlist header p { margin: 4px 0 0; font-size: 13px; color: #555555; }
.pd-cutrow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid #f1f1f1; font-size: 13.5px; }
.pd-cutrow .pd-photo { width: 34px; height: 42px; }
.pd-cutrow small { display: block; color: #555555; }
.pd-tag { padding: 3px 7px; font-size: 11px; font-style: normal; font-weight: 700; background: #f1f1f1; color: #555555; white-space: nowrap; }
.pd-tag.is-faixa1 { background: #fff1f2; color: #b52f3e; }
.pd-tag.is-atrasados { background: #a33343; color: #ffffff; }
.pd-tag.is-grandes { background: #111111; color: #ffffff; }
.pd-tag.is-unica { background: #f2ff58; color: #111111; }
.pd-sew { display: flex; flex-direction: column; gap: 12px; }
.pd-sew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pd-sew article { border: 1px solid #e5e5e5; background: #ffffff; }
.pd-sew article header { padding: 12px 14px; border-bottom: 1px solid #eeeeee; }
.pd-sew article header small { display: block; margin-top: 2px; font-size: 12.5px; color: #555555; }
.pd-sew article header i { display: block; height: 7px; margin-top: 8px; background: #f1f1f1; }
.pd-sew article header em { display: block; height: 7px; background: #111111; }
.pd-sew article > div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #f6f6f6; font-size: 13px; }
.pd-warn { padding: 12px 14px; border: 1px solid #e6c766; background: #fff7db; font-size: 13.5px; }
.pd-dispatch { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding: 18px 22px; background: #111111; color: #ffffff; flex-wrap: wrap; }
.pd-dispatch b { color: #f2ff58; }
.pd-dispatch small { color: #cfcfcf; }

.pd-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid #111111; border-radius: 3px; }
.pd-rules { display: flex; flex-direction: column; }
.pd-rules header { padding: 20px 24px 8px; }
.pd-rules header small { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #686868; }
.pd-rules header h2 { margin: 4px 0; font-size: 24px; }
.pd-rules header p { margin: 0; font-size: 14px; color: #555555; }
.pd-rules fieldset { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px 24px; border: 0; border-bottom: 1px solid #eeeeee; }
.pd-rules legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-size: 16px; font-weight: 700; }
.pd-check { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; }
.pd-rules input[type="number"], .pd-rules input:not([type]) { width: 64px; height: 34px; padding: 0 8px; border: 1px solid #d4d4d4; border-radius: 2px; font: inherit; font-weight: 700; text-align: center; }
.pd-rules input:not([type]) { width: 100%; text-align: left; }
.pd-share { display: grid; grid-template-columns: 180px minmax(0, 1fr) 56px; gap: 14px; align-items: center; }
.pd-share span { display: flex; flex-direction: column; }
.pd-share small { font-size: 12.5px; color: #555555; }
.pd-share input { width: 100%; accent-color: #111111; }
.pd-share output { font-size: 18px; font-weight: 800; text-align: right; }
.pd-rules-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pd-rules-grid.is-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-rules-grid.is-three legend { grid-column: 1 / -1; }
.pd-rules-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.pd-rules-grid label span { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.pd-rules-grid label small { font-weight: 400; color: #686868; }
.pd-preview { margin: 16px 24px 0; padding: 12px 14px; background: #fcffd7; font-size: 14px; }
.pd-rules footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; }

@media (max-width: 760px) {
  .pd-task { grid-template-columns: 22px 44px minmax(0, 1fr); }
  .pd-task-value { grid-column: 2 / 4; text-align: left; }
  .pd-task > .pd-btn { grid-column: 2 / 4; justify-self: start; }
  .pd-cards, .pd-recovery-stats, .pd-recovery-grid, .pd-steps, .pd-tomorrow-grid, .pd-rules-grid, .pd-rules-grid.is-three { grid-template-columns: 1fr; }
  .pd-share { grid-template-columns: 1fr 48px; }
  .pd-share span { grid-column: 1 / -1; }
  .pd-hero-head p { font-size: 21px; }
}

@media print {
  body.pd-printing > *:not(#pdPrintSheet) { display: none !important; }
  #pdPrintSheet { display: block !important; }
}
#pdPrintSheet { display: none; }
