:root{font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;color:#20362d;background:#f5f8f5}*{box-sizing:border-box}body{margin:0}header{padding:24px;background:#164d36;color:white}header h1{margin:0 0 8px;font-size:24px}header span{opacity:.8}main{max-width:1100px;margin:auto;padding:20px}h2{font-size:20px}button,input,select{font:inherit;border:1px solid #cbd8cd;border-radius:9px;padding:11px;min-height:44px}button{cursor:pointer;background:#e5f2e7;color:#164d36}button:disabled{opacity:.5}input{max-width:100%}.bar,nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}nav button{flex:1}nav button.active{background:#164d36;color:white}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}.card,details,#login{background:white;border:1px solid #dfe8df;border-radius:14px;padding:18px}.card img{width:100%;height:160px;object-fit:contain}.card h3{font-size:16px;line-height:1.6}.price{color:#c13c28;font-size:23px;font-weight:700}small,.muted{color:#617369}details{margin:10px 0}summary{cursor:pointer}#message{position:sticky;bottom:12px;background:#fff1d6;border-radius:10px;padding:12px;white-space:pre-wrap}#message:empty{display:none}#login{max-width:440px;margin:40px auto}#login input{width:100%;margin:12px 0}#status{padding:12px;background:#e7eee7;border-radius:8px}p{line-height:1.7}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}table{width:100%;border-collapse:collapse}td{padding:8px;border-bottom:1px solid #eee}[hidden]{display:none!important}
