.sphire-official-loop-panel {
  display: grid;
  gap: 11px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #5b3518);
}

.sphire-official-loop-copy h3 {
  margin: 3px 0 5px;
  font-size: 24px;
}

.sphire-official-loop-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted, #cdbeb1);
  line-height: 1.5;
}

.sphire-official-loop-eyebrow {
  color: var(--orange-2, #ffb15c);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.sphire-official-loop-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sphire-official-loop-readouts > div {
  padding: 10px;
  border: 1px solid var(--border, #5b3518);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.sphire-official-loop-readouts span {
  display: block;
  color: var(--muted, #cdbeb1);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sphire-official-loop-readouts strong {
  display: block;
  margin-top: 5px;
  color: var(--orange-2, #ffb15c);
  font-size: 17px;
}

.sphire-official-loop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.sphire-official-loop-actions button,
.sphire-loop-admin-link,
.sphire-loop-suggestion-dialog button {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--border, #5b3518);
  border-radius: 10px;
  color: var(--text, #fff6ed);
  background: #2a2019;
  font: inherit;
  font-size: 9px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.sphire-official-loop-actions button.is-primary,
.sphire-loop-suggestion-dialog button.is-primary {
  border-color: var(--orange, #ff941f);
  color: #160c04;
  background: linear-gradient(
    135deg,
    var(--orange, #ff941f),
    var(--orange-2, #ffb15c)
  );
}

.sphire-official-loop-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.sphire-official-loop-status {
  min-height: 18px;
  color: #60dc92;
  font-size: 10px;
  font-weight: 850;
}

.sphire-loop-suggestion-dialog {
  width: min(calc(100% - 24px), 590px);
  max-height: min(88svh, 850px);
  overflow: auto;
  border: 1px solid var(--orange, #ff941f);
  border-radius: 18px;
  color: var(--text, #fff6ed);
  background: #17110d;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.8);
}

.sphire-loop-suggestion-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.sphire-loop-suggestion-dialog form {
  display: grid;
  gap: 11px;
}

.sphire-loop-suggestion-dialog h2 {
  margin: 0;
}

.sphire-loop-suggestion-dialog label {
  display: grid;
  gap: 5px;
  color: var(--muted, #cdbeb1);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sphire-loop-suggestion-dialog input,
.sphire-loop-suggestion-dialog textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--border, #5b3518);
  border-radius: 10px;
  color: var(--text, #fff6ed);
  background: #120f0c;
  font: inherit;
}

.sphire-loop-suggestion-summary {
  padding: 11px;
  border: 1px solid var(--border, #5b3518);
  border-radius: 11px;
  color: var(--orange-2, #ffb15c);
  background: rgba(255, 148, 31, 0.06);
  line-height: 1.55;
  white-space: pre-wrap;
}

.sphire-loop-suggestion-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 680px) {
  .sphire-official-loop-readouts,
  .sphire-official-loop-actions {
    grid-template-columns: 1fr;
  }
}
