.ops-view h3 {
  margin: 0 0 .8rem;
  font-size: .95rem;
}

.ops-grid {
  display: grid;
  gap: .8rem;
}

.ops-list {
  display: grid;
  gap: .65rem;
}

.ops-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.ops-row > div:first-child {
  min-width: 0;
}

.ops-row strong,
.ops-row small {
  display: block;
}

.ops-row strong {
  overflow-wrap: anywhere;
  font-size: .84rem;
}

.ops-row small {
  margin-top: .18rem;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.45;
}

.ops-status {
  color: var(--green-700) !important;
  font-weight: 800;
}

.ops-badges,
.ops-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
}

.ops-badges span {
  padding: .38rem .5rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: .62rem;
  font-weight: 700;
}

.ops-actions {
  flex: none;
}

.expense-row {
  align-items: flex-start;
}

.ops-receipt {
  display: block;
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
  border-radius: 14px;
  background: #f5f7f4;
}

.ops-sign-canvas {
  width: 100%;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  touch-action: none;
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin: .8rem 0;
}

.ops-metrics span {
  display: grid;
  gap: .12rem;
  padding: .72rem;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--muted);
  font-size: .62rem;
}

.ops-metrics b {
  color: var(--green-700);
  font-size: .9rem;
}

.ops-table-wrap {
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: .68rem;
}

.ops-table th,
.ops-table td {
  padding: .55rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.ops-table th:first-child,
.ops-table td:first-child {
  text-align: left;
}

.ops-permissions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  padding: .75rem;
  border-radius: 14px;
  background: var(--surface-soft);
}

.ops-permissions label {
  display: flex;
  align-items: center;
  gap: .38rem;
  min-height: 34px;
  color: #496259;
  font-size: .72rem;
  font-weight: 800;
}

.ops-permissions input {
  width: 18px;
  height: 18px;
}

@media (width >= 620px) {
  .ops-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 420px) {
  .ops-row,
  .expense-row {
    display: grid;
  }

  .ops-actions,
  .ops-badges {
    justify-content: flex-start;
  }

  .ops-permissions,
  .ops-metrics {
    grid-template-columns: 1fr;
  }
}
