.decision-plate {
  --plate-line: #b6c8da;
  --plate-ink: #08172c;
  --plate-blue: #0050fa;
  --plate-muted: #445c74;
  --plate-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  width: 100%; min-width: 0; margin: 1.8rem 0; box-sizing: border-box;
  container-type: inline-size;
  background: #f3f7fb; color: var(--plate-ink);
  border-top: 2px solid #294663; border-bottom: 1px solid var(--plate-line);
  padding: clamp(18px, 2.5vw, 36px);
  scroll-margin-top: 18px;
}
.decision-plate figcaption { color: var(--plate-ink); }
.decision-plate figcaption :is(h3,h4) {
  margin: 0; font-size: clamp(1.55rem, 2.7vw, 2.85rem); font-weight: 510;
  line-height: 1.07; letter-spacing: -.052em; text-wrap: balance;
}
.decision-plate figcaption > p { color: var(--plate-muted); font-size: 1rem; line-height: 1.5; margin: .52rem 0 0; }
.decision-plate:focus { outline: none; }
.decision-plate:focus-visible { outline: 2px solid var(--plate-blue); outline-offset: 3px; }
.scenario > .queue-plate { grid-column: 1 / -1; margin: 0; }
#planejamento > .case-test { grid-column: 1 / -1; max-width: 78ch; }
.sr-queue { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.press-layout { display: grid; grid-template-columns: minmax(160px,.63fr) minmax(0,1.37fr); gap: clamp(15px, 3vw, 50px); align-items: center; margin-top: 1.4rem; }
.press-illustration { display: grid; place-items: center; }
.press-illustration img { width: min(100%, 335px); height: auto; display: block; }
.press-choice { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 0; }
.press-choice legend { font-family: var(--plate-mono); color: var(--plate-muted); font-size: .8rem; margin: 0 0 .55rem; }
.press-choice label { cursor: pointer; position: relative; }
.press-choice input { position: absolute; opacity: 0; height: 1px; width: 1px; }
.press-choice span { display: grid; place-items: center; min-height: 44px; padding: 6px 14px; color: #24425f; background: #fff; border: 1px solid #9fb2c7; font-size: .94rem; font-weight: 550; }
.press-choice label:first-of-type span { border-radius: 6px 0 0 6px; }
.press-choice label:last-of-type span { border-radius: 0 6px 6px 0; border-left: 0; }
.press-choice input:checked + span { color: white; background: #144898; border-color: #144898; }
.press-choice input:focus-visible + span { outline: 2px solid var(--plate-blue); outline-offset: 3px; position: relative; z-index: 1; }
.press-schedule { min-width: 0; }
.press-plan { margin: 1rem 0 0; }
.move-plan { display: none; }
.press-schedule:has(input[value="transferencia"]:checked) .wait-plan { display: none; }
.press-schedule:has(input[value="transferencia"]:checked) .move-plan { display: block; }
.press-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.press-table th, .press-table td { padding: .4rem .22rem; text-align: left; vertical-align: middle; }
.press-table thead { border-bottom: 1px solid #bbcddd; }
.press-table thead :is(td,th):first-child { width: 21%; }
.press-table thead th { color: #50677d; font: 500 .85rem/1.35 var(--plate-mono); }
.press-table tbody th { font-size: .96rem; font-weight: 560; }
.batch,.open-slot { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; line-height: 1.2; font-size: .92rem; font-weight: 550; }
.batch { border-radius: 3px; }
.batch.urgent { background: #0050fa; color: white; }
.batch.booked { background: #c6d6e8; color: #112e4d; }
.batch.repair { border: 1px dashed #7c92a8; background: repeating-linear-gradient(120deg,#edf1f6 0 5px,#dce4ee 5px 6px); color: #253f5a; }
.open-slot { color: #516780; font-weight: 440; }
.queue-outcome { color: var(--plate-muted); font-size: 1rem; line-height: 1.5; padding-top: .8rem; border-top: 1px solid var(--plate-line); margin: .45rem 0 0; }
.queue-outcome strong { color: var(--plate-ink); font-weight: 630; }
@container (max-width: 650px) {
  .press-layout { display: block; margin-top: .55rem; }
  .press-illustration img { width: min(62%, 210px); }
  .press-schedule { margin-top: .3rem; }
}
@container (max-width: 420px) {
  .press-table thead :is(td,th):first-child { width: 22%; }
  .press-table tbody th { font-size: .83rem; }
  .batch,.open-slot { font-size: .82rem; padding-inline: .35rem; }
  .press-choice span { font-size: .88rem; padding-inline: .61rem; }
}
@media (max-width: 480px) {
 .decision-plate { padding: 15px 12px; }
 .decision-plate figcaption :is(h3,h4) { font-size: 1.6rem; }
}
@media (forced-colors: active) {
 .batch,.press-choice span { border: 1px solid CanvasText; }
 .press-choice input:checked + span { outline: 2px solid Highlight; }
}
