@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=DM+Sans:wght@400;500;600&display=swap');
html.halakh-unified{--paper:#10212b;--paper2:#142733;--cream:#10212b;--linen:#10212b;--p:#10212b;--bg:#10212b;--white:#10212b;--ink:#f2e8d7;--i:#f2e8d7;--ink-soft:#d8cdba;--muted:#d8cdba;--m:#d8cdba;--gold:#d9b67b;--g:#d9b67b;--line:#d9b67b55;--l:#d9b67b55;--pline:#d9b67b55;--edge:#d9b67b55;--deep:#0b1820;--dark:#0b1820;--d:#0b1820;--indigo:#243f51;--olive:#5c674e;--earth:#dfbe86;--sans:'DM Sans',system-ui,sans-serif;--s:'DM Sans',system-ui,sans-serif;--serif:'Cormorant Garamond',Georgia,serif;--r:'Cormorant Garamond',Georgia,serif;background:#0b1820!important;color:#f2e8d7;color-scheme:dark}
html.halakh-unified body{margin:0;background:linear-gradient(90deg,#06121bec,#07141bd6 45%,#07141b80),var(--halakh-world-image) center top/cover no-repeat!important;color:#f2e8d7!important;font-family:var(--serif)!important;min-height:100svh;isolation:isolate;overflow-x:clip}
html.halakh-unified[data-world=walk]{--halakh-world-image:url('backgrounds/path-beyond.webp')}
html.halakh-unified[data-world=teachings]{--halakh-world-image:url('backgrounds/teachings.webp')}
html.halakh-unified[data-world=foundations]{--halakh-world-image:url('backgrounds/foundations.webp')}
html.halakh-unified[data-world=scripture]{--halakh-world-image:url('backgrounds/scripture.webp')}
html.halakh-unified[data-world=appointed]{--halakh-world-image:url('backgrounds/appointed.webp')}
html.halakh-unified[data-world=gather]{--halakh-world-image:url('backgrounds/gather.webp')}
html.halakh-unified[data-world=community]{--halakh-world-image:url('backgrounds/community.webp')}
html.halakh-unified[data-world=assembly]{--halakh-world-image:url('backgrounds/assembly.webp')}
html.halakh-unified[data-world=about]{--halakh-world-image:url('backgrounds/about.webp')}
html.halakh-unified[data-world=mission]{--halakh-world-image:url('backgrounds/mission.webp')}
html.halakh-unified[data-world=contact]{--halakh-world-image:url('backgrounds/contact.webp')}
html.halakh-unified[data-world=book]{--halakh-world-image:url('backgrounds/book.webp')}
html.halakh-unified :where(h1,h2,h3,h4){font-family:var(--serif)!important;font-weight:400;line-height:1.12;color:#f2e8d7}
html.halakh-unified :where(h1){font-size:clamp(48px,6vw,96px);letter-spacing:-.035em}
html.halakh-unified :where(p,li){line-height:1.65}
html.halakh-unified :where(p,li,.lead,.sub,.intro,.small,.muted,.summary,.status,.ey,.eyebrow,.sc-small,.sc-status,.sc-link,.sc-quiet,.sc-method-grid a,.sc-method-grid p,.sc-feasts small,.section p,.section li){color:#e5dac8!important}
html.halakh-unified :where(p,li){font-size:max(16px,1em)}
html.halakh-unified :where(button,input,select,textarea,label,.small,.status,.ey,.eyebrow,.sc-small){font-family:var(--sans)!important}
html.halakh-unified :where(button,input,select,textarea){font-size:max(13px,1em);color:#f2e8d7;line-height:1.5;max-width:100%}
html.halakh-unified :where(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0b1820e8!important;color:#f2e8d7!important;border-color:#c7a46988!important;border-radius:0!important}
html.halakh-unified :where(input,textarea)::placeholder{color:#c4bcae;opacity:1}
html.halakh-unified :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #e8bf74!important;outline-offset:4px}
html.halakh-unified :where(button,.btn,.action,.primary,.secondary,.pill,.sc-outline,.sc-gold,.sc-week-action){border-color:#c7a46999!important;color:#f2e8d7!important;border-radius:0;min-height:42px}
html.halakh-unified :where(button,.btn,.action,.primary,.secondary,.sc-gold,.sc-week-action){background-color:#142733!important}
html.halakh-unified :where(button:hover,.btn:hover,.action:hover){background-color:#30434b!important}
html.halakh-unified :where(.panel,.card,.chat,.scriptureBox,.library,.sidebar,.stageHead,.messages,.below,.intro,.introCopy,.chapter,.chapter.alternate,.closing,.hero,.hero-text,.invite,.table,.bands,.paper,.gate,.content,.box,.entry,.sheet,.sc-detail,.sc-gather,.sc-feasts article,.sc-today,#accountBootstrap,#halakh-member-conversations .mhead,#halakh-member-conversations .mfoot,#halakh-member-conversations .m-frame,#halakh-message-entry,#halakh-member-sacred-life){background-color:#0b1c27d9!important;color:#f2e8d7!important;border-color:#c7a46966!important;border-radius:0!important}
html.halakh-unified :where(.panel p,.card p,.gate p,.content p,#halakh-member-conversations p,#halakh-message-entry p,#halakh-member-sacred-life p){color:#e5dac8!important}
html.halakh-unified .page>.lead:after{display:none!important}
html.halakh-unified :where(.hero-paint,.introArt,.halakh-textile-plane,.table>div>img[src*=fabric-banner]){display:none!important}
html.halakh-unified :where(.hero,.intro){background:transparent!important;grid-template-columns:1fr!important}
html.halakh-unified :where(.introCopy,.hero-text){background:transparent!important;max-width:1000px;width:100%}
html.halakh-unified :where(.introCopy){padding:clamp(50px,7vw,100px) clamp(24px,7vw,100px)!important;min-height:auto}
html.halakh-unified :where(.intro,.hero){min-height:auto}
html.halakh-unified :where(.hero-text){padding:clamp(44px,6vw,90px) clamp(24px,5vw,72px)}
html.halakh-unified :where(.foot,.footer,.sc-footer,.auth-foot){background:#07141bd9!important;border-color:#c7a46955!important;color:#dfd2bd!important;font:12px/1.6 var(--sans)!important}
html.halakh-unified :where(.foot a,.footer a,.auth-foot a,.sc-footer a){color:#dfd2bd!important;font-size:12px!important}
html.halakh-unified :is(main,.panel,.card) a{color:#f1d399!important;text-decoration-color:#c7a469}
html.halakh-unified body>header:not(#halakh-world-header),html.halakh-unified #halakh-global-nav,html.halakh-unified #halakh-top-navigation,html.halakh-unified .halakh-presence-nav,html.halakh-unified body>.a-nav,html.halakh-unified #app>header.top{display:none!important}
html.halakh-unified body>header#halakh-world-header{display:flex!important;position:relative!important;top:0!important;align-items:center;justify-content:space-between;gap:20px;width:100%;max-width:none;min-height:88px;margin:0;padding:22px clamp(24px,5vw,86px);border-bottom:1px solid #dec89933;background:#091720a8;color:#f2e8d7;z-index:10}
.halakh-world-header .world-brand{font:400 clamp(24px,2.5vw,36px)/1.1 'Cormorant Garamond',Georgia,serif!important;letter-spacing:.35em;text-decoration:none;color:#f2e8d7!important;white-space:nowrap}
.halakh-world-header .world-actions{display:flex;gap:20px;align-items:center}
.halakh-world-header .world-account{font:500 12px/1.3 'DM Sans',system-ui,sans-serif;letter-spacing:.03em;color:#e8d6b8;text-decoration:none}
.halakh-world-header .map-toggle{font:500 12px/1.2 'DM Sans',system-ui,sans-serif!important;letter-spacing:.13em;padding:13px 19px;min-height:44px;background:#0a141bc7;color:#f5e8cf;border:1px solid #eacfa4ad;cursor:pointer}
.world-skip{position:absolute;left:12px;top:-90px;padding:12px;background:#f2e8d7;color:#0b1820;z-index:100}.world-skip:focus{top:8px}
html.halakh-unified body>header#halakh-world-header{visibility:visible!important;pointer-events:auto!important}
html.halakh-unified .sr{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
html.halakh-unified .halakh-map{color:#f5e9d5!important}
html.halakh-unified .halakh-map .map-interior{background:linear-gradient(135deg,#0c1923,#172a32 68%,#182229)!important}
html.halakh-unified .halakh-map :where(a,p,button,label){color:#f5e9d5!important}
html.halakh-unified #halakhVideoGate{background:transparent!important;color:#f2e8d7!important;min-height:calc(100svh - 88px)!important}
html.halakh-unified #halakhVideoGate .content{background:#0b1c27e8!important;border-color:#c7a46988!important;border-radius:0!important;max-width:700px}
html.halakh-unified #halakhVideoGate h1{font:400 clamp(48px,6vw,76px)/1.06 'Cormorant Garamond',Georgia,serif!important}
html.halakh-unified #halakhVideoGate :where(p,small){color:#e5dac8!important}
html.halakh-unified #halakhVideoGate :where(a,a.secondary){color:#f2e8d7!important;background:#142733!important;border:1px solid #c7a46988;border-radius:0!important}
html.halakh-unified #halakhVideoGate [hidden]{display:none!important}
html.halakh-unified :where(.bubble,.msg.mine .bubble,.sc-sequence-item,.ci-day,.sc-weekly,#halakh-weekly-teaching,#halakh-torah-portions,.sacred-key){background:#10212be8!important;color:#f2e8d7!important;border-color:#c7a46966!important}
html.halakh-unified :where(.ci-day[data-shabbat=true],.sc-sequence-item[aria-pressed=true],.ci-day[aria-pressed=true]){background:#344c47!important;color:#f2e8d7!important}
html.halakh-unified :where(.ci-day small,.ci-weekday span,.episode p,.count,.stageMeta,.sc-sequences p,.sc-sequence-toolbar p,.sc-method-grid p,.sc-feasts small,#halakh-torah-portions p){color:#d8cdba!important}
html.halakh-unified .sc-sections a[aria-current=page]{color:#f2e8d7!important}
html.halakh-unified .world-library-toggle{display:none}
html.halakh-embedded body{background:#0b1820!important}html.halakh-unified.halakh-embedded body>header#halakh-world-header{display:none!important}
html.halakh-unified body{background-color:#0b1820!important;background-size:cover,100% auto!important}
html.halakh-unified :where(label,.ey,.eyebrow,.small,.status,.channel small,.foot a,.sc-small){font-size:12px!important;line-height:1.6!important;letter-spacing:.035em!important}
@media(max-width:760px){html.halakh-unified body>header#halakh-world-header{min-height:78px;padding:18px 22px;gap:12px}.halakh-world-header .world-actions{gap:12px}.halakh-world-header .world-brand{font-size:25px!important;letter-spacing:.22em}.halakh-world-header .world-account{display:none}html.halakh-unified .world-library-toggle{display:inline-flex!important;padding:10px;align-items:center}.halakh-world-header .map-toggle{padding:12px 14px}html.halakh-unified :where(.page,.section){padding-left:24px;padding-right:24px}html.halakh-unified .library{top:78px}.halakh-world-header .world-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html.halakh-unified *,html.halakh-unified *:before,html.halakh-unified *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* HALAKH · Accessible text contrast · 2026-10-26. Retain existing sacred-world backgrounds. */
html.halakh-unified :is([style*="background: white"],[style*="background:white"],[style*="background: #fff"],[style*="background:#fff"],[style*="background-color: white"],[style*="background-color:white"],[style*="background-color: #fff"],[style*="background-color:#fff"],.light-surface,.white-surface,.light-panel) {
 color:#13261f!important;
}
html.halakh-unified :is([style*="background: white"],[style*="background:white"],[style*="background: #fff"],[style*="background:#fff"],[style*="background-color: white"],[style*="background-color:white"],[style*="background-color: #fff"],[style*="background-color:#fff"],.light-surface,.white-surface,.light-panel) :is(h1,h2,h3,h4,h5,h6,p,span,li,small,label,strong,b,em,blockquote,td,th) {
 color:#13261f!important;
}
html.halakh-unified :is([style*="background: white"],[style*="background:white"],[style*="background: #fff"],[style*="background:#fff"],.light-surface,.white-surface,.light-panel) a {color:#12563a!important}
html:not(.halakh-unified) :is(.card,.panel,.form,.box,.paper,.sheet) :is(p,li,span,small,label,strong){color:#1a2d27}
html:not(.halakh-unified) :is(.card,.panel,.form,.box,.paper,.sheet) a{color:#164d38}
html.halakh-unified :where(.form,.card,.panel,.sheet,.box) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
 background:#0c1d24!important;color:#fff6e8!important;border:1px solid #ac9d80!important;
}
html.halakh-unified :where(input,textarea)::placeholder{color:#d6ccbb!important;opacity:1!important}
html :where(a,button,input,textarea,select,summary,[role=button]):focus-visible{outline:3px solid #d6a65d!important;outline-offset:3px!important}
html.halakh-unified :where(.small,.muted,.ey,.eyebrow){font-size:max(12px,1em)}
html.halakh-unified :where(.status){font-size:max(13px,1em)}
html :where(button,input,select,textarea){min-height:36px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


/* HALAKH readable dark surfaces: eliminate near-white panels while preserving imagery. */
html.halakh-unified .halakh-dark-surface{background:#112734!important;background-image:none!important;color:#fff1dc!important;border-color:#c5ac7b78!important}
html.halakh-unified .halakh-dark-surface :where(h1,h2,h3,h4,h5,h6,p,small,span,li,label,strong,em,b,blockquote,td,th,summary){color:#fff1dc!important}
html.halakh-unified .halakh-dark-surface :where(a){color:#f3d6a0!important}
html.halakh-unified .halakh-dark-surface :where(input,textarea,select,button){background:#10252c!important;color:#fff1dc!important;border:1px solid #bba57e!important}
html.halakh-unified .halakh-dark-surface :where(input,textarea)::placeholder{color:#decbaf!important}
html.halakh-unified :where(button,a,input,textarea,select):focus-visible{outline:3px solid #ebc682!important;outline-offset:3px!important}

/* HALAKH unified contrast enforcement: light remnants become legible dark surfaces. */
html.halakh-unified :is(.halakh-dark-surface,.light-surface,.white-surface,.light-panel){background:#102630!important;background-image:none!important;color:#fff0d9!important;border-color:#c7a46980!important}
html.halakh-unified :is(.halakh-dark-surface,.light-surface,.white-surface,.light-panel) :is(h1,h2,h3,h4,h5,h6,p,span,small,li,label,strong,b,em,blockquote,td,th,dt,dd,summary){color:#fff0d9!important}
html.halakh-unified :is(.halakh-dark-surface,.light-surface,.white-surface,.light-panel) a{color:#f0d2a2!important}
html.halakh-unified :is(.halakh-dark-surface,.light-surface,.white-surface,.light-panel) :is(input,textarea,select,button){background:#0b1e27!important;color:#fff0d9!important;border-color:#c7a469!important}
html.halakh-unified :is(.halakh-dark-surface,.light-surface,.white-surface,.light-panel) :is(input,textarea)::placeholder{color:#e6d7c2!important}
html.halakh-unified :is(input,select,textarea,option){color-scheme:dark}
html.halakh-unified option{color:#fff0d9!important;background:#102630!important}
html.halakh-unified :where(.eyebrow,.small,.status,.hint){opacity:1!important}


/* HALAKH accessible contrast · November 2026. Preserve art; normalize illegible light cards. */
html.halakh-unified :is(main,header,footer,dialog) .halakh-dark-surface{background-color:#112734!important;background-image:none!important;color:#fff4df!important;border-color:#cbb68b88!important}
html.halakh-unified :is(main,header,footer,dialog) .halakh-dark-surface :is(h1,h2,h3,h4,h5,h6,p,span,label,li,small,em,b,strong,blockquote,td,th,summary){color:#fff4df!important}
html.halakh-unified :is(main,header,footer,dialog) .halakh-dark-surface a{color:#ffe0a3!important}
html.halakh-unified :is(main,header,footer,dialog) .halakh-dark-surface :is(input,textarea,select,button){background-color:#10262c!important;color:#fff4df!important;border:1px solid #c7b18a!important}
html.halakh-unified :is(input,textarea)::placeholder{color:#e0cfb1!important;opacity:1}
html.halakh-unified :where(a,button,input,textarea,select):focus-visible{outline:3px solid #ffe09d!important;outline-offset:3px!important}

/* HALAKH · quieter composition · November 2026.
   Keep all teaching, calendar, Bible, communication and participation controls accessible. */
html.halakh-unified :where(main p, main li){overflow-wrap:break-word}
html.halakh-unified :where(.hero-text,.introCopy){gap:clamp(18px,2.7vw,34px)!important}
html.halakh-unified .hero-text{padding:clamp(32px,4.3vw,60px) clamp(22px,5vw,68px)!important}
html.halakh-unified :where(.hero h1,.intro h1){font-size:clamp(46px,6vw,82px)!important;line-height:1.04!important}
html.halakh-unified :where(.hero p,.intro p){max-width:64ch;line-height:1.62!important}
html.halakh-unified[data-world="community"] .main-grid{max-width:1120px;grid-template-columns:minmax(0,1fr)!important;gap:clamp(28px,4vw,55px)!important;padding:clamp(38px,5vw,72px) clamp(20px,5vw,60px)!important}
html.halakh-unified[data-world="community"] .writings>h2{margin:12px 0 27px!important;font-size:clamp(38px,4.8vw,66px)!important}
html.halakh-unified[data-world="community"] .feature-art{height:clamp(210px,33vw,350px)!important}
html.halakh-unified[data-world="community"] .writings>h3{font-size:clamp(38px,5vw,68px)!important}
html.halakh-unified[data-world="community"] .writings .group-title{margin:35px 0 18px!important}
html.halakh-unified[data-world="community"] .line{padding:17px 0!important}
html.halakh-unified[data-world="community"] .aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start}
html.halakh-unified[data-world="community"] .aside .reflection{display:none!important}
html.halakh-unified[data-world="community"] .aside :where(.gather,.bible){margin:0!important;min-width:0}
html.halakh-unified[data-world="community"] :where(.foundations,.members){padding-top:clamp(34px,4vw,60px)!important;padding-bottom:clamp(38px,5vw,70px)!important}
html.halakh-unified[data-world="community"] .twofold{padding-top:15px!important;padding-bottom:15px!important}
html.halakh-unified[data-world="teachings"] .room{max-width:1460px;padding:clamp(18px,3vw,38px) clamp(16px,3vw,46px) 58px!important}
html.halakh-unified[data-world="teachings"] .room .head{gap:16px!important;align-items:center}
html.halakh-unified[data-world="teachings"] .room h1{font-size:clamp(39px,4.7vw,67px)!important;line-height:1.04!important}
html.halakh-unified[data-world="teachings"] .room .sub{max-width:64ch;line-height:1.55!important}
html.halakh-unified[data-world="teachings"] .room .grid{gap:clamp(12px,1.7vw,26px)!important;grid-template-columns:minmax(0,1.75fr) minmax(330px,.8fr)!important}
html.halakh-unified[data-world="teachings"] .room .panelHead h2{font-size:clamp(22px,2.4vw,34px)!important}
html.halakh-unified[data-world="appointed"] .sc-hero{min-height:auto!important}
html.halakh-unified[data-world="appointed"] .sc-feasts{gap:clamp(10px,1.4vw,20px)!important}
html.halakh-unified[data-world="appointed"] .sc-feasts article{padding:clamp(16px,2vw,25px)!important}
html.halakh-unified[data-world="appointed"] .sc-feasts h3{font-size:clamp(21px,2.4vw,30px)!important;line-height:1.2!important}
html.halakh-unified[data-world="appointed"] .sc-section-heading{gap:14px!important}
@media(max-width:850px){
 html.halakh-unified[data-world="community"] .aside{grid-template-columns:minmax(0,1fr)!important}
 html.halakh-unified[data-world="community"] .hero-nav{gap:13px!important}
 html.halakh-unified[data-world="teachings"] .room .grid{grid-template-columns:minmax(0,1fr)!important}
 html.halakh-unified[data-world="teachings"] .room :where(.stage,.side){min-height:unset!important}
 html.halakh-unified[data-world="teachings"] .room .stage{min-height:clamp(270px,55vw,520px)!important}
 html.halakh-unified[data-world="teachings"] .room .engine{min-height:clamp(270px,55vw,520px)!important}
 html.halakh-unified[data-world="teachings"] .room .head{grid-template-columns:1fr!important}
 html.halakh-unified[data-world="teachings"] .room .headRight{justify-content:flex-start!important}
}
@media(max-width:550px){
 html.halakh-unified[data-world="community"] .main-grid{padding:34px 20px!important}
 html.halakh-unified[data-world="community"] .hero-text{padding:30px 20px!important}
 html.halakh-unified[data-world="community"] .twofold{display:block!important;padding:15px 20px!important}
 html.halakh-unified[data-world="community"] .twofold span{display:block;margin:0 0 6px}
 html.halakh-unified[data-world="teachings"] .room .headRight{gap:8px!important}
}
