/* Shared geometry for the registration and lookup pages. */

/* Common field and selection styling across the three intake forms. */
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) :is(.pp-account-field,.native-fields,.native-select) :is(input:not([type=checkbox],[type=radio],[type=hidden]),select) {
  box-sizing:border-box;width:100%;min-width:0;height:52px;min-height:52px;
  padding:0 12px;border:1px solid #9dada2;border-radius:6px;background-color:#fff;color:#182a20;font-size:16px;font-weight:450;
}
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) [data-phone-parts] input[type=tel] {padding-inline:2px;}
.pp-form-shell [data-native-company="signup"] input[type=password],.pp-form-shell [data-native-company="signup"] input[data-password-visible] {padding-right:50px;}
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) :is(.pp-account-field>label,.native-fields label:not(:has([type=checkbox])),.native-select,.native-choices legend) {font-size:16px;font-weight:650;line-height:1.5;}
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) :is(label,legend) small {font-size:13px;font-weight:550;color:#46634e;}
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) :is(.signup-contacts,.native-choices) label:has(>input[type=checkbox]) {
  box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;min-height:48px;height:auto;padding:7px 12px;
  border:1px solid #bdcec1;border-radius:6px;cursor:pointer;font-size:16px;font-weight:500;
}
.pp-form-shell :is([data-native-company="signup"],[data-native-registration]) :is(.signup-contacts,.native-choices) label:has(>input:checked) {background:#e5f2e6;border-color:#34805a;}
.pp-form-shell .signup-contacts {align-items:start;}
.pp-form-shell .signup-company>label,.pp-form-shell .signup-person>label,.pp-form-shell [data-full-row] {grid-column:1/-1;}
.pp-form-shell .signup-company>label,.pp-form-shell .signup-person>label {justify-self:start;}
.pp-form-shell .signup-address {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;}
.signup-address button,.signup-address-dialog button {border:1px solid #437458;color:#214c33;background:#f5f8f4;border-radius:6px;padding:0 12px;font:inherit;cursor:pointer;}
.signup-address-dialog {width:min(480px,94vw);border:1px solid #a9b9ad;padding:12px;border-radius:10px;}
.signup-address-dialog::backdrop {background:#15281bcc;}
.signup-address-dialog header {display:flex;align-items:center;justify-content:space-between;position:static;padding:0 0 8px;}
.signup-address-dialog button {min-height:42px;}
.signup-address-dialog .postcode-widget:not(:empty) {height:min(65dvh,490px);}
.signup-address-dialog p:empty {display:none;}
.pp-account-intro .pp-guide-facts .pp-account-contact {display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;}
.pp-account-contact a {max-width:100%;overflow-wrap:anywhere;}
@media(min-width:1100px){
  .pp-form-shell .signup-company {grid-template-columns:repeat(2,minmax(0,1fr));}
  .pp-form-shell .signup-person {grid-template-columns:repeat(3,minmax(0,1fr));}
}

.pp-phone-parts {display:grid!important;grid-template-columns:minmax(0,3fr) auto minmax(0,4fr) auto minmax(0,4fr);gap:5px;align-items:center;width:100%;max-width:22rem;}
form .pp-phone-parts input[type=tel] {box-sizing:border-box;min-width:0;width:100%;padding-inline:3px;text-align:center;font-variant-numeric:tabular-nums;}
form .pp-phone-parts input[type=hidden] {display:none!important;}
.pp-phone-parts>span {font-size:14px;color:#53635a;}
form [data-phone-control] {display:block;min-width:0;}
form [data-phone-control] [hidden],form [data-phone-control] input[type=hidden] {display:none!important;}
form [data-phone-control] input[data-international] {max-width:22rem;}
form [data-phone-control] button.pp-phone-switch {display:block;min-height:32px;width:fit-content;height:auto;margin:2px 0 0;padding:2px 0;border:0;background:transparent;color:#315d47;font:inherit;font-size:14px;line-height:1.4;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.vt-box .vt-method label {display:inline-flex;align-items:center;gap:6px;margin-right:18px;}
.vt-box .vt-method input[type=radio] {width:18px;height:18px;margin:0;accent-color:#176545;}
.pp-account-fields .company-categories {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 18px;border:0;margin:0;padding:0;}
.pp-account-fields .company-categories {padding-block:8px 12px;row-gap:12px;}
.pp-account-fields .signup-products {border-top:0;padding-top:0;}
.pp-account-fields .company-categories legend {margin-bottom:12px;}
[data-native-company="signup"] .signup-submit-error {
  margin:16px 0 8px;padding:12px 16px;border-radius:6px;background:#fcf0eb;color:#822f20;line-height:1.5;scroll-margin-block:24vh;
}
[data-native-company="signup"] [aria-invalid="true"] {outline:2px solid #a13b30;outline-offset:1px;}
[data-native-company="signup"] input {scroll-margin-block:24vh;}
.signup-contacts label:has(>input[type=checkbox]) {display:inline-flex;align-items:center;gap:7px;min-height:42px;}
.signup-contacts label>input[type=checkbox] {width:18px;height:18px;flex:none;accent-color:#176545;}
.pp-account-fields fieldset.signup-contacts[disabled] {opacity:.75;}
.pg-main .pg-content:has(> .pp-form-shell), body.vt-standalone .entry-main {
  background-color: #f5f7f3;
}
.pp-form-shell .pp-account-form-column, .pp-form-shell .pp-visitor-form,
.pp-form-shell .vt-box, .vt-standalone .vt-box { background-color: #fff; }
.vt-standalone .ticket-standalone-head .pg-hero {
  position: relative; color: white; text-align: left;
  padding: clamp(38px, 5vw, 76px) max(6vw, calc((100% - 1260px) / 2));
  background: linear-gradient(90deg, #101e18ba, #10221930), url('./h13-registration.jpg') center/cover;
}
.ticket-standalone-head .pg-frame { position: absolute; inset: 15px 2.5%; border: 1px solid #ffffff66; pointer-events: none; }
.ticket-standalone-head .pg-crumbs { display: flex; align-items: center; gap: .65em; font-size: 14px; }
.ticket-standalone-head .pg-crumbs a { color: inherit; }
.ticket-standalone-head .eyebrow { margin: 24px 0 9px; font-size: 14px; letter-spacing: .12em; }
.vt-standalone .ticket-standalone-head h1 { margin: 0; color: inherit; font-size: clamp(31px, 3.6vw, 60px); line-height: 1.22; }
.ticket-standalone-head .pg-lead { margin: 12px 0 0; font-size: 16px; line-height: 1.55; }
.ticket-standalone-head .pg-subnav { max-width: 1260px; margin-inline: auto; padding-inline: 16px; text-align: left; }
.ticket-standalone-head .pg-subnav .wrap { display: flex; flex-wrap: wrap; border-bottom: 1px solid #c7d5ca; }
.ticket-standalone-head .pg-subnav .wrap > * { display: inline-flex; align-items: center; min-height: 48px; margin-right: clamp(12px, 2vw, 28px); color: #58655d; font-size: 16px; }
.ticket-standalone-head .pg-subnav [aria-current] { font-weight: 650; border-bottom: 2px solid #235f3c; }
.ticket-standalone-head .ticket-tab-pending { color: #656a66; border-bottom: 1px dashed #a9b1a9; }
.ticket-standalone-head .ticket-opening-note { margin-block: 8px; font-size: 14px; color: #546257; }
@media (max-width: 650px) {
  .vt-standalone .ticket-standalone-head .pg-hero { padding: 36px 24px; background-image: linear-gradient(90deg, #14271cd9, #14271c66), url('./h13-registration-mobile.jpg'); }
  .ticket-standalone-head .pg-subnav .wrap > * { font-size: 14px; min-height: 42px; }
}
/* Match the existing .fin .wrap at every breakpoint, including its 1680px ceiling. */
.pg-main .wrap.pp-entry-shell,
.pg-main .wrap.pp-form-shell,
.pg-main .wrap.pp-form-shell.pp-visitor-layout:has([data-native-registration]) {
  box-sizing: border-box; width: calc(100% - var(--gutter) * 2);
  max-width: 1680px !important; margin-inline: auto; padding-inline: 0;
}
.pg-main .pp-form-shell:not(.pp-ticket-layout),
.pg-main .pp-form-shell.pp-visitor-layout:has([data-native-registration]),
.pg-main .pp-form-shell .vt-layout, body.vt-standalone .entry-copy .vt-layout {
  display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.38fr);
  gap: clamp(18px,2.6vw,40px); align-items: start;
}
.pp-form-shell > *, .pp-form-shell .vt-layout > * { min-width: 0; box-sizing: border-box; }
.pp-form-shell .pp-account-form-column { grid-column: 2; grid-row: 1; padding: clamp(16px,2.2vw,32px); border: 1px solid #d4dfd6; border-radius: 14px; }
.signup-contacts { grid-column: 1/-1; min-width: 0; margin: 8px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid #d4dfd6; display: grid; gap: 15px; }
.signup-contacts legend { padding: 0 12px 0 0; font-size: 20px; font-weight: 650; }
.pp-account-field label small { font-size: .8em; font-weight: 500; color: #49684e; }
.signup-policy { margin-top: 16px; padding: 16px; background: #f1f4ef; color: #324838; border-radius: 7px; font-size: 15px; line-height: 1.65; }
.signup-policy a { text-decoration: underline; }
body main :is(.pp-form-shell,.entry-copy) .pp-guide-card.pp-guide-card.pp-guide-card {
  box-sizing: border-box; display: block; min-width: 0; padding: 0;
  overflow: hidden; align-self: start; background: white; color: #1c3129;
  border: 1px solid #d4dfd6; border-radius: 15px;
}
body main .pp-guide-card .pp-guide-photo.pp-guide-photo {
  display: block; position: relative; isolation: isolate; overflow: hidden;
  margin: 0; border-radius: 14px 14px 0 0; background: #214a35;
}
body main .pp-guide-card .pp-guide-photo img {
  display: block; width: 100%; height: clamp(156px,15vw,202px); object-fit: cover; object-position: center;
}
body main .pp-guide-card .pp-guide-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg,#10281fe6,transparent 80%); }
body main .pp-guide-card .pp-guide-photo h2 {
  position: absolute; z-index: 1; left: 24px; bottom: 16px; margin: 0;
  color: white; font-size: clamp(28px,3.05vw,50px) !important; line-height: 1.22 !important; font-weight: 650; letter-spacing: -.045em;
}
@media (min-width: 601px) {
  body main .pp-guide-card .pp-guide-photo h2 { font-size: clamp(32px,3.05vw,50px) !important; }
}
body main .pp-guide-card .pp-guide-facts { display: block; padding: 8px 24px 14px; }
body main .pp-guide-card .pp-guide-facts dl { display: block; margin: 0; }
body main .pp-guide-card .pp-guide-facts dl > div {
  display: grid; grid-template-columns: 5rem minmax(0,1fr); align-items: baseline; gap: 0 10px;
  padding: 12px 0; border: 0; border-bottom: 1px solid #e4e9e2;
}
body main .pp-guide-card .pp-guide-facts dt { margin: 0; font-size: clamp(15px,1.08vw,16px); line-height: 1.45; color: #506056; font-weight: 500; }
body main .pp-guide-card .pp-guide-facts dd { margin: 0; font-size: clamp(16px,1.14vw,18px); line-height: 1.45; color: #1c3129; font-weight: 650; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width:951px) {
  /* Keep the fixed quick links clear of inputs without moving the grid boundary. */
  .pg-main .pp-form-shell .pp-visitor-form[data-native-registration],
  .pg-main .pp-form-shell :is(.vt-box,.pp-account-form-column) { padding-inline-end: max(clamp(20px,2.5vw,42px), calc(116px - var(--gutter))); }
}
@media (max-width:880px) {
  .pg-main .pp-form-shell:not(.pp-ticket-layout),
  .pg-main .pp-form-shell.pp-visitor-layout:has([data-native-registration]),
  .pg-main .pp-form-shell .vt-layout, body.vt-standalone .entry-copy .vt-layout { grid-template-columns: minmax(0,1fr); }
  .pp-form-shell .pp-account-form-column, .pp-form-shell .pp-account-intro { grid-column: auto; grid-row: auto; }
  .pp-form-shell .pp-account-form-column { order: 1; }
  .pp-form-shell .pp-account-intro { order: 0; }
  body main .pp-guide-card .pp-guide-photo img { height: clamp(88px,19vw,136px); }
  body main .pp-guide-card .pp-guide-facts { padding: 6px 16px 10px; }
  body main .pp-guide-card .pp-guide-photo h2 { left: 16px; bottom: 10px; }
  body main :is(.pp-form-shell,.entry-copy) .pp-guide-card.pp-guide-card .pp-guide-facts dl > div { grid-template-columns: 4.6rem minmax(0,1fr); column-gap: 6px; padding-block: 6px; }
}
.vt-standalone { --ticket-gutter: max(4vw,calc((100vw - 1680px)/2)); }
@media(max-width:1100px){ .vt-standalone { --ticket-gutter:5vw; } }
@media(max-width:650px){ .vt-standalone { --ticket-gutter:6vw; } }
body.vt-standalone .entry-main { width: 100%; max-width: none; padding-inline: 0; margin-inline: 0; }
body.vt-standalone .entry-main .entry-copy,body.vt-standalone .ticket-standalone-head .pg-subnav { box-sizing:border-box; width:calc(100% - var(--ticket-gutter)*2); max-width:1680px; margin-inline:auto; padding-inline:0; }
