@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/be-vietnam-pro-vietnamese-700-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/be-vietnam-pro-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --ink: #f4f7fb;
  --card: #ffffff;
  --head: #e7f0fb;
  --line: #d3e0ee;
  --text: #12304f;
  --muted: #5c6f86;
  --accent: #1a56db;
  --accent-ink: #ffffff;
  --in: #0d7a45;
  --out: #b42318;
}
* { box-sizing: border-box; }
[v-cloak] { display: none; }
html, body { margin: 0; background: var(--ink); color: var(--text); }
body {
  font: 600 15px/1.5 "Be Vietnam Pro", system-ui, sans-serif;
  min-height: 100vh;
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}
.bar, main, .foot {
  width: calc(100% - 24px);
  margin: 0 auto;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 8px;
}
.bar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.mark, .nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.nav { display: none; font-size: 14px; font-weight: 600; padding: 8px; }
.mark {
  min-width: 0;
}
.mark span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero { padding: 12px 0 0; }
.kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
h1, h2, .foot-name, .price, .pill, .stat b, button, a.btn { font-weight: 700; }
h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}
.lead { margin: 0 0 14px; color: var(--muted); }
.hero .row { margin-bottom: 8px; }
a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 22px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
}
.stat .ico { width: 22px; height: 22px; margin-bottom: 6px; color: var(--accent); }
.stat .ico.in { color: var(--in); }
.stat .ico.out { color: var(--out); }
.stat b {
  display: block;
  color: var(--accent);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--muted); font-size: 12px; }
h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  margin: 0 0 10px;
  scroll-margin-top: 12px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 -12px 4px;
  padding-left: 12px;
  padding-right: 12px;
}
.chip {
  flex: 0 0 auto;
  min-height: 36px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 12px;
}
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.flash { margin: 0 0 12px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.account { margin-bottom: 12px; }
label { display: grid; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
input, button { font: inherit; border-radius: 10px; }
input {
  width: 100%;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 12px;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
}
button:disabled { opacity: 0.35; cursor: default; }
button.ghost, .bar .ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  max-width: 46vw;
  white-space: nowrap;
}
.bar .ghost span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.sheet {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  margin-bottom: 28px;
}
table {
  border-collapse: collapse;
  width: max-content;
  min-width: 100%;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-weight: 450;
}
thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--head);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
  box-shadow: 1px 0 0 var(--line);
  font-weight: 600;
}
thead th:first-child { left: 0; z-index: 3; }
tr.band th {
  position: static;
  background: var(--head);
  color: var(--muted);
  font-size: 12px;
  box-shadow: none;
}
tr[data-stock="out"] { color: var(--muted); }
.pill { font-size: 12px; font-weight: 700; }
.pill[data-stock="in"] { color: var(--in); }
.pill[data-stock="out"] { color: var(--out); }
.foot {
  margin-top: 4px;
  margin-bottom: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.foot p { margin: 0 0 6px; }
.foot-name { color: var(--text); }
.foot-mail { display: flex; align-items: center; gap: 6px; }
.foot a { color: var(--accent); }
@media (min-width: 900px) {
  .nav { display: inline-flex; }
  .bar, main, .foot { width: min(1120px, calc(100% - 48px)); }
  h1 { font-size: 40px; }
  .stat b { font-size: 28px; }
  table { font-size: 14px; }
  th, td { padding: 12px 14px; }
}
