/*
 * Meristem account area: the next box (renewal card and controls, Home
 * summary), "My box arrived" (day and time on tap), the warm or damaged box
 * form, and the refill routes. Loaded after account-messages.css
 * (PortalChrome), on account pages only. Uses the tokens from account.css.
 * Phone first: every control is a full-width 48px tap target until there is
 * room to sit side by side.
 */

/* Next box ----------------------------------------------------------------- */

.pwp-renewal .pwp-renewal__facts {
	margin: 0 0 16px;
}

/* A card asking to confirm Cancel or Skip: outlined, its alert first. */
.pwp-renewal--confirm {
	box-shadow: 0 0 0 2px var(--acct-error);
}

.pwp-renewal--confirm > .pwp-portal__notice {
	margin: 0 0 16px;
}

.pwp-renewal__card {
	margin: 0 0 16px;
}

.pwp-renewal__card p {
	margin: 0 0 8px;
}

.pwp-renewal__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.pwp-renewal__actions .pwp-form,
.pwp-renewal__card .pwp-form {
	display: block;
	margin: 0;
}

.pwp-renewal__actions .pwp-btn,
.pwp-renewal__card .pwp-btn {
	width: 100%;
}

.pwp-renewal__actions .pwp-renewal__now-note {
	margin: 8px 0 0;
}

@media (min-width: 600px) {
	.pwp-renewal__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.pwp-renewal__actions .pwp-btn,
	.pwp-renewal__card .pwp-btn {
		width: auto;
	}

	.pwp-renewal__actions .pwp-renewal__now-note {
		flex-basis: 100%;
	}
}

.pwp-renewal-summary p:last-child {
	margin-bottom: 0;
}

/* My box arrived: the choices open on tap ------------------------------------ */

.pwp-arrival > summary {
	list-style: none;
	cursor: pointer;
}

.pwp-arrival > summary::-webkit-details-marker {
	display: none;
}

.pwp-arrival[open] > summary {
	margin-bottom: 12px;
}

.pwp-arrival .pwp-arrival-form {
	margin-top: 0;
	padding: 16px;
	border-radius: 12px;
	background: var(--acct-card);
	color: var(--acct-ink);
}

.pwp-arrival .pwp-arrival-form p {
	margin: 0;
	color: var(--acct-bark);
}

.pwp-arrival .pwp-arrival-form label {
	color: var(--acct-ink);
}

/* My box arrived warm or damaged ------------------------------------------ */

.pwp-replacement__reasons {
	margin: 0;
	padding: 0;
	border: 0;
}

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

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

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

/* Refill routes ------------------------------------------------------------ */

.pwp-refill-routes {
	margin: 0 0 12px;
	padding-left: 20px;
}

.pwp-refill-routes li {
	margin-bottom: 8px;
	line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
	.pwp-arrival > summary {
		transition: none;
	}
}
