.phone { background: #f9f8f2; }
.phone::before, .phone::after { opacity: .12; }
.top-bar { background: #f9f8f2; border-bottom: 0; }
.elder-home { padding-top: 4px; gap: 16px; }
.elder-home .seasonal-feature { min-height: 194px; overflow: hidden; padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: #e9efdf; border-radius: 24px 24px 64px 24px; isolation: isolate; }
.seasonal-feature::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -28px; top: 20px; background: #dce6ca; z-index: -1; transition: transform .45s; }
.seasonal-feature .seasonal-entry-copy { display: flex; flex-direction: column; gap: 8px; width: 66%; }
.seasonal-feature .seasonal-entry-copy small { color: #586e45; font-size: 12px; }
.seasonal-feature .seasonal-entry-copy strong { color: #304a30; font-size: 34px; letter-spacing: .04em; }
.seasonal-feature .seasonal-entry-copy em { color: #59674d; font-size: 11px; }
.seasonal-invite { color: #526346; font-size: 13px; margin-top: 2px; }
.seasonal-feature > b { position: relative; display: inline-flex; align-items: center; gap: 14px; margin-top: 4px; color: #324b31; font-size: 13px; border-bottom: 1px solid #8c9f74; padding-bottom: 5px; }
.seasonal-feature > b span { transition: transform .25s; }
.tea-scene { position: absolute; right: -1px; top: 28px; width: 148px; pointer-events: none; transform-origin: 50% 80%; transition: transform .4s; }
.tea-scene svg { width: 100%; height: auto; }
.tea-steam { animation: tea-rise 3.6s ease-in-out 3; transform-origin: center; opacity: .6; }
.steam-two { animation-delay: .5s; }
.steam-three { animation-delay: 1s; }
@keyframes tea-rise { 0%,100% { transform: translateY(3px); opacity: .15; } 50% { transform: translateY(-5px); opacity: .7; } }
.elder-home .assessment-entry { min-height: 80px; background: transparent; border: 0; border-top: 1px solid #e4e5d9; border-bottom: 1px solid #e4e5d9; border-radius: 0; padding: 14px 3px; }
.assessment-entry > span { font-size: 17px; }
.assessment-entry > b { width: 62px; height: 48px; border-radius: 50%; background: #f1e4d7; display: grid; place-items: center; color: #865640; font-size: 12px; }
.elder-home .tool-card { min-height: 120px; border: 0; border-radius: 18px 18px 18px 5px; background: #f1e8dc; }
.elder-home .tool-card:nth-child(2) { background: #eaf0e6; border-radius: 18px 18px 5px 18px; }
.elder-home .tool-card::after { width: 60px; height: 60px; right: -10px; bottom: -16px; background: #fff8; opacity: .7; border: 0; }
.elder-home .tool-card svg { top: 13px; right: 12px; background: #fff8; border-radius: 50%; width: 28px; height: 28px; padding: 4px; }
.elder-home .tool-label { font-size: 18px; }
.elder-home .tool-card small { font-size: 13px; }
.elder-home .tool-card b { font-size: 13px; }
.elder-home .symptoms-grid { gap: 9px; }
.elder-home .symptom-card { border-radius: 15px 15px 15px 4px; border: 1px solid #e4e4d9; background: #fffdf8; box-shadow: none; color: #525c4b; min-height: 43px; font-size: 13px; }
.elder-home .symptom-card:nth-child(even) { border-radius: 15px 15px 4px 15px; }
.elder-home .symptom-card { display: flex; align-items: center; justify-content: center; text-align: center; }
.elder-home .symptom-card span { display: block; width: 100%; line-height: 1.5; text-align: center; }
.elder-home .symptom-card span::before { content: none; }
.elder-home button { transition: transform .2s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.elder-home button:active { transform: scale(.975); }
.bottom { background: #f9f8f2f5; }
.seasonal-panel.visible { animation: panel-arrive .3s ease-out; }
@keyframes panel-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.topics-refreshing { animation: topics-arrive .28s ease-out; }
@keyframes topics-arrive { from { opacity: .3; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
 .elder-home .seasonal-feature:hover .tea-scene { transform: rotate(-4deg) translateY(-4px); }
 .elder-home .seasonal-feature:hover::before { transform: scale(1.12); }
 .seasonal-feature:hover > b span { transform: translate(3px,-3px); }
 .elder-home .tool-card:hover, .elder-home .symptom-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px #31422d0d; }
}
@media (max-width: 360px) { .tea-scene { width: 120px; top: 45px; } .seasonal-feature .seasonal-entry-copy { width: 70%; } .elder-home .section-title { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .tea-steam, .seasonal-panel.visible, .topics-refreshing { animation: none; } .elder-home button, .tea-scene, .seasonal-feature::before, .seasonal-feature > b span { transition: none; } }
/* A quieter reading surface for the existing consultation flow. */
.phone.chat-active::before, .phone.chat-active::after { display: none; }
.phone.chat-active .result-panel { top: 68px; bottom: 86px; left: 0; right: 0; padding: 0 16px 18px; background: #f9f8f2; box-shadow: none; border: 0; border-radius: 0; }
.result-panel .result-head { position: sticky; top: 0; z-index: 3; display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 0 18px; padding: 10px 0 12px; background: #f9f8f2; border-bottom: 1px solid #e4e6da; }
.result-head strong { display: block; color: #344b34; font-size: 16px; font-weight: 600; }
.result-head #resultClose { width: 38px; height: 38px; min-width: 38px; padding: 0; border: 1px solid #e0e3d5; border-radius: 50%; color: #526b45; background: #fffdf8; box-shadow: none; }
#resultContent { min-height: 0; gap: 22px; padding: 0 0 20px; background: transparent; }
#resultContent .msg-row { gap: 8px; }
#resultContent .msg-avatar { background: #e6ecdc; color: #4c6540; box-shadow: none; border: 0; width: 28px; height: 28px; font-size: 12px; }
#resultContent .msg { font-size: 15px; line-height: 1.85; box-shadow: none; }
#resultContent .ai-msg { max-width: 100%; background: #fffdf8; border: 1px solid #e6e7dc; padding: 14px; border-radius: 4px 18px 18px 18px; color: #343c30; }
#resultContent .user-msg { background: #e4ecd9; border: 0; color: #33452d; padding: 11px 15px; border-radius: 18px 4px 18px 18px; }
#resultContent .user-msg .answer-text { color: #33452d; }
#resultContent .user-row .msg-avatar { background: #eee8dd; color: #7a624b; }
#resultContent .answer-text { font-size: 15px; line-height: 1.85; margin: 0 0 10px; }
#resultContent .answer-text:last-child { margin-bottom: 0; }
#resultContent .faq-list { display: grid; gap: 9px; margin-top: 15px; }
#resultContent .faq-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 11px 12px; background: #f2f5eb; border: 0; border-radius: 11px; box-shadow: none; color: #43583a; text-align: left; font-size: 14px; line-height: 1.6; white-space: normal; }
#resultContent .faq-item::after { content: '↗'; flex-shrink: 0; color: #7e916d; }
#resultContent .faq-item:active { background: #e5ecd9; }
#resultContent .product-card { background: #f3f5ed; border: 1px solid #e0e5d5; border-radius: 14px; box-shadow: none; padding: 12px; }
#resultContent .result-section h3 { color: #45613b; font-size: 15px; margin: 14px 0 8px; }
#resultContent .product-name { font-size: 14px; }
.phone.chat-active .input-bar { border-radius: 16px; }
.phone.chat-active .result-panel.visible { display: flex; flex-direction: column; overflow: hidden; }
.result-panel .result-head { position: static; flex: 0 0 auto; }
#resultContent { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
