@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#fffaf3;--paper:#fffefb;--cream:#fff4e4;--ink:#51382f;--muted:#a28f85;--orange:#ec9158;--orange-deep:#d77b44;--peach:#ffe3cf;--brown:#694637;--line:#f2e7db;--yellow:#f8d785;--pink:#f7bcb2;--shadow:0 10px 32px rgba(107,73,43,.055)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:'DM Sans','Noto Sans TC',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e9ac7e;outline-offset:3px}a{color:inherit;text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{width:254px;background:#fffdf9;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:36px 21px 25px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-1.1px;line-height:1}.brand-icon{background:#f3a471;color:white;border-radius:17px;display:grid;place-items:center;width:39px;height:39px;font-size:26px;transform:rotate(-12deg);flex-shrink:0}.brand-accent{color:var(--orange)}.brand small{display:block;color:#b5a49a;font-size:10px;font-weight:600;letter-spacing:1px;margin-top:7px}.sidebar-section{font-size:11px;color:#b4a398;letter-spacing:1.2px;margin:69px 13px 17px;font-weight:800}.nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:14px;border-radius:13px;padding:14px 18px;color:#8c7569;font-weight:700}.nav-link>span{font-size:23px;width:23px;line-height:1}.nav-link:hover,.nav-link.active{background:#fff0df;color:#c66d3d}.sidebar-bottom{background:#fff2df;border-radius:19px;padding:23px 20px;margin-top:auto;position:relative}.mascot-mini{background:#f6bc86;border-radius:100%;height:53px;width:53px;display:grid;place-items:center;font-size:17px;margin:-42px auto 12px;transform:rotate(-8deg)}.sidebar-bottom b{display:block;text-align:center}.sidebar-bottom p{font-size:12px;color:#9b8173;line-height:1.8;text-align:center;margin:9px 0}.text-link,.small-link,.danger-link{border:0;background:none;color:#cb7950;font-weight:800;padding:4px}.text-link{display:block;margin:auto;font-size:12px}.sidebar-credit{text-align:center;color:#bdafa5;font-size:9px;letter-spacing:1px;margin-top:21px}.main-column{margin-left:254px;min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 52px;display:flex;align-items:center;justify-content:space-between;background:#fffdf9}.breadcrumb{color:#a38f83;font-size:12px}.breadcrumb span{padding:0 10px;color:#d5c6bb}.breadcrumb strong{color:#674d3e}.top-actions{display:flex;align-items:center;gap:17px}.local-pill{font-size:11px;background:#f5f4eb;border-radius:20px;padding:10px 13px;color:#8d8d74;font-weight:700}.icon-btn{border:1px solid #ead9c7;color:#af8c77;background:transparent;border-radius:100%;width:32px;height:32px;font-weight:900}.mobile-logo{display:none}main{width:min(1230px,100%);padding:47px 52px 65px;margin:0 auto;flex:1}.page{display:none}.page.active{display:block}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.eyebrow{color:#df956d;letter-spacing:2px;font-weight:800;font-size:10px;margin-bottom:10px}.section-heading h1{font-size:32px;letter-spacing:-1.3px;margin:0 0 9px;font-weight:900}.section-heading p{color:#a8968a;margin:0;font-size:13px}.wavy{font-size:29px;color:#e6aa7b;margin-left:7px}.primary-btn{border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:800;padding:14px 22px;box-shadow:0 5px 0 #d68151;transition:transform .15s,box-shadow .15s;white-space:nowrap}.primary-btn:hover{background:#e68b54;transform:translateY(-2px)}.primary-btn:active{transform:translateY(4px);box-shadow:none}.dashboard-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:16px}.date-toolbar{display:flex;align-items:center;gap:12px}.date-toolbar label{color:#8c756a;font-weight:700;font-size:12px}.date-toolbar input{background:var(--paper);border:1px solid var(--line);color:#77594b;padding:9px 12px;border-radius:10px;font-weight:700}.tagline{color:#ae9e92;font-size:11px}.hero-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:20px}.hero-card{background:#f3a06a;color:#fff;border-radius:22px;padding:30px 33px;position:relative;overflow:hidden;min-height:220px;display:flex;align-items:center}.hero-copy{z-index:1;position:relative}.small-label{letter-spacing:2px;font-size:11px;font-weight:800;opacity:.86}.hero-amount{font-size:43px;font-weight:900;margin:16px 0 17px;letter-spacing:-2px}.hero-footer{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.hero-dot{background:#fff;width:7px;height:7px;border-radius:100%}.hero-illustration{position:absolute;right:20px;top:0;height:100%;width:230px}.orbit{position:absolute;border:1.5px solid rgba(255,255,255,.23);border-radius:100%;width:220px;height:220px;top:0;right:0}.orbit.two{width:155px;height:155px;right:33px;top:32px}.wallet{position:absolute;background:#a65b3c;border:5px solid #804a32;width:138px;height:91px;border-radius:18px;right:35px;top:76px;transform:rotate(-13deg);box-shadow:9px 10px 0 rgba(121,73,46,.15)}.wallet-flap{background:#fbd39c;position:absolute;width:66px;height:38px;border:5px solid #804a32;border-radius:11px;right:-15px;top:22px}.wallet-dot{width:9px;height:9px;background:#925c3d;border-radius:50%;position:absolute;right:5px;top:35px}.coin{position:absolute;background:#ffdb91;border:4px solid #fff0cb;color:#b97b3f;border-radius:100%;display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:2px 5px 0 #d08b4d}.coin-a{width:59px;height:59px;top:26px;right:83px;transform:rotate(-20deg)}.coin-b{width:37px;height:37px;top:58px;right:14px;font-size:14px}.star{position:absolute;color:#fff0c9;font-size:26px}.star-1{top:31px;right:166px}.star-2{bottom:25px;right:10px}.budget-card,.stat-card,.panel{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:20px}.budget-card{padding:27px 29px}.card-top{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:16px}.mini-icon{color:#e4a879;font-size:26px}.muted{color:#a7968a;font-size:12px;line-height:1.8}.budget-card .muted{margin:6px 0 26px}.budget-num{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.budget-num strong{font-size:27px;letter-spacing:-1px}.budget-num span{font-size:11px;color:#a38d80}.progress-track{height:10px;background:#f5e9dc;border-radius:20px;overflow:hidden;margin-top:15px}.progress-fill{height:100%;width:0;background:#e9a067;transition:width .35s;border-radius:20px}.progress-fill.over{background:#d66f67}.budget-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.budget-card-bottom small{font-size:11px;color:#a49387}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0 23px}.stat-card{padding:21px;display:flex;align-items:center;gap:15px}.stat-icon{width:49px;height:49px;flex-shrink:0;border-radius:15px;display:grid;place-items:center;font-weight:900;font-size:24px}.stat-icon.peach{background:#ffecdc;color:#e58f62}.stat-icon.yellow{background:#fff4cd;color:#d2a34d}.stat-icon.pink{background:#ffe7e5;color:#e39b9b}.stat-card div{display:flex;flex-direction:column;min-width:0}.stat-label{color:#a38e82;font-size:11px;font-weight:600}.stat-card strong{font-size:20px;letter-spacing:-.6px;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card small{color:#b6a89e;font-size:10px}.content-grid,.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:21px}.panel{padding:27px 29px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.panel h2{font-size:17px;margin:0;letter-spacing:-.4px}.panel-deco{font-size:26px;color:#eccaa6}.chart-content{display:flex;align-items:center;gap:27px;min-height:220px}.donut{width:205px;height:205px;border-radius:100%;background:#f3e7d8;display:grid;place-items:center;flex-shrink:0;position:relative}.donut-inner{width:129px;height:129px;background:var(--paper);border-radius:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-inner small{font-size:10px;color:#a38e82}.donut-inner strong{font-size:21px;margin-top:5px}.legend{display:grid;gap:12px;flex:1;min-width:0}.legend-line{display:flex;align-items:center;gap:8px;font-size:11px;color:#8d786a}.legend-dot{width:10px;height:10px;border-radius:4px;flex-shrink:0}.legend-line b{font-weight:700;margin-left:auto;color:var(--ink)}.bars{height:194px;display:flex;align-items:end;justify-content:space-around;gap:7px;padding:20px 3px 0;border-bottom:1px solid #f0e7dc}.bar-unit{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:9px;min-width:0}.bar{background:#f6c29b;border-radius:6px 6px 0 0;width:min(26px,85%);min-height:3px;transition:height .3s;position:relative}.bar.highlight{background:#e88e58}.bar-unit small{font-size:9px;color:#ad9889;margin-bottom:-18px}.chart-note{font-size:11px;color:#b5a398;margin-top:32px}.recent-panel{margin-top:5px}.record-list{display:grid}.record{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #f5ece2}.record:last-child{border-bottom:none}.record-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;font-size:20px}.record-info{flex:1;min-width:0}.record-info b{font-size:13px;display:block;overflow-wrap:anywhere}.record-info small{color:#ad9a8e;font-size:10px;display:block;margin-top:5px;overflow-wrap:anywhere}.record-amount{font-weight:900;font-size:14px;white-space:nowrap}.record-actions{display:flex;gap:5px}.record-actions button{border:0;background:#fff5ea;color:#b58a6b;border-radius:8px;width:27px;height:27px}.record-actions button:hover{background:#ffe1cb}.empty-state{text-align:center;padding:37px 10px;color:#ae9c90;font-size:12px}.empty-state .empty-icon{font-size:43px;margin-bottom:12px}.records-panel{padding:26px}.filter-row{display:flex;gap:12px}.search-wrap{position:relative;flex:1}.search-wrap span{position:absolute;left:14px;top:10px;font-size:22px;color:#ad9584}.search-wrap input,.filter-row select{height:43px;border:1px solid #eadfd1;background:#fffdf9;border-radius:10px;color:#634a3e}.search-wrap input{padding:0 16px 0 40px;width:100%}.filter-row select{padding:0 14px;min-width:140px}.outline-btn,.ghost-btn{border:1px solid #ecd5c2;border-radius:11px;padding:11px 17px;background:#fff9f1;color:#b4724d;font-weight:800}.outline-btn:hover,.ghost-btn:hover{background:#ffeada}.filter-caption{font-size:12px;color:#a99689;margin:23px 0 3px}.full-records .record{padding:17px 2px}.bottom-tools{display:flex;align-items:center;justify-content:space-between;margin-top:25px}.danger-link{color:#c78d8b}.report-hero{background:#f6e5ce;border-radius:23px;padding:37px 42px;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;min-height:240px}.report-label{color:#bb8659;font-size:11px;letter-spacing:2px;font-weight:900}.report-hero h2{font-size:30px;margin:15px 0 10px}.report-hero p{color:#957665;line-height:1.9;max-width:530px}.report-tag{display:inline-block;background:#fffaf2;color:#aa7454;border-radius:100px;padding:8px 15px;font-size:12px;font-weight:800;margin-top:7px}.report-avatar{font-size:95px;background:#ffe9cd;width:185px;height:185px;border-radius:100%;display:grid;place-items:center;transform:rotate(-10deg);flex-shrink:0}.report-grid .panel{min-height:260px}.report-grid .panel h2{margin-bottom:23px}.rank-item{display:flex;align-items:center;gap:11px;margin:16px 0}.rank-num{background:#f9eddd;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;color:#c28d6a;font-weight:900}.rank-detail{flex:1}.rank-title{display:flex;justify-content:space-between;margin-bottom:7px;font-size:12px}.rank-track{height:7px;background:#f5ebdf;border-radius:8px;overflow:hidden}.rank-fill{height:100%;border-radius:8px}.notes-list{display:grid;gap:14px}.note{background:#fff7eb;border-radius:12px;padding:14px 16px;display:flex;align-items:start;gap:12px;font-size:12px;line-height:1.8;color:#796054}.note>span{font-size:22px}.tip-card{background:#fff1e4;padding:21px 25px;border-radius:18px}.tip-card span{font-weight:900;color:#b9744f}.tip-card p{color:#9e8372;font-size:12px;line-height:1.9;margin-bottom:0}footer{text-align:center;padding:26px 10px;border-top:1px solid var(--line);color:#bda99a;font-size:10px}.mobile-nav{display:none}.modal{border:0;border-radius:22px;box-shadow:0 25px 90px #4e352d40;padding:30px;width:min(520px,calc(100% - 28px));max-height:90vh;overflow:auto;color:var(--ink);background:#fffefa}.modal::backdrop{background:#452f26a3;backdrop-filter:blur(3px)}.modal.narrow{width:min(430px,calc(100% - 28px))}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:18px}.modal-head h2{font-size:23px;margin:0}.close-btn{border:0;background:#fff0e4;border-radius:100%;width:32px;height:32px;font-size:22px;color:#aa7c60}.modal label{display:block;font-size:12px;font-weight:800;margin:17px 0 8px}.modal label span{color:#d97958}.modal input,.modal select,.modal textarea{width:100%;border:1px solid #e9ddcf;background:#fffaf3;border-radius:10px;padding:11px 13px;color:#584137;outline-color:#eaa578}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.modal-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:27px}.form-error{color:#c95e58;font-size:12px;min-height:14px}.howto{padding-left:24px}.howto li{padding:6px 0}.howto li::marker{color:#e89b61;font-weight:900}.howto b{font-size:13px}.howto p{font-size:12px;color:#9b8473;line-height:1.7;margin:4px 0}.privacy-note{background:#fff1e3;padding:14px 15px;border-radius:12px;font-size:11px;line-height:1.8;color:#90735f;margin:17px 0}.full-width{width:100%}.toast{position:fixed;bottom:30px;right:30px;background:#634435;color:#fff;padding:13px 22px;border-radius:12px;box-shadow:var(--shadow);z-index:40;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}@media(max-width:1200px){.sidebar{width:220px}.main-column{margin-left:220px}.topbar{padding:0 30px}main{padding:35px 30px 65px}.chart-content{gap:14px}.donut{width:165px;height:165px}.donut-inner{width:103px;height:103px}.legend-line{font-size:10px}.hero-illustration{opacity:.7}}@media(max-width:950px){.hero-grid{grid-template-columns:1fr}.stat-grid{gap:10px}.stat-card{padding:15px;gap:9px}.stat-card strong{font-size:16px}.content-grid{grid-template-columns:1fr}.chart-content{justify-content:center;gap:45px}.hero-illustration{opacity:1}}@media(max-width:700px){.sidebar{display:none}.main-column{margin:0}.topbar{height:60px;padding:0 18px}.breadcrumb{display:none}.mobile-logo{display:block;font-size:17px;font-weight:900}.mobile-logo span{color:var(--orange)}.local-pill{font-size:9px;padding:7px}.top-actions{gap:8px}main{padding:30px 17px 90px}.section-heading{align-items:start;flex-direction:column;gap:18px;margin-bottom:25px}.section-heading h1{font-size:27px}.section-heading .primary-btn{width:100%}.dashboard-toolbar{align-items:start;flex-direction:column}.tagline{font-size:10px}.hero-card{padding:27px;min-height:194px}.hero-amount{font-size:34px}.hero-illustration{transform:scale(.76);transform-origin:right center;right:0}.budget-card{padding:22px}.stat-grid{grid-template-columns:repeat(2,1fr)}.stat-card:last-child{grid-column:span 2}.content-grid,.report-grid{grid-template-columns:1fr}.panel{padding:22px}.chart-content{gap:18px}.donut{width:160px;height:160px}.donut-inner{width:101px;height:101px}.donut-inner strong{font-size:16px}.legend-line{font-size:10px}.filter-row{flex-wrap:wrap}.search-wrap{flex-basis:100%}.filter-row select,.filter-row .outline-btn{flex:1}.report-hero{padding:27px;min-height:0}.report-hero h2{font-size:23px}.report-avatar{font-size:50px;width:90px;height:90px}.report-hero p{font-size:12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fffdf9;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:9px 6px max(9px,env(safe-area-inset-bottom));z-index:8}.mobile-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;background:none;border:0;color:#9c8478;font-size:20px;width:33%;font-weight:900}.mobile-nav button span{font-size:10px}.mobile-nav button.active{color:var(--orange-deep)}.toast{bottom:85px;right:15px;left:15px;text-align:center}.record-actions button{width:25px}.record-icon{width:37px;height:37px}.record-amount{font-size:12px}footer{padding-bottom:100px}.modal{padding:22px}.modal-actions .primary-btn{padding:12px}.two-col{gap:8px}}@media print{.sidebar,.topbar,.mobile-nav,.section-heading>button,.bottom-tools,.tip-card,footer{display:none!important}.main-column{margin:0}main{padding:0}.page{display:none!important}#insights{display:block!important}.report-hero,.panel{break-inside:avoid}}
