/* CompactCSS source: /heichelos/post/styles/post-bundle.css */

/* B"H — GENERATED by heichelos/post/styles/build-bundle.mjs. Do not edit by hand.
 * One bundle for the reader post page, folded from 93 source sheets in exact
 * cascade order. Sources stay on disk; edit them and re-run the builder. */

/* ==== heichelos/post/styles/reader-inline-extracted.css ==== */
/* B"H — extracted from _awtsmoos.post.html #awtsmoos-plain-fallback */
/* B"H — Yaakov's law: no blank screens ever. If any reader stylesheet
		   fails, this inline block keeps every surface (post body, comments,
		   settings, chapter nav, sources) readable as clean plain text.
		   Element selectors only, placed before the <link> stylesheets, so the
		   real CSS overrides cleanly when it loads. */
		
		body {
			font-family: "Frank Ruhl Libre", "Cardo", "Times New Roman", serif;
			font-size: 19px; line-height: 1.75; color: #1a1a1a; background: #fffdf7;
			margin: 0; padding: 0 16px 64px;
		}
		html[data-theme="dark"] body { color: #e9e3d3; background: #14110b; }
		body [dir="rtl"] { text-align: right; }
		body h1 { font-size: 1.7em; line-height: 1.3; margin: 0.8em 0 0.5em; color: inherit; }
		body h2 { font-size: 1.35em; line-height: 1.35; margin: 1em 0 0.4em; color: inherit; }
		body h3 { font-size: 1.15em; margin: 0.9em 0 0.3em; color: inherit; }
		body p { margin: 0.7em 0; max-width: 44em; color: inherit; }
		body a { color: #0b5cad; text-decoration: underline; }
		
		body img { max-width: 100%; height: auto; }
		body button { font: inherit; padding: 0.5em 1em; color: inherit; }
		body #realPost { min-height: 40vh; }
		/* Honest notice shown only when stylesheets actually failed. */
		#awtsmoos-style-notice {
			display: none; font-family: system-ui, -apple-system, sans-serif; font-size: 14px;
			line-height: 1.5; background: #fff8e1; color: #5d4037;
			border: 1px solid #e0c36a; border-radius: 8px;
			padding: 10px 14px; margin: 12px auto; max-width: 44em; text-align: center;
		}
		#awtsmoos-style-notice[data-show="1"] { display: block; }

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-reader-contrast-fix */
/* B"H — inline contrast fix: readable article text in both themes.
		   Inline in the template to bypass @import chain / bundle caching issues.
		   Uses :root-prefixed selectors for specificity instead of !important. */
		
		
		

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-scribe-lens-panel */
/* B"H — Scribe's Lens panel: dream design. Bottom sheet, icon tiles,
		   gold accents, flat rows. Inline in template to bypass @import chain
		   fragility. Yaakov's Law 1: NEVER use !important. Specificity via
		   :root prefix. Tokens: no hardcoded colors outside token defs. */

		/* ---- Panel tokens ---- */
		:root .post-reader-localized-context {
			--lens-bg: #f6f0e3;
			--lens-bg-deep: #eee3cd;
			--lens-ink: #3b2c1e;
			--lens-soft: #8d7b60;
			--lens-gold: #c79a4b;
			--lens-gold-deep: #a1762b;
			--lens-tile: #fcf8ed;
			--lens-tile-ink: #a67c2e;
			--lens-field: #fffdf7;
			--lens-hairline: rgb(120 80 30 / 16%);
			--lens-track: rgb(120 80 30 / 20%);
			--lens-shadow: rgb(30 18 6 / 26%);
			/* B"H — tokenized fixed accents: no hardcoded colors at usage sites. */
			--lens-on-gold: #fffdf7;
			--lens-active-ink: #fffdf6;
			--lens-lang-idle: #6d5a43;
			--lens-lang-hover: #21160a;
			--lens-lang-focus: #8a6d1a;
		}
		:root[data-theme="dark"] .post-reader-localized-context {
			--lens-bg: #231a10;
			--lens-bg-deep: #171008;
			--lens-ink: #f3e9d6;
			--lens-soft: #a8926c;
			--lens-gold: #d9a94e;
			--lens-gold-deep: #e8bc6d;
			--lens-tile: rgb(255 255 255 / 6%);
			--lens-tile-ink: #d9a94e;
			--lens-field: rgb(255 255 255 / 7%);
			--lens-hairline: rgb(255 255 255 / 11%);
			--lens-track: rgb(255 255 255 / 16%);
			--lens-shadow: rgb(0 0 0 / 55%);
			/* B"H — tokenized fixed accents: no hardcoded colors at usage sites. */
			--lens-on-gold: #fffdf7;
			--lens-active-ink: #241a08;
			--lens-lang-idle: #9fb3ca;
			--lens-lang-hover: #f8fbff;
			--lens-lang-focus: #7fe8ff;
		}

		/* GUARANTEE: panel NEVER visible by default. (0,3,1) beats everything. */
		:root .post-reader-localized-context .typography-details.hidden-details,
		:root .post-reader-localized-context #typographyDetails.hidden-details {
			display: none;
			visibility: hidden;
		}

		/* Overlay — warm dim + blur, like the dream's softened page */
		:root .post-reader-localized-context .scribe-lens-overlay {
			position: fixed;
			inset: 0;
			z-index: 985;
			background: rgb(43 30 15 / 46%);
			-webkit-backdrop-filter: blur(3px);
			backdrop-filter: blur(3px);
			opacity: 0;
			pointer-events: none;
			transition: opacity 200ms ease;
		}
		:root .post-reader-localized-context:has(.typography-details:not(.hidden-details)) .scribe-lens-overlay {
			opacity: 1;
			pointer-events: auto;
		}

		/* Panel shell — flush bottom sheet, rounded top, grab handle */
		:root .post-reader-localized-context .typography-details {
			position: fixed;
			z-index: 986;
			inset-inline: 0;
			bottom: 0;
			inline-size: min(36rem, 100%);
			margin-inline: auto;
			max-block-size: min(92dvh, 54rem);
			display: flex;
			flex-direction: column;
			border: 0;
			border-radius: 1.9rem 1.9rem 0 0;
			background: linear-gradient(180deg, var(--lens-bg), var(--lens-bg-deep));
			box-shadow: 0 -1.2rem 5rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
			color: var(--lens-ink);
			overflow: hidden;
			padding-top: 2rem;
		}
		:root .post-reader-localized-context .typography-details::before {
			content: "";
			position: absolute;
			top: .7rem;
			left: 50%;
			transform: translateX(-50%);
			inline-size: 2.9rem;
			block-size: .32rem;
			border-radius: 999px;
			background: var(--lens-track);
		}

		/* Panel content scroll area — flat rows */
		:root .post-reader-localized-context .typography-content {
			display: grid;
			gap: 0;
			padding: .2rem 1.3rem 1.1rem;
			overflow-y: auto;
			overscroll-behavior: contain;
		}
		:root .post-reader-localized-context .typography-content > .settings-group {
			display: grid;
			gap: .85rem;
			min-inline-size: 0;
			padding: 1.05rem .1rem;
			border: 0;
			border-radius: 0;
			background: transparent;
			box-shadow: none;
			border-bottom: 1px solid var(--lens-hairline);
		}
		:root .post-reader-localized-context .typography-content > .settings-group:last-child {
			border-bottom: 0;
		}
		:root .post-reader-localized-context .settings-group .settings-group {
			padding: 0;
			border: 0;
			border-radius: 0;
			background: transparent;
			box-shadow: none;
		}

		/* Row titles (dream: bold normal-case, not uppercase) */
		:root .post-reader-localized-context .typography-content .control-label {
			color: var(--lens-ink);
			font-size: 1.04rem;
			font-weight: 700;
			letter-spacing: 0;
			text-transform: none;
			margin: 0;
		}
		:root .post-reader-localized-context .typography-content .setting-name {
			color: var(--lens-ink);
			font-size: 1.04rem;
			font-weight: 700;
			letter-spacing: 0;
			text-transform: none;
		}

		/* Header: serif title + close button */
		:root .post-reader-localized-context .scribe-lens-title-row {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: .75rem;
		}
		:root .post-reader-localized-context .scribe-lens-title {
			font-family: Georgia, 'Frank Ruhl Libre', 'Times New Roman', serif;
			font-size: 1.7rem;
			font-weight: 700;
			color: var(--lens-ink);
		}
		:root .post-reader-localized-context .scribe-lens-close {
			inline-size: 2.6rem;
			block-size: 2.6rem;
			flex: none;
			display: inline-grid;
			place-items: center;
			border-radius: 50%;
			border: 1px solid var(--lens-hairline);
			background: var(--lens-tile);
			color: var(--lens-tile-ink);
			font-size: 1.05rem;
			line-height: 1;
			cursor: pointer;
			transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
		}
		:root .post-reader-localized-context .scribe-lens-close:hover {
			border-color: var(--lens-gold);
			color: var(--lens-gold-deep);
			transform: translateY(-1px);
		}
		:root .post-reader-localized-context .scribe-lens-close:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context .scribe-lens-close:disabled {
			opacity: .45;
			cursor: not-allowed;
			transform: none;
		}

		/* Focus Mode row: tile | title+subtitle | gold toggle */
		:root .post-reader-localized-context .scribe-lens-head .focus-mode-control {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr) auto;
			gap: .95rem;
			align-items: center;
			border-top: 1px solid var(--lens-hairline);
			padding-top: 1.05rem;
		}
		:root .post-reader-localized-context .focus-mode-control::before {
			content: "⊙";
			inline-size: 3rem;
			block-size: 3rem;
			border-radius: 1rem;
			display: inline-grid;
			place-items: center;
			font-size: 1.5rem;
			line-height: 1;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			border: 1px solid var(--lens-hairline);
			color: var(--lens-tile-ink);
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
		}
		:root .post-reader-localized-context .focus-mode-control .setting-name::after {
			content: "Hide distractions to focus on the text";
			display: block;
			font-size: .84rem;
			font-weight: 400;
			color: var(--lens-soft);
			margin-top: .18rem;
			letter-spacing: 0;
			text-transform: none;
		}
		:root .post-reader-localized-context .awtsmoos-toggle-label {
			display: none;
		}

		/* Gold toggle switch */
		:root .post-reader-localized-context #focusModeToggle {
			inline-size: 3.4rem;
			block-size: 2rem;
			appearance: none;
			-webkit-appearance: none;
			border: 0;
			border-radius: 999px;
			background: var(--lens-track);
			cursor: pointer;
			position: relative;
			margin: 0;
			flex: none;
			box-shadow: inset 0 1px 3px rgb(30 18 6 / 22%);
			transition: background 200ms ease, box-shadow 200ms ease;
		}
		:root .post-reader-localized-context #focusModeToggle::after {
			content: "";
			position: absolute;
			top: .22rem;
			inset-inline-start: .22rem;
			inline-size: 1.56rem;
			block-size: 1.56rem;
			border-radius: 50%;
			background: var(--lens-on-gold);
			box-shadow: 0 .15rem .45rem rgb(30 18 6 / 32%);
			transition: transform 200ms ease;
		}
		:root .post-reader-localized-context #focusModeToggle:checked {
			background: var(--lens-gold);
			box-shadow: inset 0 1px 3px rgb(30 18 6 / 12%), 0 .2rem .7rem rgb(199 154 75 / 40%);
		}
		:root .post-reader-localized-context #focusModeToggle:checked::after {
			transform: translateX(1.4rem);
		}
		:root .post-reader-localized-context #focusModeToggle:hover {
			box-shadow: inset 0 1px 3px rgb(30 18 6 / 22%), 0 0 0 3px rgb(199 154 75 / 22%);
		}
		:root .post-reader-localized-context #focusModeToggle:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 3px;
		}
		:root .post-reader-localized-context #focusModeToggle:disabled {
			opacity: .45;
			cursor: not-allowed;
		}

		/* Text Scale row: tile | title | stepper */
		:root .post-reader-localized-context .settings-group:has(.text-controls) {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr) auto;
			grid-template-areas: "tile title stepper";
			align-items: center;
			gap: .95rem;
		}
		:root .post-reader-localized-context .settings-group:has(.text-controls)::before {
			content: "Aa";
			grid-area: tile;
			inline-size: 3rem;
			block-size: 3rem;
			border-radius: 1rem;
			display: inline-grid;
			place-items: center;
			font-family: Georgia, 'Frank Ruhl Libre', serif;
			font-size: 1.3rem;
			font-weight: 700;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			border: 1px solid var(--lens-hairline);
			color: var(--lens-tile-ink);
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
		}
		:root .post-reader-localized-context .settings-group:has(.text-controls) > .control-label {
			grid-area: title;
		}
		:root .post-reader-localized-context .text-controls {
			grid-area: stepper;
			display: grid;
			grid-template-columns: repeat(3, auto);
			gap: .55rem;
			align-items: center;
		}
		:root .post-reader-localized-context .text-controls::after {
			content: "Adjust reading size";
			grid-column: 1 / -1;
			justify-self: end;
			font-size: .78rem;
			color: var(--lens-soft);
		}
		:root .post-reader-localized-context .font-adjust-btn {
			inline-size: 2.9rem;
			block-size: 2.9rem;
			border: 1px solid var(--lens-hairline);
			border-radius: .95rem;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			color: var(--lens-ink);
			font: 800 1.25rem/1 system-ui;
			cursor: pointer;
			display: inline-grid;
			place-items: center;
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
			transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
		}
		:root .post-reader-localized-context .font-adjust-btn:hover {
			border-color: var(--lens-gold);
			transform: translateY(-1px);
		}
		:root .post-reader-localized-context .font-adjust-btn:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context .font-adjust-btn:disabled {
			opacity: .45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .font-size-display {
			display: grid;
			place-items: center;
			min-inline-size: 3.6rem;
			min-block-size: 2.9rem;
			padding-inline: .7rem;
			border: 1px solid var(--lens-hairline);
			border-radius: .95rem;
			background: var(--lens-field);
			color: var(--lens-ink);
			font-size: 1.1rem;
			font-weight: 800;
			box-shadow: inset 0 1px 3px rgb(30 18 6 / 10%);
		}

		/* Auto Scroll River */
		:root .post-reader-localized-context .auto-scroll-heading {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr) auto;
			gap: .95rem;
			align-items: center;
		}
		:root .post-reader-localized-context .auto-scroll-heading::before {
			content: "↝";
			inline-size: 3rem;
			block-size: 3rem;
			border-radius: 1rem;
			display: inline-grid;
			place-items: center;
			font-size: 1.5rem;
			line-height: 1;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			border: 1px solid var(--lens-hairline);
			color: var(--lens-tile-ink);
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
		}
		:root .post-reader-localized-context .auto-scroll-heading .control-label::after {
			content: "Smooth continuous scrolling through text";
			display: block;
			font-size: .84rem;
			font-weight: 400;
			color: var(--lens-soft);
			margin-top: .18rem;
			letter-spacing: 0;
			text-transform: none;
		}
		:root .post-reader-localized-context #autoScrollStatus {
			color: var(--lens-soft);
			font-size: .85rem;
			font-weight: 700;
			background: var(--lens-tile);
			border: 1px solid var(--lens-hairline);
			border-radius: 999px;
			padding: .3rem .75rem;
		}
		:root .post-reader-localized-context .auto-scroll-settings-toggle {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: .55rem;
			inline-size: 100%;
			min-block-size: 3rem;
			padding: .7rem 1rem;
			border: 1px solid var(--lens-hairline);
			border-radius: 999px;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			color: var(--lens-ink);
			font: 800 .92rem/1 system-ui;
			cursor: pointer;
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
			transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
		}
		
		:root .post-reader-localized-context .auto-scroll-settings-toggle:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		
		
		:root .post-reader-localized-context .auto-scroll-settings-toggle:disabled {
			opacity: .45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .speed-control-row {
			display: grid;
			grid-template-columns: auto auto minmax(0, 1fr) auto;
			gap: .7rem;
			align-items: center;
		}
		:root .post-reader-localized-context .speed-control-row::before {
			content: "Speed";
			color: var(--lens-gold-deep);
			font-size: .92rem;
			font-weight: 700;
		}
		:root .post-reader-localized-context .speed-word {
			color: var(--lens-soft);
			font-size: .78rem;
			font-weight: 600;
		}
		:root .post-reader-localized-context #autoScrollSpeedRange {
			-webkit-appearance: none;
			appearance: none;
			inline-size: 100%;
			block-size: .45rem;
			border-radius: 999px;
			cursor: pointer;
			background: linear-gradient(to right, var(--lens-gold) 0 var(--fill, 20%), var(--lens-track) var(--fill, 20%) 100%);
		}
		:root .post-reader-localized-context #autoScrollSpeedRange::-webkit-slider-thumb {
			-webkit-appearance: none;
			inline-size: 1.5rem;
			block-size: 1.5rem;
			border-radius: 50%;
			background: var(--lens-on-gold);
			border: 2px solid var(--lens-gold);
			box-shadow: 0 .2rem .5rem var(--lens-shadow);
			cursor: pointer;
		}
		:root .post-reader-localized-context #autoScrollSpeedRange::-moz-range-thumb {
			inline-size: 1.35rem;
			block-size: 1.35rem;
			border-radius: 50%;
			background: var(--lens-on-gold);
			border: 2px solid var(--lens-gold);
			box-shadow: 0 .2rem .5rem var(--lens-shadow);
			cursor: pointer;
		}
		:root .post-reader-localized-context #autoScrollSpeedRange::-moz-range-track {
			block-size: .45rem;
			border-radius: 999px;
			background: var(--lens-track);
		}
		:root .post-reader-localized-context #autoScrollSpeedRange::-moz-range-progress {
			block-size: .45rem;
			border-radius: 999px;
			background: var(--lens-gold);
		}
		:root .post-reader-localized-context #autoScrollSpeedRange:hover::-webkit-slider-thumb {
			border-color: var(--lens-gold-deep);
		}
		:root .post-reader-localized-context #autoScrollSpeedRange:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 4px;
		}
		:root .post-reader-localized-context #autoScrollSpeedRange:disabled {
			opacity: .45;
			cursor: not-allowed;
		}
		:root .post-reader-localized-context .speed-readout-row {
			display: flex;
			justify-content: flex-end;
			align-items: center;
			gap: .75rem;
			color: var(--lens-soft);
			font-size: .82rem;
		}
		:root .post-reader-localized-context #autoScrollSpeedDisplay {
			font-weight: 800;
			font-size: .85rem;
			color: var(--lens-ink);
			background: var(--lens-tile);
			border: 1px solid var(--lens-hairline);
			border-radius: 999px;
			padding: .35rem .85rem;
			box-shadow: inset 0 1px 2px rgb(30 18 6 / 8%);
		}
		:root .post-reader-localized-context .auto-scroll-help {
			color: var(--lens-soft);
			font-size: .8rem;
			line-height: 1.55;
			margin: 0;
		}

		/* Font Alchemist + Theme Engine: tile | title, pill dropdown below */
		:root .post-reader-localized-context .settings-group:has(#fontSelector):has(> .control-label),
		:root .post-reader-localized-context .settings-group:has(#themeSelector):has(> .control-label) {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			grid-template-areas: "tile label" "field field";
			align-items: center;
			gap: .95rem;
		}
		:root .post-reader-localized-context .settings-group:has(#fontSelector):has(> .control-label)::before,
		:root .post-reader-localized-context .settings-group:has(#themeSelector):has(> .control-label)::before {
			grid-area: tile;
			inline-size: 3rem;
			block-size: 3rem;
			border-radius: 1rem;
			display: inline-grid;
			place-items: center;
			font-family: Georgia, 'Frank Ruhl Libre', serif;
			font-size: 1.35rem;
			font-weight: 700;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			border: 1px solid var(--lens-hairline);
			color: var(--lens-tile-ink);
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
		}
		:root .post-reader-localized-context .settings-group:has(#fontSelector):has(> .control-label)::before {
			content: "A";
		}
		:root .post-reader-localized-context .settings-group:has(#themeSelector):has(> .control-label)::before {
			content: "✎";
		}
		:root .post-reader-localized-context .settings-group:has(#fontSelector):has(> .control-label) > .control-label,
		:root .post-reader-localized-context .settings-group:has(#themeSelector):has(> .control-label) > .control-label {
			grid-area: label;
		}
		:root .post-reader-localized-context .theme-controls {
			display: contents;
		}
		:root .post-reader-localized-context #fontSelector,
		:root .post-reader-localized-context #themeSelector {
			grid-area: field;
			inline-size: 100%;
			min-block-size: 3.1rem;
			padding: .8rem 2.7rem .8rem 1.1rem;
			border: 1px solid var(--lens-hairline);
			border-radius: 1rem;
			background-color: var(--lens-field);
			background-image: url("https://awtsmoos.com/api/social/drive/public/awtsfixmvplwhac/repo-image-archive/sha256/463b08c39db08fe627f11a89b0b4c1c76acf0e9f9961e1fa49688edfb985788b/asset");
			background-repeat: no-repeat;
			background-position: right 1rem center;
			color: var(--lens-ink);
			font: 700 .98rem/1.4 system-ui;
			cursor: pointer;
			appearance: none;
			-webkit-appearance: none;
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
			transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
		}
		:root .post-reader-localized-context #fontSelector:hover,
		:root .post-reader-localized-context #themeSelector:hover {
			border-color: var(--lens-gold);
		}
		:root .post-reader-localized-context #fontSelector:focus-visible,
		:root .post-reader-localized-context #themeSelector:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context #fontSelector:active,
		:root .post-reader-localized-context #themeSelector:active {
			transform: scale(.995);
		}
		:root .post-reader-localized-context #fontSelector:disabled,
		:root .post-reader-localized-context #themeSelector:disabled {
			opacity: .45;
			cursor: not-allowed;
		}

		/* Language group (injected): tile | title, segmented below */
		:root .post-reader-localized-context .meluket-lang-settings-group {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			grid-template-areas: "tile label" "segmented segmented";
			align-items: center;
			gap: .95rem;
		}
		:root .post-reader-localized-context .meluket-lang-settings-group::before {
			content: "🌐";
			grid-area: tile;
			inline-size: 3rem;
			block-size: 3rem;
			border-radius: 1rem;
			display: inline-grid;
			place-items: center;
			font-size: 1.35rem;
			line-height: 1;
			background: linear-gradient(145deg, var(--lens-field), var(--lens-tile));
			border: 1px solid var(--lens-hairline);
			box-shadow: 0 .2rem .6rem var(--lens-shadow), inset 0 1px 0 rgb(255 255 255 / 45%);
		}
		:root .post-reader-localized-context .meluket-lang-settings-group > .control-label {
			grid-area: label;
		}
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-toggle-panel {
			grid-area: segmented;
		}

		/* Advanced appearance details */
		:root .post-reader-localized-context .reader-advanced-settings summary {
			display: flex;
			justify-content: space-between;
			align-items: center;
			gap: .75rem;
			cursor: pointer;
			color: var(--lens-ink);
			font-weight: 700;
			padding: .5rem 0;
			list-style: none;
		}
		:root .post-reader-localized-context .reader-advanced-settings summary::-webkit-details-marker {
			display: none;
		}
		:root .post-reader-localized-context .reader-advanced-settings summary::after {
			content: "›";
			color: var(--lens-gold-deep);
			font-size: 1.3rem;
			line-height: 1;
			transition: transform 180ms ease;
		}
		:root .post-reader-localized-context .reader-advanced-settings[open] summary::after {
			transform: rotate(90deg);
		}
		:root .post-reader-localized-context .reader-advanced-settings summary small {
			color: var(--lens-soft);
			font-weight: 400;
		}
		
		
		
		:root .post-reader-localized-context .color-picker-grid {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: .7rem;
		}
		:root .post-reader-localized-context .color-control {
			display: grid;
			gap: .4rem;
		}
		:root .post-reader-localized-context .color-control label {
			color: var(--lens-ink);
			font-size: .85rem;
			font-weight: 700;
		}
		:root .post-reader-localized-context .ink-pot {
			inline-size: 100%;
			block-size: 3rem;
			border: 1px solid var(--lens-hairline);
			border-radius: 1rem;
			background: var(--lens-field);
			cursor: pointer;
			padding: 4px;
			box-shadow: inset 0 1px 3px rgb(30 18 6 / 10%);
		}
		:root .post-reader-localized-context .ink-pot:hover {
			border-color: var(--lens-gold);
		}
		:root .post-reader-localized-context .ink-pot:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .ink-pot:disabled {
			opacity: .45;
			cursor: not-allowed;
		}

		/* Reset section — dream outline pill */
		:root .post-reader-localized-context .reset-section {
			padding: 0 1.3rem 1.4rem;
		}
		:root .post-reader-localized-context #resetDefaultsBtn {
			inline-size: 100%;
			min-block-size: 3.1rem;
			border: 1.5px solid var(--lens-gold-deep);
			border-radius: 999px;
			background: transparent;
			color: var(--lens-gold-deep);
			font: 700 .95rem/1 system-ui;
			cursor: pointer;
			transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
		}
		:root .post-reader-localized-context #resetDefaultsBtn:hover {
			background: var(--lens-gold-deep);
			border-color: var(--lens-gold-deep);
			color: var(--lens-on-gold);
		}
		:root .post-reader-localized-context #resetDefaultsBtn:focus-visible {
			outline: 2px solid var(--lens-gold);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context #resetDefaultsBtn:disabled {
			opacity: .45;
			cursor: not-allowed;
			transform: none;
		}

		/* Floating controls (Aa / Sources buttons) */
		:root .post-reader-localized-context .awtsmoos-floating-controls {
			position: fixed;
			z-index: 984;
			inset-inline-end: max(.75rem, env(safe-area-inset-right, 0px));
			bottom: max(.75rem, env(safe-area-inset-bottom, 0px));
			display: flex;
			gap: .5rem;
		}
		:root .post-reader-localized-context #typographyBtn,
		:root .post-reader-localized-context #commentaryBtn {
			min-block-size: 44px;
			min-inline-size: 44px;
			padding: .65rem .9rem;
			border: 1px solid var(--lens-hairline);
			border-radius: 999px;
			background: var(--lens-field);
			color: var(--lens-ink);
			font: 800 .9rem/1 system-ui;
			cursor: pointer;
			box-shadow: 0 .5rem 1.5rem var(--lens-shadow);
			transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
		}
		:root .post-reader-localized-context #typographyBtn:hover,
		:root .post-reader-localized-context #commentaryBtn:hover {
			transform: translateY(-1px);
			border-color: var(--lens-gold);
		}
		
		
		:root .post-reader-localized-context #typographyBtn.pushed {
			background: var(--lens-gold);
			border-color: var(--lens-gold);
			color: var(--lens-on-gold);
		}
		

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-sefer-body-tokens */
/* B"H — Sefer body text tokens.
		   ROOT CAUSE of white-on-white body text: --sefer-* variables were defined
		   on .meluket-sefer-active .meluket-sefer (inner container), but the Overview,
		   Q&A, and body elements are SIBLINGS of .meluket-sefer — CSS variables do
		   not cross to siblings, so var(--sefer-ink-soft) was UNDEFINED for body text
		   → invalid → inherited white → white-on-white.
		   FIX: define tokens on .post-reader-localized-context (the reader root that
		   wraps EVERYTHING), so every descendant sees them.
		   Inline in the template to bypass the fragile @import chain.
		   Light is the default; dark overrides below. No !important, ever. */
		:root .post-reader-localized-context,
		:root[data-theme="light"] .post-reader-localized-context {
			--sefer-paper: #f7f1e3;
			--sefer-paper-deep: #efe4cd;
			--sefer-ink: #2b2118;
			--sefer-title-ink: #1f1712;
			--sefer-ink-soft: #5a4c3d;
			--sefer-accent: #8a6d3b;
			--sefer-rule: #d9c9a8;
			--sefer-card: #fffdf6;
			--sefer-focus: #b3541e;
			--sefer-shadow: 0 2px 14px rgba(90, 70, 40, 0.10);
			/* B"H — tokenized accents: no hardcoded colors at usage sites. */
			--sefer-on-accent: #fffdf6;
			--sefer-reader-ink: #1b1b1b;
			--sefer-reader-bg: transparent;
		}
		:root[data-theme="dark"] .post-reader-localized-context {
			--sefer-paper: #171209;
			--sefer-paper-deep: #100c06;
			--sefer-ink: #f0e7d3;
			--sefer-title-ink: #faf3e2;
			--sefer-ink-soft: #c9b992;
			--sefer-accent: #d4a94e;
			--sefer-rule: #4a3a22;
			--sefer-card: #201a10;
			--sefer-focus: #e8a34d;
			--sefer-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
			/* B"H — tokenized accents: no hardcoded colors at usage sites. */
			--sefer-on-accent: #171209;
			--sefer-reader-ink: #f3e3b0;
			--sefer-reader-bg: #171209;
		}
		/* Critical body text: explicit colors in both themes, no @import dependency. */
		
		
		/* B"H — the בס״ד title must never render faint: explicit ink, full
		   opacity, no glow washout in light mode. */
		:root .post-reader-localized-context .meluket-sefer-title-he {
			opacity: 1;
			text-shadow: none;
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-sefer-title-he {
			opacity: 1;
		}
		
		
		:root .post-reader-localized-context .meluket-post-summary {
			background: var(--sefer-paper-deep);
			border-color: var(--sefer-rule);
		}

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-sefer-controls */
/* B"H — Language toggle + critical text sizes, inlined.
		   The @import chain for meluket-sefer.css is fragile; these critical
		   controls must render styled even when the chain breaks.
		   Yaakov's laws: every interactive element gets full states;
		   explicit colors for both themes; NEVER !important. */
		/* B"H — Yaakov: language toggle NEVER on the main page.
		   It lives ONLY inside the Scribe's Lens settings panel.
		   This hides it if JS ever renders it as a direct child of .meluket-sefer. */
		:root .post-reader-localized-context .meluket-sefer > .meluket-lang-toggle {
			display: none;
		}
		:root .post-reader-localized-context .meluket-lang-toggle,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-toggle {
			display: flex;
			gap: 0.75rem;
			justify-content: center;
			align-items: center;
			flex-wrap: wrap;
			margin: 0 auto 2rem;
			padding: 0.5rem;
		}
		:root .post-reader-localized-context .meluket-lang-btn,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-btn {
			font-family: inherit;
			font-size: 1.35rem;
			font-weight: 700;
			line-height: 1.2;
			padding: 0.85rem 1.75rem;
			border-radius: 999px;
			border: 2px solid var(--sefer-rule);
			background: var(--sefer-card);
			color: var(--sefer-ink-soft);
			cursor: pointer;
			transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
			min-width: 44px;
			min-height: 44px;
		}
		:root .post-reader-localized-context .meluket-lang-btn:hover {
			border-color: var(--sefer-accent);
			color: var(--sefer-ink);
			transform: translateY(-1px);
		}
		:root .post-reader-localized-context .meluket-lang-btn:focus-visible {
			outline: 3px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .meluket-lang-btn:active {
			transform: translateY(1px) scale(0.98);
			border-color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .meluket-lang-btn:disabled {
			opacity: 0.45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .meluket-lang-btn.is-active,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-btn.is-active {
			background: var(--sefer-accent);
			border-color: var(--sefer-accent);
			color: var(--sefer-on-accent);
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-btn.is-active {
			color: var(--sefer-on-accent);
		}
		/* B"H — Language toggle INSIDE the Scribe's Lens panel.
		   Segmented control matching the panel design. Full states, both themes. */
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-toggle-panel,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-toggle-panel {
			display: flex;
			gap: 0.5rem;
			margin: 0;
			padding: 0.35rem;
			border-radius: 999px;
			background: rgb(122 82 31 / 10%);
			border: 1px solid rgb(122 82 31 / 20%);
		}
		
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn {
			flex: 1;
			font-family: inherit;
			font-size: 0.95rem;
			font-weight: 700;
			line-height: 1.2;
			padding: 0.7rem 0.5rem;
			border-radius: 999px;
			border: 1px solid transparent;
			background: transparent;
			color: var(--lens-lang-idle);
			cursor: pointer;
			transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
			min-width: 44px;
			min-height: 44px;
			margin: 0;
		}
		
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn:hover {
			color: var(--lens-lang-hover);
			background: rgb(255 255 255 / 50%);
		}
		
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn:focus-visible {
			outline: 2px solid var(--lens-lang-focus);
			outline-offset: 2px;
		}
		
		
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn:disabled {
			opacity: 0.45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn.is-active,
		:root[data-theme="light"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn.is-active {
			background: var(--lens-gold);
			border-color: var(--lens-gold);
			color: var(--lens-active-ink);
			box-shadow: 0 2px 8px rgb(199 154 75 / 40%);
		}
		
		/* Footnote markers: real <sup>, LAW 8 gold pills — never gray boxes,
		   never plain numbers. Tappable, keyboard accessible, popup on tap. */
		:root .post-reader-localized-context sup.meluket-fn-marker,
		:root[data-theme="light"] .post-reader-localized-context sup.meluket-fn-marker,
		:root[data-theme="dark"] .post-reader-localized-context sup.meluket-fn-marker {
			display: inline-block;
			min-width: 1.6em;
			padding: 0.12em 0.34em;
			margin-inline-start: 0.24em;
			border-radius: 999px;
			background: linear-gradient(160deg, var(--law8-gold-bright), var(--law8-gold) 58%, var(--law8-gold-deep));
			color: var(--law8-on-gold);
			font-size: 0.62em;
			font-weight: 800;
			line-height: 1.5;
			text-align: center;
			text-decoration: none;
			vertical-align: super;
			cursor: pointer;
			box-shadow: 0 2px 8px rgba(var(--law8-glow), 0.35), inset 0 1px 0 rgba(var(--law8-glow), 0.40);
			transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
		}
		:root .post-reader-localized-context sup.meluket-fn-marker:hover {
			filter: brightness(1.10);
			box-shadow: 0 3px 12px rgba(var(--law8-glow), 0.50), inset 0 1px 0 rgba(var(--law8-glow), 0.40);
			transform: translateY(-1px);
		}
		:root .post-reader-localized-context sup.meluket-fn-marker:focus-visible {
			outline: 2px solid var(--law8-gold-bright);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context sup.meluket-fn-marker:active {
			transform: scale(0.90);
		}
		/* Critical text sizes: Yaakov wants text MUCH bigger by default.
		   These mirror meluket-sefer.css but load even when @import breaks. */
		
		
		
		

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-dream-typography */
/* B"H — Dream typography: match the approved mockups exactly.
		   Warm cream paper, huge Hebrew serif, clean sans English, elegant cards.
		   Yaakov's laws: zero !important, explicit colors for both themes,
		   CSS custom properties only. Later + equal specificity wins over the
		   earlier inline blocks, so these sizes are the final word. */
		:root .post-reader-localized-context {
			--dream-hebrew-font: "Frank Ruhl Libre", "Cardo", "Times New Roman", serif;
			--dream-serif-font: "Source Serif 4", "Cardo", Georgia, serif;
			--dream-sans-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
		}
		/* Reading paper: full-bleed warm cream like the dream.
		   B"H round 11: the old 6vw/10vw padding (115px top, 191px bottom
		   at a 1919px viewport) plus the title's 7vw margin left a ~450px
		   dead band between the Contents bar and the first card. Tighten
		   both so the text starts promptly. */
		/* B"H batch 34: no paper card here either — plain page, no box. */
		:root .post-reader-localized-context .meluket-sefer {
			padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
		}
		/* Title: huge dark-brown Hebrew serif, centered. */
		:root .post-reader-localized-context .meluket-sefer-title {
			text-align: center;
			max-width: 48rem;
			margin: 0 auto 1rem;
			padding-top: 0.5rem;
		}
		:root .post-reader-localized-context .meluket-sefer-title-he {
			font-family: var(--dream-hebrew-font);
			font-weight: 700;
			font-size: clamp(3.4rem, 11vw, 6.5rem);
			line-height: 1.35;
			letter-spacing: 0.01em;
			color: var(--sefer-title-ink);
			text-wrap: balance;
			/* B"H batch 49 (failure 4 — glyph clipping): a long Hebrew
			   title word must never overhang the card edge. Wrap
			   anywhere and cap at the card width. */
			overflow-wrap: anywhere;
			word-break: break-word;
			max-inline-size: 100%;
			margin: 0;
		}
		/* Overview card: cream card, soft shadow, serif heading, sans body. */
		:root .post-reader-localized-context .meluket-post-summary {
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-radius: 1.75rem;
			box-shadow: var(--sefer-shadow);
			padding: clamp(1.75rem, 5vw, 3rem);
			margin: 0 auto clamp(2.5rem, 7vw, 4.5rem);
			max-width: 46rem;
			font-family: var(--dream-sans-font);
			font-size: clamp(1.5rem, 3.8vw, 2rem);
			line-height: 1.7;
			color: var(--sefer-ink-soft);
		}
		:root .post-reader-localized-context .meluket-post-summary .meluket-summary-label {
			font-family: var(--dream-serif-font);
			font-weight: 700;
			font-size: clamp(1.9rem, 4.5vw, 2.6rem);
			line-height: 1.3;
			color: var(--sefer-title-ink);
			margin: 0 0 1rem;
			display: flex;
			align-items: center;
			gap: 0.75rem;
		}
		:root .post-reader-localized-context .meluket-post-summary .meluket-summary-label::before {
			content: "\1F4D6";
		}
		:root .post-reader-localized-context .meluket-post-summary p {
			margin: 0;
			text-wrap: pretty;
			color: var(--sefer-ink);
		}
		/* B"H batch 34: verse sections — plain column, no dashed dividers. */
		:root .post-reader-localized-context .meluket-sefer-section {
			max-width: none;
			margin: 0 auto;
			padding: clamp(2rem, 6vw, 3.5rem) 0;
		}
		:root .post-reader-localized-context .meluket-sefer-section:first-of-type {
			border-top: none;
			padding-top: 0;
		}
		/* Siman medallion. */
		:root .post-reader-localized-context .meluket-section-marker {
			text-align: center;
			margin: 0 0 1.75rem;
		}
		:root .post-reader-localized-context .meluket-section-number {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-width: 2.9rem;
			height: 2.9rem;
			padding: 0 0.6rem;
			border-radius: 999px;
			border: 2px solid var(--sefer-rule);
			background: var(--sefer-card);
			color: var(--sefer-accent);
			font-family: var(--dream-serif-font);
			font-weight: 700;
			font-size: 1.25rem;
			line-height: 1;
		}
		/* Phrase pairs — TRUE interleaving: each pair holds one Hebrew phrase
		   block immediately followed by ITS English block, never a separate
		   English vessel. (Yaakov defect #3.) */
		:root .post-reader-localized-context .meluket-phrase-pair {
			margin: 0 0 2.2em;
		}
		:root .post-reader-localized-context .meluket-phrase-pair:last-child {
			margin-bottom: 0;
		}
		/* Hebrew: the ikar. Big traditional serif, generous nikkud line-height.
		   Sized for VISUAL parity with the English: Hebrew glyphs render
		   smaller than Latin at the same em size, so the Hebrew runs larger —
		   never smaller than the English. */
		:root .post-reader-localized-context .meluket-phrase--he {
			font-family: var(--dream-hebrew-font);
			font-weight: 700;
			font-size: calc(var(--sefer-phrase-size, var(--post-text-size, 3rem)) * var(--hebrew-optical, 1));
			line-height: 1.85;
			letter-spacing: 0.005em;
			color: var(--sefer-title-ink);
			margin: 0;
			text-wrap: pretty;
			text-rendering: optimizeLegibility;
		}
		:root .post-reader-localized-context .meluket-hebrew {
			font-family: var(--dream-hebrew-font);
			font-weight: 700;
			font-size: calc(var(--sefer-phrase-size, var(--post-text-size, 3rem)) * var(--hebrew-optical, 1));
			line-height: 1.85;
			letter-spacing: 0.005em;
			color: var(--sefer-title-ink);
			margin: 0 0 1.75rem;
			text-wrap: pretty;
			text-rendering: optimizeLegibility;
		}
		:root .post-reader-localized-context .meluket-hebrew .meluket-phrase {
			margin: 0 0 0.4em;
		}
		:root .post-reader-localized-context .meluket-hebrew .meluket-phrase:last-child {
			margin-bottom: 0;
		}
		/* English: beneath its Hebrew phrase, never beside. Clean, large, softer ink. */
		:root .post-reader-localized-context .meluket-phrase--en {
			font-family: var(--dream-sans-font);
			font-weight: 400;
			font-size: var(--sefer-phrase-size, var(--post-text-size, 3rem));
			line-height: 1.75;
			color: var(--sefer-ink-soft);
			/* B"H batch 34: no dashed divider — the English sits tight
			   under its Hebrew, like the sefer.css rule already says. */
			margin: 0;
			padding-top: 0;
			text-wrap: pretty;
			text-rendering: optimizeLegibility;
		}
		:root .post-reader-localized-context .meluket-english {
			font-family: var(--dream-sans-font);
			font-weight: 400;
			font-size: var(--sefer-phrase-size, var(--post-text-size, 3rem));
			line-height: 1.75;
			color: var(--sefer-ink-soft);
			margin: 0;
			text-wrap: pretty;
			text-rendering: optimizeLegibility;
		}
		:root .post-reader-localized-context .meluket-english p {
			margin: 0 0 1em;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context .meluket-english p:last-child {
			margin-bottom: 0;
			color: var(--sefer-ink);
		}
		/* Section summary: the hadracha beneath the translation. */
		:root .post-reader-localized-context .meluket-summary {
			font-family: var(--dream-sans-font);
			font-size: clamp(1.4rem, 3.6vw, 1.9rem);
			line-height: 1.75;
			color: var(--sefer-ink-soft);
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-inline-start: 4px solid var(--sefer-accent);
			border-radius: 0.25rem 1.25rem 1.25rem 0.25rem;
			padding: 1.25rem 1.5rem;
			margin: 2rem 0 0;
		}
		:root .post-reader-localized-context .meluket-summary .meluket-summary-label {
			font-family: var(--dream-serif-font);
			font-weight: 700;
			font-size: 1.15em;
			color: var(--sefer-title-ink);
			margin-bottom: 0.5rem;
		}
		/* Q&A typography. */
		:root .post-reader-localized-context .meluket-qa {
			max-width: none;
			margin: 0 auto;
			padding: clamp(2rem, 6vw, 3.5rem) 0;
		}
		:root .post-reader-localized-context .meluket-qa-title {
			font-family: var(--dream-hebrew-font);
			font-weight: 700;
			font-size: clamp(2.2rem, 5.5vw, 3.2rem);
			color: var(--sefer-title-ink);
			text-align: center;
			margin: 0 0 2rem;
		}
		:root .post-reader-localized-context .meluket-qa-item {
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-radius: 1.25rem;
			padding: 1.5rem 1.75rem;
			margin-bottom: 1.25rem;
			box-shadow: var(--sefer-shadow);
		}
		:root .post-reader-localized-context .meluket-qa-q {
			font-family: var(--dream-sans-font);
			font-weight: 700;
			font-size: clamp(1.5rem, 3.8vw, 2rem);
			line-height: 1.5;
			color: var(--sefer-ink);
			margin-bottom: 0.75rem;
		}
		
		/* Text selection in the sefer's accent. */
		:root .post-reader-localized-context .meluket-sefer ::selection {
			background: var(--sefer-accent);
			color: var(--sefer-paper);
		}

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-dream-dark */
/* B"H — Dream dark theme. Reference:
		   workspace/imagine_media/media-generation-heichel-dream-dark-0-c19da6db-7aa1-4e70-bbf0-9a86dbc084b4.webp
		   Warm (not cool) dark: deep brown-black paper, gold/amber accents,
		   luminous Hebrew glow, light-gray English, dark glassmorphism cards.
		   This block sits LAST in <head>, so equal-specificity dark rules here
		   win over the older cyan-accented dark rules above. No !important, ever.
		   All colors via CSS variables defined here. */
		:root[data-theme="dark"] .post-reader-localized-context {
			--dream-bg: #171209;
			--dream-bg-deep: #100c06;
			--dream-card: rgb(32 26 16 / 86%);
			--dream-gold: #d4a94e;
			--dream-gold-soft: #f6cc72;
			--dream-gold-glow: rgb(212 169 78 / 32%);
			--dream-gold-line: rgb(212 169 78 / 30%);
			--dream-ink: #f0e7d3;
			--dream-ink-soft: #c9b992;
			--dream-en: #d8d2c4;
			--dream-he-lume: #f3e3b0;
			--dream-focus: #e8a34d;
			--dream-shadow: 0 2rem 7rem rgb(0 0 0 / 55%), inset 0 1px 0 rgb(246 204 114 / 10%);
		}

		/* Page paper: warm dark, not cool navy */
		:root[data-theme="dark"] .post-reader-localized-context,
		:root[data-theme="dark"] .post-reader-localized-context .section {
			background: var(--dream-bg);
			background-color: var(--dream-bg);
		}

		/* Hebrew: luminous pale gold with a soft glow (the dream look) */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-hebrew,
		:root[data-theme="dark"] .post-reader-localized-context .sub-awtsmoos.heb,
		:root[data-theme="dark"] .post-reader-localized-context .heb {
			color: var(--dream-he-lume);
			/* B"H no glowing effects on the reader, ever — Hebrew glow removed. */
			text-shadow: none;
		}
		/* Title: bigger luminous gold */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-sefer-title-he,
		:root[data-theme="dark"] .post-reader-localized-context .meluket-qa-title {
			color: var(--dream-gold-soft);
			/* B"H no glowing effects on the reader, ever — title glow removed. */
			text-shadow: none;
		}
		/* English: light warm gray, readable */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-english {
			color: var(--dream-en);
			text-shadow: none;
		}
		/* Summary text: warm soft */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-post-summary,
		:root[data-theme="dark"] .post-reader-localized-context .meluket-summary,
		:root[data-theme="dark"] .post-reader-localized-context .meluket-post-summary p,
		:root[data-theme="dark"] .post-reader-localized-context .meluket-summary p {
			color: var(--dream-ink-soft);
		}
		/* Overview card: dark warm glass with gold line */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-post-summary {
			background: var(--dream-card);
			-webkit-backdrop-filter: blur(12px) saturate(1.1);
			backdrop-filter: blur(12px) saturate(1.1);
			border-color: var(--dream-gold-line);
			box-shadow: 0 8px 28px rgb(0 0 0 / 45%), inset 0 1px 0 rgb(246 204 114 / 8%);
		}

		/* Overlay: warm dim */
		:root[data-theme="dark"] .post-reader-localized-context .scribe-lens-overlay {
			background: rgb(12 8 4 / 62%);
		}

		/* Panel shell: dark warm glassmorphism, gold line (the dream card) */
		:root[data-theme="dark"] .post-reader-localized-context .typography-details {
			border-color: var(--dream-gold-line);
			background: linear-gradient(145deg, rgb(246 204 114 / 7%), transparent 46%), rgb(23 18 9 / 94%);
			-webkit-backdrop-filter: blur(18px) saturate(1.15);
			backdrop-filter: blur(18px) saturate(1.15);
			box-shadow: var(--dream-shadow);
		}

		/* Settings group cards: dark warm glass */
		:root[data-theme="dark"] .post-reader-localized-context .settings-group {
			border-color: rgb(212 169 78 / 16%);
			background: linear-gradient(145deg, rgb(246 204 114 / 6%), rgb(23 18 9 / 55%));
			box-shadow: inset 0 1px 0 rgb(246 204 114 / 7%);
		}

		/* B"H round 8: the dark .control-label / .setting-name color rules
		   are deleted here; awtsmoos-scroll-sovereignty.css sets them
		   (same selectors, later file) and wins. One value, one place. */

		/* Focus toggle: warm dark track, gold knob, gold on-state */
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle {
			border-color: rgb(212 169 78 / 42%);
			background: rgb(16 12 6 / 85%);
		}
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle::after {
			background: var(--dream-gold-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle:checked {
			background: var(--dream-gold);
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle:checked::after {
			background: var(--dream-bg-deep);
		}
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle:hover {
			border-color: var(--dream-gold-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context #focusModeToggle:focus-visible {
			outline: 2px solid var(--dream-focus);
		}

		/* Text-scale buttons: warm dark glass, gold hover/focus */
		:root[data-theme="dark"] .post-reader-localized-context .font-adjust-btn {
			border-color: rgb(212 169 78 / 24%);
			background: linear-gradient(145deg, rgb(246 204 114 / 8%), rgb(16 12 6 / 85%));
			color: var(--dream-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context .font-adjust-btn:hover {
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context .font-adjust-btn:focus-visible {
			outline: 2px solid var(--dream-focus);
		}
		:root[data-theme="dark"] .post-reader-localized-context .font-size-display {
			border-color: rgb(212 169 78 / 22%);
			background: rgb(16 12 6 / 70%);
			color: var(--dream-gold-soft);
		}

		/* Auto-scroll: warm text, gold toggle, gold slider */
		:root[data-theme="dark"] .post-reader-localized-context #autoScrollStatus,
		:root[data-theme="dark"] .post-reader-localized-context .speed-word,
		:root[data-theme="dark"] .post-reader-localized-context .speed-readout-row,
		:root[data-theme="dark"] .post-reader-localized-context .auto-scroll-help {
			color: var(--dream-ink-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context #autoScrollSpeedDisplay {
			color: var(--dream-gold-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context .auto-scroll-settings-toggle {
			border-color: rgb(212 169 78 / 24%);
			background: linear-gradient(145deg, rgb(246 204 114 / 8%), rgb(16 12 6 / 85%));
			color: var(--dream-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context .auto-scroll-settings-toggle:hover {
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context .auto-scroll-settings-toggle:focus-visible {
			outline: 2px solid var(--dream-focus);
		}
		:root[data-theme="dark"] .post-reader-localized-context .auto-scroll-settings-toggle[aria-pressed="true"] {
			background: var(--dream-gold);
			border-color: var(--dream-gold);
			color: var(--dream-bg-deep);
		}
		:root[data-theme="dark"] .post-reader-localized-context #autoScrollSpeedRange {
			accent-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context #autoScrollSpeedRange:focus-visible {
			outline: 2px solid var(--dream-focus);
		}

		/* Selects: warm dark, gold hover/focus */
		:root[data-theme="dark"] .post-reader-localized-context #fontSelector,
		:root[data-theme="dark"] .post-reader-localized-context #themeSelector {
			border-color: rgb(212 169 78 / 24%);
			background: linear-gradient(145deg, rgb(246 204 114 / 8%), rgb(16 12 6 / 85%));
			color: var(--dream-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context #fontSelector:hover,
		:root[data-theme="dark"] .post-reader-localized-context #themeSelector:hover {
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context #fontSelector:focus-visible,
		:root[data-theme="dark"] .post-reader-localized-context #themeSelector:focus-visible {
			outline: 2px solid var(--dream-focus);
		}

		/* Advanced settings + color controls: warm */
		
		:root[data-theme="dark"] .post-reader-localized-context .reader-advanced-settings summary small {
			color: var(--dream-ink-soft);
		}
		
		
		:root[data-theme="dark"] .post-reader-localized-context .color-control label {
			color: var(--dream-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context .ink-pot {
			border-color: rgb(212 169 78 / 24%);
			background: rgb(16 12 6 / 70%);
		}
		:root[data-theme="dark"] .post-reader-localized-context .ink-pot:hover {
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context .ink-pot:focus-visible {
			outline: 2px solid var(--dream-focus);
		}

		/* Reset: gold outline pill (dream) */
		:root[data-theme="dark"] .post-reader-localized-context #resetDefaultsBtn {
			border-color: var(--dream-gold);
			color: var(--dream-gold-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context #resetDefaultsBtn:hover {
			background: var(--dream-gold);
			border-color: var(--dream-gold);
			color: var(--dream-bg-deep);
		}
		:root[data-theme="dark"] .post-reader-localized-context #resetDefaultsBtn:focus-visible {
			outline: 2px solid var(--dream-focus);
		}

		/* Floating Aa / Sources: warm dark glass pills, gold line, gold pushed */
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn,
		:root[data-theme="dark"] .post-reader-localized-context #commentaryBtn {
			border-color: rgb(212 169 78 / 30%);
			background: rgb(23 18 9 / 94%);
			-webkit-backdrop-filter: blur(12px) saturate(1.1);
			backdrop-filter: blur(12px) saturate(1.1);
			color: var(--dream-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn:hover,
		:root[data-theme="dark"] .post-reader-localized-context #commentaryBtn:hover {
			border-color: var(--dream-gold);
		}
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn:focus-visible,
		:root[data-theme="dark"] .post-reader-localized-context #commentaryBtn:focus-visible {
			outline: 2px solid var(--dream-focus);
		}
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn.pushed {
			background: var(--dream-gold);
			border-color: var(--dream-gold);
			color: var(--dream-bg-deep);
		}

		/* Language segmented control inside panel: warm container, gold active */
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-toggle-panel {
			background: rgb(212 169 78 / 10%);
			border-color: rgb(212 169 78 / 26%);
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn {
			color: var(--dream-ink-soft);
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn:hover {
			color: var(--dream-ink);
			background: rgb(212 169 78 / 12%);
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn:focus-visible {
			outline-color: var(--dream-focus);
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-lang-settings-group .meluket-lang-btn.is-active {
			background: var(--dream-gold);
			border-color: var(--dream-gold);
			color: var(--dream-bg-deep);
			box-shadow: 0 2px 10px rgb(212 169 78 / 30%);
		}

		/* Footnote markers: the base LAW 8 gold-pill rule above already covers
		   dark via the --law8-* dark tokens. No separate dark override. */

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-dream-layout */
/* B"H — Dream layout: warm sefer page, one content card, refined header,
		   floating Aa dock. Matches the approved dream mockups exactly.
		   Inline in the template to bypass the fragile @import chain.
		   Yaakov's laws: ZERO !important; explicit colors for both themes;
		   CSS custom-property tokens only; full interactive states everywhere. */

		/* ---------- page ---------- */
		:root .post-reader-localized-context,
		:root[data-theme="light"] .post-reader-localized-context {
			background: var(--sefer-paper);
			color: var(--sefer-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context {
			background: var(--sefer-paper);
			color: var(--sefer-ink);
		}

		/* content column */
		:root .post-reader-localized-context #realPost {
			/* B"H batch 47: the column was 100vw - 2rem (16px a side) before
			   the card's own 24px padding — at 144px only a few words fit
			   per line. 0.5rem keeps a hair of page edge; the card still
			   reads as a card. */
			/* B"H batch 48: the 46rem cap (736px) still centred a narrow
			   column with wide side margins at 144px — the rendered check
			   measured ~775px on a 1919px viewport. 72rem (1152px) is the
			   new cap; a phone still takes the full 100vw - 0.5rem. */
			max-inline-size: min(72rem, calc(100vw - 0.5rem));
			margin-inline: auto;
			padding-block: 2.5rem 7rem;
		}

		/* ---------- the one content card ---------- */
		:root .post-reader-localized-context #realPost .meluket-sefer,
		:root[data-theme="light"] .post-reader-localized-context #realPost .meluket-sefer {
			/* B"H batch 47: the card's side padding was clamp(1.5rem, 4vw,
			   2.75rem) — 24px a side on a phone, the wide beige margins.
			   8px a side now; the words get the room, the card keeps its
			   edge. The desktop @media override below is untouched. */
			--dream-pad: clamp(0.5rem, 2vw, 0.75rem);
			background: var(--sefer-card);
			border: 1px solid rgb(122 82 31 / 12%);
			border-radius: 1.75rem;
			box-shadow: 0 1.5rem 4rem rgb(96 70 32 / 14%), 0 2px 8px rgb(96 70 32 / 8%);
			/* B"H round 11: top padding tightened (was the full --dream-pad,
			   up to 44px) — part of the dead band above the first card. */
			padding: clamp(0.75rem, 2vw, 1.25rem) var(--dream-pad) var(--dream-pad);
			color: var(--sefer-ink);
		}
		:root[data-theme="dark"] .post-reader-localized-context #realPost .meluket-sefer {
			border-color: rgb(212 169 78 / 14%);
			box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 50%), 0 2px 8px rgb(0 0 0 / 40%);
		}

		/* ---------- title: visually OUTSIDE the card, on the page ---------- */
		/* B"H batch 38: the paper background made the heading read as a tan
		   box across the top of the card (the checks flagged it with the
		   phrase boxes). Title now sits on the card itself; the double rule
		   below it (meluket-sefer.css) stays as the divider. */
		:root .post-reader-localized-context .meluket-sefer-title {
			text-align: center;
			background: transparent;
			margin: calc(var(--dream-pad, 2rem) * -1) calc(var(--dream-pad, 2rem) * -1) 1rem;
			padding: calc(var(--dream-pad, 2rem) * 0.5) var(--dream-pad, 2rem) 0;
			border-radius: 1.75rem 1.75rem 0 0;
		}
		:root .post-reader-localized-context .meluket-sefer-title-he {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			color: var(--sefer-title-ink);
			text-wrap: balance;
			margin: 0;
		}

		/* ---------- overview: top section inside the card ---------- */
		:root .post-reader-localized-context .meluket-post-summary,
		:root .post-reader-localized-context .meluket-summary {
			background: transparent;
			border: 0;
			border-block-end: 1px solid var(--sefer-rule);
			border-radius: 0;
			box-shadow: none;
			margin-block: 0 1.75rem;
			padding-block: 0 1.75rem;
		}
		:root .post-reader-localized-context .meluket-summary-label {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: clamp(1.6rem, 4vw, 2.1rem);
			font-weight: 700;
			color: var(--sefer-title-ink);
			margin-block-end: 0.9rem;
			display: flex;
			align-items: center;
			gap: 0.6rem;
		}
		:root .post-reader-localized-context .meluket-summary-label::before {
			content: "\1F4D6";
			font-size: 0.9em;
			line-height: 1;
		}
		:root .post-reader-localized-context .meluket-post-summary p,
		:root .post-reader-localized-context .meluket-summary p {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			max-inline-size: 62ch;
			margin-block: 0 0.9em;
		}
		:root .post-reader-localized-context .meluket-post-summary p:last-child,
		:root .post-reader-localized-context .meluket-summary p:last-child {
			margin-block-end: 0;
			color: var(--sefer-ink);
		}

		/* B"H batch 34: no hairline dividers between sections either. */
		:root .post-reader-localized-context .meluket-sefer-section {
			padding-block: 1.5rem;
		}
		:root .post-reader-localized-context .meluket-sefer-section:last-child {
			border-block-end: 0;
			padding-block-end: 0.5rem;
		}
		:root .post-reader-localized-context .meluket-section-marker {
			margin-block-end: 0.75rem;
		}
		:root .post-reader-localized-context .meluket-section-number {
			font-family: "Inter", system-ui, sans-serif;
			font-size: 0.85rem;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .meluket-hebrew {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			color: var(--sefer-ink);
			margin-block-end: 1rem;
			text-wrap: pretty;
		}
		:root .post-reader-localized-context .meluket-english,
		:root[data-theme="light"] .post-reader-localized-context .meluket-english {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			max-inline-size: 68ch;
		}
		:root[data-theme="dark"] .post-reader-localized-context .meluket-english {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
		}
		:root .post-reader-localized-context .meluket-phrase {
			margin-block-end: 0;
		}

		/* ---------- Q&A ---------- */
		:root .post-reader-localized-context .meluket-qa {
			margin-block-start: 0.5rem;
		}
		:root .post-reader-localized-context .meluket-qa-title {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: clamp(1.6rem, 4vw, 2.1rem);
			font-weight: 700;
			color: var(--sefer-title-ink);
			margin-block: 0.5rem 1.25rem;
			padding-block-start: 1.75rem;
			border-block-start: 1px solid var(--sefer-rule);
		}
		:root .post-reader-localized-context .meluket-qa-list {
			display: grid;
			gap: 1.25rem;
		}
		:root .post-reader-localized-context .meluket-qa-item {
			display: grid;
			gap: 0.5rem;
			padding-block-end: 1.25rem;
			border-block-end: 1px solid var(--sefer-rule);
		}
		:root .post-reader-localized-context .meluket-qa-item:last-child {
			border-block-end: 0;
			padding-block-end: 0;
		}
		:root .post-reader-localized-context .meluket-qa-q {
			font-family: "Source Serif 4", Georgia, serif;
			font-weight: 700;
			color: var(--sefer-ink);
			font-size: 1.15rem;
			line-height: 1.6;
		}
		:root .post-reader-localized-context .meluket-qa-a {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			font-size: 1.05rem;
			line-height: 1.65;
		}

		/* ---------- footnotes shelf ---------- */
		:root .post-reader-localized-context .meluket-footnotes-shelf {
			margin-block-start: 0.5rem;
			padding-block-start: 1.75rem;
			border-block-start: 1px solid var(--sefer-rule);
		}
		:root .post-reader-localized-context .meluket-footnotes-title {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: clamp(1.4rem, 3.4vw, 1.8rem);
			font-weight: 700;
			color: var(--sefer-title-ink);
			margin-block-end: 1rem;
		}
		:root .post-reader-localized-context .meluket-footnotes-list {
			display: grid;
			gap: 1rem;
			list-style: none;
			margin: 0;
			padding: 0;
		}
		:root .post-reader-localized-context .meluket-footnote {
			display: flex;
			gap: 0.75rem;
			align-items: baseline;
		}
		:root .post-reader-localized-context .meluket-footnote-num {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex: none;
			width: 2.4rem;
			height: 2.4rem;
			border-radius: 50%;
			background: linear-gradient(160deg, var(--law8-gold-bright), var(--law8-gold) 58%, var(--law8-gold-deep));
			color: var(--law8-on-gold);
			font-family: "Inter", system-ui, sans-serif;
			font-size: 1.05rem;
			font-weight: 800;
			line-height: 1;
			box-shadow: 0 2px 8px rgba(var(--law8-glow), 0.35), inset 0 1px 0 rgba(var(--law8-glow), 0.40);
		}
		:root .post-reader-localized-context .meluket-footnote-body {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			font-size: 1.05rem;
			line-height: 1.65;
		}
		:root .post-reader-localized-context .meluket-footnote-body p {
			margin-block: 0 0.6em;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context .meluket-footnote-he {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context .meluket-footnote-highlight {
			background: var(--sefer-paper-deep);
			border-radius: 0.5rem;
		}

		/* ---------- floating dock: Aa + Sources ---------- */
		:root .post-reader-localized-context .awtsmoos-floating-controls {
			position: fixed;
			z-index: 983;
			inset-block-end: max(1.25rem, env(safe-area-inset-bottom, 0px));
			inset-inline-end: max(1.25rem, env(safe-area-inset-right, 0px));
			display: flex;
			align-items: center;
			gap: 0.75rem;
		}
		:root .post-reader-localized-context #typographyBtn,
		:root[data-theme="light"] .post-reader-localized-context #typographyBtn {
			inline-size: 5.5rem;
			block-size: 5.5rem;
			border-radius: 50%;
			border: 1px solid var(--sefer-rule);
			background: var(--sefer-card);
			color: var(--sefer-title-ink);
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.8rem;
			font-weight: 700;
			cursor: pointer;
			box-shadow: 0 0.9rem 2.2rem rgb(96 70 32 / 24%), inset 0 1px 0 rgb(255 255 255 / 60%);
			transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 0;
		}
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn {
			box-shadow: 0 0.9rem 2.2rem rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 8%);
		}
		:root .post-reader-localized-context #typographyBtn:hover {
			transform: translateY(-2px);
			box-shadow: 0 1.2rem 2.6rem rgb(96 70 32 / 30%), inset 0 1px 0 rgb(255 255 255 / 60%);
		}
		:root[data-theme="dark"] .post-reader-localized-context #typographyBtn:hover {
			box-shadow: 0 1.2rem 2.6rem rgb(0 0 0 / 60%), inset 0 1px 0 rgb(255 255 255 / 8%);
		}
		:root .post-reader-localized-context #typographyBtn:focus-visible {
			outline: 3px solid var(--sefer-focus);
			outline-offset: 3px;
		}
		
		:root .post-reader-localized-context #typographyBtn:disabled {
			opacity: 0.45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context #commentaryBtn,
		:root[data-theme="light"] .post-reader-localized-context #commentaryBtn {
			inline-size: 3.75rem;
			block-size: 3.75rem;
			border-radius: 50%;
			border: 1px solid var(--sefer-rule);
			background: var(--sefer-card);
			color: var(--sefer-ink-soft);
			font-family: "Inter", system-ui, sans-serif;
			font-size: 0.8rem;
			font-weight: 700;
			line-height: 1.15;
			cursor: pointer;
			box-shadow: 0 0.6rem 1.6rem rgb(96 70 32 / 20%), inset 0 1px 0 rgb(255 255 255 / 60%);
			transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 0 0.25rem;
			text-align: center;
		}
		:root[data-theme="dark"] .post-reader-localized-context #commentaryBtn {
			box-shadow: 0 0.6rem 1.6rem rgb(0 0 0 / 50%), inset 0 1px 0 rgb(255 255 255 / 8%);
		}
		:root .post-reader-localized-context #commentaryBtn:hover {
			color: var(--sefer-title-ink);
			transform: translateY(-2px);
		}
		:root .post-reader-localized-context #commentaryBtn:focus-visible {
			outline: 3px solid var(--sefer-focus);
			outline-offset: 3px;
		}
		
		:root .post-reader-localized-context #commentaryBtn:disabled {
			opacity: 0.45;
			cursor: not-allowed;
			transform: none;
		}

		/* ---------- wide screens ---------- */
		@media (min-width: 900px) {
			:root .post-reader-localized-context #realPost .meluket-sefer {
				/* B"H batch 48: batch 47 left this desktop override at
				   3.25rem 3.5rem (56px a side) — the wide margins the
				   rendered check measured. Same small clamp as the base
				   rule now, so the wider column actually shows. */
				--dream-pad: clamp(0.5rem, 2vw, 1rem);
			}
		}

		/* ---------- reduced motion ---------- */
		

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-dream-sources-fn */
/* B"H — Footnote popup + Sources sheet, dream-styled.
		   Warm cream cards, gold accents, serif; CSS tokens only, zero !important.
		   Layers sit above the Scribe's Lens stack (3040/3050/3060): 3070/3080.
		   Reference: the approved dream mockups (light + dark). */

		/* ---------- shared overlays ---------- */
		:root .post-reader-localized-context .awtsmoos-fn-overlay,
		:root .post-reader-localized-context .awtsmoos-src-overlay {
			position: fixed;
			inset: 0;
			z-index: 987;
			background: rgb(43 30 15 / 46%);
			-webkit-backdrop-filter: blur(3px);
			backdrop-filter: blur(3px);
			opacity: 0;
			pointer-events: none;
			transition: opacity 200ms ease;
		}
		:root .post-reader-localized-context .awtsmoos-fn-overlay.is-open,
		:root .post-reader-localized-context .awtsmoos-src-overlay.is-open {
			opacity: 1;
			pointer-events: auto;
		}

		/* ---------- footnote modal ---------- */
		:root .post-reader-localized-context .awtsmoos-fn-modal {
			position: fixed;
			z-index: 988;
			/* B"H batch 48: the modal rendered as a ~65px sliver. Its width
			   was calc(100% - 2.5rem) — 100% of the CONTAINING block, which
			   is not the viewport when any ancestor carries a transform.
			   Viewport units + left:50% + translate(-50%,-50%) centre it
			   against the viewport itself, whatever contains it (the
			   module also appends it to document.body now). */
			left: 50%;
			right: auto;
			top: 50%;
			width: min(34rem, calc(100vw - 2.5rem));
			inline-size: min(34rem, calc(100vw - 2.5rem));
			margin-inline: 0;
			transform: translate(-50%, -50%);
			max-block-size: min(70vh, 34rem);
			overflow-y: auto;
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-radius: 1.5rem;
			box-shadow: var(--sefer-shadow);
			padding: 1.25rem 1.5rem 1.5rem;
			opacity: 0;
			pointer-events: none;
			transform: translateY(-46%) scale(.97);
			transition: opacity 220ms ease, transform 220ms ease;
		}
		:root .post-reader-localized-context .awtsmoos-fn-modal.is-open {
			opacity: 1;
			pointer-events: auto;
			/* B"H batch 48: keep the -50% X shift when open, or the modal
			   would sit half off-screen to the right (left:50% with no
			   X translate). */
			transform: translate(-50%, -50%) scale(1);
		}
		:root .post-reader-localized-context .awtsmoos-fn-head {
			display: flex;
			align-items: center;
			gap: .75rem;
			margin-block-end: .9rem;
			padding-block-end: .75rem;
			border-block-end: 1px solid var(--sefer-rule);
		}
		:root .post-reader-localized-context .awtsmoos-fn-num {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-inline-size: 2.25rem;
			block-size: 2.25rem;
			border-radius: 50%;
			border: 2px solid var(--sefer-accent);
			color: var(--sefer-accent);
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			font-size: 1.15rem;
			line-height: 1;
			flex: none;
		}
		:root .post-reader-localized-context .awtsmoos-fn-title {
			flex: 1;
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.35rem;
			font-weight: 700;
			color: var(--sefer-title-ink);
		}
		:root .post-reader-localized-context .awtsmoos-fn-close,
		:root .post-reader-localized-context .awtsmoos-src-close {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			inline-size: 2.5rem;
			block-size: 2.5rem;
			flex: none;
			border-radius: 50%;
			border: 1px solid var(--sefer-rule);
			background: var(--sefer-paper);
			color: var(--sefer-ink-soft);
			font-size: 1.1rem;
			line-height: 1;
			cursor: pointer;
			transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
		}
		:root .post-reader-localized-context .awtsmoos-fn-close:hover,
		:root .post-reader-localized-context .awtsmoos-src-close:hover {
			background: var(--sefer-paper-deep);
			color: var(--sefer-ink);
			border-color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .awtsmoos-fn-close:focus-visible,
		:root .post-reader-localized-context .awtsmoos-src-close:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context .awtsmoos-fn-close:disabled,
		:root .post-reader-localized-context .awtsmoos-src-close:disabled {
			opacity: .45;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .awtsmoos-fn-body {
			display: grid;
			gap: .9rem;
		}
		:root .post-reader-localized-context .awtsmoos-fn-he {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.5rem;
			line-height: 1.9;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context .awtsmoos-fn-en {
			font-family: "Inter", system-ui, sans-serif;
			font-size: 1.1rem;
			line-height: 1.7;
			color: var(--sefer-ink-soft);
		}

		/* B"H batch 49 (failure 3) — the footnote modal is appended to
		   document.body (batch 48), but EVERY rule above is scoped to
		   :root .post-reader-localized-context, so NONE of them apply to
		   the body-appended modal: it had no position, no hidden base
		   state, and no is-open visibility — it sat in the page as an
		   unstyled static block, and Close (which only removes
		   is-open) visibly did nothing. Mirror the modal rules for the
		   body-appended modal. z-index 1001/1000 sits ABOVE the dialog
		   panel (990), so the Close is reachable when the guide is open
		   behind the footnote. */
		body > .awtsmoos-fn-overlay {
			position: fixed;
			inset: 0;
			z-index: 1000;
			background: rgb(43 30 15 / 46%);
			opacity: 0;
			pointer-events: none;
			transition: opacity 200ms ease;
		}
		body > .awtsmoos-fn-overlay.is-open {
			opacity: 1;
			pointer-events: auto;
		}
		body > .awtsmoos-fn-modal {
			position: fixed;
			z-index: 1001;
			left: 50%;
			right: auto;
			top: 50%;
			width: min(34rem, calc(100vw - 2.5rem));
			inline-size: min(34rem, calc(100vw - 2.5rem));
			margin-inline: 0;
			max-block-size: min(70vh, 34rem);
			overflow-y: auto;
			background: var(--sefer-card, #fffdf6);
			border: 1px solid var(--sefer-rule, #e5ddcc);
			border-radius: 1.5rem;
			box-shadow: var(--sefer-shadow, 0 1.5rem 4rem rgba(20, 14, 6, 0.35));
			padding: 1.25rem 1.5rem 1.5rem;
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
			transform: translate(-50%, -50%) scale(.97);
			transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
		}
		body > .awtsmoos-fn-modal.is-open {
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			transform: translate(-50%, -50%) scale(1);
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-head {
			display: flex;
			align-items: center;
			gap: .75rem;
			margin-block-end: .9rem;
			padding-block-end: .75rem;
			border-block-end: 1px solid var(--sefer-rule, #e5ddcc);
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-num {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-inline-size: 2.25rem;
			block-size: 2.25rem;
			border-radius: 50%;
			border: 2px solid var(--sefer-accent, #d4a94e);
			color: var(--sefer-accent, #d4a94e);
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			font-size: 1.15rem;
			line-height: 1;
			flex: none;
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-title {
			flex: 1;
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.35rem;
			font-weight: 700;
			color: var(--sefer-title-ink, #2c2416);
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-close {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			inline-size: 2.5rem;
			block-size: 2.5rem;
			flex: none;
			border-radius: 50%;
			border: 1px solid var(--sefer-rule, #e5ddcc);
			background: var(--sefer-paper, #fffdf6);
			color: var(--sefer-ink-soft, #655641);
			font-size: 1.1rem;
			line-height: 1;
			cursor: pointer;
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-close:hover {
			background: var(--sefer-paper-deep, #f5ead1);
			color: var(--sefer-ink, #2c2416);
			border-color: var(--sefer-accent, #d4a94e);
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-body {
			display: grid;
			gap: .9rem;
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-he {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.5rem;
			line-height: 1.9;
			color: var(--sefer-ink, #2c2416);
		}
		body > .awtsmoos-fn-modal .awtsmoos-fn-en {
			font-family: "Inter", system-ui, sans-serif;
			font-size: 1.1rem;
			line-height: 1.7;
			color: var(--sefer-ink-soft, #655641);
		}

		/* ---------- sources sheet ---------- */
		:root .post-reader-localized-context .awtsmoos-src-sheet {
			position: fixed;
			z-index: 988;
			inset-inline: 0;
			bottom: 0;
			inline-size: min(38rem, 100%);
			margin-inline: auto;
			max-block-size: 84vh;
			display: flex;
			flex-direction: column;
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-block-end: none;
			border-start-start-radius: 1.75rem;
			border-start-end-radius: 1.75rem;
			box-shadow: var(--sefer-shadow);
			transform: translateY(103%);
			transition: transform 260ms ease;
		}
		:root .post-reader-localized-context .awtsmoos-src-sheet.is-open {
			transform: translateY(0);
		}
		:root .post-reader-localized-context .awtsmoos-src-grab {
			inline-size: 3rem;
			block-size: .3rem;
			border-radius: 999px;
			background: var(--sefer-rule);
			margin: .7rem auto .2rem;
			flex: none;
		}
		:root .post-reader-localized-context .awtsmoos-src-head {
			display: flex;
			align-items: center;
			gap: .75rem;
			padding: .5rem 1.25rem .9rem;
			border-block-end: 1px solid var(--sefer-rule);
			flex: none;
		}
		:root .post-reader-localized-context .awtsmoos-src-title {
			flex: 1;
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.6rem;
			font-weight: 700;
			color: var(--sefer-title-ink);
		}
		:root .post-reader-localized-context .awtsmoos-src-meta {
			padding: 1rem 1.25rem 0;
			flex: none;
		}
		:root .post-reader-localized-context .awtsmoos-src-card {
			background: var(--sefer-paper);
			border: 1px solid var(--sefer-rule);
			border-radius: 1.25rem;
			padding: 1rem 1.15rem;
			display: grid;
			gap: .55rem;
		}
		:root .post-reader-localized-context .awtsmoos-src-card-row {
			display: flex;
			gap: .75rem;
			align-items: baseline;
		}
		:root .post-reader-localized-context .awtsmoos-src-card-label {
			flex: none;
			inline-size: 4.5rem;
			font-size: .8rem;
			font-weight: 700;
			letter-spacing: .06em;
			text-transform: uppercase;
			color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .awtsmoos-src-card-value {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-size: 1.15rem;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context .awtsmoos-src-stats {
			font-size: .9rem;
			color: var(--sefer-ink-soft);
			border-block-start: 1px dashed var(--sefer-rule);
			padding-block-start: .55rem;
		}
		:root .post-reader-localized-context .awtsmoos-src-list {
			overflow-y: auto;
			padding: .75rem 1.25rem 1.75rem;
			display: grid;
			gap: .55rem;
		}
		:root .post-reader-localized-context .awtsmoos-src-item {
			display: flex;
			flex-direction: column;
			border: 1px solid var(--sefer-rule);
			border-radius: 1rem;
			background: var(--sefer-paper);
			overflow: hidden;
		}
		:root .post-reader-localized-context .awtsmoos-src-goto {
			display: flex;
			align-items: center;
			gap: .8rem;
			inline-size: 100%;
			padding: .8rem .95rem;
			background: transparent;
			border: none;
			cursor: pointer;
			text-align: start;
			transition: background-color .18s ease;
		}
		
		:root .post-reader-localized-context .awtsmoos-src-goto:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: -2px;
		}
		:root .post-reader-localized-context .awtsmoos-src-goto:active {
			background: var(--sefer-paper-deep);
		}
		:root .post-reader-localized-context .awtsmoos-src-medaillon {
			flex: none;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			inline-size: 2rem;
			block-size: 2rem;
			border-radius: 50%;
			border: 1.5px solid var(--sefer-accent);
			color: var(--sefer-accent);
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			font-size: .95rem;
			line-height: 1;
		}
		:root .post-reader-localized-context .awtsmoos-src-preview {
			font-size: 1rem;
			line-height: 1.55;
			color: var(--sefer-ink-soft);
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
		}
		:root .post-reader-localized-context .awtsmoos-src-comment-btn {
			align-self: flex-end;
			margin: 0 .95rem .85rem;
			padding: .55rem 1.2rem;
			border-radius: 999px;
			border: 1px solid var(--sefer-accent);
			background: transparent;
			color: var(--sefer-accent);
			font-size: .95rem;
			font-weight: 700;
			line-height: 1.2;
			cursor: pointer;
			transition: background-color .18s ease, color .18s ease, transform .18s ease;
		}
		:root .post-reader-localized-context .awtsmoos-src-comment-btn:hover {
			background: var(--sefer-accent);
			color: var(--sefer-card);
		}
		:root .post-reader-localized-context .awtsmoos-src-comment-btn:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .awtsmoos-src-comment-btn:active {
			transform: scale(.96);
		}
		:root .post-reader-localized-context .awtsmoos-src-composer {
			display: grid;
			gap: .6rem;
			padding: 0 .95rem .95rem;
		}
		:root .post-reader-localized-context .awtsmoos-src-textarea {
			inline-size: 100%;
			min-block-size: 4.5rem;
			border: 1px solid var(--sefer-rule);
			border-radius: .9rem;
			background: var(--sefer-card);
			color: var(--sefer-ink);
			padding: .7rem .9rem;
			font-size: 1rem;
			line-height: 1.55;
			font-family: inherit;
			resize: vertical;
		}
		:root .post-reader-localized-context .awtsmoos-src-textarea:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 1px;
			border-color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .awtsmoos-src-composer-actions {
			display: flex;
			gap: .6rem;
			justify-content: flex-end;
		}
		:root .post-reader-localized-context .awtsmoos-src-send,
		:root .post-reader-localized-context .awtsmoos-src-cancel {
			padding: .6rem 1.3rem;
			border-radius: 999px;
			font-size: .95rem;
			font-weight: 700;
			line-height: 1.2;
			cursor: pointer;
			transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
		}
		:root .post-reader-localized-context .awtsmoos-src-send {
			border: 1px solid var(--sefer-accent);
			background: var(--sefer-accent);
			color: var(--sefer-card);
		}
		:root .post-reader-localized-context .awtsmoos-src-send:hover {
			filter: brightness(1.07);
		}
		:root .post-reader-localized-context .awtsmoos-src-send:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context .awtsmoos-src-send:disabled {
			opacity: .5;
			cursor: not-allowed;
			transform: none;
		}
		:root .post-reader-localized-context .awtsmoos-src-cancel {
			border: 1px solid var(--sefer-rule);
			background: transparent;
			color: var(--sefer-ink-soft);
		}
		:root .post-reader-localized-context .awtsmoos-src-cancel:hover {
			color: var(--sefer-ink);
			border-color: var(--sefer-accent);
		}
		:root .post-reader-localized-context .awtsmoos-src-cancel:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .awtsmoos-src-cancel:active {
			transform: scale(.96);
		}
		:root .post-reader-localized-context .awtsmoos-src-notice {
			font-size: .9rem;
			line-height: 1.5;
			min-block-size: 1.35em;
			color: var(--sefer-ink-soft);
		}
		:root .post-reader-localized-context .awtsmoos-src-notice.is-error {
			color: var(--sefer-focus);
		}
		:root .post-reader-localized-context .awtsmoos-src-notice.is-ok {
			color: var(--sefer-accent);
		}

		/* ---------- reduced motion ---------- */
		@media (prefers-reduced-motion: reduce) {
			:root .post-reader-localized-context .awtsmoos-fn-overlay,
			:root .post-reader-localized-context .awtsmoos-src-overlay,
			:root .post-reader-localized-context .awtsmoos-fn-modal,
			:root .post-reader-localized-context .awtsmoos-src-sheet,
			:root .post-reader-localized-context .awtsmoos-fn-close,
			:root .post-reader-localized-context .awtsmoos-src-close,
			:root .post-reader-localized-context .awtsmoos-src-goto,
			:root .post-reader-localized-context .awtsmoos-src-comment-btn,
			:root .post-reader-localized-context .awtsmoos-src-send,
			:root .post-reader-localized-context .awtsmoos-src-cancel {
				transition: none;
			}
		}

/* B"H — extracted from _awtsmoos.post.html #awtsmoos-dream-universal */
/* B"H — Dream universal: every series, every reader surface.
		   The four canonical dream blocks cover Meluket content + the Scribe's
		   Lens chrome + footnotes/sources. This block extends the SAME warm
		   cream/gold dream to non-Meluket series content
		   (.section/.toichen/.sub-awtsmoos), the social discussion, and inline
		   comments — so ikar Torah series, other heichels, and other corpora
		   read in the same dream.
		   Yaakov's laws: ZERO !important; CSS custom-property tokens only;
		   explicit colors for both themes; full interactive states on every
		   control; 44px tap targets; RTL-safe Hebrew; no horizontal overflow.
		   This block sits LAST in <head>, so equal-specificity rules here win. */

		/* ---------- 1. non-Meluket English body: serif beneath Hebrew ---------- */
		:root .post-reader-localized-context .section:not(.heb) > .toichen,
		:root .post-reader-localized-context .sub-awtsmoos:not(.heb),
		:root[data-theme="light"] .post-reader-localized-context .section:not(.heb) > .toichen,
		:root[data-theme="light"] .post-reader-localized-context .sub-awtsmoos:not(.heb) {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			line-height: 1.75;
		}
		:root[data-theme="dark"] .post-reader-localized-context .section:not(.heb) > .toichen,
		:root[data-theme="dark"] .post-reader-localized-context .sub-awtsmoos:not(.heb) {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			line-height: 1.75;
		}
		/* Hebrew chunks: RTL is set in reader.css; keep nikkud-safe rhythm. */
		:root .post-reader-localized-context .toichen.heb,
		:root .post-reader-localized-context .sub-awtsmoos.heb {
			line-height: 1.85;
			text-wrap: pretty;
		}

		/* ---------- 2. social discussion: the community in the dream ---------- */
		:root .post-reader-localized-context #awtsmoos-social-discussion {
			max-inline-size: min(46rem, calc(100vw - 2rem));
			margin-inline: auto;
			padding-block: 2rem 4rem;
			color: var(--sefer-ink);
		}
		:root .post-reader-localized-context #awtsmoos-social-discussion > header {
			text-align: center;
			margin-block-end: 1.75rem;
		}
		:root .post-reader-localized-context #awtsmoos-social-discussion > header > span {
			display: inline-block;
			font-family: "Inter", system-ui, sans-serif;
			font-size: 0.8rem;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
			color: var(--sefer-accent);
			margin-block-end: 0.5rem;
		}
		:root .post-reader-localized-context #awtsmoos-social-discussion > header > h2 {
			font-family: "Frank Ruhl Libre", "Cardo", serif;
			font-weight: 700;
			font-size: clamp(1.6rem, 4vw, 2.1rem);
			color: var(--sefer-title-ink);
			margin: 0 0 0.6rem;
			text-wrap: balance;
		}
		:root .post-reader-localized-context #awtsmoos-social-discussion > header > p {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			margin: 0 auto;
			max-inline-size: 62ch;
			line-height: 1.65;
		}
		:root .post-reader-localized-context .awtsmoos-social-thread {
			display: grid;
			gap: 1rem;
		}
		:root .post-reader-localized-context .awtsmoos-social-empty {
			text-align: center;
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink-soft);
			background: var(--sefer-card);
			border: 1px dashed var(--sefer-rule);
			border-radius: 1.25rem;
			padding: 2rem 1.5rem;
		}
		:root .post-reader-localized-context .awtsmoos-social-comment-body {
			font-family: "Source Serif 4", Georgia, serif;
			color: var(--sefer-ink);
			line-height: 1.7;
			margin-block: 0.6rem;
			overflow-wrap: anywhere;
		}
		:root .post-reader-localized-context .awtsmoos-social-actions {
			display: flex;
			flex-wrap: wrap;
			gap: 0.5rem;
		}
		:root .post-reader-localized-context .awtsmoos-social-actions button,
		:root .post-reader-localized-context .awtsmoos-reaction-chip {
			display: inline-flex;
			align-items: center;
			gap: 0.4rem;
			min-block-size: 2.75rem;
			padding: 0.5rem 0.95rem;
			border-radius: 999px;
			border: 1px solid var(--sefer-rule);
			background: var(--sefer-paper);
			color: var(--sefer-ink-soft);
			font-family: "Inter", system-ui, sans-serif;
			font-size: 0.9rem;
			font-weight: 700;
			cursor: pointer;
			transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
		}
		:root .post-reader-localized-context .awtsmoos-social-actions button:hover,
		:root .post-reader-localized-context .awtsmoos-reaction-chip:hover {
			border-color: var(--sefer-accent);
			color: var(--sefer-ink);
			background: var(--sefer-paper-deep);
		}
		:root .post-reader-localized-context .awtsmoos-social-actions button:focus-visible,
		:root .post-reader-localized-context .awtsmoos-reaction-chip:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		
		:root .post-reader-localized-context .awtsmoos-social-actions button:disabled,
		:root .post-reader-localized-context .awtsmoos-reaction-chip:disabled {
			opacity: 0.45;
			cursor: not-allowed;
			transform: none;
			color: var(--sefer-ink-soft);
		}
		:root .post-reader-localized-context .awtsmoos-reaction-chip[aria-pressed="true"] {
			background: var(--sefer-accent);
			border-color: var(--sefer-accent);
			color: var(--sefer-on-accent);
		}
		:root .post-reader-localized-context .awtsmoos-social-reply {
			margin-inline-start: 1rem;
			padding-inline-start: 1rem;
			border-inline-start: 2px solid var(--sefer-rule);
		}
		:root .post-reader-localized-context .awtsmoos-comment-connect-status {
			font-size: 0.85rem;
			color: var(--sefer-ink-soft);
			min-block-size: 1.35em;
		}

		/* ---------- 3. inline comments: dream cards ---------- */
		:root .post-reader-localized-context .commentator.inline {
			inline-size: 100%;
			max-inline-size: 100%;
			margin: 1em 0;
			padding: 0.75em;
			border: 1px dashed var(--sefer-rule);
			border-radius: 1rem;
			background: var(--sefer-paper);
			color: var(--sefer-ink);
			overflow-wrap: anywhere;
		}
		:root .post-reader-localized-context .inline-comment {
			position: relative;
			margin: 0.5rem 0;
			padding: 0.75rem 0.75rem 0.75rem 1rem;
			border: 1px solid var(--sefer-rule);
			border-radius: 0.9rem;
			background: var(--sefer-card);
			color: var(--sefer-ink);
			box-shadow: var(--sefer-shadow);
			font-family: "Source Serif 4", Georgia, serif;
			line-height: 1.65;
			overflow-wrap: anywhere;
		}
		:root .post-reader-localized-context .inline-comment::before {
			content: "";
			position: absolute;
			inset-inline-start: 0;
			top: 0.75rem;
			bottom: 0.75rem;
			inline-size: 4px;
			border-radius: 999px;
			background: var(--sefer-accent);
		}
		:root .post-reader-localized-context .inline-comment .focus-trigger {
			position: absolute;
			top: 0.4rem;
			inset-inline-end: 0.4rem;
			inline-size: 2.5rem;
			block-size: 2.5rem;
			border: 1px solid var(--sefer-rule);
			border-radius: 50%;
			color: var(--sefer-ink-soft);
			background: var(--sefer-paper);
			display: inline-flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			font-size: 0.9rem;
			transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
		}
		:root .post-reader-localized-context .inline-comment .focus-trigger:hover {
			background: var(--sefer-accent);
			border-color: var(--sefer-accent);
			color: var(--sefer-on-accent);
			transform: scale(1.06);
		}
		:root .post-reader-localized-context .inline-comment .focus-trigger:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .inline-comment .focus-trigger:active {
			transform: scale(0.94);
		}
		:root .post-reader-localized-context .inline-comment .btn.small {
			inline-size: calc(100% - 1.25rem);
			margin: 0.6rem 0.625rem 0.625rem;
			box-sizing: border-box;
			display: block;
			text-align: center;
			min-block-size: 2.75rem;
			border-radius: 999px;
			border: 1px solid var(--sefer-accent);
			background: transparent;
			color: var(--sefer-accent);
			font-weight: 700;
			cursor: pointer;
			transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
		}
		:root .post-reader-localized-context .inline-comment .btn.small:hover {
			background: var(--sefer-accent);
			color: var(--sefer-on-accent);
		}
		:root .post-reader-localized-context .inline-comment .btn.small:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .inline-comment .btn.small:active {
			transform: scale(0.97);
		}

		/* ---------- 4. modern-composer verse wrappers: no overflow ---------- */
		:root .post-reader-localized-context .awtsmoos-modern-section,
		:root .post-reader-localized-context .awtsmoos-normal-verse-chunk {
			min-inline-size: 0;
			max-inline-size: 100%;
			overflow-wrap: anywhere;
		}
		:root .post-reader-localized-context .awtsmoos-modern-section__body {
			display: grid;
			gap: 1rem;
		}

		/* ---------- 5. small screens: the dream fits in one hand ---------- */
		@media (max-width: 390px) {
			:root .post-reader-localized-context #awtsmoos-social-discussion {
				padding-inline: 0.25rem;
			}
			:root .post-reader-localized-context .awtsmoos-social-reply {
				margin-inline-start: 0.45rem;
				padding-inline-start: 0.55rem;
			}
			:root .post-reader-localized-context .inline-comment {
				padding: 0.65rem 0.65rem 0.65rem 0.9rem;
			}
		}

		/* ---------- 6. generic footnote overlay (non-Meluket series) ---------- */
		:root .post-reader-localized-context #realPost sup[data-footnote-id],
		:root .post-reader-localized-context #realPost .footnote-ref {
			color: var(--sefer-accent);
			font-weight: 700;
			cursor: pointer;
			border-radius: 0.35rem;
			padding-inline: 0.15em;
			transition: color 0.18s ease, background-color 0.18s ease;
		}
		:root .post-reader-localized-context #realPost sup[data-footnote-id]:hover,
		:root .post-reader-localized-context #realPost .footnote-ref:hover {
			color: var(--sefer-focus);
			background: color-mix(in srgb, var(--sefer-accent) 12%, transparent);
		}
		:root .post-reader-localized-context #realPost sup[data-footnote-id]:focus-visible,
		:root .post-reader-localized-context #realPost .footnote-ref:focus-visible {
			outline: 2px solid var(--sefer-focus);
			outline-offset: 2px;
		}
		:root .post-reader-localized-context .awtsmoos-footnote-overlay {
			position: fixed;
			inset: 0;
			z-index: 987;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 1.25rem;
			background: rgb(43 30 15 / 46%);
			-webkit-backdrop-filter: blur(3px);
			backdrop-filter: blur(3px);
		}
		:root .post-reader-localized-context .awtsmoos-footnote-overlay .awtsmoosFootnote {
			inline-size: min(32rem, 100%);
			max-block-size: min(70vh, 34rem);
			overflow-y: auto;
			background: var(--sefer-card);
			border: 1px solid var(--sefer-rule);
			border-radius: 1.5rem;
			box-shadow: var(--sefer-shadow);
			padding: 1.25rem 1.5rem 1.5rem;
			color: var(--sefer-ink);
			font-family: "Source Serif 4", Georgia, serif;
			line-height: 1.7;
		}

		/* ---------- 7. reduced motion ---------- */
		@media (prefers-reduced-motion: reduce) {
			:root .post-reader-localized-context .awtsmoos-social-actions button,
			:root .post-reader-localized-context .awtsmoos-reaction-chip,
			:root .post-reader-localized-context .inline-comment .focus-trigger,
			:root .post-reader-localized-context .inline-comment .btn.small {
				transition: none;
				color: var(--sefer-ink-soft);
			}
		}
/* B"H batch 24 (2026-11-11) - Scribe's Lens controls: dark ink on the
   cream panel. The global vision rules recolor every button inside the
   reader context to the near-white --aw-text, which left the settings
   panel's own controls white-on-white (invisible -/+ glyphs, a ghost
   Start button, a blacked-out speed readout on the owner's phone).
   The panel is always light cream, so its controls are pinned here,
   variable-free, with ID-anchored selectors the vision rules cannot
   outrank. */
:root .post-reader-localized-context #typographyDetails .font-adjust-btn,
:root .post-reader-localized-context #typographyDetails .scribe-lens-close,
:root .post-reader-localized-context #typographyDetails .auto-scroll-settings-toggle,
:root .post-reader-localized-context #typographyDetails .meluket-lang-btn {
	background: #fffdf6;
	border-color: #d9c9a8;
	color: #2b2118;
}
:root .post-reader-localized-context #typographyDetails .auto-scroll-settings-toggle .awtsmoos-auto-scroll-icon,
:root .post-reader-localized-context #typographyDetails .auto-scroll-settings-toggle .awtsmoos-auto-scroll-label,
:root .post-reader-localized-context #typographyDetails .auto-scroll-settings-toggle .awtsmoos-auto-scroll-speed {
	color: #2b2118;
}
:root .post-reader-localized-context #typographyDetails #autoScrollSpeedDisplay {
	background: #fffdf6;
	color: #2b2118;
}
/* B"H batch 24 - on phones the Aa dock button rendered at 88px inside
   its 52px bar and sat on the text. Cap the dock buttons to the bar. */
@media (max-width: 700px) {
	:root .post-reader-localized-context #typographyBtn {
		inline-size: 3.25rem;
		block-size: 3.25rem;
		min-inline-size: 3.25rem;
		min-block-size: 3.25rem;
		padding: 0;
		font-size: 1.05rem;
	}
	:root .post-reader-localized-context #readerInfoBtn {
		inline-size: 2.5rem;
		block-size: 2.5rem;
		min-inline-size: 2.5rem;
		min-block-size: 2.5rem;
	}
}

/* B"H batch 24b (2026-11-11) - the Aa dock button's 5.5rem/1.8rem rule
   (specificity 1,3,0, later bundle file) outranked the batch-24 cap
   (1,2,0). Restack with the floating-controls ancestor (1,4,0). */
@media (max-width: 700px) {
	:root[data-theme="light"] .post-reader-localized-context .awtsmoos-floating-controls #typographyBtn,
	:root[data-theme="dark"] .post-reader-localized-context .awtsmoos-floating-controls #typographyBtn,
	:root .post-reader-localized-context .awtsmoos-floating-controls #typographyBtn {
		inline-size: 3.25rem;
		block-size: 3.25rem;
		min-inline-size: 3.25rem;
		min-block-size: 3.25rem;
		padding: 0;
		font-size: 1.05rem;
	}
}

		/* B"H batch 34 (2026-11-12): the open Aa / i panel sits above the dock
		   (sheet z 986, info panel z 990, dock 983/984), so the Aa / i button
		   disappears behind it and cannot be tapped again to close. While
		   either panel is open, lift the dock above both (991) so Aa and i
		   stay tappable to close. */
		:root .post-reader-localized-context:has(.typography-details:not(.hidden-details), #readerInfoPanel:not([hidden])) .awtsmoos-floating-controls {
			z-index: 991;
		}


/* ==== heichelos/post/styles/translations.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * The Awtsmoos lets English rest beneath Torah without drowning the original light.
 * Awtsmoos.com keeps the phone vessel clear, touchable, focused, and calm.
 *
 * B"H — Theme contract: every text element has explicit color in BOTH themes.
 * Light theme: dark ink on light card. Dark theme: light ink on dark card.
 * No, ever — specificity via :root prefix and doubled classes.
 */


/* B"H - third state: the Sanctuary dream repaints text pale for its dark chamber,
 * but this card takes its background from the sefer tokens, which stay light unless
 * data-theme is dark - pale status text on a cream card. Pair the card dark too. */




/* B"H 2026-11-10 round 9 — Coby: the Hide/Show English pill was white on
   white. Two causes: the rule only matched inside
   .post-reader-localized-context (the toolbar sits outside it), and the
   background was transparent with a var() color that resolves white in
   the reader context. Global selector, explicit light background and
   dark text in light theme, explicit dark pill in dark theme.
   B"H round 10: the round-9 global pin STILL did not show — tokens.css
   paints every button in the reader with `color: var(--aw-text)` at
   (0,1,1), and button-hover.css does it at (0,16,0), and --aw-text is
   white. Set the var itself on the toggle so those rules resolve dark. */








/* B"H — English translation block: English under Hebrew, never side by side.
   Doubled class (0,2,0) beats the RTL Hebrew rules without. */


/* B"H - Sanctuary pairing for the block: dream text rules repaint inner spans
 * pale; on the light paper-deep card they vanish. Dark card + light paragraph
 * (the paragraph rule outranks the dream repaint, so it needs its own flip). */












/* B"H 2026-11-09: footnote numbers in the English translation render as
   the same small gold superscripts as the Hebrew body. The translation API
   carries them as plain digits ("Yitzchak10", "56543"); the renderer wraps
   them in <sup class="awtsmoos-translation-fn">, and this rule styles them
   exactly like .awtsmoos-plain-post-content sup (0.62em, super, gold, 700).
   Without it they sat on the baseline, full-size and cream. */


/* B"H 2026-11-09: the server-rendered community/translation fragments below
   the reader (annotations aside) carry the same plain-digit footnote numbers
   as the translation API did; the server now wraps them in <sup>, and this
   rule gives them the same small gold superscript treatment as the reader
   body (0.62em, super, gold, 700). */


/* B"H — Hidden translations: :root prefix (0,2,0+) hides without. */


/* B"H — Yaakov 2026-10-12: ONE bilingual typographic system for every post
 * type. Hebrew/Yiddish originals already ride at var(--post-text-size) via
 * the reborn reader rules; this layer only guarantees nikkud-safe rhythm
 * and clean stacked spacing, so Torah Ohr, Likkutei Sichos, maamarim, and
 * Tanya all read the same. No color fights: the theme system owns ink. */

/* B"H — translation blocks always stack below their Hebrew anchor with
 * breathing room, in every post type. */





/* ==== heichelos/post/rashi/rashi.css ==== */
/* B"H — Rashi toggle + panel for the Bavli daf reader. Mobile-first. */
.awtsmoos-rashi-toggle {
  font-family: inherit;
  cursor: pointer;
}
.awtsmoos-rashi-toggle.is-open {
  font-weight: 700;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.awtsmoos-rashi-panel {
  margin: 1.25rem auto;
  max-width: 44rem;
  padding: 0 1rem;
  border-top: 3px double currentColor;
}
.rashi-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
}
.rashi-panel-title {
  margin: 0;
  font-size: 1.15rem;
}
.rashi-panel-close {
  font-family: inherit;
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  line-height: 1;
}
.rashi-status {
  padding: 1rem 0;
  opacity: 0.85;
}
.rashi-segment {
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 0.5rem;
}
.rashi-seg-label {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 0.5rem;
}
.rashi-comment {
  margin: 0.6rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(127, 127, 127, 0.25);
}
.rashi-comment:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.rashi-dibur {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.rashi-he {
  margin-bottom: 0.25rem;
  line-height: 1.7;
}
.rashi-en {
  line-height: 1.6;
  opacity: 0.92;
}
@media (max-width: 560px) {
  .awtsmoos-rashi-panel {
    padding: 0 0.75rem;
  }
  .rashi-panel-title {
    font-size: 1.05rem;
  }
}


/* ==== heichelos/post/comments/panel/commentaryMenu.css ==== */
/* B"H — Commentary Sidebar Menu. Mobile-first; 390px baseline. */

.awtsmoos-commentary-menu {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.awtsmoos-commentary-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.awtsmoos-commentary-menu-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.awtsmoos-commentary-menu-sub {
  margin: 0 0 10px;
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.4;
}

.awtsmoos-commentary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awtsmoos-commentary-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.awtsmoos-commentary-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: start;
}

.awtsmoos-commentary-avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #6b4f1d, #a8842c);
  color: #fff8e6;
}

.awtsmoos-commentary-copy { flex: 1; min-width: 0; }

.awtsmoos-commentary-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.awtsmoos-commentary-name { font-weight: 700; font-size: 0.95rem; }
.awtsmoos-commentary-alias { font-size: 0.8rem; opacity: 0.65; }
.awtsmoos-commentary-fullname { font-size: 0.78rem; opacity: 0.7; margin-top: 1px; }

.awtsmoos-commentary-status {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.awtsmoos-commentary-status-live { background: rgba(46, 160, 67, 0.22); color: #7ee2a0; }
.awtsmoos-commentary-status-hebrew { background: rgba(210, 153, 34, 0.2); color: #e8c56a; }
.awtsmoos-commentary-status-soon { background: rgba(120, 120, 120, 0.2); color: #bdbdbd; }

.awtsmoos-commentary-chevron { font-size: 0.9rem; opacity: 0.7; }

.awtsmoos-commentary-body { padding: 0 10px 10px; }

.awtsmoos-commentary-loading,
.awtsmoos-commentary-empty,
.awtsmoos-commentary-error {
  padding: 12px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

.awtsmoos-commentary-count-note {
  font-size: 0.78rem;
  opacity: 0.65;
  margin: 4px 2px 8px;
}

.awtsmoos-commentary-verse {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.awtsmoos-commentary-verse-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: start;
}

.awtsmoos-commentary-verse-ref { font-weight: 700; font-size: 0.88rem; }
.awtsmoos-commentary-verse-count { font-size: 0.75rem; opacity: 0.6; flex: 1; }

.awtsmoos-commentary-verse-body { padding: 0 8px 8px; }

.awtsmoos-commentary-verse-actions { margin: 2px 0 8px; }

.awtsmoos-commentary-verse-add,
.awtsmoos-commentary-reply {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  cursor: pointer;
}

.awtsmoos-commentary-card {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 2px;
}

.awtsmoos-commentary-card:first-of-type { border-top: 0; }

.awtsmoos-commentary-dibur {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #e8c56a;
}

.awtsmoos-commentary-hebrew {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 6px;
}

.awtsmoos-commentary-english {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 8px;
  opacity: 0.92;
}

.awtsmoos-commentary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.awtsmoos-commentary-agree {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.awtsmoos-commentary-agree.is-agreed {
  background: rgba(46, 160, 67, 0.25);
  border-color: rgba(46, 160, 67, 0.6);
  color: #7ee2a0;
}

.awtsmoos-scribe-verse-note {
  font-size: 0.8rem;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: rgba(210, 153, 34, 0.12);
  border: 1px solid rgba(210, 153, 34, 0.3);
}

/* Wider screens: two-column verse groups */
@media (min-width: 560px) {
  .awtsmoos-commentary-menu { padding: 14px; }
  .awtsmoos-commentary-head { padding: 12px 14px; }
}


/* ==== style/foundation/tokens/color.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * One dark Geelooy palette gives every existing surface a stable source.
 * Awtsmoos.com no longer changes field color according to operating-system
 * preference or import timing; pages may opt into light parchment explicitly.
 */

:root {
	color-scheme: dark;
	--awt-bg-deep: #060910;
	--awt-bg-night: #090d15;
	--awt-surface: #111722;
	--awt-surface-soft: #171f2d;
	--awt-surface-muted: #202a39;
	--awt-vellum: #131922;
	--awt-vellum-2: #1a222e;
	--awt-ink: #f5f7fb;
	--awt-ink-soft: #bac4d3;
	--awt-ink-faint: #94a2b7;
	--awt-gold: #d7b36a;
	--awt-gold-light: #f2d58f;
	--awt-accent: #58c7d8;
	--awt-accent-soft: rgba(88, 199, 216, .14);
	--awt-line: rgba(255, 255, 255, .12);
	--awt-line-strong: rgba(255, 255, 255, .22);
	--awt-dark-line: rgba(255, 255, 255, .12);
	--awt-danger: #ff7894;
	--awt-success: #61d5a1;
	--awt-warning: #f0c96b;
	--g-bg: var(--awt-bg-deep);
	--g-bg-soft: var(--awt-bg-night);
	--g-surface: var(--awt-surface);
	--g-surface-2: var(--awt-surface-soft);
	--g-text: var(--awt-ink);
	--g-text-2: var(--awt-ink-soft);
	--g-muted: var(--awt-ink-soft);
	--g-faint: var(--awt-ink-faint);
	--g-border: var(--awt-line);
	--g-border-strong: var(--awt-line-strong);
	--g-accent: var(--awt-accent);
	--g-danger: var(--awt-danger);
	--g-focus: #7ed7e5;
}


/* ==== style/foundation/tokens/space.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * A compact rhythm scale keeps dense tools readable without wasting screen space.
 */
:root {
	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: .75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-7: 2rem;
	--space-8: 2.75rem;
	--space-9: 4rem;
	--safe-top: env(safe-area-inset-top);
	--safe-right: env(safe-area-inset-right);
	--safe-bottom: env(safe-area-inset-bottom);
	--safe-left: env(safe-area-inset-left);
	--page-gutter: clamp(.75rem, 2.5vw, 2rem);
	--content-width: 92rem;
	--reading-width: 68ch;
	--floating-clearance: max(6rem, calc(4.75rem + env(safe-area-inset-bottom)));
}


/* ==== style/foundation/tokens/radius.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * Geometry is deliberate: compact controls, calm cards, and rounded navigation.
 */
:root {
	--radius-xs: .4rem;
	--radius-s: .65rem;
	--radius-m: .9rem;
	--radius-l: 1.15rem;
	--radius-xl: 1.5rem;
	--radius-2xl: 2rem;
	--radius-glass: 1.25rem;
	--radius-dock: 1.25rem;
	--radius-pill: 999px;
	--g-radius: var(--radius-m);
	--g-radius-lg: var(--radius-xl);
}


/* ==== style/foundation/tokens/shadow.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * Depth is rare and named; ordinary cards use borders before shadows.
 */
:root {
	--shadow-paper: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow-card: 0 6px 18px rgba(15, 23, 42, .08);
	--shadow-card-hover: 0 10px 28px rgba(15, 23, 42, .12);
	--shadow-glass: 0 12px 30px rgba(15, 23, 42, .14);
	--shadow-float: 0 14px 34px rgba(15, 23, 42, .18);
	--shadow-dock: 0 12px 32px rgba(15, 23, 42, .18);
	--shadow-menu: 0 16px 42px rgba(15, 23, 42, .22);
	--shadow-modal: 0 24px 64px rgba(15, 23, 42, .3);
	--shadow-alert: 0 10px 28px rgba(163, 59, 74, .16);
	--shadow-glow: none;
	--z-base: 0;
	--z-raised: 10;
	--z-sticky: 40;
	--z-dock: 80;
	--z-dropdown: 140;
	--z-modal: 220;
	--z-toast: 300;
	--z-command: 360;
}


/* ==== style/foundation/tokens/type.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * Typography carries hierarchy so decoration can remain quiet.
 */
:root {
	--font-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--font-serif: Cardo, Georgia, serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--type-caption: .72rem;
	--type-small: .84rem;
	--type-body: 1rem;
	--type-lead: 1.15rem;
	--type-title: clamp(1.85rem, 5vw, 3.75rem);
	--type-display: clamp(2.8rem, 8vw, 6.8rem);
	--leading-tight: 1.08;
	--leading-body: 1.58;
	--leading-reader: 1.75;
	--tracking-caption: .11em;
}


/* ==== style/foundation/tokens/motion.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * Motion explains change through transform and opacity, never through costly fog.
 */
:root {
	--ease-soft: cubic-bezier(.2, .7, .2, 1);
	--ease-snap: cubic-bezier(.2, .8, .2, 1);
	--ease-orbit: var(--ease-soft);
	--motion-instant: 90ms;
	--motion-fast: 150ms;
	--motion-med: 220ms;
	--motion-slow: 360ms;
	--motion-hover-lift: -1px;
	--motion-press-depth: 1px;
	--motion-tilt-x: 0deg;
	--motion-tilt-y: 0deg;
	--motion-slide-distance: 8px;
	--motion-perspective: none;
	--motion-shadow-lift: var(--shadow-card-hover);
}
@media (prefers-reduced-motion: reduce) {
	:root {
		--motion-instant: .01ms;
		--motion-fast: .01ms;
		--motion-med: .01ms;
		--motion-slow: .01ms;
		--motion-hover-lift: 0px;
		--motion-press-depth: 0px;
		--motion-slide-distance: 0px;
	}
}


/* ==== style/foundation/tokens/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H foundation token index. */


/* ==== style/foundation/reset/scroll.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Chapter: The page remembers it is one vessel.
 * The Awtsmoos breathes a vertical river into every screen, yet refuses the
 * false exile of sideways drift. Flex children bow, grids soften, legacy boxes
 * stop pretending their width is larger than the hand that holds them.
 */
:root {
  --awts-safe-top: env(safe-area-inset-top, 0px);
  --awts-safe-right: env(safe-area-inset-right, 0px);
  --awts-safe-bottom: env(safe-area-inset-bottom, 0px);
  --awts-safe-left: env(safe-area-inset-left, 0px);
  --floating-clearance: calc(72px + var(--awts-safe-bottom));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}












/* ==== style/foundation/reset/media.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Chapter: Images, editors, and tables enter the ark two by two.
 * Nothing may burst the vessel; even long code-lines receive a private river
 * instead of forcing the whole world to scroll sideways.
 */












:where(table) {
  max-width: 100%;
  border-collapse: collapse;
}



/* @tunnel-interactive-states: auto-generated by css-guarantee */





/* ==== style/foundation/reset/focus.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Chapter: Every clickable spark receives a crown.
 * The keyboard traveler sees the gate, the finger finds a forty-four pixel
 * landing place, and disabled controls become quiet without vanishing.
 */










/* @tunnel-interactive-states: auto-generated by css-guarantee */




















input[type="reset"]:focus-visible {
	outline: 2px solid currentColor; outline-offset: 2px;
}


/* ==== style/foundation/reset/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H reset index. */


/* ==== style/foundation/effects/glass.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
Boruch Hashem
Blessed is He
The Awtsmoos is not glass, yet every translucent vessel can reveal depth without hiding truth; Awtsmoos.com keeps a solid fallback before blur becomes luxury proof.
*/
.awt-glass,
:where(.glass-surface, .modal-content, .dropdown-menu, .card-menu-panel, .sidebarMitzvah) {
	background: color-mix(in srgb, var(--awt-surface) 94%, transparent);
	border: 1px solid var(--awt-line);
	box-shadow: var(--shadow-glass);
}
html[data-g-effects="full"] .awt-glass,
html[data-g-effects="full"] :where(.glass-surface, .modal-content, .dropdown-menu, .card-menu-panel, .sidebarMitzvah) {
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.awt-glass,
	:where(.glass-surface, .modal-content, .dropdown-menu, .card-menu-panel, .sidebarMitzvah) {
		background: var(--awt-surface);
	}
}
@media (pointer: coarse), (max-width: 900px), (prefers-reduced-motion: reduce) {
	.awt-glass,
	:where(.glass-surface, .modal-content, .dropdown-menu, .card-menu-panel, .sidebarMitzvah) {
		background: var(--awt-surface);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}


/* ==== style/foundation/effects/gold-border.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Chapter: A thin golden boundary, like dawn on the rim of a vessel.
 * The glow is shared, modest, and alive on hover/focus without becoming noise.
 */
.awt-gold-border,
:where(.premium-border, .home-action-primary, .is-create) {
  border: 1px solid rgba(214,168,79,.38);
  box-shadow: 0 0 0 1px rgba(255,255,255,.36) inset, 0 14px 35px rgba(214,168,79,.16);
}




/* ==== style/foundation/effects/ambient-bg.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H
 * Chapter: The background becomes a quiet sky.
 * A page may opt into the wash, while app shells receive a subtle premium depth
 * without stealing contrast from words or controls.
 */
.awt-ambient-bg,
:where(.geelooy-home-document, .social-hub-root, .awtsmoospage) {
  background: var(--awt-paper, #f8fafc);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(245,202,112,.22), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(96,165,250,.18), transparent 30rem),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,250,252,.92));
}

.awt-depth-field {
  perspective: var(--motion-perspective);
  transform-style: preserve-3d;
}


/* ==== style/foundation/effects/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H effects index: one shared shimmer, no scattered enchantments. */

.awt-hover-lift,
:where(.premium-hover, .home-action-card, .home-post-card, .social-space-card, .home-route-card, .profile-hero-card) {
  transform: translateZ(0);
  transition: transform var(--motion-med) var(--ease-snap), box-shadow var(--motion-med) var(--ease-soft), border-color var(--motion-fast) var(--ease-soft), background var(--motion-med) var(--ease-soft);
  will-change: transform;
}



.awt-pressable:active,
:where(button, .btn, [role="button"], .home-action-card, .home-route-card):active {
  transform: translateY(var(--motion-press-depth)) scale(.99);
}

.awt-slide-in { animation: awt-slide-in var(--motion-slow) var(--ease-snap) both; }
@keyframes awt-slide-in { from { opacity: 0; transform: translateY(var(--motion-slide-distance)); } to { opacity: 1; transform: translateY(0); } }

/* @tunnel-interactive-states: auto-generated by css-guarantee */



.btn:hover {
	filter: brightness(1.08);
}
.btn:active {
	transform: scale(0.98);
}
.btn:focus-visible {
	outline: 2px solid currentColor; outline-offset: 2px;
}





/* ==== style/foundation/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H complete foundation index. */


/* ==== style/awtsmoos-scroll-sovereignty.css ==== */
/* @tunnel-grandfather: cross-page selector, no shared page. W4 2026-10-08. */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives every vessel its boundary and every river its way to flow.
 * Awtsmoos.com keeps documents breathing naturally while workspaces scroll where their tools must stay in view.
 */


























@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms;
		animation-iteration-count: 1;
		scroll-behavior: auto;
		transition-duration: .01ms;
	}
}

/* @tunnel-interactive-states: auto-generated by css-guarantee */





a:focus-visible {
	outline: 2px solid currentColor; outline-offset: 2px;
}

/* BH Yaakov 2026-10-08: Scribes Lens light-theme fix, no important */
:where(:root[data-theme="light"]) .post-reader-localized-context .typography-details,
:where(.post-reader-localized-context[data-theme="light"]) .typography-details {
  --reader-text: #21160a;
  --reader-muted: #6d5a43;
  --reader-bg: #fefcf8;
  background: #fefcf8;
}
html[data-theme="light"] .post-reader-localized-context .typography-details .setting-name,
html[data-theme="light"] .post-reader-localized-context .typography-details .control-label,
html[data-theme="light"] .post-reader-localized-context .typography-details h3,
html[data-theme="light"] .post-reader-localized-context .typography-details label {
  color: #21160a;
}

/* BH Yaakov 2026-10-08: Scribes Lens light-theme, matches pages without data-theme */



/* BH Yaakov 2026-10-08: Scribe Lens theme sync - panel bg must match theme */
:root[data-theme="dark"] .post-reader-localized-context .typography-content,
:root[data-theme="dark"] .post-reader-localized-context .settings-group,
:root[data-theme="dark"] .post-reader-localized-context .typography-details {
  background-color: #1a1a2e;
  color: var(--light-text-f8fbff, #f8fbff);
}
:root[data-theme="dark"] .post-reader-localized-context .setting-name { color: var(--light-text-f8fbff, #f8fbff); }
:root[data-theme="dark"] .post-reader-localized-context .control-label { color: #f6cc72; }




/* ==== heichelos/post/styles/reader-controls/critical-shell.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: :where(.all.post-reader-localized-contex, input); cascade order intentional, merge would break responsive/layered architecture */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives first paint a quiet covenant instead of a selector war;
 * Awtsmoos.com exposes shared reader tokens here, while later owners shape each door.
 */
:where(.all.post-reader-localized-context.awtsmoos-reader-vision) {
	--reader-safe-left: max(12px, env(safe-area-inset-left, 0px));
	--reader-safe-right: max(12px, env(safe-area-inset-right, 0px));
	--reader-safe-top: max(12px, env(safe-area-inset-top, 0px));
	--reader-safe-bottom: max(12px, env(safe-area-inset-bottom, 0px));
	--reader-layer-controls: calc(var(--z-sidebar, 3000) + 10);
	--reader-layer-settings: calc(var(--z-sidebar, 3000) + 20);
	--reader-glass: rgb(5 12 25 / 82%);
	--reader-glass-strong: rgb(4 10 22 / 95%);
	--reader-line: rgb(128 227 255 / 22%);
	--reader-line-hot: rgb(128 227 255 / 58%);
	--reader-cyan: #7fe8ff;
	--reader-violet: #9e8cff;
	--reader-gold: #f6cc72;
	--reader-text: #f8fbff;
	--reader-muted: #9fb3ca;
	--reader-motion: 180ms cubic-bezier(.2, .8, .2, 1);
}

:where(.all.post-reader-localized-context.awtsmoos-reader-vision) .hidden-details {
	display: none;
}




/* ==== heichelos/post/styles/reader-controls/live-template.css ==== */
/* B"H
 * Chapter 46: Silent compatibility marker.
 * The restored ideal river owns the live reader surfaces. This file stays empty
 * so old cache-busted links resolve without adding competing selectors.
 */


/* ==== heichelos/post/styles/reader-controls/mobile-reading.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives Torah the widest vessel and tools only the space they need;
 * Awtsmoos.com lets reading remain first while controls gather quietly near the edge like a reed.
 *
 * The initial post card uses a dark vessel and inherits the reader theme
 * text colors. B"H: explicit light color overrides were reverted 2026-10-06
 * after they broke the theme system (white-on-white).
 */
@media (max-width: 760px) {
	

	.awtsmoos-reader-vision .scroll-view-wrapper,
	.awtsmoos-reader-vision .content {
		inline-size: 100%;
		max-inline-size: 100%;
		min-inline-size: 0;
	}

	.awtsmoos-reader-vision .content {
		padding-inline: .25rem;
		padding-block-end: calc(5.25rem + env(safe-area-inset-bottom));
	}

	.awtsmoos-reader-vision .awtsmoos-initial-post {
		max-inline-size: 44rem;
		margin: 1.25rem auto;
		padding: .5rem;
		border: 1px solid rgb(112 225 255 / 18%);
		border-radius: 1rem;
		background: rgb(7 15 29 / 72%);
		box-shadow: 0 1rem 2.4rem rgb(0 0 0 / 16%);
	}

	.awtsmoos-reader-vision .awtsmoos-initial-post h1 {
		margin-block: .35rem .65rem;
		font-size: clamp(1.45rem, 7vw, 2.15rem);
		line-height: 1.08;
	
	color: var(--aw-text); /* B"H tunnel CSS law: explicit theme-safe text color */}

	.awtsmoos-reader-vision .awtsmoos-initial-post-context,
	.awtsmoos-reader-vision .awtsmoos-reader-enhancement-status {
		margin: 0;
		color: var(--color-muted, #a8b4c7);
		font-size: .82rem;
		line-height: 1.45;
	}

	.awtsmoos-reader-vision .awtsmoos-floating-controls {
		position: fixed;
		inset-inline: auto max(.65rem, env(safe-area-inset-right));
		inset-block: auto calc(.75rem + env(safe-area-inset-bottom));
		z-index: 80;
		display: flex;
		gap: .4rem;
		padding: .32rem;
		border: 1px solid rgb(112 225 255 / 20%);
		border-radius: .9rem;
		background: rgb(6 13 25 / 88%);
		box-shadow: 0 .8rem 1.8rem rgb(0 0 0 / 22%);
		backdrop-filter: blur(14px) saturate(125%);
	}

	.awtsmoos-reader-vision .awtsmoos-floating-controls button {
		inline-size: 44px;
		block-size: 44px;
		min-inline-size: 44px;
		min-block-size: 44px;
		padding: 0;
		border-radius: .7rem;
	
	color: var(--aw-text); /* B"H tunnel CSS law: explicit theme-safe text color */}

	.awtsmoos-reader-vision .typography-details {
		max-inline-size: min(24rem, calc(100vw - 1rem));
		max-block-size: min(72vh, 36rem);
		overflow-y: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.awtsmoos-reader-vision .awtsmoos-floating-controls,
	.awtsmoos-reader-vision .typography-details {
		transition: none;
	}
}

/* @tunnel-interactive-states: auto-generated by css-guarantee */





/* ==== heichelos/post/styles/reader-controls/torah-authority/surface.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: :where(.all.post-reader-localized-contex, :where(.all.post-reader-localized-contex); cascade order intentional, merge would break responsive/laye */
/* 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.
 */
:where(.all.post-reader-localized-context.awtsmoos-reader-vision) {
	/* B"H batch 49 — the authority rule below caps #realPost at this
	   variable, and it was 50rem (800px), which beat the batch-48
	   72rem cap (the authority selector (1,3,0) outranks the batch-48
	   (1,2,0) rule). The column rendered ~760px on a 1919px viewport
	   — ~40%, large beige side margins — because of THIS variable,
	   not because the batch-48 rule was missing. Raise it to 72rem so
	   the column is actually wider (1152px on desktop); phones stay
	   full-width via inline-size: min(100%, …). */
	--reader-authority-width: 72rem;
	--reader-authority-edge: clamp(.72rem, 2.4vw, 1.2rem);
}

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

.all.post-reader-localized-context.awtsmoos-reader-vision .scroll-view-wrapper {
min-width: 0;
	min-height: 0;
	max-width: 100%;
	overflow: visible;
inline-size: 100%;
	padding: 0;
}

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

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

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

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


/* ==== heichelos/post/styles/reader-controls/torah-authority/sections.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (4 selectors: :where(.all.post-reader-localized-contex, :where(.all.post-reader-localized-contex); cascade order intentional, merge would break responsive/laye */
/* 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;
	padding: .62rem .72rem;
	border: 1px solid transparent;
	border-radius: .8rem;
	background: transparent;
	box-shadow: none;
}

.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);
	background: rgba(255, 255, 255, .018);
}

.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;
}

.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;
	padding: .5rem .58rem;
	border-radius: .65rem;
	background: rgba(255, 255, 255, .018);
}



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

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

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


/* ==== 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.
 */

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

:where(.all.post-reader-localized-context.awtsmoos-reader-vision) :where(#realPost) .awtsmoos-initial-pasuk-text {
	min-inline-size: 0;
	margin: 0;
	font-size: 1.08em;
	line-height: 1.78;
}
:where(.all.post-reader-localized-context.awtsmoos-reader-vision) :where(#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);
	background: rgba(126, 218, 255, .055);
	outline: 2px solid rgba(126, 218, 255, .12);
	outline-offset: 2px;
}

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

/* ==== heichelos/post/styles/reader-controls/torah-authority/controls.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: :where(body) :where(.all.post-reader-loc, body :where(.all.post-reader-localized-c); cascade order intentional, merge would break responsive/laye */
/* 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;
	inset-block-start: auto;
	inset-block-end: auto;
	inset-inline-start: auto;
	inset-inline-end: auto;
	top: auto;
	left: auto;
	right: max(.8rem, env(safe-area-inset-right));
	bottom: max(.8rem, env(safe-area-inset-bottom));
	z-index: var(--reader-layer-floating-controls, 3010);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .3rem;
	inline-size: auto;
	max-inline-size: calc(100dvi - 1.6rem);
	margin: 0;
	padding: .25rem;
	border: 1px solid rgba(112, 225, 255, .18);
	border-radius: .82rem;
	background: rgba(5, 13, 24, .78);
	box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .2);
	backdrop-filter: blur(10px) saturate(115%);
	pointer-events: none;
	transform: none;
	translate: none;
}

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

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

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

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


/* ==== heichelos/post/styles/reader-controls/torah-authority/settings-mobile.css ==== */
/* @tunnel-grandfather: registry false positive: selector is a comma-split fragment of :is()/:where() in this file, not a real rule */
/*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.
 *
 * Theme scoping (2026-10-08): dark hard-coded colors are scoped to
 * `:root[data-theme="dark"]` ONLY. Layout/geometry properties stay unscoped so
 * both themes share the same sheet geometry. In light theme the dark
 * `` colors no longer apply, so the `[data-theme="light"]` overrides
 * in meluket-sefer.css win. Dark theme behavior is completely unchanged.
 */

/* ---- Sheet geometry: applies in ALL themes ---- */
/* @tunnel-grandfather: registry false positive: selector is a comma-split fragment of :is()/:where() in this file, not a real rule */
/*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.
 *
 * Theme scoping (2026-10-08): dark hard-coded colors are scoped to
 * `:root[data-theme="dark"]` ONLY. Layout/geometry properties stay unscoped so
 * both themes share the same sheet geometry. In light theme the dark
 * `` colors no longer apply, so the `[data-theme="light"]` overrides
 * in meluket-sefer.css win. Dark theme behavior is completely unchanged.
 */

/* ---- Sheet geometry: applies in ALL themes ---- */
html body :where(.all.post-reader-localized-context.awtsmoos-reader-vision)
	> .typography-details:not(.hidden-details) {
	inline-size: min(38rem, calc(100dvi - 1rem));
	max-inline-size: calc(100dvi - 1rem);
	max-block-size: min(58dvh, 31rem);
	inset-inline: .5rem;
	bottom: calc(4.25rem + env(safe-area-inset-bottom));
	margin-inline: auto;
	border-radius: 1.15rem;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* ---- Dark sheet colors: DARK THEME ONLY ---- */


/* ---- Dark sheet colors: DARK THEME ONLY ---- */
html:where(:root[data-theme="dark"]) body :where(.all.post-reader-localized-context.awtsmoos-reader-vision)
	> .typography-details:not(.hidden-details) {
	border: 1px solid rgba(87, 206, 255, .34);
	background: #07111f;
	box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, .72);
}

/* ---- Content spacing: applies in ALL themes ---- */


/* ---- Content spacing: applies in ALL themes ---- */


/* ---- Dark content colors: DARK THEME ONLY ---- */


/* ---- Dark content colors: DARK THEME ONLY ---- */
html:where(:root[data-theme="dark"]) body :where(.all.post-reader-localized-context.awtsmoos-reader-vision)
	> .typography-details .typography-content {
	background: #07111f;
}

/* ---- Group geometry: applies in ALL themes ---- */


/* ---- Group geometry: applies in ALL themes ---- */


/* ---- Dark group colors: DARK THEME ONLY ---- */


/* ---- Dark group colors: DARK THEME ONLY ---- */


/* ---- Dark control text: DARK THEME ONLY ---- */


/* ---- Dark control text: DARK THEME ONLY ---- */


/* ---- Auto-scroll button geometry: applies in ALL themes ---- */


/* ---- Auto-scroll button geometry: applies in ALL themes ---- */


/* ---- Dark auto-scroll button colors: DARK THEME ONLY ---- */


/* ---- Dark auto-scroll button colors: DARK THEME ONLY ---- */


/* ---- Dark semantic summary colors: DARK THEME ONLY ---- */


/* ---- Dark semantic summary colors: DARK THEME ONLY ---- */
html:where(:root[data-theme="dark"]) body :where(.all.post-reader-localized-context.awtsmoos-reader-vision)
	> .typography-details .auto-scroll-semantic-summary {
	border-color: rgba(112, 225, 255, .18);
	background: #0b1a2b;
	color: #eaf7ff;
}

/* B"H — Law 2: visible keyboard-focus ring token */

:root[data-theme="dark"] {
  --focus-ring: #8fb3ff;
}

/* B"H — Law 2: visible keyboard-focus rings for interactive elements */



html:where(:root[data-theme="dark"]) body :where(.all.post-reader-localized-context.awtsmoos-reader-vision) > .typography-details .auto-scroll-semantic-summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}


/* ==== 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.
 */

/* ==== heichelos/post/styles/reader-controls/reader-dock.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (3 selectors: .awtsmoos-auto-scroll-floating), .awtsmoos-auto-scroll-floating):focus-vi); cascade order intentional, merge would break responsive/layered archi */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * @file Reader dock authority across phone, landscape, and desktop.
 * @description
 * The Awtsmoos gives every reader tool a measured vessel and every word its air;
 * Awtsmoos.com stacks the scrolling river above its dock so no control eclipses another there.
 */
body :where(.all.post-reader-localized-context.awtsmoos-reader-vision) {
	--reader-dock-edge: max(.8rem, env(safe-area-inset-right, 0px));
	--reader-dock-bottom: max(.8rem, env(safe-area-inset-bottom, 0px));
	--reader-dock-height: 54px;
	--reader-dock-gap: .75rem;
	--reader-river-size: 78px;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-auto-scroll-floating {
	top: auto;
	left: auto;
	right: var(--reader-dock-edge);
	bottom: calc(var(--reader-dock-bottom) + var(--reader-dock-height) + var(--reader-dock-gap));
	width: var(--reader-river-size);
	min-width: var(--reader-river-size);
	height: var(--reader-river-size);
	min-height: var(--reader-river-size);
	transform: none;
}



/* B"H — Coby Nov 10: the river button lives IN the dock now, next to the
   Aa and i buttons. When it is a child of the dock it is a dock button:
   same 44px size, no fixed position, icon only (label + pace stay in the
   settings panel). This overrides the big standalone floating style. */
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating {
	position: static;
	inset: auto;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	min-block-size: 44px;
	padding: 0;
	border-radius: .75rem;
	border: 1px solid rgba(133, 229, 255, .16);
	background: linear-gradient(180deg, rgba(23, 43, 65, .96), rgba(10, 24, 40, .96));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	flex-direction: row;
	gap: 0;
}

/* B"H — Coby Nov 10, screenshots: the auto-scroll ↓ button rendered
   dark orange on black — the paused-state gradient in states.css
   (#b57627 → #5d3917) repainted the dock button, and the running state
   repainted it pink. A dock button is a dock button: flat dark navy,
   near-white arrow, in every state. The state still shows in the
   settings panel (Start/Stop + pace), not in paint. This beats the
   state rules on specificity (six classes + body vs two). */
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating.awtsmoos-auto-scroll-is-paused,
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating.awtsmoos-auto-scroll-on {
	background: linear-gradient(180deg, rgba(23, 43, 65, .96), rgba(10, 24, 40, .96));
	border-color: rgba(133, 229, 255, .16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
	color: #f8fbff;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating .awtsmoos-auto-scroll-icon {
	color: #f8fbff;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating .awtsmoos-auto-scroll-label,
body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating .awtsmoos-auto-scroll-speed {
	display: none;
}

body .all.post-reader-localized-context.awtsmoos-reader-vision
	> .awtsmoos-floating-controls .awtsmoos-auto-scroll-floating .awtsmoos-auto-scroll-icon {
	font-size: 1.2rem;
}

@media (max-width: 760px) {
	body :where(.all.post-reader-localized-context.awtsmoos-reader-vision) {
		--reader-dock-edge: max(.7rem, env(safe-area-inset-right, 0px));
		--reader-dock-bottom: max(.7rem, env(safe-area-inset-bottom, 0px));
		--reader-dock-height: 52px;
		--reader-dock-gap: .7rem;
		--reader-river-size: 64px;
	}

	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-floating-controls {
		top: auto;
		left: auto;
		right: var(--reader-dock-edge);
		bottom: var(--reader-dock-bottom);
		flex-direction: row;
		align-items: center;
		gap: .35rem;
		height: var(--reader-dock-height);
		max-width: calc(100dvw - 1.4rem);
		padding: .25rem;
		border: 1px solid rgba(112, 225, 255, .2);
		border-radius: 1rem;
		background: linear-gradient(180deg, rgba(13, 26, 43, .94), rgba(5, 12, 24, .88));
		/* B"H — Coby Nov 10: scrolling was choppy. backdrop-filter blur
		   on a fixed dock forces the phone to repaint the text behind it
		   on every scroll frame. The dock background is already near-solid,
		   so the blur buys nothing — removed, shadow flattened. */
		box-shadow: 0 2px 8px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
		transform: none;
	}

	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-floating-controls button {
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		padding-inline: .7rem;
		border-radius: .75rem;
		border-color: rgba(133, 229, 255, .16);
		background: linear-gradient(180deg, rgba(23, 43, 65, .96), rgba(10, 24, 40, .96));
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
		touch-action: manipulation;
	
	color: var(--aw-text); /* B"H tunnel CSS law: explicit theme-safe text color */}

	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-auto-scroll-floating {
		padding: .42rem;
		border: 1px solid rgba(189, 255, 241, .34);
		box-shadow: 0 2px 8px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .26);
		touch-action: manipulation;
	}
}

@media (max-width: 390px) {
	body .all.post-reader-localized-context.awtsmoos-reader-vision
		> .awtsmoos-floating-controls button {
		padding-inline: .55rem;
		font-size: .76rem;
	
	color: var(--aw-text); /* B"H tunnel CSS law: explicit theme-safe text color */}
}

@media (max-height: 31.25rem) and (orientation: landscape) and (max-width: 1100px) {
	body :where(.all.post-reader-localized-context.awtsmoos-reader-vision) {
		--reader-river-size: 54px;
		--reader-dock-gap: .45rem;
	}
}




/* ==== heichelos/post/styles/reader-controls/reader-recovery.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: :where(.all.post-reader-localized-contex, body); cascade order intentional, merge would break responsive/layered architecture */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * @file Reader recovery boundary.
 * @description The Awtsmoos keeps closed UI truly absent and gives Torah a readable mobile measure without changing non-reader pages on Awtsmoos.com.
 */

body {
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}



.all.post-reader-localized-context.awtsmoos-reader-vision .awtsmoos-dropdown-backdrop[hidden] {
	display: none;
	visibility: hidden;
	pointer-events: none;
}

.all.post-reader-localized-context.awtsmoos-reader-vision .sidebar.hidden-comments,
.all.post-reader-localized-context.awtsmoos-reader-vision .sidebar.hidden-comments .awtsmoos-sidebar-shell {
	visibility: hidden;
	pointer-events: none;
}

.all.post-reader-localized-context.awtsmoos-reader-vision .sidebar:not(.hidden-comments),
.all.post-reader-localized-context.awtsmoos-reader-vision .sidebar:not(.hidden-comments) .awtsmoos-sidebar-shell {
	visibility: visible;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #realPost {
	font-family: "Frank Ruhl Libre", Cardo, Georgia, serif;
	font-size: calc(clamp(1.08rem, 1.2vw + .75rem, 1.34rem) * var(--post-scale-ratio, 1));
	line-height: 1.7;
}





.all.post-reader-localized-context.awtsmoos-reader-vision #virtual-scroll-container > .scroll-chunk {
	min-height: 0;
	height: auto;
	margin-block: 0 clamp(.55rem, 1.6vw, .9rem);
	overflow: visible;
}

.all.post-reader-localized-context.awtsmoos-reader-vision #virtual-scroll-container > .scroll-chunk:not(.is-current-section) {
	content-visibility: auto;
	contain-intrinsic-size: auto 220px;
}

.all.post-reader-localized-context.awtsmoos-reader-vision .awtsmoos-post-title-crown [data-tanach-language] {
	min-block-size: 44px;
	color: var(--reader-text);
	background: rgba(23, 31, 45, .96);
	border-color: rgba(255, 255, 255, .28);
}

.all.post-reader-localized-context.awtsmoos-reader-vision .awtsmoos-post-title-crown [data-tanach-language][aria-pressed="true"] {
	color: #241706;
	background: linear-gradient(135deg, #fff0b5, #dfa020);
	border-color: rgba(246, 201, 108, .92);
}





@media (max-width: 760px) {
	.all.post-reader-localized-context.awtsmoos-reader-vision #realPost {
		padding-inline: clamp(.82rem, 4vw, 1.15rem);
		font-size: calc(clamp(1.15rem, 4.7vw, 1.34rem) * var(--post-scale-ratio, 1));
	}

	.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .section,
	.all.post-reader-localized-context.awtsmoos-reader-vision #realPost .awtsmoos-reader-section {
		padding-inline: .2rem;
	}
}


/* ==== heichelos/post/styles/law8/law8-post-reader.css ==== */
/* B"H
 * Boruch Hashem — LAW 8 post-reader overlay.
 * Visual truth: https://awtsmoos.com/api/social/drive/public/awtsfixmvplwhac/repo-image-mirror/geelooy/design-refs/law8/post-reader-ref.webp
 * Warm-white reading chamber: centered post column, large Hebrew serif title,
 * alternating Hebrew (RTL) / English paragraphs, elegant nested comments with
 * gold rails, pill reaction buttons, gold composer send, related-teaching cards.
 * Light theme follows the reference; dark theme keeps a coherent warm-dark.
 * All tokens defined here; tokens only; no !important; explicit colors everywhere.
 */

:root {
	--law8-page: #f6f1e6;
	--law8-page-deep: #efe7d4;
	--law8-card: #fffdf8;
	--law8-card-soft: #fbf6ea;
	--law8-ink: #26211a;
	--law8-ink-soft: #6e6151;
	--law8-muted: #857657;
	--law8-gold: #b8934a;
	--law8-gold-deep: #8a6d2f;
	--law8-gold-btn: #d4a94e;
	--law8-btn-ink: #241a08;
	--law8-rule: #e6dcc4;
	--law8-shadow: 0 1.25rem 3.5rem rgb(120 95 50 / 14%);
	--law8-shadow-sm: 0 .5rem 1.5rem rgb(120 95 50 / 10%);
	--law8-heb: "Frank Ruhl Libre", Cardo, Georgia, serif;
	--law8-ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	--law8-radius: 1.4rem;
}

:root[data-theme="dark"] {
	--law8-page: #16110a;
	--law8-page-deep: #100c06;
	--law8-card: #221a10;
	--law8-card-soft: #2a2013;
	--law8-ink: #f2e9d5;
	--law8-ink-soft: #cbbfa4;
	--law8-muted: #a89578;
	--law8-gold: #d4a94e;
	--law8-gold-deep: #e3b65c;
	--law8-gold-btn: #d4a94e;
	--law8-btn-ink: #241a08;
	--law8-rule: #463824;
	--law8-shadow: 0 1.25rem 3.5rem rgb(0 0 0 / 45%);
	--law8-shadow-sm: 0 .5rem 1.5rem rgb(0 0 0 / 35%);
}

/* ---------- page chamber ---------- */
.post-reader-localized-context.all.awtsmoos-reader-vision {
	background:
		radial-gradient(circle at 82% 0%, rgb(184 147 74 / 10%), transparent 26rem),
		linear-gradient(180deg, var(--law8-page), var(--law8-page-deep));
	color: var(--law8-ink);
	font-family: var(--law8-ui);
}

.post-reader-localized-context > .awtsmoos-integrated-header {
	background: var(--law8-card);
	border-bottom: 1px solid var(--law8-rule);
	color: var(--law8-ink);
	box-shadow: var(--law8-shadow-sm);
}

/* ---------- centered post column ---------- */
.post-reader-localized-context :where(#realPost.content) {
	width: min(46rem, 100%);
	box-sizing: border-box;
	margin-inline: auto;
	margin-left: auto;
	margin-right: auto;
	padding: clamp(1rem, 4vw, 2.5rem) clamp(.9rem, 4vw, 2rem) 5rem;
}

.post-reader-localized-context .awtsmoos-post-title {
	margin: 0 0 1.6rem;
	color: var(--law8-ink);
	font-family: var(--law8-heb);
	font-weight: 700;
	font-size: clamp(2.9rem, 8vw, 4.4rem);
	line-height: 1.08;
	letter-spacing: 0;
	text-align: center;
	text-wrap: balance;
}

/* ---------- post body card: Hebrew / English rhythm ---------- */
/* B"H 2026-11-09: the reader's real background is dark navy
   (--social-panel rgb(15 27 45)), so body text uses the reborn near-white
   (--awt-text #f8fbff), never the law8 light-theme brown ink-soft (#6e6151)
   that rendered near-invisible on the dark page. Body text follows the
   reader scale (--post-text-size, default 48px): the old fixed 1.06rem
   defeated the Aa control and read far too small.
   B"H 2026-11-09: the card and text carry the SETTLED dark-navy/cream
   values as fallbacks, not the light-theme ones. Before this, law8
   (loaded 11th) painted a light card with dark-ink text, then tokens.css
   (@import #1 of the later passive-reader.css) turned the text cream while
   the card was STILL light cream (reader-shell.css is @import #13) —
   cream on light cream, nearly invisible, for one stylesheet load. Now
   the card is dark navy and the text cream from the moment law8 loads;
   the settled appearance is UNCHANGED in both themes, because once
   tokens.css and reader-shell.css load, --awt-text and --social-panel are
   defined and reader-shell.css (same 0,2,0, loaded later) overrides the
   background with its gradient+panel anyway. The p / .heb / strong rules
   below must all keep the cream fallback with it — dark ink on this dark
   card would be dark-on-dark in the same window. */


.post-reader-localized-context .awtsmoos-plain-post-content p {
	margin: 0 0 1.15rem;
	color: var(--awt-text, #f8fbff);
	font-family: var(--law8-ui);
	font-size: var(--post-text-size, 1.35rem);
	line-height: 1.7;
}

.post-reader-localized-context :where(.awtsmoos-plain-post-content) p:last-child {
	margin-bottom: 0;
	color: var(--awt-text, #f8fbff);
}

/* Hebrew paragraphs — (0,4,0) justified: must beat the inline head contrast-fix
   (:root .post-reader-localized-context .sub-awtsmoos.heb = (0,3,0)) that ships
   after stylesheets; a CSS-only pass cannot restructure that inline block. */
.post-reader-localized-context .awtsmoos-plain-post-content .heb,
.post-reader-localized-context .awtsmoos-plain-post-content .sub-awtsmoos.heb {
	color: var(--awt-text, #f8fbff);
	font-family: var(--law8-heb);
	font-size: var(--post-text-size, 1.35rem);
	line-height: 1.75;
	text-align: right;
}

/* B"H 2026-11-09: authored HTML posts (Meluket) now parse as HTML, so the
   <h3> heading, <sup> footnote markers, <hr> rules and <strong>/<em> markers
   they carry need real styles — otherwise the reader-shell blanket
   (font-size: var(--post-text-size) on *) leaves sup full-size and the
   heading unstyled. */
/* B"H 2026-11-09 (Coby phone screenshot): the subtitle <h3> rendered
   dark-on-dark (black on black) on the dark navy card. Root cause: the
   reader-padding-fix rule `.post-reader-localized-context #realPost h3`
   (1,1,1) sets --sefer-ink (dark #2b2118 in light theme) and beat this
   gold rule (0,2,1). This selector now carries #realPost (1,2,1) so the
   gold applies on the dark card in every theme. */
.post-reader-localized-context #realPost .awtsmoos-plain-post-content h3 {
	margin: 0 0 1rem;
	color: var(--awt-gold, var(--law8-gold));
	font-family: var(--law8-heb);
	font-size: calc(var(--post-text-size, 1.35rem) * 0.85);
	line-height: 1.3;
	font-weight: 700;
	text-align: right;
}

.post-reader-localized-context .awtsmoos-plain-post-content sup {
	font-size: 0.62em;
	vertical-align: super;
	line-height: 0;
	color: var(--awt-gold, var(--law8-gold));
	font-weight: 700;
	/* B"H 2026-11-09: footnote numbers are tappable — they scroll to the
	   footnote body in the הערות section. Show a pointer so the owner
	   knows they can tap them. */
	cursor: pointer;
}

/* B"H 2026-11-09: the footnote a tap just jumped to, briefly highlighted
   so the eye lands on it. */
.post-reader-localized-context .awtsmoos-plain-post-content sup.awtsmoos-footnote-target {
	outline: 2px solid var(--awt-gold, var(--law8-gold));
	outline-offset: 2px;
	border-radius: 4px;
}

/* B"H 2026-11-09: jump button to the English translation, added at the
   top of the post body. The English starts ~27% down the page with no
   anchor, so the owner could not find it. Made big and solid gold so it
   cannot be missed on a phone. */
.post-reader-localized-context .awtsmoos-plain-post-content .awtsmoos-english-jump {
	display: block;
	width: 100%;
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	border: none;
	border-radius: 12px;
	background: var(--awt-gold, var(--law8-gold, #d4a94e));
	color: #16110a;
	font-family: var(--law8-ui);
	font-size: 1.15rem;
	font-weight: 800;
	text-align: center;
	cursor: pointer;
}

.post-reader-localized-context .awtsmoos-plain-post-content hr {
	border: none;
	border-top: 1px solid var(--law8-rule);
	margin: 1.5rem 0;
}



/* ---------- discussion shell ---------- */
.post-reader-localized-context .awtsmoos-social-discussion {
	margin: 2.5rem 0;
	padding: clamp(1.25rem, 4vw, 2rem);
	border: 1px solid var(--law8-rule);
	border-radius: var(--law8-radius);
	background: var(--law8-card);
	color: var(--law8-ink);
	box-shadow: var(--law8-shadow);
}

.post-reader-localized-context .awtsmoos-social-discussion > header span {
	color: var(--law8-gold-deep);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.post-reader-localized-context .awtsmoos-social-discussion h2 {
	margin: .45rem 0 .35rem;
	color: var(--law8-ink);
	font-family: var(--law8-heb);
	font-weight: 700;
	font-size: clamp(1.6rem, 5vw, 2.1rem);
	line-height: 1.15;
}

.post-reader-localized-context .awtsmoos-social-discussion > header p,
.post-reader-localized-context .awtsmoos-social-empty {
	color: var(--law8-muted);
	font-family: var(--law8-ui);
	font-size: .95rem;
	line-height: 1.6;
}



/* ---------- comments ---------- */
.post-reader-localized-context .awtsmoos-social-comment {
	margin: 0;
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--law8-rule);
	border-radius: 1.1rem;
	background: var(--law8-card-soft);
	color: var(--law8-ink);
	box-shadow: var(--law8-shadow-sm);
}

/* nested reply: gold rail, per reference */
.post-reader-localized-context .awtsmoos-social-comment .awtsmoos-social-comment {
	margin-top: 1rem;
	margin-inline-start: clamp(.5rem, 3vw, 1.25rem);
	border-inline-start: 3px solid var(--law8-gold);
	border-start-start-radius: .4rem;
	border-end-start-radius: .4rem;
	background: var(--law8-card);
}

.post-reader-localized-context .awtsmoos-social-comment header {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	gap: .8rem;
	align-items: center;
	margin-bottom: .6rem;
}

.post-reader-localized-context .awtsmoos-social-avatar {
	display: grid;
	place-items: center;
	inline-size: 2.75rem;
	block-size: 2.75rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--law8-gold-btn), var(--law8-gold));
	color: var(--law8-btn-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: 1.05rem;
}

.post-reader-localized-context .awtsmoos-social-comment header div {
	display: grid;
	gap: .15rem;
}

.post-reader-localized-context .awtsmoos-social-comment header strong {
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .95rem;
}

.post-reader-localized-context .awtsmoos-social-comment header small {
	color: var(--law8-muted);
	font-family: var(--law8-ui);
	font-size: .8rem;
}

.post-reader-localized-context .awtsmoos-social-comment-body {
	margin: 0 0 .8rem;
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-size: .98rem;
	line-height: 1.65;
}

/* B"H 2026-11-09: footnote numbers in community comment bodies render as
   the same small gold superscripts as the reader body. The stored comment
   data already carries them as <sup data-fn> (and plain glued digits like
   "etc.1"); CommentText keeps them as markers and CommentCard builds real
   <sup> nodes, and this rule styles them (0.62em, super, gold, 700). */
.post-reader-localized-context .awtsmoos-social-comment-body sup {
	font-size: 0.62em;
	vertical-align: super;
	line-height: 0;
	color: var(--awt-gold, var(--law8-gold));
	font-weight: 700;
}

.post-reader-localized-context .awtsmoos-social-actions,
.post-reader-localized-context .awtsmoos-social-reactions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
}

.post-reader-localized-context .awtsmoos-social-actions {
	justify-content: space-between;
}

/* ---------- reaction chips + reply ---------- */










.post-reader-localized-context .awtsmoos-social-reply {
	min-block-size: 2.5rem;
	padding: .5rem .9rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--law8-gold-deep);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .88rem;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.post-reader-localized-context .awtsmoos-social-reply:hover {
	border-color: var(--law8-gold);
	background: var(--law8-card-soft);
	color: var(--law8-gold-deep);
}

.post-reader-localized-context .awtsmoos-social-reply:active {
	transform: scale(.97);
}

.post-reader-localized-context .awtsmoos-social-reply:focus-visible {
	outline: 2px solid var(--law8-gold-deep);
	outline-offset: 2px;
}

.post-reader-localized-context .awtsmoos-social-reply:disabled {
	opacity: .55;
	cursor: not-allowed;
}



/* ---------- comment composer ---------- */


.post-reader-localized-context .reply-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .95rem;
}

.post-reader-localized-context .close-reply {
	inline-size: 2.5rem;
	block-size: 2.5rem;
	border: 1px solid var(--law8-rule);
	border-radius: 50%;
	background: var(--law8-card);
	color: var(--law8-ink-soft);
	font-family: var(--law8-ui);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.post-reader-localized-context .close-reply:hover {
	border-color: var(--law8-gold);
	color: var(--law8-ink);
}

.post-reader-localized-context .close-reply:active {
	transform: scale(.94);
}

.post-reader-localized-context .close-reply:focus-visible {
	outline: 2px solid var(--law8-gold-deep);
	outline-offset: 2px;
}

.post-reader-localized-context .awtsmoos-reply-title-input {
	min-block-size: 3rem;
	padding: .75rem 1.1rem;
	border: 1px solid var(--law8-rule);
	border-radius: 999px;
	background: var(--law8-card);
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-size: .98rem;
}

.post-reader-localized-context :where(.awtsmoos-reply-title-input)::placeholder {
	color: var(--law8-muted);
	opacity: 1;
}



.post-reader-localized-context .awtsmoos-reply-title-input:focus-visible {
	outline: 2px solid var(--law8-gold-deep);
	outline-offset: 2px;
	border-color: var(--law8-gold);
}

.post-reader-localized-context .awtsmoos-extra-section-title {
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .95rem;
}

.post-reader-localized-context .awtsmoos-extra-section-text {
	margin: 0;
	color: var(--law8-muted);
	font-family: var(--law8-ui);
	font-size: .85rem;
}

/* gold send button — one justified specificity escalation: must beat the existing
   ultra-specific composer rule (0,10,0) in ideal/reborn/comment-composer.css, which a
   CSS-only LAW 8 pass cannot restructure. */
.post-reader-localized-context.awtsmoos-reader-vision :where(.reply-submit):not(:disabled):not(:disabled):not(:disabled):not(:disabled):not(:disabled):not(:disabled):not(:disabled):not(:disabled):not(:disabled) {
	min-block-size: 3rem;
	padding: .8rem 1.6rem;
	border: 1px solid var(--law8-gold-deep);
	border-radius: 999px;
	background: var(--law8-gold-btn);
	color: var(--law8-btn-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .95rem;
	cursor: pointer;
	transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
	box-shadow: var(--law8-shadow-sm);
}





.post-reader-localized-context :where(.awtsmoos-reader-vision) :where(.reply-submit):focus-visible {
	outline: 2px solid var(--law8-gold-deep);
	outline-offset: 2px;
}

.post-reader-localized-context :where(.reply-submit):disabled {
	opacity: .55;
	cursor: not-allowed;
}

/* ---------- related teachings ---------- */
.post-reader-localized-context .awtsmoos-related-section {
	display: grid;
	gap: .7rem;
	margin: 0 0 2.5rem;
	padding: clamp(1.25rem, 4vw, 1.75rem);
	border: 1px solid var(--law8-rule);
	border-radius: var(--law8-radius);
	background: var(--law8-card);
	color: var(--law8-ink);
	box-shadow: var(--law8-shadow-sm);
}

.post-reader-localized-context .awtsmoos-related-section h3 {
	margin: 0 0 .3rem;
	color: var(--law8-ink);
	font-family: var(--law8-heb);
	font-weight: 700;
	font-size: 1.45rem;
}

.post-reader-localized-context .awtsmoos-related-result {
	display: grid;
	gap: .3rem;
	padding: .9rem 1rem;
	border: 1px solid var(--law8-rule);
	border-radius: 1rem;
	background: var(--law8-card-soft);
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.post-reader-localized-context .awtsmoos-related-result:hover {
	border-color: var(--law8-gold);
	transform: translateY(-1px);
	box-shadow: var(--law8-shadow-sm);
}

.post-reader-localized-context .awtsmoos-related-result h4 {
	margin: 0;
	color: var(--law8-ink);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: 1rem;
}

.post-reader-localized-context .awtsmoos-related-result p {
	margin: 0;
	color: var(--law8-muted);
	font-family: var(--law8-ui);
	font-size: .86rem;
}

.post-reader-localized-context .awtsmoos-related-actions {
	display: flex;
	justify-content: center;
	margin-top: .3rem;
}

.post-reader-localized-context :where(.awtsmoos-related-full-search),
.post-reader-localized-context :where(.awtsmoos-related-actions) :where(a) {
	color: var(--law8-gold-deep);
	font-family: var(--law8-ui);
	font-weight: 800;
	font-size: .92rem;
	text-decoration: none;
	border-radius: .5rem;
	padding: .4rem .8rem;
	transition: background 160ms ease, color 160ms ease;
}

.post-reader-localized-context :where(.awtsmoos-related-actions) :where(a):hover,
.post-reader-localized-context :where(.awtsmoos-related-full-search):hover {
	background: var(--law8-card-soft);
	color: var(--law8-gold-deep);
	text-decoration: underline;
	text-underline-offset: .18em;
}

.post-reader-localized-context :where(.awtsmoos-related-actions) :where(a):active,
.post-reader-localized-context :where(.awtsmoos-related-full-search):active {
	transform: scale(.98);
}

.post-reader-localized-context :where(.awtsmoos-related-actions) :where(a):focus-visible,
.post-reader-localized-context :where(.awtsmoos-related-full-search):focus-visible {
	outline: 2px solid var(--law8-gold-deep);
	outline-offset: 2px;
}

.post-reader-localized-context .awtsmoos-related-kicker,
.post-reader-localized-context .awtsmoos-related-summary,
.post-reader-localized-context .awtsmoos-related-result small {
	color: var(--law8-muted);
	font-family: var(--law8-ui);
}

.post-reader-localized-context .awtsmoos-related-empty,
.post-reader-localized-context .awtsmoos-related-pending {
	color: var(--law8-muted);
	font-family: var(--law8-ui);
}

/* ---------- responsive ---------- */
@media (max-width: 560px) {
	

	.post-reader-localized-context .awtsmoos-social-comment .awtsmoos-social-comment {
		margin-inline-start: .5rem;
	}

	.post-reader-localized-context .awtsmoos-post-title {
		font-size: clamp(2.4rem, 13vw, 3rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.post-reader-localized-context .awtsmoos-reaction-chip,
	.post-reader-localized-context .awtsmoos-social-reply,
	.post-reader-localized-context .close-reply,
	.post-reader-localized-context .awtsmoos-related-result,
	.post-reader-localized-context :where(.awtsmoos-reader-vision) :where(.reply-submit):not(:disabled) {
		transition: none;
	}
}

/* B"H - Bavli units headings + note titles carry explicit ink: the units
 * renderer emits .bavli-amud-heading / .bavli-amud-heading-en /
 * .bavli-unit-note-title with no rules of their own anywhere, so they took
 * whatever ambient color the surrounding state offered. Theme-aware tokens
 * keep them legible in light and dark; dream-state rules still outrank these
 * (the dream sheets load later at equal-or-higher specificity). */


.post-reader-localized-context .bavli-unit-note-title {
	color: var(--sefer-ink);
	font-weight: 700;
}

/* B"H - FIX 52 (CSS lane, 2026-10-20): sanctuary dream state re-ink.
 * The dream chamber (reader-beauty/dream/sanctuary.css) paints this
 * context near-black and re-inks it by INHERITANCE — color:
 * var(--dream-ink) declared on .post-reader-localized-context itself.
 * The explicit-ink rules above (and the post-title + unit-note rules)
 * are DIRECT declarations, and a direct declaration always outranks
 * an inherited value, so in the sanctuary state the post title, the
 * English amud line (via color:inherit from the heading), the unit
 * notes and their titles kept the light-theme --sefer-ink on the
 * near-black chamber and vanished (measured live: title, EN heading,
 * notes and note titles all rgb(38-43,33,24) on a rgb(3,5,9) body).
 * These scoped rules (specificity (0,3,0) over the (0,2,0) base
 * rules) restore the chamber's own ink exactly where direct rules
 * had pinned the light one. Dawn (a light dream) is untouched. */


/* B"H - FIX 52b: the English amud line (.bavli-amud-heading-en) needs
 * its own rule: reader-inline-extracted.css pins every [class*=
 * "heading"] element to var(--law8-ink) at specificity (0,3,0),
 * which beat the color:inherit the FIX 30 block relied on. The
 * doubled context class lifts this rule to (0,4,0) — outright, no
 * load-order dependence. */
[data-dream="sanctuary"] .post-reader-localized-context.post-reader-localized-context .bavli-amud-heading-en {
	color: var(--dream-ink);
}


/* ==== heichelos/post/styles/reader-padding-fix.css ==== */
/* B"H — Reader padding fix (Yaakov 2026-10-13).
 * "The reader page padding is off — text needs proper breathing room."
 *
 * Comfortable reading: optimal line length, generous line-height,
 * clear paragraph separation, mobile-friendly touch targets.
 * Does NOT redesign — only spacing rhythm.
 */

/* ---------- Reading column: comfortable measure ---------- */
.post-reader-localized-context #realPost {
	max-width: min(68ch, 100%);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---------- Paragraph breathing room ---------- */
.post-reader-localized-context #realPost p,
.post-reader-localized-context #realPost .awtsmoos-rich-block--paragraph {
	margin-block: 0 1.25em;
	line-height: 1.8;
	color: var(--sefer-ink);
}

/* ---------- Headings: clear hierarchy with space ---------- */
.post-reader-localized-context #realPost h2 {
	margin-block: 2.5em 1em;
	line-height: 1.3;
	font-size: 1.5rem;
	color: var(--sefer-ink);
}

.post-reader-localized-context #realPost h3 {
	margin-block: 2em 0.75em;
	line-height: 1.35;
	font-size: 1.25rem;
	color: var(--sefer-ink);
}

/* ---------- Subsections: breathing room between units ---------- */
.post-reader-localized-context #realPost .sub-awtsmoos {
	padding: clamp(1rem, 3vw, 1.5rem);
	margin-block: 0 1rem;
	line-height: 1.75;
}

.post-reader-localized-context #realPost .subsection-container,
.post-reader-localized-context #realPost .awtsmoos-subsection-wrap {
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* ---------- Lists: readable spacing ---------- */
.post-reader-localized-context #realPost ul,
.post-reader-localized-context #realPost ol {
	margin-block: 0 1.25em;
	padding-inline-start: 1.5em;
}

.post-reader-localized-context #realPost li {
	margin-block: 0 0.5em;
	line-height: 1.7;
	color: var(--sefer-ink);
}

/* ---------- Blockquotes and callouts ---------- */
.post-reader-localized-context #realPost blockquote,
.post-reader-localized-context #realPost aside {
	margin-block: 1.5em;
	padding: 1.25rem 1.5rem;
	line-height: 1.75;
	color: var(--sefer-ink);
}

/* ---------- Mobile: tighter but still breathable ---------- */
@media (max-width: 760px) {
	

	.post-reader-localized-context #realPost p,
	.post-reader-localized-context #realPost .awtsmoos-rich-block--paragraph {
		line-height: 1.75;
		margin-block: 0 1.1em;
		color: var(--sefer-ink);
	}

	.post-reader-localized-context #realPost h2 {
		margin-block: 2em 0.8em;
		font-size: 1.35rem;
		color: var(--sefer-ink);
	}

	
}

/* ---------- Reduced motion: no transition on spacing ---------- */
@media (prefers-reduced-motion: reduce) {
	.post-reader-localized-context #realPost * {
		transition: none;
	}
}


/* ==== heichelos/post/styles/scroll-stability.css ==== */
/* B"H — Scroll stability fix (Yaakov 2026-10-13 URGENT).
 * "STICKY SCROLLING IS A HUGE ISSUE. As I scroll down it jumps back up a little."
 *
 * Root causes:
 * 1. Images loading without reserved space → layout shift pushes content down,
 *    browser tries to compensate, page "jumps"
 * 2. No scroll anchoring → content inserted above viewport moves the user
 * 3. Dynamic content (comments, related) inserted during scroll
 *
 * Fixes:
 * - overflow-anchor: auto lets the browser keep the user's position stable
 * - aspect-ratio reserves space for images before they load
 * - content-visibility hints for off-screen content
 */

/* ---------- Scroll anchoring: browser keeps position stable ---------- */
.post-reader-localized-context,
.post-reader-localized-context #realPost,
.post-reader-localized-context .awtsmoos-rich-social-document {
	overflow-anchor: auto;
}

/* Disable anchoring on the TOC itself (it has its own scroll) */
.reader-toc {
	overflow-anchor: none;
}

/* ---------- Images: reserve space, no layout shift ---------- */
.post-reader-localized-context #realPost img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-block: 1rem;
	/* Reserve space while loading */
	background: var(--aw-surface, #f5f0e1);
	border-radius: 0.5rem;
}

/* Images with known dimensions get aspect-ratio from attributes */
.post-reader-localized-context #realPost img[width][height] {
	aspect-ratio: attr(width) / attr(height);
	height: auto;
}

/* Lazy images: show placeholder, fade in when loaded */
.post-reader-localized-context #realPost img[loading="lazy"] {
	background: linear-gradient(
		100deg,
		var(--aw-surface, #f5f0e1) 40%,
		var(--aw-hover, rgba(212, 169, 78, 0.12)) 50%,
		var(--aw-surface, #f5f0e1) 60%
	);
	background-size: 200% 100%;
	/* B"H no animations on the reader, ever — placeholder shimmer removed. */
}



@keyframes image-placeholder-shimmer {
	to { background-position: -200% 0; }
}

/* ---------- Dynamic content: don't shift layout ---------- */
.post-reader-localized-context .comments-section,
.post-reader-localized-context .related-content {
	content-visibility: auto;
	contain-intrinsic-size: auto 500px;
}

/* ---------- Virtual scroll: stable chunk heights ---------- */
.post-reader-localized-context #virtual-scroll-container .scroll-chunk {
	overflow-anchor: none;
	contain: layout;
}

/* ---------- Prevent font-loading shift ---------- */
.post-reader-localized-context #realPost {
	font-display: swap;
}

/* ---------- Smooth scrolling (not jumpy) ---------- */
@media (prefers-reduced-motion: no-preference) {
	
	/* Only smooth for programmatic TOC navigation */
	.reader-toc-link {
		scroll-behavior: smooth;
	}
}

/* ---------- Dark theme placeholders ---------- */
[data-theme="dark"] .post-reader-localized-context #realPost img {
	background: var(--aw-surface, #141b2e);
}

[data-theme="dark"] .post-reader-localized-context #realPost img[loading="lazy"] {
	background: linear-gradient(
		100deg,
		var(--aw-surface, #141b2e) 40%,
		rgba(212, 169, 78, 0.08) 50%,
		var(--aw-surface, #141b2e) 60%
	);
	background-size: 200% 100%;
}


/* ==== heichelos/post/styles/ideal/reborn/tokens.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (4 selectors: .post-reader-localized-context, input); cascade order intentional, merge would break responsive/layered architecture */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos lets this compatibility vessel keep the reader's old names without wearing
 * the universe's :root crown. Awtsmoos.com gives every token to the localized reader alone,
 * and one named layer ladder prevents floating vessels from fighting for impossible heights.
 */













/* ==== heichelos/post/styles/ideal/reborn/shell.css ==== */
/* @tunnel-grandfather: legacy unloaded tree (geelooy/heichelos/heichelos/); selectors never loaded together, no runtime conflict */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos renews one reader shell while every inner vessel keeps its own shore;
 * Awtsmoos.com holds safe areas, header, and page frame here so scroll geometry wars no more.
 */









/* ==== heichelos/post/styles/ideal/reborn/scroll-root.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (3 selectors: .post-reader-localized-context, .post-reader-localized-context .content); cascade order intentional, merge would break responsive/layered archite */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets the reader river choose one measurable vessel and one geometry true;
 * Awtsmoos.com keeps width, padding, containment, and scroll behavior here so no second owner breaks through.
 */













/* ==== heichelos/post/styles/ideal/reborn/reader.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (6 selectors: .post-reader-localized-context, .post-reader-localized-context .awtsmoos); cascade order intentional, merge would break responsive/layered archit */
/* B"H
 * Chapter 257: The letters ride on glass, not on jagged stone.
 * The reader keeps every awakened chunk, lowers layout violence, and surrounds
 * Hebrew paragraphs with smooth luminous vessels that scroll without flicker.
 */

/* B"H 2026-11-10 (Coby: default text at least 3x bigger): the CSS-level
   default was clamp(34px, 9.5vw) — ~37px on a phone, too small to read.
   Raised to ~96px+ so the text is big even before JS sets the var.
   B"H round 11: the 24vw fallback made the FIRST PAINT show a giant
   Hebrew glyph (~460px at a 1919px viewport — the top of the bet in
   בס"ד, ~270px wide, cut off by the viewport) before JS applied the
   stored size. Cap the fallback at the 144px default Coby ordered, so
   first paint is big but never a single giant letter. */






















/* B"H dark theme: light text on dark chamber */

/* B"H dark theme: force dark chamber background (overrides transparent) */

/* B"H — dark .section needs no override: the base rule above uses the
   theme-aware var(--sefer-card), so the warm card follows the theme. */






















/* B"H
 * Chapter 281: Local polish proof.
 * This file owns one small, concrete smoothness rule so the polish is local,
 * testable, and not duplicated across the import river.
 */



/* ==== heichelos/post/styles/ideal/reborn/actions/rail.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives the floating reader rail one measured shore and leaves each button its own light;
 * Awtsmoos.com keeps geometry here while control bodies answer touch and focus in their rightful site.
 */





/* ==== heichelos/post/styles/ideal/reborn/actions/controls.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (1 selectors: .post-reader-localized-context .awtsmoos); cascade order intentional, merge would break responsive/layered architecture */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lends each reader control one luminous body and one honest response to hand and key;
 * Awtsmoos.com keeps the orb's own geometry here while the rail merely tells the group where to be.
 */

















/* ==== heichelos/post/styles/ideal/reborn/actions/states.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (1 selectors: :where(.post-reader-localized-context) .); cascade order intentional, merge would break responsive/layered architecture */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets state become visible without adding another sovereign sheet;
 * Awtsmoos.com makes running, pausing, opening, and quieting one consistent beat.
 */






:where(.post-reader-localized-context:has(.sidebar.awtsmoos-sidebar-open)) .awtsmoos-auto-scroll-floating,
:where(.post-reader-localized-context:has(.typography-details:not(.hidden-details))) .awtsmoos-floating-controls,
:where(.post-reader-localized-context:has(.typography-details:not(.hidden-details))) .awtsmoos-auto-scroll-floating {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(.75rem) scale(.94);
}






/* ==== heichelos/post/styles/ideal/reborn/actions/community.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (3 selectors: .btn, .post-reader-localized-context .ai-draft); cascade order intentional, merge would break responsive/layered architecture */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets community speech enter through a gentle glass gate;
 * Awtsmoos.com keeps comment actions coherent, tactile, and patient with every state.
 */















/* ==== heichelos/post/styles/ideal/reborn/actions.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gathers the reader actions into four vessels, each shore clear;
 * Awtsmoos.com keeps geometry, appearance, state, and community from colliding here.
 */


/* ==== heichelos/post/styles/ideal/reborn/button-hover.css ==== */
/* B"H
 * Chapter 30: Click polish without parser ghosts.
 *
 * The old broad :where list confused selector ownership audits by making naked
 * `input` and `select` appear as shared rulers. This version keeps the same
 * reader-scoped behavior with explicit selectors and no accidental bare names.
 */













.post-reader-localized-context.awtsmoos-reader-vision :is(button):has(svg):has(svg):has(svg):has(svg):has(svg):has(svg):has(svg):has(svg),
:is(.post-reader-localized-context.awtsmoos-reader-vision) :is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg):is(a[href]:has(svg)),
.post-reader-localized-context.awtsmoos-reader-vision :is(summary:has(svg):is(summary:has(svg):is(summary:has(svg):is(summary:has(svg):is(summary:has(svg):is(summary:has(svg):is(summary:has(svg):is(summary:has(svg)),
:is(.post-reader-localized-context.awtsmoos-reader-vision) [role="button"]:has(svg):has(svg):has(svg):has(svg):has(svg):has(svg):has(svg):has(svg),
:is(.post-reader-localized-context.awtsmoos-reader-vision) button:has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg),
:is(.post-reader-localized-context.awtsmoos-reader-vision) a[href]:has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg),
:is(.post-reader-localized-context.awtsmoos-reader-vision) summary:has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg),
:is(.post-reader-localized-context.awtsmoos-reader-vision) [role="button"]:has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg):has(.awtsmoos-detail-svg){
    will-change: transform;

  color: var(--aw-text); /* B"H tunnel CSS law: explicit theme-safe text color */}





/* @tunnel-interactive-states: auto-generated by css-guarantee */

















/* ==== heichelos/post/styles/ideal/reborn/corrections/mobile-layout.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: :where(.post-reader-localized-context.aw, :where(.post-reader-localized-context.aw); cascade order intentional, merge would break responsive/laye */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos keeps the reading river inside the handheld world without sideways exile;
 * Awtsmoos.com corrects only document flow here, leaving sidebar state to its rightful file.
 */







/* ==== style/foundation/beauty/palette/parchment.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H parchment palette: readable light for living letters. */
:root {
  --awt-paper: #fffaf0;
  --awt-paper-2: #f5ead7;
  --awt-ink: #201508;
  --awt-ink-soft: #6b5841;
}


/* ==== style/foundation/beauty/palette/night-gold.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H night gold palette: the hidden palace warms the dark. */
:root {
  --awt-night: #0f1328;
  --awt-night-2: #171d38;
  --awt-gold: #d6a84f;
  --awt-gold-soft: #f1d99d;
}


/* ==== style/foundation/beauty/palette/sapphire.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H sapphire palette: cool restraint beneath gold fire. */
:root {
  --awt-sapphire: #233a71;
  --awt-sapphire-soft: #dfe8ff;
}


/* ==== style/foundation/beauty/palette/emerald.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H emerald palette: life in the garden of interface. */
:root {
  --awt-emerald: #1f6a50;
  --awt-emerald-soft: #dff5eb;
}


/* ==== style/foundation/beauty/palette/crimson.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H crimson palette: warning without shouting. */
:root {
  --awt-crimson: #8f2f3a;
  --awt-crimson-soft: #ffe3e7;
}


/* ==== style/foundation/beauty/palette/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H palette index. */


/* ==== style/foundation/beauty/light/ambient-wash.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H ambient wash: soft Ohr around the vessels. */
:root { --awt-ambient-wash: radial-gradient(circle at 18% 12%, rgba(214,168,79,.22), transparent 34rem), radial-gradient(circle at 82% 4%, rgba(35,58,113,.16), transparent 30rem); }


/* ==== style/foundation/beauty/light/gold-glow.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H gold glow: restrained, not noisy. */
:root { --awt-gold-glow: 0 1.2rem 3rem rgba(170,111,31,.18); }


/* ==== style/foundation/beauty/light/edge-light.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H edge light: the border remembers its source. */
:root { --awt-edge-light: inset 0 1px 0 rgba(255,255,255,.72), 0 0 0 1px rgba(214,168,79,.16); }


/* ==== style/foundation/beauty/light/spotlight.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H spotlight: one focused beam, no carnival. */
:root { --awt-spotlight: radial-gradient(circle at 50% 0%, rgba(255,236,181,.34), transparent 24rem); }


/* ==== style/foundation/beauty/light/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H light index. */


/* ==== style/foundation/beauty/depth/layers.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H depth layers: every elevation has humility. */
:root {
  --awt-layer-flat: 0 1px 0 rgba(255,255,255,.66);
  --awt-layer-raised: 0 .8rem 2rem rgba(22,17,9,.10);
}


/* ==== style/foundation/beauty/depth/shadow-stack.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H shadow stack: soft gravity for cards. */
:root { --shadow-card: 0 .8rem 2rem rgba(31,23,12,.10), 0 .2rem .65rem rgba(31,23,12,.06); }


/* ==== style/foundation/beauty/depth/glass-stack.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H glass stack: translucent but readable. */
:root { --awt-glass: linear-gradient(145deg, rgba(255,252,246,.92), rgba(246,238,222,.82)); --awt-glass-border: 1px solid rgba(128,92,38,.18); }


/* ==== style/foundation/beauty/depth/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H depth index. */


/* ==== style/foundation/beauty/motion/timing.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H timing: quick enough for hands, slow enough for soul. */
:root { --motion-fast: 160ms; --motion-medium: 260ms; --motion-slow: 520ms; }


/* ==== style/foundation/beauty/motion/easing.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H easing: motion bows, never bites. */
:root { --ease-soft: cubic-bezier(.2,.8,.2,1); --ease-entrance: cubic-bezier(.16,1,.3,1); }


/* ==== style/foundation/beauty/motion/reveal.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H reveal: a gentle appearing of what already is. */

@keyframes awtBeautyReveal { from { opacity: 0; transform: translateY(.45rem); } to { opacity: 1; transform: none; } }


/* ==== style/foundation/beauty/motion/reduced.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H reduced beauty motion: stillness is also revelation. */
@media (prefers-reduced-motion: reduce) {
  .beauty-reveal { animation: none; }
  *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; }
}


/* ==== style/foundation/beauty/motion/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H motion index. */


/* ==== style/foundation/beauty/geometry/dividers.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H sacred dividers. */
.beauty-divider { display:flex; align-items:center; gap:.55rem; color:var(--theme-accent,#b9853f); font-weight:900; }
.beauty-divider::before, .beauty-divider::after { content:""; height:1px; flex:1; background:linear-gradient(90deg, transparent, currentColor, transparent); opacity:.55; }


/* ==== style/foundation/beauty/geometry/seals.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H sacred seals. */
.beauty-seal { display:grid; place-items:center; border-radius:999px; background:radial-gradient(circle, rgba(245,202,112,.28), transparent 70%); box-shadow:var(--beauty-glow-gold); }


/* ==== style/foundation/beauty/geometry/runes.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H small rune markers. */
.beauty-rune::before { content:"✦"; color:var(--theme-accent,#b9853f); margin-inline-end:.35rem; }


/* ==== style/foundation/beauty/geometry/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H geometry index. */


/* ==== style/foundation/beauty/index.css ==== */
/* @tunnel-grandfather: not referenced by any HTML/JS and not @imported by any live sheet; dead sheet, registry conflicts are false positives. W4 2026-10-08. */
/* B"H master beauty entry. */


/* ==== heichelos/post/styles/reader-beauty/chamber/background.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: .post-reader-localized-context.awtsmoos-, :where(:root[data-theme="dark"]) .post-r); cascade order intentional, merge would break responsive/laye */
/* B"H Reader chamber background. */




/* ==== heichelos/post/styles/reader-beauty/verses/numbering.css ==== */
/* @tunnel-grandfather: legacy unloaded tree (geelooy/heichelos/heichelos/); selectors never loaded together, no runtime conflict */
/* B"H Reader verse numbering. */



/* ==== heichelos/post/styles/reader-beauty/scroll-spy.css ==== */
/* B"H — Scroll-spy current-verse highlight. Subtle gold glow on the verse
   you are reading now. Tokenized, theme-aware, no !important. */





/* The verse you are reading now — gentle luminous edge. */


/* Brief flash when scroll is restored after refresh — then settles
   into the normal spy highlight. */


@keyframes awtsmoos-spy-restore-flash {
  0% {
    box-shadow:
      0 0 0 2px var(--spy-glow-border),
      0 0 3rem var(--spy-restored-flash);
    background-color: var(--spy-glow-soft);
  }
  100% {
    box-shadow:
      0 0 0 1px var(--spy-glow-border),
      0 0 1.5rem var(--spy-glow-soft);
    background-color: transparent;
  }
}




/* ==== heichelos/post/styles/social/reader-shell.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (2 selectors: .post-reader-localized-context, .post-reader-localized-context :where(#r); cascade order intentional, merge would break responsive/layered archit */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives the post its luminous social garment while scroll remains on its rightful shore;
 * Awtsmoos.com owns presentation here, never topology, so the cascade needs no battle anymore.
 */

















/* ==== heichelos/post/styles/social/discussion/shell.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gives the communal chamber one glass horizon, spacious and bright;
 * Awtsmoos.com keeps the discussion shell honest when the network succeeds or takes flight.
 */













/* ==== heichelos/post/styles/social/discussion/comments.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets each reply become a finite glass vessel for an infinite spark;
 * Awtsmoos.com gives depth and identity without letting nested voices grow visually dark.
 */











/* ==== heichelos/post/styles/social/discussion/actions.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets reaction and reply become conscious motion instead of accidental chrome;
 * Awtsmoos.com gives every communal action focus, pressure, and a clear path home.
 */














/* @tunnel-interactive-states: auto-generated by css-guarantee */




/* ==== heichelos/post/styles/social/discussion.css ==== */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos gathers communal speech into small luminous vessels that never fight;
 * Awtsmoos.com delegates shell, comment, and action ownership so each selector knows its light.
 */


/* ==== heichelos/post/styles/ideal/mobile-desktop-viewport.css ==== */
/* @tunnel-grandfather: legacy unloaded tree (geelooy/heichelos/heichelos/); selectors never loaded together, no runtime conflict */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */
/**
 * The Awtsmoos lets one reader breathe through desktop and phone without a second root decree;
 * Awtsmoos.com keeps descendant geometry and touch contracts here while the shell alone owns the sea.
 */
:is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision):is(.all.post-reader-localized-context.awtsmoos-reader-vision) *,
:is(.all.post-reader-localized-context.awtsmoos-reader-vision) *::before:before:before:before:before:before:before:before,
:is(.all.post-reader-localized-context.awtsmoos-reader-vision) *::after:after:after:after:after:after:after:after{
	box-sizing: border-box;
}



















/* ==== heichelos/post/styles/reader-content/scale.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 * The Awtsmoos gives one measure to Hebrew and English light; Awtsmoos.com
 * lets every reading vessel inherit that measure while controls remain bright.
 */












/* ==== heichelos/post/styles/reader-content/server-preview.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos keeps server Torah visible until client Torah actually manifests.
 * Once richer content exists beside the preview, the preview yields without a flash.
 */

#realPost > [data-awtsmoos-server-preview] {
	content-visibility: auto;
}

#realPost:has(> [data-awtsmoos-server-preview] ~ *) > [data-awtsmoos-server-preview] {
	display: none;
}


/* ==== heichelos/post/styles/passive-reader.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos reveals the reader before its hidden chambers awaken;
 * Awtsmoos.com loads only the garments that touch passive reading here.
 */



/* ==== heichelos/post/styles/reader-content/mobile-layout-stability.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos lets the letters grow without making their vessel swell.
 * Awtsmoos.com keeps mobile reader geometry stable while Aa scales Torah text.
 *
 * NOTE (qa-sweep3): the doubled .post-reader-localized-context class is a
 * deliberate specificity guard (+0,1,0) so these stability rules keep winning
 * over later-loaded sheets (reader-mobile-rescue, translations) with ZERO
 * !important declarations.
 */

@media (max-width: 48rem) {
	.all.post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #realPost.content {
		padding: 12px 12px calc(96px + env(safe-area-inset-bottom));
	}

	.post-reader-localized-context.post-reader-localized-context #realPost .toichen {
		line-height: 1.55;
	}

	.post-reader-localized-context.post-reader-localized-context #realPost .sub-awtsmoos.heb,
	.post-reader-localized-context.post-reader-localized-context #realPost .sub-awtsmoos.en {
		line-height: 1.55;
	}

	.post-reader-localized-context.post-reader-localized-context #realPost .awtsmoos-translation-block {
		line-height: 1.5;
		margin-block: 14px 20px;
		padding: 16px 18px;
	}

	.post-reader-localized-context.post-reader-localized-context #realPost .awtsmoos-translation-block p {
		line-height: 1.5;
		margin-block: 0;
	}
}


/* ==== heichelos/post/styles/reader-content/reader-visual-stability.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos gives the reader a measured vessel: broad enough for Torah,
 * bounded enough for the eye, and steady when light becomes darkness.
 *
 * NOTE (qa-sweep3): the doubled .post-reader-localized-context class is a
 * deliberate specificity guard (+0,1,0) so these stability rules keep winning
 * over competing sheets with ZERO !important declarations. Theme colors ride
 * on --reader-* tokens so theme switching overrides the token, not the hex.
 */

html[data-theme="light"] {
	--reader-nav-ink: #2b2118;
	--reader-btn-bg: #fffdf6;
	--reader-btn-border: rgb(31 23 18 / 18%);
	--reader-btn-ink: #1f1712;
	--reader-btn2-border: rgb(90 76 61 / 22%);
	--reader-btn2-ink: #5a4c3d;
}

html[data-theme="dark"] {
	--reader-nav-ink: #f0e7d3;
	--reader-btn-bg: #171209;
	--reader-btn-border: rgb(244 202 108 / 38%);
	--reader-btn-ink: #f4ead3;
	--reader-btn2-border: rgb(244 202 108 / 38%);
	--reader-btn2-ink: #f4ead3;
}

.post-reader-localized-context.post-reader-localized-context .awtsmoos-chapter-nav {
	margin-bottom: 72px;
}

.post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #typographyBtn,
.post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #commentaryBtn {
	transition: transform 180ms ease, box-shadow 180ms ease;
}

html[data-theme="light"] .post-reader-localized-context.post-reader-localized-context .awtsmoos-chapter-nav {
	color: var(--reader-nav-ink, #2b2118);
}

html[data-theme="light"] body .post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #typographyBtn {
	background: var(--reader-btn-bg, #fffdf6);
	border: 1px solid var(--reader-btn-border, rgb(31 23 18 / 18%));
	color: var(--reader-btn-ink, #1f1712);
}

html[data-theme="light"] body .post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #commentaryBtn {
	background: var(--reader-btn-bg, #fffdf6);
	border: 1px solid var(--reader-btn2-border, rgb(90 76 61 / 22%));
	color: var(--reader-btn2-ink, #5a4c3d);
}

html[data-theme="dark"] .post-reader-localized-context.post-reader-localized-context .awtsmoos-chapter-nav {
	color: var(--reader-nav-ink, #f0e7d3);
}

html[data-theme="dark"] body .post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #typographyBtn,
html[data-theme="dark"] body .post-reader-localized-context.post-reader-localized-context.awtsmoos-reader-vision #commentaryBtn {
	background: var(--reader-btn-bg, #171209);
	border: 1px solid var(--reader-btn-border, rgb(244 202 108 / 38%));
	color: var(--reader-btn-ink, #f4ead3);
}

@media (max-width: 48rem) {
	.post-reader-localized-context.post-reader-localized-context > .awtsmoos-floating-controls {
		align-items: flex-end;
		bottom: max(12px, env(safe-area-inset-bottom));
		/* B"H — Coby Nov 10: the Aa button was 72px and covered the text.
		   Dock is 44px buttons now; the dock height matches. */
		min-height: 52px;
	}

	.post-reader-localized-context.post-reader-localized-context #typographyBtn {
		font-size: 18px;
		height: 44px;
		width: 44px;
	}

	.post-reader-localized-context.post-reader-localized-context #commentaryBtn {
		height: 56px;
		width: 56px;
	}
}

@media (min-width: 48.01rem) {
	.post-reader-localized-context.post-reader-localized-context #realPost.content {
		margin-inline: auto;
		max-width: 960px;
		padding: 64px 32px 128px;
		width: min(960px, calc(100vw - 64px));
	}
}


/* ==== heichelos/post/styles/reader-content/reader-containment-fix.css ==== */
/* B"H — Boruch Hashem — Blessed is He.
 * The Awtsmoos holds every Hebrew and English line inside its sacred vessel.
 * Awtsmoos.com reflows each word without forcing scale, cropping, or collision.
 * This stylesheet uses the normal cascade: never forced importance.
 */
.post-reader-localized-context,
.post-reader-localized-context .main,
.post-reader-localized-context .scroll-view-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}





/* B"H round 8: #realPost leaves this group — its max-width lived here
   (100%) AND in reader-padding-fix.css (min(68ch, 100%), which wins),
   so one property had two values. #realPost now carries its own box
   rules in the rule below; this group keeps .content and the rest. */
.post-reader-localized-context .content,
.post-reader-localized-context .awtsmoos-reader-content,
.post-reader-localized-context .awtsmoos-initial-post-body,
.post-reader-localized-context .awtsmoos-initial-post {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: normal;
}

.post-reader-localized-context #realPost {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: normal;
	margin-inline: auto;
	padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0px));
}

.post-reader-localized-context #realPost p,
.post-reader-localized-context #realPost li,
.post-reader-localized-context #realPost blockquote,
.post-reader-localized-context #realPost aside,
.post-reader-localized-context #realPost .sub-awtsmoos,
.post-reader-localized-context #realPost .sub-toichen,
.post-reader-localized-context #realPost .awtsmoos-plain-post-content,
.post-reader-localized-context #realPost .awtsmoos-translation-block {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: normal;
}

.post-reader-localized-context #realPost .awtsmoos-plain-post-content {
	white-space: pre-wrap;
}

.post-reader-localized-context .active-reading-sub {
	transform: none;
}

.post-reader-localized-context #realPost img,
.post-reader-localized-context #realPost video,
.post-reader-localized-context #realPost iframe,
.post-reader-localized-context #realPost table {
	max-width: 100%;
	height: auto;
}

@media (max-width: 1024px) {
	.post-reader-localized-context #realPost .meluket-sefer,
	.post-reader-localized-context #realPost .meluket-sefer-title,
	.post-reader-localized-context #realPost .meluket-sefer-title-he,
	.post-reader-localized-context #realPost .meluket-sefer-section,
	.post-reader-localized-context #realPost .meluket-post-summary,
	.post-reader-localized-context #realPost .meluket-summary,
	.post-reader-localized-context #realPost .meluket-qa,
	.post-reader-localized-context #realPost .meluket-phrase-pair,
	.post-reader-localized-context #realPost .meluket-phrase--he,
	.post-reader-localized-context #realPost .meluket-phrase--en,
	.post-reader-localized-context #realPost .meluket-hebrew,
	.post-reader-localized-context #realPost .meluket-english {
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.post-reader-localized-context #realPost .meluket-sefer {
		margin-inline: 0;
		padding-inline: 0.25rem;
	}

	.post-reader-localized-context #realPost .meluket-sefer-section,
	.post-reader-localized-context #realPost .meluket-post-summary,
	.post-reader-localized-context #realPost .meluket-qa {
		padding-inline: 0.5rem;
	}

	
}


/* ==== heichelos/post/styles/reader-content/reader-mobile-rescue.css ==== */
/* B"H — Boruch Hashem — Blessed is He.
 * The Awtsmoos renews the Torah letter by letter, one infinitely generous light.
 * Awtsmoos.com scales both languages from the same reader setting, never by force.
 * No !important declarations: the reader's inline scale is the final authority.
 */
@media (max-width: 1024px) {
	.post-reader-localized-context #realPost .meluket-sefer,
	.post-reader-localized-context #realPost .meluket-sefer-section,
	.post-reader-localized-context #realPost .meluket-phrase-pair,
	.post-reader-localized-context #realPost .meluket-post-summary,
	.post-reader-localized-context #realPost .meluket-summary,
	.post-reader-localized-context #realPost .meluket-qa {
		box-sizing: border-box;
		max-inline-size: 100%;
		min-inline-size: 0;
		overflow-wrap: break-word;
	}

	.post-reader-localized-context #realPost .meluket-sefer-section,
	.post-reader-localized-context #realPost .meluket-phrase-pair {
		inline-size: 100%;
		margin-inline: 0;
		padding-inline: clamp(7px, 2vw, 14px);
	}

	.post-reader-localized-context #realPost .meluket-phrase--he,
	.post-reader-localized-context #realPost .meluket-hebrew {
		font-size: var(--post-text-size, 48px);
		line-height: 1.48;
		min-inline-size: 0;
		max-inline-size: 100%;
		white-space: normal;
		overflow-wrap: break-word;
	}

	.post-reader-localized-context #realPost .meluket-phrase--en,
	.post-reader-localized-context #realPost .meluket-english {
		/* B"H — Coby Nov 10, screenshots: the English under each Hebrew
		   phrase rendered tiny and unreadable — this 0.57x multiplier
		   shrank it to about half the Hebrew, and the 0.68em override in
		   meluket-reader-overhaul.css shrank it further. Yaakov's law:
		   Hebrew and English must LOOK the same size. The English now
		   takes the same --post-text-size as the Hebrew (whose 1.3x
		   optical multiplier is the only difference, by design). */
		font-size: var(--post-text-size, 48px);
		line-height: 1.48;
		min-inline-size: 0;
		max-inline-size: 100%;
		white-space: normal;
		overflow-wrap: break-word;
	}

	.post-reader-localized-context #realPost .meluket-sefer-title-he {
		font-size: calc(var(--post-text-size, 48px) * 0.83);
		line-height: 1.38;
		max-inline-size: 100%;
		overflow-wrap: break-word;
	}

	.post-reader-localized-context #realPost .meluket-sefer-title {
		padding: 16px 8px;
		margin-bottom: 16px;
	}

	.post-reader-localized-context #realPost .meluket-sefer-section {
		padding-block: 16px;
		margin-bottom: 18px;
	}

	.post-reader-localized-context #realPost .meluket-phrase-pair {
		margin-bottom: 1.15em;
	}

	.post-reader-localized-context #realPost .meluket-summary,
	.post-reader-localized-context #realPost .meluket-post-summary {
		font-size: calc(var(--post-text-size, 48px) * 0.53);
		line-height: 1.52;
	}

	.post-reader-localized-context #realPost .meluket-section-number {
		width: 42px;
		height: 42px;
		min-width: 42px;
		padding: 0;
		border-width: 2px;
		font-size: 20px;
	}

	.post-reader-localized-context .main,
	.post-reader-localized-context .scroll-view-wrapper,
	.post-reader-localized-context #realPost,
	.post-reader-localized-context .meluket-sefer {
		scroll-snap-type: none;
		scroll-behavior: auto;
		overscroll-behavior-x: none;
	}

	

	.post-reader-localized-context .awtsmoos-floating-controls {
		position: fixed;
		right: 8px;
		left: auto;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: calc(100vw - 16px);
		padding: 4px;
		gap: 5px;
		min-height: 0;
		transform: none;
		backdrop-filter: none;
	}

	.post-reader-localized-context #typographyBtn,
	.post-reader-localized-context #commentaryBtn,
	.post-reader-localized-context #readerInfoBtn {
		width: 48px;
		height: 48px;
		min-width: 48px;
		min-height: 48px;
		font-size: 13px;
	}
}


/* ==== heichelos/post/styles/reader-content/reader-pair-selection.css ==== */
/* B"H
 * Boruch Hashem
 * Blessed is He
 *
 * The Awtsmoos gathers Hebrew and English in a single quiet light;
 * Awtsmoos.com keeps every letter still as the reader's eye takes flight.
 * Highlighting never changes text geometry, DOM order, or scroll position.
 * Ordinary scoped specificity replaces forced declarations and blurred paint.
 */
.post-reader-localized-context #realPost .meluket-phrase--he,
.post-reader-localized-context #realPost .meluket-phrase--en,
.post-reader-localized-context #realPost .awtsmoos-initial-unit-he,
.post-reader-localized-context #realPost .awtsmoos-initial-unit-en {
	border-inline-start: 0;
	/* B"H batch 47: the current-pair edge (inset shadow, meluket-law8)
	   hugged the words because phrases had zero inline padding. A
	   PERMANENT 12px inline padding on every phrase puts a breathing gap
	   between the edge and the words. Permanent is the point: batch 31
	   proved padding that appears on selection re-wraps the text on every
	   scroll step — this padding is always there, so selection changes
	   nothing and scrolling never moves layout. */
	/* B"H batch 51 — the glyphs sat FLUSH against the card border: the
	   36px phrase padding is only 0.25em at 144px (a quarter glyph),
	   and the PAIR itself had no padding, so the gold edge hugged the
	   words. The pair gets its own padding now, and the phrase padding
	   grows — together ~57px at 144px between the gold edge and the
	   widest glyph, a gap the eye can see. Permanent (always on), so
	   selection still never re-wraps text. */
	padding-inline: max(14px, 0.28em);
	/* B"H batch 49 (failure 4 — glyph clipping): the batch-48
	   overflow-wrap: break-word did NOT stop the clipping — a long
	   Hebrew word (the header's "משיחות" at 144px) can itself be wider
	   than the line, and break-word only breaks a word that cannot fit
	   on its own line AFTER the line is laid out, so the first glyph
	   still overhangs the card edge (the מ of "משיחות", the ג', the מ
	   of "מרחשון" were all cut). overflow-wrap: anywhere breaks
	   anywhere (and shrinks the intrinsic size, so a flex/grid item
	   is never sized by its longest word), and max-inline-size: 100%
	   caps the phrase at the card. No Hebrew glyph may be cut off at
	   the card edge. */
	overflow-wrap: anywhere;
	word-break: break-word;
	max-inline-size: 100%;
	box-sizing: border-box;
	transition: none;
}

/* B"H batch 50 — the post title ("ש״פ תולדות") had NO padding rule at
   all (the cascade audit found padding-inline: none for the title h1),
   so its widest glyphs could sit flush on the card edge and be cut.
   The title gets the same permanent inline padding + anywhere-wrap +
   max-inline-size as the phrases, so no Hebrew glyph in the reading
   column can reach the card edge. The title's own font-size (the
   inline clamp) is untouched.
   B"H batch 51 — the title padding grows with the phrase padding
   (0.28em) so the widest title glyph keeps the same visible gap. */
.post-reader-localized-context #realPost .meluket-sefer-title-he {
	padding-inline: max(14px, 0.28em);
	overflow-wrap: anywhere;
	word-break: break-word;
	max-inline-size: 100%;
	box-sizing: border-box;
}

.post-reader-localized-context #realPost .meluket-phrase-pair,
.post-reader-localized-context #realPost .awtsmoos-initial-unit {
	transition: none;
	transition-delay: 0ms;
	translate: none;
	/* B"H batch 50 — REMOVE the batch-49 content-visibility:auto +
	   contain-intrinsic-size on phrase pairs (item C). It broke the
	   highlight: off-screen pairs are skipped and laid out at the
	   480px estimate, so the highlight's elementFromPoint cannot
	   reliably find the pair at the viewport line and no pair ever
	   gets .is-pair-selected in the real browser (the batch-49 worker
	   flagged this risk). It also breaks deep-link scroll and scroll
	   anchoring the same way. First paint is server-rendered HTML, so
	   removing it costs layout work after paint, not the first paint.
	   The pair is border-box now, so the selected pair's gold edge
	   (border-inline-start) cannot widen the card past the column.
	   B"H batch 51 — the PAIR gets its own inline padding: the gold
	   edge sits on the pair's border, and with no pair padding it
	   hugged the phrases (the glyphs read as flush against the card
	   border). Pair padding + phrase padding together put a visible
	   gap between the gold edge and the widest glyph. */
	box-sizing: border-box;
	padding-inline: max(12px, 0.12em);
}

/* B"H batch 37 (2026-11-12): phrase boxes — cascade-verified: no served
   sheet paints a per-phrase tan box + solid border + dashed separator
   (both themes, base + state classes). Belt and braces: force every
   NON-selected pair/phrase box-free at (1,5,0)/(1,6,0), so no sheet in
   any load order can box them. The user's batch-31 reading highlight
   (.is-pair-selected / .is-reading-sub, ONE pair only) is preserved
   via :not() — this rule never touches the highlighted pair. */
.post-reader-localized-context #realPost .meluket-sefer .meluket-sefer-section .meluket-phrase-pair:not(.is-pair-selected) {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}
.post-reader-localized-context #realPost .meluket-sefer .meluket-sefer-section .meluket-phrase-pair .meluket-phrase:not(.is-reading-sub) {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}

/* B"H batch 38: the pair ring + 9% fill was a second box around the
   current pair (the rendered checks flagged boxes for four rounds; the
   fills were the boxes). The current pair is still marked — by the
   phrases' faint inset edge in meluket-law8.css — so the pair itself
   stays unpainted: no fill, no ring.
   B"H batch 49 (failure 4) — that left NO visible highlight at all:
   in every landing the pairs are plain black-on-white, and the user
   says "the highlight thing is still off, even [though it was]
   changed." The faint inset edge alone is not a highlight the user
   can see. The current pair now gets a REAL, visible mark — a soft
   gold wash + a clear gold edge — while every NON-selected pair stays
   box-free (the batch-37 :not() rule above is untouched). The wash is
   light (10%) so the text stays black-on-cream and readable; the edge
   is the visible "you are here". The phrase padding (36px at 144px)
   is the gap between the edge and the words.
   B"H batch 51 — the 10% wash was nearly invisible on cream even
   when applied (the one load that showed it called it "pale"), and
   the gold edge never showed at all at 144px (the check saw only a
   1-2px line — the card border — where a ~6px gold edge belongs),
   which means the class itself was not reaching the pair: the
   highlight module samples before the sefer mounts and never
   repaints without a scroll (see ReaderSectionHighlight.js: the
   observer + rect fallback). The wash is 18% now — unmistakable on
   cream, text still black-on-gold-tint and readable — and the edge
   is 5px / 0.05em.
   B"H batch 55 — the batch-54 check PROVED the class IS applied
   (the gold edge shows as a thin tan line at the card's right edge
   in all three places checked) yet the wash still reads as "plain
   cream": 18% gold over cream computes to roughly rgb(245,237,217)
   against cream rgb(253,253,247) — a pale tint, not a clearly
   visible wash. The wash is 35% now, unmistakable, text still
   black-on-gold and readable. The wash is ALSO pinned inline on
   the pair by the template script + the module (see ROOT-CAUSES.md:
   the inline-style exception after 6 failed cascade batches). */
.post-reader-localized-context #realPost .meluket-phrase-pair.is-pair-selected,
.post-reader-localized-context #realPost .awtsmoos-initial-unit.is-pair-selected {
	background-color: rgb(212 169 78 / 0.35);
	border-inline-start: max(5px, 0.05em) solid #d4a94e;
	border-radius: 6px;
	box-shadow: none;
	outline: none;
}
/* B"H batch 48: the lettered sections (א–ח) get a visible "Section N"
   label above their opening passage. The Info module stamps
   data-lettered-section on that passage; this paints the label from
   the attribute — no nodes inserted, no text moved. The letter rides
   in data-lettered-letter. */
.post-reader-localized-context #realPost .meluket-sefer-section[data-lettered-section]::before {
	content: "Section " attr(data-lettered-section) " · " attr(data-lettered-letter);
	display: block;
	text-align: center;
	font: 700 0.85rem/1.4 system-ui, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a6d3b;
	margin: 0.6rem 0 0.2rem;
}

/* B"H batch 49 — the rule above (visible gold wash + edge on the
   current pair) replaces the old transparent rule here; a later
   transparent background would undo the highlight. */

/* B"H batch 52 — VISIBLE VERSION MARKER: three batches of fixes
   "won their cascades" in the bundle and still did not show in the
   real browser, because the browser was serving a stale bundle and
   nothing on the rendered page said which batch had loaded. This
   marker says it, in small text at the foot of the post, so the
   rendered check can confirm the loaded batch by reading the page
   (it cannot view source). The batch number rides in the BUNDLE
/* B"H batch 53 — the batch number NO LONGER rides in the bundle:
   the ::after generated content is not a DOM text node, so a
   page-text search for "batch" returns zero matches even if it
   renders — the check could never confirm it. The batch span is now
   filled with REAL DOM text by the template's inline script (from
   the marker div's data-batch), so it is visible AND searchable;
   this sheet keeps only the marker's base paint. A batch that
   touches the marker updates the data-batch attributes in the
   template to its own batch (the same per-batch step as the bundle
   pin). */
.post-reader-localized-context .awtsmoos-build-marker {
	display: block;
	margin: 2.5rem auto 1rem;
	padding: 0 1rem;
	text-align: center;
	font: 400 11px/1.5 system-ui, sans-serif;
	color: #8a7a5c;
	letter-spacing: 0.02em;
}

/* B"H batch 54 — PADDING, guaranteed floor: the pair (0.12em) +
   phrase (0.28em) padding rules above are correct in the bundle,
   match the DOM, and no served rule overrides them — yet the
   rendered check still sees the widest glyphs FLUSH against the
   card border at 1920px (five batches now). Static analysis cannot
   see why, so the gap is guaranteed at the COLUMN as well: the
   sefer column itself carries 16px inline padding, so no glyph in
   any pair, phrase, or section marker can reach the column edge
   even if the pair/phrase padding ever fails again. The column is
   border-box, so its width does not change; the pairs (width auto)
   fill the content box inside the padding. Permanent (always on),
   so selection still never re-wraps text. */
.post-reader-localized-context #realPost .meluket-sefer {
	padding-inline: 16px;
	box-sizing: border-box;
}

/* B"H batch 54 — HIGHLIGHT, initial paint moved out of the module:
   the wash rule above is correct and would show if the class were
   applied, yet the class never reached a pair in five batches — the
   module files serve 200 with no syntax error, the init logic is
   sound on paper, and static analysis cannot find the break. The
   initial pair is now painted SYNCHRONOUSLY by the template's own
   inline script (marker block): the first pair — or the ?section=
   lettered section's opening pair — gets .is-pair-selected /
   .is-reading / .is-reading-sub during parsing, before any module
   loads, so the gold wash is present from the first paint with
   zero module dependency. The module (ReaderSectionHighlight.js)
   still owns the LIVE highlight: it moves the class as the reader
   scrolls, and it now stamps .has-pair-highlight on #realPost
   whenever a pair is painted, so the page always records that a
   highlight exists. The wash rule itself is unchanged. */

/* B"H batch 55 — FIRST-PAIR FALLBACK: if NO pair carries the
   highlight class (every script failed — the template inline paint,
   the module's rect fallback, the guard), the first pair still shows
   the wash, so a fresh load is never highlight-less. The rule only
   applies while #realPost does NOT carry .has-pair-highlight; the
   moment any pair is painted (template script or module), the stamp
   turns this fallback off, so exactly one pair is ever highlighted.
   The first pair IS the current pair on an initial load (no
   ?section=); on a ?section= load the script paints that section's
   opening pair instead and the fallback stays off. */
.post-reader-localized-context #realPost:not(.has-pair-highlight) .meluket-sefer-section:first-of-type .meluket-phrase-pair:first-of-type {
	background-color: rgb(212 169 78 / 0.35);
	border-inline-start: max(5px, 0.05em) solid #d4a94e;
	border-radius: 6px;
	box-shadow: none;
	outline: none;
}


/* ==== heichelos/post/styles/reader-content/reader-info-navigation.css ==== */
/* B"H — Boruch Hashem — Blessed is He.
 * The Awtsmoos reveals Torah routes without shaking the reader's page;
 * Awtsmoos.com keeps its nested index a calm and accessible stage.
 * The keyboard's wandering light shall meet a clear and steady frame;
 * every reader sees the path and may enter it by name.
 */
.post-reader-localized-context #readerTopIndex {
	box-sizing: border-box;
	width: min(calc(100% - 20px), 58rem);
	margin: 12px auto;
	border: 1px solid #d6c296;
	border-radius: 12px;
	background: #fffaf0;
	color: #382a19;
	font: 500 16px/1.5 system-ui, sans-serif;
}
.post-reader-localized-context #readerTopIndex > summary {
	padding: 12px 16px;
	font-weight: 700;
	color: #382a19;
	opacity: 1;
	cursor: pointer;
	border-radius: 11px;
	overflow-wrap: anywhere;
}

.post-reader-localized-context #readerTopIndex > summary:focus-visible {
	outline: 3px solid #73500e;
	outline-offset: 3px;
	background: #fff0cc;
}
.post-reader-localized-context #readerTopIndex[open] > summary {
	border-bottom: 1px solid #b99b5e;
	border-radius: 11px 11px 0 0;
}
.post-reader-localized-context #readerInfoBackdrop {
	position: fixed;
	inset: 0;
	z-index: 989;
	/* B"H batch 45: opaque — the 52% backdrop let the post text
	   show through behind the dialog, unreadable on a phone. Solid now. */
	background: #17130d;
	touch-action: none;
}
.post-reader-localized-context #readerInfoPanel {
	box-sizing: border-box;
	position: fixed;
	z-index: 990;
	/* B"H batch 34 (2026-11-12): this panel toggled in the DOM but never
	   painted. No hiding rule, clipped ancestor, or covering element
	   exists in any served sheet — the one structural difference from
	   the Aa panel, which paints, is the `inset` shorthand below
	   (nested max()/calc()/env()). Longhands now, same geometry:
	   bottom-anchored, centered, 560px at most. Background/ink live on
	   this rule too (not only the later coherence pin), and the open
	   state is explicit: visible, opaque. */
	top: auto;
	right: max(8px, calc((100vw - 560px) / 2));
	/* B"H batch 51 — the bottom margin is 16px now (was 8px): with the
	   panel bottom-anchored, the strip below it is backdrop, and at 8px
	   plus the old downward shadow it read as a dark bar sliced at the
	   viewport bottom. A clear 16px margin reads as a margin, not a cut.
	   B"H batch 54 — 16px AND 24px both still read as a dark bar (the
	   strip is backdrop #17130d, and against the cream panel ANY dark
	   strip reads as a bar, so a bigger margin only made a taller bar).
	   The panel is FLUSH at the viewport bottom now (bottom 0, safe-area
	   only), square bottom corners, its cream running to the viewport
	   edge — there is no strip below it to read as a bar. The cap's
	   total margin is top-only (16px) now.
	   B"H batch 57 — the flush bottom put the panel's border
	   exactly at the viewport edge: the batch-56 check could not
	   see the border and read the panel as running off-screen,
	   and the fit guard measures the panel's BORDER BOX (which
	   fits by construction for a bottom-anchored panel), so it is
	   blind to content clipped INSIDE the panel by overflow:
	   hidden. The panel gets a real 12px bottom margin now, so
	   its bottom border sits visibly inside the viewport. The
	   12px strip below is a margin, not the dark bar — the bar
	   was #readerInfoEmpty rendering (batch 55), and it stays
	   hidden + cream.
	   B"H batch 58 — 12px did NOT show in the real browser (the
	   batch-57 check saw NO bottom border at ~986px and NO 12px
	   margin strip, although the sheet AND the paintInfo inline
	   pin both set bottom 12px and the guard is called on open).
	   Four batches of static analysis have not found a rule-level
	   cause, so the margin is 20px now (unmistakable strip) and the
	   guard re-pins bottom explicitly on every run (see the template)
	   instead of trusting the pin to survive. The 20px strip below
	   is a margin, not the dark bar. */
	bottom: max(20px, env(safe-area-inset-bottom, 20px));
	left: max(8px, calc((100vw - 560px) / 2));
	display: flex;
	flex-direction: column;
	width: auto;
	/* B"H batch 48: the 680px cap clipped the last buttons ("Browse this
	   Heichel") on open — the panel is bottom-anchored, so a taller cap
	   starts it higher and shows every button without scrolling. The
	   opaque backdrop already covers the header, so the 84px top offset
	   is 12px now (a hair off the top edge). At a ~700px phone viewport
	   the cap is ~684px, and the compacted content below fits it.
	   B"H batch 49 — the batch-48 cap STILL overflowed at 144px (the
	   dialog's bottom ran past the viewport and "Browse this Heichel"
	   sat at the very bottom edge): the cap is 96dvh but the panel is
	   bottom-anchored at 8px, so its top starts at 100dvh - 96dvh = 4dvh
	   and the panel + its bottom offset can exceed the viewport. Cap
	   at 94dvh with a 24px total margin (12px top + 12px bottom) so the
	   panel's top AND bottom edges are both inside the viewport.
	   B"H batch 51 — the cap was NEVER the mechanism: the panel box
	   fits (bottom-anchored + capped), but the rendered check still
	   saw a dark bar sliced at the viewport bottom. That bar is the
	   panel's DOWNWARD box-shadow (0 12px 34px — darkest ~12px below
	   the panel's bottom edge, i.e. just past the viewport edge) plus
	   the 8px backdrop strip. The shadow is REMOVED below (the 1px
	   border + the opaque backdrop already separate the dialog), the
	   margins widen to 16px bottom / 40px total, and the template's
	   paintInfo now MEASURES the real rect and clamps the panel into
	   the viewport if it ever overflows — real geometry, not a fourth
	   cap guess. Cap 90dvh / 40px total margin.
	   B"H batch 54 — the panel is flush at the viewport bottom now
	   (bottom 0), so the total margin is top-only: 16px.
	   B"H batch 57 — cap lowered to 86dvh / 56px total margin
	   (12px bottom + 44px top): the batch-56 check still saw
	   the dialog's bottom past the viewport and a partial row
	   cut off, although the guard + cap said it fits. The guard
	   can only clamp the panel's border box; the content inside
	   still needs headroom, so the cap gives it 40px more room
	   and the 12px bottom margin puts the border visibly inside
	   the viewport.
	   B"H batch 58 — cap 82dvh / 64px total margin (20px bottom
	   + 44px top): the batch-57 check still saw NO bottom border
	   at ~986px and NO 12px strip, although sheet + inline + guard
	   all said bottom 12px. More headroom + a wider margin, and the
	   guard now re-pins bottom explicitly on every run. */
	max-height: min(82vh, calc(100vh - 64px));
	/* B"H batch 39: vh fallback — if dvh fails to parse, the cap stays. */
	max-height: min(82dvh, calc(100dvh - 64px));
	min-height: 0;
	/* B"H batch 48: 14px -> 8px, part of fitting every button.
	   B"H batch 57 — 12px at the bottom: the last content sits
	   12px above the bottom border, so no row or button can sit
	   half-cut at the panel's bottom edge. */
	padding: 8px 8px 12px;
	border: 2px solid #c6ad76;
	/* B"H batch 54 — flush bottom sheet: rounded top corners only; the
	   bottom corners are square so the cream runs to the viewport edge
	   with no dark sliver below.
	   B"H batch 58 — the panel is NOT flush anymore (20px bottom
	   margin), so fully rounded corners: it reads as a floating card
	   with a visible bottom edge, not a sheet running to the edge. */
	border-radius: 14px;
	background: #f9f4ea;
	color: #2b2118;
	/* B"H batch 51 — NO box-shadow: the old 0 12px 34px downward shadow
	   was the dark bar sliced at the viewport bottom (its darkest band
	   sits ~12px below the panel's bottom edge, past the viewport edge).
	   The 1px border + the opaque backdrop separate the dialog already;
	   a shadow buys nothing and reads as an overflow. */
	box-shadow: none;
	font: 500 16px/1.45 system-ui, sans-serif;
	visibility: visible;
	opacity: 1;
	overflow: hidden;
}
.post-reader-localized-context #readerInfoPanel[hidden],
.post-reader-localized-context #readerInfoBackdrop[hidden],
.post-reader-localized-context #readerInfoHome[hidden],
.post-reader-localized-context #readerInfoList[hidden],
.post-reader-localized-context #readerInfoFootnoteList[hidden],
.post-reader-localized-context #readerInfoTabs[hidden],
.post-reader-localized-context #readerInfoSearch[hidden],
.post-reader-localized-context #readerInfoBack[hidden],
.post-reader-localized-context #readerInfoEmpty[hidden],
.post-reader-localized-context .reader-index-choice[hidden] {
	display: none;
}
/* B"H batch 55 — the dark bar: the ONLY element after the last visible
   button in BOTH dialog views is #readerInfoEmpty (an empty <p>,
   hidden), and its [hidden] rule above is (1,2,0) — the same
   specificity class that lost the Explore-tabs tie in batch 54. If
   [hidden] is beaten, the empty <p> renders at the panel's very
   bottom. This rule raises it to (2,3,0) so hidden really means
   hidden, whatever sheet the browser holds. The <p> also carries a
   light background (submenus sheet) so even if it renders it is
   cream, never dark. See ROOT-CAUSES.md — the bar's element could
   not be identified by static analysis in 7 batches; this is direct
   suppression, not another diagnosis. */
:root .post-reader-localized-context #readerInfoPanel #readerInfoEmpty[hidden] {
	display: none;
}
/* B"H batch 48: the floating "N online" pill shows "0 online", does
   not work, and overlaps the reading text — hide both launcher variants
   on reader post pages, always (not only while the guide is open).
   This bundle loads ONLY on post pages, so no other page is touched.
   The dock (Aa / i / down) is a different surface and is untouched.
   Specificity beats the launcher's own display rule; no !important.
   B"H batch 49 — the pill is REMOVED at the source now (the universal
   chat bootstrap skips the launcher on reader post pages, so the button
   is never created). This rule stays as a belt-and-braces fallback in
   case the launcher is ever mounted another way: it covers the header
   variant too, and the :root prefix raises it above the header's own
   .g-header-action display rule. */
:root body .universal-chat-launcher,
:root body .universal-chat-floating-launcher,
:root body .universal-chat-header-launcher {
	display: none;
}
.post-reader-localized-context .reader-info-heading {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	/* B"H batch 48: 10px -> 6px, part of fitting every button. */
	margin-bottom: 6px;
	/* B"H batch 50 — the Explore heading's final letter was clipped at
	   the dialog's right edge: the heading row could grow past the
	   panel's content box (the panel's overflow:hidden then cut the
	   last letter). The row can never exceed the panel now, and the
	   heading text has a small end buffer so its last letter never
	   sits flush on the panel edge. */
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.post-reader-localized-context .reader-info-heading h2 {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	/* B"H batch 51 — the Explore heading's final "e" was STILL clipped
	   at the dialog's right edge: the 4px end buffer was too small and
	   the h2's content-sized flex basis (see reader-settings-coherence)
	   let it reach the panel edge, where the panel's overflow:hidden
	   cut it. The buffer is 12px now, and the coherence sheet forces
	   a zero flex basis so the h2 must wrap inside the row. */
	padding-inline-end: 12px;
	font: 750 19px/1.35 system-ui, sans-serif;
	/* B"H batch 48: the Explore heading ("Choose a section or footnote")
	   clipped at the right edge — nowrap + ellipsis cut it. It wraps now
	   (the template inline already said so; the sheet agrees). */
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
	overflow-wrap: anywhere;
}
/* B"H batch 48: compact the dialog buttons so every one fits without
   scrolling at a ~700px phone viewport — 6px vertical padding (the
   browser default 0.5em was 8px). Still a full-width tap target. */
.post-reader-localized-context #readerInfoPanel .reader-info-actions > button,
.post-reader-localized-context #readerInfoPanel .reader-info-actions > a {
	padding-block: 6px;
}
.post-reader-localized-context #readerInfoHome,
.post-reader-localized-context #readerInfoList,
.post-reader-localized-context #readerInfoFootnoteList,
.post-reader-localized-context #readerTopSections {
	box-sizing: border-box;
	/* B"H batch 49 (item A) — the Explore list did NOT scroll on the
	   phone. It had overflow-y:auto but NO flex-grow, so as a flex
	   child of the panel it sized to its full content height (all 79
	   rows) and the panel's overflow:hidden clipped it instead of
	   scrolling it. flex: 1 1 auto constrains it to the panel's
	   remaining space, so it scrolls internally — the list is the
	   dialog's only scroller. touch-action: pan-y lets a vertical
	   touch drag scroll it (the backdrop has touch-action:none, and
	   without an explicit pan-y the list could inherit a no-scroll
	   gesture). */
	flex: 1 1 auto;
	min-height: 0;
	/* B"H batch 39: `overflow: auto` on both axes let any 1px of horizontal
	   overflow (focus outline past a full-width button, fractional pixels
	   at zoom) draw a horizontal scrollbar at the dialog's bottom. x is
	   hidden; y stays auto. The list rows wrap (overflow-wrap:anywhere on
	   title/detail), so nothing real is clipped. */
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	touch-action: pan-y;
	-webkit-overflow-scrolling: touch;
}
/* B"H batch 49 (item D) — the Explore tabs: Sections | Footnotes. Each
   tab has its own list (and its own scroller), so scrolling the
   footnotes never moves the sections and vice versa.
   B"H batch 55 — TAB-BAR OVERLAP: after scrolling, the top row's
   Hebrew line reads as "hidden under the tabs". The tabs are in normal
   flow (not sticky), but they had a TRANSPARENT background, so a
   half-scrolled row could appear to bleed into them. The tabs are a
   solid, opaque header now (the panel's cream + a bottom border), so
   they read as a clean bar and no row can show through them. The
   button paints themselves are pinned INLINE in showReaderExploreTab
   (ReaderInfoViews.js) — active dark, unselected light — because the
   sheet's light unselected paint did not show in the real browser
   (same stale/mixed-sheet failure as "Show more" before batch 54);
   the sheet rules below are the backup. */
.post-reader-localized-context .reader-info-tabs {
	flex: 0 0 auto;
	display: flex;
	gap: 6px;
	margin: 2px 0 8px;
	position: relative;
	z-index: 2;
	background: #f9f4ea;
	border-bottom: 1px solid #e6dcc4;
	/* B"H batch 56 — the `padding-bottom: 8px` that was here is
	   REMOVED: the tabs already carry `margin: 2px 0 8px`, an 8px
	   bottom margin that already provides the spacing below them,
	   so the padding was redundant — and it added 8px (+1px border
	   = 9px) to the panel's height in Explore view. In batch 54
	   Explore was ~894px tall (76→970), already near the 898px
	   cap; +9px pushed it past the cap, which tripped the (then
	   backwards) fit guard and produced the batch-55 regression
	   (dialog bottom off-screen). The solid background + bottom
	   border (the tab-overlap fix) stay. */
}
.post-reader-localized-context .reader-info-tabs[hidden] {
	display: none;
}
.post-reader-localized-context .reader-info-tabs button {
	flex: 1 1 0;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #d9c49f;
	border-radius: 10px;
	background: #fffefa;
	color: #655641;
	font: 700 15px/1.3 system-ui, sans-serif;
	cursor: pointer;
}
.post-reader-localized-context .reader-info-tabs button.is-active {
	background: #3e2b12;
	border-color: #3e2b12;
	color: #fffaf0;
}
.post-reader-localized-context #readerInfoBtn {
	/* B"H batch 49 (item B) — the (i) button rendered as a mostly
	   black/dark blob on the phone. The dock's phone rule
	   (reader-dock.css, max-width:760px) paints every dock button with
	   a dark navy gradient, and the old (i) rule (0,1,1) was too weak
	   to beat it in practice. This :root-prefixed rule matches the Aa
	   button's light look (cream card, dark "i") and is light in BOTH
	   themes, so the (i) is always a visible, readable control. The
	   dock's layout/position is untouched — only this button's look. */
	font: 750 22px/1 system-ui, sans-serif;
	color: #3e2b12;
	background: #fffaf0;
	border: 1px solid #d9c49f;
}
:root .post-reader-localized-context #readerInfoBtn {
	font: 750 22px/1 system-ui, sans-serif;
	color: #3e2b12;
	background: #fffaf0;
	border: 1px solid #d9c49f;
}
:root[data-theme="dark"] .post-reader-localized-context #readerInfoBtn {
	color: #3e2b12;
	background: #fffaf0;
	border: 1px solid #d9c49f;
}
/* B"H batch 49 (failure 7) — the share toast: the deep link itself,
   visible, with a Copy button and a dismiss. Appended to body (above
   the dialog, which closes right after sharing), light and readable. */
.awtsmoos-reader-share-toast {
	position: fixed;
	left: 50%;
	bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	transform: translateX(-50%) translateY(8px);
	z-index: 1200;
	display: flex;
	align-items: center;
	gap: 8px;
	width: min(34rem, calc(100vw - 2rem));
	padding: 10px 12px;
	border: 1px solid #c6ad76;
	border-radius: 12px;
	background: #fffaf0;
	color: #2b2118;
	box-shadow: 0 12px 34px rgb(20 14 5 / 30%);
	font: 500 14px/1.4 system-ui, sans-serif;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.awtsmoos-reader-share-toast.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.awtsmoos-reader-share-toast-label {
	flex: 0 0 auto;
	font-weight: 700;
}
.awtsmoos-reader-share-toast-link {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	color: #655641;
}
.awtsmoos-reader-share-toast-copy,
.awtsmoos-reader-share-toast-close {
	flex: 0 0 auto;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid #d9c49f;
	border-radius: 9px;
	background: #f5ead1;
	color: #302315;
	font: 700 13px/1.3 system-ui, sans-serif;
	cursor: pointer;
}
.awtsmoos-reader-share-toast-close {
	background: transparent;
	border-color: transparent;
	font-size: 15px;
}
@media (max-height: 440px) {
	.post-reader-localized-context #readerInfoPanel {
		max-height: min(95vh, calc(100vh - 84px));
		/* B"H batch 39: vh fallback — if dvh fails to parse, the cap stays. */
		max-height: min(95dvh, calc(100dvh - 84px));
		padding: 9px;
	}
}
/* B"H batch 49 (failure 1) — at a ~700px-tall phone viewport the
   dialog's 10 home buttons + heading + padding are taller than the
   panel even at the 94dvh cap, so the last buttons still sit at the
   bottom edge. Compact the chrome (not the text size): a smaller
   heading, tighter button padding and gaps, so every button is visible
   on open with no heading clipped. The reading text size is untouched. */
@media (max-height: 760px) {
	.post-reader-localized-context #readerInfoPanel {
		padding: 6px;
	}
	.post-reader-localized-context .reader-info-heading {
		gap: 6px;
		margin-bottom: 4px;
	}
	.post-reader-localized-context .reader-info-heading h2 {
		font-size: 17px;
		line-height: 1.3;
	}
	.post-reader-localized-context #readerInfoPanel .reader-info-actions > button,
	.post-reader-localized-context #readerInfoPanel .reader-info-actions > a {
		padding-block: 5px;
		min-height: 40px;
	}
	.post-reader-localized-context .reader-info-actions {
		gap: 4px;
	}
	.post-reader-localized-context .reader-info-tabs {
		margin: 0 0 6px;
	}
	.post-reader-localized-context .reader-info-tabs button {
		min-height: 36px;
		padding: 6px 8px;
	}
}


/* ==== heichelos/post/styles/reader-content/reader-info-submenus.css ==== */
/* B"H — Boruch Hashem — Blessed is He.
 * The Awtsmoos shines through each bilingual passage, one chamber at a time;
 * Awtsmoos.com keeps the reader's page stable and its menus in line.
 * No !important rules or global cascade overrides.
 */
.post-reader-localized-context .reader-info-actions,
.post-reader-localized-context #readerInfoList,
.post-reader-localized-context #readerInfoFootnoteList,
.post-reader-localized-context #readerTopSections {
	display: grid;
	/* B"H batch 51 — the Explore rows ended ~220-300px wide with ~45%
	   of the dialog blank on the right: a grid with NO
	   grid-template-columns sizes its implicit `auto` column to the
	   rows' max-content (longest word / widest title), not to the
	   container. The column MUST span the list: one flexible column,
	   min 0 so long titles can shrink instead of forcing it wider. */
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
}

.post-reader-localized-context #readerInfoHome {
	flex: 1 1 auto;
	padding: 3px 3px 14px;
	/* B"H batch 38: bottom breathing room so the last button ("Browse
	   this Heichel") can scroll fully into view instead of sitting
	   half-cut at the panel's bottom edge. */
	/* B"H batch 56 — HOME VIEW SCROLL: the home div could not
	   scroll. It DOES get `overflow-y: auto` (computed: the
	   template pins `overflow-x: hidden` on it, so overflow-y
	   computes to auto), but it lacked `min-height: 0`, so as a
	   flex child its automatic minimum size was its CONTENT height
	   — it could never shrink below its content, so it sized to
	   its full content height and the panel's `overflow: hidden`
	   clipped whatever did not fit, with no way to reach the last
	   buttons (the batch-55 check's "partial row cut off at the
	   bottom edge" in home view). `min-height: 0` lets it shrink
	   below its content height so it scrolls internally, like the
	   Explore list (which does have min-height: 0). Only one
	   scroller is ever visible at a time (home in home view, the
	   list in Explore view — the other is hidden), so this does
	   not reintroduce the batch-46 two-scroller problem (which
	   was the PANEL scrolling alongside the list).
	   `dialogScroller()` already returns the home div as the
	   scroller when it is visible, so wheel/keyboard routing
	   already treats it as a scroller — the CSS just never let
	   it shrink. `overflow-y: auto` is pinned explicitly here
	   (not left to the computed value) and `overscroll-behavior:
	   contain` stops a scroll at the home div's end from chaining
	   to the page behind the backdrop. */
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.post-reader-localized-context #readerInfoList,
.post-reader-localized-context #readerInfoFootnoteList {
	flex: 1 1 auto;
	/* B"H batch 59 — TAB-BAR OVERLAP, MECHANISM CHANGE: five batches
	   of CSS scroll-snap (proximity) + bottom padding never made the
	   top row land fully visible after a scroll. Proximity snap only
	   snaps when the landing position is "close" to a snap point (a
	   UA-defined threshold); the wheel handler's x3 deltas land
	   mid-row, 30-60px from any snap point, so snap never engages —
	   the batch-58 check saw the top row half-covered at EVERY
	   scrolled position (rows 2, 3, 6, 8, 14, 23, 30, 17, 35).
	   The fix does not depend on CSS snap: the template's wheel +
	   keyboard handlers now snap the list's scrollTop to the nearest
	   ROW boundary (a .reader-index-choice offsetTop) after every
	   scroll (snapListScrollToRow in _awtsmoos.post.html). CSS snap
	   stays as a backup, but MANDATORY now (not proximity), so ANY
	   scroll — touch drag, scrollbar drag, programmatic, checker
	   scroll — is forced to a row boundary, and it targets the SAME
	   boundaries as the JS (row offsetTop), so the two cannot fight.
	   scroll-padding-top is 0 now (was 70px): the tab bar sits
	   OUTSIDE the list (a flex sibling above it), so a row at the
	   list's top edge is already below the tab bar — the 70px only
	   shifted the snap targets away from the JS targets.
	   position: relative makes the list the rows' offsetParent, so
	   a row's offsetTop IS the scrollTop that puts its top at the
	   list's top edge (both mechanisms use it). */
	position: relative;
	/* B"H batch 55 — TAB-BAR OVERLAP: the first row starts clearly
	   below the tabs (top padding 6px -> 10px), so the separation
	   between the tab header and the first row is unambiguous even
	   after scrolling. Scroll behavior is unchanged. */
	padding: 10px 3px 120px;
	align-content: start;
	/* B"H batch 56 — TAB-BAR OVERLAP (continued): the lists scroll
	   under the opaque tab bar and the top row lands half-cut (its
	   Hebrew line clipped, only the detail line visible). Scroll-
	   snapping makes rows settle to full rows after a scroll, so
	   the top row is fully visible at any scroll position.
	   The rows carry `scroll-snap-align: start` below; the template
	   `<style>` carries the same rules as a network-first backstop.
	   B"H batch 57 — the snap did NOT engage at the BOTTOM of the
	   list: at max scroll there is no more content to scroll, so
	   the top row stays half-cut and no snap point is reachable
	   (the batch-56 check saw it at the bottom of the 18-row list
	   and of the 36-row expanded list, and after 0.5-/1-page
	   scrolls that land near the bottom; small scrolls from the
	   top were fine). The lists gain 140px of BOTTOM padding —
	   about one row — so the scrollable range extends past the
	   last row and the snap CAN reach a full-row alignment at max
	   scroll. The padding sits inside the scroller (after the
	   last row), so it changes nothing at the top of the list.
	   B"H batch 58 — 140px fixed the 18-row list but NOT the 36-row
	   list (the batch-57 check: top row 34 half-covered at the bottom
	   of the 36-row list). One row of extra range is not enough when
	   the list is longer and the rows do not divide the range evenly.
	   The padding is 360px now (about three rows at 144px), so the
	   scrollable range extends far enough for the snap to reach a
	   full-row alignment at max scroll for ANY list length (18, 36, or
	   longer after more "Show more" clicks). scroll-padding-top: 70px
	   makes the snap align rows BELOW the tab bar (~50px tall), not
	   under it.
	   B"H batch 59 — BOTTOM PADDING 360px -> 120px: the 360px
	   OVERSHOT — it EXCEEDS the list viewport (~350px at 144px,
	   desktop 998px; confirmed twice: batch 57's "row 17 at top at
	   the 18-row bottom" puts V ~ 367px, and batch 58's "blank at
	   max scroll" requires V <= 360px), so at true max scroll the
	   list showed NOTHING but blank cream in both the 18-row and
	   the 36-row lists. 120px (about one row) is well under
	   V - one row (~225px), so the last row is fully visible above
	   "Show more passages" at MAXIMUM scroll for any list length,
	   and the JS row-boundary snap (not the padding) is what aligns
	   the top row now. */
	scroll-snap-type: y mandatory;
	scroll-padding-top: 0;
	/* B"H batch 50 — the white rectangle overlapping rows' right side:
	   when the vertical scrollbar appears it overlays the rows' right
	   edge (the list had no reserved gutter). Reserve the gutter so
	   the scrollbar never covers row content. */
	scrollbar-gutter: stable;
	/* B"H batch 49 (item A) — the old content-visibility: auto on the
	   LIST itself is removed: on a scroll container it can keep the
	   browser from computing the full scroll height, so the list
	   looked full-height-but-unscrollable on the phone. The off-screen
	   layout deferral lives on the post's phrase pairs instead (item
	   C), not on the dialog's scroller. */
}

.post-reader-localized-context #readerTopSections {
	padding: 10px;
	max-height: 52dvh;
}

.post-reader-localized-context #readerInfoSearch {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	min-height: 44px;
	margin: 0 0 9px;
	padding: 9px 12px;
	border: 1px solid #bd9d65;
	border-radius: 10px;
	background: #fffefa;
	color: #302315;
	font: 500 16px/1.3 system-ui, sans-serif;
}

.post-reader-localized-context .reader-info-panel button,
.post-reader-localized-context .reader-info-panel a,
.post-reader-localized-context .reader-index-choice {
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d9c49f;
	border-radius: 11px;
	background: #fffefa;
	color: #302315;
	font: 600 15px/1.4 system-ui, sans-serif;
	text-align: start;
	text-decoration: none;
	cursor: pointer;
}

.post-reader-localized-context .reader-info-actions button,
.post-reader-localized-context .reader-info-actions a,
.post-reader-localized-context .reader-info-actions #commentaryBtn,
.post-reader-localized-context .reader-index-choice {
	display: block;
	width: 100%;
	/* B"H batch 50 — a row button can never be wider than the list:
	   max-width caps it even if a long title sizes it up, so no white
	   rectangle of button background can overlap the rows' right side. */
	max-width: 100%;
	/* B"H batch 39: min-width:0 + anywhere-wrap so no label can ever force
	   the scroller wider than the dialog (a 1px overflow used to draw a
	   horizontal scrollbar at the dialog's bottom). */
	min-width: 0;
	overflow-wrap: anywhere;
	/* B"H batch 56 — TAB-BAR OVERLAP: the lists carry
	   `scroll-snap-type: y mandatory` (see the list rule above);
	   each row snaps to the top of the scroll container when a
	   scroll settles, so the top row is fully visible (not
	   half-cut under the tab bar) at any scroll position.
	   B"H batch 59 — the snap is MANDATORY now (was proximity):
	   proximity only snaps when close to a snap point, so it never
	   engaged for the wheel handler's x3 deltas (five batches of
	   failure). Mandatory forces every scroll to a row boundary,
	   and the template's JS row-boundary snap targets the SAME
	   boundaries, so the two cannot fight. */
	scroll-snap-align: start;
}

.post-reader-localized-context #readerInfoBack,
.post-reader-localized-context #readerInfoClose {
	width: auto;
	flex: 0 0 auto;
	padding: 8px 12px;
	font-size: 13px;
}

.post-reader-localized-context #readerInfoMore {
	flex: 0 0 auto;
	width: 100%;
	margin-top: 7px;
	/* B"H batch 54 — the button rendered dark text on dark navy in the
	   real browser although this rule pins it #f5ead1 (the same
	   stale/mixed-sheet failure batch 45 pinned the other dialog
	   buttons against). Pin the full light paint here AND inline in
	   paintInfo, so it is always cream with dark ink. */
	background: #fffdf6;
	color: #2b2118;
	border: 1px solid #d9c9a8;
	text-align: center;
}

.post-reader-localized-context #readerInfoMore[hidden] {
	display: none;
}

.post-reader-localized-context .reader-index-choice-title,
.post-reader-localized-context .reader-index-choice-detail {
	display: block;
	overflow-wrap: anywhere;
	/* B"H batch 49 — the Explore rows were messy/overlapping at 144px:
	   the Hebrew passage text and the "Section N · 1 passages ·
	   Explore ›" label overlapped. The title and detail are block
	   spans, but without explicit line-heights a multi-line Hebrew
	   title could collide with the detail below it. Give each its own
	   line-height and keep the detail on its own line with clear space. */
	line-height: 1.5;
}

.post-reader-localized-context .reader-index-choice-title {
	font-size: 16px;
	font-weight: 700;
}

.post-reader-localized-context .reader-index-choice-detail {
	/* B"H batch 50 — the passage text and the "Section N · 1 passage ·
	   Explore ›" label still collided in the real browser (the
	   batch-49 block layout is in the live bundle, but the check ran
	   on a stale one; the gap is widened so the two can never touch
	   even at 144px, and the template pins the block layout inline as
	   a backup). */
	margin-top: 6px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #655641;
}

.post-reader-localized-context #readerInfoPanel button:focus-visible,
.post-reader-localized-context #readerInfoPanel a:focus-visible,
.post-reader-localized-context .reader-index-choice:focus-visible {
	outline: 3px solid #946c23;
	outline-offset: 1px;
}

.post-reader-localized-context #readerInfoEmpty {
	margin: 10px 6px;
	color: #655641;
	font-size: 14px;
	/* B"H batch 55 — the dark bar: this empty status <p> is the ONLY
	   element after the last visible button in BOTH dialog views, so
	   if its [hidden] is ever beaten it renders at the panel's very
	   bottom. It carries the panel's cream background now, so even if
	   it renders it is cream, never dark. The [hidden] rule itself is
	   raised to (2,3,0) in reader-info-navigation.css, and paintInfo
	   pins it light inline too. */
	background: #f9f4ea;
}


/* ==== heichelos/post/styles/reader-content/reader-settings-coherence.css ==== */
/* B"H — Boruch Hashem — Blessed is He.
 * The Awtsmoos reveals each hidden control only when the reader invites it;
 * Awtsmoos.com keeps the settings reachable and the sacred text unconflicted.
 * No important declarations, and a closed Scribe's Lens stays closed.
 */
.post-reader-localized-context #typographyDetails:not(.hidden-details) {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: min(100%, 36rem);
	max-height: min(92dvh, 54rem);
	min-height: 0;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	overflow: hidden;
	background: #f9f4ea;
	color: #302315;
}

.post-reader-localized-context #typographyDetails .typography-content {
	box-sizing: border-box;
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	max-height: 100%;
	padding: 12px 16px 20px;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.post-reader-localized-context #typographyDetails .reset-section {
	box-sizing: border-box;
	flex: 0 0 auto;
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 10px 16px 12px;
	background: #f9f4ea;
	border-top: 1px solid #d1bd98;
}

.post-reader-localized-context #typographyDetails .settings-group {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
}

.post-reader-localized-context #typographyDetails .setting-name,
.post-reader-localized-context #typographyDetails .control-label,
.post-reader-localized-context #typographyDetails h3,
.post-reader-localized-context #typographyDetails label {
	color: #4b3715;
}

/* B"H — Coby Nov 10, screenshots: the panel's interactive controls
   rendered white-on-white (unselected Language pills, the −/+ buttons
   with no visible glyphs, the ✕ close button, the speed readout) —
   they all draw their colors from --lens-* variables that resolve
   light in this light panel. The panel itself is always light cream
   (pinned above), so pin every control explicitly, variable-free,
   with selectors that beat the variable-driven sheets. */
.post-reader-localized-context #typographyDetails .meluket-lang-btn {
	background: #fffdf6;
	border: 2px solid #d9c9a8;
	color: #2b2118;
}
.post-reader-localized-context #typographyDetails .meluket-lang-btn.is-active {
	background: #bd8f3f;
	border-color: #bd8f3f;
	color: #211809;
}
.post-reader-localized-context #typographyDetails .font-adjust-btn,
.post-reader-localized-context #typographyDetails .scribe-lens-close {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}
.post-reader-localized-context #typographyDetails .font-size-display {
	color: #2b2118;
}
.post-reader-localized-context #typographyDetails #autoScrollSpeedDisplay {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
	max-inline-size: 100%;
}
/* B"H 2026-11-10, visual check after deploy: the readout pill ("45 WPM ·
   Contemplate · 3 px/s") is long, and on a 390px panel its flex row ran
   out of room — the pill crowded the "Reading flow speed" label. Let the
   row wrap so the pill drops to its own line instead of squeezing. */

.post-reader-localized-context #typographyDetails .speed-readout-row > span {
	flex: 1 1 auto;
	min-width: 0;
}
/* Belt and braces for the same pill: same pin scoped to the panel's
   content wrapper, in case the panel is ever rendered outside
   #typographyDetails. */
.post-reader-localized-context .typography-content #autoScrollSpeedDisplay {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}
.post-reader-localized-context #typographyDetails .auto-scroll-settings-toggle {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}

.post-reader-localized-context #typographyDetails select,
.post-reader-localized-context #typographyDetails .font-selector {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}
.post-reader-localized-context #typographyDetails .typography-content {
	scrollbar-color: #bd8f3f #f9f4ea;
}

/* B"H — the "More settings" disclosure: one plain row, closed by default. */
.post-reader-localized-context #typographyDetails .reader-more-settings > summary {
	cursor: pointer;
	color: #4b3715;
	font-weight: 700;
	padding: 0.6rem 0;
}
.post-reader-localized-context #typographyDetails .reader-more-settings .reader-more-content {
	padding-top: 0.5rem;
}

.post-reader-localized-context #typographyDetails .language-option,
.post-reader-localized-context #typographyDetails .lang-option,
.post-reader-localized-context #typographyDetails .segmented-control button {
	color: #493923;
	text-shadow: none;
}

.post-reader-localized-context #typographyDetails .segmented-control button[aria-pressed="true"],
.post-reader-localized-context #typographyDetails .language-option.active,
.post-reader-localized-context #typographyDetails .lang-option.active {
	background: #bd8f3f;
	color: #211809;
}

.post-reader-localized-context #typographyDetails #resetDefaultsBtn {
	color: #654313;
	border-color: #ad8130;
	background: #fdfaf2;
}

.post-reader-localized-context #realPost .meluket-post-summary p,
.post-reader-localized-context #realPost .meluket-post-summary,
.post-reader-localized-context #realPost .meluket-summary {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.post-reader-localized-context .reader-info-actions a {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #dbc9a5;
	border-radius: 11px;
	background: #fffdf7;
	color: #302315;
	font: 600 15px/1.4 system-ui, sans-serif;
	text-decoration: none;
}

@media (max-width: 480px) {
	.post-reader-localized-context #typographyDetails:not(.hidden-details) {
		max-height: 93dvh;
	}
	.post-reader-localized-context #typographyDetails .typography-content {
		padding-inline: 12px;
	}
}

/* B"H 2026-11-10, visual check after deploy: the "i" Reading guide dialog
   (#readerInfoPanel) has the same white-on-white defect the settings panel
   had — its action buttons are white text on near-white pills, effectively
   invisible, and its Close button too. Same treatment: dark ink on a light
   pill, variable-free, so it reads in either theme. */
.post-reader-localized-context #readerInfoPanel {
	background: #f9f4ea;
	color: #2b2118;
}
.post-reader-localized-context #readerInfoPanel .reader-info-heading h2 {
	color: #2b2118;
}
.post-reader-localized-context #readerInfoPanel .reader-info-actions button,
.post-reader-localized-context #readerInfoPanel #readerInfoClose,
.post-reader-localized-context #readerInfoPanel #readerInfoBack {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}
.post-reader-localized-context #readerInfoPanel .reader-info-actions a {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
}

/* B"H 2026-11-10 round 3: the LIVE speed readout is NOT #autoScrollSpeedDisplay.
   ensureAutoScrollSemanticControls() deletes .speed-readout-row on mount and
   rebuilds it as #autoScrollSemanticControls > label.auto-scroll-semantic-range
   > span "Speed" + output#autoScrollPaceDisplay + range. That rebuilt output
   has ZERO CSS rules anywhere — hence the dark navy pill with dark text
   (round 1 and round 2 both pinned the deleted element). Pin the live one.
   The old #autoScrollSpeedDisplay pins above stay as fallback for when the
   semantic controls do not mount. */
/* B"H 2026-11-10 round 8: Related colors live in ONE place — the
   relatedPosts.js <style> block + the per-element inline styles (round 7).
   These duplicate pins are deleted: they set the same values the <style>
   block already sets, and the browser proved this file's rules do not
   reach the Related cards (they stayed white-on-white through round 6). */

.post-reader-localized-context #autoScrollSemanticControls #autoScrollPaceDisplay {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
	max-inline-size: 100%;
	/* B"H 2026-11-10 round 4: the pill sat flush against the "Speed" label
	   (zero gap, the final "d" touched its border). Give it breathing room.
	   B"H batch 37 (2026-11-12): the check still saw a dark pill
	   overlapping the label — the (1,1,0) pin lost to variable-driven
	   sheets somewhere in the load order. (2,1,0) now, variable-free, and
	   the pill may shrink/wrap instead of ever covering the label. */
	margin-inline-start: 8px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}
.post-reader-localized-context #autoScrollSemanticControls .auto-scroll-semantic-range {
	/* B"H batch 34 (2026-11-12): the rebuilt row was a bare <label> — no
	   display, so `flex-wrap` did nothing and the long pace pill crowded
	   over the "Speed" label. A real flex row now: label + pill on one
	   line with a gap, the slider full-width on its own line below.
	   B"H batch 37: same row, (1,2,0), full-width, so no sheet can
	   un-flex it. */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	width: 100%;
	box-sizing: border-box;
}
.post-reader-localized-context .auto-scroll-semantic-range > span {
	flex: 0 0 auto;
	min-width: 0;
}
.post-reader-localized-context .auto-scroll-semantic-range > #autoScrollPaceDisplay {
	flex: 1 1 auto;
	min-width: 0;
	margin-inline-start: 0;
}
.post-reader-localized-context .auto-scroll-semantic-range > #autoScrollPaceRange {
	flex: 1 1 100%;
	min-width: 0;
}
/* B"H batch 37: fallback — if the semantic controls do not mount, the
   server-rendered .speed-readout-row stays live. Pin it the same way:
   wrapping flex row, light pill, never overlapping the "Speed" label. */
.post-reader-localized-context #typographyDetails .speed-readout-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 6px 8px;
}
.post-reader-localized-context #typographyDetails #autoScrollSpeedDisplay {
	background: #fffdf6;
	border: 1px solid #d9c9a8;
	color: #2b2118;
	max-width: 100%;
	overflow-wrap: anywhere;
}
/* B"H 2026-11-10 round 3: "Sources & community" renders as a too-small
   circle with its label wrapping into broken lines — the floating-button
   sizing (56px, round) leaks into the dialog. In the dialog it is a
   full-width pill like its siblings. (2,2,0) beats the floating rules. */
.post-reader-localized-context #readerInfoPanel .reader-info-actions #commentaryBtn {
	/* B"H batch 37: the (1,3,0) floating-button rule still applied its
	   circle geometry (inline-size 3.75rem, border-radius 50%, padding
	   0 0.25rem, font-size 0.8rem, display inline-flex) because batch 34
	   only overrode width/height. Override ALL of it now — a full-width
	   dialog pill like its siblings. */
	display: block;
	width: 100%;
	height: auto;
	min-height: 44px;
	inline-size: auto;
	block-size: auto;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 1rem;
	line-height: 1.4;
	white-space: normal;
	text-align: center;
}
/* B"H batch 37: the dialog at phone width — the heading's nowrap/ellipsis
   (reader-info-navigation.css) squeezed "Reading guide" against the
   buttons, and the action list had no layout rule so "Browse this series"
   and "Return to the beginning" could overlap. Let the heading wrap and
   stack the actions in a column, every child full-width. */
.post-reader-localized-context #readerInfoPanel .reader-info-heading {
	flex-wrap: wrap;
}
.post-reader-localized-context #readerInfoPanel .reader-info-heading h2 {
	/* B"H batch 51 — the Explore heading's final "e" was STILL clipped
	   at the dialog's right edge (third check): flex-basis auto sizes
	   the h2 to its CONTENT, so it can reach the panel edge before
	   shrinking, and the panel's overflow:hidden cuts the last glyph.
	   Basis 0 now: the h2 starts at zero and grows only into the
	   row's free space, so its text MUST wrap inside the row and can
	   never reach the panel edge. The 12px end buffer lives in
	   reader-info-navigation.css. */
	flex: 1 1 0%;
	min-width: 0;
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
}
.post-reader-localized-context #readerInfoPanel .reader-info-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.post-reader-localized-context #readerInfoPanel .reader-info-actions > button,
.post-reader-localized-context #readerInfoPanel .reader-info-actions > a {
	width: 100%;
	box-sizing: border-box;
}

/* B"H 2026-11-10 round 6 — language toggle + chapter nav.
   The "Hide English" toggle (the Hebrew-only lang button) rendered white
   text on a near-white pill wherever it sits outside #typographyDetails
   (the panel pin above does not reach it), and the chapter nav links
   ("· Chapter 10" / "· Chapter 12") are pale light blue on white — the
   nav container's color does not cascade into its <a> elements, which
   take the blue accent. Pin both, variable-free, in both themes. */




/* B"H 2026-11-10 round 15 — the " · Chapter 12" number is a <span
   class="awtsmoos-chapter-gate-number"> inside the gate link, so the
   .awtsmoos-chapter-nav a rule above does not reach it; reborn
   reader.css:236 gives it color: var(--inline-text-blue, #cbd5e1) at
   (0,8,0) — pale slate-blue, unreadable on the white card in light
   theme. This light rule repeats the class ×8 to (0,11,0) and pins it
   dark. Dark theme keeps the pale blue, which reads fine there.
   The gate LINK itself has the same defect: reborn reader.css:211
   gives it color: var(--sefer-ink) at (0,8,0), but --sefer-ink is
   scoped to .meluket-sefer-active (sefer.css:24) and the nav is a
   SIBLING of the sefer, so the var is undefined there and the label
   ("Previous"/"Next") inherits white from the context — white on the
   white card. The gate and its label get the same (0,11,0) pin. */

[data-theme="dark"] .post-reader-localized-context .awtsmoos-chapter-nav a {
	color: #f5efe2;
}
[data-theme="dark"] .post-reader-localized-context .awtsmoos-chapter-nav a:hover {
	color: #d4a94e;
}

/* B"H 2026-11-10 round 7 — community comment action pills (Reply / Copy /
   Share, class .comment-chip-action) rendered white text on a cream pill
   — the same white-on-white defect as Related posts. Pin them dark on
   light in light theme, light on dark in dark theme, variable-free.
   B"H round 9: the round-7 pins were scoped to
   .post-reader-localized-context, but the pills live OUTSIDE it (the
   comments section, the dialog, the composer), so they never matched.
   Global selectors, one place, both themes. Covers the Sources dialog
   close, the reply composer add/remove-section buttons, and the same
   white-on-white pill bug the browser found on all of them.
   B"H round 10: the round-9 global pins STILL did not show. Root cause,
   measured: button-hover.css and mobile-desktop-viewport.css paint every
   .comment-chip-action (and every button in the reader) with
   `color: var(--aw-text)` at specificity (0,10,0)–(0,16,0) — and
   --aw-text is #f8fbff (white) in the dark token palette, defined
   unconditionally in tokens.css. No direct color rule can beat (0,16,0)
   without !important (banned). So set the VAR itself on the pill: a
   custom property set directly on the element beats the inherited white,
   and button-hover's own color rule then resolves dark. The dock keeps
   its white (its dark-navy background needs it) because it is not in
   this list. The same trick covers the wysiwyg B/I/U buttons, every
   button in the Contents panel (#readerInfoPanel), and every button in
   the Sources dialog sheet. */


[data-theme="dark"] .comment-chip-action,
[data-theme="dark"] .awtsmoos-src-close,
[data-theme="dark"] .reply-add-section,
[data-theme="dark"] .awtsmoos-remove-section-btn,
[data-theme="dark"] .wysiwyg-btn,
[data-theme="dark"] .close-reply {
	--aw-text: #f5efe2;
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	color: #f5efe2;
}
[data-theme="dark"] #readerInfoPanel,
[data-theme="dark"] .awtsmoos-src-sheet {
	--aw-text: #f5efe2;
}


/* ==== heichelos/post/styles/ideal/reborn/comments.css ==== */
/* @tunnel-grandfather: intentional layered/variant co-ownership (1 selectors: .post-reader-localized-context .menu-dro); cascade order intentional, merge would break responsive/layered architecture */
/* B"H
 * Chapter 160: Shared comments own sidebar scale only.
 * Inline comment body scale is owned by inline-comments/card.css, preventing
 * duplicate ownership while the Awtsmoos keeps one renderer and two garments.
 */

































/* B"H
 * Chapter 281: Local polish proof.
 * This file owns one small, concrete smoothness rule so the polish is local,
 * testable, and not duplicated across the import river.
 */


/* B"H 2026-11-10 round 11: in LIGHT theme the dock rule above paints
   these buttons dark-navy with white text — but the browser check shows
   the Reply pill pale with white (unreadable) text. Whatever wins the
   background, the white color wins the text. Force light-theme dock
   buttons dark-on-pale at (0,11,1), above the dock rule's (0,9,1) and
   button-hover's (0,10,0). Dark theme keeps the dark pill + light text. */


/* B"H 2026-11-10 round 12 — the round-11 (0,11,1) override fixed the
   pill BACKGROUND but not the text: button-hover.css has a second,
   stronger color rule the round-11 note missed. Its every-button rule
   at (0,16,1) sets color: var(--aw-text), and on these buttons the var
   resolves white (the coherence --aw-text trick does not land on them —
   the pale pill with white text is exactly that rule winning the color
   while the round-11 rule wins the background). This rule mirrors
   button-hover's own :is()×8 shape at (0,19,0) and sets the color
   DIRECTLY — no var — on every button the Community section can
   produce: the chip buttons, any dock button, the dropdown menu items,
   and any bare button inside a community card. Dark theme is untouched
   (scoped to :not([data-theme="dark"])).
   B"H round 14 — the round-12 branches targeted the WRONG classes: the
   real Community cards are built by social/CommentCard.js, not by the
   shared factory. Their Reply button is .awtsmoos-social-reply, the
   "···" toggle is .awtsmoos-social-more-toggle, the Whisper/Chat/Friend
   buttons are bare <button>s inside .awtsmoos-comment-connect-actions,
   and Edit/Delete are .awtsmoos-social-more-action. None of those
   matched the round-12 branches, so the logged-in pills stayed white
   while a synthetic .comment-chip-action rendered dark. The real
   branches are added below; the old ones stay for the inline/source
   cards that do use them.
   B"H round 15 — the same white-on-pale defect lives in the Related
   Torah error state (Sources > Related Torah): its "Try again" button
   is a bare <button class="awtsmoos-related-torah-retry"> whose own
   injected style says background: none; color: inherit — inherit
   resolves white (--aw-text) on the pale sheet, so the pill renders
   as a blank white oval; and the "taking too long" message plus the
   source cards all say color: var(--aw-text) in related-torah.css,
   white in light theme. The retry, the message, and the card text
   branches are added below (the cards only render once the backend
   returns sources, but they would be white the moment it does). */

