:root {
  --primary: #0f4c81;
  --primary-strong: #0b3a63;
  --primary-soft: #e8f0f7;
  --accent: #14a08a;
  --bg: #f2f5f8;
  --card: #ffffff;
  --text: #16222e;
  --muted: #6b7a89;
  --line: #e3e9ef;
  --danger: #c0392b;
  --warn: #b7791f;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(16, 42, 67, 0.06);
  --tabbar-h: 58px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: contain;
}

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

.hidden {
  display: none !important;
}

/* ---------- 登录 ---------- */
.login-view {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 20% 10%, #1c6fa8 0%, #0f4c81 42%, #082c4b 100%);
}

.login-card {
  width: 100%;
  max-width: 380px;
  color: #fff;
}

.login-logo {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.login-logo svg {
  width: 38px;
  height: 38px;
}

.login-card h1 {
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.login-sub {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.login-card .field label {
  color: rgba(255, 255, 255, 0.8);
}

.login-card .field input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.login-card .field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.login-card .field input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.login-card .btn.primary {
  background: #fff;
  color: var(--primary-strong);
  margin-top: 6px;
}

.login-tip {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 18px;
}

.form-error {
  min-height: 18px;
  margin: 2px 0 8px;
  font-size: 13px;
  color: #ffb4a8;
}

/* ---------- 表单基础 ---------- */
.field {
  margin-bottom: 14px;
}

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

.field label .req {
  color: var(--danger);
  margin-left: 2px;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

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

.field input:disabled,
.field textarea:disabled {
  background: #f6f8fa;
  color: #55606b;
}

.field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- 按钮 ---------- */
.btn {
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.05s;
}

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

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}

.btn.danger {
  background: #fdeeec;
  color: var(--danger);
}

.btn.block {
  display: block;
  width: 100%;
}

.btn.small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.link-btn {
  border: none;
  background: none;
  color: var(--primary);
  font-size: 13px;
  padding: 4px;
  cursor: pointer;
}

.link-btn.light {
  color: rgba(255, 255, 255, 0.8);
}

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

.icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

/* ---------- 主框架 ---------- */
.shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px;
  background: var(--primary);
  color: #fff;
}

.topbar-text h1 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.page-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.head-btn {
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

#main {
  flex: 1;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 12px);
}

.view {
  padding: 12px 14px 24px;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- 搜索 ---------- */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 0 12px;
  box-shadow: var(--shadow);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}

.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 8px;
  background: transparent;
  font-size: 15px;
  min-width: 0;
}

.search-clear {
  border: none;
  background: #eef2f6;
  color: var(--muted);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 人员卡片 ---------- */
.person-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.person-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 10px 12px 12px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  cursor: pointer;
}

.person-card.selected {
  border-color: var(--primary);
  background: #f7fbff;
}

.card-check {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.card-thumb,
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  object-fit: cover;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 17px;
  overflow: hidden;
}

.person-main {
  flex: 1;
  min-width: 0;
}

.person-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.person-name {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  flex: none;
  max-width: 46%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag.warn {
  background: #fdf3e2;
  color: var(--warn);
}

.person-sub {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.photo-row {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.photo-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
  background: #f4f7fa;
  border-radius: 5px;
  padding: 2px 6px;
}

.photo-chip.ok {
  color: var(--accent);
  background: #e8f7f4;
}

.photo-chip.miss {
  color: #b0b9c2;
}

.card-arrow {
  border: none;
  background: transparent;
  color: #c3ccd4;
  font-size: 22px;
  padding: 0 2px;
  cursor: pointer;
  flex: none;
}

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.empty p {
  margin: 4px 0;
}

.empty-sub {
  font-size: 13px;
  color: #9aa5b1;
}

.list-bottom-space {
  height: 12px;
}

/* ---------- 悬浮按钮 ---------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 20px);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(15, 76, 129, 0.35);
  z-index: 30;
  cursor: pointer;
}

/* ---------- 底部选择条 ---------- */
.selectbar {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 12px);
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-strong);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px 10px 16px;
  box-shadow: 0 8px 22px rgba(11, 58, 99, 0.35);
  z-index: 31;
}

.selectbar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 25;
}

.tab {
  flex: 1;
  border: none;
  background: transparent;
  color: #8b98a5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  cursor: pointer;
}

.tab svg {
  width: 22px;
  height: 22px;
}

.tab.active {
  color: var(--primary);
}

/* ---------- 详情 / 编辑 ---------- */
.page-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

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

.section-title {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 4px 8px;
  font-weight: 600;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.photo-slot {
  border: 1px dashed #cfdae5;
  border-radius: 12px;
  padding: 10px;
  background: #fafcfe;
}

.photo-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.photo-slot-head strong {
  font-size: 13px;
  font-weight: 600;
}

.photo-preview {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b1;
  font-size: 13px;
  overflow: hidden;
  cursor: pointer;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f0f4f8;
}

.photo-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.photo-actions .btn {
  flex: 1;
  font-size: 13px;
  padding: 8px 10px;
}

.avatar-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
}

/* ---------- 导出面板 ---------- */
.sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 40, 0.45);
  z-index: 40;
  animation: fade 0.18s ease;
}

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  background: #fff;
  border-radius: 18px 18px 0 0;
  z-index: 41;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.22s ease;
  padding-bottom: var(--safe-bottom);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
}

.sheet-head h2 {
  margin: 0;
  font-size: 17px;
}

.sheet-body {
  padding: 4px 16px 16px;
  overflow-y: auto;
}

.sheet-hint {
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 2px;
  font-size: 14px;
  cursor: pointer;
}

.check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex: none;
}

.segmented {
  display: flex;
  background: #eef2f6;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}

.segmented button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.segmented button.active {
  background: #fff;
  color: var(--primary-strong);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(16, 42, 67, 0.12);
}

.sheet-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}

/* ---------- 账号 ---------- */
.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.user-main {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #eef2f6;
  color: var(--muted);
  font-weight: 500;
}

.badge.admin {
  background: #fff1e0;
  color: var(--warn);
}

.badge.off {
  background: #fdeeec;
  color: var(--danger);
}

.user-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.user-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tiny-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  padding: 5px 9px;
  color: var(--text);
  cursor: pointer;
}

.tiny-btn.danger {
  color: var(--danger);
  border-color: #f3d6d1;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

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

.info-row span:first-child {
  color: var(--muted);
  flex: none;
}

.info-row span:last-child {
  text-align: right;
  word-break: break-all;
}

/* ---------- Toast / Loading ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  background: rgba(15, 28, 40, 0.9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 80vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

.loading {
  position: fixed;
  inset: 0;
  background: rgba(245, 248, 251, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(15, 76, 129, 0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

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

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
  }
}

@media (min-width: 760px) {
  .shell {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(16, 42, 67, 0.08);
    min-height: 100vh;
  }

  .topbar {
    position: sticky;
  }

  .tabbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
  }

  .fab {
    right: calc(50% - 360px + 18px);
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 弹窗 / 图片预览 ---------- */
.dialog {
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  max-width: 400px;
  animation: pop 0.18s ease;
}

.dialog .sheet-body {
  padding-bottom: 18px;
}

.img-preview {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 15, 24, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fade 0.15s ease;
}

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

@keyframes pop {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
}

/* ---------- 桌面端布局（≥1024px） ---------- */
.sidebar,
.table-wrap,
.table-hint {
  display: none;
}

@media (min-width: 1024px) {
  .shell {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "sidebar topbar"
      "sidebar main";
    max-width: none;
    margin: 0;
    min-height: 100vh;
    box-shadow: none;
    background: #eef3f8;
  }

  .sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #0e3c60 0%, #082a45 100%);
    color: #dce9f4;
  }

  .side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .side-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9fd2f5;
  }

  .side-logo svg {
    width: 24px;
    height: 24px;
  }

  .side-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
  }

  .side-brand-text strong {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
  }

  .side-brand-text span {
    font-size: 11px;
    color: rgba(220, 233, 244, 0.6);
  }

  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 10px;
    flex: 1;
  }

  .sidebar .side-tab {
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #c3d6e6;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .sidebar .side-tab svg {
    width: 19px;
    height: 19px;
  }

  .sidebar .side-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .sidebar .side-tab.active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 600;
  }

  .side-foot {
    padding: 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(220, 233, 244, 0.5);
  }

  .side-user {
    font-size: 13px;
    color: #e7f2fb;
    margin-bottom: 4px;
  }

  .side-foot p {
    margin: 0;
  }

  .topbar {
    grid-area: topbar;
    padding: 14px 28px;
  }

  #main {
    grid-area: main;
    padding: 20px 28px 48px;
  }

  .view {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .search-wrap {
    max-width: 520px;
  }

  .list-meta {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
  }

  .table-hint {
    display: inline;
    margin-left: auto;
    color: #8296a8;
    font-size: 12px;
  }

  .person-list,
  .tabbar,
  .list-bottom-space {
    display: none;
  }

  .table-wrap {
    display: block;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scrollbar-width: thin;
  }

  .table-wrap::-webkit-scrollbar {
    height: 10px;
  }

  .table-wrap::-webkit-scrollbar-thumb {
    background: #c9d6e2;
    border-radius: 6px;
  }

  .table-wrap::-webkit-scrollbar-track {
    background: #f2f6fa;
  }

  .person-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    font-size: 13px;
  }

  .person-table th,
  .person-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
  }

  .person-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f9fc;
    color: #43566a;
    font-size: 12px;
    font-weight: 600;
  }

  .person-table tbody tr {
    cursor: pointer;
  }

  .person-table tbody tr:hover {
    background: #f5fafd;
  }

  .person-table tbody tr.selected {
    background: #eef7ff;
  }

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

  .person-table th:last-child,
  .person-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fff;
    box-shadow: -8px 0 12px -10px rgba(16, 42, 67, 0.25);
  }

  .person-table thead th:last-child {
    background: #f6f9fc;
    z-index: 3;
  }

  .person-table tbody tr:hover td:last-child {
    background: #f5fafd;
  }

  .person-table tbody tr.selected td:last-child {
    background: #eef7ff;
  }

  .person-table .cell-name {
    font-weight: 600;
  }

  .person-table .mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
  }

  .person-table .cell-addr {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .person-table .clip {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .person-table .cell-addr .clip {
    max-width: 190px;
  }

  .person-table .clip-cert {
    max-width: 150px;
  }

  .person-table .clip-bank {
    max-width: 130px;
  }

  .person-table .cell-empty {
    color: #b6c2ce;
  }

  .person-table .col-check {
    width: 36px;
    text-align: center;
  }

  .person-table .col-action {
    width: 64px;
    text-align: center;
  }

  .person-table .row-check,
  .person-table #table-check-all {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
  }

  .person-table .photo-row {
    display: flex;
    gap: 4px;
  }

  .person-table .photo-chip {
    font-size: 11px;
    padding: 1px 6px;
  }

  .fab {
    right: 36px;
    bottom: 36px;
  }

  .selectbar {
    left: auto;
    right: 36px;
    bottom: 104px;
    transform: none;
    width: auto;
    min-width: 340px;
    max-width: 440px;
  }
}
