@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 Reserve My Spot - 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 .qrms- so that if this form ever
 * shares a page with Plan My Journey or Inquire for Your Client, none of them
 * can restyle another.
 */

.qrms-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. */
  --qrms-placeholder:#8A8073;
  --qrms-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;}
.qrms-app *,.qrms-app *::before,.qrms-app *::after{box-sizing:border-box;}
.qrms-app [hidden]{display:none !important;}

.qrms-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%;}

.qrms-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
   ========================================================================== */
.qrms-hero{position:relative;display:flex;align-items:center;
  width:100%;height:clamp(320px,25vw,400px);overflow:hidden;background:#3E78A5;}
.qrms-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. */
.qrms-hero__video:not([src]){display:none;}
.qrms-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%);}
.qrms-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:rgba(205,166,93,.62);z-index:3;}
.qrms-hero__inner{position:relative;z-index:2;width:100%;padding:0 clamp(20px,5vw,56px);}
.qrms-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. */
.qrms-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);}
.qrms-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. */
.qrms-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 qrmsRise{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
.qrms-panel{animation:qrmsRise .5s var(--qej-ease) backwards;}

.qrms-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;}
.qrms-lede{margin:0 0 clamp(22px,2.8vw,30px);max-width:52ch;
  font-size:15.5px;line-height:1.7;color:var(--qej-soft);}
.qrms-help{margin:8px 0 0;font-size:13.5px;line-height:1.6;
  color:var(--qrms-helper);max-width:56ch;}
.qrms-quiet{margin:clamp(16px,2vw,22px) 0 0;font-size:13.5px;line-height:1.6;
  color:var(--qrms-helper);}
.qrms-quiet a{color:var(--qej-gold-ink);text-decoration:underline;text-underline-offset:3px;}
.qrms-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.
   ========================================================================== */
.qrms-head{margin:0 0 clamp(22px,2.8vw,30px);padding-bottom:clamp(16px,2vw,22px);
  border-bottom:1px solid var(--qej-rule);}
.qrms-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);}
.qrms-head__meta{display:block;margin-top:8px;font-size:14.5px;color:var(--qej-muted);}
.qrms-head__counts{display:block;margin-top:12px;font-size:14.5px;color:var(--qej-muted);}
.qrms-head__counts b{font-weight:500;color:var(--qej-espresso);
  font-variant-numeric:tabular-nums;}

/* ==========================================================================
   PROGRESS
   ========================================================================== */
.qrms-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);}
.qrms-prog__count{font-size:11px;letter-spacing:.26em;color:var(--qej-espresso);
  font-variant-numeric:tabular-nums;}
.qrms-prog__count b{font-weight:600;}
.qrms-prog__count i{font-style:normal;color:rgba(33,27,24,.62);}
.qrms-prog__label{margin-left:auto;font-family:var(--qej-serif);
  font-size:17px;font-style:italic;color:var(--qej-charcoal);}
.qrms-prog__track{position:absolute;left:0;right:0;bottom:-1px;height:1px;}
.qrms-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);}

.qrms-step{display:none;}
.qrms-step.qej-on{display:block;animation:qrmsRise .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.
   ========================================================================== */
.qrms-roster{margin:0 0 clamp(18px,2.2vw,24px);}
.qrms-roster:empty{margin:0;}

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

.qrms-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);}
.qrms-card--locked .qrms-card__bar{cursor:default;}
.qrms-card__name{font-weight:400;}
.qrms-card__meta{margin-left:auto;font-size:13px;color:var(--qrms-helper);
  text-align:right;}
.qrms-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);}
.qrms-card__body{padding:4px 16px 18px;border-top:1px solid var(--qej-rule);}
.qrms-card__acts{display:flex;gap:18px;align-items:center;
  padding:0 16px 14px;}
.qrms-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);}
.qrms-card__act:hover{color:var(--qej-gold-ink);}
.qrms-card__act--danger:hover{color:#8C3A24;}
.qrms-card__act:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:3px;}

.qrms-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);}
.qrms-add:hover{background:rgba(205,166,93,.1);}
.qrms-add:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:4px;}

.qrms-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 */
.qrms-join{font-family:var(--qej-sans);font-size:22px !important;
  letter-spacing:.22em;text-transform:uppercase;max-width:260px;}
@media (max-width:600px){ .qrms-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. */
.qrms-adding.qej-bad .qrms-add{border-color:#8C3A24;color:#8C3A24;}
.qrms-adding.qej-bad .qrms-add:hover{background:rgba(140,58,36,.07);}
.qrms-adderr{max-width:52ch;}

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

/* ==========================================================================
   THE DEPARTURE SUMMARY - read-only, from Salesforce. Set apart from the
   questions so it reads as something Queen is telling you, not something to
   answer.
   ========================================================================== */
.qrms-dep{margin:0 0 clamp(20px,2.6vw,28px);padding-bottom:clamp(16px,2vw,22px);
  border-bottom:1px solid var(--qej-rule);}
.qrms-dep__name{display:block;font-family:var(--qej-serif);
  font-size:clamp(26px,3.6vw,34px);line-height:1.12;letter-spacing:-.01em;
  color:var(--qej-espresso);}
.qrms-dep__row{display:block;margin-top:8px;font-size:14.5px;color:var(--qej-muted);}
.qrms-dep__row b{font-weight:500;color:var(--qej-espresso);font-variant-numeric:tabular-nums;}

/* ONE TRAVELLER PER LINE, not a card roster. Enough to see who is on the
   booking and to correct a mistake. */
.qrms-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;
  padding:11px 0;border-bottom:1px solid var(--qej-rule);}
.qrms-line:last-of-type{border-bottom:0;}
.qrms-line__name{font-size:15.5px;color:var(--qej-espresso);}
.qrms-line__meta{font-size:13.5px;color:var(--qrms-helper);}
.qrms-line__acts{margin-left:auto;display:flex;gap:14px;}
@media (max-width:600px){
  .qrms-line__acts{margin-left:0;flex-basis:100%;}
}

/* THE RUNNING SUMMARY - count on the left, money on the right. */
.qrms-total{display:flex;align-items:baseline;justify-content:space-between;
  gap:16px;margin-top:clamp(16px,2vw,22px);padding-top:clamp(13px,1.7vw,17px);
  border-top:1px solid var(--qej-rule);}
.qrms-total__count{font-size:14.5px;color:var(--qej-muted);}

/* THE MONEY. The journey total sits quietly; the amount due now is the figure
   somebody acts on, so it is the one set in the serif. */
.qrms-money{margin-left:auto;min-width:min(280px,100%);}
.qrms-money__row{display:flex;align-items:baseline;justify-content:space-between;
  gap:18px;padding:5px 0;}
.qrms-money__k{font-size:14px;color:var(--qej-muted);}
.qrms-money__v{font-variant-numeric:tabular-nums;font-size:15px;
  color:var(--qej-espresso);}
.qrms-money__row--total{padding-bottom:8px;border-bottom:1px solid var(--qej-rule);}
.qrms-money__row--total .qrms-money__v{font-family:var(--qej-serif);font-size:19px;}
.qrms-money__row--due{padding-top:9px;}
.qrms-money__row--due .qrms-money__k{color:var(--qej-espresso);}
.qrms-money__row--due .qrms-money__v{font-family:var(--qej-serif);
  font-size:clamp(20px,2.5vw,24px);color:var(--qej-gold-ink);}
@media (max-width:600px){
  .qrms-total{display:block;}
  .qrms-money{margin-left:0;margin-top:10px;}
}

/* THE BOOKING CONTEXT - read-only facts, set as a definition list because
   that is what they are: a label and the value Queen has set. */
.qrms-facts{display:grid;grid-template-columns:auto 1fr;gap:4px 18px;
  margin:10px 0 0;}
.qrms-facts__k{margin:0;font-size:13px;letter-spacing:.02em;color:var(--qrms-helper);}
.qrms-facts__v{margin:0;font-size:14.5px;color:var(--qej-espresso);}
.qrms-facts__v--rate{font-variant-numeric:tabular-nums;}
@media (max-width:600px){
  .qrms-facts{grid-template-columns:auto 1fr;gap:3px 12px;}
}
.qrms-total__sum{font-family:var(--qej-serif);font-size:clamp(19px,2.4vw,23px);
  color:var(--qej-espresso);font-variant-numeric:tabular-nums;}

/* OCCUPANCY - two priced choices, so they are cards rather than a dropdown:
   the price is part of the decision and must be visible while choosing. */
.qrms-occ{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.8vw,18px);}
.qrms-occ__opt{display:block;padding:16px 18px;border:1px solid var(--qej-rule);
  background:rgba(255,253,248,.5);cursor:pointer;text-align:left;
  transition:border-color .3s var(--qej-ease),background-color .3s var(--qej-ease);}
.qrms-occ__opt:hover{border-color:var(--qej-gold);}
.qrms-occ__opt[aria-checked="true"]{border-color:var(--qej-gold);
  background:rgba(205,166,93,.09);}
.qrms-occ__opt:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:3px;}
.qrms-occ__name{display:block;font-size:15.5px;color:var(--qej-espresso);}
.qrms-occ__price{display:block;margin-top:5px;font-family:var(--qej-serif);
  font-size:21px;color:var(--qej-espresso);font-variant-numeric:tabular-nums;}
.qrms-occ__per{display:block;margin-top:3px;font-size:12.5px;color:var(--qrms-helper);}
.qrms-occ__price{margin-top:4px;font-size:19px;}
/* an unpublished rate is set in the quieter voice of the helper text, so it
   never reads as a number */
.qrms-occ__price--ask{font-family:var(--qej-sans);font-size:14px;
  color:var(--qrms-helper);letter-spacing:.02em;}
.qrms-total__sum--ask{font-family:var(--qej-sans);font-size:15px;
  color:var(--qej-muted);}
@media (max-width:600px){ .qrms-occ{grid-template-columns:1fr;} }

/* the advisor guidance sits with the email field it concerns */
.qrms-advisor-err{display:block;margin-top:8px;max-width:56ch;}
.qrms-advisor-acts{display:flex;align-items:center;gap:16px;margin-top:10px;flex-wrap:wrap;}
.qrms-advisor-acts .qrms-cta{height:38px;padding:0 16px;font-size:10px;}

/* the Queen reference on the closing screen - the customer's handle */
.qrms-ref{margin:clamp(18px,2.2vw,24px) 0 0;font-family:var(--qej-serif);
  font-size:clamp(24px,3.2vw,30px);letter-spacing:.02em;color:var(--qej-espresso);}

/* THE TRAVELLER EDITOR - one traveller at a time, with its own way back. */
.qrms-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;}
.qrms-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){
  .qrms-editor__acts{gap:14px;}
  .qrms-editor__acts .qej-go{flex:1;justify-content:center;}
}
.qrms-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. */
.qrms-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(--qrms-helper) !important;
  max-width:58ch;}

/* the contact routes under the join code are an aside, not a call to action */
.qrms-ctas--quiet{margin-top:12px;}
.qrms-ctas--quiet .qrms-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 */
.qrms-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. */
.qrms-notes .qej-area{min-height:52px;padding-top:6px;padding-bottom:8px;}
.qrms-count{display:block;margin-top:6px;font-size:12px;color:var(--qrms-helper);
  text-align:right;font-variant-numeric:tabular-nums;}


/* ==========================================================================
   REVIEW
   ========================================================================== */
.qrms-review{margin:0 0 clamp(20px,2.6vw,28px);}
.qrms-review__row{display:flex;align-items:baseline;gap:14px;
  padding:12px 0;border-bottom:1px solid var(--qej-rule);}
.qrms-review__row:last-child{border-bottom:0;}
.qrms-review__who{font-size:15.5px;color:var(--qej-espresso);}
.qrms-review__what{font-size:13.5px;color:var(--qrms-helper);}
.qrms-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);}
.qrms-review__act:hover{color:var(--qej-gold-ink);}
.qrms-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);}
.qrms-review__sum b{font-weight:500;color:var(--qej-espresso);}

/* ==========================================================================
   CLOSING AND STATUS SCREENS
   ========================================================================== */
.qrms-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;}
.qrms-panel p{margin:clamp(18px,2.4vw,26px) 0 0;max-width:48ch;
  font-size:16.5px;line-height:1.8;color:#3E362F;}
.qrms-done__go{margin-top:clamp(22px,2.8vw,30px) !important;}

.qrms-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(22px,2.8vw,30px);}
.qrms-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);}
.qrms-cta:hover{background:rgba(205,166,93,.12);}
.qrms-cta--gold{background:var(--qej-gold);color:#1F1B17;}
.qrms-cta--gold:hover{background:#BC9350;color:#1F1B17;}
.qrms-cta:focus-visible{outline:1px solid var(--qej-gold-ink);outline-offset:4px;}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width:600px){
  .qrms-body{padding:14px 12px 22px;}
  .qrms-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);}
  .qrms-hero{height:340px;align-items:flex-start;padding-top:46px;}
  .qrms-hero__inner{padding:0 20px;}
  .qrms-hero__eyebrow{font-size:10px;letter-spacing:.28em;margin-bottom:11px;}
  .qrms-hero__title{font-size:clamp(28px,7.6vw,34px);max-width:18ch;}
  .qrms-hero__sub{font-size:15px;margin-top:11px;max-width:34ch;}
  .qrms-q{font-size:clamp(27px,7.6vw,34px);max-width:100%;}
  .qrms-head__ref{font-size:26px;}
  /* the card bar stacks so a long name never squeezes the meta line */
  .qrms-card__bar{flex-wrap:wrap;gap:4px 12px;padding:13px 14px;}
  .qrms-card__meta{margin-left:0;flex-basis:100%;text-align:left;}
  .qrms-card__body{padding:4px 14px 16px;}
  .qrms-card__acts{padding:0 14px 13px;}
  .qrms-add,.qrms-cta{width:100%;justify-content:center;}
  .qrms-review__row{flex-wrap:wrap;gap:4px 12px;}
  .qrms-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 .qrms-app. Carried over from the approved
   Queen armour, arrived at against this theme.
   ========================================================================== */
.qrms-app button,.qrms-app input,.qrms-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;}
.qrms-app .qej-sel__btn,.qrms-app .qej-sel__btn:hover,.qrms-app .qej-sel__btn:focus,
.qrms-app .qej-back,.qrms-app .qej-back:hover{
  background-color:transparent !important;text-transform:none;}
.qrms-app .qej-back{text-transform:uppercase !important;}
.qrms-app .qej-in,.qrms-app .qej-area,
.qrms-app .qej-in:focus,.qrms-app .qej-area:focus{
  background-color:transparent !important;color:var(--qej-espresso) !important;}
.qrms-app .qej-sel__opt,.qrms-app .qej-sel__find,.qrms-app .qej-sel__opt:hover{
  color:var(--qej-espresso) !important;text-transform:none !important;}
.qrms-app .qej-sel__find{background-color:var(--qej-sheet) !important;}
.qrms-app .qej-sel__opt{background-color:transparent !important;}
.qrms-app .qej-sel__opt:hover,.qrms-app .qej-sel__opt.qej-cursor{
  background-color:rgba(205,166,93,.13) !important;}
.qrms-app .qej-go,.qrms-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;}
.qrms-app .qej-go:hover,.qrms-app .qej-go:focus{
  background-color:#BC9350 !important;color:#1F1B17 !important;}
.qrms-app .qrms-cta--gold{background-color:var(--qej-gold) !important;color:#1F1B17 !important;}
.qrms-app input:invalid,.qrms-app textarea:invalid{box-shadow:none !important;}
.qrms-app .qrms-hero__title{margin:0 !important;padding:0 !important;
  color:#FCF9F2 !important;text-transform:none !important;}
.qrms-app .qrms-hero__eyebrow{margin:0 0 13px !important;padding:0 !important;}
.qrms-app .qrms-hero__sub{color:#F4EEE2 !important;text-transform:none !important;}
.qrms-app .qrms-hero__video{margin:0 !important;padding:0 !important;
  border-radius:0 !important;box-shadow:none !important;max-width:none !important;
  background:transparent !important;}
.qrms-app .qrms-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. */
.qrms-app .qej-sel__val,.qrms-app .qej-in,.qrms-app .qej-area{
  color:var(--qej-espresso) !important;
  -webkit-text-fill-color:var(--qej-espresso) !important;opacity:1 !important;}
.qrms-app .qej-sel__val.qej-ph{
  color:var(--qrms-placeholder) !important;
  -webkit-text-fill-color:var(--qrms-placeholder) !important;}
.qrms-app .qej-in::placeholder,.qrms-app .qej-area::placeholder{
  color:var(--qrms-placeholder) !important;
  -webkit-text-fill-color:var(--qrms-placeholder) !important;opacity:1 !important;}
.qrms-app .qej-opt{color:var(--qrms-helper) !important;}

@media (prefers-reduced-motion:reduce){
  .qrms-panel,.qrms-step.qej-on{animation:none;}
  .qrms-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 .qrms-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.
   ========================================================================== */

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

/* the largest single saving: Core sets 26-38px below every block */
.qrms-app .qej-block{margin-bottom:var(--qrms-row);}
.qrms-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 */
.qrms-app .qej-cols{gap:clamp(16px,2.4vw,30px);margin-bottom:var(--qrms-row);}

/* label to input */
.qrms-app .qej-lb{margin-bottom:6px;}
.qrms-app .qej-err{margin-top:6px;}
.qrms-app .qrms-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. */
.qrms-app .qej-area{min-height:46px;padding:6px 0 9px;}
.qrms-app .qrms-notes{margin-top:14px;padding-top:12px;}
.qrms-app .qrms-notes .qej-block{margin-bottom:12px;}
.qrms-app .qrms-notes .qej-block:last-child{margin-bottom:0;}

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

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

/* review */
.qrms-app .qrms-review{margin-bottom:clamp(16px,2vw,22px);}
.qrms-app .qrms-review__row{padding:9px 0;}
.qrms-app .qrms-review__sum{margin-top:clamp(12px,1.6vw,16px);padding-top:clamp(11px,1.5vw,14px);}
.qrms-app .qrms-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){
  .qrms-app{--qrms-row:14px;}
  .qrms-app .qrms-body{padding:12px 10px 18px;}
  .qrms-app .qrms-wrap{padding:20px 16px 22px;}
  .qrms-app .qej-cols{gap:14px;}
  .qrms-app .qrms-q{margin-bottom:14px;}
  .qrms-app .qrms-lede{margin-bottom:14px;}
  .qrms-app .qrms-prog{margin-bottom:16px;}
  .qrms-app .qrms-card__bar{padding:11px 13px;}
  .qrms-app .qrms-card__body{padding:2px 13px 13px;}
  .qrms-app .qrms-card__acts{padding:0 13px 11px;}
  .qrms-app .qrms-notes{margin-top:12px;padding-top:10px;}
  .qrms-app .qej-nav{margin-top:18px;padding-top:13px;}
}
