/* single-post-space.css - generated from single-post-space.src.css md5 b2c558f6d63ca5276bfec8c73e89afa5 - do not edit, edit the source */
/* =====================================================================
   single-post-space.src.css - the frame of SureDash's "single page" space.
   Host class: body.sps-screen (printed by single-post-space.php on a space
   whose integration meta is 'single_post', in every access state).

   PART 1 - THE CHROME, an OWNED COPY. Derived once, 2026-10-03, from
   course-space.src.css (md5 66476543ff666e8fc1e8debfac3bcebb): comments stripped, every rule
   about course content dropped, the four cs-* host classes replaced by
   .sps-screen, --agc-* tokens renamed --sps-*, the crumb and title rules
   re-pointed at .sps-head. From here on this copy is edited here and is
   never re-derived; the design record for each chrome rule stays in the
   course space's sheet, by section.
   PART 2 - THE FRAME, this screen's own rules.
   ===================================================================== */

body.sps-screen {
	--sps-ground-0: oklch(0.100 0.006 258);
	--sps-ground-1: oklch(0.140 0.007 258);
	--sps-ground-2: oklch(0.178 0.007 258);
	--sps-ground-3: oklch(0.215 0.008 258);
	--sps-hairline-soft:   oklch(0.300 0.006 258 / .45);
	--sps-hairline:        oklch(0.360 0.007 258 / .60);
	--sps-hairline-bright: oklch(0.620 0.007 258 / .60);
	--sps-hairline-box:    oklch(0.620 0.007 258);
	--sps-ink:         oklch(0.960 0.004 258);
	--sps-ink-read:    oklch(0.860 0.006 252);
	--sps-ink-dim:     oklch(0.740 0.007 258);
	--sps-ink-faint:   oklch(0.580 0.007 258);
	--sps-ink-faint-2: oklch(0.565 0.007 258);
	--sps-gold-1: oklch(0.320 0.050 80);
	--sps-gold-2: oklch(0.480 0.095 82);
	--sps-gold-3: oklch(0.620 0.120 85);
	--sps-gold-4: oklch(0.760 0.130 88);
	--sps-gold-5: oklch(0.880 0.090 92);
	--sps-gold-brand: oklch(0.842 0.1726 84.7);
	--sps-font-display: 'Frank Ruhl Libre', 'David Libre', 'Times New Roman', serif;
	--sps-font-sans:    'Assistant', 'Heebo', -apple-system, 'Segoe UI', sans-serif;
	--sps-font-num:     'Heebo', 'Assistant', -apple-system, sans-serif;
	--sps-font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	--sps-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--sps-bar: calc(2 * 10px + 32px);
}

body.sps-screen {
	background-color: var(--sps-ground-0) !important;
}

body.sps-screen .portal-body-container {
	background-color: var(--sps-ground-0);
}

body.sps-screen .portal-application-content-wrapper {
	background-color: var(--sps-ground-0) !important;
}

body.sps-screen .wp-block-group.portal-hide-on-desktop.hidden-on-lessons {
	background-color: var(--sps-ground-0) !important;
}

body.sps-screen .wp-block-columns:has(> .portal-sidebar) > .wp-block-column:not(.portal-sidebar) {
	border-inline-start: 0 !important;
}

body.sps-screen .wp-block-antigravity-wallet {
	display: none;
}

body.sps-screen .portal-sidebar #portal-placeholder-search-wrap {
	display: none !important;
}

body.sps-screen .portal-sidebar .only-search-icon-wrap {
	display: inline-flex !important;
}

body.sps-screen .notification-unread-count {
	display: none !important;
}

body.sps-screen .portal-tools-register {
	padding-block: 10px !important;
}

body.sps-screen .portal-tools-register .only-search-icon-wrap,
body.sps-screen .portal-tools-register .portal-notification-trigger {
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: rgb(170, 172, 176) !important;
}

body.sps-screen .portal-tools-register .only-search-icon-wrap svg,
body.sps-screen .portal-tools-register .portal-notification-trigger svg {
	stroke: rgb(170, 172, 176) !important;
}

body.sps-screen .only-search-icon-wrap,
body.sps-screen .portal-notification-trigger {
	color: rgb(170, 172, 176) !important;
}

body.sps-screen .only-search-icon-wrap:hover,
body.sps-screen .portal-notification-trigger:hover {
	color: oklch(0.800 0.150 78) !important;
}

body.sps-screen .portal-tools-register .wp-block-suredash-profile {
	display: block !important;
}

body.sps-screen .portal-tools-register .portal-header-avatar-wrap {
	width: 32px !important;
	height: 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer;
	color: rgb(170, 172, 176) !important;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229.5%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M7%2018.2%20C8.4%2015.4%2015.6%2015.4%2017%2018.2%22%2F%3E%3C%2Fsvg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229.5%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M7%2018.2%20C8.4%2015.4%2015.6%2015.4%2017%2018.2%22%2F%3E%3C%2Fsvg%3E");
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	-webkit-mask-position: center;
	        mask-position: center;
	-webkit-mask-size: 20px 20px;
	        mask-size: 20px 20px;
	transition: color 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.sps-screen .portal-tools-register .portal-user-avatar,
body.sps-screen .portal-tools-register .portal-avatar-initials-text,
body.sps-screen .portal-tools-register .portal-user-gravatar {
	display: none !important;
}

body.sps-screen .wp-block-column.hidden-on-lessons:has(.wp-block-navigation) {
	display: none;
}

body.sps-screen .wp-block-columns:has(> .portal-sidebar) > .portal-sidebar {
	flex-basis: 246px !important;
	width: 246px !important;
	margin-block-start: 0 !important;
	padding: 22px 18px !important;
	background: transparent !important;
	border-inline-start: 1px solid var(--sps-hairline-soft) !important;
	border-inline-end: 0 !important;
}

body.sps-screen:has(.sps-head) .wp-block-columns:has(> .portal-sidebar) > .portal-sidebar::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: var(--sps-bar);
	height: 0;
	border-block-start: 1px solid var(--sps-hairline-soft);
	pointer-events: none;
}

body.sps-screen:has(.sps-head) .portal-sidebar .portal-tools-register {
	box-sizing: border-box !important;
	block-size: var(--sps-bar) !important;
	margin-block: -22px calc(22px + 1px) !important;
}

body.sps-screen .portal-sidebar .portal-aside-group:not(.pinned-group) {
	margin: 18px 0 0 !important;
	padding: 12px 0 0 !important;
	border-top: 1px solid var(--sps-hairline-soft) !important;
}

body.sps-screen .portal-sidebar .portal-aside-group:not(.pinned-group):first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-header {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 0 !important;
	margin: 0 0 10px !important;
}

body.sps-screen .portal-sidebar .portal-aside-group:not(.pinned-group) .portal-aside-group-header::after {
	content: none !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-title {
	margin: 0 4px !important;
	padding: 0 !important;
	font-family: var(--sps-font-sans) !important;
	font-size: 16.5px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--sps-ink-faint) !important;
}

body.sps-screen .portal-sidebar .sd-aside-group-toggle {
	flex: none;
	color: var(--sps-ink-faint);
}

body.sps-screen .portal-sidebar .portal-aside-group-link,
body.sps-screen .portal-sidebar .portal-aside-group:not(.pinned-group) .portal-aside-group-link {
	position: relative !important;
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	height: auto !important;
	min-height: 0 !important;
	padding: 9px 4px !important;
	font-family: var(--sps-font-sans) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	letter-spacing: normal !important;
	color: var(--sps-ink-dim) !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid var(--sps-hairline-soft) !important;
	border-radius: 0 !important;
	text-decoration: none;
	transition: color .3s var(--sps-ease), font-size .2s var(--sps-ease);
}

body.sps-screen .portal-sidebar .portal-aside-group-list > li:first-child > .portal-aside-group-link {
	border-top: 0 !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-list {
	gap: 0 !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-link .portal-aside-item-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	color: inherit !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-link > .portal-svg-icon {
	display: none;
}

body.sps-screen .portal-sidebar .portal-aside-group-link:hover,
body.sps-screen .portal-sidebar .portal-aside-group:not(.pinned-group) .portal-aside-group-link:hover {
	color: var(--sps-ink) !important;
	background: transparent !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-link:focus-visible {
	color: var(--sps-ink) !important;
	background-color: transparent !important;
	outline: 1px solid var(--sps-gold-3) !important;
	outline-offset: 2px !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-body .portal-aside-group-list .portal-aside-group-link.active,
body.sps-screen .portal-sidebar .portal-aside-group-body .portal-aside-group-list .portal-aside-group-link.active * {
	color: var(--sps-ink) !important;
	font-weight: 600 !important;
	background: transparent !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-body .portal-aside-group-list .portal-aside-group-link.active {
	line-height: 1.4 !important;
	padding-inline-start: 14px !important;
}

body.sps-screen .portal-sidebar .portal-aside-group-link.active::before {
	content: "" !important;
	position: absolute !important;
	inset-inline-start: 0 !important;
	top: 6px !important;
	bottom: 6px !important;
	width: 1px !important;
	background: linear-gradient(to bottom, var(--sps-gold-4), var(--sps-gold-2)) !important;
}

body.sps-screen .wp-block-columns:has(> * > h1.wp-block-suredash-title) {
	container: sps-header / inline-size;
	padding: 14px 0 !important;
	border-bottom: 1px solid var(--sps-hairline-soft) !important;
}

body.sps-screen .wp-block-columns:has(> * > h1.wp-block-suredash-title) > .wp-block-column:has(> h1.wp-block-suredash-title) {
	padding-inline: 44px;
}

body.sps-screen h1.wp-block-suredash-title {
	display: block !important;
	max-width: 20ch;
	font-family: var(--sps-font-display) !important;
	font-weight: 600 !important;
	font-size: 42px !important;
	letter-spacing: -0.008em !important;
	line-height: 1.12 !important;
	color: var(--sps-ink) !important;
	text-wrap: balance;
}

body.sps-screen h1.wp-block-suredash-title > .portal-svg-icon {
	margin-inline-end: 8px;
}

body.sps-screen:has(.sps-head) h1.wp-block-suredash-title {
	display: none !important;
}

body.sps-screen:has(.sps-head) .wp-block-columns:has(> * > h1.wp-block-suredash-title) {
	box-sizing: content-box;
	min-block-size: var(--sps-bar);
	padding-block: 0 !important;
}

@media (max-width: 1025px) {
	body.sps-screen:has(.sps-head) .wp-block-columns:has(> * > h1.wp-block-suredash-title) {
		display: none;
	}
}

body.sps-screen .sps-head > .sps-crumb {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	max-width: 640px;
	margin: 0 0 26px;
	margin-inline-start: 44px;
	padding: 0;
	overflow: hidden;
	font-family: var(--sps-font-sans);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--sps-ink-faint);
}

body.sps-screen .sps-head > .sps-crumb * {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

body.sps-screen .sps-head > .sps-crumb > .sps-crumb-link {
	flex: none;
	color: var(--sps-ink-faint);
	text-decoration: none;
	white-space: nowrap;
	transition: color .3s var(--sps-ease);
}

body.sps-screen .sps-head > .sps-crumb > .sps-crumb-link:hover {
	color: var(--sps-ink-dim);
}

body.sps-screen .sps-head > .sps-crumb > .sps-crumb-link:focus-visible {
	color: var(--sps-ink-dim) !important;
	background-color: transparent !important;
	outline: 1px solid var(--sps-gold-3) !important;
	outline-offset: 2px !important;
}

body.sps-screen .sps-head > .sps-crumb > .sps-crumb-sep {
	flex: none;
	font-size: 11px;
	color: var(--sps-ink-faint);
}

body.sps-screen .sps-head > .sps-crumb > .sps-crumb-here {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	gap: .5em;
	min-width: 0;
	color: var(--sps-ink-dim);
}

body.sps-screen .sps-head > .sps-crumb .sps-crumb-dot {
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--sps-gold-3);
}

body.sps-screen .sps-head > .sps-crumb .sps-crumb-here-label {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.sps-screen .sps-head > h1.sps-title {
	display: block;
	max-width: 20ch;
	margin: 0 0 .857em;
	margin-inline-start: 44px;
	padding: 0;
	font-family: var(--sps-font-display);
	font-weight: 600;
	font-size: 42px;
	letter-spacing: -0.008em;
	line-height: 1.12;
	color: var(--sps-ink);
	text-align: start;
	text-wrap: balance;
}

@container sps-header (width < 684px) {
	body.sps-screen .wp-block-columns:has(> * > h1.wp-block-suredash-title) > .wp-block-column:has(> h1.wp-block-suredash-title) {
		padding-inline: 18px;
	}
	body.sps-screen h1.wp-block-suredash-title {
		font-size: 34px !important;
	}
}

@media (max-width: 1025px) {
	body.sps-screen .sd-portal-navigation-toggle {
		position: relative !important;
		width: 44px !important;
		height: 44px !important;
		padding: 0 !important;
		margin-block: -11px !important;
		margin-inline: -2px !important;
	}
	body.sps-screen .sd-portal-navigation-toggle .portal-svg-icon {
		display: none !important;
	}
	body.sps-screen .sd-portal-navigation-toggle::before,
	body.sps-screen .sd-portal-navigation-toggle::after {
		content: "" !important;
		position: absolute !important;
		top: 50% !important;
		left: auto !important;
		border-radius: 50% !important;
		transform: translateY(-50%) !important;
	}
	body.sps-screen .sd-portal-navigation-toggle::before {
		width: 18.5px !important;
		height: 18.5px !important;
		inset-inline-start: 3px !important;
		border: 1.5px solid currentColor !important;
		background: none !important;
	}
	body.sps-screen .sd-portal-navigation-toggle::after {
		width: 4px !important;
		height: 4px !important;
		inset-inline-start: 10.25px !important;
		background: currentColor !important;
	}
	body.sps-screen:not(:where(.suredash-guest-user)) .wp-block-group.portal-hide-on-desktop.hidden-on-lessons .wp-block-suredash-profile {
		display: none !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-title {
		font-family: var(--sps-font-sans) !important;
		font-size: 16.5px !important;
		font-weight: 600 !important;
		line-height: 1.5 !important;
		letter-spacing: normal !important;
		text-transform: none !important;
		color: var(--sps-ink-faint) !important;
	}
	body.sps-screen .portal-footer-resp-nav .sd-aside-group-toggle {
		color: var(--sps-ink-faint);
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group:not(.pinned-group) .portal-aside-group-header::after {
		content: none !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link {
		padding-inline: 4px !important;
		font-family: var(--sps-font-sans) !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 1.5 !important;
		letter-spacing: normal !important;
		color: var(--sps-ink-dim) !important;
		border-top: 1px solid var(--sps-hairline-soft) !important;
		transition: color .3s var(--sps-ease), font-size .2s var(--sps-ease);
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-list > li:first-child > .portal-aside-group-link {
		border-top: 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link:hover,
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link:hover * {
		color: var(--sps-ink) !important;
		background: transparent !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link:focus-visible {
		color: var(--sps-ink) !important;
		background-color: transparent !important;
		outline: 1px solid var(--sps-gold-3) !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link.active,
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link.active * {
		color: var(--sps-ink) !important;
		font-weight: 600 !important;
		background: transparent !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link.active {
		line-height: 1.4 !important;
		padding-inline-start: 14px !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group-link.active::before {
		content: "" !important;
		position: absolute !important;
		inset-inline-start: 0 !important;
		top: 6px !important;
		bottom: 6px !important;
		width: 1px !important;
		background: linear-gradient(to bottom, var(--sps-gold-4), var(--sps-gold-2)) !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group:first-child {
		margin-block-start: 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav .ag-drawer-tools-register {
		border-bottom-color: var(--sps-hairline-soft) !important;
	}
}

body.sps-screen .sps-head > h1.sps-title {
	max-width: 16ch;
	margin-block-end: 30px;
	/* the title's size: the frame's 58px, unless a custom design sets
	   --sps-title-size on its own body host class (the program dashboard: 88px,
	   owner 2026-10-16 "3a looks better"). Unset everywhere else. */
	font-size: var(--sps-title-size, 58px);
	line-height: 1.06;
	letter-spacing: -0.01em;
}

@media (max-width: 1025px) {
	body.sps-screen .portal-aside-list-wrapper.portal-footer-resp-nav {
		background-color: var(--sps-ground-0) !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-aside-group:not(.pinned-group):not(:first-child) {
		margin-block-start: 18px !important;
		padding-block-start: 4px !important;
		border-top: 1px solid var(--sps-hairline-soft) !important;
	}
	body.sps-screen .sd-portal-navigation-toggle {
		color: var(--sps-ink-dim) !important;
		border-radius: 0 !important;
		transition: color .3s var(--sps-ease) !important;
	}
	body.sps-screen .sd-portal-navigation-toggle:hover,
	body.sps-screen .sd-portal-navigation-toggle:focus-visible {
		color: var(--sps-gold-brand) !important;
		background-color: transparent !important;
	}
	body.sps-screen .sd-portal-navigation-toggle:focus-visible {
		outline: 1px solid var(--sps-gold-3) !important;
		outline-offset: 2px !important;
	}
}

@media (min-width: 1026px) {
	body.sps-screen .portal-application-content-wrapper {
		border: 0 !important;
		border-radius: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
	}
	body.sps-screen .portal-content-section {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		scrollbar-width: thin;
		scrollbar-color: transparent transparent;
	}
	body.sps-screen .portal-content-section:hover,
	body.sps-screen .portal-content-section:focus-within {
		scrollbar-color: #1C2027 transparent;
	}
	body.sps-screen .portal-sidebar .portal-aside-group-link {
		text-decoration: none !important;
		transition: background-color 160ms var(--sps-ease), color 160ms var(--sps-ease) !important;
	}
	body.sps-screen .wp-block-columns:has(> * > h1.wp-block-suredash-title) {
		margin: 0 !important;
		border-radius: 0 !important;
		flex-wrap: nowrap !important;
		row-gap: 0 !important;
	}
	body.sps-screen h1.wp-block-suredash-title {
		margin: 0 !important;
		padding: 0 !important;
		text-align: right !important;
	}
	body.sps-screen .ag-wallet-strip {
		position: relative !important;
		height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: visible !important;
		z-index: 2 !important;
	}
	body.sps-screen .portal-content-section > .wp-block-group__inner-container {
		max-width: none !important;
		padding-inline: 0 !important;
	}
	body.sps-screen .wp-block-suredash-content {
		max-width: none !important;
		padding: 0 !important;
	}
	body.sps-screen .portal-sidebar .portal-aside-group-body {
		display: block !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	body.sps-screen .portal-sidebar .portal-aside-item-title {
		display: block !important;
		white-space: normal !important;
		text-overflow: clip !important;
		overflow: visible !important;
		height: auto !important;
		max-height: none !important;
		text-wrap: balance !important;
	}
	body.sps-screen .portal-tools-register {
		padding-inline-start: 8px !important;
	}
	body.sps-screen .portal-sidebar .only-search-icon-wrap svg {
		width: 21.94px !important;
		height: 21.94px !important;
		stroke-width: 1.367 !important;
	}
	body.sps-screen .portal-sidebar .portal-notification-trigger svg {
		width: 18.9px !important;
		height: 18.9px !important;
		stroke-width: 1.587 !important;
	}
	body.sps-screen .portal-tools-register {
		border-top: 0 !important;
		border-bottom: 0 !important;
		margin-block-end: 26px !important;
	}
}

@media (max-width: 1025px) {
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) > .portal-aside-list-wrapper {
		margin-block-end: auto !important;
	}
	body.sps-screen .portal-aside-list-wrapper.portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) {
		width: min(296px, calc(100% - 48px)) !important;
		min-width: 0 !important;
	}
	body.sps-screen .portal-aside-list-wrapper.portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) {
		padding: 20px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group {
		padding-top: 0 !important;
		margin: 48px 0 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-link {
		border-bottom: 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-link .portal-svg-icon {
		display: none !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) > .portal-aside-list-wrapper {
		padding-inline-start: 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-header {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		margin-block-end: 5px !important;
		padding-inline-start: 0 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-title {
		margin: 0 !important;
		padding-inline-start: 4px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-link {
		position: relative !important;
		display: block !important;
		background: transparent !important;
		border-radius: 0 !important;
		padding-block: 9px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-link .portal-aside-item-title {
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
		font-size: inherit !important;
		font-weight: inherit !important;
		line-height: inherit !important;
		letter-spacing: inherit !important;
		color: inherit !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-list {
		gap: 3px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-aside-group-link:focus-visible {
		outline-offset: -1px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .ag-drawer-tools-register {
		border-top: 0 !important;
		border-bottom-width: 1px !important;
		border-bottom-style: solid !important;
		margin-block-end: 26px !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .ag-drawer-tool-search svg {
		width: 21.94px !important;
		height: 21.94px !important;
		stroke-width: 1.367 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .ag-drawer-tool-notification svg {
		width: 18.9px !important;
		height: 18.9px !important;
		stroke-width: 1.587 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .wp-block-suredash-profile {
		display: block !important;
		position: absolute !important;
		inset-block-start: 30px !important;
		inset-inline-start: 96px !important;
		width: 32px !important;
		height: 32px !important;
		margin: 0 !important;
		padding: 0 !important;
		z-index: 2 !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-header-avatar-wrap {
		width: 32px !important;
		height: 32px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		cursor: pointer;
		color: #EEF4F5 !important;
		background-color: currentColor;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229.5%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M7%2018.2%20C8.4%2015.4%2015.6%2015.4%2017%2018.2%22%2F%3E%3C%2Fsvg%3E");
		        mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229.5%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M7%2018.2%20C8.4%2015.4%2015.6%2015.4%2017%2018.2%22%2F%3E%3C%2Fsvg%3E");
		-webkit-mask-repeat: no-repeat;
		        mask-repeat: no-repeat;
		-webkit-mask-position: center;
		        mask-position: center;
		-webkit-mask-size: 20px 20px;
		        mask-size: 20px 20px;
		transition: color 160ms var(--sps-ease);
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-user-avatar,
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-avatar-initials-text,
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-user-gravatar {
		display: none !important;
	}
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-header-avatar-wrap:hover,
	body.sps-screen .portal-footer-resp-nav:not(:has(.portal-aside-endpoint-navigation)) .portal-header-avatar-wrap:focus-visible {
		color: #EEF4F5 !important;
	}
	body.sps-screen .portal-avatar-menu {
		inset-block-start: calc(100% + 8px) !important;
		inset-block-end: auto !important;
		max-width: calc(100cqi - 40px) !important;
		max-height: calc(100cqb - 120px) !important;
		overflow-y: auto !important;
	}
	body.sps-screen .portal-footer-resp-nav .portal-avatar-menu {
		inset-inline-start: 0 !important;
		inset-inline-end: auto !important;
		left: auto !important;
		right: auto !important;
	}
}

body.sps-screen .ag-notice-mark {
	fill: none !important;
	stroke: currentColor !important;
}

body.sps-screen:has(.notification-read-status.unread) .ag-notice-mark {
	fill: #FFC000 !important;
	stroke: none !important;
}

@media (min-width: 1026px) {
	body.sps-screen .portal-sidebar .only-search-icon-wrap:hover svg,
	body.sps-screen .portal-sidebar .portal-notification-trigger:hover svg {
		stroke: #EEF4F5 !important;
	}
	body.sps-screen .portal-sidebar .portal-header-avatar-wrap:hover,
	body.sps-screen .portal-sidebar .portal-header-avatar-wrap:focus-visible {
		color: #EEF4F5 !important;
	}
	body.sps-screen .portal-sidebar:has(.portal-notification-drawer.notifications-opened) {
		z-index: 40 !important;
	}
	body.sps-screen .portal-notification-drawer {
		height: auto !important;
		background: #0C0E12 !important;
		border: 0 !important;
		transition: transform 260ms var(--sps-ease),
		            opacity 200ms var(--sps-ease) !important;
		pointer-events: none !important;
	}
	body.sps-screen .portal-notification-drawer.notifications-opened {
		pointer-events: auto !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-header {
		flex: 0 0 auto !important;
		padding: 16px 20px 10px !important;
		border-bottom: 1px solid rgba(238, 244, 245, .07) !important;
	}
	body.sps-screen .portal-notification-header-title {
		font-family: 'Assistant', 'Arial Hebrew', system-ui, sans-serif !important;
		font-size: 12px !important;
		line-height: 16px !important;
		font-weight: 600 !important;
		color: #EEF4F5 !important;
		letter-spacing: normal !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-close {
		color: #86898B !important;
		background: none !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-close svg {
		width: 12px !important;
		height: 12px !important;
		stroke-width: 1.5 !important;
		stroke-linecap: butt !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-close:hover,
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-close:focus-visible {
		color: #EEF4F5 !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-content-type {
		flex: 0 0 auto !important;
		padding: 8px 20px 0 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-title-wrap {
		border-bottom: 0 !important;
		gap: 10px !important;
	}
	body.sps-screen .portal-notification-drawer .notification-subtitle {
		font-size: 12px !important;
		line-height: 16px !important;
		font-weight: 400 !important;
		color: #86898B !important;
		padding: 2px 0 !important;
		margin-inline-end: 14px !important;
		letter-spacing: normal !important;
	}
	body.sps-screen .portal-notification-drawer .notification-subtitle.active,
	body.sps-screen .portal-notification-drawer .notification-subtitle:hover {
		color: #EEF4F5 !important;
		font-weight: 400 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-subtitle::after {
		background-color: #EEF4F5 !important;
		height: 1px !important;
		bottom: -3px !important;
	}
	body.sps-screen .portal-notification-drawer .notification-mark-all-read,
	body.sps-screen .portal-notification-drawer .notification-settings {
		color: #86898B !important;
		font-size: 12px !important;
	}
	body.sps-screen .portal-notification-drawer .notification-mark-all-read svg,
	body.sps-screen .portal-notification-drawer .notification-settings svg {
		width: 14px !important;
		height: 14px !important;
	}
	body.sps-screen .portal-notification-drawer .notification-mark-all-read:hover,
	body.sps-screen .portal-notification-drawer .notification-mark-all-read:hover .notification-mark-all-read-icon svg,
	body.sps-screen .portal-notification-drawer .notification-settings:hover {
		color: #EEF4F5 !important;
		stroke: #EEF4F5 !important;
		background: none !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-content {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow-y: auto !important;
		padding: 2px 20px 16px !important;
	}
	body.sps-screen .portal-notification-drawer.sd-notification-list .portal-notification-drawer-content::-webkit-scrollbar {
		width: 5px !important;
	}
	body.sps-screen .portal-notification-drawer.sd-notification-list .portal-notification-drawer-content::-webkit-scrollbar-thumb {
		visibility: visible !important;
		background: #3B404C !important;
		border-radius: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-avatar-wrap {
		display: none !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item {
		padding: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item-wrap {
		padding-block: 10px !important;
		padding-inline: 14px 4px !important;
		gap: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item-description-wrap {
		gap: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-content {
		max-width: none !important;
		font-size: 13px !important;
		line-height: 18px !important;
		color: #EEF4F5 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-content a,
	body.sps-screen .portal-notification-drawer .notification-content strong {
		font-weight: 600 !important;
		color: #EEF4F5 !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item-timestamp {
		font-size: 11px !important;
		line-height: 16px !important;
		color: #86898B !important;
		margin-top: 2px !important;
	}
	body.sps-screen .portal-notification-drawer [class*="notification-item"] {
		border-top: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item:not(:last-child)::after {
		background-color: rgba(238, 244, 245, .07) !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-item:hover,
	body.sps-screen .portal-notification-drawer .portal-notification-item:focus-within {
		background-color: #14171C !important;
	}
	body.sps-screen .portal-notification-drawer .notification-read-status {
		position: absolute !important;
		inset-inline-start: 0 !important;
		top: 11px !important;
		width: 14px !important;
		height: 14px !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}
	body.sps-screen .portal-notification-drawer .notification-read-status.unread::before {
		content: "" !important;
		position: absolute !important;
		inset-inline-start: 0 !important;
		top: 3px !important;
		width: 5px !important;
		height: 7px !important;
		background: #FFC000 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-read-status.unread:hover,
	body.sps-screen .portal-notification-drawer .portal-notification-item:hover .notification-read-status.unread {
		outline: 0 !important;
	}
	body.sps-screen .portal-notification-drawer .notification-read-status:focus-visible {
		outline: 1px solid #EEF4F5 !important;
		outline-offset: 2px !important;
	}
	body.sps-screen .wp-block-suredash-notification .portal-notification-trigger:has(~ .portal-notification-drawer.notifications-opened) svg {
		stroke: #EEF4F5 !important;
	}
	body.sps-screen .portal-notification-drawer {
		position: fixed !important;
		inset-block: 0 !important;
		inset-inline-end: auto !important;
		inset-inline-start: 10px !important;
		height: auto !important;
		max-height: none !important;
		margin-inline: 0 !important;
		border: 0 !important;
		border-inline-end: 1px solid #2A2E36 !important;
		box-shadow: -20px 0 46px -18px rgba(0, 0, 0, .92) !important;
		transform: translateX(100%) !important;
		transform-origin: center right !important;
	}
	body.sps-screen .portal-notification-drawer.notifications-opened {
		transform: translateX(0) !important;
	}
	body.sps-screen .portal-notification-drawer {
		width: 246px !important;
		max-width: none !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-content {
		padding-inline: 16px !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-header {
		padding-inline: 16px !important;
	}
	body.sps-screen .portal-notification-drawer .portal-notification-drawer-content-type {
		padding-inline: 16px !important;
	}
	body.sps-screen .portal-notification-drawer .notification-mark-all-read-text {
		display: none !important;
	}
	body.sps-screen .portal-notification-drawer .notification-title-wrap {
		flex-wrap: nowrap !important;
		gap: 6px !important;
	}
}

/* =====================================================================
   PART 2 - THE FRAME. This screen's own rules: the plane, the header,
   plain content, the custom-design plug-in rule, the reaction row.

   THE PLUG-IN RULE. A custom design is a top-level block in the space's
   content. Today that is `.wp-block-portal-space-map`; a future one either
   is added to the selector list at "custom design" below or carries the
   attribute `data-sps-custom`. The frame gives it the wide plane and the
   space above it, and applies none of its text styles inside it.

   WHAT layout / layout_style DO HERE. Nothing. SureDash turns a space's
   Layout (narrow / normal / full width) into a class and a max-width on
   `#portal-main-content`, and its Container Style (boxed / unboxed) into
   `sd-unboxed-post` or a boxed card on `.portal-content-area`. On a
   single_post space this sheet sets the plane itself and removes the box,
   so all of those settings render the same frame.

   THE LOCKED STATE. The header is printed for refused visitors too. The
   access-restricted unit's block (`.portal-restricted-content`) sits in the
   plane under it. Nothing below selects it or anything inside it.
   ===================================================================== */

body.sps-screen {
	/* --sps-plane is NOT declared here: a design declares it ("per custom
	   design"), and a page that declares none gets 960px on the block (the
	   fallback in "custom design") and an unbounded head */
	--sps-measure: 640px;    /* plain reading text: the course body's approved measure */
	--sps-pad-inline: 48px;
	--sps-seam: 36px;        /* header hairline to the first thing in the plane */
}

/* -- the plane ---------------------------------------------------------- */
body.sps-screen #portal-main-content {
	box-sizing: border-box;
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 30px var(--sps-pad-inline) 120px !important;
	text-align: start;
}
body.sps-screen #portal-main-content > .portal-content-area {
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* -- the header: crumb + title + hairline -------------------------------- */
body.sps-screen #portal-main-content > .sps-head {
	margin: 0 0 var(--sps-seam);
	padding: 0 0 var(--sps-seam);
	border-block-end: 1px solid var(--sps-hairline-soft);
}
body.sps-screen .sps-head > .sps-crumb {
	margin: 0 0 26px;
	padding: 0;
}
body.sps-screen .sps-head > h1.sps-title {
	max-width: none;
	margin: 0;
}
/* the end slot: one control a custom design may print at the end of the
   title row (single-post-space.php, `sps_head_end`). Present only when
   something is hooked; a head without it is laid out exactly as before.
   Wide: the title row becomes two columns, the slot on the end edge,
   centred on the title's box. Narrow: under the title, on the reading edge. */
body.sps-screen .sps-head:has(> .sps-head-end) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 28px;
	align-items: center;
}
body.sps-screen .sps-head:has(> .sps-head-end) > .sps-crumb {
	grid-column: 1 / -1;
}
body.sps-screen .sps-head > .sps-head-end {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
/* the head's outer bounds: the plane, when a design declares --sps-plane on
   #portal-main-content (the head's parent and the block's ancestor, so both
   read one value); start-aligned like the block, so its edges and the end
   slot sit on the picture's edges. Declared nowhere there, the head fills
   the column as before. Wide only: below the rail switch the head is as before.
   (Pass 5, 2026-10-16: the dashboard's head ran 58-1616 over a picture at
   496-1616 at 1920.) */
@media (min-width: 1026px) {
	body.sps-screen #portal-main-content > .sps-head {
		max-inline-size: var(--sps-plane, none);
	}
}

/* -- sticky: the content area clips, it does not scroll -------------------
   SureDash's own single.min.css gives .portal-content-area `overflow: hidden`,
   which makes it a scroll container (that never scrolls), so a
   `position: sticky` descendant sticks to it and never moves. `clip` clips the
   same box on both axes but creates no scroll container. (2026-10-17) */
body.sps-screen .portal-content-area {
	overflow: clip;
}

/* -- plain content: everything the space editor can produce -------------- */
body.sps-screen .portal-space-post-content {
	overflow: visible !important;
	font-family: var(--sps-font-sans);
	color: var(--sps-ink-read);
}
body.sps-screen .portal-space-post-content > :where(p, h2, h3, h4, ul, ol, blockquote, figure, hr, table, pre) {
	max-inline-size: var(--sps-measure) !important;
	margin-inline: 0 !important;
}
body.sps-screen .portal-space-post-content > p {
	margin-block: 0 22px;
	font-size: 18px;
	line-height: 1.75;
	color: var(--sps-ink-read);
}
body.sps-screen .portal-space-post-content > :where(h2, h3, h4) {
	margin-block: 44px 14px;
	font-family: var(--sps-font-sans);
	font-weight: 600;
	line-height: 1.3;
	color: var(--sps-ink);
}
body.sps-screen .portal-space-post-content > h2 { font-size: 24px; }
body.sps-screen .portal-space-post-content > h3 { font-size: 19px; }
body.sps-screen .portal-space-post-content > h4 { font-size: 17px; }
body.sps-screen .portal-space-post-content > :where(h2, h3, h4):first-child { margin-block-start: 0; }
body.sps-screen .portal-space-post-content > :where(ul, ol) {
	margin-block: 0 22px;
	padding-inline-start: 22px;
	font-size: 18px;
	line-height: 1.75;
}
body.sps-screen .portal-space-post-content > :where(ul, ol) > li { margin-block: 0 6px; }
body.sps-screen .portal-space-post-content > :where(ul, ol) > li::marker { color: var(--sps-ink-faint); }
body.sps-screen .portal-space-post-content > :where(p, ul, ol, blockquote) a:not([class*="button"]) {
	color: var(--sps-ink) !important;
	text-decoration: underline !important;
	text-decoration-color: var(--sps-gold-3) !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 4px;
}
body.sps-screen .portal-space-post-content > :where(p, ul, ol, blockquote) a:not([class*="button"]):hover {
	text-decoration-color: var(--sps-gold-brand) !important;
}
body.sps-screen .portal-space-post-content > :where(p, ul, ol, blockquote) a:not([class*="button"]):focus-visible {
	outline: 1px solid var(--sps-gold-brand);
	outline-offset: 3px;
}
body.sps-screen .portal-space-post-content > :where(p, ul, ol) strong {
	font-weight: 600;
	color: var(--sps-ink);
}
body.sps-screen .portal-space-post-content > blockquote {
	margin-block: 32px;
	padding: 2px 20px 2px 0;
	border: 0;
	border-inline-start: 1px solid var(--sps-gold-3);
	background: none;
	font-style: normal;
}
body.sps-screen .portal-space-post-content > blockquote p {
	margin: 0;
	font-size: 18px;
	font-style: normal;
	line-height: 1.75;
	color: var(--sps-ink-dim);
}
body.sps-screen .portal-space-post-content > hr {
	margin-block: 40px;
	border: 0;
	border-block-start: 1px solid var(--sps-hairline-soft);
}
body.sps-screen .portal-space-post-content > figure img {
	display: block;
	max-inline-size: 100%;
	block-size: auto;
}
body.sps-screen .portal-space-post-content > :last-child { margin-block-end: 0; }

/* -- custom design: the plug-in rule -------------------------------------
   A custom design is a top-level block of the space's content: one of the
   blocks named in "per custom design" below, or any block carrying the
   attribute `data-sps-custom`. The frame gives it a plane and the space
   above it, and applies no text style inside it. The plane's width is the
   custom property --sps-plane, read on the block; a design declares it on
   #portal-main-content so the head reads it too (on the block alone, the
   block gets it and the head does not); a design that declares none gets 960px. */
body.sps-screen .portal-space-post-content > :is(.wp-block-portal-space-map, [data-sps-custom]) {
	inline-size: 100%;
	max-inline-size: var(--sps-plane, 960px) !important;
	margin-inline: 0 !important;
	margin-block: 36px 0;
}
body.sps-screen .portal-space-post-content > :is(.wp-block-portal-space-map, [data-sps-custom]):first-child {
	margin-block-start: 0;
}
/* a paragraph directly before a custom design is its note */
body.sps-screen .portal-space-post-content > p:has(+ :is(.wp-block-portal-space-map, [data-sps-custom])) {
	margin-block-end: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--sps-ink-faint);
}

/* -- per custom design ----------------------------------------------------
   Owner, 2026-10-03: "single page space > custum design(s)", and on the
   reaction row: "only for space map applied on single page. might be other
   settings for other custum deisgns on single page..".
   So two things are settings OF A DESIGN, not of the frame:
     its plane ........ --sps-plane, set on #portal-main-content when the
                        design's block is in it (head and block read it)
     the reaction row . hidden unless the design OPTS IN (next section)
   A NEW CUSTOM DESIGN adds its block's class to the two :is() lists in
   "custom design" above, and writes at most two lines:
     1. its plane, in its own sheet:
        body.its-screen #portal-main-content:has(.portal-space-post-content > .its-block) { --sps-plane: 720px; }
     2. only if it wants the row shown: its block's selector added to the
        :is() list of the opt-in in the next section (or the attribute
        data-sps-row="show" on its block).

   THE SPACE MAP (.wp-block-portal-space-map)
     plane 960px ...... owner on the 960 page: "this one." Declared on the
                        block only, so its head keeps the column's width
     reaction row ..... not opted in. Owner on the page without it: "this is
                        preferable. not comments section" */
body.sps-screen .portal-space-post-content > .wp-block-portal-space-map {
	--sps-plane: 960px;
}

/* -- the like / comment / share row under the content: hidden by DEFAULT ----
   ⚠ A TEMPORARY DEFAULT, NOT A RULE OF THE SCREEN (PM rulings 2026-10-03).
   Owner: "comments section needs to be like lesson/whatnew". That comments
   design does not exist for this screen yet, and the platform's raw row and
   composer must never appear inside the frame because someone forgot to
   declare something. So the row is hidden on EVERY single_post space - plain
   content and custom designs alike - UNTIL THE COMMENTS DESIGN EXISTS, and a
   custom design OPTS IN to show it: its block's selector goes into the :is()
   list below, or its block carries data-sps-row="show". Nothing opts in
   today. Paint only: this does not switch the platform's comments off. */
body.sps-screen #portal-main-content:not(:has(.portal-space-post-content > :is([data-sps-row="show"]))) #portal-comment {
	display: none !important;
}

/* -- narrow: the platform's own rail switch ------------------------------ */
@media (max-width: 1025px) {
	body.sps-screen {
		--sps-pad-inline: 20px;
		--sps-seam: 26px;
	}
	body.sps-screen #portal-main-content { padding-block: 20px 88px !important; }
	body.sps-screen .sps-head > .sps-crumb { margin-block-end: 18px; }
	body.sps-screen .sps-head > h1.sps-title { font-size: var(--sps-title-size-narrow, 38px); line-height: 1.1; }
	body.sps-screen .sps-head:has(> .sps-head-end) { display: block; }
	body.sps-screen .sps-head > .sps-head-end { justify-content: flex-start; margin-block-start: 22px; }
	body.sps-screen .portal-space-post-content > p,
	body.sps-screen .portal-space-post-content > :where(ul, ol),
	body.sps-screen .portal-space-post-content > blockquote p { font-size: 17px; }
	body.sps-screen .portal-space-post-content > h2 { font-size: 22px; }
}

/* -- the page ground under a short page ----------------------------------
   The platform paints <html> its own near-black (--portal-global-color-6);
   on a page shorter than the window (the locked state at phone width) that
   showed as a band under the frame. */
html:has(> body.sps-screen) {
	background-color: oklch(0.100 0.006 258);
}

/* -- a guest's way to the login page --------------------------------------
   The guest's mark is a link to the login page, and as the platform prints it
   the link has no box. Three places, each given the mark as its hit area
   (the post screen's treatment, 1.2.1, owned here). A guest only. */
@media (max-width: 1025px) {
	body.sps-screen.suredash-guest-user .portal-hide-on-desktop .portal-header-avatar-wrap > a { position: relative; }
	body.sps-screen.suredash-guest-user .portal-hide-on-desktop .portal-header-avatar-wrap > a::after { content: ""; position: absolute; inset: -2px; }
	body.sps-screen .portal-footer-resp-nav .portal-header-avatar-wrap[data-view="not-logged-in"] > a {
		display: block;
		position: absolute;
		inset: -6px;
		width: auto;
		height: auto;
		padding: 0;
		margin: 0;
	}
}
body.sps-screen.suredash-guest-user .portal-sidebar .portal-tools-register .portal-header-avatar-wrap[data-view="not-logged-in"] { position: relative; }
body.sps-screen.suredash-guest-user .portal-sidebar .portal-tools-register .portal-header-avatar-wrap[data-view="not-logged-in"] > a {
	display: block;
	position: absolute;
	inset: -6px;
	width: auto;
	height: auto;
	padding: 0;
	margin: 0;
}

/* -- the drawer's own close button (phone width) --------------------------
   single-post-space.php appends `button.sps-drawer-close` inside the drawer;
   it clicks the platform's own X. Place and glyph as on the post screen:
   the tools row's free end, 44 x 44. Focus goes THROUGH the platform's forced
   focus variables, because its global :focus-visible rule is !important. */
@media (max-width: 1025px) {
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close {
		position: absolute;
		inset-block-start: 24px;
		inset-inline-end: 9px;
		z-index: 2;
		box-sizing: border-box;
		width: 44px;
		height: 44px;
		min-height: 0;
		padding: 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		cursor: pointer;
		color: var(--sps-ink-dim);
		transition: color .3s var(--sps-ease);
		--portal-secondary-color: transparent;
		--portal-link-active-color: oklch(0.62 0.12 85);
	}
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close:hover {
		color: var(--sps-ink);
		background: transparent;
	}
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close:focus-visible {
		--portal-global-color-4: var(--sps-ink);
		outline-offset: -4px;
	}
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close::before,
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 16px;
		height: 1.5px;
		background-color: currentColor;
	}
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
	body.sps-screen .portal-footer-resp-nav > .sps-drawer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
}
