:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#172b45;background:#f3f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.shell{max-width:1050px;margin:auto;padding:16px}header{display:flex;align-items:center;justify-content:space-between;padding:12px 0 20px}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:19px}.brand small{display:block;color:#65758a}.logo{display:grid;place-items:center;border-radius:13px;background:#153c6c;color:#fff;font-size:25px;font-weight:900;width:45px;height:45px}.status{padding:11px 14px;border-radius:10px;background:#e6f0ff;color:#1b497c;margin-bottom:16px;font-size:13px}.status.warning{background:#fff0d7;color:#7b4c00}.status.error{background:#fce9e9;color:#9e2222}.hidden{display:none!important}.panel{background:#fff;border:1px solid #e4eaf1;border-radius:17px;padding:20px;margin-bottom:16px;box-shadow:0 4px 16px #0f2f4d08}h1,h2,h3,p{margin-top:0}h1{font-size:23px;margin-bottom:2px}h2{font-size:19px;margin-bottom:10px}h3{margin-top:22px;font-size:15px}.muted,.hint{color:#66788d;font-size:13px;line-height:1.5}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.metric{background:#fff;padding:19px;border-radius:14px;border:1px solid #e4eaf1}.metric span{display:block;color:#66788d;font-size:12px;margin-bottom:7px}.metric strong{font-size:clamp(17px,2vw,25px);letter-spacing:-.5px}.tabs{display:flex;gap:6px;overflow:auto;margin-bottom:14px}.tabs button{background:#e5ebf3;color:#324a65;white-space:nowrap}.tabs button.active{background:#153c6c;color:#fff}button{border:0;border-radius:10px;padding:11px 15px;background:#153c6c;color:#fff;font:inherit;font-size:14px;font-weight:650;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.outline{border:1px solid #cad6e4;background:#fff;color:#244969}button.subtle{background:transparent;color:#47617b;padding:8px}button.danger{color:#a42b2b;border:1px solid #eccaca;background:#fff}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}label{display:block;font-size:12px;font-weight:650;color:#486078;margin:9px 0}input,select,textarea{width:100%;border:1px solid #cad6e2;border-radius:9px;padding:11px 12px;font:inherit;font-size:15px;background:#fff;color:#20364d;margin-top:5px;outline-color:#4d89d2}textarea{resize:vertical;min-height:86px}.voice-row{display:flex;align-items:stretch;gap:10px}.voice-row textarea{flex:1}.mic{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:85px;font-size:24px}.mic small{font-size:11px}.mic.listening{background:#b52b38}.records{margin-top:14px}.record{border-top:1px solid #e9eef3;display:flex;align-items:center;gap:12px;padding:12px 0}.record .details{min-width:0;flex:1}.record .details strong{display:block;font-size:14px}.record .details small{color:#66788d;display:block;margin-top:4px;line-height:1.5}.record .amount{text-align:right;white-space:nowrap;font-weight:700}.record .controls{display:flex;gap:4px;align-items:center}.record .controls button{padding:7px 9px;font-size:12px}.record .amount.income{color:#14734e}.record .amount.expense{color:#a33131}.tag{display:inline-block;background:#eef3f8;border-radius:5px;padding:2px 5px;font-size:11px;color:#51677d}.report-item{margin:12px 0}.report-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px}.bar{height:10px;border-radius:8px;background:#e8eff6;overflow:hidden}.bar span{display:block;height:100%;background:#3b78b4;border-radius:8px}footer{font-size:11px;text-align:center;color:#8896a5;padding:25px}dialog{border:0;border-radius:15px;width:min(96vw,530px);max-height:90vh;overflow:auto;padding:24px;box-shadow:0 25px 75px #0e233d60}dialog::backdrop{background:#0f233d91}.dialog-head{display:flex;justify-content:space-between;align-items:center}.settings-actions{display:flex;gap:8px;flex-wrap:wrap}hr{border:0;border-top:1px solid #e1e8ef;margin:24px 0}@media(max-width:720px){.shell{padding:12px}.cards{grid-template-columns:repeat(2,1fr);gap:8px}.metric{padding:14px}.panel{padding:15px}.formgrid{grid-template-columns:1fr}.record{flex-wrap:wrap}.record .amount{margin-left:auto}.record .controls{width:100%;justify-content:flex-end}.section-head{align-items:flex-start}.section-head input{max-width:155px}}
