:root{font-family:DM Sans,PingFang SC,Microsoft YaHei,sans-serif;color:#2f2c28;background:#e9e4da;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #2f2c28;--muted: #8a8379;--line: #ded8cc;--paper: #f7f1e5;--panel: #fbfaf7;--terracotta: #a95036;--terracotta-dark: #7f3c2a;--sage: #68745e;--yellow: #f2cd63}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;min-width:320px}body{overflow:hidden}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,[role=button]:focus-visible{outline:2px solid #bd684d;outline-offset:2px}.app-shell{height:100%;min-height:0;overflow:hidden;background:#ece8e0}.topbar{height:68px;padding:0 20px;background:#fbfaf7f5;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:80;box-shadow:0 1px #44392c08}.brand-wrap,.top-actions,.brand,.topnav,.topnav a{display:flex;align-items:center}.brand-wrap{gap:32px}.brand{gap:9px;color:var(--ink);text-decoration:none;font-family:"Noto Serif SC",serif;font-size:20px;font-weight:700;letter-spacing:.06em}.brand em{color:#a59d90;font:500 8px/1 DM Sans,sans-serif;letter-spacing:.2em;transform:translate(-2px,13px)}.brand-mark{width:31px;height:36px;border-radius:3px 3px 8px 8px;color:#fff;background:var(--terracotta);display:grid;place-items:center;transform:rotate(-3deg);box-shadow:inset 0 -4px #5425171c}.brand-mark:after{content:"";position:absolute;width:16px;height:5px;margin-top:-34px;background:#f6da97cc;transform:rotate(6deg)}.topnav{gap:6px}.topnav a{gap:7px;color:#79736b;text-decoration:none;font-size:13px;font-weight:600;padding:9px 13px;border-radius:8px}.topnav a.active{color:var(--terracotta-dark);background:#f4e8df}.topnav a:hover{color:var(--ink);background:#f2efe9}.top-actions{gap:8px}.button,.icon-button{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.button{gap:8px;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:700;letter-spacing:.02em}.button.subtle{background:#f1eee8;color:#665f56;border:1px solid #e6e0d7}.button.subtle.active{color:#fff;border-color:var(--terracotta);background:var(--terracotta)}.button.dark{color:#fffaf2;background:#393630;box-shadow:0 3px 8px #2e282124}.button:hover{transform:translateY(-1px)}.icon-button{width:34px;height:34px;background:transparent;border-radius:8px}.icon-button:hover{background:#eeeae3}.icon-button:disabled{opacity:.28;cursor:default}.save-state{display:inline-flex;align-items:center;gap:5px;margin-right:6px;color:#8b847a;font-size:11px;white-space:nowrap}.save-state.saved{color:#697962}.save-dot{width:6px;height:6px;border-radius:50%;background:#c89b59;animation:pulse 1.4s infinite}.save-state.local .save-dot{background:#a88865;animation:none}.mobile-menu{display:none}.export-menu{position:relative}.export-menu>summary{list-style:none;-webkit-user-select:none;user-select:none}.export-menu>summary::-webkit-details-marker{display:none}.export-menu[open]>summary{transform:translateY(-1px)}.export-menu[open] .export-chevron{transform:rotate(180deg)}.export-chevron{transition:transform .18s ease}.export-popover{position:absolute;z-index:160;top:calc(100% + 10px);right:0;width:286px;padding:8px;border:1px solid #ded5ca;border-radius:12px;background:#fffdf9;box-shadow:0 14px 36px #352b212e}.export-popover:before{content:"";position:absolute;right:22px;top:-6px;width:10px;height:10px;border-top:1px solid #ded5ca;border-left:1px solid #ded5ca;background:#fffdf9;transform:rotate(45deg)}.export-popover button{position:relative;z-index:1;width:100%;display:flex;align-items:center;gap:11px;padding:11px;border:0;border-radius:8px;color:#5e5146;background:transparent;cursor:pointer;text-align:left}.export-popover button:hover{color:var(--terracotta-dark);background:#f5eee7}.export-popover button>svg{flex:0 0 auto;color:var(--terracotta)}.export-popover button span{min-width:0}.export-popover button b,.export-popover button small{display:block}.export-popover button b{margin-bottom:3px;font-size:12px}.export-popover button small{color:#9a9085;font-size:9px;font-weight:500}.export-popover p{margin:5px 4px 2px;padding:8px 9px;border-radius:7px;color:#8c7e70;background:#f5f1ea;font-size:8px;line-height:1.55}.app-body{display:grid;grid-template-columns:var(--left-panel-width, 288px) minmax(480px,1fr) var(--right-panel-width, 264px);height:calc(100% - 68px);min-height:0;overflow:hidden}.app-body>*{min-height:0}.left-drawer,.inspector-wrap{min-width:0;height:100%;min-height:0;overflow:hidden;position:relative;z-index:20}.panel-resizer{position:absolute;z-index:70;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none}.panel-resizer:after{content:"";position:absolute;top:42%;bottom:42%;width:3px;min-height:44px;border-radius:4px;background:#c7bfb3;opacity:0;transition:opacity .18s,background .18s}.panel-resizer:hover:after,body.resizing-sidebar .panel-resizer:after{opacity:1;background:var(--terracotta)}.left-resizer{right:-5px}.left-resizer:after{left:3px}.right-resizer{left:-5px}.right-resizer:after{right:3px}body.resizing-sidebar{cursor:col-resize!important;-webkit-user-select:none;user-select:none}body.resizing-sidebar *{cursor:col-resize!important}.left-panel{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;touch-action:pan-y;padding:18px 18px 28px;background:var(--panel);border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#cfc8bd transparent}.panel-mobile-head{display:none}.collection-card{display:flex;align-items:center;gap:11px;padding:10px;margin-bottom:19px;background:#f3efe7;border:1px solid #e8e1d6;border-radius:11px}.collection-cover{width:54px;height:58px;flex:0 0 auto;overflow:hidden;position:relative;background:#d9cfbc;border:4px solid #fffaf1;transform:rotate(-2deg);box-shadow:0 3px 7px #493c2c21}.collection-cover img{width:110%;height:110%;object-fit:contain;transform:rotate(4deg)}.collection-cover span{position:absolute;left:2px;bottom:1px;color:#fff;font-size:8px;font-weight:700;background:var(--terracotta);padding:1px 4px}.collection-card small{display:block;color:#9b9287;font-size:9px;font-weight:700;letter-spacing:.09em}.collection-card h2{margin:2px 0 3px;font-family:"Noto Serif SC",serif;font-size:13px}.collection-card p{margin:0;color:#999187;font-size:9px}.panel-heading,.asset-heading,.inspector-heading{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading{margin-bottom:10px}.panel-heading h3,.asset-heading h3,.inspector-heading h3{margin:3px 0 0;font-size:14px}.eyebrow{display:flex;align-items:center;gap:4px;color:var(--terracotta);font-size:8px;font-weight:800;letter-spacing:.14em}.beta{border-radius:10px;background:#e8ecdf;color:#65715b;padding:3px 6px;font-size:7px;font-weight:800;letter-spacing:.1em}.drop-zone{width:100%;height:112px;border:1px dashed #c9bca9;border-radius:10px;position:relative;overflow:hidden;cursor:pointer;padding:0;background:#e6ddd0}.drop-zone:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent 45%,rgba(33,27,20,.45))}.drop-zone img{width:100%;height:100%;object-fit:cover;object-position:center 48%;transition:transform .3s}.drop-zone:hover img{transform:scale(1.03)}.drop-overlay{position:absolute;z-index:2;right:8px;bottom:8px;color:#fff;background:#251f19ba;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;gap:5px;align-items:center;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:700}.text-button,.open-link-button{border:0;background:transparent;cursor:pointer;display:flex;align-items:center;gap:5px;color:var(--terracotta);font-size:10px;font-weight:700;padding:7px 2px 3px}.field-label{display:block;margin:13px 0 6px;color:#716a61;font-size:9px;font-weight:800;letter-spacing:.05em}.input-with-icon{min-height:36px;padding:0 10px;border:1px solid #ded6ca;border-radius:8px;background:#fff;display:flex;align-items:center;gap:7px;color:#9a9186}.input-with-icon:focus-within{border-color:#bd806b;box-shadow:0 0 0 3px #a9503614}.input-with-icon input,.plain-input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#4e4841;font-size:10px}.link-detected{display:flex;align-items:center;gap:4px;margin:5px 1px 0;color:#63745c;font-size:8px;font-weight:700}.custom-prompt-panel-label{display:flex;align-items:center;gap:5px}.custom-prompt-panel-label em{margin-left:auto;color:#a98e82;font-size:8px;font-style:normal;font-weight:600}.panel-field-help{margin:-2px 0 6px;color:#9b9288;font-size:9px;line-height:1.45}.panel-custom-prompt{box-sizing:border-box;width:100%;min-height:72px;padding:9px 10px;resize:vertical;color:#4e4841;background:#fff;border:1px solid #ded6ca;border-radius:8px;outline:none;font:10px/1.5 inherit}.panel-custom-prompt:focus{border-color:#bd806b;box-shadow:0 0 0 3px #a9503614}.panel-prompt-count{display:block;margin-top:4px;color:#aaa095;font-size:8px;text-align:right}.style-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.style-grid button{min-width:0;height:70px;padding:6px 3px;border:1px solid #e1dacf;border-radius:8px;background:#fff;cursor:pointer;position:relative;text-align:center}.style-grid button.selected{border-color:#b95f44;box-shadow:0 0 0 1px #b95f44;background:#fffaf6}.style-swatch{margin:0 auto 4px;width:23px;height:23px;display:grid;place-items:center;color:#71584b;border-radius:4px 7px 3px;background:#f2dcc0;transform:rotate(-4deg)}.style-swatch.comic{color:#67533c;background:#f6cb54;transform:rotate(3deg);box-shadow:2px 2px #31302e}.style-swatch.collage{color:#fff;background:#7f8c75;border-radius:50%}.style-grid b{display:block;white-space:nowrap;font-size:8px}.style-grid small{display:block;overflow:hidden;white-space:nowrap;color:#a1988e;font-size:6.5px;margin-top:2px}.style-check{position:absolute;right:3px;top:3px;color:#b34f35}.form-error{margin:8px 0 0;padding:7px 8px;color:#9b4936;background:#f8e8e1;border-radius:6px;font-size:9px}.extract-button{width:100%;margin-top:12px;color:#fff;background:var(--terracotta);padding:10px;box-shadow:0 3px 7px #8f422a2e}.progress-card{margin-top:11px;padding:9px;background:#f0e6dd;border-radius:8px}.progress-card>div:first-child{display:flex;align-items:center;gap:6px;color:#804935;font-size:8px}.progress-card>div span{margin-left:auto}.progress-track{height:3px;background:#dac9bc;margin-top:7px;border-radius:4px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--terracotta);transition:width .35s}.spin{animation:spin 1s linear infinite}.asset-heading{margin:20px 0 9px;align-items:flex-end}.asset-heading>div{display:flex;align-items:baseline;gap:6px}.asset-heading h3{font-size:12px}.asset-heading span{color:#aaa196;font-size:8px}.asset-heading small{color:#a29a90;font-size:7px}.asset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.asset-card{height:84px;min-width:0;position:relative}.asset-add,.asset-grid .asset-empty{width:100%;height:84px;min-width:0;border:1px solid #e1dacd;background:#f5f0e8;border-radius:8px;position:relative;cursor:pointer;overflow:hidden;padding:3px 3px 16px}.asset-add:hover,.asset-grid .asset-empty:hover{border-color:#c68069;transform:translateY(-1px)}.asset-add img{width:100%;height:62px;object-fit:contain}.asset-add>span{position:absolute;left:3px;bottom:3px;font-size:7px;color:#746b61;white-space:nowrap}.asset-add i{display:none;position:absolute;right:3px;top:3px;width:18px;height:18px;place-items:center;border-radius:50%;color:#fff;background:var(--terracotta)}.asset-card:hover .asset-add i{display:grid}.asset-delete{position:absolute;z-index:4;left:-4px;top:-4px;width:19px;height:19px;display:grid;place-items:center;padding:0;border:2px solid #fffaf3;border-radius:50%;color:#fff;background:#9d604d;box-shadow:0 2px 5px #3f2b2033;cursor:pointer;opacity:.9;transition:opacity .16s,transform .16s}.asset-card:hover .asset-delete,.asset-delete:focus-visible{opacity:1;transform:scale(1.08)}.asset-grid .asset-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#958c80;background:transparent;border-style:dashed;padding:0}.asset-empty span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#eee8de}.asset-empty em{font-style:normal;font-size:8px}.workspace{min-width:0;height:100%;min-height:0;overflow:hidden;background-color:#dedbd3;background-image:radial-gradient(#c9c5bd 1px,transparent 1px);background-size:18px 18px;position:relative}.canvas-toolbar{height:48px;padding:0 15px;background:#f5f3eef0;border-bottom:1px solid #d4d0c9;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:12}.tool-group{display:flex;align-items:center;gap:2px}.tool-group>span{width:1px;height:18px;background:#d9d4cc;margin:0 4px}.tool-group .icon-button{width:30px;height:30px}.mode-hint{padding:5px 10px;border-radius:20px;color:#777168;background:#ece8e1;display:flex;align-items:center;gap:5px;font-size:9px}.mode-hint.preview{color:#79462f;background:#f0ded3}.zoom-tools b{min-width:34px;text-align:center;color:#817a71;font-size:9px}.canvas-scroller{height:calc(100% - 48px);min-height:0;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:pan-x pan-y;padding:38px 34px 68px;position:relative;display:flex;align-items:flex-start;justify-content:center;scrollbar-width:thin;scrollbar-color:#bcb5aa transparent}.canvas-backdrop{position:fixed;pointer-events:none;opacity:.5}.deco-one{width:130px;height:48px;left:310px;top:138px;border-top:8px solid rgba(186,160,104,.4);transform:rotate(-9deg)}.deco-two{width:120px;height:120px;right:272px;bottom:15px;border-radius:50%;border:15px dotted rgba(158,125,93,.12)}.page-scale{flex:0 0 auto;filter:drop-shadow(0 12px 18px rgba(67,57,44,.2))}.journal-page{position:relative;transform-origin:top left;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:none;background:#f6f0e3;color:#443a32;clip-path:polygon(.5% 1%,16% .3%,32% 1.1%,51% .5%,68% 1.3%,85% .4%,99.5% 1%,99% 19%,99.7% 37%,99.1% 57%,99.8% 78%,99% 99%,78% 99.5%,59% 99%,39% 99.6%,18% 99%,.6% 99.5%,1.2% 79%,.5% 60%,1.1% 39%,.4% 20%);box-shadow:inset 0 0 0 1px #755e441f}.journal-page.theme-oat{background-color:#f5eddd;background-image:linear-gradient(90deg,rgba(120,90,54,.025) 50%,transparent 50%),linear-gradient(#ffffff26,#dcc9ab0f);background-size:7px 100%,100% 100%}.paper-grain{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;opacity:.18;pointer-events:none;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E")}.tape{position:absolute;z-index:22;color:#876d49;background:#ebca788f;font-size:9px;font-weight:800;letter-spacing:.13em;text-align:center;box-shadow:0 1px 1px #5e4c3414}.tape-top{width:156px;height:30px;line-height:30px;left:282px;top:4px;transform:rotate(-1deg);clip-path:polygon(2% 7%,98% 0,96% 91%,4% 100%)}.paperclip{position:absolute;right:49px;top:21px;width:20px;height:48px;z-index:28;border:4px solid #90887c;border-radius:12px;transform:rotate(8deg);box-shadow:inset 0 0 0 3px #f5eddd}.paperclip:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:2px solid #aaa196;border-radius:8px}.journal-heading{position:absolute;z-index:1;left:49px;top:57px;width:610px}.heading-kicker{display:flex;align-items:center;gap:10px;color:#7c766d;font-size:9px;font-weight:800;letter-spacing:.16em}.heading-kicker span{color:#fff6e7;background:var(--terracotta);padding:6px 9px;font-size:12px;letter-spacing:.04em;transform:rotate(-2deg);box-shadow:3px 3px #d4b65e}.heading-kicker i{width:44px;border-top:1px solid #b4a895}.journal-heading h1{width:560px;margin:18px 0 6px;font-family:"Noto Serif SC",Songti SC,serif;font-size:30px;line-height:1.22;letter-spacing:.03em;color:#3c342e}.journal-heading p{margin:0;color:#988b7e;font-family:"Noto Serif SC",serif;font-size:12px;letter-spacing:.08em}.tag-row{display:flex;gap:7px;margin-top:12px}.tag-row span{color:#755d4b;background:#dfcda673;padding:3px 6px;border-radius:2px;font-size:8px;transform:rotate(-1deg)}.canvas-element{position:absolute;cursor:grab;transform-origin:center;touch-action:none}.canvas-element:active{cursor:grabbing}.canvas-element img{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none;-webkit-user-drag:none}.canvas-element.photo{padding:8px 8px 38px;background:#fffaf0;box-shadow:2px 5px 12px #40312333}.canvas-element.photo img{object-fit:cover;object-position:50% 42%;filter:saturate(.85) contrast(.95)}.photo-caption{position:absolute;left:11px;right:8px;bottom:7px;font-family:"Noto Serif SC",serif;color:#5b4c41;font-size:10px}.photo-caption small{display:block;margin-top:2px;color:#aaa095;font:600 6px DM Sans,sans-serif;letter-spacing:.14em}.canvas-element.sticker img{filter:drop-shadow(0 4px 2px rgba(68,45,29,.08))}.canvas-element.selected:after{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px;border:2px dashed rgba(158,70,44,.85);border-radius:8px;box-shadow:0 0 0 2px #ffffffbf;pointer-events:none}.canvas-element.selected:before{content:"";position:absolute;z-index:4;right:-11px;bottom:-11px;width:15px;height:15px;border:3px solid white;border-radius:50%;background:var(--terracotta);box-shadow:0 1px 4px #462d2140}.element-link{position:absolute;left:50%;bottom:-34px;z-index:8;transform:translate(-50%) rotate(calc(var(--rotation, 0deg) * -1));display:flex;align-items:center;gap:4px;white-space:nowrap;border:0;border-radius:14px;padding:5px 8px;color:#fff;background:#39342e;box-shadow:0 2px 5px #32281e33;cursor:pointer;font-size:8px}.element-delete{position:absolute;z-index:9;left:-15px;top:-15px;width:25px;height:25px;display:grid;place-items:center;padding:0;border:3px solid white;border-radius:50%;color:#fff;background:#9f4c38;box-shadow:0 2px 6px #462d2140;cursor:pointer}.preview-mode .canvas-element{cursor:pointer;transition:filter .18s,transform .18s}.preview-mode .canvas-element:hover{filter:brightness(1.04)}.preview-link{position:absolute;right:3px;bottom:3px;width:25px;height:25px;display:grid;place-items:center;border:2px solid white;border-radius:50%;color:#fff;background:var(--terracotta);box-shadow:0 2px 6px #32231940}.doodle{position:absolute;z-index:1;pointer-events:none}.doodle-star{color:#d5ad34;font-size:27px}.doodle-star.one{left:342px;top:250px;transform:rotate(12deg)}.doodle-star.two{right:58px;top:558px;color:#73866b;font-size:22px}.doodle-note{position:absolute;z-index:1;color:#9b543c;font-family:"Noto Serif SC",serif;font-size:11px;line-height:1.55;letter-spacing:.08em;transform:rotate(-6deg)}.doodle-note b{font-size:13px}.doodle-note svg{display:block;width:75px;height:18px}.doodle-note path{fill:none;stroke:#9b543c;stroke-width:2;stroke-linecap:round}.note-one{left:315px;top:330px}.note-two{left:64px;top:527px;color:#6f7664;font:800 9px/1.5 DM Sans,sans-serif;letter-spacing:.13em;transform:rotate(4deg);border:1px solid #9aa190;border-radius:50%;padding:12px 15px}.dotted-path{position:absolute;z-index:0;border:3px dashed rgba(163,120,92,.4);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;pointer-events:none}.path-one{left:91px;top:383px;width:500px;height:205px;transform:rotate(7deg)}.path-two{left:145px;top:655px;width:310px;height:120px;transform:rotate(-21deg);border-color:#70806852;border-right-color:transparent}.receipt{position:absolute;z-index:1;right:60px;top:514px;width:129px;height:89px;padding:12px 9px;color:#6f6254;background:#ffffff7a;border:1px dashed #a79b8d;transform:rotate(5deg);font-size:7px;text-align:center}.receipt span,.receipt i{display:block;font-style:normal}.receipt b{display:block;margin:8px 0 6px;font-size:15px;letter-spacing:.12em}.journal-footer{position:absolute;left:47px;right:47px;bottom:30px;height:46px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(100,82,62,.27);color:#968b7e;font-size:8px;letter-spacing:.08em}.journal-footer p{color:#796757;font-family:"Noto Serif SC",serif;font-size:10px}.journal-footer b{color:#9c4c33}.inspector{height:100%;min-height:0;padding:18px 16px 24px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#cfc8bd transparent;background:var(--panel);border-left:1px solid var(--line)}.inspector-heading{padding-bottom:14px;border-bottom:1px solid #e8e2d8}.inspector-heading span{color:#a29a90;font-size:8px;font-weight:800;letter-spacing:.1em}.inspector-heading h3{font-size:13px}.empty-inspector{padding-top:48px;text-align:center}.empty-sticker{width:70px;height:70px;display:grid;place-items:center;margin:0 auto 17px;color:#a17d6d;background:#efe6da;border:2px solid white;border-radius:42% 58% 48% 52%;transform:rotate(-5deg);box-shadow:0 0 0 1px #ddd3c6,0 5px 12px #503c2c17}.empty-inspector h4{margin:0 0 6px;font-family:"Noto Serif SC",serif;font-size:14px}.empty-inspector>p{margin:0 auto;width:180px;color:#9b9389;font-size:9px;line-height:1.6}.inspector-tip{margin-top:28px;padding:11px;text-align:left;color:#81786e;background:#f1ede6;border-radius:8px;font-size:8px;line-height:1.5}.inspector-tip span{display:block;color:#9c543b;font-weight:800;margin-bottom:3px}.selected-preview{height:117px;margin:14px 0 4px;position:relative;display:grid;place-items:center;overflow:hidden;background-color:#efeae1;background-image:linear-gradient(45deg,#e5dfd5 25%,transparent 25%),linear-gradient(-45deg,#e5dfd5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5dfd5 75%),linear-gradient(-45deg,transparent 75%,#e5dfd5 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0;border-radius:9px}.selected-preview>div{width:100%;height:100%;display:grid;place-items:center}.selected-preview img{width:92%;height:92%;object-fit:contain}.selected-preview .photo img{object-fit:cover}.selected-preview>span{position:absolute;right:6px;top:6px;color:#fff;background:#373029a6;padding:3px 6px;border-radius:9px;font-size:7px}.plain-input{height:36px;padding:0 9px;border:1px solid #ded6ca;border-radius:8px;background:#fff}.inspector-link input{text-overflow:ellipsis}.open-link-button{margin-left:auto}.control-row,.layer-control{min-height:47px;margin-top:12px;border-top:1px solid #ebe5dd;border-bottom:1px solid #ebe5dd;display:flex;align-items:center;justify-content:space-between}.control-row>div:first-child,.layer-control>div:first-child{display:flex;align-items:center;gap:7px;color:#746c63;font-size:9px;font-weight:700}.stepper{display:flex;align-items:center;border:1px solid #dfd7cc;border-radius:7px;overflow:hidden}.stepper button{width:26px;height:28px;border:0;background:#f4f0e9;cursor:pointer}.stepper b{min-width:48px;text-align:center;color:#756d64;font-size:8px}.slider-control{margin-top:13px}.slider-control>div{display:flex;align-items:center;justify-content:space-between;color:#746c63;font-size:9px}.slider-control span{display:flex;gap:7px;align-items:center;font-weight:700}.slider-control input{width:100%;accent-color:var(--terracotta)}.layer-control>div:last-child{display:flex;gap:4px}.layer-control button{border:1px solid #ded6ca;border-radius:5px;background:#fff;padding:5px 7px;cursor:pointer;font-size:8px}.bound-note{display:flex;gap:8px;margin-top:15px;padding:10px;background:#e9eee4;border-radius:8px;color:#65725e}.bound-note>span{width:19px;height:19px;flex:0 0 auto;display:grid;place-items:center;color:#fff;background:#74806d;border-radius:50%;font-size:10px}.bound-note p{margin:0}.bound-note b{display:block;font-size:9px}.bound-note small{display:block;margin-top:3px;color:#879080;font-size:7px;line-height:1.45}.delete-button{width:100%;margin-top:16px;padding:8px;display:flex;justify-content:center;align-items:center;gap:6px;border:1px solid #e3cbc2;border-radius:7px;color:#9c4a36;background:#fff9f7;cursor:pointer;font-size:9px;font-weight:700}.toast{position:fixed;z-index:200;left:50%;bottom:24px;transform:translate(-50%);padding:9px 14px;color:#fff;background:#302b26ed;border-radius:8px;box-shadow:0 5px 20px #1e191433;font-size:11px;animation:toast-in .2s ease-out}.drawer-scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@media(max-width:1180px){.app-body{grid-template-columns:var(--left-panel-width, 270px) minmax(440px,1fr)}.inspector-wrap,.topnav{display:none}}@media(max-width:760px){body{overflow:hidden}.topbar{height:60px;padding:0 10px}.app-body{height:calc(100% - 60px);display:block}.brand-wrap{gap:6px}.brand{font-size:16px}.brand em,.save-state,.desktop-share,.button.subtle{display:none}.brand-mark{width:27px;height:31px}.button.dark{padding:8px 10px;font-size:10px}.export-popover{position:fixed;top:66px;right:10px;width:min(286px,calc(100vw - 20px))}.export-popover:before{display:none}.mobile-menu{display:inline-flex}.workspace{height:100%}.canvas-toolbar{height:44px;padding:0 8px}.mode-hint{position:fixed;left:50%;bottom:14px;z-index:30;transform:translate(-50%);width:max-content;box-shadow:0 4px 15px #322a222e}.zoom-tools{display:none}.canvas-scroller{height:calc(100% - 44px);padding:22px 14px 70px;justify-content:flex-start}.page-scale{margin:0 auto}.left-drawer{position:fixed;z-index:120;left:0;top:0;bottom:0;width:min(88vw,330px);transform:translate(-105%);transition:transform .25s ease;box-shadow:10px 0 30px #28221b2e}.left-drawer.open{transform:translate(0)}.panel-resizer{display:none}.left-panel{padding-top:12px}.panel-mobile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.drawer-scrim{display:block;position:fixed;z-index:110;top:0;right:0;bottom:0;left:0;border:0;background:#27221c66;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}}@media print{body{overflow:visible;background:#fff}.topbar,.left-drawer,.inspector-wrap,.canvas-toolbar,.mode-hint,.toast{display:none!important}.app-body,.workspace,.canvas-scroller{display:block;width:100%;height:auto;overflow:visible;padding:0;background:#fff}.page-scale{width:720px!important;height:920px!important;margin:0 auto;filter:none}.journal-page{transform:none!important}.canvas-element.selected:after,.canvas-element.selected:before,.element-link{display:none}}.flow-page,.landing-page{width:100%;height:100%;overflow:auto;background:#f5f0e7}.flow-header{height:76px;padding:0 clamp(22px,5vw,76px);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:30;border-bottom:1px solid rgba(96,76,55,.12);background:#faf7f1e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.flow-brand{display:flex;align-items:center;gap:10px;color:#352f29;text-decoration:none}.flow-brand>span{width:38px;height:42px;display:grid;place-items:center;color:#fff7e9;background:#a84f35;border-radius:5px 5px 10px 10px;transform:rotate(-3deg);box-shadow:inset 0 -5px #431f151f}.flow-brand b{font-family:"Noto Serif SC",Songti SC,serif;font-size:21px;letter-spacing:.08em}.flow-brand em{margin-top:17px;color:#a69b8f;font:600 8px/1 sans-serif;letter-spacing:.18em}.flow-header nav{display:flex;align-items:center;gap:8px}.flow-header nav a{display:flex;align-items:center;gap:7px;padding:9px 13px;color:#71685e;text-decoration:none;border-radius:9px;font-size:13px;font-weight:700}.flow-header nav a:hover{color:#8e432f;background:#eee4d9}.flow-step{position:absolute;left:50%;transform:translate(-50%);color:#93877a;font:700 11px/1 sans-serif;letter-spacing:.12em}.landing-page{position:relative;overflow:hidden;color:#352d27;background:#e9dfcf;isolation:isolate}.landing-page:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-5;background:linear-gradient(105deg,#f2e8d5f7 5%,#eee4d1d4 43%,#65584657),url(/backgrounds/photography/photography-01.png) center/cover;filter:saturate(.72);transform:scale(1.04)}.landing-page:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-3;background:radial-gradient(circle at 18% 78%,rgba(238,196,109,.3),transparent 30%),linear-gradient(90deg,#f6eee0f5 0,#f6eee0f5 48%,#f6eee014 76%)}.light-field{position:absolute;top:-25%;right:-25%;bottom:-25%;left:-25%;z-index:-1;pointer-events:none;filter:blur(35px);animation:light-drift 13s ease-in-out infinite alternate}.light-field i{position:absolute;border-radius:50%;mix-blend-mode:screen}.light-field i:nth-child(1){width:55vw;height:35vw;left:30%;top:8%;background:#ffeeab5e;transform:rotate(-16deg)}.light-field i:nth-child(2){width:26vw;height:58vw;right:3%;top:12%;background:#fff7da47;transform:rotate(28deg)}.light-field i:nth-child(3){width:42vw;height:25vw;left:18%;bottom:1%;background:#f7c07d38}.landing-nav{height:88px;padding:0 clamp(30px,6vw,96px);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:10}.landing-logo{display:flex;align-items:center;gap:9px;color:#382f28;text-decoration:none;font:700 21px "Noto Serif SC",Songti SC,serif;letter-spacing:.08em}.landing-logo span{width:38px;height:42px;display:grid;place-items:center;color:#fff8ec;background:#a54c33;border-radius:5px 5px 11px 11px;transform:rotate(-4deg)}.landing-logo em{align-self:flex-end;margin:0 0 12px -4px;color:#998c7e;font:700 8px sans-serif;letter-spacing:.2em}.landing-nav>div{display:flex;gap:8px}.landing-nav>div a{padding:9px 15px;color:#62584e;text-decoration:none;font-size:13px;font-weight:700;border-radius:18px}.landing-nav>div a:hover{background:#ffffff61}.landing-copy{width:min(700px,56vw);margin:clamp(80px,13vh,150px) 0 0 clamp(32px,9vw,150px);position:relative;z-index:4}.landing-kicker{display:flex;align-items:center;gap:8px;color:#8f553d;font-size:13px;font-weight:800;letter-spacing:.08em}.landing-copy h1{margin:24px 0 20px;color:#312a24;font:700 clamp(48px,5.5vw,86px)/1.2 "Noto Serif SC","Songti SC",serif;letter-spacing:.02em}.landing-copy h1 i{color:#a54e36;font-style:normal}.landing-lead{max-width:570px;color:#74675b;font:400 16px/1.9 "Noto Serif SC",Songti SC,serif;letter-spacing:.04em}.start-button{width:max-content;margin-top:34px;padding:16px 25px;display:flex;align-items:center;gap:28px;color:#fff9ef;background:#9d482f;border-radius:3px 18px;text-decoration:none;font-weight:800;box-shadow:0 12px 28px #5c2b1d3d;transition:transform .22s,box-shadow .22s}.start-button:hover{transform:translateY(-3px);box-shadow:0 17px 34px #5c2b1d47}.landing-trust{margin-top:27px;display:flex;align-items:center;gap:11px;color:#8c8074;font-size:11px}.landing-trust span{display:flex;align-items:center;gap:5px}.landing-film{position:absolute;z-index:2;overflow:hidden;border:8px solid rgba(255,251,243,.8);box-shadow:0 20px 50px #31271d3b;animation:photo-float 7s ease-in-out infinite}.landing-film img{width:100%;height:100%;object-fit:cover}.film-a{width:270px;height:405px;right:12vw;top:19vh;transform:rotate(5deg)}.film-b{width:160px;height:235px;right:4vw;top:11vh;transform:rotate(10deg);animation-delay:-2s}.film-c{width:145px;height:210px;right:4.5vw;bottom:4vh;transform:rotate(-7deg);animation-delay:-4s}.landing-scroll{position:absolute;left:50%;bottom:22px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#918476;font-size:9px;letter-spacing:.1em}.landing-scroll span{width:1px;height:28px;background:#a39789;animation:scroll-pulse 1.8s infinite}.create-page{background:radial-gradient(circle at 13% 28%,rgba(208,173,123,.15),transparent 28%),#f4efe6}.create-shell{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:48px 0 70px}.create-title{text-align:center;margin-bottom:36px}.create-title>p,.library-title p,.library-section-head p{color:#a0533a;font:800 10px/1 sans-serif;letter-spacing:.22em}.create-title h1{margin:9px 0 10px;font:700 38px/1.3 "Noto Serif SC",Songti SC,serif}.create-title span{color:#8c8278;font-size:14px}.create-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:22px;align-items:stretch}.upload-card,.style-card{padding:28px;background:#fffdf9e0;border:1px solid #e5ddd1;border-radius:20px;box-shadow:0 15px 45px #4d3b2a12}.section-label{margin-bottom:20px;display:flex;align-items:center;gap:12px}.section-label>b{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#a95036;font-size:12px}.section-label>span{display:flex;align-items:baseline;gap:9px;font:700 17px "Noto Serif SC",serif}.section-label small{color:#aaa095;font:700 8px sans-serif;letter-spacing:.16em}.hero-drop{width:100%;height:345px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;overflow:hidden;color:#7e7266;background-color:#eee7dc;background-image:radial-gradient(#c8bbaa 1px,transparent 1px);background-size:18px 18px;border:1px dashed #bfae9a;border-radius:15px;cursor:pointer}.hero-drop>span{width:70px;height:70px;display:grid;place-items:center;color:#a35239;background:#fffaf1db;border-radius:50%;box-shadow:0 6px 18px #4635271a}.hero-drop>b{font-size:17px}.hero-drop>small{color:#9d9286;font-size:11px}.hero-drop.has-image{border-style:solid;background:#d9d1c5}.hero-drop img{width:100%;height:100%;object-fit:contain}.hero-drop em{position:absolute;right:13px;bottom:13px;display:flex;align-items:center;gap:7px;padding:9px 13px;color:#fff;background:#362e28c7;border-radius:9px;font-style:normal;font-size:12px}.create-label{margin:20px 0 8px;display:flex;align-items:center;gap:8px;color:#655b52;font-size:13px;font-weight:800}.upload-card textarea{width:100%;min-height:88px;padding:13px 15px;resize:vertical;color:#51483f;background:#fff;border:1px solid #ddd3c6;border-radius:11px;outline:none;font:12px/1.6 inherit}.upload-card textarea:focus{border-color:#b96a50;box-shadow:0 0 0 4px #a9503614}.detected-message{margin:7px 1px 0;display:flex;align-items:flex-start;gap:5px;color:#61735c;font-size:10px;word-break:break-all}.custom-prompt-label{margin-bottom:5px}.custom-prompt-label small{margin-left:auto;padding:2px 7px;color:#9c6d5d;background:#f5e9e2;border-radius:999px;font-size:9px}.custom-prompt-help{margin:0 0 8px;color:#91867b;font-size:10px;line-height:1.55}.style-card .custom-prompt-input{width:100%;min-height:86px;padding:12px 14px;resize:vertical;color:#51483f;background:#fff;border:1px solid #ddd3c6;border-radius:11px;outline:none;font:11px/1.6 inherit}.style-card .custom-prompt-input:focus{border-color:#b96a50;box-shadow:0 0 0 4px #a9503614}.custom-prompt-count{display:block;margin-top:4px;color:#aaa095;font-size:8px;text-align:right}.create-style-list{display:grid;gap:10px}.create-style-list button{min-height:100px;padding:14px;display:grid;grid-template-columns:55px 1fr 22px;align-items:center;gap:13px;text-align:left;color:#5d544b;background:#faf8f3;border:1px solid #ded6ca;border-radius:13px;cursor:pointer}.create-style-list button.selected{color:#713b2c;background:#fff9f4;border-color:#ad573d;box-shadow:0 0 0 1px #ad573d}.style-number{width:50px;height:59px;display:grid;place-items:center;color:#735e4f;background:#eedbc1;border-radius:45% 55% 47% 53%;font:800 13px serif;transform:rotate(-4deg)}.style-number.comic{color:#473d31;background:#f0c854;border-radius:5px;transform:rotate(3deg);box-shadow:3px 3px #39332e}.style-number.collage{color:#fff;background:#71806c;border-radius:50%}.create-style-list small{color:#a79b90;font-size:8px;letter-spacing:.15em}.create-style-list b{display:block;margin:4px 0;font:700 16px "Noto Serif SC",serif}.create-style-list p{margin:0;color:#90867c;font-size:10px}.privacy-note{margin-top:18px;padding:13px;display:flex;gap:10px;color:#68745f;background:#e9eee5;border-radius:11px}.privacy-note p{margin:0}.privacy-note b,.privacy-note span{display:block}.privacy-note b{font-size:12px}.privacy-note span{margin-top:3px;color:#84907d;font-size:9px;line-height:1.5}.create-error{margin:12px 0 0;padding:9px 11px;color:#974631;background:#f6e5df;border-radius:8px;font-size:11px}.create-submit,.enter-editor{width:100%;margin-top:16px;padding:14px 18px;display:flex;align-items:center;justify-content:center;gap:25px;color:#fffaf1;background:#a64e34;border:0;border-radius:10px;cursor:pointer;font-weight:800;box-shadow:0 8px 18px #6f321f2e}.create-submit:disabled{opacity:.62;cursor:wait}.back-home{margin-top:14px;display:flex;justify-content:center;align-items:center;gap:6px;color:#8a8075;text-decoration:none;font-size:11px}.waiting-page{overflow:hidden;background:#221f1b;color:#f4eddf}.waiting-page .flow-header{color:#eee5d7;border-color:#ffffff17;background:#1f1c19c7}.waiting-page .flow-brand,.waiting-page .flow-header nav a{color:#eee5d7}.waiting-page .flow-step{color:#988d7e}.waiting-stage{height:calc(100% - 76px);position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 48%,rgba(175,103,61,.18),transparent 35%),radial-gradient(circle at 20% 20%,rgba(228,196,124,.08),transparent 25%)}.waiting-stage:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.11;background-image:radial-gradient(#e8d8bd 1px,transparent 1px);background-size:24px 24px}.waiting-copy{width:min(550px,88vw);position:relative;z-index:8;text-align:center}.codex-mark,.done-mark{width:82px;height:82px;margin:0 auto 22px;display:grid;place-items:center;color:#e8c67e;border:1px solid rgba(232,198,126,.42);border-radius:50%;box-shadow:0 0 0 12px #e8c67e0a,0 0 45px #e8a25e26;animation:mark-breathe 2s infinite}.done-mark{color:#d6e1c9;border-color:#91a382;animation:none}.waiting-copy>p{color:#bd956a;font-size:9px;font-weight:800;letter-spacing:.25em}.waiting-copy h1{margin:11px 0;font:700 clamp(29px,4vw,46px) "Noto Serif SC","Songti SC",serif}.waiting-stage-text{color:#a99f91;font-size:13px}.waiting-custom-prompt{margin:18px auto -7px;padding:10px 13px;color:#c8bdae;background:#ffffff0b;border:1px solid rgba(255,255,255,.08);border-radius:9px;text-align:left}.waiting-custom-prompt>span{display:block;margin-bottom:4px;color:#d8bb82;font-size:8px;font-weight:800;letter-spacing:.12em}.waiting-custom-prompt>p{margin:0;max-height:3.2em;overflow:auto;color:#bcb1a3;font-size:10px;line-height:1.55}.waiting-progress{height:7px;margin:28px auto 14px;position:relative;overflow:visible;background:#ffffff17;border-radius:10px}.waiting-progress i{display:block;height:100%;background:linear-gradient(90deg,#a8573d,#e2c17b);border-radius:10px;transition:width .5s;box-shadow:0 0 18px #e2c17b59}.waiting-progress span{position:absolute;right:0;top:13px;color:#9e9285;font-size:10px}.waiting-copy blockquote{margin:26px 0 0;padding:11px 14px;display:flex;justify-content:center;gap:7px;color:#c3b8a9;background:#ffffff0a;border:1px solid rgba(255,255,255,.07);border-radius:9px;font-size:11px}.analysis-warning{margin:12px 0 0;padding:10px 13px;color:#e0b7a4;background:#ae4c301f;border:1px solid rgba(202,116,87,.24);border-radius:9px;font-size:10px;line-height:1.55}.waiting-copy>.generation-mode-badge{width:max-content;margin:20px auto 0;padding:7px 11px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;font-size:10px;letter-spacing:.04em}.waiting-copy>.generation-mode-badge.ai-redraw{color:#d7e8cc;background:#6f8e5b29;border:1px solid rgba(160,190,140,.3)}.waiting-copy>.generation-mode-badge.legacy{color:#c2b8aa;background:#ffffff0d;border:1px solid rgba(255,255,255,.09)}.analysis-warning strong,.analysis-warning span{display:block}.analysis-warning strong{color:#ffd1bd;font-size:11px}.analysis-warning span{margin-top:2px}.waiting-copy>small{margin-top:30px;display:flex;justify-content:center;align-items:center;gap:7px;color:#776f66;font-size:10px}.enter-editor{width:max-content;margin:30px auto 0;padding:14px 25px}.orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(221,187,126,.12);border-radius:50%;transform:translate(-50%,-50%) rotate(-12deg)}.orbit-one{width:min(82vw,1100px);height:65vh}.orbit-two{width:min(62vw,800px);height:46vh;transform:translate(-50%,-50%) rotate(16deg)}.float-element{width:clamp(85px,9vw,155px);height:clamp(85px,9vw,155px);position:absolute;z-index:4;opacity:.78;filter:drop-shadow(0 12px 16px rgba(0,0,0,.3));animation:element-drift 8s ease-in-out infinite}.float-element img{width:100%;height:100%;object-fit:contain}.float-1{left:8%;top:20%}.float-2{right:9%;top:18%;animation-delay:-2s}.float-3{left:13%;bottom:12%;animation-delay:-4s}.float-4{right:15%;bottom:9%;animation-delay:-5.5s}.float-5{left:3%;top:52%;animation-delay:-1s;transform:scale(.68)}.float-6{right:3%;top:52%;animation-delay:-3s;transform:scale(.68)}.library-page{background:#f4efe7}.library-shell{width:min(1400px,calc(100% - 56px));margin:0 auto;padding:48px 0 80px}.library-title{display:flex;justify-content:space-between;align-items:flex-end}.library-title h1{margin:10px 0;font:700 38px "Noto Serif SC",Songti SC,serif}.library-title span{color:#8c8176;font-size:13px}.library-title-actions{display:flex;align-items:center;gap:9px}.library-title-actions>button{padding:12px 17px;display:flex;align-items:center;gap:9px;color:#fff;background:#3c3933;border:0;border-radius:10px;cursor:pointer;font-weight:800}.library-title-actions>button.secondary{color:#7f4f3e;background:#eadfd4}.library-tools{margin-top:35px;display:grid;grid-template-columns:1fr 285px;gap:14px}.ai-background,.upload-background{min-height:92px;padding:17px;display:flex;align-items:center;gap:13px;background:#fffdf9;border:1px solid #e1d8cb;border-radius:14px}.ai-background>span{width:48px;height:48px;display:grid;place-items:center;color:#a24e36;background:#f2e2d7;border-radius:50%}.ai-background div{min-width:160px}.ai-background b,.ai-background small,.upload-background b,.upload-background small{display:block}.ai-background b,.upload-background b{font-size:13px}.ai-background small,.upload-background small{margin-top:4px;color:#9c9185;font-size:9px}.ai-background input{min-width:0;flex:1;height:43px;padding:0 13px;border:1px solid #ded5c9;border-radius:9px;outline:none}.ai-background>button{height:43px;min-width:88px;border:0;border-radius:9px;color:#fff;background:#a44d34;cursor:pointer}.upload-background{justify-content:center;color:#695f55;border-style:dashed;cursor:pointer}.library-message{margin:12px 0 0;color:#81513e;background:#eee3d8;padding:9px 13px;border-radius:8px;font-size:11px}.library-bulk-bar,.memory-bulk-bar{margin-top:12px;padding:10px 13px;display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#725c50;background:#fffaf3;border:1px solid #dfd3c5;border-radius:10px;font-size:10px}.library-bulk-bar span,.memory-bulk-bar span{margin-right:auto}.library-bulk-bar b,.memory-bulk-bar b{color:#9b4d36}.library-bulk-bar button,.memory-bulk-bar button{padding:8px 11px;display:flex;align-items:center;gap:6px;color:#fff;background:#9d4f3a;border:0;border-radius:7px;cursor:pointer;font-size:10px;font-weight:800}.library-bulk-bar button:disabled,.memory-bulk-bar button:disabled{opacity:.45;cursor:not-allowed}.memory-bulk-bar button.secondary{color:#7f5f50;background:#eee5dc}.library-section{margin-top:44px}.library-section-head{margin-bottom:17px;display:flex;align-items:flex-end;justify-content:space-between}.library-section-head h2{margin:5px 0 0;font:700 24px "Noto Serif SC",Songti SC,serif}.library-section-head h2 span{color:#aa9c8e;font:600 11px sans-serif}.library-section-head nav{display:flex;gap:5px}.library-section-head nav button{padding:7px 12px;color:#81776d;background:transparent;border:0;border-radius:18px;cursor:pointer;font-size:11px}.library-section-head nav button.active{color:#8c402c;background:#ecded3;font-weight:800}.background-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.background-gallery article{min-width:0;position:relative;border-radius:8px;transition:box-shadow .2s}.background-gallery article.selected,.element-gallery article.selected{box-shadow:0 0 0 3px #9d4f3a7a}.background-preview{width:100%;aspect-ratio:2/3;position:relative;padding:0;overflow:hidden;background:#ddd4c8;border:8px solid #fffdf8;border-radius:6px;box-shadow:0 8px 22px #4434261f;cursor:pointer}.background-preview img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.background-preview span{position:absolute;left:10px;right:10px;bottom:10px;padding:10px;display:flex;justify-content:center;align-items:center;gap:9px;color:#fff;background:#372e27c7;border-radius:8px;opacity:0;transform:translateY(8px);transition:.22s;font-size:11px;font-weight:800}.background-preview:hover img{transform:scale(1.025)}.background-preview:hover span{opacity:1;transform:none}.background-gallery article>div{padding:10px 4px;position:relative}.background-gallery article>div b,.background-gallery article>div small{display:block}.background-gallery article>div b{font:700 13px "Noto Serif SC",serif}.background-gallery article>div small{margin-top:3px;color:#9e9489;font-size:9px}.library-card-meta{display:flex;align-items:flex-start;gap:8px}.library-card-meta>div:first-child{min-width:0;flex:1}.library-card-meta p,.element-gallery article>p{margin:6px 0 0;overflow:hidden;color:#8f8479;font-size:9px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.library-card-actions{flex:0 0 auto;display:flex;gap:5px}.library-card-actions button{width:27px;height:27px;padding:0;display:grid;place-items:center;color:#865443;background:#f0e3d9;border:0;border-radius:7px;cursor:pointer}.library-card-actions button:last-child{color:#a33f31;background:#f5ded7}.library-select-button{width:31px;height:31px;padding:0;position:absolute;z-index:3;left:8px;top:8px;display:grid;place-items:center;color:#786b60;background:#fffdf9f0;border:1px solid #d8ccbe;border-radius:8px;box-shadow:0 4px 12px #372b221f;cursor:pointer}.library-select-button.active{color:#fff;background:#9d4f3a;border-color:#9d4f3a}.link-create{display:flex;align-items:center;gap:6px;padding:8px 12px;color:#8d4632;background:#f0e1d7;border:0;border-radius:8px;cursor:pointer;font-weight:700}.library-section-actions{display:flex;align-items:center;gap:8px}.library-section-actions>button:not(.link-create){padding:8px 11px;color:#7f5c4d;background:#eee4da;border:0;border-radius:8px;cursor:pointer}.element-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.element-gallery article{min-width:0;position:relative;padding:9px 9px 12px;background:#fffdf9;border:1px solid #e2d9cc;border-radius:12px}.element-gallery article>.element-thumb{width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;background-color:#eee8de;background-image:linear-gradient(45deg,#e5ded3 25%,transparent 25%),linear-gradient(-45deg,#e5ded3 25%,transparent 25%);background-size:12px 12px;border-radius:8px}.element-gallery img{width:94%;height:94%;object-fit:contain}.element-gallery b,.element-gallery small{display:block}.element-gallery b{margin-top:8px;font-size:11px}.element-gallery small{margin-top:3px;color:#9a9085;font-size:8px}.element-gallery small.fallback-source{width:max-content;max-width:100%;padding:3px 5px;color:#a3402f;background:#f8e0d8;border-radius:4px;font-weight:700;line-height:1.35}.element-gallery article>.library-card-actions{width:auto;aspect-ratio:auto;margin-top:9px;display:flex;justify-content:flex-end;overflow:visible;background:transparent;background-image:none;border-radius:0}.text-edit-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;padding:24px;display:grid;place-items:center;background:#30272180;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.text-edit-dialog{width:min(560px,100%);max-height:calc(100vh - 48px);padding:22px;overflow-y:auto;background:#fffdf9;border:1px solid #e2d7ca;border-radius:17px;box-shadow:0 24px 70px #2d221b47}.text-edit-dialog>header{margin-bottom:18px;display:flex;justify-content:space-between;align-items:flex-start}.text-edit-dialog>header p{margin:0 0 5px;color:#a2533b;font-size:8px;font-weight:900;letter-spacing:.16em}.text-edit-dialog>header h2{margin:0;color:#493f37;font:700 22px "Noto Serif SC",Songti SC,serif}.text-edit-dialog>header>button{width:34px;height:34px;display:grid;place-items:center;color:#776c62;background:#f1e9e0;border:0;border-radius:50%;cursor:pointer}.text-edit-dialog>label{margin-top:13px;display:grid;gap:7px;color:#66594f;font-size:10px;font-weight:800}.text-edit-dialog input,.text-edit-dialog textarea{width:100%;padding:11px 12px;color:#4e453e;background:#f8f4ee;border:1px solid #ddd2c6;border-radius:9px;outline:none;resize:vertical;font:11px/1.55 inherit}.text-edit-dialog input:focus,.text-edit-dialog textarea:focus{border-color:#ad6049;box-shadow:0 0 0 4px #a9503614}.text-edit-dialog>footer{margin-top:20px;display:flex;justify-content:flex-end;gap:8px}.text-edit-dialog>footer button{padding:10px 14px;display:flex;align-items:center;gap:7px;color:#fff;background:#964b36;border:0;border-radius:8px;cursor:pointer;font-size:10px;font-weight:800}.text-edit-dialog>footer button.secondary{color:#77675d;background:#eee6dd}.text-edit-dialog>footer button:disabled{opacity:.5;cursor:not-allowed}.memories-page{background:radial-gradient(circle at 87% 2%,rgba(202,163,126,.16),transparent 28%),#f4efe7}.memories-shell{width:min(1320px,calc(100% - 56px));margin:0 auto;padding:48px 0 80px}.memories-title{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.memories-title>div>p,.memory-kicker{margin:0;color:#a2533b;font-size:9px;font-weight:900;letter-spacing:.18em}.memories-title h1{margin:10px 0;font:700 38px "Noto Serif SC",Songti SC,serif}.memories-title>div>span{color:#8c8176;font-size:13px}.memory-count{flex:0 0 auto;padding:10px 13px;display:flex;align-items:center;gap:7px;color:#7b5547;background:#eadfd4;border-radius:999px;font-size:11px;font-weight:800}.memory-title-actions{display:flex;align-items:center;gap:8px}.memory-title-actions>button{padding:9px 11px;display:flex;align-items:center;gap:6px;color:#7d4e3d;background:#eadfd4;border:0;border-radius:8px;cursor:pointer;font-size:10px;font-weight:800}.memory-search-card{margin-top:32px;min-height:112px;padding:17px 18px;position:relative;display:grid;grid-template-columns:42px minmax(210px,.58fr) minmax(400px,1.42fr);align-items:center;gap:14px;background:#fffdf9e6;border:1px solid #e1d8cb;border-radius:15px;box-shadow:0 12px 35px #4c392a0e}.memory-search-card>svg{width:42px;height:42px;padding:11px;color:#a6533b;background:#f2e2d7;border-radius:50%}.memory-search-card b,.memory-search-card span{display:block}.memory-search-card b{color:#584e45;font-size:12px}.memory-search-card span{margin-top:4px;color:#9a8f84;font-size:9px;line-height:1.45}.memory-search-card input{width:100%;height:43px;padding:0 14px;color:#51483f;background:#f8f5ef;border:1px solid #ded5c9;border-radius:9px;outline:none;font:11px inherit}.memory-search-card input:focus{border-color:#b96a50;box-shadow:0 0 0 4px #a9503614}.semantic-search-form{min-width:0;display:grid;gap:9px}.semantic-search-field{display:flex;align-items:center;gap:8px}.semantic-search-field input{min-width:0;flex:1}.semantic-search-field>button{height:43px;min-width:108px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px;color:#fff;background:linear-gradient(135deg,#a44d34,#7f3e2d);border:0;border-radius:9px;box-shadow:0 7px 17px #843e2b2e;cursor:pointer;font-size:10px;font-weight:800}.semantic-search-field>button:disabled{opacity:.52;box-shadow:none;cursor:not-allowed}.semantic-kind-filters{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none}.semantic-kind-filters::-webkit-scrollbar{display:none}.semantic-kind-filters button{flex:0 0 auto;padding:5px 10px;color:#887a6e;background:#f1ebe3;border:1px solid transparent;border-radius:999px;cursor:pointer;font-size:9px}.semantic-kind-filters button.active{color:#8d432f;background:#f2ddd1;border-color:#d9a58f;font-weight:800}.semantic-search-error,.semantic-search-warning{margin:10px 0 0;padding:9px 12px;color:#9d3f31;background:#f7dfd8;border:1px solid #ebc9bf;border-radius:9px;font-size:10px;line-height:1.5}.semantic-search-loading{margin-top:14px;padding:15px 17px;display:flex;align-items:center;gap:11px;color:#a05039;background:#fffaf3d1;border:1px dashed #d9b7a6;border-radius:12px}.semantic-search-loading b,.semantic-search-loading span{display:block}.semantic-search-loading b{color:#654f44;font-size:11px}.semantic-search-loading span{margin-top:3px;color:#99877b;font-size:9px}.semantic-results{margin-top:20px;padding:22px;background:#fffcf7eb;border:1px solid #dfd2c4;border-radius:17px;box-shadow:0 14px 38px #4938280f}.semantic-results>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.semantic-results>header p{margin:0 0 6px;color:#a2533b;font-size:8px;font-weight:900;letter-spacing:.16em}.semantic-results>header h2{margin:0;color:#4f443c;font:700 21px "Noto Serif SC",Songti SC,serif}.semantic-results>header>div:first-child>span{max-width:760px;margin-top:7px;display:block;color:#8e8175;font-size:10px;line-height:1.55}.semantic-engine-badge{flex:0 0 auto;padding:9px 11px;display:flex;align-items:center;gap:7px;border-radius:10px}.semantic-engine-badge.ai{color:#8f472f;background:#f3dfd3}.semantic-engine-badge.fallback{color:#6b6652;background:#e9e8d9}.semantic-engine-badge span,.semantic-engine-badge b,.semantic-engine-badge small{display:block}.semantic-engine-badge b{color:inherit;font-size:9px}.semantic-engine-badge small{margin-top:2px;color:#97877b;font-size:8px}.semantic-result-grid{margin-top:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.semantic-result-card{min-width:0;padding:10px;display:grid;grid-template-columns:118px minmax(0,1fr);gap:13px;align-items:stretch;color:inherit;background:#f8f4ed;border:1px solid #e3d9cd;border-radius:12px;cursor:pointer;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s}.semantic-result-card:hover{transform:translateY(-2px);border-color:#cfaa98;box-shadow:0 9px 22px #4d372a1a}.semantic-result-card:focus-visible{outline:2px solid #a95036;outline-offset:2px}.semantic-result-preview{min-height:154px;position:relative;display:grid;place-items:center;overflow:hidden;color:#a15a43;background:#ece4da;border-radius:8px}.semantic-result-preview.has-image{background-color:#ede7df;background-image:linear-gradient(45deg,#e3dbd1 25%,transparent 25%),linear-gradient(-45deg,#e3dbd1 25%,transparent 25%);background-size:14px 14px}.semantic-result-preview img{width:100%;height:100%;position:absolute;object-fit:contain}.semantic-result-preview>span{position:absolute;left:7px;bottom:7px;margin:0;padding:4px 6px;color:#fff;background:#3e3027c2;border-radius:5px;font-size:7px;font-weight:800}.semantic-result-content{min-width:0;display:flex;flex-direction:column}.semantic-result-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#9b8d81;font-size:8px}.semantic-result-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.semantic-result-meta time{flex:0 0 auto}.semantic-result-content h3{margin:6px 0 4px;color:#51463e;font:700 15px "Noto Serif SC",Songti SC,serif}.semantic-result-content>p{margin:0;overflow:hidden;color:#897c71;font-size:9px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.semantic-match-reason{margin-top:8px;padding:7px 8px;display:flex;align-items:flex-start;gap:6px;color:#96614e;background:#f1e5dc;border-radius:7px;font-size:8px;line-height:1.45}.semantic-match-reason svg{flex:0 0 auto;margin-top:1px}.semantic-match-reason span,.semantic-match-reason b{display:block}.semantic-match-reason b{margin-bottom:2px;color:#794c3d;font-size:8px}.semantic-result-content footer{margin-top:auto;padding-top:9px;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:space-between;gap:4px 8px;color:#9a8b7e;font-size:8px}.semantic-result-content footer b{color:#985039;font-size:10px}.semantic-result-content footer i{width:100%;height:4px;grid-column:1/-1;position:relative;overflow:hidden;background:#e5d9ce;border-radius:999px}.semantic-result-content footer i:after{content:"";width:var(--match-score,0%);position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#c8795e,#97452f);border-radius:inherit}.semantic-empty{min-height:170px;margin-top:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#a28f82;background:#f7f2eb;border:1px dashed #ddd0c2;border-radius:11px;text-align:center}.semantic-empty b{color:#66574d;font:700 15px "Noto Serif SC",Songti SC,serif}.semantic-empty span{font-size:9px}.memory-search-target{outline:3px solid rgba(181,95,67,.72);outline-offset:4px;animation:memory-target-pulse 1.8s ease}.memory-load-notice{margin:10px 0 0;padding:8px 11px;color:#8d654f;background:#eee2d6;border-radius:8px;font-size:9px}.memory-page-state{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#8d8175;text-align:center}.memory-page-state b{color:#5d544c;font:700 18px "Noto Serif SC",Songti SC,serif}.memory-page-state span{font-size:11px}.memory-page-state.error svg{color:#a4513b}.memory-folder-list{margin-top:25px;display:grid;gap:16px}.memory-folder{overflow:hidden;background:#fffdf9ed;border:1px solid #dfd5c8;border-radius:18px;box-shadow:0 14px 38px #4938280f}.memory-folder>summary{min-height:148px;padding:16px 20px 16px 16px;display:grid;grid-template-columns:168px minmax(0,1fr) auto;align-items:center;gap:22px;cursor:pointer;list-style:none}.memory-folder>summary::-webkit-details-marker{display:none}.memory-folder>summary:focus-visible{outline:2px solid #a95036;outline-offset:-4px}.memory-folder-cover{height:116px;position:relative;overflow:hidden;background:#e9e1d6;border-radius:11px}.memory-folder-cover img{width:100%;height:100%;object-fit:cover}.memory-folder-cover span{position:absolute;left:8px;bottom:8px;padding:4px 7px;color:#fff;background:#372b23c7;border-radius:5px;font-size:8px;font-weight:800}.memory-folder-heading{min-width:0}.memory-folder-heading>span{display:flex;align-items:center;gap:5px;color:#9b8e82;font-size:9px}.memory-folder-heading h2{margin:7px 0 5px;color:#443b34;font:700 21px "Noto Serif SC",Songti SC,serif}.memory-folder-heading>p{margin:0;max-width:780px;color:#85796e;font-size:11px;line-height:1.6}.memory-folder-heading>div{margin-top:11px;display:flex;flex-wrap:wrap;gap:8px}.memory-folder-heading>div span{padding:5px 7px;display:flex;align-items:center;gap:4px;color:#826f62;background:#f2ece4;border-radius:6px;font-size:8px;font-weight:700}.memory-folder-toggle{display:flex;align-items:center;gap:6px;color:#9a5842;font-size:10px;font-weight:800}.memory-folder-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px}.memory-folder-controls>button{width:31px;height:31px;padding:0;display:grid;place-items:center;color:#805b4d;background:#f0e5dc;border:0;border-radius:8px;cursor:pointer}.memory-folder-controls>button.selected{color:#fff;background:#9d4f3a}.memory-folder-controls>button:nth-last-of-type(1){color:#a33f31;background:#f4ddd6}.memory-folder-controls .memory-folder-toggle{margin-left:5px}.memory-folder-toggle svg{transition:transform .2s ease}.memory-folder[open] .memory-folder-toggle svg{transform:rotate(180deg)}.memory-folder[open]>summary{border-bottom:1px solid #e8dfd4}.memory-folder-content{padding:24px}.memory-overview{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(0,1.28fr);gap:24px}.memory-source-image{min-height:265px;position:relative;overflow:hidden;background:#e9e1d5;border-radius:13px}.memory-source-image img{width:100%;height:100%;position:absolute;object-fit:cover}.memory-source-image a{position:absolute;right:11px;bottom:11px;padding:8px 10px;display:flex;align-items:center;gap:6px;color:#fff;background:#342b24d6;border-radius:7px;text-decoration:none;font-size:9px;font-weight:800}.memory-descriptions{min-width:0;padding:6px 4px}.memory-descriptions h3{margin:9px 0 18px;color:#4d433b;font:700 20px/1.55 "Noto Serif SC",Songti SC,serif}.memory-descriptions>div{margin-top:10px;padding:12px 14px;background:#f5f0e9;border-radius:9px}.memory-descriptions>div b{color:#67594f;font-size:10px}.memory-descriptions>div p{margin:5px 0 0;color:#8c8075;font-size:10px;line-height:1.65;word-break:break-word}.memory-descriptions>.memory-custom-prompt{background:#f4e7df;border-left:3px solid #bd735a}.memory-section{margin-top:30px;padding-top:25px;border-top:1px solid #e6ddd2}.memory-section>header{margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}.memory-section>header>div{display:flex;align-items:center;gap:9px;color:#99513a}.memory-section>header span b,.memory-section>header span small{display:block}.memory-section>header span b{color:#53483f;font-size:14px}.memory-section>header span small{margin-top:2px;color:#a09488;font-size:7px;letter-spacing:.1em}.memory-section>header em{min-width:24px;padding:4px 7px;color:#8f6657;background:#eee3da;border-radius:999px;font-size:9px;font-style:normal;text-align:center}.memory-element-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.memory-element-grid article{min-width:0;padding:10px;position:relative;background:#f8f5ef;border:1px solid #e4dcd1;border-radius:11px}.memory-element-grid article>div{height:170px;display:grid;place-items:center;overflow:hidden;background-color:#ede7df;background-image:linear-gradient(45deg,#e3dbd1 25%,transparent 25%),linear-gradient(-45deg,#e3dbd1 25%,transparent 25%);background-size:14px 14px;border-radius:8px}.memory-element-grid img{width:94%;height:94%;object-fit:contain}.memory-element-grid article>span{position:absolute;top:17px;right:17px;padding:4px 6px;color:#fff;background:#42342bb3;border-radius:5px;font-size:7px;font-weight:800}.memory-element-grid h4,.memory-background-grid h4,.memory-journal-grid h4{margin:9px 0 4px;color:#554940;font-size:11px}.memory-element-grid p,.memory-element-grid small,.memory-background-grid p,.memory-journal-grid p{margin:0;color:#897c70;font-size:9px;line-height:1.55}.memory-element-grid small{margin-top:6px;padding-top:6px;display:block;color:#a19589;border-top:1px dashed #ded4c8}.memory-background-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-background-grid article{min-width:0;min-height:145px;padding:10px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:13px;align-items:center;background:#f8f5ef;border:1px solid #e4dcd1;border-radius:11px}.memory-background-grid img{width:100px;height:125px;object-fit:cover;border-radius:7px}.memory-journal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-journal-grid article{min-width:0;padding:10px;display:grid;grid-template-columns:minmax(155px,.9fr) minmax(0,1.1fr);gap:14px;align-items:center;background:#f8f5ef;border:1px solid #e4dcd1;border-radius:11px}.memory-journal-grid article>img,.memory-snapshot-pending{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.memory-snapshot-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#a89586;background:#ebe4da;text-align:center;font-size:8px;line-height:1.5}.memory-journal-grid article>div:last-child>span{color:#aa9b8d;font-size:8px}.memory-journal-grid article>div:last-child>small{display:block;margin-top:8px;color:#8f6354;font-size:8px;font-weight:700}.memory-section-empty{margin:0;padding:22px;color:#9c9084;background:#f7f3ed;border:1px dashed #ddd3c7;border-radius:10px;font-size:10px;text-align:center}.memory-search-note{margin:25px auto 0;display:flex;align-items:center;justify-content:center;gap:7px;color:#998b7e;font-size:9px}.app-body{grid-template-columns:var(--left-panel-width,360px) minmax(520px,1fr) var(--right-panel-width,330px)}.left-panel{padding:22px 20px 35px}.collection-card{gap:15px;padding:14px}.collection-cover{width:68px;height:74px}.collection-card small{font-size:11px}.collection-card h2{font-size:17px}.collection-card p{font-size:11px}.panel-heading h3,.asset-heading h3,.inspector-heading h3{font-size:17px}.eyebrow{font-size:10px}.beta{font-size:9px}.drop-zone{height:155px}.drop-overlay{font-size:12px}.text-button{font-size:11px}.field-label{font-size:12px;margin-top:16px}.input-with-icon{min-height:44px}.input-with-icon input,.plain-input{font-size:12px}.link-detected{font-size:10px}.style-grid{gap:8px}.style-grid button{height:87px;padding:9px 5px}.style-swatch{width:30px;height:30px}.style-grid b{font-size:11px}.style-grid small{font-size:9px}.extract-button{padding:13px;font-size:13px}.progress-card>div:first-child{font-size:11px}.asset-heading{margin-top:23px}.asset-heading span,.asset-heading small{font-size:10px}.asset-grid{gap:8px}.asset-card,.asset-add,.asset-grid .asset-empty{height:108px}.asset-add{padding-bottom:23px}.asset-add img{height:80px}.asset-add>span,.asset-empty em{font-size:10px}.background-heading a{color:#9d4d35;text-decoration:none;font-size:10px}.background-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.background-strip button{min-width:0;padding:3px 3px 18px;position:relative;overflow:hidden;background:#f3ede3;border:1px solid #ded5c8;border-radius:7px;cursor:pointer}.background-strip button.selected{border-color:#a95036;box-shadow:0 0 0 1px #a95036}.background-strip img{width:100%;aspect-ratio:2/3;display:block;object-fit:cover;border-radius:4px}.background-strip span{position:absolute;left:4px;right:4px;bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.inspector{padding:24px 21px 30px}.inspector-heading span{font-size:10px}.empty-inspector h4{font-size:18px}.empty-inspector>p{width:230px;font-size:12px}.inspector-tip{font-size:11px}.selected-preview{height:155px}.selected-preview>span{font-size:9px}.control-row>div:first-child,.layer-control>div:first-child,.slider-control>div{font-size:12px}.stepper b,.layer-control button,.bound-note b,.delete-button{font-size:11px}.bound-note small{font-size:9px}.journal-page.custom-background{background-size:cover;background-position:center}.codex-connection-badge{min-width:218px;padding:9px 11px 9px 9px;position:fixed;right:18px;bottom:18px;z-index:120;display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:8px;color:#514942;background:#fffcf7f0;border:1px solid rgba(113,99,86,.2);border-radius:13px;box-shadow:0 10px 30px #392d2426;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.codex-connection-badge:hover{transform:translateY(-2px);box-shadow:0 14px 34px #392d2430}.codex-connection-badge:focus-visible{outline:2px solid #8d5c47;outline-offset:3px}.codex-connection-badge>span:nth-child(2){min-width:0}.codex-connection-badge b,.codex-connection-badge small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.codex-connection-badge b{font-size:10px;letter-spacing:.02em}.codex-connection-badge small{margin-top:2px;color:#8e8277;font-size:8px}.codex-connection-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px}.codex-connection-refresh{opacity:.5;transition:transform .2s ease,opacity .2s ease}.codex-connection-badge:hover .codex-connection-refresh{transform:rotate(35deg);opacity:.9}.codex-connection-badge.connected{border-color:#417e5d47}.codex-connection-badge.connected .codex-connection-icon{color:#2d7750;background:#e0f0e6}.codex-connection-badge.auth-required{border-color:#ae772a4d}.codex-connection-badge.auth-required .codex-connection-icon{color:#9b671e;background:#f6ead1}.codex-connection-badge.disconnected{border-color:#aa493747}.codex-connection-badge.disconnected .codex-connection-icon{color:#9a4636;background:#f4e1dc}.codex-connection-badge.checking .codex-connection-icon{color:#78695d;background:#ece6de}@media(min-width:701px){body:has(.create-shell) .codex-connection-badge{top:88px;bottom:auto}}@keyframes light-drift{to{transform:translate(7%,4%) rotate(5deg) scale(1.08)}}@keyframes photo-float{0%,to{translate:0 0}50%{translate:0 -13px}}@keyframes scroll-pulse{50%{transform:scaleY(.45);opacity:.35}}@keyframes mark-breathe{50%{transform:scale(1.06);box-shadow:0 0 0 19px #e8c67e06,0 0 58px #e8a25e38}}@keyframes element-drift{0%,to{translate:0 0;rotate:-3deg}50%{translate:10px -18px;rotate:4deg}}@keyframes memory-target-pulse{0%,to{outline-color:#b55f433d}35%,70%{outline-color:#b55f43d1;box-shadow:0 0 0 8px #b55f431a}}@media(max-width:1000px){.landing-film{opacity:.42}.landing-copy{width:78vw}.create-grid{grid-template-columns:1fr}.background-gallery{grid-template-columns:repeat(3,1fr)}.element-gallery{grid-template-columns:repeat(4,1fr)}.library-tools{grid-template-columns:1fr}.library-title{align-items:flex-start;gap:20px}.library-title-actions{flex-direction:column;align-items:stretch}.memory-search-card{grid-template-columns:42px minmax(0,1fr)}.semantic-search-form{grid-column:1/-1}.semantic-result-grid{grid-template-columns:1fr}.memory-element-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-journal-grid{grid-template-columns:1fr}}@media(max-width:700px){.codex-connection-badge{min-width:0;max-width:calc(100vw - 20px);right:10px;bottom:10px;padding:7px 9px 7px 7px;grid-template-columns:29px minmax(0,1fr) 15px}body:has(.create-shell) .codex-connection-badge{bottom:70px}.codex-connection-icon{width:29px;height:29px}.flow-header{height:64px;padding:0 13px}.flow-step,.flow-header nav a:last-child,.flow-brand em{display:none}.flow-header nav a{padding:8px;font-size:11px}.landing-nav{height:70px;padding:0 18px}.landing-nav>div a:last-child,.landing-logo em{display:none}.landing-copy{width:auto;margin:15vh 22px 0}.landing-copy h1{font-size:43px}.landing-lead{font-size:13px}.landing-film{display:none}.landing-trust{flex-wrap:wrap}.create-shell,.library-shell{width:calc(100% - 24px);padding-top:30px}.create-title h1,.library-title h1{font-size:29px}.upload-card,.style-card{padding:17px}.hero-drop{height:255px}.library-title{display:block}.library-title-actions{margin-top:18px;flex-direction:row;flex-wrap:wrap}.ai-background{flex-wrap:wrap}.ai-background input{flex-basis:100%}.library-section-head{display:block}.library-section-head nav{margin-top:12px;overflow-x:auto}.background-gallery{grid-template-columns:repeat(2,1fr);gap:11px}.element-gallery{grid-template-columns:repeat(3,1fr)}.memories-shell{width:calc(100% - 24px);padding-top:30px}.memories-title{display:block}.memories-title h1{font-size:29px}.memory-title-actions{margin-top:16px;flex-wrap:wrap}.memory-count{width:max-content}.memory-search-card{margin-top:20px;grid-template-columns:36px minmax(0,1fr);padding:14px}.memory-search-card>svg{width:36px;height:36px;padding:9px}.semantic-search-field>button{min-width:94px;padding:0 10px}.semantic-kind-filters{margin-right:-3px}.semantic-results{padding:15px}.semantic-results>header{display:grid;gap:12px}.semantic-engine-badge{width:max-content}.semantic-result-card{grid-template-columns:88px minmax(0,1fr);gap:10px}.semantic-result-preview{min-height:142px}.semantic-result-content h3{font-size:13px}.memory-folder>summary{grid-template-columns:95px minmax(0,1fr);gap:12px;padding:12px}.memory-folder-cover{height:96px}.memory-folder-heading h2{font-size:16px}.memory-folder-heading>p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.memory-folder-heading>div{display:none}.memory-folder-controls{grid-column:1/-1}.memory-folder-toggle{justify-content:flex-end}.memory-folder-content{padding:15px}.memory-overview{grid-template-columns:1fr}.memory-source-image{min-height:220px}.memory-descriptions h3{font-size:17px}.memory-element-grid,.memory-background-grid{grid-template-columns:1fr}.memory-element-grid article>div{height:220px}.memory-background-grid article{grid-template-columns:82px minmax(0,1fr)}.memory-background-grid img{width:82px;height:105px}.memory-journal-grid article{grid-template-columns:1fr}.memory-search-note{align-items:flex-start;line-height:1.5}.float-5,.float-6{display:none}.float-element{opacity:.3}.waiting-stage{height:calc(100% - 64px)}}
