/* 代理服务端配置 */
.wptk-tool[data-tool="proxy"] .wptk-derived { flex-direction: column; align-items: stretch; gap: 6px; }
.wptk-px-msg { margin: 0; font-size: 13px; line-height: 1.6; color: var(--wptk-muted); }
.wptk-px-msg.is-err { color: var(--wptk-err-fg); font-weight: 600; }
.wptk-px-links { display: block; margin-top: 24px; padding: 16px 20px 20px; }
.wptk-px-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wptk-px-head .wptk-h2 { margin: 0; }
.wptk-px-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wptk-px-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: pre; }
.wptk-px-list { display: grid; gap: 12px; }
.wptk-px-item { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; border: 1px solid var(--wptk-line); border-radius: var(--wptk-radius-m); background: var(--wptk-surface); }
.wptk-px-qr { width: 148px; aspect-ratio: 1; }
.wptk-px-qr svg { display: block; width: 100%; height: 100%; border-radius: 4px; }
.wptk-px-qr span { font-size: 12px; color: var(--wptk-muted); }
.wptk-px-body { min-width: 0; }
.wptk-px-body h3 { margin: 0 0 8px; font-size: 15px; }
.wptk-px-cmd { position: relative; }
.wptk-px-cmd .wptk-code { min-height: 0; max-height: 200px; padding: 10px 48px 10px 14px; border-radius: var(--wptk-radius-m); white-space: pre-wrap; word-break: break-all; font-size: 12.5px; }
.wptk-px-cmd .wptk-code .l::before { display: none; }
.wptk-px-cmd .wptk-copy-abs { position: absolute; top: 4px; right: 4px; }
.wptk-px-msg.is-empty { padding: 12px 0; }
@media (max-width: 560px) {
  .wptk-px-item { grid-template-columns: 1fr; }
  .wptk-px-qr { width: min(220px, 100%); margin: 0 auto; }
}
.wptk-px-item:not(:has(.wptk-px-qr)) { grid-template-columns: 1fr; }
.wptk-px-proto { grid-column: 1 / -1; padding: 10px 14px; border: 1px solid var(--wptk-line); border-radius: var(--wptk-radius-m); }
.wptk-px-proto.is-on { border-color: var(--wptk-accent); }
.wptk-px-proto > .wptk-field { margin: 0; }
.wptk-px-proto-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 16px; margin-top: 12px; padding-left: 4px; }
.wptk-px-proto-body > .wptk-field:only-child { max-width: 200px; }
.wptk-tool[data-tool="proxy"] .wptk-fieldset:has(.wptk-px-proto) .wptk-fields { gap: 10px; }
@media (max-width: 560px) { .wptk-px-proto-body { grid-template-columns: minmax(0, 1fr); } }
.wptk-px-addr { max-width: 420px; margin-bottom: 16px; }
