* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
html { touch-action: manipulation; }
body { overflow: hidden; }
button, input, textarea, select { font-family: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
input, textarea, select { border: 0; outline: none; background: transparent; width: 100%; font-size: 16px; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; display: block; flex-shrink: 0; }
a { color: var(--link); text-decoration: none; }

#app {
  height: 100%;
  width: 100%;
  display: flex;
  background: var(--bg);
}

.desk-nav {
  display: none;
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 28px 16px;
  background: #050505;
}
.desk-nav .brand { font-size: 20px; font-weight: 700; padding: 0 12px 24px; }
.desk-nav a {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-2); padding: 12px 14px; border-radius: 14px;
  font-size: 15px; font-weight: 600;
}
.desk-nav a svg { width: 20px; height: 20px; flex-shrink: 0; }
.desk-nav a.on { background: var(--card); color: var(--text); }

#overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}
#overlay:not(:empty) { pointer-events: auto; }

.grow { flex: 1; min-width: 0; }

.phone {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  background: var(--bg);
}
.phone-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  min-width: 0;
  position: relative;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.screen {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: calc(12px + var(--safe-top)) var(--pad) calc(var(--tab-h) + var(--safe-bot) + 18px);
  -webkit-overflow-scrolling: touch;
}
.screen.no-tab { padding-bottom: calc(28px + var(--safe-bot)); }
.screen.modal-screen { padding-top: calc(8px + var(--safe-top)); }

.page-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 4px 0 16px;
  line-height: 1.15;
  padding-right: 4px;
}
.num, .rev-card .big, .stat .num, .mini .num, .amt, .product-card .price, .list-card b, .home-row b {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
  font-family: "SF Pro Display", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.top-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 2px;
}
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); color: var(--text);
  display: grid; place-items: center;
}
.icon-btn svg { width: 20px; height: 20px; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border-radius: var(--radius-pill);
  padding: 11px 16px; color: var(--text-2); margin-bottom: 14px;
  min-width: 0;
}
.search svg { width: 16px; height: 16px; flex-shrink: 0; }
.search input { font-size: 16px; }
.search input::placeholder { color: var(--text-3); }

.chips {
  display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 16px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 36px; padding: 0 14px; border-radius: var(--radius-pill);
  background: var(--card); color: var(--text); font-size: 13px; font-weight: 600;
  border: 1px solid transparent; flex: 0 0 auto;
}
.chip.on { background: #fff; color: #000; }

.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.product-card { min-width: 0; cursor: pointer; }
.product-card .thumb {
  aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  background: #111; margin-bottom: 10px;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .name {
  font-size: 15px; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere; word-break: break-word;
  min-height: 38px;
}
.product-card .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.product-card .price { font-size: 15px; font-weight: 700; }
.status-pill {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: var(--card-2); color: #d0d0d0; flex-shrink: 0;
}
.status-pill.pre { background: #2a2a2e; }
.product-card .sub {
  font-size: 12px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: calc(8px + var(--safe-bot));
  height: 58px; border-radius: 32px;
  background: rgba(22,22,24,.92); backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 20; box-shadow: var(--shadow);
}
.tabbar button {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #cfcfd2;
}
.tabbar button.on { background: #fff; color: #000; }
.tabbar svg { width: 22px; height: 22px; }

.form-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 8px;
}
.form-head h1 {
  flex: 1; min-width: 0; margin: 0;
  font-size: 17px; font-weight: 700; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.head-pill {
  min-width: 64px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--card); font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.head-pill.ghost { background: var(--card); color: var(--text); }
.head-pill.back { width: 36px; min-width: 36px; padding: 0; display: grid; place-items: center; }

.sec-label {
  font-size: 13px; color: var(--text-2); margin: 18px 0 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.sec-label .right { color: var(--text-2); font-weight: 600; text-align: right; min-width: 0; }

.field {
  background: var(--card); border-radius: 18px; padding: 12px 14px; margin-bottom: 10px;
}
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field input, .field textarea, .field select { font-size: 16px; }
.field textarea { min-height: 88px; resize: vertical; }
.field.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field.row > :last-child { min-width: 0; text-align: right; }
.field select {
  appearance: none; background: transparent; text-align: right;
  color: var(--text); font-size: 16px; max-width: 56%;
}
.field:not(.row) select { max-width: 100%; text-align: left; }
.hint { font-size: 13px; color: var(--text-3); margin: 6px 0 12px; line-height: 1.45; }
.err { color: var(--danger); font-size: 13px; margin: 4px 0 10px; }

.upload {
  background: var(--card); border-radius: 22px; min-height: 168px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-2); text-align: center; gap: 6px; overflow: hidden; position: relative;
}
.upload img { width: 100%; height: 220px; object-fit: cover; }
.upload svg { width: 36px; height: 36px; opacity: .55; }
.upload .ph { font-size: 14px; }
.upload .ph small { display: block; color: var(--text-3); font-size: 12px; margin-top: 4px; }
.remove-img { color: var(--danger); font-size: 14px; margin: 10px 0 4px; display: inline-flex; align-items: center; gap: 6px; }

.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1; height: 38px; border-radius: 999px; background: var(--card);
  font-size: 14px; font-weight: 650;
}
.seg button.on { background: #fff; color: #000; }

.item-card { background: var(--card); border-radius: 20px; padding: 14px; margin-bottom: 10px; position: relative; }
.item-del {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  border-radius: 50%; background: #3a2020; color: var(--danger); display: grid; place-items: center;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.linkish { color: var(--text-2); font-size: 14px; font-weight: 600; }
.adv { background: var(--card); border-radius: 18px; padding: 12px 14px; margin: 8px 0 14px; }
.toggle { width: 48px; height: 30px; border-radius: 999px; background: #3a3a3c; position: relative; flex-shrink: 0; }
.toggle.on { background: #fff; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #111; transition: .2s; }
.toggle.on i { left: 21px; background: #000; }

.empty {
  min-height: 46vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--text);
}
.empty .ico {
  width: 72px; height: 72px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; margin-bottom: 16px; color: #c8c8cc;
}
.empty h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.empty p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; max-width: 280px; }
.empty .cta { margin-top: 16px; height: 42px; padding: 0 22px; border-radius: 999px; background: #fff; color: #000; font-weight: 700; }

.buyer-card, .list-card {
  background: var(--card); border-radius: 22px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  cursor: pointer; min-width: 0;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #2a2a2c;
  display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.buyer-card .grow, .list-card .grow { flex: 1; min-width: 0; }
.buyer-card .name, .list-card .name {
  font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.buyer-card .sub, .list-card .sub {
  font-size: 13px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.buyer-card .amt, .list-card b { text-align: right; font-weight: 700; flex-shrink: 0; }
.buyer-card .amt small { display: block; color: var(--text-2); font-weight: 500; font-size: 12px; }
.card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.list-card .head-pill { min-width: 0; height: 32px; padding: 0 10px; font-size: 13px; margin-left: 0; }

.muted-row {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-2); font-size: 13px; margin: 4px 0 12px; gap: 8px;
}
.muted-row span { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }

.plus-mask, .pop-mask, .dlg-mask, .sheet-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 40;
}
.plus-sheet {
  position: absolute; left: 16px; right: 16px;
  bottom: calc(var(--tab-h) + var(--safe-bot) + 8px);
  max-height: calc(100% - var(--safe-top) - var(--tab-h) - 24px);
  overflow-x: hidden; overflow-y: auto;
  background: #2a2a2c; border-radius: 28px; padding: 14px 12px 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  z-index: 50; box-shadow: var(--shadow);
  animation: sheetUp .18s ease;
}
@keyframes sheetUp { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.plus-item {
  min-height: 72px; height: auto; padding: 8px 4px; border-radius: 18px; background: #1c1c1e;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 650; color: #eee; text-align: center; line-height: 1.2;
}
.plus-item svg { width: 22px; height: 22px; }
.plus-item.reg { background: var(--plus-reg); }
.plus-item.prod { background: var(--plus-prod); color: #f3e6c8; }
.plus-item.ai { background: var(--plus-ai); color: #e3d7ff; }
.plus-guide {
  grid-column: 1 / -1; height: 40px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--text-2); font-size: 14px; font-weight: 650;
}
.plus-close {
  position: static; grid-column: 1 / -1;
  width: 44px; height: 44px; border-radius: 50%; background: #1c1c1e;
  display: grid; place-items: center; color: #fff; margin: 0 auto;
}

.popover {
  position: absolute; top: calc(58px + var(--safe-top)); right: 16px;
  background: #2c2c2e; border-radius: 18px; padding: 8px; min-width: 176px;
  z-index: 45; box-shadow: var(--shadow);
}
.popover button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 12px 12px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
}

.dialog {
  position: absolute; left: 50%; top: 18%;
  transform: translateX(-50%);
  width: min(400px, calc(100% - 40px));
  background: #2c2c2e; border-radius: 22px; padding: 22px 18px 16px;
  text-align: center; z-index: 60; box-shadow: var(--shadow);
}
.dialog h3 { margin: 0 0 16px; font-size: 18px; line-height: 1.35; }
.dialog .danger {
  width: 100%; height: 44px; border-radius: 999px; background: #3a3a3c;
  color: var(--danger); font-weight: 700; font-size: 16px;
}

.picker {
  position: absolute; inset: 0; background: var(--bg); z-index: 55;
  padding: calc(10px + var(--safe-top)) 16px 24px;
  overflow: auto;
}
.year-wheel {
  background: var(--card); border-radius: 18px; height: 120px; overflow: auto;
  text-align: center; margin-bottom: 16px;
}
.year-wheel div { height: 40px; line-height: 40px; color: var(--text-3); font-size: 18px; }
.year-wheel div.on { color: #fff; font-weight: 700; background: #2a2a2c; }
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.month-grid button, .period button {
  height: 40px; border-radius: 14px; background: var(--card); font-weight: 650;
}
.month-grid button.on, .period button.on { background: #fff; color: #000; }
.period { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.period button { font-size: 13px; padding: 0 2px; }

.qty { display: flex; align-items: center; gap: 8px; }
.qty b { min-width: 16px; text-align: center; }
.qty button {
  width: 28px; height: 28px; border-radius: 50%; background: #2a2a2c; font-size: 18px;
}

.warn { color: var(--warn); font-size: 13px; margin: 8px 0; }
.status-row { display: flex; gap: 6px; overflow: auto; padding-bottom: 4px; }
.status-row button {
  flex: 0 0 auto; height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--card); font-size: 13px; font-weight: 650;
}
.status-row button.on { background: var(--chip-pending); color: #000; }
.status-row button.s1.on { background: var(--chip-ok); }
.status-row button.s2.on { background: var(--chip-buy); }
.status-row button.s3.on { background: var(--chip-pay); }
.status-row button.s4.on { background: var(--chip-off); }

.toast {
  position: absolute; left: 16px; right: 16px; top: calc(10px + var(--safe-top));
  background: #2c2c2e; border-radius: 20px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; z-index: 70;
  box-shadow: var(--shadow);
}
.toast .t { flex: 1; }
.toast .t b { display: block; font-size: 15px; }
.toast .t span { font-size: 13px; color: var(--text-2); }
.toast .now { color: var(--text-2); font-size: 13px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.stat-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid.three .stat { padding: 12px 10px; }
.stat-grid.three .num { font-size: 26px; }
.stat-grid.three .lab, .stat-grid.three .foot { font-size: 12px; }
.stat, .mini {
  background: var(--card); border-radius: 20px; padding: 14px; min-width: 0;
}
.stat .num { font-size: 32px; font-weight: 800; letter-spacing: 0; }
.stat .lab { color: var(--text-2); font-size: 13px; margin-bottom: 6px; }
.stat .foot { color: var(--text-3); font-size: 12px; margin-top: 6px; }
.stat .foot.red { color: var(--danger); }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini { text-align: left; }
.mini[data-go] { cursor: pointer; }
.mini .num { font-size: 22px; font-weight: 800; }
.mini .lab { font-size: 12px; color: var(--text-2); }

.home-row {
  background: var(--card); border-radius: 18px; padding: 12px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  cursor: pointer; min-width: 0;
}
.home-row .name, .home-row .sub {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.home-row b, .home-row .amt { flex-shrink: 0; text-align: right; }
.home-row .amt small { display: block; color: var(--text-2); font-weight: 500; font-size: 12px; }
.stat { cursor: pointer; }
.icon-btn, .chip, .plus-item, .btn-main, .head-pill, .radio-card, .home-row, .list-card, .buyer-card, .product-card, .tabbar button {
  transition: transform .08s ease, opacity .12s ease, background .15s ease;
}
.icon-btn:active, .chip:active, .plus-item:active, .btn-main:active, .head-pill:active, .radio-card:active, .home-row:active, .list-card:active, .buyer-card:active, .product-card:active, .tabbar button:active {
  transform: scale(.97);
  opacity: .88;
}
.home-row img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.chart {
  height: 86px; margin: 8px 0 18px; border-bottom: 1px solid #333;
  position: relative;
}
.chart svg { width: 100%; height: 100%; }
.chart .axis { display: flex; justify-content: space-between; color: var(--text-3); font-size: 10px; margin-top: 4px; }

.donut-wrap { display: flex; align-items: center; gap: 16px; background: var(--card); border-radius: 20px; padding: 16px; }
.legend { font-size: 13px; color: var(--text-2); line-height: 1.8; }

.month-acc { background: var(--card); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
.month-acc .h { display: flex; align-items: center; gap: 10px; }
.month-acc .big { font-size: 28px; font-weight: 800; width: 46px; }
.skel { background: #1a1a1c; border-radius: 16px; height: 72px; margin-bottom: 10px; animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

.color-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dots i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.color-dots i.on { outline: 2px solid #fff; }

.home-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.greet { font-size: clamp(24px, 4.2vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 2px; }
.rev-card { background: var(--card); border-radius: 26px; padding: 18px 16px 12px; margin: 14px 0 18px; }
.rev-card .lab { color: var(--text-2); font-size: 14px; }
.rev-card .big { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: 0; line-height: 1.1; margin: 6px 0 4px; }
.radio-card { background: var(--card); border-radius: 18px; padding: 14px 16px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 12px; text-align: left; width: 100%; }
.radio-card b { display: block; font-size: 15px; }
.radio-card span { display: block; color: var(--text-2); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #555; margin-top: 2px; flex-shrink: 0; }
.radio.on { border-color: #fff; box-shadow: inset 0 0 0 5px #fff; background: #000; }
.stepper { display: flex; justify-content: space-between; margin: 8px 0 18px; color: var(--text-3); font-size: 12px; text-align: center; }
.stepper div { flex: 1; }
.stepper .on { color: #fff; font-weight: 700; }
.stepper i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2a2a2c; margin-bottom: 4px; }
.stepper .on i { background: #fff; color: #000; }

.login {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: 32px 22px;
}
.login h1 { font-size: 32px; margin: 0 0 8px; }
.login p { color: var(--text-2); margin: 0 0 16px; }
.login .lang-seg { margin: 0 0 8px; }
.lang-seg { margin-bottom: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lang-seg::-webkit-scrollbar { display: none; }
.lang-seg button { font-size: 12px; min-width: 0; padding: 0 8px; flex: 1 0 auto; }
.lang-seg button[disabled] { opacity: .4; pointer-events: none; }
.btn-main {
  width: 100%; height: 48px; border-radius: 999px; background: #fff; color: #000;
  font-weight: 800; font-size: 16px; margin-top: 12px;
}

.kb-done {
  position: absolute; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-bot));
  z-index: 8; display: flex; justify-content: flex-end;
  padding: 6px 14px; background: #2c2c2e; border-top: 1px solid var(--line);
}
.kb-done[hidden] { display: none; }
.kb-done button { color: #0a84ff; font-weight: 700; font-size: 16px; padding: 6px 8px; }
.dialog .hint { overflow-wrap: anywhere; word-break: normal; margin: 8px 0 12px; }
.share-sheet .share-url { word-break: break-all; overflow-wrap: anywhere; }
.guide-banner {
  background: #2c2540; border-radius: 18px; padding: 14px 16px; margin: 12px 0;
  display: flex; flex-direction: column; gap: 4px; cursor: pointer;
}
.guide-banner b { font-size: 15px; }
.guide-banner span { color: var(--text-2); font-size: 13px; }
.guide-p {
  background: var(--card); border-radius: 16px; padding: 14px 16px;
  margin-bottom: 10px; line-height: 1.55; color: #ddd; font-size: 15px;
}
.tour-bar {
  position: absolute; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-bot) + 8px);
  background: #1c1c1e; border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 14px; z-index: 55; box-shadow: var(--shadow);
}
.tour-k { color: var(--text-3); font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.tour-c { font-size: 14px; line-height: 1.45; }
.tour-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.tour-actions button { color: #0a84ff; font-weight: 700; font-size: 15px; padding: 6px 8px; }
.tour-check { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; color: var(--text-2); font-size: 13px; }
.tour-check input { width: 18px; height: 18px; accent-color: #fff; }
@media (min-width: 640px) {
  :root { --pad: 24px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .desk-nav { display: block; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-grid:not(.three) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tabbar { display: none; }
  .screen { padding-bottom: 32px; }
  .kb-done { bottom: 0; }
  .plus-sheet { bottom: 16px; max-height: calc(100% - 32px); }
  .tour-bar { bottom: 12px; }
}
@media (min-width: 1280px) {
  :root { --pad: 32px; }
  .desk-nav { width: 260px; }
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
