/* Greifer-Check. Uses the sp.css tokens; everything is scoped to .gc. */
.gc-wurzel { display: grid; gap: 24px; }
.gc-wurzel *, .gc-wurzel *::before, .gc-wurzel *::after { box-sizing: border-box; }
.gc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; font-size: 1rem; }
.gc *, .gc *::before, .gc *::after { box-sizing: border-box; }
.gc-gruppe { border: 1px solid var(--sp-linie, #e8e3dc); border-radius: var(--sp-radius, 12px); background: #fff; padding: 18px 20px 6px; margin: 0 0 18px; min-width: 0; }
.gc-gruppe legend { font-weight: 700; font-size: 0.95rem; padding: 0 6px; color: var(--sp-tinte, #222529); }
.gc-wurzel label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--sp-tinte, #222529); margin-bottom: 4px; }
.gc-wurzel p { margin: 0 0 14px; }
.gc-wurzel input[type="number"], .gc-wurzel select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #cfc9c1; border-radius: 8px; background: #fff; font: inherit; font-size: 1rem; color: var(--sp-tinte, #222529); font-variant-numeric: tabular-nums; }
.gc-wurzel input:focus-visible, .gc-wurzel select:focus-visible, .gc-wurzel button:focus-visible { outline: 3px solid var(--sp-orange, #ff9100); outline-offset: 2px; }
.gc-raster { display: grid; gap: 0 14px; align-items: end; }
.gc-oben { margin: -8px 0 14px !important; }
.gc-raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc-raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-schmal { max-width: 220px; }
.gc-wahl, .gc-haken { display: grid; gap: 6px; margin-bottom: 14px; }
.gc-wahl label, .gc-haken label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 0.95rem; min-height: 36px; margin: 0; cursor: pointer; }
.gc-wahl input, .gc-haken input { width: 18px; height: 18px; accent-color: var(--sp-orange, #ff9100); flex: none; }
.gc-ergebnis { position: sticky; top: 24px; display: grid; gap: 16px; }
.gc-karte { background: #fff; border: 1px solid var(--sp-linie, #e8e3dc); border-left: 4px solid var(--sp-linie, #e8e3dc); border-radius: var(--sp-radius, 12px); padding: 18px 20px; }
.gc-karte h3 { margin: 0.1em 0 0.5em; font-size: 1.15rem; }
.gc-karte ul { margin: 0; padding-left: 1.1em; }
.gc-karte li { font-size: 0.95rem; line-height: 1.5; margin-bottom: 6px; }
.gc-prinzip { background: var(--sp-tinte, #222529); color: #f3f1ee; border-color: var(--sp-tinte, #222529); border-left-color: var(--sp-orange, #ff9100); }
.gc-prinzip h3 { color: #fff; }
.gc-prinzip .gc-marke { color: var(--sp-orange, #ff9100); }
.gc-marke { font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-stahl, #3d434b); margin: 0 !important; }
.gc-rand-ok { border-left-color: #2e7d4f; }
.gc-rand-auflage { border-left-color: #c98a00; }
.gc-rand-stopp { border-left-color: #b3261e; }
.gc-rand-info { border-left-color: var(--sp-orange, #ff9100); }
.gc-ampel { list-style: none; padding: 0 !important; }
.gc-ampel li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.gc-punkt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 999px; padding: 2px 8px; text-align: center; white-space: nowrap; }
.gc-ok .gc-punkt { background: #e3f2e8; color: #1d5c37; }
.gc-auflage .gc-punkt { background: #fff1d0; color: #7a5300; }
.gc-stopp .gc-punkt { background: #fbe1df; color: #8c1d16; }
.gc-info .gc-punkt { background: #f3efe9; color: var(--sp-tinte, #222529); }
.gc-tabelle { overflow-x: auto; margin-top: 8px; }
.gc-tabelle table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.gc-tabelle th, .gc-tabelle td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--sp-linie, #e8e3dc); white-space: nowrap; }
.gc-tabelle td:first-child { white-space: normal; }
.gc-tabelle th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sp-grau, #5f646a); }
.gc-tabelle a { color: var(--sp-stahl, #3d434b); }
.gc-fuss { font-size: 0.8125rem !important; color: var(--sp-grau, #5f646a); margin: 10px 0 0 !important; line-height: 1.5; }
.gc-knopf { display: inline-block; margin-top: 14px; background: var(--sp-orange, #ff9100); color: var(--sp-tinte, #222529); border: 0; border-radius: 8px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; transition: background 0.15s; }
.gc-knopf:hover { background: var(--sp-gelb, #ffc107); }
.gc-hinweis { font-size: 0.875rem; color: var(--sp-orange-dunkel, #ad5c00); margin: 6px 0 0; }
.gc-wurzel [hidden] { display: none !important; }
.gc-sim { background: #fff; border: 1px solid var(--sp-linie, #e1e4e8); border-radius: var(--sp-radius, 12px); padding: 18px 20px; }
.gc-sim-kopf h3 { margin: 0.1em 0 0.3em; font-size: 1.15rem; }
.gc-sim-bild { aspect-ratio: 16 / 10; width: 100%; background: #eef0f2; border-radius: 8px; overflow: hidden; display: grid; place-items: center; color: var(--sp-grau, #5f646a); font-size: 0.9rem; margin-top: 10px; touch-action: none; }
.gc-sim-bild canvas { display: block; }
.gc-sim-steuer { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 12px; }
.gc-sim-steuer label { margin: 0; }
.gc-sim-steuer input[type="range"] { flex: 1 1 180px; accent-color: var(--sp-tinte, #222529); min-height: 44px; }
.gc-knopf-zweit { margin-top: 0; background: var(--sp-tinte, #222529); color: #fff; }
.gc-knopf-zweit:hover { background: #3d434b; }
.gc-sim-status { margin: 10px 0 0 !important; font-size: 0.9rem; padding: 8px 12px; border-radius: 8px; background: #f3f4f6; }
.gc-sim-ok { background: #e3f2e8; color: #1d5c37; }
.gc-sim-auflage { background: #fff1d0; color: #7a5300; }
.gc-sim-stopp { background: #fbe1df; color: #8c1d16; }
@media (max-width: 900px) {
  .gc { grid-template-columns: 1fr; gap: 8px; }
  .gc-ergebnis { position: static; }
}
@media (max-width: 480px) {
  .gc-raster-3 { grid-template-columns: 1fr 1fr; }
  .gc-raster-3 p:last-child { grid-column: span 2; }
  .gc-raster-2 { grid-template-columns: 1fr; }
  .gc-gruppe { padding: 14px 14px 4px; }
  .gc-ampel li { grid-template-columns: 1fr; gap: 2px; }
  .gc-punkt { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .gc-knopf { transition: none; } }

/* Gripper names list below the check (outside .gc-wurzel, same page). */
.sp-greifer-namen { font-size: 0.9375rem; padding-left: 1.1em; margin: 8px 0 16px; }
.sp-greifer-namen li { margin: 0.25em 0; font-size: 0.9375rem !important; line-height: 1.5 !important; }
