/* Панель продавца — стили. Цвета интерфейса берутся из темы Telegram (--tg-theme-*),
   цвета графиков и статусов — фиксированные проверенные наборы для светлой и тёмной схем. */

:root {
  --bg: var(--tg-theme-secondary-bg-color, #efeff4);
  --surface: var(--tg-theme-section-bg-color, var(--tg-theme-bg-color, #ffffff));
  --text: var(--tg-theme-text-color, #0b0b0b);
  --hint: var(--tg-theme-hint-color, #8a8a8e);
  --subtle: var(--tg-theme-subtitle-text-color, var(--hint));
  --accent: var(--tg-theme-button-color, #2a78d6);
  --on-accent: var(--tg-theme-button-text-color, #ffffff);
  --link: var(--tg-theme-link-color, var(--accent));
  --accent-text: var(--tg-theme-accent-text-color, var(--link));
  --section-title: var(--tg-theme-section-header-text-color, var(--hint));
  --danger: var(--tg-theme-destructive-text-color, #e5484d);
  --header-bg: var(--tg-theme-header-bg-color, var(--bg));

  --line: rgba(128, 128, 128, 0.2);
  --fill: rgba(128, 128, 128, 0.12);
  --fill-strong: rgba(128, 128, 128, 0.2);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);

  --radius: 16px;
  --radius-sm: 10px;
  --gap: 12px;
  --tabbar-h: 58px;
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* статусы: фиксированные, всегда вместе с иконкой и подписью */
  --good: #0ca30c;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;

  color-scheme: light;
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --grid: rgba(11, 11, 11, 0.07);
  --axis: rgba(11, 11, 11, 0.16);
  --good-text: #006300;
  --tooltip-bg: #0b0b0b;
  --tooltip-text: #ffffff;
}

:root[data-scheme="dark"] {
  color-scheme: dark;
  --series-1: #3987e5;
  --series-2: #d95926;
  --grid: rgba(255, 255, 255, 0.08);
  --axis: rgba(255, 255, 255, 0.18);
  --good-text: #0ca30c;
  --tooltip-bg: #f2f2f0;
  --tooltip-text: #0b0b0b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.4 var(--font);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  min-height: 100vh;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-decoration: none; }
[hidden] { display: none !important; }
svg.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- каркас --------------------------------------------------------------- */

.app { min-height: 100vh; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); }
.app.nested { padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
.app.nested .tabbar { display: none; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 8px;
  background: var(--bg);
  min-height: 56px;
}
.topbar.scrolled { box-shadow: 0 1px 0 var(--line); }
.topbar-title { flex: 1; min-width: 0; }
.topbar-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app.nested .topbar-name { font-size: 18px; }
.topbar-sub { font-size: 13px; color: var(--hint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-sub:empty { display: none; }
.topbar-actions { display: flex; gap: 4px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 20px; border: 0;
  background: var(--fill); color: var(--accent-text);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.icon-btn:active { background: var(--fill-strong); }
.icon-btn.spinning svg { animation: spin 0.9s linear infinite; }

.view { padding: 0 16px; display: flex; flex-direction: column; gap: var(--gap); }
.view.refreshing > * { opacity: 0.55; transition: opacity 0.2s; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface);
  box-shadow: 0 -1px 0 var(--line);
}
.tab {
  position: relative; border: 0; background: none; color: var(--hint);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 500;
}
.tab svg.icon { font-size: 24px; }
.tab.active { color: var(--accent-text); }
.tab-badge {
  position: absolute; top: 6px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--critical); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--surface);
}
.tab-badge.accent { background: var(--accent); color: var(--on-accent); }

/* --- карточки и списки ------------------------------------------------------ */

.section-title {
  margin: 10px 4px -4px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--section-title);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.section-title .link-btn { text-transform: none; letter-spacing: 0; }
.section-note { margin: -4px 4px 0; font-size: 13px; color: var(--hint); }

.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card.pad { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.card-title { font-size: 16px; font-weight: 600; }
.card-sub { font-size: 13px; color: var(--hint); }

.list { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.row {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; min-height: 52px; width: 100%;
  background: none; border: 0; text-align: left;
}
button.row:active, a.row:active { background: var(--fill); }
.row + .row::before, .row + .row-group::before, .row-group + .row::before {
  content: ""; position: absolute; top: 0; right: 0; left: 16px; height: 1px; background: var(--line);
}
.row.with-icon + .row::before, .row + .row.with-icon::before { left: 60px; }
.row-icon {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; background: var(--accent);
}
.row-body { flex: 1; min-width: 0; }
.row-title { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.row-title.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-sub { margin-top: 2px; font-size: 13px; color: var(--hint); overflow-wrap: anywhere; }
.row-sub.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-right { flex: none; display: flex; align-items: center; gap: 6px; color: var(--hint); font-size: 15px; }
.row-value { color: var(--text); font-weight: 600; white-space: nowrap; }
.chev { color: var(--hint); opacity: 0.6; font-size: 18px; }
.row.danger .row-title { color: var(--danger); }
.row.accent .row-title { color: var(--accent-text); }
.row.disabled { opacity: 0.5; }

/* --- кнопки и управление ---------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 0;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px;
}
.btn:active { filter: brightness(0.92); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--fill); color: var(--accent-text); }
.btn.danger { background: var(--fill); color: var(--danger); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn .icon { font-size: 18px; }
.btn-row { display: flex; gap: 8px; }
.btn-row > .btn { flex: 1; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--accent-text); font-size: 14px; font-weight: 500; }

.seg { display: flex; gap: 2px; padding: 2px; border-radius: 11px; background: var(--fill); }
.seg button {
  flex: 1; min-height: 34px; border: 0; border-radius: 9px; background: none;
  font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap;
}
.seg button.active { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); font-weight: 600; }
.seg .count { margin-left: 4px; color: var(--hint); font-weight: 500; font-variant-numeric: tabular-nums; }

.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 32px; padding: 0 12px; border-radius: 16px; border: 0;
  background: var(--fill); color: var(--text); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.chip.active { background: var(--accent); color: var(--on-accent); }

.switch { position: relative; flex: none; width: 51px; height: 31px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 16px; background: var(--fill-strong); transition: background 0.2s; }
.switch .knob {
  position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: transform 0.2s;
}
.switch input:checked ~ .track { background: var(--good); }
.switch input:checked ~ .knob { transform: translateX(20px); }
.switch input:disabled ~ * { opacity: 0.5; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--hint); margin: 0 4px; }
.input, .textarea, .select {
  width: 100%; border: 0; border-radius: 12px; padding: 12px 14px;
  background: var(--surface); color: var(--text); outline: none; font-size: 15px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.input:focus, .textarea:focus, .select:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.textarea.mono { font-family: var(--mono); font-size: 13px; }
.search { position: relative; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--hint); font-size: 17px; }
.search .input { padding-left: 38px; background: var(--fill); box-shadow: none; }

.vars { display: flex; flex-wrap: wrap; gap: 6px; }
.var { border: 0; border-radius: 8px; padding: 4px 8px; background: var(--fill); color: var(--accent-text); font: 12px var(--mono); }

.sticky-actions {
  position: sticky; bottom: 0; z-index: 10; margin: 0 -16px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}

/* --- бейджи и статусы -------------------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 2px 8px; border-radius: 10px; background: var(--fill);
  font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hint); }
.badge.accent { background: var(--accent); color: var(--on-accent); }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; }
.status .icon { font-size: 15px; }
.status.good .icon { color: var(--good); }
.status.warning .icon { color: var(--warning); }
.status.serious .icon { color: var(--serious); }
.status.critical .icon { color: var(--critical); }
.status.neutral .icon { color: var(--hint); }
.dot-status { width: 8px; height: 8px; border-radius: 50%; background: var(--good); display: inline-block; }
.dot-status.off { background: var(--hint); }

/* --- показатели -------------------------------------------------------------- */

.hero { padding: 18px 16px 16px; }
.hero-label { font-size: 13px; color: var(--hint); font-weight: 500; }
.hero-value { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-top: 4px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--hint); }
.legend-key { display: inline-flex; align-items: center; gap: 6px; color: var(--subtle); font-size: 13px; }
.legend-key i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 12px 14px; min-width: 0; }
.tile-label { font-size: 13px; color: var(--hint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-value { font-size: 22px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.tile-delta { font-size: 12px; margin-top: 2px; color: var(--hint); white-space: nowrap; }
.delta-up { color: var(--good-text); }
.delta-down { color: var(--critical); }

.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--hint); }
.kv dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }

.meter { height: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.meter.warning > i { background: var(--warning); }
.meter.critical > i { background: var(--critical); }

/* --- графики ------------------------------------------------------------------ */

.chart-card { padding: 14px 16px 12px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chart { position: relative; margin-top: 10px; touch-action: pan-y; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .tick { font-size: 11px; fill: var(--hint); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.chart .hit { fill: transparent; }
.chart .bar-group.active .bar { filter: brightness(1.12); }
.chart .band { fill: var(--fill); opacity: 0; }
.chart .bar-group.active .band { opacity: 1; }
.tooltip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 150px;
  padding: 8px 10px; border-radius: 10px; background: var(--tooltip-bg); color: var(--tooltip-text);
  font-size: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transform: translate(-50%, -100%);
}
.tooltip-title { font-weight: 600; margin-bottom: 4px; opacity: 0.8; }
.tooltip-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.tooltip-row b { font-variant-numeric: tabular-nums; }
.tooltip-row span { display: inline-flex; align-items: center; gap: 6px; opacity: 0.85; }
.tooltip-row span i { width: 12px; height: 2px; border-radius: 1px; display: inline-block; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.data-table th { text-align: left; font-weight: 500; color: var(--hint); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.data-table td.num, .data-table th.num { text-align: right; }
.table-wrap { max-height: 360px; overflow: auto; }

/* --- чат -------------------------------------------------------------------- */

.chat { display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.msg { max-width: 86%; padding: 7px 11px; border-radius: 16px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.buyer { align-self: flex-start; background: var(--fill); border-bottom-left-radius: 6px; }
.msg.seller { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.msg.staff { align-self: flex-start; background: var(--fill); box-shadow: inset 3px 0 0 var(--warning); border-bottom-left-radius: 6px; }
.msg.system { align-self: center; max-width: 94%; background: none; color: var(--hint); font-size: 12px; text-align: center; padding: 4px 8px; }
.msg-author { font-size: 12px; font-weight: 600; margin-bottom: 2px; opacity: 0.85; display: flex; gap: 6px; align-items: center; }
.msg-meta { font-size: 11px; opacity: 0.65; margin-top: 2px; text-align: right; }
.msg img { display: block; max-width: 220px; max-height: 220px; border-radius: 10px; margin: 2px 0; }
.msg + .msg.same { margin-top: -2px; }
.day-sep { align-self: center; font-size: 12px; color: var(--hint); padding: 6px 0; }
.composer { display: flex; align-items: flex-end; gap: 8px; }
.composer .textarea { min-height: 44px; max-height: 160px; resize: none; border-radius: 22px; padding: 11px 16px; }
.composer .icon-btn { width: 44px; height: 44px; border-radius: 22px; background: var(--accent); color: var(--on-accent); }
.composer-wrap { position: sticky; bottom: 0; margin: 0 -16px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); display: flex; flex-direction: column; gap: 8px; }

/* --- поддержка ------------------------------------------------------------------ */

.quote {
  margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--fill);
  font-size: 13px; color: var(--text); box-shadow: inset 3px 0 0 var(--hint); overflow-wrap: anywhere;
}
.override { display: flex; gap: 4px; margin-top: 8px; }
.override button {
  flex: 1; min-height: 30px; border: 0; border-radius: 8px; background: var(--fill);
  font-size: 12px; font-weight: 600; color: var(--text);
}
.override button.active { background: var(--accent); color: var(--on-accent); }
.progress-line { height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; margin-top: 10px; }
.progress-line > i { display: block; height: 100%; background: var(--accent); transition: width 0.4s; }
.progress-line.indeterminate > i { width: 35%; animation: indeterminate 1.3s ease-in-out infinite; }
.pre { white-space: pre-wrap; font: 13px/1.5 var(--mono); overflow-wrap: anywhere; }

details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "›"; font-size: 22px; color: var(--hint); transform: rotate(90deg); transition: transform 0.2s; }
details[open] > summary::after { transform: rotate(-90deg); }

/* --- логи --------------------------------------------------------------------------- */

.log { font: 12px/1.5 var(--mono); padding: 10px 12px; overflow-x: auto; }
.log-line { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1px 0; }
.log-line.W { color: #b87700; }
.log-line.E, .log-line.C { color: var(--critical); }
.log-line.D { color: var(--hint); }
:root[data-scheme="dark"] .log-line.W { color: var(--warning); }

/* --- состояния ----------------------------------------------------------------------- */

.empty { padding: 36px 20px; text-align: center; color: var(--hint); }
.empty .icon { font-size: 40px; opacity: 0.6; margin-bottom: 10px; }
.empty-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.error-box { padding: 16px; border-radius: var(--radius); background: var(--surface); display: flex; gap: 12px; align-items: flex-start; }
.error-box .icon { color: var(--critical); font-size: 22px; margin-top: 1px; }

.skeleton { border-radius: var(--radius); background: var(--surface); position: relative; overflow: hidden; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--fill), transparent);
  animation: shimmer 1.4s infinite; transform: translateX(-100%);
}

.toast-root { position: fixed; left: 16px; right: 16px; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  max-width: 480px; padding: 10px 14px; border-radius: 12px; background: var(--tooltip-bg); color: var(--tooltip-text);
  font-size: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); display: flex; gap: 8px; align-items: center;
  animation: toast-in 0.2s ease-out;
}
.toast .icon { font-size: 18px; }
.toast.error .icon { color: var(--critical); }
.toast.success .icon { color: var(--good); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.4); animation: fade-in 0.15s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: 18px 18px 0 0;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
  animation: sheet-in 0.22s ease-out; display: flex; flex-direction: column; gap: 12px;
}
.sheet-grip { width: 36px; height: 5px; border-radius: 3px; background: var(--fill-strong); margin: 0 auto 4px; }
.sheet-title { font-size: 18px; font-weight: 700; }
.sheet-text { font-size: 14px; color: var(--hint); }

.muted { color: var(--hint); }
.small { font-size: 13px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.nums { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.pad-x { padding: 0 16px; }
.pad { padding: 16px; }
.mt { margin-top: 8px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes indeterminate { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (min-width: 720px) {
  .view { max-width: 720px; margin: 0 auto; }
  .topbar { max-width: 752px; margin: 0 auto; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
