/* Spammasters panel — layout & palette follow the panel customers already know */
:root{--blue:#39b0da;--blue-d:#319abd;--item:#25718b;--item-h:#1d5d73;--panel-h:#f5f7f9;--panel:#f5f5f5;--border:#dfe3e6;--text:#333;--muted:#888;--danger:#c9302c;--ok:#3c9a4f}
*{box-sizing:border-box}
html,body{margin:0;background:#fff;color:var(--text);font:14px/1.45 "Helvetica Neue",Helvetica,Arial,sans-serif}
a{color:#287fa0;text-decoration:none}
.topbar{position:fixed;top:0;left:0;right:0;height:70px;background:var(--blue);display:flex;align-items:flex-start;justify-content:space-between;padding:0 20px;z-index:10}
.topbar .whoami{background:#fff;border-radius:0 0 6px 6px;padding:12px 10px 18px;margin-left:8px;font-size:14px;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.topbar .whoami .sep{display:inline-block;width:1px;height:14px;background:#333;margin:0 4px -2px}
.topbar .role{color:#287fa0;font-weight:600}
.topbar .stopact{margin-left:10px;font-size:12px}
.topbar .right{display:flex;gap:10px;align-items:flex-start;padding:8px 10px 0}
.topbar .right .langdd,.topbar .right .logout{margin-top:0}
.topbar .rbox{display:flex;gap:6px;align-items:center;background:#fff;border-radius:0 0 6px 6px;padding:8px 10px 10px;margin-top:-8px}
.topbar .support{text-decoration:underline;font-size:14px;color:#fff;padding:14px 24px 0 0}
.langdd{position:relative}
.langdd summary{list-style:none;cursor:pointer;border:1px solid #ccc;border-radius:3px;padding:3px 10px;font-size:12px;background:#fff}
.langdd summary::-webkit-details-marker{display:none}
.langdd summary::after{content:"";display:inline-block;margin-left:4px;border:4px solid transparent;border-top-color:#333;vertical-align:-2px}
.langdd img,.langmenu img{width:16px;height:11px;vertical-align:-1px;margin-right:3px}
.langmenu{position:absolute;right:0;top:28px;background:#fff;border:1px solid #ddd;box-shadow:0 6px 12px rgba(0,0,0,.175);padding:5px 0;min-width:158px;z-index:40}
.langmenu a{display:block;padding:4px 18px;color:#333;font-size:14px}.langmenu a:hover{background:#f5f5f5}
.topbar .logout{background:#333;color:#fff;border-radius:3px;padding:4px 11px;font-size:17px}
.sidebar{position:fixed;top:70px;bottom:0;left:0;width:270px;background:var(--blue);overflow-y:auto;display:flex;flex-direction:column}
.sidebar .brand{display:block;background:#fff;padding:22px 24px 26px}
.sidebar .brand img{height:44px}
.sidebar nav{flex:1}
.sidebar .sec{display:block;color:#fff;background:var(--blue);padding:11px 15px 11px 16px;border-bottom:1px solid #2a8fb2;font-size:14px}
.sidebar .sec i{margin-right:10px;width:16px;display:inline-block}
.sidebar a.sec.active,.sidebar a.sec:hover{background:#3fbbe6}
.sidebar .grp .items{display:none}
.sidebar .grp.open .items{display:block}
.sidebar .item{position:relative;display:block;background:var(--item);color:#fff;padding:11px 25px;border-bottom:1px solid #1f6177;font-size:14px}
.sidebar .item:hover{background:var(--item-h)}
.sidebar .item.active::after{content:"";position:absolute;right:0;top:50%;margin-top:-8px;border:8px solid transparent;border-right-color:#fff}
.sidebar .copy{color:#fff;font-size:12px;padding:12px 8px}
.content{margin:70px 0 0 270px;padding:22px 30px 40px}
.content h1{font-size:24px;margin:10px 0 18px}
.dash-cols{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}
.dash-col{flex:1 1 520px;max-width:560px;min-width:320px;display:flex;flex-direction:column;gap:20px}
.panel{border:1px solid #d6d6d6;border-radius:8px;background:#f5f5f5;overflow:hidden}
.panel-h{background:#f5f7f9;border-bottom:1px solid #d6d6d6;padding:9px 16px;font-size:15px;color:#666}
.tiles{display:flex;flex-wrap:wrap;gap:4px 2px;padding:12px 10px 10px}
.tile{width:101px;text-align:center;color:#555;font-size:12.5px;line-height:1.25;padding:2px 0}
.tile .ico{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 4px;border:1px solid #dcdcdc;border-radius:8px;background:linear-gradient(#fff,#eef0f2);box-shadow:0 1px 2px rgba(0,0,0,.07);font-size:30px;color:#2b7ea8}
.tile:hover .ico{border-color:var(--blue);color:#1d6a8f}
.tile .cap{display:block;max-width:99px;margin:0 auto;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tile.todo{opacity:.55}
.alert{padding:10px 14px;border-radius:3px;margin:0 0 12px;border:1px solid}
.alert.success{background:#dff0d8;border-color:#c3e6cb;color:#2b542c}
.alert.danger{background:#f2dede;border-color:#ebccd1;color:#a94442}
.alert.info{background:#d9edf7;border-color:#bce8f1;color:#31708f}
.card{border:1px solid var(--border);background:var(--panel);border-radius:3px;padding:18px;max-width:680px}
.form label{display:block;margin:0 0 12px;font-weight:600;font-size:13px}
.form label.check{font-weight:normal}
input,select,textarea{font:inherit;padding:6px 8px;border:1px solid #ccc;border-radius:3px;background:#fff}
.form input:not([type=checkbox]),.form textarea,.form select{display:block;width:100%;margin-top:4px;font-weight:normal}
.btn{display:inline-block;padding:6px 12px;border:1px solid #ccc;border-radius:3px;background:#fff;color:#333;cursor:pointer;font:inherit}
.btn.primary{background:var(--blue);border-color:var(--blue-d);color:#fff}
.btn.danger{color:var(--danger)}
.btn.sm{padding:3px 8px;font-size:12px}
.toolbar{display:flex;gap:8px;align-items:center;margin:0 0 12px}
.toolbar.wrap{flex-wrap:wrap}
.toolbar label{font-size:12px;display:flex;flex-direction:column}
table.grid{width:100%;border-collapse:collapse;background:#fff}
.grid th{background:var(--panel-h);text-align:left;font-weight:600;border:1px solid var(--border);padding:7px 9px;font-size:13px}
.grid td{border:1px solid var(--border);padding:6px 9px;vertical-align:top;font-size:13px;word-break:break-word}
.grid tr:nth-child(even) td{background:#fafbfc}
.grid .acts{white-space:nowrap}.grid td form{display:inline}.grid td .btn{white-space:nowrap}
.w1{width:1%}.nowrap{white-space:nowrap}.muted{color:var(--muted)}.small{font-size:12px}
.pager{margin:12px 0;display:flex;gap:4px}.pager a{padding:3px 8px;border:1px solid var(--border)}.pager a.on{background:var(--blue);color:#fff}
.cls,.dl{display:inline-block;padding:1px 7px;border-radius:9px;font-size:12px;background:#eee}
.cls.spam,.cls.phish,.cls.virus,.cls.blacklisted{background:#f8d7da;color:#842029}
.cls.unknown,.cls.greylist{background:#e2e3e5;color:#41464b}.cls.unsure{background:#fff3cd;color:#664d03}.cls.ham{background:#d1e7dd;color:#0f5132}.cls.not_spam{background:#d1e7dd;color:#0f5132}.cls.whitelisted{background:#cfe2ff;color:#084298}
.dl.delivered{background:#d1e7dd}.dl.rejected,.dl.bounced{background:#f8d7da}.dl.deferred{background:#fff3cd}
dialog{border:1px solid var(--border);border-radius:4px;padding:20px}.dlgbtns{display:flex;gap:8px;justify-content:flex-end}
.loginpage{background:#eee;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.loginbox{background:#fff;border:1px solid var(--border);border-radius:4px;padding:28px;width:380px;max-width:92vw}
.loginlogo{display:block;height:54px;margin:0 auto 20px}
.loginbox label{display:block;font-size:13px;margin-bottom:12px}.loginbox input{display:block;width:100%;margin-top:4px}
.loginfoot{margin-top:14px;font-size:12px;color:#666}
@media (max-width:820px){.sidebar{display:none}.content{margin-left:0;padding:16px}.tiles-grid{grid-template-columns:1fr}.topbar .whoami{font-size:11px}}
.tabs{display:flex;border-bottom:1px solid var(--border);margin:0 0 14px}.tabs a{padding:8px 16px;border:1px solid transparent;margin-bottom:-1px}
.tabs a.on{border-color:var(--border) var(--border) #fff;background:#fff;color:#333;border-radius:3px 3px 0 0}
.note{border-left:4px solid #ddd;padding:2px 12px;color:#555}
details.card summary{cursor:pointer;color:#287fa0;font-weight:600}details.card[open] summary{margin-bottom:12px}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.card.wide{max-width:none}.chart svg{width:100%;height:auto;display:block}
.chart .grid{stroke:#e6e8ea;stroke-width:1}.chart .axis{font-size:11px;fill:#52514e}
.chart rect:hover{opacity:.8}
.legend{display:flex;gap:16px;font-size:13px;margin-bottom:8px;color:#333}.legend i{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-1px}
pre.msg{white-space:pre-wrap;word-break:break-word;background:#fafbfc;border:1px solid var(--border);padding:12px;max-height:520px;overflow:auto}
tr.muted td{color:#999}
/* ---- SE list grid ---- */
.content h1 .sub{font-weight:600}
blockquote.se-desc{margin:0 0 22px;padding:0 0 0 12px;border-left:4px solid #ddd;color:#333;line-height:1.55;max-width:1100px}
blockquote.se-desc p{margin:0 0 10px}
.se-links{display:flex;flex-wrap:wrap;gap:30px;margin:0 0 30px 15px}
.se-links a{color:#287fa0}
.se-qr{border:1px solid var(--border);border-radius:4px;background:#fff;padding:14px 16px 4px;margin-bottom:6px}
.se-qr-h{display:flex;justify-content:space-between;align-items:center}
.se-qr-h h3{font-size:20px;font-weight:normal;margin:0 0 14px}
.se-match label{margin-left:8px}
.se-norules{text-align:center;margin:6px 0 16px}
.se-rule{display:flex;gap:14px;align-items:flex-start;margin:0 0 14px}
.se-rule select,.se-rule input{height:34px;padding:4px 10px}
.se-rule-l select{width:266px}
.se-rule>select{width:172px}
.se-rule .se-val{flex:1}
.se-rule .se-num{width:90px}
.se-rule .se-rm{margin-left:auto;color:#bbb;font-size:20px;line-height:30px}
.se-units{display:inline-flex}
.se-units button{height:34px;padding:0 12px;border:1px solid #ccc;background:#fff;margin-left:-1px;cursor:pointer;font:inherit}
.se-units button.on{background:var(--blue);color:#fff;border-color:var(--blue-d)}
.se-quick{font-size:12px;margin-top:4px}
.se-qbar{display:flex;justify-content:space-between;padding:8px 13px 14px}
.se-qbar a{color:#333}
.se-ctrl{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}
.se-group select{display:block;width:260px;height:36px;margin-top:6px;color:#777}
.se-ctrl-r{display:flex;align-items:flex-end;gap:30px}
.se-cols>span{display:block;margin-bottom:6px}
.se-dd{position:relative}
.se-dd summary{list-style:none;width:173px;height:34px;border:1px solid #ccc;border-radius:3px;padding:6px 12px;cursor:pointer;background:#fff}
.se-dd summary::-webkit-details-marker{display:none}
.se-dd summary::after{content:"";position:absolute;right:10px;top:15px;border:4px solid transparent;border-top-color:#333}
.se-dd[open] summary{background:#e6e6e6;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}
.se-dd-menu{position:absolute;z-index:20;top:36px;left:0;min-width:173px;max-height:330px;overflow:auto;background:#fff;border:1px solid #ddd;box-shadow:0 6px 12px rgba(0,0,0,.175);padding:6px 10px}
.se-dd-menu label{display:block;white-space:nowrap;margin:6px 0}
.se-search{width:39px;height:34px;border:1px solid #2e6da4;border-radius:3px;background:#337ab7;color:#fff;cursor:pointer;font-size:15px}
.se-noresults{background:#fcf8e3;border:1px solid #faebcc;color:#8a6d3b;border-radius:4px;padding:15px}
.se-pager{margin:14px 0 18px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.se-pp{display:inline-flex}.se-pp input{width:57px;height:30px;border-radius:3px 0 0 3px;font-size:12px}
.se-pp button{height:30px;width:33px;border:1px solid #ccc;border-left:0;background:#fff;border-radius:0 3px 3px 0;cursor:pointer}
.se-pages{display:inline-flex;margin-left:auto}.se-pages a{padding:4px 10px;border:1px solid #ddd;margin-left:-1px}.se-pages a.on{background:#337ab7;color:#fff;border-color:#337ab7}
table.se-table{width:100%;border-collapse:collapse;border:1px solid var(--border)}
.se-table th{background:#f5f5f5;text-align:left;font-weight:bold;border:1px solid var(--border);padding:12px 8px}
.se-table th a{color:#333}.se-table th i{font-size:11px}
.se-table td{border:1px solid var(--border);padding:12px 8px;vertical-align:middle;word-break:break-word}
.se-table td.se-selcol,.se-table th.se-selcol{width:80px;text-align:center;white-space:nowrap}
.se-selcol button.se-selall,.se-selcol button.se-selnone{width:24px;height:24px;padding:0;border:1px solid #ccc;background:#f9f9f9;margin:0 1px;cursor:pointer}
.se-rowsel{position:relative;display:inline-flex;border:1px solid #ccc;border-radius:3px;background:#fff}
.se-rowsel input{margin:7px 9px;width:16px;height:16px}
.se-rowbtn{border:0;border-left:1px solid #ccc;background:#fff;padding:0 6px;cursor:pointer;font-size:10px}
.se-rowmenu{display:none;position:absolute;z-index:30;top:30px;left:0;min-width:180px;background:#fff;border:1px solid #ddd;box-shadow:0 6px 12px rgba(0,0,0,.175);text-align:left;padding:5px 0}
.se-rowmenu.open{display:block}.se-rowmenu a{display:block;padding:5px 15px;color:#333;white-space:nowrap}.se-rowmenu a:hover{background:#f5f5f5}
.se-rowmenu a.danger{color:var(--danger)}
.se-bulk{display:flex;gap:8px;align-items:center;margin:0 0 10px}
.se-groups{max-width:700px}
dialog.se-modal{padding:0;border:0;border-radius:5px;width:600px;max-width:94vw;box-shadow:0 5px 15px rgba(0,0,0,.5)}
dialog.se-modal::backdrop{background:rgba(0,0,0,.5)}
.se-mh{padding:15px;border-bottom:1px solid #e5e5e5;font-size:18px;font-weight:600;display:flex;justify-content:space-between}
.se-x{border:0;background:none;font-size:21px;color:#aaa;cursor:pointer;line-height:1}
.se-mb{padding:15px}.se-mf{padding:15px;border-top:1px solid #e5e5e5;display:flex;justify-content:space-between}
.se-field{display:block;font-weight:bold;margin-bottom:16px}.se-field input,.se-field select,.se-field textarea{display:block;width:100%;height:34px;margin-top:5px;font-weight:normal}
.se-field textarea{height:auto}.se-field small{display:block;font-weight:normal;color:#777;margin-top:4px}
.se-field .req{color:#c9302c}
.btn.primary{background:#337ab7;border-color:#2e6da4}
@media (max-width:820px){.se-ctrl{flex-direction:column;align-items:stretch;gap:12px}.se-rule{flex-wrap:wrap}.se-rule-l select,.se-rule>select{width:100%}.se-links{gap:12px;flex-direction:column}}
.se-bulk[hidden],.se-match[hidden],.se-norules[hidden]{display:none}
.se-tabs{display:flex;list-style:none;margin:6px 0 24px;padding:0;border-bottom:1px solid #ddd}
.se-tabs li{margin-bottom:-1px}.se-tabs a{display:block;padding:10px 15px;border:1px solid transparent;border-radius:4px 4px 0 0;color:#287fa0}
.se-tabs li.on a{border-color:#ddd #ddd #fff;background:#fff;color:#555}
.se-usedef{float:right;margin-top:4px}.se-usedef label{margin-left:10px}
/* ---- cloud status ---- */
.cs-node{background:#87cefa;border-radius:12px;padding:12px 28px 22px;margin:0 0 18px;max-width:1020px;color:#fff}
.cs-node h2{text-align:center;font-size:22px;margin:6px 0 12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.7)}
.cs-usage{background:#fff;color:#000;border-radius:12px;margin:0 70px 10px;padding:16px 24px 14px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;font-size:12px}
.cs-usage>b{flex-basis:100%}
.cs-bars{position:relative;flex:1;border-left:1px solid #555;padding:6px 0 26px;min-width:240px}
.cs-bar{height:12px;margin:0 0 3px}.cs-bar.idle{background:#3366cc}.cs-bar.up{background:#dc3912}
.cs-axis{position:absolute;left:0;right:0;bottom:0;height:20px;border-top:1px solid #eee}
.cs-axis span{position:absolute;transform:translateX(-50%);top:4px;font-size:11px;color:#333;white-space:nowrap}
.cs-legend{display:flex;flex-direction:column;gap:4px;margin-left:16px}.cs-legend i{display:inline-block;width:18px;height:10px;margin-right:5px}
.cs-legend i.idle{background:#3366cc}.cs-legend i.up{background:#dc3912}
.cs-body{display:flex;gap:20px;align-items:flex-start}
.cs-rows{flex:1}
.cs-row{display:flex;align-items:stretch;border-top:1px solid rgba(255,255,255,.7)}
.cs-row:first-child{border-top:0}
.cs-h{width:90px;font-weight:bold;text-align:center;padding:10px 4px;font-size:14px}
.cs-cell{padding:8px 10px;border-left:1px solid rgba(255,255,255,.7)}
.cs-g{width:108px;height:108px;display:block}
.cs-g .lbl{font-size:11px;fill:#000}.cs-g .val{font-size:12px;fill:#000}.cs-g .mm{font-size:7px;fill:#000}
.cs-side{width:115px;border:1px solid rgba(255,255,255,.8);border-radius:8px;padding:8px 6px;text-align:center;font-size:13px}
.cs-side p{margin:6px 0 12px}.cs-side b{display:block;font-size:16px;margin-top:6px}
.cs-services{margin-top:14px;padding-top:10px;border-top:1px solid rgba(255,255,255,.7);display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px}
.cs-svc.ok i{color:#e8ffe8}.cs-svc.bad{color:#7a0000;font-weight:bold}
.cs-sync{max-width:1020px}
@media (max-width:820px){.cs-node{padding:10px}.cs-usage{margin:0 0 10px}.cs-body{flex-direction:column}.cs-side{width:auto}.cs-row{flex-wrap:wrap}}
/* ---- cloud status (redesigned) ---- */
.cs2-banner{display:flex;align-items:center;gap:12px;padding:12px 18px;border-radius:8px;margin:0 0 18px;font-size:15px;border:1px solid}
.cs2-banner.ok{background:#e9f7ef;border-color:#bfe3cd;color:#1d6b3b}
.cs2-banner.bad{background:#fdecea;border-color:#f5c6cb;color:#9b2c2c}
.cs2-banner i{font-size:19px}
.cs2-banner .cs2-lag{margin-left:auto;font-size:13px;color:#444;background:#fff;border:1px solid var(--border);padding:4px 10px;border-radius:20px}
.cs2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(440px,1fr));gap:18px;align-items:start}
.cs2-card{border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.cs2-card.s-crit{border-color:#f0b4b4}.cs2-card.s-down{border-color:#e08a8a}
.cs2-card header{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border);background:#fafbfc}
.cs2-card header h2{font-size:16px;margin:0;font-weight:600}
.cs2-dot{width:11px;height:11px;border-radius:50%;flex:0 0 auto}
.cs2-dot.s-ok{background:#2ecc71;box-shadow:0 0 0 3px #d4f3e0}
.cs2-dot.s-crit{background:#e67e22;box-shadow:0 0 0 3px #fae3cf}
.cs2-dot.s-down{background:#e74c3c;box-shadow:0 0 0 3px #f8d5d1}
.cs2-up{font-size:12.5px;color:#555}.cs2-up i{color:#888}
.cs2-time{margin-left:auto;font-size:12px;color:#999}
.cs2-err{margin:14px 18px;padding:10px 14px;background:#fdecea;border:1px solid #f5c6cb;border-radius:6px;color:#9b2c2c}
.cs2-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border)}
.cs2-tile{background:#fff;padding:12px 16px}
.cs2-lab{font-size:12px;color:#777;text-transform:uppercase;letter-spacing:.03em;margin-bottom:5px}
.cs2-val{font-size:19px;font-weight:600;color:#222;line-height:1.1}
.cs2-val small{font-size:12px;font-weight:600;color:#888}
.cs2-sub{font-size:11.5px;color:#999;margin-top:3px}
.cs2-bar{height:5px;border-radius:3px;background:#eceff1;margin-top:8px;overflow:hidden}
.cs2-bar i{display:block;height:100%;border-radius:3px;background:#2ecc71}
.cs2-tile.l-warn .cs2-bar i{background:#f39c12}.cs2-tile.l-warn .cs2-val{color:#b9770e}
.cs2-tile.l-crit .cs2-bar i{background:#e74c3c}.cs2-tile.l-crit .cs2-val{color:#c0392b}
.cs2-svcs{display:flex;flex-wrap:wrap;gap:6px 14px;padding:14px 18px;border-top:1px solid var(--border);background:#fafbfc}
.cs2-svc{font-size:12.5px;color:#555}.cs2-svc.up i{color:#2ecc71}.cs2-svc.dn{color:#c0392b;font-weight:600}.cs2-svc.dn i{color:#e74c3c}
@media (max-width:820px){.cs2-grid{grid-template-columns:1fr}.cs2-tiles{grid-template-columns:1fr 1fr}}
.se-tags{display:flex;flex-wrap:wrap;gap:4px;flex:1;align-items:center;border:1px solid #ccc;border-radius:3px;padding:3px 6px;min-height:34px}
.se-tag{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:2px;font-size:13px;line-height:20px;padding-right:5px}
.se-tag .se-tagx{color:#999;padding:0 5px;margin-right:4px;border-right:1px solid #ccc;text-decoration:none}
.se-tag .se-tagx:hover{color:#c00}
.se-tagadd{border:0;flex:1;min-width:120px;background:transparent;font:inherit;color:inherit}

/* SE legacy settings form: right-aligned labels, grey action bar */
.hf{margin-top:6px}
.hf .row{display:flex;align-items:flex-start;gap:15px;margin:0 0 16px}
.hf .row>label.l{flex:0 0 163px;text-align:right;padding-top:6px;font-size:14px;line-height:20px}
.hf .row>.f{flex:0 1 auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:32px}
.hf .row>.f input[type=text],.hf .row>.f input[type=email],.hf .row>.f input[type=number],.hf .row>.f select{width:260px;height:30px;padding:4px 10px;font-size:13px}
.hf .row>.f input[type=checkbox]{width:16px;height:16px;margin-top:8px}
.hf .hint{color:#8a6d3b;font-size:14px;width:100%}
.hf .info{color:#333;cursor:help}
.hf-bar{background:#f4f4f4;border-top:1px solid #e5e5e5;margin:24px -30px 0 -15px;padding:20px 15px 20px 193px}
.hf-bar .btn{margin-right:4px}
.btn.warn{background:#f0ad4e;border-color:#eea236;color:#fff}
.seg{display:inline-flex;border:1px solid #ccc;border-radius:3px;overflow:hidden}
.seg label{padding:6px 38px;font-size:12px;cursor:pointer;margin:0;background:#fff}
.seg input{display:none}.seg label:has(input:checked){background:#5bc0de;color:#fff}
.h3{font-size:21px;font-weight:normal;margin:22px 0 14px;padding-bottom:6px;border-bottom:1px solid #e5e5e5}
.note{border-left:3px solid #e5e5e5;padding:2px 15px;margin:0 0 16px 15px;font-size:14px}
.extbox{border:1px solid #ddd;border-radius:3px;padding:18px 30px;max-width:936px;display:grid;grid-template-columns:repeat(6,1fr);gap:6px 10px}
.extbox label{font-size:14px;font-weight:normal;margin:0}.extbox.empty{display:block;text-align:center;color:#333}
.exthead{display:flex;justify-content:space-between;align-items:center;max-width:936px;margin:0 0 10px;font-weight:bold;font-size:14px}
.exthead .sel button{padding:2px 5px;font-size:12px}
.addext{display:flex;gap:4px;margin:10px 0 0}.addext input{width:206px;height:34px;padding:6px 12px}
.optbox{border:1px solid #ddd;border-radius:3px;max-width:646px}
.optbox .o{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-bottom:1px solid #ddd;font-size:14px}
.optbox .o:last-child{border-bottom:0}
.tog{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:3px}
.tog input[type=number]{width:130px;border:0;height:32px;padding:4px 12px}.tog input[type=number]:disabled{background:#eee}
.tog .ck{padding:0 8px;border-left:1px solid #ccc;height:32px;display:flex;align-items:center}
/* train messages (SE) */
.train{max-width:690px}.train .st{font-weight:bold;font-size:14px;margin:18px 0 14px}
.train .drop{display:flex;align-items:center;justify-content:center;border:1px solid #aaa;height:100px;font-size:14px;cursor:pointer;padding:0 15px;text-align:center}
.train .drop.on{background:#eef8fc;border-color:#39b0da}
.train .small{font-size:12px;margin:8px 0 14px}.train .opt{display:flex;align-items:center;gap:10px;font-size:14px;margin:14px 0 6px}
.train .opt input{width:20px;height:20px}.train .go{text-align:right}
.btn:disabled{opacity:.65;cursor:not-allowed}
/* network tools (SE) */
.nt-tabs{display:flex;list-style:none;margin:-14px 0 18px;padding:0;border-bottom:1px solid #ddd}
.nt-tabs li a{display:block;padding:10px 15px;margin-bottom:-1px;border:1px solid transparent;border-radius:4px 4px 0 0;font-size:14px}
.nt-tabs li.on a{border-color:#ddd #ddd #fff;background:#fff;color:#555}
.nt{display:flex;gap:15px;align-items:flex-start}.nt-main{flex:1;max-width:723px;padding-top:20px}
.nt-help{flex:0 0 347px;background:#f4f6f8;padding:10px 15px 60px;font-size:14px;line-height:20px}.nt-help p{margin:0 0 10px}
.nt label{display:block;font-weight:bold;font-size:14px}.nt label input:not([type=checkbox]),.nt label select,.nt label textarea{display:block;width:100%;margin-top:3px;height:34px;padding:6px 12px;font-weight:normal}
.nt label textarea{height:110px;background:#eee}.nt label textarea:not(:disabled){background:#fff}
.nt .g3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.nt .g2{display:grid;grid-template-columns:1fr 1fr;gap:18px 30px}
.nt .lh{display:flex;justify-content:space-between}.nt .lh .r{font-weight:bold}
.nt .lb{font-weight:bold;font-size:14px;margin:22px 0 14px}.nt .ck2{display:grid;grid-template-columns:196px 196px;gap:10px 0}
.nt .ck2 label,.nt .ck1 label{font-weight:normal}.nt .ck1 label{margin:16px 0}.nt .req{color:#c00}
.nt .res-l{font-size:14px;margin:12px 0 4px}.nt .res{width:100%;height:200px;font-family:monospace;font-size:12px;white-space:pre;border:1px solid #ccc;border-radius:3px;padding:8px}
.nt .go{text-align:right;margin-top:24px}
@media (max-width:900px){.nt{flex-direction:column}.nt-help{flex:none;padding-bottom:10px}}
.pf-h{font-size:24px;font-weight:600;margin:36px 0 10px}.pf-p{font-size:14px;margin:0 0 10px}
.pf-sel{width:460px;max-width:100%;height:34px;padding:6px 12px;margin-bottom:6px}
.pf-qr{display:flex;gap:20px;align-items:center;margin:10px 0}.pf-qr svg{border:1px solid #ddd}
.pf-key{font-size:15px;letter-spacing:2px;background:#f4f4f4;padding:4px 8px}
.esr-days{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px}.esr-days label{font-weight:normal;display:flex;gap:4px;align-items:center}.esr-days input{width:auto!important;height:auto!important;display:inline!important}
.se-sub{font-size:11px;color:#333;margin-top:2px}
.se-cellr{float:right;display:flex;flex-direction:column;gap:2px;margin-left:8px}
.prod{display:block;width:9px;height:9px;border-radius:2px}.prod.on{background:#5cb85c}.prod.off{background:#d9534f}
.wiz-row{display:flex;gap:20px;margin-top:20px}.wiz-step{flex:0 0 200px;font-size:13px;padding-left:10px}
.wiz-body{flex:0 1 410px}.wiz-body label{display:block;font-weight:bold;font-size:13px;margin-bottom:12px}
.wiz-body input:not([type=hidden]),.wiz-body textarea{display:block;width:100%;margin-top:3px;height:34px;padding:6px 12px;font-weight:normal}
.wiz-body textarea{height:auto}.btn.wide{width:100%;margin-top:18px}
.wiz-route{display:flex;gap:6px;align-items:center;margin-bottom:6px}.wiz-route .rm{color:#999;font-size:18px;text-decoration:none}
.sh-q{display:flex;gap:4px;margin:6px 0 10px}.sh-q input{width:360px;height:34px;padding:6px 12px}
table.sh td{vertical-align:top;font-size:13px}.sh-n{width:45%}.sh-n code{white-space:normal;word-break:break-word}
table.perm{max-width:1130px}table.perm .c{text-align:center;width:113px}table.perm tr.grp td{background:#f5f5f5}table.perm i{color:#333}
.compose{max-width:760px}.compose label{display:block;font-weight:bold;font-size:14px;margin-bottom:12px}.compose label.check{font-weight:normal}.compose input:not([type=checkbox]):not([type=file]),.compose textarea{display:block;width:100%;margin-top:3px;height:34px;padding:6px 12px;font-weight:normal}.compose textarea{height:auto}
.ov-search{display:flex;gap:8px;align-items:center;margin:6px 0 18px;flex-wrap:wrap}.ov-search input{width:420px;max-width:100%;height:36px;padding:6px 12px}.ov-search select{height:36px;padding:4px 10px;min-width:180px}.ov-clear{font-size:13px}
