/* R18 Simple: clean reading with flat color, no decorative artwork or motion.
   The small static main website icon is intentionally retained.
   This first important layer also wins over old packed decorative styles.
   Functional content, original-language text, notes and selected highlights remain. */
#ar-theme-chooser{position:relative;display:inline-flex;flex:none;align-self:center;z-index:70}
#ar-workspace-actions #ar-visual-mode-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;width:auto!important;min-width:100px!important;min-height:40px;padding:8px 10px!important;font:600 13px/1.3 system-ui,sans-serif!important;color:var(--gold-light,#e6d3ae);border:1px solid var(--line,#71634c);border-radius:5px;background:var(--surface,#14120e);white-space:nowrap;clip-path:none!important}
#ar-theme-chooser #ar-visual-mode-toggle svg,#ar-theme-menu svg{display:block!important;flex:none;width:19px;height:19px;filter:none!important}
#ar-theme-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:1000;box-sizing:border-box;width:190px;max-width:calc(100vw - 24px);padding:6px;border:1px solid var(--gold,#baa16a);border-radius:6px;background:var(--surface,#111)!important;color:var(--text,#f2eee5);box-shadow:0 6px 22px #0008}
#ar-theme-menu[hidden]{display:none!important}
#ar-theme-menu [data-ar-theme-choice]{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 10px;box-sizing:border-box;text-align:left;border:1px solid transparent;border-radius:3px;background:transparent;color:inherit;font:600 14px/1.35 system-ui,sans-serif;cursor:pointer}
#ar-theme-menu [data-ar-theme-choice]:is(:hover,:focus-visible){background:var(--surface-raised,#292720);outline:2px solid currentColor;outline-offset:-2px}
#ar-theme-menu [aria-checked="true"]{border-color:currentColor}
#ar-theme-menu .ar-theme-check{margin-left:auto;visibility:hidden}
#ar-theme-menu [aria-checked="true"] .ar-theme-check{visibility:visible}
#ar-theme-chooser button:focus-visible{outline:2px solid currentColor!important;outline-offset:3px}
#ar-cyber-multicolor-row{display:flex;gap:8px;align-items:flex-start;padding:10px 0 4px;font:13px/1.5 system-ui,sans-serif;color:inherit}
#ar-cyber-multicolor-row[hidden]{display:none!important}
#ar-cyber-multicolor-row input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--cyber-accent,#fff)}
#ar-cyber-multicolor-row span{min-width:0}
#ar-cyber-multicolor-row small{display:block;font:12px/1.5 system-ui,sans-serif;color:inherit}
@layer ar-simple {
 /* Two neutral reading styles. Dark is the safe fallback for existing users.
    Light uses warm paper, walnut and antique gold. */
 html[data-ar-theme="simple"]{--simple-base:#1e1e1e;--simple-panel:#282828;--simple-reading:#242424;--simple-banner:#333333;--simple-hover:#3b3b3b;--simple-selected:#414141;--simple-ink:#f5f5f5;--simple-muted:#cccccc;--simple-accent:#eeeeee;--simple-line:#989898;--simple-line-quiet:#505050;--simple-jesus:#ffbbbb;--simple-on-accent:#202020;--simple-header:#373737;--simple-header-hover:#494949;--simple-header-selected:#252525;--simple-header-ink:#ffffff;color-scheme:dark!important;background:var(--simple-base)!important}
 html[data-ar-theme="simple"][data-ar-simple-palette="light"]{--simple-base:#f3f0e9;--simple-panel:#ffffff;--simple-reading:#ffffff;--simple-banner:#e8e1d3;--simple-hover:#e3dac8;--simple-selected:#eadfc8;--simple-ink:#222222;--simple-muted:#505660;--simple-accent:#72562c;--simple-line:#85796a;--simple-line-quiet:#c7bdab;--simple-jesus:#8a1420;--simple-on-accent:#ffffff;--simple-header:#5e492e;--simple-header-hover:#775a35;--simple-header-selected:#463721;--simple-header-ink:#ffffff;color-scheme:light!important;background:var(--simple-base)!important}
 @media(forced-colors:none){html[data-ar-theme="simple"][data-reading-contrast="high"]{--simple-ink:#ffffff;--simple-muted:#f3f3f3;--simple-accent:#ffffff;--simple-jesus:#ffdddd;--simple-line:#bbbbbb}html[data-ar-theme="simple"][data-ar-simple-palette="light"][data-reading-contrast="high"]{--simple-ink:#000000;--simple-muted:#30343a;--simple-accent:#4b381c;--simple-jesus:#640e17;--simple-line:#4c5057}}
 html[data-ar-theme="simple"] body{--page:var(--simple-base)!important;--surface:var(--simple-panel)!important;--surface-raised:var(--simple-banner)!important;--surface-warm:var(--simple-panel)!important;--text:var(--simple-ink)!important;--muted:var(--simple-muted)!important;--gold:var(--simple-accent)!important;--gold-light:var(--simple-accent)!important;--line:var(--simple-line)!important;--line-quiet:var(--simple-line-quiet)!important;background:var(--simple-base)!important;color:var(--simple-ink)!important}
 html[data-ar-theme="simple"] body,html[data-ar-theme="simple"] body::before,html[data-ar-theme="simple"] body::after,html[data-ar-theme="simple"] body *,html[data-ar-theme="simple"] body *::before,html[data-ar-theme="simple"] body *::after{animation:none!important;transition:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;backdrop-filter:none!important;background-image:none!important;scroll-behavior:auto!important}
 html[data-ar-theme="simple"] :where(body *:not(mark):not([data-highlight-id]):not([class*="highlight"])){color:inherit!important;-webkit-text-fill-color:currentColor!important;background-color:transparent!important;border-color:var(--simple-line-quiet)!important}
 html[data-ar-theme="simple"] body *::before,html[data-ar-theme="simple"] body *::after{background-image:none!important;filter:none!important;box-shadow:none!important;text-shadow:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
 html[data-ar-theme="simple"] :is(#ar-library-olive-trim,.ar-workspace-sigil-r14,.ar-library-art,.ar-site-top-runner,.site-runner,.ar-sprite-field,#ar-explorer-ambient,#ar-explorer-engraved-sigil,#ar-cyber-art-field,#ar-cyber-language-field,#ar-cyber-atmosphere,#ar-cyber-overlay,#ar-cyber-rain,#ar-cyber-search-atmosphere,#ar-cyber-takeover,#ar-cyber-chronometer,#ar-ambient-entry,#ar-cyber-page-footer,.ar-cyber-footer-code,.reading-tool-art,.message56-art,.overview57-art,.aff-dashboard-art,.section-art-illustration,.explorer-art-banner,.featured-art,.context-feature-art,.fs-banner-art,.fs-card-art,.fs-more-art,.ai-avdi119-sprite,#ar-agandar-guest:not([data-simple-manual="true"]),#ar-avdi-companion:not([data-simple-manual="true"]),#ar-azeroth-cameo:not([data-simple-manual="true"]),#ar-avdi-cage-art,.ar-avdi-cage-art,.ar-avdi-cage-bird,.ar-avdi-shiny img,.ar-avdi-collection img){display:none!important}
 html[data-ar-theme="simple"] :is(.ar-library-hero,.reading-tool-header,.fs-banner,.people-banner,.featured-card,.context-feature,.fs-card,.tool-card,.ar-route-group>summary,.foundation-card,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies,#ar-explore-disclosure,#ar-shelf-disclosure,#dashboard-message56,#dashboard-overview57,.welcome-help56)::before,
 html[data-ar-theme="simple"] :is(.ar-library-hero,.reading-tool-header,.fs-banner,.people-banner,.featured-card,.context-feature,.fs-card,.tool-card,.ar-route-group>summary,.foundation-card,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies,#ar-explore-disclosure,#ar-shelf-disclosure,#dashboard-message56,#dashboard-overview57,.welcome-help56)::after{content:none!important;display:none!important}
 html[data-ar-theme="simple"] :is(#workspace,#sidebar,.app-shell,#ar-embed-scroll,.workspace-panel,#ar-cyber-customize-panel,#ar-theme-menu,.reading-options-body68,#ar-ambience-panel,.ar-select-menu,.study-select-menu,#verse-dialog,#study-tray-dialog,dialog){background-color:var(--simple-base)!important;color:var(--simple-ink)!important;clip-path:none!important;border-radius:3px!important}
 html[data-ar-theme="simple"] #workspace{padding:20px!important}
 html[data-ar-theme="simple"] #sidebar{padding:18px 14px!important}
 html[data-ar-theme="simple"] :is(.ar-library-hero,.reading-tool-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies){position:relative!important;min-height:0!important;height:auto!important;aspect-ratio:auto!important;padding:18px!important;border:1px solid var(--simple-line-quiet)!important;border-radius:3px!important;background-color:var(--simple-banner)!important;clip-path:none!important;text-align:left!important}
 html[data-ar-theme="simple"] #ar-library-hero{align-items:stretch!important;margin:14px auto 20px!important;max-width:1180px!important}
 html[data-ar-theme="simple"] #ar-library-title{font:600 clamp(1.65rem,3vw,2.25rem)/1.2 system-ui,sans-serif!important;letter-spacing:0!important}
 html[data-ar-theme="simple"] .ar-library-tagline{margin:0!important;font-size:1rem!important;max-width:none!important}
 html[data-ar-theme="simple"] #ar-library-hero .ar-library-shortcuts{justify-content:flex-start!important;margin-top:12px!important}
 html[data-ar-theme="simple"] #ar-library-hero #search-form{width:100%!important;max-width:none!important;margin:16px 0 0!important;padding:0!important;border:0!important;gap:8px!important}
 html[data-ar-theme="simple"] :is(h1,h2,h3,h4,h5,h6,legend){color:var(--simple-ink)!important}
 html[data-ar-theme="simple"] :is(.eyebrow,.fs-card-meta,.section-kicker){color:var(--simple-muted)!important}
 html[data-ar-theme="simple"] :is(.fs-card,.featured-card,.foundation-card,.tool-card,.context-feature,.reading-card,.history-card,.timeline-card,.evidence-card,.library-card,.question-card,.foundation-section,.reading-console,.topical-search-box){min-height:0!important;border:1px solid var(--simple-line-quiet)!important;border-radius:3px!important;clip-path:none!important;background-color:var(--simple-panel)!important;padding:16px!important}
 html[data-ar-theme="simple"] :is(button,input,select,textarea,option,optgroup,.ar-select-menu,.study-select-menu){background-color:var(--simple-panel)!important;color:var(--simple-ink)!important;border-radius:3px!important;clip-path:none!important}
 html[data-ar-theme="simple"] :is(input,select,textarea){border:1px solid var(--simple-line-quiet)!important}
 html[data-ar-theme="simple"] :is(input,textarea)::placeholder{color:var(--simple-muted)!important;opacity:1!important}
 html[data-ar-theme="simple"] :is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid var(--simple-accent)!important;outline-offset:3px!important}
 html[data-ar-theme="simple"] :is(button,summary):hover,html[data-ar-theme="simple"] #ar-theme-menu [aria-checked="true"]{background-color:var(--simple-banner)!important;text-decoration:underline!important;text-underline-offset:3px!important}
 html[data-ar-theme="simple"] :is(.tree-item.active,[aria-current="page"],[aria-selected="true"]){border-left:3px solid var(--simple-accent)!important;background-color:var(--simple-banner)!important;font-weight:700!important}
 html[data-ar-theme="simple"] a{text-decoration:underline!important;text-underline-offset:3px}
 html[data-ar-theme="simple"] :is(.gold-button,#search-form>button[type="submit"]){background-color:var(--simple-accent)!important;color:var(--simple-on-accent)!important;border:1px solid var(--simple-accent)!important}
 html[data-ar-theme="simple"] :is(.words-of-jesus,.red-letter){color:var(--simple-jesus)!important}
 /* Two named style controls keep the existing radio/keyboard behavior. Explicit visibility defeats the old
    non-Cyber reset-only panel rule without revealing any hidden theme groups. */
 html[data-ar-theme="simple"] #ar-cyber-customize-panel > #ar-simple-palette:not([hidden]){display:block!important}
 html[data-ar-theme="simple"] #ar-simple-palette .ar-color-options{display:flex!important;flex-wrap:wrap!important;gap:9px!important;padding:4px!important}
 html[data-ar-theme="simple"] #ar-simple-palette [data-ar-color-choice]{display:inline-grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center!important;gap:4px!important;flex:1 1 90px!important;width:auto!important;min-width:90px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px 12px!important;font:600 13px/1.3 system-ui,sans-serif!important;border:1px solid var(--simple-line-quiet)!important;border-radius:3px!important;background-color:var(--swatch)!important;color:var(--swatch-ink)!important;cursor:pointer!important}
 html[data-ar-theme="simple"] #ar-simple-palette .ar-simple-swatch-check{grid-column:1;grid-row:1;justify-self:end;width:15px!important;visibility:hidden!important;font:700 15px/1 system-ui,sans-serif!important;color:var(--swatch-ink)!important}
 html[data-ar-theme="simple"] #ar-simple-palette [aria-checked="true"]{outline:2px solid var(--simple-ink)!important;outline-offset:2px!important}
 html[data-ar-theme="simple"] #ar-simple-palette [aria-checked="true"] .ar-simple-swatch-check{visibility:visible!important}
 html[data-ar-theme="simple"] #ar-simple-palette [data-ar-color-choice]:focus-visible{outline:3px solid var(--simple-accent)!important;outline-offset:3px!important}
 @media(pointer:coarse){html[data-ar-theme="simple"] #ar-simple-palette [data-ar-color-choice]{height:44px!important;min-height:44px!important}}
 @media(forced-colors:active){html[data-ar-theme="simple"] #ar-simple-palette [data-ar-color-choice]{border-color:CanvasText!important}html[data-ar-theme="simple"] #ar-simple-palette [aria-checked="true"]{outline-color:Highlight!important}}
 html[data-ar-theme="simple"] :is(#ar-normal-accent,#ar-color-background,#ar-cyber-accent-label,#ar-cyber-palette,#ar-cyber-art-controls,#ar-cyber-art-brightness-row,#ar-cyber-layer-settings,#ar-cyber-multicolor-row){display:none!important}
 html[data-ar-theme="simple"] .ar-beta-ticker-track{display:block!important;width:100%!important;transform:none!important}
 html[data-ar-theme="simple"] :is(.ar-beta-notice-copy,.ar-beta-pause){display:none!important}
 html[data-ar-theme="simple"] .ar-beta-ticker-viewport{overflow:visible!important;height:auto!important;min-height:0!important;mask:none!important;-webkit-mask:none!important}
 html[data-ar-theme="simple"] .ar-beta-notice-original{position:static!important;white-space:normal!important;transform:none!important;padding:0!important;margin:0!important;max-width:100%!important}
 html[data-ar-theme="simple"] #ar-explorer-beta-banner{height:auto!important;min-height:0!important;max-height:none!important;padding:8px 10px!important;overflow:visible!important}
 html[data-ar-theme="simple"] #ar-explorer-startup-cover{background:var(--simple-base)!important;color:var(--simple-ink)!important}
 html[data-ar-theme="simple"] #ar-explorer-startup-cover::before,html[data-ar-theme="simple"] #ar-explorer-startup-cover::after{content:none!important;display:none!important;background:none!important}
 html[data-ar-theme="simple"] #ar-explorer-startup-cover .ar-startup-label{font-family:system-ui,sans-serif!important}
 @media(max-width:650px){html[data-ar-theme="simple"] #workspace{padding:14px!important}html[data-ar-theme="simple"] #sidebar{padding:12px!important}html[data-ar-theme="simple"] #ar-library-hero{padding:14px!important}}
 @media(forced-colors:active){html[data-ar-theme="simple"],html[data-ar-theme="simple"][data-ar-simple-palette]{--simple-base:Canvas;--simple-panel:Canvas;--simple-banner:Canvas;--simple-ink:CanvasText;--simple-muted:CanvasText;--simple-accent:LinkText;--simple-line:CanvasText;--simple-jesus:CanvasText;--simple-on-accent:Canvas;color-scheme:light dark!important;background:Canvas!important}}
}

.ar-simple-quest-label{display:none}
@layer ar-simple {html[data-ar-theme="simple"] .ar-simple-quest-label{display:inline!important}html[data-ar-theme="simple"] :is(.ar-avdi-caged-body,#ar-avdi-pet,.fs-card-art,.fs-banner-art,.section-art-header>svg,.featured-art,.context-feature-art){display:none!important}html[data-ar-theme="simple"] :is(.ar-avdi-pickup,.ar-avdi-shiny){width:auto!important;max-width:100%!important;height:auto!important;padding:8px!important;min-height:40px!important}html[data-ar-theme="simple"] .ar-avdi-pickup-perch{position:static!important;inset:auto!important;width:auto!important;height:auto!important;transform:none!important}html[data-ar-theme="simple"] body[data-reading-font="styled"] :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,button,summary,label,input,select,textarea){font-family:system-ui,sans-serif!important}html[data-ar-theme="simple"] body[data-reading-font="styled"] :is([lang="he"],[lang="el"],[lang="grc"],[lang="arc"],.tanakh-text-he){font-family:serif!important}}

/* R16 geometry: replace the illustrated frame, not just its picture treatment.
   All declarations are Simple-only and are removed by the existing theme switch.
   The first important layer defeats the packed historical layout consistently. */
@layer ar-simple {
 html[data-ar-theme="simple"] body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important}
 html[data-ar-theme="simple"] :is(.app-shell,#workspace,#sidebar){box-sizing:border-box!important}
 html[data-ar-theme="simple"] .app-shell{width:100%!important;max-width:1600px!important;margin:0 auto!important;grid-template-columns:248px minmax(0,1fr)!important;gap:0!important;border:0!important}
 html[data-ar-theme="simple"] #workspace{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:20px 24px 40px!important}
 html[data-ar-theme="simple"] #workspace > :is(.workspace-top,.workspace-panel,#ar-library-hero,#search-form,#ar-current-place-bar){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
 html[data-ar-theme="simple"] #workspace > .workspace-panel{margin-top:20px!important;padding:0!important;border:0!important;border-radius:0!important}
 html[data-ar-theme="simple"] #workspace > .workspace-top{gap:12px!important;margin:0 0 16px!important;padding:0!important;align-items:center!important;flex-wrap:wrap!important}
 html[data-ar-theme="simple"] #workspace #ar-workspace-actions{gap:8px!important;margin-left:auto!important;flex-wrap:wrap!important;max-width:100%!important}
 html[data-ar-theme="simple"] #ar-explorer-beta-banner{flex:1 1 260px!important;max-width:none!important;border:0!important;font:400 12px/1.5 system-ui,sans-serif!important}
 html[data-ar-theme="simple"] #sidebar{padding:16px 14px 24px!important;width:auto!important;min-width:0!important;max-width:none!important;border:0!important;border-right:1px solid var(--simple-line-quiet)!important;border-radius:0!important}
 html[data-ar-theme="simple"] #sidebar > .sidebar-heading{display:block!important;position:static!important;transform:none!important;margin:0 0 12px!important;padding:0!important;text-align:left!important}
 html[data-ar-theme="simple"] #sidebar > .sidebar-heading > .eyebrow{display:block!important;position:static!important;margin:0 0 4px!important;padding:0!important;font:400 12px/1.4 system-ui,sans-serif!important;text-transform:none!important;letter-spacing:.02em!important;text-align:left!important;color:var(--simple-muted)!important}
 html[data-ar-theme="simple"] #sidebar > .sidebar-heading > h1{margin:0 0 14px!important;padding:0!important;font-size:21px!important;font-weight:650!important;line-height:1.3!important;text-align:left!important;letter-spacing:0!important}
 html[data-ar-theme="simple"] #sidebar .visit-navigation{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0 0 6px!important}
 html[data-ar-theme="simple"] #sidebar :is(#visit-back,#visit-forward,#explorer-dashboard,#close-all67){min-width:0!important;min-height:40px!important;padding:8px!important;margin:0 0 6px!important;border:1px solid var(--simple-line-quiet)!important;border-radius:5px!important;font-size:13px!important;line-height:1.4!important}
 html[data-ar-theme="simple"] #study-tree{margin:0!important;padding:0!important;gap:4px!important}
 html[data-ar-theme="simple"] #study-tree > .tree-group{margin:0 0 4px!important;padding:0!important;border:0!important}
 html[data-ar-theme="simple"] #study-tree > .tree-group > summary{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;margin:0!important;padding:10px!important;border:0!important;border-radius:5px!important;background-color:var(--simple-panel)!important;font-size:13px!important;font-weight:600!important;line-height:1.45!important;text-align:left!important}
 html[data-ar-theme="simple"] #study-tree > .tree-group[open] > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #study-tree :is(.tree-item,.tree-branch > summary){padding:9px 10px!important;min-height:40px!important;border-radius:4px!important;font-size:13px!important;line-height:1.45!important}
 html[data-ar-theme="simple"] #study-tree .tree-section-icon{width:20px!important;height:20px!important;flex:0 0 20px!important;color:var(--simple-accent)!important}
 html[data-ar-theme="simple"] #study-tree .tree-section-icon svg{width:20px!important;height:20px!important}
 html[data-ar-theme="simple"] #study-tree .tree-section-icon svg [stroke]:not([stroke="none"]){stroke:currentColor!important}
 html[data-ar-theme="simple"] #study-tree .ai-entry67{margin-top:12px!important;padding:12px 10px!important;border-radius:5px!important;font-size:13px!important}
 html[data-ar-theme="simple"] #sidebar .sidebar-bottom{padding:12px 0!important;font-size:12px!important;line-height:1.6!important}
 /* The shared website runner owns header geometry and typography in every theme. */
 /* Quiet neutral sections replace the art in both Simple styles. */
 html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies,.ar-route-group>summary){box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important;position:relative!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;margin:0 0 16px!important;padding:20px!important;border:0!important;border-radius:7px!important;background-color:var(--simple-banner)!important;text-align:left!important;overflow:visible!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies) > :not(img){max-width:100%!important;margin-left:0!important;margin-right:0!important;text-align:left!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies) :is(h1,h2,h3,h4,p){margin-top:0!important;margin-bottom:0!important;text-align:left!important;letter-spacing:0!important}
 html[data-ar-theme="simple"] #workspace :is(.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro) :is(h2,h3){font-size:clamp(1.35rem,2.4vw,1.75rem)!important;line-height:1.3!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.section-art-header,.ar-route-group>summary)::before,html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.section-art-header,.ar-route-group>summary)::after{display:none!important;content:none!important}
 html[data-ar-theme="simple"] #workspace #ar-library-hero{display:block!important;margin:0 0 20px!important;padding:22px!important}
 html[data-ar-theme="simple"] #ar-library-title{margin:0 0 8px!important;font-family:system-ui,sans-serif!important;font-size:30px!important;line-height:1.25!important;color:var(--simple-ink)!important}
 html[data-ar-theme="simple"] #ar-library-hero .ar-library-tagline{font-size:15px!important;line-height:1.6!important}
 html[data-ar-theme="simple"] #ar-library-hero .ar-library-tagline > span{display:inline!important}
 html[data-ar-theme="simple"] #ar-library-hero #search-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:0!important;margin:16px 0 0!important;padding:0!important;border:0!important}
 html[data-ar-theme="simple"] #ar-library-hero #search-form #global-query{min-width:0!important;width:100%!important;min-height:46px!important;padding:11px 12px 11px 42px!important;font-size:16px!important;border-radius:5px!important}
 html[data-ar-theme="simple"] #ar-library-hero #search-form .explorer-search-label{left:13px!important;top:13px!important}
 html[data-ar-theme="simple"] #ar-library-hero #search-form > button{min-width:86px!important;min-height:46px!important;padding:11px 16px!important;font-size:14px!important;border-radius:5px!important}
 html[data-ar-theme="simple"] #ar-library-hero .ar-library-shortcuts{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:8px!important;margin:14px 0 0!important}
 html[data-ar-theme="simple"] #ar-library-hero .ar-library-shortcuts > button{padding:8px 10px!important;min-height:40px!important;border:1px solid var(--simple-line-quiet)!important;border-radius:5px!important;font-size:13px!important;line-height:1.4!important}
 /* Compact disclosures, cards and article spacing. The existing controls survive. */
 html[data-ar-theme="simple"] #workspace :is(#ar-study-shelf,#ar-explore-disclosure,#dashboard-overview57,#dashboard-message56,.welcome-help56){margin:0 0 16px!important;padding:0!important;border:1px solid var(--simple-line-quiet)!important;border-radius:7px!important;background-color:var(--simple-panel)!important;overflow:hidden!important}
 html[data-ar-theme="simple"] #workspace #ar-shelf-disclosure{margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
 html[data-ar-theme="simple"] #workspace :is(#ar-shelf-disclosure,#ar-explore-disclosure,#dashboard-overview57,#dashboard-message56,.welcome-help56) > summary{display:flex!important;align-items:center!important;gap:12px!important;min-height:64px!important;margin:0!important;padding:16px 18px!important;border:0!important;border-radius:0!important;background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace #ar-explore-disclosure > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace :is(#dashboard-overview57,#dashboard-message56,.welcome-help56) > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-dashboard-icon,.overview57-icon,.message56-icon){width:28px!important;height:28px!important;min-width:28px!important;padding:0!important;border:0!important;border-radius:0!important;flex:0 0 28px!important}
 html[data-ar-theme="simple"] #workspace .ar-dashboard-disclosure-copy{min-width:0!important;flex:1!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-dashboard-disclosure-copy strong,.ar-dashboard-disclosure-copy h2,.ar-dashboard-disclosure-copy h3,.overview57-title,.message56-title){font-size:18px!important;line-height:1.4!important;font-weight:600!important}
 html[data-ar-theme="simple"] #workspace .ar-dashboard-disclosure-copy small{font-size:13px!important;line-height:1.5!important}
 html[data-ar-theme="simple"] #workspace :is(#ar-highlights-panel > summary,#ar-continue){padding:14px 18px!important;min-height:0!important;margin:0!important;border-radius:0!important}
 html[data-ar-theme="simple"] #workspace #ar-continue p{font-size:14px!important;line-height:1.6!important;margin:0!important}
 html[data-ar-theme="simple"] #workspace :is(#ar-shelf-body,#ar-highlights-body,#ar-discovery){padding:16px 18px!important}
 html[data-ar-theme="simple"] #workspace .ar-route-group > summary{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:14px 16px!important;margin:0!important;border:1px solid var(--simple-line-quiet)!important;border-radius:5px!important;text-align:left!important}
 html[data-ar-theme="simple"] #workspace .ar-route-group[data-route-group="evidence"] > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace .ar-route-group[data-route-group="question"] > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace .ar-route-group[data-route-group="prophecy"] > summary{background-color:var(--simple-banner)!important}
 html[data-ar-theme="simple"] #workspace .ar-route-copy{flex:1!important;min-width:0!important;margin:0!important;text-align:left!important}
 html[data-ar-theme="simple"] #workspace .ar-route-number{flex:0 0 24px!important;width:24px!important;height:24px!important;margin:0!important}
 html[data-ar-theme="simple"] #workspace .ar-route-chevron{position:static!important;flex:0 0 20px!important;margin:0!important;width:20px!important;height:20px!important}
 html[data-ar-theme="simple"] #workspace :is(.ar-route-copy strong,.ar-route-copy small){text-align:left!important;font-size:14px!important;line-height:1.55!important}
 html[data-ar-theme="simple"] #workspace :is(.tool-card,.featured-card,.context-feature,.fs-card,.foundation-card){box-sizing:border-box!important;min-height:0!important;border-radius:7px!important;padding:18px!important;gap:10px!important;text-align:left!important;align-items:flex-start!important;justify-content:flex-start!important}
 html[data-ar-theme="simple"] #workspace :is(.tool-card,.featured-card,.context-feature,.fs-card,.foundation-card) :is(.card-title,.card-description,.card-meta,h3,p){text-align:left!important;margin-left:0!important;margin-right:0!important;justify-content:flex-start!important}
 html[data-ar-theme="simple"] #workspace :is(.tool-card,.featured-card,.context-feature,.fs-card,.foundation-card) :is(.card-title,h3){font-size:20px!important;line-height:1.4!important}
 html[data-ar-theme="simple"] #workspace :is(.fs-card-grid,.featured-grid,.library-grid,.tool-grid,.ar-route-grid){gap:16px!important}
 html[data-ar-theme="simple"] #workspace :is(.fs-lesson-body,.cp53-chapter-body,.topics-disclosure-body){padding:20px!important}
 html[data-ar-theme="simple"] #workspace :is(p,li){line-height:1.7}
 html[data-ar-theme="simple"] :is(button,summary){text-transform:none!important;letter-spacing:0!important}
 html[data-ar-theme="simple"] button:disabled{opacity:.65!important;cursor:not-allowed!important}
 html[data-ar-theme="simple"] :is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid var(--simple-accent)!important;outline-offset:3px!important}
 /* Selected accessibility fonts keep their original priority for actual content. */
 html[data-ar-theme="simple"] body[data-reading-font="styled"] :is(h1,h2,h3,h4,h5,h6,.card-title,.ar-route-copy,.ar-dashboard-disclosure-copy,.eyebrow,.section-kicker){font-family:system-ui,sans-serif!important;font-style:normal!important;letter-spacing:0!important}
 @media(min-width:901px){html[data-ar-theme="simple"] .app-shell{display:grid!important}html[data-ar-theme="simple"] body.focus-mode .app-shell{grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:900px){html[data-ar-theme="simple"] .app-shell{display:flex!important;flex-direction:column!important;max-width:none!important}html[data-ar-theme="simple"] #sidebar{border-right:0!important;border-bottom:1px solid var(--simple-line-quiet)!important}html[data-ar-theme="simple"] #workspace{padding:16px!important}html[data-ar-theme="simple"] #workspace > .workspace-panel{margin-top:16px!important}}
 @media(max-width:500px){html[data-ar-theme="simple"] #workspace #ar-library-hero{padding:16px!important}html[data-ar-theme="simple"] #ar-library-title{font-size:26px!important}html[data-ar-theme="simple"] #ar-library-hero #search-form{grid-template-columns:minmax(0,1fr)!important}html[data-ar-theme="simple"] #ar-library-hero #search-form>button{width:100%!important}html[data-ar-theme="simple"] #ar-library-hero .ar-library-shortcuts>button{flex:1 1 130px!important}html[data-ar-theme="simple"] #workspace #ar-workspace-actions{justify-content:flex-start!important;margin-left:0!important}html[data-ar-theme="simple"] #workspace :is(.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header){padding:16px!important}}
 @media(forced-colors:active){html[data-ar-theme="simple"],html[data-ar-theme="simple"][data-ar-simple-palette]{--simple-reading:Canvas;--simple-hover:Canvas;--simple-selected:Canvas;--simple-line-quiet:CanvasText;--simple-header:Canvas;--simple-header-hover:Highlight;--simple-header-selected:Highlight;--simple-header-ink:CanvasText}html[data-ar-theme="simple"] #workspace :is(.ar-library-hero,.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.ar-route-group>summary){border:1px solid CanvasText!important}}
}
@layer ar-simple {
 /* Presentation never reopens an application-owned closed/hidden view. */
 html[data-ar-theme="simple"] body :is(#workspace,#sidebar,#ar-site-header) [hidden],html[data-ar-theme="simple"] #workspace > #ar-library-hero[hidden]{display:none!important}
}

/* Explicitly requested companions stay stationary; the surrounding reader stays Simple. */
@layer ar-simple {
 html[data-ar-theme="simple"] #ar-companion-menu,html[data-ar-theme="simple"] #ar-companion-dock-status{background-color:var(--simple-panel)!important;color:var(--simple-ink)!important;border-color:var(--simple-line)!important}
 html[data-ar-theme="simple"] #ar-companion-menu .ar-companion-menu-art{display:none!important}
 html[data-ar-theme="simple"] #ar-avdi-companion[data-simple-manual="true"] .ar-avdi-sprite{background-image:url('/assets/avdi-cage-v17/avdi-poses-v18-2x.webp?v=c3d8e74da076fb91')!important}
 html[data-ar-theme="simple"] :is(#ar-agandar-guest,#ar-avdi-companion,#ar-azeroth-cameo,#ar-website-sheep)[data-simple-manual="true"] :is(.ar-agandar-stage,#ar-avdi-companion-pet,#ar-azeroth-control,.ar-website-sheep-talk){background-color:transparent!important}
 html[data-ar-theme="simple"] :is(#ar-agandar-dialogue,#ar-azeroth-bubble,#ar-website-sheep-bubble){background-color:var(--simple-panel)!important;color:var(--simple-ink)!important}
}

/* R18 surface and interaction roles. Structure, content and reading preferences stay intact. */
@layer ar-simple {
 html[data-ar-theme="simple"] :is(#ar-cyber-customize-panel,#ar-theme-menu,.reading-options-body68,#ar-ambience-panel,#verse-dialog,#study-tray-dialog,dialog){background-color:var(--simple-panel)!important;border:1px solid var(--simple-line-quiet)!important}
 html[data-ar-theme="simple"] :is(.reading-card,.reading-console,.fs-lesson-body,.cp53-chapter-body,.topics-disclosure-body){background-color:var(--simple-reading)!important}
 html[data-ar-theme="simple"] :is(.fs-card,.featured-card,.foundation-card,.tool-card,.context-feature,.reading-card,.history-card,.timeline-card,.evidence-card,.library-card,.question-card,.foundation-section,.reading-console,.topical-search-box){border-color:var(--simple-line-quiet)!important}
 html[data-ar-theme="simple"] :is(button,input,select,textarea,.ar-select-menu,.study-select-menu){border-color:var(--simple-line)!important}
 html[data-ar-theme="simple"] :is(button,summary):hover{background-color:var(--simple-hover)!important}
 html[data-ar-theme="simple"] :is(.tree-item.active,[aria-current="page"],[aria-selected="true"]),html[data-ar-theme="simple"] #ar-theme-menu [aria-checked="true"],html[data-ar-theme="simple"] #study-tree > .tree-group[open] > summary{background-color:var(--simple-selected)!important;color:var(--simple-ink)!important}
 html[data-ar-theme="simple"] #study-tree :is(.tree-item,.tree-branch > summary):hover,html[data-ar-theme="simple"] #study-tree > .tree-group > summary:hover{background-color:var(--simple-hover)!important}
 html[data-ar-theme="simple"] :is(a,.tree-section-icon){color:var(--simple-accent)!important}
 html[data-ar-theme="simple"] :is(.gold-button,#search-form>button[type="submit"]):hover{border-color:var(--simple-accent)!important;background-color:var(--simple-accent)!important;color:var(--simple-on-accent)!important;text-decoration:underline!important}
 html[data-ar-theme="simple"] #ar-site-header{background-color:var(--simple-header)!important;color:var(--simple-header-ink)!important;border-bottom-color:var(--simple-header)!important}
 html[data-ar-theme="simple"] #ar-site-header :is(a,.ar-site-brand-title,.ar-site-brand-subtitle,.ar-site-brand-home,.ar-site-nav-item){color:var(--simple-header-ink)!important}
 html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > [aria-current="page"]{background-color:var(--simple-header-selected)!important;border-color:var(--simple-header-ink)!important;color:var(--simple-header-ink)!important}
 html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > a:hover,html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > [aria-current="page"]:hover{background-color:var(--simple-header-hover)!important;color:var(--simple-header-ink)!important}
 html[data-ar-theme="simple"] #ar-site-header :is(a,button):focus-visible{outline-color:var(--simple-header-ink)!important}
 html[data-ar-theme="simple"] #ar-simple-palette .ar-simple-style-label{grid-column:2;grid-row:1;text-align:center;color:var(--swatch-ink)!important}
 @media(forced-colors:active){html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > [aria-current="page"],html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > [aria-current="page"]:hover,html[data-ar-theme="simple"] #ar-site-header .ar-site-nav > a:hover{color:HighlightText!important}}
}
@layer ar-simple {
 html[data-ar-theme="simple"] #workspace :is(#ar-shelf-disclosure,#ar-explore-disclosure,#dashboard-overview57,#dashboard-message56,.welcome-help56,.ar-route-group) > summary:hover{background-color:var(--simple-hover)!important}
 html[data-ar-theme="simple"] #ar-simple-palette [data-ar-color-choice]{border-color:var(--simple-line)!important}
}

/* R28 Simple panel hierarchy: flat neutral surfaces, visible dividers, no new art.
   Stay in Simple's first important layer so custom Default/Cyber colors cannot
   flatten these roles. Forced-colors keeps the existing system-color treatment. */
@media (forced-colors:none) {
 @layer ar-simple {
  html[data-ar-theme="simple"] {
   --simple-panel:#2b2b2b;
   --simple-banner:#383838;
   --simple-reading:#242424;
   --simple-line-quiet:#696969;
   --simple-panel-hero:#303030;
   --simple-panel-inset:#232323;
   --simple-panel-sidebar:#242424;
  }
  html[data-ar-theme="simple"][data-ar-simple-palette="light"] {
   --simple-panel:#ffffff;
   --simple-banner:#e7e0d2;
   --simple-reading:#ffffff;
   --simple-line-quiet:#a29682;
   --simple-panel-hero:#e3dbcd;
   --simple-panel-inset:#f2eee5;
   --simple-panel-sidebar:#eee9de;
  }
  html[data-ar-theme="simple"] body #sidebar {
   background-color:var(--simple-panel-sidebar)!important;
  }
  html[data-ar-theme="simple"] #workspace #ar-library-hero {
   background-color:var(--simple-panel-hero)!important;
   border:1px solid var(--simple-line-quiet)!important;
  }
  html[data-ar-theme="simple"] #workspace :is(.reading-tool-header,.section-art-header,.fs-banner,.people-banner,.ar-library-detail-header,.debate-study-header,.ar-evidence-intro,.ar-credibility-intro,.hard-questions-intro,.dashboard-featured-studies) {
   border:1px solid var(--simple-line-quiet)!important;
  }
  html[data-ar-theme="simple"] #workspace :is(#ar-shelf-disclosure,#ar-explore-disclosure,#dashboard-overview57,#dashboard-message56,.welcome-help56)[open] > summary {
   border-bottom:1px solid var(--simple-line-quiet)!important;
  }
  html[data-ar-theme="simple"] #workspace :is(#ar-shelf-body,#ar-highlights-body,#ar-discovery) {
   background-color:var(--simple-panel-inset)!important;
  }
  html[data-ar-theme="simple"] #workspace #ar-continue {
   background-color:var(--simple-panel)!important;
   border-top:1px solid var(--simple-line-quiet)!important;
  }
  html[data-ar-theme="simple"] #workspace #ar-highlights-panel > summary {
   background-color:var(--simple-reading)!important;
  }
  html[data-ar-theme="simple"] #workspace #ar-highlights-panel > summary:hover {
   background-color:var(--simple-hover)!important;
  }
  html[data-ar-theme="simple"] #study-tree > .tree-group > summary {
   border:1px solid var(--simple-line-quiet)!important;
  }
 }
}

/* R29: Simple changes the runner colors, never its shared brand/tab layout.
   Header-local tokens override the older black-only first-paint palette.
   Shared navigation keeps its desktop grid and existing mobile breakpoints;
   the approved Simple workspace/panel rules above remain unchanged. */
@layer ar-simple {
 html[data-ar-theme="simple"] body #ar-site-header[data-ar-nav-page="explorer"] .ar-site-nav > .ar-site-nav-item {
  border-radius:2px!important;
  font-weight:revert-layer!important;
  text-decoration:none!important;
 }
 html[data-ar-theme="simple"] body #ar-site-header[data-ar-nav-page="explorer"] .ar-site-brand-home {
  text-decoration:none!important;
 }
 @media (forced-colors:none) {
  html[data-ar-theme="simple"] body #ar-site-header[data-ar-nav-page="explorer"] {
   --simple-header:#373737!important;
   --simple-header-ink:#ffffff!important;
   --simple-header-selected:#252525!important;
   --simple-header-hover:#494949!important;
   background:var(--simple-header)!important;
   border:0!important;
   border-radius:0!important;
  }
  html[data-ar-theme="simple"][data-ar-simple-palette="light"] body #ar-site-header[data-ar-nav-page="explorer"] {
   --simple-header:#5e492e!important;
   --simple-header-ink:#ffffff!important;
   --simple-header-selected:#463721!important;
   --simple-header-hover:#775a35!important;
  }
 }
}
