/* Approved MIG Auto demo design (design/MIG_Auto/index.html), kept verbatim. Additions live in app.css. */
:root{--ink:#17332c;--green:#234e40;--lime:#d6eea0;--bg:#f4f5f0;--muted:#77827a;--line:#e3e7df}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:15px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #86ae4c;outline-offset:3px}header{background:var(--ink);color:white;padding:22px 22px 18px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-weight:900;font-size:23px;letter-spacing:-1px}.brand span{color:var(--lime)}.tag{font-size:10px;letter-spacing:1.5px;color:#b6c7bd;margin-top:4px}.avatar{background:#36574b;color:var(--lime);border:1px solid #557166;border-radius:50%;width:40px;height:40px;font-weight:700}.mode{display:flex;gap:6px;margin-top:22px;background:#0e251f;padding:4px;border-radius:12px}.mode button{flex:1;background:none;border:0;color:#a7bdb2;padding:10px;border-radius:9px;font-size:13px}.mode .active{background:#365849;color:white}.demo{padding:9px 20px;background:#e8eddf;font-size:11px;text-align:center;color:#5b6b52}main{max-width:960px;margin:auto;padding:25px 20px 115px}h1{font-size:29px;letter-spacing:-1.2px;margin:0 0 7px}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{font-size:16px;margin:0 0 4px}p{line-height:1.5}.muted{color:var(--muted);font-size:13px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.intro{margin-bottom:22px}.eyebrow{color:var(--muted);text-transform:uppercase;font-size:10px;letter-spacing:1.8px;font-weight:700;margin-bottom:8px}.hero{background:var(--green);color:#fff;border-radius:22px;padding:23px;margin:22px 0;position:relative;overflow:hidden}.hero:after{content:'M';position:absolute;right:-8px;top:-42px;font-size:180px;font-weight:900;color:#ffffff08;pointer-events:none}.hero p{color:#c1d1c6;font-size:13px;margin:8px 0 19px}.hero strong{color:var(--lime)}.btn{border:0;border-radius:12px;padding:13px 17px;background:var(--ink);color:white;font-weight:650;font-size:13px}.btn.light{background:var(--lime);color:var(--ink)}.btn.secondary{background:#e9ede5;color:var(--ink)}.btn.full{width:100%;margin-top:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0 26px}.stat{border:1px solid var(--line);border-radius:16px;background:white;padding:15px 12px}.stat b{font-size:27px;display:block;letter-spacing:-1px}.stat span{font-size:11px;color:var(--muted)}.section{margin:24px 0 13px}.textbtn{border:0;background:none;color:var(--green);font-weight:700;font-size:12px;padding:8px 0}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:12px;text-align:left;width:100%;color:inherit}.carrow{display:flex;gap:13px;align-items:center}.caricon{width:46px;height:46px;border-radius:14px;background:#f1f3ec;display:grid;place-items:center;color:var(--green);flex-shrink:0}.caricon svg{width:27px}.pill{display:inline-block;border-radius:7px;font-size:10px;font-weight:700;padding:6px 8px;background:#e9eee4;color:#597044}.pill.orange{background:#fff0dc;color:#a16b25}.pill.blue{background:#eaf0fa;color:#547199}.pill.green{background:#e4efdf;color:#4b7541}.meta{display:flex;justify-content:space-between;align-items:center;margin-top:15px;padding-top:13px;border-top:1px solid #f0f1ed;font-size:11px;color:var(--muted)}.progress{height:4px;border-radius:5px;background:#edf0e8;margin-top:15px}.progress i{height:100%;display:block;background:#95b96c;border-radius:5px}.chips{display:flex;gap:7px;overflow:auto;margin:18px 0;padding-bottom:5px}.chips button{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:25px;padding:9px 13px;color:#6c786e;font-size:12px}.chips .active{background:var(--ink);color:white;border-color:var(--ink)}.search{width:100%;border:1px solid var(--line);background:white;border-radius:12px;padding:14px;color:var(--ink);margin-top:15px}.bottom{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 5px calc(12px + env(safe-area-inset-bottom));z-index:5}.bottom button{background:none;border:0;color:#859087;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:10px;padding:4px 10px}.bottom button.active{color:var(--green);font-weight:800}.bottom svg{width:22px;height:22px}.bubble{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ecf0e5;font-weight:700}.alert{padding:15px;border-radius:13px;background:#fff0dc;font-size:12px;line-height:1.5;margin:16px 0}.empty{text-align:center;padding:35px;color:var(--muted)}dialog{width:calc(100% - 22px);max-width:550px;max-height:90dvh;border:0;border-radius:24px;padding:24px;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#0821199c;backdrop-filter:blur(3px)}.close{border:0;background:#e2e8de;border-radius:50%;width:32px;height:32px;font-size:21px}.field{display:block;font-size:12px;font-weight:650;margin:17px 0 6px}.field input,.field select,.field textarea{display:block;width:100%;margin-top:7px;border:1px solid #d8dfd3;border-radius:10px;padding:12px;background:white;color:var(--ink)}.check{display:flex;align-items:center;gap:10px;font-size:13px;padding:13px 0;border-bottom:1px solid var(--line)}.check input{accent-color:var(--green);width:18px;height:18px}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--ink);color:white;border-radius:12px;font-size:13px;z-index:20;max-width:90%;text-align:center}.amount{font-size:28px;letter-spacing:-1px;font-weight:750}.detailgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.detailgrid small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.note{font-size:12px;line-height:1.6;color:var(--muted)}@media(min-width:700px){header{padding:25px max(24px,calc((100% - 920px)/2))}.mode{max-width:340px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cards .card{margin:0}.bottom{left:50%;transform:translateX(-50%);max-width:600px;border-radius:20px 20px 0 0}.hero{padding:30px}.stats .stat{padding:20px}main{padding-top:35px}}
