/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority.css */
/*B"H*/
/*Boruch Hashem*/
/*Blessed be He*/
/**
 * @file Final Torah reader style manifest.
 * @description
 * The Awtsmoos loads small final-authority vessels after historical garments so
 * Awtsmoos.com keeps Torah geometry, structural verses, and controls deterministic.
 */

/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority/surface.css */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * @file Torah reader surface authority.
 * @description
 * The Awtsmoos lets the first words arrive directly beneath the real site header.
 * Awtsmoos.com keeps a readable measure without the historical five-rem entry
 * cushion or oversized ornamental shell that delayed the teaching itself.
 */
.all.post-reader-localized-context.awtsmoos-reader-vision {
	--reader-authority-width: 50rem;
	--reader-authority-edge: clamp(.72rem, 2.4vw, 1.2rem);
}

.all.post-reader-localized-context.awtsmoos-reader-vision .main {
	inline-size: 100% !important;
	max-inline-size: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision .scroll-view-wrapper {
	inline-size: 100% !important;
	padding: 0 !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost {
	inline-size: min(100%, var(--reader-authority-width)) !important;
	max-inline-size: var(--reader-authority-width) !important;
	margin: 0 auto !important;
	padding: .8rem var(--reader-authority-edge) 5.5rem !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost {
	margin-block-start: 0 !important;
	padding-block-start: .8rem !important;
	scroll-padding-block-start: 5rem !important;
	scroll-margin-block-start: 5rem !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost > :first-child {
	margin-block-start: 0 !important;
}

@media (max-width: 48rem) {
	.all.post-reader-localized-context.awtsmoos-reader-vision #realPost {
		padding: .55rem .62rem 5.25rem !important;
	}
}



/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority/sections.css */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * @file Torah reader section authority.
 * @description
 * The Awtsmoos lets verses and teaching sections remain distinct without turning
 * every paragraph into a heavy card. Awtsmoos.com keeps Hebrew rhythm generous,
 * subsection hierarchy quiet, and verse coordinates visible but secondary.
 */
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .section,
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-reader-section {
	margin: 0 0 .45rem !important;
	padding: .62rem .72rem !important;
	border: 1px solid transparent !important;
	border-radius: .8rem !important;
	background: transparent !important;
	box-shadow: none !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .section:hover,
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-reader-section:hover {
	border-color: rgba(126, 218, 255, .08) !important;
	background: rgba(255, 255, 255, .018) !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .toichen,
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .sub-awtsmoos {
	min-inline-size: 0 !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .sub-awtsmoos,
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-modern-subsection {
	margin-block: .35rem !important;
	padding: .5rem .58rem !important;
	border-radius: .65rem !important;
	background: rgba(255, 255, 255, .018) !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost :is(.heb, [dir="rtl"]) {
	direction: rtl;
	text-align: start;
	line-height: 1.78 !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-verse-number {
	display: inline-grid !important;
	place-items: center !important;
	inline-size: 44px !important;
	min-inline-size: 44px !important;
	block-size: 44px !important;
	min-block-size: 44px !important;
	padding: 0 !important;
	font-size: .75rem !important;
	opacity: .7;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost
	.scroll-chunk.awtsmoos-normal-verse-chunk {
	min-block-size: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-section-header {
	min-block-size: 0 !important;
	margin-block-end: .2rem !important;
}



/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority/initial-verses.css */
/*B"H*/
/*Boruch Hashem*/
/*Blessed be He*/
/**
 * @file Server-first pasuk geometry.
 * @description
 * The Awtsmoos keeps each canonical verse addressable before hydration while
 * Awtsmoos.com lets Torah text remain visually primary and its coordinate remain
 * compact, selectable, keyboard reachable, and obvious when opened by deep link.
 */

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-initial-pasuk {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: .55rem;
	scroll-margin-block-start: 5rem;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-initial-pasuk-text {
	min-inline-size: 0;
	margin: 0;
	font-size: 1.08em;
	line-height: 1.78;
}
.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-initial-pasuk .awtsmoos-verse-number {
	align-self: start;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-initial-pasuk:target {
	border-color: rgba(126, 218, 255, .22) !important;
	background: rgba(126, 218, 255, .055) !important;
	outline: 2px solid rgba(126, 218, 255, .12);
	outline-offset: 2px;
}

@media (max-width: 32rem) {
	.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-initial-pasuk {
		gap: .4rem;
		padding-inline: .45rem !important;
	}
}


/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority/controls.css */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * @file Torah reader floating-control authority.
 * @description
 * The Awtsmoos keeps typography and source tools reachable without allowing
 * historical overlay layers to cover the first Torah lines. Awtsmoos.com owns
 * the direct child control vessel at the final cascade boundary because older
 * reader garments mix logical and physical dimensions with important rules.
 * Logical insets are neutralized first; physical bottom/right placement and
 * physical button dimensions are declared last so RTL and legacy width laws
 * cannot move, squeeze, or wrap these controls unexpectedly.
 */
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls {
	position: fixed !important;
	inset-block-start: auto !important;
	inset-block-end: auto !important;
	inset-inline-start: auto !important;
	inset-inline-end: auto !important;
	top: auto !important;
	left: auto !important;
	right: max(.8rem, env(safe-area-inset-right)) !important;
	bottom: max(.8rem, env(safe-area-inset-bottom)) !important;
	z-index: var(--reader-layer-floating-controls, 3010) !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: .3rem !important;
	inline-size: auto !important;
	max-inline-size: calc(100dvi - 1.6rem) !important;
	margin: 0 !important;
	padding: .25rem !important;
	border: 1px solid rgba(112, 225, 255, .18) !important;
	border-radius: .82rem !important;
	background: rgba(5, 13, 24, .78) !important;
	box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .2) !important;
	backdrop-filter: blur(10px) saturate(115%);
	pointer-events: none !important;
	transform: none !important;
	translate: none !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls > * {
	pointer-events: auto !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls button {
	inline-size: auto !important;
	min-inline-size: 44px !important;
	block-size: 44px !important;
	min-block-size: 44px !important;
	width: auto !important;
	min-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	padding-inline: .55rem !important;
	border: 1px solid rgba(112, 225, 255, .16) !important;
	border-radius: .62rem !important;
	background: rgba(12, 27, 43, .9) !important;
	box-shadow: none !important;
	color: rgba(240, 249, 255, .94) !important;
	font-size: .8rem !important;
	font-weight: 780 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	overflow: visible !important;
}

@media (max-width: 48rem) {
	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-floating-controls {
		right: max(.55rem, env(safe-area-inset-right)) !important;
		bottom: max(.55rem, env(safe-area-inset-bottom)) !important;
		max-inline-size: calc(100dvi - 1.1rem) !important;
		background: rgba(5, 13, 24, .68) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-floating-controls {
		transition: none !important;
	}
}



/* CompactCSS source: /heichelos/post/styles/reader-controls/torah-authority/settings-mobile.css */
/*B"H*/
/*Boruch Hashem*/
/*Blessed be He*/
/**
 * @file Final mobile reader-settings authority.
 * @description Keeps the Aa sheet compact, opaque, legible, and scrollable so settings never swallow the Torah surface.
 */
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details:not(.hidden-details) {
	inline-size: min(38rem, calc(100dvi - 1rem)) !important;
	max-inline-size: calc(100dvi - 1rem) !important;
	max-block-size: min(58dvh, 31rem) !important;
	inset-inline: .5rem !important;
	bottom: calc(4.25rem + env(safe-area-inset-bottom)) !important;
	margin-inline: auto !important;
	border: 1px solid rgba(87, 206, 255, .34) !important;
	border-radius: 1.15rem !important;
	background: #07111f !important;
	box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, .72) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details .typography-content {
	gap: .55rem !important;
	padding: .65rem !important;
	background: #07111f !important;
}
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details .typography-content > .settings-group {
	gap: .55rem !important;
	padding: .65rem !important;
	border-color: rgba(123, 213, 255, .16) !important;
	border-radius: .85rem !important;
	background: #0a1727 !important;
	box-shadow: none !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details :is(button, select, input, output) {
	color: #f8fbff !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details :is(.auto-scroll-unit-switch button, .auto-scroll-presets button) {
	min-block-size: 44px !important;
	border-color: rgba(112, 225, 255, .22) !important;
	background: #0d1d30 !important;
	color: #eaf7ff !important;
	font-size: .78rem !important;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .typography-details .auto-scroll-semantic-summary {
	border-color: rgba(112, 225, 255, .18) !important;
	background: #0b1a2b !important;
	color: #eaf7ff !important;
}
