:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#252c3d;background:#f6f8fc;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #96a4f9;outline-offset:3px}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid #e9ecf3;padding:30px 18px 22px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 45px}.brand-mark{display:grid;place-items:center;background:#6759e8;color:#fff;width:39px;height:39px;border-radius:13px;font-size:25px;box-shadow:0 7px 16px #6551db2b}.brand b{display:block;font-size:17px;letter-spacing:1px}.brand small{display:block;font-size:9px;letter-spacing:1.8px;color:#a5a8bb;margin-top:3px}.sidebar-label{color:#a5acbb;font-size:11px;font-weight:800;letter-spacing:1.6px;padding:0 14px 13px}.nav-list{display:grid;gap:5px}.nav-link{padding:13px 14px;border-radius:12px;display:flex;align-items:center;gap:12px;color:#747c91;font-size:13px;font-weight:650}.nav-link:hover,.nav-link.active{background:#efedff;color:#6655e5}.nav-symbol{font-size:19px;line-height:1;width:23px;text-align:center}.sidebar-note{margin-top:auto;padding:21px 17px 14px;border-radius:17px;background:linear-gradient(150deg,#f0edff,#eaf6ff);color:#4c4e92}.note-star{display:block;color:#7766e5;font-size:21px;margin-bottom:10px}.sidebar-note strong{font-size:14px;line-height:1.7}.sidebar-note p{font-size:11px;color:#8486a7;line-height:1.7}.sidebar-foot{font-size:10px;text-align:center;color:#b1b7c5;padding-top:22px}.workspace{min-width:0}.topbar{height:74px;border-bottom:1px solid #eaedf3;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 38px}.breadcrumb{font-size:12px;color:#a4aabc}.breadcrumb span{padding:0 11px;color:#c7cbd8}.breadcrumb strong{color:#4e566b}.top-actions{display:flex;align-items:center;gap:8px;color:#9299aa;font-size:12px}.online-dot,.stat-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#46cba8}.avatar{display:grid;place-items:center;background:#f1edff;color:#7764e3;font-size:14px;border-radius:50%;width:34px;height:34px;margin-left:18px;font-weight:bold}main{max-width:1230px;margin:auto;padding:38px 38px 10px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}.kicker,.section-eyebrow{font-size:10px;font-weight:850;letter-spacing:2px;color:#8e7cec}.page-heading h1{font-size:31px;margin:8px 0 6px;letter-spacing:.5px}.wave{font-size:22px;color:#b09cf6}.page-heading p{font-size:13px;color:#959bae;margin:0;line-height:1.7}.month-control{background:#fff;border:1px solid #e7eaf1;border-radius:12px;padding:9px 13px;display:flex;align-items:center;gap:14px;box-shadow:0 3px 12px #202b5010}.month-control label{white-space:nowrap;font-size:12px;font-weight:700;color:#7a8195}.month-control input{border:0;color:#4e5270;outline:none;background:transparent;max-width:151px;font-size:13px}.welcome-card{border-radius:22px;background:linear-gradient(118deg,#6556df 0%,#826de8 50%,#a391f5 100%);min-height:221px;display:flex;overflow:hidden;position:relative;color:white;box-shadow:0 17px 28px #6554ce23}.welcome-content{z-index:1;padding:28px 38px}.welcome-label{font-size:10px;font-weight:700;letter-spacing:1.3px;color:#e7dcff}.sparkle{font-size:16px;margin-right:5px}.welcome-card h2{font-size:29px;line-height:1.4;letter-spacing:1px;margin:10px 0 6px}.welcome-card h2 em{font-style:normal;color:#e5dbff}.welcome-card p{font-size:12px;color:#e4defe;margin:0 0 18px}.welcome-button{display:inline-flex;align-items:center;gap:27px;background:#fff;color:#6959dc;font-size:11px;font-weight:800;padding:10px 15px;border-radius:9px}.welcome-button span{font-size:17px}.hero-art{position:absolute;right:9%;top:0;width:310px;height:100%}.hero-disc{position:absolute;border-radius:50%}.disc-back{width:195px;height:195px;top:22px;left:50px;background:#b2a5ff66;border:1px solid #ffffff55}.disc-front{width:147px;height:147px;top:46px;left:75px;background:linear-gradient(140deg,#ffdf97,#f2ac7f);box-shadow:10px 13px 0 #ffffff30,0 15px 35px #44329d55;border:8px solid #ffe4ad;display:grid;place-items:center;transform:rotate(-17deg)}.hero-glyph{font-size:100px;font-weight:850;line-height:1;color:#ed9570;text-shadow:2px 3px #ffe7aa}.hero-spark{position:absolute;color:#fff0ab}.star-one{left:25px;top:40px;font-size:27px}.star-two{right:13px;bottom:35px;font-size:34px}.hero-float{position:absolute;right:-22px;top:25px;border:1px solid #ffffff80;border-radius:12px;padding:10px 13px;background:#ffffff30;backdrop-filter:blur(8px);font-size:17px}.hero-float small{font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.stat-card,.surface{background:white;border:1px solid #e9ebf2;border-radius:18px;box-shadow:0 4px 19px #1c285008}.stat-card{padding:21px 24px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:#878da1}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-size:23px}.income-icon{background:#e8f9f4;color:#2abd95}.expense-icon{background:#fff1ea;color:#ed9e72}.balance-icon{background:#eae9ff;color:#7667e8}.stat-card strong{font-size:clamp(21px,2.3vw,29px);display:block;margin:12px 0 11px;letter-spacing:-1px;overflow-wrap:anywhere}.stat-bottom{font-size:11px;color:#a2a7b5;display:flex;align-items:center;gap:7px}.stat-dot.orange{background:#efa46f}.balance-card{background:#faf9ff;border-color:#e9e5ff}.balance-card strong{color:#6859dc}.main-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}.surface{min-width:0;padding:25px}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:23px}.section-heading h2,.transactions h2{font-size:19px;letter-spacing:.1px;margin:7px 0 6px}.section-heading p,.transactions-header p{font-size:12px;line-height:1.6;color:#9ca2b2;margin:0}.section-icon{width:37px;height:37px;border-radius:11px;background:#f3f0ff;color:#8a74e9;display:grid;place-items:center;font-size:23px}.type-toggle{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:5px;background:#f6f7fb;border-radius:11px;margin-bottom:21px}.type-button{background:transparent;color:#9299a8;border:0;border-radius:8px;padding:11px;font-weight:750;font-size:13px}.type-button.selected{background:#fff;color:#725fe5;box-shadow:0 2px 7px #1823481c}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 12px}.field{font-weight:700;font-size:12px;color:#686f80;display:block;min-width:0}.field.full{grid-column:span 2}.field input,.field select{display:block;width:100%;padding:12px 13px;margin-top:9px;background:#fbfcff;border:1px solid #e6e9f0;border-radius:10px;outline-color:#afa3ed;color:#353b4c;font-size:13px;min-height:45px}.field input::placeholder{color:#b4b9c6}.submit-button{margin-top:22px;background:#6958e1;color:white;display:flex;align-items:center;justify-content:center;gap:17px;border:0;border-radius:11px;width:100%;font-size:13px;font-weight:800;padding:13px 16px;box-shadow:0 9px 18px #6958e129}.submit-button:hover{background:#5b4bcc}.submit-button span{font-size:17px}.form-message{min-height:16px;color:#319a7f;font-size:12px;margin:10px 0 0}.donut-area{display:grid;place-items:center;margin:-5px 0 22px}.donut{width:min(208px,62vw);height:min(208px,62vw);border-radius:50%;display:grid;place-items:center;background:conic-gradient(#e9e8f0 0 100%);position:relative}.donut-inner{height:70%;width:70%;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;box-shadow:0 0 0 3px #ffffff66}.donut-inner span{font-size:11px;color:#a3a6b5}.donut-inner strong{font-size:19px;letter-spacing:-.5px}.category-legend{display:grid;gap:10px;min-height:68px}.legend-row{display:grid;grid-template-columns:9px 1fr auto auto;gap:9px;align-items:center;font-size:12px;color:#777e91}.legend-dot{width:9px;height:9px;border-radius:50%}.legend-row strong{font-size:12px;color:#44495b}.legend-row .pct{color:#a4a8b6;width:38px;text-align:right}.empty-chart{text-align:center;color:#a0a5b6;font-size:12px;line-height:1.8;padding:10px 0}.transactions{margin:20px 0 22px}.transactions-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.export-button{border:1px solid #e5e1fb;background:#f5f2ff;color:#7363d9;border-radius:10px;padding:11px 15px;font-size:12px;font-weight:800;white-space:nowrap}.export-button:hover{background:#eae5ff}.table-tools{display:flex;align-items:center;gap:11px;margin:22px 0 14px}.search-wrap{display:flex;align-items:center;gap:8px;border:1px solid #e8ebf1;border-radius:9px;padding:0 12px;background:#fcfdff;min-width:0;flex:1;max-width:300px}.search-wrap span{font-size:23px;color:#a4aabd}.search-wrap input{border:0;outline:0;width:100%;padding:10px 0;min-width:0;background:transparent;font-size:12px}.table-tools select{background:#fcfdff;padding:10px 12px;border-radius:9px;border:1px solid #e8ebf1;color:#777f90;font-size:12px}.record-count{margin-left:auto;color:#a4a9b7;font-size:12px;white-space:nowrap}.table-scroller{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#f7f8fc}th{font-size:11px;font-weight:750;color:#9ea5b5}th,td{padding:14px 15px;white-space:nowrap;border-bottom:1px solid #eff1f6}th:first-child{border-radius:9px 0 0 9px}th:last-child{border-radius:0 9px 9px 0}td{color:#737b8e}td.item-name{color:#343b4c;font-weight:750}.type-pill{display:inline-block;border-radius:8px;background:#fff0e9;color:#d89062;padding:5px 8px;font-size:11px}.type-pill.income{background:#e8f8f2;color:#229978}.amount-positive{font-weight:800;color:#22a27d}.amount-negative{font-weight:800;color:#d9766c}.delete-button{border:0;border-radius:7px;background:#fff0ef;color:#d57f7c;padding:7px 10px;font-size:11px;font-weight:700}.delete-button:hover{background:#ffe2df}.empty-row{text-align:center!important;padding:30px!important;color:#a0a5b6}footer{font-size:11px;text-align:center;color:#a9afbf;padding:4px 24px 30px}@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.topbar{padding:0 24px}main{padding:29px 24px 10px}.sidebar{padding-left:12px;padding-right:12px}.stat-card{padding:19px}.surface{padding:20px}.hero-art{right:1%}}@media(max-width:900px){.app-shell{display:block}.sidebar{height:auto;min-height:0;position:static;padding:12px 20px;display:block;border-right:0;border-bottom:1px solid #eceef4}.brand{padding:0 0 11px}.sidebar-label,.sidebar-note,.sidebar-foot{display:none}.nav-list{display:flex;overflow:auto;gap:7px}.nav-link{flex-shrink:0;padding:8px 10px;font-size:12px}.nav-symbol{font-size:15px;width:15px}.topbar{height:55px}.hero-art{right:4%}}@media(max-width:700px){main{padding:23px 15px 3px}.topbar{padding:0 17px}.top-actions{font-size:10px}.avatar{margin-left:5px}.page-heading{align-items:start;flex-direction:column;gap:15px}.page-heading h1{font-size:27px}.welcome-card{min-height:226px}.welcome-content{padding:25px 21px}.welcome-card h2{font-size:24px}.hero-art{opacity:.24;right:-112px}.stats-grid{grid-template-columns:1fr;gap:11px;margin:16px 0}.stat-card{padding:15px 19px}.stat-card strong{font-size:25px;margin:5px 0}.stat-top{font-size:12px}.main-grid{grid-template-columns:1fr;gap:15px}.surface{padding:20px 17px}.transactions{margin-top:15px}.transactions-header{align-items:start}.transactions-header h2{font-size:18px}.transactions-header p{max-width:220px}.table-tools{flex-wrap:wrap}.search-wrap{max-width:none;flex-basis:100%}.record-count{margin-left:auto}.form-grid{gap:13px 10px}.field input,.field select{font-size:12px;padding:11px 9px}.hero-float{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
