/*
 * Meristem account area: the check-in form (/my-account/check-in/) and the
 * check-in step's status line. Loaded on account pages only, after the other
 * account sheets (PortalChrome), so it reuses their tokens, cards, fields and
 * buttons. Mobile-first: every choice is a 48px tap target.
 */

/* The form's questions -------------------------------------------------- */

.pwp-checkin__choices {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}

.pwp-checkin__choices legend {
	margin-bottom: 4px;
	padding: 0;
	color: var(--acct-ink);
	font: 600 0.9375rem/1.4 var(--acct-sans);
}

.pwp-checkin__choices .pwp-field__hint {
	margin: 0 0 4px;
	font-size: 0.9375rem;
}

.pwp-checkin__choices label {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	color: var(--acct-ink);
	font-size: 1rem;
	line-height: 1.35;
	cursor: pointer;
}

.pwp-checkin__choices input[type="checkbox"],
.pwp-checkin__choices input[type="radio"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--acct-fir);
}

/* The 911 line beside the side-effect question. */
.pwp-checkin__choices .pwp-checkin__alert {
	margin: 0 0 4px;
}

/* The updated consent: a long label reads from the top of its box. */
.pwp-checkin__consent-link {
	margin: 0 0 4px;
}

.pwp-checkin__consent label {
	align-items: flex-start;
	padding: 8px 0;
}

.pwp-checkin__consent input[type="checkbox"] {
	margin-top: 1px;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .pwp-checkin-form input[type="number"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 12rem;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--acct-taupe);
	border-radius: var(--acct-field-radius);
	background: var(--acct-card);
	color: var(--acct-ink);
	font: 400 1rem/1.5 var(--acct-sans);
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .pwp-checkin-form input[type="number"]:focus {
	border-color: var(--acct-fir);
	outline: 2px solid var(--acct-fir);
	outline-offset: 2px;
}

body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .pwp-checkin-form textarea {
	min-height: 96px;
}

/* Where the check-in stands ---------------------------------------------- */

.pwp-checkin-status {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--acct-sage-wash);
	color: var(--acct-ink);
	font-weight: 600;
}

.pwp-checkin__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 0;
}

.pwp-checkin .pwp-quote {
	margin-top: 12px;
}
