:root{--paper:var(--theme-paper);--card:#fff;--ink:#393630;--muted:#99958e;--rose:var(--theme-accent);--pink:var(--theme-soft);--line:#eeebe5;--green:#718c74;--shadow:0 5px 24px #49372804}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 'Segoe UI','Microsoft YaHei',sans-serif}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--rose);outline-offset:4px}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}button{transition:background .18s,transform .18s}button:active{transform:scale(.98)}.layout{display:flex;min-height:100vh}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;border-right:1px solid #ece8e1;background:#fcfbf8;padding:38px 23px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 8px}.brandmark{background:#eed9de;color:#99586a;border-radius:14px;width:43px;height:43px;display:grid;place-items:center;transform:rotate(-5deg)}.brand strong{font-size:21px;letter-spacing:2px}.brand small{display:block;letter-spacing:2.8px;font-size:9px;color:#b3a9a0;margin-top:1px}.nav{margin-top:49px;display:grid;gap:10px}.nav button{display:flex;align-items:center;gap:14px;padding:13px 18px;text-align:left;color:#8f8b83;font-weight:500;border-radius:12px}.nav button.active{background:var(--theme-soft);color:var(--theme-accent)}.nav button.active:after{content:'';width:5px;height:5px;background:var(--theme-accent);border-radius:50%;margin-left:auto}.side-note{margin-top:auto;padding:25px 12px;color:#9b9488;font-size:12px;line-height:2}.side-note .flower{font-size:32px;color:#c6b8a3}.profilemini{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:22px 6px 0;font-size:12px}.avatar{width:34px;height:34px;background:#ebece1;border-radius:50%;display:grid;place-items:center;color:#8c946d}.profilemini small{color:var(--muted);display:block;font-size:10px}.main{width:calc(100% - 224px);margin-left:224px;padding:28px 48px 55px;max-width:1510px}.topbar{display:flex;align-items:center;justify-content:space-between;color:#a29b91;font-size:11px;letter-spacing:.4px;margin-bottom:36px}.topbar .tools{display:flex;gap:16px;align-items:center}.pill{background:#f0eee8;border:1px solid #e9e5dc;border-radius:6px;padding:3px 9px;font-size:10px;color:#948c7f;letter-spacing:1px}.iconbtn{border:1px solid var(--line);background:white;border-radius:50%;width:35px;height:35px;display:inline-grid;place-items:center}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px;gap:12px}h1{font-size:27px;font-weight:600;letter-spacing:1px;line-height:1.4;margin:0 0 8px}h2{font-size:15px;letter-spacing:.5px;margin:0;font-weight:600}h3{font-size:14px;margin:0}p{margin:0}.muted{color:var(--muted);font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#ae8c7f;margin-bottom:6px}.month{border:1px solid #e9e5dd;background:#fdfcf9;border-radius:9px;padding:8px 13px;font-size:12px;max-width:148px}.grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:24px}.stack{display:flex;flex-direction:column;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:17px;padding:25px;box-shadow:var(--shadow)}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}.textbtn{color:#a29789;font-size:11px;padding:4px 0}.textbtn:hover{color:var(--rose)}.hero{position:relative;background:var(--theme-soft);border-color:var(--theme-line);min-height:208px;overflow:hidden;padding:27px 30px}.hero .eyebrow{color:var(--theme-ink);font-size:11px;letter-spacing:1px}.amount{font-family:'Segoe UI',sans-serif;font-size:43px;letter-spacing:-1.5px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums}.currency{font-size:22px;margin-right:8px;font-weight:400;letter-spacing:0}.hero .hero-sub{display:flex;gap:24px;color:#9c7e82;font-size:11px;margin-top:17px}.hero-sub strong{color:var(--theme-ink);font-weight:500;margin-left:6px;font-size:13px}.hero .stamp{position:absolute;right:20px;top:20px;font-size:9px;letter-spacing:1px;color:var(--theme-ink);border:1px solid var(--theme-line);border-radius:5px;padding:2px 8px;transform:rotate(6deg)}.wallet-art{position:absolute;right:24px;bottom:7px;width:151px;height:135px;color:var(--theme-ring);transform:rotate(-9deg);opacity:.7}.hero-foot{border-top:1px solid #dfc3c94d;margin-top:19px;padding-top:12px;font-size:10px;color:var(--theme-ink);display:flex;align-items:center;gap:6px}.hero-body{position:relative;z-index:1}.entry{padding:24px 26px}.entry-title{display:flex;gap:10px;align-items:center}.spark{color:var(--theme-accent)}.tag{font-size:9px;border:1px solid var(--theme-line);color:#bd8491;background:var(--theme-pale);padding:2px 7px;border-radius:5px}.entry textarea{background:#faf9f6;border:1px solid #efebe5;border-radius:11px;width:100%;resize:vertical;min-height:103px;padding:16px;outline:none;font-size:12px;line-height:1.8;margin-top:20px}.entry textarea:focus{border-color:var(--theme-line);background:var(--theme-pale)}.entry textarea::placeholder{color:#b0aaa1}.examples{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.example{font-size:10px;color:#a39b8f;border:1px solid #efeae2;border-radius:5px;padding:3px 8px}.entry-actions{display:flex;align-items:center;gap:8px;margin-top:20px}.lightbtn{border:1px solid #e9e5df;background:#fff;border-radius:8px;font-size:11px;padding:9px 12px;display:inline-flex;align-items:center;gap:7px}.lightbtn:hover{background:#f7f4ef}.primary{background:var(--theme-accent);color:white;border:1px solid var(--theme-accent);border-radius:8px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px}.primary:hover{background:var(--theme-accent)}.entry-actions .primary{margin-left:auto}.entry-note{font-size:10px;color:#b6b0a5;margin-top:13px}.budget-ring-wrap{display:flex;align-items:center;gap:20px}.ring{width:105px;height:105px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--theme-ring) calc(var(--pct)*1%),var(--theme-soft) 0);flex-shrink:0}.ring-inner{width:87px;height:87px;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column}.ring-inner strong{font-size:23px;font-weight:500}.ring-inner small{font-size:9px;color:#aaa198}.budget-nums .muted{font-size:10px}.budget-nums b{font-size:24px;font-weight:500;display:block;margin:2px 0 4px}.budget-nums small{font-size:10px;color:#a49c91}.budget-tip{font-size:10px;padding:10px 12px;color:#8a9982;background:#f5f7f0;border-radius:8px;margin-top:21px;display:flex;gap:7px;align-items:center}.budget-tip.warn{color:#b27352;background:#fcf2e7}.cat-row{margin-top:17px}.cat-line{display:flex;align-items:center;gap:9px;font-size:11px}.cat-line .sum{margin-left:auto;color:#aaa195;font-size:10px}.cat-icon{width:30px;height:30px;border-radius:9px;display:inline-grid;place-items:center;background:var(--bg,#f4e9df);color:var(--fg,#b68a64);flex-shrink:0}.bar{height:5px;background:#f4f1ed;border-radius:10px;overflow:hidden;margin-top:9px}.bar>i{display:block;height:100%;background:var(--bar,var(--theme-ring));border-radius:10px}.cat-row .bar{margin-left:39px}.note-card{background:#f4f0e6;border-color:#ebe6d8;padding:23px;position:relative;overflow:hidden}.note-card p{font-size:12px;line-height:2;color:#8e8473;margin-top:11px;max-width:230px}.note-card .note-star{position:absolute;right:20px;bottom:15px;color:#c9b590;font-size:39px;font-weight:200}.recent{padding:22px 25px}.transaction{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f3f0eb;cursor:pointer;width:100%;text-align:left}.transaction:last-child{border:0}.transaction:hover{background:#fdfbf8}.transaction .cat-icon{width:37px;height:37px;border-radius:12px}.transaction .merchant{font-size:12px;font-weight:500}.transaction .meta{font-size:10px;color:#b0a79b;margin-top:2px}.transaction .price{margin-left:auto;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.transaction .price small{display:block;font-size:9px;color:#b3aa9e;margin-top:2px}.positive{color:var(--green)}.page-note{text-align:center;margin-top:30px;font-size:10px;letter-spacing:1px;color:#bdb5a9}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.chip{padding:7px 13px;border-radius:8px;border:1px solid #ebe6de;font-size:11px;background:#fff;color:#9b9185}.chip.active{background:var(--theme-soft);border-color:var(--theme-line);color:var(--theme-accent)}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.filters input,.filters select{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 12px;font-size:12px;min-width:0}.filters input[type=search]{flex:1}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:23px}.stat{padding:20px}.stat p{font-size:11px;color:#a79a90}.stat strong{display:block;font-size:25px;font-weight:500;margin-top:7px}.day-label{display:flex;justify-content:space-between;font-size:11px;color:#a6998a;background:#faf8f4;margin:19px -5px 3px;padding:7px 10px;border-radius:5px}.empty{text-align:center;padding:50px 15px;color:#aaa196;font-size:13px}.empty svg{display:block;margin:0 auto 15px;color:#c6b8a7}.trend{height:170px;display:flex;align-items:flex-end;gap:6px;padding:25px 0 20px;border-bottom:1px dashed #e9e5df;margin-bottom:13px}.trend-col{flex:1;min-width:0;position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center}.trend-col i{display:block;width:75%;max-width:28px;border-radius:5px 5px 0 0;background:var(--theme-ring);min-height:2px}.trend-col:nth-child(3n) i{background:#b5c0a5}.trend-col small{position:absolute;bottom:-21px;color:#b1a695;font-size:9px}.donut{width:130px;height:130px;margin:12px auto 22px;border-radius:50%;position:relative;background:conic-gradient(#dfb4c1 0 45%,#c4c8ae 45% 70%,#e6c8a7 70% 85%,#d7cedc 85%)}.donut:after{content:'支出分布';position:absolute;inset:24px;background:white;border-radius:50%;display:grid;place-items:center;color:#a89e93;font-size:11px}.list-menu{display:flex;width:100%;padding:18px 0;border-bottom:1px solid var(--line);align-items:center;gap:12px;text-align:left;font-size:12px}.list-menu span:last-child{margin-left:auto;color:#b3a89b}.switch{width:36px;height:21px;background:#ddd9d2;border-radius:20px;position:relative}.switch.on{background:var(--theme-second)}.switch:after{content:'';width:15px;height:15px;position:absolute;top:3px;left:3px;border-radius:50%;background:white;transition:left .2s}.switch.on:after{left:18px}.notice{padding:13px 16px;font-size:11px;color:#9b8d78;background:#f5f1e8;border-radius:9px;margin-bottom:18px}.modal-overlay{position:fixed;z-index:50;inset:0;background:#39322d50;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fdfcf9;border-radius:20px;padding:27px;max-width:540px;width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 70px #36212825}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal h2{font-size:18px}.close{font-size:24px;color:#a99e93;padding:0 7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field label{display:block;font-size:11px;color:#9a8e80;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #e9e3da;background:white;border-radius:8px;outline:none}.field input:focus,.field select:focus{border-color:#c294a2}.full{grid-column:1/-1}.form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:24px}.danger{color:#b65762}.draft{border:1px solid #eddfdf;border-radius:11px;padding:17px;margin-bottom:13px;background:#fff}.draft h3{margin-bottom:13px}.receipt{background:#edf2e9;border:1px solid #dde5d6;border-radius:12px;padding:17px;margin-top:18px;font-size:12px;color:#6c8064;animation:rise .3s}.receipt b{display:block;font-size:14px;margin-bottom:5px}.thumb{max-width:100%;height:150px;object-fit:contain;display:block;margin:0 auto 15px;border-radius:8px}.mobile-brand{display:none}.bottomnav{display:none}#toast{position:fixed;z-index:100;bottom:35px;left:50%;transform:translateX(-50%) translateY(15px);padding:12px 22px;background:#484038;color:#fff;font-size:12px;border-radius:10px;box-shadow:0 5px 20px #0001;opacity:0;pointer-events:none;transition:all .2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.preview-label{font-size:10px;color:#ad9c8d}.reminder-row{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.reminder-row .time{font-size:22px;font-weight:500}.small-actions{display:flex;gap:14px;margin-top:7px;color:#a19284;font-size:10px}.info-block{line-height:2;color:#968b7c;font-size:12px}.profile-large{display:flex;align-items:center;gap:15px;padding-bottom:22px}.profile-large .avatar{width:52px;height:52px;font-size:24px}.range-label{font-size:11px;color:#a39788;margin-bottom:10px}.error{font-size:12px;color:#b75c6d;margin-top:12px}.loading{opacity:.6;pointer-events:none}.draft-tag{font-size:9px;color:var(--theme-accent);margin-left:6px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.category-grid .chip{text-align:center}@keyframes rise{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.main>section{animation:rise .3s ease-out}.badge-count{width:6px;height:6px;background:var(--theme-second);border-radius:50%;position:absolute;top:3px;right:3px}
@media(min-width:1500px){.main{margin-inline:auto;margin-left:224px;padding:35px 70px}.grid{gap:28px}}@media(max-width:1150px){.main{padding:25px}.sidebar{width:190px;padding:30px 17px}.main{margin-left:190px;width:calc(100% - 190px)}.grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:18px}.card{padding:21px}.budget-ring-wrap{gap:13px}.ring{width:90px;height:90px}.ring-inner{width:74px;height:74px}.wallet-art{width:115px;right:8px}.hero{padding:25px}.hero .hero-sub{gap:13px}}@media(max-width:850px){.sidebar{width:175px}.main{margin-left:175px;width:calc(100% - 175px)}.grid{grid-template-columns:1fr}.stack{gap:18px}.stats{grid-template-columns:repeat(2,1fr)}.aside-stack{display:grid;grid-template-columns:1fr 1fr}.note-card{grid-column:1/-1}.heading h1{font-size:24px}}@media(max-width:600px){.sidebar{display:none}.main{margin:0;width:100%;padding:20px 19px 110px}.topbar{margin-bottom:24px}.crumb{display:none}.mobile-brand{display:flex;gap:7px;align-items:center;color:#715c56;font-size:15px;font-weight:600}.mobile-brand .brandmark{width:29px;height:29px;border-radius:9px}.topbar .tools{gap:9px}.tools .date-label{display:none}.heading{margin-bottom:21px}.heading h1{font-size:23px}.heading .muted{font-size:10px}.month{max-width:125px;font-size:11px;padding:7px}.grid{gap:17px}.stack{gap:17px}.hero{min-height:202px;padding:23px}.amount{font-size:39px}.hero .hero-sub{font-size:10px;gap:17px}.hero-sub strong{font-size:11px}.wallet-art{width:115px;right:7px;bottom:20px}.hero .stamp{font-size:8px;right:13px;top:15px}.entry{padding:21px}.entry-actions{gap:6px}.entry-actions .lightbtn{padding:9px;font-size:10px}.entry-actions .primary{font-size:11px;padding:10px 12px}.aside-stack{grid-template-columns:1fr}.note-card{grid-column:auto}.card{border-radius:15px}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fdfbf8f5;backdrop-filter:blur(12px);border-top:1px solid #ece7de;justify-content:space-around;padding:12px 8px max(15px,env(safe-area-inset-bottom))}.bottomnav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;color:#a49b8e;min-width:50px}.bottomnav button.active{color:var(--theme-accent)}.bottomnav button.active svg{background:var(--theme-soft);border-radius:8px;box-shadow:0 0 0 6px var(--theme-soft)}.bottomnav button svg{width:18px;height:18px}.bottomnav button span{margin-top:3px}.stats{gap:11px}.stat{padding:16px}.stat strong{font-size:21px}.filters{gap:7px}.filters select{flex:1;width:100px}.filters input{width:100%}.modal-overlay{align-items:flex-end;padding:0}.modal{border-radius:22px 22px 0 0;max-height:93dvh;padding:24px 20px 35px}.card-head{margin-bottom:15px}.page-note{font-size:9px}.chips{gap:6px}.chip{font-size:10px;padding:7px 10px}#toast{bottom:90px}.profile-large{padding-top:4px}.entry-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* The primary task stays visually ahead of the summary. */
.theme-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.share-invite-entry{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:20px;border-top:1px solid #e4dccd;padding-top:18px;flex-wrap:wrap}.share-invite-entry h3{font-size:12px;color:var(--theme-ink)}.share-invite-entry p{font-size:10px!important;margin-top:4px!important}.share-invite-entry .primary{white-space:nowrap}.share-modal{max-width:760px}.share-intro{font-size:12px;color:#9c8d7c;margin:-5px 0 20px}.share-composer{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.9fr);gap:22px;align-items:start}.share-preview{padding:12px;background:var(--theme-soft);border-radius:14px;border:1px solid var(--theme-line)}.share-preview canvas{width:100%;height:auto;display:block;border-radius:7px;box-shadow:0 6px 18px #00000009}.share-controls{display:grid;gap:15px}.share-controls .field label{font-size:11px}.share-toggle{display:flex;gap:14px;justify-content:space-between;align-items:center;font-size:12px;border-bottom:1px solid var(--line);padding:0 0 13px}.share-toggle small{font-size:10px;line-height:1.7;color:#a69a8a;display:block;margin-top:4px}.share-toggle input{accent-color:var(--theme-accent);width:18px;height:18px;flex-shrink:0}.share-boundary{font-size:10px;line-height:1.9;color:#a69987;background:#f3f0e8;padding:11px;border-radius:8px}.share-buttons{display:grid;gap:9px}.share-buttons button{justify-content:center;min-height:43px}.share-status{font-size:11px;line-height:1.8;color:var(--theme-accent)}.share-saved-image{width:100%;height:auto;border:1px solid var(--line);border-radius:9px}.share-copy-text{width:100%;min-height:180px;border:1px solid var(--theme-line);border-radius:8px;padding:10px;font-size:11px;line-height:1.8}.share-modal .primary:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.share-composer{grid-template-columns:1fr}.share-preview{max-width:340px;width:100%;margin:auto}.share-controls{gap:15px}.share-modal{padding-bottom:35px}.share-toggle{font-size:13px}}
.grid>.stack,.grid>.card,.stack>.card{min-width:0}.daily-scroll{width:100%;max-width:100%}
.daily-detail{border:1px solid var(--theme-line);background:var(--theme-pale);padding:16px;border-radius:12px;margin:2px 0 17px}.daily-selected-date{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.daily-selected-date>span{font-size:14px;font-weight:600;color:var(--theme-ink)}.daily-selected-date>small{font-size:10px;color:#a39788}.daily-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.daily-values small{display:block;color:#a09386;font-size:10px;margin-bottom:3px}.daily-values strong{display:block;font-size:17px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.daily-values>div:first-child strong{color:var(--theme-accent)}.daily-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--theme-line) transparent;padding-bottom:8px;position:relative}.daily-scroll:focus-visible{outline:2px solid var(--theme-line);outline-offset:3px}.daily-bars{display:flex;gap:4px;min-width:100%;width:max-content;padding:5px 5px 0;border-bottom:1px dashed #e8e1d7}.daily-bar{position:relative;flex:0 0 65px;width:65px;height:174px;border-radius:9px 9px 0 0;padding:0;color:#9d9081}.daily-bar:hover,.daily-bar.selected{background:var(--theme-pale)}.daily-bar i{position:absolute;bottom:27px;left:19px;width:27px;height:var(--bar-height);border-radius:5px 5px 0 0;background:var(--theme-ring)}.daily-bar.selected i{background:var(--theme-accent)}.daily-bar.zero i{background:#deddd5}.daily-bar small{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:10px}.daily-bar.selected small{color:var(--theme-accent);font-weight:700}.daily-amount{position:absolute;bottom:calc(34px + var(--bar-height));left:0;right:0;text-align:center;font-size:10px;font-variant-numeric:tabular-nums;color:#8a7c6d;white-space:nowrap}.daily-bar.selected .daily-amount{font-weight:700;color:var(--theme-accent)}.daily-explanation{font-size:10px;color:#a99c8c;line-height:1.8;margin-top:10px}
@media(max-width:400px){.daily-values strong{font-size:14px}.daily-detail{padding:13px}.daily-selected-date>small{font-size:9px}}
.category-create{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.category-create .field{flex:1;min-width:180px}.category-create .primary{min-height:44px;white-space:nowrap}.category-create .error{flex-basis:100%;margin-top:0}
.category-help{font-size:10px;margin-top:8px}.category-section{margin-top:25px}.category-section .card-head{margin-bottom:12px}.category-item{display:flex;gap:7px;align-items:center;flex-wrap:wrap;border:1px solid var(--line);border-radius:10px;padding:9px 8px;font-size:11px;background:#fff;min-width:0}.category-item span:not(.cat-icon){overflow-wrap:anywhere;flex:1;min-width:32px}.category-item .cat-icon{width:25px;height:25px;border-radius:8px}.custom-category{border-color:var(--theme-line);background:var(--theme-pale)}.category-item small{font-size:8px;color:var(--theme-accent);margin-left:auto}.category-empty{font-size:12px;color:#aaa095;border:1px dashed #e6dfd4;background:#faf8f4;padding:20px;border-radius:10px;line-height:1.9}.category-footnote{font-size:10px;line-height:1.8;margin-top:20px}
.theme-choice{padding:13px 8px 11px;min-width:0;background:#faf9f6;border:1.5px solid #ece7e0;border-radius:12px;text-align:center}
.theme-choice.selected{border-color:var(--theme-accent);background:var(--theme-pale);box-shadow:0 0 0 2px var(--theme-soft)}
.theme-swatch{width:47px;height:38px;border-radius:10px;display:grid;place-items:center;margin:0 auto 8px;color:#fff;box-shadow:0 2px 7px #0000000a}
.theme-choice b{display:block;font-size:12px;font-weight:600}.theme-choice small{display:block;font-size:9px;color:#9c9489;line-height:1.5;margin-top:3px}
.theme-choice.selected b{color:var(--theme-ink)}
.theme-card .card-head h2{display:flex;align-items:center;gap:8px}.theme-card .card-head h2 svg{color:var(--theme-accent)}
.refund-association{padding:15px;border:1px solid var(--theme-line);border-radius:10px;background:var(--theme-pale);grid-row:2}
.refund-association select{min-width:0;max-width:100%}.refund-hint{margin-top:9px;font-size:11px;line-height:1.8}.refund-association[hidden]{display:none}
.field select:disabled,.field input:disabled{background:#f3f1ed;color:#8a8278;opacity:1;cursor:not-allowed}
.record-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.wallet-art rect{fill:var(--theme-soft);stroke:var(--theme-ring)}.wallet-art rect:nth-of-type(2){fill:var(--theme-ring)}.wallet-art path{stroke:var(--theme-ring)}.wallet-art circle{fill:var(--theme-accent)}
.brandmark{background:var(--theme-soft);color:var(--theme-accent)}.trend-col i{background:var(--theme-ring)}.modal .primary{background:var(--theme-accent);border-color:var(--theme-accent)}
.nav button[data-nav="record"],.nav button[data-nav="record"].active{background:linear-gradient(135deg,var(--theme-accent),var(--theme-accent));color:#fff;padding:16px 18px;font-size:15px;font-weight:600;box-shadow:0 7px 18px #a74d6826;margin-bottom:12px}
.nav button[data-nav="record"]:hover{background:var(--theme-accent)}
.nav button[data-nav="record"].active:after{background:#fff9}
.record-content>.grid>.stack:first-child>.entry{order:-1}
.entry{border:1.5px solid var(--theme-line);background:linear-gradient(135deg,var(--theme-pale) 0%,#fff 65%);box-shadow:0 8px 30px #b95a7010;scroll-margin-top:24px}
.entry-title{gap:13px}
.entry .spark{height:46px;width:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--theme-second),var(--theme-accent));color:#fff;box-shadow:0 5px 12px #ad536e20}
.entry-title h2{font-size:23px;letter-spacing:1px;color:var(--theme-ink)}
.entry-subtitle{font-size:11px;color:var(--theme-ink);margin-top:1px}
.entry .tag{background:var(--theme-soft);color:var(--theme-accent);border:0;padding:5px 9px}
.entry textarea{background:#fff;border-color:var(--theme-line);font-size:13px;min-height:104px;margin-top:18px}
.entry textarea:focus{box-shadow:0 0 0 3px var(--theme-soft);border-color:var(--theme-line)}
.entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}
.entry-actions .lightbtn{justify-content:center;border-color:var(--theme-line);color:var(--theme-ink);background:#fff;padding:10px}
.entry-actions .primary{grid-column:1/-1;width:100%;min-height:48px;font-size:15px;font-weight:600;letter-spacing:1px;background:linear-gradient(110deg,var(--theme-second),var(--theme-accent));border:0;box-shadow:0 5px 14px #b4597729;margin:2px 0 0;gap:13px;border-radius:11px}
.entry-actions .primary:hover{background:linear-gradient(110deg,var(--theme-accent),var(--theme-accent));box-shadow:0 7px 20px #b4597740}
@media(max-width:600px){
 .entry{padding:21px;border-radius:18px;border-width:1.5px}
 .entry-title h2{font-size:22px}.entry-title{gap:10px}.entry .spark{width:42px;height:42px;border-radius:13px}.entry-subtitle{font-size:10px}.entry .tag{font-size:9px;padding:4px 7px}
 .entry-actions .primary{font-size:16px;min-height:50px}.entry-actions .lightbtn{font-size:12px;padding:11px 8px}.entry textarea{min-height:100px;font-size:12px}
 .bottomnav{align-items:flex-end;padding-top:10px}
 .bottomnav button[data-nav="record"]{color:var(--theme-accent);font-weight:600;position:relative;margin-top:-31px;gap:0;min-width:68px}
 .bottomnav button[data-nav="record"] svg,.bottomnav button[data-nav="record"].active svg{width:59px;height:59px;padding:15px;color:white;background:linear-gradient(135deg,var(--theme-second),var(--theme-accent));border:5px solid #fbf9f5;border-radius:22px;box-shadow:0 3px 14px #a74d6833;stroke-width:2.4}
 .bottomnav button[data-nav="record"] span{font-size:11px;margin-top:2px}
 .bottomnav button:not([data-nav="record"]){padding-bottom:3px}
}
