.fo-brief {
  --brief-paper: #f7f5ee;
  --brief-ink: #112634;
  --brief-olive: #4c6337;
  --brief-line: #d1d3c7;
  position: fixed;
  inset: 0;
  width: min(35rem, calc(100% - 2rem));
  max-width: none;
  height: fit-content;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--brief-ink);
  background: var(--brief-paper);
  border: 1px solid #d1d1c4;
  border-radius: 5px;
  box-shadow: 0 18px 80px #0b1d2b44;
  font: 1rem/1.45 var(--sans,Arial), sans-serif;
  text-align: left;
}
.fo-brief, .fo-brief * { box-sizing: border-box; }
.fo-brief::backdrop { background: rgb(9 24 32 / 65%); }
body:has(.fo-brief[open]) { overflow: hidden; }
.fo-brief [hidden] { display: none !important; }
.fo-brief__panel { padding: clamp(1.15rem, 4vw, 2.2rem); }
.fo-brief__top { display: flex; gap: 0.6rem; align-items: center; justify-content: space-between; }
.fo-brief__kicker {
  display: block;
  color: var(--brief-olive);
  font: 700 0.68rem/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.fo-brief button, .fo-brief input, .fo-brief textarea { font-family: inherit; }
.fo-brief button { cursor: pointer; }
.fo-brief .fo-brief__close {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  margin: -.45rem -.45rem -.45rem 0;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--brief-ink);
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.fo-brief .fo-brief__close:hover { background: #e7e9df; }
.fo-brief h2 {
  margin: 1.1rem 0 .45rem;
  color: var(--brief-ink);
  font: 400 clamp(1.9rem, 5vw, 2.7rem)/1.1 var(--serif, Georgia), serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.fo-brief h2:focus { outline: none; }
.fo-brief p { margin: 0; }
.fo-brief .fo-brief__intro { color: #455046; font-size: .95rem; line-height: 1.5; }
.fo-brief .fo-brief__group { min-width: 0; margin: 1.25rem 0 0; padding: 0; border: 0; }
.fo-brief .fo-brief__group legend, .fo-brief .fo-brief__notes { padding: 0; font-weight: 700; font-size: .91rem; }
.fo-brief small { display: inline-block; margin-left: .3rem; color: #52604f; font-size: .78rem; font-weight: 400; }
.fo-brief__choices { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.fo-brief__choice {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.6rem;
  max-width: 100%;
  padding: .4rem .65rem;
  font-size: .86rem;
  color: var(--brief-ink);
  border: 1px solid var(--brief-line);
  border-radius: 3px;
  background: #fffdf6;
  cursor: pointer;
}
.fo-brief__choice:has(:checked) { background: #e7ecdd; border-color: #617748; }
.fo-brief__choice:hover { border-color: #81906f; }
.fo-brief__choice input { width: 1rem; height: 1rem; flex: 0 0 1rem; margin: 0; padding: 0; accent-color: var(--brief-olive); }
.fo-brief__choice:has(input:focus-visible), .fo-brief button:focus-visible, .fo-brief textarea:focus-visible {
  outline: 2px solid var(--brief-olive);
  outline-offset: 2px;
}
.fo-brief__choice:has(input:focus-visible) input { outline: none; }
.fo-brief .fo-brief__error { margin-top: .5rem; font-size: .85rem; color: #85392f; }
.fo-brief .fo-brief__notes { display: block; margin: 1.25rem 0 .45rem; }
.fo-brief textarea {
  display: block;
  width: 100%;
  min-height: 4.25rem;
  resize: vertical;
  margin: 0;
  padding: .65rem .75rem;
  border: 1px solid var(--brief-line);
  border-radius: 3px;
  background: #fffdf6;
  color: var(--brief-ink);
  font-size: 1rem;
  line-height: 1.4;
}
.fo-brief textarea::placeholder { color: #677167; opacity: 1; }
.fo-brief .fo-brief__privacy { margin: 1rem 0; color: #515c51; font-size: .81rem; line-height: 1.45; }
.fo-brief__primary, .fo-brief__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
}
.fo-brief__primary { color: #fffdf6; background: var(--brief-ink); }
.fo-brief__primary:hover { background: #264251; }
.fo-brief__secondary { color: var(--brief-ink); background: transparent; border-color: var(--brief-line); }
.fo-brief__secondary:hover { border-color: var(--brief-ink); }
.fo-brief__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fo-brief__review { margin: 1.35rem 0 0; padding: .9rem 1rem; background: #e8ecdf; border-left: 2px solid var(--brief-olive); }
.fo-brief__review strong { display: block; margin: .35rem 0 .15rem; font-size: 1.13rem; }
.fo-brief__review p { color: #485343; font-size: .9rem; }
.fo-brief__review .fo-brief__result-notes { margin-top: .6rem; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 395px) {
  .fo-brief { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); }
  .fo-brief__panel { padding: .95rem; }
  .fo-brief__choice { min-height: 2.75rem; }
}
