.frc-banner[hidden], .frc-manage[hidden], #frc-preferences[hidden], #frc-save[hidden] { display: none !important; }
.frc-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 999999;
  padding: 18px;
  background: rgba(20, 24, 28, 0.28);
  font-family: inherit;
}
.frc-card {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  color: #1f2933;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  padding: 22px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(0,0,0,.08);
}
.frc-content h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.frc-content p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}
.frc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.frc-links a { color: #315c3a; text-decoration: underline; }
.frc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.frc-btn {
  border: 1px solid #315c3a;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.frc-primary {
  background: #315c3a;
  color: #fff;
}
.frc-secondary {
  background: #fff;
  color: #315c3a;
}
.frc-btn:focus, .frc-manage:focus, .frc-switch input:focus + span {
  outline: 3px solid rgba(49,92,58,.32);
  outline-offset: 2px;
}
.frc-preferences {
  margin-top: 14px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}
.frc-pref {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}
.frc-pref strong { display: block; margin-bottom: 4px; }
.frc-pref span { display: block; font-size: 13px; color: #52616f; }
.frc-pref label { font-weight: 700; font-size: 13px; }
.frc-switch input { position: absolute; opacity: 0; }
.frc-switch span {
  display: block;
  width: 50px;
  height: 28px;
  border-radius: 999px;
  background: #cbd5df;
  position: relative;
  transition: background .2s ease;
}
.frc-switch span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.frc-switch input:checked + span { background: #315c3a; }
.frc-switch input:checked + span::after { transform: translateX(22px); }
.frc-manage {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999998;
  border: 1px solid #315c3a;
  background: #fff;
  color: #315c3a;
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  cursor: pointer;
}
@media (max-width: 720px) {
  .frc-banner { padding: 10px; }
  .frc-card { padding: 16px; }
  .frc-actions { justify-content: stretch; }
  .frc-actions .frc-btn { width: 100%; }
  .frc-pref { grid-template-columns: 1fr; }
}
