:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b1116;--surface:#121b22;--surface-alt:#18242e;--border:#263644;--text:#e6eef5;--muted:#8ea3b5;--accent:#10b981;--accent-ink:#042117;--danger:#ef4444;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}.mw-shell{flex-direction:column;gap:20px;max-width:1280px;margin:0 auto;padding:24px;display:flex}.mw-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;display:flex}.mw-header h1{margin:6px 0 4px;font-size:1.5rem}.mw-badge{color:var(--accent);background:#10b98124;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-block}.mw-topology,.mw-muted{color:var(--muted);margin:0;font-size:.875rem}.mw-header-actions{align-items:center;gap:8px;display:flex}.mw-link-btn,.mw-btn{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:.875rem;font-weight:600;text-decoration:none;display:inline-flex}.mw-link-btn,.mw-btn-ghost{background:var(--surface-alt);color:var(--text);border-color:var(--border)}.mw-btn-danger{color:#fca5a5;background:#ef444426;border-color:#ef444459}.mw-btn:disabled{opacity:.55;cursor:not-allowed}.mw-alert{color:#fecaca;background:#ef444424;border:1px solid #ef444466;border-radius:8px;padding:12px 14px}.mw-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:14px;padding:18px;display:flex}.mw-auth-card{max-width:460px}.mw-tabs{gap:8px;display:flex}.mw-tab{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;padding:6px 12px}.mw-tab.active{background:var(--surface-alt);color:var(--text);border-color:var(--accent)}.mw-form,.mw-composer{flex-direction:column;gap:12px;display:flex}.mw-form label{flex-direction:column;gap:6px;font-size:.875rem;display:flex}input{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);border-radius:8px;padding:9px 11px;font-size:.875rem}.mw-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.mw-stat{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.mw-stat span{color:var(--muted);font-size:.75rem}.mw-stat strong{font-size:1.25rem}.mw-grid{grid-template-columns:380px 1fr;gap:16px;display:grid}@media (width<=960px){.mw-grid{grid-template-columns:1fr}}.mw-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.mw-card-head h2{margin:0;font-size:1.05rem}.mw-inline-form,.mw-composer-row{flex-direction:column;gap:8px;display:flex}.mw-composer-row{flex-direction:row}.mw-device-list,.mw-conv-list{flex-direction:column;gap:8px;display:flex}.mw-device-item,.mw-conv-item{text-align:left;border:1px solid var(--border);background:var(--surface-alt);width:100%;color:var(--text);cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.mw-conv-item{flex-direction:column;align-items:stretch;gap:4px}.mw-conv-item p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.8rem;overflow:hidden}.mw-device-item.active,.mw-conv-item.active{border-color:var(--accent)}.mw-pill{background:var(--bg);border-radius:999px;padding:2px 8px;font-size:.75rem}.mw-pill.status-connected{color:var(--accent)}.mw-device-detail{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding-top:8px;display:flex}.mw-meta-row,.mw-btn-row,.mw-conv-top{justify-content:space-between;gap:8px;font-size:.82rem;display:flex}.mw-qr-box{background:#fff;border-radius:8px;align-self:center;padding:10px}.mw-qr-box img{width:200px;height:200px;display:block}.mw-pairing-code{background:#10b98124;border-radius:8px;padding:8px 12px;font-size:.875rem}.mw-inbox-split{grid-template-columns:240px 1fr;gap:14px;min-height:360px;display:grid}@media (width<=720px){.mw-inbox-split{grid-template-columns:1fr}}.mw-msg-pane{background:var(--bg);border:1px solid var(--border);border-radius:10px;flex-direction:column;justify-content:space-between;gap:12px;padding:12px;display:flex}.mw-msg-list{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.mw-msg{background:var(--surface-alt);border-radius:8px;max-width:82%;padding:8px 10px;font-size:.875rem}.mw-msg.outbound{border:1px solid #10b98159;align-self:flex-end}.mw-msg.inbound{border:1px solid var(--border);align-self:flex-start}.mw-msg-meta{color:var(--muted);justify-content:space-between;gap:12px;margin-bottom:4px;font-size:.7rem;display:flex}.mw-unread{background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:1px 6px;font-size:.7rem;font-weight:700}.mw-search{max-width:240px}
