:root {
  --ui-radius: 0px;
}

/* v0.5.5: shared containers and controls use the site's straight-edge language. */
:is(
  .grid > article,
  .panel,
  .card,
  .resource-card,
  .resource-empty,
  .nav-popover,
  .nav-popover a,
  .nav-logout,
  .button,
  button,
  input,
  select,
  textarea,
  .message,
  .errorlist,
  .category-field,
  .folder-choice span,
  .folder-browser,
  .folder-filter,
  .module-sidebar,
  .module-sidebar a,
  .review-alert,
  .notification,
  .resource-thumbnail,
  .preview-frame,
  .preview-media,
  .dialog,
  .modal,
  .modal-dialog,
  [role="dialog"],
  .chapter-nav a
) {
  border-radius: var(--ui-radius) !important;
}

.nav-popover a,
.nav-logout .link { border-radius: var(--ui-radius) !important; }

/* Functional circular indicators remain circular by design. */
.notification-badge { border-radius: 999px; }
