:root{color-scheme:dark;--bg:#101113;--surface:#151619;--raised:#1c1e21;--line:#2b2d31;--text:#eeeFEB;--muted:#a2a5ad;--dim:#8d929c;--gold:#c4a775;--green:#96bea9;--red:#d49a91;--blue:#94a9c8;--purple:#ada3c5;font-family:'PingFang SC','Microsoft YaHei',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:active:not(:disabled){transform:translateY(1px)}button,a{transition:background .16s ease,color .16s ease}::selection{background:#7b653d;color:white}input,textarea{caret-color:var(--gold)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#44474d;border-radius:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.rail{position:fixed;inset:0 auto 0 0;width:76px;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:23px 10px 18px;background:#121315;z-index:6}.brand{height:64px;display:flex;align-items:flex-start;justify-content:center}.brand img{width:27px;height:37px;object-fit:contain;filter:brightness(0) invert(.88)}.rail-links{display:grid;gap:12px;margin-top:32px;width:100%}.nav-item{border:0;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);padding:10px 4px;border-radius:8px;width:100%;font-size:12px;line-height:1.4}.nav-item svg{width:21px;height:21px}.nav-item.active,.nav-item:hover{background:#242629;color:var(--text)}.rail-assistant{margin-top:auto;margin-bottom:8px}.avatar{margin-top:22px;background:#35332e;border:1px solid #575044;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;color:#e4d3b6;font-size:13px}.workspace{margin-left:76px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:21px;padding:0 38px}.wordmark{font-family:Georgia,serif;letter-spacing:.15em;font-size:17px;white-space:nowrap}.wordmark span{font-family:inherit;font-size:11px;color:#c7c6c2;letter-spacing:.09em}.top-divider{height:17px;width:1px;background:var(--line)}.breadcrumb{color:var(--muted);font-size:13px;white-space:nowrap}.breadcrumb span{margin:0 15px;color:#71767e}.breadcrumb b{font-weight:400;color:var(--text)}.top-right{margin-left:auto;display:flex;align-items:center;gap:21px}.preview-toggle{background:transparent;border:1px solid #42444a;border-radius:6px;padding:6px 11px;color:#c7c9ce;font-size:12px}.preview-toggle[aria-pressed=true]{color:#e4cca2;border-color:#716044;background:#28241d}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}.connection i,.demo-dot{width:5px;height:5px;background:var(--green);border-radius:50%;display:inline-block}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;width:32px;height:32px;border-radius:6px;color:var(--muted)}.icon-button:hover{background:#292b30;color:var(--text)}main{max-width:1510px;margin:auto;padding:32px 38px 45px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:16px}h1{font-size:26px;font-weight:500;letter-spacing:-.025em;margin:0 0 8px}p{line-height:1.65}h2{font-size:16px;line-height:1.4;font-weight:500;margin:0;letter-spacing:-.015em}.page-heading p{margin:0;color:var(--muted);font-size:13px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:9px 15px;border-radius:6px;font-weight:500;font-size:13px}.primary{background:#eaeae6;color:#171819;border:1px solid #eaeae6}.primary:hover{background:white}.primary svg{width:16px;height:16px}.secondary{background:transparent;border:1px solid #393c42;color:#d1d3d8}.secondary:hover{background:#25272b}.secondary svg{width:16px;height:16px}.filters{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}.seg{display:flex;gap:5px}.seg button{background:transparent;border:0;color:var(--muted);font-size:13px;padding:8px 13px;border-radius:6px}.seg button.selected{background:#27292d;color:var(--text)}.seg button:hover{color:var(--text)}.filter-right{display:flex;align-items:center;gap:17px}.currency{font-size:12px;color:var(--dim)}.month-control{display:flex;align-items:center;gap:7px;font-size:13px}.month-control svg{width:16px;height:16px;color:var(--muted)}select{background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:5px;padding:7px 9px;max-width:100%}.month-control select{border:0;padding-left:0}.notice{margin-bottom:20px;background:#222019;border:1px solid #413b2d;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:7px;font-size:12px;color:#d2c09d}.notice .demo-dot{background:var(--gold);margin-right:8px}.notice button{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.notice svg{width:14px;height:14px}.notice.error{color:#efb6af;background:#291e1d;border-color:#5a3432}.overview-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(265px,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:24px}.hero{padding:26px 28px 16px;min-width:0}.hero-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.metric-label{color:#cbccd0;font-size:13px}.metric-label span{color:var(--dim);margin-left:10px;font-size:12px}.hero-number{font-size:clamp(35px,3.8vw,54px);letter-spacing:-.035em;font-weight:450;line-height:1.3;margin:9px 0 3px;font-variant-numeric:tabular-nums}.hero-number .symbol{color:var(--muted);font-size:.56em;margin-right:8px}.hero-number .decimal{color:var(--muted);font-size:.73em}.hero-caption{font-size:12px;color:var(--muted);min-height:20px}.text-button{border:0;background:none;color:var(--muted);display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:3px 0;white-space:nowrap}.text-button:hover{color:var(--text)}.text-button svg{width:14px;height:14px}.summary-strip{display:flex;gap:36px;margin:26px 0 29px}.summary-strip>div{display:flex;flex-direction:column;gap:9px}.summary-strip span{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:6px}.summary-strip strong{font-size:17px;font-weight:450;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.legend-dot{display:inline-block;width:5px;height:5px;border-radius:50%;flex-shrink:0}.income-dot{background:var(--green)}.expense-dot{background:var(--red)}.saving-dot{background:var(--gold)}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.chart-heading h2{font-size:13px;color:var(--muted)}.chart-controls{display:flex;gap:15px}.chart-controls button{border:0;background:none;color:var(--dim);font-size:12px;padding:2px 0 5px;border-bottom:1px solid transparent}.chart-controls button.selected{color:var(--text);border-color:var(--text)}.chart-canvas{position:relative}.chart-canvas>svg{display:block;width:100%;height:auto;min-height:165px;max-height:265px;stroke:none;overflow:visible}.chart-canvas svg text,.flow-canvas text,.distribution svg text{font-family:inherit;font-size:12px;fill:var(--muted);stroke:none}.chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#c8c9ce;background:#101113a8}.chart-foot{display:flex;justify-content:space-between;color:var(--dim);font-size:12px;margin-top:6px}.budget-panel{border-left:1px solid var(--line);padding:26px 24px 15px;background:#141517;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:23px}.section-heading p{font-size:12px;color:var(--muted);margin:6px 0 0}.budget-panel .section-heading{align-items:center;margin-bottom:22px}.budget-overview{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.budget-overview>span:first-child{font-size:23px;letter-spacing:-.025em}.budget-overview>span:last-child{font-size:12px;color:var(--muted)}.budget-main-meter{margin-top:15px;background:#303035;height:5px;border-radius:4px;overflow:hidden}.budget-main-meter i{display:block;width:100%;height:100%;background:var(--gold);transform:scaleX(0);transform-origin:left}.budget-legend{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:10px}.budget-rows{margin:26px 0 22px;min-height:130px}.budget-item{padding:12px 0;border-bottom:1px solid #282a2e}.budget-item:last-child{border:0}.budget-item>div{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px}.budget-item button{border:0;background:none;padding:0;text-align:left;color:#d7d9dd;font-size:13px;display:flex;align-items:center;gap:8px}.budget-item small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.mini-meter{height:3px;background:#2b2d31;margin-top:11px}.mini-meter i{width:100%;height:100%;display:block;transform-origin:left}.budget-actions{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:16px}.budget-actions button{padding:0;border:0;background:none;color:#c9cbd1;display:flex;align-items:center;gap:5px;font-size:12px}.budget-actions svg{width:14px;height:14px}.panel-note{font-size:12px;color:var(--dim);margin:12px 0 0;line-height:1.6}.middle-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:24px;margin-bottom:24px}.flow-panel,.categories-panel,.fixed-panel,.goals-panel,.transactions-panel{border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0}.subtle-label{color:var(--muted);font-size:12px;white-space:nowrap}.flow-canvas svg{width:100%;height:auto;display:block;stroke:none}.flow-footer{display:flex;gap:19px;justify-content:center;font-size:12px;color:var(--muted);margin-top:11px}.flow-footer span{display:flex;gap:6px;align-items:center}.flow-link{transition:opacity .16s;cursor:pointer}.flow-link:hover{opacity:1!important}.distribution{display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,1fr);gap:14px;align-items:center;min-height:208px}.distribution>svg{width:100%;height:auto;stroke:none}.category-item{display:flex;gap:7px;align-items:center;justify-content:space-between;width:100%;padding:10px 0;border:0;background:none;font-size:12px;text-align:left}.category-item span{display:flex;align-items:center;gap:7px;color:#d0d2d7}.category-item strong{font-weight:400;color:var(--muted)}.category-item:hover span{color:white}.plans-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:24px;margin-bottom:24px}.fixed-row{display:flex;gap:13px;align-items:center;padding:13px 0;border-bottom:1px solid #282a2e}.fixed-row:last-child{border-bottom:0}.due-date{width:42px;flex-shrink:0;text-align:center;color:#c9cbd0;border:1px solid #373a40;border-radius:6px;padding:5px 0;font-size:16px;font-variant-numeric:tabular-nums}.due-date small{font-size:11px;display:block;color:var(--muted);margin-bottom:2px}.fixed-info{min-width:0;flex:1}.fixed-info b{font-weight:450;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.fixed-info span{display:block;color:var(--muted);font-size:12px;margin-top:5px}.fixed-amount{text-align:right}.fixed-amount strong{display:block;font-weight:400;font-size:14px;font-variant-numeric:tabular-nums;margin-bottom:5px}.fixed-amount button{padding:0;border:0;color:var(--muted);background:transparent;font-size:12px}.fixed-amount button:hover{color:var(--gold)}.fixed-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;margin-top:15px;font-size:12px;color:var(--muted)}.fixed-foot strong{font-weight:450;font-size:16px;color:var(--text);font-variant-numeric:tabular-nums}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.goal-item{min-width:0}.goal-visual{height:104px;background:#202226;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.goal-visual img{width:100%;height:100%;object-fit:cover}.goal-visual>svg{width:34px;height:34px;color:#989793;stroke-width:1}.goal-visual .goal-status{position:absolute;left:9px;top:8px;background:#111315d9;border:1px solid #ffffff1f;border-radius:4px;font-size:11px;padding:4px 6px;color:#e0ded8}.goal-title{margin:13px 0 7px;display:flex;gap:8px;align-items:center;justify-content:space-between}.goal-title b{font-size:13px;font-weight:450;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goal-title span{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.goal-meta{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:5px}.goal-item .mini-meter{margin:10px 0}.goal-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:12px}.goal-bottom button{color:#c8cbd1;font-size:12px;background:transparent;border:0;padding:0}.goal-bottom button:hover{color:var(--gold)}.goals-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin-top:23px;border-top:1px solid var(--line);padding-top:16px}.transactions-panel{margin-bottom:20px}.table-tools{display:flex;align-items:center;gap:15px;padding-bottom:17px}.search{display:flex;align-items:center;gap:9px;color:var(--muted);flex:1;max-width:370px}.search svg{width:17px;height:17px}.search input{background:transparent;border:0;outline:none;color:var(--text);width:100%;font-size:13px;min-height:34px}.search input::placeholder{color:var(--dim)}.table-tools select{font-size:12px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:590px;text-align:left;font-size:13px}th{font-size:12px;font-weight:400;color:var(--dim);padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:16px 0;border-bottom:1px solid #25272b;color:#c7c9ce}tr:last-child td{border-bottom:0}td:first-child{color:var(--text);width:32%}th:last-child,td:last-child{text-align:right;font-variant-numeric:tabular-nums}td .record-name{display:flex;gap:12px;align-items:center}.record-mark{display:grid;place-items:center;width:29px;height:29px;border:1px solid #36383d;border-radius:7px;color:var(--muted)}.record-mark svg{width:14px;height:14px}.record-name>span:last-child{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-label{border:1px solid #383b41;border-radius:4px;padding:3px 6px;font-size:11px}.record-tag{font-size:12px;color:var(--dim);margin-left:8px}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.page-footer{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--dim);margin-top:28px;padding-bottom:20px}.page-footer>span:first-child{letter-spacing:.05em}.page-footer span span{margin:0 7px}.empty{padding:27px 8px;color:var(--muted);font-size:13px;text-align:center;line-height:1.8}.empty p{margin:0 0 8px}.empty .text-button{color:var(--gold)}.empty-goals{grid-column:1/-1;border:1px dashed #414349;border-radius:7px;min-height:182px;display:flex;flex-direction:column;justify-content:center;align-items:center}.assistant-launcher{position:fixed;right:25px;bottom:23px;background:#e4e4df;color:#191b1f;border:1px solid #f1f1ed;box-shadow:0 7px 24px #0007;border-radius:7px;display:flex;align-items:center;gap:10px;padding:12px 15px;font-size:13px;z-index:8}.assistant-launcher svg{width:18px;height:18px}.key-hint{font-size:11px;color:#636466;border-left:1px solid #b6b7b4;padding-left:9px;margin-left:4px}dialog{color:var(--text);background:var(--surface);border:1px solid #3a3d43;padding:0;box-shadow:0 18px 70px #0008}dialog::backdrop{background:#08090bd9;backdrop-filter:blur(3px)}.entry-dialog{border-radius:12px;width:min(520px,calc(100% - 28px));max-height:88dvh;overflow:auto}.dialog-heading{display:flex;justify-content:space-between;gap:15px;padding:25px 26px 18px}.dialog-heading h2{font-size:21px}.dialog-heading p{font-size:13px;color:var(--muted);margin:7px 0 0}.entry-dialog form{padding:0 26px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 15px}.form-grid label{font-size:12px;color:#c9cbd2;display:flex;flex-direction:column;gap:8px}.form-grid input,.form-grid select{background:#101113;color:var(--text);border:1px solid #3a3e44;border-radius:5px;min-width:0;width:100%;height:41px;padding:9px 11px;font-size:14px}.form-grid input::placeholder{color:var(--dim)}.form-grid .wide{grid-column:1/-1}.form-grid .helper{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.form-error{color:#e5aaa1;font-size:13px;margin:13px 0 0}.chat-dialog{position:fixed;inset:0 0 0 auto;width:410px;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border-right:0}.chat-dialog[open]{display:flex;flex-direction:column}.chat-heading{display:flex;gap:12px;align-items:center;padding:24px;border-bottom:1px solid var(--line)}.chat-heading h2{font-size:17px}.chat-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.chat-heading>.icon-button{margin-left:auto}.hermes-mark{display:grid;place-items:center;background:#28261f;border:1px solid #554833;border-radius:10px;width:39px;height:39px;color:var(--gold)}.chat-context{font-size:12px;color:var(--muted);padding:13px 24px;border-bottom:1px solid var(--line)}.chat-messages{flex:1;min-height:0;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:19px}.chat-welcome{padding-top:25px}.chat-welcome h3{font-size:28px;font-weight:450;line-height:1.5;letter-spacing:-.025em;margin:0 0 18px}.chat-welcome p{font-size:14px;color:var(--muted);margin:0 0 24px}.suggestions{display:grid;gap:10px}.suggestions button{display:flex;justify-content:space-between;gap:10px;text-align:left;border:1px solid #35383d;border-radius:7px;padding:13px 12px;background:#191b1e;color:#d3d5da;font-size:12px}.suggestions svg{width:14px;height:14px}.chat-bubble{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble.user{background:#27292e;border-radius:10px;padding:11px 14px;align-self:flex-end;max-width:93%}.chat-bubble.assistant{color:#d6d8dd;align-self:flex-start}.chat-bubble.draft{background:#22231f;border:1px solid #474437;border-radius:8px;padding:15px;width:100%}.chat-bubble.draft button{display:block;margin-top:12px}.chat-form{margin:14px 20px 22px;border:1px solid #494b50;border-radius:9px;overflow:hidden;padding:12px}.chat-form textarea{width:100%;background:transparent;border:0;color:var(--text);resize:none;font-size:14px;line-height:1.6}.chat-form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.chat-form>div>span{font-size:11px;color:var(--muted)}.chat-form button{padding:7px;min-height:31px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);max-width:calc(100% - 30px);background:#efefea;color:#17191c;padding:13px 18px;border-radius:7px;font-size:13px;box-shadow:0 8px 30px #0008;z-index:100;line-height:1.6}
@media(min-width:1600px){.hero{padding:30px 34px 22px}.hero-number{font-size:54px}.chart-canvas>svg{max-height:290px}}
@media(max-width:1150px){main{padding:28px 25px}.topbar{padding:0 25px}.wordmark span{display:none}.top-right{gap:14px}.middle-grid{grid-template-columns:1.4fr 1fr;gap:18px}.distribution{grid-template-columns:1fr;gap:0}.distribution>svg{width:130px;margin:auto}.categories-panel .panel-note{display:none}#categoryRows{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.category-item{gap:5px}.plans-grid{gap:18px}.summary-strip{gap:24px}.goal-title{display:block}.goal-title span{display:block;margin-top:6px}.goals-foot{align-items:flex-start;flex-direction:column}.budget-panel{padding:23px 19px}.metric-label span{display:none}.hero{padding:24px 23px 18px}.budget-actions{flex-direction:column;gap:15px}.budget-panel .panel-note{font-size:11px}}
@media(max-width:850px){.overview-grid{grid-template-columns:1fr}.budget-panel{border-left:0;border-top:1px solid var(--line)}.budget-rows{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:15px 0}.budget-actions{flex-direction:row;justify-content:flex-start;gap:22px}.budget-overview>span:first-child{font-size:22px}.middle-grid{grid-template-columns:1fr}.distribution{grid-template-columns:180px 1fr;min-height:170px}.distribution>svg{width:170px}#categoryRows{display:block}.plans-grid{grid-template-columns:1fr}.goal-title{display:flex}.goal-title span{margin:0}.goals-foot{flex-direction:row;align-items:center}.hero-number{font-size:47px}.topbar .connection{display:none}.topbar{gap:14px}.breadcrumb span{margin:0 9px}}
@media(max-width:767px){.rail{inset:auto 0 0;width:100%;height:65px;flex-direction:row;padding:5px 8px;background:#141517f5;border-top:1px solid var(--line);border-right:0}.rail .brand,.rail>.nav-item,.rail .avatar{display:none}.rail-links{display:flex;margin:0;gap:4px}.nav-item{padding:5px 3px;gap:4px;font-size:11px}.nav-item svg{width:19px;height:19px}.workspace{margin-left:0}.topbar{height:60px;padding:0 18px;gap:12px}.wordmark{font-size:16px}.top-divider,.breadcrumb,.top-right>.icon-button{display:none}.top-right{gap:8px}.preview-toggle{font-size:11px;padding:5px 8px}main{padding:23px 17px 125px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px;max-width:220px;line-height:1.8}.page-heading>.primary{padding:8px 10px;font-size:12px;flex-shrink:0}.filters{align-items:flex-start;gap:4px;margin-bottom:17px}.seg{gap:0}.seg button{padding:7px 9px;font-size:12px}.currency{display:none}.month-control{gap:3px}.month-control svg{display:none}.month-control select{font-size:12px;max-width:117px;padding:7px 0}.notice{align-items:flex-start;font-size:11px;line-height:1.6;padding:10px}.notice>button{font-size:11px}.notice>button svg{display:none}.hero{padding:20px 16px 16px}.hero-head{gap:8px}.hero-head>.text-button{font-size:11px}.hero-number{font-size:41px}.metric-label{font-size:12px}.hero-caption{font-size:11px}.summary-strip{gap:0;justify-content:space-between;margin:23px 0 27px}.summary-strip strong{font-size:14px}.summary-strip span{font-size:11px}.chart-heading h2{font-size:12px}.chart-controls{gap:12px}.chart-controls button{font-size:11px}.chart-canvas>svg{min-height:130px}.chart-foot{font-size:11px;gap:10px}.budget-panel{padding:20px 17px}.budget-rows{gap:0 16px}.budget-item>div{align-items:flex-start;flex-direction:column;gap:7px}.budget-item button{font-size:12px}.flow-panel,.categories-panel,.fixed-panel,.goals-panel,.transactions-panel{padding:19px 17px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:15px}.section-heading p{font-size:11px}.subtle-label{font-size:11px}.flow-canvas{overflow-x:auto}.flow-canvas>svg{min-width:460px}.flow-footer{font-size:11px}.distribution{grid-template-columns:135px 1fr;gap:15px}.distribution>svg{width:135px}.category-item{font-size:11px}.goal-grid{gap:14px}.goal-visual{height:90px}.goal-title{display:block}.goal-title b{font-size:12px}.goal-title span{display:block;font-size:13px;margin-top:6px}.goal-meta{display:block;font-size:11px;line-height:1.8}.goal-meta span{display:block}.goal-bottom button{font-size:11px}.goals-foot{align-items:flex-start;flex-direction:column}.search input{font-size:12px}.table-tools{gap:10px;flex-wrap:wrap}.table-tools .search{flex-basis:60%;min-width:130px}.table-tools select{max-width:116px;font-size:11px}.transactions-panel .secondary{font-size:11px;padding:7px 9px}.page-footer{flex-direction:column;font-size:11px;gap:9px}.assistant-launcher{bottom:78px;right:17px;padding:10px 12px;font-size:12px}.key-hint{display:none}.chat-dialog{width:100%}.toast{bottom:83px}.entry-dialog{max-height:85dvh}.dialog-heading{padding:21px 20px 17px}.entry-dialog form{padding:0 20px 21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.flow-list{display:none}.chart-canvas>svg{max-height:none;height:auto}.flow-list button,.flow-list-total{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);font-size:13px;text-align:left}.flow-list strong{font-weight:450;font-variant-numeric:tabular-nums}.flow-list-total{color:var(--muted)}
@media(max-width:767px){.flow-canvas>svg{display:none}.flow-list{display:block}.flow-list p{font-size:14px;color:var(--muted)}.flow-footer{display:none}.chart-canvas>svg{min-height:0}.distribution svg text{font-size:18px}}

/* Phone workbench: persistent actions, readable records and keyboard-aware sheets. */
.mobile-actions,.mobile-settings,.mobile-record-meta{display:none}
body.dialog-open{position:fixed;width:100%;overflow:hidden}
@media(max-width:767px){
 body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 .topbar{height:calc(60px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-inline:16px}.top-right{gap:8px}.mobile-settings{display:grid;place-items:center}.wordmark{font-size:18px}.preview-toggle{font-size:12px;min-height:44px}
 .rail{height:calc(66px + env(safe-area-inset-bottom));padding:5px 12px calc(5px + env(safe-area-inset-bottom));background:#121315}.rail-links{justify-content:space-around}.nav-item{min-height:52px;font-size:12px}.nav-item svg{width:22px;height:22px}
 main{padding:24px 16px calc(162px + env(safe-area-inset-bottom));max-width:640px;margin:auto}.page-heading{margin-bottom:20px}.page-heading h1{font-size:27px}.page-heading p{font-size:14px;max-width:none;line-height:1.7}.page-heading>.primary{display:none}
 .mobile-actions{position:fixed;z-index:6;bottom:calc(66px + env(safe-area-inset-bottom));left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px max(16px,env(safe-area-inset-left));background:#121315;border-top:1px solid var(--line)}.mobile-actions button{justify-content:center;min-height:46px;font-size:15px}.mobile-actions .primary{background:var(--gold);color:#101113;border-color:var(--gold)}.assistant-launcher{display:none}
 button,.icon-button{min-height:44px}.icon-button{min-width:44px}.filters{align-items:center;gap:8px}.seg button{padding:10px 9px;font-size:13px}.month-control select{font-size:16px;max-width:143px;min-height:44px}.month-control{min-width:0}
 .hero{padding:20px 16px}.hero-number{font-size:44px}.hero-caption{font-size:13px;line-height:1.7}.hero-head>.text-button{font-size:12px}.metric-label{font-size:14px}.summary-strip strong{font-size:clamp(14px,4vw,18px);overflow-wrap:anywhere}.summary-strip span{font-size:12px}.summary-strip>div{min-width:0;flex:1}.summary-strip{gap:10px}.chart-heading h2{font-size:14px}.chart-controls button,.chart-foot{font-size:12px}.chart-controls{gap:10px}
 .section-heading h2{font-size:17px}.section-heading p,.panel-note,.budget-panel .panel-note{font-size:13px;line-height:1.7}.subtle-label,.hero-head .text-button,.budget-legend,.page-footer,.notice,.notice>button{font-size:12px}.notice{flex-wrap:wrap}.budget-item button,.category-item,.flow-list button{font-size:14px}.budget-rows{grid-template-columns:1fr}.budget-item>div{flex-direction:row;align-items:center}.budget-actions{gap:12px;flex-wrap:wrap}.distribution{grid-template-columns:130px minmax(0,1fr);gap:12px}.distribution>svg{width:130px}.category-item{min-height:44px}.fixed-info{min-width:0}.fixed-info b{overflow-wrap:anywhere}.fixed-info span,.fixed-amount button{font-size:12px}.fixed-row{gap:10px}
 .goal-grid{grid-template-columns:1fr;gap:24px}.goal-item{min-width:0}.goal-visual{height:170px}.goal-title{display:flex;gap:12px}.goal-title b,.goal-title span{font-size:16px}.goal-meta{display:flex;font-size:13px}.goal-bottom button{font-size:14px}.goals-foot{gap:8px}
 .transactions-panel .section-heading{flex-wrap:wrap;gap:8px}.transactions-panel .section-heading>div{flex:1 1 100%}.transactions-panel .secondary{font-size:12px;min-height:44px}.table-tools .search{flex-basis:100%;min-width:0}.search input,.table-tools select{font-size:16px;min-height:44px}.table-tools select{max-width:100%;flex:1}.table-scroll{overflow:visible}table{min-width:0;table-layout:fixed}thead{display:none}td{padding:18px 0;font-size:15px}td:first-child{width:65%;padding-right:12px}td:last-child{width:35%;white-space:normal;overflow-wrap:anywhere}td:nth-child(2),td:nth-child(3),td:nth-child(4){display:none}td[colspan]{width:100%}.record-name{gap:8px!important}.record-mark{display:none}.record-name>span:last-child{white-space:normal;overflow:visible;overflow-wrap:anywhere;max-width:100%;line-height:1.5}.mobile-record-meta{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:6px}.page-footer{line-height:1.7}
 .entry-dialog{position:fixed;inset:auto 0 auto;margin:0;width:100%;max-width:100%;top:calc(var(--visible-top,0px) + var(--visible-height,100dvh));transform:translateY(-100%);max-height:calc(var(--visible-height,100dvh) - 12px);border-radius:16px 16px 0 0}.entry-dialog[open]{display:flex;flex-direction:column}.dialog-heading{padding:18px 20px 14px;flex-shrink:0}.dialog-heading p{font-size:14px;line-height:1.6}.entry-dialog form{overflow:auto;overscroll-behavior:contain;padding:0 20px;min-height:0}.form-grid{gap:18px 12px;padding-top:6px}.form-grid label{font-size:14px}.form-grid input,.form-grid select{font-size:16px;height:48px}.form-grid .helper{grid-column:1/-1;font-size:14px}.dialog-actions{position:sticky;bottom:0;background:var(--surface);padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:18px}.dialog-actions button{min-height:48px}.dialog-actions .primary{flex:1}.form-error{font-size:14px;line-height:1.6}
 .chat-dialog{top:var(--visible-top,0px);bottom:auto;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);border:0}.chat-heading{padding:calc(12px + env(safe-area-inset-top)) 16px 12px;flex-shrink:0}.chat-context{padding:12px 16px}.chat-messages{padding:18px 16px;overscroll-behavior:contain}.chat-welcome{padding-top:12px}.chat-welcome p,.chat-bubble{font-size:16px}.suggestions button{font-size:14px;min-height:48px}.chat-form{flex-shrink:0;margin:8px 16px max(12px,env(safe-area-inset-bottom));padding:12px}.chat-form textarea{font-size:16px}.chat-form>div>span{font-size:12px}.chat-form button{min-width:44px;min-height:44px}.toast{bottom:calc(142px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 32px)}
}
@media(max-width:359px){.filters{flex-wrap:wrap}.filter-right{margin-left:auto}.form-grid{grid-template-columns:1fr}.hero-number{font-size:38px}.distribution{grid-template-columns:110px minmax(0,1fr)}.distribution>svg{width:110px}}
@media(max-width:767px){.top-right>.mobile-settings{display:grid}.fixed-amount{flex-shrink:0}.fixed-info b{font-size:14px}.goal-status{font-size:12px}.goal-title b{min-width:0;overflow-wrap:anywhere}.goal-title span{flex-shrink:0}.chat-heading,.chat-context{flex-shrink:0}}
@media(max-width:767px){.entry-dialog{top:auto;bottom:max(0px,calc(100dvh - var(--visible-top,0px) - var(--visible-height,100dvh)));transform:none}.dialog-heading{min-width:0}.dialog-heading>div{min-width:0}.dialog-heading>.icon-button{flex-shrink:0}}
@media(hover:none){.nav-item:hover:not(.active){background:transparent;color:var(--muted)}}

.language-toggle{border:1px solid var(--line);border-radius:7px;min-width:44px;min-height:44px;padding:8px;background:transparent;color:var(--text);font-size:13px;flex-shrink:0}.language-toggle:hover{background:var(--raised)}
html[lang=en] .nav-item{font-size:12px}html[lang=en] .goal-title{gap:10px}html[lang=en] .goal-meta{flex-wrap:wrap;gap:4px}html[lang=en] .section-heading{gap:12px}html[lang=en] .chart-controls{gap:12px}html[lang=en] .hero-head{flex-wrap:wrap}html[lang=en] .form-grid label{line-height:1.5}
@media(max-width:767px){.topbar{gap:8px}.top-right{gap:6px}.preview-toggle{max-width:100px}.wordmark{font-size:16px}.top-right>.mobile-settings{min-width:36px}html[lang=en] .filters{flex-wrap:wrap}html[lang=en] .chart-heading{flex-wrap:wrap;gap:8px}html[lang=en] .summary-strip{flex-wrap:wrap}html[lang=en] .summary-strip>div{min-width:80px}html[lang=en] .fixed-row{flex-wrap:wrap}html[lang=en] .fixed-info{flex:1}html[lang=en] .section-heading{flex-wrap:wrap}html[lang=en] .chat-form>div>span{max-width:210px}.topbar .wordmark span{display:none}html[lang=en] .hero-number{font-size:40px}}

@media(max-width:767px){html[lang=en] .summary-strip>div>span{min-height:36px;align-items:flex-start}html[lang=en] .summary-strip .legend-dot{margin-top:5px}html[lang=en] .hero-head>.text-button{min-height:36px}}

.account-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 24px;color:var(--muted);font-size:13px}.account-line b{color:var(--text);font-weight:500}.account-line a{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}

/* Official T.OS VenoMark presentation: original image and crop, with light ink for this dark surface. */
.veno-mark{display:inline-block;position:relative;width:26px;height:26px;flex:none;overflow:hidden;vertical-align:middle}
.veno-mark img{position:absolute;width:261.25%;max-width:none;height:261.25%;left:-80.625%;top:-78.125%;filter:url(#veno-light)}
.hermes-mark{width:44px;height:44px;background:transparent;border:0;border-radius:0}.hermes-mark .veno-mark{width:42px;height:42px}
.assistant-launcher .veno-mark img{filter:url(#veno-ink)}.rail-assistant .veno-mark{width:25px;height:25px}.veno-settings-heading{display:flex;align-items:center;gap:12px}.veno-settings-heading .veno-mark{width:36px;height:36px}

/* Visible transaction correction action, including the phone record layout. */
.record-delete{display:block;margin:5px 0 0 auto;padding:6px 10px;min-height:36px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--red);font-size:13px;line-height:1.4}
.record-delete:hover{background:var(--raised)}
@media(max-width:767px){.record-delete{min-height:44px;min-width:62px;margin-top:8px;font-size:14px}}

.category-manager{border:1px solid var(--border,#aaa);padding:12px;border-radius:12px}.category-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.category-choice input{min-width:0;flex:1}.category-choice button,[data-manage-categories]{min-height:40px;font-size:14px}.category-choice span{overflow-wrap:anywhere}
