.np-telegram { min-width:0; padding:24px; border:1px solid var(--border, #333333); border-radius:14px; background:var(--bg-card-solid, #101010); grid-column:1 / -1; scroll-margin-top:140px; }
#tabContent-settings > .np-settings-integrations-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)) !important; }
.np-settings-mail-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)) !important; }
.np-telegram h3,.np-telegram h2 { margin:0 0 12px; font-size:20px; line-height:1.35; color:#f6f6f6; }
.np-telegram p,.np-telegram li,.np-telegram small { color:#c1c1c1; line-height:1.6; }
.np-telegram a { color:#a78bfa; text-underline-offset:3px; }
.np-telegram ol { padding-inline-start:22px; margin-bottom:20px; }
.np-telegram-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; }
.np-telegram label { display:block; margin-bottom:8px; }
.np-telegram small { display:block; font-size:13px; margin-top:8px; }
.np-telegram .np-telegram-toggle { display:flex; align-items:center; gap:10px; min-height:44px; margin-block:8px 16px; }
.np-telegram-toggle input { accent-color:#7c3aed; width:18px; height:18px; }
.np-telegram-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.np-telegram-actions .btn { min-height:44px; white-space:normal; }
.np-telegram [hidden] { display:none !important; }
#telegramAccount { margin-block:24px; padding:20px; }
#telegramChatChoices { overflow-wrap:anywhere; }
.np-telegram-feedback { margin-top:16px; overflow-wrap:anywhere; }
.np-telegram .np-telegram-feedback[data-kind="error"] { color:#ffb7b0; }
.np-telegram .np-telegram-feedback[data-kind="success"] { color:#a78bfa; }
@media(max-width:540px) { .np-telegram { padding:18px; } .np-telegram-actions>* { width:100%; } }
