/**
 * Novin Smart Assessment — consultation booking.
 *
 * Every rule is scoped under .nsa-cb. This renders inside somebody's Elementor
 * page, so an unscoped selector would restyle their layout — and not touching
 * the page's own design is the explicit brief for this widget.
 *
 * Institutional: the Novin navy/teal/cyan, flat surfaces, one accent, short
 * transitions. A booking form is where somebody hands over their name and their
 * money, and it should look like the company takes that seriously.
 */

.nsa-cb {
	--cb-navy: #073451;
	--cb-dark: #03283f;
	--cb-teal: #08789a;
	--cb-cyan: #28c2dd;
	--cb-wash: #eef8fb;
	--cb-text: #16202b;
	--cb-muted: #667685;
	--cb-line: #e0e7ee;
	--cb-surface: #ffffff;
	--cb-canvas: #f6f9fb;
	--cb-ok: #04735c;
	--cb-danger: #b4232a;
	--cb-radius: 14px;

	direction: rtl;
	max-width: 1050px;
	margin: 40px auto;
	padding: 26px;
	border: 1px solid var(--cb-line);
	border-top: 3px solid var(--cb-teal);
	border-radius: var(--cb-radius);
	background: var(--cb-surface);
	box-shadow: 0 2px 12px rgba(7, 52, 81, .06);
	color: var(--cb-text);
	font-family: IRANSans, IRANSansX, Vazirmatn, inherit;
	font-size: 15px;
	line-height: 2;
	text-align: start;
}

.nsa-cb *,
.nsa-cb *::before,
.nsa-cb *::after { box-sizing: border-box; }

.nsa-cb :focus-visible {
	outline: 2px solid var(--cb-cyan);
	outline-offset: 2px;
	border-radius: 8px;
}

.nsa-cb__data { display: none; }

/* --------------------------------------------------------------- head */

.nsa-cb__head { margin-bottom: 18px; }

.nsa-cb__title {
	margin: 0 0 4px;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.7;
	color: var(--cb-navy);
}

.nsa-cb__lede {
	margin: 0;
	font-size: .93rem;
	color: var(--cb-muted);
}

/* ------------------------------------------------------------ stepper */

.nsa-cb__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.nsa-cb__step {
	display: flex;
	align-items: center;
	gap: 7px;
	flex: 1;
	min-width: 130px;
	padding: 9px 12px;
	border: 1px solid var(--cb-line);
	border-radius: 10px;
	background: var(--cb-canvas);
	color: var(--cb-muted);
	font-size: .84rem;
	font-weight: 600;
	white-space: nowrap;
}

.nsa-cb__step span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: none;
	border-radius: 50%;
	background: #dbe4ec;
	color: #5a6b7a;
	font-size: .78rem;
	font-weight: 800;
}

.nsa-cb__step.is-active {
	border-color: var(--cb-teal);
	background: var(--cb-wash);
	color: var(--cb-navy);
}

.nsa-cb__step.is-active span { background: var(--cb-teal); color: #fff; }

.nsa-cb__step.is-done { border-color: #bfe0d8; background: #f2fbf8; color: var(--cb-ok); }
.nsa-cb__step.is-done span { background: var(--cb-ok); color: #fff; }

/* --------------------------------------------------------------- body */

.nsa-cb__panel { animation: nsa-cb-in .16s ease-out; }

@keyframes nsa-cb-in {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: none; }
}

.nsa-cb__legend {
	margin: 0 0 12px;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--cb-navy);
}

/* ---------------------------------------------------- choice cards */

.nsa-cb__cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
}

.nsa-cb__card {
	position: relative;
	display: flex;
	flex-direction: column;
    gap: 4px;
	padding: 16px;
	border: 1px solid var(--cb-line);
	border-inline-start: 4px solid var(--cb-teal);
	border-radius: 12px;
	background: var(--cb-surface);
	font: inherit;
	text-align: start;
	cursor: pointer;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nsa-cb__card:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(7, 52, 81, .09);
}

.nsa-cb__card.is-selected {
	border-color: var(--cb-teal);
	background: var(--cb-wash);
}

.nsa-cb__card-title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--cb-navy);
	line-height: 1.7;
}

.nsa-cb__card-sub {
	font-size: .85rem;
	color: var(--cb-muted);
	line-height: 1.8;
}

.nsa-cb__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.nsa-cb__pill {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--cb-canvas);
	border: 1px solid var(--cb-line);
	color: var(--cb-muted);
	font-size: .76rem;
	font-weight: 600;
}

.nsa-cb__pill--price { background: var(--cb-wash); border-color: #bfe4ee; color: var(--cb-teal); }
.nsa-cb__pill--free  { background: #f2fbf8; border-color: #cbe8df; color: var(--cb-ok); }

.nsa-cb__avatar {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--cb-wash);
}

/* -------------------------------------------------- calendar + slots */

.nsa-cb__split {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.nsa-cb__calendar {
	border: 1px solid var(--cb-line);
	border-radius: 12px;
	background: var(--cb-surface);
	overflow: hidden;
}

.nsa-cb__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	background: var(--cb-navy);
	color: #fff;
}

.nsa-cb__cal-label { font-weight: 800; font-size: .95rem; }

.nsa-cb__cal-nav {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.nsa-cb__cal-nav[disabled] { opacity: .35; cursor: not-allowed; }

.nsa-cb__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
	padding: 10px;
}

.nsa-cb__cal-dow {
	padding: 4px 0;
	text-align: center;
	font-size: .72rem;
	font-weight: 700;
	color: var(--cb-muted);
}

.nsa-cb__day {
	position: relative;
	aspect-ratio: 1;
	min-height: 38px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 9px;
	background: var(--cb-canvas);
	color: var(--cb-text);
	font: inherit;
	font-size: .86rem;
	cursor: pointer;
	transition: background .14s ease, border-color .14s ease;
}

.nsa-cb__day[disabled] {
	background: transparent;
	color: #c3cdd6;
	cursor: not-allowed;
}

.nsa-cb__day.is-open { background: var(--cb-wash); border-color: #bfe4ee; font-weight: 700; }
.nsa-cb__day.is-open:hover { border-color: var(--cb-teal); }
.nsa-cb__day.is-today { box-shadow: inset 0 0 0 1px var(--cb-cyan); }

.nsa-cb__day.is-selected {
	background: var(--cb-teal);
	border-color: var(--cb-teal);
	color: #fff;
	font-weight: 800;
}

/* The dot says "this day has capacity" without printing a number nobody
 * needs; the count lives in the tooltip. */
.nsa-cb__day.is-open::after {
	content: "";
	position: absolute;
	inset-block-end: 5px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--cb-teal);
}

.nsa-cb__day.is-selected::after { background: #fff; }

.nsa-cb__slots { min-width: 0; }

.nsa-cb__slot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 8px;
}

.nsa-cb__slot {
	padding: 11px 8px;
	border: 1px solid var(--cb-line);
	border-radius: 10px;
	background: var(--cb-surface);
	color: var(--cb-text);
	font: inherit;
	font-size: .92rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .14s ease, background .14s ease;
}

.nsa-cb__slot:hover { border-color: var(--cb-teal); background: var(--cb-wash); }

.nsa-cb__slot.is-selected {
	border-color: var(--cb-teal);
	background: var(--cb-teal);
	color: #fff;
}

.nsa-cb__slot small {
	display: block;
	font-size: .7rem;
	font-weight: 500;
	opacity: .75;
}

/* ------------------------------------------------------------- forms */

.nsa-cb__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	margin-bottom: 14px;
}

.nsa-cb__field { min-width: 0; }
.nsa-cb__field--wide { grid-column: 1 / -1; }

.nsa-cb__label {
	display: block;
	margin-bottom: 5px;
	font-size: .88rem;
	font-weight: 700;
}

.nsa-cb__req { color: var(--cb-danger); margin-inline-start: 3px; }

.nsa-cb__input {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--cb-line);
	border-radius: 10px;
	background: var(--cb-canvas);
	color: var(--cb-text);
	font: inherit;
	font-size: .94rem;
	line-height: 1.9;
}

.nsa-cb__input:focus { border-color: var(--cb-teal); background: #fff; }

textarea.nsa-cb__input { resize: vertical; min-height: 92px; }

.nsa-cb__hint { margin: 5px 0 0; font-size: .78rem; color: var(--cb-muted); }

.nsa-cb__error {
	margin: 5px 0 0;
	font-size: .8rem;
	color: var(--cb-danger);
}

.nsa-cb__field.is-invalid .nsa-cb__input { border-color: var(--cb-danger); background: #fdf7f7; }

.nsa-cb__options { display: flex; flex-wrap: wrap; gap: 8px; }

.nsa-cb__option {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border: 1px solid var(--cb-line);
	border-radius: 999px;
	background: var(--cb-canvas);
	font-size: .88rem;
	cursor: pointer;
}

.nsa-cb__option input { margin: 0; accent-color: var(--cb-teal); }

.nsa-cb__hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ----------------------------------------------------------- summary */

.nsa-cb__summary {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--cb-line);
	border-radius: 12px;
	overflow: hidden;
}

.nsa-cb__summary li {
	display: flex;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--cb-line);
	font-size: .92rem;
}

.nsa-cb__summary li:last-child { border-bottom: 0; }
.nsa-cb__summary li:nth-child(odd) { background: var(--cb-canvas); }

.nsa-cb__summary b {
	flex: 0 0 34%;
	max-width: 34%;
	color: var(--cb-muted);
	font-weight: 600;
}

.nsa-cb__summary .nsa-cb__amount { color: var(--cb-teal); font-weight: 800; }

.nsa-cb__canonical { font-size: .76rem; color: var(--cb-muted); direction: ltr; }

/* ------------------------------------------------------------ states */

.nsa-cb__hold {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 9px 13px;
	border: 1px solid #bfe4ee;
	border-radius: 10px;
	background: var(--cb-wash);
	color: var(--cb-teal);
	font-size: .85rem;
	font-weight: 600;
}

.nsa-cb__hold b { font-variant-numeric: tabular-nums; }

.nsa-cb__notice,
.nsa-cb-notice {
	margin: 16px 0;
	padding: 13px 15px;
	border: 1px dashed #b45309;
	border-radius: 10px;
	background: #fffaf3;
	color: #7c3d06;
	font-size: .88rem;
	direction: rtl;
	text-align: start;
}

.nsa-cb__empty {
	padding: 26px 14px;
	border: 1px dashed var(--cb-line);
	border-radius: 12px;
	background: var(--cb-canvas);
	color: var(--cb-muted);
	text-align: center;
	font-size: .92rem;
}

.nsa-cb__alert {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 14px 0;
	padding: 12px 14px;
	border: 1px solid #f0d8d8;
	border-radius: 10px;
	background: #fdf6f6;
	color: var(--cb-danger);
	font-size: .89rem;
}

.nsa-cb__alert button {
	padding: 6px 14px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .84rem;
	cursor: pointer;
}

/* Skeletons: the calendar and the slot list both take a round trip, and an
 * empty box for 400ms reads as broken. */
.nsa-cb__skeleton {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 8px;
}

.nsa-cb__skeleton i {
	display: block;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(90deg, #eef2f6 25%, #e3e9ef 37%, #eef2f6 63%);
	background-size: 400% 100%;
	animation: nsa-cb-shimmer 1.2s ease-in-out infinite;
}

@keyframes nsa-cb-shimmer {
	0%   { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

/* ------------------------------------------------------------ actions */

.nsa-cb__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--cb-line);
}

.nsa-cb__primary {
	padding: 12px 30px;
	border: 0;
	border-radius: 10px;
	background: var(--cb-navy);
	color: #fff;
	font: inherit;
	font-size: .96rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .16s ease, opacity .16s ease;
}

.nsa-cb__primary:hover:not([disabled]) { background: var(--cb-teal); }
.nsa-cb__primary[disabled] { opacity: .55; cursor: progress; }

.nsa-cb__ghost {
	padding: 12px 20px;
	border: 1px solid var(--cb-line);
	border-radius: 10px;
	background: transparent;
	color: var(--cb-muted);
	font: inherit;
	font-size: .92rem;
	cursor: pointer;
}

.nsa-cb__ghost:hover { border-color: var(--cb-teal); color: var(--cb-teal); }

/* ----------------------------------------------------------- success */

.nsa-cb__success {
	padding: 26px;
	border: 1px solid #cbe8df;
	border-radius: var(--cb-radius);
	background: #f2fbf8;
	text-align: center;
}

.nsa-cb__tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--cb-ok);
	color: #fff;
	font-size: 26px;
	line-height: 1;
}

.nsa-cb__success h3 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--cb-ok);
}

.nsa-cb__number {
	display: inline-block;
	margin: 8px 0 16px;
	padding: 8px 20px;
	border: 1px dashed var(--cb-ok);
	border-radius: 9px;
	background: #fff;
	font-size: 1.08rem;
	font-weight: 800;
	letter-spacing: .05em;
	direction: ltr;
}

.nsa-cb__success .nsa-cb__summary { text-align: start; background: #fff; }

.nsa-cb__next {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #cbe8df;
	font-size: .89rem;
	text-align: start;
	color: var(--cb-text);
}

/* ================================================ card-to-card payment */

/*
 * The booking is real before any money moves, so the step opens by saying so.
 * Somebody who reaches a payment screen without confirmation that their slot is
 * held assumes the booking failed and starts again.
 */
.nsa-cb__booked {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
	padding: 13px 15px;
	border: 1px solid #cbe8df;
	border-radius: 12px;
	background: #f2fbf8;
}

.nsa-cb__booked-tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 50%;
	background: #16a985;
	color: #fff;
	font-size: 15px;
}

.nsa-cb__booked strong { color: #04735c; font-size: .98rem; }

.nsa-cb__booked-number {
	padding: 3px 12px;
	border-radius: 7px;
	background: #fff;
	border: 1px dashed #16a985;
	font-weight: 800;
	letter-spacing: .04em;
	direction: ltr;
}

.nsa-cb__booked-note {
	flex-basis: 100%;
	font-size: .82rem;
	color: #4b7a6e;
}

.nsa-cb__amount-box {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding: 14px 16px;
	border: 1px solid var(--cb-line);
	border-radius: 12px;
	background: var(--cb-canvas);
}

.nsa-cb__amount-box span { color: var(--cb-muted); font-size: .9rem; }

.nsa-cb__amount-box strong {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--cb-teal);
}

/* The account, as a card rather than a row of labelled fields. */
.nsa-cb__card-pay {
	position: relative;
	margin-bottom: 14px;
	padding: 20px;
	border-radius: 16px;
	background: linear-gradient(140deg, var(--cb-navy) 0%, var(--cb-dark) 55%, var(--cb-teal) 165%);
	color: #fff;
	overflow: hidden;
}

.nsa-cb__card-pay::after {
	content: "";
	position: absolute;
	inset-block-start: -40px;
	inset-inline-end: -40px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(40, 194, 221, .16);
	pointer-events: none;
}

.nsa-cb__card-label {
	display: block;
	font-size: .78rem;
	letter-spacing: .04em;
	opacity: .72;
}

.nsa-cb__card-bank {
	display: block;
	margin-top: 2px;
	font-size: 1rem;
	font-weight: 700;
}

.nsa-cb__card-number {
	margin: 14px 0 12px;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: .12em;
	font-variant-numeric: tabular-nums;
	word-spacing: .3em;
}

.nsa-cb__card-holder,
.nsa-cb__card-sheba {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: .88rem;
}

.nsa-cb__card-holder span,
.nsa-cb__card-sheba span { opacity: .7; font-size: .8rem; }

.nsa-cb__card-sheba { margin-top: 4px; }

.nsa-cb__card-sheba code {
	background: rgba(255, 255, 255, .14);
	padding: 2px 8px;
	border-radius: 6px;
	font-size: .82rem;
	letter-spacing: .04em;
}

.nsa-cb__copy {
	position: relative;
	z-index: 1;
	margin-top: 14px;
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font: inherit;
	font-size: .86rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease;
}

.nsa-cb__copy:hover { background: rgba(255, 255, 255, .2); }

.nsa-cb__copy.is-copied {
	background: #16a985;
	border-color: #16a985;
}

.nsa-cb__pay-hint {
	margin: 0 0 14px;
	padding: 11px 13px;
	border-inline-start: 3px solid var(--cb-cyan);
	border-radius: 8px;
	background: var(--cb-wash);
	font-size: .87rem;
	color: var(--cb-navy);
}

/* Receipt upload: the browser's own control is English and unstyleable. */
.nsa-cb__receipt { margin-top: 4px; }

.nsa-cb__drop {
	margin-bottom: 14px;
	padding: 18px;
	border: 2px dashed #c9d8e2;
	border-radius: 12px;
	background: var(--cb-canvas);
	text-align: center;
}

.nsa-cb__file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.nsa-cb__drop-label {
	display: inline-block;
	padding: 11px 24px;
	border-radius: 10px;
	background: var(--cb-teal);
	color: #fff;
	font-size: .92rem;
	font-weight: 700;
	cursor: pointer;
}

.nsa-cb__drop-label:hover { background: var(--cb-navy); }

/* Keyboard users get a visible ring even though the input itself is hidden. */
.nsa-cb__file:focus-visible + .nsa-cb__drop-label {
	outline: 2px solid var(--cb-cyan);
	outline-offset: 2px;
}

.nsa-cb__chosen {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nsa-cb__chosen-name {
	max-width: 60%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--cb-line);
	font-size: .88rem;
	direction: ltr;
}

.nsa-cb__chosen-remove {
	padding: 6px 14px;
	border: 1px solid var(--cb-line);
	border-radius: 999px;
	background: transparent;
	color: var(--cb-danger);
	font: inherit;
	font-size: .82rem;
	cursor: pointer;
}

.nsa-cb__privacy {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--cb-canvas);
	font-size: .8rem;
	line-height: 1.9;
	color: var(--cb-muted);
}

.nsa-cb__pay-status {
	margin: 12px 0;
	padding: 11px 13px;
	border-radius: 9px;
	background: var(--cb-wash);
	border-inline-start: 3px solid var(--cb-teal);
	font-size: .88rem;
	color: var(--cb-navy);
}

@media (max-width: 600px) {
	.nsa-cb__card-number { font-size: 1.12rem; letter-spacing: .08em; }
	.nsa-cb__amount-box strong { font-size: 1.2rem; }
	.nsa-cb__drop-label { width: 100%; }
}

/* -------------------------------------------------------------- CTA */

.nsa-cb-jump {
	display: inline-block;
	padding: 11px 26px;
	border-radius: 10px;
	background: #08789a;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background .16s ease;
}

.nsa-cb-jump:hover,
.nsa-cb-jump:focus { background: #073451; color: #fff; }

/* ------------------------------------------------------------ mobile */

@media (max-width: 860px) {
	.nsa-cb__split { grid-template-columns: 1fr; }
	.nsa-cb__calendar { max-width: 400px; }
}

@media (max-width: 600px) {
	.nsa-cb {
		margin: 22px auto;
		padding: 16px;
		border-radius: 12px;
	}

	.nsa-cb__steps { gap: 4px; }

	.nsa-cb__step {
		flex: 0 0 auto;
		min-width: 0;
		padding: 7px 9px;
		font-size: 0;
		gap: 0;
	}

	.nsa-cb__step span { width: 26px; height: 26px; font-size: .82rem; }

	.nsa-cb__grid { grid-template-columns: 1fr; }
	.nsa-cb__cards { grid-template-columns: 1fr; }

	/* Touch targets, and a day cell that is not a pinprick. */
	.nsa-cb__day { min-height: 42px; font-size: .92rem; }
	.nsa-cb__slot { padding: 14px 8px; font-size: .98rem; }

	.nsa-cb__summary li { flex-direction: column; gap: 2px; }
	.nsa-cb__summary b { flex: none; max-width: none; }

	/* The continue button stays reachable without scrolling back. */
	.nsa-cb__actions {
		position: sticky;
		inset-block-end: 0;
		margin-inline: -16px;
		margin-block-end: -16px;
		padding: 12px 16px;
		background: var(--cb-surface);
		box-shadow: 0 -4px 14px rgba(7, 52, 81, .08);
	}

	.nsa-cb__primary { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.nsa-cb__panel,
	.nsa-cb__skeleton i { animation: none; }

	.nsa-cb__card,
	.nsa-cb__primary { transition: none; }

	.nsa-cb__card:hover { transform: none; }
}
