/* ============================================================
   知遇 · 单人版创作者端
   工作台 / 知识库 / 收入 / 主页资料 / 会员设置 / 试聊
   ============================================================ */

/* ---------------- 工作台 ---------------- */

.wb-head {
  padding: 6px 2px 0;
}

.wb-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

.wb-head h1 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.wb-head p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-3);
}

.wb-head p b {
  color: var(--ink-2);
  font-weight: 650;
}

.manage-hero {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(110% 90% at 94% 4%, rgba(176, 138, 79, 0.14), transparent 46%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.mh-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mh-title {
  flex: 1;
  min-width: 0;
}

.mh-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.mh-name b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.mh-role {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--ink-3);
}

.mh-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}

.mh-metric {
  text-align: center;
}

.mh-metric + .mh-metric {
  border-left: 1px solid var(--line);
}

.mh-metric b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.mh-metric span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--ink-3);
}

.mh-actions {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.mh-actions .btn {
  flex: 1;
  min-height: 36px;
  padding: 0 8px;
  font-size: 11px;
}

.section-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 2px 10px;
}

.section-line h2 {
  font-size: 16px;
  font-weight: 700;
}

.section-line p,
.section-line > span {
  font-size: 10px;
  color: var(--ink-3);
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  text-align: left;
}

.alert-card:active {
  background: var(--surface-2);
}

.alert-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--warning-soft);
  color: var(--warning);
}

.alert-icon .ic {
  width: 17px;
  height: 17px;
}

.alert-icon.info {
  background: var(--info-soft);
  color: var(--info);
}

.alert-icon.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.alert-icon.success {
  background: var(--jade-soft);
  color: var(--jade-deep);
}

.alert-main {
  flex: 1;
  min-width: 0;
}

.alert-main b {
  display: block;
  font-size: 12px;
  font-weight: 650;
}

.alert-main span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--ink-3);
}

.alert-card > .ic {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
}

.order-mini-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.order-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.order-mini:last-child {
  border-bottom: 0;
}

.om-main {
  flex: 1;
  min-width: 0;
}

.om-main b {
  display: block;
  font-size: 11px;
  font-weight: 650;
}

.om-main span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--ink-3);
}

.om-amount {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.quick-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.quick-action .ic {
  width: 17px;
  height: 17px;
  color: var(--pine);
}

.quick-action.wide {
  grid-column: 1 / -1;
}

/* ---------------- 知识库 ---------------- */

.kb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 0;
}

.kb-head h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.kb-head p {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-3);
}

.kb-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.kb-summary div {
  flex: 1;
}

.kb-summary b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.kb-summary span {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--ink-3);
}

.kb-toolbar {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.kb-toolbar .btn {
  flex: 1;
  min-height: 38px;
  font-size: 12px;
}

.kb-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.kb-search .ic {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
}

.kb-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.kb-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.kb-test {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.kb-test-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
}

.kb-test-head .ic {
  width: 15px;
  height: 15px;
  color: var(--pine);
}

.kb-test-head span {
  margin-left: auto;
  font-size: 9px;
  font-weight: 400;
  color: var(--ink-3);
}

.kb-test-row {
  display: flex;
  gap: 7px;
  margin-top: 9px;
}

.kb-test-row .input {
  flex: 1;
  min-height: 40px;
  padding: 8px 11px;
  font-size: 14px;
}

.kb-test-row .btn {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 13px;
  font-size: 12px;
}

.kb-result {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 9px;
}

.kb-hit {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
}

.kb-hit b {
  display: block;
  font-size: 11px;
  font-weight: 650;
}

.kb-hit p {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--ink-3);
}

.score-track {
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
}

.score-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pine), var(--jade));
}

.kb-result-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-3);
}

.kb-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.kb-entry {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.kb-entry:active {
  background: rgba(236, 229, 215, 0.42);
}

.kb-entry-main {
  flex: 1;
  min-width: 0;
}

.kb-entry h3 {
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-entry p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--ink-3);
}

.kb-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
  font-size: 9px;
  color: var(--ink-3);
}

.kb-entry > .ic {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--ink-3);
}

/* ---------------- 词条编辑 / 导入 ---------------- */

.editor-head {
  padding: 4px 2px 0;
}

.editor-head h1 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
}

.editor-head p {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-3);
}

.char-count {
  font-size: 9px;
  color: var(--ink-3);
  text-align: right;
}

.editor-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.editor-actions .btn {
  flex: 1;
}

.import-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.import-box .textarea {
  min-height: 170px;
  font-size: 14px;
}

.import-hint {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--ink-3);
}

.import-preview {
  margin-top: 14px;
}

.import-preview h3 {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 650;
}

.parsed-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.parsed-item .pi-main {
  flex: 1;
  min-width: 0;
}

.parsed-item b {
  display: block;
  font-size: 11px;
  font-weight: 650;
}

.parsed-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--ink-3);
}

.parsed-item .icon-btn {
  width: 28px;
  height: 28px;
}

/* ---------------- 收入 ---------------- */

.revenue-head {
  padding: 4px 2px 0;
}

.revenue-head h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.revenue-head p {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--ink-3);
}

.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.range {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  background: var(--paper-deep);
}

.range button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.range button.on {
  background: var(--surface);
  color: var(--pine);
  box-shadow: var(--shadow);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}

.stat-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.stat-card span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--ink-3);
}

.stat-card.warn b {
  color: var(--warning);
}

.stat-card.gold b {
  color: var(--gold-deep);
}

.chart-card {
  margin-top: 12px;
  padding: 13px 12px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.chart-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.chart-card-head b {
  font-size: 12px;
  font-weight: 650;
}

.chart-card-head span {
  font-size: 9px;
  color: var(--ink-3);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 118px;
  margin-top: 10px;
  padding-top: 6px;
  border-bottom: 1px solid var(--line);
}

.bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.bar {
  width: 100%;
  max-width: 13px;
  min-height: 3px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, var(--pine), var(--jade));
}

.bar-label {
  font-size: 8px;
  color: var(--ink-3);
  white-space: nowrap;
}

.list-card {
  margin-top: 12px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.list-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.list-card-head b {
  font-size: 12px;
  font-weight: 650;
}

.list-card-head span {
  font-size: 9px;
  color: var(--ink-3);
}

.plan-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.plan-row:last-child {
  border-bottom: 0;
}

.plan-row-main {
  flex: 1;
  min-width: 0;
}

.plan-row-main b {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.plan-row-main span {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--ink-3);
}

.plan-track {
  width: 74px;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-deep);
}

.plan-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--gold);
}

.plan-count {
  width: 32px;
  text-align: right;
  font-size: 9px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.revenue-order {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.revenue-order:last-child {
  border-bottom: 0;
}

.revenue-order:active {
  background: var(--surface-2);
}

.ro-main {
  flex: 1;
  min-width: 0;
}

.ro-main b {
  display: block;
  font-size: 11px;
  font-weight: 650;
}

.ro-main span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: var(--ink-3);
}

.ro-amount {
  text-align: right;
}

.ro-amount b {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.ro-amount span {
  display: block;
  font-size: 8px;
  color: var(--ink-3);
}

.orders-container {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

/* ---------------- 主页资料 ---------------- */

.profile-head {
  padding: 4px 2px 0;
}

.profile-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}

.profile-head h1 {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.profile-head p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--ink-3);
}

.form-section {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.form-section h2 {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.social-edit-row,
.stat-edit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 7px;
}

.social-edit-row input,
.stat-edit-row input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface-2);
  font-size: 14px;
  outline: none;
}

.social-edit-row input:focus,
.stat-edit-row input:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(23, 76, 67, 0.1);
}

.social-edit-row input::placeholder,
.stat-edit-row input::placeholder {
  color: var(--ink-3);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.profile-item-main {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.profile-item-main b {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.profile-item-main span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--ink-3);
}

.profile-item-actions {
  display: flex;
  align-items: center;
  gap: 1px;
}

.profile-item-actions .icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.profile-item-actions .icon-btn .ic {
  width: 14px;
  height: 14px;
}

.profile-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 38px;
  margin-top: 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--pine);
  font-size: 11px;
  font-weight: 600;
}

.profile-add .ic {
  width: 14px;
  height: 14px;
}

.profile-save {
  margin-top: 16px;
}

.profile-note {
  margin-top: 8px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ---------------- 会员设置 ---------------- */

.plan-edit-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.plan-edit-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.pe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.pe-head b {
  font-size: 12px;
  font-weight: 650;
}

.pe-head span {
  font-size: 9px;
  color: var(--ink-3);
}

.pe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pe-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pe-field.full {
  grid-column: 1 / -1;
}

.pe-field label {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-3);
}

.pe-field input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface-2);
  font-size: 14px;
  outline: none;
}

.pe-field input:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(23, 76, 67, 0.1);
}

.plan-edit-note {
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 9px;
  line-height: 1.6;
}

/* ---------------- 试聊调试 ---------------- */

.debug-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 2px 0;
  color: var(--ink-3);
  font-size: 9px;
  text-align: left;
}

.debug-line .ic {
  width: 11px;
  height: 11px;
}

.debug-line b {
  color: var(--pine);
  font-weight: 650;
}

.test-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.test-actions .btn {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 9px;
}

.debug-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.debug-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11px;
}

.debug-row:last-child {
  border-bottom: 0;
}

.debug-row span {
  color: var(--ink-3);
}

.debug-row b {
  font-weight: 600;
  text-align: right;
}

.debug-chip {
  display: inline-block;
  margin: 2px 4px 0 0;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--pine-soft);
  color: var(--pine);
  font-size: 9px;
}

/* ---------------- 设置 ---------------- */

.status-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(100% 90% at 94% 4%, rgba(176, 138, 79, 0.18), transparent 44%),
    linear-gradient(145deg, #1d4f44, #0e2f2a);
  color: #f5edde;
}

.status-card .sc-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.status-card .sc-top .portrait {
  --p-size: 46px;
  box-shadow: 0 0 0 1px rgba(176, 138, 79, 0.5);
}

.status-card h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.status-card .sc-role {
  margin-top: 2px;
  font-size: 9px;
  color: #b7c5bd;
}

.status-card .sc-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  line-height: 1.6;
  color: #cfdbd4;
}

.status-card .manage-actions {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.status-card .manage-actions .btn {
  flex: 1;
  min-height: 36px;
  font-size: 11px;
}

.status-card .btn-ghost {
  color: #cfdbd4;
}

.settings-section {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.settings-section h2 {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
}

.setting-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11px;
}

.setting-line:last-child {
  border-bottom: 0;
}

.setting-line span {
  color: var(--ink-3);
}

.setting-line b {
  max-width: 64%;
  font-weight: 600;
  text-align: right;
}

.share-line {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.share-line .input {
  flex: 1;
  min-height: 38px;
  padding: 7px 10px;
  font-size: 11px;
}

.share-line .btn {
  min-height: 38px;
  padding: 0 11px;
  font-size: 11px;
}

.danger-zone {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(178, 59, 59, 0.25);
  border-radius: 14px;
  background: var(--danger-soft);
}

.danger-zone h2 {
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.danger-zone p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--danger);
}

.danger-zone .btn {
  margin-top: 9px;
}

.status-banner {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 10px;
  line-height: 1.6;
}

.status-banner .ic {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.status-banner.info {
  background: var(--info-soft);
  color: var(--info);
}

.status-banner.warn {
  background: var(--warning-soft);
  color: var(--warning);
}

.status-banner.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-banner.success {
  background: var(--jade-soft);
  color: var(--jade-deep);
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 360px) {
  .wb-head h1,
  .kb-head h1,
  .revenue-head h1,
  .profile-head h1 {
    font-size: 22px;
  }

  .mh-metric b {
    font-size: 17px;
  }

  .mh-actions .btn {
    font-size: 10px;
  }

  .chart {
    gap: 2px;
  }

  .pe-grid {
    gap: 6px;
  }
}
