:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15243c;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.shell{max-width:960px;margin:auto;min-height:100vh}main{max-width:600px;margin:auto;padding:0 16px 105px}.app-header{height:76px;display:flex;align-items:center;justify-content:space-between;background:#fff;margin:0 -16px;padding:12px 18px;border-bottom:1px solid #edf0f5}.header-center{text-align:center;display:grid;gap:5px}.header-center b{font-size:17px}.header-center small{font-size:12px}.back-button,.header-action{border:0;background:transparent;color:#0869e9;padding:7px}.month-filter{text-align:center;min-height:14px}.month-filter input{border:1px solid #e7ebf2;border-radius:10px;background:#fff;padding:7px 12px;margin:12px 0 4px;color:#34445c;font-size:12px}.navigation{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #e6eaf1;padding:9px 4px max(12px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px #0000000a}.navigation button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#8a92a1}.navigation button.active{color:#0869e9;font-weight:700}.nav-icon{height:23px}.budget-card,.share-card,.joint-card,section{background:#fff;border:1px solid #e8ecf2;border-radius:15px;box-shadow:0 2px 9px #243a5408}.budget-card{padding:18px;margin:10px 0 12px}.budget-card-top{display:flex;justify-content:space-between;gap:10px;font-size:12px}.budget-card-top small{color:#7d8b9d;font-size:10px}.big-number{font-size:30px;display:block;margin:8px 0}.progress{height:8px;background:#e9edf3;border-radius:20px;overflow:hidden}.progress div{height:100%;background:#16af78;border-radius:20px}.remaining{display:block;text-align:right;color:#68778a;margin-top:8px;font-size:11px}.split-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.share-card{padding:15px 12px;display:grid;gap:10px;min-width:0}.share-card small{font-size:11px}.share-card strong{font-size:24px;white-space:nowrap}.share-card.blue{background:#eef6ff}.share-card.blue strong{color:#075ee3}.share-card.blue .progress div{background:#1587f9}.share-card.pink{background:#fff0f6}.share-card.pink strong{color:#df2778}.share-card.pink .progress div{background:#f65b9d}.joint-card{display:flex;gap:15px;align-items:center;padding:16px;margin-bottom:12px}.joint-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#e9f3ff;color:#1167d9;flex-shrink:0}.joint-card>div:last-child{display:grid;gap:4px}.joint-card strong{font-size:23px}.joint-card small{font-size:10px;color:#7b8ba0}.quick-add,.primary{display:flex;align-items:center;justify-content:center;gap:9px;background:#10a57a;color:#fff;border:0;border-radius:12px;padding:16px;width:100%;font-weight:700;font-size:15px}.quick-add{margin:0 0 12px}section{padding:16px;margin-bottom:12px}h2{font-size:15px;margin:0 0 15px}.chart-flex{display:flex;align-items:center;gap:4px}.donut{width:48%;min-width:0}.legend{flex:1;display:grid;gap:10px;font-size:11px}.legend>div{display:flex;align-items:center;gap:6px}.legend i,.entry i{width:9px;height:9px;display:inline-block;border-radius:50%;flex-shrink:0}.legend b{margin-left:auto}.expense-row{display:flex;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0f4;font-size:12px}.expense-row:last-child{border-bottom:0}.expense-icon{background:#e9f5ff;color:#0970db;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.expense-name{flex:1;min-width:0;display:grid;gap:4px}.expense-name small{font-size:10px;color:#7d8a9c;overflow:hidden;text-overflow:ellipsis}.expense-row>b{white-space:nowrap}.link{background:none;border:0;color:#0874e9;font-size:12px}.recent h2{display:flex;justify-content:space-between}.form-screen{border:0;box-shadow:none;background:transparent;padding:8px 0}.form{display:grid;gap:18px}.form label,.name-settings label{display:grid;gap:8px;font-size:14px;font-weight:600}.form input,.form select,.name-settings input,section input,section select{width:100%;padding:13px;border:1px solid #dbe2ec;border-radius:10px;background:#fff;color:#24334c}.form .amount-input{font-size:22px}.form .primary{background:#0969e9;margin-top:15px}.filter-row{display:flex;justify-content:space-between;padding:6px 0 14px;font-size:13px;font-weight:700}.delete{border:0;color:#c52b42;background:#fff0f2;border-radius:6px;padding:4px 7px}.floating-add{position:fixed;right:25px;bottom:90px;background:#0875ed;color:#fff;border:0;border-radius:50%;height:50px;width:50px;display:grid;place-items:center;box-shadow:0 4px 15px #0c6de750}.forecast-card h2{font-size:13px}.forecast-card>label{display:grid;gap:8px}.forecast-card p{font-size:13px}.forecast-card .progress{margin-top:14px}.entry{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eef0f4;font-size:13px}.entry span{flex:1}.entry small{display:block;color:#8390a0;font-size:11px}.chart{max-width:360px;margin:auto}.notice{background:#edf4ff;padding:13px;border-radius:10px;font-size:12px;line-height:1.6;margin:12px 0}.name-settings{display:grid;gap:12px;margin-bottom:20px}section>label{display:grid;gap:8px}section>p{line-height:1.6}.stats-card{margin-top:10px}@media(min-width:700px){main{padding-bottom:100px}.navigation{left:50%;transform:translate(-50%);max-width:600px;border-left:1px solid #e6eaf1;border-right:1px solid #e6eaf1}.app-header{border-left:1px solid #edf0f5;border-right:1px solid #edf0f5}}n.settlement-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;margin:16px 0;box-shadow:0 3px 12px #1d3e6710}.settlement-card h2{margin-top:0}.settlement-card p{line-height:1.5}.settlement-check{display:flex;gap:10px;align-items:center;margin:15px 0;font-weight:600}.settlement-check input{width:20px;height:20px;flex-shrink:0}n .category-manager{margin:24px 0;padding:18px;border:1px solid #e2e8f0;background:#fff;border-radius:16px}.category-add{display:flex;gap:8px;flex-wrap:wrap}.category-add input{flex:1;min-width:150px;padding:12px;border:1px solid #cbd5e1;border-radius:10px}.category-list{margin:16px 0}.category-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf2f7}.category-item button{border:0;background:#fee2e2;color:#991b1b;border-radius:8px;padding:8px;cursor:pointer}.category-item button:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.category-error{color:#b91c1c;font-weight:600}.reimbursed-toggle{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px;font-weight:600;color:#146a48}.reimbursed-toggle input{width:18px;height:18px;accent-color:#16a34a}.reimbursed-toggle small{font-size:11px}.expenses-screen .expense-row{flex-wrap:wrap;gap:8px}
