/* Cardshark admin. One column on a phone. Controls are at least 44 pixels. */
:root {
  color-scheme: light;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --paper: #f7f4ef;
  --card: #fff;
  --alert: #8c2f2f;
  --alert-bg: #f8e8e4;
  --ok: #1f6b45;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.45 "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
header a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; }
header a.active { font-weight: 700; }
main { padding: 16px; max-width: 880px; margin: 0 auto; }
h1 { font-size: 1.4rem; margin: 0 0 12px; }
.strip { display: grid; gap: 8px; }
.strip article, .card, .sku, .line {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.strip .bad { background: var(--alert-bg); border-color: var(--alert); color: var(--alert); }
label, button, input, select, a.tap { min-height: 44px; }
button, .tap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: inherit;
  text-decoration: none;
}
button.ghost, a.ghost { background: #fff; color: var(--ink); }
input, select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.muted { color: var(--muted); font-size: 0.9rem; }
.price { font-weight: 650; }
.small { display: block; color: var(--muted); font-size: 0.85rem; }
.group { margin: 18px 0; }
.folded { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.slider { display: block; }
.slider input[type="range"] { width: 100%; min-height: 44px; }
.slider input[type="number"] { margin-top: 8px; }
.mark { position: relative; height: 16px; margin-top: 4px; }
.mark::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: #c8bfb2; }
.mark span { position: absolute; top: 0; width: 2px; height: 16px; background: var(--ok); }
.picker { position: relative; }
.picker-list {
  position: absolute; z-index: 2; left: 0; right: 0; max-height: 280px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.confirm { margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.row { display: grid; gap: 4px; margin: 8px 0; }
ul.plain { list-style: none; padding: 0; }
ul.plain li { margin: 8px 0; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
@media (max-width: 700px) {
  main { padding: 12px; }
  .strip { grid-template-columns: 1fr; }
}
