:root {
  --bg: #0f1419;
  --bg-soft: #171d25;
  --panel: #1c2430;
  --panel-2: #232d3b;
  --line: rgb(148 163 184 / 14%);
  --text: #e8eef7;
  --muted: #93a4b8;
  --accent: #3dba9c;
  --accent-2: #2a9d82;
  --warn: #e8b86d;
  --danger: #ef7b7b;
  --ok: #62d4a5;
  --shadow: 0 18px 50px rgb(0 0 0 / 35%);
  --radius: 18px;
  --font: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 10% -10%, rgb(61 186 156 / 18%), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgb(96 165 250 / 12%), transparent 50%),
    linear-gradient(180deg, #10151c 0%, #0c1015 100%);
  font-family: var(--font);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.login-card {
  width: min(420px, 100%);
  padding: 36px 32px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(28 36 48 / 95%), rgb(23 29 37 / 94%));
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.login-card p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #4f8cff);
  color: #071018;
  font-weight: 800;
  box-shadow: 0 10px 28px rgb(61 186 156 / 28%);
}

.field { margin-bottom: 16px; }
.field > label,
.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(15 20 25 / 70%);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* 与右侧开关盒统一高度 */
.field input[type="text"],
.field input:not([type]),
.field input[type="password"],
.field input[type="number"] {
  height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 46px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgb(61 186 156 / 55%);
  box-shadow: 0 0 0 3px rgb(61 186 156 / 16%);
}

.field textarea { min-height: 110px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  font-weight: 700;
  transition: transform .12s ease, filter .12s ease;
}

.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: rgb(61 186 156 / 45%);
  background: rgb(61 186 156 / 10%);
}
.btn-secondary {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }
.btn-danger {
  background: linear-gradient(135deg, #ef7b7b, #d95c5c);
  color: #1a0707;
}

.shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(23 29 37 / 92%), rgb(15 20 25 / 96%));
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.sidebar .logo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
  padding: 0 8px;
}

.sidebar .logo strong {
  display: block;
  font-size: 16px;
}

.sidebar .logo span {
  color: var(--muted);
  font-size: 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgb(61 186 156 / 12%);
}

.nav-link.active {
  box-shadow: inset 0 0 0 1px rgb(61 186 156 / 24%);
}

.nav-group {
  margin: 14px 0 0;
}

.nav-group-title {
  padding: 12px 14px 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
}

.nav-group-items {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 2px solid rgb(61 186 156 / 28%);
}

.nav-link.nav-sub {
  font-size: 15px;
  font-weight: 500;
}

.topbar-meta {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.inline-remark-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
}

.inline-remark-form input[type="text"] {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(15 20 25 / 70%);
  outline: none;
}

.inline-remark-form input[type="text"]:focus {
  border-color: rgb(61 186 156 / 55%);
  box-shadow: 0 0 0 3px rgb(61 186 156 / 16%);
}

.btn.sm {
  height: 36px;
  min-width: 72px;
  padding: 0 12px;
  font-size: 13px;
}

.remark-save-btn.is-ok {
  border-color: rgb(98 212 165 / 45%);
  color: var(--ok);
}

.remark-save-btn.is-error {
  border-color: rgb(239 123 123 / 45%);
  color: var(--danger);
}

.machine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.machine-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(28 36 48 / 72%);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.machine-tab:hover {
  border-color: rgb(61 186 156 / 35%);
}

.machine-tab.active {
  border-color: rgb(61 186 156 / 55%);
  background: rgb(61 186 156 / 12%);
  box-shadow: 0 0 0 1px rgb(61 186 156 / 18%);
}

.machine-tab-label {
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.machine-tab-id {
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.sync-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sync-panel {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sync-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sync-panel-head h2 {
  margin: 0;
}

.sync-kind-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(15 20 25 / 55%);
}

.sync-kind-tab {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}

.sync-kind-tab:hover {
  color: var(--text);
}

.sync-kind-tab.active {
  color: #fff;
  background: #e11d48;
}

.sync-scroll {
  max-height: min(62vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(15 20 25 / 35%);
}

.sync-table-wrap {
  overflow: visible;
}

.sync-table {
  min-width: 900px;
  width: 100%;
}

.sync-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #171d25;
}

.sync-load-status {
  padding: 10px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.sync-table td {
  vertical-align: middle;
  font-size: 13px;
}

.sync-cover {
  display: block;
  width: 42px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: rgb(15 20 25 / 80%);
  border: 1px solid var(--line);
}

.sync-cover.is-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}

.sync-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.sync-sub {
  font-size: 11px;
}

.sync-share {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.pager-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgb(15 20 25 / 50%);
  font-size: 13px;
}

.pager-link:hover {
  border-color: rgb(61 186 156 / 45%);
}

.pager-link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pager-info {
  color: var(--muted);
  font-size: 13px;
}

.flash {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.flash.ok {
  background: rgb(98 212 165 / 12%);
  color: var(--ok);
}

.flash.error {
  background: rgb(239 123 123 / 12%);
  color: var(--danger);
}

.main {
  padding: 20px 32px 48px;
}

.main-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 12px;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(28 36 48 / 75%);
  color: var(--muted);
  font-size: 13px;
}

.user-chip a {
  color: #99f6e4;
  font-weight: 650;
}

.user-chip a:hover {
  color: #ccfbf1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.topbar h1 {
  margin: 0 0 6px;
  font-size: 28px;
}

.topbar p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(28 36 48 / 90%), rgb(23 29 37 / 92%));
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.card .value {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.card .meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(28 36 48 / 78%);
}

.panel h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.panel .desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

/* 必须盖过 .field label { display:block }，否则开关和文字会竖着摞 */
.field label.switch,
label.switch {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  margin: 0;
  margin-bottom: 0 !important;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(15 20 25 / 70%);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.switch input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.switch-ui {
  position: relative;
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 26px;
  margin-right: 12px;
  border-radius: 999px;
  background-color: #4b5568;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch-ui {
  background-color: #22c55e;
  background-image: linear-gradient(135deg, #34d399, #10b981);
}

.switch input:checked + .switch-ui::after {
  transform: translateX(18px);
}

.switch input:focus + .switch-ui {
  box-shadow: 0 0 0 3px rgba(61, 186, 156, 0.28);
}

.switch-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-box {
  padding: 14px;
  border: 1px dashed rgb(148 163 184 / 28%);
  border-radius: 14px;
  background: rgb(15 20 25 / 35%);
}

.file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
}

.file-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.file-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 96px;
  height: 36px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid rgb(61 186 156 / 45%);
  border-radius: 10px;
  color: #d1fae5 !important;
  background: rgb(61 186 156 / 16%);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.file-btn:hover {
  border-color: rgb(61 186 156 / 70%);
  background: rgb(61 186 156 / 26%);
}

.file-picked {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #7c8a9e;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-picked.is-ready {
  color: #c7d7ea;
}

.file-box .name {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.row-upload {
  align-items: stretch;
}

.row-upload .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.row-upload .file-box {
  flex: 1 1 auto;
  min-height: 110px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.flash {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.flash-inline {
  margin: 0 0 0 4px;
  padding: 8px 12px;
  max-width: min(520px, 100%);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash.ok {
  background: rgb(98 212 165 / 12%);
  border-color: rgb(98 212 165 / 28%);
  color: #baf3d8;
}

.flash.error {
  background: rgb(239 123 123 / 12%);
  border-color: rgb(239 123 123 / 28%);
  color: #ffd0d0;
}

.table-wrap { overflow: auto; }

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.users-table td {
  vertical-align: middle;
}

.users-table .badge {
  vertical-align: middle;
}

.users-table .machine-id-cell {
  cursor: context-menu;
  user-select: none;
}

.user-context-menu {
  position: fixed;
  z-index: 80;
  min-width: 140px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #243041 0%, #1a222e 100%);
  box-shadow: 0 16px 40px rgb(0 0 0 / 45%);
}

.user-context-menu[hidden] {
  display: none !important;
}

.user-context-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.user-context-menu-item:hover {
  background: rgb(148 163 184 / 12%);
}

.user-context-menu-item.is-danger {
  color: #ffb4b4;
}

.user-context-menu-item.is-danger:hover {
  background: rgb(239 123 123 / 16%);
}

body.modal-open {
  overflow: hidden;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-modal[hidden] {
  display: none !important;
}

.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(6 10 16 / 62%);
  backdrop-filter: blur(6px);
}

.confirm-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 26px 22px;
  border: 1px solid rgb(239 123 123 / 28%);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(239 123 123 / 14%), transparent 55%),
    linear-gradient(180deg, #243041 0%, #1a222e 100%);
  box-shadow: 0 28px 70px rgb(0 0 0 / 48%);
  animation: confirm-modal-in 160ms ease-out;
}

@keyframes confirm-modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.confirm-modal-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgb(239 123 123 / 18%);
  color: #ffb4b4;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.confirm-modal-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.confirm-modal-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.confirm-modal-meta {
  margin-bottom: 20px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #d7e3f5;
  background: rgb(0 0 0 / 18%);
  word-break: break-all;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #243041;
  color: var(--text);
  box-shadow: 0 14px 36px rgb(0 0 0 / 35%);
  font-size: 13px;
  font-weight: 600;
  animation: toast-in 160ms ease-out;
}

.toast-item.is-ok {
  border-color: rgb(98 212 165 / 35%);
  background: linear-gradient(180deg, #1f3a32, #1a2b28);
  color: #b8f0d4;
}

.toast-item.is-error {
  border-color: rgb(239 123 123 / 40%);
  background: linear-gradient(180deg, #3a2228, #2a1a1f);
  color: #ffc4c4;
}

.toast-item.is-leaving {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.on {
  background: rgb(98 212 165 / 16%);
  color: var(--ok);
}

.badge.off {
  background: rgb(148 163 184 / 14%);
  color: var(--muted);
}

.badge.platform {
  background: rgb(79 140 255 / 14%);
  color: #9ec0ff;
}

.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }

.api-preview {
  margin-top: 18px;
}

.api-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.api-preview-head strong {
  font-size: 14px;
}

.api-preview-url {
  color: var(--muted);
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.api-box {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0b1016;
  border: 1px solid var(--line);
  color: #c7d7ea;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  word-break: break-all;
  white-space: pre-wrap;
  max-height: 360px;
  overflow: auto;
}

@media (max-width: 1100px) {
  .sync-stack { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid, .row-2, .sync-columns { grid-template-columns: 1fr; }
  .sync-share { max-width: 96px; }
  .main { padding: 20px 16px 40px; }
}
