:root{font-family:'DM Sans','Noto Sans JP',system-ui,-apple-system,sans-serif;font-synthesis:none;color:#21372f;background:#f4f6f0;font-size:14px;--deep:#163d36;--green:#27745d;--mint:#d9efe4;--line:#e4eae1;--gray:#71847a;--surface:#fff;--red:#c2665d;--radius:20px}*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}input,select,textarea{color:#1d352c;background:white;border:1px solid #dce5da;border-radius:11px;padding:11px 12px;width:100%;min-width:0;outline:0}input:focus,select:focus,textarea:focus{border-color:#27745d;box-shadow:0 0 0 3px #27745d1e}input[type=file]{padding:10px;font-size:12px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.app-shell{max-width:920px;margin:0 auto;min-height:100vh;background:#f8faf6;box-shadow:0 0 50px #203e2812}.topbar{height:82px;background:#f8faf6;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid #e8ede5}.brand-wrap{display:flex;gap:12px;align-items:center}.brand-logo{width:43px;height:43px;border-radius:13px;background:var(--deep);color:white;display:grid;place-items:center;font-size:28px;font-weight:800;letter-spacing:-4px;padding-right:5px}.brand-logo span{color:#91d8b6}.brand-name{color:var(--deep);font-size:20px;line-height:1.1;letter-spacing:-.6px;font-weight:800}.brand-name>span{color:#55a57b}.brand-name small{display:block;color:#95a79a;font-size:8px;letter-spacing:1.7px;font-weight:700;margin-top:5px}.icon-btn,.plain-icon{background:transparent;border:0;display:grid;place-items:center;border-radius:12px;color:var(--deep);width:42px;height:42px}.icon-btn{border:1px solid var(--line);background:white}.main-content{padding:26px 26px 126px;max-width:850px;margin:0 auto}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800;color:#7d9b88;margin:0 0 7px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.section-head h1,.page-head h1{font-size:26px;letter-spacing:-1px;font-weight:800;margin:0;color:#1e3d30}.page-head{margin-bottom:22px}.page-head p{margin:8px 0 0;color:var(--gray);font-size:12px;line-height:1.7}.month-switch{display:flex;align-items:center;gap:5px;background:white;border:1px solid var(--line);border-radius:13px;padding:4px}.month-switch strong{min-width:108px;font-size:12px;text-align:center;white-space:nowrap}.month-switch button{background:none;border:0;color:#557564;width:32px;height:30px;border-radius:9px;font-size:22px;line-height:1}.month-switch button:hover,.plain-icon:hover{background:#eef4ed}.hero{padding:25px 27px;background:linear-gradient(125deg,#143b32,#27664e);border-radius:24px;color:white;box-shadow:0 13px 28px #214e3a1c;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;right:-75px;top:-80px;border:44px solid #ffffff0b;width:215px;height:215px;border-radius:100%}.hero .caption{color:#bdd6c7;font-size:11px}.hero-amount{font-size:43px;font-weight:800;letter-spacing:-1.7px;margin:7px 0 20px;font-variant-numeric:tabular-nums;white-space:nowrap}.hero-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #ffffff24;padding-top:17px}.hero-metrics b{display:block;margin-top:5px;font-size:20px;letter-spacing:-.5px}.up-mark{color:#a5e6bb}.down-mark{color:#ffcfac}.main-grid{display:grid;grid-template-columns:1.14fr .86fr;gap:18px;margin-top:19px}.stack{display:grid;gap:18px;align-content:start}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;min-width:0}.panel-title{font-size:15px;font-weight:800;letter-spacing:-.3px;margin:0;color:#213c30}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:10px}.text-action{border:0;background:none;font-size:11px;font-weight:700;color:var(--green);padding:5px}.muted{color:var(--gray)}.small{font-size:11px}.micro{font-size:10px}.empty{padding:25px 10px;text-align:center;color:#829488;font-size:12px;line-height:1.8}.empty svg{width:36px;height:36px;margin:0 auto 10px;display:block;color:#b2c4b5}.donut-row{display:flex;align-items:center;gap:15px}.donut{height:150px;width:150px;min-width:150px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#e1ece3 0 100%)}.donut-hole{width:112px;height:112px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.donut-hole span{color:var(--gray);font-size:10px}.donut-hole strong{color:var(--deep);font-size:20px}.legend{flex:1;display:grid;gap:11px;min-width:0}.legend-line{display:flex;align-items:center;gap:7px;font-size:10px}.legend-line span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-line b{font-size:10px}.dot{width:9px;height:9px;flex-shrink:0;border-radius:4px}.tx-list{display:grid;gap:1px}.tx-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2ec;min-width:0;background:white}.tx-row:last-child{border-bottom:0}.tx-avatar{width:39px;height:39px;flex-shrink:0;border-radius:13px;display:grid;place-items:center;background:#edf3ec;font-size:18px}.tx-main{flex:1;min-width:0}.tx-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2d473a;font-size:12px;font-weight:800}.tx-sub{font-size:10px;color:#93a397;margin-top:4px}.tx-amount{font-weight:800;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.tx-amount.income{color:#27815f}.tx-amount.refund{color:#27815f}.tx-amount.expense{color:#35463b}.tx-row.interactive{cursor:pointer}.tx-row.interactive:hover{background:#fbfcf8}.account-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2ec}.account-row:last-child{border:0}.account-icon{width:40px;height:40px;display:grid;place-items:center;background:#f0f4ed;border-radius:13px;font-size:19px}.account-name{flex:1;font-size:12px;font-weight:700}.account-balance{font-weight:800;font-size:14px}.budget-track{height:9px;background:#ebf2e9;border-radius:10px;overflow:hidden;margin:13px 0 9px}.budget-fill{background:linear-gradient(90deg,#4ba17e,#87ca91);height:100%;border-radius:10px}.budget-fill.over{background:var(--red)}.budget-flex{display:flex;justify-content:space-between;font-size:11px;color:var(--gray)}.btn{border:0;border-radius:12px;padding:11px 17px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px}.btn svg{width:17px;height:17px}.btn.primary{color:white;background:var(--green)}.btn.dark{color:white;background:var(--deep)}.btn.light{background:#edf4ed;color:var(--deep)}.btn.danger{color:#a23f3d;background:#fff0ed}.btn.outline{color:var(--deep);background:white;border:1px solid var(--line)}.btn.wide{width:100%}.btn:hover{filter:brightness(.97)}.action-row{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:13px}.toolbar input{flex:2;min-width:125px}.toolbar select{flex:1;min-width:100px}.list-surface{background:white;padding:4px 17px;border:1px solid var(--line);border-radius:18px}.date-group{font-size:11px;font-weight:800;color:#829788;padding:17px 0 2px}.stat-triplet{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:17px}.stat-card{padding:16px;background:#fff;border-radius:16px;border:1px solid var(--line)}.stat-card span{color:var(--gray);font-size:10px}.stat-card b{display:block;margin-top:6px;font-size:18px;overflow-wrap:anywhere}.bars{display:flex;align-items:flex-end;gap:9px;height:194px;padding:10px 0 27px;border-bottom:1px solid #e6eae2}.bar-slot{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;height:100%;position:relative}.bar-pair{flex:1;width:100%;display:flex;align-items:end;justify-content:center;gap:3px}.bar{width:40%;border-radius:7px 7px 1px 1px;min-height:0}.bar.exp{background:#e5aa85}.bar.inc{background:#55a582}.bar-label{font-size:10px;color:#7c9283;position:absolute;bottom:-23px;white-space:nowrap}.bar-legend{margin-top:30px;display:flex;gap:18px;justify-content:center;font-size:11px;color:var(--gray)}.bar-legend span{display:flex;align-items:center;gap:5px}.cat-row{padding:10px 0;border-bottom:1px solid #eff2ed}.cat-row:last-child{border:0}.cat-row-head{display:flex;justify-content:space-between;gap:8px;font-size:11px}.cat-row-head b{white-space:nowrap}.cat-track{height:5px;background:#f0f3ee;border-radius:10px;margin-top:8px}.cat-fill{height:100%;border-radius:10px}.setting-list{display:grid;gap:18px}.field{display:grid;gap:7px;min-width:0}.field label{font-size:11px;font-weight:800;color:#50695a}.field-help{color:#829388;font-size:10px;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid .full{grid-column:1 / -1}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;flex-wrap:wrap}.pills{display:flex;gap:6px;padding:4px;background:#edf2ec;border-radius:13px}.pill{flex:1;border:0;background:transparent;color:#667e6d;padding:10px 9px;border-radius:10px;font-size:12px;font-weight:800}.pill.active{background:white;box-shadow:0 1px 4px #173d311e;color:var(--deep)}dialog{position:fixed;border:0;padding:0;border-radius:22px;width:min(520px,calc(100vw - 24px));max-height:min(90dvh,800px);overflow:auto;box-shadow:0 25px 80px #12251a48;color:#234132}dialog::backdrop{background:#102a22a0;backdrop-filter:blur(2px)}.dialog-inner{padding:24px}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.dialog-header h2{font-size:20px;letter-spacing:-.5px;margin:0}.close-btn{background:#f2f6f0;border:0;border-radius:50%;height:32px;width:32px;font-size:20px;color:#476053}.dialog-content-copy{font-size:12px;line-height:1.8;color:#6f8173}.fab{position:fixed;bottom:100px;right:max(20px,calc((100vw - 920px)/2 + 25px));width:54px;height:54px;background:#25765a;border:0;border-radius:18px;display:grid;place-items:center;box-shadow:0 8px 18px #195b3a55;color:white;z-index:6}.fab svg{width:26px;height:26px;stroke-width:2.5}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,920px);display:grid;grid-template-columns:repeat(5,1fr);height:80px;padding-bottom:env(safe-area-inset-bottom);background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #e7eee5;z-index:5}.nav-btn{background:none;border:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#98a69b;font-size:10px;font-weight:700}.nav-btn svg{width:22px;height:22px}.nav-btn.active{color:var(--green)}.toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,25px);background:#1f4536;color:white;max-width:calc(100vw - 34px);border-radius:12px;padding:12px 18px;z-index:100;opacity:0;pointer-events:none;transition:.2s;font-size:12px;box-shadow:0 6px 20px #192d2140}.toast.show{opacity:1;transform:translate(-50%,0)}.import-step{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.preview-table-wrap{overflow:auto;width:100%;border:1px solid var(--line);border-radius:12px}.preview-table{border-collapse:collapse;font-size:11px;width:100%;white-space:nowrap}.preview-table th,.preview-table td{padding:9px 10px;border-bottom:1px solid #e9ede6;text-align:left;max-width:260px;overflow:hidden;text-overflow:ellipsis}.preview-table th{background:#f1f5f0;color:#546f5e}.hint-box{font-size:11px;line-height:1.8;color:#54725e;background:#eff6ee;border-radius:12px;padding:13px}.warning{color:#994a44;background:#fff1eb}.chip{font-size:9px;font-weight:800;color:#477055;background:#edf4e9;padding:4px 7px;border-radius:6px;white-space:nowrap}.separator{height:1px;background:#e6ebe4;margin:17px 0}.switch-line{display:flex;align-items:center;gap:9px;font-size:11px}.switch-line input{width:auto}.file-name{font-size:11px;font-weight:700;color:var(--green);padding:8px 0}.inset{padding:13px;background:#f7faf5;border-radius:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:690px){.topbar{height:69px;padding:0 18px}.main-content{padding:20px 15px 140px}.section-head{flex-wrap:wrap;align-items:center;gap:10px}.section-head .month-switch{margin-left:auto}.section-head h1,.page-head h1{font-size:22px}.main-grid{grid-template-columns:1fr;gap:15px;margin-top:15px}.stack{gap:15px}.hero{padding:22px}.hero-amount{font-size:37px}.panel{padding:17px}.form-grid{gap:11px}.stat-triplet{gap:6px}.stat-card{padding:12px}.stat-card b{font-size:15px}.donut{width:130px;min-width:130px;height:130px}.donut-hole{width:97px;height:97px}.donut-hole strong{font-size:17px}.dialog-inner{padding:18px}.month-switch strong{min-width:91px}.fab{bottom:92px}.bottom-nav{height:75px}.toolbar select{min-width:91px}}@media(max-width:370px){.main-content{padding:17px 11px 135px}.hero-amount{font-size:32px}.hero-metrics b{font-size:17px}.donut{width:112px;min-width:112px;height:112px}.donut-hole{width:82px;height:82px}.donut-hole strong{font-size:14px}.legend-line{font-size:9px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}

[hidden]{display:none!important}
