/* Lesson 7 extends the shared high-school components. */
.high-lesson-7 {
	--l7-green: #087c54;
	--l7-orange: #f45c13;
	--l7-purple: #7134b4;
	--l7-border: #d6dfff;
	background: #fff;
}
.high-lesson-7 *, .high-lesson-7 *::before, .high-lesson-7 *::after { box-sizing: border-box; }
.high-lesson-7 img { max-width: 100%; object-fit: contain; }
.high-lesson-7 h1, .high-lesson-7 h2, .high-lesson-7 h3 { letter-spacing: 0; overflow-wrap: anywhere; }
.high-lesson-7 p, .high-lesson-7 li { overflow-wrap: anywhere; }
.high-lesson-7 .high-lesson-hero { background: #fff; border: 0; }
.high-lesson-7__progress { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.high-lesson-7 .lesson-progress { gap: 28px; }
.high-lesson-7 .lesson-progress > strong { font-size: 2rem; padding: 9px 22px; }
.high-lesson-7 .lesson-progress > span { font-size: 1.5rem; }
.high-lesson-7 .lesson-progress__bars i { width: 62px; background: #d6dbea; }
.high-lesson-7 .lesson-progress__bars i.is-active { background: var(--high-blue); }
.high-lesson-7__reading-time { margin: 0; font-size: 1rem; font-weight: 800; }
.high-lesson-7__reading-time::before { content: "◷"; margin-right: 8px; font-size: 1.5rem; }
.high-lesson-7 .high-lesson-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.high-lesson-7 .high-lesson-hero__copy { padding: 22px 0; min-width: 0; }
.high-lesson-7 .high-lesson-hero__copy h1 { font-size: 2.75rem; line-height: 1.4; margin: 14px 0; }
.high-lesson-7 .high-lesson-hero__copy > span { font-size: 1.0625rem; line-height: 1.75; max-width: none; }
.high-lesson-7 .high-lesson-hero__grid > img { width: 100%; height: auto; max-height: 440px; margin: 0; object-fit: contain; }
.high-lesson-7 .high-lesson-hero__copy > .high-lesson-7__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 2rem; margin: 0; }
.high-lesson-7__eyebrow img { width: 42px; height: 48px; }
.high-lesson-7__lead { margin: 0 0 12px; font-size: 1.4375rem; line-height: 1.5; }
/* Keep the reference hero colors and handwritten accent local to STEP 1. */
.high-lesson-7--step-1 .high-lesson-hero__copy > .high-lesson-7__eyebrow {
	position: relative;
}
.high-lesson-7--step-1 .high-lesson-hero__copy > .high-lesson-7__eyebrow::after {
	content: "";
	position: absolute;
	left: 44px;
	bottom: -8px;
	width: 4.6em;
	height: .625em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 24'%3E%3Cpath d='M2 20C22 13 40 7 52 9L55 15C76 8 100 4 113 7C134 15 108 25 108 15C108 5 145 1 178 5' fill='none' stroke='%234661ef' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.high-lesson-7--step-1 .high-lesson-hero__copy h1 {
	color: #0c195a;
}
.high-lesson-7--step-1 .high-lesson-7__lead {
	color: #1624cc;
}
.high-lesson-7--step-1 .high-lesson-hero__copy > span {
	color: #20265e;
}
.high-lesson-7 .high-lesson-hero__copy > .high-lesson-supervisor {
	max-width: 570px; margin: 12px 0 0; color: inherit; font-size: .75rem; font-weight: 400; line-height: 1.6; text-align: left; overflow-wrap: anywhere;
}
.high-lesson-7 .high-lesson-supervisor__title { display: inline-block; max-width: 100%; vertical-align: top; }
.high-lesson-7 .high-lesson-content { padding-block: 0 72px; }
.high-lesson-7 .high-lesson-section { margin-bottom: 12px; padding: 12px 16px 16px; border: 2px solid var(--l7-border); border-radius: 8px; }
.high-lesson-7 .numbered-section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.high-lesson-7 .numbered-section-heading > div { flex: 0 0 auto; }
.high-lesson-7 .numbered-section-heading > div strong { display: block; padding: 6px 10px; border-radius: 6px; color: #fff; background: var(--high-blue); font-size: 1.75rem; }
.high-lesson-7 .numbered-section-heading > div span { display: none; }
.high-lesson-7 .numbered-section-heading h2 { margin: 0; font-size: 1.5rem; }
.high-lesson-7__authors { display: grid; grid-template-columns: minmax(0, 3fr) 28px minmax(0, 1.6fr) minmax(0, .9fr); align-items: stretch; gap: 16px; }
.high-lesson-7__works { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.high-lesson-7__works .lesson-info-card { flex-direction: column-reverse; padding: 12px; align-items: center; border-color: var(--l7-border); border-radius: 8px; justify-content: center; }
.high-lesson-7__works .lesson-info-card img { height: 76px; margin: 0 0 12px; }
.high-lesson-7__works .lesson-info-card h3 { font-size: 1.125rem; }
.high-lesson-7__arrow { display: grid; place-items: center; font-size: 2rem; font-weight: 900; }
.high-lesson-7__author { padding: 10px 16px; border: 2px solid var(--l7-border); border-radius: 8px; background: #f8faff; text-align: center; }
.high-lesson-7__author img { height: 80px; width: 90px; margin-inline: auto; }
.high-lesson-7__author p { margin: 6px 0 0; font-size: .9375rem; font-weight: 700; line-height: 1.7; }
.high-lesson-7__point { border: 2px solid var(--l7-border); border-radius: 8px; padding: 16px; background: #fcfdff; }
.high-lesson-7__point h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.25rem; }
.high-lesson-7__point h3::before, .high-lesson-7__important > h2::before { content: ""; display: inline-block; flex: 0 0 30px; width: 30px; height: 36px; background: url('../images/common/hirameki.png') center / contain no-repeat; }
.high-lesson-7__point p { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.8; }
.high-lesson-7__rules { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.7fr) minmax(0, .9fr); gap: 18px; }
.high-lesson-7__ok, .high-lesson-7__ng, .high-lesson-7__confirm { border: 1px solid #cde8df; border-radius: 8px; background: #f8fcfa; padding: 14px; }
.high-lesson-7__ok > h3, .high-lesson-7__ng > h3 { margin: -29px 0 12px; font-size: .9375rem; text-align: center; color: var(--l7-green); }
.high-lesson-7__ok > h3 strong, .high-lesson-7__ng > h3 strong { display: inline-block; padding: 3px 10px; border-radius: 6px; color: #fff; background: var(--l7-green); font-size: 1.25rem; }
.high-lesson-7__rules { padding-top: 14px; }
.high-lesson-7__uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.high-lesson-7__uses .lesson-info-card { border: 0; border-right: 1px solid #d8e9e4; border-radius: 0; padding: 0 10px; background: transparent; }
.high-lesson-7__uses .lesson-info-card:last-child { border-right: 0; }
.high-lesson-7__uses .lesson-info-card h3 { color: var(--l7-green); text-align: center; font-size: 1rem; }
.high-lesson-7__uses .lesson-info-card header { justify-content: center; min-height: 48px; }
.high-lesson-7__uses .lesson-info-card img { height: 105px; }
.high-lesson-7__uses .lesson-info-card ul { font-size: .8125rem; padding-left: 16px; }
.high-lesson-7__ng { background: #fffafa; border-color: #ffd1d1; }
.high-lesson-7__ng > h3 { color: #df252d; }
.high-lesson-7__ng > h3 strong { background: #df252d; }
.high-lesson-7__ng ul, .high-lesson-7__confirm ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.high-lesson-7__ng li, .high-lesson-7__confirm li { display: flex; gap: 10px; align-items: baseline; font-size: .9375rem; font-weight: 700; line-height: 1.6; }
.high-lesson-7__ng li::before { content: "×"; flex: 0 0 20px; color: #e52d36; font-size: 1.5rem; line-height: 1; }
.high-lesson-7__confirm h3 { margin: 0 0 12px; color: var(--l7-green); font-size: 1.125rem; }
.high-lesson-7__confirm li::before { content: "✓"; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--l7-green); color: #fff; font-size: .875rem; text-align: center; }
/* Section 02 labels sit on the border without consuming the content spacing. */
.high-lesson-7--step-1 .high-lesson-7__rules { gap: 20px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ok,
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng { position: relative; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ok { padding: 24px 8px 14px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng { padding: 36px 16px 16px; }
.high-lesson-7--step-1 .high-lesson-7__rules > section > h3 {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: 8px;
	width: max-content;
	max-width: calc(100% - 24px);
	margin: 0;
	padding-inline: 6px;
	background: #fff;
	line-height: 1.5;
}
.high-lesson-7--step-1 .high-lesson-7__rules > section > h3 strong { flex: 0 0 auto; padding: 4px 12px; line-height: 1.3; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card { padding-inline: 6px; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card header { align-items: flex-start; min-height: 0; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card:nth-child(3) h3 { white-space: pre-line; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card:nth-child(3) img { height: 154px; margin-top: 0; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point { margin-top: -24px; padding: 20px 16px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point h3 { margin-bottom: 40px; }
@media (min-width: 769px) {
	.high-lesson-7--step-1 .high-lesson-7__rules .high-lesson-7__uses { grid-template-columns: .96fr .96fr 1.12fr 1.16fr; }
}
@media (max-width: 1280px) {
	.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point { margin-top: 0; padding: 20px; }
	.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point h3 { margin-bottom: 20px; }
}
.high-lesson-7__photos { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 18px; }
.high-lesson-7__photo-flow { display: grid; grid-template-columns: minmax(0, 1.25fr) 22px minmax(0, 1.5fr) 22px minmax(0, .6fr); gap: 8px; align-items: center; }
.high-lesson-7__photo-flow img { width: 100%; height: auto; max-height: 210px; }
/* Section 03 preserves complete image canvases, including the phone's transparency. */
.high-lesson-7--step-1 .high-lesson-7__photos { grid-template-columns: minmax(0, 3.9fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow {
	grid-column: 1;
	grid-row: 1;
	grid-template-columns: minmax(0, 1.35fr) 22px minmax(0, 1.6fr) 22px minmax(0, .75fr);
	width: 100%;
	max-width: 940px;
	justify-self: center;
}
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__photo-next { grid-column: 1; grid-row: 1; justify-self: end; align-self: center; width: 18px; font-size: 1.5rem; line-height: 1; transform: translateX(calc(100% - 6px)); }
.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow img { max-height: 260px; }
.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow img:nth-of-type(3) {
	width: calc(100% + 160px);
	max-width: none;
	max-height: none;
	justify-self: center;
}
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__confirm { padding: 18px; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__confirm h3 { margin-bottom: 16px; font-size: 1.25rem; line-height: 1.5; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__confirm ul { gap: 12px; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__confirm li { align-items: center; gap: 12px; font-size: 1.125rem; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__confirm li::before { flex-basis: 24px; width: 24px; height: 24px; font-size: 1rem; line-height: 24px; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 1280px) {
	.high-lesson-7--step-1 .high-lesson-7__photos { grid-template-columns: minmax(0, 3.4fr) minmax(0, 1.4fr); }
}
@media (max-width: 1100px) {
	.high-lesson-7--step-1 .high-lesson-7__photos { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__photo-next { grid-column: 1; grid-row: 2; justify-self: center; width: 24px; height: 24px; transform: rotate(90deg); }
	.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow img { width: min(100%, 420px); max-height: none; justify-self: center; }
	.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow img:nth-of-type(3) { width: min(100%, 360px); max-width: 100%; }
	.high-lesson-7--step-1 .high-lesson-7__photos .high-lesson-7__photo-flow .high-lesson-7__arrow { transform: rotate(90deg); }
}
.high-lesson-7__ai { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, .8fr); gap: 16px; }
.high-lesson-7__ai-flow { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 4px; }
.high-lesson-7__ai-flow h3 { margin: 0 0 8px; min-height: 44px; font-size: .8125rem; text-align: center; line-height: 1.6; }
.high-lesson-7__ai-flow img { width: 100%; height: 130px; }
.high-lesson-7__ai .high-lesson-7__ng > h3 { margin: 0 0 12px; font-size: .875rem; }
.high-lesson-7__ai .high-lesson-7__ng li, .high-lesson-7__ai .high-lesson-7__confirm li { font-size: .8125rem; gap: 5px; }
.high-lesson-7__ai .high-lesson-7__point p { font-size: .9375rem; }
.high-lesson-7__ai .high-lesson-7__confirm { padding: 10px; }
.high-lesson-7__ai .high-lesson-7__confirm h3 { font-size: .875rem; }
.high-lesson-7 .high-complete-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.high-lesson-7 .high-complete-card-grid article { animation: none; opacity: 1; transform: none; border-radius: 8px; border-color: var(--l7-border); }
.high-lesson-7 .high-complete-card-grid article:nth-child(2) { border-color: #cde8df; --card-color: var(--l7-green); }
.high-lesson-7 .high-complete-card-grid article:nth-child(3) { border-color: #ffe2cb; --card-color: var(--l7-orange); }
.high-lesson-7 .high-complete-card-grid article:nth-child(4) { --card-color: var(--l7-purple); }
.high-lesson-7 .high-complete-card-grid header span { color: #fff; background: var(--card-color, var(--high-blue)); font-size: 1.125rem; }
.high-lesson-7 .high-complete-card-grid h3 { color: var(--card-color, var(--high-blue)); font-size: 1.0625rem; line-height: 1.7; }
.high-lesson-7__reminders article { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 10px; padding: 12px; }
.high-lesson-7__reminders header { grid-column: 1 / -1; grid-template-columns: 32px minmax(0, 1fr); }
.high-lesson-7__reminders header span { width: 30px; height: 30px; }
.high-lesson-7 .high-lesson-7__reminders img { width: 70px; height: 95px; }
.high-lesson-7__reminders p { font-size: .8125rem; }
.high-lesson-7__important > h2 { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; margin: 4px 0 12px; }
.high-lesson-7__point-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.high-lesson-7__point-grid article { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--l7-border); border-radius: 8px; background: #f8faff; }
.high-lesson-7__point-grid article:nth-child(2) { color: var(--l7-green); border-color: #cde8df; background: #f8fcfa; }
.high-lesson-7__point-grid article:nth-child(3) { color: var(--l7-orange); border-color: #ffe2cb; background: #fffbf8; }
.high-lesson-7__point-grid article:nth-child(4) { color: var(--l7-purple); background: #faf8ff; }
.high-lesson-7__point-grid article img { width: 56px; height: 65px; flex: 0 0 56px; }
.high-lesson-7__point-grid h3 { font-size: 1.125rem; margin: 0 0 6px; line-height: 1.5; }
.high-lesson-7__point-grid p { margin: 0; font-size: .875rem; font-weight: 700; line-height: 1.6; }
.high-lesson-7 .lesson-next-button { width: min(100%, 850px); margin-top: 24px; }
.high-lesson-7__closing { margin: 10px auto 0; padding: 8px 16px; max-width: 850px; border-radius: 6px; background: #f3f6ff; text-align: center; font-size: 1rem; font-weight: 700; }
/* CASE bodies keep the shared answer states and progression contract. */
.high-lesson-7--step-2 .high-lesson-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.high-lesson-7__thinking { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.high-lesson-7__thinking > img { width: 100%; height: auto; max-height: 370px; align-self: end; }
.high-lesson-7__thinking h2 { margin: 0 0 16px; font-size: 1.125rem; }
.high-lesson-7__thinking ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.high-lesson-7__thinking li { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; font-weight: 800; line-height: 1.7; }
.high-lesson-7__thinking li::before { content: "☑"; font-size: 1.5rem; }
.high-lesson-7__cases { display: grid; gap: 14px; }
.high-lesson-7__cases .lesson-scenario-card { --case-color: var(--high-blue); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px 24px; padding: 14px; border: 2px solid var(--l7-border); border-radius: 8px; box-shadow: none; }
.high-lesson-7__cases .lesson-scenario-card:nth-child(2) { --case-color: var(--l7-green); }
.high-lesson-7__cases .lesson-scenario-card:nth-child(3) { --case-color: var(--l7-orange); }
.high-lesson-7__cases .lesson-scenario-card:nth-child(4) { --case-color: var(--l7-purple); }
.high-lesson-7__cases .lesson-scenario-card > header { grid-column: 1; grid-row: 1; align-items: flex-start; gap: 16px; }
.high-lesson-7__cases .lesson-scenario-card > header > span { flex: 0 0 auto; background: var(--case-color); font-size: 1.25rem; white-space: nowrap; }
.high-lesson-7__cases .lesson-scenario-card > header h2 { color: var(--case-color); font-size: 1.25rem; line-height: 1.6; }
.high-lesson-7__case { display: contents; }
.high-lesson-7__case-main { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.high-lesson-7__case-main > img { width: 100%; height: auto; max-height: 290px; }
.high-lesson-7__answers h3 { color: var(--case-color); font-size: 1.125rem; margin: 0 0 12px; text-align: center; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice-list { gap: 10px; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice { grid-template-columns: 24px minmax(0, 1fr); padding: 12px; min-height: 64px; gap: 12px; font-size: .9375rem; border: 2px solid var(--l7-border); border-radius: 8px; color: var(--high-blue); }
.high-lesson-7 .high-lesson-7__answers .lesson-choice:nth-child(n) .lesson-choice__number { width: 24px; height: 24px; font-size: 0; background: #fff; border: 2px solid #a9aec9; color: #fff; }
.high-lesson-7__answers .lesson-choice__mark { display: none; }
.high-lesson-7__case.is-answered .lesson-choice { opacity: 1; cursor: default; transform: none; box-shadow: none; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-correct { border-color: #c4e5d8; background: #f1faf5; color: var(--l7-green); }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-correct .lesson-choice__number { background: var(--l7-green); border-color: var(--l7-green); }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-correct .lesson-choice__number::after { content: "✓"; font-size: 1rem; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-incorrect { border-color: #dc5468; background: #fff1f3; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-incorrect .lesson-choice__number { background: #ca354d; border-color: #ca354d; }
.high-lesson-7 .high-lesson-7__answers .lesson-choice.is-incorrect .lesson-choice__number::after { content: "×"; font-size: 1rem; }
.high-lesson-7__answer-pane { grid-column: 2; grid-row: 1 / span 2; padding-left: 24px; border-left: 2px solid #e6eafa; display: flex; flex-direction: column; min-width: 0; position: relative; }
.high-lesson-7__answer-pane::before { content: "→"; position: absolute; left: -16px; top: 50%; background: #fff; color: var(--case-color); font-size: 2rem; font-weight: 900; }
.high-lesson-7__answer-pane > h3 { margin: 0 0 12px; color: var(--case-color); font-size: 1.125rem; }
.high-lesson-7__locked { flex: 1; min-height: 245px; border: 2px dashed #e1e5f1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; color: #7a8097; }
.high-lesson-7__locked p { font-size: 1rem; font-weight: 700; margin: 0; }
.high-lesson-7__lock { position: relative; display: block; width: 30px; height: 30px; border-radius: 5px; background: #7a8097; }
.high-lesson-7__lock::before { content: ""; position: absolute; width: 22px; height: 24px; border: 4px solid #7a8097; border-radius: 12px 12px 0 0; left: 4px; top: -17px; }
.high-lesson-7__lock::after { content: ""; width: 5px; height: 12px; background: #fff; border-radius: 4px; position: absolute; top: 8px; left: 13px; }
.high-lesson-7__case.is-answered .high-lesson-7__locked { display: none; }
.high-lesson-7__feedback { flex: 1; padding: 14px; border: 1px solid #cce7db; border-radius: 8px; background: #f7fcf9; }
.high-lesson-7__feedback[hidden] { display: none; }
.high-lesson-7__result { display: flex; align-items: flex-start; gap: 10px; color: var(--l7-green); }
.high-lesson-7__result > strong { flex: 0 0 auto; padding: 4px 8px; border-radius: 5px; font-size: 1rem; background: var(--l7-green); color: #fff; }
.high-lesson-7__result h4 { font-size: 1.1875rem; line-height: 1.6; margin: 0; }
.high-lesson-7__reason { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 10px; align-items: end; margin-block: 12px; }
.high-lesson-7__reason p { font-size: .9375rem; font-weight: 600; line-height: 1.7; margin: 0; }
.high-lesson-7__reason img { width: 100%; height: 150px; }
.high-lesson-7__advice { padding: 10px 14px; border: 1px solid #cce7db; border-radius: 6px; background: #fff; }
.high-lesson-7__advice h4 { margin: 0 0 4px; color: var(--l7-green); font-size: 1rem; }
.high-lesson-7__advice h4::before { content: ""; display: inline-block; width: 18px; height: 22px; vertical-align: middle; margin-right: 6px; background: url('../images/common/hirameki.png') center / contain no-repeat; }
.high-lesson-7__advice p { font-size: .9375rem; font-weight: 700; line-height: 1.6; margin: 0; }
.high-lesson-7__feedback.is-incorrect { border-color: #edb9c2; background: #fff7f8; }
.high-lesson-7__feedback.is-incorrect .high-lesson-7__result > strong { background: #ca354d; }
.high-lesson-7--step-2 .high-lesson-7__important { margin-top: 20px; }
.high-lesson-7--step-2 .high-lesson-7__point-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.high-lesson-7--step-2 .high-lesson-7__point-grid article { align-items: flex-start; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article:nth-child(5) { color: #b87b00; background: #fffdf4; border-color: #ffe2a8; }
.high-lesson-7 .lesson-page-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); margin-top: 24px; gap: 18px; }
.high-lesson-7 .lesson-page-actions__button { position: relative; width: 100%; max-width: none; min-height: 54px; padding: 12px 44px; gap: 0; border-radius: 999px; font-size: 1rem; }
.high-lesson-7 .lesson-page-actions__button > span { position: absolute; top: 50%; right: 16px; width: 24px; height: 24px; background: url('../images/common/arrow_forward.svg') center / contain no-repeat; font-size: 0; transform: translateY(-50%); }
.high-lesson-7 .lesson-page-actions__button--previous { grid-column: 1; grid-row: 2; color: var(--high-blue); background: #fff; border: 2px solid var(--l7-border); }
.high-lesson-7 .lesson-page-actions__button--previous > span { left: 16px; right: auto; background: none; font-size: 1.75rem; transform: translateY(-50%); }
.high-lesson-7 .lesson-page-actions__button--next { grid-column: 2; grid-row: 2; }
.high-lesson-7 .lesson-page-actions [data-lesson-answer-guidance] { grid-column: 1 / -1; grid-row: 1; margin: 0; }
.high-lesson-7--complete .high-lesson-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.high-lesson-7--complete .high-lesson-hero__grid > img { max-height: 540px; }
.high-lesson-7--complete .high-lesson-hero__copy { padding-block: 40px 32px; }
.high-lesson-7--complete .high-lesson-hero__copy h1 { font-size: 3.5rem; }
.high-lesson-7__summary { padding-block: 24px; border-block: 2px solid var(--l7-border); }
.high-lesson-7__summary > h2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 24px; font-size: 1.75rem; }
.high-lesson-7__summary > h2 > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--high-blue); color: #fff; }
.high-lesson-7__summary > h2 em { font-style: normal; color: var(--l7-orange); }
.high-lesson-7__summary .high-complete-card-grid header { grid-template-columns: 40px minmax(0, 1fr); }
.high-lesson-7__summary .high-complete-card-grid img { height: 190px; }
.high-lesson-7__summary .high-complete-card-grid p { font-size: 1rem; line-height: 1.9; }
.high-lesson-7__self-check { margin-block: 24px; padding: 20px 16px; background: #f8faff; border-block: 1px solid var(--l7-border); }
.high-lesson-7__self-check > h2 { margin: 0 0 8px; font-size: 1.75rem; }
.high-lesson-7__self-check > p { margin: 0 0 20px; font-weight: 700; font-size: 1rem; }
.high-lesson-7__self-check .lesson-check-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.high-lesson-7__self-check .lesson-check-list label { grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: minmax(90px, auto) 160px 1fr; align-items: start; gap: 12px 8px; min-height: 360px; padding: 16px 12px; border-color: var(--l7-border); border-radius: 8px; }
.high-lesson-7__self-check .lesson-check-list label > span:not(.lesson-check-list__icon) { display: contents; }
.high-lesson-7__self-check .lesson-check-list strong { grid-column: 2; grid-row: 1; font-size: 1rem; line-height: 1.65; }
.high-lesson-7__self-check .lesson-check-list small { grid-column: 1 / -1; grid-row: 3; font-size: .9375rem; font-weight: 700; line-height: 1.8; }
.high-lesson-7__self-check .lesson-check-list label > i { grid-column: 1; grid-row: 1; width: 24px; height: 24px; margin-top: 3px; background: #fff; border: 2px solid #a9aec9; color: transparent; }
.high-lesson-7__self-check .lesson-check-list input:checked ~ i { background: var(--high-blue); color: #fff; border-color: var(--high-blue); }
.high-lesson-7__self-check .lesson-check-list label:has(input:checked) { background: #f0fbf8; border-color: var(--l7-green); }
.high-lesson-7__self-check .lesson-check-list__icon { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 160px; border-radius: 0; font-size: 0; background-color: transparent; background-position: center; background-repeat: no-repeat; background-size: contain; }
.high-lesson-7__self-check label:nth-child(1) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-03.png'); }
.high-lesson-7__self-check label:nth-child(2) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-04.png'); }
.high-lesson-7__self-check label:nth-child(3) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-02.png'); }
.high-lesson-7__self-check label:nth-child(4) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-06.png'); }
.high-lesson-7__self-check label:nth-child(5) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-Unknown.png'); }
.high-lesson-7__self-check label:nth-child(6) .lesson-check-list__icon { background-image: url('../images/learning/high/lesson7/lesson7-3/lesson7-3-05.png'); }
.high-lesson-7__final-message { margin-top: 18px; padding: 30px 36px; border: 1px solid #ffe2a8; border-radius: 8px; background: #fff7e2; }
.high-lesson-7__final-message strong { font-size: 1.75rem; line-height: 1.6; }
.high-lesson-7__final-message p { font-size: 1.25rem; font-weight: 700; margin: 8px 0 0; line-height: 1.6; }
@media (max-width: 1280px) {
	.high-lesson-7__self-check .lesson-check-list,
	.high-lesson-7--step-2 .high-lesson-7__point-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.high-lesson-7 .high-lesson-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
	.high-lesson-7__authors { grid-template-columns: minmax(0, 2.7fr) 24px minmax(0, 1.6fr); }
	.high-lesson-7__authors > .high-lesson-7__point { grid-column: 1 / -1; }
	.high-lesson-7__rules, .high-lesson-7__photos { grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr); }
	.high-lesson-7__rules > .high-lesson-7__point, .high-lesson-7__photos > .high-lesson-7__point { grid-column: 1 / -1; }
	.high-lesson-7__ai { grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr); }
	.high-lesson-7 .high-lesson-7__reminders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.high-lesson-7__point-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
	.high-lesson-7--complete .high-lesson-hero__grid,
	.high-lesson-7--step-2 .high-lesson-hero__grid { grid-template-columns: 1fr; }
	.high-lesson-7__thinking { max-width: 700px; justify-self: center; }
	.high-lesson-7__cases .lesson-scenario-card { grid-template-columns: 1fr; }
	.high-lesson-7__case-main { grid-column: 1; grid-row: 2; }
	.high-lesson-7__case-main > img { max-height: 340px; }
	.high-lesson-7__answer-pane { grid-column: 1; grid-row: 3; border: 0; border-top: 2px solid #e6eafa; padding: 20px 0 0; }
	.high-lesson-7__answer-pane::before { display: none; }
	.high-lesson-7__locked { min-height: 180px; }
	.high-lesson-7 .high-lesson-hero__grid { grid-template-columns: 1fr; }
	.high-lesson-7 .high-lesson-hero__grid > img { max-height: 360px; width: min(100%, 600px); justify-self: center; }
	.high-lesson-7__authors { grid-template-columns: 1fr; }
	.high-lesson-7__authors > .high-lesson-7__arrow { transform: rotate(90deg); }
	.high-lesson-7__rules, .high-lesson-7__photos, .high-lesson-7__ai { grid-template-columns: 1fr; }
	.high-lesson-7 .high-complete-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.high-lesson-7__confirm li, .high-lesson-7__ng li { font-size: 1rem; }
}
@media (max-width: 768px) {
	.high-lesson-7--complete .high-lesson-hero__copy h1 { font-size: 2.125rem; }
	.high-lesson-7__self-check .lesson-check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.high-lesson-7__summary > h2, .high-lesson-7__self-check > h2 { font-size: 1.375rem; }
	.high-lesson-7__final-message { padding: 20px; }
	.high-lesson-7__final-message strong { font-size: 1.375rem; }
	.high-lesson-7__final-message p { font-size: 1.0625rem; }
	.high-lesson-7__case-main { grid-template-columns: 1fr; }
	.high-lesson-7__case-main > img { max-height: 300px; }
	.high-lesson-7__cases .lesson-scenario-card > header { gap: 10px; }
	.high-lesson-7__cases .lesson-scenario-card > header > span { font-size: 1rem; padding: 6px 8px; }
	.high-lesson-7__cases .lesson-scenario-card > header h2 { font-size: 1.125rem; }
	.high-lesson-7--step-2 .high-lesson-7__point-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.high-lesson-7__progress { flex-wrap: wrap; }
	.high-lesson-7 .lesson-progress { gap: 14px; flex-wrap: wrap; }
	.high-lesson-7 .lesson-progress > strong { font-size: 1.375rem; }
	.high-lesson-7 .lesson-progress > span { font-size: 1.125rem; }
	.high-lesson-7 .lesson-progress__bars i { width: 42px; }
	.high-lesson-7 .high-lesson-hero__copy h1 { font-size: 2.125rem; }
	.high-lesson-7 .high-lesson-7__eyebrow { font-size: 1.5rem; }
	.high-lesson-7 .high-lesson-section { padding: 12px; }
	.high-lesson-7 .numbered-section-heading { align-items: flex-start; gap: 10px; }
	.high-lesson-7 .numbered-section-heading h2 { font-size: 1.25rem; }
	.high-lesson-7__works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.high-lesson-7__uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }
	.high-lesson-7__uses .lesson-info-card:nth-child(even) { border: 0; }
	.high-lesson-7 .high-complete-card-grid, .high-lesson-7 .high-lesson-7__reminders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.high-lesson-7 .lesson-next-button { position: relative; gap: 16px; padding: 14px 40px 14px 20px; font-size: 1rem; }
	.high-lesson-7 .lesson-next-button > span { position: absolute; right: 14px; }
}
@media (max-width: 520px) {
	.high-lesson-7--complete .high-lesson-hero__copy h1 { font-size: 1.75rem; }
	.high-lesson-7__self-check .lesson-check-list { grid-template-columns: 1fr; }
	.high-lesson-7__self-check .lesson-check-list label { grid-template-rows: minmax(50px, auto) 160px 1fr; min-height: 290px; }
	.high-lesson-7__thinking { grid-template-columns: 1fr; }
	.high-lesson-7__thinking > img { max-height: 280px; }
	.high-lesson-7__result { flex-direction: column; }
	.high-lesson-7__reason { grid-template-columns: 1fr; }
	.high-lesson-7__reason img { width: 140px; justify-self: end; }
	.high-lesson-7--step-2 .high-lesson-7__point-grid,
	.high-lesson-7 .lesson-page-actions { grid-template-columns: 1fr; }
	.high-lesson-7 .lesson-page-actions__button--next { grid-column: 1; grid-row: 3; }
	.high-lesson-7 .high-lesson-supervisor__title { display: block; }
	.high-lesson-7 .high-lesson-hero__copy h1 { font-size: 1.75rem; }
	.high-lesson-7__lead { font-size: 1.125rem; }
	.high-lesson-7__photo-flow { grid-template-columns: 1fr; }
	.high-lesson-7__photo-flow img { max-height: 230px; }
	.high-lesson-7__photo-flow .high-lesson-7__arrow { transform: rotate(90deg); }
	.high-lesson-7__ai-flow { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); row-gap: 18px; }
	.high-lesson-7__ai-flow > .high-lesson-7__arrow:nth-child(4) { grid-column: 1 / -1; transform: rotate(90deg); }
	.high-lesson-7 .high-complete-card-grid, .high-lesson-7 .high-lesson-7__reminders, .high-lesson-7__point-grid { grid-template-columns: 1fr; }
	.high-lesson-7 .high-lesson-7__reminders img { height: 110px; }
}

/* STEP 1: shared grid rows align descriptions without fixing card heights. */
.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__arrow { display: flex; align-items: center; justify-content: center; font-size: 0; }
.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__arrow::before { content: ""; width: 28px; height: 22px; background: currentColor; clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); }
.high-lesson-7--step-1 .high-lesson-7__authors .high-lesson-7__author img { width: 116px; height: 104px; }
.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__point { display: flex; flex-direction: column; justify-content: flex-start; padding: 18px 16px; }
.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__point h3 { margin-bottom: 20px; }
.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__point p { line-height: 1.9; }
.high-lesson-7--step-1 .high-lesson-7__rules .high-lesson-7__uses { row-gap: 8px; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 8px; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card header { align-self: start; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card img { align-self: center; margin-block: 0; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card ul { margin-block: 0; padding-left: 24px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng ul { gap: 14px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng li { align-items: center; gap: 8px; font-size: 1.125rem; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng li::before { flex-basis: 22px; font-size: 1.75rem; text-align: center; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng { display: flex; flex-direction: column; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng ul { flex: 1; align-content: space-between; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point { display: grid; grid-template-rows: auto minmax(min-content, 1fr); gap: 16px; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point h3 { margin-bottom: 0; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point p { align-self: center; font-size: 1.0625rem; line-height: 1.85; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point { display: grid; grid-template-rows: auto minmax(min-content, 1fr); gap: 16px; padding: 20px 17px; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point h3 { margin-bottom: 0; }
.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point p { align-self: center; font-size: 1.0625rem; line-height: 1.85; }
.high-lesson-7--step-1 .high-lesson-7__ai { grid-template-columns: minmax(0, 3.8fr) minmax(370px, 1.8fr) minmax(0, .8fr) minmax(0, .9fr); }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1.5fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > div:nth-child(3) img { height: 160px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng { padding: 16px 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng h3 { font-size: 1rem; line-height: 1.6; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng ul { gap: 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng li { align-items: center; gap: 8px; font-size: .9375rem; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng li::before { font-size: 1.625rem; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__confirm { padding: 16px 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__confirm h3 { font-size: 1rem; line-height: 1.6; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__confirm ul { gap: 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__confirm li { align-items: center; gap: 8px; font-size: .9375rem; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__confirm li::before { line-height: 20px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__point { display: flex; flex-direction: column; justify-content: center; padding: 16px 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__point h3 { font-size: 1.125rem; margin-bottom: 20px; }
.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__point p { font-size: 1rem; line-height: 1.9; }
.high-lesson-7--step-1 .high-lesson-7__reminders { gap: 22px; }
.high-lesson-7--step-1 .high-lesson-7__reminders article { position: relative; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: 80px minmax(0, 1fr); padding: 8px; gap: 8px 4px; }
.high-lesson-7--step-1 .high-lesson-7__reminders img { width: 80px; height: 110px; }
.high-lesson-7--step-1 .high-lesson-7__reminders header { margin: 0; align-items: start; }
.high-lesson-7--step-1 .high-lesson-7__reminders p { margin: 0; align-self: center; }
.high-lesson-7--step-1 .high-lesson-7__reminders article:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -20px; width: 18px; height: 16px; background: var(--high-blue); clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); transform: translateY(-50%); pointer-events: none; }
.high-lesson-7--step-1 .high-lesson-7__important .high-lesson-7__point-grid p { color: var(--high-blue); }
.high-lesson-7--step-1 .high-lesson-content .lesson-next-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; text-align: center; }
.high-lesson-7--step-1 .high-lesson-content .lesson-next-button > span { position: absolute; top: 50%; right: clamp(24px, 10%, 84px); width: 24px; height: 24px; background: currentColor; mask: url('../images/rule/icon-arrow-forward.svg') center / contain no-repeat; font-size: 0; transform: translateY(-50%); }
/* STEP 1 illustrations and authored line breaks stay local to their sections. */
.high-lesson-7--step-1 .high-lesson-7__works .lesson-info-card { display: grid; grid-template-rows: 112px auto; align-content: center; justify-items: center; gap: 10px; padding: 12px 8px; }
.high-lesson-7--step-1 .high-lesson-7__works .lesson-info-card img { grid-row: 1; height: 112px; margin: 0; }
.high-lesson-7--step-1 .high-lesson-7__works .lesson-info-card header { grid-row: 2; justify-content: center; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card { padding-inline: 2px; }
.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card img { height: 154px; margin: 0; }
.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__ng { padding-inline: 12px; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow { grid-template-rows: auto auto; align-items: start; row-gap: 8px; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > div { display: grid; grid-template-rows: subgrid; grid-row: 1 / span 2; gap: 8px; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow h3 { min-height: 0; margin: 0; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow img { align-self: start; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > .high-lesson-7__arrow { grid-row: 2; align-self: center; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(1) { grid-column: 1; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(2) { grid-column: 2; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(3) { grid-column: 3; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(4) { grid-column: 4; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(5) { grid-column: 5; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(6) { grid-column: 6; }
.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(7) { grid-column: 7; }
@media (min-width: 769px) {
	.high-lesson-7--step-1 .high-lesson-7__ai-flow > div:nth-child(5) h3,
	.high-lesson-7--step-1 .high-lesson-7__ai-flow > div:nth-child(7) h3,
	.high-lesson-7--step-1 .high-lesson-7__rules .lesson-info-card:nth-child(3) li:nth-child(2),
	.high-lesson-7--step-1 .high-lesson-7__reminders h3 { white-space: pre-line; }
	.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__point .high-lesson-7__point-line,
	.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point .high-lesson-7__point-line,
	.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point .high-lesson-7__point-line { display: block; }
}
@media (min-width: 1281px) {
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow { column-gap: 2px; }
	.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng { padding-inline: 8px; }
	.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng li { gap: 6px; }
	.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__ng li::before { flex-basis: 18px; }
	.high-lesson-7--step-1 .high-lesson-7__ai > .high-lesson-7__point { padding-inline: 11px; }
	.high-lesson-7--step-1 .high-lesson-7__authors > .high-lesson-7__point .high-lesson-7__point-line,
	.high-lesson-7--step-1 .high-lesson-7__rules > .high-lesson-7__point .high-lesson-7__point-line,
	.high-lesson-7--step-1 .high-lesson-7__photos > .high-lesson-7__point .high-lesson-7__point-line { display: block; }
}
@media (max-width: 520px) {
	.high-lesson-7--step-1 .high-lesson-7__reminders img { height: 124px; }
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > :nth-child(n) { grid-column: 1; grid-row: auto; }
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > div { grid-template-rows: auto auto; }
}
/* STEP 2: presentation only; answer datasets and gated navigation are unchanged. */
.high-lesson-7--step-2 .high-lesson-hero__copy > .high-lesson-7__eyebrow { position: relative; width: fit-content; max-width: 100%; }
.high-lesson-7--step-2 .high-lesson-7__eyebrow img { order: 1; flex-shrink: 0; }
.high-lesson-7--step-2 .high-lesson-hero__copy > .high-lesson-7__eyebrow::after { content: ""; position: absolute; left: 0; bottom: -8px; width: calc(100% - 54px); height: .625em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 24' preserveAspectRatio='none'%3E%3Cpath d='M2 20C22 13 40 7 52 9L55 15C76 8 100 4 113 7C134 15 108 25 108 15C108 5 145 1 178 5' fill='none' stroke='%234661ef' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.high-lesson-7--step-2 .high-lesson-7__thinking { position: relative; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.high-lesson-7--step-2 .high-lesson-7__thought { position: absolute; top: 36px; right: calc(100% - 42px); width: 208px; margin: 0; padding: 26px 34px 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 270 176' preserveAspectRatio='none'%3E%3Cg fill='white' stroke='%23c8d3ec' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M195 148C150 163 73 161 43 145C14 130 20 58 42 36C76 0 176 10 209 47C226 45 237 56 241 64L254 61C264 61 260 70 249 75C259 92 255 119 238 132L244 142C250 153 241 158 229 149L221 143C212 148 205 148 195 148Z'/%3E%3Ccircle cx='263' cy='73' r='3.5'/%3E%3Ccircle cx='243' cy='163' r='2.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; color: #20265e; font-size: 1rem; font-weight: 700; line-height: 1.55; }
.high-lesson-7--step-2 .high-lesson-7__thought::before,
.high-lesson-7--step-2 .high-lesson-7__thought::after { content: none; }
.high-lesson-7--step-2 .high-lesson-7__thinking > img { max-height: 440px; }
.high-lesson-7--step-2 .high-lesson-7__thinking > .high-lesson-7__point { padding: 20px 16px; }
.high-lesson-7--step-2 .high-lesson-7__thinking ul { gap: 16px; }
.high-lesson-7--step-2 .high-lesson-7__thinking li { align-items: flex-start; }
.high-lesson-7--step-2 .high-lesson-7__thinking li::before { flex: 0 0 22px; line-height: 1.2; }
.high-lesson-7--step-2 .high-lesson-7__cases .lesson-scenario-card:first-child { --case-color: #003dcc; }
.high-lesson-7--step-2 .high-lesson-7__cases .lesson-scenario-card > header { grid-column: 1 / -1; align-items: center; }
.high-lesson-7--step-2 .high-lesson-7__cases .lesson-scenario-card > header h2 { min-width: 0; }
.high-lesson-7--step-2 .high-lesson-7__answer-pane { grid-row: 2; }
.high-lesson-7--step-2 .high-lesson-7__feedback { padding: 16px; }
.high-lesson-7--step-2 .high-lesson-7__result { align-items: flex-start; gap: 10px; }
.high-lesson-7--step-2 .high-lesson-7__reason { grid-template-columns: minmax(0, 1fr) 180px; align-items: start; gap: 16px; margin-block: 12px; }
.high-lesson-7--step-2 .high-lesson-7__reason p { line-height: 1.8; }
.high-lesson-7--step-2 .high-lesson-7__reason img { height: auto; max-height: 220px; align-self: end; }
.high-lesson-7--step-2 .high-lesson-7__feedback { min-width: 0; width: 100%; }
.high-lesson-7--step-2 .high-lesson-7__result h4 { min-width: 0; }
.high-lesson-7--step-2 .high-lesson-7__result > strong[hidden],
.high-lesson-7--step-2 .high-lesson-7__feedback-incorrect,
.high-lesson-7--step-2 .is-incorrect .high-lesson-7__feedback-correct { display: none; }
.high-lesson-7--step-2 .is-incorrect .high-lesson-7__feedback-incorrect { display: inline; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article { align-items: center; gap: 10px; padding: 12px; }
.high-lesson-7--step-2 .high-lesson-7__point-grid img { flex-basis: 44px; width: 44px; height: 52px; }
.high-lesson-7--step-2 .high-lesson-7__advice { padding: 10px 12px; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__feedback:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-content: start; gap: 10px 16px; flex: 0 1 auto; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__result { grid-column: 1 / -1; grid-row: 1; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__reason { display: contents; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__reason > div { grid-column: 1; grid-row: 2; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__reason img { grid-column: 2; grid-row: 2 / span 2; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__advice { grid-column: 1; grid-row: 3; }
.high-lesson-7--step-2 .lesson-scenario-card:first-child [data-scenario-retry] { grid-column: 1 / -1; grid-row: 4; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 2; align-items: start; row-gap: 18px; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article > div { display: contents; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article img { grid-column: 1; grid-row: 1; align-self: center; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
.high-lesson-7--step-2 .high-lesson-7__point-grid article p { grid-column: 1 / -1; grid-row: 2; }
.high-lesson-7--step-2 .high-lesson-7__important > h2 { flex-wrap: wrap; gap: 8px 12px; }
.high-lesson-7--step-2 .high-lesson-7__important > h2 > span { font-size: 1rem; line-height: 1.6; }
.high-lesson-7--step-2 .high-lesson-7__consult { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 10px 0 0; padding: 12px 20px; border-radius: 6px; background: #edf5f1; color: #17623d; font-size: 1.25rem; font-weight: 700; line-height: 1.6; }
.high-lesson-7--step-2 .high-lesson-7__consult img { flex: 0 0 36px; width: 36px; height: 42px; }
.high-lesson-7--step-2 .high-lesson-7__consult > span { min-width: 0; }
.high-lesson-7--step-2 .lesson-page-actions { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 32px; }
.high-lesson-7--step-2 .lesson-page-actions__button { display: flex; align-self: stretch; align-items: center; justify-content: center; min-height: 66px; padding: 17px 52px; text-align: center; text-wrap: balance; }
.high-lesson-7--step-2 .lesson-page-actions__button--previous { gap: 12px; padding-inline: 34px; }
.high-lesson-7--step-2 .lesson-page-actions__button--previous > span { position: static; flex: 0 0 24px; background: currentColor; mask: url('../images/rule/icon-arrow-forward.svg') center / contain no-repeat; font-size: 0; transform: rotate(180deg); }
.high-lesson-7--step-2 .lesson-page-actions__button--next > span { right: clamp(24px, 7%, 56px); background: currentColor; mask: url('../images/rule/icon-arrow-forward.svg') center / contain no-repeat; font-size: 0; }
.high-lesson-7--step-2 .lesson-page-actions--without-guidance .lesson-page-actions__button--next { grid-column: 2; }
.high-lesson-7--step-2 .lesson-page-actions [data-lesson-answer-guidance] { grid-column: 2; grid-row: 1; margin: 0; }
.high-lesson-7--step-2 .lesson-page-actions:has([data-lesson-gated-next][aria-disabled="false"]) .lesson-page-actions__button { grid-row: 1; }
/* Completion cards share title/image/description tracks within each row. */
.high-lesson-7--complete .high-lesson-hero__copy > .high-lesson-7__eyebrow { color: #1624cc; width: fit-content; max-width: 100%; }
.high-lesson-7--complete .high-lesson-7__eyebrow img { order: 1; flex-shrink: 0; }
.high-lesson-7--complete .high-lesson-hero__copy h1 { color: #0c195a; }
.high-lesson-7--complete .high-lesson-hero__copy > span { color: #20265e; font-size: 1.125rem; line-height: 1.875rem; }
.high-lesson-7--complete .high-lesson-7__summary .high-complete-card-grid article { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 12px; }
.high-lesson-7--complete .high-lesson-7__summary .high-complete-card-grid img { align-self: center; margin: 0; }
.high-lesson-7--complete .high-lesson-7__summary .high-complete-card-grid p { align-self: start; margin: 0; }
.high-lesson-7--complete .high-lesson-7__self-check > h2 { display: flex; align-items: center; gap: 14px; }
.high-lesson-7--complete .high-lesson-7__self-check > h2 img { flex: 0 0 40px; width: 40px; height: 40px; }
.high-lesson-7--complete .high-lesson-7__self-check > p { padding-left: 54px; }
.high-lesson-7--complete .high-lesson-7__self-check .lesson-check-list label { grid-row: span 3; grid-template-rows: subgrid; min-height: 0; }
.high-lesson-7--complete .high-lesson-7__self-check .lesson-check-list strong,
.high-lesson-7--complete .high-lesson-7__self-check .lesson-check-list small { align-self: start; }
.high-lesson-7--complete .high-lesson-7__final-message { display: flex; align-items: center; gap: 24px; }
.high-lesson-7--complete .high-lesson-7__final-message > img { flex: 0 0 72px; width: 72px; height: 84px; }
.high-lesson-7--complete .high-lesson-7__final-message > div { min-width: 0; }
.high-lesson-7--complete .lesson-page-actions { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px; }
.high-lesson-7--complete .lesson-page-actions__button { display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 17px 52px; text-wrap: balance; }
.high-lesson-7--complete .lesson-page-actions__button > span { right: clamp(24px, 7%, 56px); background: currentColor; mask: url('../images/rule/icon-arrow-forward.svg') center / contain no-repeat; font-size: 0; }
.high-lesson-7--complete .lesson-page-actions__button--previous { gap: 12px; padding-inline: 34px; }
.high-lesson-7--complete .lesson-page-actions__button--previous > span { position: static; flex: 0 0 24px; transform: rotate(180deg); }
@media (min-width: 1281px) {
	.high-lesson-7--step-2 .high-lesson-7__point-grid { grid-template-columns: .95fr .95fr 1.35fr .95fr .95fr; }
}
@media (min-width: 769px) {
	.high-lesson-7--step-2 .high-lesson-7__point-grid article:nth-child(3) p { white-space: pre-line; }
}
@media (max-width: 1280px) {
	.high-lesson-7--step-1 .high-lesson-7__ai { grid-template-columns: minmax(0, 3fr) minmax(0, 1.6fr); }
	.high-lesson-7--step-1 .high-lesson-7__reminders article:nth-child(3)::after { top: auto; bottom: -20px; right: 50%; transform: translateX(50%) rotate(90deg); }
}
@media (max-width: 1100px) {
	.high-lesson-7--complete .lesson-page-actions__button { min-height: 66px; padding-block: 17px; }
	.high-lesson-7--step-2 .high-lesson-7__thought { position: relative; top: auto; right: auto; grid-column: 1 / -1; justify-self: start; }
	.high-lesson-7--step-1 .high-lesson-7__ai { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-2 .high-lesson-7__answer-pane { grid-row: 3; }
	.high-lesson-7--step-2 .lesson-page-actions__button--previous { grid-row: 2; }
	.high-lesson-7--step-2 .lesson-page-actions--without-guidance .lesson-page-actions__button--next { grid-column: 2; grid-row: 2; }
	.high-lesson-7--step-2 .lesson-page-actions [data-lesson-answer-guidance] { grid-column: 2; }
}
@media (max-width: 768px) {
	.high-lesson-7--step-1 .high-lesson-content .lesson-next-button { padding-inline: 52px; }
	.high-lesson-7--step-1 .high-lesson-content .lesson-next-button > span { right: 20px; }
	.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__feedback:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-2 .lesson-scenario-card:first-child .high-lesson-7__reason img { grid-column: 1; grid-row: 4; }
	.high-lesson-7--step-2 .lesson-scenario-card:first-child [data-scenario-retry] { grid-row: 5; }
	.high-lesson-7--step-2 .high-lesson-7__reason { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-2 .high-lesson-7__reason img { width: min(100%, 180px); justify-self: end; }
	.high-lesson-7--step-1 .high-lesson-7__reminders article:nth-child(3)::after { top: 50%; bottom: auto; right: -20px; transform: translateY(-50%); }
	.high-lesson-7--step-1 .high-lesson-7__reminders article:nth-child(even)::after { top: auto; bottom: -20px; right: 50%; transform: translateX(50%) rotate(90deg); }
}
@media (max-width: 520px) {
	.high-lesson-7--complete .high-lesson-7__final-message { gap: 14px; }
	.high-lesson-7--complete .high-lesson-7__final-message > img { flex-basis: 48px; width: 48px; height: 60px; }
	.high-lesson-7--complete .lesson-page-actions { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.high-lesson-7--step-2 .high-lesson-7__thinking { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-2 .high-lesson-7__thinking > img { max-height: 340px; }
	.high-lesson-7--step-2 .high-lesson-7__reason { grid-template-columns: minmax(0, 1fr); }
	.high-lesson-7--step-2 .high-lesson-7__reason img { width: min(100%, 180px); }
	.high-lesson-7--step-2 .high-lesson-7__consult { padding: 12px; font-size: 1.125rem; gap: 10px; }
	.high-lesson-7--step-2 .lesson-page-actions { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.high-lesson-7--step-2 .lesson-page-actions__button--previous { grid-row: 1; }
	.high-lesson-7--step-2 .lesson-page-actions--without-guidance .lesson-page-actions__button--next { grid-column: 1; grid-row: 3; }
	.high-lesson-7--step-2 .lesson-page-actions [data-lesson-answer-guidance] { grid-column: 1; grid-row: 2; }
	.high-lesson-7--step-2 .lesson-page-actions:has([data-lesson-gated-next][aria-disabled="false"]) .lesson-page-actions__button--next { grid-row: 2; }
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow > .high-lesson-7__arrow { grid-column: 1; transform: rotate(90deg); }
	.high-lesson-7--step-1 .high-lesson-7__ai .high-lesson-7__ai-flow img { width: min(100%, 260px); display: block; margin-inline: auto; }
	.high-lesson-7--step-1 .high-lesson-7__reminders article:not(:last-child)::after { top: auto; bottom: -20px; right: 50%; transform: translateX(50%) rotate(90deg); }
}

/* Page 2 quiz design: Lesson 5 typography; middle Lesson 6 result palette. */
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header > span { display: block; flex: 0 0 auto; width: auto; height: auto; margin: 0; padding: 7px 13px; border: 0; border-radius: 8px; background: #192896; color: #fff; font-size: 1.125rem; font-weight: 900; line-height: 1.5; white-space: nowrap; }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header > h2 { min-width: 0; min-height: 0; margin: 0; padding: 0; color: #17265e; font-size: 1.25rem; font-weight: 700; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
@media (max-width: 520px) {
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header { align-items: flex-start; gap: 10px; }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header > span { font-size: .9375rem; }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-scenario-card > header > h2 { font-size: 1.0625rem; }
}
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback,
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-correct { --quiz-result-color: #128311; --quiz-result-border: #0ca98f; --quiz-result-tint: #edf8e7; }
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback.is-incorrect,
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-incorrect { --quiz-result-color: #ca354d; --quiz-result-border: #ec5f74; --quiz-result-tint: #fff0f3; }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-correct,
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-incorrect { color: var(--quiz-result-color); border-color: var(--quiz-result-border); background: var(--quiz-result-tint); }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-correct .lesson-choice__number,
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-incorrect .lesson-choice__number { color: #fff; border-color: var(--quiz-result-color); background: var(--quiz-result-color); }
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-correct .lesson-choice__mark,
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-choice.is-selected.is-incorrect .lesson-choice__mark { color: var(--quiz-result-color); border-color: var(--quiz-result-color); }
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback,
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback.is-incorrect { border-color: var(--quiz-result-border); background: var(--quiz-result-tint); }
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback .high-lesson-7__result { color: var(--quiz-result-color); }
.site-main.high-lesson-page.high-lesson-7--step-2 .high-lesson-7__feedback .high-lesson-7__result > strong { background: var(--quiz-result-color); }

/* Preserve the Lesson badge colors. */
.site-main.high-lesson-page.high-lesson-7--step-2 .lesson-progress > strong { background: #192896; color: #fff; }

/* Make the verdict the primary feedback heading. */
.site-main.high-lesson-page.high-lesson-7--step-2 [data-scenario-feedback-title],
.site-main.high-lesson-page.high-lesson-7--step-2 [data-feedback-title] { display: block; margin: 0 0 12px; font-size: clamp(1.125rem, 1.65vw, 1.375rem); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }

/* Reveal the answer heading only after a correct response. */
.high-lesson-7--step-2 .high-lesson-7__feedback.is-incorrect .high-lesson-7__result > h4 { display: none; }
