:root{--page:#eeeee8;--ink:#29362e;--muted:#6a756d;--surface:#fffef7;--accent:#455f4c;--line:#b6c0b055;--card-bg:#fffef6;--card-ink:#303d32;--card-muted:#62705f;--ribbon:#f1f0e3;--body:Georgia,'Times New Roman',serif;--heading:Georgia,'Times New Roman',serif;--radius:7px}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:16px/1.65 system-ui,sans-serif;transition:background .25s,color .25s}button,select,input,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:6px;padding:10px 15px;background:var(--surface);color:var(--ink);min-height:44px}button:hover{filter:brightness(.97)}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.5;cursor:default}a{color:var(--accent)}[hidden]{display:none!important}.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.masthead{max-width:1510px;margin:auto;padding:25px 45px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:15px;align-items:center;text-decoration:none;color:var(--ink);font:28px/1.25 var(--heading)}.brand-mark{font-size:42px;color:var(--accent)}.brand small{display:block;font:10px/1.5 system-ui;letter-spacing:.17em;color:var(--muted);margin-top:7px}.header-actions{display:flex;gap:9px}.icon-button{padding:8px 13px;font-size:22px}main{max-width:1510px;margin:auto;padding:34px 45px}.desk-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--accent);font-weight:650}h1{font:28px/1.3 var(--heading);margin:6px 0}#file-status{font-size:13px;color:var(--muted);margin:5px 0}.desk-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.theme-label{font-size:11px;letter-spacing:.07em;color:var(--muted)}select{display:block;background:var(--surface);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:10px 33px 10px 12px;font-size:14px;min-height:44px;max-width:100%}.theme-label select{margin-top:4px}.welcome{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:65px;max-width:1000px;margin:40px auto 65px}.welcome-copy h2{font:43px/1.2 var(--heading);font-weight:400;margin:17px 0 24px;letter-spacing:-.03em}.welcome-copy>p{color:var(--muted);max-width:455px}.welcome-actions{display:flex;flex-wrap:wrap;gap:10px;margin:27px 0}.small{font-size:13px!important;color:var(--muted)}.prayer-card{position:relative;isolation:isolate;overflow:hidden;background:var(--card-bg);color:var(--card-ink);border:1px solid var(--card-rule,#9da78d);border-radius:var(--radius);box-shadow:0 6px 20px #10251812,0 1px 3px #10251810;text-align:left;min-height:390px;font-family:var(--body);transition:transform .2s,box-shadow .2s}.prayer-card:before{content:'';position:absolute;inset:0;background:var(--tint);opacity:.065;z-index:-1;pointer-events:none}.card-illustration{position:absolute;inset:0;z-index:-2;background-image:var(--art);background-size:100% 100%;background-position:center;opacity:.77;pointer-events:none}.card-content{padding:43px 39px 38px;position:relative;min-height:390px;display:flex;flex-direction:column}.card-kind{font:10px/1.4 system-ui;letter-spacing:.13em;color:var(--card-muted);text-transform:uppercase;margin-bottom:12px}.prayer-card h2{font:27px/1.2 var(--heading);font-weight:400;margin:0 0 20px;overflow-wrap:anywhere}.prayer-body{font:16px/1.7 var(--body);flex:1;overflow-wrap:anywhere}.prayer-body p{margin:0 0 12px}.prayer-body ul{padding-left:20px;margin:0 0 14px}.prayer-body li{margin:0 0 7px}.scripture-ribbon{margin:23px 0 0;padding:15px 0 0;border-top:1px solid var(--card-rule,#b8c2af);color:var(--card-muted)}.scripture-ribbon>span,.story-label{font:9px/1.5 system-ui;letter-spacing:.16em;font-weight:650}.scripture-ribbon p{font:italic 14px/1.65 var(--body);margin:6px 0}.scripture-ribbon small{font:11px system-ui}.card-story{margin-top:18px;font:13px/1.6 var(--body);color:var(--card-muted)}.card-story p{margin:5px 0}.card-cadence{font:10px system-ui;letter-spacing:.05em;color:var(--card-muted);margin-top:18px;text-transform:uppercase}.sample{transform:rotate(3deg);box-shadow:9px 11px 0 -4px var(--page),10px 12px 0 -4px #8a997766,0 17px 40px #34452a1a}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(295px,1fr));gap:26px;align-items:start}.card-grid .prayer-card{cursor:zoom-in;width:100%;padding:0;min-height:400px;display:block}.card-grid .prayer-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #1025181d}.card-grid .prayer-body{max-height:220px;overflow:hidden;mask-image:linear-gradient(#000 82%,transparent)}.card-grid .card-story{max-height:62px;overflow:hidden}.desk-note{text-align:center;color:var(--muted);font-size:12px;margin:28px 0 0}.empty{text-align:center;padding:80px 0}.empty h2{font:29px var(--heading)}footer{max-width:1510px;margin:0 auto;padding:20px 45px;border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}footer button{font-size:12px;background:none;border:0;min-height:35px;padding:5px}.skip{position:absolute;top:-100px;left:15px;background:var(--surface);padding:10px;z-index:20}.skip:focus{top:10px}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;width:calc(100% - 32px);max-width:610px;padding:28px;max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #0004}dialog::backdrop{background:#122219ae;backdrop-filter:blur(6px)}.dialog-head{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font:29px var(--heading);margin:0}.dialog-head button{border:0;background:none;font-size:25px;padding:0 10px}.check{display:flex;align-items:center;gap:10px;margin:20px 0 4px;font-size:15px}.check input{width:18px;height:18px;accent-color:var(--accent)}dialog p{font-size:14px;color:var(--muted)}.privacy-panel{padding:15px 17px;background:var(--page);border:1px solid var(--line);border-radius:6px;margin:23px 0}.danger{color:#a44949;background:transparent;margin:14px 0 0;border:0;font-size:13px;display:block}#zoom{background:transparent;border:0;border-radius:0;padding:0;width:min(720px,calc(100% - 32px));max-width:none;max-height:95dvh;box-shadow:none;overflow:visible}#zoom::backdrop{background:#09180dd9}.zoom-shell{display:flex;flex-direction:column;max-height:95dvh}.zoom-nav{display:flex;align-items:center;gap:9px;justify-content:center;padding:0 8px 12px;color:#e6eddc;font-size:12px}.zoom-nav button{background:#ffffff13;border-color:#ffffff28;color:#e6eddc;font-size:23px;padding:1px 15px}.zoom-nav button:last-child{margin-left:auto}#zoom-count{margin:0 12px}.zoom-frame{overflow:auto;padding:8px;cursor:zoom-out}.enlarged{cursor:text;min-height:490px}.enlarged .card-content{padding:52px 55px;min-height:490px}.enlarged h2{font-size:36px}.enlarged .prayer-body{font-size:19px;line-height:1.8}.enlarged .scripture-ribbon p{font-size:17px}.enlarged .card-story{font-size:16px}.zoom-hint{font:11px/1.6 system-ui;color:var(--card-muted);margin:22px 0 0}.editor .card-content{padding-top:35px}.editor label{display:block;font:11px/1.5 system-ui;letter-spacing:.05em;color:var(--card-muted);margin:13px 0 5px}.editor input,.editor textarea,.editor select{width:100%;background:color-mix(in srgb,var(--card-bg) 92%,white);color:var(--card-ink);border:1px solid color-mix(in srgb,var(--card-muted) 40%,transparent);border-radius:4px;padding:9px;font:16px/1.65 var(--body)}.editor textarea{resize:vertical;min-height:95px;line-height:1.7}.editor textarea#edit-body{min-height:210px}.editor .edit-title{font:29px/1.3 var(--heading);height:61px;min-height:61px;resize:none}.editor select{font:13px system-ui;min-height:42px;padding-right:20px}.edit-meta{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.edit-meta input[type=color]{padding:3px;height:43px;min-height:43px;cursor:pointer}.formatting{display:flex;gap:6px;margin:9px 0;position:sticky;top:0;z-index:2}.formatting button{background:var(--card-bg);color:var(--card-ink);border-color:var(--line);min-height:36px;padding:4px 15px}.edit-actions{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.edit-actions button{font:13px system-ui}.large-text .prayer-body{font-size:19px}.large-text .enlarged .prayer-body{font-size:22px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);border-radius:8px;background:#21392d;color:#fff5df;padding:12px 20px;max-width:90vw;font-size:14px;z-index:100;box-shadow:0 5px 20px #0003}#toast:empty{display:none}
[data-theme=victorian]{--page:#eee7df;--ink:#45312d;--muted:#7b6860;--surface:#fffcf1;--accent:#7d3f54;--card-bg:#fff8e8;--card-ink:#493228;--card-muted:#8a6351;--heading:Palatino,'Palatino Linotype',Georgia,serif;--radius:3px}[data-theme=space]{--page:#101825;--ink:#e0eaf2;--muted:#8da8bc;--surface:#1c2a3b;--accent:#80d9ec;--line:#779cb64d;--card-bg:#101e32;--card-ink:#e6f4f5;--card-muted:#91c1d5;--body:system-ui,sans-serif;--heading:'Trebuchet MS',system-ui,sans-serif;--radius:16px}[data-theme=space] .primary,[data-theme=storm] .primary{color:#101825}:is([data-theme=space] .prayer-card,.prayer-card[data-theme=space]){box-shadow:0 0 20px #80d9ec25;border-color:#6e9fb6}[data-theme=jungle]{--page:#eaf2d9;--ink:#24412a;--muted:#658158;--surface:#fbffef;--accent:#32794b;--card-bg:#fffef0;--card-ink:#1d4224;--card-muted:#578052;--body:'Trebuchet MS',system-ui,sans-serif;--heading:'Trebuchet MS',system-ui,sans-serif;--radius:23px}:is([data-theme=jungle] .prayer-card,.prayer-card[data-theme=jungle]) h2{font-weight:750}[data-theme=jungle] .prayer-body{font-weight:500}[data-theme=traditional]{--page:#e8e0d3;--ink:#382b29;--muted:#726457;--surface:#fff8e9;--accent:#733d43;--card-bg:#fff6e0;--card-ink:#3e2c28;--card-muted:#806653;--heading:Palatino,Georgia,serif;--radius:3px}[data-theme=celestial]{--page:#e1e5ed;--ink:#2e3550;--muted:#69728d;--surface:#fff8e7;--accent:#415799;--card-bg:#fff9ea;--card-ink:#253151;--card-muted:#6e7395;--heading:'Trebuchet MS',system-ui,sans-serif;--radius:3px}:is([data-theme=celestial] .prayer-card,.prayer-card[data-theme=celestial]){border-width:2px}[data-theme=storm]{--page:#1d2b39;--ink:#e5edf1;--muted:#a2b9c8;--surface:#293e50;--accent:#d2b975;--line:#8ba3b64d;--card-bg:#233647;--card-ink:#f0f4eb;--card-muted:#a9c1cf;--heading:'Trebuchet MS',system-ui,sans-serif;--body:system-ui,sans-serif;--radius:7px}[data-theme=woodland]{--page:#182e23;--ink:#eee8cc;--muted:#a8bea2;--surface:#294530;--accent:#d4b574;--line:#8299724d;--card-bg:#f1efd9;--card-ink:#2a432d;--card-muted:#69825c;--heading:Palatino,Georgia,serif;--radius:10px}[data-theme=woodland] .primary{color:#233e2a}[data-theme=desert]{--page:#e2d4bd;--ink:#44382a;--muted:#877156;--surface:#f5ead3;--accent:#846149;--card-bg:#fff0d7;--card-ink:#513a27;--card-muted:#97744f;--radius:2px}[data-theme=watercolor]{--page:#e6eef0;--ink:#2f454b;--muted:#6c8589;--surface:#fbfffd;--accent:#4b7d83;--card-bg:#fcfffc;--card-ink:#34515a;--card-muted:#70919a;--radius:10px}
@media(max-width:850px){.masthead{padding:22px 25px;align-items:flex-start}.brand{font-size:25px}.brand small{font-size:9px}.header-actions button{font-size:12px;padding:8px 10px}.header-actions{gap:5px}main{padding:25px}.desk-tools{align-items:flex-start;flex-direction:column}.desk-controls{width:100%}.welcome{gap:35px;margin:25px auto 40px}.welcome-copy h2{font-size:32px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}footer{padding:18px 25px;flex-wrap:wrap;gap:8px}}
@media(max-width:560px){.masthead{padding:20px 18px;flex-wrap:wrap;gap:17px}.brand{font-size:26px}.brand-mark{font-size:36px}.header-actions{width:100%;justify-content:space-between}.header-actions button{font-size:13px;flex:1}.header-actions .icon-button{flex:0;font-size:22px}main{padding:22px 18px}h1{font-size:25px}.desk-controls{gap:8px}.desk-controls button{font-size:12px;padding:9px 10px}.theme-label{flex:1;min-width:175px}.theme-label select{width:100%}.welcome{grid-template-columns:1fr;margin:12px 0 32px;gap:27px}.welcome-copy h2{font-size:34px;margin:15px 0 20px}.welcome-copy>p{font-size:15px}.welcome-actions{margin:20px 0}.sample{max-width:350px;width:90%;margin:0 auto}.card-grid{grid-template-columns:1fr;gap:23px;padding:0 4px}.card-content{padding:42px 36px}.prayer-card h2{font-size:29px}.prayer-body{font-size:18px}.scripture-ribbon p{font-size:15px}.card-grid .prayer-card{min-height:420px}.enlarged .card-content{padding:39px 28px}.enlarged h2{font-size:31px}.enlarged .prayer-body{font-size:18px}.enlarged .scripture-ribbon p{font-size:16px}#zoom{width:calc(100% - 12px);max-height:97dvh}.zoom-shell{max-height:97dvh}.zoom-frame{padding:7px}.zoom-nav{padding-bottom:5px}.editor .card-content{padding:28px 24px}.edit-meta{gap:0 8px}.editor select{font-size:12px}.editor .edit-title{font-size:25px}.desk-note{font-size:11px}footer{font-size:10px;padding:18px}.welcome-copy .small{font-size:11px!important}.enlarged .card-illustration{opacity:.58}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{.masthead,.desk-tools,.welcome,footer,.desk-note,dialog,#toast{display:none!important}.card-grid{display:grid;grid-template-columns:1fr 1fr}.prayer-card{break-inside:avoid;box-shadow:none}.card-grid .prayer-body,.card-grid .card-story{max-height:none;mask-image:none}body{background:white}main{padding:0}}

/* User tint affects backgrounds only; theme inks and rules remain fixed. */
:root{--card-muted:#53624f;--card-rule:#a6b19b}
[data-theme=victorian]{--card-muted:#705041;--card-rule:#baa58f}
[data-theme=space]{--card-ink:#f0f7fa;--card-muted:#c0dbe8;--card-rule:#6e9fb6}
[data-theme=jungle]{--card-muted:#3e693e;--card-rule:#96b781}
[data-theme=traditional]{--card-muted:#715745;--card-rule:#bba483}
[data-theme=celestial]{--card-muted:#535b7d;--card-rule:#99a2bf}
[data-theme=storm]{--card-bg:#182b3b;--card-ink:#f8fafc;--card-muted:#e2e8f0;--card-rule:#8097aa}
[data-theme=woodland]{--card-muted:#47613d;--card-rule:#a1ad88}
[data-theme=desert]{--card-muted:#765637;--card-rule:#bca27e}
[data-theme=watercolor]{--card-muted:#486974;--card-rule:#a0bfc0}
.card-content{z-index:0}
.card-content:before{content:'';position:absolute;inset:22px;border-radius:4px;background:var(--card-bg);background:color-mix(in srgb,var(--card-bg) 94%,var(--tint,#819179) 6%);opacity:.96;z-index:-1;pointer-events:none}
.prayer-card h2,.prayer-body{color:var(--card-ink)}
.card-kind,.card-story,.scripture-ribbon,.card-cadence,.zoom-hint{color:var(--card-muted)}

/* Immersive scenery at the edges, restrained color under the reading surface. */
:root{--page:#e9edf2;--ink:#263648;--muted:#566579;--surface:#f9fbfd;--accent:#425d79;--card-bg:#f8fafb;--card-ink:#223548;--card-muted:#43566b;--card-rule:#c0cad2;--art-opacity:.96;--reading-opacity:.96}
[data-theme=quiet]{--page:#e9edf2;--ink:#263648;--muted:#566579;--surface:#f9fbfd;--accent:#425d79;--card-bg:#f8fafb;--card-ink:#223548;--card-muted:#43566b;--card-rule:transparent;--radius:5px;--reading-opacity:.92}
:is([data-theme=quiet] .prayer-card,.prayer-card[data-theme=quiet]){border:0;box-shadow:0 5px 22px #26364810}
[data-theme=quiet] .scripture-ribbon{border:0;padding-top:6px}
[data-theme=victorian]{--page:#e9e1ed;--ink:#44324f;--muted:#68516f;--surface:#fcf7fd;--accent:#754d89;--card-bg:#fcf6ff;--card-ink:#412c4d;--card-muted:#604469;--card-rule:#b99bc8;--radius:12px}
[data-theme=woodland]{--card-bg:#f1f4e6;--card-ink:#213d2c;--card-muted:#3b543d;--card-rule:#789b75}
[data-theme=desert]{--card-bg:#fff0d7;--card-ink:#493020;--card-muted:#62452b;--card-rule:#b49067}
[data-theme=watercolor]{--page:#e2edf3;--ink:#2d3f59;--muted:#506581;--surface:#faf8ff;--accent:#69539b;--card-bg:#fbf9ff;--card-ink:#303d58;--card-muted:#46536f;--card-rule:#b8abd4;--radius:15px}
[data-theme=summit]{--page:#142330;--ink:#eef5fa;--muted:#b9cbd8;--surface:#223a4b;--accent:#f0bd74;--line:#859eaf66;--card-bg:#f0f5f8;--card-ink:#1d3345;--card-muted:#3b5264;--card-rule:#748fa3;--body:system-ui,sans-serif;--heading:'Trebuchet MS',system-ui,sans-serif;--radius:8px}
[data-theme=summit] .primary{color:#172c3d}
:is([data-theme=summit] .prayer-card,.prayer-card[data-theme=summit]) h2{font-weight:700;letter-spacing:-.025em}
[data-theme=galilee]{--page:#e4f1df;--ink:#254732;--muted:#466346;--surface:#fdfff4;--accent:#326d50;--line:#90ac8066;--card-bg:#fcfff1;--card-ink:#234331;--card-muted:#3c5b3f;--card-rule:#93b775;--body:'Trebuchet MS',system-ui,sans-serif;--heading:'Trebuchet MS',system-ui,sans-serif;--radius:20px}
:is([data-theme=galilee] .prayer-card,.prayer-card[data-theme=galilee]) h2{font-weight:750}
[data-theme=galilee] .prayer-body{font-size:18px;line-height:1.8}
.card-illustration,.enlarged .card-illustration{opacity:var(--art-opacity,.77)}
.card-content:before{opacity:var(--reading-opacity,.96);inset:22px;mask-image:linear-gradient(90deg,transparent,#000 10px,#000 calc(100% - 10px),transparent)}
/* Keep dark atmospheres' protected reading area and fixed foreground colors. */
[data-theme=space],[data-theme=storm]{--reading-opacity:.96;--art-opacity:.8}
@media(max-width:560px){.card-content:before{inset:18px}.enlarged .card-content:before{inset:17px}.theme-label{font-size:12px}.card-kind,.card-cadence,.story-label,.scripture-ribbon>span{font-size:12px}.zoom-hint{font-size:12px}}

[data-theme=victorian],[data-theme=woodland],[data-theme=desert],[data-theme=watercolor],[data-theme=summit],[data-theme=galilee]{--reading-opacity:.88}

/* Border-first cards: prayers protected, reflections let the atmosphere show. */
.prayer-card{--art-opacity:.73;--reflection-opacity:.62}
.card-illustration,.enlarged .card-illustration{opacity:var(--art-opacity,.73)}
.card-content:before{display:none}
.prayer-focus{position:relative;isolation:isolate;display:flex;flex-direction:column;flex:1}
.prayer-focus:before{content:'';position:absolute;inset:-14px -12px -8px;background:var(--card-bg);background:color-mix(in srgb,var(--card-bg) 94%,var(--tint,#819179) 6%);opacity:.95;border-radius:5px;z-index:-1;pointer-events:none}
.card-reflections{position:relative;isolation:isolate;margin-top:12px}
.card-reflections:before{content:'';position:absolute;inset:0 -12px -12px;background:var(--card-bg);background:color-mix(in srgb,var(--card-bg) 96%,var(--tint,#819179) 4%);opacity:var(--reflection-opacity);border-radius:5px;z-index:-1;pointer-events:none}
.card-reflections .card-story,.card-reflections .scripture-ribbon{color:var(--card-ink)}
.card-reflections p{background:color-mix(in srgb,var(--card-bg) 35%,transparent);box-shadow:0 0 9px 4px color-mix(in srgb,var(--card-bg) 35%,transparent);border-radius:3px;text-shadow:0 1px 3px var(--card-bg)}
:is([data-theme=quiet] .prayer-card,.prayer-card[data-theme=quiet]){--art-opacity:.82;--reflection-opacity:.48}
[data-theme=quiet] .prayer-focus:before{opacity:.85}
:is([data-theme=storm] .prayer-card,.prayer-card[data-theme=storm]),:is([data-theme=space] .prayer-card,.prayer-card[data-theme=space]){--art-opacity:.70;--reflection-opacity:.56}
[data-theme=storm] .card-reflections,[data-theme=space] .card-reflections{--card-bg:#182b3b}
[data-theme=space] .card-reflections{--card-bg:#101e32}
:is([data-theme=traditional] .prayer-card,.prayer-card[data-theme=traditional]){--art-opacity:.78;--reflection-opacity:.65}
:is([data-theme=woodland] .prayer-card,.prayer-card[data-theme=woodland]){--art-opacity:.74;--reflection-opacity:.62}
:is([data-theme=watercolor] .prayer-card,.prayer-card[data-theme=watercolor]){--art-opacity:.80;--reflection-opacity:.42}
:is([data-theme=summit] .prayer-card,.prayer-card[data-theme=summit]),:is([data-theme=galilee] .prayer-card,.prayer-card[data-theme=galilee]){--art-opacity:.70;--reflection-opacity:.70}
[data-theme=ohana]{--page:#f5e8de;--ink:#4b3740;--muted:#715765;--surface:#fff9f0;--accent:#995967;--line:#c7a19266;--card-bg:#fff7e9;--card-ink:#483540;--card-muted:#644650;--card-rule:#d4b59c;--heading:Palatino,Georgia,serif;--radius:13px}
:is([data-theme=ohana] .prayer-card,.prayer-card[data-theme=ohana]){--art-opacity:.77;--reflection-opacity:.50}
.editor .card-content:before{display:block;opacity:.96;mask-image:none}
.has-photo .card-illustration{background-size:cover;background-position:center;opacity:.65}
.has-photo .card-reflections{--reflection-opacity:.86}
.photo-controls{margin:15px 0;padding:12px 0;border-block:1px solid var(--card-rule)}
.photo-controls p{font:13px/1.6 system-ui;color:var(--card-muted);margin:8px 0}
.photo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.photo-actions button{font:13px system-ui;background:var(--card-bg);color:var(--card-ink)}
@media(max-width:560px){.prayer-focus:before{inset:-12px -9px -8px}.card-reflections:before{inset:0 -9px -10px}.photo-controls p{font-size:13px}}

/* Quiet reading milestones follow each atmosphere's visual weight. */
.prayer-progress{margin:0 0 27px;padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.progress-counts{display:flex;gap:12px 30px;flex-wrap:wrap;font:14px/1.6 system-ui;color:var(--muted)}
.progress-counts strong{color:var(--ink);font-weight:650;font-size:17px}
.prayer-progress.plain{padding:0;border:0;background:none;margin:0 0 24px}
.prayer-progress.subtle{background:none;border:0;border-top:1px solid var(--line);padding:18px 0;margin:30px 0 0}
.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0 9px;font:17px/1.5 var(--heading)}
.journey-heading strong{font:650 18px/1.5 system-ui;color:var(--accent)}
.journey-meter{display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:var(--line);accent-color:var(--accent)}
.journey-meter::-webkit-progress-bar{background:var(--line);border-radius:8px}.journey-meter::-webkit-progress-value{background:var(--accent);border-radius:8px}.journey-meter::-moz-progress-bar{background:var(--accent);border-radius:8px}
.journey-care{font:14px/1.6 system-ui;margin:12px 0 3px}
.journey-scripture{font:italic 14px/1.65 var(--body);margin:4px 0 8px;max-width:750px}
.journey-scripture span{font:12px/1.6 system-ui;color:var(--muted);display:inline-block;margin-left:5px}
.journey-note{font:12px/1.6 system-ui;color:var(--muted);margin:6px 0 12px}
.prayer-progress button{font-size:14px;padding:7px 13px}
.journey-details summary{cursor:pointer;color:var(--muted);font:13px/1.6 system-ui;margin:7px 0}
.prayer-progress.compact{padding:15px 20px}.compact .journey-heading{font-size:15px}.compact .journey-heading strong{font-size:16px}.compact .journey-meter{height:4px}
.reading-days{font:12px/1.6 system-ui;color:var(--card-muted);margin:8px 0 0}
[data-theme=jungle] .prayer-progress.journey,[data-theme=galilee] .prayer-progress.journey{border-left:4px solid var(--accent);border-radius:15px}
[data-theme=woodland] .prayer-progress.journey{border-color:#82997266}
[data-theme=space] .prayer-progress.journey{border-color:#779cb666}
@media(max-width:560px){.prayer-progress{padding:17px 18px;margin-bottom:23px}.prayer-progress.plain{padding:0}.prayer-progress.subtle{padding:16px 0;margin:24px 0 0}.progress-counts{gap:6px 16px;font-size:13px}.journey-heading{align-items:start;flex-direction:column;gap:3px;font-size:16px}.journey-heading strong{font-size:17px}.journey-scripture{font-size:14px}}

/* Keep prayer editing first; appearance stays compact and out of the way. */
.small-tint{display:flex;align-items:center;gap:12px;margin:19px 0 10px}
.editor .small-tint label{margin:0;font:13px system-ui;letter-spacing:0}
.editor .small-tint input[type=color]{width:44px;height:32px;min-height:32px;padding:3px;border-radius:6px;cursor:pointer}
.appearance-options{margin:10px 0 18px;padding-top:9px;border-top:1px solid var(--card-rule)}
.appearance-options summary,.photo-options summary{cursor:pointer;font:14px/1.7 system-ui;color:var(--card-muted);padding:6px 0;min-height:36px}
.photo-options{margin-top:10px}.photo-controls{margin:4px 0 12px;padding:8px 0;border:0}
.reading-rhythm{font:12px/1.7 system-ui;color:var(--muted);margin:7px 0 0}
.reading-complete{margin:12px 0;padding:10px 0;color:var(--ink);font:14px/1.7 system-ui}
.reading-complete strong{font-weight:600}.reading-complete p{font:italic 15px/1.7 var(--body);margin:5px 0 0}.reading-complete span{font:12px system-ui;color:var(--muted)}
.today-pick{display:block;margin-top:3px;font:12px/1.6 system-ui;color:var(--card-ink)}
[data-theme=quiet]{--page:#f4f6f8;--surface:#fafbfc;--ink:#273544;--muted:#536170;--accent:#435b73;--card-bg:#fafbfc;--card-ink:#253340;--card-muted:#465664;--card-rule:#d3dce3}
:is([data-theme=quiet] .prayer-card,.prayer-card[data-theme=quiet]){box-shadow:0 2px 18px #536b8314;border:0;--art-opacity:.70}
:is([data-theme=quiet] .prayer-card,.prayer-card[data-theme=quiet]):before{opacity:.018}
[data-theme=quiet] .prayer-focus:before,[data-theme=quiet] .card-reflections:before{background:color-mix(in srgb,var(--card-bg) 98%,var(--tint,#819179) 2%)}
[data-theme=quiet] .sample{transform:none;box-shadow:0 3px 24px #536b831a}
[data-theme=quiet] .scripture-ribbon{border:0}

[data-theme=mixed]{--page:#f4f6f8;--surface:#fafbfc;--ink:#273544;--muted:#536170;--accent:#435b73;--line:#d3dce366}
#app-version{font-size:11px}footer{flex-wrap:wrap}

.card-open{display:block;width:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:left;cursor:zoom-in}.card-open:hover{filter:none}.card-shuffle{position:absolute;top:10px;right:10px;z-index:3;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:color-mix(in srgb,var(--card-bg) 68%,transparent);color:var(--card-ink);border:1px solid color-mix(in srgb,var(--card-ink) 22%,transparent);font:25px/1 system-ui;backdrop-filter:blur(4px)}.card-shuffle:hover{background:color-mix(in srgb,var(--card-bg) 90%,transparent)}.prayer-card:has(.card-shuffle) .card-kind{padding-right:28px}.card-open:focus-visible{outline-offset:-5px}

footer{flex-wrap:wrap}.scripture-notice{flex-basis:100%;margin:0;padding-top:9px;font:12px/1.6 system-ui,sans-serif;color:var(--muted)}
