.learning-aid {
	margin: 24px 0 32px;
	border: 1px solid var(--rule);
	border-radius: 14px;
	background: var(--panel);
	overflow: clip;
}
.learning-aid > summary {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.learning-aid > summary::-webkit-details-marker {
	display: none;
}
.learning-aid > summary::after {
	content: '+';
	font-size: 26px;
	margin-left: auto;
	color: var(--action);
}
.learning-aid[open] > summary::after {
	content: '−';
}
.learning-aid > summary:focus-visible {
	outline-offset: -4px;
}
.learning-aid[open] > summary {
	border-bottom: 1px solid var(--rule);
}
.scene-preview {
	flex: 0 0 104px;
	width: 104px;
	height: 68px;
}
.learning-summary-copy {
	display: grid;
	gap: 6px;
}
.learning-summary-copy strong {
	color: var(--action);
	font-size: 17px;
	line-height: 1.4;
}
.learning-summary-copy small {
	font-weight: 400;
	color: var(--sub);
	font-size: 13px;
	line-height: 1.5;
}
.learning-aid-body {
	padding: 20px;
}
.learning-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--sub);
}
.learning-toolbar button {
	min-height: 44px;
	padding: 8px;
}
.learn-connection {
	font-size: 12px;
	text-align: center;
	color: var(--sub);
}
.learn-story {
	border-left: 3px solid var(--action);
	padding-left: 16px;
	margin: 24px 0;
}
.reading-body .learning-progress h3 {
	margin: 4px 0 0;
	font-size: 18px;
	line-height: 1.35;
}
.learning-toolbar button {
	flex-shrink: 0;
	max-width: 110px;
}
.learn-story,
.protocol-choices,
[data-learn-recovery] {
	scroll-margin-top: 130px;
}
.learn-compare {
	min-height: 44px;
	margin-top: 0;
}
.learn-compare[hidden],
.learn-controls [hidden] {
	display: none;
}
.reading-body .learn-story p {
	margin: 0;
}
.learn-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 8px 16px;
}
.learn-controls .learn-compare {
	grid-column: 2;
	justify-self: center;
}
.learn-animation-replay {
	grid-column: 1;
}
.motion-paused .learn-animation-replay {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.learn-animation-replay {
		display: none;
	}
}
.learn-controls button {
	min-height: 44px;
	min-width: 44px;
}
.learn-controls .button {
	flex: 1;
	align-self: stretch;
	font-size: 14px;
	text-align: center;
}
.learn-controls button:disabled {
	opacity: 0.45;
	cursor: default;
}
.reading-body .learn-caption {
	margin-bottom: 0;
	font-size: 12px;
}
.learning-dialog {
	max-width: none;
	width: min(1140px, calc(100% - 48px));
	max-height: calc(100dvh - 48px);
	border: 1px solid var(--rule);
	border-radius: 18px;
	padding: 0;
	background: var(--panel);
	color: var(--ink);
	overflow: auto;
	overscroll-behavior: contain;
}
.learning-dialog::backdrop {
	background: #0c242bd9;
}
.learning-dialog .learning-aid-body {
	padding: 28px 36px;
}
.learning-dialog .learning-toolbar {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 8px 0;
	background: var(--panel);
}
.learning-dialog .learn-controls,
[data-learning-demo='security'] .learn-controls,
[data-learning-demo='reliability'] .learn-controls {
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: var(--panel);
	border-top: 1px solid var(--rule);
	padding: 12px 0;
}
html:has(.learning-dialog[open]) {
	overflow: hidden;
}
.protocol-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	border: 0;
	margin: 20px 0;
}
.protocol-choices legend {
	font-size: 13px;
	margin-bottom: 10px;
}
.protocol-choices label {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--rule);
	border-radius: 6px;
	cursor: pointer;
}
.protocol-choices label:has(:checked) {
	background: var(--action);
	color: var(--on-action);
	border-color: var(--action);
}
.protocol-choices input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.protocol-choices small {
	font-size: 11px;
	line-height: 1.4;
	text-align: center;
	pointer-events: none;
}
.protocol-choices span {
	pointer-events: none;
	font-size: 14px;
}
.protocol-choices label:has(:focus-visible),
.definition-term:focus-visible {
	outline: 3px solid var(--action);
	outline-offset: 3px;
}
.reading-body .definition-term {
	display: inline;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	border-bottom: 1px dotted currentColor;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	text-align: inherit;
}
.definition-term:hover,
.definition-term[aria-expanded='true'] {
	color: var(--action);
	background: var(--wash);
}
.definition-hint {
	font-size: 12px;
}
.definition-popover {
	position: fixed;
	inset: auto;
	margin: 0;
	width: min(360px, calc(100% - 24px));
	max-height: min(440px, calc(100dvh - 24px));
	overflow: auto;
	padding: 22px;
	border: 1px solid var(--rule);
	border-radius: 12px;
	color: var(--ink);
	background: var(--panel);
	box-shadow: 0 12px 40px #0003;
}
.definition-popover h2 {
	font-size: 21px;
	margin: 18px 0 12px;
	clear: both;
}
.definition-popover p {
	line-height: 1.6;
	font-size: 16px;
	margin: 0 0 18px;
}
.definition-popover a {
	color: var(--action);
}
.definition-close {
	float: right;
	min-height: 44px;
	padding: 4px 8px;
}

.learning-scene {
	margin: 24px 0 12px;
	line-height: 1.35;
}
.scene-world {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1.1fr);
	align-items: center;
	gap: 4px;
}
.scene-venue {
	min-width: 0;
	text-align: center;
}
.scene-scoreboard {
	position: relative;
	z-index: 1;
	max-width: 210px;
	margin: 0 auto;
	border-radius: 8px;
	border: 3px solid #42665a;
	background: #163d35;
	color: #f4f7e9;
	padding: 8px 10px;
	box-shadow: 0 5px 0 #12312c;
}
.scene-scoreboard > span {
	font-size: 12px;
}
.scene-scoreboard > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.scene-scoreboard strong {
	font:
		600 34px 'Space Grotesk',
		sans-serif;
}
.scene-scoreboard small {
	font-size: 11px;
}
.scene-scoreboard .scene-match-status {
	color: #c6e6cb;
	font-size: 11px;
}
.scene-pitch {
	display: block;
	width: 100%;
	max-height: 190px;
	margin: -28px auto 0;
}
.reading-body .scene-source-label {
	font-size: 12px;
	margin: 0 auto;
	max-width: 230px;
	color: var(--sub);
	line-height: 1.5;
}
.scene-trace {
	align-self: center;
	min-width: 0;
	text-align: center;
}
.scene-trace svg {
	display: block;
	width: 100%;
	height: 92px;
	overflow: visible;
}
.scene-route-label,
.scene-route-note {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: var(--sub);
}
.scene-payload-score {
	white-space: nowrap;
}
.scene-route-label {
	color: var(--ink);
	font-weight: 600;
}
.scene-link,
.scene-arrow {
	fill: none;
	stroke: var(--action);
	stroke-width: 3;
}
.scene-trace-polling .scene-link {
	stroke-dasharray: 7 7;
}
.scene-relay {
	fill: var(--panel);
	stroke: var(--action);
	stroke-width: 2;
}
.scene-routing-active .scene-relay {
	fill: var(--action);
	stroke-width: 5;
}
.scene-routing-active .scene-broadcast {
	fill: var(--on-action);
	stroke: var(--on-action);
}
.scene-routing-active .scene-route-note {
	color: var(--ink);
	font-weight: 600;
	background: var(--wash);
	border-radius: 6px;
	padding: 5px;
}
.scene-broadcast {
	fill: var(--action);
	stroke: var(--action);
	stroke-width: 2;
}
.scene-broadcast path {
	fill: none;
}
.scene-packet {
	fill: #e88459;
	stroke: var(--panel);
	stroke-width: 1.5;
}
.scene-separate-link {
	fill: none;
	stroke: #c37955;
	stroke-width: 3;
	stroke-dasharray: 5 5;
}
.scene-audience {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}
.scene-fan {
	min-width: 0;
	width: 156px;
	text-align: center;
}
.scene-person {
	display: block;
	font-size: 12px;
	margin-bottom: 10px;
	color: var(--sub);
}
.scene-phone {
	padding: 7px 5px 6px;
	background: #16343f;
	border: 1px solid #789198;
	border-radius: 22px;
	box-shadow: 3px 6px 0 #16343f18;
}
.scene-phone-camera {
	width: 30px;
	height: 4px;
	background: #789198;
	border-radius: 5px;
	margin: 0 auto 6px;
}
.scene-phone-screen {
	background: #f4f7f0;
	color: #16343f;
	border-radius: 14px;
	overflow: hidden;
	padding: 10px 8px 0;
}
.scene-app-title {
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 700;
	font-size: 12px;
}
.scene-app-title > span {
	color: #207c63;
	font-size: 16px;
}
.scene-app-tabs {
	display: flex;
	gap: 8px;
	justify-content: space-between;
	margin: 10px 0;
	font-size: 10px;
	color: #526963;
	border-bottom: 1px solid #cad8cf;
	padding-bottom: 6px;
}
.scene-app-tabs strong {
	border-bottom: 2px solid #207c63;
	color: #175743;
}
.scene-phone-match {
	display: flex;
	justify-content: space-between;
	gap: 4px;
	font-size: 11px;
}
.scene-live {
	color: #17644b;
}
.scene-team-marks {
	display: flex;
	justify-content: space-around;
	margin-top: 14px;
}
.scene-team-marks i {
	display: grid;
	place-items: center;
	width: 22px;
	height: 25px;
	background: #207c63;
	color: #fff;
	clip-path: polygon(0 0, 100% 0, 95% 70%, 50% 100%, 5% 70%);
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
}
.scene-team-marks i + i {
	background: #be5d3b;
}
.scene-phone-score {
	display: block;
	font:
		600 34px 'Space Grotesk',
		sans-serif;
	margin: 3px 0 0;
}
.scene-team-names {
	display: flex;
	justify-content: space-around;
	font-size: 10px;
}
.scene-phone-notice {
	font-size: 10px;
	min-height: 34px;
	display: grid;
	place-items: center;
	margin-top: 14px;
	padding: 6px 2px;
	background: #e1ebe3;
	border-radius: 5px;
}
.scene-phone-updated .scene-phone-notice {
	background: #cde8d4;
	color: #174e39;
}
.scene-app-bottom {
	display: flex;
	justify-content: space-around;
	padding: 7px 0;
	margin-top: 8px;
	border-top: 1px solid #cad8cf;
	font-size: 15px;
	color: #526963;
}
.scene-other-match {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 22px auto 0;
	padding-top: 16px;
	border-top: 1px solid var(--rule);
	color: var(--sub);
	font-size: 12px;
	line-height: 1.5;
}
.scene-mini-phone {
	flex: 0 0 36px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 52px;
	border: 3px solid var(--sub);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
}
.learning-dialog .scene-fan {
	width: 190px;
}
.learning-dialog .scene-phone-score {
	font-size: 44px;
}
.learning-dialog .scene-world {
	grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.1fr);
}
.learning-dialog .scene-pitch {
	max-height: 240px;
}
@keyframes scene-goal {
	from {
		transform: translate(-119px, 2px);
	}
	to {
		transform: translate(0, 0);
	}
}
@keyframes scene-incoming {
	from {
		transform: translateX(-62px);
	}
	to {
		transform: translateX(0);
	}
}
@keyframes scene-outgoing {
	from {
		transform: translateX(-60px);
	}
	to {
		transform: translateX(0);
	}
}
@keyframes scene-direct {
	from {
		transform: translateX(-176px);
	}
	to {
		transform: translateX(0);
	}
}
@keyframes scene-returning {
	from {
		transform: translateX(176px);
	}
	to {
		transform: translateX(0);
	}
}
@media (prefers-reduced-motion: no-preference) {
	.scene-goal {
		animation: scene-goal 650ms ease-out 1;
	}
	.scene-packet-moving.scene-packet-incoming {
		animation: scene-incoming 650ms ease-out 1 forwards;
	}
	.scene-packet-moving.scene-packet-outgoing {
		animation: scene-outgoing 650ms ease-out 1 forwards;
	}
	.scene-packet-moving.scene-packet-outgoing-direct {
		animation: scene-direct 650ms ease-out 1 forwards;
	}
	.scene-packet-moving.scene-packet-returning {
		animation: scene-returning 650ms ease-out 1 forwards;
	}
}
.motion-paused .learning-aid * {
	animation: none !important;
}
@media (max-width: 760px) {
	.learning-aid .learn-controls {
		position: sticky;
		bottom: 0;
		z-index: 2;
		background: var(--panel);
		border-top: 1px solid var(--rule);
		padding: 12px 0;
	}
	.scene-trace.scene-trace-score svg {
		transform: rotate(90deg) scaleY(-1);
	}
	.scene-broadcast {
		transform: rotate(-90deg);
		transform-origin: 100px 65px;
	}
	.learning-aid > summary {
		padding: 12px;
		gap: 12px;
	}
	.scene-preview {
		width: 72px;
		height: 52px;
		flex-basis: 72px;
	}
	.learning-summary-copy strong {
		font-size: 16px;
	}
	.learning-summary-copy small {
		font-size: 12px;
	}
	.learning-aid-body {
		padding: 16px;
		font-size: 16px;
	}
	.protocol-choices {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.scene-world,
	.learning-dialog .scene-world {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.scene-venue {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 0 8px;
	}
	.scene-scoreboard {
		width: 100%;
		padding: 8px 4px;
	}
	.scene-scoreboard > div {
		gap: 5px;
	}
	.scene-scoreboard strong {
		font-size: 28px;
	}
	.scene-pitch,
	.learning-dialog .scene-pitch {
		margin: 0;
		max-height: 150px;
	}
	.reading-body .scene-source-label {
		grid-column: 1/-1;
		max-width: none;
		margin-top: 8px;
	}
	.scene-trace {
		display: grid;
		grid-template-columns: 1fr 74px 1fr;
		align-items: center;
		gap: 10px;
	}
	.scene-trace svg {
		height: 74px;
		transform: rotate(90deg);
	}
	.scene-route-label {
		text-align: right;
	}
	.scene-route-note {
		text-align: left;
	}
	.scene-audience {
		gap: 16px;
	}
	.scene-fan {
		width: 140px;
	}
	.learning-dialog .scene-fan {
		width: 156px;
	}
	.scene-phone-score,
	.learning-dialog .scene-phone-score {
		font-size: 32px;
	}
	.scene-other-match {
		margin-top: 16px;
		padding-top: 12px;
	}
	.reading-body .learning-progress h3 {
		font-size: 16px;
	}
	.learn-controls .button {
		padding: 10px 12px;
	}
	.learning-dialog {
		width: 100%;
		height: 100dvh;
		max-height: 100dvh;
		border: 0;
		border-radius: 0;
	}
	.learning-dialog .learning-aid-body {
		padding: 16px;
	}
	.learning-dialog .learning-toolbar {
		top: 0;
	}
}

.scene-link-offline {
	stroke: var(--sub);
	stroke-dasharray: 3 8;
	opacity: 0.45;
}
.scene-phone-offline .scene-live,
.scene-phone-offline .scene-phone-notice {
	color: #783b23;
	background: #f8e3cb;
}
.scene-phone-history {
	display: grid;
	gap: 4px;
	margin-top: 10px;
	padding: 8px 2px;
	border-left: 2px solid #207c63;
	font-size: 10px;
	background: #e1ebe3;
}

.scene-fan-new .scene-person {
	color: var(--ink);
	font-weight: 700;
}
.scene-fan-new .scene-phone {
	outline: 3px solid var(--action);
	outline-offset: 4px;
}

.case-preview {
	display: flex;
	align-items: center;
}
.case-preview .case-route {
	width: 100%;
	height: 100%;
}
.reading-body .case-overview {
	color: var(--sub);
	font-size: 12px;
	margin: 0 0 12px;
}
.case-arcade {
	border: 3px solid #446975;
	border-radius: 18px 18px 8px 8px;
	background: #17323d;
	color: #eef5ed;
	padding: 20px;
	box-shadow: inset 0 0 0 5px #203e4a;
}
.case-arcade-title {
	letter-spacing: 0.12em;
	font-size: 17px;
	font-weight: 700;
	padding: 4px 0 16px;
	border-bottom: 1px solid #547582;
}
.case-arcade-title span {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	color: #b9d9d3;
}
.case-venues {
	display: flex;
	justify-content: center;
	gap: 28px;
	padding: 20px 0;
}
.case-lobby {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}
.case-moon {
	color: #e8bc79;
	font-size: 34px;
	line-height: 1;
}
.case-seats {
	display: flex;
	gap: 12px;
}
.case-seat {
	width: 42px;
	color: #73929c;
}
.case-seat-filled {
	color: #a9dfd1;
}
.case-seat svg {
	width: 100%;
	display: block;
}
.case-decision {
	border-top: 1px solid #547582;
	padding-top: 14px;
	font-size: 14px;
	text-align: center;
}
.case-players {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 18px;
}
.case-player {
	flex: 1;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--rule);
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	background: var(--panel);
}
.case-avatar {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #203e4a;
	overflow: hidden;
	color: var(--avatar-color);
}
.case-avatar svg {
	width: 100%;
}
.reading-body .case-player p {
	font-size: 13px;
	margin: 0;
	line-height: 1.5;
}
.case-badge {
	display: inline-block;
	border-radius: 5px;
	background: #deeee6;
	color: #195440;
	padding: 6px 9px;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}
.case-warning {
	color: #703e20;
	background: #f8e6d1;
}
.case-meter-wrap {
	position: relative;
	padding-top: 30px;
}
.case-limit-label {
	position: absolute;
	top: 0;
	left: 105px;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 12px;
}
.case-meter-wrap::after {
	content: '';
	position: absolute;
	top: 23px;
	bottom: -4px;
	left: 102px;
	border-left: 2px dashed #f4f7e9;
}
.case-meter .case-meter-excess {
	background: repeating-linear-gradient(135deg, #efad83 0 4px, #743f28 4px 7px);
}
.case-meter {
	display: flex;
	gap: 5px;
	height: 55px;
	align-items: end;
}
.case-meter span {
	box-sizing: border-box;
	flex: 0 0 16px;
	width: 16px;
	height: 100%;
	border: 1px solid #73929c;
	border-radius: 3px;
}
.case-meter .case-meter-lit {
	background: #e8bc79;
}
.case-clock {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	color: var(--sub);
	font-size: 13px;
	margin-bottom: 12px;
}
.case-clock strong {
	color: var(--ink);
}
.case-carrier {
	border: 1px solid var(--rule);
	border-radius: 12px;
	overflow: hidden;
}
.case-carrier-title,
.case-carrier-status {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
}
.case-carrier-status {
	font-size: 14px;
}
.case-carrier-status span {
	font-size: 12px;
	color: var(--sub);
}
.case-route {
	display: block;
	width: 100%;
	max-height: 135px;
	background: #e8eedf;
}
.case-service {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
	padding: 14px;
	border: 1px solid var(--rule);
	border-radius: 8px;
}
.case-service > div {
	flex: 1;
}
.case-service-icon {
	font-size: 28px;
	color: var(--action);
}
.reading-body .case-service p {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
}
.case-customers {
	display: flex;
	justify-content: center;
	gap: 24px;
}
.case-parcel {
	width: 205px;
	min-width: 0;
	text-align: center;
}
.case-phone-label {
	display: block;
	font-size: 12px;
	color: var(--sub);
	margin-bottom: 8px;
}
.case-parcel-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: #f7f8f0;
	color: #213b3c;
	border: 7px solid #263d47;
	outline: 1px solid #839b9d;
	border-radius: 25px;
	padding: 20px 12px 24px;
	box-shadow: inset 0 6px #ced8ce;
}
.case-tracking {
	letter-spacing: 0.08em;
	font-size: 9px;
}
.case-parcel-icon {
	width: 58px;
	height: 55px;
}
.case-parcel-screen strong {
	font-size: 19px;
	line-height: 1.2;
}
.case-parcel-screen small {
	font-size: 11px;
}
.case-evidence {
	padding: 14px 16px;
	border-left: 3px solid var(--action);
	margin: 0 0 20px;
	background: var(--panel);
}
.reading-body .case-evidence p {
	margin: 6px 0 0;
	font-size: 14px;
}
@media (max-width: 760px) {
	.case-arcade {
		padding: 14px;
	}
	.case-venues {
		gap: 14px;
	}
	.case-seat {
		width: 25px;
	}
	.case-seats {
		gap: 5px;
	}
	.case-players {
		gap: 10px;
	}
	.case-player {
		padding: 12px 8px;
	}
	.case-carrier-title,
	.case-carrier-status {
		flex-wrap: wrap;
		padding: 12px;
		gap: 6px;
	}
	.case-service {
		flex-wrap: wrap;
	}
	.case-service > .case-badge {
		width: 100%;
	}
	.case-customers {
		gap: 12px;
	}
	.case-parcel-screen {
		padding: 18px 7px;
		border-width: 5px;
		border-radius: 20px;
	}
	.case-parcel-screen strong {
		font-size: 15px;
	}
	.case-parcel-screen .case-badge {
		font-size: 11px;
	}
}

.case-access-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: min(100%, 480px);
}
.case-access-lane,
.case-access-person,
.case-access-route {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}
.case-access-route {
	margin: 6px 0;
	color: #b9e5d6;
}
.case-access-route svg {
	width: 40px;
	height: 45px;
}
.case-access-route small {
	font-size: 12px;
}
.case-blocked-request {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 16px;
	padding: 12px;
	border: 1px solid #efad83;
	border-radius: 8px;
	color: #f6c4a2;
	font-size: 14px;
}
.case-blocked-request small {
	flex-basis: 100%;
	text-align: center;
}

.reading-body .learn-finish {
	margin: 12px 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--sub);
	text-align: center;
}
.learn-finish[hidden] {
	display: none;
}

@media (max-height: 600px) {
	[data-learning-demo='security'] .learn-controls,
	[data-learning-demo='reliability'] .learn-controls {
		position: static;
	}
}

.recap-objects {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
.recap-object {
	margin: 0;
	min-width: 0;
	text-align: center;
}
.recap-object figcaption {
	font-weight: 650;
	margin-bottom: 14px;
}
.recap-object-face {
	color: #203a42;
	background: #e3ebe0;
	padding: 12px 14px 18px;
	min-height: 275px;
	border-radius: 12px;
}
.recap-object-face svg {
	width: 100%;
	height: 145px;
	display: block;
	margin: 0 auto 12px;
}
.recap-object-face strong {
	display: block;
	font-size: clamp(1.05rem, 2vw, 1.4rem);
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.recap-object-face p {
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 10px 0 0;
}
.recap-phone .recap-object-face {
	border: 7px solid #334c55;
	border-radius: 26px;
	background: #f6f4e8;
}
.recap-ledger .recap-object-face,
.recap-document .recap-object-face,
.recap-invoice .recap-object-face {
	border-radius: 2px;
	background: #f6f4e8;
	border-left: 5px solid #d49a70;
}
.recap-assistant .recap-object-face {
	border-radius: 24px 24px 24px 3px;
	background: #ded7ef;
}
.recap-record .recap-object-face {
	border-radius: 35px / 12px;
}
.recap-stadium .recap-object-face,
.recap-map .recap-object-face {
	background: #d2dfd1;
	border-radius: 45% 45% 12px 12px / 22px 22px 12px 12px;
}
.recap-warning .recap-object-face {
	box-shadow: inset 0 0 0 2px #b5663d;
}
.recap-evidence {
	margin: 16px 0 0;
}
.learning-more {
	margin: 12px 0 20px;
}
.learning-more > summary {
	cursor: pointer;
	padding: 12px 0;
	font-weight: 600;
}
.learning-more .protocol-choices {
	margin-top: 12px;
}
.recap-change .recap-object-face strong {
	animation: recap-change 0.35s ease-out 1;
}
@keyframes recap-change {
	from {
		opacity: 0.45;
	}
	to {
		opacity: 1;
	}
}
@media (max-width: 600px) {
	.recap-objects {
		gap: 12px;
	}
	.recap-object-face {
		min-height: 220px;
		padding: 8px 9px 14px;
	}
	.recap-object-face svg {
		height: 95px;
	}
	.recap-object-face p {
		font-size: 0.85rem;
	}
	.recap-object figcaption {
		font-size: 0.9rem;
	}
	.recap-phone .recap-object-face {
		border-width: 4px;
	}
}
@media (max-width: 370px) {
	.recap-objects {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.recap-change .recap-object-face strong {
		animation: none;
	}
}
.motion-paused .recap-change .recap-object-face strong {
	animation: none;
}

.learning-aid-body {
	container-type: inline-size;
}
.recap-flow {
	grid-template-columns: 1fr;
	gap: 10px;
}
.recap-flow .recap-object figcaption {
	margin-bottom: 7px;
}
.recap-flow .recap-object-face {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 4px 12px;
	min-height: 0;
	padding: 14px;
	text-align: left;
}
.recap-flow .recap-object-face svg {
	grid-column: 1;
	grid-row: 1 / 3;
	width: 56px;
	height: 62px;
	margin: 0;
	align-self: center;
}
.recap-flow .recap-object-face strong,
.recap-flow .recap-object-face p {
	grid-column: 2;
	margin: 0;
}
.recap-flow .recap-object-face strong {
	font-size: 1.05rem;
}
.recap-flow .recap-object-face p {
	font-size: 0.88rem;
}
.recap-held-records {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 10px 0 0;
}
.recap-held-records > div {
	background: #f6f4e8;
	border: 1px solid #8ba49b;
	border-radius: 4px;
	padding: 8px;
}
.recap-held-records dt {
	font-size: 12px;
	font-weight: 500;
}
.recap-held-records dd {
	font-size: 14px;
	font-weight: 650;
	margin: 4px 0 0;
}
.recap-transfer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}
.recap-transfer-marker::before {
	content: '↓';
	font-size: 28px;
}
.recap-transfer-both .recap-transfer-marker::before {
	content: '↕';
}
.recap-transfer-blocked .recap-transfer-marker::before {
	content: '—';
}
.recap-transfer-blocked {
	color: var(--sub);
}
@container (min-width: 760px) {
	.recap-flow {
		grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1.15fr) 76px minmax(0, 1fr);
		align-items: center;
	}
	.recap-flow .recap-object-face {
		display: block;
		min-height: 280px;
		text-align: center;
	}
	.recap-flow .recap-object-face svg {
		width: 100%;
		height: 86px;
		margin: 0 auto 12px;
	}
	.recap-flow .recap-object-face p {
		margin-top: 8px;
	}
	.recap-held-records {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.recap-transfer {
		flex-direction: column;
		gap: 0;
	}
	.recap-transfer-marker::before {
		content: '→';
	}
	.recap-transfer-both .recap-transfer-marker::before {
		content: '↔';
	}
	.recap-transfer-blocked .recap-transfer-marker::before {
		content: '‖';
	}
}
