.ff-closed-test-placement {
  --ff-test-bg: #f8fafc;
  --ff-test-text: #0f172a;
  --ff-test-muted: #475569;
  --ff-test-border: #e2e8f0;
  --ff-test-accent: #087f68;
  color: var(--ff-test-text);
  font-size: 13px;
  line-height: 1.5;
}
.ff-closed-test-placement--sidebar { margin: 12px 16px 0; }
.ff-closed-test-placement--mobile { margin: 4px 0 16px; }
.ff-closed-test-placement--page { width: min(100%, 1280px); margin: 20px auto 0; padding: 0 20px; }
.ff-closed-test-placement [hidden] { display: none !important; }
.ff-closed-test-banner {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ff-test-border);
  border-radius: 8px;
  background: var(--ff-test-bg);
}
.ff-closed-test-banner p { margin: 0; }
.ff-closed-test-banner .ff-closed-test-kicker {
  margin: 0 30px 5px 0;
  color: var(--ff-test-muted);
  font-size: 11px;
  font-weight: 700;
}
.ff-closed-test-title {
  margin: 0 28px 8px 0;
  color: var(--ff-test-text);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.2;
}
.ff-closed-test-banner .ff-closed-test-previous { margin-bottom: 8px; }
.ff-closed-test-banner .ff-closed-test-commitment { color: var(--ff-test-muted); font-size: 12px; }
.ff-closed-test-actions { min-width: 0; }
.ff-closed-test-banner .ff-closed-test-reward { margin-bottom: 10px; font-size: 12px; }
.ff-closed-test-reward strong { font-size: 14px; }
.ff-closed-test-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #087f68;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.ff-closed-test-cta:hover { background: #066450; }
.ff-closed-test-banner .ff-closed-test-next { margin-top: 7px; color: var(--ff-test-muted); font-size: 11px; }
.ff-closed-test-dismiss {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ff-test-muted);
  font: inherit;
  font-size: 25px;
  cursor: pointer;
}
.ff-closed-test-dismiss:hover { background: rgb(8 127 104 / .1); }
.ff-closed-test-return { margin: 0; }
.ff-closed-test-return a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ff-test-muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ff-closed-test-placement :focus-visible { outline: 3px solid var(--ff-test-accent); outline-offset: 3px; }
.dark .ff-closed-test-placement {
  --ff-test-bg: #1e293b;
  --ff-test-text: #f1f5f9;
  --ff-test-muted: #cbd5e1;
  --ff-test-border: #334155;
  --ff-test-accent: #52cba3;
}
@media (min-width: 900px) {
  .ff-closed-test-placement--page .ff-closed-test-banner { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; padding: 20px 54px 20px 20px; }
}
