:root{--popup-width: 420px;--popup-min-height: 500px}html,body,#app-container{margin:0;width:var(--popup-width);min-height:var(--popup-min-height);background:#0f172a}.popup-root{width:var(--popup-width);min-height:var(--popup-min-height);padding:12px;box-sizing:border-box;background:#0f172a;color:#e2e8f0;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.popup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px}.popup-header h1{margin:0;font-size:14px;font-weight:700}.brand{display:flex;align-items:center;gap:8px;min-width:0}.brand-logo{width:32px;height:32px;flex:0 0 auto}.brand-text{min-width:0}.brand-text p{margin:2px 0 0;color:#94a3b8;font-size:10px;line-height:1.3}.popup-header button{border:1px solid #334155;background:#111827;color:#f8fafc;border-radius:6px;padding:6px 10px;font-size:12px;cursor:pointer}.header-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.lang-switch{display:inline-flex;border:1px solid #334155;border-radius:6px;overflow:hidden}.lang-switch button{border:0;border-right:1px solid #334155;border-radius:0;padding:6px 8px;min-width:40px}.lang-switch button:last-child{border-right:0}.lang-switch button.active{background:#1e293b;color:#fff}.popup-header button:hover{background:#1f2937}.panel{border:1px solid #334155;border-radius:8px;padding:8px 10px;background:#020617}.row{display:grid;grid-template-columns:98px minmax(0,1fr);align-items:start;gap:8px;padding:6px 0;border-bottom:1px dashed #1e293b}.row:last-child{border-bottom:0}.row span{color:#94a3b8;font-size:11px}.row strong{font-size:11px;text-align:right;overflow-wrap:anywhere;line-height:1.4}.row strong.ok{color:#4ade80}.row strong.bad{color:#f87171}.dot{display:inline-block;width:8px;height:8px;border-radius:9999px;margin-right:6px;vertical-align:-1px}.dot-ok{background:#22c55e}.dot-bad{background:#ef4444}.controls{margin-top:10px;display:grid;grid-template-columns:1fr;gap:8px}.control-btn{border:1px solid #334155;background:#0b1220;color:#e2e8f0;border-radius:6px;padding:8px 10px;font-size:12px;cursor:pointer}.control-btn:hover{background:#1f2937}.control-btn:disabled{opacity:.5;cursor:not-allowed}.control-btn.warn{border-color:#9a3412;background:#431407}.control-btn.warn:hover{background:#7c2d12}.control-btn.danger{border-color:#991b1b;background:#450a0a}.control-btn.danger:hover{background:#7f1d1d}.action-message{margin:8px 2px 0;color:#94a3b8;font-size:11px;line-height:1.4}
