@charset "UTF-8";
:root{--bg:#f6f5f0;--paper:#fffefb;--ink:#303d32;--muted:#81877a;--green:#526953;--green-deep:#3e5541;--soft:#e9eddf;--line:#e4e6dc;--warm:#a96f59;--sand:#f2e9dc;--shadow:0 12px 40px #3b4b3510;--radius:20px;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9fad83;outline-offset:4px}img{max-width:100%;display:block}button svg,a svg{flex-shrink:0}p{line-height:1.8}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:600}button{border:0}svg{vertical-align:middle}button svg,a svg{width:19px;height:19px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.8}.serif{font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif}.hidden{display:none!important}.eyebrow{font-size:11px;letter-spacing:2.5px;color:var(--muted);text-transform:uppercase;font-weight:600}.brand-symbol{display:inline-flex;width:39px;height:39px;border-radius:13px;background:var(--green);align-items:center;justify-content:center;color:#f7f2df;font-size:26px;flex-shrink:0}.brand-symbol svg{width:28px;height:28px}.brand{display:flex;align-items:center;gap:12px}.brand strong{font-family:"Songti SC","SimSun",serif;letter-spacing:2px;font-size:21px;font-weight:600}.brand small{display:block;margin-top:4px;color:var(--muted);font-size:10px;letter-spacing:1.8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;min-height:44px;border-radius:11px;background:var(--green);color:white;font-size:14px;font-weight:500;line-height:1.5;transition:background .15s,transform .15s}.btn:hover{background:var(--green-deep);transform:translateY(-1px)}.btn.secondary{background:var(--paper);color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:var(--soft)}.btn.soft{background:var(--soft);color:var(--green)}.btn.danger{background:#f5e9e2;color:#9c5e48}.btn.full{width:100%}.btn.compact{padding:9px 13px;min-height:38px;font-size:12px}.link-btn{display:inline-flex;align-items:center;gap:6px;background:none;color:var(--green);font-size:13px;padding:8px 0;line-height:1.5}.link-btn:hover{text-decoration:underline}.link-btn.danger{color:var(--warm)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;background:none;border-radius:10px;color:var(--muted)}.icon-btn:hover{background:var(--soft);color:var(--green)}.tag{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:6px;font-size:11px;padding:4px 8px;background:#f7f8f2;white-space:nowrap}.tag.warm{background:#f8f0e5;color:#9b7448;border-color:#eae0cc}.tag.green{background:#eaf0e5;color:#58714f;border-color:#dce5d5}.tag.gray{color:#85877c;background:#f2f2ec}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:6px 11px;font-size:11px;background:#e9eddf;color:#64765b}.pill svg{width:13px;height:13px}.dot{display:inline-block;width:6px;height:6px;background:#8c9f75;border-radius:50%}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:36px;height:36px;background:#e1e8d7;color:#566a4d;border:2px solid var(--paper);font-family:"Songti SC","SimSun",serif;font-size:15px;flex-shrink:0}.avatar.other{background:#efe0cf;color:#9b7052}.avatar.large{width:62px;height:62px;font-size:23px}.avatar.waiting{border:1px dashed #c9cfbe;background:transparent;color:#a6af9a}.avatar-stack{display:flex}.avatar-stack .avatar+.avatar{margin-left:-9px}.divider{height:1px;background:var(--line);margin:24px 0}.loading-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;font-size:13px;color:var(--muted)}
/* A quiet entrance */
.auth-screen{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--paper)}.auth-story{background:#edf0e5;padding:48px 9%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;right:-140px;bottom:-160px;width:450px;height:450px;border:1px solid #dce2d1;border-radius:50%;pointer-events:none}.auth-story-main{max-width:480px;margin:50px 0}.auth-story h1{font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;font-size:clamp(30px,3.2vw,48px);line-height:1.6;font-weight:400;letter-spacing:3px;margin:23px 0 18px}.auth-story p{color:#7a8570;font-size:14px}.auth-art{width:100%;max-width:390px;margin:8px 0 0 auto}.auth-story-footer{font-size:11px;color:#939c87;letter-spacing:1px}.auth-panel{display:flex;justify-content:center;align-items:center;padding:64px 9%}.auth-form-wrap{width:100%;max-width:370px}.auth-form-wrap .eyebrow{margin-bottom:16px}.auth-form-wrap h2{font-size:27px;letter-spacing:1px;margin-bottom:12px}.auth-form-wrap>p{font-size:13px;color:var(--muted);margin-bottom:28px}.auth-switch{display:flex;justify-content:center;gap:7px;font-size:13px;margin-top:20px;color:var(--muted)}.auth-switch button{background:none;color:var(--green);padding:0;font-size:13px}.auth-note{margin-top:28px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:8px;font-size:11px;color:var(--muted);line-height:1.8}.auth-note svg{width:14px;height:14px;margin-top:3px;flex-shrink:0}.auth-local{display:inline-flex;margin-top:17px;font-size:11px;color:#9a917d;gap:6px;align-items:center}
/* App shell */
.sidebar{width:238px;position:fixed;left:0;top:0;bottom:0;background:#eeefe7;border-right:1px solid #e2e5d8;padding:34px 25px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin-bottom:48px}.sidebar-label{font-size:10px;letter-spacing:2px;color:#a2a796;margin:0 15px 17px}.nav{display:flex;flex-direction:column;gap:9px}.nav-link{display:flex;align-items:center;gap:13px;padding:14px 17px;color:#8b9182;font-size:14px;min-height:49px;border-radius:11px;transition:background .2s,color .2s}.nav-link svg{width:20px;height:20px}.nav-link.active{color:var(--green-deep);background:#dde4d3;font-weight:600}.nav-link:hover{background:#e3e8d9;color:var(--green)}.nav-link .nav-count{margin-left:auto;min-width:20px;padding:3px;text-align:center;font-size:10px;background:#d1dbc6;border-radius:6px}.sidebar-note{margin:auto 12px 26px;padding-top:50px;color:#9ba28e;font-size:12px;line-height:2}.sidebar-note .little-line{width:27px;height:1px;background:#b8c1ab;margin-bottom:17px}.sidebar-profile{border-top:1px solid #dce0d2;padding:20px 5px 0;display:flex;align-items:center;gap:10px}.sidebar-profile strong{display:block;font-size:12px;margin-bottom:4px}.sidebar-profile small{font-size:10px;color:var(--muted)}.sidebar-profile .icon-btn{margin-left:auto}.main{margin-left:238px;min-height:100dvh;padding:0 48px 60px;max-width:1700px}.topbar{height:91px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px}.topbar .location{color:#9b9f91;display:flex;gap:9px;align-items:center}.topbar .location strong{font-weight:500;color:#5c6956}.topbar-right{display:flex;align-items:center;gap:14px}.mobile-brand,.bottom-nav{display:none}.local-banner{background:#f1eee4;color:#8b8068;border:1px solid #e6e1d2;border-radius:8px;padding:9px 13px;font-size:11px;line-height:1.8;margin-top:20px;display:flex;align-items:flex-start;gap:8px}.local-banner svg{width:14px;height:14px;flex-shrink:0;margin-top:3px}.page-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:32px 0 27px}.page-intro h1{font-family:"Songti SC","SimSun",serif;font-weight:400;font-size:30px;letter-spacing:2px;margin-bottom:11px}.page-intro p{font-size:13px;color:var(--muted);margin-bottom:0}.page-intro .btn{flex-shrink:0}.hero{background:#e9eddf;border:1px solid #e0e5d5;border-radius:24px;min-height:272px;display:grid;grid-template-columns:1fr 300px;position:relative;overflow:hidden}.hero-copy{padding:35px 36px;z-index:1}.hero-copy .eyebrow{font-size:10px;color:#8b977d;letter-spacing:2px}.hero h2{font-size:29px;letter-spacing:3px;line-height:1.6;margin:14px 0 12px;font-family:"Songti SC","SimSun",serif;font-weight:400}.hero p{font-size:12px;line-height:1.9;color:#8a947d;margin-bottom:23px}.hero-art{width:320px;max-width:none;align-self:center;justify-self:end;margin-right:8px}.hero-actions{display:flex;gap:11px;align-items:center}.hero .btn.secondary{background:#f5f5ec;border-color:#d5ddc9}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 17px;gap:12px}.section-heading h2{font-size:16px;font-weight:600;margin:0;letter-spacing:.5px}.section-heading .tiny-label{font-size:10px;color:#a0a493;font-weight:400;margin-left:9px;letter-spacing:1px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:22px}.stat{padding:23px 23px 20px;background:var(--paper);border:1px solid var(--line);border-radius:16px;position:relative}.stat-icon{position:absolute;right:20px;top:22px;color:#9ba58e}.stat-icon svg{width:21px;height:21px}.stat-title{font-size:11px;letter-spacing:.5px;color:#929989;margin:0 0 14px}.stat-value{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1;color:var(--green);margin-bottom:13px;font-variant-numeric:tabular-nums}.stat-value span{font-family:"Microsoft YaHei",sans-serif;font-size:11px;margin-left:7px;color:#89937e}.stat-value.unset{font-size:20px;font-family:"Songti SC","SimSun",serif;padding-top:5px}.stat-foot{font-size:10px;color:#a0a694}.home-columns{display:grid;grid-template-columns:1fr 310px;gap:24px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.empty-state{padding:40px 25px;min-height:248px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-icon{width:55px;height:55px;display:flex;align-items:center;justify-content:center;background:#f0f2e8;color:#9aa78c;border-radius:17px;margin-bottom:19px}.empty-icon svg{width:27px;height:27px}.empty-state h3{font-weight:500;font-size:15px;margin-bottom:11px}.empty-state p{font-size:12px;color:#969d8b;max-width:280px;margin-bottom:19px}.empty-state .link-btn{font-size:12px}.small-empty{padding:29px 20px;min-height:213px}.small-empty .empty-icon{width:42px;height:42px;margin-bottom:15px;border-radius:12px}.small-empty h3{font-size:13px}.small-empty p{font-size:11px;margin-bottom:15px}.note-card{margin-top:18px;padding:22px 24px;background:#f1ecdf;border:1px solid #e7e0cf;border-radius:16px}.note-card .eyebrow{font-size:9px;color:#a19378;margin-bottom:14px;letter-spacing:1.5px}.note-card p{font-size:13px;color:#92846c;line-height:1.9;margin-bottom:0;font-family:"Songti SC","SimSun",serif}.mini-memory{display:flex;gap:15px;padding:21px;border-bottom:1px solid var(--line)}.mini-memory:last-child{border-bottom:none}.mini-memory-image{width:68px;height:68px;object-fit:cover;border-radius:9px;flex-shrink:0}.mini-memory-body{min-width:0}.mini-memory h3{font-size:13px;margin:3px 0 6px}.mini-memory p{font-size:11px;color:#8c9581;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mini-memory small{display:block;font-size:10px;color:#a1a793;margin-top:7px}.mini-expense{display:flex;align-items:center;gap:11px;padding:17px 20px;border-bottom:1px solid var(--line)}.mini-expense:last-child{border-bottom:none}.mini-expense .avatar{width:31px;height:31px;font-size:12px}.mini-expense .info{min-width:0;flex:1}.mini-expense strong{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mini-expense small{font-size:10px;color:#9da38f;display:block;margin-top:5px}.mini-expense .amount{font-size:15px;font-family:Georgia,serif;color:#66765b;white-space:nowrap}.page-footer{font-size:10px;color:#adb09f;letter-spacing:1.5px;text-align:center;margin-top:44px;display:flex;align-items:center;justify-content:center;gap:10px}.page-footer svg{width:12px;height:12px}
/* Receipts and memories */
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.filter{border:1px solid transparent;background:transparent;color:#8b9380;padding:9px 15px;font-size:12px;border-radius:8px;min-height:38px}.filter.active{background:#e5eadb;color:var(--green);border-color:#d9e1cb}.filter:hover{background:#edeedf}.expense-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.expense-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:23px;cursor:pointer;transition:border-color .2s,box-shadow .2s}.expense-card:hover{border-color:#bac5ac;box-shadow:var(--shadow)}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}.author-inline{display:flex;gap:8px;align-items:center;font-size:11px;color:#929a85}.author-inline .avatar{width:28px;height:28px;font-size:12px;border-width:1px}.expense-card h3{font-size:16px;margin-bottom:10px}.expense-card .expense-note{font-size:12px;color:#89927e;min-height:21px;margin-bottom:19px;white-space:pre-line;overflow-wrap:anywhere}.expense-amount{font-family:Georgia,serif;font-size:30px;color:var(--green);letter-spacing:-1px}.expense-amount span{font-size:16px;margin-right:3px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px dashed var(--line);gap:8px;font-size:11px;color:#a0a58f}.photo-strip{display:flex;gap:7px;margin-top:13px}.photo-strip img{width:58px;height:58px;object-fit:cover;border-radius:8px}.photo-strip .photo-more{width:58px;height:58px;border-radius:8px;background:var(--soft);display:flex;align-items:center;justify-content:center;color:#7e8d6f;font-size:13px}.timeline-wrap{position:relative;padding-left:105px}.timeline-wrap:before{content:"";position:absolute;left:76px;top:24px;bottom:28px;width:1px;background:#dce2d2}.timeline-card{position:relative;margin-bottom:24px;background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:26px}.timeline-date{position:absolute;right:calc(100% + 42px);top:22px;white-space:nowrap;text-align:right;font-size:11px;color:#9ba38d;line-height:1.8}.timeline-date strong{display:block;font-size:22px;font-family:Georgia,serif;color:#7d8d70;font-weight:400}.timeline-card:before{content:"";position:absolute;width:9px;height:9px;border-radius:50%;border:3px solid var(--bg);background:#94a47f;left:-34px;top:31px;box-shadow:0 0 0 1px #cbd5bd}.timeline-card h3{font-size:18px;font-family:"Songti SC","SimSun",serif;letter-spacing:.5px;font-weight:600;margin:15px 0 12px}.memory-body{font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;color:#7b8672}.memory-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:17px}.memory-photos img{width:100%;height:180px;object-fit:cover;border-radius:9px}.memory-photos.single{grid-template-columns:minmax(0,1fr);max-width:420px}.memory-photos.single img{height:auto;max-height:360px;object-fit:cover}.photo-button{padding:0;background:none;border:0;border-radius:9px;overflow:hidden;cursor:zoom-in}.memory-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:20px}.memory-actions{display:flex;gap:13px}.memory-actions button{font-size:11px}.notes{background:#f5f6ee;border-radius:10px;padding:14px 16px;margin-top:17px}.note-entry+.note-entry{margin-top:13px;padding-top:12px;border-top:1px dashed #dce3d2}.note-entry-header{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:10px;color:#92a080}.note-entry-header strong{font-weight:500;color:#6c7e5b}.note-entry p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#7d8c6e;margin:0}.detail-amount{font-family:Georgia,serif;font-size:44px;color:var(--green);margin:23px 0}.detail-amount span{font-size:24px}.detail-meta{display:grid;grid-template-columns:90px 1fr;gap:14px;font-size:12px;line-height:1.6}.detail-meta dt{color:#9aa18d}.detail-meta dd{margin:0;color:#68785d}.status-track{display:flex;margin:25px 0;background:#f2f4ea;border-radius:10px;padding:16px 11px;gap:5px;align-items:center;justify-content:center}.track-step{display:flex;align-items:center;gap:6px;font-size:11px;color:#abb2a0;white-space:nowrap}.track-step svg{width:15px;height:15px}.track-step.done{color:var(--green)}.track-line{width:24px;height:1px;background:#d6deca;margin:0 5px}.detail-section{margin-top:25px}.detail-section>h3{font-size:12px;color:#88977b;margin-bottom:12px}.detail-section p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#6d7b63}.detail-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.detail-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.detail-actions{margin-top:27px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.detail-hint{font-size:11px;line-height:1.8;color:#98a18b;margin-top:15px}
/* Our page, forms and dialogs */
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:start}.settings-panel{padding:26px}.settings-panel h2{font-size:16px;margin-bottom:9px}.settings-panel>p{font-size:12px;color:#929b85;margin-bottom:25px}.members-display{display:flex;gap:15px;align-items:center;justify-content:center;padding:13px 0 24px}.members-display .connector{color:#bfa98a;font-size:20px;margin:0 15px}.member{text-align:center;min-width:74px}.member strong{display:block;font-size:12px;margin-top:10px}.member small{display:block;font-size:10px;color:#9ea58f;margin-top:5px}.settings-panel+.settings-panel{margin-top:22px}.form{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>label,.field-label{font-size:12px;color:#69785f;font-weight:500;display:flex;align-items:center;gap:7px}.field>label small{font-size:10px;color:#9da38f;font-weight:400}.field input,.field textarea,.field select{border:1px solid #dfe3d5;background:#fffefa;border-radius:9px;color:var(--ink);width:100%;padding:12px 13px;font-size:14px;min-height:45px;line-height:1.5}.field input::placeholder,.field textarea::placeholder{color:#b4b8aa;font-size:12px}.field input[type=date]{min-height:46px;appearance:none;-webkit-appearance:none}.field input[type=date]::-webkit-date-and-time-value{text-align:left}.field textarea{resize:vertical;min-height:110px}.field small,.form-tip{font-size:11px;color:#9ba38c;line-height:1.8}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.password-field{position:relative}.password-field input{padding-right:46px}.password-field button{position:absolute;right:2px;top:2px;height:41px;width:42px;min-height:41px}.form-error{font-size:12px;line-height:1.8;color:#ae6e53;min-height:0;margin:0}.form-error:empty{display:none}.form-submit{display:flex;gap:10px;justify-content:flex-end;padding-top:7px}.form-submit .btn{min-width:105px}.optional{font-size:10px;letter-spacing:0;color:#a2a891;font-weight:400}.upload-zone{border:1px dashed #cbd4be;border-radius:12px;background:#f8f9f1;min-height:104px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:18px;cursor:pointer;color:#8c9b7b;text-align:center}.upload-zone:hover{background:#f0f3e6}.upload-zone svg{width:23px;height:23px}.upload-zone strong{font-size:12px;font-weight:500}.upload-zone small{font-size:10px;color:#a3ac95}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.file-input:focus-visible+.upload-zone{outline:3px solid #9fad83;outline-offset:4px}.upload-preview{display:flex;gap:9px;flex-wrap:wrap}.upload-item{position:relative;width:75px}.upload-item img{width:75px;height:75px;object-fit:cover;border-radius:8px}.upload-item .remove-upload{position:absolute;right:-4px;top:-4px;border:2px solid var(--paper);width:24px;height:24px;min-height:24px;min-width:24px;border-radius:50%;background:#7c8970;color:white;font-size:16px;display:flex;align-items:center;justify-content:center;padding:0}.upload-item small{display:block;font-size:9px;text-align:center;color:#8d997e;margin-top:5px}.modal{width:min(570px,calc(100vw - 34px));max-height:calc(100dvh - 70px);padding:0;border:1px solid var(--line);border-radius:21px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #15220e30}.modal::backdrop,.lightbox::backdrop{background:#27352266;backdrop-filter:blur(4px)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:2;gap:12px}.modal-header h2{font-size:18px;font-family:"Songti SC","SimSun",serif;margin:0;letter-spacing:1px}.modal-header .icon-btn{min-width:33px;min-height:33px}.modal-body{padding:25px 28px 28px}.modal-description{font-size:12px;color:#94a087;line-height:1.8;margin-bottom:22px}.mood-options{display:flex;flex-wrap:wrap;gap:7px}.mood-choice{border:1px solid #e1e5d7;padding:8px 11px;border-radius:7px;font-size:11px;background:#fafbf5;color:#8d9a7d;min-height:34px}.mood-choice.selected{border-color:#a9ba97;background:#eaf0df;color:#5d754e}.invite-result{margin-top:16px;padding:16px;border-radius:10px;background:#eef2e6;border:1px dashed #c6d2b6;font-size:11px;color:#7e8d6e;line-height:1.8;overflow-wrap:anywhere}.invite-result code{display:block;user-select:all;margin:9px 0;font-size:12px;color:#516a42;word-break:break-all}.invite-result .btn{margin-top:5px}.settings-details{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.settings-details>summary{cursor:pointer;font-size:12px;color:#8b987d;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:35px}.settings-details[open]>summary{margin-bottom:18px}.trash-row{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px dashed var(--line)}.trash-row:first-child{border-top:0}.trash-row .info{flex:1;min-width:0}.trash-row strong{display:block;font-size:12px;overflow-wrap:anywhere}.trash-row small{color:#a0a992;font-size:10px}.lightbox{background:transparent;border:0;padding:0;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:visible}.lightbox img{max-height:calc(100dvh - 90px);max-width:calc(100vw - 45px);object-fit:contain;border-radius:7px;background:#fbfaf1}.lightbox .icon-btn{position:absolute;right:0;top:-41px;color:white}.toasts{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:100;pointer-events:none;width:max-content;max-width:calc(100vw - 35px)}.toast{background:#465d42f5;color:#fffef4;padding:13px 21px;border-radius:11px;font-size:12px;line-height:1.7;box-shadow:0 8px 25px #18270c30;animation:appear .2s ease-out}.offline{background:#f4e9e0;border-color:#e7d7c9;color:#9e765a}.no-gap{margin:0}.checkline{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#99a38a;line-height:1.8}.checkline svg{width:15px;height:15px;flex-shrink:0;margin-top:2px}.confirmation p{font-size:13px;line-height:1.9;color:#7e8b70}.danger-note{color:#a87559;font-size:11px}.money-input{position:relative}.money-input span{position:absolute;left:13px;top:12px;font-size:15px;color:#8c9b7c}.money-input input{padding-left:30px}.settings-panel .btn.full{margin-top:2px}
@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.main{padding-left:64px;padding-right:64px}.hero{grid-template-columns:1fr 380px;min-height:300px}.hero-art{width:365px}.hero h2{font-size:34px}.home-columns{grid-template-columns:1fr 350px}}
@media(max-width:1150px){.sidebar{width:206px;padding:30px 18px}.main{margin-left:206px;padding-left:30px;padding-right:30px}.sidebar .brand{gap:8px}.sidebar .brand strong{font-size:18px}.brand-symbol{width:35px;height:35px}.hero{grid-template-columns:1fr 230px}.hero-copy{padding:29px}.hero-art{width:260px;margin-right:-7px}.hero h2{font-size:26px}.home-columns{grid-template-columns:1fr 270px}.stat{padding:20px 17px}.stat-icon{right:17px;top:18px}.settings-grid{gap:18px}.settings-panel{padding:22px}.expense-grid{gap:15px}.timeline-card{padding:23px}}
@media(max-width:950px){.sidebar{width:184px;padding-left:15px;padding-right:15px}.sidebar .brand small{letter-spacing:1px;font-size:9px}.sidebar .brand strong{font-size:17px;letter-spacing:1px}.sidebar .brand{gap:8px}.main{margin-left:184px;padding-left:24px;padding-right:24px}.nav-link{padding:13px 12px;font-size:13px}.sidebar-note{margin-left:6px;margin-right:6px}.hero{grid-template-columns:1fr 185px;min-height:260px}.hero-art{width:230px;margin-right:-18px}.hero h2{font-size:23px;letter-spacing:2px}.hero-copy{padding:28px 24px}.hero p{max-width:230px}.hero-actions{gap:8px}.hero-actions .btn{font-size:12px;padding:10px 12px}.home-columns{grid-template-columns:1fr 240px;gap:17px}.stats-grid{gap:12px}.stat{padding:20px 15px}.stat-title{max-width:95px}.stat-icon{right:13px;top:18px}.stat-value{font-size:27px}.settings-grid{grid-template-columns:1fr}.expense-grid{grid-template-columns:1fr}.memory-photos img{height:140px}.topbar-right .pill{display:none}.auth-story{padding:38px 9%}.auth-story h1{font-size:31px}.auth-art{margin-top:25px}.auth-panel{padding:55px 10%}}
@media(max-width:760px){.sidebar{display:none}.main{margin-left:0;padding:0 21px calc(105px + env(safe-area-inset-bottom));width:100%}.topbar{height:77px}.topbar .location{display:none}.mobile-brand{display:flex}.mobile-brand .brand-symbol{width:32px;height:32px;border-radius:10px}.mobile-brand .brand-symbol svg{width:23px;height:23px}.mobile-brand strong{font-size:18px;letter-spacing:1px}.mobile-brand small{display:none}.topbar-right{gap:8px}.topbar-right .top-date{font-size:10px;color:#a1a690}.topbar-right .avatar{width:30px;height:30px;font-size:12px}.local-banner{margin-top:15px;font-size:10px;padding:8px 11px}.page-intro{margin:28px 0 22px;align-items:flex-start;gap:10px}.page-intro h1{font-size:26px;margin-bottom:9px}.page-intro p{font-size:12px}.page-intro>.btn{font-size:12px;padding:10px 12px;min-height:40px}.hero{grid-template-columns:1fr 190px;min-height:248px;border-radius:19px}.hero-copy{padding:27px 24px}.hero h2{font-size:26px;letter-spacing:2px}.hero-art{width:255px;align-self:end;margin-right:-28px;margin-bottom:3px}.hero p{font-size:11px;max-width:220px}.hero-copy .eyebrow{font-size:9px}.stats-grid{gap:11px;margin-top:16px}.stat{padding:18px 16px;border-radius:13px}.stat-title{font-size:10px;margin-bottom:12px}.stat-value{font-size:28px;margin-bottom:11px}.stat-value.unset{font-size:18px;padding-top:6px}.stat-icon{display:none}.stat-foot{font-size:9px;line-height:1.8}.stat-value span{font-size:10px;margin-left:4px}.home-columns{grid-template-columns:1fr}.section-heading{margin-top:26px}.home-columns .section-heading{margin-top:27px}.note-card{display:none}.empty-state{min-height:230px;padding:31px 21px}.small-empty{min-height:180px}.small-empty .empty-icon{margin-top:0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fffefaf5;border-top:1px solid #e2e6d9;padding:9px 12px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(15px);z-index:15}.bottom-nav .nav-link{flex-direction:column;gap:6px;padding:8px 15px 6px;min-width:68px;min-height:50px;font-size:10px;border-radius:10px}.bottom-nav .nav-link svg{width:21px;height:21px}.bottom-nav .nav-link.active{background:#eaf0e1;font-weight:500}.nav-count{display:none}.page-footer{font-size:9px;letter-spacing:1px;margin-top:32px}.expense-grid{grid-template-columns:repeat(2,1fr)}.expense-card{padding:20px}.filter-row{gap:3px;margin:22px 0}.filter{padding:9px 11px;font-size:11px}.settings-grid{grid-template-columns:1fr 1fr;gap:15px}.settings-panel{padding:20px}.settings-panel h2{font-size:15px}.members-display{gap:6px}.members-display .connector{margin:0 8px}.member{min-width:60px}.avatar.large{width:53px;height:53px;font-size:20px}.auth-screen{grid-template-columns:1fr;min-height:100dvh;background:var(--bg)}.auth-story{padding:26px 26px 0;min-height:238px;display:block}.auth-story .brand strong{font-size:19px}.auth-story .brand-symbol{width:33px;height:33px}.auth-story .brand-symbol svg{width:24px;height:24px}.auth-story .brand small{font-size:9px}.auth-story-main{margin:29px 0 0;max-width:none;padding-bottom:32px;position:relative}.auth-story-main>.eyebrow{font-size:9px;letter-spacing:2px}.auth-story h1{font-size:27px;letter-spacing:2px;margin:14px 0 12px;line-height:1.5}.auth-story-main>p{font-size:11px;max-width:200px;line-height:1.9;margin:0}.auth-art{position:absolute;width:205px;right:-18px;bottom:7px;margin:0}.auth-story-footer{display:none}.auth-panel{padding:31px 27px 40px;align-items:flex-start}.auth-form-wrap{max-width:450px}.auth-form-wrap h2{font-size:23px;margin-bottom:10px}.auth-form-wrap>.eyebrow{display:none}.auth-form-wrap>p{font-size:12px;margin-bottom:24px}.auth-note{margin-top:23px;padding-top:17px;font-size:10px}.auth-local{font-size:10px;margin-top:14px}.modal{max-height:calc(100dvh - 34px)}.toasts{bottom:calc(96px + env(safe-area-inset-bottom))}}
@media(max-width:540px){.main{padding-left:18px;padding-right:18px}.topbar .top-date{display:none}.hero{grid-template-columns:1fr;min-height:270px}.hero-copy{padding:26px 24px}.hero h2{font-size:27px;line-height:1.55;max-width:245px;position:relative;z-index:1}.hero p{max-width:205px;font-size:11px;position:relative;z-index:1;margin-bottom:23px}.hero-art{position:absolute;right:-48px;bottom:12px;width:210px;opacity:.9;z-index:0}.hero-actions{position:relative;z-index:1}.hero-actions .btn{font-size:11px;padding:10px 12px;gap:6px}.hero-actions .btn svg{width:16px;height:16px}.stats-grid{gap:8px}.stat{padding:17px 11px}.stat-title{font-size:9px;letter-spacing:0}.stat-value{font-size:24px}.stat-value.unset{font-size:16px;padding-top:5px}.stat-foot{font-size:9px}.stat-value span{font-size:9px;margin-left:3px}.page-intro h1{font-size:25px}.page-intro>.btn{padding:10px 11px;font-size:11px;gap:6px}.page-intro>.btn svg{width:15px;height:15px}.page-intro p{font-size:11px;max-width:235px;line-height:1.9}.section-heading .tiny-label{display:none}.section-heading h2{font-size:15px}.settings-grid{grid-template-columns:1fr}.settings-panel{padding:23px}.expense-grid{grid-template-columns:1fr}.expense-card{padding:21px}.timeline-wrap{padding-left:19px}.timeline-wrap:before{left:3px;top:41px;bottom:24px}.timeline-card{padding:20px;margin-top:35px;margin-bottom:22px}.timeline-card:before{left:-21px;top:27px;width:7px;height:7px;border-width:2px}.timeline-date{right:auto;left:0;top:-26px;font-size:10px;display:flex;gap:6px;line-height:1;align-items:center;flex-direction:row-reverse}.timeline-date strong{font-size:12px;font-family:inherit;font-weight:500;color:#8c9a7e}.timeline-date strong:after{content:" 日";font-size:10px;font-weight:400}.timeline-card h3{font-size:17px;margin-top:14px}.memory-body{font-size:12px;line-height:1.9}.memory-photos{gap:6px;margin-top:13px}.memory-photos img{height:95px;border-radius:6px}.memory-photos.single img{max-height:330px;height:auto}.memory-bottom{gap:8px;flex-wrap:wrap;margin-top:15px;padding-top:12px}.memory-actions{gap:13px}.memory-bottom .small{font-size:9px}.card-top{gap:8px}.tag{font-size:10px;padding:4px 6px}.modal{width:calc(100vw - 24px);border-radius:17px;max-height:calc(100dvh - 24px)}.modal-header{padding:16px 19px}.modal-header h2{font-size:17px}.modal-body{padding:22px 20px}.field input,.field textarea,.field select{font-size:16px}.field>label{font-size:12px}.field-row{gap:12px}.field-row .field input{padding-left:10px;padding-right:8px}.field-row .money-input input{padding-left:27px}.mood-choice{font-size:10px;padding:8px 10px}.form{gap:17px}.form-submit .btn{flex:1;min-width:0;font-size:13px}.detail-amount{font-size:38px;margin:20px 0}.status-track{padding:14px 8px;gap:3px}.track-line{width:17px;margin:0 2px}.track-step{font-size:10px;gap:4px}.track-step svg{width:13px;height:13px}.auth-story h1{font-size:25px;max-width:230px}.auth-art{width:177px;right:-12px;bottom:6px}.auth-story-main>p{max-width:175px}.auth-form-wrap h2{font-size:22px}.auth-panel{padding-left:25px;padding-right:25px}.auth-form-wrap input{font-size:16px}.local-banner{font-size:9px;gap:6px}.local-banner svg{width:13px;height:13px}.detail-meta{grid-template-columns:78px 1fr}.notes{padding:12px}.note-entry p{font-size:11px}.mini-memory{padding:18px}.mini-expense{padding:17px 18px}}
svg{width:20px;height:20px}.full-plain{width:100%;background:none;text-align:left;color:inherit}.export-hint{margin-top:12px!important}.invite-hint{margin:12px 0 0!important}.memory-actions .link-btn svg{width:16px;height:16px}.card-bottom svg{width:13px;height:13px}.member .connector svg{width:23px;height:23px}.topbar-right>a{display:flex}.stat-value{overflow-wrap:anywhere}.memory-body,.expense-card .expense-note{color:#68745f}:root{--muted:#747f6c}.stat-title{color:#7e8872}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
