.post-expense-dialog{max-width:620px}.post-expense-form{gap:15px;display:grid}.post-expense-form input,.post-expense-form select{width:100%}.post-expense-form .text-input{background:#f8faf8;border:1px solid #ccd9cf;border-radius:8px;outline:none;min-height:44px;padding:0 11px}.amount-field{grid-template-columns:auto 1fr;margin-top:6px;display:grid}.amount-field span{background:#edf3ee;border:1px solid #ccd9cf;border-radius:8px 0 0 8px;align-items:center;padding:0 12px;display:flex}.amount-field input{border-radius:0 8px 8px 0!important}.form-label-row{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.form-label-row .form-label{margin:0}.participant-grid{flex-wrap:wrap;gap:8px;display:flex}.participant-chip{color:#4f6158;background:#f3f6f3;border:1px solid #ccd9cf;border-radius:999px;align-items:center;gap:5px;min-height:38px;padding:0 12px;display:inline-flex}.participant-chip.selected{color:#214a18;background:#dff0d7;border-color:#8eb77a;font-weight:800}.allocation-toggle{background:#edf3ee;border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.allocation-toggle button{color:#4f6158;background:0 0;border-radius:6px;min-height:38px}.allocation-toggle button.selected{color:#10231b;background:#fff;font-weight:800;box-shadow:0 1px 4px #12231b14}.custom-allocation-list{background:#f7faf7;border:1px solid #e2ebe4;border-radius:10px;gap:10px;padding:11px;display:grid}.allocation-total{border-top:1px solid #dfe8e1;justify-content:space-between;align-items:center;padding-top:10px;display:flex}.allocation-total.valid{color:#147844}.allocation-total.invalid{color:#b43c27}.expense-adjustment-box{background:#fff9e9;border:1px solid #f0dcaa;border-radius:10px;padding:12px}.expense-adjustment-box .section-title{margin-bottom:10px}.expense-adjustment-box h3,.preview-card h3{margin:0;font-size:.95rem}.adjustment-preview{color:#147844;background:#edf7ed;border-radius:8px;margin:0;padding:9px;font-size:.82rem}.expense-preview-screen{gap:12px;display:grid}.preview-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.preview-summary>div{background:#f7faf7;border:1px solid #e2ebe4;border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.preview-summary span{color:#66746b;font-size:.72rem}.preview-summary strong{overflow-wrap:anywhere}.preview-card{background:#fff;border:1px solid #e2ebe4;border-radius:10px;padding:12px}.preview-row{border-top:1px solid #edf2ee;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.preview-row:first-of-type{border-top:0}.adjustment-preview-card p{color:#66746b;margin:5px 0 0;font-size:.82rem}@media (width<=520px){.preview-summary{grid-template-columns:1fr}}:root{color:#17211c;font-synthesis:none;text-rendering:optimizelegibility;background:#eef3ee;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer;border:0}.app-shell{width:100%;max-width:980px;margin:0 auto;padding:18px 14px 88px}.topbar{color:#f7fbf8;background:#10231b;justify-content:space-between;align-items:center;margin:-18px -14px 16px;padding:22px 18px 20px;display:flex}.topbar h1{margin:0;font-size:clamp(2rem,11vw,4rem);line-height:.9}.topbar svg{width:24px;height:24px}.eyebrow{color:#b8cbbf;letter-spacing:.04em;text-transform:uppercase;margin:0 0 6px;font-size:.78rem}.topbar-user{align-items:center;gap:12px;min-width:0;display:flex}.topbar-user>div{text-align:right;gap:2px;min-width:0;display:grid}.topbar-user span{color:#b8cbbf;text-transform:capitalize;font-size:.72rem}.logout-button{color:#fff;background:#274135;border-radius:8px;flex:0 0 40px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.login-shell{background:radial-gradient(circle at top,#294f3b 0,#10231b 45%,#09140f 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.login-card{background:#fff;border-radius:20px;width:100%;max-width:430px;padding:30px 24px 22px;overflow:hidden;box-shadow:0 24px 70px #00000040}.login-brand{text-align:center}.login-brand .eyebrow{color:#668071;margin-bottom:8px}.login-brand h1{color:#10231b;letter-spacing:.08em;margin:0;font-size:clamp(3rem,15vw,4.6rem);line-height:.9}.login-brand>p:last-child{color:#66746b;max-width:290px;margin:12px auto 0;font-size:.9rem}.beast-mark{color:#a8d66d;background:#10231b;border:5px solid #d8e8c8;border-radius:50%;justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 18px;font-size:1.7rem;font-weight:900;display:flex}.login-form{gap:16px;margin-top:28px;display:grid}.login-form label{color:#3f5147;font-size:.85rem;font-weight:700}.login-form input{color:#17211c;background:#f8faf8;border:1px solid #ccd9cf;border-radius:10px;outline:none;width:100%;min-height:48px;padding:0 13px}.login-form input:focus{border-color:#4f8f31;box-shadow:0 0 0 3px #4f8f311f}.mobile-field{grid-template-columns:auto 1fr;gap:8px;margin-top:7px;display:grid}.mobile-field span{background:#edf3ee;border:1px solid #ccd9cf;border-radius:10px;align-items:center;padding:0 12px;display:flex}.mobile-field input{margin:0}.login-form>label>input{margin-top:7px}.login-button{color:#fff;letter-spacing:.04em;background:#10231b;border-radius:10px;min-height:50px;font-weight:900}.login-button:active{transform:translateY(1px)}.forgot-pin{color:#315b24;background:0 0;margin-top:-8px;font-size:.85rem;font-weight:700}.login-error,.form-error{color:#9b2f1c;background:#fff0ed;border:1px solid #f0c8bf;border-radius:8px;margin:-2px 0 0;padding:9px 10px;font-size:.82rem}.demo-hint{color:#87958d;text-align:center;margin:20px 0 0;font-size:.72rem}.role-panel,.panel,.metric{background:#fff;border:1px solid #d8e2da;border-radius:8px;box-shadow:0 10px 24px #12231b0f}label{color:#5f6e66;gap:6px;font-size:.8rem;display:grid}select{color:#17211c;background:#f7faf7;border:1px solid #cad8ce;border-radius:8px;min-height:42px;padding:0 12px}.tabbar{z-index:2;background:#dfe8e1;border-radius:8px;gap:4px;margin-bottom:16px;padding:4px;display:flex;position:sticky;top:0;overflow-x:auto}.tabbar button{color:#4f6158;white-space:nowrap;background:0 0;border-radius:6px;flex:1 0 110px;min-height:38px;padding:0 18px}.tabbar button.active{color:#10231b;background:#fff;font-weight:800}main,.stack,.list{gap:14px;display:grid}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.metric{min-height:132px;padding:14px}.metric p,.expense-preview p,.row-card p,.ledger-row p,.section-title p,small{color:#66746b;margin:0}.metric strong{overflow-wrap:anywhere;margin-top:10px;font-size:clamp(1.15rem,5vw,1.9rem);line-height:1.05;display:block}.metric-icon{color:#315b24;background:#eaf2e4;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.metric.amber .metric-icon{color:#8b5b00;background:#fff2d7}.metric.green .metric-icon{color:#126d3c;background:#def3df}.panel{min-width:0;padding:14px}.section-title{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;margin-bottom:12px;display:flex}.section-title h2{margin:0;font-size:1.05rem}.section-title span,.status-lock,.pill{color:#4f6158;white-space:nowrap;background:#edf3ee;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:800}.status-lock.locked{color:#9b2f1c;background:#ffe5df}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.action-grid button{color:#fff;background:#10231b;border-radius:8px;min-height:44px;padding:0 10px}.row-card,.ledger-row,.mini-row{border-top:1px solid #edf2ee;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.row-card:first-child,.ledger-row:first-child,.mini-row:first-child{border-top:0}.right{text-align:right;align-items:flex-end;gap:8px;display:grid}.pill.inactive{color:#707070;background:#ececec}.availability-bar{background:#dfe8e1;border-radius:999px;height:10px;overflow:hidden}.availability-bar:before{border-radius:inherit;content:"";height:100%;width:var(--fill);background:#4f8f31;display:block}.squad-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.squad-list span{background:#f4f7f4;border:1px solid #dfe8e1;border-radius:999px;padding:6px 9px}.notice{color:#6e5417;background:#fff9e9;border:1px solid #f0dcaa;border-radius:8px;margin-top:12px;padding:10px}.expense-preview{grid-template-columns:1fr;gap:10px;margin-bottom:10px;display:grid}.expense-preview>div{background:#f7faf7;border:1px solid #e2ebe4;border-radius:8px;padding:10px}.compact-list{gap:0}.positive{color:#147844}.negative{color:#b43c27}.primary-action,.secondary-action,.icon-button{border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 12px;display:inline-flex}.primary-action{color:#fff;background:#10231b;font-weight:800}.secondary-action{color:#315b24;background:#edf3ee;font-weight:800}.icon-button{color:#4f6158;background:#edf3ee;width:40px}.players-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;display:grid}.players-header h2{margin:0;font-size:1.05rem}.players-header p{color:#66746b;margin:3px 0 0}.add-player-button{white-space:nowrap}.player-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.search-field{color:#66746b;background:#f7faf7;border:1px solid #cad8ce;border-radius:8px;align-items:center;gap:8px;min-width:0;min-height:42px;padding:0 11px;display:flex}.search-field input{color:#17211c;background:0 0;border:0;outline:0;width:100%;min-width:0}.player-list-row{text-align:left;background:#fff;border-top:1px solid #edf2ee;align-items:center;gap:11px;width:100%;min-width:0;padding:12px 0;display:flex}.player-list-row:first-child{border-top:0}.player-list-row.selected{background:#f5f9f3}.player-avatar{color:#315b24;background:#dfead7;border-radius:50%;flex:0 0 42px;justify-content:center;align-items:center;height:42px;font-weight:900;display:flex}.player-avatar.large{flex-basis:52px;height:52px}.player-main{flex:1;min-width:0}.player-main strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.player-balance{text-align:right;flex:none;align-items:flex-end;gap:7px;display:grid}.empty-state{color:#66746b;text-align:center;padding:28px 8px}.form-panel{border:2px solid #d8e8c8}.player-form{gap:14px;display:grid}.player-form input{background:#f8faf8;border:1px solid #ccd9cf;border-radius:8px;outline:none;width:100%;min-height:44px;padding:0 11px}.form-label{color:#5f6e66;margin:0 0 7px;font-size:.8rem}.preference-grid{flex-wrap:wrap;gap:8px;margin-bottom:7px;display:flex}.preference-chip{color:#4f6158;background:#f3f6f3;border:1px solid #ccd9cf;border-radius:999px;min-height:38px;padding:0 12px}.preference-chip.selected{color:#214a18;background:#dff0d7;border-color:#8eb77a;font-weight:800}.form-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.detail-heading{align-items:center;gap:10px;min-width:0;display:flex}.detail-heading h2{margin-bottom:5px}.detail-actions{flex-wrap:wrap;gap:7px;display:flex}.detail-metrics{grid-template-columns:1fr;gap:8px;margin:14px 0;display:grid}.detail-metrics>div{background:#f7faf7;border:1px solid #e2ebe4;border-radius:8px;gap:4px;padding:10px;display:grid}.detail-metrics span{color:#66746b;font-size:.74rem}.detail-metrics strong{overflow-wrap:anywhere}.dialog-backdrop{z-index:20;background:#09140f94;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.dialog-card{background:#fff;border:1px solid #d8e2da;border-radius:16px;width:100%;max-width:560px;max-height:calc(100vh - 36px);padding:18px;overflow:auto;box-shadow:0 24px 70px #0000004d}.dialog-card .section-title{align-items:center}.dialog-card .section-title h2{font-size:1.2rem}@media (width<=900px){.players-header{grid-template-columns:1fr}.add-player-button{width:100%}}@media (width<=520px){.app-shell{padding-inline:10px}.topbar{margin-inline:-10px;padding-inline:14px}.player-toolbar{grid-template-columns:1fr}.player-balance{display:none}.detail-actions{width:100%}.detail-actions button{flex:1}.dialog-backdrop{padding:10px}.dialog-card{border-radius:12px;padding:14px}}@media (width>=680px){.app-shell{padding-inline:22px}.topbar{border-radius:0 0 16px 16px;margin-inline:0}.expense-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
