:root{font-family:IBM Plex Sans Thai,DM Sans,sans-serif;color:#263c35;background:#f6f8f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;font-weight:400;--ink:#263c35;--muted:#8b9993;--line:#e8eeea;--green:#367b69;--deep:#285f52;--pale:#eaf3ee;--peach:#d88465;--orange-pale:#fbefe8;--lav:#8d83b4;--white:#fff;--shadow:0 5px 24px rgba(41,73,59,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #aed4c5;outline-offset:2px}button:focus:not(:focus-visible),input:focus:not(:focus-visible),select:focus:not(:focus-visible){outline:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#fff;border-right:1px solid #edf0ed;padding:26px 16px 13px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 24px}.brand-mark{width:36px;height:36px;border-radius:12px;background:#387966;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700;box-shadow:0 5px 11px #367b6924}.brand div:last-child{display:grid;line-height:1.2}.brand b{font-size:15px;letter-spacing:.02em}.brand span{font-size:11px;color:#9aa69f;margin-top:3px}.workspace-switch{display:flex;align-items:center;gap:10px;background:#f8faf8;border:1px solid #eef1ee;padding:10px;border-radius:12px;margin:0 1px 27px}.workspace-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e5efe9;color:#367b69;font-weight:700}.workspace-text{display:grid;flex:1;min-width:0}.workspace-text b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-text span{font-size:10px;color:#98a39e}.chevron{font-size:15px;color:#8a9992}.nav-caption{color:#a5afa9;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:600;padding:0 12px 9px}.main-nav{display:grid;gap:4px}.nav-item{height:42px;display:flex;align-items:center;gap:12px;border:0;border-radius:9px;padding:0 12px;color:#73817a;background:transparent;text-align:left;font-size:13px;font-weight:500;transition:.16s}.nav-item:hover{background:#f7f9f7;color:var(--ink)}.nav-item.active{background:#edf5f0;color:#31715f;font-weight:600}.nav-icon{width:19px;text-align:center;font-size:17px}.nav-count{margin-left:auto;font-size:10px;background:#fff;border:1px solid #e8eeea;border-radius:7px;padding:1px 7px;color:#76867e}.sidebar-bottom{margin-top:auto}.sidebar-tip{background:#f2f7f3;border-radius:12px;padding:13px;margin:0 2px 17px}.sidebar-tip>span{color:#dfaa56;display:block;font-size:18px;margin-bottom:6px}.sidebar-tip b{font-size:11px}.sidebar-tip p{font-size:10px;color:#84948c;line-height:1.6;margin:4px 0 0}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #edf0ed;margin-top:11px;padding:14px 4px 0}.profile-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f3e4d6;color:#a2684c;font-weight:600;font-size:13px}.profile>div:nth-child(2){display:grid;flex:1}.profile b{font-size:11px}.profile span{font-size:9px;color:#97a39c}.more-button{border:0;background:none;color:#8d9993;letter-spacing:1px}.signout{margin-top:1px}.main-content{margin-left:250px;min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #edf0ed;display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:4}.breadcrumb{font-size:12px;color:#a0aaa4}.breadcrumb span{padding:0 9px;color:#ccd3ce}.breadcrumb b{font-weight:500;color:#3a5046}.top-actions{display:flex;align-items:center;gap:15px}.current-period{display:flex;align-items:center;gap:9px;border:1px solid #e8eeea;border-radius:9px;padding:6px 8px;color:#6e7d75;font-size:11px;background:#fff}.current-period .calendar-icon{font-size:14px;color:#648577}.current-period button{border:0;background:transparent;color:#7b8982;font-size:18px;line-height:1;padding:1px 2px}.button{height:38px;border:1px solid transparent;border-radius:8px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;transition:.15s;white-space:nowrap}.button-primary{background:#367b69;color:#fff;box-shadow:0 4px 10px #367b691f}.button-primary:hover{background:#2c6959;transform:translateY(-1px)}.button-soft{color:#397360;background:#edf5f0;border-color:#e5efe9}.button-soft:hover{background:#e2eee7}.button-outline{border-color:#e3e9e5;color:#718078;background:#fff}.button-outline:hover{background:#f7f9f7}.button-small{height:32px;padding:0 11px;font-size:11px}.demo-banner{height:34px;display:flex;align-items:center;gap:7px;padding:0 36px;background:#fff9eb;color:#987c44;border-bottom:1px solid #f1e9d7;font-size:10px}.demo-banner>span{color:#d2a04b}.demo-banner button{margin-left:auto;border:0;background:none;color:#8b7040;font-size:10px;text-decoration:underline}.page-wrap{max-width:1420px;margin:0 auto;padding:30px 36px 60px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.page-heading h1{font-size:25px;letter-spacing:-.025em;margin:2px 0 4px;font-weight:600;color:#233a31}.page-heading p{margin:0;color:#8a9891;font-size:12px}.eyebrow{font-size:10px;color:#84968c;letter-spacing:.035em}.eyebrow span{color:#ddaa59}.page-heading>.button{margin-bottom:2px}.summary-grid{display:grid;grid-template-columns:1.42fr 1fr 1fr 1fr;gap:13px;margin-bottom:17px}.summary-card{min-height:142px;background:#fff;border:1px solid #ebf0ec;border-radius:13px;padding:17px 17px 14px;box-shadow:var(--shadow);position:relative;overflow:hidden}.balance-card{background:#edf5f0;border-color:#e7f0ea}.summary-top{display:flex;justify-content:space-between;align-items:center;color:#7e8e85;font-size:11px}.summary-icon{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;font-size:15px}.summary-icon.mint{background:#dcebe2;color:#3a7c68}.summary-icon.green{background:#e9f4e9;color:#68a176}.summary-icon.peach{background:#fbefe8;color:#d58566}.summary-icon.lavender{background:#f0eef6;color:#8b81b3}.summary-value{font-family:DM Sans,IBM Plex Sans Thai,sans-serif;font-size:24px;letter-spacing:-.045em;font-weight:600;margin:13px 0 7px;color:#293d34;line-height:1.15}.summary-foot{display:flex;align-items:center;gap:6px;font-size:10px;color:#89978f}.summary-note{font-size:9px;color:#9ba9a1;margin-left:auto}.positive-dot{width:6px;height:6px;border-radius:50%;background:#75aa80}.lavender-dot{background:#9b90bc}.tiny-bar{width:8px;height:3px;border-radius:3px}.green-bar{background:#7dac85}.peach-bar{background:#df9375}.balance-spark{position:absolute;right:12px;bottom:0;width:79px;height:38px;display:flex;align-items:flex-end;gap:4px;opacity:.45}.balance-spark span{flex:1;background:#8ebca2;border-radius:3px 3px 0 0}.overview-grid{display:grid;grid-template-columns:minmax(0,1.57fr) minmax(280px,1fr);gap:15px;margin-bottom:16px}.lower-grid{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr)}.panel{background:#fff;border:1px solid #eaf0eb;border-radius:13px;box-shadow:var(--shadow)}.cashflow-panel,.goal-panel,.category-panel,.recent-panel{padding:18px 20px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start}.panel-heading h2,.section-title-row h2,.settings-section-head h2,.reset-panel h2,.cloud-panel h2{font-size:14px;font-weight:600;margin:0;color:#2c4238}.panel-heading p,.section-title-row p,.settings-section-head p{margin:3px 0 0;font-size:10px;color:#9aa59f}.net-pill{font-size:10px;padding:5px 8px;border-radius:7px}.net-positive{color:#5f9870;background:#eff7ef}.net-negative{color:#c47d61;background:#fbf1ec}.cashflow-legend{display:flex;gap:15px;margin:16px 0 1px;font-size:9px;color:#829088}.cashflow-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;display:inline-block;border-radius:50%}.income-dot{background:#77a782}.expense-dot{background:#dd987c}.chart-bars{height:147px;display:flex;align-items:flex-end;justify-content:space-around;padding:0 13px}.chart-column{height:100%;display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center}.bar-pair{height:118px;display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid #edf0ed;padding:0 4px}.bar{width:14px;min-height:3px;border-radius:4px 4px 0 0;opacity:.88}.income-bar{background:#8bb795}.expense-bar{background:#e7af98}.chart-label{font:9px DM Sans,sans-serif;color:#9aa59f;margin-top:8px}.chart-baseline{height:1px;background:#edf0ed;margin-top:-18px}.chart-caption{display:flex;justify-content:space-between;font-size:9px;color:#a1aaa4;margin-top:9px}.goal-panel{position:relative;overflow:hidden;min-height:250px}.icon-action{border:0;background:none;color:#9ba69f;letter-spacing:2px}.goal-number{font-size:20px;font-weight:600;letter-spacing:-.03em;margin:22px 0 13px}.goal-number span{font-size:12px;color:#9ba59f;font-weight:400}.progress-track{height:6px;background:#edf1ee;border-radius:9px;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:9px;background:#76a984}.goal-track{height:8px;position:relative;z-index:1}.goal-track>span{background:#519172}.goal-meta{display:flex;justify-content:space-between;margin-top:8px;font-size:9px;color:#92a099}.goal-meta b{color:#567b67;font-weight:500}.goal-art{position:absolute;right:0;bottom:0;width:153px;height:72px;background:linear-gradient(0deg,#e8f2e9,transparent);opacity:.7}.goal-pot{width:55px;height:43px;position:absolute;right:45px;bottom:-12px;background:#90b59a;border-radius:6px 6px 20px 20px;transform:perspective(60px) rotateX(-8deg)}.goal-coin{position:absolute;right:61px;bottom:42px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e6c777;color:#fff9db;font-size:12px}.art-leaf{position:absolute;color:#679c7d;font-size:31px;transform:rotate(-42deg)}.leaf-one{right:98px;bottom:12px}.leaf-two{right:20px;bottom:17px;transform:rotate(35deg)}.empty-inline{margin-top:24px;display:grid;gap:9px;color:#8e9c94;font-size:11px}.empty-inline>span{font-size:19px;color:#d5ae65}.empty-inline b{font-weight:500;color:#65776d}.text-button{border:0;padding:0;background:none;color:#4f876d;font-size:10px;font-weight:500}.category-bars{margin-top:18px;display:grid;gap:14px}.category-row{display:flex;align-items:center;gap:10px}.category-symbol{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#eef5ef;color:#55856b;font-size:13px}.category-symbol.large{width:36px;height:36px;flex-basis:36px;font-size:16px}.category-info{min-width:0;flex:1}.category-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:6px}.category-line b{font-weight:500;color:#52655b}.category-line span{font:10px DM Sans,sans-serif;color:#61766a}.category-info .progress-track{height:5px}.recent-list{margin-top:8px}.recent-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f3f0}.recent-item:last-child{border-bottom:0}.transaction-icon{flex:0 0 31px;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:13px}.transaction-icon.income{background:#edf5ed;color:#639475}.transaction-icon.expense{background:#fbf0eb;color:#cb8366}.recent-copy{display:grid;min-width:0;flex:1}.recent-copy b{font-size:10px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recent-copy span,.recent-amount span{font-size:9px;color:#9aa69e}.recent-amount{text-align:right;display:grid}.recent-amount b{font:600 10px DM Sans,IBM Plex Sans Thai,sans-serif}.recent-amount b.income{color:#4f8a68}.recent-amount b.expense{color:#c87c60}.empty-state{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#96a29b;text-align:center;font-size:11px}.empty-state p{margin:0}.empty-icon{font-size:26px;color:#b2c7b9}.empty-panel{padding:12px}.transaction-overview,.budget-highlights,.report-summary,.debt-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.transaction-overview>div,.highlight-card,.report-summary>div,.debt-summary>div{background:#fff;border:1px solid #eaf0eb;box-shadow:var(--shadow);border-radius:11px;padding:15px 17px;display:grid;gap:4px}.transaction-overview span,.highlight-card span,.report-summary span,.debt-summary span{font-size:10px;color:#91a097}.transaction-overview b,.highlight-card b,.report-summary b,.debt-summary b{font-size:19px;font-weight:600;letter-spacing:-.03em}.transaction-overview small{font-size:11px;font-weight:400;color:#94a098}.table-panel{overflow:hidden}.table-toolbar{padding:14px 17px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #eff2ef}.search-box{width:min(335px,100%);height:34px;border:1px solid #e8eeea;border-radius:8px;display:flex;align-items:center;padding:0 9px;gap:7px;color:#93a098}.search-box>span{font-size:17px}.search-box input{border:0;outline:none!important;flex:1;min-width:0;font-size:10px;color:#40574b}.search-box button{border:0;background:none;color:#8b9991;font-size:15px}.filter-chips{display:flex;gap:4px}.filter-chips button{border:0;background:transparent;border-radius:7px;padding:7px 11px;color:#8a9990;font-size:10px}.filter-chips button.selected{background:#edf4ef;color:#3c795f}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:780px}th{text-align:left;color:#96a19a;font-size:9px;font-weight:500;padding:11px 15px;background:#fbfcfb;border-bottom:1px solid #eff2ef}td{padding:12px 15px;border-bottom:1px solid #f0f2f0;color:#69776f;font-size:10px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfc}.table-main{display:flex;align-items:center;gap:9px;min-width:175px}.table-main>span:last-child{display:grid;gap:1px}.table-main b{font-size:10px;font-weight:500;color:#43584c}.table-main small{font-size:9px;color:#9aa69e}.category-chip{background:#f3f6f3;padding:4px 7px;border-radius:6px;color:#718379;white-space:nowrap}.member-chip{display:inline-flex;gap:5px;align-items:center;white-space:nowrap}.member-chip i{width:6px;height:6px;border-radius:50%}.align-right{text-align:right}.amount-cell{font:600 10px DM Sans,IBM Plex Sans Thai,sans-serif;white-space:nowrap}.amount-cell.income{color:#4c8b69}.amount-cell.expense{color:#c67c61}.row-actions{display:flex;gap:2px;justify-content:flex-end;opacity:.4;transition:.15s}.row-actions:hover{opacity:1}.row-actions button{border:0;background:transparent;color:#78877f;border-radius:5px;width:25px;height:25px;font-size:13px}.row-actions button:hover{background:#edf4ef;color:#367b69}.budget-highlights{grid-template-columns:repeat(4,1fr)}.highlight-card{min-height:114px}.highlight-card b{font:600 19px DM Sans,IBM Plex Sans Thai,sans-serif}.highlight-card small{font-size:9px;color:#99a49e}.goal-highlight button{border:0;background:none;padding:0;text-align:left;color:#55866c;font-size:10px}.section-title-row{display:flex;align-items:center;justify-content:space-between;margin:28px 0 13px}.section-title-row h2{font-size:15px}.subtle-count{font-size:10px;color:#909d96;background:#fff;border:1px solid #e9efea;padding:4px 9px;border-radius:7px}.budget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.budget-card{padding:16px}.budget-card-top{display:flex;align-items:center;justify-content:space-between}.budget-card-top .row-actions{opacity:.7}.budget-cat-name{font-size:12px;font-weight:500;margin:12px 0 10px}.budget-amount-line{display:flex;align-items:baseline;gap:5px;margin-bottom:9px}.budget-amount-line b{font-size:16px;font-family:DM Sans,IBM Plex Sans Thai,sans-serif}.budget-amount-line span{font-size:9px;color:#97a29b}.budget-track{height:6px}.budget-track.near>span{background:#d0a665}.budget-track.over>span{background:#d77d62}.budget-footer{display:flex;justify-content:space-between;margin-top:8px;color:#919e96;font-size:9px}.budget-footer b{font-weight:500;color:#60866c}.budget-footer b.text-peach{color:#cf7e62}.report-tabs{display:flex;gap:4px;margin-bottom:13px}.report-tabs button{border:0;background:transparent;padding:8px 14px;border-radius:8px;color:#8e9b93;font-size:11px}.report-tabs button.active{background:#eaf3ed;color:#3d795f;font-weight:600}.report-summary{grid-template-columns:repeat(4,1fr)}.report-summary>div{padding:14px 16px}.report-summary b{font:600 18px DM Sans,IBM Plex Sans Thai,sans-serif}.report-summary small,.debt-summary small{font-size:9px;color:#98a49d}.reports-grid{display:grid;grid-template-columns:1.25fr .85fr;gap:14px}.report-chart,.report-members{padding:18px}.report-categories{display:grid;gap:15px;margin-top:19px}.report-category{display:flex;align-items:center;gap:9px}.rank{width:17px;color:#a9b4ac;font:10px DM Sans,sans-serif}.report-cat-content{flex:1;min-width:0}.report-cat-content>div:first-child,.member-report-copy>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.report-cat-content b,.member-report-copy b{font-size:10px;font-weight:500}.report-cat-content>div:first-child>span,.member-report-copy>div:first-child>span{font:10px DM Sans,IBM Plex Sans Thai,sans-serif;color:#64786d}.report-cat-content small{color:#98a39d;font-size:9px;margin-left:5px}.report-members .panel-heading{margin-bottom:17px}.member-report-list{display:grid;gap:18px}.member-report-row{display:flex;align-items:center;gap:9px}.member-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;flex:0 0 30px}.member-report-copy{flex:1}.member-report-copy .progress-track{height:5px}.debt-summary{grid-template-columns:repeat(3,1fr)}.debt-summary>div{padding:16px 18px}.debt-summary b{font:600 20px DM Sans,IBM Plex Sans Thai,sans-serif}.debt-list{display:grid;gap:13px}.debt-card{padding:17px 19px}.debt-card-head{display:flex;align-items:center;gap:10px}.debt-icon{width:35px;height:35px;border-radius:10px;background:#f0eef7;color:#867caf;display:grid;place-items:center;font-size:17px}.debt-title{flex:1}.debt-title h3{font-size:12px;margin:0 0 2px;font-weight:600}.debt-title span{font-size:9px;color:#94a098}.status-badge{font-size:9px;border-radius:6px;padding:4px 8px}.status-badge.active{background:#eef6ee;color:#65916a}.status-badge.closed{background:#f2f3f2;color:#8f9993}.debt-card-head .row-actions{opacity:.65}.debt-numbers{display:grid;grid-template-columns:1.3fr 1fr 1fr;margin:17px 0 13px}.debt-numbers>div{display:grid;gap:3px;border-right:1px solid #eef1ee;padding-left:14px}.debt-numbers>div:first-child{padding-left:0}.debt-numbers>div:last-child{border:0}.debt-numbers span{font-size:9px;color:#98a49d}.debt-numbers b{font:600 14px DM Sans,IBM Plex Sans Thai,sans-serif}.debt-progress{height:6px}.debt-progress>span{background:#8c83b3}.debt-meta{display:flex;justify-content:space-between;color:#929f97;font-size:9px;margin-top:8px}.debt-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:13px;border-top:1px solid #f0f3f0;padding-top:11px;color:#84958c;font-size:9px}.debt-actions{display:flex;align-items:center;gap:12px}.closed-debt{opacity:.74}.text-green{color:#56896b!important}.text-peach{color:#c77d62!important}.settings-overview{display:flex;align-items:center;gap:14px;padding:17px 19px;margin-bottom:14px}.settings-mark{width:43px;height:43px;border-radius:12px;background:#eaf3ed;display:grid;place-items:center;color:#4c886e;font-size:19px}.settings-overview>div{flex:1}.settings-label{font-size:9px;color:#97a49c}.settings-overview h2{font-size:14px;margin:0;font-weight:600}.settings-overview p{font-size:10px;color:#89978f;margin:3px 0 0}.demo-tag{font:600 9px DM Sans,sans-serif;color:#ad915c;background:#fbf5e8;border-radius:5px;padding:5px 7px}.settings-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:14px;align-items:start}.settings-panel{padding:17px}.settings-section-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}.settings-list{display:grid}.settings-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #f0f3f0}.settings-row-copy{display:grid;flex:1}.settings-row-copy b{font-size:10px;font-weight:500}.settings-row-copy span{font-size:9px;color:#98a49d}.settings-row .row-actions{opacity:.65}.category-settings-groups{display:grid;gap:12px}.group-label{font-size:9px;color:#9da9a1;margin:0 0 4px}.category-settings-row{padding:6px 0}.category-settings-row .category-symbol{height:26px;width:26px;flex-basis:26px}.reset-panel{margin-top:14px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between}.reset-panel p{margin:3px 0 0;font-size:10px;color:#94a198}.cloud-panel{margin-top:14px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between}.cloud-panel>div{display:flex;align-items:center;gap:12px}.cloud-icon{width:36px;height:36px;border-radius:10px;background:#eff4f7;display:grid;place-items:center;color:#728da0;font-size:18px}.cloud-panel h2{font-size:12px}.cloud-panel p{font-size:9px;color:#97a29c;margin:3px 0 0}.cloud-panel code{font-size:9px;background:#f3f5f3;border-radius:4px;padding:1px 4px}.connection-status{display:flex;gap:6px;align-items:center;background:#f8f4e9;color:#a58c56;border-radius:7px;padding:6px 8px;font-size:9px;white-space:nowrap}.connection-status i{width:6px;height:6px;border-radius:50%;background:#d1ad5a}.connection-status.configured{color:#56896b;background:#eff6ee}.connection-status.configured i{background:#71a57a}.modal-backdrop{position:fixed;inset:0;background:#1e332b72;z-index:20;display:flex;align-items:center;justify-content:center;padding:18px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{width:min(530px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 25px 70px #203e302e;padding:22px}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.modal-heading h2{font-size:19px;margin:3px 0 0;font-weight:600}.modal-close{width:29px;height:29px;border:0;background:#f4f6f4;border-radius:8px;color:#74837a;font-size:20px;line-height:1}.kind-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f3f6f3;border-radius:9px;margin-bottom:16px}.kind-switch button{height:33px;border:0;background:transparent;border-radius:7px;color:#8c9a92;font-size:11px}.kind-switch button.active.expense-switch{background:#fff;color:#c77d61;box-shadow:0 2px 7px #283b2b10}.kind-switch button.active.income-switch{background:#fff;color:#56896b;box-shadow:0 2px 7px #283b2b10}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label,.auth-form label,.setup-card label{display:grid;gap:6px;font-size:10px;color:#68786e}.form-grid label input,.form-grid label select,.auth-form input,.setup-card input,.setup-card select{min-width:0;width:100%;height:37px;border:1px solid #e5ebe6;border-radius:7px;padding:0 10px;background:#fff;color:#3a4e42;font-size:11px}.form-grid input[type=color]{padding:3px;height:34px;width:56px}.form-grid label input::placeholder,.auth-form input::placeholder{color:#b3bdb6}.form-grid .full-field{grid-column:1/-1}.required{color:#d98163}.amount-input{display:flex;align-items:center;border:1px solid #e5ebe6;border-radius:7px;height:39px;padding:0 10px;gap:6px}.amount-input:focus-within{border-color:#9fc6ae}.amount-input span{color:#89a092;font-size:12px}.amount-input input{border:0!important;height:35px!important;padding:0!important;font:600 15px DM Sans,IBM Plex Sans Thai,sans-serif!important;color:#30493c!important;outline:none!important}.field-hint{font-size:9px;color:#9aa69e}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid #eff2ef}.alert{display:flex;align-items:center;gap:8px;border:1px solid #f2d8cb;background:#fff7f3;color:#a65f47;padding:9px 11px;border-radius:8px;font-size:11px;margin:13px 0}.alert>span{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#f3dbcf;font-size:10px}.alert button{margin-left:auto;border:0;background:none;color:inherit;font-size:17px}.center-screen{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8b9991;font-size:12px}.loader{width:27px;height:27px;border:3px solid #e7efe9;border-top-color:#4f8c70;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#fff}.auth-decoration{background:#eaf3ed;display:grid;place-items:center;position:relative;overflow:hidden}.auth-poster{position:relative;z-index:1;width:min(420px,76%);height:470px;background:#dcebe0;border-radius:40% 40% 13px 13px;padding:61px 47px;overflow:hidden}.auth-poster>span{font-size:12px;color:#4e8268}.auth-poster>b{display:block;font-size:34px;line-height:1.45;color:#365d49;margin-top:66px;letter-spacing:-.04em}.auth-poster>p{font-size:13px;color:#758e7d;line-height:1.8;margin-top:16px}.poster-plant{position:absolute;right:20px;bottom:4px;width:160px;height:150px;border-radius:90px 90px 0 0;background:linear-gradient(145deg,#91b79c,#b8d0ba);display:grid;place-items:center;color:#e7c874;font-size:45px;opacity:.68}.auth-orbit{position:absolute;border:1px solid #cbded0;border-radius:50%}.orbit-one{width:580px;height:580px;left:-180px;top:-220px}.orbit-two{width:420px;height:420px;right:-185px;bottom:-130px}.auth-form-wrap{display:flex;flex-direction:column;padding:34px max(8%,70px)}.auth-brand{padding:0;margin-bottom:auto}.auth-form{margin:auto 0;max-width:350px;width:100%}.auth-form h1,.setup-card h1{font-size:26px;margin:6px 0;font-weight:600;letter-spacing:-.03em}.auth-form>p,.setup-card>p{font-size:12px;color:#89978f;margin:0 0 21px}.auth-form form,.setup-card form{display:grid;gap:13px}.auth-submit{height:42px;width:100%;margin-top:3px}.auth-form>small{display:block;color:#9ca7a0;font-size:9px;margin-top:15px}.auth-form-wrap:after{content:"ข้อมูลของคุณเป็นส่วนตัวและแยกตามบัญชี";font-size:9px;color:#adb6b0;margin-top:auto}.setup-screen{background:#f4f7f4}.setup-card{width:min(440px,calc(100% - 32px));background:#fff;border:1px solid #eaf0eb;border-radius:17px;padding:30px;box-shadow:var(--shadow)}.setup-card .brand{padding:0;margin-bottom:25px}.setup-card .eyebrow{margin-top:5px}.setup-card label small{font-size:9px;color:#97a39b}@media(max-width:1150px){.sidebar{width:220px}.main-content{margin-left:220px}.topbar{padding:0 24px}.page-wrap{padding:25px 24px 50px}.summary-grid{grid-template-columns:repeat(2,1fr)}.summary-card{min-height:125px}.budget-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.sidebar{width:64px;padding:18px 7px 9px;align-items:center}.sidebar .brand{padding:0 0 20px}.brand>div:last-child,.workspace-switch,.nav-caption,.nav-item:not(.active) .nav-icon~*,.nav-item:not(.active),.nav-item.active{font-size:0}.sidebar .brand-mark{width:38px;height:38px}.main-nav{width:100%;gap:5px}.nav-item{justify-content:center;padding:0;width:50px;margin:auto}.nav-item .nav-icon{font-size:17px}.nav-count,.sidebar-tip,.profile>div:nth-child(2),.more-button,.signout{display:none}.sidebar-bottom{width:100%}.profile{justify-content:center;padding-top:11px}.profile-avatar{width:34px;height:34px}.main-content{margin-left:64px}.topbar{height:62px;padding:0 15px}.breadcrumb{display:none}.mobile-brand{display:flex!important;align-items:center;gap:7px;font-size:13px}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:9px;font-size:16px}.top-actions{gap:7px}.current-period{gap:5px;padding:5px;font-size:9px}.current-period .calendar-icon{display:none}.top-actions>.button{width:36px;padding:0;font-size:0}.top-actions>.button span{font-size:18px}.demo-banner{padding:0 13px;font-size:9px}.page-wrap{padding:21px 14px 38px}.page-heading h1{font-size:21px}.page-heading p{font-size:10px}.page-heading .button{height:34px;padding:0 10px;font-size:10px}.summary-grid{gap:8px}.summary-card{padding:13px;min-height:119px}.summary-value{font-size:19px}.summary-top{font-size:10px}.summary-icon{width:25px;height:25px}.summary-note{display:none}.overview-grid,.lower-grid,.reports-grid{grid-template-columns:1fr;gap:10px}.cashflow-panel,.goal-panel,.category-panel,.recent-panel{padding:15px}.transaction-overview{gap:7px}.transaction-overview>div{padding:11px 9px}.transaction-overview span{font-size:8px}.transaction-overview b{font-size:14px}.transaction-overview small{font-size:9px}.table-toolbar{align-items:stretch;flex-direction:column}.search-box{width:100%}.filter-chips{justify-content:flex-start}.budget-highlights{grid-template-columns:repeat(2,1fr);gap:8px}.highlight-card{padding:12px;min-height:98px}.highlight-card b{font-size:16px}.budget-grid{grid-template-columns:1fr 1fr;gap:8px}.budget-card{padding:12px}.budget-amount-line{display:grid;gap:1px}.budget-amount-line b{font-size:14px}.budget-footer{font-size:8px}.report-summary{grid-template-columns:repeat(2,1fr);gap:8px}.report-summary>div{padding:12px}.report-summary b{font-size:16px}.debt-summary{gap:7px}.debt-summary>div{padding:11px 9px}.debt-summary span{font-size:8px}.debt-summary b{font-size:14px}.debt-summary small{font-size:8px}.debt-card{padding:13px}.debt-numbers{grid-template-columns:1.2fr 1fr 1fr}.debt-numbers>div{padding-left:8px}.debt-numbers span{font-size:8px}.debt-numbers b{font-size:11px}.debt-meta{font-size:8px}.debt-card-foot{align-items:flex-start;gap:7px;flex-direction:column}.debt-actions{width:100%;justify-content:space-between}.settings-grid{grid-template-columns:1fr;gap:9px}.cloud-panel{align-items:flex-start;gap:10px;flex-direction:column}.reset-panel{align-items:flex-start;gap:12px;flex-direction:column}.auth-screen{grid-template-columns:1fr}.auth-decoration{display:none}.auth-form-wrap{min-height:100vh;padding:25px}.auth-brand{margin-bottom:auto}.auth-form{margin:auto}.setup-card{padding:23px}.modal-card{padding:18px}.form-grid{gap:10px}.modal-heading h2{font-size:17px}}@media(max-width:430px){.current-period{font-size:8px}.current-period button{font-size:15px}.page-heading{gap:8px}.summary-grid{grid-template-columns:1fr 1fr}.summary-card{min-height:110px}.budget-grid{grid-template-columns:1fr}.budget-card{padding:14px}.form-grid{grid-template-columns:1fr}.form-grid label,.form-grid .full-field{grid-column:1/-1}.settings-section-head{gap:8px}.settings-section-head p{max-width:210px}.modal-card{max-height:calc(100vh - 20px)}.modal-backdrop{padding:10px}}.mobile-brand{display:none}:root{color-scheme:light;font-family:Kanit,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d1d1f;background:#f5f5f7;--ink: #1d1d1f;--muted: #86868b;--line: #e5e5ea;--green: #34a96a;--deep: #007aff;--pale: #eef6ff;--peach: #ff9500;--orange-pale: #fff5e8;--lav: #8e8e93;--white: #fff;--shadow: none}*,*:before,*:after{font-family:Kanit,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important}body{background:#f5f5f7;color:#1d1d1f}.sidebar,.topbar,.panel,.summary-card,.transaction-overview>div,.highlight-card,.report-summary>div,.debt-summary>div,.subtle-count,.modal-card,.setup-card{border-color:#e5e5ea;box-shadow:none}.sidebar,.topbar,.panel,.summary-card,.transaction-overview>div,.highlight-card,.report-summary>div,.debt-summary>div,.modal-card,.setup-card{background-color:#fff}.sidebar{border-right-color:#e5e5ea}.topbar{border-bottom-color:#e5e5ea}.brand-mark{background:#007aff;box-shadow:none;border-radius:11px}.workspace-switch{background:#f5f5f7;border-color:#e5e5ea}.workspace-avatar,.profile-avatar{background:#e9f2ff;color:#007aff}.nav-item{color:#6e6e73}.nav-item:hover{background:#f5f5f7;color:#1d1d1f}.nav-item.active{color:#007aff;background:#eef6ff}.nav-count{background:#f5f5f7;border-color:#e5e5ea}.sidebar-tip{background:#f5f5f7}.sidebar-tip>span,.eyebrow span{color:#ff9f0a}.main-content{background:#f5f5f7}.breadcrumb{color:#86868b}.breadcrumb b{color:#1d1d1f}.button-primary{background:#007aff;color:#fff;box-shadow:none}.button-primary:hover{background:#0066d6}.button-soft{color:#007aff;background:#eef6ff;border-color:transparent}.button-soft:hover{background:#e1efff}.button-outline{border-color:#d2d2d7;color:#424245}.demo-banner{background:#f2f2f7;color:#6e6e73;border-color:#e5e5ea}.demo-banner>span{color:#ff9f0a}.demo-banner button{color:#007aff}.page-heading h1,.panel-heading h2,.section-title-row h2,.settings-section-head h2,.reset-panel h2,.cloud-panel h2,.modal-heading h2{color:#1d1d1f}.page-heading p,.panel-heading p,.section-title-row p,.settings-section-head p,.eyebrow{color:#86868b}.balance-card{background:#fff;border-color:#e5e5ea}.summary-value,.goal-number,.transaction-overview b,.highlight-card b,.report-summary b,.debt-summary b{color:#1d1d1f}.summary-icon.mint,.summary-icon.green{background:#ecf8f0;color:#248a50}.summary-icon.peach{background:#fff4e5;color:#d57900}.summary-icon.lavender{background:#f2f2f7;color:#6e6e73}.positive-dot,.green-bar{background:#34a96a}.lavender-dot{background:#8e8e93}.net-positive,.report-tabs button.active{color:#007aff;background:#eef6ff}.net-negative{color:#d57900;background:#fff4e5}.income-dot,.income-bar{background:#34a96a}.expense-dot,.expense-bar{background:#ff9f0a}.goal-track>span{background:#007aff}.goal-meta b,.text-button,.goal-highlight button{color:#007aff}.category-symbol{background:#f2f2f7;color:#626267}.category-symbol.income{background:#ecf8f0;color:#248a50}.category-symbol.expense{background:#fff4e5;color:#d57900}.transaction-icon.income{color:#248a50;background:#ecf8f0}.transaction-icon.expense{color:#d57900;background:#fff4e5}.recent-amount b.income,.amount-cell.income,.text-green{color:#248a50!important}.recent-amount b.expense,.amount-cell.expense,.text-peach{color:#d57900!important}.progress-track{background:#e9e9ee}.progress-track>span{background:#34a96a}.budget-track.near>span{background:#ffb340}.budget-track.over>span{background:#ff3b30}.report-tabs button.active{font-weight:600}.debt-icon{background:#f2f2f7;color:#6e6e73}.debt-progress>span{background:#007aff}.status-badge.active{background:#ecf8f0;color:#248a50}.settings-mark{background:#eef6ff;color:#007aff}.demo-tag{color:#936300;background:#fff4d6}.cloud-icon{background:#f2f2f7;color:#6e6e73}.connection-status{background:#fff4d6;color:#8e6800}.connection-status.configured{color:#248a50;background:#ecf8f0}.kind-switch button.active.expense-switch{color:#d57900}.kind-switch button.active.income-switch{color:#248a50}.kind-switch button.active{box-shadow:none}.form-grid label input:focus,.form-grid label select:focus,.auth-form input:focus,.setup-card input:focus,.setup-card select:focus{border-color:#007aff}.amount-input:focus-within{border-color:#007aff}.row-actions button:hover{color:#007aff;background:#eef6ff}.modal-close{background:#f2f2f7;color:#6e6e73}.goal-art{background:linear-gradient(0deg,#f1f7f2,transparent)}.goal-pot{background:#a6c4ad}.auth-decoration{background:#eef6ff}.auth-poster{background:#dcecff}.auth-poster>span{color:#007aff}.auth-poster>b{color:#1d1d1f}.auth-poster>p{color:#6e6e73}.auth-orbit{border-color:#d7e7fb}.setup-screen{background:#f5f5f7}.alert{border-color:#f2c9bf}.notice{display:flex;align-items:center;gap:10px;margin:12px 36px 0;padding:10px 13px;border:1px solid #b9e4c8;border-radius:10px;color:#176b37;background:#f0fbf3;font-size:12px}.notice button{margin-left:auto;border:0;background:transparent;color:inherit;font-size:18px}.household-users-panel{margin-bottom:14px;padding:17px}.household-users-panel .settings-section-head{margin-bottom:6px}.household-user-row .member-avatar{flex:0 0 34px;display:grid;place-items:center;border-radius:50%;background:#eef6ff;color:#007aff;font-size:10px}.member-invite-form{display:flex;align-items:flex-end;gap:10px;margin-top:15px}.member-invite-form label{display:grid;flex:1;gap:6px;color:#515158;font-size:11px}.member-invite-form input{width:100%;min-width:0;height:38px;border:1px solid #d2d2d7;border-radius:9px;padding:0 11px;background:#fff;color:#1d1d1f;font-size:13px}.member-invite-hint{margin-top:12px;padding:10px 12px;border-radius:9px;background:#f5f5f7;color:#6e6e73;font-size:11px;line-height:1.65}.member-invite-hint b{color:#424245}.unlinked-card>p{line-height:1.7;overflow-wrap:anywhere}.mobile-nav{display:none}@media(max-width:780px){body{min-width:0}.sidebar{display:none}.main-content{margin-left:0;padding-bottom:calc(102px + env(safe-area-inset-bottom))}body{font-size:15px;line-height:1.5}.topbar{height:66px;padding-left:15px;padding-right:15px}.mobile-brand{font-size:16px}.mobile-brand .brand-mark{width:34px;height:34px;font-size:18px}.top-actions{gap:8px}.current-period{gap:5px;padding:6px 7px;font-size:12px}.current-period button{min-width:30px;min-height:32px;font-size:20px}.top-actions>.button{width:44px;height:44px;min-height:44px}.top-actions>.button span{font-size:21px}.demo-banner{height:auto;min-height:42px;flex-wrap:wrap;gap:4px 8px;padding:8px 14px;font-size:12px;line-height:1.45}.demo-banner button{min-height:36px;font-size:12px}.page-wrap{width:100%;min-width:0;padding:24px 16px 30px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:10px;margin-bottom:20px}.page-heading>div{flex:1 1 180px;min-width:0}.page-heading h1{font-size:23px;line-height:1.3}.page-heading p{font-size:14px;line-height:1.45}.page-heading .button{min-height:44px;height:44px;padding:0 13px;font-size:13px}.eyebrow{font-size:12px}.button{min-height:44px;font-size:14px}.button-small{min-height:40px;height:40px;font-size:13px}.mobile-nav{position:fixed;z-index:12;inset:auto 0 0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));min-height:82px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#fffffff0;border-top:1px solid rgba(60,60,67,.16);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px)}.mobile-nav button{position:relative;min-width:0;padding:0 1px;border:0;background:transparent;color:#8e8e93;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.mobile-nav button>span{font-size:20px;line-height:1.1}.mobile-nav button>small{max-width:100%;overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.mobile-nav button.active{color:#39377f;background:#f1f1fa}.mobile-nav button.active:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:#39377f}.mobile-nav button.active>small{font-weight:600}.summary-grid{gap:10px}.summary-card{min-height:128px;padding:15px}.summary-top{font-size:12px}.summary-value{font-size:21px}.summary-foot{font-size:12px;line-height:1.4}.overview-grid,.lower-grid,.reports-grid{grid-template-columns:minmax(0,1fr);min-width:0}.overview-grid>*,.lower-grid>*,.reports-grid>*{width:100%;min-width:0}.panel-heading{flex-wrap:wrap;gap:6px}.panel-heading>div:first-child{flex:1 1 180px;min-width:0}.chart-bars{width:100%;min-width:0;overflow:hidden;padding-right:16px}.panel-heading h2,.section-title-row h2,.settings-section-head h2,.reset-panel h2,.cloud-panel h2{font-size:17px;line-height:1.35}.panel-heading p,.section-title-row p,.settings-section-head p{font-size:13px;line-height:1.5}.net-pill,.cashflow-legend,.chart-caption{font-size:12px}.goal-number{font-size:23px}.goal-number span{font-size:14px}.goal-meta{font-size:12px;line-height:1.5}.text-button{font-size:13px}.category-line{font-size:13px;line-height:1.4}.recent-copy b,.report-cat-content b,.member-report-copy b{font-size:14px}.recent-copy span,.recent-amount span,.report-cat-content small{font-size:12px;line-height:1.45}.recent-amount b{font-size:14px}.transaction-overview{gap:9px}.transaction-overview>div{padding:13px 11px}.transaction-overview span,.highlight-card span,.report-summary span,.debt-summary span{font-size:12px}.transaction-overview b,.highlight-card b,.report-summary b,.debt-summary b{font-size:18px}.transaction-overview small,.highlight-card small,.report-summary small,.debt-summary small{font-size:12px;line-height:1.45}.table-toolbar{padding:14px;gap:10px}.search-box{height:46px}.search-box input{font-size:15px}.filter-chips{gap:6px;flex-wrap:wrap}.filter-chips button{min-height:40px;padding:7px 12px;font-size:13px}th{font-size:12px}.table-main b{font-size:14px;line-height:1.4}.table-main small{font-size:12px;line-height:1.4}.amount-cell{font-size:14px}.budget-highlights{gap:10px}.highlight-card{min-height:112px;padding:14px}.budget-cat-name{font-size:14px}.budget-amount-line b{font-size:18px}.budget-amount-line span,.budget-footer{font-size:12px;line-height:1.4}.report-summary{gap:10px}.report-summary>div{padding:14px}.debt-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.debt-summary>div{min-width:0;padding:13px 11px}.debt-summary span,.debt-summary small{overflow-wrap:anywhere}.debt-title h3{font-size:15px}.debt-title span,.status-badge,.debt-numbers span,.debt-meta,.debt-card-foot{font-size:12px;line-height:1.45}.debt-numbers b{font-size:14px}.debt-numbers{grid-template-columns:repeat(3,minmax(0,1fr))}.debt-numbers>div{min-width:0}.debt-card{padding:16px}.debt-actions{gap:8px}.settings-label,.group-label,.reset-panel p,.cloud-panel p,.connection-status{font-size:12px}.settings-overview h2{font-size:17px}.settings-overview p{font-size:13px;line-height:1.5}.settings-row{gap:10px;padding:11px 0}.settings-row-copy b{font-size:14px}.settings-row-copy span{font-size:12px;line-height:1.4}.row-actions{opacity:1;gap:4px}.row-actions button{width:40px;height:40px;font-size:16px}.icon-action{min-width:44px;min-height:44px}.modal-card{padding:20px}.modal-heading h2{font-size:20px}.modal-close{width:40px;height:40px}.form-grid{gap:13px}.form-grid label,.auth-form label,.setup-card label{font-size:13px;line-height:1.4}.form-grid label input,.form-grid label select,.auth-form input,.setup-card input,.setup-card select{height:46px;font-size:16px}.amount-input{height:46px}.amount-input input{height:42px!important;font-size:17px!important}.field-hint,.setup-card label small,.auth-form>small,.auth-form-wrap:after{font-size:12px;line-height:1.5}.alert,.notice{font-size:14px;line-height:1.5}.modal-footer{flex-wrap:wrap}.modal-footer .button{min-height:44px}.member-invite-form label{font-size:13px}.member-invite-form input{height:46px;font-size:16px}.member-invite-hint{font-size:12px;line-height:1.5}.notice{margin:10px 14px 0}.member-invite-form{align-items:stretch;flex-direction:column}.member-invite-form .button{width:100%}.household-users-panel{padding:14px}}@media(max-width:390px){.page-wrap{padding-left:14px;padding-right:14px}.mobile-nav button>small{font-size:10px}.mobile-nav button>span{font-size:18px}.current-period{font-size:11px}.current-period{max-width:150px}.current-period>span:nth-child(2){max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(max-width:360px){.topbar{gap:6px}.mobile-brand{flex-shrink:0;gap:5px;white-space:nowrap}.mobile-brand .brand-mark{flex:0 0 32px;width:32px;height:32px}.top-actions{min-width:0;gap:6px}.current-period{min-width:0;max-width:120px;padding:5px}.current-period>span:nth-child(2){max-width:48px}.current-period button{min-width:24px;padding:0 2px}.top-actions>.button{width:40px;height:40px;min-height:40px}}
