.appr-wrap{
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.appr-topbar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
}

.appr-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.appr-field label{
  font-size: 12px;
  color: #6b7280;
  font-weight: 800;
}

.appr-field input,
.appr-field select{
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
}

.appr-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.appr-btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.appr-btn.primary{
  background: #0b5fff;
  border-color: #0b5fff;
  color: #fff;
}

.appr-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 2px 0;
  color: #6b7280;
  font-size: 13px;
}

.appr-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 860px){
  .appr-grid{ grid-template-columns: 1fr; }
  .appr-actions{ margin-left: 0; width: 100%; }
  .appr-actions .appr-btn{ flex: 1; }
}

.appr-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  color: inherit;
}

.appr-card-link{
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.appr-card-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.appr-card h3{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
}

.appr-strong{
  font-weight: 900;
}

.appr-muted{
  color: #6b7280;
  font-size: 13px;
}

.appr-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #111827;
  font-size: 13px;
}

.appr-chip{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f6f7f9;
  font-weight: 900;
  font-size: 12px;
}

.appr-open{
  color: #166534;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.appr-pager{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.appr-page{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
}

.appr-page.active{
  background: #111827;
  border-color: #111827;
  color: #fff;
}

/* Detail */
.appr-detail{
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 18px;
}

.appr-detail-head{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: start;
}

.appr-breadcrumb{
  display: flex;
  gap: 8px;
  align-items: center;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 8px;
}

.appr-breadcrumb a{
  color: #0b5fff;
  text-decoration: none;
  font-weight: 900;
}

.appr-detail-cta{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
}

.appr-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-weight: 900;
  font-size: 12px;
}

.appr-badge.open{
  color: #166534;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.appr-badge.closed{
  color: #374151;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.appr-detail-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.appr-panel{
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.appr-panel h2{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.appr-facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 860px){
  .appr-facts{ grid-template-columns: 1fr; }
  .appr-detail-cta{ align-items: stretch; width: 100%; }
}

.appr-facts div{
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 10px;
  background: #fbfbfc;
}

.appr-facts span{
  display: block;
  font-size: 12px;
  color: #6b7280;
  font-weight: 900;
}

.appr-facts strong{
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #111827;
  font-weight: 900;
}

.appr-detail-foot{
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}
