#telegramPanel{grid-column:1/-1;min-width:0}
.telegram-section{padding:22px 0;border-top:1px solid var(--line);margin:12px 0}
.telegram-section summary{cursor:pointer;font-weight:600;padding:8px 0}.telegram-section summary>span{font-size:13px;font-weight:400;color:var(--muted);margin-left:10px}
.telegram-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}.telegram-toolbar label{display:flex;align-items:center;gap:8px;font-size:14px}
.telegram-binding{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.telegram-binding label,.telegram-dialog label{display:grid;gap:8px;min-width:0;font-size:14px}
.telegram-binding input,.telegram-binding select{box-sizing:border-box;width:240px;max-width:100%}
.telegram-state,.telegram-section [role=status]{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.telegram-scroll{overflow:auto}.telegram-section table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.telegram-section td,.telegram-section th{border-bottom:1px solid var(--line);padding:12px 10px;overflow-wrap:anywhere}
.telegram-dialog{box-sizing:border-box;width:min(450px,calc(100% - 24px));max-height:90dvh;overflow:auto;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:24px}.telegram-dialog::backdrop{background:rgba(0,0,0,.45)}
.telegram-dialog form{display:grid;gap:14px}.telegram-dialog h3{font-size:18px;margin:0}.telegram-dialog p{font-size:14px;margin:0;overflow-wrap:anywhere}.telegram-dialog input[type=password]{box-sizing:border-box;width:100%;min-width:0}
.telegram-dialog .telegram-confirm{display:flex;align-items:center;gap:8px}.telegram-dialog [role=alert]{color:#d42c46}
.telegram-section input[type=checkbox],.telegram-dialog input[type=checkbox]{appearance:auto;width:18px;height:18px;min-width:18px;flex:0 0 18px;padding:0;margin:0}
@media(max-width:520px){.telegram-binding label{width:100%}.telegram-binding input,.telegram-binding select{width:100%}.telegram-section table{min-width:470px}}
