@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

/*!
 * Queen General Reservation - the page shell.
 *
 * The design tokens and every shared component - the field rule, the dropdown
 * panel, the tags, the buttons, the error styling - live in Queen Forms Core's
 * queen-ui.css, which loads first. Everything named .qej-* below is a CONTEXT
 * for one of those shared components, never a redefinition of one.
 *
 * What is here: the page shell, the traveller roster cards, the verification
 * screen and the status screens. Prefixed .qgr- so that if this form ever
 * shares a page with Plan My Journey or Inquire for Your Client, none of them
 * can restyle another.
 */

.qgr-app{
  /* Same four-level hierarchy as Inquire for Your Client, measured against the
     ivory sheet: value 15.6:1, label 13.9:1, helper 4.7:1, placeholder 3.6:1. */
  --qgr-placeholder:#8A8073;
  --qgr-helper:#776D62;

  position:relative;
  color:var(--qej-espresso);background:var(--qej-ivory);
  font-family:var(--qej-sans);font-size:16px;font-weight:400;line-height:1.7;
  -webkit-font-smoothing:antialiased;
  width:100%;max-width:100%;padding:0;}
.qgr-app *,.qgr-app *::before,.qgr-app *::after{box-sizing:border-box;}
.qgr-app [hidden]{display:none !important;}

.qgr-body{
  padding:clamp(18px,2.6vw,40px) clamp(14px,3.2vw,44px) clamp(22px,3vw,48px);
  background-color:#241A12;
  background-image:
    linear-gradient(to bottom, rgba(26,18,11,.34) 0%, rgba(26,18,11,.22) 38%,
                               rgba(26,18,11,.30) 70%, rgba(26,18,11,.50) 100%),
    var(--qej-photo, var(--qej-photo-fallback));
  background-repeat:no-repeat,no-repeat;
  background-size:cover,cover;
  background-position:center,center 32%;}

.qgr-wrap{
  width:100%;max-width:680px;margin:0 auto;
  background-color:var(--qej-ivory);
  background-image:
    radial-gradient(120% 58% at 50% -6%, rgba(255,253,248,.98) 0%, rgba(255,253,248,0) 62%),
    radial-gradient(150% 120% at 50% 42%, rgba(255,253,248,0) 52%, rgba(146,120,74,.05) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23g)' opacity='.085'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,repeat;
  background-size:auto,auto,150px 150px;
  background-position:center top,center center,center top;
  border-radius:5px;
  padding:clamp(24px,2.8vw,44px) clamp(22px,3vw,48px) clamp(24px,2.8vw,40px);
  box-shadow:0 40px 90px -46px rgba(18,12,6,.72),
             0 2px 10px rgba(18,12,6,.16),
             inset 0 1px 0 rgba(255,255,255,.5);}

/* ==========================================================================
   HERO - identical proportions to the other Queen forms
   ========================================================================== */
.qgr-hero{position:relative;display:flex;align-items:center;
  width:100%;height:clamp(320px,25vw,400px);overflow:hidden;background:#3E78A5;}
.qgr-hero__video{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 50%;border:0;pointer-events:none;display:block;}
/* The source is attached by Core's Hero loader. Until it is - and if scripts
   never run at all - an empty <video> makes Chrome draw a native control bar
   across the hero. Hidden until it has something to play, leaving the hero's
   own background colour, which is sampled from the footage. */
.qgr-hero__video:not([src]){display:none;}
.qgr-hero__scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,
    rgba(18,26,32,.26) 0%, rgba(18,26,32,.15) 44%,
    rgba(18,26,32,.03) 76%, rgba(18,26,32,0) 100%);}
.qgr-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:rgba(205,166,93,.62);z-index:3;}
.qgr-hero__inner{position:relative;z-index:2;width:100%;padding:0 clamp(20px,5vw,56px);}
.qgr-hero__box{width:100%;max-width:680px;margin:0 auto;}
/* No max-width on the eyebrow: the ch unit ignores letter-spacing, and a cap
   in ch wraps a tracked-out line that has ample room. */
.qgr-hero__eyebrow{display:block;margin:0 0 13px;
  font-family:var(--qej-sans);font-size:10.5px;font-weight:400;letter-spacing:.34em;
  text-transform:uppercase;color:#F0DBB0;
  text-shadow:0 1px 2px rgba(12,22,30,.5), 0 1px 14px rgba(12,22,30,.55);}
.qgr-hero__title{margin:0;font-family:var(--qej-serif);font-weight:400;
  font-size:clamp(30px,4.2vw,50px);line-height:1.06;letter-spacing:-.012em;
  color:#FFFCF5;max-width:22ch;
  text-shadow:0 1px 2px rgba(12,22,30,.42), 0 2px 30px rgba(12,22,30,.5);}
/* Supporting line beneath the heading. Sans rather than serif so it reads as
   an aside to the heading rather than competing with it, and carried at a
   heavier text-shadow than the body copy because it sits over moving footage. */
.qgr-hero__sub{margin:14px 0 0;font-family:var(--qej-sans);font-weight:300;
  font-size:clamp(15px,1.4vw,17px);line-height:1.6;letter-spacing:.005em;
  color:#F4EEE2;max-width:44ch;
  text-shadow:0 1px 2px rgba(12,22,30,.5), 0 1px 18px rgba(12,22,30,.6);}

/* ==========================================================================
   PANELS, HEADINGS, HELPERS
   ========================================================================== */
@keyframes qgrRise{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
.qgr-panel{animation:qgrRise .5s var(--qej-ease) backwards;}

.qgr-q{margin:0 0 clamp(18px,2.4vw,26px);
  font-family:var(--qej-serif);font-weight:500;
  font-size:clamp(30px,5vw,46px);line-height:1.06;letter-spacing:-.017em;
  color:var(--qej-espresso);max-width:18ch;}
.qgr-lede{margin:0 0 clamp(22px,2.8vw,30px);max-width:52ch;
  font-size:15.5px;line-height:1.7;color:var(--qej-soft);}
.qgr-help{margin:8px 0 0;font-size:13.5px;line-height:1.6;
  color:var(--qgr-helper);max-width:56ch;}
.qgr-quiet{margin:clamp(16px,2vw,22px) 0 0;font-size:13.5px;line-height:1.6;
  color:var(--qgr-helper);}
.qgr-quiet a{color:var(--qej-gold-ink);text-decoration:underline;text-underline-offset:3px;}
.qgr-rule{display:block;width:48px;height:1px;background:var(--qej-gold);
  margin:0 0 clamp(22px,3vw,30px);}

/* ==========================================================================
   THE ITINERARY HEADER

   Reference, dates and counts. Composed so that the fields Salesforce
   deliberately withholds before verification - advisor, agency, destinations -
   are simply not part of the design, rather than absent from it.
   ========================================================================== */
.qgr-head{margin:0 0 clamp(22px,2.8vw,30px);padding-bottom:clamp(16px,2vw,22px);
  border-bottom:1px solid var(--qej-rule);}
.qgr-head__ref{display:block;font-family:var(--qej-serif);
  font-size:clamp(26px,3.6vw,34px);line-height:1.1;letter-spacing:-.01em;
  color:var(--qej-espresso);}
.qgr-head__meta{display:block;margin-top:8px;font-size:14.5px;color:var(--qej-muted);}
.qgr-head__counts{display:block;margin-top:12px;font-size:14.5px;color:var(--qej-muted);}
.qgr-head__counts b{font-weight:500;color:var(--qej-espresso);
  font-variant-numeric:tabular-nums;}

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.qgr-prog{position:relative;display:flex;align-items:baseline;gap:14px;
  padding-bottom:11px;margin-bottom:clamp(22px,2.8vw,30px);
  border-bottom:1px solid var(--qej-rule);}
.qgr-prog__count{font-size:11px;letter-spacing:.26em;color:var(--qej-espresso);
  font-variant-numeric:tabular-nums;}
.qgr-prog__count b{font-weight:600;}
.qgr-prog__count i{font-style:normal;color:rgba(33,27,24,.62);}
.qgr-prog__label{margin-left:auto;font-family:var(--qej-serif);
  font-size:17px;font-style:italic;color:var(--qej-charcoal);}
.qgr-prog__track{position:absolute;left:0;right:0;bottom:-1px;height:1px;}
.qgr-prog__track i{display:block;height:1px;background:var(--qej-gold);
  /* one of three, so the bar is right before any script has run */
  width:33.333%;transition:width .6s var(--qej-ease);}

.qgr-step{display:none;}
.qgr-step.qej-on{display:block;animation:qgrRise .5s var(--qej-ease) backwards;}

/* ==========================================================================
   THE ROSTER

   Collapsed cards, one open at a time. A thirty-five person group is a list of
   one-line cards, not thirty-five open forms - which is the whole reason the
   card collapses at all.
   ========================================================================== */
.qgr-roster{margin:0 0 clamp(18px,2.2vw,24px);}
.qgr-roster:empty{margin:0;}

.qgr-card{border:1px solid var(--qej-rule);background:rgba(255,253,248,.5);
  margin:0 0 10px;transition:border-color .3s var(--qej-ease);}
.qgr-card--open{border-color:var(--qej-gold);background:rgba(255,253,248,.9);}
.qgr-card--locked{background:transparent;border-style:dashed;}
.qgr-card--removed{opacity:.55;}

.qgr-card__bar{display:flex;align-items:center;gap:12px;
  width:100%;padding:14px 16px;background:none;border:0;text-align:left;
  cursor:pointer;font-family:var(--qej-sans);font-size:15.5px;color:var(--qej-espresso);}
.qgr-card--locked .qgr-card__bar{cursor:default;}
.qgr-card__name{font-weight:400;}
.qgr-card__meta{margin-left:auto;font-size:13px;color:var(--qgr-helper);
  text-align:right;}
.qgr-card__tag{display:inline-block;margin-left:8px;padding:2px 8px;
  border:1px solid var(--qej-gold);font-size:10px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--qej-gold-ink);}
.qgr-card__body{padding:4px 16px 18px;border-top:1px solid var(--qej-rule);}
.qgr-card__acts{display:flex;gap:18px;align-items:center;
  padding:0 16px 14px;}
.qgr-card__act{padding:0;background:none;border:0;cursor:pointer;
  font-family:var(--qej-sans);font-size:12.5px;letter-spacing:.06em;
  color:var(--qej-muted);text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--qej-rule);transition:color .3s var(--qej-ease);}
.qgr-card__act:hover{color:var(--qej-gold-ink);}
.qgr-card__act--danger:hover{color:#8C3A24;}
.qgr-card__act:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:3px;}

.qgr-add{display:inline-flex;align-items:center;gap:10px;
  padding:14px 24px;background:none;border:1px dashed var(--qej-gold);
  cursor:pointer;font-family:var(--qej-sans);font-size:11px;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--qej-gold-ink);
  transition:background-color .3s var(--qej-ease);}
.qgr-add:hover{background:rgba(205,166,93,.1);}
.qgr-add:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:4px;}

.qgr-rostermsg{margin:0 0 14px;}

/* The payment-responsibility line sits directly under Add Traveller, where the
   decision is actually made. Informational only - there is no checkbox. */
/* THE JOIN CODE - one short code, set large enough to read back from an email */
.qgr-join{font-family:var(--qej-sans);font-size:22px !important;
  letter-spacing:.22em;text-transform:uppercase;max-width:260px;}
@media (max-width:600px){ .qgr-join{max-width:none;} }

/* the places-left line sits with the Add Traveler button it governs */
/* the consequence note and the places-left line sit with the button they
   belong to, both quieter than the question above them */
/* The button IS the answer to this error, so the error is attached to it: the
   button takes the warning colour and the message sits directly underneath. */
.qgr-adding.qej-bad .qgr-add{border-color:#8C3A24;color:#8C3A24;}
.qgr-adding.qej-bad .qgr-add:hover{background:rgba(140,58,36,.07);}
.qgr-adderr{max-width:52ch;}

.qgr-addnote{margin-top:10px !important;max-width:52ch;}
.qgr-cap{margin-top:8px !important;max-width:46ch;}

/* THE TRAVELLER EDITOR - one traveller at a time, with its own way back. */
.qgr-editor__who{margin:0 0 clamp(12px,1.6vw,16px) !important;
  font-family:var(--qej-sans);font-size:11px;font-weight:500;letter-spacing:.22em;
  text-transform:uppercase;color:var(--qej-gold-ink) !important;}
.qgr-editor__acts{display:flex;align-items:center;justify-content:space-between;
  gap:20px;margin-top:clamp(18px,2.2vw,26px);padding-top:clamp(13px,1.8vw,18px);
  border-top:1px solid var(--qej-rule);}
@media (max-width:600px){
  .qgr-editor__acts{gap:14px;}
  .qgr-editor__acts .qej-go{flex:1;justify-content:center;}
}
.qgr-method{margin-top:clamp(26px,3.2vw,38px);padding-top:clamp(18px,2.2vw,24px);
  border-top:1px solid var(--qej-rule);}

/* The line under the review that says, plainly, that sending is not paying. */
.qgr-terms{margin:clamp(18px,2.2vw,24px) 0 0 !important;
  padding-top:clamp(14px,1.8vw,18px);border-top:1px solid var(--qej-rule);
  font-size:13.5px !important;line-height:1.65;color:var(--qgr-helper) !important;
  max-width:58ch;}

/* the contact routes under the join code are an aside, not a call to action */
.qgr-ctas--quiet{margin-top:12px;}
.qgr-ctas--quiet .qgr-cta{height:42px;padding:0 18px;font-size:10px;}

/* the group of optional notes at the foot of a card, visually lighter than
   the essentials above them - no disclosure, just quieter */
.qgr-notes{margin-top:clamp(14px,1.8vw,20px);padding-top:clamp(12px,1.6vw,16px);
  border-top:1px solid var(--qej-rule);}
/* Core sizes a textarea at 96px, which suits a single "anything else?" box.
   Three of them stacked on every traveller card turns a lean form into a long
   one, so these open at about two lines and grow as they are typed into. They
   remain resizable. */
.qgr-notes .qej-area{min-height:52px;padding-top:6px;padding-bottom:8px;}
.qgr-count{display:block;margin-top:6px;font-size:12px;color:var(--qgr-helper);
  text-align:right;font-variant-numeric:tabular-nums;}


/* ==========================================================================
   REVIEW
   ========================================================================== */
.qgr-review{margin:0 0 clamp(20px,2.6vw,28px);}
.qgr-review__row{display:flex;align-items:baseline;gap:14px;
  padding:12px 0;border-bottom:1px solid var(--qej-rule);}
.qgr-review__row:last-child{border-bottom:0;}
.qgr-review__who{font-size:15.5px;color:var(--qej-espresso);}
.qgr-review__what{font-size:13.5px;color:var(--qgr-helper);}
.qgr-review__act{margin-left:auto;padding:0;background:none;border:0;cursor:pointer;
  font-family:var(--qej-sans);font-size:12.5px;color:var(--qej-muted);
  text-decoration:underline;text-underline-offset:3px;
  text-decoration-color:var(--qej-rule);}
.qgr-review__act:hover{color:var(--qej-gold-ink);}
.qgr-review__sum{margin:clamp(16px,2vw,22px) 0 0;padding-top:clamp(14px,1.8vw,18px);
  border-top:1px solid var(--qej-rule);font-size:15px;color:var(--qej-muted);}
.qgr-review__sum b{font-weight:500;color:var(--qej-espresso);}

/* ==========================================================================
   CLOSING AND STATUS SCREENS
   ========================================================================== */
.qgr-done__title{margin:0;font-family:var(--qej-serif);font-weight:400;
  font-size:clamp(30px,5.4vw,48px);line-height:1.06;letter-spacing:-.017em;
  color:var(--qej-charcoal);max-width:18ch;}
.qgr-panel p{margin:clamp(18px,2.4vw,26px) 0 0;max-width:48ch;
  font-size:16.5px;line-height:1.8;color:#3E362F;}
.qgr-done__go{margin-top:clamp(22px,2.8vw,30px) !important;}

.qgr-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(22px,2.8vw,30px);}
.qgr-cta{display:inline-flex;align-items:center;height:50px;padding:0 26px;
  border:1px solid var(--qej-gold);color:var(--qej-gold-ink);
  font-family:var(--qej-sans);font-size:11px;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;text-decoration:none;
  transition:background-color .3s var(--qej-ease);}
.qgr-cta:hover{background:rgba(205,166,93,.12);}
.qgr-cta--gold{background:var(--qej-gold);color:#1F1B17;}
.qgr-cta--gold:hover{background:#BC9350;color:#1F1B17;}
.qgr-cta:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:4px;}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width:600px){
  .qgr-body{padding:14px 12px 22px;}
  .qgr-wrap{padding:22px 18px 26px;border-radius:4px;
    box-shadow:0 18px 44px -26px rgba(18,12,6,.7),0 1px 6px rgba(18,12,6,.14);}
  .qgr-hero{height:340px;align-items:flex-start;padding-top:46px;}
  .qgr-hero__inner{padding:0 20px;}
  .qgr-hero__eyebrow{font-size:10px;letter-spacing:.28em;margin-bottom:11px;}
  .qgr-hero__title{font-size:clamp(28px,7.6vw,34px);max-width:18ch;}
  .qgr-hero__sub{font-size:15px;margin-top:11px;max-width:34ch;}
  .qgr-q{font-size:clamp(27px,7.6vw,34px);max-width:100%;}
  .qgr-head__ref{font-size:26px;}
  /* the card bar stacks so a long name never squeezes the meta line */
  .qgr-card__bar{flex-wrap:wrap;gap:4px 12px;padding:13px 14px;}
  .qgr-card__meta{margin-left:0;flex-basis:100%;text-align:left;}
  .qgr-card__body{padding:4px 14px 16px;}
  .qgr-card__acts{padding:0 14px 13px;}
  .qgr-add,.qgr-cta{width:100%;justify-content:center;}
  .qgr-review__row{flex-wrap:wrap;gap:4px 12px;}
  .qgr-review__act{margin-left:0;flex-basis:100%;text-align:left;}
}

/* ==========================================================================
   THEME ARMOUR

   A theme or an Elementor global will happily repaint a form control, and most
   of ours are <button> elements. Each rule restates our own intent at a weight
   no theme rule can beat, scoped to .qgr-app. Carried over from the approved
   Queen armour, arrived at against this theme.
   ========================================================================== */
.qgr-app button,.qgr-app input,.qgr-app textarea{
  -webkit-appearance:none !important;appearance:none !important;
  border-radius:0 !important;box-shadow:none !important;text-shadow:none !important;
  background-image:none !important;letter-spacing:inherit;}
.qgr-app .qej-sel__btn,.qgr-app .qej-sel__btn:hover,.qgr-app .qej-sel__btn:focus,
.qgr-app .qej-back,.qgr-app .qej-back:hover{
  background-color:transparent !important;text-transform:none;}
.qgr-app .qej-back{text-transform:uppercase !important;}
.qgr-app .qej-in,.qgr-app .qej-area,
.qgr-app .qej-in:focus,.qgr-app .qej-area:focus{
  background-color:transparent !important;color:var(--qej-espresso) !important;}
.qgr-app .qej-sel__opt,.qgr-app .qej-sel__find,.qgr-app .qej-sel__opt:hover{
  color:var(--qej-espresso) !important;text-transform:none !important;}
.qgr-app .qej-sel__find{background-color:var(--qej-sheet) !important;}
.qgr-app .qej-sel__opt{background-color:transparent !important;}
.qgr-app .qej-sel__opt:hover,.qgr-app .qej-sel__opt.qej-cursor{
  background-color:rgba(205,166,93,.13) !important;}
.qgr-app .qej-go,.qgr-app .qej-go:visited{
  background-color:var(--qej-gold) !important;color:#1F1B17 !important;
  background-image:none !important;box-shadow:none !important;
  text-transform:uppercase !important;}
.qgr-app .qej-go:hover,.qgr-app .qej-go:focus{
  background-color:#BC9350 !important;color:#1F1B17 !important;}
.qgr-app .qgr-cta--gold{background-color:var(--qej-gold) !important;color:#1F1B17 !important;}
.qgr-app input:invalid,.qgr-app textarea:invalid{box-shadow:none !important;}
.qgr-app .qgr-hero__title{margin:0 !important;padding:0 !important;
  color:#FCF9F2 !important;text-transform:none !important;}
.qgr-app .qgr-hero__eyebrow{margin:0 0 13px !important;padding:0 !important;}
.qgr-app .qgr-hero__sub{color:#F4EEE2 !important;text-transform:none !important;}
.qgr-app .qgr-hero__video{margin:0 !important;padding:0 !important;
  border-radius:0 !important;box-shadow:none !important;max-width:none !important;
  background:transparent !important;}
.qgr-app .qgr-hero{margin:0 !important;}

/* ANSWER VISIBILITY - every entered value pinned in every state. `color` alone
   is not enough: WebKit's -webkit-text-fill-color and its autofill repaint both
   beat it, and an Elementor global can set opacity on anything. */
.qgr-app .qej-sel__val,.qgr-app .qej-in,.qgr-app .qej-area{
  color:var(--qej-espresso) !important;
  -webkit-text-fill-color:var(--qej-espresso) !important;opacity:1 !important;}
.qgr-app .qej-sel__val.qej-ph{
  color:var(--qgr-placeholder) !important;
  -webkit-text-fill-color:var(--qgr-placeholder) !important;}
.qgr-app .qej-in::placeholder,.qgr-app .qej-area::placeholder{
  color:var(--qgr-placeholder) !important;
  -webkit-text-fill-color:var(--qgr-placeholder) !important;opacity:1 !important;}
.qgr-app .qej-opt{color:var(--qgr-helper) !important;}

@media (prefers-reduced-motion:reduce){
  .qgr-panel,.qgr-step.qej-on{animation:none;}
  .qgr-prog__track i{transition:none;}
}

/* ==========================================================================
   SPACING

   Queen Forms Core spaces a form generously, which suits Plan My Journey and
   Inquire for Your Client - a handful of questions, one decision per screen.
   General Reservation is a different shape: twelve fields for the first person
   and a card per traveller, so the same rhythm spreads the page out and makes
   a short registration feel long.

   Everything below is SPACING ONLY, scoped to .qgr-app. No typography, no
   colour, no field, no wording. Core is untouched and the other three forms
   keep the spacing they were approved with.

   THE TAP TARGETS ARE DELIBERATELY LEFT ALONE. Core gives an input and a
   select 8px above and 12px below, which with the 17.5px line makes roughly
   44px - the smallest comfortable target on a phone. Tightening the input
   itself would have been the easiest saving and the wrong one, so the space
   comes from around the controls instead: the gap between blocks, the label,
   the help line, the card padding and the notes.
   ========================================================================== */

.qgr-app{
  /* one value, so a row, a column gap and a section all breathe alike */
  --qgr-row:clamp(15px,1.6vw,18px);
}

/* the largest single saving: Core sets 26-38px below every block */
.qgr-app .qej-block{margin-bottom:var(--qgr-row);}
.qgr-app .qej-block:last-child{margin-bottom:0;}

/* paired fields stay side by side at every width, as approved - only the gap
   between them tightens, which also gives each field more room to show its
   value on a narrow phone */
.qgr-app .qej-cols{gap:clamp(16px,2.4vw,30px);margin-bottom:var(--qgr-row);}

/* label to input */
.qgr-app .qej-lb{margin-bottom:6px;}
.qgr-app .qej-err{margin-top:6px;}
.qgr-app .qgr-help{margin-top:6px;line-height:1.5;}

/* Three note fields sit on every card. Core's 96px suits a single "anything
   else?" box; three of them stacked is what turned a lean card into a long
   one. They open at about two lines and grow as they are typed into. */
.qgr-app .qej-area{min-height:46px;padding:6px 0 9px;}
.qgr-app .qgr-notes{margin-top:14px;padding-top:12px;}
.qgr-app .qgr-notes .qej-block{margin-bottom:12px;}
.qgr-app .qgr-notes .qej-block:last-child{margin-bottom:0;}

/* headings and the step frame */
.qgr-app .qgr-q{margin-bottom:clamp(12px,1.5vw,16px);}
.qgr-app .qgr-lede{margin-bottom:clamp(13px,1.6vw,17px);}
.qgr-app .qgr-prog{margin-bottom:clamp(16px,2vw,22px);padding-bottom:9px;}
.qgr-app .qej-nav{margin-top:clamp(18px,2.2vw,26px);padding-top:clamp(13px,1.8vw,18px);}

/* traveller cards */
.qgr-app .qgr-card{margin-bottom:8px;}
.qgr-app .qgr-card__bar{padding:12px 14px;}
.qgr-app .qgr-card__body{padding:2px 14px 14px;}
.qgr-app .qgr-card__acts{padding:0 14px 12px;}
.qgr-app .qgr-roster{margin-bottom:14px;}
.qgr-app .qgr-rostermsg{margin-bottom:10px;}
.qgr-app .qgr-method{margin-top:clamp(18px,2.2vw,24px);padding-top:clamp(14px,1.8vw,18px);}

/* review */
.qgr-app .qgr-review{margin-bottom:clamp(16px,2vw,22px);}
.qgr-app .qgr-review__row{padding:9px 0;}
.qgr-app .qgr-review__sum{margin-top:clamp(12px,1.6vw,16px);padding-top:clamp(11px,1.5vw,14px);}
.qgr-app .qgr-terms{margin-top:clamp(14px,1.8vw,18px) !important;
  padding-top:clamp(11px,1.5vw,14px);}

/* MOBILE - where the spread was worst, because a phone shows one column of a
   long form and every extra gap costs a scroll. */
@media (max-width:600px){
  .qgr-app{--qgr-row:14px;}
  .qgr-app .qgr-body{padding:12px 10px 18px;}
  .qgr-app .qgr-wrap{padding:20px 16px 22px;}
  .qgr-app .qej-cols{gap:14px;}
  .qgr-app .qgr-q{margin-bottom:14px;}
  .qgr-app .qgr-lede{margin-bottom:14px;}
  .qgr-app .qgr-prog{margin-bottom:16px;}
  .qgr-app .qgr-card__bar{padding:11px 13px;}
  .qgr-app .qgr-card__body{padding:2px 13px 13px;}
  .qgr-app .qgr-card__acts{padding:0 13px 11px;}
  .qgr-app .qgr-notes{margin-top:12px;padding-top:10px;}
  .qgr-app .qej-nav{margin-top:18px;padding-top:13px;}
}
