.mobile-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 480px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 50%, #f6f7fb 100%);
}

.phone-frame {
  width: 390px;
  height: 844px;
  overflow: hidden;
  justify-self: center;
  border: 10px solid #111827;
  border-radius: 42px;
  background: #f5f7fa;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.phone-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 0;
  background: #f5f7fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.mobile-navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-navbar h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 600;
}

.mobile-nav-left,
.mobile-nav-right {
  position: absolute;
  top: 8px;
}

.mobile-nav-left {
  left: 10px;
}

.mobile-nav-right {
  right: 10px;
}

.mobile-content {
  padding: 16px;
}

#app.route-entered .mobile-content {
  animation: routeContentIn 0.18s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  #app.route-entered .mobile-content {
    animation: none;
  }
}

.mobile-hero {
  position: relative;
  overflow: hidden;
  margin: -16px -16px 16px;
  padding: 22px 18px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f3b70 0%, #1e63ad 54%, #2563eb 100%);
}

.mobile-hero::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -44px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.mobile-hero h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.mobile-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.mobile-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.mobile-hero-actions button {
  flex: 1;
  min-height: 38px;
  color: #0f3b70;
  background: #ffffff;
  box-shadow: none;
}

.mobile-card {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #ffffff;
}

.mobile-card h3 {
  margin: 0 0 12px;
  color: #1a1a1a;
  font-size: 15px;
}

.mobile-filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-filter-form label {
  display: grid;
  gap: 5px;
}

.mobile-filter-form span {
  color: #999999;
  font-size: 11px;
}

.mobile-filter-form input {
  min-height: 36px;
  border-radius: 9px;
  padding: 7px 9px;
  font-size: 12px;
}

.mobile-filter-form button {
  grid-column: 1 / -1;
}

.mobile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mobile-stat {
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.mobile-stat p {
  margin: 0 0 6px;
  color: #999999;
  font-size: 12px;
}

.mobile-stat strong {
  color: #1a1a1a;
  font-size: 22px;
}

.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile-menu-grid button {
  min-height: 62px;
  flex-direction: column;
  gap: 5px;
  color: #333333;
  background: #ffffff;
  box-shadow: none;
  padding: 5px 3px;
  font-size: 12px;
}

.mobile-menu-grid button > svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.mobile-menu-grid button:nth-child(2) > svg,
.mobile-menu-grid button:nth-child(6) > svg {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
}

.mobile-menu-grid button:nth-child(3) > svg,
.mobile-menu-grid button:nth-child(7) > svg {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.mobile-menu-grid button:nth-child(4) > svg,
.mobile-menu-grid button:nth-child(8) > svg {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
}

.mobile-menu-grid i,
.analysis-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.mobile-menu-grid i svg,
.analysis-card svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.compact-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-action-list button {
  min-height: 36px;
  justify-content: flex-start;
  box-shadow: none;
}

.compact-action-list svg {
  width: 16px;
  height: 16px;
}

.mobile-list {
  display: grid;
  gap: 10px;
}

.mobile-list-item {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #ffffff;
}

.mobile-list-item.active {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
}

.mobile-list-item.empty-state {
  place-items: center;
  min-height: 72px;
  color: #999999;
  border-style: dashed;
}

.mobile-list-item header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mobile-list-item b {
  color: #1a1a1a;
}

.mobile-list-item p {
  margin: 0;
  color: #777777;
  font-size: 12px;
  line-height: 1.6;
}

.mobile-bottom-tabs {
  position: sticky;
  bottom: 0;
  z-index: 90;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #f0f0f0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.mobile-bottom-tabs button {
  min-height: 64px;
  flex-direction: column;
  gap: 3px;
  padding: 5px 0;
  color: #999999;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 11px;
}

.mobile-bottom-tabs button.active {
  color: #2563eb;
}

.analysis-sections {
  display: grid;
  gap: 18px;
}

.analysis-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.analysis-section-header i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #2563eb;
  background: #e0ebff;
}

.analysis-sections section:nth-child(2) .analysis-section-header i {
  color: #22c55e;
  background: #dcfce7;
}

.analysis-sections section:nth-child(3) .analysis-section-header i {
  color: #f97316;
  background: #ffedd5;
}

.analysis-sections section:nth-child(4) .analysis-section-header i {
  color: #9333ea;
  background: #f3e8ff;
}

.analysis-sections section:nth-child(5) .analysis-section-header i {
  color: #06b6d4;
  background: #cffafe;
}

.analysis-section-header svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.analysis-section-header h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 15px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.analysis-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  color: #1a1a1a;
  background: #ffffff;
  box-shadow: none;
  text-align: left;
  white-space: normal;
}

.analysis-card strong {
  font-size: 14px;
}

.analysis-sections section:nth-child(2) .analysis-card i {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
}

.analysis-sections section:nth-child(3) .analysis-card i {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.analysis-sections section:nth-child(4) .analysis-card i {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 100%);
}

.analysis-sections section:nth-child(5) .analysis-card i {
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.analysis-detail-tip {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 12px;
  line-height: 1.5;
}

.analysis-detail-tip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  fill: currentColor;
}

.payment-analysis-detail {
  background: #f5f7fa;
  padding-bottom: 20px;
}

.payment-tip-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  color: #2563eb;
  background: #eff6ff;
}

.payment-tip-bar svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  fill: currentColor;
}

.payment-tip-bar p {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.5;
}

.payment-analysis-detail.shipment .payment-tip-bar {
  color: #22c55e;
  background: #f0fdf4;
}

.payment-content {
  padding: 0 16px;
}

.quad-stats-card,
.score-chart-card,
.monthly-card {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
}

.quad-stats-card {
  margin-top: 0;
}

.quad-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quad-stat-item {
  padding: 12px 0;
  text-align: center;
}

.quad-stat-item span {
  display: block;
  margin-bottom: 8px;
  color: #999999;
  font-size: 13px;
}

.quad-stat-item strong {
  display: block;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 1.1;
}

.quad-stat-item small {
  margin-left: 2px;
  color: #666666;
  font-size: 14px;
}

.quad-stat-item em {
  display: block;
  margin-top: 4px;
  color: #22c55e;
  font-size: 11px;
  font-style: normal;
}

.score-analysis-section {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.score-analysis-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.score-analysis-title svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.payment-analysis-detail.shipment .score-analysis-title,
.payment-analysis-detail.shipment .highlight {
  color: #22c55e;
}

.payment-analysis-detail.shipment .highlight.neutral {
  color: #f59e0b;
}

.score-analysis-list {
  display: grid;
  gap: 6px;
}

.score-analysis-item {
  color: #666666;
  font-size: 12px;
  line-height: 1.55;
}

.highlight {
  color: #2563eb;
  font-weight: 700;
}

.highlight.positive {
  color: #22c55e;
}

.highlight.neutral {
  color: #f59e0b;
}

.score-chart-card h3,
.monthly-card h3 {
  margin: 0 0 16px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
}

.score-chart-container {
  height: 200px;
}

.score-chart-container svg {
  width: 100%;
  height: 100%;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666666;
  font-size: 12px;
}

.chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.monthly-list {
  display: grid;
  gap: 12px;
}

.monthly-item {
  padding: 14px;
  border-radius: 10px;
  background: #f9fafb;
}

.monthly-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.monthly-month {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
}

.monthly-total {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #1a1a1a;
}

.monthly-total strong {
  font-size: 20px;
}

.monthly-total span {
  font-size: 13px;
}

.monthly-detail {
  display: grid;
  gap: 8px;
}

.monthly-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.monthly-row span {
  color: #666666;
  font-size: 13px;
}

.monthly-row b {
  font-size: 13px;
  font-weight: 500;
}

.monthly-row b.up {
  color: #22c55e;
}

.monthly-row b.down {
  color: #ff4d4f;
}

.monthly-breakdown {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
}

.breakdown-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.breakdown-item span {
  color: #666666;
  font-size: 12px;
}

.breakdown-item b {
  color: #1a1a1a;
  font-size: 12px;
}

.breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.breakdown-dot.jishida {
  background: #2563eb;
}

.payment-analysis-detail.shipment .breakdown-dot.jishida {
  background: #22c55e;
}

.breakdown-dot.yufu {
  background: #8b5cf6;
}

.product-score-detail {
  padding-bottom: 18px;
  background: #f5f7fa;
}

.product-score-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  color: #2563eb;
  background: #eff6ff;
}

.product-score-detail.shipment .product-score-tip {
  color: #06b6d4;
  background: #ecfeff;
}

.product-score-tip svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  fill: currentColor;
}

.product-score-tip p {
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.5;
}

.product-score-content {
  display: grid;
  gap: 12px;
  padding: 12px 16px 0;
}

.product-score-years {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-score-years button {
  min-width: max-content;
  min-height: 34px;
  border: 0;
  border-radius: 17px;
  padding: 0 14px;
  color: #666666;
  background: #ffffff;
  box-shadow: none;
  font-size: 13px;
}

.product-score-years button.active {
  color: #ffffff;
  background: #2563eb;
}

.product-score-detail.shipment .product-score-years button.active {
  background: #06b6d4;
}

.product-score-total,
.product-score-chart-card,
.product-score-card {
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
}

.product-score-total header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.product-score-total h3,
.product-score-chart-card h3,
.product-score-card h3 {
  margin: 0;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
}

.product-score-total header span {
  border-radius: 4px;
  padding: 3px 8px;
  color: #16a34a;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 600;
}

.product-score-total > div:first-of-type {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-score-total > div:first-of-type strong {
  color: #1a1a1a;
  font-size: 32px;
  line-height: 1.15;
}

.product-score-total > div:first-of-type em {
  color: #666666;
  font-size: 14px;
  font-style: normal;
}

.product-score-total p {
  margin: 8px 0 14px;
  color: #666666;
  font-size: 12px;
}

.product-score-total p b {
  color: #16a34a;
}

.product-score-type-stats,
.product-score-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-score-type-stats article,
.product-score-breakdown > div {
  padding: 12px;
  border-radius: 8px;
  background: #f9fafb;
}

.product-score-type-stats span,
.product-score-breakdown span {
  display: block;
  margin-bottom: 6px;
  color: #999999;
  font-size: 12px;
}

.product-score-type-stats b,
.product-score-breakdown b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.product-score-type-stats em,
.product-score-breakdown em {
  color: #666666;
  font-size: 11px;
  font-style: normal;
}

.product-score-type-stats .instant b,
.product-score-breakdown .instant b {
  color: #2563eb;
}

.product-score-detail.shipment .product-score-type-stats .instant b,
.product-score-detail.shipment .product-score-breakdown .instant b {
  color: #06b6d4;
}

.product-score-type-stats .prepay b,
.product-score-breakdown .prepay b {
  color: #9333ea;
}

.product-score-chart-container {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.product-score-pie {
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
}

.product-score-pie text {
  transform: rotate(90deg);
  transform-origin: 50px 50px;
}

.product-score-legend {
  display: grid;
  gap: 7px;
}

.product-score-legend div {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.product-score-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-score-legend span,
.product-score-legend b {
  overflow: hidden;
  color: #666666;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-score-legend b {
  color: #1a1a1a;
  font-weight: 600;
}

.product-score-card header {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-score-card header h3 {
  overflow: hidden;
  margin-bottom: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-score-rank {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.product-score-rank.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.product-score-rank.silver {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.product-score-rank.bronze {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.product-score-rank.normal {
  color: #6b7280;
  background: #e5e7eb;
}

.product-score-card header em {
  display: inline-flex;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.product-score-card header em.growth {
  color: #16a34a;
  background: #dcfce7;
}

.product-score-card header em.decline {
  color: #dc2626;
  background: #fee2e2;
}

.product-score-card header em.stable {
  color: #0284c7;
  background: #f0f9ff;
}

.product-score-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.product-score-main strong {
  font-size: 24px;
  line-height: 1;
}

.product-score-main span {
  color: #666666;
  font-size: 13px;
}

.product-score-main b {
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
}

.product-score-main b.up,
.product-score-stats b.up {
  color: #16a34a;
}

.product-score-main b.up {
  background: #dcfce7;
}

.product-score-main b.down,
.product-score-stats b.down {
  color: #dc2626;
}

.product-score-main b.down {
  background: #fee2e2;
}

.product-score-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.product-score-stats div {
  min-width: 0;
  text-align: center;
}

.product-score-stats span {
  display: block;
  margin-bottom: 5px;
  color: #999999;
  font-size: 11px;
}

.product-score-stats b {
  display: block;
  color: #1a1a1a;
  font-size: 15px;
}

.product-score-stats small {
  display: block;
  margin-top: 4px;
  color: #999999;
  font-size: 10px;
  line-height: 1.35;
}

.product-score-stats small i:first-child {
  color: #2563eb;
}

.product-score-detail.shipment .product-score-stats small i:first-child {
  color: #06b6d4;
}

.product-score-stats small i:last-child {
  color: #9333ea;
}

.product-score-breakdown {
  margin: 12px 0;
}

.product-score-mini {
  margin-bottom: 12px;
}

.product-score-mini p {
  margin: 0 0 8px;
  color: #666666;
  font-size: 12px;
}

.product-score-mini svg {
  width: 100%;
  height: 90px;
}

.product-score-mini > div {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.product-score-mini > div span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #666666;
  font-size: 10px;
}

.product-score-mini > div i {
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

.product-score-mini > div i.dashed {
  background: #94a3b8;
  border-top: 1px dashed #94a3b8;
}

.product-score-ai {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fffbeb;
}

.product-score-detail.shipment .product-score-ai {
  background: #f0fdf4;
}

.product-score-ai b {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #92400e;
  font-size: 12px;
}

.product-score-detail.shipment .product-score-ai b {
  color: #166534;
}

.product-score-ai svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.product-score-ai p {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #78350f;
  font-size: 12px;
  line-height: 1.5;
}

.product-score-detail.shipment .product-score-ai p {
  color: #14532d;
}

.product-score-ai p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f59e0b;
}

.product-score-detail.shipment .product-score-ai p::before {
  background: #22c55e;
}

.product-score-ai p span {
  color: #92400e;
  font-weight: 700;
}

.product-score-detail.shipment .product-score-ai p span {
  color: #166534;
}

.product-score-ai p span.positive {
  color: #16a34a;
}

.product-score-ai p span.negative {
  color: #dc2626;
}

.product-score-ai p span.neutral {
  color: #2563eb;
}

.product-score-detail.shipment .product-score-ai p span.neutral {
  color: #06b6d4;
}

button.product-score-detail-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  color: #2563eb;
  background: #f5f7fa;
  box-shadow: none;
  font-size: 13px;
}

.product-score-detail.shipment button.product-score-detail-btn {
  color: #06b6d4;
}

.repurchase-detail {
  padding: 0 14px 16px;
  background: #f5f7fa;
}

.repurchase-rule {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 -14px 12px;
  padding: 10px 16px;
  color: #ec4899;
  background: #fff1fb;
  font-size: 12px;
  line-height: 1.55;
}

.repurchase-rule svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 2px;
  fill: currentColor;
}

.repurchase-summary,
.repurchase-product-card {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
}

.repurchase-summary header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.repurchase-summary h3 {
  margin: 0;
  font-size: 15px;
}

.repurchase-summary header span,
.repurchase-rate em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #16a34a;
  background: #dcfce7;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.repurchase-summary > strong {
  display: block;
  margin-top: 16px;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.repurchase-summary small,
.repurchase-rate small {
  margin-left: 3px;
  font-size: 14px;
}

.repurchase-summary p {
  margin: 10px 0 12px;
  color: #8b96a8;
  font-size: 12px;
}

.repurchase-summary p b {
  color: #16a34a;
}

.repurchase-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.repurchase-split div,
.repurchase-mini-stats div {
  display: grid;
  gap: 3px;
}

.repurchase-split span,
.repurchase-mini-stats span {
  color: #8b96a8;
  font-size: 11px;
}

.repurchase-split b {
  color: #ec4899;
  font-size: 16px;
}

.repurchase-split div:last-child b {
  color: #f97316;
}

.repurchase-split em {
  color: #64748b;
  font-size: 11px;
  font-style: normal;
}

.repurchase-analysis-box {
  padding: 10px;
  border-radius: 8px;
  color: #ec4899;
  background: #fff1fb;
}

.repurchase-analysis-box b {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 12px;
}

.repurchase-analysis-box svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.repurchase-analysis-box ul {
  margin: 6px 0 0;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.65;
}

.repurchase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.repurchase-tabs button {
  min-height: 34px;
  border-radius: 8px;
  color: #64748b;
  background: #ffffff;
  box-shadow: none;
  padding: 0 6px;
  font-size: 12px;
}

.repurchase-tabs button.active {
  color: #ec4899;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(236, 72, 153, 0.10);
}

.repurchase-product-list {
  display: grid;
  gap: 12px;
}

.repurchase-product-card header {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.repurchase-product-card header b {
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repurchase-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #f59e0b;
  font-size: 12px;
  font-weight: 800;
}

.repurchase-product-card:nth-child(2) .repurchase-rank {
  background: #94a3b8;
}

.repurchase-product-card:nth-child(3) .repurchase-rank {
  background: #f97316;
}

.repurchase-rank.muted-rank {
  color: #64748b;
  background: #e2e8f0;
}

.repurchase-rate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 12px;
  border-radius: 8px;
  background: #fff1fb;
}

.repurchase-rate span {
  color: #8b96a8;
  font-size: 12px;
}

.repurchase-rate strong {
  color: #ec4899;
  font-size: 28px;
  line-height: 1;
}

.repurchase-rate.warn em {
  color: #ef4444;
  background: #fee2e2;
}

.repurchase-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.repurchase-mini-stats div {
  padding: 8px 4px;
  border-radius: 7px;
  background: #f8fafc;
  text-align: center;
}

.repurchase-mini-stats b {
  color: #111827;
  font-size: 13px;
}

button.repurchase-link {
  width: 100%;
  min-height: 34px;
  margin-bottom: 10px;
  color: #ec4899;
  background: #f8fafc;
  box-shadow: none;
}

.mobile-rank {
  display: grid;
  gap: 10px;
}

.mobile-rank-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: #f8fafc;
}

.mobile-rank-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #2563eb;
  font-weight: 700;
  font-size: 12px;
}

.workflow-page {
  padding-bottom: 96px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: start;
  margin: -4px -16px 12px;
  padding: 16px 20px 18px;
  border-bottom: 1px solid #f0f0f0;
  background: #ffffff;
}

.workflow-step {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #999999;
  font-size: 12px;
}

.workflow-step span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: #999999;
  font-weight: 700;
}

.workflow-step.active {
  color: #2563eb;
}

.workflow-step.active span {
  color: #ffffff;
  background: #2563eb;
}

.workflow-step.completed {
  color: #22c55e;
}

.workflow-step.completed span {
  color: #ffffff;
  background: #22c55e;
}

.workflow-steps > i {
  height: 2px;
  margin-top: 14px;
  border-radius: 99px;
  background: #e5e7eb;
}

.workflow-customer-bar {
  display: grid;
  grid-template-columns: 18px auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  margin: -4px 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 12px;
}

.workflow-customer-bar svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.workflow-customer-bar b {
  overflow: hidden;
  color: #1d4ed8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-form {
  display: grid;
  gap: 12px;
}

.workflow-form label {
  display: grid;
  gap: 6px;
}

.workflow-form label span {
  color: #666666;
  font-size: 12px;
  font-weight: 600;
}

.workflow-form textarea,
.workflow-submit-form textarea {
  min-height: 72px;
  font-size: 13px;
}

.mobile-fixed-action {
  position: sticky;
  bottom: 0;
  z-index: 95;
  display: grid;
  gap: 9px;
  padding: 12px 16px 22px;
  border-top: 1px solid #f0f0f0;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-fixed-action button {
  width: 100%;
  min-height: 50px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
}

.selected-count {
  color: #334155;
  font-size: 13px;
}

.selected-count b {
  color: #2563eb;
}

.order-pick-form {
  margin: 0 -16px;
}

.order-pick-list {
  display: grid;
  gap: 9px;
  padding: 9px 16px 14px;
}

.order-pick-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 88px;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
}

.order-pick-item.active .order-check {
  color: #2563eb;
  border-color: #cbd5e1;
}

.order-check {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #cbd5e1;
  background: #f1f5f9;
  font-weight: 800;
}

.order-check::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid #d4d4d8;
  border-radius: 2px;
}

.order-pick-item.active .order-check::before {
  content: none;
}

.order-pick-info {
  display: grid;
  gap: 3px;
}

.order-pick-info b {
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-pick-info span {
  color: #64748b;
  font-size: 12px;
}

.order-pick-info em {
  color: #f97316;
  font-size: 12px;
  font-style: normal;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 28px 32px 28px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #ffffff;
}

.qty-stepper button,
.qty-stepper strong {
  min-width: 0;
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 0;
  color: #64748b;
  background: #f7f7f7;
  box-shadow: none;
  font-size: 14px;
}

.qty-stepper strong {
  color: #111827;
  background: #ffffff;
  border-right: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
}

.open-account-card {
  margin-top: 24px;
  padding: 20px 16px;
}

.open-account-card label {
  display: grid;
  gap: 12px;
}

.open-account-card label > span {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.phone-input-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 0 14px;
  background: #ffffff;
}

.phone-input-row b {
  margin-right: 8px;
  color: #111827;
  font-weight: 500;
}

.phone-input-row input {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
}

.open-account-notice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff7e6;
}

.open-account-notice i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: #ffffff;
  background: #fa8c16;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.open-account-notice p {
  margin: 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.6;
}

.open-account-notice b {
  color: #fa8c16;
}

.workflow-submit-form {
  display: grid;
  gap: 10px;
}

.workflow-note {
  margin: 0;
  color: #777777;
  font-size: 13px;
  line-height: 1.7;
}

.product-line p {
  line-height: 1.5;
}

.confirm-card,
.price-card {
  display: grid;
  gap: 10px;
}

.confirm-row,
.price-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #777777;
  font-size: 13px;
}

.confirm-row b,
.price-card b {
  max-width: 210px;
  color: #1a1a1a;
  text-align: right;
}

.price-card .total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.price-card strong {
  color: #ef4444;
  font-size: 20px;
}

.result-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 18px;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.result-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #22c55e;
}

.result-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.result-card h2 {
  margin: 0;
  font-size: 20px;
}

.result-card p {
  margin: 0;
  color: #777777;
  font-size: 13px;
  line-height: 1.7;
}

.result-box {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.result-box span {
  color: #999999;
  font-size: 12px;
}

.workflow-tabs {
  display: flex;
  gap: 8px;
  margin: -4px -16px 12px;
  padding: 12px 16px;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.workflow-tabs span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #666666;
  background: #f5f7fa;
  font-size: 13px;
}

.workflow-tabs span.active {
  color: #ffffff;
  background: #2563eb;
}

.workflow-tabs b {
  margin-left: 3px;
}

.score-breakdown-card {
  margin-top: -4px;
}

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

.score-breakdown-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #f8fafc;
}

.score-breakdown-grid article.active {
  border-color: rgba(37, 99, 235, 0.35);
  background: #eff6ff;
}

.score-breakdown-grid article.danger {
  border-color: rgba(239, 68, 68, 0.26);
  background: #fff1f2;
}

.score-breakdown-grid span,
.score-breakdown-grid em {
  color: #777777;
  font-size: 11px;
}

.score-breakdown-grid b {
  color: #1a1a1a;
  font-size: 18px;
}

.after-sale-inline-card .workflow-form {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.compact-after-sale-form button {
  margin-top: 2px;
}

.compact-task-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.compact-task-form select {
  min-height: 42px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  padding: 10px 12px;
  color: #111827;
  background: #ffffff;
  font-size: 14px;
}

.refund-focused-card {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.ranking-hero,
.course-hero {
  margin-bottom: 12px;
  padding: 18px 16px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.ranking-hero.green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.ranking-hero h3,
.ranking-hero p,
.course-hero h3,
.course-hero p {
  margin: 0;
}

.ranking-hero p,
.course-hero p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.6;
}

.rank-no {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  color: #ffffff;
  background: #94a3b8;
  font-size: 12px;
}

.product-rank-row.top .rank-no {
  background: #f59e0b;
}

.rank-metrics {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.rank-metrics span {
  padding: 7px;
  border-radius: 8px;
  background: #f8fafc;
}

.rank-metrics b {
  color: #2563eb;
}

.material-filter-bar,
.product-filter-bar {
  display: flex;
  gap: 8px;
  margin: -4px -16px 12px;
  padding: 12px 16px;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.material-filter-bar span,
.product-filter-bar span {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #64748b;
  background: #f5f7fa;
  font-size: 13px;
}

.material-filter-bar span.active,
.product-filter-bar span.active {
  color: #ffffff;
  background: #2563eb;
}

.article-detail-page h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
}

.article-detail-page p {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.article-meta {
  margin-top: 0;
  color: #94a3b8 !important;
  font-size: 12px !important;
}

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

.qualification-head {
  margin-bottom: 12px;
  padding: 18px 16px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e 0%, #0f9f8f 100%);
}

.qualification-head h3,
.qualification-head p {
  margin: 0;
}

.qualification-head p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

.course-row {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
}

.course-row > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #2563eb;
  background: #eff6ff;
  font-style: normal;
  font-weight: 700;
}

.course-row .toolbar {
  grid-column: 1 / -1;
}

.course-player {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 30px 16px;
  border-radius: 14px;
  color: #ffffff;
  background: #0f172a;
  text-align: center;
}

.play-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: #ffffff;
  font-size: 24px;
}

.course-player h3,
.course-player p {
  margin: 0;
}

.product-cover {
  height: 148px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  font-size: 36px;
  font-weight: 800;
}

.refund-hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff8a00 0%, #d99000 100%);
}

.refund-hero h3,
.refund-hero p {
  margin: 0;
}

.refund-hero h3 {
  font-size: 17px;
}

.refund-hero p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.refund-hero span {
  flex: 0 0 auto;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

.refund-card {
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
}

.refund-card h3 {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 14px;
  color: #111827;
  font-size: 15px;
}

.refund-card h3 svg {
  width: 16px;
  height: 16px;
  color: #ef4444;
  fill: currentColor;
}

.refund-kv {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  min-height: 36px;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.refund-kv span {
  color: #8b96a8;
}

.refund-kv b {
  color: #111827;
  font-weight: 500;
}

.refund-kv em {
  margin-left: 8px;
  border-radius: 4px;
  padding: 3px 6px;
  color: #2563eb;
  background: #eaf2ff;
  font-style: normal;
}

.refund-reason {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #fff1f2;
}

.refund-reason span,
.voucher-row > span,
.refund-score > span {
  display: block;
  margin-bottom: 8px;
  color: #ef4444;
  font-size: 12px;
}

.refund-reason p {
  margin: 0;
  color: #7f1d1d;
  font-size: 13px;
  line-height: 1.6;
}

.voucher-row {
  margin-top: 12px;
}

.voucher-row div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.voucher-row i {
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #9ca3af;
  background: #d8d8d8;
  font-size: 11px;
  font-style: normal;
}

.refund-products article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.refund-products i {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 6px;
  background: #f1f5f9;
}

.refund-products b,
.refund-products span {
  display: block;
}

.refund-products b {
  color: #111827;
  font-size: 14px;
}

.refund-products span {
  margin-top: 3px;
  color: #8b96a8;
  font-size: 12px;
}

.refund-products strong,
.refund-total b,
.refund-score b {
  color: #ef4444;
}

.refund-total {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 0 10px;
  color: #64748b;
  font-size: 13px;
}

.refund-score {
  padding: 12px;
  border-radius: 8px;
  background: #fff7e6;
}

.refund-score p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 0;
  font-size: 13px;
}

.refund-score em {
  color: #7c2d12;
  font-style: normal;
}

.refund-flow {
  display: grid;
}

.refund-flow article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-height: 56px;
  color: #9ca3af;
}

.refund-flow article i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #d1d5db;
  font-style: normal;
  font-weight: 700;
}

.refund-flow article.active i {
  background: #ff8a00;
}

.refund-flow b {
  display: block;
  color: #111827;
  font-size: 14px;
}

.refund-flow span,
.refund-flow em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.refund-flow em {
  color: #ff8a00;
  font-style: normal;
}

.refund-actions {
  margin-top: 14px;
}

.score-section {
  margin: -4px 0 12px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
}

.time-filter-header {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.time-quick-filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: #f5f7fa;
}

.time-quick-filter span {
  padding: 6px 0;
  border-radius: 6px;
  color: #666666;
  text-align: center;
  font-size: 12px;
}

.time-quick-filter span.active {
  color: #2563eb;
  background: #ffffff;
  font-weight: 600;
}

.time-custom {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 6px;
  align-items: center;
}

.time-custom em {
  color: #999999;
  font-style: normal;
  font-size: 12px;
}

.time-custom input {
  min-height: 34px;
  padding: 7px;
  font-size: 12px;
}

.score-total {
  padding: 14px;
}

.score-total p,
.score-total span {
  margin: 0;
  color: #999999;
  font-size: 12px;
}

.score-total strong {
  display: block;
  margin: 6px 0 4px;
  color: #1a1a1a;
  font-size: 28px;
}

.score-chart {
  height: 130px;
  padding: 0 8px 8px;
}

.prepay-timeline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 6px;
  align-items: center;
  color: #94a3b8;
  font-size: 11px;
}

.prepay-timeline span.active {
  color: #2563eb;
  font-weight: 700;
}

.prepay-timeline i {
  height: 2px;
  border-radius: 99px;
  background: #dbeafe;
}

.prepay-detail-head h3 {
  margin-bottom: 4px;
}

.prepay-detail-head > p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
}

.prepay-pickup-list .mobile-list-item {
  border-left: 3px solid #2563eb;
}

.prepay-ledger {
  display: grid;
  gap: 0;
}

.prepay-ledger article {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 16px;
}

.prepay-ledger article::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: #dbeafe;
}

.prepay-ledger article:last-child {
  padding-bottom: 0;
}

.prepay-ledger article:last-child::before {
  display: none;
}

.prepay-ledger i {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 3px solid #bfdbfe;
  border-radius: 50%;
  background: #ffffff;
}

.prepay-ledger article.active i {
  border-color: #2563eb;
  background: #2563eb;
}

.prepay-ledger b {
  display: block;
  color: #1e293b;
  font-size: 13px;
}

.prepay-ledger span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.favorite-material-page {
  display: grid;
  gap: 12px;
  padding: 12px 16px 28px;
}

.material-card {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.material-card-head,
.material-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
}

.material-card-head span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.material-card-head em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.material-card-body {
  padding: 0 16px 12px;
}

.material-card-body p {
  margin: 0 0 12px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.6;
}

.material-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.material-image-grid.single {
  grid-template-columns: 1fr;
}

.material-image-grid i {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  color: #2563eb;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  font-style: normal;
  font-weight: 700;
}

.material-image-grid.single i {
  min-height: 160px;
}

.material-card-foot {
  border-top: 1px solid #f1f5f9;
}

.material-card-foot button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}

.material-card-foot button.collected {
  color: #ef4444;
  background: #fef2f2;
}

.analysis-pill-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 4px;
}

.analysis-pill-tabs span {
  flex: 0 0 auto;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #64748b;
  background: #eef2f7;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.analysis-pill-tabs .active {
  color: #ffffff;
  background: #2563eb;
}

.customer-analysis-list,
.customer-detail-analysis,
.leaderboard-page,
.market-analysis-page,
.conversion-page,
.churn-page,
.risk-analysis-page,
.team-analysis-page,
.team-members-page {
  padding: 14px;
}

.customer-score-card {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid #e5eef8;
  border-radius: 14px;
  background: #ffffff;
}

.customer-score-card > header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.customer-score-rank,
.leaderboard-row header span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #ffffff;
  background: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.customer-score-card b,
.customer-detail-head h3 {
  color: #111827;
}

.customer-score-card em,
.customer-detail-head p {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.customer-score-total {
  padding: 14px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

.customer-analysis-list.shipment .customer-score-total {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.customer-score-total span,
.customer-score-total em {
  color: rgba(255, 255, 255, 0.8);
}

.customer-score-total strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
}

.customer-score-total small {
  margin-left: 3px;
  font-size: 13px;
}

.customer-score-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.customer-score-split div {
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.customer-score-split span,
.customer-score-split em {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
}

.customer-score-chart h4 {
  margin: 0 0 6px;
  color: #334155;
  font-size: 13px;
}

.customer-detail-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.customer-detail-head > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 800;
}

.customer-detail-head h3,
.customer-detail-head p {
  color: #ffffff;
}

.customer-detail-head strong {
  text-align: right;
  font-size: 18px;
}

.customer-month-row > strong {
  color: #2563eb;
  font-size: 24px;
}

.leaderboard-hero,
.market-hero {
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
}

.leaderboard-hero h3,
.market-hero h3,
.market-hero span {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.leaderboard-hero p,
.market-hero em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.market-hero strong {
  display: block;
  margin: 8px 0;
  font-size: 42px;
}

.market-hero.green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.leaderboard-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.leaderboard-podium article {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-height: 146px;
  padding: 12px 8px;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.leaderboard-podium .champion {
  min-height: 176px;
  background: #fff7ed;
}

.leaderboard-podium span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #f97316;
  font-weight: 800;
}

.leaderboard-podium em,
.leaderboard-podium i {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
}

.leaderboard-podium strong {
  color: #f97316;
  font-size: 17px;
}

.leaderboard-row.mine {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.analysis-progress-list,
.reason-list,
.retention-list,
.conversion-funnel {
  display: grid;
  gap: 10px;
}

.analysis-progress-list p,
.reason-list p {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.analysis-progress-list p {
  display: flex;
  justify-content: space-between;
}

.analysis-progress-list span,
.analysis-progress-list b {
  position: relative;
  z-index: 1;
}

.analysis-progress-list i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: #2563eb;
}

.conversion-funnel {
  justify-items: center;
}

.conversion-funnel article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  padding: 12px;
  border-radius: 12px;
  color: #ffffff;
  background: #2563eb;
}

.conversion-funnel article:nth-child(2) {
  background: #0ea5e9;
}

.conversion-funnel article:nth-child(3) {
  background: #22c55e;
}

.conversion-funnel article:nth-child(4) {
  background: #f97316;
}

.conversion-funnel span {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.reason-list p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reason-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #ef4444;
  font-size: 12px;
  font-weight: 800;
}

.risk-row {
  border-left: 4px solid #ef4444;
}

.retention-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
}

.team-analysis-page .score-analysis-section,
.team-members-page .score-analysis-section,
.market-analysis-page .score-analysis-section {
  margin-top: 10px;
}

.mobile-side-note {
  position: sticky;
  top: 28px;
  max-width: 720px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.mobile-side-note h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.mobile-side-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .mobile-stage {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .phone-frame {
    width: 100%;
    height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-side-note {
    display: none;
  }
}
