*{box-sizing:border-box}
body{margin:0;font:15px/1.5 -apple-system,"Segoe UI",Arial,sans-serif;color:#1d1d1d;background:#f4f4f2}
a{color:#141414}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.top{background:#141414;color:#fff;margin-bottom:28px}
.top-in{display:flex;align-items:center;justify-content:space-between;height:62px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:700}
.brand span{border-left:1px solid #444;padding-left:12px}
.top nav a{color:#ddd;text-decoration:none;margin-left:22px;padding:6px 0;border-bottom:2px solid transparent}
.top nav a.on,.top nav a:hover{color:#fff;border-color:#FAC800}
.top nav a.muted{color:#888}
h1{font-size:26px;margin:0 0 18px}
h2{font-size:19px;margin:26px 0 12px}
.row{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-start}
.grow{flex:1 1 360px;min-width:0}
.card{background:#fff;border-radius:12px;padding:20px 22px;margin-bottom:20px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.card h2:first-child{margin-top:0}
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:20px}
.stat{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.stat b{display:block;font-size:26px;line-height:1.2}
.stat small{color:#777}
.stat.y{background:#FAC800}
.stat.y small{color:#5a4800}
table.t{width:100%;border-collapse:collapse;background:#fff}
table.t th,table.t td{padding:9px 10px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}
table.t th{font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#777;font-weight:600}
table.t tr:hover td{background:#fbfbf7}
.num{text-align:right !important;white-space:nowrap}
label{display:block;font-weight:600;margin:12px 0 4px}
input[type=text],input[type=email],input[type=password],input[type=datetime-local],input[type=number],select,textarea{width:100%;padding:9px 11px;border:1px solid #d6d6d0;border-radius:8px;font:inherit;background:#fff}
textarea{font:13px/1.45 Consolas,Menlo,monospace}
input:focus,textarea:focus,select:focus{outline:2px solid #FAC800;border-color:#FAC800}
.hint{color:#777;font-size:13px;margin-top:4px}
.btn{display:inline-block;padding:9px 18px;border-radius:8px;border:0;background:#141414;color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;margin:4px 6px 4px 0}
.btn.y{background:#FAC800;color:#141414}
.btn.ghost{background:#fff;color:#141414;border:1px solid #ccc}
.btn.red{background:#c62828}
.btn.sm{padding:5px 12px;font-size:13px}
.btn:disabled{opacity:.5;cursor:default}
.inline{display:inline}
.flash{padding:12px 16px;border-radius:10px;margin-bottom:16px;background:#e8f5e9;border:1px solid #c8e6c9}
.flash.err{background:#fdecea;border-color:#f5c6c2}
.flash.warn{background:#fff8e1;border-color:#ffe082}
.badge{display:inline-block;padding:2px 9px;border-radius:20px;font-size:12px;font-weight:600;background:#eee;white-space:nowrap}
.b-sending,.b-sent,.b-active{background:#e3f4e4;color:#1b5e20}
.b-paused,.b-queued{background:#fff3cd;color:#7a5b00}
.b-done{background:#141414;color:#FAC800}
.b-failed,.b-bounced,.b-invalid,.b-cancelled{background:#fdecea;color:#b71c1c}
.b-unsubscribed,.b-skipped{background:#eee;color:#555}
.progress{height:10px;background:#eee;border-radius:10px;overflow:hidden;margin:8px 0}
.progress i{display:block;height:100%;background:#FAC800}
.preview{width:100%;height:760px;border:1px solid #ddd;border-radius:10px;background:#efefef}
.muted{color:#888}
.tabs a{margin-right:14px;text-decoration:none;color:#666}
.tabs a.on{color:#141414;font-weight:700;border-bottom:2px solid #FAC800}
.pager{margin:14px 0}
.pager a,.pager span{margin-right:8px}
.worker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.dot{width:10px;height:10px;border-radius:50%;background:#bbb;display:inline-block}
.dot.on{background:#2e7d32;box-shadow:0 0 0 4px rgba(46,125,50,.15)}
.login{max-width:380px;margin:12vh auto}
code{background:#f1f1ec;padding:1px 5px;border-radius:4px;font-size:13px}
