/* ============================================================
   HOYA Booking — frontend design system (blue + yellow)
   ============================================================ */
.hoya-app,
.hoya-auth {
	--blue: #0e4fd1;
	--blue-600: #1657e0;
	--blue-700: #0a3aa0;
	--blue-050: #eef3ff;
	--blue-100: #dbe6ff;
	--yellow: #ffc400;
	--yellow-600: #e9ad00;
	--ink: #131a2b;
	--muted: #64748b;
	--line: #e6ebf3;
	--bg: #f7f9fc;
	--white: #fff;
	--ok: #12805c;
	--ok-bg: #e4f6ee;
	--danger: #d33030;
	--danger-bg: #fdecec;
	--warn: #8a6100;
	--warn-bg: #fff6df;
	--r: 16px;
	--r-sm: 10px;
	--shadow: 0 12px 34px rgba(19, 41, 92, .10);
	--shadow-sm: 0 4px 14px rgba(19, 41, 92, .07);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}
.hoya-app *, .hoya-app *::before, .hoya-app *::after,
.hoya-auth *, .hoya-auth *::before, .hoya-auth *::after { box-sizing: border-box; }
.hoya-ico { flex: none; vertical-align: middle; }

/* ---------- App shell (full width, sticky footer) ---------- */
.hoya-app {
	width: 100%;
	margin: 0;
	background: var(--white);
	overflow: hidden;
	border: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh; /* keeps the footer at the bottom even on short pages */
}
.hoya-logo { height: 30px; width: auto; display: block; }
.hoya-logo--light { filter: brightness(0) invert(1); } /* tint any logo white on dark surfaces */
.hoya-logo--card { height: 16px; }
.hoya-voucher.is-dead .hoya-logo { filter: brightness(0); opacity: .4; } /* muted dark on the grey dead card */
.hoya-app__bar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 24px;
	background: linear-gradient(100deg, var(--blue-700), var(--blue) 65%, var(--blue-600));
	color: #fff;
}
.hoya-brand { display: flex; align-items: center; gap: 10px; }
.hoya-brand__logo { font-weight: 800; letter-spacing: 2px; font-size: 20px; display: flex; align-items: center; gap: 4px; }
.hoya-brand__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.hoya-brand__sub { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; }
.hoya-bar__right { display: flex; align-items: center; gap: 18px; }
.hoya-bar__user { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hoya-bar__name { font-weight: 600; }
.hoya-bar__logout { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; opacity: .85; font-size: 13px; }
.hoya-bar__logout:hover { opacity: 1; }
/* Scoped + !important: the active theme applies its own <button> styling. */
.hoya-app .hoya-bar__redeem {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px !important;
	background: #fff !important;
	border: 1px solid #fff !important;
	color: var(--blue) !important; font-weight: 600; font-size: 13.5px;
	border-radius: 9px !important; cursor: pointer;
	transition: background .12s, box-shadow .12s;
}
.hoya-app .hoya-bar__redeem:hover { background: var(--blue-050) !important; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
/* Locked quick action (event-only mode): still there, greyed, nothing to click. */
.hoya-app .hoya-bar__redeem.is-locked,
.hoya-app .hoya-bar__redeem.is-locked:hover {
	background: rgba(255,255,255,.45) !important; border-color: rgba(255,255,255,.45) !important;
	color: #8fa0bd !important; box-shadow: none; cursor: not-allowed;
}
.hoya-app .hoya-bar__redeem.is-locked .hoya-ico { color: #8fa0bd; }
.hoya-app .hoya-bar__redeem .hoya-ico { color: var(--blue); }
@media (max-width: 600px) { .hoya-bar__redeem span { display: none; } }

/* App-bar modal keeps the shared modal styling but ensures a workable width */
dialog.hoya-modal--app { max-width: 440px; }

/* Two-step redeem: the "check first" result card */
.hoya-redeem-result { margin-top: 16px; }
.hoya-redeem-card {
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	overflow: hidden;
	background: var(--white);
}
.hoya-redeem-card__head {
	display: flex; flex-direction: column; gap: 3px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
}
.hoya-redeem-card__head.is-ok { background: var(--ok-bg); }
.hoya-redeem-card__head.is-bad { background: var(--danger-bg); }
.hoya-redeem-card__code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-weight: 800; font-size: 15px; letter-spacing: .5px; color: var(--ink);
}
.hoya-redeem-card__head.is-ok .hoya-redeem-card__msg { color: var(--ok); font-weight: 600; }
.hoya-redeem-card__head.is-bad .hoya-redeem-card__msg { color: var(--danger); font-weight: 600; }
.hoya-redeem-card__msg { font-size: 13px; }
.hoya-redeem-card__row {
	display: flex; justify-content: space-between; gap: 12px;
	padding: 9px 14px; font-size: 13.5px;
	border-bottom: 1px solid var(--line);
}
.hoya-redeem-card__row:last-child { border-bottom: 0; }
.hoya-redeem-card__row span { color: var(--muted); }
#hoya-redeem-form { margin-top: 14px; }
.hoya-btn--block { width: 100%; justify-content: center; }

/* ---------- Parent "My Cards" — child-scoped ---------- */
.hoya-mycards__hint { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.hoya-childpills {
	display: flex; gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px; margin-bottom: 20px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.hoya-app .hoya-childpill {
	display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
	padding: 7px 16px 7px 7px !important;
	border: 1px solid var(--line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--ink) !important;
	font-weight: 600; font-size: 14px; font-family: inherit;
	cursor: pointer; white-space: nowrap;
	transition: background .12s, border-color .12s;
}
.hoya-app .hoya-childpill:hover { border-color: var(--blue) !important; }
.hoya-childpill__avatar {
	width: 28px; height: 28px; flex: none; border-radius: 50%;
	background: var(--blue-050); color: var(--blue);
	font-weight: 800; font-size: 13px;
	display: flex; align-items: center; justify-content: center;
}
.hoya-app .hoya-childpill.is-active {
	background: var(--blue) !important;
	border-color: var(--blue) !important;
	color: #fff !important;
}
.hoya-childpill.is-active .hoya-childpill__avatar { background: rgba(255,255,255,.25); color: #fff; }

.hoya-childcardview { margin-bottom: 8px; }
.hoya-childcardview__name { font-size: 16px; font-weight: 700; color: var(--blue-700); margin: 0 0 14px; }
.hoya-cardstack {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: stretch;
	max-width: 820px;
}
.hoya-cardstack .hoya-clubcard,
.hoya-cardstack .hoya-voucher { margin: 0; height: 100%; }
.hoya-mycards__note {
	display: flex; align-items: center; gap: 8px;
	margin: 22px 0 0; color: var(--muted); font-size: 13.5px;
}
.hoya-mycards__note .hoya-ico { color: var(--blue); flex: none; }
@media (max-width: 560px) {
	.hoya-cardstack { grid-template-columns: 1fr; }
}

/* Add-to-calendar: label on its own line, the three buttons in one row below */
.hoya-addcal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hoya-addcal__label { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.hoya-addcal__btns { display: flex; gap: 8px; flex-wrap: wrap; }

.hoya-shell { display: flex; min-height: 520px; flex: 1; }
.hoya-side { width: 232px; flex: none; background: #fbfcfe; border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; }
.hoya-side__nav { display: flex; flex-direction: column; gap: 4px; }
.hoya-navlink {
	display: flex; align-items: center; gap: 12px;
	padding: 11px 14px; border-radius: var(--r-sm);
	color: #475569; text-decoration: none; font-weight: 600; font-size: 14px;
	transition: background .15s, color .15s;
}
.hoya-navlink:hover { background: var(--blue-050); color: var(--blue); }
.hoya-navlink.is-active { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.hoya-navlink.is-active .hoya-ico { color: #fff; }
/* Locked menu item (event-only mode): visible, greyed out, nothing to click. */
.hoya-navlink.is-locked,
.hoya-navlink.is-locked:hover { color: #aab4c2; background: transparent; cursor: not-allowed; }
.hoya-navlink.is-locked .hoya-ico { color: #c3ccd8; }
.hoya-navlink.is-locked span { -webkit-user-select: none; user-select: none; }
.hoya-navlink.is-locked .hoya-navlock { margin-left: auto; display: inline-flex; }
/* Locked quick-action button on the ECP dashboard — same greyed treatment.
   .hoya-app-prefixed and !important because the app-scoped button overrides
   further down this file force the normal ink colour. */
.hoya-app .hoya-btn.is-locked,
.hoya-app .hoya-btn.is-locked:hover {
	color: #aab4c2 !important; background: #f1f4f8 !important;
	border-color: var(--line, #e2e8f0) !important;
	box-shadow: none; cursor: not-allowed;
}
.hoya-app .hoya-btn.is-locked .hoya-ico { color: #c3ccd8; }
/* Unactioned-count badge (e.g. new event enquiries) */
.hoya-navbadge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--danger, #d64545); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; border-radius: 999px; }
.hoya-navlink.is-active .hoya-navbadge { background: #fff; color: var(--blue); }
.hoya-btn .hoya-navbadge { margin-left: 0; }

/* Account block pinned to the bottom of the sidebar / drawer */
.hoya-side__footer {
	margin-top: auto; padding-top: 14px;
	border-top: 1px solid var(--line);
	display: flex; align-items: center; gap: 10px;
}
.hoya-side__avatar {
	width: 38px; height: 38px; flex: none; border-radius: 50%;
	background: var(--blue-050); color: var(--blue);
	font-weight: 800; font-size: 15px;
	display: flex; align-items: center; justify-content: center;
}
.hoya-side__id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hoya-side__id strong { font-size: 13.5px; color: var(--ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoya-side__id small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoya-app .hoya-side__logout {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 8px;
	color: var(--muted); text-decoration: none;
	transition: background .12s, color .12s;
}
.hoya-app .hoya-side__logout:hover { background: var(--blue-050); color: var(--blue); }

.hoya-main { flex: 1; min-width: 0; background: var(--bg); padding: 28px 30px 36px; }
.hoya-main__head { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hoya-main__headtext { min-width: 0; }
.hoya-main__headaction { flex: none; margin-left: auto; }
.hoya-main__title { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.hoya-main__sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.hoya-foot { text-align: center; padding: 16px; color: var(--muted); font-size: 12.5px; background: #fbfcfe; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hoya-foot a { color: var(--blue); text-decoration: none; font-weight: 600; }
.hoya-foot a:hover { text-decoration: underline; }
.hoya-foot__sep { opacity: .5; }

/* ---------- Buttons ---------- */
.hoya-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: var(--r-sm); border: 1px solid var(--line);
	background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; font-family: inherit;
	cursor: pointer; text-decoration: none; transition: all .15s ease; line-height: 1.1;
}
.hoya-btn:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.hoya-btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.hoya-btn--primary:hover { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.hoya-btn--yellow { background: var(--yellow); border-color: var(--yellow); color: #3a2c00; }
.hoya-btn--yellow:hover { background: var(--yellow-600); border-color: var(--yellow-600); color: #3a2c00; }
.hoya-btn--ghost { background: transparent; }
.hoya-btn--danger { color: var(--danger); border-color: #f1cccc; }
.hoya-btn--danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.hoya-btn--sm { padding: 7px 12px; font-size: 13px; }
.hoya-btn--block { width: 100%; }
.hoya-btn--icon { padding: 9px; }
.hoya-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hoya-actions--split { justify-content: space-between; align-items: center; }
/* Upcoming / Past pill toggle — matches the My Cards "Current / Past" control. */
.hoya-appt-filter { display: inline-flex; gap: 4px; background: #eef2f8; border-radius: 999px; padding: 4px; }
.hoya-app .hoya-appt-filter__tab {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 20px; border-radius: 999px;
	font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.hoya-app .hoya-appt-filter__tab .hoya-count { background: rgba(19,41,92,.10); color: inherit; }
.hoya-app .hoya-appt-filter__tab.is-active { background: #fff; color: var(--blue, #0e4fd1); box-shadow: 0 1px 3px rgba(19,41,92,.14); }
.hoya-app .hoya-appt-filter__tab.is-active .hoya-count { background: var(--blue, #0e4fd1); color: #fff; }
@media (max-width: 520px) { .hoya-actions--split { flex-direction: column; align-items: stretch; } .hoya-appt-filter { justify-content: center; } }

/* ---------- Cards / panels ---------- */
.hoya-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.hoya-panel + .hoya-panel { margin-top: 20px; }
.hoya-panel__title { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.hoya-panel__title .hoya-ico { color: var(--blue); }
.hoya-count { margin-left: auto; background: var(--blue-050); color: var(--blue); border-radius: 999px; padding: 2px 11px; font-size: 12px; font-weight: 700; }
.hoya-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hoya-grid2 > .hoya-panel { margin: 0; } /* grid gap handles spacing; cancel adjacent-sibling margin */
.hoya-empty { color: var(--muted); font-size: 14px; padding: 8px 0; }

/* ---------- Stat cards ---------- */
.hoya-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.hoya-statcard {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: 18px 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
	display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s;
}
a.hoya-statcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hoya-statcard__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-050); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.hoya-statcard--accent .hoya-statcard__ico { background: #fff6df; color: var(--yellow-600); }
.hoya-statcard__num { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hoya-statcard__label { font-size: 13px; color: var(--muted); }

/* ---------- Forms ---------- */
.hoya-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.hoya-field > label { font-weight: 600; font-size: 13.5px; color: #334155; }
.hoya-field__hint { font-size: 12px; color: var(--muted); margin-top: -2px; }
.hoya-field input, .hoya-field select, .hoya-field textarea,
.hoya-inline-form input, .hoya-inline-form select {
	padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
	font-size: 15px; font-family: inherit; width: 100%; background: #fff; color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.hoya-field input, .hoya-field select, .hoya-field textarea,
.hoya-inline-form input, .hoya-inline-form select { background: #fbfcfe; }
.hoya-field input:hover, .hoya-field select:hover, .hoya-field textarea:hover,
.hoya-inline-form input:hover, .hoya-inline-form select:hover { border-color: #c3d0e4; }
.hoya-field input:focus, .hoya-field select:focus, .hoya-field textarea:focus,
.hoya-inline-form input:focus, .hoya-inline-form select:focus {
	outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,79,209,.14); background: #fff;
}
.hoya-field--check label { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 14px; cursor: pointer; }
.hoya-field--check input { width: auto; }
.hoya-field-row { display: flex; gap: 18px; flex-wrap: wrap; }
.hoya-field-row .hoya-field { flex: 1; min-width: 200px; }
.req { color: var(--danger); }
.hoya-fieldset { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 16px 18px 4px; margin: 4px 0 18px; }
.hoya-fieldset legend { font-weight: 700; font-size: 13px; padding: 0 8px; color: var(--blue-700); }
.hoya-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hoya-inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.hoya-inline-form input { width: auto; }

/* Password show/hide toggle */
.hoya-pw { position: relative; display: block; }
.hoya-app .hoya-pw__toggle, .hoya-auth .hoya-pw__toggle {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	border: 0 !important; background: transparent !important; box-shadow: none !important;
	color: var(--muted); cursor: pointer; padding: 5px; display: flex; align-items: center; border-radius: 6px; min-height: 0; line-height: 1;
}
.hoya-app .hoya-pw__toggle:hover, .hoya-auth .hoya-pw__toggle:hover { color: var(--blue) !important; background: transparent !important; }

/* Custom-styled controls — replace the default browser look */
.hoya-field select, .hoya-inline-form select {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center; background-size: 16px;
	padding-right: 40px; cursor: pointer;
}
.hoya-field input:not([type=checkbox]):not([type=radio]),
.hoya-field select { height: 46px; }
.hoya-field textarea { min-height: 84px; resize: vertical; }
.hoya-field input::placeholder, .hoya-inline-form input::placeholder { color: #9aa7b8; }
.hoya-app input[type=checkbox], .hoya-app input[type=radio],
.hoya-auth input[type=checkbox], .hoya-auth input[type=radio] { accent-color: var(--blue); width: 17px; height: 17px; cursor: pointer; }
/* Native date/time picker icon — tidy it up */
.hoya-app input[type=date]::-webkit-calendar-picker-indicator,
.hoya-app input[type=time]::-webkit-calendar-picker-indicator,
.hoya-app input[type=datetime-local]::-webkit-calendar-picker-indicator,
.hoya-auth input[type=date]::-webkit-calendar-picker-indicator {
	cursor: pointer; opacity: .5; padding: 2px; border-radius: 4px;
}
.hoya-app input[type=date]::-webkit-calendar-picker-indicator:hover,
.hoya-app input[type=time]::-webkit-calendar-picker-indicator:hover { opacity: 1; background: var(--blue-050); }

/* ---------- Two-panel login (centred) ---------- */
.hoya-authwrap { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; box-sizing: border-box; }
.hoya-auth {
	width: 100%; max-width: 940px; margin: 0; background: #fff; border-radius: 20px; overflow: hidden;
	box-shadow: var(--shadow); border: 1px solid var(--line);
	display: grid; grid-template-columns: 1.05fr 1fr; min-height: 540px;
}
.hoya-auth--single { grid-template-columns: 1fr; max-width: 440px; }
.hoya-auth__hero {
	position: relative; color: #fff; overflow: hidden;
	background: radial-gradient(120% 120% at 0% 0%, var(--blue-600) 0%, var(--blue-700) 55%, #072a78 100%);
	background-size: cover; background-position: center;
}
.hoya-auth__hero::after {
	content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px;
	background: radial-gradient(circle, rgba(255,196,0,.30), transparent 70%); border-radius: 50%; z-index: 1;
}
/* Dark scrim so text stays readable over a real photo */
.hoya-auth__hero.has-photo::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(165deg, rgba(10,58,160,.62) 0%, rgba(7,42,120,.9) 100%);
}
.hoya-auth__hero-overlay { position: relative; z-index: 2; height: 100%; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.hoya-auth__logo { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 2px; font-size: 22px; }
.hoya-auth__logo .hoya-brand__dot { width: 9px; height: 9px; }
.hoya-auth__logo .hoya-logo { height: 40px; }
.hoya-auth__logo--dark { justify-content: center; margin-bottom: 14px; }
.hoya-auth__logo--dark .hoya-logo { height: 42px; margin: 0 auto; }
.hoya-auth__tag h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; line-height: 1.15; }
.hoya-auth__tag p { margin: 0; opacity: .85; font-size: 14px; }
.hoya-auth__form { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.hoya-auth__welcome { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.hoya-auth__lead { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.hoya-auth__row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; margin: -4px 0 20px; }
.hoya-auth__row a { color: var(--blue); text-decoration: none; }
.hoya-auth__note { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }
/* Links in the notes inherited the theme's red; force the brand blue like every other auth link. */
.hoya-auth .hoya-auth__note a { color: var(--blue) !important; text-decoration: none; font-weight: 600; }
.hoya-auth .hoya-auth__note a:hover { color: var(--blue-700) !important; text-decoration: underline; }

/* ---------- Appointment lists ---------- */
.hoya-appt-list { list-style: none; margin: 0; padding: 0; }
.hoya-appt { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hoya-appt:last-child { border-bottom: 0; }
.hoya-appt__time { font-weight: 700; color: var(--blue-700); min-width: 120px; font-size: 13.5px; }
.hoya-appt__who { display: flex; flex-direction: column; flex: 1; min-width: 120px; }
.hoya-appt__who small { color: var(--muted); }
.hoya-appt__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Keep every action control (button / summary / form-wrapped button) the same height */
.hoya-appt__actions > form,
.hoya-appt__actions > details { margin: 0; }
.hoya-appt__actions .hoya-btn,
.hoya-appt__actions summary.hoya-btn { min-height: 34px; box-sizing: border-box; }
.hoya-appt--booked { border-left: 3px solid var(--yellow); padding-left: 12px; }

/* Compact per-day week summary (dashboard "Next 7 days") — scales to any volume */
.hoya-weeklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hoya-weekday { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: background .12s, border-color .12s; }
.hoya-weekday:hover { background: var(--blue-050); border-color: var(--blue-100); }
.hoya-weekday__date { font-size: 14px; }
.hoya-weekday__date strong { display: inline-block; min-width: 40px; }
.hoya-weekday__count { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.hoya-weekday.has-appts .hoya-weekday__count { color: var(--blue); background: var(--blue-050); padding: 3px 11px; border-radius: 999px; }
.hoya-weekday.is-empty .hoya-weekday__date { color: var(--muted); }
.hoya-weekday__none { color: var(--muted); }

.hoya-resched { position: relative; }
.hoya-resched summary { list-style: none; }
.hoya-resched summary::-webkit-details-marker { display: none; }
.hoya-resched__form {
	display: flex; flex-direction: column; gap: 8px; align-items: stretch;
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: 220px;
	background: #fff; border: 1px solid var(--line); border-radius: 10px;
	padding: 12px; box-shadow: 0 10px 28px rgba(19,41,92,.16);
}
.hoya-resched__lbl { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #334155; text-align: left; }
.hoya-resched__form input,
.hoya-resched__form select { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 400; }
.hoya-resched__form .hoya-btn { margin-top: 2px; }
.hoya-resched__none {
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; width: 220px;
	background: #fff; border: 1px solid var(--line); border-radius: 10px;
	padding: 10px; box-shadow: 0 10px 28px rgba(19,41,92,.16);
	font-size: 12.5px; color: var(--muted); line-height: 1.4; margin: 0;
}
@media (max-width: 640px) { .hoya-resched__form, .hoya-resched__none { right: auto; left: 0; } }

/* ---------- Parent appointment cards ---------- */
.hoya-appt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; align-items: start; }
.hoya-apptcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.hoya-apptcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: linear-gradient(120deg, var(--blue-050), #fff); border-bottom: 1px solid var(--line); }
.hoya-apptcard__when { display: flex; flex-direction: column; }
.hoya-apptcard__date { font-weight: 800; color: var(--blue-700); }
.hoya-apptcard__time { font-size: 13.5px; color: var(--muted); }
.hoya-apptcard__meta { margin: 0; padding: 16px 18px; display: grid; gap: 12px; }
.hoya-apptcard__meta > div { display: flex; flex-direction: column; gap: 2px; }
.hoya-apptcard__meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0; }
.hoya-apptcard__meta dd { margin: 0; font-weight: 600; font-size: 14px; }
.hoya-apptcard__meta small { color: var(--muted); font-weight: 400; }
.hoya-apptcard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fbfcfe; margin-top: auto; }
.hoya-apptcard__hint { font-size: 12px; color: var(--muted); flex-basis: 100%; }

/* ---------- Time slots ---------- */
.hoya-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.hoya-slot {
	display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px;
	border: 1px solid var(--blue-100); border-radius: var(--r-sm); color: var(--blue);
	font-weight: 600; text-decoration: none; font-size: 14px; background: #fff; cursor: pointer;
	transition: all .12s;
}
.hoya-slot:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.hoya-slot--radio input { position: absolute; opacity: 0; pointer-events: none; }
.hoya-slot--radio.is-selected { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 12px rgba(14,79,209,.28); }
/* A free slot shown for information only (event-only mode: New Booking is locked).
   .hoya-app-prefixed and !important, or the generic .hoya-slot / button.hoya-slot
   hover rules further down the file win and it still looks clickable. */
.hoya-app .hoya-slot.is-locked,
.hoya-app .hoya-slot.is-locked:hover {
	color: #aab4c2 !important; background: #f4f6fa !important;
	border-color: #e3e8f0 !important; cursor: default !important; box-shadow: none !important;
	-webkit-user-select: none; user-select: none;
}

/* ---------- Chips ---------- */
.hoya-chip-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hoya-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-050); color: var(--blue-700); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 13.5px; }
.hoya-chip__x { border: 0; background: transparent; color: var(--blue-700); cursor: pointer; font-size: 17px; line-height: 1; padding: 0 4px; }
.hoya-chip__x:hover { color: var(--danger); }
.hoya-chip form { display: inline; }

/* ---------- Availability: opening hours (left) + days off (right) ---------- */
.hoya-avail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.hoya-avail-grid .hoya-panel { margin: 0; } /* cancel the adjacent-sibling top margin */
.hoya-avail-form { display: contents; }      /* let its two panels sit directly in the grid */
.hoya-avail-hours   { grid-column: 1; grid-row: 1 / span 2; }
.hoya-avail-daysoff { grid-column: 2; grid-row: 1; }
.hoya-avail-slots   { grid-column: 2; grid-row: 2; }
@media (max-width: 900px) {
	.hoya-avail-grid { grid-template-columns: 1fr; }
	.hoya-avail-hours, .hoya-avail-daysoff, .hoya-avail-slots { grid-column: 1; grid-row: auto; }
}

/* ---------- Opening hours ---------- */
.hoya-hours__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hoya-hours__row:last-child { border-bottom: 0; }
.hoya-hours__day { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 150px; }
.hoya-hours__times { display: flex; align-items: center; gap: 8px; }
.hoya-hours__times input { width: auto; }
/* Match the border/background of the other form fields (was default browser grey). */
.hoya-hours__times input[type=time] {
	padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
	font-size: 15px; font-family: inherit; background: #fbfcfe; color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.hoya-hours__times input[type=time]:hover { border-color: #c3d0e4; }
.hoya-hours__times input[type=time]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,79,209,.14); background: #fff; }
.hoya-hours__to { color: var(--muted); font-size: 14px; }

/* ---------- Month calendar ---------- */
.hoya-calbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hoya-calbar__label { font-weight: 800; font-size: 19px; color: var(--ink); }
.hoya-calbar__spacer { margin-left: auto; }
.hoya-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.hoya-cal__dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 4px; }
.hoya-cal__cell {
	min-height: 84px; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px;
	text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; transition: all .12s;
}
.hoya-cal__pillnum { font-weight: 700; }
.hoya-cal__cell:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.hoya-cal__cell.is-muted { background: #fbfcfe; color: #c0c9d6; pointer-events: none; }
.hoya-cal__cell.is-past { background: #fafbfd; cursor: not-allowed; box-shadow: none; }
.hoya-cal__cell.is-past .hoya-cal__num { color: #b4becc; }
.hoya-cal__cell.is-past:hover { border-color: var(--line); box-shadow: none; }
.hoya-cal__cell.is-past .hoya-cal__pill { background: #c3cdda; } /* past bookings visible but muted */
.hoya-cal__cell.is-today { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.hoya-cal__cell.is-off { background: repeating-linear-gradient(45deg,#fafbfd,#fafbfd 6px,#f1f4f9 6px,#f1f4f9 12px); }
.hoya-cal__num { font-weight: 700; font-size: 14px; }
.hoya-cal__cell.is-today .hoya-cal__num { color: var(--blue); }
.hoya-cal__pill { margin-top: auto; background: var(--blue); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 2px 8px; align-self: flex-start; }
.hoya-cal__off { margin-top: auto; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Badges & alerts ---------- */
.hoya-badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef1f6; color: var(--muted); }
.hoya-badge--ok { background: var(--ok-bg); color: var(--ok); }
.hoya-badge--danger { background: var(--danger-bg); color: var(--danger); }
.hoya-badge--warn { background: var(--warn-bg); color: var(--warn); }
.hoya-alert { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 14px; border: 1px solid transparent; }
.hoya-alert--success { background: var(--ok-bg); color: var(--ok); border-color: #bfe6cf; }
.hoya-alert--error { background: var(--danger-bg); color: var(--danger); border-color: #f3c9c9; }
.hoya-alert--warning { background: var(--warn-bg); color: var(--warn); border-color: #ffe6a1; }
.hoya-alert--info { background: var(--blue-050); color: var(--blue-700); border-color: var(--blue-100); }

/* ---------- Child cards ---------- */
.hoya-childlist { display: flex; flex-direction: column; gap: 12px; }
.hoya-childcard { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.hoya-childcard__avatar { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--blue-050); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hoya-childcard__body strong { display: block; font-size: 15px; }
.hoya-childcard__meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 3px; }
.hoya-childcard__meta span { display: inline-flex; align-items: center; gap: 5px; }

.hoya-childcard--link { text-decoration: none; color: inherit; transition: border-color .12s, box-shadow .12s; }
.hoya-childcard--link:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.hoya-childcard__chev { margin-left: auto; color: var(--muted); display: flex; }
.hoya-muted-mini { color: var(--muted); font-size: 13px; }

/* Back link */
.hoya-back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.hoya-back-link:hover { color: var(--blue-700); }

/* Child detail hero */
.hoya-childhero { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.hoya-childhero__action { margin-left: auto; }
@media (max-width: 560px) {
	.hoya-childhero { gap: 14px; }
	.hoya-childhero__action { width: 100%; margin-left: 0; }
	.hoya-childhero__action .hoya-btn { width: 100%; justify-content: center; }
}
.hoya-childhero__avatar { width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--blue-050); color: var(--blue); font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.hoya-childhero__name { margin: 0; font-size: 20px; }
.hoya-childhero__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ECP customers list */
.hoya-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.hoya-toolbar--end { justify-content: flex-end; }
.hoya-quickdates { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hoya-quickdates__label { color: var(--muted); font-size: 13px; font-weight: 600; margin-right: 2px; }
@media (max-width: 560px) { .hoya-toolbar--end .hoya-btn { width: 100%; justify-content: center; } }
.hoya-searchform { flex-wrap: nowrap; align-items: center; }
.hoya-searchform input[type=search] { width: 260px; max-width: 52vw; flex: 0 1 260px; }
.hoya-tag { display: inline-block; background: var(--blue-050); color: var(--blue-700); border-radius: 8px; padding: 3px 10px; font-size: 13px; font-weight: 600; }

/* Compact customer rows */
.hoya-custlist { padding: 6px 8px; }
.hoya-custitem { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hoya-custitem:last-child { border-bottom: 0; }
.hoya-custitem__main { display: flex; align-items: center; gap: 12px; flex: 0 1 300px; min-width: 0; }
.hoya-av-sm { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--blue-050); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.hoya-custitem__id { min-width: 0; }
.hoya-custitem__id strong { display: block; font-size: 15px; }
.hoya-custitem__sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.hoya-custitem__meta { display: none; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
/* Next-appointment column + indicator chip */
.hoya-custhead__next { flex: 0 0 250px; }
.hoya-custitem__next { flex: 0 0 250px; display: flex; align-items: center; min-width: 0; }
.hoya-nextappt { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 999px; line-height: 1.6; white-space: nowrap; }
.hoya-nextappt svg { flex: none; }
.hoya-nextappt.is-booked { background: var(--ok-bg); color: var(--ok); }
.hoya-nextappt.is-none { background: var(--bg); color: var(--muted); font-weight: 500; }
.hoya-custitem__kids { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
/* Fixed width so the header labels line up with the row content (was margin-left:auto → drifted). */
.hoya-custitem__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 320px; }
.hoya-custhead { display: flex; align-items: center; gap: 16px; padding: 6px 14px 12px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.hoya-custhead__main { flex: 0 1 300px; }
.hoya-custhead__kids { flex: 1 1 auto; min-width: 0; }
.hoya-custhead__right { flex: 0 0 320px; text-align: right; }

/* Pager (frontend) */
.hoya-pager { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.hoya-pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.hoya-pager__btn:hover { border-color: var(--blue); color: var(--blue); }
.hoya-pager__btn.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Modal (native <dialog>) — shared with card import pattern */
dialog.hoya-modal { border: 0; border-radius: 16px; padding: 0; width: 92vw; max-width: 560px; box-shadow: 0 24px 60px rgba(19,41,92,.30); color: var(--ink); }
dialog.hoya-modal::backdrop { background: rgba(19,41,92,.45); }
.hoya-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.hoya-modal__head h2 { margin: 0; font-size: 17px; color: var(--blue-700); }
.hoya-modal__for { color: var(--muted); font-weight: 500; }
.hoya-modal__close { border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.hoya-modal__close:hover { color: var(--danger); }
.hoya-modal__body { padding: 20px 22px 22px; }
.hoya-modal__actions { display: flex; gap: 10px; margin-top: 8px; }
@media (max-width: 560px) {
	.hoya-custhead { display: none; }               /* headers only make sense on the wide layout */
	.hoya-custitem { gap: 12px; padding: 14px; }
	.hoya-custitem__main { flex: 1 1 100%; }
	.hoya-custitem__kids { display: none; }        /* hide the child-name pills on mobile */
	.hoya-custitem__meta { display: block; }        /* show the compact "N children · N cards" summary */
	.hoya-custitem__next { flex: 1 1 100%; display: block; }
	.hoya-custitem__next::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 5px; }
	.hoya-custitem__right { flex: 1 1 100%; width: 100%; justify-content: flex-start; }
	.hoya-custitem__right .hoya-badge { display: none; } /* card count is in the summary line */
	.hoya-custitem__right .hoya-btn { flex: 1; justify-content: center; }
}

/* ---------- Club card + warranty ---------- */
.hoya-cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hoya-clubcard {
	background: linear-gradient(135deg, var(--blue-700), var(--blue) 60%, var(--blue-600));
	color: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow);
	min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.hoya-clubcard::after { content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(255,196,0,.35), transparent 70%); border-radius: 50%; }
.hoya-clubcard__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hoya-clubcard__brand { font-weight: 800; letter-spacing: 2px; font-size: 18px; display: inline-flex; align-items: center; gap: 4px; }
.hoya-clubcard__type { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; opacity: .85; }
.hoya-clubcard__code { font-size: 22px; font-weight: 700; letter-spacing: 2px; position: relative; z-index: 1; }
.hoya-clubcard__row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; opacity: .92; position: relative; z-index: 1; }
.hoya-warranty p { margin: 0 0 10px; }

/* Care Card voucher — a deep navy card that pairs with the medium-blue Club
   Card as a matched two-tone set. */
.hoya-voucher {
	position: relative; overflow: hidden;
	background: linear-gradient(140deg, #1b3a86 0%, #12275e 55%, #0b1c47 100%);
	color: #fff;
	border: 0;
	border-radius: var(--r);
	padding: 22px;
	min-height: 168px;
	box-shadow: var(--shadow);
	display: flex; flex-direction: column; justify-content: space-between;
}
.hoya-voucher::after {
	content: ""; position: absolute; right: -45px; top: -45px;
	width: 150px; height: 150px;
	background: radial-gradient(circle, rgba(120,170,255,.30), transparent 70%);
	border-radius: 50%;
}
.hoya-voucher > * { position: relative; z-index: 1; }
.hoya-voucher__top { display: flex; align-items: center; justify-content: space-between; }
.hoya-voucher .hoya-badge { background: rgba(255,255,255,.18); color: #fff; }
.hoya-voucher__value { font-size: 27px; font-weight: 800; color: #fff; line-height: 1.1; }
.hoya-voucher__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hoya-voucher__validity { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 500; }
.hoya-voucher__code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px;
	color: #fff; background: rgba(255,255,255,.16);
	padding: 4px 11px; border-radius: 8px; font-weight: 700; font-size: 14px; flex: none;
}
.hoya-voucher.is-dead {
	background: linear-gradient(140deg, #eef1f6, #dde3ec);
	color: var(--muted); box-shadow: none;
}
.hoya-voucher.is-dead::after { display: none; }
.hoya-voucher.is-dead .hoya-clubcard__brand,
.hoya-voucher.is-dead .hoya-voucher__value { color: var(--muted); }
.hoya-voucher.is-dead .hoya-brand__dot { background: var(--muted); }
.hoya-voucher.is-dead .hoya-voucher__code { background: rgba(255,255,255,.65); color: var(--muted); }
.hoya-voucher.is-dead .hoya-badge { background: rgba(255,255,255,.8); color: var(--muted); }

/* ---------- Data table ---------- */
.hoya-dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.hoya-dtable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.hoya-dtable td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.hoya-dtable tr:last-child td { border-bottom: 0; }

/* Hamburger + off-canvas drawer (desktop: hidden; the sidebar is static).
   Scoped under .hoya-app + !important because the active theme force-styles
   every <button>. */
.hoya-bar__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hoya-app .hoya-burger { display: none !important; }
.hoya-app .hoya-side__close { display: none !important; }
.hoya-side__head { display: none; } /* drawer brand row: mobile only */
.hoya-navscrim { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.hoya-app .hoya-burger {
		display: inline-flex !important; flex-direction: column; justify-content: center; gap: 4px;
		width: 40px; height: 40px; flex: none; padding: 10px;
		border: 0 !important; border-radius: 9px !important; cursor: pointer;
		background: rgba(255,255,255,.16) !important;
	}
	.hoya-burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; }
	.hoya-shell { display: block; }
	.hoya-side {
		position: fixed; top: 0; left: 0; bottom: 0;
		width: 272px; max-width: 82vw; z-index: 60;
		transform: translateX(-100%); transition: transform .25s ease;
		background: #fff; border-right: 1px solid var(--line); border-bottom: 0;
		padding: 16px 14px; overflow-y: auto;
		box-shadow: 0 20px 55px rgba(19,41,92,.28);
	}
	.hoya-side__nav { flex-direction: column; overflow: visible; gap: 4px; }
	.hoya-navlink { white-space: nowrap; }
	.hoya-app.is-nav-open .hoya-side { transform: translateX(0); }
	.hoya-navscrim {
		display: block; position: fixed; inset: 0; z-index: 55;
		background: rgba(19,41,92,.45); opacity: 0; visibility: hidden;
		transition: opacity .25s ease;
	}
	.hoya-app.is-nav-open .hoya-navscrim { opacity: 1; visibility: visible; }
	.hoya-side__head {
		display: flex; align-items: center; justify-content: space-between;
		gap: 12px; margin: 0 2px 10px; padding-bottom: 2px;
	}
	.hoya-side__logo { height: 24px; }
	.hoya-app .hoya-side__close {
		display: inline-flex !important; align-items: center; justify-content: center;
		width: 34px; height: 34px; flex: none;
		border: 0 !important; background: transparent !important; color: var(--muted) !important;
		font-size: 26px; line-height: 1; cursor: pointer;
	}
	.hoya-grid2 { grid-template-columns: 1fr; }
	.hoya-auth { grid-template-columns: 1fr; max-width: 440px; }
	.hoya-auth__hero { min-height: 170px; }
	.hoya-auth__hero-overlay { padding: 24px; gap: 16px; }
}
@media (max-width: 560px) {
	.hoya-cal { gap: 4px; }
	.hoya-cal__cell { min-height: 52px; padding: 5px 3px; gap: 3px; }
	.hoya-cal__dow { font-size: 9.5px; letter-spacing: 0; }
	.hoya-cal__num { font-size: 12px; }
	.hoya-cal__pillword { display: none; } /* show just the count in a compact badge */
	.hoya-cal__pill { align-self: center; min-width: 18px; padding: 1px 5px; font-size: 10.5px; text-align: center; }
	.hoya-cal__off { display: none; } /* the striped background already signals a day off */
	.hoya-main { padding: 20px 16px 28px; }
}

/* ============================================================
   Theme-override layer — the active theme / Elementor kit loads
   its CSS after this plugin, so we raise specificity (scoped under
   .hoya-app / .hoya-auth) and force the few visual props that
   themes commonly reset (button colour, input border/radius/fill).
   ============================================================ */
.hoya-app .hoya-btn,
.hoya-auth .hoya-btn {
	border-radius: 10px !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1.1 !important;
	box-shadow: none;
	background: #fff !important;
	border: 1px solid var(--line) !important;
	color: var(--ink) !important;
}
.hoya-app .hoya-btn:hover,
.hoya-auth .hoya-btn:hover { border-color: var(--blue) !important; color: var(--blue) !important; }
.hoya-app .hoya-btn--ghost, .hoya-auth .hoya-btn--ghost { background: transparent !important; color: var(--muted) !important; }
.hoya-app .hoya-btn--primary,
.hoya-auth .hoya-btn--primary {
	background: var(--blue) !important;
	border: 1px solid var(--blue) !important;
	color: #fff !important;
}
.hoya-app .hoya-btn--primary:hover,
.hoya-auth .hoya-btn--primary:hover {
	background: var(--blue-700) !important;
	border-color: var(--blue-700) !important;
	color: #fff !important;
}
.hoya-app .hoya-btn--danger,
.hoya-auth .hoya-btn--danger {
	background: #fff !important;
	border: 1px solid #f1cccc !important;
	color: var(--danger) !important;
}
.hoya-app .hoya-btn--danger:hover { background: var(--danger) !important; color: #fff !important; border-color: var(--danger) !important; }
.hoya-app .hoya-btn--yellow { background: var(--yellow) !important; border-color: var(--yellow) !important; color: #3a2c00 !important; }

/* Form controls */
.hoya-app .hoya-field input,
.hoya-app .hoya-field select,
.hoya-app .hoya-field textarea,
.hoya-app .hoya-inline-form input,
.hoya-app .hoya-inline-form select,
.hoya-auth .hoya-field input,
.hoya-auth .hoya-field select,
.hoya-auth .hoya-field textarea {
	border: 1.5px solid var(--line) !important;
	border-radius: 10px !important;
	background: #fbfcfe !important;
	color: var(--ink) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
}
.hoya-app .hoya-field input:not([type=checkbox]):not([type=radio]),
.hoya-app .hoya-field select,
.hoya-auth .hoya-field input:not([type=checkbox]):not([type=radio]),
.hoya-auth .hoya-field select { height: 48px !important; padding: 0 14px !important; }
.hoya-app .hoya-field textarea { min-height: 84px !important; padding: 12px 14px !important; }
/* Room for the eye toggle — higher specificity than the input rule above. */
.hoya-app .hoya-field .hoya-pw input:not([type=checkbox]):not([type=radio]),
.hoya-auth .hoya-field .hoya-pw input:not([type=checkbox]):not([type=radio]) { padding-right: 46px !important; }
.hoya-app .hoya-field input:hover,
.hoya-app .hoya-field select:hover,
.hoya-app .hoya-field textarea:hover { border-color: #b9c8e0 !important; }
.hoya-app .hoya-field input:focus,
.hoya-app .hoya-field select:focus,
.hoya-app .hoya-field textarea:focus,
.hoya-auth .hoya-field input:focus,
.hoya-auth .hoya-field select:focus,
.hoya-auth .hoya-field textarea:focus {
	border-color: var(--blue) !important;
	box-shadow: 0 0 0 3px rgba(14,79,209,.15) !important;
	background: #fff !important;
	outline: none !important;
}
/* Keep the custom select chevron after the reset */
.hoya-app .hoya-field select,
.hoya-auth .hoya-field select {
	padding-right: 42px !important;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 16px !important;
	appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important;
}

/* ---------- Type-ahead child picker (ECP New Booking) ---------- */
.hoya-combo { position: relative; }
.hoya-combo__input {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 42px !important;
}
.hoya-combo.is-selected .hoya-combo__input { display: none; }

.hoya-combo__results {
	position: absolute;
	z-index: 40;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	box-shadow: var(--shadow);
	max-height: 320px;
	overflow-y: auto;
}
.hoya-combo__opt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.hoya-combo__opt:hover,
.hoya-combo__opt[aria-selected="true"] { background: var(--blue-050); }
.hoya-combo__name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.hoya-combo__meta { font-size: 12.5px; color: var(--muted); }
.hoya-combo__card {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--blue-050);
	color: var(--blue-700);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 12px;
}
.hoya-combo__msg { padding: 12px; color: var(--muted); font-size: 13.5px; text-align: center; }

.hoya-combo__chosen {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--blue-050);
	border: 1px solid var(--blue-100);
	border-radius: var(--r-sm);
}
.hoya-combo__chosen-name { font-weight: 700; color: var(--ink); }
.hoya-combo__chosen-sub { color: var(--muted); font-size: 13px; }
.hoya-combo__change {
	margin-left: auto;
	border: 1px solid var(--blue-100);
	background: var(--white);
	color: var(--blue-700);
	font-weight: 600;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.hoya-combo__change:hover { background: var(--blue-100); }
.hoya-combo__error { color: var(--danger); font-size: 13px; margin: 8px 0 0; }

/* ---------- Child-centric cards on the customer detail ----------
   Namespaced .hoya-kidcard to avoid the parent view's .hoya-childcard.
   Every layout property is explicit because the active theme forces
   display:flex / align-items:center onto generic containers. */
/* Full-width row per child: identity on the left, the card types (Club / Care /
   Warranty) STACKED on the right so nothing is squeezed and it still scales
   vertically to any number of children. */
.hoya-kidcards { display: flex; flex-direction: column; gap: 12px; }
.hoya-kidcard {
	display: grid;
	grid-template-columns: 220px 1fr;
	align-items: stretch;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--white);
	overflow: hidden;
}
.hoya-kidcard__idcell {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 18px;
	background: var(--bg);
	border-right: 1px solid var(--line);
}
.hoya-kidcard__avatar {
	width: 38px; height: 38px; flex: none;
	border-radius: 10px;
	background: var(--blue-100); color: var(--blue-700);
	font-weight: 800; font-size: 16px;
	display: flex; align-items: center; justify-content: center;
}
.hoya-kidcard__id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hoya-kidcard__name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.hoya-kidcard__id small { color: var(--muted); font-size: 12.5px; }

.hoya-kidcard__cells { display: flex; flex-direction: column; min-width: 0; }
.hoya-kidcard__cell {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 14px;
	align-items: start;
	padding: 13px 18px;
	border-bottom: 1px solid var(--line);
	min-width: 0;
}
.hoya-kidcard__cell:last-child { border-bottom: 0; }
.hoya-kidcard__celllabel {
	display: flex; align-items: center; gap: 6px;
	color: var(--muted); font-size: 11.5px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .4px;
	padding-top: 3px;
}
.hoya-kidcard__celllabel .hoya-ico { color: var(--blue); }
.hoya-kidcard__cellval { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.hoya-kidcard__cellval--stack { flex-direction: column; align-items: stretch; }
@media (max-width: 640px) {
	.hoya-kidcard { grid-template-columns: 1fr; }
	.hoya-kidcard__idcell { border-right: 0; border-bottom: 1px solid var(--line); }
	.hoya-kidcard__cell { grid-template-columns: 1fr; gap: 5px; }
}

.hoya-cardrow {
	display: grid;
	grid-template-columns: 108px 1fr;
	gap: 12px;
	align-items: start;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}
.hoya-cardrow:last-child { border-bottom: 0; }
.hoya-cardrow__label {
	display: flex; align-items: center; gap: 6px;
	color: var(--muted); font-size: 12.5px; font-weight: 600;
	padding-top: 3px;
}
.hoya-cardrow__label .hoya-ico { color: var(--blue); }
.hoya-cardrow__val { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hoya-cardrow__val--stack { flex-direction: column; align-items: stretch; gap: 8px; }
.hoya-cardchip {
	display: inline-flex; align-items: baseline; gap: 8px;
}
.hoya-cardchip code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background: var(--blue-050); color: var(--blue-700);
	padding: 2px 8px; border-radius: 5px; font-size: 13px; font-weight: 700;
}
.hoya-cardchip small { color: var(--muted); font-size: 12px; }

/* Care Card rows inside a kidcard (namespaced .hoya-vrow to avoid the
   parent My Cards .hoya-voucher card). */
.hoya-vrow {
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
	padding: 8px 10px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 9px;
}
.hoya-vrow__main { display: flex; flex-direction: column; flex: 1; min-width: 130px; }
.hoya-vrow__main code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 700; font-size: 13px; color: var(--ink);
}
.hoya-vrow__main small { color: var(--muted); font-size: 12px; }
.hoya-vrow__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Collapsible used/expired voucher history inside a kidcard cell */
.hoya-vhistory { width: 100%; }
.hoya-app .hoya-vhistory > summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--blue); font-size: 12.5px; font-weight: 600;
	padding: 2px 0;
}
.hoya-vhistory > summary::-webkit-details-marker { display: none; }
.hoya-vhistory > summary::before { content: "▸"; font-size: 9px; }
.hoya-vhistory[open] > summary::before { content: "▾"; }
.hoya-vhistory__list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.hoya-unlinked { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.hoya-unlinked__title { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.hoya-unlinked .hoya-cardrow__label { font-weight: 600; }

/* ---------------------------------------------------------------------------
   MiYOSMART event view (ECP): opt-in card + request list
--------------------------------------------------------------------------- */
.hoya-eventoptin__desc { color: var(--muted); font-size: 14.5px; margin: 6px 0 16px; max-width: 640px; }
.hoya-eventoptin__state { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hoya-eventoptin__badge { font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.hoya-eventoptin__badge.is-on { color: var(--ok); background: var(--ok-bg); }
.hoya-eventoptin__badge.is-off { color: var(--muted); background: var(--bg); }

/* Status filter tabs */
.hoya-eventtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.hoya-eventtab {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); color: var(--muted);
	font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.hoya-eventtab:hover { border-color: var(--blue); color: var(--blue); }
.hoya-eventtab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.hoya-eventtab__n {
	min-width: 20px; text-align: center; padding: 0 6px; border-radius: 999px;
	background: var(--blue-050); color: var(--blue); font-size: 12px; font-weight: 700; line-height: 18px;
}
.hoya-eventtab.is-active .hoya-eventtab__n { background: rgba(255, 255, 255, .25); color: #fff; }

/* Requests table */
.hoya-eventtable { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hoya-eventtable__head,
.hoya-eventrow {
	display: grid;
	grid-template-columns: minmax(180px, 1.5fr) minmax(190px, 1.6fr) minmax(150px, 1.2fr) minmax(230px, auto);
	gap: 28px; align-items: center;
}
.hoya-eventtable__head {
	padding: 15px 28px; background: var(--bg); border-bottom: 1px solid var(--line);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.hoya-eventtable__head-action { text-align: right; }
.hoya-eventrow { padding: 26px 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.hoya-eventrow:last-child { border-bottom: 0; }
.hoya-eventrow.is-new { background: #f6f9ff; }
.hoya-eventrow.is-new .hoya-eventcell--who { border-left: 3px solid var(--blue); margin-left: -28px; padding-left: 25px; }

.hoya-eventcell__nameline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hoya-eventcell__nameline strong { font-size: 15.5px; }
.hoya-eventrow__status { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border: 1px solid; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.hoya-eventrow__ago { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }

.hoya-eventcell--contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; min-width: 0; }
.hoya-eventcell--contact a { color: var(--blue); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hoya-eventrow__email { color: var(--muted) !important; }
.hoya-eventcell--when { font-size: 14px; line-height: 1.5; }
.hoya-eventcell__date { display: block; color: var(--ink); }
.hoya-eventcell__time { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.hoya-eventcell--action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
/* Schedule + Not interested render at identical size */
.hoya-eventcell--action .hoya-btn { width: 150px; justify-content: center; font-size: 13px; line-height: 1.1; }
.hoya-eventcell--action .hoya-eventrow__actions { width: 150px; }
.hoya-eventcell--action .hoya-eventrow__actions .hoya-btn { width: 100%; }
.hoya-eventrow__oncal { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.hoya-eventrow__actions { display: flex; align-items: center; gap: 8px; }
.hoya-eventrow__actions select {
	height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
	font: inherit; font-size: 13px; color: var(--ink); background: var(--white);
}

@media (max-width: 860px) {
	.hoya-eventtable__head { display: none; }
	.hoya-eventrow { grid-template-columns: 1fr; gap: 9px; padding: 18px 20px; }
	.hoya-eventrow.is-new .hoya-eventcell--who { margin-left: -20px; padding-left: 17px; }
	.hoya-eventcell--action { align-items: stretch; justify-content: stretch; margin-top: 4px; }
	.hoya-eventcell--action .hoya-btn,
	.hoya-eventcell--action .hoya-eventrow__actions { width: 100%; }
	.hoya-eventrow__actions { flex: 1; }
	.hoya-eventrow__actions select { flex: 1; }
}

/* ---------------------------------------------------------------------------
   Event appointments (type=event) on the calendar + schedule screen
--------------------------------------------------------------------------- */
.hoya-badge--event { background: var(--blue-050); color: var(--blue); }
.hoya-appt--event { border-left-color: var(--blue); background: #f6f9ff; }
.hoya-appt__who strong .hoya-badge--event { margin-left: 6px; vertical-align: middle; font-size: 10.5px; padding: 2px 8px; }

/* Slot picker: each slot is its own submit form styled as a chip */
.hoya-slotform { display: inline-flex; margin: 0; padding: 0; }
.hoya-app button.hoya-slot,
.hoya-auth button.hoya-slot {
	display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px !important;
	border: 1px solid var(--blue-100) !important; border-radius: var(--r-sm) !important; color: var(--blue) !important;
	font-weight: 600 !important; font-size: 14px !important; background: #fff !important; cursor: pointer !important;
	transition: all .12s; box-shadow: none !important;
}
.hoya-app button.hoya-slot:hover { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }

/* Schedule screen — lead summary card */
.hoya-eventlead__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hoya-eventlead__contact { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.hoya-eventlead__contact a { color: var(--blue); }
.hoya-eventlead__pref { text-align: right; }
.hoya-eventlead__prefLabel { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.hoya-eventlead__pref strong { font-size: 14.5px; }
@media (max-width: 560px) { .hoya-eventlead__pref { text-align: left; } }

/* Attendance verification (ECP day view) */
.hoya-appt__ref { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: var(--muted); letter-spacing: .03em; }
.hoya-attend { margin: 0; display: inline; }

/* Parent rewards / redemption */
.hoya-subhead { margin: 26px 0 12px; font-size: 16px; color: var(--blue-700, #0a3aa0); }
.hoya-ptshero { display: flex; flex-direction: column; gap: 6px; }
.hoya-ptshero__bal { display: flex; align-items: baseline; gap: 8px; }
.hoya-ptshero__num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--blue, #0e4fd1); }
.hoya-ptshero__unit { font-size: 16px; color: var(--muted); font-weight: 600; }
.hoya-ptshero__hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.hoya-rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.hoya-reward { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 16px rgba(19,41,92,.05); }
.hoya-reward__ico { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-050, #eaf1ff); color: var(--blue, #0e4fd1); margin-bottom: 8px; }
.hoya-reward__name { margin: 0 0 4px; font-size: 15px; }
.hoya-reward__desc { margin: 0; color: var(--muted); font-size: 13px; }
.hoya-reward__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.hoya-reward__cost { font-weight: 800; color: var(--blue-700, #0a3aa0); }
.hoya-reward__short { font-size: 12.5px; color: var(--muted); text-align: right; }
.hoya-redlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hoya-redlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hoya-redlist li:last-child { border-bottom: 0; }
.hoya-redlist__main { display: flex; flex-direction: column; gap: 2px; }
.hoya-redlist__main small { color: var(--muted); }
.hoya-redlist__side { display: flex; align-items: center; gap: 10px; }
.hoya-redlist__cost { font-weight: 700; color: var(--danger, #b32020); }

/* Event opt-in note (one-way opt-in) */
.hoya-eventoptin__note { color: var(--muted); font-size: 13.5px; }

/* Club Card paired with its product (warranty row) */
.hoya-vrow__card { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; font-weight: 600; color: var(--blue, #0e4fd1); background: var(--blue-050, #eaf1ff); padding: 1px 7px; border-radius: 5px; margin-left: 4px; letter-spacing: .02em; }

/* Product name + its club card on one line (warranty row) */
.hoya-vrow__title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hoya-vrow__title .hoya-vrow__card { margin-left: 0; }

/* Event-book: space the date bar from the lead panel above it */
.hoya-eventlead + .hoya-calbar { margin-top: 22px; }
/* Event-book: the six eye-screening days as tabs, replacing the ‹ › day pager —
   there are no other bookable days, so the whole event fits on one row. */
.hoya-daytabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.hoya-app .hoya-daytabs .hoya-daytab {
	display: inline-flex; align-items: center; padding: 9px 14px; border-radius: var(--r-sm);
	border: 1px solid var(--blue-100); background: #fff; color: var(--blue);
	font-weight: 600; font-size: 14px; text-decoration: none; transition: all .12s;
}
.hoya-app .hoya-daytabs .hoya-daytab:hover { background: var(--blue-050); }
.hoya-app .hoya-daytabs .hoya-daytab.is-active {
	background: var(--blue); border-color: var(--blue); color: #fff;
	box-shadow: 0 4px 12px rgba(14,79,209,.28);
}
.hoya-daytabs__day { margin: 0 0 18px; font-weight: 800; font-size: 19px; color: var(--ink); }
/* Locked (admin-closed) event lead on the ECP list */
.hoya-eventrow__closed { font-size: 12.5px; color: var(--muted); font-style: italic; }
.hoya-eventrow__reason { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; line-height: 1.3; }

/* My Cards: Current / Past toggle */
.hoya-cardtoggle { display: inline-flex; gap: 4px; background: #eef2f8; border-radius: 999px; padding: 4px; margin: 0 0 18px; }
.hoya-app .hoya-cardtoggle__btn { border: 0 !important; background: transparent !important; padding: 7px 20px !important; border-radius: 999px !important; font-weight: 600 !important; font-size: 13.5px !important; color: var(--muted) !important; cursor: pointer !important; box-shadow: none !important; }
.hoya-app .hoya-cardtoggle__btn.is-active { background: #fff !important; color: var(--blue, #0e4fd1) !important; box-shadow: 0 1px 3px rgba(19,41,92,.14) !important; }
.hoya-mycards.show-current [data-state="past"] { display: none; }
.hoya-mycards.show-past [data-state="current"] { display: none; }
.hoya-clubcard.is-past { opacity: .7; }
.hoya-cardstack__none { color: var(--muted); font-size: 14px; margin: 2px 0; }

