/* Deliberately styled surfaces; photography and exported quote cards retain their colors. */
:root{color-scheme:light}
.appearance-options{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;margin:20px 0}.appearance-options legend{font-weight:700;margin-bottom:14px}.appearance-option{display:flex;align-items:center;gap:10px;border:1px solid #a89cb8;border-radius:12px;padding:16px 20px;cursor:pointer}.appearance-option:has(input:checked){outline:2px solid #785393;outline-offset:2px}.appearance-option input{width:18px;height:18px;accent-color:#785393}.icon-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:24px 0}.icon-option img{display:block;width:100px;height:100px;border-radius:22px;margin:0 0 18px;border:1px solid #a89cb8}.icon-option h3{margin:10px 0}.appearance-help{max-width:750px;line-height:1.8}.appearance-help p{margin:16px 0}.appearance-help h2{font:32px Georgia,serif;margin-top:35px}
html[data-theme=dark]{color-scheme:dark;background:#19141f}
html[data-theme=dark] body{background:#19141f;color:#f0e7f5}
html[data-theme=dark] ::selection{background:#654879;color:#fff}
html[data-theme=dark] :is(a,button,input,select,textarea):focus-visible{outline-color:#d6b0f4}
html[data-theme=dark] :is(.header,.footer,.principles,.collection,.philosophy,.article-tools,.saved-item,.toc,.start-here details,.annotation-card,#profile-form){border-color:#615269}
html[data-theme=dark] :is(.article-card,.serif-quote){border-color:#bba0d0}
html[data-theme=dark] :is(.hero h1 em,.philosophy h2 em){color:#cfadeb}
html[data-theme=dark] :is(.hero .intro,.section-head p,.card-label,.article-card p,.collection .num,.collection small,.philosophy p,.footer small,.page-intro p,.toc a,.article-top .subtitle,.saved-item p,.notice,.verse-note,.verse sup,.annotation-guide){color:#c6b9d0}
html[data-theme=dark] :is(.reading-body){color:#e5dce9}
html[data-theme=dark] :is(.reading-body h2,.reading-body h3,.start-here,.annotation-close){color:#f0e7f5}
html[data-theme=dark] .reading-body a{color:#d5b5ed}
html[data-theme=dark] :is(.context-card,.article-end,.reader-controls,.start-here,.quote-preview){background:#302439;color:#f0e7f5}
html[data-theme=dark] .context-card{box-shadow:12px 12px 0 #211a29}
html[data-theme=dark] :is(.context-card .card-top,.tabs){border-color:#75617f}
html[data-theme=dark] .tabs button[aria-selected=true]{border-color:#d5b5ed}
html[data-theme=dark] .number-art{background:#35293e}
html[data-theme=dark] .article-card:nth-child(2) .number-art{background:#2d322b}
html[data-theme=dark] .article-card:nth-child(3) .number-art{background:#3b2c2c}
html[data-theme=dark] :is(.nav .desk-link,.filter-row button,.article-tools button,.chapter-nav button,.empty){border-color:#9a83ab}
html[data-theme=dark] .pill.light{color:#eee2f7;border-color:#9a83ab}
html[data-theme=dark] .text-link{border-color:#a58aba}
html[data-theme=dark] :is(.skip,.nav,.dialog,.annotation-dialog,.reader-nudge,#support-invitation){background:#241c2d;color:#f0e7f5;border-color:#8e749f}
html[data-theme=dark] :is(.search-input,.article-end textarea,.reader-controls select,.select-trigger,.select-options,.annotation-dialog textarea,#annotation-passages,.reader-controls .reader-action,#account-app input,#profile-form input,#profile-form select,.support-picker input,.support-frequency button,.support-amounts button){background:#201926;color:#f0e7f5;border-color:#8e749f}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#b8a9c3;opacity:1}
html[data-theme=dark] .select-options [role=option][aria-selected=true]{background:#493452}
html[data-theme=dark] .select-options [role=option].option-active{background:#553e63;outline-color:#c5a3dd}
html[data-theme=dark] .reader-controls .reader-action:hover{background:#493452;border-color:#c5a3dd}
html[data-theme=dark] :is(.verse.highlight,.saved-highlight){background:#50365e;color:#fff2fc}
html[data-theme=dark] .verse .verse-annotate{background:#302439;color:#d6b0f4;border-color:#ac8cbd}
html[data-theme=dark] :is(.verse:hover .verse-annotate,.verse:focus-within .verse-annotate){background:#493452}
html[data-theme=dark] :is(.annotation-dialog blockquote,.annotation-card blockquote,#desk-annotations blockquote){background:#392b45;border-color:#c29edb}
html[data-theme=dark] .quote-formats button{color:#f0e7f5;border-color:#a58aba}
html[data-theme=dark] .quote-formats [aria-pressed=true]{background:#50365e;color:#fff}
html[data-theme=dark] #passage-error{color:#ffb2c8}
html[data-theme=dark] .desk-surface{background-color:#211923;background-image:linear-gradient(110deg,#30212c,#211923 48%,#2a202e)}
html[data-theme=dark] :is(.desk-intro,.desk-paper){background:#241c2d;border-top-color:#80658f;color:#f0e7f5}
html[data-theme=dark] .desk-paper .empty{background:#302439}
html[data-theme=dark] .desk-surface .desk-paper>.notice{color:#c6b9d0}
html[data-theme=dark] #account-message:not(:empty){background:#392b45;border-color:#c29edb}
html[data-theme=dark] :is(.reader-nudge [data-nudge-note],.reader-nudge [data-nudge-save],.reader-nudge [data-nudge-share]){border-color:#a58aba}
html[data-theme=dark] :is(.support-frequency button[aria-pressed=true],.support-amounts button[aria-pressed=true],.filter-row button.active){background:#50365e;color:#fff;border-color:#bba0d0}
html[data-theme=dark] :is(.appearance-option,.icon-option img){border-color:#a58aba}
html[data-theme=dark] .appearance-option:has(input:checked){outline-color:#d6b0f4}
html[data-theme=dark] .appearance-option input{accent-color:#d6b0f4}
@media(max-width:700px){html[data-theme=dark] .hero .context-card{box-shadow:9px 9px 0 #211a29}.icon-options{gap:16px}.appearance-option{flex:1 1 100px;padding:15px}}

html[data-theme=dark] .reading-body a.pill:not(.light){color:#fff}

#account-app .appearance-option input{display:inline-block;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;border:0;background:transparent}
#settings{margin-bottom:55px;scroll-margin-top:25px}
