/* 0.66.0: the profile tab «Уведомления» */
#notify-body{display:grid;gap:16px}
.notify-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.notify-channel{display:grid;gap:8px;align-content:start;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03)}
.notify-channel h3{margin:0}
.notify-channel p{margin:0;overflow-wrap:anywhere}
.notify-channel button{justify-self:start}
.notify-warn{color:var(--orange)}
.notify-link{color:var(--teal);text-decoration:underline}
.notify-code{font-size:13px;padding:6px 8px;border-radius:6px;background:#0c1119;border:1px solid #344052;overflow-wrap:anywhere;user-select:all}
.notify-events{white-space:normal}
.notify-events th,.notify-events td{padding:10px 12px}
.notify-events td:first-child{font-weight:400}
.notify-events td:first-child b{font-weight:600;display:block}
.notify-events td:first-child small{display:block;color:var(--muted);font-size:11px}
.notify-events td.notify-box,.notify-events th:nth-child(n+3){text-align:center;width:90px}
.notify-events td:last-child{color:inherit}
.notify-events input{width:18px;height:18px;accent-color:var(--teal)}
.notify-critical{color:var(--orange);font-size:10px;letter-spacing:.4px}
.notify-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 18px;align-items:end}
.notify-field{display:grid;gap:6px;margin:0}
.notify-field small{color:var(--muted);font-size:10px}
.notify-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.notify-settings .checkbox-label{margin:0;min-height:42px}
@media (max-width:560px){
 .notify-events th,.notify-events td{padding:8px 6px}
 .notify-events td.notify-box{width:64px}
 .notify-events th{letter-spacing:0}
}
.notify-off{display:block;color:var(--orange);font-size:11px}.notify-levels{margin:8px 0}
/* 2026-10-18 (owner): the level list as wide as its longest word, never cut; one banner for a channel not connected */
.notify-events td.notify-level,.notify-events th:nth-child(2){width:1%;white-space:nowrap}
.notify-events select{width:auto;min-width:max-content;padding:8px 30px 8px 10px}
.notify-events input.notify-pending{opacity:.4}
.notify-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 14px;border:1px solid #5b4b32;border-radius:10px;background:#211e18;color:#dcc69f;font-size:12px}
.notify-banner button{padding:7px 12px;font-size:12px}
.notify-tz-wrap{display:grid;gap:8px}.notify-tz-wrap button{justify-self:start;padding:7px 12px;font-size:12px;white-space:normal;text-align:left}
@media (max-width:560px){
 .notify-events thead{display:none}
 .notify-events tr{display:grid;grid-template-columns:auto 1fr 1fr;gap:8px 10px;align-items:center;padding:10px 0;border-top:1px solid #202a37}
 .notify-events td{border:0;padding:0}
 .notify-events td:first-child{grid-column:1/-1}
 .notify-events td.notify-level{width:auto}
 .notify-events td.notify-box{width:auto;display:flex;align-items:center;justify-content:flex-start;gap:6px}
 .notify-events td.notify-box::before{content:attr(data-label);font-size:12px;color:var(--muted)}
}
/* 2026-10-18 (owner): the «own folder» help beside the mail, folded by default */
.notify-mailhelp{border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:rgba(255,255,255,.02)}
.notify-mailhelp summary{cursor:pointer;font-size:13px;color:var(--teal)}
.notify-mailhelp[open] summary{margin-bottom:10px}
.notify-sender{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;font-size:12px}
.notify-sender code{padding:4px 8px;border-radius:6px;background:#0c1119;border:1px solid #344052;overflow-wrap:anywhere;user-select:all}
.notify-sender button,.notify-tabs button,.notify-mailwarn button{padding:7px 12px;font-size:12px}
.notify-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.notify-tabs button[aria-selected=true]{border-color:var(--teal);color:var(--teal)}
.notify-steps{margin:0 0 10px;padding-left:20px;font-size:12px;line-height:1.7;color:#c4d0de}
.notify-mailwarn{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;font-size:12px}
/* the zone list holds names up to «America/North_Dakota/New_Salem»: the field takes the whole row, never cut (0.67.x sweep) */
.notify-field:has(#notify-tz){grid-column:1/-1}#notify-tz{padding-left:10px;padding-right:10px;max-width:420px}
