@charset "UTF-8";

.publish-page {
  margin-top: 16px;
  margin-bottom: 30px;
}

.publish-agentqq {
  margin-top: -8px;
  padding: 18px 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
  text-align: left;
}

.publish-agentqq .publish-agent-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--site-line);
}

.publish-agentqq .publish-agent-title span {
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.publish-agentqq .publish-agent-title em {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.6;
  font-style: normal;
}

.publish-agentqq ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: none;
}

.publish-agentqq li {
  display: block;
  min-width: 0;
  height: auto;
  padding: 0;
  box-sizing: border-box;
  line-height: normal;
  border: none;
  list-style: none;
}

.publish-agentqq .publish-agent-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 68px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7f3 0%, var(--site-hover) 100%);
  border: 1px solid var(--site-border);
  color: var(--site-text);
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  overflow: hidden;
  cursor: default;
}

.publish-agentqq li img {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-top: 2px;
  margin-left: 0;
}

.publish-agentqq li span {
  display: block;
  max-width: 100%;
  line-height: 1.3;
}

.publish-agentqq .publish-agent-meta {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  text-align: left;
}

.publish-agentqq .publish-agent-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publish-agentqq .publish-agent-hot {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  vertical-align: middle;
}

.publish-agentqq .publish-agent-qq {
  display: block;
  max-width: 100%;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--site-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publish-agentqq .publish-agent-placeholder-item .publish-agent-meta {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.publish-agentqq .publish-agent-placeholder-item .publish-agent-name {
  font-size: 16px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.35;
}

.publish-intro-bar {
  padding: 10px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--site-soft) 0%, var(--site-hover) 100%);
  border: 1px solid #f2d2b4;
  color: #ab3518;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.publish-explain-panel,
.publish-calc-panel {
  margin-bottom: 16px;
  padding: 16px 18px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
}

.publish-section-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.publish-section-title span {
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.publish-section-title em {
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
}

.publish-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.publish-faq-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--site-border);
}

.publish-faq-q {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 8px;
  border-radius: 7px;
  background: var(--site-soft);
  color: var(--site-heading);
  font-size: 13px;
  font-weight: 700;
}

.publish-faq-a {
  color: var(--site-text);
  font-size: 13px;
  line-height: 1.9;
}

.publish-explain-tips {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--site-soft);
  border: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.publish-price-table.table {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--site-border);
  border-top: 2px solid var(--site-red);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.publish-price-table table {
  width: 100%;
}

.publish-price-table td {
  text-align: center;
  line-height: 1.5;
  padding: 9px 8px;
  border: 1px solid var(--site-line);
  border-top: none;
  border-left: none;
  color: var(--site-text);
  background: #fff;
}

.publish-price-table .th td {
  padding: 12px 8px;
  background: var(--site-table-head);
  color: var(--site-heading);
  font-size: 13px;
  font-weight: 700;
}

.publish-price-table .td td {
  font-size: 12px;
  vertical-align: middle;
}

.publish-price-table tbody tr:nth-child(even) td {
  background: var(--site-stripe);
}

.publish-price-table tbody tr:hover td {
  background: var(--site-hover);
  box-shadow: none;
  transform: none;
}

.publish-site-name {
  width: 120px;
  text-align: left;
  padding-left: 12px;
}

.publish-site-text,
.publish-sync-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.publish-site-text {
  font-weight: 700;
}

.publish-sync-text {
  max-width: 200px;
}

.publish-price-num {
  color: var(--site-heading);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.publish-inline-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 5px;
  min-height: 28px;
  white-space: nowrap;
}

.publish-inline-edit .publish-price-num:empty {
  display: none;
}

.publish-inline-edit .publish-count-input {
  margin-left: 2px;
}

.publish-unit {
  color: #222;
  font-size: 12px;
  white-space: nowrap;
}

.publish-count-input {
  width: 50px;
  height: 30px;
  padding: 0 4px;
  border: 1px solid var(--site-border);
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  color: #222;
  outline: none;
  background: #fff;
}

.publish-count-input:focus {
  border-color: var(--site-red);
  box-shadow: 0 0 0 2px rgba(225, 59, 59, 0.1);
}

.publish-row-total {
  color: var(--site-amount);
  font-size: 15px;
  font-weight: 900;
}

.publish-price-table #PubTable .orgA {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--site-action);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s;
}

.publish-price-table #PubTable .orgA:hover,
.publish-price-table #PubTable .orgA:focus-visible {
  background: #d82932;
  color: #fff;
  text-decoration: none;
}

.publish-price-table #PubTable .orgA:active {
  background: #c6232b;
}

.publish-price-table td:first-child {
  width: 120px;
}

.publish-price-table td:nth-child(2) {
  width: 180px;
}

.publish-price-table td:nth-child(3),
.publish-price-table td:nth-child(4),
.publish-price-table td:nth-child(5),
.publish-price-table td:nth-child(6),
.publish-price-table td:nth-child(7) {
  width: 116px;
}

.publish-price-table td:nth-child(8) {
  width: 110px;
}

.publish-price-table td:last-child {
  width: 92px;
}

@media (max-width: 1200px) {
  .publish-agentqq ul {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .publish-faq-grid {
  grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .publish-agentqq {
  padding: 14px;
  }
  .publish-agentqq .publish-agent-title {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  }
  .publish-agentqq .publish-agent-title span {
  font-size: 20px;
  }
  .publish-agentqq ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .publish-agentqq li {
  width: auto;
  }
  .publish-explain-panel,
  .publish-calc-panel {
  padding: 14px;
  }
  .publish-section-title span {
  font-size: 19px;
  }
  .publish-site-name {
  padding-left: 8px;
  }
  .publish-price-table td {
  padding: 8px 6px;
  }
}
