.wp-panel{border:1px solid var(--border,#24506b);border-radius:12px;padding:16px;background:var(--panel,#0c2132);color:var(--text,#e6faff);min-width:0;order:3}.wp-results[hidden]{display:none}
.wp-panel header,.wp-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.wp-panel h2,.wp-dialog h2{margin:0;font-size:18px}.wp-panel p{font-size:13px}.wp-panel summary{cursor:pointer;padding:10px 0}
.wp-item{border:1px solid var(--t-line,#397088);border-radius:8px;padding:12px;margin:12px 0;min-width:0;display:grid;gap:10px}.wp-item pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.6}.wp-item summary{cursor:pointer;font-size:13px}.wp-panel select{max-width:100%;min-height:44px;background:var(--t-surface,#0c2132);color:var(--t-text,#e6faff);border:1px solid var(--t-line,#397088);border-radius:8px;padding:8px}
.wp-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;max-height:300px;overflow:auto}.wp-results button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;padding:12px}.wp-results span{font-size:12px;overflow-wrap:anywhere}.wp-results small{font-size:11px}
.wp-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:85dvh;overflow:auto;background:var(--panel,#0c2132);color:var(--text,#e6faff);border:1px solid #2585a1;border-radius:14px;padding:20px}.wp-dialog::backdrop{background:#021019a6}.wp-dialog header{margin-bottom:16px}.wp-dialog header button{min-width:44px;min-height:44px}.wp-dialog form{display:grid;gap:12px}.wp-dialog label{display:grid;gap:6px;font-size:13px}.wp-dialog input:not([type=checkbox]),.wp-dialog select,.wp-dialog textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px;background:var(--input,#081a28);color:inherit;border:1px solid #397088;border-radius:8px;font:inherit}.wp-dialog .wp-check{display:flex;align-items:flex-start;gap:8px;line-height:1.5}.wp-check input{width:20px;height:20px;flex-shrink:0}.wp-dialog button,.wp-panel button{min-height:40px;cursor:pointer}.wp-catalog{display:grid;gap:4px;max-height:190px;overflow:auto}.wp-catalog:empty{display:none}.wp-catalog button{text-align:left;white-space:normal;overflow-wrap:anywhere}.wp-dialog [data-error]{color:#ef8491;overflow-wrap:anywhere}.wp-dialog [data-selection]{margin:0;font-size:13px}.wp-dialog h3{overflow-wrap:anywhere}
html[data-mtr-theme="light"] .wp-panel,html[data-mtr-theme="light"] .wp-dialog{background:#f5f8ff;color:#10263b}html[data-mtr-theme="light"] .wp-dialog input:not([type=checkbox]),html[data-mtr-theme="light"] .wp-dialog select,html[data-mtr-theme="light"] .wp-dialog textarea{background:white;color:#10263b}
