/* SFP Card Engine stylesheet — the ONE place the card's looks exist.
   Extracted 24 Jul 2026 from check.html's locked rendering (point-4 lock)
   plus the Variant-B match-report grammar (Point 7 record §7.2, v0.5).
   Namespaced .sfpc-* — discharges the filed point-4 .sfp-card collision
   with assets/css/sfp-tokens.css so the engine loads safely on chrome-
   bearing pages. Consumed by /js/sfp-card.js only; pages do not hand-
   author these classes. Gradients prohibited (P2). */

.sfpc-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  box-shadow: 0 4px 14px rgba(2,6,23,.08);
  max-width: 440px; margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937; line-height: 1.45;
}
.sfpc-sample {
  background: #fef3c7; color: #92400e; border-bottom: 1px solid #fcd34d;
  padding: 8px 14px; font-weight: 700; text-align: center; font-size: 12px;
}

/* ---- Navy standing band: public grammar (centred) + Variant B (compact) -- */
.sfpc-band { position: relative; background: #1e3a8a; color: #fff; padding: 18px 20px 20px; }
.sfpc-brandrow { display: flex; align-items: center; justify-content: space-between; }
.sfpc-brandmark { width: 30px; height: 30px; display: block; }
.sfpc-strap { margin-top: 8px; text-align: center; font-size: 9px; font-weight: 700; letter-spacing: .18em; color: #93c5fd; }
.sfpc-bandcode { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #bfdbfe; }
.sfpc-standrow { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.sfpc-disc {
  width: 64px; height: 64px; border-radius: 9999px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 38px; font-weight: 700;
}
.sfpc-disc-green { background: #16a34a; }
.sfpc-disc-amber { background: #d97706; }
.sfpc-disc-red   { background: #dc2626; }
.sfpc-disc-grey  { background: #6b7280; }
.sfpc-standing { font-size: 16px; font-weight: 600; line-height: 1.2; }
.sfpc-bandbasis { margin-top: 12px; border-top: 1px solid #3b5bb5; padding-top: 9px; font-size: 11px; color: #93c5fd; text-align: center; }
.sfpc-site { color: #dbeafe; font-weight: 600; }

/* ---- Identity ------------------------------------------------------------ */
.sfpc-ident { position: relative; padding: 14px 20px; border-bottom: 1px solid #e5e7eb; }
.sfpc-ident-b { padding: 12px 20px; display: flex; align-items: center; gap: 14px; }
.sfpc-kind { font-size: 16px; font-weight: 700; color: #0f172a; }
.sfpc-meta { font-size: 13px; color: #475569; margin-top: 2px; }
.sfpc-meta b { color: #1f2937; }
.sfpc-photo { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; border: 1px solid #e5e7eb; flex: none; }
.sfpc-namerow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sfpc-name { font-size: 20px; font-weight: 700; color: #0f172a; line-height: 1.2; margin: 0; }
.sfpc-nophototag { font-size: 11px; font-weight: 600; color: #64748b; background: #f3f4f6; border-radius: 9999px; padding: 2px 9px; }
.sfpc-assoc { font-size: 12.5px; color: #64748b; margin: 3px 0 0; }
.sfpc-assoc b { color: #1f2937; font-weight: 600; }

/* ---- Sections and rows --------------------------------------------------- */
.sfpc-section { position: relative; padding: 12px 20px 6px; }
.sfpc-sectionhead { display: flex; justify-content: space-between; align-items: baseline; }
.sfpc-sectionlabel { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin: 0 0 6px; }
.sfpc-count { font-size: 11.5px; color: #64748b; }
.sfpc-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #e5e7eb;
}
.sfpc-row:last-child { border-bottom: none; }
.sfpc-rowmain { min-width: 0; display: flex; gap: 10px; }
.sfpc-rowicon { width: 18px; height: 18px; color: #9ca3af; flex: none; margin-top: 2px; }
.sfpc-rowlabel { font-size: 14px; font-weight: 600; color: #1f2937; }
.sfpc-rowsub { font-size: 12px; color: #64748b; margin-top: 2px; }
.sfpc-chip {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  border-radius: 9999px; padding: 3px 10px; font-size: 12px; font-weight: 700;
}
.sfpc-chip-green { background: #dcfce7; color: #166534; }
.sfpc-chip-amber { background: #fef3c7; color: #92400e; }
.sfpc-chip-red   { background: #fee2e2; color: #991b1b; }
.sfpc-chip-grey  { background: #f3f4f6; color: #374151; }

/* ---- Notes, states, foot ------------------------------------------------- */
.sfpc-note { position: relative; font-size: 12px; color: #64748b; padding: 0 20px 12px; margin: 0; }
.sfpc-state { margin: 16px; border-radius: 12px; padding: 18px 16px; text-align: center; }
.sfpc-state-notfound { background: #fffbeb; border: 1px solid #fde68a; }
.sfpc-state-notfound .sfpc-state-title { color: #92400e; }
.sfpc-state-unavailable { background: #f9fafb; border: 1px solid #e5e7eb; }
.sfpc-state-unavailable .sfpc-state-title { color: #374151; }
.sfpc-state-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.sfpc-state-detail { font-size: 13.5px; color: #4b5563; margin: 0; }
.sfpc-loading { text-align: center; color: #6b7280; padding: 40px 16px; font-size: 14px; }
.sfpc-foot { position: relative; padding: 10px 20px 14px; background: #f9fafb; border-top: 1px solid #f1f5f9; }
.sfpc-foot p { margin: 0; font-size: 11px; color: #6b7280; }
.sfpc-foot .sfpc-fine { font-style: italic; color: #9ca3af; margin-top: 4px; font-size: 10px; }

/* ---- Watermark (match report; foot masks the tail) ----------------------- */
.sfpc-wm { position: absolute; right: -24px; top: 50%; pointer-events: none; user-select: none; opacity: .06; }
.sfpc-wm img { width: 210px; display: block; filter: brightness(0); }
