body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Sans 3", sans-serif;
}

.mobile-app {
  background:
    radial-gradient(circle at top left, rgba(0, 122, 255, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(52, 199, 89, 0.08), transparent 24%),
    #f5f5f7;
  color: #1d1d1f;
}

.mobile-shell {
  min-height: 100vh;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 12px;
  background: rgba(245, 245, 247, 0.84);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.mobile-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mobile-kicker {
  font-size: 13px;
  color: #6e6e73;
  margin-bottom: 4px;
}

.mobile-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-subtitle {
  margin-top: 6px;
  color: #6e6e73;
  font-size: 14px;
}

.mobile-logout {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  color: #1d1d1f;
  text-decoration: none;
}

.mobile-content {
  padding: 14px 14px calc(env(safe-area-inset-bottom, 0px) + 96px);
}

.mobile-alert {
  border-radius: 18px;
  border: none;
}

.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px calc(env(safe-area-inset-bottom, 0px) + 10px);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border-radius: 16px;
  color: #6e6e73;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.mobile-tab i {
  font-size: 18px;
}

.mobile-tab.active {
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 10px;
}

.mobile-hero {
  border-radius: 28px;
  padding: 22px 20px;
  background:
    linear-gradient(135deg, rgba(0, 122, 255, 0.14), rgba(255, 255, 255, 0.9)),
    #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.mobile-hero-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-hero-text {
  margin: 12px 0 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.6;
}

.mobile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mobile-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 16px 14px;
}

.mobile-stat-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.mobile-stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: #6e6e73;
}

.knowledge-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.knowledge-hero-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.06);
  color: #3c3c43;
  font-size: 12px;
  font-weight: 700;
}

.knowledge-launchbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 84px);
  z-index: 1015;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.knowledge-launch-pill {
  min-height: 72px;
  border: none;
  border-radius: 20px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: #1d1d1f;
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.1), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(0, 122, 255, 0.08);
}

.knowledge-launch-pill i {
  font-size: 20px;
  color: #007aff;
}

.knowledge-launch-pill-title {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.knowledge-launch-pill-count {
  font-size: 11px;
  font-weight: 700;
  color: #6e6e73;
}

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

.knowledge-home-card {
  min-height: 152px;
  border: none;
  border-radius: 24px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #1d1d1f;
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.08), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.knowledge-home-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.knowledge-home-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
  font-size: 19px;
}

.knowledge-home-card-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.06);
  color: #3c3c43;
  font-size: 12px;
  font-weight: 700;
}

.knowledge-home-card-title {
  margin-top: 18px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.knowledge-home-card-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #6e6e73;
}

.knowledge-drawer {
  height: min(86vh, 820px) !important;
  border-radius: 28px 28px 0 0;
  border: none;
  background: #f7f8fb;
}

.knowledge-drawer-header {
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.knowledge-drawer-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.knowledge-drawer-body {
  padding: 16px 16px 24px;
  overflow-y: auto;
}

.knowledge-drawer-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  font-size: 13px;
  font-weight: 700;
}

.knowledge-drawer-hint i {
  font-size: 16px;
}

.knowledge-drawer-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 2;
  padding-top: 2px;
  padding-bottom: 4px;
  margin-bottom: 16px;
  background: #f7f8fb;
}

.knowledge-drawer-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.12);
  color: #3c3c43;
  font-size: 13px;
  font-weight: 700;
}

.knowledge-drawer-tab.active {
  background: #007aff;
  color: #fff;
}

.knowledge-drawer-panel {
  display: none;
}

.knowledge-drawer-panel.active {
  display: block;
}

.knowledge-drawer-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.knowledge-item-list {
  display: grid;
  gap: 10px;
}

.knowledge-list-card {
  width: 100%;
  border: 1px solid rgba(0, 122, 255, 0.08);
  border-radius: 20px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1f;
}

.knowledge-list-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.knowledge-list-card-snippet {
  font-size: 12px;
  line-height: 1.5;
  color: #6e6e73;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.knowledge-list-card-action {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #007aff;
  font-size: 12px;
  font-weight: 700;
}

.knowledge-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1085;
  background: rgba(15, 23, 42, 0.26);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.knowledge-detail-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.knowledge-detail-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1090;
  min-height: 72vh;
  max-height: 92vh;
  padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  border-radius: 28px 28px 0 0;
  background: #ffffff;
  box-shadow: 0 -18px 40px rgba(15, 23, 42, 0.16);
  transform: translateY(105%);
  transition: transform 0.24s ease;
}

.knowledge-detail-sheet.is-open {
  transform: translateY(0);
}

.knowledge-detail-handle {
  width: 48px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: rgba(60, 60, 67, 0.22);
}

.knowledge-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.knowledge-detail-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
}

.knowledge-detail-title {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #1d1d1f;
}

.knowledge-detail-body {
  margin-top: 16px;
  height: calc(92vh - 120px);
  white-space: pre-wrap;
  line-height: 1.85;
  color: #3c3c43;
  font-size: 14px;
  overflow: auto;
}

.mobile-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mobile-section-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mobile-section-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  font-size: 13px;
  font-weight: 600;
}

.mobile-quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  text-decoration: none;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.mobile-quick-card i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
  font-size: 20px;
}

.mobile-quick-card span {
  font-size: 16px;
  font-weight: 700;
}

.mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(120, 120, 128, 0.12);
}

.mobile-search i {
  color: #6e6e73;
}

.mobile-search .form-control {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.mobile-divider {
  margin: 18px 0;
  height: 1px;
  background: rgba(60, 60, 67, 0.12);
}

.mobile-stack {
  display: grid;
  gap: 12px;
}

.mobile-list-card,
.mobile-record-card,
.mobile-orientation-card,
.mobile-info-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.mobile-list-card,
.mobile-orientation-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: #1d1d1f;
}

.mobile-list-card-link:hover,
.mobile-record-card:hover,
.mobile-orientation-card:hover,
.mobile-quick-card:hover {
  color: #1d1d1f;
}

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

.mobile-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-list-title,
.mobile-record-title,
.mobile-orientation-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.mobile-list-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #6e6e73;
}

.mobile-list-text,
.mobile-orientation-text {
  margin-top: 8px;
  color: #3c3c43;
  font-size: 14px;
  line-height: 1.55;
}

.mobile-record-card {
  display: block;
  padding: 18px;
  color: #1d1d1f;
}

.mobile-record-top,
.mobile-orientation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.mobile-record-label {
  font-size: 12px;
  color: #6e6e73;
  margin-bottom: 6px;
}

.mobile-record-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.mobile-info-card {
  padding: 16px;
}

.mobile-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  font-size: 12px;
  font-weight: 700;
}

.mobile-orientation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mobile-segmented {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mobile-segmented-item {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #3c3c43;
  background: rgba(120, 120, 128, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.mobile-segmented-item.active {
  background: #007aff;
  color: #fff;
}

.mobile-form-stack {
  display: grid;
  gap: 18px;
}

.mobile-prefill-banner {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.14);
}

.form-helper {
  margin-top: 8px;
  font-size: 12px;
  color: #6e6e73;
}

.mobile-result-banner {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.12);
}

.mobile-delete-card {
  width: 100%;
  min-height: 84px;
  border: none;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.mobile-delete-card i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 59, 48, 0.14);
  font-size: 20px;
}

.mobile-delete-card span {
  font-size: 16px;
  font-weight: 700;
}

.mobile-details {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 0;
  overflow: hidden;
}

.mobile-details summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-details summary::-webkit-details-marker {
  display: none;
}

.mobile-details summary::after {
  content: "+";
  font-size: 18px;
  color: #6e6e73;
}

.mobile-details[open] summary::after {
  content: "-";
}

.mobile-details-body {
  padding: 0 18px 18px;
  white-space: pre-wrap;
  line-height: 1.8;
  color: #3c3c43;
  font-size: 14px;
}

.mobile-details-meta {
  margin-left: auto;
  font-size: 12px;
  color: #6e6e73;
  font-weight: 500;
}

.mobile-details-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.mobile-details-snippet {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.55;
  font-weight: 500;
}

.knowledge-group {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.knowledge-group > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.knowledge-group > summary::-webkit-details-marker {
  display: none;
}

.knowledge-group > summary::after {
  content: "展开";
  color: #6e6e73;
  font-size: 13px;
  font-weight: 700;
}

.knowledge-group[open] > summary::after {
  content: "收起";
}

.knowledge-group-copy {
  flex: 1;
  min-width: 0;
}

.knowledge-group-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #007aff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-group-title {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.knowledge-group-note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #6e6e73;
}

.knowledge-group-count {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 72px;
  padding: 0 12px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.12), rgba(52, 199, 89, 0.12));
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
}

.knowledge-group-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 14px;
}

.knowledge-section {
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.06), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(0, 122, 255, 0.08);
}

.knowledge-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.knowledge-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1d1d1f;
}

.knowledge-section-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6e6e73;
}

.mobile-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #007aff, #34c759);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.mobile-avatar-image {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.mobile-profile-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-profile-meta {
  margin-top: 4px;
  color: #6e6e73;
  font-size: 13px;
}

.brand-text {
  font-weight: 600;
}

.stat-card .small-box {
  border-radius: 1rem;
}

.measure-badge {
  font-size: 0.9rem;
}

.content-wrapper .card,
.login-card-body,
.register-card-body {
  border-radius: 1rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.5rem;
}

.direction-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  font-weight: 600;
}

.card-section {
  white-space: pre-wrap;
  line-height: 1.8;
}

.summary-list li {
  margin-bottom: 0.65rem;
}

.result-highlight {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
}

.mobile-app .small-box {
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.mobile-app .small-box .small-box-icon {
  opacity: 0.2;
  top: 10px;
}

.mobile-app .card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.mobile-app .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  padding: 18px 20px 14px;
}

.mobile-app .card-body,
.mobile-app .card-footer {
  padding: 18px 20px;
}

.mobile-app .table-responsive {
  border-radius: 20px;
}

.mobile-app .form-control,
.mobile-app .form-select,
.mobile-app .input-group-text,
.mobile-app .btn {
  border-radius: 16px;
}

.mobile-app .btn-primary {
  background: #007aff;
  border-color: #007aff;
}

.mobile-app .alert {
  border: none;
}

@media (min-width: 992px) {
  .mobile-shell {
    max-width: 980px;
  }

  .mobile-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .mobile-tabbar {
    left: 50%;
    transform: translateX(-50%);
    max-width: 980px;
    border-radius: 22px 22px 0 0;
  }

}

@media (max-width: 767.98px) {
  .mobile-title {
    font-size: 28px;
  }

  .mobile-stat-grid,
  .mobile-record-grid {
    grid-template-columns: 1fr;
  }

  .mobile-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mobile-app .card-header,
  .mobile-app .card-body,
  .mobile-app .card-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-tab {
    font-size: 10px;
  }

  .knowledge-launchbar {
    top: calc(env(safe-area-inset-top, 0px) + 76px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .knowledge-launch-pill {
    min-height: 64px;
    padding: 10px 8px;
    border-radius: 16px;
  }

  .knowledge-launch-pill-title {
    font-size: 12px;
  }

  .knowledge-home-panels {
    grid-template-columns: 1fr;
  }

  .knowledge-home-card {
    min-height: 132px;
  }

  .knowledge-drawer {
    height: calc(100vh - 92px) !important;
    border-radius: 24px 24px 0 0;
  }

  .knowledge-drawer-header,
  .knowledge-drawer-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .knowledge-drawer-tabs {
    margin-bottom: 14px;
  }

  .knowledge-drawer-hint {
    margin-bottom: 14px;
    padding: 11px 12px;
    font-size: 12px;
  }

  .knowledge-drawer-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .knowledge-detail-sheet {
    min-height: 78vh;
    max-height: 96vh;
  }

  .knowledge-detail-body {
    height: calc(96vh - 122px);
  }

  .knowledge-group > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-group-count {
    min-width: 0;
    min-height: 40px;
    border-radius: 999px;
  }

  .knowledge-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
