/* Reflect shares the Scroll's type scale and continuous moonlit background. */
#checkinTopbar,#screen-practice>.topbar,#screen-journal>.topbar,#screen-lexicon>.topbar,#screen-companion.reflecting>.topbar{position:relative;max-width:620px;margin:auto;padding:20px 24px 8px;border:0;background:transparent;backdrop-filter:none;min-height:52px}
#checkinTopbar .brand,#screen-companion.reflecting>.topbar .brand{font:12px/1.5 var(--sans);color:var(--text-faint)}
#checkinTopbar .back,#screen-companion.reflecting>.topbar .back{min-height:44px;padding:4px 0}
.reflect-page{max-width:620px;padding-top:4px;padding-bottom:36px}
.reflect-page[data-reflect-view=home]{padding-top:34px}
.reflect-heading{margin:18px 0 28px}
.reflect-heading h1{font:400 clamp(30px,7vw,38px)/1.18 var(--serif);color:var(--text);margin:0 0 12px;text-wrap:balance;outline:none}
.reflect-heading p{font:14px/1.8 var(--sans);color:var(--text-dim);max-width:36em;text-wrap:pretty}
.reflect-emblem{width:38px;height:44px;margin-bottom:24px;color:#b495d4;filter:drop-shadow(0 0 16px #b18bdb44)}
.reflect-emblem svg{width:100%;height:100%}
.reflect-intro .reflect-heading{margin-bottom:30px}
.reflect-main-choices{border-top:1px solid var(--line)}
.reflect-page .you-row-title{font:400 15px/1.5 var(--sans);margin-bottom:4px}
.reflect-page .you-row-sub{font:400 12px/1.65 var(--sans)}
.reflect-row{padding:22px 0;gap:16px}
.reflect-row-icon{width:28px;height:36px;flex:0 0 28px;display:grid;place-items:center;color:#b495d4}
.reflect-row-icon svg{width:22px;height:24px;stroke:currentColor}
.reflect-page .you-row-go{font-size:18px}
.reflect-utilities{display:flex;gap:22px;flex-wrap:wrap;margin-top:28px}
.reflect-page .comfort-link,.reflect-utilities .comfort-link{font:12px/1.65 var(--sans);min-height:44px;padding:10px 0;margin:0;color:#b5a2c4}
.reflect-utilities{justify-content:space-between}
.reflect-lexicon{display:block;background:none;border:0;color:#bca7cd;font:italic 17px/1.6 var(--serif);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#b495d440;min-height:44px;padding:8px 0;margin:12px 0 0}
.reflect-page .reflect-primary{display:block;width:100%;font:400 23px/1.25 var(--serif);min-height:52px;padding:12px 22px;margin:24px 0 12px;transform:none}
.reflect-primary:disabled{opacity:.45;cursor:default}
.reflect-note{font:12px/1.8 var(--sans);color:var(--text-faint);margin:14px 0 20px;text-wrap:pretty}
.reflect-label{display:block;font:12px/1.6 var(--sans);color:var(--text-dim);margin:22px 0 10px}
.reflect-page textarea{width:100%;min-height:170px;line-height:1.8;resize:vertical}
.reflect-page .v6-save-status{margin:8px 0 24px;overflow-wrap:anywhere}
.reflect-feeling-add{padding:16px 0;border-top:1px solid var(--line)}
.reflect-feeling-add>span:last-child{font:12px var(--sans);color:var(--accent-bright)}
.reflect-more{margin:24px 0 0;border-top:1px solid var(--line)}
.reflect-more>summary{font:12px/1.7 var(--sans);color:#bca9cc;cursor:pointer;padding:17px 0;min-height:44px}
.reflect-more .you-row-title{font-size:15px}
.reflect-feelings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:16px 0 28px}
.reflect-feeling{display:flex;align-items:center;gap:12px;width:100%;min-height:80px;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font:14px/1.6 var(--sans);padding:16px 0}
.reflect-feeling svg{width:21px;height:23px;flex:0 0 21px;color:#b495d4}
.reflect-feeling:hover{color:#d5bde8}
.reflect-guide-emblem{width:46px;height:50px;color:#baa0d4;margin:22px 0 26px}
.reflect-guide-emblem svg{width:100%;height:100%}
.reflect-eyebrow{font:11px/1.6 var(--sans);color:#bca1d3;letter-spacing:.04em;margin-bottom:10px}
.reflect-outline{list-style:none;counter-reset:reflection-step;margin:20px 0;padding:0;border-top:1px solid var(--line)}
.reflect-outline li{counter-increment:reflection-step;display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);font:13px/1.8 var(--sans);color:var(--text-dim)}
.reflect-outline li:before{content:counter(reflection-step,decimal-leading-zero);font:18px/1.4 var(--serif);color:#a68db9;flex:0 0 24px}
.reflect-optional{margin-top:30px;border-top:1px solid var(--line)}
.reflect-page .emotion-grid{margin:20px 0}
.reflect-resume{padding:20px;border:1px solid #b495d430;border-radius:18px;background:radial-gradient(ellipse at 0 0,#b495d412,transparent 85%);margin:0 0 28px}
.reflect-resume h2{font:400 25px/1.25 var(--serif);color:var(--text);margin:8px 0}
.reflect-resume p:not(.reflect-eyebrow){font:12px/1.7 var(--sans);color:var(--text-dim)}
.reflect-resume .reflect-primary{margin-bottom:0;font-size:22px}
.reflect-notice{padding:12px 0 18px;margin-bottom:10px;font:12px/1.7 var(--sans);color:#c2abd5}
#screen-companion.reflecting .v6-page{max-width:620px;padding-top:4px;padding-bottom:36px}
#screen-companion.reflecting .v6-heading{margin:22px 0 24px}
#screen-companion.reflecting .v6-heading h1{font:400 clamp(30px,7vw,38px)/1.2 var(--serif);outline:none}
#screen-companion.reflecting .v6-heading p{font:14px/1.8 var(--sans);color:var(--text-dim)}
#screen-companion.reflecting .section-kicker:empty{display:none}
#screen-companion.reflecting .v6-path{padding:20px 0;gap:14px;align-items:center}
#screen-companion.reflecting .v6-path strong{font:400 15px/1.5 var(--sans)}
#screen-companion.reflecting .v6-path small{font:12px/1.7 var(--sans);margin-top:4px}
#screen-companion.reflecting .home-feel-cta{font:400 23px/1.25 var(--serif);min-height:52px;transform:none;padding:12px 22px}
#screen-companion.reflecting .v6-note{font-size:12px;text-align:center}
#screen-companion.reflecting .v6-page>.quiet-link{display:block;margin:14px auto;min-height:44px}
.reflect-session-title{font:12px/1.7 var(--sans);color:#b9a1cc;margin:18px 0 0}
#screen-companion.reflecting .v6-progress{margin:16px 0 24px}
#screen-companion.reflecting .v6-page textarea{min-height:155px}
.reflect-page button:focus-visible,.reflect-page summary:focus-visible{outline:2px solid #c5aadf;outline-offset:4px}
@media(min-width:700px){.reflect-page[data-reflect-view=home]{padding-top:42px}.reflect-intro{max-width:460px}}
@media(max-width:360px){.reflect-feelings{gap:0 12px}.reflect-feeling{gap:8px;font-size:13px}.reflect-utilities{gap:12px}}

.reflect-context{border-block:1px solid var(--line);margin:16px 0;padding:0}.reflect-context p{white-space:pre-wrap;overflow-wrap:anywhere}
.reflect-protocol-intro{margin:22px 0 28px}
.reflect-protocol-intro p{font:14px/1.9 var(--sans);color:var(--text-dim);margin:0 0 18px;text-wrap:pretty}
.reflection-mantra{margin:30px 0;font:italic 30px/1.45 var(--serif);color:var(--text);text-align:center;text-wrap:balance}

.reflect-poles{margin:32px 0 26px}.reflect-page .reflect-poles .pole-choice{padding-block:16px}.reflect-poles + .comfort-link{display:block;margin:0 auto 16px;text-align:center}

/* Compact decision screens retain readable text and touch targets; long text can flow. */
.reflect-page[data-reflect-view=feelings] .reflect-feelings{margin:8px 0 12px;gap:0 18px}
.reflect-page[data-reflect-view=feelings] .reflect-feeling{min-height:56px;padding:10px 0;font-size:14px;line-height:1.4;gap:9px}
.reflect-page[data-reflect-view=feelings]>.comfort-link{display:block;margin:auto;text-align:center}
.reflect-page[data-reflect-view=patterns] .reflect-row{padding:16px 0;gap:12px}
.reflect-page[data-reflect-view=patterns] .reflect-heading{margin-bottom:14px}
.reflect-page[data-reflect-view=preview] .reflect-guide-emblem{width:32px;height:34px;margin:10px 0 16px}
.reflect-page[data-reflect-view=preview] .reflect-heading{margin:12px 0 18px}
.reflect-page[data-reflect-view=preview] .reflect-heading h1{font-size:clamp(28px,7vw,36px)}
.reflect-page[data-reflect-view=preview] .reflect-outline{margin:14px 0}
.reflect-page[data-reflect-view=preview] .reflect-outline li{padding:12px 0;line-height:1.6}
.reflect-page[data-reflect-view=preview] .reflect-primary{margin-top:18px}
.reflect-page[data-reflect-view=preview] .reflect-note{margin:10px 0}
.reflect-page[data-reflect-view=preview]>.comfort-link{display:block;margin:auto}

.reflect-unnamed[aria-pressed=true]{color:var(--text);text-decoration:underline;text-underline-offset:5px}

/* Optional sensory choices and Bianca's step-by-step reflections. */
.reflection-step .v6-progress{gap:5px}
.reflection-step .v6-progress span{white-space:nowrap}
.reflection-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 8px}
.reflection-options button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:62px;padding:12px;border:1px solid #baa0d426;border-radius:15px;background:#b495d407;color:var(--text-dim);font:14px/1.45 var(--sans);text-align:center;transition:background .2s,border-color .2s}
.reflection-options button[aria-pressed=true]{background:#b495d41c;border-color:#c5a8df;color:var(--text)}
.reflection-options.shape{grid-template-columns:repeat(3,minmax(0,1fr))}
.reflection-options.colour{grid-template-columns:repeat(4,minmax(0,1fr))}
.reflection-options.shape button,.reflection-options.colour button{flex-direction:column;min-height:92px;padding:10px 6px;font-size:13px}
.reflection-options svg{width:42px;height:42px;color:#bd9fd6}
.reflection-swatch{display:block;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffff44,transparent 65%),var(--swatch);box-shadow:0 0 22px color-mix(in srgb,var(--swatch) 12%,transparent)}
.reflection-picked{font:italic 17px/1.6 var(--serif);color:#c2add4;margin:10px 0}
.reflection-own-words{margin:8px 0}
.reflection-own-words summary{min-height:44px}
.reflection-step .quiet-link{display:block;margin:8px auto;min-height:44px}
.reflection-step .home-feel-cta{margin-top:16px!important}
.reflection-instruction,.reflection-breath{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:16px auto;text-align:center}
.reflection-instruction .exercise-figure,.reflection-breath .exercise-figure{display:block;width:clamp(140px,24dvh,210px);height:auto;max-width:100%;margin:0 auto;color:#ba9bd2}
.reflection-instruction svg,.reflection-breath svg{width:100%;height:auto;display:block}
.reflection-breath-cue{font:400 24px/1.3 var(--serif);color:var(--text);margin:12px 0 8px;min-height:32px}
.reflection-breath-count{font:11px/1.7 var(--sans);color:var(--text-dim);margin:0}
.reflection-breath .reflection-breath-restart[hidden]{display:none}
.reflection-breath .reflection-breath-pause[hidden]{display:none}
.reflection-breath-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:8px}
.reflection-breath-controls .exercise-senses{position:static;margin:0}
.reflection-breath-controls .quiet-link{margin:0}
#screen-companion.reflecting .reflection-step .v6-heading{margin:18px 0}
#screen-companion.reflecting .reflection-step .v6-heading p{font-size:14px;line-height:1.7}
@media(max-width:360px){.reflection-options{gap:8px}.reflection-options.colour{grid-template-columns:repeat(3,minmax(0,1fr))}.reflection-options button{font-size:13px}.reflection-options.shape button,.reflection-options.colour button{min-height:78px}.reflection-options svg{width:34px;height:34px}}
@media(min-width:370px) and (min-height:780px){.reflect-page[data-reflect-view=patterns] .reflect-row{padding:13px 0}.reflect-page[data-reflect-view=patterns] .you-row-sub{font-size:12px;line-height:1.5}}
