:root{--white:#fff;--forest:#171717;font-family:Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:15px}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus,a:focus,input:focus,textarea:focus,select:focus{outline:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:1px solid #777;outline-offset:2px}input:focus-visible,textarea:focus-visible{background-color:#ececef}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin:0}p{line-height:1.85}a{color:var(--forest)}.shell{min-height:100dvh;display:grid;grid-template-columns:214px minmax(0,1fr)}.rail{position:sticky;top:0;height:100dvh;background:#f7f7f8;border-inline-end:1px solid var(--line);padding:28px 18px 20px;display:flex;flex-direction:column;gap:34px}.brand{color:var(--ink);display:flex;align-items:center;gap:11px;text-decoration:none;direction:ltr;justify-content:center;font:750 24px/1 system-ui;letter-spacing:-.06em}.brand b span{color:#3452ff}.dna-brand{display:block;border-radius:10px;object-fit:contain;flex:none}.top-identity{display:flex;align-items:center;gap:8px}.top-logo{display:none}.dna-welcome{display:block;margin:0 auto 10px;border-radius:17px;object-fit:contain}.mark,.avatar{display:grid;place-items:center;background:var(--forest);color:var(--accent);border-radius:12px;width:38px;height:38px;font:750 20px system-ui;flex:none}nav{display:grid;gap:7px}nav button,.rail-account{border:0;background:transparent;color:var(--muted);border-radius:13px;min-height:49px;display:flex;align-items:center;text-align:start;gap:12px;padding:0 13px}nav button:hover,.rail-account:hover{background:#ececef}nav button[aria-current]{color:var(--forest);background:#e8e8ed;font-weight:700}nav i{font: 21px/1 system-ui;width:26px;text-align:center}.rail-account{margin-top:auto}.rail-account .avatar{width:32px;height:32px;font-size:15px}main{min-width:0}.top{min-height:73px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:10px clamp(16px,4vw,48px);background:var(--paper);gap:12px}.top h1{font-size:19px;line-height:1.4}.top span{font:600 11px system-ui;color:var(--muted);letter-spacing:.12em}.quiet,.primary,.chips button,.welcome button{border:1px solid var(--line);border-radius:12px;padding:10px 15px;min-height:42px;background:var(--white);color:var(--forest)}.quiet:hover,.chips button:hover,.welcome button:hover{background:#f3f3f5}.primary,.send{border:0;background:var(--forest);color:var(--white);border-radius:13px;font-weight:700}.primary:hover,.send:hover{background:#303035}.notice{margin:12px auto;padding:10px 16px;border-radius:12px;background:#f1f3ff;width:min(760px,calc(100% - 28px))}.chat-view{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:calc(100dvh - 73px);padding:0 18px 18px}.chat-history{width:min(660px,100%);margin:0 auto;padding-block:4px 0}.history-toggle{display:inline-flex;align-items:center;gap:8px;padding:5px 11px;min-height:36px;background:transparent}#chat-history{position:fixed;inset:0;margin:0;margin-inline-end:auto;width:min(340px,88vw);height:100dvh;max-height:none;border:0;border-inline-end:1px solid var(--line);border-radius:0;padding:20px;overflow:auto;background:#f7f7f8}#chat-history[open]{animation:history-open .18s ease-out}@keyframes history-open{0%{opacity:.4;transform:translate(-20px)}to{opacity:1;transform:none}}:root[dir=rtl] #chat-history[open]{animation-direction:normal}@media(prefers-reduced-motion:reduce){#chat-history[open]{animation:none}}#history-new{width:100%;margin-block:16px}#history-rows{display:grid;gap:6px}.history-row{display:flex;gap:5px;align-items:center;min-width:0}.history-row .history-open{flex:1;min-width:0;text-align:start;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border:0;background:transparent}.history-row .history-open:hover,.history-open[aria-current=true]{background:#e8e8ed}.trash-button{color:#161616;flex:none}.gallery-delete{justify-self:end}#older-chat{align-self:center}.conversation{overflow:auto;display:flex;flex-direction:column;gap:16px;padding:25px 0;max-width:660px;width:100%;margin:0 auto}.welcome{margin:auto;text-align:center;padding:32px 8px}.spark{display:grid;place-items:center;margin:0 auto 15px;width:58px;height:58px;border-radius:20px;background:var(--accent);font-size:29px;color:var(--forest)}.welcome h2,.section-top h2{font-size:clamp(24px,4vw,35px);letter-spacing:-.04em;margin-bottom:10px}.welcome p,.section-top p,.state,.plan p,.profile-card p{color:var(--muted)}#suggestions,.account-actions,.chips{display:flex;gap:8px;flex-wrap:wrap}#suggestions{justify-content:center;margin-top:23px}.bubble{max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 17px;line-height:1.85;border-radius:18px}.bubble.user{align-self:flex-start;background:#f1f1f3}.bubble.assistant{align-self:stretch;max-width:100%;background:transparent;padding-inline:0}.chat-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:12px;white-space:normal}.chat-result{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--white);color:var(--ink);line-height:1.45}.chat-result-art{display:grid;place-items:center;aspect-ratio:16/10;padding:10px;background:#f5f5f7}.chat-result-art img{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:cover;border-radius:8px}.chat-result[data-kind=product] img{object-fit:contain}.chat-result-content{display:grid;gap:7px;padding:13px}.chat-result-content h3,.chat-result-content p{margin:0}.chat-result-content small,.chat-result-address{color:var(--muted)}.chat-result-content h3{font-size:1rem}.chat-result-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}.chat-answer{white-space:pre-wrap;line-height:1.65}.observed-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 9px;font-size:.9rem}.observed-price a,.observed-price small{font-size:.8rem}.chat-references{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:.8rem;white-space:normal}.bubble .chat-citation,.bubble .chat-reference{margin:0;border:0;border-radius:999px;background:#f0f0f2;color:var(--ink);font-size:.8rem}.bubble .chat-citation{min-width:21px;padding:1px 5px;margin-inline:3px}.bubble .chat-reference{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 8px}.chat-reference-preview{max-width:350px}.chat-result-actions a,.bubble .chat-result-actions button{display:inline-flex;align-items:center;margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:.82rem;text-decoration:none}.bubble button{margin:8px 0 0 6px}.composer{width:min(600px,100%);margin:0 auto;background:#f5f5f7;border:0;border-radius:30px;padding:7px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.composer textarea{width:100%;min-width:0;border:0;background:transparent;border-radius:8px;padding:6px;resize:none;max-height:120px;overflow-y:hidden;line-height:1.4;color:var(--ink)}.composer[data-expanded] textarea,.composer .surprise,.composer #voice-status{grid-column:1/-1}.compose-actions{display:flex;align-items:center;justify-content:space-between;gap:6px}.composer[data-expanded] .compose-actions{grid-column:1/-1}.composer:not([data-expanded]) .voice-actions{flex-wrap:nowrap}.composer:not([data-expanded]) #upload-voice{font-size:0;padding:0;min-width:32px;min-height:34px}.composer:not([data-expanded]) #upload-voice:after{content:"↑";font-size:16px}.voice-actions{display:flex;gap:6px;flex-wrap:wrap}.icon-button{display:grid;place-items:center;width:43px;height:43px;border:0;border-radius:50%;background:transparent;color:var(--ink);padding:0}.icon-button:hover,.icon-button[aria-expanded=true]{background:#e9edff;color:#243dc1}.icon-button.trash-button:hover{background:#ececef;color:#161616}.icon-button svg{width:22px;height:22px}#record .stop-icon,#record[aria-pressed=true] .mic-icon{display:none}#record[aria-pressed=true] .stop-icon{display:block}#update-dialog{box-sizing:border-box;inset-inline:0;width:100%;max-width:none;margin-inline:0}.update-actions{display:grid;grid-template-columns:minmax(0,1fr);margin-top:16px}.update-actions button{width:100%;min-height:44px}.send{width:43px;height:43px;font-size:23px;border-radius:50%;flex:none}#record[aria-pressed=true]{background:#e9edff;color:#213ac2}.surprise{border-top:1px solid var(--line);padding-top:9px;display:grid;gap:4px}.surprise div{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}.surprise output{background:#eef0ff;color:var(--forest);padding:3px 8px;border-radius:20px}input[type=range]{width:100%;accent-color:var(--forest);margin:0}.state:empty{display:none}.content{max-width:1020px;margin:0 auto;padding:32px clamp(15px,4vw,42px)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:20px}.fields{max-width:620px;display:grid;gap:10px}.fields input,.fields select,.fields textarea{border:0;border-radius:11px;background:#f2f2f4;color:var(--ink);width:100%;padding:11px 12px;min-height:45px}.tag-field{border-radius:11px;background:#f2f2f4;padding:5px 8px;display:flex;flex-wrap:wrap;align-items:center;gap:4px}.tag-chips{display:contents}.tag-chips button{border:0;border-radius:999px;background:#e5e8ff;color:#243dc1;padding:6px 10px;max-width:100%;overflow-wrap:anywhere}.tag-field #tag-entry{flex:1;min-width:132px;width:auto;padding:7px 5px;min-height:38px}.source-link{display:inline-block;margin:6px 8px 2px 0;padding:6px 10px;border-radius:9px;background:#f2f2f4;font-size:.87em;overflow-wrap:anywhere}.fields .primary{margin-top:8px}.chips{margin:0 0 18px}.chips button[aria-pressed=true]{background:var(--forest);color:#fff}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.media-card{width:100%;text-align:start;color:var(--ink);overflow:hidden;padding:0;display:grid;gap:0}.media-card:hover{border-color:#9da6d9}.media-art{position:relative;aspect-ratio:16/10;background:#eeeef1;display:grid;place-items:center;font:30px system-ui;color:var(--forest);overflow:hidden}.media-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.media-play{position:absolute;bottom:8px;right:8px;background:#141414cc;color:#fff;border-radius:50%;padding:6px 8px;font:14px system-ui}.media-meta{display:grid;gap:8px;padding:13px}.media-meta strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.media-meta small,.empty{color:var(--muted)}.pill{background:#f0f1f5;color:#2d2d33;padding:4px 10px;border-radius:999px;font-size:12px}.profile-card{display:flex;align-items:center;gap:14px;margin-bottom:14px}.profile-identity{flex:1;min-width:0;overflow-wrap:anywhere}.profile-edit{flex:none;color:var(--ink)}.avatar.big{width:53px;height:53px;font-size:25px}.plan{margin-bottom:18px}.plan progress{width:100%;accent-color:var(--forest);height:12px;margin-top:8px}dialog{border:1px solid var(--line);border-radius:22px;padding:20px;width:min(590px,calc(100% - 26px));max-height:86dvh;color:var(--ink)}dialog::backdrop{background:#171717a0}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.gallery-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}#open-filters,#apply-filters{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}#open-filters svg{flex:none}#gallery-filters[open]{display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;gap:10px;height:min(620px,85dvh);overflow:hidden}#gallery-filters .dialog-head{margin:0}#filter-search,.dna-tools input,.dna-tools select{width:100%;min-width:0;padding:10px 12px;background:#f2f2f4;border:0;border-radius:11px;color:var(--ink)}#selected-filters{display:flex;flex-wrap:wrap;gap:6px;overflow:auto;max-height:min(90px,14dvh)}.filter-chip{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;background:#edf0ff;color:#223bbb;padding:6px 10px;max-width:100%;overflow-wrap:anywhere}.filter-chip span:last-child{font-size:1.2em}#filter-tags{grid-row:5;min-height:0;overflow:auto;overscroll-behavior:contain}.filter-option{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:43px;padding:8px 10px;text-align:start;overflow-wrap:anywhere;border:0;border-radius:9px;background:transparent;color:var(--ink)}.filter-option:hover,.filter-option[aria-pressed=true]{background:#f2f2f5}.filter-mark{color:var(--muted)}.filter-footer{grid-row:6;display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:10px}.account-entry{width:100%;text-align:start;gap:12px;color:var(--ink)}.account-entry-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#f1f2f4;color:var(--ink);font-size:20px;font-weight:600}.account-entry:hover{background:#f7f7f8}.account-entry strong,.account-entry small{display:block}.account-entry small{color:var(--muted);margin-top:3px}.dna-arrow{margin-inline-start:auto;font-size:1.6rem;color:var(--muted)}[dir=rtl] .dna-arrow{transform:scaleX(-1)}.dna-heading{margin:18px 0}.dna-heading h2{font-size:clamp(23px,4vw,34px)}.dna-heading p{color:var(--muted);margin-top:6px}.dna-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);gap:9px;margin:0 0 14px}#dna-topics{display:grid;gap:8px}.dna-topic{padding:0;border-radius:14px;min-width:0}.dna-topic summary{list-style:none;display:flex;align-items:center;gap:8px;padding:13px;cursor:pointer}.dna-topic summary::-webkit-details-marker{display:none}.dna-topic summary strong{min-width:0;overflow-wrap:anywhere}.dna-topic-state{color:var(--muted);font-size:.8em}.dna-topic-arrow{margin-inline-start:auto;color:var(--muted)}.dna-topic[open] .dna-topic-arrow{transform:rotate(180deg)}.dna-topic-details{display:grid;gap:6px;border-top:1px solid var(--line);padding:10px 13px}.dna-topic-details .quiet{justify-self:start;margin-top:5px}.dna-evidence{background:#f6f6f7;border:0;border-radius:8px;text-align:start;padding:9px 10px;color:var(--ink);overflow-wrap:anywhere}.dna-evidence small{display:block;color:var(--muted)}#more-dna{margin-top:14px}.dna-memory-section{margin-bottom:24px}.mood-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.dna-memory-section>p{margin-block:5px 10px}#memory-search,.memory-form input{width:100%;min-width:0;padding:10px 12px;background:#f2f2f4;border:0;border-radius:11px;color:var(--ink)}#dna-memories,#dna-tastes{display:grid;gap:8px;margin-block:10px}.taste-row{padding:5px 12px;display:flex;align-items:center;justify-content:space-between;gap:7px;border-top:1px solid var(--line)}.taste-row small{display:block;color:var(--muted)}.memory-value{margin-inline-start:auto;max-width:54%;color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}.memory-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center}.memory-form .quiet{margin:0}.dna-gallery-heading{margin-block:0 10px}#detail{padding:14px 16px 18px}#close-detail{display:grid;margin-inline-start:auto;width:32px;height:32px;font-size:22px}#detail-title{font-size:1rem;font-weight:650;margin:0 0 10px;text-align:start;overflow-wrap:anywhere}#detail-body{display:grid;gap:10px;overflow-wrap:anywhere}.detail-preview{min-height:90px;padding:10px;display:grid;place-items:center;background:#f1f1f3;border-radius:14px}.detail-preview img,.detail-preview video{display:block;width:100%;max-height:44dvh;object-fit:contain;border-radius:7px}.detail-preview audio{width:100%}.detail-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.detail-tile{padding:8px;aspect-ratio:1;max-height:108px;overflow:auto;background:#f5f5f7;border-radius:9px;font-size:.84rem}.detail-tile strong{display:block;margin-bottom:4px}.detail-tile p{line-height:1.25}.detail-delete{display:grid;place-items:center}.detail-delete button{justify-self:center}.detail-analysis{border:1px solid var(--line);border-radius:10px}.detail-analysis summary{padding:10px 12px;cursor:pointer;font-weight:600}.detail-analysis-body{padding:0 12px 10px}.analysis-text{max-height:135px;overflow:auto;overscroll-behavior:contain;white-space:pre-wrap}.analysis-products{display:grid;gap:6px;max-height:145px;overflow:auto;margin-block:8px}.analysis-products:empty{display:none}.analysis-products .card{padding:8px;border-radius:8px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:root{--accent:#3452ff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.mark,.avatar{color:#fff;background:#161616}.rail{gap:16px}.rail .brand{justify-content:flex-start;margin:0 4px 12px}.new-chat{text-align:left}.top{background:#fff}.top span{letter-spacing:.06em}.top h1{font-size:17px}.spark{background:var(--accent);color:#fff}input[type=range],.plan progress{accent-color:var(--accent)}.surprise output{color:#243dc1}.bubble.user{align-self:flex-end}.bubble.assistant{border:0;padding-inline:3px}.auth-gate{min-height:100dvh;display:grid;grid-template-rows:auto 1fr;padding:clamp(20px,5vw,50px)}.gate-brand{justify-self:start}.gate-card{justify-self:center;align-self:center;width:min(100%,410px);text-align:center;margin-block:-30px 35px}.gate-card h1{font-size:clamp(32px,7vw,48px);letter-spacing:-.07em;line-height:1.1;margin:0 0 16px}.gate-card p{color:var(--muted)}.gate-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.gate-actions button{min-height:49px}.gate-actions .primary{background:var(--accent)}.gate-actions .primary:hover{background:#2943de}.pair-form{display:grid;gap:8px;margin-top:18px;text-align:left}.pair-form input{border:0;border-radius:10px;background:#f2f2f4;padding:12px;letter-spacing:.12em}.pair-form button{padding:12px}.gate-language{display:flex;gap:10px;justify-content:center;align-items:center;margin-top:15px;color:var(--muted)}.gate-language select{border:0;border-radius:10px;background:#f2f2f4;color:var(--ink);padding:8px 10px}:root[dir=rtl] .new-chat,:root[dir=rtl] .pair-form{text-align:start}#auth-status{margin-top:12px;font-size:.9rem}@media(max-width:680px),(pointer:coarse)and (max-width:950px){html,body{height:100%;width:100%;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}.shell,.auth-gate{height:var(--app-height,100dvh);min-height:0;max-width:100%;overflow:hidden}.shell{position:fixed;inset-inline:0;top:var(--app-top,0px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.shell main{grid-row:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.shell .rail{grid-row:2;position:static;height:auto;background:none;border:0;padding:0;display:block}.rail .brand,.rail .new-chat,.rail-account{display:none}.top-logo{display:block}nav{padding:6px max(8px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));grid-template-columns:repeat(4,minmax(0,1fr));background:#f7f7f8;border-top:1px solid var(--line)}nav button{min-width:0;flex-direction:column;justify-content:center;gap:3px;padding:4px 2px;text-align:center;font-size:12px}.top{flex:none;min-height:59px;padding-top:calc(10px + env(safe-area-inset-top));padding-inline:max(16px,env(safe-area-inset-left),env(safe-area-inset-right))}.notice{flex:none;margin-block:6px}.view{flex:1;min-height:0;min-width:0}.chat-view{height:auto;padding:0 10px 8px}.composer{min-width:0;padding:9px 11px}.composer textarea{resize:none}.conversation,.content,#detail-body,.auth-gate{overscroll-behavior:contain}.content{width:100%;overflow:auto;padding:20px max(12px,env(safe-area-inset-left),env(safe-area-inset-right))}input:not([type=range]),textarea,select{font-size:16px}.chips button,.profile-card,.section-top{overflow-wrap:anywhere}.bubble,.media-meta>*,.card{min-width:0}.auth-gate{overflow:auto;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}.gate-card{margin-block:-10px 35px}dialog{max-height:min(86dvh,calc(var(--app-height,100dvh) - 20px))}html[data-keyboard=open] .shell .rail{display:none}html[data-keyboard=open] .shell{grid-template-rows:minmax(0,1fr)}html[data-keyboard=open] .chat-view{padding-bottom:2px}}.music-playlist{margin-block:.75rem;padding:1rem}.music-playlist h3{margin:0 0 .25rem}.music-playlist ol{margin-block:.5rem 1rem;padding-inline-start:1.25rem}.music-playlist li{padding-block:.2rem}.music-playlist a{overflow-wrap:anywhere}.music-playlist p:empty{display:none}.dna-familiarity{padding:1rem;margin-block:.75rem}.dna-familiarity h3{margin:0}.dna-familiarity-row{display:flex;justify-content:space-between;gap:1rem;padding-block:.4rem}.dna-familiarity-row+.dna-familiarity-row{border-block-start:1px solid var(--line)}.chat-send-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;font-size:.875rem}.bubble :is(.chat-reference,.chat-citation)[aria-expanded=true]{background:var(--ink);color:var(--white)}.gallery-modes{display:flex;gap:6px;margin-block:0 12px}.gallery-modes [aria-pressed=true]{background:var(--ink);color:var(--white)}@media(max-width:680px){.cards{gap:9px}.media-meta{padding:9px;gap:4px}.media-meta strong{font-size:.875rem}.media-meta small{font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}dialog:not(#chat-history){margin:auto auto 0;border-radius:22px 22px 0 0;width:100%;max-width:none;padding-bottom:max(18px,env(safe-area-inset-bottom))}dialog[open]:not(#chat-history){animation:sheet-enter .22s ease-out}}@keyframes sheet-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){dialog[open]:not(#chat-history){animation:none}}:is(#detail,#reminders-dialog,#chat-history)[open]{display:flex;flex-direction:column;overflow:hidden}:is(#detail,#reminders-dialog,#chat-history)>.dialog-head{flex:none}.dialog-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}#detail-title{margin:0}#close-detail{flex:none}#reminders-dialog>.dialog-scroll{max-width:none}.session-card{display:grid;justify-items:center;text-align:center;gap:12px}.gallery-pull{height:var(--pull-height,0px);opacity:var(--pull-opacity,0);display:grid;place-items:center;overflow:hidden;pointer-events:none;color:var(--muted);transition:height .32s cubic-bezier(.22,1.35,.4,1),opacity .2s ease}.gallery-pull[data-dragging]{transition:none}.gallery-pull-track{transform:rotate(var(--pull-angle,0deg));display:grid}.gallery-pull[data-refreshing] svg{animation:gallery-refresh-spin .72s linear infinite}@keyframes gallery-refresh-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.gallery-pull{transition:none}.gallery-pull[data-refreshing] svg{animation:none}}#gallery-more{display:block;margin:14px auto 0;min-height:44px}.cards.gallery-tiles{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:4px}.gallery-tiles>.media-card{position:relative;min-width:0;border:0;border-radius:4px}.gallery-tiles .media-art{aspect-ratio:1}.gallery-tiles>.media-card:nth-child(10n+1){grid-column:1;grid-row:span 2}.gallery-tiles>.media-card:nth-child(10n+8){grid-column:3;grid-row:span 2}.gallery-tiles>.media-card:is(:nth-child(10n+1),:nth-child(10n+8)) .media-art{aspect-ratio:auto}.gallery-tiles>.empty{grid-column:1/-1}.finance-card{justify-content:space-between;margin-block-end:12px}.finance-content{min-width:0}.finance-content h3{margin:0 0 8px;font-size:.95rem}.finance-balance{font-size:1.3rem}.finance-rings{display:flex;gap:12px;margin-block:8px}.finance-rings>div{text-align:center}.finance-rings small{display:block;color:var(--muted);font-size:.72rem;margin-top:4px}.usage-ring{width:72px;height:72px;margin-inline:auto;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--accent) var(--usage,0%),var(--line) 0)}.usage-ring>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--white);font-size:.75rem;font-weight:650}.wallet-balance{font-size:clamp(2rem,8vw,3rem);font-weight:750;margin:8px 0 14px}#wallet-open-topup{margin-block-end:16px}#wallet-more{display:block;margin:10px auto}#wallet-topup[open]{display:flex;flex-direction:column;overflow:hidden}#wallet-topup>.dialog-head{flex:none}.wallet-hero{display:grid;justify-items:center;text-align:center;padding-block:12px 8px}.wallet-hero h2{margin:8px 0 0}.wallet-hero-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#f1f2f4;color:var(--ink)}.place-photos{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}.place-photo{flex:0 0 84%;min-width:0;aspect-ratio:16/10;scroll-snap-align:start;overflow:hidden;background:var(--line)}.place-photo:only-child,#place-photo-dialog .place-photo{flex-basis:100%}.bubble .place-photo{margin:0;padding:0;border:0;border-radius:0}.place-photo img{width:100%;height:100%;display:block;object-fit:cover}#place-photo-dialog[open]{display:flex;flex-direction:column;overflow:hidden}#place-photo-dialog .dialog-head{flex:none}#place-photo-dialog .place-photo{aspect-ratio:auto}#place-photo-dialog img{max-height:62dvh;object-fit:contain}.mood-week{margin-block:12px}.mood-week h3{margin:0 0 6px}.mood-week-chart{overflow-x:auto;margin-block:8px}.mood-week-table{width:100%;border-collapse:collapse;font-size:.75rem}.mood-week-table :is(th,td){padding:6px 2px;text-align:center;border-bottom:1px solid var(--line);white-space:nowrap}.mood-week-table tbody th{text-align:start}.mood-dot{display:inline-block;width:8px;height:8px;margin-inline:1px;border-radius:50%;background:var(--accent);border:1px solid var(--accent)}.mood-dot.inferred{background:transparent}.chat-typing{white-space:pre-wrap;line-height:1.65}.chat-typing:after{content:"";display:inline-block;width:.11em;height:1em;margin-inline-start:.18em;background:currentColor;vertical-align:-.13em;animation:chat-caret .9s steps(2,start) infinite}@keyframes chat-caret{to{opacity:0}}@media(prefers-reduced-motion:reduce){.chat-typing:after{animation:none}}:root{color-scheme:light;--ink: #161616;--muted: #5e5e65;--paper: #fff;--line: #e5e5e9;--accent: #3452ff}.is-loading{cursor:progress}.is-loading:after{content:"";display:inline-block;inline-size:.75em;block-size:.75em;margin-inline-start:.5em;border:1px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:paradezo-loading .65s linear infinite}@keyframes paradezo-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.is-loading:after{animation:none}}.paradezo-toast:not([hidden]){color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:.65rem;padding:.55rem .75rem}
