/* Shared presentation for Innerward's reflection, session, and anchor spaces. */
:root{--shell:#f7f4ef;--line:#dedbd4;--muted:#5d6c72;--teal:#244d52}
[hidden]{display:none!important}
body{background:var(--shell);font-size:16px;line-height:1.6}
h1{font-size:clamp(30px,3.6vw,40px);line-height:1.2}
h2{font-size:26px}h3{font-size:22px}
.meta,.count,.notice,.small,label{font-size:14px}
.app-header{min-height:66px;max-width:1400px;margin:auto;display:flex;align-items:center;gap:16px;padding:10px 28px;background:var(--shell);border-bottom:1px solid var(--line);text-align:left}
.app-header .app-wordmark{font-family:Georgia,serif;font-size:25px;text-decoration:none;margin:0;padding:4px 0;color:var(--navy)}
.save-indicator{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;max-width:55%;font-size:13px;color:var(--muted);text-align:right;line-height:1.3}
.app-header .settings-link{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:10px;border-radius:8px}
.settings-link:hover{background:#ebe7df}
.shell{min-height:calc(100svh - 66px)}
#sidebar{height:calc(100svh - 66px);top:0;padding-top:32px}
main{background:var(--shell)}
.page{max-width:920px;padding:34px 42px 52px}
.page-top{gap:16px;margin-bottom:14px;align-items:center}
.page-intro{margin:0 0 24px;color:var(--muted)}
.primary,.secondary{border-radius:7px;min-height:48px;padding:11px 20px}
.primary{background:var(--teal);border-color:var(--teal)}
.secondary{border-color:#b6bfbe;background:transparent}
.primary:disabled,.secondary:disabled{opacity:.55;cursor:default}
.hero{padding:30px 42px;min-height:180px;display:flex;align-items:center;background-position:center 58%;border:0}
.hero h1{font-size:clamp(30px,3.4vw,40px);margin:0;max-width:560px;line-height:1.22}
.home-grid{padding:28px 42px 38px;gap:36px;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr)}
.home-actions{display:grid;gap:10px;margin:18px 0 26px}
.starting-label{font-size:14px;margin:0 0 8px;color:var(--muted)}
.reflection-row{padding:15px 0;border-color:var(--line);gap:14px;font-size:16px;line-height:1.45}
.reflection-row .name{min-width:0}.reflection-row .arrow{font-size:23px}.reflection-row .icon{width:22px;height:22px}
.home-keep-link{margin-top:16px;color:var(--teal);font-size:14px;min-height:44px}
.home-side{padding-top:4px}.home-side .panel{background:#efebe4}
.session-short{margin-top:24px;padding-top:20px;border-color:var(--line)}
.session-short h3{display:flex;justify-content:space-between}
.panel{background:#fcfaf7;border:1px solid var(--line);padding:22px;border-radius:9px}
.journey-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;margin:22px 0 14px}
.journey-tools .search{margin:0;min-height:48px}
.journey-filter{margin:0;position:relative}
.journey-filter summary{min-height:48px;display:flex;align-items:center;padding:10px 15px;max-width:160px;line-height:1.3;border-color:#bdc4c2}
.journey-filter[open]{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px}
.journey-filter[open] summary{grid-row:1/3}.journey-filter label{margin:0}.journey-filter select{max-width:none}
.entry{border:1px solid var(--line);background:#fcfaf7;border-radius:9px;padding:20px;margin:12px 0}
.entry:hover{background:#f0ede7}.entry h3{font-size:22px;line-height:1.3;margin:6px 0}.entry p{font-size:15px;line-height:1.6;margin:8px 0 0}
.entry .count{margin-top:8px;color:var(--teal)}
.entry .meta{font-size:13px}.entry p:empty{display:none}
.section-label{font:500 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--muted);margin:28px 0 10px;letter-spacing:.03em}
.session-card h3{display:flex;align-items:center;justify-content:space-between;gap:12px}
.session-card h3 span{font-family:inherit;font-size:26px;font-weight:400;color:var(--muted)}
.session-card .meta{line-height:1.5}
.sessions-page>.small{max-width:600px}.session-page .page-top{margin-bottom:22px}
input,textarea,select{background:#fcfaf7;border-color:#c9ceca;font-size:16px;border-radius:7px;padding:11px 13px;min-width:0}
input:not([type=checkbox]),select{min-height:46px}
input::placeholder,textarea::placeholder{color:#748086;opacity:1}
label{font-weight:500;margin-top:20px}
.reflection-page{max-width:760px}.reflection-page .back{margin-bottom:16px}
.input-modes{display:flex;border:1px solid #bac4c1;border-radius:7px;padding:3px;gap:4px;margin:20px 0 24px}
.input-modes button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;background:transparent;border:0;border-radius:5px;font-size:16px}
.input-modes button.active{background:var(--teal);color:white}
.input-modes .icon{width:20px;height:20px}
#reflection-text{min-height:190px;max-height:60vh;line-height:1.7}
.reflection-links{margin:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}
.reflection-links summary{cursor:pointer;font-size:14px;min-height:30px;padding:2px 0}
.reflection-links .formrow{padding-bottom:8px}
.reflection-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:24px}
.reflection-actions>.quiet{justify-content:center;font-size:14px}
.draft-guidance{text-align:center;margin:10px 0 0;font-size:13px}
.voice-controls{background:#f0ede7;border-color:var(--line);padding:20px;margin:22px 0}
.voice-controls h2{font-size:24px}.voice-controls p{margin:12px 0;font-size:14px}
.voice-controls .actions{justify-content:space-between}
.voice-controls audio{margin:16px 0}
.note-section{padding:20px;background:#fcfaf7;border:1px solid var(--line);border-radius:9px;margin-top:22px!important}
.note-section h2{font-size:25px}.note-section label{margin-top:12px;font-size:14px}.note-section textarea{background:#fffdfa;min-height:125px}
.therapy-approaches{margin-top:22px}.therapy-approaches legend{font-size:14px;font-weight:500}.therapy-approaches p{margin-bottom:10px}
.therapy-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.therapy-option{padding:10px;min-height:46px;gap:9px;font-size:14px;background:transparent;border-color:var(--line)}
.therapy-option input[type=checkbox]{width:18px;height:18px;flex-basis:18px}.therapy-option:has(input:checked){background:#e9efeb;border-color:#53716e}
.keep-tabs{gap:0;border-bottom:1px solid var(--line);margin:22px 0 26px}
.keep-tabs .chip{border:0;border-radius:0;background:transparent;color:var(--muted);padding:12px 20px;border-bottom:2px solid transparent}
.keep-tabs .chip.active{color:var(--navy);border-bottom-color:var(--navy)}
.anchor-grid{gap:22px}.anchor-card{background:#fcfaf7;border:1px solid var(--line);border-radius:10px}
.anchor-card img{height:240px;object-fit:cover}.anchor-card .caption{padding:18px 20px}.anchor-card h3{margin:0 0 7px}.anchor-card .small{color:var(--muted);line-height:1.6}
.anchor-page{max-width:820px}.anchor-image{max-height:520px;object-fit:contain;background:#efebe5;border-color:var(--line);border-radius:10px;margin:12px 0 26px}
.anchor-page .quote{font-size:clamp(25px,3vw,32px);line-height:1.5;max-width:660px}.anchor-page .actions{border-top:1px solid var(--line);padding-top:18px}
.anchor-page .actions .secondary{border:0;padding-left:0;padding-right:18px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.reconnect-note{margin:26px 0}.reconnect-note h2{font-size:21px}.reconnect-note p{line-height:1.8}
.anchor-empty{padding:36px 20px}.anchor-empty h2{font-size:25px}
.settings-action{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;border-bottom:1px solid var(--line);background:none;padding:16px 0;min-height:48px;text-align:left;font-size:16px}
.settings-action:last-child{border-bottom:0}
.draft-list{margin:22px 0}.draft-list .section-label{margin-top:0}.draft-row{display:flex;gap:16px;align-items:center;justify-content:space-between;width:100%;background:#efeee7;border:1px solid var(--line);border-radius:7px;padding:12px 15px;text-align:left;margin:8px 0}
.draft-row strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}.draft-row .small{display:block;font-size:13px}.draft-row>span:first-child{min-width:0}
@media(max-width:760px){
 .app-header{padding:9px 20px;min-height:62px;gap:8px}.app-header .app-wordmark{font-size:24px}.save-indicator{font-size:12px;max-width:44%}.app-header .settings-link{flex-basis:40px;width:40px;height:40px}
 .hero{padding:26px 24px;min-height:158px}.hero h1{font-size:30px;max-width:330px;line-height:1.25}
 .home-grid{display:block;padding:24px}.home-grid h2{font-size:26px}.home-side{margin-top:30px}.home-actions{margin:18px 0 24px}.reflection-row{padding:16px 0;font-size:15px}
 .home-side .anchor-card{display:block;padding:0;border-radius:10px}.home-side .anchor-card img{width:100%;height:200px;border:0;border-radius:0}.home-side .caption{padding:17px 20px}.home-side .caption p{display:block}
 .page{padding:26px 22px 36px}.page-top{align-items:stretch;gap:16px;margin-bottom:14px}.page-top h1{font-size:32px}.page-top>.primary{width:100%;margin:0}.page h2{font-size:25px}.page .section-label{font-size:14px}
 .back{font-size:14px;min-height:32px;margin-bottom:14px}.entry{padding:18px}.entry h3{font-size:21px}.journey-tools{margin-top:20px}.journey-filter summary{max-width:120px}
 .therapy-options{grid-template-columns:repeat(2,minmax(0,1fr))}.therapy-option{font-size:14px;line-height:1.4}.therapy-option span{min-width:0}
 .note-section{padding:17px}.note-section h2{font-size:24px}.note-section label{margin:10px 0}.note-section textarea{min-height:115px}
 .anchor-grid{grid-template-columns:1fr}.anchor-card img{height:auto;aspect-ratio:4/3}.anchor-card .caption{padding:18px}.anchor-page .quote{font-size:27px}
 .shell{padding-bottom:92px}#mobile-nav{min-height:78px;padding-top:9px}#mobile-nav .navitem{font-size:12px;line-height:1.4;gap:5px}#mobile-nav .icon{width:22px;height:22px}#mobile-nav .navitem.active{color:#e4c5a4}
 #toast{bottom:94px;font-size:14px}.reflection-page .page-intro{margin-bottom:18px}.input-modes{margin:18px 0 22px}
}
@media(max-width:350px){.app-header{padding-left:16px;padding-right:12px}.page,.home-grid{padding-left:16px;padding-right:16px}.therapy-options{grid-template-columns:1fr}.journey-filter summary{padding:10px}.save-indicator{font-size:11px}}

.is-onboarding .settings-link{visibility:hidden}

/* Preserve the original uppercase Cormorant wordmark. */
.app-header .app-wordmark,.brand{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;letter-spacing:.055em;line-height:1.15}
.app-header .app-wordmark{font-size:32px}.brand{font-size:29px}
@media(max-width:760px){.app-header .app-wordmark{font-size:29px}.save-indicator{max-width:37%}}
@media(max-width:350px){.app-header .app-wordmark{font-size:25px}}
