.loyalty-card{margin:18px 0;padding:20px;border:1px solid var(--pro-line,#ded7c8);background:var(--pro-wash,var(--brand-secondary,#f5f1e7));border-radius:var(--pro-radius,16px);color:var(--brand-ink,inherit)}
.loyalty-card h3{font-family:Segoe UI,system-ui,sans-serif!important;font-size:28px!important;font-weight:650!important;margin:8px 0}.loyalty-card progress{display:block;width:100%;height:10px;accent-color:var(--brand-accent,#b08a35);margin:12px 0 18px}.loyalty-card p{line-height:1.6}.loyalty-warning{border-left:4px solid #aa5625;padding:12px;background:#fff3dd;color:#61320d}.loyalty-info,.loyalty-estimate{padding:12px;border-left:3px solid var(--brand-accent,#b08a35);background:var(--pro-wash,#f5f1e7);line-height:1.6}
#loyalty-content{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px}#loyalty-content>.panel:last-child{grid-column:1/-1}#loyalty-content form,#loyalty-account-dialog form{display:grid;gap:15px}#loyalty-content label,#loyalty-account-dialog label{display:flex;flex-direction:column;gap:7px}#loyalty-content input,#loyalty-content select,#loyalty-account-dialog input{min-height:46px;width:100%;box-sizing:border-box}#loyalty-content .loyalty-check,.loyalty-check{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:44px}.loyalty-check input[type=checkbox]{width:22px!important;min-height:22px!important;height:22px;flex-shrink:0}.loyalty-results{display:flex;flex-direction:column;gap:8px;margin:12px 0;max-height:350px;overflow:auto}.loyalty-results button{text-align:left;min-height:46px;white-space:normal}.loyalty-search{margin:12px 0}.loyalty-search>button{margin-top:10px}.loyalty-booking{border-top:1px solid var(--pro-line,#ddd);margin-top:20px;padding-top:16px}.loyalty-booking>button{display:block;min-height:46px;margin:8px 0;width:100%}.loyalty-booking summary,#loyalty-account-dialog summary,#loyalty-content summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.loyalty-reward{padding:14px 0;border-bottom:1px solid #ddd}#loyalty-account-dialog{width:min(620px,calc(100vw - 28px));box-sizing:border-box;max-height:94dvh;overflow:auto;padding:28px}#loyalty-account-dialog h2{padding-right:48px}#loyalty-account-dialog button{min-height:46px}.loyalty-walkin-result input{font-size:12px}.loyalty-walkin-result a{display:inline-flex;min-height:44px;align-items:center}
@media(max-width:1000px){#loyalty-content{grid-template-columns:1fr}}@media(max-width:520px){.loyalty-card{padding:14px}#loyalty-account-dialog{padding:18px}}
.loyalty-confirm{width:min(520px,calc(100vw - 28px));box-sizing:border-box;padding:28px;border:1px solid #ddd;border-radius:16px}.loyalty-confirm p{line-height:1.7}.loyalty-confirm button{min-height:46px}

body.pro-designed:has(#loyalty-view:not([hidden])) {
  --pro-ui-font:var(--brand-body-font),system-ui,sans-serif;
  --desk-edge:min(18px,var(--pro-radius));
  background:color-mix(in srgb,var(--brand-secondary) 7%,var(--brand-background));color:var(--brand-page-ink);
}
.pro-designed:has(#loyalty-view:not([hidden])) #pilot-notice {display:none}
.pro-designed #loyalty-view .section-head {margin:0 0 16px}
.pro-designed #loyalty-view h1 {font:600 clamp(30px,3.4vw,48px)/1.07 var(--brand-heading-font);margin:4px 0}
.pro-designed #loyalty-content {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(12px,2vw,28px);align-items:start}
.desk-primary,.desk-rail {display:grid;min-width:0;gap:16px;align-content:start}
.pro-designed #loyalty-content .panel {color:var(--brand-surface-ink);background:var(--brand-surface);border:1px solid var(--pro-line);border-radius:var(--desk-edge);padding:clamp(16px,1.8vw,26px);margin:0;min-width:0}
.pro-designed #loyalty-content h2 {font:600 clamp(22px,2vw,30px)/1.15 var(--brand-heading-font);color:inherit;margin:0 0 14px}
.pro-designed #loyalty-content h3 {font:650 1.15rem/1.22 var(--brand-heading-font);margin:10px 0;color:inherit}
.pro-designed #loyalty-content :is(button,summary,input:not([type=checkbox]),select),.loyalty-confirm button {min-height:46px;font-family:var(--pro-ui-font);touch-action:manipulation}
.pro-designed #loyalty-content :is(input,button,select,fieldset) {box-sizing:border-box;min-width:0;max-width:100%}
.pro-designed #loyalty-content :is(input,select,fieldset) {color:var(--brand-surface-ink);border-color:var(--pro-line);background:var(--brand-surface)}
.pro-designed #loyalty-content :is(button,summary,input,select):focus-visible {outline:3px solid currentColor;outline-offset:2px}
.pro-designed #loyalty-content .loyalty-check {display:flex;flex-direction:row;align-items:center;min-height:46px}
.loyalty-check input {accent-color:var(--brand-accent)}
.desk-pass {position:relative;overflow:hidden;isolation:isolate;padding:clamp(18px,3vw,36px);color:#fff;border-radius:clamp(8px,var(--pro-radius),18px);background:linear-gradient(125deg,color-mix(in srgb,var(--brand-secondary) 16%,#141519),color-mix(in srgb,var(--brand-accent) 18%,#151619));box-shadow:0 5px 16px #12141a22;overflow-wrap:anywhere}
.desk-pass::before {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--brand-accent) 30%,transparent) 1px,transparent 1.5px);background-size:14px 14px;mask-image:linear-gradient(135deg,transparent 18%,#000)}
.desk-pass::after {content:"";position:absolute;pointer-events:none;inset:7px;border:1px solid color-mix(in srgb,var(--brand-accent) 42%,transparent);border-radius:inherit}
.desk-pass-mast {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}
.desk-pass-mast strong {font:600 1.25rem/1.2 var(--brand-heading-font);color:color-mix(in srgb,var(--brand-accent) 50%,white)}
.desk-pass-mast img {max-width:42%;height:44px;object-fit:contain;background:var(--brand-background);border-radius:4px;padding:5px 8px;box-sizing:border-box}
.desk-pass>small {font:.77rem/1.4 var(--pro-ui-font);letter-spacing:.05em}
.pro-designed #loyalty-content .desk-pass h2 {font-size:clamp(26px,3vw,44px);margin:4px 0 8px;color:white}
.desk-pass p {color:inherit;font-size:1rem;margin:8px 0}
.desk-pass progress {width:100%;accent-color:var(--brand-accent)}
.desk-stamps {display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #ffffff3b;padding-top:12px}
.desk-stamps span {display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff7f;border-radius:50%;font-size:.82rem}
.desk-stamps .filled {background:var(--brand-accent);color:var(--brand-button-ink);border-color:var(--brand-accent)}
.desk-perk {display:block;margin:12px 0 0}
.pro-designed #loyalty-content .desk-pass h3 {font-size:clamp(20px,2.35vw,32px);line-height:1.1;margin:16px 0 12px;color:color-mix(in srgb,var(--brand-accent) 34%,white)}
.desk-selected-visit>button:not(.desk-visit) {margin:6px 6px 4px 0}
.desk-account-tools {display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.desk-account-tools>button {flex:1 1 auto}
.desk-status {display:inline-flex;align-items:center;justify-content:center;font:.78rem/1.3 var(--pro-ui-font);font-weight:650;padding:5px 9px;color:var(--brand-surface-ink);background:var(--pro-wash);border-radius:var(--desk-edge)}
.pro-designed #loyalty-content .desk-visit {display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 0;background:transparent;border:0;border-bottom:1px solid var(--pro-line);color:var(--brand-surface-ink);border-radius:0}
.desk-visit>span {display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}
.desk-visit time {font-variant-numeric:tabular-nums}
.desk-visit small {line-height:1.25}
.desk-activity>button {margin-top:12px}
.loyalty-search-bar {display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.loyalty-search-bar label {flex:1 1 130px;min-width:0}
.loyalty-search>small {display:block;margin-top:8px}
.pro-designed #loyalty-content .loyalty-results {max-height:205px;overflow:auto;gap:0;border-top:1px solid var(--pro-line)}
.pro-designed #loyalty-content .loyalty-results button {display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-bottom:1px solid var(--pro-line);border-radius:0;padding:8px 4px;line-height:1.3;overflow-wrap:anywhere}
.loyalty-results small {font-size:.8rem}
.desk-rules .loyalty-settings,.desk-walkin[open] form {margin-top:12px}
.pro-designed #loyalty-content summary {display:list-item;align-content:center;cursor:pointer;padding:8px 0}
.desk-rules summary {border-top:1px solid var(--pro-line)}
#loyalty-content form[hidden] {display:none}
.loyalty-walkin-result {display:grid;gap:8px;overflow-wrap:anywhere}
.pro-designed :is(#loyalty-account-dialog,.loyalty-confirm) {background:var(--brand-surface);color:var(--brand-surface-ink);border:1px solid var(--pro-line);border-radius:var(--pro-radius)}
@media(max-width:799px){.pro-designed #loyalty-content{grid-template-columns:minmax(0,1fr)}}

.desk-mark,.desk-panel-head {display:flex;align-items:center;gap:12px}
.desk-mark {min-width:0;flex-wrap:wrap}
.desk-pass-id {display:grid;gap:3px;text-align:right}
.desk-pass-id small {opacity:.8}
.desk-pass-id b {font-variant-numeric:tabular-nums;letter-spacing:.06em}
.desk-holder small {font:.78rem/1.35 var(--pro-ui-font);letter-spacing:.045em}
.desk-pass-detail {display:flex;align-items:end;justify-content:space-between;gap:10px;flex-wrap:wrap}
.desk-holder {min-width:0;flex:1 1 160px}
.desk-balance {text-align:end}
.desk-pass :is(.desk-stamps,progress) {margin-top:12px}
.desk-panel-head {justify-content:space-between;margin-bottom:10px}
.pro-designed #loyalty-content .desk-panel-head h2 {margin:0}
.desk-panel-head button {flex:none}
.desk-avatar {flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--pro-wash);color:var(--brand-surface-ink);font:700 .82rem var(--pro-ui-font)}
.desk-email-keys {display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.pro-designed #loyalty-content .desk-email-keys button {background:var(--pro-wash);color:var(--brand-surface-ink);padding:5px 9px;min-width:44px;border:1px solid var(--pro-line);font-size:.82rem}
.desk-activity-summary {margin-top:16px;border-top:1px solid var(--pro-line);padding-top:6px}
.desk-metrics {margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.desk-metrics>div {display:flex;flex-direction:column-reverse;justify-content:end;gap:4px;padding:10px 8px;background:var(--pro-wash);border-radius:var(--desk-edge)}
.desk-metrics dd {margin:0;font:650 1.5rem/1 var(--brand-heading-font);font-variant-numeric:tabular-nums}
.desk-metrics dt {font:.8rem/1.25 var(--pro-ui-font);overflow-wrap:anywhere}
.pro-loyalty.pro-designed #loyalty-view #loyalty-content {gap:14px}
.pro-loyalty #loyalty-view :is(.desk-primary,.desk-rail) {gap:14px}
.pro-loyalty.pro-designed #loyalty-view .panel {padding:clamp(14px,1.8vw,24px)}
.pro-loyalty.pro-designed #loyalty-view .desk-focus {padding:9px;scroll-margin-top:calc(var(--desk-bar) + 10px)}
.pro-loyalty.pro-designed #loyalty-view .section-head {padding:10px 16px;margin-bottom:12px}
.pro-loyalty.pro-designed #loyalty-view h1 {font-size:clamp(27px,2.65vw,38px)}
.pro-loyalty.pro-designed #loyalty-view .desk-pass {
  padding:clamp(20px,2.3vw,32px);
  background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--brand-accent) 22%,transparent),transparent 65%),linear-gradient(116deg,var(--desk-dark),var(--desk-rail));
}
.pro-loyalty #loyalty-view .desk-pass-mast {margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #ffffff38}
.pro-loyalty #loyalty-view .desk-mark img {height:46px;width:auto;max-width:112px}
.pro-loyalty #loyalty-view .desk-account-tools {margin:8px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.pro-loyalty #loyalty-view .desk-account-tools button {font-weight:650;line-height:1.2;min-height:50px}
.pro-loyalty #loyalty-view .desk-account-tools button:first-child {background:var(--brand-accent);color:var(--brand-button-ink)}
.pro-loyalty #loyalty-view .desk-account-tools button:nth-child(2) {background:var(--desk-rail);color:white}
.pro-loyalty #loyalty-view .desk-account-tools button:last-child {grid-column:1/-1}
.pro-loyalty #loyalty-view .desk-account-tools button:last-child:not(:only-child) {min-height:44px;justify-self:end;background:transparent;border:0;text-decoration:underline;text-underline-offset:.2em}
.pro-loyalty #loyalty-view .desk-account-tools:has(>button:nth-child(4)) button:last-child {grid-column:auto}
.pro-loyalty.pro-designed #loyalty-view .desk-focus .desk-holder h2 {font-size:clamp(24px,2.4vw,34px)}
.pro-loyalty.pro-designed #loyalty-view .desk-balance h3 {font-size:clamp(19px,2vw,27px);margin:0}
.pro-loyalty #loyalty-view .desk-focus:has(.desk-selected-visit) .desk-account-tools+div {padding:0 8px 8px}
.pro-loyalty #loyalty-view .desk-rules .desk-status {float:right;margin:0 0 6px 8px}
.pro-loyalty #loyalty-view .desk-rules p {line-height:1.45}
.pro-loyalty #loyalty-view .desk-avatar {background:var(--desk-tint)}
@media(min-width:951px){.pro-loyalty.pro-designed #loyalty-view #loyalty-content {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.pro-loyalty.pro-designed #loyalty-view #loyalty-content {grid-template-columns:minmax(0,1fr)}}

#loyalty-account-dialog .account-head {display:flex;align-items:center;justify-content:space-between;gap:12px}
#loyalty-account-dialog .account-head h2 {margin:0;padding:0}
.account-entry {display:flex;align-items:start;gap:10px;padding:10px 0;border-top:1px solid var(--pro-line)}
.account-entry>div {display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.account-delta {min-width:3ch;text-align:center;font-variant-numeric:tabular-nums}
.pro-designed #loyalty-account-dialog.account-tablet {
  box-sizing:border-box;inset:calc(var(--desk-bar,58px) + 8px) 10px 10px calc(var(--desk-width,0px) + 10px);
  width:min(1090px,calc(100vw - var(--desk-width,0px) - 20px));max-width:none;max-height:calc(100dvh - var(--desk-bar,58px) - 18px);
  margin:0 auto auto;padding:0;background:var(--brand-background);color:var(--brand-page-ink);border-radius:var(--desk-edge);
  font:1rem/1.45 var(--brand-body-font),system-ui,sans-serif;overscroll-behavior:contain;
}
.account-tablet::backdrop {background:#0d141b38}
.account-tablet .account-head {position:sticky;top:0;z-index:2;padding:10px 16px;background:var(--desk-rail);color:white}
.pro-designed #loyalty-account-dialog.account-tablet .account-head h2 {font:600 clamp(24px,2.5vw,34px)/1.1 var(--brand-heading-font);color:inherit}
.pro-designed .account-tablet .account-head .dialog-close {position:static;flex:none;margin:0;background:var(--brand-surface);color:var(--brand-surface-ink);border-color:var(--pro-line)}
.account-head>div {min-width:0;overflow-wrap:anywhere}
.account-booking-date {display:block;margin-top:3px}
.pro-designed #loyalty-account-dialog .account-head .account-return {
  flex:0 0 auto;max-width:47%;min-height:46px;padding:7px 12px;margin:0;
  color:var(--brand-button-ink);background:var(--brand-accent);border:0;border-radius:var(--desk-edge);
  font:650 .94rem/1.2 var(--brand-body-font),system-ui,sans-serif;
}
.account-tablet .account-body {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;padding:12px}
.account-tablet :is(.account-primary,.account-side) {display:grid;gap:12px;min-width:0}
.account-tablet :is(.account-primary,.account-side)>details {
  margin:0;padding:0 16px;color:var(--brand-surface-ink);background:var(--brand-surface);border:1px solid var(--pro-line);border-radius:var(--desk-edge);
}
.account-tablet :is(.account-primary,.account-side)>details[open] {padding-bottom:14px}
.account-tablet summary {cursor:pointer;align-content:center;min-height:52px;font:600 1.17rem/1.25 var(--brand-heading-font);overflow-wrap:anywhere}
.account-tablet details>summary {display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none}
.account-tablet details>summary::after {content:'';flex:none;width:7px;height:7px;border-bottom:2px solid;border-right:2px solid;transform:rotate(45deg);margin-right:4px}
.account-tablet details[open]>summary::after {transform:rotate(225deg)}
.account-tablet .account-reward-edit>summary {font:600 .92rem var(--brand-body-font)}
.pro-designed #loyalty-account-dialog.account-tablet :is(input,button,summary) {min-height:46px;touch-action:manipulation}
.account-tablet :is(button,input):not(.dialog-close) {font-family:var(--brand-body-font);color:var(--brand-surface-ink);background:var(--brand-surface);border-color:var(--pro-line)}
.account-tablet button[type=submit] {background:var(--brand-accent);color:var(--brand-button-ink)}
.account-tablet .desk-pass {background:linear-gradient(125deg,var(--desk-dark),var(--desk-rail));border-radius:var(--desk-edge)}
.pro-designed #loyalty-account-dialog.account-tablet .desk-holder h2 {font:600 clamp(24px,2.6vw,36px)/1.1 var(--brand-heading-font);color:white;padding:0;margin:5px 0}
.account-tablet .desk-balance h3 {font:600 1.25rem/1.2 var(--brand-heading-font);color:white;margin:0}
.account-tablet .account-delta {padding:4px 7px;background:var(--desk-tint);border-radius:var(--desk-edge)}
.account-tablet .account-notice {margin:12px 12px 0;padding:10px 14px;background:var(--brand-surface);color:var(--brand-surface-ink);border-left:4px solid var(--brand-accent)}
.account-tablet :is(button,summary,input):focus-visible {outline:2px solid currentColor;outline-offset:2px}
@media(max-width:950px){.account-tablet .account-body {grid-template-columns:minmax(0,1fr)}}

.desk-phone-links {display:none}
.pro-loyalty.pro-phone-workspace #loyalty-view .section-head {padding:6px 0;margin-bottom:8px}
.pro-loyalty.pro-phone-workspace #loyalty-view h1 {font-size:clamp(25px,7vw,34px)}
.pro-loyalty.pro-phone-workspace .desk-phone-links {
  display:flex;gap:4px;flex-wrap:wrap;margin:0 0 10px;
}
.desk-phone-links a {
  display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:44px;padding:4px 7px;
  color:var(--brand-surface-ink);background:var(--desk-tint);border-radius:var(--desk-edge);
  font:650 .87rem/1.2 var(--pro-ui-font);text-decoration:none;
}
.desk-phone-links a:focus-visible {outline:2px solid currentColor;outline-offset:2px}
.pro-loyalty.pro-phone-workspace #loyalty-view #loyalty-content {grid-template-columns:minmax(0,1fr);gap:12px}
.pro-loyalty.pro-phone-workspace #loyalty-content section[id] {scroll-margin-top:calc(var(--pro-header,72px) + 8px)}
.pro-loyalty.pro-phone-workspace #loyalty-content .desk-panel-head {flex-wrap:wrap}
.pro-loyalty.pro-phone-workspace .desk-pass-mast {align-items:start}
.pro-loyalty.pro-phone-workspace .desk-mark {gap:6px}
.pro-loyalty.pro-phone-workspace .desk-balance {text-align:start}
.pro-loyalty.pro-phone-workspace .desk-visit {flex-wrap:wrap}
.pro-loyalty.pro-phone-workspace .desk-visit>span {min-width:min(12ch,100%)}
.pro-phone-workspace #loyalty-account-dialog.account-tablet {
  inset:0;width:100%;max-height:100dvh;margin:auto 0 0;border-radius:var(--desk-edge) var(--desk-edge) 0 0;
  padding-bottom:env(safe-area-inset-bottom);
}
.pro-phone-workspace .account-tablet .account-body {grid-template-columns:minmax(0,1fr)}
