*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,sans-serif;background:#fff;color:#111827;font-size:15px;line-height:1.55}
.app{max-width:700px;margin:0 auto;padding:16px}
h1,h2,h3{margin:0;font-weight:500;letter-spacing:-.02em;line-height:1.2}
h1{font-size:26px}h2{font-size:18px;margin:18px 0 8px}h3{font-size:14px}
p{margin:0}
.muted{color:#6b7280}.small{font-size:12px}
input,select,button{font:inherit;font-size:13px}
input,select{width:100%;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;outline:none;background:#fff;color:#111827}
button{padding:9px 14px;border-radius:8px;border:1px solid #e5e7eb;background:#f3f4f6;cursor:pointer}
button.p{background:#2563eb;color:#fff;border-color:transparent}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.card{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#f9fafb;display:flex;flex-direction:column;gap:6px}
.card .top{display:flex;justify-content:space-between;font-size:11px;color:#6b7280}
.card h3{font-size:14px}
.price{font-family:ui-monospace,monospace;font-weight:500}
.range{font-size:11px;color:#6b7280;font-family:ui-monospace,monospace}
.err{color:#ef4444;font-size:12px}
.ok{color:#16a34a;font-size:12px}
.log{font-family:ui-monospace,monospace;font-size:11px;background:#111827;color:#e5e7eb;border-radius:8px;padding:10px;height:240px;overflow:auto;white-space:pre-wrap}
.sec{border-top:1px solid #e5e7eb;margin-top:22px;padding-top:6px}
.tabs{display:flex;gap:4px;border-bottom:1px solid #e5e7eb;margin-bottom:12px}
.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:#6b7280;padding:8px 10px}
.tabs button.on{color:#111827;border-bottom-color:#111827}
label{font-size:11px;color:#6b7280;display:block;margin:6px 0 3px}
table{width:100%;border-collapse:collapse;font-size:12px;margin-top:8px}
th{text-align:left;font-size:10px;color:#6b7280;font-weight:500;padding:5px;border-bottom:1px solid #e5e7eb}
td{padding:7px 5px;border-bottom:1px solid #e5e7eb}
.mono{font-family:ui-monospace,monospace;font-size:11px}
.table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px;margin-top:10px}
.table-wrap table{margin:0;min-width:620px}
.admin-actions{margin-top:4px}
button:disabled{cursor:not-allowed;opacity:.45}
.tag{display:inline-block;padding:2px 6px;border:1px solid #e5e7eb;border-radius:999px;font-size:10px;white-space:nowrap}
.act{display:flex;gap:4px;flex-wrap:wrap}.act button{padding:5px 7px;font-size:10px}
@media(max-width:520px){.grid{grid-template-columns:1fr}}
