.vpm{--vpm-accent:#f5a83b;--vpm-dark:#540404;--vpm-line:#ffecd1;font-size:15px;line-height:1.45;margin:0 auto 24px;max-width:1200px;color:#1f2937}
.vpm *{box-sizing:border-box}
.vpm-grid>*{min-width:0}
.vpm-grid{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:20px;align-items:start}
.vpm-panel,.vpm-out{background:#fff;border:1px solid var(--vpm-line);border-radius:10px;padding:16px}
.vpm-label{display:block;font-weight:700;font-size:16px;margin:0 0 2px}
.vpm-hint{margin:0 0 8px;font-size:13px;color:#4b5563}
.vpm-hint code{font-size:12px;background:#fffaf2;padding:1px 4px;border-radius:4px}
.vpm-data{width:100%;font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;border:1px solid #d1d5db;border-radius:8px;padding:8px;resize:vertical;min-height:120px}
.vpm-data:focus,.vpm select:focus,.vpm input:focus{outline:2px solid var(--vpm-accent);outline-offset:1px}
.vpm-row{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.vpm-btn{display:inline-flex;align-items:center;gap:6px;cursor:pointer;border:1px solid var(--vpm-dark);background:var(--vpm-dark);color:#fff;border-radius:8px;padding:7px 12px;font-size:14px;font-weight:600;line-height:1.2}
.vpm-btn:hover{filter:brightness(1.15)}
.vpm-ghost{background:#fff;color:var(--vpm-dark)}
.vpm-cols,.vpm-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:14px}
.vpm-cols{grid-template-columns:1fr;padding:10px;background:#fffaf2;border-radius:8px}
.vpm-cols[hidden]{display:none}
.vpm-opts label,.vpm-cols label{display:flex;flex-direction:column;gap:3px;font-size:13px;font-weight:600;color:#374151}
.vpm-opts select,.vpm-opts input[type=text],.vpm-cols select{font-size:14px;padding:5px 6px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-weight:400}
.vpm-opts .vpm-check{flex-direction:row;align-items:center;gap:6px;font-weight:500}
.vpm-opts .vpm-wide{grid-column:1/-1}
.vpm-bw-out{font-weight:400;color:#6b7280}
.vpm-svg{display:block;width:100%;height:auto;aspect-ratio:8/5;background:#fff}
.vpm-msg{min-height:1.2em;margin:6px 0 0;font-size:13px;color:#4b5563}
.vpm-err{color:#b91c1c;font-weight:600}
.vpm-table-wrap{overflow-x:auto;margin-top:12px}
.vpm-stats{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
.vpm-stats th,.vpm-stats td{border-bottom:1px solid #f3f4f6;padding:5px 6px;text-align:right;white-space:nowrap}
.vpm-stats th:first-child,.vpm-stats td:first-child{text-align:left}
.vpm-stats th{background:#fffaf2;font-weight:700}
.vpm-privacy{margin:10px 0 0;font-size:12px;color:#6b7280}
@media (max-width:860px){.vpm-grid{grid-template-columns:1fr}.vpm-out{order:-1}}
.vpm select,.vpm input[type=text]{--theme-form-field-height:36px;height:36px;min-height:36px;padding:4px 8px;color:#111827;font-size:14px;line-height:1.2;background-color:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:none}
.vpm input[type=text]::placeholder{color:#9ca3af}
.vpm input[type=range]{height:auto;padding:0;border:0;accent-color:var(--vpm-dark)}
.vpm input[type=checkbox]{width:16px;height:16px;accent-color:var(--vpm-dark)}
.vpm select{-webkit-appearance:menulist;appearance:auto;padding-right:4px}
.vpm-data{color:#111827}
.vpm-note{margin:6px 0 0;font-size:12px;color:#6b7280}
.vpm-comp[hidden]{display:none}
