/* RT gift vouchers (6 Oct 2026): the buy form on /gifts, the thank-you page and the staff look-up.
   Same tokens as the rest of the site; ochre is kept for the one paying action. */
html body #rt-site.rt-shell #siteWrapper.v2 .vc-buy { background: #fff; scroll-margin-top: 90px; }
html body #rt-site.rt-shell #siteWrapper.v2 .vc-note { margin-top: 22px; color: var(--v2-ink-2); }
html body #rt-site.rt-shell #siteWrapper.v2 .vc-form {
  display: grid; gap: 26px; min-width: 0;
  & fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  & legend { font: italic 400 17px/1.3 var(--v2-display); color: var(--v2-rim); padding: 0 0 10px; }
  & .vc-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  & .vc-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  & .vc-opts label, & .vc-chips label { position: relative; display: block; cursor: pointer; }
  & .vc-opts input, & .vc-chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  & .vc-opts span { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid rgba(23, 46, 70, .28); background: var(--v2-plate); }
  & .vc-opts b { font: 500 16px/1.3 var(--v2-text); color: var(--v2-navy); }
  & .vc-opts i { font: 400 13.5px/1.35 var(--v2-text); color: var(--v2-ink-2); font-style: normal; }
  & .vc-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  & .vc-chips span { display: block; text-align: center; padding: 12px 4px; border: 1px solid rgba(23, 46, 70, .28); background: var(--v2-plate); font: 400 20px/1.1 var(--v2-display); color: var(--v2-navy); }
  & input:checked + span { border-color: var(--v2-navy); background: var(--v2-navy); color: #fff; }
  & input:checked + span b, & input:checked + span i { color: #fff; }
  & input:focus-visible + span { outline: 3px solid var(--v2-rim); outline-offset: 2px; }
  & .vc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  & .vc-field { display: grid; gap: 6px; min-width: 0; }
  & .vc-field--wide { grid-column: 1 / -1; }
  & .vc-field > span { font: 500 14.5px/1.3 var(--v2-text); color: var(--v2-navy); }
  & .vc-field input, & .vc-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(23, 46, 70, .4); border-radius: 0; background: #fff; color: var(--v2-navy); font: 400 16px/1.4 var(--v2-text); }
  & .vc-field textarea { resize: vertical; }
  & .vc-field input:focus-visible, & .vc-field textarea:focus-visible { outline: 3px solid var(--v2-rim); outline-offset: 1px; }
  & .vc-field small, & .vc-small, & .vc-post { font: 400 13.5px/1.5 var(--v2-text); color: var(--v2-ink-2); }
  & .vc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  & .vc-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--v2-navy); }
  & .vc-total p { display: grid; margin: 0; }
  & .vc-total span { font: italic 400 15px/1.2 var(--v2-display); color: var(--v2-rim); }
  & .vc-total b { font: 400 38px/1 var(--v2-display); color: var(--v2-navy); letter-spacing: -.02em; }
  & .vc-total button[disabled] { opacity: .6; cursor: progress; }
  & .vc-error { margin: 0; padding: 12px 14px; border-left: 4px solid var(--v2-rust); background: #fbf1ec; color: #6b2c12; font: 400 15px/1.45 var(--v2-text); }
  & [hidden] { display: none !important; }
}
@media (max-width: 700px) {
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-opts { grid-template-columns: 1fr; }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-fields { grid-template-columns: 1fr; }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-chips { gap: 6px; }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-chips span { font-size: 16px; padding: 13px 2px; letter-spacing: -.01em; }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-total { flex-direction: column; align-items: stretch; }
  html body #rt-site.rt-shell #siteWrapper.v2 .vc-form .vc-total .v2-btn { width: 100%; justify-content: center; text-align: center; }
}

/* Staff look-up: plain and large, for a phone at the till */
html body #rt-site.rt-shell #siteWrapper.v2 .vc-staff { padding: clamp(110px, 12vw, 150px) var(--v2-gutter) 80px; max-width: 640px; margin: 0 auto; }
html body #rt-site.rt-shell #siteWrapper.v2 .vc-staff {
  & h1 { font: 400 clamp(34px, 6vw, 46px)/1.05 var(--v2-display); color: var(--v2-navy); margin: 0 0 10px; }
  & > p { color: var(--v2-ink-2); margin: 0 0 26px; }
  & form { display: grid; gap: 14px; margin: 0 0 22px; }
  & label { display: grid; gap: 6px; font: 500 14.5px/1.3 var(--v2-text); color: var(--v2-navy); }
  & input { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid rgba(23, 46, 70, .45); border-radius: 0; background: #fff; color: var(--v2-navy); font: 400 18px/1.3 var(--v2-text); }
  & input[name=code] { text-transform: uppercase; letter-spacing: .06em; }
  & select { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid rgba(23, 46, 70, .45); border-radius: 0; background: #fff; color: var(--v2-navy); font: 400 18px/1.3 var(--v2-text); }
  & .va-add { border: 2px solid var(--v2-rim); background: #fff; padding: 22px; }
  & .va-add > p { margin: 0; color: var(--v2-ink-2); }
  & .va-addrow { margin: 0 0 22px; }
  & input:focus-visible { outline: 3px solid var(--v2-rim); outline-offset: 1px; }
  & .vc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  & .v2-btn { justify-content: center; }
  & .vc-plain { background: none; border: 1px solid var(--v2-navy); color: var(--v2-navy); min-height: 54px; font: 500 16px/1 var(--v2-text); cursor: pointer; }
  & .vc-card { border: 2px solid var(--v2-rim); background: #fff; padding: 22px; margin: 0 0 22px; }
  & .vc-card h2 { font: 400 44px/1 var(--v2-display); color: var(--v2-navy); margin: 4px 0 6px; }
  & .vc-card .vc-k { font: italic 400 16px/1.3 var(--v2-display); color: var(--v2-rim); margin: 0; }
  & .vc-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font: 400 15px/1.45 var(--v2-text); color: var(--v2-ink-2); }
  & .vc-card dt { color: var(--v2-navy); font-weight: 500; }
  & .vc-card dd { margin: 0; }
  & .vc-bad { border-color: var(--v2-rust); }
  & .vc-bad h2 { color: #8a3a17; }
  & .vc-msg { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--v2-rust); background: #fbf1ec; color: #6b2c12; }
  & .vc-ok { border-left-color: var(--v2-green); background: #eef4f2; color: #173430; }
  & .vc-log { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid rgba(23, 46, 70, .2); font: 400 14px/1.5 var(--v2-text); color: var(--v2-ink-2); }
  & .vc-log li { padding: 8px 0; border-bottom: 1px solid rgba(23, 46, 70, .12); display: flex; justify-content: space-between; gap: 12px; }
  & [hidden] { display: none !important; }
}

/* ── Voucher admin (/staff/admin, 7 Oct 2026): the whole list on one wide page ── */
html body #rt-site.rt-shell #siteWrapper.v2 .vc-staff.vc-admin {
  max-width: 1180px;
  & form[data-step=pin] { max-width: 440px; }
  & .va-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 30px; border-top: 2px solid var(--v2-rim); border-bottom: 1px solid rgba(23, 46, 70, .2); }
  & .va-totals div { padding: 18px 0 20px; }
  & .va-totals dt { font-family: var(--v2-display) !important; font-weight: 400 !important; font-size: clamp(32px, 3.4vw, 44px) !important; line-height: 1 !important; letter-spacing: -.02em; color: var(--v2-navy); }
  & .va-totals dd { margin: 8px 0 0; font: 400 15px/1.4 var(--v2-text); color: var(--v2-ink-2); }
  & .va-tools { display: grid; gap: 14px; margin: 0 0 12px; }
  & .va-search { max-width: 520px; }
  & .va-filters { display: flex; flex-wrap: wrap; gap: 8px; }
  & .va-filters button { min-height: 44px; padding: 0 16px; border: 1px solid var(--v2-navy); background: none; color: var(--v2-navy); font: 500 15px/1 var(--v2-text); cursor: pointer; }
  & .va-filters button[aria-pressed=true] { background: var(--v2-navy); color: #fff; }
  & .va-check { display: flex; align-items: center; gap: 10px; font: 400 15px/1.4 var(--v2-text); color: var(--v2-ink-2); margin: 0; }
  & .va-check input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--v2-navy); }
  & .va-count { margin: 14px 0 10px; font: 400 15px/1.4 var(--v2-text); color: var(--v2-ink-2); }
  & .va-scroll { overflow-x: auto; margin: 0 0 28px; border-top: 2px solid var(--v2-rim); }
  & .va-table { width: 100%; min-width: 900px; border-collapse: collapse; font: 400 15px/1.4 var(--v2-text); }
  & .va-table th { text-align: left; font: italic 400 16px/1.3 var(--v2-display); color: var(--v2-rim); padding: 11px 16px 11px 0; border-bottom: 1px solid rgba(23, 46, 70, .3); white-space: nowrap; }
  & .va-table td { padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(23, 46, 70, .12); color: var(--v2-navy); vertical-align: top; }
  & .va-table .n { text-align: right; font-variant-numeric: tabular-nums; }
  & .va-table tr.is-practice td { color: var(--v2-ink-2); }
  & .va-table small { display: block; font: 400 13px/1.3 var(--v2-text); color: var(--v2-rust); }
  & .va-code { background: none; border: 0; padding: 0; min-height: 0; width: auto; font: 500 15px/1.4 var(--v2-text); letter-spacing: .03em; color: var(--v2-navy); text-decoration: underline; text-decoration-color: var(--v2-ochre); text-underline-offset: 4px; cursor: pointer; white-space: nowrap; }
  & .va-code:focus-visible, & .va-filters button:focus-visible { outline: 3px solid var(--v2-ochre); outline-offset: 2px; }
  & .vc-card { max-width: 640px; }
  & .va-link { display: grid; place-items: center; text-decoration: none; text-align: center; padding: 0 12px; }
  & > div > .vc-row { max-width: 640px; }
  @media (max-width: 760px) { & .va-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}
