/* Settings → Notifications (/shared/notify-settings.js). Tokens only (DESIGN.md); sections are
   separated by hairlines on top, never side bars. Load after /shared/style.css. */

.notify > * + * { margin-top: 16px; }
.notify .card-head { margin-bottom: 4px; }
.notify-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.notify-line { margin: 0; color: var(--ink); line-height: 1.45; }
.notify-on { font-weight: 600; }
.notify-on::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gain); vertical-align: 1px; }
.notify-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.notify-legend { margin: 0 0 8px; padding: 0; color: var(--ink); font-weight: 600; }
.notify-types { display: grid; gap: 2px; margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.notify-types legend { float: left; width: 100%; }
.notify-type { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; cursor: pointer; }
.notify-type input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); }
.notify-type-words { display: grid; gap: 1px; }
.notify-type-label { color: var(--ink); }
.notify-privacy { margin: 6px 0 0; }

.notify-quiet, .notify-devices { padding-top: 16px; border-top: 1px solid var(--line); }
.notify-quiet-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); }
.notify-hour { width: auto; min-width: 112px; padding-block: 7px; }
.notify-quiet .hint { margin: 8px 0 0; }

.notify-device-list { display: grid; margin: 0; padding: 0; list-style: none; }
.notify-device-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); }
.notify-device-item:first-child { border-top: 0; padding-top: 0; }

.notify-install { padding-top: 16px; border-top: 1px solid var(--line); }
.notify-install summary { color: var(--accent); font-weight: 600; cursor: pointer; }
.notify-install summary:hover { text-decoration: underline; }
.notify-install-body { display: grid; gap: 8px; margin-top: 10px; color: var(--ink); }
.notify-install-body > * { margin: 0; }
.notify-install-body .btn { justify-self: start; }
.notify-steps { display: grid; gap: 4px; margin: 0; padding-left: 20px; }

.notify-status:empty, .notify-devices:empty { display: none; }
