/* 沿用现有对话框样式，主工作台由 workbench.css 定义。 */
.about-updated .mini-titlebar{display:flex;align-items:center;justify-content:space-between}
.about-updated .mini-titlebar .caption-btn{margin-left:auto;flex:none}
/* 对话框内容 */
  .about-hero { display: flex; align-items: center; gap: 14px; padding: 28px 32px 0; }
  .about-logo { width: 48px; height: 48px; border-radius: var(--vex-radius-xl); background: var(--title-grad); color: var(--on-accent); font-size: 26px; font-weight:700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .about-identity { min-width: 0; }
  .about-hero h2 { margin: 0 0 4px; font-size: 23px; font-weight: 700; letter-spacing: .2px; }
  .about-hero .slogan { font-size: 12px; line-height: 1.7; color: var(--muted); }
  .about-rows { display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: baseline; gap: 13px 24px; padding: 26px 32px 0; font-size:12px; line-height: 1.8; }
  .about-row { display: contents; }
  .about-row .k { color: var(--muted); }
  .about-row .v { color: var(--value); }
  .ver-badge { display: inline-flex; font-size:11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius:var(--vex-radius-pill); padding: 1px 10px; }
  .about-link { color: var(--accent); text-underline-offset: 3px; font: inherit; background: none; border: none; padding: 0; }
  .about-link:hover { text-decoration: underline; }
  .about-version, .about-links { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .about-links a { color: var(--accent); }
  .about-links > span { color: var(--muted); }
  .about-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 26px 32px 0; padding: 18px 0 22px; border-top: 1px solid var(--border); }
  #vex-update { min-width: 110px; }
  .about-foot { font-size: 11px; color: var(--muted); line-height: 1.8; }

  .set-head { padding: 20px 24px 4px; display: flex; align-items: center; gap: 14px; }
  .set-head .s-ico {
    width: 44px; height: 44px; border-radius: var(--vex-radius-lg);
    background: var(--accent-soft); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
  }
  .set-head h2 { font-size: 18px; font-weight: 700; }
  .set-head .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .enable-row {
    margin: 14px 24px 0; display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--vex-radius-lg);
    background: color-mix(in srgb, var(--accent) 5%, var(--panel));
  }
  .enable-row .et { font-weight: 600; font-size: 13px; }
  .enable-row .ed { font-size:11px; color: var(--muted); margin-top: 1px; }
  .enable-row .switch { margin-left: auto; }
  .set-body { padding: 14px 24px 6px; display: flex; flex-direction: column; gap: 12px; }
  .form-grid { display: grid; grid-template-columns: 108px 1fr; gap: 10px 14px; align-items: center; }
  .form-grid > .k { font-size:12px; color: var(--muted); text-align: right; }
  .input-group { display: flex; gap: 8px; align-items: center; }
  .endpoint {
    display: flex; align-items: center; gap: 8px;
    background: var(--code-bg); border: 1px solid var(--border);
    border-radius: var(--vex-radius-md); padding: 5px 6px 5px 10px;
  }
  .endpoint code { flex: 1; font-size: 12px; color: var(--value); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .set-foot { margin-top: 16px; padding: 12px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; background: var(--statusbar-bg); }

  .doc-body { height: 400px; max-height: calc(85vh - 40px); overflow: auto; }
  .doc-body .md-body { padding: 24px; }
  .doc-body .md-body > :first-child { margin-top: 0; }
  .doc-body.thanks-document { height: auto; }
  .thanks-content p { margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
  .thanks-group { margin-top: 13px; }
  .thanks-group h2 { margin: 0 0 4px; font-size: 13px; line-height: 1.6; }
  .thanks-content .thanks-support { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
  .md-body a { color: var(--accent); }

  .detail-box { margin-top: 14px; background: var(--code-bg); border: 1px solid var(--border); border-radius: var(--vex-radius-md); padding: 10px 12px; }
  .detail-box pre {
    max-height: 150px; overflow: auto; margin: 8px 0 0;
    font-family: "Cascadia Code", Consolas, monospace; font-size:11px;
    line-height: 1.65; color: var(--muted); white-space: pre-wrap; word-break: break-all;
  }
  .rn-error { margin-top: 10px; font-size: 12px; color: var(--danger); }

/* 内联样式归位：原先写在 Vex.html 的 style="" 上的表达。 */
  .hidden-sprite { display: none; }
  .dlg-scroll { max-height: 85vh; overflow: auto; }
  .dlg-pad { padding: 22px; }
  .dlg-title-warn { font-size: 15px; }
  .dlg-field-gap { margin-top: 14px; }
  .dlg-path-gap { margin-top: 12px; }
  .dlg-path-flush { margin-top: 0; }
  .fld-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
  .sub-label { font-size:11px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .toggle-label { font-size:11px; font-weight: 600; color: var(--muted); cursor: pointer; user-select: none; }
  .is-hidden { display: none; }
  .ico-21 { width: 21px; height: 21px; }
  .ico-13 { width: 13px; height: 13px; }
  .input-port { width: 120px; }
  .input-wide { max-width: 360px; }
  .radio-list { display: flex; flex-direction: column; gap: 8px; }
  .check-flush { margin-top: 2px; }
  .btn-outlined, .btn.ghost.btn-outlined { border: 1px solid var(--border); }
  .mcp-status { margin: 2px 24px 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--success); }
  .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 18%, transparent); }
  .flip-x { transform: scaleX(-1); }
