.operator-body {
  min-height: 100vh;
}

.operator-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 24px;
}

.operator-main {
  padding: 0 14px 28px;
  display: grid;
  gap: 14px;
}

.operator-header {
  margin-bottom: 14px;
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.35;
}

.hero-panel code,
.form-hint code {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(138, 95, 59, 0.08);
  color: var(--accent-strong);
  font-size: 0.85em;
}

.operator-form {
  display: grid;
  gap: 10px;
}

.compact-form {
  margin-bottom: 12px;
}

.field-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.operator-form input,
.operator-form textarea,
.operator-main > .panel > input[type="search"] {
  width: 100%;
  border: 1px solid rgba(72, 54, 34, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.operator-form textarea {
  resize: vertical;
}

.form-hint,
.status-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.operator-console {
  display: grid;
  gap: 14px;
}

.operator-console.is-hidden {
  display: none;
}

.operator-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.metric-card .eyebrow {
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-list {
  display: grid;
  gap: 12px;
}

.empty-card,
.operator-card {
  border: 1px solid rgba(72, 54, 34, 0.1);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
}

.empty-card {
  color: var(--muted);
  text-align: center;
}

.operator-card {
  display: grid;
  gap: 10px;
}

.operator-card__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.operator-card__title {
  font-size: 1.02rem;
  line-height: 1.4;
}

.operator-card__meta,
.operator-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.operator-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operator-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(120, 104, 86, 0.1);
  color: var(--muted);
}

.operator-chip[data-tone="pending"] {
  background: rgba(195, 145, 86, 0.14);
  color: var(--accent-strong);
}

.operator-chip[data-tone="success"] {
  background: rgba(93, 122, 98, 0.14);
  color: #48614d;
}

.operator-chip[data-tone="danger"] {
  background: rgba(181, 76, 64, 0.12);
  color: var(--danger);
}

.operator-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operator-card__actions button,
.operator-card__actions a {
  flex: 1 1 120px;
}

.operator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.support-copy strong {
  color: var(--text);
}

@media (max-width: 400px) {
  .operator-metrics {
    grid-template-columns: 1fr;
  }

  .operator-card__header {
    flex-direction: column;
  }
}
