
:root {
  --max: 1100px;
  --gap: 16px;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0,0,0,0.12);
  --border: 1px solid rgba(255,255,255,0.08);
  --bg: #0b0f14;
  --card: #121821;
  --ink: #e9eef5;
  --muted: #b7c2d0;
  --accent: #6ee7ff;
  --accent-ink: #051217;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; color: var(--ink); background: #0b0f14; min-height: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 24px; }
.header { display:flex; align-items:center; justify-content:space-between; gap:var(--gap); padding:12px 16px; background:#0e141c; border-bottom:var(--border); position:sticky; top:0; z-index:5; }
.brand { font-weight:700; letter-spacing:0.3px; }
.nav { display:flex; align-items:center; gap:12px; }
.btn { background: linear-gradient(180deg, #1f2b3a, #101621); color: var(--ink); border:0; border-radius:999px; padding:10px 16px; cursor:pointer; box-shadow: var(--shadow); }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity:0.6; cursor:not-allowed; }
.panel { background: var(--card); border:var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:16px; }
.grid { display:grid; gap:var(--gap); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: linear-gradient(180deg, #111824, #0e1420); border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; }
.card img { width:100%; height:180px; object-fit:cover; display:block; background:#0b0d12; }
.card .pad { padding:12px; display:flex; flex-direction:column; gap:8px; flex:1; }
.badge { font-size:12px; color: var(--muted); }
.price { font-weight:700; font-size:18px; }
.actions { margin-top:auto; display:flex; gap:8px; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { padding:10px 8px; border-bottom:1px solid rgba(255,255,255,0.08); }
.table th { text-align:left; color:var(--muted); font-weight:600; }
.qty-input { width:72px; padding:8px; border-radius:10px; border:1px solid rgba(255,255,255,0.12); background:#0a1018; color:var(--ink); }
.total-row td { font-weight:700; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.footer-space { height:48px; }
.notice { padding:8px 12px; border-radius:10px; background:#11222a; color:#a9e9ff; }
hr.dim { border:0; border-top:1px solid rgba(255,255,255,0.08); margin:16px 0; }
input[type="file"] { color: var(--muted); }
textarea.json-input { width:100%; min-height:120px; padding:10px; border-radius:12px; border:1px solid rgba(255,255,255,0.12); background:#0a1018; color:var(--ink); resize:vertical; }
small.helper { color: var(--muted); display:block; margin-top:6px; }
