/* ============================================================
   VOIC3 Section 14 — workflow card + compliance styles
   Self-contained; loaded by both the desktop and mobile shells.
   ============================================================ */

.vc-card {
  border: 1px solid rgba(148, 163, 184, .45);
  border-left: 4px solid #64748b;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: #0f172a;
  max-width: 460px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.vc-card.vc-busy { opacity: .7; pointer-events: none; }
.vc-leave_card { border-left-color: #2563eb; }
.vc-safety_checklist { border-left-color: #059669; }
.vc-sos_pin { border-left-color: #dc2626; background: #fff7f7; }

.vc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.vc-kind {
  font: 700 10px/1 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .8px; text-transform: uppercase; color: #475569;
}
.vc-kind-sos { color: #b91c1c; }
.vc-chip {
  margin-left: auto; font: 700 10px/1 'IBM Plex Mono', Consolas, monospace;
  letter-spacing: .5px; padding: 4px 7px; border-radius: 999px; text-transform: uppercase;
}
.vc-chip-ok { background: #ecfdf5; color: #065f46; }
.vc-chip-bad { background: #fef2f2; color: #991b1b; }
.vc-chip-warn { background: #fffbeb; color: #92400e; }
.vc-chip-idle { background: #f1f5f9; color: #475569; }

.vc-title { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.vc-note { font-size: 12px; color: #475569; margin: 6px 0 0; }

.vc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vc-grid > div { background: #f8fafc; border-radius: 8px; padding: 6px 8px; }
.vc-grid b { display: block; font-size: 12.5px; }
.vc-grid span { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #64748b; }

.vc-actions { display: flex; gap: 8px; margin-top: 10px; }
.vc-btn {
  flex: 1; border: 0; border-radius: 9px; padding: 9px 10px; font: 700 12.5px/1 inherit;
  cursor: pointer; color: #fff; background: #475569;
}
.vc-btn:disabled { opacity: .5; cursor: default; }
.vc-ok { background: #047857; }
.vc-bad { background: #b91c1c; }
.vc-warn { background: #b45309; }

.vc-bar { position: relative; height: 8px; border-radius: 999px; background: #e2e8f0; margin: 4px 0 10px; }
.vc-bar i { position: absolute; inset: 0 auto 0 0; background: #059669; border-radius: 999px; transition: width .25s ease; }
.vc-bar em { position: absolute; right: 0; top: -16px; font: 700 10px/1 'IBM Plex Mono', monospace; color: #475569; font-style: normal; }

.vc-checks { display: flex; flex-direction: column; gap: 6px; }
.vc-check {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 9px;
  padding: 8px 10px; font: inherit; font-size: 12.5px; color: #0f172a; cursor: pointer;
}
.vc-check.done { background: #ecfdf5; border-color: #6ee7b7; }
.vc-check:disabled { cursor: default; opacity: .85; }
.vc-box {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 5px; border: 1.5px solid #94a3b8;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #047857;
}
.vc-check.done .vc-box { background: #d1fae5; border-color: #059669; }
.vc-check-label { flex: 1; }
.vc-by { font: 700 9.5px/1 'IBM Plex Mono', monospace; color: #64748b; text-transform: uppercase; }

.vc-pin {
  font: 600 12px/1.4 'IBM Plex Mono', Consolas, monospace;
  background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d;
  border-radius: 8px; padding: 7px 9px; margin-bottom: 4px;
}
.vc-pin a { color: #1d4ed8; text-decoration: underline; margin-left: 6px; font-family: inherit; }

@media (max-width: 520px) {
  .vc-card { max-width: none; }
  .vc-grid { grid-template-columns: repeat(2, 1fr); }
}
