:root{--ink:#15221e;--green:#173f35;--mint:#dcece5;--cream:#f5f1e8;--gold:#d49a3a;--red:#a83d36}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px system-ui,-apple-system,sans-serif}header{height:68px;padding:10px 18px;background:var(--green);color:white;display:flex;align-items:center;gap:10px}header div:nth-child(2){display:flex;flex-direction:column}header small{opacity:.75}header a{margin-left:auto;color:white;font-size:13px}.brand{width:70px;height:70px;border-radius:22px;background:var(--gold);display:grid;place-items:center;color:#17251f;font-size:27px;font-weight:900}.brand.small{width:45px;height:45px;border-radius:14px;font-size:18px}main{max-width:720px;margin:auto;padding:18px}.panel,.card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 8px 30px #173f3514;margin-bottom:16px}h1{font-size:28px;margin:0 0 8px}h2{font-size:21px}.camera{min-height:125px;border:2px dashed #9eb9ad;border-radius:18px;background:#f6faf8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:22px 0;cursor:pointer}.camera span{font-size:35px}.camera input{display:none}button{width:100%;padding:15px;border:0;border-radius:14px;background:var(--green);color:#fff;font-weight:800;font-size:16px;cursor:pointer}button:disabled{opacity:.45}.secondary{background:var(--mint);color:var(--green);margin-top:9px}.reject{background:#f7dfdc;color:#792821;margin-top:9px}#preview{width:100%;max-height:330px;object-fit:contain;border-radius:16px;margin-bottom:15px;background:#edf1ef}.spinner{width:62px;height:62px;border:6px solid var(--mint);border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{to{transform:rotate(360deg)}}#working{text-align:center}.steps{display:flex;gap:8px;justify-content:center}.steps i{width:36px;height:5px;background:var(--mint);border-radius:4px}.steps i.on{background:var(--gold)}.muted{color:#66736e}.match{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:14px 0;border-top:1px solid #e8ecea}.match img,.refs img{width:112px;height:112px;object-fit:contain;background:#f2f4f3;border-radius:12px}.score{color:var(--green);font-weight:800}.price{font-size:28px;font-weight:900;color:var(--green)}.refs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.refs a{color:var(--ink);font-size:12px}.refs img{width:100%;height:140px}.field{margin:12px 0}.field label{font-size:13px;font-weight:700;display:block;margin-bottom:5px}.field input{width:100%;padding:12px;border:1px solid #c8d1cd;border-radius:10px;font-size:16px}.row{display:flex;gap:10px}.row>*{flex:1}.login{max-width:420px;margin:12vh auto;text-align:center;padding:28px}.login .brand{margin:auto}.login input{width:100%;padding:15px;margin:20px 0 10px;border:1px solid #bbb;border-radius:12px}.error{color:var(--red)}@media(max-width:480px){main{padding:12px}.panel,.card{padding:17px;border-radius:18px}.match{grid-template-columns:92px 1fr}.match img{width:92px;height:92px}}
