*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin:0; background:#f5f6f8; color:#1a1a1a; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
header { background:#111; color:#fff; }
.header-inner { display:flex; justify-content:space-between; align-items:center; }
.logo { color:#fff; text-decoration:none; font-weight:700; font-size:20px; letter-spacing:-.3px; }
nav a, nav .link-btn { color:#fff; margin-left:16px; text-decoration:none; font-size:14px; background:none; border:none; padding:0; cursor:pointer; }
nav a:hover, nav .link-btn:hover { text-decoration:underline; }
h1 { margin: 24px 0 12px; }
h2 { margin: 24px 0 8px; }
.card { background:#fff; border-radius:8px; padding:24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom:20px; }
.auth-card { max-width:420px; margin: 40px auto; }
label { display:block; margin: 12px 0 4px; font-size:14px; font-weight:500; }
input[type=text], input[type=email], input[type=password], input[type=file] {
  width:100%; padding:10px 12px; border:1px solid #d1d5db; border-radius:6px; font-size:14px; background:#fff;
}
input:focus { outline: 2px solid #2563eb; outline-offset:1px; border-color:#2563eb; }
.btn { display:inline-block; padding:10px 16px; border-radius:6px; background:#eee; color:#111; text-decoration:none; border:none; cursor:pointer; font-size:14px; font-weight:500; }
.btn:hover { background:#ddd; }
.btn.primary { background:#2563eb; color:#fff; }
.btn.primary:hover { background:#1d4ed8; }
.error { background:#fee2e2; color:#991b1b; padding:10px 12px; border-radius:6px; margin-bottom:12px; font-size:14px; }
.hint { color:#666; font-size:13px; margin: 4px 0 12px; }
.empty { padding:40px; text-align:center; background:#fff; border-radius:8px; color:#666; }
table { width:100%; border-collapse: collapse; background:#fff; border-radius:8px; overflow:hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
th, td { padding: 10px 12px; text-align:left; border-bottom: 1px solid #eee; font-size:14px; }
th { background:#f9fafb; font-weight:600; }
.status { display:inline-block; padding: 2px 8px; border-radius: 12px; font-size:12px; font-weight:600; }
.status-pending { background:#f3f4f6; color:#374151; }
.status-processing { background:#dbeafe; color:#1e40af; }
.status-done { background:#dcfce7; color:#166534; }
.status-error { background:#fee2e2; color:#991b1b; }
.warn { color:#c2410c; font-size:13px; margin-left:8px; }
img { border-radius:4px; object-fit:cover; }
.ebay-section { margin-top:32px; }
