.sm-page{width:100%;max-width:none;color:#151922;font-size:13px}
.sm-page button,.sm-page input,.sm-page select,.sm-page textarea{font:inherit}
.sm-page button{cursor:pointer}
.sm-list-toolbar,.sm-balance-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sm-list-toolbar{min-height:30px}
.sm-field,.sm-btn,.sm-chain-filter{height:30px;border:1px solid #dce3ec;border-radius:6px;background:#fff;color:#66778f;padding:0 10px;outline:none}
.sm-field:focus,.sm-btn:focus-visible,.sm-chain-filter:focus-visible{border-color:#8ca8d0;box-shadow:0 0 0 2px #e7f0ff}
.sm-field::placeholder{color:#94a0b1}
.sm-search{width:208px;flex:0 0 208px}
.sm-wallet-field{min-width:190px;flex:1 1 200px}
.sm-btn{white-space:nowrap;padding:0 12px;font-weight:550;background:#fbfcfe}
.sm-btn:hover,.sm-chain-filter:hover{background:#f4f7fa}
.sm-btn.sm-primary{background:#070c18;border-color:#070c18;color:#fff}
.sm-btn.sm-primary:hover{background:#1c2637}
.sm-btn.active,.sm-chain-filter.active{background:#e9ecef;color:#131923;border-color:#9da5ae}
.sm-count{white-space:nowrap;color:#72829a}
.sm-toolbar-divider{height:21px;border-left:1px solid #e1e6ed}
.sm-chain-filters{display:flex;align-items:center;gap:7px}
.sm-chain-filter{white-space:nowrap;padding:0 9px;font-weight:550;background:#fff}
.sm-balance-row{margin-top:12px}
.sm-balance-row select{width:61px;color:#151922;padding-left:9px}
.sm-balance-btn{background:#9fc5b1;color:#fff;border-color:#9fc5b1}
.sm-balance-btn:hover{background:#82b49b;color:#fff}
.sm-balance-btn:disabled{opacity:.7;cursor:not-allowed}
.sm-balance-result{color:#40996f;font-size:12px}
.sm-balance-result.error{color:#a66f6f}
.sm-empty{margin:14px 0 0;color:#71819a;font-size:13px}
.sm-list-records{margin-top:16px;border:1px solid #dce3ec;border-radius:7px;overflow:hidden;background:#fff}
.sm-list-head,.sm-list-record{display:grid;grid-template-columns:140px minmax(240px,1fr) minmax(100px,200px) 38px;align-items:center;gap:10px;min-height:39px;padding:0 13px;border-bottom:1px solid #e9edf2}
.sm-list-head{background:#f5f7f9;color:#697992;font-weight:600}
.sm-list-record:last-child{border-bottom:0}
.sm-list-record code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#232a36}
.sm-list-record em{display:inline-block;font-style:normal;margin:2px 4px 2px 0;background:#edf5ff;color:#72a4e6;border-radius:4px;padding:2px 5px}
.sm-list-record>span:nth-child(3){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#68788e}
.sm-remove{border:0;background:transparent;color:#9aa6b4;font-size:19px}
.sm-remove:hover{color:#ee5b5b}
.sm-local-note{font-size:11px;color:#8b98a8;margin:10px 0}
.sm-list-records+.sm-local-note{display:none}
.sm-inline-add{max-width:520px;margin:16px 0 22px;border:1px solid #dce3ec;border-radius:8px;background:#fff;padding:17px 18px;color:#151922}
.sm-inline-add h2{font-size:15px;font-weight:700;margin:0 0 15px}
.sm-inline-add form{display:grid;gap:12px}
.sm-inline-add label{display:grid;gap:6px;color:#697992;font-weight:600}
.sm-inline-add input,.sm-inline-add select{height:36px;width:100%;border:1px solid #dce3ec;border-radius:7px;padding:0 10px;color:#17202c;background:#fff;outline:none}
.sm-inline-add input:focus,.sm-inline-add select:focus{border-color:#8ca8d0;box-shadow:0 0 0 2px #e7f0ff}
.sm-inline-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:2px}
.sm-modal-backdrop{position:fixed;z-index:300;inset:0;background:#0008;display:flex;align-items:center;justify-content:center;padding:16px}
.sm-modal{width:min(430px,100%);background:#fff;border:1px solid #dce3ec;border-radius:14px;box-shadow:0 20px 60px #0003;padding:24px;color:#151922}
.sm-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.sm-modal h2{font-size:19px;margin:0}
.sm-modal-head button{background:transparent;border:0;color:#697992;font-size:25px}
.sm-modal form{display:grid;gap:13px}
.sm-modal label{display:grid;gap:6px;color:#697992;font-weight:600}
.sm-modal input,.sm-modal select,.sm-modal textarea{width:100%;border:1px solid #dce3ec;border-radius:7px;padding:9px 11px;color:#17202c;background:#fff;outline:none}
.sm-modal textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.sm-modal p{font-size:12px;color:#7c8a9e;margin:0}
.sm-modal-actions{display:flex;justify-content:flex-end;gap:8px}
.sm-modal-actions button{border:1px solid #dce3ec;border-radius:7px;background:#fff;padding:7px 12px}
.sm-modal-actions button[type=submit]{background:#070c18;border-color:#070c18;color:#fff}
.sm-settings-modal{width:min(520px,100%);max-height:calc(100vh - 32px);overflow:auto}
.sm-settings-empty{min-height:56px;display:grid;place-items:center;border:1px solid #e4e8ef;border-radius:7px;color:#74839a!important}
.sm-settings-add-rule{width:100%;height:36px;margin:11px 0;border:1px dashed #b8c7db;border-radius:7px;background:#fbfcff;color:#526782;font-weight:600}
.sm-settings-add-rule:hover{background:#f3f7fc}
.sm-settings-help{line-height:1.5;margin:0 0 10px!important}
.sm-settings-disclosure{margin:0 0 16px!important;padding:8px 10px;background:#fff8e8;border:1px solid #eedcb6;border-radius:6px;color:#8b6c30!important}
.sm-settings-disclosure{display:none}
.sm-settings-modal .sm-modal-actions button:disabled{opacity:.45;cursor:not-allowed;background:#e1f1e7;color:#3aa875;border-color:#a2dbb7}
.sm-settings-rule{display:grid;gap:12px;margin-bottom:12px;border:1px solid #e3e9f0;border-radius:8px;padding:13px;background:#fbfcfe}
.sm-settings-rule-head{display:flex;justify-content:space-between;color:#1b2433}.sm-settings-rule-head span{color:#8897aa}
.sm-settings-rule label{display:grid;gap:6px;color:#687995;font-weight:600}
.sm-settings-rule input{width:100%;border:1px solid #dce3ec;border-radius:7px;background:#fff;padding:9px 11px;color:#17202c;outline:none}
.sm-settings-address-head{color:#697992;font-weight:600}.sm-settings-address-empty{text-align:center;padding:13px;color:#8b99ab!important;border:1px solid #e6ebf1;border-radius:6px}
.sm-settings-selected{text-align:right}
.sm-settings-remove{border:0;background:transparent;color:#8897aa;font-size:19px;line-height:1;cursor:pointer}
.sm-settings-remove:hover{color:#e05454}
.sm-settings-wallets{max-height:170px;overflow:auto;border:1px solid #e4e8ef;border-radius:7px;background:#fff;padding:4px}
.sm-settings-wallets label{display:flex;align-items:center;gap:9px;padding:7px 8px;color:#263244;font-weight:500;cursor:pointer}
.sm-settings-wallets label+label{border-top:1px solid #eef1f5}
.sm-settings-wallets input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#080e1b}
.sm-settings-wallets span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-settings-wallets small{color:#8997a9;font-size:11px}
.sm-settings-add-rule:disabled{opacity:.55;cursor:not-allowed}
.sm-settings-modal #sm-settings-save{background:#070c18;border-color:#070c18;color:#fff;cursor:pointer}
.sm-monitor-page{display:grid;grid-template-columns:minmax(238px,288px) minmax(218px,256px) minmax(280px,1fr);gap:16px;align-items:start}
.sm-monitor-address,.sm-mini-card,.sm-monitor-feed{border:1px solid #dce3ec;border-radius:8px;background:#fff;overflow:hidden}
.sm-monitor-address{min-height:calc(100vh - 119px)}
.sm-monitor-heading{height:39px;display:flex;align-items:center;gap:11px;padding:0 11px;background:#f5f7f9;border-bottom:1px solid #dce3ec;color:#718099;white-space:nowrap}
.sm-monitor-heading strong{font-weight:650;margin-right:auto}
.sm-icon-btn{border:0;background:transparent;color:#718099;font-size:15px;padding:0;line-height:1}
.sm-icon-btn:hover{color:#121821}
.sm-monitor-sort{position:relative}
.sm-monitor-sort>button{border:0;background:transparent;padding:0;color:#202735;font-weight:650;font-size:12px;white-space:nowrap}
.sm-sort-menu{position:absolute;right:0;top:23px;z-index:10;min-width:108px;background:#fff;border:1px solid #dce3ec;border-radius:7px;box-shadow:0 8px 22px #27375226;padding:4px}
.sm-sort-menu button{display:block;width:100%;border:0;background:transparent;color:#697992;text-align:left;padding:7px 9px;border-radius:4px}
.sm-sort-menu button:hover{background:#f1f4f8}
.sm-monitor-search{height:37px;display:flex;align-items:center;gap:6px;padding:0 9px;border-bottom:1px solid #e6eaf0;color:#aab5c5}
.sm-monitor-search input{border:0;outline:0;width:100%;background:transparent;color:#202735;font-size:12px}
.sm-monitor-search input::placeholder{color:#aab5c5}
.sm-monitor-all{width:100%;height:34px;border:0;background:#f1f5f9;display:flex;align-items:center;justify-content:space-between;padding:0 11px;color:#18202b;font-weight:650;text-align:left;cursor:pointer}
.sm-monitor-all:focus-visible{outline:2px solid #8ca8d0;outline-offset:-2px}
.sm-monitor-addresses{padding:3px 0}
.sm-monitor-wallet{display:flex;align-items:center;justify-content:space-between;width:100%;height:38px;padding:0 12px;border:0;background:transparent;text-align:left;color:#2a3445}
.sm-monitor-wallet:hover,.sm-monitor-wallet.active{background:#edf3fa}
.sm-monitor-wallet small{color:#92a0b2}
.sm-monitor-chains{height:36px;display:flex;align-items:flex-start;gap:4px;white-space:nowrap}
.sm-monitor-chain{height:27px;border:1px solid #dce3ec;border-radius:7px;background:#fff;color:#718099;font-size:12px;font-weight:600;padding:0 7px;display:flex;align-items:center;gap:4px}
.sm-monitor-chain.active{background:#f3f5f8;border-color:#9da5ae;color:#121820}
.sm-chain-orb{width:13px;height:13px;display:inline-grid;place-items:center;border-radius:50%;font-size:8px;background:#15171b;color:#f3c83b}
.sm-chain-orb:before{content:'◈'}
.orb-base{background:#2f67fa;color:#fff}.orb-base:before{content:'◒'}
.orb-sol{background:#15171b;color:#7feac4}.orb-sol:before{content:'≋'}
.orb-eth{background:#e3e7ef;color:#5c6170}.orb-eth:before{content:'♦'}
.orb-rbh{background:#d2f650;color:#21271e}.orb-rbh:before{content:'↗'}
.sm-mini-card{margin-bottom:12px}
.sm-mini-head{height:39px;display:flex;align-items:center;gap:13px;padding:0 11px;border-bottom:1px solid #dce3ec;background:#f5f7f9;color:#718099}
.sm-mini-head strong{font-weight:650;margin-right:auto}
.sm-mini-head small{font-size:11px;color:#9ba7b8}
.sm-mini-empty{height:49px;display:grid;place-items:center;margin:0;color:#718099;font-size:12px}
.sm-signal-card{min-height:185px}
.sm-signal-note{margin:9px 11px 0;font-size:10px;color:#a4afbd}
.sm-signal-empty{height:121px;display:grid;place-items:center;color:#8493a9;font-size:12px}
.sm-history-row{height:31px;display:flex;align-items:center;gap:7px;padding:0 11px;border-bottom:1px solid #edf0f3;font-size:12px}
.sm-history-row strong{font-weight:680;color:#202735;min-width:0;overflow:hidden;text-overflow:ellipsis}
.sm-history-type{border-radius:4px;padding:2px 4px;white-space:nowrap;font-size:10px;font-weight:650}
.sm-history-type.buy{background:#eaf8f1;color:#58c58d}.sm-history-type.sell{background:#fff0f1;color:#ef7886}
.sm-history-ratio{margin-left:auto;color:#697992;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;white-space:nowrap}
.sm-history-row time{color:#a1aebd;font-size:10px;white-space:nowrap}
.sm-history-note{margin:0;padding:5px 10px;color:#9eabbc;font-size:9px;text-align:center;line-height:1.2}
.sm-monitor-feed{height:86px;display:grid;place-items:center;color:#718099;font-size:13px;text-align:center}
.sm-monitor-feed p{margin:0 10px}
.dark .sm-page{color:var(--text)}
.dark .sm-field,.dark .sm-btn,.dark .sm-chain-filter,.dark .sm-list-records,.dark .sm-modal,.dark .sm-monitor-address,.dark .sm-mini-card,.dark .sm-monitor-feed,.dark .sm-monitor-chain,.dark .sm-sort-menu{background:var(--card);border-color:var(--border);color:var(--text)}
.dark .sm-monitor-heading,.dark .sm-mini-head,.dark .sm-monitor-all,.dark .sm-list-head{background:var(--active);border-color:var(--border);color:var(--text)}
.dark .sm-list-record{border-color:var(--border)}
.dark .sm-history-row{border-color:var(--border)}.dark .sm-history-row strong{color:var(--text)}
.dark .sm-modal input,.dark .sm-modal select,.dark .sm-modal textarea{background:var(--card);border-color:var(--border);color:var(--text)}
.dark .sm-inline-add,.dark .sm-settings-rule{background:var(--card);border-color:var(--border);color:var(--text)}
.dark .sm-inline-add input,.dark .sm-inline-add select,.dark .sm-settings-rule input{background:var(--card);border-color:var(--border);color:var(--text)}
.dark .sm-settings-wallets{background:var(--card);border-color:var(--border)}
.dark .sm-settings-wallets label{color:var(--text);border-color:var(--border)}
@media(max-width:900px){
  .sm-monitor-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-width:0}
  .sm-monitor-feed{grid-column:1/-1}
  .sm-monitor-address{min-height:0}
  .sm-list-page{min-width:0}
  .sm-list-toolbar{gap:8px}
  .sm-toolbar-divider{display:none}
}
@media(max-width:600px){
  .sm-list-page,.sm-monitor-page{min-width:0}
  .sm-list-toolbar,.sm-balance-row{align-items:stretch}
  .sm-search,.sm-wallet-field{width:100%;min-width:0;flex:1 1 100%}
  .sm-chain-filters{width:100%;flex-wrap:wrap}
  .sm-balance-row select,.sm-balance-row button{height:36px}
  .sm-balance-result{align-self:center}
  .sm-list-records{overflow:visible}
  .sm-list-head{display:none}
  .sm-list-record{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"chain remove" "address address" "note note";gap:6px;min-height:0;padding:10px 12px}
  .sm-list-record>span:first-child{grid-area:chain}
  .sm-list-record code{grid-area:address}
  .sm-list-record>span:nth-child(3){grid-area:note;white-space:normal;overflow-wrap:anywhere}
  .sm-list-record .sm-remove{grid-area:remove}
  .sm-monitor-page{grid-template-columns:minmax(0,1fr);gap:12px}
  .sm-monitor-feed{grid-column:auto}
  .sm-monitor-heading{height:auto;min-height:39px;flex-wrap:wrap;padding:8px 11px}
  .sm-monitor-sort{max-width:100%}
  .sm-monitor-sort>button{max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .sm-monitor-addresses{max-height:240px;overflow-y:auto}
  .sm-monitor-chains{height:auto;flex-wrap:wrap;margin-bottom:10px;white-space:normal}
  .sm-inline-add,.sm-modal{max-width:100%;padding:16px}
}
