:root {
  --blue: #1677ff;
  --blue-dark: #075de8;
  --blue-soft: #eaf4ff;
  --ink: #172033;
  --muted: #6f7b8f;
  --line: #e5ebf3;
  --bg: #f4f8fd;
  --card: #fff;
  --green: #22b980;
  --orange: #ff9345;
  --purple: #7357f5;
  --red: #ef4d5a;
  --shadow: 0 6px 16px rgba(31, 77, 140, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #dce8f8;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

html.drawer-open,
body.drawer-open {
  overflow: hidden;
}

body.drawer-open {
  position: fixed;
  width: 100%;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(8, 36, 84, 0.08), 0 18px 60px rgba(8, 36, 84, 0.22);
}

#app {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #eef6ff 0, #f8fbff 260px, #f4f8fd 100%);
}

.page.no-tab {
  padding-bottom: 26px;
}

.statusbar {
  height: 8px;
}

.topbar {
  position: relative;
  min-height: 56px;
  padding: 2px 18px 4px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f6ff2 0%, #2387ff 55%, #49a9ff 100%);
}

.topbar.brand {
  min-height: 156px;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 12px;
  right: -22px;
  width: 118px;
  height: 72px;
  opacity: 0.1;
  background:
    radial-gradient(circle at 70% 22%, #fff 0 18px, transparent 19px),
    radial-gradient(circle at 42% 60%, #fff 0 42px, transparent 43px);
}

.topbar::after {
  content: "";
  position: absolute;
  inset: auto -38px 0 -38px;
  height: 56px;
  opacity: 0.1;
  background:
    linear-gradient(160deg, transparent 0 42%, rgba(255, 255, 255, 0.8) 43% 45%, transparent 46%),
    linear-gradient(18deg, transparent 0 46%, rgba(255, 255, 255, 0.74) 47% 49%, transparent 50%),
    radial-gradient(ellipse at 82% 82%, rgba(255, 255, 255, 0.72) 0 58px, transparent 59px);
}

.nav-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  min-height: 40px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-title {
  text-align: center;
  font-size: 19px;
  font-weight: 750;
}

.nav-title .nav-title-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  vertical-align: -5px;
}

.nav-title .icon {
  width: 22px;
  height: 22px;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.brand-copy h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-logo-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(2, 50, 126, 0.18);
}

.brand-logo-mark img {
  width: 140%;
  height: 140%;
  object-fit: contain;
}

.brand-copy p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.skyline {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 190px;
  height: 84px;
  opacity: 0.76;
}

.skyline span {
  position: absolute;
  bottom: 0;
  width: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.25));
  border-radius: 3px 3px 0 0;
}

.skyline span:nth-child(1) { left: 12px; height: 28px; }
.skyline span:nth-child(2) { left: 38px; height: 50px; }
.skyline span:nth-child(3) { left: 70px; height: 38px; }
.skyline span:nth-child(4) { left: 100px; height: 70px; }
.skyline span:nth-child(5) { left: 130px; height: 46px; }
.skyline span:nth-child(6) { left: 158px; height: 82px; }

.content {
  overflow-x: hidden;
  padding: 14px 16px 18px;
}

.content.overlap {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 28px;
  color: #8b96a8;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.metric-search-wrap {
  position: relative;
  z-index: 6;
}

.metric-search-pill {
  box-shadow: none;
}

.metric-search-pill .link-btn {
  color: var(--blue);
  font-weight: 700;
}

.suggest-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(31, 77, 140, 0.18);
}

.suggest-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.suggest-head span {
  color: var(--muted);
  font-weight: 500;
}

.suggest-row {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: #fff;
}

.suggest-row:last-child {
  border-bottom: 0;
}

.suggest-row strong {
  display: block;
  line-height: 1.35;
}

.suggest-row em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.suggest-row mark {
  color: var(--blue);
  background: transparent;
}

.suggest-empty {
  padding: 16px;
  color: var(--muted);
  text-align: center;
}

.hotwords,
.chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 4px;
  scrollbar-width: none;
}

/* 外层容器：图标+热词横向同行、垂直居中 */
.hot-wrap {
  display: flex;
  align-items: center;
  gap: 10px; /* 图标和标签组之间的距离 */
}

/* 火焰图标样式 */
.hot-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0; /* 图标不会压缩变形 */
}

/* 原有hotwords样式微调 */
.hotwords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* 各个标签之间间距 */
  overflow-x: visible;
}

.hotwords::-webkit-scrollbar,
.chips::-webkit-scrollbar,
.tabs.scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 18px;
  color: #195fbd;
  background: #f7fbff;
  border: 1px solid #cfe2fb;
}

.chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #075de8);
}

.sub-chip.unread {
  position: relative;
}

.sub-chip.unread::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2f3f;
  box-shadow: 0 0 0 2px #fff;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--blue);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  color: var(--muted);
  background: transparent;
}

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

.service-card {
  min-height: 92px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  box-shadow: var(--shadow);
}

.service-card.compact {
  min-height: 80px;
}

.service-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.service-title {
  display: block;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-desc {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.services-page {
  min-height: 100vh;
  padding-bottom: 28px;
  background: #f4f7fb;
}

.services-topbar {
  min-height: 56px;
  padding: 2px 18px 4px;
}

.services-content {
  padding: 16px;
}

.services-intro {
  position: relative;
  padding-left: 10px;
  margin-bottom: 14px;
}

.services-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 20px;
  border-radius: 3px;
  background: var(--blue);
}

.services-intro h2 {
  margin: 0;
  color: #061b3a;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.services-intro p {
  margin: 10px 0 0;
  color: #5f6f86;
  font-size: 14px;
  line-height: 1.45;
}

.services-search {
  min-height: 52px;
  margin: 0 0 16px;
  padding: 0 16px;
  border: 1px solid #e4ebf4;
  border-radius: 26px;
  box-shadow: none;
}

.services-group {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 77, 140, 0.1);
}

.services-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.services-group-head h3 {
  margin: 0;
  color: #061b3a;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.services-group-head span {
  color: #7a8799;
  font-size: 13px;
}

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

.services-card {
  position: relative;
  min-height: 118px;
  padding: 14px 36px 13px 12px;
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-radius: 12px;
  color: #061b3a;
  background: #fff;
  border: 1px solid #eef3f9;
  box-shadow: 0 8px 20px rgba(31, 77, 140, 0.08);
  text-align: left;
}

.services-card .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.services-card .badge-icon .icon {
  width: 23px;
  height: 23px;
}

.services-card-copy {
  min-width: 0;
  display: block;
}

.services-card-copy strong {
  display: block;
  color: #061b3a;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 800;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: keep-all;
}

.services-card-copy em {
  display: -webkit-box;
  margin-top: 5px;
  color: #5f6f86;
  font-size: 12.5px;
  line-height: 1.35;
  font-style: normal;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.services-card-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #172033;
}

.services-card-arrow .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.badge-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #1677ff, #66a9ff);
}

.badge-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 2.1;
}

.badge-icon.mini {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.badge-icon.mini .icon {
  width: 20px;
  height: 20px;
}

.badge-icon.tiny {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.badge-icon.tiny .icon {
  width: 16px;
  height: 16px;
}

.badge-icon.soft {
  color: var(--blue);
  background: #edf5ff;
}

.badge-icon.soft.green {
  color: var(--green);
  background: #eaf9f4;
}

.badge-icon.soft.orange {
  color: var(--orange);
  background: #fff2e8;
}

.badge-icon.soft.purple {
  color: var(--purple);
  background: #f1efff;
}

.badge-icon.soft.red {
  color: var(--red);
  background: #fff0f2;
}

.badge-icon.green { background: linear-gradient(135deg, #23c7a2, #74decf); }
.badge-icon.orange { background: linear-gradient(135deg, #ff883e, #ffc177); }
.badge-icon.purple { background: linear-gradient(135deg, #7d66ff, #b6a9ff); }

.list-card,
.plain-card,
.article-card {
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.updates {
  overflow: hidden;
}

.update-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto 16px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-bottom: 1px dashed var(--line);
  text-align: left;
  background: transparent;
}

.update-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.update-title-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  vertical-align: bottom;
}

.update-title.is-marquee .update-title-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  animation: update-title-marquee var(--marquee-duration, 9s) ease-in-out infinite;
}

@keyframes update-title-marquee {
  0%, 18% {
    transform: translateX(0);
  }
  72%, 88% {
    transform: translateX(calc(-1 * var(--marquee-distance, 40px)));
  }
  100% {
    transform: translateX(0);
  }
}

.update-row:last-child {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 7px;
  color: var(--blue);
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 700;
}

.tag.green { color: #07945e; background: #e6f8ef; }
.tag.orange { color: #f07a19; background: #fff0e4; }
.tag.purple { color: #6550d9; background: #f0edff; }

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.tabs.scroll {
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  position: relative;
  flex: 1 0 auto;
  min-height: 54px;
  padding: 0 16px;
  color: #263247;
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
}

.quarter-corner {
  position: absolute;
  top: 9px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #eaf4ff;
  font-size: 11px;
  line-height: 1;
}

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

.tab.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.filter-row {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
}

.metric-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px -16px 0;
  padding: 10px 16px;
  border-top: 1px solid rgba(229, 235, 243, 0.8);
  border-bottom: 1px solid rgba(229, 235, 243, 0.8);
  background: #fff;
}

.sort-trigger {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--blue);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-weight: 800;
}

.sort-trigger .icon {
  width: 20px;
  height: 20px;
}

.sort-trigger .sort-arrow {
  color: var(--blue);
  font-weight: 900;
}

.active-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 2px;
  scrollbar-width: none;
}

.active-filters::-webkit-scrollbar {
  display: none;
}

.active-filters span {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #145fc6;
  background: #eaf2ff;
  white-space: nowrap;
}

.active-filters button {
  margin-left: 6px;
  color: #5d7aa8;
  background: transparent;
  font-weight: 800;
}

.list-active-filters {
  padding-top: 0;
  padding-bottom: 10px;
}

.filter-btn {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.query-summary {
  width: 100%;
  justify-content: space-between;
}

.query-summary span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.query-summary span:last-child {
  flex: 0 0 auto;
  color: var(--blue);
}

.result-count {
  margin: 16px 2px 12px;
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 12px;
}

.article-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px 50px 16px 16px;
  text-align: left;
  color: var(--ink);
}

.article-card h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  line-height: 1.28;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.summary {
  margin: 8px 0 0;
  color: #41506a;
  font-size: 15px;
  line-height: 1.6;
}

.article-card.progress-list-card {
  padding: 24px 50px 20px 28px;
}

.progress-card-link {
  all: unset;
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding-right: 18px;
  cursor: pointer;
}

.article-card.progress-list-card h3 {
  margin: 0 0 14px;
  color: #0d1424;
  font-size: 20px;
  line-height: 1.35;
}

.article-card.progress-list-card .star {
  top: 23px;
  right: 18px;
  z-index: 3;
  color: #59698f;
}

.progress-date-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
  color: #59698f;
  font-size: 15px;
  line-height: 1.4;
}

.progress-date-meta .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.article-card.progress-list-card .summary {
  margin-top: 0;
  color: #18336a;
}

.metric-card {
  overflow: hidden;
  padding: 0;
}

.metric-card .star {
  z-index: 3;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
}

.metric-card-body {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 104px;
  padding: 12px 42px 6px 12px;
  cursor: pointer;
  transition: background 0.16s ease;
}

.metric-card-body:active {
  background: #f8fbff;
}

.metric-meta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.metric-meta-row span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.metric-meta-row .tag {
  min-height: 22px;
  padding: 1px 7px;
  font-size: 12.5px;
}

.metric-meta-row .icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.metric-card .metric-title-link {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 7px 0 3px;
  font-size: 18px;
  line-height: 1.22;
}

.metric-title-link > span:first-child {
  min-width: 0;
}

.metric-title-chevron {
  display: inline-flex;
  flex: 0 0 auto;
  color: #7c8798;
}

.metric-title-chevron .icon {
  width: 16px;
  height: 16px;
}

.metric-value {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.metric-value small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.star {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #7c8798;
  background: transparent;
}

.star.active {
  color: #f9b400;
}

.bottom-tab {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.bottom-tab button {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  color: #5f6b7d;
  background: transparent;
  font-size: 13px;
}

.bottom-tab button.active {
  color: var(--blue);
  font-weight: 750;
}

.bottom-tab .tab-notice-dot::after {
  content: "";
  position: absolute;
  top: 9px;
  left: calc(50% + 10px);
  width: 7px;
  height: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #ff5b2f;
}

.query-card {
  padding: 0;
  display: grid;
  gap: 10px;
}

.indicator-query-card .query-option > .badge-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0;
  line-height: 1;
}

.indicator-query-card .query-option > .badge-icon .icon,
.indicator-query-card .query-option > .badge-icon img {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
  margin: 0;
  transform: none;
}

.indicator-query-card .query-option > .badge-icon .iconfont {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.compare-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-switch button {
  min-height: 48px;
  border-radius: 14px;
  color: #4e5d72;
  background: transparent;
  font-weight: 800;
}

.compare-switch button.active {
  color: var(--blue);
  background: #eef6ff;
}

.compare-switch .icon {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
}

.query-option {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.query-option strong {
  display: block;
  font-size: 18px;
}

.query-option span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.query-option.active {
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.18), var(--shadow);
}

.fixed-action {
  position: sticky;
  bottom: 16px;
  margin-top: 18px;
  z-index: 5;
}

.primary-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #075de8);
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.24);
}

.primary-btn:disabled {
  color: rgba(255, 255, 255, 0.82);
  background: #b8d6ff;
  box-shadow: none;
}

.select-panel {
  margin-top: 12px;
  overflow: hidden;
}

.select-row {
  width: 100%;
  min-height: 68px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: #fff;
}

.recent-query-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.select-row strong,
.query-option strong {
  word-break: break-word;
}

.page.no-tab.metric-select-shell {
  min-height: 100vh;
  padding-bottom: 0;
  overflow: hidden;
}

.metric-select-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 104px);
  min-height: 0;
  padding-bottom: 0;
}

@supports (height: 100dvh) {
  .page.no-tab.metric-select-shell {
    min-height: 100dvh;
  }

  .metric-select-page {
    height: calc(100dvh - 104px);
  }
}

.metric-select-tabs {
  flex: 0 0 auto;
  margin: 14px -16px 0;
}

.metric-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 -16px;
  padding: 0 0 calc(104px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.select-row:last-child {
  border-bottom: 0;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #9aa5b5;
  display: inline-grid;
  place-items: center;
  color: #fff;
}

.check.active {
  border-color: var(--blue);
  background: var(--blue);
}

.selected-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 12px;
  align-items: center;
  margin: 18px -16px -18px;
  padding: 14px 16px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.metric-select-shell .selected-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 430px);
  grid-template-columns: minmax(0, 1fr) minmax(148px, 42%);
  margin: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  box-shadow: 0 -8px 22px rgba(20, 50, 92, 0.08);
}

.metric-select-shell .selected-bar strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.selection-summary,
.path-card {
  background: #fff;
}

.path-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.selection-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selection-summary b {
  color: var(--blue);
}

.metric-selected-strip {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #263247;
  background: #fff;
}

.metric-selected-count {
  white-space: nowrap;
}

.metric-selected-preview {
  min-width: 0;
  overflow: hidden;
  color: #65748a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  width: calc(100% + 32px);
  min-height: 36px;
  margin: 0 -16px;
  padding: 6px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: #145fc6;
  text-align: left;
}

.metric-breadcrumb-back {
  flex: 0 0 auto;
  font-size: 25px;
  line-height: 1;
}

.metric-breadcrumb-text {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-list-panel {
  margin: 10px 16px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.metric-select-row {
  min-height: 80px;
  padding: 10px 14px;
  grid-template-columns: 36px minmax(0, 1fr) 30px;
  gap: 10px;
}

.metric-select-row.selected {
  background: #f7fbff;
}

.metric-select-row .badge-icon.mini {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.metric-select-row .badge-icon.mini .icon {
  width: 20px;
  height: 20px;
}

.metric-row-main {
  display: block;
  min-width: 0;
}

.metric-row-main strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.metric-row-main .subtle {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #7b8799;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-select-row .check {
  justify-self: center;
}

.metric-select-notice {
  margin: 10px 16px 0;
  font-size: 14px;
  line-height: 1.35;
}

.selected-chips,
.path-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.selected-chips span,
.path-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #145fc6;
  background: #edf5ff;
}

.selected-chips button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #6f7b8f;
  background: #dfe8f6;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0 28px;
}

.quick-grid button {
  min-height: 46px;
  border-radius: 24px;
  color: #4c5b70;
  background: #fff;
  border: 1px solid var(--line);
}

.quick-grid button.active {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 800;
}

.annual-quick-grid {
  grid-template-columns: repeat(3, 1fr);
}

.time-wheel-card {
  margin-top: 12px;
  padding: 14px;
}

.time-wheel-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

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

.time-wheel.year-only {
  grid-template-columns: 1fr;
}

.wheel-col {
  max-height: 176px;
  overflow-y: auto;
  padding: 44px 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f5f9ff, #fff 42%, #fff 58%, #f5f9ff);
  scroll-snap-type: y mandatory;
}

.wheel-col button {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  color: #526175;
  background: transparent;
  scroll-snap-align: center;
}

.wheel-col button.active {
  color: var(--blue);
  background: #eaf4ff;
  font-size: 18px;
  font-weight: 850;
}

.chart-card {
  padding: 16px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 4px;
  border-radius: 20px;
  background: #edf2f8;
}

.segmented button {
  min-height: 42px;
  border-radius: 16px;
  color: #536173;
  background: transparent;
  font-weight: 750;
}

.segmented button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #075de8);
}

.chart-wrap {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.chart-zoom-trigger {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.chart-zoom-hint {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 14px;
  color: #0d63ee;
  background: rgba(238, 245, 255, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.chart-zoom-hint .icon {
  width: 15px;
  height: 15px;
}

.chart-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7faff;
}

.chart-fullscreen-stage {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #fff;
}

.chart-fullscreen-head {
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}

.chart-fullscreen-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.chart-fullscreen-body {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 8px 10px 10px;
}

.fullscreen-chart-svg {
  width: 100%;
  height: 100%;
  min-height: 270px;
}

@media (orientation: portrait) {
  .chart-fullscreen-stage {
    width: 100vh;
    height: 100vw;
    transform: rotate(90deg);
    transform-origin: center;
  }
}

.latest-metric-section {
  margin-top: 14px;
}

.latest-metric-section > b {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.latest-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.latest-metric-card {
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: #fff;
}

.latest-metric-card span,
.latest-metric-card em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.latest-metric-card strong {
  display: inline-block;
  margin: 6px 6px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.related-report-link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 3px;
  width: calc(100% - 24px);
  min-height: 34px;
  margin: 0 12px;
  padding: 8px 0 10px;
  border-top: 1px solid #edf2f8;
  color: var(--muted);
  font-size: 13.5px;
}

.related-report-link .icon {
  width: 15px;
  height: 15px;
}

.chart-svg {
  width: 100%;
  height: 300px;
  display: block;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.legend span,
.value-grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 16px;
  background: #f7faff;
  color: #39465c;
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.value-grid span {
  justify-content: space-between;
  border-radius: 10px;
  background: #f8fbff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  border: 1px solid #b8c6d8;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.data-table th:first-child,
.data-table td:first-child {
  text-align: left;
}

.data-table td button {
  color: var(--blue);
  background: transparent;
  font-weight: 750;
}

.table-scroll {
  overflow: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 16px;
  margin-bottom: 12px;
}

.info-card h2 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 12px;
  color: #32609b;
  border-radius: 9px;
  background: #eaf4ff;
}

.detail-article {
  padding: 18px;
  line-height: 1.75;
}

.detail-article h1 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.subtle {
  color: var(--muted);
}

.pdf-card {
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 122px 1fr 40px;
  align-items: center;
  text-align: left;
}

.year-tile {
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 36px;
  font-weight: 850;
  background: linear-gradient(135deg, #dfeeff, #f7fbff);
}

.yearbook-head {
  display: grid;
  gap: 6px;
  padding: 16px;
  margin-bottom: 12px;
}

.yearbook-head strong {
  font-size: 20px;
}

.yearbook-head span {
  color: var(--muted);
}

.yearbook-search {
  min-height: 52px;
  margin-bottom: 12px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.yearbook-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #243148;
  font-weight: 750;
}

.yearbook-breadcrumb .icon {
  width: 16px;
  height: 16px;
}

.annual-pdf-icon {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 9px;
  object-fit: cover;
}

.yearbook-report-list {
  display: grid;
  gap: 12px;
}

.yb-report-card {
  padding: 0;
  overflow: hidden;
}

.yb-report-main {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.yb-report-main strong {
  font-size: 17px;
  line-height: 1.35;
}

.yb-report-main em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.star-inline {
  color: #8a96a8;
}

.page-search {
  margin-top: 12px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.mine-page {
  background:
    radial-gradient(circle at 8% 9%, rgba(255, 255, 255, 0.88) 0 1px, transparent 2px),
    linear-gradient(180deg, #f7fbff 0, #f4f8fd 100%);
}

.mine-hero {
  position: relative;
  min-height: 80px;
  overflow: hidden;
  padding: 2px 18px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f6ff2 0%, #2387ff 55%, #49a9ff 100%);
  border-radius: 0;
}

.mine-hero::before {
  content: "";
  position: absolute;
  top: 12px;
  right: -22px;
  left: auto;
  bottom: auto;
  width: 118px;
  height: 72px;
  opacity: 0.1;
  background:
    radial-gradient(circle at 70% 22%, #fff 0 18px, transparent 19px),
    radial-gradient(circle at 42% 60%, #fff 0 42px, transparent 43px);
}

.mine-hero::after {
  content: "";
  position: absolute;
  inset: auto -38px 0 -38px;
  height: 56px;
  opacity: 0.1;
  background:
    linear-gradient(160deg, transparent 0 42%, rgba(255, 255, 255, 0.8) 43% 45%, transparent 46%),
    linear-gradient(18deg, transparent 0 46%, rgba(255, 255, 255, 0.74) 47% 49%, transparent 50%),
    radial-gradient(ellipse at 82% 82%, rgba(255, 255, 255, 0.72) 0 58px, transparent 59px);
}

.mine-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  min-height: 44px;
}

.mine-nav-left {
  display: flex;
  align-items: center;
}

.mine-nav .icon-btn {
  width: 36px;
  height: 36px;
}

.mine-nav .icon {
  width: 25px;
  height: 25px;
  stroke-width: 2.7;
}

.mine-nav .nav-title {
  font-size: 19px;
  font-weight: 750;
}

.mine-content {
  margin-top: -18px;
  padding: 0 20px 18px;
}

.mine-card {
  position: relative;
  z-index: 2;
  min-height: 104px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(31, 77, 140, 0.11);
}

.mine-card.guest {
  min-height: 104px;
  grid-template-columns: 60px minmax(0, 1fr) 86px;
  grid-template-rows: auto;
  row-gap: 0;
}

.avatar-wrap {
  position: relative;
  width: 60px;
  height: 60px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #276dff, #6e94ff);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.42);
  font-size: 27px;
  font-weight: 900;
}

.guest-avatar {
  color: #fff;
  background: linear-gradient(135deg, #c4c4c4, #a9a9a9);
  box-shadow: none;
}

.guest-avatar .icon {
  width: 40px;
  height: 40px;
}

.solid-icon {
  fill: currentColor;
  stroke: none;
}

.mine-user-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.mine-user-copy strong {
  color: #172033;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.mine-user-copy span {
  color: #6f7b8f;
  font-size: 15px;
  line-height: 1.25;
}

.mine-card-arrow {
  width: 30px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9aa5b5;
  background: transparent;
}

.mine-card-arrow .icon {
  width: 25px;
  height: 25px;
  stroke-width: 3;
}

.mine-login-btn {
  grid-column: 3;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 16px;
}

.mine-page .section-head {
  margin: 24px 0 10px;
}

.mine-page .section-title {
  font-size: 20px;
}

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

.mine-asset-grid {
  gap: 12px;
}

.asset-card {
  min-height: 132px;
  padding: 16px;
  text-align: left;
}

.asset-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
  color: var(--blue);
}

.mine-asset-card {
  position: relative;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #f5fbff 0%, #fff 72%);
  box-shadow: 0 12px 28px rgba(31, 77, 140, 0.11);
}

.mine-asset-card.green {
  background: linear-gradient(135deg, #effff9 0%, #fff 72%);
}

.mine-asset-card.locked {
  color: #8b96a8;
}

.asset-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 62px;
}

.asset-card-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.asset-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.asset-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.7;
}

.asset-text-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-top: 1px;
}

.asset-title {
  color: #172033;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.asset-count {
  margin: 0;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.mine-asset-card.green .asset-count,
.mine-asset-card.green .asset-action-text {
  color: var(--green);
}

.mine-asset-card.locked .asset-count {
  color: #78a5ff;
  font-size: 24px;
}

.mine-asset-card.locked.green .asset-count {
  color: #64d7b4;
}

.asset-card-status {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #9eabb8;
  background: rgba(224, 234, 239, 0.74);
  border-radius: 50%;
}

.asset-card-status:empty {
  display: none;
}

.asset-card-status .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.asset-divider {
  display: block;
  height: 1px;
  margin: 2px 0 0;
  background: #e5ebf3;
}

.asset-card-bottom {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.asset-action-text {
  color: #2d609e;
  font-size: 15px;
  line-height: 1.25;
}

.mine-asset-card.locked .asset-action-text {
  color: #6f7b8f;
}

.asset-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  color: #8b96a8;
}

.asset-arrow .icon {
  width: 20px;
  height: 20px;
  color: #8b96a8;
}

.mine-support-panel {
  margin-top: 12px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(31, 77, 140, 0.1);
}

.mine-support-row {
  min-height: 62px;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  padding: 10px 16px;
  font-size: 17px;
}

.mine-support-row > .icon {
  width: 27px;
  height: 27px;
  color: #8b96a8;
  stroke-width: 3;
}

.support-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.support-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.logout-row {
  color: #3f4b5f;
}

.logout-row .logout-icon {
  color: #ef4d5a;
}

.mine-page .bottom-tab {
  min-height: 68px;
  border-top: 1px solid rgba(229, 235, 243, 0.72);
  box-shadow: 0 -8px 24px rgba(31, 77, 140, 0.06);
}

.mine-page .bottom-tab button {
  min-height: 68px;
  color: #687586;
  font-size: 14px;
  position: relative;
  z-index: 0;
}

.mine-page .bottom-tab button.active {
  color: var(--blue);
  min-height: 56px;
  margin: 6px 14px;
  border-radius: 16px;
  background: #eaf4ff;
}

.mine-page .bottom-tab button .icon,
.mine-page .bottom-tab button span {
  position: relative;
  z-index: 1;
}

.mine-page .bottom-tab .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.3;
}

.sms-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 76px;
  gap: 10px;
  align-items: center;
  margin: 12px 0 18px;
  padding: 14px;
  border-radius: 10px;
  color: #2d609e;
  background: #eaf4ff;
}

.sms-card .icon {
  color: #255eaa;
}

.sms-card span {
  line-height: 1.45;
}

.sms-card button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 21px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #cfe2fb;
  white-space: nowrap;
  font-weight: 750;
}

.sub-manage-page {
  background: linear-gradient(180deg, #f4f9ff 0, #f8fbff 240px, #f2f7fe 100%);
}

.sub-manage-content {
  padding: 18px 18px 22px;
}

.sub-manage-hero {
  margin: 2px 5px 18px;
}

.sub-manage-hero h1 {
  margin: 0 0 8px;
  color: #101828;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

.sub-manage-hero p {
  margin: 0;
  color: #6e7787;
  font-size: 14px;
}

.sub-summary-card,
.sub-sms-panel,
.sub-option-card {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(27, 78, 136, 0.11);
}

.sub-summary-card {
  padding: 18px 14px 16px;
}

.sub-summary-head,
.sub-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sub-summary-head h2,
.sub-option-head h3,
.sub-section-title {
  margin: 0;
  color: #101828;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.sub-summary-head span {
  color: #6e7787;
  font-size: 15px;
  white-space: nowrap;
}

.sub-summary-head strong {
  margin: 0 3px;
  color: var(--blue);
}

.sub-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.sub-selected-tag {
  min-height: 28px;
  padding: 0 15px;
  border-radius: 14px;
  color: #0d63ee;
  background: #eef5ff;
  font-weight: 650;
  line-height: 28px;
  white-space: nowrap;
}

.sub-selected-tag span {
  margin-left: 7px;
  font-weight: 800;
}

.sub-empty-text {
  color: var(--muted);
  font-size: 14px;
}

.sub-sms-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0 26px;
  padding: 15px;
  color: inherit;
  text-align: left;
  background: #fff;
}

.sub-sms-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #2d8cf6;
}

.sub-sms-icon .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}

.sub-sms-panel strong {
  margin-right: 14px;
  color: #101828;
  font-size: 17px;
}

.sub-sms-panel em {
  color: #7a8392;
  font-style: normal;
  font-size: 15px;
}

.sub-sms-panel small {
  display: block;
  margin-top: 5px;
  color: #687385;
  font-size: 13px;
  line-height: 1.45;
}

.sub-sms-panel b {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--blue);
  font-size: 16px;
  white-space: nowrap;
}

.sub-sms-panel b .icon {
  width: 18px;
  height: 18px;
}

.sub-section-title {
  margin: 0 5px 14px;
  font-size: 22px;
}

.sub-group-list {
  display: grid;
  gap: 12px;
}

.sub-option-card {
  padding: 18px 14px 14px;
}

.sub-option-head {
  margin-bottom: 16px;
}

.sub-option-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.sub-option-head button span {
  font-size: 16px;
  line-height: 1;
}

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

.sub-option {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  overflow: visible;
  border-radius: 8px;
  color: #0968f0;
  background: linear-gradient(180deg, #f7f9fc, #f0f3f8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}

.sub-option.wide {
  grid-column: span 3;
}

.sub-option span {
  margin-right: 3px;
  font-weight: 850;
}

.sub-option.active {
  color: #075de8;
  border: 1px solid #0b6fff;
  background: linear-gradient(180deg, #fbfdff, #eef5ff);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.12), inset 0 1px 0 rgba(255,255,255,.96);
}

@media (max-width: 360px) {
  .sub-manage-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sub-option-grid {
    gap: 10px;
  }

  .sub-option {
    font-size: 13px;
  }
}

.about-page {
  background: linear-gradient(180deg, #f4f9ff 0, #f8fbff 48%, #f4f8fd 100%);
}

.about-page .topbar {
  min-height: 56px;
  background: linear-gradient(135deg, #0f6ff2 0%, #2387ff 55%, #49a9ff 100%);
}

.about-page .topbar::after {
  inset: auto -38px 0 -38px;
  height: 56px;
  opacity: 0.1;
  background:
    linear-gradient(160deg, transparent 0 42%, rgba(255, 255, 255, 0.8) 43% 45%, transparent 46%),
    linear-gradient(18deg, transparent 0 46%, rgba(255, 255, 255, 0.74) 47% 49%, transparent 50%),
    radial-gradient(ellipse at 82% 82%, rgba(255, 255, 255, 0.72) 0 58px, transparent 59px);
}

.about-page .topbar::before {
  content: "";
  position: absolute;
  top: 12px;
  right: -22px;
  width: 118px;
  height: 72px;
  opacity: 0.1;
  background:
    radial-gradient(circle at 70% 22%, #fff 0 18px, transparent 19px),
    radial-gradient(circle at 42% 60%, #fff 0 42px, transparent 43px);
}

.about-content {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  padding-top: 0;
}

.about-hero-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px 22px;
  border-radius: 10px;
}

.about-logo {
  width: 68px;
  height: 68px;
  display: block;
  border: 1px solid #e7edf5;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(31, 77, 140, 0.03);
  object-fit: contain;
}

.about-brand-copy h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 850;
  color: #172033;
}

.about-brand-copy p {
  margin: 0;
  color: #5d6b80;
  font-size: 14px;
  line-height: 1.5;
}

.about-section-card {
  margin-top: 12px;
  padding: 18px 16px;
  border-radius: 10px;
}

.about-section-card h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 14px;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.about-section-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: #2389ff;
}

.about-section-card p {
  margin: 0;
  color: #34445d;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 650;
}

.about-site-card {
  padding-bottom: 14px;
}

.about-basic-info {
  margin: 0;
}

.about-basic-info div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid #edf1f6;
}

.about-basic-info div:last-child {
  border-bottom: 0;
}

.about-basic-info dt,
.about-basic-info dd {
  margin: 0;
  color: #7a8495;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
}

.about-basic-info dd {
  color: #717c91;
  text-align: right;
}

.about-link-list {
  margin-top: 12px;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.about-link-row {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid #e8eef5;
  color: inherit;
  background: #fff;
  text-align: left;
  text-decoration: none;
}

.about-link-row:last-child {
  border-bottom: 0;
}

.about-link-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f6ff;
}

.about-link-icon img {
  display: block;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}

.about-link-icon.security img {
  max-width: 19px;
  max-height: 19px;
}

.about-link-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #0f172a;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.about-link-extra {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.about-link-arrow {
  flex: 0 0 auto;
  width: 16px;
  margin-left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.about-link-arrow .icon {
  width: 16px;
  height: 16px;
}

.about-bottom-cert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 18px 16px 18px;
}

.about-cert-static,
.about-cert-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-cert-static {
  pointer-events: none;
}

.about-cert-static img {
  width: auto;
  height: 30px;
  object-fit: contain;
}

.about-cert-static span {
  color: #334155;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.about-cert-action {
  overflow: hidden;
}

.about-cert-action img {
  width: auto;
  max-height: 30px;
  object-fit: contain;
}

.about-trust-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.empty {
  display: grid;
  place-items: center;
  min-height: 360px;
  color: var(--muted);
  text-align: center;
}

.empty-ill {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #9eb8dc;
  background: #eaf4ff;
  font-size: 48px;
}

.result-empty .empty-ill {
  width: 70px;
  height: 70px;
  margin-bottom: 14px;
  border-radius: 0;
  color: #8b98aa;
  background: transparent;
  font-size: 34px;
}

.result-empty .empty-ill .icon {
  width: 42px;
  height: 42px;
}

.manage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 12px;
  color: var(--blue);
  font-weight: 750;
}

.bulk-bar {
  position: sticky;
  bottom: 74px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 12px;
  align-items: center;
  margin: 16px -16px -18px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.danger-btn {
  min-height: 44px;
  border-radius: 12px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--red);
  font-weight: 800;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(14, 24, 38, 0.55);
}

.drawer {
  width: 100%;
  max-width: 430px;
  max-height: min(86vh, 720px);
  max-height: min(86dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
  touch-action: pan-y;
}

.drawer.dragging {
  transition: none;
}

.drawer-handle {
  flex: 0 0 auto;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.drawer-handle::after {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 3px;
  background: #d3d9e3;
}

.drawer-sheet-layout {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.drawer-fixed-top {
  flex: 0 0 auto;
  padding: 0 18px 10px;
  background: #fff;
  cursor: grab;
}

.drawer-fixed-top .drawer-head {
  margin-bottom: 10px;
}

.drawer-fixed-top > .subtle {
  margin: 0;
  text-align: center;
  line-height: 1.45;
}

.drawer-fixed-top > .current-period {
  margin-top: 10px;
}

.drawer-scroll-area {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 8px 18px 18px;
  background: #fff;
}

.drawer-scroll-area > h3:first-child {
  margin-top: 0;
}

.drawer-fixed-actions {
  flex: 0 0 auto;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.drawer-fixed-actions > .drawer-actions,
.drawer-fixed-actions > .metric-filter-actions {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.drawer-fixed-actions > .drawer-cancel {
  width: 100%;
  margin: 0;
}

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

.drawer-head.center {
  justify-content: center;
  text-align: center;
}

.drawer-head h2 {
  margin: 0;
  font-size: 22px;
}

.report-detail-drawer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.report-detail-drawer .drawer-handle {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.report-detail-head {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.report-detail-head h2 {
  font-size: 22px;
  line-height: 1.18;
}

.report-detail-subtitle {
  flex: 0 0 auto;
  margin: 0 0 8px;
  line-height: 1.35;
}

.report-detail-tabs {
  flex: 0 0 auto;
  border: 0;
  margin: 0 -4px;
  background: #fff;
}

.report-detail-tabs .tab {
  min-height: 46px;
  padding: 0 12px;
}

.report-detail-tabs .tab.active::after {
  left: 22px;
  right: 22px;
}

.report-detail-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 0 2px;
}

.report-detail-action {
  flex: 0 0 auto;
  padding-top: 12px;
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
}

.report-detail-action .primary-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.report-detail-action .icon {
  width: 20px;
  height: 20px;
}

.report-meta-list {
  display: grid;
  gap: 8px;
}

.report-meta-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.report-meta-row strong,
.report-meta-row em {
  display: block;
  font-style: normal;
}

.report-meta-row strong {
  color: #6f7b8f;
  font-size: 13px;
  font-weight: 700;
}

.report-meta-row em {
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.report-chart-panel,
.report-region-panel {
  display: grid;
  gap: 10px;
}

.report-chart-box,
.report-pie-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.report-line-chart {
  height: 278px;
}

.report-latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.report-latest-card {
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  background: #fff;
}

.report-latest-card.latest {
  border-left-color: #19bec9;
}

.report-latest-card span,
.report-latest-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.report-latest-card b {
  display: block;
  margin-top: 3px;
  color: #39465c;
  font-size: 13px;
}

.report-latest-card strong {
  display: inline-block;
  margin: 8px 4px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.report-latest-card em {
  display: inline;
}

.report-pie-box {
  display: grid;
  place-items: center;
  padding: 8px;
}

.report-pie {
  width: 230px;
  max-width: 100%;
  display: block;
  transform: rotate(-90deg);
}

.report-pie text {
  transform: rotate(90deg);
  transform-origin: 110px 110px;
}

.report-pie-legend {
  display: grid;
  gap: 8px;
}

.report-pie-legend div {
  min-height: 42px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.report-pie-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.report-pie-legend span {
  color: #39465c;
  font-size: 14px;
}

.report-pie-legend strong {
  color: var(--ink);
  font-size: 14px;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-grid button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  color: #41506a;
  background: #f2f5f9;
}

.option-grid button.active {
  color: #fff;
  background: var(--blue);
}

.option-grid.compact {
  gap: 8px;
}

.option-grid.compact button {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 18px;
  font-size: 14px;
}

.facet-box {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.facet-values {
  min-width: 0;
}

.frequency-row {
  margin-bottom: 4px;
}

.facet-title {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.facet-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.metric-filter-drawer {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.metric-filter-drawer .drawer-handle {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.metric-filter-shell {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.metric-filter-head {
  flex: 0 0 auto;
  padding: 0 18px 12px;
  background: #fff;
  cursor: grab;
}

.drawer-fixed-top input,
.metric-filter-head input {
  cursor: text;
}

.metric-filter-head h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.35;
}

.metric-filter-summary {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 2px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.metric-filter-summary.multi-caliber-tags {
  max-height: none;
}

.metric-filter-summary::-webkit-scrollbar {
  display: none;
}

.summary-tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 15px;
  color: #28527a;
  background: #eef5ff;
  font-size: 13px;
  line-height: 18px;
}

.summary-tag span {
  min-width: 0;
  white-space: nowrap;
}

.summary-tag em {
  flex: 0 0 auto;
  font-style: normal;
  color: var(--blue);
  font-weight: 800;
  line-height: 18px;
}

.summary-empty {
  color: var(--muted);
  font-size: 13px;
}

.metric-filter-summary-title,
.applied-filter-title {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.applied-filter-panel {
  margin: 0 -2px 12px;
  padding: 0 2px;
}

.applied-filter-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.applied-filter-panel.multi-caliber-tags .applied-filter-tags {
  max-height: none;
}

.applied-filter-panel.expanded .applied-filter-tags {
  max-height: none;
}

.applied-filter-tags::-webkit-scrollbar {
  display: none;
}

.filter-tags-toggle {
  min-height: 32px;
  margin-top: 6px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.metric-filter-content,
.metric-picker-content {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 8px 18px 18px;
  background: #fff;
}

.metric-filter-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.metric-filter-row {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(229, 235, 243, 0.9);
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.metric-filter-row:last-child {
  border-bottom: 0;
}

.metric-filter-row.disabled {
  color: #9aa6b8;
  background: #fafcff;
}

.filter-row-title {
  font-size: 15px;
  font-weight: 700;
}

.filter-row-value {
  min-width: 0;
  overflow: hidden;
  color: #4f5d73;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-filter-row.disabled .filter-row-value {
  color: #9aa6b8;
}

.filter-row-arrow {
  display: inline-flex;
  color: #a7b2c2;
}

.filter-row-arrow .icon {
  width: 20px;
  height: 20px;
}

.metric-filter-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.filter-result-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.metric-filter-actions .outline-btn,
.metric-filter-actions .primary-btn {
  min-height: 48px;
  border-radius: 14px;
  font-size: 16px;
}

.metric-filter-head.picker {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.metric-picker-title {
  min-height: 40px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
}

.metric-picker-title .icon-btn {
  color: var(--ink);
  background: transparent;
}

.metric-parent-tip {
  margin: 6px 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #41506a;
  background: #f5f8fc;
  font-size: 13px;
}

.filter-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #8b96a8;
  background: #f2f5f9;
}

.filter-search-box .icon {
  width: 20px;
  height: 20px;
}

.filter-search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.metric-picker-list {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.metric-picker-list.grouped h3,
.period-year-group h3 {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-picker-row {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 4px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.metric-picker-row span:first-child {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.45;
}

.picker-check {
  color: transparent;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.picker-check.active {
  color: var(--blue);
}

.checkbox-row {
  grid-template-columns: minmax(0, 1fr) 42px 30px;
}

.checkbox-row > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.box-check {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  border: 1.5px solid #b8c4d5;
  border-radius: 6px;
  color: #fff;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.box-check.active {
  border-color: var(--blue);
  background: var(--blue);
}

.box-check.partial {
  border-color: var(--blue);
  color: #fff;
  background: rgba(22, 119, 255, 0.72);
}

.metric-picker-row mark {
  color: var(--blue);
  background: #eaf4ff;
}

.filter-load-more {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 800;
}

.caliber-condition-page {
  padding-bottom: 72px;
}

.selected-caliber-panel {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.selected-caliber-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.selected-caliber-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.selected-caliber-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-caliber-chips .summary-tag {
  flex: 0 1 auto;
  max-width: 100%;
}

.selected-caliber-chips .summary-tag span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.caliber-accordion-list {
  display: grid;
  gap: 10px;
}

.caliber-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.caliber-card.selected {
  border-color: #cfe3ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.08);
}

.caliber-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  background: #fff;
}

.caliber-group-toggle {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px 8px 12px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.caliber-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.caliber-row-icon .icon {
  width: 17px;
  height: 17px;
}

.caliber-row-icon.group {
  color: var(--blue);
  background: #eaf4ff;
}

.caliber-row-icon.item {
  color: #7890ad;
  background: #edf2f8;
}

.caliber-row-name {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
  font-weight: 800;
}

.caliber-group-toggle em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.caliber-expand-btn {
  min-width: 40px;
  min-height: 52px;
  color: #7d8ca2;
  background: #fff;
  border-left: 1px solid var(--line);
  font-size: 22px;
  font-weight: 800;
}

.caliber-child-list {
  padding: 6px 0 6px 24px;
  border-top: 1px solid var(--line);
  background: #f7fbff;
}

.caliber-child-row {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 40px 30px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 0;
  border-bottom: 1px solid rgba(229, 235, 243, 0.75);
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.caliber-child-row:last-child {
  border-bottom: 0;
}

.caliber-child-row .caliber-row-name {
  font-weight: 700;
}

.caliber-child-row > em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.radio-check {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  border: 1.5px solid #b8c4d5;
  border-radius: 50%;
  background: #fff;
}

.radio-check.active {
  border-color: var(--blue);
}

.radio-check.active::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.caliber-child-empty {
  padding: 16px 12px 16px 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.period-frequency-card {
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.period-frequency-tabs {
  display: flex;
  gap: 8px;
}

.period-frequency-tabs button {
  min-width: 72px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  color: #41506a;
  background: #f2f5f9;
  font-weight: 800;
}

.period-frequency-tabs button.active {
  color: #fff;
  background: var(--blue);
}

.period-picker-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.period-picker-card.annual {
  padding: 14px;
}

.period-linked-picker {
  min-height: 284px;
  height: min(54vh, 520px);
  height: min(54dvh, 520px);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.period-year-list {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: #f8fbff;
}

.period-year-list button {
  min-height: 40px;
  border-radius: 12px;
  color: #41506a;
  background: #f2f5f9;
  font-weight: 800;
}

.period-year-list button.active {
  color: #fff;
  background: var(--blue);
}

.period-choice-panel {
  min-width: 0;
  min-height: 0;
  padding: 14px;
}

.period-linked-picker .period-choice-panel {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.period-choice-panel h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.period-choice-grid button {
  min-height: 40px;
  border-radius: 12px;
  color: #41506a;
  background: #f2f5f9;
  font-weight: 700;
}

.period-choice-grid button.active {
  color: #fff;
  background: var(--blue);
}

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

.annual-period-grid button {
  min-height: 42px;
  border-radius: 12px;
  color: #41506a;
  background: #f2f5f9;
  font-weight: 800;
}

.annual-period-grid button.active {
  color: #fff;
  background: var(--blue);
}

.period-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f8fbff;
  border-radius: 12px;
  font-size: 13px;
}

.filter-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.filter-empty .icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  color: #9eb8dc;
  background: #eaf4ff;
}

.filter-empty strong {
  color: var(--ink);
  font-size: 16px;
}

.filter-empty span {
  font-size: 13px;
}

.outline-btn {
  min-height: 54px;
  border-radius: 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.drawer-cancel {
  width: 100%;
  justify-content: center;
  min-height: 58px;
  margin-top: 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.current-period {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin: 8px auto 14px;
  padding: 0 14px;
  width: max-content;
  max-width: 100%;
  border-radius: 10px;
  background: #f7faff;
  border: 1px solid var(--line);
}

.current-period .icon {
  color: var(--blue);
}

.period-picker {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.period-years {
  display: grid;
  background: #f6f9fd;
}

.period-years button {
  min-height: 44px;
  color: var(--ink);
  background: transparent;
}

.period-years button.active {
  color: var(--blue);
  background: #eaf4ff;
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--blue);
}

.period-grid,
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px 14px 0;
}

.type-grid {
  padding: 12px 0 0;
}

.period-grid button,
.type-grid button {
  min-height: 42px;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.period-grid button.active,
.type-grid button.active {
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
  font-weight: 800;
}

.adjust-list {
  display: grid;
}

.adjust-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  gap: 12px;
  align-items: center;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.adjust-row span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.adjust-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.form-list {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  color: var(--muted);
  font-size: 14px;
}

.form-row input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 80;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 20px;
  color: #fff;
  background: rgba(22, 32, 51, 0.88);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Home and all-services mobile polish */
.topbar.brand {
  min-height: 156px;
  padding: 4px 16px 10px;
  background-image:
    linear-gradient(90deg, rgba(0, 60, 150, 0.18) 0%, rgba(0, 60, 150, 0.08) 45%, rgba(0, 60, 150, 0) 100%),
    url("assets/home-banner-new.png");
  background-size: 100% 100%, cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.topbar.brand::before {
  display: none;
}

.topbar.brand::after {
  display: none;
}

.brand-copy {
  margin-top: 4px;
}

.topbar.brand .brand-copy {
  z-index: 2;
  transform: translateY(-10px);
}

.brand-copy h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 34px;
  line-height: 1.08;
}

.brand-copy p {
  font-size: 15px;
}

.topbar.brand .brand-logo-mark {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar.brand .brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar.brand .skyline {
  display: none;
}

.skyline {
  right: 10px;
  bottom: 8px;
  width: 176px;
  height: 72px;
}

.skyline span {
  width: 13px;
}

.skyline span:nth-child(1) { left: 10px; height: 24px; }
.skyline span:nth-child(2) { left: 34px; height: 44px; }
.skyline span:nth-child(3) { left: 62px; height: 34px; }
.skyline span:nth-child(4) { left: 91px; height: 60px; }
.skyline span:nth-child(5) { left: 120px; height: 40px; }
.skyline span:nth-child(6) { left: 148px; height: 68px; }

.topbar.brand .nav-row {
  grid-template-columns: 1fr 0 auto;
  min-height: 32px;
}

.topbar.brand .nav-title {
  font-size: 0;
}

.topbar.brand .nav-actions {
  gap: 8px;
}

.topbar.brand .icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
}

.content.overlap {
  margin-top: -34px;
}

.home-page {
  padding-bottom: calc(46px + env(safe-area-inset-bottom));
}

.content.overlap > .search-pill {
  min-height: 52px;
  border-radius: 26px;
}

.hotwords {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 9px;
  padding: 12px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hotwords .chip {
  min-height: 34px;
  padding: 6px 13px;
  font-size: 14px;
  white-space: nowrap;
}

.section-head {
  margin: 24px 0 10px;
  gap: 12px;
}

.section-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 21px;
  line-height: 1.2;
}

.section-title::before {
  flex: 0 0 auto;
  height: 22px;
}

.section-head .link-btn {
  flex: 0 0 auto;
  min-width: 54px;
  justify-content: flex-end;
  color: #6d7b90;
  font-size: 14px;
  white-space: nowrap;
}

.section-head .link-btn .icon {
  width: 17px;
  height: 17px;
}

.home-service-list {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 77, 140, 0.09);
}

.home-service-card,
.home-service-card.compact {
  min-height: 78px;
  padding: 14px 16px;
  grid-template-columns: 50px minmax(0, 1fr) 22px;
  gap: 12px;
  border-radius: 0;
  box-shadow: none;
}

.home-service-card:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.home-service-card .badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.home-service-card .badge-icon .icon {
  width: 27px;
  height: 27px;
}

.home-service-card > .icon {
  width: 21px;
  height: 21px;
  color: #8b97aa;
}

.home-service-card .service-title {
  display: -webkit-box;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 800;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-service-card .service-desc {
  display: -webkit-box;
  color: #647893;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.mobile-footer-record {
  margin: 14px 0 10px;
  padding: 9px 8px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 16px;
  background: #f7faff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  color: #64748b;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.footer-cert-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
}

.footer-dzjg-logo {
  width: 28px;
  height: 34px;
  object-fit: contain;
}

.footer-jiucuo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 26px;
  overflow: hidden;
}

.footer-jiucuo-wrap img {
  width: auto;
  max-height: 24px;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 4px;
  row-gap: 2px;
  color: #64748b;
}

.footer-line a {
  max-width: 100%;
  color: #475569;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-divider {
  color: #cbd5e1;
}

.footer-security-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 2px;
  color: #64748b;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-security-icon {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.updates {
  border-radius: 16px;
}

.updates .update-row {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 32px;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
}

.updates .update-row > .tag {
  flex: 0 0 auto;
  align-self: start;
  margin-top: 3px;
}

.updates .update-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.updates .update-title {
  min-width: 0;
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.updates .update-title.is-marquee .update-title-text {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  animation: update-title-marquee var(--marquee-duration, 9s) ease-in-out infinite;
}

.updates .update-title-text {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.35;
}

.updates .update-date {
  color: #7d8798;
  font-size: 13px;
  line-height: 1.2;
  padding-left: 0;
}

.updates .update-arrow {
  grid-column: 3;
  justify-self: stretch;
  margin-left: auto;
  width: 32px;
  min-width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  color: #8b97aa;
}

.updates .update-arrow .icon {
  width: 21px;
  height: 21px;
}

.tag {
  flex: 0 0 auto;
  min-height: 24px;
  font-size: 12px;
}

.services-page {
  padding-bottom: 32px;
  background: #f4f7fb;
}

.services-topbar {
  min-height: 56px;
  padding: 2px 18px 4px;
}

.services-topbar .nav-row {
  min-height: 40px;
}

.services-content {
  padding: 14px 16px 18px;
}

.services-intro {
  margin-bottom: 12px;
}

.services-intro h2 {
  font-size: 25px;
  line-height: 1.24;
}

.services-intro p {
  margin-top: 6px;
  font-size: 15px;
}

.services-search {
  min-height: 50px;
  margin-bottom: 14px;
  border-radius: 25px;
}

.services-group {
  margin-top: 18px;
  padding: 16px;
  border-radius: 19px;
}

.services-group-head h3 {
  font-size: 23px;
}

.services-card {
  min-height: 142px;
  padding: 14px 30px 13px 14px;
  grid-template-rows: 50px minmax(0, 1fr);
  gap: 9px;
  border-radius: 15px;
}

.services-card .badge-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
}

.services-card .badge-icon .icon {
  width: 27px;
  height: 27px;
}

.services-card-copy {
  min-width: 0;
}

.services-card-copy strong {
  display: -webkit-box;
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.services-card-copy em {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.services-card-arrow {
  right: 9px;
  width: 19px;
  height: 19px;
}

.services-card-arrow .icon {
  width: 19px;
  height: 19px;
}

.bottom-tab .icon {
  width: 27px;
  height: 27px;
}

@media (max-width: 360px) {
  .content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-grid,
  .asset-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .mine-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mine-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mine-asset-card {
    padding: 14px;
    height: 136px;
  }

  .asset-icon {
    width: 46px;
    height: 46px;
  }

  .asset-card-main {
    gap: 10px;
  }

  .asset-title {
    font-size: 17px;
  }

  .asset-count {
    font-size: 27px;
  }

  .nav-row {
    grid-template-columns: 64px 1fr 64px;
  }

  .article-card h3 {
    font-size: 18px;
  }

  .services-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .services-group {
    padding: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .services-card {
    min-height: 136px;
    padding: 12px 28px 12px 12px;
  }

  .services-card-copy strong {
    font-size: 17px;
  }

  .services-card-copy em {
    font-size: 13px;
  }
}

/* Density tuning */
.content,
.services-content,
.sub-manage-content,
.mine-content {
  padding-left: 16px;
  padding-right: 16px;
}

.content {
  padding-top: 12px;
  padding-bottom: 16px;
}

.page.no-tab {
  padding-bottom: 22px;
}

.list-card,
.plain-card,
.article-card {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.section-head,
.mine-page .section-head {
  margin: 14px 0 10px;
}

.section-title,
.mine-page .section-title {
  font-size: 20px;
  line-height: 1.2;
}

.search-pill {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 24px;
}

.content.overlap > .search-pill {
  min-height: 52px;
  border-radius: 26px;
}

.page-search,
.yearbook-search,
.services-search,
.metric-search-pill {
  min-height: 46px;
}

.page-search {
  margin-top: 0;
}

.services-search,
.yearbook-search {
  margin-bottom: 10px;
}

.metric-search-wrap {
  margin-bottom: 0;
}

.tabs {
  min-height: 46px;
}

.tab {
  min-height: 46px;
  padding: 0 14px;
  font-size: 15px;
}

.tab.active::after {
  left: 16px;
  right: 16px;
  height: 3px;
}

.metric-select-tabs {
  margin-top: 10px;
}

.metric-toolbar {
  margin-top: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.list-toolbar {
  margin-top: 0;
}

.filter-row {
  margin-top: 10px;
}

.segmented {
  border-radius: 16px;
}

.segmented button {
  min-height: 40px;
  border-radius: 13px;
}

.article-list,
.yearbook-report-list,
.sub-group-list {
  gap: 12px;
}

.article-card {
  padding: 16px 48px 16px 16px;
}

.article-card h3 {
  margin: 8px 0 6px;
  font-size: 19px;
  line-height: 1.24;
}

.summary {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.48;
}

.meta {
  gap: 6px 12px;
  font-size: 13.5px;
  line-height: 1.4;
}

.tag {
  min-height: 24px;
  padding: 2px 8px;
}

.article-card .star {
  top: 14px;
  right: 14px;
}

.article-card.progress-list-card {
  padding: 16px 48px 16px 16px;
}

.article-card.progress-list-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.26;
}

.article-card.progress-list-card .star {
  top: 14px;
  right: 14px;
}

.progress-date-meta {
  margin-bottom: 8px;
  font-size: 14px;
}

.progress-card-link {
  padding-right: 10px;
}

.result-count {
  margin: 10px 2px 10px;
}

.active-filters {
  gap: 8px;
  padding-top: 10px;
}

.list-active-filters {
  padding-bottom: 8px;
}

.filter-btn,
.sort-trigger,
.link-btn,
.chip,
.sub-option,
.sms-card button {
  min-height: 34px;
}

.chip {
  padding: 6px 12px;
}

.hotwords,
.chips {
  gap: 8px;
  padding-top: 10px;
}

.home-service-list {
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.home-service-card,
.home-service-card.compact {
  min-height: 72px;
  padding: 12px 14px;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  gap: 12px;
}

.home-service-card .badge-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.home-service-card .service-title {
  font-size: 17px;
}

.updates {
  border-radius: 14px;
}

.update-row {
  min-height: 56px;
  padding: 8px 12px;
}

.services-group {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.services-grid {
  gap: 10px;
}

.services-card {
  min-height: 124px;
  padding: 12px 28px 12px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.services-card .badge-icon {
  width: 46px;
  height: 46px;
}

.services-card-copy strong {
  font-size: 17px;
}

.query-card {
  gap: 10px;
}

.compare-switch {
  min-height: 58px;
  margin-bottom: 10px;
  border-radius: 16px;
}

.compare-switch button {
  min-height: 48px;
  border-radius: 13px;
}

.query-option {
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 12px;
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 14px;
}

.query-option .badge-icon {
  width: 46px;
  height: 46px;
}

.query-option strong {
  font-size: 18px;
}

.query-option span span {
  margin-top: 4px;
  font-size: 14px;
}

.info-card {
  padding: 16px;
  margin-bottom: 12px;
}

.info-card .section-head {
  margin-bottom: 10px !important;
}

.recent-query-row {
  min-height: 56px;
  padding: 10px 14px;
  grid-template-columns: auto minmax(0, 1fr) 20px;
}

.fixed-action {
  bottom: calc(12px + env(safe-area-inset-bottom));
  margin-top: 12px;
}

.primary-btn,
.outline-btn,
.danger-btn {
  min-height: 50px;
  border-radius: 16px;
  font-size: 17px;
}

.drawer-actions .primary-btn,
.drawer-actions .outline-btn,
.metric-filter-actions .outline-btn,
.metric-filter-actions .primary-btn {
  min-height: 48px;
  border-radius: 14px;
}

.select-panel {
  margin-top: 10px;
}

.select-row {
  min-height: 62px;
  padding: 10px 14px;
}

.metric-select-page {
  height: calc(100vh - 100px);
}

@supports (height: 100dvh) {
  .metric-select-page {
    height: calc(100dvh - 100px);
  }
}

.metric-select-shell .selected-bar {
  padding: 12px 16px calc(10px + env(safe-area-inset-bottom));
}

.metric-selected-strip {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
}

.selected-chips,
.path-chips {
  gap: 8px;
  margin-top: 8px;
}

.selected-chips span,
.path-chips span {
  min-height: 32px;
  padding: 5px 10px;
}

.metric-breadcrumb {
  min-height: 34px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.metric-list-panel {
  margin-top: 8px;
  border-radius: 12px;
}

.metric-select-row {
  min-height: 66px;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  gap: 10px;
  padding: 10px 14px;
}

.metric-select-row .badge-icon.mini {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.metric-select-row .check {
  width: 26px;
  height: 26px;
}

.metric-list-scroll {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.metric-select-notice {
  margin-top: 8px;
}

.yb-report-main {
  min-height: 66px;
  padding: 12px 16px;
}

.yearbook-head {
  gap: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.pdf-card {
  min-height: 96px;
  grid-template-columns: 104px minmax(0, 1fr) 38px;
}

.year-tile {
  height: 96px;
  font-size: 32px;
}

.detail-article {
  padding: 16px;
  line-height: 1.66;
}

.detail-article h1,
.info-card h2 {
  font-size: 22px;
}

.notice,
.sms-card {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.sub-manage-content {
  padding-top: 14px;
  padding-bottom: 18px;
}

.sub-manage-hero {
  margin: 0 0 14px;
}

.sub-manage-hero h1 {
  font-size: 26px;
}

.sub-summary-card,
.sub-option-card {
  padding: 16px;
  border-radius: 12px;
}

.sub-selected-tags {
  gap: 10px;
  margin-top: 12px;
}

.sub-sms-panel {
  margin: 12px 0 18px;
  padding: 14px;
  border-radius: 12px;
}

.sub-section-title {
  margin-bottom: 12px;
  font-size: 20px;
}

.sub-option-head {
  margin-bottom: 12px;
}

.sub-option-grid {
  gap: 10px;
}

.mine-content {
  padding-bottom: 16px;
}

.mine-card {
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mine-page .section-head {
  margin-top: 16px;
}

.mine-asset-grid {
  gap: 10px;
}

.mine-asset-card {
  height: 128px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.asset-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.asset-count {
  font-size: 26px;
}

.mine-support-panel {
  margin-top: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.mine-support-row {
  min-height: 58px;
}

.about-hero-card {
  min-height: 104px;
  padding: 16px;
  gap: 14px;
  border-radius: 14px;
}

.about-section-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
}

@media (max-width: 360px) {
  .content,
  .services-content,
  .sub-manage-content,
  .mine-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .metric-list-scroll {
    margin-left: -14px;
    margin-right: -14px;
  }

  .metric-breadcrumb {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

.article-card.metric-card {
  padding: 0;
}

.article-card.metric-card .star {
  top: 7px;
  right: 8px;
  width: 30px;
  height: 30px;
}

.article-card.metric-card .metric-card-body {
  min-height: 92px;
  padding: 8px 34px 2px 10px;
}

.article-card.metric-card .metric-meta-row {
  gap: 6px;
  font-size: 12.5px;
}

.article-card.metric-card .metric-meta-row .tag {
  min-height: 20px;
  padding: 1px 6px;
  font-size: 12px;
}

.article-card.metric-card .metric-meta-row .icon {
  width: 13px;
  height: 13px;
}

.article-card.metric-card .metric-title-link {
  margin: 5px 0 1px;
  font-size: 17px;
  line-height: 1.18;
}

.article-card.metric-card .metric-value {
  font-size: 28px;
  line-height: 1;
}

.article-card.metric-card .metric-value small {
  margin-left: 4px;
  font-size: 13px;
}

.article-card.metric-card .related-report-link {
  width: calc(100% - 20px);
  min-height: 30px;
  margin: 0 10px;
  padding: 6px 0 7px;
}
