:root{--ink:#242238;--muted:#777384;--purple:#7055dc;--purple-dark:#5b40c5;--line:#eae8f1;--green:#21856a;--red:#bf4d5c;--bg:#f7f7fb;--warning:#91601b;--shadow:0 12px 40px #3021640a}
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b9a7f3;outline-offset:3px}button{touch-action:manipulation}input,select{width:100%;border:1px solid #dbd7e8;border-radius:10px;background:white;color:var(--ink);padding:12px;min-height:46px}input:focus,select:focus{border-color:var(--purple)}input[type=checkbox]{accent-color:var(--purple);width:18px;height:18px;min-height:18px;flex-shrink:0;padding:0}label{display:block;font-size:12px;font-weight:650;margin:19px 0 7px}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1.1px;line-height:1.2;margin:9px 0 8px}h2{font-size:16px;letter-spacing:-.3px;line-height:1.35}h3{font-size:14px;line-height:1.4}p{color:var(--muted);line-height:1.65}strong,b{font-weight:650}.muted{color:var(--muted)}.sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;padding:0;margin:-1px;border:0}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:var(--purple);color:white;padding:10px 16px;border-radius:8px}.skip-link:focus{top:10px}
.app-header{height:80px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1100px)/2));gap:15px}.brand{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;font-weight:800;font-size:26px;letter-spacing:-1px;text-align:left}.brand-symbol{background:var(--purple);color:white;border-radius:12px;width:37px;height:39px;display:grid;place-items:center;font-size:28px;line-height:1}.brand small{font-weight:400;font-size:12px;color:var(--muted);letter-spacing:0;margin-left:10px}.header-note{font-size:12px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:20px}.desktop-link{background:transparent;border:0;color:var(--purple);font-size:12px;font-weight:650;padding:12px 0}.avatar{width:38px;height:38px;border-radius:50%;border:0;background:#eee9fc;color:var(--purple);font-size:12px;font-weight:750}.avatar:hover{background:#e2d9fb}main{max-width:1100px;margin:auto;padding:38px 24px 60px}.eyebrow{display:block;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.intro p{font-size:13px}.period{display:flex;align-items:center;gap:4px;background:white;border:1px solid var(--line);border-radius:12px;padding:5px;flex-shrink:0}.period button{border:0;background:transparent;width:35px;height:36px;font-size:25px;border-radius:8px}.period button:hover{background:#f1edfb}.period input{border:0;background:transparent;min-height:36px;font-size:13px;padding:5px 7px;min-width:157px;width:157px;font-weight:600}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.summary-card{display:block;width:100%;background:white;border:1px solid var(--line);border-radius:19px;padding:23px;text-align:left;transition:transform .15s,box-shadow .15s;position:relative;overflow:hidden}.summary-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-heading{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:650}.card-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#fbeef0;color:var(--red);font-size:21px}.incoming .card-icon{background:#eaf6ef;color:var(--green)}.card-amount{display:block;font-size:32px;font-weight:750;letter-spacing:-1.25px;margin:20px 0 6px;line-height:1.2;overflow-wrap:anywhere}.card-copy{display:block;color:var(--muted);font-size:10px}.card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);gap:8px;margin-top:22px;padding-top:15px;color:var(--muted);font-size:10px}.detail-link{font-weight:650;color:var(--purple);white-space:nowrap}.profit-card{background:linear-gradient(120deg,#7b5ee3,#5c40c5);color:white;border-color:transparent}.profit-card:before{content:"";pointer-events:none;position:absolute;width:230px;height:230px;right:-80px;top:-120px;border-radius:50%;border:34px solid #ffffff08}.profit-card .card-icon{background:#ffffff20;color:white}.profit-card .card-copy,.profit-card .card-foot{color:#e9e2ff}.profit-card .card-foot{border-color:#ffffff25}.profit-card .detail-link{color:white}.snapshot{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin:17px 0 27px;flex-wrap:wrap}.dot{display:block;background:#8e7bc8;width:6px;height:6px;border-radius:50%;flex-shrink:0}.snapshot .text-button{margin-left:auto;padding:4px}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.tag{color:#7861b4;background:#f2eefc;border-radius:6px;padding:5px 8px;font-size:10px;white-space:nowrap}.flow-line{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin:17px 0 8px}.flow-line b{font-size:13px;white-space:nowrap}.track{height:8px;overflow:hidden;border-radius:8px;background:#f2f0f7}.track i{display:block;height:100%;border-radius:8px;background:var(--purple);width:0}.track i.red{background:#df9aa3}.track i.amber{background:#dfbd77}.flow-result{display:flex;justify-content:space-between;gap:10px;background:#f7f4ff;border-radius:11px;margin-top:24px;padding:15px;font-size:12px;align-items:center}.flow-result strong{font-size:18px;color:var(--purple)}.negative{color:var(--red)!important}.helper{font-size:10px;line-height:1.65;margin-top:16px}.income-part{display:flex;align-items:center;gap:11px;padding:17px 0;border-bottom:1px solid var(--line)}.income-part:last-of-type{border-bottom:0}.mini-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f0ebff;color:var(--purple);font-size:20px;flex-shrink:0}.income-part strong{display:block;font-size:12px}.income-part p{font-size:10px;margin-top:4px}.income-part .part-value{margin-left:auto;font-size:16px;white-space:nowrap}.text-button{border:0;background:transparent;color:var(--purple);font-size:11px;font-weight:650;padding:12px 0 0;min-height:34px;text-align:left}.text-button:hover{text-decoration:underline}.bills-panel{margin-top:20px}.bill{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.bill:last-child{border-bottom:0}.date-box{height:43px;width:40px;border:1px solid var(--line);border-radius:9px;text-align:center;padding-top:3px;font-size:16px;font-weight:750}.date-box small{display:block;font-size:8px;color:var(--muted);font-weight:500;text-transform:uppercase}.bill strong{display:block;font-size:12px;overflow-wrap:anywhere}.bill p{font-size:10px;margin-top:3px}.bill-value{text-align:right;font-size:13px;white-space:nowrap}.bill-value small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:5px}.method-note{display:flex;gap:10px;margin:22px 2px;font-size:11px;color:var(--muted)}.method-note>span{font-size:16px;line-height:1.3}.method-note p{font-size:10px}.notice{background:#f0ecfb;color:#635187;border:1px solid #e6dff6;border-radius:11px;padding:13px 15px;margin:16px 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.notice.error{background:#fff0f1;color:#a43948;border-color:#f3d5db}.notice.warning{background:#fff8e8;border-color:#f1dfb4;color:#89621e}.notice .text-button{font-size:inherit;padding:4px 0;min-height:28px;color:inherit;text-decoration:underline;display:block}.loading-row,.session-loading{display:flex;gap:10px;align-items:center;color:var(--muted);padding:20px 0;font-size:12px}.session-loading{min-height:40vh;justify-content:center}.spinner{width:17px;height:17px;border:2px solid #ded6f1;border-top-color:var(--purple);border-radius:50%;display:inline-block;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{padding:28px 16px;text-align:center;color:var(--muted);font-size:12px}.empty-state span{font-size:26px;color:#a99acb;display:block;margin-bottom:8px}.empty-state strong{display:block;color:var(--ink);font-size:13px;font-weight:650;margin-bottom:5px}.empty-state .text-button{margin-top:5px}footer{text-align:center;font-size:10px;color:#9b96a9;margin-top:35px}footer span{margin:0 4px}.mobile-nav{display:none}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 17px;border-radius:10px;font-size:12px;font-weight:650;border:1px solid transparent;text-decoration:none}.primary-button{background:var(--purple);color:white}.primary-button:hover{background:var(--purple-dark)}.secondary-button{background:white;border-color:#ddd7ec;color:#66577e}.secondary-button:hover{background:#f6f3fc}.full{width:100%}.back-button{display:block;border:0;background:transparent;padding:0 0 20px;color:var(--purple);font-size:11px;min-height:35px}.management-intro{display:flex;gap:13px;align-items:center;padding:18px 20px;background:#f4f0ff;border-color:#e8e0fa}.management-intro strong{font-size:12px}.management-intro p{font-size:11px;margin-top:3px}.management-toolbar{display:flex;align-items:center;gap:12px;margin:22px 0 12px}.search-field{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;flex:1;min-width:0;max-width:470px;padding-left:13px;color:var(--muted)}.search-field>span{font-size:25px;line-height:1}.search-field input{border:0;background:transparent;padding-left:9px;font-size:12px;min-width:0}.result-count{font-size:11px;margin:13px 0}.supplier-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.supplier-card{background:white;border:1px solid var(--line);border-radius:15px;padding:20px;min-width:0}.supplier-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.supplier-card h2{font-size:15px;overflow-wrap:anywhere}.supplier-card .text-button{padding:5px 0}.supplier-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0 15px}.badge{display:inline-block;padding:4px 7px;border-radius:5px;background:#f9f0de;color:#916519;font-size:9px;line-height:1.5;white-space:nowrap}.badge.done{color:var(--green);background:#eaf6ef}.badge.late{color:var(--red);background:#fbecef}.badge.neutral{background:#f1eff7;color:#777084}.badge.tool{background:#f0ebff;color:#7056ba}.supplier-group{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.supplier-group strong{font-size:12px}.supplier-group p,.supplier-card>.helper{font-size:10px;margin-top:4px}.origin-label{font-size:10px;color:var(--muted);margin-top:12px}.sheet{padding:0;border:0;border-radius:22px;width:min(660px,calc(100vw - 36px));max-height:88dvh;color:var(--ink);background:var(--bg);box-shadow:0 30px 100px #18102b35;overscroll-behavior:contain}.sheet::backdrop{background:#211a3b66;backdrop-filter:blur(4px)}.sheet-head{position:sticky;top:0;background:var(--bg);padding:24px 24px 17px;border-bottom:1px solid var(--line);z-index:2}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.sheet-heading h2{font-size:20px;margin-top:6px}.sheet-heading .eyebrow{font-size:9px;letter-spacing:1.2px}.close-button{border:0;background:transparent;width:36px;height:36px;border-radius:9px;font-size:26px;flex-shrink:0;color:var(--muted)}.close-button:hover{background:#eee9f6}.sheet-total{font-size:32px;font-weight:750;letter-spacing:-1px;margin:15px 0 4px;line-height:1.3}.sheet-head>p{font-size:11px}.sheet-body{padding:20px 24px 27px}.sheet-body>h3{margin:22px 0 12px}.tabs{display:flex;border-radius:10px;padding:4px;background:#ece8f5;gap:4px;margin-bottom:19px}.tabs button{flex:1;border:0;background:transparent;padding:11px 7px;border-radius:7px;font-size:11px;line-height:1.3}.tabs button.active{background:white;box-shadow:0 2px 4px #27213b08;color:var(--purple);font-weight:650}.tab-summary{font-size:11px;margin-bottom:16px}.entry{background:white;border:1px solid var(--line);border-radius:12px;padding:15px;margin:10px 0}.entry-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-row strong{font-size:12px;overflow-wrap:anywhere}.entry-value{font-size:13px;font-weight:650;white-space:nowrap;flex-shrink:0}.entry p{font-size:10px;margin-top:5px}.entry-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-summary .entry-name{min-width:0}.entry-summary strong{font-size:12px;overflow-wrap:anywhere}.entry-summary .entry-value{margin-left:auto}.entry-summary:after{content:"⌄";color:#9b92af;line-height:1}.entry[open] .entry-summary:after{content:"⌃"}.entry summary{cursor:pointer;list-style:none}.entry summary::-webkit-details-marker{display:none}.transaction{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.transaction strong{font-size:11px;overflow-wrap:anywhere}.transaction p{font-size:10px;margin-top:4px}.transaction .badge{margin-top:7px}.category-headline{font-size:11px;color:var(--muted);margin-bottom:14px}.small-note{font-size:10px;margin:12px 0;color:var(--muted)}.info-details{margin-top:20px;border:1px solid var(--line);border-radius:12px;padding:15px;background:#f3f1f8}.info-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:650}.info-details>summary::-webkit-details-marker{display:none}.info-details>summary:after{content:"+";font-size:18px;color:var(--purple)}.info-details[open]>summary:after{content:"−"}.info-details .notice{font-size:10px;padding:10px 12px;margin:12px 0}.financial-summary{font-size:11px;margin:12px 0}.formula{background:white;border:1px solid var(--line);border-radius:13px;padding:17px;margin-bottom:20px}.formula-line{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:10px 0;gap:14px}.formula-line b{white-space:nowrap}.formula-line.final{border-top:1px solid var(--line);margin-top:7px;font-size:15px;color:var(--purple);font-weight:750}.margin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}.margin-grid small{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.margin-grid b{font-size:12px;overflow-wrap:anywhere}.margin-grid .result b{color:var(--green)}.margin-label{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:13px 0 7px}.warning-copy{font-size:10px!important;color:var(--warning)!important;background:#fff7e6;border-radius:7px;padding:9px 10px;margin-top:12px!important}.sheet-actions{position:sticky;bottom:0;padding:17px 24px;background:#faf9fdef;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;z-index:3;backdrop-filter:blur(10px)}.sheet-actions>button{min-width:115px}.editor-sheet{width:min(720px,calc(100vw - 36px))}.editor-sheet .sheet-body{padding-top:1px}.field-hint{font-size:10px;line-height:1.6;margin:7px 0}.field-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;align-items:end}.switch-field{display:flex;align-items:center;gap:8px;min-height:46px;margin-bottom:0;font-size:12px}.group-section-heading{margin:26px 0 0}.group-section-heading .text-button{padding:3px 0}.group-editor{border:1px solid var(--line);border-radius:12px;background:white;margin:14px 0 0;padding:15px;min-width:0}.group-editor legend{font-size:10px;color:var(--purple);font-weight:650;padding:0 5px}.group-editor label:first-of-type{margin-top:1px}.group-editor .group-type-label{margin:16px 0 8px;font-size:11px;font-weight:650}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.type-option{display:flex;gap:8px;align-items:center;font-size:11px;line-height:1.4;min-height:38px;background:#f8f7fc;border:1px solid transparent;border-radius:7px;padding:8px;margin:0!important;font-weight:500}.type-option:has(input:checked){background:#f1ecff;border-color:#dfd3fa;color:#6344b8}.type-option:has(input:disabled){opacity:.45}.type-option input{width:16px;height:16px;min-height:16px}.group-remove{display:block;border:0;background:transparent;color:#a65e72;font-size:10px;min-height:36px;padding:10px 0 0;margin-left:auto}.group-remove:hover{text-decoration:underline}.group-empty{font-size:11px;color:var(--muted);text-align:center;border:1px dashed #d9d1e9;border-radius:10px;padding:22px 15px;margin-top:16px}.account-sheet{max-width:450px}.account-sheet .sheet-body{padding-top:15px}.account-sheet h3{margin-bottom:5px}.account-sheet .primary-button{margin-top:22px}.account-logout{padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#302344;color:white;border-radius:11px;box-shadow:0 10px 40px #20102b30;padding:13px 20px;font-size:12px;line-height:1.5;z-index:20;max-width:min(500px,calc(100vw - 32px));width:max-content;overflow-wrap:anywhere}.login-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:90px;min-height:calc(100vh - 200px);padding:20px 50px}.login-intro h1{font-size:46px;line-height:1.12;letter-spacing:-2px;margin:16px 0}.login-intro>p{font-size:13px;max-width:335px}.login-card{border:1px solid var(--line);border-radius:20px;background:white;padding:32px;box-shadow:var(--shadow)}.login-card h2{font-size:23px;margin:10px 0 7px;letter-spacing:-.6px}.login-card>.muted{font-size:12px}.login-card .primary-button{margin-top:25px;justify-content:space-between;padding-left:16px;padding-right:16px}.form-hint{font-size:10px;text-align:center;margin-top:18px}.login-illustration{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:34px;max-width:335px;transform:rotate(-3deg)}.login-illustration>div{border:1px solid var(--line);border-radius:15px;padding:17px;background:white;box-shadow:0 10px 20px #2f205c05}.login-illustration span{display:block;font-size:9px;color:var(--muted)}.login-illustration b{display:block;font-size:27px;color:#a492d0;font-weight:400}.login-illustration i{display:block;width:64%;height:7px;border-radius:10px;background:#ece6f8}.login-illustration .illustration-profit{grid-column:1/-1;background:linear-gradient(120deg,#7b5ee3,#5c40c5);padding:18px 23px}.login-illustration .illustration-profit span{color:#e8e1ff}.login-illustration .illustration-profit b{color:white}.login-illustration .illustration-profit i{background:#ffffff35;width:44%}
@media(min-width:900px){main{padding-top:42px}.card-amount{font-size:34px}}@media(max-width:900px){.header-note{display:none}.login-layout{padding:30px 0;gap:40px}.login-intro h1{font-size:40px}.card-amount{font-size:28px}.summary-card{padding:20px 17px}.card-heading{font-size:12px}.card-copy{font-size:9px}.dashboard-grid{grid-template-columns:1.2fr 1fr}.income-part .part-value{font-size:14px}.card-foot{font-size:9px}}
@media(max-width:700px){body{font-size:13px}.app-header{height:66px;padding:0 21px}.brand{font-size:24px;gap:8px}.brand-symbol{height:34px;width:33px;font-size:25px;border-radius:10px}.brand small{font-size:10px;margin-left:8px}.desktop-link{display:none}.header-actions{gap:10px}.avatar{height:34px;width:34px;font-size:10px}main{padding:25px 20px 100px}.intro{display:block;margin-bottom:21px}.eyebrow{font-size:9px;letter-spacing:1.5px}h1{font-size:26px}.intro p{font-size:12px}.period{margin-top:21px;justify-content:space-between;width:100%;padding:5px 8px}.period input{width:180px;text-align:center;min-width:0;padding-left:10px}.period button{width:35px;min-height:36px}.cards{grid-template-columns:1fr 1fr;gap:12px}.summary-card{border-radius:15px;padding:17px 14px}.card-heading{font-size:11px;gap:7px}.card-icon{width:27px;height:27px;border-radius:8px;font-size:18px}.card-amount{font-size:clamp(19px,6.2vw,27px);letter-spacing:-.9px;margin:17px 0 6px}.card-copy{font-size:9px;min-height:27px;line-height:1.5}.card-foot{font-size:9px;gap:6px;flex-wrap:wrap;margin-top:16px;padding-top:12px}.card-foot>span:first-child{font-size:9px}.profit-card{grid-column:1/-1;padding:19px}.profit-card .card-heading{font-size:12px}.profit-card .card-amount{font-size:33px;letter-spacing:-1.1px;margin:13px 0 5px}.profit-card .card-copy{font-size:10px;min-height:0}.profit-card .card-foot{margin-top:16px}.snapshot{margin:14px 0 22px;font-size:9px;gap:7px}.snapshot .text-button{font-size:10px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.panel{padding:19px;border-radius:15px}.section-heading{margin-bottom:16px;gap:9px}.section-heading h2{font-size:14px}.tag{font-size:9px}.income-part{padding:14px 0}.income-part .part-value{font-size:16px}.bills-panel{margin-top:16px}.bill{gap:9px}.bill strong{font-size:11px}.bill-value{font-size:12px}.method-note{margin-top:19px}.method-note p{font-size:9px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#ffffffed;border-top:1px solid var(--line);backdrop-filter:blur(14px);padding:9px 10px calc(10px + env(safe-area-inset-bottom));z-index:5}.mobile-nav button{border:0;background:transparent;color:var(--muted);font-size:9px;padding:3px 4px;min-width:50px}.mobile-nav button>span{display:block;font-size:20px;line-height:1.25;margin-bottom:3px}.mobile-nav button.active{color:var(--purple);font-weight:650}.sheet{width:100%;max-width:100%;max-height:92dvh;border-radius:23px 23px 0 0;margin:auto 0 0}.sheet-head{padding:23px 20px 15px}.sheet-head:before{content:"";display:block;width:32px;height:4px;border-radius:5px;background:#d8d2e3;margin:-13px auto 17px}.sheet-heading h2{font-size:18px}.sheet-total{font-size:30px}.sheet-body{padding:17px 20px 28px}.sheet-actions{padding:15px 20px calc(15px + env(safe-area-inset-bottom));gap:10px}.sheet-actions .primary-button{flex:1}.sheet-actions .secondary-button{min-width:95px}.editor-sheet{width:100%;max-width:100%}.entry{padding:14px}.entry-value{font-size:12px}.entry-row strong,.entry-summary strong{font-size:12px}.entry-summary{gap:9px}.tabs button{font-size:10px;padding:12px 4px}.margin-grid b{font-size:11px}.margin-grid small{font-size:8px}.management-intro{padding:16px;align-items:flex-start}.management-intro p{font-size:10px}.intro>.primary-button{margin-top:19px;width:100%}.management-toolbar{gap:8px}.management-toolbar .secondary-button{font-size:11px;padding:10px}.management-toolbar input{font-size:12px}.supplier-list{grid-template-columns:1fr;gap:12px}.supplier-card{padding:18px}.supplier-card h2{font-size:14px}.back-button{padding-bottom:17px}.field-grid{grid-template-columns:1fr;gap:0}.switch-field{margin-top:12px;min-height:38px}.type-options{gap:6px}.type-option{font-size:10px;padding:8px 7px}.group-editor{padding:14px 12px}.group-section-heading{margin-top:22px}.group-section-heading .text-button{font-size:10px}.notice{font-size:11px;padding:12px 13px}.account-sheet{max-width:100%}.toast{bottom:88px;font-size:11px}.login-layout{display:block;padding:9px 0;min-height:0}.login-intro .eyebrow{display:none}.login-intro h1{font-size:33px;letter-spacing:-1.2px;line-height:1.12;margin:7px 0 9px}.login-intro h1 br{display:none}.login-intro>p{font-size:12px;max-width:100%}.login-illustration{display:none}.login-card{margin-top:25px;padding:25px 22px;border-radius:17px}.login-card h2{font-size:22px}.login-card input,.sheet input,.sheet select{font-size:16px}.login-card label{font-size:12px}.form-hint{margin-top:15px}.formula-line{font-size:11px}.formula-line.final{font-size:13px}.empty-state{padding:25px 8px}.financial-summary{font-size:10px}footer{font-size:9px;margin-top:25px}}
@media(max-width:355px){main{padding-left:14px;padding-right:14px}.app-header{padding:0 16px}.summary-card{padding:15px 11px}.card-amount{font-size:21px}.card-heading{font-size:10px;gap:6px}.card-copy{font-size:8px}.card-foot{font-size:8px;gap:4px}.card-foot>span:first-child{font-size:8px}.profit-card .card-amount{font-size:29px}.sheet-body,.sheet-head{padding-left:16px;padding-right:16px}.margin-grid b{font-size:10px}.type-options{grid-template-columns:1fr}.management-toolbar .secondary-button{padding:10px 7px;font-size:10px}.mobile-nav{padding-left:4px;padding-right:4px}.mobile-nav button{min-width:45px;font-size:8px}.entry-value{font-size:11px}.bill-value{font-size:11px}.brand small{display:none}}
.entry p.group-display{color:var(--purple);font-size:11px;font-weight:650;overflow-wrap:anywhere}
.track i.green{background:#59b295}.margin-progress.is-negative{background:#fbecef}
.dashboard-stage{position:relative}.dashboard-stage.is-loading{min-height:140px}.dashboard-content{opacity:1;transform:translateY(0);transition:opacity 260ms ease,transform 260ms ease}.dashboard-content.is-switching{opacity:0;transform:translateY(6px);transition-duration:150ms;pointer-events:none}.dashboard-stage>.dashboard-loading{position:absolute;top:16px;left:0;right:0;z-index:1;justify-content:center;gap:9px;margin:0;padding:15px 12px;min-height:52px;border:1px solid var(--line);border-radius:12px;background:#ffffffed;box-shadow:var(--shadow);color:var(--ink);text-align:center}
.annual-period input{width:100px;min-width:100px;text-align:center;appearance:textfield;-moz-appearance:textfield}.annual-period input::-webkit-inner-spin-button,.annual-period input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.annual-loading{min-height:150px;justify-content:center}.annual-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.annual-total{background:white;border:1px solid var(--line);border-radius:18px;padding:22px;min-width:0}.annual-total-label{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:650}.annual-total>strong{display:block;font-size:29px;letter-spacing:-1px;line-height:1.25;margin:17px 0 7px;overflow-wrap:anywhere}.annual-total>p{font-size:10px}.annual-total-profit{background:linear-gradient(120deg,#7b5ee3,#5c40c5);border-color:transparent;color:white}.annual-total-profit>p{color:#e8e1ff}.annual-total-profit.annual-loss{background:linear-gradient(120deg,#a54b6a,#7b3151)}.annual-legend{display:flex;gap:14px;align-items:center;flex-shrink:0}.annual-legend>span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.annual-legend-dot{display:inline-block;width:8px;height:8px;border-radius:3px;flex-shrink:0}.annual-legend-dot.pay{background:#df8995}.annual-legend-dot.receive{background:#58ac91}.annual-chart-hint,.annual-table-hint{font-size:10px;margin:-7px 0 16px}.annual-chart-scale,.annual-chart-bottom{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:9px;line-height:1.6}.annual-chart-scale{margin:0 0 13px}.annual-chart-scale>span:last-child,.annual-chart-bottom>span:last-child{text-align:right}.annual-chart-plot{height:190px;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;position:relative;margin-bottom:51px}.annual-zero-line{position:absolute;left:0;right:0;border-top:1px dashed #c8c1d8;pointer-events:none}.annual-month{position:relative;border:0;background:transparent;min-width:0;padding:0;border-radius:7px;isolation:isolate}.annual-month:hover,.annual-month.selected{background:#f2eefb}.annual-bar{position:absolute;width:13px;border-radius:4px 4px 2px 2px;min-height:0;max-height:100%;pointer-events:none}.annual-bar.pay{background:#df8995;left:calc(50% - 15px)}.annual-bar.receive{background:#58ac91;left:calc(50% + 2px)}.annual-bar.is-negative{border-radius:2px 2px 4px 4px}.annual-month.forecast .annual-bar{opacity:.65}.annual-month-label{position:absolute;top:calc(100% + 10px);left:0;right:0;font-size:10px;font-weight:650;color:var(--ink);line-height:1.3}.annual-month-label>small{display:block;color:var(--muted);font-size:8px;font-weight:500;margin-top:5px}.annual-month.forecast .annual-month-label>small{color:var(--purple)}.annual-selected{background:#f8f6ff;border:1px solid #ebe4fa;border-radius:12px;padding:17px;margin-top:24px}.annual-selected .section-heading{margin-bottom:14px}.annual-selected-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.annual-selected-values small{display:block;color:var(--muted);font-size:9px;margin-bottom:5px}.annual-selected-values strong{font-size:15px;overflow-wrap:anywhere}.annual-selected .text-button{margin-top:6px}.annual-cumulative-panel,.annual-table-panel{margin-top:20px}.annual-profit-svg{display:block;width:100%;height:135px;overflow:visible}.annual-cumulative-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin:4px 0 12px}.annual-table-scroll{overflow:auto;overscroll-behavior-x:contain;border-radius:9px}.annual-table{width:100%;min-width:650px;border-collapse:separate;border-spacing:0;font-size:12px;text-align:right}.annual-table th{background:#f8f6fc;padding:12px;font-size:10px;color:var(--muted);font-weight:650;white-space:nowrap;border-bottom:1px solid var(--line)}.annual-table td{padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.annual-table th:first-child,.annual-table td:first-child{position:sticky;left:0;text-align:left;z-index:1;box-shadow:2px 0 5px #33234204}.annual-table td:first-child{background:white}.annual-table tr.selected td{background:#f8f6ff}.annual-table tbody tr:last-child td{border-bottom:0}.annual-table button{border:0;background:transparent;padding:2px 0;color:var(--purple);font-size:12px;font-weight:650;text-align:left;min-height:38px}.annual-table button small{display:block;font-size:8px;font-weight:500;color:var(--muted);margin-top:4px}.annual-table button.forecast small{color:var(--purple)}.annual-table td:last-child{font-weight:650}.annual-table-hint{margin-top:-5px}
.annual-table tbody th{background:white;font-weight:500}.annual-table tr.selected th{background:#f8f6ff}.annual-table tbody tr:last-child th{border-bottom:0}
@media(max-width:700px){.mobile-nav{padding-left:6px;padding-right:6px}.mobile-nav button{flex:1;min-width:0;max-width:64px;font-size:8px;padding:3px 1px}.mobile-nav button>span{font-size:19px}.annual-period{margin-top:21px}.annual-period input{width:120px;min-width:120px;font-size:16px}.annual-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.annual-total{padding:17px 14px;border-radius:15px}.annual-total-label{font-size:11px;gap:6px}.annual-total>strong{font-size:clamp(19px,6vw,25px);letter-spacing:-.8px;margin-top:15px}.annual-total>p{font-size:9px}.annual-total-profit{grid-column:1/-1;padding:19px}.annual-total-profit>strong{font-size:32px;margin:13px 0 5px}.annual-chart-panel .section-heading h2,.annual-cumulative-panel .section-heading h2{font-size:14px}.annual-legend{gap:10px}.annual-legend>span{font-size:9px;gap:5px}.annual-chart-plot{gap:3px;height:175px}.annual-bar{width:6px;border-radius:3px 3px 1px 1px}.annual-bar.pay{left:calc(50% - 7px)}.annual-bar.receive{left:calc(50% + 1px)}.annual-month-label{font-size:8px}.annual-month-label>small{font-size:7px}.annual-chart-scale,.annual-chart-bottom{font-size:8px;gap:9px}.annual-selected{padding:15px 13px;margin-top:20px}.annual-selected-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.annual-selected-values strong{font-size:14px}.annual-selected .section-heading h3{font-size:13px}.annual-cumulative-panel,.annual-table-panel{margin-top:16px}.annual-table{font-size:11px}.annual-table th{padding:11px 10px;font-size:9px}.annual-table td{padding:11px 10px}.annual-table button{font-size:11px}.annual-table-hint{font-size:9px}.annual-chart-hint{font-size:9px}.annual-profit-svg{height:130px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.access-counts{display:flex;gap:24px;margin:24px 0 15px;color:var(--muted);font-size:13px}.access-counts strong{color:var(--ink);font-size:21px;margin-right:4px}.access-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.access-user{margin:0;min-width:0}.access-user-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.access-user h2{margin:0;font-size:16px;overflow-wrap:anywhere}.access-user-heading p{margin:5px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.access-description{font-size:12px;line-height:1.65;color:var(--muted);min-height:40px;margin:16px 0}.access-enabled{background:#e9f6f0;color:#21846e}.install-account{margin-top:12px}.account-sheet #manage-access{margin-top:12px}@media(max-width:700px){.access-list{grid-template-columns:1fr}.access-user{padding:20px}.access-user h2{font-size:15px}.access-user-heading .tag{font-size:10px;flex-shrink:0}}