body[data-page="telegram"]{background:#f8f7fc;color:#292638}
.telegram-shell{max-width:930px;margin:auto;min-height:calc(100dvh - 200px);padding:54px 28px 85px}
.telegram-shell h1{font-size:clamp(33px,4vw,49px);letter-spacing:-.04em;line-height:1.16;margin:10px 0}
.telegram-lead{font-size:18px;color:#625d70;line-height:1.55;margin:0 0 25px}
.telegram-note{background:#f1eafa;border:1px solid #ddcef4;border-radius:12px;padding:17px 20px;line-height:1.55;color:#493a62}
.telegram-card{background:#fff;border:1px solid #e5dfef;border-radius:18px;padding:30px;box-shadow:0 16px 38px #3d275910;margin:23px 0}
.telegram-card h2{font-size:25px;margin:0 0 8px}
.telegram-card p{line-height:1.55}
.telegram-card .button{margin:8px 12px 8px 0}
.telegram-row{display:flex;justify-content:space-between;gap:18px;align-items:start}
.telegram-label{font-size:12px;font-weight:750;letter-spacing:.08em;color:#7355aa}
#telegram-state{font-size:14px;color:#6138b4;background:#f2edfa;border-radius:999px;padding:8px 12px;white-space:nowrap}
.telegram-meta{font-size:14px;color:#675f76;border-top:1px solid #ede9f3;padding-top:17px;margin-top:23px}
.telegram-card button:focus-visible,.telegram-card a:focus-visible{outline:3px solid #7654bc;outline-offset:3px}
#telegram-message:not(:empty),#telegram-admin-message:not(:empty){border-radius:9px;background:#f6f1fd;padding:12px 14px}
#telegram-templates>div{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid #eee8f3;padding:12px 0}
#telegram-templates button{margin:0}
.telegram-stats{background:#f4effb;border-radius:10px;padding:14px 16px;line-height:1.55;font-weight:650}
.telegram-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}
.telegram-search label,#telegram-send-form label{display:block;width:100%;font-weight:700;font-size:14px}
.telegram-search input,#telegram-text{border:1px solid #c9bedc;border-radius:9px;padding:10px 13px;font:inherit;color:inherit;background:#fff}
.telegram-search input{flex:1;min-width:200px;min-height:46px}
#telegram-text{display:block;width:100%;min-height:120px;resize:vertical;margin-top:8px}
.telegram-search input:focus-visible,#telegram-text:focus-visible{outline:3px solid #7654bc;outline-offset:2px}
.telegram-recipient{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #eee8f3;padding:13px 0}
.telegram-recipient strong,.telegram-recipient small{display:block;overflow-wrap:anywhere}
.telegram-recipient small{color:#675f76;margin-top:4px}
.telegram-pager{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:12px}
#telegram-send-status:not(:empty){border-radius:9px;background:#f6f1fd;padding:12px 14px}
@media(max-width:600px){.telegram-shell{padding:34px 20px 60px}.telegram-card{padding:22px}.telegram-row{display:block}.telegram-row strong{display:inline-block;margin-top:12px}.telegram-card .button{width:100%;text-align:center}}
