@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;900&family=Manrope:wght@400;600;700&family=JetBrains+Mono:wght@500;700&display=swap');
* { box-sizing: border-box; }
body { margin: 0; background: #050505; color: #fff; font-family: "Manrope", sans-serif; font-size: 15px; }
h1, h2, h3, .head { font-family: "Outfit", sans-serif; letter-spacing: -0.02em; margin: 0 0 8px; }
h1 { font-size: 32px; font-weight: 900; } h2 { font-size: 26px; font-weight: 900; } h3 { font-size: 20px; }
.label { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; color: #8E8E93; margin: 14px 0 6px; display: block; }
.card { background: #121212; border: 1px solid #2A2A2A; border-radius: 14px; padding: 18px; margin-bottom: 12px; }
.dashed { border-style: dashed; }
.muted { color: #A0A0A0; } .small { font-size: 12px; } .mono { font-family: "JetBrains Mono", monospace; }
.warn { color: #FF9500; } .err { color: #FF3B30; }
.row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .between { justify-content: space-between; } .gap { gap: 10px; margin-top: 10px; } .grow { flex: 1; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: rgba(0,0,0,.6); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.1); }
.top form { margin: 0; }
.logo { width: 38px; height: 38px; border-radius: 10px; background: #FF3B30; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.grid { max-width: 1150px; margin: 0 auto; padding: 24px 16px; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .grid { grid-template-columns: 1.4fr 1fr; } }
.col { min-width: 0; }
section { margin-bottom: 10px; }
.bead { display: inline-block; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 -3px 6px rgba(0,0,0,.45), inset 0 3px 5px rgba(255,255,255,.35); vertical-align: middle; }
.bR { background: #FF3B30; } .bB { background: #007AFF; } .bT { background: #FF9500; }
.beads { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { margin: 0; } .stat .label { margin-top: 0; } .stat b { font-family: "Outfit"; font-size: 34px; font-weight: 900; } .wide { grid-column: span 2; }
.pat.off { opacity: .5; } .pat form { margin: 0; }
input, select { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; background: #0b0b0b; border: 1px solid #2A2A2A; color: #fff; font: inherit; outline: none; }
input:focus, select:focus { border-color: #34C759; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: #34C759; }
.check { margin-top: 12px; }
.btn { border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 700; cursor: pointer; color: #fff; background: none; transition: background-color .2s, color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); background: #fff; color: #000; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.green { background: #34C759; color: #000; } .outline { border-color: #2A2A2A; }
.pill { font-family: "JetBrains Mono"; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid #34C759; color: #34C759; }
.line { padding: 10px 0; border-bottom: 1px solid #2A2A2A; }
.msg { background: #0b0b0b; border: 1px solid #2A2A2A; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.msg .label { margin: 0; } .msg p { margin: 6px 0 0; font-size: 14px; color: #ddd; }
.flash { max-width: 1150px; margin: 14px auto 0; padding: 12px 16px; border: 1px solid; border-radius: 12px; background: #121212; width: calc(100% - 32px); }
.foot { text-align: center; color: #666; font-size: 12px; padding: 0 20px 30px; }
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.loginbox { width: 100%; max-width: 360px; } .loginbox .btn { width: 100%; margin-top: 18px; }
.pulse-g { animation: pg 1.8s ease-in-out infinite; } .pulse-o { animation: po 1.8s ease-in-out infinite; }
@keyframes pg { 0%,100% { border-color: #34C759; box-shadow: 0 0 0 0 rgba(52,199,89,0); } 50% { border-color: #6be38a; box-shadow: 0 0 0 6px rgba(52,199,89,.18); } }
@keyframes po { 0%,100% { border-color: #FF9500; box-shadow: 0 0 0 0 rgba(255,149,0,0); } 50% { border-color: #ffb54d; box-shadow: 0 0 0 6px rgba(255,149,0,.16); } }
