/* Small application badge only; supplied illustrated artwork remains intact. */
.mrcl-brand-mark {
  display:inline-block;
  position:relative;
  flex:none;
  width:1.5em;
  height:1.5em;
  box-sizing:border-box;
  color:var(--color-logo-primary);
  border:0.12em solid currentColor;
  border-radius:0.35em;
  vertical-align:middle;
}
.mrcl-brand-mark::before {
  content:"";
  position:absolute;
  inset:0.3em 0.2em;
  border-inline:0.16em solid currentColor;
  border-top:0.16em solid currentColor;
  border-radius:0.12em;
}
.mrcl-brand-mark::after {
  content:"";
  position:absolute;
  width:0.42em;
  height:0.42em;
  inset:0.27em auto auto 0.36em;
  border-right:0.13em solid currentColor;
  border-bottom:0.13em solid currentColor;
  transform:rotate(45deg);
}
.topbar .brand .mrcl-brand-mark { width:26px; height:26px; }
.daily-digest-email-brand .mrcl-brand-mark { width:26px; height:26px; }
.official-brand-artwork {
  filter:none !important;
  background:var(--color-white);
  border-radius:0.25em;
  object-fit:contain;
}
.mrcl-spinner {
  display:inline-block;
  flex:none;
  width:1.25em;
  height:1.25em;
  box-sizing:border-box;
  color:var(--color-primary);
  border:0.16em solid currentColor;
  border-right-color:var(--color-transparent);
  border-radius:50%;
  vertical-align:middle;
  animation:mrcl-spinner-turn 0.8s linear infinite;
}
.mrcl-loader > .mrcl-spinner { width:40px; height:40px; }
/* Wrap the existing toolbar instead of shrinking touch targets on narrow hosts. */
@media (max-width:480px) {
  #dayPlanView .day-plan-card > .card-head {
    flex-wrap:wrap;
    min-width:0;
  }
  #dayPlanView .day-plan-header-actions {
    flex:1 1 100%;
    min-width:0;
    flex-wrap:wrap;
    justify-content:flex-start;
  }
}
@keyframes mrcl-spinner-turn { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  .mrcl-spinner { animation:none; }
}