[hidden] { display: none !important; }
.stack { display: grid; gap: 14px; }
.stack > .btn { justify-self: start; }
.auth-card { max-width: 455px; }
.auth-card .stack { text-align: left; }
.auth-card .stack > .btn { justify-self: stretch; }
.auth-card .field { margin: 0; }
.feedback { margin-bottom: 18px; }
.error { background: #f8e9e3; color: #743d35; }
.pilot-gap { margin-top: 18px; }
.panel + .panel { margin-top: 14px; }
.two > .panel + .panel, .survey-layout > .panel + .panel { margin-top: 0; }
.pilot-board { display: grid; gap: 14px; }
.pilot-board > .panel { margin: 0; }
.guest-text { min-width: 0; }
.guest-text small { overflow-wrap: anywhere; }
.main p, .main td, .public-main p { overflow-wrap: anywhere; }
.reading .consent-copy { white-space: pre-line; }
.reading .consent-copy, .reading .fine { margin: 12px 0; }
.pilot-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 288px),1fr)); gap: 14px; }
.pilot-list { display: grid; gap: 8px; padding-left: 22px; }
.pilot-section { margin: 24px 0 12px; }
.pilot-section + * { margin-top: 0; }
.pilot-profile { min-width: 0; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.selection { border-top: 1px solid var(--line); padding-block: 15px; }
.selection:first-of-type { border-top: 0; }
.options .opt { min-height: 37px; }
.wide-form { max-width: 900px; }
.list-item > div { min-width: 0; }
.profile-meter, .pilot-progress { width: 100%; appearance: none; border: 0; border-radius: 8px; height: 7px; display: block; margin: 6px 0 14px; background: #eeebf2; overflow: hidden; }
.profile-meter::-webkit-progress-bar, .pilot-progress::-webkit-progress-bar { background: #eeebf2; border-radius: 8px; }
.profile-meter::-webkit-progress-value, .pilot-progress::-webkit-progress-value { background: #9180af; border-radius: 8px; }
.profile-meter::-moz-progress-bar, .pilot-progress::-moz-progress-bar { background: #9180af; border-radius: 8px; }
.profile-meter:nth-of-type(1)::-webkit-progress-value { background: #b8a5ce; }
.profile-meter:nth-of-type(3)::-webkit-progress-value { background: #dcb887; }
.profile-meter:nth-of-type(4)::-webkit-progress-value { background: #92ad98; }
.json-output { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.editor-block { border: 1px solid var(--line); padding: 12px; border-radius: 8px; min-width: 0; }
.editor-block > summary { cursor: pointer; font-weight: 630; }
.editor-block > div { margin-top: 10px; }
.editor-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-danger { color: #783d4a; }
.btn.danger { color: #743d35; border-color: #d8b1a4; }
.public-header nav a.public-login { padding: 7px 12px; }
.main-footer { margin-top: 34px; }
.pilot-meta { color: var(--muted); font-size: 12px; }
.inline-options { display: flex; flex-wrap: wrap; gap: 7px; }
.table-scroll { overflow-x: auto; }
.admin-list { max-height: 460px; overflow: auto; }
.block-summary { display: block; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td, th { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
@media(max-width:640px) {
  .public-header-inner { min-height: 58px; gap: 12px; }
  .public-header nav { gap: 10px; flex-wrap: wrap; justify-content: end; }
  .public-header nav a { font-size: 11px; }
  .public-header .brand .brand-full { width: 123px; }
  .public-main { padding-top: 16px; }
  .two > .panel + .panel, .survey-layout > .panel + .panel { margin-top: 4px; }
  .survey-layout { display: flex; flex-direction: column; }
  .survey-side { width: 100%; }
  .options .opt { min-height: 42px; }
  .stack > .btn { justify-self: stretch; }
  .crumbs em { display: none; }
  .auth-card .actions { gap: 16px; }
}
.survey-blocks { display: grid; gap: 4px; margin: 9px 0 15px; }
.survey-blocks button { align-items: center; width: 100%; text-align: left; min-height: 34px; }
.survey-blocks button > small { font-variant-numeric: tabular-nums; white-space: nowrap; }
.public-header a[href="?p=home"][aria-current="page"] { font-weight: 650; }
@media(max-width:640px) {
  .public-header nav a[href="?p=home"] { display: none; }
  .public-header nav { gap: 8px; flex-wrap: nowrap; }
  .public-header nav a { white-space: nowrap; }
  .survey-blocks { grid-template-columns: 1fr 1fr; }
}
@media(max-width:345px) {
  .public-header .brand .brand-full { width: 96px; }
  .public-header nav a { font-size: 10px; }
}
.survey-blocks .active { border-color: #d9d0e9; background: var(--lilac); color: var(--dark); }
