:root {
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --primary-light: #14b8a6;
  --primary-soft: #e6f7f4;
  --blue: #2563eb;
  --bg: #f2f7f6;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #eef7f5 0%, var(--bg) 240px, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* ---------- 品牌栏 ---------- */
.topbar {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 60%, #14b8a6 100%);
  color: #fff;
  padding: 18px 20px 22px;
}

.topbar-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand p {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: 0.85;
}

/* ---------- 页面容器 ---------- */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.wrap-narrow {
  max-width: 520px;
  padding-top: 28px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.7);
  padding: 20px;
  margin-bottom: 16px;
}

.card h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h2::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--primary);
}

.card-sub {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 有效期提示 ---------- */
.expiry-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
}

.expiry-chip.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

/* ---------- 横幅提示 ---------- */
.banner {
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.banner.error {
  background: var(--danger-soft);
  border-color: #fecaca;
  color: var(--danger);
}

.banner.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.banner.warn {
  background: var(--warn-soft);
  border-color: #fde68a;
  color: var(--warn);
}

.banner.ok {
  background: var(--ok-soft);
  border-color: #bbf7d0;
  color: var(--ok);
}

/* ---------- 发货信息 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.info-row {
  display: flex;
  gap: 12px;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 9px;
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row dt {
  flex: 0 0 86px;
  color: var(--muted);
}

.info-row dd {
  margin: 0;
  flex: 1;
  word-break: break-all;
}

.info-row dd.strong {
  font-weight: 700;
}

.note-text {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 14px;
  color: var(--muted);
  white-space: pre-wrap;
}

/* ---------- 产品明细 ---------- */
.goods {
  margin-top: 14px;
}

.goods-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.goods-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.goods-item:last-child {
  border-bottom: none;
}

.goods-item .goods-name {
  font-weight: 600;
}

.goods-item .goods-spec {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
}

.goods-item .goods-qty {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-weight: 700;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
    rgba(255, 255, 255, 0.4),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn:active::after {
  opacity: 1;
  transition: 0s;
}

.btn:active {
  transform: scale(0.985);
}

.btn:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.4);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: rgba(15, 118, 110, 0.18);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover:not(:disabled) {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.btn-danger-ghost {
  background: #fff;
  border-color: #fecaca;
  color: var(--danger);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 36px;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 9px;
}

.link-btn {
  border: none;
  background: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
}

/* ---------- 上传区 ---------- */
.shoot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 132px;
  border: 2px dashed #99d5cd;
  border-radius: 16px;
  background: linear-gradient(180deg, #f0fdfa, #f7fefd);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.shoot-btn:hover {
  border-color: var(--primary-light);
  background: #ecfdf9;
}

.shoot-btn .shoot-icon {
  font-size: 30px;
  line-height: 1;
}

.shoot-btn .shoot-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.hint {
  margin: 8px 2px 0;
  font-size: 13px;
  color: var(--muted);
}

.preview {
  margin-top: 14px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--line);
}

.preview img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  margin: 0 auto;
}

.preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.preview-bar .link-btn {
  color: var(--danger);
}

/* ---------- 表单 ---------- */
.field {
  margin-top: 14px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

.field .req {
  color: var(--danger);
}

.field input,
.field textarea {
  width: 100%;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfdfd;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
  background: #fff;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* 明细编辑 */
.items-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-edit-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.6fr 0.6fr 32px;
  gap: 6px;
  align-items: center;
}

.item-edit-row input {
  width: 100%;
  padding: 9px 10px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdfd;
  outline: none;
  min-width: 0;
}

.item-edit-row input:focus {
  border-color: var(--primary-light);
  background: #fff;
}

.item-remove {
  width: 32px;
  height: 32px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: var(--danger);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.items-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.ocr-box {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}

.ocr-box summary {
  cursor: pointer;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  user-select: none;
}

.ocr-box pre {
  margin: 0;
  padding: 0 13px 13px;
  font-family: inherit;
  font-size: 13px;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 180px;
  overflow: auto;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.actions .btn {
  flex: 1;
}

/* 进度条 */
.progress {
  margin-top: 12px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.2s ease;
}

.progress-text {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 状态页 ---------- */
.state-card {
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.7);
  padding: 42px 24px;
  text-align: center;
  margin-top: 18px;
}

.state-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: var(--primary-soft);
  color: var(--primary);
}

.state-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.state-card p {
  margin: 0 auto;
  max-width: 380px;
  color: var(--muted);
  font-size: 15px;
}

.state-card .btn {
  margin-top: 22px;
}

.state-card.success .state-icon {
  background: var(--ok-soft);
  color: var(--ok);
}

.success-file {
  margin: 20px 0 4px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed var(--line);
  font-size: 15px;
  word-break: break-all;
}

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

.spinner {
  width: 26px;
  height: 26px;
  margin: 0 auto 12px;
  border: 3px solid rgba(15, 118, 110, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 30px 26px;
}

.login-brand {
  text-align: center;
  margin-bottom: 22px;
}

.login-brand .logo {
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 24px;
}

.login-brand h1 {
  margin: 0;
  font-size: 20px;
}

.login-brand p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.login-card .btn {
  margin-top: 20px;
}

.login-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

/* ---------- 管理后台 ---------- */
.admin-top {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.admin-brand .logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  font-size: 18px;
}

.admin-brand .title {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-brand .title span {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 52px;
}

.admin-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-heading h1 {
  margin: 0;
  font-size: 22px;
}

.admin-heading p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--muted);
}

.stat-card .stat-value {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
}

.stat-card .stat-value.blue {
  color: var(--blue);
}

.stat-card .stat-value.slate {
  color: #475569;
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  outline: none;
  font-size: 15px;
}

.search-box input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
}

.table-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-weight: 600;
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  vertical-align: middle;
}

tbody tr:hover {
  background: #fafefd;
}

tbody tr:last-child td {
  border-bottom: none;
}

.thumb {
  width: 62px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cell-project {
  font-weight: 600;
  max-width: 220px;
  word-break: break-all;
}

.cell-file {
  max-width: 250px;
  word-break: break-all;
  color: var(--muted);
  font-size: 13px;
}

.cell-time {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}

.size-tag {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}

.row-actions {
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 46px 16px;
  font-size: 14px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.pager-actions {
  display: flex;
  gap: 8px;
}

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
  animation: fadeIn 0.16s ease;
}

.modal-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  animation: popIn 0.18s ease;
}

.modal-card.wide {
  max-width: 960px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-head h3 {
  margin: 0;
  font-size: 16px;
  word-break: break-all;
}

.modal-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.modal-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 18px;
  overflow: auto;
}

.modal-body.preview-body {
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.modal-body.preview-body img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-body.preview-body iframe {
  width: 100%;
  height: 74vh;
  border: none;
  border-radius: 8px;
  background: #fff;
}

.share-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.share-day {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.share-day.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.share-result {
  margin-top: 14px;
}

.share-result label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.share-link-row {
  display: flex;
  gap: 8px;
}

.share-link-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  font-size: 13px;
  color: #334155;
}

.modal-tip {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes popIn {
  from {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }
}

/* ---------- 分享页 ---------- */
.share-remark {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 11px;
  font-size: 14px;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-all;
}

.share-image {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}

.share-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.footer-note {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 0 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 200;
  max-width: 88vw;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  animation: fadeIn 0.18s ease;
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .admin-main {
    padding: 16px 14px 40px;
  }

  .admin-top-inner {
    padding: 10px 14px;
  }

  .admin-brand .title {
    font-size: 14px;
  }

  .admin-brand .title span {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card:first-child {
    grid-column: span 2;
  }

  .stat-card .stat-value {
    font-size: 24px;
  }

  .admin-heading h1 {
    font-size: 19px;
  }

  .admin-heading p {
    display: none;
  }

  .item-edit-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbfdfd;
  }

  .item-edit-row .item-remove {
    grid-column: 2;
    justify-self: end;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 10px;
  }

  .modal-body.preview-body img {
    max-height: 66vh;
  }
}

@media (min-width: 761px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-row.full {
    grid-column: span 2;
  }
}
