body.theme-material .user-settings-overlay { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; background: var(--color-user-settings-overlay); }
body.theme-material .user-settings-overlay.open { display: flex; }
body.theme-material .user-settings-modal { position: relative; width: min(1080px, 100%); height: min(740px, calc(100dvh - 48px)); display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--color-border-default); border-radius: var(--radius-xl); background: var(--color-bg-surface); box-shadow: var(--shadow-3); }
body.theme-material .user-settings-nav { display: flex; flex-direction: column; padding: 22px 14px; border-right: 1px solid var(--color-sidebar-border); background: var(--color-sidebar-bg); }
body.theme-material .user-settings-account { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; padding: 0 9px 17px; border-bottom: 1px solid var(--color-sidebar-border); }
body.theme-material .user-settings-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--color-brand-primary-soft); color: var(--color-brand-primary); font-weight: 700; font-size: 13px; }
body.theme-material .user-settings-account span:last-child { display: grid; gap: 3px; min-width: 0; }.user-settings-account strong { overflow: hidden; color: var(--color-text-primary); text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }.user-settings-account small { color: var(--color-text-secondary); font-size: 13px; }
body.theme-material .user-settings-nav-heading { margin: 21px 10px 6px; color: var(--color-text-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body.theme-material .user-settings-nav-item, body.theme-material .user-settings-logout { min-height: 42px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: var(--radius-md); padding: 0 12px; color: var(--color-text-secondary); background: transparent; text-align: left; font: 500 15px/1 inherit; cursor: pointer; }
body.theme-material .user-settings-nav-item .lucide-icon, body.theme-material .user-settings-logout .lucide-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }.user-settings-nav-item:hover, .user-settings-nav-item:focus-visible { color: var(--color-text-primary); background: var(--color-bg-hover); outline: none; }.user-settings-nav-item.active { color: var(--color-text-primary); background: var(--color-brand-primary-soft); font-weight: 700; }.user-settings-nav-item.active .lucide-icon { color: var(--color-brand-primary); }.user-settings-logout { margin-top: auto; color: var(--color-text-secondary); }.user-settings-logout:hover, .user-settings-logout:focus-visible { color: var(--color-danger); background: var(--color-danger-soft); outline: none; }
body.theme-material .user-settings-content { min-width: 0; overflow: auto; padding: 56px clamp(28px, 6vw, 72px); background: var(--color-bg-surface-alt); }.user-settings-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: var(--radius-md); color: var(--color-text-secondary); background: transparent; font-size: 28px; cursor: pointer; }.user-settings-close:hover, .user-settings-close:focus-visible { color: var(--color-text-primary); background: var(--color-bg-hover); outline: none; }
body.theme-material .user-settings-close { display: grid; place-items: center; }.user-settings-close .lucide-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
body.theme-material .user-settings-section { display: none; max-width: 640px; }body.theme-material .user-settings-section.active { display: block; }.user-settings-section h1 { margin: 0; color: var(--color-text-primary); font-size: 30px; letter-spacing: -.03em; }.user-settings-lead { margin: 9px 0 28px; color: var(--color-text-secondary); font-size: 15px; }
body.theme-material .user-settings-card { display: grid; gap: 15px; padding: 28px; border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); background: var(--color-bg-surface); }.user-settings-card label { display: grid; gap: 7px; color: var(--color-text-primary); font-size: 13px; font-weight: 700; }.user-settings-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.user-settings-card input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-surface-alt); color: var(--color-text-primary); font: 400 15px/1 inherit; }.user-settings-card input:focus { border-color: var(--color-focus-border); outline: 3px solid var(--color-focus-ring); }.user-settings-card input:read-only { color: var(--color-text-secondary); cursor: not-allowed; }.user-settings-note, .user-settings-message { min-height: 18px; margin: 0; color: var(--color-text-secondary); font-size: 13px; line-height: 1.4; }.user-settings-message.is-error { color: var(--color-danger); }.user-settings-message.is-success { color: var(--color-success); }
body.theme-material .user-settings-primary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-md); padding: 0 18px; background: var(--color-brand-primary); color: var(--color-brand-primary-foreground); font: 700 15px/1 inherit; text-decoration: none; cursor: pointer; }.user-settings-primary:hover, .user-settings-primary:focus-visible { background: var(--color-brand-primary-hover); outline: none; }.theme-choice-list, .view-choice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.theme-choice, .view-choice { min-height: 118px; display: grid; align-content: center; gap: 8px; padding: 16px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); color: var(--color-text-primary); background: var(--color-bg-surface-alt); text-align: left; cursor: pointer; }.theme-choice:hover, .view-choice:hover, .theme-choice:focus-visible, .view-choice:focus-visible { border-color: var(--color-focus-border); background: var(--color-bg-hover); outline: none; }.theme-choice.active, .view-choice.active { border-color: var(--color-brand-primary); box-shadow: 0 0 0 2px var(--color-brand-primary-soft); }.theme-choice span, .view-choice span { color: var(--color-text-secondary); font-size: 13px; line-height: 1.35; }
@media (max-width: 720px) { body.theme-material .user-settings-overlay { align-items: flex-end; padding: 0; }.user-settings-modal { width: 100%; height: min(88dvh, 760px); grid-template-columns: 1fr; border-width: 1px 0 0; border-radius: 18px 18px 0 0; }.user-settings-nav { display: block; padding: 14px 12px 10px; border-right: 0; border-bottom: 1px solid var(--color-sidebar-border); }.user-settings-account { padding-right: 48px; }.user-settings-nav-heading, .user-settings-logout { display: none; }.user-settings-nav-item { display: inline-flex; min-height: 38px; margin: 9px 3px 0 0; font-size: 13px; }.user-settings-content { padding: 30px 16px; }.user-settings-section h1 { font-size: 25px; }.user-settings-card { padding: 18px; }.theme-choice-list, .view-choice-list, .user-settings-name-row { grid-template-columns: 1fr; } }

/* Visual theme picker */
body.theme-material .user-settings-section[data-settings-panel="theme"] {
  max-width: 760px;
}

body.theme-material .theme-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  background: var(--color-bg-surface);
}

body.theme-material .theme-choice {
  --theme-preview-accent: var(--color-theme-preview-light-accent);
  --theme-preview-sidebar: var(--color-theme-preview-light-sidebar);
  --theme-preview-workspace: var(--color-theme-preview-light-workspace);
  --theme-preview-card: var(--color-theme-preview-light-card);
  --theme-preview-control: var(--color-theme-preview-light-control);
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  grid-template-rows: 1fr auto;
  align-content: stretch;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  background: var(--color-bg-surface-alt);
  color: var(--color-text-primary);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.theme-material .theme-choice[data-theme-choice="dark"] {
  --theme-preview-accent: var(--color-theme-preview-dark-accent);
  --theme-preview-sidebar: var(--color-theme-preview-dark-sidebar);
  --theme-preview-workspace: var(--color-theme-preview-dark-workspace);
  --theme-preview-card: var(--color-theme-preview-dark-card);
  --theme-preview-control: var(--color-theme-preview-dark-control);
}

body.theme-material .theme-choice[data-theme-choice="graphite"] {
  --theme-preview-accent: var(--color-theme-preview-graphite-accent);
  --theme-preview-sidebar: var(--color-theme-preview-graphite-sidebar);
  --theme-preview-workspace: var(--color-theme-preview-graphite-workspace);
  --theme-preview-card: var(--color-theme-preview-graphite-card);
  --theme-preview-control: var(--color-theme-preview-graphite-control);
}

body.theme-material .theme-choice[data-theme-choice="midnight"] {
  --theme-preview-accent: var(--color-theme-preview-midnight-accent);
  --theme-preview-sidebar: var(--color-theme-preview-midnight-sidebar);
  --theme-preview-workspace: var(--color-theme-preview-midnight-workspace);
  --theme-preview-card: var(--color-theme-preview-midnight-card);
  --theme-preview-control: var(--color-theme-preview-midnight-control);
}

/* Settings navigation uses the sidebar's dedicated hover elevation in every theme. */
body.theme-material .user-settings-nav-item {
  transition: background-color .16s ease, color .16s ease;
}

body.theme-material .user-settings-nav-item[hidden] {
  display: none;
}

body.theme-material .user-settings-nav-item:not(.active):hover,
body.theme-material .user-settings-nav-item:not(.active):focus-visible {
  color: var(--color-text-primary);
  background: var(--color-sidebar-hover);
}

body.theme-material .theme-choice:hover {
  border-color: var(--color-focus-border);
  background: var(--color-bg-hover);
}

body.theme-material .theme-choice:focus-visible {
  border-color: var(--color-brand-primary);
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 2px;
}

body.theme-material .theme-choice.active {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 2px var(--color-brand-primary-soft);
}

body.theme-material .theme-choice-copy {
  display: grid;
  gap: 8px;
  align-self: center;
  min-width: 0;
  color: var(--color-text-primary);
}

body.theme-material .theme-choice-copy strong {
  font-size: 17px;
  line-height: 1.2;
}

body.theme-material .theme-choice-copy > span {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.35;
}

body.theme-material .theme-choice-preview {
  position: relative;
  width: 120px;
  height: 88px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--color-theme-preview-frame);
  border-radius: 12px;
  background: var(--theme-preview-workspace);
  box-shadow: var(--shadow-1);
}

body.theme-material .theme-preview-topbar {
  position: absolute;
  inset: 0 0 auto;
  height: 19px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-bottom: 1px solid var(--color-theme-preview-frame);
  background: var(--theme-preview-sidebar);
}

body.theme-material .theme-preview-topbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--theme-preview-control);
}

body.theme-material .theme-preview-sidebar {
  position: absolute;
  inset: 19px auto 0 0;
  width: 34px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px 7px;
  border-right: 1px solid var(--color-theme-preview-frame);
  background: var(--theme-preview-sidebar);
}

body.theme-material .theme-preview-sidebar i {
  height: 6px;
  border-radius: 4px;
  background: var(--theme-preview-control);
}

body.theme-material .theme-preview-sidebar i:first-child {
  background: var(--theme-preview-accent);
}

body.theme-material .theme-preview-content {
  position: absolute;
  inset: 31px 9px 9px 45px;
  display: grid;
  grid-template-rows: 1fr 8px 8px;
  gap: 7px;
}

body.theme-material .theme-preview-content i {
  border-radius: 5px;
  background: var(--theme-preview-control);
}

body.theme-material .theme-preview-content i:first-child {
  background: var(--theme-preview-card);
}

body.theme-material .theme-preview-content i:last-child {
  width: 68%;
}

body.theme-material .theme-choice-palette {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.theme-material .theme-choice-palette i {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--color-theme-preview-frame);
  border-radius: 50%;
  background: var(--theme-preview-workspace);
}

body.theme-material .theme-choice-palette i:nth-child(1) { background: var(--theme-preview-accent); }
body.theme-material .theme-choice-palette i:nth-child(2) { background: var(--theme-preview-sidebar); }
body.theme-material .theme-choice-palette i:nth-child(3) { background: var(--theme-preview-workspace); }
body.theme-material .theme-choice-palette i:nth-child(4) { background: var(--theme-preview-card); }
body.theme-material .theme-choice-palette i:nth-child(5) { background: var(--theme-preview-control); }

body.theme-material .theme-choice-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: var(--color-theme-preview-check);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

body.theme-material .theme-choice.active .theme-choice-check {
  display: block;
}

/* Profile and security controls. */
body.theme-material .user-settings-input-with-icon,
body.theme-material .user-settings-password-field {
  position: relative;
  display: block;
}

body.theme-material .user-settings-input-with-icon input {
  padding-left: 26px;
}

body.theme-material .user-settings-input-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  color: var(--color-text-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

body.theme-material .user-settings-logout:hover,
body.theme-material .user-settings-logout:focus-visible {
  color: var(--color-danger);
  background: var(--color-danger-soft);
  outline: none;
}

body.theme-material .security-password-card {
  gap: 16px;
  margin-top: 18px;
}

body.theme-material .security-password-title {
  margin: 0 0 4px;
  color: var(--color-text-primary);
  font-size: 18px;
  line-height: 1.25;
}

body.theme-material .security-password-rules {
  margin: -3px 0 0;
  color: var(--color-text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

body.theme-material .security-password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.theme-material .security-password-actions .user-settings-primary {
  min-width: 174px;
}

body.theme-material .security-password-generate {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--color-brand-primary);
  background: transparent;
  font: 600 13px/1.3 inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 3px;
  cursor: pointer;
}

body.theme-material .security-password-generate:hover,
body.theme-material .security-password-generate:focus-visible {
  color: var(--color-brand-primary-hover);
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 3px;
}

body.theme-material .user-settings-section[data-settings-panel="security"] {
  max-width: 640px;
}

/* Notification settings use the same compact, token-based preview language as security. */
body.theme-material .user-settings-section[data-settings-panel="notifications"] {
  max-width: 640px;
}

body.theme-material .notification-settings-card {
  gap: 16px;
}

body.theme-material .notification-settings-illustration {
  position: relative;
  min-height: 170px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface-alt);
}

body.theme-material .notification-settings-illustration::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .38;
  background-image: radial-gradient(var(--color-brand-primary) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

body.theme-material .notification-settings-bell,
body.theme-material .notification-settings-preview {
  position: relative;
  z-index: 1;
}

body.theme-material .notification-settings-bell {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--color-border-default);
  color: var(--color-brand-primary);
  background: color-mix(in srgb, var(--color-brand-primary-soft) 58%, transparent);
}

body.theme-material .notification-settings-bell::before {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 1px solid var(--color-focus-border);
  border-radius: 50%;
  content: "";
  background: var(--color-bg-surface);
  box-shadow: 0 0 0 10px var(--color-brand-primary-soft);
}

body.theme-material .notification-settings-bell svg {
  position: relative;
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.theme-material .notification-settings-preview {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

body.theme-material .notification-settings-preview span {
  min-height: 34px;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--color-border-default);
  border-radius: 7px;
  background: var(--color-bg-surface);
}

body.theme-material .notification-settings-preview i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: var(--color-brand-primary);
  box-shadow: 0 0 0 3px var(--color-brand-primary-soft);
}

body.theme-material .notification-settings-preview b,
body.theme-material .notification-settings-preview em {
  height: 6px;
  display: block;
  border-radius: 999px;
  background: var(--color-text-secondary);
}

body.theme-material .notification-settings-preview b { width: 84%; opacity: .58; }
body.theme-material .notification-settings-preview em { width: 100%; opacity: .28; }

body.theme-material .notification-settings-copy { display: grid; gap: 5px; }
body.theme-material .notification-settings-copy strong { color: var(--color-text-primary); font-size: 17px; }
body.theme-material .notification-settings-copy p { margin: 0; color: var(--color-text-secondary); font-size: 13px; line-height: 1.45; }
body.theme-material .notification-settings-push { justify-self: start; min-width: 174px; }
body.theme-material .notification-settings-push .notifications-btn-icon { display: inline-flex; width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }
body.theme-material .notification-settings-push .notifications-btn-icon svg { width: 18px; height: 18px; }

/* Decorative security status panel, built from the current theme tokens. */
body.theme-material .security-illustration {
  position: relative;
  min-height: 178px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface-alt);
  box-shadow: var(--shadow-1);
}

body.theme-material .security-illustration::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .42;
  background-image: linear-gradient(var(--color-border-default) 1px, transparent 1px), linear-gradient(90deg, var(--color-border-default) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

body.theme-material .security-illustration-emblem,
body.theme-material .security-illustration-status {
  position: relative;
  z-index: 1;
}

body.theme-material .security-illustration-emblem {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-right: 1px solid var(--color-border-default);
  background: color-mix(in srgb, var(--color-brand-primary-soft) 58%, transparent);
}

body.theme-material .security-illustration-emblem span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-focus-border);
  border-radius: 50%;
  color: var(--color-brand-primary);
  background: var(--color-bg-surface);
  box-shadow: 0 0 0 10px var(--color-brand-primary-soft);
}

body.theme-material .security-illustration-emblem svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.theme-material .security-illustration-emblem i {
  width: 58px;
  height: 6px;
  display: block;
  border-radius: 999px;
  background: var(--color-brand-primary);
  opacity: .85;
}

body.theme-material .security-illustration-emblem i:last-child {
  width: 36px;
  background: var(--color-text-secondary);
  opacity: .4;
}

body.theme-material .security-illustration-status {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

body.theme-material .security-illustration-status span {
  min-height: 32px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--color-border-default);
  border-radius: 7px;
  background: var(--color-bg-surface);
}

body.theme-material .security-illustration-status i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-soft);
}

body.theme-material .security-illustration-status b,
body.theme-material .security-illustration-status em {
  height: 6px;
  display: block;
  border-radius: 999px;
  background: var(--color-text-secondary);
  opacity: .55;
}

body.theme-material .security-illustration-status b {
  width: 82%;
}

body.theme-material .security-illustration-status em {
  width: 100%;
  opacity: .3;
}

body.theme-material .user-settings-password-field input {
  padding-right: 84px;
}

body.theme-material .user-settings-icon-button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

body.theme-material .user-settings-password-toggle {
  right: 40px;
}

body.theme-material .user-settings-password-copy {
  right: 6px;
}

body.theme-material .user-settings-icon-button:hover:not(:disabled),
body.theme-material .user-settings-icon-button:focus-visible:not(:disabled) {
  color: var(--color-brand-primary);
  background: var(--color-brand-primary-soft);
  outline: none;
}

body.theme-material .user-settings-icon-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

body.theme-material .user-settings-icon-button .lucide-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

/* Site-settings preview mirrors the admin workspace without relying on a static image. */
body.theme-material .user-settings-section[data-settings-panel="site"] {
  max-width: 760px;
}

body.theme-material .site-settings-card {
  gap: 18px;
}

body.theme-material .site-settings-preview {
  min-height: 260px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-page);
  box-shadow: var(--shadow-1);
}

body.theme-material .site-settings-preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 10px;
  border-right: 1px solid var(--color-sidebar-border);
  background: var(--color-sidebar-bg);
}

body.theme-material .site-settings-preview-sidebar span {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 0 12px 2px;
  border-radius: 8px;
  background: var(--color-brand-primary-soft);
  box-shadow: inset 0 0 0 2px var(--color-brand-primary);
}

body.theme-material .site-settings-preview-sidebar i {
  width: 100%;
  height: 8px;
  display: block;
  border-radius: 999px;
  background: var(--color-sidebar-text);
  opacity: .34;
}

body.theme-material .site-settings-preview-sidebar i:nth-of-type(2) {
  width: 78%;
  margin-top: 12px;
}

body.theme-material .site-settings-preview-sidebar i:nth-of-type(3) {
  background: var(--color-brand-primary);
  opacity: .9;
}

body.theme-material .site-settings-preview-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 54px auto minmax(0, 1fr);
  padding: 0 14px 14px;
  background: var(--color-bg-page);
}

body.theme-material .site-settings-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-default);
}

body.theme-material .site-settings-preview-topbar span {
  width: 106px;
  height: 9px;
  display: block;
  border-radius: 999px;
  background: var(--color-text-primary);
  opacity: .9;
}

body.theme-material .site-settings-preview-topbar i {
  width: 72px;
  height: 24px;
  display: block;
  border-radius: 5px;
  background: var(--color-brand-primary);
}

body.theme-material .site-settings-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0 12px;
}

body.theme-material .site-settings-preview-heading span {
  width: 46%;
  height: 10px;
  display: block;
  border-radius: 999px;
  background: var(--color-text-primary);
  opacity: .78;
}

body.theme-material .site-settings-preview-heading i {
  width: 76px;
  height: 8px;
  display: block;
  border-radius: 999px;
  background: var(--color-text-secondary);
  opacity: .5;
}

body.theme-material .site-settings-preview-table {
  display: grid;
  grid-template-columns: 1fr 1.3fr .75fr .7fr;
  grid-auto-rows: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: 6px;
  background: var(--color-bg-surface);
}

body.theme-material .site-settings-preview-table b {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
}

body.theme-material .site-settings-preview-table b::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 52%;
  height: 5px;
  border-radius: 999px;
  background: var(--color-text-secondary);
  opacity: .42;
  transform: translateY(-50%);
}

body.theme-material .site-settings-preview-table b:nth-child(-n+4)::after {
  height: 6px;
  background: var(--color-text-primary);
  opacity: .7;
}

body.theme-material .site-settings-preview-table b:nth-child(4n)::after {
  width: 34%;
  background: var(--color-success);
  opacity: .85;
}

body.theme-material .site-settings-preview-table b:nth-child(4n) {
  border-right: 0;
}

body.theme-material .site-settings-preview-table b:nth-child(n+9) {
  border-bottom: 0;
}

body.theme-material .site-settings-open {
  justify-self: start;
}

/* Display-mode picker: previews follow the application's actual menu and task-list hierarchy. */
body.theme-material .user-settings-section[data-settings-panel="view"] {
  max-width: 980px;
}

body.theme-material .view-choice-list-illustrated {
  gap: 16px;
  padding: 18px;
}

body.theme-material .view-choice-illustrated {
  position: relative;
  min-height: 412px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 20px;
  padding: 22px;
  background: var(--color-bg-surface-alt);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.theme-material .view-choice-illustrated:hover,
body.theme-material .view-choice-illustrated:focus-visible {
  border-color: var(--color-focus-border);
  background: var(--color-bg-hover);
}

body.theme-material .view-choice-copy {
  display: grid;
  gap: 8px;
}

body.theme-material .view-choice-copy strong {
  font-size: 18px;
}

body.theme-material .view-choice-copy > span {
  max-width: 250px;
  font-size: 14px;
}

body.theme-material .view-choice-preview {
  min-height: 230px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  background: var(--color-bg-page);
  box-shadow: var(--shadow-1);
}

body.theme-material .view-preview-menu {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: 20px 12px;
  border-right: 1px solid var(--color-sidebar-border);
  background: var(--color-sidebar-bg);
}

body.theme-material .view-preview-menu i {
  width: 100%;
  height: 10px;
  display: block;
  border-radius: 999px;
  background: var(--color-sidebar-text);
  opacity: .3;
}

body.theme-material .view-preview-menu i:first-child {
  height: 17px;
  margin-bottom: 7px;
  border: 2px solid var(--color-brand-primary);
  border-radius: 4px;
  background: transparent;
  opacity: 1;
}

body.theme-material .view-preview-menu i:nth-child(2) {
  background: var(--color-brand-primary);
  box-shadow: -5px 0 0 var(--color-brand-primary);
  opacity: .9;
}

body.theme-material .view-preview-tasks {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

body.theme-material .view-preview-tasks > span {
  display: grid;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--color-bg-surface);
}

body.theme-material .view-preview-tasks > span:first-child {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 1px var(--color-brand-primary-soft);
}

body.theme-material .view-preview-tasks i {
  width: 15px;
  height: 15px;
  display: block;
  border: 2px solid var(--color-text-secondary);
  border-radius: 4px;
}

body.theme-material .view-preview-tasks b,
body.theme-material .view-preview-tasks em,
body.theme-material .view-preview-tasks small {
  display: block;
  border-radius: 999px;
  background: var(--color-text-secondary);
  opacity: .72;
}

body.theme-material .view-preview-tasks b {
  height: 9px;
  width: 78%;
}

body.theme-material .view-preview-tasks em {
  height: 6px;
  width: 60%;
}

body.theme-material .view-preview-tasks small {
  width: 22px;
  height: 16px;
  justify-self: end;
  background: var(--color-brand-primary);
  opacity: .9;
}

body.theme-material .view-preview-tasks-detailed > span {
  min-height: 58px;
  grid-template-columns: 16px minmax(0, 1fr) 24px;
  grid-template-rows: 11px 8px;
  column-gap: 12px;
  row-gap: 7px;
  padding: 12px 14px;
}

body.theme-material .view-preview-tasks-detailed i {
  grid-row: 1 / -1;
}

body.theme-material .view-preview-tasks-detailed em {
  grid-column: 2;
}

body.theme-material .view-preview-tasks-detailed small {
  grid-column: 3;
  grid-row: 1 / -1;
}

body.theme-material .view-preview-tasks-compact {
  gap: 7px;
}

body.theme-material .view-preview-tasks-compact > span {
  min-height: 30px;
  grid-template-columns: 15px minmax(0, 1fr) 22px;
  gap: 12px;
  padding: 7px 12px;
}

body.theme-material .view-preview-tasks-compact b {
  width: 66%;
  height: 7px;
}

body.theme-material .view-preview-tasks-compact small {
  height: 14px;
}

body.theme-material .view-choice-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: var(--color-brand-primary-foreground);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

body.theme-material .view-choice-illustrated.active .view-choice-check {
  display: block;
}

@media (max-width: 920px) {
  body.theme-material .theme-choice-list {
    grid-template-columns: 1fr;
  }

  body.theme-material .view-choice-list-illustrated {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.theme-material .user-settings-modal {
    width: 100%;
    height: min(88dvh, 760px);
    grid-template-columns: 1fr;
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
  }

  body.theme-material .user-settings-nav {
    display: block;
    padding: 14px 12px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--color-sidebar-border);
  }

  body.theme-material .user-settings-account {
    padding-right: 48px;
  }

  body.theme-material .user-settings-nav-heading,
  body.theme-material .user-settings-logout {
    display: none;
  }

  body.theme-material .user-settings-nav-item {
    display: inline-flex;
    min-height: 38px;
    margin: 9px 3px 0 0;
    font-size: 13px;
  }

  body.theme-material .user-settings-content {
    padding: 30px 16px;
  }

  body.theme-material .user-settings-card {
    padding: 18px;
  }

  body.theme-material .theme-choice-list {
    gap: 12px;
    padding: 12px;
  }

  body.theme-material .theme-choice {
    min-height: 168px;
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 14px;
    padding: 16px;
  }

  body.theme-material .theme-choice-preview {
    width: 108px;
    height: 80px;
  }

  body.theme-material .theme-choice-palette {
    gap: 8px;
  }

  body.theme-material .theme-choice-palette i {
    width: 22px;
    height: 22px;
  }

  body.theme-material .view-choice-list-illustrated {
    gap: 12px;
    padding: 12px;
  }

  body.theme-material .view-choice-illustrated {
    min-height: 328px;
    gap: 16px;
    padding: 16px;
  }

  body.theme-material .view-choice-preview {
    min-height: 180px;
  }

  body.theme-material .view-preview-menu {
    padding: 15px 10px;
  }

  body.theme-material .view-preview-tasks {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-material .theme-choice,
  body.theme-material .view-choice-illustrated {
    transition: none;
  }
}

/* Mobile settings follow the same clear, vertical flow as the profile reference.
   The navigation remains usable even when all administrator options are visible. */
@media (max-width: 720px) {
  body.theme-material .user-settings-overlay {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  }

  body.theme-material .user-settings-modal {
    width: min(100%, 740px);
    height: min(calc(100dvh - 24px), 860px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    border-width: 1px;
    border-radius: 22px;
  }

  body.theme-material .user-settings-nav {
    gap: 2px;
    max-height: 42dvh;
    overflow-y: auto;
    padding: 14px 12px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--color-sidebar-border);
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  body.theme-material .user-settings-account {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 0 52px 11px 4px;
  }

  body.theme-material .user-settings-avatar {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  body.theme-material .user-settings-account strong {
    font-size: 17px;
  }

  body.theme-material .user-settings-account small {
    font-size: 14px;
  }

  body.theme-material .user-settings-nav-heading {
    display: none;
  }

  body.theme-material .user-settings-nav-item,
  body.theme-material .user-settings-logout {
    position: relative;
    width: 100%;
    min-height: 44px;
    flex: 0 0 44px;
    gap: 11px;
    margin: 0;
    padding: 0 38px 0 12px;
    border-radius: 11px;
    font-size: 15px;
  }

  body.theme-material .user-settings-nav-item .lucide-icon,
  body.theme-material .user-settings-logout .lucide-icon {
    width: 20px;
    height: 20px;
  }

  body.theme-material .user-settings-nav-item::after {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    opacity: .75;
    transform: translateY(-50%) rotate(45deg);
  }

  body.theme-material .user-settings-logout {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--color-sidebar-border);
  }

  body.theme-material .user-settings-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-bg-hover);
  }

  body.theme-material .user-settings-content {
    padding: 14px 14px max(18px, calc(12px + env(safe-area-inset-bottom, 0px)));
    overscroll-behavior: contain;
  }

  body.theme-material .user-settings-section h1 {
    font-size: 23px;
    line-height: 1.15;
  }

  body.theme-material .user-settings-lead {
    margin: 6px 0 14px;
    font-size: 14px;
    line-height: 1.35;
  }

  body.theme-material .user-settings-card {
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.theme-material .user-settings-card label {
    gap: 4px;
    font-size: 12px;
  }

  body.theme-material .user-settings-name-row {
    gap: 10px;
  }

  body.theme-material .user-settings-card input {
    min-height: 44px;
    font-size: 16px;
  }

  body.theme-material .user-settings-note,
  body.theme-material .user-settings-message {
    min-height: 16px;
    font-size: 12px;
  }

  body.theme-material .user-settings-primary {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  /* "Тема" is a separate full-screen mobile section, so keep the rich
     vertical cards rather than compressing the previews into a 2-column grid. */
  body.theme-material .theme-choice-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  body.theme-material .view-choice-list-illustrated {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  body.theme-material .theme-choice {
    min-height: 168px;
    grid-template-columns: minmax(0, 1fr) 108px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 14px;
    padding: 16px;
  }

  body.theme-material .theme-choice-copy {
    gap: 6px;
  }

  body.theme-material .theme-choice-copy strong {
    font-size: 16px;
  }

  body.theme-material .theme-choice-copy > span {
    display: block;
  }

  body.theme-material .theme-choice-preview {
    width: 108px;
    height: 80px;
    align-self: center;
    justify-self: end;
  }

  body.theme-material .theme-choice-palette {
    display: flex;
    gap: 8px;
  }

  body.theme-material .theme-choice-palette i {
    width: 22px;
    height: 22px;
  }

  body.theme-material .view-choice-illustrated {
    min-height: 328px;
    align-content: stretch;
    gap: 16px;
    padding: 16px;
  }

  body.theme-material .view-choice-preview {
    min-height: 180px;
    padding: 0;
  }

  body.theme-material .view-choice-copy {
    gap: 8px;
  }

  body.theme-material .view-choice-copy strong {
    font-size: 18px;
  }

  body.theme-material .view-choice-copy > span {
    display: block;
  }

  body.theme-material .view-preview-menu {
    width: auto;
    padding: 15px 10px;
  }

  body.theme-material .view-preview-tasks {
    gap: 10px;
    padding: 14px;
  }

  body.theme-material .view-preview-tasks-detailed > span {
    min-height: 58px;
    grid-template-columns: 16px minmax(0, 1fr) 24px;
    grid-template-rows: 11px 8px;
    column-gap: 12px;
    row-gap: 7px;
    padding: 12px 14px;
  }

  body.theme-material .view-preview-tasks-compact > span {
    min-height: 30px;
    grid-template-columns: 15px minmax(0, 1fr) 22px;
    gap: 12px;
    padding: 7px 12px;
  }

  body.theme-material .view-preview-tasks i {
    width: 15px;
    height: 15px;
    border-width: 2px;
  }

  body.theme-material .view-preview-tasks b {
    height: 9px;
  }

  body.theme-material .view-preview-tasks em {
    height: 6px;
  }

  body.theme-material .view-preview-tasks small {
    width: 22px;
    height: 16px;
  }
}

/* On phones, settings are a two-step flow: menu first, then a focused detail page. */
body.theme-material .user-settings-back {
  display: none;
}

body.theme-material .user-settings-mobile-header {
  display: none;
}

body.theme-material .user-settings-nav-scroll,
body.theme-material .user-settings-nav-footer {
  display: contents;
}

@media (max-width: 720px) {
  body.theme-material .user-settings-modal {
    grid-template-rows: 1fr;
  }

  body.theme-material .user-settings-nav {
    max-height: none;
    overflow-y: auto;
    padding-bottom: max(14px, calc(10px + env(safe-area-inset-bottom, 0px)));
  }

  body.theme-material .user-settings-modal:not(.mobile-detail-open) .user-settings-nav-item.active {
    color: var(--color-text-secondary);
    background: transparent;
    font-weight: 500;
  }

  body.theme-material .user-settings-modal:not(.mobile-detail-open) .user-settings-nav-item.active .lucide-icon {
    color: currentColor;
  }

  body.theme-material .user-settings-content {
    position: absolute;
    z-index: 2;
    inset: 0;
    padding: 64px 16px max(20px, calc(14px + env(safe-area-inset-bottom, 0px)));
    visibility: hidden;
    background: var(--color-bg-surface-alt);
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }

  body.theme-material .user-settings-modal.mobile-detail-open .user-settings-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  body.theme-material .user-settings-back {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 1;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 10px;
    padding: 0 9px;
    color: var(--color-text-secondary);
    background: var(--color-bg-hover);
    font: 600 14px/1 inherit;
    cursor: pointer;
  }

  body.theme-material .user-settings-back .lucide-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  body.theme-material .user-settings-back:hover,
  body.theme-material .user-settings-back:focus-visible {
    color: var(--color-text-primary);
    outline: 2px solid var(--color-focus-ring);
    outline-offset: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-material .user-settings-content {
    transition: none;
  }
}

/* Mobile settings intentionally use the full viewport instead of a modal card. */
@media (max-width: 720px) {
  body.theme-material .user-settings-overlay {
    align-items: stretch;
    padding: 0;
    background: var(--color-bg-page);
  }

  body.theme-material .user-settings-modal {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.theme-material .user-settings-nav {
    min-height: 0;
    overflow: hidden;
    padding: 0;
    background: var(--color-bg-page);
  }

  body.theme-material .user-settings-nav-scroll {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 16px calc(92px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }

  body.theme-material .user-settings-nav-footer {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-sidebar-border);
    background: var(--color-bg-page);
  }

  body.theme-material .user-settings-modal.mobile-detail-open .user-settings-nav-footer {
    display: none;
  }

  body.theme-material .user-settings-mobile-header {
    min-height: max(56px, calc(48px + env(safe-area-inset-top, 0px)));
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex: 0 0 auto;
    margin: 0 -16px 14px;
    padding: env(safe-area-inset-top, 0px) 16px 10px;
    border-bottom: 1px solid var(--color-sidebar-border);
    color: var(--color-text-primary);
  }

  body.theme-material .user-settings-mobile-header strong {
    font-size: 17px;
    line-height: 38px;
  }

  body.theme-material .user-settings-mobile-header button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: var(--color-text-secondary);
    background: var(--color-bg-hover);
    cursor: pointer;
  }

  body.theme-material .user-settings-mobile-header button:hover,
  body.theme-material .user-settings-mobile-header button:focus-visible {
    color: var(--color-text-primary);
    outline: 2px solid var(--color-focus-ring);
    outline-offset: 1px;
  }

  body.theme-material .user-settings-mobile-header .lucide-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  body.theme-material .user-settings-account {
    padding-left: 4px;
  }

  body.theme-material .user-settings-nav-item {
    min-height: 48px;
    flex-basis: 48px;
  }

  body.theme-material .user-settings-logout {
    width: 100%;
    min-height: 46px;
    display: flex;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: var(--radius-md);
    color: var(--color-danger);
    background: var(--color-danger-soft);
    font: 500 15px/1 inherit;
  }

  body.theme-material .user-settings-logout:hover,
  body.theme-material .user-settings-logout:focus-visible {
    color: var(--color-danger);
    background: var(--color-danger-soft);
    outline: none;
  }

  body.theme-material .user-settings-content {
    padding: max(64px, calc(52px + env(safe-area-inset-top, 0px))) 16px max(20px, calc(14px + env(safe-area-inset-bottom, 0px)));
    background: var(--color-bg-page);
  }

  body.theme-material .site-settings-preview {
    min-height: 214px;
    grid-template-columns: 66px minmax(0, 1fr);
  }

  body.theme-material .site-settings-preview-sidebar {
    gap: 8px;
    padding: 11px 8px;
  }

  body.theme-material .site-settings-preview-sidebar span {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
  }

  body.theme-material .site-settings-preview-main {
    grid-template-rows: 46px auto minmax(0, 1fr);
    padding: 0 10px 10px;
  }

  body.theme-material .site-settings-preview-topbar span {
    width: 84px;
  }

  body.theme-material .site-settings-preview-topbar i {
    width: 58px;
    height: 22px;
  }

  body.theme-material .site-settings-preview-table {
    grid-auto-rows: 21px;
  }

  body.theme-material .site-settings-open {
    width: 100%;
  }

  body.theme-material .security-illustration {
    min-height: 156px;
    grid-template-columns: 38% minmax(0, 1fr);
  }

  body.theme-material .security-illustration-emblem span {
    width: 60px;
    height: 60px;
  }

  body.theme-material .security-illustration-emblem svg {
    width: 29px;
    height: 29px;
  }

  body.theme-material .security-illustration-status {
    gap: 8px;
    padding: 12px;
  }

  body.theme-material .security-password-card {
    margin-top: 14px;
    gap: 12px;
  }

  body.theme-material .security-password-title {
    margin-bottom: 2px;
    font-size: 17px;
  }

  body.theme-material .security-password-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.theme-material .security-password-actions .user-settings-primary {
    width: 100%;
  }

  body.theme-material .notification-settings-illustration {
    min-height: 150px;
    grid-template-columns: 38% minmax(0, 1fr);
  }

  body.theme-material .notification-settings-bell::before {
    width: 62px;
    height: 62px;
  }

  body.theme-material .notification-settings-bell svg {
    width: 30px;
    height: 30px;
  }

  body.theme-material .notification-settings-preview {
    gap: 8px;
    padding: 12px;
  }

  body.theme-material .notification-settings-card {
    gap: 12px;
  }

  body.theme-material .notification-settings-push {
    width: 100%;
  }
}
