/* 锦鲤报告 - 科技风格H5 */

:root {
  --primary: #198f7a;
  --primary-dark: #116c5b;
  --secondary: #f29a63;
  --bg-base: #f7f4ec;
  --bg-surface: rgba(255, 252, 247, 0.92);
  --bg-card: #fffdf9;
  --bg-elevated: #f3ede1;
  --bg-soft: #e7f3ef;
  --bg-dark: #21453d;
  --text-primary: #203531;
  --text-secondary: #5d726b;
  --text-muted: #85958f;
  --success: #1f9d68;
  --warning: #d28a2e;
  --error: #d05b5b;
  --pending: #80928b;
  --border: rgba(41, 78, 69, 0.12);
  --shadow-soft: 0 18px 40px rgba(91, 110, 101, 0.10);
  --shadow-card: 0 10px 24px rgba(91, 110, 101, 0.08);
  --glow: 0 18px 36px rgba(25, 143, 122, 0.18);
}

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

html, body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 154, 99, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(25, 143, 122, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf8f1 0%, #f3efe6 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
}

body.share-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* 页面容器 */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 88px;
}

.page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(242, 154, 99, 0.10), transparent 20%),
    radial-gradient(circle at 85% 12%, rgba(25, 143, 122, 0.10), transparent 18%);
  z-index: 0;
}

.page > * {
  position: relative;
  z-index: 1;
}

/* 科技头部 */
.tech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 251, 245, 0.76);
  border-bottom: 1px solid rgba(41, 78, 69, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(236, 243, 252, 0.92) 100%);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 90, 166, 0.12);
  box-shadow: 0 10px 26px rgba(23, 71, 133, 0.16);
}

.brand-mark-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.user-avatar:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(25, 143, 122, 0.12);
}

.user-avatar svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
}

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

.header-title {
  font-weight: 600;
  font-size: 17px;
}

.header-spacer {
  width: 36px;
}

/* 首页内容 */
.home-main {
  flex: 1;
  padding: 20px;
}

.hero-section {
  text-align: center;
  padding: 42px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(244, 250, 247, 0.96) 100%);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(25, 143, 122, 0.22) 0%, rgba(242, 154, 99, 0.12) 38%, transparent 72%);
  opacity: 0.9;
  filter: blur(28px);
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #234239 0%, var(--primary) 60%, #ea905d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.profile-main {
  width: min(920px, 100%);
  margin: 0 auto;
}

.profile-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.profile-panel {
  margin-bottom: 0;
}

.profile-hero {
  text-align: left;
  padding: 22px 20px;
}

.profile-hero-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(25, 143, 122, 0.16) 0%, rgba(242, 154, 99, 0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.profile-avatar svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary);
}

.profile-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.profile-tier {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(25, 143, 122, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0;
}

.profile-account {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  word-break: break-word;
}

.profile-note {
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(41, 78, 69, 0.10);
  border-radius: 12px;
  padding: 6px 10px;
  display: inline-flex;
  max-width: 100%;
  margin-top: 0;
}

.profile-code {
  font-size: 13px;
  color: var(--text-secondary);
}

.profile-side {
  display: grid;
  gap: 12px;
}

.profile-section {
  margin-top: 0;
}

.profile-menu .task-item {
  align-items: center;
  padding: 14px 16px;
}

.profile-menu-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  flex-shrink: 0;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-stats .stat-card {
  padding: 16px 12px;
  border-radius: 18px;
}

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

.profile-stats .stat-label {
  font-size: 11px;
  letter-spacing: 0.5px;
}

.profile-membership-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(41, 78, 69, 0.10);
}

.profile-membership-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-section-header-compact {
  align-items: flex-start;
  margin-bottom: 12px;
}

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

.profile-actions .tech-btn {
  width: auto;
  min-width: 132px;
  padding: 12px 16px;
  font-size: 14px;
}

.profile-plan-list .task-item {
  padding: 14px;
  border-radius: 18px;
}

.profile-plan-list .tech-btn {
  width: auto;
  min-width: 110px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 14px;
}

.profile-logout-card {
  margin-top: 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(208, 91, 91, 0.14);
  background: linear-gradient(180deg, rgba(255, 252, 250, 0.96) 0%, rgba(252, 239, 239, 0.92) 100%);
  box-shadow: var(--shadow-card);
}

.profile-logout-btn {
  margin-top: 12px;
  border-color: rgba(208, 91, 91, 0.20);
  color: var(--error);
}

.profile-logout-btn:hover {
  background: rgba(208, 91, 91, 0.08);
  border-color: rgba(208, 91, 91, 0.24);
}

@media (max-width: 980px) {
  .sample-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-main,
  .detail-main,
  .form-container {
    padding: 16px;
  }

  .hero-section {
    padding: 32px 18px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    letter-spacing: 0.4px;
  }

  .task-section {
    padding: 16px;
    border-radius: 20px;
  }

  .task-item {
    padding: 14px;
  }

  .task-title,
  .task-company {
    font-size: 14px;
  }

  .profile-hero {
    padding: 18px 16px;
  }

  .profile-hero-top {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .profile-avatar svg {
    width: 26px;
    height: 26px;
  }

  .profile-account {
    font-size: 15px;
  }

  .profile-membership-strip {
    padding: 12px 14px;
  }

  .profile-actions .tech-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px 12px;
    font-size: 13px;
  }

  .upgrade-inline-card {
    flex-direction: column;
    align-items: stretch;
  }

  .upgrade-actions {
    grid-template-columns: 1fr;
  }

  .detail-actions .tech-btn,
  .upgrade-inline-card .tech-btn {
    width: 100%;
  }

  .task-detail .detail-actions .tech-btn {
    width: auto;
  }
}

@media (max-width: 360px) {
  .tech-header {
    padding: 14px 16px;
  }

  .logo {
    gap: 8px;
    font-size: 16px;
  }

  .logo-icon,
  .user-avatar,
  .back-btn,
  .header-spacer {
    width: 32px;
    height: 32px;
  }

  .home-main,
  .detail-main,
  .form-container {
    padding: 14px;
  }

  .hero-section {
    padding: 28px 16px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 23px;
    line-height: 1.35;
  }

  .hero-subtitle,
  .profile-code {
    font-size: 13px;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .profile-membership-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-actions .tech-btn {
    width: 100%;
  }

  .stats-grid {
    gap: 12px;
    margin-bottom: 18px;
  }

  .stat-card {
    padding: 16px 12px;
  }

  .stat-value {
    font-size: 26px;
  }

  .stat-label {
    font-size: 11px;
    letter-spacing: 0.6px;
  }

  .task-section {
    padding: 14px;
    border-radius: 18px;
  }

  .section-header h3 {
    font-size: 16px;
  }

  .task-item {
    gap: 10px;
    padding: 13px 12px;
    align-items: flex-start;
  }

  .task-status {
    padding: 5px 10px;
    font-size: 11px;
  }

  .task-title,
  .task-company {
    font-size: 13px;
  }

  .task-time {
    font-size: 11px;
  }

  .tech-btn {
    padding: 13px 16px;
    font-size: 14px;
  }

  .nav-item {
    padding: 8px 16px;
  }
}

.feedback-hero {
  text-align: left;
  padding: 30px 24px;
  margin-bottom: 18px;
}

.feedback-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.feedback-subtitle {
  margin-bottom: 0;
  letter-spacing: 0;
}

.feedback-section {
  margin-bottom: 18px;
}

.settings-section {
  margin-bottom: 18px;
}

.feedback-list {
  display: grid;
  gap: 14px;
}

.feedback-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248, 244, 236, 0.95) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(91, 110, 101, 0.06);
}

.feedback-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feedback-time {
  font-size: 12px;
  color: var(--text-muted);
}

.feedback-content {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.feedback-reply {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(25, 143, 122, 0.08);
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.feedback-reply.is-empty {
  background: rgba(128, 146, 139, 0.10);
}

.feedback-reply-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

/* 科技按钮 */
.tech-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.tech-btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #f7f9f8;
  box-shadow: var(--glow);
}

.tech-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(25, 143, 122, 0.22);
}

.tech-btn.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.tech-btn.secondary:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}

.tech-btn.no-hover:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.btn-icon {
  font-size: 18px;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card-link {
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.stat-card-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-inline-meta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stat-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-card-action {
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.stat-card-action:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  background: var(--bg-soft);
}

/* 任务列表 */
.task-section {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-header h3 {
  font-size: 17px;
  font-weight: 600;
}

.view-all {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.site-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  background: rgba(128, 146, 139, 0.12);
  color: var(--text-secondary);
  border: 1px solid rgba(128, 146, 139, 0.18);
}

.site-status-chip-label {
  color: var(--text-muted);
}

.site-status-chip.success {
  background: rgba(31, 157, 104, 0.10);
  color: var(--success);
  border-color: rgba(31, 157, 104, 0.16);
}

.site-status-chip.processing {
  background: rgba(210, 138, 46, 0.10);
  color: var(--warning);
  border-color: rgba(210, 138, 46, 0.18);
}

.site-status-chip.pending {
  background: rgba(128, 146, 139, 0.12);
  color: var(--pending);
  border-color: rgba(128, 146, 139, 0.18);
}

.site-status-chip.error {
  background: rgba(208, 91, 91, 0.10);
  color: var(--error);
  border-color: rgba(208, 91, 91, 0.18);
}

.site-status-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.site-status-filter-chip {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(128, 146, 139, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
}

.site-status-filter-chip-label {
  display: block;
}

.site-status-filter-chip-count {
  font-size: 22px;
  line-height: 1;
  color: var(--text-primary);
}

.site-status-filter-chip.active .site-status-filter-chip-count {
  color: var(--primary-dark);
}

.site-status-filter-chip:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.site-status-filter-chip.active {
  background: linear-gradient(135deg, rgba(25, 143, 122, 0.14) 0%, rgba(242, 154, 99, 0.14) 100%);
  border-color: rgba(25, 143, 122, 0.24);
  color: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(25, 143, 122, 0.10);
}

.site-status-page-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .site-status-page-meta {
    width: 100%;
    justify-content: space-between;
  }
}

.section-header-compact {
  align-items: flex-end;
  margin-bottom: 12px;
}

.task-section-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-toolbar {
  display: block;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(128, 146, 139, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(250, 247, 241, 0.86) 100%);
  box-shadow: 0 5px 14px rgba(91, 110, 101, 0.04);
}

.task-toolbar-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.task-status-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.task-status-filter-chip {
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(128, 146, 139, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
}

.task-status-filter-chip-label {
  display: block;
}

.task-status-filter-chip-count {
  font-size: 20px;
  line-height: 1;
  color: var(--text-primary);
}

.task-status-filter-chip.active .task-status-filter-chip-count {
  color: var(--primary-dark);
}

.task-status-filter-chip:hover {
  border-color: var(--primary);
  color: var(--text-primary);
}

.task-status-filter-chip.active {
  background: linear-gradient(135deg, rgba(25, 143, 122, 0.14) 0%, rgba(242, 154, 99, 0.14) 100%);
  border-color: rgba(25, 143, 122, 0.24);
  color: var(--primary-dark);
  box-shadow: 0 8px 18px rgba(25, 143, 122, 0.10);
}

.task-search-summary {
  font-size: 12px;
  color: var(--text-muted);
}

.task-search-summary-inline {
  line-height: 1.4;
}

.task-search-input.compact {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.task-search-btn.compact {
  width: 84px;
  min-width: 84px;
  max-width: 84px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
}

.waterfall-list {
  display: block;
  column-count: 2;
  column-gap: 12px;
}

.task-waterfall-card {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248, 244, 236, 0.95) 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(91, 110, 101, 0.06);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.task-waterfall-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.task-waterfall-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.task-waterfall-id {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.task-waterfall-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 8px;
  word-break: break-word;
}

.task-waterfall-title-link {
  margin-bottom: 8px;
}

.task-waterfall-time {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.task-waterfall-meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(128, 146, 139, 0.24);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  word-break: break-all;
}

.task-page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.task-page-summary {
  font-size: 12px;
  color: var(--text-muted);
}

.task-load-more {
  min-width: 144px;
}

.task-info {
  flex: 1;
  min-width: 0;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248, 244, 236, 0.95) 100%);
  border-radius: 18px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(91, 110, 101, 0.06);
}

.task-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.task-company {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.task-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.task-primary-link::after {
  content: '→';
  font-size: 12px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.task-primary-link:hover {
  color: var(--primary-dark);
}

.task-primary-link:hover::after {
  transform: translateX(2px);
}

.task-company-link {
  font-size: 15px;
  margin-bottom: 4px;
}

.task-company-link-large {
  font-size: 20px;
  line-height: 1.5;
}

.task-link-hint {
  font-size: 12px;
  color: var(--primary);
  line-height: 1.5;
}

.task-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.task-time {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-word;
}

.task-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.task-status.pending {
  background: rgba(128, 146, 139, 0.14);
  color: var(--pending);
}

.task-status.processing {
  background: rgba(25, 143, 122, 0.12);
  color: var(--primary);
}

.task-status.success {
  background: rgba(31, 157, 104, 0.12);
  color: var(--success);
}

.task-status.error {
  background: rgba(208, 91, 91, 0.12);
  color: var(--error);
}

/* 加载状态 */
.loading-state {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.tech-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(25, 143, 122, 0.10);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.tech-spinner.large {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

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

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--text-muted);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.empty-state.compact {
  padding: 16px 8px;
}

.empty-state.compact p {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .section-header-compact {
    align-items: stretch;
  }

  .task-toolbar {
    padding: 10px;
  }

  .task-toolbar-main {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
  }

  .task-status-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .task-status-filter-chip {
    min-height: 60px;
    padding: 12px;
    border-radius: 16px;
    font-size: 13px;
  }

  .task-status-filter-chip-count {
    font-size: 18px;
  }

  .task-search-btn.compact {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    padding: 0 10px;
  }

  .waterfall-list {
    column-count: 1;
  }
}

/* 表单样式 */
.form-container {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.tech-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.tech-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 143, 122, 0.10);
}

.tech-input::placeholder {
  color: var(--text-muted);
}

.scan-company-field {
  position: relative;
}

.scan-company-hint {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.scan-company-suggest-panel {
  margin-top: 10px;
}

.scan-company-sheet {
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.99);
  border: 1px solid rgba(41, 78, 69, 0.10);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.scan-company-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(41, 78, 69, 0.08);
}

.scan-company-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.scan-company-sheet-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.scan-company-sheet-close {
  border: none;
  background: rgba(231, 243, 239, 0.9);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}

.scan-company-sheet-list {
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
}

.scan-company-option {
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.scan-company-option:hover {
  background: rgba(231, 243, 239, 0.72);
}

.scan-company-option-name {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.scan-company-option-tax {
  color: var(--text-secondary);
  font-size: 12px;
  font-family: 'SF Mono', monospace;
}

.scan-company-feedback {
  padding: 12px 14px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.tech-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.tech-select {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 16px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23606070' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.or-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-muted);
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  padding: 0 16px;
  font-size: 14px;
}

.form-actions {
  margin-top: 32px;
}

/* 详情页 */
.detail-main {
  padding: 20px;
}

.detail-card {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(41, 78, 69, 0.08);
}

.detail-subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.detail-status {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.detail-status.pending {
  background: rgba(128, 146, 139, 0.14);
  color: var(--pending);
}

.detail-status.processing {
  background: rgba(25, 143, 122, 0.12);
  color: var(--primary);
}

.detail-status.success {
  background: rgba(31, 157, 104, 0.12);
  color: var(--success);
}

.detail-status.error {
  background: rgba(208, 91, 91, 0.12);
  color: var(--error);
}

.detail-info {
  display: grid;
  gap: 12px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.task-detail .detail-actions {
  flex-wrap: nowrap;
}

.detail-actions .tech-btn {
  width: auto;
  min-width: 140px;
}

.task-detail .detail-actions .tech-btn {
  flex: 1 1 0;
  min-width: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(243, 237, 225, 0.54);
}

.task-status-large {
  text-align: center;
  padding: 32px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-elevated);
  position: relative;
}

.status-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.task-status-large.pending .status-icon::after {
  background: var(--pending);
  box-shadow: 0 0 20px var(--pending);
}

.task-status-large.processing .status-icon::after {
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
  animation: pulse 2s infinite;
}

.task-status-large.success .status-icon::after {
  background: var(--success);
  box-shadow: 0 0 20px var(--success);
}

.task-status-large.error .status-icon::after {
  background: var(--error);
  box-shadow: 0 0 20px var(--error);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 20px;
  font-weight: 600;
}

.info-list {
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.info-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.info-value {
  font-family: 'SF Mono', monospace;
  font-size: 14px;
}

/* 二维码区域 */
.qr-section {
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(243, 237, 225, 0.76) 0%, rgba(231, 243, 239, 0.72) 100%);
  border-radius: 20px;
  margin-top: 24px;
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  background: white;
  border-radius: 12px;
  padding: 16px;
}

.qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
}

.qr-placeholder svg {
  width: 120px;
  height: 120px;
}

.qr-text {
  font-size: 10px;
  margin-top: 8px;
  word-break: break-all;
}

.qr-tip {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
}

.upgrade-inline-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(240, 166, 111, 0.32);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.94) 0%, rgba(255, 252, 247, 0.98) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.upgrade-inline-card .tech-btn {
  width: auto;
  min-width: 120px;
}

/* 扫码页 */
.scan-header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(247,244,236,0) 100%);
}

.scan-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(236, 243, 252, 0.92) 100%);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 90, 166, 0.12);
  box-shadow: 0 16px 34px rgba(23, 71, 133, 0.18);
}

.scan-logo .brand-mark-image {
  width: 100%;
  height: 100%;
}

.scan-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scan-header p {
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 2px;
}

.scan-main {
  flex: 1;
  padding: 20px;
}

.scan-form-container {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.step.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #f8fbfa;
}

.step-line {
  width: 40px;
  height: 2px;
  background: var(--border);
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
}

.input-with-btn {
  display: flex;
  gap: 12px;
}

.input-with-btn .tech-input {
  flex: 1;
}

.input-with-btn .tech-btn {
  width: auto;
  padding: 12px 20px;
  white-space: nowrap;
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(31, 157, 104, 0.08);
  border: 1px solid rgba(31, 157, 104, 0.16);
  border-radius: 16px;
  margin: 24px 0;
}

.security-notice svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  flex-shrink: 0;
}

.security-notice span {
  font-size: 13px;
  color: var(--text-secondary);
}

.scan-consent-card,
.share-compliance-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
}

.share-helper-text {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.68);
}

.scan-consent-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.scan-consent-subtitle,
.scan-consent-footnote,
.share-compliance-copy {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.74);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #1e293b;
}

.consent-check input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.consent-check a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}

.compliance-doc-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fafc, #eef2ff 120%);
}

.compliance-doc-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.compliance-doc-head {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.compliance-doc-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.compliance-doc-head h1 {
  margin: 10px 0 8px;
  font-size: 30px;
  line-height: 1.2;
  color: #0f172a;
}

.compliance-doc-head p,
.compliance-doc-section p,
.compliance-doc-list {
  color: #334155;
  line-height: 1.8;
}

.compliance-doc-section {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.compliance-doc-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0f172a;
}

.compliance-doc-list {
  padding-left: 18px;
  margin: 0;
}

.compliance-doc-footer {
  margin-top: 20px;
}

.report-access-meta {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  color: #475569;
  font-size: 12px;
  line-height: 1.7;
}

.report-watermark-layer {
  position: relative;
  overflow: hidden;
  margin-bottom: -24px;
  min-height: 0;
  pointer-events: none;
  z-index: 2;
}

.report-watermark-layer span {
  position: absolute;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.08);
  transform: rotate(-18deg);
  white-space: nowrap;
}

.report-watermark-layer span:nth-child(1) { top: 24px; left: -20px; }
.report-watermark-layer span:nth-child(2) { top: 120px; left: 180px; }
.report-watermark-layer span:nth-child(3) { top: 220px; left: -10px; }
.report-watermark-layer span:nth-child(4) { top: 320px; left: 210px; }
.report-watermark-layer span:nth-child(5) { top: 420px; left: 20px; }
.report-watermark-layer span:nth-child(6) { top: 520px; left: 260px; }
.report-watermark-layer span:nth-child(7) { top: 620px; left: 10px; }
.report-watermark-layer span:nth-child(8) { top: 720px; left: 220px; }
.report-watermark-layer span:nth-child(9) { top: 820px; left: -10px; }
.report-watermark-layer span:nth-child(10) { top: 920px; left: 220px; }
.report-watermark-layer span:nth-child(11) { top: 1020px; left: 20px; }
.report-watermark-layer span:nth-child(12) { top: 1120px; left: 250px; }

.submit-btn {
  margin-top: 8px;
}

/* 成功页 */
.success-content {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow);
}

.success-icon.complete {
  background: linear-gradient(135deg, var(--success) 0%, #00c853 100%);
  box-shadow: 0 0 30px rgba(0,230,118,0.4);
}

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
}

.success-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.success-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.progress-ring {
  margin: 32px 0;
}

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

.verify-code {
  display: inline-block;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid var(--primary);
  border-radius: 16px;
  font-family: 'SF Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 8px;
  margin: 16px 0;
  box-shadow: var(--glow);
}

/* 认证页 */
.auth {
  position: relative;
  overflow: hidden;
}

.auth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25, 143, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 143, 122, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(25, 143, 122, 0.22) 0%, transparent 70%);
  opacity: 0.9;
  filter: blur(60px);
}

.auth-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.auth-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  position: relative;
  overflow: hidden;
}

.logo-ring {
  display: none;
}

.logo-ring::before {
  display: none;
}

.auth-logo .brand-mark-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.auth-form {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
}

.auth-submit {
  margin-top: 8px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
}

.auth-links a {
  color: var(--primary);
  cursor: pointer;
}

.auth-consent-card {
  margin: 4px 0 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* 登录页标签切换 */
.login-tabs {
  display: flex;
  margin-bottom: 24px;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.login-tab.active {
  background: var(--primary);
  color: #f8fbfa;
  font-weight: 500;
}

/* Toast提示 */
.tech-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 3000;
  animation: toastIn 0.3s ease;
}

.tech-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 69, 61, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 2000;
}

.share-modal-overlay {
  overflow: hidden;
  overscroll-behavior: contain;
}

.tech-modal {
  width: min(100%, 420px);
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(91, 110, 101, 0.18);
  max-height: min(88vh, 760px);
  overflow: hidden;
}

.tech-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tech-modal-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: normal;
  word-break: break-word;
}

.tech-modal-btn {
  width: 100%;
  margin-top: 18px;
}

.tech-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.tech-modal-actions .tech-btn {
  margin-top: 0;
}

.tech-modal-upgrade {
  width: min(100%, 520px);
}

.upgrade-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.upgrade-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(25, 143, 122, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

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

.sample-summary-card {
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.98) 0%, rgba(231, 243, 239, 0.78) 100%);
}

.formal-report-doc {
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.formal-report-doc-v2 {
  gap: 0;
  overflow-x: hidden;
}

.sample-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sample-metric-list {
  display: grid;
  gap: 8px;
}

.sample-report-head {
  margin: 0;
}

.report-doc-cover {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 94px;
  border-radius: 0;
  border: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 112, 255, 0.24), transparent 28%),
    radial-gradient(circle at 76% 70%, rgba(255, 255, 255, 0.15), transparent 12%),
    radial-gradient(circle at 64% 52%, rgba(255, 255, 255, 0.12), transparent 10%),
    linear-gradient(135deg, #05103b 0%, #0c236f 46%, #08173e 100%);
  box-shadow: 0 18px 42px rgba(10, 29, 89, 0.18);
}

.report-doc-cover::before,
.report-doc-cover::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.report-doc-cover::before {
  width: 280px;
  height: 280px;
  left: -120px;
  top: -96px;
  background: radial-gradient(circle, rgba(109, 126, 255, 0.22), transparent 70%);
}

.report-doc-cover::after {
  width: 220px;
  height: 220px;
  right: -72px;
  bottom: -108px;
  background: radial-gradient(circle, rgba(165, 214, 255, 0.18), transparent 70%);
}

.sample-report-head-main,
.report-doc-cover-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.sample-report-head-copy,
.report-doc-cover-copy {
  min-width: 0;
}

.report-doc-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sample-report-title-row,
.report-shell-title-row,
.report-doc-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.sample-report-title-block {
  min-width: 0;
}

.sample-report-actions,
.report-doc-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.sample-report-head-side,
.report-doc-cover-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.sample-report-company {
  margin: 0;
  color: var(--text-primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.report-cover-title {
  color: #ffffff;
  font-size: 42px;
  letter-spacing: 0.08em;
  line-height: 1.16;
}

.sample-report-identity,
.report-doc-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sample-report-tax-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 180px;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 74, 150, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

.sample-report-tax-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.sample-report-tax-value {
  min-width: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-all;
}

.sample-report-intro {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.report-cover-intro {
  max-width: 540px;
  color: rgba(233, 240, 255, 0.84);
  font-size: 14px;
}

.sample-report-date-card,
.report-doc-date-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 124px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  text-align: left;
}

.sample-report-date-card span {
  color: rgba(226, 236, 255, 0.72);
  font-size: 11px;
  line-height: 1.4;
}

.sample-report-date-card strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

.report-doc-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.report-doc-summary-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.report-doc-summary-card span {
  display: block;
  color: rgba(226, 236, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.report-doc-summary-card strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.3;
}

.sample-report-share-btn,
.sample-report-copy-btn,
.report-share-btn {
  width: auto;
  min-width: 90px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none;
  flex-shrink: 0;
}

.sample-report-share-btn:hover,
.sample-report-copy-btn:hover,
.report-share-btn:hover {
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.report-doc-sheet {
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(17, 74, 150, 0.10);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
}

.report-promo-banner {
  margin: 18px 16px 0;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(17, 74, 150, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 253, 0.96) 100%);
  box-shadow: var(--shadow-card);
}

.report-promo-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.report-doc-company-sheet {
  position: relative;
  z-index: 2;
  margin: -52px 16px 0;
  padding: 24px 18px 18px;
  border-radius: 26px 26px 0 0;
  border: none;
  box-shadow: 0 18px 40px rgba(18, 33, 72, 0.10);
}

.report-doc-company-name {
  color: #222935;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: break-all;
}

.report-doc-company-copy {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.report-doc-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.report-doc-sheet-title {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.report-doc-sheet-copy {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.report-doc-sheet-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.report-doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.report-doc-meta-item {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 74, 150, 0.08);
  background: #f6f9ff;
}

.report-doc-meta-item span {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.4;
}

.report-doc-meta-item strong {
  display: block;
  margin-top: 6px;
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.45;
}

.sample-structure-nav {
  position: sticky;
  top: 68px;
  z-index: 3;
  display: flex;
  gap: 26px;
  padding: 0 18px;
  margin: 0 16px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  overflow-x: auto;
  backdrop-filter: blur(12px);
}

.sample-tab-chip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 60px;
  padding: 16px 0 14px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.sample-tab-chip strong {
  color: #7b8598;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.sample-tab-chip span {
  display: none;
}

.sample-tab-chip:hover {
  background: transparent;
}

.sample-tab-chip:hover strong {
  color: #355f9a;
}

.sample-tab-chip.active {
  background: transparent;
  border-color: transparent;
}

.sample-tab-chip.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f5aa6 0%, #6f9ed8 100%);
}

.sample-tab-chip.active strong,
.sample-tab-chip.active span {
  color: #163f78;
}

.sample-tab-panel {
  display: none;
  scroll-margin-top: 136px;
}

.sample-tab-panel.active {
  display: block;
}

.task-section.report-doc-section {
  margin: 0 16px 0;
  padding: 20px;
  border-radius: 0 0 24px 24px;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(18, 33, 72, 0.08);
}

.report-doc-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.report-doc-section-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.35;
}

.report-doc-section-index {
  display: none;
}

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

.sample-subsection {
  margin-top: 20px;
}

.sample-subsection-title {
  margin-bottom: 10px;
  color: #4b5567;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

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

.sample-kpi-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 74, 150, 0.08);
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.sample-kpi-card span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.sample-kpi-card strong {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.sample-compact-metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(17, 74, 150, 0.08);
}

.sample-compact-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: #ffffff;
}

.sample-compact-metric-item span {
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.3;
}

.sample-compact-metric-item strong {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-all;
}

.sample-table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(17, 74, 150, 0.08);
  background: #ffffff;
}

.sample-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 12px;
}

.sample-table-wrap-matrix {
  overflow: hidden;
  border: none;
  background: transparent;
}

.sample-table-wrap-structured {
  overflow: hidden;
  border: none;
  background: transparent;
}

.sample-table-matrix {
  min-width: 0;
  table-layout: fixed;
  font-size: 12px;
}

.sample-table-structured {
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 1px;
  font-size: 11px;
  background: rgba(17, 74, 150, 0.08);
}

.sample-table-matrix th,
.sample-table-matrix td {
  padding: 12px 6px;
  border-bottom: none;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}

.sample-table-matrix th {
  color: #8b93a5;
  font-weight: 500;
  background: #edf2fb;
}

.sample-table-matrix tbody tr:nth-child(even) td {
  background: #edf2fb;
}

.sample-table-matrix tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.sample-table-matrix .sample-table-empty-cell {
  padding: 18px 12px;
  text-align: center;
}

.sample-table-structured th,
.sample-table-structured td {
  padding: 10px 6px;
  text-align: center;
  vertical-align: middle;
  word-break: break-all;
  background: #ffffff;
}

.sample-table-structured th {
  color: #8b93a5;
  font-weight: 500;
  background: #edf2fb;
}

.sample-table-structured tbody tr:nth-child(even) td {
  background: #edf2fb;
}

.sample-table-structured tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.sample-table-structured .sample-table-cell-wrap {
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.sample-table-structured .sample-table-empty-cell {
  padding: 18px 12px;
  text-align: center;
}

.sample-table-shareholder .sample-table-col-0 {
  width: 68%;
}

.sample-table-shareholder .sample-table-col-1 {
  width: 32%;
}

.sample-table-shareholder .sample-table-cell-wrap {
  text-align: center;
}

.sample-table th,
.sample-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
  vertical-align: top;
}

.sample-table th {
  color: #7b8598;
  font-weight: 500;
  background: #f3f7ff;
  font-size: 12px;
}

.sample-table tbody tr:nth-child(even) td {
  background: #f5f9ff;
}

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

.sample-table-total td {
  font-weight: 700;
  background: #a8d1ef;
}

.sample-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.sample-tab-panel .info-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  background: transparent;
}

.sample-tab-panel .info-label,
.sample-tab-panel .info-value {
  font-size: 13px;
  line-height: 1.6;
}

.sample-tab-panel .info-label {
  color: var(--text-secondary);
}

.sample-tab-panel .info-value {
  color: var(--text-primary);
  font-weight: 600;
}

.sample-metric-list.report-doc-info-grid {
  border: 1px solid rgba(17, 74, 150, 0.08);
  border-radius: 18px;
  overflow: hidden;
  gap: 0;
  background: #fff;
}

.sample-tab-panel .task-item {
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

.sample-tab-panel .task-title {
  font-size: 12px;
}

.sample-tab-panel .task-time {
  font-size: 10px;
  line-height: 1.45;
}

.report-view-main {
  padding: 12px 10px 16px;
}

.report-view-page.report-frame-page {
  height: 100vh;
  height: 100dvh;
  padding-bottom: 0;
  overflow: hidden;
}

.report-view-main.report-frame-host {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 12px;
}

.report-view-main.report-frame-host > div {
  flex: 1;
  min-height: 0;
}

.report-doc-access-card {
  max-width: 420px;
}

.shared-report-access-doc {
  gap: 8px;
}

.shared-report-cover {
  padding: 14px 14px 16px;
  border-radius: 24px;
}

.shared-report-cover-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(233, 240, 255, 0.84);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shared-report-title-block,
.shared-report-cover-title {
  min-width: 0;
}

.shared-report-cover-title {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.shared-report-cover-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.shared-report-cover-chip {
  padding: 7px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.shared-report-cover-chip span {
  display: block;
  color: rgba(226, 236, 255, 0.72);
  font-size: 9px;
  line-height: 1.35;
}

.shared-report-cover-chip strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.3;
  word-break: break-word;
}

.shared-report-access-sheet {
  padding: 10px;
  border-radius: 18px;
}

.shared-report-sheet-head {
  gap: 8px;
}

.shared-report-sheet-head .report-doc-sheet-copy {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
}

.shared-report-access-card {
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.shared-report-password-group {
  margin-bottom: 8px;
}

.report-shell-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-delivery-hero {
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(242, 154, 99, 0.20), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.96) 0%, rgba(231, 243, 239, 0.92) 100%);
  border: 1px solid rgba(25, 143, 122, 0.12);
  box-shadow: var(--shadow-soft);
}

.report-delivery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-top: 14px;
}

.report-delivery-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.report-delivery-actions .tech-btn {
  width: auto;
  min-width: 112px;
}

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

.report-delivery-stat {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(41, 78, 69, 0.08);
}

.report-delivery-stat span,
.report-delivery-stat small {
  display: block;
}

.report-delivery-stat span {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.report-delivery-stat strong {
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
}

.report-delivery-stat small {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.report-shell-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.report-shell-copy {
  min-width: 0;
  padding: 6px 2px 0;
}

.report-shell-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 143, 122, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.report-shell-copy h1 {
  margin: 12px 0 6px;
  font-size: 24px;
  line-height: 1.3;
  color: var(--text-primary);
}

.report-shell-copy p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.report-section-title {
  margin: 12px 0 6px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text-primary);
}

.report-shell-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.report-shell-notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(231, 243, 239, 0.60);
  border: 1px solid rgba(25, 143, 122, 0.12);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.report-frame-card,
.report-access-card {
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.report-frame {
  width: 100%;
  min-height: calc(100vh - 260px);
  border: none;
  border-radius: 18px;
  background: #fff;
}

.report-access-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.report-access-subtitle {
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.share-modal {
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.share-modal-head {
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.share-modal-head .tech-modal-title {
  margin-bottom: 0;
}

.share-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 20px;
}

.share-modal .form-group {
  margin-bottom: 14px;
}

.share-modal-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.share-modal-choice-grid .form-group {
  margin-bottom: 0;
}

.share-modal-actions {
  margin-top: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 253, 249, 0.98);
}

.report-share-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.report-share-tips span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(25, 143, 122, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

.authorized-shell {
  overflow: hidden;
}

.authorized-overview {
  margin-bottom: 18px;
}

.authorized-overview-copy {
  min-width: 0;
}

.authorized-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(25, 143, 122, 0.10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.authorized-overview-copy h2 {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text-primary);
}

.authorized-overview-copy p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.authorized-status-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.authorized-status-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(41, 78, 69, 0.10);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.authorized-status-card.is-pending {
  background: rgba(255, 255, 255, 0.70);
}

.authorized-status-card.is-processing {
  background: rgba(231, 243, 239, 0.84);
  border-color: rgba(25, 143, 122, 0.18);
}

.authorized-status-card.is-success {
  background: rgba(232, 248, 239, 0.90);
  border-color: rgba(31, 157, 104, 0.22);
}

.authorized-status-card.is-error {
  background: rgba(252, 240, 240, 0.92);
  border-color: rgba(208, 91, 91, 0.22);
}

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

.authorized-status-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.authorized-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.authorized-status-pill.is-pending {
  background: rgba(128, 146, 139, 0.14);
  color: var(--pending);
}

.authorized-status-pill.is-processing {
  background: rgba(25, 143, 122, 0.12);
  color: var(--primary);
}

.authorized-status-pill.is-success {
  background: rgba(31, 157, 104, 0.12);
  color: var(--success);
}

.authorized-status-pill.is-error {
  background: rgba(208, 91, 91, 0.12);
  color: var(--error);
}

.authorized-loading {
  padding: 14px 0 8px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 251, 245, 0.86);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(41, 78, 69, 0.08);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(91, 110, 101, 0.08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: var(--text-secondary);
}

.nav-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-secondary);
  transition: all 0.2s;
}

.nav-item span {
  font-size: 11px;
  transition: all 0.2s;
}

@media (max-width: 980px) {
  .sample-kpi-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .authorized-overview-copy h2 {
    font-size: 22px;
  }

  .authorized-status-top {
    gap: 8px;
  }

  .report-delivery-hero {
    padding: 18px;
    border-radius: 24px;
  }

  .report-delivery-head {
    grid-template-columns: 1fr;
  }

  .report-delivery-actions {
    justify-content: flex-start;
  }

  .report-delivery-actions .tech-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .report-delivery-grid {
    grid-template-columns: 1fr;
  }

  .sample-report-head-main {
    grid-template-columns: 1fr;
  }

  .sample-report-head-side,
  .report-shell-meta {
    width: 100%;
  }

  .sample-report-title-row,
  .report-shell-title-row {
    align-items: flex-start;
    gap: 8px;
  }

  .sample-report-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .sample-report-company {
    font-size: 18px;
  }

  .sample-report-tax-chip {
    width: 100%;
  }

  .sample-report-intro {
    font-size: 10px;
  }

  .formal-report-doc {
    gap: 14px;
  }

  .report-doc-cover,
  .report-doc-sheet,
  .task-section.report-doc-section {
    padding: 16px;
    border-radius: 20px;
  }

  .sample-report-title-row,
  .report-doc-title-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sample-report-company {
    font-size: 22px;
  }

  .report-cover-title {
    font-size: 28px;
    letter-spacing: 0.04em;
  }

  .sample-report-intro {
    font-size: 13px;
  }

  .sample-report-tax-chip,
  .sample-report-date-card {
    width: 100%;
    min-width: 0;
  }

  .shared-report-access-doc {
    gap: 6px;
  }

  .shared-report-cover {
    padding: 10px 10px 12px;
    border-radius: 20px;
  }

  .shared-report-cover-title {
    font-size: 18px;
    line-height: 1.1;
  }

  .shared-report-cover-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
  }

  .shared-report-cover-chip {
    padding: 6px 7px;
    border-radius: 10px;
  }

  .shared-report-cover-chip span {
    font-size: 8px;
  }

  .shared-report-cover-chip strong {
    font-size: 10px;
  }

  .shared-report-access-sheet {
    padding: 8px;
    border-radius: 16px;
  }

  .shared-report-access-card {
    padding: 0;
    border-radius: 0;
  }

  .shared-report-password-group {
    margin-bottom: 6px;
  }

  .shared-report-password-group .tech-input {
    padding: 10px 12px;
    min-height: 40px;
    border-radius: 10px;
  }

  .report-doc-summary-grid,
  .report-doc-meta-grid,
  .report-doc-info-grid,
  .sample-compact-metric-list,
  .sample-kpi-grid,
  .sample-kpi-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-structure-nav {
    top: 60px;
    gap: 22px;
    padding: 0 14px;
    margin: 0 10px;
  }

  .sample-tab-chip {
    min-height: 50px;
    padding: 14px 0 12px;
  }

  .sample-tab-chip strong {
    font-size: 16px;
  }

  .sample-table {
    min-width: 560px;
    font-size: 11px;
  }

  .sample-table th,
  .sample-table td {
    padding: 8px 10px;
  }

  .sample-tab-panel .info-row {
    grid-template-columns: 1fr;
    padding: 10px 12px;
  }

  .sample-tab-panel .info-label,
  .sample-tab-panel .info-value {
    font-size: 11px;
  }

  .report-view-main {
    padding: 8px 8px 12px;
  }

  .report-doc-cover {
    padding: 18px 16px 78px;
  }

  .shared-report-access-doc .shared-report-cover {
    padding: 10px 10px 12px;
    border-radius: 20px;
  }

  .report-doc-company-sheet {
    margin: -44px 10px 0;
    padding: 18px 14px 14px;
    border-radius: 22px 22px 0 0;
  }

  .report-promo-banner {
    margin: 16px 10px 0;
    padding: 10px;
    border-radius: 22px;
  }

  .report-promo-banner img {
    border-radius: 16px;
  }

  .report-doc-company-name {
    font-size: 22px;
  }

  .task-section.report-doc-section {
    margin: 0 10px;
    border-radius: 0 0 22px 22px;
  }

  .report-shell-head {
    grid-template-columns: 1fr;
  }

  .report-shell-copy h1 {
    font-size: 20px;
  }

  .report-section-title {
    font-size: 18px;
  }

  .sample-report-share-btn,
  .sample-report-copy-btn,
  .report-share-btn {
    flex: 1 1 0;
    min-width: 72px;
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .report-frame-card,
  .report-access-card {
    padding: 14px;
    border-radius: 20px;
  }

  .report-frame {
    min-height: calc(100vh - 280px);
  }
}

.nav-item.active svg {
  stroke: var(--primary);
  filter: drop-shadow(0 4px 10px rgba(25, 143, 122, 0.20));
}

.nav-item.active span {
  color: var(--primary);
}

/* 错误页 */
.error-content {
  text-align: center;
  padding: 60px 20px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.error-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* 交通银行蓝主题覆写 */
:root {
  --primary: #1f5aa6;
  --primary-dark: #163f78;
  --secondary: #82a9db;
  --bg-base: #f4f7fb;
  --bg-surface: rgba(250, 252, 255, 0.94);
  --bg-card: #ffffff;
  --bg-elevated: #e8eef7;
  --bg-soft: #edf3fc;
  --bg-dark: #1c3152;
  --text-primary: #1d2b3f;
  --text-secondary: #5f6f85;
  --text-muted: #8a98aa;
  --success: #2b8c63;
  --warning: #b7863b;
  --error: #c45a5a;
  --pending: #7d8ca0;
  --border: rgba(31, 90, 166, 0.12);
  --shadow-soft: 0 18px 40px rgba(22, 63, 120, 0.08);
  --shadow-card: 0 10px 24px rgba(22, 63, 120, 0.06);
  --glow: 0 14px 28px rgba(31, 90, 166, 0.14);
}

html,
body {
  background:
    radial-gradient(circle at top left, rgba(130, 169, 219, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 90, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
}

.page::before {
  background:
    radial-gradient(circle at 10% 18%, rgba(130, 169, 219, 0.08), transparent 20%),
    radial-gradient(circle at 86% 12%, rgba(31, 90, 166, 0.08), transparent 18%);
}

.tech-header {
  background: rgba(249, 252, 255, 0.88);
  border-bottom-color: rgba(31, 90, 166, 0.08);
}

.logo-icon,
.scan-logo {
  background: linear-gradient(135deg, #1f5aa6 0%, #4a7fc2 100%);
  box-shadow: 0 10px 24px rgba(31, 90, 166, 0.16);
}

.user-avatar:hover {
  box-shadow: 0 10px 24px rgba(31, 90, 166, 0.12);
}

.hero-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(238, 244, 252, 0.96) 100%);
}

.hero-glow {
  background: radial-gradient(circle, rgba(31, 90, 166, 0.18) 0%, rgba(130, 169, 219, 0.08) 42%, transparent 74%);
  opacity: 0.85;
}

.hero-title {
  background: linear-gradient(135deg, #17365d 0%, var(--primary) 62%, #5f89c6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-avatar {
  background: linear-gradient(135deg, rgba(31, 90, 166, 0.12) 0%, rgba(130, 169, 219, 0.18) 100%);
}

.profile-tier,
.report-shell-eyebrow {
  background: rgba(31, 90, 166, 0.10);
}

.profile-note,
.feedback-reply,
.report-shell-notice,
.report-share-tips span {
  background: rgba(237, 243, 252, 0.88);
  border-color: rgba(31, 90, 166, 0.12);
}

.feedback-card,
.scan-form-container,
.auth-form,
.report-frame-card,
.report-access-card,
.report-frame-card,
.report-access-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 251, 0.96) 100%);
}

.feedback-reply.is-empty {
  background: rgba(125, 140, 160, 0.10);
}

.tech-btn.secondary,
.stat-card-action,
.user-avatar,
.back-btn {
  background: rgba(255, 255, 255, 0.92);
}

.security-notice {
  background: rgba(43, 140, 99, 0.08);
  border-color: rgba(43, 140, 99, 0.16);
}

.success-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #5f89c6 100%);
  box-shadow: 0 14px 28px rgba(31, 90, 166, 0.18);
}

.success-icon.complete {
  background: linear-gradient(135deg, var(--success) 0%, #4da67c 100%);
  box-shadow: 0 0 24px rgba(43, 140, 99, 0.24);
}

.verify-code {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(31, 90, 166, 0.12);
}

.qr-section {
  background: linear-gradient(180deg, rgba(232, 238, 247, 0.84) 0%, rgba(237, 243, 252, 0.72) 100%);
}

.upgrade-inline-card {
  border-color: rgba(130, 169, 219, 0.26);
  background: linear-gradient(135deg, rgba(236, 243, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.scan-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(244, 247, 251, 0) 100%);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(31, 90, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 90, 166, 0.04) 1px, transparent 1px);
}

.bg-glow {
  background: radial-gradient(circle, rgba(31, 90, 166, 0.18) 0%, transparent 70%);
}

.logo-ring::before {
  border-color: rgba(130, 169, 219, 0.85);
}

.login-tabs {
  background: rgba(246, 249, 253, 0.9);
}

.tech-toast {
  background: rgba(255, 255, 255, 0.96);
}

.tech-modal-overlay {
  background: rgba(28, 49, 82, 0.22);
}

.sample-tab-chip:hover {
  background: rgba(31, 90, 166, 0.06);
}

.sample-tab-chip.active {
  background: linear-gradient(145deg, rgba(237, 243, 252, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
  border-color: rgba(31, 90, 166, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 6px 14px rgba(31, 90, 166, 0.08);
}

.sample-kpi-card,
.sample-table-wrap,
.authorized-status-card.is-pending,
.report-delivery-stat {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(31, 90, 166, 0.08);
}

.sample-table th {
  background: rgba(237, 243, 252, 0.76);
}

.sample-table-total td {
  background: rgba(130, 169, 219, 0.16);
}

.sample-note {
  background: rgba(237, 243, 252, 0.72);
}

.report-delivery-hero {
  background:
    radial-gradient(circle at top right, rgba(130, 169, 219, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 243, 252, 0.94) 100%);
  border-color: rgba(31, 90, 166, 0.12);
}

.authorized-status-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(31, 90, 166, 0.10);
}

.authorized-status-card.is-processing {
  background: rgba(237, 243, 252, 0.92);
  border-color: rgba(31, 90, 166, 0.18);
}

.authorized-status-card.is-success {
  background: rgba(235, 246, 240, 0.94);
  border-color: rgba(43, 140, 99, 0.18);
}

.authorized-status-card.is-error {
  background: rgba(252, 241, 241, 0.94);
  border-color: rgba(196, 90, 90, 0.2);
}

.authorized-status-pill.is-processing {
  background: rgba(31, 90, 166, 0.12);
}

.bottom-nav {
  background: rgba(249, 252, 255, 0.92);
  border-top-color: rgba(31, 90, 166, 0.08);
  box-shadow: 0 -10px 30px rgba(22, 63, 120, 0.08);
}

.nav-item.active svg {
  filter: drop-shadow(0 4px 10px rgba(31, 90, 166, 0.18));
}

.upgrade-chip,
.scan-company-sheet-close {
  background: rgba(31, 90, 166, 0.08);
}

.sample-summary-card,
.sample-report-date-card,
.sample-structure-nav,
.scan-company-sheet {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 243, 252, 0.82) 100%);
  border-color: rgba(31, 90, 166, 0.08);
  box-shadow: 0 8px 18px rgba(22, 63, 120, 0.06);
}

.sample-report-share-btn,
.sample-report-copy-btn,
.report-share-btn {
  border-color: rgba(31, 90, 166, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 14px rgba(31, 90, 166, 0.06);
}

.sample-report-share-btn:hover,
.sample-report-copy-btn:hover,
.report-share-btn:hover {
  border-color: rgba(31, 90, 166, 0.24);
  background: rgba(237, 243, 252, 0.92);
  box-shadow: 0 8px 18px rgba(31, 90, 166, 0.10);
}

/* report page mobile style override */
.formal-report-doc-v2 {
  gap: 0;
}

.formal-report-doc-v2 .report-doc-cover {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 94px;
  border-radius: 0;
  border: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(89, 112, 255, 0.24), transparent 28%),
    radial-gradient(circle at 76% 70%, rgba(255, 255, 255, 0.15), transparent 12%),
    radial-gradient(circle at 64% 52%, rgba(255, 255, 255, 0.12), transparent 10%),
    linear-gradient(135deg, #05103b 0%, #0c236f 46%, #08173e 100%);
  box-shadow: 0 18px 42px rgba(10, 29, 89, 0.18);
}

.formal-report-doc-v2 .report-doc-cover::before,
.formal-report-doc-v2 .report-doc-cover::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.formal-report-doc-v2 .report-doc-cover::before {
  width: 280px;
  height: 280px;
  left: -120px;
  top: -96px;
  background: radial-gradient(circle, rgba(109, 126, 255, 0.22), transparent 70%);
}

.formal-report-doc-v2 .report-doc-cover::after {
  width: 220px;
  height: 220px;
  right: -72px;
  bottom: -108px;
  background: radial-gradient(circle, rgba(165, 214, 255, 0.18), transparent 70%);
}

.formal-report-doc-v2 .report-doc-kicker {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.formal-report-doc-v2 .report-cover-title {
  color: #ffffff;
  font-size: 42px;
  letter-spacing: 0.08em;
  line-height: 1.16;
}

.formal-report-doc-v2 .report-cover-intro {
  max-width: 540px;
  color: rgba(233, 240, 255, 0.84);
  font-size: 14px;
}

.formal-report-doc-v2 .report-doc-date-card,
.formal-report-doc-v2 .report-doc-summary-card,
.formal-report-doc-v2 .sample-report-tax-chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.formal-report-doc-v2 .sample-report-date-card span,
.formal-report-doc-v2 .report-doc-summary-card span,
.formal-report-doc-v2 .sample-report-tax-label {
  color: rgba(226, 236, 255, 0.72);
}

.formal-report-doc-v2 .sample-report-date-card strong,
.formal-report-doc-v2 .report-doc-summary-card strong,
.formal-report-doc-v2 .sample-report-tax-value {
  color: #ffffff;
}

.formal-report-doc-v2 .sample-report-share-btn,
.formal-report-doc-v2 .sample-report-copy-btn,
.formal-report-doc-v2 .report-share-btn {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  box-shadow: none;
}

.formal-report-doc-v2 .sample-report-share-btn:hover,
.formal-report-doc-v2 .sample-report-copy-btn:hover,
.formal-report-doc-v2 .report-share-btn:hover {
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
}

.formal-report-doc-v2 .report-doc-company-sheet {
  position: relative;
  z-index: 2;
  margin: -52px 16px 0;
  padding: 24px 18px 16px;
  border-radius: 26px 26px 0 0;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(18, 33, 72, 0.10);
}

.formal-report-doc-v2 .report-doc-company-name {
  color: #222935;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: break-all;
}

.formal-report-doc-v2 .sample-structure-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0 18px;
  margin: 0 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.97);
  border: none;
  border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  box-shadow: none;
  overflow: hidden;
}

.formal-report-doc-v2 .sample-tab-chip {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 60px;
  padding: 16px 8px 14px;
  border-radius: 0;
  border: none;
  background: transparent;
  text-align: center;
}

.formal-report-doc-v2 .sample-tab-chip span {
  display: none;
}

.formal-report-doc-v2 .sample-tab-chip strong {
  color: #7b8598;
  font-size: 15px;
  line-height: 1.35;
  word-break: break-word;
  transition: color 0.2s ease;
}

.formal-report-doc-v2 .sample-tab-chip.active {
  background: transparent;
}

.formal-report-doc-v2 .sample-tab-chip.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f5aa6 0%, #6f9ed8 100%);
}

.formal-report-doc-v2 .sample-tab-chip.active strong {
  color: #163f78;
}

.formal-report-doc-v2 .sample-tab-chip:hover strong {
  color: #355f9a;
}

.formal-report-doc-v2 .sample-tab-panel {
  display: none;
}

.formal-report-doc-v2 .sample-tab-panel.active {
  display: block;
}

.formal-report-doc-v2 .task-section.report-doc-section {
  margin: 0 16px;
  border-radius: 0 0 24px 24px;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(18, 33, 72, 0.08);
}

.formal-report-doc-v2 .report-doc-section-index {
  display: none;
}

.formal-report-doc-v2 .report-doc-section-header h3 {
  font-size: 20px;
}

.formal-report-doc-v2 .sample-subsection-title {
  color: #4b5567;
}

.formal-report-doc-v2 .sample-kpi-card {
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.formal-report-doc-v2 .sample-table-wrap {
  overflow: hidden;
}

.formal-report-doc-v2 .sample-table {
  min-width: 0;
  table-layout: fixed;
  font-size: 11px;
}

.formal-report-doc-v2 .sample-table th {
  color: #7b8598;
  font-weight: 500;
  background: #f3f7ff;
  font-size: 11px;
}

.formal-report-doc-v2 .sample-table th,
.formal-report-doc-v2 .sample-table td {
  padding: 8px 6px;
  word-break: break-all;
  line-height: 1.4;
}

.formal-report-doc-v2 .sample-table tbody tr:nth-child(even) td {
  background: #f5f9ff;
}

.formal-report-doc-v2 .sample-table-total td {
  background: #a8d1ef;
}

.formal-report-doc-v2 .sample-tab-panel .info-row {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  background: transparent;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
}

.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid {
  border: 1px solid rgba(17, 74, 150, 0.08);
  border-radius: 18px;
  overflow: hidden;
  gap: 0;
  grid-template-columns: 1fr;
  background: #fff;
}

.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-row {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 16px;
}

.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-label,
.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-value {
  font-size: 12px;
  line-height: 1.45;
}

.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-value {
  font-weight: 500;
}

.formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .report-inline-copy {
  font-size: 11px;
}

.report-inline-copy {
  margin-left: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #1d39ff;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
}

.report-inline-copy:hover {
  text-decoration: underline;
}

.formal-report-doc-v2 .tech-btn.secondary.sample-report-share-btn,
.formal-report-doc-v2 .tech-btn.secondary.sample-report-copy-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.55);
}

.formal-report-doc-v2 .report-doc-cover .report-doc-cover-side {
  width: auto;
  align-items: flex-end;
  justify-content: flex-start;
}

.formal-report-doc-v2 .report-doc-cover .sample-report-share-btn {
  display: inline-flex;
  width: auto;
  min-width: 92px;
  max-width: 100%;
  min-height: 34px;
  height: 34px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  overflow: visible;
  white-space: nowrap;
  text-indent: 0;
  line-height: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  box-sizing: border-box;
}

.formal-report-doc-v2 .report-doc-cover .sample-report-share-btn-text {
  display: block;
  color: inherit;
  -webkit-text-fill-color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.formal-report-doc-v2 .tech-btn.secondary.sample-report-share-btn:hover,
.formal-report-doc-v2 .tech-btn.secondary.sample-report-copy-btn:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 640px) {
  .formal-report-doc-v2 .report-doc-cover {
    padding: 18px 16px 78px;
  }

  .formal-report-doc-v2 .report-cover-title {
    font-size: 28px;
    letter-spacing: 0.04em;
  }

  .formal-report-doc-v2 .report-doc-company-sheet {
    margin: -44px 10px 0;
    padding: 18px 14px 12px;
    border-radius: 22px 22px 0 0;
  }

  .formal-report-doc-v2 .report-doc-company-name {
    font-size: 22px;
  }

  .formal-report-doc-v2 .report-doc-title-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
  }

  .formal-report-doc-v2 .report-doc-cover .report-doc-cover-side {
    width: auto;
    align-items: flex-end;
    justify-content: center;
  }

  .formal-report-doc-v2 .report-doc-cover .sample-report-share-btn {
    min-width: 92px;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    font-size: 11px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    white-space: nowrap;
    overflow: visible;
  }

  .formal-report-doc-v2 .sample-structure-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 8px;
    margin: 0 10px;
  }

  .formal-report-doc-v2 .sample-tab-chip {
    min-height: 42px;
    padding: 10px 2px 8px;
  }

  .formal-report-doc-v2 .sample-tab-chip strong {
    font-size: 10px;
    line-height: 1.15;
  }

  .formal-report-doc-v2 .sample-table {
    min-width: 0;
    font-size: 10px;
  }

  .formal-report-doc-v2 .sample-table thead {
    display: none;
  }

  .formal-report-doc-v2 .sample-table,
  .formal-report-doc-v2 .sample-table tbody,
  .formal-report-doc-v2 .sample-table tr,
  .formal-report-doc-v2 .sample-table td {
    display: block;
    width: 100%;
  }

  .formal-report-doc-v2 .sample-table tr {
    padding: 6px 0;
    border-bottom: 1px solid rgba(17, 74, 150, 0.08);
  }

  .formal-report-doc-v2 .sample-table tbody tr:last-child {
    border-bottom: none;
  }

  .formal-report-doc-v2 .sample-table th,
  .formal-report-doc-v2 .sample-table td {
    padding: 6px 10px;
    border-bottom: none;
    font-size: 10px;
    line-height: 1.35;
  }

  .formal-report-doc-v2 .sample-table td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    text-align: left;
  }

  .formal-report-doc-v2 .sample-table td::before {
    content: attr(data-label);
    color: #7b8598;
    font-weight: 600;
    word-break: break-all;
  }

  .formal-report-doc-v2 .sample-table td.sample-table-empty-cell {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .formal-report-doc-v2 .sample-table td.sample-table-empty-cell::before {
    content: none;
  }

  .formal-report-doc-v2 .sample-table-matrix thead {
    display: table-header-group;
  }

  .formal-report-doc-v2 .sample-table-structured thead {
    display: table-header-group;
  }

  .formal-report-doc-v2 .sample-table-matrix {
    display: table;
    width: 100%;
  }

  .formal-report-doc-v2 .sample-table-structured {
    display: table;
    width: 100%;
  }

  .formal-report-doc-v2 .sample-table-matrix tbody {
    display: table-row-group;
  }

  .formal-report-doc-v2 .sample-table-structured tbody {
    display: table-row-group;
  }

  .formal-report-doc-v2 .sample-table-matrix tr {
    display: table-row;
    padding: 0;
    border-bottom: none;
  }

  .formal-report-doc-v2 .sample-table-structured tr {
    display: table-row;
    padding: 0;
    border-bottom: none;
  }

  .formal-report-doc-v2 .sample-table-matrix th,
  .formal-report-doc-v2 .sample-table-matrix td {
    display: table-cell;
    width: auto;
    padding: 10px 4px;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
  }

  .formal-report-doc-v2 .sample-table-structured th,
  .formal-report-doc-v2 .sample-table-structured td {
    display: table-cell;
    width: auto;
    padding: 10px 4px;
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
  }

  .formal-report-doc-v2 .sample-table-matrix td::before {
    content: none;
  }

  .formal-report-doc-v2 .sample-table-structured td::before {
    content: none;
  }

  .formal-report-doc-v2 .sample-table-matrix .sample-table-empty-cell {
    display: table-cell;
    padding: 12px 8px;
  }

  .formal-report-doc-v2 .sample-table-structured .sample-table-cell-wrap {
    text-align: left;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .formal-report-doc-v2 .sample-table-structured .sample-table-empty-cell {
    display: table-cell;
    padding: 12px 8px;
    text-align: center;
  }

  .formal-report-doc-v2 .sample-table-shareholder .sample-table-col-0 {
    width: 68%;
  }

  .formal-report-doc-v2 .sample-table-shareholder .sample-table-col-1 {
    width: 32%;
  }

  .formal-report-doc-v2 .sample-table-shareholder .sample-table-cell-wrap {
    text-align: center;
  }

  .formal-report-doc-v2 .sample-tab-panel .info-row {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 14px;
  }

  .formal-report-doc-v2 .sample-tab-panel .info-label,
  .formal-report-doc-v2 .sample-tab-panel .info-value {
    font-size: 11px;
    line-height: 1.55;
  }

  .formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }

  .formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-label,
  .formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .info-value {
    font-size: 10px;
    line-height: 1.45;
  }

  .formal-report-doc-v2 .sample-metric-list.report-doc-info-grid .report-inline-copy {
    margin-left: 6px;
    font-size: 10px;
  }

  .formal-report-doc-v2 .sample-compact-metric-item {
    gap: 3px;
    padding: 7px 8px;
  }

  .formal-report-doc-v2 .sample-compact-metric-item span {
    font-size: 9px;
    line-height: 1.25;
  }

  .formal-report-doc-v2 .sample-compact-metric-item strong {
    font-size: 10px;
    line-height: 1.2;
  }

  .formal-report-doc-v2 .task-section.report-doc-section {
    margin: 0 10px;
    border-radius: 0 0 22px 22px;
  }
}

.site-status-filter-chip.active,
.task-status-filter-chip.active {
  background: linear-gradient(135deg, rgba(31, 90, 166, 0.12) 0%, rgba(130, 169, 219, 0.14) 100%);
  border-color: rgba(31, 90, 166, 0.20);
  box-shadow: 0 8px 18px rgba(31, 90, 166, 0.08);
}

.task-toolbar {
  border-color: rgba(31, 90, 166, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(244, 247, 251, 0.9) 100%);
  box-shadow: 0 5px 14px rgba(22, 63, 120, 0.04);
}

.scan-company-sheet-head {
  border-bottom-color: rgba(31, 90, 166, 0.08);
}

.scan-company-option:hover {
  background: rgba(237, 243, 252, 0.72);
}

/* 交通银行蓝 - 企业网银方向强化 */
:root {
  --primary: #114a96;
  --primary-dark: #0c3874;
  --secondary: #6f93c6;
  --bg-base: #f3f6fa;
  --bg-surface: rgba(251, 253, 255, 0.98);
  --bg-elevated: #edf2f8;
  --bg-soft: #eef4fb;
  --bg-dark: #183153;
  --text-primary: #1a2940;
  --text-secondary: #607189;
  --text-muted: #8898ab;
  --border: rgba(17, 74, 150, 0.10);
  --shadow-soft: 0 12px 28px rgba(24, 49, 83, 0.06);
  --shadow-card: 0 6px 18px rgba(24, 49, 83, 0.05);
  --glow: 0 10px 20px rgba(17, 74, 150, 0.10);
}

html,
body {
  background: linear-gradient(180deg, #f8fbfe 0%, #f2f6fb 100%);
}

.page::before {
  background: none;
}

.tech-header,
.bottom-nav {
  background: rgba(252, 254, 255, 0.96);
}

.logo-icon,
.scan-logo,
.tech-btn.primary,
.success-icon {
  background: linear-gradient(180deg, #1656a8 0%, #114a96 100%);
  box-shadow: 0 8px 18px rgba(17, 74, 150, 0.14);
}

.tech-btn.primary:hover {
  box-shadow: 0 10px 20px rgba(17, 74, 150, 0.16);
}

.hero-section,
.feedback-card,
.scan-form-container,
.auth-form,
.report-frame-card,
.report-access-card,
.sample-summary-card,
.sample-report-date-card,
.sample-structure-nav,
.scan-company-sheet,
.task-toolbar,
.report-delivery-hero {
  background: rgba(255, 255, 255, 0.98);
}

.hero-section,
.report-delivery-hero {
  border-color: rgba(17, 74, 150, 0.10);
}

.hero-glow,
.bg-glow {
  display: none;
}

.hero-title {
  background: none;
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
}

.profile-avatar,
.profile-tier,
.report-shell-eyebrow,
.profile-note,
.feedback-reply,
.report-shell-notice,
.report-share-tips span,
.sample-note,
.sample-table th,
.authorized-status-card.is-processing,
.authorized-status-pill.is-processing,
.upgrade-chip,
.scan-company-sheet-close {
  background: var(--bg-soft);
}

.profile-avatar {
  border: 1px solid rgba(17, 74, 150, 0.08);
}

.tech-btn.secondary,
.stat-card-action,
.user-avatar,
.back-btn,
.sample-report-share-btn,
.sample-report-copy-btn,
.report-share-btn {
  background: #ffffff;
  border-color: rgba(17, 74, 150, 0.12);
  box-shadow: none;
}

.tech-btn.secondary:hover,
.sample-report-share-btn:hover,
.sample-report-copy-btn:hover,
.report-share-btn:hover {
  background: var(--bg-soft);
  box-shadow: none;
}

@media (max-width: 640px) {
  .tech-modal-overlay {
    align-items: flex-end;
    padding: 8px;
  }

  .share-modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
  }

  .share-modal {
    width: 100%;
    max-height: min(88vh, 720px);
    border-radius: 22px;
  }

  .share-modal-head {
    padding: 14px 14px 8px;
  }

  .share-modal-head .tech-modal-title {
    font-size: 16px;
  }

  .share-modal-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    padding: 10px 14px 12px;
    overflow: hidden;
    min-height: 0;
  }

  .share-field-password,
  .share-modal-choice-grid,
  .share-field-recipient,
  .share-field-purpose,
  .share-compliance-box {
    grid-column: 1 / -1;
  }

  .share-modal .form-group {
    margin-bottom: 0;
  }

  .share-modal-choice-grid {
    gap: 8px;
  }

  .share-modal .form-group label {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .share-modal .tech-input,
  .share-modal .tech-select {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .share-modal .share-helper-text {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
  }

  .share-modal .share-compliance-box {
    margin-top: 0;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .share-modal .share-compliance-copy {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .share-modal .consent-check {
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  .share-modal-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px 14px;
  }

  .share-modal-actions .tech-btn {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

.success-icon.complete {
  background: linear-gradient(180deg, #39946a 0%, #2b8c63 100%);
  box-shadow: 0 8px 18px rgba(43, 140, 99, 0.14);
}

.verify-code,
.sample-kpi-card,
.sample-table-wrap,
.authorized-status-card,
.report-delivery-stat {
  background: #ffffff;
}

.scan-header,
.qr-section,
.upgrade-inline-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.94) 100%);
}

.login-tabs,
.tech-toast {
  background: rgba(255, 255, 255, 0.98);
}

.sample-tab-chip.active,
.site-status-filter-chip.active,
.task-status-filter-chip.active {
  background: var(--bg-soft);
  border-color: rgba(17, 74, 150, 0.16);
  box-shadow: none;
}

.task-toolbar,
.sample-summary-card,
.sample-report-date-card,
.sample-structure-nav,
.scan-company-sheet,
.report-delivery-hero {
  box-shadow: var(--shadow-card);
}

.nav-item.active svg {
  filter: none;
}

.page.auth .auth-container {
  max-width: 428px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.page.auth .auth-bg,
.page.auth .bg-grid,
.page.auth .bg-glow {
  display: none;
}

.page.auth .auth-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  overflow: hidden;
}

.page.auth .logo-ring {
  display: none;
}

.page.auth .logo-ring::before {
  display: none;
}

.page.auth .auth-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.page.auth .auth-subtitle {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.7;
}

.page.auth .login-tabs {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(17, 74, 150, 0.08);
}

.page.auth .login-tab {
  border-radius: 10px;
  font-weight: 600;
}

.page.auth .login-tab.active {
  background: linear-gradient(180deg, #1656a8 0%, #114a96 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(17, 74, 150, 0.14);
}

.page.auth .auth-form {
  padding: 28px 22px 22px;
  border-radius: 20px;
  border-color: rgba(17, 74, 150, 0.10);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 12px 28px rgba(24, 49, 83, 0.06);
}

.page.auth .form-group {
  margin-bottom: 16px;
}

.page.auth .form-group label {
  color: #4d607a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.page.auth .tech-input {
  min-height: 52px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 14px;
  border-color: rgba(17, 74, 150, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page.auth .tech-input:focus {
  border-color: rgba(17, 74, 150, 0.42);
  box-shadow: 0 0 0 3px rgba(17, 74, 150, 0.10);
}

.page.auth .input-with-btn {
  align-items: stretch;
}

.page.auth .input-with-btn .tech-btn {
  min-width: 118px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 14px;
}

.page.auth .auth-submit {
  margin-top: 12px;
}

.page.auth .auth-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 74, 150, 0.08);
}

.page.auth .auth-links a {
  color: #2b4f83;
  font-weight: 600;
}

.report-standalone-frame,
.sample-report-standalone-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
  background: transparent;
}

.page.sample-report-host-page {
  padding: 0;
  min-height: 100vh;
  background: #f3f0ea;
}

/* 样例报告 - 紧凑核验简报 */
.sample-brief-report {
  max-width: 100%;
}

.sample-brief-cover {
  padding: 16px 14px 14px;
  border-radius: 22px;
  border: 1px solid rgba(31, 35, 32, 0.10);
  background: linear-gradient(180deg, rgba(251,250,247,0.97), rgba(244,240,232,0.98));
  box-shadow: 0 8px 18px rgba(31, 35, 32, 0.05);
}

.sample-brief-cover-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.sample-brief-company {
  margin: 0;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 700;
  color: #1f2320;
}

.sample-brief-company-sub {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  color: #666d67;
}

.sample-brief-share-btn {
  min-width: 84px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(31, 35, 32, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  color: #1f2320;
  font-size: 11px;
  font-weight: 700;
}

.sample-brief-summary-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sample-brief-summary-card {
  min-width: 0;
  padding: 10px 10px 9px;
  border-radius: 12px;
  border: 1px solid rgba(31, 35, 32, 0.08);
  background: rgba(255,255,255,0.56);
}

.sample-brief-summary-card b {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

.sample-brief-summary-card span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.42;
  color: #666d67;
}

.sample-brief-summary-card.good b {
  color: #365847;
}

.sample-brief-summary-card.warn b {
  color: #8e6d3d;
}

.sample-brief-summary-card.risk b {
  color: #9a5147;
}

.sample-brief-summary-note {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #666d67;
}

.sample-brief-structure-nav {
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(31, 35, 32, 0.10);
  background: rgba(251,250,247,0.90);
  box-shadow: 0 8px 18px rgba(31, 35, 32, 0.04);
  backdrop-filter: blur(10px);
}

.sample-brief-report .task-section.report-doc-section {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251,250,247,0.97), rgba(244,240,232,0.98));
  border: 1px solid rgba(31, 35, 32, 0.10);
  box-shadow: 0 8px 18px rgba(31, 35, 32, 0.04);
}

.sample-brief-report .report-doc-section-header {
  margin-bottom: 10px;
}

.sample-brief-report .report-doc-section-header h3 {
  font-size: 14px;
  color: #1f2320;
}

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

.sample-brief-item {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid rgba(31, 35, 32, 0.08);
  background: rgba(255,255,255,0.52);
}

.sample-brief-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sample-brief-item-head span {
  display: block;
  font-size: 11px;
  color: #666d67;
}

.sample-brief-item strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
  color: #1f2320;
}

.sample-brief-copy {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid rgba(31, 35, 32, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: #666d67;
  font-size: 10px;
  line-height: 1.5;
}

.sample-brief-subsection {
  margin-top: 12px;
}

.sample-brief-subsection-title {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1f2320;
}

.sample-brief-list {
  display: grid;
  gap: 8px;
}

.sample-brief-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(31, 35, 32, 0.08);
}

.sample-brief-row strong {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #1f2320;
}

.sample-brief-row small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: #666d67;
}

.sample-brief-row b {
  font-size: 12px;
  white-space: nowrap;
  color: #1f2320;
}

.sample-brief-empty {
  padding: 10px;
  border-radius: 11px;
  border: 1px dashed rgba(31, 35, 32, 0.18);
  font-size: 12px;
  color: #666d67;
  background: rgba(255,255,255,0.38);
}

.sample-brief-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sample-brief-panel {
  min-width: 0;
}

@media (max-width: 640px) {
  .sample-brief-cover-top {
    grid-template-columns: 1fr;
  }

  .sample-brief-share-btn {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .sample-brief-grid,
  .sample-brief-summary-grid,
  .sample-brief-split {
    grid-template-columns: 1fr;
  }
}
