.additional-production {
  --ap-ink: #17252a;
  --ap-muted: #566b73;
  --ap-line: #cfdde0;
  --ap-accent: #075c61;
  --ap-panel: #fff;
  color: var(--ap-ink);
  display: grid;
  gap: 1rem;
}
.additional-production h1,
.additional-production h2,
.additional-production p {
  margin: 0;
}
.additional-production h1 { font-size: clamp(1.5rem, 2.7vw, 2.25rem); }
.ap-title,
.ap-controls,
.ap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.ap-title { justify-content: space-between; }
.ap-nav { display: flex; flex-wrap: wrap; gap: .35rem; }
.additional-production button,
.additional-production input,
.additional-production select,
.additional-production textarea {
  font: inherit;
  min-height: 2.75rem;
  border: 1px solid var(--ap-line);
  background: var(--ap-panel);
  border-radius: .45rem;
  padding: .48rem .66rem;
  color: inherit;
  max-width: 100%;
}
.additional-production button { cursor: pointer; }
.additional-production button[disabled] { cursor: wait; opacity: .55; }
.additional-production .ap-primary,
.additional-production [aria-current="page"] {
  color: white;
  background: var(--ap-accent);
  border-color: var(--ap-accent);
}
.additional-production :focus-visible { outline: 3px solid #36858a; outline-offset: 2px; }
.ap-warning {
  border: 1px solid #b49b45;
  border-radius: .45rem;
  background: #fff5cc;
  padding: .75rem;
}
.ap-panel {
  border: 1px solid var(--ap-line);
  border-radius: .65rem;
  background: var(--ap-panel);
  padding: .9rem;
  display: grid;
  gap: .75rem;
}
.ap-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
.ap-form { display: grid; gap: .8rem; }
.ap-form label { display: grid; gap: .3rem; }
.ap-muted { color: var(--ap-muted); }
.ap-status { min-height: 1.2em; overflow-wrap: anywhere; }
.ap-status[data-error="true"] { color: #902227; }
.ap-table-wrap { overflow-x: auto; }
.ap-table { width: 100%; border-collapse: collapse; }
.ap-table :is(th, td) {
  padding: .52rem;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--ap-line);
}
.ap-table th { font-size: .86rem; }
.ap-progress { width: 5rem; accent-color: var(--ap-accent); }
.ap-quantity-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: .5rem; }
.ap-status-tag { display: inline-block; background: #e8f0f0; border-radius: .35rem; padding: .15rem .4rem; }
@media (max-width: 38rem) {
  .ap-quantity-row { grid-template-columns: 1fr 1fr; }
  .ap-quantity-row button { grid-column: span 2; }
}
