/* O.C.D. 007 Day 1 introduction and responsive intake hierarchy. */
body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day .ocd-reset__program-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day .ocd-reset__program-links .ocd-reset__text-link {
	margin: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day ~ .ocd-reset__orientation--opening.ocd-reset__orientation--concise {
	display: grid !important;
	grid-template-areas: 'copy brief';
	grid-template-columns: minmax(18rem, 0.8fr) minmax(24rem, 1.2fr);
	align-items: start;
	gap: clamp(2.5rem, 7vw, 8rem);
	margin: 0;
	padding: clamp(3.5rem, 6vw, 6.5rem) clamp(2rem, 7vw, 8rem);
	background: var(--ocd-seven-warm) !important;
	border-top: 0;
	border-bottom: 1px solid var(--ocd-seven-line);
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--opening.ocd-reset__orientation--concise .ocd-reset__orientation-copy {
	grid-area: copy;
	padding-top: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--opening.ocd-reset__orientation--concise .ocd-reset__orientation-copy h2 {
	max-width: 13ch;
	margin: 0;
	color: var(--ocd-seven-ink) !important;
	font-family: var(--ocd-seven-font-display) !important;
	font-size: clamp(2.75rem, 4vw, 4.5rem) !important;
	font-weight: 700;
	letter-spacing: 0 !important;
	line-height: 0.94 !important;
	text-transform: uppercase;
	text-wrap: balance;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation-brief > .ocd-intro-video {
	grid-area: auto;
	min-height: 0;
	margin: 24px 0 0;
	box-shadow: none;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation-brief > .ocd-intro-video::after {
	display: none;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation-brief > .ocd-intro-video > video {
	width: 100%;
	height: auto;
	min-height: 0;
	max-height: 480px;
	object-fit: contain;
	background: #f3f4f2;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation-brief > .ocd-intro-video > figcaption {
	position: static;
	max-width: none;
	background: #ffffff;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__optional-review {
	padding: 20px 0;
	border-bottom: 1px solid #d9d8d3;
	background: #ffffff;
	color: #27272a;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__optional-review summary {
	cursor: pointer;
	color: #403777;
	font-weight: 700;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__optional-review fieldset {
	min-width: 0;
	padding: 0;
	border: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-brief {
	grid-area: brief;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	max-width: 48rem;
	padding-top: 1.75rem;
	border-top: 3px solid var(--ocd-seven-mint);
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-brief > p {
	max-width: 44rem;
	margin: 0;
	color: var(--ocd-seven-muted) !important;
	font-family: var(--ocd-seven-font-body) !important;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0 !important;
	line-height: 1.6 !important;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-brief > .ocd-reset__orientation-lead {
	color: var(--ocd-seven-ink) !important;
	font-size: clamp(1.3rem, 2vw, 1.8rem) !important;
	font-weight: 700;
	line-height: 1.3 !important;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-note {
	display: grid;
	grid-template-columns: minmax(7rem, 0.25fr) minmax(0, 0.75fr);
	gap: 1.5rem;
	margin-top: 0.75rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ocd-seven-line);
	color: var(--ocd-seven-ink) !important;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-note > span {
	color: var(--ocd-seven-green) !important;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0 !important;
	line-height: 1.4;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-next {
	margin-top: 0.75rem;
	padding: 1.25rem 0 0;
	background: transparent !important;
	border: 0;
	border-top: 1px solid var(--ocd-seven-line);
}

/* Match the 4:3 source photos and remove the older mixed-width image strips. */
body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-options {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 16px;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-options > .ocd-reset__focus-option {
	grid-column: auto;
	grid-template-rows: auto auto 1fr auto;
	min-width: 0;
	min-height: 0;
	padding: 0 0 18px;
	margin: 0;
	gap: 10px;
	transform: none;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-options > .ocd-reset__focus-option > .ocd-reset__focus-media {
	position: relative;
	inset: auto;
	grid-column: 1;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	margin: 0 0 6px;
	background-position: center;
	background-size: contain;
	transform: none;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-options > .ocd-reset__focus-option > :is(span, small, i) {
	margin-left: 18px;
	margin-right: 18px;
	max-width: none;
	letter-spacing: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-options > .ocd-reset__focus-option > span {
	font-size: 18px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__readonly-plan {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__complete-snapshot-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	overflow: visible;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__complete-snapshot {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: 24px;
	overflow-wrap: anywhere;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__complete-snapshot > a {
	align-self: flex-start;
	margin-top: auto;
	letter-spacing: 0;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__takeaway-rule > strong {
	display: block;
	margin-bottom: 6px;
	color: #005332;
	font-size: 12px;
	letter-spacing: 0;
	text-transform: uppercase;
}

/* Keep the Day 1 guide visible while the member works through the chosen lane. */
@media (min-width: 981px) {
	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake {
		align-items: start;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake > header {
		position: sticky !important;
		top: 118px !important;
		align-self: start;
		min-height: min(760px, calc(100vh - 142px));
	}
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__worksheet--single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 42rem;
}

body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__starter-status {
	color: var(--ocd-seven-ink) !important;
}

@media (max-width: 980px) {
	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day ~ .ocd-reset__orientation--opening.ocd-reset__orientation--concise {
		grid-template-areas:
			'copy'
			'brief';
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake > header {
		position: static;
		min-height: 0;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work {
		min-width: 0;
	}
}

@media (max-width: 680px) {
	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day .ocd-reset__program-links {
		margin-bottom: 2rem;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__program-head--seven-day ~ .ocd-reset__orientation--opening.ocd-reset__orientation--concise {
		padding: 3rem 20px;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--opening.ocd-reset__orientation--concise .ocd-reset__orientation-copy h2 {
		font-size: clamp(2.5rem, 13vw, 3.35rem) !important;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-note,
	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__picker-intro {
		grid-template-columns: minmax(0, 1fr);
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__orientation--concise .ocd-reset__orientation-note {
		gap: 0.5rem;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake {
		gap: 2.5rem;
		padding: 3rem 20px;
	}

	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__picker-copy,
	body.ocd-reset-member .ocd-reset[data-ocd-theme="light"] .ocd-reset__day-one-intake-work .ocd-reset__focus-count {
		min-width: 0;
		max-width: 100%;
	}
}
