/* HairCare BD Stock: neutral, dense, professional UI. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --hover: #f3f4f6;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;
  --subtle: #9ca3af;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-text: #0f766e;
  --on-accent: #ffffff;
  --ring: rgba(15, 118, 110, 0.28);
  --strong: #111827;
  --on-strong: #ffffff;
  --neg: #dc2626;
  --neg-bg: #fef2f2;
  --neg-border: #fecaca;
  --low: #b45309;
  --low-bg: #fffbeb;
  --low-border: #fde68a;
  --topbar-bg: rgba(255, 255, 255, 0.82);
  --shadow-pop: 0 10px 30px -8px rgba(17, 24, 39, 0.16), 0 2px 6px rgba(17, 24, 39, 0.06);
  --header-h: 56px;
  --tabbar-h: 58px;
  --radius: 12px;
  --radius-sm: 10px;
  --ease: 150ms cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0b;
    --surface: #141416;
    --surface-2: #1c1c1f;
    --hover: #1f1f23;
    --border: #27272a;
    --border-strong: #3f3f46;
    --text: #f4f4f5;
    --text-2: #d4d4d8;
    --muted: #a1a1aa;
    --subtle: #71717a;
    --accent: #0f766e;
    --accent-hover: #0d9488;
    --accent-text: #2dd4bf;
    --ring: rgba(45, 212, 191, 0.3);
    --strong: #f4f4f5;
    --on-strong: #111827;
    --neg: #f87171;
    --neg-bg: rgba(248, 113, 113, 0.1);
    --neg-border: rgba(248, 113, 113, 0.28);
    --low: #fbbf24;
    --low-bg: rgba(251, 191, 36, 0.1);
    --low-border: rgba(251, 191, 36, 0.28);
    --topbar-bg: rgba(20, 20, 22, 0.82);
    --shadow-pop: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-feature-settings: "cv11", "ss01";
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.icon { flex: none; display: block; }
.num, .qty, .stat-value, .bigstock, input[type=number], td.n, th.n { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--topbar-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.topbar-inner {
  max-width: 640px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 6px; padding: 0 8px 0 16px;
}
.topbar-inner.has-back { padding-left: 6px; }
.topbar-text { flex: 1; min-width: 0; }
.brand { font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; line-height: 1.2; }
.page-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- layout */
main { max-width: 640px; margin: 0 auto; padding: 12px 16px 8px; }
.stack > * + * { margin-top: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card-body { padding: 14px; }
.card-body > * + * { margin-top: 12px; }
.card-title { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.hint { font-size: 13px; color: var(--muted); }
.row { display: flex; align-items: center; gap: 8px; }
.row > .grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; }

.section-label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.group { margin-top: 16px; }
.group:first-child { margin-top: 0; }
.group-head {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top) + 1px); z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 4px 6px; background: var(--bg);
}
.group-head .meta { font-size: 12px; color: var(--subtle); }
.group-head .actions { display: flex; gap: 2px; margin-right: -6px; }

/* ---------------------------------------------------------------- lists */
.list { list-style: none; margin: 0; padding: 0; }
.list > li + li, .list > a + a { border-top: 1px solid var(--border); }
.item {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  transition: background var(--ease);
}
a.item:active, a.item:hover { background: var(--hover); }
.item .name { flex: 1; min-width: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .chev { color: var(--subtle); margin-right: -4px; }
.item .sub { font-size: 12.5px; color: var(--muted); }
.list > li:first-child .item, .list > a:first-child.item { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.list > li:last-child .item, .list > a:last-child.item { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }

.qty { font-size: 15px; font-weight: 500; min-width: 28px; text-align: right; }
.qty.zero { color: var(--subtle); }
.badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px;
  font-size: 13px; font-weight: 600; border: 1px solid transparent; font-variant-numeric: tabular-nums;
}
.badge.low { color: var(--low); background: var(--low-bg); border-color: var(--low-border); }
.badge.neg { color: var(--neg); background: var(--neg-bg); border-color: var(--neg-border); }
.badge.plain { color: var(--text-2); background: var(--surface-2); border-color: var(--border); }

.empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.empty .icon { margin: 0 auto 8px; color: var(--subtle); }
.empty .btn { margin-top: 12px; }

/* ---------------------------------------------------------------- forms */
.field > label, .label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.field + .field { margin-top: 14px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.label-row .label { margin: 0; }
.input, select.input, textarea.input {
  width: 100%; height: 44px; padding: 0 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 15px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
textarea.input { height: auto; min-height: 72px; padding: 10px 12px; resize: vertical; }
select.input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input::placeholder { color: var(--subtle); }
.input:focus, .input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
input[type=date].input { min-width: 0; }
input[type=date].input::-webkit-date-and-time-value { text-align: left; }
.input.sm { height: 34px; font-size: 14px; padding: 0 10px; border-radius: 8px; }

.input-wrap { position: relative; }
.input-wrap > .icon.lead { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.input-wrap > .input { padding-left: 40px; }
.input-wrap > .trail { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.input-wrap.has-trail > .input { padding-right: 44px; }

:focus-visible { outline: none; }
.btn:focus-visible, .icon-btn:focus-visible, .seg button:focus-visible, a.item:focus-visible, .tab:focus-visible, .combo-opt:focus-visible {
  box-shadow: 0 0 0 3px var(--ring);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease), opacity var(--ease);
}
.btn:hover { background: var(--hover); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-strong { background: var(--strong); border-color: var(--strong); color: var(--on-strong); }
.btn-strong:hover { background: var(--strong); opacity: 0.9; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-lg { height: 48px; font-size: 15px; font-weight: 600; width: 100%; }
.btn-block { width: 100%; }
.btn-sm { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 8px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--muted);
  transition: background var(--ease), color var(--ease);
}
.icon-btn:hover, .icon-btn:active { background: var(--hover); color: var(--text); }
.icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.sm .icon { width: 18px; height: 18px; }
.icon-btn.boxed { width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-2); }

/* ---------------------------------------------------------------- segmented controls */
.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px;
  padding: 3px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
}
.seg.full { display: grid; width: 100%; }
.seg button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent;
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.seg button .icon { width: 16px; height: 16px; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08), 0 0 0 1px var(--border); }
.seg.xs { padding: 2px; border-radius: 8px; }
.seg.xs button { height: 26px; padding: 0 9px; font-size: 12.5px; border-radius: 6px; }

/* ---------------------------------------------------------------- stepper */
.stepper {
  display: grid; grid-template-columns: 44px 1fr 44px; height: 44px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.stepper button { border: 0; background: transparent; color: var(--text-2); display: flex; align-items: center; justify-content: center; transition: background var(--ease); }
.stepper button:active { background: var(--hover); }
.stepper button:first-child { border-right: 1px solid var(--border); }
.stepper button:last-child { border-left: 1px solid var(--border); }
.stepper input { border: 0; outline: none; background: transparent; text-align: center; font-size: 17px; font-weight: 600; width: 100%; min-width: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------------------------------------------------------------- combobox */
.combo { position: relative; scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top) + 44px); }
.combo-list {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 288px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop); padding: 4px;
  opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden;
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.combo.open .combo-list { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.combo-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--subtle); }
.combo-opt {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-radius: 7px;
  font-size: 15px; cursor: pointer;
}
.combo-opt .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-opt.active { background: var(--hover); }
.combo-opt.selected .check { color: var(--accent-text); }
.combo-opt .check { width: 16px; height: 16px; color: transparent; }
.combo-empty { padding: 14px 10px; font-size: 14px; color: var(--muted); text-align: center; }
.stock-hint { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 22px; }

/* ---------------------------------------------------------------- entries */
.entry { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 6px 10px 14px; align-items: start; }
.entry .e-main { min-width: 0; }
.entry .e-title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry .e-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.entry .e-note { font-size: 13px; color: var(--text-2); margin-top: 4px; word-break: break-word; }
.entry .e-side { display: flex; align-items: center; gap: 2px; }
.entry .e-qty { text-align: right; padding: 0 6px; min-width: 44px; }
.entry .e-qty .qty { display: block; font-weight: 600; }
.entry .e-qty .bal { display: block; font-size: 12px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.tag {
  display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 6px 0 4px; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 11.5px; font-weight: 500;
}
.tag .icon { width: 13px; height: 13px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--subtle); }

/* ---------------------------------------------------------------- stats / tables */
.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stats > div { padding: 12px 14px; }
.stats > div + div { border-left: 1px solid var(--border); }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat-value { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2px; }
.bigstock { font-size: 34px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.bigstock.neg { color: var(--neg); }
.bigstock.low { color: var(--low); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--subtle); text-align: left; padding: 8px 14px; border-bottom: 1px solid var(--border); }
.tbl td { padding: 9px 14px; border-top: 1px solid var(--border); }
.tbl tr:first-child td { border-top: 0; }
.tbl .n { text-align: right; width: 64px; }
.tbl td.zero { color: var(--subtle); }

.datenav { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.toolbar .summary { font-size: 13px; color: var(--muted); }
.asof { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.asof .input { width: 150px; }

/* action rows (Export) */
.action { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; transition: background var(--ease); }
a.action:hover, a.action:active { background: var(--hover); }
.action .a-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); flex: none; }
.action .a-text { flex: 1; min-width: 0; }
.action .a-title { font-size: 15px; font-weight: 500; }
.action .a-sub { font-size: 13px; color: var(--muted); }
.action .chev { color: var(--subtle); }
.list > a.action:first-child { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.list > a.action:last-child { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }

.notice { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.notice > * + * { margin-top: 4px; }
.problems { font-size: 12.5px; color: var(--muted); max-height: 160px; overflow-y: auto; margin: 0; padding-left: 18px; }
.file-name { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-inner { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tabbar-h); }
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--subtle); font-size: 11px; font-weight: 500; letter-spacing: 0.01em;
  transition: color var(--ease);
}
.tab::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 24px; height: 2px; margin-left: -12px;
  border-radius: 0 0 2px 2px; background: var(--accent-text); transform: scaleX(0); transition: transform var(--ease);
}
.tab.active { color: var(--accent-text); }
.tab.active::before { transform: scaleX(1); }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(env(safe-area-inset-top) + 8px);
  max-width: min(440px, calc(100vw - 24px)); min-height: 40px;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px;
  background: #111827; color: #f9fafb; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.toast.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.toast .t-msg { flex: 1; min-width: 0; }
.toast .icon { width: 16px; height: 16px; }
.toast button { height: 28px; padding: 0 10px; border-radius: 7px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 13px; font-weight: 600; }
.toast:not(:has(button)) { padding-right: 14px; }
@media (prefers-color-scheme: dark) { .toast { background: #27272a; border: 1px solid #3f3f46; } }

/* ---------------------------------------------------------------- dialog */
dialog {
  border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(480px, calc(100vw - 24px));
  background: var(--surface); color: var(--text); max-height: calc(100dvh - 32px);
  box-shadow: var(--shadow-pop);
}
dialog[open] { animation: dlg-in 150ms cubic-bezier(0.2, 0, 0, 1); }
dialog::backdrop { background: rgba(17, 24, 39, 0.4); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(6px) scale(0.99); } }
.dlg-head { padding: 16px 16px 0; }
.dlg-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.dlg-body { padding: 14px 16px 16px; overflow-y: auto; max-height: calc(100dvh - 160px); }
.dlg-body p { color: var(--text-2); font-size: 14.5px; }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--border); }

/* ---------------------------------------------------------------- login */
body.login-page { padding-bottom: 0; min-height: 100dvh; display: flex; align-items: center; justify-content: center; }
.login { width: 100%; max-width: 380px; padding: 24px 16px; }
.login .logo { width: 44px; height: 44px; border-radius: 11px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.login h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.login .lead { color: var(--muted); font-size: 14px; margin-top: 4px; margin-bottom: 22px; }
.login .error { color: var(--neg); font-size: 13px; font-weight: 500; margin-top: 8px; }
.login .foot { font-size: 12.5px; color: var(--subtle); margin-top: 14px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* helpers */
.spacer-12 { height: 12px; }
.card-title + .hint, div > .card-title + .hint { margin-top: 4px; }
label.btn { cursor: pointer; }
.e-title a, .tbl a { color: inherit; }
.tbl a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

/* the product dropdown grows inline inside dialogs (dialogs scroll) */
.dlg-body .combo-list { position: static; margin-top: 4px; box-shadow: none; display: none; transform: none; }
.dlg-body .combo.open .combo-list { display: block; }

/* polish */
.item { min-height: 42px; padding-top: 7px; padding-bottom: 7px; }
.group { margin-top: 14px; }
.stock-hint:empty { display: none; }
.card-body > div:empty { display: none; }
.tbl a { text-decoration: none; }
