:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102c48;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding:0 0 calc(92px + env(safe-area-inset-bottom));max-width:760px;margin-inline:auto}.topbar{height:68px;background:#102c48;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.brand{font-weight:900;letter-spacing:.14em;font-size:15px}.brand span{color:#f3b942}.subbrand{font-size:11px;color:#c7d2df;margin-top:2px}.iconButton{border:0;background:transparent;color:inherit;font-size:23px;width:42px;height:42px;border-radius:50%;cursor:pointer}.topbar .iconButton{color:#fff}.welcome{display:flex;align-items:flex-start;justify-content:space-between;padding:28px 22px 18px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#5682aa;margin:0 0 7px}.welcome h1{font-size:30px;line-height:1.03;margin:0 0 10px;letter-spacing:-.04em}.muted{color:#718093;font-size:13px;margin:0}.connection{display:flex;align-items:center;gap:7px;font-size:11px;color:#718093;padding:8px 10px;background:#fff;border-radius:20px;box-shadow:0 2px 8px #102c4810}.dot{width:7px;height:7px;border-radius:50%;background:#a4afb9}.dot.ok{background:#31a36a}.connectCard{margin:0 16px 16px;padding:16px 17px;background:#e9f1f8;border:1px solid #d8e5f0;border-radius:16px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}.connectCard h2{font-size:14px;margin:0 0 5px}.connectCard p{font-size:11px;line-height:1.4;color:#637990;margin:0}.primary{border:0;border-radius:12px;background:#12663d;color:#fff;padding:12px 16px;font-weight:750;font-size:12px;cursor:pointer}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 16px 22px}.statCard{background:#fff;border-radius:15px;padding:14px 12px;min-height:82px;box-shadow:0 3px 12px #102c4808}.statCard span{display:block;font-size:10px;color:#788696;margin-bottom:9px}.statCard strong{font-size:18px;letter-spacing:-.04em}.statCard.dark{background:#102c48;color:#fff}.statCard.dark span{color:#b8c7d4}.vehicleTotals,.quickActions,.recent{margin:0 16px 23px}.sectionHeading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.sectionHeading h2{font-size:16px;letter-spacing:-.02em;margin:0}.badge{font-size:10px;color:#54718b;background:#e6edf3;border-radius:20px;padding:6px 9px}.vehicleRow{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:13px;border-bottom:1px solid #eef1f3;font-size:12px}.vehicleRow:first-of-type{border-radius:13px 13px 0 0}.vehicleRow:last-of-type{border-radius:0 0 13px 13px;border:0}.vehicleRow>div{display:flex;align-items:center;gap:9px}.carDot{width:8px;height:8px;border-radius:50%}.blue{background:#3b82c4}.gold{background:#e3a92f}.vehicleRow>span{font-weight:750}.small{font-size:10px}.actionGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.actionCard{border:1px solid #edf0f3;background:#fff;border-radius:15px;min-height:97px;text-align:left;padding:12px;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;color:#102c48}.actionIcon{height:27px;width:27px;border-radius:9px;display:grid;place-items:center;font-size:17px;margin-bottom:7px}.incomeIcon{background:#e1f3e8;color:#21864b}.expenseIcon{background:#fde9e7;color:#c65e52}.depositIcon{background:#e5effb;color:#3673af}.cashIcon{background:#fff2d7;color:#a86f00}.fuelIcon{background:#e9e5fa;color:#745bb2}.maintenanceIcon{background:#e9edf0;color:#4e626e}.actionCard strong{font-size:11px}.actionCard small{font-size:9px;color:#81909c;margin-top:3px}.textButton{border:0;background:none;color:#216a4b;font-weight:700;font-size:11px;cursor:pointer}.emptyState{background:#fff;border-radius:14px;padding:22px 14px;color:#8995a0;font-size:12px;text-align:center}.movement{display:flex;justify-content:space-between;padding:13px;background:#fff;border-bottom:1px solid #edf0f3;font-size:12px}.movement:first-child{border-radius:13px 13px 0 0}.movement:last-child{border-radius:0 0 13px 13px}.movement small{display:block;color:#85919c;font-size:10px;margin-top:4px}.movement strong{white-space:nowrap}.bottomNav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);height:calc(70px + env(safe-area-inset-bottom));padding:7px 16px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e7eaed;display:flex;justify-content:space-around;z-index:5}.bottomNav button{background:none;border:0;color:#84919e;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;min-width:76px}.bottomNav button span{font-size:19px}.bottomNav .navActive{color:#176640;font-weight:750}dialog{border:0;border-radius:21px;width:min(94vw,480px);padding:0;box-shadow:0 20px 90px #102c4830;max-height:88dvh}dialog::backdrop{background:#102c4870;backdrop-filter:blur(3px)}dialog form{padding:21px}.dialogHeader{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialogHeader h2{margin:0;font-size:23px}.dialogHeader .iconButton{font-size:27px;color:#6f7c87}.formFields{display:grid;gap:14px;max-height:58dvh;overflow:auto;padding-bottom:8px}.formFields label,dialog label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#4a5967}.formFields input,.formFields select,dialog input,dialog select{width:100%;min-height:45px;border:1px solid #dbe1e5;border-radius:11px;padding:10px 12px;font:inherit;color:#102c48;background:#fff}.formFields .twoCol{display:grid;grid-template-columns:1fr 1fr;gap:10px}.formError{color:#b4433b;font-size:11px;min-height:16px}.full{width:100%;min-height:47px}.toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,14px);opacity:0;pointer-events:none;background:#183a54;color:#fff;border-radius:12px;padding:12px 16px;font-size:12px;box-shadow:0 8px 30px #102c4830;transition:.2s;z-index:10;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:400px){.connectCard{grid-template-columns:1fr}.connectCard .primary{width:100%}.welcome h1{font-size:28px}.statCard strong{font-size:16px}.actionCard{padding:10px;min-height:90px}}@media(min-width:600px){main{padding:0 34px}.topbar{padding-inline:40px}.welcome{padding-top:40px}.stats,.vehicleTotals,.quickActions,.recent,.connectCard{margin-left:0;margin-right:0}}
