/* Good Morning booking widget. Light, rounded, one accent colour. */
.xs {
	--xs-accent: #146EF5; --xs-ink: #152033; --xs-muted: #667085; --xs-line: #e3e9f2; --xs-soft: #f4f7fc;
	--xs-tint: color-mix(in srgb, var(--xs-accent) 10%, #fff);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.45; color: var(--xs-ink);
	background: #fff; text-align: left; box-sizing: border-box; container-type: inline-size; position: relative; overflow: hidden;
}
.xs *, .xs *::before, .xs *::after { box-sizing: border-box; }
.xs p { margin: 0; padding: 0; }
.xs button { font: inherit; color: inherit; cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: none; }
.xs button:disabled { cursor: default; }
.xs :focus-visible { outline: 2px solid var(--xs-accent); outline-offset: 2px; }

/* inline (shortcode) */
.xs-inline.xs { border: 1px solid var(--xs-line); border-radius: 20px; max-width: 860px; margin: 0 auto; box-shadow: 0 10px 34px rgba(16, 38, 76, .08); }

/* pop-up */
.xs-lock { overflow: hidden; }
.xs-modal { position: fixed; inset: 0; z-index: 1000000; background: rgba(9, 22, 45, .55); display: grid; place-items: center; padding: 16px; animation: xs-fade .18s ease-out; overflow-y: auto; }
.xs-card.xs { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: xs-pop .22s cubic-bezier(.2, .9, .3, 1.2); }
@media (max-width: 520px) { .xs-modal { padding: 0; place-items: end center; } .xs-card.xs { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; animation-name: xs-up; } }

/* inside the AI Assistant chat window */
.xs-in-ai.xs { position: absolute; inset: 0; z-index: 4; overflow-y: auto; animation: xs-fade .16s ease-out; }
.xs-ai-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 7px 13px; margin: 0 6px 4px 0; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.2; cursor: pointer;
	color: #fff; background: var(--xblu-accent, #146EF5); box-shadow: 0 4px 12px color-mix(in srgb, var(--xblu-accent, #146EF5) 35%, transparent); transition: transform .15s; }
.xs-ai-btn:hover { transform: translateY(-1px); }
.xs-ai-btn:focus-visible { outline: 2px solid var(--xblu-accent, #146EF5); outline-offset: 2px; }
.xs-open-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; color: #fff; background: #146EF5; }

/* header */
.xs-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, var(--xs-accent), color-mix(in srgb, var(--xs-accent) 65%, #5BF0D5)); color: #fff; position: sticky; top: 0; z-index: 2; }
.xs-badge { width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; }
.xs-sunico circle, .xs-sunico g { transform-origin: 24px 26px; animation: xs-sun 6s ease-in-out infinite; }
.xs-headtxt { min-width: 0; flex: 1; }
.xs-headtxt b { display: block; font-size: 17px; line-height: 1.2; }
.xs-headtxt span { display: block; font-size: 12.5px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xs .xs-x { border: 0; background: rgba(255, 255, 255, .18); color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; padding: 0; flex: none; }
.xs .xs-x:hover { background: rgba(255, 255, 255, .3); }
.xs .xs-x:focus-visible { outline-color: #fff; }

.xs-body { padding: 16px 18px 20px; }
.xs-steps { display: flex; gap: 5px; margin-bottom: 14px; }
.xs-steps i { height: 4px; flex: 1; border-radius: 4px; background: var(--xs-line); transition: background .3s; }
.xs-steps i.on { background: var(--xs-accent); }
.xs-q { font-weight: 700; font-size: 16px; margin: 0 0 10px !important; }
.xs-q-sm { font-size: 14px; }
.xs-muted { color: var(--xs-muted); font-size: 14px; }
.xs-note { background: #FFF6DB; border: 1px solid #F5DC8A; color: #6B5200; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; margin: 0 0 12px !important; }
.xs .xs-link { background: none; border: 0; padding: 0; color: var(--xs-accent); font-weight: 700; font-size: 13.5px; }
.xs .xs-link:hover { text-decoration: underline; }
.xs .xs-center { display: block; margin: 14px auto 0; color: var(--xs-muted); font-weight: 600; }

/* meeting types */
.xs-types { display: grid; gap: 10px; }
.xs .xs-type { position: relative; display: block; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--xs-line); border-radius: 16px; padding: 14px 44px 14px 16px; transition: border-color .15s, transform .15s, background .15s; }
.xs .xs-type:hover { border-color: var(--xs-accent); background: var(--xs-tint); transform: translateY(-1px); }
.xs-type b { display: block; font-size: 15.5px; }
.xs-type small { display: block; color: var(--xs-accent); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.xs-type span { display: block; color: var(--xs-muted); font-size: 13.5px; margin-top: 4px; }
.xs-type em { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 18px; color: var(--xs-accent); }

.xs-pill { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--xs-soft); border-radius: 12px; padding: 8px 12px; font-size: 13.5px; margin-bottom: 14px; color: var(--xs-muted); }
.xs-pill b { color: var(--xs-ink); }

/* calendar + times */
.xs-when { display: grid; gap: 16px; }
@container (min-width: 640px) { .xs-when { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; } .xs-body { padding: 22px 26px 26px; } }
.xs-calh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.xs-calh b { font-size: 15px; text-transform: capitalize; }
.xs .xs-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--xs-line); background: #fff; font-size: 20px; line-height: 1; padding: 0 0 2px; color: var(--xs-ink); }
.xs .xs-nav:hover:not(:disabled) { border-color: var(--xs-accent); color: var(--xs-accent); }
.xs .xs-nav:disabled { opacity: .3; }
.xs-dow, .xs-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.xs-dow span { font-size: 11.5px; font-weight: 700; color: var(--xs-muted); text-transform: uppercase; padding: 4px 0; }
.xs .xs-day { aspect-ratio: 1; max-height: 46px; width: 100%; display: grid; place-items: center; border-radius: 50%; font-size: 14.5px; font-weight: 700; border: 0; padding: 0; background: var(--xs-tint); color: var(--xs-accent); transition: transform .12s, background .12s; justify-self: center; }
.xs .xs-day:hover { transform: scale(1.08); background: color-mix(in srgb, var(--xs-accent) 20%, #fff); }
.xs .xs-day.sel { background: var(--xs-accent); color: #fff; animation: xs-bounce .3s; box-shadow: 0 6px 14px color-mix(in srgb, var(--xs-accent) 40%, transparent); }
.xs .xs-day.off { background: none; color: #b6bfcc; font-weight: 500; }
.xs .xs-day.today { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--xs-accent) 45%, #fff); }
.xs .xs-day.today.sel { box-shadow: 0 6px 14px color-mix(in srgb, var(--xs-accent) 40%, transparent); }
.xs-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-height: 190px; overflow-y: auto; padding: 2px; }
.xs .xs-slot { border: 1.5px solid var(--xs-line); background: #fff; border-radius: 12px; padding: 10px 4px; font-weight: 700; font-size: 14px; color: var(--xs-ink); transition: border-color .12s, background .12s, transform .12s; white-space: nowrap; }
.xs .xs-slot:hover { border-color: var(--xs-accent); background: var(--xs-accent); color: #fff; transform: translateY(-1px); }
@container (min-width: 640px) { .xs-slots { max-height: 300px; } }
.xs-tz { font-size: 12px; color: var(--xs-muted); margin-top: 10px !important; }

/* summary */
.xs-sum { display: flex; align-items: center; gap: 12px; background: var(--xs-soft); border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; }
.xs-sumdate { flex: none; width: 50px; border-radius: 12px; overflow: hidden; background: #fff; text-align: center; box-shadow: 0 2px 8px rgba(16, 38, 76, .1); }
.xs-sumdate i { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--xs-accent); padding: 2px 0; }
.xs-sumdate b { display: block; font-size: 20px; line-height: 1.5; }
.xs-sumtxt { flex: 1; min-width: 0; }
.xs-sumtxt b { display: block; font-size: 14.5px; }
.xs-sumtxt span { display: block; font-size: 13px; color: var(--xs-muted); }

/* form */
.xs-form { display: grid; gap: 10px; margin: 0; }
.xs-form label { display: block; margin: 0; }
.xs-form label span { display: block; font-size: 12.5px; font-weight: 700; color: var(--xs-muted); margin-bottom: 3px; }
.xs .xs-form input, .xs .xs-form textarea { width: 100%; border: 1.5px solid #d9e0e8; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--xs-ink); background: #fff; margin: 0; box-shadow: none; resize: vertical; min-height: 0; height: auto; }
.xs .xs-form input:focus, .xs .xs-form textarea:focus { border-color: var(--xs-accent); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--xs-accent) 14%, transparent); }
.xs .xs-hp { position: absolute !important; left: -99999px !important; opacity: 0 !important; width: 1px !important; }
.xs .xs-go { display: block; width: 100%; border: 0; border-radius: 999px; background: var(--xs-accent); color: #fff; font-weight: 700; font-size: 15.5px; padding: 13px 18px; margin-top: 6px; transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 20px color-mix(in srgb, var(--xs-accent) 35%, transparent); }
.xs .xs-go:hover:not(:disabled) { transform: translateY(-1px); }
.xs .xs-go:disabled { opacity: .65; }
.xs-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.xs .xs-btn { flex: 1 1 150px; display: inline-flex; justify-content: center; align-items: center; text-align: center; border: 1.5px solid var(--xs-line); background: #fff; color: var(--xs-ink); border-radius: 999px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.xs .xs-btn:hover { border-color: var(--xs-accent); color: var(--xs-accent); }
.xs .xs-danger { background: #E5484D; border-color: #E5484D; color: #fff; }
.xs .xs-danger:hover { color: #fff; opacity: .9; }

/* states */
.xs-loading, .xs-empty { min-height: 220px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--xs-muted); text-align: center; }
.xs-empty span { font-size: 40px; }
.xs-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--xs-line); border-top-color: var(--xs-accent); animation: xs-spin .8s linear infinite; }
.xs-done { text-align: center; padding: 6px 0 14px; }
.xs-done h3 { font-size: 22px; margin: 10px 0 4px; padding: 0; color: var(--xs-ink); font-weight: 800; line-height: 1.2; }
.xs-check { width: 64px; height: 64px; border-radius: 50%; background: #2FBF71; display: inline-grid; place-items: center; animation: xs-pop .45s cubic-bezier(.2, .9, .3, 1.4); box-shadow: 0 10px 24px rgba(47, 191, 113, .35); }
.xs-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: xs-draw .4s .25s ease-out forwards; }
.xs-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.xs-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; transform: rotate(var(--r)); animation: xs-fall 1.6s var(--d) cubic-bezier(.3, .6, .6, 1) forwards; }

@keyframes xs-fade { from { opacity: 0; } }
@keyframes xs-pop { from { opacity: 0; transform: scale(.85); } }
@keyframes xs-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes xs-bounce { 40% { transform: scale(1.18); } }
@keyframes xs-spin { to { transform: rotate(360deg); } }
@keyframes xs-draw { to { stroke-dashoffset: 0; } }
@keyframes xs-fall { to { top: 105%; transform: rotate(calc(var(--r) + 300deg)) translateX(20px); opacity: .2; } }
@keyframes xs-sun { 50% { transform: translateY(-2px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .xs *, .xs, .xs-modal, .xs-ai-btn { animation: none !important; transition: none !important; } .xs-check path { stroke-dashoffset: 0; } .xs-confetti { display: none; } }
