.room-object{border:0;padding:0;margin:auto;inset:0;max-width:none;max-height:none;overflow:visible;background:transparent;color:#433b2d;width:min(86vw,450px);font-family:Songti SC,SimSun,serif}.room-object::backdrop{background:#1618127a;backdrop-filter:blur(2px)}.room-object button{color:inherit}.room-object .nursery-folio,.room-object .exam-paper,.empty-paper{box-shadow:0 20px 42px #15180d70}.room-object .nursery-folio{position:relative;display:flex;flex-direction:column;max-height:min(79dvh,690px);border:solid #57634c;border-width:5px 6px 7px 10px;border-radius:7px 12px 11px 7px;color:#443e31;background:linear-gradient(90deg,#c5b89a,#eee2c4 2%,#f9f1dc 7%,#f8f0dc 97%,#dfd3b6);box-shadow:3px 2px #d2c8ab,5px 4px #eee3c6,7px 5px #566149,0 18px 42px #15180d80;transform-origin:left center;animation:uncover-book .36s ease-out}.nursery-folio:after{content:"";position:absolute;top:-4px;right:9%;width:13px;height:27px;background:#995f51;clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%);pointer-events:none}.nursery-folio article{overflow:auto;min-height:0;overscroll-behavior:contain;padding:clamp(20px,4vh,38px) 7% 10px 8%;font-size:clamp(15px,2vw,17px);line-height:1.9;animation:paper-turn .3s ease-out;transform-origin:left center}.folio-name,.nursery-folio time,.nursery-folio small{display:block;font-size:12px;color:#766951}.folio-name{letter-spacing:.18em;margin-bottom:1.2em}.nursery-folio h3{font:600 1.48rem/1.45 Songti SC,SimSun,serif;margin:.4em 0 .8em}.nursery-folio p{margin:0 0 .85em}.nursery-folio footer{text-align:right;color:#63563d;margin:.8em 0}.nursery-folio nav,.exam-paper footer{display:flex;align-items:center;gap:4px;padding:4px 12px;flex-shrink:0;border-top:1px solid #b9aa894d}.nursery-folio nav span{font:12px Georgia,serif;color:#766951}.room-object nav button,.exam-paper footer button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:42px;font-size:13px}.nursery-folio nav .folio-close{margin-right:auto}.room-object button:disabled{opacity:.32}.empty-folio,.empty-paper{padding:1.3rem;background:#faf4e4}.room-object.babyTest{width:min(86vw,530px)}.exam-stack{position:relative;animation:lay-paper .27s ease-out}.exam-tabs{display:flex;align-items:end;gap:4px;padding-left:10px}.exam-tabs button{background:#cfcab8;border-radius:4px 6px 0 0;padding:2px 12px;box-shadow:inset 0 -4px 6px #544b3a16}.exam-tabs button[aria-pressed=true]{background:#faf8ed;color:#633b2e;box-shadow:inset 0 3px #9c5444}.exam-paper{position:relative;background:#faf8ed;border-radius:1px;display:flex;flex-direction:column;max-height:min(72dvh,660px);isolation:isolate}.exam-paper:before{content:"";position:absolute;z-index:-2;inset:2px -3px -4px 4px;background:#e7e3d5;transform:rotate(1.2deg);box-shadow:0 2px 4px #312a1e42}.exam-paper:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#faf8ef,#f5f1e3)}.exam-text{overflow:auto;overscroll-behavior:contain;padding:22px 7% 14px;min-height:0;overflow-wrap:anywhere}.exam-text header{display:flex;align-items:center;justify-content:space-between;gap:10px}.exam-text header small{color:#6c6e61;letter-spacing:.14em;font-size:12px}.exam-text h2{font:600 1.55rem/1.5 Songti SC,SimSun,serif;margin:.12em 0}.exam-grade{font:italic 36px Georgia,serif;color:#9b403b;transform:rotate(-9deg);border-bottom:2px solid #a14d45;padding:0 5px}.exam-grade i{font-size:20px}.exam-meta{font-size:12px;color:#68685e;padding:6px 0 9px;border-bottom:3px double #8b8c7b}.exam-text ol{list-style:none;padding:0;margin:0}.exam-text li{display:grid;grid-template-columns:20px 1fr;gap:4px;padding:9px 0;font-size:15px;line-height:1.65}.exam-number{font:italic 18px Georgia,serif;padding-top:3px}.exam-text li p{margin:0 0 6px}.exam-answer{display:flex;align-items:baseline;gap:9px;border-bottom:1px solid #afafa0}.exam-answer span,.exam-text li small{font-size:12px;color:#63695f}.exam-answer em{color:#344e69;font-style:normal;white-space:pre-wrap}.exam-answer svg{width:17px;height:17px;flex-shrink:0;color:#a64037;align-self:center;margin-left:auto}.exam-paper footer{font:12px/1.5 system-ui,sans-serif}.paper-put-away{margin-left:auto}@keyframes uncover-book{0%{opacity:.3;transform:perspective(1000px) rotateY(-16deg) translateY(8px)}}@keyframes paper-turn{0%{opacity:.45;transform:perspective(800px) rotateY(9deg)}}@keyframes lay-paper{0%{opacity:.3;transform:rotate(-3deg) translateY(12px)}}@media(min-width:720px){.room-object.babyDiary{width:min(78vw,790px)}.room-object .nursery-folio{background:linear-gradient(90deg,#f8f0db,#faf4e4 43%,#e4d8bd 48.8%,#af9f7d 50%,#efe4ca 51.3%,#faf4e4 57%,#f6ecd6)}.nursery-folio article{display:grid;grid-template-columns:1fr 1fr;gap:12%;padding:38px 6% 22px;min-height:min(44vh,330px)}.folio-first{padding-top:1rem}}@media(prefers-reduced-motion:reduce){.room-object *{animation:none!important}}.room-object .nursery-folio{height:min(79dvh,690px)}.nursery-folio article{flex:1}.nursery-folio.empty-folio button{margin-top:auto}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#eee8dc;background:#182726;font-synthesis:none;font-weight:400;--ink: #243b36;--muted: #7a847b;--gold: #d9c298;--paper: #f4f3ed;--line: #dce0d7;--serif: "Noto Serif SC", "Songti SC", "SimSun", serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,summary:focus-visible{outline:2px solid #c0a56f;outline-offset:4px}input:focus,textarea:focus{outline:1px solid #91a296;outline-offset:2px}button{touch-action:manipulation}svg{flex-shrink:0}p,h1,h2,h3{margin:0}input,textarea{min-width:0}textarea{resize:vertical}::selection{background:#b8c9ba;color:#183029}.home{height:100svh;min-height:660px;position:relative;overflow:hidden;isolation:isolate;background:#1e302e}.scene{position:absolute;inset:-3px -4px;z-index:-3;container-type:size;background:#182725;transform:translate(var(--tilt-x, 0px),var(--tilt-y, 0px));transition:transform .18s ease-out}.room-art{position:absolute;width:max(100cqw,66.6667cqh);aspect-ratio:2 / 3;left:min(50%,calc(100% - 24px - max(40cqw,26.6667cqh)));top:58%;transform:translate(-50%,-58%)}.room-art img{display:block;width:100%;height:100%}.room-art:not([data-room=living]){left:50%}.room-exposure{position:absolute;inset:0;pointer-events:none}.room-window{position:absolute;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at var(--sun-x) var(--sun-y),rgb(255 230 183 / var(--sun)),transparent 52%);mask-image:linear-gradient(to bottom,black 92%,transparent)}.room-art[data-room=living] .room-window{inset:0 9% 48% 12%}.room-art[data-room=study] .room-window{inset:0 31% 64% 49%}.room-art[data-room=archive] .room-window{inset:10% 16% 79% 22%}.room-art[data-room=studio] .room-window{inset:0 61% 66% 0}.room-art[data-room=nursery] .room-window{inset:3% 0 56% 84%}.room-art[data-room=workshop] .room-window{inset:9% 77% 58% 4%}.window-drizzle{position:absolute;inset:-27px 0 0;background-image:radial-gradient(ellipse 1px 3px at 19% 37%,#d9e3e9a0 30%,transparent),radial-gradient(ellipse 1px 2px at 68% 74%,#b8ced9a0 30%,transparent);background-size:51px 83px,79px 117px;animation:window-rain 5s linear infinite}@keyframes window-rain{0%{background-position:0 -83px,0 -117px}to{background-position:0 0,0 0}}.house-weather{display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:14px}.house-weather select{font:inherit;color:inherit}.room-lamp{position:absolute;left:84.6%;top:38.6%;width:12%;height:4.4%;min-height:44px;border:0;padding:0;border-radius:18%;background:transparent;cursor:pointer}.room-lamp:before{content:"";position:absolute;top:0;left:0;width:100%;aspect-ratio:1.9;background:radial-gradient(ellipse,#ffcf86aa,#ffb25600 72%);transition:opacity .3s}.room-lamp[aria-pressed=false]:before{clip-path:polygon(9% 13%,25% 6%,77% 6%,92% 13%,96% 85%,80% 92%,22% 92%,5% 83%);background:#26201dbf}.room-lamp:focus-visible{outline:2px solid #f7e5c1}.living-viewport{position:absolute;inset:0}.living-viewport canvas{display:block;width:100%;height:100%}.model-lamp{position:absolute;width:46px;height:46px;transform:translate(-50%,-50%);border:0;background:transparent;border-radius:50%;cursor:pointer}.model-lamp:focus-visible{outline:2px solid #e7d8b7}.living-controls{position:absolute;z-index:3;right:28px;top:86px;color:#f5eedf;font-size:12px}.living-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border-radius:15px;background:#213029de;color:inherit}.living-controls>button{float:right}.living-inspector{clear:both;position:relative;top:5px;width:184px;padding:12px;border-radius:12px;background:#263830f5;box-shadow:0 4px 16px #0014}.living-inspector>div,.living-inspector label{display:flex;align-items:center;justify-content:space-between;gap:4px}.living-inspector label{flex-wrap:wrap;margin:8px 0}.living-inspector input{width:100%;accent-color:#c6b389}.living-inspector button{padding:7px}.living-inspector button[aria-pressed=true]{background:#596c58}.living-inspector>button{margin-top:7px}.scene-shade{pointer-events:none;position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(9,24,26,.48),transparent 27%,transparent 48%,rgba(12,25,24,.2) 62%,rgba(12,24,23,.91) 100%)}.home:after{content:"";position:absolute;inset:0;z-index:-1;box-shadow:inset 0 0 130px #09181628;pointer-events:none}.home.quiet .scene{filter:brightness(.78) saturate(.8)}.home-header{display:flex;align-items:center;justify-content:space-between;padding:max(29px,env(safe-area-inset-top)) 27px 0;position:relative;z-index:1}.brand{display:flex;gap:12px;align-items:center;padding:0;text-align:left;font:500 27px var(--serif);letter-spacing:7px;text-shadow:0 2px 12px #0007}.brand-mark{border:1px solid #d5c6a871;border-radius:50% 50% 45% 45%;width:32px;height:40px;display:grid;place-items:center;color:var(--gold)}.brand small{display:block;font:8px/2.3 -apple-system,sans-serif;letter-spacing:2.6px;color:#d9d4c9}.header-tools{display:flex;gap:6px}.icon-button{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:background .2s}.icon-button:hover{background:#ffffff13}.header-tools .icon-button{color:#eee9df}.time-display{position:absolute;top:139px;right:29px;text-align:right;display:flex;flex-direction:column;gap:8px;color:#efeade;text-shadow:0 1px 12px #14232a50}.eyebrow{font-size:10px;letter-spacing:2.5px;color:#d7c6a8;font-weight:500;line-height:1.6}.time-display time{font:300 39px/1.1 Georgia,serif;letter-spacing:2px}.time-display>span:last-child{font-size:11px;letter-spacing:2px;color:#e1ded4c9}.time-display .eyebrow{font-size:9px;letter-spacing:2px;color:#e0d4be}.room-rail{position:absolute;left:19px;top:175px;display:flex;flex-direction:column;align-items:center;gap:9px}.room-rail button{height:51px;width:47px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;color:#f1e9d4b5;border-radius:9px;padding:0;transition:all .2s}.room-rail button span{font-size:10px;letter-spacing:1px;white-space:nowrap}.room-rail button.selected{color:#f2d8a8;background:linear-gradient(135deg,#d7b67d29,#26362b20);border:1px solid #e8ce9b54;box-shadow:0 4px 20px #18202033}.room-rail button:hover{background:#ffffff18;color:#fff5df}.rail-line{width:1px;height:21px;background:linear-gradient(180deg,transparent,#e3d5b950,transparent)}.scene-hotspot{position:absolute;top:53%;left:61%;display:flex;flex-direction:column;gap:11px;align-items:center;white-space:nowrap;transform:translate(-50%,-50%);text-shadow:0 2px 8px #0007;font-size:11px;letter-spacing:1.6px;color:#faf3df}.hotspot-ring{height:43px;width:43px;border:1px solid #e4d3b48c;background:#263c3445;border-radius:50%;backdrop-filter:blur(8px);display:grid;place-items:center;position:relative;transition:background .3s}.hotspot-ring:before{content:"";position:absolute;inset:-7px;border:1px solid #e6d2ad38;border-radius:50%;animation:breathe 5s ease-in-out infinite}.scene-hotspot:hover .hotspot-ring{background:#bca1776b}.object-hotspot{position:absolute;top:71%;left:58%;display:flex;gap:7px;align-items:center;border-bottom:1px solid #ecdcba80;font-size:11px;padding:6px;color:#fff2d9;text-shadow:0 2px 10px #000}.room-art[data-room=archive] .scene-hotspot{transform:translate(-50%,-21.5px)}.room-art .archive-memory{top:35.5%;left:min(71%,calc(50% + 50cqw - 55px))}.room-art .archive-journal{top:52.7%;left:50%}.home-bottom{position:absolute;bottom:0;left:0;right:0;padding:0 24px max(10px,env(safe-area-inset-bottom))}.room-caption{text-align:center;margin-bottom:24px;text-shadow:0 2px 20px #0b1415a8}.room-caption .eyebrow{font-size:9px;letter-spacing:3px;display:block;margin-bottom:11px}.room-caption h1{font:400 26px/1.7 var(--serif);letter-spacing:3px;color:#fff5e7}.room-caption p{font:12px/2 var(--serif);letter-spacing:3px;color:#e2d8c5b0;margin-top:4px}.house-status{display:flex;align-items:center;gap:7px;margin:0 3px 13px;font-size:10px;color:#deded0ac;min-height:16px;letter-spacing:.3px}.status-light{width:5px;height:5px;background:#b6ab91;border-radius:50%;display:inline-block;flex-shrink:0}.status-light.ready{background:#b7cfaa;box-shadow:0 0 7px #bdd6a455}.house-next-wake{margin-left:auto;color:#dfd6c19c;white-space:nowrap}.home-footer{text-align:center;font-size:8px;letter-spacing:2px;color:#e4dcc34f;padding-top:15px}.home-footer span{margin:0 8px}.latest-message{display:flex;gap:9px;align-items:center;width:100%;font-size:12px;text-align:left;color:#e9e2d3da;padding:11px 6px;margin-bottom:9px;border-bottom:1px solid #e2d6bd20}.latest-message span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet{border:0;padding:0;color:var(--ink);background:transparent;width:min(100% - 24px,500px);max-width:none;max-height:none;height:min(88svh,850px);margin:auto auto 0;overflow:visible}.sheet.wide{height:min(92svh,910px);width:min(100% - 16px,600px)}.sheet::backdrop{background:#0c171982;backdrop-filter:blur(7px)}.sheet-inner{height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--paper);border-radius:27px 27px 0 0;box-shadow:0 -10px 80px #06131040;border:1px solid #ffffff65;border-bottom:0;animation:sheet-in .3s ease-out}.sheet-handle{width:31px;height:3px;flex-shrink:0;background:#bdc6ba;border-radius:4px;margin:11px auto 1px}.sheet-header{padding:19px 23px 20px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:1px solid var(--line)}.sheet-header .eyebrow{color:#9b8c70;font-size:9px;letter-spacing:2px}.sheet-header h2{font:500 23px/1.5 var(--serif);letter-spacing:2px;margin-top:5px}.sheet-header .icon-button{color:#7a847a;background:#e9ece4}.panel-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:23px;scrollbar-width:thin;scrollbar-color:#bdc8bb transparent}.panel-tools{--memory-control-height: 44px;display:grid;grid-template-columns:minmax(0,1fr) var(--memory-control-height);align-items:center;gap:11px;padding-block:18px 4px;overflow:hidden}.panel-tools,.memory-list{padding-inline:23px;scrollbar-gutter:stable both-edges;scrollbar-width:thin}.panel-tools>.icon-button{width:var(--memory-control-height);height:var(--memory-control-height)}.search-box{display:flex;gap:8px;align-items:center;background:#e8ece4;border:1px solid #dde2d8;border-radius:11px;padding:0 11px;height:var(--memory-control-height);color:#84927e}.search-box>svg{flex-shrink:0}.search-box input{background:none;border:0;width:100%;padding:0;height:100%;font-size:13px;color:var(--ink);outline:none}.icon-button.filled{background:#2c4c42;color:#e6e5cf;border-radius:12px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#87907f;margin:0 0 17px;letter-spacing:.7px}.section-label>span{font-size:11px;color:#9a9e90}.section-label .connected{color:#547e57}.empty{text-align:center;padding:40px 15px;color:#838e7e;display:flex;flex-direction:column;align-items:center}.empty-icon{height:66px;width:66px;background:radial-gradient(circle,#e8eade,transparent);display:grid;place-items:center;color:#8b9a80;margin-bottom:15px}.empty h3{font:400 18px var(--serif);color:#667961;letter-spacing:1px;margin-bottom:12px}.empty p{font-size:12px;line-height:2;color:#9a9f91}.action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #cfd7c8;border-radius:9px;color:#5b7058;font-size:12px;background:#ffffff38}.action:hover{background:#e5eadf}.primary{background:#2d4f42;color:#f8f2df;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:12px 21px;border-radius:10px;font-size:13px;letter-spacing:.7px}.primary:hover{background:#3a5e50}.primary.full{width:100%;margin-top:20px}.memory-calendar{margin:0 0 20px;padding:6px 8px;border:1px solid #dbe2d4;border-radius:16px;background:#fbfcf7;color:#304a3e}.memory-calendar-toolbar{display:flex;align-items:center;gap:2px}.memory-calendar-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;min-width:33px;border-radius:8px}.memory-calendar-toolbar .memory-calendar-month{flex:1;font-weight:600;font-size:14px;white-space:nowrap}.memory-calendar-month[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.memory-calendar-today,.memory-date-filter{color:#476553;font-size:12px}.memory-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:4px 0 5px;border-top:1px solid #e7ebdf}.memory-calendar-weekday{text-align:center;font-size:11px;color:#627267;padding:6px 0 3px}.memory-calendar-day{position:relative;min-height:39px;border:1px solid transparent;border-radius:9px;padding-bottom:3px;font:400 14px/1 system-ui,sans-serif}.memory-calendar-day[aria-current=date]{border-color:#b7caba}.memory-calendar-day[aria-pressed=true]{background:#d9e8dc;font-weight:700}.memory-calendar-day i{position:absolute;bottom:5px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#4d7761}.memory-date-filter{margin:0 0 8px;padding:3px 0}.memory-card{width:100%;display:block;padding:18px 19px;background:#fffef966;border:1px solid #e0e3d6;border-radius:13px;text-align:left;margin-bottom:13px;position:relative}.memory-card:before{content:"";position:absolute;left:0;top:21px;width:2px;height:22px;background:#b9bb93;border-radius:2px}.memory-card-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#929b88;margin-bottom:11px}.memory-card-top span:last-child{display:flex;align-items:center;gap:4px}.memory-card[data-type=core]{background:#f8f4e8;border-color:#e4dac1}.memory-card[data-type=core]:before{background:#b39857}.memory-card[data-type=fragment]:before{background:#87aa9b}.memory-type-mark{display:inline-flex;align-items:center;gap:5px;width:fit-content;padding:4px 8px;border-radius:999px;background:#e7f0e9;color:#476758;font:600 11px/1.25 system-ui,sans-serif;letter-spacing:0}.memory-type-mark[data-type=core]{background:#efe5cc;color:#765d2e}.memory-detail-meta{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;color:#596c60;font-size:11px}.memory-card h3{font:500 16px/1.7 var(--serif);color:#435e45;letter-spacing:.5px;margin-bottom:7px}.memory-card p{font-size:12px;line-height:1.9;color:#89917f;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.read-more{display:flex;align-items:center;gap:4px;margin-top:13px;font-size:10px;color:#929c85}.memory-card:hover{background:#fffef9}.raw-result{width:100%;text-align:left;padding:14px 0;border-bottom:1px solid var(--line);position:relative}.raw-result>span{font-size:10px;color:#8b9681}.raw-result p{font-size:13px;color:#52634c;line-height:1.8;margin-top:8px;max-height:4.9em;overflow:hidden;padding-right:20px}.raw-result>svg{position:absolute;right:0;top:50%;color:#9caa90}.footnote{font-size:11px;line-height:1.85;color:#99a08f;margin-top:13px}.back-link{display:flex;align-items:center;gap:7px;font-size:12px;color:#84927a;margin-bottom:24px;padding:5px 0}.tag{font-size:10px;letter-spacing:1px;color:#9a9c7c}.memory-detail h3{font:500 23px/1.7 var(--serif);color:#415d40;margin:13px 0 20px}.prose{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#54674d}.memory-detail blockquote{margin:25px 0;padding:16px 18px;background:#e9ede2;border-left:2px solid #b4bd99;white-space:pre-wrap;font:13px/1.9 var(--serif);color:#718267}.memory-detail blockquote span{display:block;font:10px/1.9 sans-serif;letter-spacing:1px;margin-bottom:7px;color:#9b9f87}.subtle{font-size:11px;color:#959f8b;margin-top:25px}.source-link{font-size:12px;display:flex;align-items:center;gap:8px;margin-top:15px;color:#577950}.danger-text{font-size:11px;color:#ae8173;display:flex;gap:7px;align-items:center;margin-top:35px;padding:8px 0}.chat-status{padding:11px 23px;font-size:10px;letter-spacing:.4px;color:#8d9781;background:#e9ece2;display:flex;align-items:center;gap:7px;flex-shrink:0}.chat-scroll{min-height:0;flex:1;overflow-y:auto;padding:20px 21px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdc8bb transparent}.chat-scroll .empty{margin:8vh 0}.chat-date{text-align:center;color:#a0a491;font-size:10px;margin:8px 0 24px;letter-spacing:1px}.message{margin-bottom:20px;display:flex;flex-direction:column;align-items:flex-start;max-width:88%;transition:background .4s}.message.user{align-items:flex-end;margin-left:auto}.message-meta{display:flex;gap:10px;align-items:center;font-size:10px;color:#8f9b84;margin:0 4px 7px}.message-meta time,.message-meta>span:last-child:not(:first-child){font-size:9px;color:#a5ac97}.message.user .message-meta{flex-direction:row-reverse}.bubble{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;padding:13px 16px;background:#fffef9;border:1px solid #e0e4d6;border-radius:3px 15px 15px;color:#465f43;box-shadow:0 2px 4px #344c2703}.user .bubble{background:#e1e9db;border-color:#d6e0ce;border-radius:15px 3px 15px 15px;color:#3c583b}.message.highlight .bubble{box-shadow:0 0 0 2px #c6ad78}.message-actions{display:flex;gap:12px;margin-top:5px;opacity:.6}.message-actions button{font-size:9px;color:#869578;padding:4px 0;display:flex;gap:4px;align-items:center;min-height:27px}.message-actions button:hover{color:#4a6c44}.composer{display:flex;gap:10px;align-items:flex-end;padding:13px 18px 0;border-top:1px solid #dce2d4;background:#f0f2e9;flex-shrink:0}.composer textarea{flex:1;padding:13px 15px;border:1px solid #dae0d0;background:#fffef9;border-radius:13px;min-height:47px;max-height:150px;resize:none;line-height:1.5;font-size:14px;color:#3c593a}.composer textarea::placeholder{color:#a3ac98}.send-button{height:47px;width:47px;background:#355742;color:#f4edda;border-radius:13px;display:grid;place-items:center}.composer-hint{font-size:9px;text-align:center;color:#a0a88f;background:#f0f2e9;padding:10px 6px max(14px,env(safe-area-inset-bottom));flex-shrink:0}.thinking{display:flex;align-items:center;gap:7px;font-size:11px;color:#92a17f;padding:5px}.load-history{display:block;margin:0 auto 23px;color:#8c9b7e;font-size:11px;text-decoration:underline;text-underline-offset:4px}.editor{display:flex;flex-direction:column;gap:19px}.editor>label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#75866a}.editor label>span{font-size:10px;color:#9da78f}.editor input:not([type=checkbox]),.editor textarea{padding:12px 13px;border:1px solid #d7dfcd;border-radius:9px;background:#fffef97a;color:#3f5b3a;width:100%;line-height:1.65;font-size:14px}.editor input::placeholder,.editor textarea::placeholder{color:#a7ad9b;font-size:12px}.editor .back-link{margin-bottom:1px}.source-note{font-size:11px;display:flex;gap:7px;align-items:center;color:#8b9677;line-height:1.8}.editor .check-row{flex-direction:row;align-items:center;gap:11px}.check-row input{accent-color:#406044;width:17px;height:17px}.check-row>span{color:#6d7f60!important;font-size:12px!important}.check-row small{display:block;font-size:10px;color:#9ba48c;margin-top:6px}.editor>.primary{align-self:flex-start;margin-top:4px}.editor.panel-scroll{display:block}.editor.panel-scroll>label{display:flex;margin-bottom:20px}.editor.panel-scroll .source-note{margin-bottom:20px}.memory-editor{color:#304a3e}.memory-editor.panel-scroll>label,.memory-editor-fields label,.memory-editor-extra label{color:#435b4c;font-size:13px;font-weight:500}.memory-editor.panel-scroll>label{margin-bottom:15px}.memory-type-picker{padding:0;border:0;margin:8px 0 17px}.memory-type-picker legend{font-size:13px;margin-bottom:7px}.memory-type-picker>div,.memory-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.memory-type-picker label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;min-width:0;padding:9px;border:1px solid #e1e5d9;border-radius:12px;background:#fffdf755;cursor:pointer}.memory-type-picker label:has(input:checked){background:#eef3e9;border-color:#9caf99}.memory-type-picker label:has(input[value=core]:checked){background:#f8f2e4;border-color:#c2ab76}.memory-type-picker input{margin:0;accent-color:#547763}.memory-type-picker small{grid-column:1 / -1;color:#5d6f62;font-size:11px}.memory-editor-fields{grid-template-columns:1.4fr 1fr;margin-bottom:14px}.memory-editor-fields label,.memory-editor-extra label{display:grid;gap:7px;min-width:0}.memory-editor-fields input[type=date],.memory-editor select{min-width:0;min-height:42px;padding:8px}.memory-editor select{width:100%;border:1px solid #d7dfcd;border-radius:9px;color:#304a3e;background:#fffef97a;font:inherit;font-size:14px}.memory-editor-extra{padding:10px 0;border-block:1px solid #dfe6d9;font-size:13px}.memory-editor-extra summary{cursor:pointer}.memory-editor-extra label{margin-top:12px}.memory-editor>.memory-save{width:100%;justify-content:center;margin-top:16px}.wake-card{background:linear-gradient(135deg,#e8ecdf,#eff0e6);border:1px solid #dce3ce;border-radius:15px;padding:21px;margin-bottom:31px}.wake-card-head{display:flex;gap:15px;align-items:center}.round-icon{width:48px;height:48px;border:1px solid #cad4bd;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#7b8f68}.wake-card h3{font:400 17px var(--serif);color:#4e6847;margin-bottom:9px}.wake-card-head p{font-size:12px;color:#8b9a7a}.wake-reason{font-size:12px;color:#8b977e;margin-top:16px;line-height:1.8}.budget-line{display:flex;justify-content:space-between;font-size:10px;color:#8c997b;margin-top:23px}.budget-bar{height:3px;background:#d8dfcd;border-radius:3px;margin-top:10px;overflow:hidden}.budget-bar span{display:block;height:100%;background:#8d9f73}.wake-card .footnote{text-align:center}.timeline article{display:flex;gap:15px;padding-bottom:26px;position:relative}.timeline article:before{content:"";width:1px;position:absolute;left:15px;top:32px;bottom:0;background:#d8dfce}.timeline article:last-child:before{display:none}.timeline-icon{width:31px;height:31px;border:1px solid #d3dcc9;background:#e9ede1;border-radius:50%;display:grid;place-items:center;color:#8b9a78;flex-shrink:0}.timeline article>div{padding-top:1px}.timeline time{font-size:9px;letter-spacing:.6px;color:#a0a98e}.timeline h3{font-size:13px;font-weight:500;color:#617555;margin-top:8px}.timeline p{font-size:11px;line-height:1.9;color:#929f83;margin-top:7px;overflow-wrap:anywhere}.room-intro{text-align:center;padding:8px 8px 29px;border-bottom:1px solid var(--line);margin-bottom:26px}.room-intro .round-icon{margin:auto auto 18px;width:62px;height:62px}.room-intro h3{font:400 18px var(--serif);color:#5c7351;line-height:1.8;margin-bottom:12px}.room-intro p{font-size:12px;line-height:1.9;color:#9aa28d}.note-card{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:#fffef96b;border:1px solid #dce3d1;padding:17px;border-radius:12px;margin-bottom:12px;color:#899d75}.note-card>div{flex:1}.note-card h3{font:400 15px var(--serif);color:#5d7653;margin-bottom:8px}.note-card span{font-size:10px;color:#a0a98e}.settings-section{padding-bottom:27px;border-bottom:1px solid var(--line);margin-bottom:27px}.settings-section .section-label{margin-bottom:0}.settings-section.editor{gap:16px}.settings-copy{font-size:12px;line-height:1.9;color:#929f84;margin:15px 0}.provider-card{display:flex;gap:13px;align-items:center;padding:18px 0;border-bottom:1px solid #e2e6d7;color:#71876a}.provider-card>div{flex:1}.provider-card h3{font-size:13px;font-weight:500;color:#536e4d}.provider-card p{font-size:10px;color:#98a48a;margin-top:7px}.pill{font-size:9px;background:#e6e9df;padding:5px 7px;border-radius:4px;color:#a1a68e;white-space:nowrap}.pill.success{background:#dfebd8;color:#6c9259}.provider-card.disabled{opacity:.7}.provider-trigger{width:100%;text-align:left;cursor:pointer}.provider-trigger:hover{background:#e8ede149}.provider-trigger .turned{transform:rotate(90deg)}.provider-editor{padding:20px 0 24px;border-bottom:1px solid var(--line)}.provider-editor .footnote{margin-top:-5px}.connection-toggle{margin-bottom:0;align-self:flex-start}.connection-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.connection-toggle+label{margin-top:3px}.settings-signature{font:400 24px var(--serif);letter-spacing:4px;text-align:center;color:#a8b199;margin:32px 0 10px}.settings-signature span{display:block;font:9px/2 sans-serif;letter-spacing:1px;margin-top:9px;color:#b4baa6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:11px;color:#819273;display:flex;flex-direction:column;gap:8px}.inline-actions{display:flex;gap:11px;align-items:center}.settings-section details{margin-top:20px}.settings-section summary{font-size:11px;color:#8c9b7e;cursor:pointer;padding:5px 0}.settings-section .footnote{margin-top:0}.toast{position:fixed;z-index:99;left:50%;bottom:25px;transform:translate(-50%);width:max-content;max-width:calc(100vw - 36px);display:flex;align-items:center;gap:15px;border:1px solid #88978560;background:#263c32f5;backdrop-filter:blur(15px);box-shadow:0 8px 30px #0003;color:#eee8d7;border-radius:12px;padding:14px 17px;font-size:12px;line-height:1.8;animation:fade-in .2s ease-out}.toast>button{padding:3px;display:flex;color:#b8c1a8}.room-rail button span{font-size:12px}.bubble,.prose{font-size:16px}.editor input:not([type=checkbox]),.editor textarea,.search-box input,.composer textarea{font-size:16px}.editor>label,.form-grid label{font-size:14px}.empty p,.room-intro p,.memory-card p,.settings-copy{font-size:14px}.memory-card h3{font-size:18px}.primary,.action{font-size:14px}.scene-hotspot{font-size:12px}.settings-sheet{height:min(94svh,900px);width:min(100% - 16px,520px)}.settings-sheet .sheet-inner{background:#eeeee6}.settings-sheet .sheet-header{border-bottom:0;padding:15px 23px 20px}.settings-sheet .sheet-header h2{color:#304b41;font-size:25px}.settings-page{padding:0 16px max(24px,env(safe-area-inset-bottom));scrollbar-width:none}.settings-page .settings-section{padding:19px;margin:0 0 12px;border:1px solid #dce2d6;border-radius:18px;background:#fffef9;box-shadow:0 3px 10px #273d3004}.settings-page .settings-section.editor{gap:14px}.settings-page .section-label{font-size:13px;letter-spacing:0;color:#304b41;min-height:22px}.setting-title{display:inline-flex;gap:9px;align-items:center;font-weight:600;min-width:0}.setting-title svg{color:#7c8c70}.settings-page .section-label>span{padding:4px 8px;border-radius:20px;background:#f0f0e9;color:#7d8577;font-size:10px;white-space:nowrap}.settings-page .section-label>.connected{background:#e9f0e3;color:#4c6a42}.settings-page .settings-copy{color:#6b7768;font-size:13px;line-height:1.8;margin:11px 0 14px;overflow-wrap:anywhere}.settings-page .editor>.settings-copy{margin:-4px 0 0}.settings-page .footnote{font-size:11px;line-height:1.85;color:#7c8676;margin:0;overflow-wrap:anywhere}.settings-page .action,.settings-page .primary{min-height:42px;justify-content:center;border-radius:11px;font-size:12px;padding:10px 13px}.settings-page .action{background:#f0f3e9;border-color:#dbe3d1;color:#52694a}.settings-page .primary{background:#355445;color:#fff9e9}.settings-page .inline-actions{gap:8px;flex-wrap:wrap}.settings-page .inline-actions>button{flex:1}.settings-page .back-link{font-size:12px;color:#536e4c;min-height:30px;display:inline-flex;align-items:center;gap:8px;margin:0}.settings-page .provider-card{padding:17px 0;gap:10px}.settings-page .provider-card>div{min-width:0}.settings-page .provider-card h3{color:#3e5545;font-size:13px}.settings-page .provider-card p{font-size:11px;line-height:1.5;color:#788270;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:165px;margin-top:4px}.settings-page .provider-card.disabled{border-bottom:0;padding-bottom:14px;opacity:.7}.settings-page .provider-card.disabled h3{font-size:12px}.settings-page .pill{border-radius:6px;font-size:10px}.settings-page .provider-editor{border-bottom:1px solid #e5e8dd;padding:3px 0 18px;gap:14px}.settings-page .editor label,.settings-page .form-grid label{font-size:12px;color:#5d7155}.settings-page .editor input:not([type=checkbox]){background:#f8f9f3;border-color:#dce2d3;border-radius:10px;padding:11px 12px;min-width:0}.settings-page .form-grid{gap:12px}.settings-page .form-grid label{min-width:0;line-height:1.6}.settings-page .notion-switch{position:relative;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:14px 12px;background:#f2f5ec;border:1px solid #e3e9d9;border-radius:12px;cursor:pointer}.settings-page .memory-switch{display:flex;margin:12px 0 7px}.settings-page .memory-api-trigger{min-height:38px;padding:5px 0;gap:9px;border-bottom:0}.settings-page .memory-api-trigger>svg:first-child{color:#7c8c70}.settings-page .memory-api-trigger>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.settings-page .memory-api-trigger h3{flex-shrink:0}.settings-page .memory-api-trigger p{min-width:0;margin:0;text-align:right}.settings-page .memory-api-editor{padding-bottom:0;border-bottom:0}.settings-page .switch-copy{display:flex;flex-direction:column;gap:5px}.settings-page .switch-copy strong{color:#3d5541;font-size:13px;font-weight:500}.settings-page .switch-copy small{color:#7b8871;font-size:10px}.notion-switch input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.settings-page .switch-track{width:38px;height:23px;background:#cbd2c5;border-radius:20px;flex-shrink:0;transition:background .2s}.switch-track:after{content:"";display:block;height:17px;width:17px;margin:3px;border-radius:50%;background:#fffef9;box-shadow:0 1px 3px #263c3220;transition:transform .2s}.notion-switch input:checked+.switch-track{background:#55744c}.notion-switch input:checked+.switch-track:after{transform:translate(15px)}.notion-switch input:focus-visible+.switch-track{outline:2px solid #a18858;outline-offset:3px}.notion-switch:has(input:disabled){opacity:.5}.settings-page .settings-section details{margin-top:14px}.settings-page .settings-section summary{font-size:12px;color:#6a7b5c;min-height:32px}.settings-page .settings-signature{margin:26px 0 10px;font-size:21px;color:#85927a}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes breathe{50%{opacity:.3;transform:scale(1.14)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media(min-width:700px){.home{min-height:650px}.room-art{width:80cqh;left:50%;transform:translate(-50%,-58%)}.scene-shade{background:linear-gradient(90deg,#10201ff2,transparent 28%,transparent 72%,#10201ff2),linear-gradient(180deg,#10201f55,transparent 40%,#10201f18 65%,#10201feb)}.home-header{padding:35px 48px 0}.time-display{top:142px;right:50px}.time-display time{font-size:48px}.room-rail{left:45px;top:180px;gap:15px}.room-rail button{width:56px;height:58px}.room-rail button span{font-size:11px}.home-bottom{max-width:480px;margin:auto;padding-bottom:19px}.room-caption h1{font-size:29px}.room-caption{margin-bottom:27px}.scene-hotspot{left:58%;top:53%}.sheet,.sheet.wide{margin:auto;height:min(90svh,850px)}.sheet-inner{border-radius:22px;border:1px solid #ffffff70}.sheet-handle{display:none}.sheet-header{padding-top:25px}.composer-hint{padding-bottom:16px}}@media(max-height:740px)and (max-width:699px){.home{min-height:570px}.time-display{top:110px}.room-rail{top:145px;gap:4px}.room-rail button{height:45px}.rail-line{height:12px}.home-header{padding-top:max(20px,env(safe-area-inset-top))}.room-caption{margin-bottom:16px}.room-caption h1{font-size:23px}.room-caption p{font-size:11px}.home-footer{padding-top:10px}.scene-hotspot{top:53%}.sheet{height:92svh}.sheet.wide{height:95svh}}@media(max-width:360px){.home-header{padding-left:20px;padding-right:17px}.home-bottom{padding-left:16px;padding-right:16px}.room-caption h1{font-size:23px;letter-spacing:2px}.house-status{font-size:9px}.room-rail{left:12px}.time-display{right:24px}.sheet-header,.panel-tools,.panel-scroll{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}.living-sunlight{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:overlay}.living-clouds{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.living-clear-plate{filter:brightness(var(--day-exposure)) contrast(1.015) saturate(1.025) sepia(var(--day-sepia))}.living-shore-light{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;clip-path:polygon(11% 0,92.7% 0,92.3% 35.5%,88.6% 36%,84.8% 42.4%,92.2% 42.4%,92% 51.6%,86.9% 52%,84.8% 54.6%,79.1% 54.9%,79% 56.6%,70.3% 56.6%,70% 60%,19.6% 63.4%,18.2% 60.3%,11% 59%);background:radial-gradient(ellipse 95% 55% at var(--shore-x) 41%,rgba(255,231,177,var(--shore-light)),transparent)}.home:has(.living-day-art) .scene-shade{background:linear-gradient(to bottom,#12252144,transparent 20%,transparent 68%,#101e1ac2 100%)}.weather-status{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.5rem;line-height:1.5}.weather-status small{min-width:0}.weather-status button{flex:none}.weather-status a{color:inherit}.painting-preview{width:52px;aspect-ratio:4 / 3;border:3px solid #aa8359}.room-painting{display:block;width:100%;height:auto}.object-hotspot{max-width:38%}.object-hotspot span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nursery-book{padding:1.1rem 0 1.4rem;border-block:1px solid currentColor;border-color:#a59a7945}.nursery-book h3,.nursery-book h4{margin:.6rem 0}.nursery-book p{margin:.5rem 0;line-height:1.65}.nursery-book small{display:block;opacity:.78}.nursery-book details{padding:.65rem 0}.nursery-book summary{cursor:pointer}.nursery-book button{margin-top:.9rem}.nursery-intro{display:flex;gap:.75rem;align-items:center;color:#526750}.nursery-intro .round-icon{margin:0;width:38px;height:38px}.nursery-intro h3{font-weight:500}.nursery-intro p:empty{display:none}.baby-chat{margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid #a59a7945}.baby-chat h3,.baby-chat button{display:flex;align-items:center;gap:.4rem}.baby-chat form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.55rem}.baby-chat textarea{width:100%;box-sizing:border-box;resize:vertical;border-radius:12px;padding:.65rem;background:#fffcf5;color:#30453b;border:1px solid #9caa9966;font:inherit;font-size:16px}.baby-chat button{margin:0}.baby-letters{max-height:32vh;overflow:auto;overflow-wrap:anywhere}.baby-letters>div{margin:.5rem 0 .75rem}.baby-letters b{margin-right:.55rem;font-size:.8em;color:#576f61}.room-art .baby-spot{transform:translate(-50%,-18px);gap:6px;letter-spacing:.08em}.baby-spot .hotspot-ring{width:36px;height:36px}.baby-spot>span:last-child{background:#27362fb8;padding:3px 8px;border-radius:12px;color:#fff7df}.room-art .babyDiary{top:56.8%;left:min(79%,calc(50% + 50cqw - 38px))}.room-art .babyTalk{top:53%;left:47%}.room-art .babyTraining{top:36%;left:max(18%,calc(50% - 50cqw + 114px))}.room-art .babyTest{top:40%;left:55%}.chat-page{--chat-mine: #ccecf0;--chat-other: #e8f4f7;--chat-bg: #eff7f8;--chat-accent: #538e9f;--chat-ink: #29444e;--chat-radius: 24px;--chat-input-height: 34px;--chat-max-bubble: 78%;--chat-bubble-padding: 8px 13px;--chat-tail-color: var(--chat-other);--chat-top-inset: 65px;--chat-bottom-inset: 68px;position:fixed;inset:0;z-index:20;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);height:100dvh;background:var(--chat-wallpaper, none) center / cover no-repeat,radial-gradient(ellipse at 85% 22%,#8dbfc527,transparent 52%),radial-gradient(ellipse at 0% 84%,#a5cdd526,transparent 58%),var(--chat-bg);color:var(--chat-ink);overflow:hidden;text-align:left;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.im-header{grid-area:1 / 1;align-self:start;z-index:2;display:flex;align-items:flex-start;gap:12px;padding:max(14px,env(safe-area-inset-top)) 16px 13px;pointer-events:none}.im-header>.im-icon,.im-name-badge{pointer-events:auto;border:1px solid #ffffffa0;background:color-mix(in srgb,var(--chat-bg) 55%,#ffffff60);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 2px 8px #32616d0c}.im-header>.im-icon{margin-top:7px}.im-icon{display:grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;color:var(--chat-accent);flex-shrink:0}.im-icon:hover{background:#77aab516}.im-identity{display:flex;flex-direction:column;align-items:center;flex:1;min-width:0;justify-content:center}.im-name-badge{display:flex;align-items:center;justify-content:center;gap:3px;min-width:53px;min-height:30px;margin-top:-5px;padding:5px 6px 3px;border-color:#ffffff9c;border-radius:999px;background:linear-gradient(155deg,#ffffff80,transparent 42%,#ffffff30),color-mix(in srgb,var(--chat-bg) 35%,transparent);-webkit-backdrop-filter:blur(9px) saturate(1.35);backdrop-filter:blur(9px) saturate(1.35);box-shadow:inset 0 1px 2px #ffffffc2,inset 0 -1px 2px #7babb347,0 2px 6px #32616d1c;text-align:center}.im-avatar-upload{position:relative;z-index:1;display:grid;place-items:center;pointer-events:auto;width:56px;height:56px;padding:0;border:1px solid #fff9;border-radius:50%;overflow:hidden;color:var(--chat-accent);background:color-mix(in srgb,var(--chat-bg) 70%,white)}.im-avatar-upload img{width:100%;height:100%;object-fit:cover}.im-identity h1{font-size:15px;font-weight:600;margin:0;line-height:1.1}.im-connection-dot{width:3px;height:3px;border-radius:50%;background:#b2bcc0}.im-connection-dot.online{background:#7aa99c}.im-history{grid-area:1 / 1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:calc(var(--chat-top-inset) + 12px) 18px calc(var(--chat-bottom-inset) + 10px);scroll-padding-block:var(--chat-top-inset) var(--chat-bottom-inset);--chat-edge-mask: linear-gradient( to bottom, transparent 0, #0003 22px, #000 calc(var(--chat-top-inset) + 6px), #000 );-webkit-mask-image:var(--chat-edge-mask);mask-image:var(--chat-edge-mask);scrollbar-width:thin;scrollbar-color:#bfd4d8 transparent}.im-date{font-size:10px;text-align:center;color:#93a6ab;margin:10px 0 24px;letter-spacing:1px}.im-message{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 19px;scroll-margin:20px}.im-message.user{align-items:flex-end}.im-bubble-group{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:5px}.user .im-bubble-group{align-items:flex-end}.im-bubble{display:block;max-width:var(--chat-max-bubble);border-radius:var(--chat-radius);background:var(--chat-tail-color);padding:var(--chat-bubble-padding);font-size:15px;line-height:1.6;color:var(--chat-ink);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 2px #34546108;cursor:pointer;user-select:text;-webkit-user-select:text;position:relative;isolation:isolate}.user .im-bubble{--chat-tail-color: color-mix( in srgb, var(--chat-mine) var(--chat-bubble-opacity), transparent )}.im-bubble{--chat-tail-color: color-mix( in srgb, var(--chat-other) var(--chat-bubble-opacity), transparent );-webkit-backdrop-filter:blur(var(--chat-bubble-blur));backdrop-filter:blur(var(--chat-bubble-blur))}.chat-page[data-material=frosted] .im-bubble{box-shadow:inset 0 0 0 1px #ffffff70,0 2px 7px #244b5915}.chat-page[data-material=liquid] .im-bubble{background-image:linear-gradient(155deg,#ffffff4d,transparent 32%,transparent 72%,#ffffff25);box-shadow:inset 0 1px 2px #ffffffc2,inset 0 -1px 3px #6d9aa557,0 3px 9px #244b5928}.chat-page[data-wallpaper=true] .im-history{text-shadow:0 0 7px #fff8}.chat-page[data-wallpaper=true] .im-message-meta,.chat-page[data-wallpaper=true] .im-date{color:#fff;text-shadow:0 1px 6px #16343e,0 1px 3px #16343e}.im-transcript{max-width:var(--chat-max-bubble);padding:7px 10px;margin:5px 0 0;border-radius:11px;background:color-mix(in srgb,var(--chat-bg) 80%,white);font-size:13px;overflow-wrap:anywhere}.im-theme-upload{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;font-size:13px}.im-wallpaper-empty,.im-wallpaper-remove{justify-self:end;text-align:right;font-size:11px}.im-wallpaper-empty{color:#607b83}.im-wallpaper-remove{color:var(--chat-accent);padding:8px 0}.im-wallpaper-choose{border:1px solid #cbdedf;border-radius:9px;padding:7px 9px;background:#eaf4f4;color:var(--chat-ink);white-space:nowrap}.assistant .im-bubble{box-shadow:inset 0 0 0 1px #6396a00d}.assistant .im-bubble.last{border-bottom-left-radius:min(var(--chat-radius),16px)}.user .im-bubble.last{border-bottom-right-radius:min(var(--chat-radius),16px)}.im-bubble.last:after{content:"";position:absolute;z-index:-1;width:24px;height:23px;bottom:-5px;background:var(--chat-tail-color);clip-path:path("M 0 0 H 18 C 17 8 16 15 22 20 C 24 23 20 23 18 22 C 12 20 9 17 5 17 H 0 Z");pointer-events:none}.user .im-bubble.last:after{right:-4px}.assistant .im-bubble.last:after{left:-4px;transform:scaleX(-1)}.im-bubble:active{filter:brightness(.98)}.im-message.focused .im-bubble{outline:2px solid #94c9d4;outline-offset:3px}.im-message-meta{display:flex;align-items:center;gap:6px;padding:4px 6px 0;font-size:9px;color:#94a8ae;min-height:23px}.im-original-links{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.im-original-links button{color:var(--chat-ink);background:#f4fbfbe0;border:1px solid #a3cbd18a;border-radius:999px;padding:4px 8px;font-size:11px}.im-more{display:flex;align-items:center;justify-content:center;min-width:28px;min-height:24px;color:#89a3ab}.im-version-arrow{display:grid;place-items:center;width:25px;height:26px;padding:0;border-radius:7px;color:var(--chat-accent)}.im-version-arrow:hover{background:#77aab516}.im-version-arrow:disabled{opacity:.25}.im-menu-dismiss{position:absolute;inset:0;z-index:5}.im-floating-menu{position:absolute;display:flex;width:min(292px,calc(100% - 24px));padding:2px;border-radius:10px;background:linear-gradient(155deg,#ffffff60,transparent 58%),#f6fbfbc2;color:#46616a;-webkit-backdrop-filter:blur(16px) saturate(1.35);backdrop-filter:blur(16px) saturate(1.35);box-shadow:inset 0 1px 1px #fffc,0 3px 14px #24424d24;border:1px solid #ffffffa0}.im-floating-menu>button{flex:1;min-width:0;display:flex;justify-content:center;align-items:center;height:30px;padding:0;border-radius:7px;color:inherit}.im-floating-menu>button:hover{background:#dbe9eaa6}.im-failure{align-self:flex-start;max-width:85%;margin:5px 0 0;font-size:11px;color:#a66e61;line-height:1.8}.im-failure p{margin:0}.im-failure button,.im-recover{display:inline-flex;align-items:center;gap:5px;color:var(--chat-accent);padding:7px 0;font-size:12px}.im-withdrawn{align-self:center;font-size:11px;color:#94a8ae;padding:6px}.im-withdrawn button{color:var(--chat-accent);text-decoration:underline;margin-left:8px}.im-progress{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px;color:#809ba3;margin:0 0 8px 4px}.im-progress small{width:100%;font-size:10px}.im-notion-call{margin:0 0 4px;color:var(--chat-accent);font-size:11px}.im-notion-call summary{display:flex;align-items:center;gap:5px;min-height:28px;width:fit-content;list-style:none;cursor:pointer}.im-notion-call summary::-webkit-details-marker{display:none}.im-notion-call[open] summary svg{transform:rotate(90deg)}.im-notion-call.error summary{color:#a66e61}.im-notion-call-details{padding-bottom:6px;line-height:1.6;overflow-wrap:anywhere}.typing-dots{display:flex;gap:3px;border-radius:12px;background:var(--chat-other);padding:11px 13px}.typing-dots i{width:4px;height:4px;background:#91b5bf;border-radius:50%;animation:im-typing 1.3s infinite}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes im-typing{50%{opacity:.3;transform:translateY(-2px)}}.im-composer{grid-area:1 / 1;align-self:end;z-index:2;padding:4px 15px max(14px,env(safe-area-inset-bottom));pointer-events:none}.im-input-wrap{display:flex;gap:7px;align-items:flex-end;border:1px solid #bdcfd3a8;background:color-mix(in srgb,var(--chat-bg) 55%,#ffffff65);border-radius:24px;-webkit-backdrop-filter:blur(18px) saturate(1.25);backdrop-filter:blur(18px) saturate(1.25);box-shadow:0 4px 16px #32616d1c,inset 0 1px #fff9;pointer-events:auto;padding:3px 4px 3px 13px;min-height:40px}.im-composer-row{display:flex;align-items:flex-end;gap:8px;max-width:660px;margin:auto}.im-composer-row .im-input-wrap{flex:1;min-width:0;margin:0}.im-add{position:relative;pointer-events:auto}.im-add-toggle,.im-dictate{display:grid;place-items:center;color:var(--chat-accent);flex:none}.im-add-toggle{width:42px;height:42px;border:1px solid #bdcfd3a8;border-radius:50%;background:color-mix(in srgb,var(--chat-bg) 65%,#ffffff80);backdrop-filter:blur(14px);box-shadow:0 4px 16px #32616d1c}.im-dictate{width:33px;height:34px;padding:0}.im-add-menu{position:absolute;bottom:calc(100% + 8px);left:0;width:205px;border:1px solid #d7e5e5;background:#f9fdfc;padding:6px;border-radius:16px;box-shadow:0 10px 26px #32616d26}.im-add-menu button,.im-add-menu label{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:10px;font-size:13px;border-radius:10px}.im-add-menu button:hover{background:#eaf4f4}.im-add-menu label{border-top:1px solid #e1eded;justify-content:space-between}.im-add-menu select{border:1px solid #d7e5e5;border-radius:6px;background:#fff;color:var(--chat-ink)}.im-open-attachment,.im-queued button{color:var(--chat-accent);font-size:12px;padding:7px}.im-attachment-image{display:block;max-width:68%;max-height:220px;border-radius:12px;margin-block:6px}.im-attachment-audio{max-width:100%;margin-block:6px}.im-input-wrap:focus-within{border-color:#8ab6c1;box-shadow:0 0 0 2px #74a9b30a}.im-input-wrap textarea{min-width:0;flex:1;min-height:var(--chat-input-height);max-height:112px;background:none;border:0;outline:0;box-shadow:none;resize:none;padding:6px 0;margin:0;font-size:16px;line-height:22px;color:var(--chat-ink);scrollbar-width:none}.im-input-wrap textarea::placeholder{color:#91aeb7;font-size:12px}.im-send{display:grid;place-items:center;color:#fff;background:var(--chat-accent);width:30px;height:30px;padding:0;margin-bottom:2px;flex-shrink:0;border-radius:50%}.im-send:disabled{opacity:.35}.im-offline{color:#8ba2aa;text-align:center;font-size:10px;margin:7px 0 0}.im-load{display:block;margin:0 auto 20px;font-size:11px;padding:8px 15px;color:var(--chat-accent)}.im-empty{display:flex;flex-direction:column;align-items:center;padding:24vh 12px 0;color:#87a8b0;text-align:center}.im-empty>span{display:grid;place-items:center;height:60px;width:60px;border:1px solid #bedae0;border-radius:23px;font:26px var(--serif)}.im-empty h2{font:18px var(--serif);color:#648690;margin:22px 0 8px}.im-empty p{font-size:11px;line-height:1.8}.im-overlay{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;justify-content:flex-end;background:#23424e38;backdrop-filter:blur(4px)}.im-action-panel{max-height:78%;overflow-y:auto;padding:12px 20px max(23px,env(safe-area-inset-bottom));background:#f8fcfc;border-radius:23px 23px 0 0;box-shadow:0 -10px 40px #25485413}.im-theme-overlay{background:#23424e20;backdrop-filter:none}.im-theme-overlay .im-action-panel{max-height:62%}.im-action-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px}.im-action-panel header strong{font-size:14px;font-weight:600}.im-selected-text{white-space:pre-wrap;max-height:110px;overflow-y:auto;color:#69858f;font-size:12px;line-height:1.8;border-left:2px solid #b9dbe2;padding:0 0 0 12px;margin:6px 0 18px}.im-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.im-action-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:74px;font-size:11px;color:#5b8290;border-radius:14px;background:#eaf3f5}.im-action-grid>button:hover{background:#dceef1}.im-action-hint,.im-action-panel form>p{font-size:10px;line-height:1.9;color:#8aa0a7;margin:14px 0 0}.im-action-panel form textarea{width:100%;min-height:130px;max-height:260px;border:1px solid #c2dce2;border-radius:13px;padding:12px;background:#fff;color:#355563;resize:vertical;font-size:16px;line-height:1.7}.im-confirm{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;border-radius:12px;background:var(--chat-accent);color:#fff;margin-top:16px;font-size:13px}.im-version-list>button{display:grid;grid-template-columns:1fr auto;text-align:left;gap:6px;width:100%;background:#eaf3f5;border-radius:12px;padding:12px;margin-top:9px;font-size:12px}.im-version-list p{font-size:11px;color:#78949e;margin:0;grid-column:1;line-height:1.7}.im-version-list svg{grid-column:2;grid-row:1 / 3;align-self:center}.im-theme-fields{display:grid;gap:12px;margin-top:20px}.im-theme-fields label{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px}.im-theme-fields input[type=color]{border:0;background:transparent;width:40px;height:30px;padding:0}.im-theme-fields input[type=range]{accent-color:var(--chat-accent);width:130px}@media(min-width:700px){.im-history{padding-left:max(24px,calc((100vw - 660px)/2));padding-right:max(24px,calc((100vw - 660px)/2))}.im-input-wrap{max-width:660px;margin:auto}.im-header{padding-left:max(24px,calc((100vw - 720px)/2));padding-right:max(24px,calc((100vw - 720px)/2))}.im-action-panel{width:min(100%,520px);align-self:center}}@media(prefers-reduced-motion:reduce){.typing-dots i{animation:none}}#root :is(input,textarea,select){font-size:max(16px,1em)}.chat-page .im-header{padding-top:calc(14px + env(safe-area-inset-top,0px))}:root[data-editing-viewport] .chat-page{top:var(--visible-top);bottom:auto;height:var(--visible-height)}:root[data-editing-viewport] dialog:is(.sheet,.physical-object,.room-object){position:fixed;top:var(--visible-top);bottom:var(--visible-bottom-gap);max-height:calc(var(--visible-height) - 16px)}:root[data-editing-viewport] .room-object>.nursery-folio{max-height:calc(var(--visible-height) - 16px)}.physical-object{--binding: #536450;--page: #faf4e4;--print: #433c32;color:var(--print);border:0;padding:0;background:transparent;width:min(90vw,540px);max-height:90dvh;overflow:auto;margin:auto;font-family:Songti SC,STSong,SimSun,serif}.physical-object::backdrop{background:#16202097;backdrop-filter:blur(3px)}.object-cover{position:relative;display:flex;flex-direction:column;gap:14px;padding:clamp(16px,4vw,28px);border:solid var(--binding);border-width:6px 5px 8px 13px;border-radius:6px 14px 12px 5px;background:linear-gradient(90deg,#6e57313d,transparent 20px),var(--page);box-shadow:inset -4px 0 #cbbea5,inset -6px 0 #efe5ce}.object-cover>header,.art-tools,.folio-nav,.write-leaf{display:flex;align-items:center;justify-content:space-between;gap:10px}.object-cover>header{border-bottom:1px solid #8d80624d;flex-shrink:0;padding-bottom:10px}.physical-object:is(.shelf,.reviews,.studioNotes,.studyNotes,.album,.daily-book,.archive-folder){height:min(82dvh,660px);overflow:hidden}.physical-object:is(.shelf,.reviews,.studioNotes,.studyNotes,.album,.daily-book,.archive-folder) .object-cover{height:100%;gap:10px}.physical-object:is(.shelf,.reviews,.studioNotes,.studyNotes,.album,.daily-book,.archive-folder) .object-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.object-content>:is(.folio-nav,.write-leaf){flex-shrink:0}.object-content>:is(.ruled-page,.photo-grid){flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.object-cover h2{font-size:clamp(19px,5vw,26px);font-weight:500;letter-spacing:.1em;margin:0}.object-cover button{color:inherit}.object-cover>header button,.folio-nav button{min-width:38px;min-height:38px;display:grid;place-items:center}.object-cover button:disabled{opacity:.3}.ruled-page{min-height:min(42dvh,330px);padding:12px 8px 15px 13px;background:repeating-linear-gradient(transparent 0 30px,#b4a88d55 30px 31px);background-position:0 16px;overflow-wrap:anywhere}.ruled-page time,.art-caption,.folio-nav{font-size:13px}.ruled-page h3{font-size:20px;font-weight:500;margin:14px 0 7px}.ruled-page p,.art-caption,.journal-leaf p{line-height:31px;white-space:pre-wrap;margin:0}.ruled-page a{color:#465e63;text-decoration:underline}.physical-object.reviews{--binding: #3b5360;--page: #f2efdf}.physical-object.reviews .ruled-page{border-left:1px solid #9a66575c}.write-leaf{align-self:flex-end;color:#385048;padding:7px}.folio-nav{border-top:1px solid #8d80624d;padding-top:5px}.physical-object.album{--binding: #4c3029;--page: #302e2a;--print: #f5ead9}.photo-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(95px,1fr));gap:13px;padding:10px 1px}.photo-grid button{background:#f8f1df;align-self:center;min-width:0;color:#433c32;padding:7px 7px 9px;box-shadow:0 3px 7px #1118;transform:rotate(-1deg)}.photo-grid button:nth-child(2n){transform:rotate(1deg)}.photo-grid button>span:first-child{width:100%;aspect-ratio:1.25}.photo-grid .painting-preview{display:block;width:100%;height:100%;object-fit:contain;background:#e8dfcf;border:0}.photo-grid button>span:last-child{display:block;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:4px}.physical-object.art-view{width:min(94vw,820px);--binding: #302a26;--page: #282522;--print: #f4eede}.art-view .object-cover{border:0;border-radius:4px}.mounted-art img{width:100%;max-height:58dvh;object-fit:contain}.art-tools button{display:flex;align-items:center;gap:5px;min-height:40px}.closed-journal{margin:8px;padding:52px 10px;text-align:center;border:1px solid #a69163;background:#404a41;color:#eddebc}.closed-journal span{font-size:23px;letter-spacing:.25em}.daily-book{--binding: #776448}.daily-book .wake-card{margin:0 0 12px;padding:12px}.daily-book .panel-scroll,.room-record .panel-scroll{padding:0;overflow:visible}.journal-leaf article{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:12px 0;border-top:1px solid #b5a78466}.journal-leaf h3{font-size:16px;margin:0}.journal-leaf p,.journal-leaf time{font-size:13px}.journal-leaf input{background:transparent;color:inherit;border:0;font:inherit}.physical-object.living{--page: #fff2e0;--binding: #b79078}.physical-object.workshop{--binding: #494a42;--page: #e8e6da}.workshop .object-cover{border-top:10px solid #45463e;background-image:repeating-linear-gradient(0deg,transparent 0 23px,#70868721 23px 24px),repeating-linear-gradient(90deg,transparent 0 23px,#70868721 23px 24px)}.unlimited-limit{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.unlimited-limit input{width:auto}.room-art .object-pin{transform:translate(-50%,-18px);gap:4px;white-space:nowrap}.room-art .pin-shelf{top:28%;left:min(84%,calc(50% + 50cqw - 48px))}.room-art .pin-reviews{top:62%;left:46%}.room-art .pin-privateBook{top:43%;left:min(82%,calc(50% + 50cqw - 55px))}.room-art .pin-album{top:39%;left:min(84%,calc(50% + 50cqw - 41px))}.room-art .pin-easel{top:54%;left:55%}.painted-canvas{position:absolute;left:40.4%;top:28.55%;width:29.6%;height:23.75%;padding:0;overflow:hidden;clip-path:polygon(5% 0,95% 0,100% 98%,0 100%);background:#d9c6a5;pointer-events:auto}.room-art .painted-canvas span{width:100%;height:100%}.room-art .painted-canvas img{width:100%;height:100%;border:0;object-fit:contain}.painted-canvas:after{content:"";position:absolute;inset:0;box-shadow:inset 1px 1px 5px #58452b55;pointer-events:none}.physical-object.archive-folder{--binding: #8a6e43;--page: #f8f7f2;width:min(94vw,740px)}.archive-folder .object-cover{border-width:12px 3px 5px;border-radius:4px 14px 4px 4px}.archive-folder .panel-scroll{overflow:visible;padding:0}.physical-object.nursery-record{--binding: #a39b80;--page: #faf6eb}.physical-object.babyTraining{--binding: #74868a;height:min(82dvh,660px);overflow:hidden}.babyTraining .object-cover{height:100%}.babyTraining .object-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.pin-studioNotes{top:68%;left:48%}.room-record .room-intro{display:none}.room-record.living .note-card{border-radius:2px;background:#fff9eb}.room-record.workshop .note-card{border-left:3px solid #869087}.room-art .pin-studyNotes{top:76%;left:43%}.physical-object.studyNotes{--binding: #967b56;--page: #eee1c7}.physical-object.reviews .object-cover:after{content:"";position:absolute;top:0;right:56px;width:13px;height:29px;background:#936548;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);pointer-events:none}@media(prefers-reduced-motion:no-preference){.ruled-page{animation:reveal-leaf .22s ease-out}@keyframes reveal-leaf{0%{opacity:.55}to{opacity:1}}.photo-grid{transform-origin:left center;animation:open-leaf .22s ease-out}@keyframes open-leaf{0%{opacity:.55;transform:perspective(800px) rotateY(-8deg)}to{opacity:1;transform:perspective(800px) rotateY(0)}}}.closed-journal .diary-request{display:block;margin:16px auto 0;padding:8px 14px;border:1px solid #a69163;border-radius:5px}.physical-object.privateBook{max-height:85dvh}.privateBook .object-content>.ruled-page{max-height:55dvh}
