.svc-main {
  background: #fff;
  color: #1b2838;
  padding: 2.5rem 0 4rem;
}
.svc-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1rem;
}
.svc-card {
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.svc-main h1,
.svc-main h2,
.svc-main h3,
.svc-main p,
.svc-main label,
.svc-main li,
.svc-main strong {
  color: #fff;
}
.svc-card h1,
.svc-card h2 {
  font-family: Rajdhani, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}
.svc-kicker,
.svc-main .svc-kicker {
  color: #fddf00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 0.4rem;
}
.svc-lead,
.svc-note {
  color: rgba(255,255,255,0.75);
}
.svc-form label,
.priority-row label,
.priority-followup label {
  display: block;
  font-weight: 650;
  margin: 0.9rem 0 0.3rem;
}
.svc-form input,
.svc-form textarea,
.priority-row input,
.priority-row textarea,
.priority-followup input,
.priority-followup textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 0;
  padding: 0.55rem 0.7rem;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
}
.svc-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
header.site-header {
  background: #000 !important;
}
body[data-entry="admin"] .svc-main {
  background: #000;
  color: #fff;
}
.svc-form button,
.priority-row button,
.priority-followup button,
.svc-link {
  background: #162e51;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 0.55rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.secondary,
.svc-link.secondary {
  background: #5c6770;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.svc-grid a {
  display: block;
  background: #141414;
  border: 1px solid #2c2c2c;
  border-top: 4px solid #c9a227;
  color: #fff;
  padding: 1rem;
  text-decoration: none;
  height: 100%;
}
.svc-grid a:hover {
  border-color: #fddf00;
}
.svc-grid a h2 {
  color: #fff;
  font-size: 1.45rem;
}
.svc-grid a p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
}
.svc-video {
  margin: 1rem 0 1.25rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.video-slot,
.video-player {
  min-height: 200px;
  background: #111;
}
.video-player {
  width: 100%;
  height: 100%;
}
.video-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.case-list button {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0.4rem 0;
}
.svc-status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  background: #102116;
  color: #d7f5df;
  border-left: 4px solid #2e7d32;
}
.svc-status.error {
  background: #2a1212;
  color: #ffd6d6;
  border-left-color: #b71c1c;
}
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.2rem 0 1.5rem;
}
.case-actions button {
  flex: 1 1 280px;
  background: #162e51;
  color: #fff;
  border: 1px solid #c9a227;
  border-radius: 0;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.case-actions button.active {
  background: #0d213c;
  border-color: #fddf00;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.person-card {
  border: 1px solid #333;
  background: #111;
  padding: 0.85rem;
}
.person-photos {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  margin-bottom: 0.75rem;
}
.person-photos img {
  width: auto;
  max-width: 100%;
  height: 240px;
  object-fit: contain;
  background: #1a1a1a;
}
.person-card-wide {
  grid-column: 1 / -1;
}
.person-card-wide .person-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  min-height: 0;
}
.person-card-wide .person-photos img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.person-card p {
  margin: 0.18rem 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.person-card .person-section {
  color: #fddf00;
  font-weight: 700;
  margin-top: 0.7rem;
}
@media (max-width: 760px) {
  .people-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-photos img {
    height: 200px;
  }
  .person-card-wide .person-photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .person-card-wide .person-photos img {
    height: auto;
  }
}
.svc-card .case-classified {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.5;
}
.svc-card .case-classified h1,
.svc-card .case-classified h2,
.svc-card .case-classified h3,
.svc-card .case-classified p,
.svc-card .case-classified li,
.svc-card .case-classified th,
.svc-card .case-classified td {
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 0;
  color: #fff;
}
.svc-card .case-classified h1 {
  font-size: 24pt;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.15rem 0 0.45rem;
}
.svc-card .case-classified h2 {
  font-size: 18pt;
  font-weight: 700;
  line-height: 1.3;
  margin: 1rem 0 0.4rem;
}
.svc-card .case-classified h3 {
  font-size: 13.5pt;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.85rem 0 0.3rem;
}
.svc-card .case-classified p,
.svc-card .case-classified li {
  font-size: 12pt;
  font-weight: 400;
  margin: 0.35rem 0;
}
.svc-card .case-classified ul {
  margin: 0.15rem 0 0.7rem;
  padding-left: 1.35rem;
}
.svc-card .case-classified li {
  margin: 0.12rem 0;
}
.svc-card .case-classified table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.7rem 0 1rem;
  font-size: 12pt;
}
.svc-card .case-classified th,
.svc-card .case-classified td {
  font-size: 12pt;
  text-align: left;
  vertical-align: top;
  border: 1px solid #444;
  padding: 0.45rem 0.6rem;
  width: 50%;
}
.svc-card .case-classified th {
  font-weight: 700;
  background: #111;
}
.case-release h2 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin: 0 0 0.7rem;
}
.case-release .case-date {
  color: #fddf00;
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.case-release .case-deck {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}
.case-release .case-photo {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0.2rem auto 1.4rem;
  background: #fff;
}
.case-release p {
  line-height: 1.6;
  margin: 0 0 0.95rem;
  overflow-wrap: break-word;
}
.svc-result {
  border-top: 1px solid #2c2c2c;
  margin-top: 1rem;
  padding-top: 1rem;
}
.svc-result h3 {
  margin-bottom: 0.3rem;
}
.priority-row,
.priority-saved {
  border: 1px solid #2c2c2c;
  padding: 0.8rem;
  margin: 0.7rem 0;
}
.priority-thread p {
  margin: 0.25rem 0;
}
#consentPad {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 160px;
  border: 1px dashed #8d9aab;
  background: #fff;
  touch-action: none;
}
#consentCamera {
  width: 100%;
  max-width: 420px;
  background: #111;
}
.doc-case { margin-top: 1.2rem; }
.doc-case-number { color: #fddf00; margin-bottom: 0.7rem; }
.doc-preface { font-size: 1.05rem; line-height: 1.55; margin: 0 0 1rem; }
.doc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.doc-pair figure { margin: 0; background: #fff; color: #111; }
.doc-pair figcaption { padding: 0.45rem 0.6rem; font-weight: 700; }
.doc-pair img { display: block; width: 100%; height: auto; }
.doc-missing { margin: 0; padding: 1.2rem 0.6rem; color: #333; }
@media (max-width: 760px) {
  .doc-pair { grid-template-columns: minmax(0, 1fr); }
}
.hidden { display: none !important; }
