/* منظومة الأدلة التشغيلية — ملف 05 */

.ops-man-page {
  padding: 24px 0 64px;
}

.ops-man-hero {
  background: linear-gradient(128deg, #052e16 0%, #14532d 45%, #166534 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  margin-bottom: 18px;
}

.ops-man-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: #ffffff !important;
}

.ops-man-hero p {
  margin: 0;
  max-width: 75ch;
  line-height: 1.75;
  color: rgba(255, 245, 247, 0.96) !important;
  font-size: 15px;
  font-weight: 700;
}

.ops-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.ops-kpi {
  background: #fff;
  border: 1px solid #dcfce7;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.ops-kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #166534;
}

.ops-kpi span {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.ops-man-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 14px;
  align-items: start;
}

.ops-man-side {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
}

.ops-man-side input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  margin-bottom: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 0 12px;
  font-family: inherit;
  font-weight: 700;
}

.ops-man-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ops-man-nav button {
  text-align: right;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  color: #0f172a;
}

.ops-man-nav button.is-active {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

.ops-man-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ops-matrix,
.ops-detail {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.ops-matrix h2,
.ops-detail-head h2 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
}

.ops-matrix table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ops-matrix th,
.ops-matrix td {
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 6px;
  text-align: right;
  font-weight: 700;
}

.ops-matrix th {
  color: #166534;
  font-weight: 900;
}

.ops-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
}

.ops-detail-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ops-detail-head p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

.ops-detail-head a.primary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #166534;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.ops-proc {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}

.ops-proc h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
}

.ops-proc dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin: 0;
}

.ops-proc dt {
  font-size: 11px;
  font-weight: 900;
  color: #166534;
}

.ops-proc dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .ops-man-grid {
    grid-template-columns: 1fr;
  }
}
