/* Fonts and colours copied from the WordPress theme (WebsiteWP/wp-content/themes/pvh).
   A deliberate copy: the two sites run on separate servers (spec D12). */
:root { --blaze: #F5C60B; --blaze-dim: #c9a30a; --stone: #1c1917; --rock: #292524; --earth: #44403c; --sand: #a8a29e; --fog: #d6d3d1; --mist: #f5f5f4; --snow: #fafaf9; --moss: #365314; --fern: #4d7c0f; --red: #b42318; --blaze-dim-text: #876d07; }

@font-face { font-family: 'Archivo Black'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/archivo-black-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/dm-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }

body.pvh-old { min-height: 100vh; display: flex; flex-direction: column; }
.pvh-old-main { flex: 1; width: 100%; min-width: 0; box-sizing: border-box; }
body.pvh, body.pvh-old { margin: 0; background: var(--snow); font-family: 'DM Sans', system-ui, sans-serif; }
body.pvh { color: var(--stone); font-size: 16px; line-height: 1.55; text-align: left; }
body.pvh *, .pvh-head, .pvh-head *, .pvh-foot, .pvh-foot * { box-sizing: border-box; }
body.pvh h1, body.pvh h2, body.pvh h3, body.pvh .disp { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; margin: 0; color: var(--stone); }
body.pvh p { margin: 0; }
body.pvh * { box-sizing: border-box; }
body.pvh h1, body.pvh h2, body.pvh h3, body.pvh .disp { font-family: 'Archivo Black', Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; margin: 0; color: var(--stone); }
body.pvh p { margin: 0; }
.pvh-head { background: var(--stone); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 80px; }
.pvh-brand { display: flex; align-items: center; gap: 14px; }
.pvh-brand img { width: 34px; height: 52px; object-fit: cover; }
.pvh-brand-name { font-family: 'Archivo Black'; font-size: 17px; letter-spacing: .06em; line-height: 1.1; }
.pvh-brand-tag { font-size: 11px; letter-spacing: .28em; color: var(--blaze); font-weight: 600; }
.pvh-demo { margin: 0; padding: 4px 16px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.pvh-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blaze); color: var(--stone); font-family: 'Archivo Black'; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 13px 20px; border: 0; white-space: nowrap; }
.pvh-btn.ghost { background: transparent; border: 1.5px solid var(--stone); }
.pvh-btn.dis { background: var(--fog); color: #77716c; }
.pvh-btn.sm { font-size: 12px; padding: 9px 14px; }
.pvh-main { padding: 44px 40px 56px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #8a6d00; font-size: 11.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--blaze); }
.pvh-main h1 { font-size: 58px; }
.intro { font-size: 17px; color: var(--earth); margin-top: 14px !important; max-width: 640px; }
.req-line { font-size: 14px; color: var(--earth); margin: -4px 0 14px; }
.band { background: var(--stone); color: #fff; padding: 28px 32px; margin: 30px 0; display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--blaze); }
.band .disp { color: #fff; font-size: 38px; }
.band p { color: #d6d3d1; margin-top: 8px; }
.sec-h { display: flex; align-items: center; gap: 16px; margin: 30px 0 16px; }
.sec-h h2 { font-size: 21px; white-space: nowrap; }
.sec-h::after { content: ''; flex: 1; height: 1px; background: var(--fog); }
.sec-h .num { font-family: 'Archivo Black'; background: var(--blaze); width: 30px; height: 30px; display: grid; place-items: center; font-size: 15px; flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.fld label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.ev { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 16px 20px; background: #fff; border: 1.5px solid var(--fog); margin-bottom: 10px; }
.ev .nm { font-weight: 700; font-size: 17px; }
.ev .sub { color: var(--earth); font-size: 14px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--stone); }
.price { font-weight: 700; min-width: 60px; text-align: right; }
.total { display: flex; justify-content: space-between; align-items: center; background: var(--mist); padding: 20px; margin-top: 18px; }
.total .disp { font-size: 28px; }
.small { font-size: 13.5px; color: var(--earth); }

/* The "What you'll need" box above the booking form. */
.need { background: #fff; border: 1.5px solid var(--fog); border-top: 3px solid var(--blaze); padding: 22px 26px; margin: 26px 0 8px; }
.need h2 { font-size: 19px; margin-bottom: 4px; }
.need .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 14px; }
.need ul { margin: 0; padding-left: 20px; }
.need li { margin: 4px 0; font-size: 15px; }
.need .when { font-size: 13px; color: var(--earth); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
@media (max-width: 760px) { .need .cols { grid-template-columns: 1fr; } }
.pvh-foot { background: var(--stone); color: var(--sand); border-top: 3px solid var(--blaze); padding: 26px 40px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; display: flex; justify-content: space-between; }

/* sign in */
.card { background: #fff; border: 1.5px solid var(--fog); padding: 30px; }

/* bookings list */
.bk { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1.5px solid var(--fog); border-left: 6px solid var(--blaze); padding: 20px 24px; margin-bottom: 12px; }
.bk .t { font-family: 'Archivo Black'; text-transform: uppercase; font-size: 20px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pill { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--mist); color: var(--earth); white-space: nowrap; }
.pill.ok { background: #e7f0dc; color: var(--moss); }
.pill.warn { background: #fdecc8; color: #7a4d00; }
.pill.bad { background: #fde3e1; color: var(--red); }

/* team manager */
.crumb { font-size: 13.5px; color: var(--earth); margin-bottom: 18px; }
.tm-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 8px; }
.contact { background: #fff; border: 1.5px solid var(--fog); padding: 12px 16px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.contact b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.contact.gsl { margin: 0 0 8px; flex-wrap: wrap; }
.contact.gsl .actions { flex: 1 1 220px; min-width: 0; margin-top: 0; }
.contact.gsl .fld { margin: 0 0 8px; }
.tm { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; margin-top: 22px; }
.pool { background: var(--mist); border: 2px dashed var(--fog); padding: 16px; }
.pool h3, .team h3 { font-size: 16px; }
.pool .hint { font-size: 13px; color: var(--earth); margin: 6px 0 12px; }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team { background: #fff; border: 1.5px solid var(--fog); }
.team .th { padding: 14px 16px 12px; border-bottom: 1px solid var(--fog); }
.team .ev-tag { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8a6d00; }
.team .tn { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.team .tn h3 { font-size: 19px; }
.team .tn span { font-size: 13px; color: var(--earth); }
.team .tb { padding: 12px 16px; }
.team .tf { padding: 12px 16px; border-top: 1px solid var(--fog); display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--snow); }
.team.done { border-color: var(--fern); }
.team.done .th { background: #eef5e6; }
.team.problem { border-color: #e9a29b; }
.p { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--fog); padding: 9px 12px; margin-bottom: 8px; font-size: 14.5px; }
.p .h { color: var(--sand); font-size: 13px; letter-spacing: -2px; cursor: grab; }
.plist { list-style: none; margin: 0; padding: 0; }
li.p { grid-template-columns: 14px 1fr auto auto; }
.p a, .p a:visited { color: var(--stone); text-decoration: none; }
.p .nm:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-underline-offset: 3px; }
.p .nm { font-weight: 600; }
.p .nm small { font-weight: 400; color: var(--earth); margin-left: 6px; }
.p.lifted { transform: rotate(-2deg) translate(12px, -4px); box-shadow: 0 12px 26px rgba(28,25,23,.22); border-color: var(--stone); position: relative; z-index: 2; }
.p.ghosted { opacity: .35; border-style: dashed; }
.slot { border: 2px dashed var(--fog); color: var(--earth); text-align: center; padding: 10px; font-size: 13.5px; margin-bottom: 8px; }
.slot.target { border-color: var(--blaze); background: #fef8dd; color: #7a6000; font-weight: 600; }
.msg { font-size: 13.5px; padding: 8px 12px; margin: 4px 0 8px; display: flex; gap: 8px; }
.msg { list-style: none; flex-direction: column; gap: 4px; }
.msg.bad { background: #fde3e1; color: var(--red); }
.msg.ok { background: #e7f0dc; color: var(--moss); }
.tick { color: var(--fern); font-weight: 700; }
.lead-sel { font-size: 13.5px; color: var(--earth); }
.lead-sel b { color: var(--stone); }

.move { font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--stone); padding: 4px 9px; letter-spacing: .04em; }
.opt { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--fog); padding: 12px 14px; margin-top: 10px; font-size: 15px; }
.opt.on { border-color: var(--stone); background: #fef8dd; }
.opt small { display: block; color: var(--earth); font-size: 12.5px; }
.opt .r { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--stone); flex: none; }
.opt.on .r { background: radial-gradient(circle, var(--stone) 5px, transparent 6px); }

/* ===== Frame additions (shared by old and new pages) ===== */
.pvh-head, .pvh-foot { font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.55; }
.pvh-head a, .pvh-head a:visited, .pvh-foot a, .pvh-foot a:visited { color: inherit; text-decoration: none; }
.pvh-nav li { font: inherit; color: inherit; }
.pvh-head a:hover, .pvh-foot a:hover { text-decoration: underline; text-decoration-color: var(--blaze); text-underline-offset: 4px; }
.pvh-head { flex-wrap: wrap; gap: 12px 24px; }
.pvh-brand-name { display: block; text-transform: uppercase; }
.pvh-brand-tag { display: block; text-transform: uppercase; }
.pvh-nav ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; letter-spacing: .16em; font-weight: 500; text-transform: uppercase; }
.pvh-head .pvh-btn, .pvh-head .pvh-btn:visited { color: var(--stone); font-weight: 400; }
.pvh-head .pvh-btn:hover { text-decoration: none; background: var(--blaze-dim); }
.pvh-foot nav a { margin: 0 .4em; }
.pvh-foot nav a:first-child { margin-left: 0; }
.pvh-nav .pvh-nav-btn { display: none; }
.pvh-menu-btn { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: transparent; border: 1.5px solid var(--sand); padding: 0 14px; min-height: 44px; cursor: pointer; display: none; }
.pvh-skip { position: absolute; left: -9999px; top: 0; background: var(--blaze); color: var(--stone); padding: 12px 18px; font-weight: 700; z-index: 10; }
.pvh-skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pvh-old-main { max-width: 960px; margin: 0 auto; padding: 24px 16px; overflow-x: auto; background: #fff; }
:focus-visible { outline: 3px solid var(--stone); outline-offset: 2px; }
.pvh-head :focus-visible, .pvh-foot :focus-visible { outline-color: var(--blaze); }
.flash { padding: 12px 16px; margin: 0 0 18px; border: 1.5px solid var(--fog); background: #fff; }
.flash.ok { background: #e7f0dc; color: var(--moss); border-color: var(--fern); }
.flash.bad { background: #fde3e1; color: var(--red); border-color: #e9a29b; }

@media (max-width: 560px) {
  .pvh-head { height: auto; min-height: 64px; padding: 8px 16px; }
  .pvh-brand img { width: 26px; height: 40px; }
  .pvh-brand-name { font-size: 14px; }
  .pvh-head-btn { display: none; }
  .pvh-nav .pvh-nav-btn { display: block; padding: 8px 0 12px; }
  .pvh-nav .pvh-nav-btn a { display: inline-flex; }
  .pvh-nav { order: 5; flex-basis: 100%; }
  .pvh-nav ul { flex-wrap: wrap; gap: 4px 20px; }
  .pvh-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .pvh-js .pvh-menu-btn { display: inline-block; }
  .pvh-js .pvh-nav { display: none; }
  .pvh-js .pvh-nav.pvh-nav-open { display: block; }
  .pvh-js .pvh-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .pvh-btn { min-height: 44px; }
  .pvh-foot { padding: 20px 16px; flex-direction: column; gap: 10px; }
  .pvh-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .pvh-main { padding: 22px 16px 30px; }
  body.pvh .pvh-main h1 { font-size: 34px; }
  .tm, .teams, .grid2, .contacts { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 1fr; gap: 12px; }
  .tm-top, .band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bk { grid-template-columns: 1fr; }
  li.p { grid-template-columns: 44px 1fr auto; column-gap: 4px; padding-left: 0; }
  li.p .h { grid-row: 1 / span 2; }
  li.p .pill { grid-column: 2; grid-row: 2; justify-self: start; }
  li.p .move { grid-column: 3; grid-row: 1 / span 2; }
  li.p .h { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 16px; color: var(--earth); }
  .move, .opt, button, input, select, textarea { min-height: 44px; }
  .move { min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .pvh-old-main { padding: 16px 8px; }
}

.adult-place { font-size: 14.5px; margin: 8px 0; }

/* Plain links in running text, as the WordPress site's paragraph links; classed links (buttons, names, Move) keep their own look. */
body.pvh .pvh-main a:not([class]), body.pvh .pvh-main a:not([class]):visited { color: var(--blaze-dim-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Form fields, as the mock's .fld .in. */
.pvh-main label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.pvh-main input:not([type]), .pvh-main input[type=text], .pvh-main input[type=email], .pvh-main input[type=tel], .pvh-main input[type=url], .pvh-main input[type=number], .pvh-main select, .pvh-main textarea { display: block; width: 100%; max-width: 100%; min-height: 46px; border: 1.5px solid var(--fog); border-radius: 0; background: #fff; padding: 11px 14px; font: inherit; color: var(--stone); }
.pvh-main input:focus-visible, .pvh-main select:focus-visible, .pvh-main textarea:focus-visible { outline: 2px solid var(--stone); outline-offset: 2px; }
.card form > .fld { max-width: 420px; margin-bottom: 16px; }

/* Spacing around cards and the note under them. */
.card { margin-top: 26px; }
body.pvh .card + p { margin-top: 14px; }
.card + button, .card + .pvh-btn { margin-top: 26px; }
.card h2 { font-size: 21px; margin-bottom: 16px; }

/* Person page, date field and the team card's controls. */
.pvh-main input[type=date] { display: block; width: 100%; max-width: 100%; min-height: 46px; border: 1.5px solid var(--fog); border-radius: 0; background: #fff; padding: 11px 14px; font: inherit; color: var(--stone); }
.fld.wide { grid-column: 1 / -1; }
.actions { margin-top: 20px; }
ul.plain { margin: 0; padding-left: 18px; }
.remove { margin-top: 26px; }
.remove a { display: inline-block; padding: 12px 0; }
.pvh-btn:disabled { background: var(--fog); color: #77716c; cursor: not-allowed; }
.team .tf { flex-wrap: wrap; }
.team .tf form { display: flex; align-items: center; gap: 8px; margin: 0; }
.team .tf .leader label { font-size: 13.5px; font-weight: 400; margin: 0; }
.pvh-main .tf select { width: auto; min-height: 36px; padding: 6px 10px; }
.team .rename { margin-top: 10px; font-size: 14px; }
.team .rename summary { cursor: pointer; }
.team .rename form { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.team .rename .fld { flex: 1; margin: 0; }
@media (max-width: 560px) {
	.team .tf { flex-direction: column; align-items: flex-start; }
	.team .tf form { flex-wrap: wrap; }
}

/* The Move form: one choice per team, with the radio at the right as in the mock-up. */
.opts { border: 0; padding: 0; margin: 18px 0 0; max-width: 560px; }
label.opt { display: flex; cursor: pointer; gap: 14px; }
label.opt b { display: block; font-weight: 700; }
.opts + .actions { margin-top: 24px; }
label.opt input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--stone); }
label.opt:has(input:checked) { border-color: var(--stone); background: #fef8dd; }

/* Dragging in the team manager (teams.js): the handle starts a drag, so it must not scroll or select. */
.p .h { touch-action: none; user-select: none; }
.drop-over { outline: 2px dashed var(--blaze); outline-offset: -2px; }

/* The Move dialog: centred on a wide screen, a sheet from the bottom on a phone. */
#move-dialog { width: min(560px, calc(100% - 32px)); max-height: 85vh; overflow: auto; border: 0; border-top: 4px solid var(--blaze); background: #fff; color: var(--stone); padding: 20px 22px 24px; }
#move-dialog::backdrop { background: rgba(28,25,23,.45); }
#move-dialog h2 { font-size: 19px; margin: 0 0 4px; }
@media (max-width: 560px) {
	#move-dialog { width: 100%; max-width: none; margin: auto 0 0; padding: 20px 18px 26px; }
}

/* Booking form: the team steppers (buttons added by pay.js around the number input) and the summary list. */
.stepper input[type=number] { width: 52px; min-height: 40px; border: 0; border-left: 1.5px solid var(--stone); border-right: 1.5px solid var(--stone); text-align: center; font-weight: 700; font-size: 18px; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input[type=number]::-webkit-outer-spin-button, .stepper input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { width: 40px; height: 40px; border: 0; background: #fff; font-size: 20px; font-weight: 500; color: var(--stone); cursor: pointer; }
.ev label.nm { display: block; font-size: 17px; font-weight: 700; margin: 0; }
.g-recaptcha { margin-top: 8px; }
.sum { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.sum dt { font-weight: 600; }
.sum dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
	.stepper input[type=number] { min-height: 44px; }
}
body.pvh .band .disp { color: #fff; }
@media (max-width: 560px) {
	.ev .stepper { justify-self: start; }
	.total { flex-direction: column; align-items: stretch; gap: 14px; }
	.total .pvh-btn { justify-content: center; }
}
/* The pay page: the booking beside the payment, so it stays in view while PayPal's card form opens under its button.
   On a phone, one column with the booking folded into one line (pay.js folds it; wide screens hide that line). */
.pay-layout { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 440px); gap: 40px; align-items: start; margin-top: 26px; }
.pay-side { position: sticky; top: 24px; }
.pay-fold > summary { display: none; }
.card.pay-sum { margin-top: 0; padding: 22px; }
.pay-sum h2 { font-size: 15px; letter-spacing: .14em; margin-bottom: 12px; }
.pay-group { font-weight: 700; margin: 0; overflow-wrap: anywhere; }
/* No column gap, so the line above the total runs unbroken; the amounts keep their distance by padding. */
.pay-lines { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 6px 0; margin: 14px 0 0; }
.pay-lines dd { margin: 0; padding-left: 16px; text-align: right; }
.pay-lines dt:last-of-type, .pay-lines dd:last-of-type { border-top: 1.5px solid var(--fog); padding-top: 10px; margin-top: 4px; font-weight: 700; font-size: 18px; }
.pvh-main .time-left { display: inline-block; background: var(--blaze); color: var(--stone); font-weight: 700; padding: 3px 10px; margin: 16px 0 0; }
.pvh-main .time-left[hidden] { display: none; }
.pvh-main .held { margin-top: 10px; font-weight: 600; }
.pay-main h2 { font-size: 18px; }
.pay-buttons { display: grid; gap: 12px; margin: 14px 0; }
@media (max-width: 760px) {
	.pay-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 18px; }
	.pay-side { position: static; }
	.pay-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; background: #fff; border: 1.5px solid var(--fog); cursor: pointer; list-style: none; }
	.pay-fold > summary::-webkit-details-marker { display: none; }
	.pay-fold-more { font-weight: 600; white-space: nowrap; }
	.pay-fold-more::after { content: ' \25BE'; }
	.pay-fold[open] .pay-fold-more::after { content: ' \25B4'; }
	.card.pay-sum { border-top: 0; padding: 16px; }
}
/* Both buttons and the card form PayPal opens under its button fill the column; on their own they shrink to PayPal's
   button width (225 px), which squeezes the card form. */
.pay-buttons paypal-basic-card-container { display: block; width: 100%; }
.pay-buttons paypal-button, .pay-buttons paypal-basic-card-button { display: block; width: 100%; min-height: 44px; }
.pay-buttons [hidden] { display: none; }
#pay-message { margin-bottom: 14px; font-weight: 600; }

/* Declaration tick and typed name on the emailed entry form. */
.pvh-main .agree { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; margin-bottom: 18px; }
.agree input[type=checkbox] { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--stone); }
.card.entry > .fld { max-width: 420px; }
.pvh-main h1 + .flash.after-title { margin-top: 24px; }
@media (max-width: 560px) { .entry-actions .pvh-btn { width: 100%; } }

/* Organisers' header (book_org_header): the current page underlined; Sign out is a form button. */
.pvh-nav a[aria-current="page"] { border-bottom: 3px solid var(--blaze); padding-bottom: 4px; }
.pvh-head form { margin: 0; }
.pvh-head button.pvh-btn { cursor: pointer; }

/* Organiser pages: cards in a grid, big numbers, label-and-count rows, tables that scroll inside their box on a phone. */
.org-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
/* The dashboard's live switch, under its heading. */
.pvh-main .live-note { margin-top: 10px; color: var(--earth); font-size: 14px; }
.org-g2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 18px; }
.box { background: #fff; border: 1.5px solid var(--fog); padding: 18px 20px; min-width: 0; }
.box h2 { font-size: 17px; margin-bottom: 10px; }
.big { font-family: 'Archivo Black', Impact, sans-serif; font-size: 34px; line-height: 1; }
.of { color: var(--earth); font-size: 15px; }
.sub { font-size: 13.5px; color: var(--earth); }
.stat { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; padding: 7px 0; border-top: 1px solid var(--fog); }
.stat > * { min-width: 0; overflow-wrap: anywhere; }
.stat:first-of-type { border-top: 0; }
.tl-wrap { overflow-x: auto; position: relative; margin-top: 12px; }
table.tl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1.5px solid var(--fog); }
table.tl th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--earth); padding: 10px 12px; border-bottom: 1.5px solid var(--fog); }
table.tl td { padding: 11px 12px; border-bottom: 1px solid var(--fog); vertical-align: middle; }
table.tl input { min-width: 64px; }
@media (max-width: 760px) { .org-g3, .org-g2 { grid-template-columns: 1fr; } }

/* Dashboard bars: a <progress>, so the page needs no inline style. */
progress.bar { display: block; width: 100%; height: 12px; margin: 12px 0 8px; border: 0; background: #eceae7; -webkit-appearance: none; appearance: none; }
progress.bar::-webkit-progress-bar { background: #eceae7; }
progress.bar::-webkit-progress-value { background: var(--blaze); }
progress.bar::-moz-progress-bar { background: var(--blaze); }
progress.bar.g::-webkit-progress-value { background: var(--fern); }
progress.bar.g::-moz-progress-bar { background: var(--fern); }
.box h2 + h2, .box .stat + h2 { margin-top: 16px; }

/* Teams list and team page. */
table.tl td.no { font-family: 'Archivo Black', Impact, sans-serif; font-size: 18px; width: 56px; }
table.tl tr.done td { background: #f3f8ee; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.chip, .chip:visited { display: inline-flex; align-items: center; min-height: 32px; border: 1.5px solid var(--stone); padding: 5px 11px; font-size: 13.5px; font-weight: 600; background: #fff; color: var(--stone); text-decoration: none; }
.chip.on, .chip.on:visited { background: var(--stone); color: #fff; }
.search { display: flex; gap: 8px; align-items: flex-end; max-width: 560px; margin-top: 16px; }
.search .fld { flex: 1; margin: 0; }
.pvh-main input[type=search] { display: block; width: 100%; min-height: 46px; border: 1.5px solid var(--fog); border-radius: 0; background: #fff; padding: 11px 14px; font: inherit; color: var(--stone); }
.msg.warn { background: #fdecc8; color: #7a4d00; }
.org-team { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.org-team > div { min-width: 0; }
@media (max-width: 760px) { .org-team { grid-template-columns: minmax(0, 1fr); } .chip { min-height: 44px; } }

/* Team page: the check-in box. */
.checkin { border: 2px solid var(--stone); }
.auto { color: #3f6212; font-weight: 700; margin-bottom: 10px; }
.done-box { background: #eef5e6; border: 1.5px solid var(--fern); padding: 14px 16px; margin-top: 14px; font-size: 15px; }
.done-box form { margin-top: 8px; }
.edit-contacts { margin-top: 12px; }
.card .intro + p.actions { margin: 16px 0 14px; }
.edit-contacts summary { cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.edit-contacts h3 { font-size: 15px; margin: 14px 0 8px; }
.number-form { margin-top: 18px; max-width: 320px; }
.move-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.move-form .fld { margin: 0; }
#event { margin-top: 18px; }

.mono { font-variant-numeric: tabular-nums; }

/* Cancel a booking (organisers): the booking's summary, the refund choices, the danger button. */
.org-sum { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.org-sum dt { color: var(--earth); }
.org-sum dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pvh-main .refund-choices { display: grid; gap: 12px; margin: 4px 0 18px; }
.pvh-main .refund-choices label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; font-weight: 400; margin: 0; }
.refund-choices input[type=radio] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--stone); }
.pvh-main .refund-choices input[type=text] { display: inline-block; width: 110px; min-height: 40px; }
.pvh-main .note-fld { max-width: 520px; }
.pvh-btn.danger { background: var(--red); color: #fff; cursor: pointer; }

/* Payments: the filter chips, with an administrator's button beside them. Add a bank-transfer booking: the amount query. */
.org-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 12px 0 16px; }
.org-bar .chips { margin: 0; }
.flash.warn { background: #fdecc8; color: #7a4d00; border-color: #e8c27a; }
.test-pay { margin: 0 0 12px; padding: 4px 12px; background: #fdecc8; color: #7a4d00; border: 1.5px solid #e8c27a; font-size: 14px; font-weight: 600; text-align: center; }
