/* Shared K&L footer and learner guide surfaces */
.help-panel, #panel.panel { background-color: #f4f6f7; }
footer.kl-footer {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 0;
  padding: 43px max(48px, calc((100vw - 1128px)/2));
  background: #f4f6f7;
  color: #1d3446;
  border-top: 1px solid #dce2e5;
  text-align: left;
  font: 14px/1.5 Arial, sans-serif;
}
.kl-footer .fws-emblem { width: 48px; height: 48px; vertical-align: middle; margin-right: 12px; }
.kl-footer strong { font: 35px Georgia,serif; margin-right: 18px; }
.kl-footer span { font: 11px Arial,sans-serif; letter-spacing: .1em; }
.kl-footer p { font: 14px/1.7 Georgia,serif; color: #68747c; margin: 15px 0 0; }
.kl-footer > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.kl-footer a { color: #1d3446; }
.kl-footer .prototype, .kl-footer .kl-copyright { grid-column: 1/-1; margin: 0; font: 12px/1.6 Arial,sans-serif; }
.kl-footer .prototype { border-top: 1px solid #dce2e5; padding-top: 20px; }
body.has-study-nav .kl-footer { margin-inline: var(--left) var(--right); padding-inline: 28px; }
@media(max-width:760px) {
  footer.kl-footer { grid-template-columns: 1fr; padding: 32px 24px 80px; }
  body.has-study-nav .kl-footer { margin-inline: 0; }
}

/* Keep guidance, action, allowance, and response status visually distinct. */
:is(#help-form,#ask-form) > textarea + p { margin:16px 0; line-height:1.6; }
:is(#help-form,#ask-form) > button.primary { display:block; width:fit-content; margin:0; }
:is(#help-form,#ask-form) > small { display:block; margin:10px 0 0; font:normal .8125rem/1.55 Arial,sans-serif; color:#52616a; }
:is(#help-message,#ask-status):empty { display:none; }
:is(#help-form,#ask-form) > :is(#help-message,#ask-status):not(:empty) { margin:20px 0 12px; font:bold .9375rem/1.5 Arial,sans-serif; color:#1d3446; }
