/* ═══════════════════════════════════════════════════════════════════════════════════════════
   Экран «Уведомления» в листе аккаунта. Только вид: разметка — notifications-view.js,
   данные — notifications-client.js. Классы с префиксом notify-; существующие классы листа
   (nav-k-account-section, nav-k-account-h, sum-row, m-switch, support, error) не переопределяем,
   а дополняем. Ни inline-стилей, ни эмодзи.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */
.notify-screen{display:flex;flex-direction:column;gap:16px;min-width:0}
.notify-screen>.nav-k-account-h{margin:0}

/* Список типов: одна карточка, строки-переключатели. 56 px — палец, 12,5 px — мелкий текст. */
.notify-list{display:flex;flex-direction:column;gap:2px;padding:6px;border:1px solid var(--m-line);border-radius:18px;background:var(--m-card);box-sizing:border-box}
.notify-screen .sum-row,.notify-quiet .sum-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:6px 10px;border:0;border-radius:12px;background:none;color:var(--m-text);font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
.notify-screen .sum-row:hover,.notify-quiet .sum-row:hover{background:var(--m-raised)}
.notify-screen .sum-row:active,.notify-quiet .sum-row:active{transform:scale(.98)}
.notify-screen .sum-row .nav-k-account-row-text,.notify-quiet .sum-row .nav-k-account-row-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.notify-screen .sum-row .nav-k-account-row-text b,.notify-quiet .sum-row .nav-k-account-row-text b{font-size:14.5px;font-weight:600;line-height:1.3}
.notify-screen .sum-row .nav-k-account-row-text small,.notify-quiet .sum-row .nav-k-account-row-text small{font-size:12.5px;line-height:1.35;color:var(--m-muted);overflow-wrap:anywhere}
.notify-screen .sum-row[role="switch"][aria-checked="true"] .m-switch{background:var(--m-accent)}
.notify-screen .sum-row[role="switch"][aria-checked="true"] .m-switch::after{left:19px;background:#fff}
.notify-screen .sum-row[role="switch"] .m-switch::after{transition:left .15s,background .15s}

/* Тишина: заголовок, переключатель и два выбора часа. Свой список 00…23, шаг 1 час. */
.notify-quiet{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--m-line);border-radius:18px;background:var(--m-card);box-sizing:border-box}
.notify-quiet-title{margin:0;padding:0 2px;font-size:15px;font-weight:600;line-height:1.3;color:var(--m-text)}
.notify-quiet .sum-row{min-height:48px;padding:2px}
.notify-times{display:flex;flex-direction:column;gap:10px;min-width:0}
.notify-time{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:600;color:var(--m-muted)}
.notify-time-label{min-width:18px}
.notify-time-button{grid-column:2;width:100%;height:44px;padding:0 12px;border:1px solid var(--m-line);border-radius:12px;background:var(--m-deep);color:var(--m-text);font:inherit;font-size:16px;font-weight:400;text-align:left;box-sizing:border-box;cursor:pointer;font-variant-numeric:tabular-nums}
.notify-time-button:hover:not(:disabled){border-color:var(--m-accent-line)}
.notify-time-button[aria-expanded="true"]{border-color:var(--m-accent)}
.notify-time-button:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
.notify-time-button:disabled{opacity:.55;cursor:default}
.notify-hours{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:8px;border:1px solid var(--m-line);border-radius:14px;background:var(--m-deep);box-sizing:border-box}
.notify-hour{min-height:44px;padding:0;border:1px solid transparent;border-radius:10px;background:var(--m-raised);color:var(--m-text);font:inherit;font-size:13px;font-weight:600;cursor:pointer;font-variant-numeric:tabular-nums}
.notify-hour:hover:not(:disabled){border-color:var(--m-accent-line)}
.notify-hour[aria-selected="true"]{border-color:var(--m-accent);background:var(--m-accent-deep);color:var(--m-accent-text)}
.notify-hour:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
.notify-hour:disabled{opacity:.35;cursor:default}
.notify-quiet-off{margin:0;font-size:12.5px;line-height:1.4;color:var(--m-muted);overflow-wrap:anywhere}
.notify-where{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;font-size:13px;line-height:1.4;color:var(--m-muted)}
.notify-where b{font-weight:600;color:var(--m-text)}
.notify-save{margin:0;font-size:12.5px;line-height:1.4;color:var(--nk-peach-text);overflow-wrap:anywhere}

/* ПК A2: лист аккаунта уже в центре; «Уведомления» — одной колонкой, без разрыва карточек. */
@media (min-width:1024px){
  body[data-nav-k-wide="1"] .nav-k-desk-main>.nav-k-account-sheet[data-account-view="notifications"]{columns:auto;max-width:720px}
}

@media (prefers-reduced-motion:reduce){
  .notify-screen .sum-row,.notify-quiet .sum-row{transition:none!important}
  .notify-screen .sum-row:active,.notify-quiet .sum-row:active{transform:none}
}
