* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: Inter, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  color: #182a36;
  background: #f4f7f7;
  font-size: 16px;
  --ink: #172c37;
  --muted: #536774;
  --line: #dce4e5;
  --green: #106557;
  --dark: #162b39;
  --lime: #c6f27d;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #378cb3;
  outline-offset: 3px;
}
input,
select {
  color: var(--ink);
  border: 1px solid #cbd6d8;
  border-radius: 8px;
  background-color: #fff;
}
input {
  min-width: 0;
  padding: 0.62rem 0.8rem;
}
select {
  appearance: none;
  padding: 0.59rem 2.2rem 0.59rem 0.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #506974 50%),
    linear-gradient(135deg, #506974 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 51%,
    calc(100% - 11px) 51%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.brand {
  letter-spacing: -0.039em;
}
h1 {
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  line-height: 1.09;
  font-weight: 660;
}
h2 {
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 650;
}
h3 {
  font-size: 1rem;
}
small,
.fine {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
small {
  display: block;
}
code,
.mono,
.num,
.stat strong,
.health-total b {
  font-variant-numeric: tabular-nums;
}
code,
.mono {
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 0.87rem;
}
b,
strong {
  font-weight: 620;
}
[hidden] {
  display: none !important;
}
.primary,
.secondary,
.small-btn,
.link,
.row-link,
.logout,
.mobile-menu {
  border: 0;
  background: none;
}
.primary,
.secondary,
.small-btn {
  font-weight: 600;
  border-radius: 8px;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
}
.primary {
  background: #175e50;
  color: #fff;
}
.primary:hover {
  background: #124e43;
}
.secondary,
.small-btn {
  background: #fff;
  border: 1px solid #cbd6d8;
}
.secondary:hover,
.small-btn:hover {
  background: #edf4f1;
}
.small-btn {
  min-height: 32px;
  font-size: 0.82rem;
  padding: 0.34rem 0.7rem;
}
.link,
.row-link,
.logout {
  color: #126352;
  font-weight: 620;
  padding: 0;
}
.link:hover,
.row-link:hover,
.logout:hover {
  text-decoration: underline;
}
.link {
  font-size: 0.87rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.79rem;
  line-height: 1.3;
  font-weight: 620;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
}
.neutral {
  color: #4c6170;
  background: #eaf0f1;
}
.blue {
  color: #265e8d;
  background: #e7f1fb;
}
.amber {
  color: #844d0a;
  background: #fff1ce;
}
.green,
.sample-badge {
  color: #155748;
  background: #e3f3e9;
}
.red {
  color: #963a31;
  background: #fbe8e6;
}
.on-dark {
  color: #daf7ad;
  background: #304c45;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.34rem;
}
.brand img {
  flex-shrink: 0;
}
.wide {
  width: 100%;
}
.initial,
.standalone {
  padding: 3rem;
}
.standalone p {
  margin: 1rem 0;
}
.gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.81fr);
  min-height: 100vh;
  background: #fff;
}
.gate-story {
  background: radial-gradient(ellipse at 85% 55%, #214b46, transparent 58%), #152d37;
  color: white;
  padding: clamp(32px, 5.1vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.gate-main {
  margin: 4rem 0;
  max-width: 560px;
}
.market-label,
.section-label,
.side-label,
.gate-foot,
.stat-title {
  font-size: 0.85rem;
  font-weight: 620;
}
.market-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #bdd6c8;
  margin-bottom: 1.2rem;
}
.market-label b,
.us {
  border: 1px solid #567772;
  padding: 3px 6px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
}
.gate h1 {
  font-size: clamp(3.2rem, 5.4vw, 6.2rem);
  line-height: 1.01;
  max-width: 9.5em;
}
.gate-main > p {
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 1.2rem 0 2.2rem;
  color: #c5d7d8;
  max-width: 31rem;
}
.preview {
  padding: 1.25rem 1.45rem;
  border: 1px solid #536e6b;
  border-radius: 14px;
  background: #203b40;
  max-width: 410px;
  box-shadow: 0 18px 40px #09212422;
}
.preview-head,
.preview-item,
.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.preview-head strong {
  font-size: 1rem;
}
.preview-item {
  border-top: 1px solid #43615f;
  margin-top: 13px;
  padding-top: 14px;
  color: #e0eae4;
}
.preview-item code {
  font-size: 0.76rem;
  color: #b6cfca;
}
.preview-row {
  margin-top: 12px;
  font-size: 0.85rem;
}
.preview-row > span {
  min-width: 60px;
}
.preview-row progress {
  width: 52%;
  flex: 1;
}
.preview-row strong {
  width: 22px;
  text-align: right;
}
.gate-foot {
  color: #b5ccc9;
}
.gate-foot span,
.subtitle span {
  margin: 0 0.4rem;
  color: #839b9d;
}
.gate-login {
  padding: 32px clamp(28px, 5vw, 90px);
  display: flex;
  flex-direction: column;
}
.gate-lang {
  align-self: flex-end;
}
.gate-form {
  margin: auto 0;
  max-width: 425px;
  width: 100%;
  align-self: center;
  padding: 3rem 0;
}
.section-label {
  color: #37705e;
}
.gate-form h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 12px 0;
}
.gate-form > p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 25px;
}
.gate-form p.fine {
  margin-top: 15px;
}
.login-form {
  display: grid;
  gap: 16px;
  margin: 20px 0 12px;
}
.login-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.login-form input {
  width: 100%;
  font-weight: 400;
}
.primary.wide,
.login-form .primary {
  min-height: 44px;
}
#form-error {
  color: #a13e30;
  margin-top: 12px;
}
.lang {
  display: flex;
  gap: 3px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}
.lang select {
  border: 0;
  background-color: transparent;
  font-size: 0.86rem;
  padding-left: 3px;
}
.lang > span {
  font-size: 1.1rem;
}
.shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 16px 18px;
}
.side > .brand {
  padding-left: 7px;
}
.side-group {
  margin-top: 42px;
}
.side-group + .side-group {
  margin-top: 32px;
}
.side-label {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a5bbbd;
  margin: 0 12px 12px;
}
.side nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 12px 13px;
  background: transparent;
  color: #ccdadf;
  border: 0;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 540;
  width: 100%;
}
.nav-item.active {
  background: #c6ef96;
  color: #183d32;
  font-weight: 650;
}
.nav-item:not(.active):hover {
  background: #253d49;
  color: white;
}
.side-account {
  margin-top: auto;
  border-top: 1px solid #344a55;
  padding: 20px 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #37504f;
  color: #d5eece;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.logout {
  display: block;
  margin-top: 2px;
  color: #c2d1d2;
  font-size: 0.79rem;
  font-weight: 500;
}
.ico {
  display: inline-block;
  width: 17px;
  height: 17px;
  position: relative;
  flex: 0 0 17px;
  font-style: normal;
}
.ico::before,
.ico::after {
  content: '';
  position: absolute;
}
.i-overview::before {
  inset: 1px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 50% 0/1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 50%/100% 1px no-repeat;
}
.i-orders::before,
.i-guide::before {
  inset: 0 2px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}
.i-orders::after,
.i-guide::after {
  left: 5px;
  right: 5px;
  top: 5px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  height: 4px;
}
.i-inventory::before,
.i-shipments::before {
  inset: 4px 1px 1px;
  border: 1.5px solid;
  border-radius: 2px;
}
.i-inventory::after {
  inset: 1px 3px 9px;
  border: 1.5px solid;
  border-radius: 2px;
}
.i-shipments::after {
  height: 7px;
  width: 6px;
  left: 5px;
  top: 4px;
  border-inline: 1px solid;
}
.i-shops::before {
  inset: 6px 2px 1px;
  border: 1.5px solid;
  border-radius: 2px;
}
.i-shops::after {
  left: 1px;
  right: 1px;
  top: 1px;
  height: 6px;
  background: currentColor;
  clip-path: polygon(17% 0, 82% 0, 100% 100%, 0 100%);
}
.i-alert::before {
  inset: 1px;
  border: 1.5px solid;
  border-radius: 50%;
}
.i-alert::after {
  content: '!';
  font: 700 12px/15px sans-serif;
  left: 6px;
  top: 1px;
}
.i-sync::before {
  inset: 2px;
  border: 1.5px solid;
  border-right-color: transparent;
  border-radius: 50%;
}
.i-sync::after {
  right: 1px;
  top: 1px;
  width: 4px;
  height: 4px;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
}
.stage {
  min-width: 0;
}
.topbar {
  min-height: 66px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3.3vw, 54px);
  gap: 10px;
}
.crumb,
.top-right,
.shop-picker,
.watch-meta,
.syncbar,
.syncbar > div,
.inventory-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.crumb {
  font-size: 0.87rem;
  color: #5d727c;
}
.crumb strong {
  color: #263d47;
}
.crumb-slash {
  color: #9aabb0;
}
.us {
  border-color: #c6d2d4;
  color: #405b66;
}
.top-right {
  gap: 18px;
}
.mobile-menu {
  display: none;
}
.content {
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(23px, 3vw, 48px) clamp(18px, 3.3vw, 54px) 52px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}
.subtitle,
.page-head p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.shop-picker {
  display: grid;
  gap: 5px;
  min-width: 160px;
  max-width: 310px;
}
.shop-picker label {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 650;
}
.shop-picker select {
  min-width: 0;
  max-width: 100%;
  font-size: 0.88rem;
}
.syncbar {
  justify-content: space-between;
  border-block: 1px solid var(--line);
  padding: 10px 0;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}
.syncbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.syncbar b {
  color: #354e58;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}
.stat,
.card,
.health-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.stat {
  position: relative;
  display: grid;
  gap: 14px;
  text-align: left;
  padding: 20px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.stat:hover {
  border-color: #80aa99;
}
.stat-title {
  font-weight: 550;
  color: #4b626b;
  padding-right: 16px;
}
.stat > .ico {
  position: absolute;
  right: 16px;
  top: 19px;
  color: #557d70;
}
.stat strong {
  font-size: clamp(1.7rem, 2.6vw, 2.75rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.mid-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr);
  gap: 16px;
  margin-bottom: 18px;
}
.health-card {
  padding: 21px 24px;
  background: #193e3b;
  border-color: #193e3b;
  color: white;
}
.health-top,
.card-head,
.watch-head,
.pager,
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.health-icon {
  display: grid;
  place-items: center;
  color: #d6f0ba;
  border: 1px solid #52716a;
  border-radius: 8px;
  width: 30px;
  height: 30px;
}
.health-total {
  color: #ccded7;
  margin: 12px 0 14px;
  font-size: 0.85rem;
}
.health-total b {
  font-size: 2rem;
  line-height: 1;
  margin-right: 4px;
  color: white;
}
.bars {
  display: grid;
  gap: 8px;
}
.health-row {
  display: grid;
  grid-template-columns: minmax(60px, 78px) minmax(20px, 1fr) 1.5rem;
  align-items: center;
  gap: 9px;
  font-size: 0.81rem;
  color: #ecf4ec;
}
.health-row b {
  text-align: right;
}
progress {
  -webkit-appearance: none;
  appearance: none;
  height: 7px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  background: #42605c;
  color: var(--lime);
}
progress::-webkit-progress-bar {
  background: #42605c;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--lime);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--lime);
  border-radius: 10px;
}
.low progress::-webkit-progress-value,
.alert progress::-webkit-progress-value {
  background: #edbb6e;
}
.low progress::-moz-progress-bar,
.alert progress::-moz-progress-bar {
  background: #edbb6e;
}
.missing progress::-webkit-progress-value {
  background: #aabdc4;
}
.card {
  overflow: hidden;
  min-width: 0;
}
.card-head,
.toolbar {
  padding: 19px 21px;
}
.card-head {
  border-bottom: 1px solid #e6ecec;
}
.watch .card-head {
  border: 0;
  padding-bottom: 12px;
}
.watch-meta {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 21px 12px;
}
.watch-meta b {
  color: var(--ink);
}
.watch-row {
  display: flex;
  width: calc(100% - 42px);
  margin: 0 21px;
  gap: 11px;
  align-items: center;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid #e1e9e6;
  padding: 15px 0;
}
.watch-row:hover b {
  color: var(--green);
}
.stock-icon {
  width: 38px;
  height: 38px;
  background: #f0f0dc;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #766530;
}
.watch-count {
  margin-left: auto;
  background: #fff0cd;
  color: #86510e;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.91rem;
}
th {
  background: #f9fbfa;
  color: #536b74;
  font-size: 0.81rem;
  font-weight: 600;
}
th,
td {
  padding: 13px 17px;
  border-bottom: 1px solid #e6ebec;
}
th:first-child,
td:first-child {
  padding-left: 21px;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-size: 0.92rem;
}
.time {
  font-size: 0.83rem;
  color: var(--muted);
}
.num {
  font-size: 1.05rem;
  font-weight: 650;
}
.empty {
  color: var(--muted);
  padding: 22px;
  line-height: 1.5;
}
.filters {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.filters input {
  flex: 1;
  min-width: 145px;
}
.filters select,
.filters input {
  font-size: 0.92rem;
}
.inventory-meta {
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.pager {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.pager b {
  font-size: 0.8rem;
  margin: 0 4px;
}
.panel-note {
  background: #eaf3ee;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #345b50;
  margin: 14px 0;
}
.connections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.connection {
  padding: 20px;
}
.region-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: #214d3d;
  background: #e8f3dc;
  font-size: 0.8rem;
  font-weight: 750;
  margin-bottom: 16px;
}
.connection h2 {
  font-size: 1.12rem;
}
.connection > p,
.connection dd,
.connection dt {
  font-size: 0.85rem;
}
.connection > p {
  margin: 5px 0 18px;
  color: var(--muted);
}
dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 10px;
  font-size: 0.86rem;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.connected-line,
.connection-action {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}
.connection-action small {
  font-size: 0.8rem;
}
.guide ol {
  padding: 0 26px 9px 50px;
  margin: 6px 0;
}
.guide li {
  padding: 14px 0 14px 6px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.guide li:last-child {
  border-bottom: 0;
}
.guide p {
  margin: 0 0 5px;
}
.guide code {
  margin-right: 8px;
}
.setup-empty {
  text-align: center;
  padding: 42px 16px;
}
.setup-empty h2,
.setup-empty p {
  margin: 12px 0;
}
.job-row {
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.job-row span {
  font-size: 0.87rem;
}
dialog {
  position: fixed;
  inset: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(535px, 100%);
  max-width: 100%;
  margin: 0;
  padding: 24px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--ink);
  box-shadow: -12px 0 48px #152b3920;
  overflow: auto;
}
dialog::backdrop {
  background: #12253268;
}
dialog h2 {
  font-size: 1.75rem;
  margin: 22px 0 12px;
  overflow-wrap: anywhere;
}
dialog h3 {
  margin: 23px 0 10px;
}
dialog .fine {
  margin-top: 9px;
}
.detail-row,
.parcel,
.timeline {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 8px 0;
}
.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-row .link {
  margin-left: auto;
}
.parcel > .badge {
  float: right;
}
.parcel dl {
  margin-bottom: 0;
}
.timeline ul {
  padding-left: 20px;
}
.timeline li + li {
  margin-top: 10px;
}
.timeline li::marker {
  color: #4a967a;
}
#notice {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #173d35;
  color: white;
  padding: 11px 18px;
  border-radius: 9px;
  box-shadow: 0 7px 30px #0002;
  max-width: min(560px, 92vw);
  font-size: 0.9rem;
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 183px minmax(0, 1fr);
  }
  .side {
    padding-inline: 11px;
  }
  .side .brand {
    font-size: 1.15rem;
  }
  .stat {
    padding: 16px;
  }
  .stat > .ico {
    right: 12px;
    top: 16px;
  }
  .stat-title {
    font-size: 0.83rem;
  }
  .connection {
    padding: 14px;
  }
  .shop-picker {
    max-width: 270px;
  }
  .content {
    padding-inline: 22px;
  }
}
@media (max-width: 820px) {
  .shell {
    display: block;
  }
  .side {
    display: none;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    height: calc(100dvh - 60px);
    width: 225px;
    z-index: 5;
    box-shadow: 12px 12px 30px #10263028;
  }
  .side.opened {
    display: flex;
  }
  .mobile-menu {
    display: block;
    font-size: 1.15rem;
  }
  .topbar {
    min-height: 60px;
  }
  .connections {
    grid-template-columns: 1fr;
  }
  .connection {
    padding: 18px;
  }
  .gate {
    grid-template-columns: 1fr 1fr;
  }
  .gate-story {
    padding: 32px;
  }
  .gate-login {
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .gate {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .gate-story {
    padding: 22px 22px 26px;
  }
  .gate-main {
    margin: 18px 0 0;
  }
  .gate h1 {
    font-size: 2.4rem;
  }
  .gate-main > p {
    font-size: 0.95rem;
    margin: 9px 0 0;
  }
  .market-label,
  .gate-foot,
  .preview {
    display: none;
  }
  .gate-login {
    padding: 12px 22px 24px;
  }
  .gate-form {
    margin: 0;
    padding: 9px 0 0;
  }
  .gate-form > p {
    margin-bottom: 16px;
  }
  .topbar {
    padding: 0 12px;
  }
  .top-right,
  .crumb {
    gap: 6px;
  }
  .crumb-slash,
  .crumb > span:last-child,
  .lang > span {
    display: none;
  }
  .content {
    padding: 20px 12px 34px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }
  .shop-picker {
    max-width: 100%;
    width: 100%;
  }
  .shop-picker label {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stat {
    padding: 14px;
    gap: 9px;
  }
  .mid-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .health-card {
    padding: 16px 18px;
  }
  .card-head {
    padding: 15px;
  }
  .watch-meta,
  .watch-row {
    margin-left: 15px;
    margin-right: 15px;
  }
  .watch-row {
    width: calc(100% - 30px);
  }
  th,
  td {
    white-space: nowrap;
    padding: 10px 12px;
  }
  th:first-child,
  td:first-child {
    padding-left: 14px;
  }
  .filters {
    gap: 7px;
    padding: 12px;
  }
  .filters input {
    width: 100%;
    flex: 1 1 100%;
  }
  .connections {
    gap: 9px;
  }
  .syncbar > span {
    gap: 4px;
    font-size: 0.77rem;
  }
  .syncbar > span .ico {
    display: none;
  }
  .inventory-meta,
  .pager {
    padding: 12px;
  }
  .pager .small-btn {
    padding: 3px 5px;
  }
  .guide ol {
    padding-left: 36px;
  }
  .badge {
    font-size: 0.76rem;
  }
}
