/* An event's «فرم ثبت‌نام سریع» (/wf/{id}) — layout only. Every piece is a component (the featured
   card, the cover, the facts, the wizard, the sign-in form, the done row) or the landing page's own
   layout (landing.css: the done row, the calendar, the way in, the footer). The page wears the
   event's light and pattern (.aura.aura-motif) from the top of the screen. */
.quick-form-page{min-height:100dvh}
.quick-form{
  min-height:100dvh;display:grid;justify-items:center;align-content:start;
  padding:20px 16px calc(24px + env(safe-area-inset-bottom));
}
.quick-form-column{display:grid;gap:16px;width:min(var(--form-card-w),100%)}
.quick-form-brand{display:flex;justify-content:center;min-height:32px}
.quick-form-brand[hidden]{display:none}
.quick-form-card{display:grid;padding:20px}
.quick-form-card:focus{outline:none}

/* The first page: the cover (never taller than a third of the screen), the title, the facts, the button. */
.quick-form-welcome,.quick-form-done{display:grid;gap:16px}
.quick-form-cover{justify-self:center;width:min(100%,calc(var(--form-cover-max-h) * var(--cover-ratio,1)))}
.quick-form-head{display:grid;gap:6px}
.quick-form-note{text-align:center}

/* The steps: what this is for, and how far along. */
.quick-form-context{display:flex;align-items:center;gap:12px;min-width:0}
.quick-form-context-copy{display:grid;min-width:0}
.quick-form-context-copy > .cell-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.quick-form-step{gap:12px}
.quick-form-step .wizard-actions{margin-top:4px}

/* After registering: the confirmation centred in its card, the organisation's words under a hairline,
   then what comes next in boxes of their own (one lit: the next thing to do). */
.quick-form-more{display:grid;gap:16px}
.quick-form-more:empty{display:none}
.quick-form-confirm{padding-block:8px}
.quick-form-words-slot{display:grid;gap:16px}
.quick-form-box,.quick-form-ask{display:grid;gap:12px}
/* The questionnaire: the registration's confirmation kept above the wizard. */
.quick-form-questionnaire{display:grid;gap:20px}

.quick-form-foot{padding-block:4px 0;border-top:0}

@media (min-width:640px){
  .quick-form{padding-block:40px}
  .quick-form-card{padding:28px}
}
