body.demoCrystal #appShell :is(.glass,.prayer-category,.connect-card,.support-card,.home-secondary){box-shadow:inset 0 0 0 1px #efffff80,inset 0 0 0 4px #efffff0c,0 0 0 1px #b2ede326,0 8px 24px #001b2b22!important}
.bottom-nav{position:relative;isolation:isolate}.bottom-nav a{position:relative;z-index:1}.nav-glider{display:none;position:absolute;left:0;top:5px;bottom:5px;border:1px solid #eaffff70;border-radius:inherit;background:linear-gradient(135deg,#edfff740,#edfff708);box-shadow:inset 0 1px 10px #ffffff26;pointer-events:none;transition:transform .45s cubic-bezier(.2,.8,.2,1),width .45s}.demoNavGlow .nav-glider{display:block}.demoNavGlow #appShell .bottom-nav a[aria-current=page]{background:transparent!important;box-shadow:none!important}
.card-tools-row{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.card-tools-row button,.card-tools-dialog button{min-height:44px;padding:9px 14px;font:inherit;border-radius:18px;border:1px solid #bfe9e566;background:#144153a8;color:#d2ffed;cursor:pointer}.card-tools-row button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #a9edb1}.prayer-grid li{position:relative}.prayer-grid .prayer-category{padding-right:58px!important}.prayer-favorite{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:42px;height:42px;min-height:42px!important;padding:0!important;font-size:25px!important;z-index:2}.prayer-grid .prayer-favorite:active{transform:translateY(-48%) scale(.97)!important}.prayer-grid li[hidden]{display:none!important}.reading-options{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px;border:1px solid #d4ffff55;border-radius:22px;background:#123a5040;margin-bottom:16px}.reading-options label{flex:1;min-width:150px;font-size:16px}.reading-options input[type=range]{display:block;width:100%;accent-color:#b2ede3}.prayer-reading{font-size:var(--reading-size,20px)!important;line-height:var(--reading-line,1.8)!important}.prayer-reading p{font-size:inherit!important;line-height:inherit!important}body.reading-focus #video-stage{filter:opacity(.16);transition:filter .5s}#video-stage{transition:filter .5s}.card-tools-dialog{color:#edfaff;background:#0d2c3af5;border:1px solid #b2ede366;border-radius:26px;padding:24px;width:min(620px,calc(100vw - 24px));max-height:88dvh;overflow:auto;box-sizing:border-box}.card-tools-dialog::backdrop{background:#001c2b55;backdrop-filter:blur(3px)}.card-tools-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.card-tools-dialog h2{font-size:24px;margin:0}.card-tools-dialog input[type=search],.card-tools-dialog textarea,.card-tools-dialog select{width:100%;box-sizing:border-box;padding:12px;margin:12px 0;background:#ffffff12;border:1px solid #b2ede366;border-radius:12px;color:#edffff;font:inherit}.card-tools-dialog option{background:#123a50}.card-tools-dialog textarea{min-height:170px;line-height:1.5}.search-results{display:grid;gap:8px}.search-results a{display:block;color:#b2ede3;border:1px solid #b2ede333;border-radius:14px;padding:12px;text-decoration:none}.search-results small{display:block;color:#e0edf1;margin-top:5px;line-height:1.4}.fragment-preview{display:block;max-width:100%;max-height:360px;margin:12px auto;border-radius:12px}.card-tools-note{font-size:15px;color:#e0edf1}.tool-search-open{width:44px;height:44px;padding:8px;font-size:24px!important}.prayer-empty{padding:16px}.fragment-counter{font-size:14px;text-align:right}.card-tools-dialog [hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.nav-glider{transition:none}}

/* Geometric icons share one box; font baselines cannot move them. */
.ui-icon{display:block;width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
#appShell .header-tools{align-items:center;flex-shrink:0}
#appShell .header-tools :is(.icon-button,.tool-search-open),#studio-toggle,#studio-close,.card-tools-dialog .tool-close{display:grid;place-items:center;box-sizing:border-box;padding:0;line-height:1;flex-shrink:0}
#appShell .tool-search-open{width:44px;height:44px;min-height:44px;aspect-ratio:1;font-size:16px!important}
#studio-toggle .ui-icon{width:26px;height:26px}
.card-tools-dialog .tool-close{width:44px;height:44px;min-height:44px;border-radius:50%}
#appShell .prayer-favorite{display:grid;place-items:center;line-height:1}
#appShell [data-favorite][aria-pressed=true] .ui-icon{fill:currentColor}
.card-tools-row button{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3}
#appShell :is(.connect-card,.support-card,.home-secondary,.prayer-category,.list-card){min-width:0;align-items:center}
#appShell :is(.connect-card,.support-card,.home-secondary,.prayer-category,.list-card) :is(strong,h2,span){min-width:0;overflow-wrap:break-word}
#appShell :is(.connect-card,.support-card,.home-secondary,.prayer-category,.list-card) svg{flex-shrink:0;vertical-align:middle}
#appShell .bottom-nav a{line-height:1.2;justify-content:center;align-items:center;gap:5px}
#studio-menu button:not(#studio-close),#demo-design-nav button{line-height:1.3;white-space:normal;overflow-wrap:break-word}
#studio-menu .studio-track button:first-child{white-space:nowrap}
@media(max-width:430px){#appShell .header-tools :is(.icon-button,.tool-search-open){width:40px;height:44px;min-height:44px;flex-basis:40px}.ui-icon{width:21px;height:21px;flex-basis:21px}#appShell .connect-card h2{font-size:clamp(17px,4.8vw,22px);line-height:1.2}#appShell :is(.support-card,.home-secondary,.prayer-category) strong{line-height:1.3}}
