.sich-apf {
  max-width: 940px;
  margin: 2rem auto;
  font-size: 16px;
  line-height: 1.55;
}
.sich-apf-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.sich-apf h2 { margin-top: 0; line-height: 1.2; }
.sich-apf h3 { margin-bottom: .35rem; }
.sich-apf h4 { margin-bottom: .15rem; }
.sich-apf-section,
.sich-apf-kicker {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .72;
  margin: 0 0 .25rem;
}
.sich-apf-mode {
  display: inline-block;
  margin: .1rem 0 .45rem;
  padding: .22rem .65rem;
  border-radius: 999px;
  background: rgba(31,77,74,.10);
  color: #1f4d4a;
  font-size: .82rem;
  font-weight: 700;
}
.sich-apf-instruction {
  margin: .1rem 0 .25rem;
  opacity: .85;
}
.sich-apf-rank-help {
  margin: .1rem 0 .7rem;
  font-size: .92rem;
  opacity: .72;
}
.sich-apf-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin: .9rem 0;
}
.sich-apf-option,
.sich-apf-check {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  padding: .55rem .65rem;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 9px;
  background: rgba(0,0,0,.018);
  cursor: pointer;
  line-height: 1.35;
  min-height: 44px;
}
button.sich-apf-option {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}
.sich-apf-option:hover,
.sich-apf-check:hover { background: rgba(0,0,0,.04); }
.sich-apf-option input,
.sich-apf-check input { margin-top: .25rem; flex: 0 0 auto; }
.sich-apf-option-active {
  border-color: #1f4d4a;
  background: rgba(31,77,74,.08);
}
.sich-apf-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #1f4d4a;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.sich-apf-rank-empty {
  background: transparent;
  border: 1px solid rgba(0,0,0,.25);
}
.sich-apf-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.sich-apf-button,
.sich-apf-button-secondary {
  border: 0;
  border-radius: 999px;
  padding: .82rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
}
.sich-apf-button { background: #113f67; color: #fff; box-shadow: 0 3px 0 #1f4d4a; }
.sich-apf-button:hover { background: #0d3558; }
.sich-apf-button-secondary { background: rgba(0,0,0,.08); color: #222; }
.sich-apf-button:disabled,
.sich-apf-button-secondary:disabled { opacity: .5; cursor: not-allowed; }
.sich-apf-progress { margin-bottom: 1.05rem; }
.sich-apf-progress > div {
  height: 8px;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: .35rem;
}
.sich-apf-progress span[data-apf-progress-bar] {
  display: block;
  height: 100%;
  width: 0;
  background: #113f67;
  transition: width .25s ease;
}
.sich-apf-summary-box {
  border-left: 5px solid #1f4d4a;
  background: rgba(31,77,74,.06);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  margin: 1rem 0 1.4rem;
}
.sich-apf-summary-box ul { margin-top: .2rem; }
.sich-apf-input {
  width: 100%;
  max-width: 420px;
  padding: .85rem 1rem;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 8px;
  font-size: 1rem;
  margin: .3rem 0 1rem;
}
.sich-apf-label { display: block; font-weight: 700; }
.sich-apf-error {
  color: #8a1f11;
  background: #fff1ed;
  border: 1px solid #f0b8aa;
  padding: .75rem .9rem;
  border-radius: 8px;
}
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .sich-apf-options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sich-apf { margin: 1rem auto; font-size: 16px; }
  .sich-apf-card { padding: 1rem; }
  .sich-apf-actions { flex-direction: column; }
  .sich-apf-button,
  .sich-apf-button-secondary { width: 100%; }
}

.sich-apf-instruction { display: none; }

.sich-apf-test-panel {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: .65rem .75rem;
  border: 1px dashed rgba(17,63,103,.35);
  border-radius: 10px;
  background: rgba(17,63,103,.045);
  font-size: .88rem;
}
.sich-apf-test-button {
  border: 1px solid rgba(17,63,103,.25);
  background: #fff;
  color: #113f67;
  border-radius: 999px;
  padding: .32rem .6rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.sich-apf-test-button:hover { background: rgba(31,77,74,.08); }
.sich-apf-test-panel [data-apf-test-status] { opacity: .72; }

.sich-apf-name-fields {
  margin: 1.1rem 0 1.25rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(17,63,103,.16);
  border-radius: 10px;
  background: rgba(17,63,103,.035);
}
.sich-apf-name-fields .sich-apf-input {
  margin-bottom: .75rem;
}
.sich-apf-small-note {
  margin: .1rem 0 0;
  font-size: .92rem;
  opacity: .72;
}

.sich-apf-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
