/* Paper / editorial presentation. Stored data and business logic stay in app.js. */
:root{--ink:#29392d;--muted:#75796d;--green:#3b5640;--deep:#314b37;--pale:#e9eddf;--bg:#f7f4eb;--card:#fffdf7;--line:#dcded0;--accent:#9b4e38;--app-font:"Microsoft YaHei","PingFang SC",sans-serif}
html{scroll-behavior:smooth}body{background:#dfddcf}button{touch-action:manipulation;transition:background .18s,transform .18s,border-color .18s}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,h4,p{overflow-wrap:anywhere}.studio{max-width:1880px;padding:0 40px}.studio-header{min-height:94px;border-color:#b7bfaa}.wordmark{font-family:"STSong","SimSun",serif;letter-spacing:3px;gap:12px}.brand-symbol{width:34px;height:34px;border-radius:5px;background:var(--accent);color:#fbf4e3;font-size:29px}.wordmark-en{font:10px Arial;letter-spacing:3px}.edition{color:#5d6953;letter-spacing:1.8px}.mode-toggle{border-color:#b5bea8;border-radius:6px}.mode-toggle button{min-height:38px;border-radius:3px}.mode-toggle button.active{background:#34472e;color:#fffdf3}.intro{padding:38px 2px 35px}.eyebrow{color:#66735c;letter-spacing:2.6px;margin-bottom:14px}.intro h1{font:500 36px/1.5 "STSong","SimSun",serif;letter-spacing:3px}.intro h1 i{font-size:28px;margin-left:16px;color:#87966d}.intro-desc{color:#6b7560;margin-top:13px}.swatches{gap:5px}.swatches span{width:28px;height:16px;border:0;border-radius:0;margin:0;background:#3b5640}.swatches span:nth-child(2){background:#a4ad88}.swatches span:nth-child(3){background:#b78c6a}.swatches span:nth-child(4){background:#f7f4eb}.design-notes p{color:#68745e;margin:10px 0}.prototype-badge{border-radius:0;font-size:9px;color:#596c4e;border-color:#afbba2}.screen-grid{gap:22px}.screen-wrap{min-width:0}.screen-label{gap:10px}.screen-label b span{font-family:Georgia;color:#7d8d6d}.screen-label small{color:#6d7c5d}.phone{height:960px;border:5px solid #f5f3e9;border-radius:25px;box-shadow:0 16px 40px #39432a0d;font-family:var(--app-font)}
.phone:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.12;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%3Cpath filter='url(%23n)' opacity='.28' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.statusbar{height:32px;font:600 10px Arial}.app-content{height:calc(100% - 108px);padding:12px 18px 26px;overflow-x:hidden;overscroll-behavior-y:contain;animation:page-enter .2s ease-out}.app-header{gap:10px;margin:0 0 24px;padding-bottom:14px;border-bottom:1px solid var(--line)}.app-header h2{display:flex;align-items:center;gap:9px;font-size:25px;line-height:1.1;letter-spacing:3px}.app-header h2 .mini-seal{height:23px;width:17px;display:grid;place-items:center;font:12px/1 "STSong","SimSun",serif;background:var(--accent);color:#fff5de;border:1px solid #fff8;outline:1px solid var(--accent);letter-spacing:0;transform:rotate(-4deg)}.app-header p{font-size:9px;letter-spacing:1.5px;margin-top:8px}.mini-capsule{flex-shrink:0;background:var(--card)}.top-title{gap:12px;margin-bottom:17px}.top-title h3{font-size:23px;line-height:1.4;font-weight:500}.top-title h3:before{content:"生活，自有章法";display:block;font:9px/1.4 var(--app-font);letter-spacing:2px;color:var(--muted);margin-bottom:6px}.icon-button{height:44px;width:44px;flex-shrink:0;background:transparent}.icon-button svg{width:19px;height:19px}.asset-hero{isolation:isolate;border-radius:14px 14px 3px 3px;padding:20px;min-height:168px;border:1px solid #fff2;color:#fff9e9}.asset-hero:before{inset:5px;right:5px;top:5px;width:auto;height:auto;border:1px solid #f9f1dd20;border-radius:9px 9px 0 0;z-index:-1;transform:none;pointer-events:none}.asset-hero:after{display:none}.asset-top{font-size:11px;letter-spacing:1px;position:relative;z-index:1;color:#dee5cf}.asset-top button{display:grid;place-items:center;width:40px;height:40px;margin:-12px -9px -10px 0;color:#d3dfc4;position:relative;z-index:2}.asset-top svg{width:16px;height:16px}.asset-total{font:400 clamp(32px,3vw,42px)/1.25 Georgia,"Times New Roman",serif;font-variant-numeric:lining-nums tabular-nums;margin:12px 0 15px;overflow-wrap:anywhere;position:relative;z-index:1}.asset-total small{font:17px Arial;margin-right:7px}.asset-total .decimal{font-size:.58em}.hero-bottom{gap:9px;border-color:#f9f1dd2a;font-size:10px;color:#d7e0cb;position:relative;z-index:1}.hero-bottom b{font:13px Arial;margin-left:6px;overflow-wrap:anywhere;color:#fff9e9}.hero-bottom>span{min-width:0}.hero-bottom>span:last-child{font-size:8px;max-width:105px;text-align:right;letter-spacing:.6px}.botanical{pointer-events:none;fill:currentColor;stroke:none;position:absolute;width:120px;height:150px;right:-7px;top:6px;color:#c1cba6;opacity:.14;transform:rotate(-9deg);z-index:0}.asset-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px}.asset-tile{min-height:81px;border-radius:3px 3px 11px 11px;border:1px solid #d8dbc9;background:#e9e7d7;padding:11px;position:relative;overflow:hidden;min-width:0}.asset-tile:nth-child(2){background:#e5e9e2;border-color:#d4ddd1}.asset-tile:nth-child(3){background:#ece1d2;border-color:#e1d4c3}.asset-tile svg{position:absolute;width:27px;height:27px;right:8px;top:10px;opacity:.35;color:#435540}.asset-tile label{font-size:11px;position:relative}.asset-tile b{font:14px/1.7 Arial;margin-top:14px;overflow-wrap:anywhere}.section-heading{gap:10px;margin:25px 0 12px}.section-heading h4{font-size:15px;line-height:1.4;letter-spacing:1px;font-weight:500}.section-heading h4 span{font:10px Georgia!important;color:var(--muted)!important}.text-link{font-size:10px;min-height:40px;padding:7px 0;display:inline-flex;align-items:center;gap:3px;color:var(--muted);flex-shrink:0}.text-link svg{width:12px;height:12px}.accounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account{display:block;border-radius:11px;padding:12px;min-height:85px;min-width:0}.account-heading{display:flex;gap:8px;align-items:center;min-width:0}.account-logo{width:25px;height:25px;border-radius:6px;background:#e6ecda;color:#60714f}.account-logo svg{width:17px;height:17px}.account-logo.blue{background:#e6eced;color:#54747c}.account-logo.peach{background:#f0e4d3;color:#937c52}.account-logo.gray{background:#e5e7de;color:#6a7562}.account-name{font-size:11px;color:var(--muted);white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.5}.account>b{font:18px/1.4 Arial;font-variant-numeric:tabular-nums;margin-top:9px;overflow-wrap:anywhere;word-break:break-word}.small-tabs{gap:5px;flex-wrap:wrap}.small-tabs button{min-height:40px;padding:7px 12px;border-radius:5px;font-size:11px}.small-tabs button.active{background:var(--green);border-color:var(--green);color:var(--card)}.empty-asset{border-color:#bfc8b0;border-radius:10px;text-align:left;padding:15px;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted)}.empty-asset>svg{width:26px;height:26px;color:#91a079}.empty-asset>span{flex:1;min-width:100px}.empty-asset button{min-height:40px;padding:5px 10px;border-radius:4px;font-size:11px;background:var(--pale);color:var(--green)}.asset-item{gap:15px;padding:15px;border-radius:8px;font-size:12px;margin-top:9px}.asset-item>span{min-width:0;overflow-wrap:anywhere}.asset-item b{font:14px Arial;overflow-wrap:anywhere;min-width:0}.asset-item small{display:block;margin-top:3px}
.bottom-nav{height:76px;gap:3px;padding:9px 8px 20px}.bottom-nav button{min-height:44px;min-width:44px;padding:3px 5px;justify-content:center;font-size:9px;position:relative}.bottom-nav button.active:before{content:"";position:absolute;top:-4px;left:40%;right:40%;height:2px;background:var(--green)}.bottom-nav button svg{width:20px;height:20px}.bottom-nav .nav-add{width:44px;height:44px;min-width:44px;border-radius:11px;margin:0;box-shadow:0 3px 0 #23332116;color:var(--card)}.nav-add.active:before{display:none}.bottom-nav:after{height:3px;width:85px;opacity:.6}.record-intro{position:relative;min-height:105px;margin-bottom:18px;padding-right:95px}.record-intro .eyebrow{font:9px Arial;letter-spacing:1.5px;color:var(--muted);margin:0 0 9px}.record-heading{font-size:27px;font-weight:500;line-height:1.45;letter-spacing:1.5px;margin:0}.record-intro .botanical{width:112px;height:128px;top:-10px;right:0;opacity:.85;color:var(--green);transform:rotate(3deg)}.record-subtitle{font-size:11px;margin:7px 0 0;line-height:1.8}.quick-entry{gap:12px;background:var(--pale);border:1px solid #c4cdb6;border-radius:10px;padding:14px;margin-bottom:22px;min-height:76px}.quick-entry .quick-art{height:39px;width:34px;border:1px solid #a8b596;background:var(--card);color:var(--green);font:29px "STSong","SimSun",serif;border-radius:2px;flex-shrink:0;transform:rotate(-6deg)}.quick-entry>span:nth-child(2){flex:1;min-width:0}.quick-entry b{font-size:13px;line-height:1.5;font-weight:500}.quick-entry small{font-size:10px;color:var(--muted);margin-top:4px}.quick-entry>svg{width:15px;height:15px;margin:0}.group-label{font-size:11px;letter-spacing:1px;margin:20px 0 11px;color:var(--muted)}.group-label>span{font:10px Georgia;color:var(--accent)}.group-label:after{margin-left:3px}.entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.entry{min-height:91px;padding:11px 4px;border-radius:8px;gap:9px;min-width:0}.entry:hover{border-color:#8d9c79;background:var(--pale);transform:none}.entry .illustration{width:43px;height:37px}.illustration:before{width:35px;height:33px;border-radius:50%;opacity:.8;transform:none}.illustration svg{width:29px;height:29px;stroke:#49583c;stroke-width:1.45}.entry>span:last-child{font-size:12px;line-height:1.5}.ai-banner{gap:11px;background:#e7e9e3;border-color:#d3dacb;border-radius:10px;padding:14px;margin-top:24px;color:var(--ink)}.ai-symbol{width:32px;height:37px;font-size:29px;border:1px solid #c4ccb9;color:#5b6d50;background:#f9f9ef;border-radius:0;flex-shrink:0}.ai-banner>span:nth-child(2){min-width:0;flex:1}.ai-banner b{font-size:12px;font-weight:500}.ai-banner small{font-size:10px;line-height:1.7;color:#68735e;margin-top:3px}.ai-banner>svg{height:15px;width:15px;margin:0;color:#697b5d}
.diary-filter{gap:10px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:9px}.diary-filter .small-tabs{gap:9px}.diary-filter .small-tabs button{border-radius:0;background:none;color:var(--muted);padding:9px 5px;font-size:13px}.diary-filter .small-tabs button.active{color:var(--ink);background:none;box-shadow:0 2px var(--green)}.date-row{gap:12px;margin-bottom:13px}.date-block{gap:9px}.date-block b{font:36px/1 Georgia}.date-block span{font-size:9px;line-height:1.7}.weather{font-size:10px;color:var(--muted)}.weather svg{width:16px;height:16px;color:#9b8c50}.diary-card{border-top:2px solid #7b8d66;border-radius:3px 3px 12px 12px;padding:16px}.diary-card .author{gap:8px;margin-bottom:17px;min-width:0}.avatar{width:31px;height:31px;border:1px solid #c7d0b8;overflow:hidden;background:var(--pale);color:var(--green);font-size:16px;flex-shrink:0}.author>div{flex:1;min-width:0}.author b{font-size:11px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.author small{font-size:9px;line-height:1.6;color:var(--muted);margin-top:2px}.author .mood{flex-shrink:0;max-width:75px;font-size:10px;line-height:1.4;padding:4px 6px;border-radius:4px;background:#f1ebd6;color:#7d693b;margin:0}.author .text-link{width:30px;min-width:30px;min-height:40px;justify-content:center;padding:0}.diary-card h4{font-size:20px;line-height:1.65;font-weight:500;letter-spacing:.5px;margin-bottom:10px}.diary-card .diary-copy{font-size:12px;line-height:2;color:var(--muted);margin-bottom:17px;overflow-wrap:anywhere}.diary-photo,.focus-mode .diary-photo{height:auto;aspect-ratio:4/3;border-radius:3px}.photo-caption{align-items:start;gap:12px;font-size:10px;margin-top:13px;color:var(--muted)}.photo-caption>span{min-width:0;overflow-wrap:anywhere}.photo-caption>span:last-child{flex-shrink:0;font:9px Georgia;letter-spacing:1px}.location{align-items:start;gap:4px}.location svg{width:12px;height:15px}.diary-tags{flex-wrap:wrap;gap:7px 12px;padding-top:12px;margin-top:13px;font-size:10px;color:var(--muted)}.diary-quote{gap:12px;border-radius:3px;padding:19px 14px;margin-top:19px;background:var(--pale)}.diary-quote>span{font:40px/.8 Georgia;color:#8e9f75}.diary-quote>div{flex:1}.diary-quote p{font-size:12px;color:var(--ink)}.diary-quote small{font-size:9px;line-height:1.8;color:var(--muted)}.diary-quote>svg{color:#879b70;width:24px;height:24px}.diary-bottom{font-size:9px;color:var(--muted);margin-top:20px}
.profile{margin:20px 0 28px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile .avatar{width:56px;height:56px;font-size:33px;background:#e0e5ce;color:#536746;border:3px solid var(--bg);outline-color:#a6b18e}.profile .avatar:after{display:none}.profile>div{flex:1;min-width:0}.profile b{font-size:17px;line-height:1.6;font-weight:500;letter-spacing:.7px;overflow-wrap:anywhere}.profile small{font-size:10px;color:var(--muted)}.profile>button{font-size:10px;min-height:44px;min-width:44px;padding:5px;margin:0}.profile>button svg{width:12px;height:12px}.setting-section{margin:0 0 27px}.setting-section h4{font-size:14px;font-weight:500;letter-spacing:1px;margin-bottom:13px}.theme-grid{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.theme-option{min-width:0}.theme-mini{height:76px;padding:10px;border:1px solid #d6ddcb;background:#f4f2e7;border-radius:7px;gap:6px}.theme-mini i{height:6px;width:20px;background:#97a982;border-radius:1px}.theme-mini b{height:23px;background:#cbd5b8;border-radius:2px}.theme-mini span{height:7px;width:70%;background:#fffdf7;border-radius:1px}.theme-option.warm .theme-mini{background:#f4e6d6;border-color:#e6d5bd}.theme-option.warm .theme-mini i{background:#a5825a}.theme-option.warm .theme-mini b{background:#d7bc95}.theme-option.dark .theme-mini{background:#2e3a2f;border-color:#475540}.theme-option.dark .theme-mini i{background:#a4b78b}.theme-option.dark .theme-mini b{background:#5d7151}.theme-option.dark .theme-mini span{background:#45543b}.theme-option.active .theme-mini{border:2px solid var(--green);padding:9px}.theme-option.active:after{width:15px;height:15px;background:var(--green);color:var(--card);font:10px/15px Arial}.theme-option label{font-size:10px;line-height:1.7;margin-top:8px}.font-controls{padding:4px;gap:4px;border-radius:7px}.font-controls button{min-height:42px;min-width:0;font-size:11px;border-radius:3px;padding:6px 2px}.font-preview{font-size:15px;line-height:1.8;background:var(--pale);color:var(--ink);border-left:2px solid #8c9c72;padding:13px;margin-top:11px;border-radius:0 6px 6px 0;letter-spacing:.4px;overflow-wrap:anywhere}.font-preview small{font-size:9px;color:var(--muted);margin-top:4px}.settings-list{border-width:1px 0;border-radius:2px}.settings-row{min-height:53px;padding:13px 11px;font-size:12px;line-height:1.7}.settings-row>svg{width:17px;height:17px;color:#7f906b}.settings-row>span:first-of-type{min-width:0;overflow-wrap:anywhere}.settings-row small{font-size:10px;max-width:50%;overflow-wrap:anywhere;text-align:right;color:var(--muted)}.settings-row>svg:last-child{width:12px;height:12px;color:var(--muted)}.ai-setting{margin-top:24px;padding:16px 13px;background:var(--pale);border:1px solid var(--line);border-radius:7px}.ai-setting .ai-title{font-size:12px}.ai-setting .ai-title small{font-size:9px;border:1px solid var(--line);background:none;color:var(--muted);border-radius:0;flex-shrink:0}.ai-setting p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:9px}.setting-footer{font-size:9px;color:var(--muted);margin-top:22px}.studio-footer{gap:20px;color:#68765d;padding:25px 2px 30px}.studio-footer button{color:#68765d;min-height:30px}.focus-mode .screen-wrap{width:410px;max-width:100%}.focus-mode .phone{height:860px}.focus-mode .intro{padding:22px 2px}.focus-mode .intro h1{font-size:27px}.focus-mode .app-content{padding-left:23px;padding-right:23px}.focus-mode .intro-desc{margin-top:7px;font-size:11px}
.modal-open{overflow:hidden}.modal-overlay{background:#202a23a8;backdrop-filter:blur(3px);padding:24px;animation:overlay-enter .16s ease-out}.modal{font-family:var(--app-font);width:450px;max-width:100%;max-height:min(90dvh,900px);display:flex;flex-direction:column;min-height:0;border:1px solid var(--line);border-radius:16px;padding:0;overflow:hidden;box-shadow:0 30px 90px #15231a3a;animation:sheet-enter .2s ease-out}.modal-head{gap:12px;flex-shrink:0;padding:20px 22px 15px;border-bottom:1px solid var(--line);background:var(--bg);margin:0}.modal h2{font-size:21px;line-height:1.5;letter-spacing:.5px}.modal .close{height:44px;width:44px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font:23px Arial;color:var(--muted);background:var(--card)}.modal-body{padding:0 22px 23px;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:16px}.modal-body>p{font-size:13px;line-height:1.9;color:var(--muted);margin:18px 0}.modal label.field{font-size:12px;line-height:1.6;margin:20px 0 7px}.modal input:not([type=file]),.modal textarea,.modal select{display:block;min-height:48px;max-width:100%;font-size:16px;line-height:1.5;padding:12px;border-color:#bbc6ac;border-radius:6px;scroll-margin:15px}.modal textarea{min-height:130px}.modal input:focus,.modal textarea:focus,.modal select:focus{border-color:var(--green);outline:2px solid #8b9c7330;outline-offset:2px;box-shadow:none}.modal input[type=file]{display:block;width:100%;font-size:12px;line-height:1.7;min-height:44px;color:var(--muted)}.modal input::file-selector-button{border:1px solid var(--line);border-radius:5px;padding:10px;background:var(--card);color:var(--ink);margin-right:9px}.modal .primary{display:block;min-height:48px;border:1px solid var(--green);border-radius:7px;color:var(--card);font-size:14px;line-height:1.6;margin-top:24px;position:sticky;bottom:0;z-index:2;box-shadow:0 -8px 0 var(--bg)}.modal .secondary{min-height:44px;padding:9px 14px;border-radius:5px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.modal .form-error{font-size:12px;line-height:1.8;color:#a3422b;min-height:0;margin:12px 0 0}.modal .form-error:empty{display:none}.modal .helper{font-size:11px;line-height:1.9;margin:10px 0}.modal .result-card{padding:16px;border:1px solid var(--line);border-radius:5px;font-size:13px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere;display:flow-root}.result-card small{font-size:12px;color:var(--muted)}.result-item{padding:16px 0;overflow-wrap:anywhere}.result-item b{font-size:15px;line-height:1.8;font-weight:500}.result-item span{font-size:11px;line-height:1.8;margin-top:5px}.result-item p{font-size:13px!important;line-height:1.9;margin:8px 0!important}.result-item button{font-size:12px;min-height:44px;padding:8px 12px;margin:10px 7px 0 0;border-radius:4px}.empty-state{padding:35px 12px;font-size:13px;line-height:2}.empty-state:before{content:"✳";display:block;color:#8d9e72;font:33px/1.5 Georgia;margin-bottom:9px}.primary-outline{min-height:44px;font-size:12px;border-radius:6px;padding:12px;margin-top:15px;background:var(--pale);color:var(--green)}#toast{bottom:calc(90px + env(safe-area-inset-bottom));max-width:min(90vw,500px);background:#304331f5;border:1px solid #b3bda650;color:#fff8e7;font-size:12px;line-height:1.8;padding:11px 20px;border-radius:7px;text-align:center}
.theme-warm{--ink:#4b3e2e;--muted:#80715e;--green:#7e6040;--deep:#725a3e;--pale:#eee3cf;--bg:#f8f0e3;--card:#fffbf2;--line:#e1d4bf;--accent:#9b4e38}.theme-dark{--ink:#e6e6d6;--muted:#b4baa5;--green:#b1c396;--deep:#3c513a;--pale:#3b4835;--bg:#273127;--card:#303c2e;--line:#4f5b46;--accent:#d9a58b}.theme-dark .asset-tile{color:#2d3c2a}.theme-dark .quick-entry,.theme-dark .ai-setting,.theme-dark .diary-quote{color:var(--ink)}.theme-dark .quick-art{background:#e9e8d8;color:#405331}.theme-dark .ai-banner{background:#3b4835;border-color:var(--line);color:var(--ink)}.theme-dark .ai-banner small{color:var(--muted)}.theme-dark .ai-symbol{color:#b1c396;background:#303c2e;border-color:var(--line)}.theme-dark .small-tabs button.active,.theme-dark .bottom-nav .nav-add,.theme-dark .modal .primary{color:#273127}.font-rounded{--app-font:"Shiji Rounded","YouYuan",sans-serif}.font-serif{--app-font:"STSong","SimSun",serif}.font-rounded .phone,.font-serif .phone,.font-rounded .modal,.font-serif .modal,.font-rounded .app-header h2,.font-serif .app-header h2{font-family:var(--app-font)}
@keyframes page-enter{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes overlay-enter{from{opacity:0}to{opacity:1}}@keyframes sheet-enter{from{transform:translateY(12px);opacity:.7}to{transform:none;opacity:1}}
@media(min-width:1251px){body:not(.focus-mode) .phone{height:1050px}body:not(.focus-mode) [data-screen="create"] .entry{min-height:91px;padding:11px 4px}body:not(.focus-mode) [data-screen="create"] .quick-entry{margin-bottom:22px}body:not(.focus-mode) [data-screen="create"] .group-label{margin-top:20px}}
@media(min-width:1450px){body:not(.focus-mode) .phone{height:1090px}.app-content{padding:14px 20px 26px}.account{min-height:91px}.diary-card{padding:18px}.focus-mode .phone{height:900px}}
@media(min-width:651px) and (max-width:1250px){.studio{max-width:950px;padding:0 30px}.screen-grid{gap:30px}.phone{height:1070px}.app-content{padding:16px 22px 26px}.intro h1{font-size:31px}.entry{min-height:99px}.record-heading{font-size:30px}.account{min-height:93px}.focus-mode .phone{height:890px}}
@media(max-width:650px){html{scroll-behavior:auto}body{background:var(--bg)}.studio{padding:0;max-width:none}.phone,.focus-mode .phone{height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}.app-content,.focus-mode .app-content{height:calc(100% - 74px - env(safe-area-inset-bottom));padding:20px 20px 26px}.app-header{padding-bottom:15px;margin-bottom:25px;min-height:53px}.app-header h2{font-size:27px}.app-header p{font-size:10px}.mini-capsule{min-height:28px}.top-title{margin-bottom:17px}.top-title h3{font-size:25px}.top-title h3:before{font-size:10px;letter-spacing:2px;margin-bottom:7px}.asset-hero{padding:23px;min-height:178px}.asset-top{font-size:12px}.asset-total,.focus-mode .asset-total{font-size:clamp(35px,10vw,45px);margin:16px 0 17px}.hero-bottom{font-size:11px}.hero-bottom b{font-size:14px}.hero-bottom>span:last-child{font-size:9px;max-width:104px}.asset-tiles{gap:9px;margin-top:9px}.asset-tile{padding:12px;min-height:86px}.asset-tile label{font-size:12px}.asset-tile b{font-size:15px}.section-heading{margin-top:27px;margin-bottom:10px}.section-heading h4{font-size:16px}.text-link{font-size:11px;min-height:44px}.account{padding:14px;min-height:99px}.account-logo{width:28px;height:28px}.account-logo svg{height:19px;width:19px}.account-name{font-size:12px}.account>b{font-size:19px;margin-top:11px}.small-tabs button{min-height:44px;font-size:12px;padding:9px 12px}.empty-asset{padding:17px;font-size:12px}.empty-asset button{font-size:12px;min-height:44px}.asset-item{font-size:13px}.bottom-nav{height:calc(74px + env(safe-area-inset-bottom));padding:8px 10px calc(17px + env(safe-area-inset-bottom))}.bottom-nav:after{bottom:max(5px,calc(env(safe-area-inset-bottom) / 3))}.bottom-nav button{font-size:10px;min-height:44px}.bottom-nav button svg{width:22px;height:22px}.bottom-nav .nav-add{height:45px;width:45px;min-width:45px}.record-intro{margin-bottom:21px;min-height:122px;padding-right:112px}.record-intro .eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:10px}.record-heading{font-size:clamp(25px,7.5vw,32px);line-height:1.45;letter-spacing:1px}.record-intro .botanical{width:122px;height:145px;right:0;top:-4px}.record-subtitle{font-size:11px;margin-top:9px}.quick-entry{min-height:83px;padding:16px;margin-bottom:26px}.quick-entry b{font-size:14px}.quick-entry small{font-size:11px}.group-label{font-size:12px;margin:24px 0 12px}.group-label>span{font-size:11px}.entry-grid{gap:10px}.entry,.focus-mode .entry{min-height:100px;padding:12px 4px;border-radius:8px;gap:11px}.entry>span:last-child{font-size:13px}.entry .illustration{width:46px;height:38px}.illustration svg{width:31px;height:31px}.illustration:before{width:37px;height:35px}.ai-banner{padding:17px 14px;margin-top:26px}.ai-banner b{font-size:14px}.ai-banner small{font-size:11px}.diary-filter{margin-bottom:24px;padding-bottom:10px}.diary-filter .small-tabs button{font-size:14px;padding-left:4px;padding-right:4px}.date-block b{font-size:38px}.date-block span{font-size:10px}.weather{font-size:10px}.diary-card{padding:17px}.diary-card .author{gap:7px;margin-bottom:19px}.author b{font-size:12px}.author small{font-size:10px}.author .mood{font-size:10px}.author .text-link{width:30px;min-width:30px}.diary-card h4{font-size:22px;line-height:1.6;margin-bottom:11px}.diary-card .diary-copy{font-size:14px;line-height:1.95;margin-bottom:20px}.diary-photo,.focus-mode .diary-photo{height:auto;aspect-ratio:4/3}.photo-caption{font-size:11px;margin-top:15px}.diary-tags{font-size:11px;padding-top:14px;margin-top:15px}.diary-quote{padding:22px 15px;margin-top:23px}.diary-quote p{font-size:13px}.diary-quote small{font-size:10px}.diary-bottom{font-size:10px;margin-top:23px}.profile{margin:22px 0 29px;padding:21px 0;gap:13px}.profile .avatar{width:60px;height:60px;font-size:35px}.profile b{font-size:20px}.profile small{font-size:11px}.profile>button{font-size:11px}.setting-section{margin-bottom:30px}.setting-section h4{font-size:16px;margin-bottom:15px}.theme-mini{height:87px;padding:12px}.theme-mini b{height:27px}.theme-option.active .theme-mini{padding:11px}.theme-option label{font-size:11px;line-height:1.7}.font-controls button{font-size:12px;min-height:44px}.font-preview{font-size:16px;padding:15px}.font-preview small{font-size:10px}.settings-row{font-size:14px;min-height:59px;padding:16px 12px}.settings-row small{font-size:12px}.settings-row>svg{height:19px;width:19px}.ai-setting{padding:18px 15px}.ai-setting .ai-title{font-size:14px}.ai-setting .ai-title small{font-size:10px}.ai-setting p{font-size:11px}.setting-footer{font-size:10px;margin-top:25px}.modal-overlay{padding:0;align-items:flex-end;inset:auto 0 auto;top:var(--vv-offset,0px);height:var(--vv-height,100dvh)}.modal{width:100%;border-radius:19px 19px 0 0;max-height:calc(var(--vv-height,100dvh) - 12px);box-shadow:none;border-bottom:0}.modal:before{content:"";width:30px;height:3px;border-radius:2px;background:#a5af97;display:block;position:absolute;left:50%;transform:translateX(-50%);top:8px;opacity:.65}.modal-head{padding:18px 20px 12px}.modal h2{font-size:22px}.modal-body{padding:0 20px max(22px,env(safe-area-inset-bottom));scroll-padding:16px}.modal input:not([type=file]),.modal select{min-height:50px}.modal textarea{min-height:132px}.modal .primary{min-height:50px;bottom:0;font-size:15px}.modal label.field{font-size:13px}.modal .helper{font-size:12px}.modal .result-card{font-size:14px}.modal .result-item b{font-size:16px}.modal .result-item span{font-size:12px}.modal .secondary{font-size:13px}.modal .empty-state{padding-top:27px}#toast{bottom:calc(86px + env(safe-area-inset-bottom));font-size:13px}}
@media(max-width:350px){.app-content,.focus-mode .app-content{padding-left:16px;padding-right:16px}.asset-hero{padding:20px}.asset-total,.focus-mode .asset-total{font-size:36px}.hero-bottom>span:last-child{font-size:8px;max-width:76px}.asset-tile{padding:10px}.asset-tile b{font-size:13px}.account{padding:12px}.account-name{font-size:11px}.account>b{font-size:17px}.small-tabs{gap:4px}.small-tabs button{padding:9px 10px;font-size:11px}.record-intro{padding-right:95px}.record-intro .botanical{width:100px}.record-heading{font-size:25px}.record-subtitle{font-size:10px}.entry,.focus-mode .entry{min-height:92px}.entry>span:last-child{font-size:12px}.diary-card{padding:14px}.diary-card h4{font-size:20px}.author .avatar{height:26px;width:26px}.author .mood{font-size:9px;padding:4px}.author small{font-size:9px}.profile{gap:10px}.profile b{font-size:18px}.profile small{font-size:10px}.theme-grid{gap:8px}.font-controls button{font-size:11px}.modal-head{padding-left:16px;padding-right:16px}.modal-body{padding-left:16px;padding-right:16px}}
.bottom-nav .nav-add.active{color:var(--card)}.asset-top button{width:44px;height:44px}.author .text-link{width:44px;min-width:44px}.modal{position:relative}.asset-hero .botanical{right:12px;transform:none;width:110px}.asset-total.is-long,.focus-mode .asset-total.is-long{font-size:clamp(24px,6.6vw,32px)}
@media(min-width:651px) and (max-width:1449px){.studio{max-width:950px;padding:0 30px}.screen-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.edition{display:none}.intro h1{font-size:31px}.design-notes p{font-size:9px}}
@media(max-width:650px){.screen-wrap,.focus-mode .screen-wrap{width:100%}.author .text-link{width:44px;min-width:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
