/* One paper surface, matching the compact Bible reader and its expanded mode. */
dialog.feelings-panel{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:800px;height:67svh;max-height:none;min-height:0;padding:0;border:1px solid var(--line);border-bottom:0;border-radius:30px 30px 0 0;background:var(--paper);color:var(--ink);box-shadow:0 -12px 60px #213e3226;overflow:hidden}
dialog.feelings-panel[open]{display:flex;flex-direction:column;animation:feelings-arrive .2s ease-out}
dialog.feelings-panel::backdrop{background:#213e3222}
dialog.feelings-panel.is-expanded{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding-top:env(safe-area-inset-top,0px)}
.feelings-header{position:relative;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid var(--line);flex:0 0 auto;width:100%}
.feelings-header .eyebrow{font-size:9px;color:var(--muted);letter-spacing:.11em;margin:0 0 6px}
.feelings-header h2{font-size:25px;line-height:1.2;letter-spacing:-.045em;margin:0}
.feelings-header-actions{display:flex;flex:0 0 auto}
.feelings-header-actions button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--green);font-size:31px}
.feelings-header-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.feelings-header-actions button:hover{background:#e7eddd}
.feelings-scroll{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:20px 22px 28px;scroll-padding:20px;font-size:17px;line-height:1.65}
.feelings-scroll>*,.feelings-header>div:first-child{min-width:0}
.feelings-panel.is-expanded .feelings-scroll,.feelings-panel.is-expanded .feelings-header,.feelings-panel.is-expanded .feelings-footer{max-width:760px;margin:0 auto;width:100%}
.feelings-scroll h3{font-size:25px;line-height:1.25;letter-spacing:-.035em;margin:16px 0 12px}
.feelings-scroll p{margin:12px 0;overflow-wrap:anywhere}
.feelings-scroll .feelings-intro{font-size:14px;line-height:1.5;margin:0 0 10px}
.feelings-wheel{max-width:440px}
.feelings-panel.is-expanded .feelings-wheel{max-width:640px}
.feelings-scroll .eyebrow{font-size:10px;letter-spacing:.1em;font-weight:700;color:var(--muted)}
.feelings-scroll .feelings-quiet,.feelings-scroll .feelings-private{font-size:13px;line-height:1.6;color:var(--muted)}
.feelings-footer{flex:0 0 auto;padding:10px 22px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper)}
.feelings-footer p{margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
.feelings-panel button:focus-visible,.feelings-link:focus-visible,.feelings-text:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.feelings-panel .button{min-height:48px;padding:12px 18px;font-size:15px;line-height:1.5;box-shadow:none;justify-content:center}
.feelings-panel .button[disabled]{opacity:.5;cursor:default}
.feelings-text,.feelings-panel .text-button{background:transparent;border:0;color:var(--green);font-weight:650;font-size:14px;min-height:44px;padding:8px 0;cursor:pointer}
button.feelings-link{display:inline;background:#e3e9dd;border:0;border-radius:5px;color:var(--green);font:inherit;font-weight:650;text-align:inherit;line-height:inherit;padding:.05em .16em;box-decoration-break:clone;cursor:pointer;text-decoration:none}
.scripture-card .feelings-link,.passage-card .feelings-link{background:transparent}
.feelings-link:hover{background:#d6e2cf}
.feelings-question-helper{display:block;margin:8px 0}
.feelings-mode,.feelings-steps{display:flex;gap:4px;padding:4px;background:#edf0e7;border-radius:14px;margin:20px 0 8px}
.feelings-mode button,.feelings-steps button{flex:1;min-height:44px;border:0;border-radius:11px;padding:8px;font-size:13px;line-height:1.4;color:var(--green);background:transparent}
.feelings-mode [aria-selected=true],.feelings-steps [aria-current=step]{background:var(--paper);box-shadow:0 2px 8px #213e3210;font-weight:750}
.feelings-explore-tools{text-align:center}
.feelings-guidance-focus{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.feelings-guidance-focus button{min-height:44px;max-width:100%;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:18px;padding:8px 14px;background:transparent;color:var(--green);font:inherit;font-size:14px}
.feelings-guidance-focus [aria-pressed=true]{border-color:var(--green);background:#e8ede2;font-weight:700}
#fw-guidance-invitation{font-size:21px;line-height:1.4;margin:24px 0 12px;letter-spacing:-.02em}
.feelings-guidance-choices{display:grid;gap:8px;margin-bottom:24px}
.feelings-guidance-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--green);font:inherit;font-size:15px;line-height:1.5}
.feelings-guidance-choices button span:first-child{min-width:0;overflow-wrap:anywhere}
.feelings-guidance-choices [aria-pressed=true]{border-color:var(--green);background:#e8ede2;font-weight:700}
.feelings-guidance-mapping{margin:0;padding:0}
.feelings-guidance-question{font-size:17px;font-weight:650;line-height:1.65;letter-spacing:normal;margin:24px 0 6px}
#fw-guidance-question{font-size:15px;line-height:1.65;margin:6px 0 0}
.feelings-kept{padding:14px 0;border-bottom:1px solid var(--line)}
.feelings-tags,.feelings-insight-words{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.feelings-tag,.feelings-insight-words span{display:inline-flex;align-items:center;gap:4px;border-radius:14px;background:#e8ede2;padding:4px 12px;color:var(--green);font-size:14px;font-weight:650;overflow-wrap:anywhere;max-width:100%}
.feelings-tag button{width:36px;height:36px;border:0;background:transparent;color:inherit;font-size:23px}
.feelings-wheel-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:var(--muted);min-height:44px}
.feelings-wheel-navigation .wheel-nav-actions{display:flex;gap:18px}
.feelings-wheel-navigation .overview-label{display:block;width:100%;text-align:center;font-size:12px;font-weight:650;letter-spacing:.08em;line-height:1.65;color:var(--green)}
.feelings-wheel{display:block;width:100%;max-width:440px;height:auto;margin:0 auto;overflow:visible;isolation:isolate}
.feelings-wheel path{stroke:var(--paper);stroke-width:1.4;cursor:pointer}
.feelings-wheel path.active{stroke:#315b47;stroke-width:3}
.feelings-wheel text{font-family:inherit;font-weight:600;fill:#213e32}
.feelings-wheel .wheel-center-label{font-weight:750;letter-spacing:-.04em}
.feelings-wheel .wheel-center-sub{font-weight:500;letter-spacing:.1em;fill:var(--muted)}
.feelings-wheel .wheel-home-circle{fill:var(--paper);cursor:pointer}
.feelings-wheel [role=button]:focus-visible{outline:none;stroke:var(--green);stroke-width:4}
.feelings-wheel [role=button]:focus{outline:none}
.feelings-wheel .feelings-tapped{animation:feelings-tap .28s ease-out}
@keyframes feelings-tap{from{filter:brightness(.94)}to{filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.feelings-wheel .feelings-tapped{animation:none;stroke:var(--green);stroke-width:3}}
.feelings-footer #fw-feedback:empty{display:none}
.feelings-footer #fw-feedback:not(:empty){margin-top:3px;color:var(--green)}
.feelings-caption{font-size:12px;text-align:center;color:var(--muted)}
.feelings-caption .view-feeling{display:block;margin:0 auto}
.feelings-selection{padding:20px 0;border-top:1px solid var(--line)}
.feelings-selection:empty{display:none}
.feelings-selection .feelings-question{font-weight:650}
.feelings-explore-bottom{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.feelings-process-bottom{display:flex;flex-direction:row;align-items:stretch;gap:12px;margin-top:20px}
.feelings-process-bottom>.button{flex:1 1 0;min-width:0;margin:0}
.feelings-support{color:var(--green);font-weight:650;text-decoration:none;background:#e3e9dd;border-radius:4px;padding:.05em .16em;box-decoration-break:clone}
.feelings-support:hover{background:#d6e2cf}
.feelings-support:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.feelings-list-words{display:flex;flex-wrap:wrap;gap:8px}
.feelings-list-words button{background:#eef1e8;border:1px solid var(--line);border-radius:12px;padding:8px 12px;min-height:44px;color:var(--green);font-size:14px}
.feelings-list-family{margin:20px 0}
.feelings-list-family h3{font-size:19px}
.feelings-panel input{width:100%;min-height:48px;border:1px solid var(--line);border-radius:14px;padding:12px;font-size:16px;background:var(--paper);color:var(--ink)}
.feelings-behavior-label{display:block;margin:20px 0 8px;font-size:14px;font-weight:650;color:var(--green)}
.feelings-behavior-select{display:block;width:100%;min-height:52px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--green);font:inherit;font-size:16px;cursor:pointer}
.feelings-behavior-select:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.feelings-behavior-result{margin-top:20px}
.feelings-behavior-result.is-changing{animation:feelings-behavior-change .18s ease-out}
.feelings-behavior-result .feelings-list-words [aria-pressed=true]{border-color:var(--green);background:#e0e8d8;font-weight:700}
@keyframes feelings-behavior-change{from{opacity:.45}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.feelings-behavior-result.is-changing{animation:none}}
.feelings-field{display:block;font-size:17px;font-weight:650;margin:24px 0}
.feelings-field small{display:block;font-size:13px;font-weight:400;color:var(--muted);margin:6px 0 12px}
.feelings-field textarea{display:block;width:100%;min-height:140px;resize:vertical;padding:16px;margin-top:12px;border:1px solid var(--line);border-radius:18px;background:var(--paper);font-family:inherit;font-size:16px;line-height:1.65;color:var(--ink)}
.feelings-passage{padding:16px 0;border-bottom:1px solid var(--line)}
.feelings-sharing-guide summary{min-height:44px;cursor:pointer;font-weight:650}
.feelings-sharing-guide blockquote,.feelings-sentence{margin:16px 0;padding:18px;background:#eef1e8;border-radius:16px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.feelings-insight{margin:20px 0 0;padding:18px;border:1px solid var(--line);border-radius:18px;background:#f1f3eb}
.feelings-insight p{white-space:pre-wrap;overflow-wrap:anywhere}
.feelings-insight .eyebrow{font-size:10px;margin:0}
.feelings-insight-actions{display:flex;flex-wrap:wrap;gap:20px}
@keyframes feelings-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:350px){.feelings-header,.feelings-scroll,.feelings-footer{padding-left:18px;padding-right:18px}.feelings-header h2{font-size:23px}.feelings-mode button,.feelings-steps button{font-size:12px}}
@media(max-width:640px){
 .feelings-panel:not(.is-expanded) .feelings-intro{display:none}
 .feelings-panel:not(.is-expanded) .feelings-scroll{padding:12px 20px 24px}
 .feelings-panel:not(.is-expanded) .feelings-mode{margin:0 0 2px}
 .feelings-panel:not(.is-expanded) .feelings-wheel{max-width:min(100%,calc(67svh - 250px))}
}
@media(prefers-reduced-motion:reduce){dialog.feelings-panel[open]{animation:none}}

/* No persistent status strip; connection errors appear only when attention is needed. */
.feelings-save-error:not([hidden]){margin:0;padding:12px 22px;border-top:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--green)}
.feelings-entry-error{font-size:14px;line-height:1.5;color:#824d39}
.feelings-panel[aria-busy=true] .feelings-header-actions{pointer-events:none}
