* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  border-top: 3px solid #37745e;
  background: radial-gradient(ellipse 36rem 19rem at 100% 0, #e6efe4, transparent), #fafbf9;
  color: #192f33;
  font: 1.05rem/1.55 "Segoe UI", Arial, sans-serif;
}
main { width: min(43rem, calc(100% - clamp(1.5rem, 6vw, 3rem))); margin: 0 auto; padding: clamp(1.25rem, 5vw, 3.25rem) 0 2.5rem; }
header { border-bottom: 1px solid #becfc4; padding-bottom: .85rem; }
h1 { margin: 0; color: #205242; font: 600 clamp(1.8rem, 4.5vw, 2.4rem)/1.1 Georgia, serif; letter-spacing: -.035em; }
h2 { margin: 0 0 .8rem; font: 500 clamp(1.6rem, 4.5vw, 2.3rem)/1.2 Georgia, serif; text-wrap: pretty; }
.intro { margin: 1rem 0 1.35rem; color: #415657; }
.intro p { margin: 0; }
#interview, #review, #results {
  margin-top: 1.25rem;
  padding: clamp(.9rem, 3.5vw, 1.65rem);
  border: 1px solid #d7e2d9;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .4rem 1.25rem #2148360d;
}
.question-progress { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .6rem; }
#progress { margin: 0; font-weight: 600; }
#progress-meter { appearance: none; width: min(30%, 7rem); height: .35rem; border: 0; border-radius: 999px; overflow: hidden; background: #e2ebe3; color: #37745e; }
#progress-meter::-webkit-progress-bar { background: #e2ebe3; }
#progress-meter::-webkit-progress-value { border-radius: 999px; background: #37745e; }
#progress-meter::-moz-progress-bar { border-radius: 999px; background: #37745e; }
textarea { display: block; width: 100%; resize: vertical; padding: .8rem; border: 1px solid #788b85; border-radius: .6rem; background: #fcfdfb; color: inherit; font: inherit; }
textarea::placeholder { color: #606a68; opacity: 1; }
.note { font-size: .9rem; color: #4c5d59; }
.examples { display: grid; gap: .45rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
button { min-height: 2.75rem; background: #195447; color: white; border: 1px solid #195447; border-radius: .6rem; padding: .55rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
.examples button, .secondary { background: white; color: #192f33; border-color: #788b85; }
.examples button { background: #f4f8f4; text-align: left; font-weight: 400; }
button:hover:not(:disabled) { filter: brightness(.94); }
button:disabled { opacity: .6; cursor: default; }
button:focus-visible, textarea:focus-visible { outline: 3px solid #976630; outline-offset: 3px; }
#question:focus, #review-title:focus, #story:focus { outline: none; }
#interview > .actions { margin-top: 1rem; }
.privacy-note { margin: .9rem 0 0; padding-top: .65rem; border-top: 1px solid #e2ebe3; color: #4c5d59; font-size: .8rem; }
#status { margin: 1.25rem 0 0; }
#status:empty { display: none; }
#answer-summary { margin: .75rem 0 1.3rem; }
#answer-summary dt, label { font-weight: 600; }
#answer-summary dd { margin: .15rem 0 .75rem; overflow-wrap: anywhere; white-space: pre-wrap; }
#story { white-space: pre-wrap; overflow-wrap: anywhere; }
#copy { margin-top: .85rem; }
#copy-status { margin: .35rem 0 0; }
#copy-status:empty { display: none; }
#revision { margin-top: 1.35rem; }
#revision textarea { margin: .35rem 0 .6rem; }
.link { display: block; margin-top: 1.2rem; border: 0; background: transparent; color: #27564d; padding: .4rem 0; font-size: .9rem; text-decoration: underline; }
.site-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-top: 1.5rem; color: #4c5d59; font-size: .75rem; }
.copyright { position: relative; inset-block-start: .2rem; color: #5f6e66; }
.copyright a { color: #536e61; text-decoration: underline; text-underline-offset: .12em; }
.copyright a:hover { color: #195447; }
.copyright a:focus-visible { outline: 2px solid #976630; outline-offset: 2px; }
.service-status { display: inline-flex; align-items: center; gap: .35rem; }
.service-status::before { content: ""; flex: 0 0 .45rem; height: .45rem; border-radius: 50%; background: #946316; }
.service-status[data-service="available"]::before { background: #2f795d; }
.service-status[data-service="down"]::before { background: #ad483e; }
