.operator-notice,
.operator-section,
.operator-state,
.operator-review,
.operator-audit {
  margin-top: 1.25rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--background) 92%, currentColor 8%);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.operator-notice {
  border-inline-start: 4px solid #9b6b2f;
}

.operator-notice p,
.operator-section p,
.operator-state p,
.operator-review p,
.operator-audit p {
  margin: 0.5rem 0 0;
  line-height: 1.7;
}

.operator-notice a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.operator-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.operator-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  font-weight: 650;
}

.operator-field input,
.operator-field select,
.operator-field textarea,
.operator-actions button,
.operator-actions a,
.operator-state button {
  min-height: 44px;
}

.operator-field input,
.operator-field select,
.operator-field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0.65rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.operator-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.operator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.operator-actions button,
.operator-actions a,
.operator-state button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 0.65rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.operator-actions .operator-primary {
  border-color: #6e4c22;
  background: #6e4c22;
  color: #fffdf8;
}

.operator-actions button:disabled,
.operator-state button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.operator-feedback {
  min-height: 2.8rem;
  margin-top: 1rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, #9b6b2f 12%, transparent);
  padding: 0.75rem 0.9rem;
  line-height: 1.6;
}

.operator-list,
.operator-audit ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding-inline-start: 1.25rem;
}

.operator-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: color-mix(in srgb, #9b6b2f 16%, transparent);
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.operator-summary {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.operator-summary dt {
  color: var(--muted-foreground);
  font-size: 0.82rem;
  font-weight: 700;
}

.operator-summary dd {
  margin: 0 0 0.45rem;
  overflow-wrap: anywhere;
}

.operator-audit li {
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .operator-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operator-field-wide {
    grid-column: 1 / -1;
  }
}
