fieldset { border: 1px solid #dce5dd; border-radius: 10px; margin: 20px 0; padding: 18px; }
.metric-card { margin: 0; width: 100%; min-height: 118px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #fff; color: #17211b; border: 1px solid #dce5dd; box-shadow: 0 8px 24px #1231; }
.metric-card:hover { border-color: #176b43; transform: translateY(-1px); }
.metric-card .metric { display: block; }
.back-link { display: inline-block; margin-bottom: 12px; font-weight: 700; text-decoration: underline; }
.detail-heading h1 { margin-bottom: 12px; }
.table-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 16px; }
.table-actions button { margin: 0; }
.inline-filter { margin: 0; min-width: min(320px, 100%); }
.detail-table { padding: 0; overflow: hidden; }
.detail-table .table-wrap { margin: 0; }
.detail-table table { margin: 0; }
.detail-table input[type="radio"] { width: auto; }
.nav-button { margin: 0; padding: 7px 12px; background: transparent; border: 1px solid #ffffff88; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.profile-grid .panel h2 { margin-top: 0; }
.profile-wide { grid-column: 1 / -1; }
.profile-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.profile-list dt { font-weight: 800; }
.profile-list dd { margin: 0; }
.profile-item { padding: 10px 0; border-top: 1px solid #e4e9e4; }
.profile-item p { margin: 4px 0 0; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-link { display: inline-block; padding: 10px 16px; border-radius: 9px; background: #176b43; color: #fff; font-weight: 750; }
.button-link.secondary { background: #fff; color: #17211b; border: 1px solid #b9c8bc; }
legend { font-weight: 800; }
.approval-queue { margin-top: 24px; }
.approval-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e4e9e4; padding: 14px 0; }
.approval-card button { margin: 0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #fff2c2; font-size: .78rem; font-weight: 800; }
.approval-review dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.approval-review dt { font-weight: 800; }
.approval-review dd { margin: 0; }
.application-assignment { padding: 12px 0; border-top: 1px solid #e4e9e4; }
.approval-actions { display: flex; gap: 12px; }
.approval-actions .danger { background: #a22424; }
@media (max-width: 600px) {
  header { height: auto; min-height: 64px; padding-block: 10px; gap: 12px; }
  header nav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .approval-card, .approval-actions { align-items: stretch; flex-direction: column; }
  .approval-review dl { grid-template-columns: 1fr; }
  .approval-review dd { margin-bottom: 8px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-wide { grid-column: auto; }
  .profile-list { grid-template-columns: 1fr; }
  .profile-list dd { margin-bottom: 8px; }
}
