@import"https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap";:root{font-family:"Source Sans 3",Noto Sans Devanagari,sans-serif;color:#2e2016;background:#fff8ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh;background:#fff8ef}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.welcome-page,.onboarding-page,.assessment-page,.results-page{min-height:100dvh;display:grid;place-items:center;padding:42px 20px;background:#fff8ef}.welcome-inner,.onboarding-inner,.assessment-inner,.results-inner{width:min(100%,760px);display:flex;flex-direction:column;align-items:center}.brand{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;margin-bottom:18px}.brand-mark{width:84px;height:84px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#bf6d2a;box-shadow:0 8px 18px #6a3c193d}.brand-name,.source-heading h1,.welcome-card h1,.signup-card h1,.result-card h2,.feature-card>h2{font-family:Playfair Display,Noto Sans Devanagari,serif}.brand-name{color:#bf6d2a;font-size:clamp(2.8rem,7vw,4.4rem);line-height:1;font-weight:700}.brand-tagline{color:#7a614e;font-size:1.2rem;font-weight:500}.brand-compact{flex-direction:row;margin:0;gap:10px;text-align:left}.brand-compact .brand-mark{width:42px;height:42px}.brand-compact .brand-name{font-size:1.6rem}.language-button{margin:10px 0 26px;border:1px solid #d4b896;border-radius:999px;background:#fffaf4;color:#bf6d2a;padding:9px 16px;font-weight:700;font-size:.97rem}.welcome-card,.signup-card,.assessment-card,.result-card,.feature-card{width:100%;background:#fffaf4;border:1px solid #d4b896;border-radius:20px;box-shadow:0 10px 30px #5334180f}.welcome-card{padding:38px 44px;text-align:center}.welcome-card h1{font-size:2.25rem;margin:0 0 8px}.welcome-card>p{margin:0 0 32px;color:#7a614e;font-size:1.12rem}.primary-button,.secondary-button,.soft-button,.game-button{min-height:55px;border-radius:14px;border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;font-weight:700;text-decoration:none;text-align:center}.primary-button{background:#bf6d2a;color:#fff;box-shadow:0 5px 10px #bf6d2a33}.primary-button:hover{background:#a05520}.primary-button.large,.secondary-button.large,.soft-button.large{width:100%;min-height:64px;font-size:1.2rem}.secondary-button,.soft-button{color:#bf6d2a;background:#f8e4c8;border:1px solid #e1c5a0}.soft-button{min-height:48px;font-size:1rem}.or-divider{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;color:#9a8070;margin:18px 0}.or-divider:before,.or-divider:after{content:"";height:1px;background:#eadbc8}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#2e201673}.modal-card{position:relative;width:min(100%,480px);padding:34px;border-radius:20px;background:#fffaf4;border:1px solid #d4b896;box-shadow:0 22px 60px #00000038}.modal-card h2{margin:0 0 6px;font-family:Playfair Display,serif;font-size:2rem;color:#bf6d2a}.modal-card p{margin:0 0 22px;color:#7a614e}.caretaker-dialog{max-height:calc(100dvh - 40px);overflow-y:auto}.caretaker-memory-panel{margin-top:24px;padding-top:18px;border-top:1px solid #e8d5b8;text-align:left}.caretaker-memory-panel h3{margin:0 0 10px;color:#bf6d2a}.caretaker-memory-panel p{font-size:.95rem;margin-bottom:12px}.learned-memory-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.learned-memory-list li{border:1px solid #e8d5b8;border-radius:12px;padding:12px;overflow-wrap:anywhere}.learned-memory-list blockquote{margin:0 0 6px;font-size:1rem}.learned-memory-list small{display:block;color:#7a614e;margin-bottom:8px}.learned-memory-list .soft-button{min-height:44px}.modal-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;color:#7a614e;background:#f8e4c8}.reminder-dialog{text-align:center}.reminder-dialog strong{display:block;margin:8px 0;color:#2e2016;font-size:1.45rem}.dialog-icon{color:#bf6d2a;margin-bottom:8px}.reminder-snooze{margin-top:10px}.text-input{width:100%;min-height:56px;border:1px solid #c9a87c;border-radius:12px;padding:12px 16px;color:#2e2016;background:#fffdf9;outline:none;font-size:1.12rem}.text-input:focus{border-color:#bf6d2a;box-shadow:0 0 0 4px #bf6d2a29}.field-label{display:block;margin:18px 0 8px;font-weight:600;color:#2e2016}.onboarding-note{max-width:640px;margin:0 0 4px;color:#7a614e;font-size:1.05rem;text-align:center}.signup-card{padding:38px 44px}.step-label{color:#7a614e;font-weight:600;font-size:1rem}.step-label.right{width:100%;text-align:right}.signup-card h1{font-size:clamp(1.85rem,4vw,2.55rem);margin:16px 0 28px;line-height:1.22}.large-input{min-height:72px;font-size:1.35rem}.error-line{min-height:30px;padding-top:6px;color:#b7312c;font-weight:600}.align-left{justify-content:flex-start}.source-heading{display:flex;flex-direction:column;align-items:center;text-align:center}.source-heading h1{margin:0;color:#bf6d2a;font-size:clamp(2.2rem,5vw,3.4rem)}.source-heading>p{margin:7px 0 0;color:#7a614e;font-size:1.1rem}.source-heading .language-button{margin-bottom:24px}.assessment-inner,.results-inner{width:min(100%,900px)}.assessment-card{padding:34px 40px}.assessment-card h2{font-size:clamp(1.6rem,3.5vw,2.3rem);line-height:1.32;margin:16px 0 28px}.option-stack{display:grid;gap:10px}.option-button{min-height:66px;border:1px solid #d4b896;border-radius:12px;background:#f8e4c8;color:#bf6d2a;padding:12px 20px;font-weight:700;font-size:1.18rem;text-align:left}.option-button:hover{background:#bf6d2a;color:#fff}.left-button{margin-top:20px}.result-card{padding:34px 40px;text-align:center;margin-bottom:24px}.result-card h2{font-size:2rem;margin:0 0 8px}.result-card>p{margin:0 0 20px;color:#7a614e}.scale-list{display:grid;gap:10px;text-align:left}.scale-row{display:grid;grid-template-columns:105px 1fr;gap:16px;align-items:center;padding:13px 16px;border:2px solid;border-radius:12px;background:#fffdf9}.scale-row strong{text-align:center}.scale-row.success{border-color:#4a8b61;color:#356a46}.scale-row.olive{border-color:#749b42;color:#577c2d}.scale-row.amber{border-color:#c18426;color:#a06010}.scale-row.orange{border-color:#d37a25;color:#bf5000}.scale-row.danger{border-color:#c94d45;color:#b7312c}.score-card{padding-top:38px}.score{color:#bf6d2a;font-family:Playfair Display,serif;font-size:clamp(3.4rem,9vw,5.4rem);line-height:1;font-weight:700;margin:14px 0 8px}.severity{color:#a06010;font-family:Playfair Display,serif;font-size:1.6rem;margin-bottom:18px}.disclaimer{max-width:610px;margin:0 auto 24px!important}.chat-page{min-height:100dvh;display:grid;grid-template-columns:254px minmax(0,1fr);gap:16px;padding:20px;background:#fff8ef}.tools-panel{border:1px solid #ddc9b0;background:#fffaf4;padding:18px 12px;border-radius:16px;height:calc(100dvh - 40px);position:sticky;top:20px;overflow-y:auto}.tools-title{display:flex;align-items:center;gap:10px;padding:4px 8px 12px;color:#bf6d2a;font-weight:700;font-size:1.45rem}.tools-rule{height:1px;background:#ddc9b0;margin-bottom:10px}.tool-link{width:100%;min-height:54px;display:flex;align-items:center;gap:13px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#4d3524;text-align:left;font-size:1.08rem;font-weight:600}.tool-link:hover{background:#f8e4c8;color:#bf6d2a}.danger-link{color:#b7312c}.chat-main{min-width:0;min-height:calc(100dvh - 40px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.chat-header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:12px 18px;border-radius:14px;border:1px solid #e8d8c8;background:#fffaf4}.chat-person{display:flex;align-items:center;gap:13px}.chat-avatar{width:55px;height:55px;display:grid;place-items:center;border-radius:50%;color:#bf6d2a;background:#f8e4c8}.chat-person h1{margin:0;font-size:1.65rem}.chat-person p{margin:2px 0 0;color:#7a614e;font-style:italic}.chat-meta{display:flex;flex-direction:column;align-items:flex-end;color:#7a614e;font-size:.92rem}.chat-meta strong{color:#bf6d2a;font-size:1.45rem}.chat-meta .language-button{margin:7px 0 0;padding:6px 10px;font-size:.84rem}.data-file-status{margin-top:3px;color:#356a46;font-weight:700;text-align:right}.data-file-status.not-connected{color:#a06010}.data-file-status.browser-unsupported{color:#b7312c}.data-folder-note{padding:10px 12px;border-left:3px solid #bf6d2a;border-radius:6px;background:#f8e4c8;color:#5b412d!important;font-size:.94rem;line-height:1.4}.chat-scroll{min-height:340px;overflow-y:auto;padding:18px;border:1px solid #e0cdb8;border-radius:14px;background:#fff8ef;display:flex;flex-direction:column;gap:10px}.message-row{display:flex;max-width:78%}.message-row.user{align-self:flex-end}.message-row.assistant,.message-row.system{align-self:flex-start}.message-bubble{white-space:pre-line;padding:15px 20px;border-radius:20px;background:#f6e9da;color:#2e2016;font-size:1.12rem;line-height:1.42}.message-row.user .message-bubble{background:#bf6d2a;color:#fff}.message-row.system .message-bubble{background:#eaf5ee;color:#356a46;border-radius:10px}.typing{color:#9a8070;letter-spacing:4px}.chat-composer{display:grid;gap:8px}.quick-prompts{display:flex;flex-wrap:wrap;gap:8px}.quick-prompts button{border:1px solid #dfc9ac;border-radius:999px;padding:8px 12px;color:#7a614e;background:#f5e8d5;font-weight:600}.input-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center}.chat-input{min-width:0;min-height:72px;border:1px solid #c9a87c;border-radius:14px;padding:13px 17px;color:#2e2016;background:#fffaf4;font-size:1.15rem;outline:none}.chat-input:focus{box-shadow:0 0 0 4px #bf6d2a26}.round-control{min-width:74px;min-height:72px;border:0;border-radius:16px;display:grid;place-items:center;align-content:center;gap:2px;padding:8px;color:#fff;background:#9a8070;font-size:.71rem;font-weight:700}.round-control.active,.send-control{background:#bf6d2a}.tool-page{min-height:100dvh;background:#fff8ef}.tool-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 28px;color:#fff;background:linear-gradient(100deg,#bf6d2a,#a05520);border-radius:0 0 18px 18px}.tool-header h1{margin:0;font-size:1.85rem}.tool-header p{margin:2px 0 0;color:#ffe6c8}.danger-header{background:linear-gradient(100deg,#9e2a2a,#c04040)}.header-actions{display:flex;align-items:center;gap:10px}.tool-header .language-button{margin:0;background:#ffffff26;color:#fff;border-color:#ffffff73}.header-back{display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.5);border-radius:10px;padding:9px 14px;color:#fff;background:#ffffff21;font-weight:700}.tool-content{width:min(100% - 32px,900px);margin:0 auto;padding:38px 0 60px}.feature-card{padding:34px 40px}.feature-card>h2{margin:0 0 8px;font-size:2.1rem;text-align:center}.feature-description{max-width:720px;margin:0 auto 26px;color:#7a614e;text-align:center;font-size:1.1rem}.reminder-labels{display:grid;grid-template-columns:1fr 270px;gap:14px;color:#bf6d2a;font-size:1rem;font-weight:700;margin-bottom:6px}.reminder-labels span:last-child{text-align:center}.reminder-form{display:grid;grid-template-columns:minmax(0,1fr) 72px 16px 72px 100px;align-items:center;gap:8px}.time-select{min-height:56px;width:100%;border:1px solid #c9a87c;border-radius:12px;padding:9px;color:#2e2016;background:#fffdf9;text-align:center;font-weight:700}.colon{color:#bf6d2a;font-size:2rem;font-weight:700;text-align:center}.add-button{min-height:56px;padding:8px 12px}.section-rule{height:1px;background:#e8d5b8;margin:26px 0 18px}.section-title{margin:0 0 14px;font-size:1.5rem}.reminder-list,.song-list,.gallery-list{display:grid;gap:8px}.reminder-row,.photo-row,.song-row{display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:64px;padding:10px 14px;border:1px solid #e8d5b8;border-radius:13px;background:#fffdf9}.reminder-name,.reminder-actions{display:flex;align-items:center;gap:11px}.time-chip{padding:6px 12px;border:1px solid #d4a878;border-radius:9px;color:#bf6d2a;background:#f8e4c8;font-weight:700}.delete-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e8bcbc;border-radius:9px;color:#b7312c;background:#ffecec}.empty-state{padding:28px 12px;color:#9a8070;font-size:1.05rem;font-style:italic;text-align:center}.photo-add-card,.gallery-card{margin-bottom:28px;text-align:center}.upload-button{width:fit-content;display:inline-flex;align-items:center;gap:8px;margin:10px auto;padding:13px 18px;border:1px solid #d4b896;border-radius:12px;color:#bf6d2a;background:#f8e4c8;font-weight:700;cursor:pointer}.upload-button input{display:none}.selected-file{display:block;min-height:28px;color:#9a8070}.selected-file.selected{color:#356a46}.photo-add-card .field-label,.photo-row{text-align:left}.photo-row img{width:80px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #d4b896}.photo-missing{width:80px;height:80px;display:grid;place-items:center;flex:0 0 auto;border:1px dashed #d4b896;border-radius:8px;color:#9a8070;background:#fff8ef}.photo-row span{flex:1;font-weight:600}.centered-link{width:100%;margin-top:18px}.games-card{width:min(100%,600px);margin:0 auto;display:grid;gap:18px}.game-button{width:100%;min-height:68px;color:#fff;background:#bf6d2a;font-size:1.15rem}.game-button:hover{background:#a05520}.spotify-game{background:#1db954}.centered-game,.memory-card-page,.music-card,.weather-card,.safety-card,.calm-card,.slideshow-card{width:min(100%,680px);margin:0 auto;text-align:center}.centered-game h2{margin:0 0 10px;font-size:1.45rem}.attempts{color:#7a614e;margin:0 0 22px}.number-input{max-width:300px;text-align:center;margin-bottom:18px}.wide-button{width:100%;margin-top:12px}.success-text{color:#356a46!important}.memory-card-page h2{font-family:"Source Sans 3",sans-serif;font-size:1.3rem}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px auto;max-width:560px}.memory-card{aspect-ratio:1;border:0;border-radius:10px;color:#bf6d2a;background:#f8e4c8;font-size:clamp(1.4rem,4vw,2rem);font-weight:700}.memory-card.revealed{color:#2e2016;background:#fff;box-shadow:inset 0 0 0 1px #d4b896}.now-playing{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border:1px solid #c9a87c;border-radius:12px;color:#bf6d2a;background:#f8e4c8;text-align:left;font-weight:600}.spotify-button,.play-button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:8px;color:#fff;background:#1db954;padding:8px 11px;font-size:.85rem;font-weight:700;white-space:nowrap}.song-list{margin:18px 0}.song-row{text-align:left}.song-row>span{flex:1}.song-row>div{display:flex;gap:8px}.song-add{display:grid;grid-template-columns:1fr 100px;gap:8px}.weather-card,.safety-card,.calm-card,.slideshow-card{display:flex;flex-direction:column;align-items:center}.weather-icon{color:#bf6d2a;margin-bottom:12px}.weather-temperature{font-family:Playfair Display,serif;font-size:4.2rem;color:#2e2016;line-height:1}.weather-condition{margin-top:8px;color:#7a614e;font-size:1.3rem}.weather-location{display:flex;align-items:center;gap:7px;margin:16px 0 28px;color:#7a614e}.safety-card{background:#fffaf4}.danger-page{background:#fff3f3}.sos-icon{color:#b7312c;margin-bottom:14px}.safety-card p{max-width:600px;margin:0 0 28px;font-size:1.13rem;line-height:1.5}.sos-button{min-height:92px;width:min(100%,410px);display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:14px;color:#fff;background:#b7312c;font-size:1.25rem;font-weight:700;box-shadow:0 6px 14px #b7312c38}.contact-line{margin-top:22px!important;color:#7a614e;font-size:.98rem!important}.contact-line a{color:#bf6d2a;font-weight:700}.breathing-circle{width:min(260px,62vw);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;color:#2e2016;background:#c47d3e99;font-size:1.35rem;font-weight:700;margin-bottom:24px}.breathing-circle.breathing{animation:breathe 8s ease-in-out infinite}@keyframes breathe{0%,to{transform:scale(.52)}50%{transform:scale(1)}}.calm-status{margin:0 0 24px;color:#7a614e;font-size:1.15rem}.slideshow-card img{width:min(100%,520px);height:360px;object-fit:contain;border:2px solid #d4b896;background:#fffdf9;border-radius:10px}.slideshow-card>p{color:#7a614e}.button-row{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}@media(max-width:760px){.welcome-page,.onboarding-page,.assessment-page,.results-page{padding:26px 14px}.welcome-card,.signup-card,.assessment-card,.result-card,.feature-card{padding:26px 20px;border-radius:16px}.brand-mark{width:70px;height:70px}.welcome-card h1{font-size:2rem}.chat-page{display:block;padding:0}.tools-panel{position:static;width:100%;height:auto;border-radius:0;display:flex;overflow-x:auto;gap:3px;padding:8px;border-left:0;border-right:0}.tools-title,.tools-rule{display:none}.tool-link{width:auto;flex:0 0 auto;min-height:44px;padding:8px 10px;gap:6px;font-size:.9rem;white-space:nowrap}.chat-main{min-height:calc(100dvh - 61px);padding:10px}.chat-header{padding:10px;flex-wrap:wrap;gap:8px}.chat-meta{display:flex;margin-left:auto}.chat-meta>strong,.chat-meta>span{display:none}.chat-meta .language-button{margin:0;min-height:44px;padding:8px 12px}.chat-person{width:100%;min-width:0}.chat-person>div{min-width:0}.chat-person h1{font-size:1.35rem;overflow-wrap:anywhere}.chat-person p{font-size:.9rem}.message-row{max-width:90%}.message-bubble{font-size:1rem}.input-row{grid-template-columns:minmax(0,1fr) 54px 54px 54px}.round-control{min-width:0;min-height:58px;padding:4px}.round-control span{display:none}.chat-input{min-height:58px}.tool-header{padding:16px;align-items:flex-start}.tool-header h1{font-size:1.45rem}.tool-header p{font-size:.86rem}.tool-header .language-button{display:none}.header-back{padding:8px 10px;font-size:.85rem}.tool-content{width:min(100% - 20px,900px);padding:24px 0 40px}.reminder-labels{display:none}.reminder-form{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}.reminder-form .time-select{min-width:0}.reminder-form .text-input,.reminder-form .add-button{grid-column:1 / -1}.reminder-row{align-items:flex-start}.reminder-actions{gap:6px}.scale-row{grid-template-columns:82px 1fr;gap:10px;padding:10px}.now-playing{align-items:flex-start;flex-direction:column}.photo-row img,.photo-missing{width:58px;height:58px}.button-row{grid-template-columns:1fr}.slideshow-card img{height:270px}}
