.module-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.module-access-card {
  min-height: 152px;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  background: #f9fbff;
}
.module-access-card.unlocked { background: #f2fbf7; border-color: #cfeadc; }
.module-icon {
  width: 40px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #e7eef8;
  color: #536b8a;
  font-size: 10px;
  font-weight: 900;
}
.module-access-card.unlocked .module-icon { background: #d9f3e6; color: #087449; font-size: 16px; }
.module-access-card b, .module-access-card p, .module-access-card small { display: block; }
.module-access-card p { margin: 6px 0; color: #6b83a3; font-size: 12px; line-height: 1.45; }
.module-access-card small { color: #876214; font-size: 10px; font-weight: 800; }
.module-access-card.unlocked small { color: #087449; }
.module-access-card button, .gate-overlay button {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: #0b67dc;
  color: #fff;
  font-weight: 800;
}
.module-access-card button:disabled { background: #e6edf6; color: #75869d; cursor: default; }
.gated-panel { position: relative; overflow: hidden; min-height: 215px; }
.gated-content { transition: filter .2s ease, opacity .2s ease; }
.gated-panel.is-locked .gated-content { opacity: .24; pointer-events: none; user-select: none; }
.gate-overlay {
  position: absolute;
  inset: 58px 18px 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  border: 1px solid #d7e3f2;
  border-radius: 15px;
  background: #fffffff2;
  box-shadow: 0 12px 34px #264b7a14;
}
.gate-overlay[hidden] { display: none; }
.gate-overlay b { font-size: 16px; }
.gate-overlay p { max-width: 320px; margin: 7px 0 13px; color: #647894; font-size: 12px; line-height: 1.5; }
.gate-overlay button { width: min(210px, 100%); }
.gate-overlay .quiet-request { margin-top: 7px; background: #eef4fc; color: #255b9b; }
.gate-state { padding: 6px 9px; border-radius: 99px; background: #fff0d9; color: #986515; font-size: 10px; font-weight: 900; }
.gated-panel:not(.is-locked) .gate-state { background: #e0f5e9; color: #087449; }
.subhead { display: flex; align-items: center; justify-content: space-between; }
.ad-ready { min-height: 104px; padding: 20px; border: 1px solid #dce8f5; border-radius: 14px; background: #f7fbff; }
.ad-ready p { margin-bottom: 0; color: #657b97; }
@media (max-width: 900px) { .module-access-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .module-access-grid { grid-template-columns: 1fr; } .module-access-card { min-height: 132px; } }
.media-form { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0 8px; }
.media-form input, .media-form select { min-width: 0; }
.full-option-panel { border-top: 4px solid #1767d4; }
.full-option-form { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.full-option-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.full-option-form label small { color: #718096; font-weight: 500; }
.full-option-form input, .full-option-form select { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #ccd8e5; border-radius: 5px; background: #fff; }
.full-option-includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.full-option-includes span { padding: 10px; border: 1px solid #d8e3ef; background: #f5f9fd; color: #234766; font-size: 11px; font-weight: 700; text-align: center; }
@media (max-width: 760px) { .full-option-form { grid-template-columns: 1fr; } .full-option-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
