:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#242033;background:#f7f6fb;font-size:15px}*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #e4dfec;padding:22px 5%;display:flex;justify-content:space-between;align-items:center}header strong{font-size:22px}header span{font-weight:400;color:#6d657b;font-size:16px}main{max-width:1250px;margin:40px auto;padding:0 24px}h1{font-size:34px;letter-spacing:-1px;margin:8px 0 22px}h2{font-size:20px}p{line-height:1.6}.eyebrow{font-size:11px;letter-spacing:2px;color:#6d657b}section{background:white;border:1px solid #e4dfec;border-radius:14px;padding:28px;margin:20px 0}.heading,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}button,a{cursor:pointer}button{background:#F1C920;color:#242033;border:0;border-radius:7px;padding:11px 16px;font:inherit}button:hover{background:#4CD6F4}button:disabled{opacity:.5;cursor:wait}nav{display:flex;gap:8px;flex-wrap:wrap}nav button{background:#eee8f7;color:#242033}nav button.active{background:#BC62FF;color:#242033}input,select,textarea{font:inherit;border:1px solid #c9bfd8;border-radius:7px;padding:10px;background:white;color:inherit}textarea{display:block;width:100%;margin:10px 0;resize:vertical}pre{white-space:pre-wrap;background:#e6f9fd;border-radius:10px;padding:22px;line-height:1.6;font:inherit}.stats{display:flex;gap:16px;flex-wrap:wrap}.stats div{padding:16px 24px;background:#F1C920;border-radius:9px;flex:1}.stats strong{display:block;font-size:28px;margin-bottom:5px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;color:#6d657b}td,th{padding:14px 10px;border-bottom:1px solid #eee9f4;vertical-align:top}td{font-size:14px}td pre{margin:0;padding:8px;min-width:220px;font-size:13px}.scroll{overflow:auto}.student{border-bottom:1px solid #eee9f4;padding:20px 0}.student .actions{justify-content:flex-start;margin:12px 0}.muted{color:#6d657b}#notice:not(:empty){padding:14px;background:#fff4be;border-radius:8px}#auth-link{margin:20px 0;color:#62308c}#login{max-width:650px;margin:12vh auto}#mode{color:#6d657b}a{overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:600px){main{padding:0 12px;margin-top:20px}section{padding:16px}h1{font-size:27px}header span{display:none}.stats div{padding:12px}.heading{align-items:flex-start}}

header{border-top:4px solid #BC62FF}.stats div:nth-child(2){background:#BC62FF}.stats div:nth-child(3){background:#4CD6F4}#test,#refresh,#sync{background:#4CD6F4}#test:hover,#refresh:hover,#sync:hover{background:#BC62FF}#login{border-top:5px solid #BC62FF}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #62308c;outline-offset:3px}::selection{background:#BC62FF;color:#242033}

.auth-pending{display:flex;gap:16px;align-items:flex-start;margin-top:24px;padding:20px;background:#e6f9fd;border:1px solid #4CD6F4;border-radius:12px}.auth-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;background:#4CD6F4;border-radius:50%;font-size:24px}.auth-pending strong{font-size:17px}.auth-pending p{margin:8px 0;color:#474055}.auth-pending small{color:#6d657b}#auth-code{letter-spacing:2px;white-space:nowrap}
.student-details{color:#6d657b;font-size:14px;background:#f7f6fb;padding:10px 12px;border-radius:8px}
.status-group{margin:14px 0;border:1px solid #e4dfec;border-radius:12px;overflow:hidden}.status-group summary{cursor:pointer;padding:18px;background:#f1ecf8;font-weight:600}.status-group summary span:last-child{float:right;background:white;border-radius:20px;padding:2px 10px;font-size:13px}.status-group:nth-child(1) summary{background:#F1C920}.status-group:nth-child(2) summary{background:#4CD6F4}.status-group:nth-child(3) summary{background:#BC62FF}.status-members{padding:0 18px}.status-members>.student:last-child{border-bottom:0}.status-group summary:focus-visible{outline:3px solid #62308c;outline-offset:-3px}
.status-group[data-group="Подключен к рассылке"] summary{background:#4CD6F4}.status-group[data-group="Активен"] summary{background:#F1C920}.status-group[data-group="Отдыхает"] summary{background:#4CD6F4}.status-group[data-group="Написать позже"] summary{background:#BC62FF}.status-group[data-group="Ушел на время"] summary{background:#f1ecf8}
