/* 企业信息管理平台 - 按设计图样式 */
:root {
  /* 设计图：系统操作蓝更接近 #409EFF；登录页背景为更深的蓝 */
  --blue-main: #409EFF;
  --blue-hover: #66B1FF;
  --blue-login: #3465FF;
  --blue-login-hover: #5a7dff;
  --red-exit: #f5222d;
  --red-delete: #f5222d;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-placeholder: #aaaaaa;
  --border-light: #d9d9d9;
  --bg-page: #f5f5f5;
  --bg-card: #fff;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 4px;
  --radius-card: 8px;
  --radius-card-lg: 16px;
  /* 字体与间距 token（用于像素级统一） */
  --fs-base: 14px;
  --lh-base: 22px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --control-h-32: 32px;
  --control-h-36: 36px;
  --header-h: 56px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-regular);
  color: var(--text-dark);
  background: var(--bg-page);
}

/* ========== 登录页（登录.png）========== */
.login-page {
  min-height: 100vh;
  background: var(--blue-login);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  width: 100%;
  gap: 72px;
}
.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 48px 40px;
  width: 360px;
}
.login-card h1 {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--text-dark);
  text-align: center;
}
.login-card .form-group {
  margin-bottom: 24px;
}
.login-card .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: var(--fs-base);
}
.login-card .form-group input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  font-size: var(--fs-base);
  background: #fff;
}
.login-card .form-group input:focus {
  outline: none;
  border-bottom-color: var(--blue-login);
}
.login-card .form-group input::placeholder {
  color: var(--text-placeholder);
}
.login-card .btn-login {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  background: var(--blue-login);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: var(--fw-medium);
  cursor: pointer;
}
.login-card .btn-login:focus {
  outline: none;
}
.login-card .btn-login:hover {
  background: var(--blue-login-hover);
}
.login-flash {
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #fff2f0;
  color: var(--red-exit);
  border-radius: var(--radius);
  font-size: 13px;
}
.login-illustration {
  flex: 1;
  max-width: 480px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-illustration img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========== 报告真伪验证页（公众号链接-扫码后验证真伪.png）像素级复刻 ========== */
.verify-page {
  min-height: 100vh;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0;
  box-sizing: border-box;
}
.verify-card {
  background: #FFFFFF;
  width: 375px;
  max-width: 100%;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 50px 0;
  box-sizing: border-box;
  text-align: center;
}
.verify-card h1 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}
.verify-card .verify-desc {
  margin: 0 auto 35px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 22px;
}
.verify-card .form-group {
  margin: 0 24px 24px;
}
.verify-card .form-group input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 14px;
  background: #FFFFFF;
  box-sizing: border-box;
}
.verify-card .form-group input::placeholder {
  color: #BBBBBB;
}
.verify-card .form-group input:focus {
  outline: none;
  border-color: #1890FF;
}
.verify-card .form-group input::-webkit-input-placeholder {
  color: #BBBBBB;
}
.verify-card .form-group input::-moz-placeholder {
  color: #BBBBBB;
}
.verify-card .btn-verify {
  display: block;
  width: calc(100% - 48px);
  height: 44px;
  margin: 0 24px 50px;
  padding: 0;
  background: #1890FF;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}
.verify-card .btn-verify:hover {
  background: #40A9FF;
}
.verify-card .verify-error {
  margin: 0 24px 20px;
  padding: 10px 12px;
  background: #FFF2F0;
  color: #F5222D;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.verify-card .verify-result {
  margin: 0 24px;
  padding: 16px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}
.verify-card .verify-result.valid {
  background: #F6FFED;
  color: #52C41A;
}
.verify-card .verify-result.invalid {
  background: #FFF2F0;
  color: #F5222D;
}

/* ========== 公共布局（列表/表单顶栏：浅灰背景）========== */
.app-header {
  background: #f5f5f5;
  border-bottom: 1px solid var(--border-light);
  padding: 0 var(--space-24);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-header .platform-name {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text-dark);
}
.app-header .header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-header .header-right .username {
  color: var(--text-gray);
  font-size: 14px;
}
.app-header .header-right .header-sep {
  width: 1px;
  height: 14px;
  background: #d9d9d9;
}
.app-header .header-right .btn-logout {
  color: var(--red-exit);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-header .header-right .btn-logout:hover {
  text-decoration: underline;
}
.app-header .header-right .btn-logout .icon-logout {
  display: inline-flex;
  align-items: center;
  opacity: 0.95;
}
.app-header .header-right .btn-logout .icon-logout svg {
  width: 14px;
  height: 14px;
  stroke: var(--red-exit);
}

/* ========== 列表页（列表.png）========== */
.app-body { padding: var(--space-24); max-width: 1400px; margin: 0 auto; }
.app-body {
  padding: var(--space-24);
  max-width: none;        /* 列表页与页面等宽 */
  width: 100%;
  margin: 0;
}

.filter-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-20) var(--space-24);
  margin-bottom: 16px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.filter-row .filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-row .filter-item label {
  color: var(--text-dark);
  white-space: nowrap;
  font-size: 14px;
}
.filter-row input[type="text"],
.filter-row input[type="date"],
.filter-row select {
  height: var(--control-h-32);
  padding: 0 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  min-width: 140px;
}
.filter-row .keyword-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fafafa;
  padding: 0 10px;
  height: var(--control-h-32);
}
.filter-row .keyword-wrap input {
  border: none;
  outline: none;
  width: 160px;
  height: calc(var(--control-h-32) - 2px);
  padding: 0;
  background: transparent;
}
.filter-row .keyword-wrap .icon-search {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}
.filter-row .keyword-wrap .icon-search svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-placeholder);
}
.btn-search {
  height: var(--control-h-32);
  padding: 0 20px;
  background: var(--blue-main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-search .btn-search-icon {
  display: inline-flex;
  align-items: center;
}
.btn-search .btn-search-icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
}
.btn-search:hover {
  background: var(--blue-hover);
}

.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-20) var(--space-24);
  margin-bottom: 16px;
}
.content-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.content-title-row h2 {
  margin: 0;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
}
.content-title-row .btn-add {
  color: var(--blue-main);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.content-title-row .btn-add:hover {
  color: var(--blue-hover);
}

.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.data-table th {
  background: #f0f0f0;
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
}
.data-table tbody tr:nth-child(even) {
  background: #fafafa;
}
.data-table tbody tr:hover {
  background: #f0f7ff;
}
.data-table .link-blue {
  color: var(--blue-main);
  text-decoration: none;
  margin-right: 12px;
}
.data-table .link-blue:hover {
  text-decoration: underline;
}
.data-table .link-red {
  color: var(--red-delete);
  text-decoration: none;
}
.data-table .link-red:hover {
  text-decoration: underline;
}
.data-table .copy-url {
  color: var(--blue-main);
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.data-table .copy-url .copy-icon {
  display: inline-flex;
  align-items: center;
}
.data-table .copy-url .copy-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--blue-main);
}
.data-table .copy-url:hover {
  text-decoration: underline;
}
.data-table .mobile-link-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.data-table .mobile-link-text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-gray);
  font-size: 13px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: var(--control-h-32);
  padding: 0 8px;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  color: var(--text-dark);
  text-decoration: none;
  border: 1px solid var(--border-light);
  background: #fff;
}
.pagination a:hover {
  color: var(--blue-main);
  border-color: var(--blue-main);
}
.pagination .current {
  background: var(--blue-main);
  color: #fff;
  border-color: var(--blue-main);
}
.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ========== 表单页（添加新信息/详情）========== */
.page-title-row{
  max-width: 1400px;
  margin: 24px auto 20px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-title-row .page-title{
  margin: 0;
  padding: 0;
  max-width: none;
}
.page-back{
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #fff;
}
.page-back:hover{
  border-color: var(--blue-main);
  color: var(--blue-main);
}
.page-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 20px;
  padding: 0 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 24px 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.panel {
  border-bottom: 1px solid var(--border-light);
}
.panel:last-child { border-bottom: none; }
.panel-head {
  padding: 14px var(--space-24);
  background: #fafafa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: var(--fw-semibold);
  font-size: 15px;
  color: var(--text-dark);
  user-select: none;
}
.panel-head .toggle-icon {
  color: var(--blue-main);
  font-size: 18px;
  font-weight: 600;
}
.panel-head .toggle-icon .icon-plus,
.panel-head .toggle-icon .icon-minus {
  display: inline-flex;
  align-items: center;
}
.panel-head .toggle-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue-main);
}
.panel-head .toggle-icon .icon-minus {
  display: none;
}
.panel-head.is-open .toggle-icon .icon-plus {
  display: none;
}
.panel-head.is-open .toggle-icon .icon-minus {
  display: inline-flex;
}
.panel-body {
  padding: var(--space-24);
  display: none;
}
.panel-body.open {
  display: block;
}
.panel-body .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.panel-body .form-grid.full {
  grid-template-columns: 1fr;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: var(--fs-base);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: var(--fs-base);
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.shareholder-list { margin-bottom: 12px; }
.shareholder-item {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.shareholder-item input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  box-sizing: border-box;
}
.shareholder-item input::placeholder {
  color: var(--text-placeholder);
}
.shareholder-item input:focus {
  outline: none;
  border-color: var(--blue-main);
}
.shareholder-ratio-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shareholder-ratio-wrap input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  box-sizing: border-box;
}
.shareholder-ratio-wrap input::placeholder {
  color: var(--text-placeholder);
}
.shareholder-ratio-wrap input:focus {
  outline: none;
  border-color: var(--blue-main);
}
.shareholder-ratio-wrap .ratio-suffix {
  color: var(--text-gray);
  font-size: 14px;
  flex-shrink: 0;
}
.shareholder-item .btn-remove-row {
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.btn-add-shareholder {
  color: var(--blue-main);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-add-shareholder:hover {
  color: var(--blue-hover);
}
.btn-remove-row {
  color: var(--red-delete);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
}
.btn-remove-row:hover {
  text-decoration: underline;
}

.form-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
}
.btn-save {
  height: 40px;
  padding: 0 32px;
  background: var(--blue-main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
}
.btn-save:hover {
  background: var(--blue-hover);
}

/* ========== 报告页（用户页面-基本信息.png）========== */
.report-page {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}
.report-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
  pointer-events: none;
}
.report-page .report-topbar,
.report-page .report-tabs-dark,
.report-page .app-body-section {
  position: relative;
  z-index: 1;
}
.report-page .app-body-section {
  padding: 0 24px 24px;
}
.report-body-with-bg .report-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 报告页顶栏（深色）：标题左、分享右 */
.report-topbar {
  background: #2c2c2c;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 var(--space-24);
}
.report-topbar-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-topbar-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.report-header {
  max-width: 900px;
  margin: 0 auto 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-header-dark {
  background: #2c2c2c;
  margin-bottom: 0;
  padding: 16px 24px;
  max-width: none;
  width: 100%;
}
.report-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-header-dark h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.report-header h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}
.btn-share {
  height: 36px;
  padding: 0 20px;
  background: var(--blue-main);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-share .share-icon {
  font-size: 14px;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
}
.btn-share:hover {
  background: var(--blue-hover);
  color: #fff;
}

.report-tabs {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  gap: 32px;
}
.report-tabs-dark {
  background: #2c2c2c;
  border-bottom-color: #444;
  padding: 0 24px;
  max-width: none;
  margin-bottom: 24px;
  width: 100%;
}
.report-tabs-dark .report-tabs-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  white-space: nowrap;
}
.report-tabs-dark .report-tabs-inner::-webkit-scrollbar {
  height: 0;
}
.report-tabs a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-gray);
  text-decoration: none;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.report-tabs-dark a {
  color: rgba(255,255,255,0.85);
}
.report-tabs a.active {
  color: var(--blue-main);
  font-weight: 600;
  border-bottom-color: var(--blue-main);
}
.report-tabs-dark a.active {
  color: #ffffff;
  border-bottom-color: var(--blue-main);
}
.report-tabs a:hover:not(.active) {
  color: var(--text-dark);
}
.report-tabs-dark a:hover:not(.active) {
  color: #fff;
}

.report-card {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* 详情页基本信息下方二维码区块（直接使用设计图） */
.report-qr-card {
  max-width: 900px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.report-qr-img-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.report-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
.report-item:last-child { border-bottom: none; }
.report-item .label {
  width: 160px;
  flex-shrink: 0;
  color: var(--text-gray);
}
.report-item .value {
  flex: 1;
  color: var(--text-dark);
}
.report-item .value-with-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.report-item .copy-link {
  color: var(--blue-main);
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  text-decoration: underline;
}
.report-item .copy-link:hover {
  opacity: 0.9;
}
.report-item .shareholders-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.report-item .shareholders-list li {
  padding: 4px 0;
}
/* 详情页带表格的行：label 与表格分两行，表格不跟 label 同一行 */
.report-item-with-table {
  display: block;
  padding-bottom: 16px;
}
.report-item-with-table .label {
  display: block;
  width: auto;
  margin-bottom: 8px;
}
.report-item-with-table .value {
  display: block;
  width: 100%;
  min-width: 0;
}
.report-table-wrap {
  overflow-x: auto;
  margin: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.report-table-wrap .report-mini-table,
.report-table-wrap .report-data-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.report-mini-table th,
.report-mini-table td {
  white-space: nowrap;
}
.report-table-wrap .report-data-table th,
.report-table-wrap .report-data-table td {
  white-space: nowrap;
}
.report-subtitle {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  margin: 20px 0 12px;
  padding: 0;
}
.report-subtitle:first-child {
  margin-top: 0;
}
.report-mini-table,
.report-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 16px;
}
.report-mini-table th,
.report-mini-table td,
.report-data-table th,
.report-data-table td {
  padding: 8px 10px;
  border: 1px solid var(--border-light);
  text-align: left;
}
.report-mini-table th,
.report-data-table th {
  background: #f5f5f5;
  color: var(--text-dark);
  font-weight: var(--fw-semibold);
}
.report-data-table {
  margin-bottom: 24px;
}
.report-mini-table { font-size: 12px; }
.report-mini-table th,
.report-mini-table td { padding: 6px 8px; }

.flash-message {
  max-width: 1400px;
  margin: 0 auto 16px;
  padding: 10px 24px;
  background: #e6f7ff;
  color: var(--blue-main);
  border-radius: var(--radius);
  font-size: 14px;
}
.flash-message.error {
  background: #fff2f0;
  color: var(--red-exit);
}

/* ========== 纳税/发票/供应商 子区块 ========== */
.sub-section-title {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  margin: 24px 0 16px;
  padding: 0;
  border: none;
}
.sub-section-title:first-child {
  margin-top: 0;
}

/* 滞纳金记录行 */
.late-fee-list {
  margin-bottom: 8px;
}
.late-fee-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.late-fee-row input {
  flex: 1;
  max-width: 200px;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: var(--fs-base);
}
.late-fee-row input.late-fee-date {
  min-width: 140px;
  box-sizing: border-box;
}
.late-fee-row .unit-suffix {
  color: var(--text-gray);
  font-size: var(--fs-base);
  flex-shrink: 0;
}
.btn-add-link {
  color: var(--blue-main);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-add-link:hover {
  color: var(--blue-hover);
}

/* 近三年完税/开票 年度块 */
.tax-year-block {
  margin-bottom: 10px;
  padding: 8px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.tax-year-block .year-input,
.tax-year-block .year-select {
  font-size: var(--fs-base);
  background: #fff;
}
/* 年度选择器：整体带边框，右侧为日历图标（参考设计图） */
.year-select-wrap {
  display: inline-flex;
  align-items: center;
  width: 140px;
  min-height: 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.year-select-wrap .year-select {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 34px;
  padding: 6px 8px 6px 12px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  background: transparent;
}
.year-select-wrap .year-select:focus {
  outline: none;
}
.year-select-wrap .year-select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  flex-shrink: 0;
  background: transparent;
  border-left: 1px solid var(--border-light);
}
.year-select-wrap .year-select-icon img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
.month-grid {
  display: grid;
  grid-template-columns: 140px 160px repeat(12, 72px) 56px;
  gap: 8px 6px;
  align-items: center;
  margin-bottom: 6px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: transparent;
}
.month-grid .year-select-wrap {
  grid-column: 1;
}
.month-grid .btn-remove-year {
  justify-self: start;
}
.month-label {
  font-size: var(--fs-base);
  color: var(--text-dark);
  white-space: nowrap;
}
.month-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}
.month-cell label {
  font-size: 12px;
  color: var(--text-gray);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  width: 22px;
}
.month-cell input {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  flex-shrink: 0;
  padding: 4px 6px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 12px;
  box-sizing: border-box;
  background: #fff;
}
.tax-year-block .btn-remove-year,
.invoice-year-block .btn-remove-year {
  margin: 0;
  padding: 0 4px;
  background: transparent !important;
  border: none;
  color: var(--red-delete);
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
}
.tax-year-block .btn-remove-year:hover,
.invoice-year-block .btn-remove-year:hover {
  text-decoration: underline;
}

/* 供应商/客户 表格 */
.supplier-table {
  margin-bottom: 24px;
}
.supplier-row {
  display: grid;
  grid-template-columns: 72px 1fr 140px 120px 100px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.supplier-row .rank-label {
  font-size: var(--fs-base);
  color: var(--text-dark);
  font-weight: var(--fw-regular);
}
.supplier-row input,
.supplier-row select {
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: var(--fs-base);
}
.supplier-row input::placeholder,
.supplier-row select {
  color: var(--text-placeholder);
}
.supplier-row select {
  min-width: 0;
  background: #fff;
}

/* ========== 报告页（改版：企业分析报告，像素级复刻）========== */
.report-page.report-v2 {
  background: #ffffff;
  min-height: 100vh;
}
.report-page.report-v2::before {
  display: none;
}

.report-page.report-v2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.report-hero {
  height: 120px;
  background:
    radial-gradient(80px 80px at 18% 35%, rgba(60, 164, 255, 0.55), rgba(60, 164, 255, 0) 70%),
    radial-gradient(120px 120px at 68% 28%, rgba(130, 200, 255, 0.28), rgba(130, 200, 255, 0) 72%),
    radial-gradient(160px 160px at 78% 70%, rgba(38, 110, 255, 0.35), rgba(38, 110, 255, 0) 70%),
    linear-gradient(180deg, #061838 0%, #041431 55%, #030f27 100%);
  padding: 0 16px;
  display: flex;
  align-items: flex-end;
}
.report-hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
}
.report-hero-title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.btn-report-share {
  height: 28px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-report-share:focus {
  outline: none;
}
.btn-report-share:active {
  transform: translateY(0.5px);
}

.report-company-card {
  margin: -24px 18px 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  padding: 12px 18px;
  position: relative;
}
.report-company-name {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  line-height: 22px;
}

.report-tabs-v2 {
  margin: 6px 0 0;
  padding: 0 20px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e9edf2;
}
.report-tabs-v2-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  align-items: center;
}
.report-tabs-v2 a {
  position: relative;
  text-align: left;
  padding: 11px 0 9px;
  font-size: 13px;
  line-height: 18px;
  color: #999999;
  text-decoration: none;
  font-weight: 500;
}
.report-tabs-v2 a.active {
  color: #333333;
  font-weight: 700;
}
.report-tabs-v2 a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
  background: #e2343d;
  border-radius: 2px;
}

.report-content {
  padding: 4px 0 14px;
  background: #ffffff;
}
.report-section {
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.report-kv {
  padding: 4px 20px 0;
}
.report-kv-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #eff2f6;
  font-size: 13px;
  line-height: 18px;
}
.report-kv-row:last-child {
  border-bottom: none;
}
.report-kv-row .k {
  color: #9aa0a6;
  font-weight: 600;
}
.report-kv-row .v {
  color: #222222;
  text-align: left;
  min-width: 0;
}
.report-kv-row .v.v-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.report-kv-row .v .v-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-v2 .copy-link {
  color: #2f6fff;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
  margin-left: 4px;
}
.report-v2 .copy-link:active {
  opacity: 0.9;
}

.report-v2 .shareholders-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.report-v2 .shareholders-list li {
  padding: 2px 0;
  color: #2b2f36;
}

/* 基本信息：股东明细小表格（与设计图一致的浅灰表头） */
.report-shareholders-block {
  padding: 6px 20px 0;
}
.report-v2 .report-inline-table-wrap {
  width: 95%;
  max-width: 95%;
  margin: 6px auto 0;
  margin-top: 6px;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.report-v2 .report-inline-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}
.report-v2 .report-inline-table th,
.report-v2 .report-inline-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #eef0f3;
  text-align: center;
}
.report-v2 .report-inline-table th {
  background: #f5f7fb;
  color: #9094a0;
  font-weight: 700;
}
.report-v2 .report-inline-table td {
  color: #303133;
  font-weight: 600;
}
.report-v2 .report-inline-table tr:last-child td {
  border-bottom: none;
}

.report-v2 .report-inline-table tbody tr:nth-child(2n) td {
  background: #fafbff;
}

.report-section-title {
  padding: 10px 16px 0;
  font-size: 13px;
  color: #333333;
  font-weight: 700;
}
.report-v2 .report-table-wrap {
  padding: 8px 16px 12px;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.report-v2 .report-mini-table,
.report-v2 .report-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.report-v2 .report-mini-table th,
.report-v2 .report-mini-table td,
.report-v2 .report-data-table th,
.report-v2 .report-data-table td {
  padding: 10px 10px;
  border: 1px solid #e6e8ec;
  text-align: left;
  white-space: nowrap;
}
.report-v2 .report-data-table th,
.report-v2 .report-mini-table th {
  background: #f2f4f7;
  color: #6b7280;
  font-weight: 700;
}
.report-v2 .report-data-table tbody tr:nth-child(even) {
  background: #fafbfc;
}
.report-v2 .td-view {
  text-align: center;
}
.report-v2 .link-view {
  color: #2f6fff;
  text-decoration: none;
  font-weight: 700;
}

.report-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 8px;
  border-top: 10px solid #f5f6fa;
}
.report-section-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #2f6fff;
  display: inline-block;
}
.report-section-header-text {
  font-size: 13px;
  font-weight: 700;
  color: #2b2f36;
}

.report-qr-card-v2 {
  margin: 0;
  padding: 10px 16px 18px;
  background: #ffffff;
}
.report-qr-card-v2 .report-qr-img-full {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========== 前端报告页：完全还原水母 H5 报告样式（作用域：.sm-report，对应 data-v-c304f130 / data-v-460089d2） ========== */

.sm-report {
  background-color: rgb(221, 223, 225);
}

.sm-report #app {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.sm-report li {
  list-style: none;
}

.sm-report .separator {
  width: 100%;
  border-top: 1px dashed rgb(204, 204, 204);
  margin-top: 10px;
}

.sm-report .row {
  width: 100%;
  position: relative;
}

.sm-report .copy-link-btn.zfbg-btn {
  position: absolute;
  top: 26%;
  right: 0;
  height: 4rem;
  border: 1px solid #fff;
  border-radius: 20px 0 0 20px;
  width: 11rem;
  font-size: 1.5rem;
  font-weight: 700;
  background-color: rgb(0, 17, 60);
  color: #fff;
}

.sm-report .top_down {
  position: absolute;
  bottom: -4%;
  left: 5%;
  width: 90%;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  padding-top: 1rem;
}

.sm-report .top_down li {
  height: 4rem;
  font-size: 2.3rem;
  font-weight: bolder;
}

.sm-report .middle {
  width: 100%;
  height: 280rem;
}

.sm-report .middle_Basic_information {
  width: 100%;
  height: 100%;
  background-color: #fff;
  margin-top: 3rem;
}

.sm-report .middle_Basic_information_top_info {
  float: left;
  width: 25%;
  color: rgb(98, 101, 113);
  font-size: 1.75rem;
  text-align: center;
}

.sm-report .middle_Basic_information_top {
  font-size: 1.5rem;
  font-weight: 700;
  width: 100%;
  height: 4.5rem;
  line-height: 4.5rem;
  padding-left: 5px;
  margin-bottom: 1.5rem;
}

.sm-report .middle_all {
  margin-left: 5px;
  margin-right: 10px;
  border: 1px solid rgb(239, 240, 244);
}

.sm-report .middle_all,
.sm-report .middle_all_four {
  position: relative;
  padding: 10px;
}

.sm-report .middle_Basic_information_middle {
  padding-left: 0;
}

.sm-report .middle_Basic_information_middle li {
  height: 4.5rem;
  max-height: 6.5rem;
  width: 100%;
  font-size: 1.4rem;
  color: rgb(98, 101, 113);
}

.sm-report .new_li {
  height: 4.5rem;
  max-height: 6.5rem;
  width: 100%;
  font-size: 1.3rem;
  color: rgb(98, 101, 113);
  margin-bottom: 0;
}

.sm-report .middle_Basic_information_middle_left {
  float: left;
  width: 35%;
  height: 100%;
}

.sm-report .middle_Basic_information_middle_right {
  margin-right: 1rem;
  padding-right: 1rem;
  width: 55%;
  height: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  float: right;
}

.sm-report .middle_Basic_information_middle_right p {
  margin-top: 0;
}

.sm-report .tbdiv {
  width: 100%;
  font-size: 1.25rem;
  color: rgb(98, 101, 113);
  position: relative;
  margin-top: 0;
  display: flex;
  background-color: #fff;
}

.sm-report .middle_Basic_information_tb {
  border-bottom: 1px dashed grey;
  border-collapse: collapse;
  text-align: center;
  margin-top: 0;
}

.sm-report .middle_Basic_information_tb th {
  height: 2rem;
  background-color: rgb(246, 249, 255);
}

.sm-report .middle_Basic_information_tb th,
.sm-report .middle_Basic_information_tb td {
  padding: 10px;
  text-align: center;
  border: none;
}

.sm-report .middle_Basic_information_tb td {
  height: 3rem;
}

.sm-report .middle_Basic_information_middle_second {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.sm-report .middle_Basic_information_middle_second p {
  margin-top: 5px;
  margin-bottom: 8px;
}

.sm-report .middle_Basic_information_middle_second li {
  width: 50%;
  margin-bottom: 10px;
}

.sm-report .middle_Basic_information_middle_second li p {
  font-size: 1.4rem;
  color: rgb(169, 162, 168);
}

.sm-report .middle_Basic_information_middle_second li span {
  color: #000;
  font-size: 1.5rem;
}

.sm-report .selected {
  color: #000;
  border-bottom: 2px solid pink;
}

.sm-report .middle_all_divtb3 {
  display: flex;
  width: 100%;
}

.sm-report .middle_all_3_tb {
  border-collapse: collapse;
  font-size: 1.5rem;
  width: 100%;
  background-color: #fff;
}

.sm-report .middle_all_3_tb td,
.sm-report .middle_all_3_tb th {
  border: none;
  text-align: center;
  height: 1rem;
}

.sm-report .middle_all_3_tb td {
  height: 25px;
}

.sm-report .middle_all_3_tb th {
  color: rgb(65, 62, 65);
  font-weight: lighter;
}

.sm-report .middle_all_4_span {
  margin-top: 1rem;
  font-size: 2rem;
  margin-left: 0.5rem;
  color: rgb(33, 32, 32);
  font-weight: 700;
}

.sm-report .middle_all_divtb4 {
  display: flex;
  width: 100%;
}

.sm-report .middle_all_4_tb {
  border-collapse: collapse;
  font-size: 1.3rem;
  width: 100%;
}

.sm-report .middle_all_4_tb td,
.sm-report .middle_all_4_tb th {
  border: none;
  text-align: center;
  height: 3.5rem;
}

.sm-report .middle_all_4_tb th {
  color: rgb(65, 62, 65);
  font-weight: lighter;
  font-size: 1.4rem;
}

.sm-report .odd {
  background-color: rgb(246, 249, 255);
}

.sm-report .bottom_img {
  margin-top: 10px;
}

.sm-report .bottom_img img {
  width: 100%;
  height: 100%;
}
