:root{color:#edf3ee;background:#101512;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#101512}button,input,textarea{font:inherit}button{border:0;cursor:pointer}.screen.center{display:grid;min-height:100vh;place-items:center}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:48px;min-height:100vh;padding:64px;align-items:center;background:linear-gradient(120deg,rgba(39,174,116,.18),transparent 42%),#101512}.brand{display:inline-flex;gap:10px;align-items:center;color:#8de5b1;font-weight:800;font-size:1.1rem}.auth-copy h1{max-width:720px;margin:22px 0 14px;font-size:clamp(2.4rem,6vw,5.7rem);line-height:.97;letter-spacing:0}.auth-copy p,header p,.entry-card p,.empty{color:#9ca9a1}.auth-copy p{max-width:560px;font-size:1.15rem}.panel,.summary-card{border:1px solid #29352f;background:#161d19e6;box-shadow:0 18px 50px #00000047}.panel{border-radius:8px;padding:24px}.auth-panel{width:100%}.tabs,.segmented{display:flex;gap:6px;padding:4px;border-radius:8px;background:#0c110e}.tabs button,.segmented button{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:38px;gap:8px;border-radius:6px;color:#a7b5ad;background:transparent}.tabs button.active,.segmented button.active{color:#f7fbf8;background:#26352d;box-shadow:0 1px 12px #00000038}form{display:grid;gap:16px;margin-top:20px}label{display:grid;gap:7px;color:#c4d0c9;font-weight:700;font-size:.9rem}input,textarea{width:100%;border:1px solid #33413a;border-radius:6px;padding:11px 12px;color:#f5faf6;background:#0e1411}input:focus,textarea:focus{border-color:#6de39f;outline:2px solid rgba(109,227,159,.18)}.amount-input{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;overflow:hidden;border:1px solid #33413a;border-radius:6px;background:#0e1411}.amount-input:focus-within{border-color:#6de39f;outline:2px solid rgba(109,227,159,.18)}.amount-input span{display:grid;min-height:44px;place-items:center;color:#8de5b1;border-right:1px solid #33413a;background:#141d18;font-weight:900}.amount-input input{border:0;border-radius:0;outline:0}.amount-input.compact{grid-template-columns:34px minmax(82px,1fr)}.amount-input.compact span{min-height:38px}.amount-input.compact input{min-height:38px;padding:8px 10px}textarea{resize:vertical}.primary,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:6px;font-weight:800}.primary{color:#08100b;background:#71eba6}.primary:disabled{opacity:.64;cursor:wait}.ghost{color:#dff8e8;background:#1c2a22;padding:0 14px}.divider{margin:18px 0;color:#9ca9a1;text-align:center}.google-slot{display:grid;place-items:center}.error{margin:0;color:#ff8f83;font-weight:700}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:32px 0 48px}header{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:nowrap;margin-bottom:28px}header p{margin:6px 0 0}header>div{min-width:0}header>div p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.summary-card{border-radius:8px;padding:18px}.summary-card span{display:block;color:#9ca9a1;font-size:.88rem;font-weight:800}.summary-card strong{display:block;margin-top:10px;font-size:2rem;line-height:1}.summary-card.green strong{color:#75eba8}.summary-card.red strong{color:#ff9b90}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);gap:22px;align-items:start}h2,h3{margin:0}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.tabs.compact{width:min(330px,100%)}.tabs.compact button{min-height:34px;text-transform:capitalize}.entry-list{display:grid;gap:12px}.entry-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px;border:1px solid #29352f;border-radius:8px;background:#151d19}.direction{display:grid;width:42px;height:42px;place-items:center;border-radius:50%}.direction.owed_to_me{color:#75eba8;background:#183225}.direction.i_owe{color:#ff9b90;background:#3a211e}.entry-top{display:flex;justify-content:space-between;gap:12px}.entry-top strong{white-space:nowrap}.entry-main p{margin:4px 0 0}.entry-main .note{color:#dce8e1}.entry-adjustment{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;gap:8px;margin-top:12px}.entry-adjustment button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border-radius:6px;color:#08100b;background:#71eba6;font-weight:800}.entry-adjustment button:first-of-type{color:#ffecea;background:#74342e}.entry-adjustment button:disabled{opacity:.46;cursor:not-allowed}.entry-history{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #29352f}.history-row{display:grid;grid-template-columns:92px minmax(90px,auto) minmax(150px,1fr) 36px;gap:10px;align-items:center;padding:9px 10px;border-radius:6px;background:#101713}.history-row span{font-weight:900}.history-row span.pay{color:#ffb5ad}.history-row span.increase{color:#8de5b1}.history-row strong{color:#f5faf6}.history-row time{color:#9ca9a1;font-size:.9rem;text-align:right}.history-delete{display:grid;width:32px;height:32px;place-items:center;justify-self:end;border-radius:6px;color:#ffb5ad;background:#2a1512}.entry-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.entry-actions button{display:grid;width:36px;height:36px;place-items:center;border-radius:6px;color:#dce8e1;background:#25312b}@media (max-width: 860px){.auth-layout,.workspace,.summary-grid{grid-template-columns:1fr}.auth-layout{padding:28px 16px}.list-heading,.entry-top{align-items:flex-start;flex-direction:column}}@media (max-width: 560px){.app-shell{width:min(100% - 20px,1180px);padding-top:18px}.panel{padding:16px}.entry-card{grid-template-columns:36px minmax(0,1fr)}.entry-adjustment,.history-row{grid-template-columns:1fr}.history-row time{text-align:left}.history-delete{justify-self:start}.entry-actions{grid-column:2}}
