/* Chesswood all exams premium-soft hotfix: isolated to this module. */
.cw-all-exams{--cw-ink:#17324d;--cw-muted:#5f7285;--cw-border:#d9e4df;--cw-accent:#0f7a5a;--cw-focus:#d7b56d;box-sizing:border-box;position:relative;isolation:isolate;max-width:1100px;margin:2rem auto;padding:clamp(20px,3.7vw,44px);border:1px solid var(--cw-border);border-radius:26px;background:radial-gradient(circle at 100% 0%,rgba(16,185,129,.075),transparent 36%),radial-gradient(circle at 0% 100%,rgba(15,118,110,.05),transparent 40%),#fff;box-shadow:0 20px 60px rgba(15,41,51,.055);color:var(--cw-ink);font:inherit}
.cw-all-exams *{box-sizing:border-box}
.cw-all-exams__head{margin-bottom:22px}
.cw-all-exams__eyebrow{margin-bottom:9px;font-size:.76rem;font-weight:800;letter-spacing:.15em;color:var(--cw-accent)}
.cw-all-exams__head h2{margin:0 0 .6rem;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.17;letter-spacing:-.025em;font-weight:800;color:var(--cw-ink)}
.cw-all-exams__head p{margin:0;color:var(--cw-muted);line-height:1.65}
.cw-all-exams__status{min-height:0;color:#9a6700;font-size:.9rem}
.cw-all-exams__status:empty{display:none}
.cw-all-exams__status:not(:empty){padding:.55rem 0}
.cw-all-exams__guide{display:flex;align-items:center;gap:.75rem;padding:12px 15px;margin:0 0 24px;border:1px solid #dbebe3;border-radius:14px;background:#f2faf6;color:#245849;font-size:.9rem;line-height:1.5}
.cw-all-exams__guide[hidden]{display:none}
.cw-all-exams__guide-icon{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#dcefe5;color:var(--cw-accent);font-weight:800}
.cw-all-exams__step{border:0;padding:0;margin:0 0 25px;min-width:0}
.cw-all-exams__step legend,.cw-all-exams__dates h3{padding:0;margin:0 0 13px;color:var(--cw-ink);font-size:1.08rem;font-weight:800}
.cw-all-exams__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cw-all-exams .cw-all-exams__exam-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;min-height:112px;padding:18px 16px;border:1px solid var(--cw-border);border-radius:18px;background:rgba(255,255,255,.88);color:var(--cw-ink);text-align:left;cursor:pointer;font:inherit;box-shadow:0 5px 18px rgba(21,61,63,.035);transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.cw-all-exams .cw-all-exams__exam-card strong{font-size:.98rem;font-weight:800}
.cw-all-exams .cw-all-exams__exam-card small{color:var(--cw-muted);font-size:.79rem;line-height:1.5}
.cw-all-exams .cw-all-exams__exam-card:not(:disabled):hover{border-color:#89c7ad;box-shadow:0 10px 26px rgba(15,91,74,.09);transform:translateY(-1px)}
.cw-all-exams .cw-all-exams__exam-card[aria-pressed="true"]{border-color:#4eab89;background:#eef9f3;box-shadow:inset 0 0 0 1px #a8dbc3,0 8px 24px rgba(15,122,90,.07)}
.cw-all-exams .cw-all-exams__exam-card[aria-pressed="true"]::after{content:'✓';position:absolute;right:12px;top:12px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#0f7a5a;color:#fff;font-size:12px}
.cw-all-exams .cw-all-exams__exam-card:disabled{opacity:.48;cursor:not-allowed}
.cw-all-exams__fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.cw-all-exams__field{display:flex;flex-direction:column;gap:9px;min-width:0;font-size:.91rem;font-weight:700;color:var(--cw-ink)}
.cw-all-exams__field small{color:var(--cw-muted);font-weight:400;font-size:.77rem}
.cw-all-exams .cw-all-exams__field select,.cw-all-exams .cw-all-exams__field input{width:100%;max-width:100%;min-height:54px;padding:12px 15px;border:1px solid #cbd9d5;border-radius:14px;background:#fff;color:var(--cw-ink);font:inherit;box-shadow:0 3px 12px rgba(21,61,63,.025)}
.cw-all-exams .cw-all-exams__field :disabled{background:#f5f8f7;color:#87959d;cursor:not-allowed}
.cw-all-exams__dates{margin-top:30px}
.cw-all-exams__empty{display:flex;align-items:center;gap:14px;min-height:88px;padding:16px 18px;border:1px dashed #c7d9d1;border-radius:17px;background:rgba(246,251,248,.8);color:var(--cw-muted);line-height:1.55}
.cw-all-exams__empty p{margin:0}
.cw-all-exams__empty-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e5f3eb;color:var(--cw-accent);font-size:25px;flex:none}
.cw-all-exams__date{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.65rem 0;padding:16px 18px;border:1px solid var(--cw-border);border-radius:17px;background:#fff;box-shadow:0 5px 20px rgba(15,41,51,.035)}
.cw-all-exams__date > div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.cw-all-exams__date small{color:var(--cw-muted)}
.cw-all-exams .cw-all-exams__date button{padding:12px 19px;border:0;border-radius:999px;background:#0f7a5a;color:#fff;cursor:pointer;font:inherit;font-weight:700;flex-shrink:0}
.cw-all-exams .cw-all-exams__date button:hover{background:#096448}
.cw-all-exams__summary{margin-top:24px;padding:22px;border:1px solid #cfdfd6;border-radius:20px;background:linear-gradient(130deg,#eff9f3,#fff 80%);overflow-wrap:anywhere}
.cw-all-exams__summary:empty{display:none}
.cw-all-exams__summary h3{margin:0 0 14px;color:var(--cw-ink)}
.cw-all-exams__summary p{margin:.6rem 0;line-height:1.5}
.cw-all-exams__summary strong{display:block;margin:14px 0;font-size:1.3rem;color:#096448}
.cw-all-exams__note{margin:22px 0 0;color:var(--cw-muted);font-size:.84rem}
.cw-all-exams :is(button,input,select):focus-visible{outline:3px solid var(--cw-focus);outline-offset:3px}
@media(max-width:800px){.cw-all-exams__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cw-all-exams__fields{grid-template-columns:1fr 1fr}.cw-all-exams__field:last-child{grid-column:1/-1}}
@media(max-width:540px){.cw-all-exams{margin:1rem auto;border-radius:21px;padding:20px 16px}.cw-all-exams__cards{grid-template-columns:1fr 1fr;gap:9px}.cw-all-exams .cw-all-exams__exam-card{padding:15px 12px;min-height:114px}.cw-all-exams__fields{grid-template-columns:1fr}.cw-all-exams__field:last-child{grid-column:auto}.cw-all-exams__date{flex-direction:column;align-items:stretch}.cw-all-exams .cw-all-exams__date button{width:100%}}
@media(prefers-reduced-motion:reduce){.cw-all-exams .cw-all-exams__exam-card{transition:none}.cw-all-exams .cw-all-exams__exam-card:hover{transform:none}}

/* Stage 3 language-picker hotfix: scoped premium panel; native select stays as internal state. */
.cw-all-exams .cw-all-exams__language-picker{position:relative;min-width:0}
.cw-all-exams .cw-all-exams__native-language{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;padding:0!important;border:0!important}
.cw-all-exams .cw-all-exams__language-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;padding:12px 16px;background:#fff;border:1px solid #cadbd3;border-radius:15px;color:#17324d;text-align:left;font:inherit;font-weight:650;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.cw-all-exams .cw-all-exams__language-trigger:hover:not(:disabled){border-color:#7db79f;background:#fbfefc}
.cw-all-exams .cw-all-exams__language-trigger[aria-expanded="true"]{border-color:#17825e;box-shadow:0 0 0 3px rgba(22,163,74,.11)}
.cw-all-exams .cw-all-exams__language-trigger:disabled{opacity:.6;cursor:not-allowed;background:#f4f7f6}
.cw-all-exams .cw-all-exams__language-chevron{width:9px;height:9px;border-right:2px solid #547568;border-bottom:2px solid #547568;transform:rotate(45deg);margin-right:3px;transition:transform .2s}
.cw-all-exams .cw-all-exams__language-trigger[aria-expanded="true"] .cw-all-exams__language-chevron{transform:rotate(225deg)}
.cw-all-exams .cw-all-exams__language-menu{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:40;padding:7px;border:1px solid #d3e5db;border-radius:17px;background:#fff;box-shadow:0 18px 42px rgba(20,63,49,.15),0 4px 12px rgba(20,63,49,.05)}
.cw-all-exams .cw-all-exams__language-menu[hidden]{display:none!important}
.cw-all-exams .cw-all-exams__language-options{display:grid;gap:2px;max-height:min(340px,48vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#b3d3c4 transparent;scrollbar-width:thin}
.cw-all-exams .cw-all-exams__language-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;width:100%;padding:9px 12px;text-align:left;border:1px solid transparent;border-radius:10px;background:#fff;color:#17324d;font:inherit;font-size:.94rem;cursor:pointer}
.cw-all-exams .cw-all-exams__language-option:hover,.cw-all-exams .cw-all-exams__language-option:focus-visible{background:#edf8f2;border-color:#cce8d9;outline:none}
.cw-all-exams .cw-all-exams__language-option[aria-selected="true"]{background:#eaf6ef;color:#076b4c;font-weight:750}
.cw-all-exams .cw-all-exams__language-check{color:#078056;font-size:1.1rem;font-weight:800}
.cw-all-exams .cw-all-exams__language-trigger:focus-visible{outline:3px solid #d7b56d;outline-offset:2px}

/* Old free-text postcode search removed from All Exams UI; location uses PBNA city picker. */
.cw-all-exams__fields{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)}
@media(max-width:800px){.cw-all-exams__fields{grid-template-columns:1fr}}

/* Location dropdown: automatically populated from active PBNA planning. */
.cw-all-exams .cw-all-exams__place-trigger{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 16px;border:1px solid #cadbd3;border-radius:15px;background:#fff;color:#17324d;font:inherit;text-align:left;cursor:pointer}
.cw-all-exams .cw-all-exams__place-trigger:disabled{opacity:.6;background:#f4f7f6;cursor:not-allowed}
.cw-all-exams .cw-all-exams__place-trigger[aria-expanded="true"]{border-color:#17825e;box-shadow:0 0 0 3px rgba(22,163,74,.11)}
.cw-all-exams__search-field{position:relative}
.cw-all-exams__location-results{position:absolute;z-index:45;top:calc(100% - 22px);left:0;width:100%;max-width:100%;padding:7px;border:1px solid #d3e5db;border-radius:17px;background:white;box-shadow:0 18px 42px rgba(20,63,49,.15)}
.cw-all-exams__location-results [data-role="locations-list"]{display:grid;grid-template-columns:1fr;gap:2px;max-height:360px;overflow:auto;padding:0;scrollbar-width:thin}
.cw-all-exams .cw-all-exams__location-option{min-height:48px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:9px 12px;border:1px solid transparent;border-radius:10px}
.cw-all-exams .cw-all-exams__location-option strong{flex:1;min-width:0}
.cw-all-exams__location-next{flex:none;padding:5px 7px;border-radius:8px;background:#e5f5ea;color:#075c3c;font-weight:700;font-size:.75rem;white-space:nowrap}
@media(max-width:540px){.cw-all-exams__location-results{top:calc(100% - 17px)}.cw-all-exams .cw-all-exams__location-option{gap:7px}.cw-all-exams__location-next{font-size:.69rem}}

/* Location overlay parity with PBNA booking picker: anchored to place field, not the form. */
.cw-all-exams .cw-all-exams__place-picker{position:relative;min-width:0;isolation:isolate}
.cw-all-exams .cw-all-exams__place-trigger{position:relative;z-index:1}
.cw-all-exams .cw-all-exams__place-trigger[aria-expanded="true"]{border-color:#138046;box-shadow:0 0 0 4px rgba(27,139,73,.12)}
.cw-all-exams .cw-all-exams__location-results{position:absolute;top:calc(100% + 6px);left:0;right:0;width:100%;max-width:none;margin:0;padding:5px;z-index:100;border:1px solid #cce5d6;border-radius:15px;background:#fff;box-shadow:0 16px 34px rgba(13,48,37,.18)}
.cw-all-exams .cw-all-exams__location-results[hidden]{display:none!important}
.cw-all-exams .cw-all-exams__location-results [data-role="locations-list"]{display:flex;flex-direction:column;gap:2px;max-height:min(370px,55vh);overflow-y:auto;overflow-x:hidden;padding:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a3cdb5 transparent}
.cw-all-exams .cw-all-exams__location-option{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;min-height:47px;width:100%;padding:9px 10px;background:#fff;border:1px solid transparent;border-radius:11px;text-align:left;box-shadow:none;color:#123653;transition:background .14s,border-color .14s}
.cw-all-exams .cw-all-exams__location-option:hover,.cw-all-exams .cw-all-exams__location-option:focus-visible{background:#ecf8f0;border-color:#b8dfc6}
.cw-all-exams .cw-all-exams__location-option strong{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;font-size:.85rem;font-weight:750}
.cw-all-exams .cw-all-exams__location-option .cw-all-exams__location-next{flex:0 0 auto;max-width:48%;padding:5px 7px;border:1px solid #c9e8d2;border-radius:8px;background:#e7f6eb;color:#086a42;font-size:.72rem;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:540px){.cw-all-exams .cw-all-exams__location-results{top:calc(100% + 5px)}.cw-all-exams .cw-all-exams__location-option{gap:6px;padding:9px 8px}.cw-all-exams .cw-all-exams__location-option .cw-all-exams__location-next{font-size:.65rem}}

/* Desktop readability hotfix: open place overlay upward, like the booking modal. */
@media (min-width: 801px){
  .cw-all-exams .cw-all-exams__location-results{
    top: auto;
    bottom: calc(100% + 8px);
    box-shadow: 0 -12px 30px rgba(13,48,37,.10), 0 10px 24px rgba(13,48,37,.12);
    transform-origin: bottom center;
  }
  .cw-all-exams .cw-all-exams__location-results [data-role="locations-list"]{
    max-height: min(360px, 48vh);
  }
}

/* Stage 3: localized PBNA location-loading feedback; no global selectors. */
.cw-all-exams .cw-all-exams__places-loading{display:flex;align-items:center;gap:12px;min-height:60px;padding:14px 12px;color:#386858;font-size:.9rem;font-weight:600}
.cw-all-exams .cw-all-exams__places-spinner{width:20px;height:20px;flex:none;border:2px solid #cbe8d9;border-top-color:#0f7a5a;border-radius:50%;animation:cw-all-exams-place-spin .75s linear infinite}
.cw-all-exams .cw-all-exams__place-trigger.is-loading{border-color:#a9d2bc}
/* Loading spinner beside the location trigger disabled to prevent layout shifts. */
@keyframes cw-all-exams-place-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cw-all-exams .cw-all-exams__places-spinner,.cw-all-exams .cw-all-exams__place-trigger.is-loading::after{animation:none;border-top-color:#0f7a5a}}

/* Stage 3 candidate preview: no checkout, booking or storage. */
.cw-all-exams .cw-all-exams__candidate{margin-top:24px;padding:clamp(18px,3vw,28px);border:1px solid #d4e3db;border-radius:20px;background:linear-gradient(125deg,#f5fbf7,#fff 72%)}
.cw-all-exams .cw-all-exams__candidate[hidden]{display:none!important}
.cw-all-exams__candidate-eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#0f7a5a}
.cw-all-exams__candidate h3{margin:7px 0 8px;font-size:clamp(1.35rem,2.4vw,1.9rem);line-height:1.2;color:#17324d}
.cw-all-exams__candidate-lead{color:#5f7285;margin:0 0 20px;line-height:1.6}
.cw-all-exams__candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.cw-all-exams__candidate-field{display:grid;gap:7px;min-width:0}
.cw-all-exams__candidate-field label{font-weight:700;font-size:.9rem;color:#17324d}
.cw-all-exams .cw-all-exams__candidate-field :is(input,select){width:100%;min-height:52px;padding:11px 14px;border:1px solid #cbd9d5;border-radius:13px;background:#fff;color:#17324d;font:inherit}
.cw-all-exams__candidate-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px}
.cw-all-exams .cw-all-exams__candidate-actions button{border:0;border-radius:999px;padding:12px 22px;background:#0f7a5a;color:white;font:inherit;font-weight:700;cursor:pointer}
.cw-all-exams__candidate-message{margin:0;color:#245849;font-size:.88rem}
@media(max-width:600px){.cw-all-exams__candidate-grid{grid-template-columns:1fr}}

/* Stage 3 booking-parity workspace: scoped to independent shortcode. */
.cw-all-exams{max-width:1180px}
.cw-all-exams__progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 0;margin:16px 0 24px;border-top:1px solid #d8e3e8}
.cw-all-exams__progress-step{display:flex;align-items:center;gap:10px;color:#6a7d8e;font-size:.87rem}
.cw-all-exams__progress-step span{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#edf2f6;color:#485c72;font-weight:800}
.cw-all-exams__progress-step.is-complete span{background:#118344;color:#fff}
.cw-all-exams__progress-step.is-current span{background:#e5f5eb;box-shadow:inset 0 0 0 2px #138347;color:#0c7547}
.cw-all-exams__workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,290px);align-items:start;gap:18px}
.cw-all-exams__main{min-width:0}
.cw-all-exams__guide{margin-bottom:19px}
.cw-all-exams__sidebar{position:sticky;top:22px;padding:20px 18px;border:1px solid #dbe6e3;border-radius:19px;background:#fafdfe;min-width:0}
.cw-all-exams__sidebar h2{font-family:Georgia,serif;font-size:clamp(1.8rem,2.7vw,2.8rem);line-height:1.05;color:#0e2034;margin:0 0 16px}
.cw-all-exams__sidebar dl{margin:0}
.cw-all-exams__sidebar dl>div{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #dbe4ec}
.cw-all-exams__sidebar dt{color:#526a7d;font-size:.88rem}
.cw-all-exams__sidebar dd{margin:0;max-width:58%;overflow-wrap:anywhere;text-align:right;color:#142b3d;font-weight:750;font-size:.88rem}
.cw-all-exams .cw-all-exams__sidebar [data-role="continue"]{display:block;margin-top:20px;width:100%;min-height:49px;border:0;border-radius:999px;background:#0e8148;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.cw-all-exams .cw-all-exams__sidebar [data-role="continue"]:disabled{background:#89bda0;cursor:not-allowed}
.cw-all-exams__sidebar>p{margin:15px 0 0;color:#65788a;font-size:.75rem;line-height:1.45}
.cw-all-exams__date.is-selected{background:#f4fcf7;border-color:#62ba83;box-shadow:0 0 0 2px #d9f0e3}
.cw-all-exams__candidate{scroll-margin-top:30px}
.cw-all-exams__summary[hidden]{display:none}
@media(max-width:800px){.cw-all-exams__workspace{grid-template-columns:1fr}.cw-all-exams__sidebar{position:static;order:-1}.cw-all-exams__progress-step{gap:5px;font-size:.72rem}.cw-all-exams__progress-step span{width:27px;height:27px}}
@media(max-width:540px){.cw-all-exams__progress{gap:3px}.cw-all-exams__progress-step{flex-direction:column;text-align:center;font-size:.64rem}}

/* Stage 3: selected-session summary appears above date list. */
.cw-all-exams .cw-all-exams__summary{scroll-margin-top:24px;margin:0 0 22px}
.cw-all-exams .cw-all-exams__summary:focus{outline:none}
.cw-all-exams .cw-all-exams__summary:focus-visible{outline:3px solid var(--cw-focus);outline-offset:3px}

/* Language price badges: server-supplied active PBNA pricing, no package prices. */
.cw-all-exams .cw-all-exams__language-name{min-width:0;overflow-wrap:anywhere}
.cw-all-exams .cw-all-exams__language-right{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-shrink:0}
.cw-all-exams .cw-all-exams__language-price{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border:1px solid #c9e8d2;border-radius:8px;background:#e7f6eb;color:#086a42;font-size:.8rem;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}


/* All Exams: candidate-first confirmation; isolated review modal and Stripe safety gate. */
.cw-all-exams .cw-all-exams__review-overlay[hidden]{display:none!important}
.cw-all-exams .cw-all-exams__review-overlay{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px}
.cw-all-exams .cw-all-exams__review-backdrop{position:absolute;inset:0;background:rgba(8,27,38,.62)}
.cw-all-exams .cw-all-exams__review-dialog{position:relative;width:min(580px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:clamp(22px,4vw,36px);border:1px solid #d4e3db;border-radius:24px;background:#fff;box-shadow:0 22px 80px rgba(12,35,29,.22);color:#17324d}
.cw-all-exams .cw-all-exams__review-dialog h2{margin:8px 45px 20px 0;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.2}
.cw-all-exams .cw-all-exams__review-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border:1px solid #d5e4dd;border-radius:50%;background:#fff;color:#17324d;font:inherit;font-size:26px;cursor:pointer}
.cw-all-exams .cw-all-exams__review-row{display:flex;justify-content:space-between;align-items:start;gap:15px;padding:12px 0;border-bottom:1px solid #dbe7e1;font-size:.92rem}
.cw-all-exams .cw-all-exams__review-row span{color:#5f7285}
.cw-all-exams .cw-all-exams__review-row strong{text-align:right;overflow-wrap:anywhere}
.cw-all-exams .cw-all-exams__review-gate{font-size:.85rem;color:#65788a;line-height:1.5}
.cw-all-exams .cw-all-exams__review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px}
.cw-all-exams .cw-all-exams__review-actions button{min-height:46px;padding:10px 16px;border-radius:999px;border:1px solid #cbd9d5;background:#fff;color:#17324d;font:inherit;font-weight:700;cursor:pointer}
.cw-all-exams .cw-all-exams__review-actions [data-role="review-pay"]{background:#0f7a5a;color:white;border-color:#0f7a5a}
.cw-all-exams .cw-all-exams__review-actions [data-role="review-pay"]:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:540px){.cw-all-exams .cw-all-exams__review-actions{flex-direction:column}.cw-all-exams .cw-all-exams__review-actions button{width:100%}}

/* Candidate validation: explicit visible feedback beside the invalid field. */
.cw-all-exams .cw-all-exams__candidate-field [aria-invalid="true"]{border-color:#b42318!important;box-shadow:0 0 0 3px rgba(180,35,24,.10)}
.cw-all-exams .cw-all-exams__field-error{display:block;color:#9d251c;font-size:.8rem;line-height:1.4}
.cw-all-exams .cw-all-exams__field-error:empty{display:none}
.cw-all-exams .cw-all-exams__candidate-message:not(:empty){font-weight:700;color:#9d251c}

/* All Exams mobile-only modal picker and guided scroll hotfix. Desktop unchanged. */
.cw-all-exams__mobile-backdrop[hidden]{display:none!important}
.cw-all-exams__mobile-backdrop,.cw-all-exams__mobile-modal-head{display:none}
@media(max-width:800px){
 .cw-all-exams .cw-all-exams__sidebar{display:none!important}
 .cw-all-exams.cw-all-exams--mobile-overlay{z-index:9999;isolation:auto}
 .cw-all-exams .cw-all-exams__mobile-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:rgba(10,26,38,.55);z-index:9998}
 .cw-all-exams .cw-all-exams__language-menu:not([hidden]),
 .cw-all-exams .cw-all-exams__location-results:not([hidden]){position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:calc(100vw - 32px);max-width:480px;max-height:calc(100dvh - 48px);max-height:calc(100vh - 48px);display:flex;flex-direction:column;z-index:9999;margin:0;padding:12px;border-radius:18px;background:#fff;box-sizing:border-box;box-shadow:0 20px 65px rgba(0,0,0,.28)}
 .cw-all-exams .cw-all-exams__mobile-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 12px;color:#17324d}
 .cw-all-exams .cw-all-exams__mobile-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #dae6df;border-radius:50%;background:#f4f9f6;color:#17324d;font:inherit;font-size:25px;cursor:pointer}
 .cw-all-exams .cw-all-exams__mobile-close:focus-visible{outline:3px solid #d7b56d;outline-offset:2px}
 .cw-all-exams .cw-all-exams__language-options,.cw-all-exams .cw-all-exams__location-results [data-role="locations-list"]{max-height:none;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain}
 .cw-all-exams .cw-all-exams__dates,.cw-all-exams .cw-all-exams__candidate{scroll-margin-top:24px}
}
@media(max-width:800px){
 .cw-all-exams .cw-all-exams__language-menu:not([hidden]),.cw-all-exams .cw-all-exams__location-results:not([hidden]){max-height:calc(100dvh - 48px)}
}

/* v2 mobile portal: isolate pickers from transformed/clipped booking ancestors. */
.cw-all-exams__mobile-portal[hidden]{display:none!important}
@media(max-width:800px){
 .cw-all-exams__mobile-portal:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;z-index:2147483000!important;font-family:inherit;font-size:16px;padding:16px;box-sizing:border-box;isolation:isolate;pointer-events:none}
 .cw-all-exams__mobile-portal .cw-all-exams__mobile-backdrop:not([hidden]){display:block!important;position:absolute!important;inset:0!important;background:rgba(10,26,38,.55);pointer-events:auto}
 .cw-all-exams__mobile-portal .cw-all-exams__language-menu:not([hidden]),
 .cw-all-exams__mobile-portal .cw-all-exams__location-results:not([hidden]){position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;max-width:480px!important;max-height:calc(100dvh - 32px)!important;margin:0!important;padding:12px!important;border:1px solid #d3e5db;border-radius:18px!important;background:#fff;box-shadow:0 20px 65px rgba(0,0,0,.28);pointer-events:auto;z-index:1!important}
 .cw-all-exams__mobile-portal .cw-all-exams__mobile-modal-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 12px;color:#17324d;flex-shrink:0}
 .cw-all-exams__mobile-portal .cw-all-exams__mobile-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #dae6df;border-radius:50%;background:#f4f9f6;color:#17324d;font:inherit;font-size:25px;cursor:pointer}
 .cw-all-exams__mobile-portal .cw-all-exams__language-options,
 .cw-all-exams__mobile-portal .cw-all-exams__location-results [data-role="locations-list"]{max-height:none!important;min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .cw-all-exams__mobile-portal .cw-all-exams__language-option{display:flex;justify-content:space-between;align-items:center;width:100%;gap:10px;border:0;background:transparent;color:#17324d;padding:12px;border-radius:10px;text-align:left;font:inherit;font-weight:650}
 .cw-all-exams__mobile-portal .cw-all-exams__language-option[aria-selected="true"]{background:#eaf5ef}
 .cw-all-exams__mobile-portal .cw-all-exams__language-right{display:flex;align-items:center;gap:8px}
 .cw-all-exams__mobile-portal .cw-all-exams__language-price,.cw-all-exams__mobile-portal .cw-all-exams__location-next{display:inline-block;white-space:nowrap;padding:7px;background:#e5f6ed;border-radius:8px;color:#206d4c}
 .cw-all-exams__mobile-portal .cw-all-exams__location-option{display:flex;justify-content:space-between;align-items:center;width:100%;gap:8px;border:0;background:transparent;color:#17324d;padding:12px 8px;text-align:left;font:inherit;font-weight:650}
}

/* Read-only PBNA prices centered modal, strictly scoped to all-exams. */
.cw-all-exams__head{position:relative;padding-right:170px;min-height:70px}
.cw-all-exams .cw-all-exams__prices-launch{position:absolute;right:0;top:5px;min-width:142px;padding:12px 18px;border:1px solid #23a477;border-radius:13px;background:#f0faf4;color:#086546;font:inherit;font-weight:750;cursor:pointer;box-shadow:0 4px 12px rgba(13,79,50,.05)}
.cw-all-exams .cw-all-exams__prices-launch:hover{background:#dff5e9}
.cw-all-exams__prices-overlay[hidden]{display:none!important}
.cw-all-exams__prices-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;justify-content:center;align-items:center;padding:clamp(12px,3vh,28px)}
.cw-all-exams__prices-backdrop{position:absolute;inset:0;background:rgba(10,32,43,.58)}
.cw-all-exams__prices-dialog{position:relative;width:min(620px,100%);height:auto;max-height:calc(100dvh - 56px);overflow:auto;padding:32px clamp(18px,3vw,34px);border:1px solid #d6e6de;border-radius:22px;background:#fff;box-shadow:0 18px 65px rgba(12,35,29,.22);color:#17324d}
.cw-all-exams__prices-dialog h2{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.17;padding-right:30px;margin:12px 0 14px;font-weight:800}
.cw-all-exams__prices-close{position:absolute;right:22px;top:18px;border:0;background:transparent;font-size:29px;color:#31556b;cursor:pointer}
.cw-all-exams__prices-intro{margin:0 0 5px;color:#5f7285}
.cw-all-exams__prices-vat{margin:0 0 22px;font-weight:750;color:#0e6b4d}
.cw-all-exams__prices-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}
.cw-all-exams__prices-tabs button{padding:10px 5px;border:1px solid #d6e3df;border-radius:11px;background:#fff;font:inherit;font-size:.82rem;font-weight:750;color:#17324d;cursor:pointer}
.cw-all-exams__prices-tabs button[aria-selected="true"]{border-color:#26a477;background:#e7f6ef;color:#086546}
.cw-all-exams__prices-list{max-height:min(58vh,650px);overflow:auto;border:1px solid #d9e4df;border-radius:12px}
.cw-all-exams__prices-list table{width:100%;border-collapse:collapse;font-size:.9rem}
.cw-all-exams__prices-list th{position:sticky;top:0;background:#e4f4ec;color:#17324d;text-align:left;font-weight:750}
.cw-all-exams__prices-list :is(th,td){padding:11px 13px;border-bottom:1px solid #e2eaf0}
.cw-all-exams__prices-list :is(th,td):last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.cw-all-exams__prices-list p{padding:14px}
.cw-all-exams__prices-footnote{margin:22px 0 0;padding:16px;border-radius:13px;background:#eaf7f3;color:#365f54;font-size:.83rem;line-height:1.6}
@media(max-width:650px){.cw-all-exams__head{padding-right:0;padding-top:56px}.cw-all-exams .cw-all-exams__prices-launch{top:0;right:0;padding:9px 14px;min-width:120px}.cw-all-exams__prices-overlay{padding:12px}.cw-all-exams__prices-dialog{width:100%;max-height:calc(100dvh - 24px);border-radius:16px;padding:24px 16px}.cw-all-exams__prices-list{max-height:58dvh}}
/* Independent modal booking, using the existing PBNA verification and Stripe services. */
.cw-all-exams__prices-booking[hidden],.cw-all-exams__prices-list[hidden],.cw-all-exams__prices-tabs[hidden],.cw-all-exams__prices-footnote[hidden]{display:none!important}
.cw-all-exams__price-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:5px 0;text-align:left;background:transparent;border:0;color:#17324d;font:inherit;cursor:pointer}
.cw-all-exams__price-choice:hover,.cw-all-exams__price-choice:focus-visible{color:#08754f;text-decoration:underline}
.cw-all-exams__price-amount{font-weight:750;white-space:nowrap}
.cw-all-exams__prices-booking{min-height:210px}
.cw-all-exams__prices-booking h3{font-size:1.3rem;margin:12px 0}
.cw-all-exams__prices-booking-top button{background:none;border:0;color:#0a7755;font-weight:700;cursor:pointer;padding:8px 0}
.cw-all-exams__prices-booking-selection{color:#365f54;background:#eaf7f3;padding:12px;border-radius:10px}
.cw-all-exams__prices-booking-option{display:block;width:100%;margin:9px 0;padding:14px 15px;text-align:left;background:#fff;border:1px solid #dae8e0;color:#17324d;border-radius:10px;cursor:pointer}
.cw-all-exams__prices-booking-option:hover,.cw-all-exams__prices-booking-option:focus-visible{background:#eaf7f3;border-color:#0c9368}
.cw-all-exams__prices-booking .cw-all-exams__candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field{min-width:0}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field input,.cw-all-exams__prices-booking .cw-all-exams__candidate-field select{width:100%}
.cw-all-exams__prices-booking-summary>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #dce7e2}
.cw-all-exams__prices-booking-summary dt{color:#586e7c}.cw-all-exams__prices-booking-summary dd{margin:0;text-align:right;font-weight:650}
.cw-all-exams__prices-booking-pay{display:block;margin-top:20px;width:100%;padding:13px;color:#fff;background:#0c7959;border:0;border-radius:10px;font-weight:750;cursor:pointer}
.cw-all-exams__prices-booking-pay:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.cw-all-exams__prices-booking .cw-all-exams__candidate-grid{grid-template-columns:1fr}}


/* Cennik candidate step: mirror all-exam candidate UI even when the modal
   is portalled outside the .cw-all-exams root to clear the site navigation. */
.cw-all-exams__prices-booking form:has(.cw-all-exams__candidate-grid){
  margin-top:16px;padding:clamp(16px,3vw,26px);
  border:1px solid #d4e3db;border-radius:20px;
  background:linear-gradient(125deg,#f5fbf7,#fff 72%);
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field{
  display:grid;gap:7px;min-width:0;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field label{
  font-weight:700;font-size:.9rem;line-height:1.4;color:#17324d;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field :is(input,select){
  box-sizing:border-box;display:block;width:100%;min-width:0;min-height:52px;
  padding:11px 14px;border:1px solid #cbd9d5;border-radius:13px;
  background:#fff;color:#17324d;font:inherit;line-height:1.4;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field :is(input,select):focus-visible{
  outline:0;border-color:#0f7a5a;box-shadow:0 0 0 3px rgba(15,122,90,.14);
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-field [aria-invalid="true"]{
  border-color:#b42318!important;box-shadow:0 0 0 3px rgba(180,35,24,.10);
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-actions{
  display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-actions button{
  min-height:46px;border:0;border-radius:999px;padding:12px 22px;
  background:#0f7a5a;color:#fff;font:inherit;font-weight:700;cursor:pointer;
}
.cw-all-exams__prices-booking .cw-all-exams__candidate-actions button:hover{background:#0b664c}
.cw-all-exams__prices-booking .cw-all-exams__candidate-message{margin:0;color:#245849;font-size:.88rem}
.cw-all-exams__prices-booking .cw-all-exams__candidate-message:not(:empty){font-weight:700;color:#9d251c}
.cw-all-exams__prices-booking .cw-all-exams__field-error{display:block;color:#9d251c;font-size:.8rem;line-height:1.4}
.cw-all-exams__prices-booking .cw-all-exams__field-error:empty{display:none}
@media(max-width:650px){
  .cw-all-exams__prices-booking .cw-all-exams__candidate-grid{grid-template-columns:1fr}
  .cw-all-exams__prices-booking form:has(.cw-all-exams__candidate-grid){padding:16px}
  .cw-all-exams__prices-booking .cw-all-exams__candidate-actions button{width:100%}
}

/* Local SVG language flags in the clickable price list. */
.cw-all-exams__price-language{display:inline-flex;align-items:center;gap:12px;min-width:0}
.cw-all-exams__price-flag{width:24px;height:16px;flex:0 0 24px;object-fit:cover;border-radius:2px;border:1px solid rgba(20,50,74,.13)}

/* PBNA language picker: use bundled flags already used by the price list. */
.cw-all-exams .cw-all-exams__language-name,.cw-all-exams__mobile-portal .cw-all-exams__language-name{display:inline-flex;align-items:center;gap:11px;min-width:0}
.cw-all-exams .cw-all-exams__language-flag,.cw-all-exams__mobile-portal .cw-all-exams__language-flag{width:24px;height:16px;flex:0 0 24px;object-fit:cover;border-radius:2px;border:1px solid rgba(20,50,74,.13)}

/* HOTFIX: premium price-list launch button, without changing booking behavior. */
.cw-all-exams__head{padding-right:235px}
.cw-all-exams .cw-all-exams__prices-launch{
  display:inline-flex;align-items:center;justify-content:center;gap:13px;
  top:4px;right:0;min-width:202px;min-height:54px;
  padding:12px 20px;border:1px solid #a9e2d0;border-radius:999px;
  background:linear-gradient(125deg,#f6fffb 0%,#e8faf2 47%,#d7f3e7 100%);
  color:#16324a;font:inherit;font-size:1rem;font-weight:800;
  letter-spacing:.005em;line-height:1.2;white-space:nowrap;
  box-shadow:0 11px 25px rgba(11,117,80,.15),inset 0 1px 0 rgba(255,255,255,.9);
  transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.cw-all-exams .cw-all-exams__prices-launch::before{
  content:"";display:block;width:24px;height:24px;flex:none;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.59 13.41 13.41 20.6a2 2 0 0 1-2.83 0L3 13V3h10l7.59 7.59a2 2 0 0 1 0 2.82ZM7.5 7.5h.01'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.59 13.41 13.41 20.6a2 2 0 0 1-2.83 0L3 13V3h10l7.59 7.59a2 2 0 0 1 0 2.82ZM7.5 7.5h.01'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cw-all-exams .cw-all-exams__prices-launch::after{content:'\2192';font-size:1.45rem;font-weight:500;line-height:1;margin-left:2px}
.cw-all-exams .cw-all-exams__prices-launch:hover{
  background:linear-gradient(125deg,#f0fff8,#c9f0df);border-color:#65c9a1;
  box-shadow:0 15px 30px rgba(11,117,80,.2),inset 0 1px 0 rgba(255,255,255,.9);
  transform:translateY(-2px);
}
.cw-all-exams .cw-all-exams__prices-launch:active{transform:translateY(0)}
@media(max-width:650px){
  .cw-all-exams__head{padding-right:0;padding-top:67px}
  .cw-all-exams .cw-all-exams__prices-launch{top:0;right:0;min-width:164px;min-height:48px;padding:10px 16px;gap:9px;font-size:.93rem}
  .cw-all-exams .cw-all-exams__prices-launch::before{width:20px;height:20px}
}
@media(prefers-reduced-motion:reduce){.cw-all-exams .cw-all-exams__prices-launch{transition:none}.cw-all-exams .cw-all-exams__prices-launch:hover{transform:none}}

/* ALLEX handoff lock: visible, readable fields with an explicit change dialog. */
.cw-all-exams.is-allex-locked .cw-all-exams__empty{display:none}
.cw-all-exams.is-allex-locked .cw-all-exams__exam-card,.cw-all-exams.is-allex-locked [data-role="language-picker"],.cw-all-exams.is-allex-locked [data-role="place-picker"]{cursor:pointer;opacity:1}
.cw-all-exams.is-allex-locked [data-role="place-trigger"]{opacity:1;color:inherit}
.cw-all-exams__lock-overlay[hidden]{display:none}
/* Quiet confirmation styling aligned with the existing booking-success overlay. */
.cw-all-exams__lock-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(12,32,47,.55);display:flex;align-items:center;justify-content:center;padding:18px}
.cw-all-exams__lock-dialog{box-sizing:border-box;background:#fff;color:#18314a;width:min(100%,420px);border:1px solid #e0ebe6;border-radius:18px;padding:28px 27px 25px;box-shadow:0 18px 48px rgba(10,36,38,.18);max-height:min(90vh,740px);overflow:auto;text-align:center}
.cw-all-exams__lock-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 16px;border-radius:50%;background:#e9f6ef;color:#098658;font-size:1.85rem;font-weight:700;line-height:1}
.cw-all-exams__lock-dialog h2{margin:0 auto 14px;max-width:340px;font-size:1.3rem;line-height:1.35;font-weight:750;color:#19384f}
.cw-all-exams__lock-dialog p{margin:0 auto 12px;line-height:1.58;font-size:.92rem;color:#4a6270}
.cw-all-exams__lock-dialog .cw-all-exams__lock-help{margin-top:13px}
.cw-all-exams__lock-selection{margin:18px 0 4px;padding:14px 12px;border-top:1px solid #e4ecea;border-bottom:1px solid #e4ecea}
.cw-all-exams__lock-selection strong{display:block;color:#254b4a;font-size:.83rem;margin-bottom:8px}
.cw-all-exams__lock-selection p{margin:0;color:#173951;font-size:.91rem;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.cw-all-exams__lock-actions{display:flex;flex-direction:column;align-items:center;gap:9px;margin-top:21px}
.cw-all-exams__lock-actions button{max-width:100%;min-height:42px;border:1px solid #087851;border-radius:10px;padding:10px 18px;font:inherit;font-size:.92rem;font-weight:600;line-height:1.35;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}
.cw-all-exams__lock-actions [data-lock="start"]{background:#087851;color:#fff}
.cw-all-exams__lock-actions [data-lock="start"]:hover{background:#066746}
.cw-all-exams__lock-actions [data-lock="cancel"]{background:white;color:#07583f}
.cw-all-exams__lock-actions [data-lock="cancel"]:hover{background:#f0faf4}
.cw-all-exams__lock-actions button:focus-visible{outline:3px solid #9acbb3;outline-offset:3px}
@media(max-width:480px){.cw-all-exams__lock-dialog{padding:24px 19px 22px}.cw-all-exams__lock-dialog h2{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){.cw-all-exams__lock-actions button{transition:none}}

.cw-all-exams.is-allex-locked .cw-all-exams__place-trigger{background:#fff;color:#18314a;opacity:1;cursor:pointer}
.cw-all-exams.is-allex-locked [data-t="helper"],.cw-all-exams.is-allex-locked [data-t="placeHint"]{display:none}
.cw-all-exams.is-allex-locked .cw-all-exams__language-trigger{background:#fff;color:#18314a;opacity:1}
