.env-order-preview {
  color: #21382b;
  background: #fcfdfb;
  border-top: 1px solid #e5eae4;
  font-size: .8125rem;
}
.env-order-preview > summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 38px;
  padding: 6px 12px;
  gap: 2px 8px;
  list-style: none;
  cursor: pointer;
  font-weight: 650;
}
.env-order-preview > summary::-webkit-details-marker { display: none; }
.env-order-preview > summary::before {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.env-order-preview[open] > summary::before { transform: rotate(45deg); }
.env-order-preview > summary:hover { background: #f0f5ef; }
.env-order-preview :is(summary, button, input, select):focus-visible { outline: 2px solid #28754d; outline-offset: -1px; }
.env-order-status { margin-left: auto; color: #51645a; font-size: .75rem; font-weight: 500; }
.env-order-content { display: grid; gap: 8px; max-width: 36rem; padding: 2px 12px 12px 26px; }
.env-order-parts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; color: #51645a; font-size: .78rem; }
.env-order-parts ul { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; list-style: none; min-width: 0; margin: 0; padding: 0; }
.env-order-parts li + li::before { content: '·'; margin-right: 8px; }
.env-order-parts strong { white-space: nowrap; color: #21382b; }
.env-order-sizes { width: 100%; border-collapse: collapse; }
.env-order-sizes caption { text-align: left; margin-bottom: 3px; font-weight: 650; }
.env-order-sizes :is(th, td) { padding: 4px 3px; border-bottom: 1px solid #e5eae4; }
.env-order-sizes thead th { background: #edf3ec; font-weight: 650; }
.env-order-sizes th:first-child { text-align: left; padding-left: 6px; }
.env-order-sizes :is(th, td):not(:first-child) { text-align: center; }
.env-order-sizes small { display: block; color: #51645a; font-size: .6875rem; font-weight: 500; }
.env-order-compact-sizes :is(th, td):not(:first-child) { text-align: right; }
.env-order-compact-sizes thead th { background: transparent; color: #51645a; font-size: .75rem; font-weight: 550; }
.env-order-compact-sizes td { font-variant-numeric: tabular-nums; font-weight: 650; }
.env-order-preview :is(input, select) { padding: 3px 6px; min-height: 32px; max-width: 100%; background: #fff; border: 1px solid #cad7cb; border-radius: 5px; }
.env-order-sizes input { width: 3.7rem; text-align: right; }
.env-order-line { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
.env-order-line input { width: 5.5rem; text-align: right; }
.env-order-line strong, .env-order-sizes input { font-variant-numeric: tabular-nums; }
.env-order-total { margin-top: 2px; }
.env-order-note { color: #51645a; }
.env-order-error { color: #9f2c1d; }
.env-order-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 8px; }
.env-order-actions button { min-height: 34px; padding: 4px 9px; border-radius: 6px; color: #fff; background: #1e523e; font-weight: 650; }
.env-order-actions button:disabled { background: #edf3ec; color: #51645a; }
.env-order-actions .env-order-adjust { background: transparent; color: #1e523e; }
.env-order-cost-details > summary { width: fit-content; color: #51645a; }
.env-order-cost-details .env-order-line { padding: 3px 0; }
@media (max-width: 375px) {
  .env-order-content { padding-left: 10px; }
  .env-order-status { margin-left: 0; }
}
@media (pointer: coarse) {
  .env-order-preview :is(summary, input, select, button) { min-height: 44px; }
  .env-order-preview :is(input, select) { font-size: 1rem; }
}

.env-workflow-filter {
  min-height: 40px;
  padding: 6px 11px;
  color: #315342;
  background: #fff;
  border: 1px solid #cbd9d0;
  border-radius: 8px;
  font-size: .8125rem;
  font-weight: 650;
}
.env-workflow-filter[aria-pressed='true'] { color: #fff; background: #206140; border-color: #206140; }
.env-workflow-filter:focus-visible { outline: 2px solid #206140; outline-offset: 2px; }
.env-workflow-order-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
.env-workflow-state { color: #42564a; font-size: .72rem; font-weight: 550; }
.env-workflow-state[data-env-state='confirmed'] { color: #216143; }
.env-workflow-state[data-env-state='changed'], .env-workflow-state[data-env-state='pending'] { color: #825013; }
@media (pointer: coarse) { .env-workflow-filter { min-height: 44px; } }
