.cafe-ui{--cafe-ink:#5c4134;--cafe-muted:#806555;--cafe-meta:.75rem;--cafe-label:.8125rem;--cafe-body:.9375rem;--cafe-amount:1.375rem;--cafe-radius:16px;--cafe-paper:#fffaf3;--cafe-wash:#f7efe5;--cafe-line:#eadbc9;--cafe-accent:#ae7154;--cafe-income:#4f7059;--cafe-danger:#b55e55;color:var(--cafe-ink);font-family:var(--font-geist-sans),"Hiragino Sans","Hiragino Kaku Gothic ProN","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;background:#fcf7f0}.cafe-ui :is(button,input,select,textarea){font-family:inherit}.cafe-ui button{cursor:pointer;-webkit-tap-highlight-color:transparent}.cafe-ui button:disabled{cursor:default}.cafe-ui :is(button,[role=button],summary):focus-visible{outline-offset:3px;outline:2px solid #ba8b6b}.cafe-ui :is(.tabular-nums,.ledger-metric strong,.moon-quick b){font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.025em}.cafe-ui :is(.text-gray-900,.text-gray-800){color:var(--cafe-ink)}.cafe-ui :is(.text-gray-700,.text-gray-600){color:#7b6050}.cafe-ui :is(.text-gray-500,.text-gray-400){color:var(--cafe-muted)}.cafe-ui :is(.text-blue-500,.text-blue-600,.text-blue-700){color:var(--cafe-accent)}.cafe-ui :is(.text-green-500,.text-green-600,.text-green-700){color:var(--cafe-income)}.cafe-ui :is(.text-red-500,.text-red-600,.text-red-700){color:var(--cafe-danger)}.cafe-ui :is(.bg-gray-50,.bg-gray-50\/80,.bg-gray-100,.bg-gray-100\/80,.bg-gray-200\/80){background-color:var(--cafe-wash)}.cafe-ui :is(.bg-white,.bg-white\/80,.bg-white\/95,.bg-white\/98){background-color:var(--cafe-paper)}.cafe-ui :is(.bg-blue-50,.bg-blue-100){background-color:#f3e2d1}.cafe-ui .bg-blue-500{background-color:var(--cafe-accent)}.cafe-ui .hover\:bg-blue-600:hover{background-color:#955c43}.cafe-ui :is(.bg-green-100,.bg-green-50){background-color:#e9efe4}.cafe-ui :is(.bg-red-50,.bg-red-100){background-color:#f9e7de}.cafe-ui .bg-red-500{background-color:var(--cafe-danger)}.cafe-ui .hover\:bg-red-600:hover{background-color:#9e504a}.cafe-ui :is(.border-gray-100,.border-gray-200,.border-gray-200\/50){border-color:var(--cafe-line)}.cafe-ui :is(.ring-blue-200,.ring-blue-500),.cafe-ui .focus\:ring-blue-500\/40:focus{--tw-ring-color:#d3aa8b}.cafe-ui .hover\:bg-gray-100:hover,.cafe-ui .hover\:bg-gray-200:hover{background-color:#f0e2d2}.cafe-ui img[src*=type\/type_]{object-fit:contain;border-radius:10px}.cafe-ui .ledger-table{border:1px solid var(--cafe-line);border-radius:var(--cafe-radius);box-shadow:none;padding:10px}.cafe-ui .ledger-toolbar{border-bottom:1px dashed #eddfcf;gap:8px;margin-bottom:0;padding:0 0 8px}.cafe-ui .ledger-toolbar>div{border-radius:12px}.cafe-ui .ledger-toolbar>div>button{justify-content:center;align-items:center;gap:4px;min-width:44px;min-height:44px;display:flex}.cafe-ui .ledger-tool-label{font-size:12px;font-weight:600}.cafe-ui .ledger-row{background:0 0;border-bottom:1px solid #f1e7dc;border-radius:0}.cafe-ui .ledger-row-main{gap:10px}.cafe-ui .ledger-row-main>div:first-child{width:36px;height:36px}.cafe-ui .ledger-row:hover{background:#fcf5ec}.cafe-ui .ledger-row.bg-blue-50{background:#f8ebdd;border-radius:12px}.cafe-ui .ledger-detail{background:var(--cafe-paper);border:0;border-top:1px solid var(--cafe-line);box-shadow:none;border-radius:0}.cafe-ui .ledger-confirm{border:1px solid var(--cafe-line)}.cafe-ui .ledger-toolbar img[src*=type\/type_]{width:25px;height:25px}.cafe-ui .ledger-table .space-y-1>:not([hidden])~:not([hidden]){margin-top:0}.cafe-ui .quick-types button[aria-pressed=true] img{transform:rotate(-5deg)}.cafe-ui .quick-types img{transition:transform .18s}.cafe-ui .quick-header{position:relative}.cafe-ui .quick-kind button[aria-pressed=true]{color:var(--cafe-accent)}.cafe-ui .quick-actions button:last-child{box-shadow:0 3px 8px #98634624}.cafe-ui .diary-rank button{border-bottom:1px solid #f3e8db;border-radius:0;padding:9px 2px}.cafe-ui .diary-rank img{width:36px;height:36px}.cafe-ui .diary-rank-name i{height:4px}.cafe-ui .diary-content>.bg-white\/80{border-color:var(--cafe-line)}.cafe-ui nav{padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 16px #9b76500a}.cafe-ui nav button{min-width:44px}.cafe-ui nav button.bg-gray-100{color:#916045;background:#f1e1ce}.cafe-ui nav button img[src*="/add."]{border:2px solid #fff9ed;box-shadow:0 3px 10px #8e63402e}.cafe-ui .more-menu{background:#fff9ef;border:1px solid #e5cfb7;box-shadow:0 10px 30px #76513526}.cafe-ui .more-title{border-bottom:1px dashed #e8d8c6;margin-bottom:5px}.cafe-ui .more-menu>button{border-bottom:1px solid #f4e9db}.cafe-ui .more-menu>button:last-child{border-bottom:0}.cafe-ui .leaflet-control-zoom a{color:#8c644d;background:#fffaf3}.cafe-ui .leaflet-tooltip{color:#6b4936;background:#fffaf3;border-color:#e3cdb6;border-radius:9px;box-shadow:0 2px 8px #80523718}.cafe-ui .journal-state{text-align:center;color:#86634f;flex-direction:column;align-items:center;padding:20px 12px;display:flex}.cafe-ui .journal-state-art{width:78px;height:78px;margin-bottom:8px;position:relative}.cafe-ui .journal-state-art img{object-fit:contain;width:100%;height:100%}.cafe-ui .journal-state-art>span{color:#dbad75;font-size:18px;position:absolute;top:3px;right:-6px}.cafe-ui .journal-state p{font-size:13px;font-weight:600}.cafe-ui .journal-state small{color:#9f8572;margin-top:5px;font-size:11px}.cafe-ui .journal-loading-page{place-content:center;min-height:70dvh;display:grid}.cafe-ui .journal-loading-dots{gap:5px;margin-top:12px;display:flex}.cafe-ui .journal-loading-dots i{background:#d3a37e;border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite cafe-pulse}.cafe-ui .journal-loading-dots i:nth-child(2){animation-delay:.15s}.cafe-ui .journal-loading-dots i:nth-child(3){animation-delay:.3s}.cafe-ui .journal-error{background:#fff8ef;border-color:#e7cdb9;border-radius:20px}.cafe-ui .journal-toast-stack{top:max(18px,env(safe-area-inset-top));width:max-content;max-width:calc(100vw - 28px)}.cafe-ui .journal-toast{color:#71513f;background:#fff9ef;border:1px solid #e6cdb3;box-shadow:0 6px 20px #6d4b3426}.cafe-ui .journal-toast-success{color:#536e51;border-color:#b9cbb1}.cafe-ui .journal-toast-error{color:#a3574d;border-color:#d8aaa0}@keyframes cafe-pulse{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@media (max-width:600px){.cafe-ui .ledger-table{padding:8px}.cafe-ui .ledger-row-main{gap:8px;min-height:56px}.cafe-ui .ledger-row-main>div:first-child{width:33px;height:33px}.cafe-ui input:not(#quick-amount),.cafe-ui select,.cafe-ui textarea{font-size:16px}}@media (prefers-reduced-motion:reduce){.cafe-ui .journal-loading-dots i{animation:none}.cafe-ui .quick-types img{transition:none}}.cafe-ui .quick-header{background:radial-gradient(at 75% 90%,#f6e4cb88,#0000 48%),linear-gradient(110deg,#fff5e5,#fffaf3);padding-right:58px;overflow:hidden}.cafe-ui .quick-header>div{z-index:1;position:relative}.cafe-ui .quick-header-friends{object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 2px #a5764b0c);width:65px;position:absolute;bottom:-4px;transform:rotate(6deg)}.cafe-ui .quick-close{z-index:2;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.cafe-ui .quick-kicker{letter-spacing:.13em;color:#b0876b;font-size:8px}.cafe-ui .quick-header h2{letter-spacing:.05em}.cafe-ui .quick-amount-box{background:linear-gradient(120deg,#fff0dc,#fff5e6);border-color:#edd4b7;box-shadow:inset 0 1px #fffaf0}.cafe-ui .quick-amount-row{gap:8px;min-height:42px}.cafe-ui .quick-amount-row>input{padding:0;line-height:1.2}.cafe-ui .quick-amount-row>input:focus{outline:none}.cafe-ui .quick-amount-box:focus-within{border-color:#d0a07a;box-shadow:0 0 0 2px #e8c6a33b}.cafe-ui .quick-currency{color:#9a6e50;cursor:pointer;background:0 0;border:0;border-left:1px solid #e7cdb3;border-radius:0;flex:none;justify-content:center;align-items:center;gap:6px;padding:5px 0 5px 12px;display:flex;position:relative}.cafe-ui .quick-currency img{border-radius:50%;width:19px;height:19px}.cafe-ui .quick-currency-code{letter-spacing:.04em;font-size:13px;font-weight:650}.cafe-ui .quick-currency-chevron{color:#b18b70;width:14px;height:14px}.cafe-ui .quick-currency select{opacity:0;appearance:none;cursor:pointer;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.cafe-ui .quick-currency:focus-within{outline-offset:3px;border-radius:5px;outline:2px solid #cea17e}.cafe-ui .quick-types button{position:relative}.cafe-ui .quick-meta select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b18b70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:14px;padding-right:28px}.cafe-ui .quick-actions button:last-child{justify-content:center;align-items:center;gap:7px;display:flex}.cafe-ui .quick-save-hamster{object-fit:cover;border-radius:7px;width:21px;height:21px;transform:rotate(5deg)}@media (max-width:600px){.cafe-ui .quick-header-friends{width:58px;height:63px;right:55px}.cafe-ui .quick-header{min-height:65px}}.cafe-ui .diary-range .diary-section-title{justify-content:flex-end;margin-bottom:8px}.cafe-ui .diary-detail-heading:has(>span:empty):not(:has(button)){display:none}.cafe-ui .diary-chart+.diary-months{margin-top:8px}.cafe-ui .ledger-map-info{color:#9a806d;margin-top:10px;font-size:11px}.cafe-ui .ledger-map-info summary{cursor:pointer}.cafe-ui .quick-header{min-height:60px}.cafe-ui .quick-header-friends{height:60px}.cafe-ui .quick-header h2{margin:0}.cafe-ui ::selection{color:#51382b;background:#efd8bd}.cafe-ui :is(input,textarea){caret-color:var(--cafe-accent)}.cafe-ui :is(.moon-home,.calendar-page,.diary-statistics){padding-bottom:calc(88px + env(safe-area-inset-bottom))}.cafe-ui :is(.moon-summary,.diary-panel,.calendar-card){box-shadow:none;border-radius:var(--cafe-radius)}.cafe-ui .moon-summary-top{min-height:108px}.cafe-ui .moon-summary-copy{background:0 0;width:auto;padding:8px}.cafe-ui .moon-eyebrow{color:#70503c;font-size:var(--cafe-label);font-weight:650}.cafe-ui .ledger-summary-metrics{padding:16px 8px 12px}.cafe-ui .ledger-metric>span{color:var(--cafe-muted);font-size:var(--cafe-label);font-weight:500}.cafe-ui .ledger-metric strong{font-size:var(--cafe-amount);letter-spacing:-.03em;font-weight:700;line-height:1.35}.cafe-ui .ledger-metric-graphic{gap:6px;height:40px;margin-top:8px}.cafe-ui .ledger-metric-graphic small{color:var(--cafe-muted);font-size:11px;line-height:1.3}.cafe-ui .ledger-ring:after{inset:6px}.cafe-ui .ledger-income-compare{flex-direction:column;justify-content:center;gap:5px;height:40px;margin-top:8px;display:flex}.cafe-ui .ledger-income-compare>div{align-items:center;gap:5px;display:flex}.cafe-ui .ledger-income-compare span{color:var(--cafe-muted);flex:none;font-size:11px;line-height:1}.cafe-ui .ledger-income-compare i{background:#73927a;border-radius:3px;max-width:calc(100% - 30px);height:5px;display:block}.cafe-ui .ledger-income-compare>div:first-child i{background:#ddd1bf}.cafe-ui .ledger-balance-mark svg{color:#ad805c;width:42px;height:32px}.cafe-ui .moon-quick{padding:12px 16px}.cafe-ui .moon-quick span,.cafe-ui .moon-quick small{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .moon-quick b{font-size:var(--cafe-label);color:var(--cafe-ink)}.cafe-ui .moon-details-toggle{min-height:44px;font-size:var(--cafe-label);padding:10px 16px}.cafe-ui .moon-record-heading{padding:0 2px 12px}.cafe-ui .moon-record-heading h2,.cafe-ui .calendar-record-heading h2{font-size:1rem;font-weight:650}.cafe-ui .ledger-row-main{min-height:64px;padding:10px 2px}.cafe-ui .ledger-row-main .text-\[14px\]{font-size:var(--cafe-body);font-weight:550}.cafe-ui .ledger-row-main .text-\[11px\]{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .ledger-row-main .text-base{font-size:1rem;font-weight:650}.cafe-ui .ledger-detail{padding:12px 8px}.cafe-ui .ledger-detail :is(.text-\[11px\],.text-\[13px\]){font-size:var(--cafe-label)}.cafe-ui .ledger-detail button{min-height:44px}.cafe-ui .ledger-filter-popover{border-radius:var(--cafe-radius);top:66px}.cafe-ui .ledger-filter-popover button{min-width:44px;min-height:44px}.cafe-ui .ledger-pagination{padding:12px 0 0}.cafe-ui .ledger-pagination>div{background:0 0}.cafe-ui .ledger-pagination button{place-items:center;width:44px;height:44px;display:grid}.cafe-ui .ledger-pagination span{font-size:var(--cafe-meta)}.cafe-ui .diary-range{background:0 0;border:0;border-radius:0;padding:0 0 12px}.cafe-ui .diary-section-title small{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .diary-chips{gap:4px}.cafe-ui .diary-chips button{min-height:44px;font-size:var(--cafe-label);padding:8px 12px}.cafe-ui .diary-tabs{border-bottom:1px solid var(--cafe-line);background:0 0;border-radius:0;gap:8px;margin-bottom:20px;padding:0}.cafe-ui .diary-tabs button{min-height:44px;font-size:var(--cafe-label);border-radius:0}.cafe-ui .diary-tabs button[aria-selected=true]{box-shadow:none;color:var(--cafe-ink);border-bottom:2px solid var(--cafe-accent);background:0 0}.cafe-ui .diary-content{gap:20px}.cafe-ui .diary-label,.cafe-ui .diary-summary-row{font-size:var(--cafe-label);color:var(--cafe-muted)}.cafe-ui .diary-rank-name{font-size:var(--cafe-body)}.cafe-ui .diary-rank-value b{font-size:var(--cafe-body);font-weight:650}.cafe-ui .diary-rank-value small{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .diary-months button{min-height:44px;font-size:var(--cafe-meta)}.cafe-ui .diary-select,.cafe-ui .diary-selection{font-size:var(--cafe-label)}.cafe-ui .diary-text-button{min-height:44px;font-size:var(--cafe-label)}.cafe-ui .calendar-top h1{font-size:1.125rem}.cafe-ui .calendar-view-toggle button{min-height:44px;font-size:var(--cafe-label)}.cafe-ui .calendar-month-heading button{width:44px;height:44px}.cafe-ui .calendar-month-heading small{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .calendar-grid>button{min-height:58px;font-size:var(--cafe-body)}.cafe-ui .calendar-grid>button small{color:var(--cafe-muted);font-size:11px}.cafe-ui .calendar-grid>button.selected small{color:#fffaf3}.cafe-ui .quick-close{background:0 0;width:44px;height:44px}.cafe-ui .quick-header-friends{right:64px}.cafe-ui .quick-field-title,.cafe-ui .quick-label,.cafe-ui .quick-meta label{font-size:var(--cafe-label);color:var(--cafe-muted)}.cafe-ui .quick-types button{background:0 0;border-color:#0000;border-radius:12px;min-height:52px;font-size:12px}.cafe-ui .quick-types button[aria-pressed=true]{box-shadow:none;background:#f7e5d0;border-color:#d1a27d}.cafe-ui .quick-currency{min-height:44px;padding-left:10px}.cafe-ui .quick-more{min-height:44px;color:var(--cafe-muted)}.cafe-ui .more-menu>button{min-height:48px;font-size:var(--cafe-body)}.cafe-ui .more-menu>button small{font-size:var(--cafe-meta);color:var(--cafe-muted)}.cafe-ui .more-title button{width:44px;height:44px}@media (max-width:380px){.cafe-ui .ledger-metric strong{font-size:1.125rem}.cafe-ui .ledger-metric{padding:0 6px}.cafe-ui .ledger-metric-graphic{gap:4px}.cafe-ui .ledger-ring{width:22px;height:22px}.cafe-ui .ledger-ring:after{inset:5px}.cafe-ui .ledger-toolbar{gap:4px}}.cafe-ui .ledger-detail-meta>div{min-width:0}.cafe-ui .ledger-detail-meta>div>span:first-child{white-space:nowrap;flex-shrink:0}.cafe-ui .ledger-detail-meta>div>span:last-child{overflow-wrap:anywhere}.cafe-ui .ledger-filter-popover{width:auto;box-shadow:none;margin:8px 0;position:static}.cafe-ui .diary-chart-legend{font-size:var(--cafe-meta);color:var(--cafe-muted);justify-content:flex-end;gap:14px;margin-top:14px;display:flex}.cafe-ui .diary-chart-legend span{align-items:center;gap:5px;display:flex}.cafe-ui .diary-chart-legend i{border-radius:50%;width:7px;height:7px}.cafe-ui .diary-chart-legend .expense{background:#d78570}.cafe-ui .diary-chart-legend .income{background:#678b80}.cafe-ui nav>div>button{justify-content:center;width:48px;height:48px;padding:0}.cafe-ui nav>div>button[aria-current=page]{color:#87583e;background:#efe0ce}.cafe-ui nav>div>button.relative{width:52px;height:52px;margin-top:-12px}.cafe-ui .quick-types{margin-top:12px}.cafe-ui .quick-meta input,.cafe-ui .quick-meta select{margin-top:0}.cafe-ui .quick-amount-box{padding-top:6px;padding-bottom:6px}.cafe-ui .quick-overlay{padding:max(12px,env(safe-area-inset-top))16px max(12px,env(safe-area-inset-bottom));align-items:center}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{height:100dvh;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:calc(76px + env(safe-area-inset-bottom));overflow:hidden}.cafe-ui .moon-home-inner{height:100%;min-height:0}.cafe-ui .moon-home-grid{grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0}.cafe-ui .moon-home-overview{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;max-height:min(48dvh,380px);overflow-y:auto}.cafe-ui .moon-home-records,.cafe-ui .moon-home-records>.ledger-table{height:100%;min-height:0}.cafe-ui .moon-home-records .ledger-table>.overflow-y-auto{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.cafe-ui .moon-home-grid{gap:10px}.cafe-ui .moon-summary-top{min-height:82px;padding-top:8px;padding-bottom:8px}.cafe-ui .ledger-summary-metrics{padding-top:9px;padding-bottom:7px}.cafe-ui .ledger-metric-graphic,.cafe-ui .ledger-income-compare{height:30px;margin-top:3px}.cafe-ui .moon-quick{padding-top:7px;padding-bottom:7px}.cafe-ui .moon-details-toggle{min-height:38px;padding-top:6px;padding-bottom:6px}}.cafe-ui .moon-summary{background:#fffaf4;border-color:#eee0d1;border-radius:18px}.cafe-ui .moon-eyebrow{color:#876d5d;letter-spacing:.03em;font-size:12px;font-weight:600}.cafe-ui .ledger-summary-metrics{background:#fffaf4;padding:14px 10px 12px}.cafe-ui .ledger-metric{padding:0 8px}.cafe-ui .ledger-metric+.ledger-metric{border-color:#efe5db}.cafe-ui .ledger-metric>span{color:#967e6e;font-size:12px}.cafe-ui .ledger-metric strong{color:#533b30;white-space:nowrap;letter-spacing:-.035em;font-size:clamp(17px,4.4vw,21px);font-weight:700}.cafe-ui .ledger-metric:first-child strong{font-size:clamp(19px,4.8vw,23px)}.cafe-ui .ledger-metric strong.ledger-income{color:#668370}.cafe-ui .ledger-metric strong.ledger-negative{color:#b67a6c}.cafe-ui .ledger-metric-graphic,.cafe-ui .ledger-income-compare{height:30px;margin-top:5px}.cafe-ui .ledger-ring{width:22px;height:22px}.cafe-ui .ledger-ring:after{background:#fffaf4;inset:5px}.cafe-ui .ledger-metric-graphic small,.cafe-ui .ledger-income-compare span{color:#998476;font-size:10px}.cafe-ui .ledger-balance-mark svg{width:32px;height:26px}.cafe-ui .moon-quick{background:#fffaf4;border-top:1px solid #f2e9df;padding:10px 18px}.cafe-ui .moon-quick>div+div{border-color:#f0e5da}.cafe-ui .moon-quick span,.cafe-ui .moon-quick small{color:#a38d7e;font-size:11px}.cafe-ui .moon-quick b{color:#6b5143;font-size:13px}.cafe-ui .moon-details-toggle{color:#987a68;border-top:1px solid #f2e9df;font-size:12px}.cafe-ui .moon-home-records>.ledger-table{background:#fffcf8;border-color:#f0e6da;border-radius:18px;padding:10px 14px}.cafe-ui .moon-home-records .ledger-toolbar{border-bottom:1px solid #f0e8de;padding-bottom:9px}.cafe-ui .moon-home-records .ledger-toolbar>span{color:#a18e80;font-variant-numeric:tabular-nums;font-size:12px}.cafe-ui .moon-home-records .ledger-row{border-bottom-color:#f3ece4}.cafe-ui .moon-home-records .ledger-row-main{gap:11px;min-height:61px}.cafe-ui .moon-home-records .ledger-row-main .tabular-nums{font-variant-numeric:tabular-nums;letter-spacing:-.02em}.cafe-ui .moon-desktop-add{background:#fffcf8;border-color:#f0e6da}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{min-height:82px}.cafe-ui .ledger-summary-metrics{padding:9px 8px 7px}.cafe-ui .moon-quick{padding:7px 16px}.cafe-ui .moon-home-records>.ledger-table{padding:7px 11px}.cafe-ui .moon-home-records .ledger-row-main{min-height:54px;padding:7px 2px}}.cafe-ui{--glass-surface:#fffaf4c7;--glass-edge:#ffffffc7;--glass-shadow:0 10px 30px #5b3d2a21,0 2px 8px #5b3d2a0f,inset 0 1px 0 #ffffffe6}.cafe-ui :is(.moon-home,.calendar-page,.diary-statistics){background:radial-gradient(at 82% 0,#f2e2d3 0,#0000 43%),#f8f3ec}.cafe-ui :is(.calendar-card,.diary-panel,.moon-summary,.moon-home-records>.ledger-table){border-color:#ecdfd2;box-shadow:0 2px 12px #75543c0a,inset 0 1px #ffffffa8}.cafe-ui :is(.calendar-view-toggle,.diary-chips,.quick-kind){isolation:isolate}.cafe-ui :is(.calendar-view-toggle,.quick-kind){background:#eee4d9;border:1px solid #eaded2;border-radius:15px}.cafe-ui :is(.calendar-view-toggle button[aria-pressed=true],.quick-kind button[aria-pressed=true]){background:#fffaf4;border-radius:11px;box-shadow:0 2px 7px #7455401a,0 0 0 1px #ffffffa6}.cafe-ui :is(.calendar-month-heading>button,.ledger-toolbar>div){background:#f5ede4;border:1px solid #efe3d7}.cafe-ui :is(.calendar-month-heading>button,.ledger-toolbar button,.diary-tabs button,.calendar-view-toggle button){transition:background-color .18s,color .18s,transform .18s}.cafe-ui :is(.calendar-month-heading>button,.ledger-toolbar button,.calendar-view-toggle button):active{transform:scale(.95)}.cafe-ui .quick-sheet{background:#fffaf5;border:1px solid #fffaf4;border-radius:28px;box-shadow:0 24px 70px #49332942,0 2px 12px #4933291c}.cafe-ui .quick-header{border-bottom:1px solid #f0e4d8}.cafe-ui .quick-close{color:#765b4b;background:#eee4da}.cafe-ui .more-menu{border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(24px)saturate(1.25);backdrop-filter:blur(24px)saturate(1.25);bottom:calc(88px + env(safe-area-inset-bottom));background:#fffaf4e8;border-radius:24px}.cafe-ui .mobile-glass-nav{left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid var(--glass-edge);background:var(--glass-surface);width:min(360px,100% - 32px);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(24px)saturate(1.3);backdrop-filter:blur(24px)saturate(1.3);border-radius:999px;padding:4px 7px;transform:translate(-50%)}.cafe-ui .mobile-glass-nav>div{height:54px}.cafe-ui .mobile-glass-nav>div>button{color:#806c60;border-radius:50%;width:46px;height:46px;transition:background-color .2s,color .2s,transform .2s}.cafe-ui .mobile-glass-nav>div>button[aria-current=page],.cafe-ui .mobile-glass-nav>div>button[aria-expanded=true]{color:#76503d;background:#e0cab6a6;box-shadow:inset 0 1px 2px #aa806220}.cafe-ui .mobile-glass-nav>div>button:active{transform:scale(.92)}.cafe-ui .mobile-glass-nav>div>button img[src*="/add."]{border:1px solid #fffaf1;border-radius:14px;width:40px;height:40px;box-shadow:0 2px 8px #79563b33}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{padding-bottom:calc(86px + env(safe-area-inset-bottom))}.cafe-ui :is(.calendar-page,.diary-statistics){padding-bottom:calc(100px + env(safe-area-inset-bottom))}}@media (prefers-reduced-transparency:reduce){.cafe-ui .mobile-glass-nav,.cafe-ui .more-menu{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf4}}@media (prefers-reduced-motion:reduce){.cafe-ui :is(.mobile-glass-nav button,.calendar-month-heading>button,.ledger-toolbar button,.diary-tabs button,.calendar-view-toggle button){transition:none}}.cafe-ui .mobile-glass-nav>div>button img[src*="/add."]{border-radius:50%}@media (max-width:767px){.cafe-ui .mobile-glass-nav{width:calc(100% - 32px);max-width:none}}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{padding-top:calc(env(safe-area-inset-top,0px) + 12px)}.cafe-ui .calendar-page{padding-top:calc(env(safe-area-inset-top,0px) + 14px)}.cafe-ui .diary-statistics{padding-top:calc(env(safe-area-inset-top,0px) + 8px)}}.cafe-ui .quick-input,.cafe-ui .quick-meta input,.cafe-ui .quick-meta select{box-sizing:border-box;height:42px;min-height:42px;padding-top:0;padding-bottom:0;line-height:normal}.cafe-ui .quick-meta input[type=date]{appearance:none}.cafe-ui .quick-meta input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:0}.cafe-ui .quick-meta input[type=date]::-webkit-datetime-edit{padding:0}.cafe-ui .quick-meta input[type=date]{line-height:40px}.cafe-ui .quick-meta input[type=date]::-webkit-date-and-time-value{min-height:40px;line-height:40px}.cafe-ui .quick-meta input[type=date]::-webkit-datetime-edit{align-items:center;height:40px;padding:0;display:inline-flex}.cafe-ui .quick-meta{grid-template-columns:minmax(0,1fr) 70px}.cafe-ui .quick-user-picker{background:#fffdfa;border:1px solid #eee0d1;border-radius:11px;justify-content:center;align-items:center;gap:5px;height:42px;display:flex;position:relative}.cafe-ui .quick-user-picker img{object-fit:cover;border-radius:50%;width:27px;height:27px}.cafe-ui .quick-user-chevron{color:#a68773;font-size:15px;line-height:1}.cafe-ui .quick-user-picker select{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.cafe-ui .quick-user-picker:focus-within{outline-offset:1px;outline:2px solid #d9ad93}html{background:#f8f3ec}.cafe-ui .ledger-filter-popover button img{object-fit:contain;width:30px;height:30px}@media (display-mode:standalone) and (max-width:767px) and (orientation:portrait){.cafe-ui :is(.moon-home,.calendar-page,.diary-statistics){background:#f8f3ec}}@media (max-width:767px) and (orientation:portrait){.cafe-ui :is(.moon-home,.calendar-page,.diary-statistics){background:linear-gradient(#fcf7f0 0,#f8f3ec 140px)}}.cafe-ui .quick-body{padding-top:18px}.cafe-ui .quick-amount-sign{color:#aa765b;flex:none;font-size:24px;font-weight:600;line-height:1}.cafe-ui .quick-amount-box.is-income{background:#edf3e9;border-color:#d5e2d0}.cafe-ui .quick-amount-box.is-income :is(.quick-amount-sign,.quick-amount-row>input){color:#597b62}.cafe-ui .quick-types .quick-type-income{color:#63816a}.cafe-ui .quick-types .quick-type-income[aria-pressed=true]{color:#4c7255;background:#e7f0e4;border-color:#9dbba2}.cafe-ui .quick-types{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.cafe-ui .quick-types button{min-width:0;padding:4px 0}.cafe-ui .quick-types button span{white-space:nowrap;font-size:11px}.cafe-ui .quick-sheet{-webkit-backdrop-filter:blur(18px)saturate(1.15);backdrop-filter:blur(18px)saturate(1.15);background:#fffaf4de;border:1px solid #ffffffd1;box-shadow:0 24px 70px #49332938,0 2px 12px #49332918,inset 0 1px #ffffffdc}.cafe-ui .quick-actions{background:#fffaf59e;border-top-color:#e0cfbfa6}@media (prefers-reduced-transparency:reduce){.cafe-ui .quick-sheet{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf5}.cafe-ui .quick-actions{background:#fffaf5}}@media (prefers-reduced-transparency:reduce){.cafe-ui .quick-sheet{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf5}.cafe-ui .quick-actions{background:#fffaf5}}.cafe-ui .quick-overlay{background:#37271f14}.cafe-ui .quick-actions{background:#fffaf529}@media (prefers-reduced-transparency:reduce){.cafe-ui .quick-sheet{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf5}.cafe-ui .quick-actions{background:#fffaf5}}.cafe-ui .quick-sheet{border-color:#ffffff85;box-shadow:0 18px 50px #4933292b,0 2px 8px #49332914,inset 0 1px #ffffff47}.cafe-ui .mobile-glass-nav{border-color:#ffffff85;box-shadow:0 10px 28px #4933291f,0 2px 8px #4933290f,inset 0 1px #ffffff47}.cafe-ui .moon-home-records .ledger-toolbar{gap:3px;padding:0 0 6px}.cafe-ui .moon-home-records .ledger-toolbar>div{background:0 0;border:0;gap:1px;padding:0}.cafe-ui .moon-home-records .ledger-toolbar>div+div{border-left:1px solid #e9ded3;border-radius:0;margin-left:5px;padding-left:6px}.cafe-ui .moon-home-records .ledger-toolbar>div>button{width:44px;height:44px;box-shadow:none;border-radius:13px;position:relative}.cafe-ui .moon-home-records .ledger-toolbar>div>button.bg-white{color:#795541;background:#f0e5d8}.cafe-ui .ledger-sort-direction{color:#a47358;font-size:11px;font-weight:700;line-height:1;position:absolute;bottom:5px;right:4px}.cafe-ui .moon-home-records .ledger-toolbar>span{margin-left:auto}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home-records .ledger-row-main{min-height:50px;padding:4px 2px}}.cafe-ui .moon-home-records .ledger-toolbar{background:#f8f2eaed;border:1px solid #fffdfac9;border-radius:17px;margin:2px 2px 8px;padding:3px;overflow:visible;box-shadow:0 3px 12px #76563a14,inset 0 1px #fffdfac9}.cafe-ui .moon-home-records .ledger-toolbar>div{background:0 0}.cafe-ui .moon-home-records .ledger-toolbar>span{padding-right:10px}.cafe-ui .moon-home-records .ledger-sort-button{color:#80685a;white-space:nowrap;border-left:1px solid #eaded1;align-items:center;gap:5px;min-height:44px;margin-left:3px;padding:0 11px;font-size:12px;font-weight:600;display:flex}.cafe-ui .moon-home-records .ledger-sort-menu{background:#faf4ed;border:1px solid #eee2d5;border-radius:13px;align-items:center;gap:4px;margin:0 2px 8px;padding:5px;display:flex}.cafe-ui .ledger-sort-menu button{color:#806a5c;border-radius:9px;flex:1;min-height:38px;font-size:12px}.cafe-ui .ledger-sort-menu button[aria-pressed=true]{color:#80563f;background:#fffdfa;box-shadow:0 1px 5px #75543c16}.cafe-ui .ledger-sort-divider{background:#e8dacd;width:1px;height:20px}.cafe-ui .ledger-date-heading{color:#a18c7e;letter-spacing:.02em;padding:10px 4px 3px;font-size:11px;font-weight:600}.cafe-ui .moon-home-records .ledger-row-main{min-height:49px}.cafe-ui .moon-home-records>.ledger-table{padding:0 10px;position:relative}.cafe-ui .moon-home-records .ledger-scroll{padding:66px 4px}.cafe-ui .moon-home-records .ledger-toolbar{z-index:30;-webkit-backdrop-filter:blur(12px)saturate(1.15);backdrop-filter:blur(12px)saturate(1.15);background:#fffaf49e;margin:0;position:absolute;top:7px;left:10px;right:10px}.cafe-ui .moon-home-records .ledger-pagination{z-index:20;margin:0;padding:0;position:absolute;bottom:8px;right:12px}.cafe-ui .moon-home-records .ledger-pagination>div{-webkit-backdrop-filter:blur(12px)saturate(1.15);backdrop-filter:blur(12px)saturate(1.15);background:#fffaf4ad;border:1px solid #ffffffa8;border-radius:999px;box-shadow:0 4px 16px #76563a1c}.cafe-ui .moon-home-records :is(.ledger-sort-menu,.ledger-filter-popover){z-index:25;background:#fffaf4f0;width:auto;max-height:calc(100% - 138px);margin:0;position:absolute;top:64px;left:10px;right:10px;overflow-y:auto;box-shadow:0 6px 22px #76563a20}@media (min-width:1025px){.cafe-ui .moon-home-records>.ledger-table{height:calc(100dvh - 105px)}}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf4}}.cafe-ui .moon-home-records .ledger-date-heading{padding:6px 4px 1px;line-height:1.2}.cafe-ui .moon-home-records .ledger-row-main .text-\[14px\]{line-height:1.25}.cafe-ui .moon-home-records .ledger-toolbar{border-radius:14px;padding:0 2px;top:6px;left:12px;right:12px}.cafe-ui .moon-home-records .ledger-toolbar>div>button{width:44px;height:44px}.cafe-ui .moon-home-records .ledger-pagination>div{gap:0;padding:0}.cafe-ui .moon-home-records .ledger-pagination span{padding:0 5px}.cafe-ui .moon-home-records .ledger-toolbar>div>button{width:40px;min-width:40px;height:38px;min-height:38px}.cafe-ui .moon-home-records .ledger-sort-button{min-height:38px;padding:0 7px}.cafe-ui .moon-home-records .ledger-pagination button{width:32px;height:38px}.cafe-ui .moon-home-records .ledger-pagination span{padding:0 4px;font-size:11px}.cafe-ui .moon-home-records .ledger-scroll{padding-top:52px;padding-bottom:52px}.cafe-ui .moon-home-records .ledger-toolbar>div>button{height:32px;min-height:32px}.cafe-ui .moon-home-records .ledger-sort-button{min-height:32px}.cafe-ui .moon-home-records :is(.ledger-sort-menu,.ledger-filter-popover){top:44px}.cafe-ui .moon-home-records .ledger-pagination button{height:32px}.cafe-ui .moon-home-records .ledger-scroll{padding-bottom:46px}.cafe-ui .moon-home-records .ledger-toolbar{width:max-content;max-width:calc(100% - 82px);left:auto;right:12px}.cafe-ui .moon-home-records .ledger-floating-count{z-index:20;color:#a18e80;font-variant-numeric:tabular-nums;font-size:12px;position:absolute;top:15px;left:16px}.cafe-ui .moon-home-records .ledger-toolbar{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;gap:6px;padding:0}.cafe-ui .moon-home-records .ledger-toolbar>div>button,.cafe-ui .moon-home-records .ledger-sort-button,.cafe-ui .moon-home-records .ledger-toolbar>button:not(.ledger-sort-button){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffaf4b8;border:1px solid #ffffffad;box-shadow:0 3px 10px #66483224,inset 0 1px #ffffff8c}.cafe-ui .moon-home-records .ledger-toolbar>div>button{border-radius:50%;width:34px;min-width:34px;height:34px;min-height:34px}.cafe-ui .moon-home-records .ledger-sort-button{border-radius:999px;min-height:34px;margin:0;padding:0 10px}.cafe-ui .moon-home-records .ledger-toolbar>button:not(.ledger-sort-button){border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.cafe-ui .moon-home-records .ledger-toolbar>div>button.bg-white{background:#efe0d0e6}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar>div>button,.cafe-ui .moon-home-records .ledger-sort-button,.cafe-ui .moon-home-records .ledger-toolbar>button:not(.ledger-sort-button){-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf4}}.cafe-ui .moon-home-records .ledger-floating-count{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cafe-ui .moon-home-records .ledger-date-heading:first-child{align-items:center;min-height:34px;padding:0 150px 0 4px;display:flex}.cafe-ui .moon-home-records .ledger-toolbar{flex-direction:column;align-items:center;gap:5px;width:42px;max-width:none;top:6px;left:auto;right:5px}.cafe-ui .moon-home-records .ledger-sort-button{justify-content:center;width:40px;min-height:34px;padding:0 3px;font-size:10px}.cafe-ui .moon-home-records .ledger-date-heading:first-child{min-height:0;padding:6px 4px 1px}.cafe-ui .moon-home-records .ledger-scroll-ungrouped{padding-top:2px}.cafe-ui .moon-home-records .ledger-toolbar{top:auto;bottom:48px;right:7px}.cafe-ui .moon-home-records>.ledger-table{padding-left:12px;padding-right:12px}.cafe-ui .moon-home-records .ledger-scroll{padding-top:10px;padding-left:2px;padding-right:2px}.cafe-ui .moon-home-records .ledger-date-heading{padding-left:0;padding-right:0}.cafe-ui .moon-home-records .ledger-row-main{padding-left:0;padding-right:0}.cafe-ui .moon-home-records .ledger-row-grouped{border-bottom-color:#0000}.cafe-ui .moon-home-records .ledger-scroll{padding-top:16px}.cafe-ui .moon-home-records .ledger-toolbar{flex-direction:row;align-items:center;gap:4px;width:auto;inset:auto auto 6px 8px}.cafe-ui .moon-home-records .ledger-toolbar>div{flex-direction:row;gap:4px}.cafe-ui .moon-home-records :is(.ledger-sort-menu,.ledger-filter-popover){max-height:calc(100% - 58px);top:auto;bottom:48px}.cafe-ui .moon-home-records .ledger-toolbar{-webkit-backdrop-filter:blur(12px)saturate(1.15);backdrop-filter:blur(12px)saturate(1.15);background:#fffaf4ad;border:1px solid #ffffffa8;border-radius:999px;gap:0;padding:0;box-shadow:0 4px 16px #76563a1c}.cafe-ui .moon-home-records .ledger-toolbar>div{gap:0}.cafe-ui .moon-home-records .ledger-toolbar>div>button,.cafe-ui .moon-home-records .ledger-sort-button,.cafe-ui .moon-home-records .ledger-toolbar>button:not(.ledger-sort-button){width:34px;min-width:34px;height:32px;min-height:32px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#80685a;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;margin:0;padding:0;display:flex}.cafe-ui .moon-home-records .ledger-toolbar>div>button.bg-white,.cafe-ui .moon-home-records .ledger-sort-button[aria-expanded=true]{background:#efe3d6}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf4}}.cafe-ui .moon-home-records .ledger-toolbar{background:#fffaf46b;bottom:10px;left:14px}.cafe-ui .moon-home-records .ledger-pagination{bottom:10px;right:14px}.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf46b}.cafe-ui .moon-home-records :is(.ledger-sort-menu,.ledger-filter-popover){bottom:52px}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf4}}.cafe-ui .ledger-receipt{box-shadow:none;color:#765b4b;background:#faf1e7;border:0;border-radius:0 0 14px 14px;margin:0 0 6px;padding:8px 12px}.cafe-ui .ledger-row:has(+.ledger-receipt){box-shadow:none;--tw-ring-shadow:0 0 #0000;background:#faf1e7;border-radius:13px 13px 0 0}.cafe-ui .ledger-receipt-category{color:#967b69;border-top:1px solid #e9dacc;padding-top:7px;font-size:11px}.cafe-ui .ledger-receipt-original{align-items:baseline;gap:8px;margin-top:6px;font-size:12px;display:flex}.cafe-ui .ledger-receipt-original span{color:#a18a7b}.cafe-ui .ledger-receipt-original b{color:#6d5040;font-variant-numeric:tabular-nums;font-weight:600}.cafe-ui .ledger-receipt-note{color:#6d5548;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;font-size:13px;line-height:1.5}.cafe-ui .ledger-receipt-footer{align-items:center;gap:8px;margin-top:6px;display:flex}.cafe-ui .ledger-receipt-update{color:#a08a7b;overflow-wrap:anywhere;flex:1;min-width:0;font-size:11px;line-height:1.35}.cafe-ui .ledger-receipt-actions{gap:6px;display:flex}.cafe-ui .ledger-receipt-actions button{color:#99735c;width:38px;min-width:38px;height:38px;min-height:38px;box-shadow:none;background:#fffaf4;border-radius:50%;justify-content:center;padding:0}.cafe-ui .ledger-receipt-actions .ledger-receipt-delete{color:#b0796b}.cafe-ui .ledger-receipt-actions svg{width:16px;height:16px}.cafe-ui .ledger-receipt-category{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 10px;display:flex}.cafe-ui .ledger-receipt-original{gap:5px;margin-top:0;font-size:11px}@media (hover:none){.cafe-ui .ledger-row:not(.bg-blue-50):hover{background:0 0}}.cafe-ui .moon-home-records .ledger-row-identities{opacity:.78;flex:none;align-items:center;gap:4px;display:flex}.cafe-ui .moon-home-records .ledger-row-identities img{object-fit:cover;border-radius:50%;width:15px;height:15px}.cafe-ui .moon-home-records .ledger-row-main{gap:8px}.cafe-ui .moon-home-records .ledger-scroll .space-y-1>:not([hidden])~:not([hidden]){margin-top:0}.cafe-ui .moon-home-records .ledger-row-grouped .ledger-row-main{min-height:35px;padding-top:1px;padding-bottom:1px}.cafe-ui .moon-home-records .ledger-date-heading{padding-top:9px;padding-bottom:2px}.cafe-ui .moon-home-records .ledger-date-heading:first-child{padding-top:2px}.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf442}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf4}}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{overscroll-behavior:contain;overflow:hidden}.cafe-ui .moon-home-inner,.cafe-ui .moon-home-grid{height:100%;min-height:0}}.cafe-ui .mobile-glass-nav{background:#fffaf438}@media (prefers-reduced-transparency:reduce){.cafe-ui .mobile-glass-nav{background:#fffaf4}}.cafe-ui .mobile-glass-nav{-webkit-backdrop-filter:blur(8px)saturate(1.1);backdrop-filter:blur(8px)saturate(1.1)}@media (prefers-reduced-transparency:reduce){.cafe-ui .mobile-glass-nav{-webkit-backdrop-filter:none;backdrop-filter:none}}.cafe-ui .quick-sheet{-webkit-backdrop-filter:blur(8px)saturate(1.1);backdrop-filter:blur(8px)saturate(1.1);background:#fffaf48f}@media (prefers-reduced-transparency:reduce){.cafe-ui .quick-sheet{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffaf5}}.cafe-ui .quick-location{padding:9px 0 0}.cafe-ui .quick-location>div{flex-direction:row;align-items:baseline;gap:8px}.cafe-ui .quick-location span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.cafe-ui .quick-location button{min-height:36px;padding:6px 9px}.cafe-ui .quick-more{margin-top:7px}.cafe-ui .quick-body{padding:14px 16px 8px}.cafe-ui .quick-amount-box{border-radius:14px;padding:5px 12px}.cafe-ui .quick-amount-row{min-height:42px}.cafe-ui .quick-types{row-gap:2px;margin:8px 0}.cafe-ui .quick-types button{min-height:48px}.cafe-ui .quick-meta{gap:7px;margin-top:7px}.cafe-ui .quick-meta+.quick-amount-box{margin-top:7px}.cafe-ui .quick-location{border-top:1px solid #e9dacc99;margin-top:7px;padding:6px 0 0}.cafe-ui .quick-location button{min-height:34px}.cafe-ui .quick-more{border-top:0;min-height:36px;margin-top:3px;padding:6px 0;font-size:12px}.cafe-ui textarea.quick-input{height:auto;min-height:68px;padding:9px 10px}.cafe-ui .quick-actions{gap:8px;padding:8px 16px 10px}.cafe-ui .quick-actions button{min-height:44px;padding:8px 12px}.cafe-ui .quick-actions button:first-child{background:#f1e7dcb3}.cafe-ui .quick-location{padding-left:10px;padding-right:0}.cafe-ui .quick-more{padding-left:10px}.cafe-ui .quick-location button{place-items:center;width:36px;height:36px;padding:0;display:grid}.cafe-ui .quick-location button{color:#a68f80;background:0 0;border-color:#0000}.cafe-ui .quick-location button svg{width:16px;height:16px}.cafe-ui .quick-location button:active{background:#eadbc966}.cafe-ui .quick-note-toggle{position:relative}.cafe-ui .quick-note-dot{background:#b9795e;border-radius:50%;width:5px;height:5px;position:absolute;top:4px;right:4px}.cafe-ui .quick-extra{padding-top:6px}.cafe-ui .quick-types img{width:30px;height:30px}.cafe-ui .quick-types button{gap:1px;min-height:50px}.cafe-ui .quick-types button span{color:#a38d80;font-size:10px;font-weight:400}.cafe-ui .quick-types button[aria-pressed=true] span{color:#986b54;font-weight:600}.cafe-ui .quick-types button{justify-content:center;min-width:0;min-height:52px;padding:2px;position:relative}.cafe-ui .quick-types img{width:44px;max-width:100%;height:44px}.cafe-ui .quick-types button span{color:#876d5c;white-space:nowrap;background:#fffaf4eb;border-radius:5px;max-width:100%;padding:1px 3px;font-size:9px;line-height:1.2;position:absolute;bottom:1px;right:0}.cafe-ui .quick-types button[aria-pressed=true] span{color:#986b54}.cafe-ui .quick-types .quick-type-income[aria-pressed=true] span{color:#5f8066}.cafe-ui .quick-input,.cafe-ui .quick-meta input[type=date]{font-family:inherit;font-size:16px;font-weight:400}.cafe-ui .quick-meta input[type=date]::-webkit-datetime-edit{font-family:inherit;font-size:16px;font-weight:400}.cafe-ui .quick-meta input[type=date]::-webkit-date-and-time-value{font-family:inherit;font-size:16px;font-weight:400}.cafe-ui .quick-meta input[type=date]{padding-left:10px;padding-right:10px}.cafe-ui .quick-wallet{--wallet-coin:#f6ddbd;place-items:center;width:30px;height:30px;display:grid}.cafe-ui .quick-wallet svg{width:30px;height:30px}.cafe-ui .quick-amount-box.is-income .quick-wallet{--wallet-coin:#d7e9d3}.cafe-ui #quick-name,.cafe-ui .quick-meta input[type=date],.cafe-ui .quick-user-picker{background-color:#fff6eaa3;border-color:#ddc1a894;box-shadow:inset 0 1px #ffffff59}.cafe-ui .diary-ledger-records{height:min(56dvh,620px);min-height:300px}.cafe-ui .diary-ledger-records>.ledger-table{height:100%;min-height:0}@media (min-width:1025px){.cafe-ui .diary-ledger-records>.ledger-table{height:100%}}.cafe-ui .mobile-glass-nav{bottom:calc(6px + env(safe-area-inset-bottom,0px));bottom:max(6px,calc(env(safe-area-inset-bottom,0px) - 6px))}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}}.cafe-ui .moon-summary-top{align-items:center;min-height:115px}.cafe-ui .moon-summary-copy{padding:8px 3px}.cafe-ui .moon-expense-label{color:#967b6a;margin-top:7px;font-size:11px}.cafe-ui .moon-expense-amount{color:#533b30;letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:700;line-height:1.2;display:block}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{min-height:100px}}.cafe-ui .moon-home{background:#f8f1e8}.cafe-ui .moon-home-grid{gap:0}.cafe-ui .moon-summary{background:#f6ecdf;border:0;border-radius:20px 20px 0 0;position:relative;overflow:hidden}.cafe-ui .moon-summary-top{background:#e7c8a6 var(--hero-home)center 39%/cover no-repeat;height:420px;padding:0;display:block;position:relative}.cafe-ui .moon-expense-card{z-index:1;text-align:left;color:#664638;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#fff9efb5;border:1px solid #fffdf4b8;border-radius:17px;width:min(49%,190px);padding:11px 12px 10px;position:absolute;top:42px;right:12px;box-shadow:0 4px 18px #68452d22,inset 0 1px #ffffff9c}.cafe-ui .moon-expense-caption{color:#8f6d59;justify-content:space-between;font-size:11px;font-weight:600;display:flex}.cafe-ui .moon-expense-caption>span{font-size:18px;line-height:.8}.cafe-ui .moon-expense-card .moon-expense-amount{white-space:nowrap;margin-top:6px;font-size:clamp(20px,5vw,28px)}.cafe-ui .moon-expense-amount small{letter-spacing:0;font-size:10px;font-weight:600}.cafe-ui .moon-expense-bars{align-items:end;gap:4px;height:23px;margin-top:8px;display:flex}.cafe-ui .moon-expense-bars i{opacity:.6;background:#ad7855;border-radius:3px 3px 1px 1px;flex:1;min-width:0}.cafe-ui .moon-expense-bars i:last-child{opacity:.95}.cafe-ui .moon-home-records>.ledger-table{border-radius:20px}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-home{padding:0 0 calc(74px + env(safe-area-inset-bottom,0px))}.cafe-ui .moon-home-grid{grid-template-rows:auto minmax(0,1fr)}.cafe-ui .moon-home-overview{max-height:50dvh}.cafe-ui .moon-summary{border-radius:0}.cafe-ui .moon-summary-top{background-position:50% 40%;height:41dvh;min-height:280px;max-height:410px}.cafe-ui .moon-expense-card{top:calc(env(safe-area-inset-top,0px) + 14px)}.cafe-ui .moon-home-records{margin-top:-13px;position:relative}.cafe-ui .moon-home-records>.ledger-table{border-radius:22px 22px 16px 16px}}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-expense-card{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff9ef}}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{background-position:top}.cafe-ui .moon-expense-card{width:min(43%,170px)}}.cafe-ui .moon-summary-top{background-image:var(--hero-home);background-position:top;background-size:100%}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{background-position:0}.cafe-ui .moon-summary.is-expanded .moon-summary-top{background-position:0 18%;height:150px;min-height:150px}}.cafe-ui .moon-expense-card{background:#fff8e9ad;border-radius:21px;width:48%;max-width:210px;padding:15px 15px 12px}.cafe-ui .moon-expense-caption{font-size:12px;font-weight:500}.cafe-ui .moon-expense-card .moon-expense-amount{margin-top:8px;font-size:clamp(23px,6vw,30px)}.cafe-ui .moon-expense-amount small{font-size:12px}.cafe-ui .moon-expense-bars{gap:5px;height:29px;margin-top:12px}.cafe-ui .moon-home-records .ledger-row-main{gap:10px;min-height:52px;padding:7px 9px}.cafe-ui .moon-home-records .ledger-row-grouped .ledger-row-main{min-height:52px;padding:7px 9px}.cafe-ui .moon-home-records .ledger-row-main>div:first-child{width:34px;height:34px}.cafe-ui .moon-home-records .ledger-row-main .text-\[14px\]{font-size:14px;line-height:1.35}.cafe-ui .moon-home-records .ledger-row-main .text-base{font-weight:600}.cafe-ui .moon-home-records .ledger-row-identities{opacity:.85;gap:5px;margin-top:3px}.cafe-ui .moon-home-records .ledger-row-identities img{width:13px;height:13px}.cafe-ui .moon-home-records .ledger-date-heading{color:#967b68;padding:13px 3px 7px;font-size:12px;font-weight:500}.cafe-ui .moon-home-records .ledger-date-heading:first-child{padding:2px 3px 7px}.cafe-ui .moon-home-records .ledger-record-first{border-radius:15px 15px 0 0}.cafe-ui .moon-home-records .ledger-record-last{border-radius:0 0 15px 15px}.cafe-ui .moon-home-records .ledger-record-first.ledger-record-last{border-radius:15px}@media (max-width:767px) and (orientation:portrait){.cafe-ui .cafe-scene-home{background:#eee0ce var(--hero-home)center bottom/auto 100% no-repeat}.cafe-ui .moon-home-overview{max-height:55dvh}.cafe-ui .moon-summary-top{background-position:10%;height:47dvh;min-height:310px;max-height:450px}.cafe-ui .moon-expense-card{top:calc(env(safe-area-inset-top,0px) + 52px);width:43%;right:13px}.cafe-ui .moon-home-records{margin-top:-7px}.cafe-ui .cafe-scene-home .moon-home-records:before{content:"";z-index:1;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M0 8C75-2 135 18 220 14S335 1 400 9V20H0Z' fill='%23fcf7ef'/%3E%3C/svg%3E") 50%/100% 100% no-repeat;height:20px;position:absolute;top:-17px;left:0;right:0}.cafe-ui .cafe-scene-home .moon-home-records>.ledger-table{box-shadow:none;background:#fcf7ef;border:0;border-radius:0;padding-left:12px;padding-right:12px}.cafe-ui .cafe-scene-home .ledger-scroll{padding-top:10px}}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-expense-card{background:#fff8e9}}.cafe-ui .moon-home-records .ledger-scroll .space-y-1>*{margin-block:0}@media (max-width:767px) and (orientation:portrait){.cafe-ui .cafe-scene-home .moon-home-records:after{content:"";pointer-events:none;z-index:0;top:0;left:0;right:0;bottom:calc(-96px - env(safe-area-inset-bottom,0px));background:linear-gradient(#fcf7ef 0% 50%,#fcf7eff5 70%,#fcf7efbd 88%,#fcf7ef66 100%);position:absolute}.cafe-ui .cafe-scene-home .moon-home-records>.ledger-table{z-index:1;background:0 0}}html[data-ios-installed=true]{height:var(--installed-height);position:static}html[data-ios-installed=true] body.cafe-ui{width:100%;height:var(--installed-height);position:absolute;inset:0}html[data-ios-installed=true] .diary-app{height:100%;min-height:0;position:relative}html[data-ios-installed=true] :is(.moon-home,.calendar-page,.diary-statistics){height:100%}html[data-ios-installed=true] .mobile-glass-nav{position:absolute}html[data-ios-installed=true] .cafe-scene-home .moon-summary-top:before{content:"";height:calc(env(safe-area-inset-top,0px) + 18px);pointer-events:none;background:linear-gradient(#49352865,#0000);position:absolute;inset:0 0 auto}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{background-position:26%}}.cafe-ui .moon-expense-card{background:#fff8e966}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top{background-position:bottom;height:calc(min(47dvh,112.701vw) - 27px);min-height:0}}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-expense-card{background:#fff8e9}}.cafe-ui .moon-expense-comparison{margin-top:10px;display:block}.cafe-ui .moon-compare-caption{color:#866853;flex-wrap:wrap;justify-content:space-between;gap:2px 5px;font-size:10px;display:flex}.cafe-ui .moon-compare-caption b{font-variant-numeric:tabular-nums;font-weight:600}.cafe-ui .moon-compare-track{background:#e5d4bf80;border-radius:99px;height:4px;margin-top:5px;display:block;overflow:hidden}.cafe-ui .moon-compare-track i{border-radius:inherit;background:#bda087;height:100%;display:block}.cafe-ui .moon-compare-track.current i{background:#956042}.cafe-ui .moon-compare-note{color:#866853;margin-top:5px;font-size:9px;line-height:1.4;display:block}.cafe-ui .moon-expense-comparison .moon-compare-track{height:5px;margin:0 0 6px}@media (max-width:767px) and (orientation:portrait){.cafe-ui .cafe-scene-home{background:#e7c8a6 var(--hero-floor)center 40dvh/auto 180dvh no-repeat}}.cafe-ui .moon-expense-dialog{color:#6d5040;background:#fff8eef5;border:1px solid #fff9edc9;border-radius:23px;width:min(390px,100vw - 32px);max-height:min(72dvh,620px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 20px 65px #49352842}.cafe-ui .moon-expense-dialog[open]{flex-direction:column;display:flex}.cafe-ui .moon-expense-dialog::backdrop{background:#39291f40}.cafe-ui .moon-expense-dialog-header{border-bottom:1px solid #eddfd1;flex:none;justify-content:space-between;align-items:center;padding:8px 12px 8px 18px;display:flex}.cafe-ui .moon-expense-dialog-header h2{font-size:14px;font-weight:600}.cafe-ui .moon-expense-dialog-header small{color:#a18b79;margin-left:5px;font-size:10px}.cafe-ui .moon-expense-dialog-header button{color:#9b7c65;border-radius:50%;width:36px;height:36px;font-size:23px}.cafe-ui .moon-expense-dialog-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;overflow-y:auto}.cafe-ui .moon-expense-dialog .moon-breakdown{border:0}.cafe-ui .settings-dialog{color:#735441;background:#fff8eff5;border:1px solid #fff9efd9;border-radius:23px;width:min(360px,100vw - 36px);max-height:min(68dvh,580px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 20px 65px #49352840}.cafe-ui .settings-dialog[open]{flex-direction:column;display:flex}.cafe-ui .settings-dialog::backdrop{background:#39291f38}.cafe-ui .settings-panel-header{border-bottom:1px solid #eddfd1;flex:none;align-items:center;gap:5px;padding:8px 15px 8px 7px;display:flex}.cafe-ui .settings-panel-header button{border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.cafe-ui .settings-panel-header h2{font-size:14px;font-weight:600}.cafe-ui .settings-panel-header>small{color:#a08a79;margin-left:auto;font-size:10px}.cafe-ui .settings-panel-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:12px;overflow-y:auto}.cafe-ui .settings-currencies{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.cafe-ui .settings-currencies button{background:#f7eee3;border:1px solid #0000;border-radius:13px;justify-content:center;align-items:center;gap:7px;height:48px;font-size:12px;display:flex;position:relative}.cafe-ui .settings-currencies button[aria-pressed=true]{color:#82563d;background:#efdfcd;border-color:#d9b99e}.cafe-ui .settings-currencies img{object-fit:contain;width:23px;height:23px}.cafe-ui .settings-currency-world{width:23px;font-size:24px;line-height:1}.cafe-ui .settings-currency-check{font-size:9px;position:absolute;top:1px;right:4px}.cafe-ui .settings-activity-row{border-bottom:1px solid #efe4d8;align-items:center;gap:9px;padding:9px 2px;display:flex}.cafe-ui .settings-activity-row:last-child{border:0}.cafe-ui .settings-activity-row>img{width:31px;height:31px}.cafe-ui .settings-activity-row>div{flex:1;min-width:0}.cafe-ui .settings-activity-row b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;display:block;overflow:hidden}.cafe-ui .settings-activity-row small{color:#a18a79;margin-top:3px;font-size:10px;display:block}.cafe-ui .settings-activity-row>span{text-align:right;font-variant-numeric:tabular-nums;font-size:13px}.cafe-ui .settings-activity-row>span.is-income{color:#63816a}.cafe-ui .settings-panel-empty{text-align:center;color:#a18a79;padding:22px 8px;font-size:13px}.cafe-ui .settings-account{flex-direction:column;align-items:center;gap:6px;padding:9px;display:flex}.cafe-ui .settings-account>img{border-radius:50%;width:52px;height:52px}.cafe-ui .settings-account small{color:#a18a79;font-size:12px}.cafe-ui .settings-account button{background:#f0e4d6;border-radius:12px;width:100%;min-height:44px;margin-top:12px;font-size:13px}.cafe-ui{--modal-surface:#fffaf48f;--modal-backdrop:#37271f14;--modal-filter:blur(8px)saturate(1.1)}.cafe-ui :is(.quick-sheet,.moon-expense-dialog,.settings-dialog,.ledger-confirm,.diary-date-dialog){background:var(--modal-surface);-webkit-backdrop-filter:var(--modal-filter);backdrop-filter:var(--modal-filter)}.cafe-ui :is(.quick-overlay,.ledger-confirm-overlay),.cafe-ui :is(.moon-expense-dialog,.settings-dialog,.diary-date-dialog)::backdrop{background:var(--modal-backdrop)}.cafe-ui .moon-expense-dialog .moon-quick{background:0 0}@media (prefers-reduced-transparency:reduce){.cafe-ui{--modal-surface:#fffaf5;--modal-filter:none}}.cafe-ui .settings-currencies button{color:#a28b79;background:#f7eee37a}.cafe-ui .settings-currencies button[aria-pressed=true]{color:#70482f;background:#e6caadd1;border-color:#cfa583;font-weight:650;box-shadow:inset 0 1px #ffffff65}.cafe-ui .settings-panel-body:focus{outline:none}.cafe-ui .ledger-confirm{color:#735441;border:1px solid #fff9efd9;border-radius:23px;max-width:360px;padding:21px 18px 15px;box-shadow:0 20px 65px #49352840}.cafe-ui .ledger-confirm-heading h3{color:#6d4d3b;font-size:16px;font-weight:600}.cafe-ui .ledger-confirm-heading p{color:#a1806b;margin-top:5px;font-size:11px}.cafe-ui .ledger-confirm-record{border-top:1px solid #e7d8c885;border-bottom:1px solid #e7d8c885;align-items:center;gap:9px;margin:17px 0;padding:12px 0;display:flex}.cafe-ui .ledger-confirm-record>img{width:32px;height:32px}.cafe-ui .ledger-confirm-record>div{flex:1;min-width:0}.cafe-ui .ledger-confirm-record b{overflow-wrap:anywhere;font-size:14px;font-weight:550;display:block}.cafe-ui .ledger-confirm-record small{color:#a18a79;margin-top:4px;font-size:10px;display:block}.cafe-ui .ledger-confirm-record>span{text-align:right;font-variant-numeric:tabular-nums;flex:none;font-size:16px;font-weight:600}.cafe-ui .ledger-confirm-actions{gap:8px}.cafe-ui .ledger-confirm-actions button{border-radius:13px;min-height:42px;padding:10px 12px;font-size:13px;font-weight:600}.cafe-ui .ledger-confirm-actions button:first-child{color:#8b6e59;background:#f1e7dbb3}.cafe-ui .ledger-confirm-actions button:last-child{color:#fffaf3;background:#b97966}.cafe-ui .diary-scene-statistics{background:#f5eddf var(--hero-floor)center top/cover no-repeat;flex-direction:column;padding:0;display:flex;overflow:hidden}.cafe-ui .diary-scene-hero{background:var(--hero-statistic)20% 35%/cover no-repeat;flex:none;height:180px}.cafe-ui .diary-scene-statistics .diary-stat-inner{width:100%;max-width:900px;min-height:0;padding:10px 16px calc(80px + env(safe-area-inset-bottom,0px));background:linear-gradient(#fcf7ef 0%,#fcf7eff2 75%,#fcf7ef99);flex-direction:column;flex:1;display:flex;position:relative}.cafe-ui .diary-scene-statistics .diary-stat-inner:before{content:"";pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M0 8C75-2 135 18 220 14S335 1 400 9V20H0Z' fill='%23fcf7ef'/%3E%3C/svg%3E") 50%/100% 100% no-repeat;height:20px;position:absolute;top:-18px;left:0;right:0}.cafe-ui .diary-scene-statistics .diary-range{flex:none;margin-bottom:9px;padding:0}.cafe-ui .diary-scene-statistics .diary-range .diary-section-title{justify-content:flex-end;margin-bottom:6px}.cafe-ui .diary-scene-statistics .diary-range>.diary-chips{background:#f6eadb99;border:1px solid #eadbc980;border-radius:15px;flex-wrap:nowrap;gap:3px;padding:3px}.cafe-ui .diary-scene-statistics .diary-range>.diary-chips button{white-space:nowrap;background:0 0;border:0;border-radius:11px;flex:1;min-width:0;min-height:34px;padding:5px 1px;font-size:11px}.cafe-ui .diary-scene-statistics .diary-range>.diary-chips button.selected{color:#fffaf3;background:#b58060;box-shadow:0 2px 6px #88604426}.cafe-ui .diary-scene-statistics .diary-tabs{background:#f0e6daaa;border:0;border-radius:13px;flex:none;gap:3px;margin-bottom:10px;padding:3px}.cafe-ui .diary-scene-statistics .diary-tabs button{border-radius:10px;min-height:34px;padding:5px;font-size:12px}.cafe-ui .diary-scene-statistics .diary-tabs button[aria-selected=true]{color:#875a41;background:#fffaf3;border:0;box-shadow:0 1px 5px #88604419}.cafe-ui .diary-scene-statistics .diary-content{overscroll-behavior:contain;flex:1;gap:10px;min-height:0;padding-bottom:3px;overflow-y:auto}.cafe-ui .diary-scene-statistics .diary-content>.diary-trend-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1 1 0;min-height:0;overflow-y:auto}.cafe-ui .diary-scene-statistics .diary-content.is-overview{overflow:hidden}.cafe-ui .page-enter{animation:1s cubic-bezier(.22,1,.36,1) page-enter-soft}@keyframes page-enter-soft{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.cafe-ui .page-enter{animation:none}}.cafe-ui .diary-scene-statistics .is-overview .diary-overview-metrics{flex:none}.cafe-ui .diary-scene-statistics .diary-panel.diary-rank-panel{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.cafe-ui .diary-scene-statistics .diary-rank-panel .diary-section-title{flex:none}.cafe-ui .diary-scene-statistics .diary-rank-panel .diary-rank{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;flex:auto;grid-auto-rows:max-content;align-content:start;min-height:0;overflow-y:auto}.cafe-ui .diary-scene-statistics .diary-panel{background:#fffaf5e6;border:1px solid #f2e7da;border-radius:18px;flex:none;padding:13px;box-shadow:0 2px 9px #9c74500a}.cafe-ui .diary-overview-metrics{grid-template-rows:1fr 1fr;grid-template-columns:1.2fr 1fr;gap:7px;display:grid}.cafe-ui .diary-overview-metrics>.diary-primary-expense{flex-direction:column;grid-row:1/3;justify-content:center;display:flex}.cafe-ui .diary-overview-metrics span{color:#94755f;font-size:11px}.cafe-ui .diary-overview-metrics small{font-size:9px}.cafe-ui .diary-overview-metrics strong{color:#79906c;font-variant-numeric:tabular-nums;letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:4px;font-size:18px;font-weight:650;display:block}.cafe-ui .diary-primary-expense strong{color:#c48068;font-size:27px}.cafe-ui .diary-overview-metrics strong.is-negative{color:#b57d6d}.cafe-ui .diary-scene-statistics .diary-section-title{margin-bottom:7px;font-size:13px}.cafe-ui .diary-rank-all{color:#a48a77;font-size:11px;font-weight:500}.cafe-ui .diary-scene-statistics .diary-rank{gap:1px}.cafe-ui .diary-scene-statistics .diary-rank button{border-color:#f1e6da;gap:8px;padding:7px 0}.cafe-ui .diary-scene-statistics .diary-rank-name{font-size:12px}.cafe-ui .diary-scene-statistics .diary-rank-value b{font-size:13px}.cafe-ui .diary-scene-statistics .diary-chart{height:220px;margin-top:8px}.cafe-ui .diary-scene-statistics .diary-select{margin-top:8px;font-size:11px}.cafe-ui .diary-scene-statistics .diary-chips button{min-height:32px;padding:5px 9px;font-size:11px}.cafe-ui .diary-scene-statistics .diary-months button{min-height:32px;padding:5px 8px}.cafe-ui .diary-selection-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.cafe-ui .diary-selection-top button{margin:0;font-size:11px}.cafe-ui .diary-selected-metrics{gap:10px;margin-top:9px;display:flex}.cafe-ui .diary-selected-metrics>span{color:#a08a78;flex:1;min-width:0;font-size:10px}.cafe-ui .diary-selected-metrics>span+span{border-left:1px solid #eadbc9;padding-left:10px}.cafe-ui .diary-selected-metrics strong{color:#78906e;overflow-wrap:anywhere;margin-top:4px;font-size:13px;font-weight:600;display:block}.cafe-ui .diary-selected-metrics>span:first-child strong{color:#c48068}.cafe-ui .diary-scene-statistics .diary-detail-heading.is-empty{display:none}.cafe-ui .diary-scene-statistics .diary-ledger-records{flex:1;height:100%;min-height:230px}@media (max-width:767px) and (orientation:portrait){.cafe-ui .diary-scene-statistics{padding:0}.cafe-ui .diary-scene-hero{height:calc(19dvh + env(safe-area-inset-top,0px));background-position:20% 28%;min-height:145px;max-height:230px}}.cafe-ui .diary-scene-statistics .diary-panel.diary-range{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.cafe-ui .diary-overview-metrics>.diary-panel{padding:11px 13px}.cafe-ui .diary-overview-metrics strong{line-height:1.25}.cafe-ui .diary-scene-statistics .diary-range{margin-bottom:8px}.cafe-ui .diary-range-caption{color:#aa907b;text-align:center;letter-spacing:.025em;padding-top:5px;font-size:10px}.cafe-ui .diary-scene-statistics .diary-range>.diary-chips{background:#fbf1e5a8;border-color:#fffaf4ad;box-shadow:0 2px 8px #9e77500a,inset 0 1px #ffffff80}.cafe-ui .diary-scene-statistics .diary-range>.diary-chips button.selected{background:linear-gradient(145deg,#bb8967,#a96f4d);box-shadow:0 2px 6px #88604424,inset 0 1px #e4c3a7}.cafe-ui .diary-scene-statistics .diary-tabs{background:#f4eadeb3;border:1px solid #f7ecdf;gap:4px}.cafe-ui .diary-scene-statistics .diary-tabs button{color:#a38a77;justify-content:center;align-items:center;gap:5px;display:flex}.cafe-ui .diary-scene-statistics .diary-tabs button[aria-selected=true]{color:#fff9ee;background:linear-gradient(145deg,#ba8561,#a86e4e);box-shadow:0 2px 5px #88604424,inset 0 1px #d8b59b}.cafe-ui .diary-overview-metrics{gap:7px}.cafe-ui .diary-overview-metrics>.diary-panel{border-color:#fffaf4;box-shadow:0 3px 12px #a4784a08,inset 0 1px #fffdf9}.cafe-ui .diary-overview-metrics .diary-primary-expense{background:radial-gradient(at 90% 100%,#f6dbcb6b,#0000 75%),#fffaf5f0;position:relative;overflow:hidden}.cafe-ui .diary-primary-expense strong{color:#d28973;letter-spacing:-.045em;font-size:32px;font-weight:700;line-height:1.25}.cafe-ui .diary-overview-metrics .diary-secondary-metric{background:linear-gradient(125deg,#fffbf5ed,#f6f4eae6)}.cafe-ui .diary-overview-metrics .diary-secondary-metric strong{color:#8b9b74;font-size:19px}.cafe-ui .diary-overview-metrics .diary-secondary-metric strong.is-negative{color:#b18373}.cafe-ui .diary-scene-statistics .diary-panel{border-color:#fffaf3e6;box-shadow:0 3px 15px #9e71510a}.cafe-ui .diary-scene-statistics .diary-rank-name i{background:#f1e8dd;height:6px;margin-top:6px}.cafe-ui .diary-scene-statistics .diary-rank img{width:32px;height:32px}.cafe-ui .diary-scene-statistics .diary-rank button{border-color:#f3e9df;gap:9px}.cafe-ui .diary-overview-metrics{grid-template-rows:58px 58px;gap:6px}.cafe-ui .diary-overview-metrics>.diary-panel{min-height:0;padding:8px 11px;position:relative}.cafe-ui .diary-overview-metrics .diary-secondary-metric{padding-right:35px}.cafe-ui .diary-overview-metrics .diary-secondary-metric strong{margin-top:2px;font-size:17px;line-height:1.2}.cafe-ui .diary-overview-metrics .diary-primary-expense{justify-content:center}.cafe-ui .diary-primary-expense strong{margin-top:6px;font-size:30px}.cafe-ui .diary-metric-icon{color:#9ba686;opacity:.85;width:22px;height:22px;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.cafe-ui .diary-primary-expense .diary-metric-icon{color:#d3947d;opacity:.7;width:21px;height:21px;top:15px;transform:none}.cafe-ui .diary-expense-number{width:fit-content;margin-left:8px;position:relative}.cafe-ui .diary-amount-rays{color:#e4a08c;opacity:.85;position:absolute;top:-12px;left:-12px}.cafe-ui .diary-overview-metrics>.diary-panel{flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 14px;display:flex}.cafe-ui .diary-overview-metrics>.diary-panel>span{line-height:1.2;display:block}.cafe-ui .diary-overview-metrics .diary-primary-expense{gap:8px;padding:14px 16px}.cafe-ui .diary-overview-metrics .diary-primary-expense strong{margin:0;font-size:28px;line-height:1.15}.cafe-ui .diary-overview-metrics .diary-secondary-metric{gap:3px;padding:7px 40px 7px 14px}.cafe-ui .diary-overview-metrics .diary-secondary-metric strong{margin:0;line-height:1.15}.cafe-ui .diary-expense-number{margin-left:0}.cafe-ui .diary-metric-icon{right:12px}.cafe-ui .diary-overview-metrics .diary-amount-currency{letter-spacing:0;margin-right:4px;font-size:9px;font-weight:500}.cafe-ui .diary-primary-expense .diary-amount-currency{font-size:11px}.cafe-ui .diary-overview-metrics strong{white-space:nowrap}.cafe-ui .diary-overview-metrics .diary-amount-currency{font-size:.7em}.cafe-ui .diary-overview-metrics .diary-primary-expense>span{position:absolute;top:14px;left:16px}.cafe-ui .diary-overview-metrics .diary-primary-expense strong{margin-top:18px}.cafe-ui .diary-amount-rays{width:14px;height:17px;top:0;left:-4px}.cafe-ui .diary-overview-metrics .diary-amount-currency{font-weight:650}.cafe-ui .diary-scene-statistics .diary-rank-value{white-space:nowrap;flex-direction:row;align-items:baseline;gap:7px}.cafe-ui .diary-scene-statistics .diary-rank-value small{text-align:right;min-width:32px;font-size:10px}.cafe-ui .diary-scene-statistics .diary-rank-name{white-space:nowrap;flex:none;width:48px}.cafe-ui .diary-rank-bar{background:#f1e8dd;border-radius:99px;flex:1;min-width:12px;height:7px;overflow:hidden}.cafe-ui .diary-rank-bar i{border-radius:inherit;height:100%;display:block}.cafe-ui .diary-scene-statistics .diary-rank button{gap:6px}.cafe-ui .diary-scene-statistics .diary-rank-value{font-variant-numeric:tabular-nums;flex:none;grid-template-columns:9ch 5ch;gap:6px;display:grid}.cafe-ui .diary-scene-statistics .diary-rank-value b,.cafe-ui .diary-scene-statistics .diary-rank-value small{text-align:right;width:100%;min-width:0}.cafe-ui .diary-rank-bar{height:10px}.cafe-ui .diary-scene-hero{position:relative}.cafe-ui .diary-scene-date{color:#8c6b53;font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fff8ed99;border:1px solid #fff9ed80;border-radius:99px;padding:5px 9px;font-size:10px;position:absolute;bottom:25px;right:16px}.cafe-ui .diary-date-dialog{color:#735441;border:1px solid #fff9efd9;border-radius:23px;width:min(360px,100vw - 36px);max-height:80dvh;margin:auto;padding:20px 18px 15px;position:fixed;inset:0;overflow-y:auto;box-shadow:0 20px 65px #49352840}.cafe-ui .diary-date-dialog h2{margin-bottom:16px;font-size:14px;font-weight:600}.cafe-ui .diary-date-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;display:grid}.cafe-ui .diary-date-fields label{color:#957960;min-width:0;font-size:11px}.cafe-ui .diary-date-fields input{box-sizing:border-box;color:#735441;width:100%;min-width:0;height:44px;font:inherit;-webkit-appearance:none;background:#fff6eaa3;border:1px solid #ddc1a894;border-radius:12px;margin-top:6px;padding:0 9px;font-size:14px;font-weight:400;display:block}.cafe-ui .diary-date-fields input::-webkit-date-and-time-value{text-align:left}.cafe-ui .diary-date-actions{gap:8px;margin-top:18px;display:flex}.cafe-ui .diary-date-actions button{background:#f1e7dbb3;border-radius:13px;flex:1;min-height:42px;font-size:13px;font-weight:600}.cafe-ui .diary-date-actions button:last-child{color:#fffaf3;background:#b58060}@media (max-width:767px){.cafe-ui .diary-date-fields input{font-size:16px}}.cafe-ui .moon-home-records>.ledger-table{background:#fffaf5e6;border-color:#fffaf3e6}.cafe-ui .moon-home-records .ledger-record{background:#fffcf8d6}@media (max-width:767px) and (orientation:portrait){.cafe-ui .cafe-scene-home .moon-home-records>.ledger-table{background:0 0}}.cafe-ui .diary-date-dialog form:focus{outline:none}.cafe-ui .diary-date-fields input{line-height:42px}.cafe-ui .diary-date-fields input::-webkit-date-and-time-value{min-height:42px;line-height:42px}.cafe-ui .diary-date-fields input::-webkit-datetime-edit{align-items:center;height:42px;padding:0;display:inline-flex}.cafe-ui .diary-trend-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.cafe-ui .diary-trend-controls>.diary-chips{background:#efe5d9a6;border-radius:12px;flex-wrap:nowrap;gap:2px;padding:3px;display:flex}.cafe-ui .diary-scene-statistics .diary-trend-controls .diary-chips button{color:#a08873;background:0 0;border:0;border-radius:9px;min-height:31px;padding:5px 9px;font-size:11px}.cafe-ui .diary-scene-statistics .diary-trend-controls .diary-chips button.selected{color:#865a40;background:#fffbf5;box-shadow:0 1px 5px #76523616}.cafe-ui .diary-scene-statistics .diary-trend-controls .diary-select{margin:0}.cafe-ui .diary-trend-controls select{appearance:none;background-color:#fbf4eaba;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 6 3 3 3-3' fill='none' stroke='%23a08068' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 7px center;background-repeat:no-repeat;background-size:14px;border:1px solid #eadccc99;border-radius:11px;max-width:112px;min-height:36px;padding:5px 25px 5px 10px;font-size:12px}.cafe-ui .diary-trend-panel .diary-months{gap:5px;padding:7px 0}.cafe-ui .diary-scene-statistics .diary-trend-panel .diary-months button{color:#aa927e;background:0 0;border:1px solid #0000;border-radius:9px;min-height:30px;padding:4px 10px;font-size:10px}.cafe-ui .diary-scene-statistics .diary-trend-panel .diary-months button.selected{color:#81583e;background:#efdfcd;border-color:#e3cbb5;box-shadow:inset 0 1px #fffaf3}.cafe-ui .diary-selection-top button{color:#a07b60;font-weight:500}@media (max-width:767px) and (orientation:portrait){.cafe-ui .diary-scene-statistics .diary-content>.diary-trend-panel{margin-top:-7px}.cafe-ui .diary-scene-statistics .diary-trend-panel{padding:9px 11px}.cafe-ui .diary-scene-statistics .diary-trend-panel .diary-chart{height:clamp(100px,16.5dvh,150px);margin-top:2px}.cafe-ui .diary-trend-panel .diary-chart-legend{margin-top:5px;font-size:10px}.cafe-ui .diary-trend-panel .diary-months{padding:3px 0}.cafe-ui .diary-trend-panel .diary-selection{gap:2px;margin-top:2px;padding:7px 10px}.cafe-ui .diary-trend-panel .diary-selected-metrics{margin-top:5px}.cafe-ui .diary-trend-panel .diary-text-button{min-height:28px;margin-top:3px;font-size:11px}}.cafe-ui .calc-panel{background:#fffaf5e6;border:1px solid #fffaf3d9;border-radius:19px;flex:none;padding:14px;box-shadow:0 3px 15px #9e71510a}.cafe-ui .diary-scene-statistics .diary-content>.calc-panel{flex:1 0 auto}.cafe-ui .calc-result{text-align:center;padding:5px 0 14px}.cafe-ui .calc-result-label{color:#a38976;font-size:11px}.cafe-ui .calc-result>strong{letter-spacing:-.035em;color:#c18670;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:5px;font-size:30px;font-weight:650;line-height:1.3;display:block}.cafe-ui .calc-result>strong small{letter-spacing:0;margin-right:5px;font-size:.65em;font-weight:600}.cafe-ui .calc-result.is-income>strong{color:#83996f}.cafe-ui .calc-result-count{color:#ad9683;margin-top:4px;font-size:10px;display:block}.cafe-ui .calc-subtotals{color:#a18a78;flex-wrap:wrap;justify-content:center;gap:8px 20px;margin-top:8px;font-size:10px;display:flex}.cafe-ui .calc-subtotals b{font-variant-numeric:tabular-nums;margin-left:3px;font-weight:500}.cafe-ui .calc-section-heading{color:#9c816c;border-top:1px solid #f0e4d7;justify-content:space-between;align-items:center;gap:8px;padding-top:10px;font-size:11px;display:flex}.cafe-ui .calc-presets{background:#f2e8dc8c;border-radius:9px;gap:2px;padding:2px;display:flex}.cafe-ui .calc-presets button{color:#ac927b;border-radius:7px;min-height:29px;padding:4px 8px;font-size:10px}.cafe-ui .calc-presets button[aria-pressed=true]{color:#865b40;background:#fffbf4;box-shadow:0 1px 4px #88604414}.cafe-ui .calc-types{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px 3px;margin-top:9px;display:grid}.cafe-ui .calc-types button{color:#ad9785;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:52px;padding:3px 0;display:flex}.cafe-ui .calc-types img{opacity:.45;filter:grayscale(.5);width:31px;height:31px}.cafe-ui .calc-types span{white-space:nowrap;font-size:9px}.cafe-ui .calc-types button[aria-pressed=true]{color:#8d6348;background:#f4e6d6b3;border-color:#dec4aa}.cafe-ui .calc-types button[aria-pressed=true] img{opacity:1;filter:none}.cafe-ui .calc-types button.is-income[aria-pressed=true]{color:#7b906b;background:#e9efdfb3;border-color:#c5d3b8}.cafe-ui .calc-user-heading{margin-top:12px}.cafe-ui .calc-users{gap:10px;padding-top:9px;display:flex}.cafe-ui .calc-users button{border:1px solid #0000;border-radius:50%;width:42px;height:42px;padding:3px}.cafe-ui .calc-users img{object-fit:cover;opacity:.4;filter:grayscale(.6);border-radius:50%;width:100%;height:100%;display:block}.cafe-ui .calc-users button[aria-pressed=true]{background:#f3e3d1;border-color:#cfa98a}.cafe-ui .calc-users button[aria-pressed=true] img{opacity:1;filter:none}.cafe-ui .calc-subtotals{flex-wrap:nowrap;min-height:15px;line-height:15px}.cafe-ui .calc-subtotals.is-hidden{visibility:hidden}@media (max-width:767px) and (orientation:portrait){.cafe-ui .diary-scene-statistics .diary-content>.calc-panel{margin-top:-7px}.cafe-ui .calc-panel{padding:10px 12px}.cafe-ui .calc-result{padding:2px 0 7px}.cafe-ui .calc-result>strong{margin-top:2px;line-height:1.15}.cafe-ui .calc-result-count{margin-top:2px}.cafe-ui .calc-subtotals{margin-top:4px}.cafe-ui .calc-section-heading{padding-top:6px}.cafe-ui .calc-types{row-gap:2px;margin-top:5px}.cafe-ui .calc-types button{min-height:46px}.cafe-ui .calc-types img{width:28px;height:28px}.cafe-ui .calc-user-heading{margin-top:6px}.cafe-ui .calc-users{padding-top:5px}}.cafe-ui .diary-scene-hero{background-image:var(--hero-statistic);background-position:20% bottom;background-size:110%}@media (max-width:767px) and (orientation:portrait){.cafe-ui .diary-scene-hero{background-position:0}}.cafe-ui .mobile-glass-nav>div>button.relative{width:66px;height:66px;margin-top:-22px}.cafe-ui .mobile-glass-nav .mobile-nav-mascot{background:url(/add.6b2201da0abb.webp) 47.6%/auto 92% no-repeat,#be8939;border:2px solid #fff8eb;border-radius:50%;width:62px;height:62px;display:block;box-shadow:0 3px 12px #79563b30}.cafe-ui .calendar-scene-page{background:#f8f0e4;flex-direction:column;padding:0;display:flex;overflow:hidden}.cafe-ui .calendar-scene-hero{background:var(--hero-calendar)left center/cover no-repeat;flex:none;height:120px}.cafe-ui .calendar-scene-page .calendar-inner{width:100%;max-width:720px;min-height:0;padding:9px 16px calc(78px + env(safe-area-inset-bottom,0px));background:linear-gradient(#fcf7ef,#f9f0e4);flex-direction:column;flex:1;display:flex;position:relative}.cafe-ui .calendar-scene-page .calendar-inner:before{content:"";pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 20' preserveAspectRatio='none'%3E%3Cpath d='M0 8C75-2 135 18 220 14S335 1 400 9V20H0Z' fill='%23fcf7ef'/%3E%3C/svg%3E") 50%/100% 100% no-repeat;height:20px;position:absolute;top:-18px;left:0;right:0}.cafe-ui .calendar-scene-page .calendar-top{flex:none;align-items:center;padding:0 0 8px}.cafe-ui .calendar-scene-page .calendar-view-toggle{background:#f0e6dab3;border:0;border-radius:12px}.cafe-ui .calendar-scene-page .calendar-view-toggle button{min-height:30px;padding:4px 16px;font-size:11px}.cafe-ui .calendar-scene-page .calendar-view-toggle button[aria-pressed=true]{color:#fffaf3;background:#b58060;border-radius:9px;box-shadow:0 2px 5px #88604424}.cafe-ui .calendar-today-button{color:#98765c;background:#fff8ec9c;border:1px solid #e8d8c58c;border-radius:11px;min-height:34px;padding:5px 12px;font-size:11px}.cafe-ui .calendar-scene-page .calendar-month{background:#fffaf5e6;border-color:#fffaf3;border-radius:18px;flex:none;padding:8px 10px;box-shadow:0 2px 12px #9e71510a}.cafe-ui .calendar-scene-page .calendar-month-heading strong{font-size:15px;font-weight:600}.cafe-ui .calendar-scene-page .calendar-month-heading small{color:#aa907a;margin-top:3px;font-size:10px}.cafe-ui .calendar-scene-page .calendar-month-heading button{color:#b79b87;background:0 0;border:1px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:flex}.cafe-ui .calendar-scene-page .calendar-month-heading button svg{width:17px;height:17px;display:block}.cafe-ui .calendar-scene-page .calendar-weekdays{color:#b49c87;margin-top:7px;font-size:10px}.cafe-ui .calendar-scene-page .calendar-grid{gap:2px;margin-top:4px}.cafe-ui .calendar-scene-page .calendar-grid>button{box-sizing:border-box;border-radius:11px;gap:1px;height:34px;min-height:34px;padding:2px 0;font-size:12px}.cafe-ui .calendar-scene-page .calendar-grid>button>span{line-height:13px}.cafe-ui .calendar-scene-page .calendar-grid>button i{width:3px;height:3px;margin:0}.cafe-ui .calendar-scene-page .calendar-grid>button small{text-overflow:ellipsis;white-space:nowrap;color:#aa8a70;max-width:100%;font-size:8px;line-height:1.2;overflow:hidden}.cafe-ui .calendar-scene-page .calendar-grid>button.selected{color:#fffaf3;background:linear-gradient(145deg,#c18f6c,#ad7453);box-shadow:0 2px 5px #95674620,inset 0 1px #dfbda2}.cafe-ui .calendar-scene-page .calendar-grid>button.selected small{color:#fff1dc}.cafe-ui .calendar-scene-page .calendar-grid>button.today:not(.selected){color:#a47050;background:#f5e6d4}.cafe-ui .calendar-scene-page .calendar-records{flex-direction:column;flex:1;height:auto;min-height:100px;margin-top:9px;display:flex}.cafe-ui .calendar-scene-page .calendar-record-heading{flex:none;padding:0 3px 6px}.cafe-ui .calendar-scene-page .calendar-record-heading h2{color:#a08671;font-size:12px;font-weight:500}.cafe-ui .calendar-scene-page .calendar-records>.ledger-table{border-radius:17px;flex:1;height:auto;min-height:0}.cafe-ui .calendar-scene-page .ledger-map{height:230px}@media (max-width:767px) and (orientation:portrait){.cafe-ui .calendar-scene-page{padding:0}.cafe-ui .calendar-scene-hero{height:calc(12dvh + env(safe-area-inset-top,0px));min-height:90px;max-height:180px}}@media (max-height:730px) and (orientation:portrait){.cafe-ui .calendar-scene-hero{height:60px;min-height:60px}.cafe-ui .calendar-scene-page .calendar-grid>button{min-height:30px}}@media (max-width:767px) and (orientation:portrait){.cafe-ui .calendar-scene-page .calendar-top{padding-bottom:5px}.cafe-ui .calendar-scene-page .calendar-month{padding-top:5px;padding-bottom:5px}.cafe-ui .calendar-scene-page .calendar-month-heading strong{font-size:14px}.cafe-ui .calendar-scene-page .calendar-month-heading small{margin-top:1px;font-size:9px}.cafe-ui .calendar-scene-page .calendar-month-heading button{width:30px;height:30px;font-size:21px}.cafe-ui .calendar-scene-page .calendar-weekdays{margin-top:8px}.cafe-ui .calendar-scene-page .calendar-grid{gap:1px 2px;margin-top:2px}.cafe-ui .calendar-scene-page .calendar-grid>button{height:32px;min-height:32px;padding:2px 0}.cafe-ui .calendar-scene-page .calendar-records{margin-top:6px}}.cafe-ui .calendar-scene-hero{background-position:0 0;background-image:var(--hero-calendar);background-position:0 0}.cafe-ui{--scene-header-height:210px}.cafe-ui :is(.calendar-scene-hero,.diary-scene-hero){height:var(--scene-header-height);min-height:0;max-height:none;margin-top:-15px}@media (max-width:767px) and (orientation:portrait){.cafe-ui{--scene-header-height:clamp(175px,calc(19dvh + env(safe-area-inset-top,0px) + 30px),260px)}}@media (max-height:730px) and (orientation:portrait){.cafe-ui{--scene-header-height:clamp(175px,calc(19dvh + env(safe-area-inset-top,0px) + 30px),260px)}}.cafe-ui .calendar-scene-hero{background-color:#f5ead9;background-position:bottom;background-size:cover}@media (max-width:767px) and (orientation:portrait){.cafe-ui .diary-scene-hero{background-position:20% bottom;background-size:auto 110%}.cafe-ui :is(.cafe-scene-home,.calendar-scene-page,.diary-scene-statistics){background:#e7c8a6 var(--hero-floor)center 40dvh/auto 180dvh no-repeat}.cafe-ui :is(.calendar-scene-page .calendar-inner,.diary-scene-statistics .diary-stat-inner){background:linear-gradient(#fcf7ef 0% 50%,#fcf7eff5 70%,#fcf7efbd 88%,#fcf7ef66 100%)}}.cafe-ui .calendar-scene-page .calendar-body{display:contents}.cafe-ui .calendar-scene-page .calendar-body:not(.calendar-body-map)>.calendar-records{margin-bottom:10px}.cafe-ui .calendar-scene-page .calendar-body-map{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;display:block;overflow-y:auto}.cafe-ui .calendar-scene-page .calendar-body-map .calendar-records{flex:none;height:clamp(320px,50dvh,480px);min-height:320px}.cafe-ui .ledger-map-pin{color:#fffaf3;background:#b9795e;border:2px solid #fffaf3;border-radius:50%;justify-content:center;align-items:center;min-width:30px;height:30px;padding:0 7px;font-size:12px;font-weight:650;display:flex;box-shadow:0 2px 6px #60412a38}.cafe-ui .ledger-map-pin.is-selected{background:#79523d;box-shadow:0 0 0 3px #eac7a38c,0 2px 6px #60412a38}.cafe-ui .quick-location-preview{cursor:pointer;border-radius:6px}.cafe-ui .quick-location-preview:focus-visible{outline-offset:3px;outline:2px solid #b97c5a}.cafe-ui .quick-location-preview[aria-disabled=true]{cursor:progress}
.cafe-ui{--detail-ink:#654c3e;--detail-muted:#8e7564;--detail-line:#9772551f}@media (max-width:767px) and (orientation:portrait){.cafe-ui .moon-summary-top:after{content:"";pointer-events:none;background:linear-gradient(#0000,#fcf7ef4d);height:22px;position:absolute;inset:auto 0 0}.cafe-ui .cafe-scene-home .moon-home-records:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M0 9C75 2 125 4 200 9S325 13 400 6V16H0Z' fill='%23fcf7ef'/%3E%3C/svg%3E");height:16px;top:-13px}}.cafe-ui .moon-home-records .ledger-scroll{padding-bottom:60px;scroll-padding-bottom:60px}.cafe-ui .moon-home-records .ledger-scroll>.space-y-1{padding-bottom:2px}.cafe-ui .moon-home-records>.ledger-table:after{content:"";z-index:15;pointer-events:none;background:linear-gradient(#0000,#fcf7efa6);height:56px;position:absolute;inset:auto 0 0}.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf452;border-color:#ffffffa6;box-shadow:0 3px 12px #76563a12,inset 0 1px #fff5}.cafe-ui .moon-home-records .ledger-pagination svg{stroke-width:1.8px}.cafe-ui .moon-home-records .ledger-pagination span{color:var(--detail-ink);font-weight:500}.cafe-ui .moon-home-records .ledger-date-heading{color:var(--detail-muted);font-weight:500}@media (max-width:767px) and (orientation:portrait){.cafe-ui .cafe-scene-home .ledger-scroll{padding-top:12px}.cafe-ui .moon-home-records .ledger-date-heading:first-child{padding-top:0}}.cafe-ui .calendar-scene-page .calendar-grid>button{grid-template-rows:13px 3px 10px;align-content:center;justify-items:center;row-gap:1px;padding:1px 2px;font-weight:500;display:grid}.cafe-ui .calendar-scene-page .calendar-grid>button small{font-weight:400;line-height:10px}.cafe-ui .calendar-scene-page .calendar-grid>button.selected{color:#674635;background:linear-gradient(145deg,#edd4be,#e1bfa1);box-shadow:inset 0 1px #fff6ea80,0 2px 5px #9b755016}.cafe-ui .calendar-scene-page .calendar-grid>button.selected small{color:#79573e}.cafe-ui .calendar-scene-page .calendar-grid>button.selected i{background:#a16d4c}.cafe-ui .calendar-scene-page .calendar-weekdays{color:#947c6c;font-weight:500}.cafe-ui .calendar-scene-page .calendar-month-heading small{color:var(--detail-muted)}.cafe-ui .calendar-scene-page .calendar-grid>button.today:not(.selected){box-shadow:inset 0 0 0 1px #d6b89b80}.cafe-ui .diary-overview-metrics>.diary-panel{border-color:#fffaf4b3;box-shadow:0 2px 10px #9e715109}.cafe-ui .diary-overview-metrics .diary-primary-expense{padding-left:14px;padding-right:14px}.cafe-ui .diary-overview-metrics .diary-primary-expense>span{top:13px;left:14px}.cafe-ui .diary-overview-metrics .diary-metric-icon{opacity:.65;width:20px;height:20px;top:13px;right:12px;transform:none}.cafe-ui .diary-overview-metrics .diary-primary-expense .diary-metric-icon{top:13px}.cafe-ui .diary-overview-metrics>.diary-panel>span{color:#8b7160;font-size:11px;font-weight:500}.cafe-ui .diary-overview-metrics .diary-secondary-metric{gap:4px}.cafe-ui .diary-scene-statistics .diary-rank button{border-bottom-color:var(--detail-line)}.cafe-ui .diary-rank-bar{background:#ede3d8}.cafe-ui .diary-rank-bar i{opacity:.82}.cafe-ui .diary-rank button>span:last-child{color:#b39b88}.cafe-ui .diary-rank-value small{color:var(--detail-muted)}.cafe-ui :is(.moon-expense-amount,.moon-compare-caption,.ledger-row-main,.ledger-receipt,.diary-overview-metrics strong,.diary-rank-value,.calc-result,.calendar-grid,.calendar-month-heading small){font-variant-numeric:tabular-nums lining-nums}.cafe-ui :is(.moon-compare-caption,.calc-result-label,.calc-result-count,.calc-section-heading,.diary-scene-date){color:var(--detail-muted)}.cafe-ui .moon-expense-caption{font-weight:500}.cafe-ui .moon-home-records .ledger-row-main .text-base{letter-spacing:-.015em;font-weight:600}.cafe-ui .mobile-glass-nav{border-color:#ffffff70;box-shadow:0 7px 20px #64452e1c,0 1px 4px #64452e0a,inset 0 1px #ffffff40}.cafe-ui .mobile-glass-nav>div>button>svg{stroke-width:1.6px;width:22px;height:22px}.cafe-ui .mobile-glass-nav>div>button[aria-current=page]{color:#815b43;background:#dbbea67a;box-shadow:inset 0 1px 1px #fff5}@media (max-width:767px) and (orientation:portrait){.cafe-ui{--page-surface-fade:linear-gradient(to top,#fcf7ef66 0,#fcf7efbd 12dvh,#fcf7eff5 25dvh,#fcf7ef 38dvh)}.cafe-ui .cafe-scene-home .moon-home-records:after{bottom:calc(-81px - env(safe-area-inset-bottom,0px));background:var(--page-surface-fade)}.cafe-ui :is(.calendar-scene-page .calendar-inner,.diary-scene-statistics .diary-stat-inner){background:var(--page-surface-fade)}.cafe-ui :is(.cafe-scene-home,.calendar-scene-page,.diary-scene-statistics){background-image:linear-gradient(#fcf7ef3b,#fcf7ef3b),var(--hero-floor);background-position:50%,50% 40dvh;background-repeat:no-repeat;background-size:100% 100%,auto 180dvh}}@media (prefers-reduced-transparency:reduce){.cafe-ui .moon-home-records .ledger-toolbar,.cafe-ui .moon-home-records .ledger-pagination>div{background:#fffaf4}}.cafe-ui{--choice-surface:#edd7c3;--choice-ink:#765039;--choice-edge:#ceaa8a;--choice-income:#e3ecdc}.cafe-ui .diary-rank-panel .diary-section-title{color:var(--detail-ink);font-weight:600}.cafe-ui :is(.diary-rank-all,.diary-selection-top button){color:var(--detail-muted);font-size:11px;font-weight:400}.cafe-ui .diary-scene-date{border-color:#fffaf260;box-shadow:0 1px 4px #67482f09}.cafe-ui .calendar-month-heading strong{letter-spacing:-.015em}.cafe-ui .ledger-row:has(+.ledger-receipt){background:#f4e9dc;border-radius:12px 12px 0 0}.cafe-ui .ledger-receipt{background:linear-gradient(#f4e9dc,#f9f1e8);border-radius:0 0 12px 12px;margin-bottom:7px;padding:8px 12px 10px}.cafe-ui .ledger-receipt-name{overflow-wrap:anywhere;color:var(--detail-ink);margin-bottom:5px;font-size:13px;font-weight:600;line-height:1.45}.cafe-ui .ledger-receipt-date{color:var(--detail-muted);font-size:10px;line-height:1.4;display:block}.cafe-ui .ledger-receipt-category{border-top:1px dashed #cbae9460;gap:4px 10px;margin-top:6px;padding-top:6px;font-size:11px}.cafe-ui .ledger-receipt-note{margin-top:7px;font-size:12px;line-height:1.5}.cafe-ui .ledger-receipt-place{color:var(--detail-muted);align-items:flex-start;gap:5px;margin-top:7px;font-size:11px;line-height:1.5;display:flex}.cafe-ui .ledger-receipt-place svg{flex:none;width:14px;height:14px;margin-top:1px}.cafe-ui .ledger-receipt-place span{overflow-wrap:anywhere;min-width:0}.cafe-ui .ledger-receipt-footer{border-top:1px solid #cbae942b;margin-top:8px;padding-top:6px}.cafe-ui .ledger-receipt-update{color:var(--detail-muted);font-size:10px;line-height:1.5}.cafe-ui .ledger-receipt-actions{gap:3px}.cafe-ui .ledger-receipt-actions button{background:#fffbf46b;width:34px;min-width:34px;height:34px;min-height:34px}.cafe-ui :is(.settings-currencies button,.calc-types button,.calc-presets button,.quick-types button,.ledger-sort-menu button,.ledger-filter-popover button,.diary-months button){transition:background-color .16s,border-color .16s,color .16s}.cafe-ui :is(.settings-currencies,.calc-presets,.ledger-sort-menu,.ledger-filter-popover) button[aria-pressed=true],.cafe-ui .diary-scene-statistics .diary-trend-panel .diary-months button.selected{background:var(--choice-surface);color:var(--choice-ink);border-color:var(--choice-edge);box-shadow:inset 0 1px #fff9ef60}.cafe-ui :is(.calc-types,.quick-types) button[aria-pressed=true]{background:var(--choice-surface);border-color:var(--choice-edge)}.cafe-ui :is(.calc-types button.is-income,.quick-types button.quick-type-income)[aria-pressed=true]{background:var(--choice-income);border-color:#b8c8ab}.cafe-ui :is(.ledger-toolbar button,.ledger-pagination button,.ledger-receipt-actions button,.more-menu>button,.settings-currencies button,.calc-presets button,.diary-months button):active{background-color:#d9bca54d}.cafe-ui :is(button,[role=button],summary):focus-visible{outline-offset:3px;outline:2px solid #ad7b58}.cafe-ui :is(.quick-input,.quick-meta input,.quick-user-picker):focus-within{outline-offset:2px;outline:2px solid #bb927366}@media (hover:hover){.cafe-ui :is(.ledger-toolbar button,.ledger-pagination button,.ledger-receipt-actions button,.more-menu>button):hover{background-color:#e6d2be50}}.cafe-ui :is(.quick-sheet,.moon-expense-dialog,.settings-dialog,.ledger-confirm,.diary-date-dialog){border:1px solid #fffaf28c;box-shadow:0 14px 42px #553c2d24,0 2px 7px #553c2d0c,inset 0 1px #ffffff30}.cafe-ui .quick-actions{box-shadow:none;border-top-color:#dfcbb64d}.cafe-ui .diary-overview-metrics>.diary-panel,.cafe-ui .calendar-scene-page .calendar-month{box-shadow:0 2px 10px #9e715107}.cafe-ui .ledger-row-value{min-width:0;max-width:48%}.cafe-ui .ledger-row-amount{overflow-wrap:anywhere}.cafe-ui .ledger-row-amount.is-long{letter-spacing:-.02em;font-size:12px;line-height:1.35}.cafe-ui .moon-expense-card .moon-expense-amount{max-width:100%}.cafe-ui .moon-expense-card .moon-expense-amount[data-long=true]{white-space:normal;overflow-wrap:anywhere;font-size:20px}.cafe-ui .diary-overview-metrics strong{max-width:100%}.cafe-ui .diary-overview-metrics strong[data-long=true]{white-space:normal;overflow-wrap:anywhere}.cafe-ui .diary-overview-metrics .diary-primary-expense strong[data-long=true]{font-size:20px}.cafe-ui .diary-overview-metrics .diary-secondary-metric strong[data-long=true]{font-size:13px}.cafe-ui .diary-scene-statistics .diary-rank-name{text-overflow:ellipsis;overflow:hidden}.cafe-ui .ledger-scroll .journal-state{min-height:140px;padding:14px 12px}.cafe-ui .ledger-scroll .journal-state-art{width:64px;height:64px}.cafe-ui .journal-state small{max-width:28ch;color:var(--detail-muted);line-height:1.5}@media (prefers-reduced-motion:reduce){.cafe-ui :is(.settings-currencies button,.calc-types button,.calc-presets button,.quick-types button,.ledger-sort-menu button,.ledger-filter-popover button,.diary-months button){transition:none}}.cafe-ui :is(.moon-home-inner,.moon-home-grid,.moon-home-records,.ledger-record){min-width:0}@media (max-width:1024px){.cafe-ui .moon-home-grid{grid-template-columns:minmax(0,1fr)}}.cafe-ui :is(.moon-expense-card,.diary-overview-metrics>.diary-panel){container-type:inline-size}.cafe-ui .moon-expense-card .moon-expense-amount[data-long=true]{font-size:clamp(12px,calc(100cqw/(var(--amount-chars)*.65 + 2)),24px);white-space:nowrap}.cafe-ui .diary-overview-metrics .diary-primary-expense strong[data-long=true],.cafe-ui .diary-overview-metrics .diary-secondary-metric strong[data-long=true]{font-size:clamp(9px,calc(100cqw/(var(--amount-chars)*.65 + 2)),20px);white-space:nowrap}.cafe-ui .diary-scene-statistics .diary-rank-value b{font-size:clamp(8px,calc(110px/var(--rank-chars,8)),13px)}
