html body[data-bb-inner="custom.html"] main.custom-page {
  display: block;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 92px) var(--gutter) clamp(64px, 8vw, 120px);
  --brief-ink: #272822;
  --brief-rule: #bcb9af;
  --bb-action: var(--brief-ink);
  --bb-action-hover: #45463f;
  --bb-focus: var(--brief-ink);
}

.custom-page .custom-intro {
  position: static;
  max-width: 44rem;
  margin: 0 0 clamp(32px, 5vw, 64px);
}
.custom-page .custom-intro h1 {
  margin: 16px 0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
}
.custom-page .custom-intro > p:not(.eyebrow) { max-width: 50ch; margin: 0; }
.custom-panel { min-width: 0; }
.custom-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.custom-brief-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  align-items: start;
  gap: 20px clamp(28px, 5vw, 72px);
  padding: clamp(20px, 3vw, 36px) 0;
  border-top: 1px solid var(--brief-rule);
}
.custom-row-title { display: flex; align-items: baseline; gap: 16px; }
.custom-row-title span { font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--muted); }
html body .custom-page .custom-row-title h2 { margin: 0; font-size: clamp(23px, 3vw, 34px); }
.custom-row-fields { min-width: 0; }
html body .custom-panel #custom-form fieldset { margin: 0 0 18px; min-width: 0; }
html body .custom-panel #custom-form legend { margin: 0 0 4px; font: 500 14px/1.45 var(--font); }
html body .custom-panel .custom-audiences { gap: 0 22px; margin: 0; }
html body .custom-panel .custom-audiences label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}
.custom-panel .custom-audiences input { flex: none; margin: 0; accent-color: var(--brief-ink); }
html body .custom-panel .field { min-width: 0; margin: 0 0 18px; }
html body .custom-panel .field:last-child, html body .custom-panel .fields-two .field { margin-bottom: 0; }
html body .custom-panel .field :is(input, textarea) {
  background: transparent;
  border-color: var(--brief-rule);
  color: var(--brief-ink);
}
.custom-panel .field textarea { display: block; resize: vertical; }
.custom-panel :is(.custom-hint,.fineprint,.field label span) { color: var(--muted); }
.custom-panel .custom-hint { margin: 8px 0 0; font-size: 13px; }
.custom-panel #custom-form > .business-policy-links { margin: 0 0 8px; justify-content: flex-end; }
.custom-panel .custom-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.custom-panel .fineprint { margin: 0; font-size: 13px; }
.custom-panel #custom-review { border-top: 1px solid var(--brief-rule); padding-top: 24px; }
.custom-panel #custom-details dd { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.custom-panel #custom-status { margin: 20px 0; }
.custom-panel :is(input,textarea,button,a):focus-visible { outline: 2px solid var(--brief-ink); outline-offset: 3px; }

@media (max-width: 640px) {
  .custom-brief-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .custom-panel .fields-two { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
