/* Feature workspace uses the canonical shared tokens and controls. */

.admin-operations {
  margin: 20px 0;
  border: 1px solid #e4e7ee;
  border-radius: 10px;
  background: #fff;
  padding: 22px;
}

.admin-operations .panel-head {
  margin-bottom: 17px;
}

.operations-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.operations-status small {
  font-size: 12px;
  color: var(--muted);
}

.operations-metrics {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}

.operations-metrics>div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #e8ebf1;
  border-radius: 7px;
  background: var(--primary-soft);
  padding: 14px;
  min-width: 0;
}

.operations-metrics small {
  font-size: 12px;
  color: var(--muted);
}

.operations-metrics strong {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  color: #515b72;
  overflow-wrap: anywhere;
}

.operations-metrics span {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.operations-warnings {
  border: 1px solid #eee4d5;
  border-radius: 7px;
  background: #fffcf7;
  padding: 9px 13px;
  margin-top: 15px;
}

.operations-warnings p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 5px 0;
}

.operations-warnings svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.operations-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.operations-loading {
  font-size: 12px;
  color: var(--muted);
  padding: 10px 0;
}

.admin-operations .btn {
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width:1150px) {
.operations-metrics {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
}

@media (max-width:650px) {
.operations-metrics {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
}

@media (max-width:650px) {
.admin-operations {
  padding: 16px;
}
}

@media (max-width:650px) {
.operations-footer {
  flex-direction: column;
}
}

@media (max-width:650px) {
.admin-operations .panel-head {
  align-items: flex-start;
  gap: 10px;
}
}

@media (max-width:650px) {
.admin-view .admin-layout {
  grid-template-columns: minmax(0,1fr);
}
}

@media (max-width:650px) {
.admin-view .admin-layout>div {
  min-width: 0;
  max-width: 100%;
}
}

@media (max-width:650px) {
.admin-view .admin-side-panel {
  min-width: 0;
  max-width: 100%;
}
}

@media (max-width:650px) {
.admin-view .admin-section-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
}

@media (max-width:650px) {
.admin-view .admin-account-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
}

@media (max-width:650px) {
.admin-view .admin-account-select select {
  min-width: 0;
  width: 0;
  flex: 1;
}
}
