:root {
  --bg: #eef4f7;
  --panel: #ffffff;
  --panel-soft: #fafbfc;
  --text: #22252a;
  --muted: #69717d;
  --line: #e7e9ee;
  --line-strong: #d7dbe3;
  --green: #55b77c;
  --green-dark: #2aa46a;
  --green-soft: #edf8f2;
  --amber: #f08a24;
  --amber-soft: #fff6e8;
  --coral: #ef6446;
  --coral-soft: #fff0ee;
  --blue: #2767d8;
  --blue-soft: #eef4ff;
  --ink-soft: #edf0f5;
  --shadow: 0 8px 24px rgba(31, 38, 48, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: block;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - 1680px) / 2 + 28px));
  color: #ffffff;
  background: #303242;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.35;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #b8c0d2;
  font-size: 12px;
  line-height: 1.2;
  word-break: break-all;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(85, 183, 124, 0.5);
  background: rgba(85, 183, 124, 0.14);
  border-radius: 10px;
}

.brand-mark span {
  display: block;
  background: var(--green);
  border-radius: 2px;
}

.brand-mark span:nth-child(2) {
  background: var(--amber);
}

.brand-mark span:nth-child(3) {
  background: var(--blue);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.nav-item {
  width: auto;
  min-height: 76px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 0 15px;
  color: #ffffff;
  background: transparent;
  text-align: left;
  border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
  background: transparent;
  border-bottom-color: var(--green);
}

.nav-item[data-view="submit"]::after,
.nav-item[data-view="aigc"]::after {
  content: "免费";
  position: absolute;
  top: 8px;
  right: 2px;
  border-radius: 10px 10px 10px 0;
  padding: 1px 7px;
  color: #ffffff;
  background: #ff704f;
  font-size: 12px;
  line-height: 1.3;
}

.nav-icon,
.icon-btn span {
  width: 18px;
  height: 18px;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.doc-icon::before,
.report-icon::before,
.edit-icon::before,
.ai-icon::before,
.gift-icon::before,
.wallet-icon::before,
.close-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.doc-icon::after,
.report-icon::after,
.edit-icon::after,
.ai-icon::after,
.gift-icon::after,
.wallet-icon::after,
.close-icon::after {
  content: "";
  position: absolute;
}

.doc-icon::after {
  left: 6px;
  right: 5px;
  top: 7px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.report-icon::after {
  left: 5px;
  bottom: 4px;
  width: 3px;
  height: 8px;
  background: currentColor;
  box-shadow: 5px -4px 0 currentColor, 10px -1px 0 currentColor;
}

.edit-icon::before {
  transform: rotate(-35deg);
  border-radius: 2px;
  inset: 5px 4px 7px 4px;
}

.edit-icon::after {
  width: 6px;
  height: 2px;
  right: 2px;
  bottom: 3px;
  background: currentColor;
}

.ai-icon::before {
  border-radius: 50%;
}

.ai-icon::after {
  inset: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -7px 0 0 -1px currentColor, 7px 0 0 -1px currentColor;
}

.gift-icon::before {
  inset: 5px 2px 3px;
  border-radius: 3px;
}

.gift-icon::after {
  left: 8px;
  top: 3px;
  width: 2px;
  height: 14px;
  background: currentColor;
  box-shadow: -5px 5px 0 0 currentColor, 5px 5px 0 0 currentColor;
}

.wallet-icon::before {
  inset: 4px 2px;
}

.wallet-icon::after {
  right: 3px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.close-icon::before,
.close-icon::after {
  inset: auto;
  left: 3px;
  top: 8px;
  width: 13px;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

.sidebar-status {
  display: none;
}

.sidebar-status p,
.sidebar-status span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.sidebar-status strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 14px;
}

.main {
  min-width: 0;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 46px;
}

.topbar {
  min-height: 64px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 19px;
}

.top-actions,
.action-group,
.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.metric-pill {
  min-width: 112px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}

.metric-pill span,
.metric-pill strong {
  display: block;
}

.metric-pill span {
  color: var(--muted);
  font-size: 12px;
}

.metric-pill strong {
  margin-top: 2px;
  font-size: 17px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--panel);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

#view-submit .site-announcement,
#view-submit .workspace-grid,
#view-submit .submit-info-grid,
#view-submit .aigc-notice-panel {
  width: min(1220px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.home-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
  overflow: hidden;
  margin: 0 0 34px;
  padding: 64px max(72px, calc((100vw - 1680px) / 2 + 72px)) 116px;
  color: #ffffff;
  background:
    radial-gradient(circle at 74% 26%, rgba(95, 183, 128, 0.18), transparent 23%),
    linear-gradient(135deg, #303242 0%, #343646 52%, #2f3141 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  left: -130px;
  bottom: -170px;
  width: 720px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-18deg);
}

.home-hero::after {
  right: max(160px, calc((100vw - 1500px) / 2 + 160px));
  bottom: -52px;
  width: 260px;
  height: 150px;
  border-radius: 24px 24px 0 0;
  border-top: 16px solid #35bd78;
  background:
    linear-gradient(135deg, #ffffff 18px, transparent 18px) 28px 42px / 82px 68px no-repeat,
    linear-gradient(135deg, #dfe8ff, #ffffff);
  box-shadow:
    -510px 28px 0 -34px #ffffff,
    -510px 12px 0 -23px #35bd78,
    -250px 70px 0 -48px #ffffff,
    -250px 54px 0 -38px #35bd78;
}

.hero-copy,
.hero-account {
  position: relative;
  z-index: 1;
}

.hero-brand {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: 64px;
  line-height: 1.16;
  font-weight: 800;
}

.hero-copy h2 em {
  display: inline-block;
  margin-left: 18px;
  color: #35c578;
  font-style: normal;
  font-size: 104px;
  line-height: 1;
}

.hero-copy > strong {
  display: block;
  margin: 18px 0 24px;
  color: #ff704f;
  font-size: 54px;
  line-height: 1.1;
}

.hero-help {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px 0 38px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 17px;
  font-weight: 700;
  position: relative;
}

.hero-help::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ffffff;
}

.hero-tools {
  max-width: 900px;
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-radius: 22px;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.hero-tool-row {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 62px;
}

.hero-tool-row + .hero-tool-row {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-tool-row b {
  min-width: 112px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.hero-tool-row button {
  position: relative;
  border: 0;
  padding: 0 0 0 24px;
  color: #ffffff;
  background: transparent;
  font-size: 18px;
  white-space: nowrap;
}

.hero-tool-row button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #52bd83;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.45);
}

.hero-account {
  min-height: 460px;
  display: grid;
  align-content: center;
  gap: 16px;
  border-radius: 24px;
  padding: 44px 50px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 30px 22px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.hero-avatar {
  width: 72px;
  height: 72px;
  justify-self: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center 28px, #ffffff 0 14px, transparent 15px),
    radial-gradient(circle at center 58px, #ffffff 0 26px, transparent 27px),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.hero-account span {
  color: #b8c0d6;
  font-size: 17px;
  font-weight: 700;
}

.hero-account strong {
  font-size: 30px;
}

.hero-account em {
  margin-bottom: 22px;
  font-size: 34px;
  font-style: normal;
}

.hero-account .primary-btn,
.hero-account .secondary-btn {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  font-size: 18px;
}

.hero-account .secondary-btn {
  color: #36c47a;
  border-color: #36c47a;
  background: transparent;
}

.site-announcement {
  margin-top: 0;
  margin-bottom: 14px;
}

.announcement-hot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  border-radius: 4px;
  padding: 0 10px;
  color: #ff674f;
  background: #fff1df;
  font-size: 18px;
}

.announcement-hot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff674f;
}

.help-dot {
  width: 20px;
  height: 20px;
  border: 2px solid #57b178;
  border-radius: 50%;
  color: #57b178;
  background: #fffdf5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.site-announcement p {
  margin: 8px 0 0;
  border: 1px solid #d9efd6;
  border-radius: 4px;
  padding: 10px 18px;
  color: #6ba95f;
  background: #effbe8;
  font-size: 18px;
  line-height: 1.7;
}

.workspace-grid,
.tool-grid,
.account-grid,
.detail-grid,
.activity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

#view-submit .workspace-grid {
  margin-top: 14px;
}

.submit-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.notice-panel,
.faq-panel {
  border-radius: 4px;
  padding: 20px 24px;
  background: #fff6e5;
}

.notice-panel h2,
.faq-panel h2 {
  margin: 0 0 12px;
  color: #1d2733;
  font-size: 18px;
}

.notice-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-panel li {
  position: relative;
  padding-left: 30px;
  color: #1e2430;
  font-size: 17px;
  line-height: 1.75;
}

.notice-panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff674f;
}

.notice-panel strong {
  color: #111820;
}

.notice-panel em {
  color: #ef4747;
  font-style: normal;
  font-weight: 700;
}

.faq-panel {
  background: #ffffff;
}

.faq-panel h2 {
  color: #1d2733;
}

.faq-panel a,
.faq-panel .faq-link {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin-top: 13px;
  color: #9da4af;
  background: transparent;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.35;
  text-align: left;
}

.faq-panel a:first-child,
.faq-panel .faq-link:first-child {
  color: #1d2733;
}

.aigc-notice-panel {
  max-width: 720px;
  margin-top: 22px;
}

.side-faq-card {
  padding: 22px 28px;
  background: #ffffff;
}

.side-faq-card h2 {
  margin: 0 0 28px;
  color: #1d2733;
  font-size: 22px;
  font-weight: 500;
}

.side-faq-card {
  padding-top: 18px;
}

.side-faq-card h2 {
  margin-bottom: 22px;
}

.side-faq-card a,
.side-faq-card .faq-link {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin-top: 12px;
  color: #9da4af;
  background: transparent;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.35;
  text-align: left;
}

.side-faq-card a:first-child,
.side-faq-card .faq-link:first-child {
  color: #1d2733;
}

.faq-link:hover {
  color: var(--green-dark);
}

.side-aigc-card {
  margin-top: 12px;
  padding: 20px 18px;
  background: #fff6e5;
}

.side-aigc-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-aigc-card li {
  position: relative;
  padding-left: 24px;
  color: #1e2430;
  font-size: 16px;
  line-height: 1.7;
}

.side-aigc-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff674f;
}

.side-aigc-card em {
  color: #ef4747;
  font-style: normal;
  font-weight: 700;
}

.account-grid {
  grid-template-columns: minmax(360px, 0.85fr) minmax(360px, 1.15fr);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head.compact {
  min-height: 62px;
}

.detect-form,
.progress-panel,
.editor-panel,
.option-panel,
.detail-panel {
  min-width: 0;
}

.detect-form {
  position: relative;
  padding: 18px;
}

.paper-type-tabs {
  display: flex;
  align-items: center;
  margin: -18px -18px 18px;
  border-bottom: 1px solid var(--line);
  background: #f7f7f7;
}

.paper-type-tab {
  min-width: 134px;
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  color: #9a9fa8;
  background: #f2f2f2;
  font-size: 16px;
}

.paper-type-tab.active {
  color: #4eaa6b;
  background: #ffffff;
  border-top: 2px solid #4eaa6b;
}

.version-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}

.version-card {
  position: relative;
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid #e7ebf1;
  border-radius: 6px;
  padding: 20px 16px 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(34, 41, 52, 0.04);
  cursor: pointer;
  overflow: hidden;
}

.version-card.selected {
  border: 3px solid #69b284;
  padding: 18px 14px 14px;
}

.version-card input {
  position: absolute;
  opacity: 0;
}

.corner-check {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, transparent 0 50%, #69b284 51% 100%);
}

.corner-check::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.version-card h3 {
  margin: 0;
  color: #111820;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.version-card h3 small {
  font-size: 20px;
  font-weight: 400;
}

.version-line {
  height: 1px;
  background: #e6e8ed;
}

.version-card p {
  margin: 0;
  color: #7b828b;
  font-size: 15px;
  line-height: 1.5;
}

.version-card p em {
  color: #2eaa65;
  font-style: normal;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.price-row strong {
  color: #1e2430;
  font-size: 22px;
  font-weight: 500;
}

.price-row span {
  border-radius: 999px;
  padding: 5px 12px;
  color: #e74b50;
  background: #ffecef;
  font-size: 16px;
}

.submit-help-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 12px 0 24px;
}

.submit-help-links button {
  border: 0;
  padding: 0;
  color: #4eaa6b;
  background: transparent;
  font-size: 16px;
}

.info-popover {
  position: absolute;
  z-index: 8;
  left: 165px;
  top: 206px;
  width: 445px;
  max-width: calc(100% - 36px);
  border-top: 5px solid #69b284;
  border-radius: 6px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(30, 38, 48, 0.16);
}

.explain-popover {
  left: 260px;
  width: 445px;
}

.compare-table {
  display: grid;
  gap: 0;
}

.compare-table > div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 92px 92px;
  min-height: 40px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: #f7f7f7;
}

.compare-table > div:nth-child(even) {
  background: #ffffff;
}

.compare-table .compare-head {
  min-height: 42px;
  background: #f5f5f5;
}

.compare-table span,
.compare-table strong {
  color: #111820;
  font-size: 15px;
  text-align: center;
}

.compare-table span {
  text-align: left;
}

.ok-mark {
  color: #69b284 !important;
  font-size: 24px !important;
  line-height: 1;
}

.explain-popover section + section {
  margin-top: 22px;
}

.explain-popover h3 {
  margin: 0 0 6px;
  color: #111820;
  font-size: 17px;
}

.explain-popover p {
  margin: 0;
  color: #111820;
  line-height: 1.6;
}

.soft-callout,
.model-cloud {
  margin-top: 12px;
  border-radius: 8px;
  padding: 12px;
  background: #eef8f2;
}

.soft-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #65717d;
}

.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.model-cloud span {
  color: #2c3340;
  font-size: 14px;
}

.form-grid,
.editor-grid,
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.check-row span {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--text);
  background: #fff;
  outline: none;
}

.field textarea {
  resize: vertical;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 95, 0.12);
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel-soft);
}

.segment,
.filter {
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
}

.segment.active,
.filter.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.upload-zone {
  position: relative;
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 16px 0;
  border: 1px dashed #9ab8aa;
  border-radius: 4px;
  padding: 18px;
  background: #f7fbf8;
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone strong {
  display: block;
  font-size: 16px;
}

.upload-zone p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.upload-visual {
  width: 70px;
  height: 88px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #ffffff;
}

.file-line {
  display: block;
  width: 72%;
  height: 5px;
  border-radius: 999px;
  background: #9db0a8;
}

.file-line.long {
  width: 100%;
  background: var(--green);
}

.file-line.short {
  width: 48%;
  background: var(--amber);
}

.hidden {
  display: none !important;
}

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

.option-card {
  display: grid;
  gap: 7px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  background: var(--panel-soft);
}

.option-card.selected {
  border-color: var(--green);
  background: var(--green-soft);
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.option-card em {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 700;
}

.submit-bar {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.submit-bar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.submit-bar strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.primary-btn,
.secondary-btn,
.amount-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 9px 14px;
  font-weight: 700;
}

.primary-btn {
  color: #ffffff;
  background: var(--green);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.primary-btn.warm {
  background: var(--coral);
}

.primary-btn.warm:hover {
  background: #9f4437;
}

.secondary-btn {
  color: var(--green-dark);
  border-color: var(--line-strong);
  background: #ffffff;
}

.process {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
}

.process-step > span {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #ffffff;
}

.process-step.done > span,
.process-step.active > span {
  border-color: var(--green);
  background: var(--green);
}

.process-step.active > span {
  box-shadow: 0 0 0 5px rgba(31, 122, 95, 0.14);
}

.process-step strong {
  display: block;
}

.process-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.report-card,
.wallet-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-chart {
  height: 92px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 14px;
}

.mini-chart span {
  display: block;
  min-height: 12px;
  border-radius: 5px 5px 0 0;
  background: var(--green);
}

.mini-chart span:nth-child(2n) {
  background: var(--amber);
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-tile {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-tile span {
  color: var(--muted);
  font-size: 13px;
}

.stat-tile strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.stat-tile p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.report-list {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 18px;
}

.report-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 20px 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 28, 36, 0.05);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-soft);
}

.report-main {
  min-width: 0;
}

.report-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.report-title-row em {
  flex: 0 0 auto;
  border: 1px solid var(--green);
  border-radius: 2px;
  padding: 2px 5px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
}

.report-main strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 390px;
}

.report-main span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.report-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-recommend {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #1d2632;
  font-size: 15px;
}

.report-recommend > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 500;
}

.badge {
  min-width: 82px;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--green-dark);
  background: var(--green-soft);
  text-align: center;
}

.badge.risk {
  color: #8c3d31;
  background: var(--coral-soft);
}

.badge.pending {
  color: #7a4c12;
  background: var(--amber-soft);
}

.badge span {
  display: block;
  font-size: 11px;
  color: inherit;
  opacity: 0.75;
}

.badge strong {
  display: block;
  font-size: 16px;
}

.report-overview {
  display: grid;
  grid-template-columns: minmax(88px, 0.55fr) minmax(220px, 1.55fr) minmax(84px, 0.55fr) minmax(96px, 0.6fr) minmax(128px, 0.82fr) minmax(128px, 0.82fr) 30px;
  gap: 14px;
  align-items: center;
  min-height: 90px;
  min-width: 0;
  width: 100%;
}

.report-field {
  min-width: 0;
}

.report-field span,
.report-actions > span {
  display: block;
  margin-bottom: 5px;
  color: #8b95a1;
  font-size: 14px;
}

.report-field strong {
  display: block;
  overflow: hidden;
  color: #111820;
  font-size: 18px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-field.compact strong {
  font-size: 15px;
}

.version-pill,
.status-pill {
  width: fit-content;
  border: 1px solid #5bb37b;
  border-radius: 999px;
  padding: 4px 12px;
  color: #31a466 !important;
  background: #eef9f2;
}

.status-pill {
  border-color: #55b47a;
  color: #ffffff !important;
  background: #58b579;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.status-pill.pending {
  border-color: #f1b24c;
  background: #f1b24c;
}

.trash-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  color: #25a866;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.trash-btn:hover {
  background: #edf8f1;
}

.report-ops-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.report-actions {
  min-width: 0;
}

.report-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  min-width: 0;
}

.report-actions button {
  border: 0;
  padding: 0;
  color: #36aa72;
  background: transparent;
  font-size: 16px;
}

.report-actions button:hover {
  color: #168553;
  text-decoration: underline;
}

.more-wrap {
  position: relative;
  display: inline-flex;
}

.more-menu {
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 8;
  min-width: 330px;
  max-width: min(360px, calc(100vw - 48px));
  display: grid;
  gap: 12px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 16px 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 28, 36, 0.18);
}

.more-menu button {
  width: 100%;
  text-align: left;
  white-space: nowrap;
}

.advice-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 8px;
  color: #7d8794;
  font-size: 14px;
}

.tag {
  border-radius: 3px;
  padding: 2px 6px;
  color: #ffffff;
  font-size: 13px;
}

.tag.muted {
  background: #b8c0c8;
}

.tag.hot {
  background: #ff7b57;
}

.upgrade-btn {
  min-width: 138px;
  min-height: 40px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #66b582;
  font-size: 15px;
}

.advice-bars {
  display: grid;
  grid-template-columns: 82px minmax(160px, 280px) auto;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  color: #8a94a0;
}

.advice-bars em {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf3;
}

.advice-bars em::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: #ef3f55;
}

.advice-bars.soft em::before {
  background: #89c7a0;
}

.advice-bars strong {
  color: #ef3f55;
  font-weight: 500;
}

.advice-bars.soft strong {
  color: #50a46c;
}

.detail-panel {
  padding-bottom: 18px;
}

.report-mode-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
  overflow-x: auto;
}

.report-tab {
  position: relative;
  min-height: 48px;
  flex: 0 0 auto;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 18px;
  color: #3c424a;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.report-tab:focus-visible {
  outline: 2px solid rgba(31, 122, 95, 0.35);
  outline-offset: -2px;
}

.report-tab:first-child {
  border-left: 1px solid var(--line);
}

.report-tab.active {
  color: var(--green-dark);
  background: #ffffff;
}

.report-tab.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--green);
}

.report-tab.hot::before {
  content: "HOT";
  position: absolute;
  right: 5px;
  top: 4px;
  color: #ffffff;
  background: var(--amber);
  border-radius: 2px;
  padding: 1px 4px;
  font-size: 9px;
  line-height: 1.2;
}

.detail-grid {
  padding: 18px;
}

.score-board {
  display: grid;
  grid-template-columns: 132px 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.score-ring {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 76deg, var(--ink-soft) 76deg 360deg);
}

.score-ring.risk {
  background: conic-gradient(var(--coral) 0 130deg, var(--ink-soft) 130deg 360deg);
}

.score-ring span,
.score-ring small {
  grid-area: 1 / 1;
}

.score-ring span {
  margin-top: -12px;
  font-size: 28px;
  font-weight: 800;
}

.score-ring small {
  margin-top: 36px;
  color: var(--muted);
}

.score-ring::after {
  content: "";
  width: 96px;
  height: 96px;
  grid-area: 1 / 1;
  border-radius: 50%;
  background: #ffffff;
}

.score-ring span,
.score-ring small {
  z-index: 1;
}

.score-notes {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.score-notes p,
.hint-box p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.source-table {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.table-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 82px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 13px;
}

.segments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px;
}

.segments.single-column {
  grid-template-columns: 1fr;
}

.segment-block {
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  padding: 14px;
  background: var(--panel-soft);
}

.segment-block.simple-summary {
  border-left-color: var(--blue);
  background: #f7fbff;
}

.segment-block.aigc-risk {
  border-left-color: var(--coral);
}

.segment-block p {
  margin: 8px 0;
  line-height: 1.8;
}

.segment-block span {
  color: var(--muted);
  font-size: 13px;
}

.editor-panel {
  padding-bottom: 18px;
}

.editor-grid {
  padding: 18px;
}

.option-panel {
  padding-bottom: 18px;
}

.check-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px;
  border-bottom: 1px solid var(--line);
}

.option-panel .field {
  margin: 16px 18px 0;
}

.hint-box {
  margin: 16px 18px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  background: var(--panel-soft);
}

.risk-bars {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.risk-bars div {
  position: relative;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: start;
}

.risk-bars span,
.risk-bars strong {
  z-index: 1;
}

.risk-bars em {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
}

.risk-bars div::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-soft);
}

.risk-bars em {
  z-index: 1;
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  margin: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  background: linear-gradient(135deg, #f8fbf7 0%, #fff7e6 100%);
}

.activity-hero strong {
  display: block;
  font-size: 24px;
  line-height: 1.3;
}

.activity-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.reward-stack {
  display: grid;
  gap: 8px;
  align-content: center;
}

.reward-stack span {
  border: 1px solid #e0c17f;
  border-radius: 4px;
  padding: 10px 12px;
  color: #775319;
  background: #fff8e8;
  font-weight: 700;
}

.task-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 18px 16px;
}

.task-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--panel-soft);
  font-weight: 700;
}

.task-tab.active {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--green-soft);
}

.activity-form {
  padding: 0 18px 18px;
}

.activity-form .form-grid {
  margin-top: 14px;
}

.activity-submit {
  margin-top: 16px;
}

.activity-records {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.activity-record {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px;
  background: var(--panel-soft);
}

.activity-record strong,
.activity-record span {
  display: block;
}

.activity-record span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pp-page-title {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 8px 0 18px;
  color: #4d535a;
  font-size: 18px;
}

.service-choice-section {
  margin-bottom: 20px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #4d535a;
  font-size: 18px;
}

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

.service-option {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  padding: 20px 24px;
  color: #1d2632;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(22, 28, 36, 0.04);
}

.service-option:hover {
  border-color: #9dcfb2;
  box-shadow: 0 14px 30px rgba(22, 28, 36, 0.08);
}

.service-option.selected {
  border-width: 2px;
  border-color: #62b47d;
  background: #fbfffc;
}

.service-option.manual strong::after {
  content: "";
}

.service-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e8edf3;
  padding-bottom: 14px;
}

.service-option-head strong {
  min-width: 0;
  font-size: 21px;
  line-height: 1.25;
}

.service-option-head em {
  flex: 0 0 auto;
  color: #1d2632;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}

.service-option.selected .service-option-head strong,
.service-option.selected .service-option-head em {
  color: #5fac78;
}

.service-option p {
  margin: 0;
  color: #556170;
  font-size: 15px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.service-tags span {
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 14px;
  line-height: 1.1;
}

.green-dot {
  color: #55a66f;
  background: #eef8f2;
}

.red-dot {
  color: #ef4d51;
  background: #fff0f0;
}

.green-dot::before,
.red-dot::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: 2px;
  border-radius: 50%;
  background: currentColor;
}

.mini-doc-icon {
  width: 16px;
  height: 18px;
  position: relative;
  display: inline-block;
  border: 2px solid #5a626b;
  border-radius: 2px;
}

.mini-doc-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 5px;
  height: 2px;
  background: #5a626b;
  box-shadow: 0 5px 0 #5a626b;
}

.paper-tool-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(480px, 0.98fr);
  gap: 50px;
  align-items: start;
}

.pp-panel {
  min-width: 0;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(22, 28, 36, 0.05);
}

.pp-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 -1px;
  pointer-events: none;
}

.pp-tab {
  min-width: 200px;
  min-height: 54px;
  border: 0;
  border-radius: 6px 6px 0 0;
  color: #8a8f96;
  background: #e8e8e8;
  font-size: 18px;
  font-weight: 700;
  pointer-events: auto;
}

.pp-tab.active {
  color: #000000;
  background: #ffffff;
}

.pp-tool-body {
  padding: 22px 20px 28px;
}

.pp-tool-body h2,
.pp-result-head h2 {
  margin: 0;
  color: #000000;
  font-size: 22px;
  line-height: 1.4;
}

.pp-upload-box {
  min-height: 336px;
  display: grid;
  align-content: start;
  justify-items: center;
  margin-top: 16px;
  border: 1px dashed #6fb082;
  padding: 22px;
  background: #ffffff;
}

.inner-tabs {
  justify-self: start;
  display: flex;
  gap: 28px;
  margin-bottom: 46px;
}

.inner-tab {
  position: relative;
  min-width: 48px;
  border: 0;
  padding: 0 0 10px;
  color: #8f969d;
  background: transparent;
  font-size: 18px;
}

.inner-tab.active {
  color: #5fac78;
}

.inner-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #5fac78;
}

.upload-mode-panel {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.upload-mode-panel textarea {
  width: min(680px, 100%);
  min-height: 178px;
  border: 1px solid #d9dfe8;
  padding: 14px;
  outline: none;
  resize: vertical;
  line-height: 1.7;
}

.word-upload-btn {
  min-width: 206px;
  min-height: 46px;
  border: 1px solid #67b17d;
  color: #58a36f;
  background: #f5fbf7;
  font-size: 18px;
}

.word-upload-btn::before {
  content: "↑";
  margin-right: 8px;
  font-weight: 700;
}

.upload-mode-panel strong,
.pp-upload-box > strong {
  color: #111820;
  font-size: 20px;
  font-weight: 400;
}

.upload-mode-panel p,
.pp-upload-box > p {
  margin: -4px 0 0;
  color: #b1b8c0;
  font-size: 14px;
}

.pp-note {
  margin: 16px 0 0;
  color: #b1b8c0;
  font-size: 15px;
}

.pp-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pp-submit-btn {
  min-width: 200px;
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #69ad7f;
  box-shadow: 0 12px 24px rgba(105, 173, 127, 0.28);
  font-size: 18px;
}

.pp-submit-btn:hover {
  background: #579a6d;
}

.pp-result-head {
  padding: 16px 20px 12px;
}

.pp-result-table {
  width: calc(100% - 40px);
  min-height: 380px;
  margin: 0 20px 28px;
  border-collapse: collapse;
  border: 1px solid #dce3ec;
  table-layout: fixed;
}

.pp-result-table th {
  height: 60px;
  border-right: 1px solid #dce3ec;
  color: #000000;
  background: #f0f0f0;
  font-size: 18px;
}

.pp-result-table th:last-child {
  border-right: 0;
}

.pp-result-table td {
  border-top: 1px solid #edf1f6;
  padding: 16px;
  text-align: center;
}

.pp-result-table .empty-row {
  height: 306px;
  color: #111820;
  vertical-align: top;
  padding-top: 24px;
}

.wallet-board {
  padding: 18px;
}

.wallet-board div {
  flex: 1;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  background: var(--panel-soft);
}

.wallet-board span,
.wallet-board strong {
  display: block;
}

.wallet-board span {
  color: var(--muted);
}

.wallet-board strong {
  margin-top: 12px;
  font-size: 30px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(23, 38, 34, 0.48);
}

.modal.open {
  display: grid;
}

.modal-panel {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.faq-modal {
  align-items: flex-start;
  overflow: auto;
  padding: 72px 20px;
}

.faq-dialog {
  width: min(1180px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.faq-article,
.faq-related {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.faq-article {
  min-height: 440px;
  padding: 42px 54px;
}

.article-crumb {
  margin-bottom: 28px;
  color: #596779;
  font-size: 14px;
}

.faq-article h2 {
  color: #111820;
  font-size: 28px;
  text-align: center;
}

.article-date {
  margin: 10px 0 28px;
  color: #6f7a88;
  text-align: center;
}

.article-body {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.article-body p {
  margin: 0 0 18px;
  color: #1e2734;
  font-size: 17px;
  line-height: 1.9;
}

.article-disclaimer {
  margin-top: 32px;
  padding: 14px 16px;
  color: #9ca3ad;
  background: #f4f4f4;
  font-size: 14px;
}

.faq-related {
  padding: 22px 24px 28px;
}

.faq-related .panel-head {
  margin-bottom: 14px;
}

.faq-related h2 {
  color: #57a873;
  font-size: 18px;
}

#faqRelatedList {
  display: grid;
  gap: 8px;
}

#faqRelatedList button {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  color: #253144;
  background: transparent;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#faqRelatedList button.active,
#faqRelatedList button:hover {
  color: #38a66d;
}

.pay-grid {
  padding: 18px;
}

.amount-btn {
  color: var(--green-dark);
  border-color: var(--line);
  background: var(--panel-soft);
}

.amount-btn.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.qr-mock {
  width: 154px;
  height: 154px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.qr-mock span {
  background:
    linear-gradient(90deg, #172622 10px, transparent 10px 18px, #172622 18px 26px, transparent 26px),
    linear-gradient(#172622 10px, transparent 10px 18px, #172622 18px 26px, transparent 26px);
  background-size: 28px 28px;
}

.modal-note {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.service-widget {
  position: fixed;
  right: 0;
  bottom: 34px;
  z-index: 30;
  display: flex;
  align-items: flex-end;
}

.service-tab {
  width: 44px;
  min-height: 94px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px 0 0 10px;
  padding: 10px 8px;
  color: #ffffff;
  background: #2d3040;
  font-size: 20px;
  line-height: 1.35;
  writing-mode: vertical-rl;
}

.service-tab span {
  width: 22px;
  height: 22px;
  display: inline-block;
  margin-bottom: 6px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.service-panel {
  width: 450px;
  height: 675px;
  margin-right: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f7fbfc;
  box-shadow: 0 24px 70px rgba(31, 38, 48, 0.18);
}

.service-panel header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 80px;
  color: #ffffff;
  background: #55b47c;
}

.service-panel header strong,
.service-panel header span {
  display: block;
}

.service-panel header strong {
  font-size: 18px;
}

.service-panel header span {
  margin-top: 3px;
  font-size: 14px;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-actions button {
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
}

.service-history {
  height: 388px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  border-bottom: 1px solid #e1e6ea;
  padding: 16px 18px 10px;
  color: #a6b0b8;
}

.service-history button {
  justify-self: center;
  border: 0;
  color: #a6b0b8;
  background: transparent;
  font-size: 14px;
}

.service-messages {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px 4px 4px;
}

.service-empty {
  margin: 24px 8px 0;
  color: #66717c;
  text-align: center;
}

.service-message {
  max-width: 82%;
  display: grid;
  gap: 4px;
}

.service-message span,
.service-message time {
  color: #9aa5af;
  font-size: 12px;
}

.service-message p {
  margin: 0;
  border-radius: 10px;
  padding: 10px 12px;
  color: #27323d;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(32, 42, 52, 0.06);
  line-height: 1.55;
}

.service-message.user {
  justify-self: end;
}

.service-message.user span,
.service-message.user time {
  text-align: right;
}

.service-message.user p {
  color: #ffffff;
  background: #55b47c;
}

.quick-replies {
  min-height: 58px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e1e6ea;
}

.quick-replies button {
  flex: 0 0 auto;
  border: 1px solid #d6eadf;
  border-radius: 999px;
  padding: 7px 12px;
  color: #238458;
  background: #f2fbf6;
  font-size: 13px;
}

.service-panel footer {
  height: 153px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 58px;
  align-items: end;
  gap: 8px;
  padding: 18px 14px;
  background: #ffffff;
}

.service-panel footer button {
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #dbecef;
  padding: 8px 10px;
}

.service-panel footer button:first-child {
  color: #9ab6bd;
  background: transparent;
  font-size: 20px;
}

.service-panel footer input {
  border: 0;
  outline: none;
  color: #333b45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  min-width: 220px;
  max-width: min(460px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(90px);
  border-radius: 4px;
  padding: 12px 16px;
  color: #ffffff;
  background: #172622;
  opacity: 0;
  transition: 0.2s ease;
  text-align: center;
}

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

@media (max-width: 1320px) {
  .report-overview {
    grid-template-columns: 110px minmax(220px, 1fr) 110px 120px;
  }

  .title-field {
    grid-column: span 1;
  }

  .trash-btn {
    position: absolute;
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 1160px) {
  .workspace-grid,
  .tool-grid,
  .paper-tool-grid,
  .detail-grid,
  .account-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .paper-tool-grid {
    gap: 24px;
  }

  .pp-tabs {
    transform: none;
    margin: 0;
    padding: 0 0 10px;
    overflow-x: auto;
  }

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

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

  .submit-info-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sidebar-status {
    width: auto;
    flex: 1 1 260px;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    margin: 0 0 20px;
    padding: 34px 22px 48px;
  }

  .hero-copy h2 {
    font-size: 38px;
  }

  .hero-copy h2 em {
    font-size: 48px;
  }

  .hero-copy > strong {
    font-size: 30px;
  }

  .hero-account {
    width: 100%;
    min-height: auto;
    padding: 26px 24px;
  }

  .hero-tools {
    padding: 18px;
  }

  .hero-tool-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 12px 0;
  }

  .hero-tool-row b {
    flex: 0 0 100%;
  }

  .sidebar {
    position: static;
    height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    width: 100%;
  }

  .nav-item {
    min-height: 46px;
    border-bottom: 0;
    border-radius: 4px;
  }

  .topbar,
  .panel-head,
  .report-card,
  .wallet-board {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions,
  .action-group,
  .filter-row {
    width: 100%;
  }

  .metric-pill {
    flex: 1;
  }

  .report-overview {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .report-list {
    padding: 10px;
  }

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

  .title-field {
    grid-column: auto;
  }

  .trash-btn {
    position: absolute;
    top: 14px;
    right: 14px;
  }

  .more-menu {
    left: 0;
    right: auto;
    min-width: min(330px, calc(100vw - 52px));
  }

  .report-actions > div {
    gap: 10px 14px;
  }

  .report-actions button {
    font-size: 15px;
    white-space: normal;
    text-align: left;
  }

  .form-grid,
  .editor-grid,
  .detect-options,
  .version-cards,
  .service-choice-grid,
  .segments,
  .summary-row,
  .score-board,
  .activity-hero,
  .submit-bar {
    grid-template-columns: 1fr;
  }

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

  .info-popover,
  .explain-popover {
    position: static;
    width: auto;
    max-width: none;
    margin: 0 0 18px;
  }

  .compare-table > div {
    grid-template-columns: minmax(110px, 1fr) 80px 80px;
  }

  .faq-dialog {
    grid-template-columns: 1fr;
  }

  .faq-article {
    padding: 30px 24px;
  }

  .service-panel {
    width: min(450px, calc(100vw - 54px));
  }

  .pp-upload-box {
    min-height: 318px;
  }

  .inner-tabs {
    margin-bottom: 34px;
  }

  .report-metrics {
    width: 100%;
    flex-wrap: wrap;
  }

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

  .badge {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .main {
    padding: 0 0 36px;
  }

  .home-hero {
    margin: 0 0 18px;
    padding: 28px 14px 36px;
  }

  .hero-copy h2 {
    font-size: 30px;
  }

  .hero-copy h2 em {
    display: block;
    margin-left: 0;
    font-size: 46px;
  }

  .hero-copy > strong {
    font-size: 25px;
  }

  .hero-help {
    height: auto;
    min-height: 40px;
    text-align: left;
  }

  .hero-tools span {
    white-space: normal;
  }

  .hero-tool-row button {
    white-space: normal;
    text-align: left;
  }

  .hero-account {
    padding: 22px 16px;
  }

  #view-submit .site-announcement,
  #view-submit .workspace-grid,
  #view-submit .submit-info-grid,
  #view-submit .aigc-notice-panel {
    width: calc(100vw - 20px);
  }

  .faq-modal {
    padding: 44px 10px;
  }

  .faq-dialog {
    width: 100%;
  }

  .faq-article {
    padding: 24px 16px;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .upload-zone {
    flex-direction: column;
    align-items: flex-start;
  }

  .task-tabs {
    grid-template-columns: 1fr;
  }

  .pp-tab {
    min-width: 150px;
    font-size: 16px;
  }

  .pp-tool-body {
    padding: 16px 14px 22px;
  }

  .pp-upload-box {
    padding: 18px 14px;
  }

  .pp-result-table {
    width: calc(100% - 24px);
    margin: 0 12px 18px;
    font-size: 13px;
  }

  .pp-result-table th {
    font-size: 13px;
  }

  .site-announcement p,
  .announcement-hot {
    font-size: 15px;
  }

  .notice-panel li,
  .faq-panel a {
    font-size: 15px;
  }

  .service-widget {
    bottom: 12px;
  }

  .service-panel {
    height: 580px;
  }

  .service-history {
    height: 360px;
  }

  .version-card h3 {
    font-size: 20px;
  }

  .version-card h3 small {
    font-size: 16px;
  }

  .price-row strong {
    font-size: 18px;
  }

  .compare-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
  }

  .compare-table span,
  .compare-table strong {
    text-align: left;
  }
}
